@univerjs-pro/mcp-ui 0.10.7-nightly.202509080357 → 0.10.7-nightly.202509090319

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 +5 -5
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x2a6b16=_0xcf39;(function(_0x402f04,_0x2501a7){var _0x58dbc1=_0xcf39,_0x31eb1d=_0x402f04();while(!![]){try{var _0x21d5b3=-parseInt(_0x58dbc1(0x193))/0x1*(-parseInt(_0x58dbc1(0x1fe))/0x2)+-parseInt(_0x58dbc1(0x1a3))/0x3+-parseInt(_0x58dbc1(0x143))/0x4+parseInt(_0x58dbc1(0x17b))/0x5+parseInt(_0x58dbc1(0xed))/0x6*(parseInt(_0x58dbc1(0x1ba))/0x7)+parseInt(_0x58dbc1(0xce))/0x8+-parseInt(_0x58dbc1(0xef))/0x9*(-parseInt(_0x58dbc1(0x183))/0xa);if(_0x21d5b3===_0x2501a7)break;else _0x31eb1d['push'](_0x31eb1d['shift']());}catch(_0x1096dc){_0x31eb1d['push'](_0x31eb1d['shift']());}}}(_0x2d64,0x9b732));var te=Object['defineProperty'],oe=(_0x21f02c,_0x5b21cc,_0x5bf097)=>_0x5b21cc in _0x21f02c?te(_0x21f02c,_0x5b21cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bf097}):_0x21f02c[_0x5b21cc]=_0x5bf097,_=(_0x59f7d0,_0x59bf7b,_0x2d8676)=>oe(_0x59f7d0,typeof _0x59bf7b!=_0x2a6b16(0x189)?_0x59bf7b+'':_0x59bf7b,_0x2d8676);Object[_0x2a6b16(0xad)](exports,Symbol[_0x2a6b16(0x117)],{'value':_0x2a6b16(0x1b6)});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x5ad5ff=_0x2a6b16;return C=Object[_0x5ad5ff(0x134)]||function(_0x14303d){var _0x387d6d=_0x5ad5ff;for(var _0x44c949,_0xcb7661=0x1,_0x527a6a=arguments[_0x387d6d(0x1d2)];_0xcb7661<_0x527a6a;_0xcb7661++){_0x44c949=arguments[_0xcb7661];for(var _0x50cf9f in _0x44c949)Object[_0x387d6d(0x118)]['hasOwnProperty'][_0x387d6d(0x179)](_0x44c949,_0x50cf9f)&&(_0x14303d[_0x50cf9f]=_0x44c949[_0x50cf9f]);}return _0x14303d;},C[_0x5ad5ff(0x166)](this,arguments);},se=function(_0x226002,_0x49b122){var _0x39b9e8=_0x2a6b16,_0x4dfb1c={};for(var _0x1e4bca in _0x226002)Object[_0x39b9e8(0x118)][_0x39b9e8(0xd2)][_0x39b9e8(0x179)](_0x226002,_0x1e4bca)&&_0x49b122[_0x39b9e8(0x153)](_0x1e4bca)<0x0&&(_0x4dfb1c[_0x1e4bca]=_0x226002[_0x1e4bca]);if(_0x226002!=null&&typeof Object['getOwnPropertySymbols']==_0x39b9e8(0x1bb)){for(var _0x1a3f43=0x0,_0x1e4bca=Object['getOwnPropertySymbols'](_0x226002);_0x1a3f43<_0x1e4bca[_0x39b9e8(0x1d2)];_0x1a3f43++)_0x49b122[_0x39b9e8(0x153)](_0x1e4bca[_0x1a3f43])<0x0&&Object['prototype'][_0x39b9e8(0x11c)]['call'](_0x226002,_0x1e4bca[_0x1a3f43])&&(_0x4dfb1c[_0x1e4bca[_0x1a3f43]]=_0x226002[_0x1e4bca[_0x1a3f43]]);}return _0x4dfb1c;},P=d[_0x2a6b16(0x171)](function(_0xa773d8,_0x1b4bc8){var _0xe4f32=_0x2a6b16,_0x45e005=_0xa773d8[_0xe4f32(0x9f)],_0x7c302=_0xa773d8['id'],_0x297029=_0xa773d8[_0xe4f32(0x15b)],_0x3952df=_0xa773d8[_0xe4f32(0x18a)],_0x465405=se(_0xa773d8,[_0xe4f32(0x9f),'id',_0xe4f32(0x15b),_0xe4f32(0x18a)]),_0x160241=_0xe4f32(0xbc)[_0xe4f32(0x1e8)](_0x7c302,'\x20')[_0xe4f32(0x1e8)](_0x297029||'')[_0xe4f32(0xc1)](),_0x46d662=d[_0xe4f32(0x210)]('_'[_0xe4f32(0x1e8)](le()));return $(_0x45e005,''['concat'](_0x7c302),{'defIds':_0x45e005[_0xe4f32(0x15a)],'idSuffix':_0x46d662[_0xe4f32(0x17e)]},C({'ref':_0x1b4bc8,'className':_0x160241},_0x465405),_0x3952df);});function $(_0x5ef232,_0x19e08f,_0x2390c1,_0x499c9c,_0x186701){var _0x5b7658=_0x2a6b16;return d[_0x5b7658(0x16c)](_0x5ef232['tag'],C(C({'key':_0x19e08f},ce(_0x5ef232,_0x2390c1,_0x186701)),_0x499c9c),(ae(_0x5ef232,_0x2390c1)[_0x5b7658(0x18f)]||[])['map'](function(_0x3044d8,_0x1705d0){var _0x55510c=_0x5b7658;return $(_0x3044d8,''[_0x55510c(0x1e8)](_0x19e08f,'-')['concat'](_0x5ef232[_0x55510c(0x1c1)],'-')[_0x55510c(0x1e8)](_0x1705d0),_0x2390c1,void 0x0,_0x186701);}));}function ce(_0x27720d,_0x219eaf,_0x3dda87){var _0x2715ae=_0x2a6b16,_0x280866=C({},_0x27720d[_0x2715ae(0x1c8)]);_0x3dda87!=null&&_0x3dda87['colorChannel1']&&_0x280866[_0x2715ae(0x142)]===_0x2715ae(0x18c)&&(_0x280866[_0x2715ae(0x142)]=_0x3dda87[_0x2715ae(0x18c)]),_0x27720d[_0x2715ae(0x1c1)]===_0x2715ae(0xc7)&&_0x280866['id']&&(_0x280866['id']=_0x280866['id']+_0x219eaf[_0x2715ae(0x1b8)]),Object['entries'](_0x280866)[_0x2715ae(0x1e7)](function(_0x195ef0){var _0xeb3b55=_0x2715ae,_0x358076=_0x195ef0[0x0],_0x900dfe=_0x195ef0[0x1];_0x358076==='mask'&&typeof _0x900dfe==_0xeb3b55(0xb3)&&(_0x280866[_0x358076]=_0x900dfe[_0xeb3b55(0x104)](/url\(#(.*)\)/,_0xeb3b55(0x146)['concat'](_0x219eaf[_0xeb3b55(0x1b8)],')')));});var _0x5e4942=_0x219eaf[_0x2715ae(0x15a)];return!_0x5e4942||_0x5e4942[_0x2715ae(0x1d2)]===0x0||(_0x27720d[_0x2715ae(0x1c1)]===_0x2715ae(0x127)&&_0x280866[_0x2715ae(0x116)]&&(_0x280866[_0x2715ae(0x116)]=_0x280866[_0x2715ae(0x116)]+_0x219eaf[_0x2715ae(0x1b8)]),Object[_0x2715ae(0x20f)](_0x280866)[_0x2715ae(0x1e7)](function(_0x310707){var _0x40f7d7=_0x2715ae,_0x46b293=_0x310707[0x0],_0x313c65=_0x310707[0x1];typeof _0x313c65==_0x40f7d7(0xb3)&&(_0x280866[_0x46b293]=_0x313c65[_0x40f7d7(0x104)](/url\(#(.*)\)/,_0x40f7d7(0x146)[_0x40f7d7(0x1e8)](_0x219eaf[_0x40f7d7(0x1b8)],')')));})),_0x280866;}function ae(_0x46ec6c,_0x30fbf0){var _0x256eda=_0x2a6b16,_0x593d45,_0x1b3be1=_0x30fbf0[_0x256eda(0x15a)];return!_0x1b3be1||_0x1b3be1['length']===0x0?_0x46ec6c:_0x46ec6c['tag']===_0x256eda(0x106)&&(!((_0x593d45=_0x46ec6c[_0x256eda(0x18f)])===null||_0x593d45===void 0x0)&&_0x593d45[_0x256eda(0x1d2)])?C(C({},_0x46ec6c),{'children':_0x46ec6c[_0x256eda(0x18f)][_0x256eda(0x95)](function(_0xefd43b){var _0x59d26c=_0x256eda;return typeof _0xefd43b[_0x59d26c(0x1c8)]['id']==_0x59d26c(0xb3)&&_0x1b3be1&&_0x1b3be1['includes'](_0xefd43b[_0x59d26c(0x1c8)]['id'])?C(C({},_0xefd43b),{'attrs':C(C({},_0xefd43b[_0x59d26c(0x1c8)]),{'id':_0xefd43b[_0x59d26c(0x1c8)]['id']+_0x30fbf0['idSuffix']})}):_0xefd43b;})}):_0x46ec6c;}function le(){var _0x494870=_0x2a6b16;return Math[_0x494870(0xaa)]()[_0x494870(0xc6)](0x24)[_0x494870(0x1d9)](0x2,0x8);}P[_0x2a6b16(0x12a)]=_0x2a6b16(0xda);var ue={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':'none','viewBox':_0x2a6b16(0x196),'width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x2a6b16(0x20e),'fillRule':_0x2a6b16(0xf8),'clipRule':_0x2a6b16(0xf8)}}]},L=d[_0x2a6b16(0x171)](function(_0x2c6a64,_0x498068){var _0x43dcb5=_0x2a6b16;return d[_0x43dcb5(0x16c)](P,Object[_0x43dcb5(0x134)]({},_0x2c6a64,{'id':_0x43dcb5(0x16b),'ref':_0x498068,'icon':ue}));});L['displayName']=_0x2a6b16(0x204);var ve={'tag':'svg','attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':_0x2a6b16(0x213),'width':_0x2a6b16(0x13c),'height':'1em'},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':'round','strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2a6b16(0x1f2),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.33}}]},G=d['forwardRef'](function(_0x2bd68a,_0x1adc23){var _0x38a012=_0x2a6b16;return d[_0x38a012(0x16c)](P,Object[_0x38a012(0x134)]({},_0x2bd68a,{'id':_0x38a012(0xcc),'ref':_0x1adc23,'icon':ve}));});G['displayName']=_0x2a6b16(0x123);var de={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':'0\x200\x2016\x2016','width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0xab),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':'path','attrs':{'fill':_0x2a6b16(0xab),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0xab),'d':_0x2a6b16(0x11e),'fillRule':_0x2a6b16(0xf8),'clipRule':_0x2a6b16(0xf8)}}]},Y=d[_0x2a6b16(0x171)](function(_0x11524e,_0x1bed65){var _0x4e364d=_0x2a6b16;return d[_0x4e364d(0x16c)](P,Object[_0x4e364d(0x134)]({},_0x11524e,{'id':_0x4e364d(0x98),'ref':_0x1bed65,'icon':de}));});Y['displayName']='HelpSingle';var Ce={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':'none','viewBox':_0x2a6b16(0x196),'width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6b16(0xe1)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':_0x2a6b16(0xee),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.2}}]},{'tag':_0x2a6b16(0x106),'attrs':{},'children':[{'tag':_0x2a6b16(0x1e3),'attrs':{'id':_0x2a6b16(0x12c)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0x97),'d':_0x2a6b16(0x1e0)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},F=d[_0x2a6b16(0x171)](function(_0x1aff9e,_0x2ff39e){var _0x2b2673=_0x2a6b16;return d[_0x2b2673(0x16c)](P,Object[_0x2b2673(0x134)]({},_0x1aff9e,{'id':_0x2b2673(0x13b),'ref':_0x2ff39e,'icon':Ce}));});F[_0x2a6b16(0x12a)]='OffLineIcon';var ge={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':_0x2a6b16(0x178),'width':_0x2a6b16(0x13c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6b16(0xa9)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':_0x2a6b16(0x9d),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2a6b16(0x106),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a6b16(0x160)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x2a6b16(0x1e0),'transform':_0x2a6b16(0x148)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},V=d[_0x2a6b16(0x171)](function(_0x308bd7,_0x73ede3){var _0x2a105a=_0x2a6b16;return d['createElement'](P,Object[_0x2a105a(0x134)]({},_0x308bd7,{'id':_0x2a105a(0x19f),'ref':_0x73ede3,'icon':ge}));});V[_0x2a6b16(0x12a)]=_0x2a6b16(0xae);function B(_0x1f5321){var _0x36a411=_0x2a6b16,_0x25fdfe,_0x48a985;const {mcpCoreConfig:_0x21e240,onSave:_0x3eac32,loading:_0x3fd1c4=!0x1,config:_0x518e4c,connectionStatus$:_0x2d3b75,connectionError$:_0x54df2b}=_0x1f5321,_0x4fdf14=v[_0x36a411(0x161)](u['LocaleService']),_0x333770=v[_0x36a411(0x1b5)](_0x2d3b75,s[_0x36a411(0xd4)][_0x36a411(0x1e1)]),_0x1c0fda=v[_0x36a411(0x1b5)](_0x54df2b,s[_0x36a411(0x119)][_0x36a411(0x13d)]),[_0xe3b53,_0xe38caa]=d[_0x36a411(0xa8)](_0x21e240[_0x36a411(0x164)]||''),_0x5e9c2f=!0x0,_0x2a9a3b=_0x518e4c[_0x36a411(0x136)]&&_0x21e240[_0x36a411(0xa6)]&&(_0x21e240[_0x36a411(0xa6)][_0x36a411(0xcd)](_0x36a411(0x1d0))||_0x21e240[_0x36a411(0xa6)][_0x36a411(0xcd)](_0x36a411(0x17c))),_0x3f6042=(_0x25fdfe=_0x21e240['mcpServerUrl'])==null?void 0x0:_0x25fdfe[_0x36a411(0xcd)](_0x36a411(0x1d0)),_0x4420b6=(_0x48a985=_0x21e240['mcpServerUrl'])==null?void 0x0:_0x48a985[_0x36a411(0xcd)](_0x36a411(0x17c)),_0x51c9bf=_0x3f6042?_0x36a411(0x154):_0x36a411(0x1fa),_0x31b6ca=_0x518e4c['showDeveloperTools']&&(_0x3f6042||_0x4420b6),[_0x4f9b01,_0x53d672]=d[_0x36a411(0xa8)](!_0xe3b53[_0x36a411(0xc1)]()),_0x5c73b3=(_0x57425e,_0x5808ed)=>{var _0x31c1bf=_0x36a411;if(_0x5808ed===s[_0x31c1bf(0x119)][_0x31c1bf(0x133)]||_0x5808ed===s[_0x31c1bf(0x119)][_0x31c1bf(0x9c)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x57425e){case s[_0x31c1bf(0xd4)][_0x31c1bf(0xb0)]:return _0x31c1bf(0x1e6);case s['MCPConnectionStatus'][_0x31c1bf(0xbb)]:case s[_0x31c1bf(0xd4)]['RETRYING']:return _0x31c1bf(0xb5);case s[_0x31c1bf(0xd4)][_0x31c1bf(0x199)]:return _0x31c1bf(0x1c0);default:return _0x31c1bf(0x16e);}},_0x49242f=(_0x401e84,_0x135717)=>{var _0x172459=_0x36a411;if(_0x135717===s[_0x172459(0x119)][_0x172459(0x133)]||_0x135717===s[_0x172459(0x119)][_0x172459(0x9c)])return _0x172459(0xe6);switch(_0x401e84){case s['MCPConnectionStatus'][_0x172459(0xb0)]:return _0x172459(0x108);case s[_0x172459(0xd4)][_0x172459(0xbb)]:case s['MCPConnectionStatus'][_0x172459(0xc3)]:return _0x172459(0x1a5);case s['MCPConnectionStatus'][_0x172459(0x199)]:return _0x172459(0xe6);default:return _0x172459(0xbe);}},_0x22065c=_0x287231=>{var _0xfcb5ee=_0x36a411;switch(_0x287231){case s[_0xfcb5ee(0xd4)]['CONNECTED']:return _0x4fdf14['t']('mcpConfig.connectionStatus.connected');case s[_0xfcb5ee(0xd4)][_0xfcb5ee(0xbb)]:return _0x4fdf14['t'](_0xfcb5ee(0x159));case s['MCPConnectionStatus']['FAILED']:return _0x4fdf14['t'](_0xfcb5ee(0x191));case s[_0xfcb5ee(0xd4)][_0xfcb5ee(0xc3)]:return _0x4fdf14['t'](_0xfcb5ee(0x186));default:return _0x4fdf14['t']('mcpConfig.connectionStatus.disconnected');}},_0x48a14a=_0x57273f=>{var _0x49bf87=_0x36a411;switch(_0x57273f){case s[_0x49bf87(0x119)][_0x49bf87(0x133)]:return _0x4fdf14['t'](_0x49bf87(0x15d));case s[_0x49bf87(0x119)]['INVALID_API_KEY']:return _0x4fdf14['t']('mcpConfig.connectionError.invalidApiKey');case s[_0x49bf87(0x119)]['SESSION_ID_OCCUPIED']:return _0x4fdf14['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x49bf87(0x119)][_0x49bf87(0x1f1)]:return _0x4fdf14['t'](_0x49bf87(0xf7));case s[_0x49bf87(0x119)][_0x49bf87(0xec)]:return _0x4fdf14['t'](_0x49bf87(0x185));default:return'';}},_0x329b36=d['useCallback'](()=>{var _0x4ab4c3=_0x36a411;const _0x513afb={..._0x21e240,'apiKey':_0xe3b53[_0x4ab4c3(0xc1)](),'enableAuth':_0x5e9c2f};_0x3eac32(_0x513afb);},[_0x21e240,_0xe3b53,_0x5e9c2f,_0x3eac32]),_0x44c867=_0xe3b53[_0x36a411(0xc1)]()['length']>0x0;return o[_0x36a411(0xf0)]('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1f0),'children':[o['jsx']('div',{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':o[_0x36a411(0x214)](_0x36a411(0x206),{'className':'univer-text-white','children':'⚙'})}),o[_0x36a411(0x214)](_0x36a411(0x1d1),{'children':o['jsx']('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x4fdf14['t'](_0x36a411(0x1ef))})})]})}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x9a),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1bc)+_0x5c73b3(_0x333770,_0x1c0fda)+_0x36a411(0x10a),'children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1a8),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'\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'+_0x49242f(_0x333770,_0x1c0fda)+_0x36a411(0xd5)}),o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x1d8),'children':_0x22065c(_0x333770)})]})}),_0x1c0fda!==s[_0x36a411(0x119)][_0x36a411(0x13d)]&&(_0x333770===s[_0x36a411(0xd4)]['FAILED']||_0x1c0fda===s[_0x36a411(0x119)][_0x36a411(0x133)]||_0x1c0fda===s[_0x36a411(0x119)][_0x36a411(0x9c)])&&o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x203),'children':[o[_0x36a411(0x214)](_0x36a411(0x206),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),o['jsx']('p',{'className':_0x36a411(0x14d),'children':_0x48a14a(_0x1c0fda)})]})})]}),o[_0x36a411(0x214)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':'univer-space-y-5','children':[o['jsxs']('div',{'className':'univer-space-y-2','children':[o[_0x36a411(0xf0)]('label',{'className':_0x36a411(0x172),'children':[o[_0x36a411(0x214)](_0x36a411(0x206),{'children':'🔑'}),'\x20',_0x4fdf14['t'](_0x36a411(0x1b3)),o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x17a),'children':'*'}),_0x2a9a3b&&o[_0x36a411(0x214)]('a',{'href':_0x36a411(0x1c3),'onClick':()=>_0x53d672(!0x0),'className':_0x36a411(0x10e),'title':_0x4fdf14['t'](_0x36a411(0x121)),'children':o[_0x36a411(0x214)](Y,{})})]}),o[_0x36a411(0x214)](x[_0x36a411(0x1ce)],{'type':_0x36a411(0xfd),'placeholder':_0x4fdf14['t']('mcpConfig.apiKeyPlaceholder'),'value':_0xe3b53,'onChange':_0xe38caa,'disabled':_0x3fd1c4,'autoComplete':_0x36a411(0x99)}),o['jsx']('p',{'className':_0x36a411(0x1ad),'children':_0x4fdf14['t']('mcpConfig.apiKeyHint')})]}),_0x2a9a3b&&_0x4f9b01&&o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'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':[o[_0x36a411(0x214)]('a',{'href':'javascript:void(0)','onClick':()=>_0x53d672(!0x1),'className':_0x36a411(0xfe),'title':_0x36a411(0x1ed),'children':o[_0x36a411(0x214)](G,{})}),o[_0x36a411(0xf0)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1f5),'children':o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x17f),'children':'🚀'})}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x207),'children':[o[_0x36a411(0x214)]('h4',{'className':_0x36a411(0x1d4),'children':_0x4fdf14['t'](_0x36a411(0x121))}),o[_0x36a411(0x214)]('p',{'className':_0x36a411(0x18d),'children':_0x4fdf14['t'](_0x36a411(0x138))}),o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xe5),'children':_0x31b6ca&&o['jsxs']('a',{'href':_0x51c9bf,'target':_0x36a411(0x212),'rel':_0x36a411(0x102),'className':_0x36a411(0x168),'children':[o['jsx']('span',{'children':'🤖'}),_0x4fdf14['t'](_0x36a411(0x187)),o[_0x36a411(0x214)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0x122),'children':['✨','\x20',_0x4fdf14['t'](_0x36a411(0x13e))]})]})]})]}),_0x518e4c[_0x36a411(0x136)]&&o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0xf3),'children':[o[_0x36a411(0xf0)]('h4',{'className':_0x36a411(0x145),'children':[o['jsx']('span',{'children':'🔗'}),'\x20',_0x4fdf14['t']('mcpConfig.connectionInfo')]}),o['jsxs'](_0x36a411(0x1d1),{'className':'univer-space-y-3','children':[o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0x1aa)}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0xea),'children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xe2),'children':_0x4fdf14['t'](_0x36a411(0x169))}),o[_0x36a411(0x214)]('code',{'className':_0x36a411(0x208),'children':_0x21e240[_0x36a411(0xa6)]})]})]}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1a7),'children':[o[_0x36a411(0x214)]('div',{'className':_0x36a411(0x1aa)}),o['jsxs']('div',{'className':_0x36a411(0xea),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x4fdf14['t']('mcpConfig.sessionId')}),o['jsx'](_0x36a411(0x1dc),{'className':_0x36a411(0xb7),'children':_0x21e240[_0x36a411(0x192)]||'default'})]})]})]})]}),o[_0x36a411(0x214)](x[_0x36a411(0x1f6)],{'onClick':_0x329b36,'disabled':!_0x44c867||_0x3fd1c4,'className':_0x36a411(0x1ea),'children':_0x3fd1c4?o[_0x36a411(0xf0)](_0x36a411(0x206),{'className':_0x36a411(0x1a8),'children':[o['jsx'](_0x36a411(0x206),{'children':'⟲'}),_0x4fdf14['t'](_0x36a411(0x20b))]}):o[_0x36a411(0xf0)]('span',{'className':_0x36a411(0x1a8),'children':[o[_0x36a411(0x214)](L,{}),_0x4fdf14['t'](_0x36a411(0x109))]})}),o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1ac),'children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0xc8),'children':[o['jsx'](_0x36a411(0x206),{'className':_0x36a411(0x14c),'children':'💡'}),o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0x10c),'children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xac),'children':_0x36a411(0x1f7)}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'children':['•',_0x4fdf14['t'](_0x36a411(0x19c))]}),o['jsxs'](_0x36a411(0x1d1),{'children':['•',_0x4fdf14['t'](_0x36a411(0x11a))]})]})]})})]})})]});}const k=_0x2a6b16(0xfa),T={'showDeveloperTools':!0x1};var fe=Object[_0x2a6b16(0x155)],pe=(_0x4781c8,_0x17e354,_0x40c70c,_0x3158b7)=>{var _0x24ec27=_0x2a6b16;for(var _0x481b30=_0x3158b7>0x1?void 0x0:_0x3158b7?fe(_0x17e354,_0x40c70c):_0x17e354,_0x2fe44b=_0x4781c8[_0x24ec27(0x1d2)]-0x1,_0x4f2cb2;_0x2fe44b>=0x0;_0x2fe44b--)(_0x4f2cb2=_0x4781c8[_0x2fe44b])&&(_0x481b30=_0x4f2cb2(_0x481b30)||_0x481b30);return _0x481b30;},p=(_0x1469dc,_0x1a93b8)=>(_0x10d7a9,_0x31b788)=>_0x1a93b8(_0x10d7a9,_0x31b788,_0x1469dc);const w=_0x2a6b16(0x1ec),A=_0x2a6b16(0xf2);exports['MCPConfigUIController']=class extends u[_0x2a6b16(0xe9)]{constructor(_0x25dbff,_0x109ad6,_0x408d86,_0x2c6587,_0x5e1a44,_0x3bec43,_0x152606,_0xf0c514,_0x5776a9,_0x4a2be6){var _0x59d81f=_0x2a6b16;super(),_(this,'_loading$',new j[(_0x59d81f(0xbd))](!0x1)),_(this,_0x59d81f(0x1c6),new j[(_0x59d81f(0xbd))]({})),_(this,_0x59d81f(0x211),new j[(_0x59d81f(0xbd))]({})),_(this,_0x59d81f(0x149),async _0x305e6b=>{var _0x2ae02c=_0x59d81f;this[_0x2ae02c(0x197)][_0x2ae02c(0xf1)](!0x0);try{const _0x1ace24=await this[_0x2ae02c(0xe7)](_0x305e6b);if(!_0x1ace24[_0x2ae02c(0x163)]){this['_messageService']['show']({'type':x[_0x2ae02c(0x162)][_0x2ae02c(0xc9)],'content':_0x1ace24[_0x2ae02c(0x184)]||this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0x111))});return;}_0x305e6b[_0x2ae02c(0x164)]?await this['_localStorageService'][_0x2ae02c(0xf5)](w,_0x305e6b['apiKey'][_0x2ae02c(0xc1)]()):await this[_0x2ae02c(0x1fd)]['removeItem'](w),this[_0x2ae02c(0x14b)][_0x2ae02c(0x1fc)](s['MCP_PLUGIN_CONFIG_KEY'],{..._0x305e6b,'apiKey':_0x305e6b[_0x2ae02c(0x164)][_0x2ae02c(0xc1)]()}),this[_0x2ae02c(0x1c6)][_0x2ae02c(0xf1)]({..._0x305e6b,'apiKey':_0x305e6b[_0x2ae02c(0x164)][_0x2ae02c(0xc1)]()}),this[_0x2ae02c(0x100)]['show']({'type':x['MessageType'][_0x2ae02c(0xd7)],'content':this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0xb8))}),setTimeout(()=>{var _0x2ee10b=_0x2ae02c;this[_0x2ee10b(0x1d6)]['close'](A);},0x320);}catch(_0x4e2cd4){this[_0x2ae02c(0x1b4)][_0x2ae02c(0x19a)](_0x2ae02c(0x1b0),_0x4e2cd4),this[_0x2ae02c(0x100)][_0x2ae02c(0x1ab)]({'type':x[_0x2ae02c(0x162)][_0x2ae02c(0xc9)],'content':this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0x174))});}finally{this[_0x2ae02c(0x197)][_0x2ae02c(0xf1)](!0x1);}}),(this['_injector']=_0x25dbff,this[_0x59d81f(0x15e)]=_0x109ad6,this[_0x59d81f(0x14b)]=_0x408d86,this[_0x59d81f(0x1fd)]=_0x2c6587,this[_0x59d81f(0x1d6)]=_0x5e1a44,this[_0x59d81f(0x100)]=_0x3bec43,this[_0x59d81f(0xc0)]=_0x152606,this['_localeService']=_0xf0c514,this['_logService']=_0x5776a9,this['_mcpConnectionController']=_0x4a2be6,this[_0x59d81f(0xff)](),this[_0x59d81f(0x113)](),this[_0x59d81f(0x147)]());}[_0x2a6b16(0xb4)](){var _0x34cd7d=_0x2a6b16;this[_0x34cd7d(0x1d6)][_0x34cd7d(0x1a4)]({'id':A,'title':{'title':this[_0x34cd7d(0x1c7)]['t'](_0x34cd7d(0x12e))},'children':{'label':_0x34cd7d(0x1d3)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x21e5c7=_0x34cd7d;this['_dialogService'][_0x21e5c7(0x20d)](A);}});}[_0x2a6b16(0xe3)](){var _0xe27953=_0x2a6b16;return this['_mcpCoreConfig$'][_0xe27953(0x9b)];}[_0x2a6b16(0x147)](){var _0x5941d0=_0x2a6b16;this[_0x5941d0(0x1db)](this[_0x5941d0(0xc0)][_0x5941d0(0x175)](_0x5941d0(0x1d3),this[_0x5941d0(0x128)]()));}[_0x2a6b16(0x128)](){var _0x58d28f=_0x2a6b16;return v[_0x58d28f(0x11d)](()=>{var _0x138a68=_0x58d28f,_0x587ec2,_0x6c694f;return o[_0x138a68(0x214)](B,{'config':this[_0x138a68(0x211)][_0x138a68(0x9b)],'mcpCoreConfig':this[_0x138a68(0x1c6)][_0x138a68(0x9b)],'onSave':this['_handleConfigSave'],'loading':this[_0x138a68(0x197)]['value'],'connectionStatus$':(_0x587ec2=this[_0x138a68(0x157)])==null?void 0x0:_0x587ec2[_0x138a68(0x1ca)],'connectionError$':(_0x6c694f=this[_0x138a68(0x157)])==null?void 0x0:_0x6c694f[_0x138a68(0x1c4)]});},this[_0x58d28f(0xdc)]);}['_initConfigSync'](){var _0x4ae775=_0x2a6b16;this[_0x4ae775(0x1db)](this[_0x4ae775(0x14b)][_0x4ae775(0x12f)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x4ae775(0x1da)](_0x3426a5=>{var _0x24a4ef=_0x4ae775;this[_0x24a4ef(0x1c6)][_0x24a4ef(0xf1)](_0x3426a5||{});}));const _0x29cabe=this[_0x4ae775(0x14b)][_0x4ae775(0x114)](s[_0x4ae775(0x107)]);this['_mcpCoreConfig$']['next'](_0x29cabe||{}),this[_0x4ae775(0x1db)](this['_configService']['subscribeConfigValue$'](k)['subscribe'](_0x54f2e1=>{var _0x32abc6=_0x4ae775;this[_0x32abc6(0x211)]['next'](_0x54f2e1||{});}));const _0x357a5c=this['_configService'][_0x4ae775(0x114)](k);this[_0x4ae775(0x211)][_0x4ae775(0xf1)](_0x357a5c||{});}async[_0x2a6b16(0x113)](){var _0x5306fe=_0x2a6b16;const _0x48cd3f=await this[_0x5306fe(0x1fd)][_0x5306fe(0x1ee)](w);if(_0x48cd3f){const _0x27e63e={...this[_0x5306fe(0x1c6)]['value'],'apiKey':_0x48cd3f};this[_0x5306fe(0x14b)]['setConfig'](s[_0x5306fe(0x107)],_0x27e63e),this[_0x5306fe(0x1c6)]['next'](_0x27e63e);}}async[_0x2a6b16(0xe7)](_0x4f892d){var _0xcc18ba=_0x2a6b16;if(!_0x4f892d[_0xcc18ba(0x164)]||_0x4f892d[_0xcc18ba(0x164)][_0xcc18ba(0xc1)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xcc18ba(0x16a))};if(_0x4f892d['apiKey'][_0xcc18ba(0xc1)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0xcc18ba(0x1c7)]['t'](_0xcc18ba(0x18e))};try{const _0x18a2da=await this['_injector'][_0xcc18ba(0x96)](s[_0xcc18ba(0x200)])['validateApiKey'](_0x4f892d['apiKey'][_0xcc18ba(0xc1)]());return _0x18a2da[_0xcc18ba(0x163)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x18a2da[_0xcc18ba(0x19a)]||this[_0xcc18ba(0x1c7)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x1af5b5){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x1af5b5),{'isValid':!0x0};}}},exports[_0x2a6b16(0x1cb)]=pe([p(0x0,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),p(0x1,v[_0x2a6b16(0xb2)]),p(0x2,u['IConfigService']),p(0x3,u[_0x2a6b16(0xd3)]),p(0x4,v['IDialogService']),p(0x5,v[_0x2a6b16(0x14a)]),p(0x6,u['Inject'](v['ComponentManager'])),p(0x7,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x10b)])),p(0x8,u[_0x2a6b16(0x103)]),p(0x9,u[_0x2a6b16(0x16d)](s['MCPConnectionController']))],exports[_0x2a6b16(0x1cb)]);const b={'id':_0x2a6b16(0x11f),'type':u[_0x2a6b16(0x15c)]['COMMAND'],'handler':async(_0x8f122e,_0x3022e9)=>(_0x8f122e[_0x2a6b16(0x96)](exports[_0x2a6b16(0x1cb)])[_0x2a6b16(0xb4)](),!0x0)};function H(_0x973418,_0x29f558){var _0x4f8b60=_0x2a6b16;switch(_0x973418){case s[_0x4f8b60(0xd4)][_0x4f8b60(0x1e1)]:return _0x29f558===s[_0x4f8b60(0x119)][_0x4f8b60(0x133)]?_0x4f8b60(0x188):_0x4f8b60(0x110);case s['MCPConnectionStatus'][_0x4f8b60(0xbb)]:return'mcpStatus.connecting';case s['MCPConnectionStatus'][_0x4f8b60(0xb0)]:return _0x4f8b60(0x1ff);case s[_0x4f8b60(0xd4)][_0x4f8b60(0x199)]:switch(_0x29f558){case s[_0x4f8b60(0x119)]['INVALID_API_KEY']:return _0x4f8b60(0xb9);case s['MCPConnectionError'][_0x4f8b60(0x135)]:return _0x4f8b60(0x139);case s['MCPConnectionError']['NETWORK_ERROR']:return _0x4f8b60(0x131);case s[_0x4f8b60(0x119)]['MAX_RETRIES_EXCEEDED']:return _0x4f8b60(0x1c5);default:return _0x4f8b60(0x1a9);}case s[_0x4f8b60(0xd4)]['RETRYING']:return _0x4f8b60(0x1b7);default:return'mcpStatus.unknown';}}function he(_0x585988,_0x4bac98,_0x8ebc35){var _0x581d2f=_0x2a6b16;const _0x4c8895=H(_0x585988,_0x4bac98),_0x50ef58=_0x8ebc35['t'](_0x4c8895);return _0x585988===s['MCPConnectionStatus'][_0x581d2f(0x1e1)]&&_0x4bac98===s[_0x581d2f(0x119)][_0x581d2f(0x133)]?_0x50ef58+_0x581d2f(0xca)+_0x8ebc35['t'](_0x581d2f(0xbf)):_0x585988===s[_0x581d2f(0xd4)][_0x581d2f(0xb0)]?''+_0x50ef58:_0x585988===s['MCPConnectionStatus']['DISCONNECTED']||_0x585988===s[_0x581d2f(0xd4)][_0x581d2f(0x199)]?_0x50ef58+_0x581d2f(0xca)+_0x8ebc35['t'](_0x581d2f(0x205)):_0x50ef58;}function me(_0x14962e){var _0x370b7c=_0x2a6b16;switch(_0x14962e){case s['MCPConnectionStatus'][_0x370b7c(0xb0)]:return _0x370b7c(0xaf);case s[_0x370b7c(0xd4)][_0x370b7c(0xbb)]:case s['MCPConnectionStatus']['RETRYING']:return _0x370b7c(0x129);case s[_0x370b7c(0xd4)]['FAILED']:case s[_0x370b7c(0xd4)][_0x370b7c(0x1e1)]:return _0x370b7c(0x17a);default:return _0x370b7c(0x1f3);}}function q(_0x409192){var _0x41e9f2=_0x2a6b16;const {status$:_0x5c6cd6,error$:_0xb80b96,onConfigure:_0x426042}=_0x409192,_0x564daf=v[_0x41e9f2(0x1b5)](_0x5c6cd6,s[_0x41e9f2(0xd4)][_0x41e9f2(0x1e1)]),_0x52cbde=v[_0x41e9f2(0x1b5)](_0xb80b96,s[_0x41e9f2(0x119)][_0x41e9f2(0x13d)]),_0x479a26=v[_0x41e9f2(0x161)](u[_0x41e9f2(0x10b)]),_0x43ba6d=_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xb0)],_0xda0a5d=_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xbb)]||_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xc3)],_0x46fae0=_0x479a26['t'](H(_0x564daf,_0x52cbde)),_0x36fd05=he(_0x564daf,_0x52cbde,_0x479a26),_0x4e2068=me(_0x564daf),_0x22031=_0x43ba6d?o[_0x41e9f2(0x214)](V,{}):o[_0x41e9f2(0x214)](F,{}),_0x416939=d[_0x41e9f2(0x150)](()=>{_0x426042&&_0x426042();},[_0x43ba6d,_0xda0a5d,_0x426042]);function _0x2e3cb9(){var _0x121951=_0x41e9f2;return o[_0x121951(0xf0)](_0x121951(0x1d1),{'className':x[_0x121951(0x14f)](_0x121951(0xa4),_0x426042&&_0x121951(0x1cf)),'onClick':_0x426042?_0x416939:void 0x0,'children':[o[_0x121951(0x214)](_0x121951(0x1d1),{'className':x[_0x121951(0x14f)](_0x121951(0x190),_0x4e2068),'children':_0x22031}),o[_0x121951(0x214)](_0x121951(0x1d1),{'className':_0x121951(0x137),'children':_0x46fae0})]});}return o[_0x41e9f2(0x214)](x[_0x41e9f2(0x1fb)],{'title':_0x36fd05,'placement':_0x41e9f2(0xa7),'children':_0x2e3cb9()});}function _0xcf39(_0x74d426,_0x3a6579){var _0x2d6465=_0x2d64();return _0xcf39=function(_0xcf39ca,_0x109980){_0xcf39ca=_0xcf39ca-0x93;var _0x356366=_0x2d6465[_0xcf39ca];return _0x356366;},_0xcf39(_0x74d426,_0x3a6579);}var xe=Object[_0x2a6b16(0x155)],Pe=(_0x47975d,_0x24605c,_0x15cfc6,_0x12c953)=>{var _0x3c5b1c=_0x2a6b16;for(var _0x570844=_0x12c953>0x1?void 0x0:_0x12c953?xe(_0x24605c,_0x15cfc6):_0x24605c,_0x32ef7d=_0x47975d[_0x3c5b1c(0x1d2)]-0x1,_0x4a5d55;_0x32ef7d>=0x0;_0x32ef7d--)(_0x4a5d55=_0x47975d[_0x32ef7d])&&(_0x570844=_0x4a5d55(_0x570844)||_0x570844);return _0x570844;},O=(_0x2fa2ae,_0x74f60)=>(_0x27bcf4,_0x32ca2a)=>_0x74f60(_0x27bcf4,_0x32ca2a,_0x2fa2ae);function _0x2d64(){var _0x3d21c7=['univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','forEach','concat','OpenMCPConfigPanelCommand','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','registerCommand','mcp.apiKey','Close','getItem','mcpConfig.description','univer-flex\x20univer-items-center\x20univer-gap-3','NETWORK_ERROR','M5.21243\x2012.287L11.8791\x205.62036','univer-text-gray-500','zhCN','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','Button','Configuration\x20Notes:','会话ID','IConfigService','https://console.univer.ai','Tooltip','setConfig','_localStorageService','10pkHTLJ','mcpStatus.connected','MCPConnectionController','Server\x20Endpoint','http://www.w3.org/2000/svg','univer-flex\x20univer-items-start\x20univer-gap-2','CheckMarkIcon','mcpStatus.clickToConnect','span','univer-flex-1','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','MCPUIMenuController','svg','mcpConfig.saving','Click\x20to\x20configure\x20MCP','close','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','entries','useRef','_config$','_blank','0\x200\x2017\x2017','jsx','API\x20密钥无效,请检查密钥是否正确','Failed\x20to\x20save\x20configuration','map','get','white','help-single','off','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','value','INVALID_API_KEY','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','MCPStatusDisplay','icon','需要\x20API\x20密钥才能连接','MCP:\x20会话被占用','merge','MCP\x20Connected','univer-flex\x20univer-cursor-pointer\x20univer-items-center','_commandService','mcpServerUrl','bottom','useState','url(#on-line-icon_clip0_910_349)','random','currentColor','univer-font-medium','defineProperty','OnLineIcon','univer-text-green-500','CONNECTED','BuiltInUIPart','IUIPartsService','string','showConfigPanel','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Disconnected','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','mcpConfig.configSaved','mcpStatus.invalidApiKey','UniverMCPUIPlugin','CONNECTING','univerjs-icon\x20univerjs-icon-','BehaviorSubject','univer-bg-gray-500','mcpStatus.clickToConfigure','_componentManager','trim','API\x20key\x20is\x20required','RETRYING','Connection\x20Information','none','toString','mask','univer-flex\x20univer-gap-3','Error','\x20-\x20','Connecting...','close-small-single','includes','3871224vovYYt','连接失败','enUS','最大重试次数','hasOwnProperty','ILocalStorageService','MCPConnectionStatus','\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','保存配置','Success','MCPConnectionUIController','MCP:\x20Network\x20Error','UniverIcon','MCP\x20Unknown\x20Status','_injector','启用身份验证','_connectionController','您的\x20API\x20密钥将在此浏览器中本地存储','_initializeCommands','url(#off-line-icon_clip0_910_343)','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','getCurrentConfig','_initializeMenus','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-bg-red-500','_validateConfig','MCP\x20配置','Disposable','univer-min-w-0\x20univer-flex-1','round','MAX_RETRIES_EXCEEDED','576354FmmiqB','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','4273506BVTbqv','jsxs','next','mcp-config-dialog','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCP:\x20网络错误','setItem','API\x20Key','mcpConfig.connectionError.networkError','evenodd','_initStatusComponent','mcp-ui.config','path','MCP:\x20Max\x20Retries\x20Exceeded','text','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','_initConfigSync','_messageService','MCP\x20Connection\x20Failed','noopener\x20noreferrer','ILogService','replace','Get\x20your\x20API\x20key\x20in\x20seconds','defs','MCP_PLUGIN_CONFIG_KEY','univer-bg-green-500','mcpConfig.save','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','LocaleService','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP:\x20Session\x20Occupied','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','HEADER_MENU','mcpStatus.disconnected','mcpConfig.validation.invalidConfig','registerComponent','_loadStoredApiKey','getConfig','Univer\x20AI\x20Console','xlink:href','toStringTag','prototype','MCPConnectionError','mcpConfig.note2','MCP\x20Connecting...','propertyIsEnumerable','connectInjector','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','mcp-ui.command.openConfigPanel','MenuItemType','mcpConfig.apiApplyInfo.title','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','CloseSmallSingle','连接信息','DependentOn','MCP:\x20缺少\x20API\x20密钥','use','_createConfigPanelComponent','univer-text-yellow-500','displayName','超出最大重试次数,请稍后再试','off-line-icon_clip0_910_343','Univer\x20AI\x20控制台','mcpConfig.title','subscribeConfigValue$','Enable\x20authentication\x20for\x20secure\x20connections','mcpStatus.networkError','Max\x20Retries','MISSING_API_KEY','assign','SESSION_ID_OCCUPIED','showDeveloperTools','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.apiApplyInfo.description','mcpStatus.sessionOccupied','配置无效','off-line-icon','1em','NONE','mcpConfig.apiApplyInfo.getStarted','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20API\x20Key\x20Missing','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','fill','4693828ebnyjh','API\x20密钥不能为空','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','url(#$1','_registerComponent','translate(.97)','_handleConfigSave','IMessageService','_configService','univer-flex-shrink-0\x20univer-text-blue-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','重连中...','clsx','useCallback','Session\x20ID','_config','indexOf','https://console.univer.plus','getOwnPropertyDescriptor','API\x20密钥','_mcpConnectionController','MCP\x20Configuration','mcpConfig.connectionStatus.connecting','defIds','className','CommandType','mcpConfig.connectionError.missingApiKey','_uiPartsService','MCP\x20Disconnected','on-line-icon_clip0_910_349','useDependency','MessageType','isValid','apiKey','Save\x20Configuration','apply','MCP:\x20无效的\x20API\x20密钥','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','mcpConfig.serverEndpoint','mcpConfig.validation.apiKeyRequired','check-mark-icon','createElement','Inject','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','点击连接\x20MCP','IMenuManagerService','forwardRef','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.configError','register','API\x20key\x20is\x20required\x20to\x20connect','mergeMenu','0\x200\x2017\x2016','call','univer-text-red-500','334325mXRsUm','univer.ai','配置保存失败','current','univer-text-blue-600','请输入您的\x20API\x20密钥','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','配置\x20MCP\x20使用\x20AI\x20操作电子表格','20pHBLFv','errorMessage','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.connectionStatus.retrying','mcpConfig.apiApplyInfo.univerAiLabel','mcpStatus.missingApiKey','symbol','extend','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','colorChannel1','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.validation.apiKeyTooShort','children','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.connectionStatus.failed','sessionId','88927INrbTv','会话当前被占用,请稍后再试','Enter\x20your\x20API\x20key','0\x200\x2016\x2016','_loading$','pluginName','FAILED','error','Click\x20to\x20connect\x20MCP','mcpConfig.note1','Retrying...','保存中...','on-line-icon','几秒钟内获取您的\x20API\x20密钥','MCP_UI_PLUGIN','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2133738dPcVJK','open','univer-bg-blue-500','MCP\x20Retrying...','univer-flex\x20univer-items-start\x20univer-gap-3','univer-flex\x20univer-items-center\x20univer-gap-2','mcpStatus.failed','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','show','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-xs\x20univer-text-gray-500','配置保存成功','Connected','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','API\x20密钥无效,请检查您的密钥后重试','Injector','mcpConfig.apiKey','_logService','useObservable','Module','mcpStatus.retrying','idSuffix','MCP\x20重连中...','42FetxfM','function','\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','已连接','_handleConfigure','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','tag','RibbonStartGroup','javascript:void(0)','connectionError$','mcpStatus.maxRetriesExceeded','_mcpCoreConfig$','_localeService','attrs','Saving...','connectionStatus$','MCPConfigUIController','启用身份验证以获得安全连接','Plugin','Input','hover:univer-opacity-80','univer.plus','div','length','MCPConfigPanel','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','_dialogService','Configuration\x20saved\x20successfully','univer-text-sm\x20univer-font-medium','substring','subscribe','disposeWithMe','code','MCP:\x20超出最大重试次数','Invalid\x20configuration','_menuManagerService','M0\x200H16V16H0z','DISCONNECTED','MCP\x20已断开','clipPath','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20连接中...'];_0x2d64=function(){return _0x3d21c7;};return _0x2d64();}exports[_0x2a6b16(0xd8)]=class extends u[_0x2a6b16(0xe9)]{constructor(_0x3cc2ea,_0x3bbc95,_0x109711){var _0x27029f=_0x2a6b16;super(),this[_0x27029f(0xdc)]=_0x3cc2ea,this[_0x27029f(0xde)]=_0x3bbc95,this[_0x27029f(0x15e)]=_0x109711,this[_0x27029f(0xf9)]();}[_0x2a6b16(0xf9)](){var _0x2e94ea=_0x2a6b16;this['disposeWithMe'](this[_0x2e94ea(0x15e)][_0x2e94ea(0x112)](v[_0x2e94ea(0xb1)][_0x2e94ea(0x10f)],()=>v[_0x2e94ea(0x11d)](Ie({'status$':this[_0x2e94ea(0xde)]['connectionStatus$'],'error$':this[_0x2e94ea(0xde)][_0x2e94ea(0x1c4)],'onConfigure':()=>this[_0x2e94ea(0x1be)]()}),this['_injector'])));}[_0x2a6b16(0x1be)](){var _0x30c84d=_0x2a6b16;this['_injector'][_0x30c84d(0x96)](exports[_0x30c84d(0x1cb)])[_0x30c84d(0xb4)]();}},exports['MCPConnectionUIController']=Pe([O(0x0,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),O(0x1,u['Inject'](s['MCPConnectionController'])),O(0x2,v[_0x2a6b16(0xb2)])],exports[_0x2a6b16(0xd8)]);function Ie(_0x1f0a53){const {status$:_0x9e8ee8,error$:_0x4711df,onConfigure:_0x145000}=_0x1f0a53;return function(){var _0x379ad8=_0xcf39;return o[_0x379ad8(0x214)](q,{'status$':_0x9e8ee8,'error$':_0x4711df,'onConfigure':_0x145000});};}function Se(_0x5db45e){var _0x2b964b=_0x2a6b16;return{'id':b['id'],'type':v[_0x2b964b(0x120)]['BUTTON'],'icon':'MenuIcon','title':_0x2b964b(0x12e),'tooltip':_0x2b964b(0x12e)};}const _e={[v[_0x2a6b16(0x1c2)]['OTHERS']]:{[b['id']]:{'order':0xa,'menuItemFactory':Se}}};var ye=Object[_0x2a6b16(0x155)],Me=(_0xe2dd9c,_0x12f2f2,_0x3ec23d,_0x1403f7)=>{for(var _0x1ed262=_0x1403f7>0x1?void 0x0:_0x1403f7?ye(_0x12f2f2,_0x3ec23d):_0x12f2f2,_0x527f7b=_0xe2dd9c['length']-0x1,_0x5d1876;_0x527f7b>=0x0;_0x527f7b--)(_0x5d1876=_0xe2dd9c[_0x527f7b])&&(_0x1ed262=_0x5d1876(_0x1ed262)||_0x1ed262);return _0x1ed262;},R=(_0x5d9073,_0x585fef)=>(_0x210686,_0x17c95b)=>_0x585fef(_0x210686,_0x17c95b,_0x5d9073);exports[_0x2a6b16(0x209)]=class extends u['Disposable']{constructor(_0x4b6a94,_0x5cf2fa){var _0x6b33fb=_0x2a6b16;super(),this[_0x6b33fb(0xa5)]=_0x4b6a94,this[_0x6b33fb(0x1df)]=_0x5cf2fa,this[_0x6b33fb(0xe0)](),this[_0x6b33fb(0xe4)]();}['_initializeCommands'](){var _0x8558c6=_0x2a6b16;[b][_0x8558c6(0x1e7)](_0x3d602f=>{var _0x5c6f22=_0x8558c6;this[_0x5c6f22(0x1db)](this['_commandService'][_0x5c6f22(0x1eb)](_0x3d602f));});}['_initializeMenus'](){var _0x1af9c3=_0x2a6b16;this[_0x1af9c3(0x1df)][_0x1af9c3(0x177)](_e);}},exports['MCPUIMenuController']=Me([R(0x0,u['ICommandService']),R(0x1,v[_0x2a6b16(0x170)])],exports[_0x2a6b16(0x209)]);const Ee={'mcpStatus':{'disconnected':_0x2a6b16(0x15f),'connecting':_0x2a6b16(0x11b),'connected':_0x2a6b16(0xa3),'failed':_0x2a6b16(0x101),'retrying':_0x2a6b16(0x1a6),'unknown':_0x2a6b16(0xdb),'missingApiKey':_0x2a6b16(0x140),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x2a6b16(0x10d),'networkError':_0x2a6b16(0xd9),'maxRetriesExceeded':_0x2a6b16(0xfc),'clickToConnect':_0x2a6b16(0x19b),'clickToConfigure':_0x2a6b16(0x20c)},'mcpConfig':{'title':_0x2a6b16(0x158),'description':_0x2a6b16(0x141),'apiKey':_0x2a6b16(0xf6),'apiKeyPlaceholder':_0x2a6b16(0x195),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2a6b16(0x130),'connectionInfo':_0x2a6b16(0xc4),'serverEndpoint':_0x2a6b16(0x201),'sessionId':_0x2a6b16(0x151),'maxRetries':_0x2a6b16(0x132),'save':_0x2a6b16(0x165),'saving':_0x2a6b16(0x1c9),'note1':_0x2a6b16(0x1a2),'note2':_0x2a6b16(0x13f),'configSaved':_0x2a6b16(0x1d7),'configError':_0x2a6b16(0x94),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2a6b16(0x1d5),'univerAiLabel':_0x2a6b16(0x115),'getStarted':_0x2a6b16(0x105)},'validation':{'apiKeyRequired':_0x2a6b16(0xc2),'apiKeyTooShort':_0x2a6b16(0x18b),'invalidConfig':_0x2a6b16(0x1de),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2a6b16(0xb6),'connecting':_0x2a6b16(0xcb),'connected':_0x2a6b16(0x1af),'failed':'Connection\x20Failed','retrying':_0x2a6b16(0x19d)},'connectionError':{'missingApiKey':_0x2a6b16(0x176),'invalidApiKey':_0x2a6b16(0x1e4),'sessionOccupied':_0x2a6b16(0x181),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Ne={'mcpStatus':{'disconnected':_0x2a6b16(0x1e2),'connecting':_0x2a6b16(0x1e5),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x2a6b16(0x1b9),'unknown':'MCP\x20状态未知','missingApiKey':_0x2a6b16(0x126),'invalidApiKey':_0x2a6b16(0x167),'sessionOccupied':_0x2a6b16(0xa1),'networkError':_0x2a6b16(0xf4),'maxRetriesExceeded':_0x2a6b16(0x1dd),'clickToConnect':_0x2a6b16(0x16f),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x2a6b16(0xe8),'description':_0x2a6b16(0x182),'apiKey':_0x2a6b16(0x156),'apiKeyPlaceholder':_0x2a6b16(0x180),'apiKeyHint':_0x2a6b16(0xdf),'enableAuth':_0x2a6b16(0xdd),'enableAuthHint':_0x2a6b16(0x1cc),'connectionInfo':_0x2a6b16(0x124),'serverEndpoint':'服务器端点','sessionId':_0x2a6b16(0x1f8),'maxRetries':_0x2a6b16(0xd1),'save':_0x2a6b16(0xd6),'saving':_0x2a6b16(0x19e),'note1':'配置更改将立即生效','note2':_0x2a6b16(0x173),'configSaved':_0x2a6b16(0x1ae),'configError':_0x2a6b16(0x17d),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x2a6b16(0x1bf),'univerAiLabel':_0x2a6b16(0x12d),'getStarted':_0x2a6b16(0x1a0)},'validation':{'apiKeyRequired':_0x2a6b16(0x144),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x2a6b16(0x13a),'invalidApiKey':_0x2a6b16(0x93)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x2a6b16(0x1bd),'failed':_0x2a6b16(0xcf),'retrying':_0x2a6b16(0x14e)},'connectionError':{'missingApiKey':_0x2a6b16(0xa0),'invalidApiKey':_0x2a6b16(0x1b1),'sessionOccupied':_0x2a6b16(0x194),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x2a6b16(0x12b)}}};var be=Object['defineProperty'],je=Object[_0x2a6b16(0x155)],we=(_0x6f6b83,_0x10591f,_0xc35827)=>_0x10591f in _0x6f6b83?be(_0x6f6b83,_0x10591f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc35827}):_0x6f6b83[_0x10591f]=_0xc35827,Ae=(_0x526763,_0x2bd3ac,_0xc647a2,_0x471f22)=>{var _0x469966=_0x2a6b16;for(var _0x52b15a=_0x471f22>0x1?void 0x0:_0x471f22?je(_0x2bd3ac,_0xc647a2):_0x2bd3ac,_0x4d96de=_0x526763[_0x469966(0x1d2)]-0x1,_0x47349c;_0x4d96de>=0x0;_0x4d96de--)(_0x47349c=_0x526763[_0x4d96de])&&(_0x52b15a=_0x47349c(_0x52b15a)||_0x52b15a);return _0x52b15a;},y=(_0x40d963,_0x1ee20f)=>(_0x5da566,_0x1185ed)=>_0x1ee20f(_0x5da566,_0x1185ed,_0x40d963),Oe=(_0x266a38,_0x496948,_0x1188da)=>we(_0x266a38,_0x496948+'',_0x1188da);exports[_0x2a6b16(0xba)]=class extends u[_0x2a6b16(0x1cd)]{constructor(_0x1d4609=T,_0x454a06,_0x8a2104,_0x549d11,_0x1825e9,_0x47a0f3){var _0x1760f6=_0x2a6b16;super(),this[_0x1760f6(0x152)]=_0x1d4609,this[_0x1760f6(0xdc)]=_0x454a06,this['_configService']=_0x8a2104,this['_uiPartsService']=_0x549d11,this[_0x1760f6(0x1fd)]=_0x1825e9,this[_0x1760f6(0x1c7)]=_0x47a0f3;const {..._0x103610}=u[_0x1760f6(0xa2)]({},T,this[_0x1760f6(0x152)]);this[_0x1760f6(0x14b)][_0x1760f6(0x1fc)](k,_0x103610);}async['onStarting'](){var _0x8661fd=_0x2a6b16;[[exports[_0x8661fd(0xd8)]],[exports[_0x8661fd(0x1cb)]],[exports[_0x8661fd(0x209)]]][_0x8661fd(0x1e7)](_0x57be32=>this[_0x8661fd(0xdc)]['add'](_0x57be32)),this[_0x8661fd(0xdc)][_0x8661fd(0x96)](exports[_0x8661fd(0xd8)]),this[_0x8661fd(0xdc)]['get'](exports[_0x8661fd(0x1cb)]),this['_injector'][_0x8661fd(0x96)](exports[_0x8661fd(0x209)]);}},Oe(exports[_0x2a6b16(0xba)],_0x2a6b16(0x198),_0x2a6b16(0x1a1)),exports[_0x2a6b16(0xba)]=Ae([u[_0x2a6b16(0x125)](s['UniverMCPPlugin']),y(0x1,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),y(0x2,u[_0x2a6b16(0x1f9)]),y(0x3,v['IUIPartsService']),y(0x4,u[_0x2a6b16(0xd3)]),y(0x5,u['Inject'](u['LocaleService']))],exports[_0x2a6b16(0xba)]),exports[_0x2a6b16(0x1d3)]=B,exports[_0x2a6b16(0x9e)]=q,exports[_0x2a6b16(0x1e9)]=b,exports[_0x2a6b16(0xd0)]=Ee,exports[_0x2a6b16(0x1f4)]=Ne;
1
+ 'use strict';var _0x55ffd5=_0xe152;(function(_0x3d332a,_0x39b7c8){var _0x5994d5=_0xe152,_0x27d8be=_0x3d332a();while(!![]){try{var _0x391013=-parseInt(_0x5994d5(0xdb))/0x1*(-parseInt(_0x5994d5(0x7e))/0x2)+-parseInt(_0x5994d5(0xd2))/0x3*(parseInt(_0x5994d5(0x139))/0x4)+parseInt(_0x5994d5(0x1a1))/0x5+-parseInt(_0x5994d5(0x16b))/0x6*(-parseInt(_0x5994d5(0x9c))/0x7)+parseInt(_0x5994d5(0x1af))/0x8+-parseInt(_0x5994d5(0x18f))/0x9*(parseInt(_0x5994d5(0x1bf))/0xa)+-parseInt(_0x5994d5(0x1ce))/0xb*(-parseInt(_0x5994d5(0xab))/0xc);if(_0x391013===_0x39b7c8)break;else _0x27d8be['push'](_0x27d8be['shift']());}catch(_0x3c9e23){_0x27d8be['push'](_0x27d8be['shift']());}}}(_0x203c,0x6b1d7));function _0xe152(_0x204524,_0x528fba){var _0x203c3a=_0x203c();return _0xe152=function(_0xe1522e,_0x29019b){_0xe1522e=_0xe1522e-0x7d;var _0x369507=_0x203c3a[_0xe1522e];return _0x369507;},_0xe152(_0x204524,_0x528fba);}var te=Object[_0x55ffd5(0x169)],oe=(_0x46af42,_0x4e967e,_0x29829d)=>_0x4e967e in _0x46af42?te(_0x46af42,_0x4e967e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29829d}):_0x46af42[_0x4e967e]=_0x29829d,_=(_0x316661,_0x5dd209,_0x52ee14)=>oe(_0x316661,typeof _0x5dd209!=_0x55ffd5(0xc6)?_0x5dd209+'':_0x5dd209,_0x52ee14);Object['defineProperty'](exports,Symbol[_0x55ffd5(0xe9)],{'value':'Module'});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x5ea73a=_0x55ffd5;return C=Object[_0x5ea73a(0x1e2)]||function(_0x19cec0){var _0x11f405=_0x5ea73a;for(var _0x76eb5e,_0x76c7b8=0x1,_0xb0d363=arguments[_0x11f405(0x18b)];_0x76c7b8<_0xb0d363;_0x76c7b8++){_0x76eb5e=arguments[_0x76c7b8];for(var _0x78375d in _0x76eb5e)Object[_0x11f405(0x14b)][_0x11f405(0xb9)][_0x11f405(0x110)](_0x76eb5e,_0x78375d)&&(_0x19cec0[_0x78375d]=_0x76eb5e[_0x78375d]);}return _0x19cec0;},C[_0x5ea73a(0x1bb)](this,arguments);},se=function(_0x4de109,_0x2c99f7){var _0x195816=_0x55ffd5,_0x39bdbf={};for(var _0x449f38 in _0x4de109)Object['prototype']['hasOwnProperty'][_0x195816(0x110)](_0x4de109,_0x449f38)&&_0x2c99f7[_0x195816(0x181)](_0x449f38)<0x0&&(_0x39bdbf[_0x449f38]=_0x4de109[_0x449f38]);if(_0x4de109!=null&&typeof Object[_0x195816(0x194)]==_0x195816(0xe7)){for(var _0x522957=0x0,_0x449f38=Object['getOwnPropertySymbols'](_0x4de109);_0x522957<_0x449f38['length'];_0x522957++)_0x2c99f7['indexOf'](_0x449f38[_0x522957])<0x0&&Object[_0x195816(0x14b)][_0x195816(0x19e)][_0x195816(0x110)](_0x4de109,_0x449f38[_0x522957])&&(_0x39bdbf[_0x449f38[_0x522957]]=_0x4de109[_0x449f38[_0x522957]]);}return _0x39bdbf;},P=d['forwardRef'](function(_0x436bba,_0x12e647){var _0x55325a=_0x55ffd5,_0x21f43a=_0x436bba[_0x55325a(0x89)],_0x28cd25=_0x436bba['id'],_0xcf47cd=_0x436bba[_0x55325a(0xbc)],_0x2918fd=_0x436bba[_0x55325a(0xde)],_0x3df425=se(_0x436bba,[_0x55325a(0x89),'id',_0x55325a(0xbc),_0x55325a(0xde)]),_0x77911b=_0x55325a(0x17c)[_0x55325a(0xc1)](_0x28cd25,'\x20')[_0x55325a(0xc1)](_0xcf47cd||'')[_0x55325a(0x1c9)](),_0x54e851=d['useRef']('_'[_0x55325a(0xc1)](le()));return $(_0x21f43a,''[_0x55325a(0xc1)](_0x28cd25),{'defIds':_0x21f43a[_0x55325a(0x97)],'idSuffix':_0x54e851[_0x55325a(0x1c8)]},C({'ref':_0x12e647,'className':_0x77911b},_0x3df425),_0x2918fd);});function $(_0x3e24b4,_0x164832,_0x406e83,_0x1b2e7c,_0x2c43c1){var _0x47b5b1=_0x55ffd5;return d[_0x47b5b1(0x16a)](_0x3e24b4[_0x47b5b1(0xc9)],C(C({'key':_0x164832},ce(_0x3e24b4,_0x406e83,_0x2c43c1)),_0x1b2e7c),(ae(_0x3e24b4,_0x406e83)[_0x47b5b1(0x196)]||[])[_0x47b5b1(0xeb)](function(_0x4c8048,_0x35bff5){var _0x237f49=_0x47b5b1;return $(_0x4c8048,''['concat'](_0x164832,'-')[_0x237f49(0xc1)](_0x3e24b4[_0x237f49(0xc9)],'-')['concat'](_0x35bff5),_0x406e83,void 0x0,_0x2c43c1);}));}function ce(_0x5c7d77,_0x30e148,_0x3e1987){var _0xc9de08=_0x55ffd5,_0x2fe987=C({},_0x5c7d77['attrs']);_0x3e1987!=null&&_0x3e1987['colorChannel1']&&_0x2fe987[_0xc9de08(0x94)]===_0xc9de08(0xc8)&&(_0x2fe987[_0xc9de08(0x94)]=_0x3e1987[_0xc9de08(0xc8)]),_0x5c7d77[_0xc9de08(0xc9)]==='mask'&&_0x2fe987['id']&&(_0x2fe987['id']=_0x2fe987['id']+_0x30e148['idSuffix']),Object[_0xc9de08(0x182)](_0x2fe987)[_0xc9de08(0x136)](function(_0x5071fc){var _0xa2f733=_0xc9de08,_0x3ff297=_0x5071fc[0x0],_0x4c17a5=_0x5071fc[0x1];_0x3ff297==='mask'&&typeof _0x4c17a5=='string'&&(_0x2fe987[_0x3ff297]=_0x4c17a5[_0xa2f733(0x177)](/url\(#(.*)\)/,_0xa2f733(0xef)[_0xa2f733(0xc1)](_0x30e148['idSuffix'],')')));});var _0x19f819=_0x30e148[_0xc9de08(0x97)];return!_0x19f819||_0x19f819[_0xc9de08(0x18b)]===0x0||(_0x5c7d77[_0xc9de08(0xc9)]===_0xc9de08(0x137)&&_0x2fe987[_0xc9de08(0x1db)]&&(_0x2fe987[_0xc9de08(0x1db)]=_0x2fe987[_0xc9de08(0x1db)]+_0x30e148[_0xc9de08(0xea)]),Object[_0xc9de08(0x182)](_0x2fe987)[_0xc9de08(0x136)](function(_0x28600e){var _0x834e65=_0xc9de08,_0x5238c0=_0x28600e[0x0],_0x58678f=_0x28600e[0x1];typeof _0x58678f==_0x834e65(0x102)&&(_0x2fe987[_0x5238c0]=_0x58678f[_0x834e65(0x177)](/url\(#(.*)\)/,_0x834e65(0xef)[_0x834e65(0xc1)](_0x30e148['idSuffix'],')')));})),_0x2fe987;}function ae(_0x52071d,_0x5d1794){var _0x1c25de=_0x55ffd5,_0x3e5302,_0x374d72=_0x5d1794[_0x1c25de(0x97)];return!_0x374d72||_0x374d72[_0x1c25de(0x18b)]===0x0?_0x52071d:_0x52071d['tag']===_0x1c25de(0xa6)&&(!((_0x3e5302=_0x52071d['children'])===null||_0x3e5302===void 0x0)&&_0x3e5302[_0x1c25de(0x18b)])?C(C({},_0x52071d),{'children':_0x52071d[_0x1c25de(0x196)][_0x1c25de(0xeb)](function(_0xa195d){var _0x35e1c4=_0x1c25de;return typeof _0xa195d[_0x35e1c4(0xcc)]['id']==_0x35e1c4(0x102)&&_0x374d72&&_0x374d72[_0x35e1c4(0xff)](_0xa195d[_0x35e1c4(0xcc)]['id'])?C(C({},_0xa195d),{'attrs':C(C({},_0xa195d[_0x35e1c4(0xcc)]),{'id':_0xa195d['attrs']['id']+_0x5d1794[_0x35e1c4(0xea)]})}):_0xa195d;})}):_0x52071d;}function le(){var _0x24255b=_0x55ffd5;return Math[_0x24255b(0x10f)]()['toString'](0x24)['substring'](0x2,0x8);}P[_0x55ffd5(0xe0)]=_0x55ffd5(0x161);var ue={'tag':'svg','attrs':{'xmlns':_0x55ffd5(0x8c),'fill':_0x55ffd5(0x1a8),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x55ffd5(0x11d),'attrs':{'fill':_0x55ffd5(0x1e7),'d':_0x55ffd5(0x1a0),'fillRule':_0x55ffd5(0x160),'clipRule':_0x55ffd5(0x160)}}]},L=d['forwardRef'](function(_0x260afe,_0x38104f){var _0x50e0da=_0x55ffd5;return d[_0x50e0da(0x16a)](P,Object['assign']({},_0x260afe,{'id':_0x50e0da(0x124),'ref':_0x38104f,'icon':ue}));});L[_0x55ffd5(0xe0)]=_0x55ffd5(0x117);var ve={'tag':_0x55ffd5(0x1d2),'attrs':{'xmlns':_0x55ffd5(0x8c),'fill':'none','viewBox':'0\x200\x2017\x2017','width':_0x55ffd5(0x12f),'height':_0x55ffd5(0x12f)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x55ffd5(0x145),'strokeLinecap':_0x55ffd5(0xda),'strokeLinejoin':_0x55ffd5(0xda),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x55ffd5(0x1e7),'d':_0x55ffd5(0x180),'strokeLinecap':_0x55ffd5(0xda),'strokeLinejoin':_0x55ffd5(0xda),'strokeWidth':1.33}}]},G=d[_0x55ffd5(0x15d)](function(_0xcc8d26,_0x448892){var _0xb0db85=_0x55ffd5;return d[_0xb0db85(0x16a)](P,Object[_0xb0db85(0x1e2)]({},_0xcc8d26,{'id':'close-small-single','ref':_0x448892,'icon':ve}));});G['displayName']=_0x55ffd5(0xdc);function _0x203c(){var _0x656eb1=['jsx','getOwnPropertyDescriptor','M0\x200H16V16H0z','function','API\x20密钥长度至少需要\x2010\x20位','toStringTag','idSuffix','map','mcpConfig.connectionStatus.failed','on-line-icon','超出最大重试次数,请稍后再试','url(#$1','连接中...','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','next','MCP\x20配置','isValid','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','MCP\x20Disconnected','useState','https://console.univer.plus','zhCN','_commandService','Retrying...','_mcpConnectionController','\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','includes','_validateConfig','mcpStatus.retrying','string','MCP\x20连接失败','_dialogService','Enter\x20your\x20API\x20key','CONNECTED','MCPConnectionUIController','mcpConfig.apiApplyInfo.univerAiLabel','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCPConfigPanel','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','Connected','show','mcpConfig.apiKeyPlaceholder','random','call','Enable\x20Authentication','Max\x20Retries','mcpConfig.sessionId','MAX_RETRIES_EXCEEDED','您的\x20API\x20密钥将在此浏览器中本地存储','连接失败','CheckMarkIcon','add','clsx','MCP:\x20Network\x20Error','mcpConfig.save','MCP\x20已断开','path','_configService','value','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','\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','label','default','check-mark-icon','Server\x20Endpoint','connectionError$','apiKey','help-single','OpenMCPConfigPanelCommand','mcpConfig.validation.apiKeyTooShort','univer-min-w-0\x20univer-flex-1','MCP\x20状态未知','INVALID_API_KEY','univer-flex\x20univer-items-center\x20univer-gap-3','1em','mcpStatus.connected','mcpConfig.connectionStatus.retrying','启用身份验证','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','CONNECTING','forEach','use','useCallback','85316XuZldj','_messageService','_connectionController','配置保存成功','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCPConnectionController','white','mcpConfig.note2','showConfigPanel','mcpStatus.invalidApiKey','_initConfigSync','启用身份验证以获得安全连接','M5.21243\x205.62036L11.8791\x2012.287','mcpStatus.clickToConfigure','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_initializeMenus','univer-space-y-5','mcpStatus.unknown','prototype','bottom','API\x20密钥无效,请检查密钥是否正确','连接信息','未连接','subscribeConfigValue$','MCP\x20Configuration','API\x20密钥不能为空','BUTTON','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','_localStorageService','Saving...','_registerComponent','IMenuManagerService','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','_createConfigPanelComponent','Univer\x20AI\x20控制台','setItem','forwardRef','Injector','MCPUIMenuController','evenodd','UniverIcon','mcpStatus.missingApiKey','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_mcpCoreConfig$','保存配置','mcpStatus.disconnected','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','defineProperty','createElement','272532ZtKuyO','DISCONNECTED','保存中...','setConfig','NETWORK_ERROR','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex\x20univer-cursor-pointer\x20univer-items-center','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','translate(.97)','Invalid\x20configuration','mcpConfig.apiKeyHint','validateApiKey','replace','Disposable','univer-bg-green-500','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','useObservable','univerjs-icon\x20univerjs-icon-','_logService','univer-flex-shrink-0\x20univer-text-red-500','noopener\x20noreferrer','M5.21243\x2012.287L11.8791\x205.62036','indexOf','entries','请输入您的\x20API\x20密钥','NONE','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','showDeveloperTools','Click\x20to\x20configure\x20MCP','https://console.univer.ai','RETRYING','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','length','UniverMCPUIPlugin','text','univer-text-red-500','21447YvGDbj','code','OffLineIcon','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','网络连接错误,请检查您的网络连接','getOwnPropertySymbols','_initStatusComponent','children','Error','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','connectInjector','url(#off-line-icon_clip0_910_343)','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_menuManagerService','FAILED','propertyIsEnumerable','hover:univer-opacity-80','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','1269365YDTHhH','API\x20Key','mcpConfig.validation.invalidConfig','mcpConfig.validation.invalidApiKey','getConfig','off-line-icon','off','none','_injector','mcpConfig.apiApplyInfo.description','_localeService','univer-flex\x20univer-gap-3','_loadStoredApiKey','mcpConfig.connectionError.maxRetriesExceeded','1483696VUcxAJ','MCP:\x20超出最大重试次数','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MenuItemType','MCP:\x20API\x20Key\x20Missing','univer-flex-shrink-0\x20univer-text-blue-500','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','点击配置\x20MCP','univer-flex\x20univer-items-start\x20univer-gap-2','on-line-icon_clip0_910_349','univer-bg-red-500','Connection\x20Failed','apply','mcpConfig.connectionError.invalidApiKey','univer-text-xs\x20univer-text-gray-500','Univer\x20AI\x20Console','2390zziQXf','配置无效','subscribe','mcpConfig.validation.apiKeyRequired','0\x200\x2016\x2016','BehaviorSubject','会话当前被占用,请稍后再试','register','getItem','current','trim','_uiPartsService','mcp.apiKey','UniverMCPPlugin','Enable\x20authentication\x20for\x20secure\x20connections','11SkNYpF','close','pluginName','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','svg','SESSION_ID_OCCUPIED','服务器端点','Input','点击连接\x20MCP','univer.ai','Failed\x20to\x20save\x20configuration','已连接','disposeWithMe','xlink:href','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','ComponentManager','COMMAND','MCP_UI_PLUGIN','mcpStatus.failed','mergeMenu','assign','merge','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','mcpConfig.connectionError.networkError','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','currentColor','Save\x20Configuration','API\x20密钥','重连中...','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.apiApplyInfo.getStarted','\x20-\x20','173566iSCZoY','univer.plus','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','API\x20key\x20is\x20required','univer-flex-1','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCP\x20重连中...','onStarting','MCP\x20Connection\x20Failed','什么是\x20API\x20密钥?','Tooltip','icon','mcpStatus.clickToConnect','useDependency','http://www.w3.org/2000/svg','ILogService','MenuIcon','span','_config$','HEADER_MENU','mcpConfig.configSaved','Plugin','fill','connectionStatus$','univer-text-gray-500','defIds','MCPConnectionStatus','ILocalStorageService','最大重试次数','LocaleService','7FYPPuu','Close','会话ID','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','ICommandService','OnLineIcon','mcpConfig.description','MCP\x20已连接','What\x20is\x20API\x20Key?','mcpServerUrl','defs','univer-text-sm\x20univer-font-medium','_handleConfigure','error','univer-bg-blue-500','1057692PeoByZ','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','MCPConfigUIController','Session\x20ID','DependentOn','univer-bg-gray-500','get','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','IConfigService','enUS','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Button','MCPStatusDisplay','Get\x20your\x20API\x20key\x20in\x20seconds','hasOwnProperty','_config','IUIPartsService','className','mcpConfig.apiApplyInfo.title','jsxs','MISSING_API_KEY','div','concat','mcpConfig.saving','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.apiKey','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','symbol','_loading$','colorChannel1','tag','MCP_PLUGIN_CONFIG_KEY','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','attrs','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-flex\x20univer-items-center\x20univer-gap-2','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20Session\x20Occupied','MessageType','12QKINyR','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Inject','MCPConnectionError','mcpConfig.connectionStatus.disconnected','mcpStatus.networkError','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.connectionStatus.connecting','round','6SJzDpk','CloseSmallSingle','univer-flex\x20univer-flex-wrap\x20univer-gap-2','extend','off-line-icon_clip0_910_343','displayName','Configuration\x20Notes:','mcpConfig.title','univer-text-green-500'];_0x203c=function(){return _0x656eb1;};return _0x203c();}var de={'tag':_0x55ffd5(0x1d2),'attrs':{'xmlns':_0x55ffd5(0x8c),'fill':_0x55ffd5(0x1a8),'viewBox':'0\x200\x2016\x2016','width':_0x55ffd5(0x12f),'height':'1em'},'children':[{'tag':_0x55ffd5(0x11d),'attrs':{'fill':'currentColor','d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':'path','attrs':{'fill':_0x55ffd5(0x1e7),'d':_0x55ffd5(0x159)}},{'tag':_0x55ffd5(0x11d),'attrs':{'fill':_0x55ffd5(0x1e7),'d':_0x55ffd5(0x9f),'fillRule':_0x55ffd5(0x160),'clipRule':_0x55ffd5(0x160)}}]},Y=d[_0x55ffd5(0x15d)](function(_0x462476,_0x4b0af9){var _0x5bb1db=_0x55ffd5;return d[_0x5bb1db(0x16a)](P,Object[_0x5bb1db(0x1e2)]({},_0x462476,{'id':_0x5bb1db(0x128),'ref':_0x4b0af9,'icon':de}));});Y[_0x55ffd5(0xe0)]='HelpSingle';var Ce={'tag':_0x55ffd5(0x1d2),'attrs':{'xmlns':_0x55ffd5(0x8c),'fill':'none','viewBox':_0x55ffd5(0x1c3),'width':_0x55ffd5(0x12f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x55ffd5(0x19a)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x55ffd5(0xda),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x55ffd5(0xa6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x55ffd5(0x11d),'attrs':{'fill':'white','d':_0x55ffd5(0xe6)}}]}]}],'defIds':[_0x55ffd5(0xdf)]},F=d[_0x55ffd5(0x15d)](function(_0x83ae99,_0x2b7d78){var _0xbeb408=_0x55ffd5;return d[_0xbeb408(0x16a)](P,Object['assign']({},_0x83ae99,{'id':_0xbeb408(0x1a6),'ref':_0x2b7d78,'icon':Ce}));});F[_0x55ffd5(0xe0)]=_0x55ffd5(0x191);var ge={'tag':_0x55ffd5(0x1d2),'attrs':{'xmlns':_0x55ffd5(0x8c),'fill':_0x55ffd5(0x1a8),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x55ffd5(0x11d),'attrs':{'stroke':_0x55ffd5(0x1e7),'d':_0x55ffd5(0x133),'strokeLinecap':_0x55ffd5(0xda),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x55ffd5(0xa6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x55ffd5(0x1b8)},'children':[{'tag':'path','attrs':{'fill':_0x55ffd5(0x13f),'d':_0x55ffd5(0xe6),'transform':_0x55ffd5(0x173)}}]}]}],'defIds':[_0x55ffd5(0x1b8)]},V=d[_0x55ffd5(0x15d)](function(_0xe8d6b,_0x1cb39c){var _0x36f651=_0x55ffd5;return d[_0x36f651(0x16a)](P,Object['assign']({},_0xe8d6b,{'id':_0x36f651(0xed),'ref':_0x1cb39c,'icon':ge}));});V[_0x55ffd5(0xe0)]=_0x55ffd5(0xa1);function B(_0x873411){var _0x4343dd=_0x55ffd5,_0xa21640,_0x2ae243;const {mcpCoreConfig:_0x189ded,onSave:_0x4d0c99,loading:_0x18dd8b=!0x1,config:_0x1e1caa,connectionStatus$:_0x229e14,connectionError$:_0x217f30}=_0x873411,_0xe745e=v[_0x4343dd(0x8b)](u[_0x4343dd(0x9b)]),_0x1de4b6=v[_0x4343dd(0x17b)](_0x229e14,s[_0x4343dd(0x98)][_0x4343dd(0x16c)]),_0x6adf0e=v[_0x4343dd(0x17b)](_0x217f30,s[_0x4343dd(0xd5)]['NONE']),[_0x52dab3,_0x29ffc0]=d[_0x4343dd(0xf8)](_0x189ded[_0x4343dd(0x127)]||''),_0x153f49=!0x0,_0x1a36b3=_0x1e1caa[_0x4343dd(0x186)]&&_0x189ded[_0x4343dd(0xa5)]&&(_0x189ded[_0x4343dd(0xa5)]['includes'](_0x4343dd(0x7f))||_0x189ded['mcpServerUrl'][_0x4343dd(0xff)](_0x4343dd(0x1d7))),_0x2da52c=(_0xa21640=_0x189ded[_0x4343dd(0xa5)])==null?void 0x0:_0xa21640[_0x4343dd(0xff)](_0x4343dd(0x7f)),_0x380cb3=(_0x2ae243=_0x189ded[_0x4343dd(0xa5)])==null?void 0x0:_0x2ae243['includes']('univer.ai'),_0x4f4758=_0x2da52c?_0x4343dd(0xf9):_0x4343dd(0x188),_0x2c3f1b=_0x1e1caa['showDeveloperTools']&&(_0x2da52c||_0x380cb3),[_0x24c353,_0x28cbc0]=d[_0x4343dd(0xf8)](!_0x52dab3[_0x4343dd(0x1c9)]()),_0x4c51ec=(_0x17d86e,_0x1777b6)=>{var _0x3be8c2=_0x4343dd;if(_0x1777b6===s[_0x3be8c2(0xd5)][_0x3be8c2(0xbf)]||_0x1777b6===s[_0x3be8c2(0xd5)]['INVALID_API_KEY'])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x17d86e){case s[_0x3be8c2(0x98)][_0x3be8c2(0x106)]:return _0x3be8c2(0x19b);case s[_0x3be8c2(0x98)]['CONNECTING']:case s[_0x3be8c2(0x98)][_0x3be8c2(0x189)]:return _0x3be8c2(0x17a);case s['MCPConnectionStatus'][_0x3be8c2(0x19d)]:return _0x3be8c2(0x13d);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x2ff145=(_0x3e7f6c,_0x424e15)=>{var _0x5c7152=_0x4343dd;if(_0x424e15===s[_0x5c7152(0xd5)]['MISSING_API_KEY']||_0x424e15===s[_0x5c7152(0xd5)][_0x5c7152(0x12d)])return'univer-bg-red-500';switch(_0x3e7f6c){case s[_0x5c7152(0x98)]['CONNECTED']:return _0x5c7152(0x179);case s[_0x5c7152(0x98)][_0x5c7152(0x135)]:case s[_0x5c7152(0x98)][_0x5c7152(0x189)]:return _0x5c7152(0xaa);case s[_0x5c7152(0x98)][_0x5c7152(0x19d)]:return _0x5c7152(0x1b9);default:return _0x5c7152(0xb0);}},_0x48ea66=_0x3e7a1c=>{var _0x212cc4=_0x4343dd;switch(_0x3e7a1c){case s[_0x212cc4(0x98)][_0x212cc4(0x106)]:return _0xe745e['t']('mcpConfig.connectionStatus.connected');case s[_0x212cc4(0x98)]['CONNECTING']:return _0xe745e['t'](_0x212cc4(0xd9));case s[_0x212cc4(0x98)][_0x212cc4(0x19d)]:return _0xe745e['t'](_0x212cc4(0xec));case s[_0x212cc4(0x98)]['RETRYING']:return _0xe745e['t'](_0x212cc4(0x131));default:return _0xe745e['t'](_0x212cc4(0xd6));}},_0x32d7a3=_0xc2883f=>{var _0x582151=_0x4343dd;switch(_0xc2883f){case s[_0x582151(0xd5)]['MISSING_API_KEY']:return _0xe745e['t']('mcpConfig.connectionError.missingApiKey');case s[_0x582151(0xd5)]['INVALID_API_KEY']:return _0xe745e['t'](_0x582151(0x1bc));case s[_0x582151(0xd5)][_0x582151(0x1d3)]:return _0xe745e['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x582151(0xd5)][_0x582151(0x16f)]:return _0xe745e['t'](_0x582151(0x1e5));case s['MCPConnectionError'][_0x582151(0x114)]:return _0xe745e['t'](_0x582151(0x1ae));default:return'';}},_0x270297=d['useCallback'](()=>{var _0x2a5acc=_0x4343dd;const _0x5668eb={..._0x189ded,'apiKey':_0x52dab3[_0x2a5acc(0x1c9)](),'enableAuth':_0x153f49};_0x4d0c99(_0x5668eb);},[_0x189ded,_0x52dab3,_0x153f49,_0x4d0c99]),_0x35565b=_0x52dab3[_0x4343dd(0x1c9)]()[_0x4343dd(0x18b)]>0x0;return o['jsxs'](_0x4343dd(0xc0),{'className':_0x4343dd(0xcb),'children':[o['jsx']('div',{'className':_0x4343dd(0x1b1),'children':o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':_0x4343dd(0x12e),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':_0x4343dd(0x185),'children':o['jsx'](_0x4343dd(0x8f),{'className':'univer-text-white','children':'⚙'})}),o['jsx'](_0x4343dd(0xc0),{'children':o[_0x4343dd(0xe4)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0xe745e['t'](_0x4343dd(0xa2))})})]})}),o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':_0x4343dd(0x147),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':_0x4343dd(0xfe)+_0x4c51ec(_0x1de4b6,_0x6adf0e)+_0x4343dd(0x164),'children':o[_0x4343dd(0xbe)]('div',{'className':_0x4343dd(0xce),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':'\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'+_0x2ff145(_0x1de4b6,_0x6adf0e)+_0x4343dd(0x121)}),o['jsx'](_0x4343dd(0x8f),{'className':_0x4343dd(0xa7),'children':_0x48ea66(_0x1de4b6)})]})}),_0x6adf0e!==s[_0x4343dd(0xd5)][_0x4343dd(0x184)]&&(_0x1de4b6===s[_0x4343dd(0x98)][_0x4343dd(0x19d)]||_0x6adf0e===s[_0x4343dd(0xd5)]['MISSING_API_KEY']||_0x6adf0e===s[_0x4343dd(0xd5)]['INVALID_API_KEY'])&&o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':_0x4343dd(0x1b7),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0x8f),{'className':_0x4343dd(0x17e),'children':'⚠️'}),o[_0x4343dd(0xe4)]('p',{'className':_0x4343dd(0x172),'children':_0x32d7a3(_0x6adf0e)})]})})]}),o[_0x4343dd(0xe4)]('div',{'className':_0x4343dd(0x80),'children':o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':_0x4343dd(0x149),'children':[o['jsxs'](_0x4343dd(0xc0),{'className':'univer-space-y-2','children':[o[_0x4343dd(0xbe)](_0x4343dd(0x122),{'className':_0x4343dd(0x192),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0x8f),{'children':'🔑'}),'\x20',_0xe745e['t'](_0x4343dd(0xc4)),o[_0x4343dd(0xe4)]('span',{'className':_0x4343dd(0x18e),'children':'*'}),_0x1a36b3&&o[_0x4343dd(0xe4)]('a',{'href':'javascript:void(0)','onClick':()=>_0x28cbc0(!0x0),'className':_0x4343dd(0xcd),'title':_0xe745e['t'](_0x4343dd(0xbd)),'children':o[_0x4343dd(0xe4)](Y,{})})]}),o[_0x4343dd(0xe4)](x[_0x4343dd(0x1d5)],{'type':_0x4343dd(0x18d),'placeholder':_0xe745e['t'](_0x4343dd(0x10e)),'value':_0x52dab3,'onChange':_0x29ffc0,'disabled':_0x18dd8b,'autoComplete':_0x4343dd(0x1a7)}),o[_0x4343dd(0xe4)]('p',{'className':_0x4343dd(0x1bd),'children':_0xe745e['t'](_0x4343dd(0x175))})]}),_0x1a36b3&&_0x24c353&&o['jsxs']('div',{'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':[o['jsx']('a',{'href':'javascript:void(0)','onClick':()=>_0x28cbc0(!0x1),'className':_0x4343dd(0xac),'title':_0x4343dd(0x9d),'children':o[_0x4343dd(0xe4)](G,{})}),o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':_0x4343dd(0x170),'children':o[_0x4343dd(0xe4)](_0x4343dd(0x8f),{'className':'univer-text-blue-600','children':'🚀'})}),o['jsxs'](_0x4343dd(0xc0),{'className':_0x4343dd(0x82),'children':[o[_0x4343dd(0xe4)]('h4',{'className':_0x4343dd(0xc5),'children':_0xe745e['t'](_0x4343dd(0xbd))}),o[_0x4343dd(0xe4)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0xe745e['t'](_0x4343dd(0x1aa))}),o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':_0x4343dd(0xdd),'children':_0x2c3f1b&&o['jsxs']('a',{'href':_0x4f4758,'target':'_blank','rel':_0x4343dd(0x17f),'className':_0x4343dd(0x18a),'children':[o[_0x4343dd(0xe4)]('span',{'children':'🤖'}),_0xe745e['t'](_0x4343dd(0x108)),o[_0x4343dd(0xe4)](_0x4343dd(0x8f),{'className':'univer-text-gray-400','children':'↗'})]})}),o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0xe745e['t'](_0x4343dd(0x1ec))]})]})]})]}),_0x1e1caa[_0x4343dd(0x186)]&&o[_0x4343dd(0xbe)]('div',{'className':_0x4343dd(0xb2),'children':[o[_0x4343dd(0xbe)]('h4',{'className':_0x4343dd(0xd3),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0x8f),{'children':'🔗'}),'\x20',_0xe745e['t']('mcpConfig.connectionInfo')]}),o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':'univer-space-y-3','children':[o[_0x4343dd(0xbe)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[o['jsx'](_0x4343dd(0xc0),{'className':_0x4343dd(0xd8)}),o['jsxs'](_0x4343dd(0xc0),{'className':_0x4343dd(0x12b),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0xe745e['t']('mcpConfig.serverEndpoint')}),o[_0x4343dd(0xe4)](_0x4343dd(0x190),{'className':_0x4343dd(0x198),'children':_0x189ded['mcpServerUrl']})]})]}),o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':_0x4343dd(0xd8)}),o['jsxs']('div',{'className':_0x4343dd(0x12b),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':_0x4343dd(0x1dc),'children':_0xe745e['t'](_0x4343dd(0x113))}),o[_0x4343dd(0xe4)](_0x4343dd(0x190),{'className':_0x4343dd(0x1e4),'children':_0x189ded['sessionId']||_0x4343dd(0x123)})]})]})]})]}),o['jsx'](x[_0x4343dd(0xb6)],{'onClick':_0x270297,'disabled':!_0x35565b||_0x18dd8b,'className':_0x4343dd(0xf6),'children':_0x18dd8b?o['jsxs'](_0x4343dd(0x8f),{'className':_0x4343dd(0xce),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0x8f),{'children':'⟲'}),_0xe745e['t'](_0x4343dd(0xc2))]}):o[_0x4343dd(0xbe)](_0x4343dd(0x8f),{'className':_0x4343dd(0xce),'children':[o[_0x4343dd(0xe4)](L,{}),_0xe745e['t'](_0x4343dd(0x11b))]})}),o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':o['jsxs'](_0x4343dd(0xc0),{'className':_0x4343dd(0x1ac),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0x8f),{'className':_0x4343dd(0x1b4),'children':'💡'}),o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'className':_0x4343dd(0x1d1),'children':[o[_0x4343dd(0xe4)](_0x4343dd(0xc0),{'className':'univer-font-medium','children':_0x4343dd(0xe1)}),o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'children':['•',_0xe745e['t']('mcpConfig.note1')]}),o[_0x4343dd(0xbe)](_0x4343dd(0xc0),{'children':['•',_0xe745e['t'](_0x4343dd(0x140))]})]})]})})]})})]});}const k='mcp-ui.config',T={'showDeveloperTools':!0x1};var fe=Object[_0x55ffd5(0xe5)],pe=(_0x16d5ff,_0x1eece9,_0x1ae4f1,_0x418881)=>{var _0x11beb7=_0x55ffd5;for(var _0x139391=_0x418881>0x1?void 0x0:_0x418881?fe(_0x1eece9,_0x1ae4f1):_0x1eece9,_0x5295b4=_0x16d5ff[_0x11beb7(0x18b)]-0x1,_0x3d6798;_0x5295b4>=0x0;_0x5295b4--)(_0x3d6798=_0x16d5ff[_0x5295b4])&&(_0x139391=_0x3d6798(_0x139391)||_0x139391);return _0x139391;},p=(_0x11ee5e,_0x20cc94)=>(_0x35791b,_0x5309c8)=>_0x20cc94(_0x35791b,_0x5309c8,_0x11ee5e);const w=_0x55ffd5(0x1cb),A='mcp-config-dialog';exports['MCPConfigUIController']=class extends u[_0x55ffd5(0x178)]{constructor(_0x55e7a3,_0x27a96f,_0x782fe0,_0x31b810,_0x53d050,_0x6edf79,_0x5c6b95,_0x2e38d5,_0x36fff,_0xf7ab9e){var _0x2b17fd=_0x55ffd5;super(),_(this,_0x2b17fd(0xc7),new j[(_0x2b17fd(0x1c4))](!0x1)),_(this,_0x2b17fd(0x165),new j['BehaviorSubject']({})),_(this,'_config$',new j['BehaviorSubject']({})),_(this,'_handleConfigSave',async _0x4ac59b=>{var _0x4290c1=_0x2b17fd;this[_0x4290c1(0xc7)][_0x4290c1(0xf3)](!0x0);try{const _0x49c3c8=await this[_0x4290c1(0x100)](_0x4ac59b);if(!_0x49c3c8[_0x4290c1(0xf5)]){this['_messageService'][_0x4290c1(0x10d)]({'type':x['MessageType'][_0x4290c1(0x197)],'content':_0x49c3c8['errorMessage']||this['_localeService']['t'](_0x4290c1(0x1a3))});return;}_0x4ac59b[_0x4290c1(0x127)]?await this[_0x4290c1(0x155)][_0x4290c1(0x15c)](w,_0x4ac59b[_0x4290c1(0x127)][_0x4290c1(0x1c9)]()):await this[_0x4290c1(0x155)]['removeItem'](w),this[_0x4290c1(0x11e)][_0x4290c1(0x16e)](s[_0x4290c1(0xca)],{..._0x4ac59b,'apiKey':_0x4ac59b['apiKey'][_0x4290c1(0x1c9)]()}),this[_0x4290c1(0x165)][_0x4290c1(0xf3)]({..._0x4ac59b,'apiKey':_0x4ac59b[_0x4290c1(0x127)][_0x4290c1(0x1c9)]()}),this[_0x4290c1(0x13a)][_0x4290c1(0x10d)]({'type':x[_0x4290c1(0xd1)]['Success'],'content':this[_0x4290c1(0x1ab)]['t'](_0x4290c1(0x92))}),setTimeout(()=>{var _0x3caa2b=_0x4290c1;this['_dialogService'][_0x3caa2b(0x1cf)](A);},0x320);}catch(_0x2d13d3){this[_0x4290c1(0x17d)]['error'](_0x4290c1(0x83),_0x2d13d3),this[_0x4290c1(0x13a)][_0x4290c1(0x10d)]({'type':x['MessageType'][_0x4290c1(0x197)],'content':this[_0x4290c1(0x1ab)]['t']('mcpConfig.configError')});}finally{this[_0x4290c1(0xc7)][_0x4290c1(0xf3)](!0x1);}}),(this[_0x2b17fd(0x1a9)]=_0x55e7a3,this['_uiPartsService']=_0x27a96f,this['_configService']=_0x782fe0,this[_0x2b17fd(0x155)]=_0x31b810,this['_dialogService']=_0x53d050,this[_0x2b17fd(0x13a)]=_0x6edf79,this['_componentManager']=_0x5c6b95,this['_localeService']=_0x2e38d5,this[_0x2b17fd(0x17d)]=_0x36fff,this[_0x2b17fd(0xfd)]=_0xf7ab9e,this[_0x2b17fd(0x143)](),this[_0x2b17fd(0x1ad)](),this[_0x2b17fd(0x157)]());}[_0x55ffd5(0x141)](){var _0x562457=_0x55ffd5;this[_0x562457(0x104)]['open']({'id':A,'title':{'title':this[_0x562457(0x1ab)]['t']('mcpConfig.title')},'children':{'label':_0x562457(0x10a)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x4733ba=_0x562457;this[_0x4733ba(0x104)][_0x4733ba(0x1cf)](A);}});}['getCurrentConfig'](){var _0x244ebb=_0x55ffd5;return this[_0x244ebb(0x165)][_0x244ebb(0x11f)];}['_registerComponent'](){var _0x2e2e40=_0x55ffd5;this[_0x2e2e40(0x1da)](this['_componentManager'][_0x2e2e40(0x1c6)](_0x2e2e40(0x10a),this[_0x2e2e40(0x15a)]()));}[_0x55ffd5(0x15a)](){var _0x29a146=_0x55ffd5;return v['connectInjector'](()=>{var _0x4d67a1=_0xe152,_0x4ed47e,_0x4c9643;return o[_0x4d67a1(0xe4)](B,{'config':this[_0x4d67a1(0x90)][_0x4d67a1(0x11f)],'mcpCoreConfig':this[_0x4d67a1(0x165)][_0x4d67a1(0x11f)],'onSave':this['_handleConfigSave'],'loading':this[_0x4d67a1(0xc7)][_0x4d67a1(0x11f)],'connectionStatus$':(_0x4ed47e=this['_mcpConnectionController'])==null?void 0x0:_0x4ed47e[_0x4d67a1(0x95)],'connectionError$':(_0x4c9643=this[_0x4d67a1(0xfd)])==null?void 0x0:_0x4c9643['connectionError$']});},this[_0x29a146(0x1a9)]);}[_0x55ffd5(0x143)](){var _0x5594b0=_0x55ffd5;this['disposeWithMe'](this[_0x5594b0(0x11e)][_0x5594b0(0x150)](s[_0x5594b0(0xca)])[_0x5594b0(0x1c1)](_0xfbaa3d=>{var _0x356ef6=_0x5594b0;this[_0x356ef6(0x165)]['next'](_0xfbaa3d||{});}));const _0x22c844=this[_0x5594b0(0x11e)][_0x5594b0(0x1a5)](s[_0x5594b0(0xca)]);this[_0x5594b0(0x165)][_0x5594b0(0xf3)](_0x22c844||{}),this[_0x5594b0(0x1da)](this[_0x5594b0(0x11e)][_0x5594b0(0x150)](k)[_0x5594b0(0x1c1)](_0x1c1ffe=>{var _0xa09c73=_0x5594b0;this[_0xa09c73(0x90)][_0xa09c73(0xf3)](_0x1c1ffe||{});}));const _0x3595c4=this[_0x5594b0(0x11e)][_0x5594b0(0x1a5)](k);this[_0x5594b0(0x90)][_0x5594b0(0xf3)](_0x3595c4||{});}async['_loadStoredApiKey'](){var _0x17c185=_0x55ffd5;const _0x59ff13=await this[_0x17c185(0x155)][_0x17c185(0x1c7)](w);if(_0x59ff13){const _0x4bc992={...this['_mcpCoreConfig$'][_0x17c185(0x11f)],'apiKey':_0x59ff13};this[_0x17c185(0x11e)][_0x17c185(0x16e)](s[_0x17c185(0xca)],_0x4bc992),this[_0x17c185(0x165)][_0x17c185(0xf3)](_0x4bc992);}}async['_validateConfig'](_0x28ed68){var _0x4f66ba=_0x55ffd5;if(!_0x28ed68[_0x4f66ba(0x127)]||_0x28ed68[_0x4f66ba(0x127)]['trim']()[_0x4f66ba(0x18b)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4f66ba(0x1ab)]['t'](_0x4f66ba(0x1c2))};if(_0x28ed68[_0x4f66ba(0x127)]['trim']()[_0x4f66ba(0x18b)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4f66ba(0x1ab)]['t'](_0x4f66ba(0x12a))};try{const _0x54f5b9=await this[_0x4f66ba(0x1a9)][_0x4f66ba(0xb1)](s[_0x4f66ba(0x13e)])[_0x4f66ba(0x176)](_0x28ed68[_0x4f66ba(0x127)]['trim']());return _0x54f5b9[_0x4f66ba(0xf5)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x54f5b9[_0x4f66ba(0xa9)]||this[_0x4f66ba(0x1ab)]['t'](_0x4f66ba(0x1a4))};}catch(_0x57ece1){return console['warn'](_0x4f66ba(0x10b),_0x57ece1),{'isValid':!0x0};}}},exports['MCPConfigUIController']=pe([p(0x0,u[_0x55ffd5(0xd4)](u[_0x55ffd5(0x15e)])),p(0x1,v[_0x55ffd5(0xbb)]),p(0x2,u[_0x55ffd5(0xb3)]),p(0x3,u[_0x55ffd5(0x99)]),p(0x4,v['IDialogService']),p(0x5,v['IMessageService']),p(0x6,u[_0x55ffd5(0xd4)](v[_0x55ffd5(0x1dd)])),p(0x7,u['Inject'](u[_0x55ffd5(0x9b)])),p(0x8,u[_0x55ffd5(0x8d)]),p(0x9,u[_0x55ffd5(0xd4)](s[_0x55ffd5(0x13e)]))],exports[_0x55ffd5(0xad)]);const b={'id':'mcp-ui.command.openConfigPanel','type':u['CommandType'][_0x55ffd5(0x1de)],'handler':async(_0x2c99ce,_0xc06692)=>(_0x2c99ce[_0x55ffd5(0xb1)](exports[_0x55ffd5(0xad)])[_0x55ffd5(0x141)](),!0x0)};function H(_0x4cd3ae,_0x50343e){var _0x5a100b=_0x55ffd5;switch(_0x4cd3ae){case s[_0x5a100b(0x98)][_0x5a100b(0x16c)]:return _0x50343e===s[_0x5a100b(0xd5)][_0x5a100b(0xbf)]?_0x5a100b(0x162):_0x5a100b(0x167);case s[_0x5a100b(0x98)][_0x5a100b(0x135)]:return'mcpStatus.connecting';case s[_0x5a100b(0x98)]['CONNECTED']:return _0x5a100b(0x130);case s[_0x5a100b(0x98)]['FAILED']:switch(_0x50343e){case s['MCPConnectionError'][_0x5a100b(0x12d)]:return _0x5a100b(0x142);case s[_0x5a100b(0xd5)][_0x5a100b(0x1d3)]:return'mcpStatus.sessionOccupied';case s['MCPConnectionError'][_0x5a100b(0x16f)]:return _0x5a100b(0xd7);case s[_0x5a100b(0xd5)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return _0x5a100b(0x1e0);}case s[_0x5a100b(0x98)][_0x5a100b(0x189)]:return _0x5a100b(0x101);default:return _0x5a100b(0x14a);}}function he(_0x5974ef,_0x24ff14,_0x1a6aec){var _0x310d63=_0x55ffd5;const _0x5f5348=H(_0x5974ef,_0x24ff14),_0x324718=_0x1a6aec['t'](_0x5f5348);return _0x5974ef===s[_0x310d63(0x98)][_0x310d63(0x16c)]&&_0x24ff14===s['MCPConnectionError'][_0x310d63(0xbf)]?_0x324718+_0x310d63(0x7d)+_0x1a6aec['t'](_0x310d63(0x146)):_0x5974ef===s[_0x310d63(0x98)][_0x310d63(0x106)]?''+_0x324718:_0x5974ef===s[_0x310d63(0x98)][_0x310d63(0x16c)]||_0x5974ef===s[_0x310d63(0x98)][_0x310d63(0x19d)]?_0x324718+_0x310d63(0x7d)+_0x1a6aec['t'](_0x310d63(0x8a)):_0x324718;}function me(_0x5df961){var _0x52f286=_0x55ffd5;switch(_0x5df961){case s['MCPConnectionStatus'][_0x52f286(0x106)]:return _0x52f286(0xe3);case s['MCPConnectionStatus']['CONNECTING']:case s[_0x52f286(0x98)]['RETRYING']:return'univer-text-yellow-500';case s['MCPConnectionStatus'][_0x52f286(0x19d)]:case s[_0x52f286(0x98)][_0x52f286(0x16c)]:return _0x52f286(0x18e);default:return _0x52f286(0x96);}}function q(_0x7734bc){var _0x2f7aef=_0x55ffd5;const {status$:_0x5344db,error$:_0x48aa01,onConfigure:_0x36f660}=_0x7734bc,_0x59757b=v[_0x2f7aef(0x17b)](_0x5344db,s[_0x2f7aef(0x98)][_0x2f7aef(0x16c)]),_0x382b51=v[_0x2f7aef(0x17b)](_0x48aa01,s[_0x2f7aef(0xd5)][_0x2f7aef(0x184)]),_0x754ef0=v[_0x2f7aef(0x8b)](u['LocaleService']),_0x354d40=_0x59757b===s[_0x2f7aef(0x98)][_0x2f7aef(0x106)],_0x1dd1d1=_0x59757b===s[_0x2f7aef(0x98)]['CONNECTING']||_0x59757b===s[_0x2f7aef(0x98)][_0x2f7aef(0x189)],_0x2feb7c=_0x754ef0['t'](H(_0x59757b,_0x382b51)),_0x2609ba=he(_0x59757b,_0x382b51,_0x754ef0),_0x117c78=me(_0x59757b),_0x5bc7d7=_0x354d40?o['jsx'](V,{}):o[_0x2f7aef(0xe4)](F,{}),_0xf7efa9=d[_0x2f7aef(0x138)](()=>{_0x36f660&&_0x36f660();},[_0x354d40,_0x1dd1d1,_0x36f660]);function _0x13d821(){var _0x50b4fd=_0x2f7aef;return o[_0x50b4fd(0xbe)](_0x50b4fd(0xc0),{'className':x[_0x50b4fd(0x119)](_0x50b4fd(0x171),_0x36f660&&_0x50b4fd(0x19f)),'onClick':_0x36f660?_0xf7efa9:void 0x0,'children':[o[_0x50b4fd(0xe4)]('div',{'className':x[_0x50b4fd(0x119)](_0x50b4fd(0x1eb),_0x117c78),'children':_0x5bc7d7}),o[_0x50b4fd(0xe4)](_0x50b4fd(0xc0),{'className':_0x50b4fd(0x168),'children':_0x2feb7c})]});}return o[_0x2f7aef(0xe4)](x[_0x2f7aef(0x88)],{'title':_0x2609ba,'placement':_0x2f7aef(0x14c),'children':_0x13d821()});}var xe=Object[_0x55ffd5(0xe5)],Pe=(_0x338607,_0x210824,_0x2db463,_0x296e62)=>{for(var _0x9f6940=_0x296e62>0x1?void 0x0:_0x296e62?xe(_0x210824,_0x2db463):_0x210824,_0x3946b2=_0x338607['length']-0x1,_0x463a8f;_0x3946b2>=0x0;_0x3946b2--)(_0x463a8f=_0x338607[_0x3946b2])&&(_0x9f6940=_0x463a8f(_0x9f6940)||_0x9f6940);return _0x9f6940;},O=(_0x41aae7,_0x56c1cf)=>(_0x5a828a,_0x31a3a2)=>_0x56c1cf(_0x5a828a,_0x31a3a2,_0x41aae7);exports['MCPConnectionUIController']=class extends u[_0x55ffd5(0x178)]{constructor(_0x2a55bf,_0x291eec,_0x4bb714){var _0x1ee798=_0x55ffd5;super(),this[_0x1ee798(0x1a9)]=_0x2a55bf,this[_0x1ee798(0x13b)]=_0x291eec,this[_0x1ee798(0x1ca)]=_0x4bb714,this[_0x1ee798(0x195)]();}['_initStatusComponent'](){var _0x205c85=_0x55ffd5;this['disposeWithMe'](this[_0x205c85(0x1ca)]['registerComponent'](v['BuiltInUIPart'][_0x205c85(0x91)],()=>v[_0x205c85(0x199)](Ie({'status$':this[_0x205c85(0x13b)][_0x205c85(0x95)],'error$':this[_0x205c85(0x13b)][_0x205c85(0x126)],'onConfigure':()=>this[_0x205c85(0xa8)]()}),this[_0x205c85(0x1a9)])));}[_0x55ffd5(0xa8)](){var _0xc3bb09=_0x55ffd5;this[_0xc3bb09(0x1a9)][_0xc3bb09(0xb1)](exports['MCPConfigUIController'])[_0xc3bb09(0x141)]();}},exports['MCPConnectionUIController']=Pe([O(0x0,u['Inject'](u['Injector'])),O(0x1,u[_0x55ffd5(0xd4)](s[_0x55ffd5(0x13e)])),O(0x2,v[_0x55ffd5(0xbb)])],exports['MCPConnectionUIController']);function Ie(_0x33ed93){const {status$:_0x54e73f,error$:_0xc403fa,onConfigure:_0xe5f34e}=_0x33ed93;return function(){var _0x3185d3=_0xe152;return o[_0x3185d3(0xe4)](q,{'status$':_0x54e73f,'error$':_0xc403fa,'onConfigure':_0xe5f34e});};}function Se(_0x1b1bdc){var _0x11f62c=_0x55ffd5;return{'id':b['id'],'type':v[_0x11f62c(0x1b2)][_0x11f62c(0x153)],'icon':_0x11f62c(0x8e),'title':'mcpConfig.title','tooltip':_0x11f62c(0xe2)};}const _e={[v['RibbonStartGroup']['OTHERS']]:{[b['id']]:{'order':0xa,'menuItemFactory':Se}}};var ye=Object['getOwnPropertyDescriptor'],Me=(_0x8557a1,_0x56f952,_0x219669,_0x142302)=>{for(var _0x3b9ba4=_0x142302>0x1?void 0x0:_0x142302?ye(_0x56f952,_0x219669):_0x56f952,_0x561e27=_0x8557a1['length']-0x1,_0x5728bf;_0x561e27>=0x0;_0x561e27--)(_0x5728bf=_0x8557a1[_0x561e27])&&(_0x3b9ba4=_0x5728bf(_0x3b9ba4)||_0x3b9ba4);return _0x3b9ba4;},R=(_0x2531fb,_0x2f1895)=>(_0x44db72,_0x7d0202)=>_0x2f1895(_0x44db72,_0x7d0202,_0x2531fb);exports[_0x55ffd5(0x15f)]=class extends u['Disposable']{constructor(_0x3e1dec,_0x3eb00a){var _0x30dae0=_0x55ffd5;super(),this[_0x30dae0(0xfb)]=_0x3e1dec,this[_0x30dae0(0x19c)]=_0x3eb00a,this['_initializeCommands'](),this[_0x30dae0(0x148)]();}['_initializeCommands'](){var _0x69fda1=_0x55ffd5;[b][_0x69fda1(0x136)](_0x395fe3=>{var _0x29dfac=_0x69fda1;this['disposeWithMe'](this[_0x29dfac(0xfb)]['registerCommand'](_0x395fe3));});}[_0x55ffd5(0x148)](){var _0x2370cb=_0x55ffd5;this[_0x2370cb(0x19c)][_0x2370cb(0x1e1)](_e);}},exports[_0x55ffd5(0x15f)]=Me([R(0x0,u[_0x55ffd5(0xa0)]),R(0x1,v[_0x55ffd5(0x158)])],exports[_0x55ffd5(0x15f)]);const Ee={'mcpStatus':{'disconnected':_0x55ffd5(0xf7),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x55ffd5(0x86),'retrying':'MCP\x20Retrying...','unknown':_0x55ffd5(0xf2),'missingApiKey':_0x55ffd5(0x1b3),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x55ffd5(0xd0),'networkError':_0x55ffd5(0x11a),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x55ffd5(0x187)},'mcpConfig':{'title':_0x55ffd5(0x151),'description':_0x55ffd5(0x1e6),'apiKey':_0x55ffd5(0x1a2),'apiKeyPlaceholder':_0x55ffd5(0x105),'apiKeyHint':_0x55ffd5(0x1b5),'enableAuth':_0x55ffd5(0x111),'enableAuthHint':_0x55ffd5(0x1cd),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x55ffd5(0x125),'sessionId':_0x55ffd5(0xae),'maxRetries':_0x55ffd5(0x112),'save':_0x55ffd5(0x1e8),'saving':_0x55ffd5(0x156),'note1':_0x55ffd5(0x163),'note2':_0x55ffd5(0x154),'configSaved':_0x55ffd5(0xf1),'configError':_0x55ffd5(0x1d8),'apiApplyInfo':{'title':_0x55ffd5(0xa4),'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':_0x55ffd5(0x1be),'getStarted':_0x55ffd5(0xb8)},'validation':{'apiKeyRequired':_0x55ffd5(0x81),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x55ffd5(0x174),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x55ffd5(0x10c),'failed':_0x55ffd5(0x1ba),'retrying':_0x55ffd5(0xfc)},'connectionError':{'missingApiKey':_0x55ffd5(0xcf),'invalidApiKey':_0x55ffd5(0x109),'sessionOccupied':_0x55ffd5(0xb5),'networkError':_0x55ffd5(0x120),'maxRetriesExceeded':_0x55ffd5(0xc3)}}},Ne={'mcpStatus':{'disconnected':_0x55ffd5(0x11c),'connecting':'MCP\x20连接中...','connected':_0x55ffd5(0xa3),'failed':_0x55ffd5(0x103),'retrying':_0x55ffd5(0x84),'unknown':_0x55ffd5(0x12c),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':'MCP:\x20会话被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x55ffd5(0x1b0),'clickToConnect':_0x55ffd5(0x1d6),'clickToConfigure':_0x55ffd5(0x1b6)},'mcpConfig':{'title':_0x55ffd5(0xf4),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x55ffd5(0x1e9),'apiKeyPlaceholder':_0x55ffd5(0x183),'apiKeyHint':_0x55ffd5(0x115),'enableAuth':_0x55ffd5(0x132),'enableAuthHint':_0x55ffd5(0x144),'connectionInfo':_0x55ffd5(0x14e),'serverEndpoint':_0x55ffd5(0x1d4),'sessionId':_0x55ffd5(0x9e),'maxRetries':_0x55ffd5(0x9a),'save':_0x55ffd5(0x166),'saving':_0x55ffd5(0x16d),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x55ffd5(0x13c),'configError':'配置保存失败','apiApplyInfo':{'title':_0x55ffd5(0x87),'description':_0x55ffd5(0x134),'univerAiLabel':_0x55ffd5(0x15b),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x55ffd5(0x152),'apiKeyTooShort':_0x55ffd5(0xe8),'invalidConfig':_0x55ffd5(0x1c0),'invalidApiKey':_0x55ffd5(0x14d)},'connectionStatus':{'disconnected':_0x55ffd5(0x14f),'connecting':_0x55ffd5(0xf0),'connected':_0x55ffd5(0x1d9),'failed':_0x55ffd5(0x116),'retrying':_0x55ffd5(0x1ea)},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x55ffd5(0x1c5),'networkError':_0x55ffd5(0x193),'maxRetriesExceeded':_0x55ffd5(0xee)}}};var be=Object[_0x55ffd5(0x169)],je=Object[_0x55ffd5(0xe5)],we=(_0x5bd14f,_0x590f1d,_0x690f4d)=>_0x590f1d in _0x5bd14f?be(_0x5bd14f,_0x590f1d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x690f4d}):_0x5bd14f[_0x590f1d]=_0x690f4d,Ae=(_0x278e75,_0x53b895,_0x5d5d6a,_0xece862)=>{var _0x518911=_0x55ffd5;for(var _0xa59202=_0xece862>0x1?void 0x0:_0xece862?je(_0x53b895,_0x5d5d6a):_0x53b895,_0x469ecd=_0x278e75[_0x518911(0x18b)]-0x1,_0x32c4b2;_0x469ecd>=0x0;_0x469ecd--)(_0x32c4b2=_0x278e75[_0x469ecd])&&(_0xa59202=_0x32c4b2(_0xa59202)||_0xa59202);return _0xa59202;},y=(_0x27ad23,_0x8ac837)=>(_0x5ababf,_0x2f0313)=>_0x8ac837(_0x5ababf,_0x2f0313,_0x27ad23),Oe=(_0x4ca451,_0x419b75,_0x4d0495)=>we(_0x4ca451,_0x419b75+'',_0x4d0495);exports[_0x55ffd5(0x18c)]=class extends u[_0x55ffd5(0x93)]{constructor(_0x135268=T,_0x43d3b6,_0x404893,_0x3c9aeb,_0x10ae0e,_0x380f83){var _0x1a8181=_0x55ffd5;super(),this[_0x1a8181(0xba)]=_0x135268,this[_0x1a8181(0x1a9)]=_0x43d3b6,this[_0x1a8181(0x11e)]=_0x404893,this[_0x1a8181(0x1ca)]=_0x3c9aeb,this[_0x1a8181(0x155)]=_0x10ae0e,this[_0x1a8181(0x1ab)]=_0x380f83;const {..._0xf9502d}=u[_0x1a8181(0x1e3)]({},T,this[_0x1a8181(0xba)]);this[_0x1a8181(0x11e)][_0x1a8181(0x16e)](k,_0xf9502d);}async[_0x55ffd5(0x85)](){var _0x491fa7=_0x55ffd5;[[exports[_0x491fa7(0x107)]],[exports[_0x491fa7(0xad)]],[exports[_0x491fa7(0x15f)]]][_0x491fa7(0x136)](_0x38e469=>this[_0x491fa7(0x1a9)][_0x491fa7(0x118)](_0x38e469)),this[_0x491fa7(0x1a9)][_0x491fa7(0xb1)](exports[_0x491fa7(0x107)]),this['_injector'][_0x491fa7(0xb1)](exports['MCPConfigUIController']),this[_0x491fa7(0x1a9)][_0x491fa7(0xb1)](exports[_0x491fa7(0x15f)]);}},Oe(exports[_0x55ffd5(0x18c)],_0x55ffd5(0x1d0),_0x55ffd5(0x1df)),exports['UniverMCPUIPlugin']=Ae([u[_0x55ffd5(0xaf)](s[_0x55ffd5(0x1cc)]),y(0x1,u['Inject'](u[_0x55ffd5(0x15e)])),y(0x2,u[_0x55ffd5(0xb3)]),y(0x3,v[_0x55ffd5(0xbb)]),y(0x4,u[_0x55ffd5(0x99)]),y(0x5,u[_0x55ffd5(0xd4)](u['LocaleService']))],exports[_0x55ffd5(0x18c)]),exports['MCPConfigPanel']=B,exports[_0x55ffd5(0xb7)]=q,exports[_0x55ffd5(0x129)]=b,exports[_0x55ffd5(0xb4)]=Ee,exports[_0x55ffd5(0xfa)]=Ne;
@@ -1 +1 @@
1
- 'use strict';const _0x2cc8f4=_0x534d;(function(_0x3e3119,_0x207118){const _0x1cd2bd=_0x534d,_0x3cc43d=_0x3e3119();while(!![]){try{const _0x32f79c=parseInt(_0x1cd2bd(0xff))/0x1*(-parseInt(_0x1cd2bd(0xe6))/0x2)+-parseInt(_0x1cd2bd(0xec))/0x3*(-parseInt(_0x1cd2bd(0xf9))/0x4)+-parseInt(_0x1cd2bd(0xdf))/0x5+parseInt(_0x1cd2bd(0xf6))/0x6*(-parseInt(_0x1cd2bd(0xe7))/0x7)+-parseInt(_0x1cd2bd(0xdc))/0x8*(parseInt(_0x1cd2bd(0x105))/0x9)+-parseInt(_0x1cd2bd(0xdd))/0xa*(parseInt(_0x1cd2bd(0xf3))/0xb)+-parseInt(_0x1cd2bd(0xea))/0xc*(-parseInt(_0x1cd2bd(0xfa))/0xd);if(_0x32f79c===_0x207118)break;else _0x3cc43d['push'](_0x3cc43d['shift']());}catch(_0x1d76a8){_0x3cc43d['push'](_0x3cc43d['shift']());}}}(_0x80f0,0x723dc));function _0x534d(_0x52ed92,_0x3def65){const _0x80f017=_0x80f0();return _0x534d=function(_0x534d61,_0xec9f16){_0x534d61=_0x534d61-0xdc;let _0x34be11=_0x80f017[_0x534d61];return _0x34be11;},_0x534d(_0x52ed92,_0x3def65);}function _0x80f0(){const _0x5175d8=['Connection\x20Information','Enter\x20your\x20API\x20key','1210962ZnKZNk','MCP:\x20API\x20Key\x20Missing','API\x20Key','16028WQzZuI','5048485bRczIo','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20configure\x20MCP','163138BHXWME','MCP\x20Retrying...','MCP\x20Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Server\x20Endpoint','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','11835rARmWH','Session\x20ID','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','exports','MCP\x20Connected','5144KQcQKI','3470iMxDHY','Saving...','3951900dJblJK','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Univer\x20AI\x20Console','API\x20key\x20is\x20required','2zQOvtk','7zWrTON','MCP:\x20Invalid\x20API\x20Key','MCP\x20Unknown\x20Status','60eDhsyX','MCP:\x20Network\x20Error','537wcgQZg','Connection\x20Failed','MCP\x20Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','6028GeXYUc'];_0x80f0=function(){return _0x5175d8;};return _0x80f0();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2cc8f4(0x101),'connected':_0x2cc8f4(0x10a),'failed':_0x2cc8f4(0xee),'retrying':_0x2cc8f4(0x100),'unknown':_0x2cc8f4(0xe9),'missingApiKey':_0x2cc8f4(0xf7),'invalidApiKey':_0x2cc8f4(0xe8),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2cc8f4(0xeb),'maxRetriesExceeded':_0x2cc8f4(0xe1),'clickToConnect':_0x2cc8f4(0xfc),'clickToConfigure':_0x2cc8f4(0xfe)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2cc8f4(0x102),'apiKey':_0x2cc8f4(0xf8),'apiKeyPlaceholder':_0x2cc8f4(0xf5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2cc8f4(0xe2),'connectionInfo':_0x2cc8f4(0xf4),'serverEndpoint':_0x2cc8f4(0x103),'sessionId':_0x2cc8f4(0x106),'maxRetries':'Max\x20Retries','save':_0x2cc8f4(0xf0),'saving':_0x2cc8f4(0xde),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2cc8f4(0x108),'configSaved':_0x2cc8f4(0xe0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2cc8f4(0xf2),'description':_0x2cc8f4(0xfb),'univerAiLabel':_0x2cc8f4(0xe4),'getStarted':_0x2cc8f4(0xfd)},'validation':{'apiKeyRequired':_0x2cc8f4(0xe5),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2cc8f4(0xe3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':_0x2cc8f4(0xed),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x2cc8f4(0x107),'sessionOccupied':_0x2cc8f4(0xf1),'networkError':_0x2cc8f4(0x104),'maxRetriesExceeded':_0x2cc8f4(0xef)}}},n=e;module[_0x2cc8f4(0x109)]=n;
1
+ 'use strict';const _0x88ac87=_0x7669;(function(_0x3e5cc9,_0x4c39fb){const _0x4eff01=_0x7669,_0x5dea66=_0x3e5cc9();while(!![]){try{const _0x4ca066=-parseInt(_0x4eff01(0x10e))/0x1+parseInt(_0x4eff01(0x114))/0x2*(parseInt(_0x4eff01(0x10f))/0x3)+parseInt(_0x4eff01(0x112))/0x4+parseInt(_0x4eff01(0x11b))/0x5*(-parseInt(_0x4eff01(0xf2))/0x6)+parseInt(_0x4eff01(0xfe))/0x7*(-parseInt(_0x4eff01(0x100))/0x8)+parseInt(_0x4eff01(0xf4))/0x9+-parseInt(_0x4eff01(0xf8))/0xa*(parseInt(_0x4eff01(0xfd))/0xb);if(_0x4ca066===_0x4c39fb)break;else _0x5dea66['push'](_0x5dea66['shift']());}catch(_0x44d50e){_0x5dea66['push'](_0x5dea66['shift']());}}}(_0x2d8d,0x8126f));const e={'mcpStatus':{'disconnected':_0x88ac87(0x102),'connecting':_0x88ac87(0xf1),'connected':_0x88ac87(0x11a),'failed':_0x88ac87(0x103),'retrying':_0x88ac87(0x11d),'unknown':_0x88ac87(0x11e),'missingApiKey':_0x88ac87(0x119),'invalidApiKey':_0x88ac87(0x118),'sessionOccupied':_0x88ac87(0x113),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x88ac87(0x109),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x88ac87(0x107),'description':_0x88ac87(0xf6),'apiKey':_0x88ac87(0x104),'apiKeyPlaceholder':_0x88ac87(0x10d),'apiKeyHint':_0x88ac87(0x106),'enableAuth':_0x88ac87(0x10a),'enableAuthHint':_0x88ac87(0x111),'connectionInfo':_0x88ac87(0x108),'serverEndpoint':_0x88ac87(0x101),'sessionId':'Session\x20ID','maxRetries':'Max\x20Retries','save':_0x88ac87(0x11c),'saving':_0x88ac87(0xfa),'note1':_0x88ac87(0xf9),'note2':_0x88ac87(0x116),'configSaved':_0x88ac87(0xfc),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x88ac87(0x11f),'description':_0x88ac87(0x105),'univerAiLabel':_0x88ac87(0xef),'getStarted':_0x88ac87(0xf3)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x88ac87(0xfb),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x88ac87(0x110),'connecting':_0x88ac87(0xf5),'connected':_0x88ac87(0x115),'failed':_0x88ac87(0xf7),'retrying':_0x88ac87(0x10c)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x88ac87(0xf0),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x88ac87(0x117),'maxRetriesExceeded':_0x88ac87(0xff)}}},n=e;function _0x7669(_0x557012,_0x50aa03){const _0x2d8d91=_0x2d8d();return _0x7669=function(_0x76690c,_0x4bcb92){_0x76690c=_0x76690c-0xef;let _0x42b7a4=_0x2d8d91[_0x76690c];return _0x42b7a4;},_0x7669(_0x557012,_0x50aa03);}module[_0x88ac87(0x10b)]=n;function _0x2d8d(){const _0x1b5da4=['MCP\x20Connecting...','72wVSEwX','Get\x20your\x20API\x20key\x20in\x20seconds','4201929wouGwZ','Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','1940nVuELr','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','Invalid\x20configuration','Configuration\x20saved\x20successfully','24574iYpNMy','2874165WokNks','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','8kzOyAt','Server\x20Endpoint','MCP\x20Disconnected','MCP\x20Connection\x20Failed','API\x20Key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Configuration','Connection\x20Information','Click\x20to\x20connect\x20MCP','Enable\x20Authentication','exports','Retrying...','Enter\x20your\x20API\x20key','135901Sobyte','4629TBmeWv','Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','3779844JiUhOW','MCP:\x20Session\x20Occupied','1214RlDTdT','Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Invalid\x20API\x20Key','MCP:\x20API\x20Key\x20Missing','MCP\x20Connected','349810YRKBkg','Save\x20Configuration','MCP\x20Retrying...','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again'];_0x2d8d=function(){return _0x1b5da4;};return _0x2d8d();}
@@ -1 +1 @@
1
- 'use strict';function _0x5e5d(_0x52baa7,_0x1d4fad){const _0x4a4610=_0x4a46();return _0x5e5d=function(_0x5e5d22,_0x55a0a0){_0x5e5d22=_0x5e5d22-0x1c1;let _0x5116ca=_0x4a4610[_0x5e5d22];return _0x5116ca;},_0x5e5d(_0x52baa7,_0x1d4fad);}function _0x4a46(){const _0x3b45c6=['MCP\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','Session\x20ID','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','745647EQZrKH','MCP:\x20API\x20Key\x20Missing','What\x20is\x20API\x20Key?','3737416KXShZk','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connected','340vIDzko','7AxqLHF','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','1Shrzdt','Disconnected','24170JYHcTE','Save\x20Configuration','Invalid\x20configuration','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Disconnected','11308880qZhrrV','Connection\x20Information','1376322jEZiqY','API\x20key\x20is\x20required','Failed\x20to\x20save\x20configuration','Server\x20Endpoint','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','1945827WxUyLV','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Saving...','MCP:\x20Invalid\x20API\x20Key','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','272276heviur','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x4a46=function(){return _0x3b45c6;};return _0x4a46();}const _0x5933ba=_0x5e5d;(function(_0x654ebb,_0x4a05ef){const _0x306e58=_0x5e5d,_0x3ae755=_0x654ebb();while(!![]){try{const _0x459132=parseInt(_0x306e58(0x1ec))/0x1*(-parseInt(_0x306e58(0x1d4))/0x2)+-parseInt(_0x306e58(0x1e1))/0x3+-parseInt(_0x306e58(0x1e8))/0x4*(-parseInt(_0x306e58(0x1ee))/0x5)+parseInt(_0x306e58(0x1c4))/0x6*(-parseInt(_0x306e58(0x1e9))/0x7)+-parseInt(_0x306e58(0x1e4))/0x8+-parseInt(_0x306e58(0x1ca))/0x9+parseInt(_0x306e58(0x1c2))/0xa;if(_0x459132===_0x4a05ef)break;else _0x3ae755['push'](_0x3ae755['shift']());}catch(_0x13246c){_0x3ae755['push'](_0x3ae755['shift']());}}}(_0x4a46,0x3ba64));const e={'mcpStatus':{'disconnected':_0x5933ba(0x1c1),'connecting':_0x5933ba(0x1dc),'connected':_0x5933ba(0x1e7),'failed':_0x5933ba(0x1e5),'retrying':'MCP\x20Retrying...','unknown':_0x5933ba(0x1c9),'missingApiKey':_0x5933ba(0x1e2),'invalidApiKey':_0x5933ba(0x1cf),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x5933ba(0x1d2),'maxRetriesExceeded':_0x5933ba(0x1d3),'clickToConnect':_0x5933ba(0x1da),'clickToConfigure':_0x5933ba(0x1d0)},'mcpConfig':{'title':_0x5933ba(0x1d8),'description':_0x5933ba(0x1cb),'apiKey':_0x5933ba(0x1de),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5933ba(0x1e6),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5933ba(0x1d1),'connectionInfo':_0x5933ba(0x1c3),'serverEndpoint':_0x5933ba(0x1c7),'sessionId':_0x5933ba(0x1dd),'maxRetries':'Max\x20Retries','save':_0x5933ba(0x1ef),'saving':_0x5933ba(0x1ce),'note1':_0x5933ba(0x1d7),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x5933ba(0x1c6),'apiApplyInfo':{'title':_0x5933ba(0x1e3),'description':_0x5933ba(0x1db),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5933ba(0x1d9)},'validation':{'apiKeyRequired':_0x5933ba(0x1c5),'apiKeyTooShort':_0x5933ba(0x1df),'invalidConfig':_0x5933ba(0x1f0),'invalidApiKey':_0x5933ba(0x1c8)},'connectionStatus':{'disconnected':_0x5933ba(0x1ed),'connecting':'Connecting...','connected':_0x5933ba(0x1cc),'failed':_0x5933ba(0x1e0),'retrying':_0x5933ba(0x1ea)},'connectionError':{'missingApiKey':_0x5933ba(0x1f1),'invalidApiKey':_0x5933ba(0x1eb),'sessionOccupied':_0x5933ba(0x1d6),'networkError':_0x5933ba(0x1d5),'maxRetriesExceeded':_0x5933ba(0x1cd)}}};module['exports']=e;
1
+ 'use strict';function _0x4ea5(){const _0x5da117=['exports','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','MCP:\x20Session\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20Key','6tVyRyn','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','Enter\x20your\x20API\x20key','Connection\x20Failed','Enable\x20Authentication','1651222KjDsVq','MCP\x20Connection\x20Failed','Failed\x20to\x20save\x20configuration','MCP:\x20Network\x20Error','Invalid\x20configuration','Connection\x20Information','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','215661uunUHy','10201428DHSWua','9703708oWtDOK','Server\x20Endpoint','API\x20key\x20is\x20required\x20to\x20connect','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','9484gLYDjX','Session\x20ID','48700yYIWwV','2640kcTNvM','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','957zkzzEi','Enable\x20authentication\x20for\x20secure\x20connections','3655VgkVWB','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','37701kjYOSy','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20Invalid\x20API\x20Key','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','Saving...'];_0x4ea5=function(){return _0x5da117;};return _0x4ea5();}const _0x2a8dd0=_0x4770;(function(_0x1d3801,_0x14f953){const _0x33de83=_0x4770,_0x4af5da=_0x1d3801();while(!![]){try{const _0x34efa0=parseInt(_0x33de83(0x205))/0x1+-parseInt(_0x33de83(0x1ff))/0x2*(parseInt(_0x33de83(0x1e0))/0x3)+-parseInt(_0x33de83(0x1e6))/0x4*(parseInt(_0x33de83(0x1ee))/0x5)+parseInt(_0x33de83(0x1e1))/0x6+-parseInt(_0x33de83(0x1e2))/0x7+-parseInt(_0x33de83(0x1e9))/0x8*(-parseInt(_0x33de83(0x1f3))/0x9)+-parseInt(_0x33de83(0x1e8))/0xa*(parseInt(_0x33de83(0x1ec))/0xb);if(_0x34efa0===_0x14f953)break;else _0x4af5da['push'](_0x4af5da['shift']());}catch(_0x2d5dc0){_0x4af5da['push'](_0x4af5da['shift']());}}}(_0x4ea5,0xee0ba));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x2a8dd0(0x206),'retrying':_0x2a8dd0(0x1f6),'unknown':_0x2a8dd0(0x1f0),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x2a8dd0(0x1f5),'sessionOccupied':_0x2a8dd0(0x1fc),'networkError':_0x2a8dd0(0x208),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2a8dd0(0x1f7),'clickToConfigure':_0x2a8dd0(0x20b)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2a8dd0(0x1e5),'apiKey':_0x2a8dd0(0x1fe),'apiKeyPlaceholder':_0x2a8dd0(0x202),'apiKeyHint':_0x2a8dd0(0x200),'enableAuth':_0x2a8dd0(0x204),'enableAuthHint':_0x2a8dd0(0x1ed),'connectionInfo':_0x2a8dd0(0x20a),'serverEndpoint':_0x2a8dd0(0x1e3),'sessionId':_0x2a8dd0(0x1e7),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x2a8dd0(0x1f8),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x2a8dd0(0x207),'apiApplyInfo':{'title':_0x2a8dd0(0x1de),'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':_0x2a8dd0(0x1fb),'getStarted':_0x2a8dd0(0x1fd)},'validation':{'apiKeyRequired':_0x2a8dd0(0x1ea),'apiKeyTooShort':_0x2a8dd0(0x1df),'invalidConfig':_0x2a8dd0(0x209),'invalidApiKey':_0x2a8dd0(0x1eb)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2a8dd0(0x201),'connected':'Connected','failed':_0x2a8dd0(0x203),'retrying':_0x2a8dd0(0x1f1)},'connectionError':{'missingApiKey':_0x2a8dd0(0x1e4),'invalidApiKey':_0x2a8dd0(0x1f4),'sessionOccupied':_0x2a8dd0(0x1ef),'networkError':_0x2a8dd0(0x1fa),'maxRetriesExceeded':_0x2a8dd0(0x1f2)}}};function _0x4770(_0x11fd9e,_0x2d6660){const _0x4ea5ce=_0x4ea5();return _0x4770=function(_0x47703a,_0x10d443){_0x47703a=_0x47703a-0x1de;let _0x51d1c0=_0x4ea5ce[_0x47703a];return _0x51d1c0;},_0x4770(_0x11fd9e,_0x2d6660);}module[_0x2a8dd0(0x1f9)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x4599af=_0x381d;(function(_0x18c830,_0x3c3e0f){const _0x11b0b6=_0x381d,_0x24273f=_0x18c830();while(!![]){try{const _0x270bcf=-parseInt(_0x11b0b6(0xdc))/0x1*(parseInt(_0x11b0b6(0xd5))/0x2)+parseInt(_0x11b0b6(0xe7))/0x3+parseInt(_0x11b0b6(0xf7))/0x4+-parseInt(_0x11b0b6(0xfc))/0x5*(-parseInt(_0x11b0b6(0xfb))/0x6)+-parseInt(_0x11b0b6(0xf0))/0x7*(-parseInt(_0x11b0b6(0xf9))/0x8)+parseInt(_0x11b0b6(0xd8))/0x9+-parseInt(_0x11b0b6(0xdb))/0xa;if(_0x270bcf===_0x3c3e0f)break;else _0x24273f['push'](_0x24273f['shift']());}catch(_0x18c54c){_0x24273f['push'](_0x24273f['shift']());}}}(_0x31c8,0xae34a));function _0x31c8(){const _0x23a0ae=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Connection\x20Information','1161872HkYIXC','Enter\x20your\x20API\x20key','API\x20Key','3175245zKWXxp','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20API\x20Key\x20Missing','13827930FrgWpr','2ifOanp','Saving...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','Session\x20ID','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','232764GRMUSv','MCP:\x20Session\x20Occupied','MCP:\x20Invalid\x20API\x20Key','MCP\x20Retrying...','exports','Failed\x20to\x20save\x20configuration','MCP\x20Connected','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','42nvCsiJ','Connected','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connection\x20Failed','What\x20is\x20API\x20Key?','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','5553184FzPyEx','Enable\x20Authentication','377096ZcWgno','Server\x20Endpoint','1388040vNOFXj','25ORKTlm','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long'];_0x31c8=function(){return _0x23a0ae;};return _0x31c8();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4599af(0xed),'failed':_0x4599af(0xf3),'retrying':_0x4599af(0xea),'unknown':_0x4599af(0xee),'missingApiKey':_0x4599af(0xda),'invalidApiKey':_0x4599af(0xe9),'sessionOccupied':_0x4599af(0xe8),'networkError':_0x4599af(0xdf),'maxRetriesExceeded':_0x4599af(0xf6),'clickToConnect':_0x4599af(0xe1),'clickToConfigure':_0x4599af(0xfd)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4599af(0xd7),'apiKeyPlaceholder':_0x4599af(0xd6),'apiKeyHint':_0x4599af(0xe2),'enableAuth':_0x4599af(0xf8),'enableAuthHint':_0x4599af(0xd9),'connectionInfo':_0x4599af(0x105),'serverEndpoint':_0x4599af(0xfa),'sessionId':_0x4599af(0xe4),'maxRetries':_0x4599af(0xe5),'save':_0x4599af(0xff),'saving':_0x4599af(0xdd),'note1':_0x4599af(0x100),'note2':_0x4599af(0xe0),'configSaved':_0x4599af(0xef),'configError':_0x4599af(0xec),'apiApplyInfo':{'title':_0x4599af(0xf4),'description':_0x4599af(0x102),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4599af(0x101),'invalidConfig':_0x4599af(0xfe),'invalidApiKey':_0x4599af(0x103)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4599af(0xe3),'connected':_0x4599af(0xf1),'failed':_0x4599af(0x104),'retrying':_0x4599af(0xf5)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x4599af(0xf2),'sessionOccupied':_0x4599af(0xde),'networkError':_0x4599af(0xe6),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x381d(_0x2c3fa8,_0x2929fb){const _0x31c876=_0x31c8();return _0x381d=function(_0x381d4b,_0x4eac76){_0x381d4b=_0x381d4b-0xd5;let _0x258948=_0x31c876[_0x381d4b];return _0x258948;},_0x381d(_0x2c3fa8,_0x2929fb);}module[_0x4599af(0xeb)]=n;
1
+ 'use strict';function _0x46fa(){const _0x543b27=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Configuration','190899nOMgXW','Click\x20to\x20configure\x20MCP','Session\x20ID','9358tvCULs','5184798hIATiT','MCP:\x20Session\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Max\x20Retries','MCP\x20Connecting...','Connected','90027hXICzf','MCP:\x20API\x20Key\x20Missing','MCP\x20Connected','17043340NMaZmx','Univer\x20AI\x20Console','724nziQOb','Connection\x20Failed','MCP:\x20Invalid\x20API\x20Key','Connection\x20Information','MCP:\x20Network\x20Error','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','Save\x20Configuration','Retrying...','84WGzJpc','What\x20is\x20API\x20Key?','Configuration\x20saved\x20successfully','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Server\x20Endpoint','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','38195MDvaMs','API\x20Key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','112dkwbFz','Saving...','597093GKmutd','Enable\x20Authentication','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets'];_0x46fa=function(){return _0x543b27;};return _0x46fa();}const _0xbff32c=_0x43fa;(function(_0x91228e,_0x188234){const _0x12e11a=_0x43fa,_0x8434f=_0x91228e();while(!![]){try{const _0x4ba266=parseInt(_0x12e11a(0x77))/0x1+-parseInt(_0x12e11a(0x7f))/0x2*(parseInt(_0x12e11a(0x95))/0x3)+parseInt(_0x12e11a(0x8b))/0x4*(parseInt(_0x12e11a(0x6e))/0x5)+parseInt(_0x12e11a(0x80))/0x6+-parseInt(_0x12e11a(0x86))/0x7+parseInt(_0x12e11a(0x75))/0x8*(-parseInt(_0x12e11a(0x7c))/0x9)+-parseInt(_0x12e11a(0x89))/0xa;if(_0x4ba266===_0x188234)break;else _0x8434f['push'](_0x8434f['shift']());}catch(_0x57d059){_0x8434f['push'](_0x8434f['shift']());}}}(_0x46fa,0xaa964));function _0x43fa(_0x1e55a2,_0x5d1c5d){const _0x46fa46=_0x46fa();return _0x43fa=function(_0x43fa06,_0xfca458){_0x43fa06=_0x43fa06-0x6e;let _0x239e66=_0x46fa46[_0x43fa06];return _0x239e66;},_0x43fa(_0x1e55a2,_0x5d1c5d);}const e={'mcpStatus':{'disconnected':_0xbff32c(0x90),'connecting':_0xbff32c(0x84),'connected':_0xbff32c(0x88),'failed':_0xbff32c(0x71),'retrying':_0xbff32c(0x92),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0xbff32c(0x87),'invalidApiKey':_0xbff32c(0x8d),'sessionOccupied':_0xbff32c(0x81),'networkError':_0xbff32c(0x8f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xbff32c(0x9b),'clickToConfigure':_0xbff32c(0x7d)},'mcpConfig':{'title':_0xbff32c(0x7b),'description':_0xbff32c(0x79),'apiKey':_0xbff32c(0x6f),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0xbff32c(0x78),'enableAuthHint':_0xbff32c(0x91),'connectionInfo':_0xbff32c(0x8e),'serverEndpoint':_0xbff32c(0x9a),'sessionId':_0xbff32c(0x7e),'maxRetries':_0xbff32c(0x83),'save':_0xbff32c(0x93),'saving':_0xbff32c(0x76),'note1':_0xbff32c(0x73),'note2':_0xbff32c(0x7a),'configSaved':_0xbff32c(0x97),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xbff32c(0x96),'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':_0xbff32c(0x8a),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xbff32c(0x82),'invalidConfig':_0xbff32c(0x9c),'invalidApiKey':_0xbff32c(0x70)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0xbff32c(0x72),'connected':_0xbff32c(0x85),'failed':_0xbff32c(0x8c),'retrying':_0xbff32c(0x94)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0xbff32c(0x98),'sessionOccupied':_0xbff32c(0x74),'networkError':_0xbff32c(0x99),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';function _0x3f0a(){const _0x91c6d3=['Connection\x20Information','MCP\x20Connecting...','Enable\x20Authentication','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2462432TGSFbl','Configuration\x20saved\x20successfully','Saving...','313570EhBLjh','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','13974BFCMsf','What\x20is\x20API\x20Key?','Connection\x20Failed','Retrying...','43abnruv','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required\x20to\x20connect','13157928yclgZv','5628455TEvdlo','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Save\x20Configuration','MCP\x20Connected','16liPwPQ','Max\x20Retries','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','6OkxpIg','API\x20Key','Click\x20to\x20configure\x20MCP','187Dbkccq','9592iYrmwT','API\x20key\x20is\x20required','Click\x20to\x20connect\x20MCP','MCP\x20Retrying...','exports','Disconnected','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Unknown\x20Status','66999MApPJB','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Invalid\x20API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Server\x20Endpoint','11313zdWnsc','Univer\x20AI\x20Console','MCP\x20Disconnected','Invalid\x20configuration'];_0x3f0a=function(){return _0x91c6d3;};return _0x3f0a();}const _0x3e4445=_0xf69d;(function(_0x7288,_0x472f5a){const _0x1589b3=_0xf69d,_0x425185=_0x7288();while(!![]){try{const _0x71921=parseInt(_0x1589b3(0x149))/0x1*(parseInt(_0x1589b3(0x145))/0x2)+parseInt(_0x1589b3(0x164))/0x3*(-parseInt(_0x1589b3(0x152))/0x4)+parseInt(_0x1589b3(0x14e))/0x5*(-parseInt(_0x1589b3(0x155))/0x6)+-parseInt(_0x1589b3(0x171))/0x7+parseInt(_0x1589b3(0x159))/0x8*(parseInt(_0x1589b3(0x169))/0x9)+-parseInt(_0x1589b3(0x143))/0xa*(parseInt(_0x1589b3(0x158))/0xb)+parseInt(_0x1589b3(0x14d))/0xc;if(_0x71921===_0x472f5a)break;else _0x425185['push'](_0x425185['shift']());}catch(_0x29e458){_0x425185['push'](_0x425185['shift']());}}}(_0x3f0a,0xc4572));function _0xf69d(_0x1700f7,_0x281c01){const _0x3f0ad7=_0x3f0a();return _0xf69d=function(_0xf69d6a,_0xde4251){_0xf69d6a=_0xf69d6a-0x143;let _0x218e30=_0x3f0ad7[_0xf69d6a];return _0x218e30;},_0xf69d(_0x1700f7,_0x281c01);}const e={'mcpStatus':{'disconnected':_0x3e4445(0x16b),'connecting':_0x3e4445(0x16e),'connected':_0x3e4445(0x151),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3e4445(0x15c),'unknown':_0x3e4445(0x163),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x3e4445(0x166),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3e4445(0x15b),'clickToConfigure':_0x3e4445(0x157)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3e4445(0x14b),'apiKey':_0x3e4445(0x156),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3e4445(0x161),'enableAuth':_0x3e4445(0x16f),'enableAuthHint':_0x3e4445(0x14a),'connectionInfo':_0x3e4445(0x16d),'serverEndpoint':_0x3e4445(0x168),'sessionId':'Session\x20ID','maxRetries':_0x3e4445(0x153),'save':_0x3e4445(0x150),'saving':_0x3e4445(0x173),'note1':_0x3e4445(0x165),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3e4445(0x172),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3e4445(0x146),'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':_0x3e4445(0x16a),'getStarted':_0x3e4445(0x160)},'validation':{'apiKeyRequired':_0x3e4445(0x15a),'apiKeyTooShort':_0x3e4445(0x162),'invalidConfig':_0x3e4445(0x16c),'invalidApiKey':_0x3e4445(0x170)},'connectionStatus':{'disconnected':_0x3e4445(0x15e),'connecting':'Connecting...','connected':_0x3e4445(0x15f),'failed':_0x3e4445(0x147),'retrying':_0x3e4445(0x148)},'connectionError':{'missingApiKey':_0x3e4445(0x14c),'invalidApiKey':_0x3e4445(0x144),'sessionOccupied':_0x3e4445(0x154),'networkError':_0x3e4445(0x14f),'maxRetriesExceeded':_0x3e4445(0x167)}}},n=e;module[_0x3e4445(0x15d)]=n;
1
+ 'use strict';const _0x31c637=_0x490c;(function(_0x11a7fa,_0x268d7c){const _0x414647=_0x490c,_0x31215b=_0x11a7fa();while(!![]){try{const _0x5bb4fe=-parseInt(_0x414647(0x187))/0x1*(-parseInt(_0x414647(0x18a))/0x2)+parseInt(_0x414647(0x181))/0x3*(-parseInt(_0x414647(0x17b))/0x4)+-parseInt(_0x414647(0x178))/0x5+-parseInt(_0x414647(0x167))/0x6*(parseInt(_0x414647(0x184))/0x7)+parseInt(_0x414647(0x190))/0x8*(parseInt(_0x414647(0x18d))/0x9)+-parseInt(_0x414647(0x188))/0xa*(-parseInt(_0x414647(0x174))/0xb)+-parseInt(_0x414647(0x180))/0xc*(-parseInt(_0x414647(0x17d))/0xd);if(_0x5bb4fe===_0x268d7c)break;else _0x31215b['push'](_0x31215b['shift']());}catch(_0x337507){_0x31215b['push'](_0x31215b['shift']());}}}(_0x9545,0x946e3));function _0x9545(){const _0x1f2b29=['Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','374kZSZPn','exports','MCP\x20Unknown\x20Status','API\x20Key','4932005HPFgre','Invalid\x20configuration','MCP\x20Connected','257164eUNqap','MCP\x20Connection\x20Failed','91WDkwAe','MCP:\x20Network\x20Error','Connecting...','1446684tvQeTl','24KGEwFQ','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20configure\x20MCP','1196412VordCC','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connection\x20Failed','3gTuipd','254890QvNnAw','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','447324tqgZAK','Enter\x20your\x20API\x20key','MCP:\x20API\x20Key\x20Missing','9wiiTbX','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Session\x20Occupied','1919496GOubMi','Session\x20ID','Save\x20Configuration','Saving...','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required\x20to\x20connect','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Server\x20Endpoint','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Max\x20Retries','Enable\x20Authentication','MCP\x20Disconnected','18RddrAv','MCP:\x20Invalid\x20API\x20Key','MCP\x20Configuration','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','Connected','What\x20is\x20API\x20Key?','Connection\x20Information','MCP\x20Connecting...','Failed\x20to\x20save\x20configuration'];_0x9545=function(){return _0x1f2b29;};return _0x9545();}const e={'mcpStatus':{'disconnected':_0x31c637(0x166),'connecting':_0x31c637(0x170),'connected':_0x31c637(0x17a),'failed':_0x31c637(0x17c),'retrying':_0x31c637(0x16c),'unknown':_0x31c637(0x176),'missingApiKey':_0x31c637(0x18c),'invalidApiKey':_0x31c637(0x168),'sessionOccupied':_0x31c637(0x18f),'networkError':_0x31c637(0x17e),'maxRetriesExceeded':_0x31c637(0x195),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x31c637(0x183)},'mcpConfig':{'title':_0x31c637(0x169),'description':_0x31c637(0x18e),'apiKey':_0x31c637(0x177),'apiKeyPlaceholder':_0x31c637(0x18b),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x31c637(0x165),'enableAuthHint':_0x31c637(0x172),'connectionInfo':_0x31c637(0x16f),'serverEndpoint':_0x31c637(0x162),'sessionId':_0x31c637(0x191),'maxRetries':_0x31c637(0x164),'save':_0x31c637(0x192),'saving':_0x31c637(0x193),'note1':_0x31c637(0x185),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x31c637(0x16a),'configError':_0x31c637(0x171),'apiApplyInfo':{'title':_0x31c637(0x16e),'description':_0x31c637(0x182),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x31c637(0x198)},'validation':{'apiKeyRequired':_0x31c637(0x194),'apiKeyTooShort':_0x31c637(0x196),'invalidConfig':_0x31c637(0x179),'invalidApiKey':_0x31c637(0x161)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x31c637(0x17f),'connected':_0x31c637(0x16d),'failed':_0x31c637(0x186),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x31c637(0x197),'invalidApiKey':_0x31c637(0x173),'sessionOccupied':_0x31c637(0x163),'networkError':_0x31c637(0x16b),'maxRetriesExceeded':_0x31c637(0x189)}}},n=e;function _0x490c(_0x27b726,_0x174f0a){const _0x95456b=_0x9545();return _0x490c=function(_0x490c48,_0x191788){_0x490c48=_0x490c48-0x161;let _0x5de013=_0x95456b[_0x490c48];return _0x5de013;},_0x490c(_0x27b726,_0x174f0a);}module[_0x31c637(0x175)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x16e556=_0x3fe6;(function(_0x435641,_0xff1149){const _0x3a277e=_0x3fe6,_0x1315e1=_0x435641();while(!![]){try{const _0x3cf185=parseInt(_0x3a277e(0x16b))/0x1*(-parseInt(_0x3a277e(0x170))/0x2)+-parseInt(_0x3a277e(0x17e))/0x3*(-parseInt(_0x3a277e(0x177))/0x4)+-parseInt(_0x3a277e(0x16e))/0x5+parseInt(_0x3a277e(0x173))/0x6*(-parseInt(_0x3a277e(0x17b))/0x7)+-parseInt(_0x3a277e(0x182))/0x8*(-parseInt(_0x3a277e(0x16d))/0x9)+parseInt(_0x3a277e(0x162))/0xa+parseInt(_0x3a277e(0x176))/0xb*(parseInt(_0x3a277e(0x169))/0xc);if(_0x3cf185===_0xff1149)break;else _0x1315e1['push'](_0x1315e1['shift']());}catch(_0xa58c69){_0x1315e1['push'](_0x1315e1['shift']());}}}(_0xa703,0x960f3));function _0x3fe6(_0x4d6716,_0x5e7a8f){const _0xa70302=_0xa703();return _0x3fe6=function(_0x3fe650,_0xcd17){_0x3fe650=_0x3fe650-0x162;let _0x283a78=_0xa70302[_0x3fe650];return _0x283a78;},_0x3fe6(_0x4d6716,_0x5e7a8f);}const e={'mcpStatus':{'disconnected':_0x16e556(0x191),'connecting':_0x16e556(0x188),'connected':_0x16e556(0x17d),'failed':_0x16e556(0x18f),'retrying':_0x16e556(0x18d),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x16e556(0x171),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x16e556(0x183),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x16e556(0x186),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x16e556(0x181),'apiKeyPlaceholder':_0x16e556(0x164),'apiKeyHint':_0x16e556(0x18b),'enableAuth':_0x16e556(0x190),'enableAuthHint':_0x16e556(0x168),'connectionInfo':_0x16e556(0x167),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x16e556(0x185),'maxRetries':'Max\x20Retries','save':_0x16e556(0x179),'saving':_0x16e556(0x18a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x16e556(0x163),'configSaved':_0x16e556(0x187),'configError':_0x16e556(0x175),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x16e556(0x172),'univerAiLabel':_0x16e556(0x189),'getStarted':_0x16e556(0x166)},'validation':{'apiKeyRequired':_0x16e556(0x18c),'apiKeyTooShort':_0x16e556(0x180),'invalidConfig':_0x16e556(0x16f),'invalidApiKey':_0x16e556(0x17c)},'connectionStatus':{'disconnected':_0x16e556(0x17f),'connecting':'Connecting...','connected':_0x16e556(0x16a),'failed':_0x16e556(0x174),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x16e556(0x178),'invalidApiKey':_0x16e556(0x18e),'sessionOccupied':_0x16e556(0x165),'networkError':_0x16e556(0x184),'maxRetriesExceeded':_0x16e556(0x17a)}}},n=e;module[_0x16e556(0x16c)]=n;function _0xa703(){const _0x398379=['Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key','8NkXbFn','MCP:\x20Session\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20ID','Click\x20to\x20connect\x20MCP','Configuration\x20saved\x20successfully','MCP\x20Connecting...','Univer\x20AI\x20Console','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','MCP\x20Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connection\x20Failed','Enable\x20Authentication','MCP\x20Disconnected','7748610GxaKpR','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enter\x20your\x20API\x20key','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Information','Enable\x20authentication\x20for\x20secure\x20connections','9605196IbFTfi','Connected','3751YTbbOM','exports','403803ClVJVG','3634020MDEWQr','Invalid\x20configuration','152FENbWn','MCP:\x20API\x20Key\x20Missing','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','27462ejGZXk','Connection\x20Failed','Failed\x20to\x20save\x20configuration','11zYGpjj','2094252GcwGJI','API\x20key\x20is\x20required\x20to\x20connect','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','791fIjjly','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','3RPvSFn'];_0xa703=function(){return _0x398379;};return _0xa703();}
1
+ 'use strict';const _0x458cb6=_0x424b;function _0x424b(_0x2808be,_0x2273ee){const _0x2b8bc1=_0x2b8b();return _0x424b=function(_0x424bdf,_0x5f0a92){_0x424bdf=_0x424bdf-0x175;let _0x33fcd6=_0x2b8bc1[_0x424bdf];return _0x33fcd6;},_0x424b(_0x2808be,_0x2273ee);}(function(_0x31f2d7,_0x7f6d7f){const _0x20b4d7=_0x424b,_0x6f3ba9=_0x31f2d7();while(!![]){try{const _0x65198=-parseInt(_0x20b4d7(0x177))/0x1+-parseInt(_0x20b4d7(0x190))/0x2*(-parseInt(_0x20b4d7(0x17d))/0x3)+-parseInt(_0x20b4d7(0x189))/0x4+parseInt(_0x20b4d7(0x188))/0x5*(-parseInt(_0x20b4d7(0x178))/0x6)+-parseInt(_0x20b4d7(0x19a))/0x7*(-parseInt(_0x20b4d7(0x196))/0x8)+parseInt(_0x20b4d7(0x176))/0x9*(parseInt(_0x20b4d7(0x18e))/0xa)+parseInt(_0x20b4d7(0x17b))/0xb;if(_0x65198===_0x7f6d7f)break;else _0x6f3ba9['push'](_0x6f3ba9['shift']());}catch(_0x446205){_0x6f3ba9['push'](_0x6f3ba9['shift']());}}}(_0x2b8b,0x61567));function _0x2b8b(){const _0x3a018b=['161210MzYkGk','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','500gdMIUK','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connected','Invalid\x20configuration','8mkQneh','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Connection\x20Failed','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','483469fQOvmc','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Server\x20Endpoint','Connection\x20Information','MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required','Saving...','Click\x20to\x20connect\x20MCP','333mIqLpn','123007LZaPVy','14478XRlqRt','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','2254868nPPWlB','exports','4119ktBMwc','Max\x20Retries','Connected','Connecting...','API\x20Key','Retrying...','Configuration\x20saved\x20successfully','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','Disconnected','What\x20is\x20API\x20Key?','925eTMohv','982700bBBkhU','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20API\x20Key\x20Missing','MCP\x20Retrying...','MCP\x20Disconnected'];_0x2b8b=function(){return _0x3a018b;};return _0x2b8b();}const e={'mcpStatus':{'disconnected':_0x458cb6(0x18d),'connecting':_0x458cb6(0x1a0),'connected':_0x458cb6(0x194),'failed':_0x458cb6(0x185),'retrying':_0x458cb6(0x18c),'unknown':_0x458cb6(0x19c),'missingApiKey':_0x458cb6(0x18b),'invalidApiKey':_0x458cb6(0x193),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x458cb6(0x184),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x458cb6(0x175),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x458cb6(0x19d),'apiKey':_0x458cb6(0x181),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x458cb6(0x19b),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x458cb6(0x179),'connectionInfo':_0x458cb6(0x19f),'serverEndpoint':_0x458cb6(0x19e),'sessionId':_0x458cb6(0x17a),'maxRetries':_0x458cb6(0x17e),'save':'Save\x20Configuration','saving':_0x458cb6(0x1a3),'note1':_0x458cb6(0x1a1),'note2':_0x458cb6(0x18f),'configSaved':_0x458cb6(0x183),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x458cb6(0x187),'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':_0x458cb6(0x192)},'validation':{'apiKeyRequired':_0x458cb6(0x1a2),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x458cb6(0x195),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x458cb6(0x186),'connecting':_0x458cb6(0x180),'connected':_0x458cb6(0x17f),'failed':_0x458cb6(0x198),'retrying':_0x458cb6(0x182)},'connectionError':{'missingApiKey':_0x458cb6(0x18a),'invalidApiKey':_0x458cb6(0x199),'sessionOccupied':_0x458cb6(0x197),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x458cb6(0x191)}}},n=e;module[_0x458cb6(0x17c)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x2cdd61=_0x5807;(function(_0x45d9d9,_0x5fa9a8){const _0x5a03de=_0x5807,_0x259eee=_0x45d9d9();while(!![]){try{const _0x56b453=parseInt(_0x5a03de(0x1f1))/0x1*(parseInt(_0x5a03de(0x1da))/0x2)+-parseInt(_0x5a03de(0x200))/0x3+parseInt(_0x5a03de(0x201))/0x4*(-parseInt(_0x5a03de(0x1fd))/0x5)+parseInt(_0x5a03de(0x1f4))/0x6*(parseInt(_0x5a03de(0x1f0))/0x7)+parseInt(_0x5a03de(0x1e1))/0x8*(-parseInt(_0x5a03de(0x1ec))/0x9)+parseInt(_0x5a03de(0x1e8))/0xa*(parseInt(_0x5a03de(0x1f5))/0xb)+parseInt(_0x5a03de(0x1ef))/0xc;if(_0x56b453===_0x5fa9a8)break;else _0x259eee['push'](_0x259eee['shift']());}catch(_0x305c20){_0x259eee['push'](_0x259eee['shift']());}}}(_0x1983,0x61a22));function _0x5807(_0x5af380,_0x47ef1a){const _0x1983f8=_0x1983();return _0x5807=function(_0x5807f2,_0x1618b4){_0x5807f2=_0x5807f2-0x1cf;let _0x81f7e9=_0x1983f8[_0x5807f2];return _0x81f7e9;},_0x5807(_0x5af380,_0x47ef1a);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2cdd61(0x1de),'connected':_0x2cdd61(0x1f9),'failed':_0x2cdd61(0x1d6),'retrying':_0x2cdd61(0x1fb),'unknown':_0x2cdd61(0x1e3),'missingApiKey':_0x2cdd61(0x1e7),'invalidApiKey':_0x2cdd61(0x1d7),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2cdd61(0x1e4),'maxRetriesExceeded':_0x2cdd61(0x1dd),'clickToConnect':_0x2cdd61(0x1fa),'clickToConfigure':_0x2cdd61(0x1d3)},'mcpConfig':{'title':_0x2cdd61(0x1d5),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2cdd61(0x1f8),'apiKeyPlaceholder':_0x2cdd61(0x202),'apiKeyHint':_0x2cdd61(0x1f7),'enableAuth':_0x2cdd61(0x1dc),'enableAuthHint':_0x2cdd61(0x1eb),'connectionInfo':_0x2cdd61(0x1d9),'serverEndpoint':_0x2cdd61(0x1e9),'sessionId':_0x2cdd61(0x1cf),'maxRetries':'Max\x20Retries','save':_0x2cdd61(0x1d0),'saving':_0x2cdd61(0x1e2),'note1':_0x2cdd61(0x1d2),'note2':_0x2cdd61(0x203),'configSaved':_0x2cdd61(0x1e5),'configError':_0x2cdd61(0x1ea),'apiApplyInfo':{'title':_0x2cdd61(0x1ee),'description':_0x2cdd61(0x1db),'univerAiLabel':_0x2cdd61(0x1fe),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2cdd61(0x1ed),'apiKeyTooShort':_0x2cdd61(0x1fc),'invalidConfig':_0x2cdd61(0x1f6),'invalidApiKey':_0x2cdd61(0x1df)},'connectionStatus':{'disconnected':_0x2cdd61(0x1f2),'connecting':_0x2cdd61(0x1d8),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x2cdd61(0x1e0)},'connectionError':{'missingApiKey':_0x2cdd61(0x1d1),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x2cdd61(0x1e6),'networkError':_0x2cdd61(0x1d4),'maxRetriesExceeded':_0x2cdd61(0x1f3)}}},n=e;function _0x1983(){const _0xe5308e=['Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','MCP\x20Connection\x20Failed','MCP:\x20Invalid\x20API\x20Key','Connecting...','Connection\x20Information','106ZHoEiy','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','30280scMhtc','Saving...','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20API\x20Key\x20Missing','10bOecAt','Server\x20Endpoint','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','1098sbmyPK','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','2003868GGtabu','601468eBtWSX','9338LUVYcP','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','12bTlKSU','6909661mKUrVq','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','MCP\x20Connected','Click\x20to\x20connect\x20MCP','MCP\x20Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','2290BCKOlx','Univer\x20AI\x20Console','exports','1486032xFtzFl','916TvFMIk','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','Save\x20Configuration','API\x20key\x20is\x20required\x20to\x20connect','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP'];_0x1983=function(){return _0xe5308e;};return _0x1983();}module[_0x2cdd61(0x1ff)]=n;
1
+ 'use strict';function _0x2553(){const _0x93efca=['Enter\x20your\x20API\x20key','MCP:\x20Invalid\x20API\x20Key','1361871nNDJOJ','129186njYKdL','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20API\x20Key\x20Missing','MCP\x20Connecting...','API\x20Key','Invalid\x20configuration','210BbfpDa','33GCnqfM','Enable\x20Authentication','MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error','326236pNKAHe','What\x20is\x20API\x20Key?','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','MCP\x20Configuration','26045020bcpeJn','Retrying...','Connection\x20Failed','Session\x20ID','455568fFaspV','Server\x20Endpoint','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Disconnected','Connecting...','Click\x20to\x20connect\x20MCP','Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Max\x20Retries','16XTURNv','614252ROJVxZ','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Disconnected','Connection\x20Information','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Get\x20your\x20API\x20key\x20in\x20seconds','450RJZxWr'];_0x2553=function(){return _0x93efca;};return _0x2553();}function _0x4ab4(_0x577b9e,_0x7f2137){const _0x2553e2=_0x2553();return _0x4ab4=function(_0x4ab4a7,_0x4e5c04){_0x4ab4a7=_0x4ab4a7-0xf2;let _0x1fa2ce=_0x2553e2[_0x4ab4a7];return _0x1fa2ce;},_0x4ab4(_0x577b9e,_0x7f2137);}const _0x2f0ecc=_0x4ab4;(function(_0x4290ae,_0x1af445){const _0x27ee0a=_0x4ab4,_0x36eaca=_0x4290ae();while(!![]){try{const _0x567fcb=-parseInt(_0x27ee0a(0x117))/0x1+parseInt(_0x27ee0a(0x10c))/0x2+-parseInt(_0x27ee0a(0xff))/0x3*(parseInt(_0x27ee0a(0x103))/0x4)+-parseInt(_0x27ee0a(0xfe))/0x5*(parseInt(_0x27ee0a(0xf7))/0x6)+parseInt(_0x27ee0a(0xf6))/0x7+parseInt(_0x27ee0a(0x116))/0x8*(-parseInt(_0x27ee0a(0xf3))/0x9)+parseInt(_0x27ee0a(0x108))/0xa;if(_0x567fcb===_0x1af445)break;else _0x36eaca['push'](_0x36eaca['shift']());}catch(_0x586a96){_0x36eaca['push'](_0x36eaca['shift']());}}}(_0x2553,0x952dc));const e={'mcpStatus':{'disconnected':_0x2f0ecc(0x110),'connecting':_0x2f0ecc(0xfb),'connected':'MCP\x20Connected','failed':_0x2f0ecc(0x101),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x2f0ecc(0xfa),'invalidApiKey':_0x2f0ecc(0xf5),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2f0ecc(0x102),'maxRetriesExceeded':_0x2f0ecc(0x10e),'clickToConnect':_0x2f0ecc(0x112),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2f0ecc(0x107),'description':_0x2f0ecc(0x119),'apiKey':_0x2f0ecc(0xfc),'apiKeyPlaceholder':_0x2f0ecc(0xf4),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2f0ecc(0x100),'enableAuthHint':_0x2f0ecc(0x118),'connectionInfo':_0x2f0ecc(0x11d),'serverEndpoint':_0x2f0ecc(0x10d),'sessionId':_0x2f0ecc(0x10b),'maxRetries':_0x2f0ecc(0x115),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x2f0ecc(0x10f),'note2':_0x2f0ecc(0x114),'configSaved':_0x2f0ecc(0x106),'configError':_0x2f0ecc(0xf8),'apiApplyInfo':{'title':_0x2f0ecc(0x104),'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':_0x2f0ecc(0xf2)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2f0ecc(0x11a),'invalidConfig':_0x2f0ecc(0xfd),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2f0ecc(0x11c),'connecting':_0x2f0ecc(0x111),'connected':_0x2f0ecc(0x113),'failed':_0x2f0ecc(0x10a),'retrying':_0x2f0ecc(0x109)},'connectionError':{'missingApiKey':_0x2f0ecc(0xf9),'invalidApiKey':_0x2f0ecc(0x11e),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x2f0ecc(0x11b),'maxRetriesExceeded':_0x2f0ecc(0x105)}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';function _0x375c(_0x460b5f,_0x45671d){const _0x600d67=_0x600d();return _0x375c=function(_0x375cb7,_0x2bafc0){_0x375cb7=_0x375cb7-0x1bf;let _0x12a9df=_0x600d67[_0x375cb7];return _0x12a9df;},_0x375c(_0x460b5f,_0x45671d);}const _0x48c5c0=_0x375c;(function(_0x4736a7,_0x48347b){const _0xbc5dab=_0x375c,_0x189d01=_0x4736a7();while(!![]){try{const _0x3c716c=-parseInt(_0xbc5dab(0x1d9))/0x1+-parseInt(_0xbc5dab(0x1eb))/0x2*(parseInt(_0xbc5dab(0x1e5))/0x3)+parseInt(_0xbc5dab(0x1ca))/0x4*(-parseInt(_0xbc5dab(0x1e9))/0x5)+-parseInt(_0xbc5dab(0x1f0))/0x6*(-parseInt(_0xbc5dab(0x1d3))/0x7)+-parseInt(_0xbc5dab(0x1c0))/0x8+-parseInt(_0xbc5dab(0x1df))/0x9+parseInt(_0xbc5dab(0x1f2))/0xa;if(_0x3c716c===_0x48347b)break;else _0x189d01['push'](_0x189d01['shift']());}catch(_0xb5013){_0x189d01['push'](_0x189d01['shift']());}}}(_0x600d,0x810ed));function _0x600d(){const _0x165e62=['Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','965938GGegss','exports','Enable\x20Authentication','Save\x20Configuration','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP','5683860CAbAUZ','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20Occupied','MCP:\x20API\x20Key\x20Missing','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','224901uhmYDw','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','5tMBhQZ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','6SIqKFx','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','Session\x20ID','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','5153214uIahBV','Connection\x20Failed','26346800QbnMAB','MCP\x20Configuration','5473504KDuyVh','MCP:\x20Invalid\x20API\x20Key','API\x20key\x20is\x20required\x20to\x20connect','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','API\x20key\x20is\x20required','Disconnected','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1833444oevsma','API\x20Key','MCP\x20Disconnected','Server\x20Endpoint','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','Connection\x20Information','Univer\x20AI\x20Console','7dGrepi','MCP\x20Connected','Connecting...'];_0x600d=function(){return _0x165e62;};return _0x600d();}const e={'mcpStatus':{'disconnected':_0x48c5c0(0x1cc),'connecting':_0x48c5c0(0x1ed),'connected':_0x48c5c0(0x1d4),'failed':_0x48c5c0(0x1dd),'retrying':_0x48c5c0(0x1e4),'unknown':_0x48c5c0(0x1c7),'missingApiKey':_0x48c5c0(0x1e2),'invalidApiKey':_0x48c5c0(0x1c1),'sessionOccupied':_0x48c5c0(0x1e1),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x48c5c0(0x1d0),'clickToConnect':_0x48c5c0(0x1de),'clickToConfigure':_0x48c5c0(0x1e0)},'mcpConfig':{'title':_0x48c5c0(0x1bf),'description':_0x48c5c0(0x1ea),'apiKey':_0x48c5c0(0x1cb),'apiKeyPlaceholder':_0x48c5c0(0x1c4),'apiKeyHint':_0x48c5c0(0x1c8),'enableAuth':_0x48c5c0(0x1db),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x48c5c0(0x1d1),'serverEndpoint':_0x48c5c0(0x1cd),'sessionId':_0x48c5c0(0x1ee),'maxRetries':'Max\x20Retries','save':_0x48c5c0(0x1dc),'saving':'Saving...','note1':_0x48c5c0(0x1e8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x48c5c0(0x1e7),'configError':_0x48c5c0(0x1e6),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x48c5c0(0x1ec),'univerAiLabel':_0x48c5c0(0x1d2),'getStarted':_0x48c5c0(0x1d7)},'validation':{'apiKeyRequired':_0x48c5c0(0x1c5),'apiKeyTooShort':_0x48c5c0(0x1c3),'invalidConfig':_0x48c5c0(0x1d8),'invalidApiKey':_0x48c5c0(0x1ce)},'connectionStatus':{'disconnected':_0x48c5c0(0x1c6),'connecting':_0x48c5c0(0x1d5),'connected':_0x48c5c0(0x1d6),'failed':_0x48c5c0(0x1f1),'retrying':_0x48c5c0(0x1cf)},'connectionError':{'missingApiKey':_0x48c5c0(0x1c2),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x48c5c0(0x1ef),'networkError':_0x48c5c0(0x1c9),'maxRetriesExceeded':_0x48c5c0(0x1e3)}}},n=e;module[_0x48c5c0(0x1da)]=n;
1
+ 'use strict';const _0x33bc47=_0x515f;(function(_0x31ba4c,_0xdc83e6){const _0x3bf4b0=_0x515f,_0x5bb1b3=_0x31ba4c();while(!![]){try{const _0x430420=parseInt(_0x3bf4b0(0xc5))/0x1+-parseInt(_0x3bf4b0(0xcc))/0x2*(parseInt(_0x3bf4b0(0xd6))/0x3)+parseInt(_0x3bf4b0(0xc9))/0x4+parseInt(_0x3bf4b0(0xc4))/0x5+-parseInt(_0x3bf4b0(0xb9))/0x6*(parseInt(_0x3bf4b0(0xd3))/0x7)+-parseInt(_0x3bf4b0(0xbb))/0x8*(-parseInt(_0x3bf4b0(0xd4))/0x9)+-parseInt(_0x3bf4b0(0xcf))/0xa;if(_0x430420===_0xdc83e6)break;else _0x5bb1b3['push'](_0x5bb1b3['shift']());}catch(_0x389c00){_0x5bb1b3['push'](_0x5bb1b3['shift']());}}}(_0x2267,0x386e6));function _0x2267(){const _0x1cec17=['Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20API\x20Key\x20Missing','Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Session\x20Occupied','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Max\x20Retries','Save\x20Configuration','Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','Server\x20Endpoint','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','2718PjLpix','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1096XFUSph','Saving...','Enable\x20Authentication','API\x20key\x20is\x20required\x20to\x20connect','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1370235JmAxIq','69947GiTUpU','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','exports','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','845832pYTZTP','MCP\x20Unknown\x20Status','MCP\x20Connected','72CGnPlB','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Univer\x20AI\x20Console','569660ZgkPWe','MCP\x20Configuration','Configuration\x20saved\x20successfully','Invalid\x20configuration','5089nYVBOW','9819PQKSOV','API\x20key\x20is\x20required','7290soDsCI','Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed'];_0x2267=function(){return _0x1cec17;};return _0x2267();}function _0x515f(_0x44c61e,_0x107f47){const _0x226720=_0x2267();return _0x515f=function(_0x515f22,_0x4e28de){_0x515f22=_0x515f22-0xb5;let _0x31f66d=_0x226720[_0x515f22];return _0x31f66d;},_0x515f(_0x44c61e,_0x107f47);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x33bc47(0xcb),'failed':_0x33bc47(0xc0),'retrying':'MCP\x20Retrying...','unknown':_0x33bc47(0xca),'missingApiKey':_0x33bc47(0xdb),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x33bc47(0xde),'networkError':_0x33bc47(0xb7),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x33bc47(0xbf)},'mcpConfig':{'title':_0x33bc47(0xd0),'description':_0x33bc47(0xd8),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x33bc47(0xdf),'apiKeyHint':_0x33bc47(0xe0),'enableAuth':_0x33bc47(0xbd),'enableAuthHint':_0x33bc47(0xb5),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x33bc47(0xb6),'sessionId':'Session\x20ID','maxRetries':_0x33bc47(0xe1),'save':_0x33bc47(0xe2),'saving':_0x33bc47(0xbc),'note1':_0x33bc47(0xba),'note2':_0x33bc47(0xc8),'configSaved':_0x33bc47(0xd1),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x33bc47(0xdd),'univerAiLabel':_0x33bc47(0xce),'getStarted':_0x33bc47(0xb8)},'validation':{'apiKeyRequired':_0x33bc47(0xd5),'apiKeyTooShort':_0x33bc47(0xcd),'invalidConfig':_0x33bc47(0xd2),'invalidApiKey':_0x33bc47(0xc3)},'connectionStatus':{'disconnected':_0x33bc47(0xe3),'connecting':_0x33bc47(0xdc),'connected':'Connected','failed':_0x33bc47(0xd9),'retrying':_0x33bc47(0xd7)},'connectionError':{'missingApiKey':_0x33bc47(0xbe),'invalidApiKey':_0x33bc47(0xc1),'sessionOccupied':_0x33bc47(0xc2),'networkError':_0x33bc47(0xc6),'maxRetriesExceeded':_0x33bc47(0xda)}}},n=e;module[_0x33bc47(0xc7)]=n;