@univerjs-pro/mcp-ui 0.15.3 → 0.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -0
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -0
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -0
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/locale/sk-SK.d.ts +3 -0
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/sk-SK.js +1 -0
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +8 -8
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xfd1766=_0x4d02;(function(_0x12a988,_0x829b95){const _0x4e9a67=_0x4d02,_0x2be2ea=_0x12a988();while(!![]){try{const _0x5514c1=parseInt(_0x4e9a67(0x134))/0x1*(parseInt(_0x4e9a67(0x272))/0x2)+parseInt(_0x4e9a67(0x208))/0x3+parseInt(_0x4e9a67(0x1f3))/0x4+-parseInt(_0x4e9a67(0x1ff))/0x5*(parseInt(_0x4e9a67(0x1ba))/0x6)+parseInt(_0x4e9a67(0x250))/0x7*(-parseInt(_0x4e9a67(0x1cf))/0x8)+parseInt(_0x4e9a67(0x1b7))/0x9+parseInt(_0x4e9a67(0x25e))/0xa*(parseInt(_0x4e9a67(0x20e))/0xb);if(_0x5514c1===_0x829b95)break;else _0x2be2ea['push'](_0x2be2ea['shift']());}catch(_0x31ac9f){_0x2be2ea['push'](_0x2be2ea['shift']());}}}(_0x3dad,0x59611));var ae=Object[_0xfd1766(0x246)],le=(_0x35baab,_0x3de6c1,_0xf487c8)=>_0x3de6c1 in _0x35baab?ae(_0x35baab,_0x3de6c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf487c8}):_0x35baab[_0x3de6c1]=_0xf487c8,I=(_0x4fb589,_0x1eb6c8,_0xefecc7)=>le(_0x4fb589,typeof _0x1eb6c8!=_0xfd1766(0x266)?_0x1eb6c8+'':_0x1eb6c8,_0xefecc7);Object['defineProperty'](exports,Symbol[_0xfd1766(0x1e9)],{'value':_0xfd1766(0x116)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x3693a5,..._0x37f3e2}){const _0x567869=_0xfd1766,{icon:_0x5af8ff,id:_0x11ca82,className:_0x326815,extend:_0x113c0d,..._0x57139f}=_0x37f3e2,_0x3a09c0=(_0x567869(0x133)+_0x11ca82+'\x20'+(_0x326815||''))[_0x567869(0x1f0)](),_0x390d85=d['useRef']('_'+de());return G(_0x5af8ff,''+_0x11ca82,{'defIds':_0x5af8ff[_0x567869(0x13e)],'idSuffix':_0x390d85[_0x567869(0x219)]},{'ref':_0x3693a5,'className':_0x3a09c0,..._0x57139f},_0x113c0d);}function G(_0x3b61c1,_0x11a3b6,_0x158712,_0x29c4ef,_0x2ad982){const _0x3ac139=_0xfd1766;return d[_0x3ac139(0x21e)](_0x3b61c1['tag'],{'key':_0x11a3b6,...ue(_0x3b61c1,_0x158712,_0x2ad982),..._0x29c4ef},(ve(_0x3b61c1,_0x158712)[_0x3ac139(0x233)]||[])[_0x3ac139(0x1c7)]((_0x362b30,_0x1d3402)=>G(_0x362b30,_0x11a3b6+'-'+_0x3b61c1[_0x3ac139(0x11a)]+'-'+_0x1d3402,_0x158712,void 0x0,_0x2ad982)));}function ue(_0x39fe3f,_0x2349be,_0x236800){const _0xd515fc=_0xfd1766,_0x9bb161={..._0x39fe3f[_0xd515fc(0x23b)]};_0x236800!=null&&_0x236800[_0xd515fc(0x12a)]&&_0x9bb161[_0xd515fc(0x1e8)]===_0xd515fc(0x12a)&&(_0x9bb161[_0xd515fc(0x1e8)]=_0x236800[_0xd515fc(0x12a)]),_0x39fe3f[_0xd515fc(0x11a)]===_0xd515fc(0x1a4)&&_0x9bb161['id']&&(_0x9bb161['id']=_0x9bb161['id']+_0x2349be[_0xd515fc(0x258)]),Object[_0xd515fc(0x161)](_0x9bb161)[_0xd515fc(0x1a0)](([_0xd29905,_0x2c108a])=>{const _0x2927b6=_0xd515fc;_0xd29905==='mask'&&typeof _0x2c108a==_0x2927b6(0x1b9)&&(_0x9bb161[_0xd29905]=_0x2c108a[_0x2927b6(0x156)](/url\(#(.*)\)/,_0x2927b6(0x256)+_0x2349be[_0x2927b6(0x258)]+')'));});const {defIds:_0x2db918}=_0x2349be;return!_0x2db918||_0x2db918[_0xd515fc(0x1d2)]===0x0||(_0x39fe3f[_0xd515fc(0x11a)]==='use'&&_0x9bb161[_0xd515fc(0x251)]&&(_0x9bb161[_0xd515fc(0x251)]=_0x9bb161['xlink:href']+_0x2349be[_0xd515fc(0x258)]),Object['entries'](_0x9bb161)[_0xd515fc(0x1a0)](([_0x3e0c20,_0x405308])=>{const _0x5525d8=_0xd515fc;typeof _0x405308=='string'&&(_0x9bb161[_0x3e0c20]=_0x405308[_0x5525d8(0x156)](/url\(#(.*)\)/,_0x5525d8(0x256)+_0x2349be['idSuffix']+')'));})),_0x9bb161;}function ve(_0x1639bb,_0x28e7ea){const _0x481233=_0xfd1766;var _0x381f16;const {defIds:_0x2db33b}=_0x28e7ea;return!_0x2db33b||_0x2db33b[_0x481233(0x1d2)]===0x0?_0x1639bb:_0x1639bb[_0x481233(0x11a)]===_0x481233(0x226)&&((_0x381f16=_0x1639bb[_0x481233(0x233)])!=null&&_0x381f16['length'])?{..._0x1639bb,'children':_0x1639bb[_0x481233(0x233)][_0x481233(0x1c7)](_0x4c0a3b=>typeof _0x4c0a3b[_0x481233(0x23b)]['id']=='string'&&_0x2db33b&&_0x2db33b[_0x481233(0x1a8)](_0x4c0a3b[_0x481233(0x23b)]['id'])?{..._0x4c0a3b,'attrs':{..._0x4c0a3b[_0x481233(0x23b)],'id':_0x4c0a3b[_0x481233(0x23b)]['id']+_0x28e7ea[_0x481233(0x258)]}}:_0x4c0a3b)}:_0x1639bb;}function de(){const _0x3f825c=_0xfd1766;return Math[_0x3f825c(0x1d7)]()['toString'](0x24)[_0x3f825c(0x158)](0x2,0x8);}_[_0xfd1766(0x257)]=_0xfd1766(0x189);const Ce={'tag':_0xfd1766(0x20f),'attrs':{'xmlns':_0xfd1766(0x170),'fill':_0xfd1766(0x1a3),'viewBox':'0\x200\x2016\x2016','width':_0xfd1766(0x1d3),'height':'1em'},'children':[{'tag':_0xfd1766(0x180),'attrs':{'fill':_0xfd1766(0x1ec),'d':_0xfd1766(0x124),'fillRule':'evenodd','clipRule':'evenodd'}}]},H=d[_0xfd1766(0x1ef)](function(_0x1c6037,_0x4b2fd4){const _0xb47d24=_0xfd1766;return d['createElement'](_,Object['assign']({},_0x1c6037,{'id':_0xb47d24(0x181),'ref':_0x4b2fd4,'icon':Ce}));});H[_0xfd1766(0x257)]=_0xfd1766(0x26b);const ge={'tag':_0xfd1766(0x20f),'attrs':{'xmlns':_0xfd1766(0x170),'fill':_0xfd1766(0x1a3),'viewBox':_0xfd1766(0x15d),'width':_0xfd1766(0x1d3),'height':_0xfd1766(0x1d3)},'children':[{'tag':_0xfd1766(0x180),'attrs':{'fill':_0xfd1766(0x1ec),'d':_0xfd1766(0x276)}}]},B=d[_0xfd1766(0x1ef)](function(_0x3a47c8,_0x38642a){const _0x532e02=_0xfd1766;return d[_0x532e02(0x21e)](_,Object['assign']({},_0x3a47c8,{'id':_0x532e02(0x1b1),'ref':_0x38642a,'icon':ge}));});B['displayName']=_0xfd1766(0x260);const fe={'tag':_0xfd1766(0x20f),'attrs':{'xmlns':_0xfd1766(0x170),'fill':_0xfd1766(0x1a3),'viewBox':_0xfd1766(0x15d),'width':'1em','height':_0xfd1766(0x1d3)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0xfd1766(0x16a)}},{'tag':_0xfd1766(0x180),'attrs':{'fill':_0xfd1766(0x1ec),'d':_0xfd1766(0x209)}},{'tag':_0xfd1766(0x180),'attrs':{'fill':_0xfd1766(0x1ec),'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':_0xfd1766(0x24a),'clipRule':_0xfd1766(0x24a)}}]},F=d[_0xfd1766(0x1ef)](function(_0x3f57a0,_0x2d63e7){const _0x52e7d7=_0xfd1766;return d[_0x52e7d7(0x21e)](_,Object['assign']({},_0x3f57a0,{'id':_0x52e7d7(0x132),'ref':_0x2d63e7,'icon':fe}));});F['displayName']=_0xfd1766(0x167);const pe={'tag':_0xfd1766(0x20f),'attrs':{'xmlns':_0xfd1766(0x170),'fill':_0xfd1766(0x1a3),'viewBox':'0\x200\x2016\x2016','width':_0xfd1766(0x1d3),'height':_0xfd1766(0x1d3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0xfd1766(0x180),'attrs':{'stroke':_0xfd1766(0x1ec),'d':_0xfd1766(0x183),'strokeLinecap':_0xfd1766(0x235),'strokeLinejoin':_0xfd1766(0x235),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xfd1766(0x1fb),'attrs':{'id':_0xfd1766(0x286)},'children':[{'tag':_0xfd1766(0x180),'attrs':{'fill':_0xfd1766(0x22d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xfd1766(0x286)]},Y=d[_0xfd1766(0x1ef)](function(_0x12f57b,_0x28d2ef){const _0x11fbe2=_0xfd1766;return d[_0x11fbe2(0x21e)](_,Object[_0x11fbe2(0x188)]({},_0x12f57b,{'id':_0x11fbe2(0x12e),'ref':_0x28d2ef,'icon':pe}));});Y['displayName']=_0xfd1766(0x23a);const he={'tag':'svg','attrs':{'xmlns':_0xfd1766(0x170),'fill':_0xfd1766(0x1a3),'viewBox':_0xfd1766(0x239),'width':'1em','height':_0xfd1766(0x1d3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xfd1766(0x180),'attrs':{'stroke':_0xfd1766(0x1ec),'d':_0xfd1766(0x186),'strokeLinecap':_0xfd1766(0x235),'strokeLinejoin':_0xfd1766(0x235),'strokeWidth':1.2}}]},{'tag':_0xfd1766(0x226),'attrs':{},'children':[{'tag':_0xfd1766(0x1fb),'attrs':{'id':_0xfd1766(0x15b)},'children':[{'tag':_0xfd1766(0x180),'attrs':{'fill':_0xfd1766(0x22d),'d':_0xfd1766(0x17d),'transform':'translate(.97)'}}]}]}],'defIds':[_0xfd1766(0x15b)]},q=d[_0xfd1766(0x1ef)](function(_0x23c362,_0xa67c3){const _0x37acac=_0xfd1766;return d[_0x37acac(0x21e)](_,Object[_0x37acac(0x188)]({},_0x23c362,{'id':_0x37acac(0x25a),'ref':_0xa67c3,'icon':he}));});q[_0xfd1766(0x257)]='OnLineIcon';function V(_0x2970a8){const _0x3e9fbd=_0xfd1766;var _0x439f73,_0x89b801;const {mcpCoreConfig:_0x1038d9,onSave:_0x157282,loading:_0x4fd0ab=!0x1,config:_0x18def1,connectionStatus$:_0x3f4178,connectionError$:_0x9983b4,currentApiKey$:_0x7ed92,currentSessionId$:_0x48fdb3}=_0x2970a8,_0x3221f9=v[_0x3e9fbd(0x26a)](u[_0x3e9fbd(0x1c8)]),_0x360074=v['useObservable'](_0x3f4178,s[_0x3e9fbd(0x17a)][_0x3e9fbd(0x215)]),_0x4dacb1=v[_0x3e9fbd(0x174)](_0x9983b4,s[_0x3e9fbd(0x190)][_0x3e9fbd(0x1c3)]),_0x5218e2=v['useObservable'](_0x48fdb3,''),_0x5ca831=v[_0x3e9fbd(0x174)](_0x7ed92,''),[_0x4c54ae,_0x2a09b3]=d['useState'](_0x5ca831||''),_0x3e44d1=!0x0,_0x4156e9=_0x18def1[_0x3e9fbd(0x1f5)]&&_0x1038d9['mcpServerUrl']&&(_0x1038d9[_0x3e9fbd(0x1af)][_0x3e9fbd(0x1a8)](_0x3e9fbd(0x27d))||_0x1038d9[_0x3e9fbd(0x1af)][_0x3e9fbd(0x1a8)](_0x3e9fbd(0x146))),_0x135258=(_0x439f73=_0x1038d9[_0x3e9fbd(0x1af)])==null?void 0x0:_0x439f73[_0x3e9fbd(0x1a8)](_0x3e9fbd(0x27d)),_0x54f67f=(_0x89b801=_0x1038d9[_0x3e9fbd(0x1af)])==null?void 0x0:_0x89b801['includes']('univer.ai'),_0x484d70=_0x135258?_0x3e9fbd(0x1e7):_0x3e9fbd(0x1bb),_0x37a070=_0x18def1[_0x3e9fbd(0x1f5)]&&(_0x135258||_0x54f67f),[_0x18844a,_0x9deb94]=d[_0x3e9fbd(0x139)](!_0x4c54ae[_0x3e9fbd(0x1f0)]()),_0x954f3e=(_0xabfbd8,_0x3441ed)=>{const _0x6f83ab=_0x3e9fbd;if(_0x3441ed===s['MCPConnectionError']['UNAUTHORIZED'])return _0x6f83ab(0x17c);switch(_0xabfbd8){case s[_0x6f83ab(0x17a)][_0x6f83ab(0x151)]:return _0x6f83ab(0x123);case s['MCPConnectionStatus']['CONNECTING']:case s[_0x6f83ab(0x17a)][_0x6f83ab(0x17b)]:return _0x6f83ab(0x21d);case s['MCPConnectionStatus'][_0x6f83ab(0x1e3)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x6f83ab(0x1f4);}},_0x10f492=(_0x130b71,_0x5ece7b)=>{const _0x4796b8=_0x3e9fbd;if(_0x5ece7b===s['MCPConnectionError'][_0x4796b8(0x249)])return _0x4796b8(0x24f);switch(_0x130b71){case s['MCPConnectionStatus'][_0x4796b8(0x151)]:return _0x4796b8(0x279);case s[_0x4796b8(0x17a)][_0x4796b8(0x110)]:case s[_0x4796b8(0x17a)]['RETRYING']:return _0x4796b8(0x1ea);case s['MCPConnectionStatus'][_0x4796b8(0x1e3)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x2f5bca=_0x1d8b69=>{const _0x21e4ea=_0x3e9fbd;switch(_0x1d8b69){case s['MCPConnectionStatus'][_0x21e4ea(0x151)]:return _0x3221f9['t'](_0x21e4ea(0x1fd));case s[_0x21e4ea(0x17a)][_0x21e4ea(0x110)]:return _0x3221f9['t'](_0x21e4ea(0x1f8));case s[_0x21e4ea(0x17a)][_0x21e4ea(0x1e3)]:return _0x3221f9['t'](_0x21e4ea(0x1f2));case s['MCPConnectionStatus']['RETRYING']:return _0x3221f9['t'](_0x21e4ea(0x1d9));default:return _0x3221f9['t']('mcpConfig.connectionStatus.disconnected');}},_0x52facb=_0x17eb47=>{const _0x2804c0=_0x3e9fbd;switch(_0x17eb47){case s[_0x2804c0(0x190)][_0x2804c0(0x249)]:return _0x3221f9['t'](_0x2804c0(0x220));case s[_0x2804c0(0x190)][_0x2804c0(0x19f)]:return _0x3221f9['t'](_0x2804c0(0x1bd));case s[_0x2804c0(0x190)]['NETWORK_ERROR']:return _0x3221f9['t'](_0x2804c0(0x263));case s[_0x2804c0(0x190)][_0x2804c0(0x173)]:return _0x3221f9['t'](_0x2804c0(0x1be));default:return'';}},_0x3f184c=d[_0x3e9fbd(0x13d)](()=>{const _0x8e074e={..._0x1038d9,'apiKey':_0x4c54ae['trim'](),'enableAuth':_0x3e44d1};_0x157282(_0x8e074e);},[_0x1038d9,_0x4c54ae,_0x3e44d1,_0x157282]),_0xc2adc8=_0x4c54ae[_0x3e9fbd(0x1f0)]()['length']>0x0;return i['jsxs'](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1e6),'children':[i['jsx']('div',{'className':_0x3e9fbd(0x267),'children':i['jsxs'](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x288),'children':[i[_0x3e9fbd(0x22f)]('div',{'className':_0x3e9fbd(0x23e),'children':i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x197),{'className':_0x3e9fbd(0x1aa),'children':'⚙'})}),i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'children':i['jsx']('p',{'className':_0x3e9fbd(0x291),'children':_0x3221f9['t']('mcpConfig.description')})})]})}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x125),'children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':f[_0x3e9fbd(0x1a7)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x954f3e(_0x360074,_0x4dacb1)),'children':i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x13c),'children':[i['jsx'](_0x3e9fbd(0x115),{'className':f[_0x3e9fbd(0x1a7)](_0x3e9fbd(0x143),_0x10f492(_0x360074,_0x4dacb1))}),i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x197),{'className':_0x3e9fbd(0x159),'children':_0x2f5bca(_0x360074)})]})}),_0x4dacb1!==s[_0x3e9fbd(0x190)]['NONE']&&(_0x360074===s[_0x3e9fbd(0x17a)][_0x3e9fbd(0x1e3)]||_0x4dacb1===s[_0x3e9fbd(0x190)][_0x3e9fbd(0x249)])&&i[_0x3e9fbd(0x22f)]('div',{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':i[_0x3e9fbd(0x148)]('div',{'className':_0x3e9fbd(0x10f),'children':[i[_0x3e9fbd(0x22f)]('span',{'className':_0x3e9fbd(0x289),'children':'⚠️'}),i[_0x3e9fbd(0x22f)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x52facb(_0x4dacb1)})]})})]}),i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1bf),'children':i[_0x3e9fbd(0x148)]('div',{'className':'univer-space-y-5','children':[i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':'univer-space-y-2','children':[i[_0x3e9fbd(0x148)](_0x3e9fbd(0x13b),{'className':_0x3e9fbd(0x18c),'children':[i['jsx'](_0x3e9fbd(0x197),{'children':'🔑'}),'\x20',_0x3221f9['t'](_0x3e9fbd(0x1f9)),i[_0x3e9fbd(0x22f)]('span',{'className':_0x3e9fbd(0x28f),'children':'*'}),_0x4156e9&&i['jsx']('a',{'className':_0x3e9fbd(0x23d),'title':_0x3221f9['t'](_0x3e9fbd(0x1dd)),'role':_0x3e9fbd(0x1ab),'onClick':()=>_0x9deb94(!0x0),'children':i[_0x3e9fbd(0x22f)](F,{})})]}),i[_0x3e9fbd(0x22f)](f[_0x3e9fbd(0x1b2)],{'type':_0x3e9fbd(0x21b),'placeholder':_0x3221f9['t'](_0x3e9fbd(0x285)),'value':_0x4c54ae,'disabled':_0x4fd0ab,'autoComplete':_0x3e9fbd(0x261),'onChange':_0x2a09b3}),i[_0x3e9fbd(0x22f)]('p',{'className':_0x3e9fbd(0x136),'children':_0x3221f9['t'](_0x3e9fbd(0x168))})]}),_0x4156e9&&_0x18844a&&i['jsxs'](_0x3e9fbd(0x115),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[i['jsx']('a',{'className':_0x3e9fbd(0x231),'role':_0x3e9fbd(0x1ab),'onClick':()=>_0x9deb94(!0x1),'children':i[_0x3e9fbd(0x22f)](B,{'className':'univer-size-4'})}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1bc),'children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x197),{'className':_0x3e9fbd(0x205),'children':'🚀'})}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x12d),'children':[i['jsx']('h4',{'className':_0x3e9fbd(0x12c),'children':_0x3221f9['t'](_0x3e9fbd(0x1dd))}),i[_0x3e9fbd(0x22f)]('p',{'className':_0x3e9fbd(0x210),'children':_0x3221f9['t']('mcpConfig.apiApplyInfo.description')}),i['jsx'](_0x3e9fbd(0x115),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x37a070&&i[_0x3e9fbd(0x148)]('a',{'className':_0x3e9fbd(0x17e),'href':_0x484d70,'target':_0x3e9fbd(0x294),'rel':'noopener\x20noreferrer','children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x197),{'children':'🤖'}),_0x3221f9['t'](_0x3e9fbd(0x269)),i[_0x3e9fbd(0x22f)]('span',{'className':_0x3e9fbd(0x24c),'children':'↗'})]})}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1ae),'children':['✨','\x20',_0x3221f9['t'](_0x3e9fbd(0x1ac))]})]})]})]}),_0x18def1[_0x3e9fbd(0x1f5)]&&i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1c6),'children':[i[_0x3e9fbd(0x148)]('h4',{'className':_0x3e9fbd(0x21a),'children':[i[_0x3e9fbd(0x22f)]('span',{'children':'🔗'}),'\x20',_0x3221f9['t']('mcpConfig.connectionInfo')]}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1c1),'children':[i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1c9),'children':[i[_0x3e9fbd(0x22f)]('p',{'className':_0x3e9fbd(0x16d),'children':_0x3221f9['t']('mcpConfig.configInstructions')}),i['jsxs']('div',{'className':_0x3e9fbd(0x283),'children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x23c),'children':_0x3221f9['t']('mcpConfig.configStepTitle')}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x230),'children':[i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x13c),'children':[i['jsx']('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x3221f9['t'](_0x3e9fbd(0x15e))]}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x197),{'className':_0x3e9fbd(0x154),'children':'2'}),_0x3221f9['t']('mcpConfig.configStep2')]}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x197),{'className':_0x3e9fbd(0x154),'children':'3'}),_0x3221f9['t'](_0x3e9fbd(0x284))]})]})]})]}),i['jsxs'](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x283),'children':[i['jsx'](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x23c),'children':_0x3e9fbd(0x13f)}),i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1b6),'children':i['jsx'](_0x3e9fbd(0x18e),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x3e9fbd(0x16b)+(_0x5218e2||_0x3e9fbd(0x18b)),'type':_0x3e9fbd(0x207),'headers':{'Authorization':'Bearer\x20'+(_0x4c54ae||_0x3e9fbd(0x178))}}}},null,0x2)})})]}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1c9),'children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x23c),'children':_0x3221f9['t'](_0x3e9fbd(0x28d))}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x283),'children':[i['jsxs'](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x28a),'children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x14f)}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x253),'children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x1d0),'children':_0x3e9fbd(0x160)}),i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x136),'children':_0x3221f9['t'](_0x3e9fbd(0x175))})]})]}),i['jsxs'](_0x3e9fbd(0x115),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i['jsx'](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x14f)}),i['jsxs'](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x253),'children':[i[_0x3e9fbd(0x22f)]('div',{'className':_0x3e9fbd(0x1d0),'children':'Authorization:'}),i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3221f9['t'](_0x3e9fbd(0x171))})]})]})]})]})]})]}),i['jsx'](f[_0x3e9fbd(0x22c)],{'onClick':_0x3f184c,'disabled':!_0xc2adc8||_0x4fd0ab,'className':_0x3e9fbd(0x152),'children':_0x4fd0ab?i[_0x3e9fbd(0x148)]('span',{'className':_0x3e9fbd(0x13c),'children':[i['jsx'](_0x3e9fbd(0x197),{'children':'⟲'}),_0x3221f9['t'](_0x3e9fbd(0x1ee))]}):i[_0x3e9fbd(0x148)](_0x3e9fbd(0x197),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3e9fbd(0x22f)](H,{}),_0x3221f9['t'](_0x3e9fbd(0x22e))]})}),i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x223),'children':i[_0x3e9fbd(0x148)]('div',{'className':'univer-flex\x20univer-gap-3','children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x197),{'className':_0x3e9fbd(0x20c),'children':'💡'}),i['jsxs'](_0x3e9fbd(0x115),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[i[_0x3e9fbd(0x22f)](_0x3e9fbd(0x115),{'className':_0x3e9fbd(0x20d),'children':'Configuration\x20Notes:'}),i[_0x3e9fbd(0x148)](_0x3e9fbd(0x115),{'children':['•',_0x3221f9['t']('mcpConfig.note1')]}),i['jsxs'](_0x3e9fbd(0x115),{'children':['•',_0x3221f9['t'](_0x3e9fbd(0x119))]})]})]})})]})})]});}const P='mcp-ui.config',L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0xfd1766(0x1f1)],xe=(_0x1fcd13,_0x4ea563,_0x5e87a7,_0x58491b)=>{const _0xa26c70=_0xfd1766;for(var _0x18655c=_0x58491b>0x1?void 0x0:_0x58491b?me(_0x4ea563,_0x5e87a7):_0x4ea563,_0x2d46d7=_0x1fcd13[_0xa26c70(0x1d2)]-0x1,_0x6d7e5b;_0x2d46d7>=0x0;_0x2d46d7--)(_0x6d7e5b=_0x1fcd13[_0x2d46d7])&&(_0x18655c=_0x6d7e5b(_0x18655c)||_0x18655c);return _0x18655c;},g=(_0x5bc2b5,_0x5316b7)=>(_0x40826b,_0x16db52)=>_0x5316b7(_0x40826b,_0x16db52,_0x5bc2b5);const O=_0xfd1766(0x16f),D=_0xfd1766(0x1eb);exports[_0xfd1766(0x228)]=class extends u[_0xfd1766(0x214)]{constructor(_0x4f84ca,_0x2925a2,_0x308998,_0x3be84d,_0x2abff6,_0x2d02db,_0x18d6a1,_0x13a351,_0x312248,_0x5aa67d){const _0x36847f=_0xfd1766;super(),I(this,_0x36847f(0x234),new M[(_0x36847f(0x225))](!0x1)),I(this,_0x36847f(0x27e),new M['BehaviorSubject']({})),I(this,_0x36847f(0x212),new M[(_0x36847f(0x225))]({})),I(this,_0x36847f(0x232),new M[(_0x36847f(0x225))]('')),I(this,_0x36847f(0x17f),async _0x11fed8=>{const _0x31a5e2=_0x36847f;var _0x4e0fed,_0x4f92b3;this[_0x31a5e2(0x234)][_0x31a5e2(0x117)](!0x0);try{const _0x57508e=await this[_0x31a5e2(0x26c)](_0x11fed8);if(!_0x57508e[_0x31a5e2(0x290)]){this['_messageService'][_0x31a5e2(0x145)]({'type':f['MessageType'][_0x31a5e2(0x121)],'content':_0x57508e[_0x31a5e2(0x200)]||this[_0x31a5e2(0x19a)]['t'](_0x31a5e2(0x11f))});return;}_0x11fed8[_0x31a5e2(0x274)]?await this['_localStorageService']['setItem'](O,_0x11fed8[_0x31a5e2(0x274)]['trim']()):await this[_0x31a5e2(0x1d5)][_0x31a5e2(0x204)](O),this[_0x31a5e2(0x232)][_0x31a5e2(0x117)](((_0x4e0fed=_0x11fed8['apiKey'])==null?void 0x0:_0x4e0fed[_0x31a5e2(0x1f0)]())||''),this[_0x31a5e2(0x1d6)]['__setCustomHeaders']({'Authorization':_0x31a5e2(0x27f)+((_0x4f92b3=_0x11fed8[_0x31a5e2(0x274)])==null?void 0x0:_0x4f92b3[_0x31a5e2(0x1f0)]())}),this[_0x31a5e2(0x218)][_0x31a5e2(0x145)]({'type':f['MessageType'][_0x31a5e2(0x182)],'content':this['_localeService']['t'](_0x31a5e2(0x149))}),setTimeout(()=>{const _0x408a92=_0x31a5e2;this['_dialogService'][_0x408a92(0x155)](D);},0x320);}catch(_0x5e6dec){this[_0x31a5e2(0x184)][_0x31a5e2(0x262)](_0x31a5e2(0x1db),_0x5e6dec),this[_0x31a5e2(0x218)][_0x31a5e2(0x145)]({'type':f['MessageType'][_0x31a5e2(0x121)],'content':this[_0x31a5e2(0x19a)]['t'](_0x31a5e2(0x206))});}finally{this[_0x31a5e2(0x234)]['next'](!0x1);}}),(this['_injector']=_0x4f84ca,this[_0x36847f(0x16e)]=_0x2925a2,this[_0x36847f(0x28e)]=_0x308998,this[_0x36847f(0x1d5)]=_0x3be84d,this['_dialogService']=_0x2abff6,this[_0x36847f(0x218)]=_0x2d02db,this['_componentManager']=_0x18d6a1,this['_localeService']=_0x13a351,this[_0x36847f(0x184)]=_0x312248,this[_0x36847f(0x1d6)]=_0x5aa67d,this[_0x36847f(0x1b4)](),this[_0x36847f(0x198)](),this[_0x36847f(0x1d1)]());}[_0xfd1766(0x1a2)](){const _0x257cc6=_0xfd1766,_0x5de5b0=this[_0x257cc6(0x28e)][_0x257cc6(0x224)](P);_0x5de5b0!=null&&_0x5de5b0['showDeveloperTools']&&this['_dialogService'][_0x257cc6(0x111)]({'id':D,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':_0x257cc6(0x14a)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x234dc9=_0x257cc6;this[_0x234dc9(0x1c5)]['close'](D);}});}['getCurrentConfig'](){const _0x4e497a=_0xfd1766;return this['_mcpCoreConfig$'][_0x4e497a(0x15c)];}[_0xfd1766(0x1d1)](){const _0xcc206a=_0xfd1766;this['disposeWithMe'](this[_0xcc206a(0x114)][_0xcc206a(0x144)](_0xcc206a(0x14a),this[_0xcc206a(0x11d)]()));}['_createConfigPanelComponent'](){const _0x5cb17f=_0xfd1766;return v[_0x5cb17f(0x216)](()=>{const _0x577664=_0x5cb17f;var _0x5d97a5,_0x2245ca,_0x5a8669;return i[_0x577664(0x22f)](V,{'config':this['_config$'][_0x577664(0x15c)],'mcpCoreConfig':this[_0x577664(0x27e)][_0x577664(0x15c)],'currentApiKey$':this[_0x577664(0x232)],'onSave':this[_0x577664(0x17f)],'loading':this['_loading$'][_0x577664(0x15c)],'connectionStatus$':(_0x5d97a5=this[_0x577664(0x1d6)])==null?void 0x0:_0x5d97a5['connectionStatus$'],'connectionError$':(_0x2245ca=this['_mcpConnectionController'])==null?void 0x0:_0x2245ca[_0x577664(0x11c)],'currentSessionId$':(_0x5a8669=this[_0x577664(0x1d6)])==null?void 0x0:_0x5a8669[_0x577664(0x277)]});},this[_0x5cb17f(0x217)]);}[_0xfd1766(0x1b4)](){const _0x535fef=_0xfd1766;this[_0x535fef(0x196)](this[_0x535fef(0x28e)][_0x535fef(0x10e)](s[_0x535fef(0x18a)])[_0x535fef(0x227)](_0x1559ee=>{const _0x5855e5=_0x535fef;this[_0x5855e5(0x27e)]['next'](_0x1559ee||{});}));const _0x5762c9=this[_0x535fef(0x28e)][_0x535fef(0x224)](s[_0x535fef(0x18a)]);this[_0x535fef(0x27e)][_0x535fef(0x117)](_0x5762c9||{}),this[_0x535fef(0x196)](this[_0x535fef(0x28e)][_0x535fef(0x10e)](P)['subscribe'](_0x5b2c72=>{const _0x2bc72f=_0x535fef;this[_0x2bc72f(0x212)][_0x2bc72f(0x117)](_0x5b2c72||{});}));const _0xf7562=this[_0x535fef(0x28e)][_0x535fef(0x224)](P);this[_0x535fef(0x212)][_0x535fef(0x117)](_0xf7562||{});}async['_loadStoredApiKey'](){const _0x28998d=_0xfd1766,_0x3ab67e=this[_0x28998d(0x28e)][_0x28998d(0x224)](P);if(!(_0x3ab67e!=null&&_0x3ab67e[_0x28998d(0x1f5)]))return;const _0x4cff1a=await this[_0x28998d(0x1d5)]['getItem'](O);_0x4cff1a&&(this[_0x28998d(0x1d6)][_0x28998d(0x237)]({'Authorization':_0x28998d(0x27f)+_0x4cff1a}),this[_0x28998d(0x232)][_0x28998d(0x117)](_0x4cff1a));}async[_0xfd1766(0x26c)](_0x140a19){const _0x4d9100=_0xfd1766;if(!_0x140a19[_0x4d9100(0x274)]||_0x140a19[_0x4d9100(0x274)][_0x4d9100(0x1f0)]()[_0x4d9100(0x1d2)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4d9100(0x19a)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x140a19[_0x4d9100(0x274)][_0x4d9100(0x1f0)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4d9100(0x19a)]['t'](_0x4d9100(0x118))};try{const _0x52469a=await this[_0x4d9100(0x217)][_0x4d9100(0x25d)](s[_0x4d9100(0x138)])[_0x4d9100(0x162)](_0x140a19[_0x4d9100(0x274)]['trim']());return _0x52469a[_0x4d9100(0x290)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x52469a[_0x4d9100(0x262)]||this[_0x4d9100(0x19a)]['t'](_0x4d9100(0x147))};}catch(_0x29560c){return console[_0x4d9100(0x222)](_0x4d9100(0x25c),_0x29560c),{'isValid':!0x0};}}},exports['MCPConfigUIController']=xe([g(0x0,u['Inject'](u[_0xfd1766(0x26f)])),g(0x1,v[_0xfd1766(0x1cb)]),g(0x2,u[_0xfd1766(0x221)]),g(0x3,u[_0xfd1766(0x157)]),g(0x4,v[_0xfd1766(0x24b)]),g(0x5,v[_0xfd1766(0x1dc)]),g(0x6,u[_0xfd1766(0x280)](v[_0xfd1766(0x282)])),g(0x7,u[_0xfd1766(0x280)](u[_0xfd1766(0x1c8)])),g(0x8,u[_0xfd1766(0x169)]),g(0x9,u['Inject'](s['MCPConnectionController']))],exports['MCPConfigUIController']);const b={'id':'mcp-ui.command.openConfigPanel','type':u['CommandType'][_0xfd1766(0x192)],'handler':async(_0x52f264,_0x204fad)=>(_0x52f264['get'](exports[_0xfd1766(0x228)])[_0xfd1766(0x1a2)](),!0x0)};function Z(_0x1215a4,_0x5b6199){const _0x35b33a=_0xfd1766;switch(_0x1215a4){case s[_0x35b33a(0x17a)][_0x35b33a(0x215)]:return'mcpStatus.disconnected';case s[_0x35b33a(0x17a)]['CONNECTING']:return _0x35b33a(0x27a);case s[_0x35b33a(0x17a)]['CONNECTED']:return'mcpStatus.connected';case s[_0x35b33a(0x17a)][_0x35b33a(0x1e3)]:switch(_0x5b6199){case s['MCPConnectionError'][_0x35b33a(0x249)]:return _0x35b33a(0x295);case s[_0x35b33a(0x190)][_0x35b33a(0x19f)]:return _0x35b33a(0x255);case s[_0x35b33a(0x190)][_0x35b33a(0x193)]:return _0x35b33a(0x166);case s[_0x35b33a(0x190)][_0x35b33a(0x173)]:return'mcpStatus.maxRetriesExceeded';default:return _0x35b33a(0x15f);}case s[_0x35b33a(0x17a)][_0x35b33a(0x17b)]:return _0x35b33a(0x14d);default:return _0x35b33a(0x24e);}}function Se(_0x24eaac,_0x4050b8,_0x323eb2,_0x37598f=!0x0){const _0x41b54a=_0xfd1766,_0x24f6a7=Z(_0x24eaac,_0x4050b8),_0x5001e6=_0x323eb2['t'](_0x24f6a7);return _0x37598f?_0x24eaac===s['MCPConnectionStatus'][_0x41b54a(0x215)]&&_0x4050b8===s[_0x41b54a(0x190)]['UNAUTHORIZED']?_0x5001e6+'\x20-\x20'+_0x323eb2['t'](_0x41b54a(0x15a)):_0x24eaac===s[_0x41b54a(0x17a)]['CONNECTED']?''+_0x5001e6:_0x24eaac===s[_0x41b54a(0x17a)][_0x41b54a(0x215)]||_0x24eaac===s[_0x41b54a(0x17a)]['FAILED']?_0x5001e6+'\x20-\x20'+_0x323eb2['t'](_0x41b54a(0x248)):_0x5001e6:_0x5001e6;}function Pe(_0x282f59){const _0x42c68b=_0xfd1766;switch(_0x282f59){case s[_0x42c68b(0x17a)][_0x42c68b(0x151)]:return _0x42c68b(0x252);case s[_0x42c68b(0x17a)][_0x42c68b(0x110)]:case s['MCPConnectionStatus'][_0x42c68b(0x17b)]:return _0x42c68b(0x131);case s[_0x42c68b(0x17a)]['FAILED']:case s[_0x42c68b(0x17a)][_0x42c68b(0x215)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function W(_0x544b78){const _0x16cc05=_0xfd1766,{status$:_0xf33b0e,error$:_0xf05d31,onConfigure:_0x1e5752,showClickable:_0x1cc638=!0x0}=_0x544b78,_0x50e4d8=v[_0x16cc05(0x174)](_0xf33b0e,s[_0x16cc05(0x17a)][_0x16cc05(0x215)]),_0x41093d=v[_0x16cc05(0x174)](_0xf05d31,s[_0x16cc05(0x190)]['NONE']),_0x43e08b=v[_0x16cc05(0x26a)](u['LocaleService']),_0x2a04eb=_0x50e4d8===s['MCPConnectionStatus'][_0x16cc05(0x151)];_0x50e4d8===s[_0x16cc05(0x17a)]['CONNECTING']||s[_0x16cc05(0x17a)][_0x16cc05(0x17b)];const _0x447577=_0x43e08b['t'](Z(_0x50e4d8,_0x41093d)),_0x15bc36=Se(_0x50e4d8,_0x41093d,_0x43e08b,_0x1cc638),_0x3f133e=Pe(_0x50e4d8),_0x21ad6e=_0x2a04eb?i[_0x16cc05(0x22f)](q,{}):i[_0x16cc05(0x22f)](Y,{}),_0x1c3c3a=d[_0x16cc05(0x13d)](()=>{_0x1cc638&&_0x1e5752&&_0x1e5752();},[_0x1cc638,_0x1e5752]);function _0x2d5036(){const _0x51ed17=_0x16cc05;return i[_0x51ed17(0x148)](_0x51ed17(0x115),{'className':f[_0x51ed17(0x1a7)](_0x51ed17(0x27c),_0x1cc638&&_0x1e5752&&_0x51ed17(0x140)),'role':_0x51ed17(0x1ab),'onClick':_0x1cc638&&_0x1e5752?_0x1c3c3a:void 0x0,'children':[i['jsx']('div',{'className':f[_0x51ed17(0x1a7)](_0x51ed17(0x1b5),_0x3f133e),'children':_0x21ad6e}),i[_0x51ed17(0x22f)](_0x51ed17(0x115),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x447577})]});}return i[_0x16cc05(0x22f)](f[_0x16cc05(0x271)],{'title':_0x15bc36,'placement':_0x16cc05(0x1a5),'children':_0x2d5036()});}var Ie=Object[_0xfd1766(0x1f1)],_e=(_0x541388,_0x513c5c,_0x4d871b,_0x5efc7c)=>{for(var _0x3ac906=_0x5efc7c>0x1?void 0x0:_0x5efc7c?Ie(_0x513c5c,_0x4d871b):_0x513c5c,_0xd120f5=_0x541388['length']-0x1,_0x5710e1;_0xd120f5>=0x0;_0xd120f5--)(_0x5710e1=_0x541388[_0xd120f5])&&(_0x3ac906=_0x5710e1(_0x3ac906)||_0x3ac906);return _0x3ac906;},N=(_0x2cd36d,_0x490311)=>(_0x1863ee,_0x1846f9)=>_0x490311(_0x1863ee,_0x1846f9,_0x2cd36d);exports['MCPConnectionUIController']=class extends u[_0xfd1766(0x214)]{constructor(_0x33aa17,_0x132b76,_0x5edd0b,_0xc28411){const _0x2d7c30=_0xfd1766;super(),this[_0x2d7c30(0x217)]=_0x33aa17,this['_connectionController']=_0x132b76,this[_0x2d7c30(0x16e)]=_0x5edd0b,this[_0x2d7c30(0x28e)]=_0xc28411,this[_0x2d7c30(0x14c)](),this[_0x2d7c30(0x259)]();}[_0xfd1766(0x14c)](){const _0x1f0483=_0xfd1766,_0x2782e2=this[_0x1f0483(0x28e)][_0x1f0483(0x224)](P);_0x2782e2!=null&&_0x2782e2[_0x1f0483(0x1f5)]&&(this[_0x1f0483(0x1de)]['enableAutoConnect']=!0x1);}[_0xfd1766(0x259)](){const _0x5d4531=_0xfd1766,_0x557591=this[_0x5d4531(0x28e)][_0x5d4531(0x224)](P);(_0x557591==null?void 0x0:_0x557591[_0x5d4531(0x1b8)])!==!0x1&&this['disposeWithMe'](this['_uiPartsService']['registerComponent'](v[_0x5d4531(0x195)][_0x5d4531(0x10d)],()=>{const _0xbf1e22=_0x5d4531;var _0xff4eda;return v[_0xbf1e22(0x216)](ye({'status$':this['_connectionController'][_0xbf1e22(0x211)],'error$':this[_0xbf1e22(0x1de)][_0xbf1e22(0x11c)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0xff4eda=_0x557591==null?void 0x0:_0x557591[_0xbf1e22(0x1f5)])!=null?_0xff4eda:!0x1}),this['_injector']);}));}[_0xfd1766(0x238)](){const _0x28342e=_0xfd1766;this[_0x28342e(0x217)][_0x28342e(0x25d)](exports[_0x28342e(0x228)])['showConfigPanel']();}},exports[_0xfd1766(0x194)]=_e([N(0x0,u[_0xfd1766(0x280)](u[_0xfd1766(0x26f)])),N(0x1,u[_0xfd1766(0x280)](s['MCPConnectionController'])),N(0x2,v['IUIPartsService']),N(0x3,u[_0xfd1766(0x221)])],exports['MCPConnectionUIController']);function ye(_0x5bdbad){const {status$:_0x4b6ece,error$:_0x5d5201,onConfigure:_0x3d2c9b,showClickable:_0x3cb05f}=_0x5bdbad;return function(){return i['jsx'](W,{'status$':_0x4b6ece,'error$':_0x5d5201,'onConfigure':_0x3d2c9b,'showClickable':_0x3cb05f});};}function Me(_0x29a3f3){const _0x4a8082=_0xfd1766;return{'id':b['id'],'type':v[_0x4a8082(0x24d)][_0x4a8082(0x243)],'icon':_0x4a8082(0x268),'title':_0x4a8082(0x273),'tooltip':_0x4a8082(0x273)};}function _0x3dad(){const _0x13ecde=['univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','https://console.univer.plus','fill','toStringTag','univer-bg-blue-500','mcp-config-dialog','currentColor','UniverMCPUIPlugin','mcpConfig.saving','forwardRef','trim','getOwnPropertyDescriptor','mcpConfig.connectionStatus.failed','1599416bVgxpj','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','showDeveloperTools','保存配置','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpConfig.connectionStatus.connecting','mcpConfig.apiKey','最大重试次数','clipPath','_commandService','mcpConfig.connectionStatus.connected','配置无效','330360WvCJef','errorMessage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','OTHERS','Disconnected','removeItem','univer-text-blue-600','mcpConfig.configError','http','476463qgqvTC','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','has','配置保存失败','univer-shrink-0\x20univer-text-blue-500','univer-font-medium','11bNNEPh','svg','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','connectionStatus$','_config$','mergeMenu','Disposable','DISCONNECTED','connectInjector','_injector','_messageService','current','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','text','点击配置\x20MCP','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','createElement','enUS','mcpConfig.connectionError.unauthorized','IConfigService','warn','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','getConfig','BehaviorSubject','defs','subscribe','MCPConfigUIController','重启您的\x20MCP\x20客户端以使配置生效','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Button','white','mcpConfig.save','jsx','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','_apiKey$','children','_loading$','round','MCP\x20连接中...','__setCustomHeaders','_handleConfigure','0\x200\x2017\x2016','OffLineIcon','attrs','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP\x20配置','pluginName','MCP:\x20未授权','BUTTON','WebSocketService','MCP\x20客户端配置','defineProperty','_config','mcpStatus.clickToConnect','UNAUTHORIZED','evenodd','IDialogService','univer-text-gray-400','MenuItemType','mcpStatus.unknown','univer-bg-red-500','2838052XXxerv','xlink:href','univer-text-green-500','univer-min-w-0\x20univer-flex-1','ICommandService','mcpStatus.sessionOccupied','url(#$1','displayName','idSuffix','_initStatusComponent','on-line-icon','Click\x20to\x20configure\x20MCP','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','get','1043300pmiFXx','Enter\x20your\x20API\x20key','CloseIcon','off','error','mcpConfig.connectionError.networkError','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','symbol','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MenuIcon','mcpConfig.apiApplyInfo.univerAiLabel','useDependency','CheckMarkIcon','_validateConfig','API\x20密钥','ISocketService','Injector','Connection\x20Failed','Tooltip','142704SeHuPn','mcpConfig.title','apiKey','重连中...','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','sessionId$','启用身份验证','univer-bg-green-500','mcpStatus.connecting','MCP:\x20Unauthorized','univer-flex\x20univer-items-center','univer.plus','_mcpCoreConfig$','Bearer\x20','Inject','请输入您的\x20API\x20密钥','ComponentManager','univer-space-y-2','mcpConfig.configStep3','mcpConfig.apiKeyPlaceholder','off-line-icon_clip0_910_343','Univer\x20AI\x20Console','univer-flex\x20univer-items-center\x20univer-gap-3','univer-shrink-0\x20univer-text-red-500','univer-flex\x20univer-items-start\x20univer-gap-3','API\x20密钥无效,请检查密钥是否正确','MCP\x20Unknown\x20Status','mcpConfig.configParameters','_configService','univer-text-red-500','isValid','univer-text-sm\x20univer-text-gray-500','Max\x20Retries','MCP\x20状态未知','_blank','mcpStatus.unauthorized','onStarting','MCP:\x20Session\x20ID\x20Occupied','HEADER_MENU','subscribeConfigValue$','univer-flex\x20univer-items-start\x20univer-gap-2','CONNECTING','open','IMenuManagerService','_initializeCommands','_componentManager','div','Module','next','mcpConfig.validation.apiKeyTooShort','mcpConfig.note2','tag','连接中...','connectionError$','_createConfigPanelComponent','zhCN','mcpConfig.validation.invalidConfig','配置参数:','Error','Click\x20to\x20connect\x20MCP','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','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','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','什么是\x20API\x20密钥?','MCP:\x20会话\x20ID\x20已被占用','MCP\x20已连接','MCP\x20Client\x20Configuration','colorChannel1','_menuManagerService','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-flex-1','off-line-icon','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20已断开','univer-text-yellow-500','help-icon','univerjs-icon\x20univerjs-icon-','2AHlFCY','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-text-xs\x20univer-text-gray-500','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCPConnectionController','useState','RibbonStartGroup','label','univer-flex\x20univer-items-center\x20univer-gap-2','useCallback','defIds','MCP\x20Configuration','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','将以下配置添加到您的\x20MCP\x20客户端设置中:','Invalid\x20configuration','univer-size-2\x20univer-rounded-full','register','show','univer.ai','mcpConfig.validation.invalidApiKey','jsxs','mcpConfig.configSaved','MCPConfigPanel','启用身份验证以获得安全连接','_initAutoConnect','mcpStatus.retrying','MCP\x20重连中...','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','MCP:\x20超出最大重试次数','CONNECTED','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','MCP:\x20Network\x20Error','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','close','replace','ILocalStorageService','substring','univer-text-sm\x20univer-font-medium','mcpStatus.clickToConfigure','on-line-icon_clip0_910_349','value','0\x200\x2016\x2016','mcpConfig.configStep1','mcpStatus.failed','univer_session_id:','entries','validateApiKey','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','网络连接错误,请检查您的网络连接','mcpStatus.networkError','HelpIcon','mcpConfig.apiKeyHint','ILogService','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','https://mcp.univer.ai/mcp/?univer_session_id=','复制以下\x20JSON\x20配置','univer-text-xs\x20univer-text-gray-600','_uiPartsService','mcp.apiKey','http://www.w3.org/2000/svg','mcpConfig.authorizationDescription','配置保存成功','MAX_RETRIES_EXCEEDED','useObservable','mcpConfig.sessionIdDescription','MCP:\x20Max\x20Retries\x20Exceeded','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','<API_KEY>','配置步骤:','MCPConnectionStatus','RETRYING','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','M0\x200H16V16H0z','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','_handleConfigSave','path','check-mark-icon','Success','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','_logService','您的\x20API\x20密钥安全存储在本地存储中','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','add','assign','UniverIcon','MCP_PLUGIN_CONFIG_KEY','<SESSION_ID>','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_initializeMenus','pre','MCP\x20Disconnected','MCPConnectionError','权限验证失败,请检查您的\x20API\x20密钥','COMMAND','NETWORK_ERROR','MCPConnectionUIController','BuiltInUIPart','disposeWithMe','span','_loadStoredApiKey','MCP:\x20网络错误','_localeService','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','MCP\x20Connected','Univer\x20AI\x20控制台','SESSION_ID_OCCUPIED','forEach','MCP\x20Connecting...','showConfigPanel','none','mask','bottom','配置\x20MCP\x20使用\x20AI\x20操作电子表格','clsx','includes','Copy\x20the\x20JSON\x20configuration\x20below','univer-text-white','button','mcpConfig.apiApplyInfo.getStarted','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpServerUrl','已连接','close-icon','Input','API\x20密钥不能为空','_initConfigSync','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','2071008MLOmcx','showStatus','string','24kogAMd','https://console.univer.ai','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcpConfig.connectionError.sessionOccupied','mcpConfig.connectionError.maxRetriesExceeded','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-space-y-4','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','NONE','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','_dialogService','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','map','LocaleService','univer-space-y-3','您的\x20API\x20密钥将在此浏览器中本地存储','IUIPartsService','API\x20密钥长度至少需要\x2010\x20位','MCP\x20Retrying...','将配置添加到您的\x20MCP\x20客户端设置文件中','8pOrrEm','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_registerComponent','length','1em','连接失败','_localStorageService','_mcpConnectionController','random','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpConfig.connectionStatus.retrying','点击连接\x20MCP','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','IMessageService','mcpConfig.apiApplyInfo.title','_connectionController','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCPUIMenuController','push','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','FAILED','Session\x20ID','Enable\x20Authentication'];_0x3dad=function(){return _0x13ecde;};return _0x3dad();}const Ne={[v[_0xfd1766(0x13a)][_0xfd1766(0x202)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};function _0x4d02(_0x597552,_0xfe13e4){_0x597552=_0x597552-0x10d;const _0x3dad9a=_0x3dad();let _0x4d0211=_0x3dad9a[_0x597552];return _0x4d0211;}var be=Object[_0xfd1766(0x1f1)],je=(_0x269ab5,_0x4d05e1,_0x4c0c23,_0x4f3681)=>{const _0x174cf2=_0xfd1766;for(var _0x10bd97=_0x4f3681>0x1?void 0x0:_0x4f3681?be(_0x4d05e1,_0x4c0c23):_0x4d05e1,_0x2092e4=_0x269ab5[_0x174cf2(0x1d2)]-0x1,_0x2978c6;_0x2092e4>=0x0;_0x2092e4--)(_0x2978c6=_0x269ab5[_0x2092e4])&&(_0x10bd97=_0x2978c6(_0x10bd97)||_0x10bd97);return _0x10bd97;},z=(_0x44771e,_0x66bd88)=>(_0x3932c9,_0x55bd00)=>_0x66bd88(_0x3932c9,_0x55bd00,_0x44771e);exports[_0xfd1766(0x1e0)]=class extends u[_0xfd1766(0x214)]{constructor(_0x1e42be,_0x4cdf13){const _0x135c35=_0xfd1766;super(),this[_0x135c35(0x1fc)]=_0x1e42be,this['_menuManagerService']=_0x4cdf13,this[_0x135c35(0x113)](),this[_0x135c35(0x18d)]();}['_initializeCommands'](){const _0x52113b=_0xfd1766;[b][_0x52113b(0x1a0)](_0x4e8999=>{const _0x10cfce=_0x52113b;this[_0x10cfce(0x196)](this[_0x10cfce(0x1fc)]['registerCommand'](_0x4e8999));});}[_0xfd1766(0x18d)](){const _0x5660b6=_0xfd1766;this[_0x5660b6(0x12b)][_0x5660b6(0x213)](Ne);}},exports['MCPUIMenuController']=je([z(0x0,u[_0xfd1766(0x254)]),z(0x1,v[_0xfd1766(0x112)])],exports[_0xfd1766(0x1e0)]);const Ee={'mcpStatus':{'disconnected':_0xfd1766(0x18f),'connecting':_0xfd1766(0x1a1),'connected':_0xfd1766(0x19d),'failed':_0xfd1766(0x164),'retrying':_0xfd1766(0x1cd),'unknown':_0xfd1766(0x28c),'unauthorized':_0xfd1766(0x27b),'sessionOccupied':_0xfd1766(0x297),'networkError':_0xfd1766(0x153),'maxRetriesExceeded':_0xfd1766(0x176),'clickToConnect':_0xfd1766(0x122),'clickToConfigure':_0xfd1766(0x25b)},'mcpConfig':{'title':_0xfd1766(0x13f),'description':_0xfd1766(0x22b),'apiKey':'API\x20Key','apiKeyPlaceholder':_0xfd1766(0x25f),'apiKeyHint':_0xfd1766(0x135),'enableAuth':_0xfd1766(0x1e5),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xfd1766(0x129),'configInstructions':_0xfd1766(0x163),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xfd1766(0x1a9),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xfd1766(0x1c4),'sessionId':_0xfd1766(0x1e4),'sessionIdDescription':_0xfd1766(0x19b),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xfd1766(0x265),'maxRetries':_0xfd1766(0x292),'save':'Save\x20Configuration','saving':'Saving...','note1':_0xfd1766(0x1d8),'note2':_0xfd1766(0x1c0),'configSaved':_0xfd1766(0x264),'configError':_0xfd1766(0x22a),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xfd1766(0x1f7),'univerAiLabel':_0xfd1766(0x287),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xfd1766(0x12f),'invalidConfig':_0xfd1766(0x142),'invalidApiKey':_0xfd1766(0x1ad)},'connectionStatus':{'disconnected':_0xfd1766(0x203),'connecting':'Connecting...','connected':'Connected','failed':_0xfd1766(0x270),'retrying':_0xfd1766(0x19c)},'connectionError':{'unauthorized':_0xfd1766(0x1c2),'sessionOccupied':_0xfd1766(0x201),'networkError':_0xfd1766(0x1df),'maxRetriesExceeded':_0xfd1766(0x1e2)}}},we={'mcpStatus':{'disconnected':_0xfd1766(0x130),'connecting':_0xfd1766(0x236),'connected':_0xfd1766(0x128),'failed':'MCP\x20连接失败','retrying':_0xfd1766(0x14e),'unknown':_0xfd1766(0x293),'unauthorized':_0xfd1766(0x242),'sessionOccupied':_0xfd1766(0x127),'networkError':_0xfd1766(0x199),'maxRetriesExceeded':_0xfd1766(0x150),'clickToConnect':_0xfd1766(0x1da),'clickToConfigure':_0xfd1766(0x21c)},'mcpConfig':{'title':_0xfd1766(0x240),'description':_0xfd1766(0x1a6),'apiKey':_0xfd1766(0x26d),'apiKeyPlaceholder':_0xfd1766(0x281),'apiKeyHint':_0xfd1766(0x1ca),'enableAuth':_0xfd1766(0x278),'enableAuthHint':_0xfd1766(0x14b),'connectionInfo':_0xfd1766(0x245),'mcpClientConfig':_0xfd1766(0x245),'configInstructions':_0xfd1766(0x141),'configStepTitle':_0xfd1766(0x179),'configStep1':_0xfd1766(0x16c),'configStep2':_0xfd1766(0x1ce),'configStep3':_0xfd1766(0x229),'sessionId':'会话ID','sessionIdDescription':_0xfd1766(0x23f),'authorizationDescription':_0xfd1766(0x137),'configParameters':_0xfd1766(0x120),'maxRetries':_0xfd1766(0x1fa),'save':_0xfd1766(0x1f6),'saving':'保存中...','note1':'配置更改将立即生效','note2':_0xfd1766(0x185),'configSaved':_0xfd1766(0x172),'configError':_0xfd1766(0x20b),'apiApplyInfo':{'title':_0xfd1766(0x126),'description':_0xfd1766(0x177),'univerAiLabel':_0xfd1766(0x19e),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0xfd1766(0x1b3),'apiKeyTooShort':_0xfd1766(0x1cc),'invalidConfig':_0xfd1766(0x1fe),'invalidApiKey':_0xfd1766(0x28b)},'connectionStatus':{'disconnected':'未连接','connecting':_0xfd1766(0x11b),'connected':_0xfd1766(0x1b0),'failed':_0xfd1766(0x1d4),'retrying':_0xfd1766(0x275)},'connectionError':{'unauthorized':_0xfd1766(0x191),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0xfd1766(0x165),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var Ae=Object[_0xfd1766(0x246)],Oe=Object['getOwnPropertyDescriptor'],De=(_0x449428,_0x23e936,_0x5a4e55)=>_0x23e936 in _0x449428?Ae(_0x449428,_0x23e936,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a4e55}):_0x449428[_0x23e936]=_0x5a4e55,Ue=(_0x512924,_0xdc8afc,_0x4c807d,_0x47f742)=>{const _0x4cf789=_0xfd1766;for(var _0x564515=_0x47f742>0x1?void 0x0:_0x47f742?Oe(_0xdc8afc,_0x4c807d):_0xdc8afc,_0x58db72=_0x512924[_0x4cf789(0x1d2)]-0x1,_0x3e71fd;_0x58db72>=0x0;_0x58db72--)(_0x3e71fd=_0x512924[_0x58db72])&&(_0x564515=_0x3e71fd(_0x564515)||_0x564515);return _0x564515;},y=(_0x25a985,_0x887123)=>(_0x30d430,_0x4d08af)=>_0x887123(_0x30d430,_0x4d08af,_0x25a985),$e=(_0x3195f2,_0x32f984,_0xdb571b)=>De(_0x3195f2,_0x32f984+'',_0xdb571b);exports[_0xfd1766(0x1ed)]=class extends u['Plugin']{constructor(_0x35f370=L,_0x331e6f,_0xd6ef1a,_0x1803b8,_0x10bfe6,_0x1553b2){const _0x4ac8fd=_0xfd1766;super(),this[_0x4ac8fd(0x247)]=_0x35f370,this[_0x4ac8fd(0x217)]=_0x331e6f,this[_0x4ac8fd(0x28e)]=_0xd6ef1a,this['_uiPartsService']=_0x1803b8,this[_0x4ac8fd(0x1d5)]=_0x10bfe6,this[_0x4ac8fd(0x19a)]=_0x1553b2;const {..._0x133ccf}=u['merge']({},L,this[_0x4ac8fd(0x247)]);this[_0x4ac8fd(0x28e)]['setConfig'](P,_0x133ccf);}async[_0xfd1766(0x296)](){const _0x4cab59=_0xfd1766,_0x9165ee=[[exports['MCPConnectionUIController']],[exports['MCPConfigUIController']],[exports['MCPUIMenuController']]];this[_0x4cab59(0x217)][_0x4cab59(0x20a)](A[_0x4cab59(0x26e)])||_0x9165ee[_0x4cab59(0x1e1)]([A[_0x4cab59(0x26e)],{'useClass':A[_0x4cab59(0x244)]}]),_0x9165ee['forEach'](_0x3e123a=>this[_0x4cab59(0x217)][_0x4cab59(0x187)](_0x3e123a)),this[_0x4cab59(0x217)]['get'](exports[_0x4cab59(0x194)]),this['_injector'][_0x4cab59(0x25d)](exports[_0x4cab59(0x228)]),this['_injector'][_0x4cab59(0x25d)](exports['MCPUIMenuController']);}},$e(exports[_0xfd1766(0x1ed)],_0xfd1766(0x241),'MCP_UI_PLUGIN'),exports[_0xfd1766(0x1ed)]=Ue([u['DependentOn'](s['UniverMCPPlugin']),y(0x1,u['Inject'](u[_0xfd1766(0x26f)])),y(0x2,u[_0xfd1766(0x221)]),y(0x3,v[_0xfd1766(0x1cb)]),y(0x4,u[_0xfd1766(0x157)]),y(0x5,u[_0xfd1766(0x280)](u[_0xfd1766(0x1c8)]))],exports['UniverMCPUIPlugin']),exports[_0xfd1766(0x14a)]=V,exports['MCPStatusDisplay']=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0xfd1766(0x21f)]=Ee,exports[_0xfd1766(0x11e)]=we;
1
+ 'use strict';const _0x2a4830=_0x4002;(function(_0x50456d,_0x35beb7){const _0x30367f=_0x4002,_0x38ad16=_0x50456d();while(!![]){try{const _0x3b39ce=parseInt(_0x30367f(0x116))/0x1+-parseInt(_0x30367f(0xc2))/0x2*(parseInt(_0x30367f(0x1f2))/0x3)+-parseInt(_0x30367f(0xec))/0x4*(parseInt(_0x30367f(0x10d))/0x5)+parseInt(_0x30367f(0x146))/0x6+parseInt(_0x30367f(0x15e))/0x7+-parseInt(_0x30367f(0xcb))/0x8*(parseInt(_0x30367f(0xb4))/0x9)+-parseInt(_0x30367f(0x195))/0xa;if(_0x3b39ce===_0x35beb7)break;else _0x38ad16['push'](_0x38ad16['shift']());}catch(_0x52b4fe){_0x38ad16['push'](_0x38ad16['shift']());}}}(_0x5866,0x9cf6b));var ae=Object['defineProperty'],le=(_0xfbf794,_0x215975,_0x399dc8)=>_0x215975 in _0xfbf794?ae(_0xfbf794,_0x215975,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x399dc8}):_0xfbf794[_0x215975]=_0x399dc8,I=(_0x30eca2,_0x11476d,_0x2206fd)=>le(_0x30eca2,typeof _0x11476d!=_0x2a4830(0x141)?_0x11476d+'':_0x11476d,_0x2206fd);Object[_0x2a4830(0x1dd)](exports,Symbol[_0x2a4830(0x147)],{'value':_0x2a4830(0x11f)});function _0x5866(){const _0x7e940b=['mcpConfig.save','text','mcpConfig.sessionIdDescription','createElement','M0\x200H16V16H0z','IUIPartsService','errorMessage','includes','Tooltip','mcpConfig.connectionInfo','2035tvdCQF','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','connectInjector','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.validation.apiKeyRequired','mcpConfig.connectionError.unauthorized','apiKey','mcp.apiKey','univer-text-green-500','1127897rwwTJb','Input','Disconnected','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','Authorization:','svg','mcpStatus.retrying','RibbonStartGroup','_registerComponent','Module','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Invalid\x20configuration','mcpConfig.connectionStatus.retrying','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','close-icon','enableAutoConnect','API\x20密钥','CONNECTED','univer-text-sm\x20univer-font-medium','showConfigPanel','API\x20key\x20is\x20required','IMessageService','removeItem','_configService','Save\x20Configuration','UniverIcon','mcpConfig.configStep1','配置保存失败','univer-shrink-0\x20univer-text-blue-500','Bearer\x20','SESSION_ID_OCCUPIED','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','_menuManagerService','Click\x20to\x20configure\x20MCP','点击配置\x20MCP','univer-text-blue-600','forwardRef','mask','connectionStatus$','MCPStatusDisplay','已连接','https://console.univer.plus','symbol','bottom','evenodd','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','您的\x20API\x20密钥安全存储在本地存储中','5244918hvlZmh','toStringTag','subscribe','has','registerComponent','Click\x20to\x20connect\x20MCP','OnLineIcon','get','mcp-ui.config','API\x20Key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Success','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20已连接','什么是\x20API\x20密钥?','map','ISocketService','IDialogService','MCP:\x20Unauthorized','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20超出最大重试次数','useDependency','1674722muDRjD','Session\x20ID','univer-bg-green-500','MCP:\x20Max\x20Retries\x20Exceeded','displayName','pluginName','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','onStarting','_logService','_handleConfigSave','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','value','defs','univer-bg-red-500','round','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','defIds','univer-space-y-4','配置无效','univerjs-icon\x20univerjs-icon-','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcpConfig.configError','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpConfig.configInstructions','mcpStatus.maxRetriesExceeded','stringify','mcpConfig.configStepTitle','isValid','entries','univer-flex\x20univer-flex-wrap\x20univer-gap-2','https://console.univer.ai','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','BehaviorSubject','_localStorageService','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','会话ID','_initConfigSync','mergeMenu','zhCN','Button','span','check-mark-icon','_loadStoredApiKey','_uiPartsService','API\x20密钥不能为空','univer-flex\x20univer-items-center\x20univer-gap-2','UNAUTHORIZED','\x20-\x20','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-flex\x20univer-items-start\x20univer-gap-2','Enable\x20Authentication','univer-font-medium','MCP:\x20网络错误','colorChannel1','224390fcjfWj','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Inject','API\x20key\x20with\x20Bearer\x20prefix.','MCPConnectionStatus','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Configuration\x20Parameters:','_commandService','mcpConfig.configStep2','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','mcpConfig.description','UniverMCPUIPlugin','NONE','MCP\x20Unknown\x20Status','将配置添加到您的\x20MCP\x20客户端设置文件中','_initAutoConnect','带有\x20Bearer\x20前缀的\x20API\x20密钥。','CommandType','_injector','univer-space-y-3','jsxs','超出最大重试次数,请稍后再试','trim','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','0\x200\x2016\x2016','_config','API\x20密钥无效,请检查密钥是否正确','MCP\x20Disconnected','_initStatusComponent','univer.plus','mcpConfig.authorizationDescription','univer-text-red-500','show','univer-bg-gray-500','0\x200\x2017\x2016','none','mcpStatus.disconnected','push','_componentManager','mcpStatus.sessionOccupied','What\x20is\x20API\x20Key?','help-icon','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MCP:\x20会话\x20ID\x20已被占用','univer-text-xs\x20univer-text-gray-600','权限验证失败,请检查您的\x20API\x20密钥','toString','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Univer\x20AI\x20控制台','Injector','_validateConfig','mcpConfig.connectionError.sessionOccupied','MCPConfigPanel','off','IMenuManagerService','getOwnPropertyDescriptor','UniverMCPPlugin','mcpStatus.unauthorized','useObservable','univer-space-y-2','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','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','close','MCP\x20Client\x20Configuration','mcp-ui.command.openConfigPanel','random','univer-text-gray-400','RETRYING','on-line-icon','validateApiKey','xlink:href','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','defineProperty','button','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mcpStatus.connecting','OffLineIcon','div','MCPConnectionUIController','connectionError$','univer-text-gray-500','__setCustomHeaders','1em','useCallback','MCP\x20客户端配置','Configuration\x20Notes:','<SESSION_ID>','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','translate(.97)','MCP:\x20Session\x20ID\x20Occupied','_initializeMenus','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','MCP\x20连接失败','3VlFTgx','Plugin','sessionId$','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','use','Max\x20Retries','ILocalStorageService','连接失败','OTHERS','univer-flex\x20univer-items-center','_localeService','<API_KEY>','MenuIcon','length','_initializeCommands','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','FAILED','会话\x20ID\x20已被占用,请稍后再试','currentColor','mcpConfig.configStep3','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','add','url(#$1','mcpConfig.title','LocaleService','univer.ai','off-line-icon','_dialogService','MCP_PLUGIN_CONFIG_KEY','启用身份验证以获得安全连接','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','url(#off-line-icon_clip0_910_343)','useState','Disposable','mcpConfig.validation.invalidApiKey','最大重试次数','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','getConfig','enUS','mcpConfig.validation.invalidConfig','mcpConfig.apiApplyInfo.description','IConfigService','NETWORK_ERROR','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','几秒钟内获取您的\x20API\x20密钥','MCPUIMenuController','\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','off-line-icon_clip0_910_343','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','substring','_messageService','useRef','disposeWithMe','ComponentManager','MCP\x20Configuration','HelpIcon','_handleConfigure','showDeveloperTools','warn','_blank','mcp-config-dialog','配置更改将立即生效','univer-space-y-5','BuiltInUIPart','path','_apiKey$','univer-flex\x20univer-items-center\x20univer-gap-3','DependentOn','subscribeConfigValue$','Error','error','18otOUoG','mcpConfig.connectionStatus.failed','配置保存成功','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','MCP\x20Connecting...','next','MessageType','register','WebSocketService','fill','children','attrs','_loading$','网络连接错误,请检查您的网络连接','322634OSbQeA','_mcpCoreConfig$','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','请输入您的\x20API\x20密钥','MAX_RETRIES_EXCEEDED','Enter\x20your\x20API\x20key','clsx','MCPConfigUIController','MCP\x20状态未知','795632CZJust','MCPConnectionError','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','mcpServerUrl','clipPath','mcpStatus.clickToConnect','启用身份验证','univer-text-xs\x20univer-text-gray-500','_mcpConnectionController','_createConfigPanelComponent','noopener\x20noreferrer','mcpConfig.connectionStatus.disconnected','current','assign','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.saving','配置参数:','_connectionController','mcpStatus.connected','MCP\x20重连中...','MCP\x20连接中...','mcpConfig.apiApplyInfo.title','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','点击连接\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','replace','univer-min-w-0\x20univer-flex-1','mcpConfig.apiKey','idSuffix','mcpConfig.note1','open','tag','11948ncgxYl','setConfig','mcpStatus.unknown','MCP\x20Connected','jsx','MCPConnectionController','setItem','您的\x20API\x20密钥将在此浏览器中本地存储','MenuItemType','forEach','Univer\x20AI\x20Console','getCurrentConfig','string','http://www.w3.org/2000/svg','CONNECTING','ICommandService','Connection\x20Failed','_config$','mcpConfig.note2','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.connectionStatus.connecting','mcpConfig.apiKeyPlaceholder','DISCONNECTED'];_0x5866=function(){return _0x7e940b;};return _0x5866();}const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x121da,..._0x4dbc6c}){const _0xfed03b=_0x2a4830,{icon:_0x4a27e1,id:_0x20d783,className:_0x5ec0cc,extend:_0x18d565,..._0x4a7204}=_0x4dbc6c,_0x4dc96a=(_0xfed03b(0x172)+_0x20d783+'\x20'+(_0x5ec0cc||''))[_0xfed03b(0x1ab)](),_0x305cee=d[_0xfed03b(0x226)]('_'+de());return G(_0x4a27e1,''+_0x20d783,{'defIds':_0x4a27e1[_0xfed03b(0x16f)],'idSuffix':_0x305cee[_0xfed03b(0xd7)]},{'ref':_0x121da,'className':_0x4dc96a,..._0x4a7204},_0x18d565);}function G(_0x3cd32d,_0x351d76,_0x298794,_0x484ddc,_0x26e84e){const _0x8e0702=_0x2a4830;return d[_0x8e0702(0x106)](_0x3cd32d[_0x8e0702(0xeb)],{'key':_0x351d76,...ue(_0x3cd32d,_0x298794,_0x26e84e),..._0x484ddc},(ve(_0x3cd32d,_0x298794)['children']||[])[_0x8e0702(0x155)]((_0x338c2d,_0x478e91)=>G(_0x338c2d,_0x351d76+'-'+_0x3cd32d['tag']+'-'+_0x478e91,_0x298794,void 0x0,_0x26e84e)));}function ue(_0x5a807d,_0x112c0c,_0x147cdd){const _0x13c867=_0x2a4830,_0x36aca3={..._0x5a807d['attrs']};_0x147cdd!=null&&_0x147cdd[_0x13c867(0x194)]&&_0x36aca3['fill']===_0x13c867(0x194)&&(_0x36aca3[_0x13c867(0xbd)]=_0x147cdd['colorChannel1']),_0x5a807d[_0x13c867(0xeb)]===_0x13c867(0x13c)&&_0x36aca3['id']&&(_0x36aca3['id']=_0x36aca3['id']+_0x112c0c[_0x13c867(0xe8)]),Object[_0x13c867(0x17b)](_0x36aca3)['forEach'](([_0x4a71af,_0x486cfe])=>{const _0x240b71=_0x13c867;_0x4a71af==='mask'&&typeof _0x486cfe=='string'&&(_0x36aca3[_0x4a71af]=_0x486cfe[_0x240b71(0xe5)](/url\(#(.*)\)/,'url(#$1'+_0x112c0c[_0x240b71(0xe8)]+')'));});const {defIds:_0x3b4681}=_0x112c0c;return!_0x3b4681||_0x3b4681[_0x13c867(0x1ff)]===0x0||(_0x5a807d['tag']===_0x13c867(0x1f6)&&_0x36aca3[_0x13c867(0x1db)]&&(_0x36aca3[_0x13c867(0x1db)]=_0x36aca3[_0x13c867(0x1db)]+_0x112c0c[_0x13c867(0xe8)]),Object['entries'](_0x36aca3)[_0x13c867(0xf5)](([_0x34e63c,_0xb4cb0])=>{const _0x7cb013=_0x13c867;typeof _0xb4cb0=='string'&&(_0x36aca3[_0x34e63c]=_0xb4cb0['replace'](/url\(#(.*)\)/,_0x7cb013(0x209)+_0x112c0c[_0x7cb013(0xe8)]+')'));})),_0x36aca3;}function ve(_0x2303c9,_0x309638){const _0x151a13=_0x2a4830;var _0x366308;const {defIds:_0x8c666}=_0x309638;return!_0x8c666||_0x8c666['length']===0x0?_0x2303c9:_0x2303c9[_0x151a13(0xeb)]===_0x151a13(0x16a)&&((_0x366308=_0x2303c9[_0x151a13(0xbe)])!=null&&_0x366308[_0x151a13(0x1ff)])?{..._0x2303c9,'children':_0x2303c9[_0x151a13(0xbe)]['map'](_0x697984=>typeof _0x697984[_0x151a13(0xbf)]['id']==_0x151a13(0xf8)&&_0x8c666&&_0x8c666[_0x151a13(0x10a)](_0x697984[_0x151a13(0xbf)]['id'])?{..._0x697984,'attrs':{..._0x697984['attrs'],'id':_0x697984[_0x151a13(0xbf)]['id']+_0x309638[_0x151a13(0xe8)]}}:_0x697984)}:_0x2303c9;}function de(){const _0x14c656=_0x2a4830;return Math[_0x14c656(0x1d6)]()[_0x14c656(0x1c3)](0x24)[_0x14c656(0x224)](0x2,0x8);}_[_0x2a4830(0x162)]=_0x2a4830(0x130);const Ce={'tag':_0x2a4830(0x11b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4830(0x1b8),'viewBox':'0\x200\x2016\x2016','width':_0x2a4830(0x1e7),'height':_0x2a4830(0x1e7)},'children':[{'tag':_0x2a4830(0xad),'attrs':{'fill':_0x2a4830(0x204),'d':_0x2a4830(0x211),'fillRule':_0x2a4830(0x143),'clipRule':_0x2a4830(0x143)}}]},H=d['forwardRef'](function(_0x32b00c,_0x46c4c0){const _0x2211c7=_0x2a4830;return d['createElement'](_,Object['assign']({},_0x32b00c,{'id':_0x2211c7(0x188),'ref':_0x46c4c0,'icon':Ce}));});H[_0x2a4830(0x162)]='CheckMarkIcon';const ge={'tag':_0x2a4830(0x11b),'attrs':{'xmlns':_0x2a4830(0xf9),'fill':'none','viewBox':_0x2a4830(0x1ad),'width':_0x2a4830(0x1e7),'height':_0x2a4830(0x1e7)},'children':[{'tag':_0x2a4830(0xad),'attrs':{'fill':_0x2a4830(0x204),'d':_0x2a4830(0x119)}}]},B=d[_0x2a4830(0x13b)](function(_0x5513f4,_0x538d53){const _0x2847d2=_0x2a4830;return d[_0x2847d2(0x106)](_,Object[_0x2847d2(0xd8)]({},_0x5513f4,{'id':_0x2847d2(0x125),'ref':_0x538d53,'icon':ge}));});B[_0x2a4830(0x162)]='CloseIcon';const fe={'tag':_0x2a4830(0x11b),'attrs':{'xmlns':_0x2a4830(0xf9),'fill':_0x2a4830(0x1b8),'viewBox':_0x2a4830(0x1ad),'width':_0x2a4830(0x1e7),'height':_0x2a4830(0x1e7)},'children':[{'tag':_0x2a4830(0xad),'attrs':{'fill':_0x2a4830(0x204),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':'path','attrs':{'fill':_0x2a4830(0x204),'d':_0x2a4830(0xcd)}},{'tag':_0x2a4830(0xad),'attrs':{'fill':_0x2a4830(0x204),'d':_0x2a4830(0x1d1),'fillRule':_0x2a4830(0x143),'clipRule':'evenodd'}}]},F=d[_0x2a4830(0x13b)](function(_0x238490,_0x72267e){const _0x54f459=_0x2a4830;return d[_0x54f459(0x106)](_,Object[_0x54f459(0xd8)]({},_0x238490,{'id':_0x54f459(0x1be),'ref':_0x72267e,'icon':fe}));});F['displayName']=_0x2a4830(0x22a);const pe={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4830(0x1b8),'viewBox':_0x2a4830(0x1ad),'width':_0x2a4830(0x1e7),'height':_0x2a4830(0x1e7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4830(0x212)},'children':[{'tag':'path','attrs':{'stroke':_0x2a4830(0x204),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2a4830(0x16c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2a4830(0x16a),'attrs':{},'children':[{'tag':_0x2a4830(0xcf),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x2a4830(0x107)}}]}]}],'defIds':[_0x2a4830(0x222)]},Y=d[_0x2a4830(0x13b)](function(_0x16c95e,_0x4fb904){const _0x241e75=_0x2a4830;return d[_0x241e75(0x106)](_,Object[_0x241e75(0xd8)]({},_0x16c95e,{'id':_0x241e75(0x20d),'ref':_0x4fb904,'icon':pe}));});Y[_0x2a4830(0x162)]=_0x2a4830(0x1e1);const he={'tag':_0x2a4830(0x11b),'attrs':{'xmlns':_0x2a4830(0xf9),'fill':_0x2a4830(0x1b8),'viewBox':_0x2a4830(0x1b7),'width':'1em','height':_0x2a4830(0x1e7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2a4830(0xad),'attrs':{'stroke':_0x2a4830(0x204),'d':_0x2a4830(0x1ec),'strokeLinecap':_0x2a4830(0x16c),'strokeLinejoin':_0x2a4830(0x16c),'strokeWidth':1.2}}]},{'tag':_0x2a4830(0x16a),'attrs':{},'children':[{'tag':_0x2a4830(0xcf),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x2a4830(0x107),'transform':_0x2a4830(0x1ed)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},q=d[_0x2a4830(0x13b)](function(_0x3110c0,_0x1c8de7){const _0x4d2861=_0x2a4830;return d[_0x4d2861(0x106)](_,Object[_0x4d2861(0xd8)]({},_0x3110c0,{'id':_0x4d2861(0x1d9),'ref':_0x1c8de7,'icon':he}));});q['displayName']=_0x2a4830(0x14c);function V(_0x3c681d){const _0x360f3a=_0x2a4830;var _0x552351,_0x31bf4a;const {mcpCoreConfig:_0x1b81b9,onSave:_0x5609a8,loading:_0x473068=!0x1,config:_0x40c91e,connectionStatus$:_0x41b3bd,connectionError$:_0x40c2c0,currentApiKey$:_0x5c46ed,currentSessionId$:_0x28f7f5}=_0x3c681d,_0x4af89a=v[_0x360f3a(0x15d)](u[_0x360f3a(0x20b)]),_0x4f64ff=v[_0x360f3a(0x1cf)](_0x41b3bd,s[_0x360f3a(0x199)][_0x360f3a(0x102)]),_0x1514d8=v['useObservable'](_0x40c2c0,s['MCPConnectionError'][_0x360f3a(0x1a1)]),_0x2d5e32=v['useObservable'](_0x28f7f5,''),_0x207b58=v[_0x360f3a(0x1cf)](_0x5c46ed,''),[_0x36d4e0,_0x1be6e4]=d[_0x360f3a(0x213)](_0x207b58||''),_0xcce1fd=!0x0,_0x338e58=_0x40c91e[_0x360f3a(0x22c)]&&_0x1b81b9[_0x360f3a(0xce)]&&(_0x1b81b9[_0x360f3a(0xce)][_0x360f3a(0x10a)](_0x360f3a(0x1b2))||_0x1b81b9[_0x360f3a(0xce)][_0x360f3a(0x10a)](_0x360f3a(0x20c))),_0x59eb47=(_0x552351=_0x1b81b9[_0x360f3a(0xce)])==null?void 0x0:_0x552351[_0x360f3a(0x10a)](_0x360f3a(0x1b2)),_0x1a72f4=(_0x31bf4a=_0x1b81b9[_0x360f3a(0xce)])==null?void 0x0:_0x31bf4a[_0x360f3a(0x10a)](_0x360f3a(0x20c)),_0x523d00=_0x59eb47?_0x360f3a(0x140):_0x360f3a(0x17d),_0x55ca99=_0x40c91e['showDeveloperTools']&&(_0x59eb47||_0x1a72f4),[_0x56d3b5,_0x53c080]=d[_0x360f3a(0x213)](!_0x36d4e0['trim']()),_0x1ff6a7=(_0x4f7093,_0x382c21)=>{const _0xe9b5c3=_0x360f3a;if(_0x382c21===s[_0xe9b5c3(0xcc)]['UNAUTHORIZED'])return _0xe9b5c3(0x173);switch(_0x4f7093){case s[_0xe9b5c3(0x199)][_0xe9b5c3(0x128)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s[_0xe9b5c3(0x199)][_0xe9b5c3(0xfa)]:case s[_0xe9b5c3(0x199)][_0xe9b5c3(0x1d8)]:return _0xe9b5c3(0x1c4);case s[_0xe9b5c3(0x199)][_0xe9b5c3(0x202)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0xe9b5c3(0x1d2);}},_0x5155d3=(_0x494932,_0x1d86d6)=>{const _0x1b8f35=_0x360f3a;if(_0x1d86d6===s[_0x1b8f35(0xcc)][_0x1b8f35(0x18d)])return _0x1b8f35(0x16b);switch(_0x494932){case s[_0x1b8f35(0x199)][_0x1b8f35(0x128)]:return _0x1b8f35(0x160);case s[_0x1b8f35(0x199)]['CONNECTING']:case s['MCPConnectionStatus']['RETRYING']:return'univer-bg-blue-500';case s[_0x1b8f35(0x199)]['FAILED']:return _0x1b8f35(0x16b);default:return _0x1b8f35(0x1b6);}},_0x219c21=_0x24a8d7=>{const _0x1228dc=_0x360f3a;switch(_0x24a8d7){case s['MCPConnectionStatus'][_0x1228dc(0x128)]:return _0x4af89a['t']('mcpConfig.connectionStatus.connected');case s[_0x1228dc(0x199)][_0x1228dc(0xfa)]:return _0x4af89a['t'](_0x1228dc(0x100));case s[_0x1228dc(0x199)][_0x1228dc(0x202)]:return _0x4af89a['t'](_0x1228dc(0xb5));case s[_0x1228dc(0x199)][_0x1228dc(0x1d8)]:return _0x4af89a['t'](_0x1228dc(0x123));default:return _0x4af89a['t'](_0x1228dc(0xd6));}},_0x5ef593=_0xb47451=>{const _0x4e5c14=_0x360f3a;switch(_0xb47451){case s[_0x4e5c14(0xcc)][_0x4e5c14(0x18d)]:return _0x4af89a['t'](_0x4e5c14(0x112));case s[_0x4e5c14(0xcc)][_0x4e5c14(0x135)]:return _0x4af89a['t'](_0x4e5c14(0x1c8));case s['MCPConnectionError'][_0x4e5c14(0x21d)]:return _0x4af89a['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x4af89a['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x4e450f=d[_0x360f3a(0x1e8)](()=>{const _0x4548e5=_0x360f3a,_0x297e27={..._0x1b81b9,'apiKey':_0x36d4e0[_0x4548e5(0x1ab)](),'enableAuth':_0xcce1fd};_0x5609a8(_0x297e27);},[_0x1b81b9,_0x36d4e0,_0xcce1fd,_0x5609a8]),_0x53f2a5=_0x36d4e0[_0x360f3a(0x1ab)]()[_0x360f3a(0x1ff)]>0x0;return i['jsxs'](_0x360f3a(0x1e2),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x1bf),'children':i['jsxs'](_0x360f3a(0x1e2),{'className':_0x360f3a(0xaf),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x19a),'children':i['jsx'](_0x360f3a(0x187),{'className':'univer-text-white','children':'⚙'})}),i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'children':i[_0x360f3a(0xf0)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x4af89a['t'](_0x360f3a(0x19f))})})]})}),i['jsxs']('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[i['jsx'](_0x360f3a(0x1e2),{'className':f[_0x360f3a(0xc8)](_0x360f3a(0x1df),_0x1ff6a7(_0x4f64ff,_0x1514d8)),'children':i['jsxs'](_0x360f3a(0x1e2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':f[_0x360f3a(0xc8)]('univer-size-2\x20univer-rounded-full',_0x5155d3(_0x4f64ff,_0x1514d8))}),i['jsx'](_0x360f3a(0x187),{'className':_0x360f3a(0x129),'children':_0x219c21(_0x4f64ff)})]})}),_0x1514d8!==s[_0x360f3a(0xcc)][_0x360f3a(0x1a1)]&&(_0x4f64ff===s['MCPConnectionStatus'][_0x360f3a(0x202)]||_0x1514d8===s[_0x360f3a(0xcc)][_0x360f3a(0x18d)])&&i['jsx'](_0x360f3a(0x1e2),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':i['jsxs'](_0x360f3a(0x1e2),{'className':_0x360f3a(0x190),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),i[_0x360f3a(0xf0)]('p',{'className':_0x360f3a(0x10e),'children':_0x5ef593(_0x1514d8)})]})})]}),i[_0x360f3a(0xf0)]('div',{'className':_0x360f3a(0xe4),'children':i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x231),'children':[i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x1d0),'children':[i[_0x360f3a(0x1a9)]('label',{'className':_0x360f3a(0xb7),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'children':'🔑'}),'\x20',_0x4af89a['t'](_0x360f3a(0xe7)),i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'className':_0x360f3a(0x1b4),'children':'*'}),_0x338e58&&i[_0x360f3a(0xf0)]('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x4af89a['t'](_0x360f3a(0xe0)),'role':_0x360f3a(0x1de),'onClick':()=>_0x53c080(!0x0),'children':i[_0x360f3a(0xf0)](F,{})})]}),i[_0x360f3a(0xf0)](f[_0x360f3a(0x117)],{'type':_0x360f3a(0x104),'placeholder':_0x4af89a['t'](_0x360f3a(0x101)),'value':_0x36d4e0,'disabled':_0x473068,'autoComplete':_0x360f3a(0x1ca),'onChange':_0x1be6e4}),i[_0x360f3a(0xf0)]('p',{'className':_0x360f3a(0xd2),'children':_0x4af89a['t']('mcpConfig.apiKeyHint')})]}),_0x338e58&&_0x56d3b5&&i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0xe1),'children':[i[_0x360f3a(0xf0)]('a',{'className':_0x360f3a(0x19e),'role':_0x360f3a(0x1de),'onClick':()=>_0x53c080(!0x1),'children':i[_0x360f3a(0xf0)](B,{'className':'univer-size-4'})}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x181),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':i['jsx'](_0x360f3a(0x187),{'className':_0x360f3a(0x13a),'children':'🚀'})}),i[_0x360f3a(0x1a9)]('div',{'className':'univer-flex-1','children':[i[_0x360f3a(0xf0)]('h4',{'className':_0x360f3a(0x18f),'children':_0x4af89a['t'](_0x360f3a(0xe0))}),i[_0x360f3a(0xf0)]('p',{'className':_0x360f3a(0x120),'children':_0x4af89a['t'](_0x360f3a(0x21b))}),i[_0x360f3a(0xf0)]('div',{'className':_0x360f3a(0x17c),'children':_0x55ca99&&i['jsxs']('a',{'className':_0x360f3a(0x223),'href':_0x523d00,'target':_0x360f3a(0x22e),'rel':_0x360f3a(0xd5),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'children':'🤖'}),_0x4af89a['t']('mcpConfig.apiApplyInfo.univerAiLabel'),i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'className':_0x360f3a(0x1d7),'children':'↗'})]})}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x110),'children':['✨','\x20',_0x4af89a['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x40c91e[_0x360f3a(0x22c)]&&i[_0x360f3a(0x1a9)]('div',{'className':_0x360f3a(0x144),'children':[i[_0x360f3a(0x1a9)]('h4',{'className':_0x360f3a(0xd9),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'children':'🔗'}),'\x20',_0x4af89a['t'](_0x360f3a(0x10c))]}),i['jsxs'](_0x360f3a(0x1e2),{'className':_0x360f3a(0x170),'children':[i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x1a8),'children':[i[_0x360f3a(0xf0)]('p',{'className':_0x360f3a(0x1c1),'children':_0x4af89a['t'](_0x360f3a(0x176))}),i[_0x360f3a(0x1a9)]('div',{'className':'univer-space-y-2','children':[i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x17e),'children':_0x4af89a['t'](_0x360f3a(0x179))}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x164),'children':[i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'className':_0x360f3a(0x217),'children':'1'}),_0x4af89a['t'](_0x360f3a(0x131))]}),i[_0x360f3a(0x1a9)]('div',{'className':_0x360f3a(0x18c),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'className':_0x360f3a(0x217),'children':'2'}),_0x4af89a['t'](_0x360f3a(0x19d))]}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x18c),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'className':_0x360f3a(0x217),'children':'3'}),_0x4af89a['t'](_0x360f3a(0x205))]})]})]})]}),i['jsxs']('div',{'className':_0x360f3a(0x1d0),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x17e),'children':_0x360f3a(0x229)}),i[_0x360f3a(0xf0)]('div',{'className':_0x360f3a(0x121),'children':i['jsx']('pre',{'className':_0x360f3a(0x1dc),'children':JSON[_0x360f3a(0x178)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x2d5e32||_0x360f3a(0x1eb)),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0x36d4e0||_0x360f3a(0x1fd))}}}},null,0x2)})})]}),i['jsxs'](_0x360f3a(0x1e2),{'className':_0x360f3a(0x1a8),'children':[i['jsx'](_0x360f3a(0x1e2),{'className':_0x360f3a(0x17e),'children':_0x4af89a['t']('mcpConfig.configParameters')}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x1d0),'children':[i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0xff),'children':[i['jsx']('div',{'className':_0x360f3a(0x21e)}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0xe6),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x16e),'children':'univer_session_id:'}),i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':_0x360f3a(0xd2),'children':_0x4af89a['t'](_0x360f3a(0x105))})]})]}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x360f3a(0xf0)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x21e)}),i['jsxs'](_0x360f3a(0x1e2),{'className':_0x360f3a(0xe6),'children':[i['jsx'](_0x360f3a(0x1e2),{'className':_0x360f3a(0x16e),'children':_0x360f3a(0x11a)}),i['jsx'](_0x360f3a(0x1e2),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x4af89a['t'](_0x360f3a(0x1b3))})]})]})]})]})]})]}),i[_0x360f3a(0xf0)](f[_0x360f3a(0x186)],{'onClick':_0x4e450f,'disabled':!_0x53f2a5||_0x473068,'className':_0x360f3a(0x1f0),'children':_0x473068?i[_0x360f3a(0x1a9)](_0x360f3a(0x187),{'className':_0x360f3a(0x18c),'children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'children':'⟲'}),_0x4af89a['t'](_0x360f3a(0xda))]}):i[_0x360f3a(0x1a9)](_0x360f3a(0x187),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x360f3a(0xf0)](H,{}),_0x4af89a['t'](_0x360f3a(0x103))]})}),i['jsx'](_0x360f3a(0x1e2),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':'univer-flex\x20univer-gap-3','children':[i[_0x360f3a(0xf0)](_0x360f3a(0x187),{'className':_0x360f3a(0x133),'children':'💡'}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'className':_0x360f3a(0x196),'children':[i[_0x360f3a(0xf0)]('div',{'className':_0x360f3a(0x192),'children':_0x360f3a(0x1ea)}),i[_0x360f3a(0x1a9)](_0x360f3a(0x1e2),{'children':['•',_0x4af89a['t'](_0x360f3a(0xe9))]}),i['jsxs']('div',{'children':['•',_0x4af89a['t'](_0x360f3a(0xfe))]})]})]})})]})})]});}const P=_0x2a4830(0x14e),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object['getOwnPropertyDescriptor'],xe=(_0x458ed5,_0x3f6752,_0x2f77c0,_0x5b22c3)=>{const _0x33c856=_0x2a4830;for(var _0x4917c2=_0x5b22c3>0x1?void 0x0:_0x5b22c3?me(_0x3f6752,_0x2f77c0):_0x3f6752,_0x34b1a5=_0x458ed5[_0x33c856(0x1ff)]-0x1,_0x2a0d22;_0x34b1a5>=0x0;_0x34b1a5--)(_0x2a0d22=_0x458ed5[_0x34b1a5])&&(_0x4917c2=_0x2a0d22(_0x4917c2)||_0x4917c2);return _0x4917c2;},g=(_0x4cfe18,_0x133726)=>(_0x4d61d8,_0x459f8f)=>_0x133726(_0x4d61d8,_0x459f8f,_0x4cfe18);const O=_0x2a4830(0x114),D=_0x2a4830(0x22f);exports[_0x2a4830(0xc9)]=class extends u[_0x2a4830(0x214)]{constructor(_0x480ef6,_0x161cf9,_0x2fb872,_0x1081ec,_0x5b1f75,_0x3fd513,_0x59b5d9,_0x2abad3,_0x450f32,_0x1b610e){const _0x48d44b=_0x2a4830;super(),I(this,_0x48d44b(0xc0),new M[(_0x48d44b(0x17f))](!0x1)),I(this,_0x48d44b(0xc3),new M[(_0x48d44b(0x17f))]({})),I(this,_0x48d44b(0xfd),new M[(_0x48d44b(0x17f))]({})),I(this,_0x48d44b(0xae),new M[(_0x48d44b(0x17f))]('')),I(this,_0x48d44b(0x167),async _0x5cbdb4=>{const _0x383bd7=_0x48d44b;var _0x480c0b,_0x2ab718;this[_0x383bd7(0xc0)]['next'](!0x0);try{const _0x395319=await this[_0x383bd7(0x1c7)](_0x5cbdb4);if(!_0x395319[_0x383bd7(0x17a)]){this[_0x383bd7(0x225)][_0x383bd7(0x1b5)]({'type':f[_0x383bd7(0xba)][_0x383bd7(0xb2)],'content':_0x395319[_0x383bd7(0x109)]||this[_0x383bd7(0x1fc)]['t'](_0x383bd7(0x21a))});return;}_0x5cbdb4[_0x383bd7(0x113)]?await this['_localStorageService'][_0x383bd7(0xf2)](O,_0x5cbdb4[_0x383bd7(0x113)][_0x383bd7(0x1ab)]()):await this[_0x383bd7(0x180)][_0x383bd7(0x12d)](O),this[_0x383bd7(0xae)][_0x383bd7(0xb9)](((_0x480c0b=_0x5cbdb4[_0x383bd7(0x113)])==null?void 0x0:_0x480c0b[_0x383bd7(0x1ab)]())||''),this[_0x383bd7(0xd3)][_0x383bd7(0x1e6)]({'Authorization':_0x383bd7(0x134)+((_0x2ab718=_0x5cbdb4['apiKey'])==null?void 0x0:_0x2ab718[_0x383bd7(0x1ab)]())}),this[_0x383bd7(0x225)][_0x383bd7(0x1b5)]({'type':f[_0x383bd7(0xba)][_0x383bd7(0x151)],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x2bdcef=_0x383bd7;this[_0x2bdcef(0x20e)]['close'](D);},0x320);}catch(_0x3b25e5){this['_logService'][_0x383bd7(0xb3)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x3b25e5),this[_0x383bd7(0x225)][_0x383bd7(0x1b5)]({'type':f[_0x383bd7(0xba)][_0x383bd7(0xb2)],'content':this[_0x383bd7(0x1fc)]['t'](_0x383bd7(0x174))});}finally{this[_0x383bd7(0xc0)][_0x383bd7(0xb9)](!0x1);}}),(this[_0x48d44b(0x1a7)]=_0x480ef6,this[_0x48d44b(0x18a)]=_0x161cf9,this[_0x48d44b(0x12e)]=_0x2fb872,this[_0x48d44b(0x180)]=_0x1081ec,this[_0x48d44b(0x20e)]=_0x5b1f75,this[_0x48d44b(0x225)]=_0x3fd513,this[_0x48d44b(0x1bb)]=_0x59b5d9,this[_0x48d44b(0x1fc)]=_0x2abad3,this[_0x48d44b(0x166)]=_0x450f32,this[_0x48d44b(0xd3)]=_0x1b610e,this[_0x48d44b(0x183)](),this[_0x48d44b(0x189)](),this[_0x48d44b(0x11e)]());}['showConfigPanel'](){const _0x3a8f3a=_0x2a4830,_0x117b2d=this[_0x3a8f3a(0x12e)]['getConfig'](P);_0x117b2d!=null&&_0x117b2d[_0x3a8f3a(0x22c)]&&this[_0x3a8f3a(0x20e)][_0x3a8f3a(0xea)]({'id':D,'title':{'title':this[_0x3a8f3a(0x1fc)]['t'](_0x3a8f3a(0x20a))},'children':{'label':_0x3a8f3a(0x1c9)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x2e6349=_0x3a8f3a;this[_0x2e6349(0x20e)][_0x2e6349(0x1d3)](D);}});}[_0x2a4830(0xf7)](){return this['_mcpCoreConfig$']['value'];}[_0x2a4830(0x11e)](){const _0x1afa04=_0x2a4830;this[_0x1afa04(0x227)](this[_0x1afa04(0x1bb)][_0x1afa04(0xbb)](_0x1afa04(0x1c9),this['_createConfigPanelComponent']()));}[_0x2a4830(0xd4)](){const _0x46ed3c=_0x2a4830;return v[_0x46ed3c(0x10f)](()=>{const _0x2a6407=_0x46ed3c;var _0x3592ef,_0x4b660d,_0x2ff5c8;return i[_0x2a6407(0xf0)](V,{'config':this[_0x2a6407(0xfd)][_0x2a6407(0x169)],'mcpCoreConfig':this[_0x2a6407(0xc3)]['value'],'currentApiKey$':this[_0x2a6407(0xae)],'onSave':this['_handleConfigSave'],'loading':this[_0x2a6407(0xc0)][_0x2a6407(0x169)],'connectionStatus$':(_0x3592ef=this[_0x2a6407(0xd3)])==null?void 0x0:_0x3592ef[_0x2a6407(0x13d)],'connectionError$':(_0x4b660d=this[_0x2a6407(0xd3)])==null?void 0x0:_0x4b660d['connectionError$'],'currentSessionId$':(_0x2ff5c8=this[_0x2a6407(0xd3)])==null?void 0x0:_0x2ff5c8[_0x2a6407(0x1f4)]});},this[_0x46ed3c(0x1a7)]);}['_initConfigSync'](){const _0x310006=_0x2a4830;this[_0x310006(0x227)](this[_0x310006(0x12e)][_0x310006(0xb1)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x310006(0x148)](_0x49e826=>{const _0x4f3123=_0x310006;this[_0x4f3123(0xc3)][_0x4f3123(0xb9)](_0x49e826||{});}));const _0x156854=this[_0x310006(0x12e)][_0x310006(0x218)](s[_0x310006(0x20f)]);this[_0x310006(0xc3)][_0x310006(0xb9)](_0x156854||{}),this[_0x310006(0x227)](this[_0x310006(0x12e)][_0x310006(0xb1)](P)[_0x310006(0x148)](_0x5d5245=>{const _0x2efada=_0x310006;this[_0x2efada(0xfd)]['next'](_0x5d5245||{});}));const _0xc03cc5=this['_configService']['getConfig'](P);this[_0x310006(0xfd)][_0x310006(0xb9)](_0xc03cc5||{});}async[_0x2a4830(0x189)](){const _0x2e15a5=_0x2a4830,_0x5af155=this[_0x2e15a5(0x12e)][_0x2e15a5(0x218)](P);if(!(_0x5af155!=null&&_0x5af155[_0x2e15a5(0x22c)]))return;const _0x40f98b=await this[_0x2e15a5(0x180)]['getItem'](O);_0x40f98b&&(this['_mcpConnectionController'][_0x2e15a5(0x1e6)]({'Authorization':_0x2e15a5(0x134)+_0x40f98b}),this['_apiKey$'][_0x2e15a5(0xb9)](_0x40f98b));}async[_0x2a4830(0x1c7)](_0x3c29c0){const _0x201e1c=_0x2a4830;if(!_0x3c29c0[_0x201e1c(0x113)]||_0x3c29c0[_0x201e1c(0x113)]['trim']()[_0x201e1c(0x1ff)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x201e1c(0x1fc)]['t'](_0x201e1c(0x111))};if(_0x3c29c0[_0x201e1c(0x113)][_0x201e1c(0x1ab)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x201e1c(0x1fc)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x46f3e6=await this[_0x201e1c(0x1a7)][_0x201e1c(0x14d)](s[_0x201e1c(0xf1)])[_0x201e1c(0x1da)](_0x3c29c0[_0x201e1c(0x113)]['trim']());return _0x46f3e6[_0x201e1c(0x17a)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x46f3e6[_0x201e1c(0xb3)]||this['_localeService']['t'](_0x201e1c(0x215))};}catch(_0xc0965d){return console[_0x201e1c(0x22d)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0xc0965d),{'isValid':!0x0};}}},exports[_0x2a4830(0xc9)]=xe([g(0x0,u[_0x2a4830(0x197)](u['Injector'])),g(0x1,v['IUIPartsService']),g(0x2,u[_0x2a4830(0x21c)]),g(0x3,u['ILocalStorageService']),g(0x4,v[_0x2a4830(0x157)]),g(0x5,v[_0x2a4830(0x12c)]),g(0x6,u['Inject'](v[_0x2a4830(0x228)])),g(0x7,u[_0x2a4830(0x197)](u[_0x2a4830(0x20b)])),g(0x8,u['ILogService']),g(0x9,u[_0x2a4830(0x197)](s[_0x2a4830(0xf1)]))],exports[_0x2a4830(0xc9)]);const b={'id':_0x2a4830(0x1d5),'type':u[_0x2a4830(0x1a6)]['COMMAND'],'handler':async(_0x467e89,_0x414207)=>(_0x467e89['get'](exports[_0x2a4830(0xc9)])[_0x2a4830(0x12a)](),!0x0)};function Z(_0x21c77b,_0x212981){const _0x11f779=_0x2a4830;switch(_0x21c77b){case s[_0x11f779(0x199)]['DISCONNECTED']:return _0x11f779(0x1b9);case s[_0x11f779(0x199)][_0x11f779(0xfa)]:return _0x11f779(0x1e0);case s[_0x11f779(0x199)][_0x11f779(0x128)]:return _0x11f779(0xdd);case s[_0x11f779(0x199)]['FAILED']:switch(_0x212981){case s[_0x11f779(0xcc)][_0x11f779(0x18d)]:return _0x11f779(0x1ce);case s[_0x11f779(0xcc)][_0x11f779(0x135)]:return _0x11f779(0x1bc);case s[_0x11f779(0xcc)]['NETWORK_ERROR']:return'mcpStatus.networkError';case s[_0x11f779(0xcc)][_0x11f779(0xc6)]:return _0x11f779(0x177);default:return'mcpStatus.failed';}case s[_0x11f779(0x199)]['RETRYING']:return _0x11f779(0x11c);default:return _0x11f779(0xee);}}function _0x4002(_0x14989b,_0x3e5e7b){_0x14989b=_0x14989b-0xac;const _0x586657=_0x5866();let _0x400289=_0x586657[_0x14989b];return _0x400289;}function Se(_0xd4d15,_0x543146,_0x167028,_0x5a10fe=!0x0){const _0x53f14e=_0x2a4830,_0x4f459f=Z(_0xd4d15,_0x543146),_0x4159cf=_0x167028['t'](_0x4f459f);return _0x5a10fe?_0xd4d15===s[_0x53f14e(0x199)][_0x53f14e(0x102)]&&_0x543146===s[_0x53f14e(0xcc)][_0x53f14e(0x18d)]?_0x4159cf+_0x53f14e(0x18e)+_0x167028['t']('mcpStatus.clickToConfigure'):_0xd4d15===s[_0x53f14e(0x199)][_0x53f14e(0x128)]?''+_0x4159cf:_0xd4d15===s[_0x53f14e(0x199)][_0x53f14e(0x102)]||_0xd4d15===s[_0x53f14e(0x199)][_0x53f14e(0x202)]?_0x4159cf+'\x20-\x20'+_0x167028['t'](_0x53f14e(0xd0)):_0x4159cf:_0x4159cf;}function Pe(_0x3f054c){const _0x512e68=_0x2a4830;switch(_0x3f054c){case s[_0x512e68(0x199)][_0x512e68(0x128)]:return _0x512e68(0x115);case s['MCPConnectionStatus']['CONNECTING']:case s['MCPConnectionStatus'][_0x512e68(0x1d8)]:return'univer-text-yellow-500';case s[_0x512e68(0x199)]['FAILED']:case s[_0x512e68(0x199)][_0x512e68(0x102)]:return _0x512e68(0x1b4);default:return _0x512e68(0x1e5);}}function W(_0x554562){const _0x9942f4=_0x2a4830,{status$:_0x5364f9,error$:_0x2d8f5c,onConfigure:_0x28e45a,showClickable:_0x1f724e=!0x0}=_0x554562,_0xa4e084=v[_0x9942f4(0x1cf)](_0x5364f9,s[_0x9942f4(0x199)]['DISCONNECTED']),_0x20972c=v[_0x9942f4(0x1cf)](_0x2d8f5c,s[_0x9942f4(0xcc)][_0x9942f4(0x1a1)]),_0xb18bc0=v[_0x9942f4(0x15d)](u[_0x9942f4(0x20b)]),_0xcc839a=_0xa4e084===s[_0x9942f4(0x199)][_0x9942f4(0x128)];_0xa4e084===s[_0x9942f4(0x199)][_0x9942f4(0xfa)]||s[_0x9942f4(0x199)][_0x9942f4(0x1d8)];const _0x4c2ac1=_0xb18bc0['t'](Z(_0xa4e084,_0x20972c)),_0x28dc2a=Se(_0xa4e084,_0x20972c,_0xb18bc0,_0x1f724e),_0x31894d=Pe(_0xa4e084),_0x35627f=_0xcc839a?i[_0x9942f4(0xf0)](q,{}):i[_0x9942f4(0xf0)](Y,{}),_0x2a7fab=d[_0x9942f4(0x1e8)](()=>{_0x1f724e&&_0x28e45a&&_0x28e45a();},[_0x1f724e,_0x28e45a]);function _0xa7ab1f(){const _0x3ce90d=_0x9942f4;return i[_0x3ce90d(0x1a9)]('div',{'className':f[_0x3ce90d(0xc8)](_0x3ce90d(0x1fb),_0x1f724e&&_0x28e45a&&_0x3ce90d(0x221)),'role':_0x3ce90d(0x1de),'onClick':_0x1f724e&&_0x28e45a?_0x2a7fab:void 0x0,'children':[i[_0x3ce90d(0xf0)]('div',{'className':f['clsx'](_0x3ce90d(0x16d),_0x31894d),'children':_0x35627f}),i[_0x3ce90d(0xf0)](_0x3ce90d(0x1e2),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c2ac1})]});}return i[_0x9942f4(0xf0)](f[_0x9942f4(0x10b)],{'title':_0x28dc2a,'placement':_0x9942f4(0x142),'children':_0xa7ab1f()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x2113fb,_0x1c7bac,_0x1f52c6,_0x744f84)=>{const _0x1e7d03=_0x2a4830;for(var _0x43f3b3=_0x744f84>0x1?void 0x0:_0x744f84?Ie(_0x1c7bac,_0x1f52c6):_0x1c7bac,_0x1933ee=_0x2113fb[_0x1e7d03(0x1ff)]-0x1,_0x2ac481;_0x1933ee>=0x0;_0x1933ee--)(_0x2ac481=_0x2113fb[_0x1933ee])&&(_0x43f3b3=_0x2ac481(_0x43f3b3)||_0x43f3b3);return _0x43f3b3;},N=(_0x38387f,_0x1e3ef7)=>(_0x1dbd6b,_0x460831)=>_0x1e3ef7(_0x1dbd6b,_0x460831,_0x38387f);exports['MCPConnectionUIController']=class extends u[_0x2a4830(0x214)]{constructor(_0x41ea15,_0x119ec5,_0x3a3883,_0x1582a4){const _0x19d8be=_0x2a4830;super(),this[_0x19d8be(0x1a7)]=_0x41ea15,this['_connectionController']=_0x119ec5,this[_0x19d8be(0x18a)]=_0x3a3883,this['_configService']=_0x1582a4,this[_0x19d8be(0x1a4)](),this['_initStatusComponent']();}[_0x2a4830(0x1a4)](){const _0x267907=_0x2a4830,_0x1cc5e5=this['_configService'][_0x267907(0x218)](P);_0x1cc5e5!=null&&_0x1cc5e5[_0x267907(0x22c)]&&(this[_0x267907(0xdc)][_0x267907(0x126)]=!0x1);}[_0x2a4830(0x1b1)](){const _0x3ee4a8=_0x2a4830,_0x263f04=this[_0x3ee4a8(0x12e)][_0x3ee4a8(0x218)](P);(_0x263f04==null?void 0x0:_0x263f04['showStatus'])!==!0x1&&this[_0x3ee4a8(0x227)](this['_uiPartsService'][_0x3ee4a8(0x14a)](v[_0x3ee4a8(0xac)]['HEADER_MENU'],()=>{const _0x58b5e1=_0x3ee4a8;var _0xd51a00;return v[_0x58b5e1(0x10f)](ye({'status$':this['_connectionController'][_0x58b5e1(0x13d)],'error$':this['_connectionController'][_0x58b5e1(0x1e4)],'onConfigure':()=>this[_0x58b5e1(0x22b)](),'showClickable':(_0xd51a00=_0x263f04==null?void 0x0:_0x263f04[_0x58b5e1(0x22c)])!=null?_0xd51a00:!0x1}),this[_0x58b5e1(0x1a7)]);}));}[_0x2a4830(0x22b)](){const _0x474c3e=_0x2a4830;this[_0x474c3e(0x1a7)][_0x474c3e(0x14d)](exports[_0x474c3e(0xc9)])[_0x474c3e(0x12a)]();}},exports[_0x2a4830(0x1e3)]=_e([N(0x0,u[_0x2a4830(0x197)](u[_0x2a4830(0x1c6)])),N(0x1,u[_0x2a4830(0x197)](s[_0x2a4830(0xf1)])),N(0x2,v[_0x2a4830(0x108)]),N(0x3,u[_0x2a4830(0x21c)])],exports[_0x2a4830(0x1e3)]);function ye(_0x4da7a5){const {status$:_0x11dcbe,error$:_0x52135a,onConfigure:_0x521880,showClickable:_0x59c3b6}=_0x4da7a5;return function(){const _0x530e2c=_0x4002;return i[_0x530e2c(0xf0)](W,{'status$':_0x11dcbe,'error$':_0x52135a,'onConfigure':_0x521880,'showClickable':_0x59c3b6});};}function Me(_0x58db21){const _0x5ec793=_0x2a4830;return{'id':b['id'],'type':v[_0x5ec793(0xf4)]['BUTTON'],'icon':_0x5ec793(0x1fe),'title':_0x5ec793(0x20a),'tooltip':_0x5ec793(0x20a)};}const Ne={[v[_0x2a4830(0x11d)][_0x2a4830(0x1fa)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x2a4830(0x1cc)],je=(_0x581c72,_0x3f9916,_0x985ec1,_0x64b548)=>{for(var _0x34455c=_0x64b548>0x1?void 0x0:_0x64b548?be(_0x3f9916,_0x985ec1):_0x3f9916,_0x436950=_0x581c72['length']-0x1,_0x6c101a;_0x436950>=0x0;_0x436950--)(_0x6c101a=_0x581c72[_0x436950])&&(_0x34455c=_0x6c101a(_0x34455c)||_0x34455c);return _0x34455c;},z=(_0x48402a,_0x26f975)=>(_0x93137a,_0x545383)=>_0x26f975(_0x93137a,_0x545383,_0x48402a);exports[_0x2a4830(0x220)]=class extends u['Disposable']{constructor(_0x22a787,_0x5254b4){const _0x36029b=_0x2a4830;super(),this[_0x36029b(0x19c)]=_0x22a787,this[_0x36029b(0x137)]=_0x5254b4,this['_initializeCommands'](),this[_0x36029b(0x1ef)]();}[_0x2a4830(0x200)](){const _0x22dda6=_0x2a4830;[b][_0x22dda6(0xf5)](_0xdebe09=>{const _0x3ebfb6=_0x22dda6;this[_0x3ebfb6(0x227)](this[_0x3ebfb6(0x19c)]['registerCommand'](_0xdebe09));});}['_initializeMenus'](){const _0x38ddc6=_0x2a4830;this[_0x38ddc6(0x137)][_0x38ddc6(0x184)](Ne);}},exports[_0x2a4830(0x220)]=je([z(0x0,u[_0x2a4830(0xfb)]),z(0x1,v[_0x2a4830(0x1cb)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':_0x2a4830(0x1b0),'connecting':_0x2a4830(0xb8),'connected':_0x2a4830(0xef),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x2a4830(0x1a2),'unauthorized':_0x2a4830(0x158),'sessionOccupied':_0x2a4830(0x1ee),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2a4830(0x161),'clickToConnect':_0x2a4830(0x14b),'clickToConfigure':_0x2a4830(0x138)},'mcpConfig':{'title':_0x2a4830(0x229),'description':_0x2a4830(0x1f5),'apiKey':_0x2a4830(0x14f),'apiKeyPlaceholder':_0x2a4830(0xc7),'apiKeyHint':_0x2a4830(0x168),'enableAuth':_0x2a4830(0x191),'enableAuthHint':_0x2a4830(0x15a),'connectionInfo':_0x2a4830(0x1d4),'mcpClientConfig':_0x2a4830(0x1d4),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x2a4830(0x159),'configStep2':_0x2a4830(0x152),'configStep3':_0x2a4830(0x124),'sessionId':_0x2a4830(0x15f),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2a4830(0x198),'configParameters':_0x2a4830(0x19b),'maxRetries':_0x2a4830(0x1f7),'save':_0x2a4830(0x12f),'saving':_0x2a4830(0x206),'note1':_0x2a4830(0x207),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2a4830(0x1bd),'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':_0x2a4830(0xf6),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2a4830(0x12b),'apiKeyTooShort':_0x2a4830(0xe3),'invalidConfig':_0x2a4830(0x122),'invalidApiKey':_0x2a4830(0x150)},'connectionStatus':{'disconnected':_0x2a4830(0x118),'connecting':'Connecting...','connected':'Connected','failed':_0x2a4830(0xfc),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2a4830(0x175),'sessionOccupied':_0x2a4830(0x201),'networkError':_0x2a4830(0x15b),'maxRetriesExceeded':_0x2a4830(0x1ac)}}},we={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x2a4830(0xdf),'connected':_0x2a4830(0x153),'failed':_0x2a4830(0x1f1),'retrying':_0x2a4830(0xde),'unknown':_0x2a4830(0xca),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x2a4830(0x1c0),'networkError':_0x2a4830(0x193),'maxRetriesExceeded':_0x2a4830(0x15c),'clickToConnect':_0x2a4830(0xe2),'clickToConfigure':_0x2a4830(0x139)},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x2a4830(0x127),'apiKeyPlaceholder':_0x2a4830(0xc5),'apiKeyHint':_0x2a4830(0xf3),'enableAuth':_0x2a4830(0xd1),'enableAuthHint':_0x2a4830(0x210),'connectionInfo':_0x2a4830(0x1e9),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':'配置步骤:','configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x2a4830(0x1a3),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x2a4830(0x182),'sessionIdDescription':_0x2a4830(0x136),'authorizationDescription':_0x2a4830(0x1a5),'configParameters':_0x2a4830(0xdb),'maxRetries':_0x2a4830(0x216),'save':'保存配置','saving':'保存中...','note1':_0x2a4830(0x230),'note2':_0x2a4830(0x145),'configSaved':_0x2a4830(0xb6),'configError':_0x2a4830(0x132),'apiApplyInfo':{'title':_0x2a4830(0x154),'description':_0x2a4830(0xc4),'univerAiLabel':_0x2a4830(0x1c5),'getStarted':_0x2a4830(0x21f)},'validation':{'apiKeyRequired':_0x2a4830(0x18b),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x2a4830(0x171),'invalidApiKey':_0x2a4830(0x1af)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x2a4830(0x13f),'failed':_0x2a4830(0x1f9),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x2a4830(0x1c2),'sessionOccupied':_0x2a4830(0x203),'networkError':_0x2a4830(0xc1),'maxRetriesExceeded':_0x2a4830(0x1aa)}}};var Ae=Object['defineProperty'],Oe=Object['getOwnPropertyDescriptor'],De=(_0x389318,_0x1dc07e,_0x2b521e)=>_0x1dc07e in _0x389318?Ae(_0x389318,_0x1dc07e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b521e}):_0x389318[_0x1dc07e]=_0x2b521e,Ue=(_0x3336a2,_0x240e8f,_0x3af5b0,_0x307e4e)=>{const _0x2f01ed=_0x2a4830;for(var _0x22b35a=_0x307e4e>0x1?void 0x0:_0x307e4e?Oe(_0x240e8f,_0x3af5b0):_0x240e8f,_0xfa2408=_0x3336a2[_0x2f01ed(0x1ff)]-0x1,_0x51509f;_0xfa2408>=0x0;_0xfa2408--)(_0x51509f=_0x3336a2[_0xfa2408])&&(_0x22b35a=_0x51509f(_0x22b35a)||_0x22b35a);return _0x22b35a;},y=(_0x338b8b,_0x32036c)=>(_0x2b6b5a,_0x159024)=>_0x32036c(_0x2b6b5a,_0x159024,_0x338b8b),$e=(_0x174984,_0x2071f5,_0x571386)=>De(_0x174984,_0x2071f5+'',_0x571386);exports[_0x2a4830(0x1a0)]=class extends u[_0x2a4830(0x1f3)]{constructor(_0x3424e0=L,_0x20aee5,_0x451645,_0x5e6e49,_0x1086e5,_0x597eb9){const _0xa83948=_0x2a4830;super(),this[_0xa83948(0x1ae)]=_0x3424e0,this[_0xa83948(0x1a7)]=_0x20aee5,this['_configService']=_0x451645,this[_0xa83948(0x18a)]=_0x5e6e49,this[_0xa83948(0x180)]=_0x1086e5,this['_localeService']=_0x597eb9;const {..._0x69bc00}=u['merge']({},L,this['_config']);this[_0xa83948(0x12e)][_0xa83948(0xed)](P,_0x69bc00);}async[_0x2a4830(0x165)](){const _0x494518=_0x2a4830,_0x45c590=[[exports[_0x494518(0x1e3)]],[exports[_0x494518(0xc9)]],[exports[_0x494518(0x220)]]];this[_0x494518(0x1a7)][_0x494518(0x149)](A[_0x494518(0x156)])||_0x45c590[_0x494518(0x1ba)]([A[_0x494518(0x156)],{'useClass':A[_0x494518(0xbc)]}]),_0x45c590[_0x494518(0xf5)](_0x57c413=>this[_0x494518(0x1a7)][_0x494518(0x208)](_0x57c413)),this[_0x494518(0x1a7)][_0x494518(0x14d)](exports[_0x494518(0x1e3)]),this[_0x494518(0x1a7)][_0x494518(0x14d)](exports[_0x494518(0xc9)]),this['_injector'][_0x494518(0x14d)](exports['MCPUIMenuController']);}},$e(exports[_0x2a4830(0x1a0)],_0x2a4830(0x163),'MCP_UI_PLUGIN'),exports['UniverMCPUIPlugin']=Ue([u[_0x2a4830(0xb0)](s[_0x2a4830(0x1cd)]),y(0x1,u[_0x2a4830(0x197)](u['Injector'])),y(0x2,u[_0x2a4830(0x21c)]),y(0x3,v[_0x2a4830(0x108)]),y(0x4,u[_0x2a4830(0x1f8)]),y(0x5,u[_0x2a4830(0x197)](u[_0x2a4830(0x20b)]))],exports[_0x2a4830(0x1a0)]),exports['MCPConfigPanel']=V,exports[_0x2a4830(0x13e)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x2a4830(0x219)]=Ee,exports[_0x2a4830(0x185)]=we;
@@ -1 +1 @@
1
- 'use strict';const _0x3c4b91=_0x5814;function _0x3b1f(){const _0x59dd31=['Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','Saving...','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1498190royygH','Failed\x20to\x20save\x20configuration','113SvJRgj','306243xAJhtE','7268648zrplzN','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Configuration','Retrying...','MCP\x20Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connected','Connected','MCP:\x20Network\x20Error','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','405948fanBGV','Invalid\x20configuration','40VouFYA','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','98AiBrsK','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','384JoyORK','exports','Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','33176jyuTZI','MCP\x20Client\x20Configuration','28930484dlxDKQ','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','Enable\x20Authentication','Configuration\x20Steps:','Session\x20ID','12778fzyEWc','Get\x20your\x20API\x20key\x20in\x20seconds','Save\x20Configuration'];_0x3b1f=function(){return _0x59dd31;};return _0x3b1f();}function _0x5814(_0x578e2b,_0x20bc46){_0x578e2b=_0x578e2b-0x176;const _0x3b1f16=_0x3b1f();let _0x58148c=_0x3b1f16[_0x578e2b];return _0x58148c;}(function(_0x29ae39,_0x2fdffc){const _0x2154d0=_0x5814,_0x10091d=_0x29ae39();while(!![]){try{const _0x1fbe1f=-parseInt(_0x2154d0(0x182))/0x1*(parseInt(_0x2154d0(0x1a6))/0x2)+-parseInt(_0x2154d0(0x198))/0x3*(parseInt(_0x2154d0(0x19e))/0x4)+-parseInt(_0x2154d0(0x180))/0x5+-parseInt(_0x2154d0(0x191))/0x6*(parseInt(_0x2154d0(0x196))/0x7)+parseInt(_0x2154d0(0x184))/0x8+-parseInt(_0x2154d0(0x183))/0x9*(-parseInt(_0x2154d0(0x193))/0xa)+parseInt(_0x2154d0(0x1a0))/0xb;if(_0x1fbe1f===_0x2fdffc)break;else _0x10091d['push'](_0x10091d['shift']());}catch(_0x3dd9f4){_0x10091d['push'](_0x10091d['shift']());}}}(_0x3b1f,0x9d4c6));const e={'mcpStatus':{'disconnected':_0x3c4b91(0x19c),'connecting':_0x3c4b91(0x176),'connected':_0x3c4b91(0x18d),'failed':_0x3c4b91(0x194),'retrying':_0x3c4b91(0x18b),'unknown':_0x3c4b91(0x17c),'unauthorized':_0x3c4b91(0x195),'sessionOccupied':_0x3c4b91(0x188),'networkError':_0x3c4b91(0x18f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3c4b91(0x1a9),'clickToConfigure':_0x3c4b91(0x178)},'mcpConfig':{'title':_0x3c4b91(0x189),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3c4b91(0x1aa),'enableAuth':_0x3c4b91(0x1a3),'enableAuthHint':_0x3c4b91(0x17e),'connectionInfo':_0x3c4b91(0x19f),'mcpClientConfig':_0x3c4b91(0x19f),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3c4b91(0x1a4),'configStep1':_0x3c4b91(0x186),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3c4b91(0x17a),'sessionId':_0x3c4b91(0x1a5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3c4b91(0x19b),'configParameters':_0x3c4b91(0x185),'maxRetries':_0x3c4b91(0x187),'save':_0x3c4b91(0x1a8),'saving':_0x3c4b91(0x17d),'note1':_0x3c4b91(0x190),'note2':_0x3c4b91(0x17f),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x3c4b91(0x181),'apiApplyInfo':{'title':_0x3c4b91(0x17b),'description':_0x3c4b91(0x19d),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3c4b91(0x1a7)},'validation':{'apiKeyRequired':_0x3c4b91(0x1a2),'apiKeyTooShort':_0x3c4b91(0x1a1),'invalidConfig':_0x3c4b91(0x192),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x3c4b91(0x179),'connected':_0x3c4b91(0x18e),'failed':_0x3c4b91(0x19a),'retrying':_0x3c4b91(0x18a)},'connectionError':{'unauthorized':_0x3c4b91(0x177),'sessionOccupied':_0x3c4b91(0x197),'networkError':_0x3c4b91(0x18c),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x3c4b91(0x199)]=n;
1
+ 'use strict';const _0x296f9e=_0x29fb;(function(_0x4b5c86,_0x12b97f){const _0x5ed4be=_0x29fb,_0x5880b0=_0x4b5c86();while(!![]){try{const _0x112bc1=parseInt(_0x5ed4be(0x190))/0x1+parseInt(_0x5ed4be(0x1c0))/0x2+parseInt(_0x5ed4be(0x196))/0x3*(-parseInt(_0x5ed4be(0x1ab))/0x4)+-parseInt(_0x5ed4be(0x1c2))/0x5*(-parseInt(_0x5ed4be(0x19e))/0x6)+-parseInt(_0x5ed4be(0x1a9))/0x7*(parseInt(_0x5ed4be(0x1b3))/0x8)+-parseInt(_0x5ed4be(0x18e))/0x9*(parseInt(_0x5ed4be(0x1a1))/0xa)+parseInt(_0x5ed4be(0x195))/0xb*(parseInt(_0x5ed4be(0x1b5))/0xc);if(_0x112bc1===_0x12b97f)break;else _0x5880b0['push'](_0x5880b0['shift']());}catch(_0x24e20c){_0x5880b0['push'](_0x5880b0['shift']());}}}(_0x2a3a,0x8e0bc));function _0x2a3a(){const _0x445c43=['Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','117054OKqEIn','MCP\x20Configuration','745788kDQzxC','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','MCP:\x20Network\x20Error','24VEoaEo','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','837324lAvMVw','Enter\x20your\x20API\x20key','Session\x20ID','Enable\x20Authentication','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Invalid\x20configuration','Configuration\x20Steps:','Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','712412qwiqLA','MCP\x20Retrying...','536945CFNyel','9KrojEv','Copy\x20the\x20JSON\x20configuration\x20below','948190hSbspS','MCP\x20Disconnected','API\x20Key','exports','Click\x20to\x20connect\x20MCP','11GcDQWL','3XYaXOD','MCP\x20Connected','Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Client\x20Configuration','6DAMNfa','Disconnected','MCP\x20Unknown\x20Status','6631290oLzqaS','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20configure\x20MCP'];_0x2a3a=function(){return _0x445c43;};return _0x2a3a();}const e={'mcpStatus':{'disconnected':_0x296f9e(0x191),'connecting':_0x296f9e(0x1b1),'connected':_0x296f9e(0x197),'failed':'MCP\x20Connection\x20Failed','retrying':_0x296f9e(0x1c1),'unknown':_0x296f9e(0x1a0),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x296f9e(0x1ae),'networkError':_0x296f9e(0x1b2),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x296f9e(0x194),'clickToConfigure':_0x296f9e(0x1a5)},'mcpConfig':{'title':_0x296f9e(0x1aa),'description':_0x296f9e(0x1ac),'apiKey':_0x296f9e(0x192),'apiKeyPlaceholder':_0x296f9e(0x1b6),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x296f9e(0x1b8),'enableAuthHint':_0x296f9e(0x1bf),'connectionInfo':_0x296f9e(0x19d),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x296f9e(0x1a7),'configStepTitle':_0x296f9e(0x1bd),'configStep1':_0x296f9e(0x18f),'configStep2':_0x296f9e(0x1b4),'configStep3':_0x296f9e(0x1bb),'sessionId':_0x296f9e(0x1b7),'sessionIdDescription':_0x296f9e(0x19b),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x296f9e(0x1ad),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x296f9e(0x199),'note2':_0x296f9e(0x1a4),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x296f9e(0x1a2),'description':_0x296f9e(0x1af),'univerAiLabel':_0x296f9e(0x1a3),'getStarted':_0x296f9e(0x1a8)},'validation':{'apiKeyRequired':_0x296f9e(0x19a),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x296f9e(0x1bc),'invalidApiKey':_0x296f9e(0x19c)},'connectionStatus':{'disconnected':_0x296f9e(0x19f),'connecting':_0x296f9e(0x1be),'connected':'Connected','failed':_0x296f9e(0x1ba),'retrying':_0x296f9e(0x198)},'connectionError':{'unauthorized':_0x296f9e(0x1b9),'sessionOccupied':_0x296f9e(0x1a6),'networkError':_0x296f9e(0x1b0),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x29fb(_0xb7aaf5,_0x257eba){_0xb7aaf5=_0xb7aaf5-0x18e;const _0x2a3a29=_0x2a3a();let _0x29fb79=_0x2a3a29[_0xb7aaf5];return _0x29fb79;}module[_0x296f9e(0x193)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x183e(){const _0x13ed2c=['3937914iducQJ','exports','6limbVv','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','216738osGFhF','Configuration\x20Parameters:','172009QEQazT','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Retrying...','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','Saving...','MCP:\x20Unauthorized','19397675JhWaiX','531357IEYbKV','16aYjRrB','4764640fEFqmV','Configuration\x20Steps:','What\x20is\x20API\x20Key?','Retrying...','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','189HrZHyf','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Max\x20Retries','Connected','MCP\x20Connected','MCP\x20Unknown\x20Status','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','Save\x20Configuration','Enter\x20your\x20API\x20key','Disconnected','API\x20Key','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Client\x20Configuration','4qkZBPl','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','Connecting...','MCP\x20Configuration','134265JoBSsw'];_0x183e=function(){return _0x13ed2c;};return _0x183e();}const _0x98b7f7=_0x7f29;function _0x7f29(_0x4688de,_0x432b90){_0x4688de=_0x4688de-0x173;const _0x183e25=_0x183e();let _0x7f2935=_0x183e25[_0x4688de];return _0x7f2935;}(function(_0x2c981d,_0x4d41d3){const _0x1205ba=_0x7f29,_0x43e91f=_0x2c981d();while(!![]){try{const _0x2479e1=parseInt(_0x1205ba(0x190))/0x1*(-parseInt(_0x1205ba(0x18b))/0x2)+parseInt(_0x1205ba(0x199))/0x3*(-parseInt(_0x1205ba(0x183))/0x4)+parseInt(_0x1205ba(0x188))/0x5+-parseInt(_0x1205ba(0x18e))/0x6*(parseInt(_0x1205ba(0x1a1))/0x7)+parseInt(_0x1205ba(0x19a))/0x8*(parseInt(_0x1205ba(0x189))/0x9)+-parseInt(_0x1205ba(0x19b))/0xa+parseInt(_0x1205ba(0x198))/0xb;if(_0x2479e1===_0x4d41d3)break;else _0x43e91f['push'](_0x43e91f['shift']());}catch(_0x44d0b1){_0x43e91f['push'](_0x43e91f['shift']());}}}(_0x183e,0x7f0f7));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x98b7f7(0x1a6),'failed':_0x98b7f7(0x194),'retrying':_0x98b7f7(0x192),'unknown':_0x98b7f7(0x173),'unauthorized':_0x98b7f7(0x197),'sessionOccupied':_0x98b7f7(0x19f),'networkError':_0x98b7f7(0x17f),'maxRetriesExceeded':_0x98b7f7(0x17e),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x98b7f7(0x187),'description':_0x98b7f7(0x184),'apiKey':_0x98b7f7(0x17c),'apiKeyPlaceholder':_0x98b7f7(0x17a),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x98b7f7(0x178),'enableAuthHint':_0x98b7f7(0x17d),'connectionInfo':_0x98b7f7(0x182),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x98b7f7(0x19c),'configStep1':_0x98b7f7(0x1a3),'configStep2':_0x98b7f7(0x180),'configStep3':_0x98b7f7(0x181),'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':_0x98b7f7(0x195),'configParameters':_0x98b7f7(0x18f),'maxRetries':_0x98b7f7(0x1a4),'save':_0x98b7f7(0x179),'saving':_0x98b7f7(0x196),'note1':_0x98b7f7(0x18c),'note2':_0x98b7f7(0x191),'configSaved':_0x98b7f7(0x18d),'configError':_0x98b7f7(0x185),'apiApplyInfo':{'title':_0x98b7f7(0x19d),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x98b7f7(0x175)},'validation':{'apiKeyRequired':_0x98b7f7(0x193),'apiKeyTooShort':_0x98b7f7(0x1a0),'invalidConfig':_0x98b7f7(0x176),'invalidApiKey':_0x98b7f7(0x177)},'connectionStatus':{'disconnected':_0x98b7f7(0x17b),'connecting':_0x98b7f7(0x186),'connected':_0x98b7f7(0x1a5),'failed':_0x98b7f7(0x1a2),'retrying':_0x98b7f7(0x19e)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x98b7f7(0x174)}}};module[_0x98b7f7(0x18a)]=e;
1
+ 'use strict';const _0xe7ca3a=_0x13bd;function _0x13bd(_0x394c46,_0x2dd7a2){_0x394c46=_0x394c46-0x10e;const _0x36b2d6=_0x36b2();let _0x13bd75=_0x36b2d6[_0x394c46];return _0x13bd75;}(function(_0x416e03,_0x56e87b){const _0x55824b=_0x13bd,_0x260195=_0x416e03();while(!![]){try{const _0xbacb0b=parseInt(_0x55824b(0x12c))/0x1*(-parseInt(_0x55824b(0x123))/0x2)+-parseInt(_0x55824b(0x11c))/0x3*(parseInt(_0x55824b(0x122))/0x4)+-parseInt(_0x55824b(0x124))/0x5*(-parseInt(_0x55824b(0x11d))/0x6)+parseInt(_0x55824b(0x13e))/0x7*(-parseInt(_0x55824b(0x11f))/0x8)+parseInt(_0x55824b(0x137))/0x9+-parseInt(_0x55824b(0x136))/0xa*(parseInt(_0x55824b(0x120))/0xb)+parseInt(_0x55824b(0x10f))/0xc;if(_0xbacb0b===_0x56e87b)break;else _0x260195['push'](_0x260195['shift']());}catch(_0x183ad7){_0x260195['push'](_0x260195['shift']());}}}(_0x36b2,0xc9ba5));function _0x36b2(){const _0x2351bf=['Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Max\x20Retries','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20configuration','API\x20Key','Configuration\x20Parameters:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Saving...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1840ESUMaq','14244327EtLChH','Connecting...','Disconnected','Enter\x20your\x20API\x20key','Enable\x20Authentication','Univer\x20AI\x20Console','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','7kQdWwX','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','Failed\x20to\x20save\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Copy\x20the\x20JSON\x20configuration\x20below','23648028KabVFw','Click\x20to\x20configure\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Session\x20ID','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connected','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','API\x20key\x20with\x20Bearer\x20prefix.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Unknown\x20Status','3RbEIhr','854844IZWlRw','Connected','7038216tovcUq','53284jEoSRs','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','6142436VKwQFp','2nPTINH','30wyiBeH','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','MCP:\x20Unauthorized','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','exports','MCP\x20Configuration','275257ZFmccF'];_0x36b2=function(){return _0x2351bf;};return _0x36b2();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0xe7ca3a(0x116),'failed':_0xe7ca3a(0x126),'retrying':'MCP\x20Retrying...','unknown':_0xe7ca3a(0x11b),'unauthorized':_0xe7ca3a(0x128),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0xe7ca3a(0x113),'maxRetriesExceeded':_0xe7ca3a(0x117),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xe7ca3a(0x110)},'mcpConfig':{'title':_0xe7ca3a(0x12b),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xe7ca3a(0x131),'apiKeyPlaceholder':_0xe7ca3a(0x13a),'apiKeyHint':_0xe7ca3a(0x12f),'enableAuth':_0xe7ca3a(0x13b),'enableAuthHint':_0xe7ca3a(0x115),'connectionInfo':_0xe7ca3a(0x127),'mcpClientConfig':_0xe7ca3a(0x127),'configInstructions':_0xe7ca3a(0x129),'configStepTitle':_0xe7ca3a(0x118),'configStep1':_0xe7ca3a(0x10e),'configStep2':_0xe7ca3a(0x142),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xe7ca3a(0x114),'sessionIdDescription':_0xe7ca3a(0x11a),'authorizationDescription':_0xe7ca3a(0x119),'configParameters':_0xe7ca3a(0x132),'maxRetries':_0xe7ca3a(0x12e),'save':'Save\x20Configuration','saving':_0xe7ca3a(0x134),'note1':_0xe7ca3a(0x12d),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xe7ca3a(0x13f),'configError':_0xe7ca3a(0x141),'apiApplyInfo':{'title':_0xe7ca3a(0x140),'description':_0xe7ca3a(0x13d),'univerAiLabel':_0xe7ca3a(0x13c),'getStarted':_0xe7ca3a(0x112)},'validation':{'apiKeyRequired':_0xe7ca3a(0x125),'apiKeyTooShort':_0xe7ca3a(0x111),'invalidConfig':_0xe7ca3a(0x130),'invalidApiKey':_0xe7ca3a(0x135)},'connectionStatus':{'disconnected':_0xe7ca3a(0x139),'connecting':_0xe7ca3a(0x138),'connected':_0xe7ca3a(0x11e),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0xe7ca3a(0x133),'sessionOccupied':_0xe7ca3a(0x121),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0xe7ca3a(0x12a)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x5aa44a=_0x411b;(function(_0x3eef04,_0x3d7d8d){const _0x280ab4=_0x411b,_0x238441=_0x3eef04();while(!![]){try{const _0x398e35=-parseInt(_0x280ab4(0x158))/0x1*(-parseInt(_0x280ab4(0x151))/0x2)+parseInt(_0x280ab4(0x144))/0x3*(parseInt(_0x280ab4(0x143))/0x4)+parseInt(_0x280ab4(0x145))/0x5*(parseInt(_0x280ab4(0x13d))/0x6)+-parseInt(_0x280ab4(0x15e))/0x7+parseInt(_0x280ab4(0x152))/0x8*(parseInt(_0x280ab4(0x14a))/0x9)+parseInt(_0x280ab4(0x13e))/0xa*(-parseInt(_0x280ab4(0x15a))/0xb)+-parseInt(_0x280ab4(0x154))/0xc;if(_0x398e35===_0x3d7d8d)break;else _0x238441['push'](_0x238441['shift']());}catch(_0x1977fe){_0x238441['push'](_0x238441['shift']());}}}(_0x35c4,0x8fd06));function _0x411b(_0x5080d5,_0x1c9ea7){_0x5080d5=_0x5080d5-0x137;const _0x35c49=_0x35c4();let _0x411baa=_0x35c49[_0x5080d5];return _0x411baa;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5aa44a(0x141),'connected':_0x5aa44a(0x14b),'failed':_0x5aa44a(0x156),'retrying':'MCP\x20Retrying...','unknown':_0x5aa44a(0x15c),'unauthorized':_0x5aa44a(0x138),'sessionOccupied':_0x5aa44a(0x155),'networkError':_0x5aa44a(0x149),'maxRetriesExceeded':_0x5aa44a(0x168),'clickToConnect':_0x5aa44a(0x146),'clickToConfigure':_0x5aa44a(0x163)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x5aa44a(0x166),'apiKey':_0x5aa44a(0x13a),'apiKeyPlaceholder':_0x5aa44a(0x137),'apiKeyHint':_0x5aa44a(0x140),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5aa44a(0x160),'mcpClientConfig':_0x5aa44a(0x160),'configInstructions':_0x5aa44a(0x14d),'configStepTitle':_0x5aa44a(0x147),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5aa44a(0x15d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x5aa44a(0x159),'authorizationDescription':_0x5aa44a(0x13b),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x5aa44a(0x139),'saving':_0x5aa44a(0x161),'note1':_0x5aa44a(0x14e),'note2':_0x5aa44a(0x153),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5aa44a(0x13f),'apiApplyInfo':{'title':_0x5aa44a(0x15b),'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':_0x5aa44a(0x157),'getStarted':_0x5aa44a(0x15f)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5aa44a(0x13c),'invalidConfig':_0x5aa44a(0x14f),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5aa44a(0x148),'connected':_0x5aa44a(0x165),'failed':'Connection\x20Failed','retrying':_0x5aa44a(0x164)},'connectionError':{'unauthorized':_0x5aa44a(0x150),'sessionOccupied':_0x5aa44a(0x142),'networkError':_0x5aa44a(0x167),'maxRetriesExceeded':_0x5aa44a(0x162)}}},n=e;module[_0x5aa44a(0x14c)]=n;function _0x35c4(){const _0x8422b5=['What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','4604411BhQrDK','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','Saving...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Click\x20to\x20configure\x20MCP','Retrying...','Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key','MCP:\x20Unauthorized','Save\x20Configuration','API\x20Key','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','6skknvh','15340rASscX','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','12UGgCRb','255075lPXaCJ','3106065yKbcRF','Click\x20to\x20connect\x20MCP','Configuration\x20Steps:','Connecting...','MCP:\x20Network\x20Error','1467OFpybA','MCP\x20Connected','exports','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','13296Axzlzr','48560cwsgAd','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','17073468OTBdCx','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connection\x20Failed','Univer\x20AI\x20Console','165TuEgEH','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','2101RcTxpD'];_0x35c4=function(){return _0x8422b5;};return _0x35c4();}
1
+ 'use strict';function _0x5b21(_0x37af56,_0x5075a7){_0x37af56=_0x37af56-0xf8;const _0x3f51f2=_0x3f51();let _0x5b2186=_0x3f51f2[_0x37af56];return _0x5b2186;}const _0x27b63a=_0x5b21;(function(_0x540ec4,_0x1765f8){const _0x450889=_0x5b21,_0x57a27f=_0x540ec4();while(!![]){try{const _0x316e41=-parseInt(_0x450889(0x128))/0x1+-parseInt(_0x450889(0xf9))/0x2*(parseInt(_0x450889(0x10a))/0x3)+-parseInt(_0x450889(0x110))/0x4+-parseInt(_0x450889(0x116))/0x5*(parseInt(_0x450889(0x124))/0x6)+-parseInt(_0x450889(0xff))/0x7*(parseInt(_0x450889(0x11f))/0x8)+-parseInt(_0x450889(0x10b))/0x9+parseInt(_0x450889(0x112))/0xa*(parseInt(_0x450889(0xf8))/0xb);if(_0x316e41===_0x1765f8)break;else _0x57a27f['push'](_0x57a27f['shift']());}catch(_0x5b390b){_0x57a27f['push'](_0x57a27f['shift']());}}}(_0x3f51,0x95453));function _0x3f51(){const _0x463ec7=['1787790dIhsOO','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','952687bVJGlH','MCP:\x20Unauthorized','26013317csLRIZ','20XrrrJE','API\x20key\x20is\x20required','Click\x20to\x20configure\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','7077NuAyGL','Connected','API\x20Key','Enable\x20Authentication','API\x20key\x20with\x20Bearer\x20prefix.','exports','Max\x20Retries','MCP\x20Connected','Configuration\x20Parameters:','Retrying...','MCP\x20Disconnected','364197LHCTbe','4822416AaGhVO','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20saved\x20successfully','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','What\x20is\x20API\x20Key?','2097440BFmuzC','MCP\x20Configuration','20RsqldS','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','Invalid\x20configuration','5cNnmwZ','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Failed\x20to\x20save\x20configuration','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Network\x20Error','Session\x20ID','Disconnected','4696zZtIZt','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below'];_0x3f51=function(){return _0x463ec7;};return _0x3f51();}const e={'mcpStatus':{'disconnected':_0x27b63a(0x109),'connecting':'MCP\x20Connecting...','connected':_0x27b63a(0x106),'failed':_0x27b63a(0xfd),'retrying':_0x27b63a(0x126),'unknown':_0x27b63a(0x114),'unauthorized':_0x27b63a(0x129),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x27b63a(0x11c),'maxRetriesExceeded':_0x27b63a(0x113),'clickToConnect':_0x27b63a(0x121),'clickToConfigure':_0x27b63a(0xfb)},'mcpConfig':{'title':_0x27b63a(0x111),'description':_0x27b63a(0x10e),'apiKey':_0x27b63a(0x101),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x27b63a(0x102),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x27b63a(0xfe),'mcpClientConfig':_0x27b63a(0xfe),'configInstructions':_0x27b63a(0x118),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x27b63a(0x123),'configStep2':_0x27b63a(0x10c),'configStep3':_0x27b63a(0x117),'sessionId':_0x27b63a(0x11d),'sessionIdDescription':_0x27b63a(0x125),'authorizationDescription':_0x27b63a(0x103),'configParameters':_0x27b63a(0x107),'maxRetries':_0x27b63a(0x105),'save':'Save\x20Configuration','saving':_0x27b63a(0x11a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x27b63a(0x10d),'configError':_0x27b63a(0x119),'apiApplyInfo':{'title':_0x27b63a(0x10f),'description':_0x27b63a(0x127),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x27b63a(0xfa),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x27b63a(0x115),'invalidApiKey':_0x27b63a(0x122)},'connectionStatus':{'disconnected':_0x27b63a(0x11e),'connecting':'Connecting...','connected':_0x27b63a(0x100),'failed':'Connection\x20Failed','retrying':_0x27b63a(0x108)},'connectionError':{'unauthorized':_0x27b63a(0x11b),'sessionOccupied':_0x27b63a(0xfc),'networkError':_0x27b63a(0x120),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x27b63a(0x104)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x5166(){const _0x5c027a=['6938226icyQBc','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20configuration','MCP\x20Unknown\x20Status','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connecting...','API\x20key\x20is\x20required','Max\x20Retries','Connected','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Configuration','Session\x20ID','5100qUTVpx','463584OqqlSh','MCP:\x20Network\x20Error','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','2527140NgcmGS','1346031ukZaVt','Connection\x20Failed','Retrying...','569182vkvWPn','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Unauthorized','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','2385752JnrbDm','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Retrying...','2JMFFNO','What\x20is\x20API\x20Key?','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2779iTaMRv'];_0x5166=function(){return _0x5c027a;};return _0x5166();}const _0x31c47c=_0x31f5;function _0x31f5(_0x550328,_0x59aa79){_0x550328=_0x550328-0xbe;const _0x5166a6=_0x5166();let _0x31f5b8=_0x5166a6[_0x550328];return _0x31f5b8;}(function(_0x52bdb,_0x5a95cb){const _0x391971=_0x31f5,_0x2d11f9=_0x52bdb();while(!![]){try{const _0x4c1e5a=-parseInt(_0x391971(0xe0))/0x1*(-parseInt(_0x391971(0xd2))/0x2)+-parseInt(_0x391971(0xcf))/0x3+-parseInt(_0x391971(0xdb))/0x4+parseInt(_0x391971(0xce))/0x5+-parseInt(_0x391971(0xc6))/0x6*(parseInt(_0x391971(0xe6))/0x7)+parseInt(_0x391971(0xc7))/0x8+parseInt(_0x391971(0xe7))/0x9;if(_0x4c1e5a===_0x5a95cb)break;else _0x2d11f9['push'](_0x2d11f9['shift']());}catch(_0x2d1028){_0x2d11f9['push'](_0x2d11f9['shift']());}}}(_0x5166,0x7f2cb));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x31c47c(0xe3),'failed':'MCP\x20Connection\x20Failed','retrying':_0x31c47c(0xdf),'unknown':_0x31c47c(0xea),'unauthorized':_0x31c47c(0xd8),'sessionOccupied':_0x31c47c(0xd7),'networkError':_0x31c47c(0xc8),'maxRetriesExceeded':_0x31c47c(0xca),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x31c47c(0xcc)},'mcpConfig':{'title':_0x31c47c(0xc4),'description':_0x31c47c(0xd6),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x31c47c(0xd5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x31c47c(0xdc),'connectionInfo':_0x31c47c(0xda),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x31c47c(0xec),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x31c47c(0xde),'configStep2':_0x31c47c(0xe4),'configStep3':_0x31c47c(0xdd),'sessionId':_0x31c47c(0xc5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x31c47c(0xe2),'configParameters':_0x31c47c(0xcd),'maxRetries':_0x31c47c(0xc0),'save':'Save\x20Configuration','saving':_0x31c47c(0xc2),'note1':_0x31c47c(0xe8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x31c47c(0xcb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x31c47c(0xe1),'description':_0x31c47c(0xeb),'univerAiLabel':_0x31c47c(0xd9),'getStarted':_0x31c47c(0xc3)},'validation':{'apiKeyRequired':_0x31c47c(0xbf),'apiKeyTooShort':_0x31c47c(0xd3),'invalidConfig':_0x31c47c(0xe9),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x31c47c(0xbe),'connected':_0x31c47c(0xc1),'failed':_0x31c47c(0xd0),'retrying':_0x31c47c(0xd1)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x31c47c(0xc9),'networkError':_0x31c47c(0xe5),'maxRetriesExceeded':_0x31c47c(0xd4)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x1135de=_0x4ddf;(function(_0x93bb6e,_0x1c51b2){const _0x5c16c3=_0x4ddf,_0x230851=_0x93bb6e();while(!![]){try{const _0x1773af=-parseInt(_0x5c16c3(0x1ee))/0x1+parseInt(_0x5c16c3(0x215))/0x2+-parseInt(_0x5c16c3(0x1f5))/0x3*(-parseInt(_0x5c16c3(0x1fe))/0x4)+parseInt(_0x5c16c3(0x210))/0x5+-parseInt(_0x5c16c3(0x204))/0x6*(parseInt(_0x5c16c3(0x1e5))/0x7)+parseInt(_0x5c16c3(0x1e1))/0x8+parseInt(_0x5c16c3(0x20f))/0x9*(-parseInt(_0x5c16c3(0x20b))/0xa);if(_0x1773af===_0x1c51b2)break;else _0x230851['push'](_0x230851['shift']());}catch(_0x56b4f0){_0x230851['push'](_0x230851['shift']());}}}(_0x2c4c,0x4a8a6));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1135de(0x1ec),'connected':'MCP\x20Connected','failed':_0x1135de(0x1f6),'retrying':_0x1135de(0x1f2),'unknown':_0x1135de(0x1fc),'unauthorized':_0x1135de(0x20a),'sessionOccupied':_0x1135de(0x200),'networkError':_0x1135de(0x1ed),'maxRetriesExceeded':_0x1135de(0x211),'clickToConnect':_0x1135de(0x1f9),'clickToConfigure':_0x1135de(0x203)},'mcpConfig':{'title':_0x1135de(0x1e8),'description':_0x1135de(0x212),'apiKey':_0x1135de(0x1ef),'apiKeyPlaceholder':_0x1135de(0x20e),'apiKeyHint':_0x1135de(0x201),'enableAuth':_0x1135de(0x1e9),'enableAuthHint':_0x1135de(0x205),'connectionInfo':_0x1135de(0x1f8),'mcpClientConfig':_0x1135de(0x1f8),'configInstructions':_0x1135de(0x208),'configStepTitle':_0x1135de(0x1f4),'configStep1':_0x1135de(0x1fb),'configStep2':_0x1135de(0x1e4),'configStep3':_0x1135de(0x1f0),'sessionId':_0x1135de(0x213),'sessionIdDescription':_0x1135de(0x1fd),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1135de(0x1e6),'maxRetries':_0x1135de(0x1fa),'save':'Save\x20Configuration','saving':_0x1135de(0x207),'note1':_0x1135de(0x1f3),'note2':_0x1135de(0x1eb),'configSaved':_0x1135de(0x202),'configError':_0x1135de(0x1e2),'apiApplyInfo':{'title':_0x1135de(0x1f1),'description':_0x1135de(0x1ff),'univerAiLabel':_0x1135de(0x1e7),'getStarted':_0x1135de(0x209)},'validation':{'apiKeyRequired':_0x1135de(0x216),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1135de(0x1ea),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1135de(0x20c),'connecting':'Connecting...','connected':'Connected','failed':_0x1135de(0x1e3),'retrying':_0x1135de(0x1f7)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x1135de(0x206),'maxRetriesExceeded':_0x1135de(0x214)}}},n=e;function _0x4ddf(_0x453b85,_0x41a506){_0x453b85=_0x453b85-0x1e1;const _0x2c4cb4=_0x2c4c();let _0x4ddf45=_0x2c4cb4[_0x453b85];return _0x4ddf45;}function _0x2c4c(){const _0x5bcc6b=['6933970NXfspq','Disconnected','exports','Enter\x20your\x20API\x20key','9VKyIVf','2739115yCrSWq','MCP:\x20Max\x20Retries\x20Exceeded','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','359466ASUuEY','API\x20key\x20is\x20required','1596400uKpjBz','Failed\x20to\x20save\x20configuration','Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','203UJkwGY','Configuration\x20Parameters:','Univer\x20AI\x20Console','MCP\x20Configuration','Enable\x20Authentication','Invalid\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connecting...','MCP:\x20Network\x20Error','99922PNkebv','API\x20Key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','What\x20is\x20API\x20Key?','MCP\x20Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Steps:','5673hoUGNw','MCP\x20Connection\x20Failed','Retrying...','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','Max\x20Retries','Copy\x20the\x20JSON\x20configuration\x20below','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.','964nqeXUg','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','58800jPklxp','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized'];_0x2c4c=function(){return _0x5bcc6b;};return _0x2c4c();}module[_0x1135de(0x20d)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x466775=_0x1716;function _0x1716(_0x1afd1d,_0x21e94f){_0x1afd1d=_0x1afd1d-0x1ae;const _0x3f512c=_0x3f51();let _0x1716db=_0x3f512c[_0x1afd1d];return _0x1716db;}(function(_0x5ad016,_0x194827){const _0x1b2dfb=_0x1716,_0xc020f8=_0x5ad016();while(!![]){try{const _0x16b4df=-parseInt(_0x1b2dfb(0x1d2))/0x1+parseInt(_0x1b2dfb(0x1c2))/0x2+-parseInt(_0x1b2dfb(0x1c1))/0x3+-parseInt(_0x1b2dfb(0x1bb))/0x4+parseInt(_0x1b2dfb(0x1b5))/0x5+parseInt(_0x1b2dfb(0x1ba))/0x6+-parseInt(_0x1b2dfb(0x1dc))/0x7*(-parseInt(_0x1b2dfb(0x1ca))/0x8);if(_0x16b4df===_0x194827)break;else _0xc020f8['push'](_0xc020f8['shift']());}catch(_0x4553b7){_0xc020f8['push'](_0xc020f8['shift']());}}}(_0x3f51,0x70ac9));const e={'mcpStatus':{'disconnected':_0x466775(0x1bc),'connecting':'MCP\x20Connecting...','connected':_0x466775(0x1d9),'failed':_0x466775(0x1b8),'retrying':_0x466775(0x1d1),'unknown':_0x466775(0x1cd),'unauthorized':_0x466775(0x1af),'sessionOccupied':_0x466775(0x1cb),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x466775(0x1be),'clickToConnect':_0x466775(0x1c0),'clickToConfigure':_0x466775(0x1c9)},'mcpConfig':{'title':_0x466775(0x1ae),'description':_0x466775(0x1b9),'apiKey':_0x466775(0x1b1),'apiKeyPlaceholder':_0x466775(0x1b4),'apiKeyHint':_0x466775(0x1c4),'enableAuth':_0x466775(0x1da),'enableAuthHint':_0x466775(0x1c7),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x466775(0x1dd),'configInstructions':_0x466775(0x1d8),'configStepTitle':_0x466775(0x1cf),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x466775(0x1cc),'sessionId':_0x466775(0x1bd),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x466775(0x1b0),'configParameters':_0x466775(0x1b2),'maxRetries':_0x466775(0x1d6),'save':_0x466775(0x1bf),'saving':_0x466775(0x1c3),'note1':_0x466775(0x1c8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x466775(0x1c6),'configError':_0x466775(0x1b7),'apiApplyInfo':{'title':_0x466775(0x1ce),'description':_0x466775(0x1db),'univerAiLabel':_0x466775(0x1d7),'getStarted':_0x466775(0x1de)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x466775(0x1d4),'invalidConfig':_0x466775(0x1b3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x466775(0x1c5),'connected':_0x466775(0x1d0),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x466775(0x1d3),'sessionOccupied':_0x466775(0x1d5),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x466775(0x1b6)}}},n=e;module['exports']=n;function _0x3f51(){const _0x17503e=['API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key','Configuration\x20Parameters:','Invalid\x20configuration','Enter\x20your\x20API\x20key','793880JgKJlH','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','MCP\x20Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','3168054CKXsvl','2883728vCYmmv','MCP\x20Disconnected','Session\x20ID','MCP:\x20Max\x20Retries\x20Exceeded','Save\x20Configuration','Click\x20to\x20connect\x20MCP','123270UTlsaI','720484KzXNsx','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','Configuration\x20saved\x20successfully','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','40FJfDlA','MCP:\x20Session\x20ID\x20Occupied','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','Configuration\x20Steps:','Connected','MCP\x20Retrying...','61682vrSauX','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Max\x20Retries','Univer\x20AI\x20Console','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connected','Enable\x20Authentication','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','333466BlUycD','MCP\x20Client\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Configuration','MCP:\x20Unauthorized'];_0x3f51=function(){return _0x17503e;};return _0x3f51();}
1
+ 'use strict';const _0x2b893e=_0x291c;(function(_0x53e52e,_0x2b8eb5){const _0x2c7a87=_0x291c,_0x3750f8=_0x53e52e();while(!![]){try{const _0x168608=-parseInt(_0x2c7a87(0xff))/0x1+parseInt(_0x2c7a87(0xf8))/0x2+-parseInt(_0x2c7a87(0xef))/0x3*(-parseInt(_0x2c7a87(0xe5))/0x4)+parseInt(_0x2c7a87(0xfa))/0x5+-parseInt(_0x2c7a87(0xfe))/0x6+parseInt(_0x2c7a87(0xf9))/0x7+-parseInt(_0x2c7a87(0xe9))/0x8*(parseInt(_0x2c7a87(0xdb))/0x9);if(_0x168608===_0x2b8eb5)break;else _0x3750f8['push'](_0x3750f8['shift']());}catch(_0x2f996d){_0x3750f8['push'](_0x3750f8['shift']());}}}(_0x17c0,0x8b6ca));function _0x17c0(){const _0x7a2c04=['4248920lAcpeS','Retrying...','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','291738xPMVSG','763691zOlsWG','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20configure\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','29961HWWfxJ','Configuration\x20saved\x20successfully','MCP\x20Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session\x20ID','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Configuration','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','663064YsBlnL','MCP:\x20Network\x20Error','API\x20key\x20with\x20Bearer\x20prefix.','Saving...','792CBhOPd','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','What\x20is\x20API\x20Key?','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','6xGMQmg','MCP\x20Disconnected','Invalid\x20configuration','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','exports','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','813556tTnDrp','874111ionmjx'];_0x17c0=function(){return _0x7a2c04;};return _0x17c0();}const e={'mcpStatus':{'disconnected':_0x2b893e(0xf0),'connecting':_0x2b893e(0x104),'connected':'MCP\x20Connected','failed':_0x2b893e(0xf6),'retrying':_0x2b893e(0xdd),'unknown':_0x2b893e(0x102),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2b893e(0xd7),'networkError':_0x2b893e(0xe6),'maxRetriesExceeded':_0x2b893e(0xd9),'clickToConnect':_0x2b893e(0xfc),'clickToConfigure':_0x2b893e(0xd5)},'mcpConfig':{'title':_0x2b893e(0xe2),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2b893e(0xda),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2b893e(0xe1),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2b893e(0x103),'connectionInfo':_0x2b893e(0xf2),'mcpClientConfig':_0x2b893e(0xf2),'configInstructions':_0x2b893e(0x101),'configStepTitle':_0x2b893e(0x100),'configStep1':_0x2b893e(0xf7),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2b893e(0xed),'sessionId':_0x2b893e(0xe0),'sessionIdDescription':_0x2b893e(0xee),'authorizationDescription':_0x2b893e(0xe7),'configParameters':_0x2b893e(0xf3),'maxRetries':_0x2b893e(0xd8),'save':'Save\x20Configuration','saving':_0x2b893e(0xe8),'note1':_0x2b893e(0xe4),'note2':_0x2b893e(0xfd),'configSaved':_0x2b893e(0xdc),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2b893e(0xeb),'description':_0x2b893e(0xdf),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2b893e(0xde)},'validation':{'apiKeyRequired':_0x2b893e(0xf5),'apiKeyTooShort':_0x2b893e(0xd4),'invalidConfig':_0x2b893e(0xf1),'invalidApiKey':_0x2b893e(0xd3)},'connectionStatus':{'disconnected':_0x2b893e(0xe3),'connecting':'Connecting...','connected':'Connected','failed':'Connection\x20Failed','retrying':_0x2b893e(0xfb)},'connectionError':{'unauthorized':_0x2b893e(0xd6),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x2b893e(0xea),'maxRetriesExceeded':_0x2b893e(0xec)}}},n=e;function _0x291c(_0x398c21,_0x4a2b66){_0x398c21=_0x398c21-0xd3;const _0x17c08c=_0x17c0();let _0x291c4f=_0x17c08c[_0x398c21];return _0x291c4f;}module[_0x2b893e(0xf4)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x557bd6=_0x48a0;function _0x2a4e(){const _0x3a9e8=['MCP\x20接続済み','187SnNCZT','接続失敗','認証を有効にする','6tcinSQ','MCPクライアント設定','2624430FxkuGq','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','クリックしてMCPを設定','MCP設定','MCP:\x20セッションIDが使用中','設定手順:','2300856pghmdH','認証に失敗しました。APIキーを確認してください','設定の変更は直ちに有効になります','MCP:\x20ネットワークエラー','接続済み','2534892zHZJAv','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','MCP:\x20認証されていません','接続中...','APIキーはローカルストレージに安全に保存されます','MCP\x20再試行中...','未接続','APIキーを入力してください','APIキーは10文字以上である必要があります','再試行中...','334474enqPvT','2271655SipNxi','45PMVQsL','無効な設定','20LIKMfw','Bearerプレフィックス付きのAPIキー。','MCP\x20接続中...','設定が正常に保存されました','APIキーとは?','最大再試行回数を超過しました。後でもう一度お試しください','設定の保存に失敗しました','966321WbQYWx','セッションIDが現在使用中です。後でもう一度お試しください','MCP:\x20最大再試行回数を超過','exports','APIキー','最大再試行回数','MCPを設定してAIでスプレッドシートを操作','618279lNmGDC','設定パラメータ:','Univer\x20AIコンソール','クリックしてMCPに接続','192xCTltn','数秒でAPIキーを取得'];_0x2a4e=function(){return _0x3a9e8;};return _0x2a4e();}function _0x48a0(_0x53c000,_0x3f7851){_0x53c000=_0x53c000-0x150;const _0x2a4ebc=_0x2a4e();let _0x48a00f=_0x2a4ebc[_0x53c000];return _0x48a00f;}(function(_0x2ef397,_0x56520f){const _0x18d453=_0x48a0,_0x280b69=_0x2ef397();while(!![]){try{const _0x53e345=-parseInt(_0x18d453(0x16b))/0x1+parseInt(_0x18d453(0x151))/0x2+-parseInt(_0x18d453(0x172))/0x3*(parseInt(_0x18d453(0x164))/0x4)+-parseInt(_0x18d453(0x161))/0x5*(-parseInt(_0x18d453(0x17c))/0x6)+parseInt(_0x18d453(0x160))/0x7*(-parseInt(_0x18d453(0x176))/0x8)+-parseInt(_0x18d453(0x162))/0x9*(parseInt(_0x18d453(0x17e))/0xa)+parseInt(_0x18d453(0x179))/0xb*(parseInt(_0x18d453(0x156))/0xc);if(_0x53e345===_0x56520f)break;else _0x280b69['push'](_0x280b69['shift']());}catch(_0x2ff578){_0x280b69['push'](_0x280b69['shift']());}}}(_0x2a4e,0xb4af7));const e={'mcpStatus':{'disconnected':'MCP\x20未接続','connecting':_0x557bd6(0x166),'connected':_0x557bd6(0x178),'failed':'MCP\x20接続失敗','retrying':_0x557bd6(0x15b),'unknown':'MCP\x20不明な状態','unauthorized':_0x557bd6(0x158),'sessionOccupied':_0x557bd6(0x182),'networkError':_0x557bd6(0x154),'maxRetriesExceeded':_0x557bd6(0x16d),'clickToConnect':_0x557bd6(0x175),'clickToConfigure':_0x557bd6(0x180)},'mcpConfig':{'title':_0x557bd6(0x181),'description':_0x557bd6(0x171),'apiKey':_0x557bd6(0x16f),'apiKeyPlaceholder':_0x557bd6(0x15d),'apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':_0x557bd6(0x17b),'enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':_0x557bd6(0x17d),'mcpClientConfig':_0x557bd6(0x17d),'configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x557bd6(0x150),'configStep1':'以下のJSON設定をコピー','configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':'MCPクライアントを再起動して設定を適用','sessionId':'セッションID','sessionIdDescription':_0x557bd6(0x157),'authorizationDescription':_0x557bd6(0x165),'configParameters':_0x557bd6(0x173),'maxRetries':_0x557bd6(0x170),'save':'設定を保存','saving':'保存中...','note1':_0x557bd6(0x153),'note2':_0x557bd6(0x15a),'configSaved':_0x557bd6(0x167),'configError':_0x557bd6(0x16a),'apiApplyInfo':{'title':_0x557bd6(0x168),'description':_0x557bd6(0x17f),'univerAiLabel':_0x557bd6(0x174),'getStarted':_0x557bd6(0x177)},'validation':{'apiKeyRequired':'APIキーは必須です','apiKeyTooShort':_0x557bd6(0x15e),'invalidConfig':_0x557bd6(0x163),'invalidApiKey':'無効なAPIキーです。キーが正しいか確認してください'},'connectionStatus':{'disconnected':_0x557bd6(0x15c),'connecting':_0x557bd6(0x159),'connected':_0x557bd6(0x155),'failed':_0x557bd6(0x17a),'retrying':_0x557bd6(0x15f)},'connectionError':{'unauthorized':_0x557bd6(0x152),'sessionOccupied':_0x557bd6(0x16c),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0x557bd6(0x169)}}};module[_0x557bd6(0x16e)]=e;
1
+ 'use strict';const _0x1612fa=_0x464b;(function(_0x251889,_0x56c05d){const _0x52a6e0=_0x464b,_0x546466=_0x251889();while(!![]){try{const _0x134c30=-parseInt(_0x52a6e0(0xb6))/0x1+-parseInt(_0x52a6e0(0xb1))/0x2+-parseInt(_0x52a6e0(0xbd))/0x3*(parseInt(_0x52a6e0(0xbf))/0x4)+-parseInt(_0x52a6e0(0xc2))/0x5+-parseInt(_0x52a6e0(0xd1))/0x6*(-parseInt(_0x52a6e0(0xc5))/0x7)+parseInt(_0x52a6e0(0xc1))/0x8+-parseInt(_0x52a6e0(0xce))/0x9*(-parseInt(_0x52a6e0(0xc7))/0xa);if(_0x134c30===_0x56c05d)break;else _0x546466['push'](_0x546466['shift']());}catch(_0x21a45a){_0x546466['push'](_0x546466['shift']());}}}(_0x36f2,0x69a41));const e={'mcpStatus':{'disconnected':'MCP\x20未接続','connecting':_0x1612fa(0xae),'connected':'MCP\x20接続済み','failed':'MCP\x20接続失敗','retrying':'MCP\x20再試行中...','unknown':_0x1612fa(0xd3),'unauthorized':_0x1612fa(0xac),'sessionOccupied':_0x1612fa(0xc8),'networkError':_0x1612fa(0xab),'maxRetriesExceeded':_0x1612fa(0xad),'clickToConnect':_0x1612fa(0xbb),'clickToConfigure':_0x1612fa(0xc4)},'mcpConfig':{'title':_0x1612fa(0xba),'description':_0x1612fa(0xc3),'apiKey':_0x1612fa(0xd0),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x1612fa(0xd2),'enableAuth':'認証を有効にする','enableAuthHint':_0x1612fa(0xb2),'connectionInfo':'MCPクライアント設定','mcpClientConfig':'MCPクライアント設定','configInstructions':_0x1612fa(0xcb),'configStepTitle':'設定手順:','configStep1':_0x1612fa(0xaa),'configStep2':_0x1612fa(0xa9),'configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x1612fa(0xd5),'sessionIdDescription':_0x1612fa(0xcd),'authorizationDescription':'Bearerプレフィックス付きのAPIキー。','configParameters':_0x1612fa(0xc6),'maxRetries':_0x1612fa(0xc9),'save':_0x1612fa(0xcc),'saving':_0x1612fa(0xb5),'note1':_0x1612fa(0xbe),'note2':'APIキーはローカルストレージに安全に保存されます','configSaved':_0x1612fa(0xc0),'configError':'設定の保存に失敗しました','apiApplyInfo':{'title':_0x1612fa(0xa8),'description':_0x1612fa(0xb0),'univerAiLabel':_0x1612fa(0xbc),'getStarted':_0x1612fa(0xca)},'validation':{'apiKeyRequired':_0x1612fa(0xcf),'apiKeyTooShort':_0x1612fa(0xb4),'invalidConfig':_0x1612fa(0xb7),'invalidApiKey':_0x1612fa(0xa7)},'connectionStatus':{'disconnected':'未接続','connecting':'接続中...','connected':_0x1612fa(0xaf),'failed':'接続失敗','retrying':_0x1612fa(0xb3)},'connectionError':{'unauthorized':_0x1612fa(0xb8),'sessionOccupied':'セッションIDが現在使用中です。後でもう一度お試しください','networkError':_0x1612fa(0xd4),'maxRetriesExceeded':_0x1612fa(0xb9)}}};module['exports']=e;function _0x464b(_0x4ee243,_0x5782ee){_0x4ee243=_0x4ee243-0xa7;const _0x36f237=_0x36f2();let _0x464b8b=_0x36f237[_0x4ee243];return _0x464b8b;}function _0x36f2(){const _0x37e2ce=['MCP\x20不明な状態','ネットワーク接続エラー。インターネット接続を確認してください','セッションID','無効なAPIキーです。キーが正しいか確認してください','APIキーとは?','MCPクライアントの設定ファイルに設定を追加','以下のJSON設定をコピー','MCP:\x20ネットワークエラー','MCP:\x20認証されていません','MCP:\x20最大再試行回数を超過','MCP\x20接続中...','接続済み','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','1032332oRICiy','セキュアな接続のために認証を有効にする','再試行中...','APIキーは10文字以上である必要があります','保存中...','819236euuaLL','無効な設定','認証に失敗しました。APIキーを確認してください','最大再試行回数を超過しました。後でもう一度お試しください','MCP設定','クリックしてMCPに接続','Univer\x20AIコンソール','3WOADKN','設定の変更は直ちに有効になります','1639220PhGUKy','設定が正常に保存されました','3958496dVtDqz','75135xbFuWH','MCPを設定してAIでスプレッドシートを操作','クリックしてMCPを設定','701057SwFBtT','設定パラメータ:','13976740IMMAqk','MCP:\x20セッションIDが使用中','最大再試行回数','数秒でAPIキーを取得','MCPクライアントの設定に次の設定を追加してください:','設定を保存','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','9MQVjDC','APIキーは必須です','APIキー','18sGMsbg','APIキーはこのブラウザのローカルに保存されます'];_0x36f2=function(){return _0x37e2ce;};return _0x36f2();}