@univerjs-pro/mcp-ui 0.16.1 → 0.17.0
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/types/plugin.d.ts +2 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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 +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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)});}));
|
|
1
|
+
function _0x5e8e(_0x5d4723,_0x24a304){_0x5d4723=_0x5d4723-0x1cf;const _0x5ccafc=_0x5cca();let _0x5e8e0f=_0x5ccafc[_0x5d4723];return _0x5e8e0f;}(function(_0x49af98,_0x4633cf){const _0x3b4216=_0x5e8e,_0x2d9c68=_0x49af98();while(!![]){try{const _0x495f4b=parseInt(_0x3b4216(0x255))/0x1*(-parseInt(_0x3b4216(0x235))/0x2)+parseInt(_0x3b4216(0x305))/0x3+-parseInt(_0x3b4216(0x238))/0x4*(-parseInt(_0x3b4216(0x25a))/0x5)+-parseInt(_0x3b4216(0x2b9))/0x6*(parseInt(_0x3b4216(0x1d9))/0x7)+parseInt(_0x3b4216(0x1d3))/0x8*(-parseInt(_0x3b4216(0x28e))/0x9)+-parseInt(_0x3b4216(0x315))/0xa+parseInt(_0x3b4216(0x290))/0xb*(parseInt(_0x3b4216(0x28d))/0xc);if(_0x495f4b===_0x4633cf)break;else _0x2d9c68['push'](_0x2d9c68['shift']());}catch(_0x445507){_0x2d9c68['push'](_0x2d9c68['shift']());}}}(_0x5cca,0x7ef73),function(_0x57c66c,_0x5326a4){const _0x4b3c00=_0x5e8e;typeof exports=='object'&&typeof module<'u'?_0x5326a4(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==_0x4b3c00(0x304)&&define['amd']?define([_0x4b3c00(0x25b),_0x4b3c00(0x300),_0x4b3c00(0x1ee),_0x4b3c00(0x29c),_0x4b3c00(0x2b1),'@univerjs/ui',_0x4b3c00(0x319),'react',_0x4b3c00(0x24f)],_0x5326a4):(_0x57c66c=typeof globalThis<'u'?globalThis:_0x57c66c||self,_0x5326a4(_0x57c66c[_0x4b3c00(0x20e)]={},_0x57c66c['UniverCore'],_0x57c66c['React'],_0x57c66c['UniverProMcp'],_0x57c66c[_0x4b3c00(0x2e3)],_0x57c66c[_0x4b3c00(0x1d1)],_0x57c66c[_0x4b3c00(0x319)],_0x57c66c[_0x4b3c00(0x272)],_0x57c66c[_0x4b3c00(0x280)]));}(this,function(_0x320c8d,_0x2bc493,_0x48c1fe,_0x42323b,_0x1513e5,_0x5b6029,_0x4bfce7,_0x515fd1,_0x3c0e0e){'use strict';const _0x1f54c8=_0x5e8e;var _0x323624=Object['defineProperty'],_0x32170a=(_0x571312,_0x2d7d7b,_0x506d30)=>_0x2d7d7b in _0x571312?_0x323624(_0x571312,_0x2d7d7b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x506d30}):_0x571312[_0x2d7d7b]=_0x506d30,_0x5695e=(_0x25ac6e,_0x5fb661,_0x2b320d)=>_0x32170a(_0x25ac6e,typeof _0x5fb661!=_0x1f54c8(0x1f5)?_0x5fb661+'':_0x5fb661,_0x2b320d);function _0x193f5c({ref:_0x540875,..._0x26da33}){const _0x1c7fc3=_0x1f54c8,{icon:_0x1ba108,id:_0x2a9b15,className:_0x2b41fd,extend:_0x161245,..._0x3bc7fc}=_0x26da33,_0x1c8387=(_0x1c7fc3(0x310)+_0x2a9b15+'\x20'+(_0x2b41fd||''))[_0x1c7fc3(0x208)](),_0x1c95f2=_0x515fd1[_0x1c7fc3(0x31e)]('_'+_0x26ab8a());return _0x5012a1(_0x1ba108,''+_0x2a9b15,{'defIds':_0x1ba108[_0x1c7fc3(0x285)],'idSuffix':_0x1c95f2[_0x1c7fc3(0x2b8)]},{'ref':_0x540875,'className':_0x1c8387,..._0x3bc7fc},_0x161245);}function _0x5012a1(_0x125727,_0x5e3ea7,_0x3568fd,_0x57cdca,_0x1e9f6d){const _0x4c7493=_0x1f54c8;return _0x515fd1['createElement'](_0x125727[_0x4c7493(0x286)],{'key':_0x5e3ea7,..._0x445128(_0x125727,_0x3568fd,_0x1e9f6d),..._0x57cdca},(_0x29af1a(_0x125727,_0x3568fd)[_0x4c7493(0x2e5)]||[])[_0x4c7493(0x209)]((_0x3909f4,_0x4503c1)=>_0x5012a1(_0x3909f4,_0x5e3ea7+'-'+_0x125727['tag']+'-'+_0x4503c1,_0x3568fd,void 0x0,_0x1e9f6d)));}function _0x445128(_0x2ac22f,_0x53d0c6,_0x194683){const _0x5c6580=_0x1f54c8,_0x768ab6={..._0x2ac22f[_0x5c6580(0x2ea)]};_0x194683!=null&&_0x194683[_0x5c6580(0x2f9)]&&_0x768ab6['fill']==='colorChannel1'&&(_0x768ab6[_0x5c6580(0x292)]=_0x194683['colorChannel1']),_0x2ac22f['tag']===_0x5c6580(0x258)&&_0x768ab6['id']&&(_0x768ab6['id']=_0x768ab6['id']+_0x53d0c6[_0x5c6580(0x2a0)]),Object[_0x5c6580(0x2bb)](_0x768ab6)[_0x5c6580(0x31d)](([_0x133ca4,_0x5ef072])=>{const _0xd74d6c=_0x5c6580;_0x133ca4===_0xd74d6c(0x258)&&typeof _0x5ef072==_0xd74d6c(0x268)&&(_0x768ab6[_0x133ca4]=_0x5ef072[_0xd74d6c(0x1df)](/url\(#(.*)\)/,_0xd74d6c(0x356)+_0x53d0c6[_0xd74d6c(0x2a0)]+')'));});const {defIds:_0x161bfa}=_0x53d0c6;return!_0x161bfa||_0x161bfa['length']===0x0||(_0x2ac22f[_0x5c6580(0x286)]===_0x5c6580(0x32a)&&_0x768ab6[_0x5c6580(0x337)]&&(_0x768ab6[_0x5c6580(0x337)]=_0x768ab6[_0x5c6580(0x337)]+_0x53d0c6['idSuffix']),Object['entries'](_0x768ab6)[_0x5c6580(0x31d)](([_0x1809cd,_0x392ab9])=>{const _0x1dde6c=_0x5c6580;typeof _0x392ab9=='string'&&(_0x768ab6[_0x1809cd]=_0x392ab9[_0x1dde6c(0x1df)](/url\(#(.*)\)/,_0x1dde6c(0x356)+_0x53d0c6[_0x1dde6c(0x2a0)]+')'));})),_0x768ab6;}function _0x29af1a(_0x307e40,_0x113d3a){const _0x2ccea4=_0x1f54c8;var _0x492623;const {defIds:_0x5910f9}=_0x113d3a;return!_0x5910f9||_0x5910f9['length']===0x0?_0x307e40:_0x307e40[_0x2ccea4(0x286)]===_0x2ccea4(0x29f)&&((_0x492623=_0x307e40[_0x2ccea4(0x2e5)])!=null&&_0x492623[_0x2ccea4(0x1f3)])?{..._0x307e40,'children':_0x307e40['children'][_0x2ccea4(0x209)](_0x3d0f7d=>typeof _0x3d0f7d[_0x2ccea4(0x2ea)]['id']==_0x2ccea4(0x268)&&_0x5910f9&&_0x5910f9[_0x2ccea4(0x228)](_0x3d0f7d['attrs']['id'])?{..._0x3d0f7d,'attrs':{..._0x3d0f7d[_0x2ccea4(0x2ea)],'id':_0x3d0f7d['attrs']['id']+_0x113d3a[_0x2ccea4(0x2a0)]}}:_0x3d0f7d)}:_0x307e40;}function _0x26ab8a(){const _0x396e18=_0x1f54c8;return Math['random']()[_0x396e18(0x267)](0x24)[_0x396e18(0x23f)](0x2,0x8);}_0x193f5c[_0x1f54c8(0x2bd)]=_0x1f54c8(0x2d3);const _0x10a1ee={'tag':_0x1f54c8(0x2db),'attrs':{'xmlns':_0x1f54c8(0x2f8),'fill':_0x1f54c8(0x250),'viewBox':_0x1f54c8(0x20a),'width':_0x1f54c8(0x296),'height':_0x1f54c8(0x296)},'children':[{'tag':_0x1f54c8(0x2e2),'attrs':{'fill':'currentColor','d':_0x1f54c8(0x217),'fillRule':_0x1f54c8(0x334),'clipRule':_0x1f54c8(0x334)}}]},_0x25982b=_0x515fd1[_0x1f54c8(0x34d)](function(_0x5d8d67,_0x3b30fe){const _0x4599b7=_0x1f54c8;return _0x515fd1[_0x4599b7(0x293)](_0x193f5c,Object[_0x4599b7(0x215)]({},_0x5d8d67,{'id':'check-mark-icon','ref':_0x3b30fe,'icon':_0x10a1ee}));});_0x25982b[_0x1f54c8(0x2bd)]=_0x1f54c8(0x275);const _0x578bb7={'tag':_0x1f54c8(0x2db),'attrs':{'xmlns':_0x1f54c8(0x2f8),'fill':_0x1f54c8(0x250),'viewBox':_0x1f54c8(0x20a),'width':_0x1f54c8(0x296),'height':_0x1f54c8(0x296)},'children':[{'tag':_0x1f54c8(0x2e2),'attrs':{'fill':_0x1f54c8(0x34f),'d':_0x1f54c8(0x28c)}}]},_0x1e0077=_0x515fd1[_0x1f54c8(0x34d)](function(_0x432752,_0x126a42){const _0x2f9998=_0x1f54c8;return _0x515fd1[_0x2f9998(0x293)](_0x193f5c,Object['assign']({},_0x432752,{'id':_0x2f9998(0x29d),'ref':_0x126a42,'icon':_0x578bb7}));});_0x1e0077[_0x1f54c8(0x2bd)]=_0x1f54c8(0x357);const _0x2f5336={'tag':_0x1f54c8(0x2db),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f54c8(0x250),'viewBox':'0\x200\x2016\x2016','width':_0x1f54c8(0x296),'height':_0x1f54c8(0x296)},'children':[{'tag':_0x1f54c8(0x2e2),'attrs':{'fill':_0x1f54c8(0x34f),'d':_0x1f54c8(0x225)}},{'tag':_0x1f54c8(0x2e2),'attrs':{'fill':_0x1f54c8(0x34f),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x1f54c8(0x2e2),'attrs':{'fill':_0x1f54c8(0x34f),'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':_0x1f54c8(0x334),'clipRule':'evenodd'}}]},_0x370096=_0x515fd1['forwardRef'](function(_0x263ed5,_0x2ce05e){const _0x5756fa=_0x1f54c8;return _0x515fd1[_0x5756fa(0x293)](_0x193f5c,Object[_0x5756fa(0x215)]({},_0x263ed5,{'id':_0x5756fa(0x2cc),'ref':_0x2ce05e,'icon':_0x2f5336}));});_0x370096[_0x1f54c8(0x2bd)]='HelpIcon';const _0x26951f={'tag':_0x1f54c8(0x2db),'attrs':{'xmlns':_0x1f54c8(0x2f8),'fill':_0x1f54c8(0x250),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1f54c8(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f54c8(0x21d)},'children':[{'tag':_0x1f54c8(0x2e2),'attrs':{'stroke':_0x1f54c8(0x34f),'d':_0x1f54c8(0x21c),'strokeLinecap':_0x1f54c8(0x33c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1f54c8(0x29f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1f54c8(0x2e2),'attrs':{'fill':_0x1f54c8(0x254),'d':_0x1f54c8(0x26e)}}]}]}],'defIds':[_0x1f54c8(0x333)]},_0x2e03c6=_0x515fd1[_0x1f54c8(0x34d)](function(_0x2de1ba,_0x17cf50){const _0x382109=_0x1f54c8;return _0x515fd1[_0x382109(0x293)](_0x193f5c,Object[_0x382109(0x215)]({},_0x2de1ba,{'id':'off-line-icon','ref':_0x17cf50,'icon':_0x26951f}));});_0x2e03c6[_0x1f54c8(0x2bd)]=_0x1f54c8(0x264);const _0x47632b={'tag':_0x1f54c8(0x2db),'attrs':{'xmlns':_0x1f54c8(0x2f8),'fill':_0x1f54c8(0x250),'viewBox':_0x1f54c8(0x1d8),'width':_0x1f54c8(0x296),'height':_0x1f54c8(0x296)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x1f54c8(0x34f),'d':_0x1f54c8(0x2a2),'strokeLinecap':_0x1f54c8(0x33c),'strokeLinejoin':_0x1f54c8(0x33c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1f54c8(0x2d6),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x1f54c8(0x2e2),'attrs':{'fill':_0x1f54c8(0x254),'d':_0x1f54c8(0x26e),'transform':_0x1f54c8(0x33f)}}]}]}],'defIds':[_0x1f54c8(0x277)]},_0x287fba=_0x515fd1[_0x1f54c8(0x34d)](function(_0x193a4f,_0x10ce16){const _0x2ae83b=_0x1f54c8;return _0x515fd1[_0x2ae83b(0x293)](_0x193f5c,Object[_0x2ae83b(0x215)]({},_0x193a4f,{'id':'on-line-icon','ref':_0x10ce16,'icon':_0x47632b}));});_0x287fba['displayName']=_0x1f54c8(0x294);function _0x2f9fcc(_0x286256){const _0x489173=_0x1f54c8;var _0x4522b6,_0x2d87fd;const {mcpCoreConfig:_0x14bf66,onSave:_0x51c005,loading:_0xc8acba=!0x1,config:_0x3f89ac,connectionStatus$:_0x2d19b4,connectionError$:_0xc0a878,currentApiKey$:_0x2708d6,currentSessionId$:_0x4335d3}=_0x286256,_0x4ec182=_0x5b6029[_0x489173(0x243)](_0x2bc493['LocaleService']),_0x479e42=_0x5b6029['useObservable'](_0x2d19b4,_0x42323b['MCPConnectionStatus'][_0x489173(0x341)]),_0xd5e1=_0x5b6029[_0x489173(0x345)](_0xc0a878,_0x42323b[_0x489173(0x2d2)]['NONE']),_0x578fe8=_0x5b6029['useObservable'](_0x4335d3,''),_0x398ac6=_0x5b6029[_0x489173(0x345)](_0x2708d6,''),[_0x48fcf2,_0x5ef959]=_0x515fd1[_0x489173(0x1dd)](_0x398ac6||''),_0x20676a=!0x0,_0x2f4a3b=_0x3f89ac['showDeveloperTools']&&_0x14bf66['mcpServerUrl']&&(_0x14bf66[_0x489173(0x239)][_0x489173(0x228)](_0x489173(0x1e2))||_0x14bf66[_0x489173(0x239)][_0x489173(0x228)]('univer.ai')),_0x5e7160=(_0x4522b6=_0x14bf66[_0x489173(0x239)])==null?void 0x0:_0x4522b6[_0x489173(0x228)]('univer.plus'),_0x20db0a=(_0x2d87fd=_0x14bf66['mcpServerUrl'])==null?void 0x0:_0x2d87fd[_0x489173(0x228)](_0x489173(0x253)),_0x3aa00c=_0x5e7160?'https://console.univer.plus':'https://console.univer.ai',_0x2320f8=_0x3f89ac['showDeveloperTools']&&(_0x5e7160||_0x20db0a),[_0x36ffc4,_0x2cdc6a]=_0x515fd1[_0x489173(0x1dd)](!_0x48fcf2[_0x489173(0x208)]()),_0x3e2fa3=(_0x4dd65b,_0xba4a12)=>{const _0x48a6ba=_0x489173;if(_0xba4a12===_0x42323b['MCPConnectionError'][_0x48a6ba(0x2b2)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x4dd65b){case _0x42323b['MCPConnectionStatus'][_0x48a6ba(0x2f7)]:return _0x48a6ba(0x2a1);case _0x42323b[_0x48a6ba(0x2eb)][_0x48a6ba(0x269)]:case _0x42323b['MCPConnectionStatus'][_0x48a6ba(0x201)]:return _0x48a6ba(0x266);case _0x42323b['MCPConnectionStatus']['FAILED']:return _0x48a6ba(0x212);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x3a6356=(_0x544ca9,_0x1daef7)=>{const _0x245cd3=_0x489173;if(_0x1daef7===_0x42323b[_0x245cd3(0x2d2)][_0x245cd3(0x2b2)])return _0x245cd3(0x22c);switch(_0x544ca9){case _0x42323b[_0x245cd3(0x2eb)][_0x245cd3(0x2f7)]:return'univer-bg-green-500';case _0x42323b[_0x245cd3(0x2eb)][_0x245cd3(0x269)]:case _0x42323b['MCPConnectionStatus']['RETRYING']:return _0x245cd3(0x353);case _0x42323b[_0x245cd3(0x2eb)]['FAILED']:return _0x245cd3(0x22c);default:return _0x245cd3(0x2a5);}},_0x36a588=_0x3ff8ec=>{const _0x12d61c=_0x489173;switch(_0x3ff8ec){case _0x42323b[_0x12d61c(0x2eb)]['CONNECTED']:return _0x4ec182['t'](_0x12d61c(0x236));case _0x42323b[_0x12d61c(0x2eb)][_0x12d61c(0x269)]:return _0x4ec182['t'](_0x12d61c(0x2ed));case _0x42323b[_0x12d61c(0x2eb)]['FAILED']:return _0x4ec182['t'](_0x12d61c(0x1d2));case _0x42323b[_0x12d61c(0x2eb)][_0x12d61c(0x201)]:return _0x4ec182['t']('mcpConfig.connectionStatus.retrying');default:return _0x4ec182['t'](_0x12d61c(0x1d4));}},_0x3c99bc=_0x48f7e5=>{const _0xa15bfb=_0x489173;switch(_0x48f7e5){case _0x42323b[_0xa15bfb(0x2d2)][_0xa15bfb(0x2b2)]:return _0x4ec182['t'](_0xa15bfb(0x23b));case _0x42323b['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x4ec182['t'](_0xa15bfb(0x1e4));case _0x42323b[_0xa15bfb(0x2d2)][_0xa15bfb(0x271)]:return _0x4ec182['t'](_0xa15bfb(0x27a));case _0x42323b[_0xa15bfb(0x2d2)][_0xa15bfb(0x26b)]:return _0x4ec182['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x5268fe=_0x515fd1[_0x489173(0x2e1)](()=>{const _0x1be895=_0x489173,_0x2b5910={..._0x14bf66,'apiKey':_0x48fcf2[_0x1be895(0x208)](),'enableAuth':_0x20676a};_0x51c005(_0x2b5910);},[_0x14bf66,_0x48fcf2,_0x20676a,_0x51c005]),_0x3e6d15=_0x48fcf2[_0x489173(0x208)]()[_0x489173(0x1f3)]>0x0;return _0x48c1fe['jsxs'](_0x489173(0x324),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x48c1fe[_0x489173(0x2c7)]('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x48c1fe['jsxs'](_0x489173(0x324),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x48c1fe['jsx'](_0x489173(0x324),{'className':_0x489173(0x31b),'children':_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'className':_0x489173(0x265),'children':'⚙'})}),_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'children':_0x48c1fe[_0x489173(0x2c7)]('p',{'className':_0x489173(0x1f9),'children':_0x4ec182['t']('mcpConfig.description')})})]})}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x2a4),'children':[_0x48c1fe['jsx'](_0x489173(0x324),{'className':_0x1513e5['clsx'](_0x489173(0x20c),_0x3e2fa3(_0x479e42,_0xd5e1)),'children':_0x48c1fe[_0x489173(0x1eb)]('div',{'className':_0x489173(0x2d4),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x1513e5[_0x489173(0x2a6)](_0x489173(0x223),_0x3a6356(_0x479e42,_0xd5e1))}),_0x48c1fe['jsx'](_0x489173(0x348),{'className':'univer-text-sm\x20univer-font-medium','children':_0x36a588(_0x479e42)})]})}),_0xd5e1!==_0x42323b['MCPConnectionError']['NONE']&&(_0x479e42===_0x42323b[_0x489173(0x2eb)][_0x489173(0x257)]||_0xd5e1===_0x42323b[_0x489173(0x2d2)][_0x489173(0x2b2)])&&_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x25c),'children':_0x48c1fe[_0x489173(0x1eb)]('div',{'className':_0x489173(0x318),'children':[_0x48c1fe['jsx']('span',{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x48c1fe[_0x489173(0x2c7)]('p',{'className':_0x489173(0x2c6),'children':_0x3c99bc(_0xd5e1)})]})})]}),_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':'univer-space-y-5','children':[_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x1ec),'children':[_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x2f4),{'className':_0x489173(0x2d7),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'children':'🔑'}),'\x20',_0x4ec182['t'](_0x489173(0x2f0)),_0x48c1fe[_0x489173(0x2c7)]('span',{'className':_0x489173(0x247),'children':'*'}),_0x2f4a3b&&_0x48c1fe[_0x489173(0x2c7)]('a',{'className':_0x489173(0x1e9),'title':_0x4ec182['t'](_0x489173(0x259)),'role':_0x489173(0x21f),'onClick':()=>_0x2cdc6a(!0x0),'children':_0x48c1fe['jsx'](_0x370096,{})})]}),_0x48c1fe[_0x489173(0x2c7)](_0x1513e5[_0x489173(0x240)],{'type':_0x489173(0x1fa),'placeholder':_0x4ec182['t'](_0x489173(0x32f)),'value':_0x48fcf2,'disabled':_0xc8acba,'autoComplete':'off','onChange':_0x5ef959}),_0x48c1fe[_0x489173(0x2c7)]('p',{'className':_0x489173(0x26c),'children':_0x4ec182['t']('mcpConfig.apiKeyHint')})]}),_0x2f4a3b&&_0x36ffc4&&_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x309),'children':[_0x48c1fe[_0x489173(0x2c7)]('a',{'className':_0x489173(0x210),'role':'button','onClick':()=>_0x2cdc6a(!0x1),'children':_0x48c1fe[_0x489173(0x2c7)](_0x1e0077,{'className':_0x489173(0x1fe)})}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x246),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x1e5),'children':_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'className':_0x489173(0x2c8),'children':'🚀'})}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x2b5),'children':[_0x48c1fe[_0x489173(0x2c7)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x4ec182['t'](_0x489173(0x259))}),_0x48c1fe[_0x489173(0x2c7)]('p',{'className':_0x489173(0x24e),'children':_0x4ec182['t']('mcpConfig.apiApplyInfo.description')}),_0x48c1fe[_0x489173(0x2c7)]('div',{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x2320f8&&_0x48c1fe[_0x489173(0x1eb)]('a',{'className':_0x489173(0x35a),'href':_0x3aa00c,'target':'_blank','rel':_0x489173(0x1ed),'children':[_0x48c1fe['jsx'](_0x489173(0x348),{'children':'🤖'}),_0x4ec182['t'](_0x489173(0x2e0)),_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'className':_0x489173(0x1f2),'children':'↗'})]})}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x335),'children':['✨','\x20',_0x4ec182['t'](_0x489173(0x2c5))]})]})]})]}),_0x3f89ac[_0x489173(0x20b)]&&_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x251),'children':[_0x48c1fe[_0x489173(0x1eb)]('h4',{'className':_0x489173(0x349),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'children':'🔗'}),'\x20',_0x4ec182['t']('mcpConfig.connectionInfo')]}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':'univer-space-y-4','children':[_0x48c1fe[_0x489173(0x1eb)]('div',{'className':_0x489173(0x24d),'children':[_0x48c1fe[_0x489173(0x2c7)]('p',{'className':_0x489173(0x21e),'children':_0x4ec182['t']('mcpConfig.configInstructions')}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x1ec),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x21a),'children':_0x4ec182['t'](_0x489173(0x1ff))}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x343),'children':[_0x48c1fe[_0x489173(0x1eb)]('div',{'className':_0x489173(0x2d4),'children':[_0x48c1fe['jsx'](_0x489173(0x348),{'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'}),_0x4ec182['t']('mcpConfig.configStep1')]}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x2d4),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'className':_0x489173(0x340),'children':'2'}),_0x4ec182['t']('mcpConfig.configStep2')]}),_0x48c1fe['jsxs'](_0x489173(0x324),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'className':_0x489173(0x340),'children':'3'}),_0x4ec182['t'](_0x489173(0x26f))]})]})]})]}),_0x48c1fe[_0x489173(0x1eb)]('div',{'className':_0x489173(0x1ec),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x489173(0x230)}),_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x2c9),{'className':_0x489173(0x248),'children':JSON[_0x489173(0x344)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x578fe8||_0x489173(0x34a)),'type':_0x489173(0x200),'headers':{'Authorization':_0x489173(0x23c)+(_0x48fcf2||_0x489173(0x26d))}}}},null,0x2)})})]}),_0x48c1fe['jsxs']('div',{'className':_0x489173(0x24d),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x21a),'children':_0x4ec182['t'](_0x489173(0x2d8))}),_0x48c1fe['jsxs'](_0x489173(0x324),{'className':'univer-space-y-2','children':[_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x22a),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x30a),'children':[_0x48c1fe['jsx'](_0x489173(0x324),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x489173(0x2d9)}),_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x26c),'children':_0x4ec182['t']('mcpConfig.sessionIdDescription')})]})]}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':_0x489173(0x22a),'children':[_0x48c1fe['jsx'](_0x489173(0x324),{'className':_0x489173(0x281)}),_0x48c1fe[_0x489173(0x1eb)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x1e7),'children':_0x489173(0x2c0)}),_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x26c),'children':_0x4ec182['t'](_0x489173(0x342))})]})]})]})]})]})]}),_0x48c1fe['jsx'](_0x1513e5[_0x489173(0x214)],{'onClick':_0x5268fe,'disabled':!_0x3e6d15||_0xc8acba,'className':_0x489173(0x2e6),'children':_0xc8acba?_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x348),{'className':_0x489173(0x2d4),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'children':'⟲'}),_0x4ec182['t']('mcpConfig.saving')]}):_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x348),{'className':_0x489173(0x2d4),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x25982b,{}),_0x4ec182['t']('mcpConfig.save')]})}),_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x359),'children':_0x48c1fe[_0x489173(0x1eb)]('div',{'className':_0x489173(0x2fb),'children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x348),{'className':_0x489173(0x226),'children':'💡'}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x48c1fe[_0x489173(0x2c7)](_0x489173(0x324),{'className':_0x489173(0x302),'children':_0x489173(0x2ba)}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'children':['•',_0x4ec182['t'](_0x489173(0x2f2))]}),_0x48c1fe[_0x489173(0x1eb)](_0x489173(0x324),{'children':['•',_0x4ec182['t'](_0x489173(0x229))]})]})]})})]})})]});}const _0x5831ac=_0x1f54c8(0x1e3),_0x346370={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x4cba33=Object['getOwnPropertyDescriptor'],_0x9ffd7=(_0x5540d2,_0xbdd3e1,_0x48557b,_0x10c98a)=>{for(var _0x1e6532=_0x10c98a>0x1?void 0x0:_0x10c98a?_0x4cba33(_0xbdd3e1,_0x48557b):_0xbdd3e1,_0x30fc7b=_0x5540d2['length']-0x1,_0x5b247c;_0x30fc7b>=0x0;_0x30fc7b--)(_0x5b247c=_0x5540d2[_0x30fc7b])&&(_0x1e6532=_0x5b247c(_0x1e6532)||_0x1e6532);return _0x1e6532;},_0x4641d9=(_0x35312,_0x304ee6)=>(_0x43e042,_0x1d410a)=>_0x304ee6(_0x43e042,_0x1d410a,_0x35312);const _0xe3def6=_0x1f54c8(0x295),_0x49e622=_0x1f54c8(0x2dd);_0x320c8d['MCPConfigUIController']=class extends _0x2bc493[_0x1f54c8(0x354)]{constructor(_0x1bdcf1,_0x397161,_0x59eff0,_0x364422,_0x280ed2,_0x6a16ea,_0x24f93f,_0x395b31,_0x1f3d60,_0x271afa){const _0x9b661a=_0x1f54c8;super(),_0x5695e(this,_0x9b661a(0x22f),new _0x4bfce7[(_0x9b661a(0x303))](!0x1)),_0x5695e(this,'_mcpCoreConfig$',new _0x4bfce7[(_0x9b661a(0x303))]({})),_0x5695e(this,_0x9b661a(0x27e),new _0x4bfce7[(_0x9b661a(0x303))]({})),_0x5695e(this,'_apiKey$',new _0x4bfce7[(_0x9b661a(0x303))]('')),_0x5695e(this,_0x9b661a(0x237),async _0x1ff0e2=>{const _0x38a9dd=_0x9b661a;var _0x59b69c,_0x3f7cb6;this[_0x38a9dd(0x22f)][_0x38a9dd(0x289)](!0x0);try{const _0xcccd9d=await this['_validateConfig'](_0x1ff0e2);if(!_0xcccd9d['isValid']){this['_messageService'][_0x38a9dd(0x1d5)]({'type':_0x1513e5[_0x38a9dd(0x207)][_0x38a9dd(0x2aa)],'content':_0xcccd9d[_0x38a9dd(0x256)]||this[_0x38a9dd(0x2c1)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x1ff0e2[_0x38a9dd(0x288)]?await this[_0x38a9dd(0x31a)][_0x38a9dd(0x2ff)](_0xe3def6,_0x1ff0e2[_0x38a9dd(0x288)][_0x38a9dd(0x208)]()):await this[_0x38a9dd(0x31a)][_0x38a9dd(0x308)](_0xe3def6),this[_0x38a9dd(0x28b)]['next'](((_0x59b69c=_0x1ff0e2[_0x38a9dd(0x288)])==null?void 0x0:_0x59b69c[_0x38a9dd(0x208)]())||''),this[_0x38a9dd(0x2c2)][_0x38a9dd(0x28a)]({'Authorization':'Bearer\x20'+((_0x3f7cb6=_0x1ff0e2['apiKey'])==null?void 0x0:_0x3f7cb6['trim']())}),this[_0x38a9dd(0x336)][_0x38a9dd(0x1d5)]({'type':_0x1513e5['MessageType']['Success'],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x75005d=_0x38a9dd;this[_0x75005d(0x33b)]['close'](_0x49e622);},0x320);}catch(_0x50efe7){this[_0x38a9dd(0x2ad)][_0x38a9dd(0x25e)](_0x38a9dd(0x34b),_0x50efe7),this[_0x38a9dd(0x336)]['show']({'type':_0x1513e5[_0x38a9dd(0x207)][_0x38a9dd(0x2aa)],'content':this[_0x38a9dd(0x2c1)]['t'](_0x38a9dd(0x23d))});}finally{this[_0x38a9dd(0x22f)][_0x38a9dd(0x289)](!0x1);}}),(this[_0x9b661a(0x2fd)]=_0x1bdcf1,this[_0x9b661a(0x1dc)]=_0x397161,this[_0x9b661a(0x33e)]=_0x59eff0,this[_0x9b661a(0x31a)]=_0x364422,this[_0x9b661a(0x33b)]=_0x280ed2,this[_0x9b661a(0x336)]=_0x6a16ea,this[_0x9b661a(0x30f)]=_0x24f93f,this[_0x9b661a(0x2c1)]=_0x395b31,this['_logService']=_0x1f3d60,this[_0x9b661a(0x2c2)]=_0x271afa,this[_0x9b661a(0x27c)](),this[_0x9b661a(0x291)](),this[_0x9b661a(0x1da)]());}[_0x1f54c8(0x1e0)](){const _0x245d18=_0x1f54c8,_0x221bde=this[_0x245d18(0x33e)]['getConfig'](_0x5831ac);_0x221bde!=null&&_0x221bde[_0x245d18(0x20b)]&&this[_0x245d18(0x33b)]['open']({'id':_0x49e622,'title':{'title':this[_0x245d18(0x2c1)]['t'](_0x245d18(0x24a))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x175669=_0x245d18;this[_0x175669(0x33b)][_0x175669(0x339)](_0x49e622);}});}[_0x1f54c8(0x203)](){const _0x3a0c0a=_0x1f54c8;return this[_0x3a0c0a(0x1f4)][_0x3a0c0a(0x298)];}[_0x1f54c8(0x1da)](){const _0x4af5cf=_0x1f54c8;this[_0x4af5cf(0x1e1)](this[_0x4af5cf(0x30f)][_0x4af5cf(0x220)](_0x4af5cf(0x2cd),this[_0x4af5cf(0x297)]()));}[_0x1f54c8(0x297)](){return _0x5b6029['connectInjector'](()=>{const _0x3c4cf9=_0x5e8e;var _0x19a7b7,_0x50e303,_0x2967ab;return _0x48c1fe[_0x3c4cf9(0x2c7)](_0x2f9fcc,{'config':this[_0x3c4cf9(0x27e)][_0x3c4cf9(0x298)],'mcpCoreConfig':this['_mcpCoreConfig$']['value'],'currentApiKey$':this[_0x3c4cf9(0x28b)],'onSave':this[_0x3c4cf9(0x237)],'loading':this[_0x3c4cf9(0x22f)][_0x3c4cf9(0x298)],'connectionStatus$':(_0x19a7b7=this[_0x3c4cf9(0x2c2)])==null?void 0x0:_0x19a7b7['connectionStatus$'],'connectionError$':(_0x50e303=this[_0x3c4cf9(0x2c2)])==null?void 0x0:_0x50e303[_0x3c4cf9(0x1f8)],'currentSessionId$':(_0x2967ab=this[_0x3c4cf9(0x2c2)])==null?void 0x0:_0x2967ab[_0x3c4cf9(0x28f)]});},this['_injector']);}['_initConfigSync'](){const _0x4dfdf5=_0x1f54c8;this[_0x4dfdf5(0x1e1)](this['_configService'][_0x4dfdf5(0x279)](_0x42323b[_0x4dfdf5(0x27f)])[_0x4dfdf5(0x274)](_0x185891=>{const _0x28ac6c=_0x4dfdf5;this[_0x28ac6c(0x1f4)]['next'](_0x185891||{});}));const _0x37e3b6=this['_configService']['getConfig'](_0x42323b[_0x4dfdf5(0x27f)]);this['_mcpCoreConfig$'][_0x4dfdf5(0x289)](_0x37e3b6||{}),this[_0x4dfdf5(0x1e1)](this[_0x4dfdf5(0x33e)][_0x4dfdf5(0x279)](_0x5831ac)[_0x4dfdf5(0x274)](_0x222e4d=>{const _0x734c4d=_0x4dfdf5;this[_0x734c4d(0x27e)]['next'](_0x222e4d||{});}));const _0x5562a8=this[_0x4dfdf5(0x33e)][_0x4dfdf5(0x2ae)](_0x5831ac);this[_0x4dfdf5(0x27e)][_0x4dfdf5(0x289)](_0x5562a8||{});}async[_0x1f54c8(0x291)](){const _0x444852=_0x1f54c8,_0x18c3db=this[_0x444852(0x33e)][_0x444852(0x2ae)](_0x5831ac);if(!(_0x18c3db!=null&&_0x18c3db[_0x444852(0x20b)]))return;const _0x447def=await this[_0x444852(0x31a)][_0x444852(0x2df)](_0xe3def6);_0x447def&&(this[_0x444852(0x2c2)][_0x444852(0x28a)]({'Authorization':'Bearer\x20'+_0x447def}),this[_0x444852(0x28b)]['next'](_0x447def));}async[_0x1f54c8(0x320)](_0xbabe81){const _0x455591=_0x1f54c8;if(!_0xbabe81[_0x455591(0x288)]||_0xbabe81[_0x455591(0x288)][_0x455591(0x208)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x455591(0x2c1)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0xbabe81['apiKey'][_0x455591(0x208)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x455591(0x2c1)]['t'](_0x455591(0x2e9))};try{const _0x23f00b=await this[_0x455591(0x2fd)]['get'](_0x42323b[_0x455591(0x20d)])[_0x455591(0x219)](_0xbabe81[_0x455591(0x288)]['trim']());return _0x23f00b[_0x455591(0x2a7)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x23f00b[_0x455591(0x25e)]||this[_0x455591(0x2c1)]['t'](_0x455591(0x321))};}catch(_0x1848fe){return console[_0x455591(0x21b)](_0x455591(0x2ce),_0x1848fe),{'isValid':!0x0};}}},_0x320c8d[_0x1f54c8(0x2be)]=_0x9ffd7([_0x4641d9(0x0,_0x2bc493[_0x1f54c8(0x23e)](_0x2bc493[_0x1f54c8(0x2bf)])),_0x4641d9(0x1,_0x5b6029[_0x1f54c8(0x241)]),_0x4641d9(0x2,_0x2bc493[_0x1f54c8(0x23a)]),_0x4641d9(0x3,_0x2bc493[_0x1f54c8(0x2f1)]),_0x4641d9(0x4,_0x5b6029['IDialogService']),_0x4641d9(0x5,_0x5b6029[_0x1f54c8(0x32b)]),_0x4641d9(0x6,_0x2bc493[_0x1f54c8(0x23e)](_0x5b6029[_0x1f54c8(0x329)])),_0x4641d9(0x7,_0x2bc493[_0x1f54c8(0x23e)](_0x2bc493[_0x1f54c8(0x2fa)])),_0x4641d9(0x8,_0x2bc493[_0x1f54c8(0x1e6)]),_0x4641d9(0x9,_0x2bc493[_0x1f54c8(0x23e)](_0x42323b['MCPConnectionController']))],_0x320c8d[_0x1f54c8(0x2be)]);const _0x36c9a5={'id':'mcp-ui.command.openConfigPanel','type':_0x2bc493[_0x1f54c8(0x306)][_0x1f54c8(0x234)],'handler':async(_0x17ccd7,_0x6e7f41)=>(_0x17ccd7[_0x1f54c8(0x2b3)](_0x320c8d['MCPConfigUIController'])['showConfigPanel'](),!0x0)};function _0x22f6eb(_0x373e9c,_0x15302d){const _0x3ba5cd=_0x1f54c8;switch(_0x373e9c){case _0x42323b['MCPConnectionStatus']['DISCONNECTED']:return _0x3ba5cd(0x29a);case _0x42323b['MCPConnectionStatus'][_0x3ba5cd(0x269)]:return _0x3ba5cd(0x2b6);case _0x42323b[_0x3ba5cd(0x2eb)][_0x3ba5cd(0x2f7)]:return _0x3ba5cd(0x322);case _0x42323b[_0x3ba5cd(0x2eb)][_0x3ba5cd(0x257)]:switch(_0x15302d){case _0x42323b[_0x3ba5cd(0x2d2)][_0x3ba5cd(0x2b2)]:return'mcpStatus.unauthorized';case _0x42323b[_0x3ba5cd(0x2d2)][_0x3ba5cd(0x316)]:return _0x3ba5cd(0x2a9);case _0x42323b[_0x3ba5cd(0x2d2)][_0x3ba5cd(0x271)]:return'mcpStatus.networkError';case _0x42323b[_0x3ba5cd(0x2d2)][_0x3ba5cd(0x26b)]:return _0x3ba5cd(0x338);default:return _0x3ba5cd(0x2ab);}case _0x42323b[_0x3ba5cd(0x2eb)][_0x3ba5cd(0x201)]:return'mcpStatus.retrying';default:return _0x3ba5cd(0x218);}}function _0x1ee91d(_0x48c316,_0x214101,_0xe553f3,_0x3bf05e=!0x0){const _0x32b6a2=_0x1f54c8,_0x736f40=_0x22f6eb(_0x48c316,_0x214101),_0xd328bb=_0xe553f3['t'](_0x736f40);return _0x3bf05e?_0x48c316===_0x42323b[_0x32b6a2(0x2eb)][_0x32b6a2(0x341)]&&_0x214101===_0x42323b[_0x32b6a2(0x2d2)][_0x32b6a2(0x2b2)]?_0xd328bb+_0x32b6a2(0x2de)+_0xe553f3['t'](_0x32b6a2(0x2c4)):_0x48c316===_0x42323b[_0x32b6a2(0x2eb)]['CONNECTED']?''+_0xd328bb:_0x48c316===_0x42323b['MCPConnectionStatus'][_0x32b6a2(0x341)]||_0x48c316===_0x42323b['MCPConnectionStatus']['FAILED']?_0xd328bb+_0x32b6a2(0x2de)+_0xe553f3['t'](_0x32b6a2(0x222)):_0xd328bb:_0xd328bb;}function _0x161bcb(_0x2ceab3){const _0x4e94fc=_0x1f54c8;switch(_0x2ceab3){case _0x42323b[_0x4e94fc(0x2eb)][_0x4e94fc(0x2f7)]:return _0x4e94fc(0x2d0);case _0x42323b[_0x4e94fc(0x2eb)][_0x4e94fc(0x269)]:case _0x42323b['MCPConnectionStatus']['RETRYING']:return _0x4e94fc(0x34c);case _0x42323b['MCPConnectionStatus'][_0x4e94fc(0x257)]:case _0x42323b[_0x4e94fc(0x2eb)][_0x4e94fc(0x341)]:return _0x4e94fc(0x247);default:return'univer-text-gray-500';}}function _0x1a1963(_0x29718e){const _0xdf6192=_0x1f54c8,{status$:_0x5da343,error$:_0x26575d,onConfigure:_0x273848,showClickable:_0x15927e=!0x0}=_0x29718e,_0x190897=_0x5b6029['useObservable'](_0x5da343,_0x42323b['MCPConnectionStatus'][_0xdf6192(0x341)]),_0x3c7a97=_0x5b6029[_0xdf6192(0x345)](_0x26575d,_0x42323b[_0xdf6192(0x2d2)][_0xdf6192(0x2e7)]),_0x3cab53=_0x5b6029['useDependency'](_0x2bc493['LocaleService']),_0x22a4da=_0x190897===_0x42323b['MCPConnectionStatus'][_0xdf6192(0x2f7)];_0x190897===_0x42323b['MCPConnectionStatus'][_0xdf6192(0x269)]||_0x42323b[_0xdf6192(0x2eb)][_0xdf6192(0x201)];const _0x41ff7a=_0x3cab53['t'](_0x22f6eb(_0x190897,_0x3c7a97)),_0x41fc7d=_0x1ee91d(_0x190897,_0x3c7a97,_0x3cab53,_0x15927e),_0x407467=_0x161bcb(_0x190897),_0x3a0ff3=_0x22a4da?_0x48c1fe[_0xdf6192(0x2c7)](_0x287fba,{}):_0x48c1fe['jsx'](_0x2e03c6,{}),_0x3ce18e=_0x515fd1[_0xdf6192(0x2e1)](()=>{_0x15927e&&_0x273848&&_0x273848();},[_0x15927e,_0x273848]);function _0xe4db78(){const _0x192493=_0xdf6192;return _0x48c1fe[_0x192493(0x1eb)](_0x192493(0x324),{'className':_0x1513e5[_0x192493(0x2a6)](_0x192493(0x27d),_0x15927e&&_0x273848&&_0x192493(0x325)),'role':_0x192493(0x21f),'onClick':_0x15927e&&_0x273848?_0x3ce18e:void 0x0,'children':[_0x48c1fe[_0x192493(0x2c7)](_0x192493(0x324),{'className':_0x1513e5['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x407467),'children':_0x3a0ff3}),_0x48c1fe[_0x192493(0x2c7)](_0x192493(0x324),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x41ff7a})]});}return _0x48c1fe['jsx'](_0x1513e5[_0xdf6192(0x352)],{'title':_0x41fc7d,'placement':_0xdf6192(0x2ca),'children':_0xe4db78()});}var _0x9ae888=Object[_0x1f54c8(0x25f)],_0x37ee9c=(_0x1d1a85,_0x28efea,_0x4b1938,_0x4ef192)=>{const _0x2c4f19=_0x1f54c8;for(var _0x36b027=_0x4ef192>0x1?void 0x0:_0x4ef192?_0x9ae888(_0x28efea,_0x4b1938):_0x28efea,_0x39e5d9=_0x1d1a85[_0x2c4f19(0x1f3)]-0x1,_0x584920;_0x39e5d9>=0x0;_0x39e5d9--)(_0x584920=_0x1d1a85[_0x39e5d9])&&(_0x36b027=_0x584920(_0x36b027)||_0x36b027);return _0x36b027;},_0x264906=(_0x34834a,_0x2f228a)=>(_0xe6ecdb,_0x345fed)=>_0x2f228a(_0xe6ecdb,_0x345fed,_0x34834a);_0x320c8d[_0x1f54c8(0x2d5)]=class extends _0x2bc493[_0x1f54c8(0x354)]{constructor(_0x13e96d,_0x1b6ee0,_0x315f99,_0x42c719){const _0x1c621b=_0x1f54c8;super(),this[_0x1c621b(0x2fd)]=_0x13e96d,this['_connectionController']=_0x1b6ee0,this[_0x1c621b(0x1dc)]=_0x315f99,this[_0x1c621b(0x33e)]=_0x42c719,this[_0x1c621b(0x2cf)](),this[_0x1c621b(0x2f3)]();}[_0x1f54c8(0x2cf)](){const _0x282935=_0x1f54c8,_0x30ceab=this[_0x282935(0x33e)][_0x282935(0x2ae)](_0x5831ac);_0x30ceab!=null&&_0x30ceab[_0x282935(0x20b)]&&(this[_0x282935(0x1f6)]['enableAutoConnect']=!0x1);}[_0x1f54c8(0x2f3)](){const _0x3d1074=_0x1f54c8,_0x1226bd=this[_0x3d1074(0x33e)][_0x3d1074(0x2ae)](_0x5831ac);(_0x1226bd==null?void 0x0:_0x1226bd[_0x3d1074(0x2ec)])!==!0x1&&this[_0x3d1074(0x1e1)](this[_0x3d1074(0x1dc)]['registerComponent'](_0x5b6029[_0x3d1074(0x33d)][_0x3d1074(0x216)],()=>{const _0x2a629e=_0x3d1074;var _0x26963c;return _0x5b6029[_0x2a629e(0x312)](_0x1a2834({'status$':this[_0x2a629e(0x1f6)]['connectionStatus$'],'error$':this[_0x2a629e(0x1f6)][_0x2a629e(0x1f8)],'onConfigure':()=>this[_0x2a629e(0x350)](),'showClickable':(_0x26963c=_0x1226bd==null?void 0x0:_0x1226bd['showDeveloperTools'])!=null?_0x26963c:!0x1}),this['_injector']);}));}[_0x1f54c8(0x350)](){const _0x3897d3=_0x1f54c8;this[_0x3897d3(0x2fd)][_0x3897d3(0x2b3)](_0x320c8d[_0x3897d3(0x2be)])[_0x3897d3(0x1e0)]();}},_0x320c8d['MCPConnectionUIController']=_0x37ee9c([_0x264906(0x0,_0x2bc493[_0x1f54c8(0x23e)](_0x2bc493[_0x1f54c8(0x2bf)])),_0x264906(0x1,_0x2bc493[_0x1f54c8(0x23e)](_0x42323b[_0x1f54c8(0x20d)])),_0x264906(0x2,_0x5b6029[_0x1f54c8(0x241)]),_0x264906(0x3,_0x2bc493[_0x1f54c8(0x23a)])],_0x320c8d[_0x1f54c8(0x2d5)]);function _0x1a2834(_0x35fb59){const {status$:_0x14dea5,error$:_0x445749,onConfigure:_0x184637,showClickable:_0x58d7f0}=_0x35fb59;return function(){return _0x48c1fe['jsx'](_0x1a1963,{'status$':_0x14dea5,'error$':_0x445749,'onConfigure':_0x184637,'showClickable':_0x58d7f0});};}function _0x48391d(_0x17b587){const _0x28fc56=_0x1f54c8;return{'id':_0x36c9a5['id'],'type':_0x5b6029[_0x28fc56(0x22d)][_0x28fc56(0x287)],'icon':'MenuIcon','title':_0x28fc56(0x24a),'tooltip':_0x28fc56(0x24a)};}const _0x42a8a2={[_0x5b6029[_0x1f54c8(0x2dc)][_0x1f54c8(0x29e)]]:{[_0x36c9a5['id']]:{'order':0xa,'menuItemFactory':_0x48391d}}};var _0x4cc2e8=Object[_0x1f54c8(0x25f)],_0x1f0d5f=(_0x5d389f,_0x4a0cb8,_0x4e4f48,_0x5b8b4c)=>{for(var _0x232d6e=_0x5b8b4c>0x1?void 0x0:_0x5b8b4c?_0x4cc2e8(_0x4a0cb8,_0x4e4f48):_0x4a0cb8,_0x2de6dd=_0x5d389f['length']-0x1,_0x44ff34;_0x2de6dd>=0x0;_0x2de6dd--)(_0x44ff34=_0x5d389f[_0x2de6dd])&&(_0x232d6e=_0x44ff34(_0x232d6e)||_0x232d6e);return _0x232d6e;},_0x1ac4b9=(_0x2174a9,_0x1d5d28)=>(_0xdd04cd,_0x1d9b49)=>_0x1d5d28(_0xdd04cd,_0x1d9b49,_0x2174a9);_0x320c8d[_0x1f54c8(0x32d)]=class extends _0x2bc493[_0x1f54c8(0x354)]{constructor(_0x51a6c4,_0x28af83){const _0x142ae4=_0x1f54c8;super(),this['_commandService']=_0x51a6c4,this[_0x142ae4(0x242)]=_0x28af83,this[_0x142ae4(0x206)](),this[_0x142ae4(0x232)]();}[_0x1f54c8(0x206)](){[_0x36c9a5]['forEach'](_0x197702=>{const _0x2b5c66=_0x5e8e;this[_0x2b5c66(0x1e1)](this[_0x2b5c66(0x2bc)]['registerCommand'](_0x197702));});}[_0x1f54c8(0x232)](){const _0x4e2eb3=_0x1f54c8;this[_0x4e2eb3(0x242)]['mergeMenu'](_0x42a8a2);}},_0x320c8d[_0x1f54c8(0x32d)]=_0x1f0d5f([_0x1ac4b9(0x0,_0x2bc493[_0x1f54c8(0x2af)]),_0x1ac4b9(0x1,_0x5b6029['IMenuManagerService'])],_0x320c8d['MCPUIMenuController']);const _0x461855={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1f54c8(0x2a8),'connected':_0x1f54c8(0x24b),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1f54c8(0x260),'unknown':_0x1f54c8(0x283),'unauthorized':_0x1f54c8(0x2ac),'sessionOccupied':_0x1f54c8(0x2f6),'networkError':_0x1f54c8(0x2cb),'maxRetriesExceeded':_0x1f54c8(0x284),'clickToConnect':_0x1f54c8(0x2da),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1f54c8(0x230),'description':_0x1f54c8(0x231),'apiKey':_0x1f54c8(0x261),'apiKeyPlaceholder':_0x1f54c8(0x282),'apiKeyHint':_0x1f54c8(0x249),'enableAuth':_0x1f54c8(0x31f),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1f54c8(0x2ee),'mcpClientConfig':_0x1f54c8(0x2ee),'configInstructions':_0x1f54c8(0x2fc),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x1f54c8(0x26a),'configStep2':_0x1f54c8(0x202),'configStep3':_0x1f54c8(0x307),'sessionId':_0x1f54c8(0x276),'sessionIdDescription':_0x1f54c8(0x33a),'authorizationDescription':_0x1f54c8(0x331),'configParameters':_0x1f54c8(0x30e),'maxRetries':_0x1f54c8(0x205),'save':'Save\x20Configuration','saving':_0x1f54c8(0x211),'note1':_0x1f54c8(0x20f),'note2':_0x1f54c8(0x358),'configSaved':_0x1f54c8(0x30d),'configError':_0x1f54c8(0x25d),'apiApplyInfo':{'title':_0x1f54c8(0x2a3),'description':_0x1f54c8(0x221),'univerAiLabel':_0x1f54c8(0x224),'getStarted':_0x1f54c8(0x32c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1f54c8(0x273)},'connectionStatus':{'disconnected':_0x1f54c8(0x330),'connecting':_0x1f54c8(0x1db),'connected':_0x1f54c8(0x252),'failed':_0x1f54c8(0x1d6),'retrying':_0x1f54c8(0x227)},'connectionError':{'unauthorized':_0x1f54c8(0x314),'sessionOccupied':_0x1f54c8(0x1fd),'networkError':_0x1f54c8(0x332),'maxRetriesExceeded':_0x1f54c8(0x327)}}},_0x2495e8={'mcpStatus':{'disconnected':_0x1f54c8(0x2e8),'connecting':_0x1f54c8(0x1d7),'connected':_0x1f54c8(0x1f7),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':_0x1f54c8(0x313),'unauthorized':_0x1f54c8(0x1de),'sessionOccupied':_0x1f54c8(0x1f0),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x1f54c8(0x1cf),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x1f54c8(0x2d1)},'mcpConfig':{'title':_0x1f54c8(0x30b),'description':_0x1f54c8(0x326),'apiKey':_0x1f54c8(0x299),'apiKeyPlaceholder':_0x1f54c8(0x22e),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x1f54c8(0x1fc),'enableAuthHint':_0x1f54c8(0x244),'connectionInfo':_0x1f54c8(0x301),'mcpClientConfig':_0x1f54c8(0x301),'configInstructions':_0x1f54c8(0x22b),'configStepTitle':_0x1f54c8(0x1d0),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x1f54c8(0x323),'sessionId':_0x1f54c8(0x351),'sessionIdDescription':_0x1f54c8(0x270),'authorizationDescription':_0x1f54c8(0x245),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x1f54c8(0x24c),'saving':_0x1f54c8(0x213),'note1':_0x1f54c8(0x347),'note2':_0x1f54c8(0x2e4),'configSaved':_0x1f54c8(0x317),'configError':'配置保存失败','apiApplyInfo':{'title':_0x1f54c8(0x1f1),'description':_0x1f54c8(0x2c3),'univerAiLabel':_0x1f54c8(0x2b7),'getStarted':_0x1f54c8(0x262)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x1f54c8(0x1ef),'invalidConfig':_0x1f54c8(0x204),'invalidApiKey':_0x1f54c8(0x2f5)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':'已连接','failed':_0x1f54c8(0x27b),'retrying':_0x1f54c8(0x328)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x1f54c8(0x1ea),'networkError':_0x1f54c8(0x2b4),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}},_0x4a9f76={'name':_0x1f54c8(0x233),'version':_0x1f54c8(0x263)};var _0x49c6d4=Object[_0x1f54c8(0x278)],_0x586583=Object[_0x1f54c8(0x25f)],_0x3050af=(_0x485cb2,_0x554a8b,_0x1ac7e2)=>_0x554a8b in _0x485cb2?_0x49c6d4(_0x485cb2,_0x554a8b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ac7e2}):_0x485cb2[_0x554a8b]=_0x1ac7e2,_0x27e561=(_0x145513,_0x14ef6b,_0x3bb000,_0x186bb6)=>{for(var _0x1013e5=_0x186bb6>0x1?void 0x0:_0x186bb6?_0x586583(_0x14ef6b,_0x3bb000):_0x14ef6b,_0x19db16=_0x145513['length']-0x1,_0x48ba65;_0x19db16>=0x0;_0x19db16--)(_0x48ba65=_0x145513[_0x19db16])&&(_0x1013e5=_0x48ba65(_0x1013e5)||_0x1013e5);return _0x1013e5;},_0x1979df=(_0x2bcbc0,_0x20176f)=>(_0x101ab9,_0x50bd5a)=>_0x20176f(_0x101ab9,_0x50bd5a,_0x2bcbc0),_0x158cc8=(_0x435417,_0x305b38,_0xae8089)=>_0x3050af(_0x435417,typeof _0x305b38!=_0x1f54c8(0x1f5)?_0x305b38+'':_0x305b38,_0xae8089);_0x320c8d[_0x1f54c8(0x311)]=class extends _0x2bc493[_0x1f54c8(0x30c)]{constructor(_0x1de641=_0x346370,_0x27e350,_0x4fc299,_0x4c2345,_0x3f6d8f,_0x289739){const _0xd4beb6=_0x1f54c8;super(),this[_0xd4beb6(0x29b)]=_0x1de641,this[_0xd4beb6(0x2fd)]=_0x27e350,this[_0xd4beb6(0x33e)]=_0x4fc299,this['_uiPartsService']=_0x4c2345,this[_0xd4beb6(0x31a)]=_0x3f6d8f,this[_0xd4beb6(0x2c1)]=_0x289739;const {..._0x219ee4}=_0x2bc493[_0xd4beb6(0x1e8)]({},_0x346370,this[_0xd4beb6(0x29b)]);this['_configService'][_0xd4beb6(0x34e)](_0x5831ac,_0x219ee4);}async[_0x1f54c8(0x32e)](){const _0x2f244a=_0x1f54c8,_0x50b89e=[[_0x320c8d['MCPConnectionUIController']],[_0x320c8d[_0x2f244a(0x2be)]],[_0x320c8d[_0x2f244a(0x32d)]]];this[_0x2f244a(0x2fd)]['has'](_0x3c0e0e[_0x2f244a(0x355)])||_0x50b89e['push']([_0x3c0e0e['ISocketService'],{'useClass':_0x3c0e0e['WebSocketService']}]),_0x50b89e[_0x2f244a(0x31d)](_0x290bd4=>this[_0x2f244a(0x2fd)]['add'](_0x290bd4)),this[_0x2f244a(0x2fd)][_0x2f244a(0x2b3)](_0x320c8d[_0x2f244a(0x2d5)]),this[_0x2f244a(0x2fd)][_0x2f244a(0x2b3)](_0x320c8d['MCPConfigUIController']),this[_0x2f244a(0x2fd)][_0x2f244a(0x2b3)](_0x320c8d[_0x2f244a(0x32d)]);}},_0x158cc8(_0x320c8d[_0x1f54c8(0x311)],'pluginName','MCP_UI_PLUGIN'),_0x158cc8(_0x320c8d['UniverMCPUIPlugin'],_0x1f54c8(0x1fb),_0x4a9f76[_0x1f54c8(0x2fe)]),_0x158cc8(_0x320c8d[_0x1f54c8(0x311)],_0x1f54c8(0x2b0),_0x4a9f76['version']),_0x320c8d[_0x1f54c8(0x311)]=_0x27e561([_0x2bc493[_0x1f54c8(0x2ef)](_0x42323b['UniverMCPPlugin']),_0x1979df(0x1,_0x2bc493[_0x1f54c8(0x23e)](_0x2bc493[_0x1f54c8(0x2bf)])),_0x1979df(0x2,_0x2bc493[_0x1f54c8(0x23a)]),_0x1979df(0x3,_0x5b6029['IUIPartsService']),_0x1979df(0x4,_0x2bc493[_0x1f54c8(0x2f1)]),_0x1979df(0x5,_0x2bc493[_0x1f54c8(0x23e)](_0x2bc493['LocaleService']))],_0x320c8d[_0x1f54c8(0x311)]),_0x320c8d['MCPConfigPanel']=_0x2f9fcc,_0x320c8d[_0x1f54c8(0x31c)]=_0x1a1963,_0x320c8d['OpenMCPConfigPanelCommand']=_0x36c9a5,_0x320c8d[_0x1f54c8(0x346)]=_0x461855,_0x320c8d['zhCN']=_0x2495e8,Object[_0x1f54c8(0x278)](_0x320c8d,Symbol['toStringTag'],{'value':'Module'});}));function _0x5cca(){const _0x35636e=['_mcpCoreConfig$','symbol','_connectionController','MCP\x20已连接','connectionError$','univer-text-sm\x20univer-text-gray-500','text','packageName','启用身份验证','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-size-4','mcpConfig.configStepTitle','http','RETRYING','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','getCurrentConfig','配置无效','Max\x20Retries','_initializeCommands','MessageType','trim','map','0\x200\x2016\x2016','showDeveloperTools','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','MCPConnectionController','UniverProMcpUi','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','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','Saving...','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','保存中...','Button','assign','HEADER_MENU','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','mcpStatus.unknown','validateApiKey','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','warn','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','url(#off-line-icon_clip0_910_343)','univer-text-xs\x20univer-text-gray-600','button','register','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpStatus.clickToConnect','univer-size-2\x20univer-rounded-full','Univer\x20AI\x20Console','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','univer-shrink-0\x20univer-text-blue-500','Retrying...','includes','mcpConfig.note2','univer-flex\x20univer-items-start\x20univer-gap-3','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-bg-red-500','MenuItemType','请输入您的\x20API\x20密钥','_loading$','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','_initializeMenus','@univerjs-pro/mcp-ui','COMMAND','12kfMqhu','mcpConfig.connectionStatus.connected','_handleConfigSave','120OMuaBS','mcpServerUrl','IConfigService','mcpConfig.connectionError.unauthorized','Bearer\x20','mcpConfig.configError','Inject','substring','Input','IUIPartsService','_menuManagerService','useDependency','启用身份验证以获得安全连接','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-text-red-500','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.title','MCP\x20Connected','保存配置','univer-space-y-3','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','@univerjs/network','none','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','Connected','univer.ai','white','154684VwlXvd','errorMessage','FAILED','mask','mcpConfig.apiApplyInfo.title','2795BXuYVW','exports','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Failed\x20to\x20save\x20configuration','error','getOwnPropertyDescriptor','MCP\x20Retrying...','API\x20Key','几秒钟内获取您的\x20API\x20密钥','0.17.0','OffLineIcon','univer-text-white','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','toString','string','CONNECTING','Copy\x20the\x20JSON\x20configuration\x20below','MAX_RETRIES_EXCEEDED','univer-text-xs\x20univer-text-gray-500','<API_KEY>','M0\x200H16V16H0z','mcpConfig.configStep3','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','NETWORK_ERROR','React','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','subscribe','CheckMarkIcon','Session\x20ID','on-line-icon_clip0_910_349','defineProperty','subscribeConfigValue$','mcpConfig.connectionError.networkError','连接失败','_initConfigSync','univer-flex\x20univer-items-center','_config$','MCP_PLUGIN_CONFIG_KEY','UniverNetwork','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Enter\x20your\x20API\x20key','MCP\x20Unknown\x20Status','MCP:\x20Max\x20Retries\x20Exceeded','defIds','tag','BUTTON','apiKey','next','__setCustomHeaders','_apiKey$','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','68232IZRuXK','99RoENdG','sessionId$','5511hJoDtC','_loadStoredApiKey','fill','createElement','OnLineIcon','mcp.apiKey','1em','_createConfigPanelComponent','value','API\x20密钥','mcpStatus.disconnected','_config','@univerjs-pro/mcp','close-icon','OTHERS','defs','idSuffix','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','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','What\x20is\x20API\x20Key?','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-bg-gray-500','clsx','isValid','MCP\x20Connecting...','mcpStatus.sessionOccupied','Error','mcpStatus.failed','MCP:\x20Unauthorized','_logService','getConfig','ICommandService','version','@univerjs/design','UNAUTHORIZED','get','网络连接错误,请检查您的网络连接','univer-flex-1','mcpStatus.connecting','Univer\x20AI\x20控制台','current','291738TvixMu','Configuration\x20Notes:','entries','_commandService','displayName','MCPConfigUIController','Injector','Authorization:','_localeService','_mcpConnectionController','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpStatus.clickToConfigure','mcpConfig.apiApplyInfo.getStarted','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','jsx','univer-text-blue-600','pre','bottom','MCP:\x20Network\x20Error','help-icon','MCPConfigPanel','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_initAutoConnect','univer-text-green-500','点击配置\x20MCP','MCPConnectionError','UniverIcon','univer-flex\x20univer-items-center\x20univer-gap-2','MCPConnectionUIController','clipPath','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.configParameters','univer_session_id:','Click\x20to\x20connect\x20MCP','svg','RibbonStartGroup','mcp-config-dialog','\x20-\x20','getItem','mcpConfig.apiApplyInfo.univerAiLabel','useCallback','path','UniverDesign','您的\x20API\x20密钥安全存储在本地存储中','children','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','NONE','MCP\x20已断开','mcpConfig.validation.apiKeyTooShort','attrs','MCPConnectionStatus','showStatus','mcpConfig.connectionStatus.connecting','MCP\x20Client\x20Configuration','DependentOn','mcpConfig.apiKey','ILocalStorageService','mcpConfig.note1','_initStatusComponent','label','API\x20密钥无效,请检查密钥是否正确','MCP:\x20Session\x20ID\x20Occupied','CONNECTED','http://www.w3.org/2000/svg','colorChannel1','LocaleService','univer-flex\x20univer-gap-3','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_injector','name','setItem','@univerjs/core','MCP\x20客户端配置','univer-font-medium','BehaviorSubject','function','994668MYWLXh','CommandType','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','removeItem','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','univer-min-w-0\x20univer-flex-1','MCP\x20配置','Plugin','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','_componentManager','univerjs-icon\x20univerjs-icon-','UniverMCPUIPlugin','connectInjector','MCP\x20状态未知','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1858610gYkkys','SESSION_ID_OCCUPIED','配置保存成功','univer-flex\x20univer-items-start\x20univer-gap-2','rxjs','_localStorageService','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCPStatusDisplay','forEach','useRef','Enable\x20Authentication','_validateConfig','mcpConfig.validation.invalidApiKey','mcpStatus.connected','重启您的\x20MCP\x20客户端以使配置生效','div','\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','配置\x20MCP\x20使用\x20AI\x20操作电子表格','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','重连中...','ComponentManager','use','IMessageService','Get\x20your\x20API\x20key\x20in\x20seconds','MCPUIMenuController','onStarting','mcpConfig.apiKeyPlaceholder','Disconnected','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','off-line-icon_clip0_910_343','evenodd','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_messageService','xlink:href','mcpStatus.maxRetriesExceeded','close','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','_dialogService','round','BuiltInUIPart','_configService','translate(.97)','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','DISCONNECTED','mcpConfig.authorizationDescription','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','stringify','useObservable','enUS','配置更改将立即生效','span','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','<SESSION_ID>','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-text-yellow-500','forwardRef','setConfig','currentColor','_handleConfigure','会话ID','Tooltip','univer-bg-blue-500','Disposable','ISocketService','url(#$1','CloseIcon','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','MCP:\x20超出最大重试次数','配置步骤:','UniverUi','mcpConfig.connectionStatus.failed','677016wFcVen','mcpConfig.connectionStatus.disconnected','show','Connection\x20Failed','MCP\x20连接中...','0\x200\x2017\x2016','91zYNyzy','_registerComponent','Connecting...','_uiPartsService','useState','MCP:\x20未授权','replace','showConfigPanel','disposeWithMe','univer.plus','mcp-ui.config','mcpConfig.connectionError.sessionOccupied','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','ILogService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','merge','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','会话\x20ID\x20已被占用,请稍后再试','jsxs','univer-space-y-2','noopener\x20noreferrer','react/jsx-runtime','API\x20密钥长度至少需要\x2010\x20位','MCP:\x20会话\x20ID\x20已被占用','什么是\x20API\x20密钥?','univer-text-gray-400','length'];_0x5cca=function(){return _0x35636e;};return _0x5cca();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x433ac9,_0x22b166){var _0x1cc476=_0x59cb,_0x3d8982=_0x433ac9();while(!![]){try{var _0x16bb7f=parseInt(_0x1cc476(0xeb))/0x1*(-parseInt(_0x1cc476(0xf4))/0x2)+-parseInt(_0x1cc476(0x110))/0x3*(parseInt(_0x1cc476(0x108))/0x4)+-parseInt(_0x1cc476(0xe5))/0x5+parseInt(_0x1cc476(0xe4))/0x6*(parseInt(_0x1cc476(0xed))/0x7)+-parseInt(_0x1cc476(0x106))/0x8+parseInt(_0x1cc476(0xe6))/0x9+parseInt(_0x1cc476(0x103))/0xa;if(_0x16bb7f===_0x22b166)break;else _0x3d8982['push'](_0x3d8982['shift']());}catch(_0x36e9b8){_0x3d8982['push'](_0x3d8982['shift']());}}}(_0x1475,0x2d223),function(_0x162c6c,_0x3d60a8){var _0x215834=_0x59cb;typeof exports==_0x215834(0xe8)&&typeof module<'u'?module['exports']=_0x3d60a8():typeof define=='function'&&define['amd']?define(_0x3d60a8):(_0x162c6c=typeof globalThis<'u'?globalThis:_0x162c6c||self,_0x162c6c[_0x215834(0x10d)]=_0x3d60a8());}(this,function(){'use strict';var _0x4a1f11=_0x59cb;return{'mcpStatus':{'disconnected':_0x4a1f11(0xf8),'connecting':'MCP\x20Connecting...','connected':_0x4a1f11(0xfb),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x4a1f11(0x107),'unauthorized':_0x4a1f11(0x100),'sessionOccupied':_0x4a1f11(0xec),'networkError':_0x4a1f11(0xfa),'maxRetriesExceeded':_0x4a1f11(0xf0),'clickToConnect':_0x4a1f11(0xf1),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4a1f11(0xff),'description':_0x4a1f11(0xe1),'apiKey':_0x4a1f11(0x10f),'apiKeyPlaceholder':_0x4a1f11(0x113),'apiKeyHint':_0x4a1f11(0xf9),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4a1f11(0x102),'connectionInfo':_0x4a1f11(0xe7),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x4a1f11(0x10c),'configStep3':_0x4a1f11(0xfc),'sessionId':_0x4a1f11(0xe2),'sessionIdDescription':_0x4a1f11(0xf2),'authorizationDescription':_0x4a1f11(0x111),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x4a1f11(0xfe),'save':_0x4a1f11(0xf7),'saving':_0x4a1f11(0x104),'note1':_0x4a1f11(0xe9),'note2':_0x4a1f11(0xf3),'configSaved':_0x4a1f11(0xfd),'configError':_0x4a1f11(0xe3),'apiApplyInfo':{'title':_0x4a1f11(0xea),'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':_0x4a1f11(0x10e)},'validation':{'apiKeyRequired':_0x4a1f11(0x109),'apiKeyTooShort':_0x4a1f11(0x101),'invalidConfig':_0x4a1f11(0xef),'invalidApiKey':_0x4a1f11(0x105)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4a1f11(0x10a),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x4a1f11(0xee)},'connectionError':{'unauthorized':_0x4a1f11(0xf5),'sessionOccupied':_0x4a1f11(0xf6),'networkError':_0x4a1f11(0x112),'maxRetriesExceeded':_0x4a1f11(0x10b)}}};}));function _0x59cb(_0x28e0f3,_0x51e652){_0x28e0f3=_0x28e0f3-0xe1;var _0x1475c0=_0x1475();var _0x59cb65=_0x1475c0[_0x28e0f3];return _0x59cb65;}function _0x1475(){var _0x104a63=['623448hoPcII','MCP\x20Unknown\x20Status','2428oZVbIO','API\x20key\x20is\x20required','Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','UniverProMcpUiCaES','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20Key','906yuBSCP','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enter\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session\x20ID','Failed\x20to\x20save\x20configuration','6RtAUaG','1277050ahYzYL','2918142PFPABl','MCP\x20Client\x20Configuration','object','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','20geujMe','MCP:\x20Session\x20ID\x20Occupied','2521547rpwTIU','Retrying...','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20connect\x20MCP','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','14268GBnhFN','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Save\x20Configuration','MCP\x20Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','MCP\x20Connected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20saved\x20successfully','Max\x20Retries','MCP\x20Configuration','MCP:\x20Unauthorized','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20authentication\x20for\x20secure\x20connections','1597430gqQuth','Saving...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x1475=function(){return _0x104a63;};return _0x1475();}
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1bd9(_0x567bb9,_0x3103ba){_0x567bb9=_0x567bb9-0x1d5;var _0x8b962=_0x8b96();var _0x1bd9db=_0x8b962[_0x567bb9];return _0x1bd9db;}(function(_0x3b2a8e,_0x349a43){var _0x22931a=_0x1bd9,_0xcc4b48=_0x3b2a8e();while(!![]){try{var _0x5b0e82=-parseInt(_0x22931a(0x1da))/0x1+parseInt(_0x22931a(0x1fa))/0x2+-parseInt(_0x22931a(0x1e0))/0x3+-parseInt(_0x22931a(0x1d7))/0x4+parseInt(_0x22931a(0x1e7))/0x5+-parseInt(_0x22931a(0x1f8))/0x6*(parseInt(_0x22931a(0x1dc))/0x7)+parseInt(_0x22931a(0x204))/0x8;if(_0x5b0e82===_0x349a43)break;else _0xcc4b48['push'](_0xcc4b48['shift']());}catch(_0x8a7efe){_0xcc4b48['push'](_0xcc4b48['shift']());}}}(_0x8b96,0xeedc6),function(_0x5d3556,_0x42b77c){var _0x144e8d=_0x1bd9;typeof exports=='object'&&typeof module<'u'?module[_0x144e8d(0x1e1)]=_0x42b77c():typeof define=='function'&&define[_0x144e8d(0x1d6)]?define(_0x42b77c):(_0x5d3556=typeof globalThis<'u'?globalThis:_0x5d3556||self,_0x5d3556[_0x144e8d(0x1d5)]=_0x42b77c());}(this,function(){'use strict';var _0x5ef832=_0x1bd9;return{'mcpStatus':{'disconnected':_0x5ef832(0x1df),'connecting':_0x5ef832(0x1e9),'connected':_0x5ef832(0x1de),'failed':_0x5ef832(0x1f2),'retrying':'MCP\x20Retrying...','unknown':_0x5ef832(0x1ed),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5ef832(0x1f7),'networkError':_0x5ef832(0x1fe),'maxRetriesExceeded':_0x5ef832(0x1d9),'clickToConnect':_0x5ef832(0x1dd),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5ef832(0x1fb),'description':_0x5ef832(0x203),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5ef832(0x1ee),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5ef832(0x205),'connectionInfo':_0x5ef832(0x1e3),'mcpClientConfig':_0x5ef832(0x1e3),'configInstructions':_0x5ef832(0x1f9),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x5ef832(0x1fd),'configStep2':_0x5ef832(0x1e4),'configStep3':_0x5ef832(0x1e2),'sessionId':_0x5ef832(0x1e5),'sessionIdDescription':_0x5ef832(0x1eb),'authorizationDescription':_0x5ef832(0x1f1),'configParameters':_0x5ef832(0x200),'maxRetries':_0x5ef832(0x1f6),'save':_0x5ef832(0x1ef),'saving':_0x5ef832(0x1d8),'note1':_0x5ef832(0x206),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x5ef832(0x201),'apiApplyInfo':{'title':_0x5ef832(0x1f0),'description':_0x5ef832(0x1f5),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5ef832(0x1ff)},'validation':{'apiKeyRequired':_0x5ef832(0x1e6),'apiKeyTooShort':_0x5ef832(0x202),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5ef832(0x1db)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5ef832(0x1ea),'connected':'Connected','failed':_0x5ef832(0x1f4),'retrying':_0x5ef832(0x1e8)},'connectionError':{'unauthorized':_0x5ef832(0x1f3),'sessionOccupied':_0x5ef832(0x1ec),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x5ef832(0x1fc)}}};}));function _0x8b96(){var _0x2fed92=['UniverProMcpUiEnUS','amd','2440064RiPySX','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','1219765JCsyhV','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','7jZfgFN','Click\x20to\x20connect\x20MCP','MCP\x20Connected','MCP\x20Disconnected','3694917EsMkqL','exports','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session\x20ID','API\x20key\x20is\x20required','5641585xYpgan','Retrying...','MCP\x20Connecting...','Connecting...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','Save\x20Configuration','What\x20is\x20API\x20Key?','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connection\x20Failed','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:\x20Session\x20ID\x20Occupied','10096374UeXNKf','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','1392838iOlQNu','MCP\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20Parameters:','Failed\x20to\x20save\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','31182296IKWsVc','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x8b96=function(){return _0x2fed92;};return _0x8b96();}
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x53f0(_0x1bdb6a,_0x41a1e9){_0x1bdb6a=_0x1bdb6a-0x11d;var _0x3a6a4a=_0x3a6a();var _0x53f014=_0x3a6a4a[_0x1bdb6a];return _0x53f014;}function _0x3a6a(){var _0x4e36eb=['Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','79350wEyrkr','864JwHZrn','Invalid\x20configuration','MCP:\x20Network\x20Error','906266Jkxssy','Univer\x20AI\x20Console','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','90ccARyQ','MCP:\x20Session\x20ID\x20Occupied','8856804BAiuLo','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','9119656GIfpPQ','1mjcipV','MCP\x20Connection\x20Failed','object','Max\x20Retries','MCP\x20Connected','Saving...','Configuration\x20Steps:','2287250wsYlZM','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','MCP\x20Unknown\x20Status','MCP\x20Configuration','API\x20Key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20with\x20Bearer\x20prefix.','Connecting...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Copy\x20the\x20JSON\x20configuration\x20below','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully','Connected','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','UniverProMcpUiEsES','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2953984BKNwQr','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20is\x20required','function','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','92072OARokD','MCP\x20Retrying...','What\x20is\x20API\x20Key?','MCP\x20Connecting...'];_0x3a6a=function(){return _0x4e36eb;};return _0x3a6a();}(function(_0x162c1f,_0x4ee9b1){var _0x489b59=_0x53f0,_0x3c846a=_0x162c1f();while(!![]){try{var _0x378a34=-parseInt(_0x489b59(0x14d))/0x1*(-parseInt(_0x489b59(0x144))/0x2)+parseInt(_0x489b59(0x148))/0x3*(-parseInt(_0x489b59(0x139))/0x4)+parseInt(_0x489b59(0x11f))/0x5+parseInt(_0x489b59(0x14a))/0x6+-parseInt(_0x489b59(0x14c))/0x7+-parseInt(_0x489b59(0x134))/0x8+-parseInt(_0x489b59(0x141))/0x9*(-parseInt(_0x489b59(0x140))/0xa);if(_0x378a34===_0x4ee9b1)break;else _0x3c846a['push'](_0x3c846a['shift']());}catch(_0x4481f0){_0x3c846a['push'](_0x3c846a['shift']());}}}(_0x3a6a,0xbfdd9),function(_0x3fbb4a,_0x59cc54){var _0x4a4e39=_0x53f0;typeof exports==_0x4a4e39(0x14f)&&typeof module<'u'?module['exports']=_0x59cc54():typeof define==_0x4a4e39(0x137)&&define['amd']?define(_0x59cc54):(_0x3fbb4a=typeof globalThis<'u'?globalThis:_0x3fbb4a||self,_0x3fbb4a[_0x4a4e39(0x132)]=_0x59cc54());}(this,function(){'use strict';var _0x117017=_0x53f0;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x117017(0x13c),'connected':_0x117017(0x151),'failed':_0x117017(0x14e),'retrying':_0x117017(0x13a),'unknown':_0x117017(0x123),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x117017(0x149),'networkError':_0x117017(0x143),'maxRetriesExceeded':_0x117017(0x13f),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x117017(0x124),'description':_0x117017(0x14b),'apiKey':_0x117017(0x125),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x117017(0x12b),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x117017(0x122),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x117017(0x138),'configStepTitle':_0x117017(0x11e),'configStep1':_0x117017(0x12c),'configStep2':_0x117017(0x129),'configStep3':_0x117017(0x133),'sessionId':_0x117017(0x130),'sessionIdDescription':_0x117017(0x147),'authorizationDescription':_0x117017(0x127),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x117017(0x150),'save':'Save\x20Configuration','saving':_0x117017(0x11d),'note1':_0x117017(0x146),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x117017(0x12e),'configError':_0x117017(0x120),'apiApplyInfo':{'title':_0x117017(0x13b),'description':_0x117017(0x12d),'univerAiLabel':_0x117017(0x145),'getStarted':_0x117017(0x121)},'validation':{'apiKeyRequired':_0x117017(0x136),'apiKeyTooShort':_0x117017(0x131),'invalidConfig':_0x117017(0x142),'invalidApiKey':_0x117017(0x126)},'connectionStatus':{'disconnected':_0x117017(0x13d),'connecting':_0x117017(0x128),'connected':_0x117017(0x12f),'failed':_0x117017(0x12a),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x117017(0x135),'sessionOccupied':_0x117017(0x13e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x39889,_0x14afef){var _0x5737f3=_0x49ef,_0x5bfbda=_0x39889();while(!![]){try{var _0xdbddb5=-parseInt(_0x5737f3(0xba))/0x1+-parseInt(_0x5737f3(0x9c))/0x2+-parseInt(_0x5737f3(0x9d))/0x3*(parseInt(_0x5737f3(0xc6))/0x4)+parseInt(_0x5737f3(0xb7))/0x5*(-parseInt(_0x5737f3(0xa1))/0x6)+parseInt(_0x5737f3(0xb6))/0x7+-parseInt(_0x5737f3(0xa6))/0x8*(-parseInt(_0x5737f3(0xbc))/0x9)+parseInt(_0x5737f3(0xca))/0xa*(parseInt(_0x5737f3(0xae))/0xb);if(_0xdbddb5===_0x14afef)break;else _0x5bfbda['push'](_0x5bfbda['shift']());}catch(_0x580389){_0x5bfbda['push'](_0x5bfbda['shift']());}}}(_0x1f5d,0xba730),function(_0x2939c9,_0x4c0c89){var _0x5b12d0=_0x49ef;typeof exports==_0x5b12d0(0x97)&&typeof module<'u'?module['exports']=_0x4c0c89():typeof define==_0x5b12d0(0xb3)&&define['amd']?define(_0x4c0c89):(_0x2939c9=typeof globalThis<'u'?globalThis:_0x2939c9||self,_0x2939c9[_0x5b12d0(0x96)]=_0x4c0c89());}(this,function(){'use strict';var _0x1d9fe2=_0x49ef;return{'mcpStatus':{'disconnected':_0x1d9fe2(0xa7),'connecting':_0x1d9fe2(0x9a),'connected':'MCP\x20Connected','failed':_0x1d9fe2(0xa2),'retrying':_0x1d9fe2(0xb5),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x1d9fe2(0xa5),'sessionOccupied':_0x1d9fe2(0xb8),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1d9fe2(0xcb),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1d9fe2(0xbb)},'mcpConfig':{'title':_0x1d9fe2(0x98),'description':_0x1d9fe2(0x9e),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1d9fe2(0xbd),'apiKeyHint':_0x1d9fe2(0xa0),'enableAuth':_0x1d9fe2(0xc4),'enableAuthHint':_0x1d9fe2(0xa4),'connectionInfo':_0x1d9fe2(0xb9),'mcpClientConfig':_0x1d9fe2(0xb9),'configInstructions':_0x1d9fe2(0xc0),'configStepTitle':_0x1d9fe2(0xc8),'configStep1':_0x1d9fe2(0xb2),'configStep2':_0x1d9fe2(0xa9),'configStep3':_0x1d9fe2(0xc7),'sessionId':_0x1d9fe2(0xac),'sessionIdDescription':_0x1d9fe2(0xc5),'authorizationDescription':_0x1d9fe2(0xc3),'configParameters':_0x1d9fe2(0x9b),'maxRetries':_0x1d9fe2(0xb1),'save':_0x1d9fe2(0xc1),'saving':'Saving...','note1':_0x1d9fe2(0xaa),'note2':_0x1d9fe2(0xc9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1d9fe2(0x99),'apiApplyInfo':{'title':_0x1d9fe2(0xad),'description':_0x1d9fe2(0xa8),'univerAiLabel':_0x1d9fe2(0xab),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x1d9fe2(0x9f),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1d9fe2(0xb4),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1d9fe2(0xb0),'connecting':_0x1d9fe2(0xaf),'connected':'Connected','failed':_0x1d9fe2(0xc2),'retrying':_0x1d9fe2(0xbf)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1d9fe2(0xbe),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1d9fe2(0xa3)}}};}));function _0x49ef(_0x2ee1f2,_0x16c743){_0x2ee1f2=_0x2ee1f2-0x96;var _0x1f5d6a=_0x1f5d();var _0x49ef7a=_0x1f5d6a[_0x2ee1f2];return _0x49ef7a;}function _0x1f5d(){var _0x29fca0=['Configuration\x20Steps:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','6770TovcHK','MCP:\x20Max\x20Retries\x20Exceeded','UniverProMcpUiFaIR','object','MCP\x20Configuration','Failed\x20to\x20save\x20configuration','MCP\x20Connecting...','Configuration\x20Parameters:','2366148WMsFKm','3TMfkmE','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','57006fpoznr','MCP\x20Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Unauthorized','19680LoKFZo','MCP\x20Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Univer\x20AI\x20Console','Session\x20ID','What\x20is\x20API\x20Key?','40447TDJJUX','Connecting...','Disconnected','Max\x20Retries','Copy\x20the\x20JSON\x20configuration\x20below','function','Invalid\x20configuration','MCP\x20Retrying...','3424785AVaulQ','290deEckF','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','235199MvGiYs','Click\x20to\x20configure\x20MCP','1629DdQzzJ','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20Authentication','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','2763268WMWnYT','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration'];_0x1f5d=function(){return _0x29fca0;};return _0x1f5d();}
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3e68(_0x297e48,_0x205672){_0x297e48=_0x297e48-0xc3;var _0x421bcc=_0x421b();var _0x3e68e2=_0x421bcc[_0x297e48];return _0x3e68e2;}(function(_0x4ee744,_0x2fa4cd){var _0x45452d=_0x3e68,_0x2a0dee=_0x4ee744();while(!![]){try{var _0x8838e3=-parseInt(_0x45452d(0xcc))/0x1+parseInt(_0x45452d(0xd9))/0x2+-parseInt(_0x45452d(0xfb))/0x3*(parseInt(_0x45452d(0xf6))/0x4)+-parseInt(_0x45452d(0xcd))/0x5*(parseInt(_0x45452d(0xe5))/0x6)+parseInt(_0x45452d(0xd1))/0x7*(-parseInt(_0x45452d(0xca))/0x8)+-parseInt(_0x45452d(0xe2))/0x9*(parseInt(_0x45452d(0xed))/0xa)+parseInt(_0x45452d(0xd6))/0xb;if(_0x8838e3===_0x2fa4cd)break;else _0x2a0dee['push'](_0x2a0dee['shift']());}catch(_0x591017){_0x2a0dee['push'](_0x2a0dee['shift']());}}}(_0x421b,0x2336c),function(_0x2835ef,_0x5942d7){var _0x12903d=_0x3e68;typeof exports==_0x12903d(0xf5)&&typeof module<'u'?module[_0x12903d(0xec)]=_0x5942d7():typeof define==_0x12903d(0xc5)&&define['amd']?define(_0x5942d7):(_0x2835ef=typeof globalThis<'u'?globalThis:_0x2835ef||self,_0x2835ef['UniverProMcpUiFrFR']=_0x5942d7());}(this,function(){'use strict';var _0x78db3=_0x3e68;return{'mcpStatus':{'disconnected':_0x78db3(0xdb),'connecting':_0x78db3(0xcf),'connected':_0x78db3(0xfa),'failed':_0x78db3(0xf9),'retrying':'MCP\x20Retrying...','unknown':_0x78db3(0xc3),'unauthorized':_0x78db3(0xd5),'sessionOccupied':_0x78db3(0xe8),'networkError':_0x78db3(0xf4),'maxRetriesExceeded':_0x78db3(0xc8),'clickToConnect':_0x78db3(0xe1),'clickToConfigure':_0x78db3(0xea)},'mcpConfig':{'title':_0x78db3(0xe9),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x78db3(0xd4),'apiKeyPlaceholder':_0x78db3(0xe4),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x78db3(0xce),'enableAuthHint':_0x78db3(0xf3),'connectionInfo':_0x78db3(0xf1),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x78db3(0xd3),'configStep1':_0x78db3(0xeb),'configStep2':_0x78db3(0xda),'configStep3':_0x78db3(0xd7),'sessionId':_0x78db3(0xef),'sessionIdDescription':_0x78db3(0xe7),'authorizationDescription':_0x78db3(0xd2),'configParameters':_0x78db3(0xc9),'maxRetries':_0x78db3(0xf8),'save':_0x78db3(0xd0),'saving':_0x78db3(0xe0),'note1':_0x78db3(0xc4),'note2':_0x78db3(0xf7),'configSaved':_0x78db3(0xe6),'configError':_0x78db3(0xfc),'apiApplyInfo':{'title':_0x78db3(0xd8),'description':_0x78db3(0xee),'univerAiLabel':_0x78db3(0xf2),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x78db3(0xdf),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x78db3(0xe3),'invalidApiKey':_0x78db3(0xcb)},'connectionStatus':{'disconnected':_0x78db3(0xc6),'connecting':_0x78db3(0xfd),'connected':_0x78db3(0xf0),'failed':_0x78db3(0xdd),'retrying':_0x78db3(0xdc)},'connectionError':{'unauthorized':_0x78db3(0xc7),'sessionOccupied':_0x78db3(0xde),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));function _0x421b(){var _0x36ddf4=['206036qtnDRZ','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Max\x20Retries','MCP\x20Connection\x20Failed','MCP\x20Connected','3TkmRDV','Failed\x20to\x20save\x20configuration','Connecting...','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','function','Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Parameters:','8xJjYuC','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','264593NmtoFH','215720nXLKhi','Enable\x20Authentication','MCP\x20Connecting...','Save\x20Configuration','1037981wegGfY','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Steps:','API\x20Key','MCP:\x20Unauthorized','5979853ZhwtWS','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','What\x20is\x20API\x20Key?','573190KSmnBU','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Disconnected','Retrying...','Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20is\x20required','Saving...','Click\x20to\x20connect\x20MCP','27PtAjQM','Invalid\x20configuration','Enter\x20your\x20API\x20key','30nviTny','Configuration\x20saved\x20successfully','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','exports','19590GiPGoP','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\x20ID','Connected','MCP\x20Client\x20Configuration','Univer\x20AI\x20Console','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','object'];_0x421b=function(){return _0x36ddf4;};return _0x421b();}
|