@univerjs-pro/mcp-ui 0.10.8 → 0.10.9-experimental.20250925-61b61a0

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 (50) 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/types/controllers/config.schema.d.ts +7 -0
  35. package/lib/types/controllers/mcp-connection-ui.controller.d.ts +4 -2
  36. package/lib/types/locale/en-US.d.ts +2 -4
  37. package/lib/types/locale/zh-CN.d.ts +2 -4
  38. package/lib/types/views/components/mcp-status.d.ts +2 -0
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +8 -8
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x167df7,_0x16d249){var _0x2f9483=_0x488a,_0xb0894=_0x167df7();while(!![]){try{var _0x2c052e=parseInt(_0x2f9483(0xd2))/0x1+-parseInt(_0x2f9483(0x125))/0x2+parseInt(_0x2f9483(0xe1))/0x3*(-parseInt(_0x2f9483(0x168))/0x4)+parseInt(_0x2f9483(0x9f))/0x5*(-parseInt(_0x2f9483(0x1c2))/0x6)+parseInt(_0x2f9483(0x9c))/0x7+-parseInt(_0x2f9483(0xa7))/0x8*(parseInt(_0x2f9483(0x9d))/0x9)+parseInt(_0x2f9483(0x118))/0xa;if(_0x2c052e===_0x16d249)break;else _0xb0894['push'](_0xb0894['shift']());}catch(_0x4ff7d7){_0xb0894['push'](_0xb0894['shift']());}}}(_0x5c40,0x6f957),function(_0x2043d3,_0x2c41e1){var _0x1b36f8=_0x488a;typeof exports=='object'&&typeof module<'u'?_0x2c41e1(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x1b36f8(0xbc)&&define[_0x1b36f8(0x15a)]?define([_0x1b36f8(0x154),_0x1b36f8(0x15d),'react/jsx-runtime','@univerjs-pro/mcp',_0x1b36f8(0x1dc),_0x1b36f8(0x21d),_0x1b36f8(0x20e),'react',_0x1b36f8(0x1d7)],_0x2c41e1):(_0x2043d3=typeof globalThis<'u'?globalThis:_0x2043d3||self,_0x2c41e1(_0x2043d3['UniverProMcpUi']={},_0x2043d3[_0x1b36f8(0x186)],_0x2043d3['React'],_0x2043d3[_0x1b36f8(0x200)],_0x2043d3[_0x1b36f8(0xf7)],_0x2043d3[_0x1b36f8(0x195)],_0x2043d3[_0x1b36f8(0x20e)],_0x2043d3['React'],_0x2043d3[_0x1b36f8(0x11e)]));}(this,function(_0x599192,_0x1438a5,_0x55f1e7,_0x863fb3,_0x84f7c,_0x5a0809,_0x3d33ea,_0x344e63,_0x2a568f){'use strict';var _0x28b49b=_0x488a;var _0x4457f7=Object[_0x28b49b(0x1d2)],_0x44fd5c=(_0x1af362,_0x5d371a,_0x18e1a6)=>_0x5d371a in _0x1af362?_0x4457f7(_0x1af362,_0x5d371a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18e1a6}):_0x1af362[_0x5d371a]=_0x18e1a6,_0x3a5443=(_0x5b043d,_0x11bd00,_0x3f9903)=>_0x44fd5c(_0x5b043d,typeof _0x11bd00!='symbol'?_0x11bd00+'':_0x11bd00,_0x3f9903),_0x54d158=function(){var _0xd1965e=_0x28b49b;return _0x54d158=Object[_0xd1965e(0x174)]||function(_0x2db81e){var _0x262eef=_0xd1965e;for(var _0x55dbfa,_0x3fd388=0x1,_0xa1140d=arguments[_0x262eef(0x181)];_0x3fd388<_0xa1140d;_0x3fd388++){_0x55dbfa=arguments[_0x3fd388];for(var _0x58d864 in _0x55dbfa)Object['prototype']['hasOwnProperty']['call'](_0x55dbfa,_0x58d864)&&(_0x2db81e[_0x58d864]=_0x55dbfa[_0x58d864]);}return _0x2db81e;},_0x54d158['apply'](this,arguments);},_0x30a270=function(_0x186ac7,_0x3d3300){var _0x3574c7=_0x28b49b,_0x53511d={};for(var _0x47c614 in _0x186ac7)Object[_0x3574c7(0xe3)]['hasOwnProperty'][_0x3574c7(0x219)](_0x186ac7,_0x47c614)&&_0x3d3300[_0x3574c7(0xfe)](_0x47c614)<0x0&&(_0x53511d[_0x47c614]=_0x186ac7[_0x47c614]);if(_0x186ac7!=null&&typeof Object[_0x3574c7(0x111)]=='function'){for(var _0x2ec886=0x0,_0x47c614=Object[_0x3574c7(0x111)](_0x186ac7);_0x2ec886<_0x47c614['length'];_0x2ec886++)_0x3d3300[_0x3574c7(0xfe)](_0x47c614[_0x2ec886])<0x0&&Object[_0x3574c7(0xe3)][_0x3574c7(0x1b9)][_0x3574c7(0x219)](_0x186ac7,_0x47c614[_0x2ec886])&&(_0x53511d[_0x47c614[_0x2ec886]]=_0x186ac7[_0x47c614[_0x2ec886]]);}return _0x53511d;},_0x3beed0=_0x344e63['forwardRef'](function(_0x98e519,_0x382503){var _0x3c0768=_0x28b49b,_0xb9beb5=_0x98e519[_0x3c0768(0x19b)],_0x26b056=_0x98e519['id'],_0x43941a=_0x98e519[_0x3c0768(0x119)],_0x5af7ec=_0x98e519[_0x3c0768(0x214)],_0x47fd5a=_0x30a270(_0x98e519,[_0x3c0768(0x19b),'id',_0x3c0768(0x119),_0x3c0768(0x214)]),_0x2a65dd=_0x3c0768(0x108)[_0x3c0768(0x17c)](_0x26b056,'\x20')[_0x3c0768(0x17c)](_0x43941a||'')[_0x3c0768(0x198)](),_0x44ec05=_0x344e63[_0x3c0768(0x192)]('_'[_0x3c0768(0x17c)](_0x5915e5()));return _0xed1f7b(_0xb9beb5,''[_0x3c0768(0x17c)](_0x26b056),{'defIds':_0xb9beb5[_0x3c0768(0x134)],'idSuffix':_0x44ec05[_0x3c0768(0x13d)]},_0x54d158({'ref':_0x382503,'className':_0x2a65dd},_0x47fd5a),_0x5af7ec);});function _0xed1f7b(_0x5de689,_0x53f3ef,_0x3e618b,_0x329454,_0xfdfe5f){var _0xedf022=_0x28b49b;return _0x344e63[_0xedf022(0xc6)](_0x5de689[_0xedf022(0x1df)],_0x54d158(_0x54d158({'key':_0x53f3ef},_0x1f334e(_0x5de689,_0x3e618b,_0xfdfe5f)),_0x329454),(_0x1d90ae(_0x5de689,_0x3e618b)[_0xedf022(0x208)]||[])[_0xedf022(0xad)](function(_0x6325fc,_0x5cb3aa){var _0x1b5d8d=_0xedf022;return _0xed1f7b(_0x6325fc,''[_0x1b5d8d(0x17c)](_0x53f3ef,'-')[_0x1b5d8d(0x17c)](_0x5de689[_0x1b5d8d(0x1df)],'-')[_0x1b5d8d(0x17c)](_0x5cb3aa),_0x3e618b,void 0x0,_0xfdfe5f);}));}function _0x1f334e(_0x3c240f,_0x11d358,_0x10ff39){var _0x361bb2=_0x28b49b,_0x38cddb=_0x54d158({},_0x3c240f['attrs']);_0x10ff39!=null&&_0x10ff39['colorChannel1']&&_0x38cddb[_0x361bb2(0x11f)]===_0x361bb2(0x1ed)&&(_0x38cddb['fill']=_0x10ff39[_0x361bb2(0x1ed)]),_0x3c240f[_0x361bb2(0x1df)]===_0x361bb2(0x1b1)&&_0x38cddb['id']&&(_0x38cddb['id']=_0x38cddb['id']+_0x11d358['idSuffix']),Object[_0x361bb2(0x102)](_0x38cddb)[_0x361bb2(0x1c6)](function(_0x3138eb){var _0x2b7db7=_0x361bb2,_0x5c5165=_0x3138eb[0x0],_0x257c8e=_0x3138eb[0x1];_0x5c5165===_0x2b7db7(0x1b1)&&typeof _0x257c8e==_0x2b7db7(0x84)&&(_0x38cddb[_0x5c5165]=_0x257c8e['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x11d358['idSuffix'],')')));});var _0x3c2340=_0x11d358['defIds'];return!_0x3c2340||_0x3c2340[_0x361bb2(0x181)]===0x0||(_0x3c240f[_0x361bb2(0x1df)]===_0x361bb2(0x177)&&_0x38cddb[_0x361bb2(0x1c4)]&&(_0x38cddb[_0x361bb2(0x1c4)]=_0x38cddb[_0x361bb2(0x1c4)]+_0x11d358[_0x361bb2(0x135)]),Object[_0x361bb2(0x102)](_0x38cddb)['forEach'](function(_0x245989){var _0x4b3dea=_0x361bb2,_0x53dd24=_0x245989[0x0],_0x3ea7b7=_0x245989[0x1];typeof _0x3ea7b7=='string'&&(_0x38cddb[_0x53dd24]=_0x3ea7b7[_0x4b3dea(0xa0)](/url\(#(.*)\)/,_0x4b3dea(0xc4)[_0x4b3dea(0x17c)](_0x11d358[_0x4b3dea(0x135)],')')));})),_0x38cddb;}function _0x1d90ae(_0x5629a4,_0x5248ac){var _0x1d04b1=_0x28b49b,_0x4d854b,_0x23ee2d=_0x5248ac[_0x1d04b1(0x134)];return!_0x23ee2d||_0x23ee2d[_0x1d04b1(0x181)]===0x0?_0x5629a4:_0x5629a4[_0x1d04b1(0x1df)]===_0x1d04b1(0x14d)&&(!((_0x4d854b=_0x5629a4[_0x1d04b1(0x208)])===null||_0x4d854b===void 0x0)&&_0x4d854b[_0x1d04b1(0x181)])?_0x54d158(_0x54d158({},_0x5629a4),{'children':_0x5629a4[_0x1d04b1(0x208)][_0x1d04b1(0xad)](function(_0x54ed94){var _0x2831f2=_0x1d04b1;return typeof _0x54ed94[_0x2831f2(0x204)]['id']==_0x2831f2(0x84)&&_0x23ee2d&&_0x23ee2d[_0x2831f2(0x98)](_0x54ed94[_0x2831f2(0x204)]['id'])?_0x54d158(_0x54d158({},_0x54ed94),{'attrs':_0x54d158(_0x54d158({},_0x54ed94[_0x2831f2(0x204)]),{'id':_0x54ed94[_0x2831f2(0x204)]['id']+_0x5248ac[_0x2831f2(0x135)]})}):_0x54ed94;})}):_0x5629a4;}function _0x5915e5(){var _0x198cd5=_0x28b49b;return Math[_0x198cd5(0x126)]()[_0x198cd5(0x97)](0x24)[_0x198cd5(0x173)](0x2,0x8);}_0x3beed0[_0x28b49b(0xe0)]=_0x28b49b(0xc1);var _0xd219d9={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28b49b(0x9e),'viewBox':_0x28b49b(0x20f),'width':_0x28b49b(0x117),'height':_0x28b49b(0x117)},'children':[{'tag':_0x28b49b(0x115),'attrs':{'fill':'currentColor','d':_0x28b49b(0x1ec),'fillRule':_0x28b49b(0x99),'clipRule':'evenodd'}}]},_0x939761=_0x344e63[_0x28b49b(0x193)](function(_0x11c7ef,_0x2434b4){var _0x4aa5d3=_0x28b49b;return _0x344e63['createElement'](_0x3beed0,Object[_0x4aa5d3(0x174)]({},_0x11c7ef,{'id':'check-mark-icon','ref':_0x2434b4,'icon':_0xd219d9}));});_0x939761['displayName']=_0x28b49b(0xaf);var _0x39ec55={'tag':_0x28b49b(0x220),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x28b49b(0xf3),'width':_0x28b49b(0x117),'height':_0x28b49b(0x117)},'children':[{'tag':_0x28b49b(0x115),'attrs':{'stroke':_0x28b49b(0x1da),'d':_0x28b49b(0x164),'strokeLinecap':_0x28b49b(0x1d9),'strokeLinejoin':_0x28b49b(0x1d9),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x28b49b(0x1da),'d':_0x28b49b(0xf6),'strokeLinecap':_0x28b49b(0x1d9),'strokeLinejoin':_0x28b49b(0x1d9),'strokeWidth':1.33}}]},_0xb77ebb=_0x344e63[_0x28b49b(0x193)](function(_0x58b715,_0x3207d){var _0x6838f1=_0x28b49b;return _0x344e63[_0x6838f1(0xc6)](_0x3beed0,Object[_0x6838f1(0x174)]({},_0x58b715,{'id':_0x6838f1(0x213),'ref':_0x3207d,'icon':_0x39ec55}));});_0xb77ebb[_0x28b49b(0xe0)]=_0x28b49b(0x8c);var _0x2cc8de={'tag':_0x28b49b(0x220),'attrs':{'xmlns':_0x28b49b(0x216),'fill':_0x28b49b(0x9e),'viewBox':_0x28b49b(0x20f),'width':_0x28b49b(0x117),'height':_0x28b49b(0x117)},'children':[{'tag':_0x28b49b(0x115),'attrs':{'fill':_0x28b49b(0x1da),'d':_0x28b49b(0x140)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x28b49b(0x1fb)}},{'tag':_0x28b49b(0x115),'attrs':{'fill':_0x28b49b(0x1da),'d':_0x28b49b(0x92),'fillRule':_0x28b49b(0x99),'clipRule':_0x28b49b(0x99)}}]},_0x1a814f=_0x344e63[_0x28b49b(0x193)](function(_0x41a008,_0x353811){var _0x45e4e9=_0x28b49b;return _0x344e63[_0x45e4e9(0xc6)](_0x3beed0,Object[_0x45e4e9(0x174)]({},_0x41a008,{'id':_0x45e4e9(0x124),'ref':_0x353811,'icon':_0x2cc8de}));});_0x1a814f['displayName']=_0x28b49b(0xc2);var _0x2e2cc0={'tag':_0x28b49b(0x220),'attrs':{'xmlns':_0x28b49b(0x216),'fill':_0x28b49b(0x9e),'viewBox':_0x28b49b(0x20f),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x28b49b(0x115),'attrs':{'stroke':_0x28b49b(0x1da),'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':_0x28b49b(0x1d9),'strokeLinejoin':_0x28b49b(0x1d9),'strokeWidth':1.2}}]},{'tag':_0x28b49b(0x14d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x28b49b(0xd7)},'children':[{'tag':'path','attrs':{'fill':_0x28b49b(0x1a0),'d':_0x28b49b(0x81)}}]}]}],'defIds':[_0x28b49b(0xd7)]},_0x2d533c=_0x344e63[_0x28b49b(0x193)](function(_0x64f89,_0x5a6d25){var _0x5ab779=_0x28b49b;return _0x344e63[_0x5ab779(0xc6)](_0x3beed0,Object[_0x5ab779(0x174)]({},_0x64f89,{'id':_0x5ab779(0xb2),'ref':_0x5a6d25,'icon':_0x2e2cc0}));});_0x2d533c[_0x28b49b(0xe0)]=_0x28b49b(0x189);var _0xe2ed32={'tag':_0x28b49b(0x220),'attrs':{'xmlns':_0x28b49b(0x216),'fill':_0x28b49b(0x9e),'viewBox':_0x28b49b(0x1fe),'width':_0x28b49b(0x117),'height':_0x28b49b(0x117)},'children':[{'tag':'g','attrs':{'clipPath':_0x28b49b(0x112)},'children':[{'tag':_0x28b49b(0x115),'attrs':{'stroke':_0x28b49b(0x1da),'d':_0x28b49b(0x11b),'strokeLinecap':_0x28b49b(0x1d9),'strokeLinejoin':_0x28b49b(0x1d9),'strokeWidth':1.2}}]},{'tag':_0x28b49b(0x14d),'attrs':{},'children':[{'tag':_0x28b49b(0x104),'attrs':{'id':_0x28b49b(0xa4)},'children':[{'tag':_0x28b49b(0x115),'attrs':{'fill':_0x28b49b(0x1a0),'d':_0x28b49b(0x81),'transform':_0x28b49b(0x17e)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0xcb0c27=_0x344e63['forwardRef'](function(_0x509441,_0x3e659c){var _0x4f8d34=_0x28b49b;return _0x344e63[_0x4f8d34(0xc6)](_0x3beed0,Object[_0x4f8d34(0x174)]({},_0x509441,{'id':_0x4f8d34(0x21c),'ref':_0x3e659c,'icon':_0xe2ed32}));});_0xcb0c27[_0x28b49b(0xe0)]='OnLineIcon';function _0x3ef060(_0x30661f){var _0x3727c7=_0x28b49b,_0x5b1c96,_0xfcabac;const {mcpCoreConfig:_0x50205a,onSave:_0x179630,loading:_0x174002=!0x1,config:_0xdcd076,connectionStatus$:_0x3187a9,connectionError$:_0x3b9424,currentApiKey$:_0x5c05ee,currentSessionId$:_0xb3e659}=_0x30661f,_0x996024=_0x5a0809[_0x3727c7(0x1a7)](_0x1438a5[_0x3727c7(0x170)]),_0x97918f=_0x5a0809[_0x3727c7(0x106)](_0x3187a9,_0x863fb3[_0x3727c7(0xe8)][_0x3727c7(0x90)]),_0x332bf1=_0x5a0809[_0x3727c7(0x106)](_0x3b9424,_0x863fb3[_0x3727c7(0x148)][_0x3727c7(0x1a2)]),_0x202b81=_0x5a0809[_0x3727c7(0x106)](_0xb3e659,''),_0x545f14=_0x5a0809['useObservable'](_0x5c05ee,''),[_0x1f55dd,_0x45e16e]=_0x344e63['useState'](_0x545f14||''),_0x1bafa5=!0x0,_0x5543b1=_0xdcd076[_0x3727c7(0x185)]&&_0x50205a['mcpServerUrl']&&(_0x50205a[_0x3727c7(0x101)][_0x3727c7(0x98)]('univer.plus')||_0x50205a['mcpServerUrl'][_0x3727c7(0x98)]('univer.ai')),_0x4e27af=(_0x5b1c96=_0x50205a[_0x3727c7(0x101)])==null?void 0x0:_0x5b1c96[_0x3727c7(0x98)](_0x3727c7(0x1d6)),_0x2d1d14=(_0xfcabac=_0x50205a[_0x3727c7(0x101)])==null?void 0x0:_0xfcabac[_0x3727c7(0x98)](_0x3727c7(0x16f)),_0xd6476=_0x4e27af?_0x3727c7(0xc8):_0x3727c7(0xb9),_0x35fcfb=_0xdcd076[_0x3727c7(0x185)]&&(_0x4e27af||_0x2d1d14),[_0x29fa79,_0x406db3]=_0x344e63[_0x3727c7(0x18f)](!_0x1f55dd[_0x3727c7(0x198)]()),_0x219a0b=(_0x46984b,_0x4d1daf)=>{var _0x298413=_0x3727c7;if(_0x4d1daf===_0x863fb3[_0x298413(0x148)][_0x298413(0xd1)])return _0x298413(0xf0);switch(_0x46984b){case _0x863fb3[_0x298413(0xe8)]['CONNECTED']:return _0x298413(0x8d);case _0x863fb3[_0x298413(0xe8)][_0x298413(0x165)]:case _0x863fb3['MCPConnectionStatus'][_0x298413(0x19e)]:return _0x298413(0x9b);case _0x863fb3[_0x298413(0xe8)][_0x298413(0x13b)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x298413(0x152);}},_0x5f2a28=(_0x5df154,_0x49a1ac)=>{var _0xb807c5=_0x3727c7;if(_0x49a1ac===_0x863fb3[_0xb807c5(0x148)]['INVALID_API_KEY'])return _0xb807c5(0x145);switch(_0x5df154){case _0x863fb3[_0xb807c5(0xe8)][_0xb807c5(0x20d)]:return _0xb807c5(0x10e);case _0x863fb3[_0xb807c5(0xe8)][_0xb807c5(0x165)]:case _0x863fb3[_0xb807c5(0xe8)][_0xb807c5(0x19e)]:return _0xb807c5(0x1e8);case _0x863fb3[_0xb807c5(0xe8)][_0xb807c5(0x13b)]:return _0xb807c5(0x145);default:return'univer-bg-gray-500';}},_0x373670=_0x3019b0=>{var _0x2dc77b=_0x3727c7;switch(_0x3019b0){case _0x863fb3[_0x2dc77b(0xe8)][_0x2dc77b(0x20d)]:return _0x996024['t'](_0x2dc77b(0x13c));case _0x863fb3['MCPConnectionStatus'][_0x2dc77b(0x165)]:return _0x996024['t'](_0x2dc77b(0x1c0));case _0x863fb3[_0x2dc77b(0xe8)][_0x2dc77b(0x13b)]:return _0x996024['t'](_0x2dc77b(0x1ee));case _0x863fb3['MCPConnectionStatus'][_0x2dc77b(0x19e)]:return _0x996024['t']('mcpConfig.connectionStatus.retrying');default:return _0x996024['t'](_0x2dc77b(0x93));}},_0xc13190=_0x2eebe0=>{var _0x34f3db=_0x3727c7;switch(_0x2eebe0){case _0x863fb3['MCPConnectionError'][_0x34f3db(0xd1)]:return _0x996024['t'](_0x34f3db(0x21f));case _0x863fb3[_0x34f3db(0x148)][_0x34f3db(0x157)]:return _0x996024['t'](_0x34f3db(0xb0));case _0x863fb3[_0x34f3db(0x148)][_0x34f3db(0x1f2)]:return _0x996024['t'](_0x34f3db(0x82));case _0x863fb3[_0x34f3db(0x148)][_0x34f3db(0xed)]:return _0x996024['t'](_0x34f3db(0x137));default:return'';}},_0x134a12=_0x344e63[_0x3727c7(0xe5)](()=>{const _0x5942f4={..._0x50205a,'apiKey':_0x1f55dd['trim'](),'enableAuth':_0x1bafa5};_0x179630(_0x5942f4);},[_0x50205a,_0x1f55dd,_0x1bafa5,_0x179630]),_0x8796a1=_0x1f55dd['trim']()[_0x3727c7(0x181)]>0x0;return _0x55f1e7['jsxs']('div',{'className':_0x3727c7(0x122),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1ca),'children':_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x11a),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':_0x3727c7(0x153),'children':_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'className':_0x3727c7(0x133),'children':'⚙'})}),_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'children':_0x55f1e7['jsx']('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x996024['t'](_0x3727c7(0x113))})})]})}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1fd),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1d1)+_0x219a0b(_0x97918f,_0x332bf1)+_0x3727c7(0xbb),'children':_0x55f1e7['jsxs'](_0x3727c7(0xa3),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x55f1e7['jsx'](_0x3727c7(0xa3),{'className':_0x3727c7(0x94)+_0x5f2a28(_0x97918f,_0x332bf1)+_0x3727c7(0xb7)}),_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'className':_0x3727c7(0x1f7),'children':_0x373670(_0x97918f)})]})}),_0x332bf1!==_0x863fb3[_0x3727c7(0x148)][_0x3727c7(0x1a2)]&&(_0x97918f===_0x863fb3[_0x3727c7(0xe8)][_0x3727c7(0x13b)]||_0x332bf1===_0x863fb3[_0x3727c7(0x148)][_0x3727c7(0xd1)])&&_0x55f1e7['jsx'](_0x3727c7(0xa3),{'className':_0x3727c7(0x197),'children':_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x120),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'className':_0x3727c7(0xa5),'children':'⚠️'}),_0x55f1e7[_0x3727c7(0x15f)]('p',{'className':_0x3727c7(0x19a),'children':_0xc13190(_0x332bf1)})]})})]}),_0x55f1e7['jsx'](_0x3727c7(0xa3),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1f4),'children':[_0x55f1e7['jsxs'](_0x3727c7(0xa3),{'className':_0x3727c7(0x1e4),'children':[_0x55f1e7['jsxs'](_0x3727c7(0xae),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x55f1e7[_0x3727c7(0x15f)]('span',{'children':'🔑'}),'\x20',_0x996024['t'](_0x3727c7(0xde)),_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'className':_0x3727c7(0x10b),'children':'*'}),_0x5543b1&&_0x55f1e7['jsx']('a',{'href':_0x3727c7(0x14a),'onClick':()=>_0x406db3(!0x0),'className':_0x3727c7(0x18a),'title':_0x996024['t']('mcpConfig.apiApplyInfo.title'),'children':_0x55f1e7[_0x3727c7(0x15f)](_0x1a814f,{})})]}),_0x55f1e7['jsx'](_0x84f7c[_0x3727c7(0x203)],{'type':'text','placeholder':_0x996024['t'](_0x3727c7(0x1aa)),'value':_0x1f55dd,'onChange':_0x45e16e,'disabled':_0x174002,'autoComplete':_0x3727c7(0xfb)}),_0x55f1e7[_0x3727c7(0x15f)]('p',{'className':_0x3727c7(0x83),'children':_0x996024['t']('mcpConfig.apiKeyHint')})]}),_0x5543b1&&_0x29fa79&&_0x55f1e7['jsxs'](_0x3727c7(0xa3),{'className':_0x3727c7(0xc7),'children':[_0x55f1e7[_0x3727c7(0x15f)]('a',{'href':_0x3727c7(0x14a),'onClick':()=>_0x406db3(!0x1),'className':_0x3727c7(0x155),'title':'Close','children':_0x55f1e7[_0x3727c7(0x15f)](_0xb77ebb,{})}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x196),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':_0x3727c7(0x21a),'children':_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'className':_0x3727c7(0x1f5),'children':'🚀'})}),_0x55f1e7['jsxs'](_0x3727c7(0xa3),{'className':_0x3727c7(0x183),'children':[_0x55f1e7[_0x3727c7(0x15f)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x996024['t']('mcpConfig.apiApplyInfo.title')}),_0x55f1e7['jsx']('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x996024['t'](_0x3727c7(0x1f8))}),_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x35fcfb&&_0x55f1e7[_0x3727c7(0x190)]('a',{'href':_0xd6476,'target':_0x3727c7(0xe4),'rel':_0x3727c7(0xf1),'className':_0x3727c7(0x175),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'children':'🤖'}),_0x996024['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x55f1e7['jsxs']('div',{'className':_0x3727c7(0x1ce),'children':['✨','\x20',_0x996024['t'](_0x3727c7(0x1c7))]})]})]})]}),_0xdcd076['showDeveloperTools']&&_0x55f1e7[_0x3727c7(0x190)]('div',{'className':_0x3727c7(0x182),'children':[_0x55f1e7[_0x3727c7(0x190)]('h4',{'className':_0x3727c7(0x11c),'children':[_0x55f1e7['jsx']('span',{'children':'🔗'}),'\x20',_0x996024['t']('mcpConfig.connectionInfo')]}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x188),'children':[_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x96),'children':[_0x55f1e7[_0x3727c7(0x15f)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x996024['t'](_0x3727c7(0x1e6))}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1e4),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x996024['t'](_0x3727c7(0x20c))}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x205),'children':[_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x15c),'children':[_0x55f1e7[_0x3727c7(0x15f)]('span',{'className':_0x3727c7(0x187),'children':'1'}),_0x996024['t'](_0x3727c7(0x16c))]}),_0x55f1e7[_0x3727c7(0x190)]('div',{'className':_0x3727c7(0x15c),'children':[_0x55f1e7['jsx'](_0x3727c7(0x1a3),{'className':_0x3727c7(0x187),'children':'2'}),_0x996024['t']('mcpConfig.configStep2')]}),_0x55f1e7[_0x3727c7(0x190)]('div',{'className':_0x3727c7(0x15c),'children':[_0x55f1e7['jsx']('span',{'className':_0x3727c7(0x187),'children':'3'}),_0x996024['t'](_0x3727c7(0xa2))]})]})]})]}),_0x55f1e7[_0x3727c7(0x190)]('div',{'className':_0x3727c7(0x1e4),'children':[_0x55f1e7[_0x3727c7(0x15f)]('div',{'className':_0x3727c7(0x18c),'children':'MCP\x20Configuration'}),_0x55f1e7['jsx'](_0x3727c7(0xa3),{'className':_0x3727c7(0x1f6),'children':_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x212),{'className':_0x3727c7(0x1e7),'children':_0x3727c7(0x18e)+_0x202b81+_0x3727c7(0xbf)+(_0x1f55dd||_0x3727c7(0xfa))+_0x3727c7(0x110)})})]}),_0x55f1e7['jsxs'](_0x3727c7(0xa3),{'className':_0x3727c7(0x96),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':_0x3727c7(0x18c),'children':_0x996024['t'](_0x3727c7(0xd0))}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1e4),'children':[_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1e5),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x55f1e7['jsxs']('div',{'className':_0x3727c7(0x1a5),'children':[_0x55f1e7['jsx'](_0x3727c7(0xa3),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x3727c7(0x1cf)}),_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':_0x3727c7(0x83),'children':_0x996024['t'](_0x3727c7(0x1e1))})]})]}),_0x55f1e7['jsxs'](_0x3727c7(0xa3),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x55f1e7['jsx'](_0x3727c7(0xa3),{'className':_0x3727c7(0x16d)}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1a5),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':_0x3727c7(0x1f9),'children':'Authorization:'}),_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':_0x3727c7(0x83),'children':_0x996024['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x55f1e7[_0x3727c7(0x15f)](_0x84f7c[_0x3727c7(0x1dd)],{'onClick':_0x134a12,'disabled':!_0x8796a1||_0x174002,'className':_0x3727c7(0xec),'children':_0x174002?_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0x1a3),{'className':_0x3727c7(0x15c),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'children':'⟲'}),_0x996024['t'](_0x3727c7(0x1b3))]}):_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0x1a3),{'className':_0x3727c7(0x15c),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x939761,{}),_0x996024['t']('mcpConfig.save')]})}),_0x55f1e7[_0x3727c7(0x15f)]('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x55f1e7[_0x3727c7(0x190)]('div',{'className':'univer-flex\x20univer-gap-3','children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0x1a3),{'className':_0x3727c7(0x172),'children':'💡'}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'className':_0x3727c7(0x85),'children':[_0x55f1e7[_0x3727c7(0x15f)](_0x3727c7(0xa3),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x55f1e7[_0x3727c7(0x190)](_0x3727c7(0xa3),{'children':['•',_0x996024['t'](_0x3727c7(0xd5))]}),_0x55f1e7['jsxs'](_0x3727c7(0xa3),{'children':['•',_0x996024['t'](_0x3727c7(0x16a))]})]})]})})]})})]});}const _0x43b6ae=_0x28b49b(0x1bd),_0x23b546={'showDeveloperTools':!0x1};var _0x99477=Object['getOwnPropertyDescriptor'],_0x2a0365=(_0x25b159,_0x158453,_0x1d2b75,_0x3834fa)=>{var _0x1ac3f0=_0x28b49b;for(var _0x44ce07=_0x3834fa>0x1?void 0x0:_0x3834fa?_0x99477(_0x158453,_0x1d2b75):_0x158453,_0x5e50f2=_0x25b159[_0x1ac3f0(0x181)]-0x1,_0x3cc55e;_0x5e50f2>=0x0;_0x5e50f2--)(_0x3cc55e=_0x25b159[_0x5e50f2])&&(_0x44ce07=_0x3cc55e(_0x44ce07)||_0x44ce07);return _0x44ce07;},_0x252705=(_0x14e03d,_0x50645a)=>(_0x1d4e56,_0x2c5ee5)=>_0x50645a(_0x1d4e56,_0x2c5ee5,_0x14e03d);const _0x50f041='mcp.apiKey',_0x57dd46=_0x28b49b(0xd4);_0x599192[_0x28b49b(0x199)]=class extends _0x1438a5[_0x28b49b(0x149)]{constructor(_0x5d1249,_0x3e1ebf,_0x134629,_0x1e939f,_0x42272f,_0x4322c0,_0x18fe34,_0x1426d9,_0x1945f2,_0x5ae023){var _0x9499c3=_0x28b49b;super(),_0x3a5443(this,_0x9499c3(0x147),new _0x3d33ea[(_0x9499c3(0x150))](!0x1)),_0x3a5443(this,_0x9499c3(0x21e),new _0x3d33ea[(_0x9499c3(0x150))]({})),_0x3a5443(this,_0x9499c3(0x217),new _0x3d33ea['BehaviorSubject']({})),_0x3a5443(this,'_apiKey$',new _0x3d33ea[(_0x9499c3(0x150))]('')),_0x3a5443(this,_0x9499c3(0x166),async _0x1ae982=>{var _0x6e83c1=_0x9499c3,_0x182a6f,_0x2795c5;this[_0x6e83c1(0x147)][_0x6e83c1(0x1e0)](!0x0);try{const _0x22e453=await this[_0x6e83c1(0x161)](_0x1ae982);if(!_0x22e453['isValid']){this[_0x6e83c1(0xd9)]['show']({'type':_0x84f7c[_0x6e83c1(0x123)]['Error'],'content':_0x22e453[_0x6e83c1(0x89)]||this[_0x6e83c1(0x1a1)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x1ae982['apiKey']?await this[_0x6e83c1(0x1e9)][_0x6e83c1(0xb1)](_0x50f041,_0x1ae982['apiKey']['trim']()):await this[_0x6e83c1(0x1e9)]['removeItem'](_0x50f041),this[_0x6e83c1(0x1ea)][_0x6e83c1(0x1e0)](((_0x182a6f=_0x1ae982[_0x6e83c1(0xbe)])==null?void 0x0:_0x182a6f[_0x6e83c1(0x198)]())||''),this[_0x6e83c1(0xdf)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x2795c5=_0x1ae982[_0x6e83c1(0xbe)])==null?void 0x0:_0x2795c5[_0x6e83c1(0x198)]())}),this[_0x6e83c1(0xd9)][_0x6e83c1(0x10f)]({'type':_0x84f7c[_0x6e83c1(0x123)][_0x6e83c1(0x16b)],'content':this[_0x6e83c1(0x1a1)]['t'](_0x6e83c1(0x151))}),setTimeout(()=>{var _0x59a1ff=_0x6e83c1;this[_0x59a1ff(0x207)][_0x59a1ff(0x14e)](_0x57dd46);},0x320);}catch(_0x38f00e){this['_logService'][_0x6e83c1(0xb4)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x38f00e),this['_messageService']['show']({'type':_0x84f7c[_0x6e83c1(0x123)][_0x6e83c1(0x191)],'content':this[_0x6e83c1(0x1a1)]['t'](_0x6e83c1(0x1b6))});}finally{this[_0x6e83c1(0x147)][_0x6e83c1(0x1e0)](!0x1);}}),(this[_0x9499c3(0x95)]=_0x5d1249,this[_0x9499c3(0x1c5)]=_0x3e1ebf,this[_0x9499c3(0xac)]=_0x134629,this[_0x9499c3(0x1e9)]=_0x1e939f,this[_0x9499c3(0x207)]=_0x42272f,this['_messageService']=_0x4322c0,this[_0x9499c3(0x218)]=_0x18fe34,this[_0x9499c3(0x1a1)]=_0x1426d9,this[_0x9499c3(0x171)]=_0x1945f2,this[_0x9499c3(0xdf)]=_0x5ae023,this['_initConfigSync'](),this[_0x9499c3(0x1e3)](),this[_0x9499c3(0x211)]());}[_0x28b49b(0x18d)](){var _0x19138d=_0x28b49b;this[_0x19138d(0x207)]['open']({'id':_0x57dd46,'title':{'title':this[_0x19138d(0x1a1)]['t'](_0x19138d(0x12c))},'children':{'label':_0x19138d(0x17a)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x1183a0=_0x19138d;this[_0x1183a0(0x207)][_0x1183a0(0x14e)](_0x57dd46);}});}['getCurrentConfig'](){var _0x2693be=_0x28b49b;return this[_0x2693be(0x21e)][_0x2693be(0xf5)];}[_0x28b49b(0x211)](){var _0x10f053=_0x28b49b;this[_0x10f053(0xc9)](this['_componentManager'][_0x10f053(0x142)](_0x10f053(0x17a),this[_0x10f053(0x114)]()));}[_0x28b49b(0x114)](){var _0x4be0ae=_0x28b49b;return _0x5a0809[_0x4be0ae(0xdd)](()=>{var _0x3633c5=_0x4be0ae,_0x3edca3,_0x3da86e,_0x319800;return _0x55f1e7['jsx'](_0x3ef060,{'config':this[_0x3633c5(0x217)][_0x3633c5(0xf5)],'mcpCoreConfig':this[_0x3633c5(0x21e)][_0x3633c5(0xf5)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x3633c5(0x166)],'loading':this[_0x3633c5(0x147)][_0x3633c5(0xf5)],'connectionStatus$':(_0x3edca3=this[_0x3633c5(0xdf)])==null?void 0x0:_0x3edca3[_0x3633c5(0x1ae)],'connectionError$':(_0x3da86e=this[_0x3633c5(0xdf)])==null?void 0x0:_0x3da86e[_0x3633c5(0x178)],'currentSessionId$':(_0x319800=this[_0x3633c5(0xdf)])==null?void 0x0:_0x319800[_0x3633c5(0x210)]});},this[_0x4be0ae(0x95)]);}['_initConfigSync'](){var _0x5e2978=_0x28b49b;this[_0x5e2978(0xc9)](this[_0x5e2978(0xac)][_0x5e2978(0xda)](_0x863fb3[_0x5e2978(0x156)])[_0x5e2978(0x158)](_0x1416b4=>{var _0x3d4d7c=_0x5e2978;this['_mcpCoreConfig$'][_0x3d4d7c(0x1e0)](_0x1416b4||{});}));const _0x38817b=this[_0x5e2978(0xac)][_0x5e2978(0x1fc)](_0x863fb3['MCP_PLUGIN_CONFIG_KEY']);this[_0x5e2978(0x21e)]['next'](_0x38817b||{}),this['disposeWithMe'](this[_0x5e2978(0xac)][_0x5e2978(0xda)](_0x43b6ae)[_0x5e2978(0x158)](_0x1b9aa2=>{var _0x3a5c85=_0x5e2978;this['_config$'][_0x3a5c85(0x1e0)](_0x1b9aa2||{});}));const _0x56e599=this[_0x5e2978(0xac)][_0x5e2978(0x1fc)](_0x43b6ae);this[_0x5e2978(0x217)][_0x5e2978(0x1e0)](_0x56e599||{});}async[_0x28b49b(0x1e3)](){var _0x352275=_0x28b49b;const _0x29de02=await this[_0x352275(0x1e9)]['getItem'](_0x50f041);_0x29de02&&(this[_0x352275(0xdf)][_0x352275(0xf8)]({'Authorization':'Bearer\x20'+_0x29de02}),this['_apiKey$'][_0x352275(0x1e0)](_0x29de02));}async[_0x28b49b(0x161)](_0x5e0092){var _0x478b8f=_0x28b49b;if(!_0x5e0092[_0x478b8f(0xbe)]||_0x5e0092['apiKey'][_0x478b8f(0x198)]()[_0x478b8f(0x181)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x478b8f(0x1a1)]['t'](_0x478b8f(0x14f))};if(_0x5e0092[_0x478b8f(0xbe)][_0x478b8f(0x198)]()[_0x478b8f(0x181)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x478b8f(0x1d8))};try{const _0xe1ad78=await this['_injector']['get'](_0x863fb3[_0x478b8f(0x13a)])[_0x478b8f(0x1c3)](_0x5e0092['apiKey'][_0x478b8f(0x198)]());return _0xe1ad78[_0x478b8f(0x17d)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0xe1ad78[_0x478b8f(0xb4)]||this[_0x478b8f(0x1a1)]['t'](_0x478b8f(0xe9))};}catch(_0x3604ed){return console[_0x478b8f(0x1ab)](_0x478b8f(0x17b),_0x3604ed),{'isValid':!0x0};}}},_0x599192['MCPConfigUIController']=_0x2a0365([_0x252705(0x0,_0x1438a5[_0x28b49b(0xba)](_0x1438a5['Injector'])),_0x252705(0x1,_0x5a0809[_0x28b49b(0x1cb)]),_0x252705(0x2,_0x1438a5[_0x28b49b(0x1de)]),_0x252705(0x3,_0x1438a5['ILocalStorageService']),_0x252705(0x4,_0x5a0809['IDialogService']),_0x252705(0x5,_0x5a0809[_0x28b49b(0xb8)]),_0x252705(0x6,_0x1438a5[_0x28b49b(0xba)](_0x5a0809[_0x28b49b(0xaa)])),_0x252705(0x7,_0x1438a5[_0x28b49b(0xba)](_0x1438a5[_0x28b49b(0x170)])),_0x252705(0x8,_0x1438a5[_0x28b49b(0x160)]),_0x252705(0x9,_0x1438a5[_0x28b49b(0xba)](_0x863fb3[_0x28b49b(0x13a)]))],_0x599192[_0x28b49b(0x199)]);const _0x3281c4={'id':'mcp-ui.command.openConfigPanel','type':_0x1438a5[_0x28b49b(0x163)][_0x28b49b(0xc0)],'handler':async(_0x496ef6,_0xa7c5e6)=>(_0x496ef6[_0x28b49b(0x87)](_0x599192['MCPConfigUIController'])[_0x28b49b(0x18d)](),!0x0)};function _0x553dc9(_0x8c23f8,_0x59e8ab){var _0x3d7483=_0x28b49b;switch(_0x8c23f8){case _0x863fb3['MCPConnectionStatus']['DISCONNECTED']:return _0x3d7483(0x215);case _0x863fb3[_0x3d7483(0xe8)]['CONNECTING']:return _0x3d7483(0x1a8);case _0x863fb3['MCPConnectionStatus'][_0x3d7483(0x20d)]:return _0x3d7483(0x159);case _0x863fb3['MCPConnectionStatus']['FAILED']:switch(_0x59e8ab){case _0x863fb3[_0x3d7483(0x148)][_0x3d7483(0xd1)]:return _0x3d7483(0x1bc);case _0x863fb3[_0x3d7483(0x148)]['SESSION_ID_OCCUPIED']:return _0x3d7483(0x138);case _0x863fb3[_0x3d7483(0x148)][_0x3d7483(0x1f2)]:return _0x3d7483(0x109);case _0x863fb3[_0x3d7483(0x148)]['MAX_RETRIES_EXCEEDED']:return _0x3d7483(0x19c);default:return'mcpStatus.failed';}case _0x863fb3['MCPConnectionStatus'][_0x3d7483(0x19e)]:return _0x3d7483(0xb6);default:return'mcpStatus.unknown';}}function _0x22ffa4(_0xfcdb61,_0x239d52,_0x14185e){var _0x52baf6=_0x28b49b;const _0x52bdb1=_0x553dc9(_0xfcdb61,_0x239d52),_0x5ad3e7=_0x14185e['t'](_0x52bdb1);return _0xfcdb61===_0x863fb3[_0x52baf6(0xe8)]['DISCONNECTED']&&_0x239d52===_0x863fb3['MCPConnectionError']['INVALID_API_KEY']?_0x5ad3e7+'\x20-\x20'+_0x14185e['t'](_0x52baf6(0x1d0)):_0xfcdb61===_0x863fb3['MCPConnectionStatus'][_0x52baf6(0x20d)]?''+_0x5ad3e7:_0xfcdb61===_0x863fb3[_0x52baf6(0xe8)]['DISCONNECTED']||_0xfcdb61===_0x863fb3[_0x52baf6(0xe8)][_0x52baf6(0x13b)]?_0x5ad3e7+'\x20-\x20'+_0x14185e['t'](_0x52baf6(0x162)):_0x5ad3e7;}function _0x295337(_0x2e058a){var _0x282127=_0x28b49b;switch(_0x2e058a){case _0x863fb3[_0x282127(0xe8)][_0x282127(0x20d)]:return'univer-text-green-500';case _0x863fb3['MCPConnectionStatus']['CONNECTING']:case _0x863fb3[_0x282127(0xe8)][_0x282127(0x19e)]:return _0x282127(0xd3);case _0x863fb3[_0x282127(0xe8)][_0x282127(0x13b)]:case _0x863fb3[_0x282127(0xe8)][_0x282127(0x90)]:return _0x282127(0x10b);default:return _0x282127(0x1d5);}}function _0x3b6eb8(_0x1726f9){var _0x34345c=_0x28b49b;const {status$:_0x1282ec,error$:_0xb3078b,onConfigure:_0x462ea8}=_0x1726f9,_0xb53c5b=_0x5a0809[_0x34345c(0x106)](_0x1282ec,_0x863fb3[_0x34345c(0xe8)][_0x34345c(0x90)]),_0x340549=_0x5a0809[_0x34345c(0x106)](_0xb3078b,_0x863fb3[_0x34345c(0x148)]['NONE']),_0x190a97=_0x5a0809[_0x34345c(0x1a7)](_0x1438a5[_0x34345c(0x170)]),_0x20f0ba=_0xb53c5b===_0x863fb3[_0x34345c(0xe8)][_0x34345c(0x20d)],_0xa56003=_0xb53c5b===_0x863fb3['MCPConnectionStatus'][_0x34345c(0x165)]||_0xb53c5b===_0x863fb3[_0x34345c(0xe8)][_0x34345c(0x19e)],_0x5e5ae9=_0x190a97['t'](_0x553dc9(_0xb53c5b,_0x340549)),_0x235e50=_0x22ffa4(_0xb53c5b,_0x340549,_0x190a97),_0x44fbd4=_0x295337(_0xb53c5b),_0x529b28=_0x20f0ba?_0x55f1e7[_0x34345c(0x15f)](_0xcb0c27,{}):_0x55f1e7[_0x34345c(0x15f)](_0x2d533c,{}),_0x4ee244=_0x344e63[_0x34345c(0xe5)](()=>{_0x462ea8&&_0x462ea8();},[_0x20f0ba,_0xa56003,_0x462ea8]);function _0x99c58(){var _0x57e304=_0x34345c;return _0x55f1e7['jsxs'](_0x57e304(0xa3),{'className':_0x84f7c[_0x57e304(0x19d)](_0x57e304(0x1bf),_0x462ea8&&_0x57e304(0xe2)),'onClick':_0x462ea8?_0x4ee244:void 0x0,'children':[_0x55f1e7[_0x57e304(0x15f)](_0x57e304(0xa3),{'className':_0x84f7c[_0x57e304(0x19d)](_0x57e304(0x17f),_0x44fbd4),'children':_0x529b28}),_0x55f1e7[_0x57e304(0x15f)](_0x57e304(0xa3),{'className':_0x57e304(0x1d4),'children':_0x5e5ae9})]});}return _0x55f1e7['jsx'](_0x84f7c[_0x34345c(0x20b)],{'title':_0x235e50,'placement':_0x34345c(0xa8),'children':_0x99c58()});}var _0xbfef60=Object[_0x28b49b(0x12f)],_0x574b4c=(_0x2f7241,_0x39fe04,_0x13b47c,_0x2ae0c4)=>{var _0x4c88fa=_0x28b49b;for(var _0x51cf6c=_0x2ae0c4>0x1?void 0x0:_0x2ae0c4?_0xbfef60(_0x39fe04,_0x13b47c):_0x39fe04,_0x165e0a=_0x2f7241[_0x4c88fa(0x181)]-0x1,_0x4bf9c5;_0x165e0a>=0x0;_0x165e0a--)(_0x4bf9c5=_0x2f7241[_0x165e0a])&&(_0x51cf6c=_0x4bf9c5(_0x51cf6c)||_0x51cf6c);return _0x51cf6c;},_0x22dc84=(_0x4f6066,_0x248d42)=>(_0x3a2bbc,_0x41ac18)=>_0x248d42(_0x3a2bbc,_0x41ac18,_0x4f6066);_0x599192[_0x28b49b(0x13f)]=class extends _0x1438a5[_0x28b49b(0x149)]{constructor(_0x2adfb9,_0x4ba7b4,_0x2c0863){var _0x2804cd=_0x28b49b;super(),this[_0x2804cd(0x95)]=_0x2adfb9,this[_0x2804cd(0xfc)]=_0x4ba7b4,this[_0x2804cd(0x1c5)]=_0x2c0863,this[_0x2804cd(0xfc)][_0x2804cd(0x128)]=!0x1,this['_initStatusComponent']();}['_initStatusComponent'](){var _0x23a32e=_0x28b49b;this[_0x23a32e(0xc9)](this[_0x23a32e(0x1c5)][_0x23a32e(0x1f0)](_0x5a0809[_0x23a32e(0x209)][_0x23a32e(0x206)],()=>_0x5a0809[_0x23a32e(0xdd)](_0x48be1e({'status$':this[_0x23a32e(0xfc)]['connectionStatus$'],'error$':this[_0x23a32e(0xfc)]['connectionError$'],'onConfigure':()=>this[_0x23a32e(0x1a9)]()}),this['_injector'])));}[_0x28b49b(0x1a9)](){var _0x1ee868=_0x28b49b;this[_0x1ee868(0x95)][_0x1ee868(0x87)](_0x599192[_0x1ee868(0x199)])[_0x1ee868(0x18d)]();}},_0x599192[_0x28b49b(0x13f)]=_0x574b4c([_0x22dc84(0x0,_0x1438a5['Inject'](_0x1438a5[_0x28b49b(0x167)])),_0x22dc84(0x1,_0x1438a5[_0x28b49b(0xba)](_0x863fb3[_0x28b49b(0x13a)])),_0x22dc84(0x2,_0x5a0809[_0x28b49b(0x1cb)])],_0x599192[_0x28b49b(0x13f)]);function _0x48be1e(_0x213f5c){const {status$:_0x498fa0,error$:_0x370a89,onConfigure:_0x11e278}=_0x213f5c;return function(){var _0x15fb84=_0x488a;return _0x55f1e7[_0x15fb84(0x15f)](_0x3b6eb8,{'status$':_0x498fa0,'error$':_0x370a89,'onConfigure':_0x11e278});};}function _0x3993f9(_0x29a10d){var _0x5c2935=_0x28b49b;return{'id':_0x3281c4['id'],'type':_0x5a0809[_0x5c2935(0x144)]['BUTTON'],'icon':_0x5c2935(0x12b),'title':'mcpConfig.title','tooltip':_0x5c2935(0x12c)};}const _0x2f89ec={[_0x5a0809[_0x28b49b(0xeb)][_0x28b49b(0x1b2)]]:{[_0x3281c4['id']]:{'order':0xa,'menuItemFactory':_0x3993f9}}};var _0x6ea844=Object[_0x28b49b(0x12f)],_0x22a5fc=(_0x287bad,_0x2bc185,_0x1c0e8e,_0x168b70)=>{var _0x38ba19=_0x28b49b;for(var _0x208190=_0x168b70>0x1?void 0x0:_0x168b70?_0x6ea844(_0x2bc185,_0x1c0e8e):_0x2bc185,_0x352410=_0x287bad[_0x38ba19(0x181)]-0x1,_0x5dde9d;_0x352410>=0x0;_0x352410--)(_0x5dde9d=_0x287bad[_0x352410])&&(_0x208190=_0x5dde9d(_0x208190)||_0x208190);return _0x208190;},_0xdc8547=(_0x488ce2,_0x4fb2b6)=>(_0x1d0add,_0x17e59e)=>_0x4fb2b6(_0x1d0add,_0x17e59e,_0x488ce2);_0x599192[_0x28b49b(0x1f1)]=class extends _0x1438a5[_0x28b49b(0x149)]{constructor(_0x3b4291,_0xf0f167){var _0x230731=_0x28b49b;super(),this[_0x230731(0x1af)]=_0x3b4291,this['_menuManagerService']=_0xf0f167,this[_0x230731(0xb3)](),this[_0x230731(0x1b7)]();}[_0x28b49b(0xb3)](){var _0x9e1153=_0x28b49b;[_0x3281c4][_0x9e1153(0x1c6)](_0x4dda7d=>{var _0x23425f=_0x9e1153;this[_0x23425f(0xc9)](this[_0x23425f(0x1af)]['registerCommand'](_0x4dda7d));});}[_0x28b49b(0x1b7)](){var _0x414d5f=_0x28b49b;this['_menuManagerService'][_0x414d5f(0x136)](_0x2f89ec);}},_0x599192[_0x28b49b(0x1f1)]=_0x22a5fc([_0xdc8547(0x0,_0x1438a5[_0x28b49b(0x1a6)]),_0xdc8547(0x1,_0x5a0809[_0x28b49b(0x1eb)])],_0x599192['MCPUIMenuController']);const _0x1ef081={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x28b49b(0xa1),'connected':'MCP\x20Connected','failed':_0x28b49b(0x8f),'retrying':_0x28b49b(0x103),'unknown':_0x28b49b(0x1ad),'missingApiKey':_0x28b49b(0xd6),'invalidApiKey':_0x28b49b(0x1b0),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x28b49b(0x1cc),'maxRetriesExceeded':_0x28b49b(0x1db),'clickToConnect':_0x28b49b(0x12a),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x28b49b(0x1b5),'description':_0x28b49b(0x88),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x28b49b(0x86),'enableAuth':_0x28b49b(0x15b),'enableAuthHint':_0x28b49b(0x1e2),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x28b49b(0x1f3),'configInstructions':_0x28b49b(0x1be),'configStepTitle':_0x28b49b(0x1c9),'configStep1':_0x28b49b(0x130),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x28b49b(0xcd),'sessionId':_0x28b49b(0x127),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x28b49b(0x179),'configParameters':_0x28b49b(0x107),'maxRetries':_0x28b49b(0x11d),'save':_0x28b49b(0xf9),'saving':_0x28b49b(0x184),'note1':_0x28b49b(0xc3),'note2':_0x28b49b(0x105),'configSaved':_0x28b49b(0x1ac),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x28b49b(0xa9),'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':_0x28b49b(0xcf),'getStarted':_0x28b49b(0xcb)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x28b49b(0xea)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x28b49b(0xab),'connected':'Connected','failed':_0x28b49b(0x1ef),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x28b49b(0x1b8),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x28b49b(0xce),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x34af8a={'mcpStatus':{'disconnected':_0x28b49b(0x1ba),'connecting':_0x28b49b(0x10c),'connected':'MCP\x20已连接','failed':_0x28b49b(0x169),'retrying':'MCP\x20重连中...','unknown':_0x28b49b(0x12d),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x28b49b(0x132),'sessionOccupied':_0x28b49b(0x131),'networkError':_0x28b49b(0xf2),'maxRetriesExceeded':_0x28b49b(0x1cd),'clickToConnect':_0x28b49b(0x1d3),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x28b49b(0x1bb),'description':_0x28b49b(0xe7),'apiKey':_0x28b49b(0xf4),'apiKeyPlaceholder':_0x28b49b(0x194),'apiKeyHint':_0x28b49b(0x9a),'enableAuth':_0x28b49b(0x18b),'enableAuthHint':_0x28b49b(0x14b),'connectionInfo':_0x28b49b(0x13e),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x28b49b(0xee),'configStepTitle':_0x28b49b(0x116),'configStep1':_0x28b49b(0x1a4),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x28b49b(0x146),'sessionId':_0x28b49b(0x8a),'sessionIdDescription':_0x28b49b(0x201),'authorizationDescription':_0x28b49b(0x8b),'configParameters':'配置参数:','maxRetries':_0x28b49b(0xd8),'save':'保存配置','saving':_0x28b49b(0x10a),'note1':_0x28b49b(0x141),'note2':_0x28b49b(0xc5),'configSaved':_0x28b49b(0x1c8),'configError':_0x28b49b(0x12e),'apiApplyInfo':{'title':_0x28b49b(0x15e),'description':_0x28b49b(0x202),'univerAiLabel':_0x28b49b(0x1b4),'getStarted':_0x28b49b(0x180)},'validation':{'apiKeyRequired':_0x28b49b(0xef),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x28b49b(0x1ff),'invalidApiKey':_0x28b49b(0xcc)},'connectionStatus':{'disconnected':_0x28b49b(0x1fa),'connecting':_0x28b49b(0xa6),'connected':_0x28b49b(0x19f),'failed':'连接失败','retrying':_0x28b49b(0xfd)},'connectionError':{'missingApiKey':_0x28b49b(0xdc),'invalidApiKey':_0x28b49b(0x139),'sessionOccupied':_0x28b49b(0x176),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x744c04=Object[_0x28b49b(0x1d2)],_0x410588=Object[_0x28b49b(0x12f)],_0x49fdb6=(_0x48a62e,_0x470af3,_0x47ddf8)=>_0x470af3 in _0x48a62e?_0x744c04(_0x48a62e,_0x470af3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47ddf8}):_0x48a62e[_0x470af3]=_0x47ddf8,_0x5e1a2b=(_0x3939b1,_0x118027,_0x1a4633,_0x14b654)=>{var _0x52d307=_0x28b49b;for(var _0x369588=_0x14b654>0x1?void 0x0:_0x14b654?_0x410588(_0x118027,_0x1a4633):_0x118027,_0x149167=_0x3939b1[_0x52d307(0x181)]-0x1,_0x1f0e6a;_0x149167>=0x0;_0x149167--)(_0x1f0e6a=_0x3939b1[_0x149167])&&(_0x369588=_0x1f0e6a(_0x369588)||_0x369588);return _0x369588;},_0x459a68=(_0x35425c,_0x3741c4)=>(_0x369161,_0x1dea30)=>_0x3741c4(_0x369161,_0x1dea30,_0x35425c),_0x177474=(_0x3a4dda,_0x41d9bf,_0x491569)=>_0x49fdb6(_0x3a4dda,_0x41d9bf+'',_0x491569);_0x599192['UniverMCPUIPlugin']=class extends _0x1438a5[_0x28b49b(0x121)]{constructor(_0x384033=_0x23b546,_0x13e75f,_0x367f45,_0x29ff53,_0x17aedd,_0x144dcf){var _0x3e4a15=_0x28b49b;super(),this[_0x3e4a15(0x16e)]=_0x384033,this[_0x3e4a15(0x95)]=_0x13e75f,this[_0x3e4a15(0xac)]=_0x367f45,this[_0x3e4a15(0x1c5)]=_0x29ff53,this['_localStorageService']=_0x17aedd,this[_0x3e4a15(0x1a1)]=_0x144dcf;const {..._0x113dc3}=_0x1438a5[_0x3e4a15(0x20a)]({},_0x23b546,this['_config']);this[_0x3e4a15(0xac)][_0x3e4a15(0xbd)](_0x43b6ae,_0x113dc3);}async[_0x28b49b(0x14c)](){var _0x583f58=_0x28b49b;const _0x33ccc4=[[_0x599192[_0x583f58(0x13f)]],[_0x599192['MCPConfigUIController']],[_0x599192['MCPUIMenuController']]];this['_injector'][_0x583f58(0x8e)](_0x2a568f[_0x583f58(0xff)])||_0x33ccc4[_0x583f58(0x10d)]([_0x2a568f[_0x583f58(0xff)],{'useClass':_0x2a568f[_0x583f58(0x129)]}]),_0x33ccc4[_0x583f58(0x1c6)](_0x2e4722=>this[_0x583f58(0x95)][_0x583f58(0x91)](_0x2e4722)),this['_injector'][_0x583f58(0x87)](_0x599192[_0x583f58(0x13f)]),this[_0x583f58(0x95)][_0x583f58(0x87)](_0x599192[_0x583f58(0x199)]),this[_0x583f58(0x95)][_0x583f58(0x87)](_0x599192[_0x583f58(0x1f1)]);}},_0x177474(_0x599192[_0x28b49b(0x1c1)],'pluginName','MCP_UI_PLUGIN'),_0x599192[_0x28b49b(0x1c1)]=_0x5e1a2b([_0x1438a5[_0x28b49b(0xca)](_0x863fb3['UniverMCPPlugin']),_0x459a68(0x1,_0x1438a5[_0x28b49b(0xba)](_0x1438a5[_0x28b49b(0x167)])),_0x459a68(0x2,_0x1438a5[_0x28b49b(0x1de)]),_0x459a68(0x3,_0x5a0809[_0x28b49b(0x1cb)]),_0x459a68(0x4,_0x1438a5[_0x28b49b(0x21b)]),_0x459a68(0x5,_0x1438a5[_0x28b49b(0xba)](_0x1438a5[_0x28b49b(0x170)]))],_0x599192[_0x28b49b(0x1c1)]),_0x599192[_0x28b49b(0x17a)]=_0x3ef060,_0x599192[_0x28b49b(0xdb)]=_0x3b6eb8,_0x599192[_0x28b49b(0x143)]=_0x3281c4,_0x599192[_0x28b49b(0xb5)]=_0x1ef081,_0x599192[_0x28b49b(0xe6)]=_0x34af8a,Object[_0x28b49b(0x1d2)](_0x599192,Symbol[_0x28b49b(0x100)],{'value':'Module'});}));function _0x488a(_0x34c648,_0x1bfdca){var _0x5c40b7=_0x5c40();return _0x488a=function(_0x488a55,_0x1363c9){_0x488a55=_0x488a55-0x81;var _0x29375c=_0x5c40b7[_0x488a55];return _0x29375c;},_0x488a(_0x34c648,_0x1bfdca);}function _0x5c40(){var _0x50e100=['current','MCP\x20客户端配置','MCPConnectionUIController','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','配置更改将立即生效','register','OpenMCPConfigPanelCommand','MenuItemType','univer-bg-red-500','重启您的\x20MCP\x20客户端以使配置生效','_loading$','MCPConnectionError','Disposable','javascript:void(0)','启用身份验证以获得安全连接','onStarting','defs','close','mcpConfig.validation.apiKeyRequired','BehaviorSubject','mcpConfig.configSaved','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','exports','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','MCP_PLUGIN_CONFIG_KEY','SESSION_ID_OCCUPIED','subscribe','mcpStatus.connected','amd','Enable\x20Authentication','univer-flex\x20univer-items-center\x20univer-gap-2','@univerjs/core','什么是\x20API\x20密钥?','jsx','ILogService','_validateConfig','mcpStatus.clickToConnect','CommandType','M5.21243\x205.62036L11.8791\x2012.287','CONNECTING','_handleConfigSave','Injector','45552XdCBPQ','MCP\x20连接失败','mcpConfig.note2','Success','mcpConfig.configStep1','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_config','univer.ai','LocaleService','_logService','univer-flex-shrink-0\x20univer-text-blue-500','substring','assign','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','会话当前被占用,请稍后再试','use','connectionError$','API\x20key\x20with\x20Bearer\x20prefix.','MCPConfigPanel','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','concat','isValid','translate(.97)','univer-mr-2\x20univer-flex\x20univer-text-xl','几秒钟内获取您的\x20API\x20密钥','length','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-flex-1','Saving...','showDeveloperTools','UniverCore','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-space-y-4','OffLineIcon','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-text-xs\x20univer-font-medium\x20univer-text-gray-700','showConfigPanel','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','useState','jsxs','Error','useRef','forwardRef','请输入您的\x20API\x20密钥','UniverUi','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','trim','MCPConfigUIController','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','icon','mcpStatus.maxRetriesExceeded','clsx','RETRYING','已连接','white','_localeService','NONE','span','复制以下\x20JSON\x20配置','univer-min-w-0\x20univer-flex-1','ICommandService','useDependency','mcpStatus.connecting','_handleConfigure','mcpConfig.apiKeyPlaceholder','warn','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','connectionStatus$','_commandService','MCP:\x20Invalid\x20API\x20Key','mask','OTHERS','mcpConfig.saving','Univer\x20AI\x20控制台','MCP\x20Configuration','mcpConfig.configError','_initializeMenus','API\x20key\x20is\x20required\x20to\x20connect','propertyIsEnumerable','MCP\x20已断开','MCP\x20配置','mcpStatus.invalidApiKey','mcp-ui.config','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-flex\x20univer-cursor-pointer\x20univer-items-center','mcpConfig.connectionStatus.connecting','UniverMCPUIPlugin','134340oBYoMW','validateApiKey','xlink:href','_uiPartsService','forEach','mcpConfig.apiApplyInfo.getStarted','配置保存成功','Configuration\x20Steps:','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','IUIPartsService','MCP:\x20Network\x20Error','MCP:\x20超出最大重试次数','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer_session_id:','mcpStatus.clickToConfigure','\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','defineProperty','点击连接\x20MCP','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-text-gray-500','univer.plus','@univerjs/network','mcpConfig.validation.apiKeyTooShort','round','currentColor','MCP:\x20Max\x20Retries\x20Exceeded','@univerjs/design','Button','IConfigService','tag','next','mcpConfig.sessionIdDescription','Enable\x20authentication\x20for\x20secure\x20connections','_loadStoredApiKey','univer-space-y-2','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.configInstructions','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-bg-blue-500','_localStorageService','_apiKey$','IMenuManagerService','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','colorChannel1','mcpConfig.connectionStatus.failed','Connection\x20Failed','registerComponent','MCPUIMenuController','NETWORK_ERROR','MCP\x20Client\x20Configuration','univer-space-y-5','univer-text-blue-600','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-text-sm\x20univer-font-medium','mcpConfig.apiApplyInfo.description','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','未连接','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','getConfig','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','0\x200\x2017\x2016','配置无效','UniverProMcp','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Input','attrs','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','HEADER_MENU','_dialogService','children','BuiltInUIPart','merge','Tooltip','mcpConfig.configStepTitle','CONNECTED','rxjs','0\x200\x2016\x2016','sessionId$','_registerComponent','pre','close-small-single','extend','mcpStatus.disconnected','http://www.w3.org/2000/svg','_config$','_componentManager','call','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','ILocalStorageService','on-line-icon','@univerjs/ui','_mcpCoreConfig$','mcpConfig.connectionError.invalidApiKey','svg','M0\x200H16V16H0z','mcpConfig.connectionError.networkError','univer-text-xs\x20univer-text-gray-500','string','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','get','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','errorMessage','会话ID','带有\x20Bearer\x20前缀的\x20API\x20密钥。','CloseSmallSingle','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','has','MCP\x20Connection\x20Failed','DISCONNECTED','add','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','mcpConfig.connectionStatus.disconnected','\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','_injector','univer-space-y-3','toString','includes','evenodd','您的\x20API\x20密钥将在此浏览器中本地存储','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','4797716vLBtQx','27MSWlaW','none','10zthMTQ','replace','MCP\x20Connecting...','mcpConfig.configStep3','div','on-line-icon_clip0_910_349','univer-flex-shrink-0\x20univer-text-red-500','连接中...','1312736qFljCd','bottom','What\x20is\x20API\x20Key?','ComponentManager','Connecting...','_configService','map','label','CheckMarkIcon','mcpConfig.connectionError.sessionOccupied','setItem','off-line-icon','_initializeCommands','error','enUS','mcpStatus.retrying','\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','IMessageService','https://console.univer.ai','Inject','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','function','setConfig','apiKey','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','COMMAND','UniverIcon','HelpSingle','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','url(#$1','您的\x20API\x20密钥安全存储在本地存储中','createElement','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','https://console.univer.plus','disposeWithMe','DependentOn','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20密钥无效,请检查密钥是否正确','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','mcpConfig.configParameters','INVALID_API_KEY','562198txNNVH','univer-text-yellow-500','mcp-config-dialog','mcpConfig.note1','MCP:\x20API\x20Key\x20Missing','off-line-icon_clip0_910_343','最大重试次数','_messageService','subscribeConfigValue$','MCPStatusDisplay','需要\x20API\x20密钥才能连接','connectInjector','mcpConfig.apiKey','_mcpConnectionController','displayName','183jSRwft','hover:univer-opacity-80','prototype','_blank','useCallback','zhCN','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCPConnectionStatus','mcpConfig.validation.invalidApiKey','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','RibbonStartGroup','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','MAX_RETRIES_EXCEEDED','将以下配置添加到您的\x20MCP\x20客户端设置中:','API\x20密钥不能为空','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','noopener\x20noreferrer','MCP:\x20网络错误','0\x200\x2017\x2017','API\x20密钥','value','M5.21243\x2012.287L11.8791\x205.62036','UniverDesign','__setCustomHeaders','Save\x20Configuration','<API_KEY>','off','_connectionController','重连中...','indexOf','ISocketService','toStringTag','mcpServerUrl','entries','MCP\x20Retrying...','clipPath','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','useObservable','Configuration\x20Parameters:','univerjs-icon\x20univerjs-icon-','mcpStatus.networkError','保存中...','univer-text-red-500','MCP\x20连接中...','push','univer-bg-green-500','show','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','getOwnPropertySymbols','url(#on-line-icon_clip0_910_349)','mcpConfig.description','_createConfigPanelComponent','path','配置步骤:','1em','8729030cgIUSQ','className','univer-flex\x20univer-items-center\x20univer-gap-3','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','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Max\x20Retries','UniverNetwork','fill','univer-flex\x20univer-items-start\x20univer-gap-2','Plugin','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','MessageType','help-single','863436jPETIo','random','Session\x20ID','enableAutoConnect','WebSocketService','Click\x20to\x20connect\x20MCP','MenuIcon','mcpConfig.title','MCP\x20状态未知','配置保存失败','getOwnPropertyDescriptor','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20会话被占用','MCP:\x20无效的\x20API\x20密钥','univer-text-white','defIds','idSuffix','mergeMenu','mcpConfig.connectionError.maxRetriesExceeded','mcpStatus.sessionOccupied','API\x20密钥无效,请检查您的密钥后重试','MCPConnectionController','FAILED','mcpConfig.connectionStatus.connected'];_0x5c40=function(){return _0x50e100;};return _0x5c40();}
1
+ (function(_0x3c8bf6,_0x273bff){var _0x5dbb52=_0x5ccc,_0x42168b=_0x3c8bf6();while(!![]){try{var _0x53dcc4=-parseInt(_0x5dbb52(0x171))/0x1+-parseInt(_0x5dbb52(0x195))/0x2*(parseInt(_0x5dbb52(0x1dd))/0x3)+-parseInt(_0x5dbb52(0x26b))/0x4*(parseInt(_0x5dbb52(0x1fe))/0x5)+-parseInt(_0x5dbb52(0x210))/0x6+parseInt(_0x5dbb52(0x28b))/0x7*(parseInt(_0x5dbb52(0x294))/0x8)+parseInt(_0x5dbb52(0x226))/0x9*(-parseInt(_0x5dbb52(0x177))/0xa)+parseInt(_0x5dbb52(0x1b5))/0xb*(parseInt(_0x5dbb52(0x180))/0xc);if(_0x53dcc4===_0x273bff)break;else _0x42168b['push'](_0x42168b['shift']());}catch(_0x40ca90){_0x42168b['push'](_0x42168b['shift']());}}}(_0x2e4b,0x199d5),function(_0xdb8102,_0x40176c){var _0x4aef10=_0x5ccc;typeof exports==_0x4aef10(0x131)&&typeof module<'u'?_0x40176c(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x4aef10(0x1c7)&&define['amd']?define([_0x4aef10(0x1c9),_0x4aef10(0x20b),_0x4aef10(0x298),_0x4aef10(0x1c4),_0x4aef10(0x26d),_0x4aef10(0x238),_0x4aef10(0x17a),'react','@univerjs/network'],_0x40176c):(_0xdb8102=typeof globalThis<'u'?globalThis:_0xdb8102||self,_0x40176c(_0xdb8102[_0x4aef10(0x143)]={},_0xdb8102[_0x4aef10(0x1a6)],_0xdb8102[_0x4aef10(0x148)],_0xdb8102[_0x4aef10(0x1e4)],_0xdb8102[_0x4aef10(0x1cd)],_0xdb8102[_0x4aef10(0x183)],_0xdb8102[_0x4aef10(0x17a)],_0xdb8102[_0x4aef10(0x148)],_0xdb8102[_0x4aef10(0x2a6)]));}(this,function(_0x518031,_0x3f84a5,_0x289f40,_0x4c4717,_0x4227c9,_0x11cae8,_0x25378d,_0x2587e9,_0x31e8d0){'use strict';var _0x593286=_0x5ccc;var _0x59c78c=Object[_0x593286(0x1ec)],_0x584afc=(_0x4bd314,_0x52fc54,_0x20c284)=>_0x52fc54 in _0x4bd314?_0x59c78c(_0x4bd314,_0x52fc54,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20c284}):_0x4bd314[_0x52fc54]=_0x20c284,_0x1f2f2e=(_0x38ec3a,_0x5ac8cf,_0x2eb834)=>_0x584afc(_0x38ec3a,typeof _0x5ac8cf!=_0x593286(0x23b)?_0x5ac8cf+'':_0x5ac8cf,_0x2eb834),_0x1469d4=function(){return _0x1469d4=Object['assign']||function(_0x2652fb){var _0xe3bbd0=_0x5ccc;for(var _0x15c53a,_0x3fa35c=0x1,_0x5ed723=arguments['length'];_0x3fa35c<_0x5ed723;_0x3fa35c++){_0x15c53a=arguments[_0x3fa35c];for(var _0x1761f4 in _0x15c53a)Object[_0xe3bbd0(0x15a)][_0xe3bbd0(0x133)][_0xe3bbd0(0x173)](_0x15c53a,_0x1761f4)&&(_0x2652fb[_0x1761f4]=_0x15c53a[_0x1761f4]);}return _0x2652fb;},_0x1469d4['apply'](this,arguments);},_0x3857a3=function(_0x5e38d7,_0x2b5637){var _0x5599fc=_0x593286,_0x2654e1={};for(var _0x40738c in _0x5e38d7)Object[_0x5599fc(0x15a)][_0x5599fc(0x133)][_0x5599fc(0x173)](_0x5e38d7,_0x40738c)&&_0x2b5637[_0x5599fc(0x21d)](_0x40738c)<0x0&&(_0x2654e1[_0x40738c]=_0x5e38d7[_0x40738c]);if(_0x5e38d7!=null&&typeof Object[_0x5599fc(0x285)]==_0x5599fc(0x1c7)){for(var _0x211dcf=0x0,_0x40738c=Object[_0x5599fc(0x285)](_0x5e38d7);_0x211dcf<_0x40738c[_0x5599fc(0x122)];_0x211dcf++)_0x2b5637[_0x5599fc(0x21d)](_0x40738c[_0x211dcf])<0x0&&Object[_0x5599fc(0x15a)][_0x5599fc(0x142)][_0x5599fc(0x173)](_0x5e38d7,_0x40738c[_0x211dcf])&&(_0x2654e1[_0x40738c[_0x211dcf]]=_0x5e38d7[_0x40738c[_0x211dcf]]);}return _0x2654e1;},_0x12cb58=_0x2587e9['forwardRef'](function(_0x208d23,_0x51dfcc){var _0x52c014=_0x593286,_0x4e5cf0=_0x208d23[_0x52c014(0x116)],_0x31d320=_0x208d23['id'],_0xb7a221=_0x208d23[_0x52c014(0x282)],_0x511384=_0x208d23[_0x52c014(0x269)],_0xb17028=_0x3857a3(_0x208d23,[_0x52c014(0x116),'id',_0x52c014(0x282),_0x52c014(0x269)]),_0x4ab3f1=_0x52c014(0x1ab)[_0x52c014(0x26f)](_0x31d320,'\x20')[_0x52c014(0x26f)](_0xb7a221||'')['trim'](),_0x59eff5=_0x2587e9[_0x52c014(0x24b)]('_'[_0x52c014(0x26f)](_0x4c96ca()));return _0x24452b(_0x4e5cf0,''[_0x52c014(0x26f)](_0x31d320),{'defIds':_0x4e5cf0[_0x52c014(0x127)],'idSuffix':_0x59eff5['current']},_0x1469d4({'ref':_0x51dfcc,'className':_0x4ab3f1},_0xb17028),_0x511384);});function _0x24452b(_0x2deb24,_0x20ec23,_0x490588,_0x1885c4,_0x5113da){var _0x36bf79=_0x593286;return _0x2587e9[_0x36bf79(0x139)](_0x2deb24['tag'],_0x1469d4(_0x1469d4({'key':_0x20ec23},_0x444a48(_0x2deb24,_0x490588,_0x5113da)),_0x1885c4),(_0x46bf9c(_0x2deb24,_0x490588)[_0x36bf79(0x22e)]||[])[_0x36bf79(0x27e)](function(_0x131d04,_0x3ef9b9){var _0x156098=_0x36bf79;return _0x24452b(_0x131d04,''[_0x156098(0x26f)](_0x20ec23,'-')['concat'](_0x2deb24[_0x156098(0x152)],'-')[_0x156098(0x26f)](_0x3ef9b9),_0x490588,void 0x0,_0x5113da);}));}function _0x444a48(_0x4f6e68,_0x25113d,_0x1ce8e3){var _0x3dadc3=_0x593286,_0x2a1143=_0x1469d4({},_0x4f6e68[_0x3dadc3(0x119)]);_0x1ce8e3!=null&&_0x1ce8e3[_0x3dadc3(0x1c3)]&&_0x2a1143['fill']===_0x3dadc3(0x1c3)&&(_0x2a1143['fill']=_0x1ce8e3[_0x3dadc3(0x1c3)]),_0x4f6e68[_0x3dadc3(0x152)]==='mask'&&_0x2a1143['id']&&(_0x2a1143['id']=_0x2a1143['id']+_0x25113d['idSuffix']),Object['entries'](_0x2a1143)[_0x3dadc3(0x253)](function(_0xf0899c){var _0x28910f=_0x3dadc3,_0x294db9=_0xf0899c[0x0],_0x542590=_0xf0899c[0x1];_0x294db9===_0x28910f(0x293)&&typeof _0x542590=='string'&&(_0x2a1143[_0x294db9]=_0x542590['replace'](/url\(#(.*)\)/,'url(#$1'[_0x28910f(0x26f)](_0x25113d[_0x28910f(0x1a1)],')')));});var _0x24f808=_0x25113d['defIds'];return!_0x24f808||_0x24f808[_0x3dadc3(0x122)]===0x0||(_0x4f6e68[_0x3dadc3(0x152)]===_0x3dadc3(0x1b6)&&_0x2a1143['xlink:href']&&(_0x2a1143['xlink:href']=_0x2a1143['xlink:href']+_0x25113d[_0x3dadc3(0x1a1)]),Object['entries'](_0x2a1143)[_0x3dadc3(0x253)](function(_0x4debe2){var _0x47a9b7=_0x3dadc3,_0x460c12=_0x4debe2[0x0],_0x30a150=_0x4debe2[0x1];typeof _0x30a150==_0x47a9b7(0x161)&&(_0x2a1143[_0x460c12]=_0x30a150[_0x47a9b7(0x134)](/url\(#(.*)\)/,_0x47a9b7(0x1c1)[_0x47a9b7(0x26f)](_0x25113d[_0x47a9b7(0x1a1)],')')));})),_0x2a1143;}function _0x46bf9c(_0x4ecfea,_0x88076d){var _0x3b02ec=_0x593286,_0x2670c5,_0x36e722=_0x88076d[_0x3b02ec(0x127)];return!_0x36e722||_0x36e722[_0x3b02ec(0x122)]===0x0?_0x4ecfea:_0x4ecfea[_0x3b02ec(0x152)]===_0x3b02ec(0x1a4)&&(!((_0x2670c5=_0x4ecfea[_0x3b02ec(0x22e)])===null||_0x2670c5===void 0x0)&&_0x2670c5['length'])?_0x1469d4(_0x1469d4({},_0x4ecfea),{'children':_0x4ecfea['children'][_0x3b02ec(0x27e)](function(_0x1d5cc3){var _0x3231e1=_0x3b02ec;return typeof _0x1d5cc3[_0x3231e1(0x119)]['id']==_0x3231e1(0x161)&&_0x36e722&&_0x36e722[_0x3231e1(0x15c)](_0x1d5cc3[_0x3231e1(0x119)]['id'])?_0x1469d4(_0x1469d4({},_0x1d5cc3),{'attrs':_0x1469d4(_0x1469d4({},_0x1d5cc3[_0x3231e1(0x119)]),{'id':_0x1d5cc3[_0x3231e1(0x119)]['id']+_0x88076d['idSuffix']})}):_0x1d5cc3;})}):_0x4ecfea;}function _0x4c96ca(){var _0x1700a9=_0x593286;return Math['random']()[_0x1700a9(0x296)](0x24)['substring'](0x2,0x8);}_0x12cb58[_0x593286(0x16d)]=_0x593286(0x277);var _0x1cb28f={'tag':'svg','attrs':{'xmlns':_0x593286(0x256),'fill':'none','viewBox':_0x593286(0x1f4),'width':'1em','height':_0x593286(0x1ba)},'children':[{'tag':_0x593286(0x251),'attrs':{'fill':_0x593286(0x158),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':_0x593286(0x204),'clipRule':'evenodd'}}]},_0x5c7d98=_0x2587e9[_0x593286(0x20d)](function(_0x3f8f48,_0x5d68e6){var _0x2c23d8=_0x593286;return _0x2587e9[_0x2c23d8(0x139)](_0x12cb58,Object[_0x2c23d8(0x299)]({},_0x3f8f48,{'id':_0x2c23d8(0x1b8),'ref':_0x5d68e6,'icon':_0x1cb28f}));});_0x5c7d98[_0x593286(0x16d)]='CheckMarkIcon';var _0x19243b={'tag':_0x593286(0x138),'attrs':{'xmlns':_0x593286(0x256),'fill':_0x593286(0x1ea),'viewBox':_0x593286(0x279),'width':'1em','height':_0x593286(0x1ba)},'children':[{'tag':'path','attrs':{'stroke':_0x593286(0x158),'d':_0x593286(0x292),'strokeLinecap':'round','strokeLinejoin':_0x593286(0x257),'strokeWidth':1.33}},{'tag':_0x593286(0x251),'attrs':{'stroke':_0x593286(0x158),'d':_0x593286(0x155),'strokeLinecap':'round','strokeLinejoin':_0x593286(0x257),'strokeWidth':1.33}}]},_0x4cf182=_0x2587e9[_0x593286(0x20d)](function(_0x2713f2,_0x3a528f){var _0x2233bd=_0x593286;return _0x2587e9[_0x2233bd(0x139)](_0x12cb58,Object['assign']({},_0x2713f2,{'id':_0x2233bd(0x1bf),'ref':_0x3a528f,'icon':_0x19243b}));});_0x4cf182['displayName']=_0x593286(0x27d);var _0x1a22d1={'tag':_0x593286(0x138),'attrs':{'xmlns':_0x593286(0x256),'fill':_0x593286(0x1ea),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x593286(0x251),'attrs':{'fill':_0x593286(0x158),'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':_0x593286(0x251),'attrs':{'fill':_0x593286(0x158),'d':_0x593286(0x17f)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x593286(0x25b),'fillRule':_0x593286(0x204),'clipRule':_0x593286(0x204)}}]},_0x24e3b0=_0x2587e9[_0x593286(0x20d)](function(_0xa3fe9c,_0x3648a7){var _0x1ae367=_0x593286;return _0x2587e9[_0x1ae367(0x139)](_0x12cb58,Object[_0x1ae367(0x299)]({},_0xa3fe9c,{'id':_0x1ae367(0x164),'ref':_0x3648a7,'icon':_0x1a22d1}));});_0x24e3b0[_0x593286(0x16d)]='HelpSingle';var _0x56d979={'tag':_0x593286(0x138),'attrs':{'xmlns':_0x593286(0x256),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x593286(0x1ba),'height':_0x593286(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':_0x593286(0x198)},'children':[{'tag':_0x593286(0x251),'attrs':{'stroke':_0x593286(0x158),'d':_0x593286(0x162),'strokeLinecap':_0x593286(0x257),'strokeLinejoin':_0x593286(0x257),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x593286(0x251),'attrs':{'fill':_0x593286(0x145),'d':_0x593286(0x124)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3b1293=_0x2587e9[_0x593286(0x20d)](function(_0x7b7cc3,_0x28bc9a){var _0x39d74c=_0x593286;return _0x2587e9[_0x39d74c(0x139)](_0x12cb58,Object[_0x39d74c(0x299)]({},_0x7b7cc3,{'id':'off-line-icon','ref':_0x28bc9a,'icon':_0x56d979}));});_0x3b1293['displayName']='OffLineIcon';var _0x38daad={'tag':_0x593286(0x138),'attrs':{'xmlns':_0x593286(0x256),'fill':_0x593286(0x1ea),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x593286(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x593286(0x251),'attrs':{'stroke':'currentColor','d':_0x593286(0x19d),'strokeLinecap':_0x593286(0x257),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x593286(0x1a4),'attrs':{},'children':[{'tag':_0x593286(0x1be),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x593286(0x145),'d':_0x593286(0x124),'transform':'translate(.97)'}}]}]}],'defIds':[_0x593286(0x252)]},_0x1d81b1=_0x2587e9['forwardRef'](function(_0x405668,_0x23d74e){var _0x6fb096=_0x593286;return _0x2587e9[_0x6fb096(0x139)](_0x12cb58,Object['assign']({},_0x405668,{'id':_0x6fb096(0x213),'ref':_0x23d74e,'icon':_0x38daad}));});_0x1d81b1[_0x593286(0x16d)]=_0x593286(0x20f);function _0x1d2c84(_0x3ab4e0){var _0x2de9d3=_0x593286,_0x452dcc,_0x470708;const {mcpCoreConfig:_0x51c571,onSave:_0x9579e5,loading:_0x3d8b52=!0x1,config:_0x39da82,connectionStatus$:_0x2dd9c9,connectionError$:_0x1532f4,currentApiKey$:_0x474a1b,currentSessionId$:_0xd745b3}=_0x3ab4e0,_0x1fbddb=_0x11cae8[_0x2de9d3(0x222)](_0x3f84a5[_0x2de9d3(0x126)]),_0x12595a=_0x11cae8['useObservable'](_0x2dd9c9,_0x4c4717[_0x2de9d3(0x26a)][_0x2de9d3(0x160)]),_0x43d21d=_0x11cae8[_0x2de9d3(0x271)](_0x1532f4,_0x4c4717['MCPConnectionError']['NONE']),_0x46e599=_0x11cae8[_0x2de9d3(0x271)](_0xd745b3,''),_0x4ffad1=_0x11cae8[_0x2de9d3(0x271)](_0x474a1b,''),[_0x234969,_0x5221ea]=_0x2587e9[_0x2de9d3(0x153)](_0x4ffad1||''),_0x2675f2=!0x0,_0x31a8b7=_0x39da82[_0x2de9d3(0x18e)]&&_0x51c571['mcpServerUrl']&&(_0x51c571[_0x2de9d3(0x234)]['includes'](_0x2de9d3(0x123))||_0x51c571[_0x2de9d3(0x234)][_0x2de9d3(0x15c)](_0x2de9d3(0x1db))),_0x5849c7=(_0x452dcc=_0x51c571[_0x2de9d3(0x234)])==null?void 0x0:_0x452dcc[_0x2de9d3(0x15c)](_0x2de9d3(0x123)),_0x30a800=(_0x470708=_0x51c571[_0x2de9d3(0x234)])==null?void 0x0:_0x470708[_0x2de9d3(0x15c)]('univer.ai'),_0x2bb266=_0x5849c7?_0x2de9d3(0x283):'https://console.univer.ai',_0x306c39=_0x39da82['showDeveloperTools']&&(_0x5849c7||_0x30a800),[_0x2fd82f,_0x5c12a8]=_0x2587e9[_0x2de9d3(0x153)](!_0x234969[_0x2de9d3(0x2a4)]()),_0x5c6ab5=(_0x3f9a30,_0x48ab9f)=>{var _0x74d6d8=_0x2de9d3;if(_0x48ab9f===_0x4c4717[_0x74d6d8(0x274)][_0x74d6d8(0x1fb)])return _0x74d6d8(0x200);switch(_0x3f9a30){case _0x4c4717['MCPConnectionStatus']['CONNECTED']:return _0x74d6d8(0x1ae);case _0x4c4717[_0x74d6d8(0x26a)][_0x74d6d8(0x146)]:case _0x4c4717[_0x74d6d8(0x26a)]['RETRYING']:return _0x74d6d8(0x13b);case _0x4c4717[_0x74d6d8(0x26a)][_0x74d6d8(0x2a1)]:return _0x74d6d8(0x200);default:return _0x74d6d8(0x227);}},_0x3c706b=(_0x46d6c0,_0xc0736e)=>{var _0x2b6269=_0x2de9d3;if(_0xc0736e===_0x4c4717[_0x2b6269(0x274)]['UNAUTHORIZED'])return _0x2b6269(0x297);switch(_0x46d6c0){case _0x4c4717[_0x2b6269(0x26a)][_0x2b6269(0x11d)]:return _0x2b6269(0x163);case _0x4c4717['MCPConnectionStatus'][_0x2b6269(0x146)]:case _0x4c4717[_0x2b6269(0x26a)][_0x2b6269(0x28d)]:return _0x2b6269(0x1b2);case _0x4c4717['MCPConnectionStatus'][_0x2b6269(0x2a1)]:return'univer-bg-red-500';default:return _0x2b6269(0x26e);}},_0x3a5a2b=_0x3b4af=>{var _0x325105=_0x2de9d3;switch(_0x3b4af){case _0x4c4717[_0x325105(0x26a)][_0x325105(0x11d)]:return _0x1fbddb['t']('mcpConfig.connectionStatus.connected');case _0x4c4717['MCPConnectionStatus'][_0x325105(0x146)]:return _0x1fbddb['t'](_0x325105(0x150));case _0x4c4717[_0x325105(0x26a)][_0x325105(0x2a1)]:return _0x1fbddb['t'](_0x325105(0x17d));case _0x4c4717[_0x325105(0x26a)]['RETRYING']:return _0x1fbddb['t'](_0x325105(0x149));default:return _0x1fbddb['t'](_0x325105(0x185));}},_0x5d0d96=_0x75ff65=>{var _0x3f1a17=_0x2de9d3;switch(_0x75ff65){case _0x4c4717[_0x3f1a17(0x274)][_0x3f1a17(0x1fb)]:return _0x1fbddb['t'](_0x3f1a17(0x13d));case _0x4c4717[_0x3f1a17(0x274)]['SESSION_ID_OCCUPIED']:return _0x1fbddb['t'](_0x3f1a17(0x23f));case _0x4c4717[_0x3f1a17(0x274)]['NETWORK_ERROR']:return _0x1fbddb['t'](_0x3f1a17(0x1cf));case _0x4c4717[_0x3f1a17(0x274)][_0x3f1a17(0x27f)]:return _0x1fbddb['t'](_0x3f1a17(0x249));default:return'';}},_0xc7c0d=_0x2587e9[_0x2de9d3(0x1dc)](()=>{var _0x6c2689=_0x2de9d3;const _0x1ab275={..._0x51c571,'apiKey':_0x234969[_0x6c2689(0x2a4)](),'enableAuth':_0x2675f2};_0x9579e5(_0x1ab275);},[_0x51c571,_0x234969,_0x2675f2,_0x9579e5]),_0x1cb9a7=_0x234969[_0x2de9d3(0x2a4)]()['length']>0x0;return _0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x1d2),'children':[_0x289f40['jsx'](_0x2de9d3(0x228),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x27b),'children':[_0x289f40['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':_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x118),'children':'⚙'})}),_0x289f40['jsx']('div',{'children':_0x289f40[_0x2de9d3(0x120)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x1fbddb['t'](_0x2de9d3(0x29d))})})]})}),_0x289f40['jsxs'](_0x2de9d3(0x228),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x193)+_0x5c6ab5(_0x12595a,_0x43d21d)+_0x2de9d3(0x25d),'children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x289f40['jsx'](_0x2de9d3(0x228),{'className':_0x2de9d3(0x174)+_0x3c706b(_0x12595a,_0x43d21d)+'\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'}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':'univer-text-sm\x20univer-font-medium','children':_0x3a5a2b(_0x12595a)})]})}),_0x43d21d!==_0x4c4717[_0x2de9d3(0x274)][_0x2de9d3(0x147)]&&(_0x12595a===_0x4c4717[_0x2de9d3(0x26a)]['FAILED']||_0x43d21d===_0x4c4717[_0x2de9d3(0x274)][_0x2de9d3(0x1fb)])&&_0x289f40['jsx']('div',{'className':_0x2de9d3(0x2a2),'children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x265),'children':'⚠️'}),_0x289f40['jsx']('p',{'className':_0x2de9d3(0x24d),'children':_0x5d0d96(_0x43d21d)})]})})]}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x15d),'children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x11b),'children':[_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x230),'children':[_0x289f40['jsxs'](_0x2de9d3(0x26c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'children':'🔑'}),'\x20',_0x1fbddb['t'](_0x2de9d3(0x278)),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x1f3),'children':'*'}),_0x31a8b7&&_0x289f40[_0x2de9d3(0x120)]('a',{'href':'javascript:void(0)','onClick':()=>_0x5c12a8(!0x0),'className':_0x2de9d3(0x187),'title':_0x1fbddb['t'](_0x2de9d3(0x21a)),'children':_0x289f40[_0x2de9d3(0x120)](_0x24e3b0,{})})]}),_0x289f40['jsx'](_0x4227c9[_0x2de9d3(0x1ad)],{'type':'text','placeholder':_0x1fbddb['t'](_0x2de9d3(0x24a)),'value':_0x234969,'onChange':_0x5221ea,'disabled':_0x3d8b52,'autoComplete':_0x2de9d3(0x259)}),_0x289f40[_0x2de9d3(0x120)]('p',{'className':_0x2de9d3(0x168),'children':_0x1fbddb['t']('mcpConfig.apiKeyHint')})]}),_0x31a8b7&&_0x2fd82f&&_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'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':[_0x289f40['jsx']('a',{'href':_0x2de9d3(0x166),'onClick':()=>_0x5c12a8(!0x1),'className':_0x2de9d3(0x1d1),'title':_0x2de9d3(0x14e),'children':_0x289f40['jsx'](_0x4cf182,{})}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x221),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x1f1),'children':_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x201),'children':'🚀'})}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x21e),'children':[_0x289f40[_0x2de9d3(0x120)]('h4',{'className':_0x2de9d3(0x1ef),'children':_0x1fbddb['t'](_0x2de9d3(0x21a))}),_0x289f40[_0x2de9d3(0x120)]('p',{'className':_0x2de9d3(0x20e),'children':_0x1fbddb['t'](_0x2de9d3(0x236))}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x306c39&&_0x289f40[_0x2de9d3(0x216)]('a',{'href':_0x2bb266,'target':_0x2de9d3(0x19e),'rel':_0x2de9d3(0x21f),'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'children':'🤖'}),_0x1fbddb['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x289f40['jsx'](_0x2de9d3(0x20a),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x25e),'children':['✨','\x20',_0x1fbddb['t'](_0x2de9d3(0x129))]})]})]})]}),_0x39da82[_0x2de9d3(0x18e)]&&_0x289f40['jsxs'](_0x2de9d3(0x228),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x289f40[_0x2de9d3(0x216)]('h4',{'className':_0x2de9d3(0x258),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'children':'🔗'}),'\x20',_0x1fbddb['t'](_0x2de9d3(0x16b))]}),_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x224),'children':[_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x21b),'children':[_0x289f40[_0x2de9d3(0x120)]('p',{'className':_0x2de9d3(0x1d9),'children':_0x1fbddb['t']('mcpConfig.configInstructions')}),_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x230),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x28c),'children':_0x1fbddb['t'](_0x2de9d3(0x248))}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x1cb),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x2a3),'children':'1'}),_0x1fbddb['t'](_0x2de9d3(0x1e1))]}),_0x289f40['jsxs']('div',{'className':_0x2de9d3(0x1cb),'children':[_0x289f40[_0x2de9d3(0x120)]('span',{'className':_0x2de9d3(0x2a3),'children':'2'}),_0x1fbddb['t']('mcpConfig.configStep2')]}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x2a3),'children':'3'}),_0x1fbddb['t'](_0x2de9d3(0x1ff))]})]})]})]}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x230),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x28c),'children':_0x2de9d3(0x276)}),_0x289f40[_0x2de9d3(0x120)]('div',{'className':_0x2de9d3(0x1a0),'children':_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x291),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':_0x2de9d3(0x237)+_0x46e599+_0x2de9d3(0x245)+(_0x234969||_0x2de9d3(0x24e))+_0x2de9d3(0x1f6)})})]}),_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x21b),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x28c),'children':_0x1fbddb['t'](_0x2de9d3(0x1da))}),_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x230),'children':[_0x289f40[_0x2de9d3(0x216)]('div',{'className':_0x2de9d3(0x154),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x188)}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x176),'children':[_0x289f40['jsx']('div',{'className':_0x2de9d3(0x247),'children':'univer_session_id:'}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x168),'children':_0x1fbddb['t'](_0x2de9d3(0x1c6))})]})]}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x289f40['jsx'](_0x2de9d3(0x228),{'className':_0x2de9d3(0x188)}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x176),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x247),'children':_0x2de9d3(0x242)}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x168),'children':_0x1fbddb['t'](_0x2de9d3(0x1e8))})]})]})]})]})]})]}),_0x289f40[_0x2de9d3(0x120)](_0x4227c9[_0x2de9d3(0x250)],{'onClick':_0xc7c0d,'disabled':!_0x1cb9a7||_0x3d8b52,'className':_0x2de9d3(0x262),'children':_0x3d8b52?_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x20a),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x289f40[_0x2de9d3(0x120)]('span',{'children':'⟲'}),_0x1fbddb['t'](_0x2de9d3(0x1a8))]}):_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x20a),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x289f40[_0x2de9d3(0x120)](_0x5c7d98,{}),_0x1fbddb['t'](_0x2de9d3(0x240))]})}),_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x203),'children':_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x23a),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x20a),{'className':_0x2de9d3(0x25f),'children':'💡'}),_0x289f40['jsxs']('div',{'className':_0x2de9d3(0x15b),'children':[_0x289f40[_0x2de9d3(0x120)](_0x2de9d3(0x228),{'className':_0x2de9d3(0x1df),'children':_0x2de9d3(0x14a)}),_0x289f40['jsxs'](_0x2de9d3(0x228),{'children':['•',_0x1fbddb['t'](_0x2de9d3(0x246))]}),_0x289f40[_0x2de9d3(0x216)](_0x2de9d3(0x228),{'children':['•',_0x1fbddb['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x8332a3=_0x593286(0x1fc),_0x5208c7={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x228a02=Object[_0x593286(0x1d5)],_0x4b0074=(_0x30f49c,_0x5b3aaa,_0x1a71c3,_0x56dfe2)=>{var _0x152778=_0x593286;for(var _0x1cbdd5=_0x56dfe2>0x1?void 0x0:_0x56dfe2?_0x228a02(_0x5b3aaa,_0x1a71c3):_0x5b3aaa,_0x293500=_0x30f49c[_0x152778(0x122)]-0x1,_0x4d2375;_0x293500>=0x0;_0x293500--)(_0x4d2375=_0x30f49c[_0x293500])&&(_0x1cbdd5=_0x4d2375(_0x1cbdd5)||_0x1cbdd5);return _0x1cbdd5;},_0xfdf710=(_0x430191,_0x5d21d1)=>(_0x2617c3,_0x1a113e)=>_0x5d21d1(_0x2617c3,_0x1a113e,_0x430191);const _0x2b6673='mcp.apiKey',_0x56cb49=_0x593286(0x1f8);_0x518031[_0x593286(0x270)]=class extends _0x3f84a5[_0x593286(0x16e)]{constructor(_0x2b8483,_0x36adc9,_0x3fc261,_0x435947,_0x4f0782,_0xb16fd0,_0x1cb32d,_0x2c2308,_0x5c3b5e,_0x283baa){var _0x3e5e0b=_0x593286;super(),_0x1f2f2e(this,_0x3e5e0b(0x1d4),new _0x25378d[(_0x3e5e0b(0x214))](!0x1)),_0x1f2f2e(this,_0x3e5e0b(0x22d),new _0x25378d[(_0x3e5e0b(0x214))]({})),_0x1f2f2e(this,_0x3e5e0b(0x136),new _0x25378d[(_0x3e5e0b(0x214))]({})),_0x1f2f2e(this,'_apiKey$',new _0x25378d[(_0x3e5e0b(0x214))]('')),_0x1f2f2e(this,'_handleConfigSave',async _0x23a5cc=>{var _0x2e5321=_0x3e5e0b,_0x5316a1,_0x50b0f6;this[_0x2e5321(0x1d4)][_0x2e5321(0x233)](!0x0);try{const _0x21249e=await this[_0x2e5321(0x2a0)](_0x23a5cc);if(!_0x21249e[_0x2e5321(0x1cc)]){this[_0x2e5321(0x217)]['show']({'type':_0x4227c9[_0x2e5321(0x13c)]['Error'],'content':_0x21249e[_0x2e5321(0x1b9)]||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x23a5cc['apiKey']?await this[_0x2e5321(0x14f)]['setItem'](_0x2b6673,_0x23a5cc[_0x2e5321(0x2a7)][_0x2e5321(0x2a4)]()):await this[_0x2e5321(0x14f)][_0x2e5321(0x1af)](_0x2b6673),this[_0x2e5321(0x241)][_0x2e5321(0x233)](((_0x5316a1=_0x23a5cc[_0x2e5321(0x2a7)])==null?void 0x0:_0x5316a1[_0x2e5321(0x2a4)]())||''),this['_mcpConnectionController'][_0x2e5321(0x184)]({'Authorization':_0x2e5321(0x12c)+((_0x50b0f6=_0x23a5cc[_0x2e5321(0x2a7)])==null?void 0x0:_0x50b0f6[_0x2e5321(0x2a4)]())}),this[_0x2e5321(0x217)][_0x2e5321(0x1bd)]({'type':_0x4227c9[_0x2e5321(0x13c)][_0x2e5321(0x11a)],'content':this[_0x2e5321(0x18d)]['t'](_0x2e5321(0x165))}),setTimeout(()=>{var _0x29ae5f=_0x2e5321;this[_0x29ae5f(0x1e5)][_0x29ae5f(0x27a)](_0x56cb49);},0x320);}catch(_0x13b803){this[_0x2e5321(0x27c)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x13b803),this[_0x2e5321(0x217)][_0x2e5321(0x1bd)]({'type':_0x4227c9[_0x2e5321(0x13c)]['Error'],'content':this[_0x2e5321(0x18d)]['t'](_0x2e5321(0x14d))});}finally{this['_loading$'][_0x2e5321(0x233)](!0x1);}}),(this[_0x3e5e0b(0x196)]=_0x2b8483,this[_0x3e5e0b(0x12d)]=_0x36adc9,this[_0x3e5e0b(0x261)]=_0x3fc261,this['_localStorageService']=_0x435947,this[_0x3e5e0b(0x1e5)]=_0x4f0782,this['_messageService']=_0xb16fd0,this[_0x3e5e0b(0x15e)]=_0x1cb32d,this[_0x3e5e0b(0x18d)]=_0x2c2308,this['_logService']=_0x5c3b5e,this[_0x3e5e0b(0x208)]=_0x283baa,this['_initConfigSync'](),this[_0x3e5e0b(0x223)](),this[_0x3e5e0b(0x1c2)]());}[_0x593286(0x17c)](){var _0x16a9e1=_0x593286;const _0x5c3d60=this['_configService'][_0x16a9e1(0x273)](_0x8332a3);_0x5c3d60!=null&&_0x5c3d60[_0x16a9e1(0x18e)]&&this[_0x16a9e1(0x1e5)]['open']({'id':_0x56cb49,'title':{'title':this[_0x16a9e1(0x18d)]['t'](_0x16a9e1(0x135))},'children':{'label':_0x16a9e1(0x175)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x234a94=_0x16a9e1;this['_dialogService'][_0x234a94(0x27a)](_0x56cb49);}});}[_0x593286(0x219)](){var _0x538966=_0x593286;return this[_0x538966(0x22d)][_0x538966(0x151)];}['_registerComponent'](){var _0x4d6543=_0x593286;this['disposeWithMe'](this[_0x4d6543(0x15e)][_0x4d6543(0x1de)](_0x4d6543(0x175),this[_0x4d6543(0x1fa)]()));}[_0x593286(0x1fa)](){var _0x3a9f4d=_0x593286;return _0x11cae8[_0x3a9f4d(0x1eb)](()=>{var _0x36385f=_0x3a9f4d,_0x5cffee,_0x492426,_0x4fc8bd;return _0x289f40[_0x36385f(0x120)](_0x1d2c84,{'config':this[_0x36385f(0x136)]['value'],'mcpCoreConfig':this[_0x36385f(0x22d)][_0x36385f(0x151)],'currentApiKey$':this['_apiKey$'],'onSave':this['_handleConfigSave'],'loading':this[_0x36385f(0x1d4)][_0x36385f(0x151)],'connectionStatus$':(_0x5cffee=this['_mcpConnectionController'])==null?void 0x0:_0x5cffee[_0x36385f(0x1b3)],'connectionError$':(_0x492426=this[_0x36385f(0x208)])==null?void 0x0:_0x492426[_0x36385f(0x1d6)],'currentSessionId$':(_0x4fc8bd=this[_0x36385f(0x208)])==null?void 0x0:_0x4fc8bd[_0x36385f(0x1f9)]});},this[_0x3a9f4d(0x196)]);}[_0x593286(0x114)](){var _0x120506=_0x593286;this[_0x120506(0x1a2)](this['_configService'][_0x120506(0x191)](_0x4c4717['MCP_PLUGIN_CONFIG_KEY'])[_0x120506(0x182)](_0xcfb57c=>{var _0x10ff43=_0x120506;this[_0x10ff43(0x22d)][_0x10ff43(0x233)](_0xcfb57c||{});}));const _0x45ac1b=this['_configService'][_0x120506(0x273)](_0x4c4717['MCP_PLUGIN_CONFIG_KEY']);this[_0x120506(0x22d)][_0x120506(0x233)](_0x45ac1b||{}),this[_0x120506(0x1a2)](this[_0x120506(0x261)][_0x120506(0x191)](_0x8332a3)['subscribe'](_0x4dde79=>{var _0x1c269e=_0x120506;this[_0x1c269e(0x136)]['next'](_0x4dde79||{});}));const _0x29fedf=this['_configService'][_0x120506(0x273)](_0x8332a3);this[_0x120506(0x136)][_0x120506(0x233)](_0x29fedf||{});}async['_loadStoredApiKey'](){var _0x562ce0=_0x593286;const _0x47f575=this[_0x562ce0(0x261)][_0x562ce0(0x273)](_0x8332a3);if(!(_0x47f575!=null&&_0x47f575[_0x562ce0(0x18e)]))return;const _0x33513c=await this[_0x562ce0(0x14f)][_0x562ce0(0x18b)](_0x2b6673);_0x33513c&&(this[_0x562ce0(0x208)][_0x562ce0(0x184)]({'Authorization':_0x562ce0(0x12c)+_0x33513c}),this['_apiKey$'][_0x562ce0(0x233)](_0x33513c));}async[_0x593286(0x2a0)](_0x44f530){var _0x53e201=_0x593286;if(!_0x44f530[_0x53e201(0x2a7)]||_0x44f530['apiKey'][_0x53e201(0x2a4)]()[_0x53e201(0x122)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x53e201(0x29c))};if(_0x44f530['apiKey'][_0x53e201(0x2a4)]()[_0x53e201(0x122)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x53e201(0x18d)]['t'](_0x53e201(0x22a))};try{const _0x3502a5=await this[_0x53e201(0x196)][_0x53e201(0x159)](_0x4c4717[_0x53e201(0x23d)])[_0x53e201(0x15f)](_0x44f530['apiKey']['trim']());return _0x3502a5[_0x53e201(0x1cc)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3502a5['error']||this[_0x53e201(0x18d)]['t'](_0x53e201(0x121))};}catch(_0x252f17){return console[_0x53e201(0x275)](_0x53e201(0x20c),_0x252f17),{'isValid':!0x0};}}},_0x518031['MCPConfigUIController']=_0x4b0074([_0xfdf710(0x0,_0x3f84a5[_0x593286(0x186)](_0x3f84a5['Injector'])),_0xfdf710(0x1,_0x11cae8[_0x593286(0x290)]),_0xfdf710(0x2,_0x3f84a5['IConfigService']),_0xfdf710(0x3,_0x3f84a5[_0x593286(0x1c5)]),_0xfdf710(0x4,_0x11cae8[_0x593286(0x225)]),_0xfdf710(0x5,_0x11cae8['IMessageService']),_0xfdf710(0x6,_0x3f84a5['Inject'](_0x11cae8[_0x593286(0x18c)])),_0xfdf710(0x7,_0x3f84a5['Inject'](_0x3f84a5[_0x593286(0x126)])),_0xfdf710(0x8,_0x3f84a5[_0x593286(0x287)]),_0xfdf710(0x9,_0x3f84a5[_0x593286(0x186)](_0x4c4717[_0x593286(0x23d)]))],_0x518031[_0x593286(0x270)]);const _0x5ac633={'id':_0x593286(0x24f),'type':_0x3f84a5['CommandType'][_0x593286(0x117)],'handler':async(_0x54b588,_0x3053b9)=>(_0x54b588[_0x593286(0x159)](_0x518031[_0x593286(0x270)])[_0x593286(0x17c)](),!0x0)};function _0x1975ff(_0x166daf,_0x2aef8d){var _0x11c6eb=_0x593286;switch(_0x166daf){case _0x4c4717['MCPConnectionStatus'][_0x11c6eb(0x160)]:return _0x11c6eb(0x1fd);case _0x4c4717[_0x11c6eb(0x26a)][_0x11c6eb(0x146)]:return'mcpStatus.connecting';case _0x4c4717['MCPConnectionStatus'][_0x11c6eb(0x11d)]:return _0x11c6eb(0x1e6);case _0x4c4717['MCPConnectionStatus'][_0x11c6eb(0x2a1)]:switch(_0x2aef8d){case _0x4c4717[_0x11c6eb(0x274)]['UNAUTHORIZED']:return _0x11c6eb(0x220);case _0x4c4717[_0x11c6eb(0x274)][_0x11c6eb(0x268)]:return _0x11c6eb(0x29f);case _0x4c4717['MCPConnectionError'][_0x11c6eb(0x239)]:return _0x11c6eb(0x28e);case _0x4c4717[_0x11c6eb(0x274)]['MAX_RETRIES_EXCEEDED']:return _0x11c6eb(0x132);default:return'mcpStatus.failed';}case _0x4c4717[_0x11c6eb(0x26a)]['RETRYING']:return _0x11c6eb(0x12f);default:return _0x11c6eb(0x179);}}function _0x117f88(_0x4a018a,_0x4f2f93,_0x257a5b,_0x19da47=!0x0){var _0x4eccf6=_0x593286;const _0x1e642b=_0x1975ff(_0x4a018a,_0x4f2f93),_0x4e02d0=_0x257a5b['t'](_0x1e642b);return _0x19da47?_0x4a018a===_0x4c4717[_0x4eccf6(0x26a)][_0x4eccf6(0x160)]&&_0x4f2f93===_0x4c4717[_0x4eccf6(0x274)][_0x4eccf6(0x1fb)]?_0x4e02d0+_0x4eccf6(0x231)+_0x257a5b['t'](_0x4eccf6(0x288)):_0x4a018a===_0x4c4717[_0x4eccf6(0x26a)][_0x4eccf6(0x11d)]?''+_0x4e02d0:_0x4a018a===_0x4c4717[_0x4eccf6(0x26a)][_0x4eccf6(0x160)]||_0x4a018a===_0x4c4717[_0x4eccf6(0x26a)][_0x4eccf6(0x2a1)]?_0x4e02d0+_0x4eccf6(0x231)+_0x257a5b['t'](_0x4eccf6(0x1a5)):_0x4e02d0:_0x4e02d0;}function _0x4d979c(_0x39729a){var _0x95504=_0x593286;switch(_0x39729a){case _0x4c4717['MCPConnectionStatus'][_0x95504(0x11d)]:return _0x95504(0x17b);case _0x4c4717[_0x95504(0x26a)][_0x95504(0x146)]:case _0x4c4717[_0x95504(0x26a)][_0x95504(0x28d)]:return _0x95504(0x1ce);case _0x4c4717[_0x95504(0x26a)][_0x95504(0x2a1)]:case _0x4c4717['MCPConnectionStatus'][_0x95504(0x160)]:return'univer-text-red-500';default:return _0x95504(0x125);}}function _0x490867(_0x3e3252){var _0x516a31=_0x593286;const {status$:_0x3ca7cd,error$:_0x3afd73,onConfigure:_0xd5cd22,showClickable:_0x28445b=!0x0}=_0x3e3252,_0x306e8f=_0x11cae8[_0x516a31(0x271)](_0x3ca7cd,_0x4c4717[_0x516a31(0x26a)][_0x516a31(0x160)]),_0x5d871a=_0x11cae8[_0x516a31(0x271)](_0x3afd73,_0x4c4717[_0x516a31(0x274)][_0x516a31(0x147)]),_0x479a44=_0x11cae8[_0x516a31(0x222)](_0x3f84a5[_0x516a31(0x126)]),_0x54c479=_0x306e8f===_0x4c4717[_0x516a31(0x26a)][_0x516a31(0x11d)];_0x306e8f===_0x4c4717[_0x516a31(0x26a)][_0x516a31(0x146)]||_0x4c4717[_0x516a31(0x26a)]['RETRYING'];const _0x4d3f72=_0x479a44['t'](_0x1975ff(_0x306e8f,_0x5d871a)),_0x478107=_0x117f88(_0x306e8f,_0x5d871a,_0x479a44,_0x28445b),_0x5c7097=_0x4d979c(_0x306e8f),_0x19a635=_0x54c479?_0x289f40[_0x516a31(0x120)](_0x1d81b1,{}):_0x289f40['jsx'](_0x3b1293,{}),_0x82b849=_0x2587e9[_0x516a31(0x1dc)](()=>{_0x28445b&&_0xd5cd22&&_0xd5cd22();},[_0x28445b,_0xd5cd22]);function _0x49bbbe(){var _0x3ca1e3=_0x516a31;return _0x289f40[_0x3ca1e3(0x216)]('div',{'className':_0x4227c9[_0x3ca1e3(0x29a)](_0x3ca1e3(0x202),_0x28445b&&_0xd5cd22&&_0x3ca1e3(0x286)),'onClick':_0x28445b&&_0xd5cd22?_0x82b849:void 0x0,'children':[_0x289f40[_0x3ca1e3(0x120)](_0x3ca1e3(0x228),{'className':_0x4227c9[_0x3ca1e3(0x29a)](_0x3ca1e3(0x1bc),_0x5c7097),'children':_0x19a635}),_0x289f40[_0x3ca1e3(0x120)](_0x3ca1e3(0x228),{'className':_0x3ca1e3(0x235),'children':_0x4d3f72})]});}return _0x289f40['jsx'](_0x4227c9[_0x516a31(0x1bb)],{'title':_0x478107,'placement':_0x516a31(0x1e3),'children':_0x49bbbe()});}var _0xf118c9=Object[_0x593286(0x1d5)],_0x1da1fd=(_0x205434,_0x282525,_0x20bbde,_0x304df1)=>{for(var _0x56ff61=_0x304df1>0x1?void 0x0:_0x304df1?_0xf118c9(_0x282525,_0x20bbde):_0x282525,_0x32d426=_0x205434['length']-0x1,_0x262540;_0x32d426>=0x0;_0x32d426--)(_0x262540=_0x205434[_0x32d426])&&(_0x56ff61=_0x262540(_0x56ff61)||_0x56ff61);return _0x56ff61;},_0x52b9ee=(_0x1db44b,_0x47506f)=>(_0x710a87,_0xea1e50)=>_0x47506f(_0x710a87,_0xea1e50,_0x1db44b);_0x518031[_0x593286(0x1c0)]=class extends _0x3f84a5[_0x593286(0x16e)]{constructor(_0x314b27,_0x17aa0e,_0x3f91aa,_0xb8f705){var _0x280906=_0x593286;super(),this[_0x280906(0x196)]=_0x314b27,this[_0x280906(0x22b)]=_0x17aa0e,this[_0x280906(0x12d)]=_0x3f91aa,this[_0x280906(0x261)]=_0xb8f705,this['_initAutoConnect'](),this[_0x280906(0x13e)]();}['_initAutoConnect'](){var _0x2e1c4f=_0x593286;const _0xa86c1a=this['_configService'][_0x2e1c4f(0x273)](_0x8332a3);_0xa86c1a!=null&&_0xa86c1a[_0x2e1c4f(0x18e)]&&(this[_0x2e1c4f(0x22b)]['enableAutoConnect']=!0x1);}[_0x593286(0x13e)](){var _0x1da998=_0x593286;const _0x328d1f=this[_0x1da998(0x261)][_0x1da998(0x273)](_0x8332a3);(_0x328d1f==null?void 0x0:_0x328d1f[_0x1da998(0x137)])!==!0x1&&this[_0x1da998(0x1a2)](this[_0x1da998(0x12d)][_0x1da998(0x2a5)](_0x11cae8[_0x1da998(0x1a7)][_0x1da998(0x1ee)],()=>{var _0x1b1a9e=_0x1da998,_0x3d75b0;return _0x11cae8[_0x1b1a9e(0x1eb)](_0x4a1a61({'status$':this[_0x1b1a9e(0x22b)]['connectionStatus$'],'error$':this[_0x1b1a9e(0x22b)]['connectionError$'],'onConfigure':()=>this[_0x1b1a9e(0x167)](),'showClickable':(_0x3d75b0=_0x328d1f==null?void 0x0:_0x328d1f[_0x1b1a9e(0x18e)])!=null?_0x3d75b0:!0x1}),this['_injector']);}));}['_handleConfigure'](){var _0x552015=_0x593286;this[_0x552015(0x196)]['get'](_0x518031['MCPConfigUIController'])[_0x552015(0x17c)]();}},_0x518031[_0x593286(0x1c0)]=_0x1da1fd([_0x52b9ee(0x0,_0x3f84a5['Inject'](_0x3f84a5['Injector'])),_0x52b9ee(0x1,_0x3f84a5[_0x593286(0x186)](_0x4c4717['MCPConnectionController'])),_0x52b9ee(0x2,_0x11cae8[_0x593286(0x290)]),_0x52b9ee(0x3,_0x3f84a5['IConfigService'])],_0x518031[_0x593286(0x1c0)]);function _0x4a1a61(_0x9edfeb){const {status$:_0x3f4e76,error$:_0x4c8c9f,onConfigure:_0x312eeb,showClickable:_0x1bec0b}=_0x9edfeb;return function(){var _0x2c50b4=_0x5ccc;return _0x289f40[_0x2c50b4(0x120)](_0x490867,{'status$':_0x3f4e76,'error$':_0x4c8c9f,'onConfigure':_0x312eeb,'showClickable':_0x1bec0b});};}function _0x469621(_0x1a9080){var _0x206d10=_0x593286;return{'id':_0x5ac633['id'],'type':_0x11cae8['MenuItemType'][_0x206d10(0x19a)],'icon':_0x206d10(0x1aa),'title':'mcpConfig.title','tooltip':_0x206d10(0x135)};}const _0x205c7f={[_0x11cae8[_0x593286(0x1d7)][_0x593286(0x16c)]]:{[_0x5ac633['id']]:{'order':0xa,'menuItemFactory':_0x469621}}};var _0x57f95e=Object[_0x593286(0x1d5)],_0xeffb3c=(_0x30a0e1,_0x159194,_0x227eb6,_0x511589)=>{for(var _0x35df62=_0x511589>0x1?void 0x0:_0x511589?_0x57f95e(_0x159194,_0x227eb6):_0x159194,_0x2c9495=_0x30a0e1['length']-0x1,_0xa99a8a;_0x2c9495>=0x0;_0x2c9495--)(_0xa99a8a=_0x30a0e1[_0x2c9495])&&(_0x35df62=_0xa99a8a(_0x35df62)||_0x35df62);return _0x35df62;},_0xb6fe85=(_0x5dfb31,_0x3b68ee)=>(_0x19efbd,_0x3a7d14)=>_0x3b68ee(_0x19efbd,_0x3a7d14,_0x5dfb31);_0x518031[_0x593286(0x260)]=class extends _0x3f84a5[_0x593286(0x16e)]{constructor(_0x1972d5,_0x4d95a8){var _0x4d2ffc=_0x593286;super(),this[_0x4d2ffc(0x14c)]=_0x1972d5,this[_0x4d2ffc(0x211)]=_0x4d95a8,this[_0x4d2ffc(0x18f)](),this[_0x4d2ffc(0x181)]();}['_initializeCommands'](){var _0x437f68=_0x593286;[_0x5ac633][_0x437f68(0x253)](_0x19356d=>{var _0x552d3a=_0x437f68;this['disposeWithMe'](this[_0x552d3a(0x14c)][_0x552d3a(0x1b1)](_0x19356d));});}['_initializeMenus'](){var _0x4dadee=_0x593286;this[_0x4dadee(0x211)][_0x4dadee(0x12a)](_0x205c7f);}},_0x518031[_0x593286(0x260)]=_0xeffb3c([_0xb6fe85(0x0,_0x3f84a5['ICommandService']),_0xb6fe85(0x1,_0x11cae8['IMenuManagerService'])],_0x518031[_0x593286(0x260)]);const _0x2f1b3c={'mcpStatus':{'disconnected':_0x593286(0x25a),'connecting':_0x593286(0x1f7),'connected':_0x593286(0x13f),'failed':'MCP\x20Connection\x20Failed','retrying':_0x593286(0x157),'unknown':_0x593286(0x1ed),'unauthorized':_0x593286(0x232),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x593286(0x1a3),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x593286(0x11c),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x593286(0x276),'description':_0x593286(0x207),'apiKey':_0x593286(0x23c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x593286(0x244),'enableAuth':_0x593286(0x1f2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x593286(0x190),'mcpClientConfig':_0x593286(0x190),'configInstructions':_0x593286(0x284),'configStepTitle':_0x593286(0x128),'configStep1':_0x593286(0x156),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x593286(0x254),'authorizationDescription':_0x593286(0x1e7),'configParameters':_0x593286(0x19b),'maxRetries':_0x593286(0x1b7),'save':_0x593286(0x289),'saving':_0x593286(0x229),'note1':_0x593286(0x169),'note2':_0x593286(0x29e),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x593286(0x1d3),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x593286(0x1d0),'getStarted':_0x593286(0x172)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x593286(0x25c),'invalidConfig':_0x593286(0x23e),'invalidApiKey':_0x593286(0x11f)},'connectionStatus':{'disconnected':_0x593286(0x209),'connecting':_0x593286(0x1b0),'connected':_0x593286(0x18a),'failed':_0x593286(0x215),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x593286(0x194),'sessionOccupied':_0x593286(0x19f),'networkError':_0x593286(0x1a9),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x5a066d={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x593286(0x267),'connected':'MCP\x20已连接','failed':_0x593286(0x1e9),'retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':_0x593286(0x192),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x593286(0x16a),'clickToConnect':_0x593286(0x189),'clickToConfigure':_0x593286(0x17e)},'mcpConfig':{'title':_0x593286(0x144),'description':_0x593286(0x24c),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x593286(0x29b),'apiKeyHint':_0x593286(0x113),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x593286(0x2a8),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x593286(0x14b),'configStepTitle':_0x593286(0x280),'configStep1':_0x593286(0x1ca),'configStep2':_0x593286(0x199),'configStep3':_0x593286(0x1c8),'sessionId':'会话ID','sessionIdDescription':_0x593286(0x21c),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x593286(0x1f0),'maxRetries':'最大重试次数','save':_0x593286(0x266),'saving':_0x593286(0x13a),'note1':_0x593286(0x1d8),'note2':_0x593286(0x1e0),'configSaved':_0x593286(0x19c),'configError':_0x593286(0x115),'apiApplyInfo':{'title':_0x593286(0x141),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x593286(0x264),'getStarted':_0x593286(0x28f)},'validation':{'apiKeyRequired':_0x593286(0x130),'apiKeyTooShort':_0x593286(0x178),'invalidConfig':_0x593286(0x281),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x593286(0x1e2),'connected':_0x593286(0x28a),'failed':_0x593286(0x205),'retrying':_0x593286(0x1ac)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x593286(0x272),'networkError':_0x593286(0x263),'maxRetriesExceeded':_0x593286(0x12e)}}};var _0x1ce2a5=Object[_0x593286(0x1ec)],_0x40c130=Object[_0x593286(0x1d5)],_0x1d5bae=(_0x4aef9e,_0x2acc15,_0x59cdab)=>_0x2acc15 in _0x4aef9e?_0x1ce2a5(_0x4aef9e,_0x2acc15,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59cdab}):_0x4aef9e[_0x2acc15]=_0x59cdab,_0x3336d7=(_0x351ef8,_0x579684,_0x13262d,_0xd676f8)=>{var _0x4c4e62=_0x593286;for(var _0x5383a1=_0xd676f8>0x1?void 0x0:_0xd676f8?_0x40c130(_0x579684,_0x13262d):_0x579684,_0x5694aa=_0x351ef8[_0x4c4e62(0x122)]-0x1,_0x280bee;_0x5694aa>=0x0;_0x5694aa--)(_0x280bee=_0x351ef8[_0x5694aa])&&(_0x5383a1=_0x280bee(_0x5383a1)||_0x5383a1);return _0x5383a1;},_0x524a4d=(_0x272ef9,_0x49aaf4)=>(_0x485ab9,_0x454e9f)=>_0x49aaf4(_0x485ab9,_0x454e9f,_0x272ef9),_0x232a9e=(_0x530f62,_0x262310,_0x56b2c9)=>_0x1d5bae(_0x530f62,_0x262310+'',_0x56b2c9);_0x518031[_0x593286(0x197)]=class extends _0x3f84a5['Plugin']{constructor(_0x51836a=_0x5208c7,_0x4d17cb,_0x329495,_0x20a9e5,_0x3bbc76,_0x2ca56d){var _0x140170=_0x593286;super(),this['_config']=_0x51836a,this['_injector']=_0x4d17cb,this[_0x140170(0x261)]=_0x329495,this['_uiPartsService']=_0x20a9e5,this[_0x140170(0x14f)]=_0x3bbc76,this['_localeService']=_0x2ca56d;const {..._0x169abb}=_0x3f84a5[_0x140170(0x218)]({},_0x5208c7,this['_config']);this[_0x140170(0x261)][_0x140170(0x212)](_0x8332a3,_0x169abb);}async[_0x593286(0x22f)](){var _0x39ba48=_0x593286;const _0x3badc1=[[_0x518031[_0x39ba48(0x1c0)]],[_0x518031['MCPConfigUIController']],[_0x518031['MCPUIMenuController']]];this['_injector'][_0x39ba48(0x12b)](_0x31e8d0[_0x39ba48(0x16f)])||_0x3badc1[_0x39ba48(0x255)]([_0x31e8d0[_0x39ba48(0x16f)],{'useClass':_0x31e8d0[_0x39ba48(0x22c)]}]),_0x3badc1['forEach'](_0x212504=>this[_0x39ba48(0x196)][_0x39ba48(0x140)](_0x212504)),this[_0x39ba48(0x196)][_0x39ba48(0x159)](_0x518031[_0x39ba48(0x1c0)]),this['_injector'][_0x39ba48(0x159)](_0x518031['MCPConfigUIController']),this[_0x39ba48(0x196)][_0x39ba48(0x159)](_0x518031[_0x39ba48(0x260)]);}},_0x232a9e(_0x518031[_0x593286(0x197)],'pluginName','MCP_UI_PLUGIN'),_0x518031['UniverMCPUIPlugin']=_0x3336d7([_0x3f84a5[_0x593286(0x243)](_0x4c4717[_0x593286(0x295)]),_0x524a4d(0x1,_0x3f84a5[_0x593286(0x186)](_0x3f84a5[_0x593286(0x1b4)])),_0x524a4d(0x2,_0x3f84a5[_0x593286(0x11e)]),_0x524a4d(0x3,_0x11cae8['IUIPartsService']),_0x524a4d(0x4,_0x3f84a5[_0x593286(0x1c5)]),_0x524a4d(0x5,_0x3f84a5[_0x593286(0x186)](_0x3f84a5[_0x593286(0x126)]))],_0x518031['UniverMCPUIPlugin']),_0x518031[_0x593286(0x175)]=_0x1d2c84,_0x518031['MCPStatusDisplay']=_0x490867,_0x518031['OpenMCPConfigPanelCommand']=_0x5ac633,_0x518031[_0x593286(0x1f5)]=_0x2f1b3c,_0x518031[_0x593286(0x206)]=_0x5a066d,Object['defineProperty'](_0x518031,Symbol['toStringTag'],{'value':_0x593286(0x170)});}));function _0x5ccc(_0x9117b3,_0x5109bf){var _0x2e4ba6=_0x2e4b();return _0x5ccc=function(_0x5cccea,_0x4f6f27){_0x5cccea=_0x5cccea-0x113;var _0x2d2acf=_0x2e4ba6[_0x5cccea];return _0x2d2acf;},_0x5ccc(_0x9117b3,_0x5109bf);}function _0x2e4b(){var _0x2c8540=['_initStatusComponent','MCP\x20Connected','add','什么是\x20API\x20密钥?','propertyIsEnumerable','UniverProMcpUi','MCP\x20配置','white','CONNECTING','NONE','React','mcpConfig.connectionStatus.retrying','Configuration\x20Notes:','将以下配置添加到您的\x20MCP\x20客户端设置中:','_commandService','mcpConfig.configError','Close','_localStorageService','mcpConfig.connectionStatus.connecting','value','tag','useState','univer-flex\x20univer-items-start\x20univer-gap-3','M5.21243\x2012.287L11.8791\x205.62036','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Retrying...','currentColor','get','prototype','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','includes','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','_componentManager','validateApiKey','DISCONNECTED','string','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','univer-bg-green-500','help-single','mcpConfig.configSaved','javascript:void(0)','_handleConfigure','univer-text-xs\x20univer-text-gray-500','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20超出最大重试次数','mcpConfig.connectionInfo','OTHERS','displayName','Disposable','ISocketService','Module','10965ZDauxA','Get\x20your\x20API\x20key\x20in\x20seconds','call','\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','MCPConfigPanel','univer-min-w-0\x20univer-flex-1','10ZbQlgL','API\x20密钥长度至少需要\x2010\x20位','mcpStatus.unknown','rxjs','univer-text-green-500','showConfigPanel','mcpConfig.connectionStatus.failed','点击配置\x20MCP','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','18996TnLBzX','_initializeMenus','subscribe','UniverUi','__setCustomHeaders','mcpConfig.connectionStatus.disconnected','Inject','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-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','点击连接\x20MCP','Connected','getItem','ComponentManager','_localeService','showDeveloperTools','_initializeCommands','MCP\x20Client\x20Configuration','subscribeConfigValue$','MCP:\x20未授权','\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','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','205862VMzyyU','_injector','UniverMCPUIPlugin','url(#off-line-icon_clip0_910_343)','将配置添加到您的\x20MCP\x20客户端设置文件中','BUTTON','Configuration\x20Parameters:','配置保存成功','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','_blank','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','idSuffix','disposeWithMe','MCP:\x20Network\x20Error','defs','mcpStatus.clickToConnect','UniverCore','BuiltInUIPart','mcpConfig.saving','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MenuIcon','univerjs-icon\x20univerjs-icon-','重连中...','Input','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','removeItem','Connecting...','registerCommand','univer-bg-blue-500','connectionStatus$','Injector','2673YBPofm','use','Max\x20Retries','check-mark-icon','errorMessage','1em','Tooltip','univer-mr-2\x20univer-flex\x20univer-text-xl','show','clipPath','close-small-single','MCPConnectionUIController','url(#$1','_registerComponent','colorChannel1','@univerjs-pro/mcp','ILocalStorageService','mcpConfig.sessionIdDescription','function','重启您的\x20MCP\x20客户端以使配置生效','exports','复制以下\x20JSON\x20配置','univer-flex\x20univer-items-center\x20univer-gap-2','isValid','UniverDesign','univer-text-yellow-500','mcpConfig.connectionError.networkError','Univer\x20AI\x20Console','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','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','What\x20is\x20API\x20Key?','_loading$','getOwnPropertyDescriptor','connectionError$','RibbonStartGroup','配置更改将立即生效','univer-text-xs\x20univer-text-gray-600','mcpConfig.configParameters','univer.ai','useCallback','3tGIYjW','register','univer-font-medium','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.configStep1','连接中...','bottom','UniverProMcp','_dialogService','mcpStatus.connected','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.authorizationDescription','MCP\x20连接失败','none','connectInjector','defineProperty','MCP\x20Unknown\x20Status','HEADER_MENU','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','配置参数:','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','Enable\x20Authentication','univer-text-red-500','0\x200\x2016\x2016','enUS','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','MCP\x20Connecting...','mcp-config-dialog','sessionId$','_createConfigPanelComponent','UNAUTHORIZED','mcp-ui.config','mcpStatus.disconnected','125855zvnLNO','mcpConfig.configStep3','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-text-blue-600','univer-flex\x20univer-items-center','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','evenodd','连接失败','zhCN','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','_mcpConnectionController','Disconnected','span','@univerjs/core','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','forwardRef','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','OnLineIcon','1025646VzJmTN','_menuManagerService','setConfig','on-line-icon','BehaviorSubject','Connection\x20Failed','jsxs','_messageService','merge','getCurrentConfig','mcpConfig.apiApplyInfo.title','univer-space-y-3','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','indexOf','univer-flex-1','noopener\x20noreferrer','mcpStatus.unauthorized','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','useDependency','_loadStoredApiKey','univer-space-y-4','IDialogService','1497402LXgIwJ','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','div','Saving...','mcpConfig.validation.apiKeyTooShort','_connectionController','WebSocketService','_mcpCoreConfig$','children','onStarting','univer-space-y-2','\x20-\x20','MCP:\x20Unauthorized','next','mcpServerUrl','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.apiApplyInfo.description','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','@univerjs/ui','NETWORK_ERROR','univer-flex\x20univer-gap-3','symbol','API\x20Key','MCPConnectionController','Invalid\x20configuration','mcpConfig.connectionError.sessionOccupied','mcpConfig.save','_apiKey$','Authorization:','DependentOn','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','mcpConfig.note1','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.configStepTitle','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.apiKeyPlaceholder','useRef','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','<API_KEY>','mcp-ui.command.openConfigPanel','Button','path','on-line-icon_clip0_910_349','forEach','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','push','http://www.w3.org/2000/svg','round','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','off','MCP\x20Disconnected','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','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex-shrink-0\x20univer-text-blue-500','MCPUIMenuController','_configService','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','网络连接错误,请检查您的网络连接','Univer\x20AI\x20控制台','univer-flex-shrink-0\x20univer-text-red-500','保存配置','MCP\x20连接中...','SESSION_ID_OCCUPIED','extend','MCPConnectionStatus','4sFbZSA','label','@univerjs/design','univer-bg-gray-500','concat','MCPConfigUIController','useObservable','会话\x20ID\x20已被占用,请稍后再试','getConfig','MCPConnectionError','warn','MCP\x20Configuration','UniverIcon','mcpConfig.apiKey','0\x200\x2017\x2017','close','univer-flex\x20univer-items-center\x20univer-gap-3','_logService','CloseSmallSingle','map','MAX_RETRIES_EXCEEDED','配置步骤:','配置无效','className','https://console.univer.plus','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','getOwnPropertySymbols','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ILogService','mcpStatus.clickToConfigure','Save\x20Configuration','已连接','1376438IEALMn','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','RETRYING','mcpStatus.networkError','几秒钟内获取您的\x20API\x20密钥','IUIPartsService','pre','M5.21243\x205.62036L11.8791\x2012.287','mask','8PVgaFr','UniverMCPPlugin','toString','univer-bg-red-500','react/jsx-runtime','assign','clsx','请输入您的\x20API\x20密钥','mcpConfig.validation.apiKeyRequired','mcpConfig.description','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpStatus.sessionOccupied','_validateConfig','FAILED','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','trim','registerComponent','UniverNetwork','apiKey','MCP\x20客户端配置','您的\x20API\x20密钥将在此浏览器中本地存储','_initConfigSync','配置保存失败','icon','COMMAND','univer-text-white','attrs','Success','univer-space-y-5','Click\x20to\x20connect\x20MCP','CONNECTED','IConfigService','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','jsx','mcpConfig.validation.invalidApiKey','length','univer.plus','M0\x200H16V16H0z','univer-text-gray-500','LocaleService','defIds','Configuration\x20Steps:','mcpConfig.apiApplyInfo.getStarted','mergeMenu','has','Bearer\x20','_uiPartsService','超出最大重试次数,请稍后再试','mcpStatus.retrying','API\x20密钥不能为空','object','mcpStatus.maxRetriesExceeded','hasOwnProperty','replace','mcpConfig.title','_config$','showStatus','svg','createElement','保存中...','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','MessageType','mcpConfig.connectionError.unauthorized'];_0x2e4b=function(){return _0x2c8540;};return _0x2e4b();}
@@ -1 +1 @@
1
- (function(_0x4a7c5b,_0x385a60){var _0x409868=_0x133e,_0x147f09=_0x4a7c5b();while(!![]){try{var _0x1a23cd=-parseInt(_0x409868(0xd1))/0x1+parseInt(_0x409868(0xa2))/0x2*(-parseInt(_0x409868(0xc7))/0x3)+parseInt(_0x409868(0xab))/0x4+-parseInt(_0x409868(0xcd))/0x5*(-parseInt(_0x409868(0xc2))/0x6)+parseInt(_0x409868(0xaf))/0x7*(-parseInt(_0x409868(0xa5))/0x8)+-parseInt(_0x409868(0xcf))/0x9+parseInt(_0x409868(0xd6))/0xa;if(_0x1a23cd===_0x385a60)break;else _0x147f09['push'](_0x147f09['shift']());}catch(_0xafb2f5){_0x147f09['push'](_0x147f09['shift']());}}}(_0x1369,0x55039),function(_0x450267,_0x58fcf1){var _0x4a2b26=_0x133e;typeof exports==_0x4a2b26(0xbf)&&typeof module<'u'?module[_0x4a2b26(0xca)]=_0x58fcf1():typeof define==_0x4a2b26(0xa9)&&define['amd']?define(_0x58fcf1):(_0x450267=typeof globalThis<'u'?globalThis:_0x450267||self,_0x450267[_0x4a2b26(0xcc)]=_0x58fcf1());}(this,function(){'use strict';var _0x3f6cde=_0x133e;return{'mcpStatus':{'disconnected':_0x3f6cde(0xd7),'connecting':_0x3f6cde(0xae),'connected':_0x3f6cde(0xb7),'failed':_0x3f6cde(0xc5),'retrying':_0x3f6cde(0xb1),'unknown':_0x3f6cde(0xa6),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x3f6cde(0xb6),'sessionOccupied':_0x3f6cde(0xb2),'networkError':_0x3f6cde(0xb3),'maxRetriesExceeded':_0x3f6cde(0xc0),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3f6cde(0xc6)},'mcpConfig':{'title':_0x3f6cde(0xc9),'description':_0x3f6cde(0xad),'apiKey':_0x3f6cde(0xd2),'apiKeyPlaceholder':_0x3f6cde(0xc3),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3f6cde(0xaa),'connectionInfo':_0x3f6cde(0xa1),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3f6cde(0xd5),'configStepTitle':_0x3f6cde(0xb4),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3f6cde(0xb0),'sessionId':_0x3f6cde(0xac),'sessionIdDescription':_0x3f6cde(0xce),'authorizationDescription':_0x3f6cde(0xbb),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x3f6cde(0xc8),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x3f6cde(0xa7),'note2':_0x3f6cde(0xb8),'configSaved':_0x3f6cde(0xd0),'configError':_0x3f6cde(0xba),'apiApplyInfo':{'title':_0x3f6cde(0xbc),'description':_0x3f6cde(0xa8),'univerAiLabel':_0x3f6cde(0xd3),'getStarted':_0x3f6cde(0xd4)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3f6cde(0xbd),'invalidApiKey':_0x3f6cde(0xc4)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x3f6cde(0xa4),'connected':_0x3f6cde(0xb9),'failed':_0x3f6cde(0xa3),'retrying':_0x3f6cde(0xcb)},'connectionError':{'missingApiKey':_0x3f6cde(0xbe),'invalidApiKey':_0x3f6cde(0xc1),'sessionOccupied':_0x3f6cde(0xb5),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));function _0x133e(_0x4daac7,_0x4f37ab){var _0x13696c=_0x1369();return _0x133e=function(_0x133eeb,_0x699fc3){_0x133eeb=_0x133eeb-0xa1;var _0xd4ff23=_0x13696c[_0x133eeb];return _0xd4ff23;},_0x133e(_0x4daac7,_0x4f37ab);}function _0x1369(){var _0x187668=['function','Enable\x20authentication\x20for\x20secure\x20connections','1857640uxMfug','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','9205GfPOIa','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Retrying...','MCP:\x20Session\x20Occupied','MCP:\x20Network\x20Error','Configuration\x20Steps:','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connected','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','What\x20is\x20API\x20Key?','Invalid\x20configuration','API\x20key\x20is\x20required\x20to\x20connect','object','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','66Ytkjkz','Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','Click\x20to\x20configure\x20MCP','806241DDhUQs','Max\x20Retries','MCP\x20Configuration','exports','Retrying...','UniverProMcpUiCaES','272135uvtiyk','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','5359212RUfQAT','Configuration\x20saved\x20successfully','153986yPSKuR','API\x20Key','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','9757630TWyBuD','MCP\x20Disconnected','MCP\x20Client\x20Configuration','4YAGZwN','Connection\x20Failed','Connecting...','2456TOUrKn','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x1369=function(){return _0x187668;};return _0x1369();}
1
+ function _0x34f4(_0x1ed252,_0x54444c){var _0x5920a2=_0x5920();return _0x34f4=function(_0x34f490,_0x241ded){_0x34f490=_0x34f490-0x18f;var _0x4e642e=_0x5920a2[_0x34f490];return _0x4e642e;},_0x34f4(_0x1ed252,_0x54444c);}(function(_0x17a2f0,_0x5062fb){var _0x9721d7=_0x34f4,_0x163cd3=_0x17a2f0();while(!![]){try{var _0x5b4922=-parseInt(_0x9721d7(0x1ae))/0x1+-parseInt(_0x9721d7(0x1ba))/0x2+-parseInt(_0x9721d7(0x1be))/0x3*(-parseInt(_0x9721d7(0x1b1))/0x4)+parseInt(_0x9721d7(0x1b9))/0x5+-parseInt(_0x9721d7(0x1bf))/0x6*(parseInt(_0x9721d7(0x198))/0x7)+-parseInt(_0x9721d7(0x191))/0x8*(parseInt(_0x9721d7(0x19b))/0x9)+parseInt(_0x9721d7(0x1c3))/0xa;if(_0x5b4922===_0x5062fb)break;else _0x163cd3['push'](_0x163cd3['shift']());}catch(_0x1d4a4a){_0x163cd3['push'](_0x163cd3['shift']());}}}(_0x5920,0x73da6),function(_0x47f1ea,_0x3ee68f){var _0x4d7755=_0x34f4;typeof exports==_0x4d7755(0x197)&&typeof module<'u'?module[_0x4d7755(0x199)]=_0x3ee68f():typeof define==_0x4d7755(0x1b5)&&define[_0x4d7755(0x1a4)]?define(_0x3ee68f):(_0x47f1ea=typeof globalThis<'u'?globalThis:_0x47f1ea||self,_0x47f1ea[_0x4d7755(0x1b8)]=_0x3ee68f());}(this,function(){'use strict';var _0x2b46d1=_0x34f4;return{'mcpStatus':{'disconnected':_0x2b46d1(0x1bb),'connecting':_0x2b46d1(0x192),'connected':_0x2b46d1(0x1b3),'failed':_0x2b46d1(0x18f),'retrying':_0x2b46d1(0x1bd),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2b46d1(0x1b2),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2b46d1(0x1c5),'clickToConnect':_0x2b46d1(0x1ac),'clickToConfigure':_0x2b46d1(0x1c6)},'mcpConfig':{'title':_0x2b46d1(0x19d),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x2b46d1(0x1c0),'apiKeyHint':_0x2b46d1(0x1c4),'enableAuth':_0x2b46d1(0x1bc),'enableAuthHint':_0x2b46d1(0x1a5),'connectionInfo':_0x2b46d1(0x1a9),'mcpClientConfig':_0x2b46d1(0x1a9),'configInstructions':_0x2b46d1(0x1b6),'configStepTitle':_0x2b46d1(0x1b0),'configStep1':_0x2b46d1(0x1c2),'configStep2':_0x2b46d1(0x1aa),'configStep3':_0x2b46d1(0x1ab),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2b46d1(0x1a0),'configParameters':_0x2b46d1(0x1a7),'maxRetries':_0x2b46d1(0x1a2),'save':_0x2b46d1(0x1a1),'saving':_0x2b46d1(0x1a8),'note1':_0x2b46d1(0x19a),'note2':_0x2b46d1(0x1af),'configSaved':_0x2b46d1(0x1a6),'configError':_0x2b46d1(0x1b7),'apiApplyInfo':{'title':_0x2b46d1(0x195),'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':_0x2b46d1(0x1c1),'getStarted':_0x2b46d1(0x196)},'validation':{'apiKeyRequired':_0x2b46d1(0x19f),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2b46d1(0x19c),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2b46d1(0x19e),'connected':_0x2b46d1(0x194),'failed':_0x2b46d1(0x193),'retrying':_0x2b46d1(0x1b4)},'connectionError':{'unauthorized':_0x2b46d1(0x190),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x2b46d1(0x1a3),'maxRetriesExceeded':_0x2b46d1(0x1ad)}}};}));function _0x5920(){var _0x589864=['Failed\x20to\x20save\x20configuration','UniverProMcpUiCaES','2011130ZuGTDG','1124698DLirPN','MCP\x20Disconnected','Enable\x20Authentication','MCP\x20Retrying...','111EUcmnz','2308338suFUtP','Enter\x20your\x20API\x20key','Univer\x20AI\x20Console','Copy\x20the\x20JSON\x20configuration\x20below','31103690ZPiltg','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','40eElvbV','MCP\x20Connecting...','Connection\x20Failed','Connected','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','object','14oyJfVN','exports','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1593387usSwtk','Invalid\x20configuration','MCP\x20Configuration','Connecting...','API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','Save\x20Configuration','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','amd','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Saving...','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','840809rePQtA','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Steps:','2136nAgcSp','MCP:\x20Unauthorized','MCP\x20Connected','Retrying...','function','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:'];_0x5920=function(){return _0x589864;};return _0x5920();}
@@ -1 +1 @@
1
- function _0x3615(_0x2f7d0f,_0x5c33f7){var _0x21a8df=_0x21a8();return _0x3615=function(_0x3615c9,_0x2553e0){_0x3615c9=_0x3615c9-0x1e0;var _0x6466e3=_0x21a8df[_0x3615c9];return _0x6466e3;},_0x3615(_0x2f7d0f,_0x5c33f7);}(function(_0x213151,_0x365b9a){var _0x353600=_0x3615,_0x510fe9=_0x213151();while(!![]){try{var _0x4a1e77=parseInt(_0x353600(0x217))/0x1*(parseInt(_0x353600(0x204))/0x2)+parseInt(_0x353600(0x1ec))/0x3*(-parseInt(_0x353600(0x1fd))/0x4)+-parseInt(_0x353600(0x1e7))/0x5*(parseInt(_0x353600(0x1fb))/0x6)+parseInt(_0x353600(0x200))/0x7+parseInt(_0x353600(0x1e0))/0x8+-parseInt(_0x353600(0x1f7))/0x9*(-parseInt(_0x353600(0x1ff))/0xa)+-parseInt(_0x353600(0x210))/0xb*(-parseInt(_0x353600(0x1f9))/0xc);if(_0x4a1e77===_0x365b9a)break;else _0x510fe9['push'](_0x510fe9['shift']());}catch(_0x234d94){_0x510fe9['push'](_0x510fe9['shift']());}}}(_0x21a8,0x5a3eb),function(_0x1c64eb,_0x44d830){var _0x41f30c=_0x3615;typeof exports==_0x41f30c(0x216)&&typeof module<'u'?module[_0x41f30c(0x1ee)]=_0x44d830():typeof define=='function'&&define[_0x41f30c(0x1f8)]?define(_0x44d830):(_0x1c64eb=typeof globalThis<'u'?globalThis:_0x1c64eb||self,_0x1c64eb[_0x41f30c(0x1e4)]=_0x44d830());}(this,function(){'use strict';var _0x3bc77e=_0x3615;return{'mcpStatus':{'disconnected':_0x3bc77e(0x1f4),'connecting':_0x3bc77e(0x215),'connected':_0x3bc77e(0x1e8),'failed':_0x3bc77e(0x20c),'retrying':_0x3bc77e(0x213),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x3bc77e(0x1e1),'sessionOccupied':_0x3bc77e(0x214),'networkError':_0x3bc77e(0x1f3),'maxRetriesExceeded':_0x3bc77e(0x211),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3bc77e(0x1e6),'description':_0x3bc77e(0x1e5),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x3bc77e(0x20e),'apiKeyHint':_0x3bc77e(0x1ed),'enableAuth':_0x3bc77e(0x1f6),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x3bc77e(0x206),'mcpClientConfig':_0x3bc77e(0x206),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3bc77e(0x205),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3bc77e(0x1e3),'sessionId':_0x3bc77e(0x1fe),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3bc77e(0x20f),'maxRetries':_0x3bc77e(0x1e2),'save':_0x3bc77e(0x1e9),'saving':_0x3bc77e(0x1ef),'note1':_0x3bc77e(0x202),'note2':_0x3bc77e(0x1f2),'configSaved':_0x3bc77e(0x1eb),'configError':_0x3bc77e(0x208),'apiApplyInfo':{'title':_0x3bc77e(0x203),'description':_0x3bc77e(0x1fc),'univerAiLabel':_0x3bc77e(0x1fa),'getStarted':_0x3bc77e(0x20b)},'validation':{'apiKeyRequired':_0x3bc77e(0x209),'apiKeyTooShort':_0x3bc77e(0x207),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3bc77e(0x201)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x3bc77e(0x20a),'connected':_0x3bc77e(0x1ea),'failed':'Connection\x20Failed','retrying':_0x3bc77e(0x1f0)},'connectionError':{'missingApiKey':_0x3bc77e(0x1f1),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x3bc77e(0x212),'networkError':_0x3bc77e(0x20d),'maxRetriesExceeded':_0x3bc77e(0x1f5)}}};}));function _0x21a8(){var _0x599408=['Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enter\x20your\x20API\x20key','Configuration\x20Parameters:','11cekUmk','MCP:\x20Max\x20Retries\x20Exceeded','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','MCP:\x20Session\x20Occupied','MCP\x20Connecting...','object','215222zlCyPk','981368QdFuUG','MCP:\x20Invalid\x20API\x20Key','Max\x20Retries','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','UniverProMcpUiEnUS','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Configuration','597755RwbbXh','MCP\x20Connected','Save\x20Configuration','Connected','Configuration\x20saved\x20successfully','174534WNBjEM','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','exports','Saving...','Retrying...','API\x20key\x20is\x20required\x20to\x20connect','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','MCP\x20Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20Authentication','591138KulwIs','amd','4205724BUZzUw','Univer\x20AI\x20Console','30dZvzwk','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','8BwkJNP','Session\x20ID','10mCSpnR','801360jNsDGP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','4uKlhse','Configuration\x20Steps:','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed'];_0x21a8=function(){return _0x599408;};return _0x21a8();}
1
+ function _0x574f(_0x45e09f,_0x3b9a72){var _0x328094=_0x3280();return _0x574f=function(_0x574f28,_0x55ddfb){_0x574f28=_0x574f28-0x16a;var _0xa6f10f=_0x328094[_0x574f28];return _0xa6f10f;},_0x574f(_0x45e09f,_0x3b9a72);}function _0x3280(){var _0x2fe3b3=['Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connection\x20Failed','MCP:\x20Network\x20Error','function','9205952sxjgAy','What\x20is\x20API\x20Key?','281615RWYIhz','Saving...','22399ebRDCW','Max\x20Retries','Get\x20your\x20API\x20key\x20in\x20seconds','amd','14cdDsmb','Enable\x20Authentication','MCP\x20Disconnected','UniverProMcpUiEnUS','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connected','Save\x20Configuration','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Parameters:','Univer\x20AI\x20Console','116poRlxc','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connecting...','API\x20key\x20is\x20required','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1574568LNLPzN','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','object','Connecting...','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','8661429FacDri','Configuration\x20saved\x20successfully','MCP\x20Retrying...','645939ALzMSL','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','6304620nToiaL','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connection\x20Failed','Enter\x20your\x20API\x20key'];_0x3280=function(){return _0x2fe3b3;};return _0x3280();}(function(_0x3ccca7,_0x90e2e3){var _0x18dc8b=_0x574f,_0x3eee67=_0x3ccca7();while(!![]){try{var _0x199f35=parseInt(_0x18dc8b(0x177))/0x1*(parseInt(_0x18dc8b(0x17b))/0x2)+parseInt(_0x18dc8b(0x197))/0x3+parseInt(_0x18dc8b(0x191))/0x4*(parseInt(_0x18dc8b(0x175))/0x5)+-parseInt(_0x18dc8b(0x1a3))/0x6+-parseInt(_0x18dc8b(0x1a0))/0x7+-parseInt(_0x18dc8b(0x173))/0x8+parseInt(_0x18dc8b(0x19d))/0x9;if(_0x199f35===_0x90e2e3)break;else _0x3eee67['push'](_0x3eee67['shift']());}catch(_0x2f20fa){_0x3eee67['push'](_0x3eee67['shift']());}}}(_0x3280,0xf0236),function(_0x36092a,_0xfa0d1a){var _0x1aa337=_0x574f;typeof exports==_0x1aa337(0x199)&&typeof module<'u'?module['exports']=_0xfa0d1a():typeof define==_0x1aa337(0x172)&&define[_0x1aa337(0x17a)]?define(_0xfa0d1a):(_0x36092a=typeof globalThis<'u'?globalThis:_0x36092a||self,_0x36092a[_0x1aa337(0x17e)]=_0xfa0d1a());}(this,function(){'use strict';var _0x41d23b=_0x574f;return{'mcpStatus':{'disconnected':_0x41d23b(0x17d),'connecting':_0x41d23b(0x194),'connected':_0x41d23b(0x186),'failed':_0x41d23b(0x16a),'retrying':_0x41d23b(0x19f),'unknown':_0x41d23b(0x188),'unauthorized':_0x41d23b(0x189),'sessionOccupied':_0x41d23b(0x1a1),'networkError':_0x41d23b(0x171),'maxRetriesExceeded':_0x41d23b(0x185),'clickToConnect':_0x41d23b(0x16c),'clickToConfigure':_0x41d23b(0x19b)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x41d23b(0x198),'apiKey':_0x41d23b(0x182),'apiKeyPlaceholder':_0x41d23b(0x16b),'apiKeyHint':_0x41d23b(0x1a5),'enableAuth':_0x41d23b(0x17c),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x41d23b(0x1a2),'mcpClientConfig':_0x41d23b(0x1a2),'configInstructions':_0x41d23b(0x184),'configStepTitle':_0x41d23b(0x1a4),'configStep1':_0x41d23b(0x16e),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x41d23b(0x18e),'sessionId':'Session\x20ID','sessionIdDescription':_0x41d23b(0x183),'authorizationDescription':_0x41d23b(0x1a6),'configParameters':_0x41d23b(0x18f),'maxRetries':_0x41d23b(0x178),'save':_0x41d23b(0x187),'saving':_0x41d23b(0x176),'note1':_0x41d23b(0x17f),'note2':_0x41d23b(0x180),'configSaved':_0x41d23b(0x19e),'configError':_0x41d23b(0x19c),'apiApplyInfo':{'title':_0x41d23b(0x174),'description':_0x41d23b(0x16f),'univerAiLabel':_0x41d23b(0x190),'getStarted':_0x41d23b(0x179)},'validation':{'apiKeyRequired':_0x41d23b(0x195),'apiKeyTooShort':_0x41d23b(0x196),'invalidConfig':_0x41d23b(0x16d),'invalidApiKey':_0x41d23b(0x181)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x41d23b(0x19a),'connected':_0x41d23b(0x18c),'failed':_0x41d23b(0x170),'retrying':_0x41d23b(0x18b)},'connectionError':{'unauthorized':_0x41d23b(0x193),'sessionOccupied':_0x41d23b(0x192),'networkError':_0x41d23b(0x18d),'maxRetriesExceeded':_0x41d23b(0x18a)}}};}));
@@ -1 +1 @@
1
- function _0x1391(){var _0x51a795=['MCP:\x20Max\x20Retries\x20Exceeded','2422332HYsywF','MCP:\x20Network\x20Error','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session\x20ID','MCP\x20Configuration','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed','Configuration\x20Parameters:','Univer\x20AI\x20Console','597516ITToIc','exports','Enter\x20your\x20API\x20key','546MGQaKt','MCP\x20Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','6658080aRxrJq','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','API\x20key\x20is\x20required','Invalid\x20configuration','Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connected','MCP:\x20API\x20Key\x20Missing','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','Disconnected','Connected','Configuration\x20Steps:','292103QGkBWY','41433OSjLDG','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','112qmhQkK','amd','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Saving...','MCP\x20Client\x20Configuration','function','337KRBuxB','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','MCP\x20Connecting...','UniverProMcpUiEsES','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Invalid\x20API\x20Key','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Failed\x20to\x20save\x20configuration','Connecting...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','18qQMQCO','151270lGAUxt'];_0x1391=function(){return _0x51a795;};return _0x1391();}function _0x859d(_0x35cca8,_0x58c0ec){var _0x13910d=_0x1391();return _0x859d=function(_0x859da0,_0x3ec9f3){_0x859da0=_0x859da0-0x70;var _0x37f518=_0x13910d[_0x859da0];return _0x37f518;},_0x859d(_0x35cca8,_0x58c0ec);}(function(_0x126a35,_0x319c3b){var _0xe33640=_0x859d,_0x2c72cb=_0x126a35();while(!![]){try{var _0x1bbf01=parseInt(_0xe33640(0x88))/0x1*(-parseInt(_0xe33640(0xa5))/0x2)+parseInt(_0xe33640(0x80))/0x3+parseInt(_0xe33640(0xa2))/0x4+-parseInt(_0xe33640(0x97))/0x5*(-parseInt(_0xe33640(0x96))/0x6)+parseInt(_0xe33640(0x7f))/0x7*(parseInt(_0xe33640(0x82))/0x8)+parseInt(_0xe33640(0x99))/0x9+-parseInt(_0xe33640(0x70))/0xa;if(_0x1bbf01===_0x319c3b)break;else _0x2c72cb['push'](_0x2c72cb['shift']());}catch(_0x3d96a3){_0x2c72cb['push'](_0x2c72cb['shift']());}}}(_0x1391,0x55539),function(_0x2bf62a,_0x2ea6ac){var _0x533e86=_0x859d;typeof exports=='object'&&typeof module<'u'?module[_0x533e86(0xa3)]=_0x2ea6ac():typeof define==_0x533e86(0x87)&&define[_0x533e86(0x83)]?define(_0x2ea6ac):(_0x2bf62a=typeof globalThis<'u'?globalThis:_0x2bf62a||self,_0x2bf62a[_0x533e86(0x8c)]=_0x2ea6ac());}(this,function(){'use strict';var _0x41c2a7=_0x859d;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x41c2a7(0x8b),'connected':_0x41c2a7(0x78),'failed':_0x41c2a7(0x9f),'retrying':_0x41c2a7(0xa6),'unknown':_0x41c2a7(0x8a),'missingApiKey':_0x41c2a7(0x79),'invalidApiKey':_0x41c2a7(0x90),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x41c2a7(0x9a),'maxRetriesExceeded':_0x41c2a7(0x98),'clickToConnect':_0x41c2a7(0x91),'clickToConfigure':_0x41c2a7(0x7b)},'mcpConfig':{'title':_0x41c2a7(0x9d),'description':_0x41c2a7(0x8d),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x41c2a7(0xa4),'apiKeyHint':_0x41c2a7(0x8e),'enableAuth':_0x41c2a7(0x7a),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x41c2a7(0x86),'mcpClientConfig':_0x41c2a7(0x86),'configInstructions':_0x41c2a7(0x76),'configStepTitle':_0x41c2a7(0x7e),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x41c2a7(0x84),'configStep3':_0x41c2a7(0x81),'sessionId':_0x41c2a7(0x9c),'sessionIdDescription':_0x41c2a7(0xa7),'authorizationDescription':_0x41c2a7(0x8f),'configParameters':_0x41c2a7(0xa0),'maxRetries':'Max\x20Retries','save':_0x41c2a7(0xa8),'saving':_0x41c2a7(0x85),'note1':_0x41c2a7(0xa9),'note2':_0x41c2a7(0x92),'configSaved':_0x41c2a7(0x72),'configError':_0x41c2a7(0x93),'apiApplyInfo':{'title':_0x41c2a7(0x9e),'description':_0x41c2a7(0x9b),'univerAiLabel':_0x41c2a7(0xa1),'getStarted':_0x41c2a7(0x71)},'validation':{'apiKeyRequired':_0x41c2a7(0x73),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x41c2a7(0x74),'invalidApiKey':_0x41c2a7(0x89)},'connectionStatus':{'disconnected':_0x41c2a7(0x7c),'connecting':_0x41c2a7(0x94),'connected':_0x41c2a7(0x7d),'failed':'Connection\x20Failed','retrying':_0x41c2a7(0x75)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x41c2a7(0x77),'sessionOccupied':_0x41c2a7(0x95),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
1
+ function _0x5c21(){var _0x539285=['UniverProMcpUiEsES','Configuration\x20Steps:','MCP\x20Connected','Invalid\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connected','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','33906FyGuXR','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','object','Saving...','80959109WdIoON','Configuration\x20saved\x20successfully','MCP\x20Connecting...','Failed\x20to\x20save\x20configuration','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','MCP:\x20Unauthorized','exports','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','MCP\x20Disconnected','function','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2170BNPXvU','34bfyqOb','50977MRAxhI','45gKnJMt','MCP\x20Unknown\x20Status','MCP\x20Retrying...','Enter\x20your\x20API\x20key','14943500OEXbWX','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','1743784YgzjPJ','7410650TKYAhB','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Univer\x20AI\x20Console','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','4cGEqsu','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','4839087psJdnr','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connecting...','MCP\x20Configuration'];_0x5c21=function(){return _0x539285;};return _0x5c21();}function _0x4a6c(_0x43cdf4,_0x5f18fa){var _0x5c21e3=_0x5c21();return _0x4a6c=function(_0x4a6cd6,_0x3361c7){_0x4a6cd6=_0x4a6cd6-0x11b;var _0x2f5eae=_0x5c21e3[_0x4a6cd6];return _0x2f5eae;},_0x4a6c(_0x43cdf4,_0x5f18fa);}(function(_0x1ffb84,_0x1a073d){var _0x49b8fd=_0x4a6c,_0x2206f7=_0x1ffb84();while(!![]){try{var _0x1db75e=parseInt(_0x49b8fd(0x14a))/0x1*(parseInt(_0x49b8fd(0x149))/0x2)+parseInt(_0x49b8fd(0x128))/0x3*(parseInt(_0x49b8fd(0x121))/0x4)+parseInt(_0x49b8fd(0x11c))/0x5+-parseInt(_0x49b8fd(0x136))/0x6*(-parseInt(_0x49b8fd(0x148))/0x7)+parseInt(_0x49b8fd(0x11b))/0x8*(parseInt(_0x49b8fd(0x14b))/0x9)+parseInt(_0x49b8fd(0x14f))/0xa+-parseInt(_0x49b8fd(0x13b))/0xb;if(_0x1db75e===_0x1a073d)break;else _0x2206f7['push'](_0x2206f7['shift']());}catch(_0x419e5f){_0x2206f7['push'](_0x2206f7['shift']());}}}(_0x5c21,0xe4f92),function(_0x474daf,_0x362cee){var _0x3c9b2b=_0x4a6c;typeof exports==_0x3c9b2b(0x139)&&typeof module<'u'?module[_0x3c9b2b(0x142)]=_0x362cee():typeof define==_0x3c9b2b(0x146)&&define['amd']?define(_0x362cee):(_0x474daf=typeof globalThis<'u'?globalThis:_0x474daf||self,_0x474daf[_0x3c9b2b(0x12e)]=_0x362cee());}(this,function(){'use strict';var _0x1ad66f=_0x4a6c;return{'mcpStatus':{'disconnected':_0x1ad66f(0x145),'connecting':_0x1ad66f(0x13d),'connected':_0x1ad66f(0x130),'failed':_0x1ad66f(0x144),'retrying':_0x1ad66f(0x14d),'unknown':_0x1ad66f(0x14c),'unauthorized':_0x1ad66f(0x141),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1ad66f(0x123),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1ad66f(0x13f)},'mcpConfig':{'title':_0x1ad66f(0x12d),'description':_0x1ad66f(0x143),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1ad66f(0x14e),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1ad66f(0x126),'enableAuthHint':_0x1ad66f(0x150),'connectionInfo':_0x1ad66f(0x134),'mcpClientConfig':_0x1ad66f(0x134),'configInstructions':_0x1ad66f(0x12a),'configStepTitle':_0x1ad66f(0x12f),'configStep1':_0x1ad66f(0x120),'configStep2':_0x1ad66f(0x11d),'configStep3':_0x1ad66f(0x147),'sessionId':'Session\x20ID','sessionIdDescription':_0x1ad66f(0x135),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1ad66f(0x140),'maxRetries':'Max\x20Retries','save':_0x1ad66f(0x124),'saving':_0x1ad66f(0x13a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1ad66f(0x13c),'configError':_0x1ad66f(0x13e),'apiApplyInfo':{'title':_0x1ad66f(0x152),'description':_0x1ad66f(0x125),'univerAiLabel':_0x1ad66f(0x11e),'getStarted':_0x1ad66f(0x127)},'validation':{'apiKeyRequired':_0x1ad66f(0x151),'apiKeyTooShort':_0x1ad66f(0x129),'invalidConfig':_0x1ad66f(0x131),'invalidApiKey':_0x1ad66f(0x12b)},'connectionStatus':{'disconnected':_0x1ad66f(0x137),'connecting':_0x1ad66f(0x12c),'connected':_0x1ad66f(0x133),'failed':'Connection\x20Failed','retrying':_0x1ad66f(0x11f)},'connectionError':{'unauthorized':_0x1ad66f(0x122),'sessionOccupied':_0x1ad66f(0x138),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1ad66f(0x132)}}};}));
@@ -1 +1 @@
1
- function _0x4f70(){var _0x3a16dd=['2411759YfNJXk','Click\x20to\x20connect\x20MCP','38004GsWiqx','Get\x20your\x20API\x20key\x20in\x20seconds','414LRZxNx','1148685vdDzlT','Session\x20ID','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Steps:','MCP\x20Client\x20Configuration','Click\x20to\x20configure\x20MCP','Max\x20Retries','38436OeLGyj','Configuration\x20saved\x20successfully','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','amd','11442KzREHV','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','44Pmynwv','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20configuration','MCP:\x20Invalid\x20API\x20Key','exports','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Univer\x20AI\x20Console','MCP:\x20API\x20Key\x20Missing','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','12qXwWYb','MCP\x20Connecting...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Disconnected','MCP:\x20Session\x20Occupied','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connection\x20Failed','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','22SclyaH','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','Connecting...','Connected','1456670PKAHAh','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Configuration','6cNftRq','Retrying...','18112fPtFmv','Connection\x20Failed'];_0x4f70=function(){return _0x3a16dd;};return _0x4f70();}function _0x1d81(_0x16b714,_0x21ad42){var _0x4f703d=_0x4f70();return _0x1d81=function(_0x1d81d0,_0x385390){_0x1d81d0=_0x1d81d0-0x78;var _0x3ec445=_0x4f703d[_0x1d81d0];return _0x3ec445;},_0x1d81(_0x16b714,_0x21ad42);}(function(_0x2ce51b,_0x4551f4){var _0x134896=_0x1d81,_0x2f444e=_0x2ce51b();while(!![]){try{var _0x5c1622=parseInt(_0x134896(0xa7))/0x1*(parseInt(_0x134896(0x8e))/0x2)+-parseInt(_0x134896(0x7e))/0x3*(-parseInt(_0x134896(0x80))/0x4)+parseInt(_0x134896(0xaa))/0x5+-parseInt(_0x134896(0xa1))/0x6*(parseInt(_0x134896(0xa5))/0x7)+-parseInt(_0x134896(0xa3))/0x8*(parseInt(_0x134896(0xa9))/0x9)+-parseInt(_0x134896(0x9e))/0xa*(-parseInt(_0x134896(0x99))/0xb)+parseInt(_0x134896(0x79))/0xc;if(_0x5c1622===_0x4551f4)break;else _0x2f444e['push'](_0x2f444e['shift']());}catch(_0x26b74c){_0x2f444e['push'](_0x2f444e['shift']());}}}(_0x4f70,0x545e3),function(_0x3a3ef1,_0x233bc0){var _0x5bfae2=_0x1d81;typeof exports=='object'&&typeof module<'u'?module[_0x5bfae2(0x84)]=_0x233bc0():typeof define=='function'&&define[_0x5bfae2(0x7d)]?define(_0x233bc0):(_0x3a3ef1=typeof globalThis<'u'?globalThis:_0x3a3ef1||self,_0x3a3ef1['UniverProMcpUiFaIR']=_0x233bc0());}(this,function(){'use strict';var _0x2d3f2a=_0x1d81;return{'mcpStatus':{'disconnected':_0x2d3f2a(0x89),'connecting':_0x2d3f2a(0x8f),'connected':'MCP\x20Connected','failed':_0x2d3f2a(0x97),'retrying':_0x2d3f2a(0x9b),'unknown':_0x2d3f2a(0x86),'missingApiKey':_0x2d3f2a(0x8c),'invalidApiKey':_0x2d3f2a(0x83),'sessionOccupied':_0x2d3f2a(0x95),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2d3f2a(0xa6),'clickToConfigure':_0x2d3f2a(0xaf)},'mcpConfig':{'title':_0x2d3f2a(0xa0),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x2d3f2a(0x87),'apiKeyHint':_0x2d3f2a(0x96),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2d3f2a(0x93),'connectionInfo':_0x2d3f2a(0xae),'mcpClientConfig':_0x2d3f2a(0xae),'configInstructions':_0x2d3f2a(0x90),'configStepTitle':_0x2d3f2a(0xad),'configStep1':_0x2d3f2a(0x91),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2d3f2a(0x7b),'sessionId':_0x2d3f2a(0xab),'sessionIdDescription':_0x2d3f2a(0x8d),'authorizationDescription':_0x2d3f2a(0x7c),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x2d3f2a(0x78),'save':_0x2d3f2a(0x92),'saving':'Saving...','note1':_0x2d3f2a(0x8a),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2d3f2a(0x7a),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2d3f2a(0xac),'univerAiLabel':_0x2d3f2a(0x8b),'getStarted':_0x2d3f2a(0xa8)},'validation':{'apiKeyRequired':_0x2d3f2a(0x85),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2d3f2a(0x82),'invalidApiKey':_0x2d3f2a(0x9f)},'connectionStatus':{'disconnected':_0x2d3f2a(0x94),'connecting':_0x2d3f2a(0x9c),'connected':_0x2d3f2a(0x9d),'failed':_0x2d3f2a(0xa4),'retrying':_0x2d3f2a(0xa2)},'connectionError':{'missingApiKey':_0x2d3f2a(0x88),'invalidApiKey':_0x2d3f2a(0x98),'sessionOccupied':_0x2d3f2a(0x7f),'networkError':_0x2d3f2a(0x81),'maxRetriesExceeded':_0x2d3f2a(0x9a)}}};}));
1
+ function _0x2947(_0x35a6d3,_0x1dbf3c){var _0x5c2483=_0x5c24();return _0x2947=function(_0x2947c1,_0x5266ec){_0x2947c1=_0x2947c1-0x13f;var _0x548cbd=_0x5c2483[_0x2947c1];return _0x548cbd;},_0x2947(_0x35a6d3,_0x1dbf3c);}function _0x5c24(){var _0x4f90a3=['122mladmA','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','amd','MCP:\x20Session\x20ID\x20Occupied','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully','Connected','Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','78egvsOn','93075yqibhf','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Unauthorized','object','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','23507hZbpUn','MCP\x20Connected','Disconnected','Max\x20Retries','MCP\x20Unknown\x20Status','exports','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','6AXbBeE','84rcctqe','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','UniverProMcpUiFaIR','What\x20is\x20API\x20Key?','21zKbHLH','1134544DhXHqk','Session\x20ID','MCP\x20Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1557747YAETiY','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','Retrying...','Invalid\x20configuration','MCP\x20Connection\x20Failed','34004NdfzqG','3310910YBEDqm','API\x20key\x20is\x20required','1879pBkExj','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Network\x20Error','MCP\x20Disconnected','Enter\x20your\x20API\x20key'];_0x5c24=function(){return _0x4f90a3;};return _0x5c24();}(function(_0x5c9011,_0x1e9c2a){var _0x1300f7=_0x2947,_0x916a93=_0x5c9011();while(!![]){try{var _0x45cbce=-parseInt(_0x1300f7(0x16c))/0x1*(parseInt(_0x1300f7(0x171))/0x2)+parseInt(_0x1300f7(0x151))/0x3*(-parseInt(_0x1300f7(0x169))/0x4)+parseInt(_0x1300f7(0x145))/0x5*(-parseInt(_0x1300f7(0x144))/0x6)+-parseInt(_0x1300f7(0x15a))/0x7*(-parseInt(_0x1300f7(0x15b))/0x8)+-parseInt(_0x1300f7(0x161))/0x9+parseInt(_0x1300f7(0x16a))/0xa+parseInt(_0x1300f7(0x14a))/0xb*(parseInt(_0x1300f7(0x152))/0xc);if(_0x45cbce===_0x1e9c2a)break;else _0x916a93['push'](_0x916a93['shift']());}catch(_0x122aa1){_0x916a93['push'](_0x916a93['shift']());}}}(_0x5c24,0x36e25),function(_0x467d56,_0x21d7a7){var _0x120972=_0x2947;typeof exports==_0x120972(0x148)&&typeof module<'u'?module[_0x120972(0x14f)]=_0x21d7a7():typeof define=='function'&&define[_0x120972(0x175)]?define(_0x21d7a7):(_0x467d56=typeof globalThis<'u'?globalThis:_0x467d56||self,_0x467d56[_0x120972(0x158)]=_0x21d7a7());}(this,function(){'use strict';var _0x42d88b=_0x2947;return{'mcpStatus':{'disconnected':_0x42d88b(0x16f),'connecting':'MCP\x20Connecting...','connected':_0x42d88b(0x14b),'failed':_0x42d88b(0x168),'retrying':_0x42d88b(0x15d),'unknown':_0x42d88b(0x14e),'unauthorized':_0x42d88b(0x147),'sessionOccupied':_0x42d88b(0x176),'networkError':_0x42d88b(0x16e),'maxRetriesExceeded':_0x42d88b(0x146),'clickToConnect':_0x42d88b(0x178),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x42d88b(0x156),'apiKey':_0x42d88b(0x154),'apiKeyPlaceholder':_0x42d88b(0x170),'apiKeyHint':_0x42d88b(0x153),'enableAuth':_0x42d88b(0x177),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x42d88b(0x173),'configInstructions':_0x42d88b(0x150),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x42d88b(0x163),'configStep2':_0x42d88b(0x160),'configStep3':_0x42d88b(0x15f),'sessionId':_0x42d88b(0x15c),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x42d88b(0x14d),'save':_0x42d88b(0x157),'saving':_0x42d88b(0x164),'note1':_0x42d88b(0x149),'note2':_0x42d88b(0x17a),'configSaved':_0x42d88b(0x140),'configError':_0x42d88b(0x155),'apiApplyInfo':{'title':_0x42d88b(0x159),'description':_0x42d88b(0x13f),'univerAiLabel':_0x42d88b(0x172),'getStarted':_0x42d88b(0x165)},'validation':{'apiKeyRequired':_0x42d88b(0x16b),'apiKeyTooShort':_0x42d88b(0x16d),'invalidConfig':_0x42d88b(0x167),'invalidApiKey':_0x42d88b(0x179)},'connectionStatus':{'disconnected':_0x42d88b(0x14c),'connecting':_0x42d88b(0x142),'connected':_0x42d88b(0x141),'failed':_0x42d88b(0x162),'retrying':_0x42d88b(0x166)},'connectionError':{'unauthorized':_0x42d88b(0x143),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x42d88b(0x15e),'maxRetriesExceeded':_0x42d88b(0x174)}}};}));
@@ -1 +1 @@
1
- function _0x4964(_0x2b9407,_0x6283bf){var _0x4b04aa=_0x4b04();return _0x4964=function(_0x4964ce,_0x2d417b){_0x4964ce=_0x4964ce-0xa5;var _0x5cd121=_0x4b04aa[_0x4964ce];return _0x5cd121;},_0x4964(_0x2b9407,_0x6283bf);}(function(_0x13e51e,_0x59ee69){var _0x3e129f=_0x4964,_0x365519=_0x13e51e();while(!![]){try{var _0x60e744=parseInt(_0x3e129f(0xac))/0x1+parseInt(_0x3e129f(0xc4))/0x2+parseInt(_0x3e129f(0xaa))/0x3*(parseInt(_0x3e129f(0xaf))/0x4)+parseInt(_0x3e129f(0xb7))/0x5*(parseInt(_0x3e129f(0xbc))/0x6)+-parseInt(_0x3e129f(0xb3))/0x7*(-parseInt(_0x3e129f(0xbf))/0x8)+parseInt(_0x3e129f(0xd7))/0x9+parseInt(_0x3e129f(0xc3))/0xa*(-parseInt(_0x3e129f(0xa7))/0xb);if(_0x60e744===_0x59ee69)break;else _0x365519['push'](_0x365519['shift']());}catch(_0x627dab){_0x365519['push'](_0x365519['shift']());}}}(_0x4b04,0x9939c),function(_0x592af4,_0x4b5ce3){var _0x2fad4b=_0x4964;typeof exports==_0x2fad4b(0xde)&&typeof module<'u'?module['exports']=_0x4b5ce3():typeof define==_0x2fad4b(0xc0)&&define[_0x2fad4b(0xbe)]?define(_0x4b5ce3):(_0x592af4=typeof globalThis<'u'?globalThis:_0x592af4||self,_0x592af4[_0x2fad4b(0xab)]=_0x4b5ce3());}(this,function(){'use strict';var _0x4af2a7=_0x4964;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4af2a7(0xbd),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4af2a7(0xa6),'unknown':_0x4af2a7(0xd6),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x4af2a7(0xc6),'sessionOccupied':_0x4af2a7(0xb5),'networkError':_0x4af2a7(0xcf),'maxRetriesExceeded':_0x4af2a7(0xc2),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4af2a7(0xdf)},'mcpConfig':{'title':_0x4af2a7(0xb1),'description':_0x4af2a7(0xcd),'apiKey':_0x4af2a7(0xb8),'apiKeyPlaceholder':_0x4af2a7(0xa8),'apiKeyHint':_0x4af2a7(0xdd),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4af2a7(0xdc),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x4af2a7(0xd1),'configInstructions':_0x4af2a7(0xce),'configStepTitle':_0x4af2a7(0xd0),'configStep1':_0x4af2a7(0xb4),'configStep2':_0x4af2a7(0xcc),'configStep3':_0x4af2a7(0xd2),'sessionId':'Session\x20ID','sessionIdDescription':_0x4af2a7(0xc8),'authorizationDescription':_0x4af2a7(0xd5),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x4af2a7(0xb2),'save':_0x4af2a7(0xad),'saving':_0x4af2a7(0xc1),'note1':_0x4af2a7(0xdb),'note2':_0x4af2a7(0xba),'configSaved':_0x4af2a7(0xd8),'configError':_0x4af2a7(0xa5),'apiApplyInfo':{'title':_0x4af2a7(0xb0),'description':_0x4af2a7(0xb6),'univerAiLabel':_0x4af2a7(0xd9),'getStarted':_0x4af2a7(0xbb)},'validation':{'apiKeyRequired':_0x4af2a7(0xc7),'apiKeyTooShort':_0x4af2a7(0xcb),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4af2a7(0xd4)},'connectionStatus':{'disconnected':_0x4af2a7(0xca),'connecting':_0x4af2a7(0xda),'connected':_0x4af2a7(0xc5),'failed':_0x4af2a7(0xa9),'retrying':_0x4af2a7(0xae)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x4af2a7(0xc9),'networkError':_0x4af2a7(0xb9),'maxRetriesExceeded':_0x4af2a7(0xd3)}}};}));function _0x4b04(){var _0x5a502f=['Retrying...','5660CxkeTS','What\x20is\x20API\x20Key?','MCP\x20Configuration','Max\x20Retries','6547149NsKaDK','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Session\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','188880VxaErb','API\x20Key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','168cIsSEr','MCP\x20Connected','amd','8DcmLZn','function','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','779910jLRMIg','1655958oolfmR','Connected','MCP:\x20Invalid\x20API\x20Key','API\x20key\x20is\x20required','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Network\x20Error','Configuration\x20Steps:','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Unknown\x20Status','2831094WToTYc','Configuration\x20saved\x20successfully','Univer\x20AI\x20Console','Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','object','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','MCP\x20Retrying...','561FNvvNL','Enter\x20your\x20API\x20key','Connection\x20Failed','2202HUCByq','UniverProMcpUiFrFR','430963GmZeez','Save\x20Configuration'];_0x4b04=function(){return _0x5a502f;};return _0x4b04();}
1
+ function _0x6ec1(){var _0x334b97=['API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20configuration','Saving...','Failed\x20to\x20save\x20configuration','Click\x20to\x20configure\x20MCP','Configuration\x20saved\x20successfully','MCP\x20Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','7aamHlM','function','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','Connected','MCP\x20Connection\x20Failed','1188852HJBxmQ','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Client\x20Configuration','2479116NBrEuR','2103306xndRGR','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication','Enable\x20authentication\x20for\x20secure\x20connections','849832NNYOtC','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Unknown\x20Status','amd','Max\x20Retries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','163061OmbpqA','API\x20Key','object','What\x20is\x20API\x20Key?','2752515SPQspA','822954gXUhZz','MCP\x20Configuration'];_0x6ec1=function(){return _0x334b97;};return _0x6ec1();}function _0xe3a9(_0xb22d8b,_0xca11cd){var _0x6ec163=_0x6ec1();return _0xe3a9=function(_0xe3a97f,_0x2359cf){_0xe3a97f=_0xe3a97f-0xae;var _0x5b8e52=_0x6ec163[_0xe3a97f];return _0x5b8e52;},_0xe3a9(_0xb22d8b,_0xca11cd);}(function(_0x56cc9f,_0x254f61){var _0x40fc79=_0xe3a9,_0x121f80=_0x56cc9f();while(!![]){try{var _0x1d610b=parseInt(_0x40fc79(0xbe))/0x1+parseInt(_0x40fc79(0xc3))/0x2+parseInt(_0x40fc79(0xd6))/0x3+-parseInt(_0x40fc79(0xdb))/0x4+parseInt(_0x40fc79(0xc2))/0x5+parseInt(_0x40fc79(0xdc))/0x6*(-parseInt(_0x40fc79(0xce))/0x7)+-parseInt(_0x40fc79(0xb6))/0x8;if(_0x1d610b===_0x254f61)break;else _0x121f80['push'](_0x121f80['shift']());}catch(_0x20a0f0){_0x121f80['push'](_0x121f80['shift']());}}}(_0x6ec1,0x6c95e),function(_0x490e5a,_0x5aa804){var _0x5882da=_0xe3a9;typeof exports==_0x5882da(0xc0)&&typeof module<'u'?module['exports']=_0x5aa804():typeof define==_0x5882da(0xcf)&&define[_0x5882da(0xbb)]?define(_0x5aa804):(_0x490e5a=typeof globalThis<'u'?globalThis:_0x490e5a||self,_0x490e5a['UniverProMcpUiFrFR']=_0x5aa804());}(this,function(){'use strict';var _0x1611da=_0xe3a9;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1611da(0xcc),'connected':'MCP\x20Connected','failed':_0x1611da(0xd5),'retrying':_0x1611da(0xd3),'unknown':_0x1611da(0xba),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1611da(0xb2),'networkError':_0x1611da(0xb8),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x1611da(0xd0),'clickToConfigure':_0x1611da(0xca)},'mcpConfig':{'title':_0x1611da(0xc4),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1611da(0xbf),'apiKeyPlaceholder':_0x1611da(0xb1),'apiKeyHint':_0x1611da(0xd2),'enableAuth':_0x1611da(0xb4),'enableAuthHint':_0x1611da(0xb5),'connectionInfo':_0x1611da(0xda),'mcpClientConfig':_0x1611da(0xda),'configInstructions':_0x1611da(0xdd),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x1611da(0xb9),'configStep2':_0x1611da(0xd9),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x1611da(0xbd),'authorizationDescription':_0x1611da(0xc6),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x1611da(0xbc),'save':'Save\x20Configuration','saving':_0x1611da(0xc8),'note1':_0x1611da(0xb7),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1611da(0xcb),'configError':_0x1611da(0xc9),'apiApplyInfo':{'title':_0x1611da(0xc1),'description':_0x1611da(0xb3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x1611da(0xd1)},'validation':{'apiKeyRequired':_0x1611da(0xc5),'apiKeyTooShort':_0x1611da(0xb0),'invalidConfig':_0x1611da(0xc7),'invalidApiKey':_0x1611da(0xae)},'connectionStatus':{'disconnected':_0x1611da(0xaf),'connecting':'Connecting...','connected':_0x1611da(0xd4),'failed':'Connection\x20Failed','retrying':_0x1611da(0xd8)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1611da(0xcd),'networkError':_0x1611da(0xd7),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));