@univerjs-pro/mcp-ui 0.15.1 → 0.15.2-insiders.20260122-b1556b1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +7 -7
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x33578c=_0x2812;(function(_0x494621,_0x2fb932){const _0x5e85fd=_0x2812,_0x5d5d0f=_0x494621();while(!![]){try{const _0x3b3867=parseInt(_0x5e85fd(0xa8))/0x1*(parseInt(_0x5e85fd(0x101))/0x2)+-parseInt(_0x5e85fd(0x121))/0x3+parseInt(_0x5e85fd(0xf1))/0x4+parseInt(_0x5e85fd(0x1e4))/0x5+parseInt(_0x5e85fd(0x113))/0x6*(-parseInt(_0x5e85fd(0x202))/0x7)+parseInt(_0x5e85fd(0x1fc))/0x8+parseInt(_0x5e85fd(0x1ff))/0x9;if(_0x3b3867===_0x2fb932)break;else _0x5d5d0f['push'](_0x5d5d0f['shift']());}catch(_0x175c4d){_0x5d5d0f['push'](_0x5d5d0f['shift']());}}}(_0x1b3d,0x2da40));var ae=Object['defineProperty'],le=(_0x5d64f9,_0xcf3bc2,_0x118104)=>_0xcf3bc2 in _0x5d64f9?ae(_0x5d64f9,_0xcf3bc2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x118104}):_0x5d64f9[_0xcf3bc2]=_0x118104,I=(_0x5aa1e8,_0x154480,_0x104041)=>le(_0x5aa1e8,typeof _0x154480!=_0x33578c(0xe0)?_0x154480+'':_0x154480,_0x104041);Object[_0x33578c(0x1ee)](exports,Symbol[_0x33578c(0x15c)],{'value':_0x33578c(0xf2)});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:_0x54ef5a,..._0x3ba55e}){const _0xbf8ce6=_0x33578c,{icon:_0x504444,id:_0x18a142,className:_0x2c8138,extend:_0x57a2aa,..._0x9b2e17}=_0x3ba55e,_0x4de296=(_0xbf8ce6(0x193)+_0x18a142+'\x20'+(_0x2c8138||''))[_0xbf8ce6(0x1c3)](),_0x1b1579=d['useRef']('_'+de());return G(_0x504444,''+_0x18a142,{'defIds':_0x504444[_0xbf8ce6(0x1aa)],'idSuffix':_0x1b1579['current']},{'ref':_0x54ef5a,'className':_0x4de296,..._0x9b2e17},_0x57a2aa);}function G(_0x5ba677,_0x2883fa,_0x48fdfc,_0x1d0ee0,_0x3bd008){const _0x37d2a6=_0x33578c;return d[_0x37d2a6(0x1ca)](_0x5ba677['tag'],{'key':_0x2883fa,...ue(_0x5ba677,_0x48fdfc,_0x3bd008),..._0x1d0ee0},(ve(_0x5ba677,_0x48fdfc)[_0x37d2a6(0x19f)]||[])['map']((_0x22ab3f,_0xef6cf4)=>G(_0x22ab3f,_0x2883fa+'-'+_0x5ba677['tag']+'-'+_0xef6cf4,_0x48fdfc,void 0x0,_0x3bd008)));}function ue(_0x175dfc,_0x5a9170,_0x1eb391){const _0x3cce03=_0x33578c,_0xca8c85={..._0x175dfc['attrs']};_0x1eb391!=null&&_0x1eb391[_0x3cce03(0x10f)]&&_0xca8c85[_0x3cce03(0x11e)]===_0x3cce03(0x10f)&&(_0xca8c85[_0x3cce03(0x11e)]=_0x1eb391[_0x3cce03(0x10f)]),_0x175dfc[_0x3cce03(0x1fe)]===_0x3cce03(0x116)&&_0xca8c85['id']&&(_0xca8c85['id']=_0xca8c85['id']+_0x5a9170[_0x3cce03(0xcf)]),Object[_0x3cce03(0x131)](_0xca8c85)['forEach'](([_0x1da7f7,_0x222691])=>{const _0x2aa487=_0x3cce03;_0x1da7f7==='mask'&&typeof _0x222691==_0x2aa487(0x1da)&&(_0xca8c85[_0x1da7f7]=_0x222691[_0x2aa487(0x213)](/url\(#(.*)\)/,_0x2aa487(0x15f)+_0x5a9170['idSuffix']+')'));});const {defIds:_0x2d3d9d}=_0x5a9170;return!_0x2d3d9d||_0x2d3d9d[_0x3cce03(0xed)]===0x0||(_0x175dfc[_0x3cce03(0x1fe)]==='use'&&_0xca8c85['xlink:href']&&(_0xca8c85[_0x3cce03(0x9e)]=_0xca8c85[_0x3cce03(0x9e)]+_0x5a9170[_0x3cce03(0xcf)]),Object[_0x3cce03(0x131)](_0xca8c85)[_0x3cce03(0x14c)](([_0x51ee8d,_0x2f2c5f])=>{const _0x4039b4=_0x3cce03;typeof _0x2f2c5f==_0x4039b4(0x1da)&&(_0xca8c85[_0x51ee8d]=_0x2f2c5f[_0x4039b4(0x213)](/url\(#(.*)\)/,_0x4039b4(0x15f)+_0x5a9170[_0x4039b4(0xcf)]+')'));})),_0xca8c85;}function ve(_0x41c503,_0x52b36d){const _0x902622=_0x33578c;var _0x441738;const {defIds:_0x4a9f8f}=_0x52b36d;return!_0x4a9f8f||_0x4a9f8f['length']===0x0?_0x41c503:_0x41c503[_0x902622(0x1fe)]===_0x902622(0x103)&&((_0x441738=_0x41c503[_0x902622(0x19f)])!=null&&_0x441738[_0x902622(0xed)])?{..._0x41c503,'children':_0x41c503[_0x902622(0x19f)][_0x902622(0xbd)](_0x226585=>typeof _0x226585[_0x902622(0x1a9)]['id']==_0x902622(0x1da)&&_0x4a9f8f&&_0x4a9f8f[_0x902622(0x117)](_0x226585['attrs']['id'])?{..._0x226585,'attrs':{..._0x226585[_0x902622(0x1a9)],'id':_0x226585[_0x902622(0x1a9)]['id']+_0x52b36d[_0x902622(0xcf)]}}:_0x226585)}:_0x41c503;}function de(){const _0x267d1f=_0x33578c;return Math['random']()[_0x267d1f(0x16f)](0x24)[_0x267d1f(0x12c)](0x2,0x8);}_['displayName']=_0x33578c(0x1ed);function _0x2812(_0x4d67df,_0x21ae95){_0x4d67df=_0x4d67df-0x9b;const _0x1b3df3=_0x1b3d();let _0x2812cb=_0x1b3df3[_0x4d67df];return _0x2812cb;}const Ce={'tag':_0x33578c(0xa3),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x33578c(0xb0),'viewBox':'0\x200\x2016\x2016','width':_0x33578c(0x1e8),'height':_0x33578c(0x1e8)},'children':[{'tag':_0x33578c(0xf8),'attrs':{'fill':_0x33578c(0x196),'d':_0x33578c(0x176),'fillRule':_0x33578c(0x14d),'clipRule':_0x33578c(0x14d)}}]},H=d[_0x33578c(0x15d)](function(_0x5e64bd,_0x14bd4a){const _0x242bc7=_0x33578c;return d[_0x242bc7(0x1ca)](_,Object[_0x242bc7(0x191)]({},_0x5e64bd,{'id':_0x242bc7(0x155),'ref':_0x14bd4a,'icon':Ce}));});H[_0x33578c(0xc2)]=_0x33578c(0xa0);const ge={'tag':_0x33578c(0xa3),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x33578c(0xb0),'viewBox':_0x33578c(0x10e),'width':_0x33578c(0x1e8),'height':'1em'},'children':[{'tag':_0x33578c(0xf8),'attrs':{'fill':_0x33578c(0x196),'d':_0x33578c(0x100)}}]},B=d[_0x33578c(0x15d)](function(_0x2cb1ca,_0x513762){const _0x4aff0c=_0x33578c;return d[_0x4aff0c(0x1ca)](_,Object[_0x4aff0c(0x191)]({},_0x2cb1ca,{'id':'close-icon','ref':_0x513762,'icon':ge}));});B[_0x33578c(0xc2)]=_0x33578c(0xad);const fe={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x33578c(0xb0),'viewBox':_0x33578c(0x10e),'width':'1em','height':_0x33578c(0x1e8)},'children':[{'tag':'path','attrs':{'fill':_0x33578c(0x196),'d':_0x33578c(0x1bb)}},{'tag':'path','attrs':{'fill':_0x33578c(0x196),'d':_0x33578c(0x185)}},{'tag':'path','attrs':{'fill':_0x33578c(0x196),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':'evenodd','clipRule':_0x33578c(0x14d)}}]},F=d[_0x33578c(0x15d)](function(_0x510e89,_0x57d0d3){const _0x376974=_0x33578c;return d[_0x376974(0x1ca)](_,Object['assign']({},_0x510e89,{'id':_0x376974(0xc1),'ref':_0x57d0d3,'icon':fe}));});F[_0x33578c(0xc2)]='HelpIcon';const pe={'tag':'svg','attrs':{'xmlns':_0x33578c(0x169),'fill':_0x33578c(0xb0),'viewBox':'0\x200\x2016\x2016','width':_0x33578c(0x1e8),'height':_0x33578c(0x1e8)},'children':[{'tag':'g','attrs':{'clipPath':_0x33578c(0xa9)},'children':[{'tag':'path','attrs':{'stroke':_0x33578c(0x196),'d':_0x33578c(0x149),'strokeLinecap':'round','strokeLinejoin':_0x33578c(0x20f),'strokeWidth':1.2}}]},{'tag':_0x33578c(0x103),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x33578c(0xf8),'attrs':{'fill':_0x33578c(0x1b7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Y=d[_0x33578c(0x15d)](function(_0x4e89c1,_0x776db){const _0xce0453=_0x33578c;return d['createElement'](_,Object[_0xce0453(0x191)]({},_0x4e89c1,{'id':_0xce0453(0x130),'ref':_0x776db,'icon':pe}));});Y[_0x33578c(0xc2)]=_0x33578c(0x15a);const he={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x33578c(0x1d6),'width':'1em','height':_0x33578c(0x1e8)},'children':[{'tag':'g','attrs':{'clipPath':_0x33578c(0xb8)},'children':[{'tag':'path','attrs':{'stroke':_0x33578c(0x196),'d':_0x33578c(0x109),'strokeLinecap':'round','strokeLinejoin':_0x33578c(0x20f),'strokeWidth':1.2}}]},{'tag':_0x33578c(0x103),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x33578c(0x10d)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x33578c(0x1a2),'transform':_0x33578c(0x20b)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},q=d[_0x33578c(0x15d)](function(_0x5cde8f,_0xd14ebc){const _0x3a580e=_0x33578c;return d[_0x3a580e(0x1ca)](_,Object['assign']({},_0x5cde8f,{'id':_0x3a580e(0x203),'ref':_0xd14ebc,'icon':he}));});q['displayName']=_0x33578c(0x1e3);function V(_0x1f7367){const _0x175f5e=_0x33578c;var _0xc7ce63,_0x189c80;const {mcpCoreConfig:_0x57e3a3,onSave:_0x33203d,loading:_0x4299c5=!0x1,config:_0x3d2f3d,connectionStatus$:_0x5a6fe5,connectionError$:_0x29edcc,currentApiKey$:_0x2fff80,currentSessionId$:_0x535681}=_0x1f7367,_0x1c43e4=v[_0x175f5e(0x1a3)](u[_0x175f5e(0x212)]),_0x253ae2=v['useObservable'](_0x5a6fe5,s[_0x175f5e(0x177)]['DISCONNECTED']),_0x17eafd=v['useObservable'](_0x29edcc,s[_0x175f5e(0xfc)]['NONE']),_0x54befd=v[_0x175f5e(0x151)](_0x535681,''),_0x374c36=v[_0x175f5e(0x151)](_0x2fff80,''),[_0x2ac4e4,_0x2e4c2c]=d[_0x175f5e(0x1af)](_0x374c36||''),_0x345f1a=!0x0,_0x49cecf=_0x3d2f3d[_0x175f5e(0x17d)]&&_0x57e3a3[_0x175f5e(0x197)]&&(_0x57e3a3[_0x175f5e(0x197)][_0x175f5e(0x117)]('univer.plus')||_0x57e3a3[_0x175f5e(0x197)][_0x175f5e(0x117)]('univer.ai')),_0x11301f=(_0xc7ce63=_0x57e3a3['mcpServerUrl'])==null?void 0x0:_0xc7ce63[_0x175f5e(0x117)](_0x175f5e(0x1ba)),_0x29ce86=(_0x189c80=_0x57e3a3[_0x175f5e(0x197)])==null?void 0x0:_0x189c80[_0x175f5e(0x117)](_0x175f5e(0x161)),_0x4aa4b8=_0x11301f?_0x175f5e(0xe6):_0x175f5e(0xfd),_0x150d41=_0x3d2f3d[_0x175f5e(0x17d)]&&(_0x11301f||_0x29ce86),[_0x551ecd,_0x2d99da]=d[_0x175f5e(0x1af)](!_0x2ac4e4[_0x175f5e(0x1c3)]()),_0x5a434c=(_0x2ec51c,_0x49c698)=>{const _0x3fb40d=_0x175f5e;if(_0x49c698===s['MCPConnectionError']['UNAUTHORIZED'])return _0x3fb40d(0xef);switch(_0x2ec51c){case s[_0x3fb40d(0x177)][_0x3fb40d(0xe5)]:return _0x3fb40d(0x1bf);case s['MCPConnectionStatus'][_0x3fb40d(0x1a6)]:case s['MCPConnectionStatus'][_0x3fb40d(0x1d3)]:return _0x3fb40d(0x126);case s[_0x3fb40d(0x177)][_0x3fb40d(0x133)]:return _0x3fb40d(0xef);default:return _0x3fb40d(0x19e);}},_0x46ec8e=(_0x3709ac,_0x3c9435)=>{const _0x363fdd=_0x175f5e;if(_0x3c9435===s[_0x363fdd(0xfc)][_0x363fdd(0xce)])return'univer-bg-red-500';switch(_0x3709ac){case s[_0x363fdd(0x177)][_0x363fdd(0xe5)]:return'univer-bg-green-500';case s[_0x363fdd(0x177)][_0x363fdd(0x1a6)]:case s[_0x363fdd(0x177)]['RETRYING']:return'univer-bg-blue-500';case s[_0x363fdd(0x177)][_0x363fdd(0x133)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x4a8152=_0xf833ec=>{const _0x1f551c=_0x175f5e;switch(_0xf833ec){case s[_0x1f551c(0x177)]['CONNECTED']:return _0x1c43e4['t'](_0x1f551c(0xbc));case s[_0x1f551c(0x177)]['CONNECTING']:return _0x1c43e4['t'](_0x1f551c(0x13f));case s['MCPConnectionStatus'][_0x1f551c(0x133)]:return _0x1c43e4['t'](_0x1f551c(0x17f));case s[_0x1f551c(0x177)][_0x1f551c(0x1d3)]:return _0x1c43e4['t']('mcpConfig.connectionStatus.retrying');default:return _0x1c43e4['t'](_0x1f551c(0x1f9));}},_0x623eb=_0x53bbec=>{const _0x4e725d=_0x175f5e;switch(_0x53bbec){case s['MCPConnectionError'][_0x4e725d(0xce)]:return _0x1c43e4['t'](_0x4e725d(0xe3));case s['MCPConnectionError'][_0x4e725d(0x1d1)]:return _0x1c43e4['t'](_0x4e725d(0x17c));case s['MCPConnectionError'][_0x4e725d(0x1d2)]:return _0x1c43e4['t'](_0x4e725d(0x211));case s[_0x4e725d(0xfc)]['MAX_RETRIES_EXCEEDED']:return _0x1c43e4['t'](_0x4e725d(0x1ab));default:return'';}},_0x36fab6=d[_0x175f5e(0x1e0)](()=>{const _0x9e9cb2=_0x175f5e,_0x2be9d9={..._0x57e3a3,'apiKey':_0x2ac4e4[_0x9e9cb2(0x1c3)](),'enableAuth':_0x345f1a};_0x33203d(_0x2be9d9);},[_0x57e3a3,_0x2ac4e4,_0x345f1a,_0x33203d]),_0x52a4ef=_0x2ac4e4[_0x175f5e(0x1c3)]()[_0x175f5e(0xed)]>0x0;return i[_0x175f5e(0xd1)]('div',{'className':_0x175f5e(0x170),'children':[i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':_0x175f5e(0x13a),'children':i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0xc4),'children':[i['jsx'](_0x175f5e(0x195),{'className':_0x175f5e(0x9d),'children':i[_0x175f5e(0xaa)](_0x175f5e(0x15b),{'className':'univer-text-white','children':'⚙'})}),i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'children':i['jsx']('p',{'className':_0x175f5e(0x1c1),'children':_0x1c43e4['t'](_0x175f5e(0x16c))})})]})}),i['jsxs']('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':f[_0x175f5e(0xe7)](_0x175f5e(0xd0),_0x5a434c(_0x253ae2,_0x17eafd)),'children':i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0x1b6),'children':[i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':f[_0x175f5e(0xe7)](_0x175f5e(0x1dc),_0x46ec8e(_0x253ae2,_0x17eafd))}),i['jsx']('span',{'className':_0x175f5e(0x1d8),'children':_0x4a8152(_0x253ae2)})]})}),_0x17eafd!==s[_0x175f5e(0xfc)][_0x175f5e(0x12b)]&&(_0x253ae2===s['MCPConnectionStatus'][_0x175f5e(0x133)]||_0x17eafd===s[_0x175f5e(0xfc)]['UNAUTHORIZED'])&&i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':_0x175f5e(0x21b),'children':i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0x14a),'children':[i[_0x175f5e(0xaa)]('span',{'className':_0x175f5e(0xc7),'children':'⚠️'}),i[_0x175f5e(0xaa)]('p',{'className':_0x175f5e(0x164),'children':_0x623eb(_0x17eafd)})]})})]}),i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0x174),'children':[i[_0x175f5e(0xd1)]('div',{'className':'univer-space-y-2','children':[i['jsxs']('label',{'className':_0x175f5e(0x210),'children':[i['jsx'](_0x175f5e(0x15b),{'children':'🔑'}),'\x20',_0x1c43e4['t'](_0x175f5e(0xd5)),i['jsx'](_0x175f5e(0x15b),{'className':'univer-text-red-500','children':'*'}),_0x49cecf&&i[_0x175f5e(0xaa)]('a',{'className':_0x175f5e(0x12f),'title':_0x1c43e4['t'](_0x175f5e(0x122)),'role':_0x175f5e(0xe2),'onClick':()=>_0x2d99da(!0x0),'children':i[_0x175f5e(0xaa)](F,{})})]}),i['jsx'](f[_0x175f5e(0x1c8)],{'type':_0x175f5e(0x104),'placeholder':_0x1c43e4['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x2ac4e4,'disabled':_0x4299c5,'autoComplete':_0x175f5e(0x1bd),'onChange':_0x2e4c2c}),i[_0x175f5e(0xaa)]('p',{'className':_0x175f5e(0x1a1),'children':_0x1c43e4['t'](_0x175f5e(0x18c))})]}),_0x49cecf&&_0x551ecd&&i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0x20c),'children':[i[_0x175f5e(0xaa)]('a',{'className':_0x175f5e(0x9f),'role':_0x175f5e(0xe2),'onClick':()=>_0x2d99da(!0x1),'children':i[_0x175f5e(0xaa)](B,{'className':_0x175f5e(0x1b0)})}),i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x175f5e(0xaa)]('div',{'className':_0x175f5e(0x21c),'children':i[_0x175f5e(0xaa)](_0x175f5e(0x15b),{'className':_0x175f5e(0xdb),'children':'🚀'})}),i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0xb6),'children':[i[_0x175f5e(0xaa)]('h4',{'className':_0x175f5e(0x189),'children':_0x1c43e4['t'](_0x175f5e(0x122))}),i[_0x175f5e(0xaa)]('p',{'className':_0x175f5e(0xd6),'children':_0x1c43e4['t'](_0x175f5e(0x14f))}),i['jsx']('div',{'className':_0x175f5e(0x157),'children':_0x150d41&&i[_0x175f5e(0xd1)]('a',{'className':_0x175f5e(0x10b),'href':_0x4aa4b8,'target':_0x175f5e(0x163),'rel':_0x175f5e(0x1ad),'children':[i[_0x175f5e(0xaa)](_0x175f5e(0x15b),{'children':'🤖'}),_0x1c43e4['t'](_0x175f5e(0x20e)),i[_0x175f5e(0xaa)](_0x175f5e(0x15b),{'className':_0x175f5e(0x18b),'children':'↗'})]})}),i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x1c43e4['t'](_0x175f5e(0x21d))]})]})]})]}),_0x3d2f3d[_0x175f5e(0x17d)]&&i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0x1a8),'children':[i['jsxs']('h4',{'className':_0x175f5e(0x162),'children':[i[_0x175f5e(0xaa)](_0x175f5e(0x15b),{'children':'🔗'}),'\x20',_0x1c43e4['t'](_0x175f5e(0x1a0))]}),i['jsxs']('div',{'className':_0x175f5e(0x199),'children':[i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0xcd),'children':[i[_0x175f5e(0xaa)]('p',{'className':_0x175f5e(0xc0),'children':_0x1c43e4['t']('mcpConfig.configInstructions')}),i[_0x175f5e(0xd1)]('div',{'className':_0x175f5e(0xb7),'children':[i[_0x175f5e(0xaa)]('div',{'className':_0x175f5e(0x115),'children':_0x1c43e4['t'](_0x175f5e(0x112))}),i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0xff),'children':[i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0x1b6),'children':[i[_0x175f5e(0xaa)]('span',{'className':_0x175f5e(0x16b),'children':'1'}),_0x1c43e4['t'](_0x175f5e(0x128))]}),i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0x1b6),'children':[i[_0x175f5e(0xaa)](_0x175f5e(0x15b),{'className':_0x175f5e(0x16b),'children':'2'}),_0x1c43e4['t'](_0x175f5e(0x1cd))]}),i['jsxs'](_0x175f5e(0x195),{'className':_0x175f5e(0x1b6),'children':[i[_0x175f5e(0xaa)]('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':'3'}),_0x1c43e4['t']('mcpConfig.configStep3')]})]})]})]}),i[_0x175f5e(0xd1)]('div',{'className':_0x175f5e(0xb7),'children':[i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':_0x175f5e(0x115),'children':_0x175f5e(0x201)}),i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':i[_0x175f5e(0xaa)](_0x175f5e(0x132),{'className':_0x175f5e(0x1a5),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x175f5e(0xdf)+(_0x54befd||_0x175f5e(0x11b)),'type':_0x175f5e(0xa2),'headers':{'Authorization':'Bearer\x20'+(_0x2ac4e4||_0x175f5e(0x1cc))}}}},null,0x2)})})]}),i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0xcd),'children':[i[_0x175f5e(0xaa)]('div',{'className':_0x175f5e(0x115),'children':_0x1c43e4['t'](_0x175f5e(0xd9))}),i[_0x175f5e(0xd1)]('div',{'className':'univer-space-y-2','children':[i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'className':_0x175f5e(0x20a),'children':[i['jsx'](_0x175f5e(0x195),{'className':_0x175f5e(0xfe)}),i[_0x175f5e(0xd1)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x175f5e(0x219)}),i[_0x175f5e(0xaa)]('div',{'className':_0x175f5e(0x1a1),'children':_0x1c43e4['t'](_0x175f5e(0xa7))})]})]}),i[_0x175f5e(0xd1)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':_0x175f5e(0xfe)}),i['jsxs'](_0x175f5e(0x195),{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':_0x175f5e(0x13c),'children':_0x175f5e(0x105)}),i[_0x175f5e(0xaa)](_0x175f5e(0x195),{'className':_0x175f5e(0x1a1),'children':_0x1c43e4['t'](_0x175f5e(0xa6))})]})]})]})]})]})]}),i[_0x175f5e(0xaa)](f['Button'],{'onClick':_0x36fab6,'disabled':!_0x52a4ef||_0x4299c5,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x4299c5?i['jsxs'](_0x175f5e(0x15b),{'className':_0x175f5e(0x1b6),'children':[i[_0x175f5e(0xaa)](_0x175f5e(0x15b),{'children':'⟲'}),_0x1c43e4['t'](_0x175f5e(0x1ec))]}):i[_0x175f5e(0xd1)](_0x175f5e(0x15b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x175f5e(0xaa)](H,{}),_0x1c43e4['t'](_0x175f5e(0x194))]})}),i[_0x175f5e(0xaa)]('div',{'className':_0x175f5e(0x1b9),'children':i[_0x175f5e(0xd1)]('div',{'className':'univer-flex\x20univer-gap-3','children':[i[_0x175f5e(0xaa)](_0x175f5e(0x15b),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),i[_0x175f5e(0xd1)]('div',{'className':_0x175f5e(0x154),'children':[i[_0x175f5e(0xaa)]('div',{'className':_0x175f5e(0x182),'children':_0x175f5e(0xcb)}),i[_0x175f5e(0xd1)](_0x175f5e(0x195),{'children':['•',_0x1c43e4['t']('mcpConfig.note1')]}),i['jsxs'](_0x175f5e(0x195),{'children':['•',_0x1c43e4['t']('mcpConfig.note2')]})]})]})})]})})]});}const P=_0x33578c(0x118),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x33578c(0xda)],xe=(_0x5d94ae,_0x5237e2,_0xe39ebe,_0x5533f9)=>{const _0x47a653=_0x33578c;for(var _0x55eb77=_0x5533f9>0x1?void 0x0:_0x5533f9?me(_0x5237e2,_0xe39ebe):_0x5237e2,_0x36a1b2=_0x5d94ae[_0x47a653(0xed)]-0x1,_0x353729;_0x36a1b2>=0x0;_0x36a1b2--)(_0x353729=_0x5d94ae[_0x36a1b2])&&(_0x55eb77=_0x353729(_0x55eb77)||_0x55eb77);return _0x55eb77;},g=(_0x429287,_0x1c2f26)=>(_0x304cca,_0xe69c77)=>_0x1c2f26(_0x304cca,_0xe69c77,_0x429287);const O=_0x33578c(0x1f5),D=_0x33578c(0x125);exports['MCPConfigUIController']=class extends u['Disposable']{constructor(_0x3f189e,_0x3efb18,_0x45b58f,_0x255e9c,_0x988cc8,_0x5cace7,_0x13d80c,_0x3607e1,_0x40fb30,_0x1b6ba0){const _0x1c4045=_0x33578c;super(),I(this,_0x1c4045(0x187),new M[(_0x1c4045(0x150))](!0x1)),I(this,_0x1c4045(0x16e),new M['BehaviorSubject']({})),I(this,_0x1c4045(0xea),new M[(_0x1c4045(0x150))]({})),I(this,_0x1c4045(0x1d9),new M[(_0x1c4045(0x150))]('')),I(this,_0x1c4045(0x11a),async _0x4f0940=>{const _0x3880cd=_0x1c4045;var _0x28465c,_0x2e4629;this[_0x3880cd(0x187)][_0x3880cd(0x186)](!0x0);try{const _0x35974e=await this['_validateConfig'](_0x4f0940);if(!_0x35974e['isValid']){this[_0x3880cd(0x1b5)]['show']({'type':f['MessageType'][_0x3880cd(0xcc)],'content':_0x35974e[_0x3880cd(0x141)]||this[_0x3880cd(0x12d)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x4f0940[_0x3880cd(0x140)]?await this['_localStorageService'][_0x3880cd(0x1f6)](O,_0x4f0940[_0x3880cd(0x140)][_0x3880cd(0x1c3)]()):await this[_0x3880cd(0xe8)][_0x3880cd(0x10c)](O),this['_apiKey$'][_0x3880cd(0x186)](((_0x28465c=_0x4f0940[_0x3880cd(0x140)])==null?void 0x0:_0x28465c[_0x3880cd(0x1c3)]())||''),this[_0x3880cd(0x134)]['__setCustomHeaders']({'Authorization':_0x3880cd(0x1bc)+((_0x2e4629=_0x4f0940[_0x3880cd(0x140)])==null?void 0x0:_0x2e4629[_0x3880cd(0x1c3)]())}),this[_0x3880cd(0x1b5)][_0x3880cd(0x214)]({'type':f[_0x3880cd(0x1ae)][_0x3880cd(0xbe)],'content':this[_0x3880cd(0x12d)]['t'](_0x3880cd(0x14b))}),setTimeout(()=>{const _0x277c42=_0x3880cd;this[_0x277c42(0x142)][_0x277c42(0x1d0)](D);},0x320);}catch(_0x28a43d){this[_0x3880cd(0xa5)][_0x3880cd(0x111)](_0x3880cd(0x1b3),_0x28a43d),this[_0x3880cd(0x1b5)][_0x3880cd(0x214)]({'type':f[_0x3880cd(0x1ae)]['Error'],'content':this[_0x3880cd(0x12d)]['t'](_0x3880cd(0x1d7))});}finally{this['_loading$'][_0x3880cd(0x186)](!0x1);}}),(this['_injector']=_0x3f189e,this[_0x1c4045(0x1b2)]=_0x3efb18,this['_configService']=_0x45b58f,this['_localStorageService']=_0x255e9c,this[_0x1c4045(0x142)]=_0x988cc8,this['_messageService']=_0x5cace7,this[_0x1c4045(0xa1)]=_0x13d80c,this[_0x1c4045(0x12d)]=_0x3607e1,this[_0x1c4045(0xa5)]=_0x40fb30,this['_mcpConnectionController']=_0x1b6ba0,this[_0x1c4045(0x106)](),this[_0x1c4045(0x1ac)](),this['_registerComponent']());}['showConfigPanel'](){const _0x454623=_0x33578c,_0x36737d=this[_0x454623(0x143)][_0x454623(0x209)](P);_0x36737d!=null&&_0x36737d['showDeveloperTools']&&this[_0x454623(0x142)]['open']({'id':D,'title':{'title':this[_0x454623(0x12d)]['t'](_0x454623(0xe9))},'children':{'label':_0x454623(0x9b)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x264fbd=_0x454623;this[_0x264fbd(0x142)]['close'](D);}});}[_0x33578c(0xac)](){const _0x43e45a=_0x33578c;return this['_mcpCoreConfig$'][_0x43e45a(0x188)];}[_0x33578c(0x13e)](){const _0x3e633a=_0x33578c;this[_0x3e633a(0x15e)](this['_componentManager'][_0x3e633a(0x11c)](_0x3e633a(0x9b),this[_0x3e633a(0x127)]()));}[_0x33578c(0x127)](){const _0x2f98d5=_0x33578c;return v[_0x2f98d5(0x1be)](()=>{const _0x18dfc8=_0x2f98d5;var _0x12a507,_0x58c5d3,_0x3a2db0;return i[_0x18dfc8(0xaa)](V,{'config':this[_0x18dfc8(0xea)]['value'],'mcpCoreConfig':this[_0x18dfc8(0x16e)][_0x18dfc8(0x188)],'currentApiKey$':this[_0x18dfc8(0x1d9)],'onSave':this[_0x18dfc8(0x11a)],'loading':this['_loading$'][_0x18dfc8(0x188)],'connectionStatus$':(_0x12a507=this[_0x18dfc8(0x134)])==null?void 0x0:_0x12a507[_0x18dfc8(0x1dd)],'connectionError$':(_0x58c5d3=this['_mcpConnectionController'])==null?void 0x0:_0x58c5d3[_0x18dfc8(0x156)],'currentSessionId$':(_0x3a2db0=this['_mcpConnectionController'])==null?void 0x0:_0x3a2db0[_0x18dfc8(0x108)]});},this['_injector']);}[_0x33578c(0x106)](){const _0x34259b=_0x33578c;this[_0x34259b(0x15e)](this[_0x34259b(0x143)]['subscribeConfigValue$'](s[_0x34259b(0x1f4)])[_0x34259b(0x180)](_0x2188c0=>{const _0x545ffe=_0x34259b;this['_mcpCoreConfig$'][_0x545ffe(0x186)](_0x2188c0||{});}));const _0x55a484=this[_0x34259b(0x143)][_0x34259b(0x209)](s[_0x34259b(0x1f4)]);this[_0x34259b(0x16e)][_0x34259b(0x186)](_0x55a484||{}),this[_0x34259b(0x15e)](this[_0x34259b(0x143)][_0x34259b(0x153)](P)[_0x34259b(0x180)](_0x4189c3=>{const _0xb98944=_0x34259b;this[_0xb98944(0xea)][_0xb98944(0x186)](_0x4189c3||{});}));const _0x5017ab=this['_configService'][_0x34259b(0x209)](P);this[_0x34259b(0xea)][_0x34259b(0x186)](_0x5017ab||{});}async[_0x33578c(0x1ac)](){const _0x580d69=_0x33578c,_0x488970=this[_0x580d69(0x143)][_0x580d69(0x209)](P);if(!(_0x488970!=null&&_0x488970[_0x580d69(0x17d)]))return;const _0x223d08=await this[_0x580d69(0xe8)][_0x580d69(0xb3)](O);_0x223d08&&(this[_0x580d69(0x134)][_0x580d69(0x1cb)]({'Authorization':_0x580d69(0x1bc)+_0x223d08}),this[_0x580d69(0x1d9)][_0x580d69(0x186)](_0x223d08));}async[_0x33578c(0x173)](_0x5d133e){const _0x3bb124=_0x33578c;if(!_0x5d133e[_0x3bb124(0x140)]||_0x5d133e[_0x3bb124(0x140)][_0x3bb124(0x1c3)]()[_0x3bb124(0xed)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x3bb124(0x12d)]['t'](_0x3bb124(0x13b))};if(_0x5d133e[_0x3bb124(0x140)][_0x3bb124(0x1c3)]()[_0x3bb124(0xed)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3bb124(0x12d)]['t'](_0x3bb124(0x215))};try{const _0x106ac2=await this[_0x3bb124(0x183)][_0x3bb124(0x144)](s[_0x3bb124(0x148)])['validateApiKey'](_0x5d133e[_0x3bb124(0x140)][_0x3bb124(0x1c3)]());return _0x106ac2[_0x3bb124(0x1eb)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x106ac2['error']||this[_0x3bb124(0x12d)]['t'](_0x3bb124(0x207))};}catch(_0x5c95f7){return console[_0x3bb124(0x1df)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x5c95f7),{'isValid':!0x0};}}},exports['MCPConfigUIController']=xe([g(0x0,u['Inject'](u[_0x33578c(0x19a)])),g(0x1,v[_0x33578c(0x206)]),g(0x2,u[_0x33578c(0x200)]),g(0x3,u[_0x33578c(0x1e6)]),g(0x4,v[_0x33578c(0x9c)]),g(0x5,v[_0x33578c(0x120)]),g(0x6,u[_0x33578c(0x107)](v[_0x33578c(0x1fa)])),g(0x7,u[_0x33578c(0x107)](u[_0x33578c(0x212)])),g(0x8,u[_0x33578c(0x102)]),g(0x9,u[_0x33578c(0x107)](s['MCPConnectionController']))],exports[_0x33578c(0x10a)]);function _0x1b3d(){const _0x36ca18=['univer.plus','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','Bearer\x20','off','connectInjector','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','已连接','univer-text-sm\x20univer-text-gray-500','Tooltip','trim','Configuration\x20saved\x20successfully','Connected','Failed\x20to\x20save\x20configuration','DependentOn','Input','add','createElement','__setCustomHeaders','<API_KEY>','mcpConfig.configStep2','univer-flex\x20univer-items-center','MCP\x20Disconnected','close','SESSION_ID_OCCUPIED','NETWORK_ERROR','RETRYING','enableAutoConnect','univer-text-green-500','0\x200\x2017\x2016','mcpConfig.configError','univer-text-sm\x20univer-font-medium','_apiKey$','string','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-size-2\x20univer-rounded-full','connectionStatus$','Configuration\x20Parameters:','warn','useCallback','点击配置\x20MCP','mcpStatus.clickToConnect','OnLineIcon','571435IffVhZ','_connectionController','ILocalStorageService','Get\x20your\x20API\x20key\x20in\x20seconds','1em','Max\x20Retries','连接中...','isValid','mcpConfig.saving','UniverIcon','defineProperty','Invalid\x20configuration','会话\x20ID\x20已被占用,请稍后再试','MCP\x20Connecting...','配置保存失败','Retrying...','MCP_PLUGIN_CONFIG_KEY','mcp.apiKey','setItem','MCP\x20Unknown\x20Status','MAX_RETRIES_EXCEEDED','mcpConfig.connectionStatus.disconnected','ComponentManager','BUTTON','1340408VQawhB','配置更改将立即生效','tag','1257156ezKfQL','IConfigService','MCP\x20Configuration','3227ywXvvm','on-line-icon','保存中...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','IUIPartsService','mcpConfig.validation.invalidApiKey','MCP\x20客户端配置','getConfig','univer-flex\x20univer-items-start\x20univer-gap-3','translate(.97)','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','API\x20密钥不能为空','mcpConfig.apiApplyInfo.univerAiLabel','round','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.connectionError.networkError','LocaleService','replace','show','mcpConfig.validation.apiKeyTooShort','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','超出最大重试次数,请稍后再试','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer_session_id:','Disconnected','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpConfig.apiApplyInfo.getStarted','MCPConfigPanel','IDialogService','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','xlink:href','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','CheckMarkIcon','_componentManager','http','svg','_commandService','_logService','mcpConfig.authorizationDescription','mcpConfig.sessionIdDescription','4127pOyjNk','url(#off-line-icon_clip0_910_343)','jsx','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','getCurrentConfig','CloseIcon','WebSocketService','CommandType','none','Enable\x20Authentication','MCP\x20配置','getItem','Configuration\x20Steps:','MCP:\x20Unauthorized','univer-flex-1','univer-space-y-2','url(#on-line-icon_clip0_910_349)','has','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.connectionStatus.connected','map','Success','请输入您的\x20API\x20密钥','univer-text-xs\x20univer-text-gray-600','help-icon','displayName','HEADER_MENU','univer-flex\x20univer-items-center\x20univer-gap-3','Univer\x20AI\x20Console','MCP\x20连接中...','univer-shrink-0\x20univer-text-red-500','_config','带有\x20Bearer\x20前缀的\x20API\x20密钥。','registerComponent','Configuration\x20Notes:','Error','univer-space-y-3','UNAUTHORIZED','idSuffix','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','jsxs','Saving...','_handleConfigure','MenuIcon','mcpConfig.apiKey','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','Connecting...','Univer\x20AI\x20控制台','mcpConfig.configParameters','getOwnPropertyDescriptor','univer-text-blue-600','点击连接\x20MCP','MCP:\x20Session\x20ID\x20Occupied','配置参数:','https://mcp.univer.ai/mcp/?univer_session_id=','symbol','MCP:\x20网络错误','button','mcpConfig.connectionError.unauthorized','配置\x20MCP\x20使用\x20AI\x20操作电子表格','CONNECTED','https://console.univer.plus','clsx','_localStorageService','mcpConfig.title','_config$','MCP:\x20会话\x20ID\x20已被占用','enUS','length','配置无效','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','API\x20密钥长度至少需要\x2010\x20位','1230308nWRIyz','Module','MCPConnectionUIController','_initializeMenus','COMMAND','DISCONNECTED','几秒钟内获取您的\x20API\x20密钥','path','MCPStatusDisplay','MCP\x20重连中...','MCPUIMenuController','MCPConnectionError','https://console.univer.ai','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','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','10NonYqp','ILogService','defs','text','Authorization:','_initConfigSync','Inject','sessionId$','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','MCPConfigUIController','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','removeItem','on-line-icon_clip0_910_349','0\x200\x2016\x2016','colorChannel1','BuiltInUIPart','error','mcpConfig.configStepTitle','3018ECIFhH','MCP:\x20Max\x20Retries\x20Exceeded','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mask','includes','mcp-ui.config','Plugin','_handleConfigSave','<SESSION_ID>','register','配置步骤:','fill','MCP\x20Client\x20Configuration','IMessageService','992721sXCCNE','mcpConfig.apiApplyInfo.title','mcpStatus.connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcp-config-dialog','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_createConfigPanelComponent','mcpConfig.configStep1','ICommandService','_initAutoConnect','NONE','substring','_localeService','保存配置','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','off-line-icon','entries','pre','FAILED','_mcpConnectionController','zhCN','Session\x20ID','什么是\x20API\x20密钥?','MCP\x20Connection\x20Failed','push','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpConfig.validation.apiKeyRequired','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','API\x20Key','_registerComponent','mcpConfig.connectionStatus.connecting','apiKey','errorMessage','_dialogService','_configService','get','重连中...','ISocketService','UniverMCPUIPlugin','MCPConnectionController','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','univer-flex\x20univer-items-start\x20univer-gap-2','mcpConfig.configSaved','forEach','evenodd','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.apiApplyInfo.description','BehaviorSubject','useObservable','Enter\x20your\x20API\x20key','subscribeConfigValue$','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','check-mark-icon','connectionError$','univer-flex\x20univer-flex-wrap\x20univer-gap-2','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20Retrying...','OffLineIcon','span','toStringTag','forwardRef','disposeWithMe','url(#$1','复制以下\x20JSON\x20配置','univer.ai','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_blank','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-mr-2\x20univer-flex\x20univer-text-xl','_initializeCommands','_initStatusComponent','将配置添加到您的\x20MCP\x20客户端设置文件中','http://www.w3.org/2000/svg','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','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','mcpConfig.description','mcpStatus.maxRetriesExceeded','_mcpCoreConfig$','toString','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','MenuItemType','未连接','_validateConfig','univer-space-y-5','MCP\x20状态未知','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','MCPConnectionStatus','MCP_UI_PLUGIN','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.connectionError.sessionOccupied','showDeveloperTools','Click\x20to\x20configure\x20MCP','mcpConfig.connectionStatus.failed','subscribe','RibbonStartGroup','univer-font-medium','_injector','_menuManagerService','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','next','_loading$','value','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','UniverMCPPlugin','univer-text-gray-400','mcpConfig.apiKeyHint','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','启用身份验证','showStatus','assign','bottom','univerjs-icon\x20univerjs-icon-','mcpConfig.save','div','currentColor','mcpServerUrl','您的\x20API\x20密钥将在此浏览器中本地存储','univer-space-y-4','Injector','showConfigPanel','启用身份验证以获得安全连接','\x20-\x20','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','children','mcpConfig.connectionInfo','univer-text-xs\x20univer-text-gray-500','M0\x200H16V16H0z','useDependency','API\x20密钥无效,请检查密钥是否正确','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','CONNECTING','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','attrs','defIds','mcpConfig.connectionError.maxRetriesExceeded','_loadStoredApiKey','noopener\x20noreferrer','MessageType','useState','univer-size-4','mcpStatus.sessionOccupied','_uiPartsService','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Copy\x20the\x20JSON\x20configuration\x20below','_messageService','univer-flex\x20univer-items-center\x20univer-gap-2','white','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3'];_0x1b3d=function(){return _0x36ca18;};return _0x1b3d();}const b={'id':'mcp-ui.command.openConfigPanel','type':u[_0x33578c(0xaf)][_0x33578c(0xf5)],'handler':async(_0x4d41df,_0x520a19)=>(_0x4d41df[_0x33578c(0x144)](exports['MCPConfigUIController'])[_0x33578c(0x19b)](),!0x0)};function Z(_0x54d975,_0xc732f3){const _0x3a85ad=_0x33578c;switch(_0x54d975){case s[_0x3a85ad(0x177)][_0x3a85ad(0xf6)]:return'mcpStatus.disconnected';case s[_0x3a85ad(0x177)][_0x3a85ad(0x1a6)]:return'mcpStatus.connecting';case s[_0x3a85ad(0x177)][_0x3a85ad(0xe5)]:return _0x3a85ad(0x123);case s[_0x3a85ad(0x177)][_0x3a85ad(0x133)]:switch(_0xc732f3){case s[_0x3a85ad(0xfc)]['UNAUTHORIZED']:return'mcpStatus.unauthorized';case s[_0x3a85ad(0xfc)][_0x3a85ad(0x1d1)]:return _0x3a85ad(0x1b1);case s['MCPConnectionError'][_0x3a85ad(0x1d2)]:return'mcpStatus.networkError';case s[_0x3a85ad(0xfc)][_0x3a85ad(0x1f8)]:return _0x3a85ad(0x16d);default:return'mcpStatus.failed';}case s['MCPConnectionStatus'][_0x3a85ad(0x1d3)]:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function Se(_0x3a1322,_0x2f47fd,_0x1fbf03,_0x320d67=!0x0){const _0x2dc5fa=_0x33578c,_0x26452b=Z(_0x3a1322,_0x2f47fd),_0x4d9829=_0x1fbf03['t'](_0x26452b);return _0x320d67?_0x3a1322===s['MCPConnectionStatus'][_0x2dc5fa(0xf6)]&&_0x2f47fd===s[_0x2dc5fa(0xfc)][_0x2dc5fa(0xce)]?_0x4d9829+_0x2dc5fa(0x19d)+_0x1fbf03['t']('mcpStatus.clickToConfigure'):_0x3a1322===s['MCPConnectionStatus'][_0x2dc5fa(0xe5)]?''+_0x4d9829:_0x3a1322===s['MCPConnectionStatus'][_0x2dc5fa(0xf6)]||_0x3a1322===s[_0x2dc5fa(0x177)][_0x2dc5fa(0x133)]?_0x4d9829+_0x2dc5fa(0x19d)+_0x1fbf03['t'](_0x2dc5fa(0x1e2)):_0x4d9829:_0x4d9829;}function Pe(_0x45cd57){const _0x4c850b=_0x33578c;switch(_0x45cd57){case s[_0x4c850b(0x177)][_0x4c850b(0xe5)]:return _0x4c850b(0x1d5);case s['MCPConnectionStatus'][_0x4c850b(0x1a6)]:case s[_0x4c850b(0x177)]['RETRYING']:return'univer-text-yellow-500';case s[_0x4c850b(0x177)][_0x4c850b(0x133)]:case s[_0x4c850b(0x177)][_0x4c850b(0xf6)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function W(_0x866573){const _0x4455f0=_0x33578c,{status$:_0x3a17c5,error$:_0x3bd802,onConfigure:_0x2d67a9,showClickable:_0x1734c0=!0x0}=_0x866573,_0x32fb47=v['useObservable'](_0x3a17c5,s[_0x4455f0(0x177)][_0x4455f0(0xf6)]),_0x343b30=v[_0x4455f0(0x151)](_0x3bd802,s[_0x4455f0(0xfc)][_0x4455f0(0x12b)]),_0x208db6=v[_0x4455f0(0x1a3)](u[_0x4455f0(0x212)]),_0x229258=_0x32fb47===s['MCPConnectionStatus'][_0x4455f0(0xe5)];_0x32fb47===s[_0x4455f0(0x177)][_0x4455f0(0x1a6)]||s[_0x4455f0(0x177)]['RETRYING'];const _0x44b012=_0x208db6['t'](Z(_0x32fb47,_0x343b30)),_0x4f30d3=Se(_0x32fb47,_0x343b30,_0x208db6,_0x1734c0),_0x15832f=Pe(_0x32fb47),_0x16fe75=_0x229258?i[_0x4455f0(0xaa)](q,{}):i[_0x4455f0(0xaa)](Y,{}),_0x32774e=d['useCallback'](()=>{_0x1734c0&&_0x2d67a9&&_0x2d67a9();},[_0x1734c0,_0x2d67a9]);function _0x764d6e(){const _0x3f5811=_0x4455f0;return i[_0x3f5811(0xd1)](_0x3f5811(0x195),{'className':f[_0x3f5811(0xe7)](_0x3f5811(0x1ce),_0x1734c0&&_0x2d67a9&&'\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'),'role':'button','onClick':_0x1734c0&&_0x2d67a9?_0x32774e:void 0x0,'children':[i['jsx'](_0x3f5811(0x195),{'className':f[_0x3f5811(0xe7)](_0x3f5811(0x165),_0x15832f),'children':_0x16fe75}),i[_0x3f5811(0xaa)](_0x3f5811(0x195),{'className':_0x3f5811(0xba),'children':_0x44b012})]});}return i[_0x4455f0(0xaa)](f[_0x4455f0(0x1c2)],{'title':_0x4f30d3,'placement':_0x4455f0(0x192),'children':_0x764d6e()});}var Ie=Object[_0x33578c(0xda)],_e=(_0x21258a,_0x55b331,_0x10565c,_0x5176f1)=>{for(var _0x42d29d=_0x5176f1>0x1?void 0x0:_0x5176f1?Ie(_0x55b331,_0x10565c):_0x55b331,_0x16dce9=_0x21258a['length']-0x1,_0x1c3dcb;_0x16dce9>=0x0;_0x16dce9--)(_0x1c3dcb=_0x21258a[_0x16dce9])&&(_0x42d29d=_0x1c3dcb(_0x42d29d)||_0x42d29d);return _0x42d29d;},N=(_0x1b15f5,_0x53ee73)=>(_0x30eb24,_0x5290a0)=>_0x53ee73(_0x30eb24,_0x5290a0,_0x1b15f5);exports[_0x33578c(0xf3)]=class extends u['Disposable']{constructor(_0x596067,_0x37edf5,_0x3577fb,_0x527acd){const _0x1d3176=_0x33578c;super(),this[_0x1d3176(0x183)]=_0x596067,this[_0x1d3176(0x1e5)]=_0x37edf5,this[_0x1d3176(0x1b2)]=_0x3577fb,this[_0x1d3176(0x143)]=_0x527acd,this[_0x1d3176(0x12a)](),this[_0x1d3176(0x167)]();}[_0x33578c(0x12a)](){const _0xc4ead9=_0x33578c,_0x3e4aed=this['_configService']['getConfig'](P);_0x3e4aed!=null&&_0x3e4aed[_0xc4ead9(0x17d)]&&(this[_0xc4ead9(0x1e5)][_0xc4ead9(0x1d4)]=!0x1);}[_0x33578c(0x167)](){const _0x1ebf18=_0x33578c,_0x40974d=this[_0x1ebf18(0x143)][_0x1ebf18(0x209)](P);(_0x40974d==null?void 0x0:_0x40974d[_0x1ebf18(0x190)])!==!0x1&&this['disposeWithMe'](this[_0x1ebf18(0x1b2)][_0x1ebf18(0xca)](v[_0x1ebf18(0x110)][_0x1ebf18(0xc3)],()=>{const _0x425836=_0x1ebf18;var _0x108b20;return v[_0x425836(0x1be)](ye({'status$':this[_0x425836(0x1e5)][_0x425836(0x1dd)],'error$':this[_0x425836(0x1e5)]['connectionError$'],'onConfigure':()=>this[_0x425836(0xd3)](),'showClickable':(_0x108b20=_0x40974d==null?void 0x0:_0x40974d['showDeveloperTools'])!=null?_0x108b20:!0x1}),this['_injector']);}));}[_0x33578c(0xd3)](){const _0x50e1d1=_0x33578c;this[_0x50e1d1(0x183)][_0x50e1d1(0x144)](exports[_0x50e1d1(0x10a)])[_0x50e1d1(0x19b)]();}},exports['MCPConnectionUIController']=_e([N(0x0,u[_0x33578c(0x107)](u[_0x33578c(0x19a)])),N(0x1,u['Inject'](s['MCPConnectionController'])),N(0x2,v[_0x33578c(0x206)]),N(0x3,u[_0x33578c(0x200)])],exports[_0x33578c(0xf3)]);function ye(_0x5da6fa){const {status$:_0x2f1d1f,error$:_0x399efd,onConfigure:_0x180990,showClickable:_0xade210}=_0x5da6fa;return function(){const _0x5aca9c=_0x2812;return i[_0x5aca9c(0xaa)](W,{'status$':_0x2f1d1f,'error$':_0x399efd,'onConfigure':_0x180990,'showClickable':_0xade210});};}function Me(_0x2d26d0){const _0x4569ab=_0x33578c;return{'id':b['id'],'type':v[_0x4569ab(0x171)][_0x4569ab(0x1fb)],'icon':_0x4569ab(0xd4),'title':_0x4569ab(0xe9),'tooltip':_0x4569ab(0xe9)};}const Ne={[v[_0x33578c(0x181)]['OTHERS']]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object['getOwnPropertyDescriptor'],je=(_0x2170b9,_0x5dc82a,_0x7720c0,_0x562fec)=>{const _0x42f4af=_0x33578c;for(var _0x458974=_0x562fec>0x1?void 0x0:_0x562fec?be(_0x5dc82a,_0x7720c0):_0x5dc82a,_0x6366d=_0x2170b9[_0x42f4af(0xed)]-0x1,_0x307392;_0x6366d>=0x0;_0x6366d--)(_0x307392=_0x2170b9[_0x6366d])&&(_0x458974=_0x307392(_0x458974)||_0x458974);return _0x458974;},z=(_0x316d85,_0x1496cc)=>(_0x21b32b,_0x1149ec)=>_0x1496cc(_0x21b32b,_0x1149ec,_0x316d85);exports['MCPUIMenuController']=class extends u['Disposable']{constructor(_0x2d390f,_0x411151){const _0x4ff992=_0x33578c;super(),this[_0x4ff992(0xa4)]=_0x2d390f,this[_0x4ff992(0x184)]=_0x411151,this[_0x4ff992(0x166)](),this[_0x4ff992(0xf4)]();}[_0x33578c(0x166)](){const _0x2f85a1=_0x33578c;[b][_0x2f85a1(0x14c)](_0x358c46=>{const _0x2ef880=_0x2f85a1;this[_0x2ef880(0x15e)](this[_0x2ef880(0xa4)]['registerCommand'](_0x358c46));});}['_initializeMenus'](){const _0x4cfc59=_0x33578c;this[_0x4cfc59(0x184)]['mergeMenu'](Ne);}},exports[_0x33578c(0xfb)]=je([z(0x0,u[_0x33578c(0x129)]),z(0x1,v['IMenuManagerService'])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':_0x33578c(0x1cf),'connecting':_0x33578c(0x1f1),'connected':'MCP\x20Connected','failed':_0x33578c(0x138),'retrying':_0x33578c(0x159),'unknown':_0x33578c(0x1f7),'unauthorized':_0x33578c(0xb5),'sessionOccupied':_0x33578c(0xdd),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x33578c(0x114),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x33578c(0x17e)},'mcpConfig':{'title':_0x33578c(0x201),'description':_0x33578c(0x1b8),'apiKey':_0x33578c(0x13d),'apiKeyPlaceholder':_0x33578c(0x152),'apiKeyHint':_0x33578c(0x124),'enableAuth':_0x33578c(0xb1),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x33578c(0x11f),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x33578c(0xb4),'configStep1':_0x33578c(0x1b4),'configStep2':_0x33578c(0x18e),'configStep3':_0x33578c(0x216),'sessionId':_0x33578c(0x136),'sessionIdDescription':_0x33578c(0x179),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x33578c(0x1de),'maxRetries':_0x33578c(0x1e9),'save':'Save\x20Configuration','saving':_0x33578c(0xd2),'note1':_0x33578c(0x205),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x33578c(0x1c4),'configError':_0x33578c(0x1c6),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x33578c(0x218),'univerAiLabel':_0x33578c(0xc5),'getStarted':_0x33578c(0x1e7)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x33578c(0x1db),'invalidConfig':_0x33578c(0x1ef),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x33578c(0x21a),'connecting':_0x33578c(0xd7),'connected':_0x33578c(0x1c5),'failed':'Connection\x20Failed','retrying':_0x33578c(0x1f3)},'connectionError':{'unauthorized':_0x33578c(0x17a),'sessionOccupied':_0x33578c(0x1a7),'networkError':_0x33578c(0xab),'maxRetriesExceeded':_0x33578c(0x17b)}}},we={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x33578c(0xc6),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x33578c(0xfa),'unknown':_0x33578c(0x175),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x33578c(0xeb),'networkError':_0x33578c(0xe1),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x33578c(0xdc),'clickToConfigure':_0x33578c(0x1e1)},'mcpConfig':{'title':_0x33578c(0xb2),'description':_0x33578c(0xe4),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x33578c(0xbf),'apiKeyHint':_0x33578c(0x198),'enableAuth':_0x33578c(0x18f),'enableAuthHint':_0x33578c(0x19c),'connectionInfo':_0x33578c(0x208),'mcpClientConfig':_0x33578c(0x208),'configInstructions':_0x33578c(0xbb),'configStepTitle':_0x33578c(0x11d),'configStep1':_0x33578c(0x160),'configStep2':_0x33578c(0x168),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x33578c(0x18d),'authorizationDescription':_0x33578c(0xc9),'configParameters':_0x33578c(0xde),'maxRetries':'最大重试次数','save':_0x33578c(0x12e),'saving':_0x33578c(0x204),'note1':_0x33578c(0x1fd),'note2':_0x33578c(0x158),'configSaved':'配置保存成功','configError':_0x33578c(0x1f2),'apiApplyInfo':{'title':_0x33578c(0x137),'description':_0x33578c(0x16a),'univerAiLabel':_0x33578c(0xd8),'getStarted':_0x33578c(0xf7)},'validation':{'apiKeyRequired':_0x33578c(0x20d),'apiKeyTooShort':_0x33578c(0xf0),'invalidConfig':_0x33578c(0xee),'invalidApiKey':_0x33578c(0x1a4)},'connectionStatus':{'disconnected':_0x33578c(0x172),'connecting':_0x33578c(0x1ea),'connected':_0x33578c(0x1c0),'failed':'连接失败','retrying':_0x33578c(0x145)},'connectionError':{'unauthorized':_0x33578c(0x14e),'sessionOccupied':_0x33578c(0x1f0),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x33578c(0x217)}}};var Ae=Object[_0x33578c(0x1ee)],Oe=Object[_0x33578c(0xda)],De=(_0x1f81da,_0x2f1a28,_0x488c8b)=>_0x2f1a28 in _0x1f81da?Ae(_0x1f81da,_0x2f1a28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x488c8b}):_0x1f81da[_0x2f1a28]=_0x488c8b,Ue=(_0x2fd725,_0x4c4783,_0x14d8ea,_0x5dd5ce)=>{const _0x2607ea=_0x33578c;for(var _0xecf7ef=_0x5dd5ce>0x1?void 0x0:_0x5dd5ce?Oe(_0x4c4783,_0x14d8ea):_0x4c4783,_0x358b92=_0x2fd725[_0x2607ea(0xed)]-0x1,_0x3aa523;_0x358b92>=0x0;_0x358b92--)(_0x3aa523=_0x2fd725[_0x358b92])&&(_0xecf7ef=_0x3aa523(_0xecf7ef)||_0xecf7ef);return _0xecf7ef;},y=(_0x4b3c2d,_0x36506a)=>(_0x11c51a,_0x1f1bb6)=>_0x36506a(_0x11c51a,_0x1f1bb6,_0x4b3c2d),$e=(_0x17d09d,_0x11ace5,_0x416644)=>De(_0x17d09d,_0x11ace5+'',_0x416644);exports[_0x33578c(0x147)]=class extends u[_0x33578c(0x119)]{constructor(_0x11f129=L,_0x507578,_0x3e1c5d,_0x2f1223,_0x509c6a,_0xe11aa9){const _0x558a1c=_0x33578c;super(),this['_config']=_0x11f129,this[_0x558a1c(0x183)]=_0x507578,this['_configService']=_0x3e1c5d,this[_0x558a1c(0x1b2)]=_0x2f1223,this['_localStorageService']=_0x509c6a,this[_0x558a1c(0x12d)]=_0xe11aa9;const {..._0x301747}=u['merge']({},L,this[_0x558a1c(0xc8)]);this[_0x558a1c(0x143)]['setConfig'](P,_0x301747);}async['onStarting'](){const _0x11626e=_0x33578c,_0xc0c04e=[[exports['MCPConnectionUIController']],[exports[_0x11626e(0x10a)]],[exports[_0x11626e(0xfb)]]];this['_injector'][_0x11626e(0xb9)](A[_0x11626e(0x146)])||_0xc0c04e[_0x11626e(0x139)]([A['ISocketService'],{'useClass':A[_0x11626e(0xae)]}]),_0xc0c04e[_0x11626e(0x14c)](_0x2b9c7f=>this[_0x11626e(0x183)][_0x11626e(0x1c9)](_0x2b9c7f)),this[_0x11626e(0x183)][_0x11626e(0x144)](exports[_0x11626e(0xf3)]),this[_0x11626e(0x183)][_0x11626e(0x144)](exports['MCPConfigUIController']),this[_0x11626e(0x183)][_0x11626e(0x144)](exports['MCPUIMenuController']);}},$e(exports[_0x33578c(0x147)],'pluginName',_0x33578c(0x178)),exports[_0x33578c(0x147)]=Ue([u[_0x33578c(0x1c7)](s[_0x33578c(0x18a)]),y(0x1,u[_0x33578c(0x107)](u[_0x33578c(0x19a)])),y(0x2,u[_0x33578c(0x200)]),y(0x3,v[_0x33578c(0x206)]),y(0x4,u[_0x33578c(0x1e6)]),y(0x5,u[_0x33578c(0x107)](u['LocaleService']))],exports[_0x33578c(0x147)]),exports[_0x33578c(0x9b)]=V,exports[_0x33578c(0xf9)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x33578c(0xec)]=Ee,exports[_0x33578c(0x135)]=we;
1
+ 'use strict';const _0x3a1329=_0xa6a6;(function(_0x1d73b0,_0x22b8b3){const _0x1b519a=_0xa6a6,_0x4490f4=_0x1d73b0();while(!![]){try{const _0x2dbfc1=-parseInt(_0x1b519a(0x2d6))/0x1+-parseInt(_0x1b519a(0x2ee))/0x2*(parseInt(_0x1b519a(0x209))/0x3)+parseInt(_0x1b519a(0x324))/0x4*(parseInt(_0x1b519a(0x350))/0x5)+parseInt(_0x1b519a(0x30f))/0x6*(parseInt(_0x1b519a(0x20c))/0x7)+parseInt(_0x1b519a(0x2c4))/0x8*(-parseInt(_0x1b519a(0x347))/0x9)+parseInt(_0x1b519a(0x2a9))/0xa*(-parseInt(_0x1b519a(0x31a))/0xb)+parseInt(_0x1b519a(0x300))/0xc;if(_0x2dbfc1===_0x22b8b3)break;else _0x4490f4['push'](_0x4490f4['shift']());}catch(_0x5a5801){_0x4490f4['push'](_0x4490f4['shift']());}}}(_0x11fe,0x816cd));var ae=Object[_0x3a1329(0x25a)],le=(_0x318f6e,_0x2a114f,_0x484b24)=>_0x2a114f in _0x318f6e?ae(_0x318f6e,_0x2a114f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x484b24}):_0x318f6e[_0x2a114f]=_0x484b24,I=(_0x133af6,_0x331e00,_0x346476)=>le(_0x133af6,typeof _0x331e00!='symbol'?_0x331e00+'':_0x331e00,_0x346476);Object['defineProperty'](exports,Symbol[_0x3a1329(0x1dc)],{'value':_0x3a1329(0x303)});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:_0x30dd26,..._0x3deedc}){const _0x422ea7=_0x3a1329,{icon:_0xc90677,id:_0x412b4a,className:_0x58fe4d,extend:_0x2f0c09,..._0x5d9c97}=_0x3deedc,_0x1c543e=(_0x422ea7(0x1e8)+_0x412b4a+'\x20'+(_0x58fe4d||''))[_0x422ea7(0x317)](),_0x191297=d[_0x422ea7(0x2b9)]('_'+de());return G(_0xc90677,''+_0x412b4a,{'defIds':_0xc90677['defIds'],'idSuffix':_0x191297[_0x422ea7(0x364)]},{'ref':_0x30dd26,'className':_0x1c543e,..._0x5d9c97},_0x2f0c09);}function G(_0x1de0fc,_0x37d5b0,_0x395d55,_0x450d89,_0x298847){const _0xe3bded=_0x3a1329;return d['createElement'](_0x1de0fc[_0xe3bded(0x32f)],{'key':_0x37d5b0,...ue(_0x1de0fc,_0x395d55,_0x298847),..._0x450d89},(ve(_0x1de0fc,_0x395d55)[_0xe3bded(0x21a)]||[])[_0xe3bded(0x255)]((_0x2bdf29,_0x387451)=>G(_0x2bdf29,_0x37d5b0+'-'+_0x1de0fc['tag']+'-'+_0x387451,_0x395d55,void 0x0,_0x298847)));}function ue(_0x4da47b,_0x59ae3a,_0x363136){const _0x448d4e=_0x3a1329,_0x8901f7={..._0x4da47b[_0x448d4e(0x342)]};_0x363136!=null&&_0x363136[_0x448d4e(0x211)]&&_0x8901f7[_0x448d4e(0x2bb)]==='colorChannel1'&&(_0x8901f7[_0x448d4e(0x2bb)]=_0x363136[_0x448d4e(0x211)]),_0x4da47b['tag']===_0x448d4e(0x2f8)&&_0x8901f7['id']&&(_0x8901f7['id']=_0x8901f7['id']+_0x59ae3a[_0x448d4e(0x26d)]),Object['entries'](_0x8901f7)[_0x448d4e(0x20a)](([_0xf9ea7f,_0x3ad280])=>{const _0x3ae38a=_0x448d4e;_0xf9ea7f==='mask'&&typeof _0x3ad280==_0x3ae38a(0x223)&&(_0x8901f7[_0xf9ea7f]=_0x3ad280[_0x3ae38a(0x35c)](/url\(#(.*)\)/,_0x3ae38a(0x24e)+_0x59ae3a[_0x3ae38a(0x26d)]+')'));});const {defIds:_0x43b10c}=_0x59ae3a;return!_0x43b10c||_0x43b10c['length']===0x0||(_0x4da47b[_0x448d4e(0x32f)]===_0x448d4e(0x2db)&&_0x8901f7['xlink:href']&&(_0x8901f7[_0x448d4e(0x1f6)]=_0x8901f7[_0x448d4e(0x1f6)]+_0x59ae3a[_0x448d4e(0x26d)]),Object['entries'](_0x8901f7)[_0x448d4e(0x20a)](([_0x4d9346,_0x48e5ae])=>{const _0x4c8ca2=_0x448d4e;typeof _0x48e5ae==_0x4c8ca2(0x223)&&(_0x8901f7[_0x4d9346]=_0x48e5ae[_0x4c8ca2(0x35c)](/url\(#(.*)\)/,_0x4c8ca2(0x24e)+_0x59ae3a[_0x4c8ca2(0x26d)]+')'));})),_0x8901f7;}function ve(_0x12276f,_0x1f7a83){const _0x49dfc4=_0x3a1329;var _0x21aae9;const {defIds:_0x1e0fa7}=_0x1f7a83;return!_0x1e0fa7||_0x1e0fa7[_0x49dfc4(0x337)]===0x0?_0x12276f:_0x12276f[_0x49dfc4(0x32f)]===_0x49dfc4(0x2c9)&&((_0x21aae9=_0x12276f[_0x49dfc4(0x21a)])!=null&&_0x21aae9[_0x49dfc4(0x337)])?{..._0x12276f,'children':_0x12276f[_0x49dfc4(0x21a)][_0x49dfc4(0x255)](_0x54a0b4=>typeof _0x54a0b4[_0x49dfc4(0x342)]['id']==_0x49dfc4(0x223)&&_0x1e0fa7&&_0x1e0fa7[_0x49dfc4(0x21e)](_0x54a0b4[_0x49dfc4(0x342)]['id'])?{..._0x54a0b4,'attrs':{..._0x54a0b4[_0x49dfc4(0x342)],'id':_0x54a0b4[_0x49dfc4(0x342)]['id']+_0x1f7a83[_0x49dfc4(0x26d)]}}:_0x54a0b4)}:_0x12276f;}function de(){const _0x4e7f3c=_0x3a1329;return Math[_0x4e7f3c(0x1ed)]()[_0x4e7f3c(0x22f)](0x24)[_0x4e7f3c(0x262)](0x2,0x8);}_[_0x3a1329(0x305)]=_0x3a1329(0x1fc);const Ce={'tag':_0x3a1329(0x2eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3a1329(0x2b2),'viewBox':'0\x200\x2016\x2016','width':_0x3a1329(0x31c),'height':'1em'},'children':[{'tag':_0x3a1329(0x2ad),'attrs':{'fill':'currentColor','d':_0x3a1329(0x279),'fillRule':_0x3a1329(0x1ff),'clipRule':_0x3a1329(0x1ff)}}]},H=d[_0x3a1329(0x284)](function(_0xe3cd20,_0x2e2863){const _0x12965e=_0x3a1329;return d['createElement'](_,Object[_0x12965e(0x2cf)]({},_0xe3cd20,{'id':_0x12965e(0x258),'ref':_0x2e2863,'icon':Ce}));});H[_0x3a1329(0x305)]=_0x3a1329(0x291);const ge={'tag':_0x3a1329(0x2eb),'attrs':{'xmlns':_0x3a1329(0x2dc),'fill':_0x3a1329(0x2b2),'viewBox':_0x3a1329(0x1e1),'width':_0x3a1329(0x31c),'height':_0x3a1329(0x31c)},'children':[{'tag':_0x3a1329(0x2ad),'attrs':{'fill':_0x3a1329(0x2e0),'d':_0x3a1329(0x26b)}}]},B=d[_0x3a1329(0x284)](function(_0x3a76d3,_0x5dc6f8){const _0x5fc75a=_0x3a1329;return d[_0x5fc75a(0x22a)](_,Object[_0x5fc75a(0x2cf)]({},_0x3a76d3,{'id':_0x5fc75a(0x29c),'ref':_0x5dc6f8,'icon':ge}));});B[_0x3a1329(0x305)]=_0x3a1329(0x220);const fe={'tag':_0x3a1329(0x2eb),'attrs':{'xmlns':_0x3a1329(0x2dc),'fill':_0x3a1329(0x2b2),'viewBox':_0x3a1329(0x1e1),'width':_0x3a1329(0x31c),'height':_0x3a1329(0x31c)},'children':[{'tag':_0x3a1329(0x2ad),'attrs':{'fill':'currentColor','d':_0x3a1329(0x1f3)}},{'tag':_0x3a1329(0x2ad),'attrs':{'fill':_0x3a1329(0x2e0),'d':_0x3a1329(0x30a)}},{'tag':'path','attrs':{'fill':'currentColor','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':_0x3a1329(0x1ff),'clipRule':_0x3a1329(0x1ff)}}]},F=d['forwardRef'](function(_0x6e5f9e,_0x13469d){const _0x46359a=_0x3a1329;return d[_0x46359a(0x22a)](_,Object[_0x46359a(0x2cf)]({},_0x6e5f9e,{'id':_0x46359a(0x2bc),'ref':_0x13469d,'icon':fe}));});F['displayName']=_0x3a1329(0x344);const pe={'tag':_0x3a1329(0x2eb),'attrs':{'xmlns':_0x3a1329(0x2dc),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3a1329(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3a1329(0x2ad),'attrs':{'stroke':_0x3a1329(0x2e0),'d':_0x3a1329(0x2b0),'strokeLinecap':_0x3a1329(0x322),'strokeLinejoin':_0x3a1329(0x322),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3a1329(0x28c),'attrs':{'id':_0x3a1329(0x24f)},'children':[{'tag':_0x3a1329(0x2ad),'attrs':{'fill':_0x3a1329(0x270),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3a1329(0x24f)]},Y=d[_0x3a1329(0x284)](function(_0x3cb99a,_0x49c2ba){const _0x2923b6=_0x3a1329;return d[_0x2923b6(0x22a)](_,Object[_0x2923b6(0x2cf)]({},_0x3cb99a,{'id':_0x2923b6(0x205),'ref':_0x49c2ba,'icon':pe}));});Y[_0x3a1329(0x305)]=_0x3a1329(0x2c7);const he={'tag':_0x3a1329(0x2eb),'attrs':{'xmlns':_0x3a1329(0x2dc),'fill':'none','viewBox':_0x3a1329(0x249),'width':_0x3a1329(0x31c),'height':_0x3a1329(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a1329(0x357)},'children':[{'tag':_0x3a1329(0x2ad),'attrs':{'stroke':'currentColor','d':_0x3a1329(0x1e5),'strokeLinecap':_0x3a1329(0x322),'strokeLinejoin':_0x3a1329(0x322),'strokeWidth':1.2}}]},{'tag':_0x3a1329(0x2c9),'attrs':{},'children':[{'tag':_0x3a1329(0x28c),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3a1329(0x2ad),'attrs':{'fill':'white','d':_0x3a1329(0x2e2),'transform':_0x3a1329(0x321)}}]}]}],'defIds':[_0x3a1329(0x2da)]},q=d[_0x3a1329(0x284)](function(_0x341afb,_0x89e13){const _0x2d8895=_0x3a1329;return d[_0x2d8895(0x22a)](_,Object[_0x2d8895(0x2cf)]({},_0x341afb,{'id':_0x2d8895(0x2d2),'ref':_0x89e13,'icon':he}));});q[_0x3a1329(0x305)]='OnLineIcon';function V(_0x4bbc33){const _0x55bb9d=_0x3a1329;var _0xfc9bc6,_0x450549;const {mcpCoreConfig:_0x2e1095,onSave:_0x401380,loading:_0x49bdd6=!0x1,config:_0x33fe87,connectionStatus$:_0x444b42,connectionError$:_0x199602,currentApiKey$:_0x188ea8,currentSessionId$:_0x2dfd63}=_0x4bbc33,_0x545194=v[_0x55bb9d(0x2ce)](u[_0x55bb9d(0x336)]),_0xddd09e=v[_0x55bb9d(0x2c5)](_0x444b42,s[_0x55bb9d(0x33b)][_0x55bb9d(0x20e)]),_0x18d4f3=v[_0x55bb9d(0x2c5)](_0x199602,s[_0x55bb9d(0x267)][_0x55bb9d(0x28b)]),_0x5118ff=v[_0x55bb9d(0x2c5)](_0x2dfd63,''),_0x3a3ad2=v['useObservable'](_0x188ea8,''),[_0x44a7a5,_0x1e3efc]=d[_0x55bb9d(0x2b1)](_0x3a3ad2||''),_0x429a6b=!0x0,_0x13ceba=_0x33fe87[_0x55bb9d(0x278)]&&_0x2e1095[_0x55bb9d(0x257)]&&(_0x2e1095[_0x55bb9d(0x257)][_0x55bb9d(0x21e)]('univer.plus')||_0x2e1095[_0x55bb9d(0x257)][_0x55bb9d(0x21e)](_0x55bb9d(0x256))),_0xde6782=(_0xfc9bc6=_0x2e1095[_0x55bb9d(0x257)])==null?void 0x0:_0xfc9bc6[_0x55bb9d(0x21e)](_0x55bb9d(0x219)),_0x46d28e=(_0x450549=_0x2e1095[_0x55bb9d(0x257)])==null?void 0x0:_0x450549['includes']('univer.ai'),_0x1a68df=_0xde6782?_0x55bb9d(0x269):'https://console.univer.ai',_0x340cd0=_0x33fe87[_0x55bb9d(0x278)]&&(_0xde6782||_0x46d28e),[_0x5dffeb,_0x4466d4]=d['useState'](!_0x44a7a5['trim']()),_0x3fa9ce=(_0xe31440,_0x33becb)=>{const _0xf863ce=_0x55bb9d;if(_0x33becb===s[_0xf863ce(0x267)][_0xf863ce(0x246)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0xe31440){case s[_0xf863ce(0x33b)][_0xf863ce(0x34b)]:return _0xf863ce(0x363);case s[_0xf863ce(0x33b)]['CONNECTING']:case s['MCPConnectionStatus'][_0xf863ce(0x238)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s['MCPConnectionStatus'][_0xf863ce(0x274)]:return _0xf863ce(0x2e5);default:return _0xf863ce(0x2f5);}},_0x2b0c77=(_0x3a259b,_0x18278d)=>{const _0x537de6=_0x55bb9d;if(_0x18278d===s[_0x537de6(0x267)][_0x537de6(0x246)])return'univer-bg-red-500';switch(_0x3a259b){case s[_0x537de6(0x33b)][_0x537de6(0x34b)]:return _0x537de6(0x225);case s[_0x537de6(0x33b)][_0x537de6(0x226)]:case s[_0x537de6(0x33b)][_0x537de6(0x238)]:return'univer-bg-blue-500';case s[_0x537de6(0x33b)][_0x537de6(0x274)]:return'univer-bg-red-500';default:return _0x537de6(0x309);}},_0x3f9b29=_0x312104=>{const _0x3f9488=_0x55bb9d;switch(_0x312104){case s['MCPConnectionStatus'][_0x3f9488(0x34b)]:return _0x545194['t'](_0x3f9488(0x1e2));case s['MCPConnectionStatus'][_0x3f9488(0x226)]:return _0x545194['t'](_0x3f9488(0x1f9));case s[_0x3f9488(0x33b)]['FAILED']:return _0x545194['t'](_0x3f9488(0x2a7));case s['MCPConnectionStatus']['RETRYING']:return _0x545194['t'](_0x3f9488(0x2f7));default:return _0x545194['t'](_0x3f9488(0x239));}},_0x2e22bb=_0x55f3a3=>{const _0x269954=_0x55bb9d;switch(_0x55f3a3){case s[_0x269954(0x267)][_0x269954(0x246)]:return _0x545194['t']('mcpConfig.connectionError.unauthorized');case s['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x545194['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x269954(0x267)][_0x269954(0x241)]:return _0x545194['t']('mcpConfig.connectionError.networkError');case s[_0x269954(0x267)][_0x269954(0x21c)]:return _0x545194['t'](_0x269954(0x280));default:return'';}},_0x42b0dc=d[_0x55bb9d(0x2d0)](()=>{const _0x26b05a=_0x55bb9d,_0x2560c4={..._0x2e1095,'apiKey':_0x44a7a5[_0x26b05a(0x317)](),'enableAuth':_0x429a6b};_0x401380(_0x2560c4);},[_0x2e1095,_0x44a7a5,_0x429a6b,_0x401380]),_0x76acef=_0x44a7a5[_0x55bb9d(0x317)]()[_0x55bb9d(0x337)]>0x0;return i['jsxs'](_0x55bb9d(0x1e0),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x289),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':i[_0x55bb9d(0x307)]('span',{'className':_0x55bb9d(0x2f3),'children':'⚙'})}),i['jsx']('div',{'children':i[_0x55bb9d(0x307)]('p',{'className':_0x55bb9d(0x2a8),'children':_0x545194['t']('mcpConfig.description')})})]})}),i[_0x55bb9d(0x2d8)]('div',{'className':_0x55bb9d(0x2f2),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':f[_0x55bb9d(0x28d)](_0x55bb9d(0x27a),_0x3fa9ce(_0xddd09e,_0x18d4f3)),'children':i['jsxs']('div',{'className':_0x55bb9d(0x27c),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':f[_0x55bb9d(0x28d)]('univer-size-2\x20univer-rounded-full',_0x2b0c77(_0xddd09e,_0x18d4f3))}),i[_0x55bb9d(0x307)]('span',{'className':_0x55bb9d(0x275),'children':_0x3f9b29(_0xddd09e)})]})}),_0x18d4f3!==s[_0x55bb9d(0x267)][_0x55bb9d(0x28b)]&&(_0xddd09e===s['MCPConnectionStatus'][_0x55bb9d(0x274)]||_0x18d4f3===s[_0x55bb9d(0x267)][_0x55bb9d(0x246)])&&i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x2fe),'children':i['jsxs'](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x2c2),'children':[i['jsx'](_0x55bb9d(0x33c),{'className':_0x55bb9d(0x359),'children':'⚠️'}),i[_0x55bb9d(0x307)]('p',{'className':_0x55bb9d(0x35b),'children':_0x2e22bb(_0x18d4f3)})]})})]}),i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x247),'children':[i['jsxs']('div',{'className':_0x55bb9d(0x23e),'children':[i[_0x55bb9d(0x2d8)](_0x55bb9d(0x339),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x33c),{'children':'🔑'}),'\x20',_0x545194['t']('mcpConfig.apiKey'),i[_0x55bb9d(0x307)]('span',{'className':'univer-text-red-500','children':'*'}),_0x13ceba&&i['jsx']('a',{'className':_0x55bb9d(0x271),'title':_0x545194['t'](_0x55bb9d(0x313)),'role':_0x55bb9d(0x25b),'onClick':()=>_0x4466d4(!0x0),'children':i[_0x55bb9d(0x307)](F,{})})]}),i['jsx'](f[_0x55bb9d(0x328)],{'type':'text','placeholder':_0x545194['t'](_0x55bb9d(0x325)),'value':_0x44a7a5,'disabled':_0x49bdd6,'autoComplete':_0x55bb9d(0x2b7),'onChange':_0x1e3efc}),i[_0x55bb9d(0x307)]('p',{'className':_0x55bb9d(0x273),'children':_0x545194['t'](_0x55bb9d(0x1e6))})]}),_0x13ceba&&_0x5dffeb&&i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'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':_0x55bb9d(0x290),'role':_0x55bb9d(0x25b),'onClick':()=>_0x4466d4(!0x1),'children':i[_0x55bb9d(0x307)](B,{'className':_0x55bb9d(0x20d)})}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x272),'children':[i[_0x55bb9d(0x307)]('div',{'className':_0x55bb9d(0x365),'children':i[_0x55bb9d(0x307)]('span',{'className':_0x55bb9d(0x292),'children':'🚀'})}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x2e8),'children':[i[_0x55bb9d(0x307)]('h4',{'className':_0x55bb9d(0x1dd),'children':_0x545194['t'](_0x55bb9d(0x313))}),i[_0x55bb9d(0x307)]('p',{'className':_0x55bb9d(0x21f),'children':_0x545194['t'](_0x55bb9d(0x302))}),i['jsx'](_0x55bb9d(0x1e0),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x340cd0&&i['jsxs']('a',{'className':_0x55bb9d(0x323),'href':_0x1a68df,'target':_0x55bb9d(0x296),'rel':'noopener\x20noreferrer','children':[i['jsx'](_0x55bb9d(0x33c),{'children':'🤖'}),_0x545194['t']('mcpConfig.apiApplyInfo.univerAiLabel'),i[_0x55bb9d(0x307)]('span',{'className':_0x55bb9d(0x356),'children':'↗'})]})}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x545194['t'](_0x55bb9d(0x1da))]})]})]})]}),_0x33fe87['showDeveloperTools']&&i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[i['jsxs']('h4',{'className':_0x55bb9d(0x28a),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x33c),{'children':'🔗'}),'\x20',_0x545194['t'](_0x55bb9d(0x1eb))]}),i[_0x55bb9d(0x2d8)]('div',{'className':_0x55bb9d(0x230),'children':[i[_0x55bb9d(0x2d8)]('div',{'className':_0x55bb9d(0x248),'children':[i[_0x55bb9d(0x307)]('p',{'className':_0x55bb9d(0x314),'children':_0x545194['t'](_0x55bb9d(0x2ba))}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':'univer-space-y-2','children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x35f),'children':_0x545194['t']('mcpConfig.configStepTitle')}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x27c),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x33c),{'className':_0x55bb9d(0x33f),'children':'1'}),_0x545194['t'](_0x55bb9d(0x1f8))]}),i[_0x55bb9d(0x2d8)]('div',{'className':_0x55bb9d(0x27c),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x33c),{'className':_0x55bb9d(0x33f),'children':'2'}),_0x545194['t']('mcpConfig.configStep2')]}),i['jsxs']('div',{'className':_0x55bb9d(0x27c),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x33c),{'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':'3'}),_0x545194['t']('mcpConfig.configStep3')]})]})]})]}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x23e),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x35f),'children':_0x55bb9d(0x304)}),i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x1f1),'children':i[_0x55bb9d(0x307)](_0x55bb9d(0x200),{'className':_0x55bb9d(0x1de),'children':JSON[_0x55bb9d(0x253)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x5118ff||_0x55bb9d(0x349)),'type':_0x55bb9d(0x30e),'headers':{'Authorization':_0x55bb9d(0x23c)+(_0x44a7a5||_0x55bb9d(0x2ab))}}}},null,0x2)})})]}),i[_0x55bb9d(0x2d8)]('div',{'className':_0x55bb9d(0x248),'children':[i['jsx'](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x35f),'children':_0x545194['t'](_0x55bb9d(0x276))}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x23e),'children':[i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x24a),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x2c3)}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x353),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x55bb9d(0x229)}),i['jsx'](_0x55bb9d(0x1e0),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x545194['t'](_0x55bb9d(0x31b))})]})]}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x24a),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x2c3)}),i['jsxs'](_0x55bb9d(0x1e0),{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x329),'children':_0x55bb9d(0x2cb)}),i[_0x55bb9d(0x307)]('div',{'className':_0x55bb9d(0x273),'children':_0x545194['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i['jsx'](f[_0x55bb9d(0x254)],{'onClick':_0x42b0dc,'disabled':!_0x76acef||_0x49bdd6,'className':_0x55bb9d(0x251),'children':_0x49bdd6?i[_0x55bb9d(0x2d8)](_0x55bb9d(0x33c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x33c),{'children':'⟲'}),_0x545194['t'](_0x55bb9d(0x21d))]}):i[_0x55bb9d(0x2d8)](_0x55bb9d(0x33c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x55bb9d(0x307)](H,{}),_0x545194['t'](_0x55bb9d(0x217))]})}),i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x23d),'children':i['jsxs']('div',{'className':_0x55bb9d(0x312),'children':[i['jsx'](_0x55bb9d(0x33c),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),i['jsxs'](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x204),'children':[i[_0x55bb9d(0x307)](_0x55bb9d(0x1e0),{'className':_0x55bb9d(0x2e1),'children':_0x55bb9d(0x2c8)}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'children':['•',_0x545194['t']('mcpConfig.note1')]}),i[_0x55bb9d(0x2d8)](_0x55bb9d(0x1e0),{'children':['•',_0x545194['t'](_0x55bb9d(0x2ed))]})]})]})})]})})]});}const P='mcp-ui.config',L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x3a1329(0x22b)],xe=(_0x4da3f2,_0x4fd468,_0x186c7d,_0x298090)=>{const _0x131dfe=_0x3a1329;for(var _0x2536ed=_0x298090>0x1?void 0x0:_0x298090?me(_0x4fd468,_0x186c7d):_0x4fd468,_0x2ca177=_0x4da3f2[_0x131dfe(0x337)]-0x1,_0x33a8a3;_0x2ca177>=0x0;_0x2ca177--)(_0x33a8a3=_0x4da3f2[_0x2ca177])&&(_0x2536ed=_0x33a8a3(_0x2536ed)||_0x2536ed);return _0x2536ed;},g=(_0x4ef531,_0x21b6be)=>(_0x113354,_0x71b4c)=>_0x21b6be(_0x113354,_0x71b4c,_0x4ef531);const O=_0x3a1329(0x1f0),D='mcp-config-dialog';exports[_0x3a1329(0x29d)]=class extends u['Disposable']{constructor(_0x5707fa,_0x15cf4b,_0x5eaa4c,_0x55708f,_0x58141d,_0x894421,_0x1ee11c,_0x10f6ec,_0x211173,_0x13d4af){const _0x382b6c=_0x3a1329;super(),I(this,_0x382b6c(0x338),new M[(_0x382b6c(0x26e))](!0x1)),I(this,_0x382b6c(0x1f5),new M['BehaviorSubject']({})),I(this,_0x382b6c(0x203),new M['BehaviorSubject']({})),I(this,'_apiKey$',new M[(_0x382b6c(0x26e))]('')),I(this,'_handleConfigSave',async _0x2ccee5=>{const _0x325f1b=_0x382b6c;var _0x5b6975,_0x1b42a7;this[_0x325f1b(0x338)][_0x325f1b(0x2e7)](!0x0);try{const _0x2e5a70=await this[_0x325f1b(0x2e4)](_0x2ccee5);if(!_0x2e5a70[_0x325f1b(0x286)]){this[_0x325f1b(0x2ae)][_0x325f1b(0x30b)]({'type':f[_0x325f1b(0x298)][_0x325f1b(0x2de)],'content':_0x2e5a70[_0x325f1b(0x213)]||this[_0x325f1b(0x345)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x2ccee5[_0x325f1b(0x355)]?await this['_localStorageService']['setItem'](O,_0x2ccee5[_0x325f1b(0x355)][_0x325f1b(0x317)]()):await this[_0x325f1b(0x234)][_0x325f1b(0x245)](O),this[_0x325f1b(0x265)][_0x325f1b(0x2e7)](((_0x5b6975=_0x2ccee5[_0x325f1b(0x355)])==null?void 0x0:_0x5b6975[_0x325f1b(0x317)]())||''),this[_0x325f1b(0x26f)][_0x325f1b(0x26c)]({'Authorization':_0x325f1b(0x23c)+((_0x1b42a7=_0x2ccee5[_0x325f1b(0x355)])==null?void 0x0:_0x1b42a7[_0x325f1b(0x317)]())}),this[_0x325f1b(0x2ae)][_0x325f1b(0x30b)]({'type':f[_0x325f1b(0x298)]['Success'],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x2bf621=_0x325f1b;this[_0x2bf621(0x2c1)][_0x2bf621(0x295)](D);},0x320);}catch(_0x55f87e){this[_0x325f1b(0x315)]['error'](_0x325f1b(0x35e),_0x55f87e),this[_0x325f1b(0x2ae)][_0x325f1b(0x30b)]({'type':f['MessageType'][_0x325f1b(0x2de)],'content':this[_0x325f1b(0x345)]['t'](_0x325f1b(0x29f))});}finally{this[_0x325f1b(0x338)]['next'](!0x1);}}),(this['_injector']=_0x5707fa,this[_0x382b6c(0x34f)]=_0x15cf4b,this[_0x382b6c(0x215)]=_0x5eaa4c,this['_localStorageService']=_0x55708f,this[_0x382b6c(0x2c1)]=_0x58141d,this[_0x382b6c(0x2ae)]=_0x894421,this[_0x382b6c(0x2aa)]=_0x1ee11c,this[_0x382b6c(0x345)]=_0x10f6ec,this['_logService']=_0x211173,this[_0x382b6c(0x26f)]=_0x13d4af,this[_0x382b6c(0x2f6)](),this[_0x382b6c(0x1fe)](),this[_0x382b6c(0x29e)]());}[_0x3a1329(0x34e)](){const _0x549260=_0x3a1329,_0x526474=this[_0x549260(0x215)]['getConfig'](P);_0x526474!=null&&_0x526474[_0x549260(0x278)]&&this[_0x549260(0x2c1)][_0x549260(0x2b5)]({'id':D,'title':{'title':this[_0x549260(0x345)]['t'](_0x549260(0x2f4))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1bb7e4=_0x549260;this[_0x1bb7e4(0x2c1)]['close'](D);}});}[_0x3a1329(0x340)](){const _0x11e0e8=_0x3a1329;return this[_0x11e0e8(0x1f5)][_0x11e0e8(0x320)];}[_0x3a1329(0x29e)](){const _0x578740=_0x3a1329;this['disposeWithMe'](this[_0x578740(0x2aa)][_0x578740(0x244)](_0x578740(0x208),this['_createConfigPanelComponent']()));}['_createConfigPanelComponent'](){const _0x17d673=_0x3a1329;return v[_0x17d673(0x221)](()=>{const _0x5bface=_0x17d673;var _0x5a1aec,_0x3551f8,_0x125135;return i[_0x5bface(0x307)](V,{'config':this[_0x5bface(0x203)][_0x5bface(0x320)],'mcpCoreConfig':this[_0x5bface(0x1f5)]['value'],'currentApiKey$':this[_0x5bface(0x265)],'onSave':this[_0x5bface(0x32e)],'loading':this[_0x5bface(0x338)]['value'],'connectionStatus$':(_0x5a1aec=this[_0x5bface(0x26f)])==null?void 0x0:_0x5a1aec[_0x5bface(0x1e9)],'connectionError$':(_0x3551f8=this[_0x5bface(0x26f)])==null?void 0x0:_0x3551f8[_0x5bface(0x224)],'currentSessionId$':(_0x125135=this[_0x5bface(0x26f)])==null?void 0x0:_0x125135[_0x5bface(0x326)]});},this[_0x17d673(0x343)]);}[_0x3a1329(0x2f6)](){const _0x56364f=_0x3a1329;this[_0x56364f(0x33a)](this[_0x56364f(0x215)]['subscribeConfigValue$'](s['MCP_PLUGIN_CONFIG_KEY'])[_0x56364f(0x202)](_0x2e9258=>{const _0x28185a=_0x56364f;this[_0x28185a(0x1f5)][_0x28185a(0x2e7)](_0x2e9258||{});}));const _0x269754=this['_configService']['getConfig'](s[_0x56364f(0x30c)]);this['_mcpCoreConfig$']['next'](_0x269754||{}),this[_0x56364f(0x33a)](this['_configService'][_0x56364f(0x34c)](P)[_0x56364f(0x202)](_0x5c9182=>{const _0x4b4d88=_0x56364f;this[_0x4b4d88(0x203)][_0x4b4d88(0x2e7)](_0x5c9182||{});}));const _0x42a32c=this[_0x56364f(0x215)][_0x56364f(0x2f0)](P);this[_0x56364f(0x203)]['next'](_0x42a32c||{});}async[_0x3a1329(0x1fe)](){const _0x51e5f2=_0x3a1329,_0x1d141e=this['_configService'][_0x51e5f2(0x2f0)](P);if(!(_0x1d141e!=null&&_0x1d141e[_0x51e5f2(0x278)]))return;const _0xdd9c89=await this[_0x51e5f2(0x234)][_0x51e5f2(0x206)](O);_0xdd9c89&&(this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x51e5f2(0x23c)+_0xdd9c89}),this[_0x51e5f2(0x265)]['next'](_0xdd9c89));}async[_0x3a1329(0x2e4)](_0x52aea7){const _0x31056b=_0x3a1329;if(!_0x52aea7[_0x31056b(0x355)]||_0x52aea7[_0x31056b(0x355)][_0x31056b(0x317)]()[_0x31056b(0x337)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x31056b(0x345)]['t'](_0x31056b(0x2cd))};if(_0x52aea7[_0x31056b(0x355)][_0x31056b(0x317)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x31056b(0x345)]['t'](_0x31056b(0x1df))};try{const _0x3b8a1a=await this[_0x31056b(0x343)][_0x31056b(0x31e)](s[_0x31056b(0x237)])[_0x31056b(0x2c0)](_0x52aea7[_0x31056b(0x355)][_0x31056b(0x317)]());return _0x3b8a1a[_0x31056b(0x286)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3b8a1a[_0x31056b(0x335)]||this[_0x31056b(0x345)]['t'](_0x31056b(0x332))};}catch(_0x31c34f){return console[_0x31056b(0x301)](_0x31056b(0x32c),_0x31c34f),{'isValid':!0x0};}}},exports['MCPConfigUIController']=xe([g(0x0,u[_0x3a1329(0x235)](u[_0x3a1329(0x210)])),g(0x1,v[_0x3a1329(0x28e)]),g(0x2,u[_0x3a1329(0x310)]),g(0x3,u[_0x3a1329(0x242)]),g(0x4,v[_0x3a1329(0x2a1)]),g(0x5,v[_0x3a1329(0x2ec)]),g(0x6,u['Inject'](v[_0x3a1329(0x2a4)])),g(0x7,u['Inject'](u[_0x3a1329(0x336)])),g(0x8,u['ILogService']),g(0x9,u[_0x3a1329(0x235)](s[_0x3a1329(0x237)]))],exports[_0x3a1329(0x29d)]);const b={'id':_0x3a1329(0x1ee),'type':u[_0x3a1329(0x348)][_0x3a1329(0x1fd)],'handler':async(_0x161288,_0x17b405)=>(_0x161288['get'](exports[_0x3a1329(0x29d)])[_0x3a1329(0x34e)](),!0x0)};function Z(_0x4d305a,_0x537038){const _0x54aa20=_0x3a1329;switch(_0x4d305a){case s['MCPConnectionStatus'][_0x54aa20(0x20e)]:return'mcpStatus.disconnected';case s[_0x54aa20(0x33b)]['CONNECTING']:return _0x54aa20(0x250);case s['MCPConnectionStatus'][_0x54aa20(0x34b)]:return _0x54aa20(0x260);case s[_0x54aa20(0x33b)][_0x54aa20(0x274)]:switch(_0x537038){case s[_0x54aa20(0x267)][_0x54aa20(0x246)]:return'mcpStatus.unauthorized';case s[_0x54aa20(0x267)]['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case s['MCPConnectionError'][_0x54aa20(0x241)]:return _0x54aa20(0x2ca);case s[_0x54aa20(0x267)]['MAX_RETRIES_EXCEEDED']:return _0x54aa20(0x233);default:return _0x54aa20(0x35a);}case s[_0x54aa20(0x33b)]['RETRYING']:return _0x54aa20(0x25e);default:return _0x54aa20(0x222);}}function Se(_0xd07429,_0x407bbc,_0x4590a6,_0x2af1ff=!0x0){const _0x36a90b=_0x3a1329,_0x843367=Z(_0xd07429,_0x407bbc),_0x37cc27=_0x4590a6['t'](_0x843367);return _0x2af1ff?_0xd07429===s[_0x36a90b(0x33b)]['DISCONNECTED']&&_0x407bbc===s[_0x36a90b(0x267)]['UNAUTHORIZED']?_0x37cc27+_0x36a90b(0x351)+_0x4590a6['t'](_0x36a90b(0x2a6)):_0xd07429===s[_0x36a90b(0x33b)][_0x36a90b(0x34b)]?''+_0x37cc27:_0xd07429===s['MCPConnectionStatus'][_0x36a90b(0x20e)]||_0xd07429===s[_0x36a90b(0x33b)][_0x36a90b(0x274)]?_0x37cc27+_0x36a90b(0x351)+_0x4590a6['t']('mcpStatus.clickToConnect'):_0x37cc27:_0x37cc27;}function Pe(_0x3391f3){const _0x403cbd=_0x3a1329;switch(_0x3391f3){case s[_0x403cbd(0x33b)][_0x403cbd(0x34b)]:return _0x403cbd(0x308);case s[_0x403cbd(0x33b)][_0x403cbd(0x226)]:case s[_0x403cbd(0x33b)][_0x403cbd(0x238)]:return _0x403cbd(0x361);case s[_0x403cbd(0x33b)][_0x403cbd(0x274)]:case s['MCPConnectionStatus'][_0x403cbd(0x20e)]:return _0x403cbd(0x293);default:return _0x403cbd(0x32b);}}function W(_0x358991){const _0x1bfa10=_0x3a1329,{status$:_0x47a950,error$:_0x181af8,onConfigure:_0x13e3c4,showClickable:_0x374624=!0x0}=_0x358991,_0x3e1c64=v[_0x1bfa10(0x2c5)](_0x47a950,s[_0x1bfa10(0x33b)][_0x1bfa10(0x20e)]),_0x124366=v['useObservable'](_0x181af8,s[_0x1bfa10(0x267)][_0x1bfa10(0x28b)]),_0x3848f4=v[_0x1bfa10(0x2ce)](u['LocaleService']),_0x1cc977=_0x3e1c64===s[_0x1bfa10(0x33b)][_0x1bfa10(0x34b)];_0x3e1c64===s[_0x1bfa10(0x33b)][_0x1bfa10(0x226)]||s[_0x1bfa10(0x33b)][_0x1bfa10(0x238)];const _0x35346c=_0x3848f4['t'](Z(_0x3e1c64,_0x124366)),_0x761dae=Se(_0x3e1c64,_0x124366,_0x3848f4,_0x374624),_0x3bc661=Pe(_0x3e1c64),_0x2f63e1=_0x1cc977?i[_0x1bfa10(0x307)](q,{}):i[_0x1bfa10(0x307)](Y,{}),_0x30483d=d['useCallback'](()=>{_0x374624&&_0x13e3c4&&_0x13e3c4();},[_0x374624,_0x13e3c4]);function _0x39ec88(){const _0x4764ff=_0x1bfa10;return i[_0x4764ff(0x2d8)](_0x4764ff(0x1e0),{'className':f[_0x4764ff(0x28d)]('univer-flex\x20univer-items-center',_0x374624&&_0x13e3c4&&_0x4764ff(0x216)),'role':_0x4764ff(0x25b),'onClick':_0x374624&&_0x13e3c4?_0x30483d:void 0x0,'children':[i['jsx']('div',{'className':f[_0x4764ff(0x28d)](_0x4764ff(0x318),_0x3bc661),'children':_0x2f63e1}),i[_0x4764ff(0x307)](_0x4764ff(0x1e0),{'className':_0x4764ff(0x2af),'children':_0x35346c})]});}return i[_0x1bfa10(0x307)](f[_0x1bfa10(0x306)],{'title':_0x761dae,'placement':_0x1bfa10(0x20f),'children':_0x39ec88()});}function _0xa6a6(_0x226826,_0x1167d7){_0x226826=_0x226826-0x1da;const _0x11fef2=_0x11fe();let _0xa6a6be=_0x11fef2[_0x226826];return _0xa6a6be;}var Ie=Object[_0x3a1329(0x22b)],_e=(_0x378f8a,_0x2c4f6a,_0x1cd9d9,_0x5d135b)=>{const _0x47c40b=_0x3a1329;for(var _0x2b404b=_0x5d135b>0x1?void 0x0:_0x5d135b?Ie(_0x2c4f6a,_0x1cd9d9):_0x2c4f6a,_0x159570=_0x378f8a[_0x47c40b(0x337)]-0x1,_0x56df2c;_0x159570>=0x0;_0x159570--)(_0x56df2c=_0x378f8a[_0x159570])&&(_0x2b404b=_0x56df2c(_0x2b404b)||_0x2b404b);return _0x2b404b;},N=(_0x49cdaf,_0x223c6a)=>(_0xb38927,_0x892732)=>_0x223c6a(_0xb38927,_0x892732,_0x49cdaf);exports[_0x3a1329(0x27f)]=class extends u[_0x3a1329(0x236)]{constructor(_0x2a1c05,_0x2157cb,_0x1dfbb6,_0x48b174){const _0xea967e=_0x3a1329;super(),this['_injector']=_0x2a1c05,this['_connectionController']=_0x2157cb,this[_0xea967e(0x34f)]=_0x1dfbb6,this[_0xea967e(0x215)]=_0x48b174,this['_initAutoConnect'](),this[_0xea967e(0x1e3)]();}[_0x3a1329(0x282)](){const _0x25ddfc=_0x3a1329,_0x4992e1=this[_0x25ddfc(0x215)]['getConfig'](P);_0x4992e1!=null&&_0x4992e1[_0x25ddfc(0x278)]&&(this[_0x25ddfc(0x261)][_0x25ddfc(0x2b4)]=!0x1);}['_initStatusComponent'](){const _0x5ddf9c=_0x3a1329,_0xfb52b5=this[_0x5ddf9c(0x215)][_0x5ddf9c(0x2f0)](P);(_0xfb52b5==null?void 0x0:_0xfb52b5[_0x5ddf9c(0x341)])!==!0x1&&this[_0x5ddf9c(0x33a)](this[_0x5ddf9c(0x34f)][_0x5ddf9c(0x2fb)](v['BuiltInUIPart'][_0x5ddf9c(0x207)],()=>{const _0x32f120=_0x5ddf9c;var _0x3dac96;return v[_0x32f120(0x221)](ye({'status$':this['_connectionController'][_0x32f120(0x1e9)],'error$':this[_0x32f120(0x261)][_0x32f120(0x224)],'onConfigure':()=>this[_0x32f120(0x243)](),'showClickable':(_0x3dac96=_0xfb52b5==null?void 0x0:_0xfb52b5[_0x32f120(0x278)])!=null?_0x3dac96:!0x1}),this['_injector']);}));}[_0x3a1329(0x243)](){const _0xe810df=_0x3a1329;this['_injector'][_0xe810df(0x31e)](exports[_0xe810df(0x29d)])[_0xe810df(0x34e)]();}},exports[_0x3a1329(0x27f)]=_e([N(0x0,u['Inject'](u[_0x3a1329(0x210)])),N(0x1,u[_0x3a1329(0x235)](s['MCPConnectionController'])),N(0x2,v[_0x3a1329(0x28e)]),N(0x3,u[_0x3a1329(0x310)])],exports[_0x3a1329(0x27f)]);function _0x11fe(){const _0x3de066=['Inject','Disposable','MCPConnectionController','RETRYING','mcpConfig.connectionStatus.disconnected','未连接','Connecting...','Bearer\x20','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-space-y-2','MCPUIMenuController','Plugin','NETWORK_ERROR','ILocalStorageService','_handleConfigure','register','removeItem','UNAUTHORIZED','univer-space-y-5','univer-space-y-3','0\x200\x2017\x2016','univer-flex\x20univer-items-start\x20univer-gap-3','Configuration\x20Parameters:','Click\x20to\x20connect\x20MCP','重连中...','url(#$1','off-line-icon_clip0_910_343','mcpStatus.connecting','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\x20Retrying...','stringify','Button','map','univer.ai','mcpServerUrl','check-mark-icon','MCP:\x20未授权','defineProperty','button','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enable\x20Authentication','mcpStatus.retrying','Invalid\x20configuration','mcpStatus.connected','_connectionController','substring','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Unknown\x20Status','_apiKey$','已连接','MCPConnectionError','OpenMCPConfigPanelCommand','https://console.univer.plus','MCP\x20Disconnected','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','__setCustomHeaders','idSuffix','BehaviorSubject','_mcpConnectionController','white','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-items-start\x20univer-gap-3\x20univer-pr-8','univer-text-xs\x20univer-text-gray-500','FAILED','univer-text-sm\x20univer-font-medium','mcpConfig.configParameters','registerCommand','showDeveloperTools','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-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','API\x20密钥长度至少需要\x2010\x20位','univer-flex\x20univer-items-center\x20univer-gap-2','MCP\x20连接失败','几秒钟内获取您的\x20API\x20密钥','MCPConnectionUIController','mcpConfig.connectionError.maxRetriesExceeded','MCPStatusDisplay','_initAutoConnect','点击连接\x20MCP','forwardRef','Get\x20your\x20API\x20key\x20in\x20seconds','isValid','配置参数:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-flex\x20univer-items-center\x20univer-gap-3','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','NONE','clipPath','clsx','IUIPartsService','请输入您的\x20API\x20密钥','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','CheckMarkIcon','univer-text-blue-600','univer-text-red-500','点击配置\x20MCP','close','_blank','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MessageType','MCP\x20配置','has','MCP\x20Connection\x20Failed','close-icon','MCPConfigUIController','_registerComponent','mcpConfig.configError','onStarting','IDialogService','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥无效,请检查密钥是否正确','ComponentManager','_commandService','mcpStatus.clickToConfigure','mcpConfig.connectionStatus.failed','univer-text-sm\x20univer-text-gray-500','10bdDNXT','_componentManager','<API_KEY>','Failed\x20to\x20save\x20configuration','path','_messageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','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','useState','none','MCP\x20重连中...','enableAutoConnect','open','Retrying...','off','配置保存成功','useRef','mcpConfig.configInstructions','fill','help-icon','BUTTON','_initializeMenus','RibbonStartGroup','validateApiKey','_dialogService','univer-flex\x20univer-items-start\x20univer-gap-2','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','6120OVwJVe','useObservable','配置\x20MCP\x20使用\x20AI\x20操作电子表格','OffLineIcon','Configuration\x20Notes:','defs','mcpStatus.networkError','Authorization:','DependentOn','mcpConfig.validation.apiKeyRequired','useDependency','assign','useCallback','配置更改将立即生效','on-line-icon','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20密钥','会话\x20ID\x20已被占用,请稍后再试','673741WqazLZ','What\x20is\x20API\x20Key?','jsxs','MCP\x20Connected','on-line-icon_clip0_910_349','use','http://www.w3.org/2000/svg','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Error','add','currentColor','univer-font-medium','M0\x200H16V16H0z','push','_validateConfig','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','ISocketService','next','univer-flex-1','保存中...','MCP:\x20Network\x20Error','svg','IMessageService','mcpConfig.note2','6fGdygT','UniverMCPUIPlugin','getConfig','超出最大重试次数,请稍后再试','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-text-white','mcpConfig.title','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_initConfigSync','mcpConfig.connectionStatus.retrying','mask','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','registerComponent','Save\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','zhCN','35712516bejfLL','warn','mcpConfig.apiApplyInfo.description','Module','MCP\x20Configuration','displayName','Tooltip','jsx','univer-text-green-500','univer-bg-gray-500','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','show','MCP_PLUGIN_CONFIG_KEY','Connection\x20Failed','http','1324926kDjPst','IConfigService','MCP:\x20Unauthorized','univer-flex\x20univer-gap-3','mcpConfig.apiApplyInfo.title','univer-text-xs\x20univer-text-gray-600','_logService','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','trim','univer-mr-2\x20univer-flex\x20univer-text-xl','配置步骤:','8736321CageMG','mcpConfig.sessionIdDescription','1em','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','get','MCP\x20客户端配置','value','translate(.97)','round','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','8QwLNca','mcpConfig.apiKeyPlaceholder','sessionId$','MCP\x20Connecting...','Input','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','WebSocketService','univer-text-gray-500','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mergeMenu','_handleConfigSave','tag','API\x20密钥不能为空','enUS','mcpConfig.validation.invalidApiKey','启用身份验证','_config','error','LocaleService','length','_loading$','label','disposeWithMe','MCPConnectionStatus','span','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','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','getCurrentConfig','showStatus','attrs','_injector','HelpIcon','_localeService','启用身份验证以获得安全连接','12123iDGidI','CommandType','<SESSION_ID>','配置无效','CONNECTED','subscribeConfigValue$','MCP\x20已断开','showConfigPanel','_uiPartsService','1081645PGUpvf','\x20-\x20','_initializeCommands','univer-min-w-0\x20univer-flex-1','您的\x20API\x20密钥安全存储在本地存储中','apiKey','univer-text-gray-400','url(#on-line-icon_clip0_910_349)','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-shrink-0\x20univer-text-red-500','mcpStatus.failed','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','replace','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','MCP\x20状态未知','univer-text-yellow-500','连接中...','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','current','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpConfig.apiApplyInfo.getStarted','MCP\x20连接中...','toStringTag','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpConfig.validation.apiKeyTooShort','div','0\x200\x2016\x2016','mcpConfig.connectionStatus.connected','_initStatusComponent','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','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','mcpConfig.apiKeyHint','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univerjs-icon\x20univerjs-icon-','connectionStatus$','_menuManagerService','mcpConfig.connectionInfo','API\x20key\x20is\x20required','random','mcp-ui.command.openConfigPanel','API\x20Key','mcp.apiKey','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Connected','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','setConfig','_mcpCoreConfig$','xlink:href','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.configStep1','mcpConfig.connectionStatus.connecting','将配置添加到您的\x20MCP\x20客户端设置文件中','重启您的\x20MCP\x20客户端以使配置生效','UniverIcon','COMMAND','_loadStoredApiKey','evenodd','pre','Disconnected','subscribe','_config$','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','off-line-icon','getItem','HEADER_MENU','MCPConfigPanel','821811NJZQap','forEach','MenuItemType','14MFCYdY','univer-size-4','DISCONNECTED','bottom','Injector','colorChannel1','OTHERS','errorMessage','连接失败','_configService','\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','mcpConfig.save','Copy\x20the\x20JSON\x20configuration\x20below','univer.plus','children','Univer\x20AI\x20Console','MAX_RETRIES_EXCEEDED','mcpConfig.saving','includes','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','CloseIcon','connectInjector','mcpStatus.unknown','string','connectionError$','univer-bg-green-500','CONNECTING','复制以下\x20JSON\x20配置','会话ID','univer_session_id:','createElement','getOwnPropertyDescriptor','MCP:\x20超出最大重试次数','Enable\x20authentication\x20for\x20secure\x20connections','权限验证失败,请检查您的\x20API\x20密钥','toString','univer-space-y-4','Click\x20to\x20configure\x20MCP','MCP:\x20会话\x20ID\x20已被占用','mcpStatus.maxRetriesExceeded','_localStorageService'];_0x11fe=function(){return _0x3de066;};return _0x11fe();}function ye(_0x5b5c77){const {status$:_0x2e95fe,error$:_0x5a44b0,onConfigure:_0x1a597f,showClickable:_0x238683}=_0x5b5c77;return function(){const _0x5e89da=_0xa6a6;return i[_0x5e89da(0x307)](W,{'status$':_0x2e95fe,'error$':_0x5a44b0,'onConfigure':_0x1a597f,'showClickable':_0x238683});};}function Me(_0x4b9f82){const _0x30bff5=_0x3a1329;return{'id':b['id'],'type':v[_0x30bff5(0x20b)][_0x30bff5(0x2bd)],'icon':'MenuIcon','title':_0x30bff5(0x2f4),'tooltip':_0x30bff5(0x2f4)};}const Ne={[v[_0x3a1329(0x2bf)][_0x3a1329(0x212)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x3a1329(0x22b)],je=(_0x3e3c87,_0x4c0c0b,_0x5c0d6f,_0x3c2e5b)=>{for(var _0x1204d6=_0x3c2e5b>0x1?void 0x0:_0x3c2e5b?be(_0x4c0c0b,_0x5c0d6f):_0x4c0c0b,_0x6068e1=_0x3e3c87['length']-0x1,_0x10bee8;_0x6068e1>=0x0;_0x6068e1--)(_0x10bee8=_0x3e3c87[_0x6068e1])&&(_0x1204d6=_0x10bee8(_0x1204d6)||_0x1204d6);return _0x1204d6;},z=(_0x1f676f,_0xd53e32)=>(_0x387bcc,_0x398f5e)=>_0xd53e32(_0x387bcc,_0x398f5e,_0x1f676f);exports[_0x3a1329(0x23f)]=class extends u['Disposable']{constructor(_0x446fac,_0x569288){const _0x349779=_0x3a1329;super(),this[_0x349779(0x2a5)]=_0x446fac,this[_0x349779(0x1ea)]=_0x569288,this[_0x349779(0x352)](),this[_0x349779(0x2be)]();}['_initializeCommands'](){const _0x1ca793=_0x3a1329;[b][_0x1ca793(0x20a)](_0x255cf3=>{const _0x4de08c=_0x1ca793;this[_0x4de08c(0x33a)](this[_0x4de08c(0x2a5)][_0x4de08c(0x277)](_0x255cf3));});}['_initializeMenus'](){const _0x30c0ec=_0x3a1329;this[_0x30c0ec(0x1ea)][_0x30c0ec(0x32d)](Ne);}},exports[_0x3a1329(0x23f)]=je([z(0x0,u['ICommandService']),z(0x1,v['IMenuManagerService'])],exports[_0x3a1329(0x23f)]);const Ee={'mcpStatus':{'disconnected':_0x3a1329(0x26a),'connecting':_0x3a1329(0x327),'connected':_0x3a1329(0x2d9),'failed':_0x3a1329(0x29b),'retrying':_0x3a1329(0x252),'unknown':_0x3a1329(0x264),'unauthorized':_0x3a1329(0x311),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x3a1329(0x2ea),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3a1329(0x24c),'clickToConfigure':_0x3a1329(0x231)},'mcpConfig':{'title':_0x3a1329(0x304),'description':_0x3a1329(0x33d),'apiKey':_0x3a1329(0x1ef),'apiKeyPlaceholder':_0x3a1329(0x2f9),'apiKeyHint':_0x3a1329(0x358),'enableAuth':_0x3a1329(0x25d),'enableAuthHint':_0x3a1329(0x22d),'connectionInfo':_0x3a1329(0x33e),'mcpClientConfig':_0x3a1329(0x33e),'configInstructions':_0x3a1329(0x25c),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x3a1329(0x218),'configStep2':_0x3a1329(0x35d),'configStep3':_0x3a1329(0x1e4),'sessionId':'Session\x20ID','sessionIdDescription':_0x3a1329(0x2dd),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3a1329(0x24b),'maxRetries':'Max\x20Retries','save':_0x3a1329(0x2fc),'saving':'Saving...','note1':_0x3a1329(0x297),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x3a1329(0x2ac),'apiApplyInfo':{'title':_0x3a1329(0x2d7),'description':_0x3a1329(0x31d),'univerAiLabel':_0x3a1329(0x21b),'getStarted':_0x3a1329(0x285)},'validation':{'apiKeyRequired':_0x3a1329(0x1ec),'apiKeyTooShort':_0x3a1329(0x2fd),'invalidConfig':_0x3a1329(0x25f),'invalidApiKey':_0x3a1329(0x2d3)},'connectionStatus':{'disconnected':_0x3a1329(0x201),'connecting':_0x3a1329(0x23b),'connected':_0x3a1329(0x1f2),'failed':_0x3a1329(0x30d),'retrying':_0x3a1329(0x2b6)},'connectionError':{'unauthorized':_0x3a1329(0x263),'sessionOccupied':_0x3a1329(0x2fa),'networkError':_0x3a1329(0x288),'maxRetriesExceeded':_0x3a1329(0x316)}}},we={'mcpStatus':{'disconnected':_0x3a1329(0x34d),'connecting':_0x3a1329(0x1db),'connected':'MCP\x20已连接','failed':_0x3a1329(0x27d),'retrying':_0x3a1329(0x2b3),'unknown':_0x3a1329(0x360),'unauthorized':_0x3a1329(0x259),'sessionOccupied':_0x3a1329(0x232),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x3a1329(0x22c),'clickToConnect':_0x3a1329(0x283),'clickToConfigure':_0x3a1329(0x294)},'mcpConfig':{'title':_0x3a1329(0x299),'description':_0x3a1329(0x2c6),'apiKey':_0x3a1329(0x2d4),'apiKeyPlaceholder':_0x3a1329(0x28f),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x3a1329(0x333),'enableAuthHint':_0x3a1329(0x346),'connectionInfo':_0x3a1329(0x31f),'mcpClientConfig':_0x3a1329(0x31f),'configInstructions':_0x3a1329(0x1f7),'configStepTitle':_0x3a1329(0x319),'configStep1':_0x3a1329(0x227),'configStep2':_0x3a1329(0x1fa),'configStep3':_0x3a1329(0x1fb),'sessionId':_0x3a1329(0x228),'sessionIdDescription':_0x3a1329(0x2a2),'authorizationDescription':_0x3a1329(0x1e7),'configParameters':_0x3a1329(0x287),'maxRetries':'最大重试次数','save':'保存配置','saving':_0x3a1329(0x2e9),'note1':_0x3a1329(0x2d1),'note2':_0x3a1329(0x354),'configSaved':_0x3a1329(0x2b8),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3a1329(0x27e)},'validation':{'apiKeyRequired':_0x3a1329(0x330),'apiKeyTooShort':_0x3a1329(0x27b),'invalidConfig':_0x3a1329(0x34a),'invalidApiKey':_0x3a1329(0x2a3)},'connectionStatus':{'disconnected':_0x3a1329(0x23a),'connecting':_0x3a1329(0x362),'connected':_0x3a1329(0x266),'failed':_0x3a1329(0x214),'retrying':_0x3a1329(0x24d)},'connectionError':{'unauthorized':_0x3a1329(0x22e),'sessionOccupied':_0x3a1329(0x2d5),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x3a1329(0x2f1)}}};var Ae=Object[_0x3a1329(0x25a)],Oe=Object[_0x3a1329(0x22b)],De=(_0x31cd11,_0x383596,_0x287b7d)=>_0x383596 in _0x31cd11?Ae(_0x31cd11,_0x383596,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x287b7d}):_0x31cd11[_0x383596]=_0x287b7d,Ue=(_0x2e56c6,_0x3181b5,_0x50ba68,_0x574f87)=>{for(var _0x32bcbd=_0x574f87>0x1?void 0x0:_0x574f87?Oe(_0x3181b5,_0x50ba68):_0x3181b5,_0x101b62=_0x2e56c6['length']-0x1,_0x3520ff;_0x101b62>=0x0;_0x101b62--)(_0x3520ff=_0x2e56c6[_0x101b62])&&(_0x32bcbd=_0x3520ff(_0x32bcbd)||_0x32bcbd);return _0x32bcbd;},y=(_0x8b0f93,_0x1fcd77)=>(_0xda2cab,_0x57e035)=>_0x1fcd77(_0xda2cab,_0x57e035,_0x8b0f93),$e=(_0x5ff1b5,_0xd2ac93,_0x2dfc15)=>De(_0x5ff1b5,_0xd2ac93+'',_0x2dfc15);exports[_0x3a1329(0x2ef)]=class extends u[_0x3a1329(0x240)]{constructor(_0x1b17b5=L,_0x2805b5,_0x143da2,_0xef8b53,_0x183a81,_0x15530e){const _0x397e4f=_0x3a1329;super(),this[_0x397e4f(0x334)]=_0x1b17b5,this[_0x397e4f(0x343)]=_0x2805b5,this['_configService']=_0x143da2,this[_0x397e4f(0x34f)]=_0xef8b53,this[_0x397e4f(0x234)]=_0x183a81,this[_0x397e4f(0x345)]=_0x15530e;const {..._0xeceba}=u['merge']({},L,this[_0x397e4f(0x334)]);this[_0x397e4f(0x215)][_0x397e4f(0x1f4)](P,_0xeceba);}async[_0x3a1329(0x2a0)](){const _0x35cfd4=_0x3a1329,_0x4e7afc=[[exports[_0x35cfd4(0x27f)]],[exports[_0x35cfd4(0x29d)]],[exports['MCPUIMenuController']]];this['_injector'][_0x35cfd4(0x29a)](A['ISocketService'])||_0x4e7afc[_0x35cfd4(0x2e3)]([A[_0x35cfd4(0x2e6)],{'useClass':A[_0x35cfd4(0x32a)]}]),_0x4e7afc[_0x35cfd4(0x20a)](_0x4d98c7=>this[_0x35cfd4(0x343)][_0x35cfd4(0x2df)](_0x4d98c7)),this[_0x35cfd4(0x343)]['get'](exports['MCPConnectionUIController']),this[_0x35cfd4(0x343)][_0x35cfd4(0x31e)](exports['MCPConfigUIController']),this[_0x35cfd4(0x343)]['get'](exports[_0x35cfd4(0x23f)]);}},$e(exports['UniverMCPUIPlugin'],'pluginName','MCP_UI_PLUGIN'),exports[_0x3a1329(0x2ef)]=Ue([u[_0x3a1329(0x2cc)](s['UniverMCPPlugin']),y(0x1,u[_0x3a1329(0x235)](u[_0x3a1329(0x210)])),y(0x2,u[_0x3a1329(0x310)]),y(0x3,v['IUIPartsService']),y(0x4,u[_0x3a1329(0x242)]),y(0x5,u[_0x3a1329(0x235)](u['LocaleService']))],exports[_0x3a1329(0x2ef)]),exports[_0x3a1329(0x208)]=V,exports[_0x3a1329(0x281)]=W,exports[_0x3a1329(0x268)]=b,exports[_0x3a1329(0x331)]=Ee,exports[_0x3a1329(0x2ff)]=we;
@@ -1 +1 @@
1
- 'use strict';function _0x7c86(){const _0x474172=['MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','748684rPQPDh','3118715PgrTOa','Max\x20Retries','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20Authentication','Failed\x20to\x20save\x20configuration','MCP\x20Disconnected','MCP\x20Client\x20Configuration','exports','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key','346ZivsPz','2413536zTspqr','Univer\x20AI\x20Console','MCP\x20Connecting...','6500536sksShn','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Disconnected','Connected','14453461ZPNqmL','Configuration\x20saved\x20successfully','6cHdHYH','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','Save\x20Configuration','MCP\x20Configuration','Connecting...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connection\x20Failed','API\x20key\x20is\x20required','2727558pmIFOs','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Click\x20to\x20connect\x20MCP','14SPirri','MCP\x20Connected','50kHrHly','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','12qtKrHN','MCP:\x20Unauthorized','Configuration\x20Steps:','MCP:\x20Network\x20Error','Enter\x20your\x20API\x20key','4250pUHNOt','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...'];_0x7c86=function(){return _0x474172;};return _0x7c86();}const _0x59c97b=_0x48bc;(function(_0x51f2b5,_0x1bae80){const _0x55d1df=_0x48bc,_0x324df3=_0x51f2b5();while(!![]){try{const _0x2f370c=-parseInt(_0x55d1df(0x17d))/0x1*(-parseInt(_0x55d1df(0x19f))/0x2)+-parseInt(_0x55d1df(0x17e))/0x3+parseInt(_0x55d1df(0x1a7))/0x4+parseInt(_0x55d1df(0x1a8))/0x5*(-parseInt(_0x55d1df(0x187))/0x6)+parseInt(_0x55d1df(0x196))/0x7*(parseInt(_0x55d1df(0x181))/0x8)+-parseInt(_0x55d1df(0x192))/0x9*(parseInt(_0x55d1df(0x198))/0xa)+-parseInt(_0x55d1df(0x185))/0xb*(-parseInt(_0x55d1df(0x19a))/0xc);if(_0x2f370c===_0x1bae80)break;else _0x324df3['push'](_0x324df3['shift']());}catch(_0x5373ff){_0x324df3['push'](_0x324df3['shift']());}}}(_0x7c86,0xe01b5));function _0x48bc(_0x4f04dd,_0x23db84){_0x4f04dd=_0x4f04dd-0x178;const _0x7c86eb=_0x7c86();let _0x48bcde=_0x7c86eb[_0x4f04dd];return _0x48bcde;}const e={'mcpStatus':{'disconnected':_0x59c97b(0x178),'connecting':_0x59c97b(0x180),'connected':_0x59c97b(0x197),'failed':_0x59c97b(0x1a3),'retrying':_0x59c97b(0x18b),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x59c97b(0x19b),'sessionOccupied':_0x59c97b(0x1a2),'networkError':_0x59c97b(0x19d),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x59c97b(0x195),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x59c97b(0x18d),'description':_0x59c97b(0x189),'apiKey':_0x59c97b(0x17c),'apiKeyPlaceholder':_0x59c97b(0x19e),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x59c97b(0x1ad),'enableAuthHint':_0x59c97b(0x193),'connectionInfo':_0x59c97b(0x179),'mcpClientConfig':_0x59c97b(0x179),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x59c97b(0x19c),'configStep1':_0x59c97b(0x1a6),'configStep2':_0x59c97b(0x17b),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x59c97b(0x18f),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x59c97b(0x1a5),'maxRetries':_0x59c97b(0x1a9),'save':_0x59c97b(0x18c),'saving':'Saving...','note1':_0x59c97b(0x188),'note2':_0x59c97b(0x1a4),'configSaved':_0x59c97b(0x186),'configError':_0x59c97b(0x1ae),'apiApplyInfo':{'title':_0x59c97b(0x1ab),'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':_0x59c97b(0x17f),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x59c97b(0x191),'apiKeyTooShort':_0x59c97b(0x1ac),'invalidConfig':_0x59c97b(0x194),'invalidApiKey':_0x59c97b(0x1a0)},'connectionStatus':{'disconnected':_0x59c97b(0x183),'connecting':_0x59c97b(0x18e),'connected':_0x59c97b(0x184),'failed':_0x59c97b(0x190),'retrying':_0x59c97b(0x1a1)},'connectionError':{'unauthorized':_0x59c97b(0x182),'sessionOccupied':_0x59c97b(0x199),'networkError':_0x59c97b(0x18a),'maxRetriesExceeded':_0x59c97b(0x1aa)}}},n=e;module[_0x59c97b(0x17a)]=n;
1
+ 'use strict';const _0x76d786=_0x53f6;(function(_0x2f7046,_0x570f77){const _0x1ea79e=_0x53f6,_0x356fb3=_0x2f7046();while(!![]){try{const _0x22ca90=-parseInt(_0x1ea79e(0x126))/0x1+-parseInt(_0x1ea79e(0x125))/0x2*(parseInt(_0x1ea79e(0x140))/0x3)+parseInt(_0x1ea79e(0x136))/0x4+-parseInt(_0x1ea79e(0x134))/0x5*(parseInt(_0x1ea79e(0x121))/0x6)+-parseInt(_0x1ea79e(0x132))/0x7*(-parseInt(_0x1ea79e(0x11a))/0x8)+-parseInt(_0x1ea79e(0x10e))/0x9+parseInt(_0x1ea79e(0x11d))/0xa*(parseInt(_0x1ea79e(0x11b))/0xb);if(_0x22ca90===_0x570f77)break;else _0x356fb3['push'](_0x356fb3['shift']());}catch(_0x4f3975){_0x356fb3['push'](_0x356fb3['shift']());}}}(_0x5ee4,0x76300));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x76d786(0x115),'connected':_0x76d786(0x11e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x76d786(0x127),'unknown':_0x76d786(0x118),'unauthorized':_0x76d786(0x12e),'sessionOccupied':_0x76d786(0x128),'networkError':_0x76d786(0x116),'maxRetriesExceeded':_0x76d786(0x120),'clickToConnect':_0x76d786(0x12f),'clickToConfigure':_0x76d786(0x122)},'mcpConfig':{'title':_0x76d786(0x135),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x76d786(0x13b),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x76d786(0x131),'enableAuth':_0x76d786(0x12b),'enableAuthHint':_0x76d786(0x123),'connectionInfo':_0x76d786(0x114),'mcpClientConfig':_0x76d786(0x114),'configInstructions':_0x76d786(0x139),'configStepTitle':_0x76d786(0x138),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x76d786(0x137),'configStep3':_0x76d786(0x111),'sessionId':_0x76d786(0x129),'sessionIdDescription':_0x76d786(0x12a),'authorizationDescription':_0x76d786(0x13f),'configParameters':_0x76d786(0x124),'maxRetries':'Max\x20Retries','save':_0x76d786(0x13a),'saving':_0x76d786(0x110),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x76d786(0x11c),'configSaved':_0x76d786(0x11f),'configError':_0x76d786(0x13d),'apiApplyInfo':{'title':_0x76d786(0x10f),'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':_0x76d786(0x13c),'getStarted':_0x76d786(0x130)},'validation':{'apiKeyRequired':_0x76d786(0x12c),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x76d786(0x133),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x76d786(0x12d),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x76d786(0x119)},'connectionError':{'unauthorized':_0x76d786(0x13e),'sessionOccupied':_0x76d786(0x113),'networkError':_0x76d786(0x117),'maxRetriesExceeded':_0x76d786(0x112)}}},n=e;module['exports']=n;function _0x53f6(_0xe12466,_0x510061){_0xe12466=_0xe12466-0x10e;const _0x5ee4d2=_0x5ee4();let _0x53f682=_0x5ee4d2[_0xe12466];return _0x53f682;}function _0x5ee4(){const _0x38c75d=['2103248WXPSQU','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','API\x20Key','Univer\x20AI\x20Console','Failed\x20to\x20save\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','15213JaBYZr','6080463uEeXPM','What\x20is\x20API\x20Key?','Saving...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','MCP\x20Connecting...','MCP:\x20Network\x20Error','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Unknown\x20Status','Retrying...','74752zXVYDC','24282533qHbubO','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','10zhPgZm','MCP\x20Connected','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','18Qotigi','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Parameters:','6DGEuVB','672708NOnnpj','MCP\x20Retrying...','MCP:\x20Session\x20ID\x20Occupied','Session\x20ID','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enable\x20Authentication','API\x20key\x20is\x20required','Connecting...','MCP:\x20Unauthorized','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','28MowLmT','Invalid\x20configuration','1538445CupzxN','MCP\x20Configuration'];_0x5ee4=function(){return _0x38c75d;};return _0x5ee4();}
@@ -1 +1 @@
1
- 'use strict';const _0x1040fd=_0xf569;(function(_0x57dd45,_0x107b04){const _0x32659c=_0xf569,_0x99b5c8=_0x57dd45();while(!![]){try{const _0xcbad0f=parseInt(_0x32659c(0x8d))/0x1+parseInt(_0x32659c(0x98))/0x2*(parseInt(_0x32659c(0x9d))/0x3)+-parseInt(_0x32659c(0xa9))/0x4*(parseInt(_0x32659c(0x80))/0x5)+parseInt(_0x32659c(0x82))/0x6*(-parseInt(_0x32659c(0xb1))/0x7)+-parseInt(_0x32659c(0x89))/0x8+parseInt(_0x32659c(0xa5))/0x9+parseInt(_0x32659c(0x99))/0xa;if(_0xcbad0f===_0x107b04)break;else _0x99b5c8['push'](_0x99b5c8['shift']());}catch(_0x1e2562){_0x99b5c8['push'](_0x99b5c8['shift']());}}}(_0x4aa6,0xe16b4));const e={'mcpStatus':{'disconnected':_0x1040fd(0x9e),'connecting':_0x1040fd(0x9a),'connected':_0x1040fd(0x81),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1040fd(0x88),'unknown':_0x1040fd(0x90),'unauthorized':_0x1040fd(0x8f),'sessionOccupied':_0x1040fd(0x83),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1040fd(0xb4),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1040fd(0x96)},'mcpConfig':{'title':_0x1040fd(0x92),'description':_0x1040fd(0xb6),'apiKey':_0x1040fd(0xb2),'apiKeyPlaceholder':_0x1040fd(0xa0),'apiKeyHint':_0x1040fd(0x9c),'enableAuth':_0x1040fd(0x8c),'enableAuthHint':_0x1040fd(0xa4),'connectionInfo':_0x1040fd(0xad),'mcpClientConfig':_0x1040fd(0xad),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x1040fd(0xaa),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x1040fd(0x8e),'sessionId':_0x1040fd(0xac),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x1040fd(0x95),'configParameters':_0x1040fd(0x85),'maxRetries':_0x1040fd(0xa8),'save':_0x1040fd(0xa3),'saving':_0x1040fd(0x93),'note1':_0x1040fd(0xa2),'note2':_0x1040fd(0x86),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1040fd(0xb0),'apiApplyInfo':{'title':_0x1040fd(0x87),'description':_0x1040fd(0xae),'univerAiLabel':_0x1040fd(0xa7),'getStarted':_0x1040fd(0xa6)},'validation':{'apiKeyRequired':_0x1040fd(0xb5),'apiKeyTooShort':_0x1040fd(0xab),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1040fd(0x9f)},'connectionStatus':{'disconnected':_0x1040fd(0x97),'connecting':_0x1040fd(0x8b),'connected':_0x1040fd(0xa1),'failed':_0x1040fd(0x84),'retrying':_0x1040fd(0x9b)},'connectionError':{'unauthorized':_0x1040fd(0x8a),'sessionOccupied':_0x1040fd(0xaf),'networkError':_0x1040fd(0xb3),'maxRetriesExceeded':_0x1040fd(0x94)}}};function _0xf569(_0x56b2ff,_0x3eb845){_0x56b2ff=_0x56b2ff-0x80;const _0x4aa625=_0x4aa6();let _0xf56976=_0x4aa625[_0x56b2ff];return _0xf56976;}module[_0x1040fd(0x91)]=e;function _0x4aa6(){const _0x7662a3=['Enable\x20authentication\x20for\x20secure\x20connections','11412981vyJjhT','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','Max\x20Retries','4gOaWuI','Configuration\x20Steps:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session\x20ID','MCP\x20Client\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','50589oPeWep','API\x20Key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20is\x20required','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','3925435rHfjjl','MCP\x20Connected','1206hFDJaA','MCP:\x20Session\x20ID\x20Occupied','Connection\x20Failed','Configuration\x20Parameters:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','What\x20is\x20API\x20Key?','MCP\x20Retrying...','11758232GqkUTF','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Enable\x20Authentication','256225nGgfbs','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Unauthorized','MCP\x20Unknown\x20Status','exports','MCP\x20Configuration','Saving...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20configure\x20MCP','Disconnected','2nyPzrv','14437200xCMiVY','MCP\x20Connecting...','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','4988265QcMzac','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Save\x20Configuration'];_0x4aa6=function(){return _0x7662a3;};return _0x4aa6();}
1
+ 'use strict';function _0x4288(){const _0x19dd65=['Configuration\x20saved\x20successfully','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','Univer\x20AI\x20Console','MCP:\x20Session\x20ID\x20Occupied','462iwCSgy','Enable\x20Authentication','MCP\x20Connected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','4102dBlNvg','Enable\x20authentication\x20for\x20secure\x20connections','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','207QPxohN','1833kGQzDT','Click\x20to\x20connect\x20MCP','Configuration\x20Steps:','MCP\x20Disconnected','MCP\x20Client\x20Configuration','API\x20Key','MCP\x20Connecting...','31716Viqlyy','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','exports','API\x20key\x20with\x20Bearer\x20prefix.','46808kuNjmr','Configuration\x20Parameters:','65LrgqKQ','Copy\x20the\x20JSON\x20configuration\x20below','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Unknown\x20Status','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','25596JHCAEk','Max\x20Retries','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','214Tammwc','What\x20is\x20API\x20Key?','927156OydhkA','MCP\x20Connection\x20Failed','MCP:\x20Max\x20Retries\x20Exceeded','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','15416NsCBdG','10UqRtpf','Click\x20to\x20configure\x20MCP','Disconnected','MCP\x20Retrying...','4746874ttcwbp'];_0x4288=function(){return _0x19dd65;};return _0x4288();}const _0x449fc0=_0x5a7a;function _0x5a7a(_0xd264cb,_0x371c35){_0xd264cb=_0xd264cb-0x89;const _0x4288d2=_0x4288();let _0x5a7a35=_0x4288d2[_0xd264cb];return _0x5a7a35;}(function(_0x32d4de,_0x5362b4){const _0x23c2e4=_0x5a7a,_0x507e9e=_0x32d4de();while(!![]){try{const _0x7a5734=-parseInt(_0x23c2e4(0xaa))/0x1*(-parseInt(_0x23c2e4(0x90))/0x2)+-parseInt(_0x23c2e4(0x92))/0x3+parseInt(_0x23c2e4(0x97))/0x4*(parseInt(_0x23c2e4(0xbc))/0x5)+parseInt(_0x23c2e4(0xb5))/0x6*(parseInt(_0x23c2e4(0xa6))/0x7)+parseInt(_0x23c2e4(0xba))/0x8*(-parseInt(_0x23c2e4(0xad))/0x9)+parseInt(_0x23c2e4(0x98))/0xa*(-parseInt(_0x23c2e4(0x9c))/0xb)+-parseInt(_0x23c2e4(0x8c))/0xc*(-parseInt(_0x23c2e4(0xae))/0xd);if(_0x7a5734===_0x5362b4)break;else _0x507e9e['push'](_0x507e9e['shift']());}catch(_0x264479){_0x507e9e['push'](_0x507e9e['shift']());}}}(_0x4288,0x4053e));const e={'mcpStatus':{'disconnected':_0x449fc0(0xb1),'connecting':_0x449fc0(0xb4),'connected':_0x449fc0(0xa8),'failed':_0x449fc0(0x93),'retrying':_0x449fc0(0x9b),'unknown':_0x449fc0(0xbf),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x449fc0(0xa5),'networkError':_0x449fc0(0x8b),'maxRetriesExceeded':_0x449fc0(0x94),'clickToConnect':_0x449fc0(0xaf),'clickToConfigure':_0x449fc0(0x99)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x449fc0(0xa0),'apiKey':_0x449fc0(0xb3),'apiKeyPlaceholder':_0x449fc0(0x8f),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x449fc0(0xa7),'enableAuthHint':_0x449fc0(0xab),'connectionInfo':_0x449fc0(0xb2),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x449fc0(0x9e),'configStepTitle':_0x449fc0(0xb0),'configStep1':_0x449fc0(0xbd),'configStep2':_0x449fc0(0x96),'configStep3':_0x449fc0(0xc0),'sessionId':_0x449fc0(0xc1),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x449fc0(0xb9),'configParameters':_0x449fc0(0xbb),'maxRetries':_0x449fc0(0x8d),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x449fc0(0x89),'note2':_0x449fc0(0x8a),'configSaved':_0x449fc0(0x9d),'configError':_0x449fc0(0xa1),'apiApplyInfo':{'title':_0x449fc0(0x91),'description':_0x449fc0(0xac),'univerAiLabel':_0x449fc0(0xa4),'getStarted':_0x449fc0(0xa2)},'validation':{'apiKeyRequired':_0x449fc0(0xa3),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x449fc0(0x8e)},'connectionStatus':{'disconnected':_0x449fc0(0x9a),'connecting':'Connecting...','connected':'Connected','failed':_0x449fc0(0xb7),'retrying':_0x449fc0(0x9f)},'connectionError':{'unauthorized':_0x449fc0(0xbe),'sessionOccupied':_0x449fc0(0xa9),'networkError':_0x449fc0(0x95),'maxRetriesExceeded':_0x449fc0(0xb6)}}};module[_0x449fc0(0xb8)]=e;
@@ -1 +1 @@
1
- 'use strict';function _0x1ee6(){const _0x41c8a9=['Click\x20to\x20connect\x20MCP','Configuration\x20Parameters:','MCP\x20Connected','Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connected','509306ECnSvV','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Steps:','Connecting...','77143NVMMIM','MCP\x20Connection\x20Failed','11133DEpIRb','Click\x20to\x20configure\x20MCP','592884OubiWP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connecting...','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Network\x20Error','API\x20key\x20is\x20required','572jSZoek','Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','291609PedQpF','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2532dJxlZm','Save\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','128qULtTY','821380vRBTkr','Configuration\x20saved\x20successfully','1469GhAwfy','Saving...','Session\x20ID','6YUddZp','10QjSZiN','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below','8758545wOVRNI','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Unknown\x20Status','Max\x20Retries','Connection\x20Failed','50FfPMKG','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x1ee6=function(){return _0x41c8a9;};return _0x1ee6();}const _0x4ae9c0=_0x20ae;(function(_0x1ff67e,_0x462729){const _0x4c24f1=_0x20ae,_0x44bcea=_0x1ff67e();while(!![]){try{const _0x5e9526=-parseInt(_0x4c24f1(0x1d1))/0x1*(parseInt(_0x4c24f1(0x1dd))/0x2)+-parseInt(_0x4c24f1(0x1f9))/0x3*(-parseInt(_0x4c24f1(0x205))/0x4)+-parseInt(_0x4c24f1(0x1e0))/0x5*(parseInt(_0x4c24f1(0x1dc))/0x6)+-parseInt(_0x4c24f1(0x1f0))/0x7*(parseInt(_0x4c24f1(0x1d6))/0x8)+parseInt(_0x4c24f1(0x1fb))/0x9*(-parseInt(_0x4c24f1(0x1e7))/0xa)+parseInt(_0x4c24f1(0x1f7))/0xb*(-parseInt(_0x4c24f1(0x1d3))/0xc)+parseInt(_0x4c24f1(0x1d9))/0xd*(parseInt(_0x4c24f1(0x1d7))/0xe);if(_0x5e9526===_0x462729)break;else _0x44bcea['push'](_0x44bcea['shift']());}catch(_0x48962f){_0x44bcea['push'](_0x44bcea['shift']());}}}(_0x1ee6,0xee9e2));function _0x20ae(_0x424286,_0x3fc19a){_0x424286=_0x424286-0x1d0;const _0x1ee68b=_0x1ee6();let _0x20ae61=_0x1ee68b[_0x424286];return _0x20ae61;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4ae9c0(0x200),'connected':_0x4ae9c0(0x1eb),'failed':_0x4ae9c0(0x1f8),'retrying':'MCP\x20Retrying...','unknown':_0x4ae9c0(0x1e4),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4ae9c0(0x203),'maxRetriesExceeded':_0x4ae9c0(0x1f3),'clickToConnect':_0x4ae9c0(0x1e9),'clickToConfigure':_0x4ae9c0(0x1fa)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4ae9c0(0x202),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4ae9c0(0x1fd),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4ae9c0(0x1f2),'connectionInfo':_0x4ae9c0(0x201),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4ae9c0(0x1d2),'configStepTitle':_0x4ae9c0(0x1f5),'configStep1':_0x4ae9c0(0x1df),'configStep2':_0x4ae9c0(0x1d0),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4ae9c0(0x1db),'sessionIdDescription':_0x4ae9c0(0x1e8),'authorizationDescription':_0x4ae9c0(0x1ed),'configParameters':_0x4ae9c0(0x1ea),'maxRetries':_0x4ae9c0(0x1e5),'save':_0x4ae9c0(0x1d4),'saving':_0x4ae9c0(0x1da),'note1':_0x4ae9c0(0x1fe),'note2':_0x4ae9c0(0x1e2),'configSaved':_0x4ae9c0(0x1d8),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4ae9c0(0x1f1),'univerAiLabel':_0x4ae9c0(0x1e1),'getStarted':_0x4ae9c0(0x1e3)},'validation':{'apiKeyRequired':_0x4ae9c0(0x204),'apiKeyTooShort':_0x4ae9c0(0x1fc),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4ae9c0(0x1de)},'connectionStatus':{'disconnected':_0x4ae9c0(0x206),'connecting':_0x4ae9c0(0x1f6),'connected':_0x4ae9c0(0x1ef),'failed':_0x4ae9c0(0x1e6),'retrying':_0x4ae9c0(0x1ec)},'connectionError':{'unauthorized':_0x4ae9c0(0x1f4),'sessionOccupied':_0x4ae9c0(0x1ee),'networkError':_0x4ae9c0(0x1d5),'maxRetriesExceeded':_0x4ae9c0(0x1ff)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x35c41c=_0x3a88;(function(_0x4517f8,_0x1b286e){const _0xb3ee16=_0x3a88,_0x156b95=_0x4517f8();while(!![]){try{const _0x29ea95=-parseInt(_0xb3ee16(0x21c))/0x1*(parseInt(_0xb3ee16(0x211))/0x2)+parseInt(_0xb3ee16(0x1fc))/0x3+parseInt(_0xb3ee16(0x1f7))/0x4+-parseInt(_0xb3ee16(0x218))/0x5*(-parseInt(_0xb3ee16(0x20a))/0x6)+parseInt(_0xb3ee16(0x21f))/0x7*(-parseInt(_0xb3ee16(0x213))/0x8)+-parseInt(_0xb3ee16(0x1fe))/0x9*(-parseInt(_0xb3ee16(0x210))/0xa)+-parseInt(_0xb3ee16(0x206))/0xb*(parseInt(_0xb3ee16(0x20b))/0xc);if(_0x29ea95===_0x1b286e)break;else _0x156b95['push'](_0x156b95['shift']());}catch(_0x9d5e50){_0x156b95['push'](_0x156b95['shift']());}}}(_0x4e8e,0xd3595));function _0x3a88(_0x331ce5,_0xf5f267){_0x331ce5=_0x331ce5-0x1ec;const _0x4e8ed3=_0x4e8e();let _0x3a8814=_0x4e8ed3[_0x331ce5];return _0x3a8814;}const e={'mcpStatus':{'disconnected':_0x35c41c(0x21d),'connecting':_0x35c41c(0x21a),'connected':_0x35c41c(0x21b),'failed':'MCP\x20Connection\x20Failed','retrying':_0x35c41c(0x221),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x35c41c(0x216),'maxRetriesExceeded':_0x35c41c(0x1f5),'clickToConnect':_0x35c41c(0x21e),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x35c41c(0x220),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x35c41c(0x1ed),'apiKeyPlaceholder':_0x35c41c(0x202),'apiKeyHint':_0x35c41c(0x1ee),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x35c41c(0x1f4),'connectionInfo':_0x35c41c(0x1fd),'mcpClientConfig':_0x35c41c(0x1fd),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x35c41c(0x217),'configStep2':_0x35c41c(0x1ec),'configStep3':_0x35c41c(0x204),'sessionId':_0x35c41c(0x20f),'sessionIdDescription':_0x35c41c(0x205),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x35c41c(0x20d),'maxRetries':_0x35c41c(0x1ff),'save':_0x35c41c(0x1ef),'saving':'Saving...','note1':_0x35c41c(0x1fa),'note2':_0x35c41c(0x200),'configSaved':_0x35c41c(0x1f9),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x35c41c(0x1f8),'description':_0x35c41c(0x1fb),'univerAiLabel':_0x35c41c(0x209),'getStarted':_0x35c41c(0x219)},'validation':{'apiKeyRequired':_0x35c41c(0x215),'apiKeyTooShort':_0x35c41c(0x20c),'invalidConfig':_0x35c41c(0x203),'invalidApiKey':_0x35c41c(0x1f0)},'connectionStatus':{'disconnected':_0x35c41c(0x201),'connecting':_0x35c41c(0x1f2),'connected':_0x35c41c(0x20e),'failed':_0x35c41c(0x208),'retrying':_0x35c41c(0x1f6)},'connectionError':{'unauthorized':_0x35c41c(0x1f1),'sessionOccupied':_0x35c41c(0x1f3),'networkError':_0x35c41c(0x214),'maxRetriesExceeded':_0x35c41c(0x212)}}},n=e;function _0x4e8e(){const _0xb3dd73=['Enter\x20your\x20API\x20key','Invalid\x20configuration','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.','6798PEiJfh','exports','Connection\x20Failed','Univer\x20AI\x20Console','168lKEQEs','12228xHndWu','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','Connected','Session\x20ID','5780lttuKy','22XyDhiV','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','14864pHzZno','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','77815SUFihU','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connecting...','MCP\x20Connected','25068dKaywv','MCP\x20Disconnected','Click\x20to\x20connect\x20MCP','1582NFfXwb','MCP\x20Configuration','MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Save\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','642792ZkJDna','What\x20is\x20API\x20Key?','Configuration\x20saved\x20successfully','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','3469491maENmm','MCP\x20Client\x20Configuration','6822wzGeZL','Max\x20Retries','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Disconnected'];_0x4e8e=function(){return _0xb3dd73;};return _0x4e8e();}module[_0x35c41c(0x207)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x2c71c1=_0x1df8;(function(_0x44075c,_0x3ab39f){const _0x48ea4e=_0x1df8,_0x4f9cdb=_0x44075c();while(!![]){try{const _0x309f40=-parseInt(_0x48ea4e(0x12f))/0x1+parseInt(_0x48ea4e(0x12a))/0x2+parseInt(_0x48ea4e(0x128))/0x3+-parseInt(_0x48ea4e(0x137))/0x4+-parseInt(_0x48ea4e(0x13a))/0x5*(parseInt(_0x48ea4e(0x11b))/0x6)+-parseInt(_0x48ea4e(0x122))/0x7+parseInt(_0x48ea4e(0x126))/0x8*(parseInt(_0x48ea4e(0x12e))/0x9);if(_0x309f40===_0x3ab39f)break;else _0x4f9cdb['push'](_0x4f9cdb['shift']());}catch(_0x483c79){_0x4f9cdb['push'](_0x4f9cdb['shift']());}}}(_0x594c,0xcbdda));function _0x1df8(_0x4b3493,_0x401af8){_0x4b3493=_0x4b3493-0x113;const _0x594c5b=_0x594c();let _0x1df831=_0x594c5b[_0x4b3493];return _0x1df831;}const e={'mcpStatus':{'disconnected':_0x2c71c1(0x12d),'connecting':_0x2c71c1(0x134),'connected':'MCP\x20Connected','failed':_0x2c71c1(0x127),'retrying':'MCP\x20Retrying...','unknown':_0x2c71c1(0x120),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2c71c1(0x139),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2c71c1(0x115),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2c71c1(0x132),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2c71c1(0x114),'apiKeyPlaceholder':_0x2c71c1(0x12c),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2c71c1(0x11e),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x2c71c1(0x116),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2c71c1(0x129),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x2c71c1(0x119),'authorizationDescription':_0x2c71c1(0x131),'configParameters':_0x2c71c1(0x138),'maxRetries':_0x2c71c1(0x11d),'save':_0x2c71c1(0x121),'saving':_0x2c71c1(0x125),'note1':_0x2c71c1(0x136),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x2c71c1(0x12b),'apiApplyInfo':{'title':_0x2c71c1(0x130),'description':_0x2c71c1(0x133),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2c71c1(0x123)},'validation':{'apiKeyRequired':_0x2c71c1(0x135),'apiKeyTooShort':_0x2c71c1(0x11c),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2c71c1(0x11a)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x2c71c1(0x118),'failed':_0x2c71c1(0x117),'retrying':_0x2c71c1(0x13b)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x2c71c1(0x11f),'networkError':_0x2c71c1(0x124),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x594c(){const _0x3f68f1=['40AifYRa','MCP\x20Connection\x20Failed','4153848BaQzoN','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','173806KkFkvh','Failed\x20to\x20save\x20configuration','Enter\x20your\x20API\x20key','MCP\x20Disconnected','6333561fUgFOa','1012084KUTgjM','What\x20is\x20API\x20Key?','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','API\x20key\x20is\x20required','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','5320460yvLMBa','Configuration\x20Parameters:','MCP:\x20Session\x20ID\x20Occupied','305GRWScW','Retrying...','exports','API\x20Key','Click\x20to\x20connect\x20MCP','MCP\x20Client\x20Configuration','Connection\x20Failed','Connected','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','35238cYwdMP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Max\x20Retries','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Save\x20Configuration','10182746Xjptrk','Get\x20your\x20API\x20key\x20in\x20seconds','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Saving...'];_0x594c=function(){return _0x3f68f1;};return _0x594c();}module[_0x2c71c1(0x113)]=n;
1
+ 'use strict';function _0x1995(_0x2181d5,_0x18c833){_0x2181d5=_0x2181d5-0xc5;const _0x57bdc9=_0x57bd();let _0x199525=_0x57bdc9[_0x2181d5];return _0x199525;}const _0x210de1=_0x1995;(function(_0x51e3c8,_0x1b91cc){const _0x2b4b95=_0x1995,_0x2de610=_0x51e3c8();while(!![]){try{const _0x6cb3df=parseInt(_0x2b4b95(0xd9))/0x1*(-parseInt(_0x2b4b95(0xea))/0x2)+parseInt(_0x2b4b95(0xd4))/0x3*(parseInt(_0x2b4b95(0xcd))/0x4)+parseInt(_0x2b4b95(0xe9))/0x5+-parseInt(_0x2b4b95(0xe1))/0x6*(-parseInt(_0x2b4b95(0xeb))/0x7)+parseInt(_0x2b4b95(0xe2))/0x8+-parseInt(_0x2b4b95(0xf2))/0x9+-parseInt(_0x2b4b95(0xc9))/0xa*(parseInt(_0x2b4b95(0xd0))/0xb);if(_0x6cb3df===_0x1b91cc)break;else _0x2de610['push'](_0x2de610['shift']());}catch(_0x132f00){_0x2de610['push'](_0x2de610['shift']());}}}(_0x57bd,0xc8848));function _0x57bd(){const _0x253d55=['Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','8130240mziXVc','8211056nIuqIY','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','MCP\x20Configuration','7560920TgNOHS','2VXOthI','7VKgcgb','Disconnected','Connected','Click\x20to\x20configure\x20MCP','Save\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','14656779RtBsKk','Failed\x20to\x20save\x20configuration','API\x20Key','Session\x20ID','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','Click\x20to\x20connect\x20MCP','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enter\x20your\x20API\x20key','exports','38900fFKUAo','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','2032CScfGW','Retrying...','MCP\x20Connected','6809kDcCXg','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','6501OxiGNh','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Parameters:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20is\x20required','136681fYeSEC','Connection\x20Failed','Max\x20Retries','MCP:\x20Network\x20Error','MCP\x20Connecting...','MCP\x20Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below'];_0x57bd=function(){return _0x253d55;};return _0x57bd();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x210de1(0xdd),'connected':_0x210de1(0xcf),'failed':_0x210de1(0xde),'retrying':'MCP\x20Retrying...','unknown':_0x210de1(0xf6),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x210de1(0xdc),'maxRetriesExceeded':_0x210de1(0xe3),'clickToConnect':_0x210de1(0xf8),'clickToConfigure':_0x210de1(0xee)},'mcpConfig':{'title':_0x210de1(0xe8),'description':_0x210de1(0xca),'apiKey':_0x210de1(0xf4),'apiKeyPlaceholder':_0x210de1(0xc7),'apiKeyHint':_0x210de1(0xf0),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x210de1(0xd1),'connectionInfo':_0x210de1(0xc5),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x210de1(0xcb),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x210de1(0xdf),'configStep2':_0x210de1(0xd7),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x210de1(0xf5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x210de1(0xcc),'configParameters':_0x210de1(0xd6),'maxRetries':_0x210de1(0xdb),'save':_0x210de1(0xef),'saving':_0x210de1(0xe5),'note1':_0x210de1(0xe6),'note2':_0x210de1(0xc6),'configSaved':_0x210de1(0xe7),'configError':_0x210de1(0xf3),'apiApplyInfo':{'title':_0x210de1(0xf7),'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':_0x210de1(0xd3)},'validation':{'apiKeyRequired':_0x210de1(0xd8),'apiKeyTooShort':_0x210de1(0xd2),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x210de1(0xe4)},'connectionStatus':{'disconnected':_0x210de1(0xec),'connecting':'Connecting...','connected':_0x210de1(0xed),'failed':_0x210de1(0xda),'retrying':_0x210de1(0xce)},'connectionError':{'unauthorized':_0x210de1(0xd5),'sessionOccupied':_0x210de1(0xe0),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x210de1(0xf1)}}},n=e;module[_0x210de1(0xc8)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x5c0906=_0x45cd;function _0x45cd(_0x38c5be,_0x5f265a){_0x38c5be=_0x38c5be-0x1c4;const _0x4f765d=_0x4f76();let _0x45cd96=_0x4f765d[_0x38c5be];return _0x45cd96;}(function(_0x256936,_0x91d19b){const _0x3f1250=_0x45cd,_0x4c03b5=_0x256936();while(!![]){try{const _0x22bbd1=-parseInt(_0x3f1250(0x1f3))/0x1*(-parseInt(_0x3f1250(0x1d8))/0x2)+parseInt(_0x3f1250(0x1d1))/0x3*(-parseInt(_0x3f1250(0x1c5))/0x4)+-parseInt(_0x3f1250(0x1d7))/0x5*(parseInt(_0x3f1250(0x1c9))/0x6)+parseInt(_0x3f1250(0x1cf))/0x7+-parseInt(_0x3f1250(0x1de))/0x8*(-parseInt(_0x3f1250(0x1eb))/0x9)+-parseInt(_0x3f1250(0x1e5))/0xa*(-parseInt(_0x3f1250(0x1e2))/0xb)+parseInt(_0x3f1250(0x1f1))/0xc;if(_0x22bbd1===_0x91d19b)break;else _0x4c03b5['push'](_0x4c03b5['shift']());}catch(_0x181e83){_0x4c03b5['push'](_0x4c03b5['shift']());}}}(_0x4f76,0xbb3a0));function _0x4f76(){const _0x1019ec=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connected','MCP\x20Connecting...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','699948wNJtDv','Enable\x20Authentication','229OLtlpe','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','12mvQzkm','Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Disconnected','8916450eCFbQz','MCP\x20Unknown\x20Status','exports','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','6379884pRLDEu','Session\x20ID','1301841zxvgKm','Configuration\x20saved\x20successfully','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','MCP\x20Retrying...','5mjEfVO','7262ffhmiH','Click\x20to\x20connect\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1053448hhatqC','Save\x20Configuration','Saving...','MCP:\x20Unauthorized','451pioGey','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','267110jnVwUY','MCP:\x20Network\x20Error','MCP\x20Configuration','Invalid\x20configuration','Retrying...','Click\x20to\x20configure\x20MCP','45MYWjAX'];_0x4f76=function(){return _0x1019ec;};return _0x4f76();}const e={'mcpStatus':{'disconnected':_0x5c0906(0x1c8),'connecting':_0x5c0906(0x1ee),'connected':_0x5c0906(0x1cc),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5c0906(0x1d6),'unknown':_0x5c0906(0x1ca),'unauthorized':_0x5c0906(0x1e1),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5c0906(0x1e6),'maxRetriesExceeded':_0x5c0906(0x1d4),'clickToConnect':_0x5c0906(0x1d9),'clickToConfigure':_0x5c0906(0x1ea)},'mcpConfig':{'title':_0x5c0906(0x1e7),'description':_0x5c0906(0x1dc),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5c0906(0x1d3),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x5c0906(0x1f2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5c0906(0x1db),'mcpClientConfig':_0x5c0906(0x1db),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x5c0906(0x1cd),'configStep2':_0x5c0906(0x1f5),'configStep3':_0x5c0906(0x1c7),'sessionId':_0x5c0906(0x1d0),'sessionIdDescription':_0x5c0906(0x1ef),'authorizationDescription':_0x5c0906(0x1da),'configParameters':_0x5c0906(0x1e4),'maxRetries':'Max\x20Retries','save':_0x5c0906(0x1df),'saving':_0x5c0906(0x1e0),'note1':_0x5c0906(0x1f4),'note2':_0x5c0906(0x1c4),'configSaved':_0x5c0906(0x1d2),'configError':_0x5c0906(0x1d5),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5c0906(0x1dd),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5c0906(0x1e3),'invalidConfig':_0x5c0906(0x1e8),'invalidApiKey':_0x5c0906(0x1ec)},'connectionStatus':{'disconnected':_0x5c0906(0x1c6),'connecting':'Connecting...','connected':_0x5c0906(0x1ed),'failed':'Connection\x20Failed','retrying':_0x5c0906(0x1e9)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5c0906(0x1f0),'maxRetriesExceeded':_0x5c0906(0x1ce)}}},n=e;module[_0x5c0906(0x1cb)]=n;
1
+ 'use strict';function _0x12bf(){const _0x56277a=['Configuration\x20Parameters:','Configuration\x20saved\x20successfully','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','25358960BqCWHT','Enter\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','Retrying...','Univer\x20AI\x20Console','5063508KtlntA','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connection\x20Failed','MCP\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connection\x20Failed','2424558yaAeuQ','Connecting...','Save\x20Configuration','Configuration\x20Steps:','API\x20key\x20is\x20required','251278ytZwrA','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','Connected','MCP\x20Unknown\x20Status','MCP\x20Retrying...','Invalid\x20configuration','API\x20Key','MCP\x20Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','7000056KhUvfe','3950184qDYkCD','MCP\x20Connected','Enable\x20Authentication','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','What\x20is\x20API\x20Key?','Session\x20ID','MCP\x20Client\x20Configuration','33414KprLUc','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','335KAYMlV','Get\x20your\x20API\x20key\x20in\x20seconds'];_0x12bf=function(){return _0x56277a;};return _0x12bf();}const _0x5a428e=_0xcf33;(function(_0x1a9870,_0x543c22){const _0x4895ff=_0xcf33,_0x265328=_0x1a9870();while(!![]){try{const _0x5c887a=-parseInt(_0x4895ff(0xa4))/0x1+parseInt(_0x4895ff(0x9f))/0x2+-parseInt(_0x4895ff(0x95))/0x3+-parseInt(_0x4895ff(0x7f))/0x4+parseInt(_0x4895ff(0x89))/0x5*(-parseInt(_0x4895ff(0x87))/0x6)+parseInt(_0x4895ff(0x80))/0x7+parseInt(_0x4895ff(0x90))/0x8;if(_0x5c887a===_0x543c22)break;else _0x265328['push'](_0x265328['shift']());}catch(_0x433be2){_0x265328['push'](_0x265328['shift']());}}}(_0x12bf,0xd7df2));function _0xcf33(_0x31f8cc,_0x30a9c5){_0x31f8cc=_0x31f8cc-0x79;const _0x12bfca=_0x12bf();let _0xcf3385=_0x12bfca[_0x31f8cc];return _0xcf3385;}const e={'mcpStatus':{'disconnected':_0x5a428e(0x7d),'connecting':_0x5a428e(0x96),'connected':_0x5a428e(0x81),'failed':_0x5a428e(0x9e),'retrying':_0x5a428e(0x7a),'unknown':_0x5a428e(0x79),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5a428e(0x9d),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5a428e(0x8f),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5a428e(0x9b),'description':_0x5a428e(0x7e),'apiKey':_0x5a428e(0x7c),'apiKeyPlaceholder':_0x5a428e(0x91),'apiKeyHint':_0x5a428e(0x8e),'enableAuth':_0x5a428e(0x82),'enableAuthHint':_0x5a428e(0xa8),'connectionInfo':_0x5a428e(0x86),'mcpClientConfig':_0x5a428e(0x86),'configInstructions':_0x5a428e(0x88),'configStepTitle':_0x5a428e(0xa2),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5a428e(0xa6),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x5a428e(0x85),'sessionIdDescription':_0x5a428e(0x8d),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5a428e(0x8b),'maxRetries':'Max\x20Retries','save':_0x5a428e(0xa1),'saving':'Saving...','note1':_0x5a428e(0x99),'note2':_0x5a428e(0xa5),'configSaved':_0x5a428e(0x8c),'configError':_0x5a428e(0x92),'apiApplyInfo':{'title':_0x5a428e(0x84),'description':_0x5a428e(0x9c),'univerAiLabel':_0x5a428e(0x94),'getStarted':_0x5a428e(0x8a)},'validation':{'apiKeyRequired':_0x5a428e(0xa3),'apiKeyTooShort':_0x5a428e(0x83),'invalidConfig':_0x5a428e(0x7b),'invalidApiKey':_0x5a428e(0x97)},'connectionStatus':{'disconnected':_0x5a428e(0x98),'connecting':_0x5a428e(0xa0),'connected':_0x5a428e(0xa9),'failed':_0x5a428e(0x9a),'retrying':_0x5a428e(0x93)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5a428e(0xa7),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x3abb10=_0x5725;(function(_0x4515b1,_0x3b7993){const _0x4a7aa8=_0x5725,_0x5c39f9=_0x4515b1();while(!![]){try{const _0x41d4eb=parseInt(_0x4a7aa8(0x12a))/0x1+-parseInt(_0x4a7aa8(0x109))/0x2*(parseInt(_0x4a7aa8(0x123))/0x3)+parseInt(_0x4a7aa8(0x11f))/0x4*(parseInt(_0x4a7aa8(0x130))/0x5)+-parseInt(_0x4a7aa8(0x104))/0x6*(-parseInt(_0x4a7aa8(0x113))/0x7)+-parseInt(_0x4a7aa8(0x12d))/0x8*(-parseInt(_0x4a7aa8(0x119))/0x9)+-parseInt(_0x4a7aa8(0x11a))/0xa*(parseInt(_0x4a7aa8(0xfc))/0xb)+-parseInt(_0x4a7aa8(0xfa))/0xc*(parseInt(_0x4a7aa8(0x103))/0xd);if(_0x41d4eb===_0x3b7993)break;else _0x5c39f9['push'](_0x5c39f9['shift']());}catch(_0x5be382){_0x5c39f9['push'](_0x5c39f9['shift']());}}}(_0x36c8,0x3bbf7));function _0x36c8(){const _0x527b3d=['APIキーはローカルストレージに安全に保存されます','APIキーを入力してください','設定の変更は直ちに有効になります','以下のJSON設定をコピー','922206bEBdrv','MCP\x20不明な状態','ネットワーク接続エラー。インターネット接続を確認してください','再試行中...','設定パラメータ:','Univer\x20AIコンソール','未接続','クリックしてMCPを設定','設定を保存','MCPクライアント設定','521227YCkniu','MCP:\x20セッションIDが使用中','MCP\x20接続中...','セッションIDが現在使用中です。後でもう一度お試しください','MCPクライアントの設定に次の設定を追加してください:','MCP設定','4170303kamiGy','130aioGLS','APIキーとは?','クリックしてMCPに接続','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','最大再試行回数','1817644NPjXAF','接続済み','認証に失敗しました。APIキーを確認してください','設定が正常に保存されました','3cFwaUo','MCP\x20接続失敗','MCP\x20接続済み','APIキーは必須です','無効な設定','MCPクライアントの設定ファイルに設定を追加','接続中...','435dMLCAA','exports','MCP:\x20最大再試行回数を超過','8qiTMhn','設定の保存に失敗しました','無効なAPIキーです。キーが正しいか確認してください','5yapDAZ','セキュアな接続のために認証を有効にする','APIキー','MCP:\x20ネットワークエラー','MCP:\x20認証されていません','MCPを設定してAIでスプレッドシートを操作','Bearerプレフィックス付きのAPIキー。','156RKiWkX','設定手順:','173459TfOhjM','認証を有効にする','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','セッションID','MCPクライアントを再起動して設定を適用','MCP\x20未接続','APIキーはこのブラウザのローカルに保存されます','379691xMMryC','30qWPvZb'];_0x36c8=function(){return _0x527b3d;};return _0x36c8();}function _0x5725(_0x473b5d,_0x1a7eb3){_0x473b5d=_0x473b5d-0xf7;const _0x36c8a6=_0x36c8();let _0x5725ba=_0x36c8a6[_0x473b5d];return _0x5725ba;}const e={'mcpStatus':{'disconnected':_0x3abb10(0x101),'connecting':_0x3abb10(0x115),'connected':_0x3abb10(0x125),'failed':_0x3abb10(0x124),'retrying':'MCP\x20再試行中...','unknown':_0x3abb10(0x10a),'unauthorized':_0x3abb10(0xf7),'sessionOccupied':_0x3abb10(0x114),'networkError':_0x3abb10(0x133),'maxRetriesExceeded':_0x3abb10(0x12c),'clickToConnect':_0x3abb10(0x11c),'clickToConfigure':_0x3abb10(0x110)},'mcpConfig':{'title':_0x3abb10(0x118),'description':_0x3abb10(0xf8),'apiKey':_0x3abb10(0x132),'apiKeyPlaceholder':_0x3abb10(0x106),'apiKeyHint':_0x3abb10(0x102),'enableAuth':_0x3abb10(0xfd),'enableAuthHint':_0x3abb10(0x131),'connectionInfo':_0x3abb10(0x112),'mcpClientConfig':'MCPクライアント設定','configInstructions':_0x3abb10(0x117),'configStepTitle':_0x3abb10(0xfb),'configStep1':_0x3abb10(0x108),'configStep2':_0x3abb10(0x128),'configStep3':_0x3abb10(0x100),'sessionId':_0x3abb10(0xff),'sessionIdDescription':_0x3abb10(0xfe),'authorizationDescription':_0x3abb10(0xf9),'configParameters':_0x3abb10(0x10d),'maxRetries':_0x3abb10(0x11e),'save':_0x3abb10(0x111),'saving':'保存中...','note1':_0x3abb10(0x107),'note2':_0x3abb10(0x105),'configSaved':_0x3abb10(0x122),'configError':_0x3abb10(0x12e),'apiApplyInfo':{'title':_0x3abb10(0x11b),'description':_0x3abb10(0x11d),'univerAiLabel':_0x3abb10(0x10e),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x3abb10(0x126),'apiKeyTooShort':'APIキーは10文字以上である必要があります','invalidConfig':_0x3abb10(0x127),'invalidApiKey':_0x3abb10(0x12f)},'connectionStatus':{'disconnected':_0x3abb10(0x10f),'connecting':_0x3abb10(0x129),'connected':_0x3abb10(0x120),'failed':'接続失敗','retrying':_0x3abb10(0x10c)},'connectionError':{'unauthorized':_0x3abb10(0x121),'sessionOccupied':_0x3abb10(0x116),'networkError':_0x3abb10(0x10b),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module[_0x3abb10(0x12b)]=e;
1
+ 'use strict';const _0x21c377=_0x9d28;function _0x3cf6(){const _0xe6e2f=['最大再試行回数','無効な設定','4HOSRmR','MCP\x20接続済み','1242246iJEuBe','APIキーはローカルストレージに安全に保存されます','無効なAPIキーです。キーが正しいか確認してください','MCP:\x20最大再試行回数を超過','2976940oeHPAe','再試行中...','設定が正常に保存されました','451533NJkYDG','APIキー','121qBXOtG','771826aQbfCj','Univer\x20AIコンソール','712aCYgWI','MCPクライアント設定','MCP:\x20セッションIDが使用中','MCP\x20未接続','MCPを設定してAIでスプレッドシートを操作','APIキーは10文字以上である必要があります','接続中...','以下のJSON設定をコピー','MCP:\x20認証されていません','設定の変更は直ちに有効になります','設定の保存に失敗しました','数秒でAPIキーを取得','認証に失敗しました。APIキーを確認してください','18702wvFksE','MCP設定','APIキーは必須です','設定手順:','7LKGYqO','最大再試行回数を超過しました。後でもう一度お試しください','928iYQmUR','未接続','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','MCP\x20接続中...','セキュアな接続のために認証を有効にする','APIキーとは?','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','セッションIDが現在使用中です。後でもう一度お試しください','MCP\x20再試行中...','Bearerプレフィックス付きのAPIキー。','ネットワーク接続エラー。インターネット接続を確認してください','APIキーはこのブラウザのローカルに保存されます','MCP\x20不明な状態','MCPクライアントを再起動して設定を適用','1257800tzAcKL','クリックしてMCPを設定'];_0x3cf6=function(){return _0xe6e2f;};return _0x3cf6();}function _0x9d28(_0x5c6de1,_0x20f7b6){_0x5c6de1=_0x5c6de1-0xa8;const _0x3cf674=_0x3cf6();let _0x9d2820=_0x3cf674[_0x5c6de1];return _0x9d2820;}(function(_0x386e7f,_0x3e26f4){const _0x29a89f=_0x9d28,_0x136f32=_0x386e7f();while(!![]){try{const _0x364fe8=parseInt(_0x29a89f(0xd9))/0x1*(-parseInt(_0x29a89f(0xa9))/0x2)+parseInt(_0x29a89f(0xd7))/0x3*(parseInt(_0x29a89f(0xce))/0x4)+parseInt(_0x29a89f(0xca))/0x5+parseInt(_0x29a89f(0xd0))/0x6*(-parseInt(_0x29a89f(0xba))/0x7)+-parseInt(_0x29a89f(0xbc))/0x8*(-parseInt(_0x29a89f(0xb6))/0x9)+-parseInt(_0x29a89f(0xd4))/0xa+parseInt(_0x29a89f(0xda))/0xb;if(_0x364fe8===_0x3e26f4)break;else _0x136f32['push'](_0x136f32['shift']());}catch(_0xc3e902){_0x136f32['push'](_0x136f32['shift']());}}}(_0x3cf6,0x28662));const e={'mcpStatus':{'disconnected':_0x21c377(0xac),'connecting':_0x21c377(0xbf),'connected':_0x21c377(0xcf),'failed':'MCP\x20接続失敗','retrying':_0x21c377(0xc4),'unknown':_0x21c377(0xc8),'unauthorized':_0x21c377(0xb1),'sessionOccupied':_0x21c377(0xab),'networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x21c377(0xd3),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':_0x21c377(0xcb)},'mcpConfig':{'title':_0x21c377(0xb7),'description':_0x21c377(0xad),'apiKey':_0x21c377(0xd8),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x21c377(0xc7),'enableAuth':'認証を有効にする','enableAuthHint':_0x21c377(0xc0),'connectionInfo':_0x21c377(0xaa),'mcpClientConfig':'MCPクライアント設定','configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x21c377(0xb9),'configStep1':_0x21c377(0xb0),'configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x21c377(0xc9),'sessionId':'セッションID','sessionIdDescription':_0x21c377(0xbe),'authorizationDescription':_0x21c377(0xc5),'configParameters':'設定パラメータ:','maxRetries':_0x21c377(0xcc),'save':'設定を保存','saving':'保存中...','note1':_0x21c377(0xb2),'note2':_0x21c377(0xd1),'configSaved':_0x21c377(0xd6),'configError':_0x21c377(0xb3),'apiApplyInfo':{'title':_0x21c377(0xc1),'description':_0x21c377(0xc2),'univerAiLabel':_0x21c377(0xa8),'getStarted':_0x21c377(0xb4)},'validation':{'apiKeyRequired':_0x21c377(0xb8),'apiKeyTooShort':_0x21c377(0xae),'invalidConfig':_0x21c377(0xcd),'invalidApiKey':_0x21c377(0xd2)},'connectionStatus':{'disconnected':_0x21c377(0xbd),'connecting':_0x21c377(0xaf),'connected':'接続済み','failed':'接続失敗','retrying':_0x21c377(0xd5)},'connectionError':{'unauthorized':_0x21c377(0xb5),'sessionOccupied':_0x21c377(0xc3),'networkError':_0x21c377(0xc6),'maxRetriesExceeded':_0x21c377(0xbb)}}};module['exports']=e;