@univerjs-pro/mcp-ui 0.15.2-insiders.20260119-edc718c → 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 +6 -6
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x50dde5=_0x5e38;(function(_0x1cb6fd,_0xfa5670){const _0x5c0aa3=_0x5e38,_0x3ee286=_0x1cb6fd();while(!![]){try{const _0x203c4b=-parseInt(_0x5c0aa3(0x2b2))/0x1*(-parseInt(_0x5c0aa3(0x193))/0x2)+parseInt(_0x5c0aa3(0x1e8))/0x3+parseInt(_0x5c0aa3(0x2d4))/0x4+-parseInt(_0x5c0aa3(0x243))/0x5*(parseInt(_0x5c0aa3(0x2c4))/0x6)+parseInt(_0x5c0aa3(0x196))/0x7+-parseInt(_0x5c0aa3(0x1d6))/0x8+-parseInt(_0x5c0aa3(0x1f8))/0x9;if(_0x203c4b===_0xfa5670)break;else _0x3ee286['push'](_0x3ee286['shift']());}catch(_0x528b44){_0x3ee286['push'](_0x3ee286['shift']());}}}(_0x2456,0x46178));var ae=Object[_0x50dde5(0x23d)],le=(_0x59f977,_0x5d90e8,_0x374655)=>_0x5d90e8 in _0x59f977?ae(_0x59f977,_0x5d90e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x374655}):_0x59f977[_0x5d90e8]=_0x374655,I=(_0xc9b1c,_0x3f4d10,_0x3ce379)=>le(_0xc9b1c,typeof _0x3f4d10!=_0x50dde5(0x1fd)?_0x3f4d10+'':_0x3f4d10,_0x3ce379);Object[_0x50dde5(0x23d)](exports,Symbol[_0x50dde5(0x2a3)],{'value':_0x50dde5(0x251)});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:_0x17ed3c,..._0x500982}){const _0x45de65=_0x50dde5,{icon:_0x3ba0a0,id:_0x34978f,className:_0x5e09af,extend:_0x534cf6,..._0x14fa42}=_0x500982,_0x5580b6=(_0x45de65(0x22e)+_0x34978f+'\x20'+(_0x5e09af||''))['trim'](),_0x1a743a=d['useRef']('_'+de());return G(_0x3ba0a0,''+_0x34978f,{'defIds':_0x3ba0a0[_0x45de65(0x179)],'idSuffix':_0x1a743a[_0x45de65(0x29f)]},{'ref':_0x17ed3c,'className':_0x5580b6,..._0x14fa42},_0x534cf6);}function _0x5e38(_0x612e62,_0x32affa){_0x612e62=_0x612e62-0x167;const _0x24561b=_0x2456();let _0x5e3843=_0x24561b[_0x612e62];return _0x5e3843;}function G(_0x3f8830,_0x37f2b6,_0x11e82e,_0x1ab7ff,_0x165eaa){const _0x1b4f46=_0x50dde5;return d[_0x1b4f46(0x1fa)](_0x3f8830[_0x1b4f46(0x2c8)],{'key':_0x37f2b6,...ue(_0x3f8830,_0x11e82e,_0x165eaa),..._0x1ab7ff},(ve(_0x3f8830,_0x11e82e)[_0x1b4f46(0x170)]||[])[_0x1b4f46(0x27a)]((_0x22ce46,_0x4c5473)=>G(_0x22ce46,_0x37f2b6+'-'+_0x3f8830['tag']+'-'+_0x4c5473,_0x11e82e,void 0x0,_0x165eaa)));}function ue(_0x458ff0,_0x2a2a8c,_0x2c140b){const _0x59e648=_0x50dde5,_0x3532d7={..._0x458ff0['attrs']};_0x2c140b!=null&&_0x2c140b['colorChannel1']&&_0x3532d7[_0x59e648(0x25e)]==='colorChannel1'&&(_0x3532d7['fill']=_0x2c140b[_0x59e648(0x22f)]),_0x458ff0[_0x59e648(0x2c8)]===_0x59e648(0x2c3)&&_0x3532d7['id']&&(_0x3532d7['id']=_0x3532d7['id']+_0x2a2a8c[_0x59e648(0x218)]),Object['entries'](_0x3532d7)[_0x59e648(0x2eb)](([_0x2f3b60,_0x5d70ef])=>{const _0x298cd9=_0x59e648;_0x2f3b60===_0x298cd9(0x2c3)&&typeof _0x5d70ef=='string'&&(_0x3532d7[_0x2f3b60]=_0x5d70ef[_0x298cd9(0x275)](/url\(#(.*)\)/,'url(#$1'+_0x2a2a8c[_0x298cd9(0x218)]+')'));});const {defIds:_0x53978c}=_0x2a2a8c;return!_0x53978c||_0x53978c[_0x59e648(0x23f)]===0x0||(_0x458ff0['tag']==='use'&&_0x3532d7['xlink:href']&&(_0x3532d7[_0x59e648(0x24c)]=_0x3532d7[_0x59e648(0x24c)]+_0x2a2a8c[_0x59e648(0x218)]),Object[_0x59e648(0x1ca)](_0x3532d7)[_0x59e648(0x2eb)](([_0x2575dd,_0xd05863])=>{const _0x177e5e=_0x59e648;typeof _0xd05863==_0x177e5e(0x199)&&(_0x3532d7[_0x2575dd]=_0xd05863[_0x177e5e(0x275)](/url\(#(.*)\)/,_0x177e5e(0x240)+_0x2a2a8c[_0x177e5e(0x218)]+')'));})),_0x3532d7;}function ve(_0x56f039,_0x4f1ec1){const _0x5aadce=_0x50dde5;var _0x42ba64;const {defIds:_0x25f24d}=_0x4f1ec1;return!_0x25f24d||_0x25f24d[_0x5aadce(0x23f)]===0x0?_0x56f039:_0x56f039['tag']===_0x5aadce(0x202)&&((_0x42ba64=_0x56f039[_0x5aadce(0x170)])!=null&&_0x42ba64[_0x5aadce(0x23f)])?{..._0x56f039,'children':_0x56f039[_0x5aadce(0x170)]['map'](_0xd388b1=>typeof _0xd388b1[_0x5aadce(0x1dc)]['id']==_0x5aadce(0x199)&&_0x25f24d&&_0x25f24d[_0x5aadce(0x2e1)](_0xd388b1[_0x5aadce(0x1dc)]['id'])?{..._0xd388b1,'attrs':{..._0xd388b1[_0x5aadce(0x1dc)],'id':_0xd388b1[_0x5aadce(0x1dc)]['id']+_0x4f1ec1['idSuffix']}}:_0xd388b1)}:_0x56f039;}function de(){const _0x511147=_0x50dde5;return Math[_0x511147(0x290)]()[_0x511147(0x198)](0x24)[_0x511147(0x176)](0x2,0x8);}_[_0x50dde5(0x1d3)]='UniverIcon';const Ce={'tag':'svg','attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':'0\x200\x2016\x2016','width':_0x50dde5(0x1df),'height':'1em'},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x23a),'fillRule':_0x50dde5(0x1e4),'clipRule':_0x50dde5(0x1e4)}}]},H=d[_0x50dde5(0x270)](function(_0x43987a,_0x2866b5){const _0x2570f6=_0x50dde5;return d[_0x2570f6(0x1fa)](_,Object[_0x2570f6(0x1ac)]({},_0x43987a,{'id':_0x2570f6(0x263),'ref':_0x2866b5,'icon':Ce}));});H[_0x50dde5(0x1d3)]=_0x50dde5(0x2a7);const ge={'tag':_0x50dde5(0x249),'attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':_0x50dde5(0x1db),'width':_0x50dde5(0x1df),'height':_0x50dde5(0x1df)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x1eb)}}]},B=d[_0x50dde5(0x270)](function(_0x20e519,_0x332bd2){const _0x4e0e87=_0x50dde5;return d['createElement'](_,Object[_0x4e0e87(0x1ac)]({},_0x20e519,{'id':_0x4e0e87(0x186),'ref':_0x332bd2,'icon':ge}));});B[_0x50dde5(0x1d3)]=_0x50dde5(0x2a9);const fe={'tag':_0x50dde5(0x249),'attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':_0x50dde5(0x1db),'width':'1em','height':'1em'},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x200)}},{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x2aa)}},{'tag':'path','attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x1ae),'fillRule':_0x50dde5(0x1e4),'clipRule':'evenodd'}}]},F=d['forwardRef'](function(_0x4dd5e4,_0x31da9b){const _0x173c55=_0x50dde5;return d[_0x173c55(0x1fa)](_,Object[_0x173c55(0x1ac)]({},_0x4dd5e4,{'id':_0x173c55(0x2b8),'ref':_0x31da9b,'icon':fe}));});F[_0x50dde5(0x1d3)]='HelpIcon';const pe={'tag':'svg','attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':_0x50dde5(0x1db),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x50dde5(0x254)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'stroke':_0x50dde5(0x23e),'d':_0x50dde5(0x22c),'strokeLinecap':_0x50dde5(0x24f),'strokeLinejoin':_0x50dde5(0x24f),'strokeWidth':1.2}}]},{'tag':_0x50dde5(0x202),'attrs':{},'children':[{'tag':_0x50dde5(0x244),'attrs':{'id':_0x50dde5(0x230)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x296),'d':_0x50dde5(0x1c8)}}]}]}],'defIds':[_0x50dde5(0x230)]},Y=d[_0x50dde5(0x270)](function(_0x5416b4,_0x49fa32){const _0xc5a3c4=_0x50dde5;return d[_0xc5a3c4(0x1fa)](_,Object[_0xc5a3c4(0x1ac)]({},_0x5416b4,{'id':_0xc5a3c4(0x1ab),'ref':_0x49fa32,'icon':pe}));});Y[_0x50dde5(0x1d3)]=_0x50dde5(0x1c6);const he={'tag':_0x50dde5(0x249),'attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':_0x50dde5(0x287),'width':'1em','height':_0x50dde5(0x1df)},'children':[{'tag':'g','attrs':{'clipPath':_0x50dde5(0x2dd)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'stroke':_0x50dde5(0x23e),'d':'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','strokeLinecap':_0x50dde5(0x24f),'strokeLinejoin':_0x50dde5(0x24f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x50dde5(0x244),'attrs':{'id':_0x50dde5(0x291)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x296),'d':'M0\x200H16V16H0z','transform':_0x50dde5(0x1f7)}}]}]}],'defIds':[_0x50dde5(0x291)]},q=d[_0x50dde5(0x270)](function(_0xa970e8,_0x5f1c18){const _0x24a612=_0x50dde5;return d['createElement'](_,Object[_0x24a612(0x1ac)]({},_0xa970e8,{'id':_0x24a612(0x2ad),'ref':_0x5f1c18,'icon':he}));});q[_0x50dde5(0x1d3)]=_0x50dde5(0x1d2);function V(_0xb5ba23){const _0x2bb0b5=_0x50dde5;var _0x4b0990,_0x1e776f;const {mcpCoreConfig:_0x309b17,onSave:_0x2fdbc,loading:_0x3ef54d=!0x1,config:_0x5314d3,connectionStatus$:_0x4671b0,connectionError$:_0x3b3ae2,currentApiKey$:_0x3220ea,currentSessionId$:_0x2e23cc}=_0xb5ba23,_0x5c7b0e=v['useDependency'](u[_0x2bb0b5(0x2a2)]),_0x5311fb=v[_0x2bb0b5(0x2b7)](_0x4671b0,s['MCPConnectionStatus'][_0x2bb0b5(0x229)]),_0x42b61f=v['useObservable'](_0x3b3ae2,s[_0x2bb0b5(0x1bd)][_0x2bb0b5(0x269)]),_0x55a17c=v[_0x2bb0b5(0x2b7)](_0x2e23cc,''),_0x463f8b=v[_0x2bb0b5(0x2b7)](_0x3220ea,''),[_0x3c0790,_0xc6b301]=d[_0x2bb0b5(0x27f)](_0x463f8b||''),_0x51a700=!0x0,_0x21323b=_0x5314d3[_0x2bb0b5(0x1ec)]&&_0x309b17[_0x2bb0b5(0x2ce)]&&(_0x309b17[_0x2bb0b5(0x2ce)][_0x2bb0b5(0x2e1)]('univer.plus')||_0x309b17['mcpServerUrl']['includes'](_0x2bb0b5(0x2d5))),_0x4e2d82=(_0x4b0990=_0x309b17[_0x2bb0b5(0x2ce)])==null?void 0x0:_0x4b0990[_0x2bb0b5(0x2e1)](_0x2bb0b5(0x21c)),_0x43ed08=(_0x1e776f=_0x309b17[_0x2bb0b5(0x2ce)])==null?void 0x0:_0x1e776f[_0x2bb0b5(0x2e1)](_0x2bb0b5(0x2d5)),_0x1e0b08=_0x4e2d82?'https://console.univer.plus':_0x2bb0b5(0x261),_0x577885=_0x5314d3[_0x2bb0b5(0x1ec)]&&(_0x4e2d82||_0x43ed08),[_0x289eb5,_0x53bf1f]=d[_0x2bb0b5(0x27f)](!_0x3c0790[_0x2bb0b5(0x262)]()),_0x331994=(_0x133d95,_0x23a806)=>{const _0x2c1f24=_0x2bb0b5;if(_0x23a806===s['MCPConnectionError'][_0x2c1f24(0x19d)])return _0x2c1f24(0x1a9);switch(_0x133d95){case s[_0x2c1f24(0x2d8)][_0x2c1f24(0x26d)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s['MCPConnectionStatus'][_0x2c1f24(0x2d6)]:case s[_0x2c1f24(0x2d8)][_0x2c1f24(0x27d)]:return _0x2c1f24(0x1e0);case s[_0x2c1f24(0x2d8)][_0x2c1f24(0x278)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x2c1f24(0x1dd);}},_0x2b431f=(_0x4c852d,_0x18a99d)=>{const _0x2109e7=_0x2bb0b5;if(_0x18a99d===s['MCPConnectionError'][_0x2109e7(0x19d)])return _0x2109e7(0x1d5);switch(_0x4c852d){case s[_0x2109e7(0x2d8)]['CONNECTED']:return _0x2109e7(0x1b3);case s[_0x2109e7(0x2d8)][_0x2109e7(0x2d6)]:case s[_0x2109e7(0x2d8)][_0x2109e7(0x27d)]:return _0x2109e7(0x28b);case s[_0x2109e7(0x2d8)][_0x2109e7(0x278)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x55aacd=_0x7e678f=>{const _0x2578bd=_0x2bb0b5;switch(_0x7e678f){case s['MCPConnectionStatus'][_0x2578bd(0x26d)]:return _0x5c7b0e['t']('mcpConfig.connectionStatus.connected');case s['MCPConnectionStatus'][_0x2578bd(0x2d6)]:return _0x5c7b0e['t'](_0x2578bd(0x1bb));case s[_0x2578bd(0x2d8)][_0x2578bd(0x278)]:return _0x5c7b0e['t'](_0x2578bd(0x276));case s['MCPConnectionStatus']['RETRYING']:return _0x5c7b0e['t'](_0x2578bd(0x2bd));default:return _0x5c7b0e['t'](_0x2578bd(0x2e8));}},_0x46b466=_0x5a81d8=>{const _0x28ad5c=_0x2bb0b5;switch(_0x5a81d8){case s[_0x28ad5c(0x1bd)][_0x28ad5c(0x19d)]:return _0x5c7b0e['t'](_0x28ad5c(0x1d1));case s['MCPConnectionError'][_0x28ad5c(0x279)]:return _0x5c7b0e['t'](_0x28ad5c(0x178));case s['MCPConnectionError']['NETWORK_ERROR']:return _0x5c7b0e['t'](_0x28ad5c(0x1e9));case s['MCPConnectionError'][_0x28ad5c(0x28c)]:return _0x5c7b0e['t'](_0x28ad5c(0x225));default:return'';}},_0x34593d=d[_0x2bb0b5(0x2a1)](()=>{const _0x53867f=_0x2bb0b5,_0x5adb85={..._0x309b17,'apiKey':_0x3c0790[_0x53867f(0x262)](),'enableAuth':_0x51a700};_0x2fdbc(_0x5adb85);},[_0x309b17,_0x3c0790,_0x51a700,_0x2fdbc]),_0x10a1d8=_0x3c0790[_0x2bb0b5(0x262)]()[_0x2bb0b5(0x23f)]>0x0;return i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x19f),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x286),'children':i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1b6),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':_0x2bb0b5(0x215),'children':i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x232),'children':'⚙'})}),i[_0x2bb0b5(0x1fe)]('div',{'children':i[_0x2bb0b5(0x1fe)]('p',{'className':_0x2bb0b5(0x21e),'children':_0x5c7b0e['t']('mcpConfig.description')})})]})}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2e0),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':f['clsx'](_0x2bb0b5(0x1be),_0x331994(_0x5311fb,_0x42b61f)),'children':i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x250),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':f[_0x2bb0b5(0x226)](_0x2bb0b5(0x25d),_0x2b431f(_0x5311fb,_0x42b61f))}),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'univer-text-sm\x20univer-font-medium','children':_0x55aacd(_0x5311fb)})]})}),_0x42b61f!==s[_0x2bb0b5(0x1bd)][_0x2bb0b5(0x269)]&&(_0x5311fb===s[_0x2bb0b5(0x2d8)][_0x2bb0b5(0x278)]||_0x42b61f===s[_0x2bb0b5(0x1bd)]['UNAUTHORIZED'])&&i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1d9),'children':i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x1c9),'children':'⚠️'}),i[_0x2bb0b5(0x1fe)]('p',{'className':_0x2bb0b5(0x1e7),'children':_0x46b466(_0x42b61f)})]})})]}),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x23b),'children':i['jsxs']('div',{'className':_0x2bb0b5(0x27c),'children':[i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2c0),'children':[i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x1a5),{'className':_0x2bb0b5(0x2be),'children':[i['jsx'](_0x2bb0b5(0x1e6),{'children':'🔑'}),'\x20',_0x5c7b0e['t'](_0x2bb0b5(0x228)),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x2c6),'children':'*'}),_0x21323b&&i[_0x2bb0b5(0x1fe)]('a',{'className':_0x2bb0b5(0x227),'title':_0x5c7b0e['t'](_0x2bb0b5(0x208)),'role':_0x2bb0b5(0x1c1),'onClick':()=>_0x53bf1f(!0x0),'children':i[_0x2bb0b5(0x1fe)](F,{})})]}),i[_0x2bb0b5(0x1fe)](f['Input'],{'type':'text','placeholder':_0x5c7b0e['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x3c0790,'disabled':_0x3ef54d,'autoComplete':_0x2bb0b5(0x26a),'onChange':_0xc6b301}),i['jsx']('p',{'className':_0x2bb0b5(0x1ee),'children':_0x5c7b0e['t'](_0x2bb0b5(0x19e))})]}),_0x21323b&&_0x289eb5&&i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x2b4),'children':[i[_0x2bb0b5(0x1fe)]('a',{'className':_0x2bb0b5(0x29e),'role':_0x2bb0b5(0x1c1),'onClick':()=>_0x53bf1f(!0x1),'children':i[_0x2bb0b5(0x1fe)](B,{'className':_0x2bb0b5(0x273)})}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1a6),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':_0x2bb0b5(0x1b5),'children':i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'univer-text-blue-600','children':'🚀'})}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1a8),'children':[i[_0x2bb0b5(0x1fe)]('h4',{'className':_0x2bb0b5(0x17e),'children':_0x5c7b0e['t'](_0x2bb0b5(0x208))}),i[_0x2bb0b5(0x1fe)]('p',{'className':_0x2bb0b5(0x1a2),'children':_0x5c7b0e['t']('mcpConfig.apiApplyInfo.description')}),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x29d),'children':_0x577885&&i['jsxs']('a',{'className':_0x2bb0b5(0x2a6),'href':_0x1e0b08,'target':'_blank','rel':_0x2bb0b5(0x18d),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'children':'🤖'}),_0x5c7b0e['t'](_0x2bb0b5(0x21f)),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x238),'children':'↗'})]})}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x295),'children':['✨','\x20',_0x5c7b0e['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x5314d3[_0x2bb0b5(0x1ec)]&&i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1ad),'children':[i[_0x2bb0b5(0x16f)]('h4',{'className':_0x2bb0b5(0x247),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'children':'🔗'}),'\x20',_0x5c7b0e['t'](_0x2bb0b5(0x205))]}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2db),'children':[i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x2c2),'children':[i[_0x2bb0b5(0x1fe)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x5c7b0e['t']('mcpConfig.configInstructions')}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2c0),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2b6),'children':_0x5c7b0e['t'](_0x2bb0b5(0x289))}),i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x253),'children':[i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x250),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x5c7b0e['t'](_0x2bb0b5(0x283))]}),i[_0x2bb0b5(0x16f)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x192),'children':'2'}),_0x5c7b0e['t'](_0x2bb0b5(0x2dc))]}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x250),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'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'}),_0x5c7b0e['t']('mcpConfig.configStep3')]})]})]})]}),i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x2c0),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2bb0b5(0x1aa)}),i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2b5),'children':i[_0x2bb0b5(0x1fe)]('pre',{'className':_0x2bb0b5(0x252),'children':JSON[_0x2bb0b5(0x2e9)]({'mcpServers':{'univer':{'url':_0x2bb0b5(0x255)+(_0x55a17c||_0x2bb0b5(0x292)),'type':_0x2bb0b5(0x216),'headers':{'Authorization':_0x2bb0b5(0x1b2)+(_0x3c0790||_0x2bb0b5(0x217))}}}},null,0x2)})})]}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2c2),'children':[i['jsx']('div',{'className':_0x2bb0b5(0x2b6),'children':_0x5c7b0e['t'](_0x2bb0b5(0x2bc))}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2c0),'children':[i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2b0),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':_0x2bb0b5(0x28f)}),i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x25a),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':_0x2bb0b5(0x22a),'children':_0x2bb0b5(0x299)}),i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1ee),'children':_0x5c7b0e['t'](_0x2bb0b5(0x1d4))})]})]}),i['jsxs']('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x28f)}),i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x25a),'children':[i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x22a),'children':_0x2bb0b5(0x272)}),i['jsx']('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5c7b0e['t'](_0x2bb0b5(0x2df))})]})]})]})]})]})]}),i[_0x2bb0b5(0x1fe)](f['Button'],{'onClick':_0x34593d,'disabled':!_0x10a1d8||_0x3ef54d,'className':_0x2bb0b5(0x1ba),'children':_0x3ef54d?i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x250),'children':[i['jsx'](_0x2bb0b5(0x1e6),{'children':'⟲'}),_0x5c7b0e['t']('mcpConfig.saving')]}):i[_0x2bb0b5(0x16f)]('span',{'className':_0x2bb0b5(0x250),'children':[i['jsx'](H,{}),_0x5c7b0e['t'](_0x2bb0b5(0x191))]})}),i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1f2),'children':i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x28d),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x175),'children':[i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1f0),'children':_0x2bb0b5(0x2a4)}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'children':['•',_0x5c7b0e['t'](_0x2bb0b5(0x24a))]}),i['jsxs']('div',{'children':['•',_0x5c7b0e['t']('mcpConfig.note2')]})]})]})})]})})]});}const P=_0x50dde5(0x2c1),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x50dde5(0x1de)],xe=(_0x1133ba,_0x2010bd,_0x30bce2,_0x5e652d)=>{for(var _0x3859c8=_0x5e652d>0x1?void 0x0:_0x5e652d?me(_0x2010bd,_0x30bce2):_0x2010bd,_0x539ab8=_0x1133ba['length']-0x1,_0x2117ce;_0x539ab8>=0x0;_0x539ab8--)(_0x2117ce=_0x1133ba[_0x539ab8])&&(_0x3859c8=_0x2117ce(_0x3859c8)||_0x3859c8);return _0x3859c8;},g=(_0x1171c4,_0x147f96)=>(_0x121ad2,_0x3790ba)=>_0x147f96(_0x121ad2,_0x3790ba,_0x1171c4);const O=_0x50dde5(0x2da),D='mcp-config-dialog';exports[_0x50dde5(0x293)]=class extends u[_0x50dde5(0x201)]{constructor(_0x540342,_0xb8102f,_0x109c14,_0x5e991c,_0x3bd3f4,_0x4a11e0,_0x402424,_0x409439,_0x4bed1b,_0x4dc5cd){const _0xe6378c=_0x50dde5;super(),I(this,_0xe6378c(0x257),new M[(_0xe6378c(0x1b9))](!0x1)),I(this,'_mcpCoreConfig$',new M[(_0xe6378c(0x1b9))]({})),I(this,'_config$',new M[(_0xe6378c(0x1b9))]({})),I(this,_0xe6378c(0x1cc),new M[(_0xe6378c(0x1b9))]('')),I(this,'_handleConfigSave',async _0x28d047=>{const _0x6c4638=_0xe6378c;var _0x21d302,_0x249b47;this[_0x6c4638(0x257)][_0x6c4638(0x24d)](!0x0);try{const _0x3739aa=await this[_0x6c4638(0x2cd)](_0x28d047);if(!_0x3739aa[_0x6c4638(0x214)]){this[_0x6c4638(0x265)][_0x6c4638(0x1ea)]({'type':f['MessageType'][_0x6c4638(0x2c9)],'content':_0x3739aa[_0x6c4638(0x2d9)]||this['_localeService']['t'](_0x6c4638(0x17d))});return;}_0x28d047[_0x6c4638(0x28a)]?await this[_0x6c4638(0x241)][_0x6c4638(0x19c)](O,_0x28d047[_0x6c4638(0x28a)][_0x6c4638(0x262)]()):await this['_localStorageService']['removeItem'](O),this[_0x6c4638(0x1cc)][_0x6c4638(0x24d)](((_0x21d302=_0x28d047[_0x6c4638(0x28a)])==null?void 0x0:_0x21d302['trim']())||''),this['_mcpConnectionController'][_0x6c4638(0x20c)]({'Authorization':'Bearer\x20'+((_0x249b47=_0x28d047['apiKey'])==null?void 0x0:_0x249b47[_0x6c4638(0x262)]())}),this['_messageService'][_0x6c4638(0x1ea)]({'type':f[_0x6c4638(0x2a8)]['Success'],'content':this[_0x6c4638(0x1d0)]['t'](_0x6c4638(0x2d0))}),setTimeout(()=>{const _0x16ff81=_0x6c4638;this[_0x16ff81(0x204)]['close'](D);},0x320);}catch(_0x37c616){this[_0x6c4638(0x19b)][_0x6c4638(0x2ab)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x37c616),this[_0x6c4638(0x265)]['show']({'type':f[_0x6c4638(0x2a8)][_0x6c4638(0x2c9)],'content':this['_localeService']['t'](_0x6c4638(0x213))});}finally{this['_loading$'][_0x6c4638(0x24d)](!0x1);}}),(this['_injector']=_0x540342,this['_uiPartsService']=_0xb8102f,this[_0xe6378c(0x1da)]=_0x109c14,this[_0xe6378c(0x241)]=_0x5e991c,this[_0xe6378c(0x204)]=_0x3bd3f4,this[_0xe6378c(0x265)]=_0x4a11e0,this[_0xe6378c(0x1fb)]=_0x402424,this[_0xe6378c(0x1d0)]=_0x409439,this[_0xe6378c(0x19b)]=_0x4bed1b,this['_mcpConnectionController']=_0x4dc5cd,this['_initConfigSync'](),this[_0xe6378c(0x1cf)](),this[_0xe6378c(0x285)]());}[_0x50dde5(0x2b3)](){const _0x3f19b1=_0x50dde5,_0x4ff0f7=this[_0x3f19b1(0x1da)]['getConfig'](P);_0x4ff0f7!=null&&_0x4ff0f7[_0x3f19b1(0x1ec)]&&this[_0x3f19b1(0x204)][_0x3f19b1(0x1bc)]({'id':D,'title':{'title':this[_0x3f19b1(0x1d0)]['t']('mcpConfig.title')},'children':{'label':_0x3f19b1(0x29c)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x296de5=_0x3f19b1;this[_0x296de5(0x204)][_0x296de5(0x29b)](D);}});}[_0x50dde5(0x246)](){const _0x1a528a=_0x50dde5;return this['_mcpCoreConfig$'][_0x1a528a(0x27b)];}[_0x50dde5(0x285)](){const _0x6ea45d=_0x50dde5;this[_0x6ea45d(0x26b)](this[_0x6ea45d(0x1fb)][_0x6ea45d(0x1b0)]('MCPConfigPanel',this[_0x6ea45d(0x1a3)]()));}[_0x50dde5(0x1a3)](){const _0x18297e=_0x50dde5;return v[_0x18297e(0x2de)](()=>{const _0x259e3f=_0x18297e;var _0x988e05,_0x3a8a62,_0x558e7f;return i['jsx'](V,{'config':this['_config$'][_0x259e3f(0x27b)],'mcpCoreConfig':this[_0x259e3f(0x271)]['value'],'currentApiKey$':this[_0x259e3f(0x1cc)],'onSave':this[_0x259e3f(0x236)],'loading':this[_0x259e3f(0x257)][_0x259e3f(0x27b)],'connectionStatus$':(_0x988e05=this['_mcpConnectionController'])==null?void 0x0:_0x988e05[_0x259e3f(0x194)],'connectionError$':(_0x3a8a62=this[_0x259e3f(0x298)])==null?void 0x0:_0x3a8a62[_0x259e3f(0x189)],'currentSessionId$':(_0x558e7f=this[_0x259e3f(0x298)])==null?void 0x0:_0x558e7f[_0x259e3f(0x1c5)]});},this[_0x18297e(0x17b)]);}[_0x50dde5(0x2ba)](){const _0x419ac0=_0x50dde5;this[_0x419ac0(0x26b)](this[_0x419ac0(0x1da)][_0x419ac0(0x20a)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x419ac0(0x235)](_0x2172fb=>{const _0x1d9e31=_0x419ac0;this[_0x1d9e31(0x271)][_0x1d9e31(0x24d)](_0x2172fb||{});}));const _0xf1d562=this[_0x419ac0(0x1da)][_0x419ac0(0x182)](s[_0x419ac0(0x168)]);this[_0x419ac0(0x271)]['next'](_0xf1d562||{}),this[_0x419ac0(0x26b)](this[_0x419ac0(0x1da)][_0x419ac0(0x20a)](P)['subscribe'](_0x324378=>{const _0x263bd8=_0x419ac0;this[_0x263bd8(0x180)][_0x263bd8(0x24d)](_0x324378||{});}));const _0x4909f5=this[_0x419ac0(0x1da)][_0x419ac0(0x182)](P);this[_0x419ac0(0x180)][_0x419ac0(0x24d)](_0x4909f5||{});}async[_0x50dde5(0x1cf)](){const _0x511db4=_0x50dde5,_0x319ba3=this['_configService'][_0x511db4(0x182)](P);if(!(_0x319ba3!=null&&_0x319ba3[_0x511db4(0x1ec)]))return;const _0x4a2a2b=await this[_0x511db4(0x241)]['getItem'](O);_0x4a2a2b&&(this[_0x511db4(0x298)]['__setCustomHeaders']({'Authorization':_0x511db4(0x1b2)+_0x4a2a2b}),this[_0x511db4(0x1cc)][_0x511db4(0x24d)](_0x4a2a2b));}async['_validateConfig'](_0x1183bc){const _0xc4171f=_0x50dde5;if(!_0x1183bc['apiKey']||_0x1183bc[_0xc4171f(0x28a)][_0xc4171f(0x262)]()[_0xc4171f(0x23f)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xc4171f(0x1f1))};if(_0x1183bc[_0xc4171f(0x28a)][_0xc4171f(0x262)]()[_0xc4171f(0x23f)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xc4171f(0x1b8))};try{const _0x34eaff=await this[_0xc4171f(0x17b)]['get'](s['MCPConnectionController'])[_0xc4171f(0x23c)](_0x1183bc[_0xc4171f(0x28a)]['trim']());return _0x34eaff['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x34eaff[_0xc4171f(0x2ab)]||this[_0xc4171f(0x1d0)]['t'](_0xc4171f(0x18e))};}catch(_0xbee2db){return console[_0xc4171f(0x181)](_0xc4171f(0x284),_0xbee2db),{'isValid':!0x0};}}},exports[_0x50dde5(0x293)]=xe([g(0x0,u['Inject'](u[_0x50dde5(0x2d2)])),g(0x1,v[_0x50dde5(0x1a1)]),g(0x2,u[_0x50dde5(0x209)]),g(0x3,u[_0x50dde5(0x22b)]),g(0x4,v['IDialogService']),g(0x5,v[_0x50dde5(0x2ea)]),g(0x6,u['Inject'](v['ComponentManager'])),g(0x7,u[_0x50dde5(0x19a)](u['LocaleService'])),g(0x8,u['ILogService']),g(0x9,u[_0x50dde5(0x19a)](s[_0x50dde5(0x20e)]))],exports[_0x50dde5(0x293)]);const b={'id':_0x50dde5(0x17a),'type':u[_0x50dde5(0x16e)][_0x50dde5(0x26f)],'handler':async(_0x3ae7eb,_0x3ecfea)=>(_0x3ae7eb[_0x50dde5(0x1a4)](exports[_0x50dde5(0x293)])['showConfigPanel'](),!0x0)};function Z(_0x1e6fe1,_0x4c3470){const _0x324f1c=_0x50dde5;switch(_0x1e6fe1){case s[_0x324f1c(0x2d8)]['DISCONNECTED']:return'mcpStatus.disconnected';case s[_0x324f1c(0x2d8)][_0x324f1c(0x2d6)]:return _0x324f1c(0x268);case s['MCPConnectionStatus'][_0x324f1c(0x26d)]:return _0x324f1c(0x2b1);case s[_0x324f1c(0x2d8)][_0x324f1c(0x278)]:switch(_0x4c3470){case s[_0x324f1c(0x1bd)][_0x324f1c(0x19d)]:return _0x324f1c(0x203);case s[_0x324f1c(0x1bd)][_0x324f1c(0x279)]:return _0x324f1c(0x1e3);case s[_0x324f1c(0x1bd)][_0x324f1c(0x21b)]:return _0x324f1c(0x1e2);case s[_0x324f1c(0x1bd)][_0x324f1c(0x28c)]:return'mcpStatus.maxRetriesExceeded';default:return _0x324f1c(0x2d7);}case s['MCPConnectionStatus'][_0x324f1c(0x27d)]:return _0x324f1c(0x1f3);default:return _0x324f1c(0x20d);}}function _0x2456(){const _0x4f361e=['Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-text-yellow-500','MenuItemType','_validateConfig','mcpServerUrl','点击配置\x20MCP','mcpConfig.configSaved','univer-mr-2\x20univer-flex\x20univer-text-xl','Injector','mergeMenu','1883916oJBNRI','univer.ai','CONNECTING','mcpStatus.failed','MCPConnectionStatus','errorMessage','mcp.apiKey','univer-space-y-4','mcpConfig.configStep2','url(#on-line-icon_clip0_910_349)','connectInjector','mcpConfig.authorizationDescription','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','includes','add','Get\x20your\x20API\x20key\x20in\x20seconds','将配置添加到您的\x20MCP\x20客户端设置文件中','MCPConnectionUIController','Enter\x20your\x20API\x20key','MCP:\x20Network\x20Error','mcpConfig.connectionStatus.disconnected','stringify','IMessageService','forEach','MCP\x20重连中...','几秒钟内获取您的\x20API\x20密钥','MCP_PLUGIN_CONFIG_KEY','网络连接错误,请检查您的网络连接','MCPUIMenuController','API\x20密钥无效,请检查密钥是否正确','配置\x20MCP\x20使用\x20AI\x20操作电子表格','会话ID','CommandType','jsxs','children','Univer\x20AI\x20Console','Tooltip','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','配置步骤:','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','substring','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.connectionError.sessionOccupied','defIds','mcp-ui.command.openConfigPanel','_injector','path','mcpConfig.validation.invalidConfig','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Failed\x20to\x20save\x20configuration','_config$','warn','getConfig','_handleConfigure','启用身份验证','_initializeCommands','close-icon','UniverMCPPlugin','Retrying...','connectionError$','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','最大重试次数','noopener\x20noreferrer','mcpConfig.validation.invalidApiKey','MCP:\x20未授权','ICommandService','mcpConfig.save','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','940414RKroQd','connectionStatus$','保存配置','1864240bTvNsF','_config','toString','string','Inject','_logService','setItem','UNAUTHORIZED','mcpConfig.apiKeyHint','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','启用身份验证以获得安全连接','IUIPartsService','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_createConfigPanelComponent','get','label','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-flex-1','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20Configuration','off-line-icon','assign','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','会话\x20ID\x20已被占用,请稍后再试','register','Enable\x20Authentication','Bearer\x20','univer-bg-green-500','merge','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex\x20univer-items-center\x20univer-gap-3','onStarting','mcpConfig.validation.apiKeyTooShort','BehaviorSubject','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','mcpConfig.connectionStatus.connecting','open','MCPConnectionError','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','MCP\x20Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','button','univer-flex\x20univer-items-center','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20超出最大重试次数','sessionId$','OffLineIcon','MCP\x20已连接','M0\x200H16V16H0z','univer-shrink-0\x20univer-text-red-500','entries','MCP\x20状态未知','_apiKey$','已连接','未连接','_loadStoredApiKey','_localeService','mcpConfig.connectionError.unauthorized','OnLineIcon','displayName','mcpConfig.sessionIdDescription','univer-bg-red-500','3926384iIlciu','权限验证失败,请检查您的\x20API\x20密钥','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','_configService','0\x200\x2016\x2016','attrs','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','getOwnPropertyDescriptor','1em','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','enUS','mcpStatus.networkError','mcpStatus.sessionOccupied','evenodd','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','span','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','1445361IcDQgI','mcpConfig.connectionError.networkError','show','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','showDeveloperTools','Click\x20to\x20connect\x20MCP','univer-text-xs\x20univer-text-gray-500','请输入您的\x20API\x20密钥','univer-font-medium','mcpConfig.validation.apiKeyRequired','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpStatus.retrying','Configuration\x20Parameters:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_initStatusComponent','translate(.97)','7439301KYcRyT','重启您的\x20MCP\x20客户端以使配置生效','createElement','_componentManager','配置保存失败','symbol','jsx','univer-text-gray-500','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','Disposable','defs','mcpStatus.unauthorized','_dialogService','mcpConfig.connectionInfo','Saving...','MCP\x20已断开','mcpConfig.apiApplyInfo.title','IConfigService','subscribeConfigValue$','带有\x20Bearer\x20前缀的\x20API\x20密钥。','__setCustomHeaders','mcpStatus.unknown','MCPConnectionController','Connecting...','MCP\x20Connected','BuiltInUIPart','MenuIcon','mcpConfig.configError','isValid','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','http','<API_KEY>','idSuffix','_uiPartsService','您的\x20API\x20密钥将在此浏览器中本地存储','NETWORK_ERROR','univer.plus','What\x20is\x20API\x20Key?','univer-text-sm\x20univer-text-gray-500','mcpConfig.apiApplyInfo.univerAiLabel','MCP\x20Client\x20Configuration','Session\x20ID','useDependency','_commandService','点击连接\x20MCP','mcpConfig.connectionError.maxRetriesExceeded','clsx','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','mcpConfig.apiKey','DISCONNECTED','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','ILocalStorageService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','div','univerjs-icon\x20univerjs-icon-','colorChannel1','off-line-icon_clip0_910_343','none','univer-text-white','push','API\x20key\x20is\x20required','subscribe','_handleConfigSave','OpenMCPConfigPanelCommand','univer-text-gray-400','HEADER_MENU','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-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','validateApiKey','defineProperty','currentColor','length','url(#$1','_localStorageService','Univer\x20AI\x20控制台','50ZTVZgM','clipPath','mcpConfig.title','getCurrentConfig','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Configuration\x20saved\x20successfully','svg','mcpConfig.note1','\x20-\x20','xlink:href','next','univer-text-green-500','round','univer-flex\x20univer-items-center\x20univer-gap-2','Module','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','url(#off-line-icon_clip0_910_343)','https://mcp.univer.ai/mcp/?univer_session_id=','OTHERS','_loading$','UniverMCPUIPlugin','Connected','univer-min-w-0\x20univer-flex-1','Configuration\x20Steps:','_connectionController','univer-size-2\x20univer-rounded-full','fill','API\x20密钥','Connection\x20Failed','https://console.univer.ai','trim','check-mark-icon','_initializeMenus','_messageService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','ISocketService','mcpStatus.connecting','NONE','off','disposeWithMe','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONNECTED','配置无效','COMMAND','forwardRef','_mcpCoreConfig$','Authorization:','univer-size-4','将以下配置添加到您的\x20MCP\x20客户端设置中:','replace','mcpConfig.connectionStatus.failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','FAILED','SESSION_ID_OCCUPIED','map','value','univer-space-y-5','RETRYING','Copy\x20the\x20JSON\x20configuration\x20below','useState','http://www.w3.org/2000/svg','WebSocketService','has','mcpConfig.configStep1','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_registerComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','0\x200\x2017\x2016','MCP\x20连接失败','mcpConfig.configStepTitle','apiKey','univer-bg-blue-500','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-gap-3','超出最大重试次数,请稍后再试','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','random','on-line-icon_clip0_910_349','<SESSION_ID>','MCPConfigUIController','Click\x20to\x20configure\x20MCP','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','white','BUTTON','_mcpConnectionController','univer_session_id:','_initAutoConnect','close','MCPConfigPanel','univer-flex\x20univer-flex-wrap\x20univer-gap-2','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','current','MCP\x20Retrying...','useCallback','LocaleService','toStringTag','Configuration\x20Notes:','配置更改将立即生效','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','CheckMarkIcon','MessageType','CloseIcon','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','error','配置保存成功','on-line-icon','DependentOn','Enable\x20authentication\x20for\x20secure\x20connections','univer-flex\x20univer-items-start\x20univer-gap-3','mcpStatus.connected','1CwBmRC','showConfigPanel','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','useObservable','help-icon','MCP:\x20Unauthorized','_initConfigSync','MCP:\x20会话\x20ID\x20已被占用','mcpConfig.configParameters','mcpConfig.connectionStatus.retrying','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','\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','univer-space-y-2','mcp-ui.config','univer-space-y-3','mask','50886jsUidf','MCP\x20Disconnected','univer-text-red-500','Plugin','tag'];_0x2456=function(){return _0x4f361e;};return _0x2456();}function Se(_0x4ae6c9,_0x3a787e,_0x2fbc4b,_0x476b37=!0x0){const _0x947fe=_0x50dde5,_0x384655=Z(_0x4ae6c9,_0x3a787e),_0x136a59=_0x2fbc4b['t'](_0x384655);return _0x476b37?_0x4ae6c9===s[_0x947fe(0x2d8)][_0x947fe(0x229)]&&_0x3a787e===s[_0x947fe(0x1bd)]['UNAUTHORIZED']?_0x136a59+_0x947fe(0x24b)+_0x2fbc4b['t']('mcpStatus.clickToConfigure'):_0x4ae6c9===s[_0x947fe(0x2d8)][_0x947fe(0x26d)]?''+_0x136a59:_0x4ae6c9===s[_0x947fe(0x2d8)][_0x947fe(0x229)]||_0x4ae6c9===s[_0x947fe(0x2d8)][_0x947fe(0x278)]?_0x136a59+_0x947fe(0x24b)+_0x2fbc4b['t']('mcpStatus.clickToConnect'):_0x136a59:_0x136a59;}function Pe(_0x14310b){const _0x363dbe=_0x50dde5;switch(_0x14310b){case s['MCPConnectionStatus']['CONNECTED']:return _0x363dbe(0x24e);case s[_0x363dbe(0x2d8)][_0x363dbe(0x2d6)]:case s['MCPConnectionStatus']['RETRYING']:return _0x363dbe(0x2cb);case s['MCPConnectionStatus']['FAILED']:case s['MCPConnectionStatus']['DISCONNECTED']:return _0x363dbe(0x2c6);default:return _0x363dbe(0x1ff);}}function W(_0x3a0706){const _0x59e9ee=_0x50dde5,{status$:_0x31b61c,error$:_0x284f59,onConfigure:_0x475c4e,showClickable:_0x10310c=!0x0}=_0x3a0706,_0x5bc996=v[_0x59e9ee(0x2b7)](_0x31b61c,s['MCPConnectionStatus'][_0x59e9ee(0x229)]),_0x9883aa=v['useObservable'](_0x284f59,s[_0x59e9ee(0x1bd)]['NONE']),_0x4e038=v[_0x59e9ee(0x222)](u[_0x59e9ee(0x2a2)]),_0xa8b9b2=_0x5bc996===s[_0x59e9ee(0x2d8)]['CONNECTED'];_0x5bc996===s[_0x59e9ee(0x2d8)][_0x59e9ee(0x2d6)]||s['MCPConnectionStatus']['RETRYING'];const _0x4efac8=_0x4e038['t'](Z(_0x5bc996,_0x9883aa)),_0x49dd69=Se(_0x5bc996,_0x9883aa,_0x4e038,_0x10310c),_0x5eae7a=Pe(_0x5bc996),_0x2b6e7e=_0xa8b9b2?i[_0x59e9ee(0x1fe)](q,{}):i['jsx'](Y,{}),_0x3784be=d['useCallback'](()=>{_0x10310c&&_0x475c4e&&_0x475c4e();},[_0x10310c,_0x475c4e]);function _0x1ebd73(){const _0x591b41=_0x59e9ee;return i[_0x591b41(0x16f)](_0x591b41(0x22d),{'className':f[_0x591b41(0x226)](_0x591b41(0x1c2),_0x10310c&&_0x475c4e&&_0x591b41(0x2bf)),'role':_0x591b41(0x1c1),'onClick':_0x10310c&&_0x475c4e?_0x3784be:void 0x0,'children':[i[_0x591b41(0x1fe)](_0x591b41(0x22d),{'className':f[_0x591b41(0x226)](_0x591b41(0x2d1),_0x5eae7a),'children':_0x2b6e7e}),i[_0x591b41(0x1fe)](_0x591b41(0x22d),{'className':_0x591b41(0x26c),'children':_0x4efac8})]});}return i[_0x59e9ee(0x1fe)](f[_0x59e9ee(0x172)],{'title':_0x49dd69,'placement':'bottom','children':_0x1ebd73()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x7aafd6,_0x54d82e,_0x299c9d,_0x152d16)=>{const _0x3fad0c=_0x50dde5;for(var _0xff54d0=_0x152d16>0x1?void 0x0:_0x152d16?Ie(_0x54d82e,_0x299c9d):_0x54d82e,_0x1297b6=_0x7aafd6[_0x3fad0c(0x23f)]-0x1,_0x2fd9e4;_0x1297b6>=0x0;_0x1297b6--)(_0x2fd9e4=_0x7aafd6[_0x1297b6])&&(_0xff54d0=_0x2fd9e4(_0xff54d0)||_0xff54d0);return _0xff54d0;},N=(_0x4c28c8,_0x445674)=>(_0x2cfd95,_0x3514e9)=>_0x445674(_0x2cfd95,_0x3514e9,_0x4c28c8);exports[_0x50dde5(0x2e5)]=class extends u[_0x50dde5(0x201)]{constructor(_0x36395b,_0x3d17bd,_0x23a25c,_0x48f228){const _0x5a848d=_0x50dde5;super(),this[_0x5a848d(0x17b)]=_0x36395b,this[_0x5a848d(0x25c)]=_0x3d17bd,this[_0x5a848d(0x219)]=_0x23a25c,this[_0x5a848d(0x1da)]=_0x48f228,this['_initAutoConnect'](),this[_0x5a848d(0x1f6)]();}[_0x50dde5(0x29a)](){const _0x2605a3=_0x50dde5,_0x227a4d=this[_0x2605a3(0x1da)]['getConfig'](P);_0x227a4d!=null&&_0x227a4d[_0x2605a3(0x1ec)]&&(this[_0x2605a3(0x25c)]['enableAutoConnect']=!0x1);}[_0x50dde5(0x1f6)](){const _0x5b04b6=_0x50dde5,_0x59ba3e=this[_0x5b04b6(0x1da)][_0x5b04b6(0x182)](P);(_0x59ba3e==null?void 0x0:_0x59ba3e['showStatus'])!==!0x1&&this['disposeWithMe'](this[_0x5b04b6(0x219)]['registerComponent'](v[_0x5b04b6(0x211)][_0x5b04b6(0x239)],()=>{const _0x2b78f9=_0x5b04b6;var _0x25bd9c;return v[_0x2b78f9(0x2de)](ye({'status$':this[_0x2b78f9(0x25c)][_0x2b78f9(0x194)],'error$':this[_0x2b78f9(0x25c)][_0x2b78f9(0x189)],'onConfigure':()=>this[_0x2b78f9(0x183)](),'showClickable':(_0x25bd9c=_0x59ba3e==null?void 0x0:_0x59ba3e[_0x2b78f9(0x1ec)])!=null?_0x25bd9c:!0x1}),this['_injector']);}));}['_handleConfigure'](){const _0x345a95=_0x50dde5;this[_0x345a95(0x17b)]['get'](exports[_0x345a95(0x293)])[_0x345a95(0x2b3)]();}},exports[_0x50dde5(0x2e5)]=_e([N(0x0,u[_0x50dde5(0x19a)](u[_0x50dde5(0x2d2)])),N(0x1,u['Inject'](s[_0x50dde5(0x20e)])),N(0x2,v[_0x50dde5(0x1a1)]),N(0x3,u[_0x50dde5(0x209)])],exports['MCPConnectionUIController']);function ye(_0x552f0c){const {status$:_0x5abecf,error$:_0x5822f6,onConfigure:_0x5e8f28,showClickable:_0x5caaab}=_0x552f0c;return function(){const _0x226b0f=_0x5e38;return i[_0x226b0f(0x1fe)](W,{'status$':_0x5abecf,'error$':_0x5822f6,'onConfigure':_0x5e8f28,'showClickable':_0x5caaab});};}function Me(_0x3cb253){const _0x169f6b=_0x50dde5;return{'id':b['id'],'type':v[_0x169f6b(0x2cc)][_0x169f6b(0x297)],'icon':_0x169f6b(0x212),'title':_0x169f6b(0x245),'tooltip':_0x169f6b(0x245)};}const Ne={[v['RibbonStartGroup'][_0x50dde5(0x256)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x50dde5(0x1de)],je=(_0xc26125,_0x480327,_0x4d7e0c,_0xdc65bb)=>{const _0x34bfbe=_0x50dde5;for(var _0x18b6df=_0xdc65bb>0x1?void 0x0:_0xdc65bb?be(_0x480327,_0x4d7e0c):_0x480327,_0x4c8c7b=_0xc26125[_0x34bfbe(0x23f)]-0x1,_0x3657b9;_0x4c8c7b>=0x0;_0x4c8c7b--)(_0x3657b9=_0xc26125[_0x4c8c7b])&&(_0x18b6df=_0x3657b9(_0x18b6df)||_0x18b6df);return _0x18b6df;},z=(_0x25c085,_0x28249e)=>(_0x29ab0e,_0x1a695e)=>_0x28249e(_0x29ab0e,_0x1a695e,_0x25c085);exports[_0x50dde5(0x16a)]=class extends u[_0x50dde5(0x201)]{constructor(_0x5b1f66,_0x21e31f){super(),this['_commandService']=_0x5b1f66,this['_menuManagerService']=_0x21e31f,this['_initializeCommands'](),this['_initializeMenus']();}[_0x50dde5(0x185)](){[b]['forEach'](_0x40fc9f=>{const _0x5490b4=_0x5e38;this[_0x5490b4(0x26b)](this[_0x5490b4(0x223)]['registerCommand'](_0x40fc9f));});}[_0x50dde5(0x264)](){const _0x40a851=_0x50dde5;this['_menuManagerService'][_0x40a851(0x2d3)](Ne);}},exports[_0x50dde5(0x16a)]=je([z(0x0,u[_0x50dde5(0x190)]),z(0x1,v['IMenuManagerService'])],exports[_0x50dde5(0x16a)]);const Ee={'mcpStatus':{'disconnected':_0x50dde5(0x2c5),'connecting':'MCP\x20Connecting...','connected':_0x50dde5(0x210),'failed':_0x50dde5(0x1bf),'retrying':_0x50dde5(0x2a0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x50dde5(0x2b9),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x50dde5(0x2e7),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x50dde5(0x1ed),'clickToConfigure':_0x50dde5(0x294)},'mcpConfig':{'title':_0x50dde5(0x1aa),'description':_0x50dde5(0x1e5),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x50dde5(0x2e6),'apiKeyHint':_0x50dde5(0x1f5),'enableAuth':_0x50dde5(0x1b1),'enableAuthHint':_0x50dde5(0x2af),'connectionInfo':_0x50dde5(0x220),'mcpClientConfig':_0x50dde5(0x220),'configInstructions':_0x50dde5(0x266),'configStepTitle':_0x50dde5(0x25b),'configStep1':_0x50dde5(0x27e),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x50dde5(0x1c3),'sessionId':_0x50dde5(0x221),'sessionIdDescription':_0x50dde5(0x173),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x50dde5(0x1f4),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x50dde5(0x206),'note1':_0x50dde5(0x1a7),'note2':_0x50dde5(0x18b),'configSaved':_0x50dde5(0x248),'configError':_0x50dde5(0x17f),'apiApplyInfo':{'title':_0x50dde5(0x21d),'description':_0x50dde5(0x1c0),'univerAiLabel':_0x50dde5(0x171),'getStarted':_0x50dde5(0x2e3)},'validation':{'apiKeyRequired':_0x50dde5(0x234),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x50dde5(0x2ca)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x50dde5(0x20f),'connected':_0x50dde5(0x259),'failed':_0x50dde5(0x260),'retrying':_0x50dde5(0x188)},'connectionError':{'unauthorized':_0x50dde5(0x277),'sessionOccupied':_0x50dde5(0x18a),'networkError':_0x50dde5(0x1d8),'maxRetriesExceeded':_0x50dde5(0x177)}}},we={'mcpStatus':{'disconnected':_0x50dde5(0x207),'connecting':'MCP\x20连接中...','connected':_0x50dde5(0x1c7),'failed':_0x50dde5(0x288),'retrying':_0x50dde5(0x2ec),'unknown':_0x50dde5(0x1cb),'unauthorized':_0x50dde5(0x18f),'sessionOccupied':_0x50dde5(0x2bb),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x50dde5(0x1c4),'clickToConnect':_0x50dde5(0x224),'clickToConfigure':_0x50dde5(0x2cf)},'mcpConfig':{'title':'MCP\x20配置','description':_0x50dde5(0x16c),'apiKey':_0x50dde5(0x25f),'apiKeyPlaceholder':_0x50dde5(0x1ef),'apiKeyHint':_0x50dde5(0x21a),'enableAuth':_0x50dde5(0x184),'enableAuthHint':_0x50dde5(0x1a0),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x50dde5(0x274),'configStepTitle':_0x50dde5(0x174),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x50dde5(0x2e4),'configStep3':_0x50dde5(0x1f9),'sessionId':_0x50dde5(0x16d),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x50dde5(0x20b),'configParameters':'配置参数:','maxRetries':_0x50dde5(0x18c),'save':_0x50dde5(0x195),'saving':'保存中...','note1':_0x50dde5(0x2a5),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x50dde5(0x2ac),'configError':_0x50dde5(0x1fc),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x50dde5(0x242),'getStarted':_0x50dde5(0x167)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x50dde5(0x26e),'invalidApiKey':_0x50dde5(0x16b)},'connectionStatus':{'disconnected':_0x50dde5(0x1ce),'connecting':'连接中...','connected':_0x50dde5(0x1cd),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x50dde5(0x1d7),'sessionOccupied':_0x50dde5(0x1af),'networkError':_0x50dde5(0x169),'maxRetriesExceeded':_0x50dde5(0x28e)}}};var Ae=Object[_0x50dde5(0x23d)],Oe=Object['getOwnPropertyDescriptor'],De=(_0x26466a,_0x70e6a,_0xab3a9d)=>_0x70e6a in _0x26466a?Ae(_0x26466a,_0x70e6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xab3a9d}):_0x26466a[_0x70e6a]=_0xab3a9d,Ue=(_0x295da7,_0x7840b4,_0x29259d,_0x3b56e5)=>{const _0x5de9b5=_0x50dde5;for(var _0x3e6db8=_0x3b56e5>0x1?void 0x0:_0x3b56e5?Oe(_0x7840b4,_0x29259d):_0x7840b4,_0x349983=_0x295da7[_0x5de9b5(0x23f)]-0x1,_0x4574f7;_0x349983>=0x0;_0x349983--)(_0x4574f7=_0x295da7[_0x349983])&&(_0x3e6db8=_0x4574f7(_0x3e6db8)||_0x3e6db8);return _0x3e6db8;},y=(_0x273ce2,_0x4b856e)=>(_0x1671e4,_0x22bdc3)=>_0x4b856e(_0x1671e4,_0x22bdc3,_0x273ce2),$e=(_0x2e6d6d,_0x50d8de,_0x207471)=>De(_0x2e6d6d,_0x50d8de+'',_0x207471);exports[_0x50dde5(0x258)]=class extends u[_0x50dde5(0x2c7)]{constructor(_0x3b9b45=L,_0x30ed58,_0xbf49c1,_0x1478df,_0x3d30de,_0x2c1d6c){const _0x2a0460=_0x50dde5;super(),this[_0x2a0460(0x197)]=_0x3b9b45,this[_0x2a0460(0x17b)]=_0x30ed58,this['_configService']=_0xbf49c1,this[_0x2a0460(0x219)]=_0x1478df,this[_0x2a0460(0x241)]=_0x3d30de,this['_localeService']=_0x2c1d6c;const {..._0x5254d9}=u[_0x2a0460(0x1b4)]({},L,this[_0x2a0460(0x197)]);this[_0x2a0460(0x1da)]['setConfig'](P,_0x5254d9);}async[_0x50dde5(0x1b7)](){const _0x1fee99=_0x50dde5,_0x5bec5d=[[exports[_0x1fee99(0x2e5)]],[exports[_0x1fee99(0x293)]],[exports['MCPUIMenuController']]];this['_injector'][_0x1fee99(0x282)](A[_0x1fee99(0x267)])||_0x5bec5d[_0x1fee99(0x233)]([A['ISocketService'],{'useClass':A[_0x1fee99(0x281)]}]),_0x5bec5d['forEach'](_0x401573=>this[_0x1fee99(0x17b)][_0x1fee99(0x2e2)](_0x401573)),this[_0x1fee99(0x17b)][_0x1fee99(0x1a4)](exports[_0x1fee99(0x2e5)]),this['_injector']['get'](exports[_0x1fee99(0x293)]),this[_0x1fee99(0x17b)][_0x1fee99(0x1a4)](exports[_0x1fee99(0x16a)]);}},$e(exports[_0x50dde5(0x258)],'pluginName','MCP_UI_PLUGIN'),exports[_0x50dde5(0x258)]=Ue([u[_0x50dde5(0x2ae)](s[_0x50dde5(0x187)]),y(0x1,u[_0x50dde5(0x19a)](u[_0x50dde5(0x2d2)])),y(0x2,u[_0x50dde5(0x209)]),y(0x3,v[_0x50dde5(0x1a1)]),y(0x4,u[_0x50dde5(0x22b)]),y(0x5,u[_0x50dde5(0x19a)](u['LocaleService']))],exports[_0x50dde5(0x258)]),exports[_0x50dde5(0x29c)]=V,exports['MCPStatusDisplay']=W,exports[_0x50dde5(0x237)]=b,exports[_0x50dde5(0x1e1)]=Ee,exports['zhCN']=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 _0x30a1(){const _0x438ea9=['Click\x20to\x20configure\x20MCP','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','647966XsGJBy','Univer\x20AI\x20Console','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\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','140ZNsxUR','Save\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\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.','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','170208fWDdrS','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','1732jCOJuE','398TBiEPf','Disconnected','MCP:\x20Session\x20ID\x20Occupied','934176YHjzRu','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','85770qjtRul','2933562BsXZgM','Failed\x20to\x20save\x20configuration','Click\x20to\x20connect\x20MCP','4344768Omjjgh','Max\x20Retries','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','MCP\x20Connecting...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Steps:','Configuration\x20Parameters:','exports','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','140lWgRRg','MCP:\x20Unauthorized','MCP:\x20Max\x20Retries\x20Exceeded','7ONGbUR','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status'];_0x30a1=function(){return _0x438ea9;};return _0x30a1();}function _0x41eb(_0x26c04d,_0x2767c1){_0x26c04d=_0x26c04d-0x9a;const _0x30a141=_0x30a1();let _0x41eb2e=_0x30a141[_0x26c04d];return _0x41eb2e;}const _0x33033e=_0x41eb;(function(_0x30bbf9,_0x3fcabf){const _0x669de6=_0x41eb,_0x5c53d5=_0x30bbf9();while(!![]){try{const _0x3662c1=parseInt(_0x669de6(0xc9))/0x1*(-parseInt(_0x669de6(0xc8))/0x2)+parseInt(_0x669de6(0x9c))/0x3+-parseInt(_0x669de6(0xa8))/0x4*(parseInt(_0x669de6(0xd0))/0x5)+parseInt(_0x669de6(0xd1))/0x6*(-parseInt(_0x669de6(0xab))/0x7)+-parseInt(_0x669de6(0xcc))/0x8+parseInt(_0x669de6(0xc1))/0x9+parseInt(_0x669de6(0xba))/0xa*(parseInt(_0x669de6(0xb4))/0xb);if(_0x3662c1===_0x3fcabf)break;else _0x5c53d5['push'](_0x5c53d5['shift']());}catch(_0xcc2dfa){_0x5c53d5['push'](_0x5c53d5['shift']());}}}(_0x30a1,0xb4ee7));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x33033e(0xa0),'connected':'MCP\x20Connected','failed':_0x33033e(0xb1),'retrying':_0x33033e(0x9f),'unknown':_0x33033e(0xad),'unauthorized':_0x33033e(0xa9),'sessionOccupied':_0x33033e(0xcb),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x33033e(0xaa),'clickToConnect':_0x33033e(0x9b),'clickToConfigure':_0x33033e(0xae)},'mcpConfig':{'title':_0x33033e(0xc7),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x33033e(0xcd),'apiKeyHint':_0x33033e(0xc0),'enableAuth':_0x33033e(0xb7),'enableAuthHint':_0x33033e(0xb3),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x33033e(0xc2),'configInstructions':_0x33033e(0xac),'configStepTitle':_0x33033e(0xa2),'configStep1':_0x33033e(0xbc),'configStep2':_0x33033e(0xa1),'configStep3':_0x33033e(0xc4),'sessionId':_0x33033e(0xa7),'sessionIdDescription':_0x33033e(0xb6),'authorizationDescription':_0x33033e(0xc6),'configParameters':_0x33033e(0xa3),'maxRetries':_0x33033e(0x9d),'save':_0x33033e(0xbb),'saving':_0x33033e(0xbf),'note1':_0x33033e(0xcf),'note2':_0x33033e(0xc5),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x33033e(0x9a),'apiApplyInfo':{'title':_0x33033e(0xce),'description':_0x33033e(0xbe),'univerAiLabel':_0x33033e(0xb5),'getStarted':_0x33033e(0xa5)},'validation':{'apiKeyRequired':_0x33033e(0xc3),'apiKeyTooShort':_0x33033e(0xb8),'invalidConfig':_0x33033e(0xbd),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x33033e(0xca),'connecting':'Connecting...','connected':_0x33033e(0xb9),'failed':_0x33033e(0xb2),'retrying':_0x33033e(0xaf)},'connectionError':{'unauthorized':_0x33033e(0xb0),'sessionOccupied':_0x33033e(0x9e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x33033e(0xa6)}}},n=e;module[_0x33033e(0xa4)]=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 _0xf9fb27=_0x8056;function _0x19c4(){const _0x5084fa=['MCP\x20Configuration','772658JGbOzq','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','exports','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Failed\x20to\x20save\x20configuration','8LvAtkl','API\x20Key','20rlRqEb','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized','Univer\x20AI\x20Console','Configuration\x20Parameters:','MCP\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','1347850FEoCHM','2863231tJOdWl','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','9295578uJuVzi','5462784GkobAB','41040dywZOV','7174700oKlkvo','Click\x20to\x20connect\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Saving...','MCP\x20Connected','API\x20key\x20is\x20required','Max\x20Retries','3YpCVtX','MCP\x20Client\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','Retrying...'];_0x19c4=function(){return _0x5084fa;};return _0x19c4();}(function(_0x1f3b77,_0x30b1d9){const _0x3ddb0e=_0x8056,_0xee3d2a=_0x1f3b77();while(!![]){try{const _0x4831b0=parseInt(_0x3ddb0e(0xbb))/0x1+-parseInt(_0x3ddb0e(0xa5))/0x2*(-parseInt(_0x3ddb0e(0xb2))/0x3)+-parseInt(_0x3ddb0e(0x9d))/0x4*(parseInt(_0x3ddb0e(0xaa))/0x5)+-parseInt(_0x3ddb0e(0xa9))/0x6+parseInt(_0x3ddb0e(0xa6))/0x7+-parseInt(_0x3ddb0e(0x9b))/0x8*(parseInt(_0x3ddb0e(0xa8))/0x9)+parseInt(_0x3ddb0e(0xab))/0xa;if(_0x4831b0===_0x30b1d9)break;else _0xee3d2a['push'](_0xee3d2a['shift']());}catch(_0x258b49){_0xee3d2a['push'](_0xee3d2a['shift']());}}}(_0x19c4,0x8fbc4));const e={'mcpStatus':{'disconnected':_0xf9fb27(0xa2),'connecting':'MCP\x20Connecting...','connected':_0xf9fb27(0xaf),'failed':_0xf9fb27(0x98),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0xf9fb27(0x9f),'sessionOccupied':_0xf9fb27(0xb4),'networkError':_0xf9fb27(0x94),'maxRetriesExceeded':_0xf9fb27(0xb6),'clickToConnect':_0xf9fb27(0xac),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xf9fb27(0xba),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xf9fb27(0x9c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xf9fb27(0x90),'enableAuth':_0xf9fb27(0xb8),'enableAuthHint':_0xf9fb27(0x93),'connectionInfo':_0xf9fb27(0xb3),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0xf9fb27(0xb5),'configStepTitle':_0xf9fb27(0x8f),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xf9fb27(0xa7),'sessionId':_0xf9fb27(0xbd),'sessionIdDescription':_0xf9fb27(0xad),'authorizationDescription':_0xf9fb27(0x9e),'configParameters':_0xf9fb27(0xa1),'maxRetries':_0xf9fb27(0xb1),'save':'Save\x20Configuration','saving':_0xf9fb27(0xae),'note1':_0xf9fb27(0xb7),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0xf9fb27(0x9a),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xf9fb27(0xbc),'univerAiLabel':_0xf9fb27(0xa0),'getStarted':_0xf9fb27(0x95)},'validation':{'apiKeyRequired':_0xf9fb27(0xb0),'apiKeyTooShort':_0xf9fb27(0xbe),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xf9fb27(0x99)},'connectionStatus':{'disconnected':_0xf9fb27(0x91),'connecting':_0xf9fb27(0xa4),'connected':'Connected','failed':_0xf9fb27(0x96),'retrying':_0xf9fb27(0xb9)},'connectionError':{'unauthorized':_0xf9fb27(0xa3),'sessionOccupied':_0xf9fb27(0x92),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xf9fb27(0x97)}}};function _0x8056(_0x32749f,_0x51c0b5){_0x32749f=_0x32749f-0x8e;const _0x19c415=_0x19c4();let _0x805645=_0x19c415[_0x32749f];return _0x805645;}module[_0xf9fb27(0x8e)]=e;
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 _0x1081(_0x2f3e79,_0x58d5da){_0x2f3e79=_0x2f3e79-0x161;const _0x294d47=_0x294d();let _0x1081ca=_0x294d47[_0x2f3e79];return _0x1081ca;}const _0x3f3399=_0x1081;(function(_0x29e5df,_0x2f0cb8){const _0x1e6dfb=_0x1081,_0x189796=_0x29e5df();while(!![]){try{const _0x51fc0e=-parseInt(_0x1e6dfb(0x192))/0x1+parseInt(_0x1e6dfb(0x16d))/0x2*(parseInt(_0x1e6dfb(0x18d))/0x3)+-parseInt(_0x1e6dfb(0x166))/0x4+-parseInt(_0x1e6dfb(0x167))/0x5*(-parseInt(_0x1e6dfb(0x18f))/0x6)+parseInt(_0x1e6dfb(0x16e))/0x7+parseInt(_0x1e6dfb(0x190))/0x8*(parseInt(_0x1e6dfb(0x180))/0x9)+-parseInt(_0x1e6dfb(0x168))/0xa;if(_0x51fc0e===_0x2f0cb8)break;else _0x189796['push'](_0x189796['shift']());}catch(_0x528ca1){_0x189796['push'](_0x189796['shift']());}}}(_0x294d,0x72ac2));function _0x294d(){const _0x235f7c=['MCP:\x20Unauthorized','Copy\x20the\x20JSON\x20configuration\x20below','124bsUsQo','3302348ANMsSU','Configuration\x20Steps:','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key','Connected','Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','7996977glvFiT','Disconnected','API\x20key\x20is\x20required','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connection\x20Failed','Save\x20Configuration','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20configuration','Connecting...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','14286HmSHiM','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','690366wKhqQZ','8qgZCRd','MCP\x20Unknown\x20Status','566691vUfGSi','MCP:\x20Session\x20ID\x20Occupied','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1752692SxwNwD','25uzbjVY','7563040bSAxyk','Get\x20your\x20API\x20key\x20in\x20seconds','What\x20is\x20API\x20Key?'];_0x294d=function(){return _0x235f7c;};return _0x294d();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3f3399(0x174),'connected':'MCP\x20Connected','failed':_0x3f3399(0x184),'retrying':'MCP\x20Retrying...','unknown':_0x3f3399(0x191),'unauthorized':_0x3f3399(0x16b),'sessionOccupied':_0x3f3399(0x193),'networkError':_0x3f3399(0x18c),'maxRetriesExceeded':_0x3f3399(0x17b),'clickToConnect':_0x3f3399(0x170),'clickToConfigure':_0x3f3399(0x173)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3f3399(0x171),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x3f3399(0x17c),'apiKeyHint':_0x3f3399(0x18b),'enableAuth':_0x3f3399(0x176),'enableAuthHint':_0x3f3399(0x175),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3f3399(0x187),'configStepTitle':_0x3f3399(0x16f),'configStep1':_0x3f3399(0x16c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3f3399(0x161),'sessionId':_0x3f3399(0x164),'sessionIdDescription':_0x3f3399(0x183),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3f3399(0x17a),'maxRetries':_0x3f3399(0x172),'save':_0x3f3399(0x185),'saving':_0x3f3399(0x186),'note1':_0x3f3399(0x179),'note2':_0x3f3399(0x178),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3f3399(0x16a),'description':_0x3f3399(0x18e),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3f3399(0x169)},'validation':{'apiKeyRequired':_0x3f3399(0x182),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3f3399(0x189),'invalidApiKey':_0x3f3399(0x165)},'connectionStatus':{'disconnected':_0x3f3399(0x181),'connecting':_0x3f3399(0x18a),'connected':_0x3f3399(0x17d),'failed':_0x3f3399(0x177),'retrying':_0x3f3399(0x17e)},'connectionError':{'unauthorized':_0x3f3399(0x188),'sessionOccupied':_0x3f3399(0x163),'networkError':_0x3f3399(0x162),'maxRetriesExceeded':_0x3f3399(0x17f)}}},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 _0x2eaa99=_0x3621;function _0x93c9(){const _0x27e3f2=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','2191088XfAfsk','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','12hpCvDK','MCP:\x20Unauthorized','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','Save\x20Configuration','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','256CTRJoT','exports','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded','Disconnected','259026TDsGTq','API\x20key\x20with\x20Bearer\x20prefix.','69552SqjNte','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','706315vfXRtd','Enable\x20Authentication','MCP\x20Unknown\x20Status','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','1800429Raqnzg','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','462598hWeYoB','MCP:\x20Network\x20Error','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Retrying...','2488680tzDPpm','MCP\x20Client\x20Configuration','Session\x20ID','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Get\x20your\x20API\x20key\x20in\x20seconds','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage'];_0x93c9=function(){return _0x27e3f2;};return _0x93c9();}(function(_0x12a024,_0x32d993){const _0x5a8b14=_0x3621,_0x432045=_0x12a024();while(!![]){try{const _0x18a631=parseInt(_0x5a8b14(0xfd))/0x1+parseInt(_0x5a8b14(0xda))/0x2+parseInt(_0x5a8b14(0xd8))/0x3+-parseInt(_0x5a8b14(0xec))/0x4+-parseInt(_0x5a8b14(0x101))/0x5*(parseInt(_0x5a8b14(0xee))/0x6)+-parseInt(_0x5a8b14(0xff))/0x7*(-parseInt(_0x5a8b14(0xf8))/0x8)+-parseInt(_0x5a8b14(0xde))/0x9;if(_0x18a631===_0x32d993)break;else _0x432045['push'](_0x432045['shift']());}catch(_0x30b250){_0x432045['push'](_0x432045['shift']());}}}(_0x93c9,0x49a22));function _0x3621(_0x59dd7f,_0x5bce68){_0x59dd7f=_0x59dd7f-0xd8;const _0x93c9eb=_0x93c9();let _0x3621c3=_0x93c9eb[_0x59dd7f];return _0x3621c3;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x2eaa99(0x103),'unauthorized':_0x2eaa99(0xef),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x2eaa99(0xdb),'maxRetriesExceeded':_0x2eaa99(0xfb),'clickToConnect':_0x2eaa99(0xe6),'clickToConfigure':_0x2eaa99(0xf3)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2eaa99(0xfa),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2eaa99(0xf7),'apiKeyHint':_0x2eaa99(0xd9),'enableAuth':_0x2eaa99(0x102),'enableAuthHint':_0x2eaa99(0xf2),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2eaa99(0xdf),'configInstructions':_0x2eaa99(0x100),'configStepTitle':_0x2eaa99(0xe8),'configStep1':_0x2eaa99(0x105),'configStep2':_0x2eaa99(0xe2),'configStep3':_0x2eaa99(0xea),'sessionId':_0x2eaa99(0xe0),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2eaa99(0xfe),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x2eaa99(0xf4),'saving':_0x2eaa99(0xeb),'note1':_0x2eaa99(0xf1),'note2':_0x2eaa99(0xe9),'configSaved':_0x2eaa99(0xe5),'configError':_0x2eaa99(0xe4),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2eaa99(0xed),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2eaa99(0xe3)},'validation':{'apiKeyRequired':_0x2eaa99(0xf5),'apiKeyTooShort':_0x2eaa99(0xdc),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2eaa99(0xf6)},'connectionStatus':{'disconnected':_0x2eaa99(0xfc),'connecting':_0x2eaa99(0x104),'connected':_0x2eaa99(0xe1),'failed':'Connection\x20Failed','retrying':_0x2eaa99(0xdd)},'connectionError':{'unauthorized':_0x2eaa99(0xf0),'sessionOccupied':_0x2eaa99(0xe7),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x2eaa99(0xf9)]=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 _0x33675e=_0x38b2;(function(_0x42ca66,_0xc801af){const _0x195bc3=_0x38b2,_0x551aac=_0x42ca66();while(!![]){try{const _0x4fdece=-parseInt(_0x195bc3(0x1e2))/0x1*(parseInt(_0x195bc3(0x1db))/0x2)+parseInt(_0x195bc3(0x1c9))/0x3+parseInt(_0x195bc3(0x1ee))/0x4*(parseInt(_0x195bc3(0x1e5))/0x5)+-parseInt(_0x195bc3(0x1ed))/0x6+-parseInt(_0x195bc3(0x1d8))/0x7+parseInt(_0x195bc3(0x1d9))/0x8+parseInt(_0x195bc3(0x1eb))/0x9;if(_0x4fdece===_0xc801af)break;else _0x551aac['push'](_0x551aac['shift']());}catch(_0x28ea1a){_0x551aac['push'](_0x551aac['shift']());}}}(_0x5978,0xb2533));function _0x38b2(_0x537571,_0x287f75){_0x537571=_0x537571-0x1c8;const _0x597858=_0x5978();let _0x38b2fe=_0x597858[_0x537571];return _0x38b2fe;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x33675e(0x1e6),'connected':_0x33675e(0x1e7),'failed':'MCP\x20Connection\x20Failed','retrying':_0x33675e(0x1d4),'unknown':_0x33675e(0x1f4),'unauthorized':_0x33675e(0x1e9),'sessionOccupied':_0x33675e(0x1cd),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x33675e(0x1d2),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x33675e(0x1ef),'description':_0x33675e(0x1e3),'apiKey':_0x33675e(0x1f5),'apiKeyPlaceholder':_0x33675e(0x1f6),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x33675e(0x1f0),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x33675e(0x1de),'mcpClientConfig':_0x33675e(0x1de),'configInstructions':_0x33675e(0x1d0),'configStepTitle':_0x33675e(0x1c8),'configStep1':_0x33675e(0x1d7),'configStep2':_0x33675e(0x1f2),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x33675e(0x1ea),'sessionIdDescription':_0x33675e(0x1cb),'authorizationDescription':_0x33675e(0x1dc),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x33675e(0x1f7),'save':_0x33675e(0x1d5),'saving':'Saving...','note1':_0x33675e(0x1dd),'note2':_0x33675e(0x1e0),'configSaved':_0x33675e(0x1df),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x33675e(0x1f1),'description':_0x33675e(0x1ce),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x33675e(0x1d6)},'validation':{'apiKeyRequired':_0x33675e(0x1e4),'apiKeyTooShort':_0x33675e(0x1cc),'invalidConfig':_0x33675e(0x1cf),'invalidApiKey':_0x33675e(0x1d3)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x33675e(0x1ca),'failed':'Connection\x20Failed','retrying':_0x33675e(0x1f3)},'connectionError':{'unauthorized':_0x33675e(0x1ec),'sessionOccupied':_0x33675e(0x1e8),'networkError':_0x33675e(0x1da),'maxRetriesExceeded':_0x33675e(0x1e1)}}},n=e;function _0x5978(){const _0x10ad4e=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','8328270FYXNaV','4qYtnJa','MCP\x20Configuration','Enable\x20Authentication','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Retrying...','MCP\x20Unknown\x20Status','API\x20Key','Enter\x20your\x20API\x20key','Max\x20Retries','Configuration\x20Steps:','3212472aMQzgM','Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Session\x20ID\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','exports','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Save\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Copy\x20the\x20JSON\x20configuration\x20below','6522642vrEyNT','8765656vSkauA','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','34ZfGtJN','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Client\x20Configuration','Configuration\x20saved\x20successfully','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','60378wivuXR','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','154065fqTODr','MCP\x20Connecting...','MCP\x20Connected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Unauthorized','Session\x20ID','16914168fBeCkq'];_0x5978=function(){return _0x10ad4e;};return _0x5978();}module[_0x33675e(0x1d1)]=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 _0xd3ba70=_0x4a03;(function(_0x24a7d0,_0x5de521){const _0x4a4ead=_0x4a03,_0x3cf088=_0x24a7d0();while(!![]){try{const _0x3f1d7a=parseInt(_0x4a4ead(0xa2))/0x1*(parseInt(_0x4a4ead(0x8f))/0x2)+parseInt(_0x4a4ead(0x9c))/0x3*(parseInt(_0x4a4ead(0xa3))/0x4)+parseInt(_0x4a4ead(0x9d))/0x5*(-parseInt(_0x4a4ead(0x8d))/0x6)+-parseInt(_0x4a4ead(0x92))/0x7+-parseInt(_0x4a4ead(0xc0))/0x8*(-parseInt(_0x4a4ead(0x9b))/0x9)+parseInt(_0x4a4ead(0x93))/0xa*(-parseInt(_0x4a4ead(0x8e))/0xb)+parseInt(_0x4a4ead(0xad))/0xc*(parseInt(_0x4a4ead(0xbc))/0xd);if(_0x3f1d7a===_0x5de521)break;else _0x3cf088['push'](_0x3cf088['shift']());}catch(_0x250533){_0x3cf088['push'](_0x3cf088['shift']());}}}(_0x4788,0xc790c));function _0x4a03(_0x4f4c3e,_0x9e5428){_0x4f4c3e=_0x4f4c3e-0x8b;const _0x4788e1=_0x4788();let _0x4a03b2=_0x4788e1[_0x4f4c3e];return _0x4a03b2;}const e={'mcpStatus':{'disconnected':_0xd3ba70(0xb5),'connecting':_0xd3ba70(0xb2),'connected':_0xd3ba70(0xbd),'failed':_0xd3ba70(0x99),'retrying':_0xd3ba70(0x95),'unknown':_0xd3ba70(0xb6),'unauthorized':_0xd3ba70(0xbe),'sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':_0xd3ba70(0xab),'maxRetriesExceeded':_0xd3ba70(0x9a),'clickToConnect':_0xd3ba70(0xb9),'clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':_0xd3ba70(0x8c),'description':'MCPを設定してAIでスプレッドシートを操作','apiKey':_0xd3ba70(0xb7),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':'認証を有効にする','enableAuthHint':_0xd3ba70(0xae),'connectionInfo':'MCPクライアント設定','mcpClientConfig':_0xd3ba70(0x8b),'configInstructions':_0xd3ba70(0x90),'configStepTitle':_0xd3ba70(0xa4),'configStep1':'以下のJSON設定をコピー','configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0xd3ba70(0xb0),'sessionId':_0xd3ba70(0xaf),'sessionIdDescription':_0xd3ba70(0xbf),'authorizationDescription':_0xd3ba70(0xaa),'configParameters':_0xd3ba70(0x96),'maxRetries':_0xd3ba70(0xa1),'save':_0xd3ba70(0xb1),'saving':_0xd3ba70(0x91),'note1':'設定の変更は直ちに有効になります','note2':_0xd3ba70(0xba),'configSaved':_0xd3ba70(0x9e),'configError':_0xd3ba70(0xac),'apiApplyInfo':{'title':_0xd3ba70(0xa5),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':_0xd3ba70(0x98),'getStarted':_0xd3ba70(0x9f)},'validation':{'apiKeyRequired':_0xd3ba70(0xa6),'apiKeyTooShort':_0xd3ba70(0x97),'invalidConfig':_0xd3ba70(0xbb),'invalidApiKey':_0xd3ba70(0xb4)},'connectionStatus':{'disconnected':_0xd3ba70(0xb8),'connecting':_0xd3ba70(0xa7),'connected':_0xd3ba70(0xb3),'failed':_0xd3ba70(0x94),'retrying':_0xd3ba70(0xa0)},'connectionError':{'unauthorized':_0xd3ba70(0xa8),'sessionOccupied':_0xd3ba70(0xa9),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0xd3ba70(0xc1)}}};module['exports']=e;function _0x4788(){const _0x42203d=['2276SEMlLo','設定手順:','APIキーとは?','APIキーは必須です','接続中...','認証に失敗しました。APIキーを確認してください','セッションIDが現在使用中です。後でもう一度お試しください','Bearerプレフィックス付きのAPIキー。','MCP:\x20ネットワークエラー','設定の保存に失敗しました','213108KhaMhw','セキュアな接続のために認証を有効にする','セッションID','MCPクライアントを再起動して設定を適用','設定を保存','MCP\x20接続中...','接続済み','無効なAPIキーです。キーが正しいか確認してください','MCP\x20未接続','MCP\x20不明な状態','APIキー','未接続','クリックしてMCPに接続','APIキーはローカルストレージに安全に保存されます','無効な設定','104cVuQDX','MCP\x20接続済み','MCP:\x20認証されていません','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','5984lLUdfR','最大再試行回数を超過しました。後でもう一度お試しください','MCPクライアント設定','MCP設定','42obWPIc','5335dFzNeA','26cCDDjg','MCPクライアントの設定に次の設定を追加してください:','保存中...','4551547AAOmMU','20530HhkRFP','接続失敗','MCP\x20再試行中...','設定パラメータ:','APIキーは10文字以上である必要があります','Univer\x20AIコンソール','MCP\x20接続失敗','MCP:\x20最大再試行回数を超過','13671dPCIXK','405mMfXEC','113650AtqBtd','設定が正常に保存されました','数秒でAPIキーを取得','再試行中...','最大再試行回数','97489Bggmsr'];_0x4788=function(){return _0x42203d;};return _0x4788();}
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;