@univerjs-pro/exchange-client 0.25.0 → 0.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2329(_0x3c1f0b,_0x2b2530){_0x3c1f0b=_0x3c1f0b-0x122;const _0x822358=_0x8223();let _0x23297a=_0x822358[_0x3c1f0b];return _0x23297a;}function _0x8223(){const _0x38860c=['6885536QKCjlw','exportXLSXBySnapshot','IExchangeService','importFileToUnitId','3726236LhWWca','importDOCXToSnapshot','exportDOCXByUnitIdAsync','importXLSXToSnapshotAsync','34101320nJhcTS','213056BJHpNN','extend','exportDOCXByUnitId','6tJBTEU','2905ZpAGdM','7386qxYGET','UNIVER_DOC','get','_injector','596564UmwoJx','exportXLSXBySnapshotAsync','exportDOCXBySnapshotAsync','importDOCXToSnapshotAsync','UniverInstanceType','importDOCXToUnitIdAsync','FUniver','exportXLSXByUnitId','3499559pXvCst','importXLSXToUnitIdAsync','9kIBscS','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_SHEET'];_0x8223=function(){return _0x38860c;};return _0x8223();}const _0x4378d1=_0x2329;(function(_0x1a0337,_0x95dcd){const _0x20bff4=_0x2329,_0x4d5559=_0x1a0337();while(!![]){try{const _0x51a36e=-parseInt(_0x20bff4(0x12b))/0x1+-parseInt(_0x20bff4(0x122))/0x2*(parseInt(_0x20bff4(0x125))/0x3)+-parseInt(_0x20bff4(0x13c))/0x4+parseInt(_0x20bff4(0x126))/0x5*(-parseInt(_0x20bff4(0x127))/0x6)+parseInt(_0x20bff4(0x133))/0x7+parseInt(_0x20bff4(0x138))/0x8*(-parseInt(_0x20bff4(0x135))/0x9)+parseInt(_0x20bff4(0x140))/0xa;if(_0x51a36e===_0x95dcd)break;else _0x4d5559['push'](_0x4d5559['shift']());}catch(_0xe32d24){_0x4d5559['push'](_0x4d5559['shift']());}}}(_0x8223,0x90c5b));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');var r=class extends n[_0x4378d1(0x131)]{async[_0x4378d1(0x134)](_0x2b75c3){const _0x52ea40=_0x4378d1;let _0x145220=this[_0x52ea40(0x12a)][_0x52ea40(0x129)](e[_0x52ea40(0x13a)]);if(!_0x145220)throw Error(_0x52ea40(0x136));return _0x145220[_0x52ea40(0x13b)](_0x2b75c3,t['UniverInstanceType'][_0x52ea40(0x137)]);}async[_0x4378d1(0x13f)](_0x2c6021){const _0x193d8a=_0x4378d1;let _0x549d51=this['_injector'][_0x193d8a(0x129)](e[_0x193d8a(0x13a)]);if(!_0x549d51)throw Error(_0x193d8a(0x136));return _0x549d51['importXLSXToSnapshot'](_0x2c6021);}async['exportXLSXByUnitIdAsync'](_0x11accf){const _0x1b6dcf=_0x4378d1;let _0x4b8dcc=this[_0x1b6dcf(0x12a)]['get'](e[_0x1b6dcf(0x13a)]);if(!_0x4b8dcc)throw Error(_0x1b6dcf(0x136));return _0x4b8dcc[_0x1b6dcf(0x132)](_0x11accf);}async[_0x4378d1(0x12c)](_0x43a8cc){const _0x3a8fb7=_0x4378d1;let _0x7e4565=this['_injector'][_0x3a8fb7(0x129)](e[_0x3a8fb7(0x13a)]);if(!_0x7e4565)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x7e4565[_0x3a8fb7(0x139)](_0x43a8cc);}async[_0x4378d1(0x130)](_0x4e06bf){const _0x6f7077=_0x4378d1;let _0x460ba6=this[_0x6f7077(0x12a)][_0x6f7077(0x129)](e['IExchangeService']);if(!_0x460ba6)throw Error(_0x6f7077(0x136));return _0x460ba6[_0x6f7077(0x13b)](_0x4e06bf,t[_0x6f7077(0x12f)][_0x6f7077(0x128)]);}async[_0x4378d1(0x12e)](_0xc9b61a){const _0x259859=_0x4378d1;let _0x3b03fe=this[_0x259859(0x12a)][_0x259859(0x129)](e[_0x259859(0x13a)]);if(!_0x3b03fe)throw Error(_0x259859(0x136));return _0x3b03fe[_0x259859(0x13d)](_0xc9b61a);}async[_0x4378d1(0x12d)](_0x1f1356){const _0x254b49=_0x4378d1;let _0x2b5418=this[_0x254b49(0x12a)][_0x254b49(0x129)](e[_0x254b49(0x13a)]);if(!_0x2b5418)throw Error(_0x254b49(0x136));return _0x2b5418['exportDOCXBySnapshot'](_0x1f1356);}async[_0x4378d1(0x13e)](_0x25031a){const _0x5f0746=_0x4378d1;let _0x456f6f=this[_0x5f0746(0x12a)]['get'](e[_0x5f0746(0x13a)]);if(!_0x456f6f)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x456f6f[_0x5f0746(0x124)](_0x25031a);}};n['FUniver'][_0x4378d1(0x123)](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3fbc(){const _0x536d26=['_getUploadFileURL','_getMinSheetRowCount','exportXLSXBySnapshot','exportServerUrl','application/octet-stream','clsx','ShareRangeIcon','_buildHttpErrorMessage','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','call','taskID','some','Success','copyFileMeta','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','jsxs','href','univer-text-sm\x20univer-text-gray-500','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','univer-text-green-500','transformSnapshotToDocumentData','jsx','isArray','none','Tooltip','useObservable','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','HTTPResponseError','scrollbarClassName','pending','transformSnapshotToWorkbookData','version','_list$','touchDependencies','min','_buildProtocolErrorMessage','_messageService','getSheetBlock','url','docx','application/vnd.openxmlformats-officedocument.spreadsheetml.template','list$','_getIgnoreTableExport','application/vnd.openxmlformats-officedocument.wordprocessingml.document','IConfigService','_showDownloadMessage','encode','/universer-api/file/{fileID}/sign-url','import\x20error','saveSnapshot','6FEEORC','string','onStarting','_getLinkByUnitId','exchange-client.uploadSuccessTip','FileSource','packageName','IUniverInstanceService','_configService','default','/universer-api/exchange/task/{taskID}','LocaleService','iterator','_getDownloadEndpointURL','45783jayCAu','{type}','univer-pro.exchange-client.exchange.service','b64EncodeUnicode','CONTENT','get','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','Plugin','_taskInterrupted','values','createUnit','Info','getSnapshot','export','add','useState','Error','Inject','revokeObjectURL','workbook','span','resolveWithBasePath','_doneUploadTaskCount','_registerComponents','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','headers','_getExportURL','Error\x20fetching\x20file\x20from\x20URL:','resolve','clearTaskInterrupted','exchange-client.downloadSuccess','exchange-client.unknownMistake','useDependency','getResourcesRequest','length','_getUnitID','trim','Disposable','catch','IExchangeService','maxTimeoutTime','_emitProgress','2701358fmBWoT','minSheetRowCount','origin','importDOCXToSnapshot','rev','CloseIcon','setTaskInterrupted','exchange-client.tooLarge','type','_exportBySnapshot','unshift','_sheetBlockCache','fetchMissingChangesets','transformDocumentDataToSnapshotJson','Method\x20not\x20implemented.','parse','_completeProgress','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','style','Failed\x20to\x20get\x20unitID\x20from\x20task','connectInjector','transformSnapshotJsonToDocumentData','HTTPService','_getImportURL','importWorkbookDataToUnitId','Get\x20outputType\x20error','UNIVER_SHEET','error','floor','disableCellImageConversion','FileId','uploadFileToUnitId','exchange-client.uploading','477460YUqiLz','getTask','complete','UniverNetworkPlugin','disposeWithMe','merge','univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','_blank','_addTotalCount','upload\x20failed:\x20FileId\x20is\x20empty','saveChangeset','toStringTag','&source=','file','unitID','outputType','Failed\x20to\x20get\x20file\x20from\x20url','CONNECTOR_DATA_TOO_LARGE','_signUrl','xlsx','includes','status','Failed\x20to\x20get\x20fileID\x20from\x20task','minSheetColumnCount','link','change','state$','statusText','_clearProgress','filter','_exchangeService','univer-pl-2\x20univer-pr-4','input','exchange-client.networkError','_requestState$','post','download','_localeService','HttpImport','UNIVER_UNKNOWN','defineProperty','453273sBNvdY','416678TFItua','_refresh','_httpService','getConfig','_visible$','univer-pro.exchange-client.operate.service','Failed\x20to\x20get\x20text\x20from\x20url','exportDOCXByUnitId','application/json','textDecoder','signUrlServerUrl','getDeserializedSheetBlock','UPLOADING','Injector','ILogService','exchange-client.uploadAgain','_getUnitName','application/vnd.openxmlformats-officedocument.presentationml.presentation','setConfig','number','disposeUnit','createObjectURL','exchange-client.uploadSuccess','unit','useEffect','xlsm','_uploadTaskNotDone','updateState','799014KSsnFV','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','/universer-api/exchange/{type}/import','_importToSnapshot','updateSnapshot','exchange-client.cancel','_addDoneTask','_getSignURL','blockID','export\x20error','interrupt','_config','.json','shift','Warning','_showUploadMessage','deflateSync','subscribe','_showNetworkError','univer-text-red-500','_progress$','show','enableServerSideComputing','multiple','getTextFromUrl','upload\x20request\x20failed','SlideMultiIcon','?size=','xltx','UploadNotificationState','_upload','keys','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','b64DecodeUnicode','function','getCurrentUnitOfType','dispose','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','message','{fileID}','BehaviorSubject','snapshot','createElement','45tRoGED','_totalUploadTaskCount','name','prototype','removeChild','ignoreTableExport','done','_importFileToUnitId','requestState$','UNIVER_PROJECT','getUnitId','signUrl','20560PFGIdu','univer-pro.exchange-client.request.service','UNIVER_DOC','replace','ClockIcon','searchParams','exchange-client.interrupt','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_export','_getEnableServerSideComputing','workbook.json','match','accept','IMessageService','forEach','getOwnPropertyDescriptor','asObservable','upload','file.','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','decode','_getUnitJson','stringify','originalMeta','currentTarget','UNRECOGNIZED','_getMinSheetColumnCount','has','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','ExchangeOperateService','appendChild','object','_injector','XlsxMultiIcon','UploadNotificationService','div','Failed\x20to\x20transform\x20snapshot\x20to\x20string','map','importDOCXToUnitId','ErrorCode','SUCCESS','import','sheets','toDisposable','display','getTaskServerUrl','jsonID','getUploadFile','DocMultiIcon','univer-h-6\x20univer-text-2xl','Subject','files','UploadNotificationContainer','ERROR','_requestService','_getDisableCellImageConversion','options','sheetBlocks','970JemQqg',':\x20HTTP\x20','exportXLSXByUnitId','getUnitOnRev','blob','ErrorIcon','location','univer-mt-5\x20univer-flex\x20univer-flex-col','_import','interruptImportTask','_getUnitIDDoc','unsubscribe','importXLSXToSnapshot','importXLSXToUnitId','MessageType','_getTaskURL','hide','IRequestService','exchange-client.wait','importFileToUnitId','sign\x20url\x20error','pptx','_getUnitDocJson','downloadEndpointUrl','symbol','Error\x20getting\x20file\x20name\x20from\x20URL:','data','transformWorkbookDataToSnapshot','registerComponent','_uploadNotificationService','IUIPartsService','code','body','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','doc','exchange-client.internalError','_extractErrorDetail','content-disposition','pushLink','progress$','set','toPrimitive','_list','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','importServerUrl','button','_importTaskId','uploadFileServerUrl','decorate','exchange-client.config','_fileTypeError','1232JbUPiB','_uiPartsService','transformDocumentDataToSnapshot','toString','pathname','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','createIdentifier','_state$','visible$','buffer','next','84wzkplR','join','pop','_getMaxPollingTime','append','_univerInstanceService','success','Failed\x20to\x20parse\x20json','0.25.0','transformSnapshotJsonToWorkbookData','getUniverInstanceTypeByFile','split','UniverInstanceType','pluginName','exportDOCXBySnapshot','univer-text-blue-500'];_0x3fbc=function(){return _0x536d26;};return _0x3fbc();}function _0x36cb(_0x9ec21e,_0x210aab){_0x9ec21e=_0x9ec21e-0xcf;const _0x3fbc90=_0x3fbc();let _0x36cb94=_0x3fbc90[_0x9ec21e];return _0x36cb94;}const _0x4c791d=_0x36cb;(function(_0x4edec8,_0x19119e){const _0xb5ff21=_0x36cb,_0x2593fc=_0x4edec8();while(!![]){try{const _0x19172d=parseInt(_0xb5ff21(0x11a))/0x1+parseInt(_0xb5ff21(0x227))/0x2*(parseInt(_0xb5ff21(0x119))/0x3)+parseInt(_0xb5ff21(0xf0))/0x4*(-parseInt(_0xb5ff21(0x161))/0x5)+parseInt(_0xb5ff21(0x136))/0x6+parseInt(_0xb5ff21(0x1da))/0x7*(-parseInt(_0xb5ff21(0x16d))/0x8)+parseInt(_0xb5ff21(0x235))/0x9*(-parseInt(_0xb5ff21(0x1a7))/0xa)+-parseInt(_0xb5ff21(0x25f))/0xb*(-parseInt(_0xb5ff21(0x1e5))/0xc);if(_0x19172d===_0x19119e)break;else _0x2593fc['push'](_0x2593fc['shift']());}catch(_0x5147ab){_0x2593fc['push'](_0x2593fc['shift']());}}}(_0x3fbc,0xab6aa),Object['defineProperty'](exports,Symbol[_0x4c791d(0xfb)],{'value':'Module'}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/ui'),i=require('@univerjs/icons'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');const f=_0x4c791d(0x1d8),p={};var m='@univerjs-pro/exchange-client',h=_0x4c791d(0x1ed);function g(_0x32eb7e){'@babel/helpers - typeof';const _0x14fb3e=_0x4c791d;return g=typeof Symbol==_0x14fb3e(0x158)&&typeof Symbol[_0x14fb3e(0x233)]=='symbol'?function(_0x42a8df){return typeof _0x42a8df;}:function(_0x4ed800){const _0x2bf96f=_0x14fb3e;return _0x4ed800&&typeof Symbol=='function'&&_0x4ed800['constructor']===Symbol&&_0x4ed800!==Symbol[_0x2bf96f(0x164)]?'symbol':typeof _0x4ed800;},g(_0x32eb7e);}function ee(_0x4c1fc1,_0x455c34){const _0x190ace=_0x4c791d;if(g(_0x4c1fc1)!='object'||!_0x4c1fc1)return _0x4c1fc1;var _0x563574=_0x4c1fc1[Symbol[_0x190ace(0x1d0)]];if(_0x563574!==void 0x0){var _0x15ae5d=_0x563574[_0x190ace(0x1fe)](_0x4c1fc1,_0x455c34||_0x190ace(0x230));if(g(_0x15ae5d)!=_0x190ace(0x18c))return _0x15ae5d;throw TypeError(_0x190ace(0x156));}return(_0x455c34===_0x190ace(0x228)?String:Number)(_0x4c1fc1);}function te(_0xf8455d){const _0x15410a=_0x4c791d;var _0x4a4da6=ee(_0xf8455d,'string');return g(_0x4a4da6)==_0x15410a(0x1bf)?_0x4a4da6:_0x4a4da6+'';}function _(_0x237ec7,_0x353c46,_0x3b40bb){return(_0x353c46=te(_0x353c46))in _0x237ec7?Object['defineProperty'](_0x237ec7,_0x353c46,{'value':_0x3b40bb,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x237ec7[_0x353c46]=_0x3b40bb,_0x237ec7;}let ne=function(_0x21a74d){const _0x22be8b=_0x4c791d;return _0x21a74d[_0x21a74d[_0x22be8b(0x126)]=0x0]='UPLOADING',_0x21a74d[_0x21a74d['SUCCESS']=0x1]=_0x22be8b(0x195),_0x21a74d[_0x21a74d[_0x22be8b(0x1a2)]=0x2]='ERROR',_0x21a74d;}({});const v=(0x0,t['createIdentifier'])('univer-pro.exchange-client.upload-notification.service');var y=class extends t['Disposable']{constructor(){const _0x5f3032=_0x4c791d;super(),_(this,_0x5f3032(0x11e),new o[(_0x5f3032(0x19f))]()),_(this,_0x5f3032(0x1e1),new o[(_0x5f3032(0x19f))]()),_(this,'_list$',new o[(_0x5f3032(0x19f))]()),_(this,'visible$',this[_0x5f3032(0x11e)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x10a),this[_0x5f3032(0x1e1)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x21e),this[_0x5f3032(0x215)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x1d1),[]);}[_0x4c791d(0x15a)](){const _0x314ccf=_0x4c791d;super[_0x314ccf(0x15a)](),this[_0x314ccf(0x11e)]['complete'](),this[_0x314ccf(0x1e1)][_0x314ccf(0xf2)](),this[_0x314ccf(0x215)][_0x314ccf(0xf2)]();}['show'](){const _0x31a372=_0x4c791d;this[_0x31a372(0x11e)][_0x31a372(0x1e4)](!0x0);}[_0x4c791d(0x1b7)](){const _0x3113bf=_0x4c791d;this[_0x3113bf(0x11e)]['next'](!0x1);}[_0x4c791d(0x135)](_0x226120){const _0x293c07=_0x4c791d;this['_state$'][_0x293c07(0x1e4)](_0x226120);}['pushLink'](_0x5e3349){const _0x477fa7=_0x4c791d;this['_list'][_0x477fa7(0xd8)](_0x5e3349),this[_0x477fa7(0x215)][_0x477fa7(0x1e4)](this[_0x477fa7(0x1d1)]);}};function re(_0x388149){const _0x20f5a1=_0x4c791d;let {list:_0xafa1f1}=_0x388149;function _0x3cdf09(_0x234c1a){const _0x532bec=_0x36cb;switch(_0x234c1a){case 0x1:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x19d)],{});case 0x2:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x18e)],{});case 0x3:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x150)],{});default:return null;}}return(0x0,c['jsx'])('div',{'className':(0x0,s['clsx'])(_0x20f5a1(0x189),s[_0x20f5a1(0x211)]),'children':(0x0,c[_0x20f5a1(0x20a)])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0xafa1f1[_0x20f5a1(0x192)]((_0x303107,_0x3bec97)=>(0x0,c[_0x20f5a1(0x20a)])('li',{'children':(0x0,c[_0x20f5a1(0x204)])('a',{'className':_0x20f5a1(0x15b),'href':_0x303107[_0x20f5a1(0x108)],'target':_0x20f5a1(0xf7),'rel':'noreferrer','children':[(0x0,c[_0x20f5a1(0x204)])(_0x20f5a1(0x249),{'className':_0x20f5a1(0x24d),'children':[(0x0,c[_0x20f5a1(0x20a)])(_0x20f5a1(0x249),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x3cdf09(_0x303107[_0x20f5a1(0xd6)])}),(0x0,c[_0x20f5a1(0x20a)])(s[_0x20f5a1(0x20d)],{'showIfEllipsis':!0x0,'title':_0x303107[_0x20f5a1(0x163)],'asChild':!0x0,'children':(0x0,c[_0x20f5a1(0x20a)])('span',{'className':_0x20f5a1(0x174),'children':_0x303107['name']})})]}),(0x0,c[_0x20f5a1(0x20a)])('span',{'className':_0x20f5a1(0x207),'children':(0x0,c[_0x20f5a1(0x20a)])(i[_0x20f5a1(0x1fb)],{})})]})},_0x3bec97))})});}const b=_0x4c791d(0x220),x=_0x4c791d(0xe0),S='application/vnd.ms-excel.sheet.macroEnabled.12',C=_0x4c791d(0x21d),w=_0x4c791d(0x12b),T={[t['UniverInstanceType'][_0x4c791d(0x117)]]:[''],[t['UniverInstanceType']['UNIVER_DOC']]:[b],[t['UniverInstanceType'][_0x4c791d(0xe9)]]:[x,S,C],[t[_0x4c791d(0x1f1)]['UNIVER_SLIDE']]:[w],[t[_0x4c791d(0x1f1)][_0x4c791d(0x16a)]]:[''],[t[_0x4c791d(0x1f1)]['UNRECOGNIZED']]:['']},E={[b]:'docx',[x]:_0x4c791d(0x103),[S]:_0x4c791d(0x133),[C]:_0x4c791d(0x152),[w]:_0x4c791d(0x1bc)};function D(_0x222418,_0x112859,_0x582897){const _0x1ef9e5=_0x4c791d;let _0xbd3676=document[_0x1ef9e5(0x160)]('a');_0xbd3676['href']=_0x222418,_0xbd3676[_0x1ef9e5(0xe1)][_0x1ef9e5(0x199)]=_0x1ef9e5(0x20c),_0xbd3676[_0x1ef9e5(0x114)]=_0x112859+'.'+_0x582897,document[_0x1ef9e5(0x1c7)][_0x1ef9e5(0x18b)](_0xbd3676),_0xbd3676['click'](),document[_0x1ef9e5(0x1c7)][_0x1ef9e5(0x165)](_0xbd3676);}function O(_0x37252b,_0x409b79,_0x4f5427){const _0x5377d7=_0x4c791d;let _0x448d40=URL[_0x5377d7(0x12f)](_0x37252b);D(_0x448d40,_0x409b79,_0x4f5427),URL[_0x5377d7(0x247)](_0x448d40);}function k(_0x481a8d){const _0xad34c9=_0x4c791d;let _0x270a78=_0x481a8d['name']['split']('.')['pop']();if(!_0x270a78)return t[_0xad34c9(0x1f1)][_0xad34c9(0x117)];let _0x240b20=ie(),_0x40dfd0=t[_0xad34c9(0x1f1)][_0xad34c9(0x117)];return _0x240b20[_0xad34c9(0x200)](_0x329ad1=>ae(_0x270a78,_0x329ad1)?(_0x40dfd0=_0x329ad1,!0x0):!0x1),_0x40dfd0;}function ie(){const _0xe2d9f2=_0x4c791d;return Object[_0xe2d9f2(0x23e)](t[_0xe2d9f2(0x1f1)])[_0xe2d9f2(0x10d)](_0x36306c=>typeof _0x36306c=='number');}function ae(_0x33e529,_0x2fabce){const _0x2a635b=_0x4c791d;return T[_0x2fabce][_0x2a635b(0x192)](_0x2ce4cc=>(E[_0x2ce4cc]||'')['toLowerCase']())[_0x2a635b(0x104)](_0x33e529['toLowerCase']());}function A(_0x1d40b9,_0xd8554a=!0x1){const _0x1c069d=_0x4c791d;let _0x49c74e=_0x1d40b9[_0x1c069d(0x192)](_0x17091c=>T[_0x17091c])['join'](',');return new Promise((_0x592c72,_0x800f00)=>{const _0x5b2d5f=_0x1c069d;let _0x27702f=document[_0x5b2d5f(0x160)](_0x5b2d5f(0x110));_0x27702f['type']=_0x5b2d5f(0xfd),_0x27702f[_0x5b2d5f(0x179)]=_0x49c74e,_0x27702f[_0x5b2d5f(0x14d)]=_0xd8554a,_0x27702f['addEventListener'](_0x5b2d5f(0x109),_0x14a7fb=>{const _0x3b4784=_0x5b2d5f;let _0x29fefe=_0x14a7fb[_0x3b4784(0x185)];if(!_0x29fefe['files']||_0x29fefe[_0x3b4784(0x1a0)][_0x3b4784(0x257)]===0x0)throw _0x800f00(null),Error('No\x20file\x20selected');_0x592c72(_0x29fefe[_0x3b4784(0x1a0)]);}),_0x27702f['click']();});}async function j(_0x1a2462,_0x309130){const _0x3992a4=_0x4c791d;try{var _0x2520d0,_0x1b9015,_0x4c227f;let _0x5316e1=await _0x309130[_0x3992a4(0x23a)](_0x1a2462,{'responseType':_0x3992a4(0x1ab)}),_0x2a212a=_0x5316e1[_0x3992a4(0x1c7)],_0x5e51f9=(_0x2520d0=(_0x1b9015=_0x5316e1['headers'][_0x3992a4(0x23a)]('Content-Type'))==null?void 0x0:_0x1b9015[_0x3992a4(0x1e6)](',\x20'))==null?_0x3992a4(0x1f9):_0x2520d0,_0x4856b0=_0x3992a4(0x17f)+(E[_0x5e51f9]||_0x3992a4(0x103)),_0x162f33=(_0x4c227f=_0x5316e1[_0x3992a4(0x24e)][_0x3992a4(0x23a)](_0x3992a4(0x1cc)))==null?void 0x0:_0x4c227f[_0x3992a4(0x1e6)](',\x20');if(_0x162f33){let _0x2e0922=_0x162f33[_0x3992a4(0x178)](/filename=(.+)/);_0x2e0922&&_0x2e0922[0x1]&&(_0x4856b0=_0x2e0922[0x1]);}else _0x4856b0=M(_0x1a2462)||_0x4856b0;return new File([_0x2a212a],_0x4856b0,{'type':_0x5e51f9});}catch(_0x26fb43){console[_0x3992a4(0xea)](_0x3992a4(0x250),_0x26fb43);return;}}function M(_0x469279){const _0x16fe97=_0x4c791d;try{return new URL(_0x469279)[_0x16fe97(0x1de)]['split']('/')[_0x16fe97(0x1e7)]();}catch(_0x4cbbb1){console[_0x16fe97(0xea)](_0x16fe97(0x1c0),_0x4cbbb1);return;}}function N(_0x5a229a){const _0x26e247=_0x4c791d;let _0x27d9d0=new Blob([_0x5a229a[_0x26e247(0x1e3)]],{'type':_0x26e247(0x122)});return new File([_0x27d9d0],'file.json');}function P(_0x4fb95c,_0xf80c6d){const _0x101048=_0x4c791d;return _0x4fb95c[_0x101048(0x170)](_0x101048(0x236),_0xf80c6d);}function oe(_0x8ff3ad,_0x123f43){const _0x312b35=_0x4c791d;return _0x8ff3ad[_0x312b35(0x170)]('{taskID}',_0x123f43);}function se(_0x4175a4,_0x49cc71){const _0x5b9750=_0x4c791d;return _0x4175a4['replace'](_0x5b9750(0x15d),_0x49cc71);}function F(_0x3ad715,_0x24d892){return function(_0x1e89a7,_0x47dfe6){_0x24d892(_0x1e89a7,_0x47dfe6,_0x3ad715);};}function I(_0x471a09,_0x1e3a4f,_0x537f7b,_0x43ef17){const _0x3cadd6=_0x4c791d;var _0x3503b1=arguments[_0x3cadd6(0x257)],_0x5912be=_0x3503b1<0x3?_0x1e3a4f:_0x43ef17===null?_0x43ef17=Object[_0x3cadd6(0x17c)](_0x1e3a4f,_0x537f7b):_0x43ef17,_0x59dcb7;if(typeof Reflect==_0x3cadd6(0x18c)&&typeof Reflect[_0x3cadd6(0x1d7)]==_0x3cadd6(0x158))_0x5912be=Reflect[_0x3cadd6(0x1d7)](_0x471a09,_0x1e3a4f,_0x537f7b,_0x43ef17);else{for(var _0x28be26=_0x471a09[_0x3cadd6(0x257)]-0x1;_0x28be26>=0x0;_0x28be26--)(_0x59dcb7=_0x471a09[_0x28be26])&&(_0x5912be=(_0x3503b1<0x3?_0x59dcb7(_0x5912be):_0x3503b1>0x3?_0x59dcb7(_0x1e3a4f,_0x537f7b,_0x5912be):_0x59dcb7(_0x1e3a4f,_0x537f7b))||_0x5912be);}return _0x3503b1>0x3&&_0x5912be&&Object['defineProperty'](_0x1e3a4f,_0x537f7b,_0x5912be),_0x5912be;}const L=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x16e));let R=class{constructor(_0x4eee81,_0x3a10c9){const _0x164751=_0x4c791d;this[_0x164751(0x22f)]=_0x4eee81,this['_httpService']=_0x3a10c9,_(this,_0x164751(0x23d),new Set());}['dispose'](){}[_0x4c791d(0xd4)](_0x505ddb){const _0x22a0c7=_0x4c791d;this['_taskInterrupted'][_0x22a0c7(0x243)](_0x505ddb);}[_0x4c791d(0x252)](){const _0x180760=_0x4c791d;this[_0x180760(0x23d)]['clear']();}async[_0x4c791d(0x17e)](_0x597f24,_0x2d01ab=0x0,_0xe47562=!0x1){const _0x33a1ba=_0x4c791d;if(typeof _0x597f24==_0x33a1ba(0x228)){let _0x27c7fe=await j(_0x597f24,this[_0x33a1ba(0x11c)]);if(!_0x27c7fe)throw Error(_0x33a1ba(0x203));_0x597f24=_0x27c7fe;}_0x2d01ab=_0x2d01ab||_0x597f24['size'];let _0xc52b19=new FormData();_0xc52b19[_0x33a1ba(0x1e9)](_0x33a1ba(0xfd),_0x597f24);try{let _0x5e9378=this[_0x33a1ba(0x1f5)]()+_0x33a1ba(0x151)+_0x2d01ab+_0x33a1ba(0xfc)+l[_0x33a1ba(0x22c)][_0x33a1ba(0x116)]+'&flate='+_0xe47562,_0x1a58da={'body':_0xc52b19},_0x12c6ca=(await this[_0x33a1ba(0x11c)][_0x33a1ba(0x113)](_0x5e9378,_0x1a58da))['body'];if(_0x12c6ca[_0x33a1ba(0xea)]&&_0x12c6ca['error'][_0x33a1ba(0x1c6)]!==l[_0x33a1ba(0x194)]['OK'])throw Error(this[_0x33a1ba(0x218)](_0x33a1ba(0x14f),_0x12c6ca[_0x33a1ba(0xea)]));return _0x12c6ca;}catch(_0x23ffb1){throw _0x23ffb1 instanceof Error?_0x23ffb1:Error(this[_0x33a1ba(0x1fc)]('upload\x20request\x20failed',_0x23ffb1));}}async['import'](_0x5d8cf0){const _0x467ae2=_0x4c791d;let {fileID:_0x33d194,type:_0x42d478,outputType:_0x3aadd0,minSheetColumnCount:_0x26f6fa,minSheetRowCount:_0x544453}=_0x5d8cf0;try{let _0x12955f=P(this[_0x467ae2(0xe6)](),''+_0x42d478),_0x239fac={'body':{'fileID':_0x33d194,'outputType':_0x3aadd0,'minSheetColumnCount':_0x26f6fa,'minSheetRowCount':_0x544453}},_0xc05b8f=(await this['_httpService']['post'](_0x12955f,_0x239fac))[_0x467ae2(0x1c7)];return _0xc05b8f['error']&&_0xc05b8f[_0x467ae2(0xea)][_0x467ae2(0x1c6)]!==l[_0x467ae2(0x194)]['OK']?void 0x0:_0xc05b8f;}catch{return;}}async[_0x4c791d(0x242)](_0x1ec88a){const _0x16c314=_0x4c791d;let {unitID:_0xd832f3,jsonID:_0x9a117f,type:_0x1ea946,sscSwitch:_0x732b97,useImageUrl:_0x5ce812,ignoreTableExport:_0x44e3cf}=_0x1ec88a;try{let _0x4ef788=P(this[_0x16c314(0x24f)](),''+_0x1ea946),_0x121561={'body':{'unitID':_0xd832f3,'jsonID':_0x9a117f,'type':_0x1ea946,'sscSwitch':_0x732b97,'useImageUrl':_0x5ce812,'ignoreTableExport':_0x44e3cf}},_0x500d9c=(await this[_0x16c314(0x11c)][_0x16c314(0x113)](_0x4ef788,_0x121561))[_0x16c314(0x1c7)];return _0x500d9c[_0x16c314(0xea)]&&_0x500d9c[_0x16c314(0xea)][_0x16c314(0x1c6)]!==l[_0x16c314(0x194)]['OK']?void 0x0:_0x500d9c;}catch{return;}}async[_0x4c791d(0xf1)](_0x12faeb){return new Promise((_0x3160a1,_0x4361ab)=>{const _0x1e93f4=_0x36cb;try{let _0x4ce1d4=0x0,_0xa25ca7=oe(this[_0x1e93f4(0x1b6)](),''+_0x12faeb),_0x247781=this[_0x1e93f4(0x1e8)](),_0x47ee04=async()=>{const _0x3c4cbb=_0x1e93f4;if(this[_0x3c4cbb(0x23d)][_0x3c4cbb(0x188)](_0x12faeb))return;let _0x24dd71=(await this['_httpService'][_0x3c4cbb(0x23a)](_0xa25ca7))['body'];if(_0x24dd71[_0x3c4cbb(0xea)]&&_0x24dd71['error']['code']===l['ErrorCode']['OK']){if(_0x24dd71['status']===_0x3c4cbb(0x167))_0x3160a1(_0x24dd71);else{if(_0x24dd71[_0x3c4cbb(0x105)]===_0x3c4cbb(0x212)){let _0x4e1092=0x3e8;if(_0x4ce1d4>=_0x247781){_0x4361ab(_0x24dd71);return;}else _0x4ce1d4>=0x7530&&(_0x4e1092=0x1388);_0x4ce1d4+=_0x4e1092,setTimeout(_0x47ee04,_0x4e1092);}else _0x4361ab(_0x24dd71);}}else _0x4361ab(_0x24dd71);};_0x47ee04();}catch(_0x455716){_0x4361ab(_0x455716 instanceof Error?_0x455716:Error(String(_0x455716)));}});}async['signUrl'](_0x3f1a6c){const _0x54aacc=_0x4c791d;try{let _0x11e6e4=se(this[_0x54aacc(0x13d)](),''+_0x3f1a6c);return(await this[_0x54aacc(0x11c)]['get'](_0x11e6e4))['body'];}catch{return;}}async[_0x4c791d(0x14e)](_0x4effe9){const _0x242243=_0x4c791d;try{return(await this[_0x242243(0x11c)]['get'](_0x4effe9,{'responseType':'text'}))[_0x242243(0x1c7)];}catch{return;}}[_0x4c791d(0x218)](_0xdcf9cc,_0x3a21ac){let _0xce611f=this['_extractErrorDetail'](_0x3a21ac);return _0xce611f?_0xdcf9cc+':\x20'+_0xce611f:_0xdcf9cc;}[_0x4c791d(0x1fc)](_0x3592dc,_0x58a9d1){const _0x346b6f=_0x4c791d;if(_0x58a9d1 instanceof n[_0x346b6f(0x210)]){let _0x273514=typeof _0x58a9d1[_0x346b6f(0x105)]==_0x346b6f(0x12d)?''+_0x58a9d1[_0x346b6f(0x105)]+(_0x58a9d1[_0x346b6f(0x10b)]?'\x20'+_0x58a9d1[_0x346b6f(0x10b)]:''):void 0x0,_0x36714c=this[_0x346b6f(0x1cb)](_0x58a9d1[_0x346b6f(0xea)]);return _0x273514&&_0x36714c?_0x3592dc+':\x20HTTP\x20'+_0x273514+'\x20-\x20'+_0x36714c:_0x273514?_0x3592dc+_0x346b6f(0x1a8)+_0x273514:_0x36714c?_0x3592dc+':\x20'+_0x36714c:_0x3592dc;}let _0x27cc19=this[_0x346b6f(0x1cb)](_0x58a9d1);return _0x27cc19?_0x3592dc+':\x20'+_0x27cc19:_0x3592dc;}[_0x4c791d(0x1cb)](_0x5ec5ef){const _0x330924=_0x4c791d;if(typeof _0x5ec5ef==_0x330924(0x228)){let _0x545bba=_0x5ec5ef['trim']();return _0x545bba[_0x330924(0x257)]>0x0?_0x545bba:void 0x0;}if(_0x5ec5ef instanceof Error)return this[_0x330924(0x1cb)](_0x5ec5ef[_0x330924(0x15c)]);if(!_0x5ec5ef||typeof _0x5ec5ef!=_0x330924(0x18c)||Array[_0x330924(0x20b)](_0x5ec5ef))return;let _0x452245=_0x5ec5ef,_0x16934d=this[_0x330924(0x1cb)](_0x452245[_0x330924(0x15c)]);if(_0x16934d)return _0x16934d;if(_0x452245[_0x330924(0xea)]&&typeof _0x452245['error']==_0x330924(0x18c)&&!Array[_0x330924(0x20b)](_0x452245[_0x330924(0xea)])){let _0x406d3e=this[_0x330924(0x1cb)](_0x452245['error']);if(_0x406d3e)return _0x406d3e;}}[_0x4c791d(0x1f5)](){const _0x1a28af=_0x4c791d;var _0x1b0659;let _0x1f6c14=this[_0x1a28af(0x22f)][_0x1a28af(0x11d)](f);return(_0x1b0659=_0x1f6c14==null?void 0x0:_0x1f6c14[_0x1a28af(0x1d6)])==null?'/universer-api/stream/file/upload':_0x1b0659;}[_0x4c791d(0xe6)](){const _0x213996=_0x4c791d;var _0x4a7a3b;let _0x38bfba=this['_configService'][_0x213996(0x11d)](f);return(_0x4a7a3b=_0x38bfba==null?void 0x0:_0x38bfba[_0x213996(0x1d3)])==null?_0x213996(0x138):_0x4a7a3b;}[_0x4c791d(0x24f)](){const _0xec9b08=_0x4c791d;var _0x32fa3e;let _0x336e8c=this[_0xec9b08(0x22f)]['getConfig'](f);return(_0x32fa3e=_0x336e8c==null?void 0x0:_0x336e8c[_0xec9b08(0x1f8)])==null?'/universer-api/exchange/{type}/export':_0x32fa3e;}[_0x4c791d(0x1b6)](){const _0x4362d8=_0x4c791d;var _0x1a999a;let _0x546393=this['_configService']['getConfig'](f);return(_0x1a999a=_0x546393==null?void 0x0:_0x546393[_0x4362d8(0x19a)])==null?_0x4362d8(0x231):_0x1a999a;}[_0x4c791d(0x13d)](){const _0x6c96b7=_0x4c791d;var _0x5c9bb0;let _0x18012e=this[_0x6c96b7(0x22f)][_0x6c96b7(0x11d)](f);return(_0x5c9bb0=_0x18012e==null?void 0x0:_0x18012e[_0x6c96b7(0x124)])==null?_0x6c96b7(0x224):_0x5c9bb0;}[_0x4c791d(0x1e8)](){const _0x21dde9=_0x4c791d;var _0x1ff7a9;let _0x5f020b=this[_0x21dde9(0x22f)][_0x21dde9(0x11d)](f);return(_0x1ff7a9=_0x5f020b==null?void 0x0:_0x5f020b[_0x21dde9(0x25d)])==null?0x1d4c0:_0x1ff7a9;}};R=I([F(0x0,t['IConfigService']),F(0x1,(0x0,t[_0x4c791d(0x246)])(n['HTTPService']))],R);function ce(_0x14f8f2){const _0x589043=_0x4c791d;let _0x1f4364=_0x14f8f2[_0x589043(0x248)];if(!_0x1f4364)return null;let _0x57d14d={};_0x1f4364[_0x589043(0x197)]&&Object[_0x589043(0x155)](_0x1f4364['sheets'])[_0x589043(0x17b)](_0x2a06c5=>{const _0x35c611=_0x589043;let _0x3b6913=_0x1f4364[_0x35c611(0x197)][_0x2a06c5];_0x57d14d[_0x2a06c5]={..._0x3b6913,'originalMeta':(0x0,u[_0x35c611(0x238)])(u[_0x35c611(0x123)][_0x35c611(0x181)](_0x3b6913['originalMeta']))};});let _0x22d0eb=(0x0,u[_0x589043(0x238)])(u[_0x589043(0x123)][_0x589043(0x181)](_0x1f4364['originalMeta']));return{..._0x14f8f2,'workbook':{..._0x1f4364,'originalMeta':_0x22d0eb,'sheets':_0x57d14d},'doc':{}};}function le(_0x1427ea){const _0x5e519b=_0x4c791d;let _0x3054ba=_0x1427ea[_0x5e519b(0x1c9)];if(!_0x3054ba)return null;let _0x50639a=(0x0,u[_0x5e519b(0x238)])(u[_0x5e519b(0x123)][_0x5e519b(0x181)](_0x3054ba[_0x5e519b(0x184)]));return{..._0x1427ea,'workbook':{},'doc':{..._0x3054ba,'originalMeta':_0x50639a}};}function ue(_0x234605){const _0x34f4bd=_0x4c791d;let _0x198960={};return _0x234605[_0x34f4bd(0x17b)](_0x48776b=>{const _0x5dd725=_0x34f4bd;_0x198960[_0x48776b['id']]={..._0x48776b,'data':(0x0,u['b64EncodeUnicode'])(u[_0x5dd725(0x123)][_0x5dd725(0x181)](_0x48776b['data']))};}),_0x198960;}async function z(_0x3f4927){const _0x45c825=_0x4c791d;var _0x4bd413;let _0x35eba={'metadata':void 0x0},_0x19e56b=_0x3f4927['id'],_0x265eeb=(_0x4bd413=_0x3f4927['rev'])==null?0x0:_0x4bd413,_0x462f5c=new U(),{snapshot:_0x560eba}=await(0x0,u[_0x45c825(0x1c2)])(_0x35eba,_0x3f4927,_0x19e56b,_0x265eeb,_0x462f5c),_0x3c2d2a=await(0x0,u['getSheetBlocksFromSnapshot'])(_0x560eba,_0x462f5c),_0x2458b4=ce(_0x560eba);if(!_0x2458b4)throw Error(_0x45c825(0x191));return{'snapshot':_0x2458b4,'sheetBlocks':ue(_0x3c2d2a)};}async function B(_0x17ecd2){const _0x4b69a0=_0x4c791d;var _0x147eb2;let _0x3d9341={'metadata':void 0x0},_0x9497e3=_0x17ecd2['id'],{snapshot:_0x456840}=await(0x0,u[_0x4b69a0(0x1dc)])(_0x3d9341,_0x17ecd2,_0x9497e3,(_0x147eb2=_0x17ecd2[_0x4b69a0(0xd2)])==null?0x0:_0x147eb2,new U()),_0x2fe196=le(_0x456840);if(!_0x2fe196)throw Error(_0x4b69a0(0x191));return{'snapshot':_0x2fe196,'sheetBlocks':{}};}async function V(_0x509f12){const _0x4af2dd=_0x4c791d;let _0x106569=_0x509f12[_0x4af2dd(0x15f)],_0x30b253=_0x509f12[_0x4af2dd(0x1a6)]||{};return await(0x0,u[_0x4af2dd(0x213)])(_0x106569,Object[_0x4af2dd(0x155)](_0x30b253)['map'](_0x851102=>_0x30b253[_0x851102])['map'](_0x4f9f88=>({..._0x4f9f88,'data':_0x4f9f88[_0x4af2dd(0x1c1)]?JSON[_0x4af2dd(0xdd)]((0x0,u[_0x4af2dd(0x157)])(_0x4f9f88[_0x4af2dd(0x1c1)])):void 0x0})));}function H(_0x5273bb){const _0x42cfb9=_0x4c791d;let _0x3607b1=_0x5273bb[_0x42cfb9(0x15f)];return(0x0,u[_0x42cfb9(0x209)])(_0x3607b1);}var U=class{constructor(){const _0x274d95=_0x4c791d;_(this,_0x274d95(0xd9),new Map());}[_0x4c791d(0x1aa)](){const _0x38c6ef=_0x4c791d;return Promise[_0x38c6ef(0x251)]({'snapshot':{'unitID':'','type':t[_0x38c6ef(0x1f1)][_0x38c6ef(0xe9)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':l[_0x38c6ef(0x194)]['OK'],'message':''}});}[_0x4c791d(0x21a)](_0x59f4c6,_0x21d258){const _0x4beedc=_0x4c791d;let _0x354569=this['_sheetBlockCache']['get'](_0x21d258[_0x4beedc(0x13e)]);return Promise[_0x4beedc(0x251)]({'block':_0x354569,'error':{'code':l[_0x4beedc(0x194)]['OK'],'message':''}});}[_0x4c791d(0x125)](_0x4ab056,_0x3629f0){const _0x1b481e=_0x4c791d;let _0xde2057=this[_0x1b481e(0xd9)][_0x1b481e(0x23a)](_0x3629f0[_0x1b481e(0x13e)]);return Promise[_0x1b481e(0x251)]({'block':_0xde2057===void 0x0?void 0x0:{..._0xde2057,'data':JSON[_0x1b481e(0xdd)](u['textDecoder']['decode'](_0xde2057[_0x1b481e(0x1c1)]))},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x4c791d(0xda)](){const _0x3a059f=_0x4c791d;return Promise[_0x3a059f(0x251)]({'changesets':[],'error':{'code':l[_0x3a059f(0x194)]['OK'],'message':''}});}[_0x4c791d(0x256)](){const _0x19c859=_0x4c791d;return Promise['resolve']({'resources':{},'error':{'code':l[_0x19c859(0x194)]['OK'],'message':''}});}[_0x4c791d(0x226)](){const _0x317fcd=_0x4c791d;return Promise[_0x317fcd(0x251)]({'error':{'code':l[_0x317fcd(0x194)]['OK'],'message':''}});}[_0x4c791d(0x13a)](){const _0x3cf5ee=_0x4c791d;return Promise['resolve']({'error':{'code':l[_0x3cf5ee(0x194)]['OK'],'message':''}});}['saveSheetBlock'](_0x383043,_0x1b7c11){const _0x28b0f9=_0x4c791d;let {block:_0x2b4335}=_0x1b7c11;return _0x2b4335?(this[_0x28b0f9(0xd9)][_0x28b0f9(0x1cf)](_0x2b4335['id'],_0x2b4335),Promise[_0x28b0f9(0x251)]({'error':{'code':l[_0x28b0f9(0x194)]['OK'],'message':''},'blockID':_0x2b4335['id']})):Promise['resolve']({'error':{'code':l[_0x28b0f9(0x194)]['UNDEFINED'],'message':'block\x20is\x20required'},'blockID':''});}[_0x4c791d(0xfa)](){const _0x1cab67=_0x4c791d;return Promise[_0x1cab67(0x251)]({'error':{'code':l['ErrorCode']['OK'],'message':''},'concurrent':[]});}[_0x4c791d(0x202)](){const _0x20c594=_0x4c791d;return Promise[_0x20c594(0x251)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x551045=_0x4c791d;return Promise[_0x551045(0x251)]({'error':void 0x0,'latestReqID':0x0});}};const W=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x237));let G=class extends t[_0x4c791d(0x25a)]{constructor(_0x1a547e,_0x14c71c,_0x1cba9e){const _0x33b02e=_0x4c791d;super(),this[_0x33b02e(0x22f)]=_0x1a547e,this[_0x33b02e(0x11c)]=_0x14c71c,this[_0x33b02e(0x1a3)]=_0x1cba9e,_(this,_0x33b02e(0x1d5),null),_(this,_0x33b02e(0x112),new o['Subject']()),_(this,_0x33b02e(0x169),this[_0x33b02e(0x112)][_0x33b02e(0x17d)]());}[_0x4c791d(0x15a)](){const _0x3eee5c=_0x4c791d;super[_0x3eee5c(0x15a)](),this[_0x3eee5c(0x112)]['complete']();}async[_0x4c791d(0xd1)](_0x555c72){const _0x2f0201=_0x4c791d;let _0x1baeea=await this[_0x2f0201(0x139)](_0x555c72,t['UniverInstanceType'][_0x2f0201(0x16f)]);if(!_0x1baeea||!_0x1baeea[_0x2f0201(0x15f)])return;let _0x4dd810=H(_0x1baeea);if(_0x4dd810)return _0x4dd810;}async['exportDOCXByUnitId'](_0x27cb98){const _0x48027e=_0x4c791d;return this[_0x48027e(0x175)](_0x27cb98,0x1,t[_0x48027e(0x1f1)]['UNIVER_DOC']);}async[_0x4c791d(0x1f3)](_0x36a350){const _0x2acf65=_0x4c791d;let _0x1ae48c=await B(_0x36a350);return this[_0x2acf65(0xd7)](_0x1ae48c,t[_0x2acf65(0x1f1)][_0x2acf65(0x16f)]);}async[_0x4c791d(0x1b3)](_0x5ab060){const _0x17fabf=_0x4c791d;let _0xa0b451=await this[_0x17fabf(0x139)](_0x5ab060,t['UniverInstanceType']['UNIVER_SHEET']);if(!_0xa0b451)return;let _0x4f3342=await V(_0xa0b451);if(_0x4f3342)return _0x4f3342;}async[_0x4c791d(0x1a9)](_0x125a2d){return this['_export'](_0x125a2d,0x1,t['UniverInstanceType']['UNIVER_SHEET']);}async['exportXLSXBySnapshot'](_0x2618d9){const _0x477744=_0x4c791d;let _0x382300=await z(_0x2618d9);return this['_exportBySnapshot'](_0x382300,t[_0x477744(0x1f1)][_0x477744(0xe9)]);}async[_0x4c791d(0x1ba)](_0x2ae510,_0x178e2b){const _0x14a06b=_0x4c791d;var _0x1b17cf,_0x2950b9;let _0x1f4fde=await this[_0x14a06b(0x154)](_0x2ae510);if(!_0x1f4fde)return;let _0x3cba43=await this[_0x14a06b(0x1af)](_0x1f4fde,0x1,_0x178e2b);if(!_0x3cba43)return;this[_0x14a06b(0x1d5)]=_0x3cba43,this[_0x14a06b(0x1a3)]['clearTaskInterrupted']();let _0x2927b5=await this['_requestService']['getTask'](_0x3cba43)[_0x14a06b(0x25b)](_0x2fde17=>{const _0xd0eaa1=_0x14a06b;var _0x175181;let _0x15da77=_0x2fde17 instanceof Error?_0x2fde17[_0xd0eaa1(0x15c)]:(_0x175181=_0x2fde17[_0xd0eaa1(0xea)])==null?void 0x0:_0x175181[_0xd0eaa1(0x15c)];this[_0xd0eaa1(0x112)]['next']({'error':{'code':l[_0xd0eaa1(0x194)][_0xd0eaa1(0x186)],'message':_0x15da77||''},'state':0x3});});if(!_0x2927b5)return;let _0x4c535c=(_0x1b17cf=_0x2927b5[_0x14a06b(0x196)])==null?void 0x0:_0x1b17cf['outputType'],_0x22bbd8=((_0x2950b9=_0x2927b5['import'])==null?void 0x0:_0x2950b9[_0x14a06b(0xfe)])||'';if(_0x4c535c!==0x1){this[_0x14a06b(0x112)][_0x14a06b(0x1e4)]({'error':{'code':l[_0x14a06b(0x194)][_0x14a06b(0x186)],'message':_0x14a06b(0xe8)},'state':0x3});return;}if(_0x22bbd8[_0x14a06b(0x257)]===0x0){this[_0x14a06b(0x112)]['next']({'error':{'code':l[_0x14a06b(0x194)][_0x14a06b(0x186)],'message':_0x14a06b(0xe2)},'state':0x3});return;}return this[_0x14a06b(0x112)]['next']({'error':_0x2927b5[_0x14a06b(0xea)],'state':0x3}),_0x22bbd8;}async[_0x4c791d(0xe7)](_0x583b00){const _0x2a1fc5=_0x4c791d;let _0x2941c6=await z(_0x583b00),_0x57711a=typeof _0x583b00['id']==_0x2a1fc5(0x228)&&_0x583b00['id'][_0x2a1fc5(0x259)]()?_0x583b00['id'][_0x2a1fc5(0x259)]()+_0x2a1fc5(0x142):_0x2a1fc5(0x177),_0x37d15d=new File([JSON[_0x2a1fc5(0x183)](_0x2941c6)],_0x57711a,{'type':_0x2a1fc5(0x122)});return this['importFileToUnitId'](_0x37d15d,t[_0x2a1fc5(0x1f1)]['UNIVER_SHEET']);}[_0x4c791d(0x1b0)](){const _0x33e905=_0x4c791d;this[_0x33e905(0x1d5)]&&this[_0x33e905(0x1a3)][_0x33e905(0xd4)](this['_importTaskId']);}async[_0x4c791d(0x139)](_0x490ce9,_0x359901){const _0xd3b4fd=_0x4c791d;var _0xbf8fd7,_0x2ce668;let _0x13b760=await this[_0xd3b4fd(0x154)](_0x490ce9);if(!_0x13b760)return;let _0x4e029d=await this[_0xd3b4fd(0x1af)](_0x13b760,0x2,_0x359901);if(!_0x4e029d)return;this['_importTaskId']=_0x4e029d,this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0x252)]();let _0x30e3d3=await this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0xf1)](_0x4e029d)[_0xd3b4fd(0x25b)](_0x1baa18=>{const _0x54d18d=_0xd3b4fd;var _0x9951b4;let _0x62fa3a=_0x1baa18 instanceof Error?_0x1baa18[_0x54d18d(0x15c)]:(_0x9951b4=_0x1baa18['error'])==null?void 0x0:_0x9951b4[_0x54d18d(0x15c)];this[_0x54d18d(0x112)][_0x54d18d(0x1e4)]({'error':{'code':l['ErrorCode'][_0x54d18d(0x186)],'message':_0x62fa3a||''},'state':0x3});});if(!_0x30e3d3)return;let _0x18cb51=(_0xbf8fd7=_0x30e3d3[_0xd3b4fd(0x196)])==null?void 0x0:_0xbf8fd7[_0xd3b4fd(0xff)],_0x2358e6=((_0x2ce668=_0x30e3d3[_0xd3b4fd(0x196)])==null?void 0x0:_0x2ce668[_0xd3b4fd(0x19b)])||'';if(_0x18cb51!==0x2){this[_0xd3b4fd(0x112)]['next']({'error':{'code':l['ErrorCode'][_0xd3b4fd(0x186)],'message':_0xd3b4fd(0xe8)},'state':0x3});return;}if(_0x2358e6['length']===0x0){this[_0xd3b4fd(0x112)]['next']({'error':{'code':l[_0xd3b4fd(0x194)][_0xd3b4fd(0x186)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':0x3});return;}this[_0xd3b4fd(0x112)][_0xd3b4fd(0x1e4)]({'error':_0x30e3d3[_0xd3b4fd(0xea)],'state':0x3});let _0x25ead9=await this[_0xd3b4fd(0x102)](_0x2358e6);if(!_0x25ead9)return;let _0x3d4b72=await this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0x14e)](_0x25ead9);if(!_0x3d4b72){this['_requestState$'][_0xd3b4fd(0x1e4)]({'error':{'code':l[_0xd3b4fd(0x194)]['UNRECOGNIZED'],'message':_0xd3b4fd(0x120)},'state':0x5});return;}try{let _0x5c5694=JSON[_0xd3b4fd(0xdd)](_0x3d4b72);return this[_0xd3b4fd(0x112)]['next']({'error':{'code':l[_0xd3b4fd(0x194)]['OK'],'message':_0xd3b4fd(0x1eb)},'state':0x5}),_0x5c5694;}catch{this[_0xd3b4fd(0x112)][_0xd3b4fd(0x1e4)]({'error':{'code':l[_0xd3b4fd(0x194)]['UNRECOGNIZED'],'message':_0xd3b4fd(0x1ec)},'state':0x5});}}async[_0x4c791d(0xd7)](_0x5da3c0,_0x1dce04){const _0x53ef87=_0x4c791d;let _0x2f80b7=JSON['stringify'](_0x5da3c0),_0x3f945a=u['textEncoder'][_0x53ef87(0x223)](_0x2f80b7),_0x3c7eb7=(0x0,d[_0x53ef87(0x146)])(_0x3f945a),_0x2430fc=_0x3f945a[_0x53ef87(0x257)],_0x64bb4=N(_0x3c7eb7),_0x56daca=await this[_0x53ef87(0x154)](_0x64bb4,_0x2430fc,!0x0);if(_0x56daca)return this[_0x53ef87(0x175)](_0x56daca,0x2,_0x1dce04);}async[_0x4c791d(0x175)](_0x2a9015,_0x175a68,_0x5b9ef5){const _0x15232e=_0x4c791d;var _0x33b07f;let _0x15651c=await this['_requestService'][_0x15232e(0x242)]({'unitID':_0x175a68===0x1?_0x2a9015:'','jsonID':_0x175a68===0x2?_0x2a9015:'','type':_0x5b9ef5,'sscSwitch':this[_0x15232e(0x176)](),'useImageUrl':this[_0x15232e(0x1a4)](),'ignoreTableExport':this[_0x15232e(0x21f)]()});if(!_0x15651c){this[_0x15232e(0x112)]['next']({'error':{'code':l[_0x15232e(0x194)][_0x15232e(0x186)],'message':_0x15232e(0x13f)},'state':0x2});return;}if(this[_0x15232e(0x112)][_0x15232e(0x1e4)]({'error':_0x15651c[_0x15232e(0xea)],'state':0x2}),_0x15651c[_0x15232e(0xea)]&&_0x15651c[_0x15232e(0xea)]['code']!==l[_0x15232e(0x194)]['OK'])return;let _0x373917=_0x15651c[_0x15232e(0x1ff)],_0x8ef7e=await this[_0x15232e(0x1a3)]['getTask'](_0x373917)['catch'](_0x56bff8=>{const _0x1cd8f7=_0x15232e;var _0x446a95;let _0x1cf5a5=_0x56bff8 instanceof Error?_0x56bff8['message']:(_0x446a95=_0x56bff8[_0x1cd8f7(0xea)])==null?void 0x0:_0x446a95[_0x1cd8f7(0x15c)];this[_0x1cd8f7(0x112)][_0x1cd8f7(0x1e4)]({'error':{'code':l[_0x1cd8f7(0x194)][_0x1cd8f7(0x186)],'message':_0x1cf5a5||''},'state':0x3});});if(!_0x8ef7e)return;let _0x8391a3=((_0x33b07f=_0x8ef7e[_0x15232e(0x242)])==null?void 0x0:_0x33b07f['fileID'])||'';if(_0x8391a3[_0x15232e(0x257)]===0x0){this[_0x15232e(0x112)]['next']({'error':{'code':l[_0x15232e(0x194)][_0x15232e(0x186)],'message':_0x15232e(0x106)},'state':0x3});return;}this['_requestState$'][_0x15232e(0x1e4)]({'error':_0x8ef7e[_0x15232e(0xea)],'state':0x3});let _0x26d1ee=await this[_0x15232e(0x102)](_0x8391a3);if(!_0x26d1ee)return;let _0x5c23b0=await j(_0x26d1ee,this[_0x15232e(0x11c)]);if(!_0x5c23b0){this[_0x15232e(0x112)][_0x15232e(0x1e4)]({'error':{'code':l[_0x15232e(0x194)]['UNRECOGNIZED'],'message':_0x15232e(0x100)},'state':0x6});return;}return this['_requestState$'][_0x15232e(0x1e4)]({'error':{'code':l[_0x15232e(0x194)]['OK'],'message':_0x15232e(0x1eb)},'state':0x6}),_0x5c23b0;}async[_0x4c791d(0x154)](_0x1b63cf,_0x3ca006,_0x397b2d){const _0xc03956=_0x4c791d;let _0x58e8ab;try{_0x58e8ab=await this[_0xc03956(0x1a3)][_0xc03956(0x17e)](_0x1b63cf,_0x3ca006,_0x397b2d);}catch(_0x667bb9){let _0x16dda3=_0x667bb9 instanceof Error?_0x667bb9[_0xc03956(0x15c)]:String(_0x667bb9);this[_0xc03956(0x112)][_0xc03956(0x1e4)]({'error':{'code':l['ErrorCode'][_0xc03956(0x186)],'message':_0x16dda3},'state':0x0});return;}if(!_0x58e8ab||typeof _0x58e8ab['FileId']!=_0xc03956(0x228)){this['_requestState$'][_0xc03956(0x1e4)]({'error':{'code':l[_0xc03956(0x194)][_0xc03956(0x186)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x42dcb0=_0x58e8ab[_0xc03956(0xed)];if(_0x42dcb0[_0xc03956(0x257)]===0x0){this[_0xc03956(0x112)][_0xc03956(0x1e4)]({'error':{'code':l[_0xc03956(0x194)]['UNRECOGNIZED'],'message':_0xc03956(0xf9)},'state':0x0});return;}return this[_0xc03956(0x112)]['next']({'error':{'code':l['ErrorCode']['OK'],'message':_0xc03956(0x1eb)},'state':0x0}),_0x42dcb0;}async['_import'](_0x254f3d,_0x5d78c6,_0x49cff3){const _0x4c93d6=_0x4c791d;let _0x57b2f6={'fileID':_0x254f3d,'type':_0x49cff3,'outputType':_0x5d78c6,'fileUrl':'','minSheetRowCount':this[_0x4c93d6(0x1f6)](),'minSheetColumnCount':this[_0x4c93d6(0x187)]()},_0x533dcb=await this[_0x4c93d6(0x1a3)][_0x4c93d6(0x196)](_0x57b2f6);if(!_0x533dcb){this[_0x4c93d6(0x112)][_0x4c93d6(0x1e4)]({'error':{'code':l[_0x4c93d6(0x194)][_0x4c93d6(0x186)],'message':_0x4c93d6(0x225)},'state':0x1});return;}if(_0x533dcb[_0x4c93d6(0xea)]&&_0x533dcb[_0x4c93d6(0xea)]['code']!==l[_0x4c93d6(0x194)]['OK']){this[_0x4c93d6(0x112)][_0x4c93d6(0x1e4)]({'error':_0x533dcb[_0x4c93d6(0xea)],'state':0x1});return;}let _0x25cb78=_0x533dcb[_0x4c93d6(0x1ff)];if(_0x25cb78['length']===0x0){this['_requestState$'][_0x4c93d6(0x1e4)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x4c93d6(0x1c8)},'state':0x1});return;}return this['_requestState$']['next']({'error':_0x533dcb[_0x4c93d6(0xea)],'state':0x1}),_0x25cb78;}async['_signUrl'](_0xd8fa42){const _0x43e6f8=_0x4c791d;let _0x537da2=await this[_0x43e6f8(0x1a3)][_0x43e6f8(0x16c)](_0xd8fa42);if(!_0x537da2){this[_0x43e6f8(0x112)][_0x43e6f8(0x1e4)]({'error':{'code':l['ErrorCode'][_0x43e6f8(0x186)],'message':_0x43e6f8(0x1bb)},'state':0x4});return;}if(_0x537da2[_0x43e6f8(0xea)]&&_0x537da2['error']['code']!==l['ErrorCode']['OK']){this['_requestState$']['next']({'error':_0x537da2[_0x43e6f8(0xea)],'state':0x4});return;}let _0x103df0=(0x0,t[_0x43e6f8(0x24a)])(_0x537da2[_0x43e6f8(0x21b)],this[_0x43e6f8(0x234)]());if(_0x103df0[_0x43e6f8(0x257)]===0x0){this['_requestState$'][_0x43e6f8(0x1e4)]({'error':{'code':l['ErrorCode'][_0x43e6f8(0x186)],'message':_0x43e6f8(0x1bb)},'state':0x4});return;}return this['_requestState$'][_0x43e6f8(0x1e4)]({'error':_0x537da2[_0x43e6f8(0xea)],'state':0x4}),_0x103df0;}['_getDownloadEndpointURL'](){const _0x2cebe3=_0x4c791d;var _0x2d7033;let _0x18afbb=this[_0x2cebe3(0x22f)]['getConfig'](f);return(_0x2d7033=_0x18afbb==null?void 0x0:_0x18afbb[_0x2cebe3(0x1be)])==null?location[_0x2cebe3(0xd0)]:_0x2d7033;}[_0x4c791d(0x1f6)](){const _0x52ad04=_0x4c791d;var _0x3c3758,_0x3aaba0;let _0x32e32e=this[_0x52ad04(0x22f)][_0x52ad04(0x11d)](f);return(_0x3c3758=_0x32e32e==null||(_0x3aaba0=_0x32e32e['options'])==null?void 0x0:_0x3aaba0[_0x52ad04(0xcf)])==null?0x1:_0x3c3758;}[_0x4c791d(0x187)](){const _0xa522f4=_0x4c791d;var _0x46c3b7,_0x52ba55;let _0x406701=this[_0xa522f4(0x22f)][_0xa522f4(0x11d)](f);return(_0x46c3b7=_0x406701==null||(_0x52ba55=_0x406701[_0xa522f4(0x1a5)])==null?void 0x0:_0x52ba55[_0xa522f4(0x107)])==null?0x1:_0x46c3b7;}[_0x4c791d(0x176)](){const _0x25648e=_0x4c791d;var _0x5efc10,_0x56c008;let _0x123ec5=this[_0x25648e(0x22f)][_0x25648e(0x11d)](f);return(_0x5efc10=_0x123ec5==null||(_0x56c008=_0x123ec5[_0x25648e(0x1a5)])==null?void 0x0:_0x56c008[_0x25648e(0x14c)])==null?!0x1:_0x5efc10;}[_0x4c791d(0x1a4)](){const _0x258ab6=_0x4c791d;var _0x185dbe,_0x2f7159;let _0x3f9f33=this['_configService'][_0x258ab6(0x11d)](f);return(_0x185dbe=_0x3f9f33==null||(_0x2f7159=_0x3f9f33[_0x258ab6(0x1a5)])==null?void 0x0:_0x2f7159[_0x258ab6(0xec)])==null?!0x0:_0x185dbe;}[_0x4c791d(0x21f)](){const _0x1c3f27=_0x4c791d;var _0x306ef5,_0x49063b;let _0x2d90d1=this[_0x1c3f27(0x22f)]['getConfig'](f);return(_0x306ef5=_0x2d90d1==null||(_0x49063b=_0x2d90d1[_0x1c3f27(0x1a5)])==null?void 0x0:_0x49063b[_0x1c3f27(0x166)])==null?!0x1:_0x306ef5;}};G=I([F(0x0,t[_0x4c791d(0x221)]),F(0x1,(0x0,t[_0x4c791d(0x246)])(n[_0x4c791d(0xe5)])),F(0x2,(0x0,t[_0x4c791d(0x246)])(L))],G);const de={'done':0x0,'count':0x0},K=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x11f));let q=class extends t[_0x4c791d(0x25a)]{constructor(_0x4bf67d,_0x3888ad,_0x235420,_0x51ee40,_0x53d229,_0x5ec17f){const _0x426a25=_0x4c791d;super(),this[_0x426a25(0x1ea)]=_0x4bf67d,this[_0x426a25(0x219)]=_0x3888ad,this[_0x426a25(0x115)]=_0x235420,this[_0x426a25(0x10e)]=_0x51ee40,this[_0x426a25(0x1c4)]=_0x53d229,this['_logService']=_0x5ec17f,_(this,_0x426a25(0x14a),new o[(_0x426a25(0x15e))](de)),_(this,_0x426a25(0x1ce),this['_progress$'][_0x426a25(0x17d)]()),_(this,_0x426a25(0x162),0x0),_(this,'_doneUploadTaskCount',0x0),this[_0x426a25(0xf4)]((0x0,t[_0x426a25(0x198)])(this[_0x426a25(0x10e)][_0x426a25(0x169)][_0x426a25(0x147)](_0x4b4947=>{const _0x320ac3=_0x426a25;var _0xa109f6;((_0xa109f6=_0x4b4947[_0x320ac3(0xea)])==null?void 0x0:_0xa109f6[_0x320ac3(0x1c6)])===l[_0x320ac3(0x194)]['OK']?this[_0x320ac3(0x13c)](0x1):this[_0x320ac3(0x148)](_0x4b4947[_0x320ac3(0xea)]);})));}[_0x4c791d(0x140)](){const _0x64a3c4=_0x4c791d;this[_0x64a3c4(0x10c)](),this['_uploadNotificationService'][_0x64a3c4(0x135)](0x2),this[_0x64a3c4(0x10e)][_0x64a3c4(0x1b0)]();}async[_0x4c791d(0xee)](_0x5395f6){const _0x2ed4db=_0x4c791d;throw Error(_0x2ed4db(0xdc));}async[_0x4c791d(0x193)](){const _0x4230b0=_0x4c791d;let _0x56d579=await A([t[_0x4230b0(0x1f1)][_0x4230b0(0x16f)]]);if(_0x56d579&&!this[_0x4230b0(0x1d9)](_0x56d579,t[_0x4230b0(0x1f1)]['UNIVER_DOC']))return this['_importFileToUnitId'](_0x56d579[0x0],t['UniverInstanceType'][_0x4230b0(0x16f)]);}[_0x4c791d(0xd1)](){const _0x22f285=_0x4c791d;throw Error(_0x22f285(0xdc));}async[_0x4c791d(0x121)](_0x2f240a,_0x3ad13f,_0x388de8){const _0x1d036d=_0x4c791d;this[_0x1d036d(0x222)](s[_0x1d036d(0x1b5)][_0x1d036d(0x240)]);let _0x1d6524=await this['_exchangeService']['exportDOCXByUnitId'](_0x2f240a||this[_0x1d036d(0x1b1)]());_0x1d6524&&(O(_0x1d6524,_0x3ad13f||this[_0x1d036d(0x12a)](_0x1d6524),_0x1d036d(0x21c)),this['_showDownloadMessage'](s[_0x1d036d(0x1b5)]['Success']));}async['exportDOCXBySnapshot'](){const _0xc44028=_0x4c791d;this['_showDownloadMessage'](s[_0xc44028(0x1b5)][_0xc44028(0x240)]);let _0x14ac65=await this[_0xc44028(0x1bd)](),_0x32ba14=await this[_0xc44028(0x10e)][_0xc44028(0x1f3)](_0x14ac65);_0x32ba14&&(O(_0x32ba14,this[_0xc44028(0x12a)](_0x32ba14),_0xc44028(0x21c)),this[_0xc44028(0x222)](s[_0xc44028(0x1b5)]['Success']));}async[_0x4c791d(0x1b4)](){const _0x885486=_0x4c791d;if(this[_0x885486(0x134)]()){this[_0x885486(0x219)][_0x885486(0x14b)]({'type':s[_0x885486(0x1b5)][_0x885486(0x144)],'content':this[_0x885486(0x115)]['t'](_0x885486(0xef))});return;}let _0x761cdd=await A([t[_0x885486(0x1f1)][_0x885486(0xe9)]]);if(_0x761cdd&&!this['_fileTypeError'](_0x761cdd,t[_0x885486(0x1f1)][_0x885486(0xe9)]))return this[_0x885486(0x168)](_0x761cdd[0x0],t[_0x885486(0x1f1)]['UNIVER_SHEET']);}async[_0x4c791d(0x1b3)](){const _0x57a613=_0x4c791d;if(this[_0x57a613(0x134)]()){this[_0x57a613(0x219)][_0x57a613(0x14b)]({'type':s[_0x57a613(0x1b5)]['Warning'],'content':this[_0x57a613(0x115)]['t'](_0x57a613(0xef))});return;}let _0x485ec6=await A([t[_0x57a613(0x1f1)][_0x57a613(0xe9)]]);if(!_0x485ec6)return;this[_0x57a613(0x145)](s[_0x57a613(0x1b5)][_0x57a613(0x240)]);let _0x172601=await this[_0x57a613(0x10e)][_0x57a613(0x1b3)](_0x485ec6[0x0]);_0x172601&&(this['_refresh'](_0x172601),this[_0x57a613(0x145)](s['MessageType']['Success']));}async[_0x4c791d(0x1a9)](_0x3bf11e,_0x27df9e,_0x3ed626){const _0x595684=_0x4c791d;this[_0x595684(0x222)](s[_0x595684(0x1b5)]['Info']);let _0x1122c4=await this[_0x595684(0x10e)][_0x595684(0x1a9)](_0x3bf11e||this[_0x595684(0x258)]());_0x1122c4&&(O(_0x1122c4,_0x27df9e||this[_0x595684(0x12a)](_0x1122c4),_0x595684(0x103)),this[_0x595684(0x222)](s[_0x595684(0x1b5)][_0x595684(0x201)]));}async[_0x4c791d(0x1f7)](){const _0x555805=_0x4c791d;this[_0x555805(0x222)](s['MessageType'][_0x555805(0x240)]);let _0x5ced0c=await this[_0x555805(0x182)](),_0x2a3b3c=await this[_0x555805(0x10e)][_0x555805(0x1f7)](_0x5ced0c);_0x2a3b3c&&(O(_0x2a3b3c,this[_0x555805(0x12a)](_0x2a3b3c),_0x555805(0x103)),this['_showDownloadMessage'](s['MessageType'][_0x555805(0x201)]));}['registerLink'](_0x59febf){const _0x41a492=_0x4c791d;this[_0x41a492(0x22a)]=_0x59febf;}async['_importFileToUnitId'](_0x12055c,_0x145cf0){const _0x5f4ef4=_0x4c791d;this[_0x5f4ef4(0x1c4)][_0x5f4ef4(0x14b)](),this['_uploadNotificationService'][_0x5f4ef4(0x135)](0x0),this['_addTotalCount'](0x4),this[_0x5f4ef4(0x13c)](0x1);let _0x28a59f=await this[_0x5f4ef4(0x10e)][_0x5f4ef4(0x1ba)](_0x12055c,_0x145cf0);if(!_0x28a59f){this['_clearProgress'](),this[_0x5f4ef4(0x1c4)]['updateState'](0x2);return;}let _0x29c7a7={'link':this['_getLinkByUnitId'](_0x28a59f,_0x145cf0),'name':_0x12055c[_0x5f4ef4(0x163)],'type':_0x145cf0};return this['_uploadNotificationService'][_0x5f4ef4(0x1cd)](_0x29c7a7),this['_completeProgress'](),this[_0x5f4ef4(0x1c4)][_0x5f4ef4(0x135)](0x1),_0x28a59f;}['_getUnitID'](){const _0x2c5bc7=_0x4c791d;return this['_univerInstanceService']['getCurrentUnitOfType'](t[_0x2c5bc7(0x1f1)][_0x2c5bc7(0xe9)])[_0x2c5bc7(0x16b)]();}[_0x4c791d(0x1b1)](){const _0x2786ac=_0x4c791d;return this[_0x2786ac(0x1ea)][_0x2786ac(0x159)](t['UniverInstanceType']['UNIVER_DOC'])['getUnitId']();}[_0x4c791d(0x12a)](_0x3ea4bc){const _0x174d67=_0x4c791d;var _0x147f9f;return((_0x147f9f=this[_0x174d67(0x1ea)]['getCurrentUnitOfType'](t[_0x174d67(0x1f1)][_0x174d67(0xe9)]))==null?void 0x0:_0x147f9f[_0x174d67(0x163)])||_0x3ea4bc[_0x174d67(0x163)][_0x174d67(0x1f0)]('.')[_0x174d67(0x143)]()||document['title'];}async['_getUnitJson'](){const _0x1b0156=_0x4c791d;return this[_0x1b0156(0x1ea)]['getCurrentUnitOfType'](t[_0x1b0156(0x1f1)]['UNIVER_SHEET'])[_0x1b0156(0x241)]();}async['_getUnitDocJson'](){const _0x5e5cad=_0x4c791d;return this[_0x5e5cad(0x1ea)]['getCurrentUnitOfType'](t['UniverInstanceType']['UNIVER_DOC'])[_0x5e5cad(0x241)]();}[_0x4c791d(0x22a)](_0x5015a7,_0xe71bda){const _0x115629=_0x4c791d;let _0x418106=new URL(window[_0x115629(0x1ad)][_0x115629(0x205)]);return _0x418106[_0x115629(0x172)]['set'](_0x115629(0x131),_0x5015a7),_0x418106[_0x115629(0x172)]['set'](_0x115629(0xd6),''+_0xe71bda),_0x418106[_0x115629(0x1dd)]();}[_0x4c791d(0x11b)](_0x335ed9){const _0x515889=_0x4c791d;let _0x327315=this[_0x515889(0x1ea)]['getCurrentUnitOfType'](t[_0x515889(0x1f1)][_0x515889(0xe9)])[_0x515889(0x16b)]();this[_0x515889(0x1ea)][_0x515889(0x12e)](_0x327315),this['_univerInstanceService'][_0x515889(0x23f)](t[_0x515889(0x1f1)][_0x515889(0xe9)],_0x335ed9);}[_0x4c791d(0x148)](_0x466e12){const _0x1114f6=_0x4c791d;if(_0x466e12){let {code:_0x59b107}=_0x466e12;switch(_0x59b107){case l['ErrorCode'][_0x1114f6(0x101)]:this[_0x1114f6(0x219)][_0x1114f6(0x14b)]({'type':s['MessageType'][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0xd5))});break;case l[_0x1114f6(0x194)]['INTERNAL_ERROR']:this[_0x1114f6(0x219)][_0x1114f6(0x14b)]({'type':s[_0x1114f6(0x1b5)][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x1ca))});break;default:this[_0x1114f6(0x219)]['show']({'type':s[_0x1114f6(0x1b5)][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x111))});break;}return null;}return this['_messageService'][_0x1114f6(0x14b)]({'type':s[_0x1114f6(0x1b5)]['Error'],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x111))}),null;}[_0x4c791d(0x222)](_0x21bd4e){const _0x293763=_0x4c791d;let _0x268cb9='';switch(_0x21bd4e){case s['MessageType'][_0x293763(0x201)]:_0x268cb9=this[_0x293763(0x115)]['t'](_0x293763(0x253));break;case s[_0x293763(0x1b5)][_0x293763(0x240)]:_0x268cb9=this[_0x293763(0x115)]['t']('exchange-client.downloading');break;default:break;}this[_0x293763(0x219)][_0x293763(0x14b)]({'type':_0x21bd4e,'content':_0x268cb9});}[_0x4c791d(0x145)](_0x2fda90){const _0x2427aa=_0x4c791d;let _0x4c87aa='';switch(_0x2fda90){case s[_0x2427aa(0x1b5)]['Success']:_0x4c87aa=this[_0x2427aa(0x115)]['t'](_0x2427aa(0x130));break;case s['MessageType'][_0x2427aa(0x240)]:_0x4c87aa=this[_0x2427aa(0x115)]['t'](_0x2427aa(0xef));break;default:break;}this[_0x2427aa(0x219)][_0x2427aa(0x14b)]({'type':_0x2fda90,'content':_0x4c87aa});}['_emitProgress'](){const _0x2c8200=_0x4c791d;this[_0x2c8200(0x14a)]['next']({'done':this['_doneUploadTaskCount'],'count':this[_0x2c8200(0x162)]});}[_0x4c791d(0xf8)](_0x377dd3){const _0x1f0a93=_0x4c791d;this[_0x1f0a93(0x162)]+=_0x377dd3,this['_emitProgress']();}[_0x4c791d(0x13c)](_0x332098){const _0x190fbf=_0x4c791d;this[_0x190fbf(0x24b)]+=_0x332098,this['_doneUploadTaskCount']=Math[_0x190fbf(0x217)](this[_0x190fbf(0x24b)],this[_0x190fbf(0x162)]),this[_0x190fbf(0x25e)]();}[_0x4c791d(0xde)](){const _0x23cbcf=_0x4c791d;this[_0x23cbcf(0x24b)]=this[_0x23cbcf(0x162)],this['_emitProgress']();}[_0x4c791d(0x10c)](){const _0x3603d0=_0x4c791d;this['_doneUploadTaskCount']=0x0,this[_0x3603d0(0x162)]=0x0,this[_0x3603d0(0x25e)]();}[_0x4c791d(0x1d9)](_0x4bd84e,_0x1260ee){const _0x22fe7c=_0x4c791d;let _0x2783cc=_0x4bd84e[0x0],_0x34a82a=_0x2783cc['name'];return k(_0x2783cc)===_0x1260ee?!0x1:(this['_messageService'][_0x22fe7c(0x14b)]({'type':s[_0x22fe7c(0x1b5)][_0x22fe7c(0x245)],'content':this[_0x22fe7c(0x115)]['t']('exchange-client.fileTypeError',_0x34a82a)}),!0x0);}['_uploadTaskNotDone'](){const _0x55ad2b=_0x4c791d;return this[_0x55ad2b(0x162)]!==0x0&&this[_0x55ad2b(0x24b)]!==this[_0x55ad2b(0x162)];}};q=I([F(0x0,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x22e)])),F(0x1,r[_0x4c791d(0x17a)]),F(0x2,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x232)])),F(0x3,(0x0,t[_0x4c791d(0x246)])(W)),F(0x4,(0x0,t[_0x4c791d(0x246)])(v)),F(0x5,t[_0x4c791d(0x128)])],q);function J(_0x2eaa7e){const _0x1830b1=_0x4c791d;let {onClick:_0x3c0e6d,children:_0x38dd40,className:_0xc4ad22}=_0x2eaa7e;return(0x0,c[_0x1830b1(0x20a)])(_0x1830b1(0x1d4),{'className':(0x0,s[_0x1830b1(0x1fa)])(_0x1830b1(0x1fd),_0xc4ad22),'type':_0x1830b1(0x1d4),'onClick':_0x3c0e6d,'children':_0x38dd40});}function Y(){const _0x386d9b=_0x4c791d;let _0x57afef=(0x0,r[_0x386d9b(0x255)])(K),_0x589abe=(0x0,r[_0x386d9b(0x255)])(t[_0x386d9b(0x232)]);function _0x3d5592(){const _0x29a11b=_0x386d9b;_0x57afef[_0x29a11b(0x1b4)]();}return(0x0,c[_0x386d9b(0x20a)])(J,{'onClick':_0x3d5592,'children':_0x589abe['t'](_0x386d9b(0x129))});}function X(){const _0x482b17=_0x4c791d;return(0x0,c[_0x482b17(0x204)])(_0x482b17(0x190),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x482b17(0x20a)])(_0x482b17(0x249),{'className':_0x482b17(0x1d2),'children':(0x0,r[_0x482b17(0x255)])(t[_0x482b17(0x232)])['t'](_0x482b17(0x173))}),(0x0,c[_0x482b17(0x20a)])(Y,{})]});}function fe(_0xf9d602){const _0x2d92a5=_0x4c791d;let {count:_0x41c54c}=_0xf9d602;return(0x0,c['jsxs'])(_0x2d92a5(0x190),{'className':_0x2d92a5(0x137),'children':[(0x0,c['jsx'])(_0x2d92a5(0x249),{'className':_0x2d92a5(0x206),'children':(0x0,r[_0x2d92a5(0x255)])(t[_0x2d92a5(0x232)])['t'](_0x2d92a5(0x22b),''+_0x41c54c)}),(0x0,c[_0x2d92a5(0x20a)])(Y,{})]});}function pe(){const _0x4a042c=_0x4c791d;let _0xd73d8d=(0x0,r[_0x4a042c(0x255)])(K),_0x25c571=(0x0,r[_0x4a042c(0x255)])(t[_0x4a042c(0x232)]);function _0x2aea43(){const _0x1b786e=_0x4a042c;_0xd73d8d[_0x1b786e(0x140)]();}return(0x0,c[_0x4a042c(0x20a)])(J,{'onClick':_0x2aea43,'children':_0x25c571['t'](_0x4a042c(0x13b))});}function me(){const _0x1400ba=_0x4c791d;let {count:_0x337095,done:_0x525366}=(0x0,r[_0x1400ba(0x20e)])((0x0,r['useDependency'])(K)['progress$']),[_0x3b71c0,_0x342b54]=(0x0,a[_0x1400ba(0x244)])(_0x337095>0x0?_0x525366/_0x337095:0x0);return(0x0,a[_0x1400ba(0x132)])(()=>{_0x342b54(_0x337095>0x0?_0x525366/_0x337095:0x0);},[_0x337095,_0x525366]),(0x0,c[_0x1400ba(0x20a)])(_0x1400ba(0x190),{'className':_0x1400ba(0x20f),'children':(0x0,c[_0x1400ba(0x20a)])(_0x1400ba(0x190),{'className':_0x1400ba(0x1df),'style':{'width':Math[_0x1400ba(0xeb)](_0x3b71c0*0x64)+'%'}})});}function he(){const _0x288c27=_0x4c791d;return(0x0,c[_0x288c27(0x204)])(_0x288c27(0x190),{'className':_0x288c27(0x1ae),'children':[(0x0,c[_0x288c27(0x20a)])(_0x288c27(0x249),{'className':_0x288c27(0x180),'children':(0x0,r['useDependency'])(t['LocaleService'])['t'](_0x288c27(0x1b9))}),(0x0,c['jsx'])(_0x288c27(0x190),{'className':_0x288c27(0x10f),'children':(0x0,c[_0x288c27(0x20a)])(me,{})}),(0x0,c['jsx'])(pe,{})]});}const ge={0x1:(0x0,c[_0x4c791d(0x20a)])(i['SuccessIcon'],{'className':_0x4c791d(0x208)}),0x0:(0x0,c['jsx'])(i[_0x4c791d(0x171)],{'className':_0x4c791d(0x1f4)}),0x2:(0x0,c[_0x4c791d(0x20a)])(i[_0x4c791d(0x1ac)],{'className':_0x4c791d(0x149)})};function _e(){const _0xe16661=_0x4c791d;let [_0x27f0a8,_0x151afd]=(0x0,a[_0xe16661(0x244)])(0x0),[_0x59655b,_0x3fd4a3]=(0x0,a[_0xe16661(0x244)])(!0x1),[_0x53cf5f,_0x2f6aee]=(0x0,a['useState'])([]),_0x113d04=(0x0,r['useDependency'])(v),_0x491b97=(0x0,r[_0xe16661(0x255)])(t[_0xe16661(0x232)]);(0x0,a[_0xe16661(0x132)])(()=>{const _0x82dd6d=_0xe16661;let _0x23924b=_0x113d04[_0x82dd6d(0x1e2)][_0x82dd6d(0x147)](_0x15012f=>{_0x3fd4a3(_0x15012f);}),_0x2da14a=_0x113d04[_0x82dd6d(0x21e)][_0x82dd6d(0x147)](_0x4daef9=>{_0x2f6aee(_0x4daef9);}),_0x2494be=_0x113d04[_0x82dd6d(0x10a)][_0x82dd6d(0x147)](_0x29b944=>{_0x151afd(_0x29b944);});return()=>{const _0x1fc767=_0x82dd6d;_0x23924b[_0x1fc767(0x1b2)](),_0x2da14a['unsubscribe'](),_0x2494be[_0x1fc767(0x1b2)]();};},[]);function _0x1ff8c7(){_0x3fd4a3(!0x1);}function _0x27b2e7(_0x3fc832){const _0x173b4a=_0xe16661;switch(_0x3fc832){case 0x1:return _0x491b97['t'](_0x173b4a(0x130));case 0x0:return _0x491b97['t'](_0x173b4a(0xef));case 0x2:return _0x491b97['t'](_0x173b4a(0x254));default:return'';}}return _0x59655b&&(0x0,c[_0xe16661(0x204)])(_0xe16661(0x190),{'className':_0xe16661(0xdf),'children':[(0x0,c['jsxs'])(_0xe16661(0x190),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,c[_0xe16661(0x204)])(_0xe16661(0x249),{'className':'univer-flex','children':[(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':_0xe16661(0x19e),'children':ge[_0x27f0a8]}),(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x27b2e7(_0x27f0a8)})]}),(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':_0xe16661(0xf6),'onClick':_0x1ff8c7,'children':(0x0,c[_0xe16661(0x20a)])(i[_0xe16661(0xd3)],{})})]}),(0x0,c[_0xe16661(0x204)])(_0xe16661(0x190),{'children':[_0x27f0a8===0x0&&(0x0,c['jsx'])(he,{}),_0x27f0a8===0x2&&(0x0,c['jsx'])(X,{}),_0x53cf5f[_0xe16661(0x257)]>0x0&&(0x0,c[_0xe16661(0x20a)])(re,{'list':_0x53cf5f}),_0x27f0a8===0x1&&(0x0,c[_0xe16661(0x20a)])(fe,{'count':_0x53cf5f['length']})]})]});}function Z(){return(0x0,c['jsx'])(_e,{});}let Q=class extends t[_0x4c791d(0x25a)]{constructor(_0x3e3f18,_0x3e3dbd){const _0x34bb49=_0x4c791d;super(),this[_0x34bb49(0x18d)]=_0x3e3f18,this[_0x34bb49(0x1db)]=_0x3e3dbd,this[_0x34bb49(0x24c)]();}[_0x4c791d(0x24c)](){const _0x28884a=_0x4c791d;this[_0x28884a(0xf4)](this[_0x28884a(0x1db)][_0x28884a(0x1c3)](r['BuiltInUIPart'][_0x28884a(0x239)],()=>(0x0,r[_0x28884a(0xe3)])(Z,this[_0x28884a(0x18d)])));}};Q=I([F(0x0,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x127)])),F(0x1,r[_0x4c791d(0x1c5)])],Q);let $=class extends t[_0x4c791d(0x23c)]{constructor(_0x4dadce=p,_0x5815b8,_0x351055){const _0x58ca04=_0x4c791d;super(),this[_0x58ca04(0x141)]=_0x4dadce,this[_0x58ca04(0x18d)]=_0x5815b8,this[_0x58ca04(0x22f)]=_0x351055;let {..._0x69d8a1}=(0x0,t[_0x58ca04(0xf5)])({},p,this[_0x58ca04(0x141)]);this[_0x58ca04(0x22f)][_0x58ca04(0x12c)](f,_0x69d8a1);}[_0x4c791d(0x229)](){const _0xd5410a=_0x4c791d;(0x0,t['registerDependencies'])(this[_0xd5410a(0x18d)],[[Q],[K,{'useClass':q}],[W,{'useClass':G}],[L,{'useClass':R}],[v,{'useClass':y}]]);}['onReady'](){const _0x5a3ca8=_0x4c791d;(0x0,t[_0x5a3ca8(0x216)])(this['_injector'],[[Q],[K]]);}};_($,_0x4c791d(0x1f2),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),_($,_0x4c791d(0x22d),m),_($,_0x4c791d(0x214),h),$=I([(0x0,t['DependentOn'])(n[_0x4c791d(0xf3)],e['UniverLicensePlugin']),F(0x1,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x127)])),F(0x2,t['IConfigService'])],$),exports[_0x4c791d(0x23b)]=f,Object[_0x4c791d(0x118)](exports,_0x4c791d(0x18a),{'enumerable':!0x0,'get':function(){return q;}}),Object['defineProperty'](exports,'ExchangeService',{'enumerable':!0x0,'get':function(){return G;}}),exports['IExchangeOperateService']=K,exports[_0x4c791d(0x25c)]=W,exports[_0x4c791d(0x1b8)]=L,exports['IUploadNotificationService']=v,Object['defineProperty'](exports,'RequestService',{'enumerable':!0x0,'get':function(){return R;}}),Object['defineProperty'](exports,'UniverExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x4c791d(0x1a1)]=Z,exports[_0x4c791d(0x18f)]=y,exports[_0x4c791d(0x153)]=ne,exports['downloadFile']=O,exports[_0x4c791d(0x1ef)]=k,exports[_0x4c791d(0x19c)]=A,exports[_0x4c791d(0xdb)]=B,exports[_0x4c791d(0xe4)]=H,exports[_0x4c791d(0x1ee)]=V,exports['transformWorkbookDataToSnapshotJson']=z;
|
|
1
|
+
const _0x2f25fe=_0x1739;(function(_0x1fc21a,_0x2fa425){const _0x4dcd21=_0x1739,_0x77d82e=_0x1fc21a();while(!![]){try{const _0x581b7e=parseInt(_0x4dcd21(0x151))/0x1*(parseInt(_0x4dcd21(0x251))/0x2)+-parseInt(_0x4dcd21(0x1e1))/0x3+parseInt(_0x4dcd21(0x244))/0x4+parseInt(_0x4dcd21(0x2a4))/0x5+-parseInt(_0x4dcd21(0x1e6))/0x6*(-parseInt(_0x4dcd21(0x27c))/0x7)+parseInt(_0x4dcd21(0x18e))/0x8+-parseInt(_0x4dcd21(0x2a9))/0x9*(parseInt(_0x4dcd21(0x2b3))/0xa);if(_0x581b7e===_0x2fa425)break;else _0x77d82e['push'](_0x77d82e['shift']());}catch(_0x28331d){_0x77d82e['push'](_0x77d82e['shift']());}}}(_0x2e71,0x7b91c),Object[_0x2f25fe(0x15f)](exports,Symbol[_0x2f25fe(0x150)],{'value':_0x2f25fe(0x24b)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/ui'),i=require('@univerjs/icons'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');const f=_0x2f25fe(0x209),p={};var m=_0x2f25fe(0x18c),h=_0x2f25fe(0x266);function _0x1739(_0x2144c6,_0x4c6a1e){_0x2144c6=_0x2144c6-0x134;const _0x2e71cb=_0x2e71();let _0x1739c4=_0x2e71cb[_0x2144c6];return _0x1739c4;}function g(_0x4440b7){'@babel/helpers - typeof';const _0x4440fa=_0x2f25fe;return g=typeof Symbol=='function'&&typeof Symbol[_0x4440fa(0x174)]==_0x4440fa(0x1d6)?function(_0x5245cc){return typeof _0x5245cc;}:function(_0x54fe34){const _0x2d0883=_0x4440fa;return _0x54fe34&&typeof Symbol=='function'&&_0x54fe34[_0x2d0883(0x1c3)]===Symbol&&_0x54fe34!==Symbol[_0x2d0883(0x1a5)]?_0x2d0883(0x1d6):typeof _0x54fe34;},g(_0x4440b7);}function ee(_0x1f578b,_0x14383b){const _0x4fe66a=_0x2f25fe;if(g(_0x1f578b)!=_0x4fe66a(0x18d)||!_0x1f578b)return _0x1f578b;var _0x3d5657=_0x1f578b[Symbol[_0x4fe66a(0x1a3)]];if(_0x3d5657!==void 0x0){var _0x2ce3a8=_0x3d5657[_0x4fe66a(0x19c)](_0x1f578b,_0x14383b||_0x4fe66a(0x1c9));if(g(_0x2ce3a8)!=_0x4fe66a(0x18d))return _0x2ce3a8;throw TypeError(_0x4fe66a(0x1c0));}return(_0x14383b===_0x4fe66a(0x16c)?String:Number)(_0x1f578b);}function te(_0x56a927){const _0x172b8a=_0x2f25fe;var _0x47f5c6=ee(_0x56a927,_0x172b8a(0x16c));return g(_0x47f5c6)=='symbol'?_0x47f5c6:_0x47f5c6+'';}function _(_0x26f692,_0x37224f,_0x46d549){return(_0x37224f=te(_0x37224f))in _0x26f692?Object['defineProperty'](_0x26f692,_0x37224f,{'value':_0x46d549,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x26f692[_0x37224f]=_0x46d549,_0x26f692;}let ne=function(_0x37040a){const _0x407565=_0x2f25fe;return _0x37040a[_0x37040a['UPLOADING']=0x0]=_0x407565(0x240),_0x37040a[_0x37040a[_0x407565(0x142)]=0x1]=_0x407565(0x142),_0x37040a[_0x37040a[_0x407565(0x207)]=0x2]=_0x407565(0x207),_0x37040a;}({});const v=(0x0,t['createIdentifier'])(_0x2f25fe(0x290));var y=class extends t[_0x2f25fe(0x22a)]{constructor(){const _0x3b10bf=_0x2f25fe;super(),_(this,_0x3b10bf(0x177),new o[(_0x3b10bf(0x2b8))]()),_(this,_0x3b10bf(0x1db),new o[(_0x3b10bf(0x2b8))]()),_(this,_0x3b10bf(0x206),new o[(_0x3b10bf(0x2b8))]()),_(this,_0x3b10bf(0x1c8),this[_0x3b10bf(0x177)][_0x3b10bf(0x29c)]()),_(this,_0x3b10bf(0x249),this[_0x3b10bf(0x1db)][_0x3b10bf(0x29c)]()),_(this,_0x3b10bf(0x27e),this[_0x3b10bf(0x206)][_0x3b10bf(0x29c)]()),_(this,'_list',[]);}[_0x2f25fe(0x1d3)](){const _0x4460f7=_0x2f25fe;super['dispose'](),this[_0x4460f7(0x177)][_0x4460f7(0x1d4)](),this[_0x4460f7(0x1db)][_0x4460f7(0x1d4)](),this[_0x4460f7(0x206)][_0x4460f7(0x1d4)]();}[_0x2f25fe(0x2ad)](){const _0x695bee=_0x2f25fe;this[_0x695bee(0x177)][_0x695bee(0x1a2)](!0x0);}[_0x2f25fe(0x232)](){const _0x17c6b8=_0x2f25fe;this[_0x17c6b8(0x177)][_0x17c6b8(0x1a2)](!0x1);}[_0x2f25fe(0x26a)](_0x4936de){const _0x4d6e86=_0x2f25fe;this['_state$'][_0x4d6e86(0x1a2)](_0x4936de);}[_0x2f25fe(0x28f)](_0x24a8eb){const _0xfb947a=_0x2f25fe;this[_0xfb947a(0x1c5)][_0xfb947a(0x144)](_0x24a8eb),this[_0xfb947a(0x206)][_0xfb947a(0x1a2)](this[_0xfb947a(0x1c5)]);}};function re(_0x1df52f){const _0x5f33c1=_0x2f25fe;let {list:_0x33ae9a}=_0x1df52f;function _0x39382b(_0x22ce42){const _0x108219=_0x1739;switch(_0x22ce42){case 0x1:return(0x0,c['jsx'])(i['DocMultiIcon'],{});case 0x2:return(0x0,c['jsx'])(i[_0x108219(0x1d9)],{});case 0x3:return(0x0,c[_0x108219(0x1ec)])(i[_0x108219(0x1df)],{});default:return null;}}return(0x0,c[_0x5f33c1(0x1ec)])('div',{'className':(0x0,s[_0x5f33c1(0x287)])('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',s['scrollbarClassName']),'children':(0x0,c['jsx'])('ul',{'className':_0x5f33c1(0x243),'children':_0x33ae9a['map']((_0x5a6178,_0x22d9cc)=>(0x0,c['jsx'])('li',{'children':(0x0,c[_0x5f33c1(0x1ad)])('a',{'className':_0x5f33c1(0x29a),'href':_0x5a6178[_0x5f33c1(0x1e9)],'target':'_blank','rel':_0x5f33c1(0x281),'children':[(0x0,c[_0x5f33c1(0x1ad)])(_0x5f33c1(0x1ef),{'className':_0x5f33c1(0x163),'children':[(0x0,c[_0x5f33c1(0x1ec)])(_0x5f33c1(0x1ef),{'className':_0x5f33c1(0x225),'children':_0x39382b(_0x5a6178[_0x5f33c1(0x191)])}),(0x0,c['jsx'])(s[_0x5f33c1(0x282)],{'showIfEllipsis':!0x0,'title':_0x5a6178[_0x5f33c1(0x25f)],'asChild':!0x0,'children':(0x0,c[_0x5f33c1(0x1ec)])(_0x5f33c1(0x1ef),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x5a6178[_0x5f33c1(0x25f)]})})]}),(0x0,c['jsx'])(_0x5f33c1(0x1ef),{'className':_0x5f33c1(0x223),'children':(0x0,c[_0x5f33c1(0x1ec)])(i[_0x5f33c1(0x173)],{})})]})},_0x22d9cc))})});}const b='application/vnd.openxmlformats-officedocument.wordprocessingml.document',x=_0x2f25fe(0x238),S='application/vnd.ms-excel.sheet.macroEnabled.12',C=_0x2f25fe(0x28b),w=_0x2f25fe(0x27b),T={[t[_0x2f25fe(0x24e)]['UNIVER_UNKNOWN']]:[''],[t[_0x2f25fe(0x24e)][_0x2f25fe(0x16e)]]:[b],[t[_0x2f25fe(0x24e)][_0x2f25fe(0x1af)]]:[x,S,C],[t['UniverInstanceType'][_0x2f25fe(0x1e3)]]:[w],[t['UniverInstanceType'][_0x2f25fe(0x2bc)]]:[''],[t[_0x2f25fe(0x24e)]['UNRECOGNIZED']]:['']},E={[b]:_0x2f25fe(0x1a0),[x]:_0x2f25fe(0x217),[S]:_0x2f25fe(0x26b),[C]:_0x2f25fe(0x196),[w]:'pptx'};function D(_0x464406,_0x183222,_0x236765){const _0x5b4826=_0x2f25fe;let _0x13a014=document[_0x5b4826(0x245)]('a');_0x13a014[_0x5b4826(0x1b7)]=_0x464406,_0x13a014[_0x5b4826(0x1e7)][_0x5b4826(0x201)]=_0x5b4826(0x29f),_0x13a014[_0x5b4826(0x164)]=_0x183222+'.'+_0x236765,document[_0x5b4826(0x210)][_0x5b4826(0x291)](_0x13a014),_0x13a014[_0x5b4826(0x215)](),document[_0x5b4826(0x210)][_0x5b4826(0x14a)](_0x13a014);}function O(_0x91366,_0x544a05,_0x5e0bb6){const _0x15e61e=_0x2f25fe;let _0x5af23d=URL['createObjectURL'](_0x91366);D(_0x5af23d,_0x544a05,_0x5e0bb6),URL[_0x15e61e(0x2a0)](_0x5af23d);}function k(_0x317eb0){const _0x32d8b0=_0x2f25fe;let _0x3780a6=_0x317eb0[_0x32d8b0(0x25f)][_0x32d8b0(0x2b6)]('.')[_0x32d8b0(0x1f9)]();if(!_0x3780a6)return t[_0x32d8b0(0x24e)][_0x32d8b0(0x272)];let _0x8a8985=ie(),_0x4c73a6=t['UniverInstanceType'][_0x32d8b0(0x272)];return _0x8a8985[_0x32d8b0(0x153)](_0x4bedea=>ae(_0x3780a6,_0x4bedea)?(_0x4c73a6=_0x4bedea,!0x0):!0x1),_0x4c73a6;}function ie(){const _0x20072a=_0x2f25fe;return Object[_0x20072a(0x1d0)](t[_0x20072a(0x24e)])[_0x20072a(0x165)](_0x37f7d1=>typeof _0x37f7d1=='number');}function ae(_0x590c39,_0x5f31cd){const _0x1f282b=_0x2f25fe;return T[_0x5f31cd][_0x1f282b(0x26c)](_0x43761f=>(E[_0x43761f]||'')[_0x1f282b(0x157)]())[_0x1f282b(0x171)](_0x590c39[_0x1f282b(0x157)]());}function A(_0x2634f7,_0x331112=!0x1){const _0x354f1c=_0x2f25fe;let _0x574f60=_0x2634f7[_0x354f1c(0x26c)](_0x48b301=>T[_0x48b301])[_0x354f1c(0x258)](',');return new Promise((_0x34586f,_0x27e077)=>{const _0x38e8c6=_0x354f1c;let _0x14bfd2=document[_0x38e8c6(0x245)]('input');_0x14bfd2[_0x38e8c6(0x191)]='file',_0x14bfd2['accept']=_0x574f60,_0x14bfd2[_0x38e8c6(0x2b0)]=_0x331112,_0x14bfd2['addEventListener'](_0x38e8c6(0x1ed),_0x572667=>{const _0x23d2d6=_0x38e8c6;let _0x4b191d=_0x572667[_0x23d2d6(0x1b5)];if(!_0x4b191d[_0x23d2d6(0x1e0)]||_0x4b191d['files'][_0x23d2d6(0x14b)]===0x0)throw _0x27e077(null),Error(_0x23d2d6(0x1cc));_0x34586f(_0x4b191d['files']);}),_0x14bfd2[_0x38e8c6(0x215)]();});}async function j(_0x439b71,_0x1f2f7d){const _0x54004a=_0x2f25fe;try{var _0x34195d,_0x3ed111,_0x1c314e;let _0x2b61f5=await _0x1f2f7d['get'](_0x439b71,{'responseType':_0x54004a(0x140)}),_0x248d4f=_0x2b61f5[_0x54004a(0x210)],_0x249207=(_0x34195d=(_0x3ed111=_0x2b61f5[_0x54004a(0x21f)]['get']('Content-Type'))==null?void 0x0:_0x3ed111[_0x54004a(0x258)](',\x20'))==null?_0x54004a(0x18a):_0x34195d,_0x297a78=_0x54004a(0x134)+(E[_0x249207]||_0x54004a(0x217)),_0x15c591=(_0x1c314e=_0x2b61f5[_0x54004a(0x21f)]['get'](_0x54004a(0x2a2)))==null?void 0x0:_0x1c314e['join'](',\x20');if(_0x15c591){let _0x1edd4c=_0x15c591[_0x54004a(0x28c)](/filename=(.+)/);_0x1edd4c&&_0x1edd4c[0x1]&&(_0x297a78=_0x1edd4c[0x1]);}else _0x297a78=M(_0x439b71)||_0x297a78;return new File([_0x248d4f],_0x297a78,{'type':_0x249207});}catch(_0x45c689){console[_0x54004a(0x2ab)](_0x54004a(0x16d),_0x45c689);return;}}function M(_0xb47e05){const _0x3b2820=_0x2f25fe;try{return new URL(_0xb47e05)[_0x3b2820(0x1c6)][_0x3b2820(0x2b6)]('/')[_0x3b2820(0x1f9)]();}catch(_0x1f2ecc){console[_0x3b2820(0x2ab)](_0x3b2820(0x247),_0x1f2ecc);return;}}function N(_0x5a4185){const _0x4d84c9=_0x2f25fe;let _0x3a2a4d=new Blob([_0x5a4185[_0x4d84c9(0x24f)]],{'type':'application/json'});return new File([_0x3a2a4d],_0x4d84c9(0x234));}function _0x2e71(){const _0x45d141=['minSheetRowCount','_uploadNotificationService','signUrl','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','asObservable','_import','_registerComponents','none','revokeObjectURL','_addTotalCount','content-disposition','Info','2215615LivhHu','univer-pro.exchange-client.operate.service','ignoreTableExport','catch','Failed\x20to\x20get\x20fileID\x20from\x20task','9392265LuYUty','_getMinSheetColumnCount','error','_localeService','show','transformWorkbookDataToSnapshot','export\x20error','multiple','_completeProgress','_exportBySnapshot','20aqhzTN','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_export','split','_configService','Subject','_buildProtocolErrorMessage','decorate','_emitProgress','UNIVER_PROJECT','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','_fileTypeError','file.','Injector','done','getUnitId','_extractErrorDetail','_getUnitID','signUrlServerUrl','status','interruptImportTask','stringify','_showUploadMessage','getSheetBlocksFromSnapshot','blob','title','SUCCESS','DependentOn','unshift','importWorkbookDataToUnitId','/universer-api/stream/file/upload','transformWorkbookDataToSnapshotJson','registerDependencies','getDeserializedSheetBlock','removeChild','length','HTTPService','_getSignURL','_uploadTaskNotDone','{type}','toStringTag','620390UJbjol','statusText','some','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','getConfig','_getUnitName','toLowerCase','useState','forEach','getTaskServerUrl','IUploadNotificationService','_getMaxPollingTime','Plugin','univer-pl-2\x20univer-pr-4','defineProperty','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_getExportURL','getUnitOnRev','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','download','filter','import\x20error','exportDOCXBySnapshot','LocaleService','UploadNotificationContainer','enableServerSideComputing','CONNECTOR_DATA_TOO_LARGE','string','Error\x20fetching\x20file\x20from\x20URL:','UNIVER_DOC','.json','getSheetBlock','includes','block\x20is\x20required','ShareRangeIcon','iterator','_getUnitDocJson','trim','_visible$','_getUnitJson','_buildHttpErrorMessage','isArray','CloseIcon','add','taskID','exportDOCXByUnitId','_sheetBlockCache','exportXLSXBySnapshot','_config','HttpImport','maxTimeoutTime','importDOCXToUnitId','export','_getUnitIDDoc','_doneUploadTaskCount','size','UploadNotificationState','application/octet-stream','has','@univerjs-pro/exchange-client','object','521072tXFUqc','origin','FileId','type','parse','sheetBlocks','exchange-client.uploadSuccess','UNDEFINED','xltx','replace','exchange-client.downloading','ExchangeService','_getMinSheetRowCount','exchange-client.uploadSuccessTip','call','_getUploadFileURL','getUploadFile','progress$','docx','{fileID}','next','toPrimitive','univer-flex','prototype','textEncoder','fetchMissingChangesets','interrupt','registerComponent','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','_importTaskId','IExchangeOperateService','jsxs','version','UNIVER_SHEET','univer-text-blue-500','_injector','connectInjector','_logService','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','currentTarget','_clearProgress','href','transformSnapshotJsonToDocumentData','IExchangeService','_getEnableServerSideComputing','exchange-client.fileTypeError','jsonID','getLatestCsReqIdBySid','unit','blockID','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','saveChangeset','doc','constructor','_httpService','_list','pathname',':\x20HTTP\x20','visible$','default','UNIVER_EXCHANGE_CLIENT_PLUGIN','setTaskInterrupted','No\x20file\x20selected','floor','Error','BuiltInUIPart','values','\x20-\x20','UniverExchangeClientPlugin','dispose','complete','getResourcesRequest','symbol','importDOCXToSnapshot','b64EncodeUnicode','XlsxMultiIcon','success','_state$','getSnapshot','resolve','exchange-client.downloadSuccess','SlideMultiIcon','files','682887QLLTAs','exchange-client.networkError','UNIVER_SLIDE','ILogService','&source=','4790694hKMjWl','style','deflateSync','link','append','exchange-client.cancel','jsx','change','_refresh','span','url','Failed\x20to\x20parse\x20json','_getIgnoreTableExport','IRequestService','upload\x20request\x20failed','_signUrl','get','importXLSXToSnapshot','b64DecodeUnicode','pop','requestState$','Method\x20not\x20implemented.','_upload','UNRECOGNIZED','useObservable','upload\x20failed:\x20FileId\x20is\x20empty','saveSheetBlock','display','unitID','getTextFromUrl','{taskID}','_requestService','_list$','ERROR','transformSnapshotToDocumentData','exchange-client.config','snapshot','disposeUnit','data','createIdentifier','FileSource','options','body','Failed\x20to\x20get\x20file\x20from\x20url','import','updateSnapshot','MessageType','click','location','xlsx','univer-text-green-500','clearTaskInterrupted','Failed\x20to\x20transform\x20snapshot\x20to\x20string','exchange-client.wait','_messageService','_requestState$','createUnit','headers','getTask','searchParams','Failed\x20to\x20get\x20unitID\x20from\x20task','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','subscribe','univer-flex\x20univer-h-5\x20univer-text-xl','getUniverInstanceTypeByFile','copyFileMeta','_addDoneTask','_getImportURL','Disposable','sheets','ExchangeOperateService','upload','_progress$','useDependency','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','/universer-api/exchange/{type}/import','hide','_importToSnapshot','file.json','post','UniverLicensePlugin','_univerInstanceService','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','HTTPResponseError','getOwnPropertyDescriptor','rev','merge','fileID','function','univer-pro.exchange-client.exchange.service','UPLOADING','Success','?size=','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','3575372LtrIzW','createElement','decode','Error\x20getting\x20file\x20name\x20from\x20URL:','exportXLSXByUnitId','state$','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','Module','downloadFile','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','UniverInstanceType','buffer','importFileToUnitId','2NEQzUa','set','onStarting','code','message','touchDependencies','_getDownloadEndpointURL','join','IUIPartsService','_importFileToUnitId','toDisposable','encode','CONTENT','_totalUploadTaskCount','name','_getDisableCellImageConversion','disableCellImageConversion','minSheetColumnCount','importXLSXToUnitId','file','INTERNAL_ERROR','0.25.2','/universer-api/exchange/task/{taskID}','UploadNotificationService','unsubscribe','updateState','xlsm','map','getCurrentUnitOfType','IMessageService','/universer-api/exchange/{type}/export','_getLinkByUnitId','_exchangeService','UNIVER_UNKNOWN','exchange-client.uploading','univer-mt-5\x20univer-flex\x20univer-flex-col','textDecoder','keys','div','button','Inject','Warning','application/vnd.openxmlformats-officedocument.presentationml.presentation','7FJfEQy','ErrorCode','list$','_showNetworkError','&flate=','noreferrer','Tooltip','_taskInterrupted','originalMeta','outputType','disposeWithMe','clsx','downloadEndpointUrl','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','workbook','application/vnd.openxmlformats-officedocument.spreadsheetml.template','match','clear','importServerUrl','pushLink','univer-pro.exchange-client.upload-notification.service','appendChild','_getTaskURL','_showDownloadMessage','_uiPartsService','univer-h-6\x20univer-text-2xl','sign\x20url\x20error'];_0x2e71=function(){return _0x45d141;};return _0x2e71();}function P(_0x3d0843,_0xdc0de1){const _0x148982=_0x2f25fe;return _0x3d0843[_0x148982(0x197)](_0x148982(0x14f),_0xdc0de1);}function oe(_0x169a11,_0x189cdf){const _0x20a727=_0x2f25fe;return _0x169a11['replace'](_0x20a727(0x204),_0x189cdf);}function se(_0xdfa196,_0x3cd8ec){const _0x4897a6=_0x2f25fe;return _0xdfa196[_0x4897a6(0x197)](_0x4897a6(0x1a1),_0x3cd8ec);}function F(_0x46e791,_0x30e7f5){return function(_0xb39905,_0x344e6d){_0x30e7f5(_0xb39905,_0x344e6d,_0x46e791);};}function I(_0x55c0d9,_0x34b821,_0x547ed2,_0x1547c2){const _0x1f9851=_0x2f25fe;var _0x262bd7=arguments['length'],_0x2ba157=_0x262bd7<0x3?_0x34b821:_0x1547c2===null?_0x1547c2=Object[_0x1f9851(0x23a)](_0x34b821,_0x547ed2):_0x1547c2,_0x3e2ced;if(typeof Reflect=='object'&&typeof Reflect[_0x1f9851(0x2ba)]==_0x1f9851(0x23e))_0x2ba157=Reflect[_0x1f9851(0x2ba)](_0x55c0d9,_0x34b821,_0x547ed2,_0x1547c2);else{for(var _0x4bb967=_0x55c0d9[_0x1f9851(0x14b)]-0x1;_0x4bb967>=0x0;_0x4bb967--)(_0x3e2ced=_0x55c0d9[_0x4bb967])&&(_0x2ba157=(_0x262bd7<0x3?_0x3e2ced(_0x2ba157):_0x262bd7>0x3?_0x3e2ced(_0x34b821,_0x547ed2,_0x2ba157):_0x3e2ced(_0x34b821,_0x547ed2))||_0x2ba157);}return _0x262bd7>0x3&&_0x2ba157&&Object['defineProperty'](_0x34b821,_0x547ed2,_0x2ba157),_0x2ba157;}const L=(0x0,t[_0x2f25fe(0x20d)])('univer-pro.exchange-client.request.service');let R=class{constructor(_0x319e5d,_0x1dcc72){const _0x6aad95=_0x2f25fe;this[_0x6aad95(0x2b7)]=_0x319e5d,this['_httpService']=_0x1dcc72,_(this,_0x6aad95(0x283),new Set());}[_0x2f25fe(0x1d3)](){}[_0x2f25fe(0x1cb)](_0x3916ea){const _0x56fe96=_0x2f25fe;this[_0x56fe96(0x283)][_0x56fe96(0x17c)](_0x3916ea);}[_0x2f25fe(0x219)](){const _0x4d1c79=_0x2f25fe;this['_taskInterrupted'][_0x4d1c79(0x28d)]();}async[_0x2f25fe(0x22d)](_0x4e469f,_0x4d07b8=0x0,_0x2b63f9=!0x1){const _0x4ceb13=_0x2f25fe;if(typeof _0x4e469f=='string'){let _0x22cf41=await j(_0x4e469f,this[_0x4ceb13(0x1c4)]);if(!_0x22cf41)throw Error(_0x4ceb13(0x24a));_0x4e469f=_0x22cf41;}_0x4d07b8=_0x4d07b8||_0x4e469f[_0x4ceb13(0x188)];let _0x29b21e=new FormData();_0x29b21e[_0x4ceb13(0x1ea)](_0x4ceb13(0x264),_0x4e469f);try{let _0x14e665=this[_0x4ceb13(0x19d)]()+_0x4ceb13(0x242)+_0x4d07b8+_0x4ceb13(0x1e5)+l[_0x4ceb13(0x20e)][_0x4ceb13(0x182)]+_0x4ceb13(0x280)+_0x2b63f9,_0x5214ea={'body':_0x29b21e},_0x41ed27=(await this[_0x4ceb13(0x1c4)][_0x4ceb13(0x235)](_0x14e665,_0x5214ea))['body'];if(_0x41ed27[_0x4ceb13(0x2ab)]&&_0x41ed27[_0x4ceb13(0x2ab)][_0x4ceb13(0x254)]!==l['ErrorCode']['OK'])throw Error(this[_0x4ceb13(0x2b9)](_0x4ceb13(0x1f4),_0x41ed27[_0x4ceb13(0x2ab)]));return _0x41ed27;}catch(_0x32d42c){throw _0x32d42c instanceof Error?_0x32d42c:Error(this[_0x4ceb13(0x179)](_0x4ceb13(0x1f4),_0x32d42c));}}async[_0x2f25fe(0x212)](_0x1b3629){const _0x835e4b=_0x2f25fe;let {fileID:_0x1bac42,type:_0x2aa9d0,outputType:_0x463879,minSheetColumnCount:_0x90d1ae,minSheetRowCount:_0x264062}=_0x1b3629;try{let _0x358715=P(this[_0x835e4b(0x229)](),''+_0x2aa9d0),_0xf2751c={'body':{'fileID':_0x1bac42,'outputType':_0x463879,'minSheetColumnCount':_0x90d1ae,'minSheetRowCount':_0x264062}},_0x306b47=(await this[_0x835e4b(0x1c4)][_0x835e4b(0x235)](_0x358715,_0xf2751c))[_0x835e4b(0x210)];return _0x306b47['error']&&_0x306b47[_0x835e4b(0x2ab)][_0x835e4b(0x254)]!==l[_0x835e4b(0x27d)]['OK']?void 0x0:_0x306b47;}catch{return;}}async['export'](_0x9d23bc){const _0x37e094=_0x2f25fe;let {unitID:_0x572539,jsonID:_0x30524e,type:_0x2bf8e4,sscSwitch:_0x19a350,useImageUrl:_0x189b78,ignoreTableExport:_0x32af00}=_0x9d23bc;try{let _0xeb3c0f=P(this['_getExportURL'](),''+_0x2bf8e4),_0x52a739={'body':{'unitID':_0x572539,'jsonID':_0x30524e,'type':_0x2bf8e4,'sscSwitch':_0x19a350,'useImageUrl':_0x189b78,'ignoreTableExport':_0x32af00}},_0x491c4b=(await this['_httpService'][_0x37e094(0x235)](_0xeb3c0f,_0x52a739))[_0x37e094(0x210)];return _0x491c4b['error']&&_0x491c4b[_0x37e094(0x2ab)][_0x37e094(0x254)]!==l[_0x37e094(0x27d)]['OK']?void 0x0:_0x491c4b;}catch{return;}}async[_0x2f25fe(0x220)](_0x5a58a2){return new Promise((_0x56de99,_0x2bd032)=>{const _0x5264d5=_0x1739;try{let _0xd898f7=0x0,_0x1c9fdd=oe(this[_0x5264d5(0x292)](),''+_0x5a58a2),_0x21fe16=this[_0x5264d5(0x15c)](),_0x43fa26=async()=>{const _0x5af956=_0x5264d5;if(this['_taskInterrupted'][_0x5af956(0x18b)](_0x5a58a2))return;let _0x39f3e4=(await this[_0x5af956(0x1c4)][_0x5af956(0x1f6)](_0x1c9fdd))[_0x5af956(0x210)];if(_0x39f3e4[_0x5af956(0x2ab)]&&_0x39f3e4[_0x5af956(0x2ab)]['code']===l[_0x5af956(0x27d)]['OK']){if(_0x39f3e4[_0x5af956(0x13b)]===_0x5af956(0x136))_0x56de99(_0x39f3e4);else{if(_0x39f3e4['status']==='pending'){let _0x4c0cd4=0x3e8;if(_0xd898f7>=_0x21fe16){_0x2bd032(_0x39f3e4);return;}else _0xd898f7>=0x7530&&(_0x4c0cd4=0x1388);_0xd898f7+=_0x4c0cd4,setTimeout(_0x43fa26,_0x4c0cd4);}else _0x2bd032(_0x39f3e4);}}else _0x2bd032(_0x39f3e4);};_0x43fa26();}catch(_0x1c3cae){_0x2bd032(_0x1c3cae instanceof Error?_0x1c3cae:Error(String(_0x1c3cae)));}});}async[_0x2f25fe(0x299)](_0x2bfaf8){const _0x30afcf=_0x2f25fe;try{let _0xf86e4e=se(this[_0x30afcf(0x14d)](),''+_0x2bfaf8);return(await this[_0x30afcf(0x1c4)][_0x30afcf(0x1f6)](_0xf86e4e))[_0x30afcf(0x210)];}catch{return;}}async['getTextFromUrl'](_0x34dd94){const _0x33ceed=_0x2f25fe;try{return(await this['_httpService'][_0x33ceed(0x1f6)](_0x34dd94,{'responseType':'text'}))[_0x33ceed(0x210)];}catch{return;}}[_0x2f25fe(0x2b9)](_0x149397,_0x2cf38d){const _0x21263c=_0x2f25fe;let _0x106d6b=this[_0x21263c(0x138)](_0x2cf38d);return _0x106d6b?_0x149397+':\x20'+_0x106d6b:_0x149397;}['_buildHttpErrorMessage'](_0x1a8060,_0x269ce8){const _0xb0f91=_0x2f25fe;if(_0x269ce8 instanceof n[_0xb0f91(0x239)]){let _0x5a2584=typeof _0x269ce8['status']=='number'?''+_0x269ce8[_0xb0f91(0x13b)]+(_0x269ce8[_0xb0f91(0x152)]?'\x20'+_0x269ce8[_0xb0f91(0x152)]:''):void 0x0,_0x491cd2=this['_extractErrorDetail'](_0x269ce8[_0xb0f91(0x2ab)]);return _0x5a2584&&_0x491cd2?_0x1a8060+_0xb0f91(0x1c7)+_0x5a2584+_0xb0f91(0x1d1)+_0x491cd2:_0x5a2584?_0x1a8060+_0xb0f91(0x1c7)+_0x5a2584:_0x491cd2?_0x1a8060+':\x20'+_0x491cd2:_0x1a8060;}let _0x54ed6f=this[_0xb0f91(0x138)](_0x269ce8);return _0x54ed6f?_0x1a8060+':\x20'+_0x54ed6f:_0x1a8060;}['_extractErrorDetail'](_0x48450c){const _0x42d0a7=_0x2f25fe;if(typeof _0x48450c=='string'){let _0x3767be=_0x48450c[_0x42d0a7(0x176)]();return _0x3767be[_0x42d0a7(0x14b)]>0x0?_0x3767be:void 0x0;}if(_0x48450c instanceof Error)return this['_extractErrorDetail'](_0x48450c[_0x42d0a7(0x255)]);if(!_0x48450c||typeof _0x48450c!='object'||Array['isArray'](_0x48450c))return;let _0x5a4240=_0x48450c,_0x249a70=this[_0x42d0a7(0x138)](_0x5a4240[_0x42d0a7(0x255)]);if(_0x249a70)return _0x249a70;if(_0x5a4240[_0x42d0a7(0x2ab)]&&typeof _0x5a4240[_0x42d0a7(0x2ab)]==_0x42d0a7(0x18d)&&!Array[_0x42d0a7(0x17a)](_0x5a4240[_0x42d0a7(0x2ab)])){let _0x4a887f=this[_0x42d0a7(0x138)](_0x5a4240['error']);if(_0x4a887f)return _0x4a887f;}}[_0x2f25fe(0x19d)](){const _0x2bbc4d=_0x2f25fe;var _0x467a5f;let _0x350f2f=this[_0x2bbc4d(0x2b7)][_0x2bbc4d(0x155)](f);return(_0x467a5f=_0x350f2f==null?void 0x0:_0x350f2f['uploadFileServerUrl'])==null?_0x2bbc4d(0x146):_0x467a5f;}['_getImportURL'](){const _0x13c965=_0x2f25fe;var _0x171003;let _0xdde5f7=this[_0x13c965(0x2b7)][_0x13c965(0x155)](f);return(_0x171003=_0xdde5f7==null?void 0x0:_0xdde5f7[_0x13c965(0x28e)])==null?_0x13c965(0x231):_0x171003;}[_0x2f25fe(0x161)](){const _0xe38c8d=_0x2f25fe;var _0x37d110;let _0x309a69=this['_configService'][_0xe38c8d(0x155)](f);return(_0x37d110=_0x309a69==null?void 0x0:_0x309a69['exportServerUrl'])==null?_0xe38c8d(0x26f):_0x37d110;}['_getTaskURL'](){const _0x539b72=_0x2f25fe;var _0xb2f73a;let _0x4dd556=this[_0x539b72(0x2b7)]['getConfig'](f);return(_0xb2f73a=_0x4dd556==null?void 0x0:_0x4dd556[_0x539b72(0x15a)])==null?_0x539b72(0x267):_0xb2f73a;}[_0x2f25fe(0x14d)](){const _0x3ce6af=_0x2f25fe;var _0x32dcc5;let _0x52517c=this[_0x3ce6af(0x2b7)]['getConfig'](f);return(_0x32dcc5=_0x52517c==null?void 0x0:_0x52517c[_0x3ce6af(0x13a)])==null?'/universer-api/file/{fileID}/sign-url':_0x32dcc5;}[_0x2f25fe(0x15c)](){const _0x49f776=_0x2f25fe;var _0x53e7c3;let _0x3277ed=this[_0x49f776(0x2b7)][_0x49f776(0x155)](f);return(_0x53e7c3=_0x3277ed==null?void 0x0:_0x3277ed[_0x49f776(0x183)])==null?0x1d4c0:_0x53e7c3;}};R=I([F(0x0,t['IConfigService']),F(0x1,(0x0,t[_0x2f25fe(0x279)])(n[_0x2f25fe(0x14c)]))],R);function ce(_0x509722){const _0x4cc0db=_0x2f25fe;let _0x3e08b0=_0x509722[_0x4cc0db(0x28a)];if(!_0x3e08b0)return null;let _0x210c69={};_0x3e08b0['sheets']&&Object[_0x4cc0db(0x276)](_0x3e08b0[_0x4cc0db(0x22b)])['forEach'](_0x5106f4=>{const _0x5e1034=_0x4cc0db;let _0xd14b5=_0x3e08b0[_0x5e1034(0x22b)][_0x5106f4];_0x210c69[_0x5106f4]={..._0xd14b5,'originalMeta':(0x0,u[_0x5e1034(0x1d8)])(u[_0x5e1034(0x275)][_0x5e1034(0x246)](_0xd14b5[_0x5e1034(0x284)]))};});let _0x3ab418=(0x0,u[_0x4cc0db(0x1d8)])(u[_0x4cc0db(0x275)][_0x4cc0db(0x246)](_0x3e08b0['originalMeta']));return{..._0x509722,'workbook':{..._0x3e08b0,'originalMeta':_0x3ab418,'sheets':_0x210c69},'doc':{}};}function le(_0x793d1b){const _0x750c14=_0x2f25fe;let _0x169a4e=_0x793d1b[_0x750c14(0x1c2)];if(!_0x169a4e)return null;let _0x25a73b=(0x0,u[_0x750c14(0x1d8)])(u[_0x750c14(0x275)]['decode'](_0x169a4e[_0x750c14(0x284)]));return{..._0x793d1b,'workbook':{},'doc':{..._0x169a4e,'originalMeta':_0x25a73b}};}function ue(_0x58bd27){const _0xec950b=_0x2f25fe;let _0x412611={};return _0x58bd27[_0xec950b(0x159)](_0x3200cc=>{const _0x13da0c=_0xec950b;_0x412611[_0x3200cc['id']]={..._0x3200cc,'data':(0x0,u[_0x13da0c(0x1d8)])(u[_0x13da0c(0x275)]['decode'](_0x3200cc[_0x13da0c(0x20c)]))};}),_0x412611;}async function z(_0xfe069c){const _0x3ea080=_0x2f25fe;var _0x5705ef;let _0x20dc59={'metadata':void 0x0},_0x3c705c=_0xfe069c['id'],_0x25f1e6=(_0x5705ef=_0xfe069c[_0x3ea080(0x23b)])==null?0x0:_0x5705ef,_0x27360e=new U(),{snapshot:_0x3ec36}=await(0x0,u[_0x3ea080(0x2ae)])(_0x20dc59,_0xfe069c,_0x3c705c,_0x25f1e6,_0x27360e),_0x1fdb8e=await(0x0,u[_0x3ea080(0x13f)])(_0x3ec36,_0x27360e),_0x54b3c8=ce(_0x3ec36);if(!_0x54b3c8)throw Error(_0x3ea080(0x21a));return{'snapshot':_0x54b3c8,'sheetBlocks':ue(_0x1fdb8e)};}async function B(_0x40fec8){const _0x2614ee=_0x2f25fe;var _0x11135d;let _0x25b8ad={'metadata':void 0x0},_0x256389=_0x40fec8['id'],{snapshot:_0x4eec48}=await(0x0,u['transformDocumentDataToSnapshot'])(_0x25b8ad,_0x40fec8,_0x256389,(_0x11135d=_0x40fec8['rev'])==null?0x0:_0x11135d,new U()),_0xb54e1d=le(_0x4eec48);if(!_0xb54e1d)throw Error(_0x2614ee(0x21a));return{'snapshot':_0xb54e1d,'sheetBlocks':{}};}async function V(_0x44d05c){const _0x2b36ec=_0x2f25fe;let _0x1f206d=_0x44d05c[_0x2b36ec(0x20a)],_0x41db09=_0x44d05c[_0x2b36ec(0x193)]||{};return await(0x0,u['transformSnapshotToWorkbookData'])(_0x1f206d,Object[_0x2b36ec(0x276)](_0x41db09)['map'](_0x3e2c32=>_0x41db09[_0x3e2c32])[_0x2b36ec(0x26c)](_0x4a7eee=>({..._0x4a7eee,'data':_0x4a7eee['data']?JSON[_0x2b36ec(0x192)]((0x0,u[_0x2b36ec(0x1f8)])(_0x4a7eee['data'])):void 0x0})));}function H(_0x4dc454){const _0x4ee8b3=_0x2f25fe;let _0x1896f0=_0x4dc454[_0x4ee8b3(0x20a)];return(0x0,u[_0x4ee8b3(0x208)])(_0x1896f0);}var U=class{constructor(){const _0x6f8270=_0x2f25fe;_(this,_0x6f8270(0x17f),new Map());}[_0x2f25fe(0x162)](){const _0x400ad3=_0x2f25fe;return Promise['resolve']({'snapshot':{'unitID':'','type':t[_0x400ad3(0x24e)][_0x400ad3(0x1af)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':l[_0x400ad3(0x27d)]['OK'],'message':''}});}[_0x2f25fe(0x170)](_0x3b88b3,_0x5a7ec2){const _0x5610ad=_0x2f25fe;let _0x3839e3=this['_sheetBlockCache'][_0x5610ad(0x1f6)](_0x5a7ec2[_0x5610ad(0x1bf)]);return Promise[_0x5610ad(0x1dd)]({'block':_0x3839e3,'error':{'code':l[_0x5610ad(0x27d)]['OK'],'message':''}});}[_0x2f25fe(0x149)](_0x2df98f,_0x4a5038){const _0x54da7f=_0x2f25fe;let _0x2b3d60=this[_0x54da7f(0x17f)][_0x54da7f(0x1f6)](_0x4a5038['blockID']);return Promise[_0x54da7f(0x1dd)]({'block':_0x2b3d60===void 0x0?void 0x0:{..._0x2b3d60,'data':JSON[_0x54da7f(0x192)](u['textDecoder']['decode'](_0x2b3d60[_0x54da7f(0x20c)]))},'error':{'code':l[_0x54da7f(0x27d)]['OK'],'message':''}});}[_0x2f25fe(0x1a7)](){const _0x2bce99=_0x2f25fe;return Promise['resolve']({'changesets':[],'error':{'code':l[_0x2bce99(0x27d)]['OK'],'message':''}});}[_0x2f25fe(0x1d5)](){const _0x3d3005=_0x2f25fe;return Promise[_0x3d3005(0x1dd)]({'resources':{},'error':{'code':l[_0x3d3005(0x27d)]['OK'],'message':''}});}['saveSnapshot'](){const _0xe3b27a=_0x2f25fe;return Promise[_0xe3b27a(0x1dd)]({'error':{'code':l[_0xe3b27a(0x27d)]['OK'],'message':''}});}[_0x2f25fe(0x213)](){const _0x581fd5=_0x2f25fe;return Promise[_0x581fd5(0x1dd)]({'error':{'code':l[_0x581fd5(0x27d)]['OK'],'message':''}});}[_0x2f25fe(0x200)](_0x21b19e,_0x31aa72){const _0x476b38=_0x2f25fe;let {block:_0x3ef0c8}=_0x31aa72;return _0x3ef0c8?(this[_0x476b38(0x17f)][_0x476b38(0x252)](_0x3ef0c8['id'],_0x3ef0c8),Promise[_0x476b38(0x1dd)]({'error':{'code':l[_0x476b38(0x27d)]['OK'],'message':''},'blockID':_0x3ef0c8['id']})):Promise['resolve']({'error':{'code':l[_0x476b38(0x27d)][_0x476b38(0x195)],'message':_0x476b38(0x172)},'blockID':''});}[_0x2f25fe(0x1c1)](){const _0x3bb5bf=_0x2f25fe;return Promise[_0x3bb5bf(0x1dd)]({'error':{'code':l['ErrorCode']['OK'],'message':''},'concurrent':[]});}[_0x2f25fe(0x227)](){const _0x4234cd=_0x2f25fe;return Promise[_0x4234cd(0x1dd)]({'error':void 0x0,'fileMetaId':''});}[_0x2f25fe(0x1bd)](){const _0x5a8dd7=_0x2f25fe;return Promise[_0x5a8dd7(0x1dd)]({'error':void 0x0,'latestReqID':0x0});}};const W=(0x0,t['createIdentifier'])(_0x2f25fe(0x23f));let G=class extends t['Disposable']{constructor(_0x314097,_0x328b72,_0xd1fd63){const _0x500d70=_0x2f25fe;super(),this[_0x500d70(0x2b7)]=_0x314097,this[_0x500d70(0x1c4)]=_0x328b72,this[_0x500d70(0x205)]=_0xd1fd63,_(this,'_importTaskId',null),_(this,_0x500d70(0x21d),new o[(_0x500d70(0x2b8))]()),_(this,_0x500d70(0x1fa),this[_0x500d70(0x21d)]['asObservable']());}[_0x2f25fe(0x1d3)](){const _0x6fdb=_0x2f25fe;super[_0x6fdb(0x1d3)](),this['_requestState$'][_0x6fdb(0x1d4)]();}async[_0x2f25fe(0x1d7)](_0x5a3592){const _0x179e2f=_0x2f25fe;let _0x5263c2=await this[_0x179e2f(0x233)](_0x5a3592,t[_0x179e2f(0x24e)][_0x179e2f(0x16e)]);if(!_0x5263c2||!_0x5263c2['snapshot'])return;let _0x31eb7c=H(_0x5263c2);if(_0x31eb7c)return _0x31eb7c;}async['exportDOCXByUnitId'](_0xc89945){const _0x344d98=_0x2f25fe;return this[_0x344d98(0x2b5)](_0xc89945,0x1,t[_0x344d98(0x24e)]['UNIVER_DOC']);}async[_0x2f25fe(0x167)](_0x214f5a){const _0x325137=_0x2f25fe;let _0x5d2b57=await B(_0x214f5a);return this[_0x325137(0x2b2)](_0x5d2b57,t[_0x325137(0x24e)][_0x325137(0x16e)]);}async[_0x2f25fe(0x1f7)](_0x41d775){const _0x32df8c=_0x2f25fe;let _0xbbec96=await this[_0x32df8c(0x233)](_0x41d775,t[_0x32df8c(0x24e)][_0x32df8c(0x1af)]);if(!_0xbbec96)return;let _0x4bc360=await V(_0xbbec96);if(_0x4bc360)return _0x4bc360;}async['exportXLSXByUnitId'](_0x2124be){const _0xc0630a=_0x2f25fe;return this['_export'](_0x2124be,0x1,t['UniverInstanceType'][_0xc0630a(0x1af)]);}async[_0x2f25fe(0x180)](_0x34adaf){const _0x424dfd=_0x2f25fe;let _0x598ab1=await z(_0x34adaf);return this[_0x424dfd(0x2b2)](_0x598ab1,t[_0x424dfd(0x24e)][_0x424dfd(0x1af)]);}async[_0x2f25fe(0x250)](_0x49b446,_0x231f61){const _0x5cd21d=_0x2f25fe;var _0x44233d,_0x25c176;let _0x3f3244=await this[_0x5cd21d(0x1fc)](_0x49b446);if(!_0x3f3244)return;let _0x3e787f=await this[_0x5cd21d(0x29d)](_0x3f3244,0x1,_0x231f61);if(!_0x3e787f)return;this[_0x5cd21d(0x1ab)]=_0x3e787f,this[_0x5cd21d(0x205)][_0x5cd21d(0x219)]();let _0x2e473a=await this[_0x5cd21d(0x205)][_0x5cd21d(0x220)](_0x3e787f)[_0x5cd21d(0x2a7)](_0x4335ad=>{const _0x4a0ce8=_0x5cd21d;var _0x49348e;let _0x413606=_0x4335ad instanceof Error?_0x4335ad[_0x4a0ce8(0x255)]:(_0x49348e=_0x4335ad[_0x4a0ce8(0x2ab)])==null?void 0x0:_0x49348e['message'];this[_0x4a0ce8(0x21d)]['next']({'error':{'code':l['ErrorCode'][_0x4a0ce8(0x1fd)],'message':_0x413606||''},'state':0x3});});if(!_0x2e473a)return;let _0x109910=(_0x44233d=_0x2e473a[_0x5cd21d(0x212)])==null?void 0x0:_0x44233d[_0x5cd21d(0x285)],_0x464c08=((_0x25c176=_0x2e473a[_0x5cd21d(0x212)])==null?void 0x0:_0x25c176[_0x5cd21d(0x202)])||'';if(_0x109910!==0x1){this[_0x5cd21d(0x21d)][_0x5cd21d(0x1a2)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x464c08['length']===0x0){this[_0x5cd21d(0x21d)][_0x5cd21d(0x1a2)]({'error':{'code':l['ErrorCode'][_0x5cd21d(0x1fd)],'message':_0x5cd21d(0x222)},'state':0x3});return;}return this['_requestState$']['next']({'error':_0x2e473a[_0x5cd21d(0x2ab)],'state':0x3}),_0x464c08;}async[_0x2f25fe(0x145)](_0x58f545){const _0x29364e=_0x2f25fe;let _0x29273e=await z(_0x58f545),_0x331569=typeof _0x58f545['id']=='string'&&_0x58f545['id'][_0x29364e(0x176)]()?_0x58f545['id'][_0x29364e(0x176)]()+_0x29364e(0x16f):'workbook.json',_0x3dc3fc=new File([JSON[_0x29364e(0x13d)](_0x29273e)],_0x331569,{'type':'application/json'});return this[_0x29364e(0x250)](_0x3dc3fc,t['UniverInstanceType']['UNIVER_SHEET']);}[_0x2f25fe(0x13c)](){const _0x45364c=_0x2f25fe;this[_0x45364c(0x1ab)]&&this[_0x45364c(0x205)]['setTaskInterrupted'](this['_importTaskId']);}async[_0x2f25fe(0x233)](_0x4111d7,_0x367288){const _0x156e96=_0x2f25fe;var _0x438c6a,_0x5ae081;let _0x36d7af=await this['_upload'](_0x4111d7);if(!_0x36d7af)return;let _0x39521b=await this[_0x156e96(0x29d)](_0x36d7af,0x2,_0x367288);if(!_0x39521b)return;this['_importTaskId']=_0x39521b,this['_requestService'][_0x156e96(0x219)]();let _0x3b43ac=await this['_requestService'][_0x156e96(0x220)](_0x39521b)[_0x156e96(0x2a7)](_0x95f17=>{const _0x4fbe9d=_0x156e96;var _0x408de3;let _0x22519d=_0x95f17 instanceof Error?_0x95f17[_0x4fbe9d(0x255)]:(_0x408de3=_0x95f17[_0x4fbe9d(0x2ab)])==null?void 0x0:_0x408de3[_0x4fbe9d(0x255)];this['_requestState$']['next']({'error':{'code':l[_0x4fbe9d(0x27d)][_0x4fbe9d(0x1fd)],'message':_0x22519d||''},'state':0x3});});if(!_0x3b43ac)return;let _0x3efdde=(_0x438c6a=_0x3b43ac[_0x156e96(0x212)])==null?void 0x0:_0x438c6a[_0x156e96(0x285)],_0x408d50=((_0x5ae081=_0x3b43ac[_0x156e96(0x212)])==null?void 0x0:_0x5ae081[_0x156e96(0x1bc)])||'';if(_0x3efdde!==0x2){this[_0x156e96(0x21d)][_0x156e96(0x1a2)]({'error':{'code':l[_0x156e96(0x27d)][_0x156e96(0x1fd)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x408d50[_0x156e96(0x14b)]===0x0){this[_0x156e96(0x21d)][_0x156e96(0x1a2)]({'error':{'code':l[_0x156e96(0x27d)][_0x156e96(0x1fd)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':0x3});return;}this['_requestState$']['next']({'error':_0x3b43ac['error'],'state':0x3});let _0x2b07b1=await this['_signUrl'](_0x408d50);if(!_0x2b07b1)return;let _0x13edff=await this[_0x156e96(0x205)][_0x156e96(0x203)](_0x2b07b1);if(!_0x13edff){this['_requestState$'][_0x156e96(0x1a2)]({'error':{'code':l[_0x156e96(0x27d)][_0x156e96(0x1fd)],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x2f6138=JSON[_0x156e96(0x192)](_0x13edff);return this[_0x156e96(0x21d)]['next']({'error':{'code':l[_0x156e96(0x27d)]['OK'],'message':_0x156e96(0x1da)},'state':0x5}),_0x2f6138;}catch{this[_0x156e96(0x21d)][_0x156e96(0x1a2)]({'error':{'code':l[_0x156e96(0x27d)]['UNRECOGNIZED'],'message':_0x156e96(0x1f1)},'state':0x5});}}async[_0x2f25fe(0x2b2)](_0x334d32,_0x147c9e){const _0x127248=_0x2f25fe;let _0x17220c=JSON[_0x127248(0x13d)](_0x334d32),_0x49a39e=u[_0x127248(0x1a6)][_0x127248(0x25c)](_0x17220c),_0x272ebf=(0x0,d[_0x127248(0x1e8)])(_0x49a39e),_0x4b64a8=_0x49a39e[_0x127248(0x14b)],_0x1d8277=N(_0x272ebf),_0x90f97a=await this['_upload'](_0x1d8277,_0x4b64a8,!0x0);if(_0x90f97a)return this[_0x127248(0x2b5)](_0x90f97a,0x2,_0x147c9e);}async['_export'](_0x3dc820,_0x44eb5c,_0x579b7f){const _0x4fc757=_0x2f25fe;var _0x2b9fab;let _0x13d064=await this['_requestService'][_0x4fc757(0x185)]({'unitID':_0x44eb5c===0x1?_0x3dc820:'','jsonID':_0x44eb5c===0x2?_0x3dc820:'','type':_0x579b7f,'sscSwitch':this[_0x4fc757(0x1ba)](),'useImageUrl':this[_0x4fc757(0x260)](),'ignoreTableExport':this[_0x4fc757(0x1f2)]()});if(!_0x13d064){this['_requestState$'][_0x4fc757(0x1a2)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x4fc757(0x2af)},'state':0x2});return;}if(this[_0x4fc757(0x21d)][_0x4fc757(0x1a2)]({'error':_0x13d064[_0x4fc757(0x2ab)],'state':0x2}),_0x13d064[_0x4fc757(0x2ab)]&&_0x13d064['error'][_0x4fc757(0x254)]!==l[_0x4fc757(0x27d)]['OK'])return;let _0x2e9337=_0x13d064[_0x4fc757(0x17d)],_0x29b7c8=await this[_0x4fc757(0x205)]['getTask'](_0x2e9337)[_0x4fc757(0x2a7)](_0x43ca73=>{const _0x1a5239=_0x4fc757;var _0x5cdf62;let _0x9e3d4=_0x43ca73 instanceof Error?_0x43ca73[_0x1a5239(0x255)]:(_0x5cdf62=_0x43ca73[_0x1a5239(0x2ab)])==null?void 0x0:_0x5cdf62[_0x1a5239(0x255)];this[_0x1a5239(0x21d)][_0x1a5239(0x1a2)]({'error':{'code':l[_0x1a5239(0x27d)][_0x1a5239(0x1fd)],'message':_0x9e3d4||''},'state':0x3});});if(!_0x29b7c8)return;let _0x49ad43=((_0x2b9fab=_0x29b7c8[_0x4fc757(0x185)])==null?void 0x0:_0x2b9fab[_0x4fc757(0x23d)])||'';if(_0x49ad43[_0x4fc757(0x14b)]===0x0){this[_0x4fc757(0x21d)][_0x4fc757(0x1a2)]({'error':{'code':l[_0x4fc757(0x27d)][_0x4fc757(0x1fd)],'message':_0x4fc757(0x2a8)},'state':0x3});return;}this['_requestState$']['next']({'error':_0x29b7c8[_0x4fc757(0x2ab)],'state':0x3});let _0xdaf731=await this['_signUrl'](_0x49ad43);if(!_0xdaf731)return;let _0xc69a5f=await j(_0xdaf731,this[_0x4fc757(0x1c4)]);if(!_0xc69a5f){this[_0x4fc757(0x21d)][_0x4fc757(0x1a2)]({'error':{'code':l[_0x4fc757(0x27d)]['UNRECOGNIZED'],'message':_0x4fc757(0x211)},'state':0x6});return;}return this[_0x4fc757(0x21d)][_0x4fc757(0x1a2)]({'error':{'code':l[_0x4fc757(0x27d)]['OK'],'message':_0x4fc757(0x1da)},'state':0x6}),_0xc69a5f;}async[_0x2f25fe(0x1fc)](_0x57a018,_0x140f63,_0x5b6447){const _0x37c606=_0x2f25fe;let _0x2f307b;try{_0x2f307b=await this[_0x37c606(0x205)][_0x37c606(0x22d)](_0x57a018,_0x140f63,_0x5b6447);}catch(_0x21f1a1){let _0x5bb956=_0x21f1a1 instanceof Error?_0x21f1a1[_0x37c606(0x255)]:String(_0x21f1a1);this['_requestState$']['next']({'error':{'code':l[_0x37c606(0x27d)]['UNRECOGNIZED'],'message':_0x5bb956},'state':0x0});return;}if(!_0x2f307b||typeof _0x2f307b['FileId']!=_0x37c606(0x16c)){this[_0x37c606(0x21d)][_0x37c606(0x1a2)]({'error':{'code':l['ErrorCode'][_0x37c606(0x1fd)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x39829f=_0x2f307b[_0x37c606(0x190)];if(_0x39829f[_0x37c606(0x14b)]===0x0){this['_requestState$'][_0x37c606(0x1a2)]({'error':{'code':l[_0x37c606(0x27d)][_0x37c606(0x1fd)],'message':_0x37c606(0x1ff)},'state':0x0});return;}return this[_0x37c606(0x21d)]['next']({'error':{'code':l['ErrorCode']['OK'],'message':_0x37c606(0x1da)},'state':0x0}),_0x39829f;}async[_0x2f25fe(0x29d)](_0x65588,_0x4a5a50,_0x424c63){const _0x4e2168=_0x2f25fe;let _0x14ac95={'fileID':_0x65588,'type':_0x424c63,'outputType':_0x4a5a50,'fileUrl':'','minSheetRowCount':this[_0x4e2168(0x19a)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x1e4dfb=await this[_0x4e2168(0x205)][_0x4e2168(0x212)](_0x14ac95);if(!_0x1e4dfb){this['_requestState$'][_0x4e2168(0x1a2)]({'error':{'code':l[_0x4e2168(0x27d)][_0x4e2168(0x1fd)],'message':_0x4e2168(0x166)},'state':0x1});return;}if(_0x1e4dfb[_0x4e2168(0x2ab)]&&_0x1e4dfb[_0x4e2168(0x2ab)][_0x4e2168(0x254)]!==l[_0x4e2168(0x27d)]['OK']){this['_requestState$']['next']({'error':_0x1e4dfb[_0x4e2168(0x2ab)],'state':0x1});return;}let _0x241be2=_0x1e4dfb[_0x4e2168(0x17d)];if(_0x241be2['length']===0x0){this[_0x4e2168(0x21d)][_0x4e2168(0x1a2)]({'error':{'code':l[_0x4e2168(0x27d)]['UNRECOGNIZED'],'message':_0x4e2168(0x1b4)},'state':0x1});return;}return this[_0x4e2168(0x21d)][_0x4e2168(0x1a2)]({'error':_0x1e4dfb['error'],'state':0x1}),_0x241be2;}async[_0x2f25fe(0x1f5)](_0x1138b9){const _0x570764=_0x2f25fe;let _0x23b7ee=await this[_0x570764(0x205)][_0x570764(0x299)](_0x1138b9);if(!_0x23b7ee){this['_requestState$']['next']({'error':{'code':l[_0x570764(0x27d)]['UNRECOGNIZED'],'message':_0x570764(0x296)},'state':0x4});return;}if(_0x23b7ee[_0x570764(0x2ab)]&&_0x23b7ee[_0x570764(0x2ab)]['code']!==l[_0x570764(0x27d)]['OK']){this[_0x570764(0x21d)][_0x570764(0x1a2)]({'error':_0x23b7ee[_0x570764(0x2ab)],'state':0x4});return;}let _0x277449=(0x0,t['resolveWithBasePath'])(_0x23b7ee[_0x570764(0x1f0)],this[_0x570764(0x257)]());if(_0x277449[_0x570764(0x14b)]===0x0){this[_0x570764(0x21d)]['next']({'error':{'code':l[_0x570764(0x27d)][_0x570764(0x1fd)],'message':'sign\x20url\x20error'},'state':0x4});return;}return this[_0x570764(0x21d)][_0x570764(0x1a2)]({'error':_0x23b7ee[_0x570764(0x2ab)],'state':0x4}),_0x277449;}[_0x2f25fe(0x257)](){const _0x2d6e9b=_0x2f25fe;var _0x1665b0;let _0x1b71b0=this[_0x2d6e9b(0x2b7)][_0x2d6e9b(0x155)](f);return(_0x1665b0=_0x1b71b0==null?void 0x0:_0x1b71b0[_0x2d6e9b(0x288)])==null?location[_0x2d6e9b(0x18f)]:_0x1665b0;}['_getMinSheetRowCount'](){const _0x518923=_0x2f25fe;var _0x455027,_0x5cd7e8;let _0xf1e984=this[_0x518923(0x2b7)]['getConfig'](f);return(_0x455027=_0xf1e984==null||(_0x5cd7e8=_0xf1e984['options'])==null?void 0x0:_0x5cd7e8[_0x518923(0x297)])==null?0x1:_0x455027;}[_0x2f25fe(0x2aa)](){const _0x4c0c91=_0x2f25fe;var _0x3175e1,_0x4fa9f7;let _0x1a9948=this['_configService'][_0x4c0c91(0x155)](f);return(_0x3175e1=_0x1a9948==null||(_0x4fa9f7=_0x1a9948[_0x4c0c91(0x20f)])==null?void 0x0:_0x4fa9f7[_0x4c0c91(0x262)])==null?0x1:_0x3175e1;}['_getEnableServerSideComputing'](){const _0x31b7a2=_0x2f25fe;var _0xd2ed53,_0x5f1cea;let _0x57f65b=this[_0x31b7a2(0x2b7)]['getConfig'](f);return(_0xd2ed53=_0x57f65b==null||(_0x5f1cea=_0x57f65b[_0x31b7a2(0x20f)])==null?void 0x0:_0x5f1cea[_0x31b7a2(0x16a)])==null?!0x1:_0xd2ed53;}[_0x2f25fe(0x260)](){const _0xc9e309=_0x2f25fe;var _0x291637,_0x5aeb52;let _0x33096c=this['_configService']['getConfig'](f);return(_0x291637=_0x33096c==null||(_0x5aeb52=_0x33096c[_0xc9e309(0x20f)])==null?void 0x0:_0x5aeb52[_0xc9e309(0x261)])==null?!0x0:_0x291637;}['_getIgnoreTableExport'](){const _0x295b4d=_0x2f25fe;var _0x2bb419,_0x21b440;let _0x5b9075=this['_configService'][_0x295b4d(0x155)](f);return(_0x2bb419=_0x5b9075==null||(_0x21b440=_0x5b9075[_0x295b4d(0x20f)])==null?void 0x0:_0x21b440[_0x295b4d(0x2a6)])==null?!0x1:_0x2bb419;}};G=I([F(0x0,t['IConfigService']),F(0x1,(0x0,t[_0x2f25fe(0x279)])(n[_0x2f25fe(0x14c)])),F(0x2,(0x0,t['Inject'])(L))],G);const de={'done':0x0,'count':0x0},K=(0x0,t[_0x2f25fe(0x20d)])(_0x2f25fe(0x2a5));let q=class extends t[_0x2f25fe(0x22a)]{constructor(_0x31b21c,_0x6144f5,_0x91dd45,_0x152c58,_0x3e81b5,_0x54d176){const _0x2653c6=_0x2f25fe;super(),this[_0x2653c6(0x237)]=_0x31b21c,this[_0x2653c6(0x21c)]=_0x6144f5,this[_0x2653c6(0x2ac)]=_0x91dd45,this['_exchangeService']=_0x152c58,this[_0x2653c6(0x298)]=_0x3e81b5,this[_0x2653c6(0x1b3)]=_0x54d176,_(this,_0x2653c6(0x22e),new o['BehaviorSubject'](de)),_(this,_0x2653c6(0x19f),this[_0x2653c6(0x22e)][_0x2653c6(0x29c)]()),_(this,'_totalUploadTaskCount',0x0),_(this,_0x2653c6(0x187),0x0),this[_0x2653c6(0x286)]((0x0,t[_0x2653c6(0x25b)])(this[_0x2653c6(0x271)][_0x2653c6(0x1fa)][_0x2653c6(0x224)](_0x5cd79e=>{const _0x3e4f1f=_0x2653c6;var _0x1d3050;((_0x1d3050=_0x5cd79e[_0x3e4f1f(0x2ab)])==null?void 0x0:_0x1d3050[_0x3e4f1f(0x254)])===l[_0x3e4f1f(0x27d)]['OK']?this[_0x3e4f1f(0x228)](0x1):this[_0x3e4f1f(0x27f)](_0x5cd79e[_0x3e4f1f(0x2ab)]);})));}[_0x2f25fe(0x1a8)](){const _0x31be70=_0x2f25fe;this[_0x31be70(0x1b6)](),this[_0x31be70(0x298)][_0x31be70(0x26a)](0x2),this[_0x31be70(0x271)][_0x31be70(0x13c)]();}async['uploadFileToUnitId'](_0x4a3c54){throw Error('Method\x20not\x20implemented.');}async[_0x2f25fe(0x184)](){const _0x1e89ba=_0x2f25fe;let _0x4c34d1=await A([t[_0x1e89ba(0x24e)][_0x1e89ba(0x16e)]]);if(_0x4c34d1&&!this['_fileTypeError'](_0x4c34d1,t['UniverInstanceType'][_0x1e89ba(0x16e)]))return this['_importFileToUnitId'](_0x4c34d1[0x0],t['UniverInstanceType'][_0x1e89ba(0x16e)]);}['importDOCXToSnapshot'](){const _0x4cedf0=_0x2f25fe;throw Error(_0x4cedf0(0x1fb));}async[_0x2f25fe(0x17e)](_0x38735f,_0x138884,_0x1bafe9){const _0x3e8dc5=_0x2f25fe;this[_0x3e8dc5(0x293)](s[_0x3e8dc5(0x214)]['Info']);let _0x4b2dc4=await this[_0x3e8dc5(0x271)]['exportDOCXByUnitId'](_0x38735f||this[_0x3e8dc5(0x186)]());_0x4b2dc4&&(O(_0x4b2dc4,_0x138884||this[_0x3e8dc5(0x156)](_0x4b2dc4),_0x3e8dc5(0x1a0)),this[_0x3e8dc5(0x293)](s[_0x3e8dc5(0x214)][_0x3e8dc5(0x241)]));}async['exportDOCXBySnapshot'](){const _0x53c92f=_0x2f25fe;this[_0x53c92f(0x293)](s[_0x53c92f(0x214)][_0x53c92f(0x2a3)]);let _0x5209d1=await this[_0x53c92f(0x175)](),_0x3962a6=await this[_0x53c92f(0x271)][_0x53c92f(0x167)](_0x5209d1);_0x3962a6&&(O(_0x3962a6,this[_0x53c92f(0x156)](_0x3962a6),_0x53c92f(0x1a0)),this[_0x53c92f(0x293)](s[_0x53c92f(0x214)][_0x53c92f(0x241)]));}async[_0x2f25fe(0x263)](){const _0xe0b946=_0x2f25fe;if(this[_0xe0b946(0x14e)]()){this[_0xe0b946(0x21c)]['show']({'type':s[_0xe0b946(0x214)][_0xe0b946(0x27a)],'content':this[_0xe0b946(0x2ac)]['t'](_0xe0b946(0x273))});return;}let _0x10ec06=await A([t['UniverInstanceType']['UNIVER_SHEET']]);if(_0x10ec06&&!this[_0xe0b946(0x2be)](_0x10ec06,t['UniverInstanceType'][_0xe0b946(0x1af)]))return this[_0xe0b946(0x25a)](_0x10ec06[0x0],t[_0xe0b946(0x24e)]['UNIVER_SHEET']);}async['importXLSXToSnapshot'](){const _0x54eaf0=_0x2f25fe;if(this[_0x54eaf0(0x14e)]()){this[_0x54eaf0(0x21c)]['show']({'type':s[_0x54eaf0(0x214)][_0x54eaf0(0x27a)],'content':this['_localeService']['t'](_0x54eaf0(0x273))});return;}let _0x4d71b3=await A([t[_0x54eaf0(0x24e)][_0x54eaf0(0x1af)]]);if(!_0x4d71b3)return;this[_0x54eaf0(0x13e)](s['MessageType'][_0x54eaf0(0x2a3)]);let _0xe3fc36=await this[_0x54eaf0(0x271)][_0x54eaf0(0x1f7)](_0x4d71b3[0x0]);_0xe3fc36&&(this[_0x54eaf0(0x1ee)](_0xe3fc36),this[_0x54eaf0(0x13e)](s[_0x54eaf0(0x214)][_0x54eaf0(0x241)]));}async[_0x2f25fe(0x248)](_0x4daeb2,_0x14905b,_0x1ba9e4){const _0x42358f=_0x2f25fe;this['_showDownloadMessage'](s[_0x42358f(0x214)][_0x42358f(0x2a3)]);let _0x1d9fef=await this[_0x42358f(0x271)]['exportXLSXByUnitId'](_0x4daeb2||this[_0x42358f(0x139)]());_0x1d9fef&&(O(_0x1d9fef,_0x14905b||this[_0x42358f(0x156)](_0x1d9fef),_0x42358f(0x217)),this['_showDownloadMessage'](s[_0x42358f(0x214)][_0x42358f(0x241)]));}async[_0x2f25fe(0x180)](){const _0x37021c=_0x2f25fe;this[_0x37021c(0x293)](s[_0x37021c(0x214)][_0x37021c(0x2a3)]);let _0x5dcad1=await this[_0x37021c(0x178)](),_0x1b74c6=await this[_0x37021c(0x271)][_0x37021c(0x180)](_0x5dcad1);_0x1b74c6&&(O(_0x1b74c6,this[_0x37021c(0x156)](_0x1b74c6),_0x37021c(0x217)),this['_showDownloadMessage'](s[_0x37021c(0x214)]['Success']));}['registerLink'](_0x4e3753){const _0x36d9fa=_0x2f25fe;this[_0x36d9fa(0x270)]=_0x4e3753;}async['_importFileToUnitId'](_0x485811,_0x5dc0d1){const _0x4d6df4=_0x2f25fe;this[_0x4d6df4(0x298)][_0x4d6df4(0x2ad)](),this['_uploadNotificationService'][_0x4d6df4(0x26a)](0x0),this[_0x4d6df4(0x2a1)](0x4),this[_0x4d6df4(0x228)](0x1);let _0x3d2d54=await this[_0x4d6df4(0x271)][_0x4d6df4(0x250)](_0x485811,_0x5dc0d1);if(!_0x3d2d54){this['_clearProgress'](),this['_uploadNotificationService']['updateState'](0x2);return;}let _0x19a1e3={'link':this[_0x4d6df4(0x270)](_0x3d2d54,_0x5dc0d1),'name':_0x485811[_0x4d6df4(0x25f)],'type':_0x5dc0d1};return this[_0x4d6df4(0x298)][_0x4d6df4(0x28f)](_0x19a1e3),this[_0x4d6df4(0x2b1)](),this['_uploadNotificationService']['updateState'](0x1),_0x3d2d54;}[_0x2f25fe(0x139)](){const _0x1fed66=_0x2f25fe;return this[_0x1fed66(0x237)]['getCurrentUnitOfType'](t['UniverInstanceType'][_0x1fed66(0x1af)])['getUnitId']();}[_0x2f25fe(0x186)](){const _0x2f179a=_0x2f25fe;return this[_0x2f179a(0x237)][_0x2f179a(0x26d)](t['UniverInstanceType'][_0x2f179a(0x16e)])[_0x2f179a(0x137)]();}[_0x2f25fe(0x156)](_0x181f4d){const _0x102a7f=_0x2f25fe;var _0x40706b;return((_0x40706b=this[_0x102a7f(0x237)][_0x102a7f(0x26d)](t['UniverInstanceType'][_0x102a7f(0x1af)]))==null?void 0x0:_0x40706b['name'])||_0x181f4d[_0x102a7f(0x25f)]['split']('.')['shift']()||document[_0x102a7f(0x141)];}async[_0x2f25fe(0x178)](){const _0x4aaa34=_0x2f25fe;return this[_0x4aaa34(0x237)]['getCurrentUnitOfType'](t['UniverInstanceType'][_0x4aaa34(0x1af)])['getSnapshot']();}async[_0x2f25fe(0x175)](){const _0x42b7ff=_0x2f25fe;return this[_0x42b7ff(0x237)][_0x42b7ff(0x26d)](t[_0x42b7ff(0x24e)][_0x42b7ff(0x16e)])[_0x42b7ff(0x1dc)]();}['_getLinkByUnitId'](_0x56bd94,_0x5e3bfc){const _0x310c46=_0x2f25fe;let _0x7c8d46=new URL(window[_0x310c46(0x216)][_0x310c46(0x1b7)]);return _0x7c8d46[_0x310c46(0x221)]['set'](_0x310c46(0x1be),_0x56bd94),_0x7c8d46[_0x310c46(0x221)]['set']('type',''+_0x5e3bfc),_0x7c8d46['toString']();}['_refresh'](_0x96138c){const _0xc201b4=_0x2f25fe;let _0x2420ab=this['_univerInstanceService'][_0xc201b4(0x26d)](t[_0xc201b4(0x24e)][_0xc201b4(0x1af)])[_0xc201b4(0x137)]();this['_univerInstanceService'][_0xc201b4(0x20b)](_0x2420ab),this[_0xc201b4(0x237)][_0xc201b4(0x21e)](t[_0xc201b4(0x24e)][_0xc201b4(0x1af)],_0x96138c);}[_0x2f25fe(0x27f)](_0x25f4d4){const _0x21aa3a=_0x2f25fe;if(_0x25f4d4){let {code:_0xe421e0}=_0x25f4d4;switch(_0xe421e0){case l[_0x21aa3a(0x27d)][_0x21aa3a(0x16b)]:this['_messageService'][_0x21aa3a(0x2ad)]({'type':s[_0x21aa3a(0x214)]['Error'],'content':this[_0x21aa3a(0x2ac)]['t']('exchange-client.tooLarge')});break;case l['ErrorCode'][_0x21aa3a(0x265)]:this[_0x21aa3a(0x21c)]['show']({'type':s['MessageType']['Error'],'content':this[_0x21aa3a(0x2ac)]['t']('exchange-client.internalError')});break;default:this[_0x21aa3a(0x21c)]['show']({'type':s['MessageType'][_0x21aa3a(0x1ce)],'content':this['_localeService']['t'](_0x21aa3a(0x1e2))});break;}return null;}return this[_0x21aa3a(0x21c)][_0x21aa3a(0x2ad)]({'type':s[_0x21aa3a(0x214)][_0x21aa3a(0x1ce)],'content':this[_0x21aa3a(0x2ac)]['t'](_0x21aa3a(0x1e2))}),null;}[_0x2f25fe(0x293)](_0xa67004){const _0x55d038=_0x2f25fe;let _0x14f866='';switch(_0xa67004){case s[_0x55d038(0x214)][_0x55d038(0x241)]:_0x14f866=this[_0x55d038(0x2ac)]['t'](_0x55d038(0x1de));break;case s['MessageType'][_0x55d038(0x2a3)]:_0x14f866=this[_0x55d038(0x2ac)]['t'](_0x55d038(0x198));break;default:break;}this['_messageService'][_0x55d038(0x2ad)]({'type':_0xa67004,'content':_0x14f866});}['_showUploadMessage'](_0x7132ef){const _0xa0ecc1=_0x2f25fe;let _0x38e5a6='';switch(_0x7132ef){case s[_0xa0ecc1(0x214)][_0xa0ecc1(0x241)]:_0x38e5a6=this['_localeService']['t']('exchange-client.uploadSuccess');break;case s[_0xa0ecc1(0x214)][_0xa0ecc1(0x2a3)]:_0x38e5a6=this[_0xa0ecc1(0x2ac)]['t'](_0xa0ecc1(0x273));break;default:break;}this[_0xa0ecc1(0x21c)][_0xa0ecc1(0x2ad)]({'type':_0x7132ef,'content':_0x38e5a6});}[_0x2f25fe(0x2bb)](){const _0x1a6da9=_0x2f25fe;this[_0x1a6da9(0x22e)][_0x1a6da9(0x1a2)]({'done':this[_0x1a6da9(0x187)],'count':this['_totalUploadTaskCount']});}[_0x2f25fe(0x2a1)](_0x2f2217){const _0x12f555=_0x2f25fe;this[_0x12f555(0x25e)]+=_0x2f2217,this[_0x12f555(0x2bb)]();}[_0x2f25fe(0x228)](_0x2b8e94){const _0x306d85=_0x2f25fe;this[_0x306d85(0x187)]+=_0x2b8e94,this[_0x306d85(0x187)]=Math['min'](this[_0x306d85(0x187)],this[_0x306d85(0x25e)]),this[_0x306d85(0x2bb)]();}[_0x2f25fe(0x2b1)](){const _0x4d778f=_0x2f25fe;this[_0x4d778f(0x187)]=this[_0x4d778f(0x25e)],this[_0x4d778f(0x2bb)]();}[_0x2f25fe(0x1b6)](){const _0x1f8167=_0x2f25fe;this[_0x1f8167(0x187)]=0x0,this[_0x1f8167(0x25e)]=0x0,this[_0x1f8167(0x2bb)]();}[_0x2f25fe(0x2be)](_0x11f0c0,_0x184da5){const _0x418081=_0x2f25fe;let _0x3f12e0=_0x11f0c0[0x0],_0x2f8a2d=_0x3f12e0[_0x418081(0x25f)];return k(_0x3f12e0)===_0x184da5?!0x1:(this[_0x418081(0x21c)][_0x418081(0x2ad)]({'type':s[_0x418081(0x214)][_0x418081(0x1ce)],'content':this['_localeService']['t'](_0x418081(0x1bb),_0x2f8a2d)}),!0x0);}['_uploadTaskNotDone'](){const _0x48edaa=_0x2f25fe;return this['_totalUploadTaskCount']!==0x0&&this['_doneUploadTaskCount']!==this[_0x48edaa(0x25e)];}};q=I([F(0x0,(0x0,t[_0x2f25fe(0x279)])(t['IUniverInstanceService'])),F(0x1,r[_0x2f25fe(0x26e)]),F(0x2,(0x0,t[_0x2f25fe(0x279)])(t['LocaleService'])),F(0x3,(0x0,t[_0x2f25fe(0x279)])(W)),F(0x4,(0x0,t[_0x2f25fe(0x279)])(v)),F(0x5,t[_0x2f25fe(0x1e4)])],q);function J(_0x57c520){const _0x26193c=_0x2f25fe;let {onClick:_0x36c227,children:_0x58b105,className:_0x6e7d11}=_0x57c520;return(0x0,c[_0x26193c(0x1ec)])(_0x26193c(0x278),{'className':(0x0,s['clsx'])(_0x26193c(0x230),_0x6e7d11),'type':_0x26193c(0x278),'onClick':_0x36c227,'children':_0x58b105});}function Y(){const _0xaefa6a=_0x2f25fe;let _0x398a5e=(0x0,r[_0xaefa6a(0x22f)])(K),_0x581824=(0x0,r['useDependency'])(t['LocaleService']);function _0x12a507(){const _0x4e50c6=_0xaefa6a;_0x398a5e[_0x4e50c6(0x263)]();}return(0x0,c[_0xaefa6a(0x1ec)])(J,{'onClick':_0x12a507,'children':_0x581824['t']('exchange-client.uploadAgain')});}function X(){const _0x1f479b=_0x2f25fe;return(0x0,c['jsxs'])(_0x1f479b(0x277),{'className':_0x1f479b(0x274),'children':[(0x0,c[_0x1f479b(0x1ec)])(_0x1f479b(0x1ef),{'className':_0x1f479b(0x160),'children':(0x0,r[_0x1f479b(0x22f)])(t[_0x1f479b(0x168)])['t']('exchange-client.interrupt')}),(0x0,c['jsx'])(Y,{})]});}function fe(_0x5ecd01){const _0x51bf64=_0x2f25fe;let {count:_0x5edd8b}=_0x5ecd01;return(0x0,c['jsxs'])(_0x51bf64(0x277),{'className':_0x51bf64(0x2b4),'children':[(0x0,c[_0x51bf64(0x1ec)])(_0x51bf64(0x1ef),{'className':'univer-text-sm\x20univer-text-gray-500','children':(0x0,r[_0x51bf64(0x22f)])(t['LocaleService'])['t'](_0x51bf64(0x19b),''+_0x5edd8b)}),(0x0,c[_0x51bf64(0x1ec)])(Y,{})]});}function pe(){const _0x219ae2=_0x2f25fe;let _0x5184bc=(0x0,r['useDependency'])(K),_0x4dbc52=(0x0,r['useDependency'])(t[_0x219ae2(0x168)]);function _0x355f11(){_0x5184bc['interrupt']();}return(0x0,c[_0x219ae2(0x1ec)])(J,{'onClick':_0x355f11,'children':_0x4dbc52['t'](_0x219ae2(0x1eb))});}function me(){const _0x124781=_0x2f25fe;let {count:_0x29816d,done:_0x512056}=(0x0,r[_0x124781(0x1fe)])((0x0,r[_0x124781(0x22f)])(K)[_0x124781(0x19f)]),[_0x507e75,_0x4b2133]=(0x0,a['useState'])(_0x29816d>0x0?_0x512056/_0x29816d:0x0);return(0x0,a['useEffect'])(()=>{_0x4b2133(_0x29816d>0x0?_0x512056/_0x29816d:0x0);},[_0x29816d,_0x512056]),(0x0,c[_0x124781(0x1ec)])(_0x124781(0x277),{'className':_0x124781(0x154),'children':(0x0,c[_0x124781(0x1ec)])(_0x124781(0x277),{'className':_0x124781(0x2bd),'style':{'width':Math[_0x124781(0x1cd)](_0x507e75*0x64)+'%'}})});}function he(){const _0x1d374b=_0x2f25fe;return(0x0,c[_0x1d374b(0x1ad)])(_0x1d374b(0x277),{'className':_0x1d374b(0x274),'children':[(0x0,c[_0x1d374b(0x1ec)])('span',{'className':_0x1d374b(0x24d),'children':(0x0,r['useDependency'])(t[_0x1d374b(0x168)])['t'](_0x1d374b(0x21b))}),(0x0,c[_0x1d374b(0x1ec)])(_0x1d374b(0x277),{'className':_0x1d374b(0x15e),'children':(0x0,c[_0x1d374b(0x1ec)])(me,{})}),(0x0,c[_0x1d374b(0x1ec)])(pe,{})]});}const ge={0x1:(0x0,c[_0x2f25fe(0x1ec)])(i['SuccessIcon'],{'className':_0x2f25fe(0x218)}),0x0:(0x0,c[_0x2f25fe(0x1ec)])(i['ClockIcon'],{'className':_0x2f25fe(0x1b0)}),0x2:(0x0,c[_0x2f25fe(0x1ec)])(i['ErrorIcon'],{'className':'univer-text-red-500'})};function _e(){const _0x1bb0e5=_0x2f25fe;let [_0x567402,_0x3be7f3]=(0x0,a['useState'])(0x0),[_0x19098c,_0x2930a6]=(0x0,a[_0x1bb0e5(0x158)])(!0x1),[_0x2f27f8,_0xa3b60]=(0x0,a['useState'])([]),_0x4fc982=(0x0,r[_0x1bb0e5(0x22f)])(v),_0x1ecaf4=(0x0,r[_0x1bb0e5(0x22f)])(t[_0x1bb0e5(0x168)]);(0x0,a['useEffect'])(()=>{const _0x4d516b=_0x1bb0e5;let _0x4e48c9=_0x4fc982[_0x4d516b(0x1c8)][_0x4d516b(0x224)](_0xe0849d=>{_0x2930a6(_0xe0849d);}),_0x88e5f6=_0x4fc982['list$']['subscribe'](_0x880fe6=>{_0xa3b60(_0x880fe6);}),_0x142346=_0x4fc982['state$'][_0x4d516b(0x224)](_0x21f5c4=>{_0x3be7f3(_0x21f5c4);});return()=>{const _0x13c69e=_0x4d516b;_0x4e48c9[_0x13c69e(0x269)](),_0x88e5f6[_0x13c69e(0x269)](),_0x142346[_0x13c69e(0x269)]();};},[]);function _0x3d0923(){_0x2930a6(!0x1);}function _0x3d848a(_0x2c6a0f){const _0x22b8e9=_0x1bb0e5;switch(_0x2c6a0f){case 0x1:return _0x1ecaf4['t'](_0x22b8e9(0x194));case 0x0:return _0x1ecaf4['t'](_0x22b8e9(0x273));case 0x2:return _0x1ecaf4['t']('exchange-client.unknownMistake');default:return'';}}return _0x19098c&&(0x0,c['jsxs'])('div',{'className':_0x1bb0e5(0x289),'children':[(0x0,c[_0x1bb0e5(0x1ad)])(_0x1bb0e5(0x277),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,c[_0x1bb0e5(0x1ad)])('span',{'className':_0x1bb0e5(0x1a4),'children':[(0x0,c[_0x1bb0e5(0x1ec)])(_0x1bb0e5(0x1ef),{'className':_0x1bb0e5(0x295),'children':ge[_0x567402]}),(0x0,c[_0x1bb0e5(0x1ec)])(_0x1bb0e5(0x1ef),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x3d848a(_0x567402)})]}),(0x0,c[_0x1bb0e5(0x1ec)])(_0x1bb0e5(0x1ef),{'className':'univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','onClick':_0x3d0923,'children':(0x0,c['jsx'])(i[_0x1bb0e5(0x17b)],{})})]}),(0x0,c['jsxs'])(_0x1bb0e5(0x277),{'children':[_0x567402===0x0&&(0x0,c[_0x1bb0e5(0x1ec)])(he,{}),_0x567402===0x2&&(0x0,c[_0x1bb0e5(0x1ec)])(X,{}),_0x2f27f8[_0x1bb0e5(0x14b)]>0x0&&(0x0,c[_0x1bb0e5(0x1ec)])(re,{'list':_0x2f27f8}),_0x567402===0x1&&(0x0,c[_0x1bb0e5(0x1ec)])(fe,{'count':_0x2f27f8[_0x1bb0e5(0x14b)]})]})]});}function Z(){const _0x11268e=_0x2f25fe;return(0x0,c[_0x11268e(0x1ec)])(_e,{});}let Q=class extends t[_0x2f25fe(0x22a)]{constructor(_0x26af7f,_0x57054b){const _0x507114=_0x2f25fe;super(),this[_0x507114(0x1b1)]=_0x26af7f,this[_0x507114(0x294)]=_0x57054b,this[_0x507114(0x29e)]();}[_0x2f25fe(0x29e)](){const _0x10eafd=_0x2f25fe;this[_0x10eafd(0x286)](this[_0x10eafd(0x294)][_0x10eafd(0x1a9)](r[_0x10eafd(0x1cf)][_0x10eafd(0x25d)],()=>(0x0,r[_0x10eafd(0x1b2)])(Z,this[_0x10eafd(0x1b1)])));}};Q=I([F(0x0,(0x0,t['Inject'])(t['Injector'])),F(0x1,r[_0x2f25fe(0x259)])],Q);let $=class extends t[_0x2f25fe(0x15d)]{constructor(_0x42db1c=p,_0x20d535,_0x50a681){const _0x3164bb=_0x2f25fe;super(),this[_0x3164bb(0x181)]=_0x42db1c,this[_0x3164bb(0x1b1)]=_0x20d535,this['_configService']=_0x50a681;let {..._0x4d5e90}=(0x0,t[_0x3164bb(0x23c)])({},p,this[_0x3164bb(0x181)]);this[_0x3164bb(0x2b7)]['setConfig'](f,_0x4d5e90);}[_0x2f25fe(0x253)](){const _0x1726a4=_0x2f25fe;(0x0,t[_0x1726a4(0x148)])(this[_0x1726a4(0x1b1)],[[Q],[K,{'useClass':q}],[W,{'useClass':G}],[L,{'useClass':R}],[v,{'useClass':y}]]);}['onReady'](){const _0x44ab2f=_0x2f25fe;(0x0,t[_0x44ab2f(0x256)])(this[_0x44ab2f(0x1b1)],[[Q],[K]]);}};_($,'pluginName',_0x2f25fe(0x1ca)),_($,'packageName',m),_($,_0x2f25fe(0x1ae),h),$=I([(0x0,t[_0x2f25fe(0x143)])(n['UniverNetworkPlugin'],e[_0x2f25fe(0x236)]),F(0x1,(0x0,t[_0x2f25fe(0x279)])(t[_0x2f25fe(0x135)])),F(0x2,t['IConfigService'])],$),exports[_0x2f25fe(0x1aa)]=f,Object['defineProperty'](exports,_0x2f25fe(0x22c),{'enumerable':!0x0,'get':function(){return q;}}),Object[_0x2f25fe(0x15f)](exports,_0x2f25fe(0x199),{'enumerable':!0x0,'get':function(){return G;}}),exports[_0x2f25fe(0x1ac)]=K,exports[_0x2f25fe(0x1b9)]=W,exports[_0x2f25fe(0x1f3)]=L,exports[_0x2f25fe(0x15b)]=v,Object[_0x2f25fe(0x15f)](exports,_0x2f25fe(0x29b),{'enumerable':!0x0,'get':function(){return R;}}),Object['defineProperty'](exports,_0x2f25fe(0x1d2),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x2f25fe(0x169)]=Z,exports[_0x2f25fe(0x268)]=y,exports[_0x2f25fe(0x189)]=ne,exports[_0x2f25fe(0x24c)]=O,exports[_0x2f25fe(0x226)]=k,exports[_0x2f25fe(0x19e)]=A,exports['transformDocumentDataToSnapshotJson']=B,exports[_0x2f25fe(0x1b8)]=H,exports['transformSnapshotJsonToWorkbookData']=V,exports[_0x2f25fe(0x147)]=z;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5b9d(_0x11dec0,_0x4feb9b){_0x11dec0=_0x11dec0-0xdb;const _0x5b64ca=_0x5b64();let _0x5b9dfa=_0x5b64ca[_0x11dec0];return _0x5b9dfa;}const _0x339f7d=_0x5b9d;(function(_0x59dea9,_0x22410e){const _0x45a7d=_0x5b9d,_0x1ae256=_0x59dea9();while(!![]){try{const _0xaf0101=parseInt(_0x45a7d(0xdc))/0x1+parseInt(_0x45a7d(0xe0))/0x2*(parseInt(_0x45a7d(0xdd))/0x3)+parseInt(_0x45a7d(0xdb))/0x4+-parseInt(_0x45a7d(0xee))/0x5+-parseInt(_0x45a7d(0xdf))/0x6+-parseInt(_0x45a7d(0xe6))/0x7*(-parseInt(_0x45a7d(0xec))/0x8)+parseInt(_0x45a7d(0xe7))/0x9;if(_0xaf0101===_0x22410e)break;else _0x1ae256['push'](_0x1ae256['shift']());}catch(_0x8cc8c2){_0x1ae256['push'](_0x1ae256['shift']());}}}(_0x5b64,0xde68b));const e={'exchange-client':{'uploading':'جارٍ\x20الرفع','uploadSuccess':'تم\x20رفع\x20الملف\x20بنجاح','uploadSuccessTip':_0x339f7d(0xe2),'downloading':_0x339f7d(0xeb),'downloadSuccess':_0x339f7d(0xea),'unknownMistake':_0x339f7d(0xe1),'networkError':_0x339f7d(0xe3),'tooLarge':_0x339f7d(0xed),'internalError':_0x339f7d(0xe9),'interrupt':_0x339f7d(0xe8),'fileTypeError':'نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','wait':_0x339f7d(0xe5),'cancel':_0x339f7d(0xe4),'uploadAgain':'إعادة\x20الرفع'}};function _0x5b64(){const _0x529d02=['1818848CRSQHm','2993037pwUWNj','exports','6718836GzKLsM','2jcPUKq','خطأ\x20غير\x20معروف','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','خطأ\x20في\x20الشبكة','إلغاء','يرجى\x20الانتظار...','20965PLpJaq','361476vSUcDd','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','خطأ\x20داخلي\x20غير\x20معروف','تم\x20التحميل\x20بنجاح','جارٍ\x20التحميل','168Ybbdoj','البيانات\x20كبيرة\x20جداً','4927825lHAFAx','387088JMmIqs'];_0x5b64=function(){return _0x529d02;};return _0x5b64();}module[_0x339f7d(0xde)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3f5a(){const _0x4def7d=['20llIRpb','4fKEmvm','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Descàrrega\x20correcta','9NSGdkz','Error\x20de\x20xarxa','1408488kIRJLe','7502464xiWJts','exports','Espereu...','977224BruYzE','Les\x20dades\x20són\x20massa\x20grans','21454010TPwGOG','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','661956RwzRbY','700690SMaNsX','Tornar\x20a\x20pujar','Cancel·lar','1051855IeFvEV'];_0x3f5a=function(){return _0x4def7d;};return _0x3f5a();}const _0x2f99df=_0x2f41;function _0x2f41(_0x5305d3,_0x215d75){_0x5305d3=_0x5305d3-0x13c;const _0x3f5a66=_0x3f5a();let _0x2f419f=_0x3f5a66[_0x5305d3];return _0x2f419f;}(function(_0x1ed96e,_0x2e9c78){const _0x10ffac=_0x2f41,_0x2f4604=_0x1ed96e();while(!![]){try{const _0x362791=parseInt(_0x10ffac(0x14c))/0x1+-parseInt(_0x10ffac(0x13e))/0x2*(-parseInt(_0x10ffac(0x14b))/0x3)+-parseInt(_0x10ffac(0x147))/0x4+parseInt(_0x10ffac(0x13d))/0x5*(parseInt(_0x10ffac(0x143))/0x6)+parseInt(_0x10ffac(0x13c))/0x7+parseInt(_0x10ffac(0x144))/0x8+parseInt(_0x10ffac(0x141))/0x9*(-parseInt(_0x10ffac(0x149))/0xa);if(_0x362791===_0x2e9c78)break;else _0x2f4604['push'](_0x2f4604['shift']());}catch(_0x401502){_0x2f4604['push'](_0x2f4604['shift']());}}}(_0x3f5a,0xbe458));const e={'exchange-client':{'uploading':'Pujant','uploadSuccess':'Fitxer\x20pujat\x20correctament','uploadSuccessTip':'{0}\x20fitxer(s)\x20pujat(s)\x20correctament','downloading':'Descarregant','downloadSuccess':_0x2f99df(0x140),'unknownMistake':'Error\x20desconegut','networkError':_0x2f99df(0x142),'tooLarge':_0x2f99df(0x148),'internalError':'Error\x20intern\x20desconegut','interrupt':_0x2f99df(0x14a),'fileTypeError':_0x2f99df(0x13f),'wait':_0x2f99df(0x146),'cancel':_0x2f99df(0x14e),'uploadAgain':_0x2f99df(0x14d)}};module[_0x2f99df(0x145)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1c39d4=_0x1a2e;function _0x31db(){const _0xb0d3e3=['624480AEtfki','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','Wird\x20heruntergeladen','5756lMFvxl','2hJWACZ','1418760qBqISF','Abbrechen','1153392jCdjyQ','8750088tQzwJH','Wird\x20hochgeladen','Download\x20erfolgreich','Interner\x20unbekannter\x20Fehler','exports','Datei\x20erfolgreich\x20hochgeladen','Unbekannter\x20Fehler','Bitte\x20warten...','4732959GYRoUf','712134zdctam','Netzwerkfehler','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','555QLrmJo'];_0x31db=function(){return _0xb0d3e3;};return _0x31db();}(function(_0x3549ec,_0x5abd03){const _0x21a55c=_0x1a2e,_0x93b77b=_0x3549ec();while(!![]){try{const _0x68da9b=-parseInt(_0x21a55c(0x11a))/0x1+-parseInt(_0x21a55c(0x122))/0x2*(-parseInt(_0x21a55c(0x125))/0x3)+-parseInt(_0x21a55c(0x121))/0x4*(-parseInt(_0x21a55c(0x11d))/0x5)+parseInt(_0x21a55c(0x11e))/0x6+-parseInt(_0x21a55c(0x12e))/0x7+parseInt(_0x21a55c(0x123))/0x8+parseInt(_0x21a55c(0x126))/0x9;if(_0x68da9b===_0x5abd03)break;else _0x93b77b['push'](_0x93b77b['shift']());}catch(_0x51e145){_0x93b77b['push'](_0x93b77b['shift']());}}}(_0x31db,0x63feb));function _0x1a2e(_0x43be90,_0x5bc653){_0x43be90=_0x43be90-0x11a;const _0x31db6e=_0x31db();let _0x1a2eee=_0x31db6e[_0x43be90];return _0x1a2eee;}const e={'exchange-client':{'uploading':_0x1c39d4(0x127),'uploadSuccess':_0x1c39d4(0x12b),'uploadSuccessTip':_0x1c39d4(0x11c),'downloading':_0x1c39d4(0x120),'downloadSuccess':_0x1c39d4(0x128),'unknownMistake':_0x1c39d4(0x12c),'networkError':_0x1c39d4(0x11b),'tooLarge':'Daten\x20sind\x20zu\x20groß','internalError':_0x1c39d4(0x129),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':_0x1c39d4(0x11f),'wait':_0x1c39d4(0x12d),'cancel':_0x1c39d4(0x124),'uploadAgain':'Erneut\x20hochladen'}};module[_0x1c39d4(0x12a)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x142af0=_0x3413;function _0x3413(_0x4bd904,_0x40c409){_0x4bd904=_0x4bd904-0x96;const _0x48c61f=_0x48c6();let _0x341325=_0x48c61f[_0x4bd904];return _0x341325;}(function(_0xb9931d,_0x1377e9){const _0x31101a=_0x3413,_0x57e960=_0xb9931d();while(!![]){try{const _0xb27e24=parseInt(_0x31101a(0xac))/0x1+parseInt(_0x31101a(0x9c))/0x2*(-parseInt(_0x31101a(0x9b))/0x3)+parseInt(_0x31101a(0xa7))/0x4*(parseInt(_0x31101a(0xa3))/0x5)+-parseInt(_0x31101a(0xa4))/0x6*(-parseInt(_0x31101a(0x9a))/0x7)+-parseInt(_0x31101a(0x96))/0x8*(-parseInt(_0x31101a(0xa9))/0x9)+-parseInt(_0x31101a(0x9d))/0xa+-parseInt(_0x31101a(0xa6))/0xb;if(_0xb27e24===_0x1377e9)break;else _0x57e960['push'](_0x57e960['shift']());}catch(_0xa88414){_0x57e960['push'](_0x57e960['shift']());}}}(_0x48c6,0x27387));const e={'exchange-client':{'uploading':_0x142af0(0x97),'uploadSuccess':_0x142af0(0xad),'uploadSuccessTip':_0x142af0(0xab),'downloading':_0x142af0(0x98),'downloadSuccess':_0x142af0(0x99),'unknownMistake':_0x142af0(0xa2),'networkError':_0x142af0(0xa8),'tooLarge':_0x142af0(0xa0),'internalError':_0x142af0(0xa5),'interrupt':_0x142af0(0x9f),'fileTypeError':_0x142af0(0xaa),'wait':'Please\x20wait...','cancel':_0x142af0(0xa1),'uploadAgain':_0x142af0(0x9e)}};function _0x48c6(){const _0xabb633=['File\x20uploaded\x20successfully','4648fgQfbt','Uploading','Downloading','Download\x20success','7MUxPdu','18Apnont','73958xfpEDB','1538270QtMrvB','Upload\x20again','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Data\x20is\x20too\x20large','Cancel','Unknown\x20mistake','5CvAuKR','1177908zOtLLk','Internal\x20unknown\x20error','1807388gnRhrJ','262252sGWTBw','Network\x20error','3618mpLmuM','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','{0}\x20file(s)\x20uploaded\x20successfully','205213zRBwXA'];_0x48c6=function(){return _0xabb633;};return _0x48c6();}module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x36042d=_0x1fd3;function _0x1fd3(_0xbddf03,_0x3ff70d){_0xbddf03=_0xbddf03-0x1db;const _0x5dfbe6=_0x5dfb();let _0x1fd355=_0x5dfbe6[_0xbddf03];return _0x1fd355;}function _0x5dfb(){const _0x1471de=['104ELfrFm','Cancelar','Espere...','Descargando','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','Archivo\x20subido\x20exitosamente','735469FZlPOs','Error\x20interno\x20desconocido','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','2663240qkhRjd','174080YhkYhj','5165840IytGSS','14gHahFY','Los\x20datos\x20son\x20demasiado\x20grandes','Error\x20desconocido','11812392MiDUrH','200136uMjwhM','Error\x20de\x20red','Subir\x20de\x20nuevo','Descarga\x20exitosa','37599IgiXkF','exports'];_0x5dfb=function(){return _0x1471de;};return _0x5dfb();}(function(_0x276c30,_0x18b5f1){const _0x4e74c7=_0x1fd3,_0x44a472=_0x276c30();while(!![]){try{const _0x4e22bc=-parseInt(_0x4e74c7(0x1e8))/0x1+-parseInt(_0x4e74c7(0x1ea))/0x2*(-parseInt(_0x4e74c7(0x1dc))/0x3)+-parseInt(_0x4e74c7(0x1e7))/0x4+-parseInt(_0x4e74c7(0x1e9))/0x5+-parseInt(_0x4e74c7(0x1ee))/0x6+-parseInt(_0x4e74c7(0x1e4))/0x7*(-parseInt(_0x4e74c7(0x1de))/0x8)+parseInt(_0x4e74c7(0x1ed))/0x9;if(_0x4e22bc===_0x18b5f1)break;else _0x44a472['push'](_0x44a472['shift']());}catch(_0x4132c9){_0x44a472['push'](_0x44a472['shift']());}}}(_0x5dfb,0xd1e1c));const e={'exchange-client':{'uploading':'Subiendo','uploadSuccess':_0x36042d(0x1e3),'uploadSuccessTip':_0x36042d(0x1e2),'downloading':_0x36042d(0x1e1),'downloadSuccess':_0x36042d(0x1db),'unknownMistake':_0x36042d(0x1ec),'networkError':_0x36042d(0x1ef),'tooLarge':_0x36042d(0x1eb),'internalError':_0x36042d(0x1e5),'interrupt':'La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','fileTypeError':_0x36042d(0x1e6),'wait':_0x36042d(0x1e0),'cancel':_0x36042d(0x1df),'uploadAgain':_0x36042d(0x1f0)}};module[_0x36042d(0x1dd)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xcf58(_0x5671d8,_0x422104){_0x5671d8=_0x5671d8-0x19b;const _0x352722=_0x3527();let _0xcf589d=_0x352722[_0x5671d8];return _0xcf589d;}const _0x3e9aae=_0xcf58;(function(_0x1fb156,_0x5c875d){const _0x30ecdf=_0xcf58,_0x543b9e=_0x1fb156();while(!![]){try{const _0x30fdad=parseInt(_0x30ecdf(0x1ab))/0x1+parseInt(_0x30ecdf(0x1a5))/0x2+-parseInt(_0x30ecdf(0x19f))/0x3+-parseInt(_0x30ecdf(0x1a6))/0x4+parseInt(_0x30ecdf(0x1a1))/0x5+parseInt(_0x30ecdf(0x19e))/0x6*(parseInt(_0x30ecdf(0x19b))/0x7)+-parseInt(_0x30ecdf(0x1a3))/0x8*(parseInt(_0x30ecdf(0x19c))/0x9);if(_0x30fdad===_0x5c875d)break;else _0x543b9e['push'](_0x543b9e['shift']());}catch(_0x573df6){_0x543b9e['push'](_0x543b9e['shift']());}}}(_0x3527,0x55fa9));const e={'exchange-client':{'uploading':'در\x20حال\x20بارگذاری','uploadSuccess':_0x3e9aae(0x1a2),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x3e9aae(0x1a8),'downloadSuccess':_0x3e9aae(0x19d),'unknownMistake':_0x3e9aae(0x1a9),'networkError':_0x3e9aae(0x1a7),'tooLarge':_0x3e9aae(0x1ac),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x3e9aae(0x1a4),'wait':'لطفا\x20صبر\x20کنید...','cancel':_0x3e9aae(0x1aa),'uploadAgain':'بارگذاری\x20مجدد'}};module[_0x3e9aae(0x1a0)]=e;function _0x3527(){const _0x2cbf8c=['2219903ZHcZXx','1082799xLCVSV','دانلود\x20موفقیت\x20آمیز','12Bcpogn','748383AmAwJP','exports','2471745LOqSAW','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','40qCRCHC','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','1210230GYQaLr','2757664kEjTVC','خطای\x20شبکه','در\x20حال\x20دانلود','خطای\x20ناشناخته','لغو','158879kVZzFP','داده\x20خیلی\x20بزرگ\x20است'];_0x3527=function(){return _0x2cbf8c;};return _0x3527();}
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x46455f=_0x392f;function _0x392f(_0x91920c,_0x16d1d7){_0x91920c=_0x91920c-0x1dd;const _0x2e26f6=_0x2e26();let _0x392f4d=_0x2e26f6[_0x91920c];return _0x392f4d;}(function(_0x31c5e4,_0x1d1612){const _0xe6473f=_0x392f,_0x887162=_0x31c5e4();while(!![]){try{const _0x512a28=parseInt(_0xe6473f(0x1ed))/0x1*(parseInt(_0xe6473f(0x1e3))/0x2)+parseInt(_0xe6473f(0x1ec))/0x3+parseInt(_0xe6473f(0x1f0))/0x4*(parseInt(_0xe6473f(0x1e5))/0x5)+-parseInt(_0xe6473f(0x1e2))/0x6+parseInt(_0xe6473f(0x1df))/0x7+-parseInt(_0xe6473f(0x1e7))/0x8+-parseInt(_0xe6473f(0x1ef))/0x9;if(_0x512a28===_0x1d1612)break;else _0x887162['push'](_0x887162['shift']());}catch(_0x3dfc53){_0x887162['push'](_0x887162['shift']());}}}(_0x2e26,0xee850));const e={'exchange-client':{'uploading':_0x46455f(0x1dd),'uploadSuccess':_0x46455f(0x1f2),'uploadSuccessTip':_0x46455f(0x1eb),'downloading':_0x46455f(0x1e8),'downloadSuccess':_0x46455f(0x1e4),'unknownMistake':_0x46455f(0x1e6),'networkError':_0x46455f(0x1de),'tooLarge':_0x46455f(0x1e9),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x46455f(0x1f1),'fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x46455f(0x1ee),'cancel':_0x46455f(0x1ea),'uploadAgain':_0x46455f(0x1e1)}};module[_0x46455f(0x1e0)]=e;function _0x2e26(){const _0x4ba123=['20wwpzGE','Erreur\x20inconnue','1149400MeLbTW','Téléchargement','Les\x20données\x20sont\x20trop\x20volumineuses','Annuler','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','1158669fokExA','1stXsTX','Veuillez\x20patienter...','18232083gtNWgr','1343536gmqWeM','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','Téléchargement\x20en\x20cours','Erreur\x20réseau','7518336UWaLHM','exports','Télécharger\x20à\x20nouveau','3152172MYIoox','1735986YyBacv','Téléchargement\x20réussi'];_0x2e26=function(){return _0x4ba123;};return _0x2e26();}
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x509450=_0x36cc;function _0x20a3(){const _0x1854a4=['8dIRnrl','4GZMHFD','Mengunduh','Kesalahan\x20jaringan','Mengunggah','4118818BckvIN','Kesalahan\x20internal\x20tidak\x20diketahui','File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','{0}\x20file\x20berhasil\x20diunggah','Kesalahan\x20tidak\x20diketahui','71007aIhXGN','1526584eMMxXs','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','exports','10oEGKvi','File\x20berhasil\x20diunggah','Unggah\x20ulang','10344BkFbml','11340cpqgpa','18qSVwCn','5321904HEutsV','Unduhan\x20berhasil','2635PIMzAR','166767rEPpgZ','26078pixTWu'];_0x20a3=function(){return _0x1854a4;};return _0x20a3();}function _0x36cc(_0x225ec2,_0x1eaa26){_0x225ec2=_0x225ec2-0x10b;const _0x20a3db=_0x20a3();let _0x36cc45=_0x20a3db[_0x225ec2];return _0x36cc45;}(function(_0x363619,_0x4fc5f9){const _0xfdc9ee=_0x36cc,_0x103617=_0x363619();while(!![]){try{const _0x35e22d=-parseInt(_0xfdc9ee(0x123))/0x1*(parseInt(_0xfdc9ee(0x10d))/0x2)+-parseInt(_0xfdc9ee(0x116))/0x3*(parseInt(_0xfdc9ee(0x10c))/0x4)+parseInt(_0xfdc9ee(0x122))/0x5*(-parseInt(_0xfdc9ee(0x11d))/0x6)+-parseInt(_0xfdc9ee(0x120))/0x7+-parseInt(_0xfdc9ee(0x117))/0x8*(-parseInt(_0xfdc9ee(0x11f))/0x9)+-parseInt(_0xfdc9ee(0x11a))/0xa*(-parseInt(_0xfdc9ee(0x111))/0xb)+parseInt(_0xfdc9ee(0x11e))/0xc*(parseInt(_0xfdc9ee(0x10b))/0xd);if(_0x35e22d===_0x4fc5f9)break;else _0x103617['push'](_0x103617['shift']());}catch(_0x3e9596){_0x103617['push'](_0x103617['shift']());}}}(_0x20a3,0x92fce));const e={'exchange-client':{'uploading':_0x509450(0x110),'uploadSuccess':_0x509450(0x11b),'uploadSuccessTip':_0x509450(0x114),'downloading':_0x509450(0x10e),'downloadSuccess':_0x509450(0x121),'unknownMistake':_0x509450(0x115),'networkError':_0x509450(0x10f),'tooLarge':'Data\x20terlalu\x20besar','internalError':_0x509450(0x112),'interrupt':_0x509450(0x118),'fileTypeError':_0x509450(0x113),'wait':'Harap\x20tunggu...','cancel':'Batal','uploadAgain':_0x509450(0x11c)}};module[_0x509450(0x119)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1c55cd=_0x3642;(function(_0x149d22,_0x4d2d65){const _0x15e867=_0x3642,_0x1c24cb=_0x149d22();while(!![]){try{const _0x190f9a=-parseInt(_0x15e867(0x1e2))/0x1*(parseInt(_0x15e867(0x1dd))/0x2)+parseInt(_0x15e867(0x1f1))/0x3*(parseInt(_0x15e867(0x1e7))/0x4)+parseInt(_0x15e867(0x1e3))/0x5*(-parseInt(_0x15e867(0x1ef))/0x6)+parseInt(_0x15e867(0x1e4))/0x7+-parseInt(_0x15e867(0x1f3))/0x8+parseInt(_0x15e867(0x1eb))/0x9*(parseInt(_0x15e867(0x1ea))/0xa)+parseInt(_0x15e867(0x1e0))/0xb;if(_0x190f9a===_0x4d2d65)break;else _0x1c24cb['push'](_0x1c24cb['shift']());}catch(_0x3bdaa7){_0x1c24cb['push'](_0x1c24cb['shift']());}}}(_0x551f,0x8744d));const e={'exchange-client':{'uploading':_0x1c55cd(0x1de),'uploadSuccess':_0x1c55cd(0x1e1),'uploadSuccessTip':'{0}\x20file\x20caricati\x20con\x20successo','downloading':_0x1c55cd(0x1e6),'downloadSuccess':_0x1c55cd(0x1ec),'unknownMistake':_0x1c55cd(0x1dc),'networkError':_0x1c55cd(0x1e8),'tooLarge':_0x1c55cd(0x1f2),'internalError':_0x1c55cd(0x1df),'interrupt':_0x1c55cd(0x1ed),'fileTypeError':_0x1c55cd(0x1ee),'wait':_0x1c55cd(0x1e9),'cancel':_0x1c55cd(0x1f0),'uploadAgain':'Carica\x20di\x20nuovo'}};function _0x551f(){const _0x4f443b=['Errore\x20sconosciuto','4MLFUkv','Caricamento\x20in\x20corso','Errore\x20interno\x20sconosciuto','14458070IhVNUi','File\x20caricato\x20con\x20successo','440552aNBeZY','2460565momrfJ','4256014GVajqZ','exports','Download\x20in\x20corso','168IfoTQX','Errore\x20di\x20rete','Attendi...','6390TjmERY','1881JvBtcn','Download\x20riuscito','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','6XnAJsS','Annulla','9714cInEGn','I\x20dati\x20sono\x20troppo\x20grandi','2117128WtgwNj'];_0x551f=function(){return _0x4f443b;};return _0x551f();}function _0x3642(_0x3d81b1,_0x1b0bed){_0x3d81b1=_0x3d81b1-0x1dc;const _0x551f46=_0x551f();let _0x3642f5=_0x551f46[_0x3d81b1];return _0x3642f5;}module[_0x1c55cd(0x1e5)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3b6f2f=_0x3531;(function(_0x1dbe23,_0x579a5c){const _0x129269=_0x3531,_0x30ed2c=_0x1dbe23();while(!![]){try{const _0x1c11c3=-parseInt(_0x129269(0x8a))/0x1*(-parseInt(_0x129269(0x80))/0x2)+parseInt(_0x129269(0x88))/0x3+-parseInt(_0x129269(0x8c))/0x4+parseInt(_0x129269(0x8d))/0x5+parseInt(_0x129269(0x85))/0x6*(-parseInt(_0x129269(0x7f))/0x7)+-parseInt(_0x129269(0x87))/0x8*(parseInt(_0x129269(0x7d))/0x9)+parseInt(_0x129269(0x7c))/0xa;if(_0x1c11c3===_0x579a5c)break;else _0x30ed2c['push'](_0x30ed2c['shift']());}catch(_0x39c2eb){_0x30ed2c['push'](_0x30ed2c['shift']());}}}(_0xf059,0x69bc7));const e={'exchange-client':{'uploading':'アップロード中','uploadSuccess':'ファイルが正常にアップロードされました','uploadSuccessTip':'{0}\x20個のファイルが正常にアップロードされました','downloading':'ダウンロード中','downloadSuccess':_0x3b6f2f(0x86),'unknownMistake':_0x3b6f2f(0x82),'networkError':_0x3b6f2f(0x7e),'tooLarge':_0x3b6f2f(0x84),'internalError':'内部エラーが発生しました','interrupt':_0x3b6f2f(0x89),'fileTypeError':_0x3b6f2f(0x81),'wait':'お待ちください...','cancel':_0x3b6f2f(0x8b),'uploadAgain':_0x3b6f2f(0x8e)}};function _0x3531(_0x5d324e,_0x1623dd){_0x5d324e=_0x5d324e-0x7c;const _0xf059b1=_0xf059();let _0x3531dc=_0xf059b1[_0x5d324e];return _0x3531dc;}module[_0x3b6f2f(0x83)]=e;function _0xf059(){const _0x38c955=['775665avSPnK','再度アップロード','8281090xuxMkU','54gKiIbK','ネットワークエラー','469LIkMMG','1778tvMlON','選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','不明なエラー','exports','データが大きすぎます','12534RPyjUy','ダウンロードが完了しました','1146712RgegIJ','1299339Mttcym','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','27olTgyf','キャンセル','29064VLGqqh'];_0xf059=function(){return _0x38c955;};return _0xf059();}
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x57c518=_0x23f0;(function(_0x48b41b,_0x1219b1){const _0x2a5f25=_0x23f0,_0x505927=_0x48b41b();while(!![]){try{const _0x83b905=-parseInt(_0x2a5f25(0x152))/0x1*(-parseInt(_0x2a5f25(0x14b))/0x2)+parseInt(_0x2a5f25(0x13f))/0x3+parseInt(_0x2a5f25(0x150))/0x4+-parseInt(_0x2a5f25(0x141))/0x5+parseInt(_0x2a5f25(0x14e))/0x6*(-parseInt(_0x2a5f25(0x148))/0x7)+parseInt(_0x2a5f25(0x14a))/0x8+parseInt(_0x2a5f25(0x151))/0x9;if(_0x83b905===_0x1219b1)break;else _0x505927['push'](_0x505927['shift']());}catch(_0x52fb43){_0x505927['push'](_0x505927['shift']());}}}(_0x18b2,0xa58de));const e={'exchange-client':{'uploading':_0x57c518(0x14d),'uploadSuccess':_0x57c518(0x142),'uploadSuccessTip':_0x57c518(0x147),'downloading':'다운로드\x20중','downloadSuccess':_0x57c518(0x149),'unknownMistake':_0x57c518(0x14c),'networkError':_0x57c518(0x140),'tooLarge':_0x57c518(0x143),'internalError':_0x57c518(0x14f),'interrupt':'네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','fileTypeError':_0x57c518(0x145),'wait':_0x57c518(0x144),'cancel':'취소','uploadAgain':'다시\x20업로드'}};function _0x18b2(){const _0xf6c47f=['2VprrCp','알\x20수\x20없는\x20오류','업로드\x20중','762XeRNKF','내부\x20오류가\x20발생했습니다','4529192MdVsyJ','486018lwNRRH','136807pwWysD','2897049KOJiXT','네트워크\x20오류','5043470hkfKZs','파일이\x20성공적으로\x20업로드되었습니다','데이터가\x20너무\x20큽니다','잠시만\x20기다려\x20주세요...','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','exports','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','65947OAnCht','다운로드가\x20완료되었습니다','4755848wokHHN'];_0x18b2=function(){return _0xf6c47f;};return _0x18b2();}function _0x23f0(_0xaa1921,_0x420d19){_0xaa1921=_0xaa1921-0x13f;const _0x18b2e2=_0x18b2();let _0x23f030=_0x18b2e2[_0xaa1921];return _0x23f030;}module[_0x57c518(0x146)]=e;
|