@univerjs-pro/mcp-ui 0.10.8-nightly.202509200616 → 0.10.9-experimental.20250925-61b61a0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) 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/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/types/controllers/config.schema.d.ts +7 -0
  35. package/lib/types/controllers/mcp-connection-ui.controller.d.ts +4 -2
  36. package/lib/types/locale/en-US.d.ts +2 -4
  37. package/lib/types/locale/zh-CN.d.ts +2 -4
  38. package/lib/types/views/components/mcp-status.d.ts +2 -0
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +7 -7
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x409006=_0x5eff;(function(_0x95b359,_0x15c9c7){var _0x52ad14=_0x5eff,_0xf29189=_0x95b359();while(!![]){try{var _0x50e3c2=-parseInt(_0x52ad14(0x1ce))/0x1*(-parseInt(_0x52ad14(0x10c))/0x2)+parseInt(_0x52ad14(0xef))/0x3*(parseInt(_0x52ad14(0x143))/0x4)+-parseInt(_0x52ad14(0xe9))/0x5*(-parseInt(_0x52ad14(0x24d))/0x6)+-parseInt(_0x52ad14(0x201))/0x7+-parseInt(_0x52ad14(0xed))/0x8*(-parseInt(_0x52ad14(0x26b))/0x9)+parseInt(_0x52ad14(0x226))/0xa*(-parseInt(_0x52ad14(0x13b))/0xb)+-parseInt(_0x52ad14(0x25e))/0xc;if(_0x50e3c2===_0x15c9c7)break;else _0xf29189['push'](_0xf29189['shift']());}catch(_0x4b8e79){_0xf29189['push'](_0xf29189['shift']());}}}(_0x25ff,0x59ce6));var le=Object[_0x409006(0x24a)],ue=(_0xa3348a,_0x540138,_0x671ef6)=>_0x540138 in _0xa3348a?le(_0xa3348a,_0x540138,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x671ef6}):_0xa3348a[_0x540138]=_0x671ef6,y=(_0x387aef,_0x266b95,_0x3a6f88)=>ue(_0x387aef,typeof _0x266b95!='symbol'?_0x266b95+'':_0x266b95,_0x3a6f88);Object[_0x409006(0x24a)](exports,Symbol[_0x409006(0x1ba)],{'value':_0x409006(0x12f)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),P=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),w=require('@univerjs/network');var g=function(){var _0xd17a72=_0x409006;return g=Object[_0xd17a72(0x139)]||function(_0x12f0fc){var _0x440ad1=_0xd17a72;for(var _0x2eb922,_0x579aee=0x1,_0xe5622f=arguments[_0x440ad1(0x20b)];_0x579aee<_0xe5622f;_0x579aee++){_0x2eb922=arguments[_0x579aee];for(var _0x411a80 in _0x2eb922)Object['prototype'][_0x440ad1(0x210)]['call'](_0x2eb922,_0x411a80)&&(_0x12f0fc[_0x411a80]=_0x2eb922[_0x411a80]);}return _0x12f0fc;},g[_0xd17a72(0xf1)](this,arguments);},ve=function(_0x58ee63,_0x13bda0){var _0x386a0a=_0x409006,_0xf5383f={};for(var _0x1c52fd in _0x58ee63)Object[_0x386a0a(0x23e)][_0x386a0a(0x210)][_0x386a0a(0x263)](_0x58ee63,_0x1c52fd)&&_0x13bda0[_0x386a0a(0x18b)](_0x1c52fd)<0x0&&(_0xf5383f[_0x1c52fd]=_0x58ee63[_0x1c52fd]);if(_0x58ee63!=null&&typeof Object['getOwnPropertySymbols']==_0x386a0a(0x1a5)){for(var _0x35d1bb=0x0,_0x1c52fd=Object[_0x386a0a(0x256)](_0x58ee63);_0x35d1bb<_0x1c52fd[_0x386a0a(0x20b)];_0x35d1bb++)_0x13bda0['indexOf'](_0x1c52fd[_0x35d1bb])<0x0&&Object[_0x386a0a(0x23e)][_0x386a0a(0x228)][_0x386a0a(0x263)](_0x58ee63,_0x1c52fd[_0x35d1bb])&&(_0xf5383f[_0x1c52fd[_0x35d1bb]]=_0x58ee63[_0x1c52fd[_0x35d1bb]]);}return _0xf5383f;},I=d[_0x409006(0x1d6)](function(_0x39f811,_0x3af133){var _0x25e340=_0x409006,_0x5b93ac=_0x39f811['icon'],_0x455fd4=_0x39f811['id'],_0xa544f1=_0x39f811[_0x25e340(0x1cb)],_0x3720c4=_0x39f811[_0x25e340(0x116)],_0x32ce44=ve(_0x39f811,[_0x25e340(0x1da),'id',_0x25e340(0x1cb),_0x25e340(0x116)]),_0x22ee9f=_0x25e340(0x198)[_0x25e340(0x25b)](_0x455fd4,'\x20')[_0x25e340(0x25b)](_0xa544f1||'')[_0x25e340(0x245)](),_0x21ae07=d[_0x25e340(0x1f5)]('_'['concat'](ge()));return B(_0x5b93ac,''[_0x25e340(0x25b)](_0x455fd4),{'defIds':_0x5b93ac[_0x25e340(0x216)],'idSuffix':_0x21ae07[_0x25e340(0x268)]},g({'ref':_0x3af133,'className':_0x22ee9f},_0x32ce44),_0x3720c4);});function B(_0x3c6244,_0x2bec9f,_0x5b227d,_0x4dce7b,_0x550a41){var _0x9d61aa=_0x409006;return d[_0x9d61aa(0x231)](_0x3c6244['tag'],g(g({'key':_0x2bec9f},de(_0x3c6244,_0x5b227d,_0x550a41)),_0x4dce7b),(Ce(_0x3c6244,_0x5b227d)['children']||[])[_0x9d61aa(0x1ca)](function(_0x5140d6,_0x59ebc0){var _0x3bd02f=_0x9d61aa;return B(_0x5140d6,''['concat'](_0x2bec9f,'-')[_0x3bd02f(0x25b)](_0x3c6244[_0x3bd02f(0x257)],'-')['concat'](_0x59ebc0),_0x5b227d,void 0x0,_0x550a41);}));}function de(_0xc07405,_0x24e23f,_0x210762){var _0x1ece03=_0x409006,_0x44da6f=g({},_0xc07405[_0x1ece03(0x11d)]);_0x210762!=null&&_0x210762[_0x1ece03(0x181)]&&_0x44da6f[_0x1ece03(0x103)]===_0x1ece03(0x181)&&(_0x44da6f['fill']=_0x210762[_0x1ece03(0x181)]),_0xc07405[_0x1ece03(0x257)]===_0x1ece03(0x1bb)&&_0x44da6f['id']&&(_0x44da6f['id']=_0x44da6f['id']+_0x24e23f[_0x1ece03(0xe6)]),Object[_0x1ece03(0x169)](_0x44da6f)['forEach'](function(_0x70d486){var _0x173bd6=_0x1ece03,_0x149c68=_0x70d486[0x0],_0x4116fa=_0x70d486[0x1];_0x149c68===_0x173bd6(0x1bb)&&typeof _0x4116fa==_0x173bd6(0x202)&&(_0x44da6f[_0x149c68]=_0x4116fa['replace'](/url\(#(.*)\)/,_0x173bd6(0x264)[_0x173bd6(0x25b)](_0x24e23f[_0x173bd6(0xe6)],')')));});var _0x2e4b7f=_0x24e23f[_0x1ece03(0x216)];return!_0x2e4b7f||_0x2e4b7f['length']===0x0||(_0xc07405[_0x1ece03(0x257)]===_0x1ece03(0x22f)&&_0x44da6f['xlink:href']&&(_0x44da6f[_0x1ece03(0x1d9)]=_0x44da6f[_0x1ece03(0x1d9)]+_0x24e23f['idSuffix']),Object[_0x1ece03(0x169)](_0x44da6f)[_0x1ece03(0x26c)](function(_0x2f65de){var _0x5a44dd=_0x1ece03,_0x2a462c=_0x2f65de[0x0],_0xe6ac37=_0x2f65de[0x1];typeof _0xe6ac37==_0x5a44dd(0x202)&&(_0x44da6f[_0x2a462c]=_0xe6ac37[_0x5a44dd(0x17d)](/url\(#(.*)\)/,_0x5a44dd(0x264)[_0x5a44dd(0x25b)](_0x24e23f[_0x5a44dd(0xe6)],')')));})),_0x44da6f;}function Ce(_0x1b4ebb,_0x37feee){var _0x595e2a=_0x409006,_0x22d98f,_0x57a224=_0x37feee['defIds'];return!_0x57a224||_0x57a224[_0x595e2a(0x20b)]===0x0?_0x1b4ebb:_0x1b4ebb['tag']===_0x595e2a(0x1fb)&&(!((_0x22d98f=_0x1b4ebb[_0x595e2a(0x119)])===null||_0x22d98f===void 0x0)&&_0x22d98f['length'])?g(g({},_0x1b4ebb),{'children':_0x1b4ebb[_0x595e2a(0x119)][_0x595e2a(0x1ca)](function(_0x26f5ac){var _0x45cc65=_0x595e2a;return typeof _0x26f5ac['attrs']['id']=='string'&&_0x57a224&&_0x57a224['includes'](_0x26f5ac[_0x45cc65(0x11d)]['id'])?g(g({},_0x26f5ac),{'attrs':g(g({},_0x26f5ac['attrs']),{'id':_0x26f5ac[_0x45cc65(0x11d)]['id']+_0x37feee[_0x45cc65(0xe6)]})}):_0x26f5ac;})}):_0x1b4ebb;}function ge(){var _0x3232aa=_0x409006;return Math[_0x3232aa(0x110)]()[_0x3232aa(0x183)](0x24)[_0x3232aa(0x157)](0x2,0x8);}I[_0x409006(0x18c)]='UniverIcon';function _0x5eff(_0x24ed3d,_0x32a9f2){var _0x25ff37=_0x25ff();return _0x5eff=function(_0x5eff17,_0x5af38b){_0x5eff17=_0x5eff17-0xe6;var _0x5c49b4=_0x25ff37[_0x5eff17];return _0x5c49b4;},_0x5eff(_0x24ed3d,_0x32a9f2);}var fe={'tag':_0x409006(0x1c4),'attrs':{'xmlns':_0x409006(0x1e4),'fill':'none','viewBox':_0x409006(0x1cd),'width':_0x409006(0x238),'height':_0x409006(0x238)},'children':[{'tag':_0x409006(0x265),'attrs':{'fill':_0x409006(0x208),'d':_0x409006(0x16e),'fillRule':_0x409006(0x17a),'clipRule':_0x409006(0x17a)}}]},V=d[_0x409006(0x1d6)](function(_0x24251e,_0x3202a8){var _0x43dc4d=_0x409006;return d[_0x43dc4d(0x231)](I,Object[_0x43dc4d(0x139)]({},_0x24251e,{'id':_0x43dc4d(0x23c),'ref':_0x3202a8,'icon':fe}));});V[_0x409006(0x18c)]=_0x409006(0x16f);var pe={'tag':_0x409006(0x1c4),'attrs':{'xmlns':_0x409006(0x1e4),'fill':_0x409006(0x1e6),'viewBox':_0x409006(0x148),'width':_0x409006(0x238),'height':_0x409006(0x238)},'children':[{'tag':_0x409006(0x265),'attrs':{'stroke':_0x409006(0x208),'d':_0x409006(0x21f),'strokeLinecap':_0x409006(0x218),'strokeLinejoin':_0x409006(0x218),'strokeWidth':1.33}},{'tag':_0x409006(0x265),'attrs':{'stroke':_0x409006(0x208),'d':_0x409006(0x128),'strokeLinecap':'round','strokeLinejoin':_0x409006(0x218),'strokeWidth':1.33}}]},F=d[_0x409006(0x1d6)](function(_0x3524a1,_0x1bb905){var _0x3d8c09=_0x409006;return d['createElement'](I,Object[_0x3d8c09(0x139)]({},_0x3524a1,{'id':_0x3d8c09(0x142),'ref':_0x1bb905,'icon':pe}));});function _0x25ff(){var _0x4a2b4f=['sessionId$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpStatus.clickToConnect','ILogService','univerjs-icon\x20univerjs-icon-','Enable\x20Authentication','univer_session_id:','Disposable','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','重连中...','MCPConfigUIController','connectionStatus$','mcpConfig.authorizationDescription','Copy\x20the\x20JSON\x20configuration\x20below','CloseSmallSingle','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-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','function','mcp-config-dialog','配置无效','MCP:\x20Max\x20Retries\x20Exceeded','text','subscribeConfigValue$','disposeWithMe','mcpConfig.configStep3','mcpConfig.connectionStatus.disconnected','MCPUIMenuController','Failed\x20to\x20save\x20configuration','_validateConfig','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Disconnected','_loadStoredApiKey','useCallback','univer-text-xs\x20univer-text-gray-600','mcpStatus.networkError','_mcpCoreConfig$','translate(.97)','_apiKey$','toStringTag','mask','BuiltInUIPart','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','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','_config','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','setItem','svg','mergeMenu','RETRYING','您的\x20API\x20密钥将在此浏览器中本地存储','mcpStatus.maxRetriesExceeded','mcpStatus.disconnected','map','className','API\x20key\x20is\x20required\x20to\x20connect','0\x200\x2016\x2016','311919OvpjQc','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','0\x200\x2017\x2016','MCPStatusDisplay','useObservable','配置保存失败','Tooltip','_injector','forwardRef','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.configSaved','xlink:href','icon','url(#off-line-icon_clip0_910_343)','univer.plus','mcpConfig.configStep1','showDeveloperTools','配置更改将立即生效','_config$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','subscribe','onStarting','http://www.w3.org/2000/svg','mcpConfig.validation.apiKeyTooShort','none','COMMAND','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','MCP:\x20API\x20Key\x20Missing','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-bg-green-500','_registerComponent','Univer\x20AI\x20控制台','Plugin','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20无效的\x20API\x20密钥','\x20-\x20','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','API\x20Key','useRef','mcpStatus.connected','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','isValid','ILocalStorageService','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','defs','_menuManagerService','push','CONNECTING','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.connectionError.invalidApiKey','4342625JRxqhL','string','add','ComponentManager','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','has','bottom','currentColor','errorMessage','mcpConfig.validation.invalidApiKey','length','MCP\x20状态未知','open','未连接','mcpConfig.validation.apiKeyRequired','hasOwnProperty','apiKey','span','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20超出最大重试次数','UniverMCPUIPlugin','defIds','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','round','univer-min-w-0\x20univer-flex-1','MenuIcon','HEADER_MENU','RibbonStartGroup','API\x20key\x20with\x20Bearer\x20prefix.','CommandType','M5.21243\x205.62036L11.8791\x2012.287','需要\x20API\x20密钥才能连接','Univer\x20AI\x20Console','INVALID_API_KEY','Input','value','_messageService','627920CNKINN','div','propertyIsEnumerable','univer-space-y-5','useState','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','showConfigPanel','MAX_RETRIES_EXCEEDED','mcpConfig.apiApplyInfo.getStarted','use','_initializeCommands','createElement','Saving...','mcpStatus.retrying','MCP_PLUGIN_CONFIG_KEY','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20密钥无效,请检查密钥是否正确','univer-flex\x20univer-items-start\x20univer-gap-2','1em','mcpConfig.configInstructions','off','univer-text-sm\x20univer-text-gray-500','check-mark-icon','SESSION_ID_OCCUPIED','prototype','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','clipPath','_localeService','ICommandService','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','mcpStatus.sessionOccupied','trim','Get\x20your\x20API\x20key\x20in\x20seconds','NETWORK_ERROR','会话ID','连接失败','defineProperty','WebSocketService','mcpConfig.description','608334myyHtA','最大重试次数','univer-text-white','Configuration\x20Parameters:','_initializeMenus','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','hover:univer-opacity-80','univer-text-gray-500','CONNECTED','getOwnPropertySymbols','tag','mcpStatus.failed','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','getOwnPropertyDescriptor','concat','show','off-line-icon_clip0_910_343','7566276WsLzqw','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','MCP:\x20会话被占用','您的\x20API\x20密钥安全存储在本地存储中','Enter\x20your\x20API\x20key','call','url(#$1','path','OffLineIcon','BUTTON','current','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','7767sjohvZ','forEach','clsx','idSuffix','MCP\x20Retrying...','pluginName','25htWpNz','MCP_UI_PLUGIN','mcpConfig.connectionStatus.failed','MCP\x20连接中...','3512nVFDEr','univer-flex-shrink-0\x20univer-text-blue-500','69537naMFJi','univer-space-y-2','apply','配置\x20MCP\x20使用\x20AI\x20操作电子表格','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-bg-red-500','setConfig','MCP:\x20Invalid\x20API\x20Key','zhCN','mcpConfig.title','getCurrentConfig','_loading$','MessageType','M0\x200H16V16H0z','enUS','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','mcpConfig.configStep2','mcpConfig.apiApplyInfo.description','DISCONNECTED','univer-text-yellow-500','fill','_dialogService','MCP\x20Configuration','_handleConfigSave','includes','error','MCP\x20Client\x20Configuration','LocaleService','OpenMCPConfigPanelCommand','2TcaOiG','将配置添加到您的\x20MCP\x20客户端设置文件中','Error','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','random','Success','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-font-medium','OTHERS','merge','extend','超出最大重试次数,请稍后再试','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','children','_initConfigSync','Inject','univer-flex\x20univer-items-center\x20univer-gap-3','attrs','Injector','MCP\x20客户端配置','get','off-line-icon','Session\x20ID','MCPConnectionStatus','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_connectionController','connectionError$','带有\x20Bearer\x20前缀的\x20API\x20密钥。','M5.21243\x2012.287L11.8791\x205.62036','univer-text-xs\x20univer-text-gray-500','配置参数:','jsx','mcpStatus.connecting','univer-flex-shrink-0\x20univer-text-red-500','保存配置','Module','点击配置\x20MCP','API\x20密钥长度至少需要\x2010\x20位','IConfigService','mcpConfig.connectionError.sessionOccupied','mcpConfig.configParameters','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcp-ui.command.openConfigPanel','useDependency','univer-flex\x20univer-items-center\x20univer-gap-2','assign','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','44PsNseC','https://console.univer.ai','javascript:void(0)','validateApiKey','mcpConfig.apiApplyInfo.title','_uiPartsService','_handleConfigure','close-small-single','116NcDKFf','_configService','mcpConfig.validation.invalidConfig','MCP\x20配置','univer-bg-blue-500','0\x200\x2017\x2017','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-flex\x20univer-items-start\x20univer-gap-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpConfig.configError','What\x20is\x20API\x20Key?','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Max\x20Retries','重启您的\x20MCP\x20客户端以使配置生效','univer-space-y-4','white','点击连接\x20MCP','MCPConnectionError','_initStatusComponent','Bearer\x20','substring','Connection\x20Failed','jsxs','Configuration\x20Steps:','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','univer-flex\x20univer-gap-3','MCP\x20Disconnected','网络连接错误,请检查您的网络连接','Click\x20to\x20connect\x20MCP','_logService','mcpServerUrl','mcpConfig.note1','next','connectInjector','mcpConfig.connectionStatus.connecting','MCP\x20已断开','getConfig','保存中...','entries','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','HelpSingle','close','univer-text-red-500','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','CheckMarkIcon','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.apiKeyPlaceholder','IUIPartsService','Configuration\x20Notes:','__setCustomHeaders','_mcpConnectionController','MCPConfigPanel','url(#on-line-icon_clip0_910_349)','register','evenodd','mcpConfig.saving','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','replace','mcpConfig.connectionStatus.retrying','Save\x20Configuration','_componentManager','colorChannel1','on-line-icon_clip0_910_349','toString','配置步骤:','FAILED','_commandService','MCPConnectionUIController','Close','MCP\x20已连接','BehaviorSubject','indexOf','displayName','mcpConfig.apiKeyHint','启用身份验证以获得安全连接','MCPConnectionController','https://console.univer.plus','Button','_localStorageService','univer-flex-1'];_0x25ff=function(){return _0x4a2b4f;};return _0x25ff();}F[_0x409006(0x18c)]=_0x409006(0x1a2);var he={'tag':_0x409006(0x1c4),'attrs':{'xmlns':_0x409006(0x1e4),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x409006(0x238),'height':_0x409006(0x238)},'children':[{'tag':_0x409006(0x265),'attrs':{'fill':'currentColor','d':_0x409006(0x118)}},{'tag':'path','attrs':{'fill':_0x409006(0x208),'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':_0x409006(0x208),'d':_0x409006(0x243),'fillRule':'evenodd','clipRule':'evenodd'}}]},H=d[_0x409006(0x1d6)](function(_0x4f7968,_0x9d3f66){var _0x4106a2=_0x409006;return d[_0x4106a2(0x231)](I,Object[_0x4106a2(0x139)]({},_0x4f7968,{'id':'help-single','ref':_0x9d3f66,'icon':he}));});H[_0x409006(0x18c)]=_0x409006(0x16b);var me={'tag':_0x409006(0x1c4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x409006(0x1e6),'viewBox':_0x409006(0x1cd),'width':_0x409006(0x238),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x409006(0x1db)},'children':[{'tag':_0x409006(0x265),'attrs':{'stroke':_0x409006(0x208),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x409006(0x218),'strokeLinejoin':_0x409006(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x409006(0x240),'attrs':{'id':_0x409006(0x25d)},'children':[{'tag':'path','attrs':{'fill':_0x409006(0x152),'d':_0x409006(0xfc)}}]}]}],'defIds':[_0x409006(0x25d)]},q=d[_0x409006(0x1d6)](function(_0x2e1aaf,_0x38a682){var _0x2c90f7=_0x409006;return d['createElement'](I,Object[_0x2c90f7(0x139)]({},_0x2e1aaf,{'id':_0x2c90f7(0x121),'ref':_0x38a682,'icon':me}));});q['displayName']=_0x409006(0x266);var xe={'tag':_0x409006(0x1c4),'attrs':{'xmlns':_0x409006(0x1e4),'fill':_0x409006(0x1e6),'viewBox':_0x409006(0x1d0),'width':_0x409006(0x238),'height':_0x409006(0x238)},'children':[{'tag':'g','attrs':{'clipPath':_0x409006(0x178)},'children':[{'tag':'path','attrs':{'stroke':_0x409006(0x208),'d':_0x409006(0x1f3),'strokeLinecap':_0x409006(0x218),'strokeLinejoin':_0x409006(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x409006(0x240),'attrs':{'id':_0x409006(0x182)},'children':[{'tag':_0x409006(0x265),'attrs':{'fill':_0x409006(0x152),'d':_0x409006(0xfc),'transform':_0x409006(0x1b8)}}]}]}],'defIds':[_0x409006(0x182)]},z=d[_0x409006(0x1d6)](function(_0x3122a2,_0x10f12e){var _0x39ac0c=_0x409006;return d[_0x39ac0c(0x231)](I,Object[_0x39ac0c(0x139)]({},_0x3122a2,{'id':'on-line-icon','ref':_0x10f12e,'icon':xe}));});z[_0x409006(0x18c)]='OnLineIcon';function W(_0xbbe59c){var _0x230aac=_0x409006,_0x42ded8,_0x4c9d87;const {mcpCoreConfig:_0x1aba04,onSave:_0x2daba7,loading:_0x2231df=!0x1,config:_0x39f1f1,connectionStatus$:_0x364af9,connectionError$:_0x5ae445,currentApiKey$:_0x53f8c8,currentSessionId$:_0x3aeb6b}=_0xbbe59c,_0x471639=v[_0x230aac(0x137)](u[_0x230aac(0x10a)]),_0x248b1c=v['useObservable'](_0x364af9,s[_0x230aac(0x123)]['DISCONNECTED']),_0x1616c9=v[_0x230aac(0x1d2)](_0x5ae445,s[_0x230aac(0x154)]['NONE']),_0x3f65be=v[_0x230aac(0x1d2)](_0x3aeb6b,''),_0x547980=v[_0x230aac(0x1d2)](_0x53f8c8,''),[_0x30b52b,_0x2a1b87]=d[_0x230aac(0x22a)](_0x547980||''),_0x562c3f=!0x0,_0x399ffc=_0x39f1f1[_0x230aac(0x1de)]&&_0x1aba04[_0x230aac(0x161)]&&(_0x1aba04[_0x230aac(0x161)][_0x230aac(0x107)](_0x230aac(0x1dc))||_0x1aba04['mcpServerUrl'][_0x230aac(0x107)]('univer.ai')),_0x5e071b=(_0x42ded8=_0x1aba04['mcpServerUrl'])==null?void 0x0:_0x42ded8[_0x230aac(0x107)]('univer.plus'),_0x2027ba=(_0x4c9d87=_0x1aba04['mcpServerUrl'])==null?void 0x0:_0x4c9d87[_0x230aac(0x107)]('univer.ai'),_0x99373f=_0x5e071b?_0x230aac(0x190):_0x230aac(0x13c),_0xbd1c51=_0x39f1f1[_0x230aac(0x1de)]&&(_0x5e071b||_0x2027ba),[_0x4da052,_0x1e5e59]=d[_0x230aac(0x22a)](!_0x30b52b[_0x230aac(0x245)]()),_0x67cae8=(_0x4108c1,_0x542375)=>{var _0x1efb3f=_0x230aac;if(_0x542375===s[_0x1efb3f(0x154)]['INVALID_API_KEY'])return _0x1efb3f(0x205);switch(_0x4108c1){case s[_0x1efb3f(0x123)][_0x1efb3f(0x255)]:return _0x1efb3f(0x1fa);case s['MCPConnectionStatus'][_0x1efb3f(0x1fe)]:case s[_0x1efb3f(0x123)][_0x1efb3f(0x1c6)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x1efb3f(0x123)]['FAILED']: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';}},_0x210c95=(_0x471a7,_0x3f64ae)=>{var _0x152c7d=_0x230aac;if(_0x3f64ae===s[_0x152c7d(0x154)][_0x152c7d(0x222)])return _0x152c7d(0xf4);switch(_0x471a7){case s[_0x152c7d(0x123)][_0x152c7d(0x255)]:return _0x152c7d(0x1eb);case s[_0x152c7d(0x123)][_0x152c7d(0x1fe)]:case s['MCPConnectionStatus'][_0x152c7d(0x1c6)]:return _0x152c7d(0x147);case s[_0x152c7d(0x123)][_0x152c7d(0x185)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x29e536=_0x1a0406=>{var _0x26d596=_0x230aac;switch(_0x1a0406){case s[_0x26d596(0x123)][_0x26d596(0x255)]:return _0x471639['t']('mcpConfig.connectionStatus.connected');case s[_0x26d596(0x123)][_0x26d596(0x1fe)]:return _0x471639['t'](_0x26d596(0x165));case s['MCPConnectionStatus']['FAILED']:return _0x471639['t'](_0x26d596(0xeb));case s[_0x26d596(0x123)][_0x26d596(0x1c6)]:return _0x471639['t'](_0x26d596(0x17e));default:return _0x471639['t'](_0x26d596(0x1ad));}},_0xc7b0b2=_0x397670=>{var _0x300794=_0x230aac;switch(_0x397670){case s[_0x300794(0x154)][_0x300794(0x222)]:return _0x471639['t'](_0x300794(0x200));case s[_0x300794(0x154)][_0x300794(0x23d)]:return _0x471639['t'](_0x300794(0x133));case s['MCPConnectionError'][_0x300794(0x247)]:return _0x471639['t']('mcpConfig.connectionError.networkError');case s[_0x300794(0x154)]['MAX_RETRIES_EXCEEDED']:return _0x471639['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x2670dd=d[_0x230aac(0x1b4)](()=>{var _0x5be7ae=_0x230aac;const _0x5e2ae6={..._0x1aba04,'apiKey':_0x30b52b[_0x5be7ae(0x245)](),'enableAuth':_0x562c3f};_0x2daba7(_0x5e2ae6);},[_0x1aba04,_0x30b52b,_0x562c3f,_0x2daba7]),_0x3fb436=_0x30b52b['trim']()[_0x230aac(0x20b)]>0x0;return i[_0x230aac(0x159)]('div',{'className':_0x230aac(0x1c1),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x1cf),'children':i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x11c),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':_0x230aac(0x24f),'children':'⚙'})}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'children':i[_0x230aac(0x12b)]('p',{'className':_0x230aac(0x23b),'children':_0x471639['t'](_0x230aac(0x24c))})})]})}),i['jsxs']('div',{'className':_0x230aac(0x14b),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x1ff)+_0x67cae8(_0x248b1c,_0x1616c9)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x138),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x195)+_0x210c95(_0x248b1c,_0x1616c9)+_0x230aac(0x17c)}),i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':'univer-text-sm\x20univer-font-medium','children':_0x29e536(_0x248b1c)})]})}),_0x1616c9!==s[_0x230aac(0x154)]['NONE']&&(_0x248b1c===s[_0x230aac(0x123)][_0x230aac(0x185)]||_0x1616c9===s['MCPConnectionError']['INVALID_API_KEY'])&&i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x1ea),'children':i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x237),'children':[i[_0x230aac(0x12b)]('span',{'className':_0x230aac(0x12d),'children':'⚠️'}),i[_0x230aac(0x12b)]('p',{'className':_0x230aac(0x14e),'children':_0xc7b0b2(_0x1616c9)})]})})]}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x1a4),'children':i[_0x230aac(0x159)]('div',{'className':_0x230aac(0x229),'children':[i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0xf0),'children':[i[_0x230aac(0x159)]('label',{'className':_0x230aac(0x25f),'children':[i['jsx']('span',{'children':'🔑'}),'\x20',_0x471639['t']('mcpConfig.apiKey'),i[_0x230aac(0x12b)]('span',{'className':_0x230aac(0x16d),'children':'*'}),_0x399ffc&&i['jsx']('a',{'href':_0x230aac(0x13d),'onClick':()=>_0x1e5e59(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x471639['t'](_0x230aac(0x13f)),'children':i['jsx'](H,{})})]}),i[_0x230aac(0x12b)](P[_0x230aac(0x223)],{'type':_0x230aac(0x1a9),'placeholder':_0x471639['t'](_0x230aac(0x172)),'value':_0x30b52b,'onChange':_0x2a1b87,'disabled':_0x2231df,'autoComplete':_0x230aac(0x23a)}),i[_0x230aac(0x12b)]('p',{'className':_0x230aac(0x129),'children':_0x471639['t'](_0x230aac(0x18d))})]}),_0x399ffc&&_0x4da052&&i[_0x230aac(0x159)]('div',{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[i[_0x230aac(0x12b)]('a',{'href':'javascript:void(0)','onClick':()=>_0x1e5e59(!0x1),'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','title':_0x230aac(0x188),'children':i['jsx'](F,{})}),i['jsxs']('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x135),'children':i['jsx'](_0x230aac(0x212),{'className':'univer-text-blue-600','children':'🚀'})}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x193),'children':[i[_0x230aac(0x12b)]('h4',{'className':_0x230aac(0x1f7),'children':_0x471639['t'](_0x230aac(0x13f))}),i['jsx']('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x471639['t'](_0x230aac(0x100))}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0xbd1c51&&i['jsxs']('a',{'href':_0x99373f,'target':'_blank','rel':'noopener\x20noreferrer','className':_0x230aac(0x1bd),'children':[i[_0x230aac(0x12b)](_0x230aac(0x212),{'children':'🤖'}),_0x471639['t'](_0x230aac(0x1d7)),i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':'univer-text-gray-400','children':'↗'})]})}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x22b),'children':['✨','\x20',_0x471639['t'](_0x230aac(0x22e))]})]})]})]}),_0x39f1f1['showDeveloperTools']&&i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x217),'children':[i[_0x230aac(0x159)]('h4',{'className':_0x230aac(0x259),'children':[i[_0x230aac(0x12b)]('span',{'children':'🔗'}),'\x20',_0x471639['t']('mcpConfig.connectionInfo')]}),i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x151),'children':[i['jsxs'](_0x230aac(0x227),{'className':'univer-space-y-3','children':[i['jsx']('p',{'className':_0x230aac(0x1b5),'children':_0x471639['t'](_0x230aac(0x239))}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':'univer-space-y-2','children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x13a),'children':_0x471639['t']('mcpConfig.configStepTitle')}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[i[_0x230aac(0x159)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':_0x230aac(0xfe),'children':'1'}),_0x471639['t'](_0x230aac(0x1dd))]}),i['jsxs']('div',{'className':_0x230aac(0x138),'children':[i['jsx'](_0x230aac(0x212),{'className':_0x230aac(0xfe),'children':'2'}),_0x471639['t'](_0x230aac(0xff))]}),i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x138),'children':[i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':_0x230aac(0xfe),'children':'3'}),_0x471639['t'](_0x230aac(0x1ac))]})]})]})]}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':'univer-space-y-2','children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x13a),'children':_0x230aac(0x105)}),i['jsx']('div',{'className':_0x230aac(0x1f2),'children':i['jsx']('pre',{'className':_0x230aac(0x1b1),'children':_0x230aac(0x15b)+_0x3f65be+_0x230aac(0x1e8)+(_0x30b52b||'<API_KEY>')+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':'univer-space-y-3','children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x13a),'children':_0x471639['t'](_0x230aac(0x134))}),i['jsxs']('div',{'className':_0x230aac(0xf0),'children':[i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x14a),'children':[i[_0x230aac(0x12b)]('div',{'className':_0x230aac(0x16a)}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x219),'children':[i['jsx'](_0x230aac(0x227),{'className':_0x230aac(0x1c2),'children':_0x230aac(0x19a)}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x129),'children':_0x471639['t']('mcpConfig.sessionIdDescription')})]})]}),i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x14a),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x219),'children':[i['jsx'](_0x230aac(0x227),{'className':_0x230aac(0x1c2),'children':'Authorization:'}),i['jsx'](_0x230aac(0x227),{'className':_0x230aac(0x129),'children':_0x471639['t'](_0x230aac(0x1a0))})]})]})]})]})]})]}),i[_0x230aac(0x12b)](P[_0x230aac(0x191)],{'onClick':_0x2670dd,'disabled':!_0x3fb436||_0x2231df,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x2231df?i[_0x230aac(0x159)]('span',{'className':_0x230aac(0x138),'children':[i[_0x230aac(0x12b)](_0x230aac(0x212),{'children':'⟲'}),_0x471639['t'](_0x230aac(0x17b))]}):i[_0x230aac(0x159)](_0x230aac(0x212),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x230aac(0x12b)](V,{}),_0x471639['t']('mcpConfig.save')]})}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x10f),'children':i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x15c),'children':[i['jsx'](_0x230aac(0x212),{'className':_0x230aac(0xee),'children':'💡'}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x149),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x113),'children':_0x230aac(0x174)}),i[_0x230aac(0x159)]('div',{'children':['•',_0x471639['t'](_0x230aac(0x162))]}),i['jsxs'](_0x230aac(0x227),{'children':['•',_0x471639['t']('mcpConfig.note2')]})]})]})})]})})]});}const D='mcp-ui.config',G={'showDeveloperTools':!0x1};var Pe=Object[_0x409006(0x25a)],Se=(_0x12a1a6,_0x309f0e,_0x3a64ef,_0x4d3303)=>{var _0xae8e48=_0x409006;for(var _0x4d3f78=_0x4d3303>0x1?void 0x0:_0x4d3303?Pe(_0x309f0e,_0x3a64ef):_0x309f0e,_0x41fef8=_0x12a1a6[_0xae8e48(0x20b)]-0x1,_0x5c52b8;_0x41fef8>=0x0;_0x41fef8--)(_0x5c52b8=_0x12a1a6[_0x41fef8])&&(_0x4d3f78=_0x5c52b8(_0x4d3f78)||_0x4d3f78);return _0x4d3f78;},f=(_0x2a92b4,_0x899595)=>(_0x537376,_0x19d7f3)=>_0x899595(_0x537376,_0x19d7f3,_0x2a92b4);const A='mcp.apiKey',O=_0x409006(0x1a6);exports['MCPConfigUIController']=class extends u[_0x409006(0x19b)]{constructor(_0x4fc180,_0x49a7b0,_0x409860,_0x49369c,_0x1ea318,_0xd00589,_0x1a41ca,_0x48f8e9,_0xca1cbe,_0x13c93c){var _0x56a332=_0x409006;super(),y(this,_0x56a332(0xfa),new M['BehaviorSubject'](!0x1)),y(this,_0x56a332(0x1b7),new M[(_0x56a332(0x18a))]({})),y(this,_0x56a332(0x1e0),new M[(_0x56a332(0x18a))]({})),y(this,'_apiKey$',new M[(_0x56a332(0x18a))]('')),y(this,_0x56a332(0x106),async _0x165e08=>{var _0x3c87f2=_0x56a332,_0x258836,_0x44eddc;this[_0x3c87f2(0xfa)][_0x3c87f2(0x163)](!0x0);try{const _0x5711d9=await this[_0x3c87f2(0x1b0)](_0x165e08);if(!_0x5711d9[_0x3c87f2(0x1f8)]){this[_0x3c87f2(0x225)][_0x3c87f2(0x25c)]({'type':P[_0x3c87f2(0xfb)]['Error'],'content':_0x5711d9[_0x3c87f2(0x209)]||this[_0x3c87f2(0x241)]['t'](_0x3c87f2(0x145))});return;}_0x165e08['apiKey']?await this[_0x3c87f2(0x192)][_0x3c87f2(0x1c3)](A,_0x165e08['apiKey']['trim']()):await this['_localStorageService']['removeItem'](A),this[_0x3c87f2(0x1b9)][_0x3c87f2(0x163)](((_0x258836=_0x165e08[_0x3c87f2(0x211)])==null?void 0x0:_0x258836['trim']())||''),this['_mcpConnectionController'][_0x3c87f2(0x175)]({'Authorization':'Bearer\x20'+((_0x44eddc=_0x165e08[_0x3c87f2(0x211)])==null?void 0x0:_0x44eddc[_0x3c87f2(0x245)]())}),this[_0x3c87f2(0x225)][_0x3c87f2(0x25c)]({'type':P['MessageType'][_0x3c87f2(0x111)],'content':this[_0x3c87f2(0x241)]['t'](_0x3c87f2(0x1d8))}),setTimeout(()=>{var _0x139326=_0x3c87f2;this[_0x139326(0x104)][_0x139326(0x16c)](O);},0x320);}catch(_0x2b7afc){this[_0x3c87f2(0x160)][_0x3c87f2(0x108)](_0x3c87f2(0x124),_0x2b7afc),this['_messageService']['show']({'type':P['MessageType'][_0x3c87f2(0x10e)],'content':this['_localeService']['t'](_0x3c87f2(0x14c))});}finally{this[_0x3c87f2(0xfa)][_0x3c87f2(0x163)](!0x1);}}),(this[_0x56a332(0x1d5)]=_0x4fc180,this[_0x56a332(0x140)]=_0x49a7b0,this[_0x56a332(0x144)]=_0x409860,this[_0x56a332(0x192)]=_0x49369c,this['_dialogService']=_0x1ea318,this[_0x56a332(0x225)]=_0xd00589,this[_0x56a332(0x180)]=_0x1a41ca,this[_0x56a332(0x241)]=_0x48f8e9,this[_0x56a332(0x160)]=_0xca1cbe,this[_0x56a332(0x176)]=_0x13c93c,this['_initConfigSync'](),this[_0x56a332(0x1b3)](),this[_0x56a332(0x1ec)]());}['showConfigPanel'](){var _0x5b7d3e=_0x409006;this[_0x5b7d3e(0x104)][_0x5b7d3e(0x20d)]({'id':O,'title':{'title':this[_0x5b7d3e(0x241)]['t'](_0x5b7d3e(0xf8))},'children':{'label':_0x5b7d3e(0x177)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x5e1cf0=_0x5b7d3e;this[_0x5e1cf0(0x104)]['close'](O);}});}[_0x409006(0xf9)](){var _0x1fb74b=_0x409006;return this[_0x1fb74b(0x1b7)][_0x1fb74b(0x224)];}[_0x409006(0x1ec)](){var _0x48f368=_0x409006;this[_0x48f368(0x1ab)](this['_componentManager'][_0x48f368(0x179)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}['_createConfigPanelComponent'](){var _0x5a7e2f=_0x409006;return v[_0x5a7e2f(0x164)](()=>{var _0x346a08=_0x5a7e2f,_0x18566a,_0x7fd517,_0x49690f;return i[_0x346a08(0x12b)](W,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x346a08(0x1b7)]['value'],'currentApiKey$':this[_0x346a08(0x1b9)],'onSave':this[_0x346a08(0x106)],'loading':this[_0x346a08(0xfa)][_0x346a08(0x224)],'connectionStatus$':(_0x18566a=this[_0x346a08(0x176)])==null?void 0x0:_0x18566a[_0x346a08(0x19f)],'connectionError$':(_0x7fd517=this['_mcpConnectionController'])==null?void 0x0:_0x7fd517[_0x346a08(0x126)],'currentSessionId$':(_0x49690f=this[_0x346a08(0x176)])==null?void 0x0:_0x49690f[_0x346a08(0x194)]});},this['_injector']);}[_0x409006(0x11a)](){var _0x5e03b5=_0x409006;this[_0x5e03b5(0x1ab)](this[_0x5e03b5(0x144)]['subscribeConfigValue$'](s[_0x5e03b5(0x234)])[_0x5e03b5(0x1e2)](_0x2c7bf7=>{var _0x2b17ac=_0x5e03b5;this[_0x2b17ac(0x1b7)][_0x2b17ac(0x163)](_0x2c7bf7||{});}));const _0x3d4968=this[_0x5e03b5(0x144)]['getConfig'](s['MCP_PLUGIN_CONFIG_KEY']);this[_0x5e03b5(0x1b7)][_0x5e03b5(0x163)](_0x3d4968||{}),this[_0x5e03b5(0x1ab)](this[_0x5e03b5(0x144)][_0x5e03b5(0x1aa)](D)[_0x5e03b5(0x1e2)](_0x58f50d=>{var _0x11ec09=_0x5e03b5;this[_0x11ec09(0x1e0)][_0x11ec09(0x163)](_0x58f50d||{});}));const _0x2b8c7a=this[_0x5e03b5(0x144)][_0x5e03b5(0x167)](D);this['_config$'][_0x5e03b5(0x163)](_0x2b8c7a||{});}async[_0x409006(0x1b3)](){var _0x4d777b=_0x409006;const _0x2dce99=await this[_0x4d777b(0x192)]['getItem'](A);_0x2dce99&&(this[_0x4d777b(0x176)][_0x4d777b(0x175)]({'Authorization':_0x4d777b(0x156)+_0x2dce99}),this[_0x4d777b(0x1b9)][_0x4d777b(0x163)](_0x2dce99));}async['_validateConfig'](_0xc5bf56){var _0x424bd9=_0x409006;if(!_0xc5bf56[_0x424bd9(0x211)]||_0xc5bf56[_0x424bd9(0x211)][_0x424bd9(0x245)]()[_0x424bd9(0x20b)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x424bd9(0x241)]['t'](_0x424bd9(0x20f))};if(_0xc5bf56['apiKey'][_0x424bd9(0x245)]()[_0x424bd9(0x20b)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x424bd9(0x241)]['t'](_0x424bd9(0x1e5))};try{const _0x24128f=await this[_0x424bd9(0x1d5)][_0x424bd9(0x120)](s['MCPConnectionController'])[_0x424bd9(0x13e)](_0xc5bf56[_0x424bd9(0x211)]['trim']());return _0x24128f['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x24128f[_0x424bd9(0x108)]||this[_0x424bd9(0x241)]['t'](_0x424bd9(0x20a))};}catch(_0x2ee5b4){return console['warn'](_0x424bd9(0x23f),_0x2ee5b4),{'isValid':!0x0};}}},exports[_0x409006(0x19e)]=Se([f(0x0,u[_0x409006(0x11b)](u[_0x409006(0x11e)])),f(0x1,v['IUIPartsService']),f(0x2,u['IConfigService']),f(0x3,u[_0x409006(0x1f9)]),f(0x4,v['IDialogService']),f(0x5,v['IMessageService']),f(0x6,u[_0x409006(0x11b)](v[_0x409006(0x204)])),f(0x7,u['Inject'](u['LocaleService'])),f(0x8,u[_0x409006(0x197)]),f(0x9,u[_0x409006(0x11b)](s[_0x409006(0x18f)]))],exports[_0x409006(0x19e)]);const N={'id':_0x409006(0x136),'type':u[_0x409006(0x21e)][_0x409006(0x1e7)],'handler':async(_0x38168e,_0x3651ce)=>(_0x38168e['get'](exports[_0x409006(0x19e)])['showConfigPanel'](),!0x0)};function Z(_0x57fe11,_0x5a541c){var _0x1b4cbf=_0x409006;switch(_0x57fe11){case s[_0x1b4cbf(0x123)]['DISCONNECTED']:return _0x1b4cbf(0x1c9);case s[_0x1b4cbf(0x123)][_0x1b4cbf(0x1fe)]:return _0x1b4cbf(0x12c);case s['MCPConnectionStatus'][_0x1b4cbf(0x255)]:return _0x1b4cbf(0x1f6);case s[_0x1b4cbf(0x123)]['FAILED']:switch(_0x5a541c){case s['MCPConnectionError'][_0x1b4cbf(0x222)]:return'mcpStatus.invalidApiKey';case s['MCPConnectionError'][_0x1b4cbf(0x23d)]:return _0x1b4cbf(0x244);case s['MCPConnectionError'][_0x1b4cbf(0x247)]:return _0x1b4cbf(0x1b6);case s[_0x1b4cbf(0x154)][_0x1b4cbf(0x22d)]:return _0x1b4cbf(0x1c8);default:return _0x1b4cbf(0x258);}case s[_0x1b4cbf(0x123)][_0x1b4cbf(0x1c6)]:return _0x1b4cbf(0x233);default:return'mcpStatus.unknown';}}function ye(_0x112491,_0x32c9aa,_0x5f4bc5){var _0x2e0488=_0x409006;const _0xc3790a=Z(_0x112491,_0x32c9aa),_0x3ea591=_0x5f4bc5['t'](_0xc3790a);return _0x112491===s['MCPConnectionStatus']['DISCONNECTED']&&_0x32c9aa===s[_0x2e0488(0x154)][_0x2e0488(0x222)]?_0x3ea591+_0x2e0488(0x1f1)+_0x5f4bc5['t']('mcpStatus.clickToConfigure'):_0x112491===s[_0x2e0488(0x123)][_0x2e0488(0x255)]?''+_0x3ea591:_0x112491===s['MCPConnectionStatus']['DISCONNECTED']||_0x112491===s[_0x2e0488(0x123)][_0x2e0488(0x185)]?_0x3ea591+'\x20-\x20'+_0x5f4bc5['t'](_0x2e0488(0x196)):_0x3ea591;}function Ie(_0xf1959d){var _0x35655e=_0x409006;switch(_0xf1959d){case s[_0x35655e(0x123)]['CONNECTED']:return'univer-text-green-500';case s['MCPConnectionStatus'][_0x35655e(0x1fe)]:case s['MCPConnectionStatus'][_0x35655e(0x1c6)]:return _0x35655e(0x102);case s[_0x35655e(0x123)][_0x35655e(0x185)]:case s[_0x35655e(0x123)][_0x35655e(0x101)]:return _0x35655e(0x16d);default:return _0x35655e(0x254);}}function X(_0x335efc){var _0x314ff4=_0x409006;const {status$:_0x37ba23,error$:_0xe142dc,onConfigure:_0x107b48}=_0x335efc,_0x5a2f0b=v[_0x314ff4(0x1d2)](_0x37ba23,s['MCPConnectionStatus'][_0x314ff4(0x101)]),_0x4842ba=v['useObservable'](_0xe142dc,s['MCPConnectionError']['NONE']),_0x1fadbc=v['useDependency'](u[_0x314ff4(0x10a)]),_0xdf5829=_0x5a2f0b===s[_0x314ff4(0x123)][_0x314ff4(0x255)],_0x8f42e2=_0x5a2f0b===s[_0x314ff4(0x123)]['CONNECTING']||_0x5a2f0b===s[_0x314ff4(0x123)][_0x314ff4(0x1c6)],_0x5dd25b=_0x1fadbc['t'](Z(_0x5a2f0b,_0x4842ba)),_0x38dd85=ye(_0x5a2f0b,_0x4842ba,_0x1fadbc),_0xa6aa00=Ie(_0x5a2f0b),_0x36531e=_0xdf5829?i[_0x314ff4(0x12b)](z,{}):i[_0x314ff4(0x12b)](q,{}),_0x4cefd5=d[_0x314ff4(0x1b4)](()=>{_0x107b48&&_0x107b48();},[_0xdf5829,_0x8f42e2,_0x107b48]);function _0x47b9b5(){var _0xa1751e=_0x314ff4;return i[_0xa1751e(0x159)](_0xa1751e(0x227),{'className':P[_0xa1751e(0x26d)]('univer-flex\x20univer-cursor-pointer\x20univer-items-center',_0x107b48&&_0xa1751e(0x253)),'onClick':_0x107b48?_0x4cefd5:void 0x0,'children':[i['jsx'](_0xa1751e(0x227),{'className':P[_0xa1751e(0x26d)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0xa6aa00),'children':_0x36531e}),i[_0xa1751e(0x12b)]('div',{'className':_0xa1751e(0x1e1),'children':_0x5dd25b})]});}return i['jsx'](P[_0x314ff4(0x1d4)],{'title':_0x38dd85,'placement':_0x314ff4(0x207),'children':_0x47b9b5()});}var _e=Object[_0x409006(0x25a)],Me=(_0x221bc6,_0x10b6fa,_0x4ddfa3,_0x1c5a0f)=>{var _0x124417=_0x409006;for(var _0x39f384=_0x1c5a0f>0x1?void 0x0:_0x1c5a0f?_e(_0x10b6fa,_0x4ddfa3):_0x10b6fa,_0x2b395f=_0x221bc6[_0x124417(0x20b)]-0x1,_0x2a7fa7;_0x2b395f>=0x0;_0x2b395f--)(_0x2a7fa7=_0x221bc6[_0x2b395f])&&(_0x39f384=_0x2a7fa7(_0x39f384)||_0x39f384);return _0x39f384;},k=(_0x1bdb62,_0x2eb74e)=>(_0x24b8c2,_0x221912)=>_0x2eb74e(_0x24b8c2,_0x221912,_0x1bdb62);exports[_0x409006(0x187)]=class extends u['Disposable']{constructor(_0x3bc6e2,_0x4616b0,_0x462a5a){var _0x1ea8bb=_0x409006;super(),this['_injector']=_0x3bc6e2,this[_0x1ea8bb(0x125)]=_0x4616b0,this[_0x1ea8bb(0x140)]=_0x462a5a,this[_0x1ea8bb(0x125)]['enableAutoConnect']=!0x1,this[_0x1ea8bb(0x155)]();}[_0x409006(0x155)](){var _0x556d7e=_0x409006;this['disposeWithMe'](this[_0x556d7e(0x140)]['registerComponent'](v[_0x556d7e(0x1bc)][_0x556d7e(0x21b)],()=>v[_0x556d7e(0x164)](Ne({'status$':this[_0x556d7e(0x125)]['connectionStatus$'],'error$':this['_connectionController'][_0x556d7e(0x126)],'onConfigure':()=>this[_0x556d7e(0x141)]()}),this[_0x556d7e(0x1d5)])));}[_0x409006(0x141)](){var _0x804efa=_0x409006;this[_0x804efa(0x1d5)]['get'](exports[_0x804efa(0x19e)])[_0x804efa(0x22c)]();}},exports[_0x409006(0x187)]=Me([k(0x0,u['Inject'](u[_0x409006(0x11e)])),k(0x1,u['Inject'](s[_0x409006(0x18f)])),k(0x2,v[_0x409006(0x173)])],exports[_0x409006(0x187)]);function Ne(_0x3b1154){const {status$:_0x69a3b7,error$:_0x46e3ce,onConfigure:_0x92774a}=_0x3b1154;return function(){var _0x2280d4=_0x5eff;return i[_0x2280d4(0x12b)](X,{'status$':_0x69a3b7,'error$':_0x46e3ce,'onConfigure':_0x92774a});};}function be(_0x27eae3){var _0x44521c=_0x409006;return{'id':N['id'],'type':v['MenuItemType'][_0x44521c(0x267)],'icon':_0x44521c(0x21a),'title':_0x44521c(0xf8),'tooltip':_0x44521c(0xf8)};}const je={[v[_0x409006(0x21c)][_0x409006(0x114)]]:{[N['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x409006(0x25a)],we=(_0x38afc2,_0x3504aa,_0xef1d7a,_0x516433)=>{var _0x3fb4ae=_0x409006;for(var _0x3160b8=_0x516433>0x1?void 0x0:_0x516433?Ee(_0x3504aa,_0xef1d7a):_0x3504aa,_0xd3063=_0x38afc2[_0x3fb4ae(0x20b)]-0x1,_0x367962;_0xd3063>=0x0;_0xd3063--)(_0x367962=_0x38afc2[_0xd3063])&&(_0x3160b8=_0x367962(_0x3160b8)||_0x3160b8);return _0x3160b8;},Y=(_0x26d3b2,_0x54e308)=>(_0x2f7193,_0x1488a4)=>_0x54e308(_0x2f7193,_0x1488a4,_0x26d3b2);exports['MCPUIMenuController']=class extends u['Disposable']{constructor(_0x442881,_0xc68778){var _0x19f37b=_0x409006;super(),this[_0x19f37b(0x186)]=_0x442881,this[_0x19f37b(0x1fc)]=_0xc68778,this['_initializeCommands'](),this['_initializeMenus']();}[_0x409006(0x230)](){[N]['forEach'](_0x31d554=>{var _0x2c9475=_0x5eff;this['disposeWithMe'](this[_0x2c9475(0x186)]['registerCommand'](_0x31d554));});}[_0x409006(0x251)](){var _0x4e7c9d=_0x409006;this[_0x4e7c9d(0x1fc)][_0x4e7c9d(0x1c5)](je);}},exports[_0x409006(0x1ae)]=we([Y(0x0,u[_0x409006(0x242)]),Y(0x1,v['IMenuManagerService'])],exports[_0x409006(0x1ae)]);const Ae={'mcpStatus':{'disconnected':_0x409006(0x15d),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x409006(0xe7),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x409006(0x1e9),'invalidApiKey':_0x409006(0xf6),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x409006(0x1a8),'clickToConnect':_0x409006(0x15f),'clickToConfigure':_0x409006(0x170)},'mcpConfig':{'title':_0x409006(0x105),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x409006(0x1f4),'apiKeyPlaceholder':_0x409006(0x262),'apiKeyHint':_0x409006(0x252),'enableAuth':_0x409006(0x199),'enableAuthHint':_0x409006(0x171),'connectionInfo':_0x409006(0x109),'mcpClientConfig':_0x409006(0x109),'configInstructions':_0x409006(0x213),'configStepTitle':_0x409006(0x15a),'configStep1':_0x409006(0x1a1),'configStep2':_0x409006(0x112),'configStep3':_0x409006(0x235),'sessionId':_0x409006(0x122),'sessionIdDescription':_0x409006(0x19c),'authorizationDescription':_0x409006(0x21d),'configParameters':_0x409006(0x250),'maxRetries':_0x409006(0x14f),'save':_0x409006(0x17f),'saving':_0x409006(0x232),'note1':_0x409006(0x1be),'note2':_0x409006(0x269),'configSaved':_0x409006(0x1bf),'configError':_0x409006(0x1af),'apiApplyInfo':{'title':_0x409006(0x14d),'description':_0x409006(0x1a3),'univerAiLabel':_0x409006(0x221),'getStarted':_0x409006(0x246)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x409006(0x1b2),'connecting':'Connecting...','connected':'Connected','failed':_0x409006(0x158),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x409006(0x1cc),'invalidApiKey':_0x409006(0x1ef),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x409006(0x26a)}}},Oe={'mcpStatus':{'disconnected':_0x409006(0x166),'connecting':_0x409006(0xec),'connected':_0x409006(0x189),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':_0x409006(0x20c),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x409006(0x1f0),'sessionOccupied':_0x409006(0x260),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x409006(0x214),'clickToConnect':_0x409006(0x153),'clickToConfigure':_0x409006(0x130)},'mcpConfig':{'title':_0x409006(0x146),'description':_0x409006(0xf2),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x409006(0x1c7),'enableAuth':'启用身份验证','enableAuthHint':_0x409006(0x18e),'connectionInfo':_0x409006(0x11f),'mcpClientConfig':_0x409006(0x11f),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x409006(0x184),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x409006(0x10d),'configStep3':_0x409006(0x150),'sessionId':_0x409006(0x248),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x409006(0x127),'configParameters':_0x409006(0x12a),'maxRetries':_0x409006(0x24e),'save':_0x409006(0x12e),'saving':_0x409006(0x168),'note1':_0x409006(0x1df),'note2':_0x409006(0x261),'configSaved':'配置保存成功','configError':_0x409006(0x1d3),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x409006(0xf3),'univerAiLabel':_0x409006(0x1ed),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x409006(0x131),'invalidConfig':_0x409006(0x1a7),'invalidApiKey':_0x409006(0x236)},'connectionStatus':{'disconnected':_0x409006(0x20e),'connecting':'连接中...','connected':'已连接','failed':_0x409006(0x249),'retrying':_0x409006(0x19d)},'connectionError':{'missingApiKey':_0x409006(0x220),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x409006(0x15e),'maxRetriesExceeded':_0x409006(0x117)}}};var ke=Object[_0x409006(0x24a)],De=Object[_0x409006(0x25a)],Ke=(_0x80a1e,_0xbe2766,_0x1d3941)=>_0xbe2766 in _0x80a1e?ke(_0x80a1e,_0xbe2766,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d3941}):_0x80a1e[_0xbe2766]=_0x1d3941,Ue=(_0x51b719,_0x2baced,_0xcbbb93,_0x4d8a1a)=>{for(var _0x3ff1e6=_0x4d8a1a>0x1?void 0x0:_0x4d8a1a?De(_0x2baced,_0xcbbb93):_0x2baced,_0x5d787d=_0x51b719['length']-0x1,_0x2f22d8;_0x5d787d>=0x0;_0x5d787d--)(_0x2f22d8=_0x51b719[_0x5d787d])&&(_0x3ff1e6=_0x2f22d8(_0x3ff1e6)||_0x3ff1e6);return _0x3ff1e6;},_=(_0x5bd954,_0x5bdc69)=>(_0x58a587,_0x463f4c)=>_0x5bdc69(_0x58a587,_0x463f4c,_0x5bd954),Te=(_0x3b7feb,_0xae9a99,_0x401c6e)=>Ke(_0x3b7feb,_0xae9a99+'',_0x401c6e);exports[_0x409006(0x215)]=class extends u[_0x409006(0x1ee)]{constructor(_0x31fcb2=G,_0x179396,_0x599c64,_0x9bc94,_0x15109f,_0x37557d){var _0x535b30=_0x409006;super(),this['_config']=_0x31fcb2,this[_0x535b30(0x1d5)]=_0x179396,this[_0x535b30(0x144)]=_0x599c64,this['_uiPartsService']=_0x9bc94,this[_0x535b30(0x192)]=_0x15109f,this[_0x535b30(0x241)]=_0x37557d;const {..._0xc63e0e}=u[_0x535b30(0x115)]({},G,this[_0x535b30(0x1c0)]);this[_0x535b30(0x144)][_0x535b30(0xf5)](D,_0xc63e0e);}async[_0x409006(0x1e3)](){var _0x1ec47c=_0x409006;const _0x50360f=[[exports[_0x1ec47c(0x187)]],[exports[_0x1ec47c(0x19e)]],[exports[_0x1ec47c(0x1ae)]]];this['_injector'][_0x1ec47c(0x206)](w['ISocketService'])||_0x50360f[_0x1ec47c(0x1fd)]([w['ISocketService'],{'useClass':w[_0x1ec47c(0x24b)]}]),_0x50360f[_0x1ec47c(0x26c)](_0x3797a8=>this[_0x1ec47c(0x1d5)][_0x1ec47c(0x203)](_0x3797a8)),this[_0x1ec47c(0x1d5)][_0x1ec47c(0x120)](exports[_0x1ec47c(0x187)]),this[_0x1ec47c(0x1d5)][_0x1ec47c(0x120)](exports[_0x1ec47c(0x19e)]),this[_0x1ec47c(0x1d5)][_0x1ec47c(0x120)](exports['MCPUIMenuController']);}},Te(exports[_0x409006(0x215)],_0x409006(0xe8),_0x409006(0xea)),exports['UniverMCPUIPlugin']=Ue([u['DependentOn'](s['UniverMCPPlugin']),_(0x1,u[_0x409006(0x11b)](u['Injector'])),_(0x2,u[_0x409006(0x132)]),_(0x3,v[_0x409006(0x173)]),_(0x4,u[_0x409006(0x1f9)]),_(0x5,u['Inject'](u[_0x409006(0x10a)]))],exports[_0x409006(0x215)]),exports[_0x409006(0x177)]=W,exports[_0x409006(0x1d1)]=X,exports[_0x409006(0x10b)]=N,exports[_0x409006(0xfd)]=Ae,exports[_0x409006(0xf7)]=Oe;
1
+ 'use strict';var _0x4abf76=_0x5c61;(function(_0x146cac,_0x21fd58){var _0x2a8f74=_0x5c61,_0x2025d5=_0x146cac();while(!![]){try{var _0x30888f=-parseInt(_0x2a8f74(0x26a))/0x1*(-parseInt(_0x2a8f74(0x1fb))/0x2)+parseInt(_0x2a8f74(0x235))/0x3+parseInt(_0x2a8f74(0x201))/0x4*(-parseInt(_0x2a8f74(0x1f8))/0x5)+-parseInt(_0x2a8f74(0x21e))/0x6*(parseInt(_0x2a8f74(0x2e9))/0x7)+parseInt(_0x2a8f74(0x18b))/0x8*(parseInt(_0x2a8f74(0x276))/0x9)+parseInt(_0x2a8f74(0x2a7))/0xa+-parseInt(_0x2a8f74(0x2a6))/0xb;if(_0x30888f===_0x21fd58)break;else _0x2025d5['push'](_0x2025d5['shift']());}catch(_0x7b76fb){_0x2025d5['push'](_0x2025d5['shift']());}}}(_0x3bfb,0xc1c41));var ue=Object[_0x4abf76(0x321)],le=(_0x5bbbc3,_0x2804b9,_0x54736a)=>_0x2804b9 in _0x5bbbc3?ue(_0x5bbbc3,_0x2804b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54736a}):_0x5bbbc3[_0x2804b9]=_0x54736a,I=(_0x4e87d4,_0x55738a,_0x5838db)=>le(_0x4e87d4,typeof _0x55738a!=_0x4abf76(0x302)?_0x55738a+'':_0x55738a,_0x5838db);Object['defineProperty'](exports,Symbol[_0x4abf76(0x228)],{'value':_0x4abf76(0x318)});const l=require('@univerjs/core'),t=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),S=require('@univerjs/design'),v=require('@univerjs/ui'),N=require('rxjs'),d=require('react'),A=require('@univerjs/network');var g=function(){var _0x3fb631=_0x4abf76;return g=Object[_0x3fb631(0x269)]||function(_0x3ca1e7){var _0x5828f6=_0x3fb631;for(var _0x46f8f5,_0x5aac6f=0x1,_0x39e6a9=arguments['length'];_0x5aac6f<_0x39e6a9;_0x5aac6f++){_0x46f8f5=arguments[_0x5aac6f];for(var _0x37a243 in _0x46f8f5)Object[_0x5828f6(0x24f)]['hasOwnProperty']['call'](_0x46f8f5,_0x37a243)&&(_0x3ca1e7[_0x37a243]=_0x46f8f5[_0x37a243]);}return _0x3ca1e7;},g[_0x3fb631(0x31a)](this,arguments);},ve=function(_0x56d5ae,_0x512b8a){var _0x2407b2=_0x4abf76,_0x12d010={};for(var _0x366865 in _0x56d5ae)Object[_0x2407b2(0x24f)][_0x2407b2(0x209)]['call'](_0x56d5ae,_0x366865)&&_0x512b8a[_0x2407b2(0x215)](_0x366865)<0x0&&(_0x12d010[_0x366865]=_0x56d5ae[_0x366865]);if(_0x56d5ae!=null&&typeof Object[_0x2407b2(0x2d6)]==_0x2407b2(0x2f3)){for(var _0x5738b9=0x0,_0x366865=Object['getOwnPropertySymbols'](_0x56d5ae);_0x5738b9<_0x366865[_0x2407b2(0x2c3)];_0x5738b9++)_0x512b8a[_0x2407b2(0x215)](_0x366865[_0x5738b9])<0x0&&Object[_0x2407b2(0x24f)][_0x2407b2(0x20d)]['call'](_0x56d5ae,_0x366865[_0x5738b9])&&(_0x12d010[_0x366865[_0x5738b9]]=_0x56d5ae[_0x366865[_0x5738b9]]);}return _0x12d010;},_=d['forwardRef'](function(_0x4df93c,_0x587b87){var _0x2bada1=_0x4abf76,_0x3a15d9=_0x4df93c[_0x2bada1(0x231)],_0x3493e5=_0x4df93c['id'],_0x309869=_0x4df93c[_0x2bada1(0x193)],_0x34547d=_0x4df93c[_0x2bada1(0x284)],_0x23e3d0=ve(_0x4df93c,[_0x2bada1(0x231),'id',_0x2bada1(0x193),_0x2bada1(0x284)]),_0x589b4c=_0x2bada1(0x1a2)[_0x2bada1(0x1af)](_0x3493e5,'\x20')[_0x2bada1(0x1af)](_0x309869||'')[_0x2bada1(0x2fd)](),_0x198a6f=d['useRef']('_'[_0x2bada1(0x1af)](ge()));return H(_0x3a15d9,''[_0x2bada1(0x1af)](_0x3493e5),{'defIds':_0x3a15d9[_0x2bada1(0x19c)],'idSuffix':_0x198a6f[_0x2bada1(0x2fa)]},g({'ref':_0x587b87,'className':_0x589b4c},_0x23e3d0),_0x34547d);});function H(_0x1960b,_0x4a9936,_0x7d8e7f,_0x881e0d,_0x423954){var _0x181c37=_0x4abf76;return d['createElement'](_0x1960b['tag'],g(g({'key':_0x4a9936},de(_0x1960b,_0x7d8e7f,_0x423954)),_0x881e0d),(Ce(_0x1960b,_0x7d8e7f)[_0x181c37(0x2c1)]||[])[_0x181c37(0x26d)](function(_0x59a259,_0x171661){var _0x1a263e=_0x181c37;return H(_0x59a259,''['concat'](_0x4a9936,'-')[_0x1a263e(0x1af)](_0x1960b[_0x1a263e(0x26f)],'-')[_0x1a263e(0x1af)](_0x171661),_0x7d8e7f,void 0x0,_0x423954);}));}function de(_0x4932b9,_0x5f098b,_0x574a57){var _0x2a55da=_0x4abf76,_0x455871=g({},_0x4932b9[_0x2a55da(0x31c)]);_0x574a57!=null&&_0x574a57[_0x2a55da(0x223)]&&_0x455871['fill']===_0x2a55da(0x223)&&(_0x455871[_0x2a55da(0x278)]=_0x574a57[_0x2a55da(0x223)]),_0x4932b9['tag']==='mask'&&_0x455871['id']&&(_0x455871['id']=_0x455871['id']+_0x5f098b[_0x2a55da(0x2d0)]),Object['entries'](_0x455871)[_0x2a55da(0x273)](function(_0x3f28b5){var _0x41e5c5=_0x2a55da,_0x3dd1fd=_0x3f28b5[0x0],_0x361463=_0x3f28b5[0x1];_0x3dd1fd===_0x41e5c5(0x22b)&&typeof _0x361463=='string'&&(_0x455871[_0x3dd1fd]=_0x361463[_0x41e5c5(0x1c7)](/url\(#(.*)\)/,_0x41e5c5(0x2af)[_0x41e5c5(0x1af)](_0x5f098b[_0x41e5c5(0x2d0)],')')));});var _0x1b1256=_0x5f098b[_0x2a55da(0x19c)];return!_0x1b1256||_0x1b1256[_0x2a55da(0x2c3)]===0x0||(_0x4932b9[_0x2a55da(0x26f)]===_0x2a55da(0x251)&&_0x455871[_0x2a55da(0x23f)]&&(_0x455871[_0x2a55da(0x23f)]=_0x455871['xlink:href']+_0x5f098b[_0x2a55da(0x2d0)]),Object[_0x2a55da(0x2f7)](_0x455871)[_0x2a55da(0x273)](function(_0x3dcd1b){var _0x7569b3=_0x2a55da,_0x583084=_0x3dcd1b[0x0],_0x29d159=_0x3dcd1b[0x1];typeof _0x29d159==_0x7569b3(0x271)&&(_0x455871[_0x583084]=_0x29d159[_0x7569b3(0x1c7)](/url\(#(.*)\)/,'url(#$1'[_0x7569b3(0x1af)](_0x5f098b[_0x7569b3(0x2d0)],')')));})),_0x455871;}function Ce(_0x4c351f,_0x4737b0){var _0x1bb83e=_0x4abf76,_0x576d12,_0x2a4e4c=_0x4737b0['defIds'];return!_0x2a4e4c||_0x2a4e4c[_0x1bb83e(0x2c3)]===0x0?_0x4c351f:_0x4c351f[_0x1bb83e(0x26f)]===_0x1bb83e(0x2f9)&&(!((_0x576d12=_0x4c351f[_0x1bb83e(0x2c1)])===null||_0x576d12===void 0x0)&&_0x576d12[_0x1bb83e(0x2c3)])?g(g({},_0x4c351f),{'children':_0x4c351f[_0x1bb83e(0x2c1)]['map'](function(_0x1ea843){var _0x1553bb=_0x1bb83e;return typeof _0x1ea843[_0x1553bb(0x31c)]['id']==_0x1553bb(0x271)&&_0x2a4e4c&&_0x2a4e4c[_0x1553bb(0x1ec)](_0x1ea843[_0x1553bb(0x31c)]['id'])?g(g({},_0x1ea843),{'attrs':g(g({},_0x1ea843[_0x1553bb(0x31c)]),{'id':_0x1ea843[_0x1553bb(0x31c)]['id']+_0x4737b0[_0x1553bb(0x2d0)]})}):_0x1ea843;})}):_0x4c351f;}function ge(){var _0x339ae9=_0x4abf76;return Math[_0x339ae9(0x263)]()[_0x339ae9(0x2a8)](0x24)['substring'](0x2,0x8);}_[_0x4abf76(0x1bd)]=_0x4abf76(0x1a8);var fe={'tag':_0x4abf76(0x265),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x2f4),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'fill':_0x4abf76(0x255),'d':_0x4abf76(0x262),'fillRule':'evenodd','clipRule':_0x4abf76(0x270)}}]},B=d['forwardRef'](function(_0x4344b3,_0x59ca02){var _0x275781=_0x4abf76;return d[_0x275781(0x2c2)](_,Object['assign']({},_0x4344b3,{'id':_0x275781(0x1b8),'ref':_0x59ca02,'icon':fe}));});B[_0x4abf76(0x1bd)]=_0x4abf76(0x190);var pe={'tag':_0x4abf76(0x265),'attrs':{'xmlns':_0x4abf76(0x23e),'fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x250),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':'path','attrs':{'stroke':_0x4abf76(0x255),'d':_0x4abf76(0x2d7),'strokeLinecap':'round','strokeLinejoin':_0x4abf76(0x230),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x4abf76(0x230),'strokeLinejoin':'round','strokeWidth':1.33}}]},F=d[_0x4abf76(0x2dc)](function(_0x3f8ad8,_0x10bfb6){var _0x2fbbe9=_0x4abf76;return d[_0x2fbbe9(0x2c2)](_,Object[_0x2fbbe9(0x269)]({},_0x3f8ad8,{'id':_0x2fbbe9(0x1c4),'ref':_0x10bfb6,'icon':pe}));});F['displayName']=_0x4abf76(0x2a0);var he={'tag':_0x4abf76(0x265),'attrs':{'xmlns':_0x4abf76(0x23e),'fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x2f4),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'fill':_0x4abf76(0x255),'d':_0x4abf76(0x30c)}},{'tag':_0x4abf76(0x2b2),'attrs':{'fill':'currentColor','d':_0x4abf76(0x24e)}},{'tag':_0x4abf76(0x2b2),'attrs':{'fill':'currentColor','d':_0x4abf76(0x2d4),'fillRule':_0x4abf76(0x270),'clipRule':_0x4abf76(0x270)}}]},Y=d[_0x4abf76(0x2dc)](function(_0x4f6126,_0x44de54){var _0x7551b6=_0x4abf76;return d[_0x7551b6(0x2c2)](_,Object[_0x7551b6(0x269)]({},_0x4f6126,{'id':'help-single','ref':_0x44de54,'icon':he}));});Y['displayName']='HelpSingle';var me={'tag':_0x4abf76(0x265),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x2f4),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x4abf76(0x2e6)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'stroke':'currentColor','d':_0x4abf76(0x216),'strokeLinecap':'round','strokeLinejoin':_0x4abf76(0x230),'strokeWidth':1.2}}]},{'tag':_0x4abf76(0x2f9),'attrs':{},'children':[{'tag':_0x4abf76(0x192),'attrs':{'id':_0x4abf76(0x2de)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'fill':'white','d':_0x4abf76(0x1c2)}}]}]}],'defIds':[_0x4abf76(0x2de)]},q=d[_0x4abf76(0x2dc)](function(_0x4aabcd,_0x5c420d){var _0x30ac27=_0x4abf76;return d[_0x30ac27(0x2c2)](_,Object[_0x30ac27(0x269)]({},_0x4aabcd,{'id':_0x30ac27(0x2bd),'ref':_0x5c420d,'icon':me}));});q['displayName']=_0x4abf76(0x1fc);var xe={'tag':_0x4abf76(0x265),'attrs':{'xmlns':_0x4abf76(0x23e),'fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x2f5),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'stroke':_0x4abf76(0x255),'d':_0x4abf76(0x1cd),'strokeLinecap':_0x4abf76(0x230),'strokeLinejoin':_0x4abf76(0x230),'strokeWidth':1.2}}]},{'tag':_0x4abf76(0x2f9),'attrs':{},'children':[{'tag':_0x4abf76(0x192),'attrs':{'id':_0x4abf76(0x29a)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'fill':_0x4abf76(0x300),'d':'M0\x200H16V16H0z','transform':_0x4abf76(0x206)}}]}]}],'defIds':[_0x4abf76(0x29a)]},V=d[_0x4abf76(0x2dc)](function(_0x4e3000,_0x64a145){var _0x32fcf7=_0x4abf76;return d['createElement'](_,Object['assign']({},_0x4e3000,{'id':_0x32fcf7(0x237),'ref':_0x64a145,'icon':xe}));});V[_0x4abf76(0x1bd)]=_0x4abf76(0x2fe);function W(_0x29be56){var _0xafc3ab=_0x4abf76,_0x966e60,_0x18b8c5;const {mcpCoreConfig:_0x45a236,onSave:_0x471bc4,loading:_0x50045b=!0x1,config:_0x3fb4cb,connectionStatus$:_0x2eb46f,connectionError$:_0x1143dc,currentApiKey$:_0xc1e633,currentSessionId$:_0x4bb147}=_0x29be56,_0x3a288f=v[_0xafc3ab(0x2fc)](l[_0xafc3ab(0x2d9)]),_0x63c6d5=v[_0xafc3ab(0x241)](_0x2eb46f,s[_0xafc3ab(0x26b)]['DISCONNECTED']),_0x8b8d76=v[_0xafc3ab(0x241)](_0x1143dc,s[_0xafc3ab(0x28c)]['NONE']),_0x435f4d=v[_0xafc3ab(0x241)](_0x4bb147,''),_0x3547e6=v[_0xafc3ab(0x241)](_0xc1e633,''),[_0x5a18ff,_0x318c56]=d[_0xafc3ab(0x272)](_0x3547e6||''),_0x32ae7e=!0x0,_0x4ba684=_0x3fb4cb[_0xafc3ab(0x18a)]&&_0x45a236[_0xafc3ab(0x21f)]&&(_0x45a236[_0xafc3ab(0x21f)]['includes'](_0xafc3ab(0x1ac))||_0x45a236[_0xafc3ab(0x21f)][_0xafc3ab(0x1ec)](_0xafc3ab(0x218))),_0x489ab0=(_0x966e60=_0x45a236[_0xafc3ab(0x21f)])==null?void 0x0:_0x966e60[_0xafc3ab(0x1ec)](_0xafc3ab(0x1ac)),_0xfefe5b=(_0x18b8c5=_0x45a236[_0xafc3ab(0x21f)])==null?void 0x0:_0x18b8c5[_0xafc3ab(0x1ec)](_0xafc3ab(0x218)),_0x50827a=_0x489ab0?'https://console.univer.plus':_0xafc3ab(0x2b4),_0x51d0b4=_0x3fb4cb[_0xafc3ab(0x18a)]&&(_0x489ab0||_0xfefe5b),[_0x3b980b,_0x2718d1]=d[_0xafc3ab(0x272)](!_0x5a18ff[_0xafc3ab(0x2fd)]()),_0x3b9c5a=(_0xc37d78,_0x53b96e)=>{var _0x146aa7=_0xafc3ab;if(_0x53b96e===s[_0x146aa7(0x28c)][_0x146aa7(0x2c4)])return _0x146aa7(0x1d6);switch(_0xc37d78){case s['MCPConnectionStatus'][_0x146aa7(0x18c)]:return _0x146aa7(0x1cf);case s[_0x146aa7(0x26b)][_0x146aa7(0x290)]:case s[_0x146aa7(0x26b)][_0x146aa7(0x2dd)]:return _0x146aa7(0x2a3);case s[_0x146aa7(0x26b)][_0x146aa7(0x2c9)]:return _0x146aa7(0x1d6);default:return _0x146aa7(0x1df);}},_0x1e5c21=(_0x2aa103,_0x55f09f)=>{var _0x326d94=_0xafc3ab;if(_0x55f09f===s['MCPConnectionError'][_0x326d94(0x2c4)])return _0x326d94(0x2ae);switch(_0x2aa103){case s['MCPConnectionStatus'][_0x326d94(0x18c)]:return'univer-bg-green-500';case s[_0x326d94(0x26b)][_0x326d94(0x290)]:case s[_0x326d94(0x26b)][_0x326d94(0x2dd)]:return'univer-bg-blue-500';case s['MCPConnectionStatus']['FAILED']:return'univer-bg-red-500';default:return _0x326d94(0x261);}},_0x3c3978=_0x311bd=>{var _0x2f3528=_0xafc3ab;switch(_0x311bd){case s[_0x2f3528(0x26b)][_0x2f3528(0x18c)]:return _0x3a288f['t'](_0x2f3528(0x1ae));case s[_0x2f3528(0x26b)][_0x2f3528(0x290)]:return _0x3a288f['t'](_0x2f3528(0x1c6));case s['MCPConnectionStatus'][_0x2f3528(0x2c9)]:return _0x3a288f['t'](_0x2f3528(0x2ef));case s[_0x2f3528(0x26b)]['RETRYING']:return _0x3a288f['t'](_0x2f3528(0x21a));default:return _0x3a288f['t'](_0x2f3528(0x2e7));}},_0x4b15a5=_0x20e15d=>{var _0x20a199=_0xafc3ab;switch(_0x20e15d){case s[_0x20a199(0x28c)][_0x20a199(0x2c4)]:return _0x3a288f['t'](_0x20a199(0x1ca));case s[_0x20a199(0x28c)][_0x20a199(0x239)]:return _0x3a288f['t'](_0x20a199(0x258));case s[_0x20a199(0x28c)][_0x20a199(0x1aa)]:return _0x3a288f['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError'][_0x20a199(0x1a3)]:return _0x3a288f['t'](_0x20a199(0x30d));default:return'';}},_0x38b04b=d[_0xafc3ab(0x2b0)](()=>{const _0x1880eb={..._0x45a236,'apiKey':_0x5a18ff['trim'](),'enableAuth':_0x32ae7e};_0x471bc4(_0x1880eb);},[_0x45a236,_0x5a18ff,_0x32ae7e,_0x471bc4]),_0x3a2784=_0x5a18ff[_0xafc3ab(0x2fd)]()[_0xafc3ab(0x2c3)]>0x0;return t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2a5),'children':[t[_0xafc3ab(0x1c1)]('div',{'className':_0xafc3ab(0x2c6),'children':t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x289),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x19f),'children':t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':'univer-text-white','children':'⚙'})}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'children':t['jsx']('p',{'className':_0xafc3ab(0x264),'children':_0x3a288f['t']('mcpConfig.description')})})]})}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x25c),'children':[t[_0xafc3ab(0x1c1)]('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3b9c5a(_0x63c6d5,_0x8b8d76)+_0xafc3ab(0x1f9),'children':t['jsxs'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x226),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1e5c21(_0x63c6d5,_0x8b8d76)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':_0xafc3ab(0x31f),'children':_0x3c3978(_0x63c6d5)})]})}),_0x8b8d76!==s[_0xafc3ab(0x28c)][_0xafc3ab(0x18d)]&&(_0x63c6d5===s[_0xafc3ab(0x26b)][_0xafc3ab(0x2c9)]||_0x8b8d76===s['MCPConnectionError'][_0xafc3ab(0x2c4)])&&t[_0xafc3ab(0x1c1)]('div',{'className':_0xafc3ab(0x1a5),'children':t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x22c),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),t['jsx']('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x4b15a5(_0x8b8d76)})]})})]}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':t['jsxs'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x24b),'children':[t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2ba),'children':[t[_0xafc3ab(0x315)](_0xafc3ab(0x313),{'className':_0xafc3ab(0x305),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'children':'🔑'}),'\x20',_0x3a288f['t']('mcpConfig.apiKey'),t[_0xafc3ab(0x1c1)]('span',{'className':_0xafc3ab(0x24c),'children':'*'}),_0x4ba684&&t[_0xafc3ab(0x1c1)]('a',{'href':'javascript:void(0)','onClick':()=>_0x2718d1(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x3a288f['t'](_0xafc3ab(0x210)),'children':t[_0xafc3ab(0x1c1)](Y,{})})]}),t[_0xafc3ab(0x1c1)](S['Input'],{'type':_0xafc3ab(0x2fb),'placeholder':_0x3a288f['t'](_0xafc3ab(0x22a)),'value':_0x5a18ff,'onChange':_0x318c56,'disabled':_0x50045b,'autoComplete':_0xafc3ab(0x28f)}),t['jsx']('p',{'className':_0xafc3ab(0x320),'children':_0x3a288f['t']('mcpConfig.apiKeyHint')})]}),_0x4ba684&&_0x3b980b&&t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x31d),'children':[t[_0xafc3ab(0x1c1)]('a',{'href':_0xafc3ab(0x30b),'onClick':()=>_0x2718d1(!0x1),'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','title':'Close','children':t['jsx'](F,{})}),t[_0xafc3ab(0x315)]('div',{'className':_0xafc3ab(0x220),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1f1),'children':t[_0xafc3ab(0x1c1)]('span',{'className':'univer-text-blue-600','children':'🚀'})}),t['jsxs']('div',{'className':_0xafc3ab(0x1de),'children':[t[_0xafc3ab(0x1c1)]('h4',{'className':_0xafc3ab(0x1a4),'children':_0x3a288f['t'](_0xafc3ab(0x210))}),t['jsx']('p',{'className':_0xafc3ab(0x292),'children':_0x3a288f['t'](_0xafc3ab(0x238))}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x25b),'children':_0x51d0b4&&t[_0xafc3ab(0x315)]('a',{'href':_0x50827a,'target':'_blank','rel':_0xafc3ab(0x2cb),'className':_0xafc3ab(0x31e),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'children':'🤖'}),_0x3a288f['t']('mcpConfig.apiApplyInfo.univerAiLabel'),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':'univer-text-gray-400','children':'↗'})]})}),t[_0xafc3ab(0x315)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3a288f['t'](_0xafc3ab(0x1a6))]})]})]})]}),_0x3fb4cb[_0xafc3ab(0x18a)]&&t['jsxs']('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[t[_0xafc3ab(0x315)]('h4',{'className':_0xafc3ab(0x2b3),'children':[t['jsx'](_0xafc3ab(0x1cc),{'children':'🔗'}),'\x20',_0x3a288f['t'](_0xafc3ab(0x2d3))]}),t[_0xafc3ab(0x315)]('div',{'className':'univer-space-y-4','children':[t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1f7),'children':[t['jsx']('p',{'className':_0xafc3ab(0x2ca),'children':_0x3a288f['t'](_0xafc3ab(0x27c))}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2ba),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1ed),'children':_0x3a288f['t'](_0xafc3ab(0x205))}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x260),'children':[t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x226),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':_0xafc3ab(0x2ab),'children':'1'}),_0x3a288f['t'](_0xafc3ab(0x2e3))]}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x226),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':_0xafc3ab(0x2ab),'children':'2'}),_0x3a288f['t'](_0xafc3ab(0x298))]}),t['jsxs'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x226),'children':[t[_0xafc3ab(0x1c1)]('span',{'className':_0xafc3ab(0x2ab),'children':'3'}),_0x3a288f['t']('mcpConfig.configStep3')]})]})]})]}),t['jsxs'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2ba),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0xafc3ab(0x1be)}),t['jsx'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1b6),'children':t[_0xafc3ab(0x1c1)](_0xafc3ab(0x26e),{'className':_0xafc3ab(0x25a),'children':_0xafc3ab(0x30a)+_0x435f4d+_0xafc3ab(0x1dd)+(_0x5a18ff||'<API_KEY>')+_0xafc3ab(0x316)})})]}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1f7),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1ed),'children':_0x3a288f['t'](_0xafc3ab(0x1f6))}),t['jsxs'](_0xafc3ab(0x2a2),{'className':'univer-space-y-2','children':[t['jsxs'](_0xafc3ab(0x2a2),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2ad)}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x297),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0xafc3ab(0x21d)}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x320),'children':_0x3a288f['t']('mcpConfig.sessionIdDescription')})]})]}),t[_0xafc3ab(0x315)]('div',{'className':_0xafc3ab(0x2cf),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x297),'children':[t[_0xafc3ab(0x1c1)]('div',{'className':_0xafc3ab(0x29b),'children':_0xafc3ab(0x319)}),t['jsx']('div',{'className':_0xafc3ab(0x320),'children':_0x3a288f['t'](_0xafc3ab(0x2f2))})]})]})]})]})]})]}),t[_0xafc3ab(0x1c1)](S[_0xafc3ab(0x24d)],{'onClick':_0x38b04b,'disabled':!_0x3a2784||_0x50045b,'className':_0xafc3ab(0x23b),'children':_0x50045b?t[_0xafc3ab(0x315)](_0xafc3ab(0x1cc),{'className':_0xafc3ab(0x226),'children':[t['jsx'](_0xafc3ab(0x1cc),{'children':'⟲'}),_0x3a288f['t'](_0xafc3ab(0x1e2))]}):t[_0xafc3ab(0x315)](_0xafc3ab(0x1cc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t[_0xafc3ab(0x1c1)](B,{}),_0x3a288f['t'](_0xafc3ab(0x29c))]})}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1b2),'children':t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1d7),'children':[t[_0xafc3ab(0x1c1)]('span',{'className':_0xafc3ab(0x2db),'children':'💡'}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x246),'children':'Configuration\x20Notes:'}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'children':['•',_0x3a288f['t']('mcpConfig.note1')]}),t['jsxs'](_0xafc3ab(0x2a2),{'children':['•',_0x3a288f['t'](_0xafc3ab(0x1e3))]})]})]})})]})})]});}const y=_0x4abf76(0x2a9),G={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x3bfb(){var _0x262966=['NONE','_loading$','_dialogService','CheckMarkIcon','validateApiKey','clipPath','className','Configuration\x20Parameters:','warn','MCPConnectionController','MCP:\x20超出最大重试次数','mcpConfig.validation.invalidApiKey','Bearer\x20','getOwnPropertyDescriptor','_initializeMenus','defIds','Failed\x20to\x20save\x20configuration','重连中...','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','setItem','Copy\x20the\x20JSON\x20configuration\x20below','univerjs-icon\x20univerjs-icon-','MAX_RETRIES_EXCEEDED','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.apiApplyInfo.getStarted','next','UniverIcon','errorMessage','NETWORK_ERROR','Session\x20ID','univer.plus','BehaviorSubject','mcpConfig.connectionStatus.connected','concat','zhCN','ICommandService','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','几秒钟内获取您的\x20API\x20密钥','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCPStatusDisplay','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Univer\x20AI\x20控制台','check-mark-icon','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpConfig.validation.apiKeyRequired','ComponentManager','displayName','MCP\x20Configuration','mcp-ui.command.openConfigPanel','API\x20key\x20with\x20Bearer\x20prefix.','jsx','M0\x200H16V16H0z','sessionId$','close-small-single','_commandService','mcpConfig.connectionStatus.connecting','replace','__setCustomHeaders','会话ID','mcpConfig.connectionError.unauthorized','请输入您的\x20API\x20密钥','span','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','MCP\x20状态未知','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','配置参数:','_menuManagerService','Click\x20to\x20connect\x20MCP','IMenuManagerService','带有\x20Bearer\x20前缀的\x20API\x20密钥。','Click\x20to\x20configure\x20MCP','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-flex\x20univer-gap-3','mcpStatus.connecting','_registerComponent','HEADER_MENU','API\x20密钥无效,请检查密钥是否正确','\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','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','univer-flex-1','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','ILogService','mcpConfig.saving','mcpConfig.note2','MCP\x20Client\x20Configuration','MCP\x20Disconnected','连接中...','IConfigService','MCP_UI_PLUGIN','OTHERS','_config$','MessageType','includes','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','配置保存失败','WebSocketService','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','MCP\x20Connecting...','Success','IUIPartsService','MCP:\x20Network\x20Error','mcpConfig.configParameters','univer-space-y-3','115mObkeN','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','DependentOn','6rvzRoa','OffLineIcon','_mcpCoreConfig$','MCP:\x20未授权','Enable\x20authentication\x20for\x20secure\x20connections','univer-flex\x20univer-items-center','16232PiDmlN','API\x20密钥长度至少需要\x2010\x20位','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','mcpConfig.configStepTitle','translate(.97)','\x20-\x20','show','hasOwnProperty','_configService','RibbonStartGroup','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','propertyIsEnumerable','mcpStatus.unknown','IDialogService','mcpConfig.apiApplyInfo.title','OpenMCPConfigPanelCommand','Connected','Connecting...','connectInjector','indexOf','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','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer.ai','启用身份验证','mcpConfig.connectionStatus.retrying','Enter\x20your\x20API\x20key','_localeService','univer_session_id:','546luSpCl','mcpServerUrl','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Inject','配置更改将立即生效','colorChannel1','showStatus','BUTTON','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.title','toStringTag','COMMAND','mcpConfig.apiKeyPlaceholder','mask','univer-flex\x20univer-items-start\x20univer-gap-2','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','subscribe','UniverMCPUIPlugin','round','icon','_logService','has','最大重试次数','2163618RBWLKP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','on-line-icon','mcpConfig.apiApplyInfo.description','SESSION_ID_OCCUPIED','MCP\x20已断开','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','_initAutoConnect','ILocalStorageService','http://www.w3.org/2000/svg','xlink:href','DISCONNECTED','useObservable','_uiPartsService','_config','MenuIcon','_injector','univer-font-medium','mcpConfig.configError','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','univer-space-y-5','univer-text-red-500','Button','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','prototype','0\x200\x2017\x2017','use','未连接','getCurrentConfig','Max\x20Retries','currentColor','isValid','API\x20密钥','mcpConfig.connectionError.sessionOccupied','启用身份验证以获得安全连接','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_initStatusComponent','您的\x20API\x20密钥安全存储在本地存储中','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-bg-gray-500','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','random','univer-text-sm\x20univer-text-gray-500','svg','get','_mcpConnectionController','权限验证失败,请检查您的\x20API\x20密钥','assign','211285UboMtY','MCPConnectionStatus','connectionError$','map','pre','tag','evenodd','string','useState','forEach','open','removeItem','1722915qFQMyz','push','fill','配置步骤:','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Connection\x20Failed','mcpConfig.configInstructions','复制以下\x20JSON\x20配置','mcpStatus.sessionOccupied','register','univer-text-gray-500','_connectionController','配置\x20MCP\x20使用\x20AI\x20操作电子表格','UniverMCPPlugin','extend','MCPUIMenuController','API\x20Key','apiKey','MenuItemType','univer-flex\x20univer-items-center\x20univer-gap-3','_handleConfigSave','MCP\x20已连接','MCPConnectionError','MCP_PLUGIN_CONFIG_KEY','MCP:\x20网络错误','off','CONNECTING','setConfig','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','pluginName','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20Retrying...','_createConfigPanelComponent','univer-min-w-0\x20univer-flex-1','mcpConfig.configStep2','_messageService','on-line-icon_clip0_910_349','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.save','Saving...','subscribeConfigValue$','bottom','CloseSmallSingle','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','div','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','点击配置\x20MCP','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','3318689fMtDqY','883420QyaWgU','toString','mcp-ui.config','1em','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','showConfigPanel','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-bg-red-500','url(#$1','useCallback','保存中...','path','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','https://console.univer.ai','none','Injector','API\x20密钥不能为空','mcpConfig.validation.apiKeyTooShort','MCPConfigUIController','univer-space-y-2','点击连接\x20MCP','disposeWithMe','off-line-icon','IMessageService','MCP\x20连接失败','clsx','children','createElement','length','UNAUTHORIZED','mcpStatus.retrying','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','onStarting','Tooltip','FAILED','univer-text-xs\x20univer-text-gray-600','noopener\x20noreferrer','mergeMenu','add','_validateConfig','univer-flex\x20univer-items-start\x20univer-gap-3','idSuffix','MCPConfigPanel','getConfig','mcpConfig.connectionInfo','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','会话\x20ID\x20已被占用,请稍后再试','getOwnPropertySymbols','M5.21243\x205.62036L11.8791\x2012.287','mcpConfig.validation.invalidConfig','LocaleService','Configuration\x20Steps:','univer-flex-shrink-0\x20univer-text-blue-500','forwardRef','RETRYING','off-line-icon_clip0_910_343','保存配置','_initializeCommands','close','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpConfig.configStep1','enableAutoConnect','网络连接错误,请检查您的网络连接','url(#off-line-icon_clip0_910_343)','mcpConfig.connectionStatus.disconnected','mcpStatus.unauthorized','63770hHsmiB','什么是\x20API\x20密钥?','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20saved\x20successfully','univer-text-green-500','MCP\x20客户端配置','mcpConfig.connectionStatus.failed','MCP\x20Connected','_initConfigSync','mcpConfig.authorizationDescription','function','0\x200\x2016\x2016','0\x200\x2017\x2016','error','entries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','defs','current','text','useDependency','trim','OnLineIcon','ISocketService','white','重启您的\x20MCP\x20客户端以使配置生效','symbol','value','Save\x20Configuration','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','Error','配置无效','Retrying...','_handleConfigure','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','javascript:void(0)','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','mcpConfig.connectionError.maxRetriesExceeded','Enable\x20Authentication','connectionStatus$','registerCommand','Disposable','_loadStoredApiKey','label','MCPConnectionUIController','jsxs','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','_apiKey$','Module','Authorization:','apply','_localStorageService','attrs','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-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-sm\x20univer-font-medium','univer-text-xs\x20univer-text-gray-500','defineProperty','mcpConfig.configSaved','showDeveloperTools','24zhznTH','CONNECTED'];_0x3bfb=function(){return _0x262966;};return _0x3bfb();}var Se=Object[_0x4abf76(0x19a)],Pe=(_0x17417d,_0x58443e,_0x1c32d4,_0x92ec2c)=>{var _0x44f3f2=_0x4abf76;for(var _0x1cd1e7=_0x92ec2c>0x1?void 0x0:_0x92ec2c?Se(_0x58443e,_0x1c32d4):_0x58443e,_0x2446b1=_0x17417d[_0x44f3f2(0x2c3)]-0x1,_0x26556e;_0x2446b1>=0x0;_0x2446b1--)(_0x26556e=_0x17417d[_0x2446b1])&&(_0x1cd1e7=_0x26556e(_0x1cd1e7)||_0x1cd1e7);return _0x1cd1e7;},f=(_0x291482,_0x45519d)=>(_0x511f50,_0x2459d1)=>_0x45519d(_0x511f50,_0x2459d1,_0x291482);const D='mcp.apiKey',k='mcp-config-dialog';exports['MCPConfigUIController']=class extends l['Disposable']{constructor(_0x53c740,_0x34de5c,_0xbee0ba,_0x23394b,_0x1b99c8,_0xb1ed34,_0x5deb5e,_0x3d23aa,_0x8a1eee,_0x45f84e){var _0x4d3e7d=_0x4abf76;super(),I(this,_0x4d3e7d(0x18e),new N[(_0x4d3e7d(0x1ad))](!0x1)),I(this,_0x4d3e7d(0x1fd),new N[(_0x4d3e7d(0x1ad))]({})),I(this,_0x4d3e7d(0x1ea),new N[(_0x4d3e7d(0x1ad))]({})),I(this,'_apiKey$',new N['BehaviorSubject']('')),I(this,_0x4d3e7d(0x28a),async _0x23e303=>{var _0x2f2d49=_0x4d3e7d,_0x54b874,_0x294d68;this[_0x2f2d49(0x18e)][_0x2f2d49(0x1a7)](!0x0);try{const _0x4703ac=await this['_validateConfig'](_0x23e303);if(!_0x4703ac[_0x2f2d49(0x256)]){this[_0x2f2d49(0x299)][_0x2f2d49(0x208)]({'type':S['MessageType'][_0x2f2d49(0x306)],'content':_0x4703ac[_0x2f2d49(0x1a9)]||this['_localeService']['t'](_0x2f2d49(0x2d8))});return;}_0x23e303[_0x2f2d49(0x287)]?await this['_localStorageService'][_0x2f2d49(0x1a0)](D,_0x23e303[_0x2f2d49(0x287)][_0x2f2d49(0x2fd)]()):await this['_localStorageService'][_0x2f2d49(0x275)](D),this['_apiKey$'][_0x2f2d49(0x1a7)](((_0x54b874=_0x23e303['apiKey'])==null?void 0x0:_0x54b874[_0x2f2d49(0x2fd)]())||''),this[_0x2f2d49(0x267)][_0x2f2d49(0x1c8)]({'Authorization':_0x2f2d49(0x199)+((_0x294d68=_0x23e303[_0x2f2d49(0x287)])==null?void 0x0:_0x294d68[_0x2f2d49(0x2fd)]())}),this[_0x2f2d49(0x299)][_0x2f2d49(0x208)]({'type':S[_0x2f2d49(0x1eb)][_0x2f2d49(0x1f3)],'content':this[_0x2f2d49(0x21c)]['t'](_0x2f2d49(0x189))}),setTimeout(()=>{var _0x4fab42=_0x2f2d49;this[_0x4fab42(0x18f)][_0x4fab42(0x2e1)](k);},0x320);}catch(_0x50eaea){this[_0x2f2d49(0x232)][_0x2f2d49(0x2f6)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x50eaea),this[_0x2f2d49(0x299)]['show']({'type':S[_0x2f2d49(0x1eb)][_0x2f2d49(0x306)],'content':this[_0x2f2d49(0x21c)]['t'](_0x2f2d49(0x247))});}finally{this['_loading$']['next'](!0x1);}}),(this[_0x4d3e7d(0x245)]=_0x53c740,this['_uiPartsService']=_0x34de5c,this[_0x4d3e7d(0x20a)]=_0xbee0ba,this[_0x4d3e7d(0x31b)]=_0x23394b,this[_0x4d3e7d(0x18f)]=_0x1b99c8,this[_0x4d3e7d(0x299)]=_0xb1ed34,this['_componentManager']=_0x5deb5e,this[_0x4d3e7d(0x21c)]=_0x3d23aa,this[_0x4d3e7d(0x232)]=_0x8a1eee,this[_0x4d3e7d(0x267)]=_0x45f84e,this['_initConfigSync'](),this[_0x4d3e7d(0x312)](),this['_registerComponent']());}[_0x4abf76(0x2ac)](){var _0x22ed8e=_0x4abf76;const _0x3ff2fe=this['_configService'][_0x22ed8e(0x2d2)](y);_0x3ff2fe!=null&&_0x3ff2fe[_0x22ed8e(0x18a)]&&this['_dialogService'][_0x22ed8e(0x274)]({'id':k,'title':{'title':this[_0x22ed8e(0x21c)]['t'](_0x22ed8e(0x227))},'children':{'label':_0x22ed8e(0x2d1)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x37724c=_0x22ed8e;this[_0x37724c(0x18f)][_0x37724c(0x2e1)](k);}});}[_0x4abf76(0x253)](){var _0x52bc8c=_0x4abf76;return this[_0x52bc8c(0x1fd)][_0x52bc8c(0x303)];}[_0x4abf76(0x1d9)](){var _0x4c2612=_0x4abf76;this[_0x4c2612(0x2bc)](this['_componentManager'][_0x4c2612(0x27f)](_0x4c2612(0x2d1),this[_0x4c2612(0x296)]()));}['_createConfigPanelComponent'](){var _0x59144a=_0x4abf76;return v[_0x59144a(0x214)](()=>{var _0x113c99=_0x59144a,_0x4d20bd,_0x1d124e,_0x582134;return t[_0x113c99(0x1c1)](W,{'config':this[_0x113c99(0x1ea)][_0x113c99(0x303)],'mcpCoreConfig':this[_0x113c99(0x1fd)][_0x113c99(0x303)],'currentApiKey$':this[_0x113c99(0x317)],'onSave':this[_0x113c99(0x28a)],'loading':this[_0x113c99(0x18e)][_0x113c99(0x303)],'connectionStatus$':(_0x4d20bd=this[_0x113c99(0x267)])==null?void 0x0:_0x4d20bd[_0x113c99(0x30f)],'connectionError$':(_0x1d124e=this[_0x113c99(0x267)])==null?void 0x0:_0x1d124e[_0x113c99(0x26c)],'currentSessionId$':(_0x582134=this[_0x113c99(0x267)])==null?void 0x0:_0x582134[_0x113c99(0x1c3)]});},this['_injector']);}[_0x4abf76(0x2f1)](){var _0x5092cb=_0x4abf76;this['disposeWithMe'](this[_0x5092cb(0x20a)][_0x5092cb(0x29e)](s['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x3faad6=>{var _0xd17636=_0x5092cb;this[_0xd17636(0x1fd)][_0xd17636(0x1a7)](_0x3faad6||{});}));const _0x34b121=this['_configService'][_0x5092cb(0x2d2)](s[_0x5092cb(0x28d)]);this['_mcpCoreConfig$'][_0x5092cb(0x1a7)](_0x34b121||{}),this[_0x5092cb(0x2bc)](this['_configService'][_0x5092cb(0x29e)](y)[_0x5092cb(0x22e)](_0x4b2420=>{var _0x50d19=_0x5092cb;this['_config$'][_0x50d19(0x1a7)](_0x4b2420||{});}));const _0x41d268=this[_0x5092cb(0x20a)][_0x5092cb(0x2d2)](y);this[_0x5092cb(0x1ea)][_0x5092cb(0x1a7)](_0x41d268||{});}async['_loadStoredApiKey'](){var _0x30bc94=_0x4abf76;const _0x3a53a8=this[_0x30bc94(0x20a)]['getConfig'](y);if(!(_0x3a53a8!=null&&_0x3a53a8['showDeveloperTools']))return;const _0x1e95e2=await this[_0x30bc94(0x31b)]['getItem'](D);_0x1e95e2&&(this[_0x30bc94(0x267)][_0x30bc94(0x1c8)]({'Authorization':_0x30bc94(0x199)+_0x1e95e2}),this[_0x30bc94(0x317)][_0x30bc94(0x1a7)](_0x1e95e2));}async[_0x4abf76(0x2ce)](_0x59a6ea){var _0x1a0f23=_0x4abf76;if(!_0x59a6ea['apiKey']||_0x59a6ea[_0x1a0f23(0x287)]['trim']()[_0x1a0f23(0x2c3)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1a0f23(0x21c)]['t'](_0x1a0f23(0x1bb))};if(_0x59a6ea[_0x1a0f23(0x287)][_0x1a0f23(0x2fd)]()[_0x1a0f23(0x2c3)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1a0f23(0x21c)]['t'](_0x1a0f23(0x2b8))};try{const _0x423219=await this[_0x1a0f23(0x245)][_0x1a0f23(0x266)](s[_0x1a0f23(0x196)])[_0x1a0f23(0x191)](_0x59a6ea[_0x1a0f23(0x287)][_0x1a0f23(0x2fd)]());return _0x423219[_0x1a0f23(0x256)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x423219[_0x1a0f23(0x2f6)]||this[_0x1a0f23(0x21c)]['t'](_0x1a0f23(0x198))};}catch(_0x40497f){return console[_0x1a0f23(0x195)](_0x1a0f23(0x2e2),_0x40497f),{'isValid':!0x0};}}},exports[_0x4abf76(0x2b9)]=Pe([f(0x0,l[_0x4abf76(0x221)](l[_0x4abf76(0x2b6)])),f(0x1,v[_0x4abf76(0x1f4)]),f(0x2,l['IConfigService']),f(0x3,l[_0x4abf76(0x23d)]),f(0x4,v[_0x4abf76(0x20f)]),f(0x5,v[_0x4abf76(0x2be)]),f(0x6,l[_0x4abf76(0x221)](v[_0x4abf76(0x1bc)])),f(0x7,l[_0x4abf76(0x221)](l[_0x4abf76(0x2d9)])),f(0x8,l[_0x4abf76(0x1e1)]),f(0x9,l[_0x4abf76(0x221)](s['MCPConnectionController']))],exports[_0x4abf76(0x2b9)]);const j={'id':_0x4abf76(0x1bf),'type':l['CommandType'][_0x4abf76(0x229)],'handler':async(_0x209c07,_0x322515)=>(_0x209c07[_0x4abf76(0x266)](exports['MCPConfigUIController'])[_0x4abf76(0x2ac)](),!0x0)};function Z(_0x30f726,_0x3fa356){var _0x59bc42=_0x4abf76;switch(_0x30f726){case s[_0x59bc42(0x26b)]['DISCONNECTED']:return'mcpStatus.disconnected';case s[_0x59bc42(0x26b)][_0x59bc42(0x290)]:return _0x59bc42(0x1d8);case s[_0x59bc42(0x26b)][_0x59bc42(0x18c)]:return'mcpStatus.connected';case s[_0x59bc42(0x26b)][_0x59bc42(0x2c9)]:switch(_0x3fa356){case s['MCPConnectionError'][_0x59bc42(0x2c4)]:return _0x59bc42(0x2e8);case s['MCPConnectionError'][_0x59bc42(0x239)]:return _0x59bc42(0x27e);case s['MCPConnectionError']['NETWORK_ERROR']:return'mcpStatus.networkError';case s[_0x59bc42(0x28c)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case s['MCPConnectionStatus'][_0x59bc42(0x2dd)]:return _0x59bc42(0x2c5);default:return _0x59bc42(0x20e);}}function ye(_0xfd1cda,_0xf2d3a1,_0x55c6d1,_0x2ae8f1=!0x0){var _0x57e426=_0x4abf76;const _0x5b7df3=Z(_0xfd1cda,_0xf2d3a1),_0x2ef20b=_0x55c6d1['t'](_0x5b7df3);return _0x2ae8f1?_0xfd1cda===s[_0x57e426(0x26b)][_0x57e426(0x240)]&&_0xf2d3a1===s[_0x57e426(0x28c)][_0x57e426(0x2c4)]?_0x2ef20b+_0x57e426(0x207)+_0x55c6d1['t']('mcpStatus.clickToConfigure'):_0xfd1cda===s[_0x57e426(0x26b)]['CONNECTED']?''+_0x2ef20b:_0xfd1cda===s[_0x57e426(0x26b)]['DISCONNECTED']||_0xfd1cda===s[_0x57e426(0x26b)][_0x57e426(0x2c9)]?_0x2ef20b+_0x57e426(0x207)+_0x55c6d1['t']('mcpStatus.clickToConnect'):_0x2ef20b:_0x2ef20b;}function Ie(_0x27c201){var _0x55039d=_0x4abf76;switch(_0x27c201){case s[_0x55039d(0x26b)][_0x55039d(0x18c)]:return _0x55039d(0x2ed);case s[_0x55039d(0x26b)][_0x55039d(0x290)]:case s['MCPConnectionStatus'][_0x55039d(0x2dd)]:return'univer-text-yellow-500';case s['MCPConnectionStatus']['FAILED']:case s[_0x55039d(0x26b)]['DISCONNECTED']:return'univer-text-red-500';default:return _0x55039d(0x280);}}function X(_0x3de0b4){var _0xaa6768=_0x4abf76;const {status$:_0x2a309e,error$:_0x53b35d,onConfigure:_0x1ac039,showClickable:_0x1997fe=!0x0}=_0x3de0b4,_0xba56a6=v[_0xaa6768(0x241)](_0x2a309e,s[_0xaa6768(0x26b)][_0xaa6768(0x240)]),_0x316747=v[_0xaa6768(0x241)](_0x53b35d,s[_0xaa6768(0x28c)][_0xaa6768(0x18d)]),_0x4fc056=v[_0xaa6768(0x2fc)](l[_0xaa6768(0x2d9)]),_0x23bf33=_0xba56a6===s[_0xaa6768(0x26b)][_0xaa6768(0x18c)];_0xba56a6===s['MCPConnectionStatus'][_0xaa6768(0x290)]||s[_0xaa6768(0x26b)][_0xaa6768(0x2dd)];const _0x8f4adb=_0x4fc056['t'](Z(_0xba56a6,_0x316747)),_0xd434a7=ye(_0xba56a6,_0x316747,_0x4fc056,_0x1997fe),_0x4cb9bf=Ie(_0xba56a6),_0x1a39ab=_0x23bf33?t[_0xaa6768(0x1c1)](V,{}):t['jsx'](q,{}),_0x3db9c2=d[_0xaa6768(0x2b0)](()=>{_0x1997fe&&_0x1ac039&&_0x1ac039();},[_0x1997fe,_0x1ac039]);function _0x35299c(){var _0x21c5a9=_0xaa6768;return t['jsxs'](_0x21c5a9(0x2a2),{'className':S[_0x21c5a9(0x2c0)](_0x21c5a9(0x200),_0x1997fe&&_0x1ac039&&_0x21c5a9(0x1dc)),'onClick':_0x1997fe&&_0x1ac039?_0x3db9c2:void 0x0,'children':[t[_0x21c5a9(0x1c1)](_0x21c5a9(0x2a2),{'className':S[_0x21c5a9(0x2c0)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x4cb9bf),'children':_0x1a39ab}),t[_0x21c5a9(0x1c1)](_0x21c5a9(0x2a2),{'className':_0x21c5a9(0x1b4),'children':_0x8f4adb})]});}return t[_0xaa6768(0x1c1)](S[_0xaa6768(0x2c8)],{'title':_0xd434a7,'placement':_0xaa6768(0x29f),'children':_0x35299c()});}var _e=Object[_0x4abf76(0x19a)],Me=(_0x28ed71,_0x50c6c9,_0x5211ba,_0x1742f5)=>{var _0x2e1468=_0x4abf76;for(var _0x4fbc9a=_0x1742f5>0x1?void 0x0:_0x1742f5?_e(_0x50c6c9,_0x5211ba):_0x50c6c9,_0x4337b2=_0x28ed71[_0x2e1468(0x2c3)]-0x1,_0x482d6f;_0x4337b2>=0x0;_0x4337b2--)(_0x482d6f=_0x28ed71[_0x4337b2])&&(_0x4fbc9a=_0x482d6f(_0x4fbc9a)||_0x4fbc9a);return _0x4fbc9a;},b=(_0x4faaa3,_0x14cc99)=>(_0x2cea3d,_0x86cd46)=>_0x14cc99(_0x2cea3d,_0x86cd46,_0x4faaa3);exports['MCPConnectionUIController']=class extends l[_0x4abf76(0x311)]{constructor(_0x40ef86,_0x284a51,_0x39c6ba,_0xfe2cd9){var _0x1353e0=_0x4abf76;super(),this[_0x1353e0(0x245)]=_0x40ef86,this['_connectionController']=_0x284a51,this['_uiPartsService']=_0x39c6ba,this[_0x1353e0(0x20a)]=_0xfe2cd9,this['_initAutoConnect'](),this[_0x1353e0(0x25d)]();}[_0x4abf76(0x23c)](){var _0x48eb37=_0x4abf76;const _0x2445ee=this['_configService'][_0x48eb37(0x2d2)](y);_0x2445ee!=null&&_0x2445ee[_0x48eb37(0x18a)]&&(this['_connectionController'][_0x48eb37(0x2e4)]=!0x1);}[_0x4abf76(0x25d)](){var _0x430617=_0x4abf76;const _0x50d6d9=this[_0x430617(0x20a)]['getConfig'](y);(_0x50d6d9==null?void 0x0:_0x50d6d9[_0x430617(0x224)])!==!0x1&&this[_0x430617(0x2bc)](this[_0x430617(0x242)]['registerComponent'](v['BuiltInUIPart'][_0x430617(0x1da)],()=>{var _0x2b7d2b=_0x430617,_0xebb856;return v[_0x2b7d2b(0x214)](Ne({'status$':this[_0x2b7d2b(0x281)][_0x2b7d2b(0x30f)],'error$':this[_0x2b7d2b(0x281)][_0x2b7d2b(0x26c)],'onConfigure':()=>this[_0x2b7d2b(0x309)](),'showClickable':(_0xebb856=_0x50d6d9==null?void 0x0:_0x50d6d9['showDeveloperTools'])!=null?_0xebb856:!0x1}),this[_0x2b7d2b(0x245)]);}));}['_handleConfigure'](){var _0x1ec27d=_0x4abf76;this['_injector'][_0x1ec27d(0x266)](exports['MCPConfigUIController'])[_0x1ec27d(0x2ac)]();}},exports[_0x4abf76(0x314)]=Me([b(0x0,l[_0x4abf76(0x221)](l[_0x4abf76(0x2b6)])),b(0x1,l[_0x4abf76(0x221)](s[_0x4abf76(0x196)])),b(0x2,v[_0x4abf76(0x1f4)]),b(0x3,l[_0x4abf76(0x1e7)])],exports[_0x4abf76(0x314)]);function _0x5c61(_0x4fa7a0,_0x367482){var _0x3bfb03=_0x3bfb();return _0x5c61=function(_0x5c616d,_0x402280){_0x5c616d=_0x5c616d-0x189;var _0x20c8e7=_0x3bfb03[_0x5c616d];return _0x20c8e7;},_0x5c61(_0x4fa7a0,_0x367482);}function Ne(_0x31ed8e){const {status$:_0x1b85ed,error$:_0x4497df,onConfigure:_0x40d51d,showClickable:_0x2535d5}=_0x31ed8e;return function(){var _0xf2ad25=_0x5c61;return t[_0xf2ad25(0x1c1)](X,{'status$':_0x1b85ed,'error$':_0x4497df,'onConfigure':_0x40d51d,'showClickable':_0x2535d5});};}function be(_0x393a50){var _0x1c3980=_0x4abf76;return{'id':j['id'],'type':v[_0x1c3980(0x288)][_0x1c3980(0x225)],'icon':_0x1c3980(0x244),'title':_0x1c3980(0x227),'tooltip':'mcpConfig.title'};}const je={[v[_0x4abf76(0x20b)][_0x4abf76(0x1e9)]]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object['getOwnPropertyDescriptor'],we=(_0x3c942d,_0x549154,_0x49cfa3,_0x123ae5)=>{var _0x2cd1f1=_0x4abf76;for(var _0x4d0686=_0x123ae5>0x1?void 0x0:_0x123ae5?Ee(_0x549154,_0x49cfa3):_0x549154,_0x563d52=_0x3c942d[_0x2cd1f1(0x2c3)]-0x1,_0x4f56fd;_0x563d52>=0x0;_0x563d52--)(_0x4f56fd=_0x3c942d[_0x563d52])&&(_0x4d0686=_0x4f56fd(_0x4d0686)||_0x4d0686);return _0x4d0686;},z=(_0x4868c3,_0x2f2276)=>(_0x8f403b,_0xc1594c)=>_0x2f2276(_0x8f403b,_0xc1594c,_0x4868c3);exports['MCPUIMenuController']=class extends l[_0x4abf76(0x311)]{constructor(_0x372175,_0x494574){var _0x3d7c6c=_0x4abf76;super(),this['_commandService']=_0x372175,this[_0x3d7c6c(0x1d1)]=_0x494574,this['_initializeCommands'](),this['_initializeMenus']();}[_0x4abf76(0x2e0)](){var _0x259fd1=_0x4abf76;[j][_0x259fd1(0x273)](_0x5b40dc=>{var _0x463e80=_0x259fd1;this[_0x463e80(0x2bc)](this[_0x463e80(0x1c5)][_0x463e80(0x310)](_0x5b40dc));});}[_0x4abf76(0x19b)](){var _0x18d5a6=_0x4abf76;this[_0x18d5a6(0x1d1)][_0x18d5a6(0x2cc)](je);}},exports['MCPUIMenuController']=we([z(0x0,l[_0x4abf76(0x1b1)]),z(0x1,v[_0x4abf76(0x1d3)])],exports[_0x4abf76(0x285)]);const Oe={'mcpStatus':{'disconnected':_0x4abf76(0x1e5),'connecting':_0x4abf76(0x1f2),'connected':_0x4abf76(0x2f0),'failed':_0x4abf76(0x204),'retrying':_0x4abf76(0x295),'unknown':_0x4abf76(0x248),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4abf76(0x1f5),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4abf76(0x1d2),'clickToConfigure':_0x4abf76(0x1d5)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4abf76(0x2a1),'apiKey':_0x4abf76(0x286),'apiKeyPlaceholder':_0x4abf76(0x21b),'apiKeyHint':_0x4abf76(0x236),'enableAuth':_0x4abf76(0x30e),'enableAuthHint':_0x4abf76(0x1ff),'connectionInfo':_0x4abf76(0x1e4),'mcpClientConfig':_0x4abf76(0x1e4),'configInstructions':_0x4abf76(0x203),'configStepTitle':_0x4abf76(0x2da),'configStep1':_0x4abf76(0x1a1),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4abf76(0x20c),'sessionId':_0x4abf76(0x1ab),'sessionIdDescription':_0x4abf76(0x2f8),'authorizationDescription':_0x4abf76(0x1c0),'configParameters':_0x4abf76(0x194),'maxRetries':_0x4abf76(0x254),'save':_0x4abf76(0x304),'saving':_0x4abf76(0x29d),'note1':_0x4abf76(0x249),'note2':_0x4abf76(0x217),'configSaved':_0x4abf76(0x2ec),'configError':_0x4abf76(0x19d),'apiApplyInfo':{'title':_0x4abf76(0x24a),'description':_0x4abf76(0x1ba),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4abf76(0x1e0)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4abf76(0x213),'connected':_0x4abf76(0x212),'failed':_0x4abf76(0x27b),'retrying':_0x4abf76(0x308)},'connectionError':{'unauthorized':_0x4abf76(0x25f),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4abf76(0x2eb),'maxRetriesExceeded':_0x4abf76(0x1b9)}}},Ae={'mcpStatus':{'disconnected':_0x4abf76(0x23a),'connecting':'MCP\x20连接中...','connected':_0x4abf76(0x28b),'failed':_0x4abf76(0x2bf),'retrying':'MCP\x20重连中...','unknown':_0x4abf76(0x1ce),'unauthorized':_0x4abf76(0x1fe),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x4abf76(0x28e),'maxRetriesExceeded':_0x4abf76(0x197),'clickToConnect':_0x4abf76(0x2bb),'clickToConfigure':_0x4abf76(0x2a4)},'mcpConfig':{'title':'MCP\x20配置','description':_0x4abf76(0x282),'apiKey':_0x4abf76(0x257),'apiKeyPlaceholder':_0x4abf76(0x1cb),'apiKeyHint':_0x4abf76(0x294),'enableAuth':_0x4abf76(0x219),'enableAuthHint':_0x4abf76(0x259),'connectionInfo':_0x4abf76(0x2ee),'mcpClientConfig':_0x4abf76(0x2ee),'configInstructions':_0x4abf76(0x1f0),'configStepTitle':_0x4abf76(0x279),'configStep1':_0x4abf76(0x27d),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x4abf76(0x301),'sessionId':_0x4abf76(0x1c9),'sessionIdDescription':_0x4abf76(0x27a),'authorizationDescription':_0x4abf76(0x1d4),'configParameters':_0x4abf76(0x1d0),'maxRetries':_0x4abf76(0x234),'save':_0x4abf76(0x2df),'saving':_0x4abf76(0x2b1),'note1':_0x4abf76(0x222),'note2':_0x4abf76(0x25e),'configSaved':'配置保存成功','configError':_0x4abf76(0x1ee),'apiApplyInfo':{'title':_0x4abf76(0x2ea),'description':_0x4abf76(0x22d),'univerAiLabel':_0x4abf76(0x1b7),'getStarted':_0x4abf76(0x1b3)},'validation':{'apiKeyRequired':_0x4abf76(0x2b7),'apiKeyTooShort':_0x4abf76(0x202),'invalidConfig':_0x4abf76(0x307),'invalidApiKey':_0x4abf76(0x1db)},'connectionStatus':{'disconnected':_0x4abf76(0x252),'connecting':_0x4abf76(0x1e6),'connected':'已连接','failed':'连接失败','retrying':_0x4abf76(0x19e)},'connectionError':{'unauthorized':_0x4abf76(0x268),'sessionOccupied':_0x4abf76(0x2d5),'networkError':_0x4abf76(0x2e5),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var De=Object[_0x4abf76(0x321)],ke=Object[_0x4abf76(0x19a)],Ue=(_0x1f7258,_0x24627d,_0x3986ed)=>_0x24627d in _0x1f7258?De(_0x1f7258,_0x24627d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3986ed}):_0x1f7258[_0x24627d]=_0x3986ed,Te=(_0x1ed476,_0x4dd26e,_0x467080,_0x1eab6d)=>{for(var _0x320497=_0x1eab6d>0x1?void 0x0:_0x1eab6d?ke(_0x4dd26e,_0x467080):_0x4dd26e,_0x5bb380=_0x1ed476['length']-0x1,_0x27056f;_0x5bb380>=0x0;_0x5bb380--)(_0x27056f=_0x1ed476[_0x5bb380])&&(_0x320497=_0x27056f(_0x320497)||_0x320497);return _0x320497;},M=(_0x5c64a9,_0x3aa57a)=>(_0x4786bd,_0xef6c70)=>_0x3aa57a(_0x4786bd,_0xef6c70,_0x5c64a9),$e=(_0x439a22,_0x41fb64,_0x5b6f70)=>Ue(_0x439a22,_0x41fb64+'',_0x5b6f70);exports['UniverMCPUIPlugin']=class extends l['Plugin']{constructor(_0x4e125b=G,_0x49893a,_0x45b0be,_0x1f3ecd,_0x662d4,_0x379a26){var _0x3da9b8=_0x4abf76;super(),this[_0x3da9b8(0x243)]=_0x4e125b,this[_0x3da9b8(0x245)]=_0x49893a,this[_0x3da9b8(0x20a)]=_0x45b0be,this[_0x3da9b8(0x242)]=_0x1f3ecd,this[_0x3da9b8(0x31b)]=_0x662d4,this[_0x3da9b8(0x21c)]=_0x379a26;const {..._0x4b6a6c}=l['merge']({},G,this[_0x3da9b8(0x243)]);this[_0x3da9b8(0x20a)][_0x3da9b8(0x291)](y,_0x4b6a6c);}async[_0x4abf76(0x2c7)](){var _0x1ffbb3=_0x4abf76;const _0x2a3751=[[exports[_0x1ffbb3(0x314)]],[exports[_0x1ffbb3(0x2b9)]],[exports[_0x1ffbb3(0x285)]]];this[_0x1ffbb3(0x245)][_0x1ffbb3(0x233)](A['ISocketService'])||_0x2a3751[_0x1ffbb3(0x277)]([A[_0x1ffbb3(0x2ff)],{'useClass':A[_0x1ffbb3(0x1ef)]}]),_0x2a3751[_0x1ffbb3(0x273)](_0x10da09=>this['_injector'][_0x1ffbb3(0x2cd)](_0x10da09)),this[_0x1ffbb3(0x245)][_0x1ffbb3(0x266)](exports[_0x1ffbb3(0x314)]),this['_injector']['get'](exports[_0x1ffbb3(0x2b9)]),this[_0x1ffbb3(0x245)][_0x1ffbb3(0x266)](exports[_0x1ffbb3(0x285)]);}},$e(exports['UniverMCPUIPlugin'],_0x4abf76(0x293),_0x4abf76(0x1e8)),exports[_0x4abf76(0x22f)]=Te([l[_0x4abf76(0x1fa)](s[_0x4abf76(0x283)]),M(0x1,l[_0x4abf76(0x221)](l[_0x4abf76(0x2b6)])),M(0x2,l[_0x4abf76(0x1e7)]),M(0x3,v[_0x4abf76(0x1f4)]),M(0x4,l[_0x4abf76(0x23d)]),M(0x5,l[_0x4abf76(0x221)](l[_0x4abf76(0x2d9)]))],exports[_0x4abf76(0x22f)]),exports['MCPConfigPanel']=W,exports[_0x4abf76(0x1b5)]=X,exports[_0x4abf76(0x211)]=j,exports['enUS']=Oe,exports[_0x4abf76(0x1b0)]=Ae;
@@ -1 +1 @@
1
- 'use strict';function _0x2c61(_0xee0c25,_0x1bd7bc){const _0x258979=_0x2589();return _0x2c61=function(_0x2c61b5,_0x24194f){_0x2c61b5=_0x2c61b5-0xc8;let _0x217246=_0x258979[_0x2c61b5];return _0x217246;},_0x2c61(_0xee0c25,_0x1bd7bc);}const _0x28b657=_0x2c61;(function(_0xac844c,_0x7d93a4){const _0xe8ac7e=_0x2c61,_0x3db7c5=_0xac844c();while(!![]){try{const _0x3fef64=-parseInt(_0xe8ac7e(0xdf))/0x1+-parseInt(_0xe8ac7e(0xf2))/0x2+-parseInt(_0xe8ac7e(0xef))/0x3*(-parseInt(_0xe8ac7e(0xd9))/0x4)+-parseInt(_0xe8ac7e(0xcb))/0x5*(parseInt(_0xe8ac7e(0xc8))/0x6)+-parseInt(_0xe8ac7e(0xf9))/0x7+-parseInt(_0xe8ac7e(0xd5))/0x8+parseInt(_0xe8ac7e(0xd7))/0x9*(parseInt(_0xe8ac7e(0xd1))/0xa);if(_0x3fef64===_0x7d93a4)break;else _0x3db7c5['push'](_0x3db7c5['shift']());}catch(_0x1e7d72){_0x3db7c5['push'](_0x3db7c5['shift']());}}}(_0x2589,0xb868d));const e={'mcpStatus':{'disconnected':_0x28b657(0xcf),'connecting':_0x28b657(0xd0),'connected':'MCP\x20Connected','failed':_0x28b657(0xd4),'retrying':_0x28b657(0xce),'unknown':_0x28b657(0xd2),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x28b657(0xda),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x28b657(0xcd),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x28b657(0xea)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x28b657(0xfa),'apiKey':_0x28b657(0xd3),'apiKeyPlaceholder':_0x28b657(0xcc),'apiKeyHint':_0x28b657(0xd8),'enableAuth':_0x28b657(0xe7),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x28b657(0xeb),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x28b657(0xee),'configStepTitle':_0x28b657(0xf3),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x28b657(0xf8),'configStep3':_0x28b657(0xde),'sessionId':_0x28b657(0xdb),'sessionIdDescription':_0x28b657(0xe4),'authorizationDescription':_0x28b657(0xe5),'configParameters':_0x28b657(0xe9),'maxRetries':_0x28b657(0xdc),'save':'Save\x20Configuration','saving':_0x28b657(0xc9),'note1':_0x28b657(0xe3),'note2':_0x28b657(0xe8),'configSaved':_0x28b657(0xe2),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x28b657(0xf7),'description':_0x28b657(0xed),'univerAiLabel':_0x28b657(0xf1),'getStarted':_0x28b657(0xf5)},'validation':{'apiKeyRequired':_0x28b657(0xfb),'apiKeyTooShort':_0x28b657(0xdd),'invalidConfig':_0x28b657(0xd6),'invalidApiKey':_0x28b657(0xfc)},'connectionStatus':{'disconnected':_0x28b657(0xe1),'connecting':_0x28b657(0xf6),'connected':_0x28b657(0xe6),'failed':_0x28b657(0xe0),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x28b657(0xf4),'sessionOccupied':_0x28b657(0xf0),'networkError':_0x28b657(0xca),'maxRetriesExceeded':_0x28b657(0xec)}}},n=e;module['exports']=n;function _0x2589(){const _0x1f8507=['Disconnected','Configuration\x20saved\x20successfully','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.','API\x20key\x20with\x20Bearer\x20prefix.','Connected','Enable\x20Authentication','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Parameters:','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','300LeyqjR','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','2579454ZDTDWQ','Configuration\x20Steps:','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Get\x20your\x20API\x20key\x20in\x20seconds','Connecting...','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','8391810ssTXOt','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','4032816nKQbHr','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','5GfochE','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','MCP\x20Disconnected','MCP\x20Connecting...','144950Lkdomf','MCP\x20Unknown\x20Status','API\x20Key','MCP\x20Connection\x20Failed','3326920wcIdNl','Invalid\x20configuration','3222OEMWMq','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','6452fjERMn','MCP:\x20Invalid\x20API\x20Key','Session\x20ID','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1018611kXIeuM','Connection\x20Failed'];_0x2589=function(){return _0x1f8507;};return _0x2589();}
1
+ 'use strict';const _0x22e302=_0x55af;(function(_0x30e4c4,_0x3709df){const _0x34c651=_0x55af,_0x2a3a30=_0x30e4c4();while(!![]){try{const _0x5b6537=-parseInt(_0x34c651(0x117))/0x1*(parseInt(_0x34c651(0x10a))/0x2)+-parseInt(_0x34c651(0xff))/0x3+parseInt(_0x34c651(0xfa))/0x4*(-parseInt(_0x34c651(0x115))/0x5)+-parseInt(_0x34c651(0xf5))/0x6+-parseInt(_0x34c651(0xfc))/0x7*(-parseInt(_0x34c651(0x104))/0x8)+-parseInt(_0x34c651(0x119))/0x9+parseInt(_0x34c651(0x127))/0xa*(parseInt(_0x34c651(0x10f))/0xb);if(_0x5b6537===_0x3709df)break;else _0x2a3a30['push'](_0x2a3a30['shift']());}catch(_0x5ad416){_0x2a3a30['push'](_0x2a3a30['shift']());}}}(_0x38bc,0xd1d83));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x22e302(0x101),'connected':'MCP\x20Connected','failed':_0x22e302(0x128),'retrying':_0x22e302(0x112),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x22e302(0xfe),'networkError':_0x22e302(0xf6),'maxRetriesExceeded':_0x22e302(0x105),'clickToConnect':_0x22e302(0x125),'clickToConfigure':_0x22e302(0xf7)},'mcpConfig':{'title':_0x22e302(0x11b),'description':_0x22e302(0xf8),'apiKey':_0x22e302(0xf9),'apiKeyPlaceholder':_0x22e302(0x107),'apiKeyHint':_0x22e302(0x11a),'enableAuth':_0x22e302(0x114),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x22e302(0x11f),'mcpClientConfig':_0x22e302(0x11f),'configInstructions':_0x22e302(0x111),'configStepTitle':_0x22e302(0x116),'configStep1':_0x22e302(0x100),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x22e302(0x10d),'sessionId':_0x22e302(0x124),'sessionIdDescription':_0x22e302(0x10c),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x22e302(0x126),'save':_0x22e302(0x10b),'saving':_0x22e302(0x113),'note1':_0x22e302(0xfb),'note2':_0x22e302(0x102),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x22e302(0x120),'apiApplyInfo':{'title':_0x22e302(0x106),'description':_0x22e302(0x103),'univerAiLabel':_0x22e302(0x121),'getStarted':_0x22e302(0x118)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x22e302(0x10e),'invalidConfig':_0x22e302(0xfd),'invalidApiKey':_0x22e302(0x110)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x22e302(0x11c),'connected':'Connected','failed':_0x22e302(0x11e),'retrying':_0x22e302(0x108)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x22e302(0x11d),'networkError':_0x22e302(0x109),'maxRetriesExceeded':_0x22e302(0x123)}}},n=e;module[_0x22e302(0x122)]=n;function _0x55af(_0x1caa8a,_0x34432a){const _0x38bc1b=_0x38bc();return _0x55af=function(_0x55af13,_0x15c89a){_0x55af13=_0x55af13-0xf5;let _0x513b10=_0x38bc1b[_0x55af13];return _0x513b10;},_0x55af(_0x1caa8a,_0x34432a);}function _0x38bc(){const _0x171402=['Click\x20to\x20configure\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key','622084JvOKdx','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','185192qqjNZS','Invalid\x20configuration','MCP:\x20Session\x20ID\x20Occupied','958743SedAuT','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','424bGKJzh','MCP:\x20Max\x20Retries\x20Exceeded','What\x20is\x20API\x20Key?','Enter\x20your\x20API\x20key','Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','3216uYuILB','Save\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','33YjcsUu','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Retrying...','Saving...','Enable\x20Authentication','45YSRzUy','Configuration\x20Steps:','61gSEczL','Get\x20your\x20API\x20key\x20in\x20seconds','6421716SIQtFS','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Configuration','Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connection\x20Failed','MCP\x20Client\x20Configuration','Failed\x20to\x20save\x20configuration','Univer\x20AI\x20Console','exports','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','Click\x20to\x20connect\x20MCP','Max\x20Retries','8841920DOEpUL','MCP\x20Connection\x20Failed','3986034reCxXE','MCP:\x20Network\x20Error'];_0x38bc=function(){return _0x171402;};return _0x38bc();}
@@ -1 +1 @@
1
- 'use strict';const _0xc76cbb=_0x2a77;function _0x180f(){const _0x3a086d=['Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Session\x20ID','exports','169807YlghqE','1893080VOVrnq','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\x20Retrying...','8702832sykhXS','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','Univer\x20AI\x20Console','Failed\x20to\x20save\x20configuration','Click\x20to\x20configure\x20MCP','API\x20Key','7gorvDW','API\x20key\x20is\x20required','40JayXyf','MCP\x20Client\x20Configuration','Connecting...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Retrying...','MCP:\x20Session\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Invalid\x20API\x20Key','What\x20is\x20API\x20Key?','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Unknown\x20Status','180srBSLp','Connected','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20saved\x20successfully','215626CTCSgy','1323747veSsbm','Enter\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required\x20to\x20connect','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','8FypIQv','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20API\x20Key\x20Missing','MCP\x20Connecting...','33063OiDQmD','MCP:\x20Network\x20Error','Invalid\x20configuration','4XYmoFe','MCP\x20Connected','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2970666HsEdqI','Disconnected'];_0x180f=function(){return _0x3a086d;};return _0x180f();}(function(_0x17cb23,_0x248443){const _0x5d1c31=_0x2a77,_0x56579f=_0x17cb23();while(!![]){try{const _0x2b9dd8=parseInt(_0x5d1c31(0xd1))/0x1*(parseInt(_0x5d1c31(0xfc))/0x2)+parseInt(_0x5d1c31(0xce))/0x3*(parseInt(_0x5d1c31(0xe7))/0x4)+-parseInt(_0x5d1c31(0xdb))/0x5+parseInt(_0x5d1c31(0xd5))/0x6*(-parseInt(_0x5d1c31(0xe5))/0x7)+-parseInt(_0x5d1c31(0xca))/0x8*(-parseInt(_0x5d1c31(0xfd))/0x9)+-parseInt(_0x5d1c31(0xf8))/0xa*(parseInt(_0x5d1c31(0xda))/0xb)+parseInt(_0x5d1c31(0xde))/0xc;if(_0x2b9dd8===_0x248443)break;else _0x56579f['push'](_0x56579f['shift']());}catch(_0x513181){_0x56579f['push'](_0x56579f['shift']());}}}(_0x180f,0x4002c));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xc76cbb(0xcd),'connected':_0xc76cbb(0xd2),'failed':_0xc76cbb(0xf4),'retrying':_0xc76cbb(0xdd),'unknown':_0xc76cbb(0xf7),'missingApiKey':_0xc76cbb(0xcc),'invalidApiKey':_0xc76cbb(0xef),'sessionOccupied':_0xc76cbb(0xec),'networkError':_0xc76cbb(0xcf),'maxRetriesExceeded':_0xc76cbb(0xfa),'clickToConnect':_0xc76cbb(0xd3),'clickToConfigure':_0xc76cbb(0xe3)},'mcpConfig':{'title':_0xc76cbb(0xe0),'description':_0xc76cbb(0xd4),'apiKey':_0xc76cbb(0xe4),'apiKeyPlaceholder':_0xc76cbb(0xfe),'apiKeyHint':_0xc76cbb(0xc8),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0xc76cbb(0xc9),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xc76cbb(0xe8),'configInstructions':_0xc76cbb(0xea),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xc76cbb(0x101),'configStep2':_0xc76cbb(0xf6),'configStep3':_0xc76cbb(0xcb),'sessionId':_0xc76cbb(0xd8),'sessionIdDescription':_0xc76cbb(0xf1),'authorizationDescription':_0xc76cbb(0xf5),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0xc76cbb(0xff),'note2':_0xc76cbb(0xf3),'configSaved':_0xc76cbb(0xfb),'configError':_0xc76cbb(0xe2),'apiApplyInfo':{'title':_0xc76cbb(0xf0),'description':_0xc76cbb(0xdc),'univerAiLabel':_0xc76cbb(0xe1),'getStarted':_0xc76cbb(0xee)},'validation':{'apiKeyRequired':_0xc76cbb(0xe6),'apiKeyTooShort':_0xc76cbb(0xed),'invalidConfig':_0xc76cbb(0xd0),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xc76cbb(0xd6),'connecting':_0xc76cbb(0xe9),'connected':_0xc76cbb(0xf9),'failed':'Connection\x20Failed','retrying':_0xc76cbb(0xeb)},'connectionError':{'missingApiKey':_0xc76cbb(0x100),'invalidApiKey':_0xc76cbb(0x102),'sessionOccupied':_0xc76cbb(0xd7),'networkError':_0xc76cbb(0xf2),'maxRetriesExceeded':_0xc76cbb(0xdf)}}};function _0x2a77(_0x2e4e91,_0x51085f){const _0x180f66=_0x180f();return _0x2a77=function(_0x2a772b,_0x21c95c){_0x2a772b=_0x2a772b-0xc8;let _0x3a0293=_0x180f66[_0x2a772b];return _0x3a0293;},_0x2a77(_0x2e4e91,_0x51085f);}module[_0xc76cbb(0xd9)]=e;
1
+ 'use strict';const _0x46c486=_0xff0e;(function(_0x6a65a0,_0x44b82e){const _0x9e8447=_0xff0e,_0x5362b4=_0x6a65a0();while(!![]){try{const _0x1f77c4=-parseInt(_0x9e8447(0x19a))/0x1*(-parseInt(_0x9e8447(0x199))/0x2)+parseInt(_0x9e8447(0x16b))/0x3+-parseInt(_0x9e8447(0x18e))/0x4*(-parseInt(_0x9e8447(0x19d))/0x5)+parseInt(_0x9e8447(0x17c))/0x6+parseInt(_0x9e8447(0x172))/0x7*(-parseInt(_0x9e8447(0x167))/0x8)+parseInt(_0x9e8447(0x16e))/0x9*(parseInt(_0x9e8447(0x186))/0xa)+-parseInt(_0x9e8447(0x171))/0xb*(parseInt(_0x9e8447(0x168))/0xc);if(_0x1f77c4===_0x44b82e)break;else _0x5362b4['push'](_0x5362b4['shift']());}catch(_0x371247){_0x5362b4['push'](_0x5362b4['shift']());}}}(_0x221c,0xcbeb2));const e={'mcpStatus':{'disconnected':_0x46c486(0x188),'connecting':_0x46c486(0x193),'connected':_0x46c486(0x195),'failed':_0x46c486(0x17a),'retrying':'MCP\x20Retrying...','unknown':_0x46c486(0x183),'unauthorized':_0x46c486(0x18a),'sessionOccupied':_0x46c486(0x198),'networkError':_0x46c486(0x17e),'maxRetriesExceeded':_0x46c486(0x18d),'clickToConnect':_0x46c486(0x184),'clickToConfigure':_0x46c486(0x165)},'mcpConfig':{'title':_0x46c486(0x19e),'description':_0x46c486(0x181),'apiKey':_0x46c486(0x174),'apiKeyPlaceholder':_0x46c486(0x18c),'apiKeyHint':_0x46c486(0x166),'enableAuth':_0x46c486(0x19b),'enableAuthHint':_0x46c486(0x173),'connectionInfo':_0x46c486(0x169),'mcpClientConfig':_0x46c486(0x169),'configInstructions':_0x46c486(0x182),'configStepTitle':_0x46c486(0x16d),'configStep1':_0x46c486(0x197),'configStep2':_0x46c486(0x170),'configStep3':_0x46c486(0x178),'sessionId':_0x46c486(0x18f),'sessionIdDescription':_0x46c486(0x185),'authorizationDescription':_0x46c486(0x16c),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x46c486(0x187),'saving':'Saving...','note1':_0x46c486(0x17b),'note2':_0x46c486(0x177),'configSaved':_0x46c486(0x194),'configError':_0x46c486(0x17d),'apiApplyInfo':{'title':_0x46c486(0x18b),'description':_0x46c486(0x179),'univerAiLabel':_0x46c486(0x19c),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x46c486(0x176),'apiKeyTooShort':_0x46c486(0x189),'invalidConfig':_0x46c486(0x175),'invalidApiKey':_0x46c486(0x16a)},'connectionStatus':{'disconnected':_0x46c486(0x196),'connecting':'Connecting...','connected':_0x46c486(0x17f),'failed':_0x46c486(0x192),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x46c486(0x191),'sessionOccupied':_0x46c486(0x16f),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x46c486(0x180)}}};module[_0x46c486(0x190)]=e;function _0xff0e(_0x134204,_0x2a10c9){const _0x221c21=_0x221c();return _0xff0e=function(_0xff0eb1,_0x1081e5){_0xff0eb1=_0xff0eb1-0x165;let _0x44874d=_0x221c21[_0xff0eb1];return _0x44874d;},_0xff0e(_0x134204,_0x2a10c9);}function _0x221c(){const _0x3b42e2=['190VnOsry','Save\x20Configuration','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Unauthorized','What\x20is\x20API\x20Key?','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','16gfEYrP','Session\x20ID','exports','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connection\x20Failed','MCP\x20Connecting...','Configuration\x20saved\x20successfully','MCP\x20Connected','Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Session\x20ID\x20Occupied','642412uZpkwf','5YoEVKT','Enable\x20Authentication','Univer\x20AI\x20Console','634955aRhdXi','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8DtPHyv','31082196QbPnlO','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','767727QBQziD','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Steps:','560907tVrIkx','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','11AzGKTw','6886467ddYBDJ','Enable\x20authentication\x20for\x20secure\x20connections','API\x20Key','Invalid\x20configuration','API\x20key\x20is\x20required','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\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.','MCP\x20Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','5131044mqQKqt','Failed\x20to\x20save\x20configuration','MCP:\x20Network\x20Error','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','Click\x20to\x20connect\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x221c=function(){return _0x3b42e2;};return _0x221c();}
@@ -1 +1 @@
1
- 'use strict';const _0x3cb8be=_0x5933;(function(_0x23695b,_0x3be0c7){const _0xb1cdfb=_0x5933,_0x504ee8=_0x23695b();while(!![]){try{const _0x53e42d=parseInt(_0xb1cdfb(0x142))/0x1*(parseInt(_0xb1cdfb(0x164))/0x2)+-parseInt(_0xb1cdfb(0x153))/0x3+-parseInt(_0xb1cdfb(0x156))/0x4+-parseInt(_0xb1cdfb(0x152))/0x5+parseInt(_0xb1cdfb(0x158))/0x6+-parseInt(_0xb1cdfb(0x15b))/0x7*(-parseInt(_0xb1cdfb(0x143))/0x8)+parseInt(_0xb1cdfb(0x162))/0x9*(parseInt(_0xb1cdfb(0x15e))/0xa);if(_0x53e42d===_0x3be0c7)break;else _0x504ee8['push'](_0x504ee8['shift']());}catch(_0x2d8ea1){_0x504ee8['push'](_0x504ee8['shift']());}}}(_0x5c36,0x89adf));function _0x5933(_0x3cf7a8,_0x56752d){const _0x5c36ff=_0x5c36();return _0x5933=function(_0x59338c,_0x2721a1){_0x59338c=_0x59338c-0x142;let _0x2991c2=_0x5c36ff[_0x59338c];return _0x2991c2;},_0x5933(_0x3cf7a8,_0x56752d);}const e={'mcpStatus':{'disconnected':_0x3cb8be(0x146),'connecting':_0x3cb8be(0x15c),'connected':_0x3cb8be(0x172),'failed':_0x3cb8be(0x176),'retrying':'MCP\x20Retrying...','unknown':_0x3cb8be(0x175),'missingApiKey':_0x3cb8be(0x150),'invalidApiKey':_0x3cb8be(0x147),'sessionOccupied':_0x3cb8be(0x169),'networkError':_0x3cb8be(0x149),'maxRetriesExceeded':_0x3cb8be(0x179),'clickToConnect':_0x3cb8be(0x16c),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3cb8be(0x166),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x3cb8be(0x163),'apiKeyPlaceholder':_0x3cb8be(0x145),'apiKeyHint':_0x3cb8be(0x159),'enableAuth':_0x3cb8be(0x154),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x3cb8be(0x151),'mcpClientConfig':_0x3cb8be(0x151),'configInstructions':_0x3cb8be(0x177),'configStepTitle':_0x3cb8be(0x14b),'configStep1':_0x3cb8be(0x16d),'configStep2':_0x3cb8be(0x14c),'configStep3':_0x3cb8be(0x165),'sessionId':_0x3cb8be(0x171),'sessionIdDescription':_0x3cb8be(0x16e),'authorizationDescription':_0x3cb8be(0x178),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x3cb8be(0x16a),'save':'Save\x20Configuration','saving':_0x3cb8be(0x173),'note1':_0x3cb8be(0x174),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3cb8be(0x16b),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3cb8be(0x16f),'description':_0x3cb8be(0x14d),'univerAiLabel':_0x3cb8be(0x157),'getStarted':_0x3cb8be(0x148)},'validation':{'apiKeyRequired':_0x3cb8be(0x168),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3cb8be(0x14a)},'connectionStatus':{'disconnected':_0x3cb8be(0x170),'connecting':_0x3cb8be(0x161),'connected':_0x3cb8be(0x167),'failed':_0x3cb8be(0x15f),'retrying':_0x3cb8be(0x160)},'connectionError':{'missingApiKey':_0x3cb8be(0x144),'invalidApiKey':_0x3cb8be(0x155),'sessionOccupied':_0x3cb8be(0x15a),'networkError':_0x3cb8be(0x14f),'maxRetriesExceeded':_0x3cb8be(0x15d)}}},n=e;function _0x5c36(){const _0x1c5c25=['84810UjtzTR','Enable\x20Authentication','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','2316920IbwGte','Univer\x20AI\x20Console','679662UyaIvt','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','14pdpEZa','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4750uRjIcp','Connection\x20Failed','Retrying...','Connecting...','25101LGTRef','API\x20Key','26DpGyIP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','Connected','API\x20key\x20is\x20required','MCP:\x20Session\x20Occupied','Max\x20Retries','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','What\x20is\x20API\x20Key?','Disconnected','Session\x20ID','MCP\x20Connected','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Unknown\x20Status','MCP\x20Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Max\x20Retries\x20Exceeded','827sVPTFv','3299448OqFXgS','API\x20key\x20is\x20required\x20to\x20connect','Enter\x20your\x20API\x20key','MCP\x20Disconnected','MCP:\x20Invalid\x20API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20Steps:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','exports','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20API\x20Key\x20Missing','MCP\x20Client\x20Configuration','5511150IEMxKQ'];_0x5c36=function(){return _0x1c5c25;};return _0x5c36();}module[_0x3cb8be(0x14e)]=n;
1
+ 'use strict';const _0x2c2a67=_0x2c41;(function(_0x401eb4,_0x4e4cf9){const _0x47f91a=_0x2c41,_0x2cd195=_0x401eb4();while(!![]){try{const _0x3aaed6=-parseInt(_0x47f91a(0x83))/0x1*(parseInt(_0x47f91a(0x68))/0x2)+parseInt(_0x47f91a(0x7d))/0x3+parseInt(_0x47f91a(0x90))/0x4*(parseInt(_0x47f91a(0x81))/0x5)+-parseInt(_0x47f91a(0x82))/0x6*(parseInt(_0x47f91a(0x9e))/0x7)+parseInt(_0x47f91a(0x99))/0x8*(-parseInt(_0x47f91a(0x8b))/0x9)+parseInt(_0x47f91a(0x76))/0xa*(-parseInt(_0x47f91a(0x75))/0xb)+parseInt(_0x47f91a(0x8d))/0xc*(parseInt(_0x47f91a(0x8a))/0xd);if(_0x3aaed6===_0x4e4cf9)break;else _0x2cd195['push'](_0x2cd195['shift']());}catch(_0x123b9c){_0x2cd195['push'](_0x2cd195['shift']());}}}(_0x5786,0xb738a));function _0x2c41(_0xdc325,_0x25fa35){const _0x578687=_0x5786();return _0x2c41=function(_0x2c41b7,_0x193a56){_0x2c41b7=_0x2c41b7-0x67;let _0x51c0bf=_0x578687[_0x2c41b7];return _0x51c0bf;},_0x2c41(_0xdc325,_0x25fa35);}const e={'mcpStatus':{'disconnected':_0x2c2a67(0x7b),'connecting':'MCP\x20Connecting...','connected':_0x2c2a67(0x6f),'failed':_0x2c2a67(0x7e),'retrying':_0x2c2a67(0x95),'unknown':_0x2c2a67(0x6b),'unauthorized':_0x2c2a67(0x6c),'sessionOccupied':_0x2c2a67(0x9a),'networkError':_0x2c2a67(0x7f),'maxRetriesExceeded':_0x2c2a67(0x78),'clickToConnect':_0x2c2a67(0x97),'clickToConfigure':_0x2c2a67(0x6a)},'mcpConfig':{'title':_0x2c2a67(0x74),'description':_0x2c2a67(0x77),'apiKey':_0x2c2a67(0x9c),'apiKeyPlaceholder':_0x2c2a67(0x72),'apiKeyHint':_0x2c2a67(0x73),'enableAuth':_0x2c2a67(0x79),'enableAuthHint':_0x2c2a67(0x93),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2c2a67(0xa0),'configInstructions':_0x2c2a67(0x67),'configStepTitle':_0x2c2a67(0x86),'configStep1':_0x2c2a67(0x88),'configStep2':_0x2c2a67(0x6e),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x2c2a67(0x80),'sessionIdDescription':_0x2c2a67(0x9d),'authorizationDescription':_0x2c2a67(0x7c),'configParameters':_0x2c2a67(0x89),'maxRetries':_0x2c2a67(0x94),'save':_0x2c2a67(0x84),'saving':_0x2c2a67(0x71),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2c2a67(0x85),'configError':_0x2c2a67(0x8e),'apiApplyInfo':{'title':_0x2c2a67(0x96),'description':_0x2c2a67(0x6d),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2c2a67(0x92),'apiKeyTooShort':_0x2c2a67(0x70),'invalidConfig':_0x2c2a67(0x87),'invalidApiKey':_0x2c2a67(0x8c)},'connectionStatus':{'disconnected':_0x2c2a67(0x98),'connecting':_0x2c2a67(0x9b),'connected':'Connected','failed':_0x2c2a67(0x69),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2c2a67(0x8f),'sessionOccupied':_0x2c2a67(0x9f),'networkError':_0x2c2a67(0x91),'maxRetriesExceeded':_0x2c2a67(0x7a)}}},n=e;module['exports']=n;function _0x5786(){const _0x3c5cd4=['Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Configuration','9305219ymIsDe','10sBjBSS','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20Authentication','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','API\x20key\x20with\x20Bearer\x20prefix.','856983mqueLb','MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error','Session\x20ID','12170mIufCp','6454926HGXxXB','29504wWLdxi','Save\x20Configuration','Configuration\x20saved\x20successfully','Configuration\x20Steps:','Invalid\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Parameters:','520CQMavv','4104639pbkkay','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1260888PRUOCA','Failed\x20to\x20save\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','912tLCMUs','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','Max\x20Retries','MCP\x20Retrying...','What\x20is\x20API\x20Key?','Click\x20to\x20connect\x20MCP','Disconnected','24UNSWRA','MCP:\x20Session\x20ID\x20Occupied','Connecting...','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','7cLmhhU','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','68TMqiDI','Connection\x20Failed','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...'];_0x5786=function(){return _0x3c5cd4;};return _0x5786();}
@@ -1 +1 @@
1
- 'use strict';const _0x39da72=_0xbdbd;(function(_0x2e8659,_0x31b6e1){const _0x490685=_0xbdbd,_0x173b07=_0x2e8659();while(!![]){try{const _0x586b82=-parseInt(_0x490685(0x104))/0x1+-parseInt(_0x490685(0x10f))/0x2*(-parseInt(_0x490685(0xf1))/0x3)+-parseInt(_0x490685(0x10c))/0x4*(parseInt(_0x490685(0xf2))/0x5)+parseInt(_0x490685(0xe3))/0x6+-parseInt(_0x490685(0xfb))/0x7+parseInt(_0x490685(0x103))/0x8*(-parseInt(_0x490685(0xff))/0x9)+parseInt(_0x490685(0xf4))/0xa;if(_0x586b82===_0x31b6e1)break;else _0x173b07['push'](_0x173b07['shift']());}catch(_0x282c37){_0x173b07['push'](_0x173b07['shift']());}}}(_0xea1e,0xb0176));function _0xbdbd(_0x4abec5,_0x4942b2){const _0xea1e81=_0xea1e();return _0xbdbd=function(_0xbdbd90,_0x27ffd8){_0xbdbd90=_0xbdbd90-0xe1;let _0x225c6e=_0xea1e81[_0xbdbd90];return _0x225c6e;},_0xbdbd(_0x4abec5,_0x4942b2);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x39da72(0xf8),'connected':_0x39da72(0xe6),'failed':_0x39da72(0xfc),'retrying':_0x39da72(0x102),'unknown':_0x39da72(0xfe),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x39da72(0xf7),'sessionOccupied':_0x39da72(0xf5),'networkError':_0x39da72(0x109),'maxRetriesExceeded':_0x39da72(0x111),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x39da72(0x112),'apiKeyPlaceholder':_0x39da72(0xe1),'apiKeyHint':_0x39da72(0x114),'enableAuth':_0x39da72(0x105),'enableAuthHint':_0x39da72(0x10d),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x39da72(0x107),'configInstructions':_0x39da72(0xf0),'configStepTitle':_0x39da72(0xf6),'configStep1':_0x39da72(0x106),'configStep2':_0x39da72(0x108),'configStep3':_0x39da72(0xe9),'sessionId':_0x39da72(0x10e),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x39da72(0xe5),'configParameters':_0x39da72(0xe8),'maxRetries':_0x39da72(0xe4),'save':_0x39da72(0x100),'saving':_0x39da72(0x101),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x39da72(0xe7),'configSaved':_0x39da72(0xfd),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x39da72(0x113),'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':_0x39da72(0x10a),'getStarted':_0x39da72(0xf9)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x39da72(0xef),'invalidConfig':_0x39da72(0xfa),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x39da72(0x110),'connecting':'Connecting...','connected':'Connected','failed':_0x39da72(0xed),'retrying':_0x39da72(0xeb)},'connectionError':{'missingApiKey':_0x39da72(0xee),'invalidApiKey':_0x39da72(0xec),'sessionOccupied':_0x39da72(0xe2),'networkError':_0x39da72(0xf3),'maxRetriesExceeded':_0x39da72(0xea)}}},n=e;module[_0x39da72(0x10b)]=n;function _0xea1e(){const _0xc055c3=['687112TjhLTO','Enable\x20Authentication','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Network\x20Error','Univer\x20AI\x20Console','exports','16VnFfgY','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','2xJrjid','Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','1017672rKYPZr','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Parameters:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connection\x20Failed','API\x20key\x20is\x20required\x20to\x20connect','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2885514dhPkRg','1133935mEESfJ','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','20917480GnsdFI','MCP:\x20Session\x20Occupied','Configuration\x20Steps:','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','6123971cGWyDy','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','45RVRSFE','Save\x20Configuration','Saving...','MCP\x20Retrying...','52504GiDmDf'];_0xea1e=function(){return _0xc055c3;};return _0xea1e();}
1
+ 'use strict';function _0x5c97(_0xf50dd5,_0x2dbde4){const _0x5cca67=_0x5cca();return _0x5c97=function(_0x5c97a5,_0x4af8b9){_0x5c97a5=_0x5c97a5-0x18b;let _0x14f6ef=_0x5cca67[_0x5c97a5];return _0x14f6ef;},_0x5c97(_0xf50dd5,_0x2dbde4);}function _0x5cca(){const _0x4ef124=['API\x20key\x20with\x20Bearer\x20prefix.','Disconnected','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1148847pmyIEW','Univer\x20AI\x20Console','API\x20Key','14XATEeI','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','455024PekCYj','Configuration\x20saved\x20successfully','13523710hCtvpM','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','2439722ELdcuK','5739921AdtUya','8TzhxqG','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','MCP\x20Connected','MCP:\x20Session\x20ID\x20Occupied','Enter\x20your\x20API\x20key','MCP\x20Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','6AjCCty','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Max\x20Retries','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1779054rUSZzf','What\x20is\x20API\x20Key?','Connection\x20Failed','Save\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','6816185SCFOaf','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','MCP\x20Configuration'];_0x5cca=function(){return _0x4ef124;};return _0x5cca();}const _0x3d6fed=_0x5c97;(function(_0x36d4fd,_0x1998ca){const _0x582972=_0x5c97,_0x4985e9=_0x36d4fd();while(!![]){try{const _0x3f327e=parseInt(_0x582972(0x1b9))/0x1+-parseInt(_0x582972(0x196))/0x2+-parseInt(_0x582972(0x1a9))/0x3*(parseInt(_0x582972(0x198))/0x4)+parseInt(_0x582972(0x1b1))/0x5*(parseInt(_0x582972(0x1a5))/0x6)+-parseInt(_0x582972(0x18d))/0x7*(-parseInt(_0x582972(0x190))/0x8)+-parseInt(_0x582972(0x197))/0x9+parseInt(_0x582972(0x192))/0xa;if(_0x3f327e===_0x1998ca)break;else _0x4985e9['push'](_0x4985e9['shift']());}catch(_0x2c1065){_0x4985e9['push'](_0x4985e9['shift']());}}}(_0x5cca,0xe4291));const e={'mcpStatus':{'disconnected':_0x3d6fed(0x195),'connecting':_0x3d6fed(0x1a3),'connected':_0x3d6fed(0x1a0),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x3d6fed(0x1a1),'networkError':_0x3d6fed(0x1ae),'maxRetriesExceeded':_0x3d6fed(0x19e),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3d6fed(0x1af)},'mcpConfig':{'title':_0x3d6fed(0x1b4),'description':_0x3d6fed(0x1b8),'apiKey':_0x3d6fed(0x18c),'apiKeyPlaceholder':_0x3d6fed(0x1a2),'apiKeyHint':_0x3d6fed(0x19a),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3d6fed(0x19d),'connectionInfo':_0x3d6fed(0x193),'mcpClientConfig':_0x3d6fed(0x193),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3d6fed(0x19f),'configStep1':_0x3d6fed(0x19c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3d6fed(0x1b2),'sessionId':_0x3d6fed(0x1b7),'sessionIdDescription':_0x3d6fed(0x1ad),'authorizationDescription':_0x3d6fed(0x1b5),'configParameters':_0x3d6fed(0x1b0),'maxRetries':_0x3d6fed(0x1a7),'save':_0x3d6fed(0x1ac),'saving':_0x3d6fed(0x1b3),'note1':_0x3d6fed(0x18e),'note2':_0x3d6fed(0x1a4),'configSaved':_0x3d6fed(0x191),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3d6fed(0x1aa),'description':_0x3d6fed(0x18f),'univerAiLabel':_0x3d6fed(0x18b),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3d6fed(0x19b),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3d6fed(0x1a8)},'connectionStatus':{'disconnected':_0x3d6fed(0x1b6),'connecting':'Connecting...','connected':'Connected','failed':_0x3d6fed(0x1ab),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x3d6fed(0x1a6),'networkError':_0x3d6fed(0x199),'maxRetriesExceeded':_0x3d6fed(0x194)}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x1c9470=_0x1616;function _0x921d(){const _0x464753=['API\x20key\x20is\x20required\x20to\x20connect','3333148BpbHXk','378116gpoJeI','MCP:\x20Max\x20Retries\x20Exceeded','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4980424utJfzJ','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','30fwRsjj','MCP\x20Unknown\x20Status','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed','MCP:\x20API\x20Key\x20Missing','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2425130VzqimU','Save\x20Configuration','63zCwRoD','Configuration\x20saved\x20successfully','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','MCP:\x20Invalid\x20API\x20Key','Univer\x20AI\x20Console','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','10502328mmiURH','272048lVXQzY','Disconnected','265288GOqLHL','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','MCP\x20Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','MCP\x20Configuration','API\x20key\x20is\x20required','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Saving...','MCP:\x20Network\x20Error','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Retrying...','Failed\x20to\x20save\x20configuration','Click\x20to\x20connect\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','Connection\x20Failed'];_0x921d=function(){return _0x464753;};return _0x921d();}(function(_0x395b90,_0x19655a){const _0xb03f81=_0x1616,_0x881f8=_0x395b90();while(!![]){try{const _0x3e41c1=-parseInt(_0xb03f81(0xf3))/0x1+parseInt(_0xb03f81(0xf5))/0x2*(-parseInt(_0xb03f81(0x10f))/0x3)+-parseInt(_0xb03f81(0x109))/0x4+parseInt(_0xb03f81(0x117))/0x5+-parseInt(_0xb03f81(0xf2))/0x6+-parseInt(_0xb03f81(0x108))/0x7+-parseInt(_0xb03f81(0x10c))/0x8*(-parseInt(_0xb03f81(0xe3))/0x9);if(_0x3e41c1===_0x19655a)break;else _0x881f8['push'](_0x881f8['shift']());}catch(_0x22d8bb){_0x881f8['push'](_0x881f8['shift']());}}}(_0x921d,0xe16c0));function _0x1616(_0x5dfccb,_0x3903e5){const _0x921dc5=_0x921d();return _0x1616=function(_0x161658,_0x552ef5){_0x161658=_0x161658-0xe2;let _0x59ff7c=_0x921dc5[_0x161658];return _0x59ff7c;},_0x1616(_0x5dfccb,_0x3903e5);}const e={'mcpStatus':{'disconnected':_0x1c9470(0x10e),'connecting':'MCP\x20Connecting...','connected':_0x1c9470(0xf6),'failed':_0x1c9470(0x114),'retrying':_0x1c9470(0xf9),'unknown':_0x1c9470(0x110),'missingApiKey':_0x1c9470(0x115),'invalidApiKey':_0x1c9470(0xe8),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x1c9470(0x100),'maxRetriesExceeded':_0x1c9470(0x10a),'clickToConnect':_0x1c9470(0x104),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1c9470(0xfc),'description':_0x1c9470(0x10b),'apiKey':_0x1c9470(0x111),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1c9470(0x112),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1c9470(0xea),'connectionInfo':_0x1c9470(0xef),'mcpClientConfig':_0x1c9470(0xef),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x1c9470(0x105),'configStep2':_0x1c9470(0xf7),'configStep3':_0x1c9470(0x116),'sessionId':_0x1c9470(0xe7),'sessionIdDescription':_0x1c9470(0xf1),'authorizationDescription':_0x1c9470(0xeb),'configParameters':_0x1c9470(0xf8),'maxRetries':_0x1c9470(0xfb),'save':_0x1c9470(0xe2),'saving':_0x1c9470(0xff),'note1':_0x1c9470(0xed),'note2':_0x1c9470(0xe5),'configSaved':_0x1c9470(0xe4),'configError':_0x1c9470(0x103),'apiApplyInfo':{'title':_0x1c9470(0x113),'description':_0x1c9470(0xfa),'univerAiLabel':_0x1c9470(0xe9),'getStarted':_0x1c9470(0x10d)},'validation':{'apiKeyRequired':_0x1c9470(0xfd),'apiKeyTooShort':_0x1c9470(0xf0),'invalidConfig':_0x1c9470(0xec),'invalidApiKey':_0x1c9470(0xe6)},'connectionStatus':{'disconnected':_0x1c9470(0xf4),'connecting':'Connecting...','connected':'Connected','failed':_0x1c9470(0x106),'retrying':_0x1c9470(0x102)},'connectionError':{'missingApiKey':_0x1c9470(0x107),'invalidApiKey':_0x1c9470(0x101),'sessionOccupied':_0x1c9470(0xfe),'networkError':_0x1c9470(0xee),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
1
+ 'use strict';const _0xe86930=_0x2315;(function(_0x2b6d71,_0x156593){const _0xe4152f=_0x2315,_0x579907=_0x2b6d71();while(!![]){try{const _0x2f564f=-parseInt(_0xe4152f(0x162))/0x1+parseInt(_0xe4152f(0x17d))/0x2*(parseInt(_0xe4152f(0x161))/0x3)+-parseInt(_0xe4152f(0x178))/0x4+parseInt(_0xe4152f(0x171))/0x5+-parseInt(_0xe4152f(0x164))/0x6*(-parseInt(_0xe4152f(0x17f))/0x7)+-parseInt(_0xe4152f(0x179))/0x8+parseInt(_0xe4152f(0x174))/0x9;if(_0x2f564f===_0x156593)break;else _0x579907['push'](_0x579907['shift']());}catch(_0x483804){_0x579907['push'](_0x579907['shift']());}}}(_0x2e1a,0xc5fa9));function _0x2315(_0x563c76,_0x8c9c49){const _0x2e1a73=_0x2e1a();return _0x2315=function(_0x231553,_0x4492a4){_0x231553=_0x231553-0x15a;let _0x40d3a8=_0x2e1a73[_0x231553];return _0x40d3a8;},_0x2315(_0x563c76,_0x8c9c49);}const e={'mcpStatus':{'disconnected':_0xe86930(0x15f),'connecting':_0xe86930(0x16f),'connected':_0xe86930(0x18c),'failed':'MCP\x20Connection\x20Failed','retrying':_0xe86930(0x18d),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0xe86930(0x165),'sessionOccupied':_0xe86930(0x177),'networkError':_0xe86930(0x183),'maxRetriesExceeded':_0xe86930(0x181),'clickToConnect':_0xe86930(0x172),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xe86930(0x15d),'description':_0xe86930(0x16a),'apiKey':_0xe86930(0x188),'apiKeyPlaceholder':_0xe86930(0x16d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0xe86930(0x16e),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xe86930(0x169),'configInstructions':_0xe86930(0x182),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xe86930(0x17b),'configStep2':_0xe86930(0x15a),'configStep3':_0xe86930(0x170),'sessionId':'Session\x20ID','sessionIdDescription':_0xe86930(0x176),'authorizationDescription':_0xe86930(0x16b),'configParameters':_0xe86930(0x187),'maxRetries':_0xe86930(0x166),'save':_0xe86930(0x18a),'saving':_0xe86930(0x15c),'note1':_0xe86930(0x15b),'note2':_0xe86930(0x186),'configSaved':_0xe86930(0x189),'configError':_0xe86930(0x163),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xe86930(0x167),'univerAiLabel':_0xe86930(0x160),'getStarted':_0xe86930(0x16c)},'validation':{'apiKeyRequired':_0xe86930(0x180),'apiKeyTooShort':_0xe86930(0x184),'invalidConfig':_0xe86930(0x17c),'invalidApiKey':_0xe86930(0x175)},'connectionStatus':{'disconnected':_0xe86930(0x17e),'connecting':_0xe86930(0x17a),'connected':_0xe86930(0x168),'failed':_0xe86930(0x173),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0xe86930(0x185),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xe86930(0x18b),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0xe86930(0x15e)]=n;function _0x2e1a(){const _0x90f31e=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Parameters:','API\x20Key','Configuration\x20saved\x20successfully','Save\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connected','MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','MCP\x20Configuration','exports','MCP\x20Disconnected','Univer\x20AI\x20Console','3lARsgq','1379143zvRPdh','Failed\x20to\x20save\x20configuration','2980140XmciuG','MCP:\x20Unauthorized','Max\x20Retries','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connected','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20with\x20Bearer\x20prefix.','Get\x20your\x20API\x20key\x20in\x20seconds','Enter\x20your\x20API\x20key','Enable\x20Authentication','MCP\x20Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','6280585yvEJRl','Click\x20to\x20connect\x20MCP','Connection\x20Failed','5262894aNuAEW','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Session\x20ID\x20Occupied','2402076sZtTMo','1350072qCRpJj','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','250158lyfjMB','Disconnected','14khWbJo','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Network\x20Error','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key'];_0x2e1a=function(){return _0x90f31e;};return _0x2e1a();}