@univerjs-pro/mcp-ui 0.10.8-nightly.202509200616 → 0.10.9-experimental.20250925-61b61a0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/config.schema.d.ts +7 -0
- package/lib/types/controllers/mcp-connection-ui.controller.d.ts +4 -2
- package/lib/types/locale/en-US.d.ts +2 -4
- package/lib/types/locale/zh-CN.d.ts +2 -4
- package/lib/types/views/components/mcp-status.d.ts +2 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x963e(_0x4950f5,_0x54e9a7){var _0x28cd45=_0x28cd();return _0x963e=function(_0x963e93,_0x3f6cd8){_0x963e93=_0x963e93-0x100;var _0x346e09=_0x28cd45[_0x963e93];return _0x346e09;},_0x963e(_0x4950f5,_0x54e9a7);}function _0x28cd(){var _0x450f9d=['_dialogService','IMessageService','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','apiKey','Univer\x20AI\x20Console','warn','mcp-ui.config','symbol','toString','_logService','_config$','CONNECTED','_blank','mcp.apiKey','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','string','Univer\x20AI\x20控制台','MCP:\x20网络错误','currentColor','defIds','span','NONE','univer-flex\x20univer-items-start\x20univer-gap-2','children','merge','566338FLgdCR','mcpConfig.configStep2','Copy\x20the\x20JSON\x20configuration\x20below','_messageService','MCPConnectionStatus','extend','hasOwnProperty','Retrying...','div','mcpStatus.unknown','0\x200\x2016\x2016','mcpConfig.apiApplyInfo.univerAiLabel','MCPConfigUIController','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','useCallback','label','showConfigPanel','BehaviorSubject','univer-flex\x20univer-items-center\x20univer-gap-2','MCP\x20Connected','API\x20key\x20is\x20required','Tooltip','Enable\x20authentication\x20for\x20secure\x20connections','createElement','BUTTON','_configService','indexOf','MAX_RETRIES_EXCEEDED','DISCONNECTED','subscribe','复制以下\x20JSON\x20配置','subscribeConfigValue$','register','univer-text-green-500','length','IUIPartsService','mcp-ui.command.openConfigPanel','pre','Plugin','M5.21243\x205.62036L11.8791\x2012.287','univer-text-white','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-items-start\x20univer-gap-3','API\x20密钥无效,请检查您的密钥后重试','connectionStatus$','isValid','noopener\x20noreferrer','registerCommand','UniverMCPPlugin','LocaleService','请输入您的\x20API\x20密钥','Disconnected','url(#off-line-icon_clip0_910_343)','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','UniverProMcp','API\x20密钥长度至少需要\x2010\x20位','FAILED','mcpConfig.title','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','ICommandService','on-line-icon','has','将配置添加到您的\x20MCP\x20客户端设置文件中','registerComponent','univer-text-red-500','Disposable','function','Click\x20to\x20connect\x20MCP','jsx','useState','useObservable','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','get','INVALID_API_KEY','mcpConfig.validation.apiKeyTooShort','带有\x20Bearer\x20前缀的\x20API\x20密钥。','random','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','error','配置无效','_initConfigSync','univer-flex-shrink-0\x20univer-text-blue-500','univer-text-gray-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','useDependency','需要\x20API\x20密钥才能连接','UniverNetwork','getConfig','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','未连接','mcpConfig.note1','API\x20Key','876974wsPsma','Close','CheckMarkIcon','_loading$','clsx','univer-bg-green-500','0\x200\x2017\x2017','_loadStoredApiKey','enUS','concat','MCP:\x20无效的\x20API\x20密钥','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','close','mcpConfig.validation.apiKeyRequired','pluginName','MCP:\x20会话被占用','univer-bg-red-500','bottom','<API_KEY>','text','mcpConfig.apiApplyInfo.title','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','800331szEjIl','Save\x20Configuration','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','HEADER_MENU','mcpStatus.disconnected','mcpConfig.configSaved','mergeMenu','_config','CommandType','univer-font-medium','univer-flex\x20univer-cursor-pointer\x20univer-items-center','配置更改将立即生效','https://console.univer.ai','zhCN','mcpConfig.apiKey','什么是\x20API\x20密钥?','icon','Click\x20to\x20configure\x20MCP','OTHERS','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_connectionController','_localStorageService','MCP_UI_PLUGIN','MCP\x20配置','white','getOwnPropertyDescriptor','javascript:void(0)','mcpConfig.connectionInfo','Error','off','mcpConfig.note2','map','replace','MCPUIMenuController','最大重试次数','univer_session_id:','点击配置\x20MCP','className','mcpStatus.clickToConnect','univer.plus','jsxs','MCP\x20Connection\x20Failed','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Configuration\x20Parameters:','Bearer\x20','tag','Max\x20Retries','_handleConfigure','UniverDesign','mcpConfig.configStep1','amd','6502160fnDiaW','MCP\x20Retrying...','HelpSingle','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.configStepTitle','1em','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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','url(#$1','mcpStatus.clickToConfigure','MessageType','_mcpCoreConfig$','mcpServerUrl','重启您的\x20MCP\x20客户端以使配置生效','会话当前被占用,请稍后再试','hover:univer-opacity-80','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','onStarting','http://www.w3.org/2000/svg','_apiKey$','mcpConfig.connectionStatus.disconnected','Failed\x20to\x20save\x20configuration','MCPConnectionUIController','24LZRmdr','ILocalStorageService','entries','clipPath','ComponentManager','call','mcpStatus.connected','object','univer-flex-shrink-0\x20univer-text-red-500','sessionId$','NETWORK_ERROR','MCP:\x20API\x20Key\x20Missing','UniverProMcpUi','displayName','Enable\x20Authentication','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','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','colorChannel1','mcpConfig.authorizationDescription','add','mask','univer-space-y-4','SESSION_ID_OCCUPIED','univer-bg-gray-500','mcpConfig.configError','MCPConnectionError','点击连接\x20MCP','MCPConfigPanel','MCP\x20Unknown\x20Status','3822654mRGbev','univer-bg-blue-500','prototype','OnLineIcon','_commandService','errorMessage','_menuManagerService','next','on-line-icon_clip0_910_349','react/jsx-runtime','\x20-\x20','fill','url(#on-line-icon_clip0_910_349)','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','_handleConfigSave','round','MCP\x20连接中...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','mcpConfig.configInstructions','value','Injector','validateApiKey','Success','MenuItemType','mcpConfig.connectionError.maxRetriesExceeded','API\x20密钥不能为空','UniverMCPUIPlugin','mcpConfig.connectionStatus.connected','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','mcpConfig.connectionStatus.retrying','mcpConfig.connectionError.networkError','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','_uiPartsService','MCP\x20客户端配置','includes','mcpConfig.validation.invalidConfig','mcpStatus.maxRetriesExceeded','getCurrentConfig','5997303LchaxX','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','React','3fsIrMy','getItem','showDeveloperTools','mcpConfig.connectionStatus.failed','trim','ISocketService','5OvIOMr','Inject','check-mark-icon','_initStatusComponent','mcpConfig.configParameters','forEach','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','配置保存失败','MCP\x20Configuration','mcpConfig.apiKeyPlaceholder','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.configStep3','mcpStatus.connecting','getOwnPropertySymbols','evenodd','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','rxjs','use','univerjs-icon\x20univerjs-icon-','Configuration\x20saved\x20successfully','path','将以下配置添加到您的\x20MCP\x20客户端设置中:','disposeWithMe','MCP\x20Connecting...','2883340CnpFdN','Input','WebSocketService','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_createConfigPanelComponent','univer-space-y-2','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','useRef','您的\x20API\x20密钥将在此浏览器中本地存储','_registerComponent','univer.ai','启用身份验证以获得安全连接','Connecting...','univer-space-y-5','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','close-small-single','0\x200\x2017\x2016','COMMAND','univer-text-sm\x20univer-font-medium','svg','Get\x20your\x20API\x20key\x20in\x20seconds','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','保存中...','Authorization:','_initializeCommands','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','idSuffix','_componentManager','off-line-icon_clip0_910_343','_localeService','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','setConfig','https://console.univer.plus','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-text-xs\x20univer-text-gray-600','connectInjector','ILogService','配置参数:','forwardRef','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','xlink:href','MCPConnectionController','removeItem','mcpConfig.apiApplyInfo.getStarted','Module','连接中...','__setCustomHeaders','attrs','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.sessionIdDescription','OpenMCPConfigPanelCommand','_mcpConnectionController','@univerjs/ui','univer-text-xs\x20univer-text-gray-500','启用身份验证','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Session\x20ID','none','IConfigService','mcpConfig.apiKeyHint','open','MCP:\x20Network\x20Error','mcpConfig.connectionError.invalidApiKey','_validateConfig','show','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCP\x20已断开','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','API\x20密钥无效,请检查密钥是否正确','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-flex-wrap\x20univer-gap-2','propertyIsEnumerable','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','_injector','mcpConfig.save','配置保存成功','Button','univer-text-gray-400','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20超出最大重试次数','MCP_PLUGIN_CONFIG_KEY','defineProperty','univer-space-y-3','MCP:\x20缺少\x20API\x20密钥','mcpConfig.connectionError.sessionOccupied','assign','Connected','mcpConfig.apiApplyInfo.description','defs','M0\x200H16V16H0z','RETRYING','CONNECTING','配置步骤:','MCP\x20已连接','_initializeMenus','off-line-icon','@univerjs/design'];_0x28cd=function(){return _0x450f9d;};return _0x28cd();}(function(_0x5888a4,_0x2793bb){var _0x42ef48=_0x963e,_0x6fb97b=_0x5888a4();while(!![]){try{var _0x4dcfe4=parseInt(_0x42ef48(0x196))/0x1+-parseInt(_0x42ef48(0x1f4))/0x2+parseInt(_0x42ef48(0x29d))/0x3*(-parseInt(_0x42ef48(0x11a))/0x4)+-parseInt(_0x42ef48(0x2a3))/0x5*(parseInt(_0x42ef48(0x273))/0x6)+-parseInt(_0x42ef48(0x20a))/0x7*(-parseInt(_0x42ef48(0x256))/0x8)+parseInt(_0x42ef48(0x29a))/0x9+parseInt(_0x42ef48(0x23d))/0xa;if(_0x4dcfe4===_0x2793bb)break;else _0x6fb97b['push'](_0x6fb97b['shift']());}catch(_0x11f083){_0x6fb97b['push'](_0x6fb97b['shift']());}}}(_0x28cd,0x68db1),function(_0x5d05f2,_0xe5a6ff){var _0x2ed324=_0x963e;typeof exports==_0x2ed324(0x25d)&&typeof module<'u'?_0xe5a6ff(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x2ed324(0x1da)&&define[_0x2ed324(0x23c)]?define(['exports','@univerjs/core',_0x2ed324(0x27c),'@univerjs-pro/mcp',_0x2ed324(0x17c),_0x2ed324(0x14f),_0x2ed324(0x112),'react','@univerjs/network'],_0xe5a6ff):(_0x5d05f2=typeof globalThis<'u'?globalThis:_0x5d05f2||self,_0xe5a6ff(_0x5d05f2[_0x2ed324(0x262)]={},_0x5d05f2['UniverCore'],_0x5d05f2[_0x2ed324(0x29c)],_0x5d05f2[_0x2ed324(0x1cc)],_0x5d05f2[_0x2ed324(0x23a)],_0x5d05f2['UniverUi'],_0x5d05f2[_0x2ed324(0x112)],_0x5d05f2[_0x2ed324(0x29c)],_0x5d05f2[_0x2ed324(0x1ee)]));}(this,function(_0x19c1b6,_0x56b324,_0xa5d353,_0x1bee0f,_0x8c77a,_0x4b1b46,_0x5ce973,_0x557403,_0x26e3a1){'use strict';var _0x51a4e3=_0x963e;var _0x4940da=Object[_0x51a4e3(0x16d)],_0x5b90de=(_0x3a766a,_0x51db51,_0x5db0d1)=>_0x51db51 in _0x3a766a?_0x4940da(_0x3a766a,_0x51db51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5db0d1}):_0x3a766a[_0x51db51]=_0x5db0d1,_0x335414=(_0x3dfc23,_0x78c51c,_0x551dea)=>_0x5b90de(_0x3dfc23,typeof _0x78c51c!=_0x51a4e3(0x184)?_0x78c51c+'':_0x78c51c,_0x551dea),_0x14c53d=function(){var _0x2b1281=_0x51a4e3;return _0x14c53d=Object[_0x2b1281(0x171)]||function(_0x3c0efb){var _0x416dd2=_0x2b1281;for(var _0x21df57,_0x34554a=0x1,_0x28702e=arguments[_0x416dd2(0x1b8)];_0x34554a<_0x28702e;_0x34554a++){_0x21df57=arguments[_0x34554a];for(var _0x34bbca in _0x21df57)Object['prototype'][_0x416dd2(0x19c)][_0x416dd2(0x25b)](_0x21df57,_0x34bbca)&&(_0x3c0efb[_0x34bbca]=_0x21df57[_0x34bbca]);}return _0x3c0efb;},_0x14c53d['apply'](this,arguments);},_0x2b63f3=function(_0x2f3fcd,_0x25a513){var _0xcd8dee=_0x51a4e3,_0x5d3c98={};for(var _0x3698e5 in _0x2f3fcd)Object[_0xcd8dee(0x275)][_0xcd8dee(0x19c)][_0xcd8dee(0x25b)](_0x2f3fcd,_0x3698e5)&&_0x25a513[_0xcd8dee(0x1b0)](_0x3698e5)<0x0&&(_0x5d3c98[_0x3698e5]=_0x2f3fcd[_0x3698e5]);if(_0x2f3fcd!=null&&typeof Object[_0xcd8dee(0x10f)]==_0xcd8dee(0x1da)){for(var _0x4b6457=0x0,_0x3698e5=Object[_0xcd8dee(0x10f)](_0x2f3fcd);_0x4b6457<_0x3698e5[_0xcd8dee(0x1b8)];_0x4b6457++)_0x25a513[_0xcd8dee(0x1b0)](_0x3698e5[_0x4b6457])<0x0&&Object[_0xcd8dee(0x275)][_0xcd8dee(0x163)][_0xcd8dee(0x25b)](_0x2f3fcd,_0x3698e5[_0x4b6457])&&(_0x5d3c98[_0x3698e5[_0x4b6457]]=_0x2f3fcd[_0x3698e5[_0x4b6457]]);}return _0x5d3c98;},_0x18f0e8=_0x557403[_0x51a4e3(0x140)](function(_0x1ad5fb,_0x2487c3){var _0x20e1a4=_0x51a4e3,_0x36791f=_0x1ad5fb[_0x20e1a4(0x21a)],_0x44ea6d=_0x1ad5fb['id'],_0x39c596=_0x1ad5fb['className'],_0x20ac24=_0x1ad5fb[_0x20e1a4(0x19b)],_0x2331cf=_0x2b63f3(_0x1ad5fb,[_0x20e1a4(0x21a),'id',_0x20e1a4(0x22f),_0x20e1a4(0x19b)]),_0x17d9d2=_0x20e1a4(0x114)['concat'](_0x44ea6d,'\x20')[_0x20e1a4(0x1fd)](_0x39c596||'')[_0x20e1a4(0x2a1)](),_0xe24ea1=_0x557403[_0x20e1a4(0x121)]('_'[_0x20e1a4(0x1fd)](_0xea91c9()));return _0x1357de(_0x36791f,''['concat'](_0x44ea6d),{'defIds':_0x36791f[_0x20e1a4(0x190)],'idSuffix':_0xe24ea1['current']},_0x14c53d({'ref':_0x2487c3,'className':_0x17d9d2},_0x2331cf),_0x20ac24);});function _0x1357de(_0x1c4976,_0x525a3f,_0x4668a3,_0x5e8477,_0x450b79){var _0x176fd9=_0x51a4e3;return _0x557403[_0x176fd9(0x1ad)](_0x1c4976[_0x176fd9(0x237)],_0x14c53d(_0x14c53d({'key':_0x525a3f},_0x162713(_0x1c4976,_0x4668a3,_0x450b79)),_0x5e8477),(_0x1f7c2b(_0x1c4976,_0x4668a3)[_0x176fd9(0x194)]||[])[_0x176fd9(0x229)](function(_0x5eeb7f,_0x3eab8d){var _0x59c260=_0x176fd9;return _0x1357de(_0x5eeb7f,''['concat'](_0x525a3f,'-')['concat'](_0x1c4976[_0x59c260(0x237)],'-')['concat'](_0x3eab8d),_0x4668a3,void 0x0,_0x450b79);}));}function _0x162713(_0x125230,_0x358c01,_0x52be42){var _0x5ae43b=_0x51a4e3,_0x206267=_0x14c53d({},_0x125230[_0x5ae43b(0x14a)]);_0x52be42!=null&&_0x52be42[_0x5ae43b(0x267)]&&_0x206267['fill']===_0x5ae43b(0x267)&&(_0x206267[_0x5ae43b(0x27e)]=_0x52be42[_0x5ae43b(0x267)]),_0x125230['tag']===_0x5ae43b(0x26a)&&_0x206267['id']&&(_0x206267['id']=_0x206267['id']+_0x358c01[_0x5ae43b(0x134)]),Object[_0x5ae43b(0x258)](_0x206267)['forEach'](function(_0x3dbed6){var _0x2551f4=_0x5ae43b,_0xe6cf78=_0x3dbed6[0x0],_0x3af328=_0x3dbed6[0x1];_0xe6cf78===_0x2551f4(0x26a)&&typeof _0x3af328==_0x2551f4(0x18c)&&(_0x206267[_0xe6cf78]=_0x3af328[_0x2551f4(0x22a)](/url\(#(.*)\)/,_0x2551f4(0x247)[_0x2551f4(0x1fd)](_0x358c01[_0x2551f4(0x134)],')')));});var _0x5f37a0=_0x358c01['defIds'];return!_0x5f37a0||_0x5f37a0[_0x5ae43b(0x1b8)]===0x0||(_0x125230[_0x5ae43b(0x237)]===_0x5ae43b(0x113)&&_0x206267[_0x5ae43b(0x143)]&&(_0x206267[_0x5ae43b(0x143)]=_0x206267['xlink:href']+_0x358c01[_0x5ae43b(0x134)]),Object[_0x5ae43b(0x258)](_0x206267)[_0x5ae43b(0x104)](function(_0x121739){var _0x1ed5c5=_0x5ae43b,_0x1b884d=_0x121739[0x0],_0x15e98b=_0x121739[0x1];typeof _0x15e98b==_0x1ed5c5(0x18c)&&(_0x206267[_0x1b884d]=_0x15e98b[_0x1ed5c5(0x22a)](/url\(#(.*)\)/,_0x1ed5c5(0x247)[_0x1ed5c5(0x1fd)](_0x358c01[_0x1ed5c5(0x134)],')')));})),_0x206267;}function _0x1f7c2b(_0x17eb2a,_0x9c913e){var _0x334bd8=_0x51a4e3,_0x4ac70b,_0xc6d253=_0x9c913e['defIds'];return!_0xc6d253||_0xc6d253[_0x334bd8(0x1b8)]===0x0?_0x17eb2a:_0x17eb2a[_0x334bd8(0x237)]===_0x334bd8(0x174)&&(!((_0x4ac70b=_0x17eb2a[_0x334bd8(0x194)])===null||_0x4ac70b===void 0x0)&&_0x4ac70b[_0x334bd8(0x1b8)])?_0x14c53d(_0x14c53d({},_0x17eb2a),{'children':_0x17eb2a[_0x334bd8(0x194)][_0x334bd8(0x229)](function(_0x4ff454){var _0x395cde=_0x334bd8;return typeof _0x4ff454[_0x395cde(0x14a)]['id']=='string'&&_0xc6d253&&_0xc6d253['includes'](_0x4ff454['attrs']['id'])?_0x14c53d(_0x14c53d({},_0x4ff454),{'attrs':_0x14c53d(_0x14c53d({},_0x4ff454[_0x395cde(0x14a)]),{'id':_0x4ff454['attrs']['id']+_0x9c913e[_0x395cde(0x134)]})}):_0x4ff454;})}):_0x17eb2a;}function _0xea91c9(){var _0x40e5aa=_0x51a4e3;return Math[_0x40e5aa(0x1e4)]()[_0x40e5aa(0x185)](0x24)['substring'](0x2,0x8);}_0x18f0e8[_0x51a4e3(0x263)]='UniverIcon';var _0x30c499={'tag':_0x51a4e3(0x12d),'attrs':{'xmlns':_0x51a4e3(0x251),'fill':'none','viewBox':_0x51a4e3(0x1a0),'width':_0x51a4e3(0x243),'height':_0x51a4e3(0x243)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'fill':'currentColor','d':_0x51a4e3(0x265),'fillRule':_0x51a4e3(0x110),'clipRule':_0x51a4e3(0x110)}}]},_0x2a7c8e=_0x557403[_0x51a4e3(0x140)](function(_0x3ab02f,_0x162cae){var _0x581244=_0x51a4e3;return _0x557403[_0x581244(0x1ad)](_0x18f0e8,Object[_0x581244(0x171)]({},_0x3ab02f,{'id':_0x581244(0x101),'ref':_0x162cae,'icon':_0x30c499}));});_0x2a7c8e[_0x51a4e3(0x263)]=_0x51a4e3(0x1f6);var _0x58be91={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x51a4e3(0x155),'viewBox':_0x51a4e3(0x1fa),'width':'1em','height':_0x51a4e3(0x243)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'stroke':_0x51a4e3(0x18f),'d':_0x51a4e3(0x1bd),'strokeLinecap':_0x51a4e3(0x282),'strokeLinejoin':_0x51a4e3(0x282),'strokeWidth':1.33}},{'tag':_0x51a4e3(0x116),'attrs':{'stroke':_0x51a4e3(0x18f),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x51a4e3(0x282),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0x5b855f=_0x557403['forwardRef'](function(_0x3a1014,_0x80bc87){var _0x22a6e7=_0x51a4e3;return _0x557403['createElement'](_0x18f0e8,Object['assign']({},_0x3a1014,{'id':_0x22a6e7(0x129),'ref':_0x80bc87,'icon':_0x58be91}));});_0x5b855f[_0x51a4e3(0x263)]='CloseSmallSingle';var _0xed4a5e={'tag':_0x51a4e3(0x12d),'attrs':{'xmlns':_0x51a4e3(0x251),'fill':'none','viewBox':_0x51a4e3(0x1a0),'width':'1em','height':_0x51a4e3(0x243)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'fill':_0x51a4e3(0x18f),'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':_0x51a4e3(0x116),'attrs':{'fill':'currentColor','d':_0x51a4e3(0x28f)}},{'tag':_0x51a4e3(0x116),'attrs':{'fill':_0x51a4e3(0x18f),'d':_0x51a4e3(0x15f),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x3161b6=_0x557403[_0x51a4e3(0x140)](function(_0x5c5ef6,_0x15014f){var _0x488cac=_0x51a4e3;return _0x557403['createElement'](_0x18f0e8,Object[_0x488cac(0x171)]({},_0x5c5ef6,{'id':'help-single','ref':_0x15014f,'icon':_0xed4a5e}));});_0x3161b6[_0x51a4e3(0x263)]=_0x51a4e3(0x23f);var _0x5b4796={'tag':_0x51a4e3(0x12d),'attrs':{'xmlns':_0x51a4e3(0x251),'fill':_0x51a4e3(0x155),'viewBox':_0x51a4e3(0x1a0),'width':'1em','height':_0x51a4e3(0x243)},'children':[{'tag':'g','attrs':{'clipPath':_0x51a4e3(0x1ca)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'stroke':'currentColor','d':_0x51a4e3(0x24f),'strokeLinecap':_0x51a4e3(0x282),'strokeLinejoin':_0x51a4e3(0x282),'strokeWidth':1.2}}]},{'tag':_0x51a4e3(0x174),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x51a4e3(0x136)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'fill':_0x51a4e3(0x222),'d':_0x51a4e3(0x175)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5ec6d3=_0x557403[_0x51a4e3(0x140)](function(_0x5640e6,_0x47526b){var _0x2b7f17=_0x51a4e3;return _0x557403[_0x2b7f17(0x1ad)](_0x18f0e8,Object[_0x2b7f17(0x171)]({},_0x5640e6,{'id':_0x2b7f17(0x17b),'ref':_0x47526b,'icon':_0x5b4796}));});_0x5ec6d3['displayName']='OffLineIcon';var _0x4b0697={'tag':_0x51a4e3(0x12d),'attrs':{'xmlns':_0x51a4e3(0x251),'fill':_0x51a4e3(0x155),'viewBox':_0x51a4e3(0x12a),'width':_0x51a4e3(0x243),'height':_0x51a4e3(0x243)},'children':[{'tag':'g','attrs':{'clipPath':_0x51a4e3(0x27f)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'stroke':_0x51a4e3(0x18f),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x51a4e3(0x282),'strokeLinejoin':_0x51a4e3(0x282),'strokeWidth':1.2}}]},{'tag':_0x51a4e3(0x174),'attrs':{},'children':[{'tag':_0x51a4e3(0x259),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'fill':_0x51a4e3(0x222),'d':_0x51a4e3(0x175),'transform':'translate(.97)'}}]}]}],'defIds':[_0x51a4e3(0x27b)]},_0x399fb2=_0x557403[_0x51a4e3(0x140)](function(_0x4650d7,_0x580f68){var _0x40f07c=_0x51a4e3;return _0x557403[_0x40f07c(0x1ad)](_0x18f0e8,Object['assign']({},_0x4650d7,{'id':_0x40f07c(0x1d4),'ref':_0x580f68,'icon':_0x4b0697}));});_0x399fb2[_0x51a4e3(0x263)]=_0x51a4e3(0x276);function _0x503e61(_0x407ff1){var _0x54ce3f=_0x51a4e3,_0x4a11d6,_0x862501;const {mcpCoreConfig:_0x1bc295,onSave:_0x1794f3,loading:_0x626c06=!0x1,config:_0x2727bb,connectionStatus$:_0x2f0514,connectionError$:_0x3fdb9a,currentApiKey$:_0xe4aeb9,currentSessionId$:_0x4dd26c}=_0x407ff1,_0x1c927d=_0x4b1b46[_0x54ce3f(0x1ec)](_0x56b324[_0x54ce3f(0x1c7)]),_0x2c740a=_0x4b1b46[_0x54ce3f(0x1de)](_0x2f0514,_0x1bee0f[_0x54ce3f(0x19a)][_0x54ce3f(0x1b2)]),_0x5c5445=_0x4b1b46[_0x54ce3f(0x1de)](_0x3fdb9a,_0x1bee0f[_0x54ce3f(0x26f)][_0x54ce3f(0x192)]),_0x38aba2=_0x4b1b46[_0x54ce3f(0x1de)](_0x4dd26c,''),_0x42b922=_0x4b1b46[_0x54ce3f(0x1de)](_0xe4aeb9,''),[_0x4a9507,_0x1d5357]=_0x557403[_0x54ce3f(0x1dd)](_0x42b922||''),_0x381360=!0x0,_0x4e2e08=_0x2727bb['showDeveloperTools']&&_0x1bc295[_0x54ce3f(0x24b)]&&(_0x1bc295['mcpServerUrl']['includes']('univer.plus')||_0x1bc295[_0x54ce3f(0x24b)][_0x54ce3f(0x296)](_0x54ce3f(0x124))),_0x594930=(_0x4a11d6=_0x1bc295[_0x54ce3f(0x24b)])==null?void 0x0:_0x4a11d6['includes'](_0x54ce3f(0x231)),_0x434593=(_0x862501=_0x1bc295[_0x54ce3f(0x24b)])==null?void 0x0:_0x862501[_0x54ce3f(0x296)](_0x54ce3f(0x124)),_0x385fe1=_0x594930?_0x54ce3f(0x13a):_0x54ce3f(0x216),_0x58a7ea=_0x2727bb[_0x54ce3f(0x29f)]&&(_0x594930||_0x434593),[_0x204637,_0x4a96d0]=_0x557403['useState'](!_0x4a9507[_0x54ce3f(0x2a1)]()),_0x1f65c2=(_0x5d9d22,_0x468f7f)=>{var _0x5b4138=_0x54ce3f;if(_0x468f7f===_0x1bee0f[_0x5b4138(0x26f)][_0x5b4138(0x1e1)])return _0x5b4138(0x234);switch(_0x5d9d22){case _0x1bee0f[_0x5b4138(0x19a)][_0x5b4138(0x188)]:return _0x5b4138(0x15d);case _0x1bee0f[_0x5b4138(0x19a)][_0x5b4138(0x177)]:case _0x1bee0f[_0x5b4138(0x19a)][_0x5b4138(0x176)]:return _0x5b4138(0x18b);case _0x1bee0f[_0x5b4138(0x19a)]['FAILED']:return _0x5b4138(0x234);default:return _0x5b4138(0x11d);}},_0x25f6fe=(_0x38fe49,_0x25a935)=>{var _0x3ed9a8=_0x54ce3f;if(_0x25a935===_0x1bee0f['MCPConnectionError'][_0x3ed9a8(0x1e1)])return _0x3ed9a8(0x204);switch(_0x38fe49){case _0x1bee0f[_0x3ed9a8(0x19a)][_0x3ed9a8(0x188)]:return _0x3ed9a8(0x1f9);case _0x1bee0f[_0x3ed9a8(0x19a)]['CONNECTING']:case _0x1bee0f[_0x3ed9a8(0x19a)][_0x3ed9a8(0x176)]:return _0x3ed9a8(0x274);case _0x1bee0f[_0x3ed9a8(0x19a)][_0x3ed9a8(0x1ce)]:return'univer-bg-red-500';default:return _0x3ed9a8(0x26d);}},_0x112cfb=_0x2021ed=>{var _0x23d940=_0x54ce3f;switch(_0x2021ed){case _0x1bee0f[_0x23d940(0x19a)][_0x23d940(0x188)]:return _0x1c927d['t'](_0x23d940(0x28e));case _0x1bee0f[_0x23d940(0x19a)][_0x23d940(0x177)]:return _0x1c927d['t'](_0x23d940(0x1bf));case _0x1bee0f[_0x23d940(0x19a)][_0x23d940(0x1ce)]:return _0x1c927d['t'](_0x23d940(0x2a0));case _0x1bee0f[_0x23d940(0x19a)][_0x23d940(0x176)]:return _0x1c927d['t'](_0x23d940(0x290));default:return _0x1c927d['t'](_0x23d940(0x253));}},_0xf495bf=_0x21783d=>{var _0x1f7675=_0x54ce3f;switch(_0x21783d){case _0x1bee0f[_0x1f7675(0x26f)][_0x1f7675(0x1e1)]:return _0x1c927d['t'](_0x1f7675(0x15a));case _0x1bee0f[_0x1f7675(0x26f)]['SESSION_ID_OCCUPIED']:return _0x1c927d['t'](_0x1f7675(0x170));case _0x1bee0f[_0x1f7675(0x26f)][_0x1f7675(0x260)]:return _0x1c927d['t'](_0x1f7675(0x291));case _0x1bee0f['MCPConnectionError'][_0x1f7675(0x1b1)]:return _0x1c927d['t'](_0x1f7675(0x28b));default:return'';}},_0x476c1a=_0x557403[_0x54ce3f(0x1a4)](()=>{var _0x3f2e0e=_0x54ce3f;const _0x3b6391={..._0x1bc295,'apiKey':_0x4a9507[_0x3f2e0e(0x2a1)](),'enableAuth':_0x381360};_0x1794f3(_0x3b6391);},[_0x1bc295,_0x4a9507,_0x381360,_0x1794f3]),_0x5edf88=_0x4a9507[_0x54ce3f(0x2a1)]()[_0x54ce3f(0x1b8)]>0x0;return _0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1be),'children':'⚙'})}),_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'children':_0xa5d353[_0x54ce3f(0x1dc)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x1c927d['t']('mcpConfig.description')})})]})}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x1f0)+_0x1f65c2(_0x2c740a,_0x5c5445)+_0x54ce3f(0x1eb),'children':_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x161)+_0x25f6fe(_0x2c740a,_0x5c5445)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x12c),'children':_0x112cfb(_0x2c740a)})]})}),_0x5c5445!==_0x1bee0f[_0x54ce3f(0x26f)]['NONE']&&(_0x2c740a===_0x1bee0f['MCPConnectionStatus']['FAILED']||_0x5c5445===_0x1bee0f[_0x54ce3f(0x26f)][_0x54ce3f(0x1e1)])&&_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x153),'children':_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x193),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('span',{'className':_0x54ce3f(0x25e),'children':'⚠️'}),_0xa5d353[_0x54ce3f(0x1dc)]('p',{'className':_0x54ce3f(0x20c),'children':_0xf495bf(_0x5c5445)})]})})]}),_0xa5d353['jsx']('div',{'className':_0x54ce3f(0x108),'children':_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x127),'children':[_0xa5d353[_0x54ce3f(0x232)]('div',{'className':_0x54ce3f(0x11f),'children':[_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x1a5),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'children':'🔑'}),'\x20',_0x1c927d['t'](_0x54ce3f(0x218)),_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':'univer-text-red-500','children':'*'}),_0x4e2e08&&_0xa5d353[_0x54ce3f(0x1dc)]('a',{'href':_0x54ce3f(0x224),'onClick':()=>_0x4a96d0(!0x0),'className':_0x54ce3f(0x133),'title':_0x1c927d['t']('mcpConfig.apiApplyInfo.title'),'children':_0xa5d353['jsx'](_0x3161b6,{})})]}),_0xa5d353[_0x54ce3f(0x1dc)](_0x8c77a[_0x54ce3f(0x11b)],{'type':_0x54ce3f(0x207),'placeholder':_0x1c927d['t'](_0x54ce3f(0x10b)),'value':_0x4a9507,'onChange':_0x1d5357,'disabled':_0x626c06,'autoComplete':_0x54ce3f(0x227)}),_0xa5d353[_0x54ce3f(0x1dc)]('p',{'className':_0x54ce3f(0x150),'children':_0x1c927d['t'](_0x54ce3f(0x157))})]}),_0x4e2e08&&_0x204637&&_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x246),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('a',{'href':_0x54ce3f(0x224),'onClick':()=>_0x4a96d0(!0x1),'className':_0x54ce3f(0x293),'title':_0x54ce3f(0x1f5),'children':_0xa5d353['jsx'](_0x5b855f,{})}),_0xa5d353[_0x54ce3f(0x232)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x164),'children':_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':'univer-text-blue-600','children':'🚀'})}),_0xa5d353[_0x54ce3f(0x232)]('div',{'className':'univer-flex-1','children':[_0xa5d353[_0x54ce3f(0x1dc)]('h4',{'className':_0x54ce3f(0x1a3),'children':_0x1c927d['t'](_0x54ce3f(0x208))}),_0xa5d353[_0x54ce3f(0x1dc)]('p',{'className':_0x54ce3f(0x240),'children':_0x1c927d['t'](_0x54ce3f(0x173))}),_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x162),'children':_0x58a7ea&&_0xa5d353['jsxs']('a',{'href':_0x385fe1,'target':_0x54ce3f(0x189),'rel':_0x54ce3f(0x1c4),'className':_0x54ce3f(0x17f),'children':[_0xa5d353['jsx']('span',{'children':'🤖'}),_0x1c927d['t'](_0x54ce3f(0x1a1)),_0xa5d353['jsx'](_0x54ce3f(0x191),{'className':_0x54ce3f(0x169),'children':'↗'})]})}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x14b),'children':['✨','\x20',_0x1c927d['t'](_0x54ce3f(0x146))]})]})]})]}),_0x2727bb[_0x54ce3f(0x29f)]&&_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0xa5d353[_0x54ce3f(0x232)]('h4',{'className':_0x54ce3f(0x244),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('span',{'children':'🔗'}),'\x20',_0x1c927d['t'](_0x54ce3f(0x225))]}),_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x26b),'children':[_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':'univer-space-y-3','children':[_0xa5d353['jsx']('p',{'className':_0x54ce3f(0x13c),'children':_0x1c927d['t'](_0x54ce3f(0x285))}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x11f),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x10c),'children':_0x1c927d['t'](_0x54ce3f(0x242))}),_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x1d2),'children':[_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x1a8),'children':[_0xa5d353['jsx'](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1e5),'children':'1'}),_0x1c927d['t'](_0x54ce3f(0x23b))]}),_0xa5d353['jsxs']('div',{'className':_0x54ce3f(0x1a8),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1e5),'children':'2'}),_0x1c927d['t'](_0x54ce3f(0x197))]}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0xa5d353[_0x54ce3f(0x1dc)]('span',{'className':_0x54ce3f(0x1e5),'children':'3'}),_0x1c927d['t'](_0x54ce3f(0x10d))]})]})]})]}),_0xa5d353[_0x54ce3f(0x232)]('div',{'className':_0x54ce3f(0x11f),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x54ce3f(0x10a)}),_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x1bb),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':_0x54ce3f(0x1ff)+_0x38aba2+'\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20'+(_0x4a9507||_0x54ce3f(0x206))+_0x54ce3f(0x1cb)})})]}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x16e),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x10c),'children':_0x1c927d['t'](_0x54ce3f(0x103))}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-space-y-2','children':[_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x1c0),'children':[_0xa5d353['jsx'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x21d)}),_0xa5d353['jsxs']('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x120),'children':_0x54ce3f(0x22d)}),_0xa5d353['jsx'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x150),'children':_0x1c927d['t'](_0x54ce3f(0x14c))})]})]}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x1c0),'children':[_0xa5d353['jsx'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x21d)}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x120),'children':_0x54ce3f(0x131)}),_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x150),'children':_0x1c927d['t'](_0x54ce3f(0x268))})]})]})]})]})]})]}),_0xa5d353['jsx'](_0x8c77a[_0x54ce3f(0x168)],{'onClick':_0x476c1a,'disabled':!_0x5edf88||_0x626c06,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x626c06?_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1a8),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'children':'⟲'}),_0x1c927d['t']('mcpConfig.saving')]}):_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1a8),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x2a7c8e,{}),_0x1c927d['t'](_0x54ce3f(0x166))]})}),_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x128),'children':_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-gap-3','children':[_0xa5d353[_0x54ce3f(0x1dc)]('span',{'className':_0x54ce3f(0x1e9),'children':'💡'}),_0xa5d353[_0x54ce3f(0x232)]('div',{'className':_0x54ce3f(0x292),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x213),'children':'Configuration\x20Notes:'}),_0xa5d353[_0x54ce3f(0x232)]('div',{'children':['•',_0x1c927d['t'](_0x54ce3f(0x1f2))]}),_0xa5d353[_0x54ce3f(0x232)]('div',{'children':['•',_0x1c927d['t'](_0x54ce3f(0x228))]})]})]})})]})})]});}const _0x412294=_0x51a4e3(0x183),_0x4091a5={'showDeveloperTools':!0x1};var _0x268d55=Object['getOwnPropertyDescriptor'],_0x6ae026=(_0x32b59e,_0x3d0123,_0x51451b,_0x37ddf8)=>{var _0x5d39e8=_0x51a4e3;for(var _0x354a47=_0x37ddf8>0x1?void 0x0:_0x37ddf8?_0x268d55(_0x3d0123,_0x51451b):_0x3d0123,_0x1e8c5d=_0x32b59e[_0x5d39e8(0x1b8)]-0x1,_0x57fe4c;_0x1e8c5d>=0x0;_0x1e8c5d--)(_0x57fe4c=_0x32b59e[_0x1e8c5d])&&(_0x354a47=_0x57fe4c(_0x354a47)||_0x354a47);return _0x354a47;},_0x1b0004=(_0x49c715,_0x45ff79)=>(_0x2b5d27,_0x1e9154)=>_0x45ff79(_0x2b5d27,_0x1e9154,_0x49c715);const _0x20df98=_0x51a4e3(0x18a),_0x4f327b='mcp-config-dialog';_0x19c1b6['MCPConfigUIController']=class extends _0x56b324[_0x51a4e3(0x1d9)]{constructor(_0xa5e59b,_0x131165,_0x2bbd2c,_0x5e1cc4,_0x38c0f2,_0x3a61d1,_0x29b144,_0x19b979,_0x522c8e,_0x579c6c){var _0x2655f1=_0x51a4e3;super(),_0x335414(this,'_loading$',new _0x5ce973[(_0x2655f1(0x1a7))](!0x1)),_0x335414(this,'_mcpCoreConfig$',new _0x5ce973[(_0x2655f1(0x1a7))]({})),_0x335414(this,_0x2655f1(0x187),new _0x5ce973[(_0x2655f1(0x1a7))]({})),_0x335414(this,_0x2655f1(0x252),new _0x5ce973['BehaviorSubject']('')),_0x335414(this,_0x2655f1(0x281),async _0x269b6c=>{var _0x1ff81a=_0x2655f1,_0x2cd594,_0x1a090;this[_0x1ff81a(0x1f7)][_0x1ff81a(0x27a)](!0x0);try{const _0x2e6c8c=await this[_0x1ff81a(0x15b)](_0x269b6c);if(!_0x2e6c8c['isValid']){this['_messageService'][_0x1ff81a(0x15c)]({'type':_0x8c77a[_0x1ff81a(0x249)]['Error'],'content':_0x2e6c8c[_0x1ff81a(0x278)]||this[_0x1ff81a(0x137)]['t'](_0x1ff81a(0x297))});return;}_0x269b6c['apiKey']?await this['_localStorageService']['setItem'](_0x20df98,_0x269b6c[_0x1ff81a(0x180)]['trim']()):await this['_localStorageService'][_0x1ff81a(0x145)](_0x20df98),this[_0x1ff81a(0x252)][_0x1ff81a(0x27a)](((_0x2cd594=_0x269b6c[_0x1ff81a(0x180)])==null?void 0x0:_0x2cd594[_0x1ff81a(0x2a1)]())||''),this['_mcpConnectionController'][_0x1ff81a(0x149)]({'Authorization':_0x1ff81a(0x236)+((_0x1a090=_0x269b6c[_0x1ff81a(0x180)])==null?void 0x0:_0x1a090[_0x1ff81a(0x2a1)]())}),this[_0x1ff81a(0x199)][_0x1ff81a(0x15c)]({'type':_0x8c77a[_0x1ff81a(0x249)][_0x1ff81a(0x289)],'content':this['_localeService']['t'](_0x1ff81a(0x20f))}),setTimeout(()=>{var _0x37c878=_0x1ff81a;this[_0x37c878(0x17d)][_0x37c878(0x200)](_0x4f327b);},0x320);}catch(_0x3e44d5){this[_0x1ff81a(0x186)][_0x1ff81a(0x1e6)](_0x1ff81a(0x138),_0x3e44d5),this[_0x1ff81a(0x199)][_0x1ff81a(0x15c)]({'type':_0x8c77a[_0x1ff81a(0x249)][_0x1ff81a(0x226)],'content':this['_localeService']['t'](_0x1ff81a(0x26e))});}finally{this[_0x1ff81a(0x1f7)][_0x1ff81a(0x27a)](!0x1);}}),(this['_injector']=_0xa5e59b,this[_0x2655f1(0x294)]=_0x131165,this['_configService']=_0x2bbd2c,this[_0x2655f1(0x21f)]=_0x5e1cc4,this[_0x2655f1(0x17d)]=_0x38c0f2,this[_0x2655f1(0x199)]=_0x3a61d1,this[_0x2655f1(0x135)]=_0x29b144,this[_0x2655f1(0x137)]=_0x19b979,this[_0x2655f1(0x186)]=_0x522c8e,this[_0x2655f1(0x14e)]=_0x579c6c,this['_initConfigSync'](),this[_0x2655f1(0x1fb)](),this[_0x2655f1(0x123)]());}[_0x51a4e3(0x1a6)](){var _0x3acd43=_0x51a4e3;this[_0x3acd43(0x17d)][_0x3acd43(0x158)]({'id':_0x4f327b,'title':{'title':this['_localeService']['t'](_0x3acd43(0x1cf))},'children':{'label':_0x3acd43(0x271)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x3a3974=_0x3acd43;this[_0x3a3974(0x17d)][_0x3a3974(0x200)](_0x4f327b);}});}[_0x51a4e3(0x299)](){var _0x4595a3=_0x51a4e3;return this['_mcpCoreConfig$'][_0x4595a3(0x286)];}[_0x51a4e3(0x123)](){var _0x336795=_0x51a4e3;this[_0x336795(0x118)](this[_0x336795(0x135)][_0x336795(0x1b6)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}[_0x51a4e3(0x11e)](){var _0x37227f=_0x51a4e3;return _0x4b1b46[_0x37227f(0x13d)](()=>{var _0x42e5cb=_0x37227f,_0x8db7da,_0x25cf4f,_0xb11a6f;return _0xa5d353['jsx'](_0x503e61,{'config':this[_0x42e5cb(0x187)][_0x42e5cb(0x286)],'mcpCoreConfig':this[_0x42e5cb(0x24a)][_0x42e5cb(0x286)],'currentApiKey$':this[_0x42e5cb(0x252)],'onSave':this['_handleConfigSave'],'loading':this[_0x42e5cb(0x1f7)][_0x42e5cb(0x286)],'connectionStatus$':(_0x8db7da=this[_0x42e5cb(0x14e)])==null?void 0x0:_0x8db7da[_0x42e5cb(0x1c2)],'connectionError$':(_0x25cf4f=this['_mcpConnectionController'])==null?void 0x0:_0x25cf4f['connectionError$'],'currentSessionId$':(_0xb11a6f=this[_0x42e5cb(0x14e)])==null?void 0x0:_0xb11a6f[_0x42e5cb(0x25f)]});},this[_0x37227f(0x165)]);}[_0x51a4e3(0x1e8)](){var _0x35d2d9=_0x51a4e3;this[_0x35d2d9(0x118)](this[_0x35d2d9(0x1af)][_0x35d2d9(0x1b5)](_0x1bee0f[_0x35d2d9(0x16c)])[_0x35d2d9(0x1b3)](_0x19e4f1=>{var _0xbb10ba=_0x35d2d9;this[_0xbb10ba(0x24a)][_0xbb10ba(0x27a)](_0x19e4f1||{});}));const _0x2d0ea1=this['_configService'][_0x35d2d9(0x1ef)](_0x1bee0f[_0x35d2d9(0x16c)]);this[_0x35d2d9(0x24a)][_0x35d2d9(0x27a)](_0x2d0ea1||{}),this[_0x35d2d9(0x118)](this[_0x35d2d9(0x1af)]['subscribeConfigValue$'](_0x412294)[_0x35d2d9(0x1b3)](_0x42d139=>{var _0x2a5ade=_0x35d2d9;this['_config$'][_0x2a5ade(0x27a)](_0x42d139||{});}));const _0x2f3a90=this[_0x35d2d9(0x1af)]['getConfig'](_0x412294);this[_0x35d2d9(0x187)][_0x35d2d9(0x27a)](_0x2f3a90||{});}async[_0x51a4e3(0x1fb)](){var _0x56d665=_0x51a4e3;const _0x1eff44=await this[_0x56d665(0x21f)][_0x56d665(0x29e)](_0x20df98);_0x1eff44&&(this[_0x56d665(0x14e)][_0x56d665(0x149)]({'Authorization':_0x56d665(0x236)+_0x1eff44}),this[_0x56d665(0x252)]['next'](_0x1eff44));}async[_0x51a4e3(0x15b)](_0xb10536){var _0x47ba0c=_0x51a4e3;if(!_0xb10536[_0x47ba0c(0x180)]||_0xb10536['apiKey'][_0x47ba0c(0x2a1)]()[_0x47ba0c(0x1b8)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x47ba0c(0x201))};if(_0xb10536[_0x47ba0c(0x180)][_0x47ba0c(0x2a1)]()[_0x47ba0c(0x1b8)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x47ba0c(0x137)]['t'](_0x47ba0c(0x1e2))};try{const _0xf6a5c7=await this['_injector'][_0x47ba0c(0x1e0)](_0x1bee0f[_0x47ba0c(0x144)])[_0x47ba0c(0x288)](_0xb10536[_0x47ba0c(0x180)]['trim']());return _0xf6a5c7[_0x47ba0c(0x1c3)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0xf6a5c7[_0x47ba0c(0x1e6)]||this[_0x47ba0c(0x137)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x413e68){return console[_0x47ba0c(0x182)](_0x47ba0c(0x12f),_0x413e68),{'isValid':!0x0};}}},_0x19c1b6[_0x51a4e3(0x1a2)]=_0x6ae026([_0x1b0004(0x0,_0x56b324[_0x51a4e3(0x100)](_0x56b324['Injector'])),_0x1b0004(0x1,_0x4b1b46['IUIPartsService']),_0x1b0004(0x2,_0x56b324[_0x51a4e3(0x156)]),_0x1b0004(0x3,_0x56b324[_0x51a4e3(0x257)]),_0x1b0004(0x4,_0x4b1b46['IDialogService']),_0x1b0004(0x5,_0x4b1b46[_0x51a4e3(0x17e)]),_0x1b0004(0x6,_0x56b324[_0x51a4e3(0x100)](_0x4b1b46[_0x51a4e3(0x25a)])),_0x1b0004(0x7,_0x56b324['Inject'](_0x56b324[_0x51a4e3(0x1c7)])),_0x1b0004(0x8,_0x56b324[_0x51a4e3(0x13e)]),_0x1b0004(0x9,_0x56b324[_0x51a4e3(0x100)](_0x1bee0f['MCPConnectionController']))],_0x19c1b6[_0x51a4e3(0x1a2)]);const _0x30ffe3={'id':_0x51a4e3(0x1ba),'type':_0x56b324[_0x51a4e3(0x212)][_0x51a4e3(0x12b)],'handler':async(_0x34fc61,_0x129392)=>(_0x34fc61['get'](_0x19c1b6['MCPConfigUIController'])['showConfigPanel'](),!0x0)};function _0x44459e(_0x537861,_0x559c9a){var _0x30b6cd=_0x51a4e3;switch(_0x537861){case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x1b2)]:return _0x30b6cd(0x20e);case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x177)]:return _0x30b6cd(0x10e);case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x188)]:return _0x30b6cd(0x25c);case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x1ce)]:switch(_0x559c9a){case _0x1bee0f[_0x30b6cd(0x26f)]['INVALID_API_KEY']:return'mcpStatus.invalidApiKey';case _0x1bee0f[_0x30b6cd(0x26f)][_0x30b6cd(0x26c)]:return'mcpStatus.sessionOccupied';case _0x1bee0f[_0x30b6cd(0x26f)][_0x30b6cd(0x260)]:return'mcpStatus.networkError';case _0x1bee0f[_0x30b6cd(0x26f)]['MAX_RETRIES_EXCEEDED']:return _0x30b6cd(0x298);default:return'mcpStatus.failed';}case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x176)]:return'mcpStatus.retrying';default:return _0x30b6cd(0x19f);}}function _0x8a7530(_0x4f5a75,_0x17f690,_0x322328){var _0x3ce23a=_0x51a4e3;const _0x295aca=_0x44459e(_0x4f5a75,_0x17f690),_0x5614b3=_0x322328['t'](_0x295aca);return _0x4f5a75===_0x1bee0f[_0x3ce23a(0x19a)][_0x3ce23a(0x1b2)]&&_0x17f690===_0x1bee0f[_0x3ce23a(0x26f)]['INVALID_API_KEY']?_0x5614b3+_0x3ce23a(0x27d)+_0x322328['t'](_0x3ce23a(0x248)):_0x4f5a75===_0x1bee0f[_0x3ce23a(0x19a)][_0x3ce23a(0x188)]?''+_0x5614b3:_0x4f5a75===_0x1bee0f[_0x3ce23a(0x19a)][_0x3ce23a(0x1b2)]||_0x4f5a75===_0x1bee0f[_0x3ce23a(0x19a)][_0x3ce23a(0x1ce)]?_0x5614b3+_0x3ce23a(0x27d)+_0x322328['t'](_0x3ce23a(0x230)):_0x5614b3;}function _0x4df16c(_0x52d1d4){var _0x5a0652=_0x51a4e3;switch(_0x52d1d4){case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x188)]:return _0x5a0652(0x1b7);case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x177)]:case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x176)]:return'univer-text-yellow-500';case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x1ce)]:case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x1b2)]:return _0x5a0652(0x1d8);default:return _0x5a0652(0x1ea);}}function _0xe8bf5d(_0xf0991){var _0x21a23f=_0x51a4e3;const {status$:_0xe4b842,error$:_0x4e7e61,onConfigure:_0x158006}=_0xf0991,_0x1877bd=_0x4b1b46[_0x21a23f(0x1de)](_0xe4b842,_0x1bee0f[_0x21a23f(0x19a)][_0x21a23f(0x1b2)]),_0x1b6e3a=_0x4b1b46[_0x21a23f(0x1de)](_0x4e7e61,_0x1bee0f[_0x21a23f(0x26f)][_0x21a23f(0x192)]),_0x46af00=_0x4b1b46[_0x21a23f(0x1ec)](_0x56b324['LocaleService']),_0x5788ee=_0x1877bd===_0x1bee0f[_0x21a23f(0x19a)][_0x21a23f(0x188)],_0x5327fc=_0x1877bd===_0x1bee0f['MCPConnectionStatus'][_0x21a23f(0x177)]||_0x1877bd===_0x1bee0f['MCPConnectionStatus'][_0x21a23f(0x176)],_0x554eb5=_0x46af00['t'](_0x44459e(_0x1877bd,_0x1b6e3a)),_0x520ce6=_0x8a7530(_0x1877bd,_0x1b6e3a,_0x46af00),_0x16745d=_0x4df16c(_0x1877bd),_0x39799c=_0x5788ee?_0xa5d353[_0x21a23f(0x1dc)](_0x399fb2,{}):_0xa5d353[_0x21a23f(0x1dc)](_0x5ec6d3,{}),_0x2997e7=_0x557403[_0x21a23f(0x1a4)](()=>{_0x158006&&_0x158006();},[_0x5788ee,_0x5327fc,_0x158006]);function _0x1954cc(){var _0x1f02d0=_0x21a23f;return _0xa5d353[_0x1f02d0(0x232)](_0x1f02d0(0x19e),{'className':_0x8c77a[_0x1f02d0(0x1f8)](_0x1f02d0(0x214),_0x158006&&_0x1f02d0(0x24e)),'onClick':_0x158006?_0x2997e7:void 0x0,'children':[_0xa5d353[_0x1f02d0(0x1dc)](_0x1f02d0(0x19e),{'className':_0x8c77a[_0x1f02d0(0x1f8)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x16745d),'children':_0x39799c}),_0xa5d353[_0x1f02d0(0x1dc)](_0x1f02d0(0x19e),{'className':_0x1f02d0(0x152),'children':_0x554eb5})]});}return _0xa5d353[_0x21a23f(0x1dc)](_0x8c77a[_0x21a23f(0x1ab)],{'title':_0x520ce6,'placement':_0x21a23f(0x205),'children':_0x1954cc()});}var _0x193f4e=Object[_0x51a4e3(0x223)],_0x310908=(_0x1b0afa,_0x5814b5,_0x2f5031,_0x473ae0)=>{for(var _0x3e5ffd=_0x473ae0>0x1?void 0x0:_0x473ae0?_0x193f4e(_0x5814b5,_0x2f5031):_0x5814b5,_0x887de1=_0x1b0afa['length']-0x1,_0x55a8c0;_0x887de1>=0x0;_0x887de1--)(_0x55a8c0=_0x1b0afa[_0x887de1])&&(_0x3e5ffd=_0x55a8c0(_0x3e5ffd)||_0x3e5ffd);return _0x3e5ffd;},_0x690cac=(_0x4d5454,_0x3d84ba)=>(_0x34b75e,_0xf08585)=>_0x3d84ba(_0x34b75e,_0xf08585,_0x4d5454);_0x19c1b6['MCPConnectionUIController']=class extends _0x56b324[_0x51a4e3(0x1d9)]{constructor(_0x4e6707,_0x5cd244,_0x5676ed){var _0x18279b=_0x51a4e3;super(),this[_0x18279b(0x165)]=_0x4e6707,this[_0x18279b(0x21e)]=_0x5cd244,this[_0x18279b(0x294)]=_0x5676ed,this[_0x18279b(0x21e)]['enableAutoConnect']=!0x1,this[_0x18279b(0x102)]();}['_initStatusComponent'](){var _0x31c87f=_0x51a4e3;this[_0x31c87f(0x118)](this[_0x31c87f(0x294)][_0x31c87f(0x1d7)](_0x4b1b46['BuiltInUIPart'][_0x31c87f(0x20d)],()=>_0x4b1b46[_0x31c87f(0x13d)](_0x45682d({'status$':this[_0x31c87f(0x21e)][_0x31c87f(0x1c2)],'error$':this[_0x31c87f(0x21e)]['connectionError$'],'onConfigure':()=>this[_0x31c87f(0x239)]()}),this[_0x31c87f(0x165)])));}[_0x51a4e3(0x239)](){var _0x389123=_0x51a4e3;this[_0x389123(0x165)][_0x389123(0x1e0)](_0x19c1b6[_0x389123(0x1a2)])[_0x389123(0x1a6)]();}},_0x19c1b6[_0x51a4e3(0x255)]=_0x310908([_0x690cac(0x0,_0x56b324[_0x51a4e3(0x100)](_0x56b324[_0x51a4e3(0x287)])),_0x690cac(0x1,_0x56b324[_0x51a4e3(0x100)](_0x1bee0f['MCPConnectionController'])),_0x690cac(0x2,_0x4b1b46[_0x51a4e3(0x1b9)])],_0x19c1b6[_0x51a4e3(0x255)]);function _0x45682d(_0x3b30eb){const {status$:_0x41a521,error$:_0x419568,onConfigure:_0x34fa3c}=_0x3b30eb;return function(){return _0xa5d353['jsx'](_0xe8bf5d,{'status$':_0x41a521,'error$':_0x419568,'onConfigure':_0x34fa3c});};}function _0x392f53(_0x29faaf){var _0x374cdc=_0x51a4e3;return{'id':_0x30ffe3['id'],'type':_0x4b1b46[_0x374cdc(0x28a)][_0x374cdc(0x1ae)],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x374cdc(0x1cf)};}const _0x5a6e28={[_0x4b1b46['RibbonStartGroup'][_0x51a4e3(0x21c)]]:{[_0x30ffe3['id']]:{'order':0xa,'menuItemFactory':_0x392f53}}};var _0x23c0bd=Object[_0x51a4e3(0x223)],_0x5f01b8=(_0x1481ec,_0x3d77a2,_0x22001a,_0x361cba)=>{var _0x4cde20=_0x51a4e3;for(var _0x3cfb94=_0x361cba>0x1?void 0x0:_0x361cba?_0x23c0bd(_0x3d77a2,_0x22001a):_0x3d77a2,_0x28398c=_0x1481ec[_0x4cde20(0x1b8)]-0x1,_0x3640da;_0x28398c>=0x0;_0x28398c--)(_0x3640da=_0x1481ec[_0x28398c])&&(_0x3cfb94=_0x3640da(_0x3cfb94)||_0x3cfb94);return _0x3cfb94;},_0x4ed176=(_0x348bf4,_0x36571d)=>(_0x181b5b,_0x129e58)=>_0x36571d(_0x181b5b,_0x129e58,_0x348bf4);_0x19c1b6['MCPUIMenuController']=class extends _0x56b324[_0x51a4e3(0x1d9)]{constructor(_0x3cf23c,_0x5097cc){var _0x317561=_0x51a4e3;super(),this[_0x317561(0x277)]=_0x3cf23c,this[_0x317561(0x279)]=_0x5097cc,this['_initializeCommands'](),this[_0x317561(0x17a)]();}[_0x51a4e3(0x132)](){[_0x30ffe3]['forEach'](_0x204ab9=>{var _0x3e53c5=_0x963e;this[_0x3e53c5(0x118)](this[_0x3e53c5(0x277)][_0x3e53c5(0x1c5)](_0x204ab9));});}[_0x51a4e3(0x17a)](){var _0x296d8c=_0x51a4e3;this['_menuManagerService'][_0x296d8c(0x210)](_0x5a6e28);}},_0x19c1b6[_0x51a4e3(0x22b)]=_0x5f01b8([_0x4ed176(0x0,_0x56b324[_0x51a4e3(0x1d3)]),_0x4ed176(0x1,_0x4b1b46['IMenuManagerService'])],_0x19c1b6[_0x51a4e3(0x22b)]);const _0x587e1d={'mcpStatus':{'disconnected':_0x51a4e3(0x141),'connecting':_0x51a4e3(0x119),'connected':_0x51a4e3(0x1a9),'failed':_0x51a4e3(0x233),'retrying':_0x51a4e3(0x23e),'unknown':_0x51a4e3(0x272),'missingApiKey':_0x51a4e3(0x261),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x51a4e3(0x159),'maxRetriesExceeded':_0x51a4e3(0x105),'clickToConnect':_0x51a4e3(0x1db),'clickToConfigure':_0x51a4e3(0x21b)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x51a4e3(0x1f3),'apiKeyPlaceholder':_0x51a4e3(0x1d1),'apiKeyHint':_0x51a4e3(0x1df),'enableAuth':_0x51a4e3(0x264),'enableAuthHint':_0x51a4e3(0x1ac),'connectionInfo':_0x51a4e3(0x1d0),'mcpClientConfig':_0x51a4e3(0x1d0),'configInstructions':_0x51a4e3(0x245),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x51a4e3(0x198),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x51a4e3(0x111),'sessionId':_0x51a4e3(0x154),'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':_0x51a4e3(0x235),'maxRetries':_0x51a4e3(0x238),'save':_0x51a4e3(0x20b),'saving':'Saving...','note1':_0x51a4e3(0x29b),'note2':_0x51a4e3(0x106),'configSaved':_0x51a4e3(0x115),'configError':_0x51a4e3(0x254),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x51a4e3(0x181),'getStarted':_0x51a4e3(0x12e)},'validation':{'apiKeyRequired':_0x51a4e3(0x1aa),'apiKeyTooShort':_0x51a4e3(0x142),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x51a4e3(0x1c9),'connecting':_0x51a4e3(0x126),'connected':_0x51a4e3(0x172),'failed':'Connection\x20Failed','retrying':_0x51a4e3(0x19d)},'connectionError':{'missingApiKey':_0x51a4e3(0x16a),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x51a4e3(0x284),'networkError':_0x51a4e3(0x266),'maxRetriesExceeded':_0x51a4e3(0x107)}}},_0x28fb4d={'mcpStatus':{'disconnected':_0x51a4e3(0x15e),'connecting':_0x51a4e3(0x283),'connected':_0x51a4e3(0x179),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','missingApiKey':_0x51a4e3(0x16f),'invalidApiKey':_0x51a4e3(0x1fe),'sessionOccupied':_0x51a4e3(0x203),'networkError':_0x51a4e3(0x18e),'maxRetriesExceeded':_0x51a4e3(0x16b),'clickToConnect':_0x51a4e3(0x270),'clickToConfigure':_0x51a4e3(0x22e)},'mcpConfig':{'title':_0x51a4e3(0x221),'description':_0x51a4e3(0x13b),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x51a4e3(0x1c8),'apiKeyHint':_0x51a4e3(0x122),'enableAuth':_0x51a4e3(0x151),'enableAuthHint':_0x51a4e3(0x125),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x51a4e3(0x295),'configInstructions':_0x51a4e3(0x117),'configStepTitle':_0x51a4e3(0x178),'configStep1':_0x51a4e3(0x1b4),'configStep2':_0x51a4e3(0x1d6),'configStep3':_0x51a4e3(0x24c),'sessionId':'会话ID','sessionIdDescription':_0x51a4e3(0x280),'authorizationDescription':_0x51a4e3(0x1e3),'configParameters':_0x51a4e3(0x13f),'maxRetries':_0x51a4e3(0x22c),'save':'保存配置','saving':_0x51a4e3(0x130),'note1':_0x51a4e3(0x215),'note2':_0x51a4e3(0x241),'configSaved':_0x51a4e3(0x167),'configError':_0x51a4e3(0x109),'apiApplyInfo':{'title':_0x51a4e3(0x219),'description':_0x51a4e3(0x209),'univerAiLabel':_0x51a4e3(0x18d),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x51a4e3(0x28c),'apiKeyTooShort':_0x51a4e3(0x1cd),'invalidConfig':_0x51a4e3(0x1e7),'invalidApiKey':_0x51a4e3(0x160)},'connectionStatus':{'disconnected':_0x51a4e3(0x1f1),'connecting':_0x51a4e3(0x148),'connected':'已连接','failed':'连接失败','retrying':'重连中...'},'connectionError':{'missingApiKey':_0x51a4e3(0x1ed),'invalidApiKey':_0x51a4e3(0x1c1),'sessionOccupied':_0x51a4e3(0x24d),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x33e9c1=Object[_0x51a4e3(0x16d)],_0x561f44=Object[_0x51a4e3(0x223)],_0x6f482b=(_0x4af6ff,_0x2597e6,_0x1e2fbb)=>_0x2597e6 in _0x4af6ff?_0x33e9c1(_0x4af6ff,_0x2597e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e2fbb}):_0x4af6ff[_0x2597e6]=_0x1e2fbb,_0x395d74=(_0x1b43b0,_0x4b6473,_0x3f2422,_0x250565)=>{var _0x2f71bc=_0x51a4e3;for(var _0x2c8136=_0x250565>0x1?void 0x0:_0x250565?_0x561f44(_0x4b6473,_0x3f2422):_0x4b6473,_0xa8c2f0=_0x1b43b0[_0x2f71bc(0x1b8)]-0x1,_0xebc78a;_0xa8c2f0>=0x0;_0xa8c2f0--)(_0xebc78a=_0x1b43b0[_0xa8c2f0])&&(_0x2c8136=_0xebc78a(_0x2c8136)||_0x2c8136);return _0x2c8136;},_0x49ce7f=(_0x1ea77f,_0x178874)=>(_0x23d6df,_0x4e543c)=>_0x178874(_0x23d6df,_0x4e543c,_0x1ea77f),_0x570a31=(_0x7d5b0,_0x5738ac,_0x3ac933)=>_0x6f482b(_0x7d5b0,_0x5738ac+'',_0x3ac933);_0x19c1b6[_0x51a4e3(0x28d)]=class extends _0x56b324[_0x51a4e3(0x1bc)]{constructor(_0x1a84fe=_0x4091a5,_0x3048f6,_0x3b2391,_0x2bfa2a,_0x5777bf,_0x4d1361){var _0x268d68=_0x51a4e3;super(),this[_0x268d68(0x211)]=_0x1a84fe,this[_0x268d68(0x165)]=_0x3048f6,this['_configService']=_0x3b2391,this[_0x268d68(0x294)]=_0x2bfa2a,this[_0x268d68(0x21f)]=_0x5777bf,this[_0x268d68(0x137)]=_0x4d1361;const {..._0x41d7e9}=_0x56b324[_0x268d68(0x195)]({},_0x4091a5,this['_config']);this[_0x268d68(0x1af)][_0x268d68(0x139)](_0x412294,_0x41d7e9);}async[_0x51a4e3(0x250)](){var _0x2f6c96=_0x51a4e3;const _0x1ccc48=[[_0x19c1b6['MCPConnectionUIController']],[_0x19c1b6[_0x2f6c96(0x1a2)]],[_0x19c1b6[_0x2f6c96(0x22b)]]];this[_0x2f6c96(0x165)][_0x2f6c96(0x1d5)](_0x26e3a1[_0x2f6c96(0x2a2)])||_0x1ccc48['push']([_0x26e3a1['ISocketService'],{'useClass':_0x26e3a1[_0x2f6c96(0x11c)]}]),_0x1ccc48['forEach'](_0x2b9ded=>this['_injector'][_0x2f6c96(0x269)](_0x2b9ded)),this[_0x2f6c96(0x165)][_0x2f6c96(0x1e0)](_0x19c1b6[_0x2f6c96(0x255)]),this[_0x2f6c96(0x165)]['get'](_0x19c1b6[_0x2f6c96(0x1a2)]),this[_0x2f6c96(0x165)][_0x2f6c96(0x1e0)](_0x19c1b6[_0x2f6c96(0x22b)]);}},_0x570a31(_0x19c1b6['UniverMCPUIPlugin'],_0x51a4e3(0x202),_0x51a4e3(0x220)),_0x19c1b6[_0x51a4e3(0x28d)]=_0x395d74([_0x56b324['DependentOn'](_0x1bee0f[_0x51a4e3(0x1c6)]),_0x49ce7f(0x1,_0x56b324[_0x51a4e3(0x100)](_0x56b324['Injector'])),_0x49ce7f(0x2,_0x56b324['IConfigService']),_0x49ce7f(0x3,_0x4b1b46['IUIPartsService']),_0x49ce7f(0x4,_0x56b324['ILocalStorageService']),_0x49ce7f(0x5,_0x56b324['Inject'](_0x56b324[_0x51a4e3(0x1c7)]))],_0x19c1b6[_0x51a4e3(0x28d)]),_0x19c1b6[_0x51a4e3(0x271)]=_0x503e61,_0x19c1b6['MCPStatusDisplay']=_0xe8bf5d,_0x19c1b6[_0x51a4e3(0x14d)]=_0x30ffe3,_0x19c1b6[_0x51a4e3(0x1fc)]=_0x587e1d,_0x19c1b6[_0x51a4e3(0x217)]=_0x28fb4d,Object[_0x51a4e3(0x16d)](_0x19c1b6,Symbol['toStringTag'],{'value':_0x51a4e3(0x147)});}));
|
|
1
|
+
(function(_0x3c8bf6,_0x273bff){var _0x5dbb52=_0x5ccc,_0x42168b=_0x3c8bf6();while(!![]){try{var _0x53dcc4=-parseInt(_0x5dbb52(0x171))/0x1+-parseInt(_0x5dbb52(0x195))/0x2*(parseInt(_0x5dbb52(0x1dd))/0x3)+-parseInt(_0x5dbb52(0x26b))/0x4*(parseInt(_0x5dbb52(0x1fe))/0x5)+-parseInt(_0x5dbb52(0x210))/0x6+parseInt(_0x5dbb52(0x28b))/0x7*(parseInt(_0x5dbb52(0x294))/0x8)+parseInt(_0x5dbb52(0x226))/0x9*(-parseInt(_0x5dbb52(0x177))/0xa)+parseInt(_0x5dbb52(0x1b5))/0xb*(parseInt(_0x5dbb52(0x180))/0xc);if(_0x53dcc4===_0x273bff)break;else _0x42168b['push'](_0x42168b['shift']());}catch(_0x40ca90){_0x42168b['push'](_0x42168b['shift']());}}}(_0x2e4b,0x199d5),function(_0xdb8102,_0x40176c){var _0x4aef10=_0x5ccc;typeof exports==_0x4aef10(0x131)&&typeof module<'u'?_0x40176c(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x4aef10(0x1c7)&&define['amd']?define([_0x4aef10(0x1c9),_0x4aef10(0x20b),_0x4aef10(0x298),_0x4aef10(0x1c4),_0x4aef10(0x26d),_0x4aef10(0x238),_0x4aef10(0x17a),'react','@univerjs/network'],_0x40176c):(_0xdb8102=typeof globalThis<'u'?globalThis:_0xdb8102||self,_0x40176c(_0xdb8102[_0x4aef10(0x143)]={},_0xdb8102[_0x4aef10(0x1a6)],_0xdb8102[_0x4aef10(0x148)],_0xdb8102[_0x4aef10(0x1e4)],_0xdb8102[_0x4aef10(0x1cd)],_0xdb8102[_0x4aef10(0x183)],_0xdb8102[_0x4aef10(0x17a)],_0xdb8102[_0x4aef10(0x148)],_0xdb8102[_0x4aef10(0x2a6)]));}(this,function(_0x518031,_0x3f84a5,_0x289f40,_0x4c4717,_0x4227c9,_0x11cae8,_0x25378d,_0x2587e9,_0x31e8d0){'use strict';var _0x593286=_0x5ccc;var _0x59c78c=Object[_0x593286(0x1ec)],_0x584afc=(_0x4bd314,_0x52fc54,_0x20c284)=>_0x52fc54 in _0x4bd314?_0x59c78c(_0x4bd314,_0x52fc54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20c284}):_0x4bd314[_0x52fc54]=_0x20c284,_0x1f2f2e=(_0x38ec3a,_0x5ac8cf,_0x2eb834)=>_0x584afc(_0x38ec3a,typeof _0x5ac8cf!=_0x593286(0x23b)?_0x5ac8cf+'':_0x5ac8cf,_0x2eb834),_0x1469d4=function(){return _0x1469d4=Object['assign']||function(_0x2652fb){var _0xe3bbd0=_0x5ccc;for(var _0x15c53a,_0x3fa35c=0x1,_0x5ed723=arguments['length'];_0x3fa35c<_0x5ed723;_0x3fa35c++){_0x15c53a=arguments[_0x3fa35c];for(var _0x1761f4 in _0x15c53a)Object[_0xe3bbd0(0x15a)][_0xe3bbd0(0x133)][_0xe3bbd0(0x173)](_0x15c53a,_0x1761f4)&&(_0x2652fb[_0x1761f4]=_0x15c53a[_0x1761f4]);}return _0x2652fb;},_0x1469d4['apply'](this,arguments);},_0x3857a3=function(_0x5e38d7,_0x2b5637){var _0x5599fc=_0x593286,_0x2654e1={};for(var _0x40738c in _0x5e38d7)Object[_0x5599fc(0x15a)][_0x5599fc(0x133)][_0x5599fc(0x173)](_0x5e38d7,_0x40738c)&&_0x2b5637[_0x5599fc(0x21d)](_0x40738c)<0x0&&(_0x2654e1[_0x40738c]=_0x5e38d7[_0x40738c]);if(_0x5e38d7!=null&&typeof Object[_0x5599fc(0x285)]==_0x5599fc(0x1c7)){for(var _0x211dcf=0x0,_0x40738c=Object[_0x5599fc(0x285)](_0x5e38d7);_0x211dcf<_0x40738c[_0x5599fc(0x122)];_0x211dcf++)_0x2b5637[_0x5599fc(0x21d)](_0x40738c[_0x211dcf])<0x0&&Object[_0x5599fc(0x15a)][_0x5599fc(0x142)][_0x5599fc(0x173)](_0x5e38d7,_0x40738c[_0x211dcf])&&(_0x2654e1[_0x40738c[_0x211dcf]]=_0x5e38d7[_0x40738c[_0x211dcf]]);}return _0x2654e1;},_0x12cb58=_0x2587e9['forwardRef'](function(_0x208d23,_0x51dfcc){var _0x52c014=_0x593286,_0x4e5cf0=_0x208d23[_0x52c014(0x116)],_0x31d320=_0x208d23['id'],_0xb7a221=_0x208d23[_0x52c014(0x282)],_0x511384=_0x208d23[_0x52c014(0x269)],_0xb17028=_0x3857a3(_0x208d23,[_0x52c014(0x116),'id',_0x52c014(0x282),_0x52c014(0x269)]),_0x4ab3f1=_0x52c014(0x1ab)[_0x52c014(0x26f)](_0x31d320,'\x20')[_0x52c014(0x26f)](_0xb7a221||'')['trim'](),_0x59eff5=_0x2587e9[_0x52c014(0x24b)]('_'[_0x52c014(0x26f)](_0x4c96ca()));return _0x24452b(_0x4e5cf0,''[_0x52c014(0x26f)](_0x31d320),{'defIds':_0x4e5cf0[_0x52c014(0x127)],'idSuffix':_0x59eff5['current']},_0x1469d4({'ref':_0x51dfcc,'className':_0x4ab3f1},_0xb17028),_0x511384);});function _0x24452b(_0x2deb24,_0x20ec23,_0x490588,_0x1885c4,_0x5113da){var _0x36bf79=_0x593286;return _0x2587e9[_0x36bf79(0x139)](_0x2deb24['tag'],_0x1469d4(_0x1469d4({'key':_0x20ec23},_0x444a48(_0x2deb24,_0x490588,_0x5113da)),_0x1885c4),(_0x46bf9c(_0x2deb24,_0x490588)[_0x36bf79(0x22e)]||[])[_0x36bf79(0x27e)](function(_0x131d04,_0x3ef9b9){var _0x156098=_0x36bf79;return _0x24452b(_0x131d04,''[_0x156098(0x26f)](_0x20ec23,'-')['concat'](_0x2deb24[_0x156098(0x152)],'-')[_0x156098(0x26f)](_0x3ef9b9),_0x490588,void 0x0,_0x5113da);}));}function _0x444a48(_0x4f6e68,_0x25113d,_0x1ce8e3){var _0x3dadc3=_0x593286,_0x2a1143=_0x1469d4({},_0x4f6e68[_0x3dadc3(0x119)]);_0x1ce8e3!=null&&_0x1ce8e3[_0x3dadc3(0x1c3)]&&_0x2a1143['fill']===_0x3dadc3(0x1c3)&&(_0x2a1143['fill']=_0x1ce8e3[_0x3dadc3(0x1c3)]),_0x4f6e68[_0x3dadc3(0x152)]==='mask'&&_0x2a1143['id']&&(_0x2a1143['id']=_0x2a1143['id']+_0x25113d['idSuffix']),Object['entries'](_0x2a1143)[_0x3dadc3(0x253)](function(_0xf0899c){var _0x28910f=_0x3dadc3,_0x294db9=_0xf0899c[0x0],_0x542590=_0xf0899c[0x1];_0x294db9===_0x28910f(0x293)&&typeof _0x542590=='string'&&(_0x2a1143[_0x294db9]=_0x542590['replace'](/url\(#(.*)\)/,'url(#$1'[_0x28910f(0x26f)](_0x25113d[_0x28910f(0x1a1)],')')));});var _0x24f808=_0x25113d['defIds'];return!_0x24f808||_0x24f808[_0x3dadc3(0x122)]===0x0||(_0x4f6e68[_0x3dadc3(0x152)]===_0x3dadc3(0x1b6)&&_0x2a1143['xlink:href']&&(_0x2a1143['xlink:href']=_0x2a1143['xlink:href']+_0x25113d[_0x3dadc3(0x1a1)]),Object['entries'](_0x2a1143)[_0x3dadc3(0x253)](function(_0x4debe2){var _0x47a9b7=_0x3dadc3,_0x460c12=_0x4debe2[0x0],_0x30a150=_0x4debe2[0x1];typeof _0x30a150==_0x47a9b7(0x161)&&(_0x2a1143[_0x460c12]=_0x30a150[_0x47a9b7(0x134)](/url\(#(.*)\)/,_0x47a9b7(0x1c1)[_0x47a9b7(0x26f)](_0x25113d[_0x47a9b7(0x1a1)],')')));})),_0x2a1143;}function _0x46bf9c(_0x4ecfea,_0x88076d){var _0x3b02ec=_0x593286,_0x2670c5,_0x36e722=_0x88076d[_0x3b02ec(0x127)];return!_0x36e722||_0x36e722[_0x3b02ec(0x122)]===0x0?_0x4ecfea:_0x4ecfea[_0x3b02ec(0x152)]===_0x3b02ec(0x1a4)&&(!((_0x2670c5=_0x4ecfea[_0x3b02ec(0x22e)])===null||_0x2670c5===void 0x0)&&_0x2670c5['length'])?_0x1469d4(_0x1469d4({},_0x4ecfea),{'children':_0x4ecfea['children'][_0x3b02ec(0x27e)](function(_0x1d5cc3){var _0x3231e1=_0x3b02ec;return typeof _0x1d5cc3[_0x3231e1(0x119)]['id']==_0x3231e1(0x161)&&_0x36e722&&_0x36e722[_0x3231e1(0x15c)](_0x1d5cc3[_0x3231e1(0x119)]['id'])?_0x1469d4(_0x1469d4({},_0x1d5cc3),{'attrs':_0x1469d4(_0x1469d4({},_0x1d5cc3[_0x3231e1(0x119)]),{'id':_0x1d5cc3[_0x3231e1(0x119)]['id']+_0x88076d['idSuffix']})}):_0x1d5cc3;})}):_0x4ecfea;}function _0x4c96ca(){var _0x1700a9=_0x593286;return Math['random']()[_0x1700a9(0x296)](0x24)['substring'](0x2,0x8);}_0x12cb58[_0x593286(0x16d)]=_0x593286(0x277);var _0x1cb28f={'tag':'svg','attrs':{'xmlns':_0x593286(0x256),'fill':'none','viewBox':_0x593286(0x1f4),'width':'1em','height':_0x593286(0x1ba)},'children':[{'tag':_0x593286(0x251),'attrs':{'fill':_0x593286(0x158),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':_0x593286(0x204),'clipRule':'evenodd'}}]},_0x5c7d98=_0x2587e9[_0x593286(0x20d)](function(_0x3f8f48,_0x5d68e6){var _0x2c23d8=_0x593286;return _0x2587e9[_0x2c23d8(0x139)](_0x12cb58,Object[_0x2c23d8(0x299)]({},_0x3f8f48,{'id':_0x2c23d8(0x1b8),'ref':_0x5d68e6,'icon':_0x1cb28f}));});_0x5c7d98[_0x593286(0x16d)]='CheckMarkIcon';var _0x19243b={'tag':_0x593286(0x138),'attrs':{'xmlns':_0x593286(0x256),'fill':_0x593286(0x1ea),'viewBox':_0x593286(0x279),'width':'1em','height':_0x593286(0x1ba)},'children':[{'tag':'path','attrs':{'stroke':_0x593286(0x158),'d':_0x593286(0x292),'strokeLinecap':'round','strokeLinejoin':_0x593286(0x257),'strokeWidth':1.33}},{'tag':_0x593286(0x251),'attrs':{'stroke':_0x593286(0x158),'d':_0x593286(0x155),'strokeLinecap':'round','strokeLinejoin':_0x593286(0x257),'strokeWidth':1.33}}]},_0x4cf182=_0x2587e9[_0x593286(0x20d)](function(_0x2713f2,_0x3a528f){var _0x2233bd=_0x593286;return _0x2587e9[_0x2233bd(0x139)](_0x12cb58,Object['assign']({},_0x2713f2,{'id':_0x2233bd(0x1bf),'ref':_0x3a528f,'icon':_0x19243b}));});_0x4cf182['displayName']=_0x593286(0x27d);var _0x1a22d1={'tag':_0x593286(0x138),'attrs':{'xmlns':_0x593286(0x256),'fill':_0x593286(0x1ea),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x593286(0x251),'attrs':{'fill':_0x593286(0x158),'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':_0x593286(0x251),'attrs':{'fill':_0x593286(0x158),'d':_0x593286(0x17f)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x593286(0x25b),'fillRule':_0x593286(0x204),'clipRule':_0x593286(0x204)}}]},_0x24e3b0=_0x2587e9[_0x593286(0x20d)](function(_0xa3fe9c,_0x3648a7){var _0x1ae367=_0x593286;return _0x2587e9[_0x1ae367(0x139)](_0x12cb58,Object[_0x1ae367(0x299)]({},_0xa3fe9c,{'id':_0x1ae367(0x164),'ref':_0x3648a7,'icon':_0x1a22d1}));});_0x24e3b0[_0x593286(0x16d)]='HelpSingle';var _0x56d979={'tag':_0x593286(0x138),'attrs':{'xmlns':_0x593286(0x256),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x593286(0x1ba),'height':_0x593286(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':_0x593286(0x198)},'children':[{'tag':_0x593286(0x251),'attrs':{'stroke':_0x593286(0x158),'d':_0x593286(0x162),'strokeLinecap':_0x593286(0x257),'strokeLinejoin':_0x593286(0x257),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x593286(0x251),'attrs':{'fill':_0x593286(0x145),'d':_0x593286(0x124)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3b1293=_0x2587e9[_0x593286(0x20d)](function(_0x7b7cc3,_0x28bc9a){var _0x39d74c=_0x593286;return _0x2587e9[_0x39d74c(0x139)](_0x12cb58,Object[_0x39d74c(0x299)]({},_0x7b7cc3,{'id':'off-line-icon','ref':_0x28bc9a,'icon':_0x56d979}));});_0x3b1293['displayName']='OffLineIcon';var _0x38daad={'tag':_0x593286(0x138),'attrs':{'xmlns':_0x593286(0x256),'fill':_0x593286(0x1ea),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x593286(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x593286(0x251),'attrs':{'stroke':'currentColor','d':_0x593286(0x19d),'strokeLinecap':_0x593286(0x257),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x593286(0x1a4),'attrs':{},'children':[{'tag':_0x593286(0x1be),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x593286(0x145),'d':_0x593286(0x124),'transform':'translate(.97)'}}]}]}],'defIds':[_0x593286(0x252)]},_0x1d81b1=_0x2587e9['forwardRef'](function(_0x405668,_0x23d74e){var _0x6fb096=_0x593286;return _0x2587e9[_0x6fb096(0x139)](_0x12cb58,Object['assign']({},_0x405668,{'id':_0x6fb096(0x213),'ref':_0x23d74e,'icon':_0x38daad}));});_0x1d81b1[_0x593286(0x16d)]=_0x593286(0x20f);function _0x1d2c84(_0x3ab4e0){var _0x2de9d3=_0x593286,_0x452dcc,_0x470708;const {mcpCoreConfig:_0x51c571,onSave:_0x9579e5,loading:_0x3d8b52=!0x1,config:_0x39da82,connectionStatus$:_0x2dd9c9,connectionError$:_0x1532f4,currentApiKey$:_0x474a1b,currentSessionId$:_0xd745b3}=_0x3ab4e0,_0x1fbddb=_0x11cae8[_0x2de9d3(0x222)](_0x3f84a5[_0x2de9d3(0x126)]),_0x12595a=_0x11cae8['useObservable'](_0x2dd9c9,_0x4c4717[_0x2de9d3(0x26a)][_0x2de9d3(0x160)]),_0x43d21d=_0x11cae8[_0x2de9d3(0x271)](_0x1532f4,_0x4c4717['MCPConnectionError']['NONE']),_0x46e599=_0x11cae8[_0x2de9d3(0x271)](_0xd745b3,''),_0x4ffad1=_0x11cae8[_0x2de9d3(0x271)](_0x474a1b,''),[_0x234969,_0x5221ea]=_0x2587e9[_0x2de9d3(0x153)](_0x4ffad1||''),_0x2675f2=!0x0,_0x31a8b7=_0x39da82[_0x2de9d3(0x18e)]&&_0x51c571['mcpServerUrl']&&(_0x51c571[_0x2de9d3(0x234)]['includes'](_0x2de9d3(0x123))||_0x51c571[_0x2de9d3(0x234)][_0x2de9d3(0x15c)](_0x2de9d3(0x1db))),_0x5849c7=(_0x452dcc=_0x51c571[_0x2de9d3(0x234)])==null?void 0x0:_0x452dcc[_0x2de9d3(0x15c)](_0x2de9d3(0x123)),_0x30a800=(_0x470708=_0x51c571[_0x2de9d3(0x234)])==null?void 0x0:_0x470708[_0x2de9d3(0x15c)]('univer.ai'),_0x2bb266=_0x5849c7?_0x2de9d3(0x283):'https://console.univer.ai',_0x306c39=_0x39da82['showDeveloperTools']&&(_0x5849c7||_0x30a800),[_0x2fd82f,_0x5c12a8]=_0x2587e9[_0x2de9d3(0x153)](!_0x234969[_0x2de9d3(0x2a4)]()),_0x5c6ab5=(_0x3f9a30,_0x48ab9f)=>{var _0x74d6d8=_0x2de9d3;if(_0x48ab9f===_0x4c4717[_0x74d6d8(0x274)][_0x74d6d8(0x1fb)])return _0x74d6d8(0x200);switch(_0x3f9a30){case _0x4c4717['MCPConnectionStatus']['CONNECTED']:return _0x74d6d8(0x1ae);case _0x4c4717[_0x74d6d8(0x26a)][_0x74d6d8(0x146)]:case _0x4c4717[_0x74d6d8(0x26a)]['RETRYING']:return _0x74d6d8(0x13b);case _0x4c4717[_0x74d6d8(0x26a)][_0x74d6d8(0x2a1)]:return _0x74d6d8(0x200);default:return _0x74d6d8(0x227);}},_0x3c706b=(_0x46d6c0,_0xc0736e)=>{var _0x2b6269=_0x2de9d3;if(_0xc0736e===_0x4c4717[_0x2b6269(0x274)]['UNAUTHORIZED'])return _0x2b6269(0x297);switch(_0x46d6c0){case _0x4c4717[_0x2b6269(0x26a)][_0x2b6269(0x11d)]:return _0x2b6269(0x163);case _0x4c4717['MCPConnectionStatus'][_0x2b6269(0x146)]:case _0x4c4717[_0x2b6269(0x26a)][_0x2b6269(0x28d)]:return _0x2b6269(0x1b2);case _0x4c4717['MCPConnectionStatus'][_0x2b6269(0x2a1)]:return'univer-bg-red-500';default:return _0x2b6269(0x26e);}},_0x3a5a2b=_0x3b4af=>{var _0x325105=_0x2de9d3;switch(_0x3b4af){case _0x4c4717[_0x325105(0x26a)][_0x325105(0x11d)]:return _0x1fbddb['t']('mcpConfig.connectionStatus.connected');case _0x4c4717['MCPConnectionStatus'][_0x325105(0x146)]:return _0x1fbddb['t'](_0x325105(0x150));case _0x4c4717[_0x325105(0x26a)][_0x325105(0x2a1)]:return _0x1fbddb['t'](_0x325105(0x17d));case _0x4c4717[_0x325105(0x26a)]['RETRYING']:return _0x1fbddb['t'](_0x325105(0x149));default:return _0x1fbddb['t'](_0x325105(0x185));}},_0x5d0d96=_0x75ff65=>{var _0x3f1a17=_0x2de9d3;switch(_0x75ff65){case _0x4c4717[_0x3f1a17(0x274)][_0x3f1a17(0x1fb)]:return _0x1fbddb['t'](_0x3f1a17(0x13d));case _0x4c4717[_0x3f1a17(0x274)]['SESSION_ID_OCCUPIED']:return _0x1fbddb['t'](_0x3f1a17(0x23f));case _0x4c4717[_0x3f1a17(0x274)]['NETWORK_ERROR']:return _0x1fbddb['t'](_0x3f1a17(0x1cf));case _0x4c4717[_0x3f1a17(0x274)][_0x3f1a17(0x27f)]:return _0x1fbddb['t'](_0x3f1a17(0x249));default:return'';}},_0xc7c0d=_0x2587e9[_0x2de9d3(0x1dc)](()=>{var _0x6c2689=_0x2de9d3;const _0x1ab275={..._0x51c571,'apiKey':_0x234969[_0x6c2689(0x2a4)](),'enableAuth':_0x2675f2};_0x9579e5(_0x1ab275);},[_0x51c571,_0x234969,_0x2675f2,_0x9579e5]),_0x1cb9a7=_0x234969[_0x2de9d3(0x2a4)]()['length']>0x0;return _0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x1d2),'children':[_0x289f40['jsx'](_0x2de9d3(0x228),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x27b),'children':[_0x289f40['jsx']('div',{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x118),'children':'⚙'})}),_0x289f40['jsx']('div',{'children':_0x289f40[_0x2de9d3(0x120)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x1fbddb['t'](_0x2de9d3(0x29d))})})]})}),_0x289f40['jsxs'](_0x2de9d3(0x228),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x193)+_0x5c6ab5(_0x12595a,_0x43d21d)+_0x2de9d3(0x25d),'children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x289f40['jsx'](_0x2de9d3(0x228),{'className':_0x2de9d3(0x174)+_0x3c706b(_0x12595a,_0x43d21d)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':'univer-text-sm\x20univer-font-medium','children':_0x3a5a2b(_0x12595a)})]})}),_0x43d21d!==_0x4c4717[_0x2de9d3(0x274)][_0x2de9d3(0x147)]&&(_0x12595a===_0x4c4717[_0x2de9d3(0x26a)]['FAILED']||_0x43d21d===_0x4c4717[_0x2de9d3(0x274)][_0x2de9d3(0x1fb)])&&_0x289f40['jsx']('div',{'className':_0x2de9d3(0x2a2),'children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x265),'children':'⚠️'}),_0x289f40['jsx']('p',{'className':_0x2de9d3(0x24d),'children':_0x5d0d96(_0x43d21d)})]})})]}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x15d),'children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x11b),'children':[_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x230),'children':[_0x289f40['jsxs'](_0x2de9d3(0x26c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'children':'🔑'}),'\x20',_0x1fbddb['t'](_0x2de9d3(0x278)),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x1f3),'children':'*'}),_0x31a8b7&&_0x289f40[_0x2de9d3(0x120)]('a',{'href':'javascript:void(0)','onClick':()=>_0x5c12a8(!0x0),'className':_0x2de9d3(0x187),'title':_0x1fbddb['t'](_0x2de9d3(0x21a)),'children':_0x289f40[_0x2de9d3(0x120)](_0x24e3b0,{})})]}),_0x289f40['jsx'](_0x4227c9[_0x2de9d3(0x1ad)],{'type':'text','placeholder':_0x1fbddb['t'](_0x2de9d3(0x24a)),'value':_0x234969,'onChange':_0x5221ea,'disabled':_0x3d8b52,'autoComplete':_0x2de9d3(0x259)}),_0x289f40[_0x2de9d3(0x120)]('p',{'className':_0x2de9d3(0x168),'children':_0x1fbddb['t']('mcpConfig.apiKeyHint')})]}),_0x31a8b7&&_0x2fd82f&&_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'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':[_0x289f40['jsx']('a',{'href':_0x2de9d3(0x166),'onClick':()=>_0x5c12a8(!0x1),'className':_0x2de9d3(0x1d1),'title':_0x2de9d3(0x14e),'children':_0x289f40['jsx'](_0x4cf182,{})}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x221),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x1f1),'children':_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x201),'children':'🚀'})}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x21e),'children':[_0x289f40[_0x2de9d3(0x120)]('h4',{'className':_0x2de9d3(0x1ef),'children':_0x1fbddb['t'](_0x2de9d3(0x21a))}),_0x289f40[_0x2de9d3(0x120)]('p',{'className':_0x2de9d3(0x20e),'children':_0x1fbddb['t'](_0x2de9d3(0x236))}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x306c39&&_0x289f40[_0x2de9d3(0x216)]('a',{'href':_0x2bb266,'target':_0x2de9d3(0x19e),'rel':_0x2de9d3(0x21f),'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'children':'🤖'}),_0x1fbddb['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x289f40['jsx'](_0x2de9d3(0x20a),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x25e),'children':['✨','\x20',_0x1fbddb['t'](_0x2de9d3(0x129))]})]})]})]}),_0x39da82[_0x2de9d3(0x18e)]&&_0x289f40['jsxs'](_0x2de9d3(0x228),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x289f40[_0x2de9d3(0x216)]('h4',{'className':_0x2de9d3(0x258),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'children':'🔗'}),'\x20',_0x1fbddb['t'](_0x2de9d3(0x16b))]}),_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x224),'children':[_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x21b),'children':[_0x289f40[_0x2de9d3(0x120)]('p',{'className':_0x2de9d3(0x1d9),'children':_0x1fbddb['t']('mcpConfig.configInstructions')}),_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x230),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x28c),'children':_0x1fbddb['t'](_0x2de9d3(0x248))}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x1cb),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x2a3),'children':'1'}),_0x1fbddb['t'](_0x2de9d3(0x1e1))]}),_0x289f40['jsxs']('div',{'className':_0x2de9d3(0x1cb),'children':[_0x289f40[_0x2de9d3(0x120)]('span',{'className':_0x2de9d3(0x2a3),'children':'2'}),_0x1fbddb['t']('mcpConfig.configStep2')]}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x2a3),'children':'3'}),_0x1fbddb['t'](_0x2de9d3(0x1ff))]})]})]})]}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x230),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x28c),'children':_0x2de9d3(0x276)}),_0x289f40[_0x2de9d3(0x120)]('div',{'className':_0x2de9d3(0x1a0),'children':_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x291),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':_0x2de9d3(0x237)+_0x46e599+_0x2de9d3(0x245)+(_0x234969||_0x2de9d3(0x24e))+_0x2de9d3(0x1f6)})})]}),_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x21b),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x28c),'children':_0x1fbddb['t'](_0x2de9d3(0x1da))}),_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x230),'children':[_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x154),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x188)}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x176),'children':[_0x289f40['jsx']('div',{'className':_0x2de9d3(0x247),'children':'univer_session_id:'}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x168),'children':_0x1fbddb['t'](_0x2de9d3(0x1c6))})]})]}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x289f40['jsx'](_0x2de9d3(0x228),{'className':_0x2de9d3(0x188)}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x176),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x247),'children':_0x2de9d3(0x242)}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x168),'children':_0x1fbddb['t'](_0x2de9d3(0x1e8))})]})]})]})]})]})]}),_0x289f40[_0x2de9d3(0x120)](_0x4227c9[_0x2de9d3(0x250)],{'onClick':_0xc7c0d,'disabled':!_0x1cb9a7||_0x3d8b52,'className':_0x2de9d3(0x262),'children':_0x3d8b52?_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x20a),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x289f40[_0x2de9d3(0x120)]('span',{'children':'⟲'}),_0x1fbddb['t'](_0x2de9d3(0x1a8))]}):_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x20a),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x289f40[_0x2de9d3(0x120)](_0x5c7d98,{}),_0x1fbddb['t'](_0x2de9d3(0x240))]})}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x203),'children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x23a),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x25f),'children':'💡'}),_0x289f40['jsxs']('div',{'className':_0x2de9d3(0x15b),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x1df),'children':_0x2de9d3(0x14a)}),_0x289f40['jsxs'](_0x2de9d3(0x228),{'children':['•',_0x1fbddb['t'](_0x2de9d3(0x246))]}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'children':['•',_0x1fbddb['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x8332a3=_0x593286(0x1fc),_0x5208c7={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x228a02=Object[_0x593286(0x1d5)],_0x4b0074=(_0x30f49c,_0x5b3aaa,_0x1a71c3,_0x56dfe2)=>{var _0x152778=_0x593286;for(var _0x1cbdd5=_0x56dfe2>0x1?void 0x0:_0x56dfe2?_0x228a02(_0x5b3aaa,_0x1a71c3):_0x5b3aaa,_0x293500=_0x30f49c[_0x152778(0x122)]-0x1,_0x4d2375;_0x293500>=0x0;_0x293500--)(_0x4d2375=_0x30f49c[_0x293500])&&(_0x1cbdd5=_0x4d2375(_0x1cbdd5)||_0x1cbdd5);return _0x1cbdd5;},_0xfdf710=(_0x430191,_0x5d21d1)=>(_0x2617c3,_0x1a113e)=>_0x5d21d1(_0x2617c3,_0x1a113e,_0x430191);const _0x2b6673='mcp.apiKey',_0x56cb49=_0x593286(0x1f8);_0x518031[_0x593286(0x270)]=class extends _0x3f84a5[_0x593286(0x16e)]{constructor(_0x2b8483,_0x36adc9,_0x3fc261,_0x435947,_0x4f0782,_0xb16fd0,_0x1cb32d,_0x2c2308,_0x5c3b5e,_0x283baa){var _0x3e5e0b=_0x593286;super(),_0x1f2f2e(this,_0x3e5e0b(0x1d4),new _0x25378d[(_0x3e5e0b(0x214))](!0x1)),_0x1f2f2e(this,_0x3e5e0b(0x22d),new _0x25378d[(_0x3e5e0b(0x214))]({})),_0x1f2f2e(this,_0x3e5e0b(0x136),new _0x25378d[(_0x3e5e0b(0x214))]({})),_0x1f2f2e(this,'_apiKey$',new _0x25378d[(_0x3e5e0b(0x214))]('')),_0x1f2f2e(this,'_handleConfigSave',async _0x23a5cc=>{var _0x2e5321=_0x3e5e0b,_0x5316a1,_0x50b0f6;this[_0x2e5321(0x1d4)][_0x2e5321(0x233)](!0x0);try{const _0x21249e=await this[_0x2e5321(0x2a0)](_0x23a5cc);if(!_0x21249e[_0x2e5321(0x1cc)]){this[_0x2e5321(0x217)]['show']({'type':_0x4227c9[_0x2e5321(0x13c)]['Error'],'content':_0x21249e[_0x2e5321(0x1b9)]||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x23a5cc['apiKey']?await this[_0x2e5321(0x14f)]['setItem'](_0x2b6673,_0x23a5cc[_0x2e5321(0x2a7)][_0x2e5321(0x2a4)]()):await this[_0x2e5321(0x14f)][_0x2e5321(0x1af)](_0x2b6673),this[_0x2e5321(0x241)][_0x2e5321(0x233)](((_0x5316a1=_0x23a5cc[_0x2e5321(0x2a7)])==null?void 0x0:_0x5316a1[_0x2e5321(0x2a4)]())||''),this['_mcpConnectionController'][_0x2e5321(0x184)]({'Authorization':_0x2e5321(0x12c)+((_0x50b0f6=_0x23a5cc[_0x2e5321(0x2a7)])==null?void 0x0:_0x50b0f6[_0x2e5321(0x2a4)]())}),this[_0x2e5321(0x217)][_0x2e5321(0x1bd)]({'type':_0x4227c9[_0x2e5321(0x13c)][_0x2e5321(0x11a)],'content':this[_0x2e5321(0x18d)]['t'](_0x2e5321(0x165))}),setTimeout(()=>{var _0x29ae5f=_0x2e5321;this[_0x29ae5f(0x1e5)][_0x29ae5f(0x27a)](_0x56cb49);},0x320);}catch(_0x13b803){this[_0x2e5321(0x27c)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x13b803),this[_0x2e5321(0x217)][_0x2e5321(0x1bd)]({'type':_0x4227c9[_0x2e5321(0x13c)]['Error'],'content':this[_0x2e5321(0x18d)]['t'](_0x2e5321(0x14d))});}finally{this['_loading$'][_0x2e5321(0x233)](!0x1);}}),(this[_0x3e5e0b(0x196)]=_0x2b8483,this[_0x3e5e0b(0x12d)]=_0x36adc9,this[_0x3e5e0b(0x261)]=_0x3fc261,this['_localStorageService']=_0x435947,this[_0x3e5e0b(0x1e5)]=_0x4f0782,this['_messageService']=_0xb16fd0,this[_0x3e5e0b(0x15e)]=_0x1cb32d,this[_0x3e5e0b(0x18d)]=_0x2c2308,this['_logService']=_0x5c3b5e,this[_0x3e5e0b(0x208)]=_0x283baa,this['_initConfigSync'](),this[_0x3e5e0b(0x223)](),this[_0x3e5e0b(0x1c2)]());}[_0x593286(0x17c)](){var _0x16a9e1=_0x593286;const _0x5c3d60=this['_configService'][_0x16a9e1(0x273)](_0x8332a3);_0x5c3d60!=null&&_0x5c3d60[_0x16a9e1(0x18e)]&&this[_0x16a9e1(0x1e5)]['open']({'id':_0x56cb49,'title':{'title':this[_0x16a9e1(0x18d)]['t'](_0x16a9e1(0x135))},'children':{'label':_0x16a9e1(0x175)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x234a94=_0x16a9e1;this['_dialogService'][_0x234a94(0x27a)](_0x56cb49);}});}[_0x593286(0x219)](){var _0x538966=_0x593286;return this[_0x538966(0x22d)][_0x538966(0x151)];}['_registerComponent'](){var _0x4d6543=_0x593286;this['disposeWithMe'](this[_0x4d6543(0x15e)][_0x4d6543(0x1de)](_0x4d6543(0x175),this[_0x4d6543(0x1fa)]()));}[_0x593286(0x1fa)](){var _0x3a9f4d=_0x593286;return _0x11cae8[_0x3a9f4d(0x1eb)](()=>{var _0x36385f=_0x3a9f4d,_0x5cffee,_0x492426,_0x4fc8bd;return _0x289f40[_0x36385f(0x120)](_0x1d2c84,{'config':this[_0x36385f(0x136)]['value'],'mcpCoreConfig':this[_0x36385f(0x22d)][_0x36385f(0x151)],'currentApiKey$':this['_apiKey$'],'onSave':this['_handleConfigSave'],'loading':this[_0x36385f(0x1d4)][_0x36385f(0x151)],'connectionStatus$':(_0x5cffee=this['_mcpConnectionController'])==null?void 0x0:_0x5cffee[_0x36385f(0x1b3)],'connectionError$':(_0x492426=this[_0x36385f(0x208)])==null?void 0x0:_0x492426[_0x36385f(0x1d6)],'currentSessionId$':(_0x4fc8bd=this[_0x36385f(0x208)])==null?void 0x0:_0x4fc8bd[_0x36385f(0x1f9)]});},this[_0x3a9f4d(0x196)]);}[_0x593286(0x114)](){var _0x120506=_0x593286;this[_0x120506(0x1a2)](this['_configService'][_0x120506(0x191)](_0x4c4717['MCP_PLUGIN_CONFIG_KEY'])[_0x120506(0x182)](_0xcfb57c=>{var _0x10ff43=_0x120506;this[_0x10ff43(0x22d)][_0x10ff43(0x233)](_0xcfb57c||{});}));const _0x45ac1b=this['_configService'][_0x120506(0x273)](_0x4c4717['MCP_PLUGIN_CONFIG_KEY']);this[_0x120506(0x22d)][_0x120506(0x233)](_0x45ac1b||{}),this[_0x120506(0x1a2)](this[_0x120506(0x261)][_0x120506(0x191)](_0x8332a3)['subscribe'](_0x4dde79=>{var _0x1c269e=_0x120506;this[_0x1c269e(0x136)]['next'](_0x4dde79||{});}));const _0x29fedf=this['_configService'][_0x120506(0x273)](_0x8332a3);this[_0x120506(0x136)][_0x120506(0x233)](_0x29fedf||{});}async['_loadStoredApiKey'](){var _0x562ce0=_0x593286;const _0x47f575=this[_0x562ce0(0x261)][_0x562ce0(0x273)](_0x8332a3);if(!(_0x47f575!=null&&_0x47f575[_0x562ce0(0x18e)]))return;const _0x33513c=await this[_0x562ce0(0x14f)][_0x562ce0(0x18b)](_0x2b6673);_0x33513c&&(this[_0x562ce0(0x208)][_0x562ce0(0x184)]({'Authorization':_0x562ce0(0x12c)+_0x33513c}),this['_apiKey$'][_0x562ce0(0x233)](_0x33513c));}async[_0x593286(0x2a0)](_0x44f530){var _0x53e201=_0x593286;if(!_0x44f530[_0x53e201(0x2a7)]||_0x44f530['apiKey'][_0x53e201(0x2a4)]()[_0x53e201(0x122)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x53e201(0x29c))};if(_0x44f530['apiKey'][_0x53e201(0x2a4)]()[_0x53e201(0x122)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x53e201(0x18d)]['t'](_0x53e201(0x22a))};try{const _0x3502a5=await this[_0x53e201(0x196)][_0x53e201(0x159)](_0x4c4717[_0x53e201(0x23d)])[_0x53e201(0x15f)](_0x44f530['apiKey']['trim']());return _0x3502a5[_0x53e201(0x1cc)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3502a5['error']||this[_0x53e201(0x18d)]['t'](_0x53e201(0x121))};}catch(_0x252f17){return console[_0x53e201(0x275)](_0x53e201(0x20c),_0x252f17),{'isValid':!0x0};}}},_0x518031['MCPConfigUIController']=_0x4b0074([_0xfdf710(0x0,_0x3f84a5[_0x593286(0x186)](_0x3f84a5['Injector'])),_0xfdf710(0x1,_0x11cae8[_0x593286(0x290)]),_0xfdf710(0x2,_0x3f84a5['IConfigService']),_0xfdf710(0x3,_0x3f84a5[_0x593286(0x1c5)]),_0xfdf710(0x4,_0x11cae8[_0x593286(0x225)]),_0xfdf710(0x5,_0x11cae8['IMessageService']),_0xfdf710(0x6,_0x3f84a5['Inject'](_0x11cae8[_0x593286(0x18c)])),_0xfdf710(0x7,_0x3f84a5['Inject'](_0x3f84a5[_0x593286(0x126)])),_0xfdf710(0x8,_0x3f84a5[_0x593286(0x287)]),_0xfdf710(0x9,_0x3f84a5[_0x593286(0x186)](_0x4c4717[_0x593286(0x23d)]))],_0x518031[_0x593286(0x270)]);const _0x5ac633={'id':_0x593286(0x24f),'type':_0x3f84a5['CommandType'][_0x593286(0x117)],'handler':async(_0x54b588,_0x3053b9)=>(_0x54b588[_0x593286(0x159)](_0x518031[_0x593286(0x270)])[_0x593286(0x17c)](),!0x0)};function _0x1975ff(_0x166daf,_0x2aef8d){var _0x11c6eb=_0x593286;switch(_0x166daf){case _0x4c4717['MCPConnectionStatus'][_0x11c6eb(0x160)]:return _0x11c6eb(0x1fd);case _0x4c4717[_0x11c6eb(0x26a)][_0x11c6eb(0x146)]:return'mcpStatus.connecting';case _0x4c4717['MCPConnectionStatus'][_0x11c6eb(0x11d)]:return _0x11c6eb(0x1e6);case _0x4c4717['MCPConnectionStatus'][_0x11c6eb(0x2a1)]:switch(_0x2aef8d){case _0x4c4717[_0x11c6eb(0x274)]['UNAUTHORIZED']:return _0x11c6eb(0x220);case _0x4c4717[_0x11c6eb(0x274)][_0x11c6eb(0x268)]:return _0x11c6eb(0x29f);case _0x4c4717['MCPConnectionError'][_0x11c6eb(0x239)]:return _0x11c6eb(0x28e);case _0x4c4717[_0x11c6eb(0x274)]['MAX_RETRIES_EXCEEDED']:return _0x11c6eb(0x132);default:return'mcpStatus.failed';}case _0x4c4717[_0x11c6eb(0x26a)]['RETRYING']:return _0x11c6eb(0x12f);default:return _0x11c6eb(0x179);}}function _0x117f88(_0x4a018a,_0x4f2f93,_0x257a5b,_0x19da47=!0x0){var _0x4eccf6=_0x593286;const _0x1e642b=_0x1975ff(_0x4a018a,_0x4f2f93),_0x4e02d0=_0x257a5b['t'](_0x1e642b);return _0x19da47?_0x4a018a===_0x4c4717[_0x4eccf6(0x26a)][_0x4eccf6(0x160)]&&_0x4f2f93===_0x4c4717[_0x4eccf6(0x274)][_0x4eccf6(0x1fb)]?_0x4e02d0+_0x4eccf6(0x231)+_0x257a5b['t'](_0x4eccf6(0x288)):_0x4a018a===_0x4c4717[_0x4eccf6(0x26a)][_0x4eccf6(0x11d)]?''+_0x4e02d0:_0x4a018a===_0x4c4717[_0x4eccf6(0x26a)][_0x4eccf6(0x160)]||_0x4a018a===_0x4c4717[_0x4eccf6(0x26a)][_0x4eccf6(0x2a1)]?_0x4e02d0+_0x4eccf6(0x231)+_0x257a5b['t'](_0x4eccf6(0x1a5)):_0x4e02d0:_0x4e02d0;}function _0x4d979c(_0x39729a){var _0x95504=_0x593286;switch(_0x39729a){case _0x4c4717['MCPConnectionStatus'][_0x95504(0x11d)]:return _0x95504(0x17b);case _0x4c4717[_0x95504(0x26a)][_0x95504(0x146)]:case _0x4c4717[_0x95504(0x26a)][_0x95504(0x28d)]:return _0x95504(0x1ce);case _0x4c4717[_0x95504(0x26a)][_0x95504(0x2a1)]:case _0x4c4717['MCPConnectionStatus'][_0x95504(0x160)]:return'univer-text-red-500';default:return _0x95504(0x125);}}function _0x490867(_0x3e3252){var _0x516a31=_0x593286;const {status$:_0x3ca7cd,error$:_0x3afd73,onConfigure:_0xd5cd22,showClickable:_0x28445b=!0x0}=_0x3e3252,_0x306e8f=_0x11cae8[_0x516a31(0x271)](_0x3ca7cd,_0x4c4717[_0x516a31(0x26a)][_0x516a31(0x160)]),_0x5d871a=_0x11cae8[_0x516a31(0x271)](_0x3afd73,_0x4c4717[_0x516a31(0x274)][_0x516a31(0x147)]),_0x479a44=_0x11cae8[_0x516a31(0x222)](_0x3f84a5[_0x516a31(0x126)]),_0x54c479=_0x306e8f===_0x4c4717[_0x516a31(0x26a)][_0x516a31(0x11d)];_0x306e8f===_0x4c4717[_0x516a31(0x26a)][_0x516a31(0x146)]||_0x4c4717[_0x516a31(0x26a)]['RETRYING'];const _0x4d3f72=_0x479a44['t'](_0x1975ff(_0x306e8f,_0x5d871a)),_0x478107=_0x117f88(_0x306e8f,_0x5d871a,_0x479a44,_0x28445b),_0x5c7097=_0x4d979c(_0x306e8f),_0x19a635=_0x54c479?_0x289f40[_0x516a31(0x120)](_0x1d81b1,{}):_0x289f40['jsx'](_0x3b1293,{}),_0x82b849=_0x2587e9[_0x516a31(0x1dc)](()=>{_0x28445b&&_0xd5cd22&&_0xd5cd22();},[_0x28445b,_0xd5cd22]);function _0x49bbbe(){var _0x3ca1e3=_0x516a31;return _0x289f40[_0x3ca1e3(0x216)]('div',{'className':_0x4227c9[_0x3ca1e3(0x29a)](_0x3ca1e3(0x202),_0x28445b&&_0xd5cd22&&_0x3ca1e3(0x286)),'onClick':_0x28445b&&_0xd5cd22?_0x82b849:void 0x0,'children':[_0x289f40[_0x3ca1e3(0x120)](_0x3ca1e3(0x228),{'className':_0x4227c9[_0x3ca1e3(0x29a)](_0x3ca1e3(0x1bc),_0x5c7097),'children':_0x19a635}),_0x289f40[_0x3ca1e3(0x120)](_0x3ca1e3(0x228),{'className':_0x3ca1e3(0x235),'children':_0x4d3f72})]});}return _0x289f40['jsx'](_0x4227c9[_0x516a31(0x1bb)],{'title':_0x478107,'placement':_0x516a31(0x1e3),'children':_0x49bbbe()});}var _0xf118c9=Object[_0x593286(0x1d5)],_0x1da1fd=(_0x205434,_0x282525,_0x20bbde,_0x304df1)=>{for(var _0x56ff61=_0x304df1>0x1?void 0x0:_0x304df1?_0xf118c9(_0x282525,_0x20bbde):_0x282525,_0x32d426=_0x205434['length']-0x1,_0x262540;_0x32d426>=0x0;_0x32d426--)(_0x262540=_0x205434[_0x32d426])&&(_0x56ff61=_0x262540(_0x56ff61)||_0x56ff61);return _0x56ff61;},_0x52b9ee=(_0x1db44b,_0x47506f)=>(_0x710a87,_0xea1e50)=>_0x47506f(_0x710a87,_0xea1e50,_0x1db44b);_0x518031[_0x593286(0x1c0)]=class extends _0x3f84a5[_0x593286(0x16e)]{constructor(_0x314b27,_0x17aa0e,_0x3f91aa,_0xb8f705){var _0x280906=_0x593286;super(),this[_0x280906(0x196)]=_0x314b27,this[_0x280906(0x22b)]=_0x17aa0e,this[_0x280906(0x12d)]=_0x3f91aa,this[_0x280906(0x261)]=_0xb8f705,this['_initAutoConnect'](),this[_0x280906(0x13e)]();}['_initAutoConnect'](){var _0x2e1c4f=_0x593286;const _0xa86c1a=this['_configService'][_0x2e1c4f(0x273)](_0x8332a3);_0xa86c1a!=null&&_0xa86c1a[_0x2e1c4f(0x18e)]&&(this[_0x2e1c4f(0x22b)]['enableAutoConnect']=!0x1);}[_0x593286(0x13e)](){var _0x1da998=_0x593286;const _0x328d1f=this[_0x1da998(0x261)][_0x1da998(0x273)](_0x8332a3);(_0x328d1f==null?void 0x0:_0x328d1f[_0x1da998(0x137)])!==!0x1&&this[_0x1da998(0x1a2)](this[_0x1da998(0x12d)][_0x1da998(0x2a5)](_0x11cae8[_0x1da998(0x1a7)][_0x1da998(0x1ee)],()=>{var _0x1b1a9e=_0x1da998,_0x3d75b0;return _0x11cae8[_0x1b1a9e(0x1eb)](_0x4a1a61({'status$':this[_0x1b1a9e(0x22b)]['connectionStatus$'],'error$':this[_0x1b1a9e(0x22b)]['connectionError$'],'onConfigure':()=>this[_0x1b1a9e(0x167)](),'showClickable':(_0x3d75b0=_0x328d1f==null?void 0x0:_0x328d1f[_0x1b1a9e(0x18e)])!=null?_0x3d75b0:!0x1}),this['_injector']);}));}['_handleConfigure'](){var _0x552015=_0x593286;this[_0x552015(0x196)]['get'](_0x518031['MCPConfigUIController'])[_0x552015(0x17c)]();}},_0x518031[_0x593286(0x1c0)]=_0x1da1fd([_0x52b9ee(0x0,_0x3f84a5['Inject'](_0x3f84a5['Injector'])),_0x52b9ee(0x1,_0x3f84a5[_0x593286(0x186)](_0x4c4717['MCPConnectionController'])),_0x52b9ee(0x2,_0x11cae8[_0x593286(0x290)]),_0x52b9ee(0x3,_0x3f84a5['IConfigService'])],_0x518031[_0x593286(0x1c0)]);function _0x4a1a61(_0x9edfeb){const {status$:_0x3f4e76,error$:_0x4c8c9f,onConfigure:_0x312eeb,showClickable:_0x1bec0b}=_0x9edfeb;return function(){var _0x2c50b4=_0x5ccc;return _0x289f40[_0x2c50b4(0x120)](_0x490867,{'status$':_0x3f4e76,'error$':_0x4c8c9f,'onConfigure':_0x312eeb,'showClickable':_0x1bec0b});};}function _0x469621(_0x1a9080){var _0x206d10=_0x593286;return{'id':_0x5ac633['id'],'type':_0x11cae8['MenuItemType'][_0x206d10(0x19a)],'icon':_0x206d10(0x1aa),'title':'mcpConfig.title','tooltip':_0x206d10(0x135)};}const _0x205c7f={[_0x11cae8[_0x593286(0x1d7)][_0x593286(0x16c)]]:{[_0x5ac633['id']]:{'order':0xa,'menuItemFactory':_0x469621}}};var _0x57f95e=Object[_0x593286(0x1d5)],_0xeffb3c=(_0x30a0e1,_0x159194,_0x227eb6,_0x511589)=>{for(var _0x35df62=_0x511589>0x1?void 0x0:_0x511589?_0x57f95e(_0x159194,_0x227eb6):_0x159194,_0x2c9495=_0x30a0e1['length']-0x1,_0xa99a8a;_0x2c9495>=0x0;_0x2c9495--)(_0xa99a8a=_0x30a0e1[_0x2c9495])&&(_0x35df62=_0xa99a8a(_0x35df62)||_0x35df62);return _0x35df62;},_0xb6fe85=(_0x5dfb31,_0x3b68ee)=>(_0x19efbd,_0x3a7d14)=>_0x3b68ee(_0x19efbd,_0x3a7d14,_0x5dfb31);_0x518031[_0x593286(0x260)]=class extends _0x3f84a5[_0x593286(0x16e)]{constructor(_0x1972d5,_0x4d95a8){var _0x4d2ffc=_0x593286;super(),this[_0x4d2ffc(0x14c)]=_0x1972d5,this[_0x4d2ffc(0x211)]=_0x4d95a8,this[_0x4d2ffc(0x18f)](),this[_0x4d2ffc(0x181)]();}['_initializeCommands'](){var _0x437f68=_0x593286;[_0x5ac633][_0x437f68(0x253)](_0x19356d=>{var _0x552d3a=_0x437f68;this['disposeWithMe'](this[_0x552d3a(0x14c)][_0x552d3a(0x1b1)](_0x19356d));});}['_initializeMenus'](){var _0x4dadee=_0x593286;this[_0x4dadee(0x211)][_0x4dadee(0x12a)](_0x205c7f);}},_0x518031[_0x593286(0x260)]=_0xeffb3c([_0xb6fe85(0x0,_0x3f84a5['ICommandService']),_0xb6fe85(0x1,_0x11cae8['IMenuManagerService'])],_0x518031[_0x593286(0x260)]);const _0x2f1b3c={'mcpStatus':{'disconnected':_0x593286(0x25a),'connecting':_0x593286(0x1f7),'connected':_0x593286(0x13f),'failed':'MCP\x20Connection\x20Failed','retrying':_0x593286(0x157),'unknown':_0x593286(0x1ed),'unauthorized':_0x593286(0x232),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x593286(0x1a3),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x593286(0x11c),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x593286(0x276),'description':_0x593286(0x207),'apiKey':_0x593286(0x23c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x593286(0x244),'enableAuth':_0x593286(0x1f2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x593286(0x190),'mcpClientConfig':_0x593286(0x190),'configInstructions':_0x593286(0x284),'configStepTitle':_0x593286(0x128),'configStep1':_0x593286(0x156),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x593286(0x254),'authorizationDescription':_0x593286(0x1e7),'configParameters':_0x593286(0x19b),'maxRetries':_0x593286(0x1b7),'save':_0x593286(0x289),'saving':_0x593286(0x229),'note1':_0x593286(0x169),'note2':_0x593286(0x29e),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x593286(0x1d3),'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':_0x593286(0x1d0),'getStarted':_0x593286(0x172)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x593286(0x25c),'invalidConfig':_0x593286(0x23e),'invalidApiKey':_0x593286(0x11f)},'connectionStatus':{'disconnected':_0x593286(0x209),'connecting':_0x593286(0x1b0),'connected':_0x593286(0x18a),'failed':_0x593286(0x215),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x593286(0x194),'sessionOccupied':_0x593286(0x19f),'networkError':_0x593286(0x1a9),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x5a066d={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x593286(0x267),'connected':'MCP\x20已连接','failed':_0x593286(0x1e9),'retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':_0x593286(0x192),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x593286(0x16a),'clickToConnect':_0x593286(0x189),'clickToConfigure':_0x593286(0x17e)},'mcpConfig':{'title':_0x593286(0x144),'description':_0x593286(0x24c),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x593286(0x29b),'apiKeyHint':_0x593286(0x113),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x593286(0x2a8),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x593286(0x14b),'configStepTitle':_0x593286(0x280),'configStep1':_0x593286(0x1ca),'configStep2':_0x593286(0x199),'configStep3':_0x593286(0x1c8),'sessionId':'会话ID','sessionIdDescription':_0x593286(0x21c),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x593286(0x1f0),'maxRetries':'最大重试次数','save':_0x593286(0x266),'saving':_0x593286(0x13a),'note1':_0x593286(0x1d8),'note2':_0x593286(0x1e0),'configSaved':_0x593286(0x19c),'configError':_0x593286(0x115),'apiApplyInfo':{'title':_0x593286(0x141),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x593286(0x264),'getStarted':_0x593286(0x28f)},'validation':{'apiKeyRequired':_0x593286(0x130),'apiKeyTooShort':_0x593286(0x178),'invalidConfig':_0x593286(0x281),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x593286(0x1e2),'connected':_0x593286(0x28a),'failed':_0x593286(0x205),'retrying':_0x593286(0x1ac)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x593286(0x272),'networkError':_0x593286(0x263),'maxRetriesExceeded':_0x593286(0x12e)}}};var _0x1ce2a5=Object[_0x593286(0x1ec)],_0x40c130=Object[_0x593286(0x1d5)],_0x1d5bae=(_0x4aef9e,_0x2acc15,_0x59cdab)=>_0x2acc15 in _0x4aef9e?_0x1ce2a5(_0x4aef9e,_0x2acc15,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59cdab}):_0x4aef9e[_0x2acc15]=_0x59cdab,_0x3336d7=(_0x351ef8,_0x579684,_0x13262d,_0xd676f8)=>{var _0x4c4e62=_0x593286;for(var _0x5383a1=_0xd676f8>0x1?void 0x0:_0xd676f8?_0x40c130(_0x579684,_0x13262d):_0x579684,_0x5694aa=_0x351ef8[_0x4c4e62(0x122)]-0x1,_0x280bee;_0x5694aa>=0x0;_0x5694aa--)(_0x280bee=_0x351ef8[_0x5694aa])&&(_0x5383a1=_0x280bee(_0x5383a1)||_0x5383a1);return _0x5383a1;},_0x524a4d=(_0x272ef9,_0x49aaf4)=>(_0x485ab9,_0x454e9f)=>_0x49aaf4(_0x485ab9,_0x454e9f,_0x272ef9),_0x232a9e=(_0x530f62,_0x262310,_0x56b2c9)=>_0x1d5bae(_0x530f62,_0x262310+'',_0x56b2c9);_0x518031[_0x593286(0x197)]=class extends _0x3f84a5['Plugin']{constructor(_0x51836a=_0x5208c7,_0x4d17cb,_0x329495,_0x20a9e5,_0x3bbc76,_0x2ca56d){var _0x140170=_0x593286;super(),this['_config']=_0x51836a,this['_injector']=_0x4d17cb,this[_0x140170(0x261)]=_0x329495,this['_uiPartsService']=_0x20a9e5,this[_0x140170(0x14f)]=_0x3bbc76,this['_localeService']=_0x2ca56d;const {..._0x169abb}=_0x3f84a5[_0x140170(0x218)]({},_0x5208c7,this['_config']);this[_0x140170(0x261)][_0x140170(0x212)](_0x8332a3,_0x169abb);}async[_0x593286(0x22f)](){var _0x39ba48=_0x593286;const _0x3badc1=[[_0x518031[_0x39ba48(0x1c0)]],[_0x518031['MCPConfigUIController']],[_0x518031['MCPUIMenuController']]];this['_injector'][_0x39ba48(0x12b)](_0x31e8d0[_0x39ba48(0x16f)])||_0x3badc1[_0x39ba48(0x255)]([_0x31e8d0[_0x39ba48(0x16f)],{'useClass':_0x31e8d0[_0x39ba48(0x22c)]}]),_0x3badc1['forEach'](_0x212504=>this[_0x39ba48(0x196)][_0x39ba48(0x140)](_0x212504)),this[_0x39ba48(0x196)][_0x39ba48(0x159)](_0x518031[_0x39ba48(0x1c0)]),this['_injector'][_0x39ba48(0x159)](_0x518031['MCPConfigUIController']),this[_0x39ba48(0x196)][_0x39ba48(0x159)](_0x518031[_0x39ba48(0x260)]);}},_0x232a9e(_0x518031[_0x593286(0x197)],'pluginName','MCP_UI_PLUGIN'),_0x518031['UniverMCPUIPlugin']=_0x3336d7([_0x3f84a5[_0x593286(0x243)](_0x4c4717[_0x593286(0x295)]),_0x524a4d(0x1,_0x3f84a5[_0x593286(0x186)](_0x3f84a5[_0x593286(0x1b4)])),_0x524a4d(0x2,_0x3f84a5[_0x593286(0x11e)]),_0x524a4d(0x3,_0x11cae8['IUIPartsService']),_0x524a4d(0x4,_0x3f84a5[_0x593286(0x1c5)]),_0x524a4d(0x5,_0x3f84a5[_0x593286(0x186)](_0x3f84a5[_0x593286(0x126)]))],_0x518031['UniverMCPUIPlugin']),_0x518031[_0x593286(0x175)]=_0x1d2c84,_0x518031['MCPStatusDisplay']=_0x490867,_0x518031['OpenMCPConfigPanelCommand']=_0x5ac633,_0x518031[_0x593286(0x1f5)]=_0x2f1b3c,_0x518031[_0x593286(0x206)]=_0x5a066d,Object['defineProperty'](_0x518031,Symbol['toStringTag'],{'value':_0x593286(0x170)});}));function _0x5ccc(_0x9117b3,_0x5109bf){var _0x2e4ba6=_0x2e4b();return _0x5ccc=function(_0x5cccea,_0x4f6f27){_0x5cccea=_0x5cccea-0x113;var _0x2d2acf=_0x2e4ba6[_0x5cccea];return _0x2d2acf;},_0x5ccc(_0x9117b3,_0x5109bf);}function _0x2e4b(){var _0x2c8540=['_initStatusComponent','MCP\x20Connected','add','什么是\x20API\x20密钥?','propertyIsEnumerable','UniverProMcpUi','MCP\x20配置','white','CONNECTING','NONE','React','mcpConfig.connectionStatus.retrying','Configuration\x20Notes:','将以下配置添加到您的\x20MCP\x20客户端设置中:','_commandService','mcpConfig.configError','Close','_localStorageService','mcpConfig.connectionStatus.connecting','value','tag','useState','univer-flex\x20univer-items-start\x20univer-gap-3','M5.21243\x2012.287L11.8791\x205.62036','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Retrying...','currentColor','get','prototype','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','includes','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','_componentManager','validateApiKey','DISCONNECTED','string','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','univer-bg-green-500','help-single','mcpConfig.configSaved','javascript:void(0)','_handleConfigure','univer-text-xs\x20univer-text-gray-500','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20超出最大重试次数','mcpConfig.connectionInfo','OTHERS','displayName','Disposable','ISocketService','Module','10965ZDauxA','Get\x20your\x20API\x20key\x20in\x20seconds','call','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCPConfigPanel','univer-min-w-0\x20univer-flex-1','10ZbQlgL','API\x20密钥长度至少需要\x2010\x20位','mcpStatus.unknown','rxjs','univer-text-green-500','showConfigPanel','mcpConfig.connectionStatus.failed','点击配置\x20MCP','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','18996TnLBzX','_initializeMenus','subscribe','UniverUi','__setCustomHeaders','mcpConfig.connectionStatus.disconnected','Inject','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','点击连接\x20MCP','Connected','getItem','ComponentManager','_localeService','showDeveloperTools','_initializeCommands','MCP\x20Client\x20Configuration','subscribeConfigValue$','MCP:\x20未授权','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','205862VMzyyU','_injector','UniverMCPUIPlugin','url(#off-line-icon_clip0_910_343)','将配置添加到您的\x20MCP\x20客户端设置文件中','BUTTON','Configuration\x20Parameters:','配置保存成功','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','_blank','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','idSuffix','disposeWithMe','MCP:\x20Network\x20Error','defs','mcpStatus.clickToConnect','UniverCore','BuiltInUIPart','mcpConfig.saving','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MenuIcon','univerjs-icon\x20univerjs-icon-','重连中...','Input','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','removeItem','Connecting...','registerCommand','univer-bg-blue-500','connectionStatus$','Injector','2673YBPofm','use','Max\x20Retries','check-mark-icon','errorMessage','1em','Tooltip','univer-mr-2\x20univer-flex\x20univer-text-xl','show','clipPath','close-small-single','MCPConnectionUIController','url(#$1','_registerComponent','colorChannel1','@univerjs-pro/mcp','ILocalStorageService','mcpConfig.sessionIdDescription','function','重启您的\x20MCP\x20客户端以使配置生效','exports','复制以下\x20JSON\x20配置','univer-flex\x20univer-items-center\x20univer-gap-2','isValid','UniverDesign','univer-text-yellow-500','mcpConfig.connectionError.networkError','Univer\x20AI\x20Console','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','What\x20is\x20API\x20Key?','_loading$','getOwnPropertyDescriptor','connectionError$','RibbonStartGroup','配置更改将立即生效','univer-text-xs\x20univer-text-gray-600','mcpConfig.configParameters','univer.ai','useCallback','3tGIYjW','register','univer-font-medium','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.configStep1','连接中...','bottom','UniverProMcp','_dialogService','mcpStatus.connected','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.authorizationDescription','MCP\x20连接失败','none','connectInjector','defineProperty','MCP\x20Unknown\x20Status','HEADER_MENU','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','配置参数:','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','Enable\x20Authentication','univer-text-red-500','0\x200\x2016\x2016','enUS','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','MCP\x20Connecting...','mcp-config-dialog','sessionId$','_createConfigPanelComponent','UNAUTHORIZED','mcp-ui.config','mcpStatus.disconnected','125855zvnLNO','mcpConfig.configStep3','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-text-blue-600','univer-flex\x20univer-items-center','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','evenodd','连接失败','zhCN','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','_mcpConnectionController','Disconnected','span','@univerjs/core','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','forwardRef','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','OnLineIcon','1025646VzJmTN','_menuManagerService','setConfig','on-line-icon','BehaviorSubject','Connection\x20Failed','jsxs','_messageService','merge','getCurrentConfig','mcpConfig.apiApplyInfo.title','univer-space-y-3','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','indexOf','univer-flex-1','noopener\x20noreferrer','mcpStatus.unauthorized','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','useDependency','_loadStoredApiKey','univer-space-y-4','IDialogService','1497402LXgIwJ','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','div','Saving...','mcpConfig.validation.apiKeyTooShort','_connectionController','WebSocketService','_mcpCoreConfig$','children','onStarting','univer-space-y-2','\x20-\x20','MCP:\x20Unauthorized','next','mcpServerUrl','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.apiApplyInfo.description','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','@univerjs/ui','NETWORK_ERROR','univer-flex\x20univer-gap-3','symbol','API\x20Key','MCPConnectionController','Invalid\x20configuration','mcpConfig.connectionError.sessionOccupied','mcpConfig.save','_apiKey$','Authorization:','DependentOn','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','mcpConfig.note1','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.configStepTitle','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.apiKeyPlaceholder','useRef','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','<API_KEY>','mcp-ui.command.openConfigPanel','Button','path','on-line-icon_clip0_910_349','forEach','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','push','http://www.w3.org/2000/svg','round','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','off','MCP\x20Disconnected','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','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex-shrink-0\x20univer-text-blue-500','MCPUIMenuController','_configService','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','网络连接错误,请检查您的网络连接','Univer\x20AI\x20控制台','univer-flex-shrink-0\x20univer-text-red-500','保存配置','MCP\x20连接中...','SESSION_ID_OCCUPIED','extend','MCPConnectionStatus','4sFbZSA','label','@univerjs/design','univer-bg-gray-500','concat','MCPConfigUIController','useObservable','会话\x20ID\x20已被占用,请稍后再试','getConfig','MCPConnectionError','warn','MCP\x20Configuration','UniverIcon','mcpConfig.apiKey','0\x200\x2017\x2017','close','univer-flex\x20univer-items-center\x20univer-gap-3','_logService','CloseSmallSingle','map','MAX_RETRIES_EXCEEDED','配置步骤:','配置无效','className','https://console.univer.plus','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','getOwnPropertySymbols','\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','ILogService','mcpStatus.clickToConfigure','Save\x20Configuration','已连接','1376438IEALMn','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','RETRYING','mcpStatus.networkError','几秒钟内获取您的\x20API\x20密钥','IUIPartsService','pre','M5.21243\x205.62036L11.8791\x2012.287','mask','8PVgaFr','UniverMCPPlugin','toString','univer-bg-red-500','react/jsx-runtime','assign','clsx','请输入您的\x20API\x20密钥','mcpConfig.validation.apiKeyRequired','mcpConfig.description','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpStatus.sessionOccupied','_validateConfig','FAILED','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','trim','registerComponent','UniverNetwork','apiKey','MCP\x20客户端配置','您的\x20API\x20密钥将在此浏览器中本地存储','_initConfigSync','配置保存失败','icon','COMMAND','univer-text-white','attrs','Success','univer-space-y-5','Click\x20to\x20connect\x20MCP','CONNECTED','IConfigService','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','jsx','mcpConfig.validation.invalidApiKey','length','univer.plus','M0\x200H16V16H0z','univer-text-gray-500','LocaleService','defIds','Configuration\x20Steps:','mcpConfig.apiApplyInfo.getStarted','mergeMenu','has','Bearer\x20','_uiPartsService','超出最大重试次数,请稍后再试','mcpStatus.retrying','API\x20密钥不能为空','object','mcpStatus.maxRetriesExceeded','hasOwnProperty','replace','mcpConfig.title','_config$','showStatus','svg','createElement','保存中...','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','MessageType','mcpConfig.connectionError.unauthorized'];_0x2e4b=function(){return _0x2c8540;};return _0x2e4b();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x34f4(_0x1ed252,_0x54444c){var _0x5920a2=_0x5920();return _0x34f4=function(_0x34f490,_0x241ded){_0x34f490=_0x34f490-0x18f;var _0x4e642e=_0x5920a2[_0x34f490];return _0x4e642e;},_0x34f4(_0x1ed252,_0x54444c);}(function(_0x17a2f0,_0x5062fb){var _0x9721d7=_0x34f4,_0x163cd3=_0x17a2f0();while(!![]){try{var _0x5b4922=-parseInt(_0x9721d7(0x1ae))/0x1+-parseInt(_0x9721d7(0x1ba))/0x2+-parseInt(_0x9721d7(0x1be))/0x3*(-parseInt(_0x9721d7(0x1b1))/0x4)+parseInt(_0x9721d7(0x1b9))/0x5+-parseInt(_0x9721d7(0x1bf))/0x6*(parseInt(_0x9721d7(0x198))/0x7)+-parseInt(_0x9721d7(0x191))/0x8*(parseInt(_0x9721d7(0x19b))/0x9)+parseInt(_0x9721d7(0x1c3))/0xa;if(_0x5b4922===_0x5062fb)break;else _0x163cd3['push'](_0x163cd3['shift']());}catch(_0x1d4a4a){_0x163cd3['push'](_0x163cd3['shift']());}}}(_0x5920,0x73da6),function(_0x47f1ea,_0x3ee68f){var _0x4d7755=_0x34f4;typeof exports==_0x4d7755(0x197)&&typeof module<'u'?module[_0x4d7755(0x199)]=_0x3ee68f():typeof define==_0x4d7755(0x1b5)&&define[_0x4d7755(0x1a4)]?define(_0x3ee68f):(_0x47f1ea=typeof globalThis<'u'?globalThis:_0x47f1ea||self,_0x47f1ea[_0x4d7755(0x1b8)]=_0x3ee68f());}(this,function(){'use strict';var _0x2b46d1=_0x34f4;return{'mcpStatus':{'disconnected':_0x2b46d1(0x1bb),'connecting':_0x2b46d1(0x192),'connected':_0x2b46d1(0x1b3),'failed':_0x2b46d1(0x18f),'retrying':_0x2b46d1(0x1bd),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2b46d1(0x1b2),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2b46d1(0x1c5),'clickToConnect':_0x2b46d1(0x1ac),'clickToConfigure':_0x2b46d1(0x1c6)},'mcpConfig':{'title':_0x2b46d1(0x19d),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x2b46d1(0x1c0),'apiKeyHint':_0x2b46d1(0x1c4),'enableAuth':_0x2b46d1(0x1bc),'enableAuthHint':_0x2b46d1(0x1a5),'connectionInfo':_0x2b46d1(0x1a9),'mcpClientConfig':_0x2b46d1(0x1a9),'configInstructions':_0x2b46d1(0x1b6),'configStepTitle':_0x2b46d1(0x1b0),'configStep1':_0x2b46d1(0x1c2),'configStep2':_0x2b46d1(0x1aa),'configStep3':_0x2b46d1(0x1ab),'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':_0x2b46d1(0x1a0),'configParameters':_0x2b46d1(0x1a7),'maxRetries':_0x2b46d1(0x1a2),'save':_0x2b46d1(0x1a1),'saving':_0x2b46d1(0x1a8),'note1':_0x2b46d1(0x19a),'note2':_0x2b46d1(0x1af),'configSaved':_0x2b46d1(0x1a6),'configError':_0x2b46d1(0x1b7),'apiApplyInfo':{'title':_0x2b46d1(0x195),'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':_0x2b46d1(0x1c1),'getStarted':_0x2b46d1(0x196)},'validation':{'apiKeyRequired':_0x2b46d1(0x19f),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2b46d1(0x19c),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2b46d1(0x19e),'connected':_0x2b46d1(0x194),'failed':_0x2b46d1(0x193),'retrying':_0x2b46d1(0x1b4)},'connectionError':{'unauthorized':_0x2b46d1(0x190),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x2b46d1(0x1a3),'maxRetriesExceeded':_0x2b46d1(0x1ad)}}};}));function _0x5920(){var _0x589864=['Failed\x20to\x20save\x20configuration','UniverProMcpUiCaES','2011130ZuGTDG','1124698DLirPN','MCP\x20Disconnected','Enable\x20Authentication','MCP\x20Retrying...','111EUcmnz','2308338suFUtP','Enter\x20your\x20API\x20key','Univer\x20AI\x20Console','Copy\x20the\x20JSON\x20configuration\x20below','31103690ZPiltg','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','40eElvbV','MCP\x20Connecting...','Connection\x20Failed','Connected','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','object','14oyJfVN','exports','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1593387usSwtk','Invalid\x20configuration','MCP\x20Configuration','Connecting...','API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','Save\x20Configuration','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','amd','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Saving...','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','840809rePQtA','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Steps:','2136nAgcSp','MCP:\x20Unauthorized','MCP\x20Connected','Retrying...','function','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:'];_0x5920=function(){return _0x589864;};return _0x5920();}
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x574f(_0x45e09f,_0x3b9a72){var _0x328094=_0x3280();return _0x574f=function(_0x574f28,_0x55ddfb){_0x574f28=_0x574f28-0x16a;var _0xa6f10f=_0x328094[_0x574f28];return _0xa6f10f;},_0x574f(_0x45e09f,_0x3b9a72);}function _0x3280(){var _0x2fe3b3=['Click\x20to\x20connect\x20MCP','Invalid\x20configuration','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.','Connection\x20Failed','MCP:\x20Network\x20Error','function','9205952sxjgAy','What\x20is\x20API\x20Key?','281615RWYIhz','Saving...','22399ebRDCW','Max\x20Retries','Get\x20your\x20API\x20key\x20in\x20seconds','amd','14cdDsmb','Enable\x20Authentication','MCP\x20Disconnected','UniverProMcpUiEnUS','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connected','Save\x20Configuration','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Parameters:','Univer\x20AI\x20Console','116poRlxc','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connecting...','API\x20key\x20is\x20required','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1574568LNLPzN','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','object','Connecting...','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','8661429FacDri','Configuration\x20saved\x20successfully','MCP\x20Retrying...','645939ALzMSL','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','6304620nToiaL','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connection\x20Failed','Enter\x20your\x20API\x20key'];_0x3280=function(){return _0x2fe3b3;};return _0x3280();}(function(_0x3ccca7,_0x90e2e3){var _0x18dc8b=_0x574f,_0x3eee67=_0x3ccca7();while(!![]){try{var _0x199f35=parseInt(_0x18dc8b(0x177))/0x1*(parseInt(_0x18dc8b(0x17b))/0x2)+parseInt(_0x18dc8b(0x197))/0x3+parseInt(_0x18dc8b(0x191))/0x4*(parseInt(_0x18dc8b(0x175))/0x5)+-parseInt(_0x18dc8b(0x1a3))/0x6+-parseInt(_0x18dc8b(0x1a0))/0x7+-parseInt(_0x18dc8b(0x173))/0x8+parseInt(_0x18dc8b(0x19d))/0x9;if(_0x199f35===_0x90e2e3)break;else _0x3eee67['push'](_0x3eee67['shift']());}catch(_0x2f20fa){_0x3eee67['push'](_0x3eee67['shift']());}}}(_0x3280,0xf0236),function(_0x36092a,_0xfa0d1a){var _0x1aa337=_0x574f;typeof exports==_0x1aa337(0x199)&&typeof module<'u'?module['exports']=_0xfa0d1a():typeof define==_0x1aa337(0x172)&&define[_0x1aa337(0x17a)]?define(_0xfa0d1a):(_0x36092a=typeof globalThis<'u'?globalThis:_0x36092a||self,_0x36092a[_0x1aa337(0x17e)]=_0xfa0d1a());}(this,function(){'use strict';var _0x41d23b=_0x574f;return{'mcpStatus':{'disconnected':_0x41d23b(0x17d),'connecting':_0x41d23b(0x194),'connected':_0x41d23b(0x186),'failed':_0x41d23b(0x16a),'retrying':_0x41d23b(0x19f),'unknown':_0x41d23b(0x188),'unauthorized':_0x41d23b(0x189),'sessionOccupied':_0x41d23b(0x1a1),'networkError':_0x41d23b(0x171),'maxRetriesExceeded':_0x41d23b(0x185),'clickToConnect':_0x41d23b(0x16c),'clickToConfigure':_0x41d23b(0x19b)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x41d23b(0x198),'apiKey':_0x41d23b(0x182),'apiKeyPlaceholder':_0x41d23b(0x16b),'apiKeyHint':_0x41d23b(0x1a5),'enableAuth':_0x41d23b(0x17c),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x41d23b(0x1a2),'mcpClientConfig':_0x41d23b(0x1a2),'configInstructions':_0x41d23b(0x184),'configStepTitle':_0x41d23b(0x1a4),'configStep1':_0x41d23b(0x16e),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x41d23b(0x18e),'sessionId':'Session\x20ID','sessionIdDescription':_0x41d23b(0x183),'authorizationDescription':_0x41d23b(0x1a6),'configParameters':_0x41d23b(0x18f),'maxRetries':_0x41d23b(0x178),'save':_0x41d23b(0x187),'saving':_0x41d23b(0x176),'note1':_0x41d23b(0x17f),'note2':_0x41d23b(0x180),'configSaved':_0x41d23b(0x19e),'configError':_0x41d23b(0x19c),'apiApplyInfo':{'title':_0x41d23b(0x174),'description':_0x41d23b(0x16f),'univerAiLabel':_0x41d23b(0x190),'getStarted':_0x41d23b(0x179)},'validation':{'apiKeyRequired':_0x41d23b(0x195),'apiKeyTooShort':_0x41d23b(0x196),'invalidConfig':_0x41d23b(0x16d),'invalidApiKey':_0x41d23b(0x181)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x41d23b(0x19a),'connected':_0x41d23b(0x18c),'failed':_0x41d23b(0x170),'retrying':_0x41d23b(0x18b)},'connectionError':{'unauthorized':_0x41d23b(0x193),'sessionOccupied':_0x41d23b(0x192),'networkError':_0x41d23b(0x18d),'maxRetriesExceeded':_0x41d23b(0x18a)}}};}));
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5c21(){var _0x539285=['UniverProMcpUiEsES','Configuration\x20Steps:','MCP\x20Connected','Invalid\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connected','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','33906FyGuXR','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','object','Saving...','80959109WdIoON','Configuration\x20saved\x20successfully','MCP\x20Connecting...','Failed\x20to\x20save\x20configuration','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','MCP:\x20Unauthorized','exports','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','MCP\x20Disconnected','function','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2170BNPXvU','34bfyqOb','50977MRAxhI','45gKnJMt','MCP\x20Unknown\x20Status','MCP\x20Retrying...','Enter\x20your\x20API\x20key','14943500OEXbWX','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','1743784YgzjPJ','7410650TKYAhB','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Univer\x20AI\x20Console','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','4cGEqsu','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','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.','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','4839087psJdnr','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connecting...','MCP\x20Configuration'];_0x5c21=function(){return _0x539285;};return _0x5c21();}function _0x4a6c(_0x43cdf4,_0x5f18fa){var _0x5c21e3=_0x5c21();return _0x4a6c=function(_0x4a6cd6,_0x3361c7){_0x4a6cd6=_0x4a6cd6-0x11b;var _0x2f5eae=_0x5c21e3[_0x4a6cd6];return _0x2f5eae;},_0x4a6c(_0x43cdf4,_0x5f18fa);}(function(_0x1ffb84,_0x1a073d){var _0x49b8fd=_0x4a6c,_0x2206f7=_0x1ffb84();while(!![]){try{var _0x1db75e=parseInt(_0x49b8fd(0x14a))/0x1*(parseInt(_0x49b8fd(0x149))/0x2)+parseInt(_0x49b8fd(0x128))/0x3*(parseInt(_0x49b8fd(0x121))/0x4)+parseInt(_0x49b8fd(0x11c))/0x5+-parseInt(_0x49b8fd(0x136))/0x6*(-parseInt(_0x49b8fd(0x148))/0x7)+parseInt(_0x49b8fd(0x11b))/0x8*(parseInt(_0x49b8fd(0x14b))/0x9)+parseInt(_0x49b8fd(0x14f))/0xa+-parseInt(_0x49b8fd(0x13b))/0xb;if(_0x1db75e===_0x1a073d)break;else _0x2206f7['push'](_0x2206f7['shift']());}catch(_0x419e5f){_0x2206f7['push'](_0x2206f7['shift']());}}}(_0x5c21,0xe4f92),function(_0x474daf,_0x362cee){var _0x3c9b2b=_0x4a6c;typeof exports==_0x3c9b2b(0x139)&&typeof module<'u'?module[_0x3c9b2b(0x142)]=_0x362cee():typeof define==_0x3c9b2b(0x146)&&define['amd']?define(_0x362cee):(_0x474daf=typeof globalThis<'u'?globalThis:_0x474daf||self,_0x474daf[_0x3c9b2b(0x12e)]=_0x362cee());}(this,function(){'use strict';var _0x1ad66f=_0x4a6c;return{'mcpStatus':{'disconnected':_0x1ad66f(0x145),'connecting':_0x1ad66f(0x13d),'connected':_0x1ad66f(0x130),'failed':_0x1ad66f(0x144),'retrying':_0x1ad66f(0x14d),'unknown':_0x1ad66f(0x14c),'unauthorized':_0x1ad66f(0x141),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1ad66f(0x123),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1ad66f(0x13f)},'mcpConfig':{'title':_0x1ad66f(0x12d),'description':_0x1ad66f(0x143),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1ad66f(0x14e),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1ad66f(0x126),'enableAuthHint':_0x1ad66f(0x150),'connectionInfo':_0x1ad66f(0x134),'mcpClientConfig':_0x1ad66f(0x134),'configInstructions':_0x1ad66f(0x12a),'configStepTitle':_0x1ad66f(0x12f),'configStep1':_0x1ad66f(0x120),'configStep2':_0x1ad66f(0x11d),'configStep3':_0x1ad66f(0x147),'sessionId':'Session\x20ID','sessionIdDescription':_0x1ad66f(0x135),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1ad66f(0x140),'maxRetries':'Max\x20Retries','save':_0x1ad66f(0x124),'saving':_0x1ad66f(0x13a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1ad66f(0x13c),'configError':_0x1ad66f(0x13e),'apiApplyInfo':{'title':_0x1ad66f(0x152),'description':_0x1ad66f(0x125),'univerAiLabel':_0x1ad66f(0x11e),'getStarted':_0x1ad66f(0x127)},'validation':{'apiKeyRequired':_0x1ad66f(0x151),'apiKeyTooShort':_0x1ad66f(0x129),'invalidConfig':_0x1ad66f(0x131),'invalidApiKey':_0x1ad66f(0x12b)},'connectionStatus':{'disconnected':_0x1ad66f(0x137),'connecting':_0x1ad66f(0x12c),'connected':_0x1ad66f(0x133),'failed':'Connection\x20Failed','retrying':_0x1ad66f(0x11f)},'connectionError':{'unauthorized':_0x1ad66f(0x122),'sessionOccupied':_0x1ad66f(0x138),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1ad66f(0x132)}}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2947(_0x35a6d3,_0x1dbf3c){var _0x5c2483=_0x5c24();return _0x2947=function(_0x2947c1,_0x5266ec){_0x2947c1=_0x2947c1-0x13f;var _0x548cbd=_0x5c2483[_0x2947c1];return _0x548cbd;},_0x2947(_0x35a6d3,_0x1dbf3c);}function _0x5c24(){var _0x4f90a3=['122mladmA','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','amd','MCP:\x20Session\x20ID\x20Occupied','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','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.','Configuration\x20saved\x20successfully','Connected','Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','78egvsOn','93075yqibhf','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Unauthorized','object','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','23507hZbpUn','MCP\x20Connected','Disconnected','Max\x20Retries','MCP\x20Unknown\x20Status','exports','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','6AXbBeE','84rcctqe','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','UniverProMcpUiFaIR','What\x20is\x20API\x20Key?','21zKbHLH','1134544DhXHqk','Session\x20ID','MCP\x20Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1557747YAETiY','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','Retrying...','Invalid\x20configuration','MCP\x20Connection\x20Failed','34004NdfzqG','3310910YBEDqm','API\x20key\x20is\x20required','1879pBkExj','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Network\x20Error','MCP\x20Disconnected','Enter\x20your\x20API\x20key'];_0x5c24=function(){return _0x4f90a3;};return _0x5c24();}(function(_0x5c9011,_0x1e9c2a){var _0x1300f7=_0x2947,_0x916a93=_0x5c9011();while(!![]){try{var _0x45cbce=-parseInt(_0x1300f7(0x16c))/0x1*(parseInt(_0x1300f7(0x171))/0x2)+parseInt(_0x1300f7(0x151))/0x3*(-parseInt(_0x1300f7(0x169))/0x4)+parseInt(_0x1300f7(0x145))/0x5*(-parseInt(_0x1300f7(0x144))/0x6)+-parseInt(_0x1300f7(0x15a))/0x7*(-parseInt(_0x1300f7(0x15b))/0x8)+-parseInt(_0x1300f7(0x161))/0x9+parseInt(_0x1300f7(0x16a))/0xa+parseInt(_0x1300f7(0x14a))/0xb*(parseInt(_0x1300f7(0x152))/0xc);if(_0x45cbce===_0x1e9c2a)break;else _0x916a93['push'](_0x916a93['shift']());}catch(_0x122aa1){_0x916a93['push'](_0x916a93['shift']());}}}(_0x5c24,0x36e25),function(_0x467d56,_0x21d7a7){var _0x120972=_0x2947;typeof exports==_0x120972(0x148)&&typeof module<'u'?module[_0x120972(0x14f)]=_0x21d7a7():typeof define=='function'&&define[_0x120972(0x175)]?define(_0x21d7a7):(_0x467d56=typeof globalThis<'u'?globalThis:_0x467d56||self,_0x467d56[_0x120972(0x158)]=_0x21d7a7());}(this,function(){'use strict';var _0x42d88b=_0x2947;return{'mcpStatus':{'disconnected':_0x42d88b(0x16f),'connecting':'MCP\x20Connecting...','connected':_0x42d88b(0x14b),'failed':_0x42d88b(0x168),'retrying':_0x42d88b(0x15d),'unknown':_0x42d88b(0x14e),'unauthorized':_0x42d88b(0x147),'sessionOccupied':_0x42d88b(0x176),'networkError':_0x42d88b(0x16e),'maxRetriesExceeded':_0x42d88b(0x146),'clickToConnect':_0x42d88b(0x178),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x42d88b(0x156),'apiKey':_0x42d88b(0x154),'apiKeyPlaceholder':_0x42d88b(0x170),'apiKeyHint':_0x42d88b(0x153),'enableAuth':_0x42d88b(0x177),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x42d88b(0x173),'configInstructions':_0x42d88b(0x150),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x42d88b(0x163),'configStep2':_0x42d88b(0x160),'configStep3':_0x42d88b(0x15f),'sessionId':_0x42d88b(0x15c),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x42d88b(0x14d),'save':_0x42d88b(0x157),'saving':_0x42d88b(0x164),'note1':_0x42d88b(0x149),'note2':_0x42d88b(0x17a),'configSaved':_0x42d88b(0x140),'configError':_0x42d88b(0x155),'apiApplyInfo':{'title':_0x42d88b(0x159),'description':_0x42d88b(0x13f),'univerAiLabel':_0x42d88b(0x172),'getStarted':_0x42d88b(0x165)},'validation':{'apiKeyRequired':_0x42d88b(0x16b),'apiKeyTooShort':_0x42d88b(0x16d),'invalidConfig':_0x42d88b(0x167),'invalidApiKey':_0x42d88b(0x179)},'connectionStatus':{'disconnected':_0x42d88b(0x14c),'connecting':_0x42d88b(0x142),'connected':_0x42d88b(0x141),'failed':_0x42d88b(0x162),'retrying':_0x42d88b(0x166)},'connectionError':{'unauthorized':_0x42d88b(0x143),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x42d88b(0x15e),'maxRetriesExceeded':_0x42d88b(0x174)}}};}));
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x6ec1(){var _0x334b97=['API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20configuration','Saving...','Failed\x20to\x20save\x20configuration','Click\x20to\x20configure\x20MCP','Configuration\x20saved\x20successfully','MCP\x20Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','7aamHlM','function','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','Connected','MCP\x20Connection\x20Failed','1188852HJBxmQ','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Client\x20Configuration','2479116NBrEuR','2103306xndRGR','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','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','Enable\x20authentication\x20for\x20secure\x20connections','849832NNYOtC','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Unknown\x20Status','amd','Max\x20Retries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','163061OmbpqA','API\x20Key','object','What\x20is\x20API\x20Key?','2752515SPQspA','822954gXUhZz','MCP\x20Configuration'];_0x6ec1=function(){return _0x334b97;};return _0x6ec1();}function _0xe3a9(_0xb22d8b,_0xca11cd){var _0x6ec163=_0x6ec1();return _0xe3a9=function(_0xe3a97f,_0x2359cf){_0xe3a97f=_0xe3a97f-0xae;var _0x5b8e52=_0x6ec163[_0xe3a97f];return _0x5b8e52;},_0xe3a9(_0xb22d8b,_0xca11cd);}(function(_0x56cc9f,_0x254f61){var _0x40fc79=_0xe3a9,_0x121f80=_0x56cc9f();while(!![]){try{var _0x1d610b=parseInt(_0x40fc79(0xbe))/0x1+parseInt(_0x40fc79(0xc3))/0x2+parseInt(_0x40fc79(0xd6))/0x3+-parseInt(_0x40fc79(0xdb))/0x4+parseInt(_0x40fc79(0xc2))/0x5+parseInt(_0x40fc79(0xdc))/0x6*(-parseInt(_0x40fc79(0xce))/0x7)+-parseInt(_0x40fc79(0xb6))/0x8;if(_0x1d610b===_0x254f61)break;else _0x121f80['push'](_0x121f80['shift']());}catch(_0x20a0f0){_0x121f80['push'](_0x121f80['shift']());}}}(_0x6ec1,0x6c95e),function(_0x490e5a,_0x5aa804){var _0x5882da=_0xe3a9;typeof exports==_0x5882da(0xc0)&&typeof module<'u'?module['exports']=_0x5aa804():typeof define==_0x5882da(0xcf)&&define[_0x5882da(0xbb)]?define(_0x5aa804):(_0x490e5a=typeof globalThis<'u'?globalThis:_0x490e5a||self,_0x490e5a['UniverProMcpUiFrFR']=_0x5aa804());}(this,function(){'use strict';var _0x1611da=_0xe3a9;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1611da(0xcc),'connected':'MCP\x20Connected','failed':_0x1611da(0xd5),'retrying':_0x1611da(0xd3),'unknown':_0x1611da(0xba),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1611da(0xb2),'networkError':_0x1611da(0xb8),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x1611da(0xd0),'clickToConfigure':_0x1611da(0xca)},'mcpConfig':{'title':_0x1611da(0xc4),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1611da(0xbf),'apiKeyPlaceholder':_0x1611da(0xb1),'apiKeyHint':_0x1611da(0xd2),'enableAuth':_0x1611da(0xb4),'enableAuthHint':_0x1611da(0xb5),'connectionInfo':_0x1611da(0xda),'mcpClientConfig':_0x1611da(0xda),'configInstructions':_0x1611da(0xdd),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x1611da(0xb9),'configStep2':_0x1611da(0xd9),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x1611da(0xbd),'authorizationDescription':_0x1611da(0xc6),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x1611da(0xbc),'save':'Save\x20Configuration','saving':_0x1611da(0xc8),'note1':_0x1611da(0xb7),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1611da(0xcb),'configError':_0x1611da(0xc9),'apiApplyInfo':{'title':_0x1611da(0xc1),'description':_0x1611da(0xb3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x1611da(0xd1)},'validation':{'apiKeyRequired':_0x1611da(0xc5),'apiKeyTooShort':_0x1611da(0xb0),'invalidConfig':_0x1611da(0xc7),'invalidApiKey':_0x1611da(0xae)},'connectionStatus':{'disconnected':_0x1611da(0xaf),'connecting':'Connecting...','connected':_0x1611da(0xd4),'failed':'Connection\x20Failed','retrying':_0x1611da(0xd8)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1611da(0xcd),'networkError':_0x1611da(0xd7),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|