@univerjs-pro/mcp-ui 0.10.8-nightly.202509200616 → 0.10.9

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 (45) 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/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. 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 _0x56bcb5=_0x417f;(function(_0x2e5ff6,_0xb9550){var _0xb9f083=_0x417f,_0x3316eb=_0x2e5ff6();while(!![]){try{var _0x31a406=parseInt(_0xb9f083(0x9e))/0x1*(parseInt(_0xb9f083(0xd2))/0x2)+-parseInt(_0xb9f083(0xb8))/0x3+-parseInt(_0xb9f083(0x19a))/0x4+-parseInt(_0xb9f083(0xf6))/0x5*(-parseInt(_0xb9f083(0x177))/0x6)+-parseInt(_0xb9f083(0x20d))/0x7*(parseInt(_0xb9f083(0x1e9))/0x8)+parseInt(_0xb9f083(0xcd))/0x9+parseInt(_0xb9f083(0x11e))/0xa*(parseInt(_0xb9f083(0x12d))/0xb);if(_0x31a406===_0xb9550)break;else _0x3316eb['push'](_0x3316eb['shift']());}catch(_0x275948){_0x3316eb['push'](_0x3316eb['shift']());}}}(_0x4d45,0x58ffd));var le=Object[_0x56bcb5(0x197)],ue=(_0x2e8597,_0xc4f3e5,_0x3d88ad)=>_0xc4f3e5 in _0x2e8597?le(_0x2e8597,_0xc4f3e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d88ad}):_0x2e8597[_0xc4f3e5]=_0x3d88ad,y=(_0x4037cc,_0x2c96e8,_0x2b94f5)=>ue(_0x4037cc,typeof _0x2c96e8!=_0x56bcb5(0x172)?_0x2c96e8+'':_0x2c96e8,_0x2b94f5);Object[_0x56bcb5(0x197)](exports,Symbol[_0x56bcb5(0xd6)],{'value':_0x56bcb5(0x1b6)});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 _0xcc931e=_0x56bcb5;return g=Object[_0xcc931e(0x1a5)]||function(_0x4f3b00){var _0x285f52=_0xcc931e;for(var _0x2506eb,_0x1f349b=0x1,_0xe55b35=arguments[_0x285f52(0xd9)];_0x1f349b<_0xe55b35;_0x1f349b++){_0x2506eb=arguments[_0x1f349b];for(var _0x21eb89 in _0x2506eb)Object[_0x285f52(0x1f4)][_0x285f52(0x8c)][_0x285f52(0xfe)](_0x2506eb,_0x21eb89)&&(_0x4f3b00[_0x21eb89]=_0x2506eb[_0x21eb89]);}return _0x4f3b00;},g['apply'](this,arguments);},ve=function(_0x246502,_0x528db4){var _0x5c22fa=_0x56bcb5,_0xc9fdf9={};for(var _0x272c4e in _0x246502)Object[_0x5c22fa(0x1f4)]['hasOwnProperty'][_0x5c22fa(0xfe)](_0x246502,_0x272c4e)&&_0x528db4[_0x5c22fa(0x1c9)](_0x272c4e)<0x0&&(_0xc9fdf9[_0x272c4e]=_0x246502[_0x272c4e]);if(_0x246502!=null&&typeof Object[_0x5c22fa(0x1ba)]==_0x5c22fa(0x20b)){for(var _0xd8b81d=0x0,_0x272c4e=Object[_0x5c22fa(0x1ba)](_0x246502);_0xd8b81d<_0x272c4e[_0x5c22fa(0xd9)];_0xd8b81d++)_0x528db4[_0x5c22fa(0x1c9)](_0x272c4e[_0xd8b81d])<0x0&&Object[_0x5c22fa(0x1f4)]['propertyIsEnumerable'][_0x5c22fa(0xfe)](_0x246502,_0x272c4e[_0xd8b81d])&&(_0xc9fdf9[_0x272c4e[_0xd8b81d]]=_0x246502[_0x272c4e[_0xd8b81d]]);}return _0xc9fdf9;},I=d[_0x56bcb5(0xd8)](function(_0x2e30c8,_0x143e85){var _0x667e97=_0x56bcb5,_0x378c3d=_0x2e30c8[_0x667e97(0x19d)],_0xde829d=_0x2e30c8['id'],_0x5a0926=_0x2e30c8[_0x667e97(0x116)],_0x260a86=_0x2e30c8[_0x667e97(0x81)],_0xb909fa=ve(_0x2e30c8,[_0x667e97(0x19d),'id','className',_0x667e97(0x81)]),_0x2d248b=_0x667e97(0x7d)[_0x667e97(0x1c3)](_0xde829d,'\x20')[_0x667e97(0x1c3)](_0x5a0926||'')['trim'](),_0x19fd43=d[_0x667e97(0x135)]('_'[_0x667e97(0x1c3)](ge()));return B(_0x378c3d,''[_0x667e97(0x1c3)](_0xde829d),{'defIds':_0x378c3d[_0x667e97(0x1a6)],'idSuffix':_0x19fd43['current']},g({'ref':_0x143e85,'className':_0x2d248b},_0xb909fa),_0x260a86);});function B(_0x104bf9,_0x3e9702,_0x507f1c,_0x49ec77,_0x2aa2a){var _0x596e99=_0x56bcb5;return d['createElement'](_0x104bf9[_0x596e99(0xb5)],g(g({'key':_0x3e9702},de(_0x104bf9,_0x507f1c,_0x2aa2a)),_0x49ec77),(Ce(_0x104bf9,_0x507f1c)[_0x596e99(0x98)]||[])[_0x596e99(0x188)](function(_0x3e9109,_0x588a3c){var _0x5e4b50=_0x596e99;return B(_0x3e9109,''[_0x5e4b50(0x1c3)](_0x3e9702,'-')[_0x5e4b50(0x1c3)](_0x104bf9[_0x5e4b50(0xb5)],'-')[_0x5e4b50(0x1c3)](_0x588a3c),_0x507f1c,void 0x0,_0x2aa2a);}));}function de(_0x220aa9,_0x17a99f,_0x2bb846){var _0x5c1ab3=_0x56bcb5,_0x322cd2=g({},_0x220aa9[_0x5c1ab3(0x1bc)]);_0x2bb846!=null&&_0x2bb846['colorChannel1']&&_0x322cd2[_0x5c1ab3(0x1c1)]===_0x5c1ab3(0x1fd)&&(_0x322cd2[_0x5c1ab3(0x1c1)]=_0x2bb846['colorChannel1']),_0x220aa9[_0x5c1ab3(0xb5)]==='mask'&&_0x322cd2['id']&&(_0x322cd2['id']=_0x322cd2['id']+_0x17a99f[_0x5c1ab3(0x185)]),Object[_0x5c1ab3(0x139)](_0x322cd2)[_0x5c1ab3(0x187)](function(_0x9e0f15){var _0x25bbe4=_0x5c1ab3,_0x1c9034=_0x9e0f15[0x0],_0x23fa23=_0x9e0f15[0x1];_0x1c9034===_0x25bbe4(0xd7)&&typeof _0x23fa23==_0x25bbe4(0xa1)&&(_0x322cd2[_0x1c9034]=_0x23fa23['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x17a99f[_0x25bbe4(0x185)],')')));});var _0x4e8635=_0x17a99f[_0x5c1ab3(0x1a6)];return!_0x4e8635||_0x4e8635[_0x5c1ab3(0xd9)]===0x0||(_0x220aa9[_0x5c1ab3(0xb5)]==='use'&&_0x322cd2[_0x5c1ab3(0xc9)]&&(_0x322cd2[_0x5c1ab3(0xc9)]=_0x322cd2[_0x5c1ab3(0xc9)]+_0x17a99f[_0x5c1ab3(0x185)]),Object[_0x5c1ab3(0x139)](_0x322cd2)[_0x5c1ab3(0x187)](function(_0x4158cf){var _0x56f1bd=_0x5c1ab3,_0x4cf860=_0x4158cf[0x0],_0x55429a=_0x4158cf[0x1];typeof _0x55429a=='string'&&(_0x322cd2[_0x4cf860]=_0x55429a[_0x56f1bd(0x173)](/url\(#(.*)\)/,_0x56f1bd(0x1b1)[_0x56f1bd(0x1c3)](_0x17a99f['idSuffix'],')')));})),_0x322cd2;}function Ce(_0x5ea19d,_0x540933){var _0x2f6dde=_0x56bcb5,_0x4a25c5,_0x290f7a=_0x540933[_0x2f6dde(0x1a6)];return!_0x290f7a||_0x290f7a['length']===0x0?_0x5ea19d:_0x5ea19d['tag']===_0x2f6dde(0xe3)&&(!((_0x4a25c5=_0x5ea19d[_0x2f6dde(0x98)])===null||_0x4a25c5===void 0x0)&&_0x4a25c5['length'])?g(g({},_0x5ea19d),{'children':_0x5ea19d[_0x2f6dde(0x98)][_0x2f6dde(0x188)](function(_0x1ee72a){var _0x3c0307=_0x2f6dde;return typeof _0x1ee72a[_0x3c0307(0x1bc)]['id']==_0x3c0307(0xa1)&&_0x290f7a&&_0x290f7a[_0x3c0307(0xd4)](_0x1ee72a[_0x3c0307(0x1bc)]['id'])?g(g({},_0x1ee72a),{'attrs':g(g({},_0x1ee72a[_0x3c0307(0x1bc)]),{'id':_0x1ee72a['attrs']['id']+_0x540933['idSuffix']})}):_0x1ee72a;})}):_0x5ea19d;}function ge(){var _0x57907a=_0x56bcb5;return Math[_0x57907a(0x146)]()[_0x57907a(0x18a)](0x24)[_0x57907a(0xb2)](0x2,0x8);}function _0x4d45(){var _0x20e0fc=['next','univer-space-y-3','children','hover:univer-opacity-80','univer.plus','0\x200\x2016\x2016','MCP:\x20Max\x20Retries\x20Exceeded','mcpConfig.authorizationDescription','2YaXCoB','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','Disconnected','string','getCurrentConfig','mcpStatus.retrying','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpStatus.invalidApiKey','registerCommand','API\x20密钥无效,请检查您的密钥后重试','mcpConfig.connectionStatus.failed','0\x200\x2017\x2016','help-single','_messageService','mcp-config-dialog','warn','ILogService','MCP\x20已连接','重连中...','Injector','substring','add','Disposable','tag','配置保存成功','HEADER_MENU','24936KtquYo','_createConfigPanelComponent','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','currentColor','close-small-single','url(#on-line-icon_clip0_910_349)','MessageType','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20is\x20required','MCP\x20已断开','启用身份验证','mcpStatus.clickToConfigure','mcpConfig.validation.apiKeyTooShort','mcpConfig.configInstructions','UniverMCPPlugin','0\x200\x2017\x2017','on-line-icon_clip0_910_349','xlink:href','has','BehaviorSubject','Inject','5806800QNJPEn','mergeMenu','mcpConfig.connectionError.sessionOccupied','_apiKey$','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','432958bHASdw','pluginName','includes','_blank','toStringTag','mask','forwardRef','length','onStarting','Retrying...','white','连接失败','_mcpCoreConfig$','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.connectionStatus.connecting','几秒钟内获取您的\x20API\x20密钥','mcpServerUrl','defs','univer-text-gray-400','Input','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','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','启用身份验证以获得安全连接','subscribe','show','univer-space-y-5','Enable\x20authentication\x20for\x20secure\x20connections','_initializeMenus','merge','带有\x20Bearer\x20前缀的\x20API\x20密钥。','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置步骤:','API\x20key\x20with\x20Bearer\x20prefix.','svg','mcpConfig.apiApplyInfo.title','none','122220zjqPYh','CloseSmallSingle','_localeService','_menuManagerService','最大重试次数','RETRYING','off-line-icon','enUS','call','_configService','connectInjector','MCPConnectionUIController','mcpStatus.connected','univer-bg-green-500','univer-text-gray-500','path','univer.ai','mcpConfig.configStep2','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','Connecting...','MCPConfigPanel','mcpConfig.connectionError.invalidApiKey','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.title','univer-flex\x20univer-items-center\x20univer-gap-2','API\x20key\x20is\x20required\x20to\x20connect','univer-font-medium','会话ID','https://console.univer.ai','WebSocketService','_injector','bottom','className','Error','useCallback','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-text-xs\x20univer-text-gray-600','connectionError$','showDeveloperTools','showConfigPanel','130GjHcMc','INVALID_API_KEY','Configuration\x20Steps:','重启您的\x20MCP\x20客户端以使配置生效','MCP:\x20超出最大重试次数','_registerComponent','Connection\x20Failed','MCP:\x20网络错误','保存配置','createElement','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','API\x20密钥长度至少需要\x2010\x20位','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','35398nDKJig','removeItem','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.apiKey','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.connectionError.maxRetriesExceeded','什么是\x20API\x20密钥?','mcpConfig.validation.invalidApiKey','useRef','mcpStatus.failed','MCPConnectionController','on-line-icon','entries','mcpConfig.configStep1','API\x20Key','univer-text-sm\x20univer-text-gray-500','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','MCP\x20Client\x20Configuration','Button','_config$','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','已连接','_dialogService','ISocketService','univer-bg-red-500','random','BuiltInUIPart','Configuration\x20Parameters:','API\x20密钥无效,请检查密钥是否正确','RibbonStartGroup','配置参数:','mcpStatus.unknown','\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','IUIPartsService','UniverMCPUIPlugin','check-mark-icon','MCP\x20Unknown\x20Status','MCP\x20连接中...','off','https://console.univer.plus','What\x20is\x20API\x20Key?','Copy\x20the\x20JSON\x20configuration\x20below','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_localStorageService','getOwnPropertyDescriptor','Bearer\x20','__setCustomHeaders','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.note1','mcpStatus.disconnected','OnLineIcon','将配置添加到您的\x20MCP\x20客户端设置文件中','配置保存失败','MCPUIMenuController','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','_commandService','round','get','enableAutoConnect','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MAX_RETRIES_EXCEEDED','Enter\x20your\x20API\x20key','Tooltip','sessionId$','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','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','_componentManager','symbol','replace','noopener\x20noreferrer','Univer\x20AI\x20控制台','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','114oTDUgV','Failed\x20to\x20save\x20configuration','MCP\x20客户端配置','HelpSingle','_logService','ICommandService','Enable\x20Authentication','useState','_connectionController','超出最大重试次数,请稍后再试','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20会话被占用','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','MCP\x20Configuration','idSuffix','connectionStatus$','forEach','map','会话当前被占用,请稍后再试','toString','MCP\x20Connected','zhCN','text','MCP\x20Retrying...','OTHERS','将以下配置添加到您的\x20MCP\x20客户端设置中:','apiKey','javascript:void(0)','OffLineIcon','mcpStatus.networkError','MCPStatusDisplay','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','defineProperty','MCP:\x20Invalid\x20API\x20Key','_uiPartsService','2712220ZsreFO','点击配置\x20MCP','点击连接\x20MCP','icon','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','Click\x20to\x20configure\x20MCP','mcpConfig.connectionStatus.connected','univer-text-xs\x20univer-text-gray-500','_mcpConnectionController','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','assign','defIds','\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','您的\x20API\x20密钥将在此浏览器中本地存储','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-flex\x20univer-gap-3','trim','DISCONNECTED','\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','univer-flex\x20univer-items-start\x20univer-gap-2','mcp-ui.config','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','url(#$1','Session\x20ID','IDialogService','url(#off-line-icon_clip0_910_343)','univer-bg-blue-500','Module','_loading$','MCPConnectionError','Authorization:','getOwnPropertySymbols','\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','attrs','errorMessage','off-line-icon_clip0_910_343','clipPath','Click\x20to\x20connect\x20MCP','fill','mcpConfig.connectionError.networkError','concat','mcpConfig.configStep3','Max\x20Retries','M5.21243\x2012.287L11.8791\x205.62036','_initStatusComponent','MCP_PLUGIN_CONFIG_KEY','indexOf','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','FAILED','M5.21243\x205.62036L11.8791\x2012.287','1em','配置\x20MCP\x20使用\x20AI\x20操作电子表格','复制以下\x20JSON\x20配置','mcpConfig.description','jsxs','http://www.w3.org/2000/svg','displayName','NONE','univer-text-yellow-500','mcpConfig.validation.apiKeyRequired','getConfig','您的\x20API\x20密钥安全存储在本地存储中','IConfigService','保存中...','translate(.97)','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','OpenMCPConfigPanelCommand','error','UniverIcon','univer-flex-1','_config','evenodd','univer-flex-shrink-0\x20univer-text-red-500','disposeWithMe','Save\x20Configuration','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','\x20-\x20','152hlEXNg','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcpConfig.saving','mcpConfig.validation.invalidConfig','univer-space-y-4','SESSION_ID_OCCUPIED','API\x20密钥不能为空','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','M0\x200H16V16H0z','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','MCP:\x20API\x20Key\x20Missing','prototype','CommandType','clsx','mcpConfig.connectionStatus.retrying','DependentOn','请输入您的\x20API\x20密钥','MCPConfigUIController','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','colorChannel1','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','_initConfigSync','validateApiKey','univer-text-blue-600','useObservable','配置无效','mcpStatus.connecting','univer-space-y-2','MCPConnectionStatus','NETWORK_ERROR','ComponentManager','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','function','_handleConfigure','196560cRqXRW','mcpConfig.apiKeyPlaceholder','div','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','未连接','CONNECTED','value','close','CONNECTING','MCP\x20连接失败','univerjs-icon\x20univerjs-icon-','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','ILocalStorageService','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','extend','_initializeCommands','_validateConfig','MCP\x20状态未知','mcpConfig.apiApplyInfo.getStarted','mcp.apiKey','mcpConfig.apiApplyInfo.univerAiLabel','univer-text-red-500','_loadStoredApiKey','register','jsx','hasOwnProperty','span','useDependency','isValid','配置更改将立即生效','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','LocaleService','subscribeConfigValue$','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.sessionIdDescription'];_0x4d45=function(){return _0x20e0fc;};return _0x4d45();}I['displayName']=_0x56bcb5(0x1e0);var fe={'tag':_0x56bcb5(0xf3),'attrs':{'xmlns':_0x56bcb5(0x1d2),'fill':_0x56bcb5(0xf5),'viewBox':'0\x200\x2016\x2016','width':_0x56bcb5(0x1cd),'height':'1em'},'children':[{'tag':_0x56bcb5(0x105),'attrs':{'fill':_0x56bcb5(0xbb),'d':_0x56bcb5(0x76),'fillRule':_0x56bcb5(0x1e3),'clipRule':_0x56bcb5(0x1e3)}}]},V=d[_0x56bcb5(0xd8)](function(_0x11d812,_0xbb3d69){var _0x32e2b9=_0x56bcb5;return d['createElement'](I,Object[_0x32e2b9(0x1a5)]({},_0x11d812,{'id':_0x32e2b9(0x150),'ref':_0xbb3d69,'icon':fe}));});V['displayName']='CheckMarkIcon';var pe={'tag':_0x56bcb5(0xf3),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x56bcb5(0xc7),'width':'1em','height':_0x56bcb5(0x1cd)},'children':[{'tag':_0x56bcb5(0x105),'attrs':{'stroke':_0x56bcb5(0xbb),'d':_0x56bcb5(0x1cc),'strokeLinecap':'round','strokeLinejoin':_0x56bcb5(0x166),'strokeWidth':1.33}},{'tag':_0x56bcb5(0x105),'attrs':{'stroke':_0x56bcb5(0xbb),'d':_0x56bcb5(0x1c6),'strokeLinecap':_0x56bcb5(0x166),'strokeLinejoin':_0x56bcb5(0x166),'strokeWidth':1.33}}]},F=d[_0x56bcb5(0xd8)](function(_0xe861c5,_0x93901f){var _0x3472af=_0x56bcb5;return d[_0x3472af(0x127)](I,Object[_0x3472af(0x1a5)]({},_0xe861c5,{'id':_0x3472af(0xbc),'ref':_0x93901f,'icon':pe}));});F[_0x56bcb5(0x1d3)]=_0x56bcb5(0xf7);var he={'tag':_0x56bcb5(0xf3),'attrs':{'xmlns':_0x56bcb5(0x1d2),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x56bcb5(0x1cd),'height':_0x56bcb5(0x1cd)},'children':[{'tag':'path','attrs':{'fill':_0x56bcb5(0xbb),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x56bcb5(0x1f2)}},{'tag':_0x56bcb5(0x105),'attrs':{'fill':_0x56bcb5(0xbb),'d':_0x56bcb5(0xe6),'fillRule':_0x56bcb5(0x1e3),'clipRule':'evenodd'}}]},H=d[_0x56bcb5(0xd8)](function(_0x4e8a64,_0x57d1a1){var _0x3b97e0=_0x56bcb5;return d[_0x3b97e0(0x127)](I,Object['assign']({},_0x4e8a64,{'id':_0x3b97e0(0xaa),'ref':_0x57d1a1,'icon':he}));});function _0x417f(_0x5b7f7f,_0x2ea002){var _0x4d450a=_0x4d45();return _0x417f=function(_0x417fa8,_0x5f0598){_0x417fa8=_0x417fa8-0x75;var _0x4a3c73=_0x4d450a[_0x417fa8];return _0x4a3c73;},_0x417f(_0x5b7f7f,_0x2ea002);}H[_0x56bcb5(0x1d3)]=_0x56bcb5(0x17a);var me={'tag':_0x56bcb5(0xf3),'attrs':{'xmlns':_0x56bcb5(0x1d2),'fill':_0x56bcb5(0xf5),'viewBox':_0x56bcb5(0x9b),'width':_0x56bcb5(0x1cd),'height':_0x56bcb5(0x1cd)},'children':[{'tag':'g','attrs':{'clipPath':_0x56bcb5(0x1b4)},'children':[{'tag':_0x56bcb5(0x105),'attrs':{'stroke':'currentColor','d':_0x56bcb5(0x80),'strokeLinecap':_0x56bcb5(0x166),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x56bcb5(0xe3),'attrs':{},'children':[{'tag':_0x56bcb5(0x1bf),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x56bcb5(0x1f1)}}]}]}],'defIds':[_0x56bcb5(0x1be)]},q=d[_0x56bcb5(0xd8)](function(_0x53ffc7,_0x510d5f){var _0x9811d7=_0x56bcb5;return d[_0x9811d7(0x127)](I,Object[_0x9811d7(0x1a5)]({},_0x53ffc7,{'id':_0x9811d7(0xfc),'ref':_0x510d5f,'icon':me}));});q[_0x56bcb5(0x1d3)]=_0x56bcb5(0x193);var xe={'tag':_0x56bcb5(0xf3),'attrs':{'xmlns':_0x56bcb5(0x1d2),'fill':_0x56bcb5(0xf5),'viewBox':_0x56bcb5(0xa9),'width':_0x56bcb5(0x1cd),'height':_0x56bcb5(0x1cd)},'children':[{'tag':'g','attrs':{'clipPath':_0x56bcb5(0xbd)},'children':[{'tag':'path','attrs':{'stroke':_0x56bcb5(0xbb),'d':_0x56bcb5(0x1ca),'strokeLinecap':_0x56bcb5(0x166),'strokeLinejoin':_0x56bcb5(0x166),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x56bcb5(0x1bf),'attrs':{'id':_0x56bcb5(0xc8)},'children':[{'tag':'path','attrs':{'fill':_0x56bcb5(0xdc),'d':_0x56bcb5(0x1f1),'transform':_0x56bcb5(0x1db)}}]}]}],'defIds':[_0x56bcb5(0xc8)]},z=d['forwardRef'](function(_0x3626d4,_0x334f54){var _0x12517d=_0x56bcb5;return d[_0x12517d(0x127)](I,Object[_0x12517d(0x1a5)]({},_0x3626d4,{'id':_0x12517d(0x138),'ref':_0x334f54,'icon':xe}));});z[_0x56bcb5(0x1d3)]=_0x56bcb5(0x160);function W(_0x4205b6){var _0x5281ed=_0x56bcb5,_0x249fab,_0x214283;const {mcpCoreConfig:_0x5dcd3d,onSave:_0x2cf727,loading:_0x2ae0a2=!0x1,config:_0x48f3bb,connectionStatus$:_0x44f786,connectionError$:_0x2d5dc4,currentApiKey$:_0x13b6b4,currentSessionId$:_0x531c60}=_0x4205b6,_0x22e8b2=v['useDependency'](u[_0x5281ed(0x92)]),_0x52263f=v[_0x5281ed(0x202)](_0x44f786,s['MCPConnectionStatus'][_0x5281ed(0x1ac)]),_0x3a8b3b=v[_0x5281ed(0x202)](_0x2d5dc4,s[_0x5281ed(0x1b8)][_0x5281ed(0x1d4)]),_0xdfe769=v[_0x5281ed(0x202)](_0x531c60,''),_0x18ef08=v[_0x5281ed(0x202)](_0x13b6b4,''),[_0x48037,_0x475324]=d[_0x5281ed(0x17e)](_0x18ef08||''),_0x26fb97=!0x0,_0x171253=_0x48f3bb[_0x5281ed(0x11c)]&&_0x5dcd3d[_0x5281ed(0xe2)]&&(_0x5dcd3d['mcpServerUrl'][_0x5281ed(0xd4)](_0x5281ed(0x9a))||_0x5dcd3d[_0x5281ed(0xe2)]['includes'](_0x5281ed(0x106))),_0x15191a=(_0x249fab=_0x5dcd3d[_0x5281ed(0xe2)])==null?void 0x0:_0x249fab[_0x5281ed(0xd4)](_0x5281ed(0x9a)),_0x2c0a56=(_0x214283=_0x5dcd3d[_0x5281ed(0xe2)])==null?void 0x0:_0x214283[_0x5281ed(0xd4)]('univer.ai'),_0x498add=_0x15191a?_0x5281ed(0x154):_0x5281ed(0x112),_0x3f1c91=_0x48f3bb[_0x5281ed(0x11c)]&&(_0x15191a||_0x2c0a56),[_0x58c366,_0x2751a2]=d[_0x5281ed(0x17e)](!_0x48037['trim']()),_0x2208b2=(_0x15b6d3,_0x19788e)=>{var _0x108d4e=_0x5281ed;if(_0x19788e===s['MCPConnectionError'][_0x108d4e(0x11f)])return _0x108d4e(0x1dc);switch(_0x15b6d3){case s['MCPConnectionStatus'][_0x108d4e(0x78)]:return _0x108d4e(0xba);case s[_0x108d4e(0x206)][_0x108d4e(0x7b)]:case s[_0x108d4e(0x206)][_0x108d4e(0xfb)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x108d4e(0x206)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x108d4e(0x1b0);}},_0x33afa1=(_0x579c64,_0x513849)=>{var _0x44f5d7=_0x5281ed;if(_0x513849===s[_0x44f5d7(0x1b8)][_0x44f5d7(0x11f)])return'univer-bg-red-500';switch(_0x579c64){case s[_0x44f5d7(0x206)][_0x44f5d7(0x78)]:return _0x44f5d7(0x103);case s['MCPConnectionStatus'][_0x44f5d7(0x7b)]:case s[_0x44f5d7(0x206)][_0x44f5d7(0xfb)]:return _0x44f5d7(0x1b5);case s[_0x44f5d7(0x206)][_0x44f5d7(0x1cb)]:return _0x44f5d7(0x145);default:return'univer-bg-gray-500';}},_0x356863=_0x30dcf4=>{var _0x294c53=_0x5281ed;switch(_0x30dcf4){case s[_0x294c53(0x206)][_0x294c53(0x78)]:return _0x22e8b2['t'](_0x294c53(0x1a0));case s[_0x294c53(0x206)][_0x294c53(0x7b)]:return _0x22e8b2['t'](_0x294c53(0xe0));case s['MCPConnectionStatus'][_0x294c53(0x1cb)]:return _0x22e8b2['t'](_0x294c53(0xa8));case s[_0x294c53(0x206)][_0x294c53(0xfb)]:return _0x22e8b2['t'](_0x294c53(0x1f7));default:return _0x22e8b2['t']('mcpConfig.connectionStatus.disconnected');}},_0x332994=_0x581f76=>{var _0x25b6b1=_0x5281ed;switch(_0x581f76){case s[_0x25b6b1(0x1b8)][_0x25b6b1(0x11f)]:return _0x22e8b2['t'](_0x25b6b1(0x10b));case s[_0x25b6b1(0x1b8)][_0x25b6b1(0x1ee)]:return _0x22e8b2['t'](_0x25b6b1(0xcf));case s[_0x25b6b1(0x1b8)][_0x25b6b1(0x207)]:return _0x22e8b2['t'](_0x25b6b1(0x1c2));case s[_0x25b6b1(0x1b8)][_0x25b6b1(0x16a)]:return _0x22e8b2['t'](_0x25b6b1(0x132));default:return'';}},_0x471a12=d['useCallback'](()=>{const _0x5ccd21={..._0x5dcd3d,'apiKey':_0x48037['trim'](),'enableAuth':_0x26fb97};_0x2cf727(_0x5ccd21);},[_0x5dcd3d,_0x48037,_0x26fb97,_0x2cf727]),_0x4c0cb7=_0x48037[_0x5281ed(0x1ab)]()[_0x5281ed(0xd9)]>0x0;return i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x1dd),'children':[i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x1a9),'children':i[_0x5281ed(0x1d1)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[i[_0x5281ed(0x8b)]('div',{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':i['jsx']('span',{'className':'univer-text-white','children':'⚙'})}),i[_0x5281ed(0x8b)]('div',{'children':i[_0x5281ed(0x8b)]('p',{'className':_0x5281ed(0x13c),'children':_0x22e8b2['t'](_0x5281ed(0x1d0))})})]})}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x176),'children':[i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x1ad)+_0x2208b2(_0x52263f,_0x3a8b3b)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x10e),'children':[i['jsx']('div',{'className':_0x5281ed(0x1a7)+_0x33afa1(_0x52263f,_0x3a8b3b)+_0x5281ed(0x14d)}),i[_0x5281ed(0x8b)](_0x5281ed(0x8d),{'className':'univer-text-sm\x20univer-font-medium','children':_0x356863(_0x52263f)})]})}),_0x3a8b3b!==s['MCPConnectionError']['NONE']&&(_0x52263f===s[_0x5281ed(0x206)][_0x5281ed(0x1cb)]||_0x3a8b3b===s[_0x5281ed(0x1b8)][_0x5281ed(0x11f)])&&i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0xdf),'children':i[_0x5281ed(0x1d1)]('div',{'className':_0x5281ed(0x1ae),'children':[i[_0x5281ed(0x8b)](_0x5281ed(0x8d),{'className':_0x5281ed(0x1e4),'children':'⚠️'}),i[_0x5281ed(0x8b)]('p',{'className':_0x5281ed(0x1fe),'children':_0x332994(_0x3a8b3b)})]})})]}),i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x1fb),'children':i[_0x5281ed(0x1d1)]('div',{'className':_0x5281ed(0xeb),'children':[i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x205),'children':[i[_0x5281ed(0x1d1)]('label',{'className':_0x5281ed(0x94),'children':[i['jsx'](_0x5281ed(0x8d),{'children':'🔑'}),'\x20',_0x22e8b2['t'](_0x5281ed(0x130)),i[_0x5281ed(0x8b)]('span',{'className':_0x5281ed(0x88),'children':'*'}),_0x171253&&i['jsx']('a',{'href':_0x5281ed(0x192),'onClick':()=>_0x2751a2(!0x0),'className':_0x5281ed(0x9f),'title':_0x22e8b2['t'](_0x5281ed(0xf4)),'children':i[_0x5281ed(0x8b)](H,{})})]}),i['jsx'](P[_0x5281ed(0xe5)],{'type':_0x5281ed(0x18d),'placeholder':_0x22e8b2['t'](_0x5281ed(0x20e)),'value':_0x48037,'onChange':_0x475324,'disabled':_0x2ae0a2,'autoComplete':_0x5281ed(0x153)}),i[_0x5281ed(0x8b)]('p',{'className':_0x5281ed(0x1a1),'children':_0x22e8b2['t']('mcpConfig.apiKeyHint')})]}),_0x171253&&_0x58c366&&i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x1f0),'children':[i[_0x5281ed(0x8b)]('a',{'href':_0x5281ed(0x192),'onClick':()=>_0x2751a2(!0x1),'className':_0x5281ed(0x108),'title':'Close','children':i[_0x5281ed(0x8b)](F,{})}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x16f),'children':[i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x170),'children':i['jsx']('span',{'className':_0x5281ed(0x201),'children':'🚀'})}),i['jsxs'](_0x5281ed(0x75),{'className':_0x5281ed(0x1e1),'children':[i[_0x5281ed(0x8b)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x22e8b2['t'](_0x5281ed(0xf4))}),i['jsx']('p',{'className':_0x5281ed(0x158),'children':_0x22e8b2['t']('mcpConfig.apiApplyInfo.description')}),i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x209),'children':_0x3f1c91&&i[_0x5281ed(0x1d1)]('a',{'href':_0x498add,'target':_0x5281ed(0xd5),'rel':_0x5281ed(0x174),'className':_0x5281ed(0x183),'children':[i['jsx'](_0x5281ed(0x8d),{'children':'🤖'}),_0x22e8b2['t'](_0x5281ed(0x87)),i['jsx'](_0x5281ed(0x8d),{'className':_0x5281ed(0xe4),'children':'↗'})]})}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x22e8b2['t'](_0x5281ed(0x85))]})]})]})]}),_0x48f3bb[_0x5281ed(0x11c)]&&i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x91),'children':[i[_0x5281ed(0x1d1)]('h4',{'className':_0x5281ed(0x1e7),'children':[i[_0x5281ed(0x8b)](_0x5281ed(0x8d),{'children':'🔗'}),'\x20',_0x22e8b2['t']('mcpConfig.connectionInfo')]}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x1ed),'children':[i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x97),'children':[i[_0x5281ed(0x8b)]('p',{'className':_0x5281ed(0x11a),'children':_0x22e8b2['t'](_0x5281ed(0xc5))}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':'univer-space-y-2','children':[i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x141),'children':_0x22e8b2['t']('mcpConfig.configStepTitle')}),i['jsxs']('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x10e),'children':[i[_0x5281ed(0x8b)](_0x5281ed(0x8d),{'className':_0x5281ed(0x19e),'children':'1'}),_0x22e8b2['t'](_0x5281ed(0x13a))]}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x10e),'children':[i[_0x5281ed(0x8b)](_0x5281ed(0x8d),{'className':_0x5281ed(0x19e),'children':'2'}),_0x22e8b2['t'](_0x5281ed(0x107))]}),i['jsxs'](_0x5281ed(0x75),{'className':_0x5281ed(0x10e),'children':[i[_0x5281ed(0x8b)](_0x5281ed(0x8d),{'className':_0x5281ed(0x19e),'children':'3'}),_0x22e8b2['t'](_0x5281ed(0x1c4))]})]})]})]}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':'univer-space-y-2','children':[i['jsx'](_0x5281ed(0x75),{'className':_0x5281ed(0x141),'children':_0x5281ed(0x184)}),i['jsx'](_0x5281ed(0x75),{'className':_0x5281ed(0x129),'children':i[_0x5281ed(0x8b)]('pre',{'className':_0x5281ed(0x196),'children':_0x5281ed(0x12c)+_0xdfe769+_0x5281ed(0x1bb)+(_0x48037||'<API_KEY>')+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),i['jsxs'](_0x5281ed(0x75),{'className':_0x5281ed(0x97),'children':[i['jsx'](_0x5281ed(0x75),{'className':_0x5281ed(0x141),'children':_0x22e8b2['t']('mcpConfig.configParameters')}),i['jsxs'](_0x5281ed(0x75),{'className':_0x5281ed(0x205),'children':[i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x15d),'children':[i[_0x5281ed(0x8b)]('div',{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x5281ed(0x8b)]('div',{'className':_0x5281ed(0x12a),'children':'univer_session_id:'}),i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x1a1),'children':_0x22e8b2['t'](_0x5281ed(0x95))})]})]}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x12a),'children':_0x5281ed(0x1b9)}),i[_0x5281ed(0x8b)]('div',{'className':_0x5281ed(0x1a1),'children':_0x22e8b2['t'](_0x5281ed(0x9d))})]})]})]})]})]})]}),i[_0x5281ed(0x8b)](P[_0x5281ed(0x13f)],{'onClick':_0x471a12,'disabled':!_0x4c0cb7||_0x2ae0a2,'className':_0x5281ed(0x13d),'children':_0x2ae0a2?i['jsxs'](_0x5281ed(0x8d),{'className':_0x5281ed(0x10e),'children':[i[_0x5281ed(0x8b)]('span',{'children':'⟲'}),_0x22e8b2['t'](_0x5281ed(0x1eb))]}):i[_0x5281ed(0x1d1)](_0x5281ed(0x8d),{'className':_0x5281ed(0x10e),'children':[i[_0x5281ed(0x8b)](V,{}),_0x22e8b2['t']('mcpConfig.save')]})}),i[_0x5281ed(0x8b)](_0x5281ed(0x75),{'className':_0x5281ed(0x20a),'children':i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x1aa),'children':[i[_0x5281ed(0x8b)]('span',{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),i[_0x5281ed(0x1d1)](_0x5281ed(0x75),{'className':_0x5281ed(0x169),'children':[i['jsx'](_0x5281ed(0x75),{'className':_0x5281ed(0x110),'children':'Configuration\x20Notes:'}),i[_0x5281ed(0x1d1)]('div',{'children':['•',_0x22e8b2['t'](_0x5281ed(0x15e))]}),i[_0x5281ed(0x1d1)]('div',{'children':['•',_0x22e8b2['t']('mcpConfig.note2')]})]})]})})]})})]});}const D=_0x56bcb5(0x1af),G={'showDeveloperTools':!0x1};var Pe=Object[_0x56bcb5(0x15a)],Se=(_0x38aa74,_0x187256,_0x505fda,_0x4d9c33)=>{for(var _0x3ee5d0=_0x4d9c33>0x1?void 0x0:_0x4d9c33?Pe(_0x187256,_0x505fda):_0x187256,_0x166c48=_0x38aa74['length']-0x1,_0x6a83cf;_0x166c48>=0x0;_0x166c48--)(_0x6a83cf=_0x38aa74[_0x166c48])&&(_0x3ee5d0=_0x6a83cf(_0x3ee5d0)||_0x3ee5d0);return _0x3ee5d0;},f=(_0x536816,_0x28264a)=>(_0x4ec400,_0x157f86)=>_0x28264a(_0x4ec400,_0x157f86,_0x536816);const A=_0x56bcb5(0x86),O=_0x56bcb5(0xac);exports['MCPConfigUIController']=class extends u[_0x56bcb5(0xb4)]{constructor(_0x20bb03,_0x1984b1,_0x393b98,_0x103db9,_0x80d850,_0xa667d,_0x1b769b,_0x17be56,_0x3aa75e,_0x2b2f52){var _0x28955d=_0x56bcb5;super(),y(this,_0x28955d(0x1b7),new M[(_0x28955d(0xcb))](!0x1)),y(this,'_mcpCoreConfig$',new M[(_0x28955d(0xcb))]({})),y(this,_0x28955d(0x140),new M[(_0x28955d(0xcb))]({})),y(this,'_apiKey$',new M['BehaviorSubject']('')),y(this,'_handleConfigSave',async _0x14234c=>{var _0x4af904=_0x28955d,_0x44bc33,_0x3d0e00;this['_loading$']['next'](!0x0);try{const _0x2a7f56=await this[_0x4af904(0x83)](_0x14234c);if(!_0x2a7f56['isValid']){this[_0x4af904(0xab)][_0x4af904(0xea)]({'type':P[_0x4af904(0xbe)]['Error'],'content':_0x2a7f56[_0x4af904(0x1bd)]||this[_0x4af904(0xf8)]['t'](_0x4af904(0x1ec))});return;}_0x14234c[_0x4af904(0x191)]?await this[_0x4af904(0x159)]['setItem'](A,_0x14234c[_0x4af904(0x191)][_0x4af904(0x1ab)]()):await this[_0x4af904(0x159)][_0x4af904(0x12e)](A),this[_0x4af904(0xd0)][_0x4af904(0x96)](((_0x44bc33=_0x14234c[_0x4af904(0x191)])==null?void 0x0:_0x44bc33[_0x4af904(0x1ab)]())||''),this[_0x4af904(0x1a2)][_0x4af904(0x15c)]({'Authorization':_0x4af904(0x15b)+((_0x3d0e00=_0x14234c['apiKey'])==null?void 0x0:_0x3d0e00[_0x4af904(0x1ab)]())}),this[_0x4af904(0xab)][_0x4af904(0xea)]({'type':P[_0x4af904(0xbe)]['Success'],'content':this[_0x4af904(0xf8)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0xb80982=_0x4af904;this[_0xb80982(0x143)]['close'](O);},0x320);}catch(_0x29936c){this['_logService'][_0x4af904(0x1df)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x29936c),this[_0x4af904(0xab)][_0x4af904(0xea)]({'type':P[_0x4af904(0xbe)][_0x4af904(0x117)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x4af904(0x96)](!0x1);}}),(this[_0x28955d(0x114)]=_0x20bb03,this[_0x28955d(0x199)]=_0x1984b1,this['_configService']=_0x393b98,this[_0x28955d(0x159)]=_0x103db9,this[_0x28955d(0x143)]=_0x80d850,this[_0x28955d(0xab)]=_0xa667d,this[_0x28955d(0x171)]=_0x1b769b,this[_0x28955d(0xf8)]=_0x17be56,this[_0x28955d(0x17b)]=_0x3aa75e,this[_0x28955d(0x1a2)]=_0x2b2f52,this[_0x28955d(0x1ff)](),this[_0x28955d(0x89)](),this[_0x28955d(0x123)]());}[_0x56bcb5(0x11d)](){var _0x53a776=_0x56bcb5;this['_dialogService']['open']({'id':O,'title':{'title':this[_0x53a776(0xf8)]['t']('mcpConfig.title')},'children':{'label':_0x53a776(0x10a)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x4386af=_0x53a776;this[_0x4386af(0x143)][_0x4386af(0x7a)](O);}});}[_0x56bcb5(0xa2)](){var _0x52954b=_0x56bcb5;return this[_0x52954b(0xde)][_0x52954b(0x79)];}[_0x56bcb5(0x123)](){var _0x497593=_0x56bcb5;this[_0x497593(0x1e5)](this[_0x497593(0x171)][_0x497593(0x8a)](_0x497593(0x10a),this[_0x497593(0xb9)]()));}[_0x56bcb5(0xb9)](){var _0x81c1ad=_0x56bcb5;return v[_0x81c1ad(0x100)](()=>{var _0x2d656b=_0x81c1ad,_0x4784e1,_0x5ec19c,_0x22b9be;return i[_0x2d656b(0x8b)](W,{'config':this[_0x2d656b(0x140)][_0x2d656b(0x79)],'mcpCoreConfig':this[_0x2d656b(0xde)][_0x2d656b(0x79)],'currentApiKey$':this[_0x2d656b(0xd0)],'onSave':this['_handleConfigSave'],'loading':this['_loading$'][_0x2d656b(0x79)],'connectionStatus$':(_0x4784e1=this[_0x2d656b(0x1a2)])==null?void 0x0:_0x4784e1[_0x2d656b(0x186)],'connectionError$':(_0x5ec19c=this[_0x2d656b(0x1a2)])==null?void 0x0:_0x5ec19c['connectionError$'],'currentSessionId$':(_0x22b9be=this['_mcpConnectionController'])==null?void 0x0:_0x22b9be[_0x2d656b(0x16d)]});},this['_injector']);}[_0x56bcb5(0x1ff)](){var _0x3e8b82=_0x56bcb5;this['disposeWithMe'](this[_0x3e8b82(0xff)][_0x3e8b82(0x93)](s[_0x3e8b82(0x1c8)])[_0x3e8b82(0xe9)](_0x5ce7d6=>{var _0x4f5b4f=_0x3e8b82;this[_0x4f5b4f(0xde)]['next'](_0x5ce7d6||{});}));const _0x2f6c15=this[_0x3e8b82(0xff)][_0x3e8b82(0x1d7)](s[_0x3e8b82(0x1c8)]);this[_0x3e8b82(0xde)][_0x3e8b82(0x96)](_0x2f6c15||{}),this[_0x3e8b82(0x1e5)](this[_0x3e8b82(0xff)][_0x3e8b82(0x93)](D)['subscribe'](_0x28af84=>{var _0x4ceba7=_0x3e8b82;this[_0x4ceba7(0x140)][_0x4ceba7(0x96)](_0x28af84||{});}));const _0x438688=this[_0x3e8b82(0xff)][_0x3e8b82(0x1d7)](D);this['_config$']['next'](_0x438688||{});}async[_0x56bcb5(0x89)](){var _0x4b9ca5=_0x56bcb5;const _0x1b5da7=await this[_0x4b9ca5(0x159)]['getItem'](A);_0x1b5da7&&(this[_0x4b9ca5(0x1a2)][_0x4b9ca5(0x15c)]({'Authorization':_0x4b9ca5(0x15b)+_0x1b5da7}),this[_0x4b9ca5(0xd0)][_0x4b9ca5(0x96)](_0x1b5da7));}async[_0x56bcb5(0x83)](_0x31c3ad){var _0x3d35e7=_0x56bcb5;if(!_0x31c3ad[_0x3d35e7(0x191)]||_0x31c3ad[_0x3d35e7(0x191)][_0x3d35e7(0x1ab)]()[_0x3d35e7(0xd9)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x3d35e7(0x1d6))};if(_0x31c3ad['apiKey'][_0x3d35e7(0x1ab)]()[_0x3d35e7(0xd9)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3d35e7(0xf8)]['t'](_0x3d35e7(0xc4))};try{const _0x6b4e9=await this['_injector'][_0x3d35e7(0x167)](s['MCPConnectionController'])[_0x3d35e7(0x200)](_0x31c3ad[_0x3d35e7(0x191)][_0x3d35e7(0x1ab)]());return _0x6b4e9[_0x3d35e7(0x8f)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x6b4e9[_0x3d35e7(0x1df)]||this[_0x3d35e7(0xf8)]['t'](_0x3d35e7(0x134))};}catch(_0x503f95){return console[_0x3d35e7(0xad)](_0x3d35e7(0xa4),_0x503f95),{'isValid':!0x0};}}},exports[_0x56bcb5(0x1fa)]=Se([f(0x0,u[_0x56bcb5(0xcc)](u[_0x56bcb5(0xb1)])),f(0x1,v[_0x56bcb5(0x14e)]),f(0x2,u['IConfigService']),f(0x3,u[_0x56bcb5(0x7f)]),f(0x4,v[_0x56bcb5(0x1b3)]),f(0x5,v['IMessageService']),f(0x6,u[_0x56bcb5(0xcc)](v[_0x56bcb5(0x208)])),f(0x7,u[_0x56bcb5(0xcc)](u['LocaleService'])),f(0x8,u[_0x56bcb5(0xae)]),f(0x9,u['Inject'](s['MCPConnectionController']))],exports[_0x56bcb5(0x1fa)]);const N={'id':'mcp-ui.command.openConfigPanel','type':u[_0x56bcb5(0x1f5)]['COMMAND'],'handler':async(_0x381b78,_0x596108)=>(_0x381b78['get'](exports[_0x56bcb5(0x1fa)])[_0x56bcb5(0x11d)](),!0x0)};function Z(_0x5a7a61,_0x563fd8){var _0x5d2d9e=_0x56bcb5;switch(_0x5a7a61){case s['MCPConnectionStatus'][_0x5d2d9e(0x1ac)]:return _0x5d2d9e(0x15f);case s[_0x5d2d9e(0x206)][_0x5d2d9e(0x7b)]:return _0x5d2d9e(0x204);case s['MCPConnectionStatus'][_0x5d2d9e(0x78)]:return _0x5d2d9e(0x102);case s[_0x5d2d9e(0x206)][_0x5d2d9e(0x1cb)]:switch(_0x563fd8){case s[_0x5d2d9e(0x1b8)][_0x5d2d9e(0x11f)]:return _0x5d2d9e(0xa5);case s['MCPConnectionError'][_0x5d2d9e(0x1ee)]:return'mcpStatus.sessionOccupied';case s['MCPConnectionError'][_0x5d2d9e(0x207)]:return _0x5d2d9e(0x194);case s[_0x5d2d9e(0x1b8)][_0x5d2d9e(0x16a)]:return'mcpStatus.maxRetriesExceeded';default:return _0x5d2d9e(0x136);}case s[_0x5d2d9e(0x206)][_0x5d2d9e(0xfb)]:return _0x5d2d9e(0xa3);default:return _0x5d2d9e(0x14c);}}function ye(_0x243fd4,_0x37fd9c,_0x32f6cd){var _0x1eedb0=_0x56bcb5;const _0x3b4a2f=Z(_0x243fd4,_0x37fd9c),_0x4bf005=_0x32f6cd['t'](_0x3b4a2f);return _0x243fd4===s[_0x1eedb0(0x206)][_0x1eedb0(0x1ac)]&&_0x37fd9c===s[_0x1eedb0(0x1b8)][_0x1eedb0(0x11f)]?_0x4bf005+_0x1eedb0(0x1e8)+_0x32f6cd['t'](_0x1eedb0(0xc3)):_0x243fd4===s[_0x1eedb0(0x206)][_0x1eedb0(0x78)]?''+_0x4bf005:_0x243fd4===s[_0x1eedb0(0x206)][_0x1eedb0(0x1ac)]||_0x243fd4===s['MCPConnectionStatus'][_0x1eedb0(0x1cb)]?_0x4bf005+_0x1eedb0(0x1e8)+_0x32f6cd['t']('mcpStatus.clickToConnect'):_0x4bf005;}function Ie(_0x14efd1){var _0x9a6573=_0x56bcb5;switch(_0x14efd1){case s[_0x9a6573(0x206)][_0x9a6573(0x78)]:return'univer-text-green-500';case s[_0x9a6573(0x206)][_0x9a6573(0x7b)]:case s[_0x9a6573(0x206)][_0x9a6573(0xfb)]:return _0x9a6573(0x1d5);case s[_0x9a6573(0x206)][_0x9a6573(0x1cb)]:case s[_0x9a6573(0x206)][_0x9a6573(0x1ac)]:return _0x9a6573(0x88);default:return _0x9a6573(0x104);}}function X(_0x4ed09a){var _0x1a822b=_0x56bcb5;const {status$:_0x1f746,error$:_0x3f12ee,onConfigure:_0x633616}=_0x4ed09a,_0x4bcb50=v['useObservable'](_0x1f746,s[_0x1a822b(0x206)][_0x1a822b(0x1ac)]),_0x2b414c=v[_0x1a822b(0x202)](_0x3f12ee,s[_0x1a822b(0x1b8)][_0x1a822b(0x1d4)]),_0x4210e0=v[_0x1a822b(0x8e)](u[_0x1a822b(0x92)]),_0x2381f0=_0x4bcb50===s[_0x1a822b(0x206)][_0x1a822b(0x78)],_0x403a00=_0x4bcb50===s[_0x1a822b(0x206)][_0x1a822b(0x7b)]||_0x4bcb50===s[_0x1a822b(0x206)]['RETRYING'],_0x39c8b0=_0x4210e0['t'](Z(_0x4bcb50,_0x2b414c)),_0xe901dc=ye(_0x4bcb50,_0x2b414c,_0x4210e0),_0x210ea8=Ie(_0x4bcb50),_0x405ffb=_0x2381f0?i[_0x1a822b(0x8b)](z,{}):i[_0x1a822b(0x8b)](q,{}),_0x5a62b3=d[_0x1a822b(0x118)](()=>{_0x633616&&_0x633616();},[_0x2381f0,_0x403a00,_0x633616]);function _0x5851ec(){var _0x199c7e=_0x1a822b;return i[_0x199c7e(0x1d1)](_0x199c7e(0x75),{'className':P[_0x199c7e(0x1f6)]('univer-flex\x20univer-cursor-pointer\x20univer-items-center',_0x633616&&_0x199c7e(0x99)),'onClick':_0x633616?_0x5a62b3:void 0x0,'children':[i[_0x199c7e(0x8b)](_0x199c7e(0x75),{'className':P['clsx'](_0x199c7e(0x157),_0x210ea8),'children':_0x405ffb}),i[_0x199c7e(0x8b)](_0x199c7e(0x75),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x39c8b0})]});}return i[_0x1a822b(0x8b)](P[_0x1a822b(0x16c)],{'title':_0xe901dc,'placement':_0x1a822b(0x115),'children':_0x5851ec()});}var _e=Object[_0x56bcb5(0x15a)],Me=(_0x145d03,_0x20d8ff,_0x5ac9db,_0x484a0d)=>{for(var _0x183de1=_0x484a0d>0x1?void 0x0:_0x484a0d?_e(_0x20d8ff,_0x5ac9db):_0x20d8ff,_0x573af2=_0x145d03['length']-0x1,_0x32c518;_0x573af2>=0x0;_0x573af2--)(_0x32c518=_0x145d03[_0x573af2])&&(_0x183de1=_0x32c518(_0x183de1)||_0x183de1);return _0x183de1;},k=(_0x5abbc3,_0x3eee15)=>(_0x3ebb60,_0x43d943)=>_0x3eee15(_0x3ebb60,_0x43d943,_0x5abbc3);exports[_0x56bcb5(0x101)]=class extends u['Disposable']{constructor(_0x4b4e77,_0x38e80a,_0x38c9e6){var _0x3e3de2=_0x56bcb5;super(),this[_0x3e3de2(0x114)]=_0x4b4e77,this[_0x3e3de2(0x17f)]=_0x38e80a,this[_0x3e3de2(0x199)]=_0x38c9e6,this[_0x3e3de2(0x17f)][_0x3e3de2(0x168)]=!0x1,this[_0x3e3de2(0x1c7)]();}[_0x56bcb5(0x1c7)](){var _0x2ecbe3=_0x56bcb5;this[_0x2ecbe3(0x1e5)](this[_0x2ecbe3(0x199)]['registerComponent'](v[_0x2ecbe3(0x147)][_0x2ecbe3(0xb7)],()=>v[_0x2ecbe3(0x100)](Ne({'status$':this['_connectionController'][_0x2ecbe3(0x186)],'error$':this['_connectionController'][_0x2ecbe3(0x11b)],'onConfigure':()=>this[_0x2ecbe3(0x20c)]()}),this[_0x2ecbe3(0x114)])));}[_0x56bcb5(0x20c)](){var _0x12e885=_0x56bcb5;this[_0x12e885(0x114)]['get'](exports[_0x12e885(0x1fa)])[_0x12e885(0x11d)]();}},exports[_0x56bcb5(0x101)]=Me([k(0x0,u['Inject'](u[_0x56bcb5(0xb1)])),k(0x1,u[_0x56bcb5(0xcc)](s[_0x56bcb5(0x137)])),k(0x2,v[_0x56bcb5(0x14e)])],exports[_0x56bcb5(0x101)]);function Ne(_0x1b0406){const {status$:_0x469502,error$:_0x16e1c4,onConfigure:_0x2bad29}=_0x1b0406;return function(){var _0x23549d=_0x417f;return i[_0x23549d(0x8b)](X,{'status$':_0x469502,'error$':_0x16e1c4,'onConfigure':_0x2bad29});};}function be(_0x432e2b){var _0x522edb=_0x56bcb5;return{'id':N['id'],'type':v['MenuItemType']['BUTTON'],'icon':'MenuIcon','title':_0x522edb(0x10d),'tooltip':_0x522edb(0x10d)};}const je={[v[_0x56bcb5(0x14a)][_0x56bcb5(0x18f)]]:{[N['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x56bcb5(0x15a)],we=(_0x111235,_0x206fc5,_0x21ab36,_0x450d85)=>{var _0x4e4399=_0x56bcb5;for(var _0x45e53c=_0x450d85>0x1?void 0x0:_0x450d85?Ee(_0x206fc5,_0x21ab36):_0x206fc5,_0x193a77=_0x111235[_0x4e4399(0xd9)]-0x1,_0x43230d;_0x193a77>=0x0;_0x193a77--)(_0x43230d=_0x111235[_0x193a77])&&(_0x45e53c=_0x43230d(_0x45e53c)||_0x45e53c);return _0x45e53c;},Y=(_0x4fa5c6,_0x384a85)=>(_0x249f37,_0x1f6c81)=>_0x384a85(_0x249f37,_0x1f6c81,_0x4fa5c6);exports[_0x56bcb5(0x163)]=class extends u[_0x56bcb5(0xb4)]{constructor(_0x4959fd,_0x2c8e11){var _0xf96110=_0x56bcb5;super(),this[_0xf96110(0x165)]=_0x4959fd,this[_0xf96110(0xf9)]=_0x2c8e11,this[_0xf96110(0x82)](),this[_0xf96110(0xed)]();}[_0x56bcb5(0x82)](){[N]['forEach'](_0x4848e4=>{var _0x2fd0a7=_0x417f;this['disposeWithMe'](this[_0x2fd0a7(0x165)][_0x2fd0a7(0xa6)](_0x4848e4));});}['_initializeMenus'](){var _0x206cfe=_0x56bcb5;this['_menuManagerService'][_0x206cfe(0xce)](je);}},exports[_0x56bcb5(0x163)]=we([Y(0x0,u[_0x56bcb5(0x17c)]),Y(0x1,v['IMenuManagerService'])],exports[_0x56bcb5(0x163)]);const Ae={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x56bcb5(0x18b),'failed':'MCP\x20Connection\x20Failed','retrying':_0x56bcb5(0x18e),'unknown':_0x56bcb5(0x151),'missingApiKey':_0x56bcb5(0x1f3),'invalidApiKey':_0x56bcb5(0x198),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x56bcb5(0x9c),'clickToConnect':_0x56bcb5(0x1c0),'clickToConfigure':_0x56bcb5(0x19f)},'mcpConfig':{'title':_0x56bcb5(0x184),'description':_0x56bcb5(0x1ea),'apiKey':_0x56bcb5(0x13b),'apiKeyPlaceholder':_0x56bcb5(0x16b),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x56bcb5(0x17d),'enableAuthHint':_0x56bcb5(0xec),'connectionInfo':_0x56bcb5(0x13e),'mcpClientConfig':_0x56bcb5(0x13e),'configInstructions':_0x56bcb5(0x7e),'configStepTitle':_0x56bcb5(0x120),'configStep1':_0x56bcb5(0x156),'configStep2':_0x56bcb5(0xbf),'configStep3':_0x56bcb5(0x119),'sessionId':_0x56bcb5(0x1b2),'sessionIdDescription':_0x56bcb5(0x164),'authorizationDescription':_0x56bcb5(0xf2),'configParameters':_0x56bcb5(0x148),'maxRetries':_0x56bcb5(0x1c5),'save':_0x56bcb5(0x1e6),'saving':_0x56bcb5(0x1a4),'note1':_0x56bcb5(0x1a3),'note2':_0x56bcb5(0xd1),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x56bcb5(0x178),'apiApplyInfo':{'title':_0x56bcb5(0x155),'description':_0x56bcb5(0x10c),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x56bcb5(0x131)},'validation':{'apiKeyRequired':_0x56bcb5(0xc0),'apiKeyTooShort':_0x56bcb5(0x128),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x56bcb5(0x181)},'connectionStatus':{'disconnected':_0x56bcb5(0xa0),'connecting':_0x56bcb5(0x109),'connected':'Connected','failed':_0x56bcb5(0x124),'retrying':_0x56bcb5(0xdb)},'connectionError':{'missingApiKey':_0x56bcb5(0x10f),'invalidApiKey':_0x56bcb5(0xe7),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x56bcb5(0x16e),'maxRetriesExceeded':_0x56bcb5(0x1fc)}}},Oe={'mcpStatus':{'disconnected':_0x56bcb5(0xc1),'connecting':_0x56bcb5(0x152),'connected':_0x56bcb5(0xaf),'failed':_0x56bcb5(0x7c),'retrying':'MCP\x20重连中...','unknown':_0x56bcb5(0x84),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':_0x56bcb5(0x182),'networkError':_0x56bcb5(0x125),'maxRetriesExceeded':_0x56bcb5(0x122),'clickToConnect':_0x56bcb5(0x19c),'clickToConfigure':_0x56bcb5(0x19b)},'mcpConfig':{'title':'MCP\x20配置','description':_0x56bcb5(0x1ce),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x56bcb5(0x1f9),'apiKeyHint':_0x56bcb5(0x1a8),'enableAuth':_0x56bcb5(0xc2),'enableAuthHint':_0x56bcb5(0xe8),'connectionInfo':_0x56bcb5(0x179),'mcpClientConfig':_0x56bcb5(0x179),'configInstructions':_0x56bcb5(0x190),'configStepTitle':_0x56bcb5(0xf1),'configStep1':_0x56bcb5(0x1cf),'configStep2':_0x56bcb5(0x161),'configStep3':_0x56bcb5(0x121),'sessionId':_0x56bcb5(0x111),'sessionIdDescription':_0x56bcb5(0xf0),'authorizationDescription':_0x56bcb5(0xef),'configParameters':_0x56bcb5(0x14b),'maxRetries':_0x56bcb5(0xfa),'save':_0x56bcb5(0x126),'saving':_0x56bcb5(0x1da),'note1':_0x56bcb5(0x90),'note2':_0x56bcb5(0x1d8),'configSaved':_0x56bcb5(0xb6),'configError':_0x56bcb5(0x162),'apiApplyInfo':{'title':_0x56bcb5(0x133),'description':_0x56bcb5(0x12f),'univerAiLabel':_0x56bcb5(0x175),'getStarted':_0x56bcb5(0xe1)},'validation':{'apiKeyRequired':_0x56bcb5(0x1ef),'apiKeyTooShort':_0x56bcb5(0x12b),'invalidConfig':_0x56bcb5(0x203),'invalidApiKey':_0x56bcb5(0x149)},'connectionStatus':{'disconnected':_0x56bcb5(0x77),'connecting':'连接中...','connected':_0x56bcb5(0x142),'failed':_0x56bcb5(0xdd),'retrying':_0x56bcb5(0xb0)},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x56bcb5(0xa7),'sessionOccupied':_0x56bcb5(0x189),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x56bcb5(0x180)}}};var ke=Object['defineProperty'],De=Object[_0x56bcb5(0x15a)],Ke=(_0x5f4418,_0x5443de,_0x29fccd)=>_0x5443de in _0x5f4418?ke(_0x5f4418,_0x5443de,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29fccd}):_0x5f4418[_0x5443de]=_0x29fccd,Ue=(_0x1a0114,_0x1547eb,_0x36942e,_0x462b09)=>{var _0xe70a11=_0x56bcb5;for(var _0x5d5037=_0x462b09>0x1?void 0x0:_0x462b09?De(_0x1547eb,_0x36942e):_0x1547eb,_0x1d5f6e=_0x1a0114[_0xe70a11(0xd9)]-0x1,_0x44f9e0;_0x1d5f6e>=0x0;_0x1d5f6e--)(_0x44f9e0=_0x1a0114[_0x1d5f6e])&&(_0x5d5037=_0x44f9e0(_0x5d5037)||_0x5d5037);return _0x5d5037;},_=(_0x5558a8,_0x480f5d)=>(_0x4beba8,_0x76a7c4)=>_0x480f5d(_0x4beba8,_0x76a7c4,_0x5558a8),Te=(_0x4c0fc7,_0x1abe4d,_0xcb05ca)=>Ke(_0x4c0fc7,_0x1abe4d+'',_0xcb05ca);exports['UniverMCPUIPlugin']=class extends u['Plugin']{constructor(_0x275685=G,_0x18847d,_0x5b62ac,_0x41e951,_0x41fd8f,_0x2228e1){var _0xbd2eee=_0x56bcb5;super(),this['_config']=_0x275685,this[_0xbd2eee(0x114)]=_0x18847d,this['_configService']=_0x5b62ac,this[_0xbd2eee(0x199)]=_0x41e951,this[_0xbd2eee(0x159)]=_0x41fd8f,this[_0xbd2eee(0xf8)]=_0x2228e1;const {..._0x2a1d05}=u[_0xbd2eee(0xee)]({},G,this[_0xbd2eee(0x1e2)]);this[_0xbd2eee(0xff)]['setConfig'](D,_0x2a1d05);}async[_0x56bcb5(0xda)](){var _0x4cfbe1=_0x56bcb5;const _0x1ccb6a=[[exports[_0x4cfbe1(0x101)]],[exports[_0x4cfbe1(0x1fa)]],[exports[_0x4cfbe1(0x163)]]];this[_0x4cfbe1(0x114)][_0x4cfbe1(0xca)](w['ISocketService'])||_0x1ccb6a['push']([w[_0x4cfbe1(0x144)],{'useClass':w[_0x4cfbe1(0x113)]}]),_0x1ccb6a[_0x4cfbe1(0x187)](_0x2d1af5=>this[_0x4cfbe1(0x114)][_0x4cfbe1(0xb3)](_0x2d1af5)),this[_0x4cfbe1(0x114)][_0x4cfbe1(0x167)](exports['MCPConnectionUIController']),this['_injector']['get'](exports[_0x4cfbe1(0x1fa)]),this[_0x4cfbe1(0x114)][_0x4cfbe1(0x167)](exports[_0x4cfbe1(0x163)]);}},Te(exports[_0x56bcb5(0x14f)],_0x56bcb5(0xd3),'MCP_UI_PLUGIN'),exports[_0x56bcb5(0x14f)]=Ue([u[_0x56bcb5(0x1f8)](s[_0x56bcb5(0xc6)]),_(0x1,u[_0x56bcb5(0xcc)](u[_0x56bcb5(0xb1)])),_(0x2,u[_0x56bcb5(0x1d9)]),_(0x3,v[_0x56bcb5(0x14e)]),_(0x4,u[_0x56bcb5(0x7f)]),_(0x5,u[_0x56bcb5(0xcc)](u[_0x56bcb5(0x92)]))],exports['UniverMCPUIPlugin']),exports[_0x56bcb5(0x10a)]=W,exports[_0x56bcb5(0x195)]=X,exports[_0x56bcb5(0x1de)]=N,exports[_0x56bcb5(0xfd)]=Ae,exports[_0x56bcb5(0x18c)]=Oe;
@@ -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';function _0x6b54(){const _0x386d10=['Saving...','What\x20is\x20API\x20Key?','API\x20Key','9552544GZBbwb','Enable\x20authentication\x20for\x20secure\x20connections','1178919yylkSJ','MCP\x20Connected','3177724FIMUCW','Max\x20Retries','MCP\x20Connecting...','5247475nfuoor','Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','Connected','MCP\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20ID','MCP\x20Client\x20Configuration','11660319aLHWby','397645llIzpA','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4MbVsCE','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Session\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','Click\x20to\x20configure\x20MCP','API\x20key\x20is\x20required\x20to\x20connect','421536RwpqPD','Save\x20Configuration','exports','Univer\x20AI\x20Console','48QOQsuG','API\x20key\x20is\x20required','Enter\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Invalid\x20API\x20Key','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Copy\x20the\x20JSON\x20configuration\x20below'];_0x6b54=function(){return _0x386d10;};return _0x6b54();}function _0xa2cf(_0x3951e6,_0x2b9c62){const _0x6b5483=_0x6b54();return _0xa2cf=function(_0xa2cf15,_0x83789d){_0xa2cf15=_0xa2cf15-0x113;let _0x567dfe=_0x6b5483[_0xa2cf15];return _0x567dfe;},_0xa2cf(_0x3951e6,_0x2b9c62);}const _0x295f5f=_0xa2cf;(function(_0x26f195,_0x2d5746){const _0x362c4a=_0xa2cf,_0x10e2e6=_0x26f195();while(!![]){try{const _0x1b8a72=-parseInt(_0x362c4a(0x138))/0x1+parseInt(_0x362c4a(0x126))/0x2+parseInt(_0x362c4a(0x148))/0x3*(-parseInt(_0x362c4a(0x140))/0x4)+parseInt(_0x362c4a(0x129))/0x5+-parseInt(_0x362c4a(0x116))/0x6*(-parseInt(_0x362c4a(0x124))/0x7)+-parseInt(_0x362c4a(0x122))/0x8+-parseInt(_0x362c4a(0x137))/0x9;if(_0x1b8a72===_0x2d5746)break;else _0x10e2e6['push'](_0x10e2e6['shift']());}catch(_0xf38714){_0x10e2e6['push'](_0x10e2e6['shift']());}}}(_0x6b54,0xe9db5));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x295f5f(0x128),'connected':_0x295f5f(0x125),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x295f5f(0x145),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x295f5f(0x11b),'sessionOccupied':_0x295f5f(0x142),'networkError':_0x295f5f(0x13b),'maxRetriesExceeded':_0x295f5f(0x144),'clickToConnect':_0x295f5f(0x139),'clickToConfigure':_0x295f5f(0x146)},'mcpConfig':{'title':_0x295f5f(0x12e),'description':_0x295f5f(0x13f),'apiKey':_0x295f5f(0x121),'apiKeyPlaceholder':_0x295f5f(0x118),'apiKeyHint':_0x295f5f(0x11d),'enableAuth':_0x295f5f(0x132),'enableAuthHint':_0x295f5f(0x123),'connectionInfo':_0x295f5f(0x136),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x295f5f(0x133),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x295f5f(0x11e),'configStep2':_0x295f5f(0x11a),'configStep3':_0x295f5f(0x12b),'sessionId':_0x295f5f(0x135),'sessionIdDescription':_0x295f5f(0x141),'authorizationDescription':_0x295f5f(0x119),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x295f5f(0x127),'save':_0x295f5f(0x113),'saving':_0x295f5f(0x11f),'note1':_0x295f5f(0x13c),'note2':_0x295f5f(0x12f),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x295f5f(0x11c),'apiApplyInfo':{'title':_0x295f5f(0x120),'description':_0x295f5f(0x13e),'univerAiLabel':_0x295f5f(0x115),'getStarted':_0x295f5f(0x13a)},'validation':{'apiKeyRequired':_0x295f5f(0x117),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x295f5f(0x131)},'connectionStatus':{'disconnected':_0x295f5f(0x12c),'connecting':_0x295f5f(0x12a),'connected':_0x295f5f(0x12d),'failed':_0x295f5f(0x13d),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x295f5f(0x147),'invalidApiKey':_0x295f5f(0x134),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x295f5f(0x143),'maxRetriesExceeded':_0x295f5f(0x130)}}},n=e;module[_0x295f5f(0x114)]=n;
@@ -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';function _0xd88c(){const _0x5a979b=['MCP\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','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.','45426MhDgSV','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enable\x20Authentication','Failed\x20to\x20save\x20configuration','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','2CSgxdr','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','8ihlUUa','4544912QjDxnh','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','5612490fMUImn','MCP:\x20Invalid\x20API\x20Key','API\x20Key','API\x20key\x20is\x20required','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20saved\x20successfully','5rJdAMk','MCP:\x20API\x20Key\x20Missing','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','3573700sPBAdE','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20is\x20required\x20to\x20connect','Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','Univer\x20AI\x20Console','MCP\x20Disconnected','MCP:\x20Session\x20Occupied','Invalid\x20configuration','2077458ngXFbd','Click\x20to\x20connect\x20MCP','1635123HiVGil','Enter\x20your\x20API\x20key','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Session\x20ID','270352ikMlaX','MCP\x20Connecting...','exports','MCP:\x20Network\x20Error','Configuration\x20Steps:','MCP\x20Connection\x20Failed'];_0xd88c=function(){return _0x5a979b;};return _0xd88c();}const _0x11a431=_0x83ce;(function(_0x1ac437,_0x2dce29){const _0x54e05b=_0x83ce,_0x2dd94b=_0x1ac437();while(!![]){try{const _0x148018=parseInt(_0x54e05b(0xc6))/0x1+-parseInt(_0x54e05b(0xa5))/0x2*(parseInt(_0x54e05b(0xc0))/0x3)+parseInt(_0x54e05b(0xa9))/0x4+parseInt(_0x54e05b(0xb4))/0x5*(-parseInt(_0x54e05b(0x9f))/0x6)+-parseInt(_0x54e05b(0xc2))/0x7*(-parseInt(_0x54e05b(0xa8))/0x8)+-parseInt(_0x54e05b(0xab))/0x9+parseInt(_0x54e05b(0xb7))/0xa;if(_0x148018===_0x2dce29)break;else _0x2dd94b['push'](_0x2dd94b['shift']());}catch(_0x35d326){_0x2dd94b['push'](_0x2dd94b['shift']());}}}(_0xd88c,0xa4850));function _0x83ce(_0x38f35f,_0xf389e7){const _0xd88cf7=_0xd88c();return _0x83ce=function(_0x83ceab,_0x20c8c2){_0x83ceab=_0x83ceab-0x99;let _0x56bfed=_0xd88cf7[_0x83ceab];return _0x56bfed;},_0x83ce(_0x38f35f,_0xf389e7);}const e={'mcpStatus':{'disconnected':_0x11a431(0xbd),'connecting':_0x11a431(0xc7),'connected':'MCP\x20Connected','failed':_0x11a431(0x9a),'retrying':_0x11a431(0x9d),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x11a431(0xb5),'invalidApiKey':_0x11a431(0xac),'sessionOccupied':_0x11a431(0xbe),'networkError':_0x11a431(0xc9),'maxRetriesExceeded':_0x11a431(0xbb),'clickToConnect':_0x11a431(0xc1),'clickToConfigure':_0x11a431(0xa6)},'mcpConfig':{'title':_0x11a431(0x9b),'description':_0x11a431(0xaf),'apiKey':_0x11a431(0xad),'apiKeyPlaceholder':_0x11a431(0xc3),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x11a431(0xa1),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x11a431(0xa7),'mcpClientConfig':_0x11a431(0xa7),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x11a431(0x99),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x11a431(0xa0),'configStep3':_0x11a431(0xb2),'sessionId':_0x11a431(0xc5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x11a431(0xb8),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0x11a431(0x9c),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x11a431(0xb3),'configError':_0x11a431(0xa2),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x11a431(0x9e),'univerAiLabel':_0x11a431(0xbc),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x11a431(0xae),'apiKeyTooShort':_0x11a431(0xaa),'invalidConfig':_0x11a431(0xbf),'invalidApiKey':_0x11a431(0xb1)},'connectionStatus':{'disconnected':_0x11a431(0xba),'connecting':_0x11a431(0xb0),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x11a431(0xa3)},'connectionError':{'missingApiKey':_0x11a431(0xb9),'invalidApiKey':_0x11a431(0xa4),'sessionOccupied':_0x11a431(0xc4),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x11a431(0xb6)}}};module[_0x11a431(0xc8)]=e;
@@ -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 _0x23787c=_0x34a2;(function(_0x34d68d,_0x4a22d2){const _0x1f81f4=_0x34a2,_0x3b9587=_0x34d68d();while(!![]){try{const _0x22f3ef=parseInt(_0x1f81f4(0x13b))/0x1*(parseInt(_0x1f81f4(0x110))/0x2)+parseInt(_0x1f81f4(0x13d))/0x3+parseInt(_0x1f81f4(0x126))/0x4*(-parseInt(_0x1f81f4(0x12e))/0x5)+parseInt(_0x1f81f4(0x11a))/0x6+parseInt(_0x1f81f4(0x121))/0x7+-parseInt(_0x1f81f4(0x112))/0x8+parseInt(_0x1f81f4(0x120))/0x9*(-parseInt(_0x1f81f4(0x127))/0xa);if(_0x22f3ef===_0x4a22d2)break;else _0x3b9587['push'](_0x3b9587['shift']());}catch(_0x365570){_0x3b9587['push'](_0x3b9587['shift']());}}}(_0x2041,0xebfe9));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x23787c(0x135),'connected':_0x23787c(0x11e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x23787c(0x136),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x23787c(0x134),'invalidApiKey':_0x23787c(0x125),'sessionOccupied':_0x23787c(0x111),'networkError':_0x23787c(0x138),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x23787c(0x117),'clickToConfigure':_0x23787c(0x139)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x23787c(0x11d),'apiKey':_0x23787c(0x129),'apiKeyPlaceholder':_0x23787c(0x10f),'apiKeyHint':_0x23787c(0x10e),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x23787c(0x114),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x23787c(0x123),'configInstructions':_0x23787c(0x116),'configStepTitle':_0x23787c(0x12c),'configStep1':_0x23787c(0x11f),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x23787c(0x12b),'sessionIdDescription':_0x23787c(0x13f),'authorizationDescription':_0x23787c(0x113),'configParameters':_0x23787c(0x119),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x23787c(0x133),'note1':_0x23787c(0x118),'note2':_0x23787c(0x13c),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x23787c(0x137),'apiApplyInfo':{'title':_0x23787c(0x122),'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':_0x23787c(0x12a),'getStarted':_0x23787c(0x132)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x23787c(0x11b),'invalidApiKey':_0x23787c(0x13a)},'connectionStatus':{'disconnected':_0x23787c(0x12d),'connecting':_0x23787c(0x115),'connected':_0x23787c(0x130),'failed':'Connection\x20Failed','retrying':_0x23787c(0x131)},'connectionError':{'missingApiKey':_0x23787c(0x12f),'invalidApiKey':_0x23787c(0x11c),'sessionOccupied':_0x23787c(0x13e),'networkError':_0x23787c(0x128),'maxRetriesExceeded':_0x23787c(0x124)}}},n=e;module['exports']=n;function _0x34a2(_0x35d019,_0x26029d){const _0x20414e=_0x2041();return _0x34a2=function(_0x34a2c3,_0x368aab){_0x34a2c3=_0x34a2c3-0x10e;let _0x1f37fb=_0x20414e[_0x34a2c3];return _0x1f37fb;},_0x34a2(_0x35d019,_0x26029d);}function _0x2041(){const _0x1f568a=['363620tBTbsM','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key','Univer\x20AI\x20Console','Session\x20ID','Configuration\x20Steps:','Disconnected','10StIfrx','API\x20key\x20is\x20required\x20to\x20connect','Connected','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','Saving...','MCP:\x20API\x20Key\x20Missing','MCP\x20Connecting...','MCP\x20Retrying...','Failed\x20to\x20save\x20configuration','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','355434hhjXQY','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1354830REvGEk','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','10NUODpX','MCP:\x20Session\x20Occupied','8653856YVAeYi','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','Connecting...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','306480ZdMoQV','Invalid\x20configuration','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','180LDHfLy','11981781VUzfpj','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Invalid\x20API\x20Key','2431876YfrJWq'];_0x2041=function(){return _0x1f568a;};return _0x2041();}
@@ -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';const _0x52dcfd=_0x37c8;(function(_0x214798,_0x46f5ad){const _0x2f4671=_0x37c8,_0x287518=_0x214798();while(!![]){try{const _0x5c41c5=-parseInt(_0x2f4671(0x140))/0x1*(parseInt(_0x2f4671(0x132))/0x2)+-parseInt(_0x2f4671(0x13c))/0x3+-parseInt(_0x2f4671(0x121))/0x4*(-parseInt(_0x2f4671(0x138))/0x5)+-parseInt(_0x2f4671(0x13f))/0x6*(-parseInt(_0x2f4671(0x12b))/0x7)+-parseInt(_0x2f4671(0x146))/0x8+parseInt(_0x2f4671(0x11b))/0x9+parseInt(_0x2f4671(0x141))/0xa;if(_0x5c41c5===_0x46f5ad)break;else _0x287518['push'](_0x287518['shift']());}catch(_0x1f25d5){_0x287518['push'](_0x287518['shift']());}}}(_0x55ba,0xf0ecc));function _0x37c8(_0x951a3e,_0x1f7e9a){const _0x55ba79=_0x55ba();return _0x37c8=function(_0x37c840,_0x50302c){_0x37c840=_0x37c840-0x117;let _0x1e86f9=_0x55ba79[_0x37c840];return _0x1e86f9;},_0x37c8(_0x951a3e,_0x1f7e9a);}const e={'mcpStatus':{'disconnected':_0x52dcfd(0x11d),'connecting':_0x52dcfd(0x11c),'connected':'MCP\x20Connected','failed':_0x52dcfd(0x148),'retrying':_0x52dcfd(0x145),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x52dcfd(0x131),'sessionOccupied':_0x52dcfd(0x130),'networkError':_0x52dcfd(0x123),'maxRetriesExceeded':_0x52dcfd(0x122),'clickToConnect':_0x52dcfd(0x134),'clickToConfigure':_0x52dcfd(0x143)},'mcpConfig':{'title':_0x52dcfd(0x11f),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x52dcfd(0x142),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x52dcfd(0x120),'enableAuthHint':_0x52dcfd(0x12c),'connectionInfo':_0x52dcfd(0x137),'mcpClientConfig':_0x52dcfd(0x137),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x52dcfd(0x136),'configStep1':_0x52dcfd(0x125),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x52dcfd(0x13b),'sessionId':_0x52dcfd(0x133),'sessionIdDescription':_0x52dcfd(0x11e),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x52dcfd(0x135),'maxRetries':'Max\x20Retries','save':_0x52dcfd(0x13e),'saving':_0x52dcfd(0x117),'note1':_0x52dcfd(0x124),'note2':_0x52dcfd(0x128),'configSaved':_0x52dcfd(0x12e),'configError':_0x52dcfd(0x129),'apiApplyInfo':{'title':_0x52dcfd(0x144),'description':_0x52dcfd(0x12a),'univerAiLabel':_0x52dcfd(0x139),'getStarted':_0x52dcfd(0x13a)},'validation':{'apiKeyRequired':_0x52dcfd(0x12d),'apiKeyTooShort':_0x52dcfd(0x13d),'invalidConfig':_0x52dcfd(0x118),'invalidApiKey':_0x52dcfd(0x127)},'connectionStatus':{'disconnected':_0x52dcfd(0x147),'connecting':_0x52dcfd(0x119),'connected':'Connected','failed':_0x52dcfd(0x126),'retrying':_0x52dcfd(0x11a)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x52dcfd(0x12f),'sessionOccupied':_0x52dcfd(0x149),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x55ba(){const _0x1b398c=['Saving...','Invalid\x20configuration','Connecting...','Retrying...','3872475uZwqHj','MCP\x20Connecting...','MCP\x20Disconnected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Configuration','Enable\x20Authentication','4qHiZkq','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Copy\x20the\x20JSON\x20configuration\x20below','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Failed\x20to\x20save\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.','63bBNirR','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','Configuration\x20saved\x20successfully','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20Session\x20Occupied','MCP:\x20Invalid\x20API\x20Key','2883980rObdun','Session\x20ID','Click\x20to\x20connect\x20MCP','Configuration\x20Parameters:','Configuration\x20Steps:','MCP\x20Client\x20Configuration','5901765UYZHQw','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2408334rsJQRM','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Save\x20Configuration','27894lvfuzI','1rTFeeY','31004980xtwtjA','Enter\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','MCP\x20Retrying...','12170968LAiNSx','Disconnected','MCP\x20Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later'];_0x55ba=function(){return _0x1b398c;};return _0x55ba();}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 _0x2832b3=_0x3389;function _0x3389(_0x2297df,_0x1ddf4a){const _0x26f3f8=_0x26f3();return _0x3389=function(_0x338998,_0x1b85c7){_0x338998=_0x338998-0x149;let _0x2cd74c=_0x26f3f8[_0x338998];return _0x2cd74c;},_0x3389(_0x2297df,_0x1ddf4a);}(function(_0x9620f9,_0x3c4ea7){const _0x41e339=_0x3389,_0x2479cc=_0x9620f9();while(!![]){try{const _0x457aa9=-parseInt(_0x41e339(0x177))/0x1+-parseInt(_0x41e339(0x14c))/0x2+parseInt(_0x41e339(0x15e))/0x3*(-parseInt(_0x41e339(0x174))/0x4)+-parseInt(_0x41e339(0x14b))/0x5*(-parseInt(_0x41e339(0x14d))/0x6)+parseInt(_0x41e339(0x156))/0x7+parseInt(_0x41e339(0x167))/0x8*(parseInt(_0x41e339(0x168))/0x9)+parseInt(_0x41e339(0x14f))/0xa*(parseInt(_0x41e339(0x15b))/0xb);if(_0x457aa9===_0x3c4ea7)break;else _0x2479cc['push'](_0x2479cc['shift']());}catch(_0x5a5a67){_0x2479cc['push'](_0x2479cc['shift']());}}}(_0x26f3,0xa85e9));const e={'mcpStatus':{'disconnected':_0x2832b3(0x163),'connecting':_0x2832b3(0x15f),'connected':_0x2832b3(0x169),'failed':_0x2832b3(0x173),'retrying':'MCP\x20Retrying...','unknown':_0x2832b3(0x170),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x2832b3(0x164),'networkError':_0x2832b3(0x160),'maxRetriesExceeded':_0x2832b3(0x14a),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2832b3(0x149),'description':_0x2832b3(0x16b),'apiKey':_0x2832b3(0x162),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2832b3(0x154),'connectionInfo':_0x2832b3(0x157),'mcpClientConfig':_0x2832b3(0x157),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2832b3(0x172),'configStep1':_0x2832b3(0x16f),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2832b3(0x171),'sessionId':_0x2832b3(0x150),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2832b3(0x15d),'configParameters':_0x2832b3(0x165),'maxRetries':_0x2832b3(0x14e),'save':_0x2832b3(0x16d),'saving':_0x2832b3(0x15c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2832b3(0x161),'configSaved':_0x2832b3(0x176),'configError':_0x2832b3(0x16c),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x2832b3(0x16a),'getStarted':_0x2832b3(0x175)},'validation':{'apiKeyRequired':_0x2832b3(0x15a),'apiKeyTooShort':_0x2832b3(0x158),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2832b3(0x151)},'connectionStatus':{'disconnected':_0x2832b3(0x159),'connecting':'Connecting...','connected':_0x2832b3(0x155),'failed':'Connection\x20Failed','retrying':_0x2832b3(0x16e)},'connectionError':{'missingApiKey':_0x2832b3(0x152),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x2832b3(0x166),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2832b3(0x153)}}},n=e;module['exports']=n;function _0x26f3(){const _0x254da9=['Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','16mBrBfx','1174410TtOHTG','MCP\x20Connected','Univer\x20AI\x20Console','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','Save\x20Configuration','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Unknown\x20Status','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Steps:','MCP\x20Connection\x20Failed','64924jAaWXd','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','868620eCSSdc','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','24665aFdECP','1121954wrCItY','1128Ruydit','Max\x20Retries','10bnxMTg','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20is\x20required\x20to\x20connect','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','Connected','4705939eYycsR','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Disconnected','API\x20key\x20is\x20required','4629757HqnNjK','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','30cDUTkc','MCP\x20Connecting...','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key','MCP\x20Disconnected','MCP:\x20Session\x20Occupied','Configuration\x20Parameters:'];_0x26f3=function(){return _0x254da9;};return _0x26f3();}