@univerjs-pro/mcp-ui 0.10.12 → 0.10.13-nightly.202510290902

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.css +1 -1
  24. package/lib/index.js +1 -1
  25. package/lib/locale/ca-ES.js +1 -1
  26. package/lib/locale/en-US.js +1 -1
  27. package/lib/locale/es-ES.js +1 -1
  28. package/lib/locale/fa-IR.js +1 -1
  29. package/lib/locale/fr-FR.js +1 -1
  30. package/lib/locale/ko-KR.js +1 -1
  31. package/lib/locale/ru-RU.js +1 -1
  32. package/lib/locale/vi-VN.js +1 -1
  33. package/lib/locale/zh-CN.js +1 -1
  34. package/lib/locale/zh-TW.js +1 -1
  35. package/lib/umd/index.js +1 -1
  36. package/lib/umd/locale/ca-ES.js +1 -1
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/es-ES.js +1 -1
  39. package/lib/umd/locale/fa-IR.js +1 -1
  40. package/lib/umd/locale/fr-FR.js +1 -1
  41. package/lib/umd/locale/ko-KR.js +1 -1
  42. package/lib/umd/locale/ru-RU.js +1 -1
  43. package/lib/umd/locale/vi-VN.js +1 -1
  44. package/lib/umd/locale/zh-CN.js +1 -1
  45. package/lib/umd/locale/zh-TW.js +1 -1
  46. package/package.json +9 -9
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x23351a=_0x46a5;(function(_0x2d1436,_0x2d6508){var _0x23520d=_0x46a5,_0x4b23c1=_0x2d1436();while(!![]){try{var _0x39b13f=-parseInt(_0x23520d(0x25e))/0x1+-parseInt(_0x23520d(0x256))/0x2+-parseInt(_0x23520d(0x20b))/0x3*(-parseInt(_0x23520d(0x169))/0x4)+-parseInt(_0x23520d(0x281))/0x5+-parseInt(_0x23520d(0x2bf))/0x6*(-parseInt(_0x23520d(0x1aa))/0x7)+-parseInt(_0x23520d(0x179))/0x8*(-parseInt(_0x23520d(0x1a3))/0x9)+parseInt(_0x23520d(0x21a))/0xa;if(_0x39b13f===_0x2d6508)break;else _0x4b23c1['push'](_0x4b23c1['shift']());}catch(_0x53d75f){_0x4b23c1['push'](_0x4b23c1['shift']());}}}(_0x18d2,0x26125));var ue=Object[_0x23351a(0x283)],le=(_0x3bd62f,_0x15e8d4,_0x4000c3)=>_0x15e8d4 in _0x3bd62f?ue(_0x3bd62f,_0x15e8d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4000c3}):_0x3bd62f[_0x15e8d4]=_0x4000c3,I=(_0x4b99b5,_0x795eb7,_0x52953a)=>le(_0x4b99b5,typeof _0x795eb7!=_0x23351a(0x2b4)?_0x795eb7+'':_0x795eb7,_0x52953a);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x23351a(0x241)});const l=require('@univerjs/core'),t=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),S=require('@univerjs/design'),v=require('@univerjs/ui'),N=require('rxjs'),d=require('react'),A=require('@univerjs/network');var g=function(){var _0x274e26=_0x23351a;return g=Object[_0x274e26(0x13e)]||function(_0x1ffc79){var _0x197283=_0x274e26;for(var _0x54fe21,_0x54594f=0x1,_0x1cd09a=arguments[_0x197283(0x2ac)];_0x54594f<_0x1cd09a;_0x54594f++){_0x54fe21=arguments[_0x54594f];for(var _0x3a2213 in _0x54fe21)Object[_0x197283(0x28e)][_0x197283(0x152)][_0x197283(0x1f2)](_0x54fe21,_0x3a2213)&&(_0x1ffc79[_0x3a2213]=_0x54fe21[_0x3a2213]);}return _0x1ffc79;},g[_0x274e26(0x230)](this,arguments);},ve=function(_0x1952d7,_0x1632c3){var _0xbd131f=_0x23351a,_0xe77db7={};for(var _0x12bf67 in _0x1952d7)Object[_0xbd131f(0x28e)][_0xbd131f(0x152)][_0xbd131f(0x1f2)](_0x1952d7,_0x12bf67)&&_0x1632c3['indexOf'](_0x12bf67)<0x0&&(_0xe77db7[_0x12bf67]=_0x1952d7[_0x12bf67]);if(_0x1952d7!=null&&typeof Object[_0xbd131f(0x12a)]==_0xbd131f(0x237)){for(var _0x951715=0x0,_0x12bf67=Object[_0xbd131f(0x12a)](_0x1952d7);_0x951715<_0x12bf67[_0xbd131f(0x2ac)];_0x951715++)_0x1632c3[_0xbd131f(0x224)](_0x12bf67[_0x951715])<0x0&&Object[_0xbd131f(0x28e)][_0xbd131f(0x22b)]['call'](_0x1952d7,_0x12bf67[_0x951715])&&(_0xe77db7[_0x12bf67[_0x951715]]=_0x1952d7[_0x12bf67[_0x951715]]);}return _0xe77db7;},_=d[_0x23351a(0x264)](function(_0x351a77,_0x7aae08){var _0x342490=_0x23351a,_0x5e36ea=_0x351a77[_0x342490(0x26a)],_0x8e764b=_0x351a77['id'],_0x37b1d2=_0x351a77[_0x342490(0x29e)],_0x5a2253=_0x351a77[_0x342490(0x13b)],_0x4e5838=ve(_0x351a77,['icon','id',_0x342490(0x29e),_0x342490(0x13b)]),_0xfbc18e=_0x342490(0x170)[_0x342490(0x14e)](_0x8e764b,'\x20')['concat'](_0x37b1d2||'')[_0x342490(0x260)](),_0x24b15c=d[_0x342490(0x299)]('_'[_0x342490(0x14e)](ge()));return H(_0x5e36ea,''[_0x342490(0x14e)](_0x8e764b),{'defIds':_0x5e36ea['defIds'],'idSuffix':_0x24b15c[_0x342490(0x1f7)]},g({'ref':_0x7aae08,'className':_0xfbc18e},_0x4e5838),_0x5a2253);});function _0x46a5(_0x55bc33,_0x5a2158){var _0x18d239=_0x18d2();return _0x46a5=function(_0x46a5f1,_0x200014){_0x46a5f1=_0x46a5f1-0x125;var _0x4ec297=_0x18d239[_0x46a5f1];return _0x4ec297;},_0x46a5(_0x55bc33,_0x5a2158);}function H(_0x4cb57b,_0xfc515f,_0x1a3caa,_0x1c1048,_0x5c67b4){var _0x11c7cc=_0x23351a;return d[_0x11c7cc(0x24b)](_0x4cb57b[_0x11c7cc(0x289)],g(g({'key':_0xfc515f},de(_0x4cb57b,_0x1a3caa,_0x5c67b4)),_0x1c1048),(Ce(_0x4cb57b,_0x1a3caa)[_0x11c7cc(0x275)]||[])[_0x11c7cc(0x16c)](function(_0x2098df,_0x49bc84){var _0x1cb0fe=_0x11c7cc;return H(_0x2098df,''[_0x1cb0fe(0x14e)](_0xfc515f,'-')[_0x1cb0fe(0x14e)](_0x4cb57b[_0x1cb0fe(0x289)],'-')[_0x1cb0fe(0x14e)](_0x49bc84),_0x1a3caa,void 0x0,_0x5c67b4);}));}function de(_0x72dc74,_0x5056c,_0xf7cffc){var _0x441bd6=_0x23351a,_0x43d0a7=g({},_0x72dc74['attrs']);_0xf7cffc!=null&&_0xf7cffc[_0x441bd6(0x250)]&&_0x43d0a7[_0x441bd6(0x1e1)]==='colorChannel1'&&(_0x43d0a7[_0x441bd6(0x1e1)]=_0xf7cffc[_0x441bd6(0x250)]),_0x72dc74[_0x441bd6(0x289)]===_0x441bd6(0x153)&&_0x43d0a7['id']&&(_0x43d0a7['id']=_0x43d0a7['id']+_0x5056c[_0x441bd6(0x192)]),Object[_0x441bd6(0x128)](_0x43d0a7)[_0x441bd6(0x2b7)](function(_0x24a521){var _0x48f1ce=_0x441bd6,_0x14b64d=_0x24a521[0x0],_0x106d9c=_0x24a521[0x1];_0x14b64d===_0x48f1ce(0x153)&&typeof _0x106d9c==_0x48f1ce(0x23d)&&(_0x43d0a7[_0x14b64d]=_0x106d9c[_0x48f1ce(0x2a1)](/url\(#(.*)\)/,_0x48f1ce(0x26f)['concat'](_0x5056c[_0x48f1ce(0x192)],')')));});var _0xc0f2b7=_0x5056c[_0x441bd6(0x225)];return!_0xc0f2b7||_0xc0f2b7[_0x441bd6(0x2ac)]===0x0||(_0x72dc74[_0x441bd6(0x289)]===_0x441bd6(0x1c6)&&_0x43d0a7[_0x441bd6(0x157)]&&(_0x43d0a7[_0x441bd6(0x157)]=_0x43d0a7[_0x441bd6(0x157)]+_0x5056c['idSuffix']),Object['entries'](_0x43d0a7)['forEach'](function(_0x2feec8){var _0x449b41=_0x441bd6,_0xee6030=_0x2feec8[0x0],_0x48f117=_0x2feec8[0x1];typeof _0x48f117==_0x449b41(0x23d)&&(_0x43d0a7[_0xee6030]=_0x48f117[_0x449b41(0x2a1)](/url\(#(.*)\)/,_0x449b41(0x26f)[_0x449b41(0x14e)](_0x5056c[_0x449b41(0x192)],')')));})),_0x43d0a7;}function Ce(_0x23b96a,_0x111224){var _0x29fb55=_0x23351a,_0x870f58,_0x2b66a4=_0x111224[_0x29fb55(0x225)];return!_0x2b66a4||_0x2b66a4['length']===0x0?_0x23b96a:_0x23b96a[_0x29fb55(0x289)]==='defs'&&(!((_0x870f58=_0x23b96a['children'])===null||_0x870f58===void 0x0)&&_0x870f58[_0x29fb55(0x2ac)])?g(g({},_0x23b96a),{'children':_0x23b96a[_0x29fb55(0x275)]['map'](function(_0x44fb8b){var _0x11b2ef=_0x29fb55;return typeof _0x44fb8b['attrs']['id']==_0x11b2ef(0x23d)&&_0x2b66a4&&_0x2b66a4[_0x11b2ef(0x1bb)](_0x44fb8b[_0x11b2ef(0x17d)]['id'])?g(g({},_0x44fb8b),{'attrs':g(g({},_0x44fb8b['attrs']),{'id':_0x44fb8b['attrs']['id']+_0x111224[_0x11b2ef(0x192)]})}):_0x44fb8b;})}):_0x23b96a;}function ge(){var _0x12bb88=_0x23351a;return Math[_0x12bb88(0x148)]()[_0x12bb88(0x295)](0x24)[_0x12bb88(0x2c7)](0x2,0x8);}function _0x18d2(){var _0xaa9375=['_handleConfigure','univer-flex\x20univer-items-start\x20univer-gap-2','MCPConnectionController','univer-flex\x20univer-flex-wrap\x20univer-gap-2','网络连接错误,请检查您的网络连接','string','IMessageService','API\x20密钥无效,请检查密钥是否正确','currentColor','Module','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','Univer\x20AI\x20控制台','mcpConfig.validation.apiKeyRequired','Copy\x20the\x20JSON\x20configuration\x20below','mcpConfig.configStep3','univer-text-xs\x20univer-text-gray-500','CONNECTING','showConfigPanel','mcpConfig.note2','createElement','mcpConfig.validation.invalidConfig','isValid','mcpConfig.apiApplyInfo.univerAiLabel','Configuration\x20Steps:','colorChannel1','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','open','mcpConfig.configError','您的\x20API\x20密钥将在此浏览器中本地存储','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','482226nrSurU','setItem','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','0\x200\x2017\x2017','on-line-icon','univer-bg-gray-500','MCP\x20状态未知','_registerComponent','212081gdrtIl','点击配置\x20MCP','trim','onStarting','OpenMCPConfigPanelCommand','mcpConfig.note1','forwardRef','MCP:\x20会话\x20ID\x20已被占用','MCP\x20重连中...','mcpConfig.sessionIdDescription','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','NETWORK_ERROR','icon','_mcpCoreConfig$','启用身份验证以获得安全连接','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.configInstructions','url(#$1','useState','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcp.apiKey','next','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','children','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP\x20已断开','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-min-w-0\x20univer-flex-1','showStatus','配置参数:','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpStatus.unknown','LocaleService','您的\x20API\x20密钥安全存储在本地存储中','488565HvGlud','会话\x20ID\x20已被占用,请稍后再试','defineProperty','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCP\x20Client\x20Configuration','_componentManager','register','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','tag','<API_KEY>','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','univer-text-xs\x20univer-text-gray-600','mcpConfig.apiKeyPlaceholder','prototype','mcpConfig.connectionStatus.connected','RibbonStartGroup','merge','useObservable','help-single','mcpConfig.configParameters','toString','MenuItemType','IDialogService','OTHERS','useRef','showDeveloperTools','连接失败','univer-text-yellow-500','IUIPartsService','className','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','DISCONNECTED','replace','ComponentManager','Plugin','Get\x20your\x20API\x20key\x20in\x20seconds','defs','setConfig','close','getConfig','MCP:\x20超出最大重试次数','mcp-config-dialog','MCPConnectionStatus','length','mcpConfig.apiApplyInfo.title','UniverMCPUIPlugin','UniverIcon','_handleConfigSave','_initStatusComponent','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-space-y-3','symbol','off-line-icon','Button','forEach','mcpStatus.connected','evenodd','connectInjector','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','registerCommand','MessageType','6tDxkqs','off','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','disposeWithMe','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_loading$','mcpConfig.validation.invalidApiKey','mcpStatus.clickToConnect','substring','univer-flex\x20univer-items-center','_dialogService','url(#off-line-icon_clip0_910_343)','mcpConfig.configStep2','entries','MCP:\x20Session\x20ID\x20Occupied','getOwnPropertySymbols','_localeService','UniverMCPPlugin','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','_blank','MCPConfigPanel','Bearer\x20','mcpServerUrl','_commandService','Failed\x20to\x20save\x20configuration','_injector','HelpSingle','IConfigService','univer-space-y-5','check-mark-icon','_loadStoredApiKey','MCP\x20Unknown\x20Status','extend','超出最大重试次数,请稍后再试','mcpConfig.apiApplyInfo.getStarted','assign','mcpConfig.connectionError.maxRetriesExceeded','配置保存失败','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','svg','MCP:\x20Network\x20Error','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_mcpConnectionController','MCPConnectionError','on-line-icon_clip0_910_349','random','enUS','Inject','会话ID','_createConfigPanelComponent','ICommandService','concat','show','Enable\x20authentication\x20for\x20secure\x20connections','MAX_RETRIES_EXCEEDED','hasOwnProperty','mask','mcpConfig.connectionStatus.retrying','mcpConfig.connectionStatus.failed','mcpStatus.failed','xlink:href','MCP\x20客户端配置','MCP_PLUGIN_CONFIG_KEY','connectionStatus$','Tooltip','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','_logService','univer-text-sm\x20univer-text-gray-500','text','univer-flex-shrink-0\x20univer-text-blue-500','BuiltInUIPart','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','保存配置','Invalid\x20configuration','MCP\x20Disconnected','mcpConfig.validation.apiKeyTooShort','translate(.97)','492sFOfpd','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','map','mcp-ui.command.openConfigPanel','mcpStatus.maxRetriesExceeded','_config$','univerjs-icon\x20univerjs-icon-','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','MCPStatusDisplay','ISocketService','M5.21243\x2012.287L11.8791\x205.62036','sessionId$','1em','MCP\x20Configuration','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','1783376SFeoqn','Save\x20Configuration','jsxs','已连接','attrs','配置更改将立即生效','API\x20密钥不能为空','MCP:\x20Max\x20Retries\x20Exceeded','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','white','MCP\x20Connection\x20Failed','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','MenuIcon','IMenuManagerService','round','_initializeCommands','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','将配置添加到您的\x20MCP\x20客户端设置文件中','bottom','WebSocketService','Input','useCallback','univer-text-sm\x20univer-font-medium','Max\x20Retries','MCPConfigUIController','idSuffix','univer-flex\x20univer-items-center\x20univer-gap-2','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.connectionInfo','API\x20key\x20is\x20required','clipPath','mcpConfig.configStep1','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','FAILED','Connection\x20Failed','apiKey','什么是\x20API\x20密钥?','univer.plus','pluginName','univer_session_id:','配置步骤:','span','9BdDrjo','univer-text-white','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','_config','mcpConfig.authorizationDescription','Click\x20to\x20connect\x20MCP','removeItem','1688771SjJfIy','_apiKey$','OnLineIcon','HEADER_MENU','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','连接中...','Click\x20to\x20configure\x20MCP','mcpConfig.configSaved','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Disposable','get','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-flex-1','_uiPartsService','MCPConnectionUIController','div','javascript:void(0)','includes','重启您的\x20MCP\x20客户端以使配置生效','mcpConfig.apiKeyHint','\x20-\x20','univer-text-gray-500','useDependency','MCP\x20配置','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','connectionError$','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpStatus.clickToConfigure','use','SESSION_ID_OCCUPIED','API\x20Key','M0\x200H16V16H0z','univer-font-medium','Configuration\x20saved\x20successfully','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','CloseSmallSingle','error','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','http://www.w3.org/2000/svg','_validateConfig','univer.ai','Injector','mcpConfig.title','univer-bg-red-500','_connectionController','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Enable\x20Authentication','MCPUIMenuController','getOwnPropertyDescriptor','ILocalStorageService','__setCustomHeaders','_messageService','label','Session\x20ID','close-small-single','fill','请输入您的\x20API\x20密钥','带有\x20Bearer\x20前缀的\x20API\x20密钥。','mcpConfig.configStepTitle','_localStorageService','getCurrentConfig','getItem','CheckMarkIcon','API\x20密钥长度至少需要\x2010\x20位','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','MCP\x20Connected','COMMAND','noopener\x20noreferrer','启用身份验证','未连接','权限验证失败,请检查您的\x20API\x20密钥','call','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Unauthorized','value','mcpStatus.sessionOccupied','current','将以下配置添加到您的\x20MCP\x20客户端设置中:','CONNECTED','OffLineIcon','配置无效','none','Authorization:','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','复制以下\x20JSON\x20配置','mcpConfig.description','errorMessage','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer-space-y-2','pre','_menuManagerService','registerComponent','Enter\x20your\x20API\x20key','重连中...','Close','1425djtEST','Saving...','DependentOn','displayName','mcpConfig.save','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','NONE','MCP:\x20未授权','Retrying...','add','push','_initAutoConnect','subscribeConfigValue$','1842480btdvwu','univer-flex\x20univer-items-start\x20univer-gap-3','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','BehaviorSubject','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','https://console.univer.ai','subscribe','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','What\x20is\x20API\x20Key?','indexOf','defIds','0\x200\x2016\x2016','univer-text-red-500','MCP\x20连接失败','0\x200\x2017\x2016','off-line-icon_clip0_910_343','propertyIsEnumerable','univer-text-blue-600','UNAUTHORIZED','path','RETRYING','apply','validateApiKey','jsx','MCP:\x20网络错误','univer-flex\x20univer-gap-3','clsx','_configService','function'];_0x18d2=function(){return _0xaa9375;};return _0x18d2();}_[_0x23351a(0x20e)]=_0x23351a(0x2af);var fe={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23351a(0x1fc),'viewBox':_0x23351a(0x226),'width':'1em','height':_0x23351a(0x176)},'children':[{'tag':_0x23351a(0x22e),'attrs':{'fill':_0x23351a(0x240),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':_0x23351a(0x2b9),'clipRule':_0x23351a(0x2b9)}}]},B=d[_0x23351a(0x264)](function(_0x8becd9,_0x30d42d){var _0x5db23c=_0x23351a;return d[_0x5db23c(0x24b)](_,Object['assign']({},_0x8becd9,{'id':_0x5db23c(0x138),'ref':_0x30d42d,'icon':fe}));});B[_0x23351a(0x20e)]=_0x23351a(0x1e8);var pe={'tag':_0x23351a(0x142),'attrs':{'xmlns':_0x23351a(0x1d0),'fill':_0x23351a(0x1fc),'viewBox':_0x23351a(0x259),'width':'1em','height':_0x23351a(0x176)},'children':[{'tag':_0x23351a(0x22e),'attrs':{'stroke':'currentColor','d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x23351a(0x22e),'attrs':{'stroke':_0x23351a(0x240),'d':_0x23351a(0x174),'strokeLinecap':_0x23351a(0x187),'strokeLinejoin':_0x23351a(0x187),'strokeWidth':1.33}}]},F=d[_0x23351a(0x264)](function(_0x57ecaf,_0x3ccfce){var _0x1662f8=_0x23351a;return d[_0x1662f8(0x24b)](_,Object[_0x1662f8(0x13e)]({},_0x57ecaf,{'id':_0x1662f8(0x1e0),'ref':_0x3ccfce,'icon':pe}));});F[_0x23351a(0x20e)]=_0x23351a(0x1cd);var he={'tag':_0x23351a(0x142),'attrs':{'xmlns':_0x23351a(0x1d0),'fill':'none','viewBox':_0x23351a(0x226),'width':'1em','height':_0x23351a(0x176)},'children':[{'tag':_0x23351a(0x22e),'attrs':{'fill':_0x23351a(0x240),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x23351a(0x22e),'attrs':{'fill':_0x23351a(0x240),'d':_0x23351a(0x242)}},{'tag':_0x23351a(0x22e),'attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x23351a(0x2b9),'clipRule':'evenodd'}}]},Y=d[_0x23351a(0x264)](function(_0xc6a65d,_0x920379){var _0x23ca75=_0x23351a;return d['createElement'](_,Object[_0x23ca75(0x13e)]({},_0xc6a65d,{'id':_0x23ca75(0x293),'ref':_0x920379,'icon':he}));});Y[_0x23351a(0x20e)]=_0x23351a(0x135);var me={'tag':_0x23351a(0x142),'attrs':{'xmlns':_0x23351a(0x1d0),'fill':_0x23351a(0x1fc),'viewBox':'0\x200\x2016\x2016','width':_0x23351a(0x176),'height':_0x23351a(0x176)},'children':[{'tag':'g','attrs':{'clipPath':_0x23351a(0x126)},'children':[{'tag':_0x23351a(0x22e),'attrs':{'stroke':'currentColor','d':_0x23351a(0x171),'strokeLinecap':_0x23351a(0x187),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x23351a(0x2a5),'attrs':{},'children':[{'tag':_0x23351a(0x197),'attrs':{'id':_0x23351a(0x22a)},'children':[{'tag':_0x23351a(0x22e),'attrs':{'fill':_0x23351a(0x182),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},q=d[_0x23351a(0x264)](function(_0x22bae2,_0x375532){var _0x16b3a6=_0x23351a;return d[_0x16b3a6(0x24b)](_,Object[_0x16b3a6(0x13e)]({},_0x22bae2,{'id':_0x16b3a6(0x2b5),'ref':_0x375532,'icon':me}));});q[_0x23351a(0x20e)]=_0x23351a(0x1fa);var xe={'tag':_0x23351a(0x142),'attrs':{'xmlns':_0x23351a(0x1d0),'fill':_0x23351a(0x1fc),'viewBox':_0x23351a(0x229),'width':_0x23351a(0x176),'height':_0x23351a(0x176)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x23351a(0x22e),'attrs':{'stroke':'currentColor','d':_0x23351a(0x203),'strokeLinecap':'round','strokeLinejoin':_0x23351a(0x187),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x23351a(0x22e),'attrs':{'fill':'white','d':_0x23351a(0x1c9),'transform':_0x23351a(0x168)}}]}]}],'defIds':[_0x23351a(0x147)]},V=d[_0x23351a(0x264)](function(_0x3cc6c6,_0x1b8d25){var _0x302443=_0x23351a;return d['createElement'](_,Object[_0x302443(0x13e)]({},_0x3cc6c6,{'id':_0x302443(0x25a),'ref':_0x1b8d25,'icon':xe}));});V[_0x23351a(0x20e)]=_0x23351a(0x1ac);function W(_0x1482f6){var _0x5e02ef=_0x23351a,_0x4c5327,_0x1f1d41;const {mcpCoreConfig:_0x14157a,onSave:_0x2a79b7,loading:_0x69855=!0x1,config:_0x400ce8,connectionStatus$:_0x3ee9b6,connectionError$:_0x48040c,currentApiKey$:_0x1e2195,currentSessionId$:_0xc0f968}=_0x1482f6,_0x2dd5ad=v[_0x5e02ef(0x1c0)](l[_0x5e02ef(0x27f)]),_0x40a4e2=v[_0x5e02ef(0x292)](_0x3ee9b6,s[_0x5e02ef(0x2ab)]['DISCONNECTED']),_0x577b6b=v[_0x5e02ef(0x292)](_0x48040c,s[_0x5e02ef(0x146)][_0x5e02ef(0x213)]),_0x56f88b=v[_0x5e02ef(0x292)](_0xc0f968,''),_0x45c199=v[_0x5e02ef(0x292)](_0x1e2195,''),[_0x314934,_0x6a6a7e]=d[_0x5e02ef(0x270)](_0x45c199||''),_0x4b2138=!0x0,_0x58d72c=_0x400ce8['showDeveloperTools']&&_0x14157a[_0x5e02ef(0x131)]&&(_0x14157a[_0x5e02ef(0x131)][_0x5e02ef(0x1bb)](_0x5e02ef(0x19e))||_0x14157a[_0x5e02ef(0x131)][_0x5e02ef(0x1bb)](_0x5e02ef(0x1d2))),_0x304c6f=(_0x4c5327=_0x14157a[_0x5e02ef(0x131)])==null?void 0x0:_0x4c5327[_0x5e02ef(0x1bb)](_0x5e02ef(0x19e)),_0x95a21b=(_0x1f1d41=_0x14157a[_0x5e02ef(0x131)])==null?void 0x0:_0x1f1d41[_0x5e02ef(0x1bb)](_0x5e02ef(0x1d2)),_0x37c6a1=_0x304c6f?'https://console.univer.plus':_0x5e02ef(0x220),_0x2df14e=_0x400ce8[_0x5e02ef(0x29a)]&&(_0x304c6f||_0x95a21b),[_0x46a929,_0x1781d1]=d['useState'](!_0x314934[_0x5e02ef(0x260)]()),_0x16f4bb=(_0x5875cc,_0x285e3b)=>{var _0x6b776a=_0x5e02ef;if(_0x285e3b===s[_0x6b776a(0x146)][_0x6b776a(0x22d)])return _0x6b776a(0x2c3);switch(_0x5875cc){case s['MCPConnectionStatus'][_0x6b776a(0x1f9)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s[_0x6b776a(0x2ab)][_0x6b776a(0x248)]:case s[_0x6b776a(0x2ab)]['RETRYING']:return _0x6b776a(0x274);case s['MCPConnectionStatus'][_0x6b776a(0x19a)]:return _0x6b776a(0x2c3);default:return _0x6b776a(0x141);}},_0x59ee22=(_0x1a1243,_0x4bf939)=>{var _0x5c006d=_0x5e02ef;if(_0x4bf939===s[_0x5c006d(0x146)][_0x5c006d(0x22d)])return _0x5c006d(0x1d5);switch(_0x1a1243){case s[_0x5c006d(0x2ab)][_0x5c006d(0x1f9)]:return'univer-bg-green-500';case s[_0x5c006d(0x2ab)][_0x5c006d(0x248)]:case s[_0x5c006d(0x2ab)][_0x5c006d(0x22f)]:return'univer-bg-blue-500';case s[_0x5c006d(0x2ab)][_0x5c006d(0x19a)]:return _0x5c006d(0x1d5);default:return _0x5c006d(0x25b);}},_0x358e76=_0x35f391=>{var _0x3154a8=_0x5e02ef;switch(_0x35f391){case s[_0x3154a8(0x2ab)][_0x3154a8(0x1f9)]:return _0x2dd5ad['t'](_0x3154a8(0x28f));case s[_0x3154a8(0x2ab)][_0x3154a8(0x248)]:return _0x2dd5ad['t']('mcpConfig.connectionStatus.connecting');case s[_0x3154a8(0x2ab)][_0x3154a8(0x19a)]:return _0x2dd5ad['t'](_0x3154a8(0x155));case s[_0x3154a8(0x2ab)][_0x3154a8(0x22f)]:return _0x2dd5ad['t'](_0x3154a8(0x154));default:return _0x2dd5ad['t']('mcpConfig.connectionStatus.disconnected');}},_0x223fb1=_0x2f9e24=>{var _0x2192c5=_0x5e02ef;switch(_0x2f9e24){case s['MCPConnectionError'][_0x2192c5(0x22d)]:return _0x2dd5ad['t']('mcpConfig.connectionError.unauthorized');case s['MCPConnectionError'][_0x2192c5(0x1c7)]:return _0x2dd5ad['t']('mcpConfig.connectionError.sessionOccupied');case s['MCPConnectionError'][_0x2192c5(0x269)]:return _0x2dd5ad['t']('mcpConfig.connectionError.networkError');case s[_0x2192c5(0x146)][_0x2192c5(0x151)]:return _0x2dd5ad['t'](_0x2192c5(0x13f));default:return'';}},_0x327d0a=d['useCallback'](()=>{var _0x35aba7=_0x5e02ef;const _0x31d4e8={..._0x14157a,'apiKey':_0x314934[_0x35aba7(0x260)](),'enableAuth':_0x4b2138};_0x2a79b7(_0x31d4e8);},[_0x14157a,_0x314934,_0x4b2138,_0x2a79b7]),_0x275d80=_0x314934[_0x5e02ef(0x260)]()[_0x5e02ef(0x2ac)]>0x0;return t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x12d),'children':[t[_0x5e02ef(0x232)]('div',{'className':_0x5e02ef(0x1ea),'children':t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x1c4),'children':t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'className':_0x5e02ef(0x1a4),'children':'⚙'})}),t['jsx'](_0x5e02ef(0x1b9),{'children':t[_0x5e02ef(0x232)]('p',{'className':_0x5e02ef(0x15f),'children':_0x2dd5ad['t'](_0x5e02ef(0x201))})})]})}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[t[_0x5e02ef(0x232)]('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x16f4bb(_0x40a4e2,_0x577b6b)+_0x5e02ef(0x1cc),'children':t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x193),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x1d7)+_0x59ee22(_0x40a4e2,_0x577b6b)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'className':_0x5e02ef(0x18f),'children':_0x358e76(_0x40a4e2)})]})}),_0x577b6b!==s['MCPConnectionError'][_0x5e02ef(0x213)]&&(_0x40a4e2===s[_0x5e02ef(0x2ab)][_0x5e02ef(0x19a)]||_0x577b6b===s[_0x5e02ef(0x146)][_0x5e02ef(0x22d)])&&t['jsx'](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x27d),'children':t['jsxs'](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x239),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),t['jsx']('p',{'className':_0x5e02ef(0x199),'children':_0x223fb1(_0x577b6b)})]})})]}),t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x15c),'children':t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x137),'children':[t[_0x5e02ef(0x17b)]('div',{'className':'univer-space-y-2','children':[t[_0x5e02ef(0x17b)](_0x5e02ef(0x1de),{'className':_0x5e02ef(0x258),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'children':'🔑'}),'\x20',_0x2dd5ad['t']('mcpConfig.apiKey'),t['jsx'](_0x5e02ef(0x1a2),{'className':'univer-text-red-500','children':'*'}),_0x58d72c&&t[_0x5e02ef(0x232)]('a',{'href':_0x5e02ef(0x1ba),'onClick':()=>_0x1781d1(!0x0),'className':_0x5e02ef(0x184),'title':_0x2dd5ad['t'](_0x5e02ef(0x2ad)),'children':t[_0x5e02ef(0x232)](Y,{})})]}),t[_0x5e02ef(0x232)](S[_0x5e02ef(0x18d)],{'type':_0x5e02ef(0x160),'placeholder':_0x2dd5ad['t'](_0x5e02ef(0x28d)),'value':_0x314934,'onChange':_0x6a6a7e,'disabled':_0x69855,'autoComplete':_0x5e02ef(0x2c0)}),t['jsx']('p',{'className':_0x5e02ef(0x247),'children':_0x2dd5ad['t'](_0x5e02ef(0x1bd))})]}),_0x58d72c&&_0x46a929&&t['jsxs'](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x15d),'children':[t[_0x5e02ef(0x232)]('a',{'href':'javascript:void(0)','onClick':()=>_0x1781d1(!0x1),'className':_0x5e02ef(0x28b),'title':_0x5e02ef(0x20a),'children':t['jsx'](F,{})}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x1fe),'children':[t['jsx'](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x2b2),'children':t['jsx'](_0x5e02ef(0x1a2),{'className':_0x5e02ef(0x22c),'children':'🚀'})}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x1b6),'children':[t['jsx']('h4',{'className':_0x5e02ef(0x271),'children':_0x2dd5ad['t'](_0x5e02ef(0x2ad))}),t[_0x5e02ef(0x232)]('p',{'className':_0x5e02ef(0x163),'children':_0x2dd5ad['t']('mcpConfig.apiApplyInfo.description')}),t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x23b),'children':_0x2df14e&&t[_0x5e02ef(0x17b)]('a',{'href':_0x37c6a1,'target':_0x5e02ef(0x12e),'rel':_0x5e02ef(0x1ee),'className':_0x5e02ef(0x1cf),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'children':'🤖'}),_0x2dd5ad['t'](_0x5e02ef(0x24e)),t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'className':'univer-text-gray-400','children':'↗'})]})}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x2dd5ad['t'](_0x5e02ef(0x13d))]})]})]})]}),_0x400ce8[_0x5e02ef(0x29a)]&&t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x284),'children':[t[_0x5e02ef(0x17b)]('h4',{'className':_0x5e02ef(0x1ff),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'children':'🔗'}),'\x20',_0x2dd5ad['t'](_0x5e02ef(0x195))]}),t['jsxs'](_0x5e02ef(0x1b9),{'className':'univer-space-y-4','children':[t[_0x5e02ef(0x17b)]('div',{'className':_0x5e02ef(0x2b3),'children':[t[_0x5e02ef(0x232)]('p',{'className':_0x5e02ef(0x28c),'children':_0x2dd5ad['t'](_0x5e02ef(0x26e))}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x204),'children':[t['jsx'](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x1eb),'children':_0x2dd5ad['t'](_0x5e02ef(0x1e4))}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x288),'children':[t[_0x5e02ef(0x17b)]('div',{'className':_0x5e02ef(0x193),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'className':_0x5e02ef(0x278),'children':'1'}),_0x2dd5ad['t'](_0x5e02ef(0x198))]}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x193),'children':[t[_0x5e02ef(0x232)]('span',{'className':_0x5e02ef(0x278),'children':'2'}),_0x2dd5ad['t'](_0x5e02ef(0x127))]}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x193),'children':[t[_0x5e02ef(0x232)]('span',{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x2dd5ad['t'](_0x5e02ef(0x246))]})]})]})]}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x204),'children':[t['jsx']('div',{'className':_0x5e02ef(0x1eb),'children':_0x5e02ef(0x177)}),t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x276),'children':t[_0x5e02ef(0x232)](_0x5e02ef(0x205),{'className':_0x5e02ef(0x16b),'children':_0x5e02ef(0x21c)+_0x56f88b+_0x5e02ef(0x1a5)+(_0x314934||_0x5e02ef(0x28a))+_0x5e02ef(0x211)})})]}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':'univer-space-y-3','children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x1eb),'children':_0x2dd5ad['t'](_0x5e02ef(0x294))}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x204),'children':[t['jsxs'](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x21b),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x27a),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x29f),'children':_0x5e02ef(0x1a0)}),t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x247),'children':_0x2dd5ad['t'](_0x5e02ef(0x267))})]})]}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x268)}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':'univer-min-w-0\x20univer-flex-1','children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x29f),'children':_0x5e02ef(0x1fd)}),t['jsx'](_0x5e02ef(0x1b9),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x2dd5ad['t'](_0x5e02ef(0x1a7))})]})]})]})]})]})]}),t[_0x5e02ef(0x232)](S[_0x5e02ef(0x2b6)],{'onClick':_0x327d0a,'disabled':!_0x275d80||_0x69855,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x69855?t[_0x5e02ef(0x17b)](_0x5e02ef(0x1a2),{'className':_0x5e02ef(0x193),'children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1a2),{'children':'⟲'}),_0x2dd5ad['t']('mcpConfig.saving')]}):t[_0x5e02ef(0x17b)]('span',{'className':_0x5e02ef(0x193),'children':[t[_0x5e02ef(0x232)](B,{}),_0x2dd5ad['t'](_0x5e02ef(0x20f))]})}),t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x178),'children':t['jsxs']('div',{'className':_0x5e02ef(0x234),'children':[t[_0x5e02ef(0x232)]('span',{'className':_0x5e02ef(0x161),'children':'💡'}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[t[_0x5e02ef(0x232)](_0x5e02ef(0x1b9),{'className':_0x5e02ef(0x1ca),'children':'Configuration\x20Notes:'}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'children':['•',_0x2dd5ad['t'](_0x5e02ef(0x263))]}),t[_0x5e02ef(0x17b)](_0x5e02ef(0x1b9),{'children':['•',_0x2dd5ad['t'](_0x5e02ef(0x24a))]})]})]})})]})})]});}const y='mcp-ui.config',G={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object[_0x23351a(0x1da)],Pe=(_0x1c9310,_0x44e9d3,_0x3a425f,_0x3351bd)=>{var _0x2be4a7=_0x23351a;for(var _0x28212c=_0x3351bd>0x1?void 0x0:_0x3351bd?Se(_0x44e9d3,_0x3a425f):_0x44e9d3,_0x454cf4=_0x1c9310[_0x2be4a7(0x2ac)]-0x1,_0x5a72ac;_0x454cf4>=0x0;_0x454cf4--)(_0x5a72ac=_0x1c9310[_0x454cf4])&&(_0x28212c=_0x5a72ac(_0x28212c)||_0x28212c);return _0x28212c;},f=(_0x30ee7e,_0x240614)=>(_0x4f996b,_0x4de302)=>_0x240614(_0x4f996b,_0x4de302,_0x30ee7e);const D=_0x23351a(0x272),k=_0x23351a(0x2aa);exports[_0x23351a(0x191)]=class extends l[_0x23351a(0x1b3)]{constructor(_0x3418b7,_0x310bfd,_0x1cf548,_0x4fb8d1,_0x4c3e4d,_0x4914fd,_0x29bb59,_0x4b046f,_0x11d903,_0x439aea){var _0x1be768=_0x23351a;super(),I(this,_0x1be768(0x2c4),new N[(_0x1be768(0x21d))](!0x1)),I(this,_0x1be768(0x26b),new N['BehaviorSubject']({})),I(this,_0x1be768(0x16f),new N[(_0x1be768(0x21d))]({})),I(this,'_apiKey$',new N[(_0x1be768(0x21d))]('')),I(this,'_handleConfigSave',async _0x3ecc46=>{var _0x23bb1e=_0x1be768,_0x2595b5,_0x42ee47;this[_0x23bb1e(0x2c4)][_0x23bb1e(0x273)](!0x0);try{const _0x4f57fe=await this[_0x23bb1e(0x1d1)](_0x3ecc46);if(!_0x4f57fe[_0x23bb1e(0x24d)]){this[_0x23bb1e(0x1dd)][_0x23bb1e(0x14f)]({'type':S[_0x23bb1e(0x2be)]['Error'],'content':_0x4f57fe[_0x23bb1e(0x202)]||this['_localeService']['t'](_0x23bb1e(0x24c))});return;}_0x3ecc46[_0x23bb1e(0x19c)]?await this[_0x23bb1e(0x1e5)][_0x23bb1e(0x257)](D,_0x3ecc46['apiKey'][_0x23bb1e(0x260)]()):await this['_localStorageService'][_0x23bb1e(0x1a9)](D),this[_0x23bb1e(0x1ab)][_0x23bb1e(0x273)](((_0x2595b5=_0x3ecc46['apiKey'])==null?void 0x0:_0x2595b5[_0x23bb1e(0x260)]())||''),this[_0x23bb1e(0x145)][_0x23bb1e(0x1dc)]({'Authorization':_0x23bb1e(0x130)+((_0x42ee47=_0x3ecc46[_0x23bb1e(0x19c)])==null?void 0x0:_0x42ee47[_0x23bb1e(0x260)]())}),this[_0x23bb1e(0x1dd)][_0x23bb1e(0x14f)]({'type':S[_0x23bb1e(0x2be)]['Success'],'content':this['_localeService']['t'](_0x23bb1e(0x1b1))}),setTimeout(()=>{var _0x263c00=_0x23bb1e;this[_0x263c00(0x125)]['close'](k);},0x320);}catch(_0x451fd2){this[_0x23bb1e(0x15e)][_0x23bb1e(0x1ce)](_0x23bb1e(0x144),_0x451fd2),this[_0x23bb1e(0x1dd)]['show']({'type':S[_0x23bb1e(0x2be)]['Error'],'content':this[_0x23bb1e(0x12b)]['t'](_0x23bb1e(0x253))});}finally{this[_0x23bb1e(0x2c4)][_0x23bb1e(0x273)](!0x1);}}),(this[_0x1be768(0x134)]=_0x3418b7,this['_uiPartsService']=_0x310bfd,this[_0x1be768(0x236)]=_0x1cf548,this[_0x1be768(0x1e5)]=_0x4fb8d1,this[_0x1be768(0x125)]=_0x4c3e4d,this[_0x1be768(0x1dd)]=_0x4914fd,this[_0x1be768(0x286)]=_0x29bb59,this[_0x1be768(0x12b)]=_0x4b046f,this[_0x1be768(0x15e)]=_0x11d903,this[_0x1be768(0x145)]=_0x439aea,this['_initConfigSync'](),this[_0x1be768(0x139)](),this[_0x1be768(0x25d)]());}[_0x23351a(0x249)](){var _0x4d9d78=_0x23351a;const _0x12fe7f=this[_0x4d9d78(0x236)][_0x4d9d78(0x2a8)](y);_0x12fe7f!=null&&_0x12fe7f[_0x4d9d78(0x29a)]&&this[_0x4d9d78(0x125)][_0x4d9d78(0x252)]({'id':k,'title':{'title':this[_0x4d9d78(0x12b)]['t'](_0x4d9d78(0x1d4))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x54e948=_0x4d9d78;this['_dialogService'][_0x54e948(0x2a7)](k);}});}[_0x23351a(0x1e6)](){var _0x21ac75=_0x23351a;return this[_0x21ac75(0x26b)][_0x21ac75(0x1f5)];}['_registerComponent'](){var _0x1ac3a9=_0x23351a;this['disposeWithMe'](this[_0x1ac3a9(0x286)][_0x1ac3a9(0x287)]('MCPConfigPanel',this[_0x1ac3a9(0x14c)]()));}[_0x23351a(0x14c)](){var _0x44f773=_0x23351a;return v['connectInjector'](()=>{var _0x1c8e1b=_0x46a5,_0x75d402,_0x5c4e83,_0x3f761e;return t[_0x1c8e1b(0x232)](W,{'config':this[_0x1c8e1b(0x16f)][_0x1c8e1b(0x1f5)],'mcpCoreConfig':this[_0x1c8e1b(0x26b)][_0x1c8e1b(0x1f5)],'currentApiKey$':this[_0x1c8e1b(0x1ab)],'onSave':this[_0x1c8e1b(0x2b0)],'loading':this['_loading$'][_0x1c8e1b(0x1f5)],'connectionStatus$':(_0x75d402=this[_0x1c8e1b(0x145)])==null?void 0x0:_0x75d402['connectionStatus$'],'connectionError$':(_0x5c4e83=this[_0x1c8e1b(0x145)])==null?void 0x0:_0x5c4e83[_0x1c8e1b(0x1c3)],'currentSessionId$':(_0x3f761e=this[_0x1c8e1b(0x145)])==null?void 0x0:_0x3f761e[_0x1c8e1b(0x175)]});},this[_0x44f773(0x134)]);}['_initConfigSync'](){var _0x4d334b=_0x23351a;this['disposeWithMe'](this[_0x4d334b(0x236)][_0x4d334b(0x219)](s[_0x4d334b(0x159)])['subscribe'](_0x29e6e6=>{var _0x34b5fa=_0x4d334b;this[_0x34b5fa(0x26b)][_0x34b5fa(0x273)](_0x29e6e6||{});}));const _0x2c4cd9=this[_0x4d334b(0x236)][_0x4d334b(0x2a8)](s[_0x4d334b(0x159)]);this[_0x4d334b(0x26b)][_0x4d334b(0x273)](_0x2c4cd9||{}),this[_0x4d334b(0x2c2)](this['_configService'][_0x4d334b(0x219)](y)[_0x4d334b(0x221)](_0x5e7fa4=>{var _0x5502b0=_0x4d334b;this[_0x5502b0(0x16f)][_0x5502b0(0x273)](_0x5e7fa4||{});}));const _0x1a0d40=this['_configService'][_0x4d334b(0x2a8)](y);this['_config$'][_0x4d334b(0x273)](_0x1a0d40||{});}async[_0x23351a(0x139)](){var _0x4711e=_0x23351a;const _0x2fe585=this[_0x4711e(0x236)][_0x4711e(0x2a8)](y);if(!(_0x2fe585!=null&&_0x2fe585[_0x4711e(0x29a)]))return;const _0x283cf0=await this[_0x4711e(0x1e5)][_0x4711e(0x1e7)](D);_0x283cf0&&(this[_0x4711e(0x145)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+_0x283cf0}),this[_0x4711e(0x1ab)][_0x4711e(0x273)](_0x283cf0));}async[_0x23351a(0x1d1)](_0x1329a7){var _0x18345c=_0x23351a;if(!_0x1329a7[_0x18345c(0x19c)]||_0x1329a7['apiKey'][_0x18345c(0x260)]()[_0x18345c(0x2ac)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x18345c(0x244))};if(_0x1329a7[_0x18345c(0x19c)][_0x18345c(0x260)]()[_0x18345c(0x2ac)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x18345c(0x12b)]['t'](_0x18345c(0x167))};try{const _0x469e30=await this[_0x18345c(0x134)][_0x18345c(0x1b4)](s[_0x18345c(0x23a)])[_0x18345c(0x231)](_0x1329a7[_0x18345c(0x19c)][_0x18345c(0x260)]());return _0x469e30[_0x18345c(0x24d)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x469e30['error']||this[_0x18345c(0x12b)]['t'](_0x18345c(0x2c5))};}catch(_0x42ef5d){return console['warn'](_0x18345c(0x16a),_0x42ef5d),{'isValid':!0x0};}}},exports[_0x23351a(0x191)]=Pe([f(0x0,l[_0x23351a(0x14a)](l['Injector'])),f(0x1,v['IUIPartsService']),f(0x2,l[_0x23351a(0x136)]),f(0x3,l[_0x23351a(0x1db)]),f(0x4,v[_0x23351a(0x297)]),f(0x5,v[_0x23351a(0x23e)]),f(0x6,l[_0x23351a(0x14a)](v[_0x23351a(0x2a2)])),f(0x7,l['Inject'](l[_0x23351a(0x27f)])),f(0x8,l['ILogService']),f(0x9,l[_0x23351a(0x14a)](s[_0x23351a(0x23a)]))],exports[_0x23351a(0x191)]);const j={'id':_0x23351a(0x16d),'type':l['CommandType'][_0x23351a(0x1ed)],'handler':async(_0x195c21,_0x3df639)=>(_0x195c21[_0x23351a(0x1b4)](exports[_0x23351a(0x191)])[_0x23351a(0x249)](),!0x0)};function Z(_0x1e7526,_0x185a62){var _0x16e883=_0x23351a;switch(_0x1e7526){case s[_0x16e883(0x2ab)]['DISCONNECTED']:return'mcpStatus.disconnected';case s[_0x16e883(0x2ab)]['CONNECTING']:return'mcpStatus.connecting';case s[_0x16e883(0x2ab)][_0x16e883(0x1f9)]:return _0x16e883(0x2b8);case s['MCPConnectionStatus'][_0x16e883(0x19a)]:switch(_0x185a62){case s[_0x16e883(0x146)][_0x16e883(0x22d)]:return'mcpStatus.unauthorized';case s[_0x16e883(0x146)]['SESSION_ID_OCCUPIED']:return _0x16e883(0x1f6);case s[_0x16e883(0x146)][_0x16e883(0x269)]:return'mcpStatus.networkError';case s['MCPConnectionError'][_0x16e883(0x151)]:return _0x16e883(0x16e);default:return _0x16e883(0x156);}case s['MCPConnectionStatus']['RETRYING']:return'mcpStatus.retrying';default:return _0x16e883(0x27e);}}function ye(_0x26e14e,_0x4909af,_0x51d396,_0x4538e3=!0x0){var _0x3c15b0=_0x23351a;const _0x3fc60d=Z(_0x26e14e,_0x4909af),_0xbaf26f=_0x51d396['t'](_0x3fc60d);return _0x4538e3?_0x26e14e===s[_0x3c15b0(0x2ab)][_0x3c15b0(0x2a0)]&&_0x4909af===s[_0x3c15b0(0x146)][_0x3c15b0(0x22d)]?_0xbaf26f+'\x20-\x20'+_0x51d396['t'](_0x3c15b0(0x1c5)):_0x26e14e===s['MCPConnectionStatus'][_0x3c15b0(0x1f9)]?''+_0xbaf26f:_0x26e14e===s[_0x3c15b0(0x2ab)]['DISCONNECTED']||_0x26e14e===s[_0x3c15b0(0x2ab)][_0x3c15b0(0x19a)]?_0xbaf26f+_0x3c15b0(0x1be)+_0x51d396['t'](_0x3c15b0(0x2c6)):_0xbaf26f:_0xbaf26f;}function Ie(_0x11ab2e){var _0x2f1492=_0x23351a;switch(_0x11ab2e){case s['MCPConnectionStatus']['CONNECTED']:return'univer-text-green-500';case s[_0x2f1492(0x2ab)][_0x2f1492(0x248)]:case s[_0x2f1492(0x2ab)]['RETRYING']:return _0x2f1492(0x29c);case s[_0x2f1492(0x2ab)]['FAILED']:case s[_0x2f1492(0x2ab)][_0x2f1492(0x2a0)]:return _0x2f1492(0x227);default:return _0x2f1492(0x1bf);}}function X(_0x4be990){var _0x1be3c1=_0x23351a;const {status$:_0x1b29f9,error$:_0x2da78e,onConfigure:_0x20c02e,showClickable:_0x347fdd=!0x0}=_0x4be990,_0x256e9d=v['useObservable'](_0x1b29f9,s['MCPConnectionStatus'][_0x1be3c1(0x2a0)]),_0x2c53f2=v['useObservable'](_0x2da78e,s[_0x1be3c1(0x146)]['NONE']),_0x4f7604=v[_0x1be3c1(0x1c0)](l[_0x1be3c1(0x27f)]),_0x428b1a=_0x256e9d===s[_0x1be3c1(0x2ab)][_0x1be3c1(0x1f9)];_0x256e9d===s[_0x1be3c1(0x2ab)][_0x1be3c1(0x248)]||s[_0x1be3c1(0x2ab)][_0x1be3c1(0x22f)];const _0x1c297d=_0x4f7604['t'](Z(_0x256e9d,_0x2c53f2)),_0x420ccd=ye(_0x256e9d,_0x2c53f2,_0x4f7604,_0x347fdd),_0x7f5b30=Ie(_0x256e9d),_0x84a36f=_0x428b1a?t['jsx'](V,{}):t[_0x1be3c1(0x232)](q,{}),_0x425715=d[_0x1be3c1(0x18e)](()=>{_0x347fdd&&_0x20c02e&&_0x20c02e();},[_0x347fdd,_0x20c02e]);function _0x167689(){var _0x21f653=_0x1be3c1;return t[_0x21f653(0x17b)](_0x21f653(0x1b9),{'className':S[_0x21f653(0x235)](_0x21f653(0x2c8),_0x347fdd&&_0x20c02e&&_0x21f653(0x181)),'onClick':_0x347fdd&&_0x20c02e?_0x425715:void 0x0,'children':[t['jsx'](_0x21f653(0x1b9),{'className':S[_0x21f653(0x235)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x7f5b30),'children':_0x84a36f}),t['jsx']('div',{'className':_0x21f653(0x194),'children':_0x1c297d})]});}return t[_0x1be3c1(0x232)](S[_0x1be3c1(0x15b)],{'title':_0x420ccd,'placement':_0x1be3c1(0x18b),'children':_0x167689()});}var _e=Object[_0x23351a(0x1da)],Me=(_0x509d59,_0x1e4b3c,_0x44ac53,_0x4d4063)=>{var _0x582bc2=_0x23351a;for(var _0x56ca08=_0x4d4063>0x1?void 0x0:_0x4d4063?_e(_0x1e4b3c,_0x44ac53):_0x1e4b3c,_0xd673f9=_0x509d59[_0x582bc2(0x2ac)]-0x1,_0x4d05a1;_0xd673f9>=0x0;_0xd673f9--)(_0x4d05a1=_0x509d59[_0xd673f9])&&(_0x56ca08=_0x4d05a1(_0x56ca08)||_0x56ca08);return _0x56ca08;},b=(_0x2c7d16,_0x19a0d3)=>(_0xf9cd2e,_0x1afece)=>_0x19a0d3(_0xf9cd2e,_0x1afece,_0x2c7d16);exports['MCPConnectionUIController']=class extends l['Disposable']{constructor(_0x4560b3,_0x2d6b81,_0x5ee61b,_0x12be63){var _0x3ed438=_0x23351a;super(),this[_0x3ed438(0x134)]=_0x4560b3,this[_0x3ed438(0x1d6)]=_0x2d6b81,this[_0x3ed438(0x1b7)]=_0x5ee61b,this[_0x3ed438(0x236)]=_0x12be63,this[_0x3ed438(0x218)](),this[_0x3ed438(0x2b1)]();}[_0x23351a(0x218)](){var _0x15b95e=_0x23351a;const _0x20d0f3=this[_0x15b95e(0x236)][_0x15b95e(0x2a8)](y);_0x20d0f3!=null&&_0x20d0f3[_0x15b95e(0x29a)]&&(this[_0x15b95e(0x1d6)]['enableAutoConnect']=!0x1);}[_0x23351a(0x2b1)](){var _0xd1c8b7=_0x23351a;const _0x2e430a=this[_0xd1c8b7(0x236)][_0xd1c8b7(0x2a8)](y);(_0x2e430a==null?void 0x0:_0x2e430a[_0xd1c8b7(0x27b)])!==!0x1&&this[_0xd1c8b7(0x2c2)](this[_0xd1c8b7(0x1b7)][_0xd1c8b7(0x207)](v[_0xd1c8b7(0x162)][_0xd1c8b7(0x1ad)],()=>{var _0x1846ff=_0xd1c8b7,_0x43d391;return v[_0x1846ff(0x2ba)](Ne({'status$':this[_0x1846ff(0x1d6)][_0x1846ff(0x15a)],'error$':this['_connectionController'][_0x1846ff(0x1c3)],'onConfigure':()=>this[_0x1846ff(0x238)](),'showClickable':(_0x43d391=_0x2e430a==null?void 0x0:_0x2e430a['showDeveloperTools'])!=null?_0x43d391:!0x1}),this[_0x1846ff(0x134)]);}));}['_handleConfigure'](){var _0x4e7c6e=_0x23351a;this[_0x4e7c6e(0x134)][_0x4e7c6e(0x1b4)](exports[_0x4e7c6e(0x191)])[_0x4e7c6e(0x249)]();}},exports['MCPConnectionUIController']=Me([b(0x0,l[_0x23351a(0x14a)](l[_0x23351a(0x1d3)])),b(0x1,l[_0x23351a(0x14a)](s['MCPConnectionController'])),b(0x2,v[_0x23351a(0x29d)]),b(0x3,l[_0x23351a(0x136)])],exports['MCPConnectionUIController']);function Ne(_0x37f193){const {status$:_0x26b8ea,error$:_0x1f08b9,onConfigure:_0x2f6b4f,showClickable:_0x220927}=_0x37f193;return function(){var _0x3f607b=_0x46a5;return t[_0x3f607b(0x232)](X,{'status$':_0x26b8ea,'error$':_0x1f08b9,'onConfigure':_0x2f6b4f,'showClickable':_0x220927});};}function be(_0x414093){var _0x4cd3c7=_0x23351a;return{'id':j['id'],'type':v[_0x4cd3c7(0x296)]['BUTTON'],'icon':_0x4cd3c7(0x185),'title':_0x4cd3c7(0x1d4),'tooltip':_0x4cd3c7(0x1d4)};}const je={[v[_0x23351a(0x290)][_0x23351a(0x298)]]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x23351a(0x1da)],we=(_0x5a8503,_0x4d6f7a,_0x57590e,_0x4eaf29)=>{var _0x45afb0=_0x23351a;for(var _0x4f37ca=_0x4eaf29>0x1?void 0x0:_0x4eaf29?Ee(_0x4d6f7a,_0x57590e):_0x4d6f7a,_0x558c83=_0x5a8503[_0x45afb0(0x2ac)]-0x1,_0x132ec4;_0x558c83>=0x0;_0x558c83--)(_0x132ec4=_0x5a8503[_0x558c83])&&(_0x4f37ca=_0x132ec4(_0x4f37ca)||_0x4f37ca);return _0x4f37ca;},z=(_0x2bc516,_0x1ce7ad)=>(_0x251b64,_0x5f00b1)=>_0x1ce7ad(_0x251b64,_0x5f00b1,_0x2bc516);exports[_0x23351a(0x1d9)]=class extends l['Disposable']{constructor(_0x7c0aab,_0x12f7b0){var _0x2f2feb=_0x23351a;super(),this[_0x2f2feb(0x132)]=_0x7c0aab,this[_0x2f2feb(0x206)]=_0x12f7b0,this[_0x2f2feb(0x188)](),this['_initializeMenus']();}[_0x23351a(0x188)](){var _0x127881=_0x23351a;[j][_0x127881(0x2b7)](_0x5706fa=>{var _0x53b63d=_0x127881;this[_0x53b63d(0x2c2)](this[_0x53b63d(0x132)][_0x53b63d(0x2bd)](_0x5706fa));});}['_initializeMenus'](){this['_menuManagerService']['mergeMenu'](je);}},exports[_0x23351a(0x1d9)]=we([z(0x0,l[_0x23351a(0x14d)]),z(0x1,v[_0x23351a(0x186)])],exports[_0x23351a(0x1d9)]);const Oe={'mcpStatus':{'disconnected':_0x23351a(0x166),'connecting':'MCP\x20Connecting...','connected':_0x23351a(0x1ec),'failed':_0x23351a(0x183),'retrying':'MCP\x20Retrying...','unknown':_0x23351a(0x13a),'unauthorized':_0x23351a(0x1f4),'sessionOccupied':_0x23351a(0x129),'networkError':_0x23351a(0x143),'maxRetriesExceeded':_0x23351a(0x180),'clickToConnect':_0x23351a(0x1a8),'clickToConfigure':_0x23351a(0x1b0)},'mcpConfig':{'title':_0x23351a(0x177),'description':_0x23351a(0x1ae),'apiKey':_0x23351a(0x1c8),'apiKeyPlaceholder':_0x23351a(0x208),'apiKeyHint':_0x23351a(0x21f),'enableAuth':_0x23351a(0x1d8),'enableAuthHint':_0x23351a(0x150),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x23351a(0x285),'configInstructions':_0x23351a(0x255),'configStepTitle':_0x23351a(0x24f),'configStep1':_0x23351a(0x245),'configStep2':_0x23351a(0x2bc),'configStep3':_0x23351a(0x210),'sessionId':_0x23351a(0x1df),'sessionIdDescription':_0x23351a(0x189),'authorizationDescription':_0x23351a(0x2bb),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x23351a(0x190),'save':_0x23351a(0x17a),'saving':_0x23351a(0x20c),'note1':_0x23351a(0x251),'note2':_0x23351a(0x222),'configSaved':_0x23351a(0x1cb),'configError':_0x23351a(0x133),'apiApplyInfo':{'title':_0x23351a(0x223),'description':_0x23351a(0x1f3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x23351a(0x2a4)},'validation':{'apiKeyRequired':_0x23351a(0x196),'apiKeyTooShort':_0x23351a(0x21e),'invalidConfig':_0x23351a(0x165),'invalidApiKey':_0x23351a(0x212)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':_0x23351a(0x19b),'retrying':_0x23351a(0x215)},'connectionError':{'unauthorized':_0x23351a(0x1c2),'sessionOccupied':_0x23351a(0x2c1),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x23351a(0x26d)}}},Ae={'mcpStatus':{'disconnected':_0x23351a(0x277),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x23351a(0x228),'retrying':_0x23351a(0x266),'unknown':_0x23351a(0x25c),'unauthorized':_0x23351a(0x214),'sessionOccupied':_0x23351a(0x265),'networkError':_0x23351a(0x233),'maxRetriesExceeded':_0x23351a(0x2a9),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x23351a(0x25f)},'mcpConfig':{'title':_0x23351a(0x1c1),'description':_0x23351a(0x279),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x23351a(0x1e2),'apiKeyHint':_0x23351a(0x254),'enableAuth':_0x23351a(0x1ef),'enableAuthHint':_0x23351a(0x26c),'connectionInfo':_0x23351a(0x158),'mcpClientConfig':_0x23351a(0x158),'configInstructions':_0x23351a(0x1f8),'configStepTitle':_0x23351a(0x1a1),'configStep1':_0x23351a(0x200),'configStep2':_0x23351a(0x18a),'configStep3':_0x23351a(0x1bc),'sessionId':_0x23351a(0x14b),'sessionIdDescription':_0x23351a(0x1b2),'authorizationDescription':_0x23351a(0x1e3),'configParameters':_0x23351a(0x27c),'maxRetries':'最大重试次数','save':_0x23351a(0x164),'saving':'保存中...','note1':_0x23351a(0x17e),'note2':_0x23351a(0x280),'configSaved':'配置保存成功','configError':_0x23351a(0x140),'apiApplyInfo':{'title':_0x23351a(0x19d),'description':_0x23351a(0x1b5),'univerAiLabel':_0x23351a(0x243),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x23351a(0x17f),'apiKeyTooShort':_0x23351a(0x1e9),'invalidConfig':_0x23351a(0x1fb),'invalidApiKey':_0x23351a(0x23f)},'connectionStatus':{'disconnected':_0x23351a(0x1f0),'connecting':_0x23351a(0x1af),'connected':_0x23351a(0x17c),'failed':_0x23351a(0x29b),'retrying':_0x23351a(0x209)},'connectionError':{'unauthorized':_0x23351a(0x1f1),'sessionOccupied':_0x23351a(0x282),'networkError':_0x23351a(0x23c),'maxRetriesExceeded':_0x23351a(0x13c)}}};var De=Object[_0x23351a(0x283)],ke=Object[_0x23351a(0x1da)],Ue=(_0x2a372b,_0x2883d7,_0x406458)=>_0x2883d7 in _0x2a372b?De(_0x2a372b,_0x2883d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x406458}):_0x2a372b[_0x2883d7]=_0x406458,Te=(_0x35b284,_0x1ceb9a,_0x588227,_0xa2b263)=>{var _0x26cb3a=_0x23351a;for(var _0x2acc72=_0xa2b263>0x1?void 0x0:_0xa2b263?ke(_0x1ceb9a,_0x588227):_0x1ceb9a,_0x567817=_0x35b284[_0x26cb3a(0x2ac)]-0x1,_0x34d5a4;_0x567817>=0x0;_0x567817--)(_0x34d5a4=_0x35b284[_0x567817])&&(_0x2acc72=_0x34d5a4(_0x2acc72)||_0x2acc72);return _0x2acc72;},M=(_0x52caf9,_0x269c36)=>(_0x5bfe61,_0x56a479)=>_0x269c36(_0x5bfe61,_0x56a479,_0x52caf9),$e=(_0x4f0a71,_0x2a39c4,_0x397b6d)=>Ue(_0x4f0a71,_0x2a39c4+'',_0x397b6d);exports[_0x23351a(0x2ae)]=class extends l[_0x23351a(0x2a3)]{constructor(_0x5e4ea9=G,_0x1af9db,_0x5ab28a,_0x7e396,_0x146801,_0x4ef3f4){var _0x32861d=_0x23351a;super(),this[_0x32861d(0x1a6)]=_0x5e4ea9,this[_0x32861d(0x134)]=_0x1af9db,this['_configService']=_0x5ab28a,this[_0x32861d(0x1b7)]=_0x7e396,this[_0x32861d(0x1e5)]=_0x146801,this[_0x32861d(0x12b)]=_0x4ef3f4;const {..._0x494259}=l[_0x32861d(0x291)]({},G,this['_config']);this[_0x32861d(0x236)][_0x32861d(0x2a6)](y,_0x494259);}async[_0x23351a(0x261)](){var _0x3f0b64=_0x23351a;const _0x10618f=[[exports[_0x3f0b64(0x1b8)]],[exports['MCPConfigUIController']],[exports[_0x3f0b64(0x1d9)]]];this[_0x3f0b64(0x134)]['has'](A[_0x3f0b64(0x173)])||_0x10618f[_0x3f0b64(0x217)]([A[_0x3f0b64(0x173)],{'useClass':A[_0x3f0b64(0x18c)]}]),_0x10618f[_0x3f0b64(0x2b7)](_0x5adff9=>this[_0x3f0b64(0x134)][_0x3f0b64(0x216)](_0x5adff9)),this['_injector'][_0x3f0b64(0x1b4)](exports[_0x3f0b64(0x1b8)]),this[_0x3f0b64(0x134)]['get'](exports[_0x3f0b64(0x191)]),this['_injector'][_0x3f0b64(0x1b4)](exports[_0x3f0b64(0x1d9)]);}},$e(exports[_0x23351a(0x2ae)],_0x23351a(0x19f),'MCP_UI_PLUGIN'),exports[_0x23351a(0x2ae)]=Te([l[_0x23351a(0x20d)](s[_0x23351a(0x12c)]),M(0x1,l[_0x23351a(0x14a)](l[_0x23351a(0x1d3)])),M(0x2,l['IConfigService']),M(0x3,v[_0x23351a(0x29d)]),M(0x4,l[_0x23351a(0x1db)]),M(0x5,l['Inject'](l[_0x23351a(0x27f)]))],exports['UniverMCPUIPlugin']),exports[_0x23351a(0x12f)]=W,exports[_0x23351a(0x172)]=X,exports[_0x23351a(0x262)]=j,exports[_0x23351a(0x149)]=Oe,exports['zhCN']=Ae;
1
+ 'use strict';const _0x5f14e5=_0x1d93;(function(_0x234a7b,_0x106ccc){const _0x5e01e7=_0x1d93,_0x324320=_0x234a7b();while(!![]){try{const _0x248890=parseInt(_0x5e01e7(0x1f3))/0x1*(-parseInt(_0x5e01e7(0x220))/0x2)+parseInt(_0x5e01e7(0x20a))/0x3+parseInt(_0x5e01e7(0x2eb))/0x4*(parseInt(_0x5e01e7(0x2d7))/0x5)+parseInt(_0x5e01e7(0x2d5))/0x6*(-parseInt(_0x5e01e7(0x336))/0x7)+parseInt(_0x5e01e7(0x202))/0x8+-parseInt(_0x5e01e7(0x2ec))/0x9+-parseInt(_0x5e01e7(0x29d))/0xa;if(_0x248890===_0x106ccc)break;else _0x324320['push'](_0x324320['shift']());}catch(_0x34d07f){_0x324320['push'](_0x324320['shift']());}}}(_0xbf3a,0xdc644));function _0xbf3a(){const _0x5af8cc=['tag','close-icon','defs','Enable\x20authentication\x20for\x20secure\x20connections','Error','点击连接\x20MCP','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','mcpConfig.description','mcpConfig.title','_initializeCommands','BuiltInUIPart','_config$','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','配置保存失败','enUS','_uiPartsService','Authorization:','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','connectInjector','会话\x20ID\x20已被占用,请稍后再试','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','_localeService','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-size-2\x20univer-rounded-full','__setCustomHeaders','mcpStatus.disconnected','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_initStatusComponent','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','connectionError$','_initConfigSync','1799371pBVGMS','url(#on-line-icon_clip0_910_349)','CONNECTING','univer-bg-gray-500','replace','连接中...','Button','_config','权限验证失败,请检查您的\x20API\x20密钥','getConfig','svg','Configuration\x20saved\x20successfully','mcp-ui.command.openConfigPanel','_mcpCoreConfig$','toStringTag','Enable\x20Authentication','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','useObservable','univerjs-icon\x20univerjs-icon-','apiKey','Input','UniverMCPUIPlugin','mcpConfig.connectionError.maxRetriesExceeded','next','HelpIcon','_commandService','API\x20Key','getCurrentConfig','stringify','createElement','mcpConfig.configStepTitle','Connecting...','CloseIcon','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20连接失败','univer-flex\x20univer-gap-3','univer-text-yellow-500','MCPUIMenuController','BehaviorSubject','IMessageService','showConfigPanel','https://console.univer.ai','mcp-config-dialog','mcpConfig.connectionStatus.retrying','OpenMCPConfigPanelCommand','Bearer\x20','fill','bottom','mcpStatus.connected','_validateConfig','mcpConfig.connectionError.networkError','MCP\x20Unknown\x20Status','univer-flex\x20univer-items-center\x20univer-gap-2','error','Click\x20to\x20connect\x20MCP','重启您的\x20MCP\x20客户端以使配置生效','enableAutoConnect','_dialogService','RETRYING','Inject','MCPConfigUIController','span','_messageService','mcpConfig.connectionStatus.connecting','removeItem','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.validation.apiKeyTooShort','FAILED','defineProperty','mcpStatus.clickToConnect','mergeMenu','Connected','mcp.apiKey','配置\x20MCP\x20使用\x20AI\x20操作电子表格','displayName','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','get','IConfigService','SESSION_ID_OCCUPIED','28eBXUCw','value','MCP\x20状态未知','univer-bg-red-500','MCP:\x20Session\x20ID\x20Occupied','showDeveloperTools','url(#$1','getItem','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','ComponentManager','mcpConfig.connectionError.unauthorized','Save\x20Configuration','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-text-xs\x20univer-text-gray-600','http','10739664szybDk','MAX_RETRIES_EXCEEDED','errorMessage','pluginName','mcpConfig.configError','您的\x20API\x20密钥将在此浏览器中本地存储','_loadStoredApiKey','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4302813rKdbVE','xlink:href','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','将配置添加到您的\x20MCP\x20客户端设置文件中','Univer\x20AI\x20控制台','MCP\x20已连接','CommandType','MCP:\x20Unauthorized','https://mcp.univer.ai/mcp/?univer_session_id=','round','_mcpConnectionController','配置参数:','trim','setConfig','mcpStatus.unknown','LocaleService','_menuManagerService','mask','MCP\x20Client\x20Configuration','univer-text-red-500','64696baykAe','none','random','univer-text-blue-600','on-line-icon','show','mcpConfig.connectionError.sessionOccupied','MCPStatusDisplay','univer.plus','MCP:\x20超出最大重试次数','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-text-gray-400','mcpConfig.note2','univer-text-green-500','univer-font-medium','useDependency','univer-shrink-0\x20univer-text-blue-500','Enter\x20your\x20API\x20key','mcpConfig.apiApplyInfo.title','MCP:\x20会话\x20ID\x20已被占用','currentColor','on-line-icon_clip0_910_349','mcpConfig.configSaved','connectionStatus$','_logService','DependentOn','0\x200\x2017\x2016','RibbonStartGroup','NONE','zhCN','API\x20密钥不能为空','API\x20密钥无效,请检查密钥是否正确','path','mcpConfig.apiKeyHint','CheckMarkIcon','Configuration\x20Parameters:','MCP\x20Connected','MCP_UI_PLUGIN','useState','pre','您的\x20API\x20密钥安全存储在本地存储中','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','disposeWithMe','evenodd','jsxs','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','_loading$','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','merge','_configService','API\x20key\x20is\x20required','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','jsx','mcpConfig.configStep3','MCP:\x20网络错误','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-flex-1','MCPConnectionController','registerComponent','mcpConfig.configStep1','_registerComponent','clipPath','IMenuManagerService','Session\x20ID','mcpStatus.connecting','translate(.97)','univer.ai','univer_session_id:','IUIPartsService','mcpStatus.failed','off-line-icon','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Failed\x20to\x20save\x20configuration','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Click\x20to\x20configure\x20MCP','HEADER_MENU','\x20-\x20','Saving...','useRef','getOwnPropertyDescriptor','validateApiKey','MCP\x20客户端配置','mcpConfig.configInstructions','MCP\x20重连中...','mcpConfig.connectionStatus.connected','UniverIcon','UniverMCPPlugin','substring','children','Retrying...','_handleConfigure','MCP\x20Configuration','univer-text-xs\x20univer-text-gray-500','univer-min-w-0\x20univer-flex-1','MCPConnectionError','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpStatus.maxRetriesExceeded','white','toString','close','univer-shrink-0\x20univer-text-red-500','MenuIcon','text','NETWORK_ERROR','useCallback','push','mcpConfig.saving','WebSocketService','MCPConnectionUIController','Disconnected','univer-space-y-4','isValid','registerCommand','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','button','entries','mcpStatus.sessionOccupied','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','0\x200\x2016\x2016','univer-space-y-2','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCPConnectionStatus','mcpConfig.authorizationDescription','forwardRef','mcpConfig.save','21172170LJiZAi','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','map','ILogService','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','重连中...','几秒钟内获取您的\x20API\x20密钥','length','M0\x200H16V16H0z','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','mcpConfig.configStep2','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','CONNECTED','symbol','<SESSION_ID>','将以下配置添加到您的\x20MCP\x20客户端设置中:','_createConfigPanelComponent','Injector','MCP\x20Connection\x20Failed','保存中...','mcpConfig.apiApplyInfo.getStarted','DISCONNECTED','复制以下\x20JSON\x20配置','idSuffix','off','Module','univer-bg-blue-500','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpConfig.apiKey','_handleConfigSave','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','1em','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP_PLUGIN_CONFIG_KEY','register','What\x20is\x20API\x20Key?','has','COMMAND','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','warn','MCP\x20连接中...','string','onStarting','univer-bg-green-500','MCP\x20已断开','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','保存配置','mcpServerUrl','univer-flex\x20univer-flex-wrap\x20univer-gap-2','https://console.univer.plus','配置无效','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','sessionId$','subscribeConfigValue$','连接失败','12elUFCq','univer-text-sm\x20univer-text-gray-500','8668580XmXtoh','off-line-icon_clip0_910_343','showStatus','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','超出最大重试次数,请稍后再试','mcpConfig.sessionIdDescription','UNAUTHORIZED','Disposable','use','MCP\x20配置','Connection\x20Failed','div','OnLineIcon','Configuration\x20Notes:','未连接','Invalid\x20configuration','mcpConfig.apiKeyPlaceholder','什么是\x20API\x20密钥?','mcpStatus.clickToConfigure','BUTTON','4oxjVsZ','635886sUFkQO','includes','已连接','assign','MCPConfigPanel','mcp-ui.config','MenuItemType','最大重试次数','MCP\x20Connecting...','mcpConfig.note1','univer-text-white','Copy\x20the\x20JSON\x20configuration\x20below','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','_initAutoConnect','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-flex\x20univer-items-start\x20univer-gap-2','MessageType','subscribe','noopener\x20noreferrer','_localStorageService','clsx','_apiKey$','colorChannel1','univer-flex\x20univer-items-center','open','_connectionController','MCP\x20Disconnected','univer-flex\x20univer-items-start\x20univer-gap-3','attrs','univer-mr-2\x20univer-flex\x20univer-text-xl','OTHERS','_injector','univer-size-4','label','ILocalStorageService','http://www.w3.org/2000/svg','IDialogService','univer-text-sm\x20univer-font-medium','mcpConfig.connectionStatus.failed','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','forEach'];_0xbf3a=function(){return _0x5af8cc;};return _0xbf3a();}var ae=Object[_0x5f14e5(0x1e8)],le=(_0x562b9a,_0x5188e5,_0x5eb2d0)=>_0x5188e5 in _0x562b9a?ae(_0x562b9a,_0x5188e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5eb2d0}):_0x562b9a[_0x5188e5]=_0x5eb2d0,I=(_0x14856d,_0x2d103d,_0x2ecc7f)=>le(_0x14856d,typeof _0x2d103d!=_0x5f14e5(0x2aa)?_0x2d103d+'':_0x2d103d,_0x2ecc7f);Object[_0x5f14e5(0x1e8)](exports,Symbol[_0x5f14e5(0x344)],{'value':_0x5f14e5(0x2b6)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x134898,..._0x301629}){const _0x1c194b=_0x5f14e5,{icon:_0x321fda,id:_0x454b78,className:_0x4c034d,extend:_0x1fcdb0,..._0x33dcca}=_0x301629,_0x4baa73=(_0x1c194b(0x348)+_0x454b78+'\x20'+(_0x4c034d||''))[_0x1c194b(0x218)](),_0x29d319=d[_0x1c194b(0x26e)]('_'+de());return G(_0x321fda,''+_0x454b78,{'defIds':_0x321fda['defIds'],'idSuffix':_0x29d319['current']},{'ref':_0x134898,'className':_0x4baa73,..._0x33dcca},_0x1fcdb0);}function G(_0x2bbcd8,_0x48ad76,_0xbddc84,_0x57ba7c,_0x992bf9){const _0x2c00aa=_0x5f14e5;return d[_0x2c00aa(0x353)](_0x2bbcd8['tag'],{'key':_0x48ad76,...ue(_0x2bbcd8,_0xbddc84,_0x992bf9),..._0x57ba7c},(ve(_0x2bbcd8,_0xbddc84)['children']||[])['map']((_0x2218da,_0x3505dd)=>G(_0x2218da,_0x48ad76+'-'+_0x2bbcd8[_0x2c00aa(0x315)]+'-'+_0x3505dd,_0xbddc84,void 0x0,_0x992bf9)));}function ue(_0x172210,_0x2aa02d,_0x39b2de){const _0x301a13=_0x5f14e5,_0x1ec37f={..._0x172210['attrs']};_0x39b2de!=null&&_0x39b2de[_0x301a13(0x302)]&&_0x1ec37f[_0x301a13(0x364)]==='colorChannel1'&&(_0x1ec37f[_0x301a13(0x364)]=_0x39b2de[_0x301a13(0x302)]),_0x172210[_0x301a13(0x315)]===_0x301a13(0x21d)&&_0x1ec37f['id']&&(_0x1ec37f['id']=_0x1ec37f['id']+_0x2aa02d[_0x301a13(0x2b4)]),Object[_0x301a13(0x293)](_0x1ec37f)[_0x301a13(0x314)](([_0x570735,_0x2c0d03])=>{const _0x412633=_0x301a13;_0x570735===_0x412633(0x21d)&&typeof _0x2c0d03==_0x412633(0x2c7)&&(_0x1ec37f[_0x570735]=_0x2c0d03[_0x412633(0x33a)](/url\(#(.*)\)/,_0x412633(0x1f9)+_0x2aa02d[_0x412633(0x2b4)]+')'));});const {defIds:_0x3705cc}=_0x2aa02d;return!_0x3705cc||_0x3705cc[_0x301a13(0x2a4)]===0x0||(_0x172210[_0x301a13(0x315)]===_0x301a13(0x2df)&&_0x1ec37f[_0x301a13(0x20b)]&&(_0x1ec37f['xlink:href']=_0x1ec37f['xlink:href']+_0x2aa02d[_0x301a13(0x2b4)]),Object[_0x301a13(0x293)](_0x1ec37f)[_0x301a13(0x314)](([_0x5c67eb,_0x428b2e])=>{const _0x3a22dd=_0x301a13;typeof _0x428b2e==_0x3a22dd(0x2c7)&&(_0x1ec37f[_0x5c67eb]=_0x428b2e[_0x3a22dd(0x33a)](/url\(#(.*)\)/,'url(#$1'+_0x2aa02d['idSuffix']+')'));})),_0x1ec37f;}function ve(_0x151a35,_0x26edb1){const _0x2aec82=_0x5f14e5;var _0x4d77da;const {defIds:_0x285203}=_0x26edb1;return!_0x285203||_0x285203[_0x2aec82(0x2a4)]===0x0?_0x151a35:_0x151a35['tag']===_0x2aec82(0x317)&&((_0x4d77da=_0x151a35[_0x2aec82(0x278)])!=null&&_0x4d77da[_0x2aec82(0x2a4)])?{..._0x151a35,'children':_0x151a35[_0x2aec82(0x278)][_0x2aec82(0x29f)](_0xffb390=>typeof _0xffb390['attrs']['id']==_0x2aec82(0x2c7)&&_0x285203&&_0x285203[_0x2aec82(0x2ed)](_0xffb390[_0x2aec82(0x308)]['id'])?{..._0xffb390,'attrs':{..._0xffb390[_0x2aec82(0x308)],'id':_0xffb390['attrs']['id']+_0x26edb1[_0x2aec82(0x2b4)]}}:_0xffb390)}:_0x151a35;}function de(){const _0x1b3cee=_0x5f14e5;return Math[_0x1b3cee(0x222)]()[_0x1b3cee(0x282)](0x24)[_0x1b3cee(0x277)](0x2,0x8);}_[_0x5f14e5(0x1ee)]=_0x5f14e5(0x275);const Ce={'tag':_0x5f14e5(0x340),'attrs':{'xmlns':_0x5f14e5(0x30f),'fill':_0x5f14e5(0x221),'viewBox':_0x5f14e5(0x296),'width':_0x5f14e5(0x2bc),'height':'1em'},'children':[{'tag':_0x5f14e5(0x240),'attrs':{'fill':_0x5f14e5(0x234),'d':_0x5f14e5(0x31b),'fillRule':_0x5f14e5(0x24b),'clipRule':_0x5f14e5(0x24b)}}]},H=d['forwardRef'](function(_0xde5cce,_0x4b8c3b){const _0x45b399=_0x5f14e5;return d[_0x45b399(0x353)](_,Object['assign']({},_0xde5cce,{'id':'check-mark-icon','ref':_0x4b8c3b,'icon':Ce}));});H[_0x5f14e5(0x1ee)]=_0x5f14e5(0x242);const ge={'tag':'svg','attrs':{'xmlns':_0x5f14e5(0x30f),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5f14e5(0x2bc),'height':_0x5f14e5(0x2bc)},'children':[{'tag':_0x5f14e5(0x240),'attrs':{'fill':'currentColor','d':_0x5f14e5(0x24d)}}]},B=d['forwardRef'](function(_0x24a446,_0x3a3492){const _0x4d1356=_0x5f14e5;return d[_0x4d1356(0x353)](_,Object[_0x4d1356(0x2ef)]({},_0x24a446,{'id':_0x4d1356(0x316),'ref':_0x3a3492,'icon':ge}));});B['displayName']=_0x5f14e5(0x356);const fe={'tag':_0x5f14e5(0x340),'attrs':{'xmlns':_0x5f14e5(0x30f),'fill':_0x5f14e5(0x221),'viewBox':_0x5f14e5(0x296),'width':_0x5f14e5(0x2bc),'height':_0x5f14e5(0x2bc)},'children':[{'tag':_0x5f14e5(0x240),'attrs':{'fill':'currentColor','d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x5f14e5(0x240),'attrs':{'fill':'currentColor','d':_0x5f14e5(0x253)}},{'tag':_0x5f14e5(0x240),'attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x5f14e5(0x24b),'clipRule':_0x5f14e5(0x24b)}}]},F=d[_0x5f14e5(0x29b)](function(_0x590de6,_0x2ccc3d){const _0x2f4c61=_0x5f14e5;return d[_0x2f4c61(0x353)](_,Object['assign']({},_0x590de6,{'id':'help-icon','ref':_0x2ccc3d,'icon':fe}));});F['displayName']=_0x5f14e5(0x34e);const pe={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5f14e5(0x221),'viewBox':_0x5f14e5(0x296),'width':_0x5f14e5(0x2bc),'height':_0x5f14e5(0x2bc)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5f14e5(0x234),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x5f14e5(0x215),'strokeLinejoin':_0x5f14e5(0x215),'strokeWidth':1.2}}]},{'tag':_0x5f14e5(0x317),'attrs':{},'children':[{'tag':_0x5f14e5(0x25d),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x5f14e5(0x240),'attrs':{'fill':_0x5f14e5(0x281),'d':_0x5f14e5(0x2a5)}}]}]}],'defIds':[_0x5f14e5(0x2d8)]},Y=d[_0x5f14e5(0x29b)](function(_0x29dbfd,_0x328849){const _0xb1a310=_0x5f14e5;return d[_0xb1a310(0x353)](_,Object[_0xb1a310(0x2ef)]({},_0x29dbfd,{'id':_0xb1a310(0x266),'ref':_0x328849,'icon':pe}));});Y[_0x5f14e5(0x1ee)]='OffLineIcon';const he={'tag':'svg','attrs':{'xmlns':_0x5f14e5(0x30f),'fill':_0x5f14e5(0x221),'viewBox':_0x5f14e5(0x23a),'width':_0x5f14e5(0x2bc),'height':_0x5f14e5(0x2bc)},'children':[{'tag':'g','attrs':{'clipPath':_0x5f14e5(0x337)},'children':[{'tag':_0x5f14e5(0x240),'attrs':{'stroke':_0x5f14e5(0x234),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x5f14e5(0x215),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5f14e5(0x25d),'attrs':{'id':_0x5f14e5(0x235)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x5f14e5(0x2a5),'transform':_0x5f14e5(0x261)}}]}]}],'defIds':[_0x5f14e5(0x235)]},q=d[_0x5f14e5(0x29b)](function(_0x50080f,_0x5eefa2){const _0x54e300=_0x5f14e5;return d[_0x54e300(0x353)](_,Object['assign']({},_0x50080f,{'id':_0x54e300(0x224),'ref':_0x5eefa2,'icon':he}));});q[_0x5f14e5(0x1ee)]=_0x5f14e5(0x2e3);function V(_0x68bbc2){const _0x1d0bcd=_0x5f14e5;var _0x33cffe,_0x2c75c9;const {mcpCoreConfig:_0x50f2a3,onSave:_0x505f01,loading:_0x2e93f5=!0x1,config:_0x4187e1,connectionStatus$:_0x3871cf,connectionError$:_0x298395,currentApiKey$:_0x24404b,currentSessionId$:_0x53cb9a}=_0x68bbc2,_0x5372b5=v[_0x1d0bcd(0x22f)](u[_0x1d0bcd(0x21b)]),_0x1d56fc=v[_0x1d0bcd(0x347)](_0x3871cf,s[_0x1d0bcd(0x299)][_0x1d0bcd(0x2b2)]),_0xef5288=v[_0x1d0bcd(0x347)](_0x298395,s[_0x1d0bcd(0x27e)][_0x1d0bcd(0x23c)]),_0x3f573a=v['useObservable'](_0x53cb9a,''),_0x31114b=v[_0x1d0bcd(0x347)](_0x24404b,''),[_0x226571,_0x1fa1d4]=d[_0x1d0bcd(0x246)](_0x31114b||''),_0x31dd70=!0x0,_0xd1c64a=_0x4187e1[_0x1d0bcd(0x1f8)]&&_0x50f2a3[_0x1d0bcd(0x2cd)]&&(_0x50f2a3[_0x1d0bcd(0x2cd)][_0x1d0bcd(0x2ed)](_0x1d0bcd(0x228))||_0x50f2a3[_0x1d0bcd(0x2cd)][_0x1d0bcd(0x2ed)](_0x1d0bcd(0x262))),_0x1257cc=(_0x33cffe=_0x50f2a3[_0x1d0bcd(0x2cd)])==null?void 0x0:_0x33cffe[_0x1d0bcd(0x2ed)](_0x1d0bcd(0x228)),_0x3285c3=(_0x2c75c9=_0x50f2a3[_0x1d0bcd(0x2cd)])==null?void 0x0:_0x2c75c9[_0x1d0bcd(0x2ed)](_0x1d0bcd(0x262)),_0x202f95=_0x1257cc?_0x1d0bcd(0x2cf):_0x1d0bcd(0x35f),_0x483eea=_0x4187e1[_0x1d0bcd(0x1f8)]&&(_0x1257cc||_0x3285c3),[_0x1cea1b,_0xa58d51]=d[_0x1d0bcd(0x246)](!_0x226571['trim']()),_0x584f8d=(_0x23b79f,_0x4ab3cd)=>{const _0x1fc757=_0x1d0bcd;if(_0x4ab3cd===s['MCPConnectionError'][_0x1fc757(0x2dd)])return _0x1fc757(0x326);switch(_0x23b79f){case s[_0x1fc757(0x299)][_0x1fc757(0x2a9)]:return _0x1fc757(0x22a);case s[_0x1fc757(0x299)][_0x1fc757(0x338)]:case s[_0x1fc757(0x299)][_0x1fc757(0x370)]:return _0x1fc757(0x267);case s[_0x1fc757(0x299)][_0x1fc757(0x1e7)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x565996=(_0x16320d,_0xebabf0)=>{const _0x14ed53=_0x1d0bcd;if(_0xebabf0===s[_0x14ed53(0x27e)]['UNAUTHORIZED'])return _0x14ed53(0x1f6);switch(_0x16320d){case s['MCPConnectionStatus'][_0x14ed53(0x2a9)]:return _0x14ed53(0x2c9);case s[_0x14ed53(0x299)][_0x14ed53(0x338)]:case s[_0x14ed53(0x299)][_0x14ed53(0x370)]:return _0x14ed53(0x2b7);case s['MCPConnectionStatus'][_0x14ed53(0x1e7)]:return _0x14ed53(0x1f6);default:return _0x14ed53(0x339);}},_0x3126c9=_0x46e0a0=>{const _0x34a367=_0x1d0bcd;switch(_0x46e0a0){case s['MCPConnectionStatus'][_0x34a367(0x2a9)]:return _0x5372b5['t'](_0x34a367(0x274));case s[_0x34a367(0x299)][_0x34a367(0x338)]:return _0x5372b5['t'](_0x34a367(0x375));case s[_0x34a367(0x299)][_0x34a367(0x1e7)]:return _0x5372b5['t'](_0x34a367(0x312));case s[_0x34a367(0x299)][_0x34a367(0x370)]:return _0x5372b5['t'](_0x34a367(0x361));default:return _0x5372b5['t']('mcpConfig.connectionStatus.disconnected');}},_0x4c32d9=_0x332171=>{const _0x24a0c3=_0x1d0bcd;switch(_0x332171){case s[_0x24a0c3(0x27e)][_0x24a0c3(0x2dd)]:return _0x5372b5['t'](_0x24a0c3(0x1fd));case s['MCPConnectionError'][_0x24a0c3(0x1f2)]:return _0x5372b5['t'](_0x24a0c3(0x226));case s[_0x24a0c3(0x27e)][_0x24a0c3(0x287)]:return _0x5372b5['t'](_0x24a0c3(0x368));case s[_0x24a0c3(0x27e)][_0x24a0c3(0x203)]:return _0x5372b5['t'](_0x24a0c3(0x34c));default:return'';}},_0x1647a7=d[_0x1d0bcd(0x288)](()=>{const _0x3b7e7b=_0x1d0bcd,_0x18018c={..._0x50f2a3,'apiKey':_0x226571[_0x3b7e7b(0x218)](),'enableAuth':_0x31dd70};_0x505f01(_0x18018c);},[_0x50f2a3,_0x226571,_0x31dd70,_0x505f01]),_0x14ff1c=_0x226571['trim']()[_0x1d0bcd(0x2a4)]>0x0;return i['jsxs'](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x295),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x2f8),'children':i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[i['jsx'](_0x1d0bcd(0x2e2),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x2f6),'children':'⚙'})}),i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'children':i['jsx']('p',{'className':_0x1d0bcd(0x2d6),'children':_0x5372b5['t'](_0x1d0bcd(0x31c))})})]})}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x1ff),'children':[i['jsx'](_0x1d0bcd(0x2e2),{'className':f[_0x1d0bcd(0x300)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x584f8d(_0x1d56fc,_0xef5288)),'children':i[_0x1d0bcd(0x24c)]('div',{'className':_0x1d0bcd(0x36a),'children':[i['jsx'](_0x1d0bcd(0x2e2),{'className':f['clsx'](_0x1d0bcd(0x32c),_0x565996(_0x1d56fc,_0xef5288))}),i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x311),'children':_0x3126c9(_0x1d56fc)})]})}),_0xef5288!==s[_0x1d0bcd(0x27e)][_0x1d0bcd(0x23c)]&&(_0x1d56fc===s['MCPConnectionStatus'][_0x1d0bcd(0x1e7)]||_0xef5288===s['MCPConnectionError']['UNAUTHORIZED'])&&i[_0x1d0bcd(0x254)]('div',{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x2fb),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x284),'children':'⚠️'}),i[_0x1d0bcd(0x254)]('p',{'className':_0x1d0bcd(0x2cb),'children':_0x4c32d9(_0xef5288)})]})})]}),i['jsx'](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x269),'children':i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':'univer-space-y-5','children':[i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x297),'children':[i['jsxs'](_0x1d0bcd(0x30d),{'className':_0x1d0bcd(0x330),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'children':'🔑'}),'\x20',_0x5372b5['t'](_0x1d0bcd(0x2b9)),i[_0x1d0bcd(0x254)]('span',{'className':_0x1d0bcd(0x21f),'children':'*'}),_0xd1c64a&&i[_0x1d0bcd(0x254)]('a',{'className':_0x1d0bcd(0x2fa),'title':_0x5372b5['t'](_0x1d0bcd(0x232)),'role':_0x1d0bcd(0x292),'onClick':()=>_0xa58d51(!0x0),'children':i[_0x1d0bcd(0x254)](F,{})})]}),i[_0x1d0bcd(0x254)](f[_0x1d0bcd(0x34a)],{'type':_0x1d0bcd(0x286),'placeholder':_0x5372b5['t'](_0x1d0bcd(0x2e7)),'value':_0x226571,'disabled':_0x2e93f5,'autoComplete':_0x1d0bcd(0x2b5),'onChange':_0x1fa1d4}),i['jsx']('p',{'className':_0x1d0bcd(0x27c),'children':_0x5372b5['t'](_0x1d0bcd(0x241))})]}),_0xd1c64a&&_0x1cea1b&&i['jsxs'](_0x1d0bcd(0x2e2),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[i[_0x1d0bcd(0x254)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x1d0bcd(0x292),'onClick':()=>_0xa58d51(!0x1),'children':i[_0x1d0bcd(0x254)](B,{'className':_0x1d0bcd(0x30c)})}),i['jsxs'](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x32f),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x27f),'children':i['jsx'](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x223),'children':'🚀'})}),i['jsxs']('div',{'className':_0x1d0bcd(0x258),'children':[i[_0x1d0bcd(0x254)]('h4',{'className':_0x1d0bcd(0x2a1),'children':_0x5372b5['t']('mcpConfig.apiApplyInfo.title')}),i[_0x1d0bcd(0x254)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x5372b5['t']('mcpConfig.apiApplyInfo.description')}),i[_0x1d0bcd(0x254)]('div',{'className':_0x1d0bcd(0x2ce),'children':_0x483eea&&i[_0x1d0bcd(0x24c)]('a',{'className':_0x1d0bcd(0x2a6),'href':_0x202f95,'target':'_blank','rel':_0x1d0bcd(0x2fe),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'children':'🤖'}),_0x5372b5['t']('mcpConfig.apiApplyInfo.univerAiLabel'),i['jsx'](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x22b),'children':'↗'})]})}),i['jsxs'](_0x1d0bcd(0x2e2),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x5372b5['t'](_0x1d0bcd(0x2b1))]})]})]})]}),_0x4187e1[_0x1d0bcd(0x1f8)]&&i['jsxs']('div',{'className':_0x1d0bcd(0x2bb),'children':[i[_0x1d0bcd(0x24c)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'children':'🔗'}),'\x20',_0x5372b5['t']('mcpConfig.connectionInfo')]}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x28e),'children':[i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':'univer-space-y-3','children':[i['jsx']('p',{'className':_0x1d0bcd(0x200),'children':_0x5372b5['t'](_0x1d0bcd(0x272))}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x297),'children':[i['jsx'](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x329),'children':_0x5372b5['t'](_0x1d0bcd(0x354))}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x2c4),'children':[i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x36a),'children':[i['jsx'](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x332),'children':'1'}),_0x5372b5['t'](_0x1d0bcd(0x25b))]}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x36a),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x332),'children':'2'}),_0x5372b5['t'](_0x1d0bcd(0x2a7))]}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x332),'children':'3'}),_0x5372b5['t'](_0x1d0bcd(0x255))]})]})]})]}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':'univer-space-y-2','children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x329),'children':_0x1d0bcd(0x27b)}),i['jsx'](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x333),'children':i[_0x1d0bcd(0x254)](_0x1d0bcd(0x247),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x1d0bcd(0x352)]({'mcpServers':{'univer':{'url':_0x1d0bcd(0x214)+(_0x3f573a||_0x1d0bcd(0x2ab)),'type':_0x1d0bcd(0x201),'headers':{'Authorization':_0x1d0bcd(0x363)+(_0x226571||'<API_KEY>')}}}},null,0x2)})})]}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':'univer-space-y-3','children':[i[_0x1d0bcd(0x254)]('div',{'className':_0x1d0bcd(0x329),'children':_0x5372b5['t']('mcpConfig.configParameters')}),i[_0x1d0bcd(0x24c)]('div',{'className':_0x1d0bcd(0x297),'children':[i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x307),'children':[i['jsx'](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x249)}),i[_0x1d0bcd(0x24c)]('div',{'className':_0x1d0bcd(0x27d),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x2da),'children':_0x1d0bcd(0x263)}),i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5372b5['t'](_0x1d0bcd(0x2dc))})]})]}),i[_0x1d0bcd(0x24c)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x1d0bcd(0x254)]('div',{'className':_0x1d0bcd(0x249)}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x27d),'children':[i['jsx']('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1d0bcd(0x325)}),i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x27c),'children':_0x5372b5['t'](_0x1d0bcd(0x29a))})]})]})]})]})]})]}),i[_0x1d0bcd(0x254)](f[_0x1d0bcd(0x33c)],{'onClick':_0x1647a7,'disabled':!_0x14ff1c||_0x2e93f5,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x2e93f5?i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x36a),'children':[i['jsx'](_0x1d0bcd(0x373),{'children':'⟲'}),_0x5372b5['t'](_0x1d0bcd(0x28a))]}):i['jsxs'](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x36a),'children':[i[_0x1d0bcd(0x254)](H,{}),_0x5372b5['t'](_0x1d0bcd(0x29c))]})}),i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x1e5),'children':i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x359),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x373),{'className':_0x1d0bcd(0x230),'children':'💡'}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x20c),'children':[i[_0x1d0bcd(0x254)](_0x1d0bcd(0x2e2),{'className':_0x1d0bcd(0x22e),'children':_0x1d0bcd(0x2e4)}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'children':['•',_0x5372b5['t'](_0x1d0bcd(0x2f5))]}),i[_0x1d0bcd(0x24c)](_0x1d0bcd(0x2e2),{'children':['•',_0x5372b5['t'](_0x1d0bcd(0x22c))]})]})]})})]})})]});}const P=_0x5f14e5(0x2f1),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x5f14e5(0x26f)],xe=(_0x53c320,_0x531d08,_0x10ad59,_0x46f313)=>{const _0x22cb58=_0x5f14e5;for(var _0x422a0b=_0x46f313>0x1?void 0x0:_0x46f313?me(_0x531d08,_0x10ad59):_0x531d08,_0x1d7eb6=_0x53c320[_0x22cb58(0x2a4)]-0x1,_0x3f4bd1;_0x1d7eb6>=0x0;_0x1d7eb6--)(_0x3f4bd1=_0x53c320[_0x1d7eb6])&&(_0x422a0b=_0x3f4bd1(_0x422a0b)||_0x422a0b);return _0x422a0b;},g=(_0x320e3d,_0x2aa318)=>(_0x5e2b73,_0x23fa49)=>_0x2aa318(_0x5e2b73,_0x23fa49,_0x320e3d);const O=_0x5f14e5(0x1ec),D=_0x5f14e5(0x360);exports[_0x5f14e5(0x372)]=class extends u[_0x5f14e5(0x2de)]{constructor(_0x2096e8,_0x366b69,_0x25f8f0,_0x4918f2,_0x4c0a8d,_0xa6dd1a,_0x453bb0,_0xc4e450,_0x150964,_0x51a40f){const _0x1210f7=_0x5f14e5;super(),I(this,_0x1210f7(0x24e),new M[(_0x1210f7(0x35c))](!0x1)),I(this,_0x1210f7(0x343),new M['BehaviorSubject']({})),I(this,_0x1210f7(0x320),new M['BehaviorSubject']({})),I(this,_0x1210f7(0x301),new M['BehaviorSubject']('')),I(this,_0x1210f7(0x2ba),async _0xe94213=>{const _0xf092f7=_0x1210f7;var _0x106de7,_0x42a1f3;this[_0xf092f7(0x24e)][_0xf092f7(0x34d)](!0x0);try{const _0xe93400=await this[_0xf092f7(0x367)](_0xe94213);if(!_0xe93400[_0xf092f7(0x28f)]){this[_0xf092f7(0x374)][_0xf092f7(0x225)]({'type':f[_0xf092f7(0x2fc)]['Error'],'content':_0xe93400[_0xf092f7(0x204)]||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0xe94213['apiKey']?await this['_localStorageService']['setItem'](O,_0xe94213[_0xf092f7(0x349)]['trim']()):await this[_0xf092f7(0x2ff)][_0xf092f7(0x1e4)](O),this[_0xf092f7(0x301)][_0xf092f7(0x34d)](((_0x106de7=_0xe94213['apiKey'])==null?void 0x0:_0x106de7[_0xf092f7(0x218)]())||''),this[_0xf092f7(0x216)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x42a1f3=_0xe94213[_0xf092f7(0x349)])==null?void 0x0:_0x42a1f3[_0xf092f7(0x218)]())}),this[_0xf092f7(0x374)][_0xf092f7(0x225)]({'type':f['MessageType']['Success'],'content':this[_0xf092f7(0x32a)]['t'](_0xf092f7(0x236))}),setTimeout(()=>{const _0x4689d1=_0xf092f7;this['_dialogService'][_0x4689d1(0x283)](D);},0x320);}catch(_0x533a6b){this[_0xf092f7(0x238)]['error'](_0xf092f7(0x1fb),_0x533a6b),this[_0xf092f7(0x374)][_0xf092f7(0x225)]({'type':f['MessageType'][_0xf092f7(0x319)],'content':this[_0xf092f7(0x32a)]['t'](_0xf092f7(0x206))});}finally{this[_0xf092f7(0x24e)]['next'](!0x1);}}),(this[_0x1210f7(0x30b)]=_0x2096e8,this[_0x1210f7(0x324)]=_0x366b69,this[_0x1210f7(0x251)]=_0x25f8f0,this[_0x1210f7(0x2ff)]=_0x4918f2,this['_dialogService']=_0x4c0a8d,this[_0x1210f7(0x374)]=_0xa6dd1a,this['_componentManager']=_0x453bb0,this['_localeService']=_0xc4e450,this[_0x1210f7(0x238)]=_0x150964,this[_0x1210f7(0x216)]=_0x51a40f,this[_0x1210f7(0x335)](),this['_loadStoredApiKey'](),this[_0x1210f7(0x25c)]());}[_0x5f14e5(0x35e)](){const _0x55c6d4=_0x5f14e5,_0x2d6479=this['_configService'][_0x55c6d4(0x33f)](P);_0x2d6479!=null&&_0x2d6479[_0x55c6d4(0x1f8)]&&this[_0x55c6d4(0x36f)][_0x55c6d4(0x304)]({'id':D,'title':{'title':this['_localeService']['t'](_0x55c6d4(0x31d))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x8fd759=_0x55c6d4;this['_dialogService'][_0x8fd759(0x283)](D);}});}[_0x5f14e5(0x351)](){const _0x445928=_0x5f14e5;return this[_0x445928(0x343)]['value'];}[_0x5f14e5(0x25c)](){const _0x2a78b8=_0x5f14e5;this[_0x2a78b8(0x24a)](this['_componentManager'][_0x2a78b8(0x2c0)](_0x2a78b8(0x2f0),this[_0x2a78b8(0x2ad)]()));}[_0x5f14e5(0x2ad)](){const _0x508270=_0x5f14e5;return v[_0x508270(0x327)](()=>{const _0x598683=_0x508270;var _0x2544fa,_0x495417,_0xe34126;return i[_0x598683(0x254)](V,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x598683(0x343)][_0x598683(0x1f4)],'currentApiKey$':this[_0x598683(0x301)],'onSave':this[_0x598683(0x2ba)],'loading':this['_loading$'][_0x598683(0x1f4)],'connectionStatus$':(_0x2544fa=this[_0x598683(0x216)])==null?void 0x0:_0x2544fa['connectionStatus$'],'connectionError$':(_0x495417=this[_0x598683(0x216)])==null?void 0x0:_0x495417[_0x598683(0x334)],'currentSessionId$':(_0xe34126=this[_0x598683(0x216)])==null?void 0x0:_0xe34126[_0x598683(0x2d2)]});},this[_0x508270(0x30b)]);}[_0x5f14e5(0x335)](){const _0x2d245e=_0x5f14e5;this[_0x2d245e(0x24a)](this[_0x2d245e(0x251)]['subscribeConfigValue$'](s[_0x2d245e(0x2bf)])[_0x2d245e(0x2fd)](_0xd1fe6=>{const _0x288cf5=_0x2d245e;this[_0x288cf5(0x343)][_0x288cf5(0x34d)](_0xd1fe6||{});}));const _0xe2f671=this['_configService'][_0x2d245e(0x33f)](s['MCP_PLUGIN_CONFIG_KEY']);this[_0x2d245e(0x343)][_0x2d245e(0x34d)](_0xe2f671||{}),this['disposeWithMe'](this[_0x2d245e(0x251)][_0x2d245e(0x2d3)](P)[_0x2d245e(0x2fd)](_0x1a73f9=>{const _0x382a25=_0x2d245e;this[_0x382a25(0x320)]['next'](_0x1a73f9||{});}));const _0x3ce32e=this[_0x2d245e(0x251)][_0x2d245e(0x33f)](P);this[_0x2d245e(0x320)]['next'](_0x3ce32e||{});}async[_0x5f14e5(0x208)](){const _0x4bfa23=_0x5f14e5,_0x17b55c=this['_configService'][_0x4bfa23(0x33f)](P);if(!(_0x17b55c!=null&&_0x17b55c[_0x4bfa23(0x1f8)]))return;const _0x575922=await this[_0x4bfa23(0x2ff)][_0x4bfa23(0x1fa)](O);_0x575922&&(this[_0x4bfa23(0x216)][_0x4bfa23(0x32d)]({'Authorization':_0x4bfa23(0x363)+_0x575922}),this[_0x4bfa23(0x301)][_0x4bfa23(0x34d)](_0x575922));}async[_0x5f14e5(0x367)](_0x327d53){const _0x44ec02=_0x5f14e5;if(!_0x327d53['apiKey']||_0x327d53[_0x44ec02(0x349)][_0x44ec02(0x218)]()[_0x44ec02(0x2a4)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x44ec02(0x32a)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x327d53['apiKey'][_0x44ec02(0x218)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x44ec02(0x32a)]['t'](_0x44ec02(0x1e6))};try{const _0x3d8760=await this[_0x44ec02(0x30b)][_0x44ec02(0x1f0)](s[_0x44ec02(0x259)])[_0x44ec02(0x270)](_0x327d53['apiKey'][_0x44ec02(0x218)]());return _0x3d8760[_0x44ec02(0x28f)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3d8760[_0x44ec02(0x36b)]||this[_0x44ec02(0x32a)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x7c56e){return console[_0x44ec02(0x2c5)](_0x44ec02(0x313),_0x7c56e),{'isValid':!0x0};}}},exports[_0x5f14e5(0x372)]=xe([g(0x0,u[_0x5f14e5(0x371)](u[_0x5f14e5(0x2ae)])),g(0x1,v[_0x5f14e5(0x264)]),g(0x2,u['IConfigService']),g(0x3,u[_0x5f14e5(0x30e)]),g(0x4,v[_0x5f14e5(0x310)]),g(0x5,v[_0x5f14e5(0x35d)]),g(0x6,u[_0x5f14e5(0x371)](v[_0x5f14e5(0x1fc)])),g(0x7,u['Inject'](u[_0x5f14e5(0x21b)])),g(0x8,u[_0x5f14e5(0x2a0)]),g(0x9,u[_0x5f14e5(0x371)](s[_0x5f14e5(0x259)]))],exports[_0x5f14e5(0x372)]);const b={'id':_0x5f14e5(0x342),'type':u[_0x5f14e5(0x212)][_0x5f14e5(0x2c3)],'handler':async(_0x30ecb0,_0x16b9c0)=>(_0x30ecb0[_0x5f14e5(0x1f0)](exports[_0x5f14e5(0x372)])[_0x5f14e5(0x35e)](),!0x0)};function Z(_0x1f76ec,_0x2e870b){const _0x4b775b=_0x5f14e5;switch(_0x1f76ec){case s[_0x4b775b(0x299)][_0x4b775b(0x2b2)]:return _0x4b775b(0x32e);case s['MCPConnectionStatus']['CONNECTING']:return _0x4b775b(0x260);case s['MCPConnectionStatus'][_0x4b775b(0x2a9)]:return _0x4b775b(0x366);case s[_0x4b775b(0x299)]['FAILED']:switch(_0x2e870b){case s['MCPConnectionError'][_0x4b775b(0x2dd)]:return'mcpStatus.unauthorized';case s[_0x4b775b(0x27e)][_0x4b775b(0x1f2)]:return _0x4b775b(0x294);case s[_0x4b775b(0x27e)][_0x4b775b(0x287)]:return'mcpStatus.networkError';case s[_0x4b775b(0x27e)][_0x4b775b(0x203)]:return _0x4b775b(0x280);default:return _0x4b775b(0x265);}case s[_0x4b775b(0x299)][_0x4b775b(0x370)]:return'mcpStatus.retrying';default:return _0x4b775b(0x21a);}}function Se(_0x14c0a8,_0x40445d,_0x12f605,_0x4456bc=!0x0){const _0x1a306d=_0x5f14e5,_0x4aaef9=Z(_0x14c0a8,_0x40445d),_0x1c1e98=_0x12f605['t'](_0x4aaef9);return _0x4456bc?_0x14c0a8===s[_0x1a306d(0x299)][_0x1a306d(0x2b2)]&&_0x40445d===s[_0x1a306d(0x27e)][_0x1a306d(0x2dd)]?_0x1c1e98+_0x1a306d(0x26c)+_0x12f605['t'](_0x1a306d(0x2e9)):_0x14c0a8===s[_0x1a306d(0x299)][_0x1a306d(0x2a9)]?''+_0x1c1e98:_0x14c0a8===s[_0x1a306d(0x299)][_0x1a306d(0x2b2)]||_0x14c0a8===s[_0x1a306d(0x299)][_0x1a306d(0x1e7)]?_0x1c1e98+_0x1a306d(0x26c)+_0x12f605['t'](_0x1a306d(0x1e9)):_0x1c1e98:_0x1c1e98;}function Pe(_0x3b26ff){const _0x5be7c5=_0x5f14e5;switch(_0x3b26ff){case s[_0x5be7c5(0x299)][_0x5be7c5(0x2a9)]:return _0x5be7c5(0x22d);case s[_0x5be7c5(0x299)][_0x5be7c5(0x338)]:case s[_0x5be7c5(0x299)][_0x5be7c5(0x370)]:return _0x5be7c5(0x35a);case s[_0x5be7c5(0x299)][_0x5be7c5(0x1e7)]:case s[_0x5be7c5(0x299)][_0x5be7c5(0x2b2)]:return _0x5be7c5(0x21f);default:return'univer-text-gray-500';}}function W(_0x1d10ab){const _0x388559=_0x5f14e5,{status$:_0x2e88af,error$:_0x563bf7,onConfigure:_0x103654,showClickable:_0x5c7da4=!0x0}=_0x1d10ab,_0x4023ba=v[_0x388559(0x347)](_0x2e88af,s[_0x388559(0x299)][_0x388559(0x2b2)]),_0x1f007b=v[_0x388559(0x347)](_0x563bf7,s['MCPConnectionError'][_0x388559(0x23c)]),_0x6517d8=v[_0x388559(0x22f)](u[_0x388559(0x21b)]),_0x22ae3a=_0x4023ba===s['MCPConnectionStatus'][_0x388559(0x2a9)];_0x4023ba===s[_0x388559(0x299)][_0x388559(0x338)]||s[_0x388559(0x299)][_0x388559(0x370)];const _0x3eb035=_0x6517d8['t'](Z(_0x4023ba,_0x1f007b)),_0x2220b1=Se(_0x4023ba,_0x1f007b,_0x6517d8,_0x5c7da4),_0x66f05e=Pe(_0x4023ba),_0x4b8794=_0x22ae3a?i[_0x388559(0x254)](q,{}):i['jsx'](Y,{}),_0x3e3882=d['useCallback'](()=>{_0x5c7da4&&_0x103654&&_0x103654();},[_0x5c7da4,_0x103654]);function _0x5454de(){const _0x390fd8=_0x388559;return i[_0x390fd8(0x24c)](_0x390fd8(0x2e2),{'className':f[_0x390fd8(0x300)](_0x390fd8(0x303),_0x5c7da4&&_0x103654&&_0x390fd8(0x2a8)),'role':_0x390fd8(0x292),'onClick':_0x5c7da4&&_0x103654?_0x3e3882:void 0x0,'children':[i['jsx'](_0x390fd8(0x2e2),{'className':f['clsx'](_0x390fd8(0x309),_0x66f05e),'children':_0x4b8794}),i[_0x390fd8(0x254)](_0x390fd8(0x2e2),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3eb035})]});}return i[_0x388559(0x254)](f['Tooltip'],{'title':_0x2220b1,'placement':_0x388559(0x365),'children':_0x5454de()});}var Ie=Object[_0x5f14e5(0x26f)],_e=(_0x4f6b39,_0x3bf8be,_0x547c50,_0x4712e0)=>{for(var _0x3b3ac0=_0x4712e0>0x1?void 0x0:_0x4712e0?Ie(_0x3bf8be,_0x547c50):_0x3bf8be,_0x4f2811=_0x4f6b39['length']-0x1,_0x27082f;_0x4f2811>=0x0;_0x4f2811--)(_0x27082f=_0x4f6b39[_0x4f2811])&&(_0x3b3ac0=_0x27082f(_0x3b3ac0)||_0x3b3ac0);return _0x3b3ac0;},N=(_0x71cfa8,_0x436f52)=>(_0x1b3e13,_0x2708f1)=>_0x436f52(_0x1b3e13,_0x2708f1,_0x71cfa8);exports['MCPConnectionUIController']=class extends u['Disposable']{constructor(_0x1399b8,_0x2d4733,_0x832208,_0x163175){const _0x22b6d5=_0x5f14e5;super(),this[_0x22b6d5(0x30b)]=_0x1399b8,this[_0x22b6d5(0x305)]=_0x2d4733,this[_0x22b6d5(0x324)]=_0x832208,this[_0x22b6d5(0x251)]=_0x163175,this[_0x22b6d5(0x2f9)](),this[_0x22b6d5(0x331)]();}[_0x5f14e5(0x2f9)](){const _0x59fdcb=_0x5f14e5,_0x2c4619=this[_0x59fdcb(0x251)]['getConfig'](P);_0x2c4619!=null&&_0x2c4619[_0x59fdcb(0x1f8)]&&(this[_0x59fdcb(0x305)][_0x59fdcb(0x36e)]=!0x1);}['_initStatusComponent'](){const _0x432fab=_0x5f14e5,_0x25f541=this[_0x432fab(0x251)][_0x432fab(0x33f)](P);(_0x25f541==null?void 0x0:_0x25f541[_0x432fab(0x2d9)])!==!0x1&&this[_0x432fab(0x24a)](this[_0x432fab(0x324)][_0x432fab(0x25a)](v[_0x432fab(0x31f)][_0x432fab(0x26b)],()=>{const _0x1ca329=_0x432fab;var _0x125847;return v['connectInjector'](ye({'status$':this[_0x1ca329(0x305)][_0x1ca329(0x237)],'error$':this['_connectionController'][_0x1ca329(0x334)],'onConfigure':()=>this[_0x1ca329(0x27a)](),'showClickable':(_0x125847=_0x25f541==null?void 0x0:_0x25f541[_0x1ca329(0x1f8)])!=null?_0x125847:!0x1}),this[_0x1ca329(0x30b)]);}));}[_0x5f14e5(0x27a)](){const _0x39b7d0=_0x5f14e5;this[_0x39b7d0(0x30b)]['get'](exports[_0x39b7d0(0x372)])[_0x39b7d0(0x35e)]();}},exports['MCPConnectionUIController']=_e([N(0x0,u[_0x5f14e5(0x371)](u[_0x5f14e5(0x2ae)])),N(0x1,u[_0x5f14e5(0x371)](s[_0x5f14e5(0x259)])),N(0x2,v[_0x5f14e5(0x264)]),N(0x3,u[_0x5f14e5(0x1f1)])],exports['MCPConnectionUIController']);function ye(_0x2ea8f4){const {status$:_0x195c3f,error$:_0x23b85a,onConfigure:_0x6ccc6e,showClickable:_0x4aa62f}=_0x2ea8f4;return function(){return i['jsx'](W,{'status$':_0x195c3f,'error$':_0x23b85a,'onConfigure':_0x6ccc6e,'showClickable':_0x4aa62f});};}function Me(_0x5ee0ba){const _0x180f72=_0x5f14e5;return{'id':b['id'],'type':v[_0x180f72(0x2f2)][_0x180f72(0x2ea)],'icon':_0x180f72(0x285),'title':_0x180f72(0x31d),'tooltip':_0x180f72(0x31d)};}const Ne={[v[_0x5f14e5(0x23b)][_0x5f14e5(0x30a)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x5f14e5(0x26f)],je=(_0x3d9a44,_0x394b25,_0x10359a,_0x336f7c)=>{for(var _0x2bbd30=_0x336f7c>0x1?void 0x0:_0x336f7c?be(_0x394b25,_0x10359a):_0x394b25,_0xcf2119=_0x3d9a44['length']-0x1,_0x27b7d9;_0xcf2119>=0x0;_0xcf2119--)(_0x27b7d9=_0x3d9a44[_0xcf2119])&&(_0x2bbd30=_0x27b7d9(_0x2bbd30)||_0x2bbd30);return _0x2bbd30;},z=(_0x21b504,_0x60aece)=>(_0x4ff5b8,_0x12095a)=>_0x60aece(_0x4ff5b8,_0x12095a,_0x21b504);exports[_0x5f14e5(0x35b)]=class extends u[_0x5f14e5(0x2de)]{constructor(_0x1d646d,_0x2c5e18){const _0x306f8c=_0x5f14e5;super(),this[_0x306f8c(0x34f)]=_0x1d646d,this[_0x306f8c(0x21c)]=_0x2c5e18,this[_0x306f8c(0x31e)](),this['_initializeMenus']();}[_0x5f14e5(0x31e)](){const _0x171ba7=_0x5f14e5;[b][_0x171ba7(0x314)](_0x242de3=>{const _0x270c24=_0x171ba7;this[_0x270c24(0x24a)](this[_0x270c24(0x34f)][_0x270c24(0x290)](_0x242de3));});}['_initializeMenus'](){const _0x2c3c2c=_0x5f14e5;this[_0x2c3c2c(0x21c)][_0x2c3c2c(0x1ea)](Ne);}},exports[_0x5f14e5(0x35b)]=je([z(0x0,u['ICommandService']),z(0x1,v[_0x5f14e5(0x25e)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':_0x5f14e5(0x306),'connecting':_0x5f14e5(0x2f4),'connected':_0x5f14e5(0x244),'failed':_0x5f14e5(0x2af),'retrying':'MCP\x20Retrying...','unknown':_0x5f14e5(0x369),'unauthorized':_0x5f14e5(0x213),'sessionOccupied':_0x5f14e5(0x1f7),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5f14e5(0x36c),'clickToConfigure':_0x5f14e5(0x26a)},'mcpConfig':{'title':_0x5f14e5(0x27b),'description':_0x5f14e5(0x321),'apiKey':_0x5f14e5(0x350),'apiKeyPlaceholder':_0x5f14e5(0x231),'apiKeyHint':_0x5f14e5(0x32b),'enableAuth':_0x5f14e5(0x345),'enableAuthHint':_0x5f14e5(0x318),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x5f14e5(0x21e),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x5f14e5(0x2f7),'configStep2':_0x5f14e5(0x357),'configStep3':_0x5f14e5(0x2be),'sessionId':_0x5f14e5(0x25f),'sessionIdDescription':_0x5f14e5(0x2bd),'authorizationDescription':_0x5f14e5(0x20e),'configParameters':_0x5f14e5(0x243),'maxRetries':_0x5f14e5(0x20d),'save':_0x5f14e5(0x1fe),'saving':_0x5f14e5(0x26d),'note1':_0x5f14e5(0x346),'note2':_0x5f14e5(0x209),'configSaved':_0x5f14e5(0x341),'configError':_0x5f14e5(0x268),'apiApplyInfo':{'title':_0x5f14e5(0x2c1),'description':_0x5f14e5(0x29e),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x5f14e5(0x252),'apiKeyTooShort':_0x5f14e5(0x24f),'invalidConfig':_0x5f14e5(0x2e6),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x5f14e5(0x28d),'connecting':_0x5f14e5(0x355),'connected':_0x5f14e5(0x1eb),'failed':_0x5f14e5(0x2e1),'retrying':_0x5f14e5(0x279)},'connectionError':{'unauthorized':_0x5f14e5(0x1ef),'sessionOccupied':_0x5f14e5(0x257),'networkError':_0x5f14e5(0x2b8),'maxRetriesExceeded':_0x5f14e5(0x2d1)}}},we={'mcpStatus':{'disconnected':_0x5f14e5(0x2ca),'connecting':_0x5f14e5(0x2c6),'connected':_0x5f14e5(0x211),'failed':_0x5f14e5(0x358),'retrying':_0x5f14e5(0x273),'unknown':_0x5f14e5(0x1f5),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x5f14e5(0x233),'networkError':_0x5f14e5(0x256),'maxRetriesExceeded':_0x5f14e5(0x229),'clickToConnect':_0x5f14e5(0x31a),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x5f14e5(0x2e0),'description':_0x5f14e5(0x1ed),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x5f14e5(0x207),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x5f14e5(0x271),'mcpClientConfig':_0x5f14e5(0x271),'configInstructions':_0x5f14e5(0x2ac),'configStepTitle':'配置步骤:','configStep1':_0x5f14e5(0x2b3),'configStep2':_0x5f14e5(0x20f),'configStep3':_0x5f14e5(0x36d),'sessionId':'会话ID','sessionIdDescription':_0x5f14e5(0x298),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x5f14e5(0x217),'maxRetries':_0x5f14e5(0x2f3),'save':_0x5f14e5(0x2cc),'saving':_0x5f14e5(0x2b0),'note1':'配置更改将立即生效','note2':_0x5f14e5(0x248),'configSaved':'配置保存成功','configError':_0x5f14e5(0x322),'apiApplyInfo':{'title':_0x5f14e5(0x2e8),'description':_0x5f14e5(0x291),'univerAiLabel':_0x5f14e5(0x210),'getStarted':_0x5f14e5(0x2a3)},'validation':{'apiKeyRequired':_0x5f14e5(0x23e),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x5f14e5(0x2d0),'invalidApiKey':_0x5f14e5(0x23f)},'connectionStatus':{'disconnected':_0x5f14e5(0x2e5),'connecting':_0x5f14e5(0x33b),'connected':_0x5f14e5(0x2ee),'failed':_0x5f14e5(0x2d4),'retrying':_0x5f14e5(0x2a2)},'connectionError':{'unauthorized':_0x5f14e5(0x33e),'sessionOccupied':_0x5f14e5(0x328),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x5f14e5(0x2db)}}};function _0x1d93(_0x5f4007,_0x14ae38){const _0xbf3a28=_0xbf3a();return _0x1d93=function(_0x1d9359,_0x1eadb3){_0x1d9359=_0x1d9359-0x1e4;let _0x415e12=_0xbf3a28[_0x1d9359];return _0x415e12;},_0x1d93(_0x5f4007,_0x14ae38);}var Ae=Object[_0x5f14e5(0x1e8)],Oe=Object[_0x5f14e5(0x26f)],De=(_0x40003a,_0x3f1ff6,_0x25a38d)=>_0x3f1ff6 in _0x40003a?Ae(_0x40003a,_0x3f1ff6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25a38d}):_0x40003a[_0x3f1ff6]=_0x25a38d,Ue=(_0x3e01e3,_0x6673d8,_0x15c720,_0x4d8ff1)=>{const _0x288e72=_0x5f14e5;for(var _0x1b4ec1=_0x4d8ff1>0x1?void 0x0:_0x4d8ff1?Oe(_0x6673d8,_0x15c720):_0x6673d8,_0x285d8a=_0x3e01e3[_0x288e72(0x2a4)]-0x1,_0x28f71b;_0x285d8a>=0x0;_0x285d8a--)(_0x28f71b=_0x3e01e3[_0x285d8a])&&(_0x1b4ec1=_0x28f71b(_0x1b4ec1)||_0x1b4ec1);return _0x1b4ec1;},y=(_0x432390,_0x44cb44)=>(_0x300847,_0xdb9d87)=>_0x44cb44(_0x300847,_0xdb9d87,_0x432390),$e=(_0x71f637,_0xb5ee4,_0xea4c5a)=>De(_0x71f637,_0xb5ee4+'',_0xea4c5a);exports[_0x5f14e5(0x34b)]=class extends u['Plugin']{constructor(_0x2265c3=L,_0x294fd1,_0x4ccc5d,_0x61229b,_0x22a2e5,_0x3a63c9){const _0xc152e1=_0x5f14e5;super(),this[_0xc152e1(0x33d)]=_0x2265c3,this[_0xc152e1(0x30b)]=_0x294fd1,this['_configService']=_0x4ccc5d,this['_uiPartsService']=_0x61229b,this['_localStorageService']=_0x22a2e5,this[_0xc152e1(0x32a)]=_0x3a63c9;const {..._0x1feb10}=u[_0xc152e1(0x250)]({},L,this[_0xc152e1(0x33d)]);this['_configService'][_0xc152e1(0x219)](P,_0x1feb10);}async[_0x5f14e5(0x2c8)](){const _0xb3a630=_0x5f14e5,_0x47195a=[[exports[_0xb3a630(0x28c)]],[exports[_0xb3a630(0x372)]],[exports[_0xb3a630(0x35b)]]];this[_0xb3a630(0x30b)][_0xb3a630(0x2c2)](A['ISocketService'])||_0x47195a[_0xb3a630(0x289)]([A['ISocketService'],{'useClass':A[_0xb3a630(0x28b)]}]),_0x47195a[_0xb3a630(0x314)](_0x183a52=>this[_0xb3a630(0x30b)]['add'](_0x183a52)),this[_0xb3a630(0x30b)][_0xb3a630(0x1f0)](exports[_0xb3a630(0x28c)]),this[_0xb3a630(0x30b)]['get'](exports[_0xb3a630(0x372)]),this[_0xb3a630(0x30b)][_0xb3a630(0x1f0)](exports[_0xb3a630(0x35b)]);}},$e(exports[_0x5f14e5(0x34b)],_0x5f14e5(0x205),_0x5f14e5(0x245)),exports['UniverMCPUIPlugin']=Ue([u[_0x5f14e5(0x239)](s[_0x5f14e5(0x276)]),y(0x1,u[_0x5f14e5(0x371)](u['Injector'])),y(0x2,u[_0x5f14e5(0x1f1)]),y(0x3,v[_0x5f14e5(0x264)]),y(0x4,u['ILocalStorageService']),y(0x5,u[_0x5f14e5(0x371)](u[_0x5f14e5(0x21b)]))],exports[_0x5f14e5(0x34b)]),exports[_0x5f14e5(0x2f0)]=V,exports[_0x5f14e5(0x227)]=W,exports[_0x5f14e5(0x362)]=b,exports[_0x5f14e5(0x323)]=Ee,exports[_0x5f14e5(0x23d)]=we;
@@ -1 +1 @@
1
- 'use strict';const _0x12a0d7=_0x2cd3;(function(_0x1bc937,_0x316ae3){const _0x37b0e1=_0x2cd3,_0x4bb044=_0x1bc937();while(!![]){try{const _0x122cc0=-parseInt(_0x37b0e1(0x11d))/0x1+-parseInt(_0x37b0e1(0x120))/0x2+parseInt(_0x37b0e1(0x127))/0x3*(-parseInt(_0x37b0e1(0x136))/0x4)+-parseInt(_0x37b0e1(0x124))/0x5*(parseInt(_0x37b0e1(0x126))/0x6)+-parseInt(_0x37b0e1(0x116))/0x7*(-parseInt(_0x37b0e1(0x109))/0x8)+-parseInt(_0x37b0e1(0x12e))/0x9*(parseInt(_0x37b0e1(0x119))/0xa)+parseInt(_0x37b0e1(0x130))/0xb;if(_0x122cc0===_0x316ae3)break;else _0x4bb044['push'](_0x4bb044['shift']());}catch(_0x1f3710){_0x4bb044['push'](_0x4bb044['shift']());}}}(_0x357f,0xd9ecf));function _0x357f(){const _0x37abe3=['Max\x20Retries','27ZNfibX','Failed\x20to\x20save\x20configuration','34913417ohFZLK','exports','MCP\x20Disconnected','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','84jOFHqy','Configuration\x20Parameters:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','388328bYszFA','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized','Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','Connection\x20Failed','Univer\x20AI\x20Console','MCP\x20Connecting...','Retrying...','MCP:\x20Network\x20Error','217ZhUeoV','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key','4102580HTdtlD','MCP\x20Connection\x20Failed','MCP\x20Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1668586jGiHvX','Save\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','144076yASvTx','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','5605pcXCbK','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2238ApZPKN','56652FdSLKM','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20saved\x20successfully','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Client\x20Configuration'];_0x357f=function(){return _0x37abe3;};return _0x357f();}function _0x2cd3(_0x3e65a9,_0x2eb2e3){const _0x357fad=_0x357f();return _0x2cd3=function(_0x2cd3a6,_0x53b827){_0x2cd3a6=_0x2cd3a6-0x107;let _0x2723b1=_0x357fad[_0x2cd3a6];return _0x2723b1;},_0x2cd3(_0x3e65a9,_0x2eb2e3);}const e={'mcpStatus':{'disconnected':_0x12a0d7(0x132),'connecting':_0x12a0d7(0x113),'connected':_0x12a0d7(0x135),'failed':_0x12a0d7(0x11a),'retrying':_0x12a0d7(0x11b),'unknown':_0x12a0d7(0x123),'unauthorized':_0x12a0d7(0x10d),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x12a0d7(0x115),'maxRetriesExceeded':_0x12a0d7(0x122),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x12a0d7(0x117),'apiKey':_0x12a0d7(0x118),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x12a0d7(0x10a),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x12a0d7(0x10f),'connectionInfo':_0x12a0d7(0x12c),'mcpClientConfig':_0x12a0d7(0x12c),'configInstructions':_0x12a0d7(0x125),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x12a0d7(0x121),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x12a0d7(0x110),'sessionIdDescription':_0x12a0d7(0x11c),'authorizationDescription':_0x12a0d7(0x134),'configParameters':_0x12a0d7(0x107),'maxRetries':_0x12a0d7(0x12d),'save':_0x12a0d7(0x11e),'saving':_0x12a0d7(0x133),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x12a0d7(0x12a),'configError':_0x12a0d7(0x12f),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x12a0d7(0x12b),'univerAiLabel':_0x12a0d7(0x112),'getStarted':_0x12a0d7(0x10c)},'validation':{'apiKeyRequired':_0x12a0d7(0x10b),'apiKeyTooShort':_0x12a0d7(0x129),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x12a0d7(0x11f)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x12a0d7(0x10e),'connected':'Connected','failed':_0x12a0d7(0x111),'retrying':_0x12a0d7(0x114)},'connectionError':{'unauthorized':_0x12a0d7(0x108),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x12a0d7(0x128),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x12a0d7(0x131)]=n;
1
+ 'use strict';const _0x465cf9=_0x4624;(function(_0x343d12,_0xe1f74d){const _0x568dcf=_0x4624,_0x72cb7c=_0x343d12();while(!![]){try{const _0x3d1c76=parseInt(_0x568dcf(0x1a9))/0x1+parseInt(_0x568dcf(0x1aa))/0x2*(-parseInt(_0x568dcf(0x19e))/0x3)+-parseInt(_0x568dcf(0x1d3))/0x4+parseInt(_0x568dcf(0x1be))/0x5*(-parseInt(_0x568dcf(0x1a3))/0x6)+parseInt(_0x568dcf(0x1c1))/0x7*(-parseInt(_0x568dcf(0x19f))/0x8)+parseInt(_0x568dcf(0x1cd))/0x9+parseInt(_0x568dcf(0x1c6))/0xa*(parseInt(_0x568dcf(0x1b5))/0xb);if(_0x3d1c76===_0xe1f74d)break;else _0x72cb7c['push'](_0x72cb7c['shift']());}catch(_0x22cd21){_0x72cb7c['push'](_0x72cb7c['shift']());}}}(_0xc231,0x93698));function _0xc231(){const _0xcf105b=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Unauthorized','294QjaQch','4200DAbEIO','Configuration\x20Parameters:','Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','3208836xeGDDQ','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20configuration','311789GDVvlk','18926DFSVrG','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Steps:','MCP:\x20Session\x20ID\x20Occupied','exports','Disconnected','77gnTVUO','MCP\x20Unknown\x20Status','API\x20Key','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','MCP:\x20Network\x20Error','Save\x20Configuration','5lIlhvx','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','5880ouOJnh','MCP\x20Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','4051330wnTuHh','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','4022397bineYe','Connection\x20Failed','Session\x20ID','MCP\x20Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','4350692jiObpl'];_0xc231=function(){return _0xcf105b;};return _0xc231();}const e={'mcpStatus':{'disconnected':_0x465cf9(0x1ac),'connecting':'MCP\x20Connecting...','connected':_0x465cf9(0x1d0),'failed':_0x465cf9(0x1c2),'retrying':_0x465cf9(0x1c0),'unknown':_0x465cf9(0x1b6),'unauthorized':_0x465cf9(0x19d),'sessionOccupied':_0x465cf9(0x1b2),'networkError':_0x465cf9(0x1bc),'maxRetriesExceeded':_0x465cf9(0x1c5),'clickToConnect':_0x465cf9(0x1cc),'clickToConfigure':_0x465cf9(0x1a6)},'mcpConfig':{'title':_0x465cf9(0x1c8),'description':_0x465cf9(0x1c3),'apiKey':_0x465cf9(0x1b7),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x465cf9(0x1bf),'enableAuth':_0x465cf9(0x1cb),'enableAuthHint':_0x465cf9(0x1ad),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x465cf9(0x1b8),'configInstructions':_0x465cf9(0x1a7),'configStepTitle':_0x465cf9(0x1b1),'configStep1':_0x465cf9(0x1ab),'configStep2':_0x465cf9(0x1b0),'configStep3':_0x465cf9(0x1b9),'sessionId':_0x465cf9(0x1cf),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x465cf9(0x1c9),'configParameters':_0x465cf9(0x1a0),'maxRetries':'Max\x20Retries','save':_0x465cf9(0x1bd),'saving':'Saving...','note1':_0x465cf9(0x1ca),'note2':_0x465cf9(0x19c),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x465cf9(0x1bb),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x465cf9(0x1a2),'univerAiLabel':_0x465cf9(0x1c4),'getStarted':_0x465cf9(0x1d1)},'validation':{'apiKeyRequired':_0x465cf9(0x1ae),'apiKeyTooShort':_0x465cf9(0x1a4),'invalidConfig':_0x465cf9(0x1a8),'invalidApiKey':_0x465cf9(0x1a5)},'connectionStatus':{'disconnected':_0x465cf9(0x1b4),'connecting':'Connecting...','connected':'Connected','failed':_0x465cf9(0x1ce),'retrying':_0x465cf9(0x1a1)},'connectionError':{'unauthorized':_0x465cf9(0x1d2),'sessionOccupied':_0x465cf9(0x1ba),'networkError':_0x465cf9(0x1c7),'maxRetriesExceeded':_0x465cf9(0x1af)}}},n=e;function _0x4624(_0xbe4518,_0x30bdbe){const _0xc2314a=_0xc231();return _0x4624=function(_0x4624b6,_0x36020d){_0x4624b6=_0x4624b6-0x19c;let _0x3427d0=_0xc2314a[_0x4624b6];return _0x3427d0;},_0x4624(_0xbe4518,_0x30bdbe);}module[_0x465cf9(0x1b3)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x252710=_0x12df;function _0x12df(_0x3570d4,_0x5d6bb0){const _0x457111=_0x4571();return _0x12df=function(_0x12df81,_0x5331e3){_0x12df81=_0x12df81-0x75;let _0x22c088=_0x457111[_0x12df81];return _0x22c088;},_0x12df(_0x3570d4,_0x5d6bb0);}(function(_0x5908d6,_0x497c07){const _0x32b435=_0x12df,_0x40adee=_0x5908d6();while(!![]){try{const _0x599bb6=-parseInt(_0x32b435(0x8a))/0x1*(-parseInt(_0x32b435(0x8d))/0x2)+-parseInt(_0x32b435(0x8b))/0x3+-parseInt(_0x32b435(0x98))/0x4+parseInt(_0x32b435(0x83))/0x5+parseInt(_0x32b435(0x7b))/0x6+-parseInt(_0x32b435(0x90))/0x7*(-parseInt(_0x32b435(0x88))/0x8)+-parseInt(_0x32b435(0x97))/0x9;if(_0x599bb6===_0x497c07)break;else _0x40adee['push'](_0x40adee['shift']());}catch(_0x72ff03){_0x40adee['push'](_0x40adee['shift']());}}}(_0x4571,0xf214f));function _0x4571(){const _0x50c729=['Connecting...','MCP\x20Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20Authentication','Connection\x20Failed','API\x20Key','Retrying...','9269604enZTPY','Failed\x20to\x20save\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enter\x20your\x20API\x20key','MCP\x20Connection\x20Failed','Saving...','Click\x20to\x20connect\x20MCP','MCP:\x20Network\x20Error','847360bMfsqb','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20with\x20Bearer\x20prefix.','Session\x20ID','MCP\x20Configuration','74528iFGzLd','Copy\x20the\x20JSON\x20configuration\x20below','1KlLJlj','4418652IkRiuD','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','3886054bnbnqW','What\x20is\x20API\x20Key?','MCP:\x20Unauthorized','546DVbipI','Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20is\x20required','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1674333OnoqdO','6934372sgdEve','Save\x20Configuration','MCP\x20Connected','Configuration\x20Parameters:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x4571=function(){return _0x50c729;};return _0x4571();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x252710(0x9a),'failed':_0x252710(0x7f),'retrying':_0x252710(0xa2),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x252710(0x8f),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x252710(0x82),'maxRetriesExceeded':_0x252710(0x84),'clickToConnect':_0x252710(0x81),'clickToConfigure':_0x252710(0x9e)},'mcpConfig':{'title':_0x252710(0x87),'description':_0x252710(0x96),'apiKey':_0x252710(0x79),'apiKeyPlaceholder':_0x252710(0x7e),'apiKeyHint':_0x252710(0x92),'enableAuth':_0x252710(0x77),'enableAuthHint':_0x252710(0x9f),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x252710(0x8c),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x252710(0x89),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x252710(0x9d),'sessionId':_0x252710(0x86),'sessionIdDescription':_0x252710(0x75),'authorizationDescription':_0x252710(0x85),'configParameters':_0x252710(0x9b),'maxRetries':'Max\x20Retries','save':_0x252710(0x99),'saving':_0x252710(0x80),'note1':_0x252710(0xa0),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x252710(0x7c),'apiApplyInfo':{'title':_0x252710(0x8e),'description':_0x252710(0x93),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x252710(0xa3)},'validation':{'apiKeyRequired':_0x252710(0x95),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x252710(0x9c)},'connectionStatus':{'disconnected':_0x252710(0x91),'connecting':_0x252710(0xa1),'connected':'Connected','failed':_0x252710(0x78),'retrying':_0x252710(0x7a)},'connectionError':{'unauthorized':_0x252710(0x7d),'sessionOccupied':_0x252710(0x94),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x252710(0x76)}}};module['exports']=e;
1
+ 'use strict';const _0x18df21=_0x5b34;function _0x5b34(_0x4f74ce,_0x2bebfc){const _0xfee6f0=_0xfee6();return _0x5b34=function(_0x5b3463,_0x1b1e01){_0x5b3463=_0x5b3463-0x1ac;let _0x117716=_0xfee6f0[_0x5b3463];return _0x117716;},_0x5b34(_0x4f74ce,_0x2bebfc);}function _0xfee6(){const _0x3c3340=['Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','Univer\x20AI\x20Console','27cySIoe','MCP\x20Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','699896fRPdqO','Click\x20to\x20configure\x20MCP','92212THKWdx','exports','661152PIZfau','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','Retrying...','Click\x20to\x20connect\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3297SaoWkW','Connection\x20Failed','Session\x20ID','4260ZKtNqM','Connected','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Save\x20Configuration','15goSfEH','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Parameters:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Disconnected','MCP\x20Disconnected','MCP\x20Configuration','MCP\x20Client\x20Configuration','MCP\x20Retrying...','Configuration\x20saved\x20successfully','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','What\x20is\x20API\x20Key?','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','5446390ALExra','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Failed\x20to\x20save\x20configuration','230001mSlMas','Copy\x20the\x20JSON\x20configuration\x20below','API\x20Key','87428QMQvAC','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status'];_0xfee6=function(){return _0x3c3340;};return _0xfee6();}(function(_0x50164a,_0x255ea3){const _0x465067=_0x5b34,_0x2543c9=_0x50164a();while(!![]){try{const _0x27c276=parseInt(_0x465067(0x1d7))/0x1+-parseInt(_0x465067(0x1d9))/0x2+-parseInt(_0x465067(0x1c8))/0x3+parseInt(_0x465067(0x1cb))/0x4*(parseInt(_0x465067(0x1b6))/0x5)+parseInt(_0x465067(0x1b1))/0x6*(-parseInt(_0x465067(0x1ae))/0x7)+parseInt(_0x465067(0x1d5))/0x8*(parseInt(_0x465067(0x1d2))/0x9)+parseInt(_0x465067(0x1c5))/0xa;if(_0x27c276===_0x255ea3)break;else _0x2543c9['push'](_0x2543c9['shift']());}catch(_0x50d56b){_0x2543c9['push'](_0x2543c9['shift']());}}}(_0xfee6,0x367fe));const e={'mcpStatus':{'disconnected':_0x18df21(0x1bd),'connecting':_0x18df21(0x1d3),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x18df21(0x1c0),'unknown':_0x18df21(0x1ce),'unauthorized':_0x18df21(0x1b8),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x18df21(0x1d0),'clickToConnect':_0x18df21(0x1dd),'clickToConfigure':_0x18df21(0x1d6)},'mcpConfig':{'title':_0x18df21(0x1be),'description':_0x18df21(0x1cd),'apiKey':_0x18df21(0x1ca),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x18df21(0x1ad),'enableAuth':_0x18df21(0x1b3),'enableAuthHint':_0x18df21(0x1d4),'connectionInfo':_0x18df21(0x1bf),'mcpClientConfig':_0x18df21(0x1bf),'configInstructions':_0x18df21(0x1cf),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x18df21(0x1c9),'configStep2':_0x18df21(0x1c2),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x18df21(0x1b0),'sessionIdDescription':_0x18df21(0x1bb),'authorizationDescription':_0x18df21(0x1b9),'configParameters':_0x18df21(0x1ba),'maxRetries':'Max\x20Retries','save':_0x18df21(0x1b5),'saving':'Saving...','note1':_0x18df21(0x1ac),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x18df21(0x1c1),'configError':_0x18df21(0x1c7),'apiApplyInfo':{'title':_0x18df21(0x1c3),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x18df21(0x1d1),'getStarted':_0x18df21(0x1da)},'validation':{'apiKeyRequired':_0x18df21(0x1db),'apiKeyTooShort':_0x18df21(0x1c6),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x18df21(0x1bc),'connecting':'Connecting...','connected':_0x18df21(0x1b2),'failed':_0x18df21(0x1af),'retrying':_0x18df21(0x1dc)},'connectionError':{'unauthorized':_0x18df21(0x1cc),'sessionOccupied':_0x18df21(0x1b4),'networkError':_0x18df21(0x1c4),'maxRetriesExceeded':_0x18df21(0x1b7)}}};module[_0x18df21(0x1d8)]=e;
@@ -1 +1 @@
1
- 'use strict';function _0x42f0(){const _0x991082=['Configuration\x20Steps:','512EsYFMN','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Parameters:','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','10SrgINQ','1285556ZqJMDJ','509766aJEFFK','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','Disconnected','Saving...','MCP\x20Disconnected','55153ptVuxq','Save\x20Configuration','MCP\x20Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','20846520sSeXTi','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3GmxczC','MCP\x20Connection\x20Failed','Connecting...','MCP\x20Connecting...','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','6975551UVYhVa','16480ppjLtB','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Max\x20Retries','Retrying...','15gVxQsm','Invalid\x20configuration','4698252qJEPjN','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','40hVeMEg','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','exports','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','Session\x20ID','MCP\x20Connected','Univer\x20AI\x20Console'];_0x42f0=function(){return _0x991082;};return _0x42f0();}const _0x5b4b25=_0x5394;(function(_0x202d6b,_0x4c03b4){const _0x9f77d0=_0x5394,_0x794baa=_0x202d6b();while(!![]){try{const _0x4dfab2=parseInt(_0x9f77d0(0x1f2))/0x1*(parseInt(_0x9f77d0(0x1fb))/0x2)+-parseInt(_0x9f77d0(0x1eb))/0x3*(parseInt(_0x9f77d0(0x1da))/0x4)+parseInt(_0x9f77d0(0x1f6))/0x5*(parseInt(_0x9f77d0(0x1db))/0x6)+parseInt(_0x9f77d0(0x1e2))/0x7*(-parseInt(_0x9f77d0(0x1d3))/0x8)+-parseInt(_0x9f77d0(0x1f8))/0x9*(parseInt(_0x9f77d0(0x1d9))/0xa)+-parseInt(_0x9f77d0(0x1f1))/0xb+parseInt(_0x9f77d0(0x1e9))/0xc;if(_0x4dfab2===_0x4c03b4)break;else _0x794baa['push'](_0x794baa['shift']());}catch(_0x1d6c69){_0x794baa['push'](_0x794baa['shift']());}}}(_0x42f0,0x52fa7));function _0x5394(_0x3ada74,_0x5a1693){const _0x42f001=_0x42f0();return _0x5394=function(_0x539443,_0x34e415){_0x539443=_0x539443-0x1c8;let _0x2645bf=_0x42f001[_0x539443];return _0x2645bf;},_0x5394(_0x3ada74,_0x5a1693);}const e={'mcpStatus':{'disconnected':_0x5b4b25(0x1e1),'connecting':_0x5b4b25(0x1ee),'connected':_0x5b4b25(0x1d0),'failed':_0x5b4b25(0x1ec),'retrying':_0x5b4b25(0x1e4),'unknown':_0x5b4b25(0x1d7),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5b4b25(0x1d6),'maxRetriesExceeded':_0x5b4b25(0x1f0),'clickToConnect':_0x5b4b25(0x1cd),'clickToConfigure':_0x5b4b25(0x1de)},'mcpConfig':{'title':_0x5b4b25(0x1ef),'description':_0x5b4b25(0x1d8),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5b4b25(0x1ca),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x5b4b25(0x1dd),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5b4b25(0x1fa),'configStepTitle':_0x5b4b25(0x1d2),'configStep1':_0x5b4b25(0x1d4),'configStep2':_0x5b4b25(0x1ea),'configStep3':_0x5b4b25(0x1f3),'sessionId':_0x5b4b25(0x1cf),'sessionIdDescription':_0x5b4b25(0x1e6),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5b4b25(0x1d5),'maxRetries':_0x5b4b25(0x1f4),'save':_0x5b4b25(0x1e3),'saving':_0x5b4b25(0x1e0),'note1':_0x5b4b25(0x1e8),'note2':_0x5b4b25(0x1f9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5b4b25(0x1cc),'apiApplyInfo':{'title':_0x5b4b25(0x1ce),'description':_0x5b4b25(0x1e5),'univerAiLabel':_0x5b4b25(0x1d1),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5b4b25(0x1f7),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x5b4b25(0x1df),'connecting':_0x5b4b25(0x1ed),'connected':'Connected','failed':_0x5b4b25(0x1e7),'retrying':_0x5b4b25(0x1f5)},'connectionError':{'unauthorized':_0x5b4b25(0x1dc),'sessionOccupied':_0x5b4b25(0x1cb),'networkError':_0x5b4b25(0x1c8),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x5b4b25(0x1c9)]=n;
1
+ 'use strict';const _0x2d3e73=_0x140d;function _0x140d(_0x1a0e55,_0x3972dc){const _0x37c4ff=_0x37c4();return _0x140d=function(_0x140d40,_0x1befbe){_0x140d40=_0x140d40-0x102;let _0x18ee0d=_0x37c4ff[_0x140d40];return _0x18ee0d;},_0x140d(_0x1a0e55,_0x3972dc);}(function(_0x29fe90,_0x21fed3){const _0x5546d9=_0x140d,_0xbfe333=_0x29fe90();while(!![]){try{const _0x39b059=-parseInt(_0x5546d9(0x10d))/0x1+parseInt(_0x5546d9(0x106))/0x2*(-parseInt(_0x5546d9(0x126))/0x3)+-parseInt(_0x5546d9(0x122))/0x4*(-parseInt(_0x5546d9(0x12e))/0x5)+parseInt(_0x5546d9(0x136))/0x6*(-parseInt(_0x5546d9(0x115))/0x7)+parseInt(_0x5546d9(0x123))/0x8+parseInt(_0x5546d9(0x10e))/0x9+parseInt(_0x5546d9(0x128))/0xa*(-parseInt(_0x5546d9(0x12a))/0xb);if(_0x39b059===_0x21fed3)break;else _0xbfe333['push'](_0xbfe333['shift']());}catch(_0xb9fe70){_0xbfe333['push'](_0xbfe333['shift']());}}}(_0x37c4,0x20e84));function _0x37c4(){const _0x43febd=['21043yTxrkb','MCP\x20Unknown\x20Status','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','10tzBYCv','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20Key','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','54TewxpK','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enable\x20Authentication','MCP\x20Client\x20Configuration','10YqaWVE','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Max\x20Retries','MCP:\x20Unauthorized','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Get\x20your\x20API\x20key\x20in\x20seconds','Connected','184232gAjMrX','2201472TINZNL','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','Connection\x20Failed','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','What\x20is\x20API\x20Key?','MCP\x20Retrying...','87850cNFZQO','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Network\x20Error','Save\x20Configuration','MCP\x20Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','Configuration\x20Steps:','exports','Configuration\x20Parameters:','Saving...','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','481636UJFWna','1338488DLQXwc','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Session\x20ID\x20Occupied','30306uJHbuk','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','890uUwRfP','Univer\x20AI\x20Console'];_0x37c4=function(){return _0x43febd;};return _0x37c4();}const e={'mcpStatus':{'disconnected':_0x2d3e73(0x119),'connecting':_0x2d3e73(0x11b),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x2d3e73(0x114),'unknown':_0x2d3e73(0x12b),'unauthorized':_0x2d3e73(0x109),'sessionOccupied':_0x2d3e73(0x125),'networkError':_0x2d3e73(0x117),'maxRetriesExceeded':_0x2d3e73(0x121),'clickToConnect':_0x2d3e73(0x10f),'clickToConfigure':_0x2d3e73(0x110)},'mcpConfig':{'title':_0x2d3e73(0x102),'description':_0x2d3e73(0x124),'apiKey':_0x2d3e73(0x133),'apiKeyPlaceholder':_0x2d3e73(0x134),'apiKeyHint':_0x2d3e73(0x135),'enableAuth':_0x2d3e73(0x104),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2d3e73(0x105),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2d3e73(0x11c),'configStep1':_0x2d3e73(0x120),'configStep2':_0x2d3e73(0x107),'configStep3':_0x2d3e73(0x127),'sessionId':_0x2d3e73(0x130),'sessionIdDescription':_0x2d3e73(0x112),'authorizationDescription':_0x2d3e73(0x116),'configParameters':_0x2d3e73(0x11e),'maxRetries':_0x2d3e73(0x108),'save':_0x2d3e73(0x118),'saving':_0x2d3e73(0x11f),'note1':_0x2d3e73(0x10a),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x2d3e73(0x12d),'apiApplyInfo':{'title':_0x2d3e73(0x113),'description':_0x2d3e73(0x132),'univerAiLabel':_0x2d3e73(0x129),'getStarted':_0x2d3e73(0x10b)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2d3e73(0x137),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x2d3e73(0x10c),'failed':_0x2d3e73(0x111),'retrying':_0x2d3e73(0x131)},'connectionError':{'unauthorized':_0x2d3e73(0x103),'sessionOccupied':_0x2d3e73(0x12c),'networkError':_0x2d3e73(0x11a),'maxRetriesExceeded':_0x2d3e73(0x12f)}}},n=e;module[_0x2d3e73(0x11d)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x5a07fb=_0xc7a4;(function(_0x3fcaa6,_0x1e7d92){const _0x45f38f=_0xc7a4,_0x24e6ec=_0x3fcaa6();while(!![]){try{const _0x81977a=parseInt(_0x45f38f(0xcc))/0x1+-parseInt(_0x45f38f(0xd6))/0x2*(-parseInt(_0x45f38f(0xdd))/0x3)+-parseInt(_0x45f38f(0xe6))/0x4*(-parseInt(_0x45f38f(0xda))/0x5)+parseInt(_0x45f38f(0xd5))/0x6*(-parseInt(_0x45f38f(0xee))/0x7)+parseInt(_0x45f38f(0xe2))/0x8+parseInt(_0x45f38f(0xc8))/0x9+-parseInt(_0x45f38f(0xd0))/0xa;if(_0x81977a===_0x1e7d92)break;else _0x24e6ec['push'](_0x24e6ec['shift']());}catch(_0x2b21e9){_0x24e6ec['push'](_0x24e6ec['shift']());}}}(_0x10e7,0x90985));function _0xc7a4(_0x10e66d,_0x1fa68c){const _0x10e70e=_0x10e7();return _0xc7a4=function(_0xc7a4a1,_0x19917c){_0xc7a4a1=_0xc7a4a1-0xc3;let _0xe7aea0=_0x10e70e[_0xc7a4a1];return _0xe7aea0;},_0xc7a4(_0x10e66d,_0x1fa68c);}function _0x10e7(){const _0x3a81ae=['114678PLEbkE','Configuration\x20saved\x20successfully','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','4809960BXuRmJ','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','774692wrNpUl','Failed\x20to\x20save\x20configuration','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','Connected','1845711wDTYpc','MCP\x20Connected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Disconnected','MCP\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Retrying...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Session\x20ID','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','MCP:\x20Max\x20Retries\x20Exceeded','1208214bRYcwG','Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Univer\x20AI\x20Console','1016052SjlfBu','Connecting...','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20configure\x20MCP','15479940wSxMxg','MCP\x20Retrying...','MCP:\x20Network\x20Error','Max\x20Retries','MCP\x20Connecting...','6WlxjHA','24BubygW','Saving...','Configuration\x20Parameters:','Invalid\x20configuration','5yjjvat','Save\x20Configuration','Click\x20to\x20connect\x20MCP'];_0x10e7=function(){return _0x3a81ae;};return _0x10e7();}const e={'mcpStatus':{'disconnected':_0x5a07fb(0xe9),'connecting':_0x5a07fb(0xd4),'connected':_0x5a07fb(0xef),'failed':_0x5a07fb(0xec),'retrying':_0x5a07fb(0xd1),'unknown':_0x5a07fb(0xf7),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5a07fb(0xe8),'networkError':_0x5a07fb(0xd2),'maxRetriesExceeded':_0x5a07fb(0xc7),'clickToConnect':_0x5a07fb(0xdc),'clickToConfigure':_0x5a07fb(0xcf)},'mcpConfig':{'title':_0x5a07fb(0xf2),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5a07fb(0xe4),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5a07fb(0xf6),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5a07fb(0xf8),'mcpClientConfig':_0x5a07fb(0xf8),'configInstructions':_0x5a07fb(0xc3),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x5a07fb(0xe0),'configStep2':_0x5a07fb(0xca),'configStep3':_0x5a07fb(0xf5),'sessionId':_0x5a07fb(0xc4),'sessionIdDescription':_0x5a07fb(0xe1),'authorizationDescription':_0x5a07fb(0xce),'configParameters':_0x5a07fb(0xd8),'maxRetries':_0x5a07fb(0xd3),'save':_0x5a07fb(0xdb),'saving':_0x5a07fb(0xd7),'note1':_0x5a07fb(0xc5),'note2':_0x5a07fb(0xf3),'configSaved':_0x5a07fb(0xde),'configError':_0x5a07fb(0xe7),'apiApplyInfo':{'title':_0x5a07fb(0xc6),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x5a07fb(0xcb),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x5a07fb(0xeb),'apiKeyTooShort':_0x5a07fb(0xe3),'invalidConfig':_0x5a07fb(0xd9),'invalidApiKey':_0x5a07fb(0xdf)},'connectionStatus':{'disconnected':_0x5a07fb(0xf1),'connecting':_0x5a07fb(0xcd),'connected':_0x5a07fb(0xed),'failed':_0x5a07fb(0xc9),'retrying':_0x5a07fb(0xf4)},'connectionError':{'unauthorized':_0x5a07fb(0xf0),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5a07fb(0xea),'maxRetriesExceeded':_0x5a07fb(0xe5)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x2d756d=_0xe9ef;(function(_0x31776b,_0x2bafe0){const _0x474b2c=_0xe9ef,_0x3355f5=_0x31776b();while(!![]){try{const _0x354f6e=-parseInt(_0x474b2c(0x8a))/0x1+parseInt(_0x474b2c(0xa3))/0x2+parseInt(_0x474b2c(0x7f))/0x3*(parseInt(_0x474b2c(0x9e))/0x4)+parseInt(_0x474b2c(0x87))/0x5*(-parseInt(_0x474b2c(0x8e))/0x6)+parseInt(_0x474b2c(0xa6))/0x7*(-parseInt(_0x474b2c(0x84))/0x8)+-parseInt(_0x474b2c(0x86))/0x9+-parseInt(_0x474b2c(0x80))/0xa*(-parseInt(_0x474b2c(0x8b))/0xb);if(_0x354f6e===_0x2bafe0)break;else _0x3355f5['push'](_0x3355f5['shift']());}catch(_0x111d70){_0x3355f5['push'](_0x3355f5['shift']());}}}(_0x5c7c,0x7fc42));const e={'mcpStatus':{'disconnected':_0x2d756d(0x91),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x2d756d(0x8c),'retrying':_0x2d756d(0xa4),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2d756d(0xad),'sessionOccupied':_0x2d756d(0x88),'networkError':_0x2d756d(0x98),'maxRetriesExceeded':_0x2d756d(0x8d),'clickToConnect':_0x2d756d(0xae),'clickToConfigure':_0x2d756d(0x97)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2d756d(0x85),'apiKey':_0x2d756d(0xa9),'apiKeyPlaceholder':_0x2d756d(0x9b),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x2d756d(0xa1),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2d756d(0x9c),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x2d756d(0x82),'configStep2':_0x2d756d(0x95),'configStep3':_0x2d756d(0xaa),'sessionId':_0x2d756d(0xab),'sessionIdDescription':_0x2d756d(0xa0),'authorizationDescription':_0x2d756d(0x89),'configParameters':_0x2d756d(0x81),'maxRetries':_0x2d756d(0x96),'save':'Save\x20Configuration','saving':_0x2d756d(0x83),'note1':_0x2d756d(0x9f),'note2':_0x2d756d(0x99),'configSaved':_0x2d756d(0xa2),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2d756d(0xa5),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2d756d(0x92)},'validation':{'apiKeyRequired':_0x2d756d(0x9a),'apiKeyTooShort':_0x2d756d(0x90),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2d756d(0xa7),'connecting':'Connecting...','connected':_0x2d756d(0xac),'failed':_0x2d756d(0x9d),'retrying':_0x2d756d(0x8f)},'connectionError':{'unauthorized':_0x2d756d(0xa8),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x2d756d(0x94),'maxRetriesExceeded':_0x2d756d(0x93)}}},n=e;function _0x5c7c(){const _0x185f15=['MCP\x20Client\x20Configuration','Configuration\x20saved\x20successfully','162196ATJcgH','MCP\x20Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','7gCQtrT','Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20Key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','Connected','MCP:\x20Unauthorized','Click\x20to\x20connect\x20MCP','2825826MFSlyW','63330OCTWZG','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','Saving...','1547656gJVbWQ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','6578496VYMQXF','179445KOujae','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20with\x20Bearer\x20prefix.','33346qPwOwL','2354SmazmZ','MCP\x20Connection\x20Failed','MCP:\x20Max\x20Retries\x20Exceeded','150iFdZRP','Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Max\x20Retries','Click\x20to\x20configure\x20MCP','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required','Enter\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connection\x20Failed','4cvaJlF','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x5c7c=function(){return _0x185f15;};return _0x5c7c();}function _0xe9ef(_0x438866,_0x3cf6be){const _0x5c7cee=_0x5c7c();return _0xe9ef=function(_0xe9efb9,_0x569d0c){_0xe9efb9=_0xe9efb9-0x7f;let _0x2e79fb=_0x5c7cee[_0xe9efb9];return _0x2e79fb;},_0xe9ef(_0x438866,_0x3cf6be);}module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x5a44d6=_0x3fa8;function _0x3fa8(_0x9da1ec,_0x3e76c1){const _0x9634b7=_0x9634();return _0x3fa8=function(_0x3fa840,_0x471758){_0x3fa840=_0x3fa840-0x7f;let _0x2dedf9=_0x9634b7[_0x3fa840];return _0x2dedf9;},_0x3fa8(_0x9da1ec,_0x3e76c1);}function _0x9634(){const _0x3afc82=['Connection\x20Failed','2470vVmBvA','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','64xRnYwc','15864ZqmgcJ','27PHfJoW','MCP\x20Configuration','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20with\x20Bearer\x20prefix.','1141220llOZmP','API\x20key\x20is\x20required','MCP:\x20Session\x20ID\x20Occupied','8UfqGAJ','345656CHSNhI','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Unauthorized','Saving...','MCP:\x20Network\x20Error','588jjUzLy','Session\x20ID','Enable\x20Authentication','2139835juLrBO','exports','API\x20Key','Connecting...','MCP\x20Retrying...','Click\x20to\x20configure\x20MCP','29646sTkCNW','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Steps:','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','4387BiCVPk','Get\x20your\x20API\x20key\x20in\x20seconds','678660kOQAnT','Disconnected','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enter\x20your\x20API\x20key','11TRrzsV'];_0x9634=function(){return _0x3afc82;};return _0x9634();}(function(_0x5633bd,_0xdcf2b5){const _0x5a96f1=_0x3fa8,_0x157357=_0x5633bd();while(!![]){try{const _0x244c53=-parseInt(_0x5a96f1(0x8c))/0x1*(-parseInt(_0x5a96f1(0x99))/0x2)+parseInt(_0x5a96f1(0x8e))/0x3*(parseInt(_0x5a96f1(0xa8))/0x4)+-parseInt(_0x5a96f1(0xb1))/0x5+parseInt(_0x5a96f1(0x82))/0x6*(parseInt(_0x5a96f1(0xae))/0x7)+-parseInt(_0x5a96f1(0xa9))/0x8*(parseInt(_0x5a96f1(0x9b))/0x9)+parseInt(_0x5a96f1(0xa5))/0xa*(parseInt(_0x5a96f1(0x93))/0xb)+-parseInt(_0x5a96f1(0x9a))/0xc*(parseInt(_0x5a96f1(0x95))/0xd);if(_0x244c53===_0xdcf2b5)break;else _0x157357['push'](_0x157357['shift']());}catch(_0x33f16e){_0x157357['push'](_0x157357['shift']());}}}(_0x9634,0x4c786));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x5a44d6(0x9f),'retrying':_0x5a44d6(0x80),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x5a44d6(0xab),'sessionOccupied':_0x5a44d6(0xa7),'networkError':_0x5a44d6(0xad),'maxRetriesExceeded':_0x5a44d6(0x89),'clickToConnect':_0x5a44d6(0x9d),'clickToConfigure':_0x5a44d6(0x81)},'mcpConfig':{'title':_0x5a44d6(0x9c),'description':_0x5a44d6(0x91),'apiKey':_0x5a44d6(0xb3),'apiKeyPlaceholder':_0x5a44d6(0x92),'apiKeyHint':_0x5a44d6(0x9e),'enableAuth':_0x5a44d6(0xb0),'enableAuthHint':_0x5a44d6(0xaa),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x5a44d6(0x90),'configInstructions':_0x5a44d6(0xa0),'configStepTitle':_0x5a44d6(0x88),'configStep1':_0x5a44d6(0xa2),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x5a44d6(0xaf),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x5a44d6(0xa4),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x5a44d6(0x8b),'save':'Save\x20Configuration','saving':_0x5a44d6(0xac),'note1':_0x5a44d6(0xa3),'note2':_0x5a44d6(0xa1),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5a44d6(0x98),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5a44d6(0x8a),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5a44d6(0x8d)},'validation':{'apiKeyRequired':_0x5a44d6(0xa6),'apiKeyTooShort':_0x5a44d6(0x85),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5a44d6(0x83)},'connectionStatus':{'disconnected':_0x5a44d6(0x8f),'connecting':_0x5a44d6(0x7f),'connected':'Connected','failed':_0x5a44d6(0x94),'retrying':_0x5a44d6(0x96)},'connectionError':{'unauthorized':_0x5a44d6(0x87),'sessionOccupied':_0x5a44d6(0x97),'networkError':_0x5a44d6(0x84),'maxRetriesExceeded':_0x5a44d6(0x86)}}},n=e;module[_0x5a44d6(0xb2)]=n;
1
+ 'use strict';const _0x1b1fda=_0xdd55;(function(_0x3fd83a,_0x5d94fd){const _0x1704bd=_0xdd55,_0x289f68=_0x3fd83a();while(!![]){try{const _0x280d12=-parseInt(_0x1704bd(0x1e6))/0x1+-parseInt(_0x1704bd(0x1f9))/0x2*(parseInt(_0x1704bd(0x206))/0x3)+-parseInt(_0x1704bd(0x1ea))/0x4*(parseInt(_0x1704bd(0x1de))/0x5)+parseInt(_0x1704bd(0x200))/0x6+parseInt(_0x1704bd(0x205))/0x7*(parseInt(_0x1704bd(0x1f4))/0x8)+-parseInt(_0x1704bd(0x1f3))/0x9*(-parseInt(_0x1704bd(0x209))/0xa)+-parseInt(_0x1704bd(0x1eb))/0xb*(-parseInt(_0x1704bd(0x204))/0xc);if(_0x280d12===_0x5d94fd)break;else _0x289f68['push'](_0x289f68['shift']());}catch(_0x109785){_0x289f68['push'](_0x289f68['shift']());}}}(_0x3936,0x1dc26));function _0xdd55(_0x3c59ef,_0x484f3e){const _0x3936ab=_0x3936();return _0xdd55=function(_0xdd55eb,_0x395e5b){_0xdd55eb=_0xdd55eb-0x1dc;let _0x451287=_0x3936ab[_0xdd55eb];return _0x451287;},_0xdd55(_0x3c59ef,_0x484f3e);}function _0x3936(){const _0x4ea37d=['Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','9DfKwxB','960hjdsWe','Connecting...','MCP\x20Client\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','44ByaJpn','Click\x20to\x20connect\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connecting...','Invalid\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1192812JLpvhG','Failed\x20to\x20save\x20configuration','Univer\x20AI\x20Console','Enable\x20Authentication','408cjPvkt','4214flzwLz','25818FzRsIU','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enter\x20your\x20API\x20key','688910TbrhiL','Connection\x20Failed','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Configuration','MCP:\x20Unauthorized','228385mXERkA','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Disconnected','71778qOQohE','exports','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Disconnected','20JVZRmr','87824OYLAwN','MCP\x20Connected','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x3936=function(){return _0x4ea37d;};return _0x3936();}const e={'mcpStatus':{'disconnected':_0x1b1fda(0x1e9),'connecting':_0x1b1fda(0x1fd),'connected':_0x1b1fda(0x1ec),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x1b1fda(0x1ee),'unauthorized':_0x1b1fda(0x1dd),'sessionOccupied':_0x1b1fda(0x1e2),'networkError':_0x1b1fda(0x1f8),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x1b1fda(0x1fa),'clickToConfigure':_0x1b1fda(0x1ef)},'mcpConfig':{'title':_0x1b1fda(0x1dc),'description':_0x1b1fda(0x1e8),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1b1fda(0x208),'apiKeyHint':_0x1b1fda(0x1f0),'enableAuth':_0x1b1fda(0x203),'enableAuthHint':_0x1b1fda(0x20c),'connectionInfo':_0x1b1fda(0x1f6),'mcpClientConfig':_0x1b1fda(0x1f6),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x1b1fda(0x1e3),'configStep3':_0x1b1fda(0x1fc),'sessionId':_0x1b1fda(0x1e1),'sessionIdDescription':_0x1b1fda(0x1f2),'authorizationDescription':_0x1b1fda(0x1fb),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0x1b1fda(0x20d),'note2':_0x1b1fda(0x1ff),'configSaved':_0x1b1fda(0x1ed),'configError':_0x1b1fda(0x201),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1b1fda(0x1f1),'univerAiLabel':_0x1b1fda(0x202),'getStarted':_0x1b1fda(0x1f7)},'validation':{'apiKeyRequired':_0x1b1fda(0x20b),'apiKeyTooShort':_0x1b1fda(0x1df),'invalidConfig':_0x1b1fda(0x1fe),'invalidApiKey':_0x1b1fda(0x1e0)},'connectionStatus':{'disconnected':_0x1b1fda(0x1e5),'connecting':_0x1b1fda(0x1f5),'connected':'Connected','failed':_0x1b1fda(0x20a),'retrying':_0x1b1fda(0x20e)},'connectionError':{'unauthorized':_0x1b1fda(0x207),'sessionOccupied':_0x1b1fda(0x20f),'networkError':_0x1b1fda(0x1e4),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x1b1fda(0x1e7)]=n;