@univerjs-pro/mcp-ui 0.16.0 → 0.16.1
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/ja-JP.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/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-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/ja-JP.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/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- 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/ja-JP.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/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x97df(){const _0x384a30=['round','currentColor','_mcpCoreConfig$','show','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer.ai','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP_PLUGIN_CONFIG_KEY','您的\x20API\x20密钥将在此浏览器中本地存储','univer-space-y-4','IMessageService','SESSION_ID_OCCUPIED','Configuration\x20Parameters:','_createConfigPanelComponent','univerjs-icon\x20univerjs-icon-','MCP\x20状态未知','defs','defIds','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','useDependency','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','svg','API\x20密钥不能为空','xlink:href','MCP\x20重连中...','mcpConfig.apiApplyInfo.univerAiLabel','MCP\x20Configuration','MCP\x20Client\x20Configuration','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mask','defineProperty','LocaleService','Module','Configuration\x20saved\x20successfully','4936645pwdWYo','Plugin','UNAUTHORIZED','0\x200\x2017\x2016','Retrying...','Disposable','jsxs','next','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','HEADER_MENU','_connectionController','MCP\x20Connection\x20Failed','univer-text-green-500','http','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','MCP:\x20会话\x20ID\x20已被占用','8690350Ykjpky','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','connectionStatus$','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','几秒钟内获取您的\x20API\x20密钥','复制以下\x20JSON\x20配置','div','WebSocketService','CONNECTING','API\x20密钥无效,请检查密钥是否正确','UniverIcon','已连接','mcpConfig.description','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_blank','_initializeCommands','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_initializeMenus','配置更改将立即生效','univer-bg-green-500','amd','1015JPUWAx','Configuration\x20Notes:','isValid','Injector','get','IUIPartsService','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','Inject','_commandService','connectionError$','35JQAcWM','MCPConfigPanel','MCP:\x20网络错误','warn','MCP:\x20超出最大重试次数','Failed\x20to\x20save\x20configuration','exports','最大重试次数','string','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','forEach','close','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','off','registerCommand','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','createElement','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','_initStatusComponent','MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1em','univer-size-4','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','mcpConfig.connectionInfo','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','7788NqscVI','重启您的\x20MCP\x20客户端以使配置生效','has','setItem','random','univer-text-xs\x20univer-text-gray-500','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.connectionStatus.failed','mcp-ui.command.openConfigPanel','https://console.univer.plus','on-line-icon','CheckMarkIcon','338892qFgYMM','univer-text-yellow-500','UniverNetwork','MCP\x20Connected','off-line-icon','mcpConfig.configInstructions','UniverUi','_initAutoConnect','mcpConfig.title','mcp-ui.config','mcp-config-dialog','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.configStep2','_config','ILocalStorageService','push','配置保存失败','BuiltInUIPart','OpenMCPConfigPanelCommand','http://www.w3.org/2000/svg','mcpStatus.clickToConfigure','配置保存成功','2416815cUwvIw','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','UniverMCPUIPlugin','ISocketService','current','\x20-\x20','_handleConfigSave','Save\x20Configuration','MenuIcon','https://console.univer.ai','0\x200\x2016\x2016','univer-text-xs\x20univer-text-gray-600','MCP\x20连接中...','RibbonStartGroup','mcpConfig.sessionIdDescription','pre','mcpConfig.configStep3','HelpIcon','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','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','__setCustomHeaders','onStarting','权限验证失败,请检查您的\x20API\x20密钥','NETWORK_ERROR','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCPConnectionController','MCP\x20已连接','jsx','MCP\x20客户端配置','mcpConfig.configStep1','univer-font-medium','univer-size-2\x20univer-rounded-full','mcpConfig.connectionError.sessionOccupied','ICommandService','572kcGcmO','clsx','_apiKey$','_initConfigSync','MCP\x20已断开','rxjs','colorChannel1','univer-text-white','children','off-line-icon_clip0_910_343','button','subscribeConfigValue$','merge','substring','disposeWithMe','value','use','Bearer\x20','_registerComponent','registerComponent','mcpConfig.apiApplyInfo.description','useRef','fill','span','Connection\x20Failed','mcpStatus.unauthorized','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_uiPartsService','Saving...','help-icon','FAILED','mergeMenu','useState','subscribe','mcpConfig.connectionStatus.connecting','forwardRef','mcpConfig.saving','evenodd','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpStatus.networkError','MCP_UI_PLUGIN','univer-bg-gray-500','MCP:\x20Network\x20Error','MCPUIMenuController','mcpServerUrl','entries','univer-space-y-3','保存配置','@univerjs/ui','univer_session_id:','2066Eoapjn','label','tag','Session\x20ID','toStringTag','_injector','@univerjs/design','DISCONNECTED','Enter\x20your\x20API\x20key','stringify','UniverCore','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','displayName','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','react/jsx-runtime','_configService','mcpConfig.connectionError.unauthorized','_mcpConnectionController','univer-flex\x20univer-items-start\x20univer-gap-2','保存中...','API\x20Key','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-sm\x20univer-text-gray-500','close-icon','MCPConnectionUIController','会话ID','url(#on-line-icon_clip0_910_349)','univer-flex\x20univer-items-start\x20univer-gap-3','CONNECTED','IMenuManagerService','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','<SESSION_ID>','Configuration\x20Steps:','您的\x20API\x20密钥安全存储在本地存储中','apiKey','add','MCPConnectionError','mcpConfig.configStepTitle','mcpConfig.connectionError.networkError','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','zhCN','white','setConfig','function','OTHERS','noopener\x20noreferrer','sessionId$','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','MCP:\x20未授权','_localStorageService','translate(.97)','IDialogService','map','UniverMCPPlugin','toString','error','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','837Dhwpvb','配置参数:','mcpConfig.apiKeyHint','Connected','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','UniverProMcpUi','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','showStatus','mcpConfig.configSaved','object','getOwnPropertyDescriptor','_handleConfigure','mcpConfig.validation.invalidConfig','MessageType','mcpStatus.failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','on-line-icon_clip0_910_349','length','mcpConfig.apiKey','_logService','_dialogService','mcpConfig.apiApplyInfo.getStarted','MCP:\x20Session\x20ID\x20Occupied','getCurrentConfig','showConfigPanel','MCP:\x20Max\x20Retries\x20Exceeded','useCallback','mcpConfig.apiApplyInfo.title','_messageService','667614MuFdnY','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','path','_loading$','univer-space-y-2','univer-flex-1','univer.plus','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCPConnectionStatus','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','_config$','assign','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20密钥长度至少需要\x2010\x20位','_loadStoredApiKey','includes','univer-flex\x20univer-items-center\x20univer-gap-2','univer-min-w-0\x20univer-flex-1','Max\x20Retries','NONE','trim','register','mcpStatus.maxRetriesExceeded','attrs','idSuffix','点击配置\x20MCP','_localeService','univer-flex\x20univer-gap-3','errorMessage','none','\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','IConfigService','enableAutoConnect','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-bg-red-500','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','Connecting...','Tooltip','mcp.apiKey','mcpConfig.validation.invalidApiKey','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-shrink-0\x20univer-text-red-500','Error','univer-text-gray-500','mcpConfig.connectionStatus.retrying','https://mcp.univer.ai/mcp/?univer_session_id=','@univerjs-pro/mcp','_componentManager','univer-text-gray-400','univer-text-blue-600','会话\x20ID\x20已被占用,请稍后再试','RETRYING','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCPConfigUIController','_menuManagerService','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','OffLineIcon','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','BehaviorSubject','univer-text-red-500','showDeveloperTools','8lbosbW','replace','getItem','Enable\x20Authentication','pluginName','getConfig','useObservable','clipPath','url(#$1','mcpStatus.unknown','@univerjs/core','MAX_RETRIES_EXCEEDED','mcpStatus.clickToConnect','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','check-mark-icon','mcpStatus.connected','React','点击连接\x20MCP'];_0x97df=function(){return _0x384a30;};return _0x97df();}function _0x59d4(_0x40efe0,_0x344068){_0x40efe0=_0x40efe0-0x77;const _0x97df2e=_0x97df();let _0x59d4be=_0x97df2e[_0x40efe0];return _0x59d4be;}(function(_0x44d38d,_0x2783d8){const _0x34964f=_0x59d4,_0x53fb46=_0x44d38d();while(!![]){try{const _0x4ea4d7=parseInt(_0x34964f(0x201))/0x1*(-parseInt(_0x34964f(0x10f))/0x2)+parseInt(_0x34964f(0x148))/0x3*(-parseInt(_0x34964f(0x97))/0x4)+-parseInt(_0x34964f(0x1db))/0x5+-parseInt(_0x34964f(0x166))/0x6*(-parseInt(_0x34964f(0x7b))/0x7)+-parseInt(_0x34964f(0x1a5))/0x8*(-parseInt(_0x34964f(0xb9))/0x9)+parseInt(_0x34964f(0x1eb))/0xa+-parseInt(_0x34964f(0xdc))/0xb*(-parseInt(_0x34964f(0xa3))/0xc);if(_0x4ea4d7===_0x2783d8)break;else _0x53fb46['push'](_0x53fb46['shift']());}catch(_0x5eecdf){_0x53fb46['push'](_0x53fb46['shift']());}}}(_0x97df,0x8e6f2),function(_0x2ca9f0,_0x446b5a){const _0xc03f9f=_0x59d4;typeof exports==_0xc03f9f(0x151)&&typeof module<'u'?_0x446b5a(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==_0xc03f9f(0x13a)&&define[_0xc03f9f(0x200)]?define([_0xc03f9f(0x81),_0xc03f9f(0x1af),_0xc03f9f(0x11d),_0xc03f9f(0x195),_0xc03f9f(0x115),_0xc03f9f(0x10d),_0xc03f9f(0xe1),'react','@univerjs/network'],_0x446b5a):(_0x2ca9f0=typeof globalThis<'u'?globalThis:_0x2ca9f0||self,_0x446b5a(_0x2ca9f0[_0xc03f9f(0x14d)]={},_0x2ca9f0[_0xc03f9f(0x119)],_0x2ca9f0['React'],_0x2ca9f0['UniverProMcp'],_0x2ca9f0['UniverDesign'],_0x2ca9f0[_0xc03f9f(0xa9)],_0x2ca9f0[_0xc03f9f(0xe1)],_0x2ca9f0[_0xc03f9f(0x1b5)],_0x2ca9f0[_0xc03f9f(0xa5)]));}(this,function(_0x7b0cd9,_0x565954,_0x29df55,_0x11d7ce,_0x52e2a8,_0x388181,_0x8392e9,_0x1646d9,_0x33bfb2){'use strict';const _0x23d6ef=_0x59d4;var _0x3bd2c9=Object[_0x23d6ef(0x1d7)],_0x1c7680=(_0x5a131f,_0x45962a,_0x257648)=>_0x45962a in _0x5a131f?_0x3bd2c9(_0x5a131f,_0x45962a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x257648}):_0x5a131f[_0x45962a]=_0x257648,_0x15162a=(_0x3a9a0c,_0x4dcddf,_0x47a3df)=>_0x1c7680(_0x3a9a0c,typeof _0x4dcddf!='symbol'?_0x4dcddf+'':_0x4dcddf,_0x47a3df);function _0x129d0e({ref:_0x308887,..._0x2e2bfb}){const _0x2e2259=_0x23d6ef,{icon:_0x2bce39,id:_0x597ce3,className:_0x9755d4,extend:_0xbe55ab,..._0x182180}=_0x2e2bfb,_0x17ab38=(_0x2e2259(0x1c6)+_0x597ce3+'\x20'+(_0x9755d4||''))[_0x2e2259(0x17a)](),_0x488be0=_0x1646d9[_0x2e2259(0xf1)]('_'+_0xfe53cb());return _0x253d23(_0x2bce39,''+_0x597ce3,{'defIds':_0x2bce39[_0x2e2259(0x1c9)],'idSuffix':_0x488be0[_0x2e2259(0xbd)]},{'ref':_0x308887,'className':_0x17ab38,..._0x182180},_0xbe55ab);}function _0x253d23(_0x54211f,_0x4dd00e,_0x448d3e,_0x45911b,_0x16dead){const _0x42827c=_0x23d6ef;return _0x1646d9[_0x42827c(0x8d)](_0x54211f[_0x42827c(0x111)],{'key':_0x4dd00e,..._0x52aa6f(_0x54211f,_0x448d3e,_0x16dead),..._0x45911b},(_0xcc4cbf(_0x54211f,_0x448d3e)['children']||[])[_0x42827c(0x143)]((_0x1a38f6,_0x393626)=>_0x253d23(_0x1a38f6,_0x4dd00e+'-'+_0x54211f[_0x42827c(0x111)]+'-'+_0x393626,_0x448d3e,void 0x0,_0x16dead)));}function _0x52aa6f(_0xbe545,_0x433ce2,_0x1027bc){const _0x2e2cb1=_0x23d6ef,_0x5efcdc={..._0xbe545[_0x2e2cb1(0x17d)]};_0x1027bc!=null&&_0x1027bc['colorChannel1']&&_0x5efcdc['fill']==='colorChannel1'&&(_0x5efcdc[_0x2e2cb1(0xf2)]=_0x1027bc[_0x2e2cb1(0xe2)]),_0xbe545[_0x2e2cb1(0x111)]===_0x2e2cb1(0x1d6)&&_0x5efcdc['id']&&(_0x5efcdc['id']=_0x5efcdc['id']+_0x433ce2[_0x2e2cb1(0x17e)]),Object['entries'](_0x5efcdc)[_0x2e2cb1(0x85)](([_0x161c49,_0x41da64])=>{const _0x45c587=_0x2e2cb1;_0x161c49==='mask'&&typeof _0x41da64=='string'&&(_0x5efcdc[_0x161c49]=_0x41da64[_0x45c587(0x1a6)](/url\(#(.*)\)/,_0x45c587(0x1ad)+_0x433ce2['idSuffix']+')'));});const {defIds:_0xe77c22}=_0x433ce2;return!_0xe77c22||_0xe77c22[_0x2e2cb1(0x15a)]===0x0||(_0xbe545[_0x2e2cb1(0x111)]===_0x2e2cb1(0xec)&&_0x5efcdc[_0x2e2cb1(0x1d0)]&&(_0x5efcdc[_0x2e2cb1(0x1d0)]=_0x5efcdc['xlink:href']+_0x433ce2[_0x2e2cb1(0x17e)]),Object[_0x2e2cb1(0x10a)](_0x5efcdc)[_0x2e2cb1(0x85)](([_0xf2fe08,_0x590a2f])=>{const _0x11722c=_0x2e2cb1;typeof _0x590a2f==_0x11722c(0x83)&&(_0x5efcdc[_0xf2fe08]=_0x590a2f[_0x11722c(0x1a6)](/url\(#(.*)\)/,_0x11722c(0x1ad)+_0x433ce2[_0x11722c(0x17e)]+')'));})),_0x5efcdc;}function _0xcc4cbf(_0x592481,_0x4ee207){const _0x3837ff=_0x23d6ef;var _0x52c86e;const {defIds:_0x2d8775}=_0x4ee207;return!_0x2d8775||_0x2d8775[_0x3837ff(0x15a)]===0x0?_0x592481:_0x592481['tag']===_0x3837ff(0x1c8)&&((_0x52c86e=_0x592481[_0x3837ff(0xe4)])!=null&&_0x52c86e['length'])?{..._0x592481,'children':_0x592481[_0x3837ff(0xe4)][_0x3837ff(0x143)](_0x3f0c11=>typeof _0x3f0c11[_0x3837ff(0x17d)]['id']==_0x3837ff(0x83)&&_0x2d8775&&_0x2d8775[_0x3837ff(0x175)](_0x3f0c11['attrs']['id'])?{..._0x3f0c11,'attrs':{..._0x3f0c11[_0x3837ff(0x17d)],'id':_0x3f0c11[_0x3837ff(0x17d)]['id']+_0x4ee207[_0x3837ff(0x17e)]}}:_0x3f0c11)}:_0x592481;}function _0xfe53cb(){const _0x2c9f94=_0x23d6ef;return Math[_0x2c9f94(0x9b)]()[_0x2c9f94(0x145)](0x24)[_0x2c9f94(0xe9)](0x2,0x8);}_0x129d0e[_0x23d6ef(0x11b)]=_0x23d6ef(0x1f6);const _0x5850cf={'tag':_0x23d6ef(0x1ce),'attrs':{'xmlns':_0x23d6ef(0xb6),'fill':_0x23d6ef(0x183),'viewBox':_0x23d6ef(0xc3),'width':'1em','height':_0x23d6ef(0x92)},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'fill':_0x23d6ef(0x1b8),'d':_0x23d6ef(0x147),'fillRule':_0x23d6ef(0x101),'clipRule':_0x23d6ef(0x101)}}]},_0x26e703=_0x1646d9['forwardRef'](function(_0x1f1046,_0x6e4b1){const _0x224db0=_0x23d6ef;return _0x1646d9[_0x224db0(0x8d)](_0x129d0e,Object[_0x224db0(0x171)]({},_0x1f1046,{'id':_0x224db0(0x1b3),'ref':_0x6e4b1,'icon':_0x5850cf}));});_0x26e703['displayName']=_0x23d6ef(0xa2);const _0xbe63ac={'tag':_0x23d6ef(0x1ce),'attrs':{'xmlns':_0x23d6ef(0xb6),'fill':_0x23d6ef(0x183),'viewBox':'0\x200\x2016\x2016','width':_0x23d6ef(0x92),'height':_0x23d6ef(0x92)},'children':[{'tag':'path','attrs':{'fill':_0x23d6ef(0x1b8),'d':_0x23d6ef(0x1e9)}}]},_0x2fd5bd=_0x1646d9[_0x23d6ef(0xff)](function(_0x388dc3,_0x239540){const _0x140564=_0x23d6ef;return _0x1646d9[_0x140564(0x8d)](_0x129d0e,Object['assign']({},_0x388dc3,{'id':_0x140564(0x126),'ref':_0x239540,'icon':_0xbe63ac}));});_0x2fd5bd[_0x23d6ef(0x11b)]='CloseIcon';const _0x55b763={'tag':'svg','attrs':{'xmlns':_0x23d6ef(0xb6),'fill':_0x23d6ef(0x183),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x23d6ef(0x92)},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'fill':'currentColor','d':_0x23d6ef(0x18a)}},{'tag':_0x23d6ef(0x168),'attrs':{'fill':_0x23d6ef(0x1b8),'d':_0x23d6ef(0x187)}},{'tag':_0x23d6ef(0x168),'attrs':{'fill':_0x23d6ef(0x1b8),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x23d6ef(0x101),'clipRule':_0x23d6ef(0x101)}}]},_0x5389a4=_0x1646d9[_0x23d6ef(0xff)](function(_0x4e3151,_0x5c8dfd){const _0x1f0f6a=_0x23d6ef;return _0x1646d9[_0x1f0f6a(0x8d)](_0x129d0e,Object['assign']({},_0x4e3151,{'id':_0x1f0f6a(0xf9),'ref':_0x5c8dfd,'icon':_0x55b763}));});_0x5389a4['displayName']=_0x23d6ef(0xca);const _0xc2290b={'tag':'svg','attrs':{'xmlns':_0x23d6ef(0xb6),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x23d6ef(0x92)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'stroke':_0x23d6ef(0x1b8),'d':_0x23d6ef(0x19f),'strokeLinecap':_0x23d6ef(0x1b7),'strokeLinejoin':_0x23d6ef(0x1b7),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x23d6ef(0x1ac),'attrs':{'id':_0x23d6ef(0xe5)},'children':[{'tag':'path','attrs':{'fill':_0x23d6ef(0x138),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x23d6ef(0xe5)]},_0x40992d=_0x1646d9[_0x23d6ef(0xff)](function(_0x13d819,_0x8e3bea){const _0x385939=_0x23d6ef;return _0x1646d9[_0x385939(0x8d)](_0x129d0e,Object['assign']({},_0x13d819,{'id':_0x385939(0xa7),'ref':_0x8e3bea,'icon':_0xc2290b}));});_0x40992d[_0x23d6ef(0x11b)]=_0x23d6ef(0x1a0);const _0x8b8591={'tag':_0x23d6ef(0x1ce),'attrs':{'xmlns':_0x23d6ef(0xb6),'fill':_0x23d6ef(0x183),'viewBox':_0x23d6ef(0x1de),'width':_0x23d6ef(0x92),'height':_0x23d6ef(0x92)},'children':[{'tag':'g','attrs':{'clipPath':_0x23d6ef(0x129)},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'stroke':'currentColor','d':_0x23d6ef(0x94),'strokeLinecap':_0x23d6ef(0x1b7),'strokeLinejoin':_0x23d6ef(0x1b7),'strokeWidth':1.2}}]},{'tag':_0x23d6ef(0x1c8),'attrs':{},'children':[{'tag':_0x23d6ef(0x1ac),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'fill':_0x23d6ef(0x138),'d':'M0\x200H16V16H0z','transform':_0x23d6ef(0x141)}}]}]}],'defIds':[_0x23d6ef(0x159)]},_0x32386a=_0x1646d9['forwardRef'](function(_0x136b5e,_0x253aac){const _0x59768d=_0x23d6ef;return _0x1646d9['createElement'](_0x129d0e,Object[_0x59768d(0x171)]({},_0x136b5e,{'id':_0x59768d(0xa1),'ref':_0x253aac,'icon':_0x8b8591}));});_0x32386a[_0x23d6ef(0x11b)]='OnLineIcon';function _0x4f0a4d(_0x4ea0fa){const _0x2f68fb=_0x23d6ef;var _0x5d45a5,_0xe5269e;const {mcpCoreConfig:_0x45cb93,onSave:_0x337a2b,loading:_0x2cd1ce=!0x1,config:_0x3bd09c,connectionStatus$:_0x3049a9,connectionError$:_0x4832b1,currentApiKey$:_0x9e8b6b,currentSessionId$:_0x225b1f}=_0x4ea0fa,_0x100060=_0x388181[_0x2f68fb(0x1cc)](_0x565954[_0x2f68fb(0x1d8)]),_0x1415ea=_0x388181[_0x2f68fb(0x1ab)](_0x3049a9,_0x11d7ce[_0x2f68fb(0x16e)][_0x2f68fb(0x116)]),_0x200de8=_0x388181[_0x2f68fb(0x1ab)](_0x4832b1,_0x11d7ce[_0x2f68fb(0x133)]['NONE']),_0x455c89=_0x388181[_0x2f68fb(0x1ab)](_0x225b1f,''),_0x3b8dad=_0x388181[_0x2f68fb(0x1ab)](_0x9e8b6b,''),[_0x5a61f8,_0x1f3d94]=_0x1646d9[_0x2f68fb(0xfc)](_0x3b8dad||''),_0x10c0d8=!0x0,_0x4c1084=_0x3bd09c[_0x2f68fb(0x1a4)]&&_0x45cb93[_0x2f68fb(0x109)]&&(_0x45cb93['mcpServerUrl']['includes'](_0x2f68fb(0x16c))||_0x45cb93[_0x2f68fb(0x109)][_0x2f68fb(0x175)](_0x2f68fb(0x1bd))),_0x40e659=(_0x5d45a5=_0x45cb93['mcpServerUrl'])==null?void 0x0:_0x5d45a5[_0x2f68fb(0x175)]('univer.plus'),_0x5bc166=(_0xe5269e=_0x45cb93[_0x2f68fb(0x109)])==null?void 0x0:_0xe5269e[_0x2f68fb(0x175)](_0x2f68fb(0x1bd)),_0x251600=_0x40e659?_0x2f68fb(0xa0):_0x2f68fb(0xc2),_0x4efae1=_0x3bd09c[_0x2f68fb(0x1a4)]&&(_0x40e659||_0x5bc166),[_0x3356bf,_0x15585d]=_0x1646d9[_0x2f68fb(0xfc)](!_0x5a61f8[_0x2f68fb(0x17a)]()),_0x593827=(_0x3984ce,_0x3592a0)=>{const _0x38ad15=_0x2f68fb;if(_0x3592a0===_0x11d7ce[_0x38ad15(0x133)][_0x38ad15(0x1dd)])return _0x38ad15(0x18f);switch(_0x3984ce){case _0x11d7ce[_0x38ad15(0x16e)][_0x38ad15(0x12b)]:return _0x38ad15(0x136);case _0x11d7ce[_0x38ad15(0x16e)][_0x38ad15(0x1f4)]:case _0x11d7ce['MCPConnectionStatus'][_0x38ad15(0x19a)]:return _0x38ad15(0x1e3);case _0x11d7ce['MCPConnectionStatus'][_0x38ad15(0xfa)]:return _0x38ad15(0x18f);default:return _0x38ad15(0x84);}},_0x7ddd87=(_0x444e1d,_0x5b0db5)=>{const _0x1183ac=_0x2f68fb;if(_0x5b0db5===_0x11d7ce[_0x1183ac(0x133)]['UNAUTHORIZED'])return _0x1183ac(0x189);switch(_0x444e1d){case _0x11d7ce['MCPConnectionStatus'][_0x1183ac(0x12b)]:return _0x1183ac(0x1ff);case _0x11d7ce['MCPConnectionStatus'][_0x1183ac(0x1f4)]:case _0x11d7ce[_0x1183ac(0x16e)][_0x1183ac(0x19a)]:return'univer-bg-blue-500';case _0x11d7ce[_0x1183ac(0x16e)][_0x1183ac(0xfa)]:return _0x1183ac(0x189);default:return _0x1183ac(0x106);}},_0x215d33=_0x44d054=>{const _0x458d13=_0x2f68fb;switch(_0x44d054){case _0x11d7ce[_0x458d13(0x16e)][_0x458d13(0x12b)]:return _0x100060['t']('mcpConfig.connectionStatus.connected');case _0x11d7ce['MCPConnectionStatus'][_0x458d13(0x1f4)]:return _0x100060['t'](_0x458d13(0xfe));case _0x11d7ce['MCPConnectionStatus']['FAILED']:return _0x100060['t'](_0x458d13(0x9e));case _0x11d7ce[_0x458d13(0x16e)][_0x458d13(0x19a)]:return _0x100060['t'](_0x458d13(0x193));default:return _0x100060['t']('mcpConfig.connectionStatus.disconnected');}},_0x2d385e=_0x4cbfd2=>{const _0x2cc21e=_0x2f68fb;switch(_0x4cbfd2){case _0x11d7ce['MCPConnectionError'][_0x2cc21e(0x1dd)]:return _0x100060['t'](_0x2cc21e(0x11f));case _0x11d7ce['MCPConnectionError'][_0x2cc21e(0x1c3)]:return _0x100060['t'](_0x2cc21e(0xda));case _0x11d7ce[_0x2cc21e(0x133)][_0x2cc21e(0xd1)]:return _0x100060['t'](_0x2cc21e(0x135));case _0x11d7ce[_0x2cc21e(0x133)][_0x2cc21e(0x1b0)]:return _0x100060['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x3806c7=_0x1646d9['useCallback'](()=>{const _0x8d03e4={..._0x45cb93,'apiKey':_0x5a61f8['trim'](),'enableAuth':_0x10c0d8};_0x337a2b(_0x8d03e4);},[_0x45cb93,_0x5a61f8,_0x10c0d8,_0x337a2b]),_0x1dd1ff=_0x5a61f8['trim']()[_0x2f68fb(0x15a)]>0x0;return _0x29df55['jsxs'](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1cd),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x124),'children':_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x103),'children':_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'className':_0x2f68fb(0xe3),'children':'⚙'})}),_0x29df55['jsx'](_0x2f68fb(0x1f2),{'children':_0x29df55[_0x2f68fb(0xd5)]('p',{'className':_0x2f68fb(0x125),'children':_0x100060['t'](_0x2f68fb(0x1f8))})})]})}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x14e),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x52e2a8['clsx'](_0x2f68fb(0x77),_0x593827(_0x1415ea,_0x200de8)),'children':_0x29df55['jsxs']('div',{'className':_0x2f68fb(0x176),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x52e2a8[_0x2f68fb(0xdd)](_0x2f68fb(0xd9),_0x7ddd87(_0x1415ea,_0x200de8))}),_0x29df55[_0x2f68fb(0xd5)]('span',{'className':'univer-text-sm\x20univer-font-medium','children':_0x215d33(_0x1415ea)})]})}),_0x200de8!==_0x11d7ce['MCPConnectionError'][_0x2f68fb(0x179)]&&(_0x1415ea===_0x11d7ce[_0x2f68fb(0x16e)][_0x2f68fb(0xfa)]||_0x200de8===_0x11d7ce[_0x2f68fb(0x133)][_0x2f68fb(0x1dd)])&&_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x13e),'children':_0x29df55['jsxs'](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x121),'children':[_0x29df55['jsx'](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x190),'children':'⚠️'}),_0x29df55[_0x2f68fb(0xd5)]('p',{'className':_0x2f68fb(0x1ed),'children':_0x2d385e(_0x200de8)})]})})]}),_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x11c),'children':_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':'univer-space-y-5','children':[_0x29df55[_0x2f68fb(0x1e1)]('div',{'className':_0x2f68fb(0x16a),'children':[_0x29df55['jsxs'](_0x2f68fb(0x110),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'children':'🔑'}),'\x20',_0x100060['t'](_0x2f68fb(0x15b)),_0x29df55['jsx'](_0x2f68fb(0xf3),{'className':'univer-text-red-500','children':'*'}),_0x4c1084&&_0x29df55['jsx']('a',{'className':_0x2f68fb(0x188),'title':_0x100060['t'](_0x2f68fb(0x164)),'role':'button','onClick':()=>_0x15585d(!0x0),'children':_0x29df55['jsx'](_0x5389a4,{})})]}),_0x29df55[_0x2f68fb(0xd5)](_0x52e2a8['Input'],{'type':'text','placeholder':_0x100060['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x5a61f8,'disabled':_0x2cd1ce,'autoComplete':_0x2f68fb(0x8a),'onChange':_0x1f3d94}),_0x29df55[_0x2f68fb(0xd5)]('p',{'className':_0x2f68fb(0x9c),'children':_0x100060['t'](_0x2f68fb(0x14a))})]}),_0x4c1084&&_0x3356bf&&_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xcb),'children':[_0x29df55['jsx']('a',{'className':_0x2f68fb(0x8e),'role':_0x2f68fb(0xe6),'onClick':()=>_0x15585d(!0x1),'children':_0x29df55[_0x2f68fb(0xd5)](_0x2fd5bd,{'className':_0x2f68fb(0x93)})}),_0x29df55['jsxs'](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x87),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1d5),'children':_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x198),'children':'🚀'})}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x16b),'children':[_0x29df55[_0x2f68fb(0xd5)]('h4',{'className':_0x2f68fb(0x1be),'children':_0x100060['t'](_0x2f68fb(0x164))}),_0x29df55[_0x2f68fb(0xd5)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x100060['t'](_0x2f68fb(0xf0))}),_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1fc),'children':_0x4efae1&&_0x29df55['jsxs']('a',{'className':_0x2f68fb(0x11a),'href':_0x251600,'target':_0x2f68fb(0x1fa),'rel':_0x2f68fb(0x13c),'children':[_0x29df55[_0x2f68fb(0xd5)]('span',{'children':'🤖'}),_0x100060['t'](_0x2f68fb(0x1d2)),_0x29df55['jsx']('span',{'className':_0x2f68fb(0x197),'children':'↗'})]})}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x19b),'children':['✨','\x20',_0x100060['t'](_0x2f68fb(0x15e))]})]})]})]}),_0x3bd09c[_0x2f68fb(0x1a4)]&&_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x29df55[_0x2f68fb(0x1e1)]('h4',{'className':_0x2f68fb(0x89),'children':[_0x29df55['jsx'](_0x2f68fb(0xf3),{'children':'🔗'}),'\x20',_0x100060['t'](_0x2f68fb(0x95))]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1c1),'children':[_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x10b),'children':[_0x29df55[_0x2f68fb(0xd5)]('p',{'className':_0x2f68fb(0xc4),'children':_0x100060['t'](_0x2f68fb(0xa8))}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x16a),'children':[_0x29df55['jsx']('div',{'className':_0x2f68fb(0xba),'children':_0x100060['t'](_0x2f68fb(0x134))}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1ef),'children':[_0x29df55[_0x2f68fb(0x1e1)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x100060['t'](_0x2f68fb(0xd7))]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x176),'children':[_0x29df55['jsx'](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x14c),'children':'2'}),_0x100060['t'](_0x2f68fb(0xaf))]}),_0x29df55['jsxs']('div',{'className':_0x2f68fb(0x176),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x14c),'children':'3'}),_0x100060['t'](_0x2f68fb(0xc9))]})]})]})]}),_0x29df55['jsxs'](_0x2f68fb(0x1f2),{'className':'univer-space-y-2','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xba),'children':'MCP\x20Configuration'}),_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xd2),'children':_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xc8),{'className':_0x2f68fb(0x1f9),'children':JSON[_0x2f68fb(0x118)]({'mcpServers':{'univer':{'url':_0x2f68fb(0x194)+(_0x455c89||_0x2f68fb(0x12e)),'type':_0x2f68fb(0x1e8),'headers':{'Authorization':_0x2f68fb(0xed)+(_0x5a61f8||'<API_KEY>')}}}},null,0x2)})})]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x10b),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xba),'children':_0x100060['t']('mcpConfig.configParameters')}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x16a),'children':[_0x29df55[_0x2f68fb(0x1e1)]('div',{'className':_0x2f68fb(0x12a),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1ec)}),_0x29df55[_0x2f68fb(0x1e1)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x1bb),'children':_0x2f68fb(0x10e)}),_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x9c),'children':_0x100060['t'](_0x2f68fb(0xc7))})]})]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1ec)}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x177),'children':[_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x1bb),'children':'Authorization:'}),_0x29df55[_0x2f68fb(0xd5)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x100060['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x29df55[_0x2f68fb(0xd5)](_0x52e2a8['Button'],{'onClick':_0x3806c7,'disabled':!_0x1dd1ff||_0x2cd1ce,'className':_0x2f68fb(0x16f),'children':_0x2cd1ce?_0x29df55[_0x2f68fb(0x1e1)]('span',{'className':_0x2f68fb(0x176),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'children':'⟲'}),_0x100060['t'](_0x2f68fb(0x100))]}):_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x176),'children':[_0x29df55['jsx'](_0x26e703,{}),_0x100060['t']('mcpConfig.save')]})}),_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x181),'children':[_0x29df55['jsx'](_0x2f68fb(0xf3),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1cb),'children':[_0x29df55['jsx'](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xd8),'children':_0x2f68fb(0x202)}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'children':['•',_0x100060['t']('mcpConfig.note1')]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'children':['•',_0x100060['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x3daa07=_0x23d6ef(0xac),_0x33a39c={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x8a2090=Object['getOwnPropertyDescriptor'],_0x5012ef=(_0x27c644,_0x5585d0,_0xae6d2c,_0x1c7b90)=>{const _0x407b19=_0x23d6ef;for(var _0xc45ce2=_0x1c7b90>0x1?void 0x0:_0x1c7b90?_0x8a2090(_0x5585d0,_0xae6d2c):_0x5585d0,_0x367494=_0x27c644[_0x407b19(0x15a)]-0x1,_0x5eb0dc;_0x367494>=0x0;_0x367494--)(_0x5eb0dc=_0x27c644[_0x367494])&&(_0xc45ce2=_0x5eb0dc(_0xc45ce2)||_0xc45ce2);return _0xc45ce2;},_0x8f8d67=(_0x6740f8,_0x1d853d)=>(_0x470cf5,_0x30423a)=>_0x1d853d(_0x470cf5,_0x30423a,_0x6740f8);const _0x23588e=_0x23d6ef(0x18d),_0x1d9969=_0x23d6ef(0xad);_0x7b0cd9[_0x23d6ef(0x19d)]=class extends _0x565954[_0x23d6ef(0x1e0)]{constructor(_0x3594e8,_0x4d366c,_0x4291ea,_0x228102,_0x348b7a,_0x43f472,_0xde5c53,_0x344b6d,_0x59d2dc,_0x4d3d93){const _0x350dda=_0x23d6ef;super(),_0x15162a(this,_0x350dda(0x169),new _0x8392e9[(_0x350dda(0x1a2))](!0x1)),_0x15162a(this,_0x350dda(0x1b9),new _0x8392e9['BehaviorSubject']({})),_0x15162a(this,_0x350dda(0x170),new _0x8392e9['BehaviorSubject']({})),_0x15162a(this,_0x350dda(0xde),new _0x8392e9[(_0x350dda(0x1a2))]('')),_0x15162a(this,_0x350dda(0xbf),async _0x1365e7=>{const _0xf145ed=_0x350dda;var _0x42e561,_0x1d1d14;this[_0xf145ed(0x169)][_0xf145ed(0x1e2)](!0x0);try{const _0xefc99c=await this['_validateConfig'](_0x1365e7);if(!_0xefc99c[_0xf145ed(0x203)]){this[_0xf145ed(0x165)]['show']({'type':_0x52e2a8[_0xf145ed(0x155)][_0xf145ed(0x191)],'content':_0xefc99c[_0xf145ed(0x182)]||this[_0xf145ed(0x180)]['t'](_0xf145ed(0x154))});return;}_0x1365e7['apiKey']?await this[_0xf145ed(0x140)][_0xf145ed(0x9a)](_0x23588e,_0x1365e7[_0xf145ed(0x131)][_0xf145ed(0x17a)]()):await this[_0xf145ed(0x140)]['removeItem'](_0x23588e),this['_apiKey$'][_0xf145ed(0x1e2)](((_0x42e561=_0x1365e7[_0xf145ed(0x131)])==null?void 0x0:_0x42e561[_0xf145ed(0x17a)]())||''),this['_mcpConnectionController'][_0xf145ed(0xce)]({'Authorization':_0xf145ed(0xed)+((_0x1d1d14=_0x1365e7[_0xf145ed(0x131)])==null?void 0x0:_0x1d1d14[_0xf145ed(0x17a)]())}),this[_0xf145ed(0x165)][_0xf145ed(0x1ba)]({'type':_0x52e2a8['MessageType']['Success'],'content':this[_0xf145ed(0x180)]['t'](_0xf145ed(0x150))}),setTimeout(()=>{const _0x2b4e89=_0xf145ed;this['_dialogService'][_0x2b4e89(0x86)](_0x1d9969);},0x320);}catch(_0xc84c3){this[_0xf145ed(0x15c)][_0xf145ed(0x146)](_0xf145ed(0x102),_0xc84c3),this[_0xf145ed(0x165)][_0xf145ed(0x1ba)]({'type':_0x52e2a8['MessageType'][_0xf145ed(0x191)],'content':this[_0xf145ed(0x180)]['t']('mcpConfig.configError')});}finally{this[_0xf145ed(0x169)][_0xf145ed(0x1e2)](!0x1);}}),(this[_0x350dda(0x114)]=_0x3594e8,this[_0x350dda(0xf7)]=_0x4d366c,this[_0x350dda(0x11e)]=_0x4291ea,this[_0x350dda(0x140)]=_0x228102,this[_0x350dda(0x15d)]=_0x348b7a,this['_messageService']=_0x43f472,this[_0x350dda(0x196)]=_0xde5c53,this[_0x350dda(0x180)]=_0x344b6d,this[_0x350dda(0x15c)]=_0x59d2dc,this[_0x350dda(0x120)]=_0x4d3d93,this[_0x350dda(0xdf)](),this[_0x350dda(0x174)](),this[_0x350dda(0xee)]());}[_0x23d6ef(0x161)](){const _0x30266b=_0x23d6ef,_0x22bbcb=this[_0x30266b(0x11e)][_0x30266b(0x1aa)](_0x3daa07);_0x22bbcb!=null&&_0x22bbcb[_0x30266b(0x1a4)]&&this['_dialogService']['open']({'id':_0x1d9969,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3fdb8f=_0x30266b;this[_0x3fdb8f(0x15d)]['close'](_0x1d9969);}});}[_0x23d6ef(0x160)](){const _0x4a852d=_0x23d6ef;return this['_mcpCoreConfig$'][_0x4a852d(0xeb)];}[_0x23d6ef(0xee)](){const _0x1d9027=_0x23d6ef;this[_0x1d9027(0xea)](this[_0x1d9027(0x196)][_0x1d9027(0x17b)]('MCPConfigPanel',this[_0x1d9027(0x1c5)]()));}[_0x23d6ef(0x1c5)](){const _0x204611=_0x23d6ef;return _0x388181['connectInjector'](()=>{const _0x275b2e=_0x59d4;var _0xf352a,_0x1e5182,_0x28604c;return _0x29df55[_0x275b2e(0xd5)](_0x4f0a4d,{'config':this[_0x275b2e(0x170)]['value'],'mcpCoreConfig':this[_0x275b2e(0x1b9)][_0x275b2e(0xeb)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x275b2e(0xbf)],'loading':this[_0x275b2e(0x169)]['value'],'connectionStatus$':(_0xf352a=this[_0x275b2e(0x120)])==null?void 0x0:_0xf352a[_0x275b2e(0x1ee)],'connectionError$':(_0x1e5182=this[_0x275b2e(0x120)])==null?void 0x0:_0x1e5182['connectionError$'],'currentSessionId$':(_0x28604c=this[_0x275b2e(0x120)])==null?void 0x0:_0x28604c[_0x275b2e(0x13d)]});},this[_0x204611(0x114)]);}[_0x23d6ef(0xdf)](){const _0x16e93e=_0x23d6ef;this[_0x16e93e(0xea)](this[_0x16e93e(0x11e)][_0x16e93e(0xe7)](_0x11d7ce[_0x16e93e(0x1bf)])[_0x16e93e(0xfd)](_0x5cd1f6=>{const _0x4307b9=_0x16e93e;this[_0x4307b9(0x1b9)]['next'](_0x5cd1f6||{});}));const _0x40f841=this['_configService'][_0x16e93e(0x1aa)](_0x11d7ce[_0x16e93e(0x1bf)]);this[_0x16e93e(0x1b9)][_0x16e93e(0x1e2)](_0x40f841||{}),this[_0x16e93e(0xea)](this['_configService'][_0x16e93e(0xe7)](_0x3daa07)[_0x16e93e(0xfd)](_0x122d49=>{const _0x5ebc62=_0x16e93e;this[_0x5ebc62(0x170)][_0x5ebc62(0x1e2)](_0x122d49||{});}));const _0x50362b=this[_0x16e93e(0x11e)]['getConfig'](_0x3daa07);this[_0x16e93e(0x170)]['next'](_0x50362b||{});}async[_0x23d6ef(0x174)](){const _0x8b4d41=_0x23d6ef,_0x5de422=this[_0x8b4d41(0x11e)]['getConfig'](_0x3daa07);if(!(_0x5de422!=null&&_0x5de422[_0x8b4d41(0x1a4)]))return;const _0x1f2133=await this[_0x8b4d41(0x140)][_0x8b4d41(0x1a7)](_0x23588e);_0x1f2133&&(this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x8b4d41(0xed)+_0x1f2133}),this['_apiKey$']['next'](_0x1f2133));}async['_validateConfig'](_0x217b23){const _0x2fcda0=_0x23d6ef;if(!_0x217b23[_0x2fcda0(0x131)]||_0x217b23[_0x2fcda0(0x131)][_0x2fcda0(0x17a)]()[_0x2fcda0(0x15a)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x2fcda0(0x180)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x217b23[_0x2fcda0(0x131)][_0x2fcda0(0x17a)]()[_0x2fcda0(0x15a)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x2fcda0(0x180)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x56fc3b=await this['_injector'][_0x2fcda0(0x205)](_0x11d7ce[_0x2fcda0(0xd3)])['validateApiKey'](_0x217b23[_0x2fcda0(0x131)][_0x2fcda0(0x17a)]());return _0x56fc3b[_0x2fcda0(0x203)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x56fc3b[_0x2fcda0(0x146)]||this['_localeService']['t'](_0x2fcda0(0x18e))};}catch(_0x4ca58b){return console[_0x2fcda0(0x7e)](_0x2fcda0(0xcc),_0x4ca58b),{'isValid':!0x0};}}},_0x7b0cd9['MCPConfigUIController']=_0x5012ef([_0x8f8d67(0x0,_0x565954['Inject'](_0x565954[_0x23d6ef(0x204)])),_0x8f8d67(0x1,_0x388181[_0x23d6ef(0x206)]),_0x8f8d67(0x2,_0x565954[_0x23d6ef(0x185)]),_0x8f8d67(0x3,_0x565954[_0x23d6ef(0xb1)]),_0x8f8d67(0x4,_0x388181[_0x23d6ef(0x142)]),_0x8f8d67(0x5,_0x388181[_0x23d6ef(0x1c2)]),_0x8f8d67(0x6,_0x565954[_0x23d6ef(0x78)](_0x388181['ComponentManager'])),_0x8f8d67(0x7,_0x565954[_0x23d6ef(0x78)](_0x565954[_0x23d6ef(0x1d8)])),_0x8f8d67(0x8,_0x565954['ILogService']),_0x8f8d67(0x9,_0x565954[_0x23d6ef(0x78)](_0x11d7ce[_0x23d6ef(0xd3)]))],_0x7b0cd9['MCPConfigUIController']);const _0xf415e5={'id':_0x23d6ef(0x9f),'type':_0x565954['CommandType']['COMMAND'],'handler':async(_0x204ad6,_0x214b9f)=>(_0x204ad6[_0x23d6ef(0x205)](_0x7b0cd9['MCPConfigUIController'])['showConfigPanel'](),!0x0)};function _0x6aaea0(_0x413445,_0x1aeb8f){const _0x5bcc6e=_0x23d6ef;switch(_0x413445){case _0x11d7ce[_0x5bcc6e(0x16e)][_0x5bcc6e(0x116)]:return'mcpStatus.disconnected';case _0x11d7ce['MCPConnectionStatus'][_0x5bcc6e(0x1f4)]:return'mcpStatus.connecting';case _0x11d7ce[_0x5bcc6e(0x16e)][_0x5bcc6e(0x12b)]:return _0x5bcc6e(0x1b4);case _0x11d7ce[_0x5bcc6e(0x16e)][_0x5bcc6e(0xfa)]:switch(_0x1aeb8f){case _0x11d7ce[_0x5bcc6e(0x133)][_0x5bcc6e(0x1dd)]:return _0x5bcc6e(0xf5);case _0x11d7ce[_0x5bcc6e(0x133)][_0x5bcc6e(0x1c3)]:return'mcpStatus.sessionOccupied';case _0x11d7ce[_0x5bcc6e(0x133)]['NETWORK_ERROR']:return _0x5bcc6e(0x104);case _0x11d7ce['MCPConnectionError'][_0x5bcc6e(0x1b0)]:return _0x5bcc6e(0x17c);default:return _0x5bcc6e(0x156);}case _0x11d7ce[_0x5bcc6e(0x16e)][_0x5bcc6e(0x19a)]:return'mcpStatus.retrying';default:return _0x5bcc6e(0x1ae);}}function _0x58f062(_0x5938ac,_0x1d9311,_0x46048e,_0x24f78f=!0x0){const _0x4ca1e7=_0x23d6ef,_0x44f2fb=_0x6aaea0(_0x5938ac,_0x1d9311),_0x308712=_0x46048e['t'](_0x44f2fb);return _0x24f78f?_0x5938ac===_0x11d7ce[_0x4ca1e7(0x16e)]['DISCONNECTED']&&_0x1d9311===_0x11d7ce[_0x4ca1e7(0x133)][_0x4ca1e7(0x1dd)]?_0x308712+_0x4ca1e7(0xbe)+_0x46048e['t'](_0x4ca1e7(0xb7)):_0x5938ac===_0x11d7ce['MCPConnectionStatus'][_0x4ca1e7(0x12b)]?''+_0x308712:_0x5938ac===_0x11d7ce[_0x4ca1e7(0x16e)]['DISCONNECTED']||_0x5938ac===_0x11d7ce[_0x4ca1e7(0x16e)][_0x4ca1e7(0xfa)]?_0x308712+'\x20-\x20'+_0x46048e['t'](_0x4ca1e7(0x1b1)):_0x308712:_0x308712;}function _0x38fd50(_0x46530d){const _0x3d49db=_0x23d6ef;switch(_0x46530d){case _0x11d7ce['MCPConnectionStatus'][_0x3d49db(0x12b)]:return _0x3d49db(0x1e7);case _0x11d7ce[_0x3d49db(0x16e)][_0x3d49db(0x1f4)]:case _0x11d7ce[_0x3d49db(0x16e)][_0x3d49db(0x19a)]:return _0x3d49db(0xa4);case _0x11d7ce[_0x3d49db(0x16e)]['FAILED']:case _0x11d7ce[_0x3d49db(0x16e)][_0x3d49db(0x116)]:return _0x3d49db(0x1a3);default:return _0x3d49db(0x192);}}function _0x341c6d(_0x311766){const _0x484888=_0x23d6ef,{status$:_0x548fbe,error$:_0x43e3c2,onConfigure:_0x9ae96f,showClickable:_0x390baf=!0x0}=_0x311766,_0x3fe765=_0x388181[_0x484888(0x1ab)](_0x548fbe,_0x11d7ce['MCPConnectionStatus'][_0x484888(0x116)]),_0x27bf6b=_0x388181['useObservable'](_0x43e3c2,_0x11d7ce[_0x484888(0x133)]['NONE']),_0xcf0d48=_0x388181[_0x484888(0x1cc)](_0x565954[_0x484888(0x1d8)]),_0x3e5bd2=_0x3fe765===_0x11d7ce[_0x484888(0x16e)][_0x484888(0x12b)];_0x3fe765===_0x11d7ce[_0x484888(0x16e)][_0x484888(0x1f4)]||_0x11d7ce['MCPConnectionStatus'][_0x484888(0x19a)];const _0x36eec2=_0xcf0d48['t'](_0x6aaea0(_0x3fe765,_0x27bf6b)),_0x898f00=_0x58f062(_0x3fe765,_0x27bf6b,_0xcf0d48,_0x390baf),_0x50c6e5=_0x38fd50(_0x3fe765),_0x594e3a=_0x3e5bd2?_0x29df55[_0x484888(0xd5)](_0x32386a,{}):_0x29df55[_0x484888(0xd5)](_0x40992d,{}),_0x516264=_0x1646d9[_0x484888(0x163)](()=>{_0x390baf&&_0x9ae96f&&_0x9ae96f();},[_0x390baf,_0x9ae96f]);function _0x8e8738(){const _0x47d1ce=_0x484888;return _0x29df55[_0x47d1ce(0x1e1)](_0x47d1ce(0x1f2),{'className':_0x52e2a8[_0x47d1ce(0xdd)]('univer-flex\x20univer-items-center',_0x390baf&&_0x9ae96f&&_0x47d1ce(0x184)),'role':'button','onClick':_0x390baf&&_0x9ae96f?_0x516264:void 0x0,'children':[_0x29df55[_0x47d1ce(0xd5)](_0x47d1ce(0x1f2),{'className':_0x52e2a8[_0x47d1ce(0xdd)](_0x47d1ce(0x1ca),_0x50c6e5),'children':_0x594e3a}),_0x29df55['jsx'](_0x47d1ce(0x1f2),{'className':_0x47d1ce(0x88),'children':_0x36eec2})]});}return _0x29df55[_0x484888(0xd5)](_0x52e2a8[_0x484888(0x18c)],{'title':_0x898f00,'placement':'bottom','children':_0x8e8738()});}var _0x4abf0e=Object[_0x23d6ef(0x152)],_0x5a1dd7=(_0x274c23,_0x4b96d5,_0x90f237,_0x57d9cc)=>{for(var _0x2920d6=_0x57d9cc>0x1?void 0x0:_0x57d9cc?_0x4abf0e(_0x4b96d5,_0x90f237):_0x4b96d5,_0x2509c7=_0x274c23['length']-0x1,_0xd43d25;_0x2509c7>=0x0;_0x2509c7--)(_0xd43d25=_0x274c23[_0x2509c7])&&(_0x2920d6=_0xd43d25(_0x2920d6)||_0x2920d6);return _0x2920d6;},_0x18429b=(_0x5e3a0e,_0xd96e6b)=>(_0x949963,_0x6542d0)=>_0xd96e6b(_0x949963,_0x6542d0,_0x5e3a0e);_0x7b0cd9[_0x23d6ef(0x127)]=class extends _0x565954['Disposable']{constructor(_0x4205b1,_0x16729d,_0x114740,_0x1bfa77){const _0x49d947=_0x23d6ef;super(),this[_0x49d947(0x114)]=_0x4205b1,this[_0x49d947(0x1e5)]=_0x16729d,this[_0x49d947(0xf7)]=_0x114740,this[_0x49d947(0x11e)]=_0x1bfa77,this[_0x49d947(0xaa)](),this['_initStatusComponent']();}[_0x23d6ef(0xaa)](){const _0x27ec67=_0x23d6ef,_0x50a971=this[_0x27ec67(0x11e)]['getConfig'](_0x3daa07);_0x50a971!=null&&_0x50a971[_0x27ec67(0x1a4)]&&(this[_0x27ec67(0x1e5)][_0x27ec67(0x186)]=!0x1);}[_0x23d6ef(0x8f)](){const _0x410c07=_0x23d6ef,_0x6ca4de=this[_0x410c07(0x11e)][_0x410c07(0x1aa)](_0x3daa07);(_0x6ca4de==null?void 0x0:_0x6ca4de[_0x410c07(0x14f)])!==!0x1&&this[_0x410c07(0xea)](this['_uiPartsService'][_0x410c07(0xef)](_0x388181[_0x410c07(0xb4)][_0x410c07(0x1e4)],()=>{const _0x705e16=_0x410c07;var _0x5316b2;return _0x388181['connectInjector'](_0x554a63({'status$':this[_0x705e16(0x1e5)][_0x705e16(0x1ee)],'error$':this[_0x705e16(0x1e5)][_0x705e16(0x7a)],'onConfigure':()=>this[_0x705e16(0x153)](),'showClickable':(_0x5316b2=_0x6ca4de==null?void 0x0:_0x6ca4de[_0x705e16(0x1a4)])!=null?_0x5316b2:!0x1}),this['_injector']);}));}[_0x23d6ef(0x153)](){const _0x2caf2d=_0x23d6ef;this['_injector']['get'](_0x7b0cd9[_0x2caf2d(0x19d)])[_0x2caf2d(0x161)]();}},_0x7b0cd9[_0x23d6ef(0x127)]=_0x5a1dd7([_0x18429b(0x0,_0x565954[_0x23d6ef(0x78)](_0x565954[_0x23d6ef(0x204)])),_0x18429b(0x1,_0x565954[_0x23d6ef(0x78)](_0x11d7ce[_0x23d6ef(0xd3)])),_0x18429b(0x2,_0x388181[_0x23d6ef(0x206)]),_0x18429b(0x3,_0x565954['IConfigService'])],_0x7b0cd9['MCPConnectionUIController']);function _0x554a63(_0x14f8bf){const {status$:_0x5c4442,error$:_0x1b0725,onConfigure:_0x3eeefd,showClickable:_0xc84e76}=_0x14f8bf;return function(){const _0x23079d=_0x59d4;return _0x29df55[_0x23079d(0xd5)](_0x341c6d,{'status$':_0x5c4442,'error$':_0x1b0725,'onConfigure':_0x3eeefd,'showClickable':_0xc84e76});};}function _0x9d143c(_0x40b284){const _0x11b22a=_0x23d6ef;return{'id':_0xf415e5['id'],'type':_0x388181['MenuItemType']['BUTTON'],'icon':_0x11b22a(0xc1),'title':'mcpConfig.title','tooltip':_0x11b22a(0xab)};}const _0x425f28={[_0x388181[_0x23d6ef(0xc6)][_0x23d6ef(0x13b)]]:{[_0xf415e5['id']]:{'order':0xa,'menuItemFactory':_0x9d143c}}};var _0x1ebbbd=Object[_0x23d6ef(0x152)],_0x3e4d34=(_0x220cb1,_0x4e55f1,_0x25ba30,_0x3ba2fc)=>{for(var _0x21de38=_0x3ba2fc>0x1?void 0x0:_0x3ba2fc?_0x1ebbbd(_0x4e55f1,_0x25ba30):_0x4e55f1,_0x35fb0c=_0x220cb1['length']-0x1,_0x3878c9;_0x35fb0c>=0x0;_0x35fb0c--)(_0x3878c9=_0x220cb1[_0x35fb0c])&&(_0x21de38=_0x3878c9(_0x21de38)||_0x21de38);return _0x21de38;},_0x26ac0b=(_0x72aa56,_0x9f673c)=>(_0x58ffcd,_0x428912)=>_0x9f673c(_0x58ffcd,_0x428912,_0x72aa56);_0x7b0cd9['MCPUIMenuController']=class extends _0x565954[_0x23d6ef(0x1e0)]{constructor(_0x18d512,_0x27f477){const _0x2111ea=_0x23d6ef;super(),this[_0x2111ea(0x79)]=_0x18d512,this['_menuManagerService']=_0x27f477,this[_0x2111ea(0x1fb)](),this[_0x2111ea(0x1fd)]();}['_initializeCommands'](){const _0x146095=_0x23d6ef;[_0xf415e5][_0x146095(0x85)](_0x2ca557=>{const _0x5ee19d=_0x146095;this['disposeWithMe'](this['_commandService'][_0x5ee19d(0x8b)](_0x2ca557));});}[_0x23d6ef(0x1fd)](){const _0x2ca47b=_0x23d6ef;this[_0x2ca47b(0x19e)][_0x2ca47b(0xfb)](_0x425f28);}},_0x7b0cd9[_0x23d6ef(0x108)]=_0x3e4d34([_0x26ac0b(0x0,_0x565954[_0x23d6ef(0xdb)]),_0x26ac0b(0x1,_0x388181[_0x23d6ef(0x12c)])],_0x7b0cd9[_0x23d6ef(0x108)]);const _0x542875={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x23d6ef(0xa6),'failed':_0x23d6ef(0x1e6),'retrying':_0x23d6ef(0x90),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x23d6ef(0x15f),'networkError':_0x23d6ef(0x107),'maxRetriesExceeded':_0x23d6ef(0x162),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x23d6ef(0x1d3),'description':_0x23d6ef(0x172),'apiKey':_0x23d6ef(0x123),'apiKeyPlaceholder':_0x23d6ef(0x117),'apiKeyHint':_0x23d6ef(0xae),'enableAuth':_0x23d6ef(0x1a8),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x23d6ef(0x1d4),'mcpClientConfig':_0x23d6ef(0x1d4),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x23d6ef(0x12f),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x23d6ef(0x91),'configStep3':_0x23d6ef(0x96),'sessionId':_0x23d6ef(0x112),'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':_0x23d6ef(0x1c4),'maxRetries':_0x23d6ef(0x178),'save':_0x23d6ef(0xc0),'saving':_0x23d6ef(0xf8),'note1':_0x23d6ef(0xcd),'note2':_0x23d6ef(0x157),'configSaved':_0x23d6ef(0x1da),'configError':_0x23d6ef(0x80),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x23d6ef(0x12d),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x23d6ef(0x8c),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x23d6ef(0x158)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x23d6ef(0x18b),'connected':_0x23d6ef(0x14b),'failed':_0x23d6ef(0xf4),'retrying':_0x23d6ef(0x1df)},'connectionError':{'unauthorized':_0x23d6ef(0xf6),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x23d6ef(0x19c),'maxRetriesExceeded':_0x23d6ef(0x1b2)}}},_0xb32030={'mcpStatus':{'disconnected':_0x23d6ef(0xe0),'connecting':_0x23d6ef(0xc5),'connected':_0x23d6ef(0xd4),'failed':'MCP\x20连接失败','retrying':_0x23d6ef(0x1d1),'unknown':_0x23d6ef(0x1c7),'unauthorized':_0x23d6ef(0x13f),'sessionOccupied':_0x23d6ef(0x1ea),'networkError':_0x23d6ef(0x7d),'maxRetriesExceeded':_0x23d6ef(0x7f),'clickToConnect':_0x23d6ef(0x1b6),'clickToConfigure':_0x23d6ef(0x17f)},'mcpConfig':{'title':'MCP\x20配置','description':_0x23d6ef(0x1bc),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x23d6ef(0x1c0),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x23d6ef(0xd6),'mcpClientConfig':_0x23d6ef(0xd6),'configInstructions':_0x23d6ef(0x9d),'configStepTitle':'配置步骤:','configStep1':_0x23d6ef(0x1f1),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x23d6ef(0x98),'sessionId':_0x23d6ef(0x128),'sessionIdDescription':_0x23d6ef(0x167),'authorizationDescription':_0x23d6ef(0x16d),'configParameters':_0x23d6ef(0x149),'maxRetries':_0x23d6ef(0x82),'save':_0x23d6ef(0x10c),'saving':_0x23d6ef(0x122),'note1':_0x23d6ef(0x1fe),'note2':_0x23d6ef(0x130),'configSaved':_0x23d6ef(0xb8),'configError':_0x23d6ef(0xb3),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x23d6ef(0x1a1),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x23d6ef(0x1f0)},'validation':{'apiKeyRequired':_0x23d6ef(0x1cf),'apiKeyTooShort':_0x23d6ef(0x173),'invalidConfig':'配置无效','invalidApiKey':_0x23d6ef(0x1f5)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x23d6ef(0x1f7),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x23d6ef(0xd0),'sessionOccupied':_0x23d6ef(0x199),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x1e47cd=Object[_0x23d6ef(0x1d7)],_0x56beb1=Object[_0x23d6ef(0x152)],_0x313903=(_0x3c4cbe,_0x55e5f0,_0x1fff1b)=>_0x55e5f0 in _0x3c4cbe?_0x1e47cd(_0x3c4cbe,_0x55e5f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fff1b}):_0x3c4cbe[_0x55e5f0]=_0x1fff1b,_0x1f9447=(_0x2eda6e,_0x17dd2e,_0x4469aa,_0x17d5b3)=>{const _0xf42c8b=_0x23d6ef;for(var _0x11e118=_0x17d5b3>0x1?void 0x0:_0x17d5b3?_0x56beb1(_0x17dd2e,_0x4469aa):_0x17dd2e,_0x457c34=_0x2eda6e[_0xf42c8b(0x15a)]-0x1,_0x479fda;_0x457c34>=0x0;_0x457c34--)(_0x479fda=_0x2eda6e[_0x457c34])&&(_0x11e118=_0x479fda(_0x11e118)||_0x11e118);return _0x11e118;},_0x48226c=(_0x148666,_0x13a848)=>(_0x3b0d6f,_0x452261)=>_0x13a848(_0x3b0d6f,_0x452261,_0x148666),_0xec0e5d=(_0x3e53b9,_0x507a45,_0x4ecca4)=>_0x313903(_0x3e53b9,_0x507a45+'',_0x4ecca4);_0x7b0cd9[_0x23d6ef(0xbb)]=class extends _0x565954[_0x23d6ef(0x1dc)]{constructor(_0x59fa98=_0x33a39c,_0x3b5eff,_0x4ee90e,_0xca73f8,_0xd01536,_0x13bec8){const _0x919a32=_0x23d6ef;super(),this[_0x919a32(0xb0)]=_0x59fa98,this[_0x919a32(0x114)]=_0x3b5eff,this[_0x919a32(0x11e)]=_0x4ee90e,this['_uiPartsService']=_0xca73f8,this[_0x919a32(0x140)]=_0xd01536,this[_0x919a32(0x180)]=_0x13bec8;const {..._0x221d2f}=_0x565954[_0x919a32(0xe8)]({},_0x33a39c,this[_0x919a32(0xb0)]);this[_0x919a32(0x11e)][_0x919a32(0x139)](_0x3daa07,_0x221d2f);}async[_0x23d6ef(0xcf)](){const _0x21ba4b=_0x23d6ef,_0x546f4d=[[_0x7b0cd9['MCPConnectionUIController']],[_0x7b0cd9[_0x21ba4b(0x19d)]],[_0x7b0cd9[_0x21ba4b(0x108)]]];this[_0x21ba4b(0x114)][_0x21ba4b(0x99)](_0x33bfb2[_0x21ba4b(0xbc)])||_0x546f4d[_0x21ba4b(0xb2)]([_0x33bfb2['ISocketService'],{'useClass':_0x33bfb2[_0x21ba4b(0x1f3)]}]),_0x546f4d['forEach'](_0x329c17=>this[_0x21ba4b(0x114)][_0x21ba4b(0x132)](_0x329c17)),this[_0x21ba4b(0x114)][_0x21ba4b(0x205)](_0x7b0cd9['MCPConnectionUIController']),this[_0x21ba4b(0x114)][_0x21ba4b(0x205)](_0x7b0cd9[_0x21ba4b(0x19d)]),this['_injector'][_0x21ba4b(0x205)](_0x7b0cd9[_0x21ba4b(0x108)]);}},_0xec0e5d(_0x7b0cd9[_0x23d6ef(0xbb)],_0x23d6ef(0x1a9),_0x23d6ef(0x105)),_0x7b0cd9[_0x23d6ef(0xbb)]=_0x1f9447([_0x565954['DependentOn'](_0x11d7ce[_0x23d6ef(0x144)]),_0x48226c(0x1,_0x565954[_0x23d6ef(0x78)](_0x565954[_0x23d6ef(0x204)])),_0x48226c(0x2,_0x565954[_0x23d6ef(0x185)]),_0x48226c(0x3,_0x388181[_0x23d6ef(0x206)]),_0x48226c(0x4,_0x565954['ILocalStorageService']),_0x48226c(0x5,_0x565954[_0x23d6ef(0x78)](_0x565954[_0x23d6ef(0x1d8)]))],_0x7b0cd9['UniverMCPUIPlugin']),_0x7b0cd9[_0x23d6ef(0x7c)]=_0x4f0a4d,_0x7b0cd9['MCPStatusDisplay']=_0x341c6d,_0x7b0cd9[_0x23d6ef(0xb5)]=_0xf415e5,_0x7b0cd9['enUS']=_0x542875,_0x7b0cd9[_0x23d6ef(0x137)]=_0xb32030,Object[_0x23d6ef(0x1d7)](_0x7b0cd9,Symbol[_0x23d6ef(0x113)],{'value':_0x23d6ef(0x1d9)});}));
|
|
1
|
+
function _0x8e68(){const _0x592ebe=['merge','mcpConfig.apiApplyInfo.description','disposeWithMe','UniverDesign','API\x20key\x20with\x20Bearer\x20prefix.','mcpStatus.failed','_initAutoConnect','RibbonStartGroup','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','substring','MCPConnectionError','UniverMCPPlugin','_blank','启用身份验证以获得安全连接','MCP\x20连接中...','Max\x20Retries','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','MAX_RETRIES_EXCEEDED','validateApiKey','mergeMenu','connectInjector','11682968tqyFxO','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','react/jsx-runtime','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-flex\x20univer-items-center','最大重试次数','Disconnected','useDependency','API\x20Key','_mcpConnectionController','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enUS','off-line-icon_clip0_910_343','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCP:\x20超出最大重试次数','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','button','show','@univerjs/design','univer-mr-2\x20univer-flex\x20univer-text-xl','MCPConnectionUIController','CommandType','MCP\x20Connected','MCP\x20配置','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','displayName','span','zhCN','exports','API\x20key\x20is\x20required','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','CONNECTING','mcpStatus.networkError','Authorization:','entries','_initializeCommands','COMMAND','What\x20is\x20API\x20Key?','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Retrying...','mcpConfig.configStep1','mcpConfig.connectionInfo','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','OTHERS','path','_handleConfigSave','ILogService','mcpConfig.connectionStatus.connected','配置保存失败','off','LocaleService','Saving...','push','MenuItemType','Copy\x20the\x20JSON\x20configuration\x20below','clsx','jsxs','MenuIcon','mcpConfig.connectionError.sessionOccupied','_config','配置无效','mcpStatus.clickToConnect','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','点击连接\x20MCP','mcpConfig.configStep2','103508RdaNIa','enableAutoConnect','CheckMarkIcon','Configuration\x20Parameters:','none','mcpConfig.apiKeyPlaceholder','univer-flex\x20univer-gap-3','evenodd','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','9jwQLdE','univer-flex-1','_injector','mcpServerUrl','@univerjs/network','removeItem','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','defIds','NETWORK_ERROR','API\x20密钥长度至少需要\x2010\x20位','MCP:\x20Session\x20ID\x20Occupied','Session\x20ID','defs','defineProperty','未连接','DISCONNECTED','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','register','univer-text-blue-600','value','MCP\x20客户端配置','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','配置保存成功','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','_localeService','replace','Inject','Button','mcpConfig.connectionStatus.failed','CONNECTED','svg','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','ICommandService','on-line-icon_clip0_910_349','您的\x20API\x20密钥安全存储在本地存储中','white','getOwnPropertyDescriptor','univer-flex\x20univer-items-center\x20univer-gap-3','Click\x20to\x20configure\x20MCP','mcp-ui.config','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_config$','noopener\x20noreferrer','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','xlink:href','UniverMCPUIPlugin','MCP_PLUGIN_CONFIG_KEY','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','connectionStatus$','_loading$','请输入您的\x20API\x20密钥','4zKsijz','MCP\x20Retrying...','mcpStatus.disconnected','RETRYING','tag','IConfigService','close','点击配置\x20MCP','_commandService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.connectionStatus.connecting','getCurrentConfig','保存配置','on-line-icon','forwardRef','0\x200\x2016\x2016','超出最大重试次数,请稍后再试','check-mark-icon','_validateConfig','univer-text-red-500','mcpConfig.apiApplyInfo.getStarted','univer-text-xs\x20univer-text-gray-600','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-text-gray-500','mcpConfig.connectionError.unauthorized','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','__setCustomHeaders','Plugin','FAILED','_handleConfigure','_messageService','@univerjs/ui','_apiKey$','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','_initializeMenus','Enable\x20Authentication','univer-shrink-0\x20univer-text-blue-500','mcpConfig.configInstructions','HEADER_MENU','current','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children','stringify','BUTTON','mcp.apiKey','您的\x20API\x20密钥将在此浏览器中本地存储','idSuffix','https://mcp.univer.ai/mcp/?univer_session_id=','subscribeConfigValue$','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcpConfig.configSaved','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','symbol','MCP\x20连接失败','has','Enable\x20authentication\x20for\x20secure\x20connections','135184eMPvOI','includes','showConfigPanel','univer-text-sm\x20univer-text-gray-500','mcpConfig.authorizationDescription','useObservable','MCP:\x20会话\x20ID\x20已被占用','univer-size-4','univer-text-white','mcpConfig.note1','sessionId$','univer-bg-red-500','MCP_UI_PLUGIN','UniverProMcp','mcpStatus.unauthorized','UniverIcon','API\x20密钥无效,请检查密钥是否正确','rxjs','next','mcpConfig.configStep3','onStarting','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','useState','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.validation.invalidApiKey','MCP\x20Connection\x20Failed','mcpConfig.configStepTitle','ISocketService','IDialogService','Connecting...','univer-text-sm\x20univer-font-medium','Injector','重启您的\x20MCP\x20客户端以使配置生效','http','univer-space-y-2','会话ID','Univer\x20AI\x20控制台','MCPStatusDisplay','1em','\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','Module','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','showDeveloperTools','mcpConfig.apiKey','help-icon','连接失败','重连中...','_configService','object','API\x20密钥','MCP\x20Connecting...','univer-space-y-3','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','MCPConfigPanel','createElement','MCPConfigUIController','Configuration\x20Notes:','colorChannel1','univer-flex\x20univer-items-center\x20univer-gap-2','toStringTag','univer-min-w-0\x20univer-flex-1','url(#off-line-icon_clip0_910_343)','_loadStoredApiKey','@univerjs/core','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcpConfig.title','_createConfigPanelComponent','mcpConfig.save','OnLineIcon','MCPUIMenuController','6zgdzeN','clipPath','mcpConfig.apiApplyInfo.title','HelpIcon','_menuManagerService','jsx','MCP\x20已断开','Connection\x20Failed','已连接','_initStatusComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','div','配置步骤:','Click\x20to\x20connect\x20MCP','mcpConfig.connectionError.networkError','apiKey','_dialogService','registerComponent','Error','\x20-\x20','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-flex\x20univer-items-start\x20univer-gap-3','mcp-config-dialog','forEach','mcpStatus.connected','mcpConfig.connectionStatus.disconnected','univer-bg-gray-500','SESSION_ID_OCCUPIED','<SESSION_ID>','MCP\x20状态未知','length','univer.ai','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-size-2\x20univer-rounded-full','mcpConfig.note2','mask','attrs','API\x20密钥不能为空','pre','MCPConnectionController','string','_uiPartsService','off-line-icon','mcpStatus.retrying','currentColor','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer_session_id:','NONE','mcpConfig.sessionIdDescription','React','启用身份验证','UNAUTHORIZED','getConfig','214856HdORRL','useCallback','MCP\x20已连接','MCPConnectionStatus','Configuration\x20Steps:','univer.plus','@univerjs-pro/mcp','ILocalStorageService','BehaviorSubject','univer-flex\x20univer-items-start\x20univer-gap-2','_localStorageService','function','什么是\x20API\x20密钥?','将以下配置添加到您的\x20MCP\x20客户端设置中:','UniverProMcpUi','getItem','mcpStatus.maxRetriesExceeded','isValid','保存中...','mcpConfig.connectionError.maxRetriesExceeded','http://www.w3.org/2000/svg','_mcpCoreConfig$','univer-font-medium','MCP:\x20Max\x20Retries\x20Exceeded','univer-bg-blue-500','connectionError$','pluginName','subscribe','CloseIcon','fill','univer-bg-green-500','_componentManager','errorMessage','Input','网络连接错误,请检查您的网络连接','MessageType','IMessageService','error','univer-text-xs\x20univer-text-gray-500','MCP\x20Configuration','Bearer\x20','2101580xmQFQP','mcpConfig.apiApplyInfo.univerAiLabel','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.description','https://console.univer.ai','33RfetKC','assign','mcpConfig.validation.apiKeyTooShort','Connected','ComponentManager','round','react','Disposable','5566141jwyJho','M0\x200H16V16H0z','Invalid\x20configuration','univer-space-y-5','mcpStatus.sessionOccupied','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','get','Failed\x20to\x20save\x20configuration','_registerComponent','2646090JmrTAC','UniverCore','useRef','Configuration\x20saved\x20successfully','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','trim','配置参数:','_logService','_connectionController'];_0x8e68=function(){return _0x592ebe;};return _0x8e68();}function _0x38b5(_0x136a26,_0x360d84){_0x136a26=_0x136a26-0x148;const _0x8e686f=_0x8e68();let _0x38b546=_0x8e686f[_0x136a26];return _0x38b546;}(function(_0x551d4e,_0x2924e9){const _0x458f66=_0x38b5,_0xf50659=_0x551d4e();while(!![]){try{const _0x2270cf=parseInt(_0x458f66(0x296))/0x1*(parseInt(_0x458f66(0x2cf))/0x2)+parseInt(_0x458f66(0x1e5))/0x3*(-parseInt(_0x458f66(0x259))/0x4)+-parseInt(_0x458f66(0x1df))/0x5*(-parseInt(_0x458f66(0x180))/0x6)+parseInt(_0x458f66(0x1ed))/0x7+parseInt(_0x458f66(0x1b6))/0x8*(parseInt(_0x458f66(0x262))/0x9)+parseInt(_0x458f66(0x1f6))/0xa+-parseInt(_0x458f66(0x217))/0xb;if(_0x2270cf===_0x2924e9)break;else _0xf50659['push'](_0xf50659['shift']());}catch(_0x3365af){_0xf50659['push'](_0xf50659['shift']());}}}(_0x8e68,0x691f2),function(_0x1396c1,_0x4bdaf9){const _0x25678d=_0x38b5;typeof exports==_0x25678d(0x16a)&&typeof module<'u'?_0x4bdaf9(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==_0x25678d(0x1c1)&&define['amd']?define([_0x25678d(0x233),_0x25678d(0x179),_0x25678d(0x219),_0x25678d(0x1bc),_0x25678d(0x229),_0x25678d(0x2b5),_0x25678d(0x14a),_0x25678d(0x1eb),_0x25678d(0x266)],_0x4bdaf9):(_0x1396c1=typeof globalThis<'u'?globalThis:_0x1396c1||self,_0x4bdaf9(_0x1396c1[_0x25678d(0x1c4)]={},_0x1396c1[_0x25678d(0x1f7)],_0x1396c1['React'],_0x1396c1[_0x25678d(0x2dc)],_0x1396c1[_0x25678d(0x202)],_0x1396c1['UniverUi'],_0x1396c1[_0x25678d(0x14a)],_0x1396c1[_0x25678d(0x1b2)],_0x1396c1['UniverNetwork']));}(this,function(_0x10f8ba,_0x59ed17,_0x25fcc3,_0x104908,_0x1dd99f,_0x27a117,_0x555dc6,_0x36b061,_0x429f45){'use strict';const _0x143479=_0x38b5;var _0x4ef16b=Object[_0x143479(0x26f)],_0x384a9f=(_0x3e8f02,_0x42525d,_0x20339d)=>_0x42525d in _0x3e8f02?_0x4ef16b(_0x3e8f02,_0x42525d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20339d}):_0x3e8f02[_0x42525d]=_0x20339d,_0x140a91=(_0xb1ef64,_0x5f28e5,_0x50ac67)=>_0x384a9f(_0xb1ef64,typeof _0x5f28e5!=_0x143479(0x2cb)?_0x5f28e5+'':_0x5f28e5,_0x50ac67);function _0x4d18fd({ref:_0x79fd7e,..._0x4c21a7}){const _0x4ac377=_0x143479,{icon:_0x36efc9,id:_0x187b9e,className:_0x2f6d67,extend:_0x54c1f9,..._0x3bf358}=_0x4c21a7,_0x3d83d8=('univerjs-icon\x20univerjs-icon-'+_0x187b9e+'\x20'+(_0x2f6d67||''))[_0x4ac377(0x1fb)](),_0x62e70b=_0x36b061[_0x4ac377(0x1f8)]('_'+_0xe96649());return _0xf8cbe1(_0x36efc9,''+_0x187b9e,{'defIds':_0x36efc9[_0x4ac377(0x269)],'idSuffix':_0x62e70b[_0x4ac377(0x2bd)]},{'ref':_0x79fd7e,'className':_0x3d83d8,..._0x3bf358},_0x54c1f9);}function _0xf8cbe1(_0x2f2f2c,_0x583e1b,_0x1f59bc,_0x30ea09,_0x4d2104){const _0x4de590=_0x143479;return _0x36b061['createElement'](_0x2f2f2c['tag'],{'key':_0x583e1b,..._0x41577e(_0x2f2f2c,_0x1f59bc,_0x4d2104),..._0x30ea09},(_0x52a078(_0x2f2f2c,_0x1f59bc)[_0x4de590(0x2bf)]||[])['map']((_0x471794,_0x3245fc)=>_0xf8cbe1(_0x471794,_0x583e1b+'-'+_0x2f2f2c[_0x4de590(0x29a)]+'-'+_0x3245fc,_0x1f59bc,void 0x0,_0x4d2104)));}function _0x41577e(_0x58c6a0,_0x47d9b7,_0xff3d41){const _0x204dcd=_0x143479,_0x2753a7={..._0x58c6a0[_0x204dcd(0x1a4)]};_0xff3d41!=null&&_0xff3d41[_0x204dcd(0x173)]&&_0x2753a7[_0x204dcd(0x1d3)]===_0x204dcd(0x173)&&(_0x2753a7[_0x204dcd(0x1d3)]=_0xff3d41[_0x204dcd(0x173)]),_0x58c6a0[_0x204dcd(0x29a)]==='mask'&&_0x2753a7['id']&&(_0x2753a7['id']=_0x2753a7['id']+_0x47d9b7[_0x204dcd(0x2c4)]),Object[_0x204dcd(0x239)](_0x2753a7)[_0x204dcd(0x197)](([_0x21d369,_0x50d6cc])=>{const _0x27afbd=_0x204dcd;_0x21d369===_0x27afbd(0x1a3)&&typeof _0x50d6cc==_0x27afbd(0x1a8)&&(_0x2753a7[_0x21d369]=_0x50d6cc[_0x27afbd(0x27c)](/url\(#(.*)\)/,'url(#$1'+_0x47d9b7['idSuffix']+')'));});const {defIds:_0x5db718}=_0x47d9b7;return!_0x5db718||_0x5db718['length']===0x0||(_0x58c6a0[_0x204dcd(0x29a)]==='use'&&_0x2753a7['xlink:href']&&(_0x2753a7[_0x204dcd(0x28f)]=_0x2753a7[_0x204dcd(0x28f)]+_0x47d9b7[_0x204dcd(0x2c4)]),Object[_0x204dcd(0x239)](_0x2753a7)[_0x204dcd(0x197)](([_0x5e0e06,_0x52ebb5])=>{const _0x25fd5a=_0x204dcd;typeof _0x52ebb5==_0x25fd5a(0x1a8)&&(_0x2753a7[_0x5e0e06]=_0x52ebb5[_0x25fd5a(0x27c)](/url\(#(.*)\)/,'url(#$1'+_0x47d9b7['idSuffix']+')'));})),_0x2753a7;}function _0x52a078(_0x493cbe,_0xd7e71c){const _0x376512=_0x143479;var _0x461d19;const {defIds:_0x119818}=_0xd7e71c;return!_0x119818||_0x119818[_0x376512(0x19e)]===0x0?_0x493cbe:_0x493cbe['tag']===_0x376512(0x26e)&&((_0x461d19=_0x493cbe['children'])!=null&&_0x461d19[_0x376512(0x19e)])?{..._0x493cbe,'children':_0x493cbe['children']['map'](_0x4c1008=>typeof _0x4c1008['attrs']['id']=='string'&&_0x119818&&_0x119818[_0x376512(0x2d0)](_0x4c1008['attrs']['id'])?{..._0x4c1008,'attrs':{..._0x4c1008[_0x376512(0x1a4)],'id':_0x4c1008[_0x376512(0x1a4)]['id']+_0xd7e71c['idSuffix']}}:_0x4c1008)}:_0x493cbe;}function _0xe96649(){const _0x1d9fa9=_0x143479;return Math['random']()['toString'](0x24)[_0x1d9fa9(0x20b)](0x2,0x8);}_0x4d18fd[_0x143479(0x230)]=_0x143479(0x148);const _0x45d57d={'tag':'svg','attrs':{'xmlns':_0x143479(0x1ca),'fill':'none','viewBox':_0x143479(0x2a5),'width':_0x143479(0x160),'height':_0x143479(0x160)},'children':[{'tag':'path','attrs':{'fill':_0x143479(0x1ac),'d':_0x143479(0x2b7),'fillRule':_0x143479(0x260),'clipRule':_0x143479(0x260)}}]},_0xb22e68=_0x36b061[_0x143479(0x2a4)](function(_0x5b3372,_0x1639bf){const _0xfac6d7=_0x143479;return _0x36b061[_0xfac6d7(0x170)](_0x4d18fd,Object[_0xfac6d7(0x1e6)]({},_0x5b3372,{'id':_0xfac6d7(0x2a7),'ref':_0x1639bf,'icon':_0x45d57d}));});_0xb22e68['displayName']=_0x143479(0x25b);const _0x3cbc1c={'tag':_0x143479(0x281),'attrs':{'xmlns':_0x143479(0x1ca),'fill':_0x143479(0x25d),'viewBox':_0x143479(0x2a5),'width':_0x143479(0x160),'height':_0x143479(0x160)},'children':[{'tag':_0x143479(0x243),'attrs':{'fill':_0x143479(0x1ac),'d':_0x143479(0x14e)}}]},_0x3cc4a6=_0x36b061[_0x143479(0x2a4)](function(_0x5edda5,_0x13cfd2){const _0x528999=_0x143479;return _0x36b061[_0x528999(0x170)](_0x4d18fd,Object[_0x528999(0x1e6)]({},_0x5edda5,{'id':'close-icon','ref':_0x13cfd2,'icon':_0x3cbc1c}));});_0x3cc4a6['displayName']=_0x143479(0x1d2);const _0x589dc1={'tag':'svg','attrs':{'xmlns':_0x143479(0x1ca),'fill':_0x143479(0x25d),'viewBox':_0x143479(0x2a5),'width':'1em','height':_0x143479(0x160)},'children':[{'tag':_0x143479(0x243),'attrs':{'fill':_0x143479(0x1ac),'d':_0x143479(0x27a)}},{'tag':_0x143479(0x243),'attrs':{'fill':_0x143479(0x1ac),'d':_0x143479(0x22f)}},{'tag':'path','attrs':{'fill':_0x143479(0x1ac),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x143479(0x260),'clipRule':_0x143479(0x260)}}]},_0x1c7204=_0x36b061[_0x143479(0x2a4)](function(_0xed0f10,_0x43f3d1){const _0x4ffc9e=_0x143479;return _0x36b061['createElement'](_0x4d18fd,Object[_0x4ffc9e(0x1e6)]({},_0xed0f10,{'id':_0x4ffc9e(0x166),'ref':_0x43f3d1,'icon':_0x589dc1}));});_0x1c7204['displayName']=_0x143479(0x183);const _0x5536f8={'tag':_0x143479(0x281),'attrs':{'xmlns':_0x143479(0x1ca),'fill':_0x143479(0x25d),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x143479(0x177)},'children':[{'tag':_0x143479(0x243),'attrs':{'stroke':_0x143479(0x1ac),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x143479(0x1ea),'strokeWidth':1.2}}]},{'tag':_0x143479(0x26e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x143479(0x223)},'children':[{'tag':'path','attrs':{'fill':_0x143479(0x286),'d':_0x143479(0x1ee)}}]}]}],'defIds':[_0x143479(0x223)]},_0x4e83e9=_0x36b061[_0x143479(0x2a4)](function(_0x26cde,_0x43dad0){const _0x39bbca=_0x143479;return _0x36b061[_0x39bbca(0x170)](_0x4d18fd,Object[_0x39bbca(0x1e6)]({},_0x26cde,{'id':_0x39bbca(0x1aa),'ref':_0x43dad0,'icon':_0x5536f8}));});_0x4e83e9[_0x143479(0x230)]='OffLineIcon';const _0x850d7={'tag':'svg','attrs':{'xmlns':_0x143479(0x1ca),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x143479(0x160),'height':_0x143479(0x160)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x143479(0x243),'attrs':{'stroke':_0x143479(0x1ac),'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':_0x143479(0x1ea),'strokeLinejoin':_0x143479(0x1ea),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x143479(0x181),'attrs':{'id':_0x143479(0x284)},'children':[{'tag':_0x143479(0x243),'attrs':{'fill':_0x143479(0x286),'d':_0x143479(0x1ee),'transform':'translate(.97)'}}]}]}],'defIds':[_0x143479(0x284)]},_0x5f0504=_0x36b061[_0x143479(0x2a4)](function(_0x80e5fd,_0x40ab56){const _0x52f7f6=_0x143479;return _0x36b061[_0x52f7f6(0x170)](_0x4d18fd,Object['assign']({},_0x80e5fd,{'id':_0x52f7f6(0x2a3),'ref':_0x40ab56,'icon':_0x850d7}));});_0x5f0504[_0x143479(0x230)]=_0x143479(0x17e);function _0x425e71(_0x567891){const _0x2c49ac=_0x143479;var _0x239f85,_0x14d875;const {mcpCoreConfig:_0x1d4755,onSave:_0x39d2aa,loading:_0x5bce0e=!0x1,config:_0x2eae09,connectionStatus$:_0xa733fb,connectionError$:_0x34bed0,currentApiKey$:_0x464e9c,currentSessionId$:_0x5cb3df}=_0x567891,_0x41d5e4=_0x27a117[_0x2c49ac(0x21e)](_0x59ed17['LocaleService']),_0x4742b0=_0x27a117['useObservable'](_0xa733fb,_0x104908[_0x2c49ac(0x1b9)][_0x2c49ac(0x271)]),_0x5189d3=_0x27a117['useObservable'](_0x34bed0,_0x104908[_0x2c49ac(0x20c)][_0x2c49ac(0x1b0)]),_0x35e60e=_0x27a117[_0x2c49ac(0x2d4)](_0x5cb3df,''),_0x599edb=_0x27a117[_0x2c49ac(0x2d4)](_0x464e9c,''),[_0x5b1625,_0x3daa43]=_0x36b061[_0x2c49ac(0x150)](_0x599edb||''),_0x274b79=!0x0,_0x254ac5=_0x2eae09['showDeveloperTools']&&_0x1d4755['mcpServerUrl']&&(_0x1d4755[_0x2c49ac(0x265)][_0x2c49ac(0x2d0)]('univer.plus')||_0x1d4755[_0x2c49ac(0x265)][_0x2c49ac(0x2d0)](_0x2c49ac(0x19f))),_0x415e0d=(_0x239f85=_0x1d4755[_0x2c49ac(0x265)])==null?void 0x0:_0x239f85[_0x2c49ac(0x2d0)](_0x2c49ac(0x1bb)),_0x2c7eb6=(_0x14d875=_0x1d4755['mcpServerUrl'])==null?void 0x0:_0x14d875[_0x2c49ac(0x2d0)]('univer.ai'),_0x29fb7e=_0x415e0d?'https://console.univer.plus':_0x2c49ac(0x1e4),_0xd0b533=_0x2eae09[_0x2c49ac(0x164)]&&(_0x415e0d||_0x2c7eb6),[_0x434ecc,_0x922d43]=_0x36b061[_0x2c49ac(0x150)](!_0x5b1625[_0x2c49ac(0x1fb)]()),_0x54fbce=(_0x56447e,_0x2f7fa5)=>{const _0x101a24=_0x2c49ac;if(_0x2f7fa5===_0x104908['MCPConnectionError']['UNAUTHORIZED'])return _0x101a24(0x2ca);switch(_0x56447e){case _0x104908[_0x101a24(0x1b9)]['CONNECTED']:return _0x101a24(0x1ae);case _0x104908['MCPConnectionStatus'][_0x101a24(0x236)]:case _0x104908[_0x101a24(0x1b9)][_0x101a24(0x299)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x104908['MCPConnectionStatus'][_0x101a24(0x2b2)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x101a24(0x208);}},_0x7ff1b1=(_0x5abff2,_0x56569a)=>{const _0x465f9d=_0x2c49ac;if(_0x56569a===_0x104908[_0x465f9d(0x20c)][_0x465f9d(0x1b4)])return _0x465f9d(0x2da);switch(_0x5abff2){case _0x104908[_0x465f9d(0x1b9)][_0x465f9d(0x280)]:return _0x465f9d(0x1d4);case _0x104908['MCPConnectionStatus']['CONNECTING']:case _0x104908['MCPConnectionStatus'][_0x465f9d(0x299)]:return _0x465f9d(0x1ce);case _0x104908[_0x465f9d(0x1b9)][_0x465f9d(0x2b2)]:return _0x465f9d(0x2da);default:return _0x465f9d(0x19a);}},_0x9eed6c=_0x2cb485=>{const _0x5cf1f7=_0x2c49ac;switch(_0x2cb485){case _0x104908[_0x5cf1f7(0x1b9)][_0x5cf1f7(0x280)]:return _0x41d5e4['t'](_0x5cf1f7(0x246));case _0x104908[_0x5cf1f7(0x1b9)]['CONNECTING']:return _0x41d5e4['t'](_0x5cf1f7(0x2a0));case _0x104908[_0x5cf1f7(0x1b9)][_0x5cf1f7(0x2b2)]:return _0x41d5e4['t'](_0x5cf1f7(0x27f));case _0x104908[_0x5cf1f7(0x1b9)][_0x5cf1f7(0x299)]:return _0x41d5e4['t']('mcpConfig.connectionStatus.retrying');default:return _0x41d5e4['t'](_0x5cf1f7(0x199));}},_0x4744ec=_0x4b346a=>{const _0x6389ef=_0x2c49ac;switch(_0x4b346a){case _0x104908['MCPConnectionError'][_0x6389ef(0x1b4)]:return _0x41d5e4['t'](_0x6389ef(0x2ae));case _0x104908[_0x6389ef(0x20c)][_0x6389ef(0x19b)]:return _0x41d5e4['t'](_0x6389ef(0x251));case _0x104908[_0x6389ef(0x20c)][_0x6389ef(0x26a)]:return _0x41d5e4['t'](_0x6389ef(0x18e));case _0x104908[_0x6389ef(0x20c)][_0x6389ef(0x213)]:return _0x41d5e4['t'](_0x6389ef(0x1c9));default:return'';}},_0x2569f4=_0x36b061[_0x2c49ac(0x1b7)](()=>{const _0x441f10={..._0x1d4755,'apiKey':_0x5b1625['trim'](),'enableAuth':_0x274b79};_0x39d2aa(_0x441f10);},[_0x1d4755,_0x5b1625,_0x274b79,_0x39d2aa]),_0x281086=_0x5b1625['trim']()[_0x2c49ac(0x19e)]>0x0;return _0x25fcc3['jsxs'](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x28e),'children':[_0x25fcc3['jsx'](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x163),'children':_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x288),'children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x207),'children':_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x231),{'className':_0x2c49ac(0x2d7),'children':'⚙'})}),_0x25fcc3[_0x2c49ac(0x185)]('div',{'children':_0x25fcc3[_0x2c49ac(0x185)]('p',{'className':_0x2c49ac(0x2d2),'children':_0x41d5e4['t'](_0x2c49ac(0x1e3))})})]})}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x18a),'children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x1dd99f[_0x2c49ac(0x24e)](_0x2c49ac(0x241),_0x54fbce(_0x4742b0,_0x5189d3)),'children':_0x25fcc3['jsxs'](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x174),'children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x1dd99f['clsx'](_0x2c49ac(0x1a1),_0x7ff1b1(_0x4742b0,_0x5189d3))}),_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x231),{'className':_0x2c49ac(0x158),'children':_0x9eed6c(_0x4742b0)})]})}),_0x5189d3!==_0x104908[_0x2c49ac(0x20c)][_0x2c49ac(0x1b0)]&&(_0x4742b0===_0x104908[_0x2c49ac(0x1b9)][_0x2c49ac(0x2b2)]||_0x5189d3===_0x104908[_0x2c49ac(0x20c)]['UNAUTHORIZED'])&&_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x2af),'children':_0x25fcc3[_0x2c49ac(0x24f)]('div',{'className':_0x2c49ac(0x1bf),'children':[_0x25fcc3[_0x2c49ac(0x185)]('span',{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x25fcc3[_0x2c49ac(0x185)]('p',{'className':_0x2c49ac(0x2be),'children':_0x4744ec(_0x5189d3)})]})})]}),_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x1f0),'children':[_0x25fcc3['jsxs']('div',{'className':_0x2c49ac(0x15c),'children':[_0x25fcc3['jsxs']('label',{'className':_0x2c49ac(0x212),'children':[_0x25fcc3['jsx']('span',{'children':'🔑'}),'\x20',_0x41d5e4['t'](_0x2c49ac(0x165)),_0x25fcc3['jsx'](_0x2c49ac(0x231),{'className':'univer-text-red-500','children':'*'}),_0x254ac5&&_0x25fcc3[_0x2c49ac(0x185)]('a',{'className':_0x2c49ac(0x1a0),'title':_0x41d5e4['t'](_0x2c49ac(0x182)),'role':_0x2c49ac(0x227),'onClick':()=>_0x922d43(!0x0),'children':_0x25fcc3[_0x2c49ac(0x185)](_0x1c7204,{})})]}),_0x25fcc3[_0x2c49ac(0x185)](_0x1dd99f[_0x2c49ac(0x1d7)],{'type':'text','placeholder':_0x41d5e4['t'](_0x2c49ac(0x25e)),'value':_0x5b1625,'disabled':_0x5bce0e,'autoComplete':_0x2c49ac(0x248),'onChange':_0x3daa43}),_0x25fcc3[_0x2c49ac(0x185)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x41d5e4['t']('mcpConfig.apiKeyHint')})]}),_0x254ac5&&_0x434ecc&&_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'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':[_0x25fcc3[_0x2c49ac(0x185)]('a',{'className':_0x2c49ac(0x1f2),'role':_0x2c49ac(0x227),'onClick':()=>_0x922d43(!0x1),'children':_0x25fcc3[_0x2c49ac(0x185)](_0x3cc4a6,{'className':_0x2c49ac(0x2d6)})}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x2c7),'children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x231),{'className':_0x2c49ac(0x274),'children':'🚀'})}),_0x25fcc3[_0x2c49ac(0x24f)]('div',{'className':_0x2c49ac(0x263),'children':[_0x25fcc3[_0x2c49ac(0x185)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x41d5e4['t'](_0x2c49ac(0x182))}),_0x25fcc3[_0x2c49ac(0x185)]('p',{'className':_0x2c49ac(0x292),'children':_0x41d5e4['t'](_0x2c49ac(0x200))}),_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x224),'children':_0xd0b533&&_0x25fcc3['jsxs']('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0x29fb7e,'target':_0x2c49ac(0x20e),'rel':_0x2c49ac(0x28d),'children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x231),{'children':'🤖'}),_0x41d5e4['t'](_0x2c49ac(0x1e0)),_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x231),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x2c9),'children':['✨','\x20',_0x41d5e4['t'](_0x2c49ac(0x2aa))]})]})]})]}),_0x2eae09[_0x2c49ac(0x164)]&&_0x25fcc3['jsxs']('div',{'className':_0x2c49ac(0x1ad),'children':[_0x25fcc3[_0x2c49ac(0x24f)]('h4',{'className':_0x2c49ac(0x235),'children':[_0x25fcc3[_0x2c49ac(0x185)]('span',{'children':'🔗'}),'\x20',_0x41d5e4['t'](_0x2c49ac(0x240))]}),_0x25fcc3['jsxs'](_0x2c49ac(0x18b),{'className':'univer-space-y-4','children':[_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x16d),'children':[_0x25fcc3[_0x2c49ac(0x185)]('p',{'className':_0x2c49ac(0x2ab),'children':_0x41d5e4['t'](_0x2c49ac(0x2bb))}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x15c),'children':[_0x25fcc3[_0x2c49ac(0x185)]('div',{'className':_0x2c49ac(0x29f),'children':_0x41d5e4['t'](_0x2c49ac(0x154))}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x28b),'children':[_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x231),{'className':_0x2c49ac(0x1fa),'children':'1'}),_0x41d5e4['t'](_0x2c49ac(0x23f))]}),_0x25fcc3[_0x2c49ac(0x24f)]('div',{'className':_0x2c49ac(0x174),'children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x231),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x41d5e4['t'](_0x2c49ac(0x258))]}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x174),'children':[_0x25fcc3['jsx'](_0x2c49ac(0x231),{'className':_0x2c49ac(0x1fa),'children':'3'}),_0x41d5e4['t'](_0x2c49ac(0x14c))]})]})]})]}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x15c),'children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2c49ac(0x1dd)}),_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x268),'children':_0x25fcc3['jsx'](_0x2c49ac(0x1a6),{'className':_0x2c49ac(0x16e),'children':JSON[_0x2c49ac(0x2c0)]({'mcpServers':{'univer':{'url':_0x2c49ac(0x2c5)+(_0x35e60e||_0x2c49ac(0x19c)),'type':_0x2c49ac(0x15b),'headers':{'Authorization':_0x2c49ac(0x1de)+(_0x5b1625||'<API_KEY>')}}}},null,0x2)})})]}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x16d),'children':[_0x25fcc3['jsx']('div',{'className':_0x2c49ac(0x29f),'children':_0x41d5e4['t']('mcpConfig.configParameters')}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x15c),'children':[_0x25fcc3['jsxs'](_0x2c49ac(0x18b),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x25fcc3[_0x2c49ac(0x185)]('div',{'className':_0x2c49ac(0x255)}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x261),'children':_0x2c49ac(0x1af)}),_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x1dc),'children':_0x41d5e4['t'](_0x2c49ac(0x1b1))})]})]}),_0x25fcc3[_0x2c49ac(0x24f)]('div',{'className':_0x2c49ac(0x195),'children':[_0x25fcc3['jsx'](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x255)}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x176),'children':[_0x25fcc3[_0x2c49ac(0x185)]('div',{'className':_0x2c49ac(0x261),'children':_0x2c49ac(0x238)}),_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x41d5e4['t'](_0x2c49ac(0x2d3))})]})]})]})]})]})]}),_0x25fcc3['jsx'](_0x1dd99f[_0x2c49ac(0x27e)],{'onClick':_0x2569f4,'disabled':!_0x281086||_0x5bce0e,'className':_0x2c49ac(0x21a),'children':_0x5bce0e?_0x25fcc3[_0x2c49ac(0x24f)]('span',{'className':_0x2c49ac(0x174),'children':[_0x25fcc3['jsx'](_0x2c49ac(0x231),{'children':'⟲'}),_0x41d5e4['t']('mcpConfig.saving')]}):_0x25fcc3['jsxs'](_0x2c49ac(0x231),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x25fcc3[_0x2c49ac(0x185)](_0xb22e68,{}),_0x41d5e4['t'](_0x2c49ac(0x17d))]})}),_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x25f),'children':[_0x25fcc3[_0x2c49ac(0x185)]('span',{'className':_0x2c49ac(0x2ba),'children':'💡'}),_0x25fcc3['jsxs'](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x20a),'children':[_0x25fcc3[_0x2c49ac(0x185)](_0x2c49ac(0x18b),{'className':_0x2c49ac(0x1cc),'children':_0x2c49ac(0x172)}),_0x25fcc3['jsxs'](_0x2c49ac(0x18b),{'children':['•',_0x41d5e4['t'](_0x2c49ac(0x2d8))]}),_0x25fcc3[_0x2c49ac(0x24f)](_0x2c49ac(0x18b),{'children':['•',_0x41d5e4['t'](_0x2c49ac(0x1a2))]})]})]})})]})})]});}const _0x1700e6=_0x143479(0x28a),_0x2db337={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x1cae82=Object['getOwnPropertyDescriptor'],_0x57d359=(_0x26c815,_0x1bdd02,_0x5103f2,_0x2d6f01)=>{const _0x57b641=_0x143479;for(var _0x436eab=_0x2d6f01>0x1?void 0x0:_0x2d6f01?_0x1cae82(_0x1bdd02,_0x5103f2):_0x1bdd02,_0x3273bf=_0x26c815[_0x57b641(0x19e)]-0x1,_0x119aaf;_0x3273bf>=0x0;_0x3273bf--)(_0x119aaf=_0x26c815[_0x3273bf])&&(_0x436eab=_0x119aaf(_0x436eab)||_0x436eab);return _0x436eab;},_0x13276f=(_0x4569ab,_0x55269b)=>(_0x12731c,_0x27da06)=>_0x55269b(_0x12731c,_0x27da06,_0x4569ab);const _0x5ce8f0=_0x143479(0x2c2),_0x4db82e=_0x143479(0x196);_0x10f8ba['MCPConfigUIController']=class extends _0x59ed17[_0x143479(0x1ec)]{constructor(_0x365a2a,_0x9e9fd,_0x1fef67,_0x2ff5cb,_0x376209,_0x21c1d5,_0x7cc61,_0x1b243a,_0x458f6f,_0x3fcba2){const _0x193782=_0x143479;super(),_0x140a91(this,_0x193782(0x294),new _0x555dc6['BehaviorSubject'](!0x1)),_0x140a91(this,_0x193782(0x1cb),new _0x555dc6['BehaviorSubject']({})),_0x140a91(this,_0x193782(0x28c),new _0x555dc6[(_0x193782(0x1be))]({})),_0x140a91(this,_0x193782(0x2b6),new _0x555dc6[(_0x193782(0x1be))]('')),_0x140a91(this,_0x193782(0x244),async _0xecf871=>{const _0x2b0417=_0x193782;var _0x4de6b2,_0x32ff6b;this['_loading$'][_0x2b0417(0x14b)](!0x0);try{const _0x15a792=await this[_0x2b0417(0x2a8)](_0xecf871);if(!_0x15a792[_0x2b0417(0x1c7)]){this[_0x2b0417(0x2b4)][_0x2b0417(0x228)]({'type':_0x1dd99f['MessageType'][_0x2b0417(0x192)],'content':_0x15a792[_0x2b0417(0x1d6)]||this[_0x2b0417(0x27b)]['t']('mcpConfig.validation.invalidConfig')});return;}_0xecf871[_0x2b0417(0x18f)]?await this[_0x2b0417(0x1c0)]['setItem'](_0x5ce8f0,_0xecf871[_0x2b0417(0x18f)][_0x2b0417(0x1fb)]()):await this[_0x2b0417(0x1c0)][_0x2b0417(0x267)](_0x5ce8f0),this['_apiKey$'][_0x2b0417(0x14b)](((_0x4de6b2=_0xecf871['apiKey'])==null?void 0x0:_0x4de6b2['trim']())||''),this[_0x2b0417(0x220)][_0x2b0417(0x2b0)]({'Authorization':_0x2b0417(0x1de)+((_0x32ff6b=_0xecf871[_0x2b0417(0x18f)])==null?void 0x0:_0x32ff6b[_0x2b0417(0x1fb)]())}),this[_0x2b0417(0x2b4)]['show']({'type':_0x1dd99f[_0x2b0417(0x1d9)]['Success'],'content':this[_0x2b0417(0x27b)]['t'](_0x2b0417(0x2c8))}),setTimeout(()=>{const _0x1f3fa3=_0x2b0417;this[_0x1f3fa3(0x190)][_0x1f3fa3(0x29c)](_0x4db82e);},0x320);}catch(_0x2f9d8a){this[_0x2b0417(0x1fd)][_0x2b0417(0x1db)](_0x2b0417(0x1e1),_0x2f9d8a),this[_0x2b0417(0x2b4)][_0x2b0417(0x228)]({'type':_0x1dd99f[_0x2b0417(0x1d9)][_0x2b0417(0x192)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x2b0417(0x14b)](!0x1);}}),(this[_0x193782(0x264)]=_0x365a2a,this[_0x193782(0x1a9)]=_0x9e9fd,this[_0x193782(0x169)]=_0x1fef67,this[_0x193782(0x1c0)]=_0x2ff5cb,this['_dialogService']=_0x376209,this[_0x193782(0x2b4)]=_0x21c1d5,this[_0x193782(0x1d5)]=_0x7cc61,this[_0x193782(0x27b)]=_0x1b243a,this[_0x193782(0x1fd)]=_0x458f6f,this['_mcpConnectionController']=_0x3fcba2,this['_initConfigSync'](),this[_0x193782(0x178)](),this[_0x193782(0x1f5)]());}[_0x143479(0x2d1)](){const _0x3993fc=_0x143479,_0x4cdf15=this[_0x3993fc(0x169)][_0x3993fc(0x1b5)](_0x1700e6);_0x4cdf15!=null&&_0x4cdf15['showDeveloperTools']&&this['_dialogService']['open']({'id':_0x4db82e,'title':{'title':this[_0x3993fc(0x27b)]['t'](_0x3993fc(0x17b))},'children':{'label':_0x3993fc(0x16f)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x536cfd=_0x3993fc;this[_0x536cfd(0x190)][_0x536cfd(0x29c)](_0x4db82e);}});}[_0x143479(0x2a1)](){const _0x27c1a3=_0x143479;return this[_0x27c1a3(0x1cb)][_0x27c1a3(0x275)];}[_0x143479(0x1f5)](){const _0x39667d=_0x143479;this[_0x39667d(0x201)](this[_0x39667d(0x1d5)][_0x39667d(0x273)](_0x39667d(0x16f),this[_0x39667d(0x17c)]()));}[_0x143479(0x17c)](){const _0x2434f7=_0x143479;return _0x27a117[_0x2434f7(0x216)](()=>{const _0x16bd30=_0x2434f7;var _0x124e32,_0x3baf9b,_0x1cc6ee;return _0x25fcc3[_0x16bd30(0x185)](_0x425e71,{'config':this[_0x16bd30(0x28c)][_0x16bd30(0x275)],'mcpCoreConfig':this['_mcpCoreConfig$']['value'],'currentApiKey$':this[_0x16bd30(0x2b6)],'onSave':this[_0x16bd30(0x244)],'loading':this[_0x16bd30(0x294)][_0x16bd30(0x275)],'connectionStatus$':(_0x124e32=this['_mcpConnectionController'])==null?void 0x0:_0x124e32[_0x16bd30(0x293)],'connectionError$':(_0x3baf9b=this['_mcpConnectionController'])==null?void 0x0:_0x3baf9b['connectionError$'],'currentSessionId$':(_0x1cc6ee=this[_0x16bd30(0x220)])==null?void 0x0:_0x1cc6ee[_0x16bd30(0x2d9)]});},this[_0x2434f7(0x264)]);}['_initConfigSync'](){const _0x38ed57=_0x143479;this['disposeWithMe'](this[_0x38ed57(0x169)][_0x38ed57(0x2c6)](_0x104908[_0x38ed57(0x291)])[_0x38ed57(0x1d1)](_0x40e739=>{const _0xe861aa=_0x38ed57;this[_0xe861aa(0x1cb)][_0xe861aa(0x14b)](_0x40e739||{});}));const _0x581929=this[_0x38ed57(0x169)]['getConfig'](_0x104908[_0x38ed57(0x291)]);this[_0x38ed57(0x1cb)][_0x38ed57(0x14b)](_0x581929||{}),this[_0x38ed57(0x201)](this[_0x38ed57(0x169)]['subscribeConfigValue$'](_0x1700e6)[_0x38ed57(0x1d1)](_0x109178=>{const _0x2804a0=_0x38ed57;this[_0x2804a0(0x28c)][_0x2804a0(0x14b)](_0x109178||{});}));const _0x7f973f=this[_0x38ed57(0x169)][_0x38ed57(0x1b5)](_0x1700e6);this[_0x38ed57(0x28c)][_0x38ed57(0x14b)](_0x7f973f||{});}async[_0x143479(0x178)](){const _0x269b4f=_0x143479,_0x380f01=this[_0x269b4f(0x169)][_0x269b4f(0x1b5)](_0x1700e6);if(!(_0x380f01!=null&&_0x380f01[_0x269b4f(0x164)]))return;const _0x32bfee=await this[_0x269b4f(0x1c0)][_0x269b4f(0x1c5)](_0x5ce8f0);_0x32bfee&&(this[_0x269b4f(0x220)][_0x269b4f(0x2b0)]({'Authorization':_0x269b4f(0x1de)+_0x32bfee}),this[_0x269b4f(0x2b6)][_0x269b4f(0x14b)](_0x32bfee));}async[_0x143479(0x2a8)](_0x398642){const _0xb905f0=_0x143479;if(!_0x398642['apiKey']||_0x398642[_0xb905f0(0x18f)][_0xb905f0(0x1fb)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0xb905f0(0x27b)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x398642[_0xb905f0(0x18f)][_0xb905f0(0x1fb)]()[_0xb905f0(0x19e)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0xb905f0(0x27b)]['t'](_0xb905f0(0x1e7))};try{const _0x165bc5=await this[_0xb905f0(0x264)][_0xb905f0(0x1f3)](_0x104908[_0xb905f0(0x1a7)])[_0xb905f0(0x214)](_0x398642['apiKey']['trim']());return _0x165bc5[_0xb905f0(0x1c7)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x165bc5[_0xb905f0(0x1db)]||this[_0xb905f0(0x27b)]['t'](_0xb905f0(0x152))};}catch(_0x5d496e){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x5d496e),{'isValid':!0x0};}}},_0x10f8ba[_0x143479(0x171)]=_0x57d359([_0x13276f(0x0,_0x59ed17['Inject'](_0x59ed17[_0x143479(0x159)])),_0x13276f(0x1,_0x27a117['IUIPartsService']),_0x13276f(0x2,_0x59ed17[_0x143479(0x29b)]),_0x13276f(0x3,_0x59ed17[_0x143479(0x1bd)]),_0x13276f(0x4,_0x27a117[_0x143479(0x156)]),_0x13276f(0x5,_0x27a117[_0x143479(0x1da)]),_0x13276f(0x6,_0x59ed17[_0x143479(0x27d)](_0x27a117[_0x143479(0x1e9)])),_0x13276f(0x7,_0x59ed17[_0x143479(0x27d)](_0x59ed17[_0x143479(0x249)])),_0x13276f(0x8,_0x59ed17[_0x143479(0x245)]),_0x13276f(0x9,_0x59ed17[_0x143479(0x27d)](_0x104908['MCPConnectionController']))],_0x10f8ba['MCPConfigUIController']);const _0x506bc7={'id':'mcp-ui.command.openConfigPanel','type':_0x59ed17[_0x143479(0x22c)][_0x143479(0x23b)],'handler':async(_0x5d6a07,_0x5c7474)=>(_0x5d6a07['get'](_0x10f8ba[_0x143479(0x171)])[_0x143479(0x2d1)](),!0x0)};function _0x1bd641(_0x5d8792,_0x2c612a){const _0x426ba7=_0x143479;switch(_0x5d8792){case _0x104908['MCPConnectionStatus'][_0x426ba7(0x271)]:return _0x426ba7(0x298);case _0x104908[_0x426ba7(0x1b9)][_0x426ba7(0x236)]:return'mcpStatus.connecting';case _0x104908[_0x426ba7(0x1b9)]['CONNECTED']:return _0x426ba7(0x198);case _0x104908[_0x426ba7(0x1b9)][_0x426ba7(0x2b2)]:switch(_0x2c612a){case _0x104908[_0x426ba7(0x20c)][_0x426ba7(0x1b4)]:return _0x426ba7(0x2dd);case _0x104908[_0x426ba7(0x20c)][_0x426ba7(0x19b)]:return _0x426ba7(0x1f1);case _0x104908['MCPConnectionError'][_0x426ba7(0x26a)]:return _0x426ba7(0x237);case _0x104908[_0x426ba7(0x20c)][_0x426ba7(0x213)]:return _0x426ba7(0x1c6);default:return _0x426ba7(0x204);}case _0x104908[_0x426ba7(0x1b9)][_0x426ba7(0x299)]:return _0x426ba7(0x1ab);default:return'mcpStatus.unknown';}}function _0x221df6(_0x44a4e7,_0x4718d2,_0x37f93a,_0x124c95=!0x0){const _0xdf2757=_0x143479,_0x39cffe=_0x1bd641(_0x44a4e7,_0x4718d2),_0x42ddfc=_0x37f93a['t'](_0x39cffe);return _0x124c95?_0x44a4e7===_0x104908['MCPConnectionStatus'][_0xdf2757(0x271)]&&_0x4718d2===_0x104908[_0xdf2757(0x20c)][_0xdf2757(0x1b4)]?_0x42ddfc+_0xdf2757(0x193)+_0x37f93a['t']('mcpStatus.clickToConfigure'):_0x44a4e7===_0x104908[_0xdf2757(0x1b9)][_0xdf2757(0x280)]?''+_0x42ddfc:_0x44a4e7===_0x104908[_0xdf2757(0x1b9)][_0xdf2757(0x271)]||_0x44a4e7===_0x104908[_0xdf2757(0x1b9)][_0xdf2757(0x2b2)]?_0x42ddfc+_0xdf2757(0x193)+_0x37f93a['t'](_0xdf2757(0x254)):_0x42ddfc:_0x42ddfc;}function _0x554c91(_0x16fc25){const _0x5d3789=_0x143479;switch(_0x16fc25){case _0x104908['MCPConnectionStatus'][_0x5d3789(0x280)]:return'univer-text-green-500';case _0x104908[_0x5d3789(0x1b9)]['CONNECTING']:case _0x104908[_0x5d3789(0x1b9)][_0x5d3789(0x299)]:return'univer-text-yellow-500';case _0x104908['MCPConnectionStatus'][_0x5d3789(0x2b2)]:case _0x104908['MCPConnectionStatus'][_0x5d3789(0x271)]:return _0x5d3789(0x2a9);default:return _0x5d3789(0x2ad);}}function _0x40a8d4(_0x3618dd){const _0x1f2b90=_0x143479,{status$:_0x289710,error$:_0x280e2b,onConfigure:_0x433e69,showClickable:_0x256d46=!0x0}=_0x3618dd,_0x4b3fd4=_0x27a117['useObservable'](_0x289710,_0x104908[_0x1f2b90(0x1b9)]['DISCONNECTED']),_0x55d1b7=_0x27a117[_0x1f2b90(0x2d4)](_0x280e2b,_0x104908['MCPConnectionError'][_0x1f2b90(0x1b0)]),_0x5d27e3=_0x27a117['useDependency'](_0x59ed17[_0x1f2b90(0x249)]),_0x1a7fd6=_0x4b3fd4===_0x104908[_0x1f2b90(0x1b9)][_0x1f2b90(0x280)];_0x4b3fd4===_0x104908[_0x1f2b90(0x1b9)][_0x1f2b90(0x236)]||_0x104908['MCPConnectionStatus'][_0x1f2b90(0x299)];const _0xa9f52d=_0x5d27e3['t'](_0x1bd641(_0x4b3fd4,_0x55d1b7)),_0x230d68=_0x221df6(_0x4b3fd4,_0x55d1b7,_0x5d27e3,_0x256d46),_0x2a0ce2=_0x554c91(_0x4b3fd4),_0x1ffd6a=_0x1a7fd6?_0x25fcc3['jsx'](_0x5f0504,{}):_0x25fcc3[_0x1f2b90(0x185)](_0x4e83e9,{}),_0x48457b=_0x36b061['useCallback'](()=>{_0x256d46&&_0x433e69&&_0x433e69();},[_0x256d46,_0x433e69]);function _0xfc9a55(){const _0x33b25e=_0x1f2b90;return _0x25fcc3['jsxs'](_0x33b25e(0x18b),{'className':_0x1dd99f['clsx'](_0x33b25e(0x21b),_0x256d46&&_0x433e69&&_0x33b25e(0x161)),'role':_0x33b25e(0x227),'onClick':_0x256d46&&_0x433e69?_0x48457b:void 0x0,'children':[_0x25fcc3[_0x33b25e(0x185)](_0x33b25e(0x18b),{'className':_0x1dd99f[_0x33b25e(0x24e)](_0x33b25e(0x22a),_0x2a0ce2),'children':_0x1ffd6a}),_0x25fcc3[_0x33b25e(0x185)](_0x33b25e(0x18b),{'className':_0x33b25e(0x226),'children':_0xa9f52d})]});}return _0x25fcc3[_0x1f2b90(0x185)](_0x1dd99f['Tooltip'],{'title':_0x230d68,'placement':'bottom','children':_0xfc9a55()});}var _0x511d88=Object[_0x143479(0x287)],_0x19859c=(_0x5c72d4,_0x2c4d99,_0x52c7d2,_0x30af64)=>{const _0x5ec7f5=_0x143479;for(var _0x12c16b=_0x30af64>0x1?void 0x0:_0x30af64?_0x511d88(_0x2c4d99,_0x52c7d2):_0x2c4d99,_0x206679=_0x5c72d4[_0x5ec7f5(0x19e)]-0x1,_0x4750d8;_0x206679>=0x0;_0x206679--)(_0x4750d8=_0x5c72d4[_0x206679])&&(_0x12c16b=_0x4750d8(_0x12c16b)||_0x12c16b);return _0x12c16b;},_0x5996e4=(_0x74c166,_0xe3e792)=>(_0x4944f4,_0x205067)=>_0xe3e792(_0x4944f4,_0x205067,_0x74c166);_0x10f8ba[_0x143479(0x22b)]=class extends _0x59ed17[_0x143479(0x1ec)]{constructor(_0x3f5f99,_0x153022,_0x45559b,_0x4215a5){const _0x310475=_0x143479;super(),this[_0x310475(0x264)]=_0x3f5f99,this['_connectionController']=_0x153022,this[_0x310475(0x1a9)]=_0x45559b,this[_0x310475(0x169)]=_0x4215a5,this[_0x310475(0x205)](),this['_initStatusComponent']();}[_0x143479(0x205)](){const _0x1b23f6=_0x143479,_0x48e339=this[_0x1b23f6(0x169)][_0x1b23f6(0x1b5)](_0x1700e6);_0x48e339!=null&&_0x48e339[_0x1b23f6(0x164)]&&(this[_0x1b23f6(0x1fe)][_0x1b23f6(0x25a)]=!0x1);}[_0x143479(0x189)](){const _0x773d5f=_0x143479,_0x535dff=this['_configService'][_0x773d5f(0x1b5)](_0x1700e6);(_0x535dff==null?void 0x0:_0x535dff['showStatus'])!==!0x1&&this[_0x773d5f(0x201)](this[_0x773d5f(0x1a9)][_0x773d5f(0x191)](_0x27a117['BuiltInUIPart'][_0x773d5f(0x2bc)],()=>{const _0x1679f6=_0x773d5f;var _0x256bc7;return _0x27a117['connectInjector'](_0x1ff789({'status$':this[_0x1679f6(0x1fe)][_0x1679f6(0x293)],'error$':this['_connectionController'][_0x1679f6(0x1cf)],'onConfigure':()=>this[_0x1679f6(0x2b3)](),'showClickable':(_0x256bc7=_0x535dff==null?void 0x0:_0x535dff[_0x1679f6(0x164)])!=null?_0x256bc7:!0x1}),this['_injector']);}));}['_handleConfigure'](){const _0x501175=_0x143479;this[_0x501175(0x264)][_0x501175(0x1f3)](_0x10f8ba[_0x501175(0x171)])['showConfigPanel']();}},_0x10f8ba[_0x143479(0x22b)]=_0x19859c([_0x5996e4(0x0,_0x59ed17[_0x143479(0x27d)](_0x59ed17[_0x143479(0x159)])),_0x5996e4(0x1,_0x59ed17['Inject'](_0x104908[_0x143479(0x1a7)])),_0x5996e4(0x2,_0x27a117['IUIPartsService']),_0x5996e4(0x3,_0x59ed17[_0x143479(0x29b)])],_0x10f8ba[_0x143479(0x22b)]);function _0x1ff789(_0x2f2625){const {status$:_0x21d390,error$:_0x33d3cd,onConfigure:_0x176ba1,showClickable:_0x40d501}=_0x2f2625;return function(){const _0x5bad77=_0x38b5;return _0x25fcc3[_0x5bad77(0x185)](_0x40a8d4,{'status$':_0x21d390,'error$':_0x33d3cd,'onConfigure':_0x176ba1,'showClickable':_0x40d501});};}function _0x1fa3dd(_0x5aa3c5){const _0x5a3729=_0x143479;return{'id':_0x506bc7['id'],'type':_0x27a117[_0x5a3729(0x24c)][_0x5a3729(0x2c1)],'icon':_0x5a3729(0x250),'title':'mcpConfig.title','tooltip':_0x5a3729(0x17b)};}const _0x503213={[_0x27a117[_0x143479(0x206)][_0x143479(0x242)]]:{[_0x506bc7['id']]:{'order':0xa,'menuItemFactory':_0x1fa3dd}}};var _0x4980e9=Object[_0x143479(0x287)],_0xada64=(_0x286b49,_0x843053,_0x408502,_0x3dc573)=>{for(var _0x3c838f=_0x3dc573>0x1?void 0x0:_0x3dc573?_0x4980e9(_0x843053,_0x408502):_0x843053,_0x46bb52=_0x286b49['length']-0x1,_0x185ad4;_0x46bb52>=0x0;_0x46bb52--)(_0x185ad4=_0x286b49[_0x46bb52])&&(_0x3c838f=_0x185ad4(_0x3c838f)||_0x3c838f);return _0x3c838f;},_0x3efa34=(_0x3157ba,_0x2a90e3)=>(_0x37389d,_0x3a9a9a)=>_0x2a90e3(_0x37389d,_0x3a9a9a,_0x3157ba);_0x10f8ba[_0x143479(0x17f)]=class extends _0x59ed17[_0x143479(0x1ec)]{constructor(_0x596cfa,_0x3494cb){const _0x9ece76=_0x143479;super(),this[_0x9ece76(0x29e)]=_0x596cfa,this[_0x9ece76(0x184)]=_0x3494cb,this['_initializeCommands'](),this[_0x9ece76(0x2b8)]();}[_0x143479(0x23a)](){const _0x39d189=_0x143479;[_0x506bc7][_0x39d189(0x197)](_0x377f98=>{const _0x454a12=_0x39d189;this[_0x454a12(0x201)](this['_commandService']['registerCommand'](_0x377f98));});}['_initializeMenus'](){const _0x56c3d9=_0x143479;this[_0x56c3d9(0x184)][_0x56c3d9(0x215)](_0x503213);}},_0x10f8ba[_0x143479(0x17f)]=_0xada64([_0x3efa34(0x0,_0x59ed17[_0x143479(0x283)]),_0x3efa34(0x1,_0x27a117['IMenuManagerService'])],_0x10f8ba[_0x143479(0x17f)]);const _0x1637b1={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x143479(0x16c),'connected':_0x143479(0x22d),'failed':_0x143479(0x153),'retrying':_0x143479(0x297),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x143479(0x26c),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x143479(0x1cd),'clickToConnect':_0x143479(0x18d),'clickToConfigure':_0x143479(0x289)},'mcpConfig':{'title':_0x143479(0x1dd),'description':_0x143479(0x17a),'apiKey':_0x143479(0x21f),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x143479(0x221),'enableAuth':_0x143479(0x2b9),'enableAuthHint':_0x143479(0x2ce),'connectionInfo':_0x143479(0x278),'mcpClientConfig':_0x143479(0x278),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x143479(0x1ba),'configStep1':_0x143479(0x24d),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x143479(0x23d),'sessionId':_0x143479(0x26d),'sessionIdDescription':_0x143479(0x209),'authorizationDescription':_0x143479(0x203),'configParameters':_0x143479(0x25c),'maxRetries':_0x143479(0x211),'save':'Save\x20Configuration','saving':_0x143479(0x24a),'note1':_0x143479(0x194),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x143479(0x1f9),'configError':_0x143479(0x1f4),'apiApplyInfo':{'title':_0x143479(0x23c),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x143479(0x277)},'validation':{'apiKeyRequired':_0x143479(0x234),'apiKeyTooShort':_0x143479(0x282),'invalidConfig':_0x143479(0x1ef),'invalidApiKey':_0x143479(0x256)},'connectionStatus':{'disconnected':_0x143479(0x21d),'connecting':_0x143479(0x157),'connected':_0x143479(0x1e8),'failed':_0x143479(0x187),'retrying':_0x143479(0x23e)},'connectionError':{'unauthorized':_0x143479(0x2ac),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x143479(0x14f),'maxRetriesExceeded':_0x143479(0x1e2)}}},_0x32126e={'mcpStatus':{'disconnected':_0x143479(0x186),'connecting':_0x143479(0x210),'connected':_0x143479(0x1b8),'failed':_0x143479(0x2cc),'retrying':'MCP\x20重连中...','unknown':_0x143479(0x19d),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x143479(0x2d5),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x143479(0x225),'clickToConnect':_0x143479(0x257),'clickToConfigure':_0x143479(0x29d)},'mcpConfig':{'title':_0x143479(0x22e),'description':_0x143479(0x151),'apiKey':_0x143479(0x16b),'apiKeyPlaceholder':_0x143479(0x295),'apiKeyHint':_0x143479(0x2c3),'enableAuth':_0x143479(0x1b3),'enableAuthHint':_0x143479(0x20f),'connectionInfo':_0x143479(0x276),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x143479(0x1c3),'configStepTitle':_0x143479(0x18c),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x143479(0x15a),'sessionId':_0x143479(0x15d),'sessionIdDescription':_0x143479(0x272),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x143479(0x1fc),'maxRetries':_0x143479(0x21c),'save':_0x143479(0x2a2),'saving':_0x143479(0x1c8),'note1':'配置更改将立即生效','note2':_0x143479(0x285),'configSaved':_0x143479(0x279),'configError':_0x143479(0x247),'apiApplyInfo':{'title':_0x143479(0x1c2),'description':_0x143479(0x218),'univerAiLabel':_0x143479(0x15e),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x143479(0x1a5),'apiKeyTooShort':_0x143479(0x26b),'invalidConfig':_0x143479(0x253),'invalidApiKey':_0x143479(0x149)},'connectionStatus':{'disconnected':_0x143479(0x270),'connecting':'连接中...','connected':_0x143479(0x188),'failed':_0x143479(0x167),'retrying':_0x143479(0x168)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x143479(0x1d8),'maxRetriesExceeded':_0x143479(0x2a6)}}};var _0x47895e=Object[_0x143479(0x26f)],_0x3423cd=Object[_0x143479(0x287)],_0x5b0fde=(_0x3a7f51,_0x3c9eab,_0x36c538)=>_0x3c9eab in _0x3a7f51?_0x47895e(_0x3a7f51,_0x3c9eab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36c538}):_0x3a7f51[_0x3c9eab]=_0x36c538,_0x37875c=(_0x343648,_0x78c885,_0x77f781,_0x5ce6f6)=>{const _0x2a65e1=_0x143479;for(var _0x20a003=_0x5ce6f6>0x1?void 0x0:_0x5ce6f6?_0x3423cd(_0x78c885,_0x77f781):_0x78c885,_0x391b61=_0x343648[_0x2a65e1(0x19e)]-0x1,_0x1c2ad7;_0x391b61>=0x0;_0x391b61--)(_0x1c2ad7=_0x343648[_0x391b61])&&(_0x20a003=_0x1c2ad7(_0x20a003)||_0x20a003);return _0x20a003;},_0x31c693=(_0x4ec318,_0xd11cc0)=>(_0x27d5f0,_0x2c2ea3)=>_0xd11cc0(_0x27d5f0,_0x2c2ea3,_0x4ec318),_0x11fe5d=(_0x57d55a,_0x27b02f,_0x2c4c2f)=>_0x5b0fde(_0x57d55a,_0x27b02f+'',_0x2c4c2f);_0x10f8ba[_0x143479(0x290)]=class extends _0x59ed17[_0x143479(0x2b1)]{constructor(_0x3cc748=_0x2db337,_0x36ab2f,_0x119fde,_0x2566a5,_0x54b2c4,_0xa8c79a){const _0x2ff601=_0x143479;super(),this[_0x2ff601(0x252)]=_0x3cc748,this['_injector']=_0x36ab2f,this[_0x2ff601(0x169)]=_0x119fde,this[_0x2ff601(0x1a9)]=_0x2566a5,this[_0x2ff601(0x1c0)]=_0x54b2c4,this[_0x2ff601(0x27b)]=_0xa8c79a;const {..._0x149be9}=_0x59ed17[_0x2ff601(0x1ff)]({},_0x2db337,this[_0x2ff601(0x252)]);this[_0x2ff601(0x169)]['setConfig'](_0x1700e6,_0x149be9);}async[_0x143479(0x14d)](){const _0x33caca=_0x143479,_0x50ba00=[[_0x10f8ba[_0x33caca(0x22b)]],[_0x10f8ba['MCPConfigUIController']],[_0x10f8ba[_0x33caca(0x17f)]]];this[_0x33caca(0x264)][_0x33caca(0x2cd)](_0x429f45[_0x33caca(0x155)])||_0x50ba00[_0x33caca(0x24b)]([_0x429f45[_0x33caca(0x155)],{'useClass':_0x429f45['WebSocketService']}]),_0x50ba00['forEach'](_0xa19f89=>this[_0x33caca(0x264)]['add'](_0xa19f89)),this['_injector'][_0x33caca(0x1f3)](_0x10f8ba[_0x33caca(0x22b)]),this['_injector'][_0x33caca(0x1f3)](_0x10f8ba[_0x33caca(0x171)]),this['_injector'][_0x33caca(0x1f3)](_0x10f8ba[_0x33caca(0x17f)]);}},_0x11fe5d(_0x10f8ba[_0x143479(0x290)],_0x143479(0x1d0),_0x143479(0x2db)),_0x10f8ba[_0x143479(0x290)]=_0x37875c([_0x59ed17['DependentOn'](_0x104908[_0x143479(0x20d)]),_0x31c693(0x1,_0x59ed17['Inject'](_0x59ed17[_0x143479(0x159)])),_0x31c693(0x2,_0x59ed17[_0x143479(0x29b)]),_0x31c693(0x3,_0x27a117['IUIPartsService']),_0x31c693(0x4,_0x59ed17[_0x143479(0x1bd)]),_0x31c693(0x5,_0x59ed17[_0x143479(0x27d)](_0x59ed17[_0x143479(0x249)]))],_0x10f8ba['UniverMCPUIPlugin']),_0x10f8ba[_0x143479(0x16f)]=_0x425e71,_0x10f8ba[_0x143479(0x15f)]=_0x40a8d4,_0x10f8ba['OpenMCPConfigPanelCommand']=_0x506bc7,_0x10f8ba[_0x143479(0x222)]=_0x1637b1,_0x10f8ba[_0x143479(0x232)]=_0x32126e,Object[_0x143479(0x26f)](_0x10f8ba,Symbol[_0x143479(0x175)],{'value':_0x143479(0x162)});}));
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3985(_0x90f660,_0x10a7c7){_0x90f660=_0x90f660-0xf4;var _0x5ba5f1=_0x5ba5();var _0x39859d=_0x5ba5f1[_0x90f660];return _0x39859d;}function _0x5ba5(){var _0x318e12=['API\x20key\x20is\x20required','object','1500332synvRQ','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Unauthorized','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','136045HBsRHz','Copy\x20the\x20JSON\x20configuration\x20below','What\x20is\x20API\x20Key?','Failed\x20to\x20save\x20configuration','Enable\x20Authentication','MCP\x20Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','MCP\x20Client\x20Configuration','1048663AZOdBy','9ptCtUs','API\x20Key','151216TgDNLG','100MFwJmk','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connection\x20Failed','4862395sEoOYD','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','574890VFuuMX','18OxgmAe','Configuration\x20saved\x20successfully','MCP\x20Disconnected','Disconnected','UniverProMcpUiCaES','Connecting...','MCP\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','78GSaSSA','MCP\x20Unknown\x20Status','Click\x20to\x20configure\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connection\x20Failed','Save\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','3205800cqvRZU','Session\x20ID','Configuration\x20Steps:','Univer\x20AI\x20Console','function'];_0x5ba5=function(){return _0x318e12;};return _0x5ba5();}(function(_0x388691,_0x1a6ad1){var _0x1ecf06=_0x3985,_0x167668=_0x388691();while(!![]){try{var _0x47a382=parseInt(_0x1ecf06(0x11a))/0x1+-parseInt(_0x1ecf06(0x113))/0x2*(parseInt(_0x1ecf06(0x111))/0x3)+-parseInt(_0x1ecf06(0x102))/0x4+parseInt(_0x1ecf06(0x117))/0x5+parseInt(_0x1ecf06(0x123))/0x6*(-parseInt(_0x1ecf06(0x107))/0x7)+-parseInt(_0x1ecf06(0xfb))/0x8*(-parseInt(_0x1ecf06(0x11b))/0x9)+parseInt(_0x1ecf06(0x114))/0xa*(-parseInt(_0x1ecf06(0x110))/0xb);if(_0x47a382===_0x1a6ad1)break;else _0x167668['push'](_0x167668['shift']());}catch(_0x1c7c66){_0x167668['push'](_0x167668['shift']());}}}(_0x5ba5,0x840ff),function(_0x48d1f5,_0x487108){var _0x182ee9=_0x3985;typeof exports==_0x182ee9(0x101)&&typeof module<'u'?module['exports']=_0x487108():typeof define==_0x182ee9(0xff)&&define['amd']?define(_0x487108):(_0x48d1f5=typeof globalThis<'u'?globalThis:_0x48d1f5||self,_0x48d1f5[_0x182ee9(0x11f)]=_0x487108());}(this,function(){'use strict';var _0x368f11=_0x3985;return{'mcpStatus':{'disconnected':_0x368f11(0x11d),'connecting':'MCP\x20Connecting...','connected':_0x368f11(0x10c),'failed':_0x368f11(0xf8),'retrying':'MCP\x20Retrying...','unknown':_0x368f11(0x124),'unauthorized':_0x368f11(0x104),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x368f11(0xf4),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x368f11(0x10e),'clickToConfigure':_0x368f11(0x125)},'mcpConfig':{'title':_0x368f11(0x121),'description':_0x368f11(0x126),'apiKey':_0x368f11(0x112),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x368f11(0x118),'enableAuth':_0x368f11(0x10b),'enableAuthHint':_0x368f11(0xf7),'connectionInfo':_0x368f11(0x10f),'mcpClientConfig':_0x368f11(0x10f),'configInstructions':_0x368f11(0x105),'configStepTitle':_0x368f11(0xfd),'configStep1':_0x368f11(0x108),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x368f11(0xfa),'sessionId':_0x368f11(0xfc),'sessionIdDescription':_0x368f11(0xf5),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x368f11(0xf9),'saving':'Saving...','note1':_0x368f11(0x128),'note2':_0x368f11(0xf6),'configSaved':_0x368f11(0x11c),'configError':_0x368f11(0x10a),'apiApplyInfo':{'title':_0x368f11(0x109),'description':_0x368f11(0x10d),'univerAiLabel':_0x368f11(0xfe),'getStarted':_0x368f11(0x106)},'validation':{'apiKeyRequired':_0x368f11(0x100),'apiKeyTooShort':_0x368f11(0x103),'invalidConfig':_0x368f11(0x127),'invalidApiKey':_0x368f11(0x119)},'connectionStatus':{'disconnected':_0x368f11(0x11e),'connecting':_0x368f11(0x120),'connected':'Connected','failed':_0x368f11(0x116),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x368f11(0x115),'sessionOccupied':_0x368f11(0x122),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5ba69d,_0x175dbf){var _0x110bac=_0x50a8,_0x40faba=_0x5ba69d();while(!![]){try{var _0x44e8a5=parseInt(_0x110bac(0x158))/0x1*(-parseInt(_0x110bac(0x166))/0x2)+-parseInt(_0x110bac(0x164))/0x3+-parseInt(_0x110bac(0x155))/0x4*(-parseInt(_0x110bac(0x15a))/0x5)+-parseInt(_0x110bac(0x159))/0x6*(parseInt(_0x110bac(0x14d))/0x7)+parseInt(_0x110bac(0x14a))/0x8*(-parseInt(_0x110bac(0x151))/0x9)+-parseInt(_0x110bac(0x148))/0xa*(-parseInt(_0x110bac(0x150))/0xb)+parseInt(_0x110bac(0x153))/0xc*(parseInt(_0x110bac(0x16d))/0xd);if(_0x44e8a5===_0x175dbf)break;else _0x40faba['push'](_0x40faba['shift']());}catch(_0x4c0577){_0x40faba['push'](_0x40faba['shift']());}}}(_0x18d2,0xb4eaa),function(_0x3f72fe,_0x2ddefb){var _0x1b3898=_0x50a8;typeof exports==_0x1b3898(0x14f)&&typeof module<'u'?module['exports']=_0x2ddefb():typeof define=='function'&&define[_0x1b3898(0x16e)]?define(_0x2ddefb):(_0x3f72fe=typeof globalThis<'u'?globalThis:_0x3f72fe||self,_0x3f72fe[_0x1b3898(0x172)]=_0x2ddefb());}(this,function(){'use strict';var _0x98aa98=_0x50a8;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x98aa98(0x15c),'connected':_0x98aa98(0x174),'failed':'MCP\x20Connection\x20Failed','retrying':_0x98aa98(0x168),'unknown':_0x98aa98(0x167),'unauthorized':_0x98aa98(0x149),'sessionOccupied':_0x98aa98(0x152),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x98aa98(0x165),'clickToConnect':_0x98aa98(0x170),'clickToConfigure':_0x98aa98(0x169)},'mcpConfig':{'title':_0x98aa98(0x14c),'description':_0x98aa98(0x15b),'apiKey':_0x98aa98(0x176),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x98aa98(0x177),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x98aa98(0x162),'connectionInfo':_0x98aa98(0x156),'mcpClientConfig':_0x98aa98(0x156),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x98aa98(0x178),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x98aa98(0x175),'sessionIdDescription':_0x98aa98(0x157),'authorizationDescription':_0x98aa98(0x16f),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x98aa98(0x154),'saving':_0x98aa98(0x15d),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x98aa98(0x173),'apiApplyInfo':{'title':_0x98aa98(0x16c),'description':_0x98aa98(0x179),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x98aa98(0x17a),'apiKeyTooShort':_0x98aa98(0x16a),'invalidConfig':_0x98aa98(0x17b),'invalidApiKey':_0x98aa98(0x163)},'connectionStatus':{'disconnected':_0x98aa98(0x15f),'connecting':_0x98aa98(0x160),'connected':_0x98aa98(0x16b),'failed':_0x98aa98(0x14e),'retrying':_0x98aa98(0x14b)},'connectionError':{'unauthorized':_0x98aa98(0x15e),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x98aa98(0x171),'maxRetriesExceeded':_0x98aa98(0x161)}}};}));function _0x50a8(_0x4cfdc9,_0x15b3b0){_0x4cfdc9=_0x4cfdc9-0x148;var _0x18d259=_0x18d2();var _0x50a811=_0x18d259[_0x4cfdc9];return _0x50a811;}function _0x18d2(){var _0x1e814c=['Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1970667moEDUI','MCP:\x20Max\x20Retries\x20Exceeded','4MnYvHC','MCP\x20Unknown\x20Status','MCP\x20Retrying...','Click\x20to\x20configure\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','What\x20is\x20API\x20Key?','13927433pvHJkD','amd','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20connect\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','UniverProMcpUiEnUS','Failed\x20to\x20save\x20configuration','MCP\x20Connected','Session\x20ID','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20is\x20required','Invalid\x20configuration','30dubDZk','MCP:\x20Unauthorized','163272jUXUfZ','Retrying...','MCP\x20Configuration','14cWZgLj','Connection\x20Failed','object','1425358sBiRNT','585IPwrrc','MCP:\x20Session\x20ID\x20Occupied','36tHYKYh','Save\x20Configuration','12AhiXnG','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.','75119QOHDSY','3798588jPihcQ','896975ebPXsI','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Disconnected','Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'];_0x18d2=function(){return _0x1e814c;};return _0x18d2();}
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1d1b1d,_0x49ad0d){var _0x41b5c4=_0x588e,_0x503ef8=_0x1d1b1d();while(!![]){try{var _0xd0b4e9=-parseInt(_0x41b5c4(0xa0))/0x1+-parseInt(_0x41b5c4(0x86))/0x2+-parseInt(_0x41b5c4(0x85))/0x3+-parseInt(_0x41b5c4(0x79))/0x4*(-parseInt(_0x41b5c4(0x81))/0x5)+parseInt(_0x41b5c4(0x8c))/0x6*(parseInt(_0x41b5c4(0x8f))/0x7)+-parseInt(_0x41b5c4(0x93))/0x8+parseInt(_0x41b5c4(0x9c))/0x9;if(_0xd0b4e9===_0x49ad0d)break;else _0x503ef8['push'](_0x503ef8['shift']());}catch(_0x1fa6cc){_0x503ef8['push'](_0x503ef8['shift']());}}}(_0x4420,0xaee70),function(_0x3038c9,_0x4531d9){var _0x45fea2=_0x588e;typeof exports=='object'&&typeof module<'u'?module[_0x45fea2(0xa1)]=_0x4531d9():typeof define==_0x45fea2(0x8e)&&define[_0x45fea2(0x95)]?define(_0x4531d9):(_0x3038c9=typeof globalThis<'u'?globalThis:_0x3038c9||self,_0x3038c9['UniverProMcpUiEsES']=_0x4531d9());}(this,function(){'use strict';var _0x1c08eb=_0x588e;return{'mcpStatus':{'disconnected':_0x1c08eb(0xa2),'connecting':'MCP\x20Connecting...','connected':_0x1c08eb(0x96),'failed':_0x1c08eb(0x97),'retrying':_0x1c08eb(0x89),'unknown':_0x1c08eb(0x7e),'unauthorized':_0x1c08eb(0x98),'sessionOccupied':_0x1c08eb(0x87),'networkError':_0x1c08eb(0x7a),'maxRetriesExceeded':_0x1c08eb(0x9b),'clickToConnect':_0x1c08eb(0x74),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x1c08eb(0x99),'apiKey':_0x1c08eb(0x91),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1c08eb(0x6f),'enableAuth':_0x1c08eb(0x82),'enableAuthHint':_0x1c08eb(0x8a),'connectionInfo':_0x1c08eb(0x78),'mcpClientConfig':_0x1c08eb(0x78),'configInstructions':_0x1c08eb(0x92),'configStepTitle':_0x1c08eb(0x7f),'configStep1':_0x1c08eb(0x8d),'configStep2':_0x1c08eb(0x9a),'configStep3':_0x1c08eb(0x7c),'sessionId':_0x1c08eb(0x73),'sessionIdDescription':_0x1c08eb(0x94),'authorizationDescription':_0x1c08eb(0x88),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x1c08eb(0x77),'save':_0x1c08eb(0x6e),'saving':'Saving...','note1':_0x1c08eb(0x80),'note2':_0x1c08eb(0x90),'configSaved':_0x1c08eb(0x70),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1c08eb(0x76),'univerAiLabel':_0x1c08eb(0x9e),'getStarted':_0x1c08eb(0x8b)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x1c08eb(0x7d),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1c08eb(0x84)},'connectionStatus':{'disconnected':_0x1c08eb(0x9d),'connecting':_0x1c08eb(0x9f),'connected':'Connected','failed':_0x1c08eb(0x83),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x1c08eb(0x7b),'sessionOccupied':_0x1c08eb(0x72),'networkError':_0x1c08eb(0x75),'maxRetriesExceeded':_0x1c08eb(0x71)}}};}));function _0x588e(_0x223e48,_0x32ab8e){_0x223e48=_0x223e48-0x6e;var _0x44200f=_0x4420();var _0x588e6e=_0x44200f[_0x223e48];return _0x588e6e;}function _0x4420(){var _0x48bf9d=['MCP\x20Disconnected','Save\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20saved\x20successfully','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Session\x20ID','Click\x20to\x20connect\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','MCP\x20Client\x20Configuration','184OPlidl','MCP:\x20Network\x20Error','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Unknown\x20Status','Configuration\x20Steps:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','75945xmZpyq','Enable\x20Authentication','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','3310836lqhEYb','2073178wcylFn','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','Get\x20your\x20API\x20key\x20in\x20seconds','6vCVacV','Copy\x20the\x20JSON\x20configuration\x20below','function','6097875ZHBOyf','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','1569336eMWsDe','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','amd','MCP\x20Connected','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Max\x20Retries\x20Exceeded','25442226RXzZGE','Disconnected','Univer\x20AI\x20Console','Connecting...','1343965DabaHE','exports'];_0x4420=function(){return _0x48bf9d;};return _0x4420();}
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x12da55,_0x59fc3d){var _0x494749=_0x476c,_0x3136f2=_0x12da55();while(!![]){try{var _0x3f5e83=-parseInt(_0x494749(0x108))/0x1*(-parseInt(_0x494749(0xdc))/0x2)+parseInt(_0x494749(0xe0))/0x3+parseInt(_0x494749(0xde))/0x4+-parseInt(_0x494749(0xf0))/0x5*(-parseInt(_0x494749(0xf5))/0x6)+parseInt(_0x494749(0x105))/0x7+-parseInt(_0x494749(0xfa))/0x8*(parseInt(_0x494749(0xe6))/0x9)+-parseInt(_0x494749(0xda))/0xa;if(_0x3f5e83===_0x59fc3d)break;else _0x3136f2['push'](_0x3136f2['shift']());}catch(_0x3131fe){_0x3136f2['push'](_0x3136f2['shift']());}}}(_0x3642,0x83767),function(_0x2e7f49,_0x4a08dc){var _0x293bb6=_0x476c;typeof exports==_0x293bb6(0x10d)&&typeof module<'u'?module[_0x293bb6(0x106)]=_0x4a08dc():typeof define==_0x293bb6(0xea)&&define['amd']?define(_0x4a08dc):(_0x2e7f49=typeof globalThis<'u'?globalThis:_0x2e7f49||self,_0x2e7f49[_0x293bb6(0xfb)]=_0x4a08dc());}(this,function(){'use strict';var _0x17209c=_0x476c;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x17209c(0xf9),'retrying':_0x17209c(0x10e),'unknown':_0x17209c(0xe4),'unauthorized':_0x17209c(0xef),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x17209c(0x104),'maxRetriesExceeded':_0x17209c(0x101),'clickToConnect':_0x17209c(0xdb),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x17209c(0x10a),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x17209c(0xfc),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x17209c(0xf7),'enableAuthHint':_0x17209c(0xed),'connectionInfo':_0x17209c(0x102),'mcpClientConfig':_0x17209c(0x102),'configInstructions':_0x17209c(0x107),'configStepTitle':_0x17209c(0xfd),'configStep1':_0x17209c(0xf6),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x17209c(0xff),'sessionId':_0x17209c(0xfe),'sessionIdDescription':_0x17209c(0xdd),'authorizationDescription':_0x17209c(0xf4),'configParameters':_0x17209c(0xf3),'maxRetries':_0x17209c(0xe5),'save':_0x17209c(0xdf),'saving':_0x17209c(0xf1),'note1':_0x17209c(0x10b),'note2':_0x17209c(0xe8),'configSaved':_0x17209c(0x109),'configError':_0x17209c(0xf2),'apiApplyInfo':{'title':_0x17209c(0x103),'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':_0x17209c(0xe7),'getStarted':_0x17209c(0x10c)},'validation':{'apiKeyRequired':_0x17209c(0xec),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x17209c(0xe3),'invalidApiKey':_0x17209c(0xe2)},'connectionStatus':{'disconnected':_0x17209c(0xf8),'connecting':_0x17209c(0xee),'connected':_0x17209c(0x100),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x17209c(0xe1),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x17209c(0xe9),'maxRetriesExceeded':_0x17209c(0xeb)}}};}));function _0x476c(_0x1f3fb7,_0x5d45c4){_0x1f3fb7=_0x1f3fb7-0xda;var _0x36420f=_0x3642();var _0x476cd3=_0x36420f[_0x1f3fb7];return _0x476cd3;}function _0x3642(){var _0x3e500f=['292NLjWCb','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','2969280NukdIF','Save\x20Configuration','2142516lJbXbE','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Invalid\x20configuration','MCP\x20Unknown\x20Status','Max\x20Retries','549qvMabD','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','function','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','Connecting...','MCP:\x20Unauthorized','3805UgBuSO','Saving...','Failed\x20to\x20save\x20configuration','Configuration\x20Parameters:','API\x20key\x20with\x20Bearer\x20prefix.','5316FfKBck','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20Authentication','Disconnected','MCP\x20Connection\x20Failed','39368ujQEzx','UniverProMcpUiFaIR','Enter\x20your\x20API\x20key','Configuration\x20Steps:','Session\x20ID','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connected','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','What\x20is\x20API\x20Key?','MCP:\x20Network\x20Error','457989MBgwJH','exports','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','4910CbFEdk','Configuration\x20saved\x20successfully','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Get\x20your\x20API\x20key\x20in\x20seconds','object','MCP\x20Retrying...','20743730wpRqfT','Click\x20to\x20connect\x20MCP'];_0x3642=function(){return _0x3e500f;};return _0x3642();}
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2f01(_0x107e4d,_0x454c7c){_0x107e4d=_0x107e4d-0x1e6;var _0x47aae4=_0x47aa();var _0x2f017e=_0x47aae4[_0x107e4d];return _0x2f017e;}function _0x47aa(){var _0x34c57a=['31068CKecTz','MCP\x20Disconnected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','763pMGIen','Configuration\x20Parameters:','MCP\x20Connected','2390223YaMynK','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','14274135NofiyP','Univer\x20AI\x20Console','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','function','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1588515VnZQYO','MCP\x20Unknown\x20Status','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Enter\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20configure\x20MCP','MCP:\x20Unauthorized','MCP\x20Connection\x20Failed','Connecting...','6234992FskjfB','Enable\x20Authentication','MCP:\x20Max\x20Retries\x20Exceeded','2XSrVUn','Configuration\x20saved\x20successfully','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required','MCP\x20Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','344093OyOlRM','Session\x20ID','Saving...','amd','MCP\x20Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','object','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','396648vAhTXY','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections'];_0x47aa=function(){return _0x34c57a;};return _0x47aa();}(function(_0x4866cd,_0x504f7b){var _0x105bf7=_0x2f01,_0x1e2d41=_0x4866cd();while(!![]){try{var _0x23db7c=-parseInt(_0x105bf7(0x1e9))/0x1+parseInt(_0x105bf7(0x217))/0x2*(-parseInt(_0x105bf7(0x1fb))/0x3)+parseInt(_0x105bf7(0x1f1))/0x4+-parseInt(_0x105bf7(0x20a))/0x5+-parseInt(_0x105bf7(0x1f4))/0x6*(parseInt(_0x105bf7(0x1f8))/0x7)+parseInt(_0x105bf7(0x214))/0x8+parseInt(_0x105bf7(0x202))/0x9;if(_0x23db7c===_0x504f7b)break;else _0x1e2d41['push'](_0x1e2d41['shift']());}catch(_0x240dd7){_0x1e2d41['push'](_0x1e2d41['shift']());}}}(_0x47aa,0x6bd0c),function(_0x10940e,_0x12009f){var _0x42d60d=_0x2f01;typeof exports==_0x42d60d(0x1ef)&&typeof module<'u'?module['exports']=_0x12009f():typeof define==_0x42d60d(0x206)&&define[_0x42d60d(0x1ec)]?define(_0x12009f):(_0x10940e=typeof globalThis<'u'?globalThis:_0x10940e||self,_0x10940e['UniverProMcpUiFrFR']=_0x12009f());}(this,function(){'use strict';var _0x2c25cf=_0x2f01;return{'mcpStatus':{'disconnected':_0x2c25cf(0x1f5),'connecting':_0x2c25cf(0x1ed),'connected':_0x2c25cf(0x1fa),'failed':_0x2c25cf(0x212),'retrying':_0x2c25cf(0x21d),'unknown':_0x2c25cf(0x20b),'unauthorized':_0x2c25cf(0x211),'sessionOccupied':_0x2c25cf(0x20d),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2c25cf(0x216),'clickToConnect':_0x2c25cf(0x21b),'clickToConfigure':_0x2c25cf(0x210)},'mcpConfig':{'title':_0x2c25cf(0x20c),'description':_0x2c25cf(0x207),'apiKey':_0x2c25cf(0x1fe),'apiKeyPlaceholder':_0x2c25cf(0x20e),'apiKeyHint':_0x2c25cf(0x209),'enableAuth':_0x2c25cf(0x215),'enableAuthHint':_0x2c25cf(0x1f3),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2c25cf(0x1e7),'configInstructions':_0x2c25cf(0x1fd),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x2c25cf(0x1e6),'configStep2':_0x2c25cf(0x21a),'configStep3':_0x2c25cf(0x20f),'sessionId':_0x2c25cf(0x1ea),'sessionIdDescription':_0x2c25cf(0x1f6),'authorizationDescription':_0x2c25cf(0x1fc),'configParameters':_0x2c25cf(0x1f9),'maxRetries':_0x2c25cf(0x1f2),'save':'Save\x20Configuration','saving':_0x2c25cf(0x1eb),'note1':_0x2c25cf(0x1e8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2c25cf(0x218),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2c25cf(0x1f7),'univerAiLabel':_0x2c25cf(0x203),'getStarted':_0x2c25cf(0x1ff)},'validation':{'apiKeyRequired':_0x2c25cf(0x21c),'apiKeyTooShort':_0x2c25cf(0x208),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2c25cf(0x204),'connecting':_0x2c25cf(0x213),'connected':_0x2c25cf(0x219),'failed':_0x2c25cf(0x200),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2c25cf(0x201),'sessionOccupied':_0x2c25cf(0x1ee),'networkError':_0x2c25cf(0x1f0),'maxRetriesExceeded':_0x2c25cf(0x205)}}};}));
|