@univerjs-pro/mcp-ui 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-d708bff

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 +6 -6
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3e8ced=_0x4f56;(function(_0x20f4f9,_0x103044){const _0x3037a0=_0x4f56,_0x498035=_0x20f4f9();while(!![]){try{const _0x1c297e=parseInt(_0x3037a0(0x140))/0x1+-parseInt(_0x3037a0(0x1ce))/0x2+-parseInt(_0x3037a0(0x1a0))/0x3+parseInt(_0x3037a0(0x11d))/0x4+parseInt(_0x3037a0(0x18d))/0x5+parseInt(_0x3037a0(0x1b3))/0x6*(-parseInt(_0x3037a0(0x15f))/0x7)+-parseInt(_0x3037a0(0x183))/0x8*(-parseInt(_0x3037a0(0x105))/0x9);if(_0x1c297e===_0x103044)break;else _0x498035['push'](_0x498035['shift']());}catch(_0x2c11fa){_0x498035['push'](_0x498035['shift']());}}}(_0x2231,0x63e96));var Pe=Object['defineProperty'],Ee=(_0x14424a,_0x55b853,_0x31e699)=>_0x55b853 in _0x14424a?Pe(_0x14424a,_0x55b853,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31e699}):_0x14424a[_0x55b853]=_0x31e699,x=(_0x6e88bd,_0x5363bc,_0xbba938)=>Ee(_0x6e88bd,typeof _0x5363bc!='symbol'?_0x5363bc+'':_0x5363bc,_0xbba938);import{LocaleService as _0x2d1d03,Inject as _0x31c38a,Injector as _0x371f22,IConfigService as _0x4f36c9,ILocalStorageService as _0x69308d,ILogService as _0x5cfd1c,Disposable as _0x248fde,CommandType as _0x27ed62,ICommandService as _0x16f475,DependentOn as _0x5c5feb,Plugin as _0x427040,merge as _0x4d406f}from'@univerjs/core';function _0x2231(){const _0x1c73bc=['length','Success','_blank','mcpConfig.apiApplyInfo.getStarted','univer-text-gray-500','HelpIcon','url(#on-line-icon_clip0_910_349)','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','text','mcpConfig.connectionInfo','_injector','noopener\x20noreferrer','mcpConfig.connectionError.networkError','mcpStatus.maxRetriesExceeded','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','MCP\x20Connected','0\x200\x2016\x2016','配置保存失败','univer-text-gray-400','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20网络错误','close','getOwnPropertyDescriptor','mcp-config-dialog','mcpConfig.apiKey','mcpConfig.apiApplyInfo.description','1em','off-line-icon_clip0_910_343','启用身份验证','mcpStatus.connecting','网络连接错误,请检查您的网络连接','8fqWbdS','univer-flex\x20univer-items-center\x20univer-gap-3','MCP:\x20会话\x20ID\x20已被占用','MCP\x20Disconnected','close-icon','MCP\x20Retrying...','mcpConfig.configParameters','Configuration\x20Parameters:','https://mcp.univer.ai/mcp/?univer_session_id=','MCP\x20Client\x20Configuration','3071805RMoCka','showConfigPanel','_dialogService','mcp-ui.config','mcpStatus.sessionOccupied','displayName','http','univer-space-y-2','_componentManager','mcpConfig.validation.invalidConfig','univer-shrink-0\x20univer-text-red-500','univer.ai','value','toString','\x20-\x20','mcpConfig.connectionStatus.connected','mcpStatus.failed','MCP\x20Unknown\x20Status','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','1698282wLoxJt','已连接','Connecting...','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','getItem','\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','trim','点击配置\x20MCP','_commandService','error','subscribeConfigValue$','mcpConfig.apiKeyPlaceholder','MCP_UI_PLUGIN','univer-flex\x20univer-items-center','Max\x20Retries','最大重试次数','MCP\x20连接失败','https://console.univer.plus','42GLfBsl','OnLineIcon','mcpConfig.connectionStatus.failed','pre','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','_config$','Save\x20Configuration','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','connectionStatus$','svg','univer-text-xs\x20univer-text-gray-600','univer-space-y-5','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Failed\x20to\x20save\x20configuration','_localStorageService','univer-bg-green-500','__setCustomHeaders','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCP\x20已连接','off-line-icon','currentColor','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','clipPath','重启您的\x20MCP\x20客户端以使配置生效','_validateConfig','add','idSuffix','1078400Hucygo','next','OffLineIcon','mcpStatus.networkError','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','mcpConfig.title','div','mcpConfig.connectionError.unauthorized','evenodd','_loading$','mcpStatus.retrying','mcpConfig.sessionIdDescription','NETWORK_ERROR','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Notes:','univer-text-white','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','将以下配置添加到您的\x20MCP\x20客户端设置中:','M0\x200H16V16H0z','replace','on-line-icon_clip0_910_349','label','API\x20Key','MCPConfigPanel','fill','univer-text-yellow-500','map','univer-shrink-0\x20univer-text-blue-500','sessionId$','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mcpConfig.note2','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mask','_uiPartsService','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','UniverIcon','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP:\x20超出最大重试次数','entries','MCP\x20Configuration','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20未授权','button','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','defIds','pluginName','warn','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','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','MAX_RETRIES_EXCEEDED','_registerComponent','将配置添加到您的\x20MCP\x20客户端设置文件中','attrs','mcp-ui.command.openConfigPanel','mcpConfig.validation.invalidApiKey','_handleConfigure','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_config','mcpConfig.configStep2','配置步骤:','univer-text-sm\x20univer-font-medium','MCP\x20客户端配置','univer-min-w-0\x20univer-flex-1','univer-text-red-500','univerjs-icon\x20univerjs-icon-','string','连接失败','url(#$1','MCP\x20状态未知','BUTTON','启用身份验证以获得安全连接','权限验证失败,请检查您的\x20API\x20密钥','children','span','mcpConfig.validation.apiKeyRequired','复制以下\x20JSON\x20配置','forEach','errorMessage','removeItem','MCP\x20Connecting...','assign','off','几秒钟内获取您的\x20API\x20密钥','on-line-icon','mcpConfig.connectionError.sessionOccupied','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','http://www.w3.org/2000/svg','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','HEADER_MENU','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.validation.apiKeyTooShort','bottom','重连中...','_messageService','mcpStatus.unknown','_mcpConnectionController','mcpConfig.configStepTitle','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','random','getCurrentConfig','API\x20密钥不能为空','mcpServerUrl','univer-size-2\x20univer-rounded-full','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','includes','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','UNAUTHORIZED','univer-flex\x20univer-items-center\x20univer-gap-2','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.configStep1','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','https://console.univer.ai','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','none','univer-bg-red-500','isValid','onStarting','_createConfigPanelComponent','MCP\x20已断开','_logService','_apiKey$','_initStatusComponent','_connectionController','path','配置保存成功','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','apiKey','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.configSaved','Error','colorChannel1','push','NONE','mcpConfig.note1','get','RETRYING','6970086TTUHMS','univer-text-xs\x20univer-text-gray-500','Configuration\x20saved\x20successfully','CONNECTED','SESSION_ID_OCCUPIED','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','FAILED','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','use','univer-text-blue-600','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','getConfig','API\x20密钥无效,请检查密钥是否正确','配置参数:','_loadStoredApiKey','保存配置','MCP:\x20Unauthorized','CheckMarkIcon','请输入您的\x20API\x20密钥','mcpStatus.connected','univer-bg-blue-500','univer-size-4','mcpConfig.description','check-mark-icon','1974280UyJIMK','defs','registerComponent','showDeveloperTools','xlink:href','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-flex\x20univer-items-start\x20univer-gap-3','Disconnected','_initAutoConnect','tag','show','mcpConfig.connectionStatus.disconnected','Connected','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','round','Get\x20your\x20API\x20key\x20in\x20seconds','DISCONNECTED','API\x20密钥','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','setItem','_configService','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','OTHERS','connectionError$','Bearer\x20','white','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','API\x20key\x20with\x20Bearer\x20prefix.','您的\x20API\x20密钥将在此浏览器中本地存储','Click\x20to\x20configure\x20MCP','mcpConfig.save','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','您的\x20API\x20密钥安全存储在本地存储中','stringify','register','58223NZRmWK','showStatus','mcpConfig.apiApplyInfo.title','What\x20is\x20API\x20Key?','current','配置无效','setConfig','_menuManagerService','_localeService','保存中...','mcpConfig.apiApplyInfo.univerAiLabel','连接中...','CONNECTING','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','_initConfigSync','univer_session_id:','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_mcpCoreConfig$','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','has','COMMAND','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','disposeWithMe','_initializeMenus','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer.plus','subscribe','mcpConfig.connectionError.maxRetriesExceeded','univer-text-green-500','mcp.apiKey','426076GWaXGr','univer-flex\x20univer-items-start\x20univer-gap-2','MCP\x20重连中...'];_0x2231=function(){return _0x1c73bc;};return _0x2231();}import{jsxs as _0x1b559c,jsx as _0x47340d}from'react/jsx-runtime';import{MCPConnectionStatus as _0x189f6f,MCPConnectionError as _0x31675b,MCPConnectionController as _0x50e3ff,MCP_PLUGIN_CONFIG_KEY as _0x150e7c,UniverMCPPlugin as _0x1b8c93}from'@univerjs-pro/mcp';import{clsx as _0x46199e,Input as _0x284520,Button as _0x282a55,MessageType as _0x1a0d56,Tooltip as _0x5943fd}from'@univerjs/design';import{useDependency as _0x4a2426,useObservable as _0x177185,IUIPartsService as _0x19cd2c,IDialogService as _0x5e2aef,IMessageService as _0xa5d3fe,ComponentManager as _0x9514dc,connectInjector as _0x5713f0,BuiltInUIPart as _0x4a61c3,MenuItemType as _0x27a01e,RibbonStartGroup as _0x1dd860,IMenuManagerService as _0xb404cf}from'@univerjs/ui';import{BehaviorSubject as _0xd8fb9f}from'rxjs';import{useRef as _0x19d62c,createElement as _0x248d2d,forwardRef as _0x221012,useState as _0x57c4e2,useCallback as _0x547744}from'react';import{ISocketService as _0xb2c640,WebSocketService as _0x36dedd}from'@univerjs/network';function b({ref:_0xb1b18d,..._0x2386d1}){const _0x2e542f=_0x4f56,{icon:_0x108faf,id:_0x3397b8,className:_0x33021d,extend:_0x14f176,..._0x48c0cd}=_0x2386d1,_0x2241c9=(_0x2e542f(0xba)+_0x3397b8+'\x20'+(_0x33021d||''))['trim'](),_0x2c2c83=_0x19d62c('_'+We());return ae(_0x108faf,''+_0x3397b8,{'defIds':_0x108faf[_0x2e542f(0xa6)],'idSuffix':_0x2c2c83[_0x2e542f(0x144)]},{'ref':_0xb1b18d,'className':_0x2241c9,..._0x48c0cd},_0x14f176);}function ae(_0x505d5d,_0x3ed0d7,_0x2eb6e1,_0x131712,_0x315491){const _0x1d492e=_0x4f56;return _0x248d2d(_0x505d5d[_0x1d492e(0x126)],{'key':_0x3ed0d7,...Ye(_0x505d5d,_0x2eb6e1,_0x315491),..._0x131712},(Ze(_0x505d5d,_0x2eb6e1)[_0x1d492e(0xc2)]||[])[_0x1d492e(0x93)]((_0x1e4114,_0x120c26)=>ae(_0x1e4114,_0x3ed0d7+'-'+_0x505d5d[_0x1d492e(0x126)]+'-'+_0x120c26,_0x2eb6e1,void 0x0,_0x315491)));}function Ye(_0x2de42e,_0x3cdc9d,_0x20415e){const _0x255b5b=_0x4f56,_0x43a185={..._0x2de42e[_0x255b5b(0xae)]};_0x20415e!=null&&_0x20415e[_0x255b5b(0xff)]&&_0x43a185[_0x255b5b(0x91)]===_0x255b5b(0xff)&&(_0x43a185[_0x255b5b(0x91)]=_0x20415e[_0x255b5b(0xff)]),_0x2de42e[_0x255b5b(0x126)]==='mask'&&_0x43a185['id']&&(_0x43a185['id']=_0x43a185['id']+_0x3cdc9d[_0x255b5b(0x1cd)]),Object[_0x255b5b(0x9f)](_0x43a185)[_0x255b5b(0xc6)](([_0x2779f0,_0x3240ac])=>{const _0x7bc8d4=_0x255b5b;_0x2779f0===_0x7bc8d4(0x99)&&typeof _0x3240ac==_0x7bc8d4(0xbb)&&(_0x43a185[_0x2779f0]=_0x3240ac[_0x7bc8d4(0x8c)](/url\(#(.*)\)/,_0x7bc8d4(0xbd)+_0x3cdc9d[_0x7bc8d4(0x1cd)]+')'));});const {defIds:_0x5e5efe}=_0x3cdc9d;return!_0x5e5efe||_0x5e5efe[_0x255b5b(0x162)]===0x0||(_0x2de42e['tag']===_0x255b5b(0x10d)&&_0x43a185[_0x255b5b(0x121)]&&(_0x43a185['xlink:href']=_0x43a185[_0x255b5b(0x121)]+_0x3cdc9d['idSuffix']),Object[_0x255b5b(0x9f)](_0x43a185)[_0x255b5b(0xc6)](([_0x38ac7f,_0x792737])=>{const _0x2c8235=_0x255b5b;typeof _0x792737==_0x2c8235(0xbb)&&(_0x43a185[_0x38ac7f]=_0x792737[_0x2c8235(0x8c)](/url\(#(.*)\)/,_0x2c8235(0xbd)+_0x3cdc9d[_0x2c8235(0x1cd)]+')'));})),_0x43a185;}function Ze(_0x10d5ab,_0x4b9132){const _0x18988f=_0x4f56;var _0x3447a1;const {defIds:_0x154a7c}=_0x4b9132;return!_0x154a7c||_0x154a7c['length']===0x0?_0x10d5ab:_0x10d5ab[_0x18988f(0x126)]===_0x18988f(0x11e)&&((_0x3447a1=_0x10d5ab[_0x18988f(0xc2)])!=null&&_0x3447a1[_0x18988f(0x162)])?{..._0x10d5ab,'children':_0x10d5ab[_0x18988f(0xc2)][_0x18988f(0x93)](_0x35593a=>typeof _0x35593a[_0x18988f(0xae)]['id']=='string'&&_0x154a7c&&_0x154a7c[_0x18988f(0xe3)](_0x35593a[_0x18988f(0xae)]['id'])?{..._0x35593a,'attrs':{..._0x35593a['attrs'],'id':_0x35593a['attrs']['id']+_0x4b9132[_0x18988f(0x1cd)]}}:_0x35593a)}:_0x10d5ab;}function We(){const _0x136fd5=_0x4f56;return Math[_0x136fd5(0xdc)]()[_0x136fd5(0x19a)](0x24)['substring'](0x2,0x8);}b[_0x3e8ced(0x192)]=_0x3e8ced(0x9c);const qe={'tag':'svg','attrs':{'xmlns':_0x3e8ced(0xd0),'fill':_0x3e8ced(0xee),'viewBox':_0x3e8ced(0x174),'width':'1em','height':_0x3e8ced(0x17e)},'children':[{'tag':_0x3e8ced(0xf8),'attrs':{'fill':_0x3e8ced(0x1c7),'d':_0x3e8ced(0x155),'fillRule':_0x3e8ced(0x81),'clipRule':_0x3e8ced(0x81)}}]},le=_0x221012(function(_0x4cd0dc,_0x49a2e6){const _0x549308=_0x3e8ced;return _0x248d2d(b,Object['assign']({},_0x4cd0dc,{'id':_0x549308(0x11c),'ref':_0x49a2e6,'icon':qe}));});le[_0x3e8ced(0x192)]=_0x3e8ced(0x116);const Xe={'tag':_0x3e8ced(0x1bc),'attrs':{'xmlns':_0x3e8ced(0xd0),'fill':_0x3e8ced(0xee),'viewBox':_0x3e8ced(0x174),'width':_0x3e8ced(0x17e),'height':'1em'},'children':[{'tag':_0x3e8ced(0xf8),'attrs':{'fill':_0x3e8ced(0x1c7),'d':_0x3e8ced(0xdb)}}]},ue=_0x221012(function(_0x1c81dc,_0x5d03ac){const _0x17b24d=_0x3e8ced;return _0x248d2d(b,Object[_0x17b24d(0xca)]({},_0x1c81dc,{'id':_0x17b24d(0x187),'ref':_0x5d03ac,'icon':Xe}));});ue['displayName']='CloseIcon';const Je={'tag':_0x3e8ced(0x1bc),'attrs':{'xmlns':_0x3e8ced(0xd0),'fill':_0x3e8ced(0xee),'viewBox':_0x3e8ced(0x174),'width':_0x3e8ced(0x17e),'height':_0x3e8ced(0x17e)},'children':[{'tag':_0x3e8ced(0xf8),'attrs':{'fill':_0x3e8ced(0x1c7),'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':_0x3e8ced(0xf8),'attrs':{'fill':'currentColor','d':'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'}},{'tag':_0x3e8ced(0xf8),'attrs':{'fill':_0x3e8ced(0x1c7),'d':_0x3e8ced(0x1c8),'fillRule':_0x3e8ced(0x81),'clipRule':_0x3e8ced(0x81)}}]},ve=_0x221012(function(_0x2ff601,_0x179bcc){return _0x248d2d(b,Object['assign']({},_0x2ff601,{'id':'help-icon','ref':_0x179bcc,'icon':Je}));});ve['displayName']=_0x3e8ced(0x167);const Qe={'tag':_0x3e8ced(0x1bc),'attrs':{'xmlns':_0x3e8ced(0xd0),'fill':_0x3e8ced(0xee),'viewBox':_0x3e8ced(0x174),'width':_0x3e8ced(0x17e),'height':_0x3e8ced(0x17e)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3e8ced(0xf8),'attrs':{'stroke':_0x3e8ced(0x1c7),'d':_0x3e8ced(0xaa),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e8ced(0x11e),'attrs':{},'children':[{'tag':_0x3e8ced(0x1c9),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3e8ced(0xf8),'attrs':{'fill':_0x3e8ced(0x136),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3e8ced(0x17f)]},de=_0x221012(function(_0x3e3a56,_0x858b57){const _0xbfc5b3=_0x3e8ced;return _0x248d2d(b,Object[_0xbfc5b3(0xca)]({},_0x3e3a56,{'id':_0xbfc5b3(0x1c6),'ref':_0x858b57,'icon':Qe}));});de['displayName']=_0x3e8ced(0x1d0);const en={'tag':'svg','attrs':{'xmlns':_0x3e8ced(0xd0),'fill':_0x3e8ced(0xee),'viewBox':'0\x200\x2017\x2016','width':_0x3e8ced(0x17e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3e8ced(0x168)},'children':[{'tag':'path','attrs':{'stroke':_0x3e8ced(0x1c7),'d':_0x3e8ced(0x137),'strokeLinecap':_0x3e8ced(0x12b),'strokeLinejoin':_0x3e8ced(0x12b),'strokeWidth':1.2}}]},{'tag':_0x3e8ced(0x11e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3e8ced(0x8d)},'children':[{'tag':_0x3e8ced(0xf8),'attrs':{'fill':_0x3e8ced(0x136),'d':_0x3e8ced(0x8b),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3e8ced(0x8d)]},ge=_0x221012(function(_0x240c2b,_0x4a4537){const _0xf11bb3=_0x3e8ced;return _0x248d2d(b,Object[_0xf11bb3(0xca)]({},_0x240c2b,{'id':_0xf11bb3(0xcd),'ref':_0x4a4537,'icon':en}));});ge[_0x3e8ced(0x192)]=_0x3e8ced(0x1b4);function nn(_0x4af731){const _0x57eed8=_0x3e8ced;var _0x543c7b,_0x4bf5f1;const {mcpCoreConfig:_0x7acd92,onSave:_0x5e5d3d,loading:_0x1ebcbf=!0x1,config:_0x3da499,connectionStatus$:_0x5e3a73,connectionError$:_0x3638d5,currentApiKey$:_0x76dc82,currentSessionId$:_0x4710e9}=_0x4af731,_0x205f34=_0x4a2426(_0x2d1d03),_0x50eeb6=_0x177185(_0x5e3a73,_0x189f6f[_0x57eed8(0x12d)]),_0x9234ba=_0x177185(_0x3638d5,_0x31675b[_0x57eed8(0x101)]),_0x16a5a6=_0x177185(_0x4710e9,''),_0x4e3718=_0x177185(_0x76dc82,''),[_0x2a961b,_0x13d0c5]=_0x57c4e2(_0x4e3718||''),_0x41782c=!0x0,_0x352d3a=_0x3da499['showDeveloperTools']&&_0x7acd92[_0x57eed8(0xdf)]&&(_0x7acd92[_0x57eed8(0xdf)][_0x57eed8(0xe3)](_0x57eed8(0x15a))||_0x7acd92[_0x57eed8(0xdf)]['includes']('univer.ai')),_0x1b7059=(_0x543c7b=_0x7acd92['mcpServerUrl'])==null?void 0x0:_0x543c7b[_0x57eed8(0xe3)]('univer.plus'),_0x4c74d9=(_0x4bf5f1=_0x7acd92[_0x57eed8(0xdf)])==null?void 0x0:_0x4bf5f1[_0x57eed8(0xe3)](_0x57eed8(0x198)),_0x5c06d0=_0x1b7059?_0x57eed8(0x1b2):_0x57eed8(0xeb),_0x5a22df=_0x3da499[_0x57eed8(0x120)]&&(_0x1b7059||_0x4c74d9),[_0x10d810,_0xe8449d]=_0x57c4e2(!_0x2a961b[_0x57eed8(0x1a7)]()),_0x33e2f5=(_0x5f2e37,_0x40208e)=>{const _0x455430=_0x57eed8;if(_0x40208e===_0x31675b[_0x455430(0xe6)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x5f2e37){case _0x189f6f[_0x455430(0x108)]:return _0x455430(0x1c4);case _0x189f6f['CONNECTING']:case _0x189f6f['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x189f6f[_0x455430(0x10b)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x336ead=(_0x207f50,_0x3e4e9c)=>{const _0x3deaa5=_0x57eed8;if(_0x3e4e9c===_0x31675b['UNAUTHORIZED'])return _0x3deaa5(0xef);switch(_0x207f50){case _0x189f6f[_0x3deaa5(0x108)]:return _0x3deaa5(0x1c2);case _0x189f6f[_0x3deaa5(0x14c)]:case _0x189f6f['RETRYING']:return _0x3deaa5(0x119);case _0x189f6f[_0x3deaa5(0x10b)]:return _0x3deaa5(0xef);default:return'univer-bg-gray-500';}},_0x312b93=_0x2b9d92=>{const _0x270b7b=_0x57eed8;switch(_0x2b9d92){case _0x189f6f['CONNECTED']:return _0x205f34['t'](_0x270b7b(0x19c));case _0x189f6f[_0x270b7b(0x14c)]:return _0x205f34['t'](_0x270b7b(0x1a3));case _0x189f6f['FAILED']:return _0x205f34['t'](_0x270b7b(0x1b5));case _0x189f6f[_0x270b7b(0x104)]:return _0x205f34['t']('mcpConfig.connectionStatus.retrying');default:return _0x205f34['t'](_0x270b7b(0x128));}},_0x3fa86e=_0x3c1af2=>{const _0x1cc81c=_0x57eed8;switch(_0x3c1af2){case _0x31675b['UNAUTHORIZED']:return _0x205f34['t'](_0x1cc81c(0x80));case _0x31675b[_0x1cc81c(0x109)]:return _0x205f34['t'](_0x1cc81c(0xce));case _0x31675b['NETWORK_ERROR']:return _0x205f34['t'](_0x1cc81c(0x170));case _0x31675b['MAX_RETRIES_EXCEEDED']:return _0x205f34['t'](_0x1cc81c(0x15c));default:return'';}},_0x48e4b9=_0x547744(()=>{const _0x88dde3=_0x57eed8,_0x243381={..._0x7acd92,'apiKey':_0x2a961b[_0x88dde3(0x1a7)](),'enableAuth':_0x41782c};_0x5e5d3d(_0x243381);},[_0x7acd92,_0x2a961b,_0x41782c,_0x5e5d3d]),_0x16de2a=_0x2a961b[_0x57eed8(0x1a7)]()[_0x57eed8(0x162)]>0x0;return _0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x13c),'children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x57eed8(0xe1),'children':_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x184),'children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x57eed8(0xe5),'children':_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0x88),'children':'⚙'})}),_0x47340d(_0x57eed8(0x7f),{'children':_0x47340d('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x205f34['t'](_0x57eed8(0x11b))})})]})}),_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x159),'children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x46199e(_0x57eed8(0x12f),_0x33e2f5(_0x50eeb6,_0x9234ba)),'children':_0x1b559c(_0x57eed8(0x7f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x46199e(_0x57eed8(0xe0),_0x336ead(_0x50eeb6,_0x9234ba))}),_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0xb6),'children':_0x312b93(_0x50eeb6)})]})}),_0x9234ba!==_0x31675b[_0x57eed8(0x101)]&&(_0x50eeb6===_0x189f6f[_0x57eed8(0x10b)]||_0x9234ba===_0x31675b[_0x57eed8(0xe6)])&&_0x47340d('div',{'className':_0x57eed8(0x132),'children':_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x160),'children':[_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0x197),'children':'⚠️'}),_0x47340d('p',{'className':_0x57eed8(0xcf),'children':_0x3fa86e(_0x9234ba)})]})})]}),_0x47340d('div',{'className':_0x57eed8(0x96),'children':_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x1be),'children':[_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x194),'children':[_0x1b559c(_0x57eed8(0x8e),{'className':_0x57eed8(0x1a4),'children':[_0x47340d(_0x57eed8(0xc3),{'children':'🔑'}),'\x20',_0x205f34['t'](_0x57eed8(0x17c)),_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0xb9),'children':'*'}),_0x352d3a&&_0x47340d('a',{'className':_0x57eed8(0x158),'title':_0x205f34['t'](_0x57eed8(0x142)),'role':_0x57eed8(0xa4),'onClick':()=>_0xe8449d(!0x0),'children':_0x47340d(ve,{})})]}),_0x47340d(_0x284520,{'type':_0x57eed8(0x16c),'placeholder':_0x205f34['t'](_0x57eed8(0x1ac)),'value':_0x2a961b,'disabled':_0x1ebcbf,'autoComplete':_0x57eed8(0xcb),'onChange':_0x13d0c5}),_0x47340d('p',{'className':_0x57eed8(0x106),'children':_0x205f34['t']('mcpConfig.apiKeyHint')})]}),_0x352d3a&&_0x10d810&&_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x14d),'children':[_0x47340d('a',{'className':_0x57eed8(0x9b),'role':_0x57eed8(0xa4),'onClick':()=>_0xe8449d(!0x1),'children':_0x47340d(ue,{'className':_0x57eed8(0x11a)})}),_0x1b559c('div',{'className':_0x57eed8(0xb2),'children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x57eed8(0x16a),'children':_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0x10e),'children':'🚀'})}),_0x1b559c('div',{'className':'univer-flex-1','children':[_0x47340d('h4',{'className':_0x57eed8(0x12a),'children':_0x205f34['t'](_0x57eed8(0x142))}),_0x47340d('p',{'className':_0x57eed8(0xec),'children':_0x205f34['t'](_0x57eed8(0x17d))}),_0x47340d('div',{'className':_0x57eed8(0x169),'children':_0x5a22df&&_0x1b559c('a',{'className':_0x57eed8(0x172),'href':_0x5c06d0,'target':_0x57eed8(0x164),'rel':_0x57eed8(0x16f),'children':[_0x47340d(_0x57eed8(0xc3),{'children':'🤖'}),_0x205f34['t'](_0x57eed8(0x14a)),_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0x176),'children':'↗'})]})}),_0x1b559c(_0x57eed8(0x7f),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x205f34['t'](_0x57eed8(0x165))]})]})]})]}),_0x3da499[_0x57eed8(0x120)]&&_0x1b559c(_0x57eed8(0x7f),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x1b559c('h4',{'className':_0x57eed8(0xd1),'children':[_0x47340d(_0x57eed8(0xc3),{'children':'🔗'}),'\x20',_0x205f34['t'](_0x57eed8(0x16d))]}),_0x1b559c(_0x57eed8(0x7f),{'className':'univer-space-y-4','children':[_0x1b559c(_0x57eed8(0x7f),{'className':'univer-space-y-3','children':[_0x47340d('p',{'className':_0x57eed8(0x1bd),'children':_0x205f34['t']('mcpConfig.configInstructions')}),_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x194),'children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x57eed8(0xfc),'children':_0x205f34['t'](_0x57eed8(0xda))}),_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x150),'children':[_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0xe7),'children':[_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0x10a),'children':'1'}),_0x205f34['t'](_0x57eed8(0xe9))]}),_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0xe7),'children':[_0x47340d(_0x57eed8(0xc3),{'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'}),_0x205f34['t'](_0x57eed8(0xb4))]}),_0x1b559c('div',{'className':_0x57eed8(0xe7),'children':[_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0x10a),'children':'3'}),_0x205f34['t']('mcpConfig.configStep3')]})]})]})]}),_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x194),'children':[_0x47340d('div',{'className':_0x57eed8(0xfc),'children':_0x57eed8(0xa0)}),_0x47340d(_0x57eed8(0x7f),{'className':_0x57eed8(0x122),'children':_0x47340d(_0x57eed8(0x1b6),{'className':_0x57eed8(0x10c),'children':JSON[_0x57eed8(0x13e)]({'mcpServers':{'univer':{'url':_0x57eed8(0x18b)+(_0x16a5a6||'<SESSION_ID>'),'type':_0x57eed8(0x193),'headers':{'Authorization':_0x57eed8(0x135)+(_0x2a961b||'<API_KEY>')}}}},null,0x2)})})]}),_0x1b559c(_0x57eed8(0x7f),{'className':'univer-space-y-3','children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x57eed8(0xfc),'children':_0x205f34['t'](_0x57eed8(0x189))}),_0x1b559c('div',{'className':'univer-space-y-2','children':[_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x123),'children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x57eed8(0x16b)}),_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0xb8),'children':[_0x47340d(_0x57eed8(0x7f),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x57eed8(0x14f)}),_0x47340d(_0x57eed8(0x7f),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x205f34['t'](_0x57eed8(0x84))})]})]}),_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x123),'children':[_0x47340d('div',{'className':_0x57eed8(0x16b)}),_0x1b559c('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x47340d(_0x57eed8(0x7f),{'className':_0x57eed8(0xe4),'children':'Authorization:'}),_0x47340d('div',{'className':_0x57eed8(0x106),'children':_0x205f34['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x47340d(_0x282a55,{'onClick':_0x48e4b9,'disabled':!_0x16de2a||_0x1ebcbf,'className':_0x57eed8(0x1d2),'children':_0x1ebcbf?_0x1b559c(_0x57eed8(0xc3),{'className':_0x57eed8(0xe7),'children':[_0x47340d('span',{'children':'⟲'}),_0x205f34['t']('mcpConfig.saving')]}):_0x1b559c(_0x57eed8(0xc3),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x47340d(le,{}),_0x205f34['t'](_0x57eed8(0x13b))]})}),_0x47340d('div',{'className':_0x57eed8(0x1ba),'children':_0x1b559c(_0x57eed8(0x7f),{'className':'univer-flex\x20univer-gap-3','children':[_0x47340d(_0x57eed8(0xc3),{'className':_0x57eed8(0x94),'children':'💡'}),_0x1b559c(_0x57eed8(0x7f),{'className':_0x57eed8(0x152),'children':[_0x47340d('div',{'className':'univer-font-medium','children':_0x57eed8(0x87)}),_0x1b559c(_0x57eed8(0x7f),{'children':['•',_0x205f34['t'](_0x57eed8(0x102))]}),_0x1b559c(_0x57eed8(0x7f),{'children':['•',_0x205f34['t'](_0x57eed8(0x97))]})]})]})})]})})]});}const y=_0x3e8ced(0x190),ie={'showDeveloperTools':!0x1,'showStatus':!0x0};var rn=Object[_0x3e8ced(0x17a)],tn=(_0x361f1f,_0x55b71f,_0x4c7300,_0x484183)=>{for(var _0x3d706a=_0x484183>0x1?void 0x0:_0x484183?rn(_0x55b71f,_0x4c7300):_0x55b71f,_0x37cc60=_0x361f1f['length']-0x1,_0x1598e1;_0x37cc60>=0x0;_0x37cc60--)(_0x1598e1=_0x361f1f[_0x37cc60])&&(_0x3d706a=_0x1598e1(_0x3d706a)||_0x3d706a);return _0x3d706a;},d=(_0x27862a,_0x156cf1)=>(_0x307963,_0x2011e1)=>_0x156cf1(_0x307963,_0x2011e1,_0x27862a);const U=_0x3e8ced(0x15e),L=_0x3e8ced(0x17b);let I=class extends _0x248fde{constructor(_0x364707,_0x447a99,_0x5e6c69,_0x155b1b,_0x35ad2a,_0x5d5075,_0x86a849,_0x12862d,_0x287e2f,_0x2af514){const _0x522320=_0x3e8ced;super(),x(this,_0x522320(0x82),new _0xd8fb9f(!0x1)),x(this,'_mcpCoreConfig$',new _0xd8fb9f({})),x(this,'_config$',new _0xd8fb9f({})),x(this,_0x522320(0xf5),new _0xd8fb9f('')),x(this,'_handleConfigSave',async _0x5206b1=>{const _0xd6b148=_0x522320;var _0x14c2b4,_0x49354c;this[_0xd6b148(0x82)][_0xd6b148(0x1cf)](!0x0);try{const _0x1689a4=await this[_0xd6b148(0x1cb)](_0x5206b1);if(!_0x1689a4[_0xd6b148(0xf0)]){this['_messageService']['show']({'type':_0x1a0d56[_0xd6b148(0xfe)],'content':_0x1689a4[_0xd6b148(0xc7)]||this[_0xd6b148(0x148)]['t'](_0xd6b148(0x196))});return;}_0x5206b1[_0xd6b148(0xfb)]?await this[_0xd6b148(0x1c1)][_0xd6b148(0x130)](U,_0x5206b1[_0xd6b148(0xfb)][_0xd6b148(0x1a7)]()):await this['_localStorageService'][_0xd6b148(0xc8)](U),this['_apiKey$'][_0xd6b148(0x1cf)](((_0x14c2b4=_0x5206b1['apiKey'])==null?void 0x0:_0x14c2b4[_0xd6b148(0x1a7)]())||''),this[_0xd6b148(0xd9)][_0xd6b148(0x1c3)]({'Authorization':_0xd6b148(0x135)+((_0x49354c=_0x5206b1['apiKey'])==null?void 0x0:_0x49354c[_0xd6b148(0x1a7)]())}),this[_0xd6b148(0xd7)][_0xd6b148(0x127)]({'type':_0x1a0d56[_0xd6b148(0x163)],'content':this[_0xd6b148(0x148)]['t'](_0xd6b148(0xfd))}),setTimeout(()=>{const _0x351b23=_0xd6b148;this[_0x351b23(0x18f)]['close'](L);},0x320);}catch(_0x16d463){this[_0xd6b148(0xf4)][_0xd6b148(0x1aa)](_0xd6b148(0xed),_0x16d463),this['_messageService']['show']({'type':_0x1a0d56[_0xd6b148(0xfe)],'content':this[_0xd6b148(0x148)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0xd6b148(0x1cf)](!0x1);}}),(this[_0x522320(0x16e)]=_0x364707,this['_uiPartsService']=_0x447a99,this['_configService']=_0x5e6c69,this[_0x522320(0x1c1)]=_0x155b1b,this[_0x522320(0x18f)]=_0x35ad2a,this[_0x522320(0xd7)]=_0x5d5075,this[_0x522320(0x195)]=_0x86a849,this[_0x522320(0x148)]=_0x12862d,this['_logService']=_0x287e2f,this[_0x522320(0xd9)]=_0x2af514,this[_0x522320(0x14e)](),this['_loadStoredApiKey'](),this['_registerComponent']());}['showConfigPanel'](){const _0x5832bb=_0x3e8ced,_0x5630b9=this[_0x5832bb(0x131)]['getConfig'](y);_0x5630b9!=null&&_0x5630b9[_0x5832bb(0x120)]&&this[_0x5832bb(0x18f)]['open']({'id':L,'title':{'title':this[_0x5832bb(0x148)]['t'](_0x5832bb(0x7e))},'children':{'label':_0x5832bb(0x90)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1b7fb2=_0x5832bb;this['_dialogService'][_0x1b7fb2(0x179)](L);}});}[_0x3e8ced(0xdd)](){const _0xbec4fd=_0x3e8ced;return this[_0xbec4fd(0x151)][_0xbec4fd(0x199)];}[_0x3e8ced(0xac)](){const _0x2bed29=_0x3e8ced;this[_0x2bed29(0x156)](this[_0x2bed29(0x195)][_0x2bed29(0x13f)](_0x2bed29(0x90),this[_0x2bed29(0xf2)]()));}['_createConfigPanelComponent'](){return _0x5713f0(()=>{const _0x3738be=_0x4f56;var _0x15fde7,_0x2fb8a4,_0x24fa5b;return _0x47340d(nn,{'config':this[_0x3738be(0x1b8)][_0x3738be(0x199)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x3738be(0x199)],'currentApiKey$':this[_0x3738be(0xf5)],'onSave':this['_handleConfigSave'],'loading':this[_0x3738be(0x82)][_0x3738be(0x199)],'connectionStatus$':(_0x15fde7=this['_mcpConnectionController'])==null?void 0x0:_0x15fde7[_0x3738be(0x1bb)],'connectionError$':(_0x2fb8a4=this[_0x3738be(0xd9)])==null?void 0x0:_0x2fb8a4[_0x3738be(0x134)],'currentSessionId$':(_0x24fa5b=this[_0x3738be(0xd9)])==null?void 0x0:_0x24fa5b[_0x3738be(0x95)]});},this['_injector']);}[_0x3e8ced(0x14e)](){const _0x5c3b8f=_0x3e8ced;this[_0x5c3b8f(0x156)](this[_0x5c3b8f(0x131)][_0x5c3b8f(0x1ab)](_0x150e7c)[_0x5c3b8f(0x15b)](_0x28d1a4=>{const _0x20f098=_0x5c3b8f;this[_0x20f098(0x151)][_0x20f098(0x1cf)](_0x28d1a4||{});}));const _0x3a8b45=this[_0x5c3b8f(0x131)][_0x5c3b8f(0x110)](_0x150e7c);this[_0x5c3b8f(0x151)][_0x5c3b8f(0x1cf)](_0x3a8b45||{}),this[_0x5c3b8f(0x156)](this[_0x5c3b8f(0x131)][_0x5c3b8f(0x1ab)](y)[_0x5c3b8f(0x15b)](_0x14a76b=>{const _0x1f47fb=_0x5c3b8f;this[_0x1f47fb(0x1b8)][_0x1f47fb(0x1cf)](_0x14a76b||{});}));const _0x4955b5=this[_0x5c3b8f(0x131)][_0x5c3b8f(0x110)](y);this[_0x5c3b8f(0x1b8)][_0x5c3b8f(0x1cf)](_0x4955b5||{});}async[_0x3e8ced(0x113)](){const _0xf26e59=_0x3e8ced,_0x4d740b=this[_0xf26e59(0x131)]['getConfig'](y);if(!(_0x4d740b!=null&&_0x4d740b['showDeveloperTools']))return;const _0x3d3cdf=await this[_0xf26e59(0x1c1)][_0xf26e59(0x1a5)](U);_0x3d3cdf&&(this[_0xf26e59(0xd9)]['__setCustomHeaders']({'Authorization':_0xf26e59(0x135)+_0x3d3cdf}),this[_0xf26e59(0xf5)]['next'](_0x3d3cdf));}async[_0x3e8ced(0x1cb)](_0x3a78f6){const _0x5b411e=_0x3e8ced;if(!_0x3a78f6[_0x5b411e(0xfb)]||_0x3a78f6[_0x5b411e(0xfb)][_0x5b411e(0x1a7)]()[_0x5b411e(0x162)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5b411e(0x148)]['t'](_0x5b411e(0xc4))};if(_0x3a78f6[_0x5b411e(0xfb)]['trim']()[_0x5b411e(0x162)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5b411e(0x148)]['t'](_0x5b411e(0xd4))};try{const _0x19395e=await this[_0x5b411e(0x16e)]['get'](_0x50e3ff)['validateApiKey'](_0x3a78f6[_0x5b411e(0xfb)][_0x5b411e(0x1a7)]());return _0x19395e[_0x5b411e(0xf0)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x19395e[_0x5b411e(0x1aa)]||this[_0x5b411e(0x148)]['t'](_0x5b411e(0xb0))};}catch(_0x2eefab){return console[_0x5b411e(0xa8)](_0x5b411e(0x98),_0x2eefab),{'isValid':!0x0};}}};I=tn([d(0x0,_0x31c38a(_0x371f22)),d(0x1,_0x19cd2c),d(0x2,_0x4f36c9),d(0x3,_0x69308d),d(0x4,_0x5e2aef),d(0x5,_0xa5d3fe),d(0x6,_0x31c38a(_0x9514dc)),d(0x7,_0x31c38a(_0x2d1d03)),d(0x8,_0x5cfd1c),d(0x9,_0x31c38a(_0x50e3ff))],I);const V={'id':_0x3e8ced(0xaf),'type':_0x27ed62[_0x3e8ced(0x154)],'handler':async(_0x1c7551,_0x3b303b)=>(_0x1c7551[_0x3e8ced(0x103)](I)[_0x3e8ced(0x18e)](),!0x0)};function _0x4f56(_0x3ddfbe,_0x18626b){_0x3ddfbe=_0x3ddfbe-0x7e;const _0x2231c8=_0x2231();let _0x4f568b=_0x2231c8[_0x3ddfbe];return _0x4f568b;}function pe(_0x13bbd2,_0x515cfb){const _0xcd5ff9=_0x3e8ced;switch(_0x13bbd2){case _0x189f6f[_0xcd5ff9(0x12d)]:return'mcpStatus.disconnected';case _0x189f6f[_0xcd5ff9(0x14c)]:return _0xcd5ff9(0x181);case _0x189f6f[_0xcd5ff9(0x108)]:return _0xcd5ff9(0x118);case _0x189f6f[_0xcd5ff9(0x10b)]:switch(_0x515cfb){case _0x31675b[_0xcd5ff9(0xe6)]:return'mcpStatus.unauthorized';case _0x31675b['SESSION_ID_OCCUPIED']:return _0xcd5ff9(0x191);case _0x31675b[_0xcd5ff9(0x85)]:return _0xcd5ff9(0x1d1);case _0x31675b[_0xcd5ff9(0xab)]:return _0xcd5ff9(0x171);default:return _0xcd5ff9(0x19d);}case _0x189f6f['RETRYING']:return _0xcd5ff9(0x83);default:return _0xcd5ff9(0xd8);}}function on(_0x472a8d,_0x3068fd,_0x116836,_0x77d822=!0x0){const _0x31ff2a=_0x3e8ced,_0x2df8d9=pe(_0x472a8d,_0x3068fd),_0x22b332=_0x116836['t'](_0x2df8d9);return _0x77d822?_0x472a8d===_0x189f6f['DISCONNECTED']&&_0x3068fd===_0x31675b[_0x31ff2a(0xe6)]?_0x22b332+_0x31ff2a(0x19b)+_0x116836['t']('mcpStatus.clickToConfigure'):_0x472a8d===_0x189f6f[_0x31ff2a(0x108)]?''+_0x22b332:_0x472a8d===_0x189f6f[_0x31ff2a(0x12d)]||_0x472a8d===_0x189f6f[_0x31ff2a(0x10b)]?_0x22b332+_0x31ff2a(0x19b)+_0x116836['t']('mcpStatus.clickToConnect'):_0x22b332:_0x22b332;}function sn(_0x1fa9e3){const _0x737cb8=_0x3e8ced;switch(_0x1fa9e3){case _0x189f6f[_0x737cb8(0x108)]:return _0x737cb8(0x15d);case _0x189f6f['CONNECTING']:case _0x189f6f[_0x737cb8(0x104)]:return _0x737cb8(0x92);case _0x189f6f[_0x737cb8(0x10b)]:case _0x189f6f[_0x737cb8(0x12d)]:return _0x737cb8(0xb9);default:return _0x737cb8(0x166);}}function cn(_0xf6751c){const _0x28a2bf=_0x3e8ced,{status$:_0x5a3773,error$:_0x435af9,onConfigure:_0x39271d,showClickable:_0x2e2f7b=!0x0}=_0xf6751c,_0x5ebe03=_0x177185(_0x5a3773,_0x189f6f[_0x28a2bf(0x12d)]),_0xc798d1=_0x177185(_0x435af9,_0x31675b['NONE']),_0x30e040=_0x4a2426(_0x2d1d03),_0x2ae178=_0x5ebe03===_0x189f6f[_0x28a2bf(0x108)];_0x5ebe03===_0x189f6f[_0x28a2bf(0x14c)]||_0x189f6f['RETRYING'];const _0x5c2853=_0x30e040['t'](pe(_0x5ebe03,_0xc798d1)),_0x30ff80=on(_0x5ebe03,_0xc798d1,_0x30e040,_0x2e2f7b),_0x5a8d01=sn(_0x5ebe03),_0x4ce653=_0x2ae178?_0x47340d(ge,{}):_0x47340d(de,{}),_0x3031e7=_0x547744(()=>{_0x2e2f7b&&_0x39271d&&_0x39271d();},[_0x2e2f7b,_0x39271d]);function _0x3e0457(){const _0x2964b5=_0x28a2bf;return _0x1b559c(_0x2964b5(0x7f),{'className':_0x46199e(_0x2964b5(0x1ae),_0x2e2f7b&&_0x39271d&&_0x2964b5(0x1a6)),'role':'button','onClick':_0x2e2f7b&&_0x39271d?_0x3031e7:void 0x0,'children':[_0x47340d(_0x2964b5(0x7f),{'className':_0x46199e('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x5a8d01),'children':_0x4ce653}),_0x47340d(_0x2964b5(0x7f),{'className':_0x2964b5(0x19f),'children':_0x5c2853})]});}return _0x47340d(_0x5943fd,{'title':_0x30ff80,'placement':_0x28a2bf(0xd5),'children':_0x3e0457()});}var an=Object[_0x3e8ced(0x17a)],ln=(_0x7e2026,_0x597d7,_0x1db131,_0x5cc4b6)=>{const _0x40bb46=_0x3e8ced;for(var _0x6ca2ed=_0x5cc4b6>0x1?void 0x0:_0x5cc4b6?an(_0x597d7,_0x1db131):_0x597d7,_0xd9e46c=_0x7e2026[_0x40bb46(0x162)]-0x1,_0x3a6d5e;_0xd9e46c>=0x0;_0xd9e46c--)(_0x3a6d5e=_0x7e2026[_0xd9e46c])&&(_0x6ca2ed=_0x3a6d5e(_0x6ca2ed)||_0x6ca2ed);return _0x6ca2ed;},M=(_0x3d23ab,_0x17a2dd)=>(_0x109f3c,_0x5db1e4)=>_0x17a2dd(_0x109f3c,_0x5db1e4,_0x3d23ab);let O=class extends _0x248fde{constructor(_0x1a265b,_0x4c3364,_0x1a8f8c,_0x45b506){const _0x3c293e=_0x3e8ced;super(),this[_0x3c293e(0x16e)]=_0x1a265b,this[_0x3c293e(0xf7)]=_0x4c3364,this[_0x3c293e(0x9a)]=_0x1a8f8c,this['_configService']=_0x45b506,this[_0x3c293e(0x125)](),this['_initStatusComponent']();}[_0x3e8ced(0x125)](){const _0x35949a=_0x3e8ced,_0x561bf7=this[_0x35949a(0x131)][_0x35949a(0x110)](y);_0x561bf7!=null&&_0x561bf7['showDeveloperTools']&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x3e8ced(0xf6)](){const _0x20075f=_0x3e8ced,_0x1b6c28=this[_0x20075f(0x131)][_0x20075f(0x110)](y);(_0x1b6c28==null?void 0x0:_0x1b6c28[_0x20075f(0x141)])!==!0x1&&this[_0x20075f(0x156)](this[_0x20075f(0x9a)][_0x20075f(0x11f)](_0x4a61c3[_0x20075f(0xd2)],()=>{const _0x15386a=_0x20075f;var _0x58fc04;return _0x5713f0(un({'status$':this[_0x15386a(0xf7)][_0x15386a(0x1bb)],'error$':this[_0x15386a(0xf7)]['connectionError$'],'onConfigure':()=>this[_0x15386a(0xb1)](),'showClickable':(_0x58fc04=_0x1b6c28==null?void 0x0:_0x1b6c28[_0x15386a(0x120)])!=null?_0x58fc04:!0x1}),this[_0x15386a(0x16e)]);}));}['_handleConfigure'](){const _0x50efd6=_0x3e8ced;this['_injector'][_0x50efd6(0x103)](I)['showConfigPanel']();}};O=ln([M(0x0,_0x31c38a(_0x371f22)),M(0x1,_0x31c38a(_0x50e3ff)),M(0x2,_0x19cd2c),M(0x3,_0x4f36c9)],O);function un(_0x24f438){const {status$:_0x3f5077,error$:_0x44a24f,onConfigure:_0x28acc2,showClickable:_0x3cfe7e}=_0x24f438;return function(){return _0x47340d(cn,{'status$':_0x3f5077,'error$':_0x44a24f,'onConfigure':_0x28acc2,'showClickable':_0x3cfe7e});};}function vn(_0x46d14e){const _0x57ca85=_0x3e8ced;return{'id':V['id'],'type':_0x27a01e[_0x57ca85(0xbf)],'icon':'MenuIcon','title':_0x57ca85(0x7e),'tooltip':'mcpConfig.title'};}const dn={[_0x1dd860[_0x3e8ced(0x133)]]:{[V['id']]:{'order':0xa,'menuItemFactory':vn}}};var gn=Object['getOwnPropertyDescriptor'],pn=(_0x371e70,_0x49fbe8,_0x18eb53,_0x2de41c)=>{const _0x23df99=_0x3e8ced;for(var _0x374017=_0x2de41c>0x1?void 0x0:_0x2de41c?gn(_0x49fbe8,_0x18eb53):_0x49fbe8,_0x5076d5=_0x371e70[_0x23df99(0x162)]-0x1,_0x2a7b2c;_0x5076d5>=0x0;_0x5076d5--)(_0x2a7b2c=_0x371e70[_0x5076d5])&&(_0x374017=_0x2a7b2c(_0x374017)||_0x374017);return _0x374017;},re=(_0x44cf96,_0x2a02fa)=>(_0x52cbfe,_0x43b532)=>_0x2a02fa(_0x52cbfe,_0x43b532,_0x44cf96);let D=class extends _0x248fde{constructor(_0x38938d,_0x4badae){const _0x2cee7b=_0x3e8ced;super(),this[_0x2cee7b(0x1a9)]=_0x38938d,this[_0x2cee7b(0x147)]=_0x4badae,this['_initializeCommands'](),this[_0x2cee7b(0x157)]();}['_initializeCommands'](){[V]['forEach'](_0x229dc2=>{const _0x370c18=_0x4f56;this[_0x370c18(0x156)](this[_0x370c18(0x1a9)]['registerCommand'](_0x229dc2));});}['_initializeMenus'](){const _0x3bacb1=_0x3e8ced;this[_0x3bacb1(0x147)]['mergeMenu'](dn);}};D=pn([re(0x0,_0x16f475),re(0x1,_0xb404cf)],D);const Mn={'mcpStatus':{'disconnected':_0x3e8ced(0x186),'connecting':_0x3e8ced(0xc9),'connected':_0x3e8ced(0x173),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3e8ced(0x188),'unknown':_0x3e8ced(0x19e),'unauthorized':_0x3e8ced(0x115),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3e8ced(0xa2),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3e8ced(0x13a)},'mcpConfig':{'title':_0x3e8ced(0xa0),'description':_0x3e8ced(0xe2),'apiKey':_0x3e8ced(0x8f),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3e8ced(0x89),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3e8ced(0x18c),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x3e8ced(0x86),'configStep2':_0x3e8ced(0x1bf),'configStep3':_0x3e8ced(0xea),'sessionId':'Session\x20ID','sessionIdDescription':_0x3e8ced(0x177),'authorizationDescription':_0x3e8ced(0x138),'configParameters':_0x3e8ced(0x18a),'maxRetries':_0x3e8ced(0x1af),'save':_0x3e8ced(0x1b9),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x3e8ced(0x10f),'configSaved':_0x3e8ced(0x107),'configError':_0x3e8ced(0x1c0),'apiApplyInfo':{'title':_0x3e8ced(0x143),'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':_0x3e8ced(0x12c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3e8ced(0xfa),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3e8ced(0x1b7)},'connectionStatus':{'disconnected':_0x3e8ced(0x124),'connecting':_0x3e8ced(0x1a2),'connected':_0x3e8ced(0x129),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3e8ced(0xa5),'sessionOccupied':_0x3e8ced(0xa9),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x3e8ced(0xd3)}}},An={'mcpStatus':{'disconnected':_0x3e8ced(0xf3),'connecting':'MCP\x20连接中...','connected':_0x3e8ced(0x1c5),'failed':_0x3e8ced(0x1b1),'retrying':_0x3e8ced(0x161),'unknown':_0x3e8ced(0xbe),'unauthorized':_0x3e8ced(0xa3),'sessionOccupied':_0x3e8ced(0x185),'networkError':_0x3e8ced(0x178),'maxRetriesExceeded':_0x3e8ced(0x9e),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x3e8ced(0x1a8)},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x3e8ced(0x12e),'apiKeyPlaceholder':_0x3e8ced(0x117),'apiKeyHint':_0x3e8ced(0x139),'enableAuth':_0x3e8ced(0x180),'enableAuthHint':_0x3e8ced(0xc0),'connectionInfo':_0x3e8ced(0xb7),'mcpClientConfig':_0x3e8ced(0xb7),'configInstructions':_0x3e8ced(0x8a),'configStepTitle':_0x3e8ced(0xb5),'configStep1':_0x3e8ced(0xc5),'configStep2':_0x3e8ced(0xad),'configStep3':_0x3e8ced(0x1ca),'sessionId':'会话ID','sessionIdDescription':_0x3e8ced(0x9d),'authorizationDescription':_0x3e8ced(0xa1),'configParameters':_0x3e8ced(0x112),'maxRetries':_0x3e8ced(0x1b0),'save':_0x3e8ced(0x114),'saving':_0x3e8ced(0x149),'note1':'配置更改将立即生效','note2':_0x3e8ced(0x13d),'configSaved':_0x3e8ced(0xf9),'configError':_0x3e8ced(0x175),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3e8ced(0xcc)},'validation':{'apiKeyRequired':_0x3e8ced(0xde),'apiKeyTooShort':_0x3e8ced(0xe8),'invalidConfig':_0x3e8ced(0x145),'invalidApiKey':_0x3e8ced(0x111)},'connectionStatus':{'disconnected':'未连接','connecting':_0x3e8ced(0x14b),'connected':_0x3e8ced(0x1a1),'failed':_0x3e8ced(0xbc),'retrying':_0x3e8ced(0xd6)},'connectionError':{'unauthorized':_0x3e8ced(0xc1),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x3e8ced(0x182),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var fn=Object['defineProperty'],hn=Object['getOwnPropertyDescriptor'],Cn=(_0x4576e3,_0x219f6f,_0xbff60e)=>_0x219f6f in _0x4576e3?fn(_0x4576e3,_0x219f6f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbff60e}):_0x4576e3[_0x219f6f]=_0xbff60e,mn=(_0x4784ab,_0xc5abd3,_0x55f1d4,_0x15af97)=>{const _0x2e2a8f=_0x3e8ced;for(var _0x3ec721=_0x15af97>0x1?void 0x0:_0x15af97?hn(_0xc5abd3,_0x55f1d4):_0xc5abd3,_0x339fcb=_0x4784ab[_0x2e2a8f(0x162)]-0x1,_0x47224a;_0x339fcb>=0x0;_0x339fcb--)(_0x47224a=_0x4784ab[_0x339fcb])&&(_0x3ec721=_0x47224a(_0x3ec721)||_0x3ec721);return _0x3ec721;},P=(_0x3ed31f,_0x2add39)=>(_0x362866,_0x200426)=>_0x2add39(_0x362866,_0x200426,_0x3ed31f),_n=(_0x36a4dc,_0x31e268,_0x35f5d6)=>Cn(_0x36a4dc,_0x31e268+'',_0x35f5d6);let j=class extends _0x427040{constructor(_0x3f1b56=ie,_0xae02a6,_0x185ee7,_0x15c5f3,_0x17b969,_0x4c0a55){const _0x1478ad=_0x3e8ced;super(),this['_config']=_0x3f1b56,this['_injector']=_0xae02a6,this[_0x1478ad(0x131)]=_0x185ee7,this['_uiPartsService']=_0x15c5f3,this['_localStorageService']=_0x17b969,this[_0x1478ad(0x148)]=_0x4c0a55;const {..._0x4b4ffc}=_0x4d406f({},ie,this[_0x1478ad(0xb3)]);this[_0x1478ad(0x131)][_0x1478ad(0x146)](y,_0x4b4ffc);}async[_0x3e8ced(0xf1)](){const _0x55b23c=_0x3e8ced,_0x32a754=[[O],[I],[D]];this[_0x55b23c(0x16e)][_0x55b23c(0x153)](_0xb2c640)||_0x32a754[_0x55b23c(0x100)]([_0xb2c640,{'useClass':_0x36dedd}]),_0x32a754['forEach'](_0x19477d=>this[_0x55b23c(0x16e)][_0x55b23c(0x1cc)](_0x19477d)),this[_0x55b23c(0x16e)][_0x55b23c(0x103)](O),this['_injector']['get'](I),this[_0x55b23c(0x16e)][_0x55b23c(0x103)](D);}};_n(j,_0x3e8ced(0xa7),_0x3e8ced(0x1ad)),j=mn([_0x5c5feb(_0x1b8c93),P(0x1,_0x31c38a(_0x371f22)),P(0x2,_0x4f36c9),P(0x3,_0x19cd2c),P(0x4,_0x69308d),P(0x5,_0x31c38a(_0x2d1d03))],j);export{nn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,cn as MCPStatusDisplay,D as MCPUIMenuController,V as OpenMCPConfigPanelCommand,j as UniverMCPUIPlugin,Mn as enUS,An as zhCN};
1
+ function _0x1499(_0x4eea87,_0x524980){_0x4eea87=_0x4eea87-0x1a9;const _0x59215c=_0x5921();let _0x149918=_0x59215c[_0x4eea87];return _0x149918;}const _0x5d78bf=_0x1499;(function(_0x40bb94,_0x285712){const _0x313ccf=_0x1499,_0x489ec0=_0x40bb94();while(!![]){try{const _0x463983=parseInt(_0x313ccf(0x2cc))/0x1*(parseInt(_0x313ccf(0x24c))/0x2)+-parseInt(_0x313ccf(0x1fa))/0x3*(parseInt(_0x313ccf(0x27e))/0x4)+-parseInt(_0x313ccf(0x287))/0x5+parseInt(_0x313ccf(0x275))/0x6*(parseInt(_0x313ccf(0x251))/0x7)+-parseInt(_0x313ccf(0x212))/0x8+parseInt(_0x313ccf(0x25a))/0x9*(parseInt(_0x313ccf(0x242))/0xa)+-parseInt(_0x313ccf(0x2b4))/0xb*(parseInt(_0x313ccf(0x236))/0xc);if(_0x463983===_0x285712)break;else _0x489ec0['push'](_0x489ec0['shift']());}catch(_0x293cd9){_0x489ec0['push'](_0x489ec0['shift']());}}}(_0x5921,0x568f7));var Pe=Object['defineProperty'],Ee=(_0x2833c5,_0x46c935,_0x31e6f1)=>_0x46c935 in _0x2833c5?Pe(_0x2833c5,_0x46c935,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31e6f1}):_0x2833c5[_0x46c935]=_0x31e6f1,x=(_0x4545e0,_0x3ba612,_0x7e1035)=>Ee(_0x4545e0,typeof _0x3ba612!=_0x5d78bf(0x284)?_0x3ba612+'':_0x3ba612,_0x7e1035);import{LocaleService as _0x364875,Inject as _0x1924e0,Injector as _0x397371,IConfigService as _0x55fb38,ILocalStorageService as _0x35efec,ILogService as _0x1cfe9b,Disposable as _0x528a41,CommandType as _0xcb49f,ICommandService as _0x2f5a85,DependentOn as _0x7797f2,Plugin as _0x295047,merge as _0x8941b2}from'@univerjs/core';import{jsxs as _0x2d0f15,jsx as _0x596870}from'react/jsx-runtime';import{MCPConnectionStatus as _0x416457,MCPConnectionError as _0x3ba906,MCPConnectionController as _0x75dfad,MCP_PLUGIN_CONFIG_KEY as _0x3bce4a,UniverMCPPlugin as _0x2e1d83}from'@univerjs-pro/mcp';import{clsx as _0x4dd0e3,Input as _0x482091,Button as _0x1800f7,MessageType as _0x2b9a0d,Tooltip as _0x2cd887}from'@univerjs/design';import{useDependency as _0x4f0240,useObservable as _0x3a5720,IUIPartsService as _0x22ec32,IDialogService as _0x1869ec,IMessageService as _0x125759,ComponentManager as _0xa7cbb0,connectInjector as _0x2eef07,BuiltInUIPart as _0x450f21,MenuItemType as _0xda0047,RibbonStartGroup as _0x144502,IMenuManagerService as _0x560c40}from'@univerjs/ui';function _0x5921(){const _0x3f4492=['mcpConfig.configStep2','0\x200\x2017\x2016','off-line-icon','univer-mr-2\x20univer-flex\x20univer-text-xl','API\x20密钥不能为空','translate(.97)','getConfig','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-flex\x20univer-items-center\x20univer-gap-2','univer-space-y-5','Authorization:','univer-text-xs\x20univer-text-gray-600','univer-text-gray-400','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpConfig.configStepTitle','apiKey','univer-space-y-4','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Bearer\x20','复制以下\x20JSON\x20配置','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','MCP\x20Client\x20Configuration','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','将以下配置添加到您的\x20MCP\x20客户端设置中:','on-line-icon_clip0_910_349','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP\x20Disconnected','mcpStatus.clickToConfigure','univer-space-y-2','check-mark-icon','Error','_commandService','766491HoAFwV','mcpServerUrl','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','currentColor','SESSION_ID_OCCUPIED','Disconnected','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcpStatus.unknown','<SESSION_ID>','enableAutoConnect','_mcpCoreConfig$','__setCustomHeaders','mcpConfig.title','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.connectionInfo','has','pluginName','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','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','CONNECTING','API\x20密钥无效,请检查密钥是否正确','next','mcpConfig.validation.invalidApiKey','1264504umBklt','Click\x20to\x20configure\x20MCP','none','colorChannel1','_componentManager','MenuIcon','mcp-config-dialog','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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','_initConfigSync','MCP\x20已断开','mcpConfig.authorizationDescription','showStatus','<API_KEY>','clipPath','_initializeCommands','权限验证失败,请检查您的\x20API\x20密钥','MCP\x20配置','\x20-\x20','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCPConfigPanel','url(#$1','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-flex\x20univer-items-center','span','defineProperty','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','assign','mcpStatus.networkError','sessionId$','univer-text-red-500','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','univer-text-yellow-500','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','配置参数:','166908CMNCed','showDeveloperTools','univer-text-sm\x20univer-text-gray-500','What\x20is\x20API\x20Key?','mcp-ui.command.openConfigPanel','_localStorageService','mcpConfig.apiKeyPlaceholder','COMMAND','_logService','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','help-icon','white','140qOFdrl','MCP\x20重连中...','_mcpConnectionController','univer_session_id:','displayName','请输入您的\x20API\x20密钥','univer-flex\x20univer-flex-wrap\x20univer-gap-2','close-icon','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-text-xs\x20univer-text-gray-500','1546yhBmRp','NONE','_handleConfigure','tag','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','928256qfKNdO','on-line-icon','网络连接错误,请检查您的网络连接','mcpConfig.connectionError.maxRetriesExceeded','_messageService','getCurrentConfig','MCP:\x20超出最大重试次数','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.sessionIdDescription','362214NJDlCf','replace','defIds','registerCommand','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','mask','off','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-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-bg-red-500','FAILED','error','showConfigPanel','forEach','value','Failed\x20to\x20save\x20configuration','0\x200\x2016\x2016','_blank','mcpConfig.apiApplyInfo.getStarted','mcpConfig.saving','API\x20密钥长度至少需要\x2010\x20位','_localeService','univer-flex\x20univer-gap-3','univer-flex-1','random','mcpConfig.validation.apiKeyRequired','fill','30DCtzGW','entries','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_UI_PLUGIN','http','DISCONNECTED','map','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','4sHYHcS','重启您的\x20MCP\x20客户端以使配置生效','_initializeMenus','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Unauthorized','mcpConfig.connectionError.networkError','symbol','_createConfigPanelComponent','univer-text-blue-600','2806460mCsUhH','button','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','HEADER_MENU','trim','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20已连接','_menuManagerService','MCP\x20状态未知','_apiKey$','MCP\x20客户端配置','off-line-icon_clip0_910_343','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.save','将配置添加到您的\x20MCP\x20客户端设置文件中','isValid','warn','超出最大重试次数,请稍后再试','Connected','mcpStatus.connected','配置\x20MCP\x20使用\x20AI\x20操作电子表格','OTHERS','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','children','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','includes','Max\x20Retries','配置步骤:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','connectionError$','attrs','url(#on-line-icon_clip0_910_349)','bottom','defs','Univer\x20AI\x20控制台','xlink:href','_loading$','MCP\x20连接中...','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','您的\x20API\x20密钥安全存储在本地存储中','univer-text-gray-500','univer-text-green-500','242LBriHf','RETRYING','MCP:\x20会话\x20ID\x20已被占用','OnLineIcon','MCP:\x20网络错误','mcpConfig.configSaved','current','push','_registerComponent','Session\x20ID','HelpIcon','mcpConfig.connectionStatus.connected','MCP\x20Retrying...','univer-text-white','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','_initAutoConnect','univer-shrink-0\x20univer-text-blue-500','evenodd','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','disposeWithMe','Configuration\x20Parameters:','mcpStatus.retrying','idSuffix','string','529pUyrNc','mcpConfig.apiApplyInfo.description','mcpStatus.sessionOccupied','stringify','_initStatusComponent','round','mcpConfig.validation.apiKeyTooShort','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MAX_RETRIES_EXCEEDED','_dialogService','open','http://www.w3.org/2000/svg','_validateConfig','Univer\x20AI\x20Console','什么是\x20API\x20密钥?','_uiPartsService','连接失败','div','get','Configuration\x20saved\x20successfully','启用身份验证以获得安全连接','_configService','CheckMarkIcon','1em','show','univer.plus','svg','errorMessage','M0\x200H16V16H0z','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCP\x20Connection\x20Failed','mcpConfig.connectionError.sessionOccupied','CONNECTED','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Enable\x20authentication\x20for\x20secure\x20connections','univer-flex\x20univer-items-center\x20univer-gap-3','MCP:\x20Session\x20ID\x20Occupied','会话\x20ID\x20已被占用,请稍后再试','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','path','_loadStoredApiKey','univer-bg-gray-500','univer-text-sm\x20univer-font-medium','Save\x20Configuration','removeItem','univer-bg-blue-500','\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','_config$','OffLineIcon','配置更改将立即生效','mcpStatus.maxRetriesExceeded','_injector','registerComponent','getOwnPropertyDescriptor','validateApiKey','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','CloseIcon','length','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-items-start\x20univer-gap-3','点击配置\x20MCP','连接中...','mergeMenu','univer-flex\x20univer-items-start\x20univer-gap-2','Invalid\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-min-w-0\x20univer-flex-1','MCP:\x20Network\x20Error','UNAUTHORIZED','label','_config','use','univer-size-4','NETWORK_ERROR','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpStatus.connecting','setItem','会话ID','Get\x20your\x20API\x20key\x20in\x20seconds','配置保存成功','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','未连接','_handleConfigSave','univer.ai','univer-font-medium','_connectionController','toString','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200'];_0x5921=function(){return _0x3f4492;};return _0x5921();}import{BehaviorSubject as _0x236d18}from'rxjs';import{useRef as _0x578334,createElement as _0x571a7e,forwardRef as _0x4fcd0d,useState as _0x50845d,useCallback as _0x398ac5}from'react';import{ISocketService as _0x3ade15,WebSocketService as _0x4de690}from'@univerjs/network';function b({ref:_0x1a1095,..._0x523443}){const _0x4e6d72=_0x5d78bf,{icon:_0x1cfeee,id:_0x228c01,className:_0x173802,extend:_0x5a96bf,..._0x4acb84}=_0x523443,_0x4b9498=('univerjs-icon\x20univerjs-icon-'+_0x228c01+'\x20'+(_0x173802||''))[_0x4e6d72(0x28b)](),_0x1616d0=_0x578334('_'+We());return ae(_0x1cfeee,''+_0x228c01,{'defIds':_0x1cfeee[_0x4e6d72(0x25c)],'idSuffix':_0x1616d0[_0x4e6d72(0x2ba)]},{'ref':_0x1a1095,'className':_0x4b9498,..._0x4acb84},_0x5a96bf);}function ae(_0x5bd01c,_0x2909e0,_0xccea2a,_0x2fdfd8,_0x46cac2){const _0x2d5084=_0x5d78bf;return _0x571a7e(_0x5bd01c[_0x2d5084(0x24f)],{'key':_0x2909e0,...Ye(_0x5bd01c,_0xccea2a,_0x46cac2),..._0x2fdfd8},(Ze(_0x5bd01c,_0xccea2a)[_0x2d5084(0x2a0)]||[])[_0x2d5084(0x27b)]((_0x3ebf47,_0x37c95c)=>ae(_0x3ebf47,_0x2909e0+'-'+_0x5bd01c['tag']+'-'+_0x37c95c,_0xccea2a,void 0x0,_0x46cac2)));}function Ye(_0x27584d,_0x4b5289,_0x1929b6){const _0x26c732=_0x5d78bf,_0x18fd1d={..._0x27584d['attrs']};_0x1929b6!=null&&_0x1929b6['colorChannel1']&&_0x18fd1d[_0x26c732(0x274)]===_0x26c732(0x215)&&(_0x18fd1d[_0x26c732(0x274)]=_0x1929b6[_0x26c732(0x215)]),_0x27584d[_0x26c732(0x24f)]==='mask'&&_0x18fd1d['id']&&(_0x18fd1d['id']=_0x18fd1d['id']+_0x4b5289[_0x26c732(0x2ca)]),Object[_0x26c732(0x276)](_0x18fd1d)[_0x26c732(0x267)](([_0x33e3f0,_0x4c898c])=>{const _0x52ba80=_0x26c732;_0x33e3f0===_0x52ba80(0x25f)&&typeof _0x4c898c==_0x52ba80(0x2cb)&&(_0x18fd1d[_0x33e3f0]=_0x4c898c['replace'](/url\(#(.*)\)/,_0x52ba80(0x227)+_0x4b5289[_0x52ba80(0x2ca)]+')'));});const {defIds:_0x4c4f3c}=_0x4b5289;return!_0x4c4f3c||_0x4c4f3c[_0x26c732(0x1bb)]===0x0||(_0x27584d[_0x26c732(0x24f)]===_0x26c732(0x1c9)&&_0x18fd1d[_0x26c732(0x2ad)]&&(_0x18fd1d['xlink:href']=_0x18fd1d[_0x26c732(0x2ad)]+_0x4b5289[_0x26c732(0x2ca)]),Object['entries'](_0x18fd1d)[_0x26c732(0x267)](([_0x4357ff,_0x27e68f])=>{const _0x449946=_0x26c732;typeof _0x27e68f=='string'&&(_0x18fd1d[_0x4357ff]=_0x27e68f[_0x449946(0x25b)](/url\(#(.*)\)/,_0x449946(0x227)+_0x4b5289[_0x449946(0x2ca)]+')'));})),_0x18fd1d;}function Ze(_0x33f32b,_0x3adbc1){const _0x68ffc1=_0x5d78bf;var _0x56ffc1;const {defIds:_0x133625}=_0x3adbc1;return!_0x133625||_0x133625['length']===0x0?_0x33f32b:_0x33f32b[_0x68ffc1(0x24f)]==='defs'&&((_0x56ffc1=_0x33f32b['children'])!=null&&_0x56ffc1[_0x68ffc1(0x1bb)])?{..._0x33f32b,'children':_0x33f32b[_0x68ffc1(0x2a0)][_0x68ffc1(0x27b)](_0x293822=>typeof _0x293822[_0x68ffc1(0x2a8)]['id']=='string'&&_0x133625&&_0x133625['includes'](_0x293822[_0x68ffc1(0x2a8)]['id'])?{..._0x293822,'attrs':{..._0x293822[_0x68ffc1(0x2a8)],'id':_0x293822['attrs']['id']+_0x3adbc1[_0x68ffc1(0x2ca)]}}:_0x293822)}:_0x33f32b;}function We(){const _0x3cecd5=_0x5d78bf;return Math[_0x3cecd5(0x272)]()[_0x3cecd5(0x1d8)](0x24)['substring'](0x2,0x8);}b[_0x5d78bf(0x246)]='UniverIcon';const qe={'tag':_0x5d78bf(0x2e6),'attrs':{'xmlns':_0x5d78bf(0x2d7),'fill':_0x5d78bf(0x214),'viewBox':_0x5d78bf(0x26a),'width':_0x5d78bf(0x2e3),'height':_0x5d78bf(0x2e3)},'children':[{'tag':_0x5d78bf(0x2f3),'attrs':{'fill':_0x5d78bf(0x1fe),'d':_0x5d78bf(0x258),'fillRule':_0x5d78bf(0x2c5),'clipRule':_0x5d78bf(0x2c5)}}]},le=_0x4fcd0d(function(_0x3160c2,_0x16c44a){const _0xb37c8b=_0x5d78bf;return _0x571a7e(b,Object['assign']({},_0x3160c2,{'id':_0xb37c8b(0x1f7),'ref':_0x16c44a,'icon':qe}));});le[_0x5d78bf(0x246)]=_0x5d78bf(0x2e2);const Xe={'tag':_0x5d78bf(0x2e6),'attrs':{'xmlns':_0x5d78bf(0x2d7),'fill':_0x5d78bf(0x214),'viewBox':_0x5d78bf(0x26a),'width':_0x5d78bf(0x2e3),'height':_0x5d78bf(0x2e3)},'children':[{'tag':_0x5d78bf(0x2f3),'attrs':{'fill':'currentColor','d':_0x5d78bf(0x293)}}]},ue=_0x4fcd0d(function(_0x3d096e,_0x482b8f){const _0x49d8ca=_0x5d78bf;return _0x571a7e(b,Object[_0x49d8ca(0x22e)]({},_0x3d096e,{'id':_0x49d8ca(0x249),'ref':_0x482b8f,'icon':Xe}));});ue[_0x5d78bf(0x246)]=_0x5d78bf(0x1ba);const Je={'tag':_0x5d78bf(0x2e6),'attrs':{'xmlns':_0x5d78bf(0x2d7),'fill':'none','viewBox':_0x5d78bf(0x26a),'width':_0x5d78bf(0x2e3),'height':_0x5d78bf(0x2e3)},'children':[{'tag':_0x5d78bf(0x2f3),'attrs':{'fill':_0x5d78bf(0x1fe),'d':_0x5d78bf(0x20c)}},{'tag':_0x5d78bf(0x2f3),'attrs':{'fill':_0x5d78bf(0x1fe),'d':_0x5d78bf(0x261)}},{'tag':_0x5d78bf(0x2f3),'attrs':{'fill':_0x5d78bf(0x1fe),'d':_0x5d78bf(0x1f0),'fillRule':'evenodd','clipRule':_0x5d78bf(0x2c5)}}]},ve=_0x4fcd0d(function(_0x581429,_0x101812){const _0x5543c0=_0x5d78bf;return _0x571a7e(b,Object[_0x5543c0(0x22e)]({},_0x581429,{'id':_0x5543c0(0x240),'ref':_0x101812,'icon':Je}));});ve['displayName']=_0x5d78bf(0x2be);const Qe={'tag':'svg','attrs':{'xmlns':_0x5d78bf(0x2d7),'fill':_0x5d78bf(0x214),'viewBox':_0x5d78bf(0x26a),'width':_0x5d78bf(0x2e3),'height':_0x5d78bf(0x2e3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x5d78bf(0x2f3),'attrs':{'stroke':'currentColor','d':_0x5d78bf(0x2a1),'strokeLinecap':_0x5d78bf(0x2d1),'strokeLinejoin':_0x5d78bf(0x2d1),'strokeWidth':1.2}}]},{'tag':_0x5d78bf(0x2ab),'attrs':{},'children':[{'tag':_0x5d78bf(0x220),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x5d78bf(0x2f3),'attrs':{'fill':_0x5d78bf(0x241),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5d78bf(0x292)]},de=_0x4fcd0d(function(_0x190e44,_0x136c8e){const _0x9966d6=_0x5d78bf;return _0x571a7e(b,Object['assign']({},_0x190e44,{'id':_0x9966d6(0x1dc),'ref':_0x136c8e,'icon':Qe}));});de[_0x5d78bf(0x246)]=_0x5d78bf(0x1b1);const en={'tag':_0x5d78bf(0x2e6),'attrs':{'xmlns':_0x5d78bf(0x2d7),'fill':'none','viewBox':_0x5d78bf(0x1db),'width':_0x5d78bf(0x2e3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5d78bf(0x2a9)},'children':[{'tag':_0x5d78bf(0x2f3),'attrs':{'stroke':_0x5d78bf(0x1fe),'d':_0x5d78bf(0x25e),'strokeLinecap':_0x5d78bf(0x2d1),'strokeLinejoin':_0x5d78bf(0x2d1),'strokeWidth':1.2}}]},{'tag':_0x5d78bf(0x2ab),'attrs':{},'children':[{'tag':_0x5d78bf(0x220),'attrs':{'id':_0x5d78bf(0x1f2)},'children':[{'tag':_0x5d78bf(0x2f3),'attrs':{'fill':'white','d':_0x5d78bf(0x2e8),'transform':_0x5d78bf(0x1df)}}]}]}],'defIds':[_0x5d78bf(0x1f2)]},ge=_0x4fcd0d(function(_0x3c8d1e,_0x3a126a){const _0xc91a7d=_0x5d78bf;return _0x571a7e(b,Object['assign']({},_0x3c8d1e,{'id':_0xc91a7d(0x252),'ref':_0x3a126a,'icon':en}));});ge[_0x5d78bf(0x246)]=_0x5d78bf(0x2b7);function nn(_0x3f2311){const _0x125966=_0x5d78bf;var _0x3b6c64,_0x2bd80a;const {mcpCoreConfig:_0x177817,onSave:_0x44108e,loading:_0x504504=!0x1,config:_0x339749,connectionStatus$:_0x45747c,connectionError$:_0x1963be,currentApiKey$:_0x18eee7,currentSessionId$:_0x4f8676}=_0x3f2311,_0x5ed2b9=_0x4f0240(_0x364875),_0x52b52f=_0x3a5720(_0x45747c,_0x416457[_0x125966(0x27a)]),_0x15dfcf=_0x3a5720(_0x1963be,_0x3ba906[_0x125966(0x24d)]),_0x1a58fb=_0x3a5720(_0x4f8676,''),_0x56d569=_0x3a5720(_0x18eee7,''),[_0x3c0abd,_0x2b5f59]=_0x50845d(_0x56d569||''),_0x436842=!0x0,_0x5019ab=_0x339749[_0x125966(0x237)]&&_0x177817[_0x125966(0x1fb)]&&(_0x177817[_0x125966(0x1fb)][_0x125966(0x2a2)](_0x125966(0x2e5))||_0x177817[_0x125966(0x1fb)][_0x125966(0x2a2)](_0x125966(0x1d5))),_0x16fd0c=(_0x3b6c64=_0x177817[_0x125966(0x1fb)])==null?void 0x0:_0x3b6c64['includes'](_0x125966(0x2e5)),_0x23d979=(_0x2bd80a=_0x177817[_0x125966(0x1fb)])==null?void 0x0:_0x2bd80a[_0x125966(0x2a2)](_0x125966(0x1d5)),_0x1e325f=_0x16fd0c?'https://console.univer.plus':'https://console.univer.ai',_0x5d800b=_0x339749[_0x125966(0x237)]&&(_0x16fd0c||_0x23d979),[_0x29de53,_0x2b1932]=_0x50845d(!_0x3c0abd[_0x125966(0x28b)]()),_0x1cdf28=(_0x3226c4,_0x2641a3)=>{const _0x41bd67=_0x125966;if(_0x2641a3===_0x3ba906[_0x41bd67(0x1c6)])return _0x41bd67(0x2d3);switch(_0x3226c4){case _0x416457[_0x41bd67(0x2ec)]:return _0x41bd67(0x24a);case _0x416457['CONNECTING']:case _0x416457[_0x41bd67(0x2b5)]:return _0x41bd67(0x289);case _0x416457[_0x41bd67(0x264)]:return _0x41bd67(0x2d3);default:return _0x41bd67(0x1d9);}},_0x4b5329=(_0x11deb8,_0x10f08a)=>{const _0xe1898e=_0x125966;if(_0x10f08a===_0x3ba906[_0xe1898e(0x1c6)])return _0xe1898e(0x263);switch(_0x11deb8){case _0x416457[_0xe1898e(0x2ec)]:return'univer-bg-green-500';case _0x416457['CONNECTING']:case _0x416457[_0xe1898e(0x2b5)]:return _0xe1898e(0x1ae);case _0x416457[_0xe1898e(0x264)]:return _0xe1898e(0x263);default:return _0xe1898e(0x1aa);}},_0x4fcf98=_0x45f6dc=>{const _0x339b2f=_0x125966;switch(_0x45f6dc){case _0x416457[_0x339b2f(0x2ec)]:return _0x5ed2b9['t'](_0x339b2f(0x2bf));case _0x416457[_0x339b2f(0x20e)]:return _0x5ed2b9['t'](_0x339b2f(0x1bc));case _0x416457[_0x339b2f(0x264)]:return _0x5ed2b9['t']('mcpConfig.connectionStatus.failed');case _0x416457[_0x339b2f(0x2b5)]:return _0x5ed2b9['t']('mcpConfig.connectionStatus.retrying');default:return _0x5ed2b9['t']('mcpConfig.connectionStatus.disconnected');}},_0x1751a2=_0x57f93f=>{const _0x3641c4=_0x125966;switch(_0x57f93f){case _0x3ba906[_0x3641c4(0x1c6)]:return _0x5ed2b9['t']('mcpConfig.connectionError.unauthorized');case _0x3ba906[_0x3641c4(0x1ff)]:return _0x5ed2b9['t'](_0x3641c4(0x2eb));case _0x3ba906[_0x3641c4(0x1cb)]:return _0x5ed2b9['t'](_0x3641c4(0x283));case _0x3ba906['MAX_RETRIES_EXCEEDED']:return _0x5ed2b9['t'](_0x3641c4(0x254));default:return'';}},_0x24b4fa=_0x398ac5(()=>{const _0x1d0b77=_0x125966,_0x41b233={..._0x177817,'apiKey':_0x3c0abd[_0x1d0b77(0x28b)](),'enableAuth':_0x436842};_0x44108e(_0x41b233);},[_0x177817,_0x3c0abd,_0x436842,_0x44108e]),_0x5eb7c7=_0x3c0abd[_0x125966(0x28b)]()['length']>0x0;return _0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x22d),'children':[_0x596870(_0x125966(0x2dd),{'className':_0x125966(0x250),'children':_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x2ef),'children':[_0x596870('div',{'className':_0x125966(0x1e7),'children':_0x596870(_0x125966(0x22a),{'className':_0x125966(0x2c1),'children':'⚙'})}),_0x596870(_0x125966(0x2dd),{'children':_0x596870('p',{'className':_0x125966(0x238),'children':_0x5ed2b9['t']('mcpConfig.description')})})]})}),_0x2d0f15('div',{'className':_0x125966(0x2f2),'children':[_0x596870('div',{'className':_0x4dd0e3(_0x125966(0x1b9),_0x1cdf28(_0x52b52f,_0x15dfcf)),'children':_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1e2),'children':[_0x596870(_0x125966(0x2dd),{'className':_0x4dd0e3('univer-size-2\x20univer-rounded-full',_0x4b5329(_0x52b52f,_0x15dfcf))}),_0x596870(_0x125966(0x22a),{'className':_0x125966(0x1ab),'children':_0x4fcf98(_0x52b52f)})]})}),_0x15dfcf!==_0x3ba906[_0x125966(0x24d)]&&(_0x52b52f===_0x416457['FAILED']||_0x15dfcf===_0x3ba906[_0x125966(0x1c6)])&&_0x596870(_0x125966(0x2dd),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x2d0f15('div',{'className':_0x125966(0x1c1),'children':[_0x596870(_0x125966(0x22a),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x596870('p',{'className':_0x125966(0x2c6),'children':_0x1751a2(_0x15dfcf)})]})})]}),_0x596870(_0x125966(0x2dd),{'className':_0x125966(0x234),'children':_0x2d0f15('div',{'className':_0x125966(0x1e3),'children':[_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1f6),'children':[_0x2d0f15(_0x125966(0x1c7),{'className':_0x125966(0x228),'children':[_0x596870('span',{'children':'🔑'}),'\x20',_0x5ed2b9['t']('mcpConfig.apiKey'),_0x596870(_0x125966(0x22a),{'className':_0x125966(0x231),'children':'*'}),_0x5019ab&&_0x596870('a',{'className':_0x125966(0x1b8),'title':_0x5ed2b9['t']('mcpConfig.apiApplyInfo.title'),'role':_0x125966(0x288),'onClick':()=>_0x2b1932(!0x0),'children':_0x596870(ve,{})})]}),_0x596870(_0x482091,{'type':'text','placeholder':_0x5ed2b9['t'](_0x125966(0x23c)),'value':_0x3c0abd,'disabled':_0x504504,'autoComplete':_0x125966(0x260),'onChange':_0x2b5f59}),_0x596870('p',{'className':_0x125966(0x24b),'children':_0x5ed2b9['t']('mcpConfig.apiKeyHint')})]}),_0x5019ab&&_0x29de53&&_0x2d0f15(_0x125966(0x2dd),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x596870('a',{'className':_0x125966(0x232),'role':'button','onClick':()=>_0x2b1932(!0x1),'children':_0x596870(ue,{'className':_0x125966(0x1ca)})}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x201),'children':[_0x596870(_0x125966(0x2dd),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x596870(_0x125966(0x22a),{'className':_0x125966(0x286),'children':'🚀'})}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x271),'children':[_0x596870('h4',{'className':_0x125966(0x1fc),'children':_0x5ed2b9['t']('mcpConfig.apiApplyInfo.title')}),_0x596870('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x5ed2b9['t'](_0x125966(0x2cd))}),_0x596870(_0x125966(0x2dd),{'className':_0x125966(0x248),'children':_0x5d800b&&_0x2d0f15('a',{'className':_0x125966(0x21a),'href':_0x1e325f,'target':_0x125966(0x26b),'rel':'noopener\x20noreferrer','children':[_0x596870(_0x125966(0x22a),{'children':'🤖'}),_0x5ed2b9['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x596870('span',{'className':_0x125966(0x1e6),'children':'↗'})]})}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1eb),'children':['✨','\x20',_0x5ed2b9['t'](_0x125966(0x26c))]})]})]})]}),_0x339749['showDeveloperTools']&&_0x2d0f15('div',{'className':_0x125966(0x2c2),'children':[_0x2d0f15('h4',{'className':_0x125966(0x23f),'children':[_0x596870('span',{'children':'🔗'}),'\x20',_0x5ed2b9['t'](_0x125966(0x209))]}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1ea),'children':[_0x2d0f15(_0x125966(0x2dd),{'className':'univer-space-y-3','children':[_0x596870('p',{'className':_0x125966(0x1e5),'children':_0x5ed2b9['t']('mcpConfig.configInstructions')}),_0x2d0f15(_0x125966(0x2dd),{'className':'univer-space-y-2','children':[_0x596870('div',{'className':_0x125966(0x2b0),'children':_0x5ed2b9['t'](_0x125966(0x1e8))}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x27c),'children':[_0x2d0f15(_0x125966(0x2dd),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x596870(_0x125966(0x22a),{'className':_0x125966(0x1ee),'children':'1'}),_0x5ed2b9['t']('mcpConfig.configStep1')]}),_0x2d0f15('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x596870('span',{'className':_0x125966(0x1ee),'children':'2'}),_0x5ed2b9['t'](_0x125966(0x1da))]}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1e2),'children':[_0x596870(_0x125966(0x22a),{'className':_0x125966(0x1ee),'children':'3'}),_0x5ed2b9['t']('mcpConfig.configStep3')]})]})]})]}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1f6),'children':[_0x596870('div',{'className':_0x125966(0x2b0),'children':_0x125966(0x2a6)}),_0x596870(_0x125966(0x2dd),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x596870('pre',{'className':_0x125966(0x20d),'children':JSON[_0x125966(0x2cf)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x1a58fb||_0x125966(0x203)),'type':_0x125966(0x279),'headers':{'Authorization':'Bearer\x20'+(_0x3c0abd||_0x125966(0x21f))}}}},null,0x2)})})]}),_0x2d0f15(_0x125966(0x2dd),{'className':'univer-space-y-3','children':[_0x596870(_0x125966(0x2dd),{'className':_0x125966(0x2b0),'children':_0x5ed2b9['t']('mcpConfig.configParameters')}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1f6),'children':[_0x2d0f15('div',{'className':_0x125966(0x1bd),'children':[_0x596870(_0x125966(0x2dd),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1c4),'children':[_0x596870(_0x125966(0x2dd),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x125966(0x245)}),_0x596870(_0x125966(0x2dd),{'className':_0x125966(0x24b),'children':_0x5ed2b9['t'](_0x125966(0x259))})]})]}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1bd),'children':[_0x596870(_0x125966(0x2dd),{'className':_0x125966(0x1e1)}),_0x2d0f15('div',{'className':_0x125966(0x1c4),'children':[_0x596870(_0x125966(0x2dd),{'className':_0x125966(0x27d),'children':_0x125966(0x1e4)}),_0x596870(_0x125966(0x2dd),{'className':_0x125966(0x24b),'children':_0x5ed2b9['t'](_0x125966(0x21d))})]})]})]})]})]})]}),_0x596870(_0x1800f7,{'onClick':_0x24b4fa,'disabled':!_0x5eb7c7||_0x504504,'className':_0x125966(0x1d2),'children':_0x504504?_0x2d0f15(_0x125966(0x22a),{'className':_0x125966(0x1e2),'children':[_0x596870('span',{'children':'⟲'}),_0x5ed2b9['t'](_0x125966(0x26d))]}):_0x2d0f15(_0x125966(0x22a),{'className':_0x125966(0x1e2),'children':[_0x596870(le,{}),_0x5ed2b9['t'](_0x125966(0x296))]})}),_0x596870(_0x125966(0x2dd),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x270),'children':[_0x596870(_0x125966(0x22a),{'className':_0x125966(0x2c4),'children':'💡'}),_0x2d0f15(_0x125966(0x2dd),{'className':_0x125966(0x1f3),'children':[_0x596870('div',{'className':_0x125966(0x1d6),'children':'Configuration\x20Notes:'}),_0x2d0f15(_0x125966(0x2dd),{'children':['•',_0x5ed2b9['t']('mcpConfig.note1')]}),_0x2d0f15('div',{'children':['•',_0x5ed2b9['t']('mcpConfig.note2')]})]})]})})]})})]});}const y='mcp-ui.config',ie={'showDeveloperTools':!0x1,'showStatus':!0x0};var rn=Object[_0x5d78bf(0x1b6)],tn=(_0x2f85b4,_0x4aa621,_0x47a0d2,_0x4d5879)=>{for(var _0x189188=_0x4d5879>0x1?void 0x0:_0x4d5879?rn(_0x4aa621,_0x47a0d2):_0x4aa621,_0xe4755=_0x2f85b4['length']-0x1,_0x1433da;_0xe4755>=0x0;_0xe4755--)(_0x1433da=_0x2f85b4[_0xe4755])&&(_0x189188=_0x1433da(_0x189188)||_0x189188);return _0x189188;},d=(_0x47d24c,_0x3effc0)=>(_0x477147,_0x4ecb43)=>_0x3effc0(_0x477147,_0x4ecb43,_0x47d24c);const U='mcp.apiKey',L=_0x5d78bf(0x218);let I=class extends _0x528a41{constructor(_0x181303,_0x4dd2ec,_0x1e6924,_0x2a2b24,_0x559157,_0x59dac8,_0x4c6f58,_0x1730f4,_0x522feb,_0xaaa3fb){const _0x5c6e04=_0x5d78bf;super(),x(this,_0x5c6e04(0x2ae),new _0x236d18(!0x1)),x(this,_0x5c6e04(0x205),new _0x236d18({})),x(this,_0x5c6e04(0x1b0),new _0x236d18({})),x(this,_0x5c6e04(0x290),new _0x236d18('')),x(this,'_handleConfigSave',async _0x3433e1=>{const _0x472d65=_0x5c6e04;var _0x1644ab,_0x306f25;this['_loading$'][_0x472d65(0x210)](!0x0);try{const _0x20de7c=await this[_0x472d65(0x2d8)](_0x3433e1);if(!_0x20de7c[_0x472d65(0x298)]){this[_0x472d65(0x255)][_0x472d65(0x2e4)]({'type':_0x2b9a0d[_0x472d65(0x1f8)],'content':_0x20de7c[_0x472d65(0x2e7)]||this[_0x472d65(0x26f)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3433e1['apiKey']?await this[_0x472d65(0x23b)][_0x472d65(0x1ce)](U,_0x3433e1[_0x472d65(0x1e9)][_0x472d65(0x28b)]()):await this['_localStorageService'][_0x472d65(0x1ad)](U),this['_apiKey$'][_0x472d65(0x210)](((_0x1644ab=_0x3433e1[_0x472d65(0x1e9)])==null?void 0x0:_0x1644ab[_0x472d65(0x28b)]())||''),this[_0x472d65(0x244)][_0x472d65(0x206)]({'Authorization':_0x472d65(0x1ec)+((_0x306f25=_0x3433e1['apiKey'])==null?void 0x0:_0x306f25[_0x472d65(0x28b)]())}),this[_0x472d65(0x255)][_0x472d65(0x2e4)]({'type':_0x2b9a0d['Success'],'content':this[_0x472d65(0x26f)]['t'](_0x472d65(0x2b9))}),setTimeout(()=>{this['_dialogService']['close'](L);},0x320);}catch(_0x24a3c8){this['_logService']['error'](_0x472d65(0x2e9),_0x24a3c8),this['_messageService']['show']({'type':_0x2b9a0d[_0x472d65(0x1f8)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this[_0x472d65(0x2ae)][_0x472d65(0x210)](!0x1);}}),(this['_injector']=_0x181303,this[_0x5c6e04(0x2db)]=_0x4dd2ec,this[_0x5c6e04(0x2e1)]=_0x1e6924,this[_0x5c6e04(0x23b)]=_0x2a2b24,this['_dialogService']=_0x559157,this[_0x5c6e04(0x255)]=_0x59dac8,this[_0x5c6e04(0x216)]=_0x4c6f58,this[_0x5c6e04(0x26f)]=_0x1730f4,this[_0x5c6e04(0x23e)]=_0x522feb,this[_0x5c6e04(0x244)]=_0xaaa3fb,this[_0x5c6e04(0x21b)](),this[_0x5c6e04(0x1a9)](),this[_0x5c6e04(0x2bc)]());}[_0x5d78bf(0x266)](){const _0x4d3d83=_0x5d78bf,_0x1060a1=this[_0x4d3d83(0x2e1)][_0x4d3d83(0x1e0)](y);_0x1060a1!=null&&_0x1060a1[_0x4d3d83(0x237)]&&this['_dialogService'][_0x4d3d83(0x2d6)]({'id':L,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':_0x4d3d83(0x226)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3a29f6=_0x4d3d83;this[_0x3a29f6(0x2d5)]['close'](L);}});}[_0x5d78bf(0x256)](){const _0x4ecbaa=_0x5d78bf;return this[_0x4ecbaa(0x205)][_0x4ecbaa(0x268)];}[_0x5d78bf(0x2bc)](){const _0x191900=_0x5d78bf;this['disposeWithMe'](this[_0x191900(0x216)]['register'](_0x191900(0x226),this[_0x191900(0x285)]()));}[_0x5d78bf(0x285)](){return _0x2eef07(()=>{const _0x55cd95=_0x1499;var _0x44bfcd,_0x44e35e,_0xfdc0f9;return _0x596870(nn,{'config':this[_0x55cd95(0x1b0)][_0x55cd95(0x268)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x55cd95(0x268)],'currentApiKey$':this[_0x55cd95(0x290)],'onSave':this[_0x55cd95(0x1d4)],'loading':this[_0x55cd95(0x2ae)][_0x55cd95(0x268)],'connectionStatus$':(_0x44bfcd=this[_0x55cd95(0x244)])==null?void 0x0:_0x44bfcd['connectionStatus$'],'connectionError$':(_0x44e35e=this[_0x55cd95(0x244)])==null?void 0x0:_0x44e35e[_0x55cd95(0x2a7)],'currentSessionId$':(_0xfdc0f9=this[_0x55cd95(0x244)])==null?void 0x0:_0xfdc0f9[_0x55cd95(0x230)]});},this['_injector']);}['_initConfigSync'](){const _0x3c6baa=_0x5d78bf;this[_0x3c6baa(0x2c7)](this[_0x3c6baa(0x2e1)]['subscribeConfigValue$'](_0x3bce4a)['subscribe'](_0x101052=>{const _0x184afd=_0x3c6baa;this[_0x184afd(0x205)][_0x184afd(0x210)](_0x101052||{});}));const _0xbcd21f=this[_0x3c6baa(0x2e1)]['getConfig'](_0x3bce4a);this[_0x3c6baa(0x205)][_0x3c6baa(0x210)](_0xbcd21f||{}),this['disposeWithMe'](this[_0x3c6baa(0x2e1)]['subscribeConfigValue$'](y)['subscribe'](_0x5c3388=>{const _0x5d8064=_0x3c6baa;this[_0x5d8064(0x1b0)][_0x5d8064(0x210)](_0x5c3388||{});}));const _0x21a55f=this[_0x3c6baa(0x2e1)][_0x3c6baa(0x1e0)](y);this[_0x3c6baa(0x1b0)][_0x3c6baa(0x210)](_0x21a55f||{});}async['_loadStoredApiKey'](){const _0xa9e6a9=_0x5d78bf,_0x3b8b85=this[_0xa9e6a9(0x2e1)]['getConfig'](y);if(!(_0x3b8b85!=null&&_0x3b8b85[_0xa9e6a9(0x237)]))return;const _0x5d42ac=await this[_0xa9e6a9(0x23b)]['getItem'](U);_0x5d42ac&&(this[_0xa9e6a9(0x244)][_0xa9e6a9(0x206)]({'Authorization':_0xa9e6a9(0x1ec)+_0x5d42ac}),this[_0xa9e6a9(0x290)]['next'](_0x5d42ac));}async[_0x5d78bf(0x2d8)](_0x48f055){const _0x36304d=_0x5d78bf;if(!_0x48f055['apiKey']||_0x48f055[_0x36304d(0x1e9)][_0x36304d(0x28b)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x36304d(0x26f)]['t'](_0x36304d(0x273))};if(_0x48f055[_0x36304d(0x1e9)]['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x36304d(0x2d2))};try{const _0x574743=await this[_0x36304d(0x1b4)]['get'](_0x75dfad)[_0x36304d(0x1b7)](_0x48f055[_0x36304d(0x1e9)][_0x36304d(0x28b)]());return _0x574743[_0x36304d(0x298)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x574743[_0x36304d(0x265)]||this[_0x36304d(0x26f)]['t'](_0x36304d(0x211))};}catch(_0x412e99){return console[_0x36304d(0x299)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x412e99),{'isValid':!0x0};}}};I=tn([d(0x0,_0x1924e0(_0x397371)),d(0x1,_0x22ec32),d(0x2,_0x55fb38),d(0x3,_0x35efec),d(0x4,_0x1869ec),d(0x5,_0x125759),d(0x6,_0x1924e0(_0xa7cbb0)),d(0x7,_0x1924e0(_0x364875)),d(0x8,_0x1cfe9b),d(0x9,_0x1924e0(_0x75dfad))],I);const V={'id':_0x5d78bf(0x23a),'type':_0xcb49f[_0x5d78bf(0x23d)],'handler':async(_0x4d2f0f,_0x23fa78)=>(_0x4d2f0f['get'](I)[_0x5d78bf(0x266)](),!0x0)};function pe(_0x1e3026,_0x566c70){const _0x41c4e1=_0x5d78bf;switch(_0x1e3026){case _0x416457[_0x41c4e1(0x27a)]:return'mcpStatus.disconnected';case _0x416457['CONNECTING']:return _0x41c4e1(0x1cd);case _0x416457[_0x41c4e1(0x2ec)]:return _0x41c4e1(0x29c);case _0x416457[_0x41c4e1(0x264)]:switch(_0x566c70){case _0x3ba906[_0x41c4e1(0x1c6)]:return'mcpStatus.unauthorized';case _0x3ba906[_0x41c4e1(0x1ff)]:return _0x41c4e1(0x2ce);case _0x3ba906[_0x41c4e1(0x1cb)]:return _0x41c4e1(0x22f);case _0x3ba906[_0x41c4e1(0x2d4)]:return _0x41c4e1(0x1b3);default:return'mcpStatus.failed';}case _0x416457[_0x41c4e1(0x2b5)]:return _0x41c4e1(0x2c9);default:return _0x41c4e1(0x202);}}function on(_0x447498,_0x18429b,_0xa5c21b,_0xbf2339=!0x0){const _0x445ff3=_0x5d78bf,_0x4cf60d=pe(_0x447498,_0x18429b),_0x436207=_0xa5c21b['t'](_0x4cf60d);return _0xbf2339?_0x447498===_0x416457['DISCONNECTED']&&_0x18429b===_0x3ba906[_0x445ff3(0x1c6)]?_0x436207+_0x445ff3(0x224)+_0xa5c21b['t'](_0x445ff3(0x1f5)):_0x447498===_0x416457[_0x445ff3(0x2ec)]?''+_0x436207:_0x447498===_0x416457[_0x445ff3(0x27a)]||_0x447498===_0x416457[_0x445ff3(0x264)]?_0x436207+'\x20-\x20'+_0xa5c21b['t']('mcpStatus.clickToConnect'):_0x436207:_0x436207;}function sn(_0x24559c){const _0x311aba=_0x5d78bf;switch(_0x24559c){case _0x416457[_0x311aba(0x2ec)]:return _0x311aba(0x2b3);case _0x416457[_0x311aba(0x20e)]:case _0x416457[_0x311aba(0x2b5)]:return _0x311aba(0x233);case _0x416457['FAILED']:case _0x416457[_0x311aba(0x27a)]:return'univer-text-red-500';default:return _0x311aba(0x2b2);}}function cn(_0x55786f){const _0xef08e7=_0x5d78bf,{status$:_0x3a0a50,error$:_0x2dd8e7,onConfigure:_0x5ecbb9,showClickable:_0x41efd0=!0x0}=_0x55786f,_0x158c4b=_0x3a5720(_0x3a0a50,_0x416457[_0xef08e7(0x27a)]),_0x29e848=_0x3a5720(_0x2dd8e7,_0x3ba906[_0xef08e7(0x24d)]),_0x4c82c7=_0x4f0240(_0x364875),_0x725db1=_0x158c4b===_0x416457[_0xef08e7(0x2ec)];_0x158c4b===_0x416457['CONNECTING']||_0x416457['RETRYING'];const _0x27b9f5=_0x4c82c7['t'](pe(_0x158c4b,_0x29e848)),_0x2ac1c8=on(_0x158c4b,_0x29e848,_0x4c82c7,_0x41efd0),_0x35f024=sn(_0x158c4b),_0x437c33=_0x725db1?_0x596870(ge,{}):_0x596870(de,{}),_0x510928=_0x398ac5(()=>{_0x41efd0&&_0x5ecbb9&&_0x5ecbb9();},[_0x41efd0,_0x5ecbb9]);function _0x36c07a(){const _0x12cb67=_0xef08e7;return _0x2d0f15('div',{'className':_0x4dd0e3(_0x12cb67(0x229),_0x41efd0&&_0x5ecbb9&&_0x12cb67(0x1af)),'role':_0x12cb67(0x288),'onClick':_0x41efd0&&_0x5ecbb9?_0x510928:void 0x0,'children':[_0x596870(_0x12cb67(0x2dd),{'className':_0x4dd0e3(_0x12cb67(0x1dd),_0x35f024),'children':_0x437c33}),_0x596870(_0x12cb67(0x2dd),{'className':_0x12cb67(0x262),'children':_0x27b9f5})]});}return _0x596870(_0x2cd887,{'title':_0x2ac1c8,'placement':_0xef08e7(0x2aa),'children':_0x36c07a()});}var an=Object[_0x5d78bf(0x1b6)],ln=(_0x2c2979,_0x6c93bc,_0x553d18,_0x4d5c37)=>{const _0x5aa13d=_0x5d78bf;for(var _0x5ab51e=_0x4d5c37>0x1?void 0x0:_0x4d5c37?an(_0x6c93bc,_0x553d18):_0x6c93bc,_0x455cfc=_0x2c2979[_0x5aa13d(0x1bb)]-0x1,_0x4d84d5;_0x455cfc>=0x0;_0x455cfc--)(_0x4d84d5=_0x2c2979[_0x455cfc])&&(_0x5ab51e=_0x4d84d5(_0x5ab51e)||_0x5ab51e);return _0x5ab51e;},M=(_0x1f8445,_0x2a688d)=>(_0x72c917,_0x312711)=>_0x2a688d(_0x72c917,_0x312711,_0x1f8445);let O=class extends _0x528a41{constructor(_0x51bb70,_0x46b780,_0x4d3ce4,_0x37c8c0){const _0x504c5c=_0x5d78bf;super(),this['_injector']=_0x51bb70,this[_0x504c5c(0x1d7)]=_0x46b780,this[_0x504c5c(0x2db)]=_0x4d3ce4,this[_0x504c5c(0x2e1)]=_0x37c8c0,this[_0x504c5c(0x2c3)](),this['_initStatusComponent']();}['_initAutoConnect'](){const _0x193ed2=_0x5d78bf,_0x3a6342=this[_0x193ed2(0x2e1)][_0x193ed2(0x1e0)](y);_0x3a6342!=null&&_0x3a6342['showDeveloperTools']&&(this[_0x193ed2(0x1d7)][_0x193ed2(0x204)]=!0x1);}[_0x5d78bf(0x2d0)](){const _0x4b045d=_0x5d78bf,_0x3bd395=this[_0x4b045d(0x2e1)]['getConfig'](y);(_0x3bd395==null?void 0x0:_0x3bd395[_0x4b045d(0x21e)])!==!0x1&&this[_0x4b045d(0x2c7)](this[_0x4b045d(0x2db)][_0x4b045d(0x1b5)](_0x450f21[_0x4b045d(0x28a)],()=>{const _0x16599b=_0x4b045d;var _0x11fe33;return _0x2eef07(un({'status$':this[_0x16599b(0x1d7)]['connectionStatus$'],'error$':this[_0x16599b(0x1d7)][_0x16599b(0x2a7)],'onConfigure':()=>this[_0x16599b(0x24e)](),'showClickable':(_0x11fe33=_0x3bd395==null?void 0x0:_0x3bd395[_0x16599b(0x237)])!=null?_0x11fe33:!0x1}),this[_0x16599b(0x1b4)]);}));}[_0x5d78bf(0x24e)](){const _0x2f9eec=_0x5d78bf;this['_injector'][_0x2f9eec(0x2de)](I)[_0x2f9eec(0x266)]();}};O=ln([M(0x0,_0x1924e0(_0x397371)),M(0x1,_0x1924e0(_0x75dfad)),M(0x2,_0x22ec32),M(0x3,_0x55fb38)],O);function un(_0x69a43b){const {status$:_0x3da7b9,error$:_0x5628e0,onConfigure:_0x15c3a7,showClickable:_0x51a269}=_0x69a43b;return function(){return _0x596870(cn,{'status$':_0x3da7b9,'error$':_0x5628e0,'onConfigure':_0x15c3a7,'showClickable':_0x51a269});};}function vn(_0x34a4af){const _0x4b423d=_0x5d78bf;return{'id':V['id'],'type':_0xda0047['BUTTON'],'icon':_0x4b423d(0x217),'title':_0x4b423d(0x207),'tooltip':_0x4b423d(0x207)};}const dn={[_0x144502[_0x5d78bf(0x29e)]]:{[V['id']]:{'order':0xa,'menuItemFactory':vn}}};var gn=Object[_0x5d78bf(0x1b6)],pn=(_0x17c3ce,_0xda18c9,_0x5c1343,_0x5f4ff9)=>{const _0x1974a1=_0x5d78bf;for(var _0x393473=_0x5f4ff9>0x1?void 0x0:_0x5f4ff9?gn(_0xda18c9,_0x5c1343):_0xda18c9,_0x4e353a=_0x17c3ce[_0x1974a1(0x1bb)]-0x1,_0x1acbbf;_0x4e353a>=0x0;_0x4e353a--)(_0x1acbbf=_0x17c3ce[_0x4e353a])&&(_0x393473=_0x1acbbf(_0x393473)||_0x393473);return _0x393473;},re=(_0xe14e05,_0x5d65a5)=>(_0x2ea46b,_0x1847b4)=>_0x5d65a5(_0x2ea46b,_0x1847b4,_0xe14e05);let D=class extends _0x528a41{constructor(_0x41fe76,_0x29f5e0){const _0x31d382=_0x5d78bf;super(),this[_0x31d382(0x1f9)]=_0x41fe76,this[_0x31d382(0x28e)]=_0x29f5e0,this[_0x31d382(0x221)](),this[_0x31d382(0x280)]();}[_0x5d78bf(0x221)](){const _0x3aaf77=_0x5d78bf;[V][_0x3aaf77(0x267)](_0x12f08b=>{const _0x13eb3e=_0x3aaf77;this[_0x13eb3e(0x2c7)](this[_0x13eb3e(0x1f9)][_0x13eb3e(0x25d)](_0x12f08b));});}[_0x5d78bf(0x280)](){const _0x3684b3=_0x5d78bf;this['_menuManagerService'][_0x3684b3(0x1c0)](dn);}};D=pn([re(0x0,_0x2f5a85),re(0x1,_0x560c40)],D);const Mn={'mcpStatus':{'disconnected':_0x5d78bf(0x1f4),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x5d78bf(0x2ea),'retrying':_0x5d78bf(0x2c0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x5d78bf(0x282),'sessionOccupied':_0x5d78bf(0x2f0),'networkError':_0x5d78bf(0x1c5),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5d78bf(0x213)},'mcpConfig':{'title':_0x5d78bf(0x2a6),'description':_0x5d78bf(0x1fd),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5d78bf(0x2ee),'connectionInfo':_0x5d78bf(0x1ef),'mcpClientConfig':_0x5d78bf(0x1ef),'configInstructions':_0x5d78bf(0x219),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x5d78bf(0x225),'sessionId':_0x5d78bf(0x2bd),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x5d78bf(0x208),'configParameters':_0x5d78bf(0x2c8),'maxRetries':_0x5d78bf(0x2a3),'save':_0x5d78bf(0x1ac),'saving':'Saving...','note1':_0x5d78bf(0x2a5),'note2':_0x5d78bf(0x1cc),'configSaved':_0x5d78bf(0x2df),'configError':_0x5d78bf(0x269),'apiApplyInfo':{'title':_0x5d78bf(0x239),'description':_0x5d78bf(0x277),'univerAiLabel':_0x5d78bf(0x2d9),'getStarted':_0x5d78bf(0x1d0)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5d78bf(0x1c2),'invalidApiKey':_0x5d78bf(0x281)},'connectionStatus':{'disconnected':_0x5d78bf(0x200),'connecting':'Connecting...','connected':_0x5d78bf(0x29b),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5d78bf(0x1c3),'networkError':_0x5d78bf(0x22c),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},An={'mcpStatus':{'disconnected':_0x5d78bf(0x21c),'connecting':_0x5d78bf(0x2af),'connected':_0x5d78bf(0x28d),'failed':'MCP\x20连接失败','retrying':_0x5d78bf(0x243),'unknown':_0x5d78bf(0x28f),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x5d78bf(0x2b6),'networkError':_0x5d78bf(0x2b8),'maxRetriesExceeded':_0x5d78bf(0x257),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x5d78bf(0x1be)},'mcpConfig':{'title':_0x5d78bf(0x223),'description':_0x5d78bf(0x29d),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x5d78bf(0x247),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x5d78bf(0x295),'enableAuthHint':_0x5d78bf(0x2e0),'connectionInfo':_0x5d78bf(0x291),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x5d78bf(0x1f1),'configStepTitle':_0x5d78bf(0x2a4),'configStep1':_0x5d78bf(0x1ed),'configStep2':_0x5d78bf(0x297),'configStep3':_0x5d78bf(0x27f),'sessionId':_0x5d78bf(0x1cf),'sessionIdDescription':_0x5d78bf(0x29f),'authorizationDescription':_0x5d78bf(0x28c),'configParameters':_0x5d78bf(0x235),'maxRetries':_0x5d78bf(0x294),'save':'保存配置','saving':'保存中...','note1':_0x5d78bf(0x1b2),'note2':_0x5d78bf(0x2b1),'configSaved':_0x5d78bf(0x1d1),'configError':'配置保存失败','apiApplyInfo':{'title':_0x5d78bf(0x2da),'description':_0x5d78bf(0x2ed),'univerAiLabel':_0x5d78bf(0x2ac),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x5d78bf(0x1de),'apiKeyTooShort':_0x5d78bf(0x26e),'invalidConfig':'配置无效','invalidApiKey':_0x5d78bf(0x20f)},'connectionStatus':{'disconnected':_0x5d78bf(0x1d3),'connecting':_0x5d78bf(0x1bf),'connected':'已连接','failed':_0x5d78bf(0x2dc),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x5d78bf(0x222),'sessionOccupied':_0x5d78bf(0x2f1),'networkError':_0x5d78bf(0x253),'maxRetriesExceeded':_0x5d78bf(0x29a)}}};var fn=Object[_0x5d78bf(0x22b)],hn=Object[_0x5d78bf(0x1b6)],Cn=(_0x598a1d,_0x51cdda,_0x10a723)=>_0x51cdda in _0x598a1d?fn(_0x598a1d,_0x51cdda,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10a723}):_0x598a1d[_0x51cdda]=_0x10a723,mn=(_0x212c5d,_0x7653a5,_0x2a91df,_0x4e5287)=>{const _0x388465=_0x5d78bf;for(var _0x41761c=_0x4e5287>0x1?void 0x0:_0x4e5287?hn(_0x7653a5,_0x2a91df):_0x7653a5,_0x6b73ae=_0x212c5d[_0x388465(0x1bb)]-0x1,_0x4004e8;_0x6b73ae>=0x0;_0x6b73ae--)(_0x4004e8=_0x212c5d[_0x6b73ae])&&(_0x41761c=_0x4004e8(_0x41761c)||_0x41761c);return _0x41761c;},P=(_0x5c2ce8,_0x1e0629)=>(_0x4e5d50,_0x20eebf)=>_0x1e0629(_0x4e5d50,_0x20eebf,_0x5c2ce8),_n=(_0x150ce6,_0x30d66e,_0x1973a7)=>Cn(_0x150ce6,_0x30d66e+'',_0x1973a7);let j=class extends _0x295047{constructor(_0x3f560d=ie,_0x2e415e,_0x3dbd4e,_0x161f34,_0x5904d8,_0x56d95d){const _0x1fb742=_0x5d78bf;super(),this[_0x1fb742(0x1c8)]=_0x3f560d,this[_0x1fb742(0x1b4)]=_0x2e415e,this[_0x1fb742(0x2e1)]=_0x3dbd4e,this[_0x1fb742(0x2db)]=_0x161f34,this[_0x1fb742(0x23b)]=_0x5904d8,this['_localeService']=_0x56d95d;const {..._0x213b5a}=_0x8941b2({},ie,this[_0x1fb742(0x1c8)]);this[_0x1fb742(0x2e1)]['setConfig'](y,_0x213b5a);}async['onStarting'](){const _0x3bff28=_0x5d78bf,_0x24c4b6=[[O],[I],[D]];this['_injector'][_0x3bff28(0x20a)](_0x3ade15)||_0x24c4b6[_0x3bff28(0x2bb)]([_0x3ade15,{'useClass':_0x4de690}]),_0x24c4b6['forEach'](_0x4b45e3=>this[_0x3bff28(0x1b4)]['add'](_0x4b45e3)),this[_0x3bff28(0x1b4)][_0x3bff28(0x2de)](O),this[_0x3bff28(0x1b4)][_0x3bff28(0x2de)](I),this[_0x3bff28(0x1b4)][_0x3bff28(0x2de)](D);}};_n(j,_0x5d78bf(0x20b),_0x5d78bf(0x278)),j=mn([_0x7797f2(_0x2e1d83),P(0x1,_0x1924e0(_0x397371)),P(0x2,_0x55fb38),P(0x3,_0x22ec32),P(0x4,_0x35efec),P(0x5,_0x1924e0(_0x364875))],j);export{nn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,cn as MCPStatusDisplay,D as MCPUIMenuController,V as OpenMCPConfigPanelCommand,j as UniverMCPUIPlugin,Mn as enUS,An as zhCN};
@@ -1 +1 @@
1
- const _0x1adf99=_0x3ae3;(function(_0x233eee,_0x5498a6){const _0x25f27e=_0x3ae3,_0x3b0521=_0x233eee();while(!![]){try{const _0x478717=-parseInt(_0x25f27e(0xa5))/0x1+-parseInt(_0x25f27e(0x94))/0x2*(parseInt(_0x25f27e(0x96))/0x3)+parseInt(_0x25f27e(0x97))/0x4+parseInt(_0x25f27e(0xc6))/0x5+parseInt(_0x25f27e(0xbf))/0x6+parseInt(_0x25f27e(0xa2))/0x7+-parseInt(_0x25f27e(0xc5))/0x8*(parseInt(_0x25f27e(0xc1))/0x9);if(_0x478717===_0x5498a6)break;else _0x3b0521['push'](_0x3b0521['shift']());}catch(_0x172c03){_0x3b0521['push'](_0x3b0521['shift']());}}}(_0x1867,0xad2a3));const e={'mcpStatus':{'disconnected':_0x1adf99(0xb7),'connecting':_0x1adf99(0xa4),'connected':_0x1adf99(0x9c),'failed':_0x1adf99(0xb0),'retrying':_0x1adf99(0xac),'unknown':_0x1adf99(0x9f),'unauthorized':_0x1adf99(0xb2),'sessionOccupied':_0x1adf99(0xbb),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1adf99(0xc2),'clickToConnect':_0x1adf99(0xad),'clickToConfigure':_0x1adf99(0xb3)},'mcpConfig':{'title':_0x1adf99(0x99),'description':_0x1adf99(0xb9),'apiKey':_0x1adf99(0xab),'apiKeyPlaceholder':_0x1adf99(0xa6),'apiKeyHint':_0x1adf99(0xc3),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1adf99(0xc4),'connectionInfo':_0x1adf99(0xa7),'mcpClientConfig':_0x1adf99(0xa7),'configInstructions':_0x1adf99(0xbd),'configStepTitle':_0x1adf99(0xaa),'configStep1':_0x1adf99(0xa3),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x1adf99(0xb4),'sessionId':_0x1adf99(0x98),'sessionIdDescription':_0x1adf99(0x91),'authorizationDescription':_0x1adf99(0x92),'configParameters':_0x1adf99(0xb1),'maxRetries':_0x1adf99(0xa8),'save':_0x1adf99(0xb5),'saving':_0x1adf99(0xae),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1adf99(0x9a),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1adf99(0xaf),'apiApplyInfo':{'title':_0x1adf99(0xa9),'description':_0x1adf99(0x93),'univerAiLabel':_0x1adf99(0xc0),'getStarted':_0x1adf99(0xbc)},'validation':{'apiKeyRequired':_0x1adf99(0xa0),'apiKeyTooShort':_0x1adf99(0xa1),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1adf99(0x95)},'connectionStatus':{'disconnected':_0x1adf99(0xbe),'connecting':_0x1adf99(0xba),'connected':'Connected','failed':_0x1adf99(0x9e),'retrying':_0x1adf99(0x9b)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1adf99(0xb6),'networkError':_0x1adf99(0xb8),'maxRetriesExceeded':_0x1adf99(0x9d)}}},n=e;export{n as default};function _0x3ae3(_0x3d8634,_0x5849cc){_0x3d8634=_0x3d8634-0x91;const _0x1867a5=_0x1867();let _0x3ae341=_0x1867a5[_0x3d8634];return _0x3ae341;}function _0x1867(){const _0x3babee=['API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','184046rUwKOY','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','42JQIfFH','4224052kczDVD','Session\x20ID','MCP\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Retrying...','MCP\x20Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','MCP\x20Unknown\x20Status','API\x20key\x20is\x20required','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','4619363BYBTwx','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connecting...','312411kNYwtB','Enter\x20your\x20API\x20key','MCP\x20Client\x20Configuration','Max\x20Retries','What\x20is\x20API\x20Key?','Configuration\x20Steps:','API\x20Key','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','Saving...','Failed\x20to\x20save\x20configuration','MCP\x20Connection\x20Failed','Configuration\x20Parameters:','MCP:\x20Unauthorized','Click\x20to\x20configure\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connecting...','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Disconnected','3771948kuxrMg','Univer\x20AI\x20Console','3735tKoKcA','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','27088sInFVP','6853130BDoMJR','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x1867=function(){return _0x3babee;};return _0x1867();}
1
+ function _0xb507(){const _0x33e75e=['Saving...','Click\x20to\x20configure\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','What\x20is\x20API\x20Key?','Click\x20to\x20connect\x20MCP','MCP:\x20Unauthorized','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','MCP\x20Connected','6vBmnEP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','205995EvSVGC','Configuration\x20Steps:','Retrying...','MCP:\x20Network\x20Error','Connection\x20Failed','549292hfAzIP','Failed\x20to\x20save\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','7147917pwarEn','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','5158737DghhZg','MCP\x20Unknown\x20Status','Disconnected','Univer\x20AI\x20Console','516450UEVAtx','13651472XNMsCt','6193624eLUymr','API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','Enter\x20your\x20API\x20key','Save\x20Configuration','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','Connecting...','25VcznMz','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage'];_0xb507=function(){return _0x33e75e;};return _0xb507();}const _0x1a8d8d=_0x26ba;function _0x26ba(_0x1d0c38,_0x4570fc){_0x1d0c38=_0x1d0c38-0x14e;const _0xb5074c=_0xb507();let _0x26ba08=_0xb5074c[_0x1d0c38];return _0x26ba08;}(function(_0x54ce6a,_0x1940ae){const _0x32a912=_0x26ba,_0xe9f98e=_0x54ce6a();while(!![]){try{const _0x1f4dbb=parseInt(_0x32a912(0x156))/0x1+parseInt(_0x32a912(0x15b))/0x2*(parseInt(_0x32a912(0x153))/0x3)+-parseInt(_0x32a912(0x166))/0x4+parseInt(_0x32a912(0x171))/0x5*(parseInt(_0x32a912(0x164))/0x6)+-parseInt(_0x32a912(0x15e))/0x7+parseInt(_0x32a912(0x165))/0x8+parseInt(_0x32a912(0x160))/0x9;if(_0x1f4dbb===_0x1940ae)break;else _0xe9f98e['push'](_0xe9f98e['shift']());}catch(_0x81d448){_0xe9f98e['push'](_0xe9f98e['shift']());}}}(_0xb507,0xdab08));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x1a8d8d(0x152),'failed':_0x1a8d8d(0x151),'retrying':'MCP\x20Retrying...','unknown':_0x1a8d8d(0x161),'unauthorized':_0x1a8d8d(0x14f),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x1a8d8d(0x159),'maxRetriesExceeded':_0x1a8d8d(0x16f),'clickToConnect':_0x1a8d8d(0x14e),'clickToConfigure':_0x1a8d8d(0x176)},'mcpConfig':{'title':_0x1a8d8d(0x173),'description':_0x1a8d8d(0x154),'apiKey':_0x1a8d8d(0x16d),'apiKeyPlaceholder':_0x1a8d8d(0x169),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1a8d8d(0x155),'mcpClientConfig':_0x1a8d8d(0x155),'configInstructions':_0x1a8d8d(0x172),'configStepTitle':_0x1a8d8d(0x157),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x1a8d8d(0x15d),'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':_0x1a8d8d(0x168),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x1a8d8d(0x16a),'saving':_0x1a8d8d(0x175),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1a8d8d(0x174),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1a8d8d(0x15c),'apiApplyInfo':{'title':_0x1a8d8d(0x178),'description':_0x1a8d8d(0x177),'univerAiLabel':_0x1a8d8d(0x163),'getStarted':_0x1a8d8d(0x150)},'validation':{'apiKeyRequired':_0x1a8d8d(0x167),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1a8d8d(0x16b),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1a8d8d(0x162),'connecting':_0x1a8d8d(0x170),'connected':'Connected','failed':_0x1a8d8d(0x15a),'retrying':_0x1a8d8d(0x158)},'connectionError':{'unauthorized':_0x1a8d8d(0x16c),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x1a8d8d(0x15f),'maxRetriesExceeded':_0x1a8d8d(0x16e)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- function _0x34ac(){const _0x28ff7f=['Univer\x20AI\x20Console','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','125912gHVLYw','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','10UcMsZk','161RRrEsZ','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Get\x20your\x20API\x20key\x20in\x20seconds','Session\x20ID','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','What\x20is\x20API\x20Key?','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Max\x20Retries','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enter\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','3729000jFldxw','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20connect\x20MCP','MCP\x20Connected','Configuration\x20Steps:','API\x20Key','2704278VGgnQm','Disconnected','438HymMLf','MCP:\x20Unauthorized','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20Authentication','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','4812645mogicg','API\x20key\x20with\x20Bearer\x20prefix.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20configuration','MCP\x20Connection\x20Failed','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','5583696TYgQgb','22787631ihXGDg','Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1108kVOXzr'];_0x34ac=function(){return _0x28ff7f;};return _0x34ac();}const _0xc1c8bc=_0x4f0c;(function(_0x2cca4f,_0x50f54c){const _0x340164=_0x4f0c,_0x4b5cb9=_0x2cca4f();while(!![]){try{const _0x5a476b=parseInt(_0x340164(0x1a9))/0x1*(parseInt(_0x340164(0x1bf))/0x2)+parseInt(_0x340164(0x1a7))/0x3+-parseInt(_0x340164(0x1a1))/0x4+-parseInt(_0x340164(0x1af))/0x5+-parseInt(_0x340164(0x1b8))/0x6+parseInt(_0x340164(0x1ca))/0x7*(-parseInt(_0x340164(0x1c5))/0x8)+-parseInt(_0x340164(0x1b9))/0x9*(-parseInt(_0x340164(0x1c9))/0xa);if(_0x5a476b===_0x50f54c)break;else _0x4b5cb9['push'](_0x4b5cb9['shift']());}catch(_0x5d0401){_0x4b5cb9['push'](_0x4b5cb9['shift']());}}}(_0x34ac,0x774c5));const e={'mcpStatus':{'disconnected':_0xc1c8bc(0x1b6),'connecting':_0xc1c8bc(0x1c1),'connected':_0xc1c8bc(0x1a4),'failed':_0xc1c8bc(0x1b5),'retrying':'MCP\x20Retrying...','unknown':_0xc1c8bc(0x1ce),'unauthorized':_0xc1c8bc(0x1aa),'sessionOccupied':_0xc1c8bc(0x1b7),'networkError':_0xc1c8bc(0x1cf),'maxRetriesExceeded':_0xc1c8bc(0x1ac),'clickToConnect':_0xc1c8bc(0x1a3),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xc1c8bc(0x1bb),'apiKey':_0xc1c8bc(0x1a6),'apiKeyPlaceholder':_0xc1c8bc(0x19f),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0xc1c8bc(0x1ad),'enableAuthHint':_0xc1c8bc(0x1c6),'connectionInfo':_0xc1c8bc(0x1b2),'mcpClientConfig':_0xc1c8bc(0x1b2),'configInstructions':_0xc1c8bc(0x1a0),'configStepTitle':_0xc1c8bc(0x1a5),'configStep1':_0xc1c8bc(0x1c2),'configStep2':_0xc1c8bc(0x1be),'configStep3':_0xc1c8bc(0x1c7),'sessionId':_0xc1c8bc(0x1cd),'sessionIdDescription':_0xc1c8bc(0x1cb),'authorizationDescription':_0xc1c8bc(0x1b0),'configParameters':'Configuration\x20Parameters:','maxRetries':_0xc1c8bc(0x19c),'save':_0xc1c8bc(0x1c3),'saving':_0xc1c8bc(0x1c8),'note1':_0xc1c8bc(0x1bc),'note2':_0xc1c8bc(0x1ab),'configSaved':_0xc1c8bc(0x19d),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xc1c8bc(0x19a),'description':_0xc1c8bc(0x1ae),'univerAiLabel':_0xc1c8bc(0x1c0),'getStarted':_0xc1c8bc(0x1cc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xc1c8bc(0x1a2),'invalidConfig':_0xc1c8bc(0x1b4),'invalidApiKey':_0xc1c8bc(0x1c4)},'connectionStatus':{'disconnected':_0xc1c8bc(0x1a8),'connecting':'Connecting...','connected':_0xc1c8bc(0x1bd),'failed':'Connection\x20Failed','retrying':_0xc1c8bc(0x1ba)},'connectionError':{'unauthorized':_0xc1c8bc(0x1b1),'sessionOccupied':_0xc1c8bc(0x19b),'networkError':_0xc1c8bc(0x19e),'maxRetriesExceeded':_0xc1c8bc(0x1b3)}}};function _0x4f0c(_0x2113ab,_0x2690c9){_0x2113ab=_0x2113ab-0x19a;const _0x34acbe=_0x34ac();let _0x4f0c27=_0x34acbe[_0x2113ab];return _0x4f0c27;}export{e as default};
1
+ const _0x2b483c=_0x3708;(function(_0x2362d3,_0xebe8ed){const _0x1ca417=_0x3708,_0x15a7c9=_0x2362d3();while(!![]){try{const _0x1a5273=parseInt(_0x1ca417(0x1a6))/0x1*(parseInt(_0x1ca417(0x1c0))/0x2)+-parseInt(_0x1ca417(0x1a1))/0x3*(parseInt(_0x1ca417(0x1b1))/0x4)+-parseInt(_0x1ca417(0x1a3))/0x5*(-parseInt(_0x1ca417(0x1ac))/0x6)+parseInt(_0x1ca417(0x1b0))/0x7*(-parseInt(_0x1ca417(0x1a4))/0x8)+parseInt(_0x1ca417(0x1bf))/0x9+-parseInt(_0x1ca417(0x1ad))/0xa+-parseInt(_0x1ca417(0x1c1))/0xb*(-parseInt(_0x1ca417(0x195))/0xc);if(_0x1a5273===_0xebe8ed)break;else _0x15a7c9['push'](_0x15a7c9['shift']());}catch(_0x122771){_0x15a7c9['push'](_0x15a7c9['shift']());}}}(_0x5025,0x9d406));const e={'mcpStatus':{'disconnected':_0x2b483c(0x1ab),'connecting':_0x2b483c(0x1a7),'connected':_0x2b483c(0x1a2),'failed':_0x2b483c(0x1b7),'retrying':_0x2b483c(0x199),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2b483c(0x1c7),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x2b483c(0x1ba),'maxRetriesExceeded':_0x2b483c(0x19b),'clickToConnect':_0x2b483c(0x1b3),'clickToConfigure':_0x2b483c(0x197)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2b483c(0x19c),'apiKeyPlaceholder':_0x2b483c(0x1bc),'apiKeyHint':_0x2b483c(0x1c5),'enableAuth':_0x2b483c(0x19a),'enableAuthHint':_0x2b483c(0x1b6),'connectionInfo':_0x2b483c(0x19f),'mcpClientConfig':_0x2b483c(0x19f),'configInstructions':_0x2b483c(0x1c4),'configStepTitle':_0x2b483c(0x1b2),'configStep1':_0x2b483c(0x194),'configStep2':_0x2b483c(0x19d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x2b483c(0x19e),'authorizationDescription':_0x2b483c(0x1c8),'configParameters':_0x2b483c(0x1bd),'maxRetries':'Max\x20Retries','save':_0x2b483c(0x198),'saving':_0x2b483c(0x1c3),'note1':_0x2b483c(0x1a8),'note2':_0x2b483c(0x1b8),'configSaved':_0x2b483c(0x1bb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2b483c(0x1a5),'description':_0x2b483c(0x1b5),'univerAiLabel':_0x2b483c(0x1be),'getStarted':_0x2b483c(0x1b9)},'validation':{'apiKeyRequired':_0x2b483c(0x1a9),'apiKeyTooShort':_0x2b483c(0x1aa),'invalidConfig':_0x2b483c(0x1a0),'invalidApiKey':_0x2b483c(0x1af)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2b483c(0x1c6),'connected':_0x2b483c(0x1b4),'failed':'Connection\x20Failed','retrying':_0x2b483c(0x193)},'connectionError':{'unauthorized':_0x2b483c(0x1ae),'sessionOccupied':_0x2b483c(0x1c2),'networkError':_0x2b483c(0x196),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x3708(_0x4fa733,_0x54b996){_0x4fa733=_0x4fa733-0x193;const _0x502512=_0x5025();let _0x370806=_0x502512[_0x4fa733];return _0x370806;}function _0x5025(){const _0x40fe7a=['MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Disconnected','16278NOcSqW','3366420pMEcIq','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2429FsYBAK','596YUmGkN','Configuration\x20Steps:','Click\x20to\x20connect\x20MCP','Connected','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\x20for\x20secure\x20connections','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','Enter\x20your\x20API\x20key','Configuration\x20Parameters:','Univer\x20AI\x20Console','4523598HgMCac','1790kSEqtI','55jtcszW','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','MCP:\x20Unauthorized','API\x20key\x20with\x20Bearer\x20prefix.','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','886200fgNxTd','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20configure\x20MCP','Save\x20Configuration','MCP\x20Retrying...','Enable\x20Authentication','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Client\x20Configuration','Invalid\x20configuration','18195xpKbvS','MCP\x20Connected','1960yIKFGd','7736AKStEc','What\x20is\x20API\x20Key?','318ylOgcG'];_0x5025=function(){return _0x40fe7a;};return _0x5025();}export{e as default};
@@ -1 +1 @@
1
- function _0x32a3(){const _0x7731ba=['Configuration\x20Steps:','Connection\x20Failed','5826328zSpQbX','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connecting...','API\x20Key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','26074499eOqZJN','Session\x20ID','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','API\x20key\x20is\x20required','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Retrying...','6394LvYRxQ','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','1863928SzzihB','Invalid\x20configuration','67530VeKcmx','425OADeuG','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','70RQdhts','Connected','813fRpnBu','9036bIuVYf','780886jQBMHA','7YiWGsP','Disconnected','Configuration\x20Parameters:','MCP\x20Configuration','Saving...','Click\x20to\x20configure\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Max\x20Retries','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connected'];_0x32a3=function(){return _0x7731ba;};return _0x32a3();}function _0x1212(_0x4b51a8,_0x97f820){_0x4b51a8=_0x4b51a8-0xfd;const _0x32a302=_0x32a3();let _0x1212f5=_0x32a302[_0x4b51a8];return _0x1212f5;}const _0x3ba300=_0x1212;(function(_0x1215d0,_0x354010){const _0x18b0d6=_0x1212,_0x32879a=_0x1215d0();while(!![]){try{const _0x560eb1=-parseInt(_0x18b0d6(0xff))/0x1+-parseInt(_0x18b0d6(0x123))/0x2*(parseInt(_0x18b0d6(0xfd))/0x3)+-parseInt(_0x18b0d6(0x126))/0x4+parseInt(_0x18b0d6(0x129))/0x5*(parseInt(_0x18b0d6(0x128))/0x6)+parseInt(_0x18b0d6(0x100))/0x7*(-parseInt(_0x18b0d6(0x10c))/0x8)+parseInt(_0x18b0d6(0xfe))/0x9*(parseInt(_0x18b0d6(0x12c))/0xa)+parseInt(_0x18b0d6(0x11a))/0xb;if(_0x560eb1===_0x354010)break;else _0x32879a['push'](_0x32879a['shift']());}catch(_0x3e2920){_0x32879a['push'](_0x32879a['shift']());}}}(_0x32a3,0x78416));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3ba300(0x10f),'connected':_0x3ba300(0x109),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3ba300(0x125),'unknown':_0x3ba300(0x114),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3ba300(0x10d),'clickToConfigure':_0x3ba300(0x105)},'mcpConfig':{'title':_0x3ba300(0x103),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x3ba300(0x112),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3ba300(0x10e),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3ba300(0x124),'connectionInfo':_0x3ba300(0x120),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3ba300(0x113),'configStepTitle':_0x3ba300(0x10a),'configStep1':_0x3ba300(0x11f),'configStep2':_0x3ba300(0x119),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3ba300(0x11b),'sessionIdDescription':_0x3ba300(0x115),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3ba300(0x102),'maxRetries':_0x3ba300(0x107),'save':_0x3ba300(0x12a),'saving':_0x3ba300(0x104),'note1':_0x3ba300(0x11c),'note2':_0x3ba300(0x108),'configSaved':_0x3ba300(0x116),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3ba300(0x11d),'description':_0x3ba300(0x12b),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3ba300(0x121)},'validation':{'apiKeyRequired':_0x3ba300(0x11e),'apiKeyTooShort':_0x3ba300(0x110),'invalidConfig':_0x3ba300(0x127),'invalidApiKey':_0x3ba300(0x118)},'connectionStatus':{'disconnected':_0x3ba300(0x101),'connecting':_0x3ba300(0x111),'connected':_0x3ba300(0x12d),'failed':_0x3ba300(0x10b),'retrying':_0x3ba300(0x122)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x3ba300(0x106),'networkError':_0x3ba300(0x117),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
1
+ function _0x3217(){const _0x1b5941=['MCP:\x20Session\x20ID\x20Occupied','MCP\x20Configuration','Saving...','Click\x20to\x20connect\x20MCP','214581jzTOvz','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Click\x20to\x20configure\x20MCP','Univer\x20AI\x20Console','433800bfCxZD','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Parameters:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','6WbvrkF','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Steps:','Failed\x20to\x20save\x20configuration','49FWEqDY','468OuSizH','Connected','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Unauthorized','Enter\x20your\x20API\x20key','889784kDatsg','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','72660ZEeALK','Invalid\x20configuration','Connection\x20Failed','Save\x20Configuration','346895rcLfLo','186234BHeNny','MCP\x20Retrying...','Enable\x20Authentication','108470DKwQgX','Copy\x20the\x20JSON\x20configuration\x20below','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Get\x20your\x20API\x20key\x20in\x20seconds'];_0x3217=function(){return _0x1b5941;};return _0x3217();}const _0x495d45=_0xa468;(function(_0x4bbaf3,_0x27fbc6){const _0x4588e5=_0xa468,_0x4f35ba=_0x4bbaf3();while(!![]){try{const _0x4f9119=parseInt(_0x4588e5(0x125))/0x1+parseInt(_0x4588e5(0x11a))/0x2*(parseInt(_0x4588e5(0x109))/0x3)+parseInt(_0x4588e5(0x113))/0x4+-parseInt(_0x4588e5(0x119))/0x5+parseInt(_0x4588e5(0x115))/0x6*(parseInt(_0x4588e5(0x10d))/0x7)+parseInt(_0x4588e5(0x12a))/0x8+parseInt(_0x4588e5(0x10e))/0x9*(-parseInt(_0x4588e5(0x11d))/0xa);if(_0x4f9119===_0x27fbc6)break;else _0x4f35ba['push'](_0x4f35ba['shift']());}catch(_0x114a04){_0x4f35ba['push'](_0x4f35ba['shift']());}}}(_0x3217,0x1f741));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x495d45(0x108),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x495d45(0x11b),'unknown':_0x495d45(0x12b),'unauthorized':_0x495d45(0x111),'sessionOccupied':_0x495d45(0x121),'networkError':_0x495d45(0x12c),'maxRetriesExceeded':_0x495d45(0x110),'clickToConnect':_0x495d45(0x124),'clickToConfigure':_0x495d45(0x128)},'mcpConfig':{'title':_0x495d45(0x122),'description':_0x495d45(0x104),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x495d45(0x112),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x495d45(0x11c),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x495d45(0x126),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x495d45(0x12f),'configStepTitle':_0x495d45(0x10b),'configStep1':_0x495d45(0x11e),'configStep2':_0x495d45(0x107),'configStep3':_0x495d45(0x12d),'sessionId':'Session\x20ID','sessionIdDescription':_0x495d45(0x10a),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x495d45(0x12e),'maxRetries':'Max\x20Retries','save':_0x495d45(0x118),'saving':_0x495d45(0x123),'note1':_0x495d45(0x106),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x495d45(0x10c),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x495d45(0x11f),'univerAiLabel':_0x495d45(0x129),'getStarted':_0x495d45(0x120)},'validation':{'apiKeyRequired':_0x495d45(0x105),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x495d45(0x116),'invalidApiKey':_0x495d45(0x127)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x495d45(0x10f),'failed':_0x495d45(0x117),'retrying':_0x495d45(0x130)},'connectionError':{'unauthorized':_0x495d45(0x114),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0xa468(_0x2a3627,_0x2cbea0){_0x2a3627=_0x2a3627-0x104;const _0x3217d8=_0x3217();let _0xa4682c=_0x3217d8[_0x2a3627];return _0xa4682c;}export{n as default};
@@ -1 +1 @@
1
- const _0xe86743=_0x4e99;(function(_0x5ef12a,_0x2a76fb){const _0xa8becf=_0x4e99,_0x74bc3b=_0x5ef12a();while(!![]){try{const _0x36b975=-parseInt(_0xa8becf(0xfc))/0x1*(-parseInt(_0xa8becf(0xf1))/0x2)+parseInt(_0xa8becf(0x10b))/0x3+-parseInt(_0xa8becf(0xf6))/0x4*(-parseInt(_0xa8becf(0x100))/0x5)+parseInt(_0xa8becf(0xde))/0x6+parseInt(_0xa8becf(0x108))/0x7+-parseInt(_0xa8becf(0xe6))/0x8+-parseInt(_0xa8becf(0x106))/0x9*(parseInt(_0xa8becf(0xf7))/0xa);if(_0x36b975===_0x2a76fb)break;else _0x74bc3b['push'](_0x74bc3b['shift']());}catch(_0x55eaee){_0x74bc3b['push'](_0x74bc3b['shift']());}}}(_0x49cb,0x39d92));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0xe86743(0xfa),'failed':_0xe86743(0x105),'retrying':_0xe86743(0xea),'unknown':_0xe86743(0x107),'unauthorized':_0xe86743(0xed),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0xe86743(0xeb),'maxRetriesExceeded':_0xe86743(0xff),'clickToConnect':_0xe86743(0xf0),'clickToConfigure':_0xe86743(0xec)},'mcpConfig':{'title':_0xe86743(0xe2),'description':_0xe86743(0x103),'apiKey':'API\x20Key','apiKeyPlaceholder':_0xe86743(0xf9),'apiKeyHint':_0xe86743(0xe7),'enableAuth':_0xe86743(0x101),'enableAuthHint':_0xe86743(0x109),'connectionInfo':_0xe86743(0x104),'mcpClientConfig':_0xe86743(0x104),'configInstructions':_0xe86743(0xe9),'configStepTitle':_0xe86743(0xe8),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0xe86743(0xf8),'configStep3':_0xe86743(0xf2),'sessionId':'Session\x20ID','sessionIdDescription':_0xe86743(0xe1),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xe86743(0xe4),'maxRetries':'Max\x20Retries','save':_0xe86743(0xe0),'saving':_0xe86743(0xee),'note1':_0xe86743(0xdf),'note2':_0xe86743(0xdc),'configSaved':_0xe86743(0xfd),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xe86743(0xf3),'description':_0xe86743(0xdd),'univerAiLabel':_0xe86743(0xe5),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0xe86743(0xf4),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xe86743(0x10c),'invalidApiKey':_0xe86743(0x10d)},'connectionStatus':{'disconnected':_0xe86743(0xe3),'connecting':_0xe86743(0xfe),'connected':_0xe86743(0xfb),'failed':_0xe86743(0x10a),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0xe86743(0x102),'sessionOccupied':_0xe86743(0xef),'networkError':_0xe86743(0xf5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x4e99(_0x8d5031,_0x426497){_0x8d5031=_0x8d5031-0xdc;const _0x49cbab=_0x49cb();let _0x4e9961=_0x49cbab[_0x8d5031];return _0x4e9961;}export{n as default};function _0x49cb(){const _0x98545e=['Connection\x20Failed','163635wsGGGg','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','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.','330360gyYXau','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Save\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Configuration','Disconnected','Configuration\x20Parameters:','Univer\x20AI\x20Console','1359408UHXTna','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Retrying...','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','MCP:\x20Unauthorized','Saving...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Click\x20to\x20connect\x20MCP','100588acpqvw','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','What\x20is\x20API\x20Key?','API\x20key\x20is\x20required','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','175904wDUsFW','120DoHLph','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enter\x20your\x20API\x20key','MCP\x20Connected','Connected','2lwfxuR','Configuration\x20saved\x20successfully','Connecting...','MCP:\x20Max\x20Retries\x20Exceeded','40owkDtG','Enable\x20Authentication','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','MCP\x20Connection\x20Failed','357165KwmUlS','MCP\x20Unknown\x20Status','2247637JQYGtu','Enable\x20authentication\x20for\x20secure\x20connections'];_0x49cb=function(){return _0x98545e;};return _0x49cb();}
1
+ function _0x49fb(_0x1e4563,_0xeabb23){_0x1e4563=_0x1e4563-0x156;const _0x3c9d50=_0x3c9d();let _0x49fb64=_0x3c9d50[_0x1e4563];return _0x49fb64;}function _0x3c9d(){const _0x672022=['3712608mUcAYr','143408NXqUMj','Configuration\x20saved\x20successfully','20139LEDUKa','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Retrying...','MCP\x20Connection\x20Failed','1480fRzhYk','Saving...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','Connection\x20Failed','API\x20key\x20is\x20required','Connecting...','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Save\x20Configuration','Max\x20Retries','37945cRpCMn','201589kNmztP','5348340niYjXw','MCP\x20Disconnected','Configuration\x20Steps:','MCP\x20Configuration','248mbaWDN','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','Click\x20to\x20connect\x20MCP','975327auuAwP','Connected','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20Parameters:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','MCP:\x20Session\x20ID\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Retrying...'];_0x3c9d=function(){return _0x672022;};return _0x3c9d();}const _0x5d4b66=_0x49fb;(function(_0x1adf60,_0x20bb8b){const _0x2f6c93=_0x49fb,_0x16659e=_0x1adf60();while(!![]){try{const _0x3b0d9c=-parseInt(_0x2f6c93(0x166))/0x1+-parseInt(_0x2f6c93(0x185))/0x2+-parseInt(_0x2f6c93(0x176))/0x3+parseInt(_0x2f6c93(0x16b))/0x4*(parseInt(_0x2f6c93(0x165))/0x5)+parseInt(_0x2f6c93(0x184))/0x6+parseInt(_0x2f6c93(0x187))/0x7*(-parseInt(_0x2f6c93(0x158))/0x8)+parseInt(_0x2f6c93(0x167))/0x9;if(_0x3b0d9c===_0x20bb8b)break;else _0x16659e['push'](_0x16659e['shift']());}catch(_0x3bb42d){_0x16659e['push'](_0x16659e['shift']());}}}(_0x3c9d,0x86fc3));const e={'mcpStatus':{'disconnected':_0x5d4b66(0x168),'connecting':_0x5d4b66(0x174),'connected':'MCP\x20Connected','failed':_0x5d4b66(0x157),'retrying':_0x5d4b66(0x183),'unknown':_0x5d4b66(0x171),'unauthorized':_0x5d4b66(0x172),'sessionOccupied':_0x5d4b66(0x180),'networkError':_0x5d4b66(0x15d),'maxRetriesExceeded':_0x5d4b66(0x179),'clickToConnect':_0x5d4b66(0x175),'clickToConfigure':_0x5d4b66(0x173)},'mcpConfig':{'title':_0x5d4b66(0x16a),'description':_0x5d4b66(0x182),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5d4b66(0x188),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5d4b66(0x16e),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5d4b66(0x17c),'configStepTitle':_0x5d4b66(0x169),'configStep1':_0x5d4b66(0x178),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x5d4b66(0x17e),'sessionId':_0x5d4b66(0x17f),'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':_0x5d4b66(0x17d),'maxRetries':_0x5d4b66(0x164),'save':_0x5d4b66(0x163),'saving':_0x5d4b66(0x159),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5d4b66(0x15c),'configSaved':_0x5d4b66(0x186),'configError':_0x5d4b66(0x16d),'apiApplyInfo':{'title':_0x5d4b66(0x17a),'description':_0x5d4b66(0x16c),'univerAiLabel':_0x5d4b66(0x17b),'getStarted':_0x5d4b66(0x16f)},'validation':{'apiKeyRequired':_0x5d4b66(0x15f),'apiKeyTooShort':_0x5d4b66(0x170),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x5d4b66(0x161),'connecting':_0x5d4b66(0x160),'connected':_0x5d4b66(0x177),'failed':_0x5d4b66(0x15e),'retrying':_0x5d4b66(0x156)},'connectionError':{'unauthorized':_0x5d4b66(0x15b),'sessionOccupied':_0x5d4b66(0x162),'networkError':_0x5d4b66(0x181),'maxRetriesExceeded':_0x5d4b66(0x15a)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x371ba0=_0x22b3;function _0x22b3(_0x2c918d,_0x133a2e){_0x2c918d=_0x2c918d-0x1c0;const _0x39858b=_0x3985();let _0x22b336=_0x39858b[_0x2c918d];return _0x22b336;}function _0x3985(){const _0x11ce5c=['Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1011VhIbcu','1953088CvHnjn','34252WzpeIC','MCP:\x20Max\x20Retries\x20Exceeded','644963oCDbDY','API\x20Key','MCP:\x20Unauthorized','MCP\x20Connected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','48vUTgJO','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Session\x20ID\x20Occupied','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1110yuychw','Disconnected','API\x20key\x20is\x20required','MCP\x20Disconnected','Saving...','Enable\x20Authentication','Connecting...','Connected','MCP\x20Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1944355Mqsily','API\x20key\x20with\x20Bearer\x20prefix.','Failed\x20to\x20save\x20configuration','7374wlmYbd','MCP\x20Unknown\x20Status','Click\x20to\x20configure\x20MCP','Click\x20to\x20connect\x20MCP','6845XgUEiL','Max\x20Retries','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','92277QLVWjA','Enter\x20your\x20API\x20key','Invalid\x20configuration','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Steps:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','What\x20is\x20API\x20Key?','310xboIWe','Copy\x20the\x20JSON\x20configuration\x20below'];_0x3985=function(){return _0x11ce5c;};return _0x3985();}(function(_0x527e43,_0x10cbef){const _0x4bf77c=_0x22b3,_0x3605dc=_0x527e43();while(!![]){try{const _0x1c302a=-parseInt(_0x4bf77c(0x1e0))/0x1+-parseInt(_0x4bf77c(0x1ca))/0x2*(parseInt(_0x4bf77c(0x1de))/0x3)+-parseInt(_0x4bf77c(0x1df))/0x4+-parseInt(_0x4bf77c(0x1ce))/0x5*(-parseInt(_0x4bf77c(0x1ed))/0x6)+parseInt(_0x4bf77c(0x1c7))/0x7+parseInt(_0x4bf77c(0x1e8))/0x8*(parseInt(_0x4bf77c(0x1d3))/0x9)+-parseInt(_0x4bf77c(0x1db))/0xa*(-parseInt(_0x4bf77c(0x1e2))/0xb);if(_0x1c302a===_0x10cbef)break;else _0x3605dc['push'](_0x3605dc['shift']());}catch(_0x97b6c6){_0x3605dc['push'](_0x3605dc['shift']());}}}(_0x3985,0x9d808));const e={'mcpStatus':{'disconnected':_0x371ba0(0x1f0),'connecting':'MCP\x20Connecting...','connected':_0x371ba0(0x1e5),'failed':_0x371ba0(0x1c1),'retrying':'MCP\x20Retrying...','unknown':_0x371ba0(0x1cb),'unauthorized':_0x371ba0(0x1e4),'sessionOccupied':_0x371ba0(0x1ea),'networkError':_0x371ba0(0x1c4),'maxRetriesExceeded':_0x371ba0(0x1e1),'clickToConnect':_0x371ba0(0x1cd),'clickToConfigure':_0x371ba0(0x1cc)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x371ba0(0x1eb),'apiKey':_0x371ba0(0x1e3),'apiKeyPlaceholder':_0x371ba0(0x1d4),'apiKeyHint':_0x371ba0(0x1e7),'enableAuth':_0x371ba0(0x1f2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x371ba0(0x1c2),'configStepTitle':_0x371ba0(0x1d8),'configStep1':_0x371ba0(0x1dc),'configStep2':_0x371ba0(0x1d9),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x371ba0(0x1ec),'authorizationDescription':_0x371ba0(0x1c8),'configParameters':_0x371ba0(0x1d2),'maxRetries':_0x371ba0(0x1cf),'save':_0x371ba0(0x1d6),'saving':_0x371ba0(0x1f1),'note1':_0x371ba0(0x1d1),'note2':_0x371ba0(0x1e9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x371ba0(0x1c9),'apiApplyInfo':{'title':_0x371ba0(0x1da),'description':_0x371ba0(0x1c3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x371ba0(0x1d0)},'validation':{'apiKeyRequired':_0x371ba0(0x1ef),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x371ba0(0x1d5),'invalidApiKey':_0x371ba0(0x1c5)},'connectionStatus':{'disconnected':_0x371ba0(0x1ee),'connecting':_0x371ba0(0x1f3),'connected':_0x371ba0(0x1c0),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x371ba0(0x1e6),'sessionOccupied':_0x371ba0(0x1dd),'networkError':_0x371ba0(0x1c6),'maxRetriesExceeded':_0x371ba0(0x1d7)}}},n=e;export{n as default};
1
+ const _0x201ff2=_0x363a;(function(_0x18e86f,_0x28215f){const _0x39e302=_0x363a,_0x3531d6=_0x18e86f();while(!![]){try{const _0x304bbd=-parseInt(_0x39e302(0x19f))/0x1*(-parseInt(_0x39e302(0x196))/0x2)+parseInt(_0x39e302(0x1a4))/0x3*(-parseInt(_0x39e302(0x186))/0x4)+parseInt(_0x39e302(0x1a5))/0x5*(-parseInt(_0x39e302(0x181))/0x6)+parseInt(_0x39e302(0x1a7))/0x7+-parseInt(_0x39e302(0x1a9))/0x8*(-parseInt(_0x39e302(0x187))/0x9)+parseInt(_0x39e302(0x1a3))/0xa+-parseInt(_0x39e302(0x189))/0xb;if(_0x304bbd===_0x28215f)break;else _0x3531d6['push'](_0x3531d6['shift']());}catch(_0x4b409a){_0x3531d6['push'](_0x3531d6['shift']());}}}(_0x5997,0x46e40));const e={'mcpStatus':{'disconnected':_0x201ff2(0x18e),'connecting':_0x201ff2(0x18f),'connected':_0x201ff2(0x184),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x201ff2(0x17f),'unauthorized':_0x201ff2(0x18a),'sessionOccupied':_0x201ff2(0x178),'networkError':_0x201ff2(0x182),'maxRetriesExceeded':_0x201ff2(0x1a8),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x201ff2(0x19b),'description':_0x201ff2(0x191),'apiKey':_0x201ff2(0x17e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x201ff2(0x195),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x201ff2(0x17d),'connectionInfo':_0x201ff2(0x180),'mcpClientConfig':_0x201ff2(0x180),'configInstructions':_0x201ff2(0x17b),'configStepTitle':_0x201ff2(0x1a1),'configStep1':_0x201ff2(0x18c),'configStep2':_0x201ff2(0x1a6),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x201ff2(0x18b),'sessionIdDescription':_0x201ff2(0x197),'authorizationDescription':_0x201ff2(0x17a),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x201ff2(0x179),'save':_0x201ff2(0x190),'saving':_0x201ff2(0x185),'note1':_0x201ff2(0x1a2),'note2':_0x201ff2(0x198),'configSaved':_0x201ff2(0x17c),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x201ff2(0x19e),'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':_0x201ff2(0x199)},'validation':{'apiKeyRequired':_0x201ff2(0x192),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x201ff2(0x18d),'invalidApiKey':_0x201ff2(0x193)},'connectionStatus':{'disconnected':_0x201ff2(0x19a),'connecting':_0x201ff2(0x19d),'connected':_0x201ff2(0x1a0),'failed':_0x201ff2(0x188),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x201ff2(0x19c),'sessionOccupied':_0x201ff2(0x183),'networkError':_0x201ff2(0x194),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x5997(){const _0x177ee7=['4tHVrkz','1436634JNzNLV','Connection\x20Failed','8343841aAiclV','MCP:\x20Unauthorized','Session\x20ID','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','MCP\x20Disconnected','MCP\x20Connecting...','Save\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3798qhUwth','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','Disconnected','MCP\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','What\x20is\x20API\x20Key?','49ulFsrr','Connected','Configuration\x20Steps:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','4623950XdHVPK','1321659BpPGMF','108865uqWNJg','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3947951jWRcPu','MCP:\x20Max\x20Retries\x20Exceeded','24SUYpKF','MCP:\x20Session\x20ID\x20Occupied','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20saved\x20successfully','Enable\x20authentication\x20for\x20secure\x20connections','API\x20Key','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','30oygWtq','MCP:\x20Network\x20Error','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connected','Saving...'];_0x5997=function(){return _0x177ee7;};return _0x5997();}function _0x363a(_0x523241,_0xd3b97e){_0x523241=_0x523241-0x178;const _0x599725=_0x5997();let _0x363ac3=_0x599725[_0x523241];return _0x363ac3;}export{n as default};
@@ -1 +1 @@
1
- const _0x5380b5=_0x2a9b;function _0x3442(){const _0x30d1e4=['設定手順:','以下のJSON設定をコピー','MCP:\x20認証されていません','MCP:\x20セッションIDが使用中','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','MCP\x20未接続','設定パラメータ:','最大再試行回数','MCPクライアント設定','2855133KBLPoG','接続済み','MCPクライアントの設定に次の設定を追加してください:','APIキーはこのブラウザのローカルに保存されます','設定が正常に保存されました','設定の保存に失敗しました','MCPを設定してAIでスプレッドシートを操作','接続中...','セキュアな接続のために認証を有効にする','MCP:\x20最大再試行回数を超過','APIキー','最大再試行回数を超過しました。後でもう一度お試しください','APIキーを入力してください','91538UyRQFi','セッションID','Univer\x20AIコンソール','2165244EMDnfd','11250820LFTJor','接続失敗','MCP\x20接続済み','無効な設定','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','211505cbRuOl','APIキーは10文字以上である必要があります','40956786ZNbBsy','12qOLCAX','11524888EBRGhC','Bearerプレフィックス付きのAPIキー。','MCP設定','設定を保存','APIキーはローカルストレージに安全に保存されます','ネットワーク接続エラー。インターネット接続を確認してください','22QNKcYC','数秒でAPIキーを取得'];_0x3442=function(){return _0x30d1e4;};return _0x3442();}(function(_0x5be575,_0x2577f8){const _0x1f293f=_0x2a9b,_0x854b1c=_0x5be575();while(!![]){try{const _0x47d729=parseInt(_0x1f293f(0x99))/0x1*(parseInt(_0x1f293f(0x86))/0x2)+-parseInt(_0x1f293f(0xa4))/0x3+-parseInt(_0x1f293f(0x89))/0x4+-parseInt(_0x1f293f(0x8f))/0x5*(parseInt(_0x1f293f(0x92))/0x6)+-parseInt(_0x1f293f(0x8a))/0x7+-parseInt(_0x1f293f(0x93))/0x8+parseInt(_0x1f293f(0x91))/0x9;if(_0x47d729===_0x2577f8)break;else _0x854b1c['push'](_0x854b1c['shift']());}catch(_0x331863){_0x854b1c['push'](_0x854b1c['shift']());}}}(_0x3442,0xe3951));const e={'mcpStatus':{'disconnected':_0x5380b5(0xa0),'connecting':'MCP\x20接続中...','connected':_0x5380b5(0x8c),'failed':'MCP\x20接続失敗','retrying':'MCP\x20再試行中...','unknown':'MCP\x20不明な状態','unauthorized':_0x5380b5(0x9d),'sessionOccupied':_0x5380b5(0x9e),'networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x5380b5(0xad),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':_0x5380b5(0x95),'description':_0x5380b5(0xaa),'apiKey':_0x5380b5(0xae),'apiKeyPlaceholder':_0x5380b5(0x85),'apiKeyHint':_0x5380b5(0xa7),'enableAuth':'認証を有効にする','enableAuthHint':_0x5380b5(0xac),'connectionInfo':_0x5380b5(0xa3),'mcpClientConfig':_0x5380b5(0xa3),'configInstructions':_0x5380b5(0xa6),'configStepTitle':_0x5380b5(0x9b),'configStep1':_0x5380b5(0x9c),'configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x5380b5(0x87),'sessionIdDescription':_0x5380b5(0x9f),'authorizationDescription':_0x5380b5(0x94),'configParameters':_0x5380b5(0xa1),'maxRetries':_0x5380b5(0xa2),'save':_0x5380b5(0x96),'saving':'保存中...','note1':'設定の変更は直ちに有効になります','note2':_0x5380b5(0x97),'configSaved':_0x5380b5(0xa8),'configError':_0x5380b5(0xa9),'apiApplyInfo':{'title':'APIキーとは?','description':_0x5380b5(0x8e),'univerAiLabel':_0x5380b5(0x88),'getStarted':_0x5380b5(0x9a)},'validation':{'apiKeyRequired':'APIキーは必須です','apiKeyTooShort':_0x5380b5(0x90),'invalidConfig':_0x5380b5(0x8d),'invalidApiKey':'無効なAPIキーです。キーが正しいか確認してください'},'connectionStatus':{'disconnected':'未接続','connecting':_0x5380b5(0xab),'connected':_0x5380b5(0xa5),'failed':_0x5380b5(0x8b),'retrying':'再試行中...'},'connectionError':{'unauthorized':'認証に失敗しました。APIキーを確認してください','sessionOccupied':'セッションIDが現在使用中です。後でもう一度お試しください','networkError':_0x5380b5(0x98),'maxRetriesExceeded':_0x5380b5(0x84)}}};function _0x2a9b(_0x474c7d,_0x1493f2){_0x474c7d=_0x474c7d-0x84;const _0x344277=_0x3442();let _0x2a9b46=_0x344277[_0x474c7d];return _0x2a9b46;}export{e as default};
1
+ function _0x233f(_0x1a063e,_0x917a94){_0x1a063e=_0x1a063e-0x177;const _0xcd01ce=_0xcd01();let _0x233fc0=_0xcd01ce[_0x1a063e];return _0x233fc0;}const _0x353bf2=_0x233f;function _0xcd01(){const _0x1160c1=['セッションIDが現在使用中です。後でもう一度お試しください','設定手順:','設定パラメータ:','APIキーはローカルストレージに安全に保存されます','接続中...','認証を有効にする','MCPクライアントの設定に次の設定を追加してください:','クリックしてMCPを設定','APIキーを入力してください','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','60PMpTDc','設定の変更は直ちに有効になります','MCP:\x20セッションIDが使用中','最大再試行回数','認証に失敗しました。APIキーを確認してください','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','Univer\x20AIコンソール','1225779KMtSjz','セッションID','MCP\x20接続失敗','3183984KPYqky','セキュアな接続のために認証を有効にする','Bearerプレフィックス付きのAPIキー。','APIキーは10文字以上である必要があります','MCPを設定してAIでスプレッドシートを操作','接続失敗','再試行中...','接続済み','設定を保存','10811104tHivmA','MCPクライアント設定','MCPクライアントの設定ファイルに設定を追加','1053825uaLUQY','APIキーは必須です','無効なAPIキーです。キーが正しいか確認してください','MCPクライアントを再起動して設定を適用','21OycXJq','無効な設定','MCP:\x20認証されていません','設定が正常に保存されました','336386vplyQc','APIキー','1082669OWahTK','MCP\x20不明な状態','最大再試行回数を超過しました。後でもう一度お試しください','以下のJSON設定をコピー','MCP\x20接続済み','MCP\x20未接続','MCP:\x20最大再試行回数を超過','6ImNQpF','設定の保存に失敗しました','MCP\x20再試行中...','MCP:\x20ネットワークエラー','未接続','APIキーはこのブラウザのローカルに保存されます','1596848SkIhYj'];_0xcd01=function(){return _0x1160c1;};return _0xcd01();}(function(_0x52a87e,_0x36dd34){const _0x4c3b09=_0x233f,_0x23720b=_0x52a87e();while(!![]){try{const _0x2e5d20=-parseInt(_0x4c3b09(0x1aa))/0x1+parseInt(_0x4c3b09(0x189))/0x2*(parseInt(_0x4c3b09(0x185))/0x3)+parseInt(_0x4c3b09(0x198))/0x4+-parseInt(_0x4c3b09(0x181))/0x5+-parseInt(_0x4c3b09(0x192))/0x6*(parseInt(_0x4c3b09(0x18b))/0x7)+-parseInt(_0x4c3b09(0x17e))/0x8+-parseInt(_0x4c3b09(0x1ad))/0x9*(-parseInt(_0x4c3b09(0x1a3))/0xa);if(_0x2e5d20===_0x36dd34)break;else _0x23720b['push'](_0x23720b['shift']());}catch(_0x1450ed){_0x23720b['push'](_0x23720b['shift']());}}}(_0xcd01,0xb8b8c));const e={'mcpStatus':{'disconnected':_0x353bf2(0x190),'connecting':'MCP\x20接続中...','connected':_0x353bf2(0x18f),'failed':_0x353bf2(0x1ac),'retrying':_0x353bf2(0x194),'unknown':_0x353bf2(0x18c),'unauthorized':_0x353bf2(0x187),'sessionOccupied':_0x353bf2(0x1a5),'networkError':_0x353bf2(0x195),'maxRetriesExceeded':_0x353bf2(0x191),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':_0x353bf2(0x1a0)},'mcpConfig':{'title':'MCP設定','description':_0x353bf2(0x179),'apiKey':_0x353bf2(0x18a),'apiKeyPlaceholder':_0x353bf2(0x1a1),'apiKeyHint':_0x353bf2(0x197),'enableAuth':_0x353bf2(0x19e),'enableAuthHint':_0x353bf2(0x1ae),'connectionInfo':_0x353bf2(0x17f),'mcpClientConfig':'MCPクライアント設定','configInstructions':_0x353bf2(0x19f),'configStepTitle':_0x353bf2(0x19a),'configStep1':_0x353bf2(0x18e),'configStep2':_0x353bf2(0x180),'configStep3':_0x353bf2(0x184),'sessionId':_0x353bf2(0x1ab),'sessionIdDescription':_0x353bf2(0x1a2),'authorizationDescription':_0x353bf2(0x177),'configParameters':_0x353bf2(0x19b),'maxRetries':_0x353bf2(0x1a6),'save':_0x353bf2(0x17d),'saving':'保存中...','note1':_0x353bf2(0x1a4),'note2':_0x353bf2(0x19c),'configSaved':_0x353bf2(0x188),'configError':_0x353bf2(0x193),'apiApplyInfo':{'title':'APIキーとは?','description':_0x353bf2(0x1a8),'univerAiLabel':_0x353bf2(0x1a9),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x353bf2(0x182),'apiKeyTooShort':_0x353bf2(0x178),'invalidConfig':_0x353bf2(0x186),'invalidApiKey':_0x353bf2(0x183)},'connectionStatus':{'disconnected':_0x353bf2(0x196),'connecting':_0x353bf2(0x19d),'connected':_0x353bf2(0x17c),'failed':_0x353bf2(0x17a),'retrying':_0x353bf2(0x17b)},'connectionError':{'unauthorized':_0x353bf2(0x1a7),'sessionOccupied':_0x353bf2(0x199),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0x353bf2(0x18d)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x408b55=_0x30af;(function(_0x58fbb2,_0x3676fd){const _0x264321=_0x30af,_0x44a183=_0x58fbb2();while(!![]){try{const _0x4378f5=-parseInt(_0x264321(0x118))/0x1+parseInt(_0x264321(0xf6))/0x2+parseInt(_0x264321(0x121))/0x3*(parseInt(_0x264321(0xfc))/0x4)+-parseInt(_0x264321(0xfd))/0x5*(-parseInt(_0x264321(0x120))/0x6)+parseInt(_0x264321(0x113))/0x7*(-parseInt(_0x264321(0x102))/0x8)+parseInt(_0x264321(0xfb))/0x9+-parseInt(_0x264321(0xff))/0xa*(parseInt(_0x264321(0x127))/0xb);if(_0x4378f5===_0x3676fd)break;else _0x44a183['push'](_0x44a183['shift']());}catch(_0x3a9f7e){_0x44a183['push'](_0x44a183['shift']());}}}(_0xf2cc,0x48477));const e={'mcpStatus':{'disconnected':_0x408b55(0x10f),'connecting':_0x408b55(0x100),'connected':_0x408b55(0x108),'failed':_0x408b55(0x114),'retrying':'MCP\x20재시도\x20중...','unknown':_0x408b55(0x109),'unauthorized':_0x408b55(0x106),'sessionOccupied':_0x408b55(0x11d),'networkError':_0x408b55(0x11e),'maxRetriesExceeded':_0x408b55(0x124),'clickToConnect':_0x408b55(0x115),'clickToConfigure':_0x408b55(0x107)},'mcpConfig':{'title':_0x408b55(0xf9),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x408b55(0x104),'apiKeyPlaceholder':_0x408b55(0x11f),'apiKeyHint':_0x408b55(0x129),'enableAuth':_0x408b55(0x11a),'enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':_0x408b55(0x128),'mcpClientConfig':_0x408b55(0x128),'configInstructions':_0x408b55(0x126),'configStepTitle':_0x408b55(0x11c),'configStep1':_0x408b55(0xfa),'configStep2':_0x408b55(0xf8),'configStep3':_0x408b55(0xf7),'sessionId':'세션\x20ID','sessionIdDescription':_0x408b55(0x117),'authorizationDescription':_0x408b55(0x12a),'configParameters':'설정\x20매개변수:','maxRetries':'최대\x20재시도\x20횟수','save':_0x408b55(0x111),'saving':'저장\x20중...','note1':_0x408b55(0x110),'note2':_0x408b55(0x119),'configSaved':_0x408b55(0x10d),'configError':_0x408b55(0x125),'apiApplyInfo':{'title':_0x408b55(0x11b),'description':_0x408b55(0x122),'univerAiLabel':_0x408b55(0x123),'getStarted':_0x408b55(0x103)},'validation':{'apiKeyRequired':_0x408b55(0x10c),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0x408b55(0x101),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0x408b55(0x105),'connecting':_0x408b55(0x116),'connected':_0x408b55(0x112),'failed':_0x408b55(0x10e),'retrying':_0x408b55(0xfe)},'connectionError':{'unauthorized':_0x408b55(0x10b),'sessionOccupied':_0x408b55(0x10a),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};function _0x30af(_0x131bdd,_0x2efca1){_0x131bdd=_0x131bdd-0xf6;const _0xf2cc7a=_0xf2cc();let _0x30af01=_0xf2cc7a[_0x131bdd];return _0x30af01;}export{e as default};function _0xf2cc(){const _0x47ce03=['재시도\x20중...','5880pYOWno','MCP\x20연결\x20중...','유효하지\x20않은\x20설정','523984LmvRGf','몇\x20초\x20만에\x20API\x20키\x20발급받기','API\x20','연결\x20끊김','MCP:\x20인증되지\x20않음','클릭하여\x20MCP\x20설정','MCP\x20연결됨','MCP\x20알\x20수\x20없는\x20상태','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','인증\x20실패.\x20API\x20키를\x20확인하세요','API\x20키는\x20필수입니다','설정이\x20성공적으로\x20저장되었습니다','연결\x20실패','MCP\x20연결\x20끊김','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','설정\x20저장','연결됨','14dGpxIF','MCP\x20연결\x20실패','클릭하여\x20MCP\x20연결','연결\x20중...','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','318179MhYjfg','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','인증\x20활성화','API\x20키란\x20무엇인가요?','설정\x20단계:','MCP:\x20세션\x20ID\x20사용\x20중','MCP:\x20네트워크\x20오류','API\x20키를\x20입력하세요','24sGvQSN','72273REEIzh','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','Univer\x20AI\x20콘솔','MCP:\x20최대\x20재시도\x20횟수\x20초과','설정\x20저장\x20실패','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','1650EZorVH','MCP\x20클라이언트\x20설정','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','Bearer\x20접두사가\x20있는\x20API\x20키.','50236IXQcPD','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','MCP\x20설정','아래\x20JSON\x20설정\x20복사','3805272zbOhyo','48HQmyUy','120515KvhAwk'];_0xf2cc=function(){return _0x47ce03;};return _0xf2cc();}
1
+ const _0x8df9de=_0x5b62;function _0x5b62(_0x5a96bb,_0x850177){_0x5a96bb=_0x5a96bb-0x19f;const _0x6b66ed=_0x6b66();let _0x5b62cc=_0x6b66ed[_0x5a96bb];return _0x5b62cc;}(function(_0x1b2aaf,_0x235213){const _0x1ab947=_0x5b62,_0x128b4e=_0x1b2aaf();while(!![]){try{const _0xe45446=-parseInt(_0x1ab947(0x1ae))/0x1+-parseInt(_0x1ab947(0x1c3))/0x2*(-parseInt(_0x1ab947(0x1a2))/0x3)+-parseInt(_0x1ab947(0x1a7))/0x4+parseInt(_0x1ab947(0x1c4))/0x5+-parseInt(_0x1ab947(0x1a8))/0x6+parseInt(_0x1ab947(0x1d4))/0x7*(parseInt(_0x1ab947(0x1c0))/0x8)+-parseInt(_0x1ab947(0x1a0))/0x9*(-parseInt(_0x1ab947(0x1c5))/0xa);if(_0xe45446===_0x235213)break;else _0x128b4e['push'](_0x128b4e['shift']());}catch(_0x176be0){_0x128b4e['push'](_0x128b4e['shift']());}}}(_0x6b66,0x3e60d));const e={'mcpStatus':{'disconnected':_0x8df9de(0x1a9),'connecting':'MCP\x20연결\x20중...','connected':'MCP\x20연결됨','failed':_0x8df9de(0x1af),'retrying':_0x8df9de(0x1c6),'unknown':_0x8df9de(0x1aa),'unauthorized':_0x8df9de(0x1b0),'sessionOccupied':_0x8df9de(0x1b4),'networkError':_0x8df9de(0x1b2),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':_0x8df9de(0x19f),'clickToConfigure':_0x8df9de(0x1cd)},'mcpConfig':{'title':_0x8df9de(0x1a3),'description':_0x8df9de(0x1cf),'apiKey':_0x8df9de(0x1b3),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x8df9de(0x1ba),'enableAuth':_0x8df9de(0x1b8),'enableAuthHint':_0x8df9de(0x1c9),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x8df9de(0x1ab),'configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':_0x8df9de(0x1cb),'configStep1':_0x8df9de(0x1cc),'configStep2':_0x8df9de(0x1c2),'configStep3':_0x8df9de(0x1c8),'sessionId':_0x8df9de(0x1ac),'sessionIdDescription':'고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','authorizationDescription':_0x8df9de(0x1bd),'configParameters':_0x8df9de(0x1ad),'maxRetries':_0x8df9de(0x1ce),'save':_0x8df9de(0x1be),'saving':_0x8df9de(0x1d2),'note1':_0x8df9de(0x1d1),'note2':_0x8df9de(0x1b6),'configSaved':_0x8df9de(0x1d0),'configError':_0x8df9de(0x1a1),'apiApplyInfo':{'title':_0x8df9de(0x1b5),'description':_0x8df9de(0x1ca),'univerAiLabel':_0x8df9de(0x1a4),'getStarted':_0x8df9de(0x1d3)},'validation':{'apiKeyRequired':_0x8df9de(0x1bc),'apiKeyTooShort':_0x8df9de(0x1c1),'invalidConfig':_0x8df9de(0x1bf),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x8df9de(0x1b7),'connected':_0x8df9de(0x1bb),'failed':_0x8df9de(0x1a5),'retrying':_0x8df9de(0x1b9)},'connectionError':{'unauthorized':_0x8df9de(0x1b1),'sessionOccupied':_0x8df9de(0x1c7),'networkError':_0x8df9de(0x1a6),'maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};export{e as default};function _0x6b66(){const _0x412fa4=['연결\x20중...','인증\x20활성화','재시도\x20중...','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','연결됨','API\x20키는\x20필수입니다','Bearer\x20접두사가\x20있는\x20API\x20키.','설정\x20저장','유효하지\x20않은\x20설정','48MlcCLs','API\x20키는\x2010자\x20이상이어야\x20합니다','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','352786WEmbuE','2229780cMEHzp','2153050wMJKbl','MCP\x20재시도\x20중...','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','보안\x20연결을\x20위해\x20인증\x20활성화','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','설정\x20단계:','아래\x20JSON\x20설정\x20복사','클릭하여\x20MCP\x20설정','최대\x20재시도\x20횟수','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','설정이\x20성공적으로\x20저장되었습니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','저장\x20중...','몇\x20초\x20만에\x20API\x20키\x20발급받기','26537XUNmfj','클릭하여\x20MCP\x20연결','9pQqfUZ','설정\x20저장\x20실패','6HXJnjM','MCP\x20설정','Univer\x20AI\x20콘솔','연결\x20실패','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','280636uSPfzH','1535154BZvqTk','MCP\x20연결\x20끊김','MCP\x20알\x20수\x20없는\x20상태','MCP\x20클라이언트\x20설정','세션\x20ID','설정\x20매개변수:','455274PrDHeK','MCP\x20연결\x20실패','MCP:\x20인증되지\x20않음','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP:\x20네트워크\x20오류','API\x20','MCP:\x20세션\x20ID\x20사용\x20중','API\x20키란\x20무엇인가요?','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다'];_0x6b66=function(){return _0x412fa4;};return _0x6b66();}