@univerjs-pro/exchange-client 1.0.0-alpha.6 → 1.0.0-alpha.7
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 +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x20e297=_0x1854;function _0x5f36(){const _0xb7eb90=['_injector','247911UZJRQG','importPPTXToSnapshotAsync','transformSnapshotJsonToWorkbookDataAsync','importXLSXToUnitIdAsync','UniverInstanceType','importFileToUnitId','extend','FUniver','641WtXJwQ','UNIVER_SHEET','downloadFile','exportXLSXByUnitId','exportDOCXBySnapshot','exportXLSXBySnapshotAsync','transformWorkbookDataToSnapshotJson','1554ZibJEU','transformSnapshotJsonToWorkbookData','6bzWBeo','1561692OoGkBt','exportDOCXByUnitId','3064390VlSqsI','exportPPTXBySnapshot','importDOCXToUnitIdAsync','4980240hdETbr','exportPPTXByUnitIdAsync','importPPTXToUnitIdAsync','5189863wgpdIB','transformWorkbookDataToSnapshotJsonAsync','importXLSXToSnapshotAsync','exportPPTXByUnitId','IExchangeService','9voIoeT','428968YBBWsZ','get'];_0x5f36=function(){return _0xb7eb90;};return _0x5f36();}(function(_0x2531f0,_0x413214){const _0xb730e5=_0x1854,_0x42b5b7=_0x2531f0();while(!![]){try{const _0x6cba05=parseInt(_0xb730e5(0x173))/0x1*(parseInt(_0xb730e5(0x157))/0x2)+-parseInt(_0xb730e5(0x16b))/0x3+parseInt(_0xb730e5(0x15a))/0x4+-parseInt(_0xb730e5(0x15c))/0x5+parseInt(_0xb730e5(0x159))/0x6*(parseInt(_0xb730e5(0x162))/0x7)+parseInt(_0xb730e5(0x168))/0x8*(-parseInt(_0xb730e5(0x167))/0x9)+-parseInt(_0xb730e5(0x15f))/0xa;if(_0x6cba05===_0x413214)break;else _0x42b5b7['push'](_0x42b5b7['shift']());}catch(_0x301948){_0x42b5b7['push'](_0x42b5b7['shift']());}}}(_0x5f36,0x5d709));function _0x1854(_0x38da43,_0x298a6e){_0x38da43=_0x38da43-0x151;const _0x5f3671=_0x5f36();let _0x1854a3=_0x5f3671[_0x38da43];return _0x1854a3;}let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');var r=class extends n[_0x20e297(0x172)]{[_0x20e297(0x152)](_0x1485c8,_0x3d010e,_0x137f60){const _0x2cb477=_0x20e297;this[_0x2cb477(0x16a)][_0x2cb477(0x169)](e['IExchangeService'])['downloadFile'](_0x1485c8,_0x3d010e,_0x137f60);}async[_0x20e297(0x16d)](_0x5abade){const _0x5ad005=_0x20e297;return this[_0x5ad005(0x16a)][_0x5ad005(0x169)](e[_0x5ad005(0x166)])[_0x5ad005(0x158)](_0x5abade);}async[_0x20e297(0x163)](_0x1c31f0){const _0x483bf0=_0x20e297;return this[_0x483bf0(0x16a)]['get'](e[_0x483bf0(0x166)])[_0x483bf0(0x156)](_0x1c31f0);}async[_0x20e297(0x16e)](_0x8c7b57){const _0x4ac9e2=_0x20e297;return this['_injector'][_0x4ac9e2(0x169)](e['IExchangeService'])[_0x4ac9e2(0x170)](_0x8c7b57,t[_0x4ac9e2(0x16f)][_0x4ac9e2(0x151)]);}async[_0x20e297(0x164)](_0x205408){const _0x532918=_0x20e297;return this['_injector'][_0x532918(0x169)](e[_0x532918(0x166)])['importXLSXToSnapshot'](_0x205408);}async['exportXLSXByUnitIdAsync'](_0x42ebe8){const _0x5a9c9d=_0x20e297;return this[_0x5a9c9d(0x16a)]['get'](e[_0x5a9c9d(0x166)])[_0x5a9c9d(0x153)](_0x42ebe8);}async[_0x20e297(0x155)](_0x2f2696){const _0x582eeb=_0x20e297;return this[_0x582eeb(0x16a)]['get'](e['IExchangeService'])['exportXLSXBySnapshot'](_0x2f2696);}async[_0x20e297(0x15e)](_0x2dd6bb){const _0x5d62ca=_0x20e297;return this[_0x5d62ca(0x16a)][_0x5d62ca(0x169)](e[_0x5d62ca(0x166)])[_0x5d62ca(0x170)](_0x2dd6bb,t[_0x5d62ca(0x16f)]['UNIVER_DOC']);}async['importDOCXToSnapshotAsync'](_0x4d0f41){const _0x146bf9=_0x20e297;return this[_0x146bf9(0x16a)][_0x146bf9(0x169)](e[_0x146bf9(0x166)])['importDOCXToSnapshot'](_0x4d0f41);}async['exportDOCXBySnapshotAsync'](_0x16dea4){const _0x5ef3dd=_0x20e297;return this[_0x5ef3dd(0x16a)]['get'](e[_0x5ef3dd(0x166)])[_0x5ef3dd(0x154)](_0x16dea4);}async['exportDOCXByUnitIdAsync'](_0x117df8){const _0x108c1c=_0x20e297;return this[_0x108c1c(0x16a)][_0x108c1c(0x169)](e[_0x108c1c(0x166)])[_0x108c1c(0x15b)](_0x117df8);}async[_0x20e297(0x161)](_0x288395){const _0x339260=_0x20e297;return this[_0x339260(0x16a)][_0x339260(0x169)](e[_0x339260(0x166)])[_0x339260(0x170)](_0x288395,t[_0x339260(0x16f)]['UNIVER_SLIDE']);}async[_0x20e297(0x16c)](_0x1824fe){const _0x2f7e38=_0x20e297;return this[_0x2f7e38(0x16a)][_0x2f7e38(0x169)](e[_0x2f7e38(0x166)])['importPPTXToSnapshot'](_0x1824fe);}async[_0x20e297(0x160)](_0x450c2e){const _0x911554=_0x20e297;return this[_0x911554(0x16a)][_0x911554(0x169)](e[_0x911554(0x166)])[_0x911554(0x165)](_0x450c2e);}async['exportPPTXBySnapshotAsync'](_0x25e3be){const _0x2316df=_0x20e297;return this[_0x2316df(0x16a)][_0x2316df(0x169)](e[_0x2316df(0x166)])[_0x2316df(0x15d)](_0x25e3be);}};n[_0x20e297(0x172)][_0x20e297(0x171)](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1a80b7=_0x344e;function _0x5a10(){const _0x28875f=['button','Injector','location','append','exportXLSXBySnapshot','snapshot','span','Success','file','transformSlideDataToSnapshot','_showUploadMessage','4921WRtuGU','IMessageService','importPPTXToUnitId','exportDOCXBySnapshot','19820uNuewS','display','input','importDOCXToSnapshot','IUIPartsService','UNIVER_SLIDE','.json','_buildHttpErrorMessage','331364nZTAiY','Get\x20outputType\x20error','exchange-client.uploadSuccess','download','Method\x20not\x20implemented.','jsonID','pptx','exchange-client.tooLarge','saveSnapshot','type','match','outputType','importFileToJson','revokeObjectURL','updateState','jsxs','href','forEach','univer-flex\x20univer-h-5\x20univer-text-xl','block\x20is\x20required','UNIVER_UNKNOWN','{fileID}','_clearProgress','visible$','getSnapshot','keys',':\x20HTTP\x20','/universer-api/exchange/task/{taskID}','ErrorCode','interruptImportTask','appendChild','string','DependentOn','_getUnitDocJson','_getDisableCellImageConversion','_exchangeService','values','univer-text-blue-500','_getImportURL','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','import','exchange-client.uploading','_getUnitSlideJson','_doneUploadTaskCount','_requestService','18qlaack','exchange-client.internalError','link','/universer-api/exchange/{type}/export','sheetBlocks','IconManager','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isArray','pdf','_taskInterrupted','_addDoneTask','Failed\x20to\x20parse\x20json','textEncoder','UniverLicensePlugin','toLowerCase','_state$','_export','registerLink','object','importPPTXToSnapshot','&source=','exchange-client.config','&flate=','function','_list','rev','defineProperty','resolve','exchange-client.downloading','status','_addTotalCount','transformDocumentDataToSnapshot','Error','UNIVER_SHEET','getTaskServerUrl','_showNetworkError','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','iterator','none','includes','ShareRangeIcon','catch','HTTPService','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','getTask','error','_messageService','b64EncodeUnicode','searchParams','has','_configService','interrupt','onStarting','UNIVER_DOC','toPrimitive','next','Subject','connectInjector','fileID','_getUploadFileURL','taskID','dispose','split','downloadFile','saveChangeset','_emitProgress','clsx','Failed\x20to\x20get\x20unitID\x20from\x20task','_getMinSheetRowCount','map','getFocusedUnit','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','UNIVER_PDF','HTTPResponseError','jsx','files','transformSnapshotToDocumentData','progress$','transformWorkbookDataToSnapshot','blockID','_buildProtocolErrorMessage','deflateSync','application/vnd.openxmlformats-officedocument.spreadsheetml.template','accept','options','_localeService','/universer-api/exchange/{type}/import','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','text','code','getDeserializedSheetBlock','exchange-client.downloadSuccess','workbook','_visible$','Failed\x20to\x20get\x20fileID\x20from\x20task','saveSheetBlock','minSheetRowCount','IUniverInstanceService','createObjectURL','univer-flex','exchange-client.unknownMistake','registerComponent','_uploadTaskNotDone','importXLSXToUnitId','getSheetBlocksFromSnapshot','import\x20error','textDecoder','filter','exchange-client.fileTypeError','_getUnitJson','FileId','blob','MessageType','INTERNAL_ERROR','_getSignURL','3573kEXHIR','b64DecodeUnicode','_univerInstanceService','application/vnd.openxmlformats-officedocument.wordprocessingml.document','UNRECOGNIZED','sign\x20url\x20error','disposeWithMe','trim','upload','LocaleService','_blank','BuiltInUIPart','exchange-client.networkError','toStringTag','number','currentTarget','exchange-client.uploadSuccessTip','prototype','_iconManager','default','UNIVER_EXCHANGE_CLIENT_PLUGIN','clearTaskInterrupted','body','exchange-client.uploadAgain','getConfig','floor','exportServerUrl','exchange-client.wait','getUnitOnRev','1367008Jooajp','pathname','UNIVER_BASE','scrollbarClassName','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','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','data','xlsx','upload\x20request\x20failed','decode','Info','Failed\x20to\x20transform\x20snapshot\x20to\x20string','ignoreTableExport','downloadEndpointUrl','originalMeta','list$','_upload','univer-text-green-500','application/pdf','pending','Failed\x20to\x20get\x20text\x20from\x20url','call','register','_getTaskURL','addEventListener','importServerUrl','workbook.json','transformSnapshotToWorkbookData','_getIgnoreTableExport','_totalUploadTaskCount','importFileToUnitId','success','message','parse','_progress$','buffer','Disposable','version','UniverNetworkPlugin','862389fxorSw','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','signUrl','_uploadNotificationService','state$','show','_importTaskId','useObservable','complete','signUrlServerUrl','file.json','Failed\x20to\x20get\x20jsonID\x20from\x20task','_requestState$','createIdentifier','_resourceLoaderService','univer-pro.exchange-client.exchange.service','28dqgpVL','_getMinSheetColumnCount','hide','_importToJson','_getMaxPollingTime','touchDependencies','min','1706590DWsKAE','CONNECTOR_DATA_TOO_LARGE','pushLink','title','HttpImport','_refresh','export\x20error','_getUnitNameByType','?size=','_getUnitID','_logService','div','asObservable','updateSnapshot','getSheetBlock','importDOCXToUnitId','click','_registerUIParts','No\x20file\x20selected','getLatestCsReqIdBySid','setTaskInterrupted','_fileTypeError','exportDOCXByUnitId','content-disposition','add','copyFileMeta','_config','transformSnapshotJsonToWorkbookData','CloseIcon','ErrorIcon','minSheetColumnCount','symbol','docx','Plugin','_getUnitIDDoc','univer-pro.exchange-client.request.service','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','UNDEFINED','univer-pro.exchange-client.upload-notification.service','saveUnit','SuccessIcon','436nPGCZu','ClockIcon','style','exportPPTXBySnapshot','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','upload\x20failed:\x20FileId\x20is\x20empty','{taskID}','univer-text-red-500','resolveWithBasePath','Module','name','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','_sheetBlockCache','length','exchange-client.interrupt','2353668bqpsBk','join','Content-Type','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_list$','UniverExchangeClientPlugin','univer-pl-2\x20univer-pr-4','createUnit','replace','_getDownloadEndpointURL','univer-text-sm\x20univer-text-gray-500','_getExportURL','FileSource','_injector','pop','/universer-api/stream/file/upload','maxTimeoutTime','export','_importFileToUnitId','IExchangeOperateService','encode','Tooltip','DirectExportIcon','file.','_getLinkByUnitId','Inject','UniverInstanceType','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_getUnitName','importFileToUnitIdByCurrentType','exportXLSXByUnitId','_refreshSlide','headers','getUnitId','registerDependencies','setConfig','IResourceLoaderService','_extractErrorDetail','_uiPartsService','disposeUnit','removeChild','_httpService','decorate','origin','_import','exportPPTXByUnitId','stringify','UNIVER_BOARD','getCurrentUnitOfType','univer-mt-5\x20univer-flex\x20univer-flex-col','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','onReady','post','useDependency','importWorkbookDataToUnitId','Error\x20fetching\x20file\x20from\x20URL:','get','_signUrl','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','set','_showDownloadMessage','constructor','CONTENT','UNIVER_PROJECT','importXLSXToSnapshot','getTextFromUrl','doc','univer-pro.exchange-client.operate.service','SheetsMultiIcon','_completeProgress','unshift','unit','application/json','IConfigService','uploadFileToUnitId','_exportBySnapshot','sheets'];_0x5a10=function(){return _0x28875f;};return _0x5a10();}(function(_0x41f7bc,_0x44f16e){const _0x2e7689=_0x344e,_0x461e64=_0x41f7bc();while(!![]){try{const _0x496e5d=parseInt(_0x2e7689(0x2b5))/0x1*(-parseInt(_0x2e7689(0x24e))/0x2)+-parseInt(_0x2e7689(0x20e))/0x3+-parseInt(_0x2e7689(0x25d))/0x4+-parseInt(_0x2e7689(0x225))/0x5*(-parseInt(_0x2e7689(0x157))/0x6)+-parseInt(_0x2e7689(0x21e))/0x7*(-parseInt(_0x2e7689(0x1e7))/0x8)+-parseInt(_0x2e7689(0x1ca))/0x9*(-parseInt(_0x2e7689(0x2b9))/0xa)+parseInt(_0x2e7689(0x2c1))/0xb;if(_0x496e5d===_0x44f16e)break;else _0x461e64['push'](_0x461e64['shift']());}catch(_0x53e136){_0x461e64['push'](_0x461e64['shift']());}}}(_0x5a10,0x8c922),Object[_0x1a80b7(0x171)](exports,Symbol[_0x1a80b7(0x1d7)],{'value':_0x1a80b7(0x257)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/design'),s=require('react/jsx-runtime'),c=require('@univerjs/protocol'),l=require('@univerjs-pro/collaboration'),u=require('fflate');var d='@univerjs-pro/exchange-client',ee='1.0.0-alpha.6';const f=_0x1a80b7(0x16c),p={};function m(_0x481a01,_0x4a34fa){return function(_0xf0bdf9,_0x525269){_0x4a34fa(_0xf0bdf9,_0x525269,_0x481a01);};}function h(_0x3caf75,_0x126a2c,_0x3a95e5,_0x5477c6){const _0x156329=_0x1a80b7;var _0x923150=arguments[_0x156329(0x25b)],_0x466c80=_0x923150<0x3?_0x126a2c:_0x5477c6===null?_0x5477c6=Object['getOwnPropertyDescriptor'](_0x126a2c,_0x3a95e5):_0x5477c6,_0x36023f;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x156329(0x16e))_0x466c80=Reflect[_0x156329(0x287)](_0x3caf75,_0x126a2c,_0x3a95e5,_0x5477c6);else{for(var _0x2816f0=_0x3caf75[_0x156329(0x25b)]-0x1;_0x2816f0>=0x0;_0x2816f0--)(_0x36023f=_0x3caf75[_0x2816f0])&&(_0x466c80=(_0x923150<0x3?_0x36023f(_0x466c80):_0x923150>0x3?_0x36023f(_0x126a2c,_0x3a95e5,_0x466c80):_0x36023f(_0x126a2c,_0x3a95e5))||_0x466c80);}return _0x923150>0x3&&_0x466c80&&Object['defineProperty'](_0x126a2c,_0x3a95e5,_0x466c80),_0x466c80;}let g=class extends t[_0x1a80b7(0x20b)]{constructor(_0x3a96b0){const _0x5d4eaa=_0x1a80b7;super(),this[_0x5d4eaa(0x1dc)]=_0x3a96b0,this['_registerIcons']();}['_registerIcons'](){const _0x5c4a3e=_0x1a80b7;this[_0x5c4a3e(0x1d0)](this['_iconManager'][_0x5c4a3e(0x1fd)]({'DirectExportIcon':r[_0x5c4a3e(0x273)]}));}};g=h([m(0x0,(0x0,t['Inject'])(i[_0x1a80b7(0x15c)]))],g);function _(_0x5afd8e){'@babel/helpers - typeof';const _0x4bd035=_0x1a80b7;return _=typeof Symbol=='function'&&typeof Symbol[_0x4bd035(0x17c)]=='symbol'?function(_0x35f279){return typeof _0x35f279;}:function(_0x21aea1){const _0x2044e2=_0x4bd035;return _0x21aea1&&typeof Symbol=='function'&&_0x21aea1[_0x2044e2(0x29a)]===Symbol&&_0x21aea1!==Symbol[_0x2044e2(0x1db)]?_0x2044e2(0x244):typeof _0x21aea1;},_(_0x5afd8e);}function te(_0x2031d7,_0x3bf4d5){const _0x206958=_0x1a80b7;if(_(_0x2031d7)!=_0x206958(0x169)||!_0x2031d7)return _0x2031d7;var _0x120e5b=_0x2031d7[Symbol[_0x206958(0x18d)]];if(_0x120e5b!==void 0x0){var _0x5a1450=_0x120e5b[_0x206958(0x1fc)](_0x2031d7,_0x3bf4d5||_0x206958(0x1dd));if(_(_0x5a1450)!=_0x206958(0x169))return _0x5a1450;throw TypeError(_0x206958(0x15d));}return(_0x3bf4d5===_0x206958(0x2e0)?String:Number)(_0x2031d7);}function ne(_0x18e62e){const _0x199d42=_0x1a80b7;var _0xc1f955=te(_0x18e62e,'string');return _(_0xc1f955)==_0x199d42(0x244)?_0xc1f955:_0xc1f955+'';}function v(_0x4d0578,_0x52c49c,_0x1186d9){const _0x3560b6=_0x1a80b7;return(_0x52c49c=ne(_0x52c49c))in _0x4d0578?Object[_0x3560b6(0x171)](_0x4d0578,_0x52c49c,{'value':_0x1186d9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4d0578[_0x52c49c]=_0x1186d9,_0x4d0578;}const y=(0x0,t['createIdentifier'])(_0x1a80b7(0x24b));var b=class extends t[_0x1a80b7(0x20b)]{constructor(){const _0x1aaa31=_0x1a80b7;super(),v(this,_0x1aaa31(0x1b4),new a[(_0x1aaa31(0x18f))]()),v(this,_0x1aaa31(0x166),new a[(_0x1aaa31(0x18f))]()),v(this,_0x1aaa31(0x261),new a[(_0x1aaa31(0x18f))]()),v(this,'visible$',this[_0x1aaa31(0x1b4)][_0x1aaa31(0x231)]()),v(this,_0x1aaa31(0x212),this[_0x1aaa31(0x166)][_0x1aaa31(0x231)]()),v(this,_0x1aaa31(0x1f6),this[_0x1aaa31(0x261)][_0x1aaa31(0x231)]()),v(this,_0x1aaa31(0x16f),[]);}['dispose'](){const _0xd98e60=_0x1a80b7;super[_0xd98e60(0x194)](),this[_0xd98e60(0x1b4)][_0xd98e60(0x216)](),this[_0xd98e60(0x166)][_0xd98e60(0x216)](),this[_0xd98e60(0x261)][_0xd98e60(0x216)]();}[_0x1a80b7(0x213)](){const _0x4637cc=_0x1a80b7;this[_0x4637cc(0x1b4)][_0x4637cc(0x18e)](!0x0);}[_0x1a80b7(0x220)](){const _0x266d4d=_0x1a80b7;this[_0x266d4d(0x1b4)][_0x266d4d(0x18e)](!0x1);}[_0x1a80b7(0x2cf)](_0x4274db){const _0x559c3e=_0x1a80b7;this[_0x559c3e(0x166)][_0x559c3e(0x18e)](_0x4274db);}[_0x1a80b7(0x227)](_0x3f165d){const _0x930207=_0x1a80b7;this['_list'][_0x930207(0x2a3)](_0x3f165d),this[_0x930207(0x261)][_0x930207(0x18e)](this['_list']);}};function re(_0x1c1391){const _0x5ed4cb=_0x1a80b7;let {list:_0x1f27fc}=_0x1c1391;function _0x36e55c(_0x31b5cf){const _0x504f82=_0x344e;switch(_0x31b5cf){case 0x1:return(0x0,s[_0x504f82(0x1a1)])(r['DocsMultiIcon'],{});case 0x2:return(0x0,s[_0x504f82(0x1a1)])(r[_0x504f82(0x2a1)],{});case 0x3:return(0x0,s['jsx'])(r['SlidesMultiIcon'],{});default:return null;}}return(0x0,s[_0x5ed4cb(0x1a1)])(_0x5ed4cb(0x230),{'className':(0x0,o['clsx'])(_0x5ed4cb(0x151),o[_0x5ed4cb(0x1ea)]),'children':(0x0,s[_0x5ed4cb(0x1a1)])('ul',{'className':_0x5ed4cb(0x259),'children':_0x1f27fc[_0x5ed4cb(0x19c)]((_0x22c62a,_0x3f6471)=>(0x0,s[_0x5ed4cb(0x1a1)])('li',{'children':(0x0,s[_0x5ed4cb(0x2d0)])('a',{'className':_0x5ed4cb(0x252),'href':_0x22c62a[_0x5ed4cb(0x159)],'target':_0x5ed4cb(0x1d4),'rel':'noreferrer','children':[(0x0,s[_0x5ed4cb(0x2d0)])('span',{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,s[_0x5ed4cb(0x1a1)])(_0x5ed4cb(0x2b0),{'className':_0x5ed4cb(0x2d3),'children':_0x36e55c(_0x22c62a[_0x5ed4cb(0x2ca)])}),(0x0,s['jsx'])(o[_0x5ed4cb(0x272)],{'showIfEllipsis':!0x0,'title':_0x22c62a['name'],'asChild':!0x0,'children':(0x0,s['jsx'])(_0x5ed4cb(0x2b0),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x22c62a['name']})})]}),(0x0,s[_0x5ed4cb(0x1a1)])(_0x5ed4cb(0x2b0),{'className':_0x5ed4cb(0x249),'children':(0x0,s[_0x5ed4cb(0x1a1)])(r[_0x5ed4cb(0x17f)],{})})]})},_0x3f6471))})});}const x=_0x1a80b7(0x1cd),S=_0x1a80b7(0x297),C='application/vnd.ms-excel.sheet.macroEnabled.12',w=_0x1a80b7(0x1a9),T='application/vnd.openxmlformats-officedocument.presentationml.presentation',E=_0x1a80b7(0x1f9),D={[t[_0x1a80b7(0x277)][_0x1a80b7(0x2d5)]]:[''],[t[_0x1a80b7(0x277)][_0x1a80b7(0x18c)]]:[x],[t[_0x1a80b7(0x277)]['UNIVER_SHEET']]:[S,C,w],[t[_0x1a80b7(0x277)][_0x1a80b7(0x2be)]]:[T],[t['UniverInstanceType'][_0x1a80b7(0x1e9)]]:[''],[t['UniverInstanceType'][_0x1a80b7(0x28c)]]:[''],[t[_0x1a80b7(0x277)][_0x1a80b7(0x29c)]]:[''],[t['UniverInstanceType'][_0x1a80b7(0x19f)]]:[E],[t['UniverInstanceType'][_0x1a80b7(0x1ce)]]:['']},O={[x]:_0x1a80b7(0x245),[S]:_0x1a80b7(0x1ee),[C]:'xlsm',[w]:'xltx',[T]:'pptx',[E]:_0x1a80b7(0x15f)};function k(_0x4abe12,_0x429755,_0x57da4f){const _0x2327ef=_0x1a80b7;let _0x38828b=document['createElement']('a');_0x38828b[_0x2327ef(0x2d1)]=_0x4abe12,_0x38828b[_0x2327ef(0x250)][_0x2327ef(0x2ba)]=_0x2327ef(0x17d),_0x38828b[_0x2327ef(0x2c4)]=_0x429755+'.'+_0x57da4f,document[_0x2327ef(0x1e0)][_0x2327ef(0x2df)](_0x38828b),_0x38828b[_0x2327ef(0x235)](),document[_0x2327ef(0x1e0)][_0x2327ef(0x285)](_0x38828b);}function A(_0x3f96c8,_0x201863,_0x190649){const _0x465b0b=_0x1a80b7;let _0x8fae76=URL[_0x465b0b(0x1b9)](_0x3f96c8);k(_0x8fae76,_0x201863,_0x190649),URL[_0x465b0b(0x2ce)](_0x8fae76);}function j(_0x450a51){const _0x4c326b=_0x1a80b7;let _0x5a8268=_0x450a51[_0x4c326b(0x258)][_0x4c326b(0x195)]('.')[_0x4c326b(0x26b)]();if(!_0x5a8268)return t[_0x4c326b(0x277)][_0x4c326b(0x2d5)];let _0x37e1a3=ie(),_0x279145=t['UniverInstanceType'][_0x4c326b(0x2d5)];return _0x37e1a3['some'](_0x493a4d=>ae(_0x5a8268,_0x493a4d)?(_0x279145=_0x493a4d,!0x0):!0x1),_0x279145;}function ie(){const _0x17ab91=_0x1a80b7;return Object[_0x17ab91(0x2e5)](t['UniverInstanceType'])[_0x17ab91(0x1c2)](_0xd70540=>typeof _0xd70540==_0x17ab91(0x1d8));}function ae(_0x31446d,_0x3be4e9){const _0x3e6084=_0x1a80b7;var _0x492a5b;return((_0x492a5b=D[_0x3be4e9])==null?[]:_0x492a5b)['map'](_0x3b93c5=>(O[_0x3b93c5]||'')[_0x3e6084(0x165)]())[_0x3e6084(0x17e)](_0x31446d['toLowerCase']());}function M(_0x3fa2ef,_0x3c52c2=!0x1){const _0x35061a=_0x1a80b7;let _0x6071ea=_0x3fa2ef['map'](_0x3e2489=>{var _0x18ec9b;return(_0x18ec9b=D[_0x3e2489])==null?[]:_0x18ec9b;})[_0x35061a(0x25e)](',');return new Promise((_0x448d2d,_0x343cb0)=>{const _0x4d9477=_0x35061a;let _0x292d0c=document['createElement'](_0x4d9477(0x2bb));_0x292d0c[_0x4d9477(0x2ca)]=_0x4d9477(0x2b2),_0x292d0c[_0x4d9477(0x1aa)]=_0x6071ea,_0x292d0c['multiple']=_0x3c52c2,_0x292d0c[_0x4d9477(0x1ff)]('change',_0x4e7305=>{const _0x2bdaa8=_0x4d9477;let _0x419b2c=_0x4e7305[_0x2bdaa8(0x1d9)];if(!_0x419b2c[_0x2bdaa8(0x1a2)]||_0x419b2c[_0x2bdaa8(0x1a2)][_0x2bdaa8(0x25b)]===0x0)throw _0x343cb0(null),Error(_0x2bdaa8(0x237));_0x448d2d(_0x419b2c[_0x2bdaa8(0x1a2)]);}),_0x292d0c[_0x4d9477(0x235)]();});}async function N(_0x7e9c72,_0x4df570){const _0x5a4671=_0x1a80b7;try{var _0x23d1fe,_0x2ec3a4,_0x42282b;let _0x288e3c=await _0x4df570['get'](_0x7e9c72,{'responseType':_0x5a4671(0x1c6)}),_0x1346a7=_0x288e3c[_0x5a4671(0x1e0)],_0x1b72ec=(_0x23d1fe=(_0x2ec3a4=_0x288e3c[_0x5a4671(0x27d)][_0x5a4671(0x295)](_0x5a4671(0x25f)))==null?void 0x0:_0x2ec3a4['join'](',\x20'))==null?'application/octet-stream':_0x23d1fe,_0x593fc9=_0x5a4671(0x274)+(O[_0x1b72ec]||_0x5a4671(0x1ee)),_0x559a96=(_0x42282b=_0x288e3c['headers']['get'](_0x5a4671(0x23c)))==null?void 0x0:_0x42282b['join'](',\x20');if(_0x559a96){let _0x2639dc=_0x559a96[_0x5a4671(0x2cb)](/filename=(.+)/);_0x2639dc&&_0x2639dc[0x1]&&(_0x593fc9=_0x2639dc[0x1]);}else _0x593fc9=oe(_0x7e9c72)||_0x593fc9;return new File([_0x1346a7],_0x593fc9,{'type':_0x1b72ec});}catch(_0x18083b){console[_0x5a4671(0x184)](_0x5a4671(0x294),_0x18083b);return;}}function oe(_0x5e43a1){const _0x52aba2=_0x1a80b7;try{return new URL(_0x5e43a1)[_0x52aba2(0x1e8)]['split']('/')[_0x52aba2(0x26b)]();}catch(_0x179d0f){console['error']('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x179d0f);return;}}function se(_0x158010){const _0x517b0c=_0x1a80b7;let _0x116339=new Blob([_0x158010[_0x517b0c(0x20a)]],{'type':_0x517b0c(0x2a5)});return new File([_0x116339],_0x517b0c(0x218));}function P(_0x340fb2,_0x14b33e){const _0x40d355=_0x1a80b7;return _0x340fb2[_0x40d355(0x265)]('{type}',_0x14b33e);}function ce(_0x5f352f,_0x31b4dc){const _0x38510b=_0x1a80b7;return _0x5f352f[_0x38510b(0x265)](_0x38510b(0x254),_0x31b4dc);}function le(_0x1cb58c,_0x24f1fb){const _0x17c750=_0x1a80b7;return _0x1cb58c[_0x17c750(0x265)](_0x17c750(0x2d6),_0x24f1fb);}const F=(0x0,t['createIdentifier'])(_0x1a80b7(0x248));let I=class{constructor(_0x51a313,_0x4b6267){const _0x5e07ac=_0x1a80b7;this[_0x5e07ac(0x189)]=_0x51a313,this['_httpService']=_0x4b6267,v(this,'_taskInterrupted',new Set());}[_0x1a80b7(0x194)](){}[_0x1a80b7(0x239)](_0x39a6ad){const _0x44f516=_0x1a80b7;this[_0x44f516(0x160)][_0x44f516(0x23d)](_0x39a6ad);}[_0x1a80b7(0x1df)](){const _0x5ce917=_0x1a80b7;this[_0x5ce917(0x160)]['clear']();}async[_0x1a80b7(0x1d2)](_0x235fe8,_0x2345cd=0x0,_0xfb84cd=!0x1){const _0x14917b=_0x1a80b7;if(typeof _0x235fe8=='string'){let _0x528df0=await N(_0x235fe8,this[_0x14917b(0x286)]);if(!_0x528df0)throw Error(_0x14917b(0x278));_0x235fe8=_0x528df0;}_0x2345cd=_0x2345cd||_0x235fe8['size'];let _0x49f861=new FormData();_0x49f861[_0x14917b(0x2ad)](_0x14917b(0x2b2),_0x235fe8);try{let _0x5829ce=this[_0x14917b(0x192)]()+_0x14917b(0x22d)+_0x2345cd+_0x14917b(0x16b)+c[_0x14917b(0x269)][_0x14917b(0x229)]+_0x14917b(0x16d)+_0xfb84cd,_0x5422ac={'body':_0x49f861},_0x23c50d=(await this[_0x14917b(0x286)][_0x14917b(0x291)](_0x5829ce,_0x5422ac))['body'];if(_0x23c50d[_0x14917b(0x184)]&&_0x23c50d[_0x14917b(0x184)][_0x14917b(0x1b0)]!==c[_0x14917b(0x2dd)]['OK'])throw Error(this['_buildProtocolErrorMessage']('upload\x20request\x20failed',_0x23c50d[_0x14917b(0x184)]));return _0x23c50d;}catch(_0x218ca5){throw _0x218ca5 instanceof Error?_0x218ca5:Error(this[_0x14917b(0x2c0)](_0x14917b(0x1ef),_0x218ca5));}}async[_0x1a80b7(0x152)](_0x1f86bf){const _0x43350b=_0x1a80b7;let {fileID:_0x1cff86,type:_0x1c45cd,outputType:_0x4fd7a0,minSheetColumnCount:_0x2493bf,minSheetRowCount:_0x47d33e}=_0x1f86bf;try{let _0x8647e5=P(this[_0x43350b(0x2e7)](),''+_0x1c45cd),_0x116651={'body':{'fileID':_0x1cff86,'outputType':_0x4fd7a0,'minSheetColumnCount':_0x2493bf,'minSheetRowCount':_0x47d33e}},_0x194e20=(await this[_0x43350b(0x286)][_0x43350b(0x291)](_0x8647e5,_0x116651))['body'];return _0x194e20[_0x43350b(0x184)]&&_0x194e20[_0x43350b(0x184)]['code']!==c[_0x43350b(0x2dd)]['OK']?void 0x0:_0x194e20;}catch{return;}}async[_0x1a80b7(0x26e)](_0x3ca93a){const _0x104e21=_0x1a80b7;let {unitID:_0x109652,jsonID:_0x12609f,type:_0x590940,useImageUrl:_0x3ffb80,ignoreTableExport:_0x18ae29}=_0x3ca93a;try{let _0x171d19=P(this['_getExportURL'](),''+_0x590940),_0x5902d2={'body':{'unitID':_0x109652,'jsonID':_0x12609f,'type':_0x590940,'useImageUrl':_0x3ffb80,'ignoreTableExport':_0x18ae29}},_0xfabb84=(await this[_0x104e21(0x286)]['post'](_0x171d19,_0x5902d2))[_0x104e21(0x1e0)];return _0xfabb84[_0x104e21(0x184)]&&_0xfabb84[_0x104e21(0x184)]['code']!==c[_0x104e21(0x2dd)]['OK']?void 0x0:_0xfabb84;}catch{return;}}async['getTask'](_0x38d3dc){return new Promise((_0x2b94d7,_0x506ee1)=>{const _0x5a6541=_0x344e;try{let _0x5d48e5=0x0,_0x5c4d3=ce(this[_0x5a6541(0x1fe)](),''+_0x38d3dc),_0x1db5af=this[_0x5a6541(0x222)](),_0x5da289=async()=>{const _0x3b88ea=_0x5a6541;if(this[_0x3b88ea(0x160)][_0x3b88ea(0x188)](_0x38d3dc))return;let _0x532ab3=(await this[_0x3b88ea(0x286)][_0x3b88ea(0x295)](_0x5c4d3))[_0x3b88ea(0x1e0)];if(_0x532ab3[_0x3b88ea(0x184)]&&_0x532ab3[_0x3b88ea(0x184)][_0x3b88ea(0x1b0)]===c[_0x3b88ea(0x2dd)]['OK']){if(_0x532ab3[_0x3b88ea(0x174)]==='done')_0x2b94d7(_0x532ab3);else{if(_0x532ab3[_0x3b88ea(0x174)]===_0x3b88ea(0x1fa)){let _0x33dacf=0x3e8;if(_0x5d48e5>=_0x1db5af){_0x506ee1(_0x532ab3);return;}else _0x5d48e5>=0x7530&&(_0x33dacf=0x1388);_0x5d48e5+=_0x33dacf,setTimeout(_0x5da289,_0x33dacf);}else _0x506ee1(_0x532ab3);}}else _0x506ee1(_0x532ab3);};_0x5da289();}catch(_0x4b13d4){_0x506ee1(_0x4b13d4 instanceof Error?_0x4b13d4:Error(String(_0x4b13d4)));}});}async['signUrl'](_0x5807a7){const _0x2c73d4=_0x1a80b7;try{let _0x2c71a1=le(this[_0x2c73d4(0x1c9)](),''+_0x5807a7);return(await this[_0x2c73d4(0x286)][_0x2c73d4(0x295)](_0x2c71a1))[_0x2c73d4(0x1e0)];}catch{return;}}async[_0x1a80b7(0x29e)](_0x14dab){const _0x40e0f3=_0x1a80b7;try{return(await this['_httpService'][_0x40e0f3(0x295)](_0x14dab,{'responseType':_0x40e0f3(0x1af)}))[_0x40e0f3(0x1e0)];}catch{return;}}[_0x1a80b7(0x1a7)](_0x12b006,_0x365ae1){const _0x4f116c=_0x1a80b7;let _0x4059a0=this[_0x4f116c(0x282)](_0x365ae1);return _0x4059a0?_0x12b006+':\x20'+_0x4059a0:_0x12b006;}[_0x1a80b7(0x2c0)](_0x26f1f1,_0x32e45e){const _0x3c04da=_0x1a80b7;if(_0x32e45e instanceof n[_0x3c04da(0x1a0)]){let _0xf9cac9=typeof _0x32e45e[_0x3c04da(0x174)]==_0x3c04da(0x1d8)?''+_0x32e45e[_0x3c04da(0x174)]+(_0x32e45e['statusText']?'\x20'+_0x32e45e['statusText']:''):void 0x0,_0x54d871=this[_0x3c04da(0x282)](_0x32e45e[_0x3c04da(0x184)]);return _0xf9cac9&&_0x54d871?_0x26f1f1+_0x3c04da(0x2db)+_0xf9cac9+'\x20-\x20'+_0x54d871:_0xf9cac9?_0x26f1f1+_0x3c04da(0x2db)+_0xf9cac9:_0x54d871?_0x26f1f1+':\x20'+_0x54d871:_0x26f1f1;}let _0x285703=this[_0x3c04da(0x282)](_0x32e45e);return _0x285703?_0x26f1f1+':\x20'+_0x285703:_0x26f1f1;}[_0x1a80b7(0x282)](_0x27d785){const _0x86a80f=_0x1a80b7;if(typeof _0x27d785==_0x86a80f(0x2e0)){let _0x1b55ba=_0x27d785[_0x86a80f(0x1d1)]();return _0x1b55ba[_0x86a80f(0x25b)]>0x0?_0x1b55ba:void 0x0;}if(_0x27d785 instanceof Error)return this['_extractErrorDetail'](_0x27d785[_0x86a80f(0x207)]);if(!_0x27d785||typeof _0x27d785!=_0x86a80f(0x169)||Array[_0x86a80f(0x15e)](_0x27d785))return;let _0x544dce=_0x27d785,_0x19d907=this[_0x86a80f(0x282)](_0x544dce[_0x86a80f(0x207)]);if(_0x19d907)return _0x19d907;if(_0x544dce[_0x86a80f(0x184)]&&typeof _0x544dce[_0x86a80f(0x184)]==_0x86a80f(0x169)&&!Array['isArray'](_0x544dce['error'])){let _0x584fd5=this['_extractErrorDetail'](_0x544dce['error']);if(_0x584fd5)return _0x584fd5;}}['_getUploadFileURL'](){const _0x3593e4=_0x1a80b7;var _0x552839;let _0x3e59a0=this['_configService']['getConfig'](f);return(_0x552839=_0x3e59a0==null?void 0x0:_0x3e59a0['uploadFileServerUrl'])==null?_0x3593e4(0x26c):_0x552839;}[_0x1a80b7(0x2e7)](){const _0x3bd53d=_0x1a80b7;var _0x279c8c;let _0x11a280=this['_configService'][_0x3bd53d(0x1e2)](f);return(_0x279c8c=_0x11a280==null?void 0x0:_0x11a280[_0x3bd53d(0x200)])==null?_0x3bd53d(0x1ad):_0x279c8c;}[_0x1a80b7(0x268)](){const _0x429f93=_0x1a80b7;var _0x10e580;let _0x4d1b8b=this[_0x429f93(0x189)][_0x429f93(0x1e2)](f);return(_0x10e580=_0x4d1b8b==null?void 0x0:_0x4d1b8b[_0x429f93(0x1e4)])==null?_0x429f93(0x15a):_0x10e580;}[_0x1a80b7(0x1fe)](){const _0x394260=_0x1a80b7;var _0x1cc0f6;let _0x4135ab=this['_configService']['getConfig'](f);return(_0x1cc0f6=_0x4135ab==null?void 0x0:_0x4135ab[_0x394260(0x179)])==null?_0x394260(0x2dc):_0x1cc0f6;}[_0x1a80b7(0x1c9)](){const _0x584001=_0x1a80b7;var _0x45ca33;let _0x498fcd=this[_0x584001(0x189)][_0x584001(0x1e2)](f);return(_0x45ca33=_0x498fcd==null?void 0x0:_0x498fcd[_0x584001(0x217)])==null?'/universer-api/file/{fileID}/sign-url':_0x45ca33;}['_getMaxPollingTime'](){const _0x167af2=_0x1a80b7;var _0xf015d6;let _0x196e4c=this[_0x167af2(0x189)][_0x167af2(0x1e2)](f);return(_0xf015d6=_0x196e4c==null?void 0x0:_0x196e4c[_0x167af2(0x26d)])==null?0x1d4c0:_0xf015d6;}};I=h([m(0x0,t[_0x1a80b7(0x2a6)]),m(0x1,(0x0,t['Inject'])(n[_0x1a80b7(0x181)]))],I);function L(_0x39df7c){const _0x47ec4f=_0x1a80b7;let _0x50320c=_0x39df7c[_0x47ec4f(0x1b3)];if(!_0x50320c)return null;let _0x1a289f={};_0x50320c[_0x47ec4f(0x2a9)]&&Object['keys'](_0x50320c[_0x47ec4f(0x2a9)])[_0x47ec4f(0x2d2)](_0x54ea99=>{const _0x31f5bf=_0x47ec4f;let _0xceed43=_0x50320c[_0x31f5bf(0x2a9)][_0x54ea99];_0x1a289f[_0x54ea99]={..._0xceed43,'originalMeta':(0x0,l[_0x31f5bf(0x186)])(l[_0x31f5bf(0x1c1)][_0x31f5bf(0x1f0)](_0xceed43['originalMeta']))};});let _0x50fc1b=(0x0,l[_0x47ec4f(0x186)])(l['textDecoder'][_0x47ec4f(0x1f0)](_0x50320c[_0x47ec4f(0x1f5)]));return{..._0x39df7c,'workbook':{..._0x50320c,'originalMeta':_0x50fc1b,'sheets':_0x1a289f},'doc':{},'slide':void 0x0,'board':void 0x0};}function R(_0x33df6c){const _0xf74994=_0x1a80b7;let _0x5d6eff=_0x33df6c[_0xf74994(0x29f)];if(!_0x5d6eff)return null;let _0x52b4c9=(0x0,l[_0xf74994(0x186)])(l[_0xf74994(0x1c1)][_0xf74994(0x1f0)](_0x5d6eff['originalMeta']));return{..._0x33df6c,'workbook':{},'doc':{..._0x5d6eff,'originalMeta':_0x52b4c9},'slide':void 0x0,'board':void 0x0};}function z(_0x288a69){const _0x2ff971=_0x1a80b7;var _0x253ce2;let _0x557f94=(_0x253ce2=_0x288a69['slide'])==null?_0x288a69[_0x2ff971(0x29f)]:_0x253ce2;if(!_0x557f94)return null;let _0x4418d4=typeof _0x557f94[_0x2ff971(0x1f5)]==_0x2ff971(0x2e0)?_0x557f94[_0x2ff971(0x1f5)]:(0x0,l[_0x2ff971(0x186)])(l[_0x2ff971(0x1c1)]['decode'](_0x557f94[_0x2ff971(0x1f5)]));return{..._0x288a69,'workbook':{},'doc':{},'slide':{..._0x557f94,'originalMeta':_0x4418d4},'board':void 0x0};}function B(_0x3ee24d){const _0x443a7c=_0x1a80b7;let _0x2760d7={};return _0x3ee24d[_0x443a7c(0x2d2)](_0x2383dd=>{const _0x4acf9f=_0x443a7c;_0x2760d7[_0x2383dd['id']]={..._0x2383dd,'data':(0x0,l['b64EncodeUnicode'])(l['textDecoder'][_0x4acf9f(0x1f0)](_0x2383dd[_0x4acf9f(0x1ed)]))};}),_0x2760d7;}async function V(_0x1b405b){const _0x40c8f8=_0x1a80b7;var _0x1f7cd1;let _0x436baa={'metadata':void 0x0},_0x12e12b=_0x1b405b['id'],_0x5b09d8=(_0x1f7cd1=_0x1b405b['rev'])==null?0x0:_0x1f7cd1,_0x108231=new W(),{snapshot:_0x4d0ffa}=await(0x0,l['transformWorkbookDataToSnapshot'])(_0x436baa,_0x1b405b,_0x12e12b,_0x5b09d8,_0x108231),_0x2ad3c0=await(0x0,l[_0x40c8f8(0x1bf)])(_0x4d0ffa,_0x108231),_0x5c328d=L(_0x4d0ffa);if(!_0x5c328d)throw Error(_0x40c8f8(0x1f2));return{'snapshot':_0x5c328d,'sheetBlocks':B(_0x2ad3c0)};}async function H(_0x16f6f7){const _0x332a4a=_0x1a80b7;var _0x3428ff;let _0x458cc1={'metadata':void 0x0},_0x636b28=_0x16f6f7['id'],{snapshot:_0x5a6371}=await(0x0,l[_0x332a4a(0x176)])(_0x458cc1,_0x16f6f7,_0x636b28,(_0x3428ff=_0x16f6f7[_0x332a4a(0x170)])==null?0x0:_0x3428ff,new W()),_0x5d35c4=R(_0x5a6371);if(!_0x5d35c4)throw Error(_0x332a4a(0x1f2));return{'snapshot':_0x5d35c4,'sheetBlocks':{}};}async function U(_0x41b8cc){const _0x13d8ed=_0x1a80b7;var _0x1049dc;let _0x5cb959=_0x41b8cc['id'],_0x9d7931=(_0x1049dc=_0x41b8cc[_0x13d8ed(0x170)])==null?0x0:_0x1049dc,_0x4770e7=new W(),{snapshot:_0x176ecd}=await(0x0,l[_0x13d8ed(0x2b3)])(_0x41b8cc['resources'],_0x41b8cc,_0x5cb959,_0x9d7931,_0x4770e7),_0x3ae9ff=z(_0x176ecd);if(!_0x3ae9ff)throw Error(_0x13d8ed(0x1f2));return{'snapshot':_0x3ae9ff,'sheetBlocks':{}};}async function ue(_0x1c0164){const _0x5f2667=_0x1a80b7;let _0x149aac=_0x1c0164[_0x5f2667(0x2af)],_0x79545d=_0x1c0164['sheetBlocks']||{};return await(0x0,l[_0x5f2667(0x202)])(_0x149aac,Object[_0x5f2667(0x2da)](_0x79545d)['map'](_0x3c83b8=>_0x79545d[_0x3c83b8])[_0x5f2667(0x19c)](_0x1b6d99=>({..._0x1b6d99,'data':_0x1b6d99[_0x5f2667(0x1ed)]?JSON['parse']((0x0,l[_0x5f2667(0x1cb)])(_0x1b6d99['data'])):void 0x0})));}function de(_0x45dd18){const _0x5615fc=_0x1a80b7;let _0x5bf6ea=_0x45dd18[_0x5615fc(0x2af)];return(0x0,l[_0x5615fc(0x1a3)])(_0x5bf6ea);}function fe(_0x57d157){let _0x2d26e7=_0x57d157['snapshot'];return(0x0,l['transformSnapshotToSlideData'])(_0x2d26e7);}var W=class{constructor(){const _0x55a844=_0x1a80b7;v(this,_0x55a844(0x25a),new Map());}[_0x1a80b7(0x1e6)](){const _0x10c2b6=_0x1a80b7;return Promise[_0x10c2b6(0x172)]({'snapshot':{'unitID':'','type':t[_0x10c2b6(0x277)][_0x10c2b6(0x178)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':c[_0x10c2b6(0x2dd)]['OK'],'message':''}});}[_0x1a80b7(0x233)](_0x3f18ad,_0x2ff5f0){const _0x5dcf71=_0x1a80b7;let _0x1ce104=this[_0x5dcf71(0x25a)][_0x5dcf71(0x295)](_0x2ff5f0[_0x5dcf71(0x1a6)]);return Promise[_0x5dcf71(0x172)]({'block':_0x1ce104,'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x1a80b7(0x1b1)](_0x4e7f85,_0xa8f6ac){const _0x5862df=_0x1a80b7;let _0x36240b=this[_0x5862df(0x25a)][_0x5862df(0x295)](_0xa8f6ac[_0x5862df(0x1a6)]);return Promise[_0x5862df(0x172)]({'block':_0x36240b===void 0x0?void 0x0:{..._0x36240b,'data':JSON[_0x5862df(0x208)](l[_0x5862df(0x1c1)][_0x5862df(0x1f0)](_0x36240b[_0x5862df(0x1ed)]))},'error':{'code':c[_0x5862df(0x2dd)]['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x492149=_0x1a80b7;return Promise[_0x492149(0x172)]({'changesets':[],'error':{'code':c[_0x492149(0x2dd)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x468700=_0x1a80b7;return Promise[_0x468700(0x172)]({'resources':{},'error':{'code':c[_0x468700(0x2dd)]['OK'],'message':''}});}[_0x1a80b7(0x2c9)](){const _0x37e1fb=_0x1a80b7;return Promise[_0x37e1fb(0x172)]({'error':{'code':c[_0x37e1fb(0x2dd)]['OK'],'message':''}});}[_0x1a80b7(0x232)](){const _0x7753c3=_0x1a80b7;return Promise['resolve']({'error':{'code':c[_0x7753c3(0x2dd)]['OK'],'message':''}});}[_0x1a80b7(0x1b6)](_0x10fa5e,_0x2cc264){const _0x23efba=_0x1a80b7;let {block:_0x346c6c}=_0x2cc264;return _0x346c6c?(this[_0x23efba(0x25a)]['set'](_0x346c6c['id'],_0x346c6c),Promise[_0x23efba(0x172)]({'error':{'code':c[_0x23efba(0x2dd)]['OK'],'message':''},'blockID':_0x346c6c['id']})):Promise[_0x23efba(0x172)]({'error':{'code':c[_0x23efba(0x2dd)][_0x23efba(0x24a)],'message':_0x23efba(0x2d4)},'blockID':''});}[_0x1a80b7(0x197)](){const _0x1c11e0=_0x1a80b7;return Promise[_0x1c11e0(0x172)]({'error':{'code':c[_0x1c11e0(0x2dd)]['OK'],'message':''},'concurrent':[]});}[_0x1a80b7(0x23e)](){const _0x114d4e=_0x1a80b7;return Promise[_0x114d4e(0x172)]({'error':void 0x0,'fileMetaId':''});}[_0x1a80b7(0x238)](){const _0x3d1deb=_0x1a80b7;return Promise[_0x3d1deb(0x172)]({'error':void 0x0,'latestReqID':0x0});}};function _0x344e(_0x5e089f,_0x1203f4){_0x5e089f=_0x5e089f-0x151;const _0x5a1042=_0x5a10();let _0x344e2b=_0x5a1042[_0x5e089f];return _0x344e2b;}const G=(0x0,t[_0x1a80b7(0x21b)])(_0x1a80b7(0x21d));let K=class extends t['Disposable']{constructor(_0x4a791c,_0x21ed01,_0x258ae0){const _0x529b51=_0x1a80b7;super(),this[_0x529b51(0x189)]=_0x4a791c,this[_0x529b51(0x286)]=_0x21ed01,this['_requestService']=_0x258ae0,v(this,_0x529b51(0x214),null),v(this,_0x529b51(0x21a),new a[(_0x529b51(0x18f))]()),v(this,'requestState$',this[_0x529b51(0x21a)][_0x529b51(0x231)]());}['dispose'](){const _0x276a45=_0x1a80b7;super['dispose'](),this[_0x276a45(0x21a)]['complete']();}['downloadFile'](_0x2f65cf,_0x33c125,_0x19c97f){const _0x16f44e=_0x1a80b7;let _0x374390=URL[_0x16f44e(0x1b9)](_0x2f65cf);k(_0x374390,_0x33c125,_0x19c97f),URL[_0x16f44e(0x2ce)](_0x374390);}async[_0x1a80b7(0x240)](_0x5502f5){const _0x2bf724=_0x1a80b7;let _0x512b5a=_0x5502f5[_0x2bf724(0x2af)],_0xdb4cd7=_0x5502f5[_0x2bf724(0x15b)]||{};return(0x0,l['transformSnapshotToWorkbookData'])(_0x512b5a,Object[_0x2bf724(0x2da)](_0xdb4cd7)['map'](_0x43e9e4=>_0xdb4cd7[_0x43e9e4])[_0x2bf724(0x19c)](_0xa216b=>({..._0xa216b,'data':_0xa216b[_0x2bf724(0x1ed)]?JSON[_0x2bf724(0x208)]((0x0,l[_0x2bf724(0x1cb)])(_0xa216b['data'])):void 0x0})));}async['transformWorkbookDataToSnapshotJson'](_0x2fdcf2){const _0x5dfedf=_0x1a80b7;var _0x5e5ceb;let _0x9243a={'metadata':void 0x0},_0x5c0d28=_0x2fdcf2['id'],_0x42be03=(_0x5e5ceb=_0x2fdcf2[_0x5dfedf(0x170)])==null?0x0:_0x5e5ceb,_0x36f792=new W(),{snapshot:_0x4d4f36}=await(0x0,l[_0x5dfedf(0x1a5)])(_0x9243a,_0x2fdcf2,_0x5c0d28,_0x42be03,_0x36f792),_0x449d36=await(0x0,l[_0x5dfedf(0x1bf)])(_0x4d4f36,_0x36f792),_0x37d3f5=L(_0x4d4f36);if(!_0x37d3f5)throw Error(_0x5dfedf(0x1f2));return{'snapshot':_0x37d3f5,'sheetBlocks':B(_0x449d36)};}async[_0x1a80b7(0x2bc)](_0x4e0ca8){const _0x427c25=_0x1a80b7;let _0x280ea5=await this['importFileToJson'](_0x4e0ca8,t['UniverInstanceType'][_0x427c25(0x18c)]);if(!_0x280ea5||!_0x280ea5[_0x427c25(0x2af)])return;let _0x9ed1c8=de(_0x280ea5);if(_0x9ed1c8)return _0x9ed1c8;}async['exportDOCXByUnitId'](_0x4eba6c){const _0x5f58c7=_0x1a80b7;return this[_0x5f58c7(0x167)](_0x4eba6c,0x1,t['UniverInstanceType']['UNIVER_DOC']);}async[_0x1a80b7(0x2b8)](_0x334abb){const _0x2de7f5=_0x1a80b7;let _0x10ef42=await H(_0x334abb);return this[_0x2de7f5(0x2a8)](_0x10ef42,t['UniverInstanceType'][_0x2de7f5(0x18c)]);}async[_0x1a80b7(0x16a)](_0x1634c2){const _0x3a7b07=_0x1a80b7;let _0x2cfd69=await this[_0x3a7b07(0x2cd)](_0x1634c2,t['UniverInstanceType']['UNIVER_SLIDE']);if(!(!_0x2cfd69||!_0x2cfd69[_0x3a7b07(0x2af)]))return fe(_0x2cfd69);}async['exportPPTXByUnitId'](_0x198029){const _0x578b88=_0x1a80b7;return this[_0x578b88(0x167)](_0x198029,0x1,t[_0x578b88(0x277)][_0x578b88(0x2be)]);}async[_0x1a80b7(0x251)](_0x21d9d5){const _0x4a6588=_0x1a80b7;let _0x2c5270=await U(_0x21d9d5);return this[_0x4a6588(0x2a8)](_0x2c5270,t[_0x4a6588(0x277)]['UNIVER_SLIDE']);}async[_0x1a80b7(0x29d)](_0x1b6c1e){const _0x4e2f03=_0x1a80b7;let _0x13ef83=await this['importFileToJson'](_0x1b6c1e,t[_0x4e2f03(0x277)][_0x4e2f03(0x178)]);if(!_0x13ef83)return;let _0x3be0ab=await this[_0x4e2f03(0x240)](_0x13ef83);if(_0x3be0ab)return _0x3be0ab;}async[_0x1a80b7(0x27b)](_0x2854a8){const _0x1a4b1c=_0x1a80b7;return this[_0x1a4b1c(0x167)](_0x2854a8,0x1,t['UniverInstanceType']['UNIVER_SHEET']);}async['exportXLSXBySnapshot'](_0x52389a){const _0x4a2c97=_0x1a80b7;let _0x3fc271=await this['transformWorkbookDataToSnapshotJson'](_0x52389a);return this[_0x4a2c97(0x2a8)](_0x3fc271,t[_0x4a2c97(0x277)][_0x4a2c97(0x178)]);}async[_0x1a80b7(0x205)](_0x603de0,_0x4e25f5){const _0x11a647=_0x1a80b7;var _0x11f44a,_0x4a1caa;let _0x2c2e44=await this[_0x11a647(0x1f7)](_0x603de0);if(!_0x2c2e44)return;let _0x140d64=await this['_import'](_0x2c2e44,0x1,_0x4e25f5);if(!_0x140d64)return;this[_0x11a647(0x214)]=_0x140d64,this[_0x11a647(0x156)][_0x11a647(0x1df)]();let _0x3375e2=await this[_0x11a647(0x156)][_0x11a647(0x183)](_0x140d64)[_0x11a647(0x180)](_0x2c7720=>{const _0x4e73ec=_0x11a647;var _0x173b6f;let _0x407b09=_0x2c7720 instanceof Error?_0x2c7720[_0x4e73ec(0x207)]:(_0x173b6f=_0x2c7720['error'])==null?void 0x0:_0x173b6f[_0x4e73ec(0x207)];this[_0x4e73ec(0x21a)][_0x4e73ec(0x18e)]({'error':{'code':c[_0x4e73ec(0x2dd)][_0x4e73ec(0x1ce)],'message':_0x407b09||''},'state':0x3});});if(!_0x3375e2)return;let _0x43d9b5=(_0x11f44a=_0x3375e2[_0x11a647(0x152)])==null?void 0x0:_0x11f44a[_0x11a647(0x2cc)],_0x3ab7cd=((_0x4a1caa=_0x3375e2[_0x11a647(0x152)])==null?void 0x0:_0x4a1caa['unitID'])||'';if(_0x43d9b5!==0x1){this[_0x11a647(0x21a)][_0x11a647(0x18e)]({'error':{'code':c[_0x11a647(0x2dd)][_0x11a647(0x1ce)],'message':_0x11a647(0x2c2)},'state':0x3});return;}if(_0x3ab7cd[_0x11a647(0x25b)]===0x0){this[_0x11a647(0x21a)][_0x11a647(0x18e)]({'error':{'code':c[_0x11a647(0x2dd)]['UNRECOGNIZED'],'message':_0x11a647(0x19a)},'state':0x3});return;}return this[_0x11a647(0x21a)]['next']({'error':_0x3375e2['error'],'state':0x3}),_0x3ab7cd;}async['importFileToJson'](_0xa405df,_0x705a5d){const _0xdf97ed=_0x1a80b7;return this[_0xdf97ed(0x221)](_0xa405df,_0x705a5d);}async[_0x1a80b7(0x293)](_0x569233){const _0x46def5=_0x1a80b7;let _0x47d166=await this['transformWorkbookDataToSnapshotJson'](_0x569233),_0x42bd02=typeof _0x569233['id']==_0x46def5(0x2e0)&&_0x569233['id'][_0x46def5(0x1d1)]()?_0x569233['id'][_0x46def5(0x1d1)]()+_0x46def5(0x2bf):_0x46def5(0x201),_0x146768=new File([JSON[_0x46def5(0x28b)](_0x47d166)],_0x42bd02,{'type':_0x46def5(0x2a5)});return this['importFileToUnitId'](_0x146768,t['UniverInstanceType'][_0x46def5(0x178)]);}['interruptImportTask'](){const _0x3770f0=_0x1a80b7;this[_0x3770f0(0x214)]&&this[_0x3770f0(0x156)]['setTaskInterrupted'](this['_importTaskId']);}async['_importToJson'](_0x108b2d,_0x3ff73a){const _0x589856=_0x1a80b7;var _0x4336ff,_0x542b5a;let _0x18551e=await this[_0x589856(0x1f7)](_0x108b2d);if(!_0x18551e)return;let _0x34ba64=await this[_0x589856(0x289)](_0x18551e,0x2,_0x3ff73a);if(!_0x34ba64)return;this['_importTaskId']=_0x34ba64,this['_requestService'][_0x589856(0x1df)]();let _0x54bc1c=await this[_0x589856(0x156)][_0x589856(0x183)](_0x34ba64)[_0x589856(0x180)](_0x115eca=>{const _0x3f46d3=_0x589856;var _0x5d3e76;let _0x286a00=_0x115eca instanceof Error?_0x115eca[_0x3f46d3(0x207)]:(_0x5d3e76=_0x115eca[_0x3f46d3(0x184)])==null?void 0x0:_0x5d3e76[_0x3f46d3(0x207)];this[_0x3f46d3(0x21a)][_0x3f46d3(0x18e)]({'error':{'code':c[_0x3f46d3(0x2dd)][_0x3f46d3(0x1ce)],'message':_0x286a00||''},'state':0x3});});if(!_0x54bc1c)return;let _0x3774d7=(_0x4336ff=_0x54bc1c[_0x589856(0x152)])==null?void 0x0:_0x4336ff[_0x589856(0x2cc)],_0x16079d=((_0x542b5a=_0x54bc1c[_0x589856(0x152)])==null?void 0x0:_0x542b5a[_0x589856(0x2c6)])||'';if(_0x3774d7!==0x2){this[_0x589856(0x21a)][_0x589856(0x18e)]({'error':{'code':c[_0x589856(0x2dd)][_0x589856(0x1ce)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x16079d['length']===0x0){this[_0x589856(0x21a)][_0x589856(0x18e)]({'error':{'code':c[_0x589856(0x2dd)]['UNRECOGNIZED'],'message':_0x589856(0x219)},'state':0x3});return;}this[_0x589856(0x21a)][_0x589856(0x18e)]({'error':_0x54bc1c[_0x589856(0x184)],'state':0x3});let _0x5959ee=await this[_0x589856(0x296)](_0x16079d);if(!_0x5959ee)return;let _0x209994=await this[_0x589856(0x156)][_0x589856(0x29e)](_0x5959ee);if(!_0x209994){this[_0x589856(0x21a)][_0x589856(0x18e)]({'error':{'code':c[_0x589856(0x2dd)][_0x589856(0x1ce)],'message':_0x589856(0x1fb)},'state':0x5});return;}try{let _0x495688=JSON['parse'](_0x209994);return this[_0x589856(0x21a)]['next']({'error':{'code':c[_0x589856(0x2dd)]['OK'],'message':_0x589856(0x206)},'state':0x5}),_0x495688;}catch{this['_requestState$']['next']({'error':{'code':c[_0x589856(0x2dd)][_0x589856(0x1ce)],'message':_0x589856(0x162)},'state':0x5});}}async[_0x1a80b7(0x2a8)](_0x4b6374,_0xa3e260){const _0xeedaac=_0x1a80b7;let _0x38fd84=JSON['stringify'](_0x4b6374),_0x215074=l[_0xeedaac(0x163)][_0xeedaac(0x271)](_0x38fd84),_0x18e34e=(0x0,u[_0xeedaac(0x1a8)])(_0x215074),_0x3e96d7=_0x215074[_0xeedaac(0x25b)],_0x94c914=se(_0x18e34e),_0x15b769=await this[_0xeedaac(0x1f7)](_0x94c914,_0x3e96d7,!0x0);if(_0x15b769)return this[_0xeedaac(0x167)](_0x15b769,0x2,_0xa3e260);}async[_0x1a80b7(0x167)](_0x339956,_0x813bc5,_0x16b9e9){const _0x5d70fb=_0x1a80b7;var _0x44c6b3;let _0x5f5d18=await this[_0x5d70fb(0x156)]['export']({'unitID':_0x813bc5===0x1?_0x339956:'','jsonID':_0x813bc5===0x2?_0x339956:'','type':_0x16b9e9,'useImageUrl':this[_0x5d70fb(0x2e3)](),'ignoreTableExport':this[_0x5d70fb(0x203)]()});if(!_0x5f5d18){this[_0x5d70fb(0x21a)][_0x5d70fb(0x18e)]({'error':{'code':c[_0x5d70fb(0x2dd)][_0x5d70fb(0x1ce)],'message':_0x5d70fb(0x22b)},'state':0x2});return;}if(this[_0x5d70fb(0x21a)][_0x5d70fb(0x18e)]({'error':_0x5f5d18[_0x5d70fb(0x184)],'state':0x2}),_0x5f5d18[_0x5d70fb(0x184)]&&_0x5f5d18[_0x5d70fb(0x184)][_0x5d70fb(0x1b0)]!==c['ErrorCode']['OK'])return;let _0x17f5e3=_0x5f5d18['taskID'],_0x74fdb=await this[_0x5d70fb(0x156)][_0x5d70fb(0x183)](_0x17f5e3)[_0x5d70fb(0x180)](_0x2f0e1a=>{const _0x496ef5=_0x5d70fb;var _0x5bc303;let _0x19fce4=_0x2f0e1a instanceof Error?_0x2f0e1a[_0x496ef5(0x207)]:(_0x5bc303=_0x2f0e1a[_0x496ef5(0x184)])==null?void 0x0:_0x5bc303[_0x496ef5(0x207)];this['_requestState$']['next']({'error':{'code':c[_0x496ef5(0x2dd)]['UNRECOGNIZED'],'message':_0x19fce4||''},'state':0x3});});if(!_0x74fdb)return;let _0x27e766=((_0x44c6b3=_0x74fdb[_0x5d70fb(0x26e)])==null?void 0x0:_0x44c6b3[_0x5d70fb(0x191)])||'';if(_0x27e766[_0x5d70fb(0x25b)]===0x0){this['_requestState$'][_0x5d70fb(0x18e)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x5d70fb(0x1b5)},'state':0x3});return;}this[_0x5d70fb(0x21a)][_0x5d70fb(0x18e)]({'error':_0x74fdb[_0x5d70fb(0x184)],'state':0x3});let _0x3cb041=await this['_signUrl'](_0x27e766);if(!_0x3cb041)return;let _0x31e7b0=await N(_0x3cb041,this[_0x5d70fb(0x286)]);if(!_0x31e7b0){this['_requestState$']['next']({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this['_requestState$']['next']({'error':{'code':c[_0x5d70fb(0x2dd)]['OK'],'message':_0x5d70fb(0x206)},'state':0x6}),_0x31e7b0;}async[_0x1a80b7(0x1f7)](_0x30e2ed,_0x5c1bfb,_0x25aa0e){const _0x2335f0=_0x1a80b7;let _0x166d14;try{_0x166d14=await this['_requestService'][_0x2335f0(0x1d2)](_0x30e2ed,_0x5c1bfb,_0x25aa0e);}catch(_0xc1fde9){let _0x28bdb4=_0xc1fde9 instanceof Error?_0xc1fde9[_0x2335f0(0x207)]:String(_0xc1fde9);this[_0x2335f0(0x21a)]['next']({'error':{'code':c[_0x2335f0(0x2dd)]['UNRECOGNIZED'],'message':_0x28bdb4},'state':0x0});return;}if(!_0x166d14||typeof _0x166d14[_0x2335f0(0x1c5)]!=_0x2335f0(0x2e0)){this[_0x2335f0(0x21a)]['next']({'error':{'code':c[_0x2335f0(0x2dd)][_0x2335f0(0x1ce)],'message':_0x2335f0(0x260)},'state':0x0});return;}let _0x3630a5=_0x166d14[_0x2335f0(0x1c5)];if(_0x3630a5[_0x2335f0(0x25b)]===0x0){this['_requestState$'][_0x2335f0(0x18e)]({'error':{'code':c[_0x2335f0(0x2dd)][_0x2335f0(0x1ce)],'message':_0x2335f0(0x253)},'state':0x0});return;}return this[_0x2335f0(0x21a)]['next']({'error':{'code':c[_0x2335f0(0x2dd)]['OK'],'message':'success'},'state':0x0}),_0x3630a5;}async[_0x1a80b7(0x289)](_0x8919ab,_0xd96796,_0x4774bc){const _0x1bf77a=_0x1a80b7;let _0x79186a={'fileID':_0x8919ab,'type':_0x4774bc,'outputType':_0xd96796,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x308a45=await this['_requestService'][_0x1bf77a(0x152)](_0x79186a);if(!_0x308a45){this[_0x1bf77a(0x21a)][_0x1bf77a(0x18e)]({'error':{'code':c[_0x1bf77a(0x2dd)]['UNRECOGNIZED'],'message':_0x1bf77a(0x1c0)},'state':0x1});return;}if(_0x308a45[_0x1bf77a(0x184)]&&_0x308a45[_0x1bf77a(0x184)][_0x1bf77a(0x1b0)]!==c[_0x1bf77a(0x2dd)]['OK']){this[_0x1bf77a(0x21a)][_0x1bf77a(0x18e)]({'error':_0x308a45[_0x1bf77a(0x184)],'state':0x1});return;}let _0x5e3164=_0x308a45[_0x1bf77a(0x193)];if(_0x5e3164[_0x1bf77a(0x25b)]===0x0){this['_requestState$'][_0x1bf77a(0x18e)]({'error':{'code':c[_0x1bf77a(0x2dd)][_0x1bf77a(0x1ce)],'message':_0x1bf77a(0x28f)},'state':0x1});return;}return this[_0x1bf77a(0x21a)]['next']({'error':_0x308a45[_0x1bf77a(0x184)],'state':0x1}),_0x5e3164;}async[_0x1a80b7(0x296)](_0x138b9b){const _0x227e50=_0x1a80b7;let _0x4c2f06=await this[_0x227e50(0x156)][_0x227e50(0x210)](_0x138b9b);if(!_0x4c2f06){this[_0x227e50(0x21a)][_0x227e50(0x18e)]({'error':{'code':c[_0x227e50(0x2dd)][_0x227e50(0x1ce)],'message':'sign\x20url\x20error'},'state':0x4});return;}if(_0x4c2f06[_0x227e50(0x184)]&&_0x4c2f06['error'][_0x227e50(0x1b0)]!==c[_0x227e50(0x2dd)]['OK']){this[_0x227e50(0x21a)]['next']({'error':_0x4c2f06['error'],'state':0x4});return;}let _0x5b3c0e=(0x0,t[_0x227e50(0x256)])(_0x4c2f06['url'],this[_0x227e50(0x266)]());if(_0x5b3c0e['length']===0x0){this['_requestState$']['next']({'error':{'code':c[_0x227e50(0x2dd)][_0x227e50(0x1ce)],'message':_0x227e50(0x1cf)},'state':0x4});return;}return this[_0x227e50(0x21a)][_0x227e50(0x18e)]({'error':_0x4c2f06[_0x227e50(0x184)],'state':0x4}),_0x5b3c0e;}[_0x1a80b7(0x266)](){const _0x5beec5=_0x1a80b7;var _0x2b96df;let _0x3b5019=this[_0x5beec5(0x189)][_0x5beec5(0x1e2)](f);return(_0x2b96df=_0x3b5019==null?void 0x0:_0x3b5019[_0x5beec5(0x1f4)])==null?location[_0x5beec5(0x288)]:_0x2b96df;}[_0x1a80b7(0x19b)](){const _0x1f7e65=_0x1a80b7;var _0x46ce5e,_0x1076b6;let _0x376f22=this['_configService'][_0x1f7e65(0x1e2)](f);return(_0x46ce5e=_0x376f22==null||(_0x1076b6=_0x376f22[_0x1f7e65(0x1ab)])==null?void 0x0:_0x1076b6[_0x1f7e65(0x1b7)])==null?0x1:_0x46ce5e;}[_0x1a80b7(0x21f)](){const _0x508837=_0x1a80b7;var _0x268c76,_0x2a4ec7;let _0x12fa71=this[_0x508837(0x189)][_0x508837(0x1e2)](f);return(_0x268c76=_0x12fa71==null||(_0x2a4ec7=_0x12fa71[_0x508837(0x1ab)])==null?void 0x0:_0x2a4ec7[_0x508837(0x243)])==null?0x1:_0x268c76;}['_getDisableCellImageConversion'](){const _0x5713cc=_0x1a80b7;var _0x33a4a5,_0x273500;let _0x4a5b4b=this[_0x5713cc(0x189)][_0x5713cc(0x1e2)](f);return(_0x33a4a5=_0x4a5b4b==null||(_0x273500=_0x4a5b4b['options'])==null?void 0x0:_0x273500['disableCellImageConversion'])==null?!0x0:_0x33a4a5;}[_0x1a80b7(0x203)](){const _0x55eccc=_0x1a80b7;var _0x32a6d7,_0x51d9ee;let _0x29f505=this[_0x55eccc(0x189)][_0x55eccc(0x1e2)](f);return(_0x32a6d7=_0x29f505==null||(_0x51d9ee=_0x29f505['options'])==null?void 0x0:_0x51d9ee[_0x55eccc(0x1f3)])==null?!0x1:_0x32a6d7;}};K=h([m(0x0,t[_0x1a80b7(0x2a6)]),m(0x1,(0x0,t['Inject'])(n[_0x1a80b7(0x181)])),m(0x2,(0x0,t[_0x1a80b7(0x276)])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x1a80b7(0x21b)])(_0x1a80b7(0x2a0));let J=class extends t[_0x1a80b7(0x20b)]{constructor(_0x3e2895,_0x2c4015,_0x1b7144,_0x301425,_0x5e20db,_0x3769fe,_0x341f9c){const _0x36fd47=_0x1a80b7;super(),this[_0x36fd47(0x1cc)]=_0x3e2895,this[_0x36fd47(0x185)]=_0x2c4015,this[_0x36fd47(0x1ac)]=_0x1b7144,this[_0x36fd47(0x2e4)]=_0x301425,this[_0x36fd47(0x211)]=_0x5e20db,this[_0x36fd47(0x22f)]=_0x3769fe,this['_resourceLoaderService']=_0x341f9c,v(this,_0x36fd47(0x209),new a['BehaviorSubject'](pe)),v(this,_0x36fd47(0x1a4),this[_0x36fd47(0x209)][_0x36fd47(0x231)]()),v(this,_0x36fd47(0x204),0x0),v(this,_0x36fd47(0x155),0x0),this[_0x36fd47(0x1d0)]((0x0,t['toDisposable'])(this['_exchangeService']['requestState$']['subscribe'](_0x41827c=>{const _0x2311c2=_0x36fd47;var _0x2463d6;((_0x2463d6=_0x41827c[_0x2311c2(0x184)])==null?void 0x0:_0x2463d6['code'])===c[_0x2311c2(0x2dd)]['OK']?this[_0x2311c2(0x161)](0x1):this[_0x2311c2(0x17a)](_0x41827c[_0x2311c2(0x184)]);})));}[_0x1a80b7(0x18a)](){const _0x5a7083=_0x1a80b7;this[_0x5a7083(0x2d7)](),this['_uploadNotificationService']['updateState'](0x2),this[_0x5a7083(0x2e4)][_0x5a7083(0x2de)]();}async[_0x1a80b7(0x2a7)](_0x3db874){const _0x393502=_0x1a80b7;throw Error(_0x393502(0x2c5));}async[_0x1a80b7(0x27a)](){const _0x3835ae=_0x1a80b7;let _0x2bebb7=this[_0x3835ae(0x1cc)][_0x3835ae(0x19d)]();switch(_0x2bebb7?this[_0x3835ae(0x1cc)]['getUnitType'](_0x2bebb7[_0x3835ae(0x27e)]()):t['UniverInstanceType'][_0x3835ae(0x1ce)]){case t['UniverInstanceType'][_0x3835ae(0x2be)]:return this[_0x3835ae(0x2b7)]();case t[_0x3835ae(0x277)]['UNIVER_DOC']:return this[_0x3835ae(0x234)]();case t[_0x3835ae(0x277)][_0x3835ae(0x178)]:default:return this[_0x3835ae(0x1be)]();}}async[_0x1a80b7(0x234)](){const _0x54d3d9=_0x1a80b7;let _0x1bde5b=await M([t[_0x54d3d9(0x277)]['UNIVER_DOC']]);if(_0x1bde5b&&!this[_0x54d3d9(0x23a)](_0x1bde5b,t['UniverInstanceType'][_0x54d3d9(0x18c)]))return this[_0x54d3d9(0x26f)](_0x1bde5b[0x0],t[_0x54d3d9(0x277)][_0x54d3d9(0x18c)]);}['importDOCXToSnapshot'](){const _0x28933e=_0x1a80b7;throw Error(_0x28933e(0x2c5));}async['exportDOCXByUnitId'](_0x1a3bfa,_0x2b2a41,_0x266d4e){const _0x49c73f=_0x1a80b7;this[_0x49c73f(0x299)](o['MessageType'][_0x49c73f(0x1f1)]);let _0x4f0cb8=await this[_0x49c73f(0x2e4)][_0x49c73f(0x23b)](_0x1a3bfa||this['_getUnitIDDoc']());_0x4f0cb8&&(this['_exchangeService']['downloadFile'](_0x4f0cb8,_0x2b2a41||this[_0x49c73f(0x279)](_0x4f0cb8),_0x49c73f(0x245)),this[_0x49c73f(0x299)](o['MessageType']['Success']));}async[_0x1a80b7(0x2b8)](){const _0x5e349f=_0x1a80b7;this[_0x5e349f(0x299)](o[_0x5e349f(0x1c7)][_0x5e349f(0x1f1)]);let _0x3fbadd=await this['_getUnitDocJson'](),_0x2c1e89=await this['_exchangeService'][_0x5e349f(0x2b8)](_0x3fbadd);_0x2c1e89&&(this[_0x5e349f(0x2e4)][_0x5e349f(0x196)](_0x2c1e89,this[_0x5e349f(0x279)](_0x2c1e89),_0x5e349f(0x245)),this[_0x5e349f(0x299)](o[_0x5e349f(0x1c7)][_0x5e349f(0x2b1)]));}async[_0x1a80b7(0x2b7)](){const _0x4d6455=_0x1a80b7;if(this['_uploadTaskNotDone']()){this['_messageService'][_0x4d6455(0x213)]({'type':o['MessageType']['Warning'],'content':this[_0x4d6455(0x1ac)]['t'](_0x4d6455(0x153))});return;}let _0x4deec3=await M([t[_0x4d6455(0x277)][_0x4d6455(0x2be)]]);if(_0x4deec3&&!this['_fileTypeError'](_0x4deec3,t[_0x4d6455(0x277)][_0x4d6455(0x2be)]))return this[_0x4d6455(0x26f)](_0x4deec3[0x0],t[_0x4d6455(0x277)]['UNIVER_SLIDE']);}async['importPPTXToSnapshot'](){const _0x4693df=_0x1a80b7;if(this['_uploadTaskNotDone']()){this[_0x4693df(0x185)][_0x4693df(0x213)]({'type':o[_0x4693df(0x1c7)]['Warning'],'content':this[_0x4693df(0x1ac)]['t'](_0x4693df(0x153))});return;}let _0x4867ee=await M([t[_0x4693df(0x277)][_0x4693df(0x2be)]]);if(!_0x4867ee)return;this['_showUploadMessage'](o[_0x4693df(0x1c7)][_0x4693df(0x1f1)]);let _0x4fa813=await this['_exchangeService'][_0x4693df(0x16a)](_0x4867ee[0x0]);_0x4fa813&&(this[_0x4693df(0x27c)](_0x4fa813),this[_0x4693df(0x2b4)](o['MessageType'][_0x4693df(0x2b1)]));}async[_0x1a80b7(0x28a)](_0x1a93ee,_0x336b30,_0xba2344){const _0x1881ce=_0x1a80b7;this[_0x1881ce(0x299)](o[_0x1881ce(0x1c7)][_0x1881ce(0x1f1)]);let _0x53a08c=await this[_0x1881ce(0x2e4)][_0x1881ce(0x28a)](_0x1a93ee||this['_getUnitIDSlide']());_0x53a08c&&(this['_exchangeService'][_0x1881ce(0x196)](_0x53a08c,_0x336b30||this['_getUnitNameByType'](_0x53a08c,_0xba2344==null?t[_0x1881ce(0x277)][_0x1881ce(0x2be)]:_0xba2344),_0x1881ce(0x2c7)),this[_0x1881ce(0x299)](o['MessageType']['Success']));}async[_0x1a80b7(0x251)](){const _0x134520=_0x1a80b7;this[_0x134520(0x299)](o[_0x134520(0x1c7)][_0x134520(0x1f1)]);let _0x1e84ab=await this[_0x134520(0x154)](),_0x517404=await this[_0x134520(0x2e4)][_0x134520(0x251)](_0x1e84ab);_0x517404&&(this[_0x134520(0x2e4)]['downloadFile'](_0x517404,this[_0x134520(0x22c)](_0x517404,t[_0x134520(0x277)][_0x134520(0x2be)]),_0x134520(0x2c7)),this['_showDownloadMessage'](o['MessageType'][_0x134520(0x2b1)]));}async[_0x1a80b7(0x1be)](){const _0x1f6aac=_0x1a80b7;if(this[_0x1f6aac(0x1bd)]()){this[_0x1f6aac(0x185)]['show']({'type':o[_0x1f6aac(0x1c7)]['Warning'],'content':this['_localeService']['t'](_0x1f6aac(0x153))});return;}let _0x200bce=await M([t[_0x1f6aac(0x277)][_0x1f6aac(0x178)]]);if(_0x200bce&&!this[_0x1f6aac(0x23a)](_0x200bce,t[_0x1f6aac(0x277)][_0x1f6aac(0x178)]))return this[_0x1f6aac(0x26f)](_0x200bce[0x0],t[_0x1f6aac(0x277)]['UNIVER_SHEET']);}async[_0x1a80b7(0x29d)](){const _0x36e8ac=_0x1a80b7;if(this[_0x36e8ac(0x1bd)]()){this[_0x36e8ac(0x185)][_0x36e8ac(0x213)]({'type':o[_0x36e8ac(0x1c7)]['Warning'],'content':this[_0x36e8ac(0x1ac)]['t'](_0x36e8ac(0x153))});return;}let _0x35d5f0=await M([t['UniverInstanceType'][_0x36e8ac(0x178)]]);if(!_0x35d5f0)return;this[_0x36e8ac(0x2b4)](o[_0x36e8ac(0x1c7)][_0x36e8ac(0x1f1)]);let _0x51c05b=await this['_exchangeService']['importXLSXToSnapshot'](_0x35d5f0[0x0]);_0x51c05b&&(this[_0x36e8ac(0x22a)](_0x51c05b),this['_showUploadMessage'](o[_0x36e8ac(0x1c7)]['Success']));}async[_0x1a80b7(0x27b)](_0x483c73,_0x78f41c,_0x237d3c){const _0x5ab07=_0x1a80b7;this[_0x5ab07(0x299)](o[_0x5ab07(0x1c7)][_0x5ab07(0x1f1)]);let _0x3bb0a0=await this[_0x5ab07(0x2e4)][_0x5ab07(0x27b)](_0x483c73||this['_getUnitID']());_0x3bb0a0&&(this[_0x5ab07(0x2e4)][_0x5ab07(0x196)](_0x3bb0a0,_0x78f41c||this[_0x5ab07(0x279)](_0x3bb0a0),_0x5ab07(0x1ee)),this[_0x5ab07(0x299)](o[_0x5ab07(0x1c7)][_0x5ab07(0x2b1)]));}async[_0x1a80b7(0x2ae)](){const _0x26635d=_0x1a80b7;this[_0x26635d(0x299)](o[_0x26635d(0x1c7)][_0x26635d(0x1f1)]);let _0x45d4ee=await this[_0x26635d(0x1c4)](),_0x1aaf2f=await this[_0x26635d(0x2e4)][_0x26635d(0x2ae)](_0x45d4ee);_0x1aaf2f&&(this[_0x26635d(0x2e4)][_0x26635d(0x196)](_0x1aaf2f,this[_0x26635d(0x279)](_0x1aaf2f),_0x26635d(0x1ee)),this[_0x26635d(0x299)](o['MessageType'][_0x26635d(0x2b1)]));}[_0x1a80b7(0x168)](_0x57593a){const _0x2607de=_0x1a80b7;this[_0x2607de(0x275)]=_0x57593a;}async[_0x1a80b7(0x26f)](_0xb58d3f,_0x7d2ee4){const _0x48ece8=_0x1a80b7;this[_0x48ece8(0x211)][_0x48ece8(0x213)](),this['_uploadNotificationService'][_0x48ece8(0x2cf)](0x0),this[_0x48ece8(0x175)](0x4),this[_0x48ece8(0x161)](0x1);let _0x2367c4=await this[_0x48ece8(0x2e4)]['importFileToUnitId'](_0xb58d3f,_0x7d2ee4);if(!_0x2367c4){this['_clearProgress'](),this['_uploadNotificationService'][_0x48ece8(0x2cf)](0x2);return;}let _0x4fa194={'link':this[_0x48ece8(0x275)](_0x2367c4,_0x7d2ee4),'name':_0xb58d3f[_0x48ece8(0x258)],'type':_0x7d2ee4};return this[_0x48ece8(0x211)][_0x48ece8(0x227)](_0x4fa194),this['_completeProgress'](),this['_uploadNotificationService']['updateState'](0x1),_0x2367c4;}[_0x1a80b7(0x22e)](){const _0x1be4b3=_0x1a80b7;return this[_0x1be4b3(0x1cc)][_0x1be4b3(0x28d)](t[_0x1be4b3(0x277)][_0x1be4b3(0x178)])[_0x1be4b3(0x27e)]();}[_0x1a80b7(0x247)](){const _0x4cfc60=_0x1a80b7;return this[_0x4cfc60(0x1cc)][_0x4cfc60(0x28d)](t[_0x4cfc60(0x277)][_0x4cfc60(0x18c)])[_0x4cfc60(0x27e)]();}['_getUnitIDSlide'](){const _0x541320=_0x1a80b7;return this[_0x541320(0x1cc)][_0x541320(0x28d)](t[_0x541320(0x277)][_0x541320(0x2be)])['getUnitId']();}[_0x1a80b7(0x279)](_0x569cd3){const _0x526d53=_0x1a80b7;return this['_getUnitNameByType'](_0x569cd3,t[_0x526d53(0x277)][_0x526d53(0x178)]);}[_0x1a80b7(0x22c)](_0x571483,_0x3d6eba){const _0x1e2055=_0x1a80b7;var _0x288a9b;let _0xf6dd9a=(_0x288a9b=this[_0x1e2055(0x1cc)]['getCurrentUnitOfType'](_0x3d6eba))==null?void 0x0:_0x288a9b['getSnapshot'](),_0x42875f=_0xf6dd9a==null?void 0x0:_0xf6dd9a[_0x1e2055(0x258)];return typeof _0x42875f==_0x1e2055(0x2e0)&&_0x42875f['trim']()?_0x42875f:_0x571483['name'][_0x1e2055(0x195)]('.')['shift']()||document[_0x1e2055(0x228)];}async[_0x1a80b7(0x1c4)](){const _0x1a87ab=_0x1a80b7;let _0x85019a=this[_0x1a87ab(0x1cc)]['getCurrentUnitOfType'](t['UniverInstanceType'][_0x1a87ab(0x178)]),_0x587209=this[_0x1a87ab(0x21c)][_0x1a87ab(0x24c)](_0x85019a['getUnitId']());return _0x587209==null?_0x85019a['getSnapshot']():_0x587209;}async[_0x1a80b7(0x2e2)](){const _0x8f6039=_0x1a80b7;let _0x2a07da=this['_univerInstanceService'][_0x8f6039(0x28d)](t[_0x8f6039(0x277)][_0x8f6039(0x18c)]),_0x47333d=this[_0x8f6039(0x21c)]['saveUnit'](_0x2a07da[_0x8f6039(0x27e)]());return _0x47333d==null?_0x2a07da['getSnapshot']():_0x47333d;}async[_0x1a80b7(0x154)](){const _0x238175=_0x1a80b7;let _0x1dc9d5=this[_0x238175(0x1cc)][_0x238175(0x28d)](t[_0x238175(0x277)][_0x238175(0x2be)]),_0x2172ef=this[_0x238175(0x21c)]['saveUnit'](_0x1dc9d5['getUnitId']());return _0x2172ef==null?_0x1dc9d5[_0x238175(0x2d9)]():_0x2172ef;}[_0x1a80b7(0x275)](_0x405993,_0x87ffb){const _0x13798a=_0x1a80b7;let _0x581b57=new URL(window[_0x13798a(0x2ac)]['href']);return _0x581b57[_0x13798a(0x187)][_0x13798a(0x298)](_0x13798a(0x2a4),_0x405993),_0x581b57[_0x13798a(0x187)]['set'](_0x13798a(0x2ca),''+_0x87ffb),_0x581b57['toString']();}['_refresh'](_0x44c2d9){const _0x17ad5b=_0x1a80b7;let _0x5a31af=this['_univerInstanceService'][_0x17ad5b(0x28d)](t['UniverInstanceType'][_0x17ad5b(0x178)])[_0x17ad5b(0x27e)]();this[_0x17ad5b(0x1cc)]['disposeUnit'](_0x5a31af),this[_0x17ad5b(0x1cc)]['createUnit'](t[_0x17ad5b(0x277)][_0x17ad5b(0x178)],_0x44c2d9);}[_0x1a80b7(0x27c)](_0x2e570d){const _0xb74d4=_0x1a80b7;let _0x39f04d=this[_0xb74d4(0x1cc)][_0xb74d4(0x28d)](t['UniverInstanceType'][_0xb74d4(0x2be)])[_0xb74d4(0x27e)]();this[_0xb74d4(0x1cc)][_0xb74d4(0x284)](_0x39f04d),this['_univerInstanceService'][_0xb74d4(0x264)](t[_0xb74d4(0x277)]['UNIVER_SLIDE'],_0x2e570d);}['_showNetworkError'](_0x53da5b){const _0x2e90e2=_0x1a80b7;if(_0x53da5b){let {code:_0x1538d2}=_0x53da5b;switch(_0x1538d2){case c[_0x2e90e2(0x2dd)][_0x2e90e2(0x226)]:this[_0x2e90e2(0x185)]['show']({'type':o[_0x2e90e2(0x1c7)][_0x2e90e2(0x177)],'content':this[_0x2e90e2(0x1ac)]['t'](_0x2e90e2(0x2c8))});break;case c[_0x2e90e2(0x2dd)][_0x2e90e2(0x1c8)]:this[_0x2e90e2(0x185)]['show']({'type':o[_0x2e90e2(0x1c7)]['Error'],'content':this[_0x2e90e2(0x1ac)]['t'](_0x2e90e2(0x158))});break;default:this['_messageService'][_0x2e90e2(0x213)]({'type':o[_0x2e90e2(0x1c7)][_0x2e90e2(0x177)],'content':this[_0x2e90e2(0x1ac)]['t'](_0x2e90e2(0x1d6))});break;}return null;}return this[_0x2e90e2(0x185)][_0x2e90e2(0x213)]({'type':o['MessageType'][_0x2e90e2(0x177)],'content':this[_0x2e90e2(0x1ac)]['t'](_0x2e90e2(0x1d6))}),null;}[_0x1a80b7(0x299)](_0x2ca7df){const _0x5758e8=_0x1a80b7;let _0x5a4c7c='';switch(_0x2ca7df){case o['MessageType'][_0x5758e8(0x2b1)]:_0x5a4c7c=this['_localeService']['t'](_0x5758e8(0x1b2));break;case o[_0x5758e8(0x1c7)][_0x5758e8(0x1f1)]:_0x5a4c7c=this[_0x5758e8(0x1ac)]['t'](_0x5758e8(0x173));break;default:break;}this[_0x5758e8(0x185)][_0x5758e8(0x213)]({'type':_0x2ca7df,'content':_0x5a4c7c});}[_0x1a80b7(0x2b4)](_0x57d555){const _0x2d3090=_0x1a80b7;let _0x1e62ec='';switch(_0x57d555){case o[_0x2d3090(0x1c7)][_0x2d3090(0x2b1)]:_0x1e62ec=this['_localeService']['t'](_0x2d3090(0x2c3));break;case o['MessageType'][_0x2d3090(0x1f1)]:_0x1e62ec=this['_localeService']['t'](_0x2d3090(0x153));break;default:break;}this[_0x2d3090(0x185)][_0x2d3090(0x213)]({'type':_0x57d555,'content':_0x1e62ec});}[_0x1a80b7(0x198)](){const _0x1318b2=_0x1a80b7;this['_progress$'][_0x1318b2(0x18e)]({'done':this[_0x1318b2(0x155)],'count':this['_totalUploadTaskCount']});}[_0x1a80b7(0x175)](_0x511ed7){const _0x36ee56=_0x1a80b7;this[_0x36ee56(0x204)]+=_0x511ed7,this[_0x36ee56(0x198)]();}[_0x1a80b7(0x161)](_0x3105f6){const _0x5b598d=_0x1a80b7;this[_0x5b598d(0x155)]+=_0x3105f6,this[_0x5b598d(0x155)]=Math[_0x5b598d(0x224)](this[_0x5b598d(0x155)],this['_totalUploadTaskCount']),this[_0x5b598d(0x198)]();}[_0x1a80b7(0x2a2)](){const _0x139516=_0x1a80b7;this[_0x139516(0x155)]=this[_0x139516(0x204)],this['_emitProgress']();}[_0x1a80b7(0x2d7)](){const _0x570fbc=_0x1a80b7;this[_0x570fbc(0x155)]=0x0,this[_0x570fbc(0x204)]=0x0,this[_0x570fbc(0x198)]();}['_fileTypeError'](_0x571358,_0x321b77){const _0x110085=_0x1a80b7;let _0x547d4d=_0x571358[0x0],_0x182649=_0x547d4d[_0x110085(0x258)];return j(_0x547d4d)===_0x321b77?!0x1:(this['_messageService'][_0x110085(0x213)]({'type':o['MessageType']['Error'],'content':this[_0x110085(0x1ac)]['t'](_0x110085(0x1c3),_0x182649)}),!0x0);}[_0x1a80b7(0x1bd)](){const _0x26fa85=_0x1a80b7;return this[_0x26fa85(0x204)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x26fa85(0x204)];}};J=h([m(0x0,(0x0,t[_0x1a80b7(0x276)])(t[_0x1a80b7(0x1b8)])),m(0x1,i[_0x1a80b7(0x2b6)]),m(0x2,(0x0,t[_0x1a80b7(0x276)])(t[_0x1a80b7(0x1d3)])),m(0x3,(0x0,t[_0x1a80b7(0x276)])(G)),m(0x4,(0x0,t[_0x1a80b7(0x276)])(y)),m(0x5,t['ILogService']),m(0x6,(0x0,t[_0x1a80b7(0x276)])(t[_0x1a80b7(0x281)]))],J);function Y(_0x201db5){const _0x112c1d=_0x1a80b7;let {onClick:_0x1557ab,children:_0x14dff4,className:_0xe498bf}=_0x201db5;return(0x0,s[_0x112c1d(0x1a1)])(_0x112c1d(0x2aa),{'className':(0x0,o[_0x112c1d(0x199)])(_0x112c1d(0x1ae),_0xe498bf),'type':_0x112c1d(0x2aa),'onClick':_0x1557ab,'children':_0x14dff4});}function X(){const _0x2fc665=_0x1a80b7;let _0x1cf850=(0x0,i[_0x2fc665(0x292)])(q),_0x2ebd7d=(0x0,i[_0x2fc665(0x292)])(t[_0x2fc665(0x1d3)]);function _0x599bf5(){const _0x2902ad=_0x2fc665;_0x1cf850[_0x2902ad(0x27a)]();}return(0x0,s[_0x2fc665(0x1a1)])(Y,{'onClick':_0x599bf5,'children':_0x2ebd7d['t'](_0x2fc665(0x1e1))});}function me(){const _0x1475c9=_0x1a80b7;return(0x0,s['jsxs'])(_0x1475c9(0x230),{'className':_0x1475c9(0x28e),'children':[(0x0,s[_0x1475c9(0x1a1)])(_0x1475c9(0x2b0),{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i['useDependency'])(t[_0x1475c9(0x1d3)])['t'](_0x1475c9(0x25c))}),(0x0,s[_0x1475c9(0x1a1)])(X,{})]});}function he(_0x19e8a1){const _0x509f62=_0x1a80b7;let {count:_0x39b052}=_0x19e8a1;return(0x0,s[_0x509f62(0x2d0)])('div',{'className':_0x509f62(0x19e),'children':[(0x0,s[_0x509f62(0x1a1)])(_0x509f62(0x2b0),{'className':_0x509f62(0x267),'children':(0x0,i[_0x509f62(0x292)])(t[_0x509f62(0x1d3)])['t'](_0x509f62(0x1da),''+_0x39b052)}),(0x0,s[_0x509f62(0x1a1)])(X,{})]});}function ge(){const _0x13036e=_0x1a80b7;let _0x41599c=(0x0,i[_0x13036e(0x292)])(q),_0x31a12d=(0x0,i['useDependency'])(t[_0x13036e(0x1d3)]);function _0x1715c4(){const _0x460039=_0x13036e;_0x41599c[_0x460039(0x18a)]();}return(0x0,s[_0x13036e(0x1a1)])(Y,{'onClick':_0x1715c4,'children':_0x31a12d['t']('exchange-client.cancel')});}function _e(){const _0x1ec195=_0x1a80b7;let {count:_0x2e4936,done:_0x2a1371}=(0x0,i[_0x1ec195(0x215)])((0x0,i[_0x1ec195(0x292)])(q)[_0x1ec195(0x1a4)]),_0x10213a=_0x2e4936>0x0?_0x2a1371/_0x2e4936:0x0;return(0x0,s[_0x1ec195(0x1a1)])(_0x1ec195(0x230),{'className':_0x1ec195(0x17b),'children':(0x0,s[_0x1ec195(0x1a1)])(_0x1ec195(0x230),{'className':_0x1ec195(0x20f),'style':{'width':Math[_0x1ec195(0x1e3)](_0x10213a*0x64)+'%'}})});}function ve(){const _0x1fad33=_0x1a80b7;return(0x0,s[_0x1fad33(0x2d0)])(_0x1fad33(0x230),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,s[_0x1fad33(0x1a1)])(_0x1fad33(0x2b0),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i[_0x1fad33(0x292)])(t[_0x1fad33(0x1d3)])['t'](_0x1fad33(0x1e5))}),(0x0,s[_0x1fad33(0x1a1)])(_0x1fad33(0x230),{'className':_0x1fad33(0x263),'children':(0x0,s[_0x1fad33(0x1a1)])(_e,{})}),(0x0,s[_0x1fad33(0x1a1)])(ge,{})]});}const Z={0x1:(0x0,s['jsx'])(r[_0x1a80b7(0x24d)],{'className':_0x1a80b7(0x1f8)}),0x0:(0x0,s[_0x1a80b7(0x1a1)])(r[_0x1a80b7(0x24f)],{'className':_0x1a80b7(0x2e6)}),0x2:(0x0,s[_0x1a80b7(0x1a1)])(r[_0x1a80b7(0x242)],{'className':_0x1a80b7(0x255)})};function ye(){const _0x2b9f1b=_0x1a80b7;let _0x36ce5c=(0x0,i[_0x2b9f1b(0x292)])(y),_0x168531=(0x0,i[_0x2b9f1b(0x292)])(t[_0x2b9f1b(0x1d3)]),_0x3e1305=(0x0,i['useObservable'])(_0x36ce5c[_0x2b9f1b(0x212)],0x0),_0x42e198=(0x0,i[_0x2b9f1b(0x215)])(_0x36ce5c[_0x2b9f1b(0x2d8)],!0x1),_0x8519b=(0x0,i[_0x2b9f1b(0x215)])(_0x36ce5c['list$'],[]);function _0x540ef3(){_0x36ce5c['hide']();}function _0x491d7c(_0x4dbe86){const _0x40a446=_0x2b9f1b;switch(_0x4dbe86){case 0x1:return _0x168531['t'](_0x40a446(0x2c3));case 0x0:return _0x168531['t'](_0x40a446(0x153));case 0x2:return _0x168531['t'](_0x40a446(0x1bb));default:return'';}}return _0x42e198&&(0x0,s['jsxs'])(_0x2b9f1b(0x230),{'className':_0x2b9f1b(0x1eb),'children':[(0x0,s[_0x2b9f1b(0x2d0)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,s[_0x2b9f1b(0x2d0)])(_0x2b9f1b(0x2b0),{'className':_0x2b9f1b(0x1ba),'children':[(0x0,s[_0x2b9f1b(0x1a1)])(_0x2b9f1b(0x2b0),{'className':'univer-h-6\x20univer-text-2xl','children':Z[_0x3e1305]}),(0x0,s['jsx'])(_0x2b9f1b(0x2b0),{'className':_0x2b9f1b(0x182),'children':_0x491d7c(_0x3e1305)})]}),(0x0,s['jsx'])(_0x2b9f1b(0x2b0),{'className':_0x2b9f1b(0x1ec),'onClick':_0x540ef3,'children':(0x0,s['jsx'])(r[_0x2b9f1b(0x241)],{})})]}),(0x0,s[_0x2b9f1b(0x2d0)])('div',{'children':[_0x3e1305===0x0&&(0x0,s[_0x2b9f1b(0x1a1)])(ve,{}),_0x3e1305===0x2&&(0x0,s['jsx'])(me,{}),_0x8519b[_0x2b9f1b(0x25b)]>0x0&&(0x0,s[_0x2b9f1b(0x1a1)])(re,{'list':_0x8519b}),_0x3e1305===0x1&&(0x0,s['jsx'])(he,{'count':_0x8519b[_0x2b9f1b(0x25b)]})]})]});}function be(){const _0xc04003=_0x1a80b7;return(0x0,s[_0xc04003(0x1a1)])(ye,{});}let Q=class extends t[_0x1a80b7(0x20b)]{constructor(_0x224332,_0x409804){const _0x6a5090=_0x1a80b7;super(),this[_0x6a5090(0x26a)]=_0x224332,this['_uiPartsService']=_0x409804,this[_0x6a5090(0x236)]();}['_registerUIParts'](){const _0x17ca2a=_0x1a80b7;this['disposeWithMe'](this[_0x17ca2a(0x283)][_0x17ca2a(0x1bc)](i[_0x17ca2a(0x1d5)][_0x17ca2a(0x29b)],()=>(0x0,i[_0x17ca2a(0x190)])(be,this[_0x17ca2a(0x26a)])));}};Q=h([m(0x0,(0x0,t[_0x1a80b7(0x276)])(t[_0x1a80b7(0x2ab)])),m(0x1,i[_0x1a80b7(0x2bd)])],Q);let $=class extends t[_0x1a80b7(0x246)]{constructor(_0x44aff3=p,_0x7b8b9,_0x2b11ad){const _0x4aeda9=_0x1a80b7;super(),this['_config']=_0x44aff3,this[_0x4aeda9(0x26a)]=_0x7b8b9,this[_0x4aeda9(0x189)]=_0x2b11ad;let {..._0xe13459}=(0x0,t['merge'])({},p,this[_0x4aeda9(0x23f)]);this[_0x4aeda9(0x189)][_0x4aeda9(0x280)](f,_0xe13459);}[_0x1a80b7(0x18b)](){const _0xf595ac=_0x1a80b7;(0x0,t[_0xf595ac(0x27f)])(this[_0xf595ac(0x26a)],[[g],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[y,{'useClass':b}]]);}[_0x1a80b7(0x290)](){const _0x2dd315=_0x1a80b7;(0x0,t[_0x2dd315(0x223)])(this[_0x2dd315(0x26a)],[[g],[Q],[q]]);}};v($,'pluginName',_0x1a80b7(0x1de)),v($,'packageName',d),v($,_0x1a80b7(0x20c),ee),$=h([(0x0,t[_0x1a80b7(0x2e1)])(n[_0x1a80b7(0x20d)],e[_0x1a80b7(0x164)]),m(0x1,(0x0,t[_0x1a80b7(0x276)])(t[_0x1a80b7(0x2ab)])),m(0x2,t['IConfigService'])],$),exports[_0x1a80b7(0x270)]=q,exports['IExchangeService']=G,Object['defineProperty'](exports,_0x1a80b7(0x262),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x1a80b7(0x196)]=A,exports['transformSnapshotJsonToWorkbookData']=ue,exports['transformWorkbookDataToSnapshotJson']=V;
|
|
1
|
+
const _0x3a4b72=_0x2250;(function(_0x59bda3,_0xbca859){const _0x30d370=_0x2250,_0x280a48=_0x59bda3();while(!![]){try{const _0x4b4f9a=parseInt(_0x30d370(0x137))/0x1*(parseInt(_0x30d370(0x174))/0x2)+parseInt(_0x30d370(0x254))/0x3*(-parseInt(_0x30d370(0x191))/0x4)+parseInt(_0x30d370(0xe6))/0x5*(parseInt(_0x30d370(0x124))/0x6)+-parseInt(_0x30d370(0x170))/0x7*(parseInt(_0x30d370(0x1f4))/0x8)+parseInt(_0x30d370(0x1c6))/0x9+parseInt(_0x30d370(0x248))/0xa*(parseInt(_0x30d370(0x1da))/0xb)+parseInt(_0x30d370(0xe7))/0xc*(-parseInt(_0x30d370(0x103))/0xd);if(_0x4b4f9a===_0xbca859)break;else _0x280a48['push'](_0x280a48['shift']());}catch(_0x153128){_0x280a48['push'](_0x280a48['shift']());}}}(_0x3cc8,0xdf72a),Object[_0x3a4b72(0x1fe)](exports,Symbol[_0x3a4b72(0x164)],{'value':_0x3a4b72(0x23b)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/design'),s=require('react/jsx-runtime'),c=require('@univerjs/protocol'),l=require('@univerjs-pro/collaboration'),u=require('fflate');var d=_0x3a4b72(0xed),ee=_0x3a4b72(0x24a);const f=_0x3a4b72(0x1de),p={};function m(_0x3fe0be,_0x370271){return function(_0x1cb241,_0x5f15f9){_0x370271(_0x1cb241,_0x5f15f9,_0x3fe0be);};}function h(_0x26dbae,_0x44f778,_0x2d8c21,_0x3fcb51){const _0xbb62c2=_0x3a4b72;var _0x5a8e46=arguments[_0xbb62c2(0x213)],_0x179f7f=_0x5a8e46<0x3?_0x44f778:_0x3fcb51===null?_0x3fcb51=Object[_0xbb62c2(0x125)](_0x44f778,_0x2d8c21):_0x3fcb51,_0x3159af;if(typeof Reflect==_0xbb62c2(0x247)&&typeof Reflect['decorate']=='function')_0x179f7f=Reflect[_0xbb62c2(0xeb)](_0x26dbae,_0x44f778,_0x2d8c21,_0x3fcb51);else{for(var _0x34b587=_0x26dbae[_0xbb62c2(0x213)]-0x1;_0x34b587>=0x0;_0x34b587--)(_0x3159af=_0x26dbae[_0x34b587])&&(_0x179f7f=(_0x5a8e46<0x3?_0x3159af(_0x179f7f):_0x5a8e46>0x3?_0x3159af(_0x44f778,_0x2d8c21,_0x179f7f):_0x3159af(_0x44f778,_0x2d8c21))||_0x179f7f);}return _0x5a8e46>0x3&&_0x179f7f&&Object[_0xbb62c2(0x1fe)](_0x44f778,_0x2d8c21,_0x179f7f),_0x179f7f;}let g=class extends t[_0x3a4b72(0x122)]{constructor(_0x3be88b){const _0x125975=_0x3a4b72;super(),this[_0x125975(0x252)]=_0x3be88b,this[_0x125975(0x118)]();}[_0x3a4b72(0x118)](){const _0x55db64=_0x3a4b72;this[_0x55db64(0x244)](this['_iconManager'][_0x55db64(0x18f)]({'DirectExportIcon':r['DirectExportIcon']}));}};g=h([m(0x0,(0x0,t['Inject'])(i[_0x3a4b72(0x253)]))],g);function _(_0x1290c3){'@babel/helpers - typeof';const _0x588a8e=_0x3a4b72;return _=typeof Symbol=='function'&&typeof Symbol[_0x588a8e(0x202)]=='symbol'?function(_0x4affc1){return typeof _0x4affc1;}:function(_0x16e4e4){const _0x1d0d9d=_0x588a8e;return _0x16e4e4&&typeof Symbol==_0x1d0d9d(0x1a3)&&_0x16e4e4['constructor']===Symbol&&_0x16e4e4!==Symbol[_0x1d0d9d(0x196)]?_0x1d0d9d(0x1d0):typeof _0x16e4e4;},_(_0x1290c3);}function te(_0xffe21,_0xe96eac){const _0x461bff=_0x3a4b72;if(_(_0xffe21)!='object'||!_0xffe21)return _0xffe21;var _0x49bf47=_0xffe21[Symbol[_0x461bff(0x22f)]];if(_0x49bf47!==void 0x0){var _0xbb07d5=_0x49bf47[_0x461bff(0x24e)](_0xffe21,_0xe96eac||_0x461bff(0x181));if(_(_0xbb07d5)!=_0x461bff(0x247))return _0xbb07d5;throw TypeError(_0x461bff(0x1f7));}return(_0xe96eac===_0x461bff(0x219)?String:Number)(_0xffe21);}function ne(_0x34e3f2){const _0x113792=_0x3a4b72;var _0x30fc1a=te(_0x34e3f2,_0x113792(0x219));return _(_0x30fc1a)==_0x113792(0x1d0)?_0x30fc1a:_0x30fc1a+'';}function v(_0x366885,_0x4f0022,_0x3096fd){const _0x3ab8ff=_0x3a4b72;return(_0x4f0022=ne(_0x4f0022))in _0x366885?Object[_0x3ab8ff(0x1fe)](_0x366885,_0x4f0022,{'value':_0x3096fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x366885[_0x4f0022]=_0x3096fd,_0x366885;}const y=(0x0,t[_0x3a4b72(0x172)])(_0x3a4b72(0x135));var b=class extends t[_0x3a4b72(0x122)]{constructor(){const _0x4a9435=_0x3a4b72;super(),v(this,_0x4a9435(0x226),new a[(_0x4a9435(0x128))]()),v(this,_0x4a9435(0x171),new a[(_0x4a9435(0x128))]()),v(this,_0x4a9435(0x157),new a[(_0x4a9435(0x128))]()),v(this,_0x4a9435(0x16f),this[_0x4a9435(0x226)]['asObservable']()),v(this,_0x4a9435(0x188),this[_0x4a9435(0x171)]['asObservable']()),v(this,_0x4a9435(0x211),this[_0x4a9435(0x157)][_0x4a9435(0x193)]()),v(this,_0x4a9435(0x240),[]);}[_0x3a4b72(0x198)](){const _0x193025=_0x3a4b72;super[_0x193025(0x198)](),this[_0x193025(0x226)]['complete'](),this[_0x193025(0x171)]['complete'](),this['_list$'][_0x193025(0x215)]();}['show'](){const _0x3abe8c=_0x3a4b72;this[_0x3abe8c(0x226)]['next'](!0x0);}[_0x3a4b72(0x1f3)](){const _0x95c288=_0x3a4b72;this[_0x95c288(0x226)]['next'](!0x1);}[_0x3a4b72(0x235)](_0x342748){const _0x495ffc=_0x3a4b72;this[_0x495ffc(0x171)][_0x495ffc(0xf3)](_0x342748);}[_0x3a4b72(0x18e)](_0x45ed66){const _0x17ab38=_0x3a4b72;this['_list'][_0x17ab38(0x16c)](_0x45ed66),this[_0x17ab38(0x157)][_0x17ab38(0xf3)](this[_0x17ab38(0x240)]);}};function re(_0x57a437){const _0x54e91f=_0x3a4b72;let {list:_0x3c94f2}=_0x57a437;function _0x1b10ba(_0x4a28a0){const _0x51f3a6=_0x2250;switch(_0x4a28a0){case 0x1:return(0x0,s[_0x51f3a6(0x1ae)])(r['DocsMultiIcon'],{});case 0x2:return(0x0,s[_0x51f3a6(0x1ae)])(r[_0x51f3a6(0x1c1)],{});case 0x3:return(0x0,s[_0x51f3a6(0x1ae)])(r[_0x51f3a6(0x130)],{});default:return null;}}return(0x0,s['jsx'])(_0x54e91f(0x250),{'className':(0x0,o['clsx'])(_0x54e91f(0x1ca),o['scrollbarClassName']),'children':(0x0,s['jsx'])('ul',{'className':_0x54e91f(0x200),'children':_0x3c94f2[_0x54e91f(0x238)]((_0x30d347,_0x45186b)=>(0x0,s[_0x54e91f(0x1ae)])('li',{'children':(0x0,s[_0x54e91f(0xfc)])('a',{'className':'univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','href':_0x30d347[_0x54e91f(0x12c)],'target':_0x54e91f(0x163),'rel':_0x54e91f(0x184),'children':[(0x0,s[_0x54e91f(0xfc)])(_0x54e91f(0x111),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,s[_0x54e91f(0x1ae)])(_0x54e91f(0x111),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x1b10ba(_0x30d347[_0x54e91f(0xf0)])}),(0x0,s[_0x54e91f(0x1ae)])(o[_0x54e91f(0x10d)],{'showIfEllipsis':!0x0,'title':_0x30d347[_0x54e91f(0x102)],'asChild':!0x0,'children':(0x0,s[_0x54e91f(0x1ae)])('span',{'className':_0x54e91f(0xf8),'children':_0x30d347[_0x54e91f(0x102)]})})]}),(0x0,s[_0x54e91f(0x1ae)])('span',{'className':'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','children':(0x0,s[_0x54e91f(0x1ae)])(r[_0x54e91f(0x1a7)],{})})]})},_0x45186b))})});}const x=_0x3a4b72(0x1e5),S=_0x3a4b72(0x110),C='application/vnd.ms-excel.sheet.macroEnabled.12',w=_0x3a4b72(0x249),T=_0x3a4b72(0x1e0),E='application/pdf',D={[t[_0x3a4b72(0x13e)][_0x3a4b72(0xff)]]:[''],[t['UniverInstanceType'][_0x3a4b72(0xe3)]]:[x],[t[_0x3a4b72(0x13e)][_0x3a4b72(0x11c)]]:[S,C,w],[t['UniverInstanceType'][_0x3a4b72(0x237)]]:[T],[t[_0x3a4b72(0x13e)]['UNIVER_BASE']]:[''],[t['UniverInstanceType'][_0x3a4b72(0x257)]]:[''],[t[_0x3a4b72(0x13e)][_0x3a4b72(0x15c)]]:[''],[t[_0x3a4b72(0x13e)][_0x3a4b72(0x190)]]:[E],[t[_0x3a4b72(0x13e)][_0x3a4b72(0x133)]]:['']},O={[x]:'docx',[S]:'xlsx',[C]:_0x3a4b72(0x117),[w]:_0x3a4b72(0x14b),[T]:_0x3a4b72(0xdd),[E]:'pdf'};function k(_0x1c2798,_0x53fa7f,_0x577ebf){const _0x2777cb=_0x3a4b72;let _0x2208d4=document[_0x2777cb(0x1aa)]('a');_0x2208d4['href']=_0x1c2798,_0x2208d4[_0x2777cb(0x22c)][_0x2777cb(0x175)]=_0x2777cb(0x246),_0x2208d4[_0x2777cb(0x136)]=_0x53fa7f+'.'+_0x577ebf,document[_0x2777cb(0xf1)]['appendChild'](_0x2208d4),_0x2208d4[_0x2777cb(0x141)](),document['body']['removeChild'](_0x2208d4);}function A(_0x5eb79b,_0x5ea0f1,_0x518440){const _0x29042e=_0x3a4b72;let _0x38d38b=URL[_0x29042e(0x19e)](_0x5eb79b);k(_0x38d38b,_0x5ea0f1,_0x518440),URL[_0x29042e(0x1e3)](_0x38d38b);}function j(_0x1dc6e3){const _0xcd9726=_0x3a4b72;let _0x275de0=_0x1dc6e3[_0xcd9726(0x102)][_0xcd9726(0x1c5)]('.')[_0xcd9726(0x156)]();if(!_0x275de0)return t[_0xcd9726(0x13e)][_0xcd9726(0xff)];let _0x166c29=ie(),_0x378077=t[_0xcd9726(0x13e)][_0xcd9726(0xff)];return _0x166c29['some'](_0x5487bb=>ae(_0x275de0,_0x5487bb)?(_0x378077=_0x5487bb,!0x0):!0x1),_0x378077;}function ie(){const _0x59c151=_0x3a4b72;return Object[_0x59c151(0x159)](t[_0x59c151(0x13e)])['filter'](_0x3cd83f=>typeof _0x3cd83f==_0x59c151(0x1b7));}function ae(_0x43a38c,_0x4f2e08){const _0x34bb4a=_0x3a4b72;var _0x1c38b3;return((_0x1c38b3=D[_0x4f2e08])==null?[]:_0x1c38b3)['map'](_0x516dd4=>(O[_0x516dd4]||'')[_0x34bb4a(0x16e)]())['includes'](_0x43a38c['toLowerCase']());}function M(_0x127bb8,_0x5dcde5=!0x1){const _0x2ca84d=_0x3a4b72;let _0x2ad4dc=_0x127bb8[_0x2ca84d(0x238)](_0x5db43d=>{var _0x4dcf19;return(_0x4dcf19=D[_0x5db43d])==null?[]:_0x4dcf19;})[_0x2ca84d(0x153)](',');return new Promise((_0x117531,_0x569946)=>{const _0x58b43e=_0x2ca84d;let _0x389620=document[_0x58b43e(0x1aa)](_0x58b43e(0x18c));_0x389620[_0x58b43e(0xf0)]='file',_0x389620[_0x58b43e(0x258)]=_0x2ad4dc,_0x389620[_0x58b43e(0x1dc)]=_0x5dcde5,_0x389620[_0x58b43e(0x1e8)](_0x58b43e(0x160),_0x2cb1f0=>{const _0x1f259f=_0x58b43e;let _0x56e1d8=_0x2cb1f0['currentTarget'];if(!_0x56e1d8[_0x1f259f(0x1a2)]||_0x56e1d8['files'][_0x1f259f(0x213)]===0x0)throw _0x569946(null),Error(_0x1f259f(0x224));_0x117531(_0x56e1d8[_0x1f259f(0x1a2)]);}),_0x389620[_0x58b43e(0x141)]();});}async function N(_0x28765a,_0x10b09b){const _0x30b8ac=_0x3a4b72;try{var _0x158eb1,_0xa893bf,_0x4df3a6;let _0x21b214=await _0x10b09b[_0x30b8ac(0xde)](_0x28765a,{'responseType':_0x30b8ac(0xec)}),_0x2d54d8=_0x21b214[_0x30b8ac(0xf1)],_0x110379=(_0x158eb1=(_0xa893bf=_0x21b214[_0x30b8ac(0x23e)][_0x30b8ac(0xde)]('Content-Type'))==null?void 0x0:_0xa893bf[_0x30b8ac(0x153)](',\x20'))==null?'application/octet-stream':_0x158eb1,_0x159dc9=_0x30b8ac(0x154)+(O[_0x110379]||'xlsx'),_0x7407ca=(_0x4df3a6=_0x21b214['headers'][_0x30b8ac(0xde)](_0x30b8ac(0x112)))==null?void 0x0:_0x4df3a6[_0x30b8ac(0x153)](',\x20');if(_0x7407ca){let _0x335bc5=_0x7407ca['match'](/filename=(.+)/);_0x335bc5&&_0x335bc5[0x1]&&(_0x159dc9=_0x335bc5[0x1]);}else _0x159dc9=oe(_0x28765a)||_0x159dc9;return new File([_0x2d54d8],_0x159dc9,{'type':_0x110379});}catch(_0x3c420a){console['error']('Error\x20fetching\x20file\x20from\x20URL:',_0x3c420a);return;}}function oe(_0x2c00d0){const _0x23c354=_0x3a4b72;try{return new URL(_0x2c00d0)['pathname'][_0x23c354(0x1c5)]('/')['pop']();}catch(_0x5d7db6){console['error'](_0x23c354(0x134),_0x5d7db6);return;}}function se(_0x2285fb){const _0x544cc4=_0x3a4b72;let _0x28d259=new Blob([_0x2285fb['buffer']],{'type':_0x544cc4(0x138)});return new File([_0x28d259],_0x544cc4(0xea));}function P(_0xb00f72,_0x3330c1){const _0x509acd=_0x3a4b72;return _0xb00f72[_0x509acd(0x20a)]('{type}',_0x3330c1);}function ce(_0x509a34,_0x57ef02){const _0x4d033e=_0x3a4b72;return _0x509a34['replace'](_0x4d033e(0x14f),_0x57ef02);}function le(_0x5f1354,_0x5786f2){const _0x55e0cb=_0x3a4b72;return _0x5f1354[_0x55e0cb(0x20a)](_0x55e0cb(0x1c2),_0x5786f2);}const F=(0x0,t[_0x3a4b72(0x172)])('univer-pro.exchange-client.request.service');let I=class{constructor(_0x522fe1,_0x4455a1){const _0x277321=_0x3a4b72;this[_0x277321(0x241)]=_0x522fe1,this[_0x277321(0x123)]=_0x4455a1,v(this,_0x277321(0x106),new Set());}[_0x3a4b72(0x198)](){}[_0x3a4b72(0x143)](_0x4ff1af){const _0x4e0558=_0x3a4b72;this[_0x4e0558(0x106)]['add'](_0x4ff1af);}[_0x3a4b72(0x180)](){const _0x47ae17=_0x3a4b72;this[_0x47ae17(0x106)][_0x47ae17(0x229)]();}async[_0x3a4b72(0x209)](_0x2f9195,_0x230351=0x0,_0x157dce=!0x1){const _0x592e52=_0x3a4b72;if(typeof _0x2f9195==_0x592e52(0x219)){let _0x318a6b=await N(_0x2f9195,this[_0x592e52(0x123)]);if(!_0x318a6b)throw Error(_0x592e52(0x1b9));_0x2f9195=_0x318a6b;}_0x230351=_0x230351||_0x2f9195[_0x592e52(0x1d9)];let _0x250a04=new FormData();_0x250a04['append'](_0x592e52(0x1ad),_0x2f9195);try{let _0x2c8b18=this[_0x592e52(0x1d3)]()+_0x592e52(0x162)+_0x230351+_0x592e52(0x1a4)+c['FileSource']['HttpImport']+_0x592e52(0x214)+_0x157dce,_0x3a35a6={'body':_0x250a04},_0x4f9934=(await this['_httpService'][_0x592e52(0x16a)](_0x2c8b18,_0x3a35a6))[_0x592e52(0xf1)];if(_0x4f9934[_0x592e52(0x1c9)]&&_0x4f9934[_0x592e52(0x1c9)]['code']!==c[_0x592e52(0x11d)]['OK'])throw Error(this[_0x592e52(0x1d6)](_0x592e52(0x205),_0x4f9934['error']));return _0x4f9934;}catch(_0x1a8ea6){throw _0x1a8ea6 instanceof Error?_0x1a8ea6:Error(this['_buildHttpErrorMessage'](_0x592e52(0x205),_0x1a8ea6));}}async[_0x3a4b72(0x1d7)](_0x6c377b){const _0x50a50e=_0x3a4b72;let {fileID:_0x47c6a2,type:_0x3eb688,outputType:_0x262ac3,minSheetColumnCount:_0x3f39b4,minSheetRowCount:_0x4566b2}=_0x6c377b;try{let _0x4a51dc=P(this[_0x50a50e(0x22d)](),''+_0x3eb688),_0x34d989={'body':{'fileID':_0x47c6a2,'outputType':_0x262ac3,'minSheetColumnCount':_0x3f39b4,'minSheetRowCount':_0x4566b2}},_0x383931=(await this[_0x50a50e(0x123)][_0x50a50e(0x16a)](_0x4a51dc,_0x34d989))[_0x50a50e(0xf1)];return _0x383931[_0x50a50e(0x1c9)]&&_0x383931[_0x50a50e(0x1c9)][_0x50a50e(0x20e)]!==c[_0x50a50e(0x11d)]['OK']?void 0x0:_0x383931;}catch{return;}}async['export'](_0x2a532d){const _0x504d15=_0x3a4b72;let {unitID:_0x1a7136,jsonID:_0x2d3426,type:_0x295d7d,useImageUrl:_0x3a5df7,ignoreTableExport:_0x1f8bfd}=_0x2a532d;try{let _0x57e19a=P(this[_0x504d15(0x107)](),''+_0x295d7d),_0x4cc5fd={'body':{'unitID':_0x1a7136,'jsonID':_0x2d3426,'type':_0x295d7d,'useImageUrl':_0x3a5df7,'ignoreTableExport':_0x1f8bfd}},_0x58840b=(await this[_0x504d15(0x123)][_0x504d15(0x16a)](_0x57e19a,_0x4cc5fd))[_0x504d15(0xf1)];return _0x58840b[_0x504d15(0x1c9)]&&_0x58840b[_0x504d15(0x1c9)][_0x504d15(0x20e)]!==c[_0x504d15(0x11d)]['OK']?void 0x0:_0x58840b;}catch{return;}}async[_0x3a4b72(0x208)](_0x46670f){return new Promise((_0x9b5539,_0x3d1000)=>{const _0x5d0bba=_0x2250;try{let _0xcb94bd=0x0,_0x352876=ce(this[_0x5d0bba(0xda)](),''+_0x46670f),_0x4d1c13=this[_0x5d0bba(0x255)](),_0x4e723b=async()=>{const _0x313bc3=_0x5d0bba;if(this[_0x313bc3(0x106)][_0x313bc3(0x1d8)](_0x46670f))return;let _0x3c652f=(await this['_httpService'][_0x313bc3(0xde)](_0x352876))['body'];if(_0x3c652f[_0x313bc3(0x1c9)]&&_0x3c652f['error'][_0x313bc3(0x20e)]===c[_0x313bc3(0x11d)]['OK']){if(_0x3c652f['status']===_0x313bc3(0x23a))_0x9b5539(_0x3c652f);else{if(_0x3c652f[_0x313bc3(0x10a)]==='pending'){let _0x27396c=0x3e8;if(_0xcb94bd>=_0x4d1c13){_0x3d1000(_0x3c652f);return;}else _0xcb94bd>=0x7530&&(_0x27396c=0x1388);_0xcb94bd+=_0x27396c,setTimeout(_0x4e723b,_0x27396c);}else _0x3d1000(_0x3c652f);}}else _0x3d1000(_0x3c652f);};_0x4e723b();}catch(_0x2b4027){_0x3d1000(_0x2b4027 instanceof Error?_0x2b4027:Error(String(_0x2b4027)));}});}async[_0x3a4b72(0xef)](_0x594962){const _0x6c64e6=_0x3a4b72;try{let _0x337958=le(this['_getSignURL'](),''+_0x594962);return(await this[_0x6c64e6(0x123)]['get'](_0x337958))[_0x6c64e6(0xf1)];}catch{return;}}async[_0x3a4b72(0x259)](_0x1eff45){const _0x290e58=_0x3a4b72;try{return(await this[_0x290e58(0x123)][_0x290e58(0xde)](_0x1eff45,{'responseType':_0x290e58(0x20f)}))[_0x290e58(0xf1)];}catch{return;}}[_0x3a4b72(0x1d6)](_0x37da9,_0x2605df){let _0x29e913=this['_extractErrorDetail'](_0x2605df);return _0x29e913?_0x37da9+':\x20'+_0x29e913:_0x37da9;}[_0x3a4b72(0x203)](_0x49395e,_0x2c9515){const _0x206bb6=_0x3a4b72;if(_0x2c9515 instanceof n['HTTPResponseError']){let _0x17962a=typeof _0x2c9515[_0x206bb6(0x10a)]=='number'?''+_0x2c9515[_0x206bb6(0x10a)]+(_0x2c9515[_0x206bb6(0x14a)]?'\x20'+_0x2c9515[_0x206bb6(0x14a)]:''):void 0x0,_0x246e3a=this[_0x206bb6(0x227)](_0x2c9515[_0x206bb6(0x1c9)]);return _0x17962a&&_0x246e3a?_0x49395e+_0x206bb6(0x242)+_0x17962a+_0x206bb6(0x187)+_0x246e3a:_0x17962a?_0x49395e+':\x20HTTP\x20'+_0x17962a:_0x246e3a?_0x49395e+':\x20'+_0x246e3a:_0x49395e;}let _0x54760a=this[_0x206bb6(0x227)](_0x2c9515);return _0x54760a?_0x49395e+':\x20'+_0x54760a:_0x49395e;}[_0x3a4b72(0x227)](_0x50975f){const _0x387c03=_0x3a4b72;if(typeof _0x50975f=='string'){let _0x41c8c0=_0x50975f[_0x387c03(0x12f)]();return _0x41c8c0[_0x387c03(0x213)]>0x0?_0x41c8c0:void 0x0;}if(_0x50975f instanceof Error)return this[_0x387c03(0x227)](_0x50975f['message']);if(!_0x50975f||typeof _0x50975f!='object'||Array[_0x387c03(0x192)](_0x50975f))return;let _0x247e8f=_0x50975f,_0x18360f=this[_0x387c03(0x227)](_0x247e8f[_0x387c03(0x1b6)]);if(_0x18360f)return _0x18360f;if(_0x247e8f['error']&&typeof _0x247e8f['error']==_0x387c03(0x247)&&!Array['isArray'](_0x247e8f['error'])){let _0x125ba1=this['_extractErrorDetail'](_0x247e8f[_0x387c03(0x1c9)]);if(_0x125ba1)return _0x125ba1;}}[_0x3a4b72(0x1d3)](){const _0x5ed88b=_0x3a4b72;var _0x50a6f9;let _0x1ef6a4=this[_0x5ed88b(0x241)]['getConfig'](f);return(_0x50a6f9=_0x1ef6a4==null?void 0x0:_0x1ef6a4[_0x5ed88b(0x243)])==null?_0x5ed88b(0x1a9):_0x50a6f9;}['_getImportURL'](){const _0xa5ec7b=_0x3a4b72;var _0x38d046;let _0x296af0=this[_0xa5ec7b(0x241)][_0xa5ec7b(0x161)](f);return(_0x38d046=_0x296af0==null?void 0x0:_0x296af0[_0xa5ec7b(0xf7)])==null?_0xa5ec7b(0x186):_0x38d046;}[_0x3a4b72(0x107)](){const _0x3d8bd0=_0x3a4b72;var _0x113656;let _0x20bd17=this[_0x3d8bd0(0x241)][_0x3d8bd0(0x161)](f);return(_0x113656=_0x20bd17==null?void 0x0:_0x20bd17[_0x3d8bd0(0x1f2)])==null?'/universer-api/exchange/{type}/export':_0x113656;}[_0x3a4b72(0xda)](){const _0x35cd2d=_0x3a4b72;var _0x2560a4;let _0x2cde65=this[_0x35cd2d(0x241)]['getConfig'](f);return(_0x2560a4=_0x2cde65==null?void 0x0:_0x2cde65[_0x35cd2d(0x1e9)])==null?'/universer-api/exchange/task/{taskID}':_0x2560a4;}['_getSignURL'](){const _0x843a1a=_0x3a4b72;var _0x320952;let _0x225a87=this[_0x843a1a(0x241)]['getConfig'](f);return(_0x320952=_0x225a87==null?void 0x0:_0x225a87[_0x843a1a(0x14c)])==null?_0x843a1a(0x1e7):_0x320952;}[_0x3a4b72(0x255)](){const _0x2e436d=_0x3a4b72;var _0x305f16;let _0x419b45=this[_0x2e436d(0x241)]['getConfig'](f);return(_0x305f16=_0x419b45==null?void 0x0:_0x419b45[_0x2e436d(0x168)])==null?0x1d4c0:_0x305f16;}};I=h([m(0x0,t[_0x3a4b72(0x142)]),m(0x1,(0x0,t[_0x3a4b72(0x1cd)])(n[_0x3a4b72(0x17d)]))],I);function L(_0x28194f){const _0x433014=_0x3a4b72;let _0x35de1e=_0x28194f['workbook'];if(!_0x35de1e)return null;let _0x1c7294={};_0x35de1e[_0x433014(0x22b)]&&Object[_0x433014(0x206)](_0x35de1e[_0x433014(0x22b)])['forEach'](_0x178410=>{const _0x598afa=_0x433014;let _0x8d39bf=_0x35de1e[_0x598afa(0x22b)][_0x178410];_0x1c7294[_0x178410]={..._0x8d39bf,'originalMeta':(0x0,l[_0x598afa(0xd9)])(l['textDecoder'][_0x598afa(0xdc)](_0x8d39bf[_0x598afa(0x1cf)]))};});let _0x5d65ba=(0x0,l[_0x433014(0xd9)])(l[_0x433014(0x173)][_0x433014(0xdc)](_0x35de1e[_0x433014(0x1cf)]));return{..._0x28194f,'workbook':{..._0x35de1e,'originalMeta':_0x5d65ba,'sheets':_0x1c7294},'doc':{},'slide':void 0x0,'board':void 0x0};}function R(_0xda6fb8){const _0x273399=_0x3a4b72;let _0x51502c=_0xda6fb8[_0x273399(0x126)];if(!_0x51502c)return null;let _0x5287b0=(0x0,l[_0x273399(0xd9)])(l[_0x273399(0x173)]['decode'](_0x51502c['originalMeta']));return{..._0xda6fb8,'workbook':{},'doc':{..._0x51502c,'originalMeta':_0x5287b0},'slide':void 0x0,'board':void 0x0};}function z(_0x54b0ea){const _0x18cdc2=_0x3a4b72;var _0xba51fe;let _0x1c263d=(_0xba51fe=_0x54b0ea[_0x18cdc2(0x1b5)])==null?_0x54b0ea['doc']:_0xba51fe;if(!_0x1c263d)return null;let _0x1ea4cb=typeof _0x1c263d['originalMeta']=='string'?_0x1c263d[_0x18cdc2(0x1cf)]:(0x0,l[_0x18cdc2(0xd9)])(l[_0x18cdc2(0x173)]['decode'](_0x1c263d[_0x18cdc2(0x1cf)]));return{..._0x54b0ea,'workbook':{},'doc':{},'slide':{..._0x1c263d,'originalMeta':_0x1ea4cb},'board':void 0x0};}function B(_0xd4e2b5){const _0x39ab81=_0x3a4b72;let _0x568934={};return _0xd4e2b5[_0x39ab81(0x1ba)](_0x5d04d2=>{const _0x3359b=_0x39ab81;_0x568934[_0x5d04d2['id']]={..._0x5d04d2,'data':(0x0,l[_0x3359b(0xd9)])(l[_0x3359b(0x173)][_0x3359b(0xdc)](_0x5d04d2[_0x3359b(0x127)]))};}),_0x568934;}async function V(_0x4135bb){const _0x17f89f=_0x3a4b72;var _0xc4dcc8;let _0xf9e2c7={'metadata':void 0x0},_0x250f26=_0x4135bb['id'],_0x5cb408=(_0xc4dcc8=_0x4135bb['rev'])==null?0x0:_0xc4dcc8,_0x1da2d2=new W(),{snapshot:_0x1f3fc1}=await(0x0,l[_0x17f89f(0x183)])(_0xf9e2c7,_0x4135bb,_0x250f26,_0x5cb408,_0x1da2d2),_0x280b27=await(0x0,l[_0x17f89f(0x10f)])(_0x1f3fc1,_0x1da2d2),_0x435f82=L(_0x1f3fc1);if(!_0x435f82)throw Error(_0x17f89f(0x19f));return{'snapshot':_0x435f82,'sheetBlocks':B(_0x280b27)};}async function H(_0x16ad31){const _0x409017=_0x3a4b72;var _0x9da4ea;let _0x17d731={'metadata':void 0x0},_0x2f54d3=_0x16ad31['id'],{snapshot:_0x3e80c7}=await(0x0,l[_0x409017(0x1ef)])(_0x17d731,_0x16ad31,_0x2f54d3,(_0x9da4ea=_0x16ad31[_0x409017(0x201)])==null?0x0:_0x9da4ea,new W()),_0x3b389e=R(_0x3e80c7);if(!_0x3b389e)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x3b389e,'sheetBlocks':{}};}async function U(_0x709ecf){const _0x2d87de=_0x3a4b72;var _0x2905d2;let _0x396b92=_0x709ecf['id'],_0x124081=(_0x2905d2=_0x709ecf[_0x2d87de(0x201)])==null?0x0:_0x2905d2,_0x49f268=new W(),{snapshot:_0x4508cf}=await(0x0,l[_0x2d87de(0x1e4)])(_0x709ecf['resources'],_0x709ecf,_0x396b92,_0x124081,_0x49f268),_0x354b0f=z(_0x4508cf);if(!_0x354b0f)throw Error(_0x2d87de(0x19f));return{'snapshot':_0x354b0f,'sheetBlocks':{}};}async function ue(_0x1b7842){const _0x492891=_0x3a4b72;let _0x11e797=_0x1b7842['snapshot'],_0x196fe5=_0x1b7842[_0x492891(0x234)]||{};return await(0x0,l[_0x492891(0x22a)])(_0x11e797,Object[_0x492891(0x206)](_0x196fe5)[_0x492891(0x238)](_0x455784=>_0x196fe5[_0x455784])[_0x492891(0x238)](_0x21d9aa=>({..._0x21d9aa,'data':_0x21d9aa[_0x492891(0x127)]?JSON[_0x492891(0x1b0)]((0x0,l['b64DecodeUnicode'])(_0x21d9aa[_0x492891(0x127)])):void 0x0})));}function de(_0x3afde6){const _0x298204=_0x3a4b72;let _0x49722a=_0x3afde6[_0x298204(0x23d)];return(0x0,l[_0x298204(0x216)])(_0x49722a);}function fe(_0x342521){let _0x6d6a14=_0x342521['snapshot'];return(0x0,l['transformSnapshotToSlideData'])(_0x6d6a14);}var W=class{constructor(){const _0x1de109=_0x3a4b72;v(this,_0x1de109(0x1af),new Map());}[_0x3a4b72(0x15d)](){const _0x356195=_0x3a4b72;return Promise[_0x356195(0x15b)]({'snapshot':{'unitID':'','type':t[_0x356195(0x13e)][_0x356195(0x11c)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x3a4b72(0x23f)](_0x57eee3,_0x4af8bf){const _0x26756c=_0x3a4b72;let _0x4d5080=this[_0x26756c(0x1af)]['get'](_0x4af8bf['blockID']);return Promise[_0x26756c(0x15b)]({'block':_0x4d5080,'error':{'code':c[_0x26756c(0x11d)]['OK'],'message':''}});}[_0x3a4b72(0x223)](_0x5c159c,_0x2a2b08){const _0x392108=_0x3a4b72;let _0x16ecbe=this['_sheetBlockCache'][_0x392108(0xde)](_0x2a2b08['blockID']);return Promise['resolve']({'block':_0x16ecbe===void 0x0?void 0x0:{..._0x16ecbe,'data':JSON[_0x392108(0x1b0)](l['textDecoder'][_0x392108(0xdc)](_0x16ecbe[_0x392108(0x127)]))},'error':{'code':c[_0x392108(0x11d)]['OK'],'message':''}});}[_0x3a4b72(0x21e)](){const _0x178b83=_0x3a4b72;return Promise[_0x178b83(0x15b)]({'changesets':[],'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x3a4b72(0xe1)](){const _0x1bf5f7=_0x3a4b72;return Promise['resolve']({'resources':{},'error':{'code':c[_0x1bf5f7(0x11d)]['OK'],'message':''}});}['saveSnapshot'](){const _0x454865=_0x3a4b72;return Promise[_0x454865(0x15b)]({'error':{'code':c[_0x454865(0x11d)]['OK'],'message':''}});}[_0x3a4b72(0x13c)](){const _0x3c43e8=_0x3a4b72;return Promise[_0x3c43e8(0x15b)]({'error':{'code':c[_0x3c43e8(0x11d)]['OK'],'message':''}});}[_0x3a4b72(0x1c8)](_0x57e89c,_0x43ec77){const _0xd373f2=_0x3a4b72;let {block:_0x503c39}=_0x43ec77;return _0x503c39?(this[_0xd373f2(0x1af)]['set'](_0x503c39['id'],_0x503c39),Promise[_0xd373f2(0x15b)]({'error':{'code':c[_0xd373f2(0x11d)]['OK'],'message':''},'blockID':_0x503c39['id']})):Promise['resolve']({'error':{'code':c['ErrorCode']['UNDEFINED'],'message':_0xd373f2(0x24c)},'blockID':''});}[_0x3a4b72(0x1ee)](){const _0x338dc1=_0x3a4b72;return Promise[_0x338dc1(0x15b)]({'error':{'code':c['ErrorCode']['OK'],'message':''},'concurrent':[]});}[_0x3a4b72(0x1bc)](){const _0x4b2b7b=_0x3a4b72;return Promise[_0x4b2b7b(0x15b)]({'error':void 0x0,'fileMetaId':''});}[_0x3a4b72(0xf2)](){const _0xa34612=_0x3a4b72;return Promise[_0xa34612(0x15b)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x3a4b72(0x172)])('univer-pro.exchange-client.exchange.service');let K=class extends t[_0x3a4b72(0x122)]{constructor(_0x10f3fc,_0x42e5e0,_0x5af1ac){const _0x1b3776=_0x3a4b72;super(),this['_configService']=_0x10f3fc,this['_httpService']=_0x42e5e0,this[_0x1b3776(0xe2)]=_0x5af1ac,v(this,_0x1b3776(0x1cb),null),v(this,_0x1b3776(0x176),new a[(_0x1b3776(0x128))]()),v(this,_0x1b3776(0x1a5),this[_0x1b3776(0x176)][_0x1b3776(0x193)]());}['dispose'](){const _0x2d0b25=_0x3a4b72;super[_0x2d0b25(0x198)](),this[_0x2d0b25(0x176)][_0x2d0b25(0x215)]();}[_0x3a4b72(0x1b2)](_0x4d6f28,_0x4bc678,_0x36d00f){const _0x13f716=_0x3a4b72;let _0x68329c=URL[_0x13f716(0x19e)](_0x4d6f28);k(_0x68329c,_0x4bc678,_0x36d00f),URL[_0x13f716(0x1e3)](_0x68329c);}async['transformSnapshotJsonToWorkbookData'](_0x32f5c3){const _0x15a540=_0x3a4b72;let _0x2df12e=_0x32f5c3['snapshot'],_0x1bcde6=_0x32f5c3[_0x15a540(0x234)]||{};return(0x0,l[_0x15a540(0x22a)])(_0x2df12e,Object[_0x15a540(0x206)](_0x1bcde6)[_0x15a540(0x238)](_0xc56fd8=>_0x1bcde6[_0xc56fd8])[_0x15a540(0x238)](_0x139266=>({..._0x139266,'data':_0x139266[_0x15a540(0x127)]?JSON[_0x15a540(0x1b0)]((0x0,l[_0x15a540(0x115)])(_0x139266[_0x15a540(0x127)])):void 0x0})));}async[_0x3a4b72(0xdf)](_0x516fc4){const _0x11f053=_0x3a4b72;var _0x4f3235;let _0x402217={'metadata':void 0x0},_0x408465=_0x516fc4['id'],_0x458215=(_0x4f3235=_0x516fc4['rev'])==null?0x0:_0x4f3235,_0x42c706=new W(),{snapshot:_0x37492e}=await(0x0,l['transformWorkbookDataToSnapshot'])(_0x402217,_0x516fc4,_0x408465,_0x458215,_0x42c706),_0x8fc3a1=await(0x0,l[_0x11f053(0x10f)])(_0x37492e,_0x42c706),_0x178437=L(_0x37492e);if(!_0x178437)throw Error(_0x11f053(0x19f));return{'snapshot':_0x178437,'sheetBlocks':B(_0x8fc3a1)};}async[_0x3a4b72(0x1b1)](_0x1f77c9){const _0x3dc0d5=_0x3a4b72;let _0x19e726=await this[_0x3dc0d5(0x21c)](_0x1f77c9,t[_0x3dc0d5(0x13e)]['UNIVER_DOC']);if(!_0x19e726||!_0x19e726[_0x3dc0d5(0x23d)])return;let _0x28183f=de(_0x19e726);if(_0x28183f)return _0x28183f;}async[_0x3a4b72(0x101)](_0x29ddde){const _0x2c68c5=_0x3a4b72;return this[_0x2c68c5(0x21b)](_0x29ddde,0x1,t[_0x2c68c5(0x13e)][_0x2c68c5(0xe3)]);}async[_0x3a4b72(0x197)](_0x5f0efa){const _0x58ea8c=_0x3a4b72;let _0x1de79e=await H(_0x5f0efa);return this[_0x58ea8c(0x149)](_0x1de79e,t['UniverInstanceType']['UNIVER_DOC']);}async[_0x3a4b72(0x210)](_0x3021da){const _0x5735a6=_0x3a4b72;let _0x25d24f=await this['importFileToJson'](_0x3021da,t[_0x5735a6(0x13e)][_0x5735a6(0x237)]);if(!(!_0x25d24f||!_0x25d24f[_0x5735a6(0x23d)]))return fe(_0x25d24f);}async['exportPPTXByUnitId'](_0x241d56){const _0xcaca00=_0x3a4b72;return this[_0xcaca00(0x21b)](_0x241d56,0x1,t[_0xcaca00(0x13e)][_0xcaca00(0x237)]);}async['exportPPTXBySnapshot'](_0x288bf6){const _0xf7b80d=_0x3a4b72;let _0x344778=await U(_0x288bf6);return this[_0xf7b80d(0x149)](_0x344778,t[_0xf7b80d(0x13e)][_0xf7b80d(0x237)]);}async[_0x3a4b72(0x1fc)](_0x36db82){const _0x3bf20b=_0x3a4b72;let _0x14f556=await this[_0x3bf20b(0x21c)](_0x36db82,t[_0x3bf20b(0x13e)][_0x3bf20b(0x11c)]);if(!_0x14f556)return;let _0x34f5f1=await this['transformSnapshotJsonToWorkbookData'](_0x14f556);if(_0x34f5f1)return _0x34f5f1;}async[_0x3a4b72(0x129)](_0x6caae9){const _0x3b205a=_0x3a4b72;return this[_0x3b205a(0x21b)](_0x6caae9,0x1,t[_0x3b205a(0x13e)]['UNIVER_SHEET']);}async[_0x3a4b72(0x114)](_0x3d6a20){const _0x22320b=_0x3a4b72;let _0x23a11e=await this[_0x22320b(0xdf)](_0x3d6a20);return this[_0x22320b(0x149)](_0x23a11e,t[_0x22320b(0x13e)]['UNIVER_SHEET']);}async[_0x3a4b72(0x11f)](_0x2f4d82,_0x2e4c40){const _0x2b5bcc=_0x3a4b72;var _0x4aabd0,_0x18fded;let _0x23c120=await this['_upload'](_0x2f4d82);if(!_0x23c120)return;let _0x184c79=await this['_import'](_0x23c120,0x1,_0x2e4c40);if(!_0x184c79)return;this[_0x2b5bcc(0x1cb)]=_0x184c79,this[_0x2b5bcc(0xe2)][_0x2b5bcc(0x180)]();let _0x4399f9=await this[_0x2b5bcc(0xe2)][_0x2b5bcc(0x208)](_0x184c79)['catch'](_0x51ae87=>{const _0x5bff0d=_0x2b5bcc;var _0x3fa920;let _0x46f0e7=_0x51ae87 instanceof Error?_0x51ae87[_0x5bff0d(0x1b6)]:(_0x3fa920=_0x51ae87[_0x5bff0d(0x1c9)])==null?void 0x0:_0x3fa920[_0x5bff0d(0x1b6)];this[_0x5bff0d(0x176)]['next']({'error':{'code':c[_0x5bff0d(0x11d)][_0x5bff0d(0x133)],'message':_0x46f0e7||''},'state':0x3});});if(!_0x4399f9)return;let _0x32ca3a=(_0x4aabd0=_0x4399f9['import'])==null?void 0x0:_0x4aabd0[_0x2b5bcc(0x1db)],_0x5c2c3a=((_0x18fded=_0x4399f9[_0x2b5bcc(0x1d7)])==null?void 0x0:_0x18fded['unitID'])||'';if(_0x32ca3a!==0x1){this[_0x2b5bcc(0x176)][_0x2b5bcc(0xf3)]({'error':{'code':c[_0x2b5bcc(0x11d)]['UNRECOGNIZED'],'message':_0x2b5bcc(0x1cc)},'state':0x3});return;}if(_0x5c2c3a[_0x2b5bcc(0x213)]===0x0){this[_0x2b5bcc(0x176)][_0x2b5bcc(0xf3)]({'error':{'code':c[_0x2b5bcc(0x11d)][_0x2b5bcc(0x133)],'message':_0x2b5bcc(0xfb)},'state':0x3});return;}return this[_0x2b5bcc(0x176)][_0x2b5bcc(0xf3)]({'error':_0x4399f9['error'],'state':0x3}),_0x5c2c3a;}async['importFileToJson'](_0x48f3c2,_0x29d2ae){return this['_importToJson'](_0x48f3c2,_0x29d2ae);}async[_0x3a4b72(0xe0)](_0x278c18){const _0x3ffdb6=_0x3a4b72;let _0x366c96=await this[_0x3ffdb6(0xdf)](_0x278c18),_0x25cbb8=typeof _0x278c18['id']==_0x3ffdb6(0x219)&&_0x278c18['id'][_0x3ffdb6(0x12f)]()?_0x278c18['id'][_0x3ffdb6(0x12f)]()+_0x3ffdb6(0x18d):'workbook.json',_0x38c745=new File([JSON[_0x3ffdb6(0x20c)](_0x366c96)],_0x25cbb8,{'type':_0x3ffdb6(0x138)});return this[_0x3ffdb6(0x11f)](_0x38c745,t[_0x3ffdb6(0x13e)][_0x3ffdb6(0x11c)]);}[_0x3a4b72(0x11b)](){const _0x42acb5=_0x3a4b72;this[_0x42acb5(0x1cb)]&&this[_0x42acb5(0xe2)][_0x42acb5(0x143)](this[_0x42acb5(0x1cb)]);}async['_importToJson'](_0x573acb,_0x2c5a6e){const _0x366d56=_0x3a4b72;var _0x543fe4,_0x249d5f;let _0x35e123=await this[_0x366d56(0x16b)](_0x573acb);if(!_0x35e123)return;let _0x2c3425=await this[_0x366d56(0x15f)](_0x35e123,0x2,_0x2c5a6e);if(!_0x2c3425)return;this['_importTaskId']=_0x2c3425,this[_0x366d56(0xe2)][_0x366d56(0x180)]();let _0x590f3c=await this[_0x366d56(0xe2)][_0x366d56(0x208)](_0x2c3425)[_0x366d56(0x1dd)](_0x223d09=>{const _0x3b4eb1=_0x366d56;var _0x2850d2;let _0xe7b497=_0x223d09 instanceof Error?_0x223d09['message']:(_0x2850d2=_0x223d09[_0x3b4eb1(0x1c9)])==null?void 0x0:_0x2850d2[_0x3b4eb1(0x1b6)];this[_0x3b4eb1(0x176)][_0x3b4eb1(0xf3)]({'error':{'code':c['ErrorCode'][_0x3b4eb1(0x133)],'message':_0xe7b497||''},'state':0x3});});if(!_0x590f3c)return;let _0x440fb9=(_0x543fe4=_0x590f3c[_0x366d56(0x1d7)])==null?void 0x0:_0x543fe4['outputType'],_0x1b9a43=((_0x249d5f=_0x590f3c[_0x366d56(0x1d7)])==null?void 0x0:_0x249d5f[_0x366d56(0x1d2)])||'';if(_0x440fb9!==0x2){this[_0x366d56(0x176)][_0x366d56(0xf3)]({'error':{'code':c['ErrorCode'][_0x366d56(0x133)],'message':_0x366d56(0x1cc)},'state':0x3});return;}if(_0x1b9a43[_0x366d56(0x213)]===0x0){this[_0x366d56(0x176)]['next']({'error':{'code':c[_0x366d56(0x11d)][_0x366d56(0x133)],'message':_0x366d56(0x14e)},'state':0x3});return;}this[_0x366d56(0x176)][_0x366d56(0xf3)]({'error':_0x590f3c[_0x366d56(0x1c9)],'state':0x3});let _0xc16a31=await this[_0x366d56(0x179)](_0x1b9a43);if(!_0xc16a31)return;let _0x5c2cda=await this[_0x366d56(0xe2)][_0x366d56(0x259)](_0xc16a31);if(!_0x5c2cda){this[_0x366d56(0x176)]['next']({'error':{'code':c['ErrorCode'][_0x366d56(0x133)],'message':_0x366d56(0x108)},'state':0x5});return;}try{let _0x58d7a0=JSON['parse'](_0x5c2cda);return this['_requestState$'][_0x366d56(0xf3)]({'error':{'code':c['ErrorCode']['OK'],'message':_0x366d56(0x185)},'state':0x5}),_0x58d7a0;}catch{this[_0x366d56(0x176)][_0x366d56(0xf3)]({'error':{'code':c[_0x366d56(0x11d)]['UNRECOGNIZED'],'message':_0x366d56(0x17e)},'state':0x5});}}async[_0x3a4b72(0x149)](_0x14d3a1,_0x602afb){const _0x1edde4=_0x3a4b72;let _0x567ebb=JSON[_0x1edde4(0x20c)](_0x14d3a1),_0x1a170a=l['textEncoder'][_0x1edde4(0x113)](_0x567ebb),_0x28bdda=(0x0,u[_0x1edde4(0xfe)])(_0x1a170a),_0x387419=_0x1a170a['length'],_0x1f6885=se(_0x28bdda),_0x3f51e1=await this[_0x1edde4(0x16b)](_0x1f6885,_0x387419,!0x0);if(_0x3f51e1)return this[_0x1edde4(0x21b)](_0x3f51e1,0x2,_0x602afb);}async['_export'](_0x1cb5d5,_0x1bc5c7,_0x4c385b){const _0xeda44a=_0x3a4b72;var _0x91e659;let _0x7ed058=await this['_requestService'][_0xeda44a(0x204)]({'unitID':_0x1bc5c7===0x1?_0x1cb5d5:'','jsonID':_0x1bc5c7===0x2?_0x1cb5d5:'','type':_0x4c385b,'useImageUrl':this[_0xeda44a(0x139)](),'ignoreTableExport':this[_0xeda44a(0x1f6)]()});if(!_0x7ed058){this['_requestState$']['next']({'error':{'code':c[_0xeda44a(0x11d)][_0xeda44a(0x133)],'message':'export\x20error'},'state':0x2});return;}if(this[_0xeda44a(0x176)]['next']({'error':_0x7ed058[_0xeda44a(0x1c9)],'state':0x2}),_0x7ed058['error']&&_0x7ed058[_0xeda44a(0x1c9)]['code']!==c[_0xeda44a(0x11d)]['OK'])return;let _0x3a44a2=_0x7ed058[_0xeda44a(0x11e)],_0x302211=await this[_0xeda44a(0xe2)][_0xeda44a(0x208)](_0x3a44a2)[_0xeda44a(0x1dd)](_0x26fe7e=>{const _0x4b6117=_0xeda44a;var _0x716f22;let _0x479bd7=_0x26fe7e instanceof Error?_0x26fe7e['message']:(_0x716f22=_0x26fe7e[_0x4b6117(0x1c9)])==null?void 0x0:_0x716f22['message'];this[_0x4b6117(0x176)]['next']({'error':{'code':c[_0x4b6117(0x11d)][_0x4b6117(0x133)],'message':_0x479bd7||''},'state':0x3});});if(!_0x302211)return;let _0x2fa9e1=((_0x91e659=_0x302211[_0xeda44a(0x204)])==null?void 0x0:_0x91e659[_0xeda44a(0x194)])||'';if(_0x2fa9e1[_0xeda44a(0x213)]===0x0){this[_0xeda44a(0x176)][_0xeda44a(0xf3)]({'error':{'code':c[_0xeda44a(0x11d)][_0xeda44a(0x133)],'message':_0xeda44a(0x21d)},'state':0x3});return;}this['_requestState$'][_0xeda44a(0xf3)]({'error':_0x302211[_0xeda44a(0x1c9)],'state':0x3});let _0x275daa=await this[_0xeda44a(0x179)](_0x2fa9e1);if(!_0x275daa)return;let _0x37758e=await N(_0x275daa,this[_0xeda44a(0x123)]);if(!_0x37758e){this[_0xeda44a(0x176)][_0xeda44a(0xf3)]({'error':{'code':c['ErrorCode'][_0xeda44a(0x133)],'message':_0xeda44a(0x100)},'state':0x6});return;}return this[_0xeda44a(0x176)][_0xeda44a(0xf3)]({'error':{'code':c['ErrorCode']['OK'],'message':'success'},'state':0x6}),_0x37758e;}async[_0x3a4b72(0x16b)](_0x443e59,_0x20bc00,_0x6f432b){const _0x25649a=_0x3a4b72;let _0x2c8dca;try{_0x2c8dca=await this[_0x25649a(0xe2)][_0x25649a(0x209)](_0x443e59,_0x20bc00,_0x6f432b);}catch(_0x572096){let _0x5a2f03=_0x572096 instanceof Error?_0x572096[_0x25649a(0x1b6)]:String(_0x572096);this[_0x25649a(0x176)]['next']({'error':{'code':c[_0x25649a(0x11d)]['UNRECOGNIZED'],'message':_0x5a2f03},'state':0x0});return;}if(!_0x2c8dca||typeof _0x2c8dca['FileId']!=_0x25649a(0x219)){this[_0x25649a(0x176)][_0x25649a(0xf3)]({'error':{'code':c[_0x25649a(0x11d)][_0x25649a(0x133)],'message':_0x25649a(0x233)},'state':0x0});return;}let _0x53ba39=_0x2c8dca['FileId'];if(_0x53ba39[_0x25649a(0x213)]===0x0){this[_0x25649a(0x176)]['next']({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':'upload\x20failed:\x20FileId\x20is\x20empty'},'state':0x0});return;}return this[_0x25649a(0x176)][_0x25649a(0xf3)]({'error':{'code':c['ErrorCode']['OK'],'message':_0x25649a(0x185)},'state':0x0}),_0x53ba39;}async['_import'](_0x5735fc,_0x2bb483,_0x5d999d){const _0x42fae9=_0x3a4b72;let _0x17b3ad={'fileID':_0x5735fc,'type':_0x5d999d,'outputType':_0x2bb483,'fileUrl':'','minSheetRowCount':this[_0x42fae9(0x236)](),'minSheetColumnCount':this[_0x42fae9(0x1e1)]()},_0x2ca0ff=await this[_0x42fae9(0xe2)][_0x42fae9(0x1d7)](_0x17b3ad);if(!_0x2ca0ff){this['_requestState$'][_0x42fae9(0xf3)]({'error':{'code':c[_0x42fae9(0x11d)]['UNRECOGNIZED'],'message':_0x42fae9(0x147)},'state':0x1});return;}if(_0x2ca0ff[_0x42fae9(0x1c9)]&&_0x2ca0ff[_0x42fae9(0x1c9)][_0x42fae9(0x20e)]!==c[_0x42fae9(0x11d)]['OK']){this[_0x42fae9(0x176)][_0x42fae9(0xf3)]({'error':_0x2ca0ff['error'],'state':0x1});return;}let _0x2ed903=_0x2ca0ff[_0x42fae9(0x11e)];if(_0x2ed903[_0x42fae9(0x213)]===0x0){this[_0x42fae9(0x176)][_0x42fae9(0xf3)]({'error':{'code':c[_0x42fae9(0x11d)][_0x42fae9(0x133)],'message':_0x42fae9(0xe9)},'state':0x1});return;}return this['_requestState$'][_0x42fae9(0xf3)]({'error':_0x2ca0ff[_0x42fae9(0x1c9)],'state':0x1}),_0x2ed903;}async['_signUrl'](_0x1cc451){const _0x5b3962=_0x3a4b72;let _0x36995e=await this[_0x5b3962(0xe2)]['signUrl'](_0x1cc451);if(!_0x36995e){this[_0x5b3962(0x176)]['next']({'error':{'code':c[_0x5b3962(0x11d)][_0x5b3962(0x133)],'message':_0x5b3962(0x1e6)},'state':0x4});return;}if(_0x36995e[_0x5b3962(0x1c9)]&&_0x36995e[_0x5b3962(0x1c9)]['code']!==c[_0x5b3962(0x11d)]['OK']){this['_requestState$'][_0x5b3962(0xf3)]({'error':_0x36995e[_0x5b3962(0x1c9)],'state':0x4});return;}let _0x29d7b5=(0x0,t['resolveWithBasePath'])(_0x36995e['url'],this['_getDownloadEndpointURL']());if(_0x29d7b5['length']===0x0){this['_requestState$'][_0x5b3962(0xf3)]({'error':{'code':c['ErrorCode'][_0x5b3962(0x133)],'message':'sign\x20url\x20error'},'state':0x4});return;}return this[_0x5b3962(0x176)][_0x5b3962(0xf3)]({'error':_0x36995e[_0x5b3962(0x1c9)],'state':0x4}),_0x29d7b5;}[_0x3a4b72(0x225)](){const _0x467fb4=_0x3a4b72;var _0x18af14;let _0x2bbeb6=this['_configService'][_0x467fb4(0x161)](f);return(_0x18af14=_0x2bbeb6==null?void 0x0:_0x2bbeb6['downloadEndpointUrl'])==null?location[_0x467fb4(0xfd)]:_0x18af14;}[_0x3a4b72(0x236)](){const _0x2b0bd9=_0x3a4b72;var _0x406048,_0xc8e526;let _0x6e1be0=this['_configService'][_0x2b0bd9(0x161)](f);return(_0x406048=_0x6e1be0==null||(_0xc8e526=_0x6e1be0[_0x2b0bd9(0x1fd)])==null?void 0x0:_0xc8e526[_0x2b0bd9(0x10c)])==null?0x1:_0x406048;}['_getMinSheetColumnCount'](){const _0x233c8a=_0x3a4b72;var _0x11f672,_0x403ddf;let _0x349ef0=this['_configService']['getConfig'](f);return(_0x11f672=_0x349ef0==null||(_0x403ddf=_0x349ef0[_0x233c8a(0x1fd)])==null?void 0x0:_0x403ddf[_0x233c8a(0x120)])==null?0x1:_0x11f672;}[_0x3a4b72(0x139)](){const _0x4eb7e2=_0x3a4b72;var _0x5cbf41,_0x48a69e;let _0x7a7faf=this[_0x4eb7e2(0x241)][_0x4eb7e2(0x161)](f);return(_0x5cbf41=_0x7a7faf==null||(_0x48a69e=_0x7a7faf['options'])==null?void 0x0:_0x48a69e[_0x4eb7e2(0x1b8)])==null?!0x0:_0x5cbf41;}[_0x3a4b72(0x1f6)](){const _0x414222=_0x3a4b72;var _0x52d026,_0x113d82;let _0x415d11=this[_0x414222(0x241)][_0x414222(0x161)](f);return(_0x52d026=_0x415d11==null||(_0x113d82=_0x415d11[_0x414222(0x1fd)])==null?void 0x0:_0x113d82[_0x414222(0xe5)])==null?!0x1:_0x52d026;}};K=h([m(0x0,t['IConfigService']),m(0x1,(0x0,t[_0x3a4b72(0x1cd)])(n['HTTPService'])),m(0x2,(0x0,t[_0x3a4b72(0x1cd)])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x3a4b72(0x172)])(_0x3a4b72(0x1c3));function _0x3cc8(){const _0x29e03f=['univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','saveSheetBlock','error','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','_importTaskId','Get\x20outputType\x20error','Inject','_registerUIParts','originalMeta','symbol','_addTotalCount','jsonID','_getUploadFileURL','IExchangeService','registerComponent','_buildProtocolErrorMessage','import','has','size','8059799btxgHA','outputType','multiple','catch','exchange-client.config','_uploadTaskNotDone','application/vnd.openxmlformats-officedocument.presentationml.presentation','_getMinSheetColumnCount','pluginName','revokeObjectURL','transformSlideDataToSnapshot','application/vnd.openxmlformats-officedocument.wordprocessingml.document','sign\x20url\x20error','/universer-api/file/{fileID}/sign-url','addEventListener','getTaskServerUrl','BehaviorSubject','_getUnitID','Info','_progress$','saveChangeset','transformDocumentDataToSnapshot','onStarting','registerDependencies','exportServerUrl','hide','39848ExMaUS','_clearProgress','_getIgnoreTableExport','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','button','_uiPartsService','_getUnitDocJson','importFileToUnitIdByCurrentType','importXLSXToSnapshot','options','defineProperty','floor','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','rev','iterator','_buildHttpErrorMessage','export','upload\x20request\x20failed','keys','_importFileToUnitId','getTask','upload','replace','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','stringify','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','code','text','importPPTXToSnapshot','list$','getUnitType','length','&flate=','complete','transformSnapshotToDocumentData','MessageType','exchange-client.uploadSuccess','string','Injector','_export','importFileToJson','Failed\x20to\x20get\x20fileID\x20from\x20task','fetchMissingChangesets','exchange-client.uploadSuccessTip','UniverLicensePlugin','_getUnitSlideJson','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','getDeserializedSheetBlock','No\x20file\x20selected','_getDownloadEndpointURL','_visible$','_extractErrorDetail','_showUploadMessage','clear','transformSnapshotToWorkbookData','sheets','style','_getImportURL','_injector','toPrimitive','exchange-client.uploadAgain','_refresh','ErrorIcon','upload\x20failed:\x20missing\x20FileId\x20in\x20response','sheetBlocks','updateState','_getMinSheetRowCount','UNIVER_SLIDE','map','_logService','done','Module','IMessageService','snapshot','headers','getSheetBlock','_list','_configService',':\x20HTTP\x20','uploadFileServerUrl','disposeWithMe','_emitProgress','none','object','20AksdMf','application/vnd.openxmlformats-officedocument.spreadsheetml.template','1.0.0-alpha.7','_uploadNotificationService','block\x20is\x20required','univer-pl-2\x20univer-pr-4','call','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','div','_addDoneTask','_iconManager','IconManager','301956ssdoYj','_getMaxPollingTime','Warning','UNIVER_BOARD','accept','getTextFromUrl','importDOCXToUnitId','progress$','SuccessIcon','b64EncodeUnicode','_getTaskURL','UniverNetworkPlugin','decode','pptx','get','transformWorkbookDataToSnapshotJson','importWorkbookDataToUnitId','getResourcesRequest','_requestService','UNIVER_DOC','ClockIcon','ignoreTableExport','1815vilWWZ','840wxspTn','univer-flex','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','file.json','decorate','blob','@univerjs-pro/exchange-client','IUniverInstanceService','signUrl','type','body','getLatestCsReqIdBySid','next','_completeProgress','_showNetworkError','merge','importServerUrl','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Error','toDisposable','Failed\x20to\x20get\x20unitID\x20from\x20task','jsxs','origin','deflateSync','UNIVER_UNKNOWN','Failed\x20to\x20get\x20file\x20from\x20url','exportDOCXByUnitId','name','77506FLFyfF','univer-text-red-500','exchange-client.internalError','_taskInterrupted','_getExportURL','Failed\x20to\x20get\x20text\x20from\x20url','importXLSXToUnitId','status','toString','minSheetRowCount','Tooltip','interrupt','getSheetBlocksFromSnapshot','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','span','content-disposition','encode','exportXLSXBySnapshot','b64DecodeUnicode','IExchangeOperateService','xlsm','_registerIcons','getUnitId','LocaleService','interruptImportTask','UNIVER_SHEET','ErrorCode','taskID','importFileToUnitId','minSheetColumnCount','_exchangeService','Disposable','_httpService','606Ysqoqt','getOwnPropertyDescriptor','doc','data','Subject','exportXLSXByUnitId','_totalUploadTaskCount','version','link','univer-mt-5\x20univer-flex\x20univer-flex-col','getSnapshot','trim','SlidesMultiIcon','saveUnit','BuiltInUIPart','UNRECOGNIZED','Error\x20getting\x20file\x20name\x20from\x20URL:','univer-pro.exchange-client.upload-notification.service','download','154549yhjiNC','application/json','_getDisableCellImageConversion','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','uploadFileToUnitId','updateSnapshot','importPPTXToUnitId','UniverInstanceType','_localeService','xlsx','click','IConfigService','setTaskInterrupted','exchange-client.unknownMistake','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','CloseIcon','import\x20error','_getUnitJson','_exportBySnapshot','statusText','xltx','signUrlServerUrl','docx','Failed\x20to\x20get\x20jsonID\x20from\x20task','{taskID}','useObservable','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','_resourceLoaderService','join','file.','_getUnitNameByType','pop','_list$','show','values','exportPPTXByUnitId','resolve','UNIVER_PROJECT','getUnitOnRev','exchange-client.cancel','_import','change','getConfig','?size=','_blank','toStringTag','getFocusedUnit','univer-text-blue-500','_config','maxTimeoutTime','useDependency','post','_upload','unshift','exchange-client.downloadSuccess','toLowerCase','visible$','1946BvGppg','_state$','createIdentifier','textDecoder','4hyuIhl','display','_requestState$','_fileTypeError','ILogService','_signUrl','exchange-client.wait','exportPPTXBySnapshot','set','HTTPService','Failed\x20to\x20parse\x20json','_getUnitName','clearTaskInterrupted','default','exchange-client.uploading','transformWorkbookDataToSnapshot','noreferrer','success','/universer-api/exchange/{type}/import','\x20-\x20','state$','_doneUploadTaskCount','exchange-client.downloading','_refreshSlide','input','.json','pushLink','register','UNIVER_PDF','32lcpfIL','isArray','asObservable','fileID','subscribe','prototype','exportDOCXBySnapshot','dispose','UniverExchangeClientPlugin','searchParams','exchange-client.networkError','min','createUnit','createObjectURL','Failed\x20to\x20transform\x20snapshot\x20to\x20string','CONNECTOR_DATA_TOO_LARGE','Success','files','function','&source=','requestState$','getCurrentUnitOfType','ShareRangeIcon','DependentOn','/universer-api/stream/file/upload','createElement','title','_showDownloadMessage','file','jsx','_sheetBlockCache','parse','importDOCXToSnapshot','downloadFile','UNIVER_EXCHANGE_CLIENT_PLUGIN','exchange-client.fileTypeError','slide','message','number','disableCellImageConversion','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','forEach','IUIPartsService','copyFileMeta','_getLinkByUnitId','univer-text-green-500','_univerInstanceService','_messageService','SheetsMultiIcon','{fileID}','univer-pro.exchange-client.operate.service','Method\x20not\x20implemented.','split','15402033Hkgdug'];_0x3cc8=function(){return _0x29e03f;};return _0x3cc8();}let J=class extends t[_0x3a4b72(0x122)]{constructor(_0x2f2fba,_0x3ab889,_0x42cbf3,_0xdab111,_0x2cf6f0,_0x4f3cb2,_0x69c7bb){const _0x14a29c=_0x3a4b72;super(),this[_0x14a29c(0x1bf)]=_0x2f2fba,this[_0x14a29c(0x1c0)]=_0x3ab889,this[_0x14a29c(0x13f)]=_0x42cbf3,this[_0x14a29c(0x121)]=_0xdab111,this[_0x14a29c(0x24b)]=_0x2cf6f0,this[_0x14a29c(0x239)]=_0x4f3cb2,this['_resourceLoaderService']=_0x69c7bb,v(this,_0x14a29c(0x1ed),new a[(_0x14a29c(0x1ea))](pe)),v(this,_0x14a29c(0xd7),this[_0x14a29c(0x1ed)]['asObservable']()),v(this,_0x14a29c(0x12a),0x0),v(this,_0x14a29c(0x189),0x0),this[_0x14a29c(0x244)]((0x0,t[_0x14a29c(0xfa)])(this[_0x14a29c(0x121)][_0x14a29c(0x1a5)][_0x14a29c(0x195)](_0x356edd=>{const _0x51ced7=_0x14a29c;var _0x3beb58;((_0x3beb58=_0x356edd['error'])==null?void 0x0:_0x3beb58[_0x51ced7(0x20e)])===c['ErrorCode']['OK']?this[_0x51ced7(0x251)](0x1):this[_0x51ced7(0xf5)](_0x356edd['error']);})));}[_0x3a4b72(0x10e)](){const _0x44d509=_0x3a4b72;this[_0x44d509(0x1f5)](),this[_0x44d509(0x24b)][_0x44d509(0x235)](0x2),this[_0x44d509(0x121)][_0x44d509(0x11b)]();}async[_0x3a4b72(0x13b)](_0x42e95b){const _0x50dfd4=_0x3a4b72;throw Error(_0x50dfd4(0x1c4));}async[_0x3a4b72(0x1fb)](){const _0x59eddd=_0x3a4b72;let _0x483740=this[_0x59eddd(0x1bf)][_0x59eddd(0x165)]();switch(_0x483740?this['_univerInstanceService'][_0x59eddd(0x212)](_0x483740[_0x59eddd(0x119)]()):t[_0x59eddd(0x13e)][_0x59eddd(0x133)]){case t[_0x59eddd(0x13e)]['UNIVER_SLIDE']:return this[_0x59eddd(0x13d)]();case t[_0x59eddd(0x13e)]['UNIVER_DOC']:return this[_0x59eddd(0xd6)]();case t[_0x59eddd(0x13e)]['UNIVER_SHEET']:default:return this[_0x59eddd(0x109)]();}}async[_0x3a4b72(0xd6)](){const _0xb8f14a=_0x3a4b72;let _0x5163f0=await M([t['UniverInstanceType']['UNIVER_DOC']]);if(_0x5163f0&&!this[_0xb8f14a(0x177)](_0x5163f0,t['UniverInstanceType']['UNIVER_DOC']))return this['_importFileToUnitId'](_0x5163f0[0x0],t[_0xb8f14a(0x13e)][_0xb8f14a(0xe3)]);}[_0x3a4b72(0x1b1)](){const _0x3d9d11=_0x3a4b72;throw Error(_0x3d9d11(0x1c4));}async[_0x3a4b72(0x101)](_0x67c0db,_0xefba2,_0x4dfa54){const _0x344ae4=_0x3a4b72;this[_0x344ae4(0x1ac)](o[_0x344ae4(0x217)][_0x344ae4(0x1ec)]);let _0x2f9bf5=await this['_exchangeService']['exportDOCXByUnitId'](_0x67c0db||this['_getUnitIDDoc']());_0x2f9bf5&&(this[_0x344ae4(0x121)][_0x344ae4(0x1b2)](_0x2f9bf5,_0xefba2||this[_0x344ae4(0x17f)](_0x2f9bf5),'docx'),this[_0x344ae4(0x1ac)](o[_0x344ae4(0x217)][_0x344ae4(0x1a1)]));}async['exportDOCXBySnapshot'](){const _0xf2b03f=_0x3a4b72;this[_0xf2b03f(0x1ac)](o[_0xf2b03f(0x217)][_0xf2b03f(0x1ec)]);let _0x44ee2a=await this[_0xf2b03f(0x1fa)](),_0x4220c1=await this[_0xf2b03f(0x121)][_0xf2b03f(0x197)](_0x44ee2a);_0x4220c1&&(this[_0xf2b03f(0x121)][_0xf2b03f(0x1b2)](_0x4220c1,this[_0xf2b03f(0x17f)](_0x4220c1),_0xf2b03f(0x14d)),this['_showDownloadMessage'](o[_0xf2b03f(0x217)][_0xf2b03f(0x1a1)]));}async[_0x3a4b72(0x13d)](){const _0x55e379=_0x3a4b72;if(this[_0x55e379(0x1df)]()){this['_messageService']['show']({'type':o[_0x55e379(0x217)][_0x55e379(0x256)],'content':this[_0x55e379(0x13f)]['t']('exchange-client.uploading')});return;}let _0x55d718=await M([t[_0x55e379(0x13e)][_0x55e379(0x237)]]);if(_0x55d718&&!this['_fileTypeError'](_0x55d718,t[_0x55e379(0x13e)][_0x55e379(0x237)]))return this[_0x55e379(0x207)](_0x55d718[0x0],t[_0x55e379(0x13e)]['UNIVER_SLIDE']);}async[_0x3a4b72(0x210)](){const _0x1944a4=_0x3a4b72;if(this[_0x1944a4(0x1df)]()){this[_0x1944a4(0x1c0)][_0x1944a4(0x158)]({'type':o['MessageType']['Warning'],'content':this['_localeService']['t'](_0x1944a4(0x182))});return;}let _0x28dd49=await M([t[_0x1944a4(0x13e)]['UNIVER_SLIDE']]);if(!_0x28dd49)return;this[_0x1944a4(0x228)](o[_0x1944a4(0x217)][_0x1944a4(0x1ec)]);let _0x11aafc=await this[_0x1944a4(0x121)]['importPPTXToSnapshot'](_0x28dd49[0x0]);_0x11aafc&&(this[_0x1944a4(0x18b)](_0x11aafc),this[_0x1944a4(0x228)](o['MessageType'][_0x1944a4(0x1a1)]));}async['exportPPTXByUnitId'](_0x594d7f,_0x2155b6,_0x2d4390){const _0x4f8a38=_0x3a4b72;this[_0x4f8a38(0x1ac)](o['MessageType'][_0x4f8a38(0x1ec)]);let _0x1623e6=await this[_0x4f8a38(0x121)][_0x4f8a38(0x15a)](_0x594d7f||this['_getUnitIDSlide']());_0x1623e6&&(this[_0x4f8a38(0x121)][_0x4f8a38(0x1b2)](_0x1623e6,_0x2155b6||this[_0x4f8a38(0x155)](_0x1623e6,_0x2d4390==null?t[_0x4f8a38(0x13e)][_0x4f8a38(0x237)]:_0x2d4390),'pptx'),this[_0x4f8a38(0x1ac)](o['MessageType'][_0x4f8a38(0x1a1)]));}async[_0x3a4b72(0x17b)](){const _0xe82aa1=_0x3a4b72;this[_0xe82aa1(0x1ac)](o[_0xe82aa1(0x217)][_0xe82aa1(0x1ec)]);let _0x647b57=await this['_getUnitSlideJson'](),_0x5312f0=await this[_0xe82aa1(0x121)]['exportPPTXBySnapshot'](_0x647b57);_0x5312f0&&(this[_0xe82aa1(0x121)][_0xe82aa1(0x1b2)](_0x5312f0,this['_getUnitNameByType'](_0x5312f0,t[_0xe82aa1(0x13e)][_0xe82aa1(0x237)]),_0xe82aa1(0xdd)),this['_showDownloadMessage'](o[_0xe82aa1(0x217)][_0xe82aa1(0x1a1)]));}async[_0x3a4b72(0x109)](){const _0x3e8d16=_0x3a4b72;if(this[_0x3e8d16(0x1df)]()){this['_messageService'][_0x3e8d16(0x158)]({'type':o[_0x3e8d16(0x217)]['Warning'],'content':this[_0x3e8d16(0x13f)]['t']('exchange-client.uploading')});return;}let _0x3d3e41=await M([t['UniverInstanceType'][_0x3e8d16(0x11c)]]);if(_0x3d3e41&&!this[_0x3e8d16(0x177)](_0x3d3e41,t[_0x3e8d16(0x13e)][_0x3e8d16(0x11c)]))return this[_0x3e8d16(0x207)](_0x3d3e41[0x0],t[_0x3e8d16(0x13e)][_0x3e8d16(0x11c)]);}async[_0x3a4b72(0x1fc)](){const _0x362a77=_0x3a4b72;if(this[_0x362a77(0x1df)]()){this[_0x362a77(0x1c0)][_0x362a77(0x158)]({'type':o[_0x362a77(0x217)][_0x362a77(0x256)],'content':this['_localeService']['t'](_0x362a77(0x182))});return;}let _0x333184=await M([t[_0x362a77(0x13e)][_0x362a77(0x11c)]]);if(!_0x333184)return;this['_showUploadMessage'](o[_0x362a77(0x217)][_0x362a77(0x1ec)]);let _0x451393=await this[_0x362a77(0x121)]['importXLSXToSnapshot'](_0x333184[0x0]);_0x451393&&(this[_0x362a77(0x231)](_0x451393),this['_showUploadMessage'](o[_0x362a77(0x217)]['Success']));}async[_0x3a4b72(0x129)](_0x665bf3,_0x3c77e1,_0x2f38bd){const _0x5c9b1f=_0x3a4b72;this[_0x5c9b1f(0x1ac)](o[_0x5c9b1f(0x217)][_0x5c9b1f(0x1ec)]);let _0x158dc8=await this[_0x5c9b1f(0x121)]['exportXLSXByUnitId'](_0x665bf3||this['_getUnitID']());_0x158dc8&&(this[_0x5c9b1f(0x121)]['downloadFile'](_0x158dc8,_0x3c77e1||this['_getUnitName'](_0x158dc8),_0x5c9b1f(0x140)),this[_0x5c9b1f(0x1ac)](o[_0x5c9b1f(0x217)][_0x5c9b1f(0x1a1)]));}async[_0x3a4b72(0x114)](){const _0x796e97=_0x3a4b72;this[_0x796e97(0x1ac)](o[_0x796e97(0x217)][_0x796e97(0x1ec)]);let _0x3ff6ae=await this['_getUnitJson'](),_0x28d0ca=await this[_0x796e97(0x121)][_0x796e97(0x114)](_0x3ff6ae);_0x28d0ca&&(this[_0x796e97(0x121)][_0x796e97(0x1b2)](_0x28d0ca,this[_0x796e97(0x17f)](_0x28d0ca),_0x796e97(0x140)),this[_0x796e97(0x1ac)](o[_0x796e97(0x217)][_0x796e97(0x1a1)]));}['registerLink'](_0x41fb25){this['_getLinkByUnitId']=_0x41fb25;}async[_0x3a4b72(0x207)](_0x36fbec,_0x41e126){const _0x1d24d2=_0x3a4b72;this[_0x1d24d2(0x24b)]['show'](),this[_0x1d24d2(0x24b)][_0x1d24d2(0x235)](0x0),this[_0x1d24d2(0x1d1)](0x4),this[_0x1d24d2(0x251)](0x1);let _0x1e72a1=await this[_0x1d24d2(0x121)][_0x1d24d2(0x11f)](_0x36fbec,_0x41e126);if(!_0x1e72a1){this[_0x1d24d2(0x1f5)](),this[_0x1d24d2(0x24b)][_0x1d24d2(0x235)](0x2);return;}let _0x35fb9d={'link':this[_0x1d24d2(0x1bd)](_0x1e72a1,_0x41e126),'name':_0x36fbec[_0x1d24d2(0x102)],'type':_0x41e126};return this[_0x1d24d2(0x24b)][_0x1d24d2(0x18e)](_0x35fb9d),this[_0x1d24d2(0xf4)](),this[_0x1d24d2(0x24b)][_0x1d24d2(0x235)](0x1),_0x1e72a1;}[_0x3a4b72(0x1eb)](){const _0x534098=_0x3a4b72;return this[_0x534098(0x1bf)]['getCurrentUnitOfType'](t[_0x534098(0x13e)][_0x534098(0x11c)])[_0x534098(0x119)]();}['_getUnitIDDoc'](){const _0x35fd68=_0x3a4b72;return this['_univerInstanceService'][_0x35fd68(0x1a6)](t['UniverInstanceType'][_0x35fd68(0xe3)])[_0x35fd68(0x119)]();}['_getUnitIDSlide'](){const _0x120054=_0x3a4b72;return this[_0x120054(0x1bf)][_0x120054(0x1a6)](t[_0x120054(0x13e)]['UNIVER_SLIDE'])[_0x120054(0x119)]();}[_0x3a4b72(0x17f)](_0x1a5899){const _0x13a358=_0x3a4b72;return this[_0x13a358(0x155)](_0x1a5899,t[_0x13a358(0x13e)][_0x13a358(0x11c)]);}[_0x3a4b72(0x155)](_0xf9b143,_0xd5a9ea){const _0x5c4a66=_0x3a4b72;var _0x121c47;let _0x241a42=(_0x121c47=this[_0x5c4a66(0x1bf)]['getCurrentUnitOfType'](_0xd5a9ea))==null?void 0x0:_0x121c47[_0x5c4a66(0x12e)](),_0x7812b5=_0x241a42==null?void 0x0:_0x241a42[_0x5c4a66(0x102)];return typeof _0x7812b5==_0x5c4a66(0x219)&&_0x7812b5[_0x5c4a66(0x12f)]()?_0x7812b5:_0xf9b143['name']['split']('.')['shift']()||document[_0x5c4a66(0x1ab)];}async[_0x3a4b72(0x148)](){const _0x5111e0=_0x3a4b72;let _0x27eb11=this[_0x5111e0(0x1bf)]['getCurrentUnitOfType'](t[_0x5111e0(0x13e)][_0x5111e0(0x11c)]),_0xef8d13=this[_0x5111e0(0x152)][_0x5111e0(0x131)](_0x27eb11['getUnitId']());return _0xef8d13==null?_0x27eb11[_0x5111e0(0x12e)]():_0xef8d13;}async[_0x3a4b72(0x1fa)](){const _0x37b520=_0x3a4b72;let _0x28d73e=this[_0x37b520(0x1bf)]['getCurrentUnitOfType'](t['UniverInstanceType'][_0x37b520(0xe3)]),_0xdb055c=this[_0x37b520(0x152)][_0x37b520(0x131)](_0x28d73e[_0x37b520(0x119)]());return _0xdb055c==null?_0x28d73e[_0x37b520(0x12e)]():_0xdb055c;}async[_0x3a4b72(0x221)](){const _0x588127=_0x3a4b72;let _0x55bcfd=this[_0x588127(0x1bf)][_0x588127(0x1a6)](t[_0x588127(0x13e)][_0x588127(0x237)]),_0x1e20d6=this[_0x588127(0x152)][_0x588127(0x131)](_0x55bcfd[_0x588127(0x119)]());return _0x1e20d6==null?_0x55bcfd[_0x588127(0x12e)]():_0x1e20d6;}[_0x3a4b72(0x1bd)](_0x535460,_0x3cdd22){const _0x15c34f=_0x3a4b72;let _0xc9524d=new URL(window['location']['href']);return _0xc9524d['searchParams'][_0x15c34f(0x17c)]('unit',_0x535460),_0xc9524d[_0x15c34f(0x19a)][_0x15c34f(0x17c)](_0x15c34f(0xf0),''+_0x3cdd22),_0xc9524d[_0x15c34f(0x10b)]();}['_refresh'](_0x5efe26){const _0x1a5da0=_0x3a4b72;let _0x1fa8c0=this[_0x1a5da0(0x1bf)][_0x1a5da0(0x1a6)](t[_0x1a5da0(0x13e)]['UNIVER_SHEET'])[_0x1a5da0(0x119)]();this[_0x1a5da0(0x1bf)]['disposeUnit'](_0x1fa8c0),this[_0x1a5da0(0x1bf)][_0x1a5da0(0x19d)](t[_0x1a5da0(0x13e)][_0x1a5da0(0x11c)],_0x5efe26);}[_0x3a4b72(0x18b)](_0x2b4527){const _0x5b6964=_0x3a4b72;let _0x48046c=this['_univerInstanceService'][_0x5b6964(0x1a6)](t[_0x5b6964(0x13e)][_0x5b6964(0x237)])[_0x5b6964(0x119)]();this[_0x5b6964(0x1bf)]['disposeUnit'](_0x48046c),this[_0x5b6964(0x1bf)][_0x5b6964(0x19d)](t['UniverInstanceType'][_0x5b6964(0x237)],_0x2b4527);}[_0x3a4b72(0xf5)](_0x2423ad){const _0x256dc0=_0x3a4b72;if(_0x2423ad){let {code:_0x1e556d}=_0x2423ad;switch(_0x1e556d){case c[_0x256dc0(0x11d)][_0x256dc0(0x1a0)]:this[_0x256dc0(0x1c0)]['show']({'type':o[_0x256dc0(0x217)][_0x256dc0(0xf9)],'content':this['_localeService']['t']('exchange-client.tooLarge')});break;case c[_0x256dc0(0x11d)]['INTERNAL_ERROR']:this['_messageService'][_0x256dc0(0x158)]({'type':o[_0x256dc0(0x217)][_0x256dc0(0xf9)],'content':this[_0x256dc0(0x13f)]['t'](_0x256dc0(0x105))});break;default:this[_0x256dc0(0x1c0)]['show']({'type':o['MessageType']['Error'],'content':this['_localeService']['t']('exchange-client.networkError')});break;}return null;}return this[_0x256dc0(0x1c0)][_0x256dc0(0x158)]({'type':o[_0x256dc0(0x217)][_0x256dc0(0xf9)],'content':this[_0x256dc0(0x13f)]['t'](_0x256dc0(0x19b))}),null;}[_0x3a4b72(0x1ac)](_0x5683de){const _0x24893d=_0x3a4b72;let _0x2d2a08='';switch(_0x5683de){case o['MessageType'][_0x24893d(0x1a1)]:_0x2d2a08=this['_localeService']['t'](_0x24893d(0x16d));break;case o[_0x24893d(0x217)][_0x24893d(0x1ec)]:_0x2d2a08=this['_localeService']['t'](_0x24893d(0x18a));break;default:break;}this[_0x24893d(0x1c0)][_0x24893d(0x158)]({'type':_0x5683de,'content':_0x2d2a08});}[_0x3a4b72(0x228)](_0x25059c){const _0x4014d5=_0x3a4b72;let _0x467270='';switch(_0x25059c){case o[_0x4014d5(0x217)]['Success']:_0x467270=this[_0x4014d5(0x13f)]['t']('exchange-client.uploadSuccess');break;case o[_0x4014d5(0x217)]['Info']:_0x467270=this[_0x4014d5(0x13f)]['t']('exchange-client.uploading');break;default:break;}this['_messageService'][_0x4014d5(0x158)]({'type':_0x25059c,'content':_0x467270});}[_0x3a4b72(0x245)](){const _0x18c7af=_0x3a4b72;this[_0x18c7af(0x1ed)]['next']({'done':this['_doneUploadTaskCount'],'count':this[_0x18c7af(0x12a)]});}['_addTotalCount'](_0x172a78){const _0x571f2a=_0x3a4b72;this[_0x571f2a(0x12a)]+=_0x172a78,this[_0x571f2a(0x245)]();}['_addDoneTask'](_0x13d44d){const _0x2eb808=_0x3a4b72;this[_0x2eb808(0x189)]+=_0x13d44d,this[_0x2eb808(0x189)]=Math[_0x2eb808(0x19c)](this[_0x2eb808(0x189)],this[_0x2eb808(0x12a)]),this[_0x2eb808(0x245)]();}[_0x3a4b72(0xf4)](){const _0x26e544=_0x3a4b72;this[_0x26e544(0x189)]=this['_totalUploadTaskCount'],this[_0x26e544(0x245)]();}[_0x3a4b72(0x1f5)](){const _0x36f72c=_0x3a4b72;this[_0x36f72c(0x189)]=0x0,this['_totalUploadTaskCount']=0x0,this[_0x36f72c(0x245)]();}[_0x3a4b72(0x177)](_0x1b3204,_0x3aeece){const _0x11f958=_0x3a4b72;let _0x4fb2a9=_0x1b3204[0x0],_0x4c4fb0=_0x4fb2a9['name'];return j(_0x4fb2a9)===_0x3aeece?!0x1:(this['_messageService']['show']({'type':o['MessageType']['Error'],'content':this[_0x11f958(0x13f)]['t'](_0x11f958(0x1b4),_0x4c4fb0)}),!0x0);}['_uploadTaskNotDone'](){const _0xc9799f=_0x3a4b72;return this['_totalUploadTaskCount']!==0x0&&this[_0xc9799f(0x189)]!==this[_0xc9799f(0x12a)];}};J=h([m(0x0,(0x0,t[_0x3a4b72(0x1cd)])(t[_0x3a4b72(0xee)])),m(0x1,i[_0x3a4b72(0x23c)]),m(0x2,(0x0,t[_0x3a4b72(0x1cd)])(t[_0x3a4b72(0x11a)])),m(0x3,(0x0,t[_0x3a4b72(0x1cd)])(G)),m(0x4,(0x0,t[_0x3a4b72(0x1cd)])(y)),m(0x5,t[_0x3a4b72(0x178)]),m(0x6,(0x0,t[_0x3a4b72(0x1cd)])(t['IResourceLoaderService']))],J);function Y(_0x2a63f1){const _0x499b5f=_0x3a4b72;let {onClick:_0x58ebb3,children:_0x225d8d,className:_0x514f06}=_0x2a63f1;return(0x0,s['jsx'])(_0x499b5f(0x1f8),{'className':(0x0,o['clsx'])(_0x499b5f(0x13a),_0x514f06),'type':_0x499b5f(0x1f8),'onClick':_0x58ebb3,'children':_0x225d8d});}function X(){const _0x2a5c35=_0x3a4b72;let _0x11879f=(0x0,i[_0x2a5c35(0x169)])(q),_0x3710a3=(0x0,i[_0x2a5c35(0x169)])(t['LocaleService']);function _0xc436f9(){const _0x29a6a5=_0x2a5c35;_0x11879f[_0x29a6a5(0x1fb)]();}return(0x0,s[_0x2a5c35(0x1ae)])(Y,{'onClick':_0xc436f9,'children':_0x3710a3['t'](_0x2a5c35(0x230))});}function me(){const _0x425cb6=_0x3a4b72;return(0x0,s['jsxs'])('div',{'className':_0x425cb6(0x12d),'children':[(0x0,s[_0x425cb6(0x1ae)])(_0x425cb6(0x111),{'className':_0x425cb6(0x222),'children':(0x0,i[_0x425cb6(0x169)])(t[_0x425cb6(0x11a)])['t']('exchange-client.interrupt')}),(0x0,s[_0x425cb6(0x1ae)])(X,{})]});}function he(_0x5b0da4){const _0x2387ae=_0x3a4b72;let {count:_0xcce21c}=_0x5b0da4;return(0x0,s[_0x2387ae(0xfc)])(_0x2387ae(0x250),{'className':_0x2387ae(0x1c7),'children':[(0x0,s['jsx'])(_0x2387ae(0x111),{'className':'univer-text-sm\x20univer-text-gray-500','children':(0x0,i[_0x2387ae(0x169)])(t[_0x2387ae(0x11a)])['t'](_0x2387ae(0x21f),''+_0xcce21c)}),(0x0,s[_0x2387ae(0x1ae)])(X,{})]});}function ge(){const _0x34df98=_0x3a4b72;let _0x1692f2=(0x0,i[_0x34df98(0x169)])(q),_0x7b7a5d=(0x0,i['useDependency'])(t[_0x34df98(0x11a)]);function _0x3d38cd(){_0x1692f2['interrupt']();}return(0x0,s[_0x34df98(0x1ae)])(Y,{'onClick':_0x3d38cd,'children':_0x7b7a5d['t'](_0x34df98(0x15e))});}function _0x2250(_0x3bc95b,_0x518ab7){_0x3bc95b=_0x3bc95b-0xd6;const _0x3cc844=_0x3cc8();let _0x225093=_0x3cc844[_0x3bc95b];return _0x225093;}function _e(){const _0x5561d=_0x3a4b72;let {count:_0x46e835,done:_0x53c121}=(0x0,i[_0x5561d(0x150)])((0x0,i[_0x5561d(0x169)])(q)[_0x5561d(0xd7)]),_0x235212=_0x46e835>0x0?_0x53c121/_0x46e835:0x0;return(0x0,s[_0x5561d(0x1ae)])(_0x5561d(0x250),{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,s['jsx'])(_0x5561d(0x250),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x5561d(0x1ff)](_0x235212*0x64)+'%'}})});}function ve(){const _0x58e066=_0x3a4b72;return(0x0,s[_0x58e066(0xfc)])(_0x58e066(0x250),{'className':_0x58e066(0x12d),'children':[(0x0,s['jsx'])('span',{'className':_0x58e066(0x145),'children':(0x0,i['useDependency'])(t[_0x58e066(0x11a)])['t'](_0x58e066(0x17a))}),(0x0,s[_0x58e066(0x1ae)])(_0x58e066(0x250),{'className':_0x58e066(0x24d),'children':(0x0,s[_0x58e066(0x1ae)])(_e,{})}),(0x0,s[_0x58e066(0x1ae)])(ge,{})]});}const Z={0x1:(0x0,s[_0x3a4b72(0x1ae)])(r[_0x3a4b72(0xd8)],{'className':_0x3a4b72(0x1be)}),0x0:(0x0,s[_0x3a4b72(0x1ae)])(r[_0x3a4b72(0xe4)],{'className':_0x3a4b72(0x166)}),0x2:(0x0,s[_0x3a4b72(0x1ae)])(r[_0x3a4b72(0x232)],{'className':_0x3a4b72(0x104)})};function ye(){const _0x3b1212=_0x3a4b72;let _0x20180f=(0x0,i[_0x3b1212(0x169)])(y),_0x1762b8=(0x0,i[_0x3b1212(0x169)])(t[_0x3b1212(0x11a)]),_0x2b509e=(0x0,i[_0x3b1212(0x150)])(_0x20180f[_0x3b1212(0x188)],0x0),_0x4d481d=(0x0,i[_0x3b1212(0x150)])(_0x20180f[_0x3b1212(0x16f)],!0x1),_0x4781b4=(0x0,i[_0x3b1212(0x150)])(_0x20180f[_0x3b1212(0x211)],[]);function _0x57b66e(){const _0x40b7b0=_0x3b1212;_0x20180f[_0x40b7b0(0x1f3)]();}function _0x102507(_0x6d952f){const _0x3d7c14=_0x3b1212;switch(_0x6d952f){case 0x1:return _0x1762b8['t'](_0x3d7c14(0x218));case 0x0:return _0x1762b8['t'](_0x3d7c14(0x182));case 0x2:return _0x1762b8['t'](_0x3d7c14(0x144));default:return'';}}return _0x4d481d&&(0x0,s[_0x3b1212(0xfc)])(_0x3b1212(0x250),{'className':_0x3b1212(0x151),'children':[(0x0,s['jsxs'])(_0x3b1212(0x250),{'className':_0x3b1212(0x20b),'children':[(0x0,s[_0x3b1212(0xfc)])(_0x3b1212(0x111),{'className':_0x3b1212(0xe8),'children':[(0x0,s['jsx'])(_0x3b1212(0x111),{'className':'univer-h-6\x20univer-text-2xl','children':Z[_0x2b509e]}),(0x0,s[_0x3b1212(0x1ae)])(_0x3b1212(0x111),{'className':_0x3b1212(0x24f),'children':_0x102507(_0x2b509e)})]}),(0x0,s[_0x3b1212(0x1ae)])(_0x3b1212(0x111),{'className':_0x3b1212(0x20d),'onClick':_0x57b66e,'children':(0x0,s[_0x3b1212(0x1ae)])(r[_0x3b1212(0x146)],{})})]}),(0x0,s[_0x3b1212(0xfc)])(_0x3b1212(0x250),{'children':[_0x2b509e===0x0&&(0x0,s['jsx'])(ve,{}),_0x2b509e===0x2&&(0x0,s[_0x3b1212(0x1ae)])(me,{}),_0x4781b4[_0x3b1212(0x213)]>0x0&&(0x0,s[_0x3b1212(0x1ae)])(re,{'list':_0x4781b4}),_0x2b509e===0x1&&(0x0,s[_0x3b1212(0x1ae)])(he,{'count':_0x4781b4['length']})]})]});}function be(){const _0x5842e5=_0x3a4b72;return(0x0,s[_0x5842e5(0x1ae)])(ye,{});}let Q=class extends t[_0x3a4b72(0x122)]{constructor(_0x30973d,_0x2fa793){const _0x3bffc3=_0x3a4b72;super(),this[_0x3bffc3(0x22e)]=_0x30973d,this[_0x3bffc3(0x1f9)]=_0x2fa793,this[_0x3bffc3(0x1ce)]();}[_0x3a4b72(0x1ce)](){const _0x126778=_0x3a4b72;this[_0x126778(0x244)](this['_uiPartsService'][_0x126778(0x1d5)](i[_0x126778(0x132)]['CONTENT'],()=>(0x0,i['connectInjector'])(be,this[_0x126778(0x22e)])));}};Q=h([m(0x0,(0x0,t[_0x3a4b72(0x1cd)])(t[_0x3a4b72(0x21a)])),m(0x1,i[_0x3a4b72(0x1bb)])],Q);let $=class extends t['Plugin']{constructor(_0x4682ae=p,_0x3e67a1,_0x48723f){const _0x3c1ffa=_0x3a4b72;super(),this[_0x3c1ffa(0x167)]=_0x4682ae,this[_0x3c1ffa(0x22e)]=_0x3e67a1,this[_0x3c1ffa(0x241)]=_0x48723f;let {..._0x152e64}=(0x0,t[_0x3c1ffa(0xf6)])({},p,this['_config']);this['_configService']['setConfig'](f,_0x152e64);}[_0x3a4b72(0x1f0)](){const _0x2793d5=_0x3a4b72;(0x0,t[_0x2793d5(0x1f1)])(this[_0x2793d5(0x22e)],[[g],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[y,{'useClass':b}]]);}['onReady'](){(0x0,t['touchDependencies'])(this['_injector'],[[g],[Q],[q]]);}};v($,_0x3a4b72(0x1e2),_0x3a4b72(0x1b3)),v($,'packageName',d),v($,_0x3a4b72(0x12b),ee),$=h([(0x0,t[_0x3a4b72(0x1a8)])(n[_0x3a4b72(0xdb)],e[_0x3a4b72(0x220)]),m(0x1,(0x0,t[_0x3a4b72(0x1cd)])(t[_0x3a4b72(0x21a)])),m(0x2,t[_0x3a4b72(0x142)])],$),exports[_0x3a4b72(0x116)]=q,exports[_0x3a4b72(0x1d4)]=G,Object[_0x3a4b72(0x1fe)](exports,_0x3a4b72(0x199),{'enumerable':!0x0,'get':function(){return $;}}),exports['downloadFile']=A,exports['transformSnapshotJsonToWorkbookData']=ue,exports[_0x3a4b72(0xdf)]=V;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x566bac=_0x3a2b;(function(_0x238122,_0x3be3b3){const _0x39419c=_0x3a2b,_0x2e9ed2=_0x238122();while(!![]){try{const _0x292463=-parseInt(_0x39419c(0x1f5))/0x1+-parseInt(_0x39419c(0x1ed))/0x2+-parseInt(_0x39419c(0x1f8))/0x3+-parseInt(_0x39419c(0x1f2))/0x4*(parseInt(_0x39419c(0x1f6))/0x5)+-parseInt(_0x39419c(0x1e7))/0x6*(-parseInt(_0x39419c(0x1ec))/0x7)+parseInt(_0x39419c(0x1eb))/0x8*(parseInt(_0x39419c(0x1fa))/0x9)+parseInt(_0x39419c(0x1f4))/0xa;if(_0x292463===_0x3be3b3)break;else _0x2e9ed2['push'](_0x2e9ed2['shift']());}catch(_0x11faf4){_0x2e9ed2['push'](_0x2e9ed2['shift']());}}}(_0x3d0b,0xb7cd0));function _0x3d0b(){const _0x48aff3=['1481589Kzyjpa','3165pMwcmz','جارٍ\x20التحميل','4369548mZOSWW','جارٍ\x20الرفع','5411682QDdmon','خطأ\x20غير\x20معروف','خطأ\x20داخلي\x20غير\x20معروف','18MBbbJT','يرجى\x20الانتظار...','إلغاء','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','16PwOOBT','1496369wOCGQy','1231886ISKvfE','تم\x20التحميل\x20بنجاح','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','تم\x20رفع\x20الملف\x20بنجاح','8068ZWAVIE','خطأ\x20في\x20الشبكة','37397600hVaUGu'];_0x3d0b=function(){return _0x48aff3;};return _0x3d0b();}const e={'exchange-client':{'uploading':_0x566bac(0x1f9),'uploadSuccess':_0x566bac(0x1f1),'uploadSuccessTip':_0x566bac(0x1ea),'downloading':_0x566bac(0x1f7),'downloadSuccess':_0x566bac(0x1ee),'unknownMistake':_0x566bac(0x1fb),'networkError':_0x566bac(0x1f3),'tooLarge':'البيانات\x20كبيرة\x20جداً','internalError':_0x566bac(0x1fc),'interrupt':_0x566bac(0x1f0),'fileTypeError':_0x566bac(0x1ef),'wait':_0x566bac(0x1e8),'cancel':_0x566bac(0x1e9),'uploadAgain':'إعادة\x20الرفع'}};function _0x3a2b(_0x267eaf,_0x353537){_0x267eaf=_0x267eaf-0x1e7;const _0x3d0bae=_0x3d0b();let _0x3a2ba2=_0x3d0bae[_0x267eaf];return _0x3a2ba2;}module['exports']=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x297556=_0xb03d;function _0xb03d(_0x4db215,_0x4fa080){_0x4db215=_0x4db215-0x1b6;const _0x59f62d=_0x59f6();let _0xb03d10=_0x59f62d[_0x4db215];return _0xb03d10;}function _0x59f6(){const _0x3b1315=['Error\x20intern\x20desconegut','93937JuzGqm','Error\x20de\x20xarxa','1000bgxyHs','69507QCtsUp','2716986qlmtqb','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Espereu...','15603nKJItU','Les\x20dades\x20són\x20massa\x20grans','Error\x20desconegut','2asVonv','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','6592576zJAcHH','Descàrrega\x20correcta','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','Fitxer\x20pujat\x20correctament','971485yyiUHJ','2262232xUMclc','4iwmRhq','Tornar\x20a\x20pujar'];_0x59f6=function(){return _0x3b1315;};return _0x59f6();}(function(_0x591397,_0x480200){const _0x5038bf=_0xb03d,_0x37a555=_0x591397();while(!![]){try{const _0x216944=parseInt(_0x5038bf(0x1c9))/0x1*(-parseInt(_0x5038bf(0x1be))/0x2)+parseInt(_0x5038bf(0x1bb))/0x3+-parseInt(_0x5038bf(0x1c6))/0x4*(parseInt(_0x5038bf(0x1c4))/0x5)+parseInt(_0x5038bf(0x1b8))/0x6+parseInt(_0x5038bf(0x1c5))/0x7+parseInt(_0x5038bf(0x1c0))/0x8+-parseInt(_0x5038bf(0x1b7))/0x9*(parseInt(_0x5038bf(0x1b6))/0xa);if(_0x216944===_0x480200)break;else _0x37a555['push'](_0x37a555['shift']());}catch(_0x24e5e3){_0x37a555['push'](_0x37a555['shift']());}}}(_0x59f6,0x84fea));const e={'exchange-client':{'uploading':'Pujant','uploadSuccess':_0x297556(0x1c3),'uploadSuccessTip':_0x297556(0x1b9),'downloading':'Descarregant','downloadSuccess':_0x297556(0x1c1),'unknownMistake':_0x297556(0x1bd),'networkError':_0x297556(0x1ca),'tooLarge':_0x297556(0x1bc),'internalError':_0x297556(0x1c8),'interrupt':_0x297556(0x1c2),'fileTypeError':_0x297556(0x1bf),'wait':_0x297556(0x1ba),'cancel':'Cancel·lar','uploadAgain':_0x297556(0x1c7)}};module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x566aa8=_0xe826;function _0xe826(_0x1e4d9d,_0x10ecea){_0x1e4d9d=_0x1e4d9d-0x189;const _0x2e498b=_0x2e49();let _0xe82653=_0x2e498b[_0x1e4d9d];return _0xe82653;}(function(_0x5e0068,_0x184043){const _0x1375bf=_0xe826,_0x3f1765=_0x5e0068();while(!![]){try{const _0x313f5e=-parseInt(_0x1375bf(0x18a))/0x1+parseInt(_0x1375bf(0x197))/0x2*(-parseInt(_0x1375bf(0x18e))/0x3)+parseInt(_0x1375bf(0x19c))/0x4+-parseInt(_0x1375bf(0x19a))/0x5*(-parseInt(_0x1375bf(0x18c))/0x6)+parseInt(_0x1375bf(0x190))/0x7+-parseInt(_0x1375bf(0x193))/0x8*(parseInt(_0x1375bf(0x194))/0x9)+parseInt(_0x1375bf(0x199))/0xa;if(_0x313f5e===_0x184043)break;else _0x3f1765['push'](_0x3f1765['shift']());}catch(_0x1c6981){_0x3f1765['push'](_0x3f1765['shift']());}}}(_0x2e49,0x6213e));const e={'exchange-client':{'uploading':'Wird\x20hochgeladen','uploadSuccess':_0x566aa8(0x196),'uploadSuccessTip':_0x566aa8(0x19b),'downloading':_0x566aa8(0x192),'downloadSuccess':'Download\x20erfolgreich','unknownMistake':_0x566aa8(0x191),'networkError':_0x566aa8(0x18d),'tooLarge':'Daten\x20sind\x20zu\x20groß','internalError':_0x566aa8(0x195),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':_0x566aa8(0x18b),'wait':'Bitte\x20warten...','cancel':_0x566aa8(0x189),'uploadAgain':_0x566aa8(0x198)}};function _0x2e49(){const _0x2db0f2=['9278390KwBuoF','10GfsbUU','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','1946272fchnds','Abbrechen','594744DUFjjS','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','2110002iHGolA','Netzwerkfehler','6doEmJJ','exports','1850786uAUAwJ','Unbekannter\x20Fehler','Wird\x20heruntergeladen','5713784hLEziz','9DVHtvg','Interner\x20unbekannter\x20Fehler','Datei\x20erfolgreich\x20hochgeladen','671446KaZyqX','Erneut\x20hochladen'];_0x2e49=function(){return _0x2db0f2;};return _0x2e49();}module[_0x566aa8(0x18f)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5d824e=_0x4a4e;function _0x3021(){const _0x174748=['Unknown\x20mistake','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Please\x20wait...','Internal\x20unknown\x20error','300GYisch','998151SjNBrk','Upload\x20again','Data\x20is\x20too\x20large','File\x20uploaded\x20successfully','Cancel','9341utguwc','2493660jgbRzs','10lQVzgS','5856903ZHWRRD','exports','Downloading','4465284XTFtWv','16HzkXCo','25Jnehxx','Network\x20error','26503176ruXqua','7AZdgJY','{0}\x20file(s)\x20uploaded\x20successfully','11548MhfPzI'];_0x3021=function(){return _0x174748;};return _0x3021();}function _0x4a4e(_0xbcf067,_0x437809){_0xbcf067=_0xbcf067-0xfa;const _0x3021b6=_0x3021();let _0x4a4ee2=_0x3021b6[_0xbcf067];return _0x4a4ee2;}(function(_0x296ae6,_0x537ef4){const _0xf012d1=_0x4a4e,_0x7aef37=_0x296ae6();while(!![]){try{const _0x5cee8e=parseInt(_0xf012d1(0x10d))/0x1*(parseInt(_0xf012d1(0x107))/0x2)+-parseInt(_0xf012d1(0x10e))/0x3+-parseInt(_0xf012d1(0x102))/0x4*(-parseInt(_0xf012d1(0xfd))/0x5)+-parseInt(_0xf012d1(0xfb))/0x6*(parseInt(_0xf012d1(0x100))/0x7)+-parseInt(_0xf012d1(0xfc))/0x8*(parseInt(_0xf012d1(0x110))/0x9)+parseInt(_0xf012d1(0x10f))/0xa*(parseInt(_0xf012d1(0x108))/0xb)+parseInt(_0xf012d1(0xff))/0xc;if(_0x5cee8e===_0x537ef4)break;else _0x7aef37['push'](_0x7aef37['shift']());}catch(_0x29b378){_0x7aef37['push'](_0x7aef37['shift']());}}}(_0x3021,0xcc944));const e={'exchange-client':{'uploading':'Uploading','uploadSuccess':_0x5d824e(0x10b),'uploadSuccessTip':_0x5d824e(0x101),'downloading':_0x5d824e(0xfa),'downloadSuccess':'Download\x20success','unknownMistake':_0x5d824e(0x103),'networkError':_0x5d824e(0xfe),'tooLarge':_0x5d824e(0x10a),'internalError':_0x5d824e(0x106),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x5d824e(0x104),'wait':_0x5d824e(0x105),'cancel':_0x5d824e(0x10c),'uploadAgain':_0x5d824e(0x109)}};module[_0x5d824e(0x111)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x513f49=_0x42a9;(function(_0x35cd02,_0x4b27c9){const _0x23c808=_0x42a9,_0x464b40=_0x35cd02();while(!![]){try{const _0x382ae5=-parseInt(_0x23c808(0x15e))/0x1+-parseInt(_0x23c808(0x15d))/0x2+parseInt(_0x23c808(0x15b))/0x3+-parseInt(_0x23c808(0x15c))/0x4*(-parseInt(_0x23c808(0x154))/0x5)+parseInt(_0x23c808(0x153))/0x6*(parseInt(_0x23c808(0x159))/0x7)+parseInt(_0x23c808(0x166))/0x8*(parseInt(_0x23c808(0x156))/0x9)+-parseInt(_0x23c808(0x167))/0xa;if(_0x382ae5===_0x4b27c9)break;else _0x464b40['push'](_0x464b40['shift']());}catch(_0x5ea073){_0x464b40['push'](_0x464b40['shift']());}}}(_0x2297,0xe03c9));const e={'exchange-client':{'uploading':_0x513f49(0x155),'uploadSuccess':_0x513f49(0x163),'uploadSuccessTip':'{0}\x20archivo(s)\x20subido(s)\x20exitosamente','downloading':_0x513f49(0x164),'downloadSuccess':_0x513f49(0x157),'unknownMistake':_0x513f49(0x165),'networkError':_0x513f49(0x160),'tooLarge':_0x513f49(0x162),'internalError':_0x513f49(0x158),'interrupt':_0x513f49(0x15a),'fileTypeError':_0x513f49(0x161),'wait':_0x513f49(0x15f),'cancel':'Cancelar','uploadAgain':'Subir\x20de\x20nuevo'}};module['exports']=e;function _0x42a9(_0x285be9,_0x5b1cf7){_0x285be9=_0x285be9-0x153;const _0x2297a1=_0x2297();let _0x42a9c3=_0x2297a1[_0x285be9];return _0x42a9c3;}function _0x2297(){const _0x6f52b0=['2007945PoxEdb','Subiendo','2919573ukPesY','Descarga\x20exitosa','Error\x20interno\x20desconocido','2430883lxzQHo','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','1947282qgpvgu','8bynAzk','1687344unJnRl','1239751KkCjJU','Espere...','Error\x20de\x20red','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','Los\x20datos\x20son\x20demasiado\x20grandes','Archivo\x20subido\x20exitosamente','Descargando','Error\x20desconocido','40zGAbEk','7668990WQrCJx','12DXmUPb'];_0x2297=function(){return _0x6f52b0;};return _0x2297();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xf5dfd=_0x24cd;(function(_0x3b9260,_0x44cc07){const _0x291264=_0x24cd,_0x502e74=_0x3b9260();while(!![]){try{const _0x3d871b=parseInt(_0x291264(0x69))/0x1+parseInt(_0x291264(0x71))/0x2+parseInt(_0x291264(0x66))/0x3*(parseInt(_0x291264(0x76))/0x4)+-parseInt(_0x291264(0x68))/0x5*(-parseInt(_0x291264(0x67))/0x6)+parseInt(_0x291264(0x75))/0x7*(-parseInt(_0x291264(0x6f))/0x8)+-parseInt(_0x291264(0x6d))/0x9+-parseInt(_0x291264(0x7b))/0xa*(parseInt(_0x291264(0x6a))/0xb);if(_0x3d871b===_0x44cc07)break;else _0x502e74['push'](_0x502e74['shift']());}catch(_0x4c5894){_0x502e74['push'](_0x502e74['shift']());}}}(_0x8110,0x5f0c4));function _0x24cd(_0x16fa0e,_0x47582b){_0x16fa0e=_0x16fa0e-0x65;const _0x81100f=_0x8110();let _0x24cd5f=_0x81100f[_0x16fa0e];return _0x24cd5f;}const e={'exchange-client':{'uploading':_0xf5dfd(0x78),'uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':_0xf5dfd(0x74),'downloading':_0xf5dfd(0x6c),'downloadSuccess':_0xf5dfd(0x7d),'unknownMistake':_0xf5dfd(0x7a),'networkError':_0xf5dfd(0x79),'tooLarge':_0xf5dfd(0x65),'internalError':_0xf5dfd(0x77),'interrupt':_0xf5dfd(0x7c),'fileTypeError':_0xf5dfd(0x72),'wait':_0xf5dfd(0x6b),'cancel':_0xf5dfd(0x70),'uploadAgain':_0xf5dfd(0x6e)}};function _0x8110(){const _0x2b7a8d=['939qSNPWK','6MDFYmf','2445365zCFHKf','354967BagPlV','66dCiHQg','لطفا\x20صبر\x20کنید...','در\x20حال\x20دانلود','2438919PmWNmq','بارگذاری\x20مجدد','16YzXxvf','لغو','331962XLsmIl','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','exports','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','1682548vgjbgI','7576AdeWUg','خطای\x20داخلی\x20ناشناخته','در\x20حال\x20بارگذاری','خطای\x20شبکه','خطای\x20ناشناخته','769680AQhlex','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','دانلود\x20موفقیت\x20آمیز','داده\x20خیلی\x20بزرگ\x20است'];_0x8110=function(){return _0x2b7a8d;};return _0x8110();}module[_0xf5dfd(0x73)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x106d9f=_0x218d;function _0x1105(){const _0x443554=['962001AsnuIW','8858899zBHQzP','8oIrjcs','8SWOHAv','879488fmkCza','Télécharger\x20à\x20nouveau','Téléchargement','1208517qEghli','Téléchargement\x20réussi','3370356dRgfWh','19145710dZMEpc','exports','Téléchargement\x20en\x20cours','Les\x20données\x20sont\x20trop\x20volumineuses','Erreur\x20interne\x20inconnue','Erreur\x20réseau','Veuillez\x20patienter...','Annuler','35996kZlwwu','505fRtPiw'];_0x1105=function(){return _0x443554;};return _0x1105();}(function(_0x4ff642,_0x10a874){const _0x57abd8=_0x218d,_0x4332ac=_0x4ff642();while(!![]){try{const _0x392c90=parseInt(_0x57abd8(0x1b3))/0x1+-parseInt(_0x57abd8(0x1b1))/0x2*(-parseInt(_0x57abd8(0x1a2))/0x3)+-parseInt(_0x57abd8(0x1ad))/0x4*(-parseInt(_0x57abd8(0x1ae))/0x5)+parseInt(_0x57abd8(0x1a4))/0x6+-parseInt(_0x57abd8(0x1b0))/0x7*(parseInt(_0x57abd8(0x1b2))/0x8)+parseInt(_0x57abd8(0x1af))/0x9+-parseInt(_0x57abd8(0x1a5))/0xa;if(_0x392c90===_0x10a874)break;else _0x4332ac['push'](_0x4332ac['shift']());}catch(_0x48ed96){_0x4332ac['push'](_0x4332ac['shift']());}}}(_0x1105,0xd8da6));function _0x218d(_0x25e804,_0x33ddb9){_0x25e804=_0x25e804-0x1a2;const _0x110568=_0x1105();let _0x218d29=_0x110568[_0x25e804];return _0x218d29;}const e={'exchange-client':{'uploading':_0x106d9f(0x1a7),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':_0x106d9f(0x1b5),'downloadSuccess':_0x106d9f(0x1a3),'unknownMistake':'Erreur\x20inconnue','networkError':_0x106d9f(0x1aa),'tooLarge':_0x106d9f(0x1a8),'internalError':_0x106d9f(0x1a9),'interrupt':'La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x106d9f(0x1ab),'cancel':_0x106d9f(0x1ac),'uploadAgain':_0x106d9f(0x1b4)}};module[_0x106d9f(0x1a6)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4fb2c5=_0x47f7;(function(_0x133dc0,_0xb17655){const _0x112798=_0x47f7,_0x3bdc4f=_0x133dc0();while(!![]){try{const _0x809642=parseInt(_0x112798(0x1be))/0x1+-parseInt(_0x112798(0x1b5))/0x2*(-parseInt(_0x112798(0x1c8))/0x3)+parseInt(_0x112798(0x1b6))/0x4+parseInt(_0x112798(0x1bc))/0x5+-parseInt(_0x112798(0x1c0))/0x6*(-parseInt(_0x112798(0x1c6))/0x7)+parseInt(_0x112798(0x1c2))/0x8*(parseInt(_0x112798(0x1c4))/0x9)+-parseInt(_0x112798(0x1c7))/0xa;if(_0x809642===_0xb17655)break;else _0x3bdc4f['push'](_0x3bdc4f['shift']());}catch(_0x3a09dc){_0x3bdc4f['push'](_0x3bdc4f['shift']());}}}(_0x1887,0x3aa47));function _0x47f7(_0x259440,_0x25465b){_0x259440=_0x259440-0x1b5;const _0x1887e2=_0x1887();let _0x47f703=_0x1887e2[_0x259440];return _0x47f703;}const e={'exchange-client':{'uploading':_0x4fb2c5(0x1b7),'uploadSuccess':_0x4fb2c5(0x1b9),'uploadSuccessTip':_0x4fb2c5(0x1bd),'downloading':_0x4fb2c5(0x1bb),'downloadSuccess':'Unduhan\x20berhasil','unknownMistake':_0x4fb2c5(0x1c3),'networkError':'Kesalahan\x20jaringan','tooLarge':_0x4fb2c5(0x1b8),'internalError':_0x4fb2c5(0x1ba),'interrupt':_0x4fb2c5(0x1c1),'fileTypeError':'File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','wait':_0x4fb2c5(0x1c5),'cancel':_0x4fb2c5(0x1bf),'uploadAgain':'Unggah\x20ulang'}};module['exports']=e;function _0x1887(){const _0x5b4b17=['Kesalahan\x20tidak\x20diketahui','50877foEOnU','Harap\x20tunggu...','17535frWWpJ','10971050OYHFbc','172932CpDpuU','2TjXOGs','717096jWnldu','Mengunggah','Data\x20terlalu\x20besar','File\x20berhasil\x20diunggah','Kesalahan\x20internal\x20tidak\x20diketahui','Mengunduh','1707670CHMXVs','{0}\x20file\x20berhasil\x20diunggah','74424GsWStj','Batal','678KDcMYW','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','568uPHLJh'];_0x1887=function(){return _0x5b4b17;};return _0x1887();}
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x87df(){const _0x1e0361=['44vkuTNr','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','1794510UBlArt','5215HuBFDc','Download\x20in\x20corso','7aaDgDf','I\x20dati\x20sono\x20troppo\x20grandi','Annulla','2938396bWVYRA','{0}\x20file\x20caricati\x20con\x20successo','Errore\x20interno\x20sconosciuto','File\x20caricato\x20con\x20successo','20266DGzAIQ','2694yoZudT','130xfuWci','1412939DDeETV','7573744lGKZQO','exports','Attendi...','3019437CNmZbT'];_0x87df=function(){return _0x1e0361;};return _0x87df();}const _0x16d7b2=_0xcc9e;(function(_0x5e85ad,_0x2d3a14){const _0x9fb1b0=_0xcc9e,_0x50da85=_0x5e85ad();while(!![]){try{const _0x40833a=parseInt(_0x9fb1b0(0x137))/0x1*(-parseInt(_0x9fb1b0(0x12b))/0x2)+-parseInt(_0x9fb1b0(0x12d))/0x3+parseInt(_0x9fb1b0(0x133))/0x4+parseInt(_0x9fb1b0(0x12e))/0x5*(parseInt(_0x9fb1b0(0x124))/0x6)+parseInt(_0x9fb1b0(0x130))/0x7*(-parseInt(_0x9fb1b0(0x127))/0x8)+-parseInt(_0x9fb1b0(0x12a))/0x9+-parseInt(_0x9fb1b0(0x125))/0xa*(-parseInt(_0x9fb1b0(0x126))/0xb);if(_0x40833a===_0x2d3a14)break;else _0x50da85['push'](_0x50da85['shift']());}catch(_0x1cd5f0){_0x50da85['push'](_0x50da85['shift']());}}}(_0x87df,0x856ce));function _0xcc9e(_0x4de269,_0x25bfb7){_0x4de269=_0x4de269-0x124;const _0x87df16=_0x87df();let _0xcc9e95=_0x87df16[_0x4de269];return _0xcc9e95;}const e={'exchange-client':{'uploading':'Caricamento\x20in\x20corso','uploadSuccess':_0x16d7b2(0x136),'uploadSuccessTip':_0x16d7b2(0x134),'downloading':_0x16d7b2(0x12f),'downloadSuccess':'Download\x20riuscito','unknownMistake':'Errore\x20sconosciuto','networkError':'Errore\x20di\x20rete','tooLarge':_0x16d7b2(0x131),'internalError':_0x16d7b2(0x135),'interrupt':_0x16d7b2(0x12c),'fileTypeError':'Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','wait':_0x16d7b2(0x129),'cancel':_0x16d7b2(0x132),'uploadAgain':'Carica\x20di\x20nuovo'}};module[_0x16d7b2(0x128)]=e;
|