@univerjs-pro/mcp-ui 0.15.0-insiders.20251227-453e4ff → 0.15.0-insiders.20251227-c108ce3

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 (49) 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/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +7 -7
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xd0c6e1=_0x3d2c;(function(_0x323b38,_0x2ad840){const _0x46f782=_0x3d2c,_0x281797=_0x323b38();while(!![]){try{const _0x53fd9a=parseInt(_0x46f782(0x216))/0x1*(parseInt(_0x46f782(0x2af))/0x2)+-parseInt(_0x46f782(0x305))/0x3*(-parseInt(_0x46f782(0x24e))/0x4)+-parseInt(_0x46f782(0x22f))/0x5+-parseInt(_0x46f782(0x1c6))/0x6+parseInt(_0x46f782(0x235))/0x7+parseInt(_0x46f782(0x2e1))/0x8+-parseInt(_0x46f782(0x2f1))/0x9*(parseInt(_0x46f782(0x295))/0xa);if(_0x53fd9a===_0x2ad840)break;else _0x281797['push'](_0x281797['shift']());}catch(_0x38fbda){_0x281797['push'](_0x281797['shift']());}}}(_0xc68e,0x7c490));var ae=Object[_0xd0c6e1(0x1b5)],le=(_0x496f34,_0xcfffef,_0x56d541)=>_0xcfffef in _0x496f34?ae(_0x496f34,_0xcfffef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56d541}):_0x496f34[_0xcfffef]=_0x56d541,I=(_0x2ccf06,_0x5d3f2a,_0x9693d6)=>le(_0x2ccf06,typeof _0x5d3f2a!=_0xd0c6e1(0x23c)?_0x5d3f2a+'':_0x5d3f2a,_0x9693d6);Object[_0xd0c6e1(0x1b5)](exports,Symbol['toStringTag'],{'value':_0xd0c6e1(0x274)});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 _0xc68e(){const _0x5b9912=['jsx','univer-flex\x20univer-gap-3','复制以下\x20JSON\x20配置','univer-min-w-0\x20univer-flex-1','length','COMMAND','mcpConfig.connectionError.networkError','div','BehaviorSubject','__setCustomHeaders','IConfigService','Error','MCP\x20Connection\x20Failed','将配置添加到您的\x20MCP\x20客户端设置文件中','点击配置\x20MCP','register','API\x20key\x20with\x20Bearer\x20prefix.','_loading$','button','univer-space-y-3','svg','forEach','IMessageService','BUTTON','useState','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-font-medium','请输入您的\x20API\x20密钥','round','ILocalStorageService','API\x20密钥无效,请检查密钥是否正确','jsxs','mask','mcpConfig.configStep2','MCP:\x20超出最大重试次数','validateApiKey','mcpStatus.unknown','FAILED','ICommandService','univer.ai','http','_configService','univer-text-yellow-500','useRef','substring','mcpConfig.validation.apiKeyRequired','defineProperty','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','univer-text-sm\x20univer-font-medium','createElement','会话\x20ID\x20已被占用,请稍后再试','string','MCP:\x20网络错误','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','mcpConfig.apiApplyInfo.getStarted','MCP:\x20Session\x20ID\x20Occupied','tag','mcpConfig.apiApplyInfo.univerAiLabel','univer-bg-red-500','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-bg-gray-500','mcpConfig.configStepTitle','配置参数:','260940LFSlOB','Button','MCP\x20已连接','Connection\x20Failed','connectionError$','errorMessage','已连接','连接中...','showStatus','IMenuManagerService','配置无效','attrs','mcp-ui.command.openConfigPanel','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','getOwnPropertyDescriptor','ILogService','univer-text-white','xlink:href','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','MCPConfigUIController','_dialogService','mcp-config-dialog','LocaleService','0\x200\x2016\x2016','mcpConfig.validation.apiKeyTooShort','mcpConfig.validation.invalidConfig','defIds','mcpConfig.connectionError.unauthorized','MCPUIMenuController','1em','mcp-ui.config','mcpStatus.maxRetriesExceeded','启用身份验证以获得安全连接','MCPConnectionUIController','连接失败','_commandService','_initConfigSync','OnLineIcon','get','url(#$1','配置保存失败','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置步骤:','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','useObservable','connectInjector','MCP\x20Unknown\x20Status','getCurrentConfig','CONNECTED','univer-space-y-5','\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','has','MCP\x20Disconnected','What\x20is\x20API\x20Key?','entries','MCP:\x20Max\x20Retries\x20Exceeded','RETRYING','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_handleConfigSave','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.connectionStatus.failed','Failed\x20to\x20save\x20configuration','_componentManager','registerComponent','replace','mcpConfig.title','label','_initStatusComponent','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Configuration\x20Parameters:','Authorization:','mcpConfig.note1','mcpStatus.unauthorized','mcpStatus.sessionOccupied','Retrying...','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','什么是\x20API\x20密钥?','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','subscribeConfigValue$','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','10IUuzVG','_connectionController','getConfig','mcpConfig.apiKey','univer-text-xs\x20univer-text-gray-500','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','MCPConnectionStatus','MCP\x20Configuration','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpConfig.connectionStatus.retrying','url(#on-line-icon_clip0_910_349)','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','MCPConnectionController','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','mergeMenu','mcpConfig.connectionStatus.connected','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP\x20客户端配置','off-line-icon_clip0_910_343','MCP_UI_PLUGIN','CONNECTING','MCP\x20Client\x20Configuration','univer-flex\x20univer-items-center\x20univer-gap-2','currentColor','UNAUTHORIZED','4017275cwoYhq','next','配置保存成功','assign','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','SESSION_ID_OCCUPIED','1261274IoGmLw','MCP\x20配置','MCPConfigPanel','Save\x20Configuration','univer-size-2\x20univer-rounded-full','CheckMarkIcon','Injector','symbol','_validateConfig','_initializeCommands','保存配置','NONE','mcpConfig.connectionStatus.disconnected','univer-text-red-500','univer-shrink-0\x20univer-text-red-500','sessionId$','IUIPartsService','0\x200\x2017\x2016','MCP:\x20Network\x20Error','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','useDependency','HEADER_MENU','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','4jlpayw','add','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_uiPartsService','几秒钟内获取您的\x20API\x20密钥','univer-text-blue-600','mcpConfig.apiApplyInfo.title','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','apiKey','Disposable','enUS','none','univer.plus','clsx','showDeveloperTools','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','onStarting','mcpConfig.apiKeyHint','OpenMCPConfigPanelCommand','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Tooltip','univer-bg-green-500','Univer\x20AI\x20控制台','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','url(#off-line-icon_clip0_910_343)','defs','fill','warn','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','配置\x20MCP\x20使用\x20AI\x20操作电子表格','evenodd','MCP:\x20会话\x20ID\x20已被占用','MCP_PLUGIN_CONFIG_KEY','_config$','网络连接错误,请检查您的网络连接','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','off-line-icon','Module','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','NETWORK_ERROR','random','Max\x20Retries','MCP\x20Connected','http://www.w3.org/2000/svg','MCP\x20Connecting...','MenuIcon','map','M0\x200H16V16H0z','将以下配置添加到您的\x20MCP\x20客户端设置中:','clipPath','API\x20key\x20is\x20required','_handleConfigure','MAX_RETRIES_EXCEEDED','translate(.97)','_initAutoConnect','univerjs-icon\x20univerjs-icon-','Plugin','mcpConfig.note2','mcpConfig.connectionError.maxRetriesExceeded','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','displayName','Configuration\x20Notes:','toString','open','check-mark-icon','disposeWithMe','mcpServerUrl','_messageService','mcpConfig.saving','registerCommand','20HeFNGq','保存中...','Connected','OffLineIcon','DependentOn','colorChannel1','Configuration\x20saved\x20successfully','_mcpConnectionController','未连接','Input','setItem','univer_session_id:','mcpConfig.apiKeyPlaceholder','univer-shrink-0\x20univer-text-blue-500','Inject','univer-space-y-2','close','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','_injector','univer-text-gray-400','_apiKey$','showConfigPanel','mcpStatus.networkError','isValid','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','https://mcp.univer.ai/mcp/?univer_session_id=','150884ZutzPn','ISocketService','配置更改将立即生效','mcpConfig.configStep3','on-line-icon_clip0_910_349','show','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP:\x20未授权','API\x20密钥','current','_registerComponent','<SESSION_ID>','权限验证失败,请检查您的\x20API\x20密钥','_loadStoredApiKey','connectionStatus$','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpStatus.disconnected','Click\x20to\x20connect\x20MCP','Univer\x20AI\x20Console','univer-flex\x20univer-items-center\x20univer-gap-3','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpConfig.configError','_config','<API_KEY>','enableAutoConnect','mcpStatus.connecting','trim','您的\x20API\x20密钥将在此浏览器中本地存储','DISCONNECTED','univer-flex\x20univer-items-start\x20univer-gap-3','_mcpCoreConfig$','ComponentManager','includes','mcpStatus.failed','UniverMCPUIPlugin','mcpConfig.validation.invalidApiKey','univer-flex-1','univer-text-green-500','value','mcpConfig.configSaved','_menuManagerService','Bearer\x20','Enable\x20authentication\x20for\x20secure\x20connections','Disconnected','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCPConnectionError','MessageType','MCP:\x20Unauthorized','_logService','带有\x20Bearer\x20前缀的\x20API\x20密钥。','5509440iuIJuj','_blank','您的\x20API\x20密钥安全存储在本地存储中','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCPStatusDisplay','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','pre','Copy\x20the\x20JSON\x20configuration\x20below','univer-flex\x20univer-items-center','Connecting...','_createConfigPanelComponent','HelpIcon','white','https://console.univer.plus','merge','univer-size-4','3070827PALKex','_localeService','children','_localStorageService','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.configInstructions','pluginName','\x20-\x20','path','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-flex\x20univer-items-start\x20univer-gap-2','Enter\x20your\x20API\x20key','forwardRef','API\x20Key','idSuffix','mcpStatus.connected','mcpConfig.connectionInfo','span','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.configStep1','1245423fdcjdH'];_0xc68e=function(){return _0x5b9912;};return _0xc68e();}function _({ref:_0x24f472,..._0x2e31ab}){const _0x2caceb=_0xd0c6e1,{icon:_0x1076a3,id:_0x3ae7ab,className:_0x12f76a,extend:_0x44ca0c,..._0x53d6c5}=_0x2e31ab,_0x215b6d=(_0x2caceb(0x286)+_0x3ae7ab+'\x20'+(_0x12f76a||''))['trim'](),_0x5efe7f=d[_0x2caceb(0x1b2)]('_'+de());return G(_0x1076a3,''+_0x3ae7ab,{'defIds':_0x1076a3[_0x2caceb(0x1e0)],'idSuffix':_0x5efe7f[_0x2caceb(0x2b8)]},{'ref':_0x24f472,'className':_0x215b6d,..._0x53d6c5},_0x44ca0c);}function G(_0x1d098c,_0x2b4561,_0x39883a,_0x1ed04a,_0x40a40b){const _0x38236b=_0xd0c6e1;return d[_0x38236b(0x1b8)](_0x1d098c[_0x38236b(0x1bf)],{'key':_0x2b4561,...ue(_0x1d098c,_0x39883a,_0x40a40b),..._0x1ed04a},(ve(_0x1d098c,_0x39883a)[_0x38236b(0x2f3)]||[])[_0x38236b(0x27d)]((_0x29f38e,_0x2b26c3)=>G(_0x29f38e,_0x2b4561+'-'+_0x1d098c[_0x38236b(0x1bf)]+'-'+_0x2b26c3,_0x39883a,void 0x0,_0x40a40b)));}function ue(_0x54b364,_0x1a8d7e,_0x35b354){const _0x2ca5d1=_0xd0c6e1,_0x27ef8d={..._0x54b364[_0x2ca5d1(0x1d1)]};_0x35b354!=null&&_0x35b354[_0x2ca5d1(0x29a)]&&_0x27ef8d[_0x2ca5d1(0x268)]==='colorChannel1'&&(_0x27ef8d[_0x2ca5d1(0x268)]=_0x35b354['colorChannel1']),_0x54b364[_0x2ca5d1(0x1bf)]===_0x2ca5d1(0x1a7)&&_0x27ef8d['id']&&(_0x27ef8d['id']=_0x27ef8d['id']+_0x1a8d7e[_0x2ca5d1(0x2ff)]),Object[_0x2ca5d1(0x1fc)](_0x27ef8d)[_0x2ca5d1(0x31b)](([_0x4568be,_0xb795fe])=>{const _0x52013d=_0x2ca5d1;_0x4568be===_0x52013d(0x1a7)&&typeof _0xb795fe==_0x52013d(0x1ba)&&(_0x27ef8d[_0x4568be]=_0xb795fe[_0x52013d(0x206)](/url\(#(.*)\)/,'url(#$1'+_0x1a8d7e['idSuffix']+')'));});const {defIds:_0xae06e}=_0x1a8d7e;return!_0xae06e||_0xae06e['length']===0x0||(_0x54b364[_0x2ca5d1(0x1bf)]==='use'&&_0x27ef8d[_0x2ca5d1(0x1d7)]&&(_0x27ef8d[_0x2ca5d1(0x1d7)]=_0x27ef8d[_0x2ca5d1(0x1d7)]+_0x1a8d7e[_0x2ca5d1(0x2ff)]),Object[_0x2ca5d1(0x1fc)](_0x27ef8d)[_0x2ca5d1(0x31b)](([_0x267220,_0x3ebf6a])=>{const _0x403f04=_0x2ca5d1;typeof _0x3ebf6a=='string'&&(_0x27ef8d[_0x267220]=_0x3ebf6a[_0x403f04(0x206)](/url\(#(.*)\)/,_0x403f04(0x1ed)+_0x1a8d7e['idSuffix']+')'));})),_0x27ef8d;}function ve(_0x7e8e71,_0x41e572){const _0x5f0ef4=_0xd0c6e1;var _0x380b5e;const {defIds:_0x1fa4ff}=_0x41e572;return!_0x1fa4ff||_0x1fa4ff[_0x5f0ef4(0x30a)]===0x0?_0x7e8e71:_0x7e8e71[_0x5f0ef4(0x1bf)]===_0x5f0ef4(0x267)&&((_0x380b5e=_0x7e8e71[_0x5f0ef4(0x2f3)])!=null&&_0x380b5e[_0x5f0ef4(0x30a)])?{..._0x7e8e71,'children':_0x7e8e71[_0x5f0ef4(0x2f3)][_0x5f0ef4(0x27d)](_0x27bbc2=>typeof _0x27bbc2['attrs']['id']==_0x5f0ef4(0x1ba)&&_0x1fa4ff&&_0x1fa4ff[_0x5f0ef4(0x2cf)](_0x27bbc2[_0x5f0ef4(0x1d1)]['id'])?{..._0x27bbc2,'attrs':{..._0x27bbc2[_0x5f0ef4(0x1d1)],'id':_0x27bbc2[_0x5f0ef4(0x1d1)]['id']+_0x41e572['idSuffix']}}:_0x27bbc2)}:_0x7e8e71;}function de(){const _0x1220b1=_0xd0c6e1;return Math[_0x1220b1(0x277)]()[_0x1220b1(0x28d)](0x24)[_0x1220b1(0x1b3)](0x2,0x8);}_[_0xd0c6e1(0x28b)]='UniverIcon';const Ce={'tag':_0xd0c6e1(0x31a),'attrs':{'xmlns':_0xd0c6e1(0x27a),'fill':_0xd0c6e1(0x259),'viewBox':'0\x200\x2016\x2016','width':_0xd0c6e1(0x1e3),'height':_0xd0c6e1(0x1e3)},'children':[{'tag':_0xd0c6e1(0x2f9),'attrs':{'fill':_0xd0c6e1(0x22d),'d':_0xd0c6e1(0x223),'fillRule':'evenodd','clipRule':_0xd0c6e1(0x26c)}}]},H=d[_0xd0c6e1(0x2fd)](function(_0x10e700,_0x1bb36b){const _0xbd8a9d=_0xd0c6e1;return d[_0xbd8a9d(0x1b8)](_,Object[_0xbd8a9d(0x232)]({},_0x10e700,{'id':_0xbd8a9d(0x28f),'ref':_0x1bb36b,'icon':Ce}));});H[_0xd0c6e1(0x28b)]=_0xd0c6e1(0x23a);const ge={'tag':_0xd0c6e1(0x31a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xd0c6e1(0x259),'viewBox':_0xd0c6e1(0x1dd),'width':'1em','height':_0xd0c6e1(0x1e3)},'children':[{'tag':_0xd0c6e1(0x2f9),'attrs':{'fill':'currentColor','d':_0xd0c6e1(0x1bc)}}]},B=d[_0xd0c6e1(0x2fd)](function(_0x5714f3,_0x3b516e){const _0x21714a=_0xd0c6e1;return d[_0x21714a(0x1b8)](_,Object[_0x21714a(0x232)]({},_0x5714f3,{'id':'close-icon','ref':_0x3b516e,'icon':ge}));});B['displayName']='CloseIcon';const fe={'tag':_0xd0c6e1(0x31a),'attrs':{'xmlns':_0xd0c6e1(0x27a),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0xd0c6e1(0x1e3),'height':_0xd0c6e1(0x1e3)},'children':[{'tag':_0xd0c6e1(0x2f9),'attrs':{'fill':'currentColor','d':_0xd0c6e1(0x2ad)}},{'tag':_0xd0c6e1(0x2f9),'attrs':{'fill':_0xd0c6e1(0x22d),'d':_0xd0c6e1(0x2fa)}},{'tag':_0xd0c6e1(0x2f9),'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':_0xd0c6e1(0x26c),'clipRule':_0xd0c6e1(0x26c)}}]},F=d['forwardRef'](function(_0x470c0a,_0x431a44){const _0x53c318=_0xd0c6e1;return d[_0x53c318(0x1b8)](_,Object[_0x53c318(0x232)]({},_0x470c0a,{'id':'help-icon','ref':_0x431a44,'icon':fe}));});F[_0xd0c6e1(0x28b)]=_0xd0c6e1(0x2ec);const pe={'tag':_0xd0c6e1(0x31a),'attrs':{'xmlns':_0xd0c6e1(0x27a),'fill':_0xd0c6e1(0x259),'viewBox':_0xd0c6e1(0x1dd),'width':_0xd0c6e1(0x1e3),'height':_0xd0c6e1(0x1e3)},'children':[{'tag':'g','attrs':{'clipPath':_0xd0c6e1(0x266)},'children':[{'tag':_0xd0c6e1(0x2f9),'attrs':{'stroke':_0xd0c6e1(0x22d),'d':_0xd0c6e1(0x1b6),'strokeLinecap':_0xd0c6e1(0x1a3),'strokeLinejoin':_0xd0c6e1(0x1a3),'strokeWidth':1.2}}]},{'tag':_0xd0c6e1(0x267),'attrs':{},'children':[{'tag':_0xd0c6e1(0x280),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xd0c6e1(0x2f9),'attrs':{'fill':_0xd0c6e1(0x2ed),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xd0c6e1(0x228)]},Y=d[_0xd0c6e1(0x2fd)](function(_0x1e99f4,_0x4ebfbd){const _0x5ed3ac=_0xd0c6e1;return d[_0x5ed3ac(0x1b8)](_,Object['assign']({},_0x1e99f4,{'id':_0x5ed3ac(0x273),'ref':_0x4ebfbd,'icon':pe}));});Y['displayName']=_0xd0c6e1(0x298);const he={'tag':_0xd0c6e1(0x31a),'attrs':{'xmlns':_0xd0c6e1(0x27a),'fill':'none','viewBox':_0xd0c6e1(0x246),'width':_0xd0c6e1(0x1e3),'height':_0xd0c6e1(0x1e3)},'children':[{'tag':'g','attrs':{'clipPath':_0xd0c6e1(0x220)},'children':[{'tag':'path','attrs':{'stroke':_0xd0c6e1(0x22d),'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':_0xd0c6e1(0x1a3),'strokeWidth':1.2}}]},{'tag':_0xd0c6e1(0x267),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xd0c6e1(0x2b3)},'children':[{'tag':_0xd0c6e1(0x2f9),'attrs':{'fill':_0xd0c6e1(0x2ed),'d':_0xd0c6e1(0x27e),'transform':_0xd0c6e1(0x284)}}]}]}],'defIds':[_0xd0c6e1(0x2b3)]},q=d[_0xd0c6e1(0x2fd)](function(_0x55b50b,_0x1b730d){return d['createElement'](_,Object['assign']({},_0x55b50b,{'id':'on-line-icon','ref':_0x1b730d,'icon':he}));});q['displayName']=_0xd0c6e1(0x1eb);function V(_0x4cbfa0){const _0x2a0f76=_0xd0c6e1;var _0x1a9058,_0x2dd4d5;const {mcpCoreConfig:_0x5ef53a,onSave:_0x272985,loading:_0xa0f54c=!0x1,config:_0x5b0630,connectionStatus$:_0x3a37aa,connectionError$:_0x3946d6,currentApiKey$:_0x124429,currentSessionId$:_0x23023a}=_0x4cbfa0,_0x293db3=v[_0x2a0f76(0x249)](u['LocaleService']),_0xedcb55=v[_0x2a0f76(0x1f2)](_0x3a37aa,s['MCPConnectionStatus']['DISCONNECTED']),_0x9ce7ef=v['useObservable'](_0x3946d6,s['MCPConnectionError'][_0x2a0f76(0x240)]),_0xe18dbe=v[_0x2a0f76(0x1f2)](_0x23023a,''),_0x43187c=v[_0x2a0f76(0x1f2)](_0x124429,''),[_0x5dd72b,_0x2ac781]=d[_0x2a0f76(0x31e)](_0x43187c||''),_0x5c5537=!0x0,_0xbf0234=_0x5b0630[_0x2a0f76(0x25c)]&&_0x5ef53a[_0x2a0f76(0x291)]&&(_0x5ef53a[_0x2a0f76(0x291)][_0x2a0f76(0x2cf)]('univer.plus')||_0x5ef53a[_0x2a0f76(0x291)][_0x2a0f76(0x2cf)]('univer.ai')),_0x3e4b8c=(_0x1a9058=_0x5ef53a[_0x2a0f76(0x291)])==null?void 0x0:_0x1a9058['includes'](_0x2a0f76(0x25a)),_0xf33b20=(_0x2dd4d5=_0x5ef53a[_0x2a0f76(0x291)])==null?void 0x0:_0x2dd4d5[_0x2a0f76(0x2cf)](_0x2a0f76(0x1ae)),_0x536d5d=_0x3e4b8c?_0x2a0f76(0x2ee):'https://console.univer.ai',_0xf25db4=_0x5b0630[_0x2a0f76(0x25c)]&&(_0x3e4b8c||_0xf33b20),[_0x2b5dea,_0x583c2b]=d[_0x2a0f76(0x31e)](!_0x5dd72b[_0x2a0f76(0x2c9)]()),_0x448ce7=(_0x4c1b6f,_0x4b9097)=>{const _0x1636be=_0x2a0f76;if(_0x4b9097===s[_0x1636be(0x2dc)][_0x1636be(0x22e)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x4c1b6f){case s[_0x1636be(0x21c)]['CONNECTED']:return _0x1636be(0x1f1);case s[_0x1636be(0x21c)][_0x1636be(0x22a)]:case s[_0x1636be(0x21c)][_0x1636be(0x1fe)]:return _0x1636be(0x21b);case s[_0x1636be(0x21c)][_0x1636be(0x1ac)]:return _0x1636be(0x2db);default:return _0x1636be(0x250);}},_0x194609=(_0x52d573,_0x10e13d)=>{const _0x379953=_0x2a0f76;if(_0x10e13d===s['MCPConnectionError'][_0x379953(0x22e)])return _0x379953(0x1c1);switch(_0x52d573){case s['MCPConnectionStatus'][_0x379953(0x1f6)]:return _0x379953(0x263);case s[_0x379953(0x21c)]['CONNECTING']:case s[_0x379953(0x21c)][_0x379953(0x1fe)]:return'univer-bg-blue-500';case s[_0x379953(0x21c)][_0x379953(0x1ac)]:return _0x379953(0x1c1);default:return _0x379953(0x1c3);}},_0x1d3e3f=_0x53d362=>{const _0x56de3f=_0x2a0f76;switch(_0x53d362){case s[_0x56de3f(0x21c)][_0x56de3f(0x1f6)]:return _0x293db3['t'](_0x56de3f(0x225));case s['MCPConnectionStatus'][_0x56de3f(0x22a)]:return _0x293db3['t']('mcpConfig.connectionStatus.connecting');case s['MCPConnectionStatus'][_0x56de3f(0x1ac)]:return _0x293db3['t'](_0x56de3f(0x202));case s['MCPConnectionStatus']['RETRYING']:return _0x293db3['t'](_0x56de3f(0x21f));default:return _0x293db3['t'](_0x56de3f(0x241));}},_0x512212=_0x3ec253=>{const _0x24095a=_0x2a0f76;switch(_0x3ec253){case s[_0x24095a(0x2dc)][_0x24095a(0x22e)]:return _0x293db3['t'](_0x24095a(0x1e1));case s[_0x24095a(0x2dc)][_0x24095a(0x234)]:return _0x293db3['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x24095a(0x2dc)][_0x24095a(0x276)]:return _0x293db3['t'](_0x24095a(0x30c));case s[_0x24095a(0x2dc)][_0x24095a(0x283)]:return _0x293db3['t'](_0x24095a(0x289));default:return'';}},_0x3a651f=d['useCallback'](()=>{const _0x18538c=_0x2a0f76,_0x5540a9={..._0x5ef53a,'apiKey':_0x5dd72b[_0x18538c(0x2c9)](),'enableAuth':_0x5c5537};_0x272985(_0x5540a9);},[_0x5ef53a,_0x5dd72b,_0x5c5537,_0x272985]),_0x23b0f3=_0x5dd72b[_0x2a0f76(0x2c9)]()['length']>0x0;return i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2f5),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x272),'children':i['jsxs'](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2c2),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2a6),'children':i['jsx'](_0x2a0f76(0x302),{'className':_0x2a0f76(0x1d6),'children':'⚙'})}),i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'children':i[_0x2a0f76(0x306)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x293db3['t']('mcpConfig.description')})})]})}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x28a),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':f[_0x2a0f76(0x25b)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x448ce7(_0xedcb55,_0x9ce7ef)),'children':i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x22c),'children':[i[_0x2a0f76(0x306)]('div',{'className':f['clsx'](_0x2a0f76(0x239),_0x194609(_0xedcb55,_0x9ce7ef))}),i[_0x2a0f76(0x306)](_0x2a0f76(0x302),{'className':_0x2a0f76(0x1b7),'children':_0x1d3e3f(_0xedcb55)})]})}),_0x9ce7ef!==s[_0x2a0f76(0x2dc)][_0x2a0f76(0x240)]&&(_0xedcb55===s['MCPConnectionStatus'][_0x2a0f76(0x1ac)]||_0x9ce7ef===s[_0x2a0f76(0x2dc)]['UNAUTHORIZED'])&&i[_0x2a0f76(0x306)]('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[_0x2a0f76(0x1a6)]('div',{'className':_0x2a0f76(0x2fb),'children':[i['jsx'](_0x2a0f76(0x302),{'className':_0x2a0f76(0x243),'children':'⚠️'}),i[_0x2a0f76(0x306)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x512212(_0x9ce7ef)})]})})]}),i['jsx'](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x24b),'children':i['jsxs'](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x1f7),'children':[i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2a4),'children':[i[_0x2a0f76(0x1a6)](_0x2a0f76(0x208),{'className':_0x2a0f76(0x26a),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x302),{'children':'🔑'}),'\x20',_0x293db3['t'](_0x2a0f76(0x219)),i['jsx'](_0x2a0f76(0x302),{'className':_0x2a0f76(0x242),'children':'*'}),_0xbf0234&&i['jsx']('a',{'className':_0x2a0f76(0x211),'title':_0x293db3['t'](_0x2a0f76(0x254)),'role':'button','onClick':()=>_0x583c2b(!0x0),'children':i[_0x2a0f76(0x306)](F,{})})]}),i[_0x2a0f76(0x306)](f[_0x2a0f76(0x29e)],{'type':'text','placeholder':_0x293db3['t'](_0x2a0f76(0x2a1)),'value':_0x5dd72b,'disabled':_0xa0f54c,'autoComplete':'off','onChange':_0x2ac781}),i[_0x2a0f76(0x306)]('p',{'className':_0x2a0f76(0x21a),'children':_0x293db3['t'](_0x2a0f76(0x25f))})]}),_0xbf0234&&_0x2b5dea&&i[_0x2a0f76(0x1a6)]('div',{'className':_0x2a0f76(0x233),'children':[i['jsx']('a',{'className':_0x2a0f76(0x255),'role':_0x2a0f76(0x318),'onClick':()=>_0x583c2b(!0x1),'children':i[_0x2a0f76(0x306)](B,{'className':_0x2a0f76(0x2f0)})}),i['jsxs'](_0x2a0f76(0x30d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i['jsx'](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x21e),'children':i[_0x2a0f76(0x306)](_0x2a0f76(0x302),{'className':_0x2a0f76(0x253),'children':'🚀'})}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2d3),'children':[i[_0x2a0f76(0x306)]('h4',{'className':_0x2a0f76(0x201),'children':_0x293db3['t'](_0x2a0f76(0x254))}),i['jsx']('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x293db3['t']('mcpConfig.apiApplyInfo.description')}),i['jsx']('div',{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0xf25db4&&i[_0x2a0f76(0x1a6)]('a',{'className':'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','href':_0x536d5d,'target':_0x2a0f76(0x2e2),'rel':'noopener\x20noreferrer','children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x302),{'children':'🤖'}),_0x293db3['t'](_0x2a0f76(0x1c0)),i['jsx']('span',{'className':_0x2a0f76(0x2a8),'children':'↗'})]})}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x293db3['t'](_0x2a0f76(0x1bd))]})]})]})]}),_0x5b0630['showDeveloperTools']&&i['jsxs']('div',{'className':_0x2a0f76(0x215),'children':[i[_0x2a0f76(0x1a6)]('h4',{'className':_0x2a0f76(0x2b5),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x302),{'children':'🔗'}),'\x20',_0x293db3['t'](_0x2a0f76(0x301))]}),i['jsxs'](_0x2a0f76(0x30d),{'className':'univer-space-y-4','children':[i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x319),'children':[i[_0x2a0f76(0x306)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x293db3['t'](_0x2a0f76(0x2f6))}),i['jsxs']('div',{'className':_0x2a0f76(0x2a4),'children':[i['jsx']('div',{'className':_0x2a0f76(0x213),'children':_0x293db3['t'](_0x2a0f76(0x1c4))}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x22c),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x302),{'className':_0x2a0f76(0x1d3),'children':'1'}),_0x293db3['t'](_0x2a0f76(0x304))]}),i[_0x2a0f76(0x1a6)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x302),{'className':'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','children':'2'}),_0x293db3['t'](_0x2a0f76(0x1a8))]}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x22c),'children':[i['jsx'](_0x2a0f76(0x302),{'className':_0x2a0f76(0x1d3),'children':'3'}),_0x293db3['t'](_0x2a0f76(0x2b2))]})]})]})]}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2a4),'children':[i['jsx'](_0x2a0f76(0x30d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2a0f76(0x21d)}),i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x226),'children':i[_0x2a0f76(0x306)](_0x2a0f76(0x2e7),{'className':_0x2a0f76(0x1d8),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x2a0f76(0x2ae)+(_0xe18dbe||_0x2a0f76(0x2ba)),'type':_0x2a0f76(0x1af),'headers':{'Authorization':'Bearer\x20'+(_0x5dd72b||_0x2a0f76(0x2c6))}}}},null,0x2)})})]}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x319),'children':[i[_0x2a0f76(0x306)]('div',{'className':_0x2a0f76(0x213),'children':_0x293db3['t']('mcpConfig.configParameters')}),i[_0x2a0f76(0x1a6)]('div',{'className':'univer-space-y-2','children':[i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x2a0f76(0x1a6)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2e4),'children':_0x2a0f76(0x2a0)}),i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x21a),'children':_0x293db3['t']('mcpConfig.sessionIdDescription')})]})]}),i['jsxs'](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2cc),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x1ff)}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x309),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x2e4),'children':_0x2a0f76(0x20c)}),i['jsx'](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x21a),'children':_0x293db3['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i['jsx'](f[_0x2a0f76(0x1c7)],{'onClick':_0x3a651f,'disabled':!_0x23b0f3||_0xa0f54c,'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':_0xa0f54c?i[_0x2a0f76(0x1a6)](_0x2a0f76(0x302),{'className':_0x2a0f76(0x22c),'children':[i['jsx'](_0x2a0f76(0x302),{'children':'⟲'}),_0x293db3['t'](_0x2a0f76(0x293))]}):i['jsxs']('span',{'className':_0x2a0f76(0x22c),'children':[i[_0x2a0f76(0x306)](H,{}),_0x293db3['t']('mcpConfig.save')]})}),i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x307),'children':[i['jsx'](_0x2a0f76(0x302),{'className':_0x2a0f76(0x2a2),'children':'💡'}),i['jsxs']('div',{'className':_0x2a0f76(0x2be),'children':[i[_0x2a0f76(0x306)](_0x2a0f76(0x30d),{'className':_0x2a0f76(0x320),'children':_0x2a0f76(0x28c)}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'children':['•',_0x293db3['t'](_0x2a0f76(0x20d))]}),i[_0x2a0f76(0x1a6)](_0x2a0f76(0x30d),{'children':['•',_0x293db3['t'](_0x2a0f76(0x288))]})]})]})})]})})]});}const P=_0xd0c6e1(0x1e4),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object['getOwnPropertyDescriptor'],xe=(_0x51204d,_0x3fb962,_0x2c99e5,_0x513406)=>{const _0xdb19dd=_0xd0c6e1;for(var _0x1a35ab=_0x513406>0x1?void 0x0:_0x513406?me(_0x3fb962,_0x2c99e5):_0x3fb962,_0x3a914c=_0x51204d[_0xdb19dd(0x30a)]-0x1,_0x45b929;_0x3a914c>=0x0;_0x3a914c--)(_0x45b929=_0x51204d[_0x3a914c])&&(_0x1a35ab=_0x45b929(_0x1a35ab)||_0x1a35ab);return _0x1a35ab;},g=(_0x5c36be,_0x1134ef)=>(_0x1b1001,_0x20f3ca)=>_0x1134ef(_0x1b1001,_0x20f3ca,_0x5c36be);const O='mcp.apiKey',D=_0xd0c6e1(0x1db);exports['MCPConfigUIController']=class extends u[_0xd0c6e1(0x257)]{constructor(_0x4f9fa0,_0x4365a2,_0x113776,_0x150257,_0x5c750a,_0x1729ab,_0x35bab3,_0x178fb6,_0x503cca,_0x22f094){const _0x311ea3=_0xd0c6e1;super(),I(this,_0x311ea3(0x317),new M[(_0x311ea3(0x30e))](!0x1)),I(this,_0x311ea3(0x2cd),new M[(_0x311ea3(0x30e))]({})),I(this,_0x311ea3(0x26f),new M['BehaviorSubject']({})),I(this,_0x311ea3(0x2a9),new M['BehaviorSubject']('')),I(this,_0x311ea3(0x200),async _0x3f7417=>{const _0x340035=_0x311ea3;var _0x15fdb0,_0x168adc;this[_0x340035(0x317)][_0x340035(0x230)](!0x0);try{const _0x3841b3=await this[_0x340035(0x23d)](_0x3f7417);if(!_0x3841b3[_0x340035(0x2ac)]){this[_0x340035(0x292)]['show']({'type':f[_0x340035(0x2dd)][_0x340035(0x311)],'content':_0x3841b3[_0x340035(0x1cb)]||this['_localeService']['t'](_0x340035(0x1df))});return;}_0x3f7417[_0x340035(0x256)]?await this[_0x340035(0x2f4)][_0x340035(0x29f)](O,_0x3f7417['apiKey'][_0x340035(0x2c9)]()):await this[_0x340035(0x2f4)]['removeItem'](O),this[_0x340035(0x2a9)][_0x340035(0x230)](((_0x15fdb0=_0x3f7417[_0x340035(0x256)])==null?void 0x0:_0x15fdb0['trim']())||''),this[_0x340035(0x29c)][_0x340035(0x30f)]({'Authorization':_0x340035(0x2d8)+((_0x168adc=_0x3f7417[_0x340035(0x256)])==null?void 0x0:_0x168adc[_0x340035(0x2c9)]())}),this[_0x340035(0x292)][_0x340035(0x2b4)]({'type':f[_0x340035(0x2dd)]['Success'],'content':this[_0x340035(0x2f2)]['t'](_0x340035(0x2d6))}),setTimeout(()=>{const _0x27a087=_0x340035;this[_0x27a087(0x1da)][_0x27a087(0x2a5)](D);},0x320);}catch(_0x21cc3a){this[_0x340035(0x2df)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x21cc3a),this['_messageService'][_0x340035(0x2b4)]({'type':f[_0x340035(0x2dd)]['Error'],'content':this['_localeService']['t'](_0x340035(0x2c4))});}finally{this[_0x340035(0x317)][_0x340035(0x230)](!0x1);}}),(this[_0x311ea3(0x2a7)]=_0x4f9fa0,this[_0x311ea3(0x251)]=_0x4365a2,this[_0x311ea3(0x1b0)]=_0x113776,this[_0x311ea3(0x2f4)]=_0x150257,this[_0x311ea3(0x1da)]=_0x5c750a,this['_messageService']=_0x1729ab,this[_0x311ea3(0x204)]=_0x35bab3,this['_localeService']=_0x178fb6,this[_0x311ea3(0x2df)]=_0x503cca,this[_0x311ea3(0x29c)]=_0x22f094,this[_0x311ea3(0x1ea)](),this[_0x311ea3(0x2bc)](),this[_0x311ea3(0x2b9)]());}[_0xd0c6e1(0x2aa)](){const _0x2d91e2=_0xd0c6e1,_0x227e50=this['_configService']['getConfig'](P);_0x227e50!=null&&_0x227e50[_0x2d91e2(0x25c)]&&this[_0x2d91e2(0x1da)][_0x2d91e2(0x28e)]({'id':D,'title':{'title':this[_0x2d91e2(0x2f2)]['t'](_0x2d91e2(0x207))},'children':{'label':_0x2d91e2(0x237)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x26ead0=_0x2d91e2;this['_dialogService'][_0x26ead0(0x2a5)](D);}});}[_0xd0c6e1(0x1f5)](){const _0x3295e7=_0xd0c6e1;return this[_0x3295e7(0x2cd)]['value'];}[_0xd0c6e1(0x2b9)](){const _0x21e913=_0xd0c6e1;this[_0x21e913(0x290)](this[_0x21e913(0x204)][_0x21e913(0x315)](_0x21e913(0x237),this[_0x21e913(0x2eb)]()));}[_0xd0c6e1(0x2eb)](){const _0x4b4595=_0xd0c6e1;return v[_0x4b4595(0x1f3)](()=>{const _0x39ebae=_0x4b4595;var _0x217554,_0x7161a5,_0x144505;return i[_0x39ebae(0x306)](V,{'config':this[_0x39ebae(0x26f)][_0x39ebae(0x2d5)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x39ebae(0x2d5)],'currentApiKey$':this[_0x39ebae(0x2a9)],'onSave':this['_handleConfigSave'],'loading':this['_loading$'][_0x39ebae(0x2d5)],'connectionStatus$':(_0x217554=this[_0x39ebae(0x29c)])==null?void 0x0:_0x217554[_0x39ebae(0x2bd)],'connectionError$':(_0x7161a5=this[_0x39ebae(0x29c)])==null?void 0x0:_0x7161a5[_0x39ebae(0x1ca)],'currentSessionId$':(_0x144505=this['_mcpConnectionController'])==null?void 0x0:_0x144505[_0x39ebae(0x244)]});},this[_0x4b4595(0x2a7)]);}[_0xd0c6e1(0x1ea)](){const _0x963fa1=_0xd0c6e1;this['disposeWithMe'](this['_configService'][_0x963fa1(0x214)](s['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x4d092d=>{const _0x57965b=_0x963fa1;this[_0x57965b(0x2cd)][_0x57965b(0x230)](_0x4d092d||{});}));const _0x48beb2=this[_0x963fa1(0x1b0)][_0x963fa1(0x218)](s[_0x963fa1(0x26e)]);this[_0x963fa1(0x2cd)][_0x963fa1(0x230)](_0x48beb2||{}),this[_0x963fa1(0x290)](this[_0x963fa1(0x1b0)][_0x963fa1(0x214)](P)['subscribe'](_0x13e53b=>{const _0x59435e=_0x963fa1;this['_config$'][_0x59435e(0x230)](_0x13e53b||{});}));const _0x5e43b1=this[_0x963fa1(0x1b0)][_0x963fa1(0x218)](P);this['_config$'][_0x963fa1(0x230)](_0x5e43b1||{});}async[_0xd0c6e1(0x2bc)](){const _0x35a75b=_0xd0c6e1,_0xed0e4f=this[_0x35a75b(0x1b0)]['getConfig'](P);if(!(_0xed0e4f!=null&&_0xed0e4f[_0x35a75b(0x25c)]))return;const _0x40e355=await this['_localStorageService']['getItem'](O);_0x40e355&&(this[_0x35a75b(0x29c)][_0x35a75b(0x30f)]({'Authorization':'Bearer\x20'+_0x40e355}),this[_0x35a75b(0x2a9)][_0x35a75b(0x230)](_0x40e355));}async['_validateConfig'](_0x2ae388){const _0x5bd1fc=_0xd0c6e1;if(!_0x2ae388[_0x5bd1fc(0x256)]||_0x2ae388[_0x5bd1fc(0x256)][_0x5bd1fc(0x2c9)]()[_0x5bd1fc(0x30a)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5bd1fc(0x2f2)]['t'](_0x5bd1fc(0x1b4))};if(_0x2ae388[_0x5bd1fc(0x256)]['trim']()[_0x5bd1fc(0x30a)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5bd1fc(0x2f2)]['t'](_0x5bd1fc(0x1de))};try{const _0x1e4fe5=await this[_0x5bd1fc(0x2a7)][_0x5bd1fc(0x1ec)](s[_0x5bd1fc(0x222)])[_0x5bd1fc(0x1aa)](_0x2ae388[_0x5bd1fc(0x256)][_0x5bd1fc(0x2c9)]());return _0x1e4fe5[_0x5bd1fc(0x2ac)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1e4fe5['error']||this[_0x5bd1fc(0x2f2)]['t'](_0x5bd1fc(0x2d2))};}catch(_0x2e40bd){return console[_0x5bd1fc(0x269)](_0x5bd1fc(0x221),_0x2e40bd),{'isValid':!0x0};}}},exports[_0xd0c6e1(0x1d9)]=xe([g(0x0,u[_0xd0c6e1(0x2a3)](u[_0xd0c6e1(0x23b)])),g(0x1,v[_0xd0c6e1(0x245)]),g(0x2,u[_0xd0c6e1(0x310)]),g(0x3,u[_0xd0c6e1(0x1a4)]),g(0x4,v['IDialogService']),g(0x5,v[_0xd0c6e1(0x31c)]),g(0x6,u['Inject'](v[_0xd0c6e1(0x2ce)])),g(0x7,u[_0xd0c6e1(0x2a3)](u[_0xd0c6e1(0x1dc)])),g(0x8,u[_0xd0c6e1(0x1d5)]),g(0x9,u[_0xd0c6e1(0x2a3)](s[_0xd0c6e1(0x222)]))],exports[_0xd0c6e1(0x1d9)]);const b={'id':_0xd0c6e1(0x1d2),'type':u['CommandType'][_0xd0c6e1(0x30b)],'handler':async(_0x7ec166,_0x494769)=>(_0x7ec166['get'](exports[_0xd0c6e1(0x1d9)])[_0xd0c6e1(0x2aa)](),!0x0)};function Z(_0x25d01b,_0xfbdbb7){const _0x2109de=_0xd0c6e1;switch(_0x25d01b){case s[_0x2109de(0x21c)][_0x2109de(0x2cb)]:return _0x2109de(0x2bf);case s[_0x2109de(0x21c)][_0x2109de(0x22a)]:return _0x2109de(0x2c8);case s['MCPConnectionStatus']['CONNECTED']:return _0x2109de(0x300);case s['MCPConnectionStatus'][_0x2109de(0x1ac)]:switch(_0xfbdbb7){case s[_0x2109de(0x2dc)][_0x2109de(0x22e)]:return _0x2109de(0x20e);case s['MCPConnectionError'][_0x2109de(0x234)]:return _0x2109de(0x20f);case s[_0x2109de(0x2dc)]['NETWORK_ERROR']:return _0x2109de(0x2ab);case s['MCPConnectionError'][_0x2109de(0x283)]:return _0x2109de(0x1e5);default:return _0x2109de(0x2d0);}case s[_0x2109de(0x21c)][_0x2109de(0x1fe)]:return'mcpStatus.retrying';default:return _0x2109de(0x1ab);}}function Se(_0x4ac727,_0xa6f068,_0x5414bf,_0x2163b7=!0x0){const _0x1bdb1f=_0xd0c6e1,_0x2c6299=Z(_0x4ac727,_0xa6f068),_0x28a368=_0x5414bf['t'](_0x2c6299);return _0x2163b7?_0x4ac727===s[_0x1bdb1f(0x21c)]['DISCONNECTED']&&_0xa6f068===s[_0x1bdb1f(0x2dc)][_0x1bdb1f(0x22e)]?_0x28a368+_0x1bdb1f(0x2f8)+_0x5414bf['t']('mcpStatus.clickToConfigure'):_0x4ac727===s[_0x1bdb1f(0x21c)][_0x1bdb1f(0x1f6)]?''+_0x28a368:_0x4ac727===s[_0x1bdb1f(0x21c)]['DISCONNECTED']||_0x4ac727===s[_0x1bdb1f(0x21c)]['FAILED']?_0x28a368+_0x1bdb1f(0x2f8)+_0x5414bf['t']('mcpStatus.clickToConnect'):_0x28a368:_0x28a368;}function Pe(_0x4203f8){const _0xad12d1=_0xd0c6e1;switch(_0x4203f8){case s['MCPConnectionStatus'][_0xad12d1(0x1f6)]:return _0xad12d1(0x2d4);case s['MCPConnectionStatus']['CONNECTING']:case s[_0xad12d1(0x21c)][_0xad12d1(0x1fe)]:return _0xad12d1(0x1b1);case s['MCPConnectionStatus'][_0xad12d1(0x1ac)]:case s['MCPConnectionStatus'][_0xad12d1(0x2cb)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function W(_0x50dcbd){const _0x4b508b=_0xd0c6e1,{status$:_0x5dd0e6,error$:_0x4f0c60,onConfigure:_0x5cd66a,showClickable:_0x5c924e=!0x0}=_0x50dcbd,_0x3d83ab=v['useObservable'](_0x5dd0e6,s[_0x4b508b(0x21c)][_0x4b508b(0x2cb)]),_0x278794=v[_0x4b508b(0x1f2)](_0x4f0c60,s['MCPConnectionError']['NONE']),_0x534f62=v[_0x4b508b(0x249)](u[_0x4b508b(0x1dc)]),_0x1d23c5=_0x3d83ab===s['MCPConnectionStatus'][_0x4b508b(0x1f6)];_0x3d83ab===s[_0x4b508b(0x21c)][_0x4b508b(0x22a)]||s[_0x4b508b(0x21c)][_0x4b508b(0x1fe)];const _0x4f9fed=_0x534f62['t'](Z(_0x3d83ab,_0x278794)),_0x422ba8=Se(_0x3d83ab,_0x278794,_0x534f62,_0x5c924e),_0x568f5c=Pe(_0x3d83ab),_0x1efdf9=_0x1d23c5?i[_0x4b508b(0x306)](q,{}):i[_0x4b508b(0x306)](Y,{}),_0x172bda=d['useCallback'](()=>{_0x5c924e&&_0x5cd66a&&_0x5cd66a();},[_0x5c924e,_0x5cd66a]);function _0x402773(){const _0x56d6e4=_0x4b508b;return i['jsxs'](_0x56d6e4(0x30d),{'className':f[_0x56d6e4(0x25b)](_0x56d6e4(0x2e9),_0x5c924e&&_0x5cd66a&&_0x56d6e4(0x1f8)),'role':'button','onClick':_0x5c924e&&_0x5cd66a?_0x172bda:void 0x0,'children':[i[_0x56d6e4(0x306)](_0x56d6e4(0x30d),{'className':f['clsx'](_0x56d6e4(0x31f),_0x568f5c),'children':_0x1efdf9}),i[_0x56d6e4(0x306)](_0x56d6e4(0x30d),{'className':_0x56d6e4(0x261),'children':_0x4f9fed})]});}return i[_0x4b508b(0x306)](f[_0x4b508b(0x262)],{'title':_0x422ba8,'placement':'bottom','children':_0x402773()});}function _0x3d2c(_0x8df324,_0x57ff0f){_0x8df324=_0x8df324-0x1a3;const _0xc68e94=_0xc68e();let _0x3d2c14=_0xc68e94[_0x8df324];return _0x3d2c14;}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x5a2971,_0x2fc9d0,_0x54689c,_0x5d24cd)=>{const _0x2cb7a5=_0xd0c6e1;for(var _0x344e45=_0x5d24cd>0x1?void 0x0:_0x5d24cd?Ie(_0x2fc9d0,_0x54689c):_0x2fc9d0,_0xabc56d=_0x5a2971[_0x2cb7a5(0x30a)]-0x1,_0x8824d4;_0xabc56d>=0x0;_0xabc56d--)(_0x8824d4=_0x5a2971[_0xabc56d])&&(_0x344e45=_0x8824d4(_0x344e45)||_0x344e45);return _0x344e45;},N=(_0x5d4cdb,_0x37fe1f)=>(_0x1b9794,_0x1b6eec)=>_0x37fe1f(_0x1b9794,_0x1b6eec,_0x5d4cdb);exports['MCPConnectionUIController']=class extends u[_0xd0c6e1(0x257)]{constructor(_0x225845,_0x2cdef5,_0x547376,_0x22c432){const _0x98c4c6=_0xd0c6e1;super(),this[_0x98c4c6(0x2a7)]=_0x225845,this[_0x98c4c6(0x217)]=_0x2cdef5,this[_0x98c4c6(0x251)]=_0x547376,this[_0x98c4c6(0x1b0)]=_0x22c432,this['_initAutoConnect'](),this[_0x98c4c6(0x209)]();}[_0xd0c6e1(0x285)](){const _0x2a4598=_0xd0c6e1,_0x182c2b=this[_0x2a4598(0x1b0)][_0x2a4598(0x218)](P);_0x182c2b!=null&&_0x182c2b[_0x2a4598(0x25c)]&&(this['_connectionController'][_0x2a4598(0x2c7)]=!0x1);}[_0xd0c6e1(0x209)](){const _0xeb0175=_0xd0c6e1,_0x2c88e9=this[_0xeb0175(0x1b0)][_0xeb0175(0x218)](P);(_0x2c88e9==null?void 0x0:_0x2c88e9[_0xeb0175(0x1ce)])!==!0x1&&this['disposeWithMe'](this[_0xeb0175(0x251)][_0xeb0175(0x205)](v['BuiltInUIPart'][_0xeb0175(0x24a)],()=>{const _0xcda6e1=_0xeb0175;var _0x29205e;return v[_0xcda6e1(0x1f3)](ye({'status$':this['_connectionController'][_0xcda6e1(0x2bd)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this[_0xcda6e1(0x282)](),'showClickable':(_0x29205e=_0x2c88e9==null?void 0x0:_0x2c88e9[_0xcda6e1(0x25c)])!=null?_0x29205e:!0x1}),this[_0xcda6e1(0x2a7)]);}));}['_handleConfigure'](){const _0xd31a08=_0xd0c6e1;this['_injector']['get'](exports['MCPConfigUIController'])[_0xd31a08(0x2aa)]();}},exports[_0xd0c6e1(0x1e7)]=_e([N(0x0,u['Inject'](u[_0xd0c6e1(0x23b)])),N(0x1,u[_0xd0c6e1(0x2a3)](s[_0xd0c6e1(0x222)])),N(0x2,v[_0xd0c6e1(0x245)]),N(0x3,u[_0xd0c6e1(0x310)])],exports[_0xd0c6e1(0x1e7)]);function ye(_0x59a7ae){const {status$:_0xb6ec2c,error$:_0x5df24d,onConfigure:_0x457add,showClickable:_0x293618}=_0x59a7ae;return function(){const _0x4eb4e7=_0x3d2c;return i[_0x4eb4e7(0x306)](W,{'status$':_0xb6ec2c,'error$':_0x5df24d,'onConfigure':_0x457add,'showClickable':_0x293618});};}function Me(_0x1791c4){const _0x1773d3=_0xd0c6e1;return{'id':b['id'],'type':v['MenuItemType'][_0x1773d3(0x31d)],'icon':_0x1773d3(0x27c),'title':_0x1773d3(0x207),'tooltip':'mcpConfig.title'};}const Ne={[v['RibbonStartGroup']['OTHERS']]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0xd0c6e1(0x1d4)],je=(_0x1ddf9f,_0x1c42fa,_0x452a78,_0x21d5c5)=>{for(var _0x69fa86=_0x21d5c5>0x1?void 0x0:_0x21d5c5?be(_0x1c42fa,_0x452a78):_0x1c42fa,_0x324281=_0x1ddf9f['length']-0x1,_0x51a8a3;_0x324281>=0x0;_0x324281--)(_0x51a8a3=_0x1ddf9f[_0x324281])&&(_0x69fa86=_0x51a8a3(_0x69fa86)||_0x69fa86);return _0x69fa86;},z=(_0x19cf55,_0x3af629)=>(_0xa95110,_0x4fdbe5)=>_0x3af629(_0xa95110,_0x4fdbe5,_0x19cf55);exports[_0xd0c6e1(0x1e2)]=class extends u[_0xd0c6e1(0x257)]{constructor(_0x3cb444,_0x3605b1){const _0x3e5dbd=_0xd0c6e1;super(),this[_0x3e5dbd(0x1e9)]=_0x3cb444,this[_0x3e5dbd(0x2d7)]=_0x3605b1,this[_0x3e5dbd(0x23e)](),this['_initializeMenus']();}['_initializeCommands'](){const _0x57387d=_0xd0c6e1;[b][_0x57387d(0x31b)](_0x13f6a3=>{const _0xb5d65f=_0x57387d;this[_0xb5d65f(0x290)](this[_0xb5d65f(0x1e9)][_0xb5d65f(0x294)](_0x13f6a3));});}['_initializeMenus'](){const _0x2f2bfe=_0xd0c6e1;this[_0x2f2bfe(0x2d7)][_0x2f2bfe(0x224)](Ne);}},exports[_0xd0c6e1(0x1e2)]=je([z(0x0,u[_0xd0c6e1(0x1ad)]),z(0x1,v[_0xd0c6e1(0x1cf)])],exports[_0xd0c6e1(0x1e2)]);const Ee={'mcpStatus':{'disconnected':_0xd0c6e1(0x1fa),'connecting':_0xd0c6e1(0x27b),'connected':_0xd0c6e1(0x279),'failed':_0xd0c6e1(0x312),'retrying':'MCP\x20Retrying...','unknown':_0xd0c6e1(0x1f4),'unauthorized':_0xd0c6e1(0x2de),'sessionOccupied':_0xd0c6e1(0x1be),'networkError':_0xd0c6e1(0x247),'maxRetriesExceeded':_0xd0c6e1(0x1fd),'clickToConnect':_0xd0c6e1(0x2c0),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xd0c6e1(0x1c2),'apiKey':_0xd0c6e1(0x2fe),'apiKeyPlaceholder':_0xd0c6e1(0x2fc),'apiKeyHint':_0xd0c6e1(0x271),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0xd0c6e1(0x2d9),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xd0c6e1(0x22b),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0xd0c6e1(0x2e8),'configStep2':_0xd0c6e1(0x2e6),'configStep3':_0xd0c6e1(0x265),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xd0c6e1(0x316),'configParameters':_0xd0c6e1(0x20b),'maxRetries':_0xd0c6e1(0x278),'save':_0xd0c6e1(0x238),'saving':_0xd0c6e1(0x24c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xd0c6e1(0x303),'configSaved':_0xd0c6e1(0x29b),'configError':_0xd0c6e1(0x203),'apiApplyInfo':{'title':_0xd0c6e1(0x1fb),'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':_0xd0c6e1(0x2c1),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0xd0c6e1(0x281),'apiKeyTooShort':_0xd0c6e1(0x25d),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xd0c6e1(0x275)},'connectionStatus':{'disconnected':_0xd0c6e1(0x2da),'connecting':_0xd0c6e1(0x2ea),'connected':_0xd0c6e1(0x297),'failed':_0xd0c6e1(0x1c9),'retrying':_0xd0c6e1(0x210)},'connectionError':{'unauthorized':_0xd0c6e1(0x2c3),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xd0c6e1(0x24d),'maxRetriesExceeded':_0xd0c6e1(0x248)}}},we={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0xd0c6e1(0x1c8),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':_0xd0c6e1(0x2b6),'sessionOccupied':_0xd0c6e1(0x26d),'networkError':_0xd0c6e1(0x1bb),'maxRetriesExceeded':_0xd0c6e1(0x1a9),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0xd0c6e1(0x314)},'mcpConfig':{'title':_0xd0c6e1(0x236),'description':_0xd0c6e1(0x26b),'apiKey':_0xd0c6e1(0x2b7),'apiKeyPlaceholder':_0xd0c6e1(0x321),'apiKeyHint':_0xd0c6e1(0x2ca),'enableAuth':'启用身份验证','enableAuthHint':_0xd0c6e1(0x1e6),'connectionInfo':_0xd0c6e1(0x227),'mcpClientConfig':_0xd0c6e1(0x227),'configInstructions':_0xd0c6e1(0x27f),'configStepTitle':_0xd0c6e1(0x1f0),'configStep1':_0xd0c6e1(0x308),'configStep2':_0xd0c6e1(0x313),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0xd0c6e1(0x1ef),'authorizationDescription':_0xd0c6e1(0x2e0),'configParameters':_0xd0c6e1(0x1c5),'maxRetries':'最大重试次数','save':_0xd0c6e1(0x23f),'saving':_0xd0c6e1(0x296),'note1':_0xd0c6e1(0x2b1),'note2':_0xd0c6e1(0x2e3),'configSaved':_0xd0c6e1(0x231),'configError':_0xd0c6e1(0x1ee),'apiApplyInfo':{'title':_0xd0c6e1(0x212),'description':_0xd0c6e1(0x20a),'univerAiLabel':_0xd0c6e1(0x264),'getStarted':_0xd0c6e1(0x252)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0xd0c6e1(0x1d0),'invalidApiKey':_0xd0c6e1(0x1a5)},'connectionStatus':{'disconnected':_0xd0c6e1(0x29d),'connecting':_0xd0c6e1(0x1cd),'connected':_0xd0c6e1(0x1cc),'failed':_0xd0c6e1(0x1e8),'retrying':'重连中...'},'connectionError':{'unauthorized':_0xd0c6e1(0x2bb),'sessionOccupied':_0xd0c6e1(0x1b9),'networkError':_0xd0c6e1(0x270),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var Ae=Object[_0xd0c6e1(0x1b5)],Oe=Object['getOwnPropertyDescriptor'],De=(_0x38d7e3,_0x11ed0b,_0x590346)=>_0x11ed0b in _0x38d7e3?Ae(_0x38d7e3,_0x11ed0b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x590346}):_0x38d7e3[_0x11ed0b]=_0x590346,Ue=(_0x323e8a,_0x29ea99,_0x2f168f,_0x382af6)=>{const _0x339488=_0xd0c6e1;for(var _0x12321b=_0x382af6>0x1?void 0x0:_0x382af6?Oe(_0x29ea99,_0x2f168f):_0x29ea99,_0x2ec49b=_0x323e8a[_0x339488(0x30a)]-0x1,_0x48ed35;_0x2ec49b>=0x0;_0x2ec49b--)(_0x48ed35=_0x323e8a[_0x2ec49b])&&(_0x12321b=_0x48ed35(_0x12321b)||_0x12321b);return _0x12321b;},y=(_0x3a7868,_0x46f352)=>(_0x1e791d,_0x4b8101)=>_0x46f352(_0x1e791d,_0x4b8101,_0x3a7868),$e=(_0x3dc61c,_0x549bb5,_0x122108)=>De(_0x3dc61c,_0x549bb5+'',_0x122108);exports[_0xd0c6e1(0x2d1)]=class extends u[_0xd0c6e1(0x287)]{constructor(_0x85e48d=L,_0x23cd6e,_0x1896b9,_0x2502de,_0x304a5c,_0x78d6ab){const _0xfac06=_0xd0c6e1;super(),this[_0xfac06(0x2c5)]=_0x85e48d,this[_0xfac06(0x2a7)]=_0x23cd6e,this[_0xfac06(0x1b0)]=_0x1896b9,this[_0xfac06(0x251)]=_0x2502de,this[_0xfac06(0x2f4)]=_0x304a5c,this[_0xfac06(0x2f2)]=_0x78d6ab;const {..._0x44eff1}=u[_0xfac06(0x2ef)]({},L,this[_0xfac06(0x2c5)]);this[_0xfac06(0x1b0)]['setConfig'](P,_0x44eff1);}async[_0xd0c6e1(0x25e)](){const _0x1a14e8=_0xd0c6e1,_0x558f27=[[exports[_0x1a14e8(0x1e7)]],[exports[_0x1a14e8(0x1d9)]],[exports[_0x1a14e8(0x1e2)]]];this[_0x1a14e8(0x2a7)][_0x1a14e8(0x1f9)](A['ISocketService'])||_0x558f27['push']([A[_0x1a14e8(0x2b0)],{'useClass':A['WebSocketService']}]),_0x558f27['forEach'](_0x1a4946=>this[_0x1a14e8(0x2a7)][_0x1a14e8(0x24f)](_0x1a4946)),this[_0x1a14e8(0x2a7)][_0x1a14e8(0x1ec)](exports[_0x1a14e8(0x1e7)]),this['_injector']['get'](exports[_0x1a14e8(0x1d9)]),this[_0x1a14e8(0x2a7)][_0x1a14e8(0x1ec)](exports['MCPUIMenuController']);}},$e(exports[_0xd0c6e1(0x2d1)],_0xd0c6e1(0x2f7),_0xd0c6e1(0x229)),exports[_0xd0c6e1(0x2d1)]=Ue([u[_0xd0c6e1(0x299)](s['UniverMCPPlugin']),y(0x1,u[_0xd0c6e1(0x2a3)](u['Injector'])),y(0x2,u['IConfigService']),y(0x3,v[_0xd0c6e1(0x245)]),y(0x4,u[_0xd0c6e1(0x1a4)]),y(0x5,u[_0xd0c6e1(0x2a3)](u[_0xd0c6e1(0x1dc)]))],exports[_0xd0c6e1(0x2d1)]),exports[_0xd0c6e1(0x237)]=V,exports[_0xd0c6e1(0x2e5)]=W,exports[_0xd0c6e1(0x260)]=b,exports[_0xd0c6e1(0x258)]=Ee,exports['zhCN']=we;
1
+ 'use strict';function _0x1261(_0x2c0b86,_0xdde69b){_0x2c0b86=_0x2c0b86-0x6e;const _0x2acf6f=_0x2acf();let _0x126130=_0x2acf6f[_0x2c0b86];return _0x126130;}const _0x12d1a6=_0x1261;(function(_0x56a84d,_0x2e10a2){const _0x3997f5=_0x1261,_0x45e3ba=_0x56a84d();while(!![]){try{const _0x1aede6=-parseInt(_0x3997f5(0x175))/0x1+parseInt(_0x3997f5(0x1eb))/0x2+-parseInt(_0x3997f5(0x180))/0x3*(-parseInt(_0x3997f5(0x1a9))/0x4)+parseInt(_0x3997f5(0x7c))/0x5*(-parseInt(_0x3997f5(0xe0))/0x6)+-parseInt(_0x3997f5(0x9a))/0x7*(-parseInt(_0x3997f5(0x81))/0x8)+-parseInt(_0x3997f5(0x165))/0x9+-parseInt(_0x3997f5(0x13c))/0xa;if(_0x1aede6===_0x2e10a2)break;else _0x45e3ba['push'](_0x45e3ba['shift']());}catch(_0x140cb3){_0x45e3ba['push'](_0x45e3ba['shift']());}}}(_0x2acf,0xb3a57));var ae=Object[_0x12d1a6(0x12a)],le=(_0x58717b,_0x4934b2,_0x19188a)=>_0x4934b2 in _0x58717b?ae(_0x58717b,_0x4934b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19188a}):_0x58717b[_0x4934b2]=_0x19188a,I=(_0x8a7cc,_0x4ab4ba,_0x2318bd)=>le(_0x8a7cc,typeof _0x4ab4ba!='symbol'?_0x4ab4ba+'':_0x4ab4ba,_0x2318bd);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});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:_0x49a45b,..._0x39d869}){const _0x43e51b=_0x12d1a6,{icon:_0x216d18,id:_0x2923b,className:_0x138924,extend:_0x44b018,..._0x4a5b34}=_0x39d869,_0x59fc17=(_0x43e51b(0xb6)+_0x2923b+'\x20'+(_0x138924||''))[_0x43e51b(0x1e5)](),_0x46c8c2=d['useRef']('_'+de());return G(_0x216d18,''+_0x2923b,{'defIds':_0x216d18['defIds'],'idSuffix':_0x46c8c2[_0x43e51b(0x10a)]},{'ref':_0x49a45b,'className':_0x59fc17,..._0x4a5b34},_0x44b018);}function G(_0x53759e,_0x2e52fa,_0x397fc0,_0x2d517d,_0x4a85c5){const _0x3d5fcd=_0x12d1a6;return d[_0x3d5fcd(0x122)](_0x53759e[_0x3d5fcd(0xe1)],{'key':_0x2e52fa,...ue(_0x53759e,_0x397fc0,_0x4a85c5),..._0x2d517d},(ve(_0x53759e,_0x397fc0)['children']||[])[_0x3d5fcd(0x114)]((_0x266500,_0x2c312)=>G(_0x266500,_0x2e52fa+'-'+_0x53759e['tag']+'-'+_0x2c312,_0x397fc0,void 0x0,_0x4a85c5)));}function ue(_0x4f4210,_0x3e5f21,_0x4bf4eb){const _0x42a008=_0x12d1a6,_0x1b680c={..._0x4f4210[_0x42a008(0x11f)]};_0x4bf4eb!=null&&_0x4bf4eb['colorChannel1']&&_0x1b680c['fill']==='colorChannel1'&&(_0x1b680c[_0x42a008(0x18f)]=_0x4bf4eb[_0x42a008(0x1a5)]),_0x4f4210['tag']===_0x42a008(0x197)&&_0x1b680c['id']&&(_0x1b680c['id']=_0x1b680c['id']+_0x3e5f21[_0x42a008(0x8e)]),Object[_0x42a008(0xea)](_0x1b680c)[_0x42a008(0x7a)](([_0x18472b,_0x304a00])=>{const _0x42fd93=_0x42a008;_0x18472b==='mask'&&typeof _0x304a00==_0x42fd93(0x16d)&&(_0x1b680c[_0x18472b]=_0x304a00[_0x42fd93(0x91)](/url\(#(.*)\)/,'url(#$1'+_0x3e5f21[_0x42fd93(0x8e)]+')'));});const {defIds:_0x4c6bae}=_0x3e5f21;return!_0x4c6bae||_0x4c6bae[_0x42a008(0x8f)]===0x0||(_0x4f4210['tag']===_0x42a008(0x95)&&_0x1b680c[_0x42a008(0xd1)]&&(_0x1b680c['xlink:href']=_0x1b680c[_0x42a008(0xd1)]+_0x3e5f21[_0x42a008(0x8e)]),Object[_0x42a008(0xea)](_0x1b680c)[_0x42a008(0x7a)](([_0x475a2b,_0xb9705d])=>{const _0x338341=_0x42a008;typeof _0xb9705d=='string'&&(_0x1b680c[_0x475a2b]=_0xb9705d['replace'](/url\(#(.*)\)/,_0x338341(0x1d6)+_0x3e5f21[_0x338341(0x8e)]+')'));})),_0x1b680c;}function ve(_0xcc2885,_0x8590ff){const _0x32828a=_0x12d1a6;var _0x2b3f44;const {defIds:_0x3d660a}=_0x8590ff;return!_0x3d660a||_0x3d660a[_0x32828a(0x8f)]===0x0?_0xcc2885:_0xcc2885[_0x32828a(0xe1)]===_0x32828a(0x71)&&((_0x2b3f44=_0xcc2885[_0x32828a(0xfd)])!=null&&_0x2b3f44[_0x32828a(0x8f)])?{..._0xcc2885,'children':_0xcc2885[_0x32828a(0xfd)][_0x32828a(0x114)](_0x225e04=>typeof _0x225e04[_0x32828a(0x11f)]['id']==_0x32828a(0x16d)&&_0x3d660a&&_0x3d660a['includes'](_0x225e04['attrs']['id'])?{..._0x225e04,'attrs':{..._0x225e04[_0x32828a(0x11f)],'id':_0x225e04['attrs']['id']+_0x8590ff[_0x32828a(0x8e)]}}:_0x225e04)}:_0xcc2885;}function de(){const _0x354731=_0x12d1a6;return Math[_0x354731(0x198)]()[_0x354731(0xe6)](0x24)[_0x354731(0x10e)](0x2,0x8);}_[_0x12d1a6(0x1b9)]=_0x12d1a6(0x6e);const Ce={'tag':_0x12d1a6(0xf4),'attrs':{'xmlns':_0x12d1a6(0xf8),'fill':_0x12d1a6(0xda),'viewBox':_0x12d1a6(0x7b),'width':_0x12d1a6(0x1aa),'height':'1em'},'children':[{'tag':_0x12d1a6(0x1a1),'attrs':{'fill':_0x12d1a6(0x88),'d':_0x12d1a6(0x131),'fillRule':_0x12d1a6(0x181),'clipRule':_0x12d1a6(0x181)}}]},H=d[_0x12d1a6(0x12f)](function(_0x1d7bd3,_0x297f63){const _0x590bdd=_0x12d1a6;return d[_0x590bdd(0x122)](_,Object[_0x590bdd(0x1c8)]({},_0x1d7bd3,{'id':_0x590bdd(0x1a7),'ref':_0x297f63,'icon':Ce}));});H[_0x12d1a6(0x1b9)]=_0x12d1a6(0x148);const ge={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x12d1a6(0xda),'viewBox':'0\x200\x2016\x2016','width':_0x12d1a6(0x1aa),'height':_0x12d1a6(0x1aa)},'children':[{'tag':_0x12d1a6(0x1a1),'attrs':{'fill':'currentColor','d':_0x12d1a6(0xb5)}}]},B=d[_0x12d1a6(0x12f)](function(_0x2b5483,_0x358cd0){const _0x3246eb=_0x12d1a6;return d[_0x3246eb(0x122)](_,Object[_0x3246eb(0x1c8)]({},_0x2b5483,{'id':'close-icon','ref':_0x358cd0,'icon':ge}));});B[_0x12d1a6(0x1b9)]=_0x12d1a6(0xde);const fe={'tag':_0x12d1a6(0xf4),'attrs':{'xmlns':_0x12d1a6(0xf8),'fill':'none','viewBox':_0x12d1a6(0x7b),'width':'1em','height':_0x12d1a6(0x1aa)},'children':[{'tag':_0x12d1a6(0x1a1),'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':_0x12d1a6(0x1a1),'attrs':{'fill':_0x12d1a6(0x88),'d':_0x12d1a6(0x1dc)}},{'tag':'path','attrs':{'fill':_0x12d1a6(0x88),'d':_0x12d1a6(0x163),'fillRule':_0x12d1a6(0x181),'clipRule':_0x12d1a6(0x181)}}]},F=d[_0x12d1a6(0x12f)](function(_0x2abba3,_0x4b2c1c){const _0x2e05ac=_0x12d1a6;return d[_0x2e05ac(0x122)](_,Object[_0x2e05ac(0x1c8)]({},_0x2abba3,{'id':'help-icon','ref':_0x4b2c1c,'icon':fe}));});F['displayName']='HelpIcon';const pe={'tag':_0x12d1a6(0xf4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x12d1a6(0xcb)},'children':[{'tag':_0x12d1a6(0x1a1),'attrs':{'stroke':_0x12d1a6(0x88),'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':_0x12d1a6(0x1bb),'strokeLinejoin':_0x12d1a6(0x1bb),'strokeWidth':1.2}}]},{'tag':_0x12d1a6(0x71),'attrs':{},'children':[{'tag':_0x12d1a6(0x143),'attrs':{'id':_0x12d1a6(0x101)},'children':[{'tag':_0x12d1a6(0x1a1),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Y=d[_0x12d1a6(0x12f)](function(_0x52aaee,_0x327ef8){const _0x29be5f=_0x12d1a6;return d[_0x29be5f(0x122)](_,Object[_0x29be5f(0x1c8)]({},_0x52aaee,{'id':_0x29be5f(0xb7),'ref':_0x327ef8,'icon':pe}));});Y[_0x12d1a6(0x1b9)]=_0x12d1a6(0x93);const he={'tag':_0x12d1a6(0xf4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x12d1a6(0xda),'viewBox':_0x12d1a6(0xac),'width':_0x12d1a6(0x1aa),'height':_0x12d1a6(0x1aa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x12d1a6(0xd0),'strokeLinecap':'round','strokeLinejoin':_0x12d1a6(0x1bb),'strokeWidth':1.2}}]},{'tag':_0x12d1a6(0x71),'attrs':{},'children':[{'tag':_0x12d1a6(0x143),'attrs':{'id':_0x12d1a6(0x18e)},'children':[{'tag':_0x12d1a6(0x1a1),'attrs':{'fill':_0x12d1a6(0xc2),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x12d1a6(0x18e)]},q=d[_0x12d1a6(0x12f)](function(_0x2fd6b0,_0xb72745){const _0x3b98a2=_0x12d1a6;return d[_0x3b98a2(0x122)](_,Object[_0x3b98a2(0x1c8)]({},_0x2fd6b0,{'id':_0x3b98a2(0xfc),'ref':_0xb72745,'icon':he}));});q[_0x12d1a6(0x1b9)]=_0x12d1a6(0xd6);function V(_0x5d7690){const _0x12e32a=_0x12d1a6;var _0x48eeb3,_0xe886cc;const {mcpCoreConfig:_0xa7fee7,onSave:_0x389b99,loading:_0x3b6b46=!0x1,config:_0x2c533b,connectionStatus$:_0x44f153,connectionError$:_0x19ba0a,currentApiKey$:_0xff1b83,currentSessionId$:_0x287b93}=_0x5d7690,_0x575e81=v['useDependency'](u[_0x12e32a(0x1e4)]),_0x926139=v[_0x12e32a(0x14f)](_0x44f153,s[_0x12e32a(0x19a)]['DISCONNECTED']),_0xec4866=v[_0x12e32a(0x14f)](_0x19ba0a,s[_0x12e32a(0x115)]['NONE']),_0x29a39b=v[_0x12e32a(0x14f)](_0x287b93,''),_0x2d1fb4=v['useObservable'](_0xff1b83,''),[_0x5983e7,_0x190417]=d[_0x12e32a(0x90)](_0x2d1fb4||''),_0x708393=!0x0,_0x27812c=_0x2c533b[_0x12e32a(0x109)]&&_0xa7fee7[_0x12e32a(0xee)]&&(_0xa7fee7[_0x12e32a(0xee)][_0x12e32a(0xbb)]('univer.plus')||_0xa7fee7['mcpServerUrl'][_0x12e32a(0xbb)]('univer.ai')),_0x59f29e=(_0x48eeb3=_0xa7fee7[_0x12e32a(0xee)])==null?void 0x0:_0x48eeb3[_0x12e32a(0xbb)](_0x12e32a(0xae)),_0x114f8d=(_0xe886cc=_0xa7fee7[_0x12e32a(0xee)])==null?void 0x0:_0xe886cc['includes'](_0x12e32a(0x1d0)),_0x5946ab=_0x59f29e?'https://console.univer.plus':'https://console.univer.ai',_0x2cf993=_0x2c533b[_0x12e32a(0x109)]&&(_0x59f29e||_0x114f8d),[_0x6ebbc6,_0x472d83]=d[_0x12e32a(0x90)](!_0x5983e7[_0x12e32a(0x1e5)]()),_0x29c241=(_0x4002cd,_0x25e811)=>{const _0x1ea49e=_0x12e32a;if(_0x25e811===s[_0x1ea49e(0x115)]['UNAUTHORIZED'])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x4002cd){case s[_0x1ea49e(0x19a)]['CONNECTED']:return _0x1ea49e(0x125);case s['MCPConnectionStatus'][_0x1ea49e(0x10c)]:case s[_0x1ea49e(0x19a)]['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x1ea49e(0x19a)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x1ea49e(0xeb);}},_0x3d0d7a=(_0x535c1a,_0x241077)=>{const _0x3ea4f0=_0x12e32a;if(_0x241077===s[_0x3ea4f0(0x115)][_0x3ea4f0(0x17b)])return'univer-bg-red-500';switch(_0x535c1a){case s[_0x3ea4f0(0x19a)][_0x3ea4f0(0x120)]:return _0x3ea4f0(0xa2);case s[_0x3ea4f0(0x19a)][_0x3ea4f0(0x10c)]:case s[_0x3ea4f0(0x19a)][_0x3ea4f0(0x78)]:return _0x3ea4f0(0x1cf);case s[_0x3ea4f0(0x19a)][_0x3ea4f0(0x192)]:return _0x3ea4f0(0x1cb);default:return'univer-bg-gray-500';}},_0x79eefb=_0x53e0cd=>{const _0x4db494=_0x12e32a;switch(_0x53e0cd){case s[_0x4db494(0x19a)][_0x4db494(0x120)]:return _0x575e81['t'](_0x4db494(0xe2));case s[_0x4db494(0x19a)][_0x4db494(0x10c)]:return _0x575e81['t'](_0x4db494(0x14b));case s[_0x4db494(0x19a)]['FAILED']:return _0x575e81['t'](_0x4db494(0x1e2));case s[_0x4db494(0x19a)]['RETRYING']:return _0x575e81['t']('mcpConfig.connectionStatus.retrying');default:return _0x575e81['t'](_0x4db494(0x133));}},_0x48f0d1=_0x4d765d=>{const _0x5922f1=_0x12e32a;switch(_0x4d765d){case s[_0x5922f1(0x115)][_0x5922f1(0x17b)]:return _0x575e81['t'](_0x5922f1(0x98));case s[_0x5922f1(0x115)][_0x5922f1(0x83)]:return _0x575e81['t'](_0x5922f1(0x9b));case s[_0x5922f1(0x115)][_0x5922f1(0x9c)]:return _0x575e81['t'](_0x5922f1(0x190));case s[_0x5922f1(0x115)][_0x5922f1(0x184)]:return _0x575e81['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x2dba01=d[_0x12e32a(0x1b3)](()=>{const _0x117b03={..._0xa7fee7,'apiKey':_0x5983e7['trim'](),'enableAuth':_0x708393};_0x389b99(_0x117b03);},[_0xa7fee7,_0x5983e7,_0x708393,_0x389b99]),_0x4fe8cf=_0x5983e7[_0x12e32a(0x1e5)]()[_0x12e32a(0x8f)]>0x0;return i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':i['jsxs'](_0x12e32a(0x1ad),{'className':_0x12e32a(0x164),'children':[i['jsx'](_0x12e32a(0x1ad),{'className':_0x12e32a(0x154),'children':i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'className':_0x12e32a(0xfa),'children':'⚙'})}),i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'children':i[_0x12e32a(0xe4)]('p',{'className':_0x12e32a(0x1b8),'children':_0x575e81['t'](_0x12e32a(0x18a))})})]})}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x112),'children':[i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':f[_0x12e32a(0x1d5)](_0x12e32a(0xb9),_0x29c241(_0x926139,_0xec4866)),'children':i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':f['clsx'](_0x12e32a(0xc8),_0x3d0d7a(_0x926139,_0xec4866))}),i['jsx'](_0x12e32a(0x9f),{'className':_0x12e32a(0xe3),'children':_0x79eefb(_0x926139)})]})}),_0xec4866!==s['MCPConnectionError']['NONE']&&(_0x926139===s[_0x12e32a(0x19a)][_0x12e32a(0x192)]||_0xec4866===s['MCPConnectionError']['UNAUTHORIZED'])&&i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x1b4),'children':i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'className':_0x12e32a(0xc9),'children':'⚠️'}),i['jsx']('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x48f0d1(_0xec4866)})]})})]}),i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':_0x12e32a(0xec),'children':i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x185),'children':[i['jsxs'](_0x12e32a(0x1ad),{'className':_0x12e32a(0xdc),'children':[i[_0x12e32a(0xdb)](_0x12e32a(0x1cd),{'className':_0x12e32a(0xba),'children':[i[_0x12e32a(0xe4)]('span',{'children':'🔑'}),'\x20',_0x575e81['t'](_0x12e32a(0x195)),i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'className':'univer-text-red-500','children':'*'}),_0x27812c&&i[_0x12e32a(0xe4)]('a',{'className':'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','title':_0x575e81['t'](_0x12e32a(0x11c)),'role':_0x12e32a(0x14a),'onClick':()=>_0x472d83(!0x0),'children':i[_0x12e32a(0xe4)](F,{})})]}),i[_0x12e32a(0xe4)](f[_0x12e32a(0x12d)],{'type':_0x12e32a(0x110),'placeholder':_0x575e81['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x5983e7,'disabled':_0x3b6b46,'autoComplete':_0x12e32a(0x169),'onChange':_0x190417}),i['jsx']('p',{'className':_0x12e32a(0xef),'children':_0x575e81['t'](_0x12e32a(0xe9))})]}),_0x27812c&&_0x6ebbc6&&i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x158),'children':[i[_0x12e32a(0xe4)]('a',{'className':_0x12e32a(0x1e9),'role':_0x12e32a(0x14a),'onClick':()=>_0x472d83(!0x1),'children':i[_0x12e32a(0xe4)](B,{'className':_0x12e32a(0x18b)})}),i[_0x12e32a(0xdb)]('div',{'className':_0x12e32a(0x162),'children':[i['jsx'](_0x12e32a(0x1ad),{'className':_0x12e32a(0x117),'children':i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'className':'univer-text-blue-600','children':'🚀'})}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':'univer-flex-1','children':[i[_0x12e32a(0xe4)]('h4',{'className':_0x12e32a(0x76),'children':_0x575e81['t']('mcpConfig.apiApplyInfo.title')}),i[_0x12e32a(0xe4)]('p',{'className':_0x12e32a(0xcd),'children':_0x575e81['t'](_0x12e32a(0x74))}),i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x2cf993&&i['jsxs']('a',{'className':_0x12e32a(0x77),'href':_0x5946ab,'target':'_blank','rel':_0x12e32a(0x1df),'children':[i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'children':'🤖'}),_0x575e81['t']('mcpConfig.apiApplyInfo.univerAiLabel'),i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'className':_0x12e32a(0x97),'children':'↗'})]})}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x172),'children':['✨','\x20',_0x575e81['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2c533b[_0x12e32a(0x109)]&&i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x186),'children':[i[_0x12e32a(0xdb)]('h4',{'className':_0x12e32a(0x142),'children':[i[_0x12e32a(0xe4)]('span',{'children':'🔗'}),'\x20',_0x575e81['t'](_0x12e32a(0x11e))]}),i['jsxs'](_0x12e32a(0x1ad),{'className':_0x12e32a(0x85),'children':[i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':'univer-space-y-3','children':[i['jsx']('p',{'className':_0x12e32a(0x106),'children':_0x575e81['t']('mcpConfig.configInstructions')}),i['jsxs'](_0x12e32a(0x1ad),{'className':_0x12e32a(0xdc),'children':[i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x87),'children':_0x575e81['t'](_0x12e32a(0xd5))}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x129),'children':[i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x134),'children':[i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'className':'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','children':'1'}),_0x575e81['t'](_0x12e32a(0x149))]}),i['jsxs']('div',{'className':_0x12e32a(0x134),'children':[i['jsx']('span',{'className':_0x12e32a(0x13d),'children':'2'}),_0x575e81['t'](_0x12e32a(0x12e))]}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x134),'children':[i['jsx']('span',{'className':_0x12e32a(0x13d),'children':'3'}),_0x575e81['t'](_0x12e32a(0x8d))]})]})]})]}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0xdc),'children':[i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x12e32a(0x119)}),i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':_0x12e32a(0xcc),'children':i['jsx'](_0x12e32a(0x1c1),{'className':_0x12e32a(0xf1),'children':JSON[_0x12e32a(0xf0)]({'mcpServers':{'univer':{'url':_0x12e32a(0x152)+(_0x29a39b||_0x12e32a(0xc0)),'type':_0x12e32a(0xa0),'headers':{'Authorization':_0x12e32a(0xd7)+(_0x5983e7||'<API_KEY>')}}}},null,0x2)})})]}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x6f),'children':[i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x87),'children':_0x575e81['t'](_0x12e32a(0x160))}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0xdc),'children':[i['jsxs']('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x12e32a(0xe4)]('div',{'className':_0x12e32a(0x92)}),i[_0x12e32a(0xdb)]('div',{'className':_0x12e32a(0x16e),'children':[i['jsx'](_0x12e32a(0x1ad),{'className':_0x12e32a(0xbf),'children':_0x12e32a(0x178)}),i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x575e81['t'](_0x12e32a(0x124))})]})]}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0xc7),'children':[i['jsx']('div',{'className':_0x12e32a(0x92)}),i['jsxs'](_0x12e32a(0x1ad),{'className':_0x12e32a(0x16e),'children':[i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':_0x12e32a(0xbf),'children':_0x12e32a(0x1d4)}),i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':_0x12e32a(0xef),'children':_0x575e81['t'](_0x12e32a(0x193))})]})]})]})]})]})]}),i[_0x12e32a(0xe4)](f[_0x12e32a(0x16c)],{'onClick':_0x2dba01,'disabled':!_0x4fe8cf||_0x3b6b46,'className':_0x12e32a(0x17e),'children':_0x3b6b46?i[_0x12e32a(0xdb)](_0x12e32a(0x9f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'children':'⟲'}),_0x575e81['t'](_0x12e32a(0xd8))]}):i[_0x12e32a(0xdb)](_0x12e32a(0x9f),{'className':_0x12e32a(0x134),'children':[i[_0x12e32a(0xe4)](H,{}),_0x575e81['t'](_0x12e32a(0x17c))]})}),i[_0x12e32a(0xe4)](_0x12e32a(0x1ad),{'className':_0x12e32a(0xf7),'children':i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x166),'children':[i[_0x12e32a(0xe4)](_0x12e32a(0x9f),{'className':_0x12e32a(0x1b6),'children':'💡'}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'className':_0x12e32a(0x199),'children':[i['jsx'](_0x12e32a(0x1ad),{'className':_0x12e32a(0x1ac),'children':_0x12e32a(0x1b2)}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'children':['•',_0x575e81['t']('mcpConfig.note1')]}),i[_0x12e32a(0xdb)](_0x12e32a(0x1ad),{'children':['•',_0x575e81['t'](_0x12e32a(0x15f))]})]})]})})]})})]});}const P=_0x12d1a6(0xb2),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x12d1a6(0x12c)],xe=(_0x40622b,_0xbd9f8c,_0xa4e8b9,_0x1cf762)=>{for(var _0x312355=_0x1cf762>0x1?void 0x0:_0x1cf762?me(_0xbd9f8c,_0xa4e8b9):_0xbd9f8c,_0x294c77=_0x40622b['length']-0x1,_0x536237;_0x294c77>=0x0;_0x294c77--)(_0x536237=_0x40622b[_0x294c77])&&(_0x312355=_0x536237(_0x312355)||_0x312355);return _0x312355;},g=(_0x3acec3,_0x1e4da9)=>(_0x515bb9,_0x2c276f)=>_0x1e4da9(_0x515bb9,_0x2c276f,_0x3acec3);const O=_0x12d1a6(0x147),D=_0x12d1a6(0x15e);exports['MCPConfigUIController']=class extends u['Disposable']{constructor(_0x3eb376,_0x49c2e0,_0x2b5177,_0x2bccf8,_0x5ca3ae,_0x91b192,_0x4b9c24,_0x59f576,_0x1e399d,_0x1a630d){const _0x29bca4=_0x12d1a6;super(),I(this,_0x29bca4(0x15d),new M[(_0x29bca4(0x108))](!0x1)),I(this,_0x29bca4(0x13f),new M['BehaviorSubject']({})),I(this,_0x29bca4(0x12b),new M[(_0x29bca4(0x108))]({})),I(this,_0x29bca4(0x1c7),new M[(_0x29bca4(0x108))]('')),I(this,_0x29bca4(0x19d),async _0x361c02=>{const _0x5be5a0=_0x29bca4;var _0xaac888,_0x43245e;this[_0x5be5a0(0x15d)][_0x5be5a0(0x11b)](!0x0);try{const _0xfd7e24=await this['_validateConfig'](_0x361c02);if(!_0xfd7e24[_0x5be5a0(0xb8)]){this[_0x5be5a0(0x128)][_0x5be5a0(0xe5)]({'type':f['MessageType'][_0x5be5a0(0x72)],'content':_0xfd7e24[_0x5be5a0(0x14e)]||this[_0x5be5a0(0x1d8)]['t'](_0x5be5a0(0x7f))});return;}_0x361c02[_0x5be5a0(0x1b5)]?await this['_localStorageService'][_0x5be5a0(0xa5)](O,_0x361c02[_0x5be5a0(0x1b5)][_0x5be5a0(0x1e5)]()):await this[_0x5be5a0(0xad)][_0x5be5a0(0xa3)](O),this[_0x5be5a0(0x1c7)][_0x5be5a0(0x11b)](((_0xaac888=_0x361c02[_0x5be5a0(0x1b5)])==null?void 0x0:_0xaac888['trim']())||''),this['_mcpConnectionController'][_0x5be5a0(0x156)]({'Authorization':_0x5be5a0(0xd7)+((_0x43245e=_0x361c02[_0x5be5a0(0x1b5)])==null?void 0x0:_0x43245e[_0x5be5a0(0x1e5)]())}),this[_0x5be5a0(0x128)]['show']({'type':f[_0x5be5a0(0x1c9)]['Success'],'content':this[_0x5be5a0(0x1d8)]['t'](_0x5be5a0(0x1db))}),setTimeout(()=>{const _0x1bfd22=_0x5be5a0;this[_0x1bfd22(0xa1)][_0x1bfd22(0x145)](D);},0x320);}catch(_0x12a551){this['_logService'][_0x5be5a0(0x1a3)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x12a551),this[_0x5be5a0(0x128)][_0x5be5a0(0xe5)]({'type':f[_0x5be5a0(0x1c9)][_0x5be5a0(0x72)],'content':this[_0x5be5a0(0x1d8)]['t'](_0x5be5a0(0x151))});}finally{this[_0x5be5a0(0x15d)][_0x5be5a0(0x11b)](!0x1);}}),(this[_0x29bca4(0x1ab)]=_0x3eb376,this['_uiPartsService']=_0x49c2e0,this['_configService']=_0x2b5177,this[_0x29bca4(0xad)]=_0x2bccf8,this['_dialogService']=_0x5ca3ae,this[_0x29bca4(0x128)]=_0x91b192,this[_0x29bca4(0x1c3)]=_0x4b9c24,this[_0x29bca4(0x1d8)]=_0x59f576,this[_0x29bca4(0x179)]=_0x1e399d,this['_mcpConnectionController']=_0x1a630d,this[_0x29bca4(0xaf)](),this[_0x29bca4(0x111)](),this[_0x29bca4(0x189)]());}[_0x12d1a6(0x8c)](){const _0x48e8b4=_0x12d1a6,_0x4cff30=this[_0x48e8b4(0x17d)]['getConfig'](P);_0x4cff30!=null&&_0x4cff30[_0x48e8b4(0x109)]&&this['_dialogService'][_0x48e8b4(0x173)]({'id':D,'title':{'title':this[_0x48e8b4(0x1d8)]['t'](_0x48e8b4(0x1af))},'children':{'label':_0x48e8b4(0x113)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x2db4e3=_0x48e8b4;this[_0x2db4e3(0xa1)][_0x2db4e3(0x145)](D);}});}[_0x12d1a6(0xdd)](){const _0x41220f=_0x12d1a6;return this[_0x41220f(0x13f)][_0x41220f(0x1ce)];}[_0x12d1a6(0x189)](){const _0x5d94a7=_0x12d1a6;this[_0x5d94a7(0x89)](this['_componentManager'][_0x5d94a7(0x144)](_0x5d94a7(0x113),this['_createConfigPanelComponent']()));}[_0x12d1a6(0xe7)](){const _0x55203f=_0x12d1a6;return v[_0x55203f(0x139)](()=>{const _0x204cf3=_0x55203f;var _0x3774a5,_0x349073,_0x5ce6ff;return i[_0x204cf3(0xe4)](V,{'config':this[_0x204cf3(0x12b)][_0x204cf3(0x1ce)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x204cf3(0x1ce)],'currentApiKey$':this[_0x204cf3(0x1c7)],'onSave':this[_0x204cf3(0x19d)],'loading':this[_0x204cf3(0x15d)]['value'],'connectionStatus$':(_0x3774a5=this[_0x204cf3(0x100)])==null?void 0x0:_0x3774a5['connectionStatus$'],'connectionError$':(_0x349073=this[_0x204cf3(0x100)])==null?void 0x0:_0x349073[_0x204cf3(0x1e3)],'currentSessionId$':(_0x5ce6ff=this[_0x204cf3(0x100)])==null?void 0x0:_0x5ce6ff[_0x204cf3(0x1a2)]});},this['_injector']);}[_0x12d1a6(0xaf)](){const _0x5e2886=_0x12d1a6;this['disposeWithMe'](this[_0x5e2886(0x17d)][_0x5e2886(0xcf)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x5e2886(0xc1)](_0x699ce2=>{const _0x203281=_0x5e2886;this['_mcpCoreConfig$'][_0x203281(0x11b)](_0x699ce2||{});}));const _0x5a61b6=this['_configService']['getConfig'](s['MCP_PLUGIN_CONFIG_KEY']);this[_0x5e2886(0x13f)][_0x5e2886(0x11b)](_0x5a61b6||{}),this['disposeWithMe'](this[_0x5e2886(0x17d)][_0x5e2886(0xcf)](P)[_0x5e2886(0xc1)](_0x3553f2=>{const _0x3fa694=_0x5e2886;this[_0x3fa694(0x12b)]['next'](_0x3553f2||{});}));const _0x3c330b=this[_0x5e2886(0x17d)][_0x5e2886(0x18d)](P);this[_0x5e2886(0x12b)][_0x5e2886(0x11b)](_0x3c330b||{});}async['_loadStoredApiKey'](){const _0x3e670c=_0x12d1a6,_0x4f7af5=this[_0x3e670c(0x17d)]['getConfig'](P);if(!(_0x4f7af5!=null&&_0x4f7af5['showDeveloperTools']))return;const _0x159480=await this[_0x3e670c(0xad)][_0x3e670c(0x14d)](O);_0x159480&&(this[_0x3e670c(0x100)][_0x3e670c(0x156)]({'Authorization':_0x3e670c(0xd7)+_0x159480}),this['_apiKey$'][_0x3e670c(0x11b)](_0x159480));}async[_0x12d1a6(0x1a4)](_0xfe846f){const _0x57a656=_0x12d1a6;if(!_0xfe846f['apiKey']||_0xfe846f[_0x57a656(0x1b5)][_0x57a656(0x1e5)]()[_0x57a656(0x8f)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x57a656(0x1d8)]['t'](_0x57a656(0x1e1))};if(_0xfe846f[_0x57a656(0x1b5)][_0x57a656(0x1e5)]()[_0x57a656(0x8f)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x57a656(0x1d8)]['t'](_0x57a656(0x132))};try{const _0x403e44=await this[_0x57a656(0x1ab)]['get'](s[_0x57a656(0x1bc)])['validateApiKey'](_0xfe846f[_0x57a656(0x1b5)][_0x57a656(0x1e5)]());return _0x403e44[_0x57a656(0xb8)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x403e44['error']||this[_0x57a656(0x1d8)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x3f58e7){return console[_0x57a656(0x161)](_0x57a656(0x1de),_0x3f58e7),{'isValid':!0x0};}}},exports['MCPConfigUIController']=xe([g(0x0,u[_0x12d1a6(0x116)](u[_0x12d1a6(0x14c)])),g(0x1,v[_0x12d1a6(0x121)]),g(0x2,u[_0x12d1a6(0x8a)]),g(0x3,u[_0x12d1a6(0xed)]),g(0x4,v[_0x12d1a6(0xca)]),g(0x5,v[_0x12d1a6(0x13e)]),g(0x6,u[_0x12d1a6(0x116)](v['ComponentManager'])),g(0x7,u[_0x12d1a6(0x116)](u['LocaleService'])),g(0x8,u[_0x12d1a6(0x1c2)]),g(0x9,u[_0x12d1a6(0x116)](s[_0x12d1a6(0x1bc)]))],exports[_0x12d1a6(0x82)]);const b={'id':'mcp-ui.command.openConfigPanel','type':u[_0x12d1a6(0xf2)][_0x12d1a6(0x1ea)],'handler':async(_0x2009ae,_0x4a0e20)=>(_0x2009ae[_0x12d1a6(0x1be)](exports['MCPConfigUIController'])[_0x12d1a6(0x8c)](),!0x0)};function Z(_0x44b3bd,_0x41c767){const _0x2ac6af=_0x12d1a6;switch(_0x44b3bd){case s[_0x2ac6af(0x19a)][_0x2ac6af(0x1c0)]:return _0x2ac6af(0x17a);case s[_0x2ac6af(0x19a)][_0x2ac6af(0x10c)]:return'mcpStatus.connecting';case s[_0x2ac6af(0x19a)]['CONNECTED']:return _0x2ac6af(0x13a);case s[_0x2ac6af(0x19a)]['FAILED']:switch(_0x41c767){case s['MCPConnectionError'][_0x2ac6af(0x17b)]:return _0x2ac6af(0xb1);case s['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x2ac6af(0x19c);case s['MCPConnectionError'][_0x2ac6af(0x9c)]:return _0x2ac6af(0xc5);case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x2ac6af(0xbe);default:return _0x2ac6af(0xff);}case s[_0x2ac6af(0x19a)][_0x2ac6af(0x78)]:return'mcpStatus.retrying';default:return _0x2ac6af(0x96);}}function Se(_0xb1a180,_0x118d4b,_0x5f1940,_0x5186d3=!0x0){const _0x2a632a=_0x12d1a6,_0x3af43a=Z(_0xb1a180,_0x118d4b),_0x23b7c8=_0x5f1940['t'](_0x3af43a);return _0x5186d3?_0xb1a180===s['MCPConnectionStatus'][_0x2a632a(0x1c0)]&&_0x118d4b===s['MCPConnectionError']['UNAUTHORIZED']?_0x23b7c8+_0x2a632a(0x196)+_0x5f1940['t']('mcpStatus.clickToConfigure'):_0xb1a180===s[_0x2a632a(0x19a)][_0x2a632a(0x120)]?''+_0x23b7c8:_0xb1a180===s[_0x2a632a(0x19a)]['DISCONNECTED']||_0xb1a180===s['MCPConnectionStatus'][_0x2a632a(0x192)]?_0x23b7c8+_0x2a632a(0x196)+_0x5f1940['t'](_0x2a632a(0x1ca)):_0x23b7c8:_0x23b7c8;}function Pe(_0x1dc12a){const _0x3c3797=_0x12d1a6;switch(_0x1dc12a){case s['MCPConnectionStatus'][_0x3c3797(0x120)]:return _0x3c3797(0x191);case s[_0x3c3797(0x19a)][_0x3c3797(0x10c)]:case s['MCPConnectionStatus'][_0x3c3797(0x78)]:return _0x3c3797(0x1cc);case s[_0x3c3797(0x19a)][_0x3c3797(0x192)]:case s[_0x3c3797(0x19a)][_0x3c3797(0x1c0)]:return _0x3c3797(0x10f);default:return _0x3c3797(0x102);}}function W(_0x11e69e){const _0x1a2eb1=_0x12d1a6,{status$:_0x5c5405,error$:_0x4dbe0c,onConfigure:_0x2d2383,showClickable:_0x27ac29=!0x0}=_0x11e69e,_0x169ed7=v[_0x1a2eb1(0x14f)](_0x5c5405,s[_0x1a2eb1(0x19a)][_0x1a2eb1(0x1c0)]),_0x1b6e17=v[_0x1a2eb1(0x14f)](_0x4dbe0c,s[_0x1a2eb1(0x115)][_0x1a2eb1(0x1a0)]),_0x3485da=v['useDependency'](u['LocaleService']),_0x59017f=_0x169ed7===s[_0x1a2eb1(0x19a)]['CONNECTED'];_0x169ed7===s[_0x1a2eb1(0x19a)]['CONNECTING']||s[_0x1a2eb1(0x19a)][_0x1a2eb1(0x78)];const _0x15c847=_0x3485da['t'](Z(_0x169ed7,_0x1b6e17)),_0x23a74e=Se(_0x169ed7,_0x1b6e17,_0x3485da,_0x27ac29),_0x565b4b=Pe(_0x169ed7),_0x56bc8c=_0x59017f?i['jsx'](q,{}):i['jsx'](Y,{}),_0x2ee339=d[_0x1a2eb1(0x1b3)](()=>{_0x27ac29&&_0x2d2383&&_0x2d2383();},[_0x27ac29,_0x2d2383]);function _0x322a9b(){const _0x2b5adf=_0x1a2eb1;return i[_0x2b5adf(0xdb)](_0x2b5adf(0x1ad),{'className':f[_0x2b5adf(0x1d5)](_0x2b5adf(0xa4),_0x27ac29&&_0x2d2383&&_0x2b5adf(0x1b1)),'role':_0x2b5adf(0x14a),'onClick':_0x27ac29&&_0x2d2383?_0x2ee339:void 0x0,'children':[i[_0x2b5adf(0xe4)](_0x2b5adf(0x1ad),{'className':f[_0x2b5adf(0x1d5)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x565b4b),'children':_0x56bc8c}),i['jsx'](_0x2b5adf(0x1ad),{'className':_0x2b5adf(0x123),'children':_0x15c847})]});}return i[_0x1a2eb1(0xe4)](f[_0x1a2eb1(0x15a)],{'title':_0x23a74e,'placement':_0x1a2eb1(0x15b),'children':_0x322a9b()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0xd4cec0,_0x45a3c4,_0x503931,_0x663b35)=>{const _0x29987b=_0x12d1a6;for(var _0x21e2d6=_0x663b35>0x1?void 0x0:_0x663b35?Ie(_0x45a3c4,_0x503931):_0x45a3c4,_0x5aeaac=_0xd4cec0[_0x29987b(0x8f)]-0x1,_0x58e33f;_0x5aeaac>=0x0;_0x5aeaac--)(_0x58e33f=_0xd4cec0[_0x5aeaac])&&(_0x21e2d6=_0x58e33f(_0x21e2d6)||_0x21e2d6);return _0x21e2d6;},N=(_0x2fc827,_0xa6cd78)=>(_0x5188a6,_0x556c44)=>_0xa6cd78(_0x5188a6,_0x556c44,_0x2fc827);exports[_0x12d1a6(0x176)]=class extends u[_0x12d1a6(0x183)]{constructor(_0x302817,_0x2fa556,_0x62930,_0x19a1ba){const _0x18b587=_0x12d1a6;super(),this[_0x18b587(0x1ab)]=_0x302817,this[_0x18b587(0x19e)]=_0x2fa556,this[_0x18b587(0x146)]=_0x62930,this[_0x18b587(0x17d)]=_0x19a1ba,this[_0x18b587(0x138)](),this[_0x18b587(0x135)]();}[_0x12d1a6(0x138)](){const _0x2bbbf0=_0x12d1a6,_0x15a596=this[_0x2bbbf0(0x17d)][_0x2bbbf0(0x18d)](P);_0x15a596!=null&&_0x15a596['showDeveloperTools']&&(this[_0x2bbbf0(0x19e)][_0x2bbbf0(0x94)]=!0x1);}[_0x12d1a6(0x135)](){const _0x3a0f4c=_0x12d1a6,_0x35df78=this[_0x3a0f4c(0x17d)][_0x3a0f4c(0x18d)](P);(_0x35df78==null?void 0x0:_0x35df78['showStatus'])!==!0x1&&this['disposeWithMe'](this[_0x3a0f4c(0x146)][_0x3a0f4c(0x171)](v['BuiltInUIPart'][_0x3a0f4c(0xc6)],()=>{const _0x40958c=_0x3a0f4c;var _0x3c37ab;return v[_0x40958c(0x139)](ye({'status$':this[_0x40958c(0x19e)]['connectionStatus$'],'error$':this['_connectionController'][_0x40958c(0x1e3)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x3c37ab=_0x35df78==null?void 0x0:_0x35df78[_0x40958c(0x109)])!=null?_0x3c37ab:!0x1}),this[_0x40958c(0x1ab)]);}));}[_0x12d1a6(0x1e0)](){const _0x231657=_0x12d1a6;this[_0x231657(0x1ab)]['get'](exports[_0x231657(0x82)])[_0x231657(0x8c)]();}},exports['MCPConnectionUIController']=_e([N(0x0,u[_0x12d1a6(0x116)](u['Injector'])),N(0x1,u[_0x12d1a6(0x116)](s['MCPConnectionController'])),N(0x2,v['IUIPartsService']),N(0x3,u[_0x12d1a6(0x8a)])],exports[_0x12d1a6(0x176)]);function ye(_0x2f4d76){const {status$:_0x6dafc0,error$:_0x1b766a,onConfigure:_0x51796a,showClickable:_0x3c32e8}=_0x2f4d76;return function(){const _0x566f3e=_0x1261;return i[_0x566f3e(0xe4)](W,{'status$':_0x6dafc0,'error$':_0x1b766a,'onConfigure':_0x51796a,'showClickable':_0x3c32e8});};}function Me(_0x1ee3de){const _0x3fdbf8=_0x12d1a6;return{'id':b['id'],'type':v[_0x3fdbf8(0xfb)]['BUTTON'],'icon':_0x3fdbf8(0xa9),'title':_0x3fdbf8(0x1af),'tooltip':_0x3fdbf8(0x1af)};}const Ne={[v[_0x12d1a6(0x16f)][_0x12d1a6(0xa8)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object['getOwnPropertyDescriptor'],je=(_0x5666ad,_0x41daaf,_0x3b9851,_0x54a8ef)=>{const _0x41f64b=_0x12d1a6;for(var _0x4a8297=_0x54a8ef>0x1?void 0x0:_0x54a8ef?be(_0x41daaf,_0x3b9851):_0x41daaf,_0x14cfe4=_0x5666ad[_0x41f64b(0x8f)]-0x1,_0x58e4ea;_0x14cfe4>=0x0;_0x14cfe4--)(_0x58e4ea=_0x5666ad[_0x14cfe4])&&(_0x4a8297=_0x58e4ea(_0x4a8297)||_0x4a8297);return _0x4a8297;},z=(_0x28025c,_0x454570)=>(_0x36cabc,_0x51b25c)=>_0x454570(_0x36cabc,_0x51b25c,_0x28025c);exports[_0x12d1a6(0xe8)]=class extends u['Disposable']{constructor(_0xd4cac5,_0x471f9e){const _0x1ac653=_0x12d1a6;super(),this[_0x1ac653(0x105)]=_0xd4cac5,this['_menuManagerService']=_0x471f9e,this[_0x1ac653(0x126)](),this[_0x1ac653(0x155)]();}[_0x12d1a6(0x126)](){const _0x27f17e=_0x12d1a6;[b][_0x27f17e(0x7a)](_0x223f4e=>{const _0x9a3579=_0x27f17e;this['disposeWithMe'](this[_0x9a3579(0x105)]['registerCommand'](_0x223f4e));});}[_0x12d1a6(0x155)](){const _0x2e530b=_0x12d1a6;this[_0x2e530b(0x136)][_0x2e530b(0xdf)](Ne);}},exports['MCPUIMenuController']=je([z(0x0,u[_0x12d1a6(0x70)]),z(0x1,v[_0x12d1a6(0x140)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':_0x12d1a6(0x1a6),'connecting':_0x12d1a6(0xce),'connected':_0x12d1a6(0x1d1),'failed':_0x12d1a6(0xd3),'retrying':_0x12d1a6(0xab),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x12d1a6(0x19b),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x12d1a6(0x1c6),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x12d1a6(0x119),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x12d1a6(0xaa),'apiKeyHint':_0x12d1a6(0x9e),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x12d1a6(0x1bf),'mcpClientConfig':_0x12d1a6(0x1bf),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x12d1a6(0xd4),'configStep1':_0x12d1a6(0x8b),'configStep2':_0x12d1a6(0x99),'configStep3':_0x12d1a6(0x19f),'sessionId':_0x12d1a6(0xf3),'sessionIdDescription':_0x12d1a6(0x1ec),'authorizationDescription':_0x12d1a6(0x177),'configParameters':_0x12d1a6(0xf5),'maxRetries':_0x12d1a6(0x1d2),'save':_0x12d1a6(0x159),'saving':_0x12d1a6(0x1d7),'note1':_0x12d1a6(0xf9),'note2':_0x12d1a6(0x17f),'configSaved':_0x12d1a6(0xa7),'configError':_0x12d1a6(0x18c),'apiApplyInfo':{'title':_0x12d1a6(0x187),'description':_0x12d1a6(0x1a8),'univerAiLabel':_0x12d1a6(0x1ae),'getStarted':_0x12d1a6(0x1d9)},'validation':{'apiKeyRequired':_0x12d1a6(0x11a),'apiKeyTooShort':_0x12d1a6(0x130),'invalidConfig':_0x12d1a6(0x79),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x12d1a6(0x141),'connected':_0x12d1a6(0x84),'failed':'Connection\x20Failed','retrying':_0x12d1a6(0xa6)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x12d1a6(0x11d),'networkError':_0x12d1a6(0x86),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},we={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x12d1a6(0x75),'connected':_0x12d1a6(0x1e6),'failed':_0x12d1a6(0x170),'retrying':'MCP\x20重连中...','unknown':_0x12d1a6(0x1e7),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x12d1a6(0xd9),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x12d1a6(0x10b),'clickToConnect':_0x12d1a6(0xc4),'clickToConfigure':_0x12d1a6(0x107)},'mcpConfig':{'title':_0x12d1a6(0x194),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x12d1a6(0x1c4),'apiKeyPlaceholder':_0x12d1a6(0xb3),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x12d1a6(0x127),'connectionInfo':_0x12d1a6(0x1d3),'mcpClientConfig':_0x12d1a6(0x1d3),'configInstructions':_0x12d1a6(0x137),'configStepTitle':'配置步骤:','configStep1':_0x12d1a6(0x10d),'configStep2':_0x12d1a6(0xf6),'configStep3':_0x12d1a6(0x1dd),'sessionId':'会话ID','sessionIdDescription':_0x12d1a6(0x73),'authorizationDescription':_0x12d1a6(0x182),'configParameters':'配置参数:','maxRetries':_0x12d1a6(0x1b7),'save':'保存配置','saving':'保存中...','note1':_0x12d1a6(0x167),'note2':_0x12d1a6(0x16a),'configSaved':_0x12d1a6(0x1c5),'configError':_0x12d1a6(0xb0),'apiApplyInfo':{'title':_0x12d1a6(0xbd),'description':_0x12d1a6(0x103),'univerAiLabel':_0x12d1a6(0x1ba),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x12d1a6(0x13b),'invalidApiKey':_0x12d1a6(0xbc)},'connectionStatus':{'disconnected':_0x12d1a6(0xfe),'connecting':_0x12d1a6(0x1bd),'connected':_0x12d1a6(0x150),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x12d1a6(0xc3),'sessionOccupied':_0x12d1a6(0x1e8),'networkError':_0x12d1a6(0x153),'maxRetriesExceeded':_0x12d1a6(0x16b)}}};function _0x2acf(){const _0x154dd1=['error','_validateConfig','colorChannel1','MCP\x20Disconnected','check-mark-icon','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','4hJXjkw','1em','_injector','univer-font-medium','div','Univer\x20AI\x20Console','mcpConfig.title','ISocketService','\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','Configuration\x20Notes:','useCallback','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','apiKey','univer-shrink-0\x20univer-text-blue-500','最大重试次数','univer-text-sm\x20univer-text-gray-500','displayName','Univer\x20AI\x20控制台','round','MCPConnectionController','连接中...','get','MCP\x20Client\x20Configuration','DISCONNECTED','pre','ILogService','_componentManager','API\x20密钥','配置保存成功','Click\x20to\x20connect\x20MCP','_apiKey$','assign','MessageType','mcpStatus.clickToConnect','univer-bg-red-500','univer-text-yellow-500','label','value','univer-bg-blue-500','univer.ai','MCP\x20Connected','Max\x20Retries','MCP\x20客户端配置','Authorization:','clsx','url(#$1','Saving...','_localeService','Get\x20your\x20API\x20key\x20in\x20seconds','merge','mcpConfig.configSaved','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','重启您的\x20MCP\x20客户端以使配置生效','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','noopener\x20noreferrer','_handleConfigure','mcpConfig.validation.apiKeyRequired','mcpConfig.connectionStatus.failed','connectionError$','LocaleService','trim','MCP\x20已连接','MCP\x20状态未知','会话\x20ID\x20已被占用,请稍后再试','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','COMMAND','1820636irVYSV','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','UniverIcon','univer-space-y-3','ICommandService','defs','Error','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','mcpConfig.apiApplyInfo.description','MCP\x20连接中...','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','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','RETRYING','Invalid\x20configuration','forEach','0\x200\x2016\x2016','1174545FllCCm','OpenMCPConfigPanelCommand','setConfig','mcpConfig.validation.invalidConfig','DependentOn','808JygGdF','MCPConfigUIController','SESSION_ID_OCCUPIED','Connected','univer-space-y-4','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','currentColor','disposeWithMe','IConfigService','Copy\x20the\x20JSON\x20configuration\x20below','showConfigPanel','mcpConfig.configStep3','idSuffix','length','useState','replace','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','OffLineIcon','enableAutoConnect','use','mcpStatus.unknown','univer-text-gray-400','mcpConfig.connectionError.unauthorized','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','78729roXZlp','mcpConfig.connectionError.sessionOccupied','NETWORK_ERROR','has','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','span','http','_dialogService','univer-bg-green-500','removeItem','univer-flex\x20univer-items-center','setItem','Retrying...','Configuration\x20saved\x20successfully','OTHERS','MenuIcon','Enter\x20your\x20API\x20key','MCP\x20Retrying...','0\x200\x2017\x2016','_localStorageService','univer.plus','_initConfigSync','配置保存失败','mcpStatus.unauthorized','mcp-ui.config','请输入您的\x20API\x20密钥','onStarting','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','univerjs-icon\x20univerjs-icon-','off-line-icon','isValid','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','includes','API\x20密钥无效,请检查密钥是否正确','什么是\x20API\x20密钥?','mcpStatus.maxRetriesExceeded','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','<SESSION_ID>','subscribe','white','权限验证失败,请检查您的\x20API\x20密钥','点击连接\x20MCP','mcpStatus.networkError','HEADER_MENU','univer-flex\x20univer-items-start\x20univer-gap-3','univer-size-2\x20univer-rounded-full','univer-shrink-0\x20univer-text-red-500','IDialogService','url(#off-line-icon_clip0_910_343)','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','MCP\x20Connecting...','subscribeConfigValue$','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','xlink:href','_config','MCP\x20Connection\x20Failed','Configuration\x20Steps:','mcpConfig.configStepTitle','OnLineIcon','Bearer\x20','mcpConfig.saving','MCP:\x20会话\x20ID\x20已被占用','none','jsxs','univer-space-y-2','getCurrentConfig','CloseIcon','mergeMenu','6nyDwho','tag','mcpConfig.connectionStatus.connected','univer-text-sm\x20univer-font-medium','jsx','show','toString','_createConfigPanelComponent','MCPUIMenuController','mcpConfig.apiKeyHint','entries','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','ILocalStorageService','mcpServerUrl','univer-text-xs\x20univer-text-gray-500','stringify','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','CommandType','Session\x20ID','svg','Configuration\x20Parameters:','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','http://www.w3.org/2000/svg','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-text-white','MenuItemType','on-line-icon','children','未连接','mcpStatus.failed','_mcpConnectionController','off-line-icon_clip0_910_343','univer-text-gray-500','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','UniverMCPUIPlugin','_commandService','univer-text-xs\x20univer-text-gray-600','点击配置\x20MCP','BehaviorSubject','showDeveloperTools','current','MCP:\x20超出最大重试次数','CONNECTING','复制以下\x20JSON\x20配置','substring','univer-text-red-500','text','_loadStoredApiKey','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','MCPConfigPanel','map','MCPConnectionError','Inject','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','enUS','MCP\x20Configuration','API\x20key\x20is\x20required','next','mcpConfig.apiApplyInfo.title','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcpConfig.connectionInfo','attrs','CONNECTED','IUIPartsService','createElement','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.sessionIdDescription','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_initializeCommands','启用身份验证以获得安全连接','_messageService','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','defineProperty','_config$','getOwnPropertyDescriptor','Input','mcpConfig.configStep2','forwardRef','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','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.validation.apiKeyTooShort','mcpConfig.connectionStatus.disconnected','univer-flex\x20univer-items-center\x20univer-gap-2','_initStatusComponent','_menuManagerService','将以下配置添加到您的\x20MCP\x20客户端设置中:','_initAutoConnect','connectInjector','mcpStatus.connected','配置无效','6979650tCSHfe','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','IMessageService','_mcpCoreConfig$','IMenuManagerService','Connecting...','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','clipPath','register','close','_uiPartsService','mcp.apiKey','CheckMarkIcon','mcpConfig.configStep1','button','mcpConfig.connectionStatus.connecting','Injector','getItem','errorMessage','useObservable','已连接','mcpConfig.configError','https://mcp.univer.ai/mcp/?univer_session_id=','网络连接错误,请检查您的网络连接','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','_initializeMenus','__setCustomHeaders','zhCN','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','Save\x20Configuration','Tooltip','bottom','add','_loading$','mcp-config-dialog','mcpConfig.note2','mcpConfig.configParameters','warn','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','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','univer-flex\x20univer-items-center\x20univer-gap-3','4468203Fkcbrk','univer-flex\x20univer-gap-3','配置更改将立即生效','MCPStatusDisplay','off','您的\x20API\x20密钥安全存储在本地存储中','超出最大重试次数,请稍后再试','Button','string','univer-min-w-0\x20univer-flex-1','RibbonStartGroup','MCP\x20连接失败','registerComponent','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','open','WebSocketService','901115zNeoSJ','MCPConnectionUIController','API\x20key\x20with\x20Bearer\x20prefix.','univer_session_id:','_logService','mcpStatus.disconnected','UNAUTHORIZED','mcpConfig.save','_configService','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','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3060066UVAAOF','evenodd','带有\x20Bearer\x20前缀的\x20API\x20密钥。','Disposable','MAX_RETRIES_EXCEEDED','univer-space-y-5','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','What\x20is\x20API\x20Key?','MCP_UI_PLUGIN','_registerComponent','mcpConfig.description','univer-size-4','Failed\x20to\x20save\x20configuration','getConfig','on-line-icon_clip0_910_349','fill','mcpConfig.connectionError.networkError','univer-text-green-500','FAILED','mcpConfig.authorizationDescription','MCP\x20配置','mcpConfig.apiKey','\x20-\x20','mask','random','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCPConnectionStatus','MCP:\x20Unauthorized','mcpStatus.sessionOccupied','_handleConfigSave','_connectionController','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','NONE','path','sessionId$'];_0x2acf=function(){return _0x154dd1;};return _0x2acf();}var Ae=Object['defineProperty'],Oe=Object['getOwnPropertyDescriptor'],De=(_0xb3b70b,_0x29f3a2,_0x1223d8)=>_0x29f3a2 in _0xb3b70b?Ae(_0xb3b70b,_0x29f3a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1223d8}):_0xb3b70b[_0x29f3a2]=_0x1223d8,Ue=(_0x4f377d,_0x44b210,_0x18e492,_0x369628)=>{const _0x5e9416=_0x12d1a6;for(var _0x233017=_0x369628>0x1?void 0x0:_0x369628?Oe(_0x44b210,_0x18e492):_0x44b210,_0x464781=_0x4f377d[_0x5e9416(0x8f)]-0x1,_0x30512e;_0x464781>=0x0;_0x464781--)(_0x30512e=_0x4f377d[_0x464781])&&(_0x233017=_0x30512e(_0x233017)||_0x233017);return _0x233017;},y=(_0x5d5618,_0x262a3d)=>(_0x31b61c,_0x31df37)=>_0x262a3d(_0x31b61c,_0x31df37,_0x5d5618),$e=(_0x37ce43,_0x2b2ecf,_0x247dcf)=>De(_0x37ce43,_0x2b2ecf+'',_0x247dcf);exports[_0x12d1a6(0x104)]=class extends u['Plugin']{constructor(_0x5f53a7=L,_0x17b745,_0x21f668,_0x100c73,_0x341ed7,_0x1334ba){const _0x5ba3c6=_0x12d1a6;super(),this[_0x5ba3c6(0xd2)]=_0x5f53a7,this['_injector']=_0x17b745,this['_configService']=_0x21f668,this['_uiPartsService']=_0x100c73,this[_0x5ba3c6(0xad)]=_0x341ed7,this[_0x5ba3c6(0x1d8)]=_0x1334ba;const {..._0x5ec98d}=u[_0x5ba3c6(0x1da)]({},L,this[_0x5ba3c6(0xd2)]);this[_0x5ba3c6(0x17d)][_0x5ba3c6(0x7e)](P,_0x5ec98d);}async[_0x12d1a6(0xb4)](){const _0x527b0e=_0x12d1a6,_0x577021=[[exports[_0x527b0e(0x176)]],[exports['MCPConfigUIController']],[exports[_0x527b0e(0xe8)]]];this['_injector'][_0x527b0e(0x9d)](A['ISocketService'])||_0x577021['push']([A[_0x527b0e(0x1b0)],{'useClass':A[_0x527b0e(0x174)]}]),_0x577021[_0x527b0e(0x7a)](_0x3a37c4=>this[_0x527b0e(0x1ab)][_0x527b0e(0x15c)](_0x3a37c4)),this[_0x527b0e(0x1ab)]['get'](exports[_0x527b0e(0x176)]),this['_injector'][_0x527b0e(0x1be)](exports[_0x527b0e(0x82)]),this[_0x527b0e(0x1ab)][_0x527b0e(0x1be)](exports['MCPUIMenuController']);}},$e(exports[_0x12d1a6(0x104)],'pluginName',_0x12d1a6(0x188)),exports[_0x12d1a6(0x104)]=Ue([u[_0x12d1a6(0x80)](s['UniverMCPPlugin']),y(0x1,u['Inject'](u[_0x12d1a6(0x14c)])),y(0x2,u[_0x12d1a6(0x8a)]),y(0x3,v[_0x12d1a6(0x121)]),y(0x4,u[_0x12d1a6(0xed)]),y(0x5,u['Inject'](u['LocaleService']))],exports['UniverMCPUIPlugin']),exports[_0x12d1a6(0x113)]=V,exports[_0x12d1a6(0x168)]=W,exports[_0x12d1a6(0x7d)]=b,exports[_0x12d1a6(0x118)]=Ee,exports[_0x12d1a6(0x157)]=we;
@@ -1 +1 @@
1
- 'use strict';function _0x4ed9(_0x593421,_0x41adc9){_0x593421=_0x593421-0x7b;const _0x72535a=_0x7253();let _0x4ed99a=_0x72535a[_0x593421];return _0x4ed99a;}function _0x7253(){const _0x453a01=['1570KwKssl','Retrying...','Disconnected','Configuration\x20Steps:','16198Isfhdb','MCP\x20Client\x20Configuration','9aFMoKb','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2777624xQgtqH','6588RWtECg','API\x20key\x20is\x20required','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connecting...','MCP\x20Connection\x20Failed','52349TpTxkO','642368LDFYpg','Click\x20to\x20configure\x20MCP','6749764FrNmOE','Enable\x20Authentication','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Invalid\x20configuration','MCP\x20Unknown\x20Status','2401782wLKSHv','MCP\x20Connected','Save\x20Configuration','Enter\x20your\x20API\x20key','Session\x20ID','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Disconnected','18rTJixa','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','API\x20Key','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','Failed\x20to\x20save\x20configuration','Connection\x20Failed','MCP\x20Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','exports','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1023670GYznSl','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','5rMkGrV','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1gKHUoh','MCP:\x20Network\x20Error','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP'];_0x7253=function(){return _0x453a01;};return _0x7253();}const _0x32d5ed=_0x4ed9;(function(_0xf1a81a,_0x37d55d){const _0x1693b2=_0x4ed9,_0x25a7dc=_0xf1a81a();while(!![]){try{const _0x93df78=-parseInt(_0x1693b2(0x8b))/0x1*(-parseInt(_0x1693b2(0x87))/0x2)+-parseInt(_0x1693b2(0x96))/0x3*(parseInt(_0x1693b2(0x9f))/0x4)+parseInt(_0x1693b2(0x89))/0x5*(parseInt(_0x1693b2(0xa6))/0x6)+parseInt(_0x1693b2(0xa1))/0x7+parseInt(_0x1693b2(0x98))/0x8*(-parseInt(_0x1693b2(0xad))/0x9)+parseInt(_0x1693b2(0x90))/0xa*(-parseInt(_0x1693b2(0x9e))/0xb)+parseInt(_0x1693b2(0x99))/0xc*(parseInt(_0x1693b2(0x94))/0xd);if(_0x93df78===_0x37d55d)break;else _0x25a7dc['push'](_0x25a7dc['shift']());}catch(_0x548593){_0x25a7dc['push'](_0x25a7dc['shift']());}}}(_0x7253,0x9b8a5));const e={'mcpStatus':{'disconnected':_0x32d5ed(0xac),'connecting':_0x32d5ed(0x9c),'connected':_0x32d5ed(0xa7),'failed':_0x32d5ed(0x9d),'retrying':_0x32d5ed(0x83),'unknown':_0x32d5ed(0xa5),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x32d5ed(0x9b),'networkError':_0x32d5ed(0x8c),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x32d5ed(0x8f),'clickToConfigure':_0x32d5ed(0xa0)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x32d5ed(0x7e),'apiKeyPlaceholder':_0x32d5ed(0xa9),'apiKeyHint':_0x32d5ed(0xaf),'enableAuth':_0x32d5ed(0xa2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x32d5ed(0x95),'mcpClientConfig':_0x32d5ed(0x95),'configInstructions':_0x32d5ed(0x88),'configStepTitle':_0x32d5ed(0x93),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x32d5ed(0x97),'configStep3':_0x32d5ed(0x86),'sessionId':_0x32d5ed(0xaa),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x32d5ed(0xa8),'saving':_0x32d5ed(0x7b),'note1':_0x32d5ed(0x7c),'note2':_0x32d5ed(0xab),'configSaved':_0x32d5ed(0x7d),'configError':_0x32d5ed(0x81),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','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':_0x32d5ed(0x7f),'getStarted':_0x32d5ed(0x80)},'validation':{'apiKeyRequired':_0x32d5ed(0x9a),'apiKeyTooShort':_0x32d5ed(0x8a),'invalidConfig':_0x32d5ed(0xa4),'invalidApiKey':_0x32d5ed(0xa3)},'connectionStatus':{'disconnected':_0x32d5ed(0x92),'connecting':'Connecting...','connected':'Connected','failed':_0x32d5ed(0x82),'retrying':_0x32d5ed(0x91)},'connectionError':{'unauthorized':_0x32d5ed(0x8d),'sessionOccupied':_0x32d5ed(0xae),'networkError':_0x32d5ed(0x8e),'maxRetriesExceeded':_0x32d5ed(0x84)}}},n=e;module[_0x32d5ed(0x85)]=n;
1
+ 'use strict';const _0x52824b=_0x2293;(function(_0x1e15c1,_0x3c3208){const _0x1e6fd0=_0x2293,_0x41ccaf=_0x1e15c1();while(!![]){try{const _0x38a18f=-parseInt(_0x1e6fd0(0x6d))/0x1*(-parseInt(_0x1e6fd0(0x78))/0x2)+-parseInt(_0x1e6fd0(0x88))/0x3+parseInt(_0x1e6fd0(0x84))/0x4*(-parseInt(_0x1e6fd0(0x9d))/0x5)+parseInt(_0x1e6fd0(0x91))/0x6*(-parseInt(_0x1e6fd0(0x74))/0x7)+parseInt(_0x1e6fd0(0x98))/0x8+parseInt(_0x1e6fd0(0x6f))/0x9*(parseInt(_0x1e6fd0(0x7c))/0xa)+-parseInt(_0x1e6fd0(0x9e))/0xb;if(_0x38a18f===_0x3c3208)break;else _0x41ccaf['push'](_0x41ccaf['shift']());}catch(_0x52882d){_0x41ccaf['push'](_0x41ccaf['shift']());}}}(_0x4de1,0x64b3e));function _0x2293(_0x55a656,_0x36f533){_0x55a656=_0x55a656-0x6c;const _0x4de1fb=_0x4de1();let _0x22939f=_0x4de1fb[_0x55a656];return _0x22939f;}const e={'mcpStatus':{'disconnected':_0x52824b(0x85),'connecting':_0x52824b(0x99),'connected':_0x52824b(0x9a),'failed':_0x52824b(0x81),'retrying':_0x52824b(0x96),'unknown':_0x52824b(0x80),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x52824b(0x8c),'networkError':_0x52824b(0x8f),'maxRetriesExceeded':_0x52824b(0x8e),'clickToConnect':_0x52824b(0x71),'clickToConfigure':_0x52824b(0x7d)},'mcpConfig':{'title':_0x52824b(0x94),'description':_0x52824b(0x90),'apiKey':_0x52824b(0x83),'apiKeyPlaceholder':_0x52824b(0x7a),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x52824b(0x82),'connectionInfo':_0x52824b(0x9c),'mcpClientConfig':_0x52824b(0x9c),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x52824b(0x97),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x52824b(0x72),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x52824b(0x76),'sessionIdDescription':_0x52824b(0x7e),'authorizationDescription':_0x52824b(0x73),'configParameters':_0x52824b(0x8b),'maxRetries':_0x52824b(0x75),'save':'Save\x20Configuration','saving':_0x52824b(0x86),'note1':_0x52824b(0x92),'note2':_0x52824b(0x9b),'configSaved':_0x52824b(0x89),'configError':_0x52824b(0x79),'apiApplyInfo':{'title':_0x52824b(0x87),'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':'Univer\x20AI\x20Console','getStarted':_0x52824b(0x95)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x52824b(0x77),'invalidConfig':_0x52824b(0x6c),'invalidApiKey':_0x52824b(0x93)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x52824b(0x7b),'connected':_0x52824b(0x7f),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x52824b(0x8a),'sessionOccupied':_0x52824b(0x70),'networkError':_0x52824b(0x6e),'maxRetriesExceeded':_0x52824b(0x8d)}}},n=e;function _0x4de1(){const _0x48764d=['Saving...','What\x20is\x20API\x20Key?','1254633Wnswlr','Configuration\x20saved\x20successfully','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Parameters:','MCP:\x20Session\x20ID\x20Occupied','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','6thMcxG','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Configuration\x20Steps:','5449488xIIUyI','MCP\x20Connecting...','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Client\x20Configuration','2724415wovkMa','3708991hFPXeC','Invalid\x20configuration','3raFDyd','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','3124827pIbCRV','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Click\x20to\x20connect\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20with\x20Bearer\x20prefix.','641963NLBeCU','Max\x20Retries','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','517382DOSMjf','Failed\x20to\x20save\x20configuration','Enter\x20your\x20API\x20key','Connecting...','10sHSKUY','Click\x20to\x20configure\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connected','MCP\x20Unknown\x20Status','MCP\x20Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','API\x20Key','4OdZLmT','MCP\x20Disconnected'];_0x4de1=function(){return _0x48764d;};return _0x4de1();}module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x331198=_0x2dcd;(function(_0x2a98bb,_0x35417c){const _0x284ad8=_0x2dcd,_0xc4cc7d=_0x2a98bb();while(!![]){try{const _0x49471b=-parseInt(_0x284ad8(0x183))/0x1+-parseInt(_0x284ad8(0x193))/0x2*(parseInt(_0x284ad8(0x19a))/0x3)+-parseInt(_0x284ad8(0x17d))/0x4+-parseInt(_0x284ad8(0x18d))/0x5*(-parseInt(_0x284ad8(0x16d))/0x6)+parseInt(_0x284ad8(0x16c))/0x7*(-parseInt(_0x284ad8(0x18a))/0x8)+parseInt(_0x284ad8(0x167))/0x9+parseInt(_0x284ad8(0x17b))/0xa;if(_0x49471b===_0x35417c)break;else _0xc4cc7d['push'](_0xc4cc7d['shift']());}catch(_0x5c5d42){_0xc4cc7d['push'](_0xc4cc7d['shift']());}}}(_0x5c38,0x3a68f));function _0x5c38(){const _0x6431fc=['MCP:\x20Session\x20ID\x20Occupied','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','24HStAaJ','2192859HXuzjS','Univer\x20AI\x20Console','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Get\x20your\x20API\x20key\x20in\x20seconds','7utfkbs','596454TuJvQi','Max\x20Retries','exports','Connection\x20Failed','MCP\x20Retrying...','Configuration\x20Parameters:','MCP\x20Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20configure\x20MCP','Connecting...','Click\x20to\x20connect\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','10432110cgpzkS','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1826760mFIcHz','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','252123nvHyuy','API\x20key\x20is\x20required','Saving...','Failed\x20to\x20save\x20configuration','MCP\x20Connecting...','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1137688esZGtS','Invalid\x20configuration','Disconnected','5bYJetx','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Unauthorized','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','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','74000KjxWzN','Enable\x20Authentication','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Copy\x20the\x20JSON\x20configuration\x20below'];_0x5c38=function(){return _0x6431fc;};return _0x5c38();}function _0x2dcd(_0xf1a9a1,_0x128c41){_0xf1a9a1=_0xf1a9a1-0x167;const _0x5c38ae=_0x5c38();let _0x2dcd44=_0x5c38ae[_0xf1a9a1];return _0x2dcd44;}const e={'mcpStatus':{'disconnected':_0x331198(0x173),'connecting':_0x331198(0x187),'connected':_0x331198(0x17a),'failed':_0x331198(0x182),'retrying':_0x331198(0x171),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x331198(0x18f),'sessionOccupied':_0x331198(0x197),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x331198(0x174),'clickToConnect':_0x331198(0x177),'clickToConfigure':_0x331198(0x175)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x331198(0x18e),'apiKey':_0x331198(0x191),'apiKeyPlaceholder':_0x331198(0x17f),'apiKeyHint':_0x331198(0x180),'enableAuth':_0x331198(0x194),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x331198(0x199),'mcpClientConfig':_0x331198(0x199),'configInstructions':_0x331198(0x17e),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x331198(0x196),'configStep2':_0x331198(0x178),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x331198(0x179),'configParameters':_0x331198(0x172),'maxRetries':_0x331198(0x16e),'save':'Save\x20Configuration','saving':_0x331198(0x185),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x331198(0x195),'configSaved':_0x331198(0x16a),'configError':_0x331198(0x186),'apiApplyInfo':{'title':_0x331198(0x198),'description':_0x331198(0x190),'univerAiLabel':_0x331198(0x168),'getStarted':_0x331198(0x16b)},'validation':{'apiKeyRequired':_0x331198(0x184),'apiKeyTooShort':_0x331198(0x192),'invalidConfig':_0x331198(0x18b),'invalidApiKey':_0x331198(0x181)},'connectionStatus':{'disconnected':_0x331198(0x18c),'connecting':_0x331198(0x176),'connected':'Connected','failed':_0x331198(0x170),'retrying':_0x331198(0x188)},'connectionError':{'unauthorized':_0x331198(0x189),'sessionOccupied':_0x331198(0x169),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x331198(0x17c)}}};module[_0x331198(0x16f)]=e;
1
+ 'use strict';function _0x5299(){const _0x5de24e=['MCP\x20Client\x20Configuration','1581465QBugnm','Retrying...','Disconnected','474AyylMk','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','What\x20is\x20API\x20Key?','MCP\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Saving...','Enable\x20Authentication','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1041972ABlVOO','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','49244KMGflg','MCP:\x20Network\x20Error','Failed\x20to\x20save\x20configuration','Click\x20to\x20connect\x20MCP','Configuration\x20saved\x20successfully','Univer\x20AI\x20Console','Connected','922410EWRRQo','MCP\x20Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Disconnected','4116ekXdCR','Session\x20ID','629418rSEgUK','exports','MCP\x20Unknown\x20Status','1212680GmDgzf','Configuration\x20Steps:','Invalid\x20configuration','MCP:\x20Unauthorized','Max\x20Retries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Save\x20Configuration','API\x20Key'];_0x5299=function(){return _0x5de24e;};return _0x5299();}const _0x29bfa4=_0x4e2f;function _0x4e2f(_0x48ebe3,_0x201e2d){_0x48ebe3=_0x48ebe3-0x99;const _0x529971=_0x5299();let _0x4e2ff0=_0x529971[_0x48ebe3];return _0x4e2ff0;}(function(_0x26f16e,_0x335f82){const _0x3a0703=_0x4e2f,_0x1dbdbe=_0x26f16e();while(!![]){try{const _0x5936a5=-parseInt(_0x3a0703(0xa4))/0x1+parseInt(_0x3a0703(0xb8))/0x2+-parseInt(_0x3a0703(0xab))/0x3+-parseInt(_0x3a0703(0xa0))/0x4+parseInt(_0x3a0703(0xc4))/0x5+-parseInt(_0x3a0703(0xc7))/0x6*(-parseInt(_0x3a0703(0xb6))/0x7)+parseInt(_0x3a0703(0xbb))/0x8;if(_0x5936a5===_0x335f82)break;else _0x1dbdbe['push'](_0x1dbdbe['shift']());}catch(_0xa614b3){_0x1dbdbe['push'](_0x1dbdbe['shift']());}}}(_0x5299,0x33b78));const e={'mcpStatus':{'disconnected':_0x29bfa4(0xb5),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x29bfa4(0xb2),'retrying':_0x29bfa4(0xac),'unknown':_0x29bfa4(0xba),'unauthorized':_0x29bfa4(0xbe),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x29bfa4(0xa5),'maxRetriesExceeded':_0x29bfa4(0x99),'clickToConnect':_0x29bfa4(0xa7),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x29bfa4(0x9b),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x29bfa4(0xc2),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x29bfa4(0x9e),'enableAuthHint':_0x29bfa4(0xa2),'connectionInfo':_0x29bfa4(0xc3),'mcpClientConfig':_0x29bfa4(0xc3),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x29bfa4(0xbc),'configStep1':_0x29bfa4(0xcb),'configStep2':_0x29bfa4(0xa3),'configStep3':_0x29bfa4(0xa1),'sessionId':_0x29bfa4(0xb7),'sessionIdDescription':_0x29bfa4(0xc0),'authorizationDescription':_0x29bfa4(0xb1),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x29bfa4(0xbf),'save':_0x29bfa4(0xc1),'saving':_0x29bfa4(0x9d),'note1':_0x29bfa4(0xb4),'note2':_0x29bfa4(0xaf),'configSaved':_0x29bfa4(0xa8),'configError':_0x29bfa4(0xa6),'apiApplyInfo':{'title':_0x29bfa4(0x9a),'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':_0x29bfa4(0xa9),'getStarted':_0x29bfa4(0xc8)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x29bfa4(0xb0),'invalidConfig':_0x29bfa4(0xbd),'invalidApiKey':_0x29bfa4(0xca)},'connectionStatus':{'disconnected':_0x29bfa4(0xc6),'connecting':_0x29bfa4(0xae),'connected':_0x29bfa4(0xaa),'failed':_0x29bfa4(0xc9),'retrying':_0x29bfa4(0xc5)},'connectionError':{'unauthorized':_0x29bfa4(0x9c),'sessionOccupied':_0x29bfa4(0xb3),'networkError':_0x29bfa4(0x9f),'maxRetriesExceeded':_0x29bfa4(0xad)}}};module[_0x29bfa4(0xb9)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x48691d=_0x47f6;function _0x13df(){const _0x2b9abb=['Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','Configuration\x20saved\x20successfully','2348735TkeqPw','4ctKInm','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Steps:','Max\x20Retries','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','652465UENDAF','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Retrying...','3008eFNKvQ','108CCPTak','Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','1077594cQFaKJ','What\x20is\x20API\x20Key?','Connecting...','2216sVMIXp','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','39360kUllfl','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','154yfAowL','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','363VJMBCV','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','2565790dyMnCo','Click\x20to\x20connect\x20MCP','Configuration\x20Parameters:','MCP\x20Connected','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Unauthorized','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','18243CdydDI','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key','Enter\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','MCP\x20Connecting...','MCP\x20Disconnected'];_0x13df=function(){return _0x2b9abb;};return _0x13df();}function _0x47f6(_0x1b32d3,_0x25bd35){_0x1b32d3=_0x1b32d3-0x169;const _0x13df1d=_0x13df();let _0x47f646=_0x13df1d[_0x1b32d3];return _0x47f646;}(function(_0x44c713,_0x3ed524){const _0x4de82e=_0x47f6,_0x533bb4=_0x44c713();while(!![]){try{const _0x4b00f6=parseInt(_0x4de82e(0x18b))/0x1*(parseInt(_0x4de82e(0x17b))/0x2)+parseInt(_0x4de82e(0x181))/0x3+parseInt(_0x4de82e(0x170))/0x4*(-parseInt(_0x4de82e(0x16f))/0x5)+parseInt(_0x4de82e(0x187))/0x6*(parseInt(_0x4de82e(0x189))/0x7)+-parseInt(_0x4de82e(0x184))/0x8*(parseInt(_0x4de82e(0x19a))/0x9)+-parseInt(_0x4de82e(0x18e))/0xa+parseInt(_0x4de82e(0x177))/0xb*(parseInt(_0x4de82e(0x17c))/0xc);if(_0x4b00f6===_0x3ed524)break;else _0x533bb4['push'](_0x533bb4['shift']());}catch(_0x59dc45){_0x533bb4['push'](_0x533bb4['shift']());}}}(_0x13df,0x4824c));const e={'mcpStatus':{'disconnected':_0x48691d(0x16b),'connecting':_0x48691d(0x16a),'connected':_0x48691d(0x191),'failed':_0x48691d(0x180),'retrying':_0x48691d(0x17a),'unknown':_0x48691d(0x176),'unauthorized':_0x48691d(0x196),'sessionOccupied':_0x48691d(0x195),'networkError':_0x48691d(0x175),'maxRetriesExceeded':_0x48691d(0x17e),'clickToConnect':_0x48691d(0x18f),'clickToConfigure':_0x48691d(0x16d)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x48691d(0x178),'apiKey':_0x48691d(0x19c),'apiKeyPlaceholder':_0x48691d(0x19d),'apiKeyHint':_0x48691d(0x188),'enableAuth':_0x48691d(0x192),'enableAuthHint':_0x48691d(0x16c),'connectionInfo':_0x48691d(0x198),'mcpClientConfig':_0x48691d(0x198),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x48691d(0x173),'configStep1':_0x48691d(0x179),'configStep2':_0x48691d(0x185),'configStep3':_0x48691d(0x199),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x48691d(0x172),'configParameters':_0x48691d(0x190),'maxRetries':_0x48691d(0x174),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x48691d(0x186),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x48691d(0x16e),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x48691d(0x182),'description':_0x48691d(0x18a),'univerAiLabel':_0x48691d(0x197),'getStarted':_0x48691d(0x193)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x48691d(0x19e),'invalidConfig':_0x48691d(0x194),'invalidApiKey':_0x48691d(0x171)},'connectionStatus':{'disconnected':_0x48691d(0x17d),'connecting':_0x48691d(0x183),'connected':'Connected','failed':_0x48691d(0x169),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x48691d(0x18d),'sessionOccupied':_0x48691d(0x19b),'networkError':_0x48691d(0x18c),'maxRetriesExceeded':_0x48691d(0x17f)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x4ec485=_0x3416;(function(_0x535cf5,_0x15a1ef){const _0xd407ed=_0x3416,_0x24b8a1=_0x535cf5();while(!![]){try{const _0x45c387=-parseInt(_0xd407ed(0xae))/0x1+parseInt(_0xd407ed(0xa5))/0x2*(parseInt(_0xd407ed(0x9e))/0x3)+-parseInt(_0xd407ed(0x94))/0x4*(-parseInt(_0xd407ed(0xa0))/0x5)+parseInt(_0xd407ed(0x8d))/0x6+-parseInt(_0xd407ed(0xb9))/0x7*(parseInt(_0xd407ed(0xbf))/0x8)+parseInt(_0xd407ed(0xbb))/0x9*(-parseInt(_0xd407ed(0x9c))/0xa)+parseInt(_0xd407ed(0xc2))/0xb*(parseInt(_0xd407ed(0xba))/0xc);if(_0x45c387===_0x15a1ef)break;else _0x24b8a1['push'](_0x24b8a1['shift']());}catch(_0x476c2c){_0x24b8a1['push'](_0x24b8a1['shift']());}}}(_0x2d49,0xcce25));function _0x2d49(){const _0x29799c=['Configuration\x20saved\x20successfully','MCP\x20Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','533850nsAWUJ','Save\x20Configuration','3SZVWxl','MCP\x20Client\x20Configuration','83575sjtHEM','API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2858010aEHIMN','Saving...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connecting...','MCP\x20Unknown\x20Status','Session\x20ID','Connected','Retrying...','Configuration\x20Parameters:','798579iBYstY','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20is\x20required','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','exports','Enter\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Disconnected','MCP:\x20Unauthorized','121135QLFITv','48GeFRba','207VkBNTi','Configuration\x20Steps:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication','464OHgsbW','Failed\x20to\x20save\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','3202551pGYKKY','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1236000WHqbrj','Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Univer\x20AI\x20Console','256kgGbyR','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','MCP\x20Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'];_0x2d49=function(){return _0x29799c;};return _0x2d49();}function _0x3416(_0x45ec88,_0x529621){_0x45ec88=_0x45ec88-0x8d;const _0x2d49d4=_0x2d49();let _0x3416ec=_0x2d49d4[_0x45ec88];return _0x3416ec;}const e={'mcpStatus':{'disconnected':_0x4ec485(0xb7),'connecting':'MCP\x20Connecting...','connected':_0x4ec485(0x97),'failed':_0x4ec485(0x9a),'retrying':'MCP\x20Retrying...','unknown':_0x4ec485(0xa9),'unauthorized':_0x4ec485(0xb8),'sessionOccupied':_0x4ec485(0xb0),'networkError':_0x4ec485(0xc3),'maxRetriesExceeded':_0x4ec485(0x91),'clickToConnect':_0x4ec485(0x96),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4ec485(0xaf),'description':_0x4ec485(0xa7),'apiKey':_0x4ec485(0xa2),'apiKeyPlaceholder':_0x4ec485(0xb4),'apiKeyHint':_0x4ec485(0x92),'enableAuth':_0x4ec485(0xbe),'enableAuthHint':_0x4ec485(0xb6),'connectionInfo':_0x4ec485(0x9f),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x4ec485(0xbc),'configStep1':_0x4ec485(0xc1),'configStep2':_0x4ec485(0xa4),'configStep3':_0x4ec485(0xb5),'sessionId':_0x4ec485(0xaa),'sessionIdDescription':_0x4ec485(0xa3),'authorizationDescription':_0x4ec485(0xa1),'configParameters':_0x4ec485(0xad),'maxRetries':'Max\x20Retries','save':_0x4ec485(0x9d),'saving':_0x4ec485(0xa6),'note1':_0x4ec485(0x9b),'note2':_0x4ec485(0x90),'configSaved':_0x4ec485(0x99),'configError':_0x4ec485(0xc0),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4ec485(0xbd),'univerAiLabel':_0x4ec485(0x93),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4ec485(0xb1),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4ec485(0xc4)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4ec485(0xa8),'connected':_0x4ec485(0xab),'failed':_0x4ec485(0x8e),'retrying':_0x4ec485(0xac)},'connectionError':{'unauthorized':_0x4ec485(0x8f),'sessionOccupied':_0x4ec485(0xb2),'networkError':_0x4ec485(0x95),'maxRetriesExceeded':_0x4ec485(0x98)}}},n=e;module[_0x4ec485(0xb3)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x228ade=_0x9404;function _0x68f4(){const _0x334295=['API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Unknown\x20Status','API\x20Key','MCP:\x20Session\x20ID\x20Occupied','Disconnected','Click\x20to\x20connect\x20MCP','Failed\x20to\x20save\x20configuration','28686KOIfvJ','MCP\x20Disconnected','Configuration\x20Parameters:','2766604ZXenlK','9346086ervuyo','Get\x20your\x20API\x20key\x20in\x20seconds','Session\x20ID','592433ogaSim','214164eiKGGk','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Network\x20Error','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1172536lAIkZk','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Steps:','2712YQvLQO','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Univer\x20AI\x20Console','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','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.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','25HkYpLH','MCP\x20Connecting...','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Retrying...','API\x20key\x20is\x20required','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20configure\x20MCP','Connected','MCP\x20Client\x20Configuration','Connecting...','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','exports','MCP\x20Retrying...','1625766jbqKVj','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connected'];_0x68f4=function(){return _0x334295;};return _0x68f4();}(function(_0x237336,_0x29df64){const _0x2961d0=_0x9404,_0x373e49=_0x237336();while(!![]){try{const _0x338485=parseInt(_0x2961d0(0xd6))/0x1+parseInt(_0x2961d0(0xab))/0x2+-parseInt(_0x2961d0(0xa4))/0x3+parseInt(_0x2961d0(0xd2))/0x4+-parseInt(_0x2961d0(0xb6))/0x5*(-parseInt(_0x2961d0(0xc5))/0x6)+-parseInt(_0x2961d0(0xcf))/0x7*(parseInt(_0x2961d0(0xae))/0x8)+-parseInt(_0x2961d0(0xd3))/0x9;if(_0x338485===_0x29df64)break;else _0x373e49['push'](_0x373e49['shift']());}catch(_0x50545d){_0x373e49['push'](_0x373e49['shift']());}}}(_0x68f4,0xb144d));function _0x9404(_0x30894e,_0x35f93a){_0x30894e=_0x30894e-0xa4;const _0x68f494=_0x68f4();let _0x9404e9=_0x68f494[_0x30894e];return _0x9404e9;}const e={'mcpStatus':{'disconnected':_0x228ade(0xd0),'connecting':_0x228ade(0xb7),'connected':_0x228ade(0xc7),'failed':_0x228ade(0xb8),'retrying':_0x228ade(0xc4),'unknown':_0x228ade(0xc9),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x228ade(0xcb),'networkError':_0x228ade(0xa7),'maxRetriesExceeded':_0x228ade(0xc2),'clickToConnect':_0x228ade(0xcd),'clickToConfigure':_0x228ade(0xbd)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x228ade(0xa8),'apiKey':_0x228ade(0xca),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x228ade(0xb3),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x228ade(0xc6),'connectionInfo':_0x228ade(0xbf),'mcpClientConfig':_0x228ade(0xbf),'configInstructions':_0x228ade(0xa6),'configStepTitle':_0x228ade(0xad),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x228ade(0xa9),'configStep3':_0x228ade(0xb9),'sessionId':_0x228ade(0xd5),'sessionIdDescription':_0x228ade(0xaf),'authorizationDescription':_0x228ade(0xc8),'configParameters':_0x228ade(0xd1),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0x228ade(0xaa),'note2':_0x228ade(0xbc),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x228ade(0xce),'apiApplyInfo':{'title':_0x228ade(0xb2),'description':_0x228ade(0xb4),'univerAiLabel':_0x228ade(0xb0),'getStarted':_0x228ade(0xd4)},'validation':{'apiKeyRequired':_0x228ade(0xbb),'apiKeyTooShort':_0x228ade(0xa5),'invalidConfig':_0x228ade(0xc1),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x228ade(0xcc),'connecting':_0x228ade(0xc0),'connected':_0x228ade(0xbe),'failed':'Connection\x20Failed','retrying':_0x228ade(0xba)},'connectionError':{'unauthorized':_0x228ade(0xac),'sessionOccupied':_0x228ade(0xb1),'networkError':_0x228ade(0xb5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x228ade(0xc3)]=n;
1
+ 'use strict';const _0x516cce=_0x150a;(function(_0x21f4c8,_0x3bf091){const _0x35a3d6=_0x150a,_0xe7c329=_0x21f4c8();while(!![]){try{const _0x625a20=-parseInt(_0x35a3d6(0x129))/0x1*(-parseInt(_0x35a3d6(0x123))/0x2)+-parseInt(_0x35a3d6(0x13e))/0x3*(parseInt(_0x35a3d6(0x142))/0x4)+-parseInt(_0x35a3d6(0x11e))/0x5*(-parseInt(_0x35a3d6(0x126))/0x6)+parseInt(_0x35a3d6(0x148))/0x7+parseInt(_0x35a3d6(0x121))/0x8*(parseInt(_0x35a3d6(0x14a))/0x9)+parseInt(_0x35a3d6(0x146))/0xa+-parseInt(_0x35a3d6(0x12a))/0xb*(parseInt(_0x35a3d6(0x138))/0xc);if(_0x625a20===_0x3bf091)break;else _0xe7c329['push'](_0xe7c329['shift']());}catch(_0x52488f){_0xe7c329['push'](_0xe7c329['shift']());}}}(_0x4207,0x8f5fe));function _0x150a(_0x5e12fc,_0x3cbe16){_0x5e12fc=_0x5e12fc-0x11e;const _0x420755=_0x4207();let _0x150a8d=_0x420755[_0x5e12fc];return _0x150a8d;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x516cce(0x144),'retrying':'MCP\x20Retrying...','unknown':_0x516cce(0x14d),'unauthorized':_0x516cce(0x127),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x516cce(0x143),'clickToConfigure':_0x516cce(0x150)},'mcpConfig':{'title':_0x516cce(0x147),'description':_0x516cce(0x120),'apiKey':_0x516cce(0x149),'apiKeyPlaceholder':_0x516cce(0x132),'apiKeyHint':_0x516cce(0x12c),'enableAuth':_0x516cce(0x141),'enableAuthHint':_0x516cce(0x12e),'connectionInfo':_0x516cce(0x130),'mcpClientConfig':_0x516cce(0x130),'configInstructions':_0x516cce(0x133),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x516cce(0x137),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x516cce(0x145),'sessionId':_0x516cce(0x125),'sessionIdDescription':_0x516cce(0x140),'authorizationDescription':_0x516cce(0x124),'configParameters':_0x516cce(0x131),'maxRetries':_0x516cce(0x14b),'save':_0x516cce(0x128),'saving':_0x516cce(0x14f),'note1':_0x516cce(0x11f),'note2':_0x516cce(0x13c),'configSaved':_0x516cce(0x122),'configError':_0x516cce(0x139),'apiApplyInfo':{'title':_0x516cce(0x14e),'description':_0x516cce(0x13d),'univerAiLabel':_0x516cce(0x135),'getStarted':_0x516cce(0x13a)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x516cce(0x136),'invalidConfig':_0x516cce(0x12f),'invalidApiKey':_0x516cce(0x13f)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':'Connection\x20Failed','retrying':_0x516cce(0x12b)},'connectionError':{'unauthorized':_0x516cce(0x12d),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x516cce(0x134),'maxRetriesExceeded':_0x516cce(0x14c)}}},n=e;module[_0x516cce(0x13b)]=n;function _0x4207(){const _0x22fd3b=['Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','Saving...','Click\x20to\x20configure\x20MCP','95705exHiDh','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','35480aVfeyR','Configuration\x20saved\x20successfully','10256czOGeY','API\x20key\x20with\x20Bearer\x20prefix.','Session\x20ID','18dMFmkB','MCP:\x20Unauthorized','Save\x20Configuration','188GNiqHF','3314157ocEDge','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','Enter\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Copy\x20the\x20JSON\x20configuration\x20below','60tgrCKi','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','exports','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','15bXsuqL','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enable\x20Authentication','627260VOfwQo','Click\x20to\x20connect\x20MCP','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','10293850kYkAeW','MCP\x20Configuration','417515sEMizQ','API\x20Key','1557eYSpxC','Max\x20Retries'];_0x4207=function(){return _0x22fd3b;};return _0x4207();}
@@ -1 +1 @@
1
- 'use strict';const _0x2acb6d=_0xfe51;(function(_0x128d22,_0x3b20d1){const _0x132250=_0xfe51,_0xf15087=_0x128d22();while(!![]){try{const _0x561247=-parseInt(_0x132250(0x1ed))/0x1*(-parseInt(_0x132250(0x1e5))/0x2)+parseInt(_0x132250(0x1d9))/0x3+-parseInt(_0x132250(0x1dd))/0x4*(parseInt(_0x132250(0x1f8))/0x5)+parseInt(_0x132250(0x1da))/0x6*(parseInt(_0x132250(0x1f1))/0x7)+parseInt(_0x132250(0x1cb))/0x8*(parseInt(_0x132250(0x1dc))/0x9)+-parseInt(_0x132250(0x1f9))/0xa+-parseInt(_0x132250(0x1d3))/0xb;if(_0x561247===_0x3b20d1)break;else _0xf15087['push'](_0xf15087['shift']());}catch(_0xabdbfb){_0xf15087['push'](_0xf15087['shift']());}}}(_0x5375,0xf119e));const e={'mcpStatus':{'disconnected':_0x2acb6d(0x1eb),'connecting':'MCP\x20Connecting...','connected':_0x2acb6d(0x1ea),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2acb6d(0x1e3),'unknown':_0x2acb6d(0x1d8),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2acb6d(0x1e0),'networkError':_0x2acb6d(0x1ee),'maxRetriesExceeded':_0x2acb6d(0x1c8),'clickToConnect':_0x2acb6d(0x1ef),'clickToConfigure':_0x2acb6d(0x1f0)},'mcpConfig':{'title':_0x2acb6d(0x1df),'description':_0x2acb6d(0x1e6),'apiKey':_0x2acb6d(0x1e2),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2acb6d(0x1f4),'enableAuth':_0x2acb6d(0x1ce),'enableAuthHint':_0x2acb6d(0x1d0),'connectionInfo':_0x2acb6d(0x1d6),'mcpClientConfig':_0x2acb6d(0x1d6),'configInstructions':_0x2acb6d(0x1e8),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x2acb6d(0x1cc),'configStep2':_0x2acb6d(0x1d1),'configStep3':_0x2acb6d(0x1e9),'sessionId':_0x2acb6d(0x1cf),'sessionIdDescription':_0x2acb6d(0x1e1),'authorizationDescription':_0x2acb6d(0x1f2),'configParameters':_0x2acb6d(0x1c5),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0x2acb6d(0x1d5),'note2':_0x2acb6d(0x1f5),'configSaved':_0x2acb6d(0x1c7),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2acb6d(0x1e4),'description':_0x2acb6d(0x1de),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2acb6d(0x1db)},'validation':{'apiKeyRequired':_0x2acb6d(0x1f7),'apiKeyTooShort':_0x2acb6d(0x1f3),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2acb6d(0x1c6)},'connectionStatus':{'disconnected':_0x2acb6d(0x1cd),'connecting':_0x2acb6d(0x1c9),'connected':_0x2acb6d(0x1f6),'failed':_0x2acb6d(0x1ca),'retrying':_0x2acb6d(0x1e7)},'connectionError':{'unauthorized':_0x2acb6d(0x1d2),'sessionOccupied':_0x2acb6d(0x1d7),'networkError':_0x2acb6d(0x1d4),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x5375(){const _0x46c3fb=['Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connected','MCP\x20Disconnected','exports','1GpcxpY','MCP:\x20Network\x20Error','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','94731ANmMNb','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connected','API\x20key\x20is\x20required','1107505KeVGjZ','4311610JzqUgi','Configuration\x20Parameters:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','Connecting...','Connection\x20Failed','8AkENQR','Copy\x20the\x20JSON\x20configuration\x20below','Disconnected','Enable\x20Authentication','Session\x20ID','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','23117127Golplu','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','3675396biCgMP','714AHGEeZ','Get\x20your\x20API\x20key\x20in\x20seconds','4744107SqQdBU','28awDoqX','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\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20Key','MCP\x20Retrying...','What\x20is\x20API\x20Key?','3416186gYCmrV','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets'];_0x5375=function(){return _0x46c3fb;};return _0x5375();}function _0xfe51(_0x16592c,_0x2f0cf7){_0x16592c=_0x16592c-0x1c5;const _0x53753c=_0x5375();let _0xfe51b7=_0x53753c[_0x16592c];return _0xfe51b7;}module[_0x2acb6d(0x1ec)]=n;
1
+ 'use strict';function _0x5c88(_0x2d7923,_0x9b4338){_0x2d7923=_0x2d7923-0x1cb;const _0x25e60b=_0x25e6();let _0x5c884e=_0x25e60b[_0x2d7923];return _0x5c884e;}const _0x4460a8=_0x5c88;(function(_0x4c1904,_0x53e756){const _0x24e0a8=_0x5c88,_0x284b53=_0x4c1904();while(!![]){try{const _0x22712c=-parseInt(_0x24e0a8(0x1f6))/0x1+-parseInt(_0x24e0a8(0x1f2))/0x2*(-parseInt(_0x24e0a8(0x1d9))/0x3)+parseInt(_0x24e0a8(0x1cc))/0x4+-parseInt(_0x24e0a8(0x1e1))/0x5*(parseInt(_0x24e0a8(0x1cb))/0x6)+parseInt(_0x24e0a8(0x1d7))/0x7+-parseInt(_0x24e0a8(0x1dd))/0x8*(-parseInt(_0x24e0a8(0x200))/0x9)+parseInt(_0x24e0a8(0x1f4))/0xa;if(_0x22712c===_0x53e756)break;else _0x284b53['push'](_0x284b53['shift']());}catch(_0x10b700){_0x284b53['push'](_0x284b53['shift']());}}}(_0x25e6,0x8b9e5));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4460a8(0x1d2),'connected':_0x4460a8(0x1d3),'failed':_0x4460a8(0x1e3),'retrying':_0x4460a8(0x1f7),'unknown':_0x4460a8(0x1e9),'unauthorized':_0x4460a8(0x1ce),'sessionOccupied':_0x4460a8(0x1ef),'networkError':_0x4460a8(0x1f1),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4460a8(0x1cd),'clickToConfigure':_0x4460a8(0x201)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4460a8(0x1e8),'apiKey':_0x4460a8(0x1f9),'apiKeyPlaceholder':_0x4460a8(0x1e6),'apiKeyHint':_0x4460a8(0x1dc),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4460a8(0x1de),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x4460a8(0x1d0),'configInstructions':_0x4460a8(0x1fc),'configStepTitle':_0x4460a8(0x1f8),'configStep1':_0x4460a8(0x1fd),'configStep2':_0x4460a8(0x1e2),'configStep3':_0x4460a8(0x202),'sessionId':_0x4460a8(0x1ff),'sessionIdDescription':_0x4460a8(0x1f5),'authorizationDescription':_0x4460a8(0x1e0),'configParameters':_0x4460a8(0x1ea),'maxRetries':'Max\x20Retries','save':_0x4460a8(0x1d6),'saving':_0x4460a8(0x1f3),'note1':_0x4460a8(0x1e7),'note2':_0x4460a8(0x1fa),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4460a8(0x1cf),'apiApplyInfo':{'title':_0x4460a8(0x1ee),'description':_0x4460a8(0x1e5),'univerAiLabel':_0x4460a8(0x1fb),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4460a8(0x1da),'apiKeyTooShort':_0x4460a8(0x1db),'invalidConfig':_0x4460a8(0x1f0),'invalidApiKey':_0x4460a8(0x1ed)},'connectionStatus':{'disconnected':_0x4460a8(0x1e4),'connecting':_0x4460a8(0x1ec),'connected':_0x4460a8(0x1eb),'failed':_0x4460a8(0x1df),'retrying':_0x4460a8(0x1d8)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4460a8(0x1d1),'networkError':_0x4460a8(0x1d5),'maxRetriesExceeded':_0x4460a8(0x1fe)}}},n=e;function _0x25e6(){const _0x510ce2=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','What\x20is\x20API\x20Key?','MCP:\x20Session\x20ID\x20Occupied','Invalid\x20configuration','MCP:\x20Network\x20Error','123502DXfFZU','Saving...','6867680bLddGH','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','982190ndwVzM','MCP\x20Retrying...','Configuration\x20Steps:','API\x20Key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Univer\x20AI\x20Console','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Copy\x20the\x20JSON\x20configuration\x20below','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','182394vrLTyi','Click\x20to\x20configure\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','46734vXJWpG','2488844Tstuiu','Click\x20to\x20connect\x20MCP','MCP:\x20Unauthorized','Failed\x20to\x20save\x20configuration','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connecting...','MCP\x20Connected','exports','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Save\x20Configuration','1736084Vthcpy','Retrying...','33gcEaIg','API\x20key\x20is\x20required','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','72JgPZCi','Enable\x20authentication\x20for\x20secure\x20connections','Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','555ZUoKEa','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connection\x20Failed','Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enter\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status','Configuration\x20Parameters:','Connected','Connecting...'];_0x25e6=function(){return _0x510ce2;};return _0x25e6();}module[_0x4460a8(0x1d4)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x384cc9=_0x2f98;(function(_0x1402e3,_0x373d39){const _0x2d1c6b=_0x2f98,_0x54b773=_0x1402e3();while(!![]){try{const _0x44a414=parseInt(_0x2d1c6b(0x95))/0x1*(parseInt(_0x2d1c6b(0x8d))/0x2)+parseInt(_0x2d1c6b(0x8e))/0x3+parseInt(_0x2d1c6b(0x76))/0x4+parseInt(_0x2d1c6b(0x94))/0x5*(-parseInt(_0x2d1c6b(0x8b))/0x6)+-parseInt(_0x2d1c6b(0x87))/0x7*(parseInt(_0x2d1c6b(0xa2))/0x8)+-parseInt(_0x2d1c6b(0x80))/0x9*(-parseInt(_0x2d1c6b(0x9b))/0xa)+-parseInt(_0x2d1c6b(0x78))/0xb*(parseInt(_0x2d1c6b(0x8a))/0xc);if(_0x44a414===_0x373d39)break;else _0x54b773['push'](_0x54b773['shift']());}catch(_0x21facd){_0x54b773['push'](_0x54b773['shift']());}}}(_0x4332,0xb5bfd));const e={'mcpStatus':{'disconnected':_0x384cc9(0xa5),'connecting':_0x384cc9(0x88),'connected':'MCP\x20接続済み','failed':_0x384cc9(0x9e),'retrying':_0x384cc9(0x84),'unknown':_0x384cc9(0x7d),'unauthorized':_0x384cc9(0x89),'sessionOccupied':_0x384cc9(0x85),'networkError':_0x384cc9(0x9f),'maxRetriesExceeded':_0x384cc9(0x82),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':_0x384cc9(0x90)},'mcpConfig':{'title':_0x384cc9(0x93),'description':_0x384cc9(0x98),'apiKey':_0x384cc9(0xaa),'apiKeyPlaceholder':_0x384cc9(0x8f),'apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':_0x384cc9(0x96),'enableAuthHint':_0x384cc9(0x86),'connectionInfo':'MCPクライアント設定','mcpClientConfig':_0x384cc9(0xa9),'configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x384cc9(0x81),'configStep1':_0x384cc9(0x7b),'configStep2':_0x384cc9(0xa0),'configStep3':_0x384cc9(0x7a),'sessionId':_0x384cc9(0xa3),'sessionIdDescription':_0x384cc9(0x99),'authorizationDescription':'Bearerプレフィックス付きのAPIキー。','configParameters':_0x384cc9(0x97),'maxRetries':_0x384cc9(0xa4),'save':_0x384cc9(0x9c),'saving':_0x384cc9(0xa7),'note1':_0x384cc9(0x77),'note2':_0x384cc9(0xa8),'configSaved':'設定が正常に保存されました','configError':'設定の保存に失敗しました','apiApplyInfo':{'title':_0x384cc9(0x8c),'description':_0x384cc9(0x92),'univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x384cc9(0x9d)},'validation':{'apiKeyRequired':'APIキーは必須です','apiKeyTooShort':_0x384cc9(0x91),'invalidConfig':_0x384cc9(0x9a),'invalidApiKey':_0x384cc9(0xa6)},'connectionStatus':{'disconnected':'未接続','connecting':_0x384cc9(0xab),'connected':_0x384cc9(0x7e),'failed':_0x384cc9(0x7c),'retrying':_0x384cc9(0xa1)},'connectionError':{'unauthorized':_0x384cc9(0x79),'sessionOccupied':_0x384cc9(0x7f),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0x384cc9(0xac)}}};function _0x4332(){const _0x18f08e=['クリックしてMCPを設定','APIキーは10文字以上である必要があります','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','MCP設定','4555mOrhvo','1100609KkpnmD','認証を有効にする','設定パラメータ:','MCPを設定してAIでスプレッドシートを操作','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','無効な設定','455810EPLMKX','設定を保存','数秒でAPIキーを取得','MCP\x20接続失敗','MCP:\x20ネットワークエラー','MCPクライアントの設定ファイルに設定を追加','再試行中...','4396640ZoIyaX','セッションID','最大再試行回数','MCP\x20未接続','無効なAPIキーです。キーが正しいか確認してください','保存中...','APIキーはローカルストレージに安全に保存されます','MCPクライアント設定','APIキー','接続中...','最大再試行回数を超過しました。後でもう一度お試しください','3618524djeRRv','設定の変更は直ちに有効になります','5305091ohzGRS','認証に失敗しました。APIキーを確認してください','MCPクライアントを再起動して設定を適用','以下のJSON設定をコピー','接続失敗','MCP\x20不明な状態','接続済み','セッションIDが現在使用中です。後でもう一度お試しください','117dUPzTu','設定手順:','MCP:\x20最大再試行回数を超過','exports','MCP\x20再試行中...','MCP:\x20セッションIDが使用中','セキュアな接続のために認証を有効にする','7aDyqMo','MCP\x20接続中...','MCP:\x20認証されていません','60PDbGHZ','282PVLaGa','APIキーとは?','2KELmbk','3451362qfoRxN','APIキーを入力してください'];_0x4332=function(){return _0x18f08e;};return _0x4332();}function _0x2f98(_0x3452ea,_0x4a0c3c){_0x3452ea=_0x3452ea-0x76;const _0x433240=_0x4332();let _0x2f9833=_0x433240[_0x3452ea];return _0x2f9833;}module[_0x384cc9(0x83)]=e;
1
+ 'use strict';const _0x5a07a2=_0x57e2;function _0x38f1(){const _0x4c0ab1=['MCP\x20再試行中...','1600ZMrOYV','接続済み','設定の保存に失敗しました','ネットワーク接続エラー。インターネット接続を確認してください','MCP\x20接続済み','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','MCPクライアントの設定に次の設定を追加してください:','設定手順:','MCPクライアントを再起動して設定を適用','MCPを設定してAIでスプレッドシートを操作','接続失敗','APIキーは10文字以上である必要があります','認証に失敗しました。APIキーを確認してください','MCP\x20不明な状態','未接続','APIキー','APIキーは必須です','以下のJSON設定をコピー','MCP\x20未接続','設定の変更は直ちに有効になります','設定が正常に保存されました','MCPクライアント設定','APIキーはこのブラウザのローカルに保存されます','393246VkiRBj','3124944kRZOMM','設定パラメータ:','MCP:\x20認証されていません','Univer\x20AIコンソール','無効な設定','1357800FBpJuX','クリックしてMCPに接続','セキュアな接続のために認証を有効にする','MCP設定','APIキーとは?','MCP:\x20ネットワークエラー','接続中...','Bearerプレフィックス付きのAPIキー。','最大再試行回数','認証を有効にする','再試行中...','214782jQPTSO','7Uoqjnn','無効なAPIキーです。キーが正しいか確認してください','549176Tjesff','841740MppqwJ','APIキーはローカルストレージに安全に保存されます','MCP:\x20最大再試行回数を超過','90UBBRtS','数秒でAPIキーを取得','APIキーを入力してください','クリックしてMCPを設定','MCPクライアントの設定ファイルに設定を追加','MCP:\x20セッションIDが使用中'];_0x38f1=function(){return _0x4c0ab1;};return _0x38f1();}function _0x57e2(_0x39c87a,_0x2f9335){_0x39c87a=_0x39c87a-0xac;const _0x38f179=_0x38f1();let _0x57e233=_0x38f179[_0x39c87a];return _0x57e233;}(function(_0x56d8f5,_0x1e317b){const _0x3fd2ac=_0x57e2,_0x5117f2=_0x56d8f5();while(!![]){try{const _0xe5e973=parseInt(_0x3fd2ac(0xb9))/0x1*(parseInt(_0x3fd2ac(0xc0))/0x2)+-parseInt(_0x3fd2ac(0xd7))/0x3+parseInt(_0x3fd2ac(0xb5))/0x4+parseInt(_0x3fd2ac(0xb6))/0x5+parseInt(_0x3fd2ac(0xb2))/0x6*(parseInt(_0x3fd2ac(0xb3))/0x7)+parseInt(_0x3fd2ac(0xdd))/0x8+-parseInt(_0x3fd2ac(0xd8))/0x9;if(_0xe5e973===_0x1e317b)break;else _0x5117f2['push'](_0x5117f2['shift']());}catch(_0x58de6e){_0x5117f2['push'](_0x5117f2['shift']());}}}(_0x38f1,0x199a2));const e={'mcpStatus':{'disconnected':_0x5a07a2(0xd2),'connecting':'MCP\x20接続中...','connected':_0x5a07a2(0xc4),'failed':'MCP\x20接続失敗','retrying':_0x5a07a2(0xbf),'unknown':_0x5a07a2(0xcd),'unauthorized':_0x5a07a2(0xda),'sessionOccupied':_0x5a07a2(0xbe),'networkError':_0x5a07a2(0xac),'maxRetriesExceeded':_0x5a07a2(0xb8),'clickToConnect':_0x5a07a2(0xde),'clickToConfigure':_0x5a07a2(0xbc)},'mcpConfig':{'title':_0x5a07a2(0xe0),'description':_0x5a07a2(0xc9),'apiKey':_0x5a07a2(0xcf),'apiKeyPlaceholder':_0x5a07a2(0xbb),'apiKeyHint':_0x5a07a2(0xd6),'enableAuth':_0x5a07a2(0xb0),'enableAuthHint':_0x5a07a2(0xdf),'connectionInfo':_0x5a07a2(0xd5),'mcpClientConfig':'MCPクライアント設定','configInstructions':_0x5a07a2(0xc6),'configStepTitle':_0x5a07a2(0xc7),'configStep1':_0x5a07a2(0xd1),'configStep2':_0x5a07a2(0xbd),'configStep3':_0x5a07a2(0xc8),'sessionId':'セッションID','sessionIdDescription':_0x5a07a2(0xc5),'authorizationDescription':_0x5a07a2(0xae),'configParameters':_0x5a07a2(0xd9),'maxRetries':_0x5a07a2(0xaf),'save':'設定を保存','saving':'保存中...','note1':_0x5a07a2(0xd3),'note2':_0x5a07a2(0xb7),'configSaved':_0x5a07a2(0xd4),'configError':_0x5a07a2(0xc2),'apiApplyInfo':{'title':_0x5a07a2(0xe1),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':_0x5a07a2(0xdb),'getStarted':_0x5a07a2(0xba)},'validation':{'apiKeyRequired':_0x5a07a2(0xd0),'apiKeyTooShort':_0x5a07a2(0xcb),'invalidConfig':_0x5a07a2(0xdc),'invalidApiKey':_0x5a07a2(0xb4)},'connectionStatus':{'disconnected':_0x5a07a2(0xce),'connecting':_0x5a07a2(0xad),'connected':_0x5a07a2(0xc1),'failed':_0x5a07a2(0xca),'retrying':_0x5a07a2(0xb1)},'connectionError':{'unauthorized':_0x5a07a2(0xcc),'sessionOccupied':'セッションIDが現在使用中です。後でもう一度お試しください','networkError':_0x5a07a2(0xc3),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module['exports']=e;