@univerjs-pro/mcp-ui 0.10.10-nightly.202510170942 → 0.10.10-nightly.202510180256

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +6 -6
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x5d76ec=_0x19f9;(function(_0x465748,_0x303e76){var _0x5c6980=_0x19f9,_0x3c0fb8=_0x465748();while(!![]){try{var _0x1a449c=parseInt(_0x5c6980(0x2ca))/0x1+parseInt(_0x5c6980(0x256))/0x2+-parseInt(_0x5c6980(0x258))/0x3+parseInt(_0x5c6980(0x252))/0x4*(-parseInt(_0x5c6980(0x286))/0x5)+parseInt(_0x5c6980(0x2b9))/0x6+-parseInt(_0x5c6980(0x1a8))/0x7*(-parseInt(_0x5c6980(0x24b))/0x8)+-parseInt(_0x5c6980(0x1da))/0x9*(-parseInt(_0x5c6980(0x2bc))/0xa);if(_0x1a449c===_0x303e76)break;else _0x3c0fb8['push'](_0x3c0fb8['shift']());}catch(_0x38c6b0){_0x3c0fb8['push'](_0x3c0fb8['shift']());}}}(_0x35b4,0x1f84e));var ue=Object[_0x5d76ec(0x171)],le=(_0x190b9a,_0x7cd48f,_0x36d3ed)=>_0x7cd48f in _0x190b9a?ue(_0x190b9a,_0x7cd48f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36d3ed}):_0x190b9a[_0x7cd48f]=_0x36d3ed,I=(_0x95a799,_0x1d60f7,_0x231d47)=>le(_0x95a799,typeof _0x1d60f7!=_0x5d76ec(0x215)?_0x1d60f7+'':_0x1d60f7,_0x231d47);Object['defineProperty'](exports,Symbol[_0x5d76ec(0x1b4)],{'value':_0x5d76ec(0x1e1)});const l=require('@univerjs/core'),t=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),S=require('@univerjs/design'),v=require('@univerjs/ui'),N=require('rxjs'),d=require('react'),A=require('@univerjs/network');var g=function(){return g=Object['assign']||function(_0x2cba07){var _0x199853=_0x19f9;for(var _0x6e34b7,_0x3b28a7=0x1,_0x86ba3f=arguments[_0x199853(0x2b6)];_0x3b28a7<_0x86ba3f;_0x3b28a7++){_0x6e34b7=arguments[_0x3b28a7];for(var _0x194d80 in _0x6e34b7)Object['prototype'][_0x199853(0x262)][_0x199853(0x1cc)](_0x6e34b7,_0x194d80)&&(_0x2cba07[_0x194d80]=_0x6e34b7[_0x194d80]);}return _0x2cba07;},g['apply'](this,arguments);},ve=function(_0x11b7c5,_0x128738){var _0x1f3771=_0x5d76ec,_0x3934cc={};for(var _0x4ff055 in _0x11b7c5)Object[_0x1f3771(0x238)][_0x1f3771(0x262)]['call'](_0x11b7c5,_0x4ff055)&&_0x128738[_0x1f3771(0x2bd)](_0x4ff055)<0x0&&(_0x3934cc[_0x4ff055]=_0x11b7c5[_0x4ff055]);if(_0x11b7c5!=null&&typeof Object[_0x1f3771(0x177)]=='function'){for(var _0x4c383c=0x0,_0x4ff055=Object['getOwnPropertySymbols'](_0x11b7c5);_0x4c383c<_0x4ff055[_0x1f3771(0x2b6)];_0x4c383c++)_0x128738[_0x1f3771(0x2bd)](_0x4ff055[_0x4c383c])<0x0&&Object[_0x1f3771(0x238)][_0x1f3771(0x1d9)][_0x1f3771(0x1cc)](_0x11b7c5,_0x4ff055[_0x4c383c])&&(_0x3934cc[_0x4ff055[_0x4c383c]]=_0x11b7c5[_0x4ff055[_0x4c383c]]);}return _0x3934cc;},_=d[_0x5d76ec(0x250)](function(_0xf4ad50,_0xf851cf){var _0x5a348d=_0x5d76ec,_0x101e0e=_0xf4ad50[_0x5a348d(0x154)],_0x4fed40=_0xf4ad50['id'],_0x19cf1f=_0xf4ad50[_0x5a348d(0x190)],_0x4a0c89=_0xf4ad50[_0x5a348d(0x28f)],_0x35a981=ve(_0xf4ad50,[_0x5a348d(0x154),'id',_0x5a348d(0x190),_0x5a348d(0x28f)]),_0x313205=_0x5a348d(0x223)[_0x5a348d(0x284)](_0x4fed40,'\x20')['concat'](_0x19cf1f||'')[_0x5a348d(0x212)](),_0xb33238=d[_0x5a348d(0x159)]('_'[_0x5a348d(0x284)](ge()));return H(_0x101e0e,''[_0x5a348d(0x284)](_0x4fed40),{'defIds':_0x101e0e[_0x5a348d(0x268)],'idSuffix':_0xb33238[_0x5a348d(0x2cc)]},g({'ref':_0xf851cf,'className':_0x313205},_0x35a981),_0x4a0c89);});function H(_0x4c87ab,_0x1d921f,_0xfba881,_0xe54125,_0x966142){var _0x1005b5=_0x5d76ec;return d[_0x1005b5(0x21f)](_0x4c87ab[_0x1005b5(0x224)],g(g({'key':_0x1d921f},de(_0x4c87ab,_0xfba881,_0x966142)),_0xe54125),(Ce(_0x4c87ab,_0xfba881)[_0x1005b5(0x157)]||[])['map'](function(_0x117efd,_0x59c497){var _0x2db21c=_0x1005b5;return H(_0x117efd,''[_0x2db21c(0x284)](_0x1d921f,'-')[_0x2db21c(0x284)](_0x4c87ab[_0x2db21c(0x224)],'-')['concat'](_0x59c497),_0xfba881,void 0x0,_0x966142);}));}function de(_0x5eb9c2,_0x155529,_0x2945b6){var _0x2b6e64=_0x5d76ec,_0x31831d=g({},_0x5eb9c2[_0x2b6e64(0x203)]);_0x2945b6!=null&&_0x2945b6['colorChannel1']&&_0x31831d[_0x2b6e64(0x1aa)]===_0x2b6e64(0x213)&&(_0x31831d[_0x2b6e64(0x1aa)]=_0x2945b6[_0x2b6e64(0x213)]),_0x5eb9c2[_0x2b6e64(0x224)]===_0x2b6e64(0x2b4)&&_0x31831d['id']&&(_0x31831d['id']=_0x31831d['id']+_0x155529[_0x2b6e64(0x170)]),Object[_0x2b6e64(0x1c9)](_0x31831d)[_0x2b6e64(0x15a)](function(_0xe53895){var _0x381895=_0x2b6e64,_0x3d83c1=_0xe53895[0x0],_0x16a589=_0xe53895[0x1];_0x3d83c1===_0x381895(0x2b4)&&typeof _0x16a589==_0x381895(0x192)&&(_0x31831d[_0x3d83c1]=_0x16a589[_0x381895(0x210)](/url\(#(.*)\)/,_0x381895(0x278)[_0x381895(0x284)](_0x155529[_0x381895(0x170)],')')));});var _0x8f97da=_0x155529[_0x2b6e64(0x268)];return!_0x8f97da||_0x8f97da['length']===0x0||(_0x5eb9c2['tag']==='use'&&_0x31831d[_0x2b6e64(0x185)]&&(_0x31831d['xlink:href']=_0x31831d['xlink:href']+_0x155529[_0x2b6e64(0x170)]),Object[_0x2b6e64(0x1c9)](_0x31831d)['forEach'](function(_0x5ace28){var _0x3f3343=_0x2b6e64,_0x4b3586=_0x5ace28[0x0],_0x1d1d77=_0x5ace28[0x1];typeof _0x1d1d77==_0x3f3343(0x192)&&(_0x31831d[_0x4b3586]=_0x1d1d77[_0x3f3343(0x210)](/url\(#(.*)\)/,_0x3f3343(0x278)[_0x3f3343(0x284)](_0x155529['idSuffix'],')')));})),_0x31831d;}function Ce(_0x39ae6a,_0x3f7426){var _0x30d9bb=_0x5d76ec,_0x33be9f,_0x19287f=_0x3f7426[_0x30d9bb(0x268)];return!_0x19287f||_0x19287f[_0x30d9bb(0x2b6)]===0x0?_0x39ae6a:_0x39ae6a[_0x30d9bb(0x224)]===_0x30d9bb(0x161)&&(!((_0x33be9f=_0x39ae6a[_0x30d9bb(0x157)])===null||_0x33be9f===void 0x0)&&_0x33be9f[_0x30d9bb(0x2b6)])?g(g({},_0x39ae6a),{'children':_0x39ae6a[_0x30d9bb(0x157)][_0x30d9bb(0x14e)](function(_0x417ccf){var _0x1fd1d7=_0x30d9bb;return typeof _0x417ccf[_0x1fd1d7(0x203)]['id']==_0x1fd1d7(0x192)&&_0x19287f&&_0x19287f[_0x1fd1d7(0x1b7)](_0x417ccf[_0x1fd1d7(0x203)]['id'])?g(g({},_0x417ccf),{'attrs':g(g({},_0x417ccf[_0x1fd1d7(0x203)]),{'id':_0x417ccf[_0x1fd1d7(0x203)]['id']+_0x3f7426[_0x1fd1d7(0x170)]})}):_0x417ccf;})}):_0x39ae6a;}function ge(){var _0x24f451=_0x5d76ec;return Math[_0x24f451(0x1f9)]()[_0x24f451(0x16e)](0x24)['substring'](0x2,0x8);}_[_0x5d76ec(0x2d0)]='UniverIcon';var fe={'tag':'svg','attrs':{'xmlns':_0x5d76ec(0x295),'fill':_0x5d76ec(0x180),'viewBox':_0x5d76ec(0x2df),'width':_0x5d76ec(0x29e),'height':_0x5d76ec(0x29e)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':'evenodd','clipRule':_0x5d76ec(0x1f0)}}]},B=d['forwardRef'](function(_0x57b49e,_0x5d4cf7){var _0x403cac=_0x5d76ec;return d['createElement'](_,Object[_0x403cac(0x1ec)]({},_0x57b49e,{'id':_0x403cac(0x257),'ref':_0x5d4cf7,'icon':fe}));});B[_0x5d76ec(0x2d0)]=_0x5d76ec(0x27b);var pe={'tag':'svg','attrs':{'xmlns':_0x5d76ec(0x295),'fill':'none','viewBox':_0x5d76ec(0x22a),'width':'1em','height':_0x5d76ec(0x29e)},'children':[{'tag':_0x5d76ec(0x287),'attrs':{'stroke':_0x5d76ec(0x1d0),'d':_0x5d76ec(0x197),'strokeLinecap':_0x5d76ec(0x174),'strokeLinejoin':_0x5d76ec(0x174),'strokeWidth':1.33}},{'tag':_0x5d76ec(0x287),'attrs':{'stroke':_0x5d76ec(0x1d0),'d':_0x5d76ec(0x243),'strokeLinecap':'round','strokeLinejoin':_0x5d76ec(0x174),'strokeWidth':1.33}}]},F=d['forwardRef'](function(_0x359ccb,_0x39b8d1){var _0x21a8eb=_0x5d76ec;return d[_0x21a8eb(0x21f)](_,Object['assign']({},_0x359ccb,{'id':_0x21a8eb(0x21d),'ref':_0x39b8d1,'icon':pe}));});F['displayName']=_0x5d76ec(0x1db);var he={'tag':_0x5d76ec(0x2b5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d76ec(0x180),'viewBox':_0x5d76ec(0x2df),'width':_0x5d76ec(0x29e),'height':'1em'},'children':[{'tag':_0x5d76ec(0x287),'attrs':{'fill':_0x5d76ec(0x1d0),'d':_0x5d76ec(0x18d)}},{'tag':_0x5d76ec(0x287),'attrs':{'fill':'currentColor','d':_0x5d76ec(0x22d)}},{'tag':_0x5d76ec(0x287),'attrs':{'fill':_0x5d76ec(0x1d0),'d':_0x5d76ec(0x221),'fillRule':_0x5d76ec(0x1f0),'clipRule':_0x5d76ec(0x1f0)}}]},Y=d['forwardRef'](function(_0x14a7ce,_0x4a5a9e){var _0x59d7f4=_0x5d76ec;return d['createElement'](_,Object[_0x59d7f4(0x1ec)]({},_0x14a7ce,{'id':_0x59d7f4(0x23b),'ref':_0x4a5a9e,'icon':he}));});Y[_0x5d76ec(0x2d0)]=_0x5d76ec(0x15e);var me={'tag':_0x5d76ec(0x2b5),'attrs':{'xmlns':_0x5d76ec(0x295),'fill':_0x5d76ec(0x180),'viewBox':_0x5d76ec(0x2df),'width':_0x5d76ec(0x29e),'height':_0x5d76ec(0x29e)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d76ec(0x2d3)},'children':[{'tag':_0x5d76ec(0x287),'attrs':{'stroke':'currentColor','d':_0x5d76ec(0x17f),'strokeLinecap':'round','strokeLinejoin':_0x5d76ec(0x174),'strokeWidth':1.2}}]},{'tag':_0x5d76ec(0x161),'attrs':{},'children':[{'tag':_0x5d76ec(0x1d1),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x5d76ec(0x287),'attrs':{'fill':'white','d':_0x5d76ec(0x1c4)}}]}]}],'defIds':[_0x5d76ec(0x1d8)]},q=d[_0x5d76ec(0x250)](function(_0x9d8ebc,_0x36838d){var _0x73abdf=_0x5d76ec;return d[_0x73abdf(0x21f)](_,Object[_0x73abdf(0x1ec)]({},_0x9d8ebc,{'id':_0x73abdf(0x151),'ref':_0x36838d,'icon':me}));});q[_0x5d76ec(0x2d0)]=_0x5d76ec(0x276);var xe={'tag':_0x5d76ec(0x2b5),'attrs':{'xmlns':_0x5d76ec(0x295),'fill':'none','viewBox':_0x5d76ec(0x202),'width':_0x5d76ec(0x29e),'height':_0x5d76ec(0x29e)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d76ec(0x209)},'children':[{'tag':_0x5d76ec(0x287),'attrs':{'stroke':_0x5d76ec(0x1d0),'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':_0x5d76ec(0x174),'strokeLinejoin':_0x5d76ec(0x174),'strokeWidth':1.2}}]},{'tag':_0x5d76ec(0x161),'attrs':{},'children':[{'tag':_0x5d76ec(0x1d1),'attrs':{'id':_0x5d76ec(0x207)},'children':[{'tag':'path','attrs':{'fill':_0x5d76ec(0x1a9),'d':_0x5d76ec(0x1c4),'transform':'translate(.97)'}}]}]}],'defIds':[_0x5d76ec(0x207)]},V=d[_0x5d76ec(0x250)](function(_0x30f222,_0x4d18dd){var _0x5960b=_0x5d76ec;return d[_0x5960b(0x21f)](_,Object[_0x5960b(0x1ec)]({},_0x30f222,{'id':_0x5960b(0x17e),'ref':_0x4d18dd,'icon':xe}));});V[_0x5d76ec(0x2d0)]=_0x5d76ec(0x1ce);function W(_0x4b5216){var _0x234171=_0x5d76ec,_0x572584,_0x5041f2;const {mcpCoreConfig:_0x59134b,onSave:_0xd1d20b,loading:_0x552001=!0x1,config:_0x90f87,connectionStatus$:_0x114c18,connectionError$:_0x84c1e9,currentApiKey$:_0x4a0afb,currentSessionId$:_0x393ca9}=_0x4b5216,_0x59daa5=v[_0x234171(0x1e4)](l['LocaleService']),_0x1e90b4=v[_0x234171(0x245)](_0x114c18,s[_0x234171(0x162)][_0x234171(0x23a)]),_0x5d4e3d=v[_0x234171(0x245)](_0x84c1e9,s[_0x234171(0x1fe)][_0x234171(0x1f3)]),_0x203a49=v[_0x234171(0x245)](_0x393ca9,''),_0x49064a=v[_0x234171(0x245)](_0x4a0afb,''),[_0x387277,_0x10de5b]=d['useState'](_0x49064a||''),_0x15e905=!0x0,_0x23fbad=_0x90f87[_0x234171(0x247)]&&_0x59134b['mcpServerUrl']&&(_0x59134b[_0x234171(0x2c3)][_0x234171(0x1b7)]('univer.plus')||_0x59134b[_0x234171(0x2c3)][_0x234171(0x1b7)](_0x234171(0x23f))),_0x315239=(_0x572584=_0x59134b[_0x234171(0x2c3)])==null?void 0x0:_0x572584[_0x234171(0x1b7)](_0x234171(0x2d7)),_0x5eb0ea=(_0x5041f2=_0x59134b[_0x234171(0x2c3)])==null?void 0x0:_0x5041f2[_0x234171(0x1b7)](_0x234171(0x23f)),_0x26558f=_0x315239?_0x234171(0x2cf):_0x234171(0x29f),_0x64b76a=_0x90f87[_0x234171(0x247)]&&(_0x315239||_0x5eb0ea),[_0x46801c,_0x24d910]=d[_0x234171(0x1cf)](!_0x387277['trim']()),_0x5629fb=(_0x186d31,_0x4014f4)=>{var _0x1da0f9=_0x234171;if(_0x4014f4===s[_0x1da0f9(0x1fe)][_0x1da0f9(0x206)])return _0x1da0f9(0x2bb);switch(_0x186d31){case s[_0x1da0f9(0x162)]['CONNECTED']:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s[_0x1da0f9(0x162)][_0x1da0f9(0x21e)]:case s[_0x1da0f9(0x162)][_0x1da0f9(0x251)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x1da0f9(0x162)][_0x1da0f9(0x216)]:return _0x1da0f9(0x2bb);default:return _0x1da0f9(0x15f);}},_0x40f5f4=(_0x6d35e6,_0x27937d)=>{var _0x4f90ce=_0x234171;if(_0x27937d===s[_0x4f90ce(0x1fe)][_0x4f90ce(0x206)])return _0x4f90ce(0x1e6);switch(_0x6d35e6){case s[_0x4f90ce(0x162)][_0x4f90ce(0x1a5)]:return _0x4f90ce(0x29b);case s[_0x4f90ce(0x162)][_0x4f90ce(0x21e)]:case s[_0x4f90ce(0x162)][_0x4f90ce(0x251)]:return _0x4f90ce(0x1ac);case s[_0x4f90ce(0x162)]['FAILED']:return'univer-bg-red-500';default:return _0x4f90ce(0x181);}},_0x4813a9=_0xa9f381=>{var _0x1b76ee=_0x234171;switch(_0xa9f381){case s[_0x1b76ee(0x162)]['CONNECTED']:return _0x59daa5['t']('mcpConfig.connectionStatus.connected');case s[_0x1b76ee(0x162)][_0x1b76ee(0x21e)]:return _0x59daa5['t'](_0x1b76ee(0x232));case s[_0x1b76ee(0x162)]['FAILED']:return _0x59daa5['t'](_0x1b76ee(0x166));case s['MCPConnectionStatus'][_0x1b76ee(0x251)]:return _0x59daa5['t'](_0x1b76ee(0x21b));default:return _0x59daa5['t'](_0x1b76ee(0x19f));}},_0x482a64=_0x3040a9=>{var _0x3ca1d8=_0x234171;switch(_0x3040a9){case s[_0x3ca1d8(0x1fe)][_0x3ca1d8(0x206)]:return _0x59daa5['t'](_0x3ca1d8(0x24c));case s['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x59daa5['t'](_0x3ca1d8(0x25c));case s['MCPConnectionError'][_0x3ca1d8(0x1d5)]:return _0x59daa5['t'](_0x3ca1d8(0x163));case s[_0x3ca1d8(0x1fe)][_0x3ca1d8(0x2e0)]:return _0x59daa5['t'](_0x3ca1d8(0x1a2));default:return'';}},_0x25be3b=d[_0x234171(0x271)](()=>{const _0x420448={..._0x59134b,'apiKey':_0x387277['trim'](),'enableAuth':_0x15e905};_0xd1d20b(_0x420448);},[_0x59134b,_0x387277,_0x15e905,_0xd1d20b]),_0x58219f=_0x387277[_0x234171(0x212)]()['length']>0x0;return t['jsxs'](_0x234171(0x182),{'className':_0x234171(0x280),'children':[t['jsx'](_0x234171(0x182),{'className':_0x234171(0x155),'children':t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x205),'children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':t['jsx'](_0x234171(0x1bd),{'className':'univer-text-white','children':'⚙'})}),t[_0x234171(0x16f)](_0x234171(0x182),{'children':t[_0x234171(0x16f)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x59daa5['t'](_0x234171(0x16a))})})]})}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x1ed),'children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x167)+_0x5629fb(_0x1e90b4,_0x5d4e3d)+_0x234171(0x199),'children':t[_0x234171(0x1c7)]('div',{'className':_0x234171(0x2c0),'children':[t[_0x234171(0x16f)]('div',{'className':_0x234171(0x172)+_0x40f5f4(_0x1e90b4,_0x5d4e3d)+_0x234171(0x2c9)}),t[_0x234171(0x16f)]('span',{'className':_0x234171(0x21a),'children':_0x4813a9(_0x1e90b4)})]})}),_0x5d4e3d!==s['MCPConnectionError'][_0x234171(0x1f3)]&&(_0x1e90b4===s[_0x234171(0x162)]['FAILED']||_0x5d4e3d===s[_0x234171(0x1fe)][_0x234171(0x206)])&&t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x29c),'children':t[_0x234171(0x1c7)](_0x234171(0x182),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[t[_0x234171(0x16f)](_0x234171(0x1bd),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),t[_0x234171(0x16f)]('p',{'className':_0x234171(0x2bf),'children':_0x482a64(_0x5d4e3d)})]})})]}),t['jsx'](_0x234171(0x182),{'className':_0x234171(0x293),'children':t['jsxs'](_0x234171(0x182),{'className':_0x234171(0x1fd),'children':[t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x20b),'children':[t[_0x234171(0x1c7)]('label',{'className':_0x234171(0x1fc),'children':[t['jsx']('span',{'children':'🔑'}),'\x20',_0x59daa5['t'](_0x234171(0x1f4)),t[_0x234171(0x16f)](_0x234171(0x1bd),{'className':_0x234171(0x1d4),'children':'*'}),_0x23fbad&&t[_0x234171(0x16f)]('a',{'href':_0x234171(0x27e),'onClick':()=>_0x24d910(!0x0),'className':_0x234171(0x183),'title':_0x59daa5['t'](_0x234171(0x16c)),'children':t['jsx'](Y,{})})]}),t[_0x234171(0x16f)](S[_0x234171(0x2a7)],{'type':_0x234171(0x22e),'placeholder':_0x59daa5['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x387277,'onChange':_0x10de5b,'disabled':_0x552001,'autoComplete':_0x234171(0x2b1)}),t[_0x234171(0x16f)]('p',{'className':_0x234171(0x1ad),'children':_0x59daa5['t'](_0x234171(0x220))})]}),_0x23fbad&&_0x46801c&&t['jsxs']('div',{'className':_0x234171(0x1f7),'children':[t[_0x234171(0x16f)]('a',{'href':'javascript:void(0)','onClick':()=>_0x24d910(!0x1),'className':_0x234171(0x168),'title':_0x234171(0x255),'children':t[_0x234171(0x16f)](F,{})}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x1f5),'children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x29a),'children':t[_0x234171(0x16f)](_0x234171(0x1bd),{'className':_0x234171(0x24f),'children':'🚀'})}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x20f),'children':[t[_0x234171(0x16f)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x59daa5['t'](_0x234171(0x16c))}),t[_0x234171(0x16f)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x59daa5['t'](_0x234171(0x1a6))}),t[_0x234171(0x16f)]('div',{'className':_0x234171(0x211),'children':_0x64b76a&&t[_0x234171(0x1c7)]('a',{'href':_0x26558f,'target':'_blank','rel':_0x234171(0x2a8),'className':'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','children':[t['jsx'](_0x234171(0x1bd),{'children':'🤖'}),_0x59daa5['t']('mcpConfig.apiApplyInfo.univerAiLabel'),t[_0x234171(0x16f)](_0x234171(0x1bd),{'className':'univer-text-gray-400','children':'↗'})]})}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x1c8),'children':['✨','\x20',_0x59daa5['t'](_0x234171(0x281))]})]})]})]}),_0x90f87[_0x234171(0x247)]&&t['jsxs'](_0x234171(0x182),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[t['jsxs']('h4',{'className':_0x234171(0x19a),'children':[t[_0x234171(0x16f)](_0x234171(0x1bd),{'children':'🔗'}),'\x20',_0x59daa5['t'](_0x234171(0x18c))]}),t[_0x234171(0x1c7)]('div',{'className':_0x234171(0x204),'children':[t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x1bc),'children':[t[_0x234171(0x16f)]('p',{'className':_0x234171(0x186),'children':_0x59daa5['t']('mcpConfig.configInstructions')}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x20b),'children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x17a),'children':_0x59daa5['t'](_0x234171(0x231))}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x2ae),'children':[t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x2c0),'children':[t[_0x234171(0x16f)](_0x234171(0x1bd),{'className':_0x234171(0x289),'children':'1'}),_0x59daa5['t'](_0x234171(0x25d))]}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x2c0),'children':[t[_0x234171(0x16f)](_0x234171(0x1bd),{'className':_0x234171(0x289),'children':'2'}),_0x59daa5['t']('mcpConfig.configStep2')]}),t['jsxs'](_0x234171(0x182),{'className':_0x234171(0x2c0),'children':[t[_0x234171(0x16f)](_0x234171(0x1bd),{'className':_0x234171(0x289),'children':'3'}),_0x59daa5['t'](_0x234171(0x187))]})]})]})]}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x20b),'children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x17a),'children':'MCP\x20Configuration'}),t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x179),'children':t[_0x234171(0x16f)](_0x234171(0x1b5),{'className':_0x234171(0x240),'children':_0x234171(0x1e0)+_0x203a49+_0x234171(0x230)+(_0x387277||_0x234171(0x217))+_0x234171(0x2c2)})})]}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x1bc),'children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x17a),'children':_0x59daa5['t'](_0x234171(0x19d))}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x20b),'children':[t['jsxs'](_0x234171(0x182),{'className':_0x234171(0x164),'children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),t[_0x234171(0x1c7)]('div',{'className':_0x234171(0x18e),'children':[t[_0x234171(0x16f)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x234171(0x208)}),t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x1ad),'children':_0x59daa5['t']('mcpConfig.sessionIdDescription')})]})]}),t['jsxs'](_0x234171(0x182),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x253)}),t[_0x234171(0x1c7)](_0x234171(0x182),{'className':'univer-min-w-0\x20univer-flex-1','children':[t[_0x234171(0x16f)](_0x234171(0x182),{'className':_0x234171(0x25b),'children':_0x234171(0x1d2)}),t['jsx'](_0x234171(0x182),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x59daa5['t'](_0x234171(0x184))})]})]})]})]})]})]}),t[_0x234171(0x16f)](S[_0x234171(0x20c)],{'onClick':_0x25be3b,'disabled':!_0x58219f||_0x552001,'className':_0x234171(0x1e3),'children':_0x552001?t[_0x234171(0x1c7)]('span',{'className':_0x234171(0x2c0),'children':[t['jsx'](_0x234171(0x1bd),{'children':'⟲'}),_0x59daa5['t'](_0x234171(0x16b))]}):t[_0x234171(0x1c7)](_0x234171(0x1bd),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t[_0x234171(0x16f)](B,{}),_0x59daa5['t'](_0x234171(0x2ab))]})}),t[_0x234171(0x16f)](_0x234171(0x182),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':t[_0x234171(0x1c7)](_0x234171(0x182),{'className':_0x234171(0x178),'children':[t[_0x234171(0x16f)]('span',{'className':_0x234171(0x2d6),'children':'💡'}),t['jsxs'](_0x234171(0x182),{'className':_0x234171(0x20a),'children':[t['jsx']('div',{'className':'univer-font-medium','children':_0x234171(0x2dd)}),t[_0x234171(0x1c7)](_0x234171(0x182),{'children':['•',_0x59daa5['t'](_0x234171(0x1cb))]}),t[_0x234171(0x1c7)]('div',{'children':['•',_0x59daa5['t']('mcpConfig.note2')]})]})]})})]})})]});}const y='mcp-ui.config',G={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object[_0x5d76ec(0x27f)],Pe=(_0x1269f2,_0x9f7292,_0x4e5e12,_0x52042f)=>{var _0x287f6a=_0x5d76ec;for(var _0x3a5e39=_0x52042f>0x1?void 0x0:_0x52042f?Se(_0x9f7292,_0x4e5e12):_0x9f7292,_0x520b32=_0x1269f2[_0x287f6a(0x2b6)]-0x1,_0x43a9e3;_0x520b32>=0x0;_0x520b32--)(_0x43a9e3=_0x1269f2[_0x520b32])&&(_0x3a5e39=_0x43a9e3(_0x3a5e39)||_0x3a5e39);return _0x3a5e39;},f=(_0x4ff7a4,_0x6a9b0a)=>(_0x366ee5,_0x9f8082)=>_0x6a9b0a(_0x366ee5,_0x9f8082,_0x4ff7a4);const D='mcp.apiKey',k=_0x5d76ec(0x2de);exports[_0x5d76ec(0x20e)]=class extends l[_0x5d76ec(0x1ee)]{constructor(_0x30b916,_0x3e3e39,_0x54d62e,_0x212a67,_0x4bc6d7,_0xd9d0ba,_0x130873,_0x18f850,_0x281067,_0xb3d8ce){var _0x47744d=_0x5d76ec;super(),I(this,'_loading$',new N['BehaviorSubject'](!0x1)),I(this,_0x47744d(0x152),new N[(_0x47744d(0x277))]({})),I(this,_0x47744d(0x1e9),new N[(_0x47744d(0x277))]({})),I(this,'_apiKey$',new N[(_0x47744d(0x277))]('')),I(this,_0x47744d(0x2a3),async _0x228404=>{var _0x15b7b3=_0x47744d,_0xc8fe73,_0x17968f;this['_loading$'][_0x15b7b3(0x1d6)](!0x0);try{const _0x347034=await this[_0x15b7b3(0x298)](_0x228404);if(!_0x347034[_0x15b7b3(0x25f)]){this[_0x15b7b3(0x23e)]['show']({'type':S[_0x15b7b3(0x1ae)][_0x15b7b3(0x1f1)],'content':_0x347034[_0x15b7b3(0x254)]||this[_0x15b7b3(0x270)]['t'](_0x15b7b3(0x24a))});return;}_0x228404[_0x15b7b3(0x279)]?await this[_0x15b7b3(0x194)]['setItem'](D,_0x228404[_0x15b7b3(0x279)]['trim']()):await this[_0x15b7b3(0x194)]['removeItem'](D),this['_apiKey$'][_0x15b7b3(0x1d6)](((_0xc8fe73=_0x228404[_0x15b7b3(0x279)])==null?void 0x0:_0xc8fe73[_0x15b7b3(0x212)]())||''),this[_0x15b7b3(0x1eb)]['__setCustomHeaders']({'Authorization':_0x15b7b3(0x25a)+((_0x17968f=_0x228404[_0x15b7b3(0x279)])==null?void 0x0:_0x17968f['trim']())}),this[_0x15b7b3(0x23e)]['show']({'type':S[_0x15b7b3(0x1ae)][_0x15b7b3(0x294)],'content':this[_0x15b7b3(0x270)]['t'](_0x15b7b3(0x2c8))}),setTimeout(()=>{var _0x12232d=_0x15b7b3;this[_0x12232d(0x246)][_0x12232d(0x28a)](k);},0x320);}catch(_0x3dac64){this[_0x15b7b3(0x292)]['error'](_0x15b7b3(0x225),_0x3dac64),this[_0x15b7b3(0x23e)]['show']({'type':S[_0x15b7b3(0x1ae)][_0x15b7b3(0x1f1)],'content':this['_localeService']['t'](_0x15b7b3(0x1d7))});}finally{this[_0x15b7b3(0x233)][_0x15b7b3(0x1d6)](!0x1);}}),(this[_0x47744d(0x2a0)]=_0x30b916,this[_0x47744d(0x2ac)]=_0x3e3e39,this[_0x47744d(0x2ba)]=_0x54d62e,this[_0x47744d(0x194)]=_0x212a67,this[_0x47744d(0x246)]=_0x4bc6d7,this[_0x47744d(0x23e)]=_0xd9d0ba,this[_0x47744d(0x18f)]=_0x130873,this[_0x47744d(0x270)]=_0x18f850,this[_0x47744d(0x292)]=_0x281067,this[_0x47744d(0x1eb)]=_0xb3d8ce,this['_initConfigSync'](),this[_0x47744d(0x21c)](),this['_registerComponent']());}[_0x5d76ec(0x2b8)](){var _0x5566dd=_0x5d76ec;const _0x19b1db=this[_0x5566dd(0x2ba)]['getConfig'](y);_0x19b1db!=null&&_0x19b1db[_0x5566dd(0x247)]&&this[_0x5566dd(0x246)][_0x5566dd(0x14d)]({'id':k,'title':{'title':this['_localeService']['t'](_0x5566dd(0x1f2))},'children':{'label':_0x5566dd(0x1dc)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x230776=_0x5566dd;this[_0x230776(0x246)][_0x230776(0x28a)](k);}});}['getCurrentConfig'](){var _0x4599a4=_0x5d76ec;return this['_mcpCoreConfig$'][_0x4599a4(0x28b)];}[_0x5d76ec(0x18a)](){var _0x4204d6=_0x5d76ec;this['disposeWithMe'](this[_0x4204d6(0x18f)][_0x4204d6(0x2c6)](_0x4204d6(0x1dc),this[_0x4204d6(0x242)]()));}[_0x5d76ec(0x242)](){var _0x495588=_0x5d76ec;return v[_0x495588(0x285)](()=>{var _0x4757f4=_0x495588,_0x54932a,_0x268037,_0x5576d0;return t[_0x4757f4(0x16f)](W,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x4757f4(0x152)][_0x4757f4(0x28b)],'currentApiKey$':this[_0x4757f4(0x19c)],'onSave':this[_0x4757f4(0x2a3)],'loading':this['_loading$'][_0x4757f4(0x28b)],'connectionStatus$':(_0x54932a=this[_0x4757f4(0x1eb)])==null?void 0x0:_0x54932a[_0x4757f4(0x1ba)],'connectionError$':(_0x268037=this[_0x4757f4(0x1eb)])==null?void 0x0:_0x268037['connectionError$'],'currentSessionId$':(_0x5576d0=this['_mcpConnectionController'])==null?void 0x0:_0x5576d0[_0x4757f4(0x193)]});},this[_0x495588(0x2a0)]);}[_0x5d76ec(0x2af)](){var _0x3b2d8e=_0x5d76ec;this[_0x3b2d8e(0x29d)](this[_0x3b2d8e(0x2ba)][_0x3b2d8e(0x20d)](s[_0x3b2d8e(0x2cb)])[_0x3b2d8e(0x214)](_0x3347d4=>{var _0x594ef5=_0x3b2d8e;this[_0x594ef5(0x152)][_0x594ef5(0x1d6)](_0x3347d4||{});}));const _0x3fd18a=this['_configService'][_0x3b2d8e(0x2c4)](s[_0x3b2d8e(0x2cb)]);this[_0x3b2d8e(0x152)][_0x3b2d8e(0x1d6)](_0x3fd18a||{}),this[_0x3b2d8e(0x29d)](this['_configService'][_0x3b2d8e(0x20d)](y)[_0x3b2d8e(0x214)](_0x431842=>{var _0x23728d=_0x3b2d8e;this[_0x23728d(0x1e9)][_0x23728d(0x1d6)](_0x431842||{});}));const _0x14ae74=this['_configService']['getConfig'](y);this[_0x3b2d8e(0x1e9)]['next'](_0x14ae74||{});}async[_0x5d76ec(0x21c)](){var _0x2e65c1=_0x5d76ec;const _0x7d3749=this[_0x2e65c1(0x2ba)][_0x2e65c1(0x2c4)](y);if(!(_0x7d3749!=null&&_0x7d3749[_0x2e65c1(0x247)]))return;const _0x422ca8=await this[_0x2e65c1(0x194)][_0x2e65c1(0x200)](D);_0x422ca8&&(this[_0x2e65c1(0x1eb)]['__setCustomHeaders']({'Authorization':_0x2e65c1(0x25a)+_0x422ca8}),this[_0x2e65c1(0x19c)][_0x2e65c1(0x1d6)](_0x422ca8));}async[_0x5d76ec(0x298)](_0x505e4e){var _0x49bc1c=_0x5d76ec;if(!_0x505e4e[_0x49bc1c(0x279)]||_0x505e4e['apiKey'][_0x49bc1c(0x212)]()[_0x49bc1c(0x2b6)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x49bc1c(0x270)]['t'](_0x49bc1c(0x2a9))};if(_0x505e4e[_0x49bc1c(0x279)][_0x49bc1c(0x212)]()[_0x49bc1c(0x2b6)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x49bc1c(0x270)]['t'](_0x49bc1c(0x189))};try{const _0x28a7d3=await this[_0x49bc1c(0x2a0)]['get'](s[_0x49bc1c(0x173)])[_0x49bc1c(0x27a)](_0x505e4e[_0x49bc1c(0x279)]['trim']());return _0x28a7d3['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x28a7d3[_0x49bc1c(0x2c1)]||this[_0x49bc1c(0x270)]['t'](_0x49bc1c(0x153))};}catch(_0x1b7e21){return console[_0x49bc1c(0x2d8)](_0x49bc1c(0x2b0),_0x1b7e21),{'isValid':!0x0};}}},exports['MCPConfigUIController']=Pe([f(0x0,l[_0x5d76ec(0x1b6)](l['Injector'])),f(0x1,v[_0x5d76ec(0x1c6)]),f(0x2,l[_0x5d76ec(0x272)]),f(0x3,l[_0x5d76ec(0x19b)]),f(0x4,v[_0x5d76ec(0x28d)]),f(0x5,v[_0x5d76ec(0x2a2)]),f(0x6,l[_0x5d76ec(0x1b6)](v[_0x5d76ec(0x2d4)])),f(0x7,l[_0x5d76ec(0x1b6)](l[_0x5d76ec(0x274)])),f(0x8,l[_0x5d76ec(0x1fb)]),f(0x9,l[_0x5d76ec(0x1b6)](s[_0x5d76ec(0x173)]))],exports[_0x5d76ec(0x20e)]);const j={'id':_0x5d76ec(0x23d),'type':l['CommandType']['COMMAND'],'handler':async(_0x3ad591,_0x2fa7a7)=>(_0x3ad591['get'](exports[_0x5d76ec(0x20e)])[_0x5d76ec(0x2b8)](),!0x0)};function Z(_0x22eecf,_0x15ae56){var _0x5b91e5=_0x5d76ec;switch(_0x22eecf){case s[_0x5b91e5(0x162)][_0x5b91e5(0x23a)]:return _0x5b91e5(0x1c3);case s['MCPConnectionStatus'][_0x5b91e5(0x21e)]:return _0x5b91e5(0x1c0);case s[_0x5b91e5(0x162)][_0x5b91e5(0x1a5)]:return _0x5b91e5(0x261);case s[_0x5b91e5(0x162)][_0x5b91e5(0x216)]:switch(_0x15ae56){case s[_0x5b91e5(0x1fe)][_0x5b91e5(0x206)]:return _0x5b91e5(0x1ea);case s['MCPConnectionError'][_0x5b91e5(0x1ab)]:return _0x5b91e5(0x263);case s[_0x5b91e5(0x1fe)][_0x5b91e5(0x1d5)]:return _0x5b91e5(0x1e8);case s[_0x5b91e5(0x1fe)][_0x5b91e5(0x2e0)]:return _0x5b91e5(0x234);default:return'mcpStatus.failed';}case s['MCPConnectionStatus'][_0x5b91e5(0x251)]:return _0x5b91e5(0x28c);default:return'mcpStatus.unknown';}}function ye(_0x404675,_0x1c8e61,_0x55d0bc,_0x224227=!0x0){var _0xd202ed=_0x5d76ec;const _0x84b007=Z(_0x404675,_0x1c8e61),_0x4e0eed=_0x55d0bc['t'](_0x84b007);return _0x224227?_0x404675===s[_0xd202ed(0x162)][_0xd202ed(0x23a)]&&_0x1c8e61===s[_0xd202ed(0x1fe)][_0xd202ed(0x206)]?_0x4e0eed+_0xd202ed(0x2da)+_0x55d0bc['t']('mcpStatus.clickToConfigure'):_0x404675===s[_0xd202ed(0x162)][_0xd202ed(0x1a5)]?''+_0x4e0eed:_0x404675===s[_0xd202ed(0x162)]['DISCONNECTED']||_0x404675===s[_0xd202ed(0x162)][_0xd202ed(0x216)]?_0x4e0eed+_0xd202ed(0x2da)+_0x55d0bc['t'](_0xd202ed(0x150)):_0x4e0eed:_0x4e0eed;}function _0x19f9(_0x3dc509,_0x512a0d){var _0x35b461=_0x35b4();return _0x19f9=function(_0x19f94e,_0x25bcaa){_0x19f94e=_0x19f94e-0x14d;var _0x50b8d0=_0x35b461[_0x19f94e];return _0x50b8d0;},_0x19f9(_0x3dc509,_0x512a0d);}function Ie(_0x41dfd6){var _0x7a81ce=_0x5d76ec;switch(_0x41dfd6){case s[_0x7a81ce(0x162)][_0x7a81ce(0x1a5)]:return _0x7a81ce(0x2a6);case s[_0x7a81ce(0x162)][_0x7a81ce(0x21e)]:case s['MCPConnectionStatus'][_0x7a81ce(0x251)]:return _0x7a81ce(0x1b1);case s[_0x7a81ce(0x162)][_0x7a81ce(0x216)]:case s[_0x7a81ce(0x162)][_0x7a81ce(0x23a)]:return _0x7a81ce(0x1d4);default:return'univer-text-gray-500';}}function X(_0x239e20){var _0x46f255=_0x5d76ec;const {status$:_0x59cad3,error$:_0x452a3f,onConfigure:_0x3bd69a,showClickable:_0x53c475=!0x0}=_0x239e20,_0x22839=v['useObservable'](_0x59cad3,s[_0x46f255(0x162)][_0x46f255(0x23a)]),_0x399fa2=v[_0x46f255(0x245)](_0x452a3f,s['MCPConnectionError'][_0x46f255(0x1f3)]),_0x24530b=v[_0x46f255(0x1e4)](l['LocaleService']),_0x4b3c7c=_0x22839===s['MCPConnectionStatus'][_0x46f255(0x1a5)];_0x22839===s[_0x46f255(0x162)][_0x46f255(0x21e)]||s[_0x46f255(0x162)]['RETRYING'];const _0x59d86a=_0x24530b['t'](Z(_0x22839,_0x399fa2)),_0x24afe3=ye(_0x22839,_0x399fa2,_0x24530b,_0x53c475),_0x482976=Ie(_0x22839),_0x4244c1=_0x4b3c7c?t[_0x46f255(0x16f)](V,{}):t[_0x46f255(0x16f)](q,{}),_0x215776=d[_0x46f255(0x271)](()=>{_0x53c475&&_0x3bd69a&&_0x3bd69a();},[_0x53c475,_0x3bd69a]);function _0x4b57ad(){var _0x35b56d=_0x46f255;return t[_0x35b56d(0x1c7)]('div',{'className':S[_0x35b56d(0x26b)](_0x35b56d(0x264),_0x53c475&&_0x3bd69a&&_0x35b56d(0x15d)),'onClick':_0x53c475&&_0x3bd69a?_0x215776:void 0x0,'children':[t['jsx'](_0x35b56d(0x182),{'className':S['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x482976),'children':_0x4244c1}),t[_0x35b56d(0x16f)](_0x35b56d(0x182),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x59d86a})]});}return t[_0x46f255(0x16f)](S[_0x46f255(0x23c)],{'title':_0x24afe3,'placement':_0x46f255(0x2b7),'children':_0x4b57ad()});}var _e=Object[_0x5d76ec(0x27f)],Me=(_0x515ef9,_0x56e644,_0x4dac2a,_0x2f778b)=>{for(var _0x15f48b=_0x2f778b>0x1?void 0x0:_0x2f778b?_e(_0x56e644,_0x4dac2a):_0x56e644,_0x2a7b5c=_0x515ef9['length']-0x1,_0x6efc03;_0x2a7b5c>=0x0;_0x2a7b5c--)(_0x6efc03=_0x515ef9[_0x2a7b5c])&&(_0x15f48b=_0x6efc03(_0x15f48b)||_0x15f48b);return _0x15f48b;},b=(_0x58d856,_0x5bb64f)=>(_0x325117,_0x2486c8)=>_0x5bb64f(_0x325117,_0x2486c8,_0x58d856);exports[_0x5d76ec(0x2d5)]=class extends l[_0x5d76ec(0x1ee)]{constructor(_0x14cc0d,_0x401a3d,_0x5448ba,_0x50088a){var _0x18561e=_0x5d76ec;super(),this[_0x18561e(0x2a0)]=_0x14cc0d,this[_0x18561e(0x1c2)]=_0x401a3d,this[_0x18561e(0x2ac)]=_0x5448ba,this['_configService']=_0x50088a,this[_0x18561e(0x1a1)](),this[_0x18561e(0x26a)]();}[_0x5d76ec(0x1a1)](){var _0x3fe426=_0x5d76ec;const _0x3d885f=this[_0x3fe426(0x2ba)][_0x3fe426(0x2c4)](y);_0x3d885f!=null&&_0x3d885f[_0x3fe426(0x247)]&&(this[_0x3fe426(0x1c2)][_0x3fe426(0x1a4)]=!0x1);}[_0x5d76ec(0x26a)](){var _0x4297e7=_0x5d76ec;const _0x798295=this[_0x4297e7(0x2ba)]['getConfig'](y);(_0x798295==null?void 0x0:_0x798295[_0x4297e7(0x1ef)])!==!0x1&&this['disposeWithMe'](this[_0x4297e7(0x2ac)][_0x4297e7(0x265)](v[_0x4297e7(0x1a7)][_0x4297e7(0x1b0)],()=>{var _0x12dc0f=_0x4297e7,_0x6e9aea;return v[_0x12dc0f(0x285)](Ne({'status$':this[_0x12dc0f(0x1c2)][_0x12dc0f(0x1ba)],'error$':this[_0x12dc0f(0x1c2)][_0x12dc0f(0x156)],'onConfigure':()=>this[_0x12dc0f(0x291)](),'showClickable':(_0x6e9aea=_0x798295==null?void 0x0:_0x798295['showDeveloperTools'])!=null?_0x6e9aea:!0x1}),this[_0x12dc0f(0x2a0)]);}));}[_0x5d76ec(0x291)](){var _0x565912=_0x5d76ec;this['_injector']['get'](exports[_0x565912(0x20e)])[_0x565912(0x2b8)]();}},exports[_0x5d76ec(0x2d5)]=Me([b(0x0,l[_0x5d76ec(0x1b6)](l[_0x5d76ec(0x24d)])),b(0x1,l[_0x5d76ec(0x1b6)](s[_0x5d76ec(0x173)])),b(0x2,v[_0x5d76ec(0x1c6)]),b(0x3,l[_0x5d76ec(0x272)])],exports[_0x5d76ec(0x2d5)]);function Ne(_0x5a7fd2){const {status$:_0x42c15b,error$:_0x643c8b,onConfigure:_0x4b1e94,showClickable:_0x5bcb29}=_0x5a7fd2;return function(){var _0x5b21e6=_0x19f9;return t[_0x5b21e6(0x16f)](X,{'status$':_0x42c15b,'error$':_0x643c8b,'onConfigure':_0x4b1e94,'showClickable':_0x5bcb29});};}function be(_0x12320f){var _0x3c963b=_0x5d76ec;return{'id':j['id'],'type':v[_0x3c963b(0x176)][_0x3c963b(0x165)],'icon':_0x3c963b(0x266),'title':_0x3c963b(0x1f2),'tooltip':_0x3c963b(0x1f2)};}const je={[v[_0x5d76ec(0x16d)]['OTHERS']]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};function _0x35b4(){var _0x5cfd1c=['MCPStatusDisplay','mcpStatus.connecting','Connected','_connectionController','mcpStatus.disconnected','M0\x200H16V16H0z','_initializeCommands','IUIPartsService','jsxs','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','entries','网络连接错误,请检查您的网络连接','mcpConfig.note1','call','将配置添加到您的\x20MCP\x20客户端设置文件中','OnLineIcon','useState','currentColor','clipPath','Authorization:','Max\x20Retries','univer-text-red-500','NETWORK_ERROR','next','mcpConfig.configError','off-line-icon_clip0_910_343','propertyIsEnumerable','126CACGNa','CloseSmallSingle','MCPConfigPanel','Configuration\x20Parameters:','setConfig','最大重试次数','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','Module','Session\x20ID','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','useDependency','MCP\x20Unknown\x20Status','univer-bg-red-500','重连中...','mcpStatus.networkError','_config$','mcpStatus.unauthorized','_mcpConnectionController','assign','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Disposable','showStatus','evenodd','Error','mcpConfig.title','NONE','mcpConfig.apiKey','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCP\x20连接中...','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','registerCommand','random','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','ILogService','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-space-y-5','MCPConnectionError','未连接','getItem','WebSocketService','0\x200\x2017\x2016','attrs','univer-space-y-4','univer-flex\x20univer-items-center\x20univer-gap-3','UNAUTHORIZED','on-line-icon_clip0_910_349','univer_session_id:','url(#on-line-icon_clip0_910_349)','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-space-y-2','Button','subscribeConfigValue$','MCPConfigUIController','univer-flex-1','replace','univer-flex\x20univer-flex-wrap\x20univer-gap-2','trim','colorChannel1','subscribe','symbol','FAILED','<API_KEY>','MCP_UI_PLUGIN','onStarting','univer-text-sm\x20univer-font-medium','mcpConfig.connectionStatus.retrying','_loadStoredApiKey','close-small-single','CONNECTING','createElement','mcpConfig.apiKeyHint','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','启用身份验证','univerjs-icon\x20univerjs-icon-','tag','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','get','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','0\x200\x2017\x2017','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','连接失败','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','text','has','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','mcpConfig.configStepTitle','mcpConfig.connectionStatus.connecting','_loading$','mcpStatus.maxRetriesExceeded','add','已连接','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','prototype','Save\x20Configuration','DISCONNECTED','help-single','Tooltip','mcp-ui.command.openConfigPanel','_messageService','univer.ai','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','几秒钟内获取您的\x20API\x20密钥','_createConfigPanelComponent','M5.21243\x2012.287L11.8791\x205.62036','UniverMCPUIPlugin','useObservable','_dialogService','showDeveloperTools','Get\x20your\x20API\x20key\x20in\x20seconds','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.validation.invalidConfig','352HJNJaK','mcpConfig.connectionError.unauthorized','Injector','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-text-blue-600','forwardRef','RETRYING','1228YnzHOZ','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','errorMessage','Close','191532kFljCc','check-mark-icon','767652zocYbg','Failed\x20to\x20save\x20configuration','Bearer\x20','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.connectionError.sessionOccupied','mcpConfig.configStep1','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','isValid','DependentOn','mcpStatus.connected','hasOwnProperty','mcpStatus.sessionOccupied','univer-flex\x20univer-items-center','registerComponent','MenuIcon','MCP\x20Client\x20Configuration','defIds','Connection\x20Failed','_initStatusComponent','clsx','超出最大重试次数,请稍后再试','MCP\x20重连中...','MCP\x20Connection\x20Failed','MCP:\x20Max\x20Retries\x20Exceeded','_localeService','useCallback','IConfigService','API\x20key\x20with\x20Bearer\x20prefix.','LocaleService','_initializeMenus','OffLineIcon','BehaviorSubject','url(#$1','apiKey','validateApiKey','CheckMarkIcon','配置参数:','MCP:\x20Network\x20Error','javascript:void(0)','getOwnPropertyDescriptor','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.apiApplyInfo.getStarted','pluginName','Enable\x20Authentication','concat','connectInjector','1945mHKbSp','path','MCPUIMenuController','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','close','value','mcpStatus.retrying','IDialogService','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','extend','权限验证失败,请检查您的\x20API\x20密钥','_handleConfigure','_logService','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Success','http://www.w3.org/2000/svg','Connecting...','您的\x20API\x20密钥安全存储在本地存储中','_validateConfig','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-bg-green-500','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','disposeWithMe','1em','https://console.univer.ai','_injector','MCP\x20Connected','IMessageService','_handleConfigSave','_menuManagerService','会话ID','univer-text-green-500','Input','noopener\x20noreferrer','mcpConfig.validation.apiKeyRequired','MCP\x20配置','mcpConfig.save','_uiPartsService','Configuration\x20Steps:','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_initConfigSync','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','off','保存中...','ISocketService','mask','svg','length','bottom','showConfigPanel','843054siVGcy','_configService','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','70460mydBaw','indexOf','API\x20密钥','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-flex\x20univer-items-center\x20univer-gap-2','error','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','mcpServerUrl','getConfig','点击连接\x20MCP','register','_config','mcpConfig.configSaved','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','1146Aluvqt','MCP_PLUGIN_CONFIG_KEY','current','Enable\x20authentication\x20for\x20secure\x20connections','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','https://console.univer.plus','displayName','点击配置\x20MCP','重启您的\x20MCP\x20客户端以使配置生效','url(#off-line-icon_clip0_910_343)','ComponentManager','MCPConnectionUIController','univer-flex-shrink-0\x20univer-text-blue-500','univer.plus','warn','Retrying...','\x20-\x20','enUS','MCP\x20Configuration','Configuration\x20Notes:','mcp-config-dialog','0\x200\x2016\x2016','MAX_RETRIES_EXCEEDED','open','map','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpStatus.clickToConnect','off-line-icon','_mcpCoreConfig$','mcpConfig.validation.invalidApiKey','icon','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','connectionError$','children','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','useRef','forEach','会话\x20ID\x20已被占用,请稍后再试','Enter\x20your\x20API\x20key','\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','HelpSingle','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','IMenuManagerService','defs','MCPConnectionStatus','mcpConfig.connectionError.networkError','univer-flex\x20univer-items-start\x20univer-gap-3','BUTTON','mcpConfig.connectionStatus.failed','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.description','mcpConfig.saving','mcpConfig.apiApplyInfo.title','RibbonStartGroup','toString','jsx','idSuffix','defineProperty','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCPConnectionController','round','配置步骤:','MenuItemType','getOwnPropertySymbols','univer-flex\x20univer-gap-3','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','UniverMCPPlugin','连接中...','带有\x20Bearer\x20前缀的\x20API\x20密钥。','on-line-icon','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','none','univer-bg-gray-500','div','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','mcpConfig.authorizationDescription','xlink:href','univer-text-xs\x20univer-text-gray-600','mcpConfig.configStep3','启用身份验证以获得安全连接','mcpConfig.validation.apiKeyTooShort','_registerComponent','配置保存失败','mcpConfig.connectionInfo','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','univer-min-w-0\x20univer-flex-1','_componentManager','className','MCP:\x20会话\x20ID\x20已被占用','string','sessionId$','_localStorageService','_commandService','Univer\x20AI\x20控制台','M5.21243\x205.62036L11.8791\x2012.287','API\x20Key','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','ILocalStorageService','_apiKey$','mcpConfig.configParameters','MCP\x20Retrying...','mcpConfig.connectionStatus.disconnected','MCP:\x20超出最大重试次数','_initAutoConnect','mcpConfig.connectionError.maxRetriesExceeded','MCP\x20客户端配置','enableAutoConnect','CONNECTED','mcpConfig.apiApplyInfo.description','BuiltInUIPart','26782gbwVvI','white','fill','SESSION_ID_OCCUPIED','univer-bg-blue-500','univer-text-xs\x20univer-text-gray-500','MessageType','Disconnected','HEADER_MENU','univer-text-yellow-500','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','toStringTag','pre','Inject','includes','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','connectionStatus$','保存配置','univer-space-y-3','span','MCP\x20状态未知'];_0x35b4=function(){return _0x5cfd1c;};return _0x35b4();}var Ee=Object[_0x5d76ec(0x27f)],we=(_0x4f59f7,_0x1ae0c4,_0x128242,_0x3c2881)=>{var _0x564a54=_0x5d76ec;for(var _0x483a1e=_0x3c2881>0x1?void 0x0:_0x3c2881?Ee(_0x1ae0c4,_0x128242):_0x1ae0c4,_0x52aab4=_0x4f59f7[_0x564a54(0x2b6)]-0x1,_0x1bc20d;_0x52aab4>=0x0;_0x52aab4--)(_0x1bc20d=_0x4f59f7[_0x52aab4])&&(_0x483a1e=_0x1bc20d(_0x483a1e)||_0x483a1e);return _0x483a1e;},z=(_0x8109be,_0x4c66cd)=>(_0x1fc973,_0x2ab194)=>_0x4c66cd(_0x1fc973,_0x2ab194,_0x8109be);exports[_0x5d76ec(0x288)]=class extends l[_0x5d76ec(0x1ee)]{constructor(_0x5b753a,_0x573946){var _0x1765fb=_0x5d76ec;super(),this[_0x1765fb(0x195)]=_0x5b753a,this[_0x1765fb(0x2a4)]=_0x573946,this[_0x1765fb(0x1c5)](),this[_0x1765fb(0x275)]();}[_0x5d76ec(0x1c5)](){[j]['forEach'](_0x469951=>{var _0x254e9a=_0x19f9;this[_0x254e9a(0x29d)](this[_0x254e9a(0x195)][_0x254e9a(0x1f8)](_0x469951));});}[_0x5d76ec(0x275)](){var _0x3a23d5=_0x5d76ec;this[_0x3a23d5(0x2a4)]['mergeMenu'](je);}},exports[_0x5d76ec(0x288)]=we([z(0x0,l['ICommandService']),z(0x1,v[_0x5d76ec(0x160)])],exports[_0x5d76ec(0x288)]);const Oe={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5d76ec(0x1b8),'connected':_0x5d76ec(0x2a1),'failed':_0x5d76ec(0x26e),'retrying':_0x5d76ec(0x19e),'unknown':_0x5d76ec(0x1e5),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5d76ec(0x27d),'maxRetriesExceeded':_0x5d76ec(0x26f),'clickToConnect':_0x5d76ec(0x1b3),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5d76ec(0x2dc),'description':_0x5d76ec(0x22b),'apiKey':_0x5d76ec(0x198),'apiKeyPlaceholder':_0x5d76ec(0x15c),'apiKeyHint':_0x5d76ec(0x1fa),'enableAuth':_0x5d76ec(0x283),'enableAuthHint':_0x5d76ec(0x2cd),'connectionInfo':_0x5d76ec(0x267),'mcpClientConfig':_0x5d76ec(0x267),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x5d76ec(0x2ad),'configStep1':_0x5d76ec(0x1b9),'configStep2':_0x5d76ec(0x14f),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x5d76ec(0x1e2),'sessionIdDescription':_0x5d76ec(0x2ce),'authorizationDescription':_0x5d76ec(0x273),'configParameters':_0x5d76ec(0x1dd),'maxRetries':_0x5d76ec(0x1d3),'save':_0x5d76ec(0x239),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5d76ec(0x299),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5d76ec(0x259),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5d76ec(0x24e),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5d76ec(0x248)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5d76ec(0x237),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5d76ec(0x25e)},'connectionStatus':{'disconnected':_0x5d76ec(0x1af),'connecting':_0x5d76ec(0x296),'connected':_0x5d76ec(0x1c1),'failed':_0x5d76ec(0x269),'retrying':_0x5d76ec(0x2d9)},'connectionError':{'unauthorized':_0x5d76ec(0x227),'sessionOccupied':_0x5d76ec(0x226),'networkError':_0x5d76ec(0x1b2),'maxRetriesExceeded':_0x5d76ec(0x28e)}}},Ae={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x5d76ec(0x1f6),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x5d76ec(0x26d),'unknown':_0x5d76ec(0x1be),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x5d76ec(0x191),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x5d76ec(0x1a0),'clickToConnect':_0x5d76ec(0x2c5),'clickToConfigure':_0x5d76ec(0x2d1)},'mcpConfig':{'title':_0x5d76ec(0x2aa),'description':_0x5d76ec(0x169),'apiKey':_0x5d76ec(0x2be),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x5d76ec(0x249),'enableAuth':_0x5d76ec(0x222),'enableAuthHint':_0x5d76ec(0x188),'connectionInfo':_0x5d76ec(0x1a3),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x5d76ec(0x175),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x5d76ec(0x1cd),'configStep3':_0x5d76ec(0x2d2),'sessionId':_0x5d76ec(0x2a5),'sessionIdDescription':_0x5d76ec(0x158),'authorizationDescription':_0x5d76ec(0x17d),'configParameters':_0x5d76ec(0x27c),'maxRetries':_0x5d76ec(0x1df),'save':_0x5d76ec(0x1bb),'saving':_0x5d76ec(0x2b2),'note1':'配置更改将立即生效','note2':_0x5d76ec(0x297),'configSaved':'配置保存成功','configError':_0x5d76ec(0x18b),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x5d76ec(0x229),'univerAiLabel':_0x5d76ec(0x196),'getStarted':_0x5d76ec(0x241)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x5d76ec(0x1ff),'connecting':_0x5d76ec(0x17c),'connected':_0x5d76ec(0x236),'failed':_0x5d76ec(0x22c),'retrying':_0x5d76ec(0x1e7)},'connectionError':{'unauthorized':_0x5d76ec(0x290),'sessionOccupied':_0x5d76ec(0x15b),'networkError':_0x5d76ec(0x1ca),'maxRetriesExceeded':_0x5d76ec(0x26c)}}};var De=Object[_0x5d76ec(0x171)],ke=Object[_0x5d76ec(0x27f)],Ue=(_0x405254,_0x23786d,_0x566f52)=>_0x23786d in _0x405254?De(_0x405254,_0x23786d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x566f52}):_0x405254[_0x23786d]=_0x566f52,Te=(_0x4861e4,_0x3cd007,_0x1833a5,_0x51039b)=>{var _0x4641f1=_0x5d76ec;for(var _0x35dfdd=_0x51039b>0x1?void 0x0:_0x51039b?ke(_0x3cd007,_0x1833a5):_0x3cd007,_0x1a9ab0=_0x4861e4[_0x4641f1(0x2b6)]-0x1,_0x41d00b;_0x1a9ab0>=0x0;_0x1a9ab0--)(_0x41d00b=_0x4861e4[_0x1a9ab0])&&(_0x35dfdd=_0x41d00b(_0x35dfdd)||_0x35dfdd);return _0x35dfdd;},M=(_0x2d5b1e,_0x47c110)=>(_0x43b116,_0x272f43)=>_0x47c110(_0x43b116,_0x272f43,_0x2d5b1e),$e=(_0x2aebe1,_0x45e3f9,_0x252dee)=>Ue(_0x2aebe1,_0x45e3f9+'',_0x252dee);exports[_0x5d76ec(0x244)]=class extends l['Plugin']{constructor(_0x19adf5=G,_0x69555a,_0x487f0f,_0x29505f,_0x1396ec,_0x314163){var _0x55e6b1=_0x5d76ec;super(),this[_0x55e6b1(0x2c7)]=_0x19adf5,this['_injector']=_0x69555a,this['_configService']=_0x487f0f,this['_uiPartsService']=_0x29505f,this[_0x55e6b1(0x194)]=_0x1396ec,this['_localeService']=_0x314163;const {..._0x2a06a1}=l['merge']({},G,this['_config']);this[_0x55e6b1(0x2ba)][_0x55e6b1(0x1de)](y,_0x2a06a1);}async[_0x5d76ec(0x219)](){var _0x27e9a9=_0x5d76ec;const _0x2f9a24=[[exports[_0x27e9a9(0x2d5)]],[exports[_0x27e9a9(0x20e)]],[exports['MCPUIMenuController']]];this[_0x27e9a9(0x2a0)][_0x27e9a9(0x22f)](A[_0x27e9a9(0x2b3)])||_0x2f9a24['push']([A[_0x27e9a9(0x2b3)],{'useClass':A[_0x27e9a9(0x201)]}]),_0x2f9a24[_0x27e9a9(0x15a)](_0x5bdd35=>this[_0x27e9a9(0x2a0)][_0x27e9a9(0x235)](_0x5bdd35)),this[_0x27e9a9(0x2a0)]['get'](exports[_0x27e9a9(0x2d5)]),this['_injector'][_0x27e9a9(0x228)](exports[_0x27e9a9(0x20e)]),this[_0x27e9a9(0x2a0)][_0x27e9a9(0x228)](exports['MCPUIMenuController']);}},$e(exports[_0x5d76ec(0x244)],_0x5d76ec(0x282),_0x5d76ec(0x218)),exports['UniverMCPUIPlugin']=Te([l[_0x5d76ec(0x260)](s[_0x5d76ec(0x17b)]),M(0x1,l[_0x5d76ec(0x1b6)](l['Injector'])),M(0x2,l[_0x5d76ec(0x272)]),M(0x3,v[_0x5d76ec(0x1c6)]),M(0x4,l[_0x5d76ec(0x19b)]),M(0x5,l['Inject'](l[_0x5d76ec(0x274)]))],exports[_0x5d76ec(0x244)]),exports[_0x5d76ec(0x1dc)]=W,exports[_0x5d76ec(0x1bf)]=X,exports['OpenMCPConfigPanelCommand']=j,exports[_0x5d76ec(0x2db)]=Oe,exports['zhCN']=Ae;
1
+ 'use strict';var _0x301b8c=_0x5c3a;(function(_0x2958a9,_0xf4957c){var _0x4da45d=_0x5c3a,_0x28e391=_0x2958a9();while(!![]){try{var _0x15e852=parseInt(_0x4da45d(0x2e8))/0x1+-parseInt(_0x4da45d(0x2c2))/0x2+-parseInt(_0x4da45d(0x26d))/0x3*(-parseInt(_0x4da45d(0x20d))/0x4)+-parseInt(_0x4da45d(0x18f))/0x5*(parseInt(_0x4da45d(0x1ca))/0x6)+-parseInt(_0x4da45d(0x2f1))/0x7*(parseInt(_0x4da45d(0x29a))/0x8)+parseInt(_0x4da45d(0x244))/0x9*(parseInt(_0x4da45d(0x2c0))/0xa)+parseInt(_0x4da45d(0x25b))/0xb*(parseInt(_0x4da45d(0x1d8))/0xc);if(_0x15e852===_0xf4957c)break;else _0x28e391['push'](_0x28e391['shift']());}catch(_0x5aa6a0){_0x28e391['push'](_0x28e391['shift']());}}}(_0x33ae,0x56f16));var ue=Object['defineProperty'],le=(_0x316b8a,_0x1b6903,_0x9f4e26)=>_0x1b6903 in _0x316b8a?ue(_0x316b8a,_0x1b6903,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9f4e26}):_0x316b8a[_0x1b6903]=_0x9f4e26,I=(_0x33eaff,_0x19f4ad,_0x237716)=>le(_0x33eaff,typeof _0x19f4ad!=_0x301b8c(0x1c7)?_0x19f4ad+'':_0x19f4ad,_0x237716);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x301b8c(0x297)});const l=require('@univerjs/core'),t=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),S=require('@univerjs/design'),v=require('@univerjs/ui'),N=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _0x33ae(){var _0x3fb6e4=['univer.plus','HelpSingle','replace','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-text-gray-400','启用身份验证以获得安全连接','Configuration\x20Steps:','connectionStatus$','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','univer-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','_createConfigPanelComponent','entries','UniverIcon','get','univer-text-yellow-500','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Injector','createElement','attrs','M0\x200H16V16H0z','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children','Retrying...','show','univer-flex-shrink-0\x20univer-text-blue-500','tag','push','univer-text-gray-500','mcpConfig.connectionError.unauthorized','propertyIsEnumerable','连接失败','_apiKey$','Max\x20Retries','univer-space-y-4','mcpConfig.validation.apiKeyRequired','mcpConfig.connectionStatus.retrying','_injector','DependentOn','Button','MCP:\x20未授权','2241870ZDPjIl','_initializeCommands','MCPConfigPanel','url(#off-line-icon_clip0_910_343)','ICommandService','连接中...','_registerComponent','defs','onStarting','icon','connectInjector','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','url(#$1','white','univer-flex\x20univer-items-start\x20univer-gap-2','MCP\x20连接中...','mcpStatus.connecting','MCP\x20Disconnected','mcpStatus.disconnected','javascript:void(0)','trim','subscribeConfigValue$','univer-bg-green-500','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','string','useCallback','Input','_componentManager','off-line-icon','RETRYING','M5.21243\x205.62036L11.8791\x2012.287','span','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','IMenuManagerService','_validateConfig','assign','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Authorization:','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','ComponentManager','error','mcpConfig.configStepTitle','What\x20is\x20API\x20Key?','NETWORK_ERROR','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Configuration','useRef','colorChannel1','use','zhCN','univer-bg-gray-500','univer-flex\x20univer-items-center\x20univer-gap-3','Saving...','Success','_handleConfigSave','symbol','重启您的\x20MCP\x20客户端以使配置生效','MCP\x20状态未知','6QZosCh','univer-font-medium','MCP:\x20Network\x20Error','IUIPartsService','disposeWithMe','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.connectionError.networkError','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','getOwnPropertySymbols','Click\x20to\x20connect\x20MCP','UniverMCPUIPlugin','LocaleService','API\x20密钥长度至少需要\x2010\x20位','Configuration\x20Parameters:','162096gCASmo','getItem','OTHERS','next','univer-text-green-500','MCPConnectionController','forEach','MCP\x20Client\x20Configuration','function','WebSocketService','MCPStatusDisplay','univer-text-blue-600','_initializeMenus','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20连接失败','MCPUIMenuController','MCP\x20Connection\x20Failed','univer-text-sm\x20univer-text-gray-500','CheckMarkIcon','registerCommand','univer-flex\x20univer-items-center\x20univer-gap-2','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Save\x20Configuration','_config$','setItem','_handleConfigure','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','extend','mcpConfig.configStep2','_dialogService','Enable\x20Authentication','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','保存配置','add','什么是\x20API\x20密钥?','mcpStatus.connected','IConfigService','call','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RibbonStartGroup','CommandType','mcpStatus.clickToConfigure','showConfigPanel','univer-text-xs\x20univer-text-gray-500','_localStorageService','none','univer-space-y-3','MCP\x20客户端配置','MCP_PLUGIN_CONFIG_KEY','mcpConfig.connectionStatus.connected','map','\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','69164NLKaBj','API\x20Key','on-line-icon_clip0_910_349','idSuffix','hasOwnProperty','mcpConfig.description','_uiPartsService','help-single','将以下配置添加到您的\x20MCP\x20客户端设置中:','点击配置\x20MCP','MAX_RETRIES_EXCEEDED','将配置添加到您的\x20MCP\x20客户端设置文件中','Click\x20to\x20configure\x20MCP','mcpConfig.configStep3','univer-flex\x20univer-flex-wrap\x20univer-gap-2','0\x200\x2017\x2017','mcpServerUrl','mcp-config-dialog','getOwnPropertyDescriptor','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','_mcpConnectionController','http://www.w3.org/2000/svg','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','on-line-icon','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpConfig.connectionInfo','Disposable','Configuration\x20saved\x20successfully','mcpConfig.configParameters','MCP:\x20Max\x20Retries\x20Exceeded','label','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','errorMessage','mcpConfig.note2','url(#on-line-icon_clip0_910_349)','univer-text-red-500','mcpConfig.saving','univer-text-sm\x20univer-font-medium','OpenMCPConfigPanelCommand','mcpConfig.validation.invalidConfig','_connectionController','_localeService','MCP:\x20网络错误','已连接','ILocalStorageService','mcpConfig.configStep1','BehaviorSubject','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','UniverMCPPlugin','会话ID','mcpStatus.networkError','BuiltInUIPart','_loading$','enUS','45yvLPFP','mcpStatus.failed','配置无效','concat','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','className','mask','Univer\x20AI\x20Console','网络连接错误,请检查您的网络连接','apiKey','_configService','MCPConnectionError','0\x200\x2016\x2016','Bearer\x20','showDeveloperTools','check-mark-icon','API\x20密钥不能为空','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','配置保存失败','请输入您的\x20API\x20密钥','univerjs-icon\x20univerjs-icon-','showStatus','jsx','539rndBib','connectionError$','currentColor','MCPConfigUIController','Connection\x20Failed','Inject','univer-bg-red-500','重连中...','bottom','xlink:href','API\x20密钥','配置保存成功','mergeMenu','text','close','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-flex\x20univer-items-start\x20univer-gap-3','mcpStatus.maxRetriesExceeded','39RKNlfG','length','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','IDialogService','univer-min-w-0\x20univer-flex-1','启用身份验证','_initConfigSync','SESSION_ID_OCCUPIED','mcpConfig.apiApplyInfo.getStarted','_mcpCoreConfig$','mcpConfig.connectionError.maxRetriesExceeded','univer-space-y-2','API\x20key\x20with\x20Bearer\x20prefix.','useDependency','mcpConfig.apiApplyInfo.univerAiLabel','random','FAILED','mcpConfig.connectionStatus.connecting','indexOf','mcpConfig.save','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','includes','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpStatus.unauthorized','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcp-ui.config','defIds','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','_logService','univer-flex\x20univer-items-center','_loadStoredApiKey','mcpStatus.retrying','MenuIcon','useObservable','mcpConfig.note1','sessionId$','mcpConfig.configError','off-line-icon_clip0_910_343','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','\x20-\x20','Module','noopener\x20noreferrer','clsx','336560uANVEk','NONE','CloseSmallSingle','最大重试次数','setConfig','getConfig','_messageService','HEADER_MENU','M5.21243\x2012.287L11.8791\x205.62036','MenuItemType','round','div','Connected','__setCustomHeaders','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','svg','MCP:\x20超出最大重试次数','Tooltip','1em','useState','off','MCPConnectionUIController','subscribe','mcpConfig.title','OnLineIcon','MCP\x20Connected','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpStatus.clickToConnect','0\x200\x2017\x2016','MCP\x20重连中...','_config','BUTTON','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-text-white','Plugin','MCP\x20Retrying...','权限验证失败,请检查您的\x20API\x20密钥','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','691850pBTcka','value','288602nescML','DISCONNECTED','mcpConfig.validation.apiKeyTooShort','mcpConfig.apiApplyInfo.title','univer-text-xs\x20univer-text-gray-600','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','register','univer.ai','_initStatusComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','enableAutoConnect','CONNECTING','displayName','mcpConfig.connectionStatus.disconnected','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','mcpStatus.sessionOccupied','MCP\x20已断开','MCPConnectionStatus','warn','您的\x20API\x20密钥将在此浏览器中本地存储','IMessageService','prototype','mcpConfig.apiKeyPlaceholder','evenodd','isValid','Close','univer-flex-1','_commandService','univer-flex-shrink-0\x20univer-text-red-500','univer-flex\x20univer-gap-3','_menuManagerService','https://console.univer.ai','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','path','forwardRef','Copy\x20the\x20JSON\x20configuration\x20below','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20Connecting...','136893NRlNkM','fill','_initAutoConnect','jsxs','CONNECTED','mcpConfig.apiKeyHint','open','UNAUTHORIZED','几秒钟内获取您的\x20API\x20密钥','70DANOzT','COMMAND','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20已连接','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpConfig.configInstructions','MessageType','mcpConfig.apiKey'];_0x33ae=function(){return _0x3fb6e4;};return _0x33ae();}var g=function(){var _0x23b9fe=_0x301b8c;return g=Object[_0x23b9fe(0x1b3)]||function(_0x5d8a32){var _0xe529fa=_0x23b9fe;for(var _0x436eba,_0x241f7e=0x1,_0x4ada1f=arguments[_0xe529fa(0x26e)];_0x241f7e<_0x4ada1f;_0x241f7e++){_0x436eba=arguments[_0x241f7e];for(var _0x542fcd in _0x436eba)Object['prototype']['hasOwnProperty'][_0xe529fa(0x1fe)](_0x436eba,_0x542fcd)&&(_0x5d8a32[_0x542fcd]=_0x436eba[_0x542fcd]);}return _0x5d8a32;},g['apply'](this,arguments);},ve=function(_0x4c0ac8,_0x40d8ac){var _0x26819d=_0x301b8c,_0x42b9eb={};for(var _0xb34ab in _0x4c0ac8)Object[_0x26819d(0x2d7)][_0x26819d(0x211)][_0x26819d(0x1fe)](_0x4c0ac8,_0xb34ab)&&_0x40d8ac[_0x26819d(0x280)](_0xb34ab)<0x0&&(_0x42b9eb[_0xb34ab]=_0x4c0ac8[_0xb34ab]);if(_0x4c0ac8!=null&&typeof Object[_0x26819d(0x1d2)]==_0x26819d(0x1e0)){for(var _0xfa286a=0x0,_0xb34ab=Object[_0x26819d(0x1d2)](_0x4c0ac8);_0xfa286a<_0xb34ab[_0x26819d(0x26e)];_0xfa286a++)_0x40d8ac[_0x26819d(0x280)](_0xb34ab[_0xfa286a])<0x0&&Object[_0x26819d(0x2d7)][_0x26819d(0x184)][_0x26819d(0x1fe)](_0x4c0ac8,_0xb34ab[_0xfa286a])&&(_0x42b9eb[_0xb34ab[_0xfa286a]]=_0x4c0ac8[_0xb34ab[_0xfa286a]]);}return _0x42b9eb;},_=d[_0x301b8c(0x2e4)](function(_0x22d883,_0x1476eb){var _0x4ddfd1=_0x301b8c,_0x422a94=_0x22d883[_0x4ddfd1(0x198)],_0xab11d7=_0x22d883['id'],_0x147582=_0x22d883[_0x4ddfd1(0x249)],_0x44c22e=_0x22d883[_0x4ddfd1(0x1f3)],_0x118e7f=ve(_0x22d883,[_0x4ddfd1(0x198),'id',_0x4ddfd1(0x249),'extend']),_0x40c10b=_0x4ddfd1(0x258)[_0x4ddfd1(0x247)](_0xab11d7,'\x20')[_0x4ddfd1(0x247)](_0x147582||'')[_0x4ddfd1(0x1a4)](),_0x5a9d75=d[_0x4ddfd1(0x1be)]('_'[_0x4ddfd1(0x247)](ge()));return H(_0x422a94,''['concat'](_0xab11d7),{'defIds':_0x422a94[_0x4ddfd1(0x289)],'idSuffix':_0x5a9d75['current']},g({'ref':_0x1476eb,'className':_0x40c10b},_0x118e7f),_0x44c22e);});function H(_0x383219,_0x23c0fe,_0x40e6e1,_0x244e15,_0x2680f5){var _0x534ac1=_0x301b8c;return d[_0x534ac1(0x178)](_0x383219[_0x534ac1(0x180)],g(g({'key':_0x23c0fe},de(_0x383219,_0x40e6e1,_0x2680f5)),_0x244e15),(Ce(_0x383219,_0x40e6e1)['children']||[])['map'](function(_0x219487,_0x1ff0c9){var _0x716013=_0x534ac1;return H(_0x219487,''['concat'](_0x23c0fe,'-')[_0x716013(0x247)](_0x383219['tag'],'-')[_0x716013(0x247)](_0x1ff0c9),_0x40e6e1,void 0x0,_0x2680f5);}));}function de(_0x3bb7ae,_0x11efdc,_0x2320ec){var _0x3c1272=_0x301b8c,_0x3d3021=g({},_0x3bb7ae[_0x3c1272(0x179)]);_0x2320ec!=null&&_0x2320ec[_0x3c1272(0x1bf)]&&_0x3d3021[_0x3c1272(0x2e9)]===_0x3c1272(0x1bf)&&(_0x3d3021[_0x3c1272(0x2e9)]=_0x2320ec[_0x3c1272(0x1bf)]),_0x3bb7ae[_0x3c1272(0x180)]==='mask'&&_0x3d3021['id']&&(_0x3d3021['id']=_0x3d3021['id']+_0x11efdc[_0x3c1272(0x210)]),Object[_0x3c1272(0x304)](_0x3d3021)[_0x3c1272(0x1de)](function(_0x610599){var _0x271023=_0x3c1272,_0x15e0f7=_0x610599[0x0],_0xcf8df2=_0x610599[0x1];_0x15e0f7===_0x271023(0x24a)&&typeof _0xcf8df2==_0x271023(0x1a8)&&(_0x3d3021[_0x15e0f7]=_0xcf8df2[_0x271023(0x2fb)](/url\(#(.*)\)/,_0x271023(0x19c)[_0x271023(0x247)](_0x11efdc[_0x271023(0x210)],')')));});var _0x547be0=_0x11efdc[_0x3c1272(0x289)];return!_0x547be0||_0x547be0[_0x3c1272(0x26e)]===0x0||(_0x3bb7ae[_0x3c1272(0x180)]===_0x3c1272(0x1c0)&&_0x3d3021[_0x3c1272(0x264)]&&(_0x3d3021[_0x3c1272(0x264)]=_0x3d3021['xlink:href']+_0x11efdc[_0x3c1272(0x210)]),Object[_0x3c1272(0x304)](_0x3d3021)[_0x3c1272(0x1de)](function(_0x5cdb97){var _0x2e879d=_0x3c1272,_0x12f0b0=_0x5cdb97[0x0],_0x40b49b=_0x5cdb97[0x1];typeof _0x40b49b==_0x2e879d(0x1a8)&&(_0x3d3021[_0x12f0b0]=_0x40b49b[_0x2e879d(0x2fb)](/url\(#(.*)\)/,'url(#$1'[_0x2e879d(0x247)](_0x11efdc[_0x2e879d(0x210)],')')));})),_0x3d3021;}function Ce(_0x1c1206,_0x4bc97c){var _0x89803e=_0x301b8c,_0x85cabc,_0x36760d=_0x4bc97c['defIds'];return!_0x36760d||_0x36760d[_0x89803e(0x26e)]===0x0?_0x1c1206:_0x1c1206[_0x89803e(0x180)]===_0x89803e(0x196)&&(!((_0x85cabc=_0x1c1206[_0x89803e(0x17c)])===null||_0x85cabc===void 0x0)&&_0x85cabc[_0x89803e(0x26e)])?g(g({},_0x1c1206),{'children':_0x1c1206[_0x89803e(0x17c)][_0x89803e(0x20b)](function(_0x4d1278){var _0x3078be=_0x89803e;return typeof _0x4d1278[_0x3078be(0x179)]['id']=='string'&&_0x36760d&&_0x36760d[_0x3078be(0x283)](_0x4d1278['attrs']['id'])?g(g({},_0x4d1278),{'attrs':g(g({},_0x4d1278[_0x3078be(0x179)]),{'id':_0x4d1278[_0x3078be(0x179)]['id']+_0x4bc97c[_0x3078be(0x210)]})}):_0x4d1278;})}):_0x1c1206;}function ge(){var _0x531635=_0x301b8c;return Math[_0x531635(0x27d)]()['toString'](0x24)['substring'](0x2,0x8);}_[_0x301b8c(0x2ce)]=_0x301b8c(0x305);var fe={'tag':'svg','attrs':{'xmlns':_0x301b8c(0x222),'fill':_0x301b8c(0x206),'viewBox':_0x301b8c(0x250),'width':'1em','height':_0x301b8c(0x2ac)},'children':[{'tag':_0x301b8c(0x2e3),'attrs':{'fill':_0x301b8c(0x25d),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':'evenodd','clipRule':_0x301b8c(0x2d9)}}]},B=d[_0x301b8c(0x2e4)](function(_0x2b0a7c,_0x4ddbe0){var _0x3b7012=_0x301b8c;return d[_0x3b7012(0x178)](_,Object['assign']({},_0x2b0a7c,{'id':_0x3b7012(0x253),'ref':_0x4ddbe0,'icon':fe}));});B[_0x301b8c(0x2ce)]=_0x301b8c(0x1ea);var pe={'tag':_0x301b8c(0x2a9),'attrs':{'xmlns':_0x301b8c(0x222),'fill':_0x301b8c(0x206),'viewBox':_0x301b8c(0x21c),'width':_0x301b8c(0x2ac),'height':_0x301b8c(0x2ac)},'children':[{'tag':_0x301b8c(0x2e3),'attrs':{'stroke':_0x301b8c(0x25d),'d':_0x301b8c(0x1ae),'strokeLinecap':_0x301b8c(0x2a4),'strokeLinejoin':_0x301b8c(0x2a4),'strokeWidth':1.33}},{'tag':_0x301b8c(0x2e3),'attrs':{'stroke':_0x301b8c(0x25d),'d':_0x301b8c(0x2a2),'strokeLinecap':_0x301b8c(0x2a4),'strokeLinejoin':'round','strokeWidth':1.33}}]},F=d[_0x301b8c(0x2e4)](function(_0x250e19,_0x31a7e4){var _0xb23045=_0x301b8c;return d['createElement'](_,Object[_0xb23045(0x1b3)]({},_0x250e19,{'id':'close-small-single','ref':_0x31a7e4,'icon':pe}));});F['displayName']=_0x301b8c(0x29c);var he={'tag':_0x301b8c(0x2a9),'attrs':{'xmlns':_0x301b8c(0x222),'fill':_0x301b8c(0x206),'viewBox':'0\x200\x2016\x2016','width':_0x301b8c(0x2ac),'height':_0x301b8c(0x2ac)},'children':[{'tag':_0x301b8c(0x2e3),'attrs':{'fill':'currentColor','d':_0x301b8c(0x2d0)}},{'tag':_0x301b8c(0x2e3),'attrs':{'fill':_0x301b8c(0x25d),'d':_0x301b8c(0x28a)}},{'tag':_0x301b8c(0x2e3),'attrs':{'fill':_0x301b8c(0x25d),'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':_0x301b8c(0x2d9),'clipRule':_0x301b8c(0x2d9)}}]},Y=d[_0x301b8c(0x2e4)](function(_0x4da26a,_0x2987ca){var _0x2205ef=_0x301b8c;return d['createElement'](_,Object[_0x2205ef(0x1b3)]({},_0x4da26a,{'id':_0x2205ef(0x214),'ref':_0x2987ca,'icon':he}));});Y[_0x301b8c(0x2ce)]=_0x301b8c(0x2fa);var me={'tag':_0x301b8c(0x2a9),'attrs':{'xmlns':_0x301b8c(0x222),'fill':'none','viewBox':_0x301b8c(0x250),'width':_0x301b8c(0x2ac),'height':_0x301b8c(0x2ac)},'children':[{'tag':'g','attrs':{'clipPath':_0x301b8c(0x192)},'children':[{'tag':_0x301b8c(0x2e3),'attrs':{'stroke':_0x301b8c(0x25d),'d':_0x301b8c(0x301),'strokeLinecap':_0x301b8c(0x2a4),'strokeLinejoin':_0x301b8c(0x2a4),'strokeWidth':1.2}}]},{'tag':_0x301b8c(0x196),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x301b8c(0x294)},'children':[{'tag':'path','attrs':{'fill':_0x301b8c(0x19d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},q=d[_0x301b8c(0x2e4)](function(_0x4bfed1,_0x92f882){var _0x530f5d=_0x301b8c;return d[_0x530f5d(0x178)](_,Object['assign']({},_0x4bfed1,{'id':_0x530f5d(0x1ac),'ref':_0x92f882,'icon':me}));});q['displayName']='OffLineIcon';var xe={'tag':_0x301b8c(0x2a9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x301b8c(0x206),'viewBox':_0x301b8c(0x2b6),'width':_0x301b8c(0x2ac),'height':_0x301b8c(0x2ac)},'children':[{'tag':'g','attrs':{'clipPath':_0x301b8c(0x230)},'children':[{'tag':_0x301b8c(0x2e3),'attrs':{'stroke':_0x301b8c(0x25d),'d':_0x301b8c(0x23d),'strokeLinecap':_0x301b8c(0x2a4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x301b8c(0x2e3),'attrs':{'fill':'white','d':_0x301b8c(0x17a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x301b8c(0x20f)]},V=d['forwardRef'](function(_0x313969,_0x102af8){var _0x261f97=_0x301b8c;return d['createElement'](_,Object[_0x261f97(0x1b3)]({},_0x313969,{'id':_0x261f97(0x224),'ref':_0x102af8,'icon':xe}));});V[_0x301b8c(0x2ce)]=_0x301b8c(0x2b2);function W(_0x475eee){var _0x50e05b=_0x301b8c,_0x39ed06,_0xf84c5a;const {mcpCoreConfig:_0x58e012,onSave:_0x5f4d55,loading:_0x3029b6=!0x1,config:_0xeb071f,connectionStatus$:_0xf8ce1a,connectionError$:_0x55b26e,currentApiKey$:_0xa1d5ba,currentSessionId$:_0x2ba715}=_0x475eee,_0x3ea171=v[_0x50e05b(0x27b)](l['LocaleService']),_0x53f42e=v['useObservable'](_0xf8ce1a,s[_0x50e05b(0x2d3)][_0x50e05b(0x2c3)]),_0x43d48a=v['useObservable'](_0x55b26e,s[_0x50e05b(0x24f)][_0x50e05b(0x29b)]),_0x136cc0=v[_0x50e05b(0x290)](_0x2ba715,''),_0x3c19a2=v[_0x50e05b(0x290)](_0xa1d5ba,''),[_0x1f660b,_0x34e6f9]=d[_0x50e05b(0x2ad)](_0x3c19a2||''),_0x1f6563=!0x0,_0x5b2730=_0xeb071f[_0x50e05b(0x252)]&&_0x58e012[_0x50e05b(0x21d)]&&(_0x58e012[_0x50e05b(0x21d)]['includes']('univer.plus')||_0x58e012['mcpServerUrl'][_0x50e05b(0x283)](_0x50e05b(0x2c9))),_0x2ba507=(_0x39ed06=_0x58e012[_0x50e05b(0x21d)])==null?void 0x0:_0x39ed06['includes'](_0x50e05b(0x2f9)),_0x4f17ee=(_0xf84c5a=_0x58e012[_0x50e05b(0x21d)])==null?void 0x0:_0xf84c5a[_0x50e05b(0x283)](_0x50e05b(0x2c9)),_0x33690d=_0x2ba507?'https://console.univer.plus':_0x50e05b(0x2e1),_0x5ebd52=_0xeb071f[_0x50e05b(0x252)]&&(_0x2ba507||_0x4f17ee),[_0x19ec1a,_0xe41042]=d[_0x50e05b(0x2ad)](!_0x1f660b[_0x50e05b(0x1a4)]()),_0x2b4aba=(_0x4e3add,_0x213714)=>{var _0x41da5b=_0x50e05b;if(_0x213714===s[_0x41da5b(0x24f)][_0x41da5b(0x2ef)])return _0x41da5b(0x1b4);switch(_0x4e3add){case s[_0x41da5b(0x2d3)][_0x41da5b(0x2ec)]:return _0x41da5b(0x248);case s['MCPConnectionStatus'][_0x41da5b(0x2cd)]:case s[_0x41da5b(0x2d3)][_0x41da5b(0x1ad)]:return _0x41da5b(0x255);case s[_0x41da5b(0x2d3)][_0x41da5b(0x27e)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x41da5b(0x1ed);}},_0x118150=(_0xaeeff3,_0x11be2e)=>{var _0x5b3835=_0x50e05b;if(_0x11be2e===s[_0x5b3835(0x24f)][_0x5b3835(0x2ef)])return _0x5b3835(0x261);switch(_0xaeeff3){case s[_0x5b3835(0x2d3)][_0x5b3835(0x2ec)]:return _0x5b3835(0x1a6);case s[_0x5b3835(0x2d3)][_0x5b3835(0x2cd)]:case s['MCPConnectionStatus'][_0x5b3835(0x1ad)]:return'univer-bg-blue-500';case s[_0x5b3835(0x2d3)][_0x5b3835(0x27e)]:return _0x5b3835(0x261);default:return _0x5b3835(0x1c2);}},_0x96873f=_0x1d5487=>{var _0x2a05cb=_0x50e05b;switch(_0x1d5487){case s[_0x2a05cb(0x2d3)][_0x2a05cb(0x2ec)]:return _0x3ea171['t'](_0x2a05cb(0x20a));case s[_0x2a05cb(0x2d3)]['CONNECTING']:return _0x3ea171['t'](_0x2a05cb(0x27f));case s['MCPConnectionStatus']['FAILED']:return _0x3ea171['t']('mcpConfig.connectionStatus.failed');case s[_0x2a05cb(0x2d3)][_0x2a05cb(0x1ad)]:return _0x3ea171['t'](_0x2a05cb(0x18a));default:return _0x3ea171['t'](_0x2a05cb(0x2cf));}},_0x593d84=_0x4a82fd=>{var _0x358b81=_0x50e05b;switch(_0x4a82fd){case s[_0x358b81(0x24f)][_0x358b81(0x2ef)]:return _0x3ea171['t'](_0x358b81(0x183));case s['MCPConnectionError'][_0x358b81(0x275)]:return _0x3ea171['t']('mcpConfig.connectionError.sessionOccupied');case s['MCPConnectionError'][_0x358b81(0x1bb)]:return _0x3ea171['t'](_0x358b81(0x1d0));case s[_0x358b81(0x24f)][_0x358b81(0x217)]:return _0x3ea171['t'](_0x358b81(0x278));default:return'';}},_0x25a1f9=d[_0x50e05b(0x1a9)](()=>{const _0x5da4b5={..._0x58e012,'apiKey':_0x1f660b['trim'](),'enableAuth':_0x1f6563};_0x5f4d55(_0x5da4b5);},[_0x58e012,_0x1f660b,_0x1f6563,_0x5f4d55]),_0x1d5fff=_0x1f660b['trim']()[_0x50e05b(0x26e)]>0x0;return t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x1d1),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x2cb),'children':t['jsxs'](_0x50e05b(0x2a5),{'className':_0x50e05b(0x1c3),'children':[t['jsx'](_0x50e05b(0x2a5),{'className':_0x50e05b(0x2e6),'children':t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'className':_0x50e05b(0x2bb),'children':'⚙'})}),t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'children':t[_0x50e05b(0x25a)]('p',{'className':_0x50e05b(0x1e9),'children':_0x3ea171['t'](_0x50e05b(0x212))})})]})}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x226),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x1b0)+_0x2b4aba(_0x53f42e,_0x43d48a)+_0x50e05b(0x1f7),'children':t['jsxs'](_0x50e05b(0x2a5),{'className':_0x50e05b(0x1ec),'children':[t['jsx'](_0x50e05b(0x2a5),{'className':_0x50e05b(0x2b4)+_0x118150(_0x53f42e,_0x43d48a)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),t['jsx'](_0x50e05b(0x1af),{'className':_0x50e05b(0x233),'children':_0x96873f(_0x53f42e)})]})}),_0x43d48a!==s[_0x50e05b(0x24f)]['NONE']&&(_0x53f42e===s['MCPConnectionStatus'][_0x50e05b(0x27e)]||_0x43d48a===s[_0x50e05b(0x24f)][_0x50e05b(0x2ef)])&&t['jsx'](_0x50e05b(0x2a5),{'className':_0x50e05b(0x26a),'children':t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x19e),'children':[t['jsx'](_0x50e05b(0x1af),{'className':_0x50e05b(0x2de),'children':'⚠️'}),t['jsx']('p',{'className':_0x50e05b(0x220),'children':_0x593d84(_0x43d48a)})]})})]}),t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x19b),'children':t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':'univer-space-y-5','children':[t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x279),'children':[t[_0x50e05b(0x2eb)](_0x50e05b(0x22c),{'className':_0x50e05b(0x22d),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'children':'🔑'}),'\x20',_0x3ea171['t'](_0x50e05b(0x2f8)),t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'className':_0x50e05b(0x231),'children':'*'}),_0x5b2730&&t[_0x50e05b(0x25a)]('a',{'href':_0x50e05b(0x1a3),'onClick':()=>_0xe41042(!0x0),'className':_0x50e05b(0x1b6),'title':_0x3ea171['t'](_0x50e05b(0x2c5)),'children':t[_0x50e05b(0x25a)](Y,{})})]}),t[_0x50e05b(0x25a)](S[_0x50e05b(0x1aa)],{'type':_0x50e05b(0x268),'placeholder':_0x3ea171['t'](_0x50e05b(0x2d8)),'value':_0x1f660b,'onChange':_0x34e6f9,'disabled':_0x3029b6,'autoComplete':_0x50e05b(0x2ae)}),t[_0x50e05b(0x25a)]('p',{'className':_0x50e05b(0x204),'children':_0x3ea171['t'](_0x50e05b(0x2ed))})]}),_0x5b2730&&_0x19ec1a&&t['jsxs'](_0x50e05b(0x2a5),{'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':[t[_0x50e05b(0x25a)]('a',{'href':_0x50e05b(0x1a3),'onClick':()=>_0xe41042(!0x1),'className':_0x50e05b(0x1f2),'title':_0x50e05b(0x2db),'children':t[_0x50e05b(0x25a)](F,{})}),t[_0x50e05b(0x2eb)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[t['jsx']('div',{'className':_0x50e05b(0x17b),'children':t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'className':_0x50e05b(0x1e3),'children':'🚀'})}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x2dc),'children':[t[_0x50e05b(0x25a)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x3ea171['t'](_0x50e05b(0x2c5))}),t['jsx']('p',{'className':_0x50e05b(0x225),'children':_0x3ea171['t']('mcpConfig.apiApplyInfo.description')}),t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x21b),'children':_0x5ebd52&&t[_0x50e05b(0x2eb)]('a',{'href':_0x33690d,'target':'_blank','rel':_0x50e05b(0x298),'className':_0x50e05b(0x302),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'children':'🤖'}),_0x3ea171['t'](_0x50e05b(0x27c)),t[_0x50e05b(0x25a)]('span',{'className':_0x50e05b(0x2fd),'children':'↗'})]})}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3ea171['t'](_0x50e05b(0x276))]})]})]})]}),_0xeb071f['showDeveloperTools']&&t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x287),'children':[t[_0x50e05b(0x2eb)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'children':'🔗'}),'\x20',_0x3ea171['t'](_0x50e05b(0x227))]}),t[_0x50e05b(0x2eb)]('div',{'className':_0x50e05b(0x188),'children':[t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':'univer-space-y-3','children':[t[_0x50e05b(0x25a)]('p',{'className':_0x50e05b(0x2c6),'children':_0x3ea171['t'](_0x50e05b(0x2f6))}),t[_0x50e05b(0x2eb)]('div',{'className':_0x50e05b(0x279),'children':[t[_0x50e05b(0x25a)]('div',{'className':_0x50e05b(0x2a8),'children':_0x3ea171['t'](_0x50e05b(0x1b9))}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x1ec),'children':[t[_0x50e05b(0x25a)]('span',{'className':_0x50e05b(0x282),'children':'1'}),_0x3ea171['t'](_0x50e05b(0x23b))]}),t[_0x50e05b(0x2eb)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t['jsx'](_0x50e05b(0x1af),{'className':_0x50e05b(0x282),'children':'2'}),_0x3ea171['t'](_0x50e05b(0x1f4))]}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x1ec),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'className':_0x50e05b(0x282),'children':'3'}),_0x3ea171['t'](_0x50e05b(0x21a))]})]})]})]}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x279),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x50e05b(0x1bd)}),t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':t[_0x50e05b(0x25a)]('pre',{'className':_0x50e05b(0x270),'children':_0x50e05b(0x1f8)+_0x136cc0+_0x50e05b(0x2c7)+(_0x1f660b||'<API_KEY>')+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),t[_0x50e05b(0x2eb)]('div',{'className':_0x50e05b(0x207),'children':[t[_0x50e05b(0x25a)]('div',{'className':_0x50e05b(0x2a8),'children':_0x3ea171['t'](_0x50e05b(0x22a))}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x279),'children':[t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[t[_0x50e05b(0x25a)]('div',{'className':_0x50e05b(0x26f)}),t['jsxs']('div',{'className':_0x50e05b(0x272),'children':[t[_0x50e05b(0x25a)]('div',{'className':_0x50e05b(0x295),'children':'univer_session_id:'}),t[_0x50e05b(0x25a)]('div',{'className':_0x50e05b(0x204),'children':_0x3ea171['t']('mcpConfig.sessionIdDescription')})]})]}),t['jsxs'](_0x50e05b(0x2a5),{'className':_0x50e05b(0x26b),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x26f)}),t['jsxs'](_0x50e05b(0x2a5),{'className':_0x50e05b(0x272),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x295),'children':_0x50e05b(0x1b5)}),t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3ea171['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),t['jsx'](S[_0x50e05b(0x18d)],{'onClick':_0x25a1f9,'disabled':!_0x1d5fff||_0x3029b6,'className':_0x50e05b(0x2fc),'children':_0x3029b6?t['jsxs']('span',{'className':_0x50e05b(0x1ec),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'children':'⟲'}),_0x3ea171['t'](_0x50e05b(0x232))]}):t[_0x50e05b(0x2eb)](_0x50e05b(0x1af),{'className':_0x50e05b(0x1ec),'children':[t[_0x50e05b(0x25a)](B,{}),_0x3ea171['t'](_0x50e05b(0x281))]})}),t[_0x50e05b(0x25a)](_0x50e05b(0x2a5),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x2df),'children':[t[_0x50e05b(0x25a)](_0x50e05b(0x1af),{'className':_0x50e05b(0x17f),'children':'💡'}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'className':_0x50e05b(0x223),'children':[t['jsx'](_0x50e05b(0x2a5),{'className':_0x50e05b(0x1cb),'children':'Configuration\x20Notes:'}),t['jsxs'](_0x50e05b(0x2a5),{'children':['•',_0x3ea171['t'](_0x50e05b(0x291))]}),t[_0x50e05b(0x2eb)](_0x50e05b(0x2a5),{'children':['•',_0x3ea171['t'](_0x50e05b(0x22f))]})]})]})})]})})]});}const y=_0x301b8c(0x288),G={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object[_0x301b8c(0x21f)],Pe=(_0x50e610,_0x394c70,_0x1796b5,_0x218cbe)=>{var _0x83b2c2=_0x301b8c;for(var _0xc17b85=_0x218cbe>0x1?void 0x0:_0x218cbe?Se(_0x394c70,_0x1796b5):_0x394c70,_0x219787=_0x50e610[_0x83b2c2(0x26e)]-0x1,_0x148b88;_0x219787>=0x0;_0x219787--)(_0x148b88=_0x50e610[_0x219787])&&(_0xc17b85=_0x148b88(_0xc17b85)||_0xc17b85);return _0xc17b85;},f=(_0x35c768,_0x241db2)=>(_0x2a46dc,_0x5e4e43)=>_0x241db2(_0x2a46dc,_0x5e4e43,_0x35c768);const D='mcp.apiKey',k=_0x301b8c(0x21e);exports[_0x301b8c(0x25e)]=class extends l[_0x301b8c(0x228)]{constructor(_0x238a9a,_0x2db7d7,_0x25f89e,_0x2928d0,_0xc803f6,_0x555bd2,_0x360c8b,_0x5b14fa,_0x3ce36e,_0x1d4c92){var _0x1e921c=_0x301b8c;super(),I(this,_0x1e921c(0x242),new N[(_0x1e921c(0x23c))](!0x1)),I(this,_0x1e921c(0x277),new N[(_0x1e921c(0x23c))]({})),I(this,_0x1e921c(0x1ef),new N['BehaviorSubject']({})),I(this,'_apiKey$',new N[(_0x1e921c(0x23c))]('')),I(this,'_handleConfigSave',async _0x27cb47=>{var _0x5c912b=_0x1e921c,_0x476fa7,_0x8d3db;this['_loading$'][_0x5c912b(0x1db)](!0x0);try{const _0x2cc108=await this[_0x5c912b(0x1b2)](_0x27cb47);if(!_0x2cc108[_0x5c912b(0x2da)]){this[_0x5c912b(0x2a0)][_0x5c912b(0x17e)]({'type':S[_0x5c912b(0x2f7)]['Error'],'content':_0x2cc108[_0x5c912b(0x22e)]||this[_0x5c912b(0x237)]['t'](_0x5c912b(0x235))});return;}_0x27cb47[_0x5c912b(0x24d)]?await this['_localStorageService'][_0x5c912b(0x1f0)](D,_0x27cb47[_0x5c912b(0x24d)]['trim']()):await this[_0x5c912b(0x205)]['removeItem'](D),this['_apiKey$']['next'](((_0x476fa7=_0x27cb47['apiKey'])==null?void 0x0:_0x476fa7['trim']())||''),this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x5c912b(0x251)+((_0x8d3db=_0x27cb47[_0x5c912b(0x24d)])==null?void 0x0:_0x8d3db[_0x5c912b(0x1a4)]())}),this['_messageService'][_0x5c912b(0x17e)]({'type':S['MessageType'][_0x5c912b(0x1c5)],'content':this[_0x5c912b(0x237)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x3033de=_0x5c912b;this[_0x3033de(0x1f5)][_0x3033de(0x269)](k);},0x320);}catch(_0x1af48a){this[_0x5c912b(0x28b)][_0x5c912b(0x1b8)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x1af48a),this[_0x5c912b(0x2a0)]['show']({'type':S[_0x5c912b(0x2f7)]['Error'],'content':this[_0x5c912b(0x237)]['t'](_0x5c912b(0x293))});}finally{this[_0x5c912b(0x242)][_0x5c912b(0x1db)](!0x1);}}),(this[_0x1e921c(0x18b)]=_0x238a9a,this[_0x1e921c(0x213)]=_0x2db7d7,this['_configService']=_0x25f89e,this[_0x1e921c(0x205)]=_0x2928d0,this[_0x1e921c(0x1f5)]=_0xc803f6,this[_0x1e921c(0x2a0)]=_0x555bd2,this[_0x1e921c(0x1ab)]=_0x360c8b,this['_localeService']=_0x5b14fa,this[_0x1e921c(0x28b)]=_0x3ce36e,this[_0x1e921c(0x221)]=_0x1d4c92,this[_0x1e921c(0x274)](),this[_0x1e921c(0x28d)](),this[_0x1e921c(0x195)]());}[_0x301b8c(0x203)](){var _0x1794a0=_0x301b8c;const _0x4343ef=this['_configService'][_0x1794a0(0x29f)](y);_0x4343ef!=null&&_0x4343ef['showDeveloperTools']&&this[_0x1794a0(0x1f5)][_0x1794a0(0x2ee)]({'id':k,'title':{'title':this['_localeService']['t'](_0x1794a0(0x2b1))},'children':{'label':_0x1794a0(0x191)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xa5ffb1=_0x1794a0;this['_dialogService'][_0xa5ffb1(0x269)](k);}});}['getCurrentConfig'](){var _0x22acd5=_0x301b8c;return this[_0x22acd5(0x277)]['value'];}['_registerComponent'](){var _0x541e65=_0x301b8c;this[_0x541e65(0x1ce)](this[_0x541e65(0x1ab)][_0x541e65(0x2c8)](_0x541e65(0x191),this[_0x541e65(0x303)]()));}['_createConfigPanelComponent'](){var _0x12e2b4=_0x301b8c;return v[_0x12e2b4(0x199)](()=>{var _0x25f08f=_0x12e2b4,_0x4bf795,_0x2e6088,_0x16f118;return t[_0x25f08f(0x25a)](W,{'config':this['_config$'][_0x25f08f(0x2c1)],'mcpCoreConfig':this[_0x25f08f(0x277)]['value'],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x25f08f(0x1c6)],'loading':this[_0x25f08f(0x242)][_0x25f08f(0x2c1)],'connectionStatus$':(_0x4bf795=this[_0x25f08f(0x221)])==null?void 0x0:_0x4bf795[_0x25f08f(0x300)],'connectionError$':(_0x2e6088=this[_0x25f08f(0x221)])==null?void 0x0:_0x2e6088[_0x25f08f(0x25c)],'currentSessionId$':(_0x16f118=this['_mcpConnectionController'])==null?void 0x0:_0x16f118[_0x25f08f(0x292)]});},this[_0x12e2b4(0x18b)]);}[_0x301b8c(0x274)](){var _0x49f3c9=_0x301b8c;this['disposeWithMe'](this[_0x49f3c9(0x24e)][_0x49f3c9(0x1a5)](s['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0xfe8a6c=>{var _0x5349a2=_0x49f3c9;this[_0x5349a2(0x277)]['next'](_0xfe8a6c||{});}));const _0x4bed3f=this[_0x49f3c9(0x24e)]['getConfig'](s[_0x49f3c9(0x209)]);this['_mcpCoreConfig$'][_0x49f3c9(0x1db)](_0x4bed3f||{}),this[_0x49f3c9(0x1ce)](this[_0x49f3c9(0x24e)][_0x49f3c9(0x1a5)](y)[_0x49f3c9(0x2b0)](_0x430f90=>{var _0x3e3e96=_0x49f3c9;this[_0x3e3e96(0x1ef)][_0x3e3e96(0x1db)](_0x430f90||{});}));const _0x5763bb=this[_0x49f3c9(0x24e)]['getConfig'](y);this[_0x49f3c9(0x1ef)]['next'](_0x5763bb||{});}async['_loadStoredApiKey'](){var _0x31126e=_0x301b8c;const _0x380355=this['_configService'][_0x31126e(0x29f)](y);if(!(_0x380355!=null&&_0x380355['showDeveloperTools']))return;const _0x54b0af=await this[_0x31126e(0x205)][_0x31126e(0x1d9)](D);_0x54b0af&&(this['_mcpConnectionController'][_0x31126e(0x2a7)]({'Authorization':'Bearer\x20'+_0x54b0af}),this[_0x31126e(0x186)]['next'](_0x54b0af));}async[_0x301b8c(0x1b2)](_0x408113){var _0x310d3f=_0x301b8c;if(!_0x408113['apiKey']||_0x408113[_0x310d3f(0x24d)]['trim']()[_0x310d3f(0x26e)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x310d3f(0x237)]['t'](_0x310d3f(0x189))};if(_0x408113[_0x310d3f(0x24d)][_0x310d3f(0x1a4)]()[_0x310d3f(0x26e)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x310d3f(0x237)]['t'](_0x310d3f(0x2c4))};try{const _0x150b42=await this[_0x310d3f(0x18b)]['get'](s[_0x310d3f(0x1dd)])['validateApiKey'](_0x408113[_0x310d3f(0x24d)]['trim']());return _0x150b42['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x150b42[_0x310d3f(0x1b8)]||this[_0x310d3f(0x237)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x44021a){return console[_0x310d3f(0x2d4)](_0x310d3f(0x1a7),_0x44021a),{'isValid':!0x0};}}},exports[_0x301b8c(0x25e)]=Pe([f(0x0,l[_0x301b8c(0x260)](l[_0x301b8c(0x177)])),f(0x1,v[_0x301b8c(0x1cd)]),f(0x2,l[_0x301b8c(0x1fd)]),f(0x3,l[_0x301b8c(0x23a)]),f(0x4,v[_0x301b8c(0x271)]),f(0x5,v[_0x301b8c(0x2d6)]),f(0x6,l[_0x301b8c(0x260)](v[_0x301b8c(0x1b7)])),f(0x7,l[_0x301b8c(0x260)](l[_0x301b8c(0x1d5)])),f(0x8,l['ILogService']),f(0x9,l[_0x301b8c(0x260)](s[_0x301b8c(0x1dd)]))],exports['MCPConfigUIController']);const j={'id':'mcp-ui.command.openConfigPanel','type':l[_0x301b8c(0x201)][_0x301b8c(0x2f2)],'handler':async(_0xfb6a7f,_0x579665)=>(_0xfb6a7f[_0x301b8c(0x306)](exports[_0x301b8c(0x25e)])[_0x301b8c(0x203)](),!0x0)};function Z(_0x3ac2e3,_0x418bd6){var _0x4a526f=_0x301b8c;switch(_0x3ac2e3){case s['MCPConnectionStatus'][_0x4a526f(0x2c3)]:return _0x4a526f(0x1a2);case s['MCPConnectionStatus'][_0x4a526f(0x2cd)]:return _0x4a526f(0x1a0);case s[_0x4a526f(0x2d3)][_0x4a526f(0x2ec)]:return _0x4a526f(0x1fc);case s[_0x4a526f(0x2d3)][_0x4a526f(0x27e)]:switch(_0x418bd6){case s[_0x4a526f(0x24f)][_0x4a526f(0x2ef)]:return _0x4a526f(0x286);case s[_0x4a526f(0x24f)][_0x4a526f(0x275)]:return _0x4a526f(0x2d1);case s[_0x4a526f(0x24f)][_0x4a526f(0x1bb)]:return _0x4a526f(0x240);case s[_0x4a526f(0x24f)]['MAX_RETRIES_EXCEEDED']:return _0x4a526f(0x26c);default:return _0x4a526f(0x245);}case s[_0x4a526f(0x2d3)][_0x4a526f(0x1ad)]:return _0x4a526f(0x28e);default:return'mcpStatus.unknown';}}function _0x5c3a(_0x42d6dc,_0x18573c){var _0x33aea2=_0x33ae();return _0x5c3a=function(_0x5c3aa3,_0x50738f){_0x5c3aa3=_0x5c3aa3-0x175;var _0xcd67e4=_0x33aea2[_0x5c3aa3];return _0xcd67e4;},_0x5c3a(_0x42d6dc,_0x18573c);}function ye(_0x576fd3,_0x24c47f,_0x661f2e,_0x6b281e=!0x0){var _0x35d880=_0x301b8c;const _0xd2eb0c=Z(_0x576fd3,_0x24c47f),_0x258de1=_0x661f2e['t'](_0xd2eb0c);return _0x6b281e?_0x576fd3===s['MCPConnectionStatus'][_0x35d880(0x2c3)]&&_0x24c47f===s[_0x35d880(0x24f)][_0x35d880(0x2ef)]?_0x258de1+'\x20-\x20'+_0x661f2e['t'](_0x35d880(0x202)):_0x576fd3===s[_0x35d880(0x2d3)]['CONNECTED']?''+_0x258de1:_0x576fd3===s['MCPConnectionStatus']['DISCONNECTED']||_0x576fd3===s[_0x35d880(0x2d3)]['FAILED']?_0x258de1+_0x35d880(0x296)+_0x661f2e['t'](_0x35d880(0x2b5)):_0x258de1:_0x258de1;}function Ie(_0x1837f6){var _0x1a6702=_0x301b8c;switch(_0x1837f6){case s[_0x1a6702(0x2d3)][_0x1a6702(0x2ec)]:return _0x1a6702(0x1dc);case s[_0x1a6702(0x2d3)][_0x1a6702(0x2cd)]:case s['MCPConnectionStatus'][_0x1a6702(0x1ad)]:return _0x1a6702(0x175);case s[_0x1a6702(0x2d3)][_0x1a6702(0x27e)]:case s['MCPConnectionStatus']['DISCONNECTED']:return _0x1a6702(0x231);default:return _0x1a6702(0x182);}}function X(_0x43e5a9){var _0x41a62b=_0x301b8c;const {status$:_0x3a4cb1,error$:_0x3d70d2,onConfigure:_0xe58612,showClickable:_0x521df8=!0x0}=_0x43e5a9,_0x2eb0e6=v[_0x41a62b(0x290)](_0x3a4cb1,s[_0x41a62b(0x2d3)]['DISCONNECTED']),_0x1644d2=v[_0x41a62b(0x290)](_0x3d70d2,s[_0x41a62b(0x24f)][_0x41a62b(0x29b)]),_0x58d794=v[_0x41a62b(0x27b)](l[_0x41a62b(0x1d5)]),_0x14c5d9=_0x2eb0e6===s[_0x41a62b(0x2d3)]['CONNECTED'];_0x2eb0e6===s[_0x41a62b(0x2d3)][_0x41a62b(0x2cd)]||s[_0x41a62b(0x2d3)][_0x41a62b(0x1ad)];const _0x390f73=_0x58d794['t'](Z(_0x2eb0e6,_0x1644d2)),_0x24f83f=ye(_0x2eb0e6,_0x1644d2,_0x58d794,_0x521df8),_0x2836b2=Ie(_0x2eb0e6),_0x4dfcdb=_0x14c5d9?t[_0x41a62b(0x25a)](V,{}):t[_0x41a62b(0x25a)](q,{}),_0x22ccb0=d[_0x41a62b(0x1a9)](()=>{_0x521df8&&_0xe58612&&_0xe58612();},[_0x521df8,_0xe58612]);function _0x579e06(){var _0x275df5=_0x41a62b;return t[_0x275df5(0x2eb)]('div',{'className':S[_0x275df5(0x299)](_0x275df5(0x28c),_0x521df8&&_0xe58612&&_0x275df5(0x20c)),'onClick':_0x521df8&&_0xe58612?_0x22ccb0:void 0x0,'children':[t[_0x275df5(0x25a)](_0x275df5(0x2a5),{'className':S[_0x275df5(0x299)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x2836b2),'children':_0x4dfcdb}),t['jsx'](_0x275df5(0x2a5),{'className':_0x275df5(0x1ff),'children':_0x390f73})]});}return t['jsx'](S[_0x41a62b(0x2ab)],{'title':_0x24f83f,'placement':_0x41a62b(0x263),'children':_0x579e06()});}var _e=Object['getOwnPropertyDescriptor'],Me=(_0x2582cf,_0x56b3e5,_0x4c430d,_0x2ad057)=>{var _0x2fc190=_0x301b8c;for(var _0x3ba17c=_0x2ad057>0x1?void 0x0:_0x2ad057?_e(_0x56b3e5,_0x4c430d):_0x56b3e5,_0x5aeba7=_0x2582cf[_0x2fc190(0x26e)]-0x1,_0x55a011;_0x5aeba7>=0x0;_0x5aeba7--)(_0x55a011=_0x2582cf[_0x5aeba7])&&(_0x3ba17c=_0x55a011(_0x3ba17c)||_0x3ba17c);return _0x3ba17c;},b=(_0xed0bb,_0x11cac6)=>(_0x4c9794,_0x325345)=>_0x11cac6(_0x4c9794,_0x325345,_0xed0bb);exports[_0x301b8c(0x2af)]=class extends l[_0x301b8c(0x228)]{constructor(_0x36d9f6,_0x18fa63,_0x315f36,_0x2f90a0){var _0x431a9e=_0x301b8c;super(),this[_0x431a9e(0x18b)]=_0x36d9f6,this[_0x431a9e(0x236)]=_0x18fa63,this[_0x431a9e(0x213)]=_0x315f36,this[_0x431a9e(0x24e)]=_0x2f90a0,this[_0x431a9e(0x2ea)](),this[_0x431a9e(0x2ca)]();}[_0x301b8c(0x2ea)](){var _0x2aa5b4=_0x301b8c;const _0x885fa=this[_0x2aa5b4(0x24e)][_0x2aa5b4(0x29f)](y);_0x885fa!=null&&_0x885fa[_0x2aa5b4(0x252)]&&(this[_0x2aa5b4(0x236)][_0x2aa5b4(0x2cc)]=!0x1);}[_0x301b8c(0x2ca)](){var _0x370622=_0x301b8c;const _0xcf1a04=this[_0x370622(0x24e)][_0x370622(0x29f)](y);(_0xcf1a04==null?void 0x0:_0xcf1a04[_0x370622(0x259)])!==!0x1&&this[_0x370622(0x1ce)](this[_0x370622(0x213)]['registerComponent'](v[_0x370622(0x241)][_0x370622(0x2a1)],()=>{var _0x2652d8=_0x370622,_0x5707ca;return v[_0x2652d8(0x199)](Ne({'status$':this[_0x2652d8(0x236)][_0x2652d8(0x300)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this[_0x2652d8(0x1f1)](),'showClickable':(_0x5707ca=_0xcf1a04==null?void 0x0:_0xcf1a04[_0x2652d8(0x252)])!=null?_0x5707ca:!0x1}),this[_0x2652d8(0x18b)]);}));}[_0x301b8c(0x1f1)](){var _0x4f5bbc=_0x301b8c;this[_0x4f5bbc(0x18b)][_0x4f5bbc(0x306)](exports['MCPConfigUIController'])[_0x4f5bbc(0x203)]();}},exports['MCPConnectionUIController']=Me([b(0x0,l['Inject'](l['Injector'])),b(0x1,l[_0x301b8c(0x260)](s['MCPConnectionController'])),b(0x2,v[_0x301b8c(0x1cd)]),b(0x3,l[_0x301b8c(0x1fd)])],exports['MCPConnectionUIController']);function Ne(_0x42d4a0){const {status$:_0x4a51c1,error$:_0x2d00eb,onConfigure:_0x266563,showClickable:_0x4d224c}=_0x42d4a0;return function(){var _0x1a6c68=_0x5c3a;return t[_0x1a6c68(0x25a)](X,{'status$':_0x4a51c1,'error$':_0x2d00eb,'onConfigure':_0x266563,'showClickable':_0x4d224c});};}function be(_0x576601){var _0x111080=_0x301b8c;return{'id':j['id'],'type':v[_0x111080(0x2a3)][_0x111080(0x2b9)],'icon':_0x111080(0x28f),'title':_0x111080(0x2b1),'tooltip':_0x111080(0x2b1)};}const je={[v[_0x301b8c(0x200)][_0x301b8c(0x1da)]]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x301b8c(0x21f)],we=(_0x107996,_0x4f2ff9,_0x1f3527,_0x50ee01)=>{var _0x222342=_0x301b8c;for(var _0x59a528=_0x50ee01>0x1?void 0x0:_0x50ee01?Ee(_0x4f2ff9,_0x1f3527):_0x4f2ff9,_0x5c3d70=_0x107996[_0x222342(0x26e)]-0x1,_0x15c847;_0x5c3d70>=0x0;_0x5c3d70--)(_0x15c847=_0x107996[_0x5c3d70])&&(_0x59a528=_0x15c847(_0x59a528)||_0x59a528);return _0x59a528;},z=(_0x3d38cf,_0x524909)=>(_0x4ebdc2,_0x2f8867)=>_0x524909(_0x4ebdc2,_0x2f8867,_0x3d38cf);exports[_0x301b8c(0x1e7)]=class extends l['Disposable']{constructor(_0xec94a0,_0x7f8626){var _0x2c6c12=_0x301b8c;super(),this['_commandService']=_0xec94a0,this['_menuManagerService']=_0x7f8626,this[_0x2c6c12(0x190)](),this['_initializeMenus']();}[_0x301b8c(0x190)](){var _0x350b33=_0x301b8c;[j][_0x350b33(0x1de)](_0x422220=>{var _0x4bd275=_0x350b33;this['disposeWithMe'](this[_0x4bd275(0x2dd)][_0x4bd275(0x1eb)](_0x422220));});}[_0x301b8c(0x1e4)](){var _0x41395f=_0x301b8c;this[_0x41395f(0x2e0)][_0x41395f(0x267)](je);}},exports[_0x301b8c(0x1e7)]=we([z(0x0,l[_0x301b8c(0x193)]),z(0x1,v[_0x301b8c(0x1b1)])],exports['MCPUIMenuController']);const Oe={'mcpStatus':{'disconnected':_0x301b8c(0x1a1),'connecting':_0x301b8c(0x2e7),'connected':_0x301b8c(0x2b3),'failed':_0x301b8c(0x1e8),'retrying':_0x301b8c(0x2bd),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x301b8c(0x1cc),'maxRetriesExceeded':_0x301b8c(0x22b),'clickToConnect':_0x301b8c(0x1d3),'clickToConfigure':_0x301b8c(0x219)},'mcpConfig':{'title':_0x301b8c(0x1bd),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x301b8c(0x20e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x301b8c(0x284),'enableAuth':_0x301b8c(0x1f6),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x301b8c(0x1df),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x301b8c(0x2ff),'configStep1':_0x301b8c(0x2e5),'configStep2':_0x301b8c(0x19a),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x301b8c(0x27a),'configParameters':_0x301b8c(0x1d7),'maxRetries':_0x301b8c(0x187),'save':_0x301b8c(0x1ee),'saving':_0x301b8c(0x1c4),'note1':_0x301b8c(0x2f5),'note2':_0x301b8c(0x2bf),'configSaved':_0x301b8c(0x229),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x301b8c(0x1ba),'description':_0x301b8c(0x2e2),'univerAiLabel':_0x301b8c(0x24b),'getStarted':_0x301b8c(0x1cf)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x301b8c(0x1bc),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x301b8c(0x2a6),'failed':_0x301b8c(0x25f),'retrying':_0x301b8c(0x17d)},'connectionError':{'unauthorized':_0x301b8c(0x176),'sessionOccupied':_0x301b8c(0x2ba),'networkError':_0x301b8c(0x1e5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Ae={'mcpStatus':{'disconnected':_0x301b8c(0x2d2),'connecting':_0x301b8c(0x19f),'connected':_0x301b8c(0x2f4),'failed':_0x301b8c(0x1e6),'retrying':_0x301b8c(0x2b7),'unknown':_0x301b8c(0x1c9),'unauthorized':_0x301b8c(0x18e),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x301b8c(0x238),'maxRetriesExceeded':_0x301b8c(0x2aa),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x301b8c(0x216)},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x301b8c(0x265),'apiKeyPlaceholder':_0x301b8c(0x257),'apiKeyHint':_0x301b8c(0x2d5),'enableAuth':_0x301b8c(0x273),'enableAuthHint':_0x301b8c(0x2fe),'connectionInfo':_0x301b8c(0x208),'mcpClientConfig':_0x301b8c(0x208),'configInstructions':_0x301b8c(0x215),'configStepTitle':'配置步骤:','configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x301b8c(0x218),'configStep3':_0x301b8c(0x1c8),'sessionId':_0x301b8c(0x23f),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x301b8c(0x2f3),'configParameters':'配置参数:','maxRetries':_0x301b8c(0x29d),'save':_0x301b8c(0x1f9),'saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x301b8c(0x266),'configError':_0x301b8c(0x256),'apiApplyInfo':{'title':_0x301b8c(0x1fb),'description':_0x301b8c(0x285),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x301b8c(0x2f0)},'validation':{'apiKeyRequired':_0x301b8c(0x254),'apiKeyTooShort':_0x301b8c(0x1d6),'invalidConfig':_0x301b8c(0x246),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x301b8c(0x194),'connected':_0x301b8c(0x239),'failed':_0x301b8c(0x185),'retrying':_0x301b8c(0x262)},'connectionError':{'unauthorized':_0x301b8c(0x2be),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x301b8c(0x24c),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var De=Object['defineProperty'],ke=Object['getOwnPropertyDescriptor'],Ue=(_0x12f4bf,_0x26400f,_0x294af0)=>_0x26400f in _0x12f4bf?De(_0x12f4bf,_0x26400f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x294af0}):_0x12f4bf[_0x26400f]=_0x294af0,Te=(_0x305fb7,_0x17f199,_0x72ae89,_0x1073ec)=>{var _0x5c4a09=_0x301b8c;for(var _0x215621=_0x1073ec>0x1?void 0x0:_0x1073ec?ke(_0x17f199,_0x72ae89):_0x17f199,_0x1a0b07=_0x305fb7[_0x5c4a09(0x26e)]-0x1,_0x4097b4;_0x1a0b07>=0x0;_0x1a0b07--)(_0x4097b4=_0x305fb7[_0x1a0b07])&&(_0x215621=_0x4097b4(_0x215621)||_0x215621);return _0x215621;},M=(_0x4019f7,_0x4cd733)=>(_0x8600f6,_0x38a852)=>_0x4cd733(_0x8600f6,_0x38a852,_0x4019f7),$e=(_0x1fb547,_0xedc4c6,_0x490b64)=>Ue(_0x1fb547,_0xedc4c6+'',_0x490b64);exports[_0x301b8c(0x1d4)]=class extends l[_0x301b8c(0x2bc)]{constructor(_0x5ddc17=G,_0x5986e6,_0x4b1c99,_0x2e60f9,_0x4178c6,_0x39bce6){var _0x5ada2a=_0x301b8c;super(),this['_config']=_0x5ddc17,this['_injector']=_0x5986e6,this[_0x5ada2a(0x24e)]=_0x4b1c99,this[_0x5ada2a(0x213)]=_0x2e60f9,this[_0x5ada2a(0x205)]=_0x4178c6,this[_0x5ada2a(0x237)]=_0x39bce6;const {..._0x449450}=l['merge']({},G,this[_0x5ada2a(0x2b8)]);this['_configService'][_0x5ada2a(0x29e)](y,_0x449450);}async[_0x301b8c(0x197)](){var _0x470323=_0x301b8c;const _0x2e2d30=[[exports[_0x470323(0x2af)]],[exports['MCPConfigUIController']],[exports[_0x470323(0x1e7)]]];this[_0x470323(0x18b)]['has'](A['ISocketService'])||_0x2e2d30[_0x470323(0x181)]([A['ISocketService'],{'useClass':A[_0x470323(0x1e1)]}]),_0x2e2d30[_0x470323(0x1de)](_0xb42ae8=>this[_0x470323(0x18b)][_0x470323(0x1fa)](_0xb42ae8)),this['_injector'][_0x470323(0x306)](exports[_0x470323(0x2af)]),this[_0x470323(0x18b)][_0x470323(0x306)](exports['MCPConfigUIController']),this[_0x470323(0x18b)][_0x470323(0x306)](exports[_0x470323(0x1e7)]);}},$e(exports[_0x301b8c(0x1d4)],'pluginName','MCP_UI_PLUGIN'),exports[_0x301b8c(0x1d4)]=Te([l[_0x301b8c(0x18c)](s[_0x301b8c(0x23e)]),M(0x1,l[_0x301b8c(0x260)](l[_0x301b8c(0x177)])),M(0x2,l[_0x301b8c(0x1fd)]),M(0x3,v[_0x301b8c(0x1cd)]),M(0x4,l[_0x301b8c(0x23a)]),M(0x5,l[_0x301b8c(0x260)](l[_0x301b8c(0x1d5)]))],exports['UniverMCPUIPlugin']),exports[_0x301b8c(0x191)]=W,exports[_0x301b8c(0x1e2)]=X,exports[_0x301b8c(0x234)]=j,exports[_0x301b8c(0x243)]=Oe,exports[_0x301b8c(0x1c1)]=Ae;
@@ -1 +1 @@
1
- 'use strict';const _0x49d00f=_0x254c;(function(_0x1f76de,_0x115129){const _0x1035a2=_0x254c,_0x382f14=_0x1f76de();while(!![]){try{const _0x1d53ca=parseInt(_0x1035a2(0x150))/0x1+-parseInt(_0x1035a2(0x149))/0x2+parseInt(_0x1035a2(0x135))/0x3*(parseInt(_0x1035a2(0x13e))/0x4)+parseInt(_0x1035a2(0x148))/0x5+-parseInt(_0x1035a2(0x160))/0x6*(parseInt(_0x1035a2(0x14c))/0x7)+parseInt(_0x1035a2(0x136))/0x8+parseInt(_0x1035a2(0x154))/0x9*(-parseInt(_0x1035a2(0x161))/0xa);if(_0x1d53ca===_0x115129)break;else _0x382f14['push'](_0x382f14['shift']());}catch(_0x240e94){_0x382f14['push'](_0x382f14['shift']());}}}(_0x3bed,0xaa40d));function _0x254c(_0x24a86d,_0x57f010){const _0x3bedcb=_0x3bed();return _0x254c=function(_0x254cb2,_0x31b202){_0x254cb2=_0x254cb2-0x132;let _0x240793=_0x3bedcb[_0x254cb2];return _0x240793;},_0x254c(_0x24a86d,_0x57f010);}function _0x3bed(){const _0x375c76=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','33258uQOnsK','120gLXOVd','Enable\x20authentication\x20for\x20secure\x20connections','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','exports','Invalid\x20configuration','101661cmEopL','4165616Hcyrin','Connected','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Disconnected','64JBBdxn','Retrying...','Univer\x20AI\x20Console','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','Max\x20Retries','MCP\x20Connecting...','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:\x20Unauthorized','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3136130oghQxI','489302UMAirh','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20Steps:','756UsUBas','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','Connecting...','1234636FZwdfW','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20saved\x20successfully','Save\x20Configuration','1038078uSZSeS','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','Session\x20ID','MCP:\x20Session\x20ID\x20Occupied','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','Enter\x20your\x20API\x20key'];_0x3bed=function(){return _0x375c76;};return _0x3bed();}const e={'mcpStatus':{'disconnected':_0x49d00f(0x13d),'connecting':_0x49d00f(0x144),'connected':'MCP\x20Connected','failed':_0x49d00f(0x13b),'retrying':_0x49d00f(0x142),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x49d00f(0x146),'sessionOccupied':_0x49d00f(0x159),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x49d00f(0x14d),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x49d00f(0x14e),'description':_0x49d00f(0x151),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x49d00f(0x15e),'apiKeyHint':_0x49d00f(0x13c),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x49d00f(0x162),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x49d00f(0x14a),'configStepTitle':_0x49d00f(0x14b),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x49d00f(0x147),'configStep3':_0x49d00f(0x15f),'sessionId':_0x49d00f(0x158),'sessionIdDescription':_0x49d00f(0x132),'authorizationDescription':_0x49d00f(0x15d),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x49d00f(0x143),'save':_0x49d00f(0x153),'saving':_0x49d00f(0x15c),'note1':_0x49d00f(0x15b),'note2':_0x49d00f(0x13a),'configSaved':_0x49d00f(0x152),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x49d00f(0x145),'univerAiLabel':_0x49d00f(0x140),'getStarted':_0x49d00f(0x156)},'validation':{'apiKeyRequired':_0x49d00f(0x138),'apiKeyTooShort':_0x49d00f(0x155),'invalidConfig':_0x49d00f(0x134),'invalidApiKey':_0x49d00f(0x139)},'connectionStatus':{'disconnected':_0x49d00f(0x15a),'connecting':_0x49d00f(0x14f),'connected':_0x49d00f(0x137),'failed':_0x49d00f(0x157),'retrying':_0x49d00f(0x13f)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x49d00f(0x141)}}},n=e;module[_0x49d00f(0x133)]=n;
1
+ 'use strict';function _0x4a01(_0x576434,_0x276d7e){const _0x596a9d=_0x596a();return _0x4a01=function(_0x4a01a0,_0x4c8bad){_0x4a01a0=_0x4a01a0-0x124;let _0x30636d=_0x596a9d[_0x4a01a0];return _0x30636d;},_0x4a01(_0x576434,_0x276d7e);}const _0x5402c2=_0x4a01;function _0x596a(){const _0x4cc00=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4izaLpD','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','16218GLWbXH','Click\x20to\x20configure\x20MCP','781cVpZXs','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','exports','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','969543mGQlJZ','27396IKBSAs','Configuration\x20Steps:','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Max\x20Retries','Configuration\x20saved\x20successfully','10hmUUem','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Parameters:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','50vTVjkK','MCP\x20Connection\x20Failed','469357HtxArR','Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connected','MCP\x20Retrying...','410695xotFvn','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','Invalid\x20configuration','Session\x20ID','Enter\x20your\x20API\x20key','MCP:\x20Unauthorized','MCP\x20Unknown\x20Status','Save\x20Configuration','Connected','MCP\x20Client\x20Configuration','What\x20is\x20API\x20Key?','Connecting...','MCP\x20Configuration','40fOQwMt','21198GOvJfk','29418ZqwXji','Univer\x20AI\x20Console','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key'];_0x596a=function(){return _0x4cc00;};return _0x596a();}(function(_0x45e129,_0x4ba26b){const _0xd953b7=_0x4a01,_0x5b0d33=_0x45e129();while(!![]){try{const _0x528709=-parseInt(_0xd953b7(0x131))/0x1+-parseInt(_0xd953b7(0x141))/0x2+parseInt(_0xd953b7(0x14a))/0x3*(-parseInt(_0xd953b7(0x148))/0x4)+parseInt(_0xd953b7(0x128))/0x5*(parseInt(_0xd953b7(0x142))/0x6)+parseInt(_0xd953b7(0x12a))/0x7*(parseInt(_0xd953b7(0x140))/0x8)+parseInt(_0xd953b7(0x153))/0x9*(parseInt(_0xd953b7(0x15a))/0xa)+-parseInt(_0xd953b7(0x14c))/0xb*(-parseInt(_0xd953b7(0x154))/0xc);if(_0x528709===_0x4ba26b)break;else _0x5b0d33['push'](_0x5b0d33['shift']());}catch(_0x5b96ab){_0x5b0d33['push'](_0x5b0d33['shift']());}}}(_0x596a,0x3784d));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x5402c2(0x12f),'failed':_0x5402c2(0x129),'retrying':_0x5402c2(0x130),'unknown':_0x5402c2(0x139),'unauthorized':_0x5402c2(0x138),'sessionOccupied':_0x5402c2(0x132),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x5402c2(0x12d),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5402c2(0x14b)},'mcpConfig':{'title':_0x5402c2(0x13f),'description':_0x5402c2(0x127),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5402c2(0x137),'apiKeyHint':_0x5402c2(0x157),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5402c2(0x12c),'connectionInfo':_0x5402c2(0x13c),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x5402c2(0x155),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5402c2(0x12e),'configStep3':_0x5402c2(0x146),'sessionId':_0x5402c2(0x136),'sessionIdDescription':_0x5402c2(0x149),'authorizationDescription':_0x5402c2(0x14f),'configParameters':_0x5402c2(0x125),'maxRetries':_0x5402c2(0x158),'save':_0x5402c2(0x13a),'saving':_0x5402c2(0x156),'note1':_0x5402c2(0x144),'note2':_0x5402c2(0x147),'configSaved':_0x5402c2(0x159),'configError':_0x5402c2(0x14e),'apiApplyInfo':{'title':_0x5402c2(0x13d),'description':_0x5402c2(0x124),'univerAiLabel':_0x5402c2(0x143),'getStarted':_0x5402c2(0x133)},'validation':{'apiKeyRequired':_0x5402c2(0x134),'apiKeyTooShort':_0x5402c2(0x15b),'invalidConfig':_0x5402c2(0x135),'invalidApiKey':_0x5402c2(0x151)},'connectionStatus':{'disconnected':_0x5402c2(0x152),'connecting':_0x5402c2(0x13e),'connected':_0x5402c2(0x13b),'failed':_0x5402c2(0x15c),'retrying':_0x5402c2(0x12b)},'connectionError':{'unauthorized':_0x5402c2(0x145),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5402c2(0x126),'maxRetriesExceeded':_0x5402c2(0x14d)}}},n=e;module[_0x5402c2(0x150)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x985946=_0x48bc;(function(_0x886a34,_0x32a72a){const _0x254b2e=_0x48bc,_0x5a9ef2=_0x886a34();while(!![]){try{const _0x449a4a=-parseInt(_0x254b2e(0x20b))/0x1+parseInt(_0x254b2e(0x1fd))/0x2*(-parseInt(_0x254b2e(0x200))/0x3)+-parseInt(_0x254b2e(0x20d))/0x4+parseInt(_0x254b2e(0x218))/0x5+parseInt(_0x254b2e(0x1fb))/0x6*(parseInt(_0x254b2e(0x1f0))/0x7)+-parseInt(_0x254b2e(0x1f9))/0x8+parseInt(_0x254b2e(0x20a))/0x9*(-parseInt(_0x254b2e(0x1ec))/0xa);if(_0x449a4a===_0x32a72a)break;else _0x5a9ef2['push'](_0x5a9ef2['shift']());}catch(_0x6d943e){_0x5a9ef2['push'](_0x5a9ef2['shift']());}}}(_0x132f,0xbc2f1));function _0x132f(){const _0x5a645c=['MCP\x20Connected','287582sddvNf','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','12AIhWNo','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20Parameters:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Retrying...','MCP\x20Connecting...','1998BaQWbL','264038gKepTq','API\x20Key','111836pOEARP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Unknown\x20Status','Saving...','Connected','5206705FrWOrC','Univer\x20AI\x20Console','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Max\x20Retries','18930DfgbKQ','MCP:\x20Network\x20Error','Save\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','8421lwuiiQ','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connection\x20Failed','Connecting...','exports','MCP:\x20Unauthorized','Enter\x20your\x20API\x20key','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1979888hrKYKs','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','6306AWTMdi'];_0x132f=function(){return _0x5a645c;};return _0x132f();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x985946(0x209),'connected':_0x985946(0x1fc),'failed':_0x985946(0x1f2),'retrying':_0x985946(0x208),'unknown':_0x985946(0x215),'unauthorized':_0x985946(0x1f5),'sessionOccupied':_0x985946(0x210),'networkError':_0x985946(0x1ed),'maxRetriesExceeded':_0x985946(0x1ff),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x985946(0x203),'description':_0x985946(0x207),'apiKey':_0x985946(0x20c),'apiKeyPlaceholder':_0x985946(0x1f6),'apiKeyHint':_0x985946(0x206),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x985946(0x1f1),'connectionInfo':_0x985946(0x212),'mcpClientConfig':_0x985946(0x212),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x985946(0x211),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x985946(0x213),'configStep3':_0x985946(0x20e),'sessionId':'Session\x20ID','sessionIdDescription':_0x985946(0x1fa),'authorizationDescription':_0x985946(0x202),'configParameters':_0x985946(0x205),'maxRetries':_0x985946(0x1eb),'save':_0x985946(0x1ee),'saving':_0x985946(0x216),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x985946(0x214),'configSaved':_0x985946(0x1f7),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x985946(0x201),'univerAiLabel':_0x985946(0x1e9),'getStarted':_0x985946(0x204)},'validation':{'apiKeyRequired':_0x985946(0x1fe),'apiKeyTooShort':_0x985946(0x1ef),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x985946(0x1f3),'connected':_0x985946(0x217),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x985946(0x20f),'networkError':_0x985946(0x1f8),'maxRetriesExceeded':_0x985946(0x1ea)}}};function _0x48bc(_0x70b43d,_0x5166de){const _0x132f9f=_0x132f();return _0x48bc=function(_0x48bc91,_0x4d3d50){_0x48bc91=_0x48bc91-0x1e9;let _0x3a4302=_0x132f9f[_0x48bc91];return _0x3a4302;},_0x48bc(_0x70b43d,_0x5166de);}module[_0x985946(0x1f4)]=e;
1
+ 'use strict';function _0x105a(){const _0x3cd73d=['Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','147FvVzGu','API\x20Key','What\x20is\x20API\x20Key?','813310pAfZgS','exports','12xZCDnN','Configuration\x20saved\x20successfully','Enable\x20authentication\x20for\x20secure\x20connections','3064932MabyYr','7073340jrbWYT','Saving...','Session\x20ID','MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','187576fVrwse','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','872832vpTjDW','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1975LlLVgU','API\x20key\x20with\x20Bearer\x20prefix.','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20configure\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Max\x20Retries\x20Exceeded','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Unknown\x20Status','MCP\x20Configuration','Max\x20Retries','API\x20key\x20is\x20required','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Unauthorized','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20Authentication','90gtUpWq','940392uxOcoN','MCP\x20Retrying...','Disconnected','Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20connect\x20MCP','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long'];_0x105a=function(){return _0x3cd73d;};return _0x105a();}const _0x53be44=_0x160a;function _0x160a(_0x59c57f,_0x19f6d0){const _0x105ad1=_0x105a();return _0x160a=function(_0x160a3d,_0x4168b5){_0x160a3d=_0x160a3d-0x1a7;let _0x3a3700=_0x105ad1[_0x160a3d];return _0x3a3700;},_0x160a(_0x59c57f,_0x19f6d0);}(function(_0x4e4fdd,_0x5abd32){const _0x5bc06f=_0x160a,_0x1fe6b0=_0x4e4fdd();while(!![]){try{const _0xa0ba16=-parseInt(_0x5bc06f(0x1b2))/0x1*(-parseInt(_0x5bc06f(0x1c5))/0x2)+-parseInt(_0x5bc06f(0x1b0))/0x3+parseInt(_0x5bc06f(0x1d6))/0x4*(parseInt(_0x5bc06f(0x1d4))/0x5)+-parseInt(_0x5bc06f(0x1c6))/0x6+-parseInt(_0x5bc06f(0x1d1))/0x7*(-parseInt(_0x5bc06f(0x1ad))/0x8)+parseInt(_0x5bc06f(0x1a7))/0x9+-parseInt(_0x5bc06f(0x1a8))/0xa;if(_0xa0ba16===_0x5abd32)break;else _0x1fe6b0['push'](_0x1fe6b0['shift']());}catch(_0x45e3ed){_0x1fe6b0['push'](_0x1fe6b0['shift']());}}}(_0x105a,0x3e342));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x53be44(0x1b7),'failed':_0x53be44(0x1ab),'retrying':_0x53be44(0x1c7),'unknown':_0x53be44(0x1bb),'unauthorized':_0x53be44(0x1c0),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x53be44(0x1c2),'maxRetriesExceeded':_0x53be44(0x1b9),'clickToConnect':_0x53be44(0x1cb),'clickToConfigure':_0x53be44(0x1b5)},'mcpConfig':{'title':_0x53be44(0x1bc),'description':_0x53be44(0x1c1),'apiKey':_0x53be44(0x1d2),'apiKeyPlaceholder':_0x53be44(0x1af),'apiKeyHint':_0x53be44(0x1cd),'enableAuth':_0x53be44(0x1c4),'enableAuthHint':_0x53be44(0x1d8),'connectionInfo':_0x53be44(0x1ac),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x53be44(0x1cf),'configStepTitle':_0x53be44(0x1cc),'configStep1':_0x53be44(0x1c3),'configStep2':_0x53be44(0x1b8),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x53be44(0x1aa),'sessionIdDescription':_0x53be44(0x1b1),'authorizationDescription':_0x53be44(0x1b3),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x53be44(0x1bd),'save':'Save\x20Configuration','saving':_0x53be44(0x1a9),'note1':_0x53be44(0x1b6),'note2':_0x53be44(0x1ca),'configSaved':_0x53be44(0x1d7),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x53be44(0x1d3),'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':_0x53be44(0x1ae),'getStarted':_0x53be44(0x1b4)},'validation':{'apiKeyRequired':_0x53be44(0x1be),'apiKeyTooShort':_0x53be44(0x1ce),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x53be44(0x1c8),'connecting':'Connecting...','connected':'Connected','failed':_0x53be44(0x1c9),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x53be44(0x1bf),'sessionOccupied':_0x53be44(0x1d0),'networkError':_0x53be44(0x1ba),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x53be44(0x1d5)]=e;
@@ -1 +1 @@
1
- 'use strict';function _0x1aad(_0x8c3f6c,_0x5f0bfe){const _0x383c55=_0x383c();return _0x1aad=function(_0x1aad95,_0x21e68e){_0x1aad95=_0x1aad95-0x103;let _0x5172fb=_0x383c55[_0x1aad95];return _0x5172fb;},_0x1aad(_0x8c3f6c,_0x5f0bfe);}const _0x152c61=_0x1aad;(function(_0x458610,_0x7b8fca){const _0x58dc10=_0x1aad,_0x453801=_0x458610();while(!![]){try{const _0x191262=parseInt(_0x58dc10(0x118))/0x1*(parseInt(_0x58dc10(0x120))/0x2)+parseInt(_0x58dc10(0x105))/0x3+-parseInt(_0x58dc10(0x126))/0x4+-parseInt(_0x58dc10(0x107))/0x5*(parseInt(_0x58dc10(0x10a))/0x6)+parseInt(_0x58dc10(0x128))/0x7*(-parseInt(_0x58dc10(0x108))/0x8)+-parseInt(_0x58dc10(0x119))/0x9*(-parseInt(_0x58dc10(0x11d))/0xa)+-parseInt(_0x58dc10(0x12c))/0xb*(-parseInt(_0x58dc10(0x11a))/0xc);if(_0x191262===_0x7b8fca)break;else _0x453801['push'](_0x453801['shift']());}catch(_0x590d82){_0x453801['push'](_0x453801['shift']());}}}(_0x383c,0x2d271));function _0x383c(){const _0x35b0cd=['Saving...','Failed\x20to\x20save\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Configuration','exports','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','117723VFGleM','Get\x20your\x20API\x20key\x20in\x20seconds','61285TTUqHq','1672SrSZYj','Retrying...','102xRxBmX','Invalid\x20configuration','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','Session\x20ID','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Disconnected','MCP:\x20Unauthorized','35565cGfZWn','527157EigLgq','410832tBcxbv','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','50wkjAxH','Connecting...','Enable\x20Authentication','8lyqHok','Save\x20Configuration','MCP\x20Connecting...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1029188LdyjcT','MCP\x20Disconnected','4417rwvcKy','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connected','MCP:\x20Session\x20ID\x20Occupied','99XWtjrs','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage'];_0x383c=function(){return _0x35b0cd;};return _0x383c();}const e={'mcpStatus':{'disconnected':_0x152c61(0x127),'connecting':_0x152c61(0x122),'connected':_0x152c61(0x12a),'failed':_0x152c61(0x113),'retrying':'MCP\x20Retrying...','unknown':_0x152c61(0x10f),'unauthorized':_0x152c61(0x117),'sessionOccupied':_0x152c61(0x12b),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x152c61(0x111),'clickToConfigure':_0x152c61(0x104)},'mcpConfig':{'title':_0x152c61(0x136),'description':_0x152c61(0x134),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x152c61(0x10d),'enableAuth':_0x152c61(0x11f),'enableAuthHint':_0x152c61(0x103),'connectionInfo':_0x152c61(0x12e),'mcpClientConfig':_0x152c61(0x12e),'configInstructions':_0x152c61(0x11c),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x152c61(0x133),'configStep2':_0x152c61(0x123),'configStep3':_0x152c61(0x125),'sessionId':_0x152c61(0x114),'sessionIdDescription':_0x152c61(0x135),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x152c61(0x138),'save':_0x152c61(0x121),'saving':_0x152c61(0x131),'note1':_0x152c61(0x115),'note2':_0x152c61(0x130),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x152c61(0x132),'apiApplyInfo':{'title':_0x152c61(0x10c),'description':_0x152c61(0x11b),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x152c61(0x106)},'validation':{'apiKeyRequired':_0x152c61(0x112),'apiKeyTooShort':_0x152c61(0x12d),'invalidConfig':_0x152c61(0x10b),'invalidApiKey':_0x152c61(0x12f)},'connectionStatus':{'disconnected':_0x152c61(0x116),'connecting':_0x152c61(0x11e),'connected':'Connected','failed':_0x152c61(0x124),'retrying':_0x152c61(0x109)},'connectionError':{'unauthorized':_0x152c61(0x129),'sessionOccupied':_0x152c61(0x10e),'networkError':_0x152c61(0x110),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x152c61(0x137)]=n;
1
+ 'use strict';const _0x5b20cc=_0x2bc1;(function(_0x8e5421,_0xeaf5d9){const _0x30d558=_0x2bc1,_0x377077=_0x8e5421();while(!![]){try{const _0x4b3567=-parseInt(_0x30d558(0xf1))/0x1+parseInt(_0x30d558(0x107))/0x2*(parseInt(_0x30d558(0x11b))/0x3)+-parseInt(_0x30d558(0x118))/0x4*(parseInt(_0x30d558(0x115))/0x5)+-parseInt(_0x30d558(0x10c))/0x6+-parseInt(_0x30d558(0xf3))/0x7+parseInt(_0x30d558(0xfd))/0x8+parseInt(_0x30d558(0xf9))/0x9;if(_0x4b3567===_0xeaf5d9)break;else _0x377077['push'](_0x377077['shift']());}catch(_0x394260){_0x377077['push'](_0x377077['shift']());}}}(_0x5be4,0x4f90c));function _0x2bc1(_0x5aea64,_0x4dcc23){const _0x5be48b=_0x5be4();return _0x2bc1=function(_0x2bc1cf,_0x161ff2){_0x2bc1cf=_0x2bc1cf-0xee;let _0x344cee=_0x5be48b[_0x2bc1cf];return _0x344cee;},_0x2bc1(_0x5aea64,_0x4dcc23);}const e={'mcpStatus':{'disconnected':_0x5b20cc(0x108),'connecting':_0x5b20cc(0x117),'connected':'MCP\x20Connected','failed':_0x5b20cc(0x11c),'retrying':_0x5b20cc(0x111),'unknown':_0x5b20cc(0x10a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5b20cc(0x10b),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5b20cc(0x113),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5b20cc(0x119),'description':_0x5b20cc(0x106),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5b20cc(0xee),'apiKeyHint':_0x5b20cc(0xf5),'enableAuth':_0x5b20cc(0x100),'enableAuthHint':_0x5b20cc(0xff),'connectionInfo':_0x5b20cc(0x11e),'mcpClientConfig':_0x5b20cc(0x11e),'configInstructions':_0x5b20cc(0x105),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5b20cc(0xf6),'configStep3':_0x5b20cc(0x11d),'sessionId':'Session\x20ID','sessionIdDescription':_0x5b20cc(0x10e),'authorizationDescription':_0x5b20cc(0x104),'configParameters':_0x5b20cc(0x102),'maxRetries':_0x5b20cc(0x103),'save':_0x5b20cc(0xfa),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5b20cc(0xf7),'configSaved':_0x5b20cc(0xfc),'configError':_0x5b20cc(0xef),'apiApplyInfo':{'title':_0x5b20cc(0x10d),'description':_0x5b20cc(0x10f),'univerAiLabel':_0x5b20cc(0x112),'getStarted':_0x5b20cc(0x116)},'validation':{'apiKeyRequired':_0x5b20cc(0x101),'apiKeyTooShort':_0x5b20cc(0xf0),'invalidConfig':_0x5b20cc(0x109),'invalidApiKey':_0x5b20cc(0xfb)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5b20cc(0xf8),'connected':_0x5b20cc(0xfe),'failed':_0x5b20cc(0xf4),'retrying':_0x5b20cc(0x11a)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5b20cc(0x114),'networkError':_0x5b20cc(0x110),'maxRetriesExceeded':_0x5b20cc(0xf2)}}},n=e;module['exports']=n;function _0x5be4(){const _0x3b7afd=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','Univer\x20AI\x20Console','Click\x20to\x20connect\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','65eWFoGZ','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connecting...','53892ePYdij','MCP\x20Configuration','Retrying...','498615oXwrAr','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','389548KFmkuA','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1160439InXOHS','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connecting...','4824189jhzLEP','Save\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20saved\x20successfully','4731872FxTcmS','Connected','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','API\x20key\x20is\x20required','Configuration\x20Parameters:','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4FwzRmW','MCP\x20Disconnected','Invalid\x20configuration','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','2421246qzIQzS','What\x20is\x20API\x20Key?','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x5be4=function(){return _0x3b7afd;};return _0x5be4();}
@@ -1 +1 @@
1
- 'use strict';const _0xb85651=_0x473b;function _0x473b(_0x2629f5,_0x166038){const _0xcb525d=_0xcb52();return _0x473b=function(_0x473b04,_0x180f1b){_0x473b04=_0x473b04-0xc6;let _0x2f4fd7=_0xcb525d[_0x473b04];return _0x2f4fd7;},_0x473b(_0x2629f5,_0x166038);}(function(_0x4169dd,_0x244878){const _0x1be2e2=_0x473b,_0x2d5dcd=_0x4169dd();while(!![]){try{const _0x390afa=parseInt(_0x1be2e2(0xc9))/0x1*(parseInt(_0x1be2e2(0xef))/0x2)+-parseInt(_0x1be2e2(0xe1))/0x3+-parseInt(_0x1be2e2(0xe3))/0x4+parseInt(_0x1be2e2(0xd4))/0x5+parseInt(_0x1be2e2(0xdc))/0x6+-parseInt(_0x1be2e2(0xf3))/0x7+parseInt(_0x1be2e2(0xdf))/0x8*(parseInt(_0x1be2e2(0xd0))/0x9);if(_0x390afa===_0x244878)break;else _0x2d5dcd['push'](_0x2d5dcd['shift']());}catch(_0x34f8db){_0x2d5dcd['push'](_0x2d5dcd['shift']());}}}(_0xcb52,0x5d7b6));function _0xcb52(){const _0x55297c=['Saving...','MCP\x20Connected','MCP\x20Disconnected','511830pZVCfc','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connection\x20Failed','Connection\x20Failed','exports','MCP\x20Unknown\x20Status','632862nQKzHb','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Get\x20your\x20API\x20key\x20in\x20seconds','4173320evxcQv','Session\x20ID','1410135rvPFJE','Connected','1291616EziSNl','Configuration\x20saved\x20successfully','Connecting...','Enable\x20Authentication','MCP\x20Configuration','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','MCP\x20Connecting...','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2ZyNDHd','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Save\x20Configuration','352058cUZMAN','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20configuration','MCP:\x20Unauthorized','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','496637HHtRft','API\x20Key','Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Retrying...','API\x20key\x20is\x20required','MCP:\x20Network\x20Error','9CcwoUl'];_0xcb52=function(){return _0x55297c;};return _0xcb52();}const e={'mcpStatus':{'disconnected':_0xb85651(0xd3),'connecting':_0xb85651(0xea),'connected':_0xb85651(0xd2),'failed':_0xb85651(0xd8),'retrying':_0xb85651(0xcd),'unknown':_0xb85651(0xdb),'unauthorized':_0xb85651(0xc7),'sessionOccupied':_0xb85651(0xcc),'networkError':_0xb85651(0xcf),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xb85651(0xe8),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xb85651(0xe7),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xb85651(0xca),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xb85651(0xd6),'enableAuth':_0xb85651(0xe6),'enableAuthHint':_0xb85651(0xec),'connectionInfo':_0xb85651(0xed),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0xb85651(0xd7),'configStep2':_0xb85651(0xee),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xb85651(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':_0xb85651(0xf4),'configParameters':'Configuration\x20Parameters:','maxRetries':_0xb85651(0xcb),'save':_0xb85651(0xf2),'saving':_0xb85651(0xd1),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xb85651(0xe4),'configError':_0xb85651(0xeb),'apiApplyInfo':{'title':_0xb85651(0xe9),'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':_0xb85651(0xde)},'validation':{'apiKeyRequired':_0xb85651(0xce),'apiKeyTooShort':_0xb85651(0xf1),'invalidConfig':_0xb85651(0xc6),'invalidApiKey':_0xb85651(0xdd)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0xb85651(0xe5),'connected':_0xb85651(0xe2),'failed':_0xb85651(0xd9),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0xb85651(0xd5),'sessionOccupied':_0xb85651(0xf0),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xb85651(0xc8)}}},n=e;module[_0xb85651(0xda)]=n;
1
+ 'use strict';function _0x1118(_0x50f54d,_0x1fd07a){const _0x10a972=_0x10a9();return _0x1118=function(_0x1118eb,_0x325198){_0x1118eb=_0x1118eb-0xb8;let _0x9bc87c=_0x10a972[_0x1118eb];return _0x9bc87c;},_0x1118(_0x50f54d,_0x1fd07a);}const _0x5f32ae=_0x1118;function _0x10a9(){const _0x20bfb9=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','294140tMHQUY','What\x20is\x20API\x20Key?','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','202948dSxdxZ','30noGCPt','Univer\x20AI\x20Console','Click\x20to\x20connect\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connecting...','760576qjSFDS','54992NSBYMD','MCP\x20Connecting...','Enable\x20Authentication','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','42QPYIPR','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Unauthorized','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20is\x20required','MCP\x20Disconnected','Session\x20ID','Save\x20Configuration','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','413448yjxGKy','Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Failed','7781904yuqVOw','exports','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20saved\x20successfully','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20Parameters:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Saving...','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','MCP\x20Connected','Retrying...','223146psiobr','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x10a9=function(){return _0x20bfb9;};return _0x10a9();}(function(_0x3c7718,_0x263ba4){const _0x3cfb44=_0x1118,_0x287437=_0x3c7718();while(!![]){try{const _0x128176=parseInt(_0x3cfb44(0xb8))/0x1+parseInt(_0x3cfb44(0xbf))/0x2*(-parseInt(_0x3cfb44(0xb9))/0x3)+-parseInt(_0x3cfb44(0xbe))/0x4+-parseInt(_0x3cfb44(0xe8))/0x5*(parseInt(_0x3cfb44(0xc3))/0x6)+-parseInt(_0x3cfb44(0xe5))/0x7+parseInt(_0x3cfb44(0xd0))/0x8+parseInt(_0x3cfb44(0xd6))/0x9;if(_0x128176===_0x263ba4)break;else _0x287437['push'](_0x287437['shift']());}catch(_0x52c452){_0x287437['push'](_0x287437['shift']());}}}(_0x10a9,0x3364b));const e={'mcpStatus':{'disconnected':_0x5f32ae(0xcb),'connecting':_0x5f32ae(0xc0),'connected':_0x5f32ae(0xe3),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5f32ae(0xeb),'unknown':_0x5f32ae(0xcf),'unauthorized':_0x5f32ae(0xc5),'sessionOccupied':_0x5f32ae(0xc9),'networkError':_0x5f32ae(0xce),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5f32ae(0xbb),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x5f32ae(0xe7),'apiKey':_0x5f32ae(0xd8),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5f32ae(0xd9),'enableAuth':_0x5f32ae(0xc1),'enableAuthHint':_0x5f32ae(0xea),'connectionInfo':_0x5f32ae(0xe2),'mcpClientConfig':_0x5f32ae(0xe2),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x5f32ae(0xe1),'configStep2':_0x5f32ae(0xd2),'configStep3':_0x5f32ae(0xda),'sessionId':_0x5f32ae(0xcc),'sessionIdDescription':_0x5f32ae(0xd3),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5f32ae(0xde),'maxRetries':'Max\x20Retries','save':_0x5f32ae(0xcd),'saving':_0x5f32ae(0xe0),'note1':_0x5f32ae(0xc6),'note2':_0x5f32ae(0xd4),'configSaved':_0x5f32ae(0xdb),'configError':_0x5f32ae(0xc8),'apiApplyInfo':{'title':_0x5f32ae(0xe9),'description':_0x5f32ae(0xe6),'univerAiLabel':_0x5f32ae(0xba),'getStarted':_0x5f32ae(0xdd)},'validation':{'apiKeyRequired':_0x5f32ae(0xca),'apiKeyTooShort':_0x5f32ae(0xc2),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5f32ae(0xdf)},'connectionStatus':{'disconnected':_0x5f32ae(0xd1),'connecting':_0x5f32ae(0xbd),'connected':'Connected','failed':_0x5f32ae(0xd5),'retrying':_0x5f32ae(0xe4)},'connectionError':{'unauthorized':_0x5f32ae(0xc4),'sessionOccupied':_0x5f32ae(0xdc),'networkError':_0x5f32ae(0xbc),'maxRetriesExceeded':_0x5f32ae(0xc7)}}},n=e;module[_0x5f32ae(0xd7)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x53a2cb=_0x1bf2;(function(_0x4024ad,_0x30aeeb){const _0x36721d=_0x1bf2,_0x254dd9=_0x4024ad();while(!![]){try{const _0x3b2516=parseInt(_0x36721d(0x17b))/0x1*(-parseInt(_0x36721d(0x167))/0x2)+parseInt(_0x36721d(0x16b))/0x3*(-parseInt(_0x36721d(0x171))/0x4)+parseInt(_0x36721d(0x178))/0x5*(-parseInt(_0x36721d(0x169))/0x6)+parseInt(_0x36721d(0x176))/0x7+parseInt(_0x36721d(0x177))/0x8*(-parseInt(_0x36721d(0x172))/0x9)+parseInt(_0x36721d(0x16f))/0xa*(-parseInt(_0x36721d(0x189))/0xb)+-parseInt(_0x36721d(0x162))/0xc*(-parseInt(_0x36721d(0x17e))/0xd);if(_0x3b2516===_0x30aeeb)break;else _0x254dd9['push'](_0x254dd9['shift']());}catch(_0xe7fa54){_0x254dd9['push'](_0x254dd9['shift']());}}}(_0x55b4,0xa9333));function _0x55b4(){const _0x4c4e4e=['Configuration\x20Parameters:','Connecting...','Enable\x20Authentication','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','4136zczXzM','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Client\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Save\x20Configuration','MCP\x20Connection\x20Failed','49388856KPbjgK','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connected','1750dNRTxL','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','177846JRDMTa','Connected','47853lBKfIE','API\x20key\x20is\x20required','Univer\x20AI\x20Console','Configuration\x20saved\x20successfully','16340XitdMx','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','172ybGuBR','1503XzIqtU','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','What\x20is\x20API\x20Key?','Click\x20to\x20connect\x20MCP','2030014AQMuTg','52952ofyKMm','210fiePle','exports','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','71eYpFKl','Invalid\x20configuration','Configuration\x20Steps:','13dRAFzc','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','MCP:\x20Unauthorized','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20authentication\x20for\x20secure\x20connections'];_0x55b4=function(){return _0x4c4e4e;};return _0x55b4();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x53a2cb(0x159),'connected':_0x53a2cb(0x166),'failed':_0x53a2cb(0x161),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x53a2cb(0x181),'sessionOccupied':_0x53a2cb(0x165),'networkError':_0x53a2cb(0x180),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x53a2cb(0x175),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x53a2cb(0x18a),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x53a2cb(0x15a),'apiKeyHint':_0x53a2cb(0x168),'enableAuth':_0x53a2cb(0x187),'enableAuthHint':_0x53a2cb(0x184),'connectionInfo':_0x53a2cb(0x15e),'mcpClientConfig':_0x53a2cb(0x15e),'configInstructions':_0x53a2cb(0x163),'configStepTitle':_0x53a2cb(0x17d),'configStep1':_0x53a2cb(0x183),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x53a2cb(0x188),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x53a2cb(0x164),'configParameters':_0x53a2cb(0x185),'maxRetries':'Max\x20Retries','save':_0x53a2cb(0x160),'saving':'Saving...','note1':_0x53a2cb(0x170),'note2':_0x53a2cb(0x15b),'configSaved':_0x53a2cb(0x16e),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x53a2cb(0x174),'description':_0x53a2cb(0x17a),'univerAiLabel':_0x53a2cb(0x16d),'getStarted':_0x53a2cb(0x17f)},'validation':{'apiKeyRequired':_0x53a2cb(0x16c),'apiKeyTooShort':_0x53a2cb(0x173),'invalidConfig':_0x53a2cb(0x17c),'invalidApiKey':_0x53a2cb(0x15c)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x53a2cb(0x186),'connected':_0x53a2cb(0x16a),'failed':_0x53a2cb(0x182),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x53a2cb(0x15d),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x53a2cb(0x15f),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x1bf2(_0x299806,_0x18b11c){const _0x55b43e=_0x55b4();return _0x1bf2=function(_0x1bf2fd,_0x265d29){_0x1bf2fd=_0x1bf2fd-0x159;let _0x12c68e=_0x55b43e[_0x1bf2fd];return _0x12c68e;},_0x1bf2(_0x299806,_0x18b11c);}module[_0x53a2cb(0x179)]=n;
1
+ 'use strict';const _0x1fab84=_0xaf29;(function(_0x26e80d,_0x3ced10){const _0x467236=_0xaf29,_0x3ae007=_0x26e80d();while(!![]){try{const _0x1e20a6=parseInt(_0x467236(0xb7))/0x1+parseInt(_0x467236(0xaa))/0x2*(parseInt(_0x467236(0xc1))/0x3)+-parseInt(_0x467236(0xba))/0x4*(-parseInt(_0x467236(0xad))/0x5)+parseInt(_0x467236(0xd2))/0x6*(-parseInt(_0x467236(0xaf))/0x7)+-parseInt(_0x467236(0xc3))/0x8*(-parseInt(_0x467236(0xc8))/0x9)+-parseInt(_0x467236(0xb1))/0xa+-parseInt(_0x467236(0xcc))/0xb*(parseInt(_0x467236(0xcb))/0xc);if(_0x1e20a6===_0x3ced10)break;else _0x3ae007['push'](_0x3ae007['shift']());}catch(_0x841e8d){_0x3ae007['push'](_0x3ae007['shift']());}}}(_0x2465,0xdd0ea));function _0xaf29(_0x5bbb68,_0x16f323){const _0x24658a=_0x2465();return _0xaf29=function(_0xaf297e,_0x174377){_0xaf297e=_0xaf297e-0xaa;let _0x3dce42=_0x24658a[_0xaf297e];return _0x3dce42;},_0xaf29(_0x5bbb68,_0x16f323);}function _0x2465(){const _0x49fb2c=['Save\x20Configuration','12apShHl','1678963sLzEZK','MCP\x20Client\x20Configuration','Connecting...','Configuration\x20saved\x20successfully','MCP\x20Connected','Connection\x20Failed','60khUDjx','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','What\x20is\x20API\x20Key?','Enable\x20Authentication','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Configuration','18yjMpWR','MCP:\x20Max\x20Retries\x20Exceeded','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','15930iYtYlD','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','797489addRly','MCP\x20Connecting...','13751070UzfWfJ','Disconnected','API\x20key\x20is\x20required','Configuration\x20Parameters:','API\x20Key','Click\x20to\x20connect\x20MCP','355429kQQMSb','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1588bXzuSw','Invalid\x20configuration','MCP\x20Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','102786cnPAgH','Session\x20ID','1878664GDLokE','Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','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\x20Disconnected','63UAjuyw','Configuration\x20Steps:'];_0x2465=function(){return _0x49fb2c;};return _0x2465();}const e={'mcpStatus':{'disconnected':_0x1fab84(0xc7),'connecting':_0x1fab84(0xb0),'connected':_0x1fab84(0xd0),'failed':_0x1fab84(0xbc),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1fab84(0xab),'clickToConnect':_0x1fab84(0xb6),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1fab84(0xd8),'description':_0x1fab84(0xb8),'apiKey':_0x1fab84(0xb5),'apiKeyPlaceholder':_0x1fab84(0xc4),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1fab84(0xd5),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1fab84(0xcd),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x1fab84(0xc9),'configStep1':_0x1fab84(0xbd),'configStep2':_0x1fab84(0xac),'configStep3':_0x1fab84(0xb9),'sessionId':_0x1fab84(0xc2),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1fab84(0xb4),'maxRetries':'Max\x20Retries','save':_0x1fab84(0xca),'saving':_0x1fab84(0xd6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1fab84(0xae),'configSaved':_0x1fab84(0xcf),'configError':_0x1fab84(0xbe),'apiApplyInfo':{'title':_0x1fab84(0xd4),'description':_0x1fab84(0xc6),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x1fab84(0xbf)},'validation':{'apiKeyRequired':_0x1fab84(0xb3),'apiKeyTooShort':_0x1fab84(0xd3),'invalidConfig':_0x1fab84(0xbb),'invalidApiKey':_0x1fab84(0xc5)},'connectionStatus':{'disconnected':_0x1fab84(0xb2),'connecting':_0x1fab84(0xce),'connected':'Connected','failed':_0x1fab84(0xd1),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x1fab84(0xd7),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1fab84(0xc0)}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x4542bd=_0x5cd0;function _0x5cd0(_0x5563ff,_0x11e571){const _0x369742=_0x3697();return _0x5cd0=function(_0x5cd008,_0x309e61){_0x5cd008=_0x5cd008-0x111;let _0x4229ce=_0x369742[_0x5cd008];return _0x4229ce;},_0x5cd0(_0x5563ff,_0x11e571);}function _0x3697(){const _0x16efc5=['Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Steps:','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Unknown\x20Status','Configuration\x20Parameters:','exports','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20with\x20Bearer\x20prefix.','6157610HlMjKU','MCP\x20Connecting...','Failed\x20to\x20save\x20configuration','164442TDAOLS','Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','Connection\x20Failed','Session\x20ID','7011445kQrvMr','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','What\x20is\x20API\x20Key?','6dPFJLm','2833232AlSJeX','MCP\x20Client\x20Configuration','MCP\x20Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20Authentication','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20configure\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20is\x20required','MCP\x20Retrying...','Saving...','Save\x20Configuration','1200330Ppgmrt','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','678kTNpbg','Retrying...','MCP\x20Connection\x20Failed','27nkvhMW','Enter\x20your\x20API\x20key','Click\x20to\x20connect\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2491720SyaaUV','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8152zzUCcr','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:'];_0x3697=function(){return _0x16efc5;};return _0x3697();}(function(_0x45e835,_0x381233){const _0x1f23d8=_0x5cd0,_0x193b80=_0x45e835();while(!![]){try{const _0x2eac73=-parseInt(_0x1f23d8(0x11f))/0x1+parseInt(_0x1f23d8(0x146))/0x2*(parseInt(_0x1f23d8(0x13c))/0x3)+parseInt(_0x1f23d8(0x143))/0x4+-parseInt(_0x1f23d8(0x138))/0x5+parseInt(_0x1f23d8(0x12b))/0x6*(-parseInt(_0x1f23d8(0x127))/0x7)+parseInt(_0x1f23d8(0x12c))/0x8*(parseInt(_0x1f23d8(0x13f))/0x9)+-parseInt(_0x1f23d8(0x11c))/0xa;if(_0x2eac73===_0x381233)break;else _0x193b80['push'](_0x193b80['shift']());}catch(_0x3b47d7){_0x193b80['push'](_0x193b80['shift']());}}}(_0x3697,0x8ebd8));const e={'mcpStatus':{'disconnected':_0x4542bd(0x12e),'connecting':_0x4542bd(0x11d),'connected':_0x4542bd(0x123),'failed':_0x4542bd(0x13e),'retrying':_0x4542bd(0x135),'unknown':_0x4542bd(0x116),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x4542bd(0x13b),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4542bd(0x119),'clickToConnect':_0x4542bd(0x141),'clickToConfigure':_0x4542bd(0x132)},'mcpConfig':{'title':_0x4542bd(0x128),'description':_0x4542bd(0x129),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4542bd(0x140),'apiKeyHint':_0x4542bd(0x145),'enableAuth':_0x4542bd(0x130),'enableAuthHint':_0x4542bd(0x114),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x4542bd(0x12d),'configInstructions':_0x4542bd(0x111),'configStepTitle':_0x4542bd(0x113),'configStep1':_0x4542bd(0x124),'configStep2':_0x4542bd(0x131),'configStep3':_0x4542bd(0x142),'sessionId':_0x4542bd(0x126),'sessionIdDescription':_0x4542bd(0x133),'authorizationDescription':_0x4542bd(0x11b),'configParameters':_0x4542bd(0x117),'maxRetries':'Max\x20Retries','save':_0x4542bd(0x137),'saving':_0x4542bd(0x136),'note1':_0x4542bd(0x112),'note2':_0x4542bd(0x121),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4542bd(0x11e),'apiApplyInfo':{'title':_0x4542bd(0x12a),'description':_0x4542bd(0x11a),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4542bd(0x12f)},'validation':{'apiKeyRequired':_0x4542bd(0x134),'apiKeyTooShort':_0x4542bd(0x115),'invalidConfig':_0x4542bd(0x144),'invalidApiKey':_0x4542bd(0x122)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4542bd(0x120),'connected':_0x4542bd(0x139),'failed':_0x4542bd(0x125),'retrying':_0x4542bd(0x13d)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4542bd(0x147),'maxRetriesExceeded':_0x4542bd(0x13a)}}},n=e;module[_0x4542bd(0x118)]=n;
1
+ 'use strict';const _0x961c7f=_0x47d5;(function(_0x3252e2,_0x3b8ebe){const _0x214c21=_0x47d5,_0x12834c=_0x3252e2();while(!![]){try{const _0x41ee7e=-parseInt(_0x214c21(0xcc))/0x1*(-parseInt(_0x214c21(0xb7))/0x2)+-parseInt(_0x214c21(0xa7))/0x3*(parseInt(_0x214c21(0xc1))/0x4)+parseInt(_0x214c21(0xda))/0x5*(parseInt(_0x214c21(0xa9))/0x6)+parseInt(_0x214c21(0xab))/0x7*(-parseInt(_0x214c21(0xc7))/0x8)+parseInt(_0x214c21(0xcf))/0x9*(-parseInt(_0x214c21(0xbf))/0xa)+parseInt(_0x214c21(0xc5))/0xb*(parseInt(_0x214c21(0xb8))/0xc)+parseInt(_0x214c21(0xce))/0xd*(parseInt(_0x214c21(0xd6))/0xe);if(_0x41ee7e===_0x3b8ebe)break;else _0x12834c['push'](_0x12834c['shift']());}catch(_0x230555){_0x12834c['push'](_0x12834c['shift']());}}}(_0x445d,0xabf18));function _0x47d5(_0x201700,_0x295f5e){const _0x445de2=_0x445d();return _0x47d5=function(_0x47d581,_0x396cf1){_0x47d581=_0x47d581-0xa7;let _0x5262c1=_0x445de2[_0x47d581];return _0x5262c1;},_0x47d5(_0x201700,_0x295f5e);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x961c7f(0xd8),'failed':_0x961c7f(0xc9),'retrying':_0x961c7f(0xac),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x961c7f(0xb6),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x961c7f(0xb0),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x961c7f(0xb4),'clickToConfigure':_0x961c7f(0xbb)},'mcpConfig':{'title':_0x961c7f(0xa8),'description':_0x961c7f(0xc6),'apiKey':_0x961c7f(0xbc),'apiKeyPlaceholder':_0x961c7f(0xd7),'apiKeyHint':_0x961c7f(0xb5),'enableAuth':_0x961c7f(0xd0),'enableAuthHint':_0x961c7f(0xad),'connectionInfo':_0x961c7f(0xbd),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x961c7f(0xd1),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x961c7f(0xdc),'configStep2':_0x961c7f(0xaa),'configStep3':_0x961c7f(0xb9),'sessionId':_0x961c7f(0xc2),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x961c7f(0xd5),'configParameters':_0x961c7f(0xb3),'maxRetries':_0x961c7f(0xd9),'save':_0x961c7f(0xc8),'saving':_0x961c7f(0xbe),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x961c7f(0xc0),'configSaved':_0x961c7f(0xb2),'configError':_0x961c7f(0xcd),'apiApplyInfo':{'title':_0x961c7f(0xae),'description':_0x961c7f(0xca),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x961c7f(0xc3),'apiKeyTooShort':_0x961c7f(0xd2),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x961c7f(0xdb)},'connectionStatus':{'disconnected':_0x961c7f(0xd3),'connecting':_0x961c7f(0xba),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x961c7f(0xcb)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x961c7f(0xb1),'networkError':_0x961c7f(0xd4),'maxRetriesExceeded':_0x961c7f(0xaf)}}},n=e;module[_0x961c7f(0xc4)]=n;function _0x445d(){const _0x59fba5=['11uIYaSv','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','449448TxiTFT','Save\x20Configuration','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.','Retrying...','2bsbuQf','Failed\x20to\x20save\x20configuration','1781nHDfXC','9RrcfKY','Enable\x20Authentication','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20with\x20Bearer\x20prefix.','120722aiaFaV','Enter\x20your\x20API\x20key','MCP\x20Connected','Max\x20Retries','925SZScnG','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below','3877821wgcMgz','MCP\x20Configuration','19974YsIhdU','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','70dFEibW','MCP\x20Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','What\x20is\x20API\x20Key?','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Unauthorized','365658wvZvIs','8540700ySZtAt','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connecting...','Click\x20to\x20configure\x20MCP','API\x20Key','MCP\x20Client\x20Configuration','Saving...','3159020eQCpxv','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4QhWujS','Session\x20ID','API\x20key\x20is\x20required','exports'];_0x445d=function(){return _0x59fba5;};return _0x445d();}