@univerjs-pro/mcp-ui 0.15.0-insiders.20260108-47c73e3 → 0.15.0-insiders.20260110-48b77c8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +6 -6
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x461598=_0x3989;(function(_0x41d5cf,_0x30b933){const _0x4e66c4=_0x3989,_0x183af5=_0x41d5cf();while(!![]){try{const _0x35a86b=-parseInt(_0x4e66c4(0x208))/0x1*(parseInt(_0x4e66c4(0x262))/0x2)+-parseInt(_0x4e66c4(0x1a2))/0x3*(-parseInt(_0x4e66c4(0x194))/0x4)+parseInt(_0x4e66c4(0x287))/0x5*(parseInt(_0x4e66c4(0x216))/0x6)+-parseInt(_0x4e66c4(0x264))/0x7+parseInt(_0x4e66c4(0x2bf))/0x8*(-parseInt(_0x4e66c4(0x1d4))/0x9)+-parseInt(_0x4e66c4(0x24f))/0xa*(-parseInt(_0x4e66c4(0x248))/0xb)+-parseInt(_0x4e66c4(0x1c1))/0xc*(-parseInt(_0x4e66c4(0x20f))/0xd);if(_0x35a86b===_0x30b933)break;else _0x183af5['push'](_0x183af5['shift']());}catch(_0x2e52ab){_0x183af5['push'](_0x183af5['shift']());}}}(_0x28ef,0x9a1a1));var ae=Object[_0x461598(0x29e)],le=(_0x333e8c,_0x31534a,_0x284f75)=>_0x31534a in _0x333e8c?ae(_0x333e8c,_0x31534a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x284f75}):_0x333e8c[_0x31534a]=_0x284f75,I=(_0x2c8eda,_0x25bb3a,_0x2c8cba)=>le(_0x2c8eda,typeof _0x25bb3a!=_0x461598(0x2ba)?_0x25bb3a+'':_0x25bb3a,_0x2c8cba);Object[_0x461598(0x29e)](exports,Symbol[_0x461598(0x1db)],{'value':'Module'});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x328b0b,..._0x37eaa8}){const _0x115972=_0x461598,{icon:_0x54443c,id:_0x5ca06b,className:_0xf36623,extend:_0x1650c0,..._0x58f270}=_0x37eaa8,_0x2710ae=('univerjs-icon\x20univerjs-icon-'+_0x5ca06b+'\x20'+(_0xf36623||''))['trim'](),_0x455772=d[_0x115972(0x2db)]('_'+de());return G(_0x54443c,''+_0x5ca06b,{'defIds':_0x54443c[_0x115972(0x1a5)],'idSuffix':_0x455772[_0x115972(0x1eb)]},{'ref':_0x328b0b,'className':_0x2710ae,..._0x58f270},_0x1650c0);}function G(_0x1a4dcb,_0x24ff00,_0x304e8a,_0x66c83b,_0x3a6dca){const _0x57d17f=_0x461598;return d[_0x57d17f(0x25c)](_0x1a4dcb['tag'],{'key':_0x24ff00,...ue(_0x1a4dcb,_0x304e8a,_0x3a6dca),..._0x66c83b},(ve(_0x1a4dcb,_0x304e8a)['children']||[])['map']((_0x4fd125,_0x263fed)=>G(_0x4fd125,_0x24ff00+'-'+_0x1a4dcb['tag']+'-'+_0x263fed,_0x304e8a,void 0x0,_0x3a6dca)));}function ue(_0x5b9ffd,_0x2058aa,_0x38a582){const _0x4da664=_0x461598,_0x73b847={..._0x5b9ffd[_0x4da664(0x2dd)]};_0x38a582!=null&&_0x38a582[_0x4da664(0x179)]&&_0x73b847[_0x4da664(0x288)]===_0x4da664(0x179)&&(_0x73b847[_0x4da664(0x288)]=_0x38a582[_0x4da664(0x179)]),_0x5b9ffd[_0x4da664(0x2bc)]===_0x4da664(0x2a5)&&_0x73b847['id']&&(_0x73b847['id']=_0x73b847['id']+_0x2058aa['idSuffix']),Object[_0x4da664(0x16e)](_0x73b847)[_0x4da664(0x271)](([_0xa58c3c,_0x53bb03])=>{const _0x206e6b=_0x4da664;_0xa58c3c===_0x206e6b(0x2a5)&&typeof _0x53bb03=='string'&&(_0x73b847[_0xa58c3c]=_0x53bb03[_0x206e6b(0x1d6)](/url\(#(.*)\)/,'url(#$1'+_0x2058aa['idSuffix']+')'));});const {defIds:_0x26a592}=_0x2058aa;return!_0x26a592||_0x26a592[_0x4da664(0x242)]===0x0||(_0x5b9ffd['tag']==='use'&&_0x73b847[_0x4da664(0x1d8)]&&(_0x73b847[_0x4da664(0x1d8)]=_0x73b847[_0x4da664(0x1d8)]+_0x2058aa['idSuffix']),Object[_0x4da664(0x16e)](_0x73b847)[_0x4da664(0x271)](([_0x24d857,_0x189c4f])=>{const _0x392e1e=_0x4da664;typeof _0x189c4f==_0x392e1e(0x1e7)&&(_0x73b847[_0x24d857]=_0x189c4f[_0x392e1e(0x1d6)](/url\(#(.*)\)/,_0x392e1e(0x22c)+_0x2058aa[_0x392e1e(0x268)]+')'));})),_0x73b847;}function ve(_0x795e64,_0x36eb45){const _0x54bd5a=_0x461598;var _0x34e4f0;const {defIds:_0x2ed507}=_0x36eb45;return!_0x2ed507||_0x2ed507['length']===0x0?_0x795e64:_0x795e64[_0x54bd5a(0x2bc)]===_0x54bd5a(0x2b6)&&((_0x34e4f0=_0x795e64[_0x54bd5a(0x210)])!=null&&_0x34e4f0[_0x54bd5a(0x242)])?{..._0x795e64,'children':_0x795e64['children'][_0x54bd5a(0x285)](_0x524f12=>typeof _0x524f12[_0x54bd5a(0x2dd)]['id']==_0x54bd5a(0x1e7)&&_0x2ed507&&_0x2ed507[_0x54bd5a(0x2aa)](_0x524f12['attrs']['id'])?{..._0x524f12,'attrs':{..._0x524f12['attrs'],'id':_0x524f12[_0x54bd5a(0x2dd)]['id']+_0x36eb45['idSuffix']}}:_0x524f12)}:_0x795e64;}function de(){const _0x1ace78=_0x461598;return Math[_0x1ace78(0x1bc)]()[_0x1ace78(0x21b)](0x24)['substring'](0x2,0x8);}_[_0x461598(0x2c9)]=_0x461598(0x251);function _0x28ef(){const _0x377bed=['has','Enable\x20authentication\x20for\x20secure\x20connections','76105tXRTyg','已连接','white','MCP\x20Connection\x20Failed','MAX_RETRIES_EXCEEDED','univer-font-medium','merge','4914494GepUAT','children','_menuManagerService','clipPath','mcpConfig.title','Error','subscribeConfigValue$','2656812kNVWMX','MCPConnectionError','DependentOn','_blank','权限验证失败,请检查您的\x20API\x20密钥','toString','univer-space-y-4','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','MCP\x20Retrying...','univer.ai','SESSION_ID_OCCUPIED','ICommandService','mcpStatus.retrying','trim','UNAUTHORIZED','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','forwardRef','Connection\x20Failed','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','mcpConfig.validation.apiKeyTooShort','url(#$1','Configuration\x20Notes:','label','univer-bg-gray-500','OffLineIcon','_initConfigSync','disposeWithMe','http','on-line-icon_clip0_910_349','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20配置','CheckMarkIcon','复制以下\x20JSON\x20配置','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-text-red-500','close','1em','CloseIcon','配置更改将立即生效','MCP\x20Configuration','length','MCP\x20客户端配置','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','error','mcpConfig.sessionIdDescription','点击配置\x20MCP','22lFOnsp','_mcpConnectionController','mcpConfig.configParameters','配置参数:','mcpConfig.apiApplyInfo.description','mcpConfig.validation.invalidApiKey','univer-text-sm\x20univer-text-gray-500','1997070PtMxBp','IMenuManagerService','UniverIcon','Button','connectionStatus$','mcpConfig.connectionStatus.retrying','subscribe','MCP:\x20超出最大重试次数','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-text-white','noopener\x20noreferrer','showConfigPanel','API\x20key\x20is\x20required','createElement','_configService','univer-flex\x20univer-items-start\x20univer-gap-2','Disposable','Success','FAILED','16nQfQcS','univer-flex\x20univer-flex-wrap\x20univer-gap-2','6485094ivnlFU','_config','_handleConfigSave','您的\x20API\x20密钥将在此浏览器中本地存储','idSuffix','univer-space-y-5','getCurrentConfig','pre','mcpConfig.connectionError.maxRetriesExceeded','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-text-xs\x20univer-text-gray-500','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.authorizationDescription','forEach','button','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCPConfigPanel','ILocalStorageService','NETWORK_ERROR','https://console.univer.plus','<SESSION_ID>','Max\x20Retries','mcpConfig.connectionError.networkError','_mcpCoreConfig$','mcp-ui.command.openConfigPanel','Authorization:','Copy\x20the\x20JSON\x20configuration\x20below','univer-text-xs\x20univer-text-gray-600','off-line-icon','univer-flex\x20univer-items-center\x20univer-gap-3','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','ISocketService','Connecting...','map','connectionError$','5aAdOOD','fill','http://www.w3.org/2000/svg','Failed\x20to\x20save\x20configuration','带有\x20Bearer\x20前缀的\x20API\x20密钥。','点击连接\x20MCP','配置无效','MCP:\x20Session\x20ID\x20Occupied','mcpStatus.networkError','_registerComponent','0\x200\x2016\x2016','onStarting','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','_commandService','_injector','mcpConfig.configStep2','_initAutoConnect','univer-size-2\x20univer-rounded-full','mcpConfig.apiApplyInfo.getStarted','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','mcpConfig.connectionStatus.connecting','stringify','show','defineProperty','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-flex\x20univer-items-center','_config$','univer-space-y-2','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mask','MCP\x20Unknown\x20Status','保存中...','Configuration\x20Parameters:','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','includes','COMMAND','_messageService','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','help-icon','几秒钟内获取您的\x20API\x20密钥','https://mcp.univer.ai/mcp/?univer_session_id=','pluginName','MCP:\x20未授权','evenodd','DISCONNECTED','mcpStatus.clickToConfigure','defs','API\x20密钥','MCP\x20Disconnected','mcpConfig.save','symbol','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','tag','jsxs','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','3436144jKfBkE','_loadStoredApiKey','isValid','mcp.apiKey','mcpConfig.configSaved','IConfigService','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','MessageType','什么是\x20API\x20密钥?','重连中...','displayName','mcpConfig.connectionInfo','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_localeService','Bearer\x20','MCPConnectionUIController','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','MenuItemType','jsx','next','univer-flex\x20univer-items-center\x20univer-gap-2','Inject','mergeMenu','univer-text-gray-400','mcpConfig.connectionError.sessionOccupied','univer-space-y-3','_connectionController','MCP\x20重连中...','useRef','未连接','attrs','Save\x20Configuration','setConfig','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Get\x20your\x20API\x20key\x20in\x20seconds','mcpStatus.disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connected','RibbonStartGroup','univer.plus','sessionId$','none','HelpIcon','Click\x20to\x20configure\x20MCP','mcpConfig.description','保存配置','RETRYING','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','mcpConfig.connectionError.unauthorized','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','entries','MCPConfigUIController','mcpConfig.note1','apiKey','M0\x200H16V16H0z','div','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','round','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','url(#off-line-icon_clip0_910_343)','enUS','colorChannel1','API\x20密钥长度至少需要\x2010\x20位','mcpStatus.sessionOccupied','mcpStatus.connecting','svg','enableAutoConnect','BuiltInUIPart','IMessageService','网络连接错误,请检查您的网络连接','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置步骤:','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Session\x20ID','mcpStatus.connected','useCallback','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','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpConfig.configError','您的\x20API\x20密钥安全存储在本地存储中','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.apiApplyInfo.title','on-line-icon','univer-bg-blue-500','useState','IUIPartsService','2478684vJEtmw','showDeveloperTools','OpenMCPConfigPanelCommand','clsx','_apiKey$','Enable\x20Authentication','配置保存成功','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','Saving...','get','open','off-line-icon_clip0_910_343','_initializeMenus','univer-flex\x20univer-gap-3','3veWNMZ','univer-min-w-0\x20univer-flex-1','univer-flex\x20univer-items-start\x20univer-gap-3','defIds','连接失败','Configuration\x20saved\x20successfully','getOwnPropertyDescriptor','启用身份验证以获得安全连接','MCP\x20Connecting...','mcpStatus.clickToConnect','CONNECTED','启用身份验证','MCPConnectionController','getItem','UniverMCPPlugin','univer-shrink-0\x20univer-text-red-500','Injector','span','errorMessage','_initializeCommands','__setCustomHeaders','Invalid\x20configuration','useDependency','MCPConnectionStatus','MCP:\x20网络错误','MCP:\x20Unauthorized','random','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','mcpStatus.maxRetriesExceeded','_loading$','MCP\x20连接失败','36eEpkRZ','currentColor','BehaviorSubject','MCP\x20Client\x20Configuration','connectInjector','registerComponent','MCP_UI_PLUGIN','\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客户端设置中:','Disconnected','mcpConfig.apiKeyHint','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_localStorageService','连接中...','univer-bg-red-500','IDialogService','mcpConfig.configStepTitle','OTHERS','url(#on-line-icon_clip0_910_349)','9HtyqRg','\x20-\x20','replace','MCP:\x20会话\x20ID\x20已被占用','xlink:href','_uiPartsService','univer-text-sm\x20univer-font-medium','toStringTag','CONNECTING','_initStatusComponent','_handleConfigure','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.apiKey','MCPUIMenuController','setItem','mcpConfig.validation.invalidConfig','API\x20密钥无效,请检查密钥是否正确','_logService','<API_KEY>','string','mcpStatus.unknown','MCP_PLUGIN_CONFIG_KEY','value','current','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','NONE','useObservable','LocaleService','assign','mcpConfig.configStep3','_createConfigPanelComponent','Connected','mcpServerUrl','_dialogService','showStatus','mcpConfig.saving','univer-bg-green-500','配置保存失败','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP\x20已断开','text','removeItem','Univer\x20AI\x20Console','UniverMCPUIPlugin','mcpConfig.configInstructions','zhCN','path','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','getConfig','MCP:\x20Max\x20Retries\x20Exceeded'];_0x28ef=function(){return _0x377bed;};return _0x28ef();}const Ce={'tag':_0x461598(0x17d),'attrs':{'xmlns':_0x461598(0x289),'fill':_0x461598(0x2e8),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x461598(0x202),'attrs':{'fill':_0x461598(0x1c2),'d':_0x461598(0x2ee),'fillRule':_0x461598(0x2b3),'clipRule':'evenodd'}}]},H=d[_0x461598(0x228)](function(_0x3d2437,_0x2ea391){const _0x1dcace=_0x461598;return d[_0x1dcace(0x25c)](_,Object[_0x1dcace(0x1f0)]({},_0x3d2437,{'id':'check-mark-icon','ref':_0x2ea391,'icon':Ce}));});H[_0x461598(0x2c9)]=_0x461598(0x237);const ge={'tag':_0x461598(0x17d),'attrs':{'xmlns':_0x461598(0x289),'fill':_0x461598(0x2e8),'viewBox':_0x461598(0x291),'width':_0x461598(0x23e),'height':_0x461598(0x23e)},'children':[{'tag':'path','attrs':{'fill':_0x461598(0x1c2),'d':_0x461598(0x2bb)}}]},B=d[_0x461598(0x228)](function(_0x3622d8,_0xd722){const _0x19b131=_0x461598;return d[_0x19b131(0x25c)](_,Object[_0x19b131(0x1f0)]({},_0x3622d8,{'id':'close-icon','ref':_0xd722,'icon':ge}));});B[_0x461598(0x2c9)]=_0x461598(0x23f);const fe={'tag':_0x461598(0x17d),'attrs':{'xmlns':_0x461598(0x289),'fill':_0x461598(0x2e8),'viewBox':_0x461598(0x291),'width':_0x461598(0x23e),'height':_0x461598(0x23e)},'children':[{'tag':_0x461598(0x202),'attrs':{'fill':_0x461598(0x1c2),'d':_0x461598(0x1ec)}},{'tag':_0x461598(0x202),'attrs':{'fill':_0x461598(0x1c2),'d':_0x461598(0x22a)}},{'tag':_0x461598(0x202),'attrs':{'fill':_0x461598(0x1c2),'d':_0x461598(0x19b),'fillRule':_0x461598(0x2b3),'clipRule':_0x461598(0x2b3)}}]},F=d[_0x461598(0x228)](function(_0x4178eb,_0xbfe8e2){const _0x5f3746=_0x461598;return d[_0x5f3746(0x25c)](_,Object['assign']({},_0x4178eb,{'id':_0x5f3746(0x2ae),'ref':_0xbfe8e2,'icon':fe}));});F[_0x461598(0x2c9)]=_0x461598(0x2e9);const pe={'tag':_0x461598(0x17d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x461598(0x291),'width':_0x461598(0x23e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x461598(0x177)},'children':[{'tag':'path','attrs':{'stroke':_0x461598(0x1c2),'d':_0x461598(0x29a),'strokeLinecap':_0x461598(0x175),'strokeLinejoin':_0x461598(0x175),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x461598(0x212),'attrs':{'id':_0x461598(0x19f)},'children':[{'tag':_0x461598(0x202),'attrs':{'fill':'white','d':_0x461598(0x172)}}]}]}],'defIds':[_0x461598(0x19f)]},Y=d[_0x461598(0x228)](function(_0x3fed76,_0x5dc156){const _0x1142dd=_0x461598;return d[_0x1142dd(0x25c)](_,Object['assign']({},_0x3fed76,{'id':_0x1142dd(0x280),'ref':_0x5dc156,'icon':pe}));});Y[_0x461598(0x2c9)]=_0x461598(0x230);const he={'tag':_0x461598(0x17d),'attrs':{'xmlns':_0x461598(0x289),'fill':_0x461598(0x2e8),'viewBox':'0\x200\x2017\x2016','width':_0x461598(0x23e),'height':_0x461598(0x23e)},'children':[{'tag':'g','attrs':{'clipPath':_0x461598(0x1d3)},'children':[{'tag':_0x461598(0x202),'attrs':{'stroke':_0x461598(0x1c2),'d':_0x461598(0x2c5),'strokeLinecap':_0x461598(0x175),'strokeLinejoin':_0x461598(0x175),'strokeWidth':1.2}}]},{'tag':_0x461598(0x2b6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x461598(0x234)},'children':[{'tag':_0x461598(0x202),'attrs':{'fill':_0x461598(0x20a),'d':_0x461598(0x172),'transform':'translate(.97)'}}]}]}],'defIds':[_0x461598(0x234)]},q=d[_0x461598(0x228)](function(_0x4f7a29,_0x6ba065){const _0x504947=_0x461598;return d[_0x504947(0x25c)](_,Object['assign']({},_0x4f7a29,{'id':_0x504947(0x190),'ref':_0x6ba065,'icon':he}));});q[_0x461598(0x2c9)]='OnLineIcon';function V(_0x363f91){const _0x2a6954=_0x461598;var _0x54424f,_0xd05d4c;const {mcpCoreConfig:_0x33cb01,onSave:_0x3a10d2,loading:_0xe6400f=!0x1,config:_0x219e0f,connectionStatus$:_0x3bf50e,connectionError$:_0x3fa92f,currentApiKey$:_0x3b9b77,currentSessionId$:_0x7cfbb1}=_0x363f91,_0x23b393=v[_0x2a6954(0x1b8)](u['LocaleService']),_0xa670bc=v[_0x2a6954(0x1ee)](_0x3bf50e,s[_0x2a6954(0x1b9)]['DISCONNECTED']),_0x11c691=v[_0x2a6954(0x1ee)](_0x3fa92f,s[_0x2a6954(0x217)]['NONE']),_0x5c71c9=v['useObservable'](_0x7cfbb1,''),_0x5f428f=v['useObservable'](_0x3b9b77,''),[_0x45cac7,_0x113570]=d[_0x2a6954(0x192)](_0x5f428f||''),_0x2781c1=!0x0,_0x347e1c=_0x219e0f[_0x2a6954(0x195)]&&_0x33cb01[_0x2a6954(0x1f4)]&&(_0x33cb01[_0x2a6954(0x1f4)][_0x2a6954(0x2aa)](_0x2a6954(0x2e6))||_0x33cb01[_0x2a6954(0x1f4)][_0x2a6954(0x2aa)](_0x2a6954(0x220))),_0x50b7a4=(_0x54424f=_0x33cb01[_0x2a6954(0x1f4)])==null?void 0x0:_0x54424f[_0x2a6954(0x2aa)](_0x2a6954(0x2e6)),_0x203afb=(_0xd05d4c=_0x33cb01[_0x2a6954(0x1f4)])==null?void 0x0:_0xd05d4c[_0x2a6954(0x2aa)](_0x2a6954(0x220)),_0x3995c8=_0x50b7a4?_0x2a6954(0x277):'https://console.univer.ai',_0x59bd80=_0x219e0f[_0x2a6954(0x195)]&&(_0x50b7a4||_0x203afb),[_0x26db99,_0x2f8d38]=d[_0x2a6954(0x192)](!_0x45cac7['trim']()),_0x5d7d9b=(_0x2bf0b9,_0x4fee0c)=>{const _0x434b48=_0x2a6954;if(_0x4fee0c===s[_0x434b48(0x217)][_0x434b48(0x225)])return _0x434b48(0x235);switch(_0x2bf0b9){case s[_0x434b48(0x1b9)][_0x434b48(0x1ac)]:return _0x434b48(0x18e);case s[_0x434b48(0x1b9)][_0x434b48(0x1dc)]:case s[_0x434b48(0x1b9)][_0x434b48(0x2ed)]:return _0x434b48(0x18b);case s[_0x434b48(0x1b9)][_0x434b48(0x261)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x48bbb2=(_0x2f9695,_0x58d9f4)=>{const _0x4925a8=_0x2a6954;if(_0x58d9f4===s[_0x4925a8(0x217)]['UNAUTHORIZED'])return _0x4925a8(0x1cf);switch(_0x2f9695){case s[_0x4925a8(0x1b9)][_0x4925a8(0x1ac)]:return _0x4925a8(0x1f8);case s[_0x4925a8(0x1b9)][_0x4925a8(0x1dc)]:case s[_0x4925a8(0x1b9)]['RETRYING']:return _0x4925a8(0x191);case s[_0x4925a8(0x1b9)][_0x4925a8(0x261)]:return _0x4925a8(0x1cf);default:return _0x4925a8(0x22f);}},_0x453106=_0x29ef69=>{const _0xe5df3b=_0x2a6954;switch(_0x29ef69){case s[_0xe5df3b(0x1b9)]['CONNECTED']:return _0x23b393['t']('mcpConfig.connectionStatus.connected');case s[_0xe5df3b(0x1b9)][_0xe5df3b(0x1dc)]:return _0x23b393['t'](_0xe5df3b(0x29b));case s[_0xe5df3b(0x1b9)][_0xe5df3b(0x261)]:return _0x23b393['t']('mcpConfig.connectionStatus.failed');case s[_0xe5df3b(0x1b9)][_0xe5df3b(0x2ed)]:return _0x23b393['t'](_0xe5df3b(0x254));default:return _0x23b393['t']('mcpConfig.connectionStatus.disconnected');}},_0xca8ad3=_0x5b4a0a=>{const _0x299e1d=_0x2a6954;switch(_0x5b4a0a){case s[_0x299e1d(0x217)][_0x299e1d(0x225)]:return _0x23b393['t'](_0x299e1d(0x2ef));case s[_0x299e1d(0x217)][_0x299e1d(0x221)]:return _0x23b393['t'](_0x299e1d(0x2d7));case s[_0x299e1d(0x217)][_0x299e1d(0x276)]:return _0x23b393['t'](_0x299e1d(0x27a));case s['MCPConnectionError'][_0x299e1d(0x20c)]:return _0x23b393['t'](_0x299e1d(0x26c));default:return'';}},_0xb7f3a6=d['useCallback'](()=>{const _0x4a835d=_0x2a6954,_0xb6d332={..._0x33cb01,'apiKey':_0x45cac7[_0x4a835d(0x224)](),'enableAuth':_0x2781c1};_0x3a10d2(_0xb6d332);},[_0x33cb01,_0x45cac7,_0x2781c1,_0x3a10d2]),_0x246d13=_0x45cac7[_0x2a6954(0x224)]()['length']>0x0;return i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x2a4),'children':[i['jsx'](_0x2a6954(0x173),{'className':_0x2a6954(0x2a3),'children':i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x281),'children':[i['jsx'](_0x2a6954(0x173),{'className':_0x2a6954(0x185),'children':i['jsx'](_0x2a6954(0x1b3),{'className':_0x2a6954(0x258),'children':'⚙'})}),i['jsx']('div',{'children':i[_0x2a6954(0x2d1)]('p',{'className':_0x2a6954(0x24e),'children':_0x23b393['t'](_0x2a6954(0x2eb))})})]})}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x23b),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':f[_0x2a6954(0x197)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x5d7d9b(_0xa670bc,_0x11c691)),'children':i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':f[_0x2a6954(0x197)](_0x2a6954(0x298),_0x48bbb2(_0xa670bc,_0x11c691))}),i['jsx']('span',{'className':_0x2a6954(0x1da),'children':_0x453106(_0xa670bc)})]})}),_0x11c691!==s['MCPConnectionError']['NONE']&&(_0xa670bc===s[_0x2a6954(0x1b9)][_0x2a6954(0x261)]||_0x11c691===s[_0x2a6954(0x217)][_0x2a6954(0x225)])&&i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':_0x2a6954(0x1df),'children':i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x25e),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x1b3),{'className':_0x2a6954(0x1b1),'children':'⚠️'}),i[_0x2a6954(0x2d1)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0xca8ad3(_0x11c691)})]})})]}),i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':_0x2a6954(0x21e),'children':i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x269),'children':[i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x2a2),'children':[i[_0x2a6954(0x2bd)](_0x2a6954(0x22e),{'className':_0x2a6954(0x23a),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x1b3),{'children':'🔑'}),'\x20',_0x23b393['t'](_0x2a6954(0x1e0)),i[_0x2a6954(0x2d1)](_0x2a6954(0x1b3),{'className':_0x2a6954(0x23c),'children':'*'}),_0x347e1c&&i['jsx']('a',{'className':_0x2a6954(0x184),'title':_0x23b393['t'](_0x2a6954(0x18f)),'role':_0x2a6954(0x272),'onClick':()=>_0x2f8d38(!0x0),'children':i['jsx'](F,{})})]}),i[_0x2a6954(0x2d1)](f['Input'],{'type':_0x2a6954(0x1fc),'placeholder':_0x23b393['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x45cac7,'disabled':_0xe6400f,'autoComplete':'off','onChange':_0x113570}),i[_0x2a6954(0x2d1)]('p',{'className':_0x2a6954(0x26e),'children':_0x23b393['t'](_0x2a6954(0x1cb))})]}),_0x347e1c&&_0x26db99&&i['jsxs'](_0x2a6954(0x173),{'className':_0x2a6954(0x2a9),'children':[i['jsx']('a',{'className':'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','role':_0x2a6954(0x272),'onClick':()=>_0x2f8d38(!0x1),'children':i['jsx'](B,{'className':'univer-size-4'})}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x273),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':_0x2a6954(0x239),'children':i[_0x2a6954(0x2d1)]('span',{'className':'univer-text-blue-600','children':'🚀'})}),i[_0x2a6954(0x2bd)]('div',{'className':'univer-flex-1','children':[i[_0x2a6954(0x2d1)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x23b393['t']('mcpConfig.apiApplyInfo.title')}),i[_0x2a6954(0x2d1)]('p',{'className':_0x2a6954(0x2be),'children':_0x23b393['t'](_0x2a6954(0x24c))}),i['jsx']('div',{'className':_0x2a6954(0x263),'children':_0x59bd80&&i['jsxs']('a',{'className':_0x2a6954(0x18a),'href':_0x3995c8,'target':_0x2a6954(0x219),'rel':_0x2a6954(0x259),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x1b3),{'children':'🤖'}),_0x23b393['t']('mcpConfig.apiApplyInfo.univerAiLabel'),i[_0x2a6954(0x2d1)]('span',{'className':_0x2a6954(0x2d6),'children':'↗'})]})}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x1cc),'children':['✨','\x20',_0x23b393['t'](_0x2a6954(0x299))]})]})]})]}),_0x219e0f[_0x2a6954(0x195)]&&i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x203),'children':[i[_0x2a6954(0x2bd)]('h4',{'className':_0x2a6954(0x176),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x1b3),{'children':'🔗'}),'\x20',_0x23b393['t'](_0x2a6954(0x2ca))]}),i['jsxs'](_0x2a6954(0x173),{'className':_0x2a6954(0x21c),'children':[i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x2d8),'children':[i[_0x2a6954(0x2d1)]('p',{'className':_0x2a6954(0x27f),'children':_0x23b393['t'](_0x2a6954(0x200))}),i['jsxs'](_0x2a6954(0x173),{'className':_0x2a6954(0x2a2),'children':[i[_0x2a6954(0x2d1)]('div',{'className':_0x2a6954(0x16c),'children':_0x23b393['t'](_0x2a6954(0x1d1))}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x26f),'children':[i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x2d3),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x1b3),{'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'}),_0x23b393['t']('mcpConfig.configStep1')]}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x2a6954(0x2d1)]('span',{'className':_0x2a6954(0x2cf),'children':'2'}),_0x23b393['t'](_0x2a6954(0x296))]}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x2d3),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x1b3),{'className':_0x2a6954(0x2cf),'children':'3'}),_0x23b393['t'](_0x2a6954(0x1f1))]})]})]})]}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x2a2),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':_0x2a6954(0x16c),'children':_0x2a6954(0x241)}),i['jsx'](_0x2a6954(0x173),{'className':_0x2a6954(0x2e0),'children':i[_0x2a6954(0x2d1)](_0x2a6954(0x26b),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x2a6954(0x29c)]({'mcpServers':{'univer':{'url':_0x2a6954(0x2b0)+(_0x5c71c9||_0x2a6954(0x278)),'type':_0x2a6954(0x233),'headers':{'Authorization':_0x2a6954(0x2cd)+(_0x45cac7||_0x2a6954(0x1e6))}}}},null,0x2)})})]}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':'univer-space-y-3','children':[i['jsx'](_0x2a6954(0x173),{'className':_0x2a6954(0x16c),'children':_0x23b393['t'](_0x2a6954(0x24a))}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x2a2),'children':[i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x1a4),'children':[i['jsx']('div',{'className':_0x2a6954(0x16d)}),i[_0x2a6954(0x2bd)]('div',{'className':_0x2a6954(0x1a3),'children':[i[_0x2a6954(0x2d1)]('div',{'className':_0x2a6954(0x26d),'children':'univer_session_id:'}),i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':_0x2a6954(0x26e),'children':_0x23b393['t'](_0x2a6954(0x246))})]})]}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x1a4),'children':[i['jsx']('div',{'className':_0x2a6954(0x16d)}),i['jsxs'](_0x2a6954(0x173),{'className':_0x2a6954(0x1a3),'children':[i['jsx']('div',{'className':_0x2a6954(0x26d),'children':_0x2a6954(0x27d)}),i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':_0x2a6954(0x26e),'children':_0x23b393['t'](_0x2a6954(0x270))})]})]})]})]})]})]}),i[_0x2a6954(0x2d1)](f[_0x2a6954(0x252)],{'onClick':_0xb7f3a6,'disabled':!_0x246d13||_0xe6400f,'className':_0x2a6954(0x1bd),'children':_0xe6400f?i[_0x2a6954(0x2bd)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x2a6954(0x2d1)]('span',{'children':'⟲'}),_0x23b393['t'](_0x2a6954(0x1f7))]}):i['jsxs'](_0x2a6954(0x1b3),{'className':_0x2a6954(0x2d3),'children':[i['jsx'](H,{}),_0x23b393['t'](_0x2a6954(0x2b9))]})}),i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x1a1),'children':[i['jsx'](_0x2a6954(0x1b3),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),i[_0x2a6954(0x2bd)](_0x2a6954(0x173),{'className':_0x2a6954(0x1fa),'children':[i[_0x2a6954(0x2d1)](_0x2a6954(0x173),{'className':_0x2a6954(0x20d),'children':_0x2a6954(0x22d)}),i['jsxs'](_0x2a6954(0x173),{'children':['•',_0x23b393['t'](_0x2a6954(0x170))]}),i[_0x2a6954(0x2bd)]('div',{'children':['•',_0x23b393['t']('mcpConfig.note2')]})]})]})})]})})]});}const P='mcp-ui.config',L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x461598(0x1a8)],xe=(_0x46cfce,_0x24ae9b,_0x85ea1b,_0x6e16f2)=>{for(var _0x4eebde=_0x6e16f2>0x1?void 0x0:_0x6e16f2?me(_0x24ae9b,_0x85ea1b):_0x24ae9b,_0x441908=_0x46cfce['length']-0x1,_0x369f09;_0x441908>=0x0;_0x441908--)(_0x369f09=_0x46cfce[_0x441908])&&(_0x4eebde=_0x369f09(_0x4eebde)||_0x4eebde);return _0x4eebde;},g=(_0x4212de,_0x5ae091)=>(_0x5050be,_0x3262d4)=>_0x5ae091(_0x5050be,_0x3262d4,_0x4212de);const O=_0x461598(0x2c2),D='mcp-config-dialog';exports[_0x461598(0x16f)]=class extends u[_0x461598(0x25f)]{constructor(_0x7a1aca,_0x195ae3,_0x1aec1b,_0x2b0009,_0x258734,_0x55887d,_0xdee800,_0x182ace,_0x2479e4,_0x23b8a9){const _0x32b4ae=_0x461598;super(),I(this,_0x32b4ae(0x1bf),new M[(_0x32b4ae(0x1c3))](!0x1)),I(this,'_mcpCoreConfig$',new M[(_0x32b4ae(0x1c3))]({})),I(this,_0x32b4ae(0x2a1),new M['BehaviorSubject']({})),I(this,'_apiKey$',new M[(_0x32b4ae(0x1c3))]('')),I(this,_0x32b4ae(0x266),async _0x177386=>{const _0x17b1c1=_0x32b4ae;var _0x32f352,_0x281df8;this['_loading$'][_0x17b1c1(0x2d2)](!0x0);try{const _0x49dfc9=await this['_validateConfig'](_0x177386);if(!_0x49dfc9['isValid']){this[_0x17b1c1(0x2ac)][_0x17b1c1(0x29d)]({'type':f['MessageType'][_0x17b1c1(0x214)],'content':_0x49dfc9[_0x17b1c1(0x1b4)]||this[_0x17b1c1(0x2cc)]['t'](_0x17b1c1(0x1e3))});return;}_0x177386[_0x17b1c1(0x171)]?await this['_localStorageService'][_0x17b1c1(0x1e2)](O,_0x177386['apiKey'][_0x17b1c1(0x224)]()):await this[_0x17b1c1(0x1cd)][_0x17b1c1(0x1fd)](O),this[_0x17b1c1(0x198)][_0x17b1c1(0x2d2)](((_0x32f352=_0x177386[_0x17b1c1(0x171)])==null?void 0x0:_0x32f352['trim']())||''),this['_mcpConnectionController'][_0x17b1c1(0x1b6)]({'Authorization':'Bearer\x20'+((_0x281df8=_0x177386['apiKey'])==null?void 0x0:_0x281df8[_0x17b1c1(0x224)]())}),this[_0x17b1c1(0x2ac)][_0x17b1c1(0x29d)]({'type':f[_0x17b1c1(0x2c6)][_0x17b1c1(0x260)],'content':this[_0x17b1c1(0x2cc)]['t'](_0x17b1c1(0x2c3))}),setTimeout(()=>{const _0x58d305=_0x17b1c1;this['_dialogService'][_0x58d305(0x23d)](D);},0x320);}catch(_0x5b32dd){this[_0x17b1c1(0x1e5)][_0x17b1c1(0x245)](_0x17b1c1(0x2cb),_0x5b32dd),this[_0x17b1c1(0x2ac)][_0x17b1c1(0x29d)]({'type':f[_0x17b1c1(0x2c6)][_0x17b1c1(0x214)],'content':this['_localeService']['t'](_0x17b1c1(0x18c))});}finally{this['_loading$'][_0x17b1c1(0x2d2)](!0x1);}}),(this[_0x32b4ae(0x295)]=_0x7a1aca,this['_uiPartsService']=_0x195ae3,this[_0x32b4ae(0x25d)]=_0x1aec1b,this['_localStorageService']=_0x2b0009,this[_0x32b4ae(0x1f5)]=_0x258734,this[_0x32b4ae(0x2ac)]=_0x55887d,this['_componentManager']=_0xdee800,this[_0x32b4ae(0x2cc)]=_0x182ace,this[_0x32b4ae(0x1e5)]=_0x2479e4,this[_0x32b4ae(0x249)]=_0x23b8a9,this['_initConfigSync'](),this[_0x32b4ae(0x2c0)](),this[_0x32b4ae(0x290)]());}[_0x461598(0x25a)](){const _0xdc2d1=_0x461598,_0x45a9f9=this['_configService']['getConfig'](P);_0x45a9f9!=null&&_0x45a9f9[_0xdc2d1(0x195)]&&this[_0xdc2d1(0x1f5)][_0xdc2d1(0x19e)]({'id':D,'title':{'title':this[_0xdc2d1(0x2cc)]['t'](_0xdc2d1(0x213))},'children':{'label':_0xdc2d1(0x274)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x38a8f3=_0xdc2d1;this[_0x38a8f3(0x1f5)][_0x38a8f3(0x23d)](D);}});}[_0x461598(0x26a)](){const _0x174724=_0x461598;return this[_0x174724(0x27b)]['value'];}['_registerComponent'](){const _0x191af2=_0x461598;this[_0x191af2(0x232)](this['_componentManager']['register'](_0x191af2(0x274),this['_createConfigPanelComponent']()));}[_0x461598(0x1f2)](){const _0xfbad15=_0x461598;return v[_0xfbad15(0x1c5)](()=>{const _0x5a79c8=_0xfbad15;var _0xfe093b,_0x20542b,_0x1e0557;return i[_0x5a79c8(0x2d1)](V,{'config':this[_0x5a79c8(0x2a1)][_0x5a79c8(0x1ea)],'mcpCoreConfig':this[_0x5a79c8(0x27b)][_0x5a79c8(0x1ea)],'currentApiKey$':this[_0x5a79c8(0x198)],'onSave':this[_0x5a79c8(0x266)],'loading':this[_0x5a79c8(0x1bf)]['value'],'connectionStatus$':(_0xfe093b=this[_0x5a79c8(0x249)])==null?void 0x0:_0xfe093b[_0x5a79c8(0x253)],'connectionError$':(_0x20542b=this[_0x5a79c8(0x249)])==null?void 0x0:_0x20542b[_0x5a79c8(0x286)],'currentSessionId$':(_0x1e0557=this[_0x5a79c8(0x249)])==null?void 0x0:_0x1e0557[_0x5a79c8(0x2e7)]});},this[_0xfbad15(0x295)]);}[_0x461598(0x231)](){const _0x26fd5a=_0x461598;this[_0x26fd5a(0x232)](this[_0x26fd5a(0x25d)]['subscribeConfigValue$'](s[_0x26fd5a(0x1e9)])[_0x26fd5a(0x255)](_0x13d3f1=>{const _0x5666c6=_0x26fd5a;this[_0x5666c6(0x27b)][_0x5666c6(0x2d2)](_0x13d3f1||{});}));const _0x17a9ba=this['_configService'][_0x26fd5a(0x204)](s['MCP_PLUGIN_CONFIG_KEY']);this['_mcpCoreConfig$'][_0x26fd5a(0x2d2)](_0x17a9ba||{}),this[_0x26fd5a(0x232)](this[_0x26fd5a(0x25d)][_0x26fd5a(0x215)](P)['subscribe'](_0x19de4d=>{const _0x57124e=_0x26fd5a;this['_config$'][_0x57124e(0x2d2)](_0x19de4d||{});}));const _0x3a3dd4=this[_0x26fd5a(0x25d)][_0x26fd5a(0x204)](P);this['_config$'][_0x26fd5a(0x2d2)](_0x3a3dd4||{});}async['_loadStoredApiKey'](){const _0xdee0a1=_0x461598,_0x4cea3c=this[_0xdee0a1(0x25d)]['getConfig'](P);if(!(_0x4cea3c!=null&&_0x4cea3c['showDeveloperTools']))return;const _0xa1ba0e=await this['_localStorageService'][_0xdee0a1(0x1af)](O);_0xa1ba0e&&(this[_0xdee0a1(0x249)][_0xdee0a1(0x1b6)]({'Authorization':_0xdee0a1(0x2cd)+_0xa1ba0e}),this[_0xdee0a1(0x198)][_0xdee0a1(0x2d2)](_0xa1ba0e));}async['_validateConfig'](_0x30f359){const _0x544be1=_0x461598;if(!_0x30f359[_0x544be1(0x171)]||_0x30f359['apiKey'][_0x544be1(0x224)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x544be1(0x2cc)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x30f359[_0x544be1(0x171)][_0x544be1(0x224)]()[_0x544be1(0x242)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x544be1(0x22b))};try{const _0x9389f=await this['_injector'][_0x544be1(0x19d)](s[_0x544be1(0x1ae)])['validateApiKey'](_0x30f359['apiKey'][_0x544be1(0x224)]());return _0x9389f[_0x544be1(0x2c1)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x9389f[_0x544be1(0x245)]||this[_0x544be1(0x2cc)]['t'](_0x544be1(0x24d))};}catch(_0x1d47c7){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x1d47c7),{'isValid':!0x0};}}},exports['MCPConfigUIController']=xe([g(0x0,u[_0x461598(0x2d4)](u[_0x461598(0x1b2)])),g(0x1,v[_0x461598(0x193)]),g(0x2,u['IConfigService']),g(0x3,u[_0x461598(0x275)]),g(0x4,v[_0x461598(0x1d0)]),g(0x5,v[_0x461598(0x180)]),g(0x6,u[_0x461598(0x2d4)](v['ComponentManager'])),g(0x7,u[_0x461598(0x2d4)](u[_0x461598(0x1ef)])),g(0x8,u['ILogService']),g(0x9,u[_0x461598(0x2d4)](s[_0x461598(0x1ae)]))],exports['MCPConfigUIController']);const b={'id':_0x461598(0x27c),'type':u['CommandType'][_0x461598(0x2ab)],'handler':async(_0x37f01c,_0x11bd8d)=>(_0x37f01c['get'](exports[_0x461598(0x16f)])[_0x461598(0x25a)](),!0x0)};function Z(_0x475f56,_0x96f049){const _0x247013=_0x461598;switch(_0x475f56){case s['MCPConnectionStatus'][_0x247013(0x2b4)]:return _0x247013(0x2e2);case s[_0x247013(0x1b9)][_0x247013(0x1dc)]:return _0x247013(0x17c);case s[_0x247013(0x1b9)][_0x247013(0x1ac)]:return _0x247013(0x188);case s[_0x247013(0x1b9)][_0x247013(0x261)]:switch(_0x96f049){case s[_0x247013(0x217)][_0x247013(0x225)]:return'mcpStatus.unauthorized';case s[_0x247013(0x217)]['SESSION_ID_OCCUPIED']:return _0x247013(0x17b);case s['MCPConnectionError']['NETWORK_ERROR']:return _0x247013(0x28f);case s[_0x247013(0x217)][_0x247013(0x20c)]:return _0x247013(0x1be);default:return'mcpStatus.failed';}case s['MCPConnectionStatus'][_0x247013(0x2ed)]:return _0x247013(0x223);default:return _0x247013(0x1e8);}}function Se(_0x266239,_0x91c042,_0x3d7472,_0x5ae8a4=!0x0){const _0x12ab7c=_0x461598,_0x34302a=Z(_0x266239,_0x91c042),_0x2971fd=_0x3d7472['t'](_0x34302a);return _0x5ae8a4?_0x266239===s[_0x12ab7c(0x1b9)][_0x12ab7c(0x2b4)]&&_0x91c042===s[_0x12ab7c(0x217)][_0x12ab7c(0x225)]?_0x2971fd+_0x12ab7c(0x1d5)+_0x3d7472['t'](_0x12ab7c(0x2b5)):_0x266239===s['MCPConnectionStatus'][_0x12ab7c(0x1ac)]?''+_0x2971fd:_0x266239===s[_0x12ab7c(0x1b9)]['DISCONNECTED']||_0x266239===s[_0x12ab7c(0x1b9)][_0x12ab7c(0x261)]?_0x2971fd+'\x20-\x20'+_0x3d7472['t'](_0x12ab7c(0x1ab)):_0x2971fd:_0x2971fd;}function Pe(_0x16e4a5){const _0x4cc663=_0x461598;switch(_0x16e4a5){case s[_0x4cc663(0x1b9)][_0x4cc663(0x1ac)]:return'univer-text-green-500';case s[_0x4cc663(0x1b9)]['CONNECTING']:case s[_0x4cc663(0x1b9)][_0x4cc663(0x2ed)]:return'univer-text-yellow-500';case s[_0x4cc663(0x1b9)][_0x4cc663(0x261)]:case s[_0x4cc663(0x1b9)][_0x4cc663(0x2b4)]:return _0x4cc663(0x23c);default:return'univer-text-gray-500';}}function W(_0x360fd1){const _0x229d55=_0x461598,{status$:_0x33e76f,error$:_0xe077b6,onConfigure:_0x33845b,showClickable:_0xa4de6e=!0x0}=_0x360fd1,_0x24b6d0=v[_0x229d55(0x1ee)](_0x33e76f,s[_0x229d55(0x1b9)][_0x229d55(0x2b4)]),_0x56581c=v[_0x229d55(0x1ee)](_0xe077b6,s[_0x229d55(0x217)][_0x229d55(0x1ed)]),_0x32bebb=v[_0x229d55(0x1b8)](u[_0x229d55(0x1ef)]),_0x8aa770=_0x24b6d0===s[_0x229d55(0x1b9)][_0x229d55(0x1ac)];_0x24b6d0===s[_0x229d55(0x1b9)][_0x229d55(0x1dc)]||s[_0x229d55(0x1b9)][_0x229d55(0x2ed)];const _0x50e9a8=_0x32bebb['t'](Z(_0x24b6d0,_0x56581c)),_0x521c16=Se(_0x24b6d0,_0x56581c,_0x32bebb,_0xa4de6e),_0x23f1f0=Pe(_0x24b6d0),_0x1fcdd9=_0x8aa770?i[_0x229d55(0x2d1)](q,{}):i[_0x229d55(0x2d1)](Y,{}),_0x44f8b5=d[_0x229d55(0x189)](()=>{_0xa4de6e&&_0x33845b&&_0x33845b();},[_0xa4de6e,_0x33845b]);function _0x3ca32b(){const _0x41d10d=_0x229d55;return i[_0x41d10d(0x2bd)](_0x41d10d(0x173),{'className':f[_0x41d10d(0x197)](_0x41d10d(0x2a0),_0xa4de6e&&_0x33845b&&_0x41d10d(0x1c8)),'role':_0x41d10d(0x272),'onClick':_0xa4de6e&&_0x33845b?_0x44f8b5:void 0x0,'children':[i[_0x41d10d(0x2d1)](_0x41d10d(0x173),{'className':f[_0x41d10d(0x197)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x23f1f0),'children':_0x1fcdd9}),i['jsx']('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50e9a8})]});}return i[_0x229d55(0x2d1)](f['Tooltip'],{'title':_0x521c16,'placement':'bottom','children':_0x3ca32b()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x29d7dc,_0x15af1d,_0x5ae569,_0x2db977)=>{const _0x351d12=_0x461598;for(var _0x21c811=_0x2db977>0x1?void 0x0:_0x2db977?Ie(_0x15af1d,_0x5ae569):_0x15af1d,_0x364174=_0x29d7dc[_0x351d12(0x242)]-0x1,_0x21082d;_0x364174>=0x0;_0x364174--)(_0x21082d=_0x29d7dc[_0x364174])&&(_0x21c811=_0x21082d(_0x21c811)||_0x21c811);return _0x21c811;},N=(_0x4a5ea5,_0x39b1d6)=>(_0x529291,_0x2aedd5)=>_0x39b1d6(_0x529291,_0x2aedd5,_0x4a5ea5);exports[_0x461598(0x2ce)]=class extends u[_0x461598(0x25f)]{constructor(_0x9306f3,_0x4ab78f,_0x3a1b27,_0x115c18){const _0x2055f6=_0x461598;super(),this[_0x2055f6(0x295)]=_0x9306f3,this[_0x2055f6(0x2d9)]=_0x4ab78f,this[_0x2055f6(0x1d9)]=_0x3a1b27,this[_0x2055f6(0x25d)]=_0x115c18,this[_0x2055f6(0x297)](),this[_0x2055f6(0x1dd)]();}['_initAutoConnect'](){const _0x5b66fb=_0x461598,_0x53dcda=this['_configService'][_0x5b66fb(0x204)](P);_0x53dcda!=null&&_0x53dcda[_0x5b66fb(0x195)]&&(this[_0x5b66fb(0x2d9)][_0x5b66fb(0x17e)]=!0x1);}[_0x461598(0x1dd)](){const _0x16866d=_0x461598,_0x2d5fd3=this[_0x16866d(0x25d)][_0x16866d(0x204)](P);(_0x2d5fd3==null?void 0x0:_0x2d5fd3[_0x16866d(0x1f6)])!==!0x1&&this[_0x16866d(0x232)](this[_0x16866d(0x1d9)][_0x16866d(0x1c6)](v[_0x16866d(0x17f)]['HEADER_MENU'],()=>{const _0x1db54d=_0x16866d;var _0x3a1b44;return v[_0x1db54d(0x1c5)](ye({'status$':this[_0x1db54d(0x2d9)][_0x1db54d(0x253)],'error$':this[_0x1db54d(0x2d9)][_0x1db54d(0x286)],'onConfigure':()=>this[_0x1db54d(0x1de)](),'showClickable':(_0x3a1b44=_0x2d5fd3==null?void 0x0:_0x2d5fd3['showDeveloperTools'])!=null?_0x3a1b44:!0x1}),this[_0x1db54d(0x295)]);}));}[_0x461598(0x1de)](){const _0x2a1430=_0x461598;this[_0x2a1430(0x295)][_0x2a1430(0x19d)](exports[_0x2a1430(0x16f)])['showConfigPanel']();}},exports[_0x461598(0x2ce)]=_e([N(0x0,u[_0x461598(0x2d4)](u[_0x461598(0x1b2)])),N(0x1,u[_0x461598(0x2d4)](s['MCPConnectionController'])),N(0x2,v['IUIPartsService']),N(0x3,u[_0x461598(0x2c4)])],exports['MCPConnectionUIController']);function _0x3989(_0x2b2b16,_0x24b82a){_0x2b2b16=_0x2b2b16-0x16b;const _0x28eff8=_0x28ef();let _0x3989ef=_0x28eff8[_0x2b2b16];return _0x3989ef;}function ye(_0x35f725){const {status$:_0x2842bb,error$:_0x5b9043,onConfigure:_0x44755f,showClickable:_0x6e6f8e}=_0x35f725;return function(){const _0xf70063=_0x3989;return i[_0xf70063(0x2d1)](W,{'status$':_0x2842bb,'error$':_0x5b9043,'onConfigure':_0x44755f,'showClickable':_0x6e6f8e});};}function Me(_0x522cd6){const _0x4232a0=_0x461598;return{'id':b['id'],'type':v[_0x4232a0(0x2d0)]['BUTTON'],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x4232a0(0x213)};}const Ne={[v[_0x461598(0x2e5)][_0x461598(0x1d2)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object['getOwnPropertyDescriptor'],je=(_0x3002ca,_0x337681,_0x132520,_0x13ee00)=>{const _0x31bb07=_0x461598;for(var _0x38c9e0=_0x13ee00>0x1?void 0x0:_0x13ee00?be(_0x337681,_0x132520):_0x337681,_0x52ff2a=_0x3002ca[_0x31bb07(0x242)]-0x1,_0x3ca001;_0x52ff2a>=0x0;_0x52ff2a--)(_0x3ca001=_0x3002ca[_0x52ff2a])&&(_0x38c9e0=_0x3ca001(_0x38c9e0)||_0x38c9e0);return _0x38c9e0;},z=(_0x2cb403,_0x41fe5d)=>(_0x3a021d,_0x25d1ff)=>_0x41fe5d(_0x3a021d,_0x25d1ff,_0x2cb403);exports[_0x461598(0x1e1)]=class extends u[_0x461598(0x25f)]{constructor(_0x441151,_0x156d54){const _0x361bfa=_0x461598;super(),this[_0x361bfa(0x294)]=_0x441151,this[_0x361bfa(0x211)]=_0x156d54,this[_0x361bfa(0x1b5)](),this[_0x361bfa(0x1a0)]();}[_0x461598(0x1b5)](){const _0x2ef310=_0x461598;[b][_0x2ef310(0x271)](_0x5e6b16=>{this['disposeWithMe'](this['_commandService']['registerCommand'](_0x5e6b16));});}[_0x461598(0x1a0)](){const _0x3a21bb=_0x461598;this[_0x3a21bb(0x211)][_0x3a21bb(0x2d5)](Ne);}},exports['MCPUIMenuController']=je([z(0x0,u[_0x461598(0x222)]),z(0x1,v[_0x461598(0x250)])],exports[_0x461598(0x1e1)]);const Ee={'mcpStatus':{'disconnected':_0x461598(0x2b8),'connecting':_0x461598(0x1aa),'connected':_0x461598(0x2e4),'failed':_0x461598(0x20b),'retrying':_0x461598(0x21f),'unknown':_0x461598(0x2a6),'unauthorized':_0x461598(0x1bb),'sessionOccupied':_0x461598(0x28e),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x461598(0x205),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x461598(0x2ea)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x461598(0x244),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x461598(0x199),'enableAuthHint':_0x461598(0x207),'connectionInfo':_0x461598(0x1c4),'mcpClientConfig':_0x461598(0x1c4),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x461598(0x27e),'configStep2':_0x461598(0x21d),'configStep3':_0x461598(0x29f),'sessionId':_0x461598(0x187),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x461598(0x16b),'configParameters':_0x461598(0x2a8),'maxRetries':_0x461598(0x279),'save':_0x461598(0x2de),'saving':_0x461598(0x19c),'note1':_0x461598(0x293),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x461598(0x1a7),'configError':_0x461598(0x28a),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x461598(0x2ad),'univerAiLabel':_0x461598(0x1fe),'getStarted':_0x461598(0x2e1)},'validation':{'apiKeyRequired':_0x461598(0x25b),'apiKeyTooShort':_0x461598(0x174),'invalidConfig':_0x461598(0x1b7),'invalidApiKey':_0x461598(0x227)},'connectionStatus':{'disconnected':_0x461598(0x1ca),'connecting':_0x461598(0x284),'connected':_0x461598(0x1f3),'failed':_0x461598(0x229),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x461598(0x257),'sessionOccupied':_0x461598(0x282),'networkError':_0x461598(0x2e3),'maxRetriesExceeded':_0x461598(0x226)}}},we={'mcpStatus':{'disconnected':_0x461598(0x1fb),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x461598(0x1c0),'retrying':_0x461598(0x2da),'unknown':'MCP\x20状态未知','unauthorized':_0x461598(0x2b2),'sessionOccupied':_0x461598(0x1d7),'networkError':_0x461598(0x1ba),'maxRetriesExceeded':_0x461598(0x256),'clickToConnect':_0x461598(0x28c),'clickToConfigure':_0x461598(0x247)},'mcpConfig':{'title':_0x461598(0x236),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x461598(0x2b7),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x461598(0x267),'enableAuth':_0x461598(0x1ad),'enableAuthHint':_0x461598(0x1a9),'connectionInfo':_0x461598(0x243),'mcpClientConfig':_0x461598(0x243),'configInstructions':_0x461598(0x1c9),'configStepTitle':_0x461598(0x183),'configStep1':_0x461598(0x238),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x461598(0x182),'authorizationDescription':_0x461598(0x28b),'configParameters':_0x461598(0x24b),'maxRetries':'最大重试次数','save':_0x461598(0x2ec),'saving':_0x461598(0x2a7),'note1':_0x461598(0x240),'note2':_0x461598(0x18d),'configSaved':_0x461598(0x19a),'configError':_0x461598(0x1f9),'apiApplyInfo':{'title':_0x461598(0x2c7),'description':_0x461598(0x186),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x461598(0x2af)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x461598(0x17a),'invalidConfig':_0x461598(0x28d),'invalidApiKey':_0x461598(0x1e4)},'connectionStatus':{'disconnected':_0x461598(0x2dc),'connecting':_0x461598(0x1ce),'connected':_0x461598(0x209),'failed':_0x461598(0x1a6),'retrying':_0x461598(0x2c8)},'connectionError':{'unauthorized':_0x461598(0x21a),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x461598(0x181),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var Ae=Object[_0x461598(0x29e)],Oe=Object[_0x461598(0x1a8)],De=(_0x22abbe,_0x30be6a,_0x151bbf)=>_0x30be6a in _0x22abbe?Ae(_0x22abbe,_0x30be6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x151bbf}):_0x22abbe[_0x30be6a]=_0x151bbf,Ue=(_0x92b3f8,_0x51476e,_0x4fd9c7,_0x4419cd)=>{const _0x350058=_0x461598;for(var _0x26fd8d=_0x4419cd>0x1?void 0x0:_0x4419cd?Oe(_0x51476e,_0x4fd9c7):_0x51476e,_0x1eb9f4=_0x92b3f8[_0x350058(0x242)]-0x1,_0x3e2d49;_0x1eb9f4>=0x0;_0x1eb9f4--)(_0x3e2d49=_0x92b3f8[_0x1eb9f4])&&(_0x26fd8d=_0x3e2d49(_0x26fd8d)||_0x26fd8d);return _0x26fd8d;},y=(_0x42361,_0x506a52)=>(_0x27acca,_0x155c57)=>_0x506a52(_0x27acca,_0x155c57,_0x42361),$e=(_0x553db9,_0x5c5497,_0x10c459)=>De(_0x553db9,_0x5c5497+'',_0x10c459);exports[_0x461598(0x1ff)]=class extends u['Plugin']{constructor(_0x232ab9=L,_0x158259,_0x1f8747,_0x34038e,_0x339258,_0xbd5846){const _0x41f758=_0x461598;super(),this['_config']=_0x232ab9,this[_0x41f758(0x295)]=_0x158259,this[_0x41f758(0x25d)]=_0x1f8747,this['_uiPartsService']=_0x34038e,this['_localStorageService']=_0x339258,this[_0x41f758(0x2cc)]=_0xbd5846;const {..._0x33c65d}=u[_0x41f758(0x20e)]({},L,this[_0x41f758(0x265)]);this[_0x41f758(0x25d)][_0x41f758(0x2df)](P,_0x33c65d);}async[_0x461598(0x292)](){const _0x5037a6=_0x461598,_0x547b05=[[exports['MCPConnectionUIController']],[exports[_0x5037a6(0x16f)]],[exports[_0x5037a6(0x1e1)]]];this[_0x5037a6(0x295)][_0x5037a6(0x206)](A['ISocketService'])||_0x547b05['push']([A[_0x5037a6(0x283)],{'useClass':A['WebSocketService']}]),_0x547b05[_0x5037a6(0x271)](_0x2f62e6=>this[_0x5037a6(0x295)]['add'](_0x2f62e6)),this[_0x5037a6(0x295)]['get'](exports['MCPConnectionUIController']),this['_injector'][_0x5037a6(0x19d)](exports[_0x5037a6(0x16f)]),this[_0x5037a6(0x295)][_0x5037a6(0x19d)](exports[_0x5037a6(0x1e1)]);}},$e(exports[_0x461598(0x1ff)],_0x461598(0x2b1),_0x461598(0x1c7)),exports[_0x461598(0x1ff)]=Ue([u[_0x461598(0x218)](s[_0x461598(0x1b0)]),y(0x1,u['Inject'](u[_0x461598(0x1b2)])),y(0x2,u[_0x461598(0x2c4)]),y(0x3,v['IUIPartsService']),y(0x4,u[_0x461598(0x275)]),y(0x5,u[_0x461598(0x2d4)](u['LocaleService']))],exports['UniverMCPUIPlugin']),exports[_0x461598(0x274)]=V,exports['MCPStatusDisplay']=W,exports[_0x461598(0x196)]=b,exports[_0x461598(0x178)]=Ee,exports[_0x461598(0x201)]=we;
1
+ 'use strict';const _0xf446ce=_0x4b83;(function(_0x5d1494,_0x1f1c79){const _0x1a2fd2=_0x4b83,_0x3bb03c=_0x5d1494();while(!![]){try{const _0x1f97a5=-parseInt(_0x1a2fd2(0xee))/0x1+-parseInt(_0x1a2fd2(0xec))/0x2+-parseInt(_0x1a2fd2(0x233))/0x3+-parseInt(_0x1a2fd2(0x1aa))/0x4*(parseInt(_0x1a2fd2(0x1f0))/0x5)+parseInt(_0x1a2fd2(0x15f))/0x6+parseInt(_0x1a2fd2(0x119))/0x7+parseInt(_0x1a2fd2(0x13b))/0x8;if(_0x1f97a5===_0x1f1c79)break;else _0x3bb03c['push'](_0x3bb03c['shift']());}catch(_0x3c180d){_0x3bb03c['push'](_0x3bb03c['shift']());}}}(_0x2f85,0x19443));function _0x2f85(){const _0x499d21=['mcpConfig.configStep1','colorChannel1','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','_initStatusComponent','启用身份验证','MCP\x20重连中...','__setCustomHeaders','forEach','_localeService','MessageType','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','IUIPartsService','MCP\x20连接中...','_commandService','MCP\x20已连接','mcpConfig.connectionError.unauthorized','配置\x20MCP\x20使用\x20AI\x20操作电子表格','_handleConfigSave','setConfig','mcpConfig.apiApplyInfo.title','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','mcpConfig.connectionStatus.disconnected','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','check-mark-icon','启用身份验证以获得安全连接','univer-flex\x20univer-items-start\x20univer-gap-2','mcp.apiKey','MCP\x20连接失败','98804Vicmxz','MCPConnectionError','off-line-icon','mcpStatus.retrying','超出最大重试次数,请稍后再试','noopener\x20noreferrer','_mcpConnectionController','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-text-xs\x20univer-text-gray-500','symbol','assign','MCPUIMenuController','Authorization:','error','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','ICommandService','mcpStatus.unknown','univerjs-icon\x20univerjs-icon-','已连接','mcpConfig.configStep2','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpServerUrl','IMessageService','mcpConfig.connectionError.maxRetriesExceeded','Univer\x20AI\x20控制台','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCPConnectionStatus','mcpConfig.validation.invalidApiKey','CloseIcon','_initConfigSync','connectionError$','MCP\x20Client\x20Configuration','mcp-config-dialog','none','div','API\x20密钥长度至少需要\x2010\x20位','OTHERS','OffLineIcon','white','showConfigPanel','_loading$','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','string','useRef','mcpConfig.connectionStatus.connecting','useDependency','add','API\x20key\x20with\x20Bearer\x20prefix.','univer-space-y-2','disposeWithMe','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Error','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','apiKey','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','mcp-ui.config','Injector','_createConfigPanelComponent','IDialogService','attrs','url(#$1','mcpConfig.apiKey','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','IMenuManagerService','forwardRef','univer-text-white','RETRYING','HEADER_MENU','replace','<SESSION_ID>','40chEblf','button','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','0\x200\x2016\x2016','_registerComponent','univer-space-y-3','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','ILogService','MCP:\x20Session\x20ID\x20Occupied','WebSocketService','help-icon','univer-space-y-4','API\x20Key','mcpConfig.configStep3','_localStorageService','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','mcpStatus.disconnected','配置步骤:','getConfig','sessionId$','univer-bg-green-500','LocaleService','mcpConfig.apiApplyInfo.getStarted','mcpConfig.validation.invalidConfig','univer.ai','clsx','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-bg-red-500','MCPConnectionController','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Bearer\x20','zhCN','connectInjector','subscribeConfigValue$','univer-text-blue-600','mcpConfig.apiApplyInfo.univerAiLabel','useObservable','push','1em','useCallback','subscribe','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-gray-500','univer-shrink-0\x20univer-text-blue-500','Connecting...','_validateConfig','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','未连接','univer-size-2\x20univer-rounded-full','_messageService','defineProperty','mcpStatus.clickToConnect','网络连接错误,请检查您的网络连接','mcpConfig.connectionError.sessionOccupied','url(#on-line-icon_clip0_910_349)','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','RibbonStartGroup','点击连接\x20MCP','带有\x20Bearer\x20前缀的\x20API\x20密钥。','open','MCP\x20Connection\x20Failed','MCPConnectionUIController','evenodd','_injector','Enable\x20Authentication','237237yjibjA','univer-size-4','MCP\x20客户端配置','MCP_PLUGIN_CONFIG_KEY','enableAutoConnect','enUS','defs','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Disconnected','mcpConfig.save','off','\x20-\x20','_apiKey$','close-icon','Invalid\x20configuration','mcpConfig.connectionError.networkError','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','use','mcpConfig.saving','UNAUTHORIZED','0\x200\x2017\x2016','displayName','Success','复制以下\x20JSON\x20配置','mcpConfig.note2','Disposable','mcpConfig.connectionStatus.retrying','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','defIds','text','univer-flex\x20univer-items-center','API\x20密钥不能为空','Button','最大重试次数','会话ID','Failed\x20to\x20save\x20configuration','mcpConfig.apiKeyPlaceholder','Session\x20ID','Input','MCP\x20配置','https://console.univer.ai','trim','MCP\x20Configuration','OnLineIcon','MCP:\x20网络错误','重连中...','MCPConfigPanel','tag','idSuffix','showDeveloperTools','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20Retrying...','MCP\x20Disconnected','univer-mr-2\x20univer-flex\x20univer-text-xl','310924FUgYln','univer-text-sm\x20univer-font-medium','37572Dlcxsl','clipPath','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connected','univer.plus','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','_componentManager','onStarting','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','getItem','has','label','CommandType','_uiPartsService','mcpConfig.note1','univer-flex\x20univer-gap-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer_session_id:','_config','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','配置无效','_initializeMenus','univer-flex-1','fill','mcpConfig.connectionInfo','DependentOn','配置更改将立即生效','UniverMCPUIPlugin','Enable\x20authentication\x20for\x20secure\x20connections','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Module','univer-flex\x20univer-items-center\x20univer-gap-2','mcpStatus.connected','useState','保存配置','MCPConfigUIController','mcpStatus.failed','includes','MCP\x20已断开','jsxs','showStatus','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1364685gdDArf','API\x20密钥','span','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','UniverMCPPlugin','OpenMCPConfigPanelCommand','MenuIcon','DISCONNECTED','next','FAILED','warn','children','pluginName','您的\x20API\x20密钥安全存储在本地存储中','API\x20key\x20is\x20required','_initAutoConnect','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','CONNECTING','url(#off-line-icon_clip0_910_343)','_dialogService','MAX_RETRIES_EXCEEDED','_config$','Connected','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','<API_KEY>','show','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_blank','mcpConfig.apiKeyHint','round','register','setItem','mcpConfig.configInstructions','2588720Imnjeq','on-line-icon_clip0_910_349','BUTTON','API\x20密钥无效,请检查密钥是否正确','请输入您的\x20API\x20密钥','M0\x200H16V16H0z','_mcpCoreConfig$','univer-text-yellow-500','map','length','substring','UniverIcon','path','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','svg','entries','\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','SESSION_ID_OCCUPIED','off-line-icon_clip0_910_343','BuiltInUIPart','Plugin','mcpConfig.configSaved','univer-text-sm\x20univer-text-gray-500','MenuItemType','_connectionController','http://www.w3.org/2000/svg','get','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-text-gray-400','_menuManagerService','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.description','http','mcpConfig.validation.apiKeyRequired','_handleConfigure','isValid','328002tnsvRN','on-line-icon','MCP\x20Connecting...','validateApiKey','univer-text-red-500','univer-bg-blue-500','currentColor','close','配置保存成功','CONNECTED','mcpConfig.title','mcpStatus.networkError','_configService','_logService','value','createElement','BehaviorSubject','mask','会话\x20ID\x20已被占用,请稍后再试','Enter\x20your\x20API\x20key','MCP:\x20超出最大重试次数','univer-flex\x20univer-items-start\x20univer-gap-3','几秒钟内获取您的\x20API\x20密钥','Max\x20Retries','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-min-w-0\x20univer-flex-1','MCP:\x20未授权','univer-font-medium','getOwnPropertyDescriptor','将以下配置添加到您的\x20MCP\x20客户端设置中:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','random','MCPStatusDisplay','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Tooltip','xlink:href','MCP\x20Unknown\x20Status','jsx','Inject','mergeMenu','IConfigService','ISocketService','https://console.univer.plus','NONE','Saving...','univer-flex\x20univer-items-center\x20univer-gap-3'];_0x2f85=function(){return _0x499d21;};return _0x2f85();}var ae=Object[_0xf446ce(0x224)],le=(_0x4e5316,_0x64e25f,_0x2046b4)=>_0x64e25f in _0x4e5316?ae(_0x4e5316,_0x64e25f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2046b4}):_0x4e5316[_0x64e25f]=_0x2046b4,I=(_0x28d466,_0x3bac94,_0x48e233)=>le(_0x28d466,typeof _0x3bac94!=_0xf446ce(0x1b3)?_0x3bac94+'':_0x3bac94,_0x48e233);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0xf446ce(0x10d)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x229ca8,..._0x5d2f2f}){const _0x39a890=_0xf446ce,{icon:_0x321d21,id:_0x1c6829,className:_0x3919cb,extend:_0x1bf14b,..._0x1b557f}=_0x5d2f2f,_0x224b0a=(_0x39a890(0x1bb)+_0x1c6829+'\x20'+(_0x3919cb||''))['trim'](),_0xaac62b=d[_0x39a890(0x1d5)]('_'+de());return G(_0x321d21,''+_0x1c6829,{'defIds':_0x321d21[_0x39a890(0xd2)],'idSuffix':_0xaac62b['current']},{'ref':_0x229ca8,'className':_0x224b0a,..._0x1b557f},_0x1bf14b);}function G(_0x4faa03,_0x143c2f,_0x489b09,_0x21d6ea,_0xec1066){const _0x463c3c=_0xf446ce;return d[_0x463c3c(0x16e)](_0x4faa03['tag'],{'key':_0x143c2f,...ue(_0x4faa03,_0x489b09,_0xec1066),..._0x21d6ea},(ve(_0x4faa03,_0x489b09)['children']||[])[_0x463c3c(0x143)]((_0x412103,_0x258654)=>G(_0x412103,_0x143c2f+'-'+_0x4faa03[_0x463c3c(0xe5)]+'-'+_0x258654,_0x489b09,void 0x0,_0xec1066)));}function ue(_0x161f98,_0x303be1,_0x3ee883){const _0x2103ac=_0xf446ce,_0x54e9b7={..._0x161f98[_0x2103ac(0x1e5)]};_0x3ee883!=null&&_0x3ee883['colorChannel1']&&_0x54e9b7['fill']===_0x2103ac(0x18f)&&(_0x54e9b7[_0x2103ac(0x106)]=_0x3ee883['colorChannel1']),_0x161f98[_0x2103ac(0xe5)]===_0x2103ac(0x170)&&_0x54e9b7['id']&&(_0x54e9b7['id']=_0x54e9b7['id']+_0x303be1['idSuffix']),Object['entries'](_0x54e9b7)[_0x2103ac(0x195)](([_0x25f364,_0x5c599d])=>{const _0x3be29f=_0x2103ac;_0x25f364===_0x3be29f(0x170)&&typeof _0x5c599d=='string'&&(_0x54e9b7[_0x25f364]=_0x5c599d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x303be1[_0x3be29f(0xe6)]+')'));});const {defIds:_0x9b9296}=_0x303be1;return!_0x9b9296||_0x9b9296[_0x2103ac(0x144)]===0x0||(_0x161f98[_0x2103ac(0xe5)]===_0x2103ac(0xc7)&&_0x54e9b7['xlink:href']&&(_0x54e9b7[_0x2103ac(0x183)]=_0x54e9b7[_0x2103ac(0x183)]+_0x303be1[_0x2103ac(0xe6)]),Object[_0x2103ac(0x14a)](_0x54e9b7)[_0x2103ac(0x195)](([_0x8665dd,_0x36b49c])=>{const _0x460b7e=_0x2103ac;typeof _0x36b49c==_0x460b7e(0x1d4)&&(_0x54e9b7[_0x8665dd]=_0x36b49c[_0x460b7e(0x1ee)](/url\(#(.*)\)/,_0x460b7e(0x1e6)+_0x303be1[_0x460b7e(0xe6)]+')'));})),_0x54e9b7;}function ve(_0x165115,_0x4fde28){const _0x16033=_0xf446ce;var _0x4f79cf;const {defIds:_0x2de5b1}=_0x4fde28;return!_0x2de5b1||_0x2de5b1[_0x16033(0x144)]===0x0?_0x165115:_0x165115['tag']===_0x16033(0x239)&&((_0x4f79cf=_0x165115[_0x16033(0x124)])!=null&&_0x4f79cf[_0x16033(0x144)])?{..._0x165115,'children':_0x165115['children']['map'](_0x5abc56=>typeof _0x5abc56[_0x16033(0x1e5)]['id']==_0x16033(0x1d4)&&_0x2de5b1&&_0x2de5b1[_0x16033(0x114)](_0x5abc56[_0x16033(0x1e5)]['id'])?{..._0x5abc56,'attrs':{..._0x5abc56[_0x16033(0x1e5)],'id':_0x5abc56['attrs']['id']+_0x4fde28[_0x16033(0xe6)]}}:_0x5abc56)}:_0x165115;}function de(){const _0x2c8e20=_0xf446ce;return Math[_0x2c8e20(0x17e)]()['toString'](0x24)[_0x2c8e20(0x145)](0x2,0x8);}_[_0xf446ce(0xcb)]=_0xf446ce(0x146);const Ce={'tag':'svg','attrs':{'xmlns':_0xf446ce(0x154),'fill':_0xf446ce(0x1cb),'viewBox':_0xf446ce(0x1f4),'width':_0xf446ce(0x217),'height':'1em'},'children':[{'tag':_0xf446ce(0x147),'attrs':{'fill':'currentColor','d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':_0xf446ce(0x230),'clipRule':_0xf446ce(0x230)}}]},H=d['forwardRef'](function(_0x332c5d,_0x475b32){const _0x5448a4=_0xf446ce;return d[_0x5448a4(0x16e)](_,Object[_0x5448a4(0x1b4)]({},_0x332c5d,{'id':_0x5448a4(0x1a5),'ref':_0x475b32,'icon':Ce}));});H[_0xf446ce(0xcb)]='CheckMarkIcon';const ge={'tag':_0xf446ce(0x149),'attrs':{'xmlns':_0xf446ce(0x154),'fill':_0xf446ce(0x1cb),'viewBox':_0xf446ce(0x1f4),'width':_0xf446ce(0x217),'height':_0xf446ce(0x217)},'children':[{'tag':_0xf446ce(0x147),'attrs':{'fill':'currentColor','d':'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'}}]},B=d[_0xf446ce(0x1ea)](function(_0x33e40e,_0x217c44){const _0x31bcf7=_0xf446ce;return d[_0x31bcf7(0x16e)](_,Object[_0x31bcf7(0x1b4)]({},_0x33e40e,{'id':_0x31bcf7(0x240),'ref':_0x217c44,'icon':ge}));});B[_0xf446ce(0xcb)]=_0xf446ce(0x1c6);const fe={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0xf446ce(0x217),'height':_0xf446ce(0x217)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0xf446ce(0x147),'attrs':{'fill':_0xf446ce(0x165),'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':'path','attrs':{'fill':'currentColor','d':_0xf446ce(0x1e8),'fillRule':'evenodd','clipRule':'evenodd'}}]},F=d[_0xf446ce(0x1ea)](function(_0xaffb27,_0xbc87e7){const _0x2ca838=_0xf446ce;return d[_0x2ca838(0x16e)](_,Object[_0x2ca838(0x1b4)]({},_0xaffb27,{'id':_0x2ca838(0x1fb),'ref':_0xbc87e7,'icon':fe}));});F[_0xf446ce(0xcb)]='HelpIcon';const pe={'tag':_0xf446ce(0x149),'attrs':{'xmlns':_0xf446ce(0x154),'fill':'none','viewBox':_0xf446ce(0x1f4),'width':'1em','height':_0xf446ce(0x217)},'children':[{'tag':'g','attrs':{'clipPath':_0xf446ce(0x12b)},'children':[{'tag':'path','attrs':{'stroke':_0xf446ce(0x165),'d':_0xf446ce(0x190),'strokeLinecap':'round','strokeLinejoin':_0xf446ce(0x137),'strokeWidth':1.2}}]},{'tag':_0xf446ce(0x239),'attrs':{},'children':[{'tag':_0xf446ce(0xef),'attrs':{'id':_0xf446ce(0x14d)},'children':[{'tag':_0xf446ce(0x147),'attrs':{'fill':_0xf446ce(0x1d0),'d':_0xf446ce(0x140)}}]}]}],'defIds':[_0xf446ce(0x14d)]},Y=d[_0xf446ce(0x1ea)](function(_0x90e9ad,_0x496366){const _0x2197b0=_0xf446ce;return d['createElement'](_,Object[_0x2197b0(0x1b4)]({},_0x90e9ad,{'id':_0x2197b0(0x1ac),'ref':_0x496366,'icon':pe}));});Y[_0xf446ce(0xcb)]=_0xf446ce(0x1cf);const he={'tag':_0xf446ce(0x149),'attrs':{'xmlns':_0xf446ce(0x154),'fill':'none','viewBox':_0xf446ce(0xca),'width':'1em','height':_0xf446ce(0x217)},'children':[{'tag':'g','attrs':{'clipPath':_0xf446ce(0x228)},'children':[{'tag':_0xf446ce(0x147),'attrs':{'stroke':_0xf446ce(0x165),'d':_0xf446ce(0x1b8),'strokeLinecap':_0xf446ce(0x137),'strokeLinejoin':_0xf446ce(0x137),'strokeWidth':1.2}}]},{'tag':_0xf446ce(0x239),'attrs':{},'children':[{'tag':_0xf446ce(0xef),'attrs':{'id':_0xf446ce(0x13c)},'children':[{'tag':_0xf446ce(0x147),'attrs':{'fill':_0xf446ce(0x1d0),'d':_0xf446ce(0x140),'transform':'translate(.97)'}}]}]}],'defIds':[_0xf446ce(0x13c)]},q=d['forwardRef'](function(_0x2336c0,_0x4f2202){const _0x45eb27=_0xf446ce;return d['createElement'](_,Object[_0x45eb27(0x1b4)]({},_0x2336c0,{'id':_0x45eb27(0x160),'ref':_0x4f2202,'icon':he}));});q[_0xf446ce(0xcb)]=_0xf446ce(0xe1);function V(_0x37887d){const _0x5c5e6a=_0xf446ce;var _0x46da22,_0x108716;const {mcpCoreConfig:_0x4c817d,onSave:_0x5198a4,loading:_0x1f7edf=!0x1,config:_0x10078c,connectionStatus$:_0x2b9755,connectionError$:_0x4a1e3e,currentApiKey$:_0x58f21f,currentSessionId$:_0x472d28}=_0x37887d,_0x22a185=v[_0x5c5e6a(0x1d7)](u[_0x5c5e6a(0x206)]),_0x5517f1=v[_0x5c5e6a(0x215)](_0x2b9755,s[_0x5c5e6a(0x1c4)][_0x5c5e6a(0x120)]),_0x5ecaa3=v[_0x5c5e6a(0x215)](_0x4a1e3e,s[_0x5c5e6a(0x1ab)][_0x5c5e6a(0x18b)]),_0x816937=v[_0x5c5e6a(0x215)](_0x472d28,''),_0x47a17c=v[_0x5c5e6a(0x215)](_0x58f21f,''),[_0x551c13,_0x16edcc]=d[_0x5c5e6a(0x110)](_0x47a17c||''),_0x1af946=!0x0,_0xe8fab9=_0x10078c[_0x5c5e6a(0xe7)]&&_0x4c817d[_0x5c5e6a(0x1bf)]&&(_0x4c817d['mcpServerUrl'][_0x5c5e6a(0x114)](_0x5c5e6a(0xf2))||_0x4c817d['mcpServerUrl']['includes'](_0x5c5e6a(0x209))),_0x172909=(_0x46da22=_0x4c817d[_0x5c5e6a(0x1bf)])==null?void 0x0:_0x46da22['includes'](_0x5c5e6a(0xf2)),_0x5d21a6=(_0x108716=_0x4c817d['mcpServerUrl'])==null?void 0x0:_0x108716[_0x5c5e6a(0x114)]('univer.ai'),_0x3c7815=_0x172909?_0x5c5e6a(0x18a):_0x5c5e6a(0xde),_0x5ee0a9=_0x10078c[_0x5c5e6a(0xe7)]&&(_0x172909||_0x5d21a6),[_0x2b8f98,_0x3bdf62]=d[_0x5c5e6a(0x110)](!_0x551c13[_0x5c5e6a(0xdf)]()),_0x15ce7c=(_0x3e6c4b,_0x4702aa)=>{const _0x4bcea4=_0x5c5e6a;if(_0x4702aa===s['MCPConnectionError'][_0x4bcea4(0xc9)])return _0x4bcea4(0xe8);switch(_0x3e6c4b){case s[_0x4bcea4(0x1c4)][_0x4bcea4(0x168)]:return _0x4bcea4(0x159);case s[_0x4bcea4(0x1c4)][_0x4bcea4(0x12a)]:case s[_0x4bcea4(0x1c4)][_0x4bcea4(0x1ec)]:return _0x4bcea4(0x130);case s['MCPConnectionStatus'][_0x4bcea4(0x122)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x4fa854=(_0x505347,_0x4e80b3)=>{const _0x42caf7=_0x5c5e6a;if(_0x4e80b3===s[_0x42caf7(0x1ab)][_0x42caf7(0xc9)])return _0x42caf7(0x20c);switch(_0x505347){case s[_0x42caf7(0x1c4)][_0x42caf7(0x168)]:return _0x42caf7(0x205);case s[_0x42caf7(0x1c4)][_0x42caf7(0x12a)]:case s[_0x42caf7(0x1c4)][_0x42caf7(0x1ec)]:return _0x42caf7(0x164);case s[_0x42caf7(0x1c4)][_0x42caf7(0x122)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x4d7dde=_0x3be294=>{const _0x13784d=_0x5c5e6a;switch(_0x3be294){case s[_0x13784d(0x1c4)][_0x13784d(0x168)]:return _0x22a185['t']('mcpConfig.connectionStatus.connected');case s[_0x13784d(0x1c4)][_0x13784d(0x12a)]:return _0x22a185['t'](_0x13784d(0x1d6));case s[_0x13784d(0x1c4)][_0x13784d(0x122)]:return _0x22a185['t']('mcpConfig.connectionStatus.failed');case s[_0x13784d(0x1c4)][_0x13784d(0x1ec)]:return _0x22a185['t'](_0x13784d(0xd0));default:return _0x22a185['t'](_0x13784d(0x1a3));}},_0x10abcf=_0x4db3d7=>{const _0x276721=_0x5c5e6a;switch(_0x4db3d7){case s['MCPConnectionError']['UNAUTHORIZED']:return _0x22a185['t'](_0x276721(0x19d));case s[_0x276721(0x1ab)]['SESSION_ID_OCCUPIED']:return _0x22a185['t'](_0x276721(0x227));case s[_0x276721(0x1ab)]['NETWORK_ERROR']:return _0x22a185['t'](_0x276721(0xc5));case s['MCPConnectionError'][_0x276721(0x12d)]:return _0x22a185['t'](_0x276721(0x1c1));default:return'';}},_0x283bb0=d[_0x5c5e6a(0x218)](()=>{const _0x2c8304={..._0x4c817d,'apiKey':_0x551c13['trim'](),'enableAuth':_0x1af946};_0x5198a4(_0x2c8304);},[_0x4c817d,_0x551c13,_0x1af946,_0x5198a4]),_0x3a7ec0=_0x551c13[_0x5c5e6a(0xdf)]()[_0x5c5e6a(0x144)]>0x0;return i['jsxs'](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0xf6),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x21a),'children':i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x18d),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x198),'children':i[_0x5c5e6a(0x185)](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x1eb),'children':'⚙'})}),i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'children':i[_0x5c5e6a(0x185)]('p',{'className':_0x5c5e6a(0x151),'children':_0x22a185['t'](_0x5c5e6a(0x15a))})})]})}),i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0xfe),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':f[_0x5c5e6a(0x20a)](_0x5c5e6a(0x102),_0x15ce7c(_0x5517f1,_0x5ecaa3)),'children':i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i['jsx'](_0x5c5e6a(0x1cc),{'className':f[_0x5c5e6a(0x20a)](_0x5c5e6a(0x222),_0x4fa854(_0x5517f1,_0x5ecaa3))}),i['jsx']('span',{'className':_0x5c5e6a(0xed),'children':_0x4d7dde(_0x5517f1)})]})}),_0x5ecaa3!==s[_0x5c5e6a(0x1ab)][_0x5c5e6a(0x18b)]&&(_0x5517f1===s[_0x5c5e6a(0x1c4)][_0x5c5e6a(0x122)]||_0x5ecaa3===s['MCPConnectionError'][_0x5c5e6a(0xc9)])&&i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1a7),'children':[i['jsx'](_0x5c5e6a(0x11b),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),i[_0x5c5e6a(0x185)]('p',{'className':_0x5c5e6a(0x20e),'children':_0x10abcf(_0x5ecaa3)})]})})]}),i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0xd1),'children':i['jsxs'](_0x5c5e6a(0x1cc),{'className':'univer-space-y-5','children':[i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1da),'children':[i['jsxs'](_0x5c5e6a(0xf9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[i[_0x5c5e6a(0x185)]('span',{'children':'🔑'}),'\x20',_0x22a185['t'](_0x5c5e6a(0x1e7)),i['jsx'](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x163),'children':'*'}),_0xe8fab9&&i['jsx']('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x22a185['t']('mcpConfig.apiApplyInfo.title'),'role':_0x5c5e6a(0x1f1),'onClick':()=>_0x3bdf62(!0x0),'children':i[_0x5c5e6a(0x185)](F,{})})]}),i[_0x5c5e6a(0x185)](f[_0x5c5e6a(0xdc)],{'type':_0x5c5e6a(0xd3),'placeholder':_0x22a185['t'](_0x5c5e6a(0xda)),'value':_0x551c13,'disabled':_0x1f7edf,'autoComplete':_0x5c5e6a(0x23d),'onChange':_0x16edcc}),i['jsx']('p',{'className':_0x5c5e6a(0x1b2),'children':_0x22a185['t'](_0x5c5e6a(0x136))})]}),_0xe8fab9&&_0x2b8f98&&i['jsxs'](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1a2),'children':[i[_0x5c5e6a(0x185)]('a',{'className':_0x5c5e6a(0xc6),'role':_0x5c5e6a(0x1f1),'onClick':()=>_0x3bdf62(!0x1),'children':i['jsx'](B,{'className':_0x5c5e6a(0x234)})}),i['jsxs'](_0x5c5e6a(0x1cc),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1f3),'children':i['jsx'](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x213),'children':'🚀'})}),i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x105),'children':[i[_0x5c5e6a(0x185)]('h4',{'className':_0x5c5e6a(0x1be),'children':_0x22a185['t'](_0x5c5e6a(0x1a1))}),i[_0x5c5e6a(0x185)]('p',{'className':_0x5c5e6a(0x177),'children':_0x22a185['t']('mcpConfig.apiApplyInfo.description')}),i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x23a),'children':_0x5ee0a9&&i[_0x5c5e6a(0x116)]('a',{'className':_0x5c5e6a(0x148),'href':_0x3c7815,'target':_0x5c5e6a(0x135),'rel':_0x5c5e6a(0x1af),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x11b),{'children':'🤖'}),_0x22a185['t'](_0x5c5e6a(0x214)),i['jsx'](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x157),'children':'↗'})]})}),i[_0x5c5e6a(0x116)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x22a185['t'](_0x5c5e6a(0x207))]})]})]})]}),_0x10078c['showDeveloperTools']&&i['jsxs'](_0x5c5e6a(0x1cc),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[i[_0x5c5e6a(0x116)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[i[_0x5c5e6a(0x185)]('span',{'children':'🔗'}),'\x20',_0x22a185['t'](_0x5c5e6a(0x107))]}),i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1fc),'children':[i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1f6),'children':[i['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x22a185['t'](_0x5c5e6a(0x13a))}),i['jsxs'](_0x5c5e6a(0x1cc),{'className':'univer-space-y-2','children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x22a185['t']('mcpConfig.configStepTitle')}),i['jsxs'](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x229),'children':[i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x10e),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x1e0),'children':'1'}),_0x22a185['t'](_0x5c5e6a(0x18e))]}),i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x1e0),'children':'2'}),_0x22a185['t'](_0x5c5e6a(0x1bd))]}),i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x10e),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x1e0),'children':'3'}),_0x22a185['t'](_0x5c5e6a(0x1fe))]})]})]})]}),i['jsxs'](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1da),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x101),'children':_0x5c5e6a(0xe0)}),i[_0x5c5e6a(0x185)]('div',{'className':_0x5c5e6a(0x1f7),'children':i['jsx']('pre',{'className':_0x5c5e6a(0x181),'children':JSON['stringify']({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x816937||_0x5c5e6a(0x1ef)),'type':_0x5c5e6a(0x15b),'headers':{'Authorization':'Bearer\x20'+(_0x551c13||_0x5c5e6a(0x131))}}}},null,0x2)})})]}),i[_0x5c5e6a(0x116)]('div',{'className':_0x5c5e6a(0x1f6),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x101),'children':_0x22a185['t']('mcpConfig.configParameters')}),i[_0x5c5e6a(0x116)]('div',{'className':_0x5c5e6a(0x1da),'children':[i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x174),'children':[i['jsx'](_0x5c5e6a(0x1cc),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i['jsxs'](_0x5c5e6a(0x1cc),{'className':'univer-min-w-0\x20univer-flex-1','children':[i['jsx']('div',{'className':_0x5c5e6a(0x134),'children':_0x5c5e6a(0xff)}),i[_0x5c5e6a(0x185)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x22a185['t']('mcpConfig.sessionIdDescription')})]})]}),i['jsxs'](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x174),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i['jsxs'](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x178),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x5c5e6a(0x1b6)}),i['jsx'](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1b2),'children':_0x22a185['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i[_0x5c5e6a(0x185)](f[_0x5c5e6a(0xd6)],{'onClick':_0x283bb0,'disabled':!_0x3a7ec0||_0x1f7edf,'className':_0x5c5e6a(0x200),'children':_0x1f7edf?i[_0x5c5e6a(0x116)](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x10e),'children':[i[_0x5c5e6a(0x185)]('span',{'children':'⟲'}),_0x22a185['t'](_0x5c5e6a(0xc8))]}):i['jsxs']('span',{'className':_0x5c5e6a(0x10e),'children':[i[_0x5c5e6a(0x185)](H,{}),_0x22a185['t'](_0x5c5e6a(0x23c))]})}),i['jsx'](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x1a4),'children':i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0xfd),'children':[i['jsx'](_0x5c5e6a(0x11b),{'className':_0x5c5e6a(0x21c),'children':'💡'}),i[_0x5c5e6a(0x116)]('div',{'className':_0x5c5e6a(0xf3),'children':[i[_0x5c5e6a(0x185)](_0x5c5e6a(0x1cc),{'className':_0x5c5e6a(0x17a),'children':'Configuration\x20Notes:'}),i['jsxs'](_0x5c5e6a(0x1cc),{'children':['•',_0x22a185['t'](_0x5c5e6a(0xfc))]}),i[_0x5c5e6a(0x116)](_0x5c5e6a(0x1cc),{'children':['•',_0x22a185['t'](_0x5c5e6a(0xce))]})]})]})})]})})]});}const P=_0xf446ce(0x1e1),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object['getOwnPropertyDescriptor'],xe=(_0x2ca89a,_0x38681a,_0x259899,_0x57663a)=>{const _0x2619cf=_0xf446ce;for(var _0x44ed93=_0x57663a>0x1?void 0x0:_0x57663a?me(_0x38681a,_0x259899):_0x38681a,_0x5c1894=_0x2ca89a[_0x2619cf(0x144)]-0x1,_0x60ce2a;_0x5c1894>=0x0;_0x5c1894--)(_0x60ce2a=_0x2ca89a[_0x5c1894])&&(_0x44ed93=_0x60ce2a(_0x44ed93)||_0x44ed93);return _0x44ed93;},g=(_0x25a57f,_0xae2d2e)=>(_0x3d44a5,_0x470290)=>_0xae2d2e(_0x3d44a5,_0x470290,_0x25a57f);const O=_0xf446ce(0x1a8),D=_0xf446ce(0x1ca);exports[_0xf446ce(0x112)]=class extends u['Disposable']{constructor(_0x1adcd6,_0x1a5a46,_0x31a6b8,_0x19d7da,_0xbf3c4e,_0x5a6341,_0x4b56c2,_0x40b727,_0x32554e,_0x27316e){const _0x40dec3=_0xf446ce;super(),I(this,_0x40dec3(0x1d2),new M[(_0x40dec3(0x16f))](!0x1)),I(this,_0x40dec3(0x141),new M[(_0x40dec3(0x16f))]({})),I(this,_0x40dec3(0x12e),new M['BehaviorSubject']({})),I(this,_0x40dec3(0x23f),new M[(_0x40dec3(0x16f))]('')),I(this,_0x40dec3(0x19f),async _0x364abd=>{const _0x38eb73=_0x40dec3;var _0x7b39c9,_0x15e4a2;this[_0x38eb73(0x1d2)][_0x38eb73(0x121)](!0x0);try{const _0x30e9d7=await this[_0x38eb73(0x21e)](_0x364abd);if(!_0x30e9d7[_0x38eb73(0x15e)]){this['_messageService'][_0x38eb73(0x132)]({'type':f[_0x38eb73(0x197)]['Error'],'content':_0x30e9d7['errorMessage']||this[_0x38eb73(0x196)]['t'](_0x38eb73(0x208))});return;}_0x364abd['apiKey']?await this[_0x38eb73(0x1ff)][_0x38eb73(0x139)](O,_0x364abd[_0x38eb73(0x1df)][_0x38eb73(0xdf)]()):await this[_0x38eb73(0x1ff)]['removeItem'](O),this[_0x38eb73(0x23f)]['next'](((_0x7b39c9=_0x364abd['apiKey'])==null?void 0x0:_0x7b39c9['trim']())||''),this[_0x38eb73(0x1b0)][_0x38eb73(0x194)]({'Authorization':_0x38eb73(0x20f)+((_0x15e4a2=_0x364abd[_0x38eb73(0x1df)])==null?void 0x0:_0x15e4a2[_0x38eb73(0xdf)]())}),this[_0x38eb73(0x223)]['show']({'type':f[_0x38eb73(0x197)][_0x38eb73(0xcc)],'content':this[_0x38eb73(0x196)]['t'](_0x38eb73(0x150))}),setTimeout(()=>{const _0x14de00=_0x38eb73;this[_0x14de00(0x12c)][_0x14de00(0x166)](D);},0x320);}catch(_0x161a92){this['_logService']['error'](_0x38eb73(0x1de),_0x161a92),this[_0x38eb73(0x223)][_0x38eb73(0x132)]({'type':f[_0x38eb73(0x197)][_0x38eb73(0x1dd)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x38eb73(0x121)](!0x1);}}),(this[_0x40dec3(0x231)]=_0x1adcd6,this[_0x40dec3(0xfb)]=_0x1a5a46,this[_0x40dec3(0x16b)]=_0x31a6b8,this[_0x40dec3(0x1ff)]=_0x19d7da,this['_dialogService']=_0xbf3c4e,this[_0x40dec3(0x223)]=_0x5a6341,this[_0x40dec3(0xf4)]=_0x4b56c2,this[_0x40dec3(0x196)]=_0x40b727,this[_0x40dec3(0x16c)]=_0x32554e,this[_0x40dec3(0x1b0)]=_0x27316e,this[_0x40dec3(0x1c7)](),this['_loadStoredApiKey'](),this[_0x40dec3(0x1f5)]());}[_0xf446ce(0x1d1)](){const _0x4420d3=_0xf446ce,_0x5942b8=this[_0x4420d3(0x16b)][_0x4420d3(0x203)](P);_0x5942b8!=null&&_0x5942b8['showDeveloperTools']&&this[_0x4420d3(0x12c)][_0x4420d3(0x22d)]({'id':D,'title':{'title':this['_localeService']['t'](_0x4420d3(0x169))},'children':{'label':_0x4420d3(0xe4)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5ce8e9=_0x4420d3;this[_0x5ce8e9(0x12c)][_0x5ce8e9(0x166)](D);}});}['getCurrentConfig'](){const _0x4e338f=_0xf446ce;return this[_0x4e338f(0x141)][_0x4e338f(0x16d)];}[_0xf446ce(0x1f5)](){const _0x4f1aaa=_0xf446ce;this['disposeWithMe'](this[_0x4f1aaa(0xf4)][_0x4f1aaa(0x138)](_0x4f1aaa(0xe4),this['_createConfigPanelComponent']()));}[_0xf446ce(0x1e3)](){const _0xdc5948=_0xf446ce;return v[_0xdc5948(0x211)](()=>{const _0x464527=_0xdc5948;var _0x23b23c,_0x4201e2,_0x3a0410;return i[_0x464527(0x185)](V,{'config':this[_0x464527(0x12e)]['value'],'mcpCoreConfig':this[_0x464527(0x141)][_0x464527(0x16d)],'currentApiKey$':this[_0x464527(0x23f)],'onSave':this['_handleConfigSave'],'loading':this[_0x464527(0x1d2)]['value'],'connectionStatus$':(_0x23b23c=this[_0x464527(0x1b0)])==null?void 0x0:_0x23b23c['connectionStatus$'],'connectionError$':(_0x4201e2=this[_0x464527(0x1b0)])==null?void 0x0:_0x4201e2[_0x464527(0x1c8)],'currentSessionId$':(_0x3a0410=this['_mcpConnectionController'])==null?void 0x0:_0x3a0410[_0x464527(0x204)]});},this[_0xdc5948(0x231)]);}[_0xf446ce(0x1c7)](){const _0x30f573=_0xf446ce;this[_0x30f573(0x1db)](this[_0x30f573(0x16b)][_0x30f573(0x212)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x30f573(0x219)](_0x282ccb=>{const _0x38fd3a=_0x30f573;this[_0x38fd3a(0x141)][_0x38fd3a(0x121)](_0x282ccb||{});}));const _0x21fa70=this['_configService'][_0x30f573(0x203)](s[_0x30f573(0x236)]);this[_0x30f573(0x141)][_0x30f573(0x121)](_0x21fa70||{}),this[_0x30f573(0x1db)](this[_0x30f573(0x16b)][_0x30f573(0x212)](P)[_0x30f573(0x219)](_0x23d41b=>{const _0x449392=_0x30f573;this[_0x449392(0x12e)][_0x449392(0x121)](_0x23d41b||{});}));const _0x83494f=this['_configService'][_0x30f573(0x203)](P);this[_0x30f573(0x12e)][_0x30f573(0x121)](_0x83494f||{});}async['_loadStoredApiKey'](){const _0x5290e0=_0xf446ce,_0x3d981d=this[_0x5290e0(0x16b)][_0x5290e0(0x203)](P);if(!(_0x3d981d!=null&&_0x3d981d[_0x5290e0(0xe7)]))return;const _0x1d53da=await this[_0x5290e0(0x1ff)][_0x5290e0(0xf7)](O);_0x1d53da&&(this[_0x5290e0(0x1b0)][_0x5290e0(0x194)]({'Authorization':_0x5290e0(0x20f)+_0x1d53da}),this[_0x5290e0(0x23f)][_0x5290e0(0x121)](_0x1d53da));}async[_0xf446ce(0x21e)](_0x297774){const _0x2522bf=_0xf446ce;if(!_0x297774[_0x2522bf(0x1df)]||_0x297774[_0x2522bf(0x1df)]['trim']()[_0x2522bf(0x144)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x2522bf(0x196)]['t'](_0x2522bf(0x15c))};if(_0x297774[_0x2522bf(0x1df)][_0x2522bf(0xdf)]()[_0x2522bf(0x144)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x2522bf(0x196)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x1d691c=await this[_0x2522bf(0x231)][_0x2522bf(0x155)](s['MCPConnectionController'])[_0x2522bf(0x162)](_0x297774[_0x2522bf(0x1df)][_0x2522bf(0xdf)]());return _0x1d691c['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1d691c[_0x2522bf(0x1b7)]||this['_localeService']['t'](_0x2522bf(0x1c5))};}catch(_0x38eab6){return console[_0x2522bf(0x123)](_0x2522bf(0x1b1),_0x38eab6),{'isValid':!0x0};}}},exports[_0xf446ce(0x112)]=xe([g(0x0,u['Inject'](u[_0xf446ce(0x1e2)])),g(0x1,v[_0xf446ce(0x199)]),g(0x2,u[_0xf446ce(0x188)]),g(0x3,u['ILocalStorageService']),g(0x4,v[_0xf446ce(0x1e4)]),g(0x5,v[_0xf446ce(0x1c0)]),g(0x6,u[_0xf446ce(0x186)](v['ComponentManager'])),g(0x7,u[_0xf446ce(0x186)](u[_0xf446ce(0x206)])),g(0x8,u[_0xf446ce(0x1f8)]),g(0x9,u[_0xf446ce(0x186)](s[_0xf446ce(0x20d)]))],exports['MCPConfigUIController']);const b={'id':'mcp-ui.command.openConfigPanel','type':u[_0xf446ce(0xfa)]['COMMAND'],'handler':async(_0x53ba96,_0x420563)=>(_0x53ba96[_0xf446ce(0x155)](exports['MCPConfigUIController'])['showConfigPanel'](),!0x0)};function Z(_0x5c4526,_0x193fe3){const _0x473b55=_0xf446ce;switch(_0x5c4526){case s[_0x473b55(0x1c4)]['DISCONNECTED']:return _0x473b55(0x201);case s['MCPConnectionStatus']['CONNECTING']:return'mcpStatus.connecting';case s[_0x473b55(0x1c4)][_0x473b55(0x168)]:return _0x473b55(0x10f);case s[_0x473b55(0x1c4)][_0x473b55(0x122)]:switch(_0x193fe3){case s['MCPConnectionError'][_0x473b55(0xc9)]:return'mcpStatus.unauthorized';case s['MCPConnectionError'][_0x473b55(0x14c)]:return'mcpStatus.sessionOccupied';case s[_0x473b55(0x1ab)]['NETWORK_ERROR']:return _0x473b55(0x16a);case s['MCPConnectionError'][_0x473b55(0x12d)]:return'mcpStatus.maxRetriesExceeded';default:return _0x473b55(0x113);}case s['MCPConnectionStatus'][_0x473b55(0x1ec)]:return _0x473b55(0x1ad);default:return _0x473b55(0x1ba);}}function Se(_0x1b77c1,_0x5913c9,_0x2790ee,_0x40f2b6=!0x0){const _0x5358e3=_0xf446ce,_0x1828dd=Z(_0x1b77c1,_0x5913c9),_0xd526ae=_0x2790ee['t'](_0x1828dd);return _0x40f2b6?_0x1b77c1===s['MCPConnectionStatus'][_0x5358e3(0x120)]&&_0x5913c9===s[_0x5358e3(0x1ab)][_0x5358e3(0xc9)]?_0xd526ae+_0x5358e3(0x23e)+_0x2790ee['t']('mcpStatus.clickToConfigure'):_0x1b77c1===s[_0x5358e3(0x1c4)][_0x5358e3(0x168)]?''+_0xd526ae:_0x1b77c1===s[_0x5358e3(0x1c4)]['DISCONNECTED']||_0x1b77c1===s['MCPConnectionStatus'][_0x5358e3(0x122)]?_0xd526ae+'\x20-\x20'+_0x2790ee['t'](_0x5358e3(0x225)):_0xd526ae:_0xd526ae;}function _0x4b83(_0x26c943,_0x291e96){_0x26c943=_0x26c943-0xc5;const _0x2f859b=_0x2f85();let _0x4b835f=_0x2f859b[_0x26c943];return _0x4b835f;}function Pe(_0x3ba0aa){const _0x5b65f9=_0xf446ce;switch(_0x3ba0aa){case s[_0x5b65f9(0x1c4)][_0x5b65f9(0x168)]:return'univer-text-green-500';case s[_0x5b65f9(0x1c4)][_0x5b65f9(0x12a)]:case s['MCPConnectionStatus'][_0x5b65f9(0x1ec)]:return _0x5b65f9(0x142);case s['MCPConnectionStatus'][_0x5b65f9(0x122)]:case s['MCPConnectionStatus'][_0x5b65f9(0x120)]:return _0x5b65f9(0x163);default:return _0x5b65f9(0x21b);}}function W(_0x3ed73c){const _0x38b1bf=_0xf446ce,{status$:_0x4a0b97,error$:_0x4bec37,onConfigure:_0xd335ba,showClickable:_0x5113a3=!0x0}=_0x3ed73c,_0x45a5e6=v[_0x38b1bf(0x215)](_0x4a0b97,s[_0x38b1bf(0x1c4)][_0x38b1bf(0x120)]),_0xf73fd6=v[_0x38b1bf(0x215)](_0x4bec37,s['MCPConnectionError'][_0x38b1bf(0x18b)]),_0x323a51=v[_0x38b1bf(0x1d7)](u[_0x38b1bf(0x206)]),_0x569c23=_0x45a5e6===s['MCPConnectionStatus']['CONNECTED'];_0x45a5e6===s[_0x38b1bf(0x1c4)][_0x38b1bf(0x12a)]||s[_0x38b1bf(0x1c4)]['RETRYING'];const _0x1271c1=_0x323a51['t'](Z(_0x45a5e6,_0xf73fd6)),_0x2f4869=Se(_0x45a5e6,_0xf73fd6,_0x323a51,_0x5113a3),_0x3316f9=Pe(_0x45a5e6),_0x596458=_0x569c23?i[_0x38b1bf(0x185)](q,{}):i[_0x38b1bf(0x185)](Y,{}),_0x5db28e=d[_0x38b1bf(0x218)](()=>{_0x5113a3&&_0xd335ba&&_0xd335ba();},[_0x5113a3,_0xd335ba]);function _0x17b2ab(){const _0x332c2d=_0x38b1bf;return i[_0x332c2d(0x116)]('div',{'className':f['clsx'](_0x332c2d(0xd4),_0x5113a3&&_0xd335ba&&_0x332c2d(0x14b)),'role':'button','onClick':_0x5113a3&&_0xd335ba?_0x5db28e:void 0x0,'children':[i[_0x332c2d(0x185)]('div',{'className':f[_0x332c2d(0x20a)](_0x332c2d(0xeb),_0x3316f9),'children':_0x596458}),i[_0x332c2d(0x185)](_0x332c2d(0x1cc),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1271c1})]});}return i[_0x38b1bf(0x185)](f[_0x38b1bf(0x182)],{'title':_0x2f4869,'placement':'bottom','children':_0x17b2ab()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x42cb73,_0x5e02c0,_0x343d0a,_0x4937e5)=>{const _0x18ae88=_0xf446ce;for(var _0x1fbe94=_0x4937e5>0x1?void 0x0:_0x4937e5?Ie(_0x5e02c0,_0x343d0a):_0x5e02c0,_0x58e6c2=_0x42cb73[_0x18ae88(0x144)]-0x1,_0x5de306;_0x58e6c2>=0x0;_0x58e6c2--)(_0x5de306=_0x42cb73[_0x58e6c2])&&(_0x1fbe94=_0x5de306(_0x1fbe94)||_0x1fbe94);return _0x1fbe94;},N=(_0x484cb8,_0xbc6752)=>(_0x566659,_0xd1ff31)=>_0xbc6752(_0x566659,_0xd1ff31,_0x484cb8);exports['MCPConnectionUIController']=class extends u[_0xf446ce(0xcf)]{constructor(_0x2cd3dc,_0x17ab41,_0x1363d3,_0xe0425){const _0x1e491a=_0xf446ce;super(),this[_0x1e491a(0x231)]=_0x2cd3dc,this[_0x1e491a(0x153)]=_0x17ab41,this[_0x1e491a(0xfb)]=_0x1363d3,this[_0x1e491a(0x16b)]=_0xe0425,this[_0x1e491a(0x128)](),this['_initStatusComponent']();}[_0xf446ce(0x128)](){const _0x3520b9=_0xf446ce,_0x3ed6b9=this[_0x3520b9(0x16b)][_0x3520b9(0x203)](P);_0x3ed6b9!=null&&_0x3ed6b9[_0x3520b9(0xe7)]&&(this[_0x3520b9(0x153)][_0x3520b9(0x237)]=!0x1);}[_0xf446ce(0x191)](){const _0x16b782=_0xf446ce,_0x2cd686=this[_0x16b782(0x16b)][_0x16b782(0x203)](P);(_0x2cd686==null?void 0x0:_0x2cd686[_0x16b782(0x117)])!==!0x1&&this[_0x16b782(0x1db)](this['_uiPartsService']['registerComponent'](v[_0x16b782(0x14e)][_0x16b782(0x1ed)],()=>{const _0x21596b=_0x16b782;var _0x4bc3c2;return v['connectInjector'](ye({'status$':this['_connectionController']['connectionStatus$'],'error$':this[_0x21596b(0x153)][_0x21596b(0x1c8)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x4bc3c2=_0x2cd686==null?void 0x0:_0x2cd686[_0x21596b(0xe7)])!=null?_0x4bc3c2:!0x1}),this[_0x21596b(0x231)]);}));}[_0xf446ce(0x15d)](){const _0xabc038=_0xf446ce;this[_0xabc038(0x231)]['get'](exports[_0xabc038(0x112)])[_0xabc038(0x1d1)]();}},exports['MCPConnectionUIController']=_e([N(0x0,u[_0xf446ce(0x186)](u[_0xf446ce(0x1e2)])),N(0x1,u['Inject'](s['MCPConnectionController'])),N(0x2,v[_0xf446ce(0x199)]),N(0x3,u['IConfigService'])],exports[_0xf446ce(0x22f)]);function ye(_0x1e2b3e){const {status$:_0x44f33f,error$:_0x5c8710,onConfigure:_0x11f369,showClickable:_0x408e84}=_0x1e2b3e;return function(){return i['jsx'](W,{'status$':_0x44f33f,'error$':_0x5c8710,'onConfigure':_0x11f369,'showClickable':_0x408e84});};}function Me(_0x3668a2){const _0x3e1fa6=_0xf446ce;return{'id':b['id'],'type':v[_0x3e1fa6(0x152)][_0x3e1fa6(0x13d)],'icon':_0x3e1fa6(0x11f),'title':_0x3e1fa6(0x169),'tooltip':_0x3e1fa6(0x169)};}const Ne={[v[_0xf446ce(0x22a)][_0xf446ce(0x1ce)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0xf446ce(0x17b)],je=(_0x29b15e,_0x159197,_0x37ea26,_0x277524)=>{for(var _0x57c47d=_0x277524>0x1?void 0x0:_0x277524?be(_0x159197,_0x37ea26):_0x159197,_0x48e7bf=_0x29b15e['length']-0x1,_0x52a6e3;_0x48e7bf>=0x0;_0x48e7bf--)(_0x52a6e3=_0x29b15e[_0x48e7bf])&&(_0x57c47d=_0x52a6e3(_0x57c47d)||_0x57c47d);return _0x57c47d;},z=(_0x382184,_0xe22422)=>(_0x3fbe4a,_0x3d4e10)=>_0xe22422(_0x3fbe4a,_0x3d4e10,_0x382184);exports[_0xf446ce(0x1b5)]=class extends u['Disposable']{constructor(_0x3ad7c0,_0x16b6b8){const _0x42d731=_0xf446ce;super(),this[_0x42d731(0x19b)]=_0x3ad7c0,this[_0x42d731(0x158)]=_0x16b6b8,this['_initializeCommands'](),this[_0x42d731(0x104)]();}['_initializeCommands'](){const _0x2557fb=_0xf446ce;[b][_0x2557fb(0x195)](_0x35fa9f=>{const _0x31df12=_0x2557fb;this[_0x31df12(0x1db)](this[_0x31df12(0x19b)]['registerCommand'](_0x35fa9f));});}[_0xf446ce(0x104)](){const _0x39e100=_0xf446ce;this[_0x39e100(0x158)][_0x39e100(0x187)](Ne);}},exports['MCPUIMenuController']=je([z(0x0,u[_0xf446ce(0x1b9)]),z(0x1,v[_0xf446ce(0x1e9)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':_0xf446ce(0xea),'connecting':_0xf446ce(0x161),'connected':_0xf446ce(0xf1),'failed':_0xf446ce(0x22e),'retrying':_0xf446ce(0xe9),'unknown':_0xf446ce(0x184),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0xf446ce(0x1f9),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xf446ce(0x220),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xf446ce(0xe0),'description':_0xf446ce(0x20b),'apiKey':_0xf446ce(0x1fd),'apiKeyPlaceholder':_0xf446ce(0x172),'apiKeyHint':_0xf446ce(0x1dc),'enableAuth':_0xf446ce(0x232),'enableAuthHint':_0xf446ce(0x10b),'connectionInfo':_0xf446ce(0x1c9),'mcpClientConfig':_0xf446ce(0x1c9),'configInstructions':_0xf446ce(0x1d3),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xf446ce(0xf0),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xf446ce(0x156),'sessionId':_0xf446ce(0xdb),'sessionIdDescription':_0xf446ce(0x129),'authorizationDescription':_0xf446ce(0x1d9),'configParameters':'Configuration\x20Parameters:','maxRetries':_0xf446ce(0x176),'save':'Save\x20Configuration','saving':_0xf446ce(0x18c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xf446ce(0x17d),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xf446ce(0xd9),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0xf446ce(0x127),'apiKeyTooShort':_0xf446ce(0x1c3),'invalidConfig':_0xf446ce(0x241),'invalidApiKey':_0xf446ce(0x180)},'connectionStatus':{'disconnected':_0xf446ce(0x23b),'connecting':_0xf446ce(0x21d),'connected':_0xf446ce(0x12f),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0xf446ce(0x21f),'sessionOccupied':_0xf446ce(0x133),'networkError':_0xf446ce(0x1f2),'maxRetriesExceeded':_0xf446ce(0x118)}}},we={'mcpStatus':{'disconnected':_0xf446ce(0x115),'connecting':_0xf446ce(0x19a),'connected':_0xf446ce(0x19c),'failed':_0xf446ce(0x1a9),'retrying':_0xf446ce(0x193),'unknown':'MCP\x20状态未知','unauthorized':_0xf446ce(0x179),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0xf446ce(0xe2),'maxRetriesExceeded':_0xf446ce(0x173),'clickToConnect':_0xf446ce(0x22b),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0xf446ce(0xdd),'description':_0xf446ce(0x19e),'apiKey':_0xf446ce(0x11a),'apiKeyPlaceholder':_0xf446ce(0x13f),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0xf446ce(0x192),'enableAuthHint':_0xf446ce(0x1a6),'connectionInfo':_0xf446ce(0x235),'mcpClientConfig':_0xf446ce(0x235),'configInstructions':_0xf446ce(0x17c),'configStepTitle':_0xf446ce(0x202),'configStep1':_0xf446ce(0xcd),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0xf446ce(0xd8),'sessionIdDescription':_0xf446ce(0x10c),'authorizationDescription':_0xf446ce(0x22c),'configParameters':'配置参数:','maxRetries':_0xf446ce(0xd7),'save':_0xf446ce(0x111),'saving':'保存中...','note1':_0xf446ce(0x109),'note2':_0xf446ce(0x126),'configSaved':_0xf446ce(0x167),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0xf446ce(0x11c),'univerAiLabel':_0xf446ce(0x1c2),'getStarted':_0xf446ce(0x175)},'validation':{'apiKeyRequired':_0xf446ce(0xd5),'apiKeyTooShort':_0xf446ce(0x1cd),'invalidConfig':_0xf446ce(0x103),'invalidApiKey':_0xf446ce(0x13e)},'connectionStatus':{'disconnected':_0xf446ce(0x221),'connecting':'连接中...','connected':_0xf446ce(0x1bc),'failed':'连接失败','retrying':_0xf446ce(0xe3)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0xf446ce(0x171),'networkError':_0xf446ce(0x226),'maxRetriesExceeded':_0xf446ce(0x1ae)}}};var Ae=Object[_0xf446ce(0x224)],Oe=Object[_0xf446ce(0x17b)],De=(_0x4620cf,_0x528b87,_0x257b72)=>_0x528b87 in _0x4620cf?Ae(_0x4620cf,_0x528b87,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x257b72}):_0x4620cf[_0x528b87]=_0x257b72,Ue=(_0x38f64d,_0x23e2e9,_0x1c9167,_0x312d83)=>{const _0x136683=_0xf446ce;for(var _0x1fafb2=_0x312d83>0x1?void 0x0:_0x312d83?Oe(_0x23e2e9,_0x1c9167):_0x23e2e9,_0x426c25=_0x38f64d[_0x136683(0x144)]-0x1,_0x533db2;_0x426c25>=0x0;_0x426c25--)(_0x533db2=_0x38f64d[_0x426c25])&&(_0x1fafb2=_0x533db2(_0x1fafb2)||_0x1fafb2);return _0x1fafb2;},y=(_0x578665,_0x55e8ea)=>(_0x204dcc,_0x1077b5)=>_0x55e8ea(_0x204dcc,_0x1077b5,_0x578665),$e=(_0x4b2ad3,_0x4f62f0,_0x2bc4ba)=>De(_0x4b2ad3,_0x4f62f0+'',_0x2bc4ba);exports['UniverMCPUIPlugin']=class extends u[_0xf446ce(0x14f)]{constructor(_0xd3457=L,_0x59d207,_0x18bd7a,_0x423971,_0x5b34ab,_0x19ddb8){const _0x543635=_0xf446ce;super(),this[_0x543635(0x100)]=_0xd3457,this[_0x543635(0x231)]=_0x59d207,this[_0x543635(0x16b)]=_0x18bd7a,this[_0x543635(0xfb)]=_0x423971,this[_0x543635(0x1ff)]=_0x5b34ab,this[_0x543635(0x196)]=_0x19ddb8;const {..._0x4bf2e8}=u['merge']({},L,this[_0x543635(0x100)]);this[_0x543635(0x16b)][_0x543635(0x1a0)](P,_0x4bf2e8);}async[_0xf446ce(0xf5)](){const _0x3138f0=_0xf446ce,_0xaf79d9=[[exports[_0x3138f0(0x22f)]],[exports[_0x3138f0(0x112)]],[exports[_0x3138f0(0x1b5)]]];this[_0x3138f0(0x231)][_0x3138f0(0xf8)](A['ISocketService'])||_0xaf79d9[_0x3138f0(0x216)]([A[_0x3138f0(0x189)],{'useClass':A[_0x3138f0(0x1fa)]}]),_0xaf79d9[_0x3138f0(0x195)](_0x574863=>this[_0x3138f0(0x231)][_0x3138f0(0x1d8)](_0x574863)),this[_0x3138f0(0x231)][_0x3138f0(0x155)](exports[_0x3138f0(0x22f)]),this[_0x3138f0(0x231)][_0x3138f0(0x155)](exports[_0x3138f0(0x112)]),this[_0x3138f0(0x231)][_0x3138f0(0x155)](exports[_0x3138f0(0x1b5)]);}},$e(exports[_0xf446ce(0x10a)],_0xf446ce(0x125),'MCP_UI_PLUGIN'),exports[_0xf446ce(0x10a)]=Ue([u[_0xf446ce(0x108)](s[_0xf446ce(0x11d)]),y(0x1,u[_0xf446ce(0x186)](u['Injector'])),y(0x2,u[_0xf446ce(0x188)]),y(0x3,v['IUIPartsService']),y(0x4,u['ILocalStorageService']),y(0x5,u[_0xf446ce(0x186)](u[_0xf446ce(0x206)]))],exports[_0xf446ce(0x10a)]),exports[_0xf446ce(0xe4)]=V,exports[_0xf446ce(0x17f)]=W,exports[_0xf446ce(0x11e)]=b,exports[_0xf446ce(0x238)]=Ee,exports[_0xf446ce(0x210)]=we;
@@ -1 +1 @@
1
- 'use strict';function _0xda88(){const _0x394b99=['MCP\x20Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connected','Enable\x20Authentication','2537980DQEgvb','MCP:\x20Max\x20Retries\x20Exceeded','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enter\x20your\x20API\x20key','API\x20key\x20is\x20required','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','exports','26486928ujAOPo','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20configure\x20MCP','896550qHIwJd','Saving...','5170070hltrbH','Session\x20ID','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Max\x20Retries','Connection\x20Failed','API\x20Key','3224YWrVPh','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Network\x20Error','1095953yKFEuZ','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Disconnected','Retrying...','3pyjvSw','Failed\x20to\x20save\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Univer\x20AI\x20Console','MCP:\x20Unauthorized','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20saved\x20successfully','2987052JukcsG','MCP\x20Connected','MCP\x20Retrying...','20573luVhes'];_0xda88=function(){return _0x394b99;};return _0xda88();}const _0x3e8615=_0x1105;(function(_0x2b2a83,_0x51861f){const _0x42ed0d=_0x1105,_0x4c760b=_0x2b2a83();while(!![]){try{const _0x4fef66=parseInt(_0x42ed0d(0xea))/0x1+parseInt(_0x42ed0d(0xdc))/0x2+-parseInt(_0x42ed0d(0xef))/0x3*(parseInt(_0x42ed0d(0xcc))/0x4)+parseInt(_0x42ed0d(0xde))/0x5+parseInt(_0x42ed0d(0xc4))/0x6+parseInt(_0x42ed0d(0xc7))/0x7*(parseInt(_0x42ed0d(0xe6))/0x8)+-parseInt(_0x42ed0d(0xd9))/0x9;if(_0x4fef66===_0x51861f)break;else _0x4c760b['push'](_0x4c760b['shift']());}catch(_0x5a8e6b){_0x4c760b['push'](_0x4c760b['shift']());}}}(_0xda88,0xa6c06));function _0x1105(_0x59266d,_0x20dad0){_0x59266d=_0x59266d-0xbf;const _0xda8841=_0xda88();let _0x110570=_0xda8841[_0x59266d];return _0x110570;}const e={'mcpStatus':{'disconnected':_0x3e8615(0xc8),'connecting':_0x3e8615(0xe0),'connected':_0x3e8615(0xc5),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3e8615(0xc6),'unknown':_0x3e8615(0xd0),'unauthorized':_0x3e8615(0xc1),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x3e8615(0xe9),'maxRetriesExceeded':_0x3e8615(0xcd),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3e8615(0xdb)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3e8615(0xd7),'apiKey':_0x3e8615(0xe5),'apiKeyPlaceholder':_0x3e8615(0xd3),'apiKeyHint':_0x3e8615(0xc2),'enableAuth':_0x3e8615(0xcb),'enableAuthHint':_0x3e8615(0xeb),'connectionInfo':_0x3e8615(0xd1),'mcpClientConfig':_0x3e8615(0xd1),'configInstructions':_0x3e8615(0xc9),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x3e8615(0xce),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3e8615(0xbf),'sessionId':_0x3e8615(0xdf),'sessionIdDescription':_0x3e8615(0xe2),'authorizationDescription':_0x3e8615(0xe7),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x3e8615(0xe3),'save':_0x3e8615(0xd5),'saving':_0x3e8615(0xdd),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x3e8615(0xd6),'configSaved':_0x3e8615(0xc3),'configError':_0x3e8615(0xf0),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x3e8615(0xc0),'getStarted':_0x3e8615(0xda)},'validation':{'apiKeyRequired':_0x3e8615(0xd4),'apiKeyTooShort':_0x3e8615(0xe8),'invalidConfig':_0x3e8615(0xec),'invalidApiKey':_0x3e8615(0xcf)},'connectionStatus':{'disconnected':_0x3e8615(0xed),'connecting':'Connecting...','connected':_0x3e8615(0xca),'failed':_0x3e8615(0xe4),'retrying':_0x3e8615(0xee)},'connectionError':{'unauthorized':_0x3e8615(0xd2),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x3e8615(0xe1)}}},n=e;module[_0x3e8615(0xd8)]=n;
1
+ 'use strict';function _0x395c(_0x37cfc7,_0x64af34){_0x37cfc7=_0x37cfc7-0x1b5;const _0x594c36=_0x594c();let _0x395c64=_0x594c36[_0x37cfc7];return _0x395c64;}const _0x22fe65=_0x395c;(function(_0x5542b6,_0x17ed44){const _0x350585=_0x395c,_0x54dc97=_0x5542b6();while(!![]){try{const _0x1f5206=parseInt(_0x350585(0x1c2))/0x1*(parseInt(_0x350585(0x1c5))/0x2)+parseInt(_0x350585(0x1ba))/0x3*(-parseInt(_0x350585(0x1b6))/0x4)+-parseInt(_0x350585(0x1ca))/0x5+parseInt(_0x350585(0x1ce))/0x6*(parseInt(_0x350585(0x1e5))/0x7)+parseInt(_0x350585(0x1de))/0x8+-parseInt(_0x350585(0x1cf))/0x9+-parseInt(_0x350585(0x1d3))/0xa;if(_0x1f5206===_0x17ed44)break;else _0x54dc97['push'](_0x54dc97['shift']());}catch(_0x41c11f){_0x54dc97['push'](_0x54dc97['shift']());}}}(_0x594c,0x9da8f));const e={'mcpStatus':{'disconnected':_0x22fe65(0x1b8),'connecting':_0x22fe65(0x1dd),'connected':_0x22fe65(0x1db),'failed':_0x22fe65(0x1b7),'retrying':_0x22fe65(0x1bd),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x22fe65(0x1bb),'sessionOccupied':_0x22fe65(0x1b9),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x22fe65(0x1c7),'clickToConnect':_0x22fe65(0x1e1),'clickToConfigure':_0x22fe65(0x1c0)},'mcpConfig':{'title':_0x22fe65(0x1e4),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x22fe65(0x1d9),'apiKeyPlaceholder':_0x22fe65(0x1df),'apiKeyHint':_0x22fe65(0x1e0),'enableAuth':_0x22fe65(0x1c9),'enableAuthHint':_0x22fe65(0x1e3),'connectionInfo':_0x22fe65(0x1d0),'mcpClientConfig':_0x22fe65(0x1d0),'configInstructions':_0x22fe65(0x1e2),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x22fe65(0x1bf),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x22fe65(0x1c1),'sessionIdDescription':_0x22fe65(0x1d8),'authorizationDescription':_0x22fe65(0x1cc),'configParameters':_0x22fe65(0x1bc),'maxRetries':'Max\x20Retries','save':_0x22fe65(0x1c8),'saving':_0x22fe65(0x1cb),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x22fe65(0x1c3),'configSaved':_0x22fe65(0x1be),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x22fe65(0x1d1),'getStarted':_0x22fe65(0x1d5)},'validation':{'apiKeyRequired':_0x22fe65(0x1d6),'apiKeyTooShort':_0x22fe65(0x1d2),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x22fe65(0x1da)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x22fe65(0x1c4),'connected':_0x22fe65(0x1c6),'failed':_0x22fe65(0x1d7),'retrying':_0x22fe65(0x1d4)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x22fe65(0x1dc),'maxRetriesExceeded':_0x22fe65(0x1b5)}}},n=e;module[_0x22fe65(0x1cd)]=n;function _0x594c(){const _0x359f64=['2456412LCAIHe','2535516oJAgBy','MCP\x20Client\x20Configuration','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','8992330FoRMiY','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','Connection\x20Failed','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20Key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','7569208eZbTLw','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Configuration','14xLJKTo','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4IMswiH','MCP\x20Connection\x20Failed','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','2932146roLtXY','MCP:\x20Unauthorized','Configuration\x20Parameters:','MCP\x20Retrying...','Configuration\x20saved\x20successfully','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20configure\x20MCP','Session\x20ID','1561PiUMmD','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connecting...','1426zegnik','Connected','MCP:\x20Max\x20Retries\x20Exceeded','Save\x20Configuration','Enable\x20Authentication','369170lUEVAk','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','exports'];_0x594c=function(){return _0x359f64;};return _0x594c();}
@@ -1 +1 @@
1
- 'use strict';function _0xec94(_0x29a293,_0x224ff2){_0x29a293=_0x29a293-0x158;const _0x90bb15=_0x90bb();let _0xec9458=_0x90bb15[_0x29a293];return _0xec9458;}const _0x28a133=_0xec94;function _0x90bb(){const _0x154ab8=['Configuration\x20Steps:','exports','MCP\x20Connected','Enable\x20authentication\x20for\x20secure\x20connections','1474560cAwqJs','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Unknown\x20Status','6cnABlM','Invalid\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','Configuration\x20Parameters:','Connection\x20Failed','Session\x20ID','Save\x20Configuration','1660990IkOWch','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','7312nNBwtC','MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','What\x20is\x20API\x20Key?','2717500mjxPEh','Enter\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Retrying...','1PObgqw','MCP:\x20Max\x20Retries\x20Exceeded','3932138qttlKj','API\x20Key','2787567huUTev','Retrying...','MCP\x20Disconnected','MCP:\x20Unauthorized','MCP\x20Connecting...','Connecting...','Configuration\x20saved\x20successfully','Failed\x20to\x20save\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Univer\x20AI\x20Console','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20is\x20required','2139860gszniq','1791pZTPmA'];_0x90bb=function(){return _0x154ab8;};return _0x90bb();}(function(_0x462a5c,_0x591fce){const _0x2da69a=_0xec94,_0x2bc831=_0x462a5c();while(!![]){try{const _0x238cae=parseInt(_0x2da69a(0x16d))/0x1*(-parseInt(_0x2da69a(0x17d))/0x2)+parseInt(_0x2da69a(0x171))/0x3+parseInt(_0x2da69a(0x169))/0x4+parseInt(_0x2da69a(0x15b))/0x5*(parseInt(_0x2da69a(0x186))/0x6)+-parseInt(_0x2da69a(0x16f))/0x7+parseInt(_0x2da69a(0x163))/0x8*(parseInt(_0x2da69a(0x17e))/0x9)+parseInt(_0x2da69a(0x183))/0xa;if(_0x238cae===_0x591fce)break;else _0x2bc831['push'](_0x2bc831['shift']());}catch(_0x284a90){_0x2bc831['push'](_0x2bc831['shift']());}}}(_0x90bb,0x9bde8));const e={'mcpStatus':{'disconnected':_0x28a133(0x173),'connecting':_0x28a133(0x175),'connected':_0x28a133(0x181),'failed':_0x28a133(0x164),'retrying':_0x28a133(0x16c),'unknown':_0x28a133(0x185),'unauthorized':_0x28a133(0x174),'sessionOccupied':_0x28a133(0x17b),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x28a133(0x16e),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x28a133(0x162)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x28a133(0x170),'apiKeyPlaceholder':_0x28a133(0x16a),'apiKeyHint':_0x28a133(0x160),'enableAuth':_0x28a133(0x15d),'enableAuthHint':_0x28a133(0x182),'connectionInfo':_0x28a133(0x165),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x28a133(0x17f),'configStep1':_0x28a133(0x184),'configStep2':_0x28a133(0x179),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x28a133(0x159),'sessionIdDescription':_0x28a133(0x16b),'authorizationDescription':_0x28a133(0x188),'configParameters':_0x28a133(0x18a),'maxRetries':_0x28a133(0x189),'save':_0x28a133(0x15a),'saving':'Saving...','note1':_0x28a133(0x161),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x28a133(0x177),'configError':_0x28a133(0x178),'apiApplyInfo':{'title':_0x28a133(0x168),'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':_0x28a133(0x17a),'getStarted':_0x28a133(0x15c)},'validation':{'apiKeyRequired':_0x28a133(0x17c),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x28a133(0x187),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x28a133(0x166),'connecting':_0x28a133(0x176),'connected':_0x28a133(0x15f),'failed':_0x28a133(0x158),'retrying':_0x28a133(0x172)},'connectionError':{'unauthorized':_0x28a133(0x167),'sessionOccupied':_0x28a133(0x15e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x28a133(0x180)]=e;
1
+ 'use strict';function _0x499a(){const _0x40028c=['Invalid\x20configuration','1175352NiLUzS','2475088sfQOgt','MCP:\x20Unauthorized','Max\x20Retries','Connecting...','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20configure\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','48uXKlkG','Configuration\x20saved\x20successfully','Session\x20ID','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','423831exqulb','7460gLgwpt','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','MCP\x20Connected','30iUvBXR','API\x20Key','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','Enable\x20Authentication','MCP\x20Connection\x20Failed','305jiVWce','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','784MDryud','MCP\x20Configuration','MCP\x20Client\x20Configuration','509208sDArgG','Configuration\x20Parameters:','exports','1507269AWKmcP','Click\x20to\x20connect\x20MCP','MCP\x20Unknown\x20Status','MCP\x20Connecting...','25497SpEsHb','Disconnected','Saving...','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Retrying...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x499a=function(){return _0x40028c;};return _0x499a();}const _0x1a8b9f=_0x4ded;(function(_0xbbcce4,_0x42519a){const _0x5a089c=_0x4ded,_0x2a6ce1=_0xbbcce4();while(!![]){try{const _0x9ea25f=parseInt(_0x5a089c(0xaf))/0x1+parseInt(_0x5a089c(0xa1))/0x2+parseInt(_0x5a089c(0x94))/0x3+-parseInt(_0x5a089c(0xb0))/0x4*(parseInt(_0x5a089c(0x8c))/0x5)+-parseInt(_0x5a089c(0xaa))/0x6*(parseInt(_0x5a089c(0x91))/0x7)+parseInt(_0x5a089c(0x8e))/0x8*(parseInt(_0x5a089c(0x98))/0x9)+parseInt(_0x5a089c(0xb8))/0xa*(-parseInt(_0x5a089c(0xa2))/0xb);if(_0x9ea25f===_0x42519a)break;else _0x2a6ce1['push'](_0x2a6ce1['shift']());}catch(_0x5bbbe4){_0x2a6ce1['push'](_0x2a6ce1['shift']());}}}(_0x499a,0x66bd7));function _0x4ded(_0x2334c0,_0x53a741){_0x2334c0=_0x2334c0-0x8b;const _0x499ac4=_0x499a();let _0x4dedb6=_0x499ac4[_0x2334c0];return _0x4dedb6;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1a8b9f(0x97),'connected':_0x1a8b9f(0xb7),'failed':_0x1a8b9f(0x8b),'retrying':_0x1a8b9f(0x9e),'unknown':_0x1a8b9f(0x96),'unauthorized':_0x1a8b9f(0xa3),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x1a8b9f(0x9b),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x1a8b9f(0x95),'clickToConfigure':_0x1a8b9f(0xa7)},'mcpConfig':{'title':_0x1a8b9f(0x8f),'description':_0x1a8b9f(0xa8),'apiKey':_0x1a8b9f(0xb9),'apiKeyPlaceholder':_0x1a8b9f(0xb6),'apiKeyHint':_0x1a8b9f(0xb5),'enableAuth':_0x1a8b9f(0xbe),'enableAuthHint':_0x1a8b9f(0xba),'connectionInfo':_0x1a8b9f(0x90),'mcpClientConfig':_0x1a8b9f(0x90),'configInstructions':_0x1a8b9f(0xbb),'configStepTitle':_0x1a8b9f(0xb4),'configStep1':_0x1a8b9f(0x9c),'configStep2':_0x1a8b9f(0x9d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x1a8b9f(0xac),'sessionIdDescription':_0x1a8b9f(0xb1),'authorizationDescription':_0x1a8b9f(0xa6),'configParameters':_0x1a8b9f(0x92),'maxRetries':_0x1a8b9f(0xa4),'save':_0x1a8b9f(0xa9),'saving':_0x1a8b9f(0x9a),'note1':_0x1a8b9f(0xae),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1a8b9f(0xab),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x1a8b9f(0xad),'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':_0x1a8b9f(0xb2)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x1a8b9f(0xbc),'invalidConfig':_0x1a8b9f(0xa0),'invalidApiKey':_0x1a8b9f(0x9f)},'connectionStatus':{'disconnected':_0x1a8b9f(0x99),'connecting':_0x1a8b9f(0xa5),'connected':_0x1a8b9f(0xbd),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1a8b9f(0x8d),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1a8b9f(0xb3)}}};module[_0x1a8b9f(0x93)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x26f9c6=_0x1ed6;(function(_0x5501db,_0x1656b4){const _0x29ef6a=_0x1ed6,_0x2953f9=_0x5501db();while(!![]){try{const _0x478873=-parseInt(_0x29ef6a(0x165))/0x1+-parseInt(_0x29ef6a(0x152))/0x2*(parseInt(_0x29ef6a(0x15e))/0x3)+-parseInt(_0x29ef6a(0x175))/0x4*(parseInt(_0x29ef6a(0x171))/0x5)+-parseInt(_0x29ef6a(0x177))/0x6*(parseInt(_0x29ef6a(0x16b))/0x7)+-parseInt(_0x29ef6a(0x179))/0x8+parseInt(_0x29ef6a(0x163))/0x9*(-parseInt(_0x29ef6a(0x166))/0xa)+parseInt(_0x29ef6a(0x17d))/0xb;if(_0x478873===_0x1656b4)break;else _0x2953f9['push'](_0x2953f9['shift']());}catch(_0x1998e9){_0x2953f9['push'](_0x2953f9['shift']());}}}(_0x4e86,0x9aad2));function _0x1ed6(_0x317b36,_0xeaa47){_0x317b36=_0x317b36-0x14f;const _0x4e8659=_0x4e86();let _0x1ed6b2=_0x4e8659[_0x317b36];return _0x1ed6b2;}function _0x4e86(){const _0x31cd40=['Click\x20to\x20configure\x20MCP','Connected','258nvaCPX','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','What\x20is\x20API\x20Key?','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Session\x20ID\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Saving...','Session\x20ID','23217WdmLOj','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','Connecting...','API\x20Key','89397mXnFEe','Max\x20Retries','147266wUKmDY','830nAISLb','Disconnected','MCP\x20Retrying...','Connection\x20Failed','MCP\x20Disconnected','336084SZRGso','Save\x20Configuration','MCP\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Univer\x20AI\x20Console','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','5465ciZrEx','MCP\x20Connected','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','2136sNYzNx','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','24PvaJLP','Enable\x20Authentication','9488120WhbXTJ','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','50218465KwyHbh','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20Steps:','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x4e86=function(){return _0x31cd40;};return _0x4e86();}const e={'mcpStatus':{'disconnected':_0x26f9c6(0x16a),'connecting':'MCP\x20Connecting...','connected':_0x26f9c6(0x172),'failed':'MCP\x20Connection\x20Failed','retrying':_0x26f9c6(0x168),'unknown':_0x26f9c6(0x153),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x26f9c6(0x158),'networkError':_0x26f9c6(0x182),'maxRetriesExceeded':_0x26f9c6(0x180),'clickToConnect':_0x26f9c6(0x160),'clickToConfigure':_0x26f9c6(0x150)},'mcpConfig':{'title':_0x26f9c6(0x16d),'description':_0x26f9c6(0x154),'apiKey':_0x26f9c6(0x162),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x26f9c6(0x14f),'enableAuth':_0x26f9c6(0x178),'enableAuthHint':_0x26f9c6(0x156),'connectionInfo':_0x26f9c6(0x17b),'mcpClientConfig':_0x26f9c6(0x17b),'configInstructions':_0x26f9c6(0x157),'configStepTitle':_0x26f9c6(0x184),'configStep1':_0x26f9c6(0x15f),'configStep2':_0x26f9c6(0x17e),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x26f9c6(0x15d),'sessionIdDescription':_0x26f9c6(0x17a),'authorizationDescription':_0x26f9c6(0x17c),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x26f9c6(0x164),'save':_0x26f9c6(0x16c),'saving':_0x26f9c6(0x15c),'note1':_0x26f9c6(0x170),'note2':_0x26f9c6(0x176),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x26f9c6(0x155),'description':_0x26f9c6(0x16e),'univerAiLabel':_0x26f9c6(0x16f),'getStarted':_0x26f9c6(0x183)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x26f9c6(0x174),'invalidConfig':_0x26f9c6(0x185),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x26f9c6(0x167),'connecting':_0x26f9c6(0x161),'connected':_0x26f9c6(0x151),'failed':_0x26f9c6(0x169),'retrying':_0x26f9c6(0x181)},'connectionError':{'unauthorized':_0x26f9c6(0x15b),'sessionOccupied':_0x26f9c6(0x17f),'networkError':_0x26f9c6(0x159),'maxRetriesExceeded':_0x26f9c6(0x15a)}}},n=e;module[_0x26f9c6(0x173)]=n;
1
+ 'use strict';function _0x18e2(_0xeda843,_0x4e8012){_0xeda843=_0xeda843-0x1a5;const _0x2ce25f=_0x2ce2();let _0x18e2dd=_0x2ce25f[_0xeda843];return _0x18e2dd;}const _0x3ac8d1=_0x18e2;(function(_0x87c638,_0x443e07){const _0x2285b3=_0x18e2,_0x17ea96=_0x87c638();while(!![]){try{const _0x2d2d1b=parseInt(_0x2285b3(0x1ce))/0x1*(parseInt(_0x2285b3(0x1c0))/0x2)+parseInt(_0x2285b3(0x1b0))/0x3+parseInt(_0x2285b3(0x1c3))/0x4*(-parseInt(_0x2285b3(0x1ca))/0x5)+-parseInt(_0x2285b3(0x1c6))/0x6*(-parseInt(_0x2285b3(0x1bc))/0x7)+parseInt(_0x2285b3(0x1cf))/0x8+-parseInt(_0x2285b3(0x1ba))/0x9*(-parseInt(_0x2285b3(0x1ac))/0xa)+parseInt(_0x2285b3(0x1b8))/0xb*(-parseInt(_0x2285b3(0x1d1))/0xc);if(_0x2d2d1b===_0x443e07)break;else _0x17ea96['push'](_0x17ea96['shift']());}catch(_0x536f8b){_0x17ea96['push'](_0x17ea96['shift']());}}}(_0x2ce2,0xbf1de));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3ac8d1(0x1c8),'connected':_0x3ac8d1(0x1c2),'failed':_0x3ac8d1(0x1d0),'retrying':_0x3ac8d1(0x1bb),'unknown':_0x3ac8d1(0x1b3),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3ac8d1(0x1b1),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3ac8d1(0x1a7),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x3ac8d1(0x1a9),'apiKeyHint':_0x3ac8d1(0x1af),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3ac8d1(0x1c4),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3ac8d1(0x1b4),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x3ac8d1(0x1b6),'configStep2':_0x3ac8d1(0x1a6),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3ac8d1(0x1be),'sessionIdDescription':_0x3ac8d1(0x1b2),'authorizationDescription':_0x3ac8d1(0x1b5),'configParameters':_0x3ac8d1(0x1ae),'maxRetries':_0x3ac8d1(0x1a5),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x3ac8d1(0x1d2),'note2':_0x3ac8d1(0x1c5),'configSaved':_0x3ac8d1(0x1bd),'configError':_0x3ac8d1(0x1b7),'apiApplyInfo':{'title':_0x3ac8d1(0x1ab),'description':_0x3ac8d1(0x1cd),'univerAiLabel':_0x3ac8d1(0x1bf),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3ac8d1(0x1c1),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3ac8d1(0x1cc)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x3ac8d1(0x1aa),'connected':_0x3ac8d1(0x1c9),'failed':'Connection\x20Failed','retrying':_0x3ac8d1(0x1cb)},'connectionError':{'unauthorized':_0x3ac8d1(0x1b9),'sessionOccupied':_0x3ac8d1(0x1a8),'networkError':_0x3ac8d1(0x1c7),'maxRetriesExceeded':_0x3ac8d1(0x1ad)}}},n=e;module['exports']=n;function _0x2ce2(){const _0x45a9a1=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','10485EVPwfC','MCP\x20Retrying...','1088311ckZvmC','Configuration\x20saved\x20successfully','Session\x20ID','Univer\x20AI\x20Console','104eYzElP','API\x20key\x20is\x20required','MCP\x20Connected','8HyczVw','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','36PiErJy','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','Connected','3712350zyfCVv','Retrying...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','12295JFlUGG','1120320Wxohlf','MCP\x20Connection\x20Failed','2037144cbFylD','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Max\x20Retries','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','Connecting...','What\x20is\x20API\x20Key?','12830KMymbx','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Parameters:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3293955SAJCjb','MCP:\x20Max\x20Retries\x20Exceeded','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Copy\x20the\x20JSON\x20configuration\x20below','Failed\x20to\x20save\x20configuration','132nXewjF'];_0x2ce2=function(){return _0x45a9a1;};return _0x2ce2();}
@@ -1 +1 @@
1
- 'use strict';const _0x1be895=_0x3d7b;(function(_0xe291f,_0x2e4081){const _0x1d6dc5=_0x3d7b,_0x2a4350=_0xe291f();while(!![]){try{const _0x149d68=-parseInt(_0x1d6dc5(0x176))/0x1*(-parseInt(_0x1d6dc5(0x178))/0x2)+-parseInt(_0x1d6dc5(0x14d))/0x3+-parseInt(_0x1d6dc5(0x163))/0x4+-parseInt(_0x1d6dc5(0x169))/0x5*(parseInt(_0x1d6dc5(0x167))/0x6)+parseInt(_0x1d6dc5(0x158))/0x7+-parseInt(_0x1d6dc5(0x174))/0x8*(parseInt(_0x1d6dc5(0x14a))/0x9)+parseInt(_0x1d6dc5(0x166))/0xa*(parseInt(_0x1d6dc5(0x15a))/0xb);if(_0x149d68===_0x2e4081)break;else _0x2a4350['push'](_0x2a4350['shift']());}catch(_0x140036){_0x2a4350['push'](_0x2a4350['shift']());}}}(_0x1436,0x74b06));function _0x1436(){const _0x28b55c=['Click\x20to\x20configure\x20MCP','2762388tJczbm','API\x20key\x20with\x20Bearer\x20prefix.','Session\x20ID','2777535PDjFno','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','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.','Connected','MCP\x20Retrying...','Invalid\x20configuration','MCP\x20Connected','MCP\x20Unknown\x20Status','exports','4010559Ldsknn','Enable\x20Authentication','16555055tfzPJB','Click\x20to\x20connect\x20MCP','MCP\x20Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Failed\x20to\x20save\x20configuration','752676SmtJwr','Univer\x20AI\x20Console','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','10BLgYhd','36mzkxhe','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','575835qRPQhP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','Disconnected','Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Configuration\x20saved\x20successfully','16FrXCQR','What\x20is\x20API\x20Key?','496PbNeIj','Save\x20Configuration','3302imDdgE','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Session\x20ID\x20Occupied','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x1436=function(){return _0x28b55c;};return _0x1436();}function _0x3d7b(_0xa4cdb0,_0x1a7859){_0xa4cdb0=_0xa4cdb0-0x147;const _0x143608=_0x1436();let _0x3d7b46=_0x143608[_0xa4cdb0];return _0x3d7b46;}const e={'mcpStatus':{'disconnected':_0x1be895(0x15f),'connecting':'MCP\x20Connecting...','connected':_0x1be895(0x155),'failed':_0x1be895(0x15c),'retrying':_0x1be895(0x153),'unknown':_0x1be895(0x156),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1be895(0x147),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1be895(0x15e),'clickToConnect':_0x1be895(0x15b),'clickToConfigure':_0x1be895(0x149)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x1be895(0x170),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1be895(0x160),'enableAuth':_0x1be895(0x159),'enableAuthHint':_0x1be895(0x16b),'connectionInfo':_0x1be895(0x14e),'mcpClientConfig':_0x1be895(0x14e),'configInstructions':_0x1be895(0x179),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x1be895(0x15d),'configStep2':_0x1be895(0x168),'configStep3':_0x1be895(0x16c),'sessionId':_0x1be895(0x14c),'sessionIdDescription':_0x1be895(0x151),'authorizationDescription':_0x1be895(0x14b),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x1be895(0x177),'saving':_0x1be895(0x16d),'note1':_0x1be895(0x150),'note2':_0x1be895(0x14f),'configSaved':_0x1be895(0x173),'configError':_0x1be895(0x162),'apiApplyInfo':{'title':_0x1be895(0x175),'description':_0x1be895(0x161),'univerAiLabel':_0x1be895(0x164),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1be895(0x154),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1be895(0x16e),'connecting':_0x1be895(0x16f),'connected':_0x1be895(0x152),'failed':'Connection\x20Failed','retrying':_0x1be895(0x172)},'connectionError':{'unauthorized':_0x1be895(0x165),'sessionOccupied':_0x1be895(0x148),'networkError':_0x1be895(0x16a),'maxRetriesExceeded':_0x1be895(0x171)}}},n=e;module[_0x1be895(0x157)]=n;
1
+ 'use strict';const _0x3ecf79=_0x3a27;(function(_0x55d290,_0x349fb1){const _0x283771=_0x3a27,_0x8ce11c=_0x55d290();while(!![]){try{const _0x2f5769=parseInt(_0x283771(0x1db))/0x1*(-parseInt(_0x283771(0x1ce))/0x2)+parseInt(_0x283771(0x1be))/0x3+-parseInt(_0x283771(0x1bb))/0x4+parseInt(_0x283771(0x1e1))/0x5+-parseInt(_0x283771(0x1d4))/0x6*(-parseInt(_0x283771(0x1c5))/0x7)+parseInt(_0x283771(0x1c4))/0x8+parseInt(_0x283771(0x1d8))/0x9*(parseInt(_0x283771(0x1df))/0xa);if(_0x2f5769===_0x349fb1)break;else _0x8ce11c['push'](_0x8ce11c['shift']());}catch(_0x6d7ebe){_0x8ce11c['push'](_0x8ce11c['shift']());}}}(_0x5e81,0xa067c));function _0x5e81(){const _0x3e6e39=['Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connecting...','4398384FKSaDF','Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','2087766MNbOYp','Max\x20Retries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enter\x20your\x20API\x20key','MCP\x20Disconnected','exports','8957816UBVYhI','238UBydps','MCP\x20Connection\x20Failed','MCP\x20Connected','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Unauthorized','Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','What\x20is\x20API\x20Key?','337382unFLmr','Connection\x20Failed','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20configure\x20MCP','API\x20Key','71328yBTXrH','MCP\x20Retrying...','MCP:\x20Network\x20Error','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','110547HmbLws','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','5kfeRHZ','Disconnected','Configuration\x20Steps:','MCP:\x20Session\x20ID\x20Occupied','40KDbTzY','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1655490opRUtd','API\x20key\x20is\x20required','Save\x20Configuration','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status','MCP:\x20Max\x20Retries\x20Exceeded'];_0x5e81=function(){return _0x3e6e39;};return _0x5e81();}const e={'mcpStatus':{'disconnected':_0x3ecf79(0x1c2),'connecting':_0x3ecf79(0x1ba),'connected':_0x3ecf79(0x1c7),'failed':_0x3ecf79(0x1c6),'retrying':_0x3ecf79(0x1d5),'unknown':_0x3ecf79(0x1b7),'unauthorized':_0x3ecf79(0x1c9),'sessionOccupied':_0x3ecf79(0x1de),'networkError':_0x3ecf79(0x1d6),'maxRetriesExceeded':_0x3ecf79(0x1b8),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3ecf79(0x1d2)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3ecf79(0x1b6),'apiKey':_0x3ecf79(0x1d3),'apiKeyPlaceholder':_0x3ecf79(0x1c1),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3ecf79(0x1cc),'enableAuthHint':_0x3ecf79(0x1c8),'connectionInfo':_0x3ecf79(0x1da),'mcpClientConfig':_0x3ecf79(0x1da),'configInstructions':_0x3ecf79(0x1b4),'configStepTitle':_0x3ecf79(0x1dd),'configStep1':_0x3ecf79(0x1d9),'configStep2':_0x3ecf79(0x1b5),'configStep3':_0x3ecf79(0x1e0),'sessionId':'Session\x20ID','sessionIdDescription':_0x3ecf79(0x1c0),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x3ecf79(0x1bf),'save':_0x3ecf79(0x1b2),'saving':_0x3ecf79(0x1b3),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x3ecf79(0x1bd),'configSaved':_0x3ecf79(0x1d0),'configError':_0x3ecf79(0x1ca),'apiApplyInfo':{'title':_0x3ecf79(0x1cd),'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':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3ecf79(0x1e2),'apiKeyTooShort':_0x3ecf79(0x1d1),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3ecf79(0x1cb)},'connectionStatus':{'disconnected':_0x3ecf79(0x1dc),'connecting':'Connecting...','connected':'Connected','failed':_0x3ecf79(0x1cf),'retrying':_0x3ecf79(0x1bc)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x3ecf79(0x1d7),'maxRetriesExceeded':_0x3ecf79(0x1b9)}}},n=e;function _0x3a27(_0xe08980,_0x314d1d){_0xe08980=_0xe08980-0x1b2;const _0x5e810b=_0x5e81();let _0x3a27de=_0x5e810b[_0xe08980];return _0x3a27de;}module[_0x3ecf79(0x1c3)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x18af(){const _0x1fc766=['Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','API\x20Key','338512RIWyZn','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20Authentication','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.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','What\x20is\x20API\x20Key?','24XteXRT','API\x20key\x20with\x20Bearer\x20prefix.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','115007bMqkvF','2PneoBz','Univer\x20AI\x20Console','4031240EeqrCg','Failed\x20to\x20save\x20configuration','Save\x20Configuration','Connected','Click\x20to\x20configure\x20MCP','Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3707brhHaw','Connecting...','15900yIbmvQ','Saving...','1403048RtvDPA','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Max\x20Retries','Configuration\x20Parameters:','MCP\x20Connected','Configuration\x20saved\x20successfully','MCP:\x20Unauthorized','Retrying...','7bMYPxr','MCP\x20Retrying...','335991kkMiNl','126745AukUXq','9EkOWfv','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded'];_0x18af=function(){return _0x1fc766;};return _0x18af();}function _0x2c43(_0x1526f3,_0x2e0b73){_0x1526f3=_0x1526f3-0x117;const _0x18af20=_0x18af();let _0x2c4366=_0x18af20[_0x1526f3];return _0x2c4366;}const _0x26b2ec=_0x2c43;(function(_0x363e8f,_0x313619){const _0x57f07c=_0x2c43,_0x169e90=_0x363e8f();while(!![]){try{const _0x407503=-parseInt(_0x57f07c(0x132))/0x1+parseInt(_0x57f07c(0x133))/0x2*(-parseInt(_0x57f07c(0x11c))/0x3)+-parseInt(_0x57f07c(0x144))/0x4+-parseInt(_0x57f07c(0x11d))/0x5*(parseInt(_0x57f07c(0x12e))/0x6)+-parseInt(_0x57f07c(0x11a))/0x7*(-parseInt(_0x57f07c(0x126))/0x8)+parseInt(_0x57f07c(0x11e))/0x9*(parseInt(_0x57f07c(0x135))/0xa)+-parseInt(_0x57f07c(0x140))/0xb*(-parseInt(_0x57f07c(0x142))/0xc);if(_0x407503===_0x313619)break;else _0x169e90['push'](_0x169e90['shift']());}catch(_0x18d5c4){_0x169e90['push'](_0x169e90['shift']());}}}(_0x18af,0x33f41));const e={'mcpStatus':{'disconnected':_0x26b2ec(0x12a),'connecting':'MCP\x20Connecting...','connected':_0x26b2ec(0x148),'failed':_0x26b2ec(0x122),'retrying':_0x26b2ec(0x11b),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x26b2ec(0x118),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x26b2ec(0x13d),'maxRetriesExceeded':_0x26b2ec(0x120),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x26b2ec(0x139)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x26b2ec(0x12c),'apiKey':_0x26b2ec(0x125),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x26b2ec(0x13f),'enableAuth':_0x26b2ec(0x129),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x26b2ec(0x131),'mcpClientConfig':_0x26b2ec(0x131),'configInstructions':_0x26b2ec(0x127),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x26b2ec(0x128),'configStep2':_0x26b2ec(0x13c),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x26b2ec(0x124),'sessionIdDescription':_0x26b2ec(0x121),'authorizationDescription':_0x26b2ec(0x12f),'configParameters':_0x26b2ec(0x147),'maxRetries':_0x26b2ec(0x146),'save':_0x26b2ec(0x137),'saving':_0x26b2ec(0x143),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x26b2ec(0x117),'configError':_0x26b2ec(0x136),'apiApplyInfo':{'title':_0x26b2ec(0x12d),'description':_0x26b2ec(0x12b),'univerAiLabel':_0x26b2ec(0x134),'getStarted':_0x26b2ec(0x13e)},'validation':{'apiKeyRequired':_0x26b2ec(0x11f),'apiKeyTooShort':_0x26b2ec(0x13b),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x26b2ec(0x141),'connected':_0x26b2ec(0x138),'failed':_0x26b2ec(0x13a),'retrying':_0x26b2ec(0x119)},'connectionError':{'unauthorized':_0x26b2ec(0x145),'sessionOccupied':_0x26b2ec(0x130),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x26b2ec(0x123)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x709d19=_0xb011;(function(_0x167206,_0x444aee){const _0x305088=_0xb011,_0x4f8513=_0x167206();while(!![]){try{const _0x542abe=parseInt(_0x305088(0xc5))/0x1*(parseInt(_0x305088(0xf3))/0x2)+parseInt(_0x305088(0xee))/0x3*(parseInt(_0x305088(0xd6))/0x4)+-parseInt(_0x305088(0xf0))/0x5+-parseInt(_0x305088(0xf2))/0x6+parseInt(_0x305088(0xd7))/0x7*(parseInt(_0x305088(0xcf))/0x8)+parseInt(_0x305088(0xe8))/0x9*(-parseInt(_0x305088(0xd9))/0xa)+parseInt(_0x305088(0xcc))/0xb;if(_0x542abe===_0x444aee)break;else _0x4f8513['push'](_0x4f8513['shift']());}catch(_0x327125){_0x4f8513['push'](_0x4f8513['shift']());}}}(_0xb57c,0xefb64));function _0xb011(_0x41d7ce,_0x5168d8){_0x41d7ce=_0x41d7ce-0xc4;const _0xb57c8d=_0xb57c();let _0xb01123=_0xb57c8d[_0x41d7ce];return _0xb01123;}const e={'mcpStatus':{'disconnected':_0x709d19(0xf1),'connecting':'MCP\x20Connecting...','connected':_0x709d19(0xde),'failed':'MCP\x20Connection\x20Failed','retrying':_0x709d19(0xd5),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x709d19(0xe3),'sessionOccupied':_0x709d19(0xe6),'networkError':_0x709d19(0xd8),'maxRetriesExceeded':_0x709d19(0xef),'clickToConnect':_0x709d19(0xed),'clickToConfigure':_0x709d19(0xc4)},'mcpConfig':{'title':_0x709d19(0xe0),'description':_0x709d19(0xdc),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x709d19(0xd3),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x709d19(0xf4),'enableAuthHint':_0x709d19(0xea),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x709d19(0xdb),'configInstructions':_0x709d19(0xc7),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x709d19(0xd2),'sessionId':'Session\x20ID','sessionIdDescription':_0x709d19(0xe7),'authorizationDescription':_0x709d19(0xec),'configParameters':_0x709d19(0xdd),'maxRetries':_0x709d19(0xf5),'save':_0x709d19(0xc9),'saving':_0x709d19(0xda),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x709d19(0xcd),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x709d19(0xcb),'description':_0x709d19(0xdf),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x709d19(0xce)},'validation':{'apiKeyRequired':_0x709d19(0xe2),'apiKeyTooShort':_0x709d19(0xd0),'invalidConfig':_0x709d19(0xe9),'invalidApiKey':_0x709d19(0xc6)},'connectionStatus':{'disconnected':_0x709d19(0xca),'connecting':_0x709d19(0xc8),'connected':_0x709d19(0xe5),'failed':_0x709d19(0xe4),'retrying':_0x709d19(0xd4)},'connectionError':{'unauthorized':_0x709d19(0xeb),'sessionOccupied':_0x709d19(0xd1),'networkError':_0x709d19(0xf6),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x709d19(0xe1)]=n;function _0xb57c(){const _0x6b52f9=['MCP:\x20Session\x20ID\x20Occupied','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','18USOMvU','Invalid\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20connect\x20MCP','15mcWGrv','MCP:\x20Max\x20Retries\x20Exceeded','7505595HZwYuo','MCP\x20Disconnected','1884306NPNPsx','2047898JEqDGK','Enable\x20Authentication','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20configure\x20MCP','1pthbhM','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connecting...','Save\x20Configuration','Disconnected','What\x20is\x20API\x20Key?','14074060nXMDOx','Configuration\x20saved\x20successfully','Get\x20your\x20API\x20key\x20in\x20seconds','8pRlDFx','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enter\x20your\x20API\x20key','Retrying...','MCP\x20Retrying...','1384604FflIYM','1271956JlpIxS','MCP:\x20Network\x20Error','7094210MgpDQc','Saving...','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20Parameters:','MCP\x20Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Configuration','exports','API\x20key\x20is\x20required','MCP:\x20Unauthorized','Connection\x20Failed','Connected'];_0xb57c=function(){return _0x6b52f9;};return _0xb57c();}
@@ -1 +1 @@
1
- 'use strict';const _0x2ca6af=_0x5117;function _0x2e52(){const _0x1f9ea6=['MCP:\x20最大再試行回数を超過','接続済み','クリックしてMCPに接続','MCP\x20接続失敗','MCP\x20再試行中...','数秒でAPIキーを取得','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','MCP\x20接続中...','設定の保存に失敗しました','Bearerプレフィックス付きのAPIキー。','APIキーは必須です','保存中...','6889740pbPoDt','MCP\x20不明な状態','MCPを設定してAIでスプレッドシートを操作','以下のJSON設定をコピー','最大再試行回数','MCPクライアント設定','最大再試行回数を超過しました。後でもう一度お試しください','9GAJmHV','MCP設定','接続失敗','無効な設定','セッションIDが現在使用中です。後でもう一度お試しください','設定が正常に保存されました','1270137SnhfOi','ネットワーク接続エラー。インターネット接続を確認してください','セッションID','MCP:\x20セッションIDが使用中','MCP\x20接続済み','APIキーはこのブラウザのローカルに保存されます','28729280ITyEAh','488184TUSDYr','5859098SgzqJX','MCP\x20未接続','MCP:\x20認証されていません','設定パラメータ:','2636775kWikJs','接続中...','MCPクライアントの設定に次の設定を追加してください:','APIキーは10文字以上である必要があります','5874760AEQzot','MCPクライアントの設定ファイルに設定を追加','APIキーとは?','exports','無効なAPIキーです。キーが正しいか確認してください'];_0x2e52=function(){return _0x1f9ea6;};return _0x2e52();}function _0x5117(_0x2d1fc3,_0x565930){_0x2d1fc3=_0x2d1fc3-0x1e0;const _0x2e5224=_0x2e52();let _0x511731=_0x2e5224[_0x2d1fc3];return _0x511731;}(function(_0x52984b,_0x3bcbaa){const _0x338c55=_0x5117,_0x23740f=_0x52984b();while(!![]){try{const _0x209a48=-parseInt(_0x338c55(0x207))/0x1+-parseInt(_0x338c55(0x1e0))/0x2*(parseInt(_0x338c55(0x201))/0x3)+-parseInt(_0x338c55(0x1e9))/0x4+parseInt(_0x338c55(0x1e5))/0x5+parseInt(_0x338c55(0x1fa))/0x6+-parseInt(_0x338c55(0x1e1))/0x7+parseInt(_0x338c55(0x20d))/0x8;if(_0x209a48===_0x3bcbaa)break;else _0x23740f['push'](_0x23740f['shift']());}catch(_0x96acfa){_0x23740f['push'](_0x23740f['shift']());}}}(_0x2e52,0xea0e0));const e={'mcpStatus':{'disconnected':_0x2ca6af(0x1e2),'connecting':_0x2ca6af(0x1f5),'connected':_0x2ca6af(0x20b),'failed':_0x2ca6af(0x1f1),'retrying':_0x2ca6af(0x1f2),'unknown':_0x2ca6af(0x1fb),'unauthorized':_0x2ca6af(0x1e3),'sessionOccupied':_0x2ca6af(0x20a),'networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x2ca6af(0x1ee),'clickToConnect':_0x2ca6af(0x1f0),'clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':_0x2ca6af(0x202),'description':_0x2ca6af(0x1fc),'apiKey':'APIキー','apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x2ca6af(0x20c),'enableAuth':'認証を有効にする','enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':_0x2ca6af(0x1ff),'mcpClientConfig':'MCPクライアント設定','configInstructions':_0x2ca6af(0x1e7),'configStepTitle':'設定手順:','configStep1':_0x2ca6af(0x1fd),'configStep2':_0x2ca6af(0x1ea),'configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x2ca6af(0x209),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x2ca6af(0x1f7),'configParameters':_0x2ca6af(0x1e4),'maxRetries':_0x2ca6af(0x1fe),'save':'設定を保存','saving':_0x2ca6af(0x1f9),'note1':'設定の変更は直ちに有効になります','note2':'APIキーはローカルストレージに安全に保存されます','configSaved':_0x2ca6af(0x206),'configError':_0x2ca6af(0x1f6),'apiApplyInfo':{'title':_0x2ca6af(0x1eb),'description':_0x2ca6af(0x1f4),'univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x2ca6af(0x1f3)},'validation':{'apiKeyRequired':_0x2ca6af(0x1f8),'apiKeyTooShort':_0x2ca6af(0x1e8),'invalidConfig':_0x2ca6af(0x204),'invalidApiKey':_0x2ca6af(0x1ed)},'connectionStatus':{'disconnected':'未接続','connecting':_0x2ca6af(0x1e6),'connected':_0x2ca6af(0x1ef),'failed':_0x2ca6af(0x203),'retrying':'再試行中...'},'connectionError':{'unauthorized':'認証に失敗しました。APIキーを確認してください','sessionOccupied':_0x2ca6af(0x205),'networkError':_0x2ca6af(0x208),'maxRetriesExceeded':_0x2ca6af(0x200)}}};module[_0x2ca6af(0x1ec)]=e;
1
+ 'use strict';function _0x2649(){const _0x13b58e=['1950ibKimk','認証に失敗しました。APIキーを確認してください','MCPクライアント設定','MCP設定','APIキーを入力してください','最大再試行回数を超過しました。後でもう一度お試しください','以下のJSON設定をコピー','クリックしてMCPを設定','設定が正常に保存されました','APIキー','APIキーはローカルストレージに安全に保存されます','未接続','MCP\x20接続済み','設定を保存','78HNUloM','接続失敗','4853261vmHSTx','セッションIDが現在使用中です。後でもう一度お試しください','MCP:\x20セッションIDが使用中','MCP\x20再試行中...','Bearerプレフィックス付きのAPIキー。','無効なAPIキーです。キーが正しいか確認してください','2318553oZGLWY','MCP:\x20認証されていません','exports','無効な設定','APIキーは必須です','認証を有効にする','接続中...','APIキーはこのブラウザのローカルに保存されます','34533RXbTNR','MCPクライアントの設定に次の設定を追加してください:','7746zbfjaR','MCP\x20接続中...','クリックしてMCPに接続','MCP:\x20最大再試行回数を超過','MCP\x20未接続','1230232yDVmIN','MCPクライアントを再起動して設定を適用','数秒でAPIキーを取得','設定の保存に失敗しました','設定の変更は直ちに有効になります','6884760kelsbu','676310KhJZWa','MCPを設定してAIでスプレッドシートを操作'];_0x2649=function(){return _0x13b58e;};return _0x2649();}function _0x55cc(_0x114d08,_0x2ee5f4){_0x114d08=_0x114d08-0xa3;const _0x2649d2=_0x2649();let _0x55ccb5=_0x2649d2[_0x114d08];return _0x55ccb5;}const _0x4c8b61=_0x55cc;(function(_0x5b1665,_0x5e2bbc){const _0x51ee81=_0x55cc,_0x1f998d=_0x5b1665();while(!![]){try{const _0x38ec15=parseInt(_0x51ee81(0xcc))/0x1+parseInt(_0x51ee81(0xaf))/0x2*(-parseInt(_0x51ee81(0xbf))/0x3)+parseInt(_0x51ee81(0xc6))/0x4+-parseInt(_0x51ee81(0xce))/0x5*(parseInt(_0x51ee81(0xc1))/0x6)+-parseInt(_0x51ee81(0xb1))/0x7+parseInt(_0x51ee81(0xcb))/0x8+parseInt(_0x51ee81(0xb7))/0x9;if(_0x38ec15===_0x5e2bbc)break;else _0x1f998d['push'](_0x1f998d['shift']());}catch(_0x1e732d){_0x1f998d['push'](_0x1f998d['shift']());}}}(_0x2649,0x6f692));const e={'mcpStatus':{'disconnected':_0x4c8b61(0xc5),'connecting':_0x4c8b61(0xc2),'connected':_0x4c8b61(0xad),'failed':'MCP\x20接続失敗','retrying':_0x4c8b61(0xb4),'unknown':'MCP\x20不明な状態','unauthorized':_0x4c8b61(0xb8),'sessionOccupied':_0x4c8b61(0xb3),'networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x4c8b61(0xc4),'clickToConnect':_0x4c8b61(0xc3),'clickToConfigure':_0x4c8b61(0xa8)},'mcpConfig':{'title':_0x4c8b61(0xa4),'description':_0x4c8b61(0xcd),'apiKey':_0x4c8b61(0xaa),'apiKeyPlaceholder':_0x4c8b61(0xa5),'apiKeyHint':_0x4c8b61(0xbe),'enableAuth':_0x4c8b61(0xbc),'enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':'MCPクライアント設定','mcpClientConfig':_0x4c8b61(0xa3),'configInstructions':_0x4c8b61(0xc0),'configStepTitle':'設定手順:','configStep1':_0x4c8b61(0xa7),'configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x4c8b61(0xc7),'sessionId':'セッションID','sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x4c8b61(0xb5),'configParameters':'設定パラメータ:','maxRetries':'最大再試行回数','save':_0x4c8b61(0xae),'saving':'保存中...','note1':_0x4c8b61(0xca),'note2':_0x4c8b61(0xab),'configSaved':_0x4c8b61(0xa9),'configError':_0x4c8b61(0xc9),'apiApplyInfo':{'title':'APIキーとは?','description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x4c8b61(0xc8)},'validation':{'apiKeyRequired':_0x4c8b61(0xbb),'apiKeyTooShort':'APIキーは10文字以上である必要があります','invalidConfig':_0x4c8b61(0xba),'invalidApiKey':_0x4c8b61(0xb6)},'connectionStatus':{'disconnected':_0x4c8b61(0xac),'connecting':_0x4c8b61(0xbd),'connected':'接続済み','failed':_0x4c8b61(0xb0),'retrying':'再試行中...'},'connectionError':{'unauthorized':_0x4c8b61(0xcf),'sessionOccupied':_0x4c8b61(0xb2),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0x4c8b61(0xa6)}}};module[_0x4c8b61(0xb9)]=e;