@univerjs-pro/mcp-ui 0.10.11 → 0.10.12-nightly.202510251119

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 (46) 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.css +1 -1
  24. package/lib/index.js +1 -1
  25. package/lib/locale/ca-ES.js +1 -1
  26. package/lib/locale/en-US.js +1 -1
  27. package/lib/locale/es-ES.js +1 -1
  28. package/lib/locale/fa-IR.js +1 -1
  29. package/lib/locale/fr-FR.js +1 -1
  30. package/lib/locale/ko-KR.js +1 -1
  31. package/lib/locale/ru-RU.js +1 -1
  32. package/lib/locale/vi-VN.js +1 -1
  33. package/lib/locale/zh-CN.js +1 -1
  34. package/lib/locale/zh-TW.js +1 -1
  35. package/lib/umd/index.js +1 -1
  36. package/lib/umd/locale/ca-ES.js +1 -1
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/es-ES.js +1 -1
  39. package/lib/umd/locale/fa-IR.js +1 -1
  40. package/lib/umd/locale/fr-FR.js +1 -1
  41. package/lib/umd/locale/ko-KR.js +1 -1
  42. package/lib/umd/locale/ru-RU.js +1 -1
  43. package/lib/umd/locale/vi-VN.js +1 -1
  44. package/lib/umd/locale/zh-CN.js +1 -1
  45. package/lib/umd/locale/zh-TW.js +1 -1
  46. package/package.json +8 -8
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x4fec1a=_0x45c5;(function(_0x50d342,_0x2892fe){var _0x3144ee=_0x45c5,_0x16ad93=_0x50d342();while(!![]){try{var _0x21f968=parseInt(_0x3144ee(0x279))/0x1+parseInt(_0x3144ee(0x237))/0x2+-parseInt(_0x3144ee(0x1c6))/0x3+-parseInt(_0x3144ee(0x311))/0x4*(parseInt(_0x3144ee(0x2f4))/0x5)+parseInt(_0x3144ee(0x209))/0x6*(-parseInt(_0x3144ee(0x1b2))/0x7)+-parseInt(_0x3144ee(0x307))/0x8+parseInt(_0x3144ee(0x2df))/0x9*(parseInt(_0x3144ee(0x269))/0xa);if(_0x21f968===_0x2892fe)break;else _0x16ad93['push'](_0x16ad93['shift']());}catch(_0x265fc4){_0x16ad93['push'](_0x16ad93['shift']());}}}(_0x3613,0x72a82));var ue=Object['defineProperty'],le=(_0x338a28,_0x512fe5,_0x52246a)=>_0x512fe5 in _0x338a28?ue(_0x338a28,_0x512fe5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52246a}):_0x338a28[_0x512fe5]=_0x52246a,I=(_0x14f8f3,_0x20d1e2,_0x3e491b)=>le(_0x14f8f3,typeof _0x20d1e2!=_0x4fec1a(0x1d8)?_0x20d1e2+'':_0x20d1e2,_0x3e491b);Object[_0x4fec1a(0x2c7)](exports,Symbol[_0x4fec1a(0x1b1)],{'value':'Module'});const l=require('@univerjs/core'),t=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),S=require('@univerjs/design'),v=require('@univerjs/ui'),N=require('rxjs'),d=require('react'),A=require('@univerjs/network');var g=function(){var _0x24a71c=_0x4fec1a;return g=Object[_0x24a71c(0x1e1)]||function(_0x32e813){var _0x3a7316=_0x24a71c;for(var _0x32aae4,_0x30089b=0x1,_0x3aa714=arguments[_0x3a7316(0x30b)];_0x30089b<_0x3aa714;_0x30089b++){_0x32aae4=arguments[_0x30089b];for(var _0x48da34 in _0x32aae4)Object[_0x3a7316(0x219)][_0x3a7316(0x196)][_0x3a7316(0x1c5)](_0x32aae4,_0x48da34)&&(_0x32e813[_0x48da34]=_0x32aae4[_0x48da34]);}return _0x32e813;},g[_0x24a71c(0x258)](this,arguments);},ve=function(_0x3f0699,_0x48ae69){var _0x4f1865=_0x4fec1a,_0xf7e08a={};for(var _0x4f0aef in _0x3f0699)Object['prototype'][_0x4f1865(0x196)][_0x4f1865(0x1c5)](_0x3f0699,_0x4f0aef)&&_0x48ae69[_0x4f1865(0x2c5)](_0x4f0aef)<0x0&&(_0xf7e08a[_0x4f0aef]=_0x3f0699[_0x4f0aef]);if(_0x3f0699!=null&&typeof Object[_0x4f1865(0x2fd)]==_0x4f1865(0x298)){for(var _0x47fd33=0x0,_0x4f0aef=Object[_0x4f1865(0x2fd)](_0x3f0699);_0x47fd33<_0x4f0aef[_0x4f1865(0x30b)];_0x47fd33++)_0x48ae69[_0x4f1865(0x2c5)](_0x4f0aef[_0x47fd33])<0x0&&Object[_0x4f1865(0x219)][_0x4f1865(0x1f0)][_0x4f1865(0x1c5)](_0x3f0699,_0x4f0aef[_0x47fd33])&&(_0xf7e08a[_0x4f0aef[_0x47fd33]]=_0x3f0699[_0x4f0aef[_0x47fd33]]);}return _0xf7e08a;},_=d[_0x4fec1a(0x2d7)](function(_0x4d5964,_0x23deda){var _0xe28c68=_0x4fec1a,_0x5542df=_0x4d5964[_0xe28c68(0x252)],_0x5d3056=_0x4d5964['id'],_0x159eba=_0x4d5964[_0xe28c68(0x1a8)],_0x315e3c=_0x4d5964['extend'],_0x41228e=ve(_0x4d5964,[_0xe28c68(0x252),'id','className',_0xe28c68(0x20f)]),_0x38f0e2=_0xe28c68(0x1e9)[_0xe28c68(0x277)](_0x5d3056,'\x20')[_0xe28c68(0x277)](_0x159eba||'')[_0xe28c68(0x2f7)](),_0x207d48=d[_0xe28c68(0x2a4)]('_'[_0xe28c68(0x277)](ge()));return H(_0x5542df,''['concat'](_0x5d3056),{'defIds':_0x5542df[_0xe28c68(0x284)],'idSuffix':_0x207d48['current']},g({'ref':_0x23deda,'className':_0x38f0e2},_0x41228e),_0x315e3c);});function H(_0x55db87,_0x25feaf,_0x1f6a27,_0x55ce5b,_0x1cc1bb){var _0x596fb2=_0x4fec1a;return d[_0x596fb2(0x2a2)](_0x55db87[_0x596fb2(0x1c2)],g(g({'key':_0x25feaf},de(_0x55db87,_0x1f6a27,_0x1cc1bb)),_0x55ce5b),(Ce(_0x55db87,_0x1f6a27)[_0x596fb2(0x2fe)]||[])[_0x596fb2(0x235)](function(_0x538c23,_0x5b4afa){var _0x56f76b=_0x596fb2;return H(_0x538c23,''[_0x56f76b(0x277)](_0x25feaf,'-')[_0x56f76b(0x277)](_0x55db87[_0x56f76b(0x1c2)],'-')[_0x56f76b(0x277)](_0x5b4afa),_0x1f6a27,void 0x0,_0x1cc1bb);}));}function de(_0x5a91f8,_0x5d9b6f,_0x406e1f){var _0x528891=_0x4fec1a,_0x11d058=g({},_0x5a91f8[_0x528891(0x1c0)]);_0x406e1f!=null&&_0x406e1f[_0x528891(0x226)]&&_0x11d058[_0x528891(0x212)]==='colorChannel1'&&(_0x11d058[_0x528891(0x212)]=_0x406e1f[_0x528891(0x226)]),_0x5a91f8[_0x528891(0x1c2)]==='mask'&&_0x11d058['id']&&(_0x11d058['id']=_0x11d058['id']+_0x5d9b6f['idSuffix']),Object[_0x528891(0x20b)](_0x11d058)[_0x528891(0x2c9)](function(_0x55158c){var _0x362a77=_0x528891,_0x39f318=_0x55158c[0x0],_0x46fae6=_0x55158c[0x1];_0x39f318===_0x362a77(0x25e)&&typeof _0x46fae6=='string'&&(_0x11d058[_0x39f318]=_0x46fae6[_0x362a77(0x23d)](/url\(#(.*)\)/,_0x362a77(0x19a)[_0x362a77(0x277)](_0x5d9b6f[_0x362a77(0x1a5)],')')));});var _0x1a621a=_0x5d9b6f['defIds'];return!_0x1a621a||_0x1a621a[_0x528891(0x30b)]===0x0||(_0x5a91f8[_0x528891(0x1c2)]===_0x528891(0x230)&&_0x11d058[_0x528891(0x25c)]&&(_0x11d058[_0x528891(0x25c)]=_0x11d058[_0x528891(0x25c)]+_0x5d9b6f[_0x528891(0x1a5)]),Object[_0x528891(0x20b)](_0x11d058)[_0x528891(0x2c9)](function(_0x3858f5){var _0x334054=_0x528891,_0x43f1fd=_0x3858f5[0x0],_0x2cb864=_0x3858f5[0x1];typeof _0x2cb864==_0x334054(0x296)&&(_0x11d058[_0x43f1fd]=_0x2cb864['replace'](/url\(#(.*)\)/,'url(#$1'[_0x334054(0x277)](_0x5d9b6f['idSuffix'],')')));})),_0x11d058;}function Ce(_0x184d18,_0x4608b1){var _0x28c1e1=_0x4fec1a,_0x1a7de6,_0x488f0e=_0x4608b1[_0x28c1e1(0x284)];return!_0x488f0e||_0x488f0e['length']===0x0?_0x184d18:_0x184d18['tag']===_0x28c1e1(0x2f8)&&(!((_0x1a7de6=_0x184d18[_0x28c1e1(0x2fe)])===null||_0x1a7de6===void 0x0)&&_0x1a7de6['length'])?g(g({},_0x184d18),{'children':_0x184d18[_0x28c1e1(0x2fe)][_0x28c1e1(0x235)](function(_0x31de80){var _0x167885=_0x28c1e1;return typeof _0x31de80['attrs']['id']==_0x167885(0x296)&&_0x488f0e&&_0x488f0e[_0x167885(0x2fa)](_0x31de80[_0x167885(0x1c0)]['id'])?g(g({},_0x31de80),{'attrs':g(g({},_0x31de80['attrs']),{'id':_0x31de80[_0x167885(0x1c0)]['id']+_0x4608b1['idSuffix']})}):_0x31de80;})}):_0x184d18;}function ge(){var _0x156fb8=_0x4fec1a;return Math[_0x156fb8(0x200)]()['toString'](0x24)[_0x156fb8(0x30a)](0x2,0x8);}_[_0x4fec1a(0x2d5)]=_0x4fec1a(0x271);var fe={'tag':'svg','attrs':{'xmlns':_0x4fec1a(0x2b9),'fill':_0x4fec1a(0x236),'viewBox':_0x4fec1a(0x2d8),'width':'1em','height':_0x4fec1a(0x2b4)},'children':[{'tag':_0x4fec1a(0x1ba),'attrs':{'fill':_0x4fec1a(0x25d),'d':_0x4fec1a(0x259),'fillRule':_0x4fec1a(0x309),'clipRule':_0x4fec1a(0x309)}}]},B=d[_0x4fec1a(0x2d7)](function(_0x49a24e,_0x18172a){var _0x372612=_0x4fec1a;return d[_0x372612(0x2a2)](_,Object['assign']({},_0x49a24e,{'id':_0x372612(0x254),'ref':_0x18172a,'icon':fe}));});B[_0x4fec1a(0x2d5)]='CheckMarkIcon';var pe={'tag':_0x4fec1a(0x20a),'attrs':{'xmlns':_0x4fec1a(0x2b9),'fill':'none','viewBox':_0x4fec1a(0x1af),'width':_0x4fec1a(0x2b4),'height':'1em'},'children':[{'tag':_0x4fec1a(0x1ba),'attrs':{'stroke':_0x4fec1a(0x25d),'d':_0x4fec1a(0x228),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x4fec1a(0x1ba),'attrs':{'stroke':_0x4fec1a(0x25d),'d':_0x4fec1a(0x318),'strokeLinecap':_0x4fec1a(0x2c4),'strokeLinejoin':'round','strokeWidth':1.33}}]},F=d[_0x4fec1a(0x2d7)](function(_0x155581,_0x20afe9){var _0x42b227=_0x4fec1a;return d[_0x42b227(0x2a2)](_,Object['assign']({},_0x155581,{'id':'close-small-single','ref':_0x20afe9,'icon':pe}));});F['displayName']=_0x4fec1a(0x21d);var he={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4fec1a(0x2d8),'width':_0x4fec1a(0x2b4),'height':_0x4fec1a(0x2b4)},'children':[{'tag':_0x4fec1a(0x1ba),'attrs':{'fill':_0x4fec1a(0x25d),'d':_0x4fec1a(0x23e)}},{'tag':_0x4fec1a(0x1ba),'attrs':{'fill':_0x4fec1a(0x25d),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x4fec1a(0x1ba),'attrs':{'fill':_0x4fec1a(0x25d),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x4fec1a(0x309),'clipRule':_0x4fec1a(0x309)}}]},Y=d['forwardRef'](function(_0x3e385a,_0x44222d){var _0x5200c2=_0x4fec1a;return d[_0x5200c2(0x2a2)](_,Object[_0x5200c2(0x1e1)]({},_0x3e385a,{'id':_0x5200c2(0x25a),'ref':_0x44222d,'icon':he}));});Y[_0x4fec1a(0x2d5)]=_0x4fec1a(0x2be);var me={'tag':'svg','attrs':{'xmlns':_0x4fec1a(0x2b9),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4fec1a(0x2b4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4fec1a(0x25d),'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':_0x4fec1a(0x2c4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4fec1a(0x270),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x4fec1a(0x1ba),'attrs':{'fill':_0x4fec1a(0x2a7),'d':_0x4fec1a(0x20c)}}]}]}],'defIds':[_0x4fec1a(0x26c)]},q=d['forwardRef'](function(_0x4bca1d,_0x142876){var _0xa23315=_0x4fec1a;return d['createElement'](_,Object[_0xa23315(0x1e1)]({},_0x4bca1d,{'id':_0xa23315(0x1da),'ref':_0x142876,'icon':me}));});q[_0x4fec1a(0x2d5)]=_0x4fec1a(0x22a);var xe={'tag':_0x4fec1a(0x20a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4fec1a(0x292),'width':_0x4fec1a(0x2b4),'height':_0x4fec1a(0x2b4)},'children':[{'tag':'g','attrs':{'clipPath':_0x4fec1a(0x245)},'children':[{'tag':_0x4fec1a(0x1ba),'attrs':{'stroke':'currentColor','d':_0x4fec1a(0x2de),'strokeLinecap':'round','strokeLinejoin':_0x4fec1a(0x2c4),'strokeWidth':1.2}}]},{'tag':_0x4fec1a(0x2f8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4fec1a(0x1fa)},'children':[{'tag':_0x4fec1a(0x1ba),'attrs':{'fill':_0x4fec1a(0x2a7),'d':_0x4fec1a(0x20c),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4fec1a(0x1fa)]},V=d[_0x4fec1a(0x2d7)](function(_0x278309,_0x1265ee){var _0xc6c536=_0x4fec1a;return d[_0xc6c536(0x2a2)](_,Object[_0xc6c536(0x1e1)]({},_0x278309,{'id':_0xc6c536(0x1c9),'ref':_0x1265ee,'icon':xe}));});V[_0x4fec1a(0x2d5)]=_0x4fec1a(0x2f6);function W(_0x24c5ee){var _0x45113e=_0x4fec1a,_0x370b4b,_0x175964;const {mcpCoreConfig:_0x437f3a,onSave:_0x301eb5,loading:_0x1afed5=!0x1,config:_0x144343,connectionStatus$:_0x1e50d1,connectionError$:_0x3fcff9,currentApiKey$:_0x22cfe8,currentSessionId$:_0x364946}=_0x24c5ee,_0x2de1a2=v[_0x45113e(0x2f5)](l[_0x45113e(0x2f1)]),_0x1fc1db=v[_0x45113e(0x1cf)](_0x1e50d1,s[_0x45113e(0x262)][_0x45113e(0x246)]),_0x386a59=v['useObservable'](_0x3fcff9,s['MCPConnectionError'][_0x45113e(0x233)]),_0x1e3c9e=v['useObservable'](_0x364946,''),_0x4b4b5a=v[_0x45113e(0x1cf)](_0x22cfe8,''),[_0x98ebb1,_0x468c1b]=d[_0x45113e(0x1d7)](_0x4b4b5a||''),_0x100734=!0x0,_0x175039=_0x144343['showDeveloperTools']&&_0x437f3a[_0x45113e(0x244)]&&(_0x437f3a[_0x45113e(0x244)]['includes'](_0x45113e(0x2b8))||_0x437f3a['mcpServerUrl'][_0x45113e(0x2fa)](_0x45113e(0x2d9))),_0x5cdf21=(_0x370b4b=_0x437f3a['mcpServerUrl'])==null?void 0x0:_0x370b4b['includes']('univer.plus'),_0x1fac27=(_0x175964=_0x437f3a['mcpServerUrl'])==null?void 0x0:_0x175964[_0x45113e(0x2fa)](_0x45113e(0x2d9)),_0x146f6c=_0x5cdf21?'https://console.univer.plus':'https://console.univer.ai',_0x542249=_0x144343['showDeveloperTools']&&(_0x5cdf21||_0x1fac27),[_0x43fa69,_0xdcb233]=d[_0x45113e(0x1d7)](!_0x98ebb1[_0x45113e(0x2f7)]()),_0x9d3460=(_0x4ddfe4,_0x4b1253)=>{var _0x4e5d5a=_0x45113e;if(_0x4b1253===s[_0x4e5d5a(0x249)][_0x4e5d5a(0x2d0)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x4ddfe4){case s[_0x4e5d5a(0x262)]['CONNECTED']:return _0x4e5d5a(0x1cc);case s['MCPConnectionStatus']['CONNECTING']:case s['MCPConnectionStatus'][_0x4e5d5a(0x1f2)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x4e5d5a(0x262)]['FAILED']:return _0x4e5d5a(0x2a8);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x55a3ec=(_0x5d12f3,_0x2e8546)=>{var _0x2aa94f=_0x45113e;if(_0x2e8546===s['MCPConnectionError'][_0x2aa94f(0x2d0)])return _0x2aa94f(0x215);switch(_0x5d12f3){case s[_0x2aa94f(0x262)]['CONNECTED']:return'univer-bg-green-500';case s[_0x2aa94f(0x262)][_0x2aa94f(0x2af)]:case s[_0x2aa94f(0x262)][_0x2aa94f(0x1f2)]:return _0x2aa94f(0x301);case s[_0x2aa94f(0x262)][_0x2aa94f(0x231)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x302847=_0xcf8096=>{var _0x5753c4=_0x45113e;switch(_0xcf8096){case s['MCPConnectionStatus'][_0x5753c4(0x202)]:return _0x2de1a2['t'](_0x5753c4(0x2c1));case s[_0x5753c4(0x262)]['CONNECTING']:return _0x2de1a2['t']('mcpConfig.connectionStatus.connecting');case s[_0x5753c4(0x262)]['FAILED']:return _0x2de1a2['t'](_0x5753c4(0x2ce));case s[_0x5753c4(0x262)][_0x5753c4(0x1f2)]:return _0x2de1a2['t'](_0x5753c4(0x25f));default:return _0x2de1a2['t'](_0x5753c4(0x283));}},_0x222722=_0x487dcf=>{var _0x1e7bf9=_0x45113e;switch(_0x487dcf){case s[_0x1e7bf9(0x249)]['UNAUTHORIZED']:return _0x2de1a2['t'](_0x1e7bf9(0x2c2));case s[_0x1e7bf9(0x249)][_0x1e7bf9(0x30f)]:return _0x2de1a2['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x1e7bf9(0x249)][_0x1e7bf9(0x1ee)]:return _0x2de1a2['t'](_0x1e7bf9(0x2f2));case s[_0x1e7bf9(0x249)][_0x1e7bf9(0x303)]:return _0x2de1a2['t'](_0x1e7bf9(0x293));default:return'';}},_0x3487da=d[_0x45113e(0x20e)](()=>{var _0x29343e=_0x45113e;const _0x41636={..._0x437f3a,'apiKey':_0x98ebb1[_0x29343e(0x2f7)](),'enableAuth':_0x100734};_0x301eb5(_0x41636);},[_0x437f3a,_0x98ebb1,_0x100734,_0x301eb5]),_0x552a1f=_0x98ebb1[_0x45113e(0x2f7)]()[_0x45113e(0x30b)]>0x0;return t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x2e3),'children':[t['jsx'](_0x45113e(0x295),{'className':_0x45113e(0x268),'children':t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x1a9),'children':[t[_0x45113e(0x320)](_0x45113e(0x295),{'className':_0x45113e(0x1be),'children':t[_0x45113e(0x320)](_0x45113e(0x2db),{'className':_0x45113e(0x1de),'children':'⚙'})}),t['jsx']('div',{'children':t['jsx']('p',{'className':_0x45113e(0x1b9),'children':_0x2de1a2['t']('mcpConfig.description')})})]})}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x257),'children':[t['jsx'](_0x45113e(0x295),{'className':_0x45113e(0x2dc)+_0x9d3460(_0x1fc1db,_0x386a59)+_0x45113e(0x2b7),'children':t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x195),'children':[t['jsx']('div',{'className':_0x45113e(0x1e0)+_0x55a3ec(_0x1fc1db,_0x386a59)+_0x45113e(0x27e)}),t[_0x45113e(0x320)](_0x45113e(0x2db),{'className':_0x45113e(0x28e),'children':_0x302847(_0x1fc1db)})]})}),_0x386a59!==s[_0x45113e(0x249)][_0x45113e(0x233)]&&(_0x1fc1db===s[_0x45113e(0x262)][_0x45113e(0x231)]||_0x386a59===s[_0x45113e(0x249)][_0x45113e(0x2d0)])&&t[_0x45113e(0x320)](_0x45113e(0x295),{'className':_0x45113e(0x266),'children':t['jsxs'](_0x45113e(0x295),{'className':_0x45113e(0x2cb),'children':[t[_0x45113e(0x320)]('span',{'className':_0x45113e(0x218),'children':'⚠️'}),t[_0x45113e(0x320)]('p',{'className':_0x45113e(0x312),'children':_0x222722(_0x386a59)})]})})]}),t[_0x45113e(0x320)](_0x45113e(0x295),{'className':_0x45113e(0x267),'children':t['jsxs']('div',{'className':_0x45113e(0x1d2),'children':[t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x1b3),'children':[t['jsxs'](_0x45113e(0x2e2),{'className':_0x45113e(0x22e),'children':[t[_0x45113e(0x320)](_0x45113e(0x2db),{'children':'🔑'}),'\x20',_0x2de1a2['t'](_0x45113e(0x227)),t[_0x45113e(0x320)]('span',{'className':_0x45113e(0x1ce),'children':'*'}),_0x175039&&t[_0x45113e(0x320)]('a',{'href':_0x45113e(0x2ee),'onClick':()=>_0xdcb233(!0x0),'className':'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','title':_0x2de1a2['t'](_0x45113e(0x1e3)),'children':t[_0x45113e(0x320)](Y,{})})]}),t['jsx'](S['Input'],{'type':'text','placeholder':_0x2de1a2['t'](_0x45113e(0x29b)),'value':_0x98ebb1,'onChange':_0x468c1b,'disabled':_0x1afed5,'autoComplete':_0x45113e(0x1f3)}),t['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x2de1a2['t']('mcpConfig.apiKeyHint')})]}),_0x175039&&_0x43fa69&&t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x2bf),'children':[t[_0x45113e(0x320)]('a',{'href':_0x45113e(0x2ee),'onClick':()=>_0xdcb233(!0x1),'className':'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','title':_0x45113e(0x1ec),'children':t['jsx'](F,{})}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[t[_0x45113e(0x320)](_0x45113e(0x295),{'className':_0x45113e(0x1d4),'children':t['jsx'](_0x45113e(0x2db),{'className':_0x45113e(0x1e8),'children':'🚀'})}),t[_0x45113e(0x27b)]('div',{'className':_0x45113e(0x214),'children':[t[_0x45113e(0x320)]('h4',{'className':_0x45113e(0x1c3),'children':_0x2de1a2['t'](_0x45113e(0x1e3))}),t[_0x45113e(0x320)]('p',{'className':_0x45113e(0x2f0),'children':_0x2de1a2['t'](_0x45113e(0x1fd))}),t['jsx'](_0x45113e(0x295),{'className':_0x45113e(0x2ba),'children':_0x542249&&t[_0x45113e(0x27b)]('a',{'href':_0x146f6c,'target':'_blank','rel':_0x45113e(0x253),'className':_0x45113e(0x1b8),'children':[t['jsx'](_0x45113e(0x2db),{'children':'🤖'}),_0x2de1a2['t'](_0x45113e(0x2b2)),t['jsx'](_0x45113e(0x2db),{'className':'univer-text-gray-400','children':'↗'})]})}),t['jsxs'](_0x45113e(0x295),{'className':_0x45113e(0x2a0),'children':['✨','\x20',_0x2de1a2['t'](_0x45113e(0x28b))]})]})]})]}),_0x144343[_0x45113e(0x324)]&&t[_0x45113e(0x27b)]('div',{'className':_0x45113e(0x250),'children':[t['jsxs']('h4',{'className':_0x45113e(0x291),'children':[t[_0x45113e(0x320)]('span',{'children':'🔗'}),'\x20',_0x2de1a2['t']('mcpConfig.connectionInfo')]}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x31d),'children':[t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x19c),'children':[t[_0x45113e(0x320)]('p',{'className':_0x45113e(0x264),'children':_0x2de1a2['t'](_0x45113e(0x1a1))}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x1b3),'children':[t[_0x45113e(0x320)](_0x45113e(0x295),{'className':_0x45113e(0x305),'children':_0x2de1a2['t'](_0x45113e(0x26e))}),t[_0x45113e(0x27b)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x195),'children':[t[_0x45113e(0x320)](_0x45113e(0x2db),{'className':_0x45113e(0x2fc),'children':'1'}),_0x2de1a2['t']('mcpConfig.configStep1')]}),t['jsxs'](_0x45113e(0x295),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t['jsx'](_0x45113e(0x2db),{'className':'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','children':'2'}),_0x2de1a2['t'](_0x45113e(0x1a3))]}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x195),'children':[t[_0x45113e(0x320)](_0x45113e(0x2db),{'className':_0x45113e(0x2fc),'children':'3'}),_0x2de1a2['t'](_0x45113e(0x22b))]})]})]})]}),t['jsxs'](_0x45113e(0x295),{'className':'univer-space-y-2','children':[t['jsx'](_0x45113e(0x295),{'className':_0x45113e(0x305),'children':_0x45113e(0x321)}),t[_0x45113e(0x320)]('div',{'className':_0x45113e(0x241),'children':t[_0x45113e(0x320)](_0x45113e(0x23a),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':_0x45113e(0x2ec)+_0x1e3c9e+'\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'+(_0x98ebb1||_0x45113e(0x2b1))+_0x45113e(0x1a7)})})]}),t['jsxs'](_0x45113e(0x295),{'className':'univer-space-y-3','children':[t[_0x45113e(0x320)]('div',{'className':_0x45113e(0x305),'children':_0x2de1a2['t']('mcpConfig.configParameters')}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x1b3),'children':[t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x2ed),'children':[t['jsx'](_0x45113e(0x295),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),t[_0x45113e(0x27b)]('div',{'className':_0x45113e(0x2e1),'children':[t[_0x45113e(0x320)](_0x45113e(0x295),{'className':_0x45113e(0x1cd),'children':_0x45113e(0x314)}),t['jsx'](_0x45113e(0x295),{'className':_0x45113e(0x1b5),'children':_0x2de1a2['t']('mcpConfig.sessionIdDescription')})]})]}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[t['jsx'](_0x45113e(0x295),{'className':_0x45113e(0x31a)}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x2e1),'children':[t[_0x45113e(0x320)](_0x45113e(0x295),{'className':_0x45113e(0x1cd),'children':_0x45113e(0x229)}),t[_0x45113e(0x320)](_0x45113e(0x295),{'className':_0x45113e(0x1b5),'children':_0x2de1a2['t'](_0x45113e(0x232))})]})]})]})]})]})]}),t['jsx'](S[_0x45113e(0x199)],{'onClick':_0x3487da,'disabled':!_0x552a1f||_0x1afed5,'className':_0x45113e(0x2d6),'children':_0x1afed5?t[_0x45113e(0x27b)](_0x45113e(0x2db),{'className':_0x45113e(0x195),'children':[t[_0x45113e(0x320)]('span',{'children':'⟲'}),_0x2de1a2['t'](_0x45113e(0x2e4))]}):t[_0x45113e(0x27b)](_0x45113e(0x2db),{'className':_0x45113e(0x195),'children':[t['jsx'](B,{}),_0x2de1a2['t']('mcpConfig.save')]})}),t[_0x45113e(0x320)]('div',{'className':_0x45113e(0x1b4),'children':t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':_0x45113e(0x21b),'children':[t['jsx']('span',{'className':_0x45113e(0x1f6),'children':'💡'}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[t['jsx'](_0x45113e(0x295),{'className':_0x45113e(0x2e6),'children':_0x45113e(0x31b)}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'children':['•',_0x2de1a2['t'](_0x45113e(0x2c8))]}),t[_0x45113e(0x27b)](_0x45113e(0x295),{'children':['•',_0x2de1a2['t'](_0x45113e(0x2f9))]})]})]})})]})})]});}function _0x45c5(_0x411e63,_0x829781){var _0x361396=_0x3613();return _0x45c5=function(_0x45c552,_0x2dcfd0){_0x45c552=_0x45c552-0x191;var _0x44a6de=_0x361396[_0x45c552];return _0x44a6de;},_0x45c5(_0x411e63,_0x829781);}const y=_0x4fec1a(0x22f),G={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object['getOwnPropertyDescriptor'],Pe=(_0x4ce8c8,_0x45e82d,_0x25e7f7,_0x26c2c9)=>{var _0x2aff04=_0x4fec1a;for(var _0x909c1c=_0x26c2c9>0x1?void 0x0:_0x26c2c9?Se(_0x45e82d,_0x25e7f7):_0x45e82d,_0x6f05e3=_0x4ce8c8[_0x2aff04(0x30b)]-0x1,_0x57bb5c;_0x6f05e3>=0x0;_0x6f05e3--)(_0x57bb5c=_0x4ce8c8[_0x6f05e3])&&(_0x909c1c=_0x57bb5c(_0x909c1c)||_0x909c1c);return _0x909c1c;},f=(_0x53b763,_0x20c400)=>(_0x5c8526,_0x46459b)=>_0x20c400(_0x5c8526,_0x46459b,_0x53b763);const D='mcp.apiKey',k=_0x4fec1a(0x31f);exports[_0x4fec1a(0x23c)]=class extends l[_0x4fec1a(0x2ad)]{constructor(_0xb1792a,_0x23f1c7,_0x1d35cf,_0x26e9ba,_0x1358f7,_0x370322,_0x12e0d1,_0x36e241,_0x4b92d5,_0x3d6df5){var _0x2ff710=_0x4fec1a;super(),I(this,_0x2ff710(0x2b3),new N[(_0x2ff710(0x2a1))](!0x1)),I(this,_0x2ff710(0x24d),new N[(_0x2ff710(0x2a1))]({})),I(this,_0x2ff710(0x317),new N['BehaviorSubject']({})),I(this,_0x2ff710(0x1c7),new N[(_0x2ff710(0x2a1))]('')),I(this,_0x2ff710(0x1ca),async _0x9dbe6b=>{var _0x400d5d=_0x2ff710,_0x2b5ac9,_0x43794a;this[_0x400d5d(0x2b3)][_0x400d5d(0x223)](!0x0);try{const _0x54bc30=await this[_0x400d5d(0x30c)](_0x9dbe6b);if(!_0x54bc30[_0x400d5d(0x1df)]){this[_0x400d5d(0x193)]['show']({'type':S['MessageType'][_0x400d5d(0x21c)],'content':_0x54bc30[_0x400d5d(0x280)]||this[_0x400d5d(0x1b0)]['t'](_0x400d5d(0x302))});return;}_0x9dbe6b[_0x400d5d(0x294)]?await this[_0x400d5d(0x2eb)][_0x400d5d(0x299)](D,_0x9dbe6b[_0x400d5d(0x294)][_0x400d5d(0x2f7)]()):await this[_0x400d5d(0x2eb)][_0x400d5d(0x2dd)](D),this[_0x400d5d(0x1c7)][_0x400d5d(0x223)](((_0x2b5ac9=_0x9dbe6b[_0x400d5d(0x294)])==null?void 0x0:_0x2b5ac9[_0x400d5d(0x2f7)]())||''),this[_0x400d5d(0x27d)][_0x400d5d(0x1a4)]({'Authorization':_0x400d5d(0x315)+((_0x43794a=_0x9dbe6b['apiKey'])==null?void 0x0:_0x43794a['trim']())}),this['_messageService']['show']({'type':S['MessageType'][_0x400d5d(0x243)],'content':this['_localeService']['t'](_0x400d5d(0x322))}),setTimeout(()=>{var _0x3cbee5=_0x400d5d;this['_dialogService'][_0x3cbee5(0x2e8)](k);},0x320);}catch(_0x20f0d4){this[_0x400d5d(0x2ea)]['error'](_0x400d5d(0x1c4),_0x20f0d4),this[_0x400d5d(0x193)]['show']({'type':S[_0x400d5d(0x239)][_0x400d5d(0x21c)],'content':this[_0x400d5d(0x1b0)]['t'](_0x400d5d(0x1bc))});}finally{this[_0x400d5d(0x2b3)][_0x400d5d(0x223)](!0x1);}}),(this[_0x2ff710(0x1fc)]=_0xb1792a,this['_uiPartsService']=_0x23f1c7,this[_0x2ff710(0x1c1)]=_0x1d35cf,this[_0x2ff710(0x2eb)]=_0x26e9ba,this['_dialogService']=_0x1358f7,this[_0x2ff710(0x193)]=_0x370322,this[_0x2ff710(0x1aa)]=_0x12e0d1,this[_0x2ff710(0x1b0)]=_0x36e241,this[_0x2ff710(0x2ea)]=_0x4b92d5,this['_mcpConnectionController']=_0x3d6df5,this['_initConfigSync'](),this['_loadStoredApiKey'](),this[_0x2ff710(0x2e7)]());}[_0x4fec1a(0x201)](){var _0x547191=_0x4fec1a;const _0x421cb4=this['_configService'][_0x547191(0x210)](y);_0x421cb4!=null&&_0x421cb4['showDeveloperTools']&&this[_0x547191(0x27a)][_0x547191(0x221)]({'id':k,'title':{'title':this[_0x547191(0x1b0)]['t']('mcpConfig.title')},'children':{'label':_0x547191(0x20d)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x6be7d7=_0x547191;this[_0x6be7d7(0x27a)][_0x6be7d7(0x2e8)](k);}});}['getCurrentConfig'](){var _0x35ea62=_0x4fec1a;return this[_0x35ea62(0x24d)][_0x35ea62(0x203)];}[_0x4fec1a(0x2e7)](){var _0x10741c=_0x4fec1a;this[_0x10741c(0x289)](this[_0x10741c(0x1aa)]['register'](_0x10741c(0x20d),this[_0x10741c(0x1ed)]()));}[_0x4fec1a(0x1ed)](){var _0x43c1ff=_0x4fec1a;return v[_0x43c1ff(0x1d5)](()=>{var _0x16dfad=_0x43c1ff,_0x5d8702,_0x714921,_0x487d14;return t[_0x16dfad(0x320)](W,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x16dfad(0x24d)]['value'],'currentApiKey$':this[_0x16dfad(0x1c7)],'onSave':this[_0x16dfad(0x1ca)],'loading':this[_0x16dfad(0x2b3)][_0x16dfad(0x203)],'connectionStatus$':(_0x5d8702=this['_mcpConnectionController'])==null?void 0x0:_0x5d8702[_0x16dfad(0x1c8)],'connectionError$':(_0x714921=this[_0x16dfad(0x27d)])==null?void 0x0:_0x714921[_0x16dfad(0x1e7)],'currentSessionId$':(_0x487d14=this[_0x16dfad(0x27d)])==null?void 0x0:_0x487d14[_0x16dfad(0x29a)]});},this[_0x43c1ff(0x1fc)]);}[_0x4fec1a(0x30e)](){var _0x4ab00c=_0x4fec1a;this[_0x4ab00c(0x289)](this[_0x4ab00c(0x1c1)][_0x4ab00c(0x198)](s[_0x4ab00c(0x2ae)])['subscribe'](_0x17a842=>{var _0x2b5a18=_0x4ab00c;this[_0x2b5a18(0x24d)][_0x2b5a18(0x223)](_0x17a842||{});}));const _0x513c31=this[_0x4ab00c(0x1c1)]['getConfig'](s[_0x4ab00c(0x2ae)]);this[_0x4ab00c(0x24d)][_0x4ab00c(0x223)](_0x513c31||{}),this[_0x4ab00c(0x289)](this[_0x4ab00c(0x1c1)]['subscribeConfigValue$'](y)[_0x4ab00c(0x27c)](_0x2a69b0=>{var _0x4a7228=_0x4ab00c;this[_0x4a7228(0x317)]['next'](_0x2a69b0||{});}));const _0x2a8819=this[_0x4ab00c(0x1c1)][_0x4ab00c(0x210)](y);this[_0x4ab00c(0x317)]['next'](_0x2a8819||{});}async[_0x4fec1a(0x2fb)](){var _0x3cfe6e=_0x4fec1a;const _0x1d2436=this[_0x3cfe6e(0x1c1)]['getConfig'](y);if(!(_0x1d2436!=null&&_0x1d2436['showDeveloperTools']))return;const _0x2b6c2b=await this[_0x3cfe6e(0x2eb)][_0x3cfe6e(0x22c)](D);_0x2b6c2b&&(this['_mcpConnectionController'][_0x3cfe6e(0x1a4)]({'Authorization':_0x3cfe6e(0x315)+_0x2b6c2b}),this[_0x3cfe6e(0x1c7)]['next'](_0x2b6c2b));}async['_validateConfig'](_0x29b821){var _0x6e4ee6=_0x4fec1a;if(!_0x29b821[_0x6e4ee6(0x294)]||_0x29b821[_0x6e4ee6(0x294)][_0x6e4ee6(0x2f7)]()[_0x6e4ee6(0x30b)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x6e4ee6(0x1b0)]['t'](_0x6e4ee6(0x2bb))};if(_0x29b821[_0x6e4ee6(0x294)][_0x6e4ee6(0x2f7)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x6e4ee6(0x1b0)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x328ef8=await this[_0x6e4ee6(0x1fc)][_0x6e4ee6(0x31e)](s[_0x6e4ee6(0x19f)])['validateApiKey'](_0x29b821[_0x6e4ee6(0x294)]['trim']());return _0x328ef8[_0x6e4ee6(0x1df)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x328ef8[_0x6e4ee6(0x29c)]||this[_0x6e4ee6(0x1b0)]['t'](_0x6e4ee6(0x1dd))};}catch(_0x5b84ea){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x5b84ea),{'isValid':!0x0};}}},exports[_0x4fec1a(0x23c)]=Pe([f(0x0,l[_0x4fec1a(0x1ad)](l[_0x4fec1a(0x1a0)])),f(0x1,v[_0x4fec1a(0x1f4)]),f(0x2,l[_0x4fec1a(0x288)]),f(0x3,l[_0x4fec1a(0x1f1)]),f(0x4,v[_0x4fec1a(0x1fe)]),f(0x5,v[_0x4fec1a(0x222)]),f(0x6,l[_0x4fec1a(0x1ad)](v[_0x4fec1a(0x2a9)])),f(0x7,l[_0x4fec1a(0x1ad)](l[_0x4fec1a(0x2f1)])),f(0x8,l[_0x4fec1a(0x297)]),f(0x9,l[_0x4fec1a(0x1ad)](s[_0x4fec1a(0x19f)]))],exports['MCPConfigUIController']);const j={'id':_0x4fec1a(0x19e),'type':l['CommandType']['COMMAND'],'handler':async(_0x3a2b9c,_0x596595)=>(_0x3a2b9c[_0x4fec1a(0x31e)](exports[_0x4fec1a(0x23c)])[_0x4fec1a(0x201)](),!0x0)};function Z(_0x806729,_0x312e34){var _0x11458c=_0x4fec1a;switch(_0x806729){case s[_0x11458c(0x262)][_0x11458c(0x246)]:return _0x11458c(0x240);case s[_0x11458c(0x262)][_0x11458c(0x2af)]:return'mcpStatus.connecting';case s[_0x11458c(0x262)][_0x11458c(0x202)]:return'mcpStatus.connected';case s['MCPConnectionStatus'][_0x11458c(0x231)]:switch(_0x312e34){case s[_0x11458c(0x249)][_0x11458c(0x2d0)]:return _0x11458c(0x238);case s[_0x11458c(0x249)][_0x11458c(0x30f)]:return'mcpStatus.sessionOccupied';case s['MCPConnectionError']['NETWORK_ERROR']:return _0x11458c(0x21e);case s[_0x11458c(0x249)][_0x11458c(0x303)]:return'mcpStatus.maxRetriesExceeded';default:return _0x11458c(0x21a);}case s[_0x11458c(0x262)][_0x11458c(0x1f2)]:return _0x11458c(0x2bd);default:return _0x11458c(0x2c6);}}function ye(_0x2c1f18,_0x540502,_0x5957e,_0x1a58a8=!0x0){var _0x4448fd=_0x4fec1a;const _0x182935=Z(_0x2c1f18,_0x540502),_0x167df8=_0x5957e['t'](_0x182935);return _0x1a58a8?_0x2c1f18===s[_0x4448fd(0x262)][_0x4448fd(0x246)]&&_0x540502===s[_0x4448fd(0x249)]['UNAUTHORIZED']?_0x167df8+_0x4448fd(0x1e4)+_0x5957e['t'](_0x4448fd(0x1a6)):_0x2c1f18===s[_0x4448fd(0x262)][_0x4448fd(0x202)]?''+_0x167df8:_0x2c1f18===s[_0x4448fd(0x262)][_0x4448fd(0x246)]||_0x2c1f18===s[_0x4448fd(0x262)]['FAILED']?_0x167df8+_0x4448fd(0x1e4)+_0x5957e['t'](_0x4448fd(0x1ef)):_0x167df8:_0x167df8;}function Ie(_0x55807a){var _0x178e16=_0x4fec1a;switch(_0x55807a){case s['MCPConnectionStatus']['CONNECTED']:return _0x178e16(0x323);case s[_0x178e16(0x262)][_0x178e16(0x2af)]:case s[_0x178e16(0x262)][_0x178e16(0x1f2)]:return _0x178e16(0x25b);case s[_0x178e16(0x262)][_0x178e16(0x231)]:case s['MCPConnectionStatus'][_0x178e16(0x246)]:return _0x178e16(0x1ce);default:return'univer-text-gray-500';}}function X(_0x33183f){var _0x12e5e7=_0x4fec1a;const {status$:_0x4d392f,error$:_0x1481c8,onConfigure:_0x118b80,showClickable:_0x1abc7c=!0x0}=_0x33183f,_0x483be1=v['useObservable'](_0x4d392f,s[_0x12e5e7(0x262)][_0x12e5e7(0x246)]),_0x46c3c8=v['useObservable'](_0x1481c8,s[_0x12e5e7(0x249)][_0x12e5e7(0x233)]),_0x38320f=v[_0x12e5e7(0x2f5)](l[_0x12e5e7(0x2f1)]),_0x51be9b=_0x483be1===s[_0x12e5e7(0x262)][_0x12e5e7(0x202)];_0x483be1===s['MCPConnectionStatus'][_0x12e5e7(0x2af)]||s['MCPConnectionStatus'][_0x12e5e7(0x1f2)];const _0x312a67=_0x38320f['t'](Z(_0x483be1,_0x46c3c8)),_0x317632=ye(_0x483be1,_0x46c3c8,_0x38320f,_0x1abc7c),_0x110239=Ie(_0x483be1),_0x56ba31=_0x51be9b?t[_0x12e5e7(0x320)](V,{}):t[_0x12e5e7(0x320)](q,{}),_0x83277=d[_0x12e5e7(0x20e)](()=>{_0x1abc7c&&_0x118b80&&_0x118b80();},[_0x1abc7c,_0x118b80]);function _0x4e5cfa(){var _0x51c414=_0x12e5e7;return t[_0x51c414(0x27b)]('div',{'className':S[_0x51c414(0x2ac)](_0x51c414(0x19d),_0x1abc7c&&_0x118b80&&_0x51c414(0x281)),'onClick':_0x1abc7c&&_0x118b80?_0x83277:void 0x0,'children':[t['jsx'](_0x51c414(0x295),{'className':S['clsx'](_0x51c414(0x1cb),_0x110239),'children':_0x56ba31}),t[_0x51c414(0x320)](_0x51c414(0x295),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x312a67})]});}return t[_0x12e5e7(0x320)](S['Tooltip'],{'title':_0x317632,'placement':_0x12e5e7(0x29f),'children':_0x4e5cfa()});}var _e=Object[_0x4fec1a(0x19b)],Me=(_0x47f135,_0x4015d8,_0x3fe1a7,_0x4bbbec)=>{var _0x41d53a=_0x4fec1a;for(var _0x1d4548=_0x4bbbec>0x1?void 0x0:_0x4bbbec?_e(_0x4015d8,_0x3fe1a7):_0x4015d8,_0x434f44=_0x47f135[_0x41d53a(0x30b)]-0x1,_0x57aca5;_0x434f44>=0x0;_0x434f44--)(_0x57aca5=_0x47f135[_0x434f44])&&(_0x1d4548=_0x57aca5(_0x1d4548)||_0x1d4548);return _0x1d4548;},b=(_0xd5fdfd,_0x170e68)=>(_0x15a752,_0x4de93d)=>_0x170e68(_0x15a752,_0x4de93d,_0xd5fdfd);exports[_0x4fec1a(0x234)]=class extends l[_0x4fec1a(0x2ad)]{constructor(_0x4e2ec4,_0x42c28d,_0x1a8088,_0x578786){var _0x4dc60a=_0x4fec1a;super(),this['_injector']=_0x4e2ec4,this[_0x4dc60a(0x2ff)]=_0x42c28d,this['_uiPartsService']=_0x1a8088,this['_configService']=_0x578786,this[_0x4dc60a(0x208)](),this[_0x4dc60a(0x28a)]();}['_initAutoConnect'](){var _0x3d3668=_0x4fec1a;const _0x3484b3=this[_0x3d3668(0x1c1)][_0x3d3668(0x210)](y);_0x3484b3!=null&&_0x3484b3[_0x3d3668(0x324)]&&(this[_0x3d3668(0x2ff)][_0x3d3668(0x256)]=!0x1);}[_0x4fec1a(0x28a)](){var _0x9207fe=_0x4fec1a;const _0x3710de=this['_configService']['getConfig'](y);(_0x3710de==null?void 0x0:_0x3710de[_0x9207fe(0x273)])!==!0x1&&this[_0x9207fe(0x289)](this['_uiPartsService'][_0x9207fe(0x2a5)](v[_0x9207fe(0x308)][_0x9207fe(0x290)],()=>{var _0x3179ab=_0x9207fe,_0x19fb65;return v[_0x3179ab(0x1d5)](Ne({'status$':this[_0x3179ab(0x2ff)][_0x3179ab(0x1c8)],'error$':this[_0x3179ab(0x2ff)][_0x3179ab(0x1e7)],'onConfigure':()=>this[_0x3179ab(0x2ef)](),'showClickable':(_0x19fb65=_0x3710de==null?void 0x0:_0x3710de[_0x3179ab(0x324)])!=null?_0x19fb65:!0x1}),this[_0x3179ab(0x1fc)]);}));}['_handleConfigure'](){var _0x5cefad=_0x4fec1a;this['_injector'][_0x5cefad(0x31e)](exports[_0x5cefad(0x23c)])[_0x5cefad(0x201)]();}},exports[_0x4fec1a(0x234)]=Me([b(0x0,l['Inject'](l[_0x4fec1a(0x1a0)])),b(0x1,l[_0x4fec1a(0x1ad)](s['MCPConnectionController'])),b(0x2,v[_0x4fec1a(0x1f4)]),b(0x3,l[_0x4fec1a(0x288)])],exports[_0x4fec1a(0x234)]);function Ne(_0x49862e){const {status$:_0x10a7a7,error$:_0x5afb52,onConfigure:_0x2aed0f,showClickable:_0x1ff623}=_0x49862e;return function(){return t['jsx'](X,{'status$':_0x10a7a7,'error$':_0x5afb52,'onConfigure':_0x2aed0f,'showClickable':_0x1ff623});};}function be(_0x41e355){var _0xfd6785=_0x4fec1a;return{'id':j['id'],'type':v[_0xfd6785(0x316)][_0xfd6785(0x213)],'icon':_0xfd6785(0x2e0),'title':_0xfd6785(0x255),'tooltip':_0xfd6785(0x255)};}const je={[v[_0x4fec1a(0x2b6)][_0x4fec1a(0x29e)]]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x4fec1a(0x19b)],we=(_0x38f5e9,_0x486f9b,_0x5f2815,_0x488aff)=>{var _0x5ae6f4=_0x4fec1a;for(var _0x437907=_0x488aff>0x1?void 0x0:_0x488aff?Ee(_0x486f9b,_0x5f2815):_0x486f9b,_0x5bf943=_0x38f5e9[_0x5ae6f4(0x30b)]-0x1,_0x564a98;_0x5bf943>=0x0;_0x5bf943--)(_0x564a98=_0x38f5e9[_0x5bf943])&&(_0x437907=_0x564a98(_0x437907)||_0x437907);return _0x437907;},z=(_0xfe0ce1,_0x2573b4)=>(_0x154b9b,_0x329edd)=>_0x2573b4(_0x154b9b,_0x329edd,_0xfe0ce1);function _0x3613(){var _0x2513b7=['Enable\x20Authentication','MCPUIMenuController','on-line-icon_clip0_910_349','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','_injector','mcpConfig.apiApplyInfo.description','IDialogService','MCP_UI_PLUGIN','random','showConfigPanel','CONNECTED','value','setConfig','_commandService','将配置添加到您的\x20MCP\x20客户端设置文件中','几秒钟内获取您的\x20API\x20密钥','_initAutoConnect','578568xQftNx','svg','entries','M0\x200H16V16H0z','MCPConfigPanel','useCallback','extend','getConfig','MCP:\x20未授权','fill','BUTTON','univer-flex-1','univer-bg-red-500','会话ID','Click\x20to\x20connect\x20MCP','univer-flex-shrink-0\x20univer-text-red-500','prototype','mcpStatus.failed','univer-flex\x20univer-gap-3','Error','CloseSmallSingle','mcpStatus.networkError','Connecting...','API\x20key\x20is\x20required','open','IMessageService','next','MCP\x20Disconnected','API\x20密钥长度至少需要\x2010\x20位','colorChannel1','mcpConfig.apiKey','M5.21243\x205.62036L11.8791\x2012.287','Authorization:','OffLineIcon','mcpConfig.configStep3','getItem','Retrying...','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcp-ui.config','use','FAILED','mcpConfig.authorizationDescription','NONE','MCPConnectionUIController','map','none','118802dmlWwV','mcpStatus.unauthorized','MessageType','pre','Get\x20your\x20API\x20key\x20in\x20seconds','MCPConfigUIController','replace','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','Plugin','mcpStatus.disconnected','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','onStarting','Success','mcpServerUrl','url(#on-line-icon_clip0_910_349)','DISCONNECTED','超出最大重试次数,请稍后再试','API\x20密钥无效,请检查密钥是否正确','MCPConnectionError','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','重连中...','带有\x20Bearer\x20前缀的\x20API\x20密钥。','_mcpCoreConfig$','pluginName','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCP\x20状态未知','icon','noopener\x20noreferrer','check-mark-icon','mcpConfig.title','enableAutoConnect','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','apply','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','help-single','univer-text-yellow-500','xlink:href','currentColor','mask','mcpConfig.connectionStatus.retrying','ICommandService','ISocketService','MCPConnectionStatus','MCP\x20已连接','univer-text-xs\x20univer-text-gray-600','MCPStatusDisplay','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','21840410snUBgw','Saving...','点击连接\x20MCP','off-line-icon_clip0_910_343','MCP:\x20Unauthorized','mcpConfig.configStepTitle','连接中...','clipPath','UniverIcon','UniverMCPPlugin','showStatus','Univer\x20AI\x20Console','配置步骤:','Copy\x20the\x20JSON\x20configuration\x20below','concat','MCP:\x20Network\x20Error','924348HidCnx','_dialogService','jsxs','subscribe','_mcpConnectionController','\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','配置参数:','errorMessage','\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','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.connectionStatus.disconnected','defIds','add','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','IConfigService','disposeWithMe','_initStatusComponent','mcpConfig.apiApplyInfo.getStarted','MCP\x20客户端配置','MCP\x20重连中...','univer-text-sm\x20univer-font-medium','_menuManagerService','HEADER_MENU','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','0\x200\x2017\x2016','mcpConfig.connectionError.maxRetriesExceeded','apiKey','div','string','ILogService','function','setItem','sessionId$','mcpConfig.apiKeyPlaceholder','error','网络连接错误,请检查您的网络连接','OTHERS','bottom','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','BehaviorSubject','createElement','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','useRef','registerComponent','MCP:\x20网络错误','white','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','ComponentManager','Configuration\x20Parameters:','WebSocketService','clsx','Disposable','MCP_PLUGIN_CONFIG_KEY','CONNECTING','保存配置','<API_KEY>','mcpConfig.apiApplyInfo.univerAiLabel','_loading$','1em','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','RibbonStartGroup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer.plus','http://www.w3.org/2000/svg','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpConfig.validation.apiKeyRequired','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpStatus.retrying','HelpSingle','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','_config','mcpConfig.connectionStatus.connected','mcpConfig.connectionError.unauthorized','请输入您的\x20API\x20密钥','round','indexOf','mcpStatus.unknown','defineProperty','mcpConfig.note1','forEach','已连接','univer-flex\x20univer-items-start\x20univer-gap-2','MCP\x20Retrying...','Disconnected','mcpConfig.connectionStatus.failed','MCP\x20连接中...','UNAUTHORIZED','Configuration\x20Steps:','push','您的\x20API\x20密钥将在此浏览器中本地存储','配置无效','displayName','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','forwardRef','0\x200\x2016\x2016','univer.ai','配置保存失败','span','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','removeItem','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','9lzYLvl','MenuIcon','univer-min-w-0\x20univer-flex-1','label','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.saving','您的\x20API\x20密钥安全存储在本地存储中','univer-font-medium','_registerComponent','close','_uiPartsService','_logService','_localStorageService','{\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=','univer-flex\x20univer-items-start\x20univer-gap-3','javascript:void(0)','_handleConfigure','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','LocaleService','mcpConfig.connectionError.networkError','MCP\x20Connected','455gppKOR','useDependency','OnLineIcon','trim','defs','mcpConfig.note2','includes','_loadStoredApiKey','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','getOwnPropertySymbols','children','_connectionController','Click\x20to\x20configure\x20MCP','univer-bg-blue-500','mcpConfig.validation.invalidConfig','MAX_RETRIES_EXCEEDED','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','6287864iHUJfD','BuiltInUIPart','evenodd','substring','length','_validateConfig','启用身份验证','_initConfigSync','SESSION_ID_OCCUPIED','OpenMCPConfigPanelCommand','14316cekgoO','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','点击配置\x20MCP','univer_session_id:','Bearer\x20','MenuItemType','_config$','M5.21243\x2012.287L11.8791\x205.62036','Invalid\x20configuration','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Configuration\x20Notes:','未连接','univer-space-y-4','get','mcp-config-dialog','jsx','MCP\x20Configuration','mcpConfig.configSaved','univer-text-green-500','showDeveloperTools','UniverMCPUIPlugin','_initializeCommands','_messageService','Connected','univer-flex\x20univer-items-center\x20univer-gap-2','hasOwnProperty','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','subscribeConfigValue$','Button','url(#$1','getOwnPropertyDescriptor','univer-space-y-3','univer-flex\x20univer-items-center','mcp-ui.command.openConfigPanel','MCPConnectionController','Injector','mcpConfig.configInstructions','MCP\x20Unknown\x20Status','mcpConfig.configStep2','__setCustomHeaders','idSuffix','mcpStatus.clickToConfigure','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','className','univer-flex\x20univer-items-center\x20univer-gap-3','_componentManager','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Inject','保存中...','0\x200\x2017\x2017','_localeService','toStringTag','49byzabf','univer-space-y-2','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-xs\x20univer-text-gray-500','Failed\x20to\x20save\x20configuration','权限验证失败,请检查您的\x20API\x20密钥','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-text-sm\x20univer-text-gray-500','path','Univer\x20AI\x20控制台','mcpConfig.configError','enUS','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','IMenuManagerService','attrs','_configService','tag','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','call','2734464cdrvXD','_apiKey$','connectionStatus$','on-line-icon','_handleConfigSave','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-text-red-500','useObservable','Connection\x20Failed','什么是\x20API\x20密钥?','univer-space-y-5','复制以下\x20JSON\x20配置','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','connectInjector','Enter\x20your\x20API\x20key','useState','symbol','MCP\x20Connecting...','off-line-icon','_initializeMenus','registerCommand','mcpConfig.validation.invalidApiKey','univer-text-white','isValid','\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','assign','MCP\x20配置','mcpConfig.apiApplyInfo.title','\x20-\x20','Save\x20Configuration','配置\x20MCP\x20使用\x20AI\x20操作电子表格','connectionError$','univer-text-blue-600','univerjs-icon\x20univerjs-icon-','MCP\x20Client\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Close','_createConfigPanelComponent','NETWORK_ERROR','mcpStatus.clickToConnect','propertyIsEnumerable','ILocalStorageService','RETRYING','off','IUIPartsService','MCP:\x20超出最大重试次数','univer-flex-shrink-0\x20univer-text-blue-500','启用身份验证以获得安全连接'];_0x3613=function(){return _0x2513b7;};return _0x3613();}exports['MCPUIMenuController']=class extends l[_0x4fec1a(0x2ad)]{constructor(_0x127a36,_0x58ed99){var _0x3126b0=_0x4fec1a;super(),this['_commandService']=_0x127a36,this[_0x3126b0(0x28f)]=_0x58ed99,this['_initializeCommands'](),this['_initializeMenus']();}[_0x4fec1a(0x192)](){var _0x2f5e1d=_0x4fec1a;[j][_0x2f5e1d(0x2c9)](_0x6b26d1=>{var _0x2d64df=_0x2f5e1d;this[_0x2d64df(0x289)](this[_0x2d64df(0x205)][_0x2d64df(0x1dc)](_0x6b26d1));});}[_0x4fec1a(0x1db)](){var _0x24208d=_0x4fec1a;this[_0x24208d(0x28f)]['mergeMenu'](je);}},exports[_0x4fec1a(0x1f9)]=we([z(0x0,l[_0x4fec1a(0x260)]),z(0x1,v[_0x4fec1a(0x1bf)])],exports[_0x4fec1a(0x1f9)]);const Oe={'mcpStatus':{'disconnected':_0x4fec1a(0x224),'connecting':_0x4fec1a(0x1d9),'connected':_0x4fec1a(0x2f3),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4fec1a(0x2cc),'unknown':_0x4fec1a(0x1a2),'unauthorized':_0x4fec1a(0x26d),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4fec1a(0x278),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4fec1a(0x217),'clickToConfigure':_0x4fec1a(0x300)},'mcpConfig':{'title':_0x4fec1a(0x321),'description':_0x4fec1a(0x197),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4fec1a(0x1d6),'apiKeyHint':_0x4fec1a(0x24a),'enableAuth':_0x4fec1a(0x1f8),'enableAuthHint':_0x4fec1a(0x282),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x4fec1a(0x1ea),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x4fec1a(0x2d1),'configStep1':_0x4fec1a(0x276),'configStep2':_0x4fec1a(0x306),'configStep3':_0x4fec1a(0x1ac),'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':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4fec1a(0x2aa),'maxRetries':'Max\x20Retries','save':_0x4fec1a(0x1e5),'saving':_0x4fec1a(0x26a),'note1':_0x4fec1a(0x286),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x4fec1a(0x1b6),'apiApplyInfo':{'title':_0x4fec1a(0x287),'description':_0x4fec1a(0x1eb),'univerAiLabel':_0x4fec1a(0x274),'getStarted':_0x4fec1a(0x23b)},'validation':{'apiKeyRequired':_0x4fec1a(0x220),'apiKeyTooShort':_0x4fec1a(0x1fb),'invalidConfig':_0x4fec1a(0x319),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4fec1a(0x2cd),'connecting':_0x4fec1a(0x21f),'connected':_0x4fec1a(0x194),'failed':_0x4fec1a(0x1d0),'retrying':_0x4fec1a(0x22d)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4fec1a(0x2b5),'networkError':_0x4fec1a(0x2a3),'maxRetriesExceeded':_0x4fec1a(0x1ab)}}},Ae={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x4fec1a(0x2cf),'connected':_0x4fec1a(0x263),'failed':'MCP\x20连接失败','retrying':_0x4fec1a(0x28d),'unknown':_0x4fec1a(0x251),'unauthorized':_0x4fec1a(0x211),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x4fec1a(0x2a6),'maxRetriesExceeded':_0x4fec1a(0x1f5),'clickToConnect':_0x4fec1a(0x26b),'clickToConfigure':_0x4fec1a(0x313)},'mcpConfig':{'title':_0x4fec1a(0x1e2),'description':_0x4fec1a(0x1e6),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x4fec1a(0x2c3),'apiKeyHint':_0x4fec1a(0x2d3),'enableAuth':_0x4fec1a(0x30d),'enableAuthHint':_0x4fec1a(0x1f7),'connectionInfo':_0x4fec1a(0x28c),'mcpClientConfig':_0x4fec1a(0x28c),'configInstructions':_0x4fec1a(0x304),'configStepTitle':_0x4fec1a(0x275),'configStep1':_0x4fec1a(0x1d3),'configStep2':_0x4fec1a(0x206),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x4fec1a(0x216),'sessionIdDescription':_0x4fec1a(0x24f),'authorizationDescription':_0x4fec1a(0x24c),'configParameters':_0x4fec1a(0x27f),'maxRetries':'最大重试次数','save':_0x4fec1a(0x2b0),'saving':_0x4fec1a(0x1ae),'note1':'配置更改将立即生效','note2':_0x4fec1a(0x2e5),'configSaved':'配置保存成功','configError':_0x4fec1a(0x2da),'apiApplyInfo':{'title':_0x4fec1a(0x1d1),'description':_0x4fec1a(0x2bc),'univerAiLabel':_0x4fec1a(0x1bb),'getStarted':_0x4fec1a(0x207)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x4fec1a(0x225),'invalidConfig':_0x4fec1a(0x2d4),'invalidApiKey':_0x4fec1a(0x248)},'connectionStatus':{'disconnected':_0x4fec1a(0x31c),'connecting':_0x4fec1a(0x26f),'connected':_0x4fec1a(0x2ca),'failed':'连接失败','retrying':_0x4fec1a(0x24b)},'connectionError':{'unauthorized':_0x4fec1a(0x1b7),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x4fec1a(0x29d),'maxRetriesExceeded':_0x4fec1a(0x247)}}};var De=Object[_0x4fec1a(0x2c7)],ke=Object[_0x4fec1a(0x19b)],Ue=(_0x5817c5,_0x2ef0c7,_0x3e14a8)=>_0x2ef0c7 in _0x5817c5?De(_0x5817c5,_0x2ef0c7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e14a8}):_0x5817c5[_0x2ef0c7]=_0x3e14a8,Te=(_0x5123db,_0xa75b0a,_0x357987,_0xc71f4e)=>{var _0x15d2eb=_0x4fec1a;for(var _0x24690c=_0xc71f4e>0x1?void 0x0:_0xc71f4e?ke(_0xa75b0a,_0x357987):_0xa75b0a,_0x47370a=_0x5123db[_0x15d2eb(0x30b)]-0x1,_0x330c50;_0x47370a>=0x0;_0x47370a--)(_0x330c50=_0x5123db[_0x47370a])&&(_0x24690c=_0x330c50(_0x24690c)||_0x24690c);return _0x24690c;},M=(_0x382bda,_0x1e1302)=>(_0x3a498a,_0x41e457)=>_0x1e1302(_0x3a498a,_0x41e457,_0x382bda),$e=(_0x419c7c,_0x2e774a,_0x363ffe)=>Ue(_0x419c7c,_0x2e774a+'',_0x363ffe);exports[_0x4fec1a(0x191)]=class extends l[_0x4fec1a(0x23f)]{constructor(_0x27b05e=G,_0x4674ba,_0x1a528e,_0x148368,_0x4edddb,_0x2160a5){var _0x577c0d=_0x4fec1a;super(),this[_0x577c0d(0x2c0)]=_0x27b05e,this[_0x577c0d(0x1fc)]=_0x4674ba,this[_0x577c0d(0x1c1)]=_0x1a528e,this[_0x577c0d(0x2e9)]=_0x148368,this[_0x577c0d(0x2eb)]=_0x4edddb,this['_localeService']=_0x2160a5;const {..._0x4c75fe}=l['merge']({},G,this[_0x577c0d(0x2c0)]);this['_configService'][_0x577c0d(0x204)](y,_0x4c75fe);}async[_0x4fec1a(0x242)](){var _0x1ff8fd=_0x4fec1a;const _0x3c84dc=[[exports[_0x1ff8fd(0x234)]],[exports['MCPConfigUIController']],[exports[_0x1ff8fd(0x1f9)]]];this[_0x1ff8fd(0x1fc)]['has'](A[_0x1ff8fd(0x261)])||_0x3c84dc[_0x1ff8fd(0x2d2)]([A['ISocketService'],{'useClass':A[_0x1ff8fd(0x2ab)]}]),_0x3c84dc[_0x1ff8fd(0x2c9)](_0x176d9c=>this[_0x1ff8fd(0x1fc)][_0x1ff8fd(0x285)](_0x176d9c)),this[_0x1ff8fd(0x1fc)]['get'](exports[_0x1ff8fd(0x234)]),this[_0x1ff8fd(0x1fc)][_0x1ff8fd(0x31e)](exports[_0x1ff8fd(0x23c)]),this['_injector'][_0x1ff8fd(0x31e)](exports[_0x1ff8fd(0x1f9)]);}},$e(exports[_0x4fec1a(0x191)],_0x4fec1a(0x24e),_0x4fec1a(0x1ff)),exports[_0x4fec1a(0x191)]=Te([l['DependentOn'](s[_0x4fec1a(0x272)]),M(0x1,l[_0x4fec1a(0x1ad)](l[_0x4fec1a(0x1a0)])),M(0x2,l['IConfigService']),M(0x3,v[_0x4fec1a(0x1f4)]),M(0x4,l[_0x4fec1a(0x1f1)]),M(0x5,l[_0x4fec1a(0x1ad)](l[_0x4fec1a(0x2f1)]))],exports[_0x4fec1a(0x191)]),exports['MCPConfigPanel']=W,exports[_0x4fec1a(0x265)]=X,exports[_0x4fec1a(0x310)]=j,exports[_0x4fec1a(0x1bd)]=Oe,exports['zhCN']=Ae;
1
+ 'use strict';const _0x1656c9=_0x21c2;(function(_0x5b3c3a,_0x3219a7){const _0x1d6e94=_0x21c2,_0x5d4470=_0x5b3c3a();while(!![]){try{const _0x535501=parseInt(_0x1d6e94(0x146))/0x1+-parseInt(_0x1d6e94(0x9e))/0x2*(parseInt(_0x1d6e94(0x1f9))/0x3)+parseInt(_0x1d6e94(0x18d))/0x4+parseInt(_0x1d6e94(0x1f5))/0x5*(parseInt(_0x1d6e94(0xfe))/0x6)+parseInt(_0x1d6e94(0x147))/0x7+parseInt(_0x1d6e94(0xd2))/0x8+parseInt(_0x1d6e94(0x159))/0x9*(-parseInt(_0x1d6e94(0xd4))/0xa);if(_0x535501===_0x3219a7)break;else _0x5d4470['push'](_0x5d4470['shift']());}catch(_0x2affb5){_0x5d4470['push'](_0x5d4470['shift']());}}}(_0x506b,0xc6b60));var ae=Object[_0x1656c9(0x123)],le=(_0x3ef393,_0x20df94,_0x2580af)=>_0x20df94 in _0x3ef393?ae(_0x3ef393,_0x20df94,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2580af}):_0x3ef393[_0x20df94]=_0x2580af,I=(_0x5c5c33,_0x3a62f2,_0x5b1347)=>le(_0x5c5c33,typeof _0x3a62f2!=_0x1656c9(0x161)?_0x3a62f2+'':_0x3a62f2,_0x5b1347);Object[_0x1656c9(0x123)](exports,Symbol['toStringTag'],{'value':'Module'});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x392e92,..._0x2d817b}){const _0xf5bc4f=_0x1656c9,{icon:_0x1d7af6,id:_0x21f766,className:_0x30d5ef,extend:_0x36cc02,..._0x3531d4}=_0x2d817b,_0x11b5c3=('univerjs-icon\x20univerjs-icon-'+_0x21f766+'\x20'+(_0x30d5ef||''))[_0xf5bc4f(0xab)](),_0x2e357c=d[_0xf5bc4f(0x158)]('_'+de());return G(_0x1d7af6,''+_0x21f766,{'defIds':_0x1d7af6[_0xf5bc4f(0xa7)],'idSuffix':_0x2e357c[_0xf5bc4f(0xc3)]},{'ref':_0x392e92,'className':_0x11b5c3,..._0x3531d4},_0x36cc02);}function G(_0x172d7f,_0x25dcd8,_0x403634,_0x17b87f,_0x297bdc){const _0x429396=_0x1656c9;return d[_0x429396(0x173)](_0x172d7f[_0x429396(0x179)],{'key':_0x25dcd8,...ue(_0x172d7f,_0x403634,_0x297bdc),..._0x17b87f},(ve(_0x172d7f,_0x403634)[_0x429396(0x1a6)]||[])[_0x429396(0x15d)]((_0x49f49b,_0x35bb9e)=>G(_0x49f49b,_0x25dcd8+'-'+_0x172d7f[_0x429396(0x179)]+'-'+_0x35bb9e,_0x403634,void 0x0,_0x297bdc)));}function ue(_0x280199,_0x25aac4,_0x4ca048){const _0x250b01=_0x1656c9,_0x97fa14={..._0x280199[_0x250b01(0x19a)]};_0x4ca048!=null&&_0x4ca048[_0x250b01(0x1d3)]&&_0x97fa14[_0x250b01(0xe0)]===_0x250b01(0x1d3)&&(_0x97fa14[_0x250b01(0xe0)]=_0x4ca048[_0x250b01(0x1d3)]),_0x280199[_0x250b01(0x179)]==='mask'&&_0x97fa14['id']&&(_0x97fa14['id']=_0x97fa14['id']+_0x25aac4[_0x250b01(0x18e)]),Object['entries'](_0x97fa14)[_0x250b01(0x184)](([_0x3b15ff,_0x1cc562])=>{const _0x3f32a9=_0x250b01;_0x3b15ff===_0x3f32a9(0x190)&&typeof _0x1cc562==_0x3f32a9(0x10e)&&(_0x97fa14[_0x3b15ff]=_0x1cc562[_0x3f32a9(0x1a3)](/url\(#(.*)\)/,_0x3f32a9(0xd7)+_0x25aac4[_0x3f32a9(0x18e)]+')'));});const {defIds:_0x4eed7f}=_0x25aac4;return!_0x4eed7f||_0x4eed7f[_0x250b01(0x1fd)]===0x0||(_0x280199[_0x250b01(0x179)]===_0x250b01(0x1cc)&&_0x97fa14[_0x250b01(0x11a)]&&(_0x97fa14[_0x250b01(0x11a)]=_0x97fa14[_0x250b01(0x11a)]+_0x25aac4[_0x250b01(0x18e)]),Object['entries'](_0x97fa14)[_0x250b01(0x184)](([_0x35e731,_0x1a4825])=>{const _0x22f0b7=_0x250b01;typeof _0x1a4825=='string'&&(_0x97fa14[_0x35e731]=_0x1a4825[_0x22f0b7(0x1a3)](/url\(#(.*)\)/,_0x22f0b7(0xd7)+_0x25aac4[_0x22f0b7(0x18e)]+')'));})),_0x97fa14;}function ve(_0x5e1e5b,_0x125a55){const _0x1061f6=_0x1656c9;var _0x7dc280;const {defIds:_0x5b987b}=_0x125a55;return!_0x5b987b||_0x5b987b[_0x1061f6(0x1fd)]===0x0?_0x5e1e5b:_0x5e1e5b[_0x1061f6(0x179)]===_0x1061f6(0x17a)&&((_0x7dc280=_0x5e1e5b[_0x1061f6(0x1a6)])!=null&&_0x7dc280[_0x1061f6(0x1fd)])?{..._0x5e1e5b,'children':_0x5e1e5b[_0x1061f6(0x1a6)][_0x1061f6(0x15d)](_0x4066d7=>typeof _0x4066d7['attrs']['id']==_0x1061f6(0x10e)&&_0x5b987b&&_0x5b987b[_0x1061f6(0xe6)](_0x4066d7['attrs']['id'])?{..._0x4066d7,'attrs':{..._0x4066d7['attrs'],'id':_0x4066d7[_0x1061f6(0x19a)]['id']+_0x125a55[_0x1061f6(0x18e)]}}:_0x4066d7)}:_0x5e1e5b;}function de(){const _0x5d90d3=_0x1656c9;return Math[_0x5d90d3(0x1b0)]()['toString'](0x24)[_0x5d90d3(0x1bb)](0x2,0x8);}_['displayName']=_0x1656c9(0x17c);const Ce={'tag':_0x1656c9(0x1e0),'attrs':{'xmlns':_0x1656c9(0xcb),'fill':_0x1656c9(0x107),'viewBox':'0\x200\x2016\x2016','width':_0x1656c9(0x149),'height':_0x1656c9(0x149)},'children':[{'tag':_0x1656c9(0x208),'attrs':{'fill':'currentColor','d':_0x1656c9(0x201),'fillRule':_0x1656c9(0xfc),'clipRule':_0x1656c9(0xfc)}}]},H=d[_0x1656c9(0xa6)](function(_0x214f30,_0x54627d){const _0x294b94=_0x1656c9;return d['createElement'](_,Object['assign']({},_0x214f30,{'id':_0x294b94(0x1b3),'ref':_0x54627d,'icon':Ce}));});H[_0x1656c9(0x1c8)]='CheckMarkIcon';const ge={'tag':_0x1656c9(0x1e0),'attrs':{'xmlns':_0x1656c9(0xcb),'fill':'none','viewBox':_0x1656c9(0x141),'width':'1em','height':_0x1656c9(0x149)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z'}}]},B=d[_0x1656c9(0xa6)](function(_0x41ac15,_0x265a76){const _0xb8b0c8=_0x1656c9;return d[_0xb8b0c8(0x173)](_,Object['assign']({},_0x41ac15,{'id':_0xb8b0c8(0xc2),'ref':_0x265a76,'icon':ge}));});B[_0x1656c9(0x1c8)]=_0x1656c9(0x150);const fe={'tag':'svg','attrs':{'xmlns':_0x1656c9(0xcb),'fill':_0x1656c9(0x107),'viewBox':_0x1656c9(0x141),'width':_0x1656c9(0x149),'height':_0x1656c9(0x149)},'children':[{'tag':_0x1656c9(0x208),'attrs':{'fill':_0x1656c9(0x180),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':'path','attrs':{'fill':_0x1656c9(0x180),'d':_0x1656c9(0x160)}},{'tag':'path','attrs':{'fill':_0x1656c9(0x180),'d':_0x1656c9(0xe8),'fillRule':_0x1656c9(0xfc),'clipRule':_0x1656c9(0xfc)}}]},F=d['forwardRef'](function(_0x367a8a,_0x4d1565){const _0x221f29=_0x1656c9;return d[_0x221f29(0x173)](_,Object['assign']({},_0x367a8a,{'id':_0x221f29(0x206),'ref':_0x4d1565,'icon':fe}));});F[_0x1656c9(0x1c8)]='HelpIcon';const pe={'tag':'svg','attrs':{'xmlns':_0x1656c9(0xcb),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1656c9(0x149),'height':_0x1656c9(0x149)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1656c9(0x180),'d':_0x1656c9(0x117),'strokeLinecap':_0x1656c9(0x1f8),'strokeLinejoin':_0x1656c9(0x1f8),'strokeWidth':1.2}}]},{'tag':_0x1656c9(0x17a),'attrs':{},'children':[{'tag':_0x1656c9(0x152),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1656c9(0x208),'attrs':{'fill':'white','d':_0x1656c9(0xad)}}]}]}],'defIds':[_0x1656c9(0x1a1)]},Y=d[_0x1656c9(0xa6)](function(_0x1cac6c,_0x15f595){const _0x3f7524=_0x1656c9;return d[_0x3f7524(0x173)](_,Object[_0x3f7524(0x9f)]({},_0x1cac6c,{'id':'off-line-icon','ref':_0x15f595,'icon':pe}));});function _0x21c2(_0x29da7f,_0x5b5207){const _0x506ba3=_0x506b();return _0x21c2=function(_0x21c223,_0x4eb4d9){_0x21c223=_0x21c223-0x8c;let _0x392666=_0x506ba3[_0x21c223];return _0x392666;},_0x21c2(_0x29da7f,_0x5b5207);}Y[_0x1656c9(0x1c8)]=_0x1656c9(0x109);const he={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x1656c9(0x149),'height':_0x1656c9(0x149)},'children':[{'tag':'g','attrs':{'clipPath':_0x1656c9(0x164)},'children':[{'tag':_0x1656c9(0x208),'attrs':{'stroke':_0x1656c9(0x180),'d':_0x1656c9(0x162),'strokeLinecap':_0x1656c9(0x1f8),'strokeLinejoin':_0x1656c9(0x1f8),'strokeWidth':1.2}}]},{'tag':_0x1656c9(0x17a),'attrs':{},'children':[{'tag':_0x1656c9(0x152),'attrs':{'id':_0x1656c9(0xb0)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1656c9(0xad),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},q=d['forwardRef'](function(_0x3290d0,_0x3b92cf){const _0x44bbb7=_0x1656c9;return d[_0x44bbb7(0x173)](_,Object[_0x44bbb7(0x9f)]({},_0x3290d0,{'id':_0x44bbb7(0x170),'ref':_0x3b92cf,'icon':he}));});q[_0x1656c9(0x1c8)]=_0x1656c9(0x166);function V(_0x3a70be){const _0x3745d9=_0x1656c9;var _0x4defad,_0x40ae83;const {mcpCoreConfig:_0x290123,onSave:_0x30e310,loading:_0x47cb3e=!0x1,config:_0xbc9a17,connectionStatus$:_0x2fe4ec,connectionError$:_0x4a960a,currentApiKey$:_0x4be9a5,currentSessionId$:_0x6eb0e9}=_0x3a70be,_0x3a5443=v[_0x3745d9(0x1b7)](u[_0x3745d9(0x10a)]),_0x2ada96=v[_0x3745d9(0x115)](_0x2fe4ec,s['MCPConnectionStatus'][_0x3745d9(0x14a)]),_0x1c6781=v[_0x3745d9(0x115)](_0x4a960a,s['MCPConnectionError'][_0x3745d9(0xd0)]),_0x4ce820=v[_0x3745d9(0x115)](_0x6eb0e9,''),_0x131a14=v[_0x3745d9(0x115)](_0x4be9a5,''),[_0x3a240e,_0x12a136]=d['useState'](_0x131a14||''),_0x52e9a9=!0x0,_0x1fa19d=_0xbc9a17[_0x3745d9(0x209)]&&_0x290123[_0x3745d9(0x8f)]&&(_0x290123['mcpServerUrl']['includes'](_0x3745d9(0x1b1))||_0x290123[_0x3745d9(0x8f)][_0x3745d9(0xe6)](_0x3745d9(0x1e4))),_0x578fcf=(_0x4defad=_0x290123[_0x3745d9(0x8f)])==null?void 0x0:_0x4defad[_0x3745d9(0xe6)](_0x3745d9(0x1b1)),_0x2c7073=(_0x40ae83=_0x290123['mcpServerUrl'])==null?void 0x0:_0x40ae83[_0x3745d9(0xe6)](_0x3745d9(0x1e4)),_0x191fc0=_0x578fcf?_0x3745d9(0x1cf):_0x3745d9(0x129),_0x4e677c=_0xbc9a17['showDeveloperTools']&&(_0x578fcf||_0x2c7073),[_0x1238d6,_0x364860]=d[_0x3745d9(0x1c0)](!_0x3a240e['trim']()),_0x543903=(_0x27ad1a,_0x47888e)=>{const _0x8b7736=_0x3745d9;if(_0x47888e===s[_0x8b7736(0x111)]['UNAUTHORIZED'])return _0x8b7736(0x189);switch(_0x27ad1a){case s[_0x8b7736(0x1c1)]['CONNECTED']:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s['MCPConnectionStatus'][_0x8b7736(0x165)]:case s['MCPConnectionStatus']['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s['MCPConnectionStatus'][_0x8b7736(0xe5)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x8b7736(0x1ea);}},_0x266658=(_0x5e28bf,_0x2c96bb)=>{const _0x5985e8=_0x3745d9;if(_0x2c96bb===s[_0x5985e8(0x111)][_0x5985e8(0x127)])return'univer-bg-red-500';switch(_0x5e28bf){case s['MCPConnectionStatus'][_0x5985e8(0x1d5)]:return _0x5985e8(0x211);case s[_0x5985e8(0x1c1)][_0x5985e8(0x165)]:case s[_0x5985e8(0x1c1)][_0x5985e8(0x174)]:return _0x5985e8(0xcc);case s[_0x5985e8(0x1c1)][_0x5985e8(0xe5)]:return _0x5985e8(0x212);default:return _0x5985e8(0xc4);}},_0x2d06a9=_0x35b01d=>{const _0x43c1e3=_0x3745d9;switch(_0x35b01d){case s[_0x43c1e3(0x1c1)]['CONNECTED']:return _0x3a5443['t'](_0x43c1e3(0x194));case s['MCPConnectionStatus'][_0x43c1e3(0x165)]:return _0x3a5443['t'](_0x43c1e3(0xf0));case s[_0x43c1e3(0x1c1)][_0x43c1e3(0xe5)]:return _0x3a5443['t'](_0x43c1e3(0xf4));case s['MCPConnectionStatus']['RETRYING']:return _0x3a5443['t'](_0x43c1e3(0xa5));default:return _0x3a5443['t'](_0x43c1e3(0x19f));}},_0xaa8a69=_0x2bb240=>{const _0x121806=_0x3745d9;switch(_0x2bb240){case s[_0x121806(0x111)][_0x121806(0x127)]:return _0x3a5443['t'](_0x121806(0x20a));case s[_0x121806(0x111)][_0x121806(0x136)]:return _0x3a5443['t'](_0x121806(0xd8));case s[_0x121806(0x111)][_0x121806(0xd6)]:return _0x3a5443['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x3a5443['t'](_0x121806(0x11f));default:return'';}},_0x3b6bd1=d[_0x3745d9(0x9d)](()=>{const _0x1cb0cf={..._0x290123,'apiKey':_0x3a240e['trim'](),'enableAuth':_0x52e9a9};_0x30e310(_0x1cb0cf);},[_0x290123,_0x3a240e,_0x52e9a9,_0x30e310]),_0x3cc3a3=_0x3a240e[_0x3745d9(0xab)]()[_0x3745d9(0x1fd)]>0x0;return i['jsxs'](_0x3745d9(0x138),{'className':_0x3745d9(0x183),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0x1a4),'children':i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0x12e),'children':[i['jsx'](_0x3745d9(0x138),{'className':_0x3745d9(0x15e),'children':i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':_0x3745d9(0x14f),'children':'⚙'})}),i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'children':i[_0x3745d9(0x13b)]('p',{'className':_0x3745d9(0x14d),'children':_0x3a5443['t'](_0x3745d9(0xa9))})})]})}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0x192),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':f['clsx'](_0x3745d9(0x105),_0x543903(_0x2ada96,_0x1c6781)),'children':i[_0x3745d9(0x8d)]('div',{'className':_0x3745d9(0x110),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':f[_0x3745d9(0xff)](_0x3745d9(0xd5),_0x266658(_0x2ada96,_0x1c6781))}),i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':_0x3745d9(0xea),'children':_0x2d06a9(_0x2ada96)})]})}),_0x1c6781!==s[_0x3745d9(0x111)][_0x3745d9(0xd0)]&&(_0x2ada96===s[_0x3745d9(0x1c1)][_0x3745d9(0xe5)]||_0x1c6781===s[_0x3745d9(0x111)]['UNAUTHORIZED'])&&i[_0x3745d9(0x13b)]('div',{'className':_0x3745d9(0x13a),'children':i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0x154),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':_0x3745d9(0x1d0),'children':'⚠️'}),i[_0x3745d9(0x13b)]('p',{'className':_0x3745d9(0x1bf),'children':_0xaa8a69(_0x1c6781)})]})})]}),i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0x113),'children':i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0x96),'children':[i[_0x3745d9(0x8d)]('div',{'className':_0x3745d9(0x16e),'children':[i[_0x3745d9(0x8d)](_0x3745d9(0x130),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'children':'🔑'}),'\x20',_0x3a5443['t']('mcpConfig.apiKey'),i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':_0x3745d9(0x17e),'children':'*'}),_0x1fa19d&&i[_0x3745d9(0x13b)]('a',{'className':_0x3745d9(0xe1),'title':_0x3a5443['t']('mcpConfig.apiApplyInfo.title'),'role':_0x3745d9(0xda),'onClick':()=>_0x364860(!0x0),'children':i[_0x3745d9(0x13b)](F,{})})]}),i[_0x3745d9(0x13b)](f[_0x3745d9(0x139)],{'type':'text','placeholder':_0x3a5443['t'](_0x3745d9(0x187)),'value':_0x3a240e,'disabled':_0x47cb3e,'autoComplete':_0x3745d9(0x92),'onChange':_0x12a136}),i[_0x3745d9(0x13b)]('p',{'className':_0x3745d9(0xb6),'children':_0x3a5443['t']('mcpConfig.apiKeyHint')})]}),_0x1fa19d&&_0x1238d6&&i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0xdb),'children':[i['jsx']('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x3745d9(0xda),'onClick':()=>_0x364860(!0x1),'children':i[_0x3745d9(0x13b)](B,{'className':'univer-size-4'})}),i[_0x3745d9(0x8d)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x3745d9(0x13b)]('div',{'className':_0x3745d9(0x155),'children':i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':_0x3745d9(0xdf),'children':'🚀'})}),i['jsxs'](_0x3745d9(0x138),{'className':_0x3745d9(0x1c6),'children':[i[_0x3745d9(0x13b)]('h4',{'className':_0x3745d9(0xf9),'children':_0x3a5443['t'](_0x3745d9(0x205))}),i[_0x3745d9(0x13b)]('p',{'className':_0x3745d9(0x12d),'children':_0x3a5443['t'](_0x3745d9(0x13c))}),i['jsx'](_0x3745d9(0x138),{'className':_0x3745d9(0x18b),'children':_0x4e677c&&i[_0x3745d9(0x8d)]('a',{'className':_0x3745d9(0x16d),'href':_0x191fc0,'target':_0x3745d9(0xe7),'rel':'noopener\x20noreferrer','children':[i[_0x3745d9(0x13b)]('span',{'children':'🤖'}),_0x3a5443['t'](_0x3745d9(0x1dd)),i['jsx'](_0x3745d9(0x100),{'className':_0x3745d9(0xb9),'children':'↗'})]})}),i[_0x3745d9(0x8d)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3a5443['t'](_0x3745d9(0x19c))]})]})]})]}),_0xbc9a17[_0x3745d9(0x209)]&&i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0xdc),'children':[i[_0x3745d9(0x8d)]('h4',{'className':_0x3745d9(0x1a0),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'children':'🔗'}),'\x20',_0x3a5443['t'](_0x3745d9(0x17f))]}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0xbc),'children':[i['jsxs'](_0x3745d9(0x138),{'className':_0x3745d9(0x94),'children':[i[_0x3745d9(0x13b)]('p',{'className':_0x3745d9(0x1d8),'children':_0x3a5443['t'](_0x3745d9(0x1de))}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0x16e),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x3a5443['t'](_0x3745d9(0x134))}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0x110),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':_0x3745d9(0xbe),'children':'1'}),_0x3a5443['t'](_0x3745d9(0x91))]}),i[_0x3745d9(0x8d)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x3a5443['t']('mcpConfig.configStep2')]}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0x110),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':_0x3745d9(0xbe),'children':'3'}),_0x3a5443['t'](_0x3745d9(0xc7))]})]})]})]}),i[_0x3745d9(0x8d)]('div',{'className':_0x3745d9(0x16e),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0x98),'children':_0x3745d9(0x1f3)}),i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0x99),'children':i[_0x3745d9(0x13b)](_0x3745d9(0x195),{'className':_0x3745d9(0x1f1),'children':JSON['stringify']({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x4ce820||_0x3745d9(0x116)),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0x3a240e||_0x3745d9(0x203))}}}},null,0x2)})})]}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':'univer-space-y-3','children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0x98),'children':_0x3a5443['t']('mcpConfig.configParameters')}),i[_0x3745d9(0x8d)]('div',{'className':_0x3745d9(0x16e),'children':[i['jsxs'](_0x3745d9(0x138),{'className':_0x3745d9(0x106),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0xec)}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'className':_0x3745d9(0x193),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0xeb),'children':'univer_session_id:'}),i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0xb6),'children':_0x3a5443['t'](_0x3745d9(0xa0))})]})]}),i[_0x3745d9(0x8d)]('div',{'className':_0x3745d9(0x106),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i['jsxs']('div',{'className':_0x3745d9(0x193),'children':[i['jsx']('div',{'className':_0x3745d9(0xeb),'children':_0x3745d9(0x168)}),i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0xb6),'children':_0x3a5443['t'](_0x3745d9(0xb2))})]})]})]})]})]})]}),i[_0x3745d9(0x13b)](f[_0x3745d9(0xd3)],{'onClick':_0x3b6bd1,'disabled':!_0x3cc3a3||_0x47cb3e,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x47cb3e?i[_0x3745d9(0x8d)](_0x3745d9(0x100),{'className':_0x3745d9(0x110),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'children':'⟲'}),_0x3a5443['t'](_0x3745d9(0x1f4))]}):i['jsxs'](_0x3745d9(0x100),{'className':_0x3745d9(0x110),'children':[i[_0x3745d9(0x13b)](H,{}),_0x3a5443['t'](_0x3745d9(0xaa))]})}),i[_0x3745d9(0x13b)]('div',{'className':_0x3745d9(0x1ce),'children':i[_0x3745d9(0x8d)]('div',{'className':_0x3745d9(0x17d),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x100),{'className':_0x3745d9(0x1e9),'children':'💡'}),i[_0x3745d9(0x8d)]('div',{'className':_0x3745d9(0xc5),'children':[i[_0x3745d9(0x13b)](_0x3745d9(0x138),{'className':_0x3745d9(0x1ec),'children':_0x3745d9(0x1fe)}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'children':['•',_0x3a5443['t']('mcpConfig.note1')]}),i[_0x3745d9(0x8d)](_0x3745d9(0x138),{'children':['•',_0x3a5443['t'](_0x3745d9(0xac))]})]})]})})]})})]});}const P=_0x1656c9(0x213),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x1656c9(0x18a)],xe=(_0x14c8af,_0x12ef51,_0x4716cc,_0x1ac5e0)=>{const _0x3d299b=_0x1656c9;for(var _0x220ff8=_0x1ac5e0>0x1?void 0x0:_0x1ac5e0?me(_0x12ef51,_0x4716cc):_0x12ef51,_0x2c5b8a=_0x14c8af[_0x3d299b(0x1fd)]-0x1,_0xb5871a;_0x2c5b8a>=0x0;_0x2c5b8a--)(_0xb5871a=_0x14c8af[_0x2c5b8a])&&(_0x220ff8=_0xb5871a(_0x220ff8)||_0x220ff8);return _0x220ff8;},g=(_0x38f153,_0x32adca)=>(_0x539e14,_0x554fbb)=>_0x32adca(_0x539e14,_0x554fbb,_0x38f153);const O=_0x1656c9(0x1f6),D=_0x1656c9(0x1dc);exports['MCPConfigUIController']=class extends u[_0x1656c9(0x1fc)]{constructor(_0xe94975,_0x2c1ee0,_0x36f7b9,_0x5430d3,_0x1557c0,_0xacb60d,_0x4821db,_0x409530,_0x309fc7,_0x21f706){const _0x58d282=_0x1656c9;super(),I(this,_0x58d282(0x1f2),new M[(_0x58d282(0x188))](!0x1)),I(this,_0x58d282(0xf2),new M[(_0x58d282(0x188))]({})),I(this,_0x58d282(0x1d6),new M[(_0x58d282(0x188))]({})),I(this,'_apiKey$',new M[(_0x58d282(0x188))]('')),I(this,'_handleConfigSave',async _0x582ad8=>{const _0x1b705d=_0x58d282;var _0x2c445a,_0x11eefa;this[_0x1b705d(0x1f2)][_0x1b705d(0x177)](!0x0);try{const _0x5487d5=await this['_validateConfig'](_0x582ad8);if(!_0x5487d5['isValid']){this[_0x1b705d(0x191)][_0x1b705d(0x95)]({'type':f['MessageType'][_0x1b705d(0x163)],'content':_0x5487d5['errorMessage']||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x582ad8[_0x1b705d(0xe3)]?await this[_0x1b705d(0x186)]['setItem'](O,_0x582ad8[_0x1b705d(0xe3)][_0x1b705d(0xab)]()):await this[_0x1b705d(0x186)]['removeItem'](O),this[_0x1b705d(0xdd)][_0x1b705d(0x177)](((_0x2c445a=_0x582ad8['apiKey'])==null?void 0x0:_0x2c445a[_0x1b705d(0xab)]())||''),this[_0x1b705d(0x10c)][_0x1b705d(0x114)]({'Authorization':_0x1b705d(0x1be)+((_0x11eefa=_0x582ad8['apiKey'])==null?void 0x0:_0x11eefa[_0x1b705d(0xab)]())}),this[_0x1b705d(0x191)][_0x1b705d(0x95)]({'type':f[_0x1b705d(0x1c7)][_0x1b705d(0x9b)],'content':this[_0x1b705d(0xc6)]['t'](_0x1b705d(0xe9))}),setTimeout(()=>{const _0x3f5bba=_0x1b705d;this[_0x3f5bba(0x1d1)]['close'](D);},0x320);}catch(_0x21d2eb){this[_0x1b705d(0x175)]['error'](_0x1b705d(0x1ae),_0x21d2eb),this[_0x1b705d(0x191)][_0x1b705d(0x95)]({'type':f[_0x1b705d(0x1c7)][_0x1b705d(0x163)],'content':this[_0x1b705d(0xc6)]['t']('mcpConfig.configError')});}finally{this[_0x1b705d(0x1f2)][_0x1b705d(0x177)](!0x1);}}),(this['_injector']=_0xe94975,this[_0x58d282(0x1c4)]=_0x2c1ee0,this['_configService']=_0x36f7b9,this['_localStorageService']=_0x5430d3,this[_0x58d282(0x1d1)]=_0x1557c0,this[_0x58d282(0x191)]=_0xacb60d,this[_0x58d282(0x151)]=_0x4821db,this[_0x58d282(0xc6)]=_0x409530,this['_logService']=_0x309fc7,this[_0x58d282(0x10c)]=_0x21f706,this[_0x58d282(0x11c)](),this[_0x58d282(0x131)](),this[_0x58d282(0x12c)]());}['showConfigPanel'](){const _0x5475ba=_0x1656c9,_0xb4e57=this['_configService'][_0x5475ba(0x214)](P);_0xb4e57!=null&&_0xb4e57[_0x5475ba(0x209)]&&this[_0x5475ba(0x1d1)][_0x5475ba(0x1c3)]({'id':D,'title':{'title':this['_localeService']['t'](_0x5475ba(0x10f))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x38df28=_0x5475ba;this[_0x38df28(0x1d1)][_0x38df28(0x10d)](D);}});}[_0x1656c9(0x14c)](){const _0x517b6d=_0x1656c9;return this[_0x517b6d(0xf2)][_0x517b6d(0x185)];}[_0x1656c9(0x12c)](){const _0x492d53=_0x1656c9;this[_0x492d53(0xa8)](this[_0x492d53(0x151)][_0x492d53(0x12f)](_0x492d53(0xee),this[_0x492d53(0x1ee)]()));}['_createConfigPanelComponent'](){const _0x225eb5=_0x1656c9;return v[_0x225eb5(0x128)](()=>{const _0x548c2d=_0x225eb5;var _0x4ef6d0,_0x2bf923,_0xcdba26;return i[_0x548c2d(0x13b)](V,{'config':this[_0x548c2d(0x1d6)][_0x548c2d(0x185)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x548c2d(0x185)],'currentApiKey$':this[_0x548c2d(0xdd)],'onSave':this[_0x548c2d(0x102)],'loading':this[_0x548c2d(0x1f2)]['value'],'connectionStatus$':(_0x4ef6d0=this[_0x548c2d(0x10c)])==null?void 0x0:_0x4ef6d0[_0x548c2d(0xd9)],'connectionError$':(_0x2bf923=this['_mcpConnectionController'])==null?void 0x0:_0x2bf923[_0x548c2d(0x13e)],'currentSessionId$':(_0xcdba26=this[_0x548c2d(0x10c)])==null?void 0x0:_0xcdba26[_0x548c2d(0x18c)]});},this[_0x225eb5(0x20f)]);}[_0x1656c9(0x11c)](){const _0x2d6abf=_0x1656c9;this[_0x2d6abf(0xa8)](this[_0x2d6abf(0xa4)]['subscribeConfigValue$'](s[_0x2d6abf(0x20e)])['subscribe'](_0x266b9e=>{const _0x228540=_0x2d6abf;this[_0x228540(0xf2)][_0x228540(0x177)](_0x266b9e||{});}));const _0x4017c4=this[_0x2d6abf(0xa4)]['getConfig'](s[_0x2d6abf(0x20e)]);this[_0x2d6abf(0xf2)]['next'](_0x4017c4||{}),this[_0x2d6abf(0xa8)](this['_configService'][_0x2d6abf(0x118)](P)[_0x2d6abf(0x120)](_0x222022=>{const _0x3356e5=_0x2d6abf;this[_0x3356e5(0x1d6)][_0x3356e5(0x177)](_0x222022||{});}));const _0x538bd1=this['_configService'][_0x2d6abf(0x214)](P);this['_config$'][_0x2d6abf(0x177)](_0x538bd1||{});}async[_0x1656c9(0x131)](){const _0x5e3ae2=_0x1656c9,_0x54aa38=this[_0x5e3ae2(0xa4)]['getConfig'](P);if(!(_0x54aa38!=null&&_0x54aa38[_0x5e3ae2(0x209)]))return;const _0xea82ef=await this[_0x5e3ae2(0x186)]['getItem'](O);_0xea82ef&&(this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x5e3ae2(0x1be)+_0xea82ef}),this[_0x5e3ae2(0xdd)][_0x5e3ae2(0x177)](_0xea82ef));}async[_0x1656c9(0x1ad)](_0x44d0c0){const _0x5ba07c=_0x1656c9;if(!_0x44d0c0[_0x5ba07c(0xe3)]||_0x44d0c0['apiKey'][_0x5ba07c(0xab)]()[_0x5ba07c(0x1fd)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5ba07c(0xc6)]['t'](_0x5ba07c(0x1b4))};if(_0x44d0c0[_0x5ba07c(0xe3)][_0x5ba07c(0xab)]()[_0x5ba07c(0x1fd)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x583299=await this[_0x5ba07c(0x20f)][_0x5ba07c(0xc8)](s[_0x5ba07c(0x1bc)])['validateApiKey'](_0x44d0c0[_0x5ba07c(0xe3)][_0x5ba07c(0xab)]());return _0x583299[_0x5ba07c(0x19d)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x583299[_0x5ba07c(0x14b)]||this[_0x5ba07c(0xc6)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x3ba154){return console['warn'](_0x5ba07c(0x1f0),_0x3ba154),{'isValid':!0x0};}}},exports[_0x1656c9(0x1ac)]=xe([g(0x0,u['Inject'](u['Injector'])),g(0x1,v[_0x1656c9(0x176)]),g(0x2,u[_0x1656c9(0x90)]),g(0x3,u['ILocalStorageService']),g(0x4,v[_0x1656c9(0x1f7)]),g(0x5,v[_0x1656c9(0x1ed)]),g(0x6,u[_0x1656c9(0xef)](v[_0x1656c9(0xed)])),g(0x7,u[_0x1656c9(0xef)](u['LocaleService'])),g(0x8,u['ILogService']),g(0x9,u['Inject'](s[_0x1656c9(0x1bc)]))],exports[_0x1656c9(0x1ac)]);const b={'id':_0x1656c9(0x15c),'type':u[_0x1656c9(0x1b6)]['COMMAND'],'handler':async(_0x2cf093,_0x32c637)=>(_0x2cf093[_0x1656c9(0xc8)](exports[_0x1656c9(0x1ac)])[_0x1656c9(0x1fa)](),!0x0)};function Z(_0x35fc85,_0x4342c){const _0x292c69=_0x1656c9;switch(_0x35fc85){case s[_0x292c69(0x1c1)]['DISCONNECTED']:return _0x292c69(0x142);case s[_0x292c69(0x1c1)]['CONNECTING']:return _0x292c69(0x1a9);case s[_0x292c69(0x1c1)]['CONNECTED']:return'mcpStatus.connected';case s[_0x292c69(0x1c1)][_0x292c69(0xe5)]:switch(_0x4342c){case s[_0x292c69(0x111)]['UNAUTHORIZED']:return'mcpStatus.unauthorized';case s[_0x292c69(0x111)]['SESSION_ID_OCCUPIED']:return _0x292c69(0xd1);case s[_0x292c69(0x111)]['NETWORK_ERROR']:return _0x292c69(0xde);case s[_0x292c69(0x111)]['MAX_RETRIES_EXCEEDED']:return _0x292c69(0x11e);default:return _0x292c69(0x1ba);}case s[_0x292c69(0x1c1)][_0x292c69(0x174)]:return _0x292c69(0xbd);default:return _0x292c69(0x1df);}}function Se(_0x1d7684,_0x4d604f,_0x24550f,_0x278d51=!0x0){const _0x5da26e=_0x1656c9,_0x1a8406=Z(_0x1d7684,_0x4d604f),_0x3dfaa2=_0x24550f['t'](_0x1a8406);return _0x278d51?_0x1d7684===s[_0x5da26e(0x1c1)][_0x5da26e(0x14a)]&&_0x4d604f===s[_0x5da26e(0x111)][_0x5da26e(0x127)]?_0x3dfaa2+_0x5da26e(0x1da)+_0x24550f['t'](_0x5da26e(0x140)):_0x1d7684===s['MCPConnectionStatus'][_0x5da26e(0x1d5)]?''+_0x3dfaa2:_0x1d7684===s[_0x5da26e(0x1c1)][_0x5da26e(0x14a)]||_0x1d7684===s[_0x5da26e(0x1c1)][_0x5da26e(0xe5)]?_0x3dfaa2+_0x5da26e(0x1da)+_0x24550f['t'](_0x5da26e(0x1b2)):_0x3dfaa2:_0x3dfaa2;}function _0x506b(){const _0x9e956b=['_registerComponent','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-gap-3','register','label','_loadStoredApiKey','MCP\x20连接中...','配置更改将立即生效','mcpConfig.configStepTitle','Tooltip','SESSION_ID_OCCUPIED','_config','div','Input','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','jsx','mcpConfig.apiApplyInfo.description','registerCommand','connectionError$','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcpStatus.clickToConfigure','0\x200\x2016\x2016','mcpStatus.disconnected','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置保存成功','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','291066lRUmoc','5056450dcAfZw','重启您的\x20MCP\x20客户端以使配置生效','1em','DISCONNECTED','error','getCurrentConfig','univer-text-sm\x20univer-text-gray-500','Connection\x20Failed','univer-text-white','CloseIcon','_componentManager','clipPath','WebSocketService','univer-flex\x20univer-items-start\x20univer-gap-2','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','useRef','9ZvLHbC','univer-text-green-500','UniverMCPPlugin','mcp-ui.command.openConfigPanel','map','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','API\x20Key','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','symbol','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','Error','url(#on-line-icon_clip0_910_349)','CONNECTING','OnLineIcon','onStarting','Authorization:','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','enUS','您的\x20API\x20密钥安全存储在本地存储中','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-space-y-2','API\x20密钥','on-line-icon','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connecting...','createElement','RETRYING','_logService','IUIPartsService','next','API\x20密钥不能为空','tag','defs','将以下配置添加到您的\x20MCP\x20客户端设置中:','UniverIcon','univer-flex\x20univer-gap-3','univer-text-red-500','mcpConfig.connectionInfo','currentColor','几秒钟内获取您的\x20API\x20密钥','保存中...','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','forEach','value','_localStorageService','mcpConfig.apiKeyPlaceholder','BehaviorSubject','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','getOwnPropertyDescriptor','univer-flex\x20univer-flex-wrap\x20univer-gap-2','sessionId$','5410940CUtLaE','idSuffix','MCP\x20状态未知','mask','_messageService','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-min-w-0\x20univer-flex-1','mcpConfig.connectionStatus.connected','pre','Session\x20ID','push','请输入您的\x20API\x20密钥','ILocalStorageService','attrs','MCP:\x20Session\x20ID\x20Occupied','mcpConfig.apiApplyInfo.getStarted','isValid','_connectionController','mcpConfig.connectionStatus.disconnected','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','off-line-icon_clip0_910_343','OpenMCPConfigPanelCommand','replace','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','_initStatusComponent','children','mergeMenu','Max\x20Retries','mcpStatus.connecting','univer-flex\x20univer-items-center','Enter\x20your\x20API\x20key','MCPConfigUIController','_validateConfig','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','random','univer.plus','mcpStatus.clickToConnect','check-mark-icon','mcpConfig.validation.apiKeyRequired','univer-mr-2\x20univer-flex\x20univer-text-xl','CommandType','useDependency','has','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpStatus.failed','substring','MCPConnectionController','MCP:\x20会话\x20ID\x20已被占用','Bearer\x20','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','useState','MCPConnectionStatus','超出最大重试次数,请稍后再试','open','_uiPartsService','ICommandService','univer-flex-1','MessageType','displayName','MCP\x20重连中...','Saving...','IMenuManagerService','use','启用身份验证','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','https://console.univer.plus','univer-shrink-0\x20univer-text-red-500','_dialogService','配置保存失败','colorChannel1','Connected','CONNECTED','_config$','merge','univer-text-xs\x20univer-text-gray-600','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','\x20-\x20','pluginName','mcp-config-dialog','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.configInstructions','mcpStatus.unknown','svg','复制以下\x20JSON\x20配置','MCP:\x20超出最大重试次数','_initAutoConnect','univer.ai','Configuration\x20Parameters:','MCP\x20Connecting...','Univer\x20AI\x20控制台','保存配置','univer-shrink-0\x20univer-text-blue-500','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','What\x20is\x20API\x20Key?','univer-font-medium','IMessageService','_createConfigPanelComponent','add','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_loading$','MCP\x20Configuration','mcpConfig.saving','762230FLBvbM','mcp.apiKey','IDialogService','round','123qEiRnl','showConfigPanel','OTHERS','Disposable','length','Configuration\x20Notes:','_menuManagerService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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','MCP:\x20网络错误','<API_KEY>','最大重试次数','mcpConfig.apiApplyInfo.title','help-icon','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','path','showDeveloperTools','mcpConfig.connectionError.unauthorized','MCP\x20已断开','univer-text-gray-500','BUTTON','MCP_PLUGIN_CONFIG_KEY','_injector','setConfig','univer-bg-green-500','univer-bg-red-500','mcp-ui.config','getConfig','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','jsxs','MCP:\x20Unauthorized','mcpServerUrl','IConfigService','mcpConfig.configStep1','off','MCP:\x20Network\x20Error','univer-space-y-3','show','univer-space-y-5','DependentOn','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP\x20Unknown\x20Status','Success','API\x20密钥无效,请检查密钥是否正确','useCallback','45970hidWTz','assign','mcpConfig.sessionIdDescription','Failed\x20to\x20save\x20configuration','点击连接\x20MCP','将配置添加到您的\x20MCP\x20客户端设置文件中','_configService','mcpConfig.connectionStatus.retrying','forwardRef','defIds','disposeWithMe','mcpConfig.description','mcpConfig.save','trim','mcpConfig.note2','M0\x200H16V16H0z','RibbonStartGroup','Retrying...','on-line-icon_clip0_910_349','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.authorizationDescription','连接失败','MCP\x20已连接','重连中...','univer-text-xs\x20univer-text-gray-500','启用身份验证以获得安全连接','会话ID','univer-text-gray-400','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20客户端配置','univer-space-y-4','mcpStatus.retrying','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','API\x20key\x20is\x20required','MenuItemType','MCP\x20Retrying...','close-icon','current','univer-bg-gray-500','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','_localeService','mcpConfig.configStep3','get','Disconnected','Invalid\x20configuration','http://www.w3.org/2000/svg','univer-bg-blue-500','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','BuiltInUIPart','配置无效','NONE','mcpStatus.sessionOccupied','182136hKMPsm','Button','7850590YHLAoj','univer-size-2\x20univer-rounded-full','NETWORK_ERROR','url(#$1','mcpConfig.connectionError.sessionOccupied','connectionStatus$','button','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','_apiKey$','mcpStatus.networkError','univer-text-blue-600','fill','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','已连接','apiKey','_handleConfigure','FAILED','includes','_blank','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.configSaved','univer-text-sm\x20univer-font-medium','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','ComponentManager','MCPConfigPanel','Inject','mcpConfig.connectionStatus.connecting','bottom','_mcpCoreConfig$','showStatus','mcpConfig.connectionStatus.failed','_commandService','MCPConnectionUIController','您的\x20API\x20密钥将在此浏览器中本地存储','ISocketService','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Injector','MCPUIMenuController','evenodd','_initializeCommands','6YeucPO','clsx','span','MCP:\x20Max\x20Retries\x20Exceeded','_handleConfigSave','MCP\x20配置','会话\x20ID\x20已被占用,请稍后再试','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-flex\x20univer-items-start\x20univer-gap-3','none','_initializeMenus','OffLineIcon','LocaleService','Copy\x20the\x20JSON\x20configuration\x20below','_mcpConnectionController','close','string','mcpConfig.title','univer-flex\x20univer-items-center\x20univer-gap-2','MCPConnectionError','Plugin','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','__setCustomHeaders','useObservable','<SESSION_ID>','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','subscribeConfigValue$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','xlink:href','未连接','_initConfigSync','UniverMCPUIPlugin','mcpStatus.maxRetriesExceeded','mcpConfig.connectionError.maxRetriesExceeded','subscribe','网络连接错误,请检查您的网络连接','univer-text-yellow-500','defineProperty','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','什么是\x20API\x20密钥?','MenuIcon','UNAUTHORIZED','connectInjector','https://console.univer.ai','API\x20密钥长度至少需要\x2010\x20位','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x506b=function(){return _0x9e956b;};return _0x506b();}function Pe(_0x37e4e4){const _0xbf84c9=_0x1656c9;switch(_0x37e4e4){case s[_0xbf84c9(0x1c1)]['CONNECTED']:return _0xbf84c9(0x15a);case s['MCPConnectionStatus']['CONNECTING']:case s[_0xbf84c9(0x1c1)][_0xbf84c9(0x174)]:return _0xbf84c9(0x122);case s[_0xbf84c9(0x1c1)][_0xbf84c9(0xe5)]:case s[_0xbf84c9(0x1c1)]['DISCONNECTED']:return _0xbf84c9(0x17e);default:return _0xbf84c9(0x20c);}}function W(_0x3df309){const _0x47a617=_0x1656c9,{status$:_0x4f87b3,error$:_0x2fb171,onConfigure:_0x293f94,showClickable:_0xa45f01=!0x0}=_0x3df309,_0x56fc2f=v[_0x47a617(0x115)](_0x4f87b3,s['MCPConnectionStatus'][_0x47a617(0x14a)]),_0x4c3bd6=v[_0x47a617(0x115)](_0x2fb171,s['MCPConnectionError'][_0x47a617(0xd0)]),_0x5f54b8=v[_0x47a617(0x1b7)](u[_0x47a617(0x10a)]),_0x39dd73=_0x56fc2f===s[_0x47a617(0x1c1)][_0x47a617(0x1d5)];_0x56fc2f===s[_0x47a617(0x1c1)][_0x47a617(0x165)]||s[_0x47a617(0x1c1)][_0x47a617(0x174)];const _0x380aec=_0x5f54b8['t'](Z(_0x56fc2f,_0x4c3bd6)),_0x5859c8=Se(_0x56fc2f,_0x4c3bd6,_0x5f54b8,_0xa45f01),_0x415ee7=Pe(_0x56fc2f),_0x5d50b0=_0x39dd73?i['jsx'](q,{}):i[_0x47a617(0x13b)](Y,{}),_0x2ded72=d[_0x47a617(0x9d)](()=>{_0xa45f01&&_0x293f94&&_0x293f94();},[_0xa45f01,_0x293f94]);function _0x7b506e(){const _0x3459a6=_0x47a617;return i[_0x3459a6(0x8d)](_0x3459a6(0x138),{'className':f['clsx'](_0x3459a6(0x1aa),_0xa45f01&&_0x293f94&&'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'),'role':_0x3459a6(0xda),'onClick':_0xa45f01&&_0x293f94?_0x2ded72:void 0x0,'children':[i['jsx'](_0x3459a6(0x138),{'className':f[_0x3459a6(0xff)](_0x3459a6(0x1b5),_0x415ee7),'children':_0x5d50b0}),i[_0x3459a6(0x13b)](_0x3459a6(0x138),{'className':_0x3459a6(0x119),'children':_0x380aec})]});}return i[_0x47a617(0x13b)](f[_0x47a617(0x135)],{'title':_0x5859c8,'placement':_0x47a617(0xf1),'children':_0x7b506e()});}var Ie=Object[_0x1656c9(0x18a)],_e=(_0x217a5f,_0x3557b8,_0x3c2e45,_0x16ea27)=>{const _0x1f6bfd=_0x1656c9;for(var _0x47d4dd=_0x16ea27>0x1?void 0x0:_0x16ea27?Ie(_0x3557b8,_0x3c2e45):_0x3557b8,_0x126717=_0x217a5f[_0x1f6bfd(0x1fd)]-0x1,_0x574182;_0x126717>=0x0;_0x126717--)(_0x574182=_0x217a5f[_0x126717])&&(_0x47d4dd=_0x574182(_0x47d4dd)||_0x47d4dd);return _0x47d4dd;},N=(_0x35d11a,_0x125b28)=>(_0x49fc8f,_0x5eac1e)=>_0x125b28(_0x49fc8f,_0x5eac1e,_0x35d11a);exports[_0x1656c9(0xf6)]=class extends u[_0x1656c9(0x1fc)]{constructor(_0x56245e,_0x3f1cb2,_0x11f050,_0x3bacd2){const _0x1a1701=_0x1656c9;super(),this[_0x1a1701(0x20f)]=_0x56245e,this[_0x1a1701(0x19e)]=_0x3f1cb2,this[_0x1a1701(0x1c4)]=_0x11f050,this[_0x1a1701(0xa4)]=_0x3bacd2,this[_0x1a1701(0x1e3)](),this[_0x1a1701(0x1a5)]();}[_0x1656c9(0x1e3)](){const _0x232d16=_0x1656c9,_0x125061=this[_0x232d16(0xa4)]['getConfig'](P);_0x125061!=null&&_0x125061[_0x232d16(0x209)]&&(this[_0x232d16(0x19e)]['enableAutoConnect']=!0x1);}[_0x1656c9(0x1a5)](){const _0x30440f=_0x1656c9,_0xf430e1=this['_configService'][_0x30440f(0x214)](P);(_0xf430e1==null?void 0x0:_0xf430e1[_0x30440f(0xf3)])!==!0x1&&this[_0x30440f(0xa8)](this[_0x30440f(0x1c4)]['registerComponent'](v[_0x30440f(0xce)]['HEADER_MENU'],()=>{const _0xe3f49f=_0x30440f;var _0x4de146;return v[_0xe3f49f(0x128)](ye({'status$':this['_connectionController']['connectionStatus$'],'error$':this[_0xe3f49f(0x19e)][_0xe3f49f(0x13e)],'onConfigure':()=>this[_0xe3f49f(0xe4)](),'showClickable':(_0x4de146=_0xf430e1==null?void 0x0:_0xf430e1[_0xe3f49f(0x209)])!=null?_0x4de146:!0x1}),this[_0xe3f49f(0x20f)]);}));}[_0x1656c9(0xe4)](){const _0xe100c8=_0x1656c9;this['_injector'][_0xe100c8(0xc8)](exports['MCPConfigUIController'])[_0xe100c8(0x1fa)]();}},exports[_0x1656c9(0xf6)]=_e([N(0x0,u['Inject'](u[_0x1656c9(0xfa)])),N(0x1,u[_0x1656c9(0xef)](s[_0x1656c9(0x1bc)])),N(0x2,v[_0x1656c9(0x176)]),N(0x3,u[_0x1656c9(0x90)])],exports[_0x1656c9(0xf6)]);function ye(_0x5c4bf2){const {status$:_0x407c46,error$:_0x538191,onConfigure:_0x27daa0,showClickable:_0xde634}=_0x5c4bf2;return function(){const _0x5352f9=_0x21c2;return i[_0x5352f9(0x13b)](W,{'status$':_0x407c46,'error$':_0x538191,'onConfigure':_0x27daa0,'showClickable':_0xde634});};}function Me(_0x35aa32){const _0x3c992b=_0x1656c9;return{'id':b['id'],'type':v[_0x3c992b(0xc0)][_0x3c992b(0x20d)],'icon':_0x3c992b(0x126),'title':'mcpConfig.title','tooltip':_0x3c992b(0x10f)};}const Ne={[v[_0x1656c9(0xae)][_0x1656c9(0x1fb)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x1656c9(0x18a)],je=(_0x3939a4,_0x5a90d5,_0x26d3bc,_0x9beffa)=>{for(var _0x2af5b3=_0x9beffa>0x1?void 0x0:_0x9beffa?be(_0x5a90d5,_0x26d3bc):_0x5a90d5,_0x4ec801=_0x3939a4['length']-0x1,_0x26db8f;_0x4ec801>=0x0;_0x4ec801--)(_0x26db8f=_0x3939a4[_0x4ec801])&&(_0x2af5b3=_0x26db8f(_0x2af5b3)||_0x2af5b3);return _0x2af5b3;},z=(_0x366708,_0x1cc251)=>(_0x22c27f,_0xb17530)=>_0x1cc251(_0x22c27f,_0xb17530,_0x366708);exports[_0x1656c9(0xfb)]=class extends u[_0x1656c9(0x1fc)]{constructor(_0x23360d,_0x5aaf91){const _0x242131=_0x1656c9;super(),this[_0x242131(0xf5)]=_0x23360d,this[_0x242131(0x1ff)]=_0x5aaf91,this[_0x242131(0xfd)](),this[_0x242131(0x108)]();}[_0x1656c9(0xfd)](){const _0x3104e9=_0x1656c9;[b][_0x3104e9(0x184)](_0x5d3b5c=>{const _0x52c1e5=_0x3104e9;this[_0x52c1e5(0xa8)](this[_0x52c1e5(0xf5)][_0x52c1e5(0x13d)](_0x5d3b5c));});}[_0x1656c9(0x108)](){const _0x456805=_0x1656c9;this['_menuManagerService'][_0x456805(0x1a7)](Ne);}},exports[_0x1656c9(0xfb)]=je([z(0x0,u[_0x1656c9(0x1c5)]),z(0x1,v[_0x1656c9(0x1cb)])],exports[_0x1656c9(0xfb)]);const Ee={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1656c9(0x1e6),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x1656c9(0xc1),'unknown':_0x1656c9(0x9a),'unauthorized':_0x1656c9(0x8e),'sessionOccupied':_0x1656c9(0x19b),'networkError':_0x1656c9(0x93),'maxRetriesExceeded':_0x1656c9(0x101),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1656c9(0x1f3),'description':_0x1656c9(0x13f),'apiKey':_0x1656c9(0x15f),'apiKeyPlaceholder':_0x1656c9(0x1ab),'apiKeyHint':_0x1656c9(0x12b),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1656c9(0x200),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x1656c9(0x10b),'configStep2':_0x1656c9(0xcd),'configStep3':_0x1656c9(0x207),'sessionId':_0x1656c9(0x196),'sessionIdDescription':_0x1656c9(0x1d9),'authorizationDescription':_0x1656c9(0xba),'configParameters':_0x1656c9(0x1e5),'maxRetries':_0x1656c9(0x1a8),'save':'Save\x20Configuration','saving':_0x1656c9(0x1ca),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1656c9(0x124),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1656c9(0xa1),'apiApplyInfo':{'title':_0x1656c9(0x1eb),'description':_0x1656c9(0x157),'univerAiLabel':_0x1656c9(0x169),'getStarted':_0x1656c9(0x16a)},'validation':{'apiKeyRequired':_0x1656c9(0xbf),'apiKeyTooShort':_0x1656c9(0x145),'invalidConfig':_0x1656c9(0xca),'invalidApiKey':_0x1656c9(0x1af)},'connectionStatus':{'disconnected':_0x1656c9(0xc9),'connecting':_0x1656c9(0x172),'connected':_0x1656c9(0x1d4),'failed':_0x1656c9(0x14e),'retrying':_0x1656c9(0xaf)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1656c9(0x171),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1656c9(0x8c)}}},we={'mcpStatus':{'disconnected':_0x1656c9(0x20b),'connecting':_0x1656c9(0x132),'connected':_0x1656c9(0xb4),'failed':'MCP\x20连接失败','retrying':_0x1656c9(0x1c9),'unknown':_0x1656c9(0x18f),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x1656c9(0x1bd),'networkError':_0x1656c9(0x202),'maxRetriesExceeded':_0x1656c9(0x1e2),'clickToConnect':_0x1656c9(0xa2),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x1656c9(0x103),'description':_0x1656c9(0x1b9),'apiKey':_0x1656c9(0x16f),'apiKeyPlaceholder':_0x1656c9(0x198),'apiKeyHint':_0x1656c9(0xf7),'enableAuth':_0x1656c9(0x1cd),'enableAuthHint':_0x1656c9(0xb7),'connectionInfo':_0x1656c9(0xbb),'mcpClientConfig':_0x1656c9(0xbb),'configInstructions':_0x1656c9(0x17b),'configStepTitle':'配置步骤:','configStep1':_0x1656c9(0x1e1),'configStep2':_0x1656c9(0xa3),'configStep3':_0x1656c9(0x148),'sessionId':_0x1656c9(0xb8),'sessionIdDescription':_0x1656c9(0x143),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':_0x1656c9(0x204),'save':_0x1656c9(0x1e8),'saving':_0x1656c9(0x182),'note1':_0x1656c9(0x133),'note2':_0x1656c9(0x16c),'configSaved':_0x1656c9(0x144),'configError':_0x1656c9(0x1d2),'apiApplyInfo':{'title':_0x1656c9(0x125),'description':_0x1656c9(0x156),'univerAiLabel':_0x1656c9(0x1e7),'getStarted':_0x1656c9(0x181)},'validation':{'apiKeyRequired':_0x1656c9(0x178),'apiKeyTooShort':_0x1656c9(0x12a),'invalidConfig':_0x1656c9(0xcf),'invalidApiKey':_0x1656c9(0x9c)},'connectionStatus':{'disconnected':_0x1656c9(0x11b),'connecting':'连接中...','connected':_0x1656c9(0xe2),'failed':_0x1656c9(0xb3),'retrying':_0x1656c9(0xb5)},'connectionError':{'unauthorized':_0x1656c9(0xb1),'sessionOccupied':_0x1656c9(0x104),'networkError':_0x1656c9(0x121),'maxRetriesExceeded':_0x1656c9(0x1c2)}}};var Ae=Object[_0x1656c9(0x123)],Oe=Object['getOwnPropertyDescriptor'],De=(_0x537a0a,_0xf602c5,_0x288bfd)=>_0xf602c5 in _0x537a0a?Ae(_0x537a0a,_0xf602c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x288bfd}):_0x537a0a[_0xf602c5]=_0x288bfd,Ue=(_0x17bbb5,_0x55cee6,_0x108d19,_0x72c2)=>{const _0xca2c10=_0x1656c9;for(var _0x4777cc=_0x72c2>0x1?void 0x0:_0x72c2?Oe(_0x55cee6,_0x108d19):_0x55cee6,_0x4ef2bb=_0x17bbb5[_0xca2c10(0x1fd)]-0x1,_0xf54048;_0x4ef2bb>=0x0;_0x4ef2bb--)(_0xf54048=_0x17bbb5[_0x4ef2bb])&&(_0x4777cc=_0xf54048(_0x4777cc)||_0x4777cc);return _0x4777cc;},y=(_0x1ef924,_0x1d8e0b)=>(_0x3aae37,_0x4a9a64)=>_0x1d8e0b(_0x3aae37,_0x4a9a64,_0x1ef924),$e=(_0x1faecd,_0x1c15c3,_0x51d5eb)=>De(_0x1faecd,_0x1c15c3+'',_0x51d5eb);exports[_0x1656c9(0x11d)]=class extends u[_0x1656c9(0x112)]{constructor(_0x7b4e7a=L,_0x86e99,_0xf89068,_0x1a31fa,_0x452294,_0x5d0c94){const _0x420eaf=_0x1656c9;super(),this[_0x420eaf(0x137)]=_0x7b4e7a,this[_0x420eaf(0x20f)]=_0x86e99,this[_0x420eaf(0xa4)]=_0xf89068,this['_uiPartsService']=_0x1a31fa,this[_0x420eaf(0x186)]=_0x452294,this[_0x420eaf(0xc6)]=_0x5d0c94;const {..._0x687d93}=u[_0x420eaf(0x1d7)]({},L,this['_config']);this[_0x420eaf(0xa4)][_0x420eaf(0x210)](P,_0x687d93);}async[_0x1656c9(0x167)](){const _0xf0ba71=_0x1656c9,_0x1ebab8=[[exports['MCPConnectionUIController']],[exports[_0xf0ba71(0x1ac)]],[exports['MCPUIMenuController']]];this['_injector'][_0xf0ba71(0x1b8)](A[_0xf0ba71(0xf8)])||_0x1ebab8[_0xf0ba71(0x197)]([A[_0xf0ba71(0xf8)],{'useClass':A[_0xf0ba71(0x153)]}]),_0x1ebab8[_0xf0ba71(0x184)](_0x4b5e13=>this[_0xf0ba71(0x20f)][_0xf0ba71(0x1ef)](_0x4b5e13)),this[_0xf0ba71(0x20f)][_0xf0ba71(0xc8)](exports['MCPConnectionUIController']),this[_0xf0ba71(0x20f)]['get'](exports[_0xf0ba71(0x1ac)]),this[_0xf0ba71(0x20f)]['get'](exports[_0xf0ba71(0xfb)]);}},$e(exports['UniverMCPUIPlugin'],_0x1656c9(0x1db),'MCP_UI_PLUGIN'),exports[_0x1656c9(0x11d)]=Ue([u[_0x1656c9(0x97)](s[_0x1656c9(0x15b)]),y(0x1,u[_0x1656c9(0xef)](u['Injector'])),y(0x2,u[_0x1656c9(0x90)]),y(0x3,v[_0x1656c9(0x176)]),y(0x4,u[_0x1656c9(0x199)]),y(0x5,u[_0x1656c9(0xef)](u[_0x1656c9(0x10a)]))],exports[_0x1656c9(0x11d)]),exports[_0x1656c9(0xee)]=V,exports['MCPStatusDisplay']=W,exports[_0x1656c9(0x1a2)]=b,exports[_0x1656c9(0x16b)]=Ee,exports['zhCN']=we;
@@ -1 +1 @@
1
- 'use strict';function _0x414a(){const _0x45fb68=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','224aRKyJI','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','API\x20Key','7gBdqkz','Invalid\x20configuration','Connected','MCP\x20Connected','55CJZloS','776732SDkAlS','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Unauthorized','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Click\x20to\x20configure\x20MCP','Click\x20to\x20connect\x20MCP','Save\x20Configuration','3817200BGuoPE','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','5wUMrat','Univer\x20AI\x20Console','Enable\x20Authentication','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','3740406SsAOqH','11908664aTgnVL','MCP\x20Disconnected','Retrying...','Connecting...','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Max\x20Retries','22896UzyXED','exports','6550880otgVMC','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','12122352HgezNO','Configuration\x20Steps:'];_0x414a=function(){return _0x45fb68;};return _0x414a();}const _0x43a072=_0xda7a;function _0xda7a(_0x2f71a4,_0x3b52fd){const _0x414a30=_0x414a();return _0xda7a=function(_0xda7ad6,_0x1c3c7a){_0xda7ad6=_0xda7ad6-0xf4;let _0x101a1f=_0x414a30[_0xda7ad6];return _0x101a1f;},_0xda7a(_0x2f71a4,_0x3b52fd);}(function(_0x35937b,_0x302abc){const _0x16b07c=_0xda7a,_0xff08bb=_0x35937b();while(!![]){try{const _0x5d4ef7=parseInt(_0x16b07c(0xfc))/0x1+parseInt(_0x16b07c(0x120))/0x2*(parseInt(_0x16b07c(0x118))/0x3)+-parseInt(_0x16b07c(0x11a))/0x4*(-parseInt(_0x16b07c(0x109))/0x5)+parseInt(_0x16b07c(0x110))/0x6*(-parseInt(_0x16b07c(0xf7))/0x7)+parseInt(_0x16b07c(0x111))/0x8+-parseInt(_0x16b07c(0x11c))/0x9+-parseInt(_0x16b07c(0x106))/0xa*(parseInt(_0x16b07c(0xfb))/0xb);if(_0x5d4ef7===_0x302abc)break;else _0xff08bb['push'](_0xff08bb['shift']());}catch(_0xbdfb2d){_0xff08bb['push'](_0xff08bb['shift']());}}}(_0x414a,0xd692a));const e={'mcpStatus':{'disconnected':_0x43a072(0x112),'connecting':'MCP\x20Connecting...','connected':_0x43a072(0xfa),'failed':_0x43a072(0x10c),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x43a072(0xfe),'sessionOccupied':_0x43a072(0x10f),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x43a072(0x108),'clickToConnect':_0x43a072(0x104),'clickToConfigure':_0x43a072(0x103)},'mcpConfig':{'title':_0x43a072(0x10e),'description':_0x43a072(0xf4),'apiKey':_0x43a072(0xf6),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x43a072(0x10b),'enableAuthHint':_0x43a072(0xff),'connectionInfo':_0x43a072(0xf5),'mcpClientConfig':_0x43a072(0xf5),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x43a072(0x11d),'configStep1':_0x43a072(0x116),'configStep2':_0x43a072(0x101),'configStep3':_0x43a072(0x10d),'sessionId':_0x43a072(0x11f),'sessionIdDescription':_0x43a072(0x11b),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x43a072(0x117),'save':_0x43a072(0x105),'saving':'Saving...','note1':_0x43a072(0x100),'note2':_0x43a072(0x107),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','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':_0x43a072(0x10a),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x43a072(0xf8),'invalidApiKey':_0x43a072(0x11e)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x43a072(0x114),'connected':_0x43a072(0xf9),'failed':_0x43a072(0x115),'retrying':_0x43a072(0x113)},'connectionError':{'unauthorized':_0x43a072(0xfd),'sessionOccupied':_0x43a072(0x102),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x43a072(0x119)]=n;
1
+ 'use strict';function _0x5be8(_0x423fda,_0x2a2701){const _0x327460=_0x3274();return _0x5be8=function(_0x5be8b9,_0xed3c47){_0x5be8b9=_0x5be8b9-0x147;let _0x1caba4=_0x327460[_0x5be8b9];return _0x1caba4;},_0x5be8(_0x423fda,_0x2a2701);}const _0x6cd66c=_0x5be8;(function(_0xe7c409,_0x5e744b){const _0x14c433=_0x5be8,_0x370228=_0xe7c409();while(!![]){try{const _0x25f646=-parseInt(_0x14c433(0x14b))/0x1+parseInt(_0x14c433(0x163))/0x2+parseInt(_0x14c433(0x15e))/0x3+parseInt(_0x14c433(0x14e))/0x4+-parseInt(_0x14c433(0x14c))/0x5+parseInt(_0x14c433(0x151))/0x6+-parseInt(_0x14c433(0x15d))/0x7*(parseInt(_0x14c433(0x164))/0x8);if(_0x25f646===_0x5e744b)break;else _0x370228['push'](_0x370228['shift']());}catch(_0x245a88){_0x370228['push'](_0x370228['shift']());}}}(_0x3274,0xb879d));function _0x3274(){const _0x204e5d=['Configuration\x20Steps:','MCP\x20Disconnected','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Click\x20to\x20connect\x20MCP','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Retrying...','Saving...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','Connecting...','761496ZQWMYM','4883355pHbOBk','Session\x20ID','5952148fXgTPS','What\x20is\x20API\x20Key?','API\x20key\x20is\x20required','6417486SvaxQA','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Failed\x20to\x20save\x20configuration','MCP:\x20Unauthorized','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','MCP\x20Configuration','Connection\x20Failed','exports','70UtYZfM','1811331OgvYgj','MCP\x20Connecting...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','233150uAvXvF','627352lrrnVz','Copy\x20the\x20JSON\x20configuration\x20below','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20Authentication','Univer\x20AI\x20Console'];_0x3274=function(){return _0x204e5d;};return _0x3274();}const e={'mcpStatus':{'disconnected':_0x6cd66c(0x16c),'connecting':_0x6cd66c(0x15f),'connected':'MCP\x20Connected','failed':_0x6cd66c(0x158),'retrying':_0x6cd66c(0x176),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x6cd66c(0x156),'sessionOccupied':_0x6cd66c(0x161),'networkError':_0x6cd66c(0x16f),'maxRetriesExceeded':_0x6cd66c(0x17b),'clickToConnect':_0x6cd66c(0x170),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x6cd66c(0x15a),'description':_0x6cd66c(0x178),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x6cd66c(0x17a),'apiKeyHint':_0x6cd66c(0x162),'enableAuth':_0x6cd66c(0x169),'enableAuthHint':_0x6cd66c(0x167),'connectionInfo':_0x6cd66c(0x171),'mcpClientConfig':_0x6cd66c(0x171),'configInstructions':_0x6cd66c(0x147),'configStepTitle':_0x6cd66c(0x16b),'configStep1':_0x6cd66c(0x165),'configStep2':_0x6cd66c(0x172),'configStep3':_0x6cd66c(0x173),'sessionId':_0x6cd66c(0x14d),'sessionIdDescription':_0x6cd66c(0x160),'authorizationDescription':_0x6cd66c(0x149),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x6cd66c(0x166),'save':_0x6cd66c(0x174),'saving':_0x6cd66c(0x177),'note1':_0x6cd66c(0x154),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x6cd66c(0x159),'configError':_0x6cd66c(0x155),'apiApplyInfo':{'title':_0x6cd66c(0x14f),'description':_0x6cd66c(0x157),'univerAiLabel':_0x6cd66c(0x16a),'getStarted':_0x6cd66c(0x16e)},'validation':{'apiKeyRequired':_0x6cd66c(0x150),'apiKeyTooShort':_0x6cd66c(0x179),'invalidConfig':_0x6cd66c(0x17c),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x6cd66c(0x14a),'connected':_0x6cd66c(0x153),'failed':_0x6cd66c(0x15b),'retrying':_0x6cd66c(0x16d)},'connectionError':{'unauthorized':_0x6cd66c(0x175),'sessionOccupied':_0x6cd66c(0x152),'networkError':_0x6cd66c(0x168),'maxRetriesExceeded':_0x6cd66c(0x148)}}},n=e;module[_0x6cd66c(0x15c)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0xba552c=_0x3579;(function(_0x505071,_0x5660fb){const _0x37cd48=_0x3579,_0x41c670=_0x505071();while(!![]){try{const _0x501bf7=parseInt(_0x37cd48(0x1f4))/0x1+parseInt(_0x37cd48(0x1ea))/0x2*(-parseInt(_0x37cd48(0x1ff))/0x3)+-parseInt(_0x37cd48(0x1e5))/0x4*(parseInt(_0x37cd48(0x1df))/0x5)+parseInt(_0x37cd48(0x1ef))/0x6+parseInt(_0x37cd48(0x1f5))/0x7+parseInt(_0x37cd48(0x1db))/0x8*(parseInt(_0x37cd48(0x1e1))/0x9)+-parseInt(_0x37cd48(0x1fa))/0xa;if(_0x501bf7===_0x5660fb)break;else _0x41c670['push'](_0x41c670['shift']());}catch(_0x2860f7){_0x41c670['push'](_0x41c670['shift']());}}}(_0x3790,0xdebb5));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xba552c(0x1e7),'connected':_0xba552c(0x1fe),'failed':_0xba552c(0x201),'retrying':'MCP\x20Retrying...','unknown':_0xba552c(0x1d7),'unauthorized':_0xba552c(0x1d3),'sessionOccupied':_0xba552c(0x1ec),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xba552c(0x1fb),'clickToConnect':_0xba552c(0x1f7),'clickToConfigure':_0xba552c(0x1fd)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xba552c(0x1e9),'apiKey':_0xba552c(0x1e0),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xba552c(0x202),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xba552c(0x1d9),'mcpClientConfig':_0xba552c(0x1d9),'configInstructions':_0xba552c(0x1ed),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xba552c(0x1dc),'configStep2':_0xba552c(0x1f6),'configStep3':_0xba552c(0x1f0),'sessionId':_0xba552c(0x1e3),'sessionIdDescription':_0xba552c(0x1e6),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xba552c(0x1e8),'maxRetries':'Max\x20Retries','save':_0xba552c(0x1eb),'saving':_0xba552c(0x1d6),'note1':_0xba552c(0x1d5),'note2':_0xba552c(0x1f8),'configSaved':_0xba552c(0x1dd),'configError':_0xba552c(0x1ee),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','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':_0xba552c(0x1d8),'getStarted':_0xba552c(0x200)},'validation':{'apiKeyRequired':_0xba552c(0x1f9),'apiKeyTooShort':_0xba552c(0x1de),'invalidConfig':_0xba552c(0x1d1),'invalidApiKey':_0xba552c(0x1e4)},'connectionStatus':{'disconnected':_0xba552c(0x1d4),'connecting':_0xba552c(0x1f1),'connected':_0xba552c(0x1e2),'failed':'Connection\x20Failed','retrying':_0xba552c(0x1da)},'connectionError':{'unauthorized':_0xba552c(0x1f2),'sessionOccupied':_0xba552c(0x1f3),'networkError':_0xba552c(0x1fc),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x3790(){const _0x30e19b=['63ceZMmI','Connected','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','112DuPzvj','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connecting...','Configuration\x20Parameters:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','498072tDcrtM','Save\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Failed\x20to\x20save\x20configuration','1077684bQRhoJ','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','196204MPylnt','7764869KKGaqn','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required','1174570aBKGXc','MCP:\x20Max\x20Retries\x20Exceeded','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20configure\x20MCP','MCP\x20Connected','3kZEADD','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20configuration','exports','MCP:\x20Unauthorized','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','MCP\x20Unknown\x20Status','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','Retrying...','1687160dLPvzg','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','300455uVEBNQ','API\x20Key'];_0x3790=function(){return _0x30e19b;};return _0x3790();}function _0x3579(_0x2bcb07,_0x1e6895){const _0x37900c=_0x3790();return _0x3579=function(_0x357964,_0x4fddef){_0x357964=_0x357964-0x1d1;let _0x4d54f0=_0x37900c[_0x357964];return _0x4d54f0;},_0x3579(_0x2bcb07,_0x1e6895);}module[_0xba552c(0x1d2)]=e;
1
+ 'use strict';const _0x1e7b58=_0x118b;(function(_0x49c6c2,_0x57ff9e){const _0x3d13a0=_0x118b,_0x40a109=_0x49c6c2();while(!![]){try{const _0x21f010=-parseInt(_0x3d13a0(0xed))/0x1*(-parseInt(_0x3d13a0(0xbb))/0x2)+parseInt(_0x3d13a0(0xe6))/0x3*(-parseInt(_0x3d13a0(0xd0))/0x4)+-parseInt(_0x3d13a0(0xc8))/0x5*(parseInt(_0x3d13a0(0xdc))/0x6)+-parseInt(_0x3d13a0(0xd8))/0x7+parseInt(_0x3d13a0(0xb7))/0x8*(-parseInt(_0x3d13a0(0xd9))/0x9)+-parseInt(_0x3d13a0(0xcf))/0xa*(-parseInt(_0x3d13a0(0xc4))/0xb)+parseInt(_0x3d13a0(0xbe))/0xc*(parseInt(_0x3d13a0(0xee))/0xd);if(_0x21f010===_0x57ff9e)break;else _0x40a109['push'](_0x40a109['shift']());}catch(_0x1d9ff3){_0x40a109['push'](_0x40a109['shift']());}}}(_0x57ff,0xd05e3));const e={'mcpStatus':{'disconnected':_0x1e7b58(0xbf),'connecting':_0x1e7b58(0xe4),'connected':_0x1e7b58(0xc7),'failed':_0x1e7b58(0xd4),'retrying':_0x1e7b58(0xc3),'unknown':_0x1e7b58(0xe8),'unauthorized':_0x1e7b58(0xca),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1e7b58(0xc5),'clickToConnect':_0x1e7b58(0xc6),'clickToConfigure':_0x1e7b58(0xe3)},'mcpConfig':{'title':_0x1e7b58(0xd3),'description':_0x1e7b58(0xe1),'apiKey':_0x1e7b58(0xbd),'apiKeyPlaceholder':_0x1e7b58(0xeb),'apiKeyHint':_0x1e7b58(0xcc),'enableAuth':_0x1e7b58(0xd2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1e7b58(0xea),'mcpClientConfig':_0x1e7b58(0xea),'configInstructions':_0x1e7b58(0xec),'configStepTitle':_0x1e7b58(0xb8),'configStep1':_0x1e7b58(0xcd),'configStep2':_0x1e7b58(0xd7),'configStep3':_0x1e7b58(0xe2),'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':_0x1e7b58(0xce),'configParameters':_0x1e7b58(0xd1),'maxRetries':_0x1e7b58(0xc0),'save':_0x1e7b58(0xde),'saving':_0x1e7b58(0xd6),'note1':_0x1e7b58(0xcb),'note2':_0x1e7b58(0xd5),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1e7b58(0xdd),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1e7b58(0xda),'univerAiLabel':_0x1e7b58(0xc1),'getStarted':_0x1e7b58(0xdf)},'validation':{'apiKeyRequired':_0x1e7b58(0xc9),'apiKeyTooShort':_0x1e7b58(0xe5),'invalidConfig':_0x1e7b58(0xdb),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1e7b58(0xc2),'connecting':'Connecting...','connected':'Connected','failed':_0x1e7b58(0xe7),'retrying':_0x1e7b58(0xb9)},'connectionError':{'unauthorized':_0x1e7b58(0xba),'sessionOccupied':_0x1e7b58(0xe0),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1e7b58(0xbc)}}};function _0x57ff(){const _0x1c19f7=['887wEYPXB','202709kpzjRj','8ctxZuc','Configuration\x20Steps:','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','2514SdyoFd','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key','2640qXkXyH','MCP\x20Disconnected','Max\x20Retries','Univer\x20AI\x20Console','Disconnected','MCP\x20Retrying...','55ZFLOQu','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20connect\x20MCP','MCP\x20Connected','1327055paQYSa','API\x20key\x20is\x20required','MCP:\x20Unauthorized','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20with\x20Bearer\x20prefix.','23720izdvzs','6680716RzxIAt','Configuration\x20Parameters:','Enable\x20Authentication','MCP\x20Configuration','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Saving...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','11647713YQQlGM','938295QQgeXF','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20configuration','6XDkQut','Failed\x20to\x20save\x20configuration','Save\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3ggWlbM','Connection\x20Failed','MCP\x20Unknown\x20Status','exports','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:'];_0x57ff=function(){return _0x1c19f7;};return _0x57ff();}function _0x118b(_0x4c5aa0,_0xfaaee2){const _0x57ff3a=_0x57ff();return _0x118b=function(_0x118bdd,_0x5d40c0){_0x118bdd=_0x118bdd-0xb7;let _0x2b1370=_0x57ff3a[_0x118bdd];return _0x2b1370;},_0x118b(_0x4c5aa0,_0xfaaee2);}module[_0x1e7b58(0xe9)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x463faa=_0x4b11;(function(_0x119523,_0x427db8){const _0x14bab9=_0x4b11,_0x586fa5=_0x119523();while(!![]){try{const _0x3716bd=parseInt(_0x14bab9(0x1d7))/0x1+parseInt(_0x14bab9(0x1d1))/0x2+-parseInt(_0x14bab9(0x1d0))/0x3*(-parseInt(_0x14bab9(0x1ec))/0x4)+-parseInt(_0x14bab9(0x1dd))/0x5+parseInt(_0x14bab9(0x1cf))/0x6*(parseInt(_0x14bab9(0x1cc))/0x7)+parseInt(_0x14bab9(0x1e8))/0x8+-parseInt(_0x14bab9(0x1e1))/0x9;if(_0x3716bd===_0x427db8)break;else _0x586fa5['push'](_0x586fa5['shift']());}catch(_0x42c61c){_0x586fa5['push'](_0x586fa5['shift']());}}}(_0xc5cf,0xc6c48));const e={'mcpStatus':{'disconnected':_0x463faa(0x1ee),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x463faa(0x1cd),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x463faa(0x1e6),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x463faa(0x1e3),'maxRetriesExceeded':_0x463faa(0x1ef),'clickToConnect':_0x463faa(0x1ce),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x463faa(0x1d8),'description':_0x463faa(0x1e4),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x463faa(0x1d4),'apiKeyHint':_0x463faa(0x1e0),'enableAuth':_0x463faa(0x1c8),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x463faa(0x1c9),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x463faa(0x1e7),'configStep1':_0x463faa(0x1da),'configStep2':_0x463faa(0x1f1),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x463faa(0x1eb),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x463faa(0x1d2),'configParameters':_0x463faa(0x1d3),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x463faa(0x1cb),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x463faa(0x1e2),'apiApplyInfo':{'title':_0x463faa(0x1d9),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x463faa(0x1df)},'validation':{'apiKeyRequired':_0x463faa(0x1ed),'apiKeyTooShort':_0x463faa(0x1f0),'invalidConfig':_0x463faa(0x1db),'invalidApiKey':_0x463faa(0x1d5)},'connectionStatus':{'disconnected':_0x463faa(0x1ca),'connecting':'Connecting...','connected':_0x463faa(0x1e9),'failed':_0x463faa(0x1d6),'retrying':_0x463faa(0x1ea)},'connectionError':{'unauthorized':_0x463faa(0x1dc),'sessionOccupied':_0x463faa(0x1c7),'networkError':_0x463faa(0x1de),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x4b11(_0x11ebb5,_0x3b8515){const _0xc5cf91=_0xc5cf();return _0x4b11=function(_0x4b1160,_0x9ada3b){_0x4b1160=_0x4b1160-0x1c7;let _0x53a7ab=_0xc5cf91[_0x4b1160];return _0x53a7ab;},_0x4b11(_0x11ebb5,_0x3b8515);}function _0xc5cf(){const _0x3954fd=['Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','1126485SccWRR','MCP\x20Configuration','What\x20is\x20API\x20Key?','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','806590zNspyB','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','41425776wErmJJ','Failed\x20to\x20save\x20configuration','MCP:\x20Network\x20Error','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','exports','MCP:\x20Unauthorized','Configuration\x20Steps:','12952712oBoVqK','Connected','Retrying...','Session\x20ID','8pDwcJU','API\x20key\x20is\x20required','MCP\x20Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20Authentication','MCP\x20Client\x20Configuration','Disconnected','Saving...','1015vuUjal','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP','18654eJrxZv','1367076DTWGdQ','2941142vnRCGv','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Parameters:'];_0xc5cf=function(){return _0x3954fd;};return _0xc5cf();}module[_0x463faa(0x1e5)]=n;
1
+ 'use strict';const _0x4510a4=_0x359b;(function(_0x2a87b3,_0x4f5f9b){const _0x3d8133=_0x359b,_0x5c3c3a=_0x2a87b3();while(!![]){try{const _0x969d69=-parseInt(_0x3d8133(0xc7))/0x1*(-parseInt(_0x3d8133(0xba))/0x2)+parseInt(_0x3d8133(0xca))/0x3+parseInt(_0x3d8133(0xda))/0x4+parseInt(_0x3d8133(0xdc))/0x5*(-parseInt(_0x3d8133(0xd6))/0x6)+-parseInt(_0x3d8133(0xe6))/0x7+-parseInt(_0x3d8133(0xbf))/0x8+parseInt(_0x3d8133(0xb9))/0x9;if(_0x969d69===_0x4f5f9b)break;else _0x5c3c3a['push'](_0x5c3c3a['shift']());}catch(_0x265acb){_0x5c3c3a['push'](_0x5c3c3a['shift']());}}}(_0x4b73,0x946dc));const e={'mcpStatus':{'disconnected':_0x4510a4(0xc9),'connecting':_0x4510a4(0xe2),'connected':_0x4510a4(0xb8),'failed':_0x4510a4(0xdd),'retrying':'MCP\x20Retrying...','unknown':_0x4510a4(0xe1),'unauthorized':_0x4510a4(0xc8),'sessionOccupied':_0x4510a4(0xd2),'networkError':_0x4510a4(0xde),'maxRetriesExceeded':_0x4510a4(0xcc),'clickToConnect':_0x4510a4(0xbe),'clickToConfigure':_0x4510a4(0xd7)},'mcpConfig':{'title':_0x4510a4(0xbb),'description':_0x4510a4(0xe9),'apiKey':_0x4510a4(0xb7),'apiKeyPlaceholder':_0x4510a4(0xd5),'apiKeyHint':_0x4510a4(0xb4),'enableAuth':_0x4510a4(0xe3),'enableAuthHint':_0x4510a4(0xdb),'connectionInfo':_0x4510a4(0xce),'mcpClientConfig':_0x4510a4(0xce),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x4510a4(0xbc),'configStep1':_0x4510a4(0xdf),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4510a4(0xd1),'sessionId':_0x4510a4(0xc5),'sessionIdDescription':_0x4510a4(0xd8),'authorizationDescription':_0x4510a4(0xe4),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x4510a4(0xd9),'save':_0x4510a4(0xe5),'saving':_0x4510a4(0xc0),'note1':_0x4510a4(0xc4),'note2':_0x4510a4(0xc1),'configSaved':_0x4510a4(0xe0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4510a4(0xb6),'univerAiLabel':_0x4510a4(0xcb),'getStarted':_0x4510a4(0xc3)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4510a4(0xb5),'invalidConfig':_0x4510a4(0xe8),'invalidApiKey':_0x4510a4(0xd4)},'connectionStatus':{'disconnected':_0x4510a4(0xe7),'connecting':_0x4510a4(0xd3),'connected':_0x4510a4(0xc2),'failed':_0x4510a4(0xc6),'retrying':_0x4510a4(0xbd)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4510a4(0xcd),'maxRetriesExceeded':_0x4510a4(0xcf)}}},n=e;function _0x4b73(){const _0xabca7a=['Invalid\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20Key','MCP\x20Connected','1534149WlptHG','27842TMhpoF','MCP\x20Configuration','Configuration\x20Steps:','Retrying...','Click\x20to\x20connect\x20MCP','4831632GFmHAH','Saving...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','Connection\x20Failed','28LKvRus','MCP:\x20Unauthorized','MCP\x20Disconnected','2677734GYIqWX','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','exports','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Session\x20ID\x20Occupied','Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','360VBCDLo','Click\x20to\x20configure\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Max\x20Retries','142952ZbFAtm','Enable\x20authentication\x20for\x20secure\x20connections','17915vpOtcT','MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','MCP\x20Connecting...','Enable\x20Authentication','API\x20key\x20with\x20Bearer\x20prefix.','Save\x20Configuration','431669JvhndL','Disconnected'];_0x4b73=function(){return _0xabca7a;};return _0x4b73();}function _0x359b(_0x36c8e2,_0x160a37){const _0x4b73c2=_0x4b73();return _0x359b=function(_0x359b50,_0xa05389){_0x359b50=_0x359b50-0xb4;let _0x2bea99=_0x4b73c2[_0x359b50];return _0x2bea99;},_0x359b(_0x36c8e2,_0x160a37);}module[_0x4510a4(0xd0)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x2825b0=_0x446b;(function(_0x1ec70d,_0x5da655){const _0x3dd676=_0x446b,_0x1eed00=_0x1ec70d();while(!![]){try{const _0x1a1d84=-parseInt(_0x3dd676(0xf7))/0x1*(-parseInt(_0x3dd676(0x109))/0x2)+parseInt(_0x3dd676(0x101))/0x3*(-parseInt(_0x3dd676(0x103))/0x4)+parseInt(_0x3dd676(0xe0))/0x5+-parseInt(_0x3dd676(0xf4))/0x6*(parseInt(_0x3dd676(0xe1))/0x7)+-parseInt(_0x3dd676(0xea))/0x8*(-parseInt(_0x3dd676(0xf3))/0x9)+parseInt(_0x3dd676(0xfc))/0xa*(-parseInt(_0x3dd676(0xeb))/0xb)+-parseInt(_0x3dd676(0x107))/0xc*(parseInt(_0x3dd676(0xe5))/0xd);if(_0x1a1d84===_0x5da655)break;else _0x1eed00['push'](_0x1eed00['shift']());}catch(_0x1e2fe3){_0x1eed00['push'](_0x1eed00['shift']());}}}(_0x5afd,0x88f09));function _0x446b(_0x2e75ee,_0x35fe57){const _0x5afd06=_0x5afd();return _0x446b=function(_0x446b1c,_0x216c86){_0x446b1c=_0x446b1c-0xd9;let _0x2d103e=_0x5afd06[_0x446b1c];return _0x2d103e;},_0x446b(_0x2e75ee,_0x35fe57);}const e={'mcpStatus':{'disconnected':_0x2825b0(0xf5),'connecting':_0x2825b0(0xdf),'connected':_0x2825b0(0x100),'failed':_0x2825b0(0xf0),'retrying':_0x2825b0(0x105),'unknown':_0x2825b0(0x104),'unauthorized':_0x2825b0(0xe2),'sessionOccupied':_0x2825b0(0xdb),'networkError':_0x2825b0(0xfe),'maxRetriesExceeded':_0x2825b0(0xff),'clickToConnect':_0x2825b0(0xe6),'clickToConfigure':_0x2825b0(0xef)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2825b0(0xe8),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2825b0(0xf9),'apiKeyHint':_0x2825b0(0xda),'enableAuth':_0x2825b0(0xe4),'enableAuthHint':_0x2825b0(0x106),'connectionInfo':_0x2825b0(0xde),'mcpClientConfig':_0x2825b0(0xde),'configInstructions':_0x2825b0(0xdd),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x2825b0(0xf2),'configStep2':_0x2825b0(0x10d),'configStep3':_0x2825b0(0xe9),'sessionId':_0x2825b0(0xf6),'sessionIdDescription':_0x2825b0(0x10b),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x2825b0(0xed),'save':_0x2825b0(0xe7),'saving':_0x2825b0(0xfd),'note1':_0x2825b0(0x10a),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2825b0(0xfb),'configError':_0x2825b0(0xdc),'apiApplyInfo':{'title':_0x2825b0(0x10c),'description':_0x2825b0(0xec),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2825b0(0xe3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2825b0(0xfa),'connected':'Connected','failed':_0x2825b0(0xee),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2825b0(0xd9),'sessionOccupied':_0x2825b0(0x102),'networkError':_0x2825b0(0xf1),'maxRetriesExceeded':_0x2825b0(0xf8)}}},n=e;module[_0x2825b0(0x108)]=n;function _0x5afd(){const _0x3b22eb=['MCP\x20Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Copy\x20the\x20JSON\x20configuration\x20below','126477oNQIGL','12fKkrwc','MCP\x20Disconnected','Session\x20ID','40DKAALO','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','Connecting...','Configuration\x20saved\x20successfully','50szgOmq','Saving...','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connected','45exOrpb','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','45020irRxgC','MCP\x20Unknown\x20Status','MCP\x20Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','132xzcCql','exports','730zgXRNk','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Session\x20ID\x20Occupied','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Client\x20Configuration','MCP\x20Connecting...','2854865YBZqYq','304227fyYxYz','MCP:\x20Unauthorized','Invalid\x20configuration','Enable\x20Authentication','192543hoEZKv','Click\x20to\x20connect\x20MCP','Save\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','520psOKyQ','1142779FDaghh','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','Connection\x20Failed','Click\x20to\x20configure\x20MCP'];_0x5afd=function(){return _0x3b22eb;};return _0x5afd();}
1
+ 'use strict';const _0x51a1ec=_0x5533;(function(_0x59837d,_0xc6a0e3){const _0x87a2b7=_0x5533,_0x1fa506=_0x59837d();while(!![]){try{const _0x312425=-parseInt(_0x87a2b7(0xf9))/0x1+parseInt(_0x87a2b7(0x118))/0x2*(-parseInt(_0x87a2b7(0x10b))/0x3)+parseInt(_0x87a2b7(0x114))/0x4*(parseInt(_0x87a2b7(0xfc))/0x5)+parseInt(_0x87a2b7(0x104))/0x6+parseInt(_0x87a2b7(0xf8))/0x7+parseInt(_0x87a2b7(0x115))/0x8*(parseInt(_0x87a2b7(0x11b))/0x9)+-parseInt(_0x87a2b7(0x113))/0xa*(parseInt(_0x87a2b7(0xfd))/0xb);if(_0x312425===_0xc6a0e3)break;else _0x1fa506['push'](_0x1fa506['shift']());}catch(_0x7b765a){_0x1fa506['push'](_0x1fa506['shift']());}}}(_0x57db,0x8491f));function _0x5533(_0x71c13d,_0x1f2d08){const _0x57db71=_0x57db();return _0x5533=function(_0x55334b,_0x22371a){_0x55334b=_0x55334b-0xf0;let _0x5d06f3=_0x57db71[_0x55334b];return _0x5d06f3;},_0x5533(_0x71c13d,_0x1f2d08);}const e={'mcpStatus':{'disconnected':_0x51a1ec(0xf2),'connecting':_0x51a1ec(0x100),'connected':_0x51a1ec(0x117),'failed':_0x51a1ec(0x107),'retrying':_0x51a1ec(0xfe),'unknown':_0x51a1ec(0x121),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x51a1ec(0x106),'networkError':_0x51a1ec(0x10a),'maxRetriesExceeded':_0x51a1ec(0xf4),'clickToConnect':_0x51a1ec(0x110),'clickToConfigure':_0x51a1ec(0x109)},'mcpConfig':{'title':_0x51a1ec(0x120),'description':_0x51a1ec(0xff),'apiKey':_0x51a1ec(0xf7),'apiKeyPlaceholder':_0x51a1ec(0x11f),'apiKeyHint':_0x51a1ec(0xfb),'enableAuth':_0x51a1ec(0x103),'enableAuthHint':_0x51a1ec(0x111),'connectionInfo':_0x51a1ec(0x102),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x51a1ec(0xf0),'configStepTitle':_0x51a1ec(0xf1),'configStep1':_0x51a1ec(0x119),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x51a1ec(0xf6),'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':_0x51a1ec(0x123),'configParameters':_0x51a1ec(0x11c),'maxRetries':_0x51a1ec(0x10e),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x51a1ec(0x11a),'note2':_0x51a1ec(0xf5),'configSaved':_0x51a1ec(0x11d),'configError':_0x51a1ec(0x10f),'apiApplyInfo':{'title':_0x51a1ec(0x122),'description':_0x51a1ec(0x10d),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x51a1ec(0x10c)},'validation':{'apiKeyRequired':_0x51a1ec(0x112),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x51a1ec(0x101),'invalidApiKey':_0x51a1ec(0x105)},'connectionStatus':{'disconnected':_0x51a1ec(0x116),'connecting':_0x51a1ec(0x108),'connected':_0x51a1ec(0xfa),'failed':'Connection\x20Failed','retrying':_0x51a1ec(0xf3)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x51a1ec(0x11e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x57db(){const _0x4764c0=['MCP\x20Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','Invalid\x20configuration','MCP\x20Client\x20Configuration','Enable\x20Authentication','4307646NbcStT','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connection\x20Failed','Connecting...','Click\x20to\x20configure\x20MCP','MCP:\x20Network\x20Error','315027MRhImX','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','Failed\x20to\x20save\x20configuration','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','2540dIqHKx','12fBpsUj','1130856cricLN','Disconnected','MCP\x20Connected','6UOfWxj','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','63CRtqLi','Configuration\x20Parameters:','Configuration\x20saved\x20successfully','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','MCP\x20Configuration','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20Steps:','MCP\x20Disconnected','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20Key','3663814LZzalU','925920HxxDMI','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','145880pRoSih','23144AHIRAt'];_0x57db=function(){return _0x4764c0;};return _0x57db();}module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';function _0x55d0(){const _0x4f0f0c=['Retrying...','MCP\x20Configuration','MCP\x20Unknown\x20Status','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3266049QwrMZJ','API\x20Key','4IzPdtq','MCP\x20Connection\x20Failed','Configuration\x20Parameters:','Configuration\x20Steps:','1496910ufnuRN','2809716NWkQHa','317400wsMNIC','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enter\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','6795380JWEoFC','Connected','MCP\x20Disconnected','MCP\x20Connected','Click\x20to\x20configure\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20with\x20Bearer\x20prefix.','877392ecZmbb','API\x20key\x20is\x20required','Max\x20Retries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Unauthorized','Enable\x20Authentication','MCP\x20Connecting...','Click\x20to\x20connect\x20MCP','MCP:\x20Session\x20ID\x20Occupied','9645699HjvOgw','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x55d0=function(){return _0x4f0f0c;};return _0x55d0();}const _0x52d46b=_0x1b6f;(function(_0x290d9d,_0x4738cc){const _0x457e2e=_0x1b6f,_0x17e6da=_0x290d9d();while(!![]){try{const _0x59622a=parseInt(_0x457e2e(0x168))/0x1+-parseInt(_0x457e2e(0x167))/0x2+-parseInt(_0x457e2e(0x160))/0x3+-parseInt(_0x457e2e(0x162))/0x4*(-parseInt(_0x457e2e(0x175))/0x5)+parseInt(_0x457e2e(0x166))/0x6+parseInt(_0x457e2e(0x157))/0x7+parseInt(_0x457e2e(0x17c))/0x8;if(_0x59622a===_0x4738cc)break;else _0x17e6da['push'](_0x17e6da['shift']());}catch(_0x42968f){_0x17e6da['push'](_0x17e6da['shift']());}}}(_0x55d0,0xe09f3));const e={'mcpStatus':{'disconnected':_0x52d46b(0x177),'connecting':_0x52d46b(0x186),'connected':_0x52d46b(0x178),'failed':_0x52d46b(0x163),'retrying':'MCP\x20Retrying...','unknown':_0x52d46b(0x15c),'unauthorized':_0x52d46b(0x184),'sessionOccupied':_0x52d46b(0x156),'networkError':_0x52d46b(0x16c),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x52d46b(0x155),'clickToConfigure':_0x52d46b(0x179)},'mcpConfig':{'title':_0x52d46b(0x15b),'description':_0x52d46b(0x181),'apiKey':_0x52d46b(0x161),'apiKeyPlaceholder':_0x52d46b(0x170),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x52d46b(0x185),'enableAuthHint':_0x52d46b(0x15e),'connectionInfo':_0x52d46b(0x169),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x52d46b(0x165),'configStep1':_0x52d46b(0x17a),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x52d46b(0x158),'sessionId':'Session\x20ID','sessionIdDescription':_0x52d46b(0x17f),'authorizationDescription':_0x52d46b(0x17b),'configParameters':_0x52d46b(0x164),'maxRetries':_0x52d46b(0x17e),'save':'Save\x20Configuration','saving':_0x52d46b(0x16e),'note1':_0x52d46b(0x16f),'note2':_0x52d46b(0x15f),'configSaved':_0x52d46b(0x16d),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x52d46b(0x159),'univerAiLabel':_0x52d46b(0x16b),'getStarted':_0x52d46b(0x173)},'validation':{'apiKeyRequired':_0x52d46b(0x17d),'apiKeyTooShort':_0x52d46b(0x180),'invalidConfig':_0x52d46b(0x182),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x52d46b(0x172),'connected':_0x52d46b(0x176),'failed':_0x52d46b(0x174),'retrying':_0x52d46b(0x15a)},'connectionError':{'unauthorized':_0x52d46b(0x15d),'sessionOccupied':_0x52d46b(0x183),'networkError':_0x52d46b(0x171),'maxRetriesExceeded':_0x52d46b(0x16a)}}},n=e;function _0x1b6f(_0x62550c,_0x5e53bc){const _0x55d007=_0x55d0();return _0x1b6f=function(_0x1b6fe1,_0x4296a7){_0x1b6fe1=_0x1b6fe1-0x155;let _0x5b46f7=_0x55d007[_0x1b6fe1];return _0x5b46f7;},_0x1b6f(_0x62550c,_0x5e53bc);}module['exports']=n;
1
+ 'use strict';function _0x369c(_0x1261c5,_0x235ec6){const _0x2e9ee6=_0x2e9e();return _0x369c=function(_0x369c51,_0x380766){_0x369c51=_0x369c51-0x1c5;let _0x1ca11e=_0x2e9ee6[_0x369c51];return _0x1ca11e;},_0x369c(_0x1261c5,_0x235ec6);}const _0x2cb4d3=_0x369c;(function(_0x1fa320,_0x53791d){const _0x2c12c1=_0x369c,_0x1aba74=_0x1fa320();while(!![]){try{const _0x54aaf3=parseInt(_0x2c12c1(0x1e1))/0x1+parseInt(_0x2c12c1(0x1c6))/0x2*(-parseInt(_0x2c12c1(0x1ed))/0x3)+parseInt(_0x2c12c1(0x1f0))/0x4+parseInt(_0x2c12c1(0x1ea))/0x5*(parseInt(_0x2c12c1(0x1fa))/0x6)+-parseInt(_0x2c12c1(0x1cd))/0x7*(-parseInt(_0x2c12c1(0x1f9))/0x8)+parseInt(_0x2c12c1(0x1cc))/0x9*(parseInt(_0x2c12c1(0x1f3))/0xa)+parseInt(_0x2c12c1(0x1f4))/0xb*(-parseInt(_0x2c12c1(0x1ec))/0xc);if(_0x54aaf3===_0x53791d)break;else _0x1aba74['push'](_0x1aba74['shift']());}catch(_0x5d7f75){_0x1aba74['push'](_0x1aba74['shift']());}}}(_0x2e9e,0xaefc8));function _0x2e9e(){const _0x2b4572=['Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connecting...','MCP:\x20Network\x20Error','2QmDjhx','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','API\x20key\x20is\x20required','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','18lEkLFc','217Kawvjp','Save\x20Configuration','MCP\x20Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Steps:','Copy\x20the\x20JSON\x20configuration\x20below','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','MCP\x20Client\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Connected','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','Retrying...','Disconnected','Connecting...','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Unauthorized','1300528VXMsRD','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connection\x20Failed','Invalid\x20configuration','MCP:\x20Session\x20ID\x20Occupied','Saving...','API\x20Key','MCP\x20Disconnected','5ewQJqY','Configuration\x20saved\x20successfully','7496832QfpAFW','1269069CHbGru','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1531944BCAXrN','What\x20is\x20API\x20Key?','Configuration\x20Parameters:','5992400zoyhHr','44MYNqCw','API\x20key\x20with\x20Bearer\x20prefix.','exports','Univer\x20AI\x20Console','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','141728JzbKTR','1245126RbmFzk'];_0x2e9e=function(){return _0x2b4572;};return _0x2e9e();}const e={'mcpStatus':{'disconnected':_0x2cb4d3(0x1e9),'connecting':_0x2cb4d3(0x1fc),'connected':_0x2cb4d3(0x1ca),'failed':_0x2cb4d3(0x1e4),'retrying':_0x2cb4d3(0x1cf),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2cb4d3(0x1e0),'sessionOccupied':_0x2cb4d3(0x1e6),'networkError':_0x2cb4d3(0x1c5),'maxRetriesExceeded':_0x2cb4d3(0x1df),'clickToConnect':_0x2cb4d3(0x1db),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2cb4d3(0x1d6),'description':_0x2cb4d3(0x1ef),'apiKey':_0x2cb4d3(0x1e8),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2cb4d3(0x1e3),'enableAuth':_0x2cb4d3(0x1da),'enableAuthHint':_0x2cb4d3(0x1fb),'connectionInfo':_0x2cb4d3(0x1d7),'mcpClientConfig':_0x2cb4d3(0x1d7),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2cb4d3(0x1d1),'configStep1':_0x2cb4d3(0x1d2),'configStep2':_0x2cb4d3(0x1cb),'configStep3':_0x2cb4d3(0x1e2),'sessionId':_0x2cb4d3(0x1d4),'sessionIdDescription':_0x2cb4d3(0x1d0),'authorizationDescription':_0x2cb4d3(0x1f5),'configParameters':_0x2cb4d3(0x1f2),'maxRetries':'Max\x20Retries','save':_0x2cb4d3(0x1ce),'saving':_0x2cb4d3(0x1e7),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2cb4d3(0x1eb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2cb4d3(0x1f1),'description':_0x2cb4d3(0x1f8),'univerAiLabel':_0x2cb4d3(0x1f7),'getStarted':_0x2cb4d3(0x1d8)},'validation':{'apiKeyRequired':_0x2cb4d3(0x1c9),'apiKeyTooShort':_0x2cb4d3(0x1ee),'invalidConfig':_0x2cb4d3(0x1e5),'invalidApiKey':_0x2cb4d3(0x1c7)},'connectionStatus':{'disconnected':_0x2cb4d3(0x1dd),'connecting':_0x2cb4d3(0x1de),'connected':_0x2cb4d3(0x1d9),'failed':_0x2cb4d3(0x1c8),'retrying':_0x2cb4d3(0x1dc)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x2cb4d3(0x1d5),'maxRetriesExceeded':_0x2cb4d3(0x1d3)}}},n=e;module[_0x2cb4d3(0x1f6)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x3c92c3=_0x14fd;(function(_0x5944ec,_0x2028ad){const _0x199447=_0x14fd,_0x24097d=_0x5944ec();while(!![]){try{const _0x5bc285=-parseInt(_0x199447(0x10c))/0x1+parseInt(_0x199447(0x110))/0x2*(-parseInt(_0x199447(0x101))/0x3)+parseInt(_0x199447(0xfa))/0x4*(-parseInt(_0x199447(0xec))/0x5)+-parseInt(_0x199447(0x105))/0x6*(parseInt(_0x199447(0xf8))/0x7)+parseInt(_0x199447(0x106))/0x8+parseInt(_0x199447(0xf5))/0x9+parseInt(_0x199447(0xfb))/0xa*(parseInt(_0x199447(0xe3))/0xb);if(_0x5bc285===_0x2028ad)break;else _0x24097d['push'](_0x24097d['shift']());}catch(_0x575162){_0x24097d['push'](_0x24097d['shift']());}}}(_0x2411,0xbb94d));const e={'mcpStatus':{'disconnected':_0x3c92c3(0xfc),'connecting':'MCP\x20Connecting...','connected':_0x3c92c3(0xea),'failed':_0x3c92c3(0xe6),'retrying':'MCP\x20Retrying...','unknown':_0x3c92c3(0xe4),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x3c92c3(0x10b),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3c92c3(0xf7),'clickToConnect':_0x3c92c3(0xed),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3c92c3(0x107),'apiKey':_0x3c92c3(0xe9),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3c92c3(0x112),'enableAuth':_0x3c92c3(0x100),'enableAuthHint':_0x3c92c3(0x102),'connectionInfo':_0x3c92c3(0x103),'mcpClientConfig':_0x3c92c3(0x103),'configInstructions':_0x3c92c3(0xf6),'configStepTitle':_0x3c92c3(0xf9),'configStep1':_0x3c92c3(0xeb),'configStep2':_0x3c92c3(0xee),'configStep3':_0x3c92c3(0xf2),'sessionId':_0x3c92c3(0xe5),'sessionIdDescription':_0x3c92c3(0x10e),'authorizationDescription':_0x3c92c3(0xfd),'configParameters':_0x3c92c3(0x10f),'maxRetries':_0x3c92c3(0xf0),'save':_0x3c92c3(0x109),'saving':_0x3c92c3(0x108),'note1':_0x3c92c3(0x10a),'note2':_0x3c92c3(0xfe),'configSaved':_0x3c92c3(0xf1),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','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':_0x3c92c3(0x111),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3c92c3(0xf4),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3c92c3(0xf3),'invalidApiKey':_0x3c92c3(0xe2)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x3c92c3(0xef),'connected':'Connected','failed':_0x3c92c3(0xff),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3c92c3(0xe7),'sessionOccupied':_0x3c92c3(0x104),'networkError':_0x3c92c3(0xe8),'maxRetriesExceeded':_0x3c92c3(0x10d)}}},n=e;function _0x14fd(_0x575dbf,_0x40e51c){const _0x241196=_0x2411();return _0x14fd=function(_0x14fd1d,_0x3c7569){_0x14fd1d=_0x14fd1d-0xe2;let _0x23d3cf=_0x241196[_0x14fd1d];return _0x23d3cf;},_0x14fd(_0x575dbf,_0x40e51c);}function _0x2411(){const _0x57a0c1=['MCP\x20Unknown\x20Status','Session\x20ID','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','211920sPZxCP','Click\x20to\x20connect\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connecting...','Max\x20Retries','Configuration\x20saved\x20successfully','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Invalid\x20configuration','API\x20key\x20is\x20required','466209zbkNnv','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','105vUbLDo','Configuration\x20Steps:','132APMLQj','4990LfrjxN','MCP\x20Disconnected','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Failed','Enable\x20Authentication','138150AQMMIg','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','48270HvWgWM','10512816YopqsM','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Session\x20ID\x20Occupied','344056XnyHZF','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Parameters:','44mdWxym','Univer\x20AI\x20Console','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','exports','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','50237giwtnl'];_0x2411=function(){return _0x57a0c1;};return _0x2411();}module[_0x3c92c3(0x113)]=n;
1
+ 'use strict';const _0x39294f=_0xbb8f;function _0x4354(){const _0x308809=['7656mBmKPB','1736758wftXkW','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','Configuration\x20saved\x20successfully','Session\x20ID','MCP\x20Unknown\x20Status','MCP\x20Connecting...','564uRpmEr','971157oljWUg','368952MCpcmG','1835qLObge','Configuration\x20Parameters:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Save\x20Configuration','Click\x20to\x20connect\x20MCP','539BxVTno','Disconnected','Invalid\x20configuration','1114002kIxmZH','155270tJFCRv','MCP:\x20Max\x20Retries\x20Exceeded','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Saving...','MCP\x20Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','69349IklrZL','1cHvKrz','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enter\x20your\x20API\x20key','MCP\x20Connected','Connection\x20Failed','Failed\x20to\x20save\x20configuration','Click\x20to\x20configure\x20MCP'];_0x4354=function(){return _0x308809;};return _0x4354();}(function(_0x44b96e,_0x4aac4c){const _0x34fa46=_0xbb8f,_0x2ec0dd=_0x44b96e();while(!![]){try{const _0x496f16=-parseInt(_0x34fa46(0x1e7))/0x1*(-parseInt(_0x34fa46(0x1ef))/0x2)+parseInt(_0x34fa46(0x201))/0x3+-parseInt(_0x34fa46(0x1ee))/0x4*(parseInt(_0x34fa46(0x203))/0x5)+-parseInt(_0x34fa46(0x200))/0x6*(parseInt(_0x34fa46(0x1e6))/0x7)+parseInt(_0x34fa46(0x202))/0x8+parseInt(_0x34fa46(0x1dd))/0x9+parseInt(_0x34fa46(0x1de))/0xa*(parseInt(_0x34fa46(0x208))/0xb);if(_0x496f16===_0x4aac4c)break;else _0x2ec0dd['push'](_0x2ec0dd['shift']());}catch(_0x3237a5){_0x2ec0dd['push'](_0x2ec0dd['shift']());}}}(_0x4354,0x776a2));function _0xbb8f(_0x4e0d91,_0x21e41b){const _0x4354e5=_0x4354();return _0xbb8f=function(_0xbb8f19,_0x1a3f76){_0xbb8f19=_0xbb8f19-0x1dc;let _0x38a0a4=_0x4354e5[_0xbb8f19];return _0x38a0a4;},_0xbb8f(_0x4e0d91,_0x21e41b);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x39294f(0x1ff),'connected':_0x39294f(0x1ea),'failed':_0x39294f(0x1e2),'retrying':'MCP\x20Retrying...','unknown':_0x39294f(0x1fe),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x39294f(0x1e5),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x39294f(0x1df),'clickToConnect':_0x39294f(0x207),'clickToConfigure':_0x39294f(0x1ed)},'mcpConfig':{'title':_0x39294f(0x1f3),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x39294f(0x1e9),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x39294f(0x1f7),'enableAuthHint':_0x39294f(0x1f6),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x39294f(0x1f2),'configStepTitle':_0x39294f(0x1f1),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x39294f(0x1e3),'configStep3':_0x39294f(0x1f5),'sessionId':_0x39294f(0x1fd),'sessionIdDescription':_0x39294f(0x1f4),'authorizationDescription':_0x39294f(0x1f9),'configParameters':_0x39294f(0x204),'maxRetries':'Max\x20Retries','save':_0x39294f(0x206),'saving':_0x39294f(0x1e1),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x39294f(0x1fc),'configError':_0x39294f(0x1ec),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x39294f(0x205),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x39294f(0x1fa)},'validation':{'apiKeyRequired':_0x39294f(0x1fb),'apiKeyTooShort':_0x39294f(0x1f0),'invalidConfig':_0x39294f(0x1dc),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x39294f(0x209),'connecting':'Connecting...','connected':'Connected','failed':_0x39294f(0x1eb),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x39294f(0x1e0),'sessionOccupied':_0x39294f(0x1e4),'networkError':_0x39294f(0x1e8),'maxRetriesExceeded':_0x39294f(0x1f8)}}},n=e;module['exports']=n;