@univerjs-pro/mcp-ui 0.10.10-experimental.20251010-3f807c5 → 0.10.10-nightly.202510170942
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +8 -8
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x23152a=_0x5160;(function(_0x4f67c5,_0x3f4912){var _0x16d57b=_0x5160,_0x59c410=_0x4f67c5();while(!![]){try{var _0x2088cf=parseInt(_0x16d57b(0x113))/0x1+parseInt(_0x16d57b(0x23a))/0x2*(-parseInt(_0x16d57b(0x1df))/0x3)+-parseInt(_0x16d57b(0x1f4))/0x4+parseInt(_0x16d57b(0x1fa))/0x5+-parseInt(_0x16d57b(0x24f))/0x6*(-parseInt(_0x16d57b(0x12a))/0x7)+-parseInt(_0x16d57b(0x21e))/0x8*(-parseInt(_0x16d57b(0x1cc))/0x9)+-parseInt(_0x16d57b(0x145))/0xa;if(_0x2088cf===_0x3f4912)break;else _0x59c410['push'](_0x59c410['shift']());}catch(_0x59bea3){_0x59c410['push'](_0x59c410['shift']());}}}(_0x27d3,0x1b3b2));var we=Object[_0x23152a(0x1fe)],Ee=(_0x5a159e,_0x5d4acc,_0x4dd671)=>_0x5d4acc in _0x5a159e?we(_0x5a159e,_0x5d4acc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dd671}):_0x5a159e[_0x5d4acc]=_0x4dd671,S=(_0x5e72be,_0x10d7d2,_0x5d855a)=>Ee(_0x5e72be,typeof _0x10d7d2!='symbol'?_0x10d7d2+'':_0x10d7d2,_0x5d855a);import{LocaleService as _0x29ac55,Inject as _0x10c81c,Injector as _0x5b2e98,IConfigService as _0x1496de,ILocalStorageService as _0x118e2e,ILogService as _0x31a0e3,Disposable as _0x460ffb,CommandType as _0x1911c4,ICommandService as _0xf4c6c0,DependentOn as _0x2f5397,Plugin as _0x3d4f76,merge as _0x16b0a4}from'@univerjs/core';import{jsxs as _0x200cfc,jsx as _0xbc2bc3}from'react/jsx-runtime';import{MCPConnectionStatus as _0x4d5d6a,MCPConnectionError as _0x5b89c7,MCPConnectionController as _0x260dce,MCP_PLUGIN_CONFIG_KEY as _0x10b2f0,UniverMCPPlugin as _0xfd0ba3}from'@univerjs-pro/mcp';import{Input as _0x1cf5dc,Button as _0x3a18fc,MessageType as _0x32a88a,Tooltip as _0x28285f,clsx as _0x1e22a7}from'@univerjs/design';import{useDependency as _0xec9461,useObservable as _0x51a1cc,IUIPartsService as _0x1846c7,IDialogService as _0x382591,IMessageService as _0x43578f,ComponentManager as _0x5a9e01,connectInjector as _0x16db0e,BuiltInUIPart as _0x2fa4e8,MenuItemType as _0xd12530,RibbonStartGroup as _0x529546,IMenuManagerService as _0x1033be}from'@univerjs/ui';import{BehaviorSubject as _0x25ddcd}from'rxjs';import{forwardRef as _0x3cd0b1,useRef as _0x2c9c56,createElement as _0x88ee49,useState as _0x39ca44,useCallback as _0x38eed3}from'react';import{ISocketService as _0x28fc4b,WebSocketService as _0x5e8ef7}from'@univerjs/network';var f=function(){var _0x2161db=_0x23152a;return f=Object['assign']||function(_0x54f32a){var _0x3bcb27=_0x5160;for(var _0xf7f656,_0x30cae2=0x1,_0x57c110=arguments[_0x3bcb27(0x239)];_0x30cae2<_0x57c110;_0x30cae2++){_0xf7f656=arguments[_0x30cae2];for(var _0x1a84d1 in _0xf7f656)Object[_0x3bcb27(0x129)][_0x3bcb27(0x1ab)][_0x3bcb27(0x25b)](_0xf7f656,_0x1a84d1)&&(_0x54f32a[_0x1a84d1]=_0xf7f656[_0x1a84d1]);}return _0x54f32a;},f[_0x2161db(0x154)](this,arguments);},Ye=function(_0x37a530,_0x493666){var _0x5144b0=_0x23152a,_0x2438cd={};for(var _0x49b8a1 in _0x37a530)Object['prototype'][_0x5144b0(0x1ab)][_0x5144b0(0x25b)](_0x37a530,_0x49b8a1)&&_0x493666[_0x5144b0(0x1f2)](_0x49b8a1)<0x0&&(_0x2438cd[_0x49b8a1]=_0x37a530[_0x49b8a1]);if(_0x37a530!=null&&typeof Object[_0x5144b0(0x20e)]=='function'){for(var _0x2dc61c=0x0,_0x49b8a1=Object[_0x5144b0(0x20e)](_0x37a530);_0x2dc61c<_0x49b8a1[_0x5144b0(0x239)];_0x2dc61c++)_0x493666['indexOf'](_0x49b8a1[_0x2dc61c])<0x0&&Object['prototype'][_0x5144b0(0x212)][_0x5144b0(0x25b)](_0x37a530,_0x49b8a1[_0x2dc61c])&&(_0x2438cd[_0x49b8a1[_0x2dc61c]]=_0x37a530[_0x49b8a1[_0x2dc61c]]);}return _0x2438cd;},w=_0x3cd0b1(function(_0x1c43a5,_0x1a4dd9){var _0x36b053=_0x23152a,_0x534a3d=_0x1c43a5[_0x36b053(0x117)],_0x4f52de=_0x1c43a5['id'],_0x31c433=_0x1c43a5[_0x36b053(0x13e)],_0x33ad60=_0x1c43a5[_0x36b053(0x148)],_0x3f4fa9=Ye(_0x1c43a5,['icon','id',_0x36b053(0x13e),'extend']),_0xeab17d=_0x36b053(0x243)[_0x36b053(0x1b0)](_0x4f52de,'\x20')['concat'](_0x31c433||'')[_0x36b053(0x1cd)](),_0x51a64c=_0x2c9c56('_'[_0x36b053(0x1b0)](Xe()));return ue(_0x534a3d,''[_0x36b053(0x1b0)](_0x4f52de),{'defIds':_0x534a3d[_0x36b053(0x1b6)],'idSuffix':_0x51a64c['current']},f({'ref':_0x1a4dd9,'className':_0xeab17d},_0x3f4fa9),_0x33ad60);});function ue(_0xaf2a06,_0x58a108,_0x33531e,_0x25f027,_0x4c81dc){var _0x56bf3e=_0x23152a;return _0x88ee49(_0xaf2a06[_0x56bf3e(0x1e3)],f(f({'key':_0x58a108},Ze(_0xaf2a06,_0x33531e,_0x4c81dc)),_0x25f027),(qe(_0xaf2a06,_0x33531e)['children']||[])[_0x56bf3e(0x1e9)](function(_0x4adb08,_0x31a7c2){var _0x1370b1=_0x56bf3e;return ue(_0x4adb08,''['concat'](_0x58a108,'-')[_0x1370b1(0x1b0)](_0xaf2a06[_0x1370b1(0x1e3)],'-')['concat'](_0x31a7c2),_0x33531e,void 0x0,_0x4c81dc);}));}function Ze(_0x3c912d,_0x42b26c,_0x53b44e){var _0x28326b=_0x23152a,_0x55966d=f({},_0x3c912d[_0x28326b(0x137)]);_0x53b44e!=null&&_0x53b44e[_0x28326b(0x10b)]&&_0x55966d[_0x28326b(0x16d)]==='colorChannel1'&&(_0x55966d[_0x28326b(0x16d)]=_0x53b44e[_0x28326b(0x10b)]),_0x3c912d['tag']===_0x28326b(0x208)&&_0x55966d['id']&&(_0x55966d['id']=_0x55966d['id']+_0x42b26c[_0x28326b(0x1e6)]),Object[_0x28326b(0x122)](_0x55966d)[_0x28326b(0x1e5)](function(_0x4ed912){var _0x3f4399=_0x28326b,_0x95bd23=_0x4ed912[0x0],_0x33870c=_0x4ed912[0x1];_0x95bd23==='mask'&&typeof _0x33870c==_0x3f4399(0x20f)&&(_0x55966d[_0x95bd23]=_0x33870c[_0x3f4399(0x175)](/url\(#(.*)\)/,_0x3f4399(0x260)[_0x3f4399(0x1b0)](_0x42b26c[_0x3f4399(0x1e6)],')')));});var _0x4ac42f=_0x42b26c[_0x28326b(0x1b6)];return!_0x4ac42f||_0x4ac42f['length']===0x0||(_0x3c912d[_0x28326b(0x1e3)]==='use'&&_0x55966d['xlink:href']&&(_0x55966d[_0x28326b(0x1b3)]=_0x55966d[_0x28326b(0x1b3)]+_0x42b26c[_0x28326b(0x1e6)]),Object[_0x28326b(0x122)](_0x55966d)[_0x28326b(0x1e5)](function(_0xfef017){var _0x26079e=_0x28326b,_0x24fff2=_0xfef017[0x0],_0x2feb6d=_0xfef017[0x1];typeof _0x2feb6d=='string'&&(_0x55966d[_0x24fff2]=_0x2feb6d['replace'](/url\(#(.*)\)/,_0x26079e(0x260)[_0x26079e(0x1b0)](_0x42b26c[_0x26079e(0x1e6)],')')));})),_0x55966d;}function qe(_0x26ce21,_0x1cb27d){var _0x5dfefe=_0x23152a,_0x368b81,_0x16def6=_0x1cb27d[_0x5dfefe(0x1b6)];return!_0x16def6||_0x16def6[_0x5dfefe(0x239)]===0x0?_0x26ce21:_0x26ce21[_0x5dfefe(0x1e3)]===_0x5dfefe(0x153)&&(!((_0x368b81=_0x26ce21[_0x5dfefe(0x173)])===null||_0x368b81===void 0x0)&&_0x368b81[_0x5dfefe(0x239)])?f(f({},_0x26ce21),{'children':_0x26ce21['children'][_0x5dfefe(0x1e9)](function(_0x268212){var _0x300e4e=_0x5dfefe;return typeof _0x268212[_0x300e4e(0x137)]['id']==_0x300e4e(0x20f)&&_0x16def6&&_0x16def6[_0x300e4e(0x19c)](_0x268212[_0x300e4e(0x137)]['id'])?f(f({},_0x268212),{'attrs':f(f({},_0x268212[_0x300e4e(0x137)]),{'id':_0x268212['attrs']['id']+_0x1cb27d[_0x300e4e(0x1e6)]})}):_0x268212;})}):_0x26ce21;}function Xe(){var _0x417906=_0x23152a;return Math['random']()[_0x417906(0x1d4)](0x24)['substring'](0x2,0x8);}w[_0x23152a(0x227)]='UniverIcon';var Je={'tag':_0x23152a(0x1da),'attrs':{'xmlns':_0x23152a(0x1e8),'fill':'none','viewBox':_0x23152a(0x240),'width':_0x23152a(0x21b),'height':'1em'},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'fill':_0x23152a(0x1d8),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':_0x23152a(0x123),'clipRule':'evenodd'}}]},le=_0x3cd0b1(function(_0x3825af,_0xfe4203){var _0x50c7f7=_0x23152a;return _0x88ee49(w,Object[_0x50c7f7(0x249)]({},_0x3825af,{'id':_0x50c7f7(0x23e),'ref':_0xfe4203,'icon':Je}));});le[_0x23152a(0x227)]=_0x23152a(0x1eb);var Qe={'tag':_0x23152a(0x1da),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23152a(0x1fd),'viewBox':'0\x200\x2017\x2017','width':'1em','height':_0x23152a(0x21b)},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'stroke':_0x23152a(0x1d8),'d':_0x23152a(0x17f),'strokeLinecap':_0x23152a(0x107),'strokeLinejoin':_0x23152a(0x107),'strokeWidth':1.33}},{'tag':_0x23152a(0x1f6),'attrs':{'stroke':_0x23152a(0x1d8),'d':_0x23152a(0x179),'strokeLinecap':_0x23152a(0x107),'strokeLinejoin':_0x23152a(0x107),'strokeWidth':1.33}}]},ve=_0x3cd0b1(function(_0x5e6026,_0x53b410){var _0x3aff35=_0x23152a;return _0x88ee49(w,Object[_0x3aff35(0x249)]({},_0x5e6026,{'id':_0x3aff35(0x182),'ref':_0x53b410,'icon':Qe}));});ve[_0x23152a(0x227)]='CloseSmallSingle';function _0x27d3(){var _0x506a92=['currentColor','mcpConfig.connectionStatus.connected','svg','保存中...','Max\x20Retries','FAILED','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','81aUxriQ','mcpStatus.connecting','连接中...','CONNECTED','tag','_config','forEach','idSuffix','API\x20key\x20with\x20Bearer\x20prefix.','http://www.w3.org/2000/svg','map','MCP:\x20Network\x20Error','CheckMarkIcon','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer.ai','配置无效','MCP\x20Retrying...','mcpStatus.maxRetriesExceeded','_initStatusComponent','indexOf','mcpStatus.clickToConnect','859224mwdoxC','Univer\x20AI\x20控制台','path','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','几秒钟内获取您的\x20API\x20密钥','bottom','1077190yEUyMB','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','none','defineProperty','connectionError$','MCP:\x20Max\x20Retries\x20Exceeded','mcpConfig.authorizationDescription','mcpConfig.connectionStatus.connecting','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','warn','mcpConfig.connectionError.maxRetriesExceeded','Connection\x20Failed','isValid','mask','MCP\x20连接中...','univer-bg-gray-500','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_injector','MCP:\x20会话\x20ID\x20已被占用','getOwnPropertySymbols','string','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','<API_KEY>','propertyIsEnumerable','_localStorageService','javascript:void(0)','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','span','univer-flex-shrink-0\x20univer-text-red-500','add','on-line-icon_clip0_910_349','MAX_RETRIES_EXCEEDED','1em','pre','mcpConfig.configParameters','274960YnCDjU','mcpConfig.sessionIdDescription','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','BUTTON','mcpConfig.validation.apiKeyTooShort','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','_configService','text','univer-flex-1','displayName','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','univer-text-sm\x20univer-text-gray-500','univer-flex\x20univer-items-center\x20univer-gap-2','\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','univer-flex\x20univer-items-center','M0\x200H16V16H0z','Enable\x20authentication\x20for\x20secure\x20connections','univer-flex\x20univer-items-start\x20univer-gap-3','univer-space-y-2','mcpConfig.connectionStatus.failed','_initializeMenus','Click\x20to\x20configure\x20MCP','Disconnected','_createConfigPanelComponent','univer-flex\x20univer-flex-wrap\x20univer-gap-2','启用身份验证','mcpConfig.validation.apiKeyRequired','length','2110BNYFUn','What\x20is\x20API\x20Key?','_handleConfigure','on-line-icon','check-mark-icon','MCPConfigPanel','0\x200\x2016\x2016','univer-text-green-500','getConfig','univerjs-icon\x20univerjs-icon-','mcpConfig.save','mcpStatus.failed','_componentManager','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-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','assign','超出最大重试次数,请稍后再试','value','univer-mr-2\x20univer-flex\x20univer-text-xl','MCP\x20Unknown\x20Status','OffLineIcon','6fXyKML','Enter\x20your\x20API\x20key','get','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','getCurrentConfig','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','带有\x20Bearer\x20前缀的\x20API\x20密钥。','重连中...','open','_logService','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','translate(.97)','call','MCP\x20重连中...','\x20-\x20','启用身份验证以获得安全连接','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','url(#$1','_validateConfig','MCP:\x20超出最大重试次数','Retrying...','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_registerComponent','mcpConfig.apiApplyInfo.getStarted','univer-flex\x20univer-items-start\x20univer-gap-2','round','univer-text-white','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','OnLineIcon','colorChannel1','url(#off-line-icon_clip0_910_343)','pluginName','会话\x20ID\x20已被占用,请稍后再试','mcpConfig.apiApplyInfo.univerAiLabel','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.connectionStatus.disconnected','MCP\x20已断开','72664mXcqVz','配置保存成功','API\x20key\x20is\x20required','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','icon','setItem','_localeService','label','_messageService','您的\x20API\x20密钥安全存储在本地存储中','_mcpConnectionController','_loading$','mcpConfig.apiKeyHint','Error','mcpConfig.apiKeyPlaceholder','entries','evenodd','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','Configuration\x20Parameters:','mcpStatus.sessionOccupied','univer-flex\x20univer-gap-3','MCP\x20连接失败','prototype','983794yDOKsX','配置更改将立即生效','会话ID','Close','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','off-line-icon_clip0_910_343','mcpConfig.connectionInfo','univer-bg-green-500','univer-text-blue-600','COMMAND','MCP\x20Connection\x20Failed','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','attrs','MCP:\x20网络错误','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.validation.invalidApiKey','https://console.univer.plus','UNAUTHORIZED','clipPath','className','将配置添加到您的\x20MCP\x20客户端设置文件中','mcp-ui.command.openConfigPanel','univer-font-medium','univer-flex\x20univer-items-center\x20univer-gap-3','配置参数:','CONNECTING','1081850UEuPXe','univer-text-xs\x20univer-text-gray-500','getOwnPropertyDescriptor','extend','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Save\x20Configuration','mcpConfig.configStep3','Copy\x20the\x20JSON\x20configuration\x20below','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','subscribe','RETRYING','errorMessage','NETWORK_ERROR','defs','apply','OTHERS','Connected','showConfigPanel','Connecting...','MCP\x20客户端配置','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','div','white','MCP\x20Client\x20Configuration','最大重试次数','mcpStatus.unauthorized','mcp-config-dialog','onStarting','mcpConfig.saving','sessionId$','show','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.apiApplyInfo.title','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpConfig.connectionError.networkError','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','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-text-yellow-500','_initConfigSync','fill','API\x20密钥长度至少需要\x2010\x20位','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','mergeMenu','mcp.apiKey','_initializeCommands','children','mcpConfig.connectionError.unauthorized','replace','未连接','setConfig','univer-space-y-5','M5.21243\x2012.287L11.8791\x205.62036','Get\x20your\x20API\x20key\x20in\x20seconds','_connectionController','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','connectionStatus$','M5.21243\x205.62036L11.8791\x2012.287','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','请输入您的\x20API\x20密钥','close-small-single','close','validateApiKey','复制以下\x20JSON\x20配置','API\x20密钥不能为空','_loadStoredApiKey','_initAutoConnect','DISCONNECTED','已连接','next','_uiPartsService','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','mcpConfig.configError','mcpConfig.configSaved','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpServerUrl','enableAutoConnect','univer-text-xs\x20univer-text-gray-600','_mcpCoreConfig$','mcpConfig.note1','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','showDeveloperTools','MCP:\x20Session\x20ID\x20Occupied','网络连接错误,请检查您的网络连接','noopener\x20noreferrer','includes','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','将以下配置添加到您的\x20MCP\x20客户端设置中:','_dialogService','NONE','univer-space-y-3','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20配置','univer-min-w-0\x20univer-flex-1','_handleConfigSave','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','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','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','mcpConfig.title','\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','hasOwnProperty','API\x20Key','disposeWithMe','mcpConfig.note2','apiKey','concat','mcpConfig.configStep1','点击连接\x20MCP','xlink:href','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','push','defIds','Configuration\x20Steps:','MCP\x20Configuration','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-bg-blue-500','removeItem','__setCustomHeaders','off','univer-text-gray-500','_commandService','什么是\x20API\x20密钥?','_config$','API\x20密钥','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','off-line-icon','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Bearer\x20','_blank','has','MCP\x20Connecting...','mcpStatus.networkError','subscribeConfigValue$','9JaVhLq','trim','univer-text-sm\x20univer-font-medium','register','保存配置','error','mcpConfig.connectionStatus.retrying','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','toString','univer-text-red-500','univer.plus','_apiKey$'];_0x27d3=function(){return _0x506a92;};return _0x27d3();}var en={'tag':_0x23152a(0x1da),'attrs':{'xmlns':_0x23152a(0x1e8),'fill':'none','viewBox':_0x23152a(0x240),'width':_0x23152a(0x21b),'height':_0x23152a(0x21b)},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'fill':_0x23152a(0x1d8),'d':_0x23152a(0x16f)}},{'tag':'path','attrs':{'fill':_0x23152a(0x1d8),'d':_0x23152a(0x124)}},{'tag':_0x23152a(0x1f6),'attrs':{'fill':_0x23152a(0x1d8),'d':_0x23152a(0x180),'fillRule':_0x23152a(0x123),'clipRule':_0x23152a(0x123)}}]},de=_0x3cd0b1(function(_0x39c297,_0x13f688){var _0x30edad=_0x23152a;return _0x88ee49(w,Object[_0x30edad(0x249)]({},_0x39c297,{'id':'help-single','ref':_0x13f688,'icon':en}));});de[_0x23152a(0x227)]='HelpSingle';var nn={'tag':_0x23152a(0x1da),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23152a(0x1fd),'viewBox':_0x23152a(0x240),'width':_0x23152a(0x21b),'height':_0x23152a(0x21b)},'children':[{'tag':'g','attrs':{'clipPath':_0x23152a(0x10c)},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'stroke':'currentColor','d':_0x23152a(0x228),'strokeLinecap':_0x23152a(0x107),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x23152a(0x153),'attrs':{},'children':[{'tag':_0x23152a(0x13d),'attrs':{'id':_0x23152a(0x12f)},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'fill':_0x23152a(0x15c),'d':_0x23152a(0x22d)}}]}]}],'defIds':[_0x23152a(0x12f)]},fe=_0x3cd0b1(function(_0x2a2bbb,_0x3e142f){var _0x4f7eef=_0x23152a;return _0x88ee49(w,Object[_0x4f7eef(0x249)]({},_0x2a2bbb,{'id':_0x4f7eef(0x1c4),'ref':_0x3e142f,'icon':nn}));});fe[_0x23152a(0x227)]=_0x23152a(0x24e);var rn={'tag':'svg','attrs':{'xmlns':_0x23152a(0x1e8),'fill':_0x23152a(0x1fd),'viewBox':'0\x200\x2017\x2016','width':_0x23152a(0x21b),'height':_0x23152a(0x21b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'stroke':_0x23152a(0x1d8),'d':_0x23152a(0x1d3),'strokeLinecap':'round','strokeLinejoin':_0x23152a(0x107),'strokeWidth':1.2}}]},{'tag':_0x23152a(0x153),'attrs':{},'children':[{'tag':_0x23152a(0x13d),'attrs':{'id':_0x23152a(0x219)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x23152a(0x22d),'transform':_0x23152a(0x25a)}}]}]}],'defIds':[_0x23152a(0x219)]},ge=_0x3cd0b1(function(_0x343912,_0x254b86){var _0x2b7129=_0x23152a;return _0x88ee49(w,Object['assign']({},_0x343912,{'id':_0x2b7129(0x23d),'ref':_0x254b86,'icon':rn}));});ge[_0x23152a(0x227)]=_0x23152a(0x10a);function tn(_0x3bd325){var _0x5d364a=_0x23152a,_0x548af7,_0x4dad3d;const {mcpCoreConfig:_0x3d7b83,onSave:_0x3364c4,loading:_0x16cee9=!0x1,config:_0x75e9cd,connectionStatus$:_0xf99f8d,connectionError$:_0x136e56,currentApiKey$:_0x5a1e2c,currentSessionId$:_0x58f380}=_0x3bd325,_0x5eed29=_0xec9461(_0x29ac55),_0x3e509d=_0x51a1cc(_0xf99f8d,_0x4d5d6a[_0x5d364a(0x189)]),_0x584153=_0x51a1cc(_0x136e56,_0x5b89c7[_0x5d364a(0x1a0)]),_0x23e63f=_0x51a1cc(_0x58f380,''),_0x57380f=_0x51a1cc(_0x5a1e2c,''),[_0x5655b8,_0xefd7e8]=_0x39ca44(_0x57380f||''),_0x3d5357=!0x0,_0x2f4bfa=_0x75e9cd[_0x5d364a(0x198)]&&_0x3d7b83[_0x5d364a(0x192)]&&(_0x3d7b83[_0x5d364a(0x192)][_0x5d364a(0x19c)](_0x5d364a(0x1d6))||_0x3d7b83[_0x5d364a(0x192)][_0x5d364a(0x19c)]('univer.ai')),_0x21dc59=(_0x548af7=_0x3d7b83[_0x5d364a(0x192)])==null?void 0x0:_0x548af7['includes']('univer.plus'),_0x5097e0=(_0x4dad3d=_0x3d7b83[_0x5d364a(0x192)])==null?void 0x0:_0x4dad3d[_0x5d364a(0x19c)](_0x5d364a(0x1ed)),_0x41ce0d=_0x21dc59?_0x5d364a(0x13b):'https://console.univer.ai',_0x3b78c7=_0x75e9cd[_0x5d364a(0x198)]&&(_0x21dc59||_0x5097e0),[_0x5decf7,_0x424704]=_0x39ca44(!_0x5655b8[_0x5d364a(0x1cd)]()),_0x1c4eda=(_0x1800c5,_0x3976c4)=>{var _0x23470b=_0x5d364a;if(_0x3976c4===_0x5b89c7[_0x23470b(0x13c)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x1800c5){case _0x4d5d6a[_0x23470b(0x1e2)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x4d5d6a['CONNECTING']:case _0x4d5d6a[_0x23470b(0x150)]:return _0x23470b(0x1c3);case _0x4d5d6a[_0x23470b(0x1dd)]:return _0x23470b(0x254);default:return _0x23470b(0x15a);}},_0x1f35aa=(_0x4966be,_0x3fca49)=>{var _0x1d3a3a=_0x5d364a;if(_0x3fca49===_0x5b89c7[_0x1d3a3a(0x13c)])return'univer-bg-red-500';switch(_0x4966be){case _0x4d5d6a[_0x1d3a3a(0x1e2)]:return _0x1d3a3a(0x131);case _0x4d5d6a['CONNECTING']:case _0x4d5d6a[_0x1d3a3a(0x150)]:return _0x1d3a3a(0x1ba);case _0x4d5d6a[_0x1d3a3a(0x1dd)]:return'univer-bg-red-500';default:return _0x1d3a3a(0x20a);}},_0x9ce381=_0x491a35=>{var _0x4da750=_0x5d364a;switch(_0x491a35){case _0x4d5d6a[_0x4da750(0x1e2)]:return _0x5eed29['t'](_0x4da750(0x1d9));case _0x4d5d6a[_0x4da750(0x144)]:return _0x5eed29['t'](_0x4da750(0x202));case _0x4d5d6a[_0x4da750(0x1dd)]:return _0x5eed29['t'](_0x4da750(0x231));case _0x4d5d6a[_0x4da750(0x150)]:return _0x5eed29['t'](_0x4da750(0x1d2));default:return _0x5eed29['t'](_0x4da750(0x111));}},_0x23c8f8=_0x514e52=>{var _0x5680e4=_0x5d364a;switch(_0x514e52){case _0x5b89c7[_0x5680e4(0x13c)]:return _0x5eed29['t'](_0x5680e4(0x174));case _0x5b89c7['SESSION_ID_OCCUPIED']:return _0x5eed29['t']('mcpConfig.connectionError.sessionOccupied');case _0x5b89c7[_0x5680e4(0x152)]:return _0x5eed29['t'](_0x5680e4(0x168));case _0x5b89c7[_0x5680e4(0x21a)]:return _0x5eed29['t'](_0x5680e4(0x205));default:return'';}},_0x590a66=_0x38eed3(()=>{var _0x1a27a6=_0x5d364a;const _0x1455b1={..._0x3d7b83,'apiKey':_0x5655b8[_0x1a27a6(0x1cd)](),'enableAuth':_0x3d5357};_0x3364c4(_0x1455b1);},[_0x3d7b83,_0x5655b8,_0x3d5357,_0x3364c4]),_0x343f5a=_0x5655b8['trim']()[_0x5d364a(0x239)]>0x0;return _0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x197),'children':[_0xbc2bc3('div',{'className':_0x5d364a(0x248),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x142),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x14a),'children':_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x108),'children':'⚙'})}),_0xbc2bc3(_0x5d364a(0x15b),{'children':_0xbc2bc3('p',{'className':_0x5d364a(0x229),'children':_0x5eed29['t']('mcpConfig.description')})})]})}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1fc),'children':[_0xbc2bc3('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1c4eda(_0x3e509d,_0x584153)+_0x5d364a(0x203),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3('div',{'className':_0x5d364a(0x1aa)+_0x1f35aa(_0x3e509d,_0x584153)+_0x5d364a(0x22b)}),_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x1ce),'children':_0x9ce381(_0x3e509d)})]})}),_0x584153!==_0x5b89c7['NONE']&&(_0x3e509d===_0x4d5d6a[_0x5d364a(0x1dd)]||_0x584153===_0x5b89c7[_0x5d364a(0x13c)])&&_0xbc2bc3('div',{'className':_0x5d364a(0x1f7),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x106),'children':[_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x217),'children':'⚠️'}),_0xbc2bc3('p',{'className':_0x5d364a(0x223),'children':_0x23c8f8(_0x584153)})]})})]}),_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a7),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x178),'children':[_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x230),'children':[_0x200cfc(_0x5d364a(0x11a),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0xbc2bc3(_0x5d364a(0x216),{'children':'🔑'}),'\x20',_0x5eed29['t']('mcpConfig.apiKey'),_0xbc2bc3('span',{'className':_0x5d364a(0x1d5),'children':'*'}),_0x2f4bfa&&_0xbc2bc3('a',{'href':_0x5d364a(0x214),'onClick':()=>_0x424704(!0x0),'className':_0x5d364a(0x14e),'title':_0x5eed29['t'](_0x5d364a(0x166)),'children':_0xbc2bc3(de,{})})]}),_0xbc2bc3(_0x1cf5dc,{'type':_0x5d364a(0x225),'placeholder':_0x5eed29['t'](_0x5d364a(0x121)),'value':_0x5655b8,'onChange':_0xefd7e8,'disabled':_0x16cee9,'autoComplete':_0x5d364a(0x1bd)}),_0xbc2bc3('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5eed29['t'](_0x5d364a(0x11f))})]}),_0x2f4bfa&&_0x5decf7&&_0x200cfc('div',{'className':_0x5d364a(0x18e),'children':[_0xbc2bc3('a',{'href':_0x5d364a(0x214),'onClick':()=>_0x424704(!0x1),'className':_0x5d364a(0x109),'title':_0x5d364a(0x12d),'children':_0xbc2bc3(ve,{})}),_0x200cfc('div',{'className':_0x5d364a(0x1b9),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a6),'children':_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x132),'children':'🚀'})}),_0x200cfc('div',{'className':_0x5d364a(0x226),'children':[_0xbc2bc3('h4',{'className':_0x5d364a(0x136),'children':_0x5eed29['t'](_0x5d364a(0x166))}),_0xbc2bc3('p',{'className':_0x5d364a(0x20b),'children':_0x5eed29['t']('mcpConfig.apiApplyInfo.description')}),_0xbc2bc3('div',{'className':_0x5d364a(0x236),'children':_0x3b78c7&&_0x200cfc('a',{'href':_0x41ce0d,'target':_0x5d364a(0x1c7),'rel':_0x5d364a(0x19b),'className':_0x5d364a(0x1a8),'children':[_0xbc2bc3(_0x5d364a(0x216),{'children':'🤖'}),_0x5eed29['t'](_0x5d364a(0x10f)),_0xbc2bc3(_0x5d364a(0x216),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1b4),'children':['✨','\x20',_0x5eed29['t'](_0x5d364a(0x105))]})]})]})]}),_0x75e9cd[_0x5d364a(0x198)]&&_0x200cfc(_0x5d364a(0x15b),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x200cfc('h4',{'className':_0x5d364a(0x165),'children':[_0xbc2bc3(_0x5d364a(0x216),{'children':'🔗'}),'\x20',_0x5eed29['t'](_0x5d364a(0x130))]}),_0x200cfc('div',{'className':'univer-space-y-4','children':[_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a1),'children':[_0xbc2bc3('p',{'className':_0x5d364a(0x194),'children':_0x5eed29['t']('mcpConfig.configInstructions')}),_0x200cfc(_0x5d364a(0x15b),{'className':'univer-space-y-2','children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5eed29['t']('mcpConfig.configStepTitle')}),_0x200cfc(_0x5d364a(0x15b),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x169),'children':'1'}),_0x5eed29['t'](_0x5d364a(0x1b1))]}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x169),'children':'2'}),_0x5eed29['t']('mcpConfig.configStep2')]}),_0x200cfc('div',{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3('span',{'className':'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','children':'3'}),_0x5eed29['t'](_0x5d364a(0x14c))]})]})]})]}),_0x200cfc(_0x5d364a(0x15b),{'className':'univer-space-y-2','children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5d364a(0x1b8)}),_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x167),'children':_0xbc2bc3(_0x5d364a(0x21c),{'className':_0x5d364a(0x1c5),'children':'{\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='+_0x23e63f+_0x5d364a(0x149)+(_0x5655b8||_0x5d364a(0x211))+_0x5d364a(0x215)})})]}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a1),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x135),'children':_0x5eed29['t'](_0x5d364a(0x21d))}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x230),'children':[_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x22f),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x264)}),_0x200cfc('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x1de),'children':'univer_session_id:'}),_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x146),'children':_0x5eed29['t'](_0x5d364a(0x21f))})]})]}),_0x200cfc('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0xbc2bc3('div',{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a4),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x1de),'children':'Authorization:'}),_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x146),'children':_0x5eed29['t'](_0x5d364a(0x201))})]})]})]})]})]})]}),_0xbc2bc3(_0x3a18fc,{'onClick':_0x590a66,'disabled':!_0x343f5a||_0x16cee9,'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':_0x16cee9?_0x200cfc(_0x5d364a(0x216),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0xbc2bc3(_0x5d364a(0x216),{'children':'⟲'}),_0x5eed29['t'](_0x5d364a(0x162))]}):_0x200cfc(_0x5d364a(0x216),{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3(le,{}),_0x5eed29['t'](_0x5d364a(0x244))]})}),_0xbc2bc3('div',{'className':_0x5d364a(0x18d),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x127),'children':[_0xbc2bc3(_0x5d364a(0x216),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x200cfc('div',{'className':_0x5d364a(0x12e),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x141),'children':'Configuration\x20Notes:'}),_0x200cfc(_0x5d364a(0x15b),{'children':['•',_0x5eed29['t'](_0x5d364a(0x196))]}),_0x200cfc(_0x5d364a(0x15b),{'children':['•',_0x5eed29['t'](_0x5d364a(0x1ae))]})]})]})})]})})]});}const x='mcp-ui.config',re={'showDeveloperTools':!0x1,'showStatus':!0x0};var on=Object[_0x23152a(0x147)],sn=(_0x962b6f,_0x2800e8,_0x314e8a,_0x3c8a72)=>{for(var _0xec4582=_0x3c8a72>0x1?void 0x0:_0x3c8a72?on(_0x2800e8,_0x314e8a):_0x2800e8,_0xe7d1bf=_0x962b6f['length']-0x1,_0x5187ad;_0xe7d1bf>=0x0;_0xe7d1bf--)(_0x5187ad=_0x962b6f[_0xe7d1bf])&&(_0xec4582=_0x5187ad(_0xec4582)||_0xec4582);return _0xec4582;},g=(_0xc25a22,_0x155635)=>(_0x355528,_0x10e8fd)=>_0x155635(_0x355528,_0x10e8fd,_0xc25a22);const j=_0x23152a(0x171),U=_0x23152a(0x160);let I=class extends _0x460ffb{constructor(_0x12c510,_0x27078b,_0x4de042,_0x522478,_0x25b867,_0x1f8f86,_0x236ef8,_0x17685e,_0x3a8f33,_0x10f7e3){var _0x759656=_0x23152a;super(),S(this,_0x759656(0x11e),new _0x25ddcd(!0x1)),S(this,_0x759656(0x195),new _0x25ddcd({})),S(this,_0x759656(0x1c1),new _0x25ddcd({})),S(this,'_apiKey$',new _0x25ddcd('')),S(this,_0x759656(0x1a5),async _0x3df58e=>{var _0x10010c=_0x759656,_0x3b8329,_0x43d88d;this[_0x10010c(0x11e)][_0x10010c(0x18b)](!0x0);try{const _0x335097=await this[_0x10010c(0x261)](_0x3df58e);if(!_0x335097[_0x10010c(0x207)]){this['_messageService'][_0x10010c(0x164)]({'type':_0x32a88a[_0x10010c(0x120)],'content':_0x335097[_0x10010c(0x151)]||this[_0x10010c(0x119)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3df58e[_0x10010c(0x1af)]?await this['_localStorageService'][_0x10010c(0x118)](j,_0x3df58e[_0x10010c(0x1af)][_0x10010c(0x1cd)]()):await this[_0x10010c(0x213)][_0x10010c(0x1bb)](j),this[_0x10010c(0x1d7)][_0x10010c(0x18b)](((_0x3b8329=_0x3df58e['apiKey'])==null?void 0x0:_0x3b8329[_0x10010c(0x1cd)]())||''),this[_0x10010c(0x11d)][_0x10010c(0x1bc)]({'Authorization':_0x10010c(0x1c6)+((_0x43d88d=_0x3df58e[_0x10010c(0x1af)])==null?void 0x0:_0x43d88d[_0x10010c(0x1cd)]())}),this['_messageService']['show']({'type':_0x32a88a['Success'],'content':this[_0x10010c(0x119)]['t'](_0x10010c(0x190))}),setTimeout(()=>{var _0x143fb2=_0x10010c;this[_0x143fb2(0x19f)][_0x143fb2(0x183)](U);},0x320);}catch(_0x2e1556){this[_0x10010c(0x258)][_0x10010c(0x1d1)](_0x10010c(0x191),_0x2e1556),this[_0x10010c(0x11b)]['show']({'type':_0x32a88a['Error'],'content':this['_localeService']['t'](_0x10010c(0x18f))});}finally{this[_0x10010c(0x11e)][_0x10010c(0x18b)](!0x1);}}),(this['_injector']=_0x12c510,this[_0x759656(0x18c)]=_0x27078b,this[_0x759656(0x224)]=_0x4de042,this[_0x759656(0x213)]=_0x522478,this['_dialogService']=_0x25b867,this[_0x759656(0x11b)]=_0x1f8f86,this['_componentManager']=_0x236ef8,this['_localeService']=_0x17685e,this[_0x759656(0x258)]=_0x3a8f33,this[_0x759656(0x11d)]=_0x10f7e3,this['_initConfigSync'](),this[_0x759656(0x187)](),this[_0x759656(0x265)]());}['showConfigPanel'](){var _0x4d0629=_0x23152a;const _0x4ac2af=this[_0x4d0629(0x224)]['getConfig'](x);_0x4ac2af!=null&&_0x4ac2af['showDeveloperTools']&&this[_0x4d0629(0x19f)][_0x4d0629(0x257)]({'id':U,'title':{'title':this['_localeService']['t'](_0x4d0629(0x1a9))},'children':{'label':_0x4d0629(0x23f)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x5919e2=_0x4d0629;this['_dialogService'][_0x5919e2(0x183)](U);}});}[_0x23152a(0x253)](){var _0xe62ade=_0x23152a;return this['_mcpCoreConfig$'][_0xe62ade(0x24b)];}[_0x23152a(0x265)](){var _0x5b3136=_0x23152a;this[_0x5b3136(0x1ad)](this[_0x5b3136(0x246)][_0x5b3136(0x1cf)](_0x5b3136(0x23f),this[_0x5b3136(0x235)]()));}[_0x23152a(0x235)](){var _0x5d7742=_0x23152a;return _0x16db0e(()=>{var _0x58b870=_0x5160,_0x157dc0,_0x51b2e6,_0x168762;return _0xbc2bc3(tn,{'config':this[_0x58b870(0x1c1)]['value'],'mcpCoreConfig':this[_0x58b870(0x195)][_0x58b870(0x24b)],'currentApiKey$':this[_0x58b870(0x1d7)],'onSave':this[_0x58b870(0x1a5)],'loading':this[_0x58b870(0x11e)][_0x58b870(0x24b)],'connectionStatus$':(_0x157dc0=this['_mcpConnectionController'])==null?void 0x0:_0x157dc0['connectionStatus$'],'connectionError$':(_0x51b2e6=this[_0x58b870(0x11d)])==null?void 0x0:_0x51b2e6[_0x58b870(0x1ff)],'currentSessionId$':(_0x168762=this[_0x58b870(0x11d)])==null?void 0x0:_0x168762[_0x58b870(0x163)]});},this[_0x5d7742(0x20c)]);}[_0x23152a(0x16c)](){var _0xef4155=_0x23152a;this['disposeWithMe'](this[_0xef4155(0x224)][_0xef4155(0x1cb)](_0x10b2f0)[_0xef4155(0x14f)](_0x35b6c8=>{var _0x208fe7=_0xef4155;this[_0x208fe7(0x195)]['next'](_0x35b6c8||{});}));const _0xb8cec=this[_0xef4155(0x224)]['getConfig'](_0x10b2f0);this[_0xef4155(0x195)]['next'](_0xb8cec||{}),this['disposeWithMe'](this[_0xef4155(0x224)]['subscribeConfigValue$'](x)[_0xef4155(0x14f)](_0x1a73f9=>{var _0x30b503=_0xef4155;this[_0x30b503(0x1c1)][_0x30b503(0x18b)](_0x1a73f9||{});}));const _0x5823c6=this[_0xef4155(0x224)]['getConfig'](x);this[_0xef4155(0x1c1)]['next'](_0x5823c6||{});}async[_0x23152a(0x187)](){var _0x43e094=_0x23152a;const _0x26f717=this['_configService'][_0x43e094(0x242)](x);if(!(_0x26f717!=null&&_0x26f717['showDeveloperTools']))return;const _0x401ab2=await this['_localStorageService']['getItem'](j);_0x401ab2&&(this[_0x43e094(0x11d)]['__setCustomHeaders']({'Authorization':_0x43e094(0x1c6)+_0x401ab2}),this[_0x43e094(0x1d7)][_0x43e094(0x18b)](_0x401ab2));}async[_0x23152a(0x261)](_0x4a9cbd){var _0x3a8ec9=_0x23152a;if(!_0x4a9cbd[_0x3a8ec9(0x1af)]||_0x4a9cbd[_0x3a8ec9(0x1af)][_0x3a8ec9(0x1cd)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x3a8ec9(0x238))};if(_0x4a9cbd['apiKey'][_0x3a8ec9(0x1cd)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3a8ec9(0x119)]['t'](_0x3a8ec9(0x222))};try{const _0x54037a=await this['_injector'][_0x3a8ec9(0x251)](_0x260dce)[_0x3a8ec9(0x184)](_0x4a9cbd[_0x3a8ec9(0x1af)][_0x3a8ec9(0x1cd)]());return _0x54037a[_0x3a8ec9(0x207)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x54037a['error']||this['_localeService']['t'](_0x3a8ec9(0x13a))};}catch(_0x365857){return console[_0x3a8ec9(0x204)](_0x3a8ec9(0x220),_0x365857),{'isValid':!0x0};}}};I=sn([g(0x0,_0x10c81c(_0x5b2e98)),g(0x1,_0x1846c7),g(0x2,_0x1496de),g(0x3,_0x118e2e),g(0x4,_0x382591),g(0x5,_0x43578f),g(0x6,_0x10c81c(_0x5a9e01)),g(0x7,_0x10c81c(_0x29ac55)),g(0x8,_0x31a0e3),g(0x9,_0x10c81c(_0x260dce))],I);const V={'id':_0x23152a(0x140),'type':_0x1911c4[_0x23152a(0x133)],'handler':async(_0x39f33a,_0x3cd1be)=>(_0x39f33a[_0x23152a(0x251)](I)[_0x23152a(0x157)](),!0x0)};function pe(_0x201300,_0x3f5f39){var _0xffbf1f=_0x23152a;switch(_0x201300){case _0x4d5d6a[_0xffbf1f(0x189)]:return'mcpStatus.disconnected';case _0x4d5d6a[_0xffbf1f(0x144)]:return _0xffbf1f(0x1e0);case _0x4d5d6a[_0xffbf1f(0x1e2)]:return'mcpStatus.connected';case _0x4d5d6a[_0xffbf1f(0x1dd)]:switch(_0x3f5f39){case _0x5b89c7['UNAUTHORIZED']:return _0xffbf1f(0x15f);case _0x5b89c7['SESSION_ID_OCCUPIED']:return _0xffbf1f(0x126);case _0x5b89c7[_0xffbf1f(0x152)]:return _0xffbf1f(0x1ca);case _0x5b89c7[_0xffbf1f(0x21a)]:return _0xffbf1f(0x1f0);default:return _0xffbf1f(0x245);}case _0x4d5d6a[_0xffbf1f(0x150)]:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function cn(_0x2cf9d5,_0xd71a77,_0x3efd82,_0x1ed8ff=!0x0){var _0x3977d1=_0x23152a;const _0xa503bd=pe(_0x2cf9d5,_0xd71a77),_0x25daf5=_0x3efd82['t'](_0xa503bd);return _0x1ed8ff?_0x2cf9d5===_0x4d5d6a[_0x3977d1(0x189)]&&_0xd71a77===_0x5b89c7[_0x3977d1(0x13c)]?_0x25daf5+_0x3977d1(0x25d)+_0x3efd82['t']('mcpStatus.clickToConfigure'):_0x2cf9d5===_0x4d5d6a[_0x3977d1(0x1e2)]?''+_0x25daf5:_0x2cf9d5===_0x4d5d6a[_0x3977d1(0x189)]||_0x2cf9d5===_0x4d5d6a[_0x3977d1(0x1dd)]?_0x25daf5+_0x3977d1(0x25d)+_0x3efd82['t'](_0x3977d1(0x1f3)):_0x25daf5:_0x25daf5;}function an(_0x4c65ef){var _0x5339a7=_0x23152a;switch(_0x4c65ef){case _0x4d5d6a[_0x5339a7(0x1e2)]:return _0x5339a7(0x241);case _0x4d5d6a[_0x5339a7(0x144)]:case _0x4d5d6a['RETRYING']:return _0x5339a7(0x16b);case _0x4d5d6a['FAILED']:case _0x4d5d6a['DISCONNECTED']:return _0x5339a7(0x1d5);default:return _0x5339a7(0x1be);}}function un(_0xdddfa){var _0x19af2a=_0x23152a;const {status$:_0x34cced,error$:_0x12f545,onConfigure:_0xc2f149,showClickable:_0x407157=!0x0}=_0xdddfa,_0x3ccc29=_0x51a1cc(_0x34cced,_0x4d5d6a[_0x19af2a(0x189)]),_0x1d177d=_0x51a1cc(_0x12f545,_0x5b89c7[_0x19af2a(0x1a0)]),_0x4178dd=_0xec9461(_0x29ac55),_0x28743c=_0x3ccc29===_0x4d5d6a['CONNECTED'];_0x3ccc29===_0x4d5d6a[_0x19af2a(0x144)]||_0x4d5d6a[_0x19af2a(0x150)];const _0x33f469=_0x4178dd['t'](pe(_0x3ccc29,_0x1d177d)),_0x139f67=cn(_0x3ccc29,_0x1d177d,_0x4178dd,_0x407157),_0x201a8d=an(_0x3ccc29),_0x4c395e=_0x28743c?_0xbc2bc3(ge,{}):_0xbc2bc3(fe,{}),_0x2067e6=_0x38eed3(()=>{_0x407157&&_0xc2f149&&_0xc2f149();},[_0x407157,_0xc2f149]);function _0x495109(){var _0xe14648=_0x19af2a;return _0x200cfc(_0xe14648(0x15b),{'className':_0x1e22a7(_0xe14648(0x22c),_0x407157&&_0xc2f149&&_0xe14648(0x17c)),'onClick':_0x407157&&_0xc2f149?_0x2067e6:void 0x0,'children':[_0xbc2bc3(_0xe14648(0x15b),{'className':_0x1e22a7(_0xe14648(0x24c),_0x201a8d),'children':_0x4c395e}),_0xbc2bc3(_0xe14648(0x15b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x33f469})]});}return _0xbc2bc3(_0x28285f,{'title':_0x139f67,'placement':_0x19af2a(0x1f9),'children':_0x495109()});}var ln=Object[_0x23152a(0x147)],vn=(_0x59397d,_0x398597,_0x7bf6b7,_0x19b954)=>{var _0x4b4b0b=_0x23152a;for(var _0x33116c=_0x19b954>0x1?void 0x0:_0x19b954?ln(_0x398597,_0x7bf6b7):_0x398597,_0x3a39da=_0x59397d[_0x4b4b0b(0x239)]-0x1,_0x489dcd;_0x3a39da>=0x0;_0x3a39da--)(_0x489dcd=_0x59397d[_0x3a39da])&&(_0x33116c=_0x489dcd(_0x33116c)||_0x33116c);return _0x33116c;},A=(_0x4ccce0,_0x55d0b4)=>(_0x1c80ef,_0x4b3800)=>_0x55d0b4(_0x1c80ef,_0x4b3800,_0x4ccce0);let O=class extends _0x460ffb{constructor(_0xf3f200,_0x167153,_0x50ebb6,_0x403905){var _0x278a1a=_0x23152a;super(),this[_0x278a1a(0x20c)]=_0xf3f200,this[_0x278a1a(0x17b)]=_0x167153,this['_uiPartsService']=_0x50ebb6,this['_configService']=_0x403905,this[_0x278a1a(0x188)](),this['_initStatusComponent']();}[_0x23152a(0x188)](){var _0x3c2597=_0x23152a;const _0xa4e935=this[_0x3c2597(0x224)][_0x3c2597(0x242)](x);_0xa4e935!=null&&_0xa4e935[_0x3c2597(0x198)]&&(this[_0x3c2597(0x17b)][_0x3c2597(0x193)]=!0x1);}[_0x23152a(0x1f1)](){var _0x1f2ecd=_0x23152a;const _0x366bc7=this['_configService'][_0x1f2ecd(0x242)](x);(_0x366bc7==null?void 0x0:_0x366bc7['showStatus'])!==!0x1&&this[_0x1f2ecd(0x1ad)](this['_uiPartsService']['registerComponent'](_0x2fa4e8['HEADER_MENU'],()=>{var _0x222b75=_0x1f2ecd,_0x205332;return _0x16db0e(dn({'status$':this[_0x222b75(0x17b)][_0x222b75(0x17e)],'error$':this['_connectionController'][_0x222b75(0x1ff)],'onConfigure':()=>this[_0x222b75(0x23c)](),'showClickable':(_0x205332=_0x366bc7==null?void 0x0:_0x366bc7[_0x222b75(0x198)])!=null?_0x205332:!0x1}),this['_injector']);}));}[_0x23152a(0x23c)](){var _0x522988=_0x23152a;this[_0x522988(0x20c)][_0x522988(0x251)](I)[_0x522988(0x157)]();}};O=vn([A(0x0,_0x10c81c(_0x5b2e98)),A(0x1,_0x10c81c(_0x260dce)),A(0x2,_0x1846c7),A(0x3,_0x1496de)],O);function dn(_0xdfd7b4){const {status$:_0x12efb1,error$:_0xdc1d0,onConfigure:_0x4fdc6e,showClickable:_0x143437}=_0xdfd7b4;return function(){return _0xbc2bc3(un,{'status$':_0x12efb1,'error$':_0xdc1d0,'onConfigure':_0x4fdc6e,'showClickable':_0x143437});};}function fn(_0x3b576a){var _0x2df986=_0x23152a;return{'id':V['id'],'type':_0xd12530[_0x2df986(0x221)],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x2df986(0x1a9)};}const gn={[_0x529546[_0x23152a(0x155)]]:{[V['id']]:{'order':0xa,'menuItemFactory':fn}}};var pn=Object[_0x23152a(0x147)],hn=(_0x570482,_0x54cf31,_0x5a704d,_0x3776b7)=>{for(var _0xf5ccc3=_0x3776b7>0x1?void 0x0:_0x3776b7?pn(_0x54cf31,_0x5a704d):_0x54cf31,_0x328e0c=_0x570482['length']-0x1,_0x4a5b95;_0x328e0c>=0x0;_0x328e0c--)(_0x4a5b95=_0x570482[_0x328e0c])&&(_0xf5ccc3=_0x4a5b95(_0xf5ccc3)||_0xf5ccc3);return _0xf5ccc3;},te=(_0x49a669,_0x30f143)=>(_0x766373,_0x56a748)=>_0x30f143(_0x766373,_0x56a748,_0x49a669);function _0x5160(_0x3b1568,_0x5010a0){var _0x27d383=_0x27d3();return _0x5160=function(_0x51609f,_0x5e3b09){_0x51609f=_0x51609f-0x105;var _0x17af16=_0x27d383[_0x51609f];return _0x17af16;},_0x5160(_0x3b1568,_0x5010a0);}let k=class extends _0x460ffb{constructor(_0xca0baf,_0x4ef88e){var _0x241e0f=_0x23152a;super(),this[_0x241e0f(0x1bf)]=_0xca0baf,this['_menuManagerService']=_0x4ef88e,this[_0x241e0f(0x172)](),this[_0x241e0f(0x232)]();}[_0x23152a(0x172)](){var _0x2b359a=_0x23152a;[V][_0x2b359a(0x1e5)](_0xeef7fb=>{var _0x2d1e4d=_0x2b359a;this[_0x2d1e4d(0x1ad)](this[_0x2d1e4d(0x1bf)]['registerCommand'](_0xeef7fb));});}[_0x23152a(0x232)](){var _0x5e9a6f=_0x23152a;this['_menuManagerService'][_0x5e9a6f(0x170)](gn);}};k=hn([te(0x0,_0xf4c6c0),te(0x1,_0x1033be)],k);const On={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x23152a(0x1c9),'connected':'MCP\x20Connected','failed':_0x23152a(0x134),'retrying':_0x23152a(0x1ef),'unknown':_0x23152a(0x24d),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x23152a(0x199),'networkError':_0x23152a(0x1ea),'maxRetriesExceeded':_0x23152a(0x200),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x23152a(0x233)},'mcpConfig':{'title':_0x23152a(0x1b8),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x23152a(0x1ac),'apiKeyPlaceholder':_0x23152a(0x250),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x23152a(0x22e),'connectionInfo':_0x23152a(0x15d),'mcpClientConfig':_0x23152a(0x15d),'configInstructions':_0x23152a(0x1a2),'configStepTitle':_0x23152a(0x1b7),'configStep1':_0x23152a(0x14d),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x23152a(0x1fb),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x23152a(0x1e7),'configParameters':_0x23152a(0x125),'maxRetries':_0x23152a(0x1dc),'save':_0x23152a(0x14b),'saving':'Saving...','note1':_0x23152a(0x1ec),'note2':_0x23152a(0x110),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x23152a(0x23b),'description':_0x23152a(0x247),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x23152a(0x17a)},'validation':{'apiKeyRequired':_0x23152a(0x115),'apiKeyTooShort':_0x23152a(0x17d),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x23152a(0x259)},'connectionStatus':{'disconnected':_0x23152a(0x234),'connecting':_0x23152a(0x158),'connected':_0x23152a(0x156),'failed':_0x23152a(0x206),'retrying':_0x23152a(0x263)},'connectionError':{'unauthorized':_0x23152a(0x116),'sessionOccupied':_0x23152a(0x252),'networkError':_0x23152a(0x210),'maxRetriesExceeded':_0x23152a(0x25f)}}},kn={'mcpStatus':{'disconnected':_0x23152a(0x112),'connecting':_0x23152a(0x209),'connected':'MCP\x20已连接','failed':_0x23152a(0x128),'retrying':_0x23152a(0x25c),'unknown':'MCP\x20状态未知','unauthorized':'MCP:\x20未授权','sessionOccupied':_0x23152a(0x20d),'networkError':_0x23152a(0x138),'maxRetriesExceeded':_0x23152a(0x262),'clickToConnect':_0x23152a(0x1b2),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x23152a(0x1a3),'description':_0x23152a(0x16a),'apiKey':_0x23152a(0x1c2),'apiKeyPlaceholder':_0x23152a(0x181),'apiKeyHint':_0x23152a(0x139),'enableAuth':_0x23152a(0x237),'enableAuthHint':_0x23152a(0x25e),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x23152a(0x159),'configInstructions':_0x23152a(0x19e),'configStepTitle':'配置步骤:','configStep1':_0x23152a(0x185),'configStep2':_0x23152a(0x13f),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x23152a(0x12c),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x23152a(0x255),'configParameters':_0x23152a(0x143),'maxRetries':_0x23152a(0x15e),'save':_0x23152a(0x1d0),'saving':_0x23152a(0x1db),'note1':_0x23152a(0x12b),'note2':_0x23152a(0x11c),'configSaved':_0x23152a(0x114),'configError':'配置保存失败','apiApplyInfo':{'title':_0x23152a(0x1c0),'description':_0x23152a(0x19d),'univerAiLabel':_0x23152a(0x1f5),'getStarted':_0x23152a(0x1f8)},'validation':{'apiKeyRequired':_0x23152a(0x186),'apiKeyTooShort':_0x23152a(0x16e),'invalidConfig':_0x23152a(0x1ee),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x23152a(0x176),'connecting':_0x23152a(0x1e1),'connected':_0x23152a(0x18a),'failed':'连接失败','retrying':_0x23152a(0x256)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x23152a(0x10e),'networkError':_0x23152a(0x19a),'maxRetriesExceeded':_0x23152a(0x24a)}}};var mn=Object[_0x23152a(0x1fe)],Cn=Object['getOwnPropertyDescriptor'],yn=(_0x53fd87,_0x21e10f,_0x1b78fd)=>_0x21e10f in _0x53fd87?mn(_0x53fd87,_0x21e10f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b78fd}):_0x53fd87[_0x21e10f]=_0x1b78fd,_n=(_0x266c83,_0x523496,_0x2b85da,_0x4098c6)=>{var _0x3dba6c=_0x23152a;for(var _0x540112=_0x4098c6>0x1?void 0x0:_0x4098c6?Cn(_0x523496,_0x2b85da):_0x523496,_0x17daeb=_0x266c83[_0x3dba6c(0x239)]-0x1,_0x1adbaf;_0x17daeb>=0x0;_0x17daeb--)(_0x1adbaf=_0x266c83[_0x17daeb])&&(_0x540112=_0x1adbaf(_0x540112)||_0x540112);return _0x540112;},E=(_0x7f34ae,_0x20eb72)=>(_0x3fb8d4,_0x5f3559)=>_0x20eb72(_0x3fb8d4,_0x5f3559,_0x7f34ae),xn=(_0x503324,_0x289082,_0x3a1f0c)=>yn(_0x503324,_0x289082+'',_0x3a1f0c);let L=class extends _0x3d4f76{constructor(_0x569b02=re,_0xf0024a,_0x43fbf8,_0x14cf29,_0x54b9da,_0x1a4f53){var _0x50a949=_0x23152a;super(),this[_0x50a949(0x1e4)]=_0x569b02,this[_0x50a949(0x20c)]=_0xf0024a,this[_0x50a949(0x224)]=_0x43fbf8,this[_0x50a949(0x18c)]=_0x14cf29,this[_0x50a949(0x213)]=_0x54b9da,this[_0x50a949(0x119)]=_0x1a4f53;const {..._0x413f53}=_0x16b0a4({},re,this[_0x50a949(0x1e4)]);this[_0x50a949(0x224)][_0x50a949(0x177)](x,_0x413f53);}async[_0x23152a(0x161)](){var _0x37dff6=_0x23152a;const _0x510e91=[[O],[I],[k]];this['_injector'][_0x37dff6(0x1c8)](_0x28fc4b)||_0x510e91[_0x37dff6(0x1b5)]([_0x28fc4b,{'useClass':_0x5e8ef7}]),_0x510e91['forEach'](_0x3ad79a=>this[_0x37dff6(0x20c)][_0x37dff6(0x218)](_0x3ad79a)),this[_0x37dff6(0x20c)][_0x37dff6(0x251)](O),this[_0x37dff6(0x20c)]['get'](I),this[_0x37dff6(0x20c)][_0x37dff6(0x251)](k);}};xn(L,_0x23152a(0x10d),'MCP_UI_PLUGIN'),L=_n([_0x2f5397(_0xfd0ba3),E(0x1,_0x10c81c(_0x5b2e98)),E(0x2,_0x1496de),E(0x3,_0x1846c7),E(0x4,_0x118e2e),E(0x5,_0x10c81c(_0x29ac55))],L);export{tn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,un as MCPStatusDisplay,k as MCPUIMenuController,V as OpenMCPConfigPanelCommand,L as UniverMCPUIPlugin,On as enUS,kn as zhCN};
|
|
1
|
+
var _0x33a0d3=_0x1a94;(function(_0x6be5da,_0xa41bad){var _0x14f3bc=_0x1a94,_0x257bb4=_0x6be5da();while(!![]){try{var _0x3ca7b=-parseInt(_0x14f3bc(0xf6))/0x1+parseInt(_0x14f3bc(0x147))/0x2+parseInt(_0x14f3bc(0x1d1))/0x3+-parseInt(_0x14f3bc(0xd3))/0x4+-parseInt(_0x14f3bc(0x1e9))/0x5*(parseInt(_0x14f3bc(0x1d5))/0x6)+parseInt(_0x14f3bc(0x14c))/0x7*(-parseInt(_0x14f3bc(0x94))/0x8)+-parseInt(_0x14f3bc(0x1cb))/0x9*(-parseInt(_0x14f3bc(0x9c))/0xa);if(_0x3ca7b===_0xa41bad)break;else _0x257bb4['push'](_0x257bb4['shift']());}catch(_0x48ed6b){_0x257bb4['push'](_0x257bb4['shift']());}}}(_0x5d6f,0xacf4a));var we=Object['defineProperty'],Ee=(_0x5303c9,_0x539cc9,_0x2eb23b)=>_0x539cc9 in _0x5303c9?we(_0x5303c9,_0x539cc9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eb23b}):_0x5303c9[_0x539cc9]=_0x2eb23b,S=(_0x53bb51,_0x3b2d5f,_0x22751b)=>Ee(_0x53bb51,typeof _0x3b2d5f!=_0x33a0d3(0x183)?_0x3b2d5f+'':_0x3b2d5f,_0x22751b);import{LocaleService as _0x309248,Inject as _0x2ba808,Injector as _0x1d6cae,IConfigService as _0x24beb8,ILocalStorageService as _0x486b15,ILogService as _0x3f7abf,Disposable as _0xc31102,CommandType as _0x34a391,ICommandService as _0x1ebad4,DependentOn as _0x120479,Plugin as _0x128244,merge as _0x4b5942}from'@univerjs/core';import{jsxs as _0x553871,jsx as _0x4e65ca}from'react/jsx-runtime';import{MCPConnectionStatus as _0x39244f,MCPConnectionError as _0x46ad60,MCPConnectionController as _0x34c399,MCP_PLUGIN_CONFIG_KEY as _0x48170c,UniverMCPPlugin as _0x424896}from'@univerjs-pro/mcp';import{Input as _0xd4ea02,Button as _0x21a308,MessageType as _0x4edfa6,Tooltip as _0x3cc445,clsx as _0xc4f7d9}from'@univerjs/design';import{useDependency as _0x3bdb81,useObservable as _0x3ac885,IUIPartsService as _0x161f94,IDialogService as _0x3441a5,IMessageService as _0xfc5e8d,ComponentManager as _0x3f7fe0,connectInjector as _0x23b25d,BuiltInUIPart as _0x2b8d83,MenuItemType as _0x3f21c8,RibbonStartGroup as _0x34ec38,IMenuManagerService as _0x1f96a2}from'@univerjs/ui';import{BehaviorSubject as _0x59015f}from'rxjs';import{forwardRef as _0x2733cb,useRef as _0x40a09b,createElement as _0x1fa4a0,useState as _0x34eb99,useCallback as _0x47054b}from'react';import{ISocketService as _0x3466dc,WebSocketService as _0x1096bb}from'@univerjs/network';var f=function(){var _0x2cd7ab=_0x33a0d3;return f=Object[_0x2cd7ab(0xbb)]||function(_0x8dce5c){var _0x183e5b=_0x2cd7ab;for(var _0x458797,_0x1a9839=0x1,_0x391b1e=arguments[_0x183e5b(0x156)];_0x1a9839<_0x391b1e;_0x1a9839++){_0x458797=arguments[_0x1a9839];for(var _0x30b110 in _0x458797)Object['prototype'][_0x183e5b(0xf5)][_0x183e5b(0xde)](_0x458797,_0x30b110)&&(_0x8dce5c[_0x30b110]=_0x458797[_0x30b110]);}return _0x8dce5c;},f[_0x2cd7ab(0x99)](this,arguments);},Ye=function(_0x1599e7,_0x316906){var _0x5c9e2e=_0x33a0d3,_0x2a39c9={};for(var _0x17874d in _0x1599e7)Object['prototype'][_0x5c9e2e(0xf5)][_0x5c9e2e(0xde)](_0x1599e7,_0x17874d)&&_0x316906[_0x5c9e2e(0xb4)](_0x17874d)<0x0&&(_0x2a39c9[_0x17874d]=_0x1599e7[_0x17874d]);if(_0x1599e7!=null&&typeof Object['getOwnPropertySymbols']==_0x5c9e2e(0x1d6)){for(var _0x4301af=0x0,_0x17874d=Object['getOwnPropertySymbols'](_0x1599e7);_0x4301af<_0x17874d[_0x5c9e2e(0x156)];_0x4301af++)_0x316906[_0x5c9e2e(0xb4)](_0x17874d[_0x4301af])<0x0&&Object[_0x5c9e2e(0x10d)][_0x5c9e2e(0xf3)][_0x5c9e2e(0xde)](_0x1599e7,_0x17874d[_0x4301af])&&(_0x2a39c9[_0x17874d[_0x4301af]]=_0x1599e7[_0x17874d[_0x4301af]]);}return _0x2a39c9;},w=_0x2733cb(function(_0x147c14,_0x19b63c){var _0x53d56b=_0x33a0d3,_0x10590b=_0x147c14[_0x53d56b(0xf9)],_0x3f6587=_0x147c14['id'],_0x101725=_0x147c14[_0x53d56b(0x1ef)],_0x23d738=_0x147c14[_0x53d56b(0x122)],_0x2fa8f4=Ye(_0x147c14,[_0x53d56b(0xf9),'id',_0x53d56b(0x1ef),_0x53d56b(0x122)]),_0x4ab3bd=_0x53d56b(0x168)[_0x53d56b(0x136)](_0x3f6587,'\x20')['concat'](_0x101725||'')['trim'](),_0xf648ce=_0x40a09b('_'[_0x53d56b(0x136)](Xe()));return ue(_0x10590b,''[_0x53d56b(0x136)](_0x3f6587),{'defIds':_0x10590b['defIds'],'idSuffix':_0xf648ce[_0x53d56b(0x16f)]},f({'ref':_0x19b63c,'className':_0x4ab3bd},_0x2fa8f4),_0x23d738);});function ue(_0x5b9db7,_0x5aa451,_0x4655d6,_0x408789,_0xc3de1){var _0x58ffa2=_0x33a0d3;return _0x1fa4a0(_0x5b9db7['tag'],f(f({'key':_0x5aa451},Ze(_0x5b9db7,_0x4655d6,_0xc3de1)),_0x408789),(qe(_0x5b9db7,_0x4655d6)[_0x58ffa2(0xe9)]||[])[_0x58ffa2(0x18c)](function(_0x1ac09a,_0x2e4f10){var _0x10c784=_0x58ffa2;return ue(_0x1ac09a,''['concat'](_0x5aa451,'-')[_0x10c784(0x136)](_0x5b9db7[_0x10c784(0xa4)],'-')[_0x10c784(0x136)](_0x2e4f10),_0x4655d6,void 0x0,_0xc3de1);}));}function Ze(_0x292cb8,_0x467728,_0x3525a1){var _0x232b1e=_0x33a0d3,_0x50e008=f({},_0x292cb8[_0x232b1e(0x12b)]);_0x3525a1!=null&&_0x3525a1['colorChannel1']&&_0x50e008[_0x232b1e(0xb9)]===_0x232b1e(0x101)&&(_0x50e008[_0x232b1e(0xb9)]=_0x3525a1['colorChannel1']),_0x292cb8[_0x232b1e(0xa4)]===_0x232b1e(0xcf)&&_0x50e008['id']&&(_0x50e008['id']=_0x50e008['id']+_0x467728['idSuffix']),Object[_0x232b1e(0x92)](_0x50e008)[_0x232b1e(0x176)](function(_0x2d5a7e){var _0x2682f4=_0x232b1e,_0x39e8f1=_0x2d5a7e[0x0],_0x5b9926=_0x2d5a7e[0x1];_0x39e8f1===_0x2682f4(0xcf)&&typeof _0x5b9926==_0x2682f4(0x12f)&&(_0x50e008[_0x39e8f1]=_0x5b9926['replace'](/url\(#(.*)\)/,_0x2682f4(0xbc)[_0x2682f4(0x136)](_0x467728[_0x2682f4(0x1c4)],')')));});var _0x5098fa=_0x467728[_0x232b1e(0xce)];return!_0x5098fa||_0x5098fa[_0x232b1e(0x156)]===0x0||(_0x292cb8[_0x232b1e(0xa4)]===_0x232b1e(0x158)&&_0x50e008[_0x232b1e(0x187)]&&(_0x50e008[_0x232b1e(0x187)]=_0x50e008[_0x232b1e(0x187)]+_0x467728[_0x232b1e(0x1c4)]),Object[_0x232b1e(0x92)](_0x50e008)[_0x232b1e(0x176)](function(_0x5af3ad){var _0x13475b=_0x232b1e,_0x2a2163=_0x5af3ad[0x0],_0x331334=_0x5af3ad[0x1];typeof _0x331334=='string'&&(_0x50e008[_0x2a2163]=_0x331334['replace'](/url\(#(.*)\)/,_0x13475b(0xbc)[_0x13475b(0x136)](_0x467728[_0x13475b(0x1c4)],')')));})),_0x50e008;}function qe(_0x17fd1e,_0x33704f){var _0x1fde75=_0x33a0d3,_0x3b9463,_0xedf39b=_0x33704f[_0x1fde75(0xce)];return!_0xedf39b||_0xedf39b[_0x1fde75(0x156)]===0x0?_0x17fd1e:_0x17fd1e['tag']===_0x1fde75(0xe7)&&(!((_0x3b9463=_0x17fd1e[_0x1fde75(0xe9)])===null||_0x3b9463===void 0x0)&&_0x3b9463['length'])?f(f({},_0x17fd1e),{'children':_0x17fd1e['children'][_0x1fde75(0x18c)](function(_0x5447ed){var _0x269b5a=_0x1fde75;return typeof _0x5447ed[_0x269b5a(0x12b)]['id']=='string'&&_0xedf39b&&_0xedf39b[_0x269b5a(0x152)](_0x5447ed[_0x269b5a(0x12b)]['id'])?f(f({},_0x5447ed),{'attrs':f(f({},_0x5447ed[_0x269b5a(0x12b)]),{'id':_0x5447ed[_0x269b5a(0x12b)]['id']+_0x33704f[_0x269b5a(0x1c4)]})}):_0x5447ed;})}):_0x17fd1e;}function Xe(){var _0x4215fa=_0x33a0d3;return Math['random']()[_0x4215fa(0xf2)](0x24)[_0x4215fa(0xcd)](0x2,0x8);}w['displayName']='UniverIcon';var Je={'tag':'svg','attrs':{'xmlns':_0x33a0d3(0x14b),'fill':_0x33a0d3(0x1f0),'viewBox':_0x33a0d3(0x1c6),'width':'1em','height':'1em'},'children':[{'tag':_0x33a0d3(0x96),'attrs':{'fill':_0x33a0d3(0x9e),'d':_0x33a0d3(0x169),'fillRule':_0x33a0d3(0x1b5),'clipRule':'evenodd'}}]},le=_0x2733cb(function(_0x272729,_0x33d15b){var _0x553da3=_0x33a0d3;return _0x1fa4a0(w,Object['assign']({},_0x272729,{'id':_0x553da3(0xa9),'ref':_0x33d15b,'icon':Je}));});le[_0x33a0d3(0xa0)]=_0x33a0d3(0x167);var Qe={'tag':_0x33a0d3(0x186),'attrs':{'xmlns':_0x33a0d3(0x14b),'fill':_0x33a0d3(0x1f0),'viewBox':_0x33a0d3(0x1e3),'width':'1em','height':_0x33a0d3(0x1ea)},'children':[{'tag':_0x33a0d3(0x96),'attrs':{'stroke':_0x33a0d3(0x9e),'d':_0x33a0d3(0x18d),'strokeLinecap':'round','strokeLinejoin':_0x33a0d3(0x1a2),'strokeWidth':1.33}},{'tag':_0x33a0d3(0x96),'attrs':{'stroke':'currentColor','d':_0x33a0d3(0x10a),'strokeLinecap':_0x33a0d3(0x1a2),'strokeLinejoin':'round','strokeWidth':1.33}}]},ve=_0x2733cb(function(_0x3fbaa4,_0x3f2112){var _0x1bd63f=_0x33a0d3;return _0x1fa4a0(w,Object[_0x1bd63f(0xbb)]({},_0x3fbaa4,{'id':_0x1bd63f(0xc7),'ref':_0x3f2112,'icon':Qe}));});ve['displayName']=_0x33a0d3(0xff);var en={'tag':_0x33a0d3(0x186),'attrs':{'xmlns':_0x33a0d3(0x14b),'fill':_0x33a0d3(0x1f0),'viewBox':_0x33a0d3(0x1c6),'width':_0x33a0d3(0x1ea),'height':'1em'},'children':[{'tag':_0x33a0d3(0x96),'attrs':{'fill':_0x33a0d3(0x9e),'d':_0x33a0d3(0x1de)}},{'tag':'path','attrs':{'fill':'currentColor','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':_0x33a0d3(0x96),'attrs':{'fill':_0x33a0d3(0x9e),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':'evenodd','clipRule':_0x33a0d3(0x1b5)}}]},de=_0x2733cb(function(_0x39829e,_0x3dbb9e){var _0x547cd6=_0x33a0d3;return _0x1fa4a0(w,Object[_0x547cd6(0xbb)]({},_0x39829e,{'id':_0x547cd6(0x1b0),'ref':_0x3dbb9e,'icon':en}));});de[_0x33a0d3(0xa0)]='HelpSingle';var nn={'tag':_0x33a0d3(0x186),'attrs':{'xmlns':_0x33a0d3(0x14b),'fill':_0x33a0d3(0x1f0),'viewBox':_0x33a0d3(0x1c6),'width':_0x33a0d3(0x1ea),'height':_0x33a0d3(0x1ea)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x33a0d3(0x96),'attrs':{'stroke':_0x33a0d3(0x9e),'d':_0x33a0d3(0x189),'strokeLinecap':_0x33a0d3(0x1a2),'strokeLinejoin':_0x33a0d3(0x1a2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x33a0d3(0xc2),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x33a0d3(0x185)}}]}]}],'defIds':[_0x33a0d3(0x1db)]},fe=_0x2733cb(function(_0x2a6148,_0x493f5f){return _0x1fa4a0(w,Object['assign']({},_0x2a6148,{'id':'off-line-icon','ref':_0x493f5f,'icon':nn}));});fe[_0x33a0d3(0xa0)]=_0x33a0d3(0xd5);var rn={'tag':_0x33a0d3(0x186),'attrs':{'xmlns':_0x33a0d3(0x14b),'fill':_0x33a0d3(0x1f0),'viewBox':'0\x200\x2017\x2016','width':_0x33a0d3(0x1ea),'height':_0x33a0d3(0x1ea)},'children':[{'tag':'g','attrs':{'clipPath':_0x33a0d3(0x1af)},'children':[{'tag':_0x33a0d3(0x96),'attrs':{'stroke':_0x33a0d3(0x9e),'d':_0x33a0d3(0xae),'strokeLinecap':_0x33a0d3(0x1a2),'strokeLinejoin':_0x33a0d3(0x1a2),'strokeWidth':1.2}}]},{'tag':_0x33a0d3(0xe7),'attrs':{},'children':[{'tag':_0x33a0d3(0xc2),'attrs':{'id':_0x33a0d3(0x118)},'children':[{'tag':_0x33a0d3(0x96),'attrs':{'fill':_0x33a0d3(0x1b3),'d':'M0\x200H16V16H0z','transform':_0x33a0d3(0xb2)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},ge=_0x2733cb(function(_0x3d93ee,_0xf90c79){var _0x2e5f1c=_0x33a0d3;return _0x1fa4a0(w,Object[_0x2e5f1c(0xbb)]({},_0x3d93ee,{'id':_0x2e5f1c(0x1dc),'ref':_0xf90c79,'icon':rn}));});ge[_0x33a0d3(0xa0)]=_0x33a0d3(0x1a7);function tn(_0xdd4093){var _0x1b0230=_0x33a0d3,_0x4f5701,_0x3cc1b7;const {mcpCoreConfig:_0x3fdfa5,onSave:_0x526684,loading:_0x19849e=!0x1,config:_0x39febd,connectionStatus$:_0x28f27e,connectionError$:_0x1d7ce9,currentApiKey$:_0x5c7aa1,currentSessionId$:_0x54fb75}=_0xdd4093,_0x408e04=_0x3bdb81(_0x309248),_0x5f2998=_0x3ac885(_0x28f27e,_0x39244f['DISCONNECTED']),_0xcb8371=_0x3ac885(_0x1d7ce9,_0x46ad60[_0x1b0230(0x12d)]),_0x2f56aa=_0x3ac885(_0x54fb75,''),_0x5b4dcd=_0x3ac885(_0x5c7aa1,''),[_0x2d72d3,_0x17fec5]=_0x34eb99(_0x5b4dcd||''),_0x2066f9=!0x0,_0xd54a81=_0x39febd[_0x1b0230(0x157)]&&_0x3fdfa5['mcpServerUrl']&&(_0x3fdfa5['mcpServerUrl']['includes'](_0x1b0230(0x1f3))||_0x3fdfa5[_0x1b0230(0x125)][_0x1b0230(0x152)](_0x1b0230(0x12a))),_0x310010=(_0x4f5701=_0x3fdfa5[_0x1b0230(0x125)])==null?void 0x0:_0x4f5701[_0x1b0230(0x152)](_0x1b0230(0x1f3)),_0x1e1683=(_0x3cc1b7=_0x3fdfa5[_0x1b0230(0x125)])==null?void 0x0:_0x3cc1b7['includes'](_0x1b0230(0x12a)),_0x21223d=_0x310010?_0x1b0230(0x115):_0x1b0230(0x16a),_0x1eb6a8=_0x39febd[_0x1b0230(0x157)]&&(_0x310010||_0x1e1683),[_0xc7084e,_0x4f3fbc]=_0x34eb99(!_0x2d72d3[_0x1b0230(0x1b8)]()),_0x400450=(_0x487dea,_0x3bd5fd)=>{var _0x3dcef4=_0x1b0230;if(_0x3bd5fd===_0x46ad60['UNAUTHORIZED'])return _0x3dcef4(0xeb);switch(_0x487dea){case _0x39244f[_0x3dcef4(0x161)]:return _0x3dcef4(0xb8);case _0x39244f[_0x3dcef4(0x18a)]:case _0x39244f[_0x3dcef4(0x166)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x39244f[_0x3dcef4(0x159)]:return _0x3dcef4(0xeb);default:return _0x3dcef4(0x127);}},_0x3a4963=(_0x3afaff,_0x33ab01)=>{var _0x58d908=_0x1b0230;if(_0x33ab01===_0x46ad60[_0x58d908(0xd6)])return _0x58d908(0x1b1);switch(_0x3afaff){case _0x39244f[_0x58d908(0x161)]:return _0x58d908(0x1ba);case _0x39244f[_0x58d908(0x18a)]:case _0x39244f[_0x58d908(0x166)]:return _0x58d908(0x1e7);case _0x39244f[_0x58d908(0x159)]:return _0x58d908(0x1b1);default:return _0x58d908(0x1ae);}},_0x3443b2=_0x45a917=>{var _0x511498=_0x1b0230;switch(_0x45a917){case _0x39244f['CONNECTED']:return _0x408e04['t'](_0x511498(0xc9));case _0x39244f[_0x511498(0x18a)]:return _0x408e04['t'](_0x511498(0x17e));case _0x39244f['FAILED']:return _0x408e04['t'](_0x511498(0x1b6));case _0x39244f[_0x511498(0x166)]:return _0x408e04['t'](_0x511498(0x100));default:return _0x408e04['t'](_0x511498(0x154));}},_0x57263b=_0x4b7381=>{var _0x4a0a70=_0x1b0230;switch(_0x4b7381){case _0x46ad60['UNAUTHORIZED']:return _0x408e04['t']('mcpConfig.connectionError.unauthorized');case _0x46ad60[_0x4a0a70(0x9f)]:return _0x408e04['t'](_0x4a0a70(0xab));case _0x46ad60[_0x4a0a70(0x1bf)]:return _0x408e04['t']('mcpConfig.connectionError.networkError');case _0x46ad60['MAX_RETRIES_EXCEEDED']:return _0x408e04['t'](_0x4a0a70(0xd1));default:return'';}},_0x45349d=_0x47054b(()=>{var _0x360dee=_0x1b0230;const _0x53cc0a={..._0x3fdfa5,'apiKey':_0x2d72d3[_0x360dee(0x1b8)](),'enableAuth':_0x2066f9};_0x526684(_0x53cc0a);},[_0x3fdfa5,_0x2d72d3,_0x2066f9,_0x526684]),_0xdbf037=_0x2d72d3[_0x1b0230(0x1b8)]()[_0x1b0230(0x156)]>0x0;return _0x553871('div',{'className':_0x1b0230(0x93),'children':[_0x4e65ca('div',{'className':_0x1b0230(0x19d),'children':_0x553871('div',{'className':_0x1b0230(0xaf),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x4e65ca('span',{'className':_0x1b0230(0x13e),'children':'⚙'})}),_0x4e65ca(_0x1b0230(0xee),{'children':_0x4e65ca('p',{'className':_0x1b0230(0x1ed),'children':_0x408e04['t']('mcpConfig.description')})})]})}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x1f1),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x109)+_0x400450(_0x5f2998,_0xcb8371)+_0x1b0230(0x173),'children':_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x11e),'children':[_0x4e65ca('div',{'className':_0x1b0230(0x1ee)+_0x3a4963(_0x5f2998,_0xcb8371)+_0x1b0230(0x121)}),_0x4e65ca(_0x1b0230(0x14f),{'className':_0x1b0230(0x148),'children':_0x3443b2(_0x5f2998)})]})}),_0xcb8371!==_0x46ad60[_0x1b0230(0x12d)]&&(_0x5f2998===_0x39244f['FAILED']||_0xcb8371===_0x46ad60[_0x1b0230(0xd6)])&&_0x4e65ca('div',{'className':_0x1b0230(0x112),'children':_0x553871('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x4e65ca(_0x1b0230(0x14f),{'className':_0x1b0230(0x17c),'children':'⚠️'}),_0x4e65ca('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x57263b(_0xcb8371)})]})})]}),_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x1ec),'children':_0x553871('div',{'className':_0x1b0230(0x9d),'children':[_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0xd7),'children':[_0x553871(_0x1b0230(0xf0),{'className':_0x1b0230(0x124),'children':[_0x4e65ca('span',{'children':'🔑'}),'\x20',_0x408e04['t'](_0x1b0230(0x1d3)),_0x4e65ca(_0x1b0230(0x14f),{'className':'univer-text-red-500','children':'*'}),_0xd54a81&&_0x4e65ca('a',{'href':_0x1b0230(0x19e),'onClick':()=>_0x4f3fbc(!0x0),'className':_0x1b0230(0x1e6),'title':_0x408e04['t'](_0x1b0230(0x146)),'children':_0x4e65ca(de,{})})]}),_0x4e65ca(_0xd4ea02,{'type':_0x1b0230(0x13f),'placeholder':_0x408e04['t'](_0x1b0230(0x1f2)),'value':_0x2d72d3,'onChange':_0x17fec5,'disabled':_0x19849e,'autoComplete':'off'}),_0x4e65ca('p',{'className':_0x1b0230(0x135),'children':_0x408e04['t'](_0x1b0230(0x11c))})]}),_0xd54a81&&_0xc7084e&&_0x553871('div',{'className':_0x1b0230(0x196),'children':[_0x4e65ca('a',{'href':_0x1b0230(0x19e),'onClick':()=>_0x4f3fbc(!0x1),'className':_0x1b0230(0xc4),'title':_0x1b0230(0x103),'children':_0x4e65ca(ve,{})}),_0x553871('div',{'className':_0x1b0230(0x12c),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x1dd),'children':_0x4e65ca(_0x1b0230(0x14f),{'className':'univer-text-blue-600','children':'🚀'})}),_0x553871('div',{'className':_0x1b0230(0x197),'children':[_0x4e65ca('h4',{'className':_0x1b0230(0x1b4),'children':_0x408e04['t'](_0x1b0230(0x146))}),_0x4e65ca('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x408e04['t']('mcpConfig.apiApplyInfo.description')}),_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x1da),'children':_0x1eb6a8&&_0x553871('a',{'href':_0x21223d,'target':_0x1b0230(0x1aa),'rel':_0x1b0230(0x1d0),'className':_0x1b0230(0x114),'children':[_0x4e65ca(_0x1b0230(0x14f),{'children':'🤖'}),_0x408e04['t'](_0x1b0230(0x1cc)),_0x4e65ca('span',{'className':_0x1b0230(0x15f),'children':'↗'})]})}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x126),'children':['✨','\x20',_0x408e04['t'](_0x1b0230(0x15c))]})]})]})]}),_0x39febd[_0x1b0230(0x157)]&&_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x179),'children':[_0x553871('h4',{'className':_0x1b0230(0x1b9),'children':[_0x4e65ca('span',{'children':'🔗'}),'\x20',_0x408e04['t']('mcpConfig.connectionInfo')]}),_0x553871('div',{'className':'univer-space-y-4','children':[_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0xfb),'children':[_0x4e65ca('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x408e04['t'](_0x1b0230(0xa6))}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0xd7),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x98),'children':_0x408e04['t'](_0x1b0230(0xa5))}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x163),'children':[_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x11e),'children':[_0x4e65ca(_0x1b0230(0x14f),{'className':_0x1b0230(0x19b),'children':'1'}),_0x408e04['t']('mcpConfig.configStep1')]}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x11e),'children':[_0x4e65ca(_0x1b0230(0x14f),{'className':'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','children':'2'}),_0x408e04['t'](_0x1b0230(0xc5))]}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x11e),'children':[_0x4e65ca(_0x1b0230(0x14f),{'className':_0x1b0230(0x19b),'children':'3'}),_0x408e04['t'](_0x1b0230(0x11d))]})]})]})]}),_0x553871('div',{'className':_0x1b0230(0xd7),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x98),'children':'MCP\x20Configuration'}),_0x4e65ca('div',{'className':_0x1b0230(0x1a1),'children':_0x4e65ca(_0x1b0230(0x1df),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':_0x1b0230(0xb7)+_0x2f56aa+'\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'+(_0x2d72d3||_0x1b0230(0x171))+_0x1b0230(0x1e4)})})]}),_0x553871('div',{'className':_0x1b0230(0xfb),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x408e04['t'](_0x1b0230(0xa3))}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0xd7),'children':[_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0xd0),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x97)}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x164),'children':[_0x4e65ca('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1b0230(0x11a)}),_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x135),'children':_0x408e04['t']('mcpConfig.sessionIdDescription')})]})]}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0xd0),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x97)}),_0x553871(_0x1b0230(0xee),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x18e),'children':'Authorization:'}),_0x4e65ca(_0x1b0230(0xee),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x408e04['t'](_0x1b0230(0x95))})]})]})]})]})]})]}),_0x4e65ca(_0x21a308,{'onClick':_0x45349d,'disabled':!_0xdbf037||_0x19849e,'className':_0x1b0230(0x13d),'children':_0x19849e?_0x553871(_0x1b0230(0x14f),{'className':_0x1b0230(0x11e),'children':[_0x4e65ca('span',{'children':'⟲'}),_0x408e04['t'](_0x1b0230(0x133))]}):_0x553871(_0x1b0230(0x14f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x4e65ca(le,{}),_0x408e04['t']('mcpConfig.save')]})}),_0x4e65ca(_0x1b0230(0xee),{'className':_0x1b0230(0x15a),'children':_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0xda),'children':[_0x4e65ca(_0x1b0230(0x14f),{'className':_0x1b0230(0x1f7),'children':'💡'}),_0x553871(_0x1b0230(0xee),{'className':_0x1b0230(0x1d2),'children':[_0x4e65ca(_0x1b0230(0xee),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x553871('div',{'children':['•',_0x408e04['t']('mcpConfig.note1')]}),_0x553871('div',{'children':['•',_0x408e04['t'](_0x1b0230(0xac))]})]})]})})]})})]});}const x=_0x33a0d3(0x145),re={'showDeveloperTools':!0x1,'showStatus':!0x0};var on=Object['getOwnPropertyDescriptor'],sn=(_0x5cb117,_0x262667,_0x1adf39,_0x364108)=>{var _0x2635a3=_0x33a0d3;for(var _0x2ade0f=_0x364108>0x1?void 0x0:_0x364108?on(_0x262667,_0x1adf39):_0x262667,_0x13195b=_0x5cb117[_0x2635a3(0x156)]-0x1,_0x417115;_0x13195b>=0x0;_0x13195b--)(_0x417115=_0x5cb117[_0x13195b])&&(_0x2ade0f=_0x417115(_0x2ade0f)||_0x2ade0f);return _0x2ade0f;},g=(_0x37d291,_0x43f15c)=>(_0x1399ca,_0x2e5cf7)=>_0x43f15c(_0x1399ca,_0x2e5cf7,_0x37d291);function _0x5d6f(){var _0x33a878=['pre','API\x20密钥无效,请检查密钥是否正确','mcpStatus.disconnected','_registerComponent','0\x200\x2017\x2017','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','_localStorageService','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','univer-bg-blue-500','next','12455yVQMtj','1em','_initializeMenus','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-text-sm\x20univer-text-gray-500','\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','className','none','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpConfig.apiKeyPlaceholder','univer.plus','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcpStatus.networkError','get','univer-flex-shrink-0\x20univer-text-blue-500','entries','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','41176SqZoHi','mcpConfig.authorizationDescription','path','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','apply','mcpStatus.maxRetriesExceeded','MenuIcon','812330sNPOwz','univer-space-y-5','currentColor','SESSION_ID_OCCUPIED','displayName','MCP\x20Connection\x20Failed','mcpStatus.sessionOccupied','mcpConfig.configParameters','tag','mcpConfig.configStepTitle','mcpConfig.configInstructions','MCP\x20配置','_handleConfigSave','check-mark-icon','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.connectionError.sessionOccupied','mcpConfig.note2','connectionStatus$','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','univer-flex\x20univer-items-center\x20univer-gap-3','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','translate(.97)','mcpConfig.validation.apiKeyTooShort','indexOf','MCP:\x20未授权','API\x20key\x20is\x20required','{\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-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','fill','univer-flex\x20univer-items-center','assign','url(#$1','Click\x20to\x20connect\x20MCP','MCP:\x20Unauthorized','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpStatus.retrying','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','clipPath','_config','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','mcpConfig.configStep2','您的\x20API\x20密钥安全存储在本地存储中','close-small-single','MAX_RETRIES_EXCEEDED','mcpConfig.connectionStatus.connected','_initializeCommands','MCP\x20Configuration','MCP_UI_PLUGIN','substring','defIds','mask','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.connectionError.maxRetriesExceeded','启用身份验证以获得安全连接','373884ytTbzw','配置参数:','OffLineIcon','UNAUTHORIZED','univer-space-y-2','apiKey','pluginName','univer-flex\x20univer-gap-3','_mcpCoreConfig$','配置保存失败','复制以下\x20JSON\x20配置','call','registerCommand','setConfig','Configuration\x20saved\x20successfully','MCP\x20已断开','已连接','API\x20密钥不能为空','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','COMMAND','defs','_validateConfig','children','warn','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','register','MCP\x20重连中...','div','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','label','getOwnPropertyDescriptor','toString','propertyIsEnumerable','MCP\x20连接中...','hasOwnProperty','1360759ndtqcu','_configService','mcp-config-dialog','icon','_initAutoConnect','univer-space-y-3','_loadStoredApiKey','MCP\x20Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','CloseSmallSingle','mcpConfig.connectionStatus.retrying','colorChannel1','MCP\x20已连接','Close','mcpStatus.failed','Bearer\x20','mcpConfig.validation.apiKeyRequired','setItem','errorMessage','\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','M5.21243\x2012.287L11.8791\x205.62036','_componentManager','Configuration\x20Parameters:','prototype','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_apiKey$','removeItem','启用身份验证','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','未连接','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','https://console.univer.plus','isValid','MCP:\x20Max\x20Retries\x20Exceeded','on-line-icon_clip0_910_349','最大重试次数','univer_session_id:','showStatus','mcpConfig.apiKeyHint','mcpConfig.configStep3','univer-flex\x20univer-items-center\x20univer-gap-2','univer-text-red-500','MCP\x20Disconnected','\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','extend','点击配置\x20MCP','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpServerUrl','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','会话ID','MCP:\x20超出最大重试次数','univer.ai','attrs','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','NONE','MCP\x20Client\x20Configuration','string','_commandService','Connected','show','mcpConfig.saving','MCP\x20Unknown\x20Status','univer-text-xs\x20univer-text-gray-500','concat','mcpConfig.title','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','\x20-\x20','MCP:\x20Session\x20ID\x20Occupied','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','_connectionController','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-text-white','text','open','mcpConfig.configSaved','OTHERS','API\x20Key','会话\x20ID\x20已被占用,请稍后再试','mcp-ui.config','mcpConfig.apiApplyInfo.title','1522942lVaPwu','univer-text-sm\x20univer-font-medium','Error','网络连接错误,请检查您的网络连接','http://www.w3.org/2000/svg','868sMezVj','配置保存成功','_createConfigPanelComponent','span','连接失败','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','includes','_config$','mcpConfig.connectionStatus.disconnected','enableAutoConnect','length','showDeveloperTools','use','FAILED','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','配置更改将立即生效','mcpConfig.apiApplyInfo.getStarted','subscribeConfigValue$','Connecting...','univer-text-gray-400','has','CONNECTED','MCP\x20Connected','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-min-w-0\x20univer-flex-1','_loading$','RETRYING','CheckMarkIcon','univerjs-icon\x20univerjs-icon-','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','https://console.univer.ai','mergeMenu','Enable\x20Authentication','配置\x20MCP\x20使用\x20AI\x20操作电子表格','sessionId$','current','__setCustomHeaders','<API_KEY>','mcpStatus.unauthorized','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','连接中...','forEach','registerComponent','mcp-ui.command.openConfigPanel','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','超出最大重试次数,请稍后再试','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-flex-shrink-0\x20univer-text-red-500','mcpStatus.clickToConfigure','mcpConfig.connectionStatus.connecting','subscribe','将配置添加到您的\x20MCP\x20客户端设置文件中','Saving...','mcpConfig.configError','symbol','add','M0\x200H16V16H0z','svg','xlink:href','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','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','CONNECTING','重启您的\x20MCP\x20客户端以使配置生效','map','M5.21243\x205.62036L11.8791\x2012.287','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','close','_initConfigSync','Enable\x20authentication\x20for\x20secure\x20connections','_dialogService','Enter\x20your\x20API\x20key','value','_menuManagerService','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-flex-1','MCP:\x20会话\x20ID\x20已被占用','_injector','保存配置','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','Univer\x20AI\x20Console','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','javascript:void(0)','将以下配置添加到您的\x20MCP\x20客户端设置中:','bottom','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','round','validateApiKey','error','push','defineProperty','OnLineIcon','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','DISCONNECTED','_blank','_uiPartsService','getConfig','几秒钟内获取您的\x20API\x20密钥','univer-bg-gray-500','url(#on-line-icon_clip0_910_349)','help-single','univer-bg-red-500','配置步骤:','white','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','evenodd','mcpConfig.connectionStatus.failed','_mcpConnectionController','trim','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-bg-green-500','disposeWithMe','univer-text-yellow-500','connectionError$','mcp.apiKey','NETWORK_ERROR','Retrying...','点击连接\x20MCP','MCP\x20Retrying...','What\x20is\x20API\x20Key?','idSuffix','_logService','0\x200\x2016\x2016','_localeService','_messageService','mcpStatus.connecting','MCP:\x20网络错误','225PdJZuv','mcpConfig.apiApplyInfo.univerAiLabel','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','getItem','MCPConfigPanel','noopener\x20noreferrer','728226zHDfka','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.apiKey','API\x20密钥长度至少需要\x2010\x20位','564UGhEYq','function','showConfigPanel','MCP\x20客户端配置','您的\x20API\x20密钥将在此浏览器中本地存储','univer-flex\x20univer-flex-wrap\x20univer-gap-2','off-line-icon_clip0_910_343','on-line-icon','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','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'];_0x5d6f=function(){return _0x33a878;};return _0x5d6f();}const j=_0x33a0d3(0x1be),U=_0x33a0d3(0xf8);let I=class extends _0xc31102{constructor(_0x4d1fa8,_0x13f827,_0x530a21,_0x344ce6,_0x463e4d,_0x483209,_0x5b2129,_0x1c449d,_0x207528,_0x4bc61e){var _0x1d8c8c=_0x33a0d3;super(),S(this,_0x1d8c8c(0x165),new _0x59015f(!0x1)),S(this,_0x1d8c8c(0xdb),new _0x59015f({})),S(this,_0x1d8c8c(0x153),new _0x59015f({})),S(this,_0x1d8c8c(0x10f),new _0x59015f('')),S(this,_0x1d8c8c(0xa8),async _0x409ac7=>{var _0x15a052=_0x1d8c8c,_0x54c26a,_0x3ce9b3;this[_0x15a052(0x165)][_0x15a052(0x1e8)](!0x0);try{const _0x2d5906=await this[_0x15a052(0xe8)](_0x409ac7);if(!_0x2d5906[_0x15a052(0x116)]){this['_messageService'][_0x15a052(0x132)]({'type':_0x4edfa6[_0x15a052(0x149)],'content':_0x2d5906[_0x15a052(0x108)]||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x409ac7[_0x15a052(0xd8)]?await this[_0x15a052(0x1e5)][_0x15a052(0x107)](j,_0x409ac7['apiKey'][_0x15a052(0x1b8)]()):await this['_localStorageService'][_0x15a052(0x110)](j),this[_0x15a052(0x10f)]['next'](((_0x54c26a=_0x409ac7[_0x15a052(0xd8)])==null?void 0x0:_0x54c26a[_0x15a052(0x1b8)]())||''),this[_0x15a052(0x1b7)][_0x15a052(0x170)]({'Authorization':'Bearer\x20'+((_0x3ce9b3=_0x409ac7[_0x15a052(0xd8)])==null?void 0x0:_0x3ce9b3[_0x15a052(0x1b8)]())}),this[_0x15a052(0x1c8)][_0x15a052(0x132)]({'type':_0x4edfa6['Success'],'content':this[_0x15a052(0x1c7)]['t'](_0x15a052(0x141))}),setTimeout(()=>{var _0x130d65=_0x15a052;this[_0x130d65(0x192)][_0x130d65(0x18f)](U);},0x320);}catch(_0xe0f99f){this[_0x15a052(0x1c5)]['error'](_0x15a052(0xc1),_0xe0f99f),this[_0x15a052(0x1c8)]['show']({'type':_0x4edfa6[_0x15a052(0x149)],'content':this[_0x15a052(0x1c7)]['t'](_0x15a052(0x182))});}finally{this[_0x15a052(0x165)][_0x15a052(0x1e8)](!0x1);}}),(this[_0x1d8c8c(0x199)]=_0x4d1fa8,this[_0x1d8c8c(0x1ab)]=_0x13f827,this[_0x1d8c8c(0xf7)]=_0x530a21,this[_0x1d8c8c(0x1e5)]=_0x344ce6,this[_0x1d8c8c(0x192)]=_0x463e4d,this[_0x1d8c8c(0x1c8)]=_0x483209,this[_0x1d8c8c(0x10b)]=_0x5b2129,this['_localeService']=_0x1c449d,this[_0x1d8c8c(0x1c5)]=_0x207528,this[_0x1d8c8c(0x1b7)]=_0x4bc61e,this[_0x1d8c8c(0x190)](),this[_0x1d8c8c(0xfc)](),this[_0x1d8c8c(0x1e2)]());}['showConfigPanel'](){var _0xade073=_0x33a0d3;const _0x73234c=this[_0xade073(0xf7)][_0xade073(0x1ac)](x);_0x73234c!=null&&_0x73234c[_0xade073(0x157)]&&this['_dialogService'][_0xade073(0x140)]({'id':U,'title':{'title':this[_0xade073(0x1c7)]['t'](_0xade073(0x137))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x398cb7=_0xade073;this['_dialogService'][_0x398cb7(0x18f)](U);}});}['getCurrentConfig'](){var _0x2607ba=_0x33a0d3;return this['_mcpCoreConfig$'][_0x2607ba(0x194)];}[_0x33a0d3(0x1e2)](){var _0x2bbd67=_0x33a0d3;this[_0x2bbd67(0x1bb)](this[_0x2bbd67(0x10b)][_0x2bbd67(0xec)](_0x2bbd67(0x1cf),this[_0x2bbd67(0x14e)]()));}['_createConfigPanelComponent'](){var _0x455940=_0x33a0d3;return _0x23b25d(()=>{var _0x1b41cf=_0x1a94,_0x35887c,_0x2426b7,_0x4ef34c;return _0x4e65ca(tn,{'config':this[_0x1b41cf(0x153)][_0x1b41cf(0x194)],'mcpCoreConfig':this[_0x1b41cf(0xdb)]['value'],'currentApiKey$':this[_0x1b41cf(0x10f)],'onSave':this[_0x1b41cf(0xa8)],'loading':this[_0x1b41cf(0x165)]['value'],'connectionStatus$':(_0x35887c=this[_0x1b41cf(0x1b7)])==null?void 0x0:_0x35887c[_0x1b41cf(0xad)],'connectionError$':(_0x2426b7=this[_0x1b41cf(0x1b7)])==null?void 0x0:_0x2426b7[_0x1b41cf(0x1bd)],'currentSessionId$':(_0x4ef34c=this[_0x1b41cf(0x1b7)])==null?void 0x0:_0x4ef34c[_0x1b41cf(0x16e)]});},this[_0x455940(0x199)]);}[_0x33a0d3(0x190)](){var _0x570609=_0x33a0d3;this[_0x570609(0x1bb)](this[_0x570609(0xf7)][_0x570609(0x15d)](_0x48170c)['subscribe'](_0x254747=>{var _0x56d899=_0x570609;this[_0x56d899(0xdb)][_0x56d899(0x1e8)](_0x254747||{});}));const _0x1d543a=this[_0x570609(0xf7)][_0x570609(0x1ac)](_0x48170c);this[_0x570609(0xdb)][_0x570609(0x1e8)](_0x1d543a||{}),this[_0x570609(0x1bb)](this[_0x570609(0xf7)][_0x570609(0x15d)](x)[_0x570609(0x17f)](_0x7c6e0a=>{var _0x2c9710=_0x570609;this[_0x2c9710(0x153)]['next'](_0x7c6e0a||{});}));const _0x1592c7=this[_0x570609(0xf7)]['getConfig'](x);this[_0x570609(0x153)][_0x570609(0x1e8)](_0x1592c7||{});}async[_0x33a0d3(0xfc)](){var _0x4bb4e6=_0x33a0d3;const _0x240489=this[_0x4bb4e6(0xf7)][_0x4bb4e6(0x1ac)](x);if(!(_0x240489!=null&&_0x240489[_0x4bb4e6(0x157)]))return;const _0x18541b=await this[_0x4bb4e6(0x1e5)][_0x4bb4e6(0x1ce)](j);_0x18541b&&(this[_0x4bb4e6(0x1b7)][_0x4bb4e6(0x170)]({'Authorization':_0x4bb4e6(0x105)+_0x18541b}),this[_0x4bb4e6(0x10f)][_0x4bb4e6(0x1e8)](_0x18541b));}async['_validateConfig'](_0x2f93b0){var _0x314b91=_0x33a0d3;if(!_0x2f93b0[_0x314b91(0xd8)]||_0x2f93b0[_0x314b91(0xd8)][_0x314b91(0x1b8)]()[_0x314b91(0x156)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x314b91(0x106))};if(_0x2f93b0[_0x314b91(0xd8)]['trim']()[_0x314b91(0x156)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x314b91(0xb3))};try{const _0x382a2f=await this[_0x314b91(0x199)][_0x314b91(0x1f6)](_0x34c399)[_0x314b91(0x1a3)](_0x2f93b0[_0x314b91(0xd8)][_0x314b91(0x1b8)]());return _0x382a2f['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x382a2f[_0x314b91(0x1a4)]||this[_0x314b91(0x1c7)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x5b87b3){return console[_0x314b91(0xea)](_0x314b91(0x1cd),_0x5b87b3),{'isValid':!0x0};}}};I=sn([g(0x0,_0x2ba808(_0x1d6cae)),g(0x1,_0x161f94),g(0x2,_0x24beb8),g(0x3,_0x486b15),g(0x4,_0x3441a5),g(0x5,_0xfc5e8d),g(0x6,_0x2ba808(_0x3f7fe0)),g(0x7,_0x2ba808(_0x309248)),g(0x8,_0x3f7abf),g(0x9,_0x2ba808(_0x34c399))],I);const V={'id':_0x33a0d3(0x178),'type':_0x34a391[_0x33a0d3(0xe6)],'handler':async(_0x267f11,_0x139abc)=>(_0x267f11[_0x33a0d3(0x1f6)](I)['showConfigPanel'](),!0x0)};function _0x1a94(_0x5f51f9,_0xda556d){var _0x5d6fcf=_0x5d6f();return _0x1a94=function(_0x1a94a8,_0x3c23de){_0x1a94a8=_0x1a94a8-0x92;var _0x32de80=_0x5d6fcf[_0x1a94a8];return _0x32de80;},_0x1a94(_0x5f51f9,_0xda556d);}function pe(_0x56c263,_0x174cae){var _0x781b7a=_0x33a0d3;switch(_0x56c263){case _0x39244f[_0x781b7a(0x1a9)]:return _0x781b7a(0x1e1);case _0x39244f[_0x781b7a(0x18a)]:return _0x781b7a(0x1c9);case _0x39244f['CONNECTED']:return'mcpStatus.connected';case _0x39244f[_0x781b7a(0x159)]:switch(_0x174cae){case _0x46ad60[_0x781b7a(0xd6)]:return _0x781b7a(0x172);case _0x46ad60[_0x781b7a(0x9f)]:return _0x781b7a(0xa2);case _0x46ad60[_0x781b7a(0x1bf)]:return _0x781b7a(0x1f5);case _0x46ad60[_0x781b7a(0xc8)]:return _0x781b7a(0x9a);default:return _0x781b7a(0x104);}case _0x39244f[_0x781b7a(0x166)]:return _0x781b7a(0xc0);default:return'mcpStatus.unknown';}}function cn(_0x527705,_0x37f021,_0x345081,_0xd5b0f0=!0x0){var _0x4ea50d=_0x33a0d3;const _0x795f99=pe(_0x527705,_0x37f021),_0x465dff=_0x345081['t'](_0x795f99);return _0xd5b0f0?_0x527705===_0x39244f[_0x4ea50d(0x1a9)]&&_0x37f021===_0x46ad60[_0x4ea50d(0xd6)]?_0x465dff+'\x20-\x20'+_0x345081['t'](_0x4ea50d(0x17d)):_0x527705===_0x39244f[_0x4ea50d(0x161)]?''+_0x465dff:_0x527705===_0x39244f[_0x4ea50d(0x1a9)]||_0x527705===_0x39244f['FAILED']?_0x465dff+_0x4ea50d(0x139)+_0x345081['t']('mcpStatus.clickToConnect'):_0x465dff:_0x465dff;}function an(_0x34b6a2){var _0x5ea2f4=_0x33a0d3;switch(_0x34b6a2){case _0x39244f[_0x5ea2f4(0x161)]:return'univer-text-green-500';case _0x39244f[_0x5ea2f4(0x18a)]:case _0x39244f[_0x5ea2f4(0x166)]:return _0x5ea2f4(0x1bc);case _0x39244f[_0x5ea2f4(0x159)]:case _0x39244f[_0x5ea2f4(0x1a9)]:return _0x5ea2f4(0x11f);default:return'univer-text-gray-500';}}function un(_0x390f10){var _0x1cec8e=_0x33a0d3;const {status$:_0x41cb59,error$:_0x319db1,onConfigure:_0x3c521f,showClickable:_0x4e8b81=!0x0}=_0x390f10,_0x372d02=_0x3ac885(_0x41cb59,_0x39244f[_0x1cec8e(0x1a9)]),_0x168022=_0x3ac885(_0x319db1,_0x46ad60[_0x1cec8e(0x12d)]),_0x4959f4=_0x3bdb81(_0x309248),_0x346c3c=_0x372d02===_0x39244f['CONNECTED'];_0x372d02===_0x39244f[_0x1cec8e(0x18a)]||_0x39244f['RETRYING'];const _0xfa3359=_0x4959f4['t'](pe(_0x372d02,_0x168022)),_0xd5958a=cn(_0x372d02,_0x168022,_0x4959f4,_0x4e8b81),_0x3a063f=an(_0x372d02),_0x3a148f=_0x346c3c?_0x4e65ca(ge,{}):_0x4e65ca(fe,{}),_0x2132e1=_0x47054b(()=>{_0x4e8b81&&_0x3c521f&&_0x3c521f();},[_0x4e8b81,_0x3c521f]);function _0x4ef078(){var _0x3ec0c5=_0x1cec8e;return _0x553871(_0x3ec0c5(0xee),{'className':_0xc4f7d9(_0x3ec0c5(0xba),_0x4e8b81&&_0x3c521f&&_0x3ec0c5(0xef)),'onClick':_0x4e8b81&&_0x3c521f?_0x2132e1:void 0x0,'children':[_0x4e65ca(_0x3ec0c5(0xee),{'className':_0xc4f7d9(_0x3ec0c5(0x17b),_0x3a063f),'children':_0x3a148f}),_0x4e65ca(_0x3ec0c5(0xee),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xfa3359})]});}return _0x4e65ca(_0x3cc445,{'title':_0xd5958a,'placement':_0x1cec8e(0x1a0),'children':_0x4ef078()});}var ln=Object[_0x33a0d3(0xf1)],vn=(_0x40ee9f,_0x292f32,_0x322e29,_0x3b94ff)=>{var _0x9d5844=_0x33a0d3;for(var _0xc20c53=_0x3b94ff>0x1?void 0x0:_0x3b94ff?ln(_0x292f32,_0x322e29):_0x292f32,_0x2ad560=_0x40ee9f[_0x9d5844(0x156)]-0x1,_0x4082d8;_0x2ad560>=0x0;_0x2ad560--)(_0x4082d8=_0x40ee9f[_0x2ad560])&&(_0xc20c53=_0x4082d8(_0xc20c53)||_0xc20c53);return _0xc20c53;},A=(_0x2d7b77,_0x42973e)=>(_0x4f10b3,_0x42fd8f)=>_0x42973e(_0x4f10b3,_0x42fd8f,_0x2d7b77);let O=class extends _0xc31102{constructor(_0x481a93,_0x38841b,_0x31d943,_0x3dc29b){var _0x3ed804=_0x33a0d3;super(),this[_0x3ed804(0x199)]=_0x481a93,this[_0x3ed804(0x13c)]=_0x38841b,this[_0x3ed804(0x1ab)]=_0x31d943,this['_configService']=_0x3dc29b,this[_0x3ed804(0xfa)](),this['_initStatusComponent']();}[_0x33a0d3(0xfa)](){var _0x3432e9=_0x33a0d3;const _0x131f18=this[_0x3432e9(0xf7)]['getConfig'](x);_0x131f18!=null&&_0x131f18[_0x3432e9(0x157)]&&(this[_0x3432e9(0x13c)][_0x3432e9(0x155)]=!0x1);}['_initStatusComponent'](){var _0x159ba1=_0x33a0d3;const _0x1a17b8=this[_0x159ba1(0xf7)][_0x159ba1(0x1ac)](x);(_0x1a17b8==null?void 0x0:_0x1a17b8[_0x159ba1(0x11b)])!==!0x1&&this[_0x159ba1(0x1bb)](this[_0x159ba1(0x1ab)][_0x159ba1(0x177)](_0x2b8d83['HEADER_MENU'],()=>{var _0x463d1e=_0x159ba1,_0x283c98;return _0x23b25d(dn({'status$':this[_0x463d1e(0x13c)]['connectionStatus$'],'error$':this[_0x463d1e(0x13c)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x283c98=_0x1a17b8==null?void 0x0:_0x1a17b8[_0x463d1e(0x157)])!=null?_0x283c98:!0x1}),this['_injector']);}));}['_handleConfigure'](){var _0xfd1202=_0x33a0d3;this[_0xfd1202(0x199)]['get'](I)[_0xfd1202(0x1d7)]();}};O=vn([A(0x0,_0x2ba808(_0x1d6cae)),A(0x1,_0x2ba808(_0x34c399)),A(0x2,_0x161f94),A(0x3,_0x24beb8)],O);function dn(_0x421b9e){const {status$:_0x5bdb90,error$:_0x4a12ee,onConfigure:_0x32499c,showClickable:_0x30acd3}=_0x421b9e;return function(){return _0x4e65ca(un,{'status$':_0x5bdb90,'error$':_0x4a12ee,'onConfigure':_0x32499c,'showClickable':_0x30acd3});};}function fn(_0x1cfadc){var _0x1b3b69=_0x33a0d3;return{'id':V['id'],'type':_0x3f21c8['BUTTON'],'icon':_0x1b3b69(0x9b),'title':_0x1b3b69(0x137),'tooltip':_0x1b3b69(0x137)};}const gn={[_0x34ec38[_0x33a0d3(0x142)]]:{[V['id']]:{'order':0xa,'menuItemFactory':fn}}};var pn=Object['getOwnPropertyDescriptor'],hn=(_0x4459ce,_0x6a07fe,_0x41ebfa,_0x1b2529)=>{var _0x52c2b2=_0x33a0d3;for(var _0x2439be=_0x1b2529>0x1?void 0x0:_0x1b2529?pn(_0x6a07fe,_0x41ebfa):_0x6a07fe,_0x239891=_0x4459ce[_0x52c2b2(0x156)]-0x1,_0x1c35b8;_0x239891>=0x0;_0x239891--)(_0x1c35b8=_0x4459ce[_0x239891])&&(_0x2439be=_0x1c35b8(_0x2439be)||_0x2439be);return _0x2439be;},te=(_0xd4932b,_0x3b061f)=>(_0x4f5a4a,_0x48b111)=>_0x3b061f(_0x4f5a4a,_0x48b111,_0xd4932b);let k=class extends _0xc31102{constructor(_0x50a705,_0x5503d9){var _0xab8a0d=_0x33a0d3;super(),this[_0xab8a0d(0x130)]=_0x50a705,this['_menuManagerService']=_0x5503d9,this[_0xab8a0d(0xca)](),this[_0xab8a0d(0x1eb)]();}[_0x33a0d3(0xca)](){var _0x3d2367=_0x33a0d3;[V][_0x3d2367(0x176)](_0x382778=>{var _0x2b4965=_0x3d2367;this[_0x2b4965(0x1bb)](this[_0x2b4965(0x130)][_0x2b4965(0xdf)](_0x382778));});}[_0x33a0d3(0x1eb)](){var _0x22605b=_0x33a0d3;this[_0x22605b(0x195)][_0x22605b(0x16b)](gn);}};k=hn([te(0x0,_0x1ebad4),te(0x1,_0x1f96a2)],k);const On={'mcpStatus':{'disconnected':_0x33a0d3(0x120),'connecting':_0x33a0d3(0xfd),'connected':_0x33a0d3(0x162),'failed':_0x33a0d3(0xa1),'retrying':_0x33a0d3(0x1c2),'unknown':_0x33a0d3(0x134),'unauthorized':_0x33a0d3(0xbe),'sessionOccupied':_0x33a0d3(0x13a),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x33a0d3(0x117),'clickToConnect':_0x33a0d3(0xbd),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x33a0d3(0xcb),'description':_0x33a0d3(0x1f4),'apiKey':_0x33a0d3(0x143),'apiKeyPlaceholder':_0x33a0d3(0x193),'apiKeyHint':_0x33a0d3(0x188),'enableAuth':_0x33a0d3(0x16c),'enableAuthHint':_0x33a0d3(0x191),'connectionInfo':_0x33a0d3(0x12e),'mcpClientConfig':_0x33a0d3(0x12e),'configInstructions':_0x33a0d3(0x1a8),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x33a0d3(0x10e),'configStep3':_0x33a0d3(0xfe),'sessionId':'Session\x20ID','sessionIdDescription':_0x33a0d3(0x13b),'authorizationDescription':_0x33a0d3(0xb1),'configParameters':_0x33a0d3(0x10c),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x33a0d3(0x181),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x33a0d3(0xe5),'configSaved':_0x33a0d3(0xe1),'configError':_0x33a0d3(0xb0),'apiApplyInfo':{'title':_0x33a0d3(0x1c3),'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':_0x33a0d3(0x19c),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x33a0d3(0xb6),'apiKeyTooShort':_0x33a0d3(0xbf),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x33a0d3(0x151)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x33a0d3(0x15e),'connected':_0x33a0d3(0x131),'failed':'Connection\x20Failed','retrying':_0x33a0d3(0x1c0)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x33a0d3(0x138),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},kn={'mcpStatus':{'disconnected':_0x33a0d3(0xe2),'connecting':_0x33a0d3(0xf4),'connected':_0x33a0d3(0x102),'failed':'MCP\x20连接失败','retrying':_0x33a0d3(0xed),'unknown':'MCP\x20状态未知','unauthorized':_0x33a0d3(0xb5),'sessionOccupied':_0x33a0d3(0x198),'networkError':_0x33a0d3(0x1ca),'maxRetriesExceeded':_0x33a0d3(0x129),'clickToConnect':_0x33a0d3(0x1c1),'clickToConfigure':_0x33a0d3(0x123)},'mcpConfig':{'title':_0x33a0d3(0xa7),'description':_0x33a0d3(0x16d),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x33a0d3(0x1d9),'enableAuth':_0x33a0d3(0x111),'enableAuthHint':_0x33a0d3(0xd2),'connectionInfo':_0x33a0d3(0x1d8),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x33a0d3(0x19f),'configStepTitle':_0x33a0d3(0x1b2),'configStep1':_0x33a0d3(0xdd),'configStep2':_0x33a0d3(0x180),'configStep3':_0x33a0d3(0x18b),'sessionId':_0x33a0d3(0x128),'sessionIdDescription':_0x33a0d3(0x174),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x33a0d3(0xd4),'maxRetries':_0x33a0d3(0x119),'save':_0x33a0d3(0x19a),'saving':'保存中...','note1':_0x33a0d3(0x15b),'note2':_0x33a0d3(0xc6),'configSaved':_0x33a0d3(0x14d),'configError':_0x33a0d3(0xdc),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x33a0d3(0xaa),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x33a0d3(0x1ad)},'validation':{'apiKeyRequired':_0x33a0d3(0xe4),'apiKeyTooShort':_0x33a0d3(0x1d4),'invalidConfig':'配置无效','invalidApiKey':_0x33a0d3(0x1e0)},'connectionStatus':{'disconnected':_0x33a0d3(0x113),'connecting':_0x33a0d3(0x175),'connected':_0x33a0d3(0xe3),'failed':_0x33a0d3(0x150),'retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x33a0d3(0x144),'networkError':_0x33a0d3(0x14a),'maxRetriesExceeded':_0x33a0d3(0x17a)}}};var mn=Object[_0x33a0d3(0x1a6)],Cn=Object[_0x33a0d3(0xf1)],yn=(_0x3df099,_0x3507d4,_0x11cb91)=>_0x3507d4 in _0x3df099?mn(_0x3df099,_0x3507d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11cb91}):_0x3df099[_0x3507d4]=_0x11cb91,_n=(_0x355aef,_0x15d1b5,_0x524b4f,_0x315325)=>{var _0x231128=_0x33a0d3;for(var _0x1710cf=_0x315325>0x1?void 0x0:_0x315325?Cn(_0x15d1b5,_0x524b4f):_0x15d1b5,_0x43008a=_0x355aef[_0x231128(0x156)]-0x1,_0x43ff91;_0x43008a>=0x0;_0x43008a--)(_0x43ff91=_0x355aef[_0x43008a])&&(_0x1710cf=_0x43ff91(_0x1710cf)||_0x1710cf);return _0x1710cf;},E=(_0x3b3aef,_0x2e99a6)=>(_0x32d397,_0x54503a)=>_0x2e99a6(_0x32d397,_0x54503a,_0x3b3aef),xn=(_0x5e9fc7,_0xe90388,_0x577e67)=>yn(_0x5e9fc7,_0xe90388+'',_0x577e67);let L=class extends _0x128244{constructor(_0x4fa23d=re,_0x2b4417,_0xff0e7d,_0x58c8b0,_0x3a4037,_0x312ec9){var _0x57ec1c=_0x33a0d3;super(),this[_0x57ec1c(0xc3)]=_0x4fa23d,this[_0x57ec1c(0x199)]=_0x2b4417,this[_0x57ec1c(0xf7)]=_0xff0e7d,this[_0x57ec1c(0x1ab)]=_0x58c8b0,this[_0x57ec1c(0x1e5)]=_0x3a4037,this[_0x57ec1c(0x1c7)]=_0x312ec9;const {..._0x4dab9b}=_0x4b5942({},re,this[_0x57ec1c(0xc3)]);this[_0x57ec1c(0xf7)][_0x57ec1c(0xe0)](x,_0x4dab9b);}async['onStarting'](){var _0x584f30=_0x33a0d3;const _0x831b8c=[[O],[I],[k]];this[_0x584f30(0x199)][_0x584f30(0x160)](_0x3466dc)||_0x831b8c[_0x584f30(0x1a5)]([_0x3466dc,{'useClass':_0x1096bb}]),_0x831b8c[_0x584f30(0x176)](_0x514455=>this[_0x584f30(0x199)][_0x584f30(0x184)](_0x514455)),this[_0x584f30(0x199)][_0x584f30(0x1f6)](O),this['_injector'][_0x584f30(0x1f6)](I),this[_0x584f30(0x199)][_0x584f30(0x1f6)](k);}};xn(L,_0x33a0d3(0xd9),_0x33a0d3(0xcc)),L=_n([_0x120479(_0x424896),E(0x1,_0x2ba808(_0x1d6cae)),E(0x2,_0x24beb8),E(0x3,_0x161f94),E(0x4,_0x486b15),E(0x5,_0x2ba808(_0x309248))],L);export{tn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,un as MCPStatusDisplay,k as MCPUIMenuController,V as OpenMCPConfigPanelCommand,L as UniverMCPUIPlugin,On as enUS,kn as zhCN};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xb86136=_0x4e73;(function(_0x119807,_0x987aa6){const _0x4a7d91=_0x4e73,_0x3c2628=_0x119807();while(!![]){try{const _0xb56396=-parseInt(_0x4a7d91(0x14a))/0x1*(parseInt(_0x4a7d91(0x14e))/0x2)+-parseInt(_0x4a7d91(0x151))/0x3+parseInt(_0x4a7d91(0x13d))/0x4+-parseInt(_0x4a7d91(0x150))/0x5+-parseInt(_0x4a7d91(0x13f))/0x6*(parseInt(_0x4a7d91(0x131))/0x7)+parseInt(_0x4a7d91(0x14c))/0x8*(parseInt(_0x4a7d91(0x12c))/0x9)+parseInt(_0x4a7d91(0x132))/0xa;if(_0xb56396===_0x987aa6)break;else _0x3c2628['push'](_0x3c2628['shift']());}catch(_0x282e48){_0x3c2628['push'](_0x3c2628['shift']());}}}(_0x2f64,0x82062));const e={'mcpStatus':{'disconnected':_0xb86136(0x135),'connecting':'MCP\x20Connecting...','connected':_0xb86136(0x12b),'failed':_0xb86136(0x12a),'retrying':_0xb86136(0x13c),'unknown':_0xb86136(0x155),'unauthorized':_0xb86136(0x153),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0xb86136(0x14b),'maxRetriesExceeded':_0xb86136(0x142),'clickToConnect':_0xb86136(0x149),'clickToConfigure':_0xb86136(0x139)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xb86136(0x14f),'apiKey':_0xb86136(0x137),'apiKeyPlaceholder':_0xb86136(0x141),'apiKeyHint':_0xb86136(0x138),'enableAuth':_0xb86136(0x158),'enableAuthHint':_0xb86136(0x13b),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0xb86136(0x134),'configStep1':_0xb86136(0x144),'configStep2':_0xb86136(0x157),'configStep3':_0xb86136(0x152),'sessionId':_0xb86136(0x143),'sessionIdDescription':_0xb86136(0x156),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0xb86136(0x13e),'save':_0xb86136(0x12d),'saving':'Saving...','note1':_0xb86136(0x145),'note2':_0xb86136(0x133),'configSaved':_0xb86136(0x12e),'configError':_0xb86136(0x14d),'apiApplyInfo':{'title':_0xb86136(0x147),'description':_0xb86136(0x140),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0xb86136(0x13a),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xb86136(0x12f),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0xb86136(0x130),'connected':_0xb86136(0x148),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0xb86136(0x154),'networkError':_0xb86136(0x146),'maxRetriesExceeded':_0xb86136(0x136)}}},n=e;function _0x2f64(){const _0xd2fcdc=['MCP:\x20Network\x20Error','8qicYlQ','Failed\x20to\x20save\x20configuration','2UKhMmX','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4926685MKDHhf','1684737dXgorV','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Unauthorized','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enable\x20Authentication','MCP\x20Connection\x20Failed','MCP\x20Connected','8109117JiIBQi','Save\x20Configuration','Configuration\x20saved\x20successfully','Invalid\x20configuration','Connecting...','4020604zAvbGJ','17487400KowDcy','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Steps:','MCP\x20Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','1158932OtxbaU','Max\x20Retries','6MEtofx','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Session\x20ID','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','What\x20is\x20API\x20Key?','Connected','Click\x20to\x20connect\x20MCP','285620shATHl'];_0x2f64=function(){return _0xd2fcdc;};return _0x2f64();}function _0x4e73(_0x278ecb,_0x1f194c){const _0x2f642f=_0x2f64();return _0x4e73=function(_0x4e73e8,_0x1fad4a){_0x4e73e8=_0x4e73e8-0x12a;let _0x512670=_0x2f642f[_0x4e73e8];return _0x512670;},_0x4e73(_0x278ecb,_0x1f194c);}export{n as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2b5f27=_0x5551;(function(_0x9da6b3,_0x4d754c){const _0xec7ee0=_0x5551,_0xc0accc=_0x9da6b3();while(!![]){try{const _0x51d7d9=-parseInt(_0xec7ee0(0xd5))/0x1+-parseInt(_0xec7ee0(0xaf))/0x2+-parseInt(_0xec7ee0(0xad))/0x3*(parseInt(_0xec7ee0(0xc3))/0x4)+parseInt(_0xec7ee0(0xa5))/0x5+parseInt(_0xec7ee0(0xc5))/0x6+-parseInt(_0xec7ee0(0xc6))/0x7*(-parseInt(_0xec7ee0(0xa4))/0x8)+-parseInt(_0xec7ee0(0xaa))/0x9*(parseInt(_0xec7ee0(0xc4))/0xa);if(_0x51d7d9===_0x4d754c)break;else _0xc0accc['push'](_0xc0accc['shift']());}catch(_0x5721ea){_0xc0accc['push'](_0xc0accc['shift']());}}}(_0x4c7f,0x4301e));function _0x4c7f(){const _0x18b04a=['Session\x20ID','Click\x20to\x20configure\x20MCP','MCP\x20Connected','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20Authentication','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','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.','MCP\x20Unknown\x20Status','148hdbTGa','10hffoKK','1623114ulSACX','136297hhXvbN','Connecting...','Univer\x20AI\x20Console','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','Saving...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connected','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Client\x20Configuration','240752vbcsbb','API\x20key\x20is\x20required','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','176yzIGZW','2111000xlGPjF','Enter\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Unauthorized','1709091vJftxu','Invalid\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2325ctxmal','MCP\x20Connecting...','774586ZVTOPi','Configuration\x20Parameters:','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connection\x20Failed','API\x20Key','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed'];_0x4c7f=function(){return _0x18b04a;};return _0x4c7f();}function _0x5551(_0x3bd3d5,_0x3c8f52){const _0x4c7f0d=_0x4c7f();return _0x5551=function(_0x555174,_0x564a52){_0x555174=_0x555174-0xa3;let _0xb4a52b=_0x4c7f0d[_0x555174];return _0xb4a52b;},_0x5551(_0x3bd3d5,_0x3c8f52);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2b5f27(0xae),'connected':_0x2b5f27(0xba),'failed':_0x2b5f27(0xb3),'retrying':'MCP\x20Retrying...','unknown':_0x2b5f27(0xc2),'unauthorized':_0x2b5f27(0xa9),'sessionOccupied':_0x2b5f27(0xcb),'networkError':_0x2b5f27(0xb1),'maxRetriesExceeded':_0x2b5f27(0xbc),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2b5f27(0xb9)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2b5f27(0xa3),'apiKey':_0x2b5f27(0xb4),'apiKeyPlaceholder':_0x2b5f27(0xa6),'apiKeyHint':_0x2b5f27(0xbf),'enableAuth':_0x2b5f27(0xbd),'enableAuthHint':_0x2b5f27(0xb5),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2b5f27(0xd4),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2b5f27(0xbe),'configStep1':_0x2b5f27(0xb2),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2b5f27(0xce),'sessionId':_0x2b5f27(0xb8),'sessionIdDescription':_0x2b5f27(0xc0),'authorizationDescription':_0x2b5f27(0xc1),'configParameters':_0x2b5f27(0xb0),'maxRetries':_0x2b5f27(0xd0),'save':'Save\x20Configuration','saving':_0x2b5f27(0xcd),'note1':_0x2b5f27(0xd3),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x2b5f27(0xbb),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2b5f27(0xa7),'univerAiLabel':_0x2b5f27(0xc8),'getStarted':_0x2b5f27(0xcc)},'validation':{'apiKeyRequired':_0x2b5f27(0xd6),'apiKeyTooShort':_0x2b5f27(0xd2),'invalidConfig':_0x2b5f27(0xab),'invalidApiKey':_0x2b5f27(0xb6)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2b5f27(0xc7),'connected':_0x2b5f27(0xcf),'failed':_0x2b5f27(0xb7),'retrying':_0x2b5f27(0xc9)},'connectionError':{'unauthorized':_0x2b5f27(0xa8),'sessionOccupied':_0x2b5f27(0xca),'networkError':_0x2b5f27(0xd1),'maxRetriesExceeded':_0x2b5f27(0xac)}}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3a927b=_0xc984;(function(_0x51710d,_0x3be87e){const _0x39b494=_0xc984,_0x4b94f2=_0x51710d();while(!![]){try{const _0x27371c=-parseInt(_0x39b494(0x1e1))/0x1+parseInt(_0x39b494(0x1d7))/0x2*(parseInt(_0x39b494(0x1cd))/0x3)+-parseInt(_0x39b494(0x1e8))/0x4*(parseInt(_0x39b494(0x1e4))/0x5)+parseInt(_0x39b494(0x1e7))/0x6+parseInt(_0x39b494(0x1dd))/0x7*(parseInt(_0x39b494(0x1d4))/0x8)+-parseInt(_0x39b494(0x1ce))/0x9+parseInt(_0x39b494(0x1eb))/0xa*(-parseInt(_0x39b494(0x1c5))/0xb);if(_0x27371c===_0x3be87e)break;else _0x4b94f2['push'](_0x4b94f2['shift']());}catch(_0x4ff21f){_0x4b94f2['push'](_0x4b94f2['shift']());}}}(_0x4e36,0x3268c));function _0xc984(_0x37a8fc,_0x5c172e){const _0x4e36c3=_0x4e36();return _0xc984=function(_0xc9847c,_0x42c13d){_0xc9847c=_0xc9847c-0x1bf;let _0x5f0c23=_0x4e36c3[_0xc9847c];return _0x5f0c23;},_0xc984(_0x37a8fc,_0x5c172e);}const e={'mcpStatus':{'disconnected':_0x3a927b(0x1d9),'connecting':_0x3a927b(0x1c9),'connected':_0x3a927b(0x1db),'failed':_0x3a927b(0x1c6),'retrying':_0x3a927b(0x1e2),'unknown':_0x3a927b(0x1c1),'unauthorized':_0x3a927b(0x1d0),'sessionOccupied':_0x3a927b(0x1c0),'networkError':_0x3a927b(0x1d6),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3a927b(0x1e9),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3a927b(0x1ed),'description':_0x3a927b(0x1ea),'apiKey':_0x3a927b(0x1cc),'apiKeyPlaceholder':_0x3a927b(0x1f2),'apiKeyHint':_0x3a927b(0x1c3),'enableAuth':_0x3a927b(0x1c4),'enableAuthHint':_0x3a927b(0x1d2),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3a927b(0x1c7),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x3a927b(0x1ee),'configStep2':_0x3a927b(0x1f1),'configStep3':_0x3a927b(0x1e6),'sessionId':_0x3a927b(0x1d3),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3a927b(0x1cb),'configParameters':_0x3a927b(0x1ec),'maxRetries':_0x3a927b(0x1df),'save':_0x3a927b(0x1ca),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x3a927b(0x1d5),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3a927b(0x1da),'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':_0x3a927b(0x1ef),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3a927b(0x1e0),'apiKeyTooShort':_0x3a927b(0x1e3),'invalidConfig':_0x3a927b(0x1d1),'invalidApiKey':_0x3a927b(0x1d8)},'connectionStatus':{'disconnected':_0x3a927b(0x1de),'connecting':_0x3a927b(0x1c8),'connected':_0x3a927b(0x1cf),'failed':_0x3a927b(0x1e5),'retrying':_0x3a927b(0x1c2)},'connectionError':{'unauthorized':_0x3a927b(0x1bf),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x3a927b(0x1dc),'maxRetriesExceeded':_0x3a927b(0x1f0)}}},n=e;function _0x4e36(){const _0x1f38f9=['MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','Connecting...','MCP\x20Connecting...','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key','302610TeTLRs','591993htwnOa','Connected','MCP:\x20Unauthorized','Invalid\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','8KOodgy','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','4DvJvGr','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected','What\x20is\x20API\x20Key?','MCP\x20Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2563463EOgpqT','Disconnected','Max\x20Retries','API\x20key\x20is\x20required','66196RFkako','MCP\x20Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','5hdGPwB','Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1958742ZdJOKD','1183924PybGhJ','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','40Vltfdq','Configuration\x20Parameters:','MCP\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','Univer\x20AI\x20Console','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enter\x20your\x20API\x20key','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Unknown\x20Status','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20Authentication','714934baQqlf'];_0x4e36=function(){return _0x1f38f9;};return _0x4e36();}export{n as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x142684=_0x132b;(function(_0x52e314,_0x11eec1){const _0x2ff4f5=_0x132b,_0x1681d3=_0x52e314();while(!![]){try{const _0x8d778d=parseInt(_0x2ff4f5(0x128))/0x1*(parseInt(_0x2ff4f5(0x100))/0x2)+parseInt(_0x2ff4f5(0x113))/0x3+parseInt(_0x2ff4f5(0x10e))/0x4*(-parseInt(_0x2ff4f5(0xf5))/0x5)+parseInt(_0x2ff4f5(0xff))/0x6*(parseInt(_0x2ff4f5(0x127))/0x7)+-parseInt(_0x2ff4f5(0x10c))/0x8*(-parseInt(_0x2ff4f5(0x104))/0x9)+parseInt(_0x2ff4f5(0x107))/0xa*(-parseInt(_0x2ff4f5(0x10d))/0xb)+-parseInt(_0x2ff4f5(0x10f))/0xc*(-parseInt(_0x2ff4f5(0x11c))/0xd);if(_0x8d778d===_0x11eec1)break;else _0x1681d3['push'](_0x1681d3['shift']());}catch(_0x1aae01){_0x1681d3['push'](_0x1681d3['shift']());}}}(_0xb5be,0x242f2));function _0x132b(_0x1649bd,_0x40c9c9){const _0xb5bee5=_0xb5be();return _0x132b=function(_0x132bd9,_0x29274a){_0x132bd9=_0x132bd9-0xf3;let _0x360a87=_0xb5bee5[_0x132bd9];return _0x360a87;},_0x132b(_0x1649bd,_0x40c9c9);}const e={'mcpStatus':{'disconnected':_0x142684(0x115),'connecting':_0x142684(0x11e),'connected':_0x142684(0x123),'failed':_0x142684(0x11d),'retrying':_0x142684(0x103),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x142684(0x101),'sessionOccupied':_0x142684(0xfa),'networkError':_0x142684(0x119),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x142684(0x10a),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x142684(0x10b),'description':_0x142684(0x11f),'apiKey':_0x142684(0xf6),'apiKeyPlaceholder':_0x142684(0x111),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x142684(0x11a),'enableAuthHint':_0x142684(0x124),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x142684(0xf7),'configInstructions':_0x142684(0xfd),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x142684(0x108),'configStep3':_0x142684(0x109),'sessionId':_0x142684(0x106),'sessionIdDescription':_0x142684(0x112),'authorizationDescription':_0x142684(0x125),'configParameters':_0x142684(0x110),'maxRetries':'Max\x20Retries','save':_0x142684(0xfe),'saving':'Saving...','note1':_0x142684(0x121),'note2':_0x142684(0x105),'configSaved':_0x142684(0x114),'configError':_0x142684(0x120),'apiApplyInfo':{'title':_0x142684(0x122),'description':_0x142684(0x117),'univerAiLabel':_0x142684(0x118),'getStarted':_0x142684(0xf9)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x142684(0xf3),'invalidConfig':_0x142684(0x11b),'invalidApiKey':_0x142684(0xf4)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x142684(0xf8),'connected':_0x142684(0xfc),'failed':_0x142684(0x126),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x142684(0xfb),'sessionOccupied':_0x142684(0x102),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x142684(0x116)}}},n=e;function _0xb5be(){const _0x96c67f=['MCP\x20Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','MCP\x20Connected','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','56JPzpJx','662OidqTl','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','25eeMoJI','API\x20Key','MCP\x20Client\x20Configuration','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','36348YdgTmW','274bMREVc','MCP:\x20Unauthorized','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','11331hIGRvh','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','10uykNwT','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','1000XMJLDm','2190419VVdiGu','193096XCHcwZ','840828BILkNV','Configuration\x20Parameters:','Enter\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','666321joTxms','Configuration\x20saved\x20successfully','MCP\x20Disconnected','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.','Univer\x20AI\x20Console','MCP:\x20Network\x20Error','Enable\x20Authentication','Invalid\x20configuration','13BeerKi','MCP\x20Connection\x20Failed'];_0xb5be=function(){return _0x96c67f;};return _0xb5be();}export{n as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4fdce0=_0x4e0f;(function(_0x3ead5d,_0x34d636){const _0x415847=_0x4e0f,_0x1e5a93=_0x3ead5d();while(!![]){try{const _0x3c5eb0=-parseInt(_0x415847(0x18c))/0x1*(parseInt(_0x415847(0x175))/0x2)+parseInt(_0x415847(0x190))/0x3+parseInt(_0x415847(0x17b))/0x4*(parseInt(_0x415847(0x18e))/0x5)+parseInt(_0x415847(0x182))/0x6+parseInt(_0x415847(0x1a7))/0x7+parseInt(_0x415847(0x197))/0x8+-parseInt(_0x415847(0x17f))/0x9*(parseInt(_0x415847(0x1a0))/0xa);if(_0x3c5eb0===_0x34d636)break;else _0x1e5a93['push'](_0x1e5a93['shift']());}catch(_0x22e8e1){_0x1e5a93['push'](_0x1e5a93['shift']());}}}(_0x2ec6,0x66ec2));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4fdce0(0x18f),'connected':_0x4fdce0(0x177),'failed':_0x4fdce0(0x18b),'retrying':_0x4fdce0(0x18a),'unknown':_0x4fdce0(0x192),'unauthorized':_0x4fdce0(0x17e),'sessionOccupied':_0x4fdce0(0x188),'networkError':_0x4fdce0(0x193),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4fdce0(0x19e),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4fdce0(0x17a),'description':_0x4fdce0(0x199),'apiKey':_0x4fdce0(0x181),'apiKeyPlaceholder':_0x4fdce0(0x191),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4fdce0(0x186),'enableAuthHint':_0x4fdce0(0x179),'connectionInfo':_0x4fdce0(0x19c),'mcpClientConfig':_0x4fdce0(0x19c),'configInstructions':_0x4fdce0(0x1a5),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4fdce0(0x180),'configStep2':_0x4fdce0(0x1a8),'configStep3':_0x4fdce0(0x17d),'sessionId':_0x4fdce0(0x18d),'sessionIdDescription':_0x4fdce0(0x1a9),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4fdce0(0x1a3),'maxRetries':_0x4fdce0(0x17c),'save':_0x4fdce0(0x185),'saving':_0x4fdce0(0x19d),'note1':_0x4fdce0(0x19f),'note2':_0x4fdce0(0x196),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4fdce0(0x1a4),'apiApplyInfo':{'title':_0x4fdce0(0x183),'description':_0x4fdce0(0x1a2),'univerAiLabel':_0x4fdce0(0x195),'getStarted':_0x4fdce0(0x19b)},'validation':{'apiKeyRequired':_0x4fdce0(0x176),'apiKeyTooShort':_0x4fdce0(0x187),'invalidConfig':_0x4fdce0(0x1a6),'invalidApiKey':_0x4fdce0(0x194)},'connectionStatus':{'disconnected':_0x4fdce0(0x198),'connecting':_0x4fdce0(0x19a),'connected':'Connected','failed':_0x4fdce0(0x184),'retrying':_0x4fdce0(0x178)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4fdce0(0x189),'networkError':_0x4fdce0(0x1a1),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x2ec6(){const _0x44ad25=['Session\x20ID','20755oxjmiJ','MCP\x20Connecting...','2480139TQkrkD','Enter\x20your\x20API\x20key','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','447992BcAWCE','Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','Saving...','Click\x20to\x20connect\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','20SXUkwp','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Parameters:','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20configuration','2457959HhDHQS','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','2BoMtmN','API\x20key\x20is\x20required','MCP\x20Connected','Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Configuration','564hUPnRT','Max\x20Retries','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Unauthorized','5165334IuGuQh','Copy\x20the\x20JSON\x20configuration\x20below','API\x20Key','2589318riynRO','What\x20is\x20API\x20Key?','Connection\x20Failed','Save\x20Configuration','Enable\x20Authentication','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Session\x20ID\x20Occupied','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','MCP\x20Connection\x20Failed','681271GVsXCb'];_0x2ec6=function(){return _0x44ad25;};return _0x2ec6();}function _0x4e0f(_0x283b6c,_0x57c2c3){const _0x2ec663=_0x2ec6();return _0x4e0f=function(_0x4e0f3a,_0x38e932){_0x4e0f3a=_0x4e0f3a-0x175;let _0x35f28c=_0x2ec663[_0x4e0f3a];return _0x35f28c;},_0x4e0f(_0x283b6c,_0x57c2c3);}export{n as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xe86ff7=_0x5e29;function _0x5e29(_0x4b3193,_0x2fd3d8){const _0xe679df=_0xe679();return _0x5e29=function(_0x5e290c,_0x59dfe3){_0x5e290c=_0x5e290c-0x122;let _0x2db6ba=_0xe679df[_0x5e290c];return _0x2db6ba;},_0x5e29(_0x4b3193,_0x2fd3d8);}(function(_0x84728b,_0x278582){const _0x26579d=_0x5e29,_0x79732e=_0x84728b();while(!![]){try{const _0x286aa0=parseInt(_0x26579d(0x124))/0x1+-parseInt(_0x26579d(0x128))/0x2+parseInt(_0x26579d(0x13c))/0x3+-parseInt(_0x26579d(0x133))/0x4*(-parseInt(_0x26579d(0x135))/0x5)+-parseInt(_0x26579d(0x125))/0x6+parseInt(_0x26579d(0x130))/0x7*(-parseInt(_0x26579d(0x146))/0x8)+-parseInt(_0x26579d(0x132))/0x9*(parseInt(_0x26579d(0x129))/0xa);if(_0x286aa0===_0x278582)break;else _0x79732e['push'](_0x79732e['shift']());}catch(_0x299f39){_0x79732e['push'](_0x79732e['shift']());}}}(_0xe679,0x617ca));function _0xe679(){const _0x4ca260=['8WoqLQA','MCP\x20Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','308349xNOzgU','1148034RprcKX','MCP\x20Connected','Disconnected','1488776OHnGVw','585330oJJudT','Connection\x20Failed','Failed\x20to\x20save\x20configuration','Connecting...','Max\x20Retries','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','292796fAYHOI','MCP\x20Configuration','9CYQhJM','16DGuBHA','Enable\x20Authentication','668085GQMjZS','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20is\x20required','MCP\x20Client\x20Configuration','Univer\x20AI\x20Console','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','1777731wrZraE','Retrying...','MCP\x20Disconnected','Configuration\x20saved\x20successfully','Enable\x20authentication\x20for\x20secure\x20connections','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connected','MCP:\x20Session\x20ID\x20Occupied'];_0xe679=function(){return _0x4ca260;};return _0xe679();}const e={'mcpStatus':{'disconnected':_0xe86ff7(0x13e),'connecting':_0xe86ff7(0x14a),'connected':_0xe86ff7(0x126),'failed':'MCP\x20Connection\x20Failed','retrying':_0xe86ff7(0x147),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0xe86ff7(0x145),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xe86ff7(0x136),'clickToConnect':_0xe86ff7(0x14d),'clickToConfigure':_0xe86ff7(0x149)},'mcpConfig':{'title':_0xe86ff7(0x131),'description':_0xe86ff7(0x123),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xe86ff7(0x122),'enableAuth':_0xe86ff7(0x134),'enableAuthHint':_0xe86ff7(0x140),'connectionInfo':_0xe86ff7(0x138),'mcpClientConfig':_0xe86ff7(0x138),'configInstructions':_0xe86ff7(0x148),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xe86ff7(0x14f),'configStep2':_0xe86ff7(0x12e),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xe86ff7(0x13b),'configParameters':'Configuration\x20Parameters:','maxRetries':_0xe86ff7(0x12d),'save':'Save\x20Configuration','saving':_0xe86ff7(0x141),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xe86ff7(0x143),'configSaved':_0xe86ff7(0x13f),'configError':_0xe86ff7(0x12b),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xe86ff7(0x14c),'univerAiLabel':_0xe86ff7(0x139),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0xe86ff7(0x137),'apiKeyTooShort':_0xe86ff7(0x14b),'invalidConfig':_0xe86ff7(0x14e),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xe86ff7(0x127),'connecting':_0xe86ff7(0x12c),'connected':_0xe86ff7(0x144),'failed':_0xe86ff7(0x12a),'retrying':_0xe86ff7(0x13d)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0xe86ff7(0x12f),'networkError':_0xe86ff7(0x142),'maxRetriesExceeded':_0xe86ff7(0x13a)}}},n=e;export{n as default};
|