@univerjs-pro/mcp-ui 0.15.5 → 0.16.0
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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xd989(_0x309c1e,_0x97a3d){_0x309c1e=_0x309c1e-0xea;const _0x1ca1e=_0x1ca1();let _0xd98960=_0x1ca1e[_0x309c1e];return _0xd98960;}(function(_0x2c2b4f,_0x59cdf5){const _0x4e9fc8=_0xd989,_0x18787b=_0x2c2b4f();while(!![]){try{const _0x2c6f71=-parseInt(_0x4e9fc8(0x141))/0x1*(-parseInt(_0x4e9fc8(0x212))/0x2)+parseInt(_0x4e9fc8(0xf2))/0x3*(-parseInt(_0x4e9fc8(0x12e))/0x4)+parseInt(_0x4e9fc8(0x202))/0x5*(parseInt(_0x4e9fc8(0x272))/0x6)+parseInt(_0x4e9fc8(0x21f))/0x7+parseInt(_0x4e9fc8(0x127))/0x8*(-parseInt(_0x4e9fc8(0x1dd))/0x9)+parseInt(_0x4e9fc8(0x1c1))/0xa+-parseInt(_0x4e9fc8(0x23e))/0xb;if(_0x2c6f71===_0x59cdf5)break;else _0x18787b['push'](_0x18787b['shift']());}catch(_0x5a6b9a){_0x18787b['push'](_0x18787b['shift']());}}}(_0x1ca1,0x339b6),function(_0x3d9574,_0x3b882d){const _0x441b24=_0xd989;typeof exports=='object'&&typeof module<'u'?_0x3b882d(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x441b24(0x1bb)&&define[_0x441b24(0x11b)]?define(['exports',_0x441b24(0x197),_0x441b24(0x23c),_0x441b24(0x255),_0x441b24(0x1bc),_0x441b24(0x1f5),_0x441b24(0x282),'react',_0x441b24(0x15d)],_0x3b882d):(_0x3d9574=typeof globalThis<'u'?globalThis:_0x3d9574||self,_0x3b882d(_0x3d9574[_0x441b24(0x18b)]={},_0x3d9574[_0x441b24(0x144)],_0x3d9574[_0x441b24(0x229)],_0x3d9574['UniverProMcp'],_0x3d9574['UniverDesign'],_0x3d9574[_0x441b24(0x1b1)],_0x3d9574[_0x441b24(0x282)],_0x3d9574[_0x441b24(0x229)],_0x3d9574[_0x441b24(0x249)]));}(this,function(_0x382dd4,_0x2f93c2,_0x5b73a0,_0x106693,_0x1d9496,_0x41b48a,_0x34cdb1,_0x404268,_0x39f2ad){'use strict';const _0x2e909c=_0xd989;var _0x23fde2=Object['defineProperty'],_0x11bec6=(_0x5cd5bc,_0x5c5f73,_0x185eff)=>_0x5c5f73 in _0x5cd5bc?_0x23fde2(_0x5cd5bc,_0x5c5f73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x185eff}):_0x5cd5bc[_0x5c5f73]=_0x185eff,_0x974f30=(_0x2800ab,_0x2cf188,_0x2767bd)=>_0x11bec6(_0x2800ab,typeof _0x2cf188!=_0x2e909c(0x277)?_0x2cf188+'':_0x2cf188,_0x2767bd);function _0x4900bf({ref:_0x7b4b42,..._0x291c98}){const _0x1d3d7e=_0x2e909c,{icon:_0x59a50b,id:_0x4e6407,className:_0xb6ea59,extend:_0x1be638,..._0x52e4e5}=_0x291c98,_0x38c183=(_0x1d3d7e(0x214)+_0x4e6407+'\x20'+(_0xb6ea59||''))[_0x1d3d7e(0x175)](),_0x36668a=_0x404268[_0x1d3d7e(0x1c3)]('_'+_0x152721());return _0x526cc6(_0x59a50b,''+_0x4e6407,{'defIds':_0x59a50b[_0x1d3d7e(0x15b)],'idSuffix':_0x36668a[_0x1d3d7e(0x177)]},{'ref':_0x7b4b42,'className':_0x38c183,..._0x52e4e5},_0x1be638);}function _0x526cc6(_0x174330,_0x5656da,_0x533546,_0x7834df,_0x13091d){const _0x54a539=_0x2e909c;return _0x404268[_0x54a539(0x1d2)](_0x174330[_0x54a539(0x279)],{'key':_0x5656da,..._0x53a543(_0x174330,_0x533546,_0x13091d),..._0x7834df},(_0x2f425f(_0x174330,_0x533546)[_0x54a539(0x1cb)]||[])[_0x54a539(0x1b8)]((_0x3ef53f,_0x581b6a)=>_0x526cc6(_0x3ef53f,_0x5656da+'-'+_0x174330[_0x54a539(0x279)]+'-'+_0x581b6a,_0x533546,void 0x0,_0x13091d)));}function _0x53a543(_0xe085be,_0x4f398c,_0x2167b4){const _0x476297=_0x2e909c,_0xd3f9c5={..._0xe085be['attrs']};_0x2167b4!=null&&_0x2167b4['colorChannel1']&&_0xd3f9c5['fill']===_0x476297(0x264)&&(_0xd3f9c5['fill']=_0x2167b4['colorChannel1']),_0xe085be[_0x476297(0x279)]==='mask'&&_0xd3f9c5['id']&&(_0xd3f9c5['id']=_0xd3f9c5['id']+_0x4f398c[_0x476297(0x274)]),Object[_0x476297(0x1d5)](_0xd3f9c5)[_0x476297(0x1d4)](([_0x1ad2bd,_0x25f219])=>{const _0x5cb3ae=_0x476297;_0x1ad2bd===_0x5cb3ae(0x173)&&typeof _0x25f219==_0x5cb3ae(0x1aa)&&(_0xd3f9c5[_0x1ad2bd]=_0x25f219[_0x5cb3ae(0x208)](/url\(#(.*)\)/,_0x5cb3ae(0x1dc)+_0x4f398c['idSuffix']+')'));});const {defIds:_0x5a90f9}=_0x4f398c;return!_0x5a90f9||_0x5a90f9['length']===0x0||(_0xe085be[_0x476297(0x279)]===_0x476297(0x24b)&&_0xd3f9c5[_0x476297(0x246)]&&(_0xd3f9c5[_0x476297(0x246)]=_0xd3f9c5[_0x476297(0x246)]+_0x4f398c[_0x476297(0x274)]),Object['entries'](_0xd3f9c5)[_0x476297(0x1d4)](([_0x16bbde,_0x29c3e1])=>{const _0x4300f0=_0x476297;typeof _0x29c3e1==_0x4300f0(0x1aa)&&(_0xd3f9c5[_0x16bbde]=_0x29c3e1[_0x4300f0(0x208)](/url\(#(.*)\)/,_0x4300f0(0x1dc)+_0x4f398c[_0x4300f0(0x274)]+')'));})),_0xd3f9c5;}function _0x2f425f(_0x4ccc29,_0x306040){const _0x5b1877=_0x2e909c;var _0x5ed448;const {defIds:_0x7b52b6}=_0x306040;return!_0x7b52b6||_0x7b52b6['length']===0x0?_0x4ccc29:_0x4ccc29[_0x5b1877(0x279)]===_0x5b1877(0x26f)&&((_0x5ed448=_0x4ccc29['children'])!=null&&_0x5ed448[_0x5b1877(0x150)])?{..._0x4ccc29,'children':_0x4ccc29[_0x5b1877(0x1cb)][_0x5b1877(0x1b8)](_0x4d9f8b=>typeof _0x4d9f8b['attrs']['id']==_0x5b1877(0x1aa)&&_0x7b52b6&&_0x7b52b6['includes'](_0x4d9f8b[_0x5b1877(0x244)]['id'])?{..._0x4d9f8b,'attrs':{..._0x4d9f8b['attrs'],'id':_0x4d9f8b[_0x5b1877(0x244)]['id']+_0x306040[_0x5b1877(0x274)]}}:_0x4d9f8b)}:_0x4ccc29;}function _0x152721(){const _0x4652ba=_0x2e909c;return Math[_0x4652ba(0x182)]()[_0x4652ba(0x196)](0x24)['substring'](0x2,0x8);}_0x4900bf['displayName']=_0x2e909c(0x122);const _0x5a8081={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':_0x2e909c(0x24e),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2e909c(0x145),'height':_0x2e909c(0x145)},'children':[{'tag':_0x2e909c(0x220),'attrs':{'fill':_0x2e909c(0x243),'d':_0x2e909c(0x20c),'fillRule':_0x2e909c(0x22e),'clipRule':_0x2e909c(0x22e)}}]},_0x5becbe=_0x404268[_0x2e909c(0x103)](function(_0x4ddac8,_0x3f16fd){const _0x10700f=_0x2e909c;return _0x404268['createElement'](_0x4900bf,Object[_0x10700f(0x1ae)]({},_0x4ddac8,{'id':_0x10700f(0x276),'ref':_0x3f16fd,'icon':_0x5a8081}));});_0x5becbe['displayName']=_0x2e909c(0x185);const _0x177a58={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':_0x2e909c(0x24e),'fill':_0x2e909c(0x151),'viewBox':_0x2e909c(0x16c),'width':'1em','height':_0x2e909c(0x145)},'children':[{'tag':_0x2e909c(0x220),'attrs':{'fill':'currentColor','d':_0x2e909c(0x210)}}]},_0x48983a=_0x404268[_0x2e909c(0x103)](function(_0x5ebc00,_0x4a17fc){const _0x53cc37=_0x2e909c;return _0x404268[_0x53cc37(0x1d2)](_0x4900bf,Object[_0x53cc37(0x1ae)]({},_0x5ebc00,{'id':_0x53cc37(0x248),'ref':_0x4a17fc,'icon':_0x177a58}));});_0x48983a[_0x2e909c(0x240)]='CloseIcon';const _0x790193={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':_0x2e909c(0x24e),'fill':_0x2e909c(0x151),'viewBox':_0x2e909c(0x16c),'width':_0x2e909c(0x145),'height':_0x2e909c(0x145)},'children':[{'tag':'path','attrs':{'fill':_0x2e909c(0x243),'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':'currentColor','d':_0x2e909c(0x260)}},{'tag':_0x2e909c(0x220),'attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x2e909c(0x22e),'clipRule':_0x2e909c(0x22e)}}]},_0x35b5e3=_0x404268[_0x2e909c(0x103)](function(_0x304d33,_0x258f5b){const _0x1c0507=_0x2e909c;return _0x404268['createElement'](_0x4900bf,Object[_0x1c0507(0x1ae)]({},_0x304d33,{'id':_0x1c0507(0x172),'ref':_0x258f5b,'icon':_0x790193}));});_0x35b5e3[_0x2e909c(0x240)]=_0x2e909c(0x184);const _0x6dd583={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':_0x2e909c(0x24e),'fill':_0x2e909c(0x151),'viewBox':_0x2e909c(0x16c),'width':_0x2e909c(0x145),'height':_0x2e909c(0x145)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e909c(0x23a)},'children':[{'tag':'path','attrs':{'stroke':_0x2e909c(0x243),'d':_0x2e909c(0x24a),'strokeLinecap':_0x2e909c(0x13f),'strokeLinejoin':_0x2e909c(0x13f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2e909c(0x16d),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2e909c(0x220),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2e909c(0x1d6)]},_0x18503=_0x404268[_0x2e909c(0x103)](function(_0x283b39,_0xd94c36){const _0x1578af=_0x2e909c;return _0x404268[_0x1578af(0x1d2)](_0x4900bf,Object[_0x1578af(0x1ae)]({},_0x283b39,{'id':_0x1578af(0x24c),'ref':_0xd94c36,'icon':_0x6dd583}));});_0x18503[_0x2e909c(0x240)]='OffLineIcon';const _0x5e931d={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2e909c(0x151),'viewBox':_0x2e909c(0x1f9),'width':'1em','height':_0x2e909c(0x145)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2e909c(0x1c2),'strokeLinecap':'round','strokeLinejoin':_0x2e909c(0x13f),'strokeWidth':1.2}}]},{'tag':_0x2e909c(0x26f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2e909c(0x200)},'children':[{'tag':_0x2e909c(0x220),'attrs':{'fill':_0x2e909c(0x209),'d':_0x2e909c(0x1a1),'transform':_0x2e909c(0x1e0)}}]}]}],'defIds':[_0x2e909c(0x200)]},_0x23299e=_0x404268['forwardRef'](function(_0x5a8d34,_0x2315ae){const _0x1c9597=_0x2e909c;return _0x404268[_0x1c9597(0x1d2)](_0x4900bf,Object[_0x1c9597(0x1ae)]({},_0x5a8d34,{'id':_0x1c9597(0x1b2),'ref':_0x2315ae,'icon':_0x5e931d}));});_0x23299e[_0x2e909c(0x240)]=_0x2e909c(0x105);function _0x31cca4(_0x3edbfe){const _0x338839=_0x2e909c;var _0x52e7c3,_0x172649;const {mcpCoreConfig:_0x12a8c4,onSave:_0x3f4077,loading:_0x3bdc63=!0x1,config:_0x2f620d,connectionStatus$:_0x1c6dc8,connectionError$:_0x572b7a,currentApiKey$:_0x51c6f7,currentSessionId$:_0x3d0b77}=_0x3edbfe,_0x59cce7=_0x41b48a['useDependency'](_0x2f93c2[_0x338839(0x242)]),_0x53c138=_0x41b48a['useObservable'](_0x1c6dc8,_0x106693[_0x338839(0x252)][_0x338839(0x284)]),_0x365172=_0x41b48a[_0x338839(0x191)](_0x572b7a,_0x106693[_0x338839(0x281)]['NONE']),_0x1b740a=_0x41b48a['useObservable'](_0x3d0b77,''),_0x4cc150=_0x41b48a[_0x338839(0x191)](_0x51c6f7,''),[_0x26fc80,_0x2a7256]=_0x404268['useState'](_0x4cc150||''),_0xe172eb=!0x0,_0x472543=_0x2f620d[_0x338839(0x10d)]&&_0x12a8c4[_0x338839(0x1b6)]&&(_0x12a8c4['mcpServerUrl']['includes'](_0x338839(0x270))||_0x12a8c4[_0x338839(0x1b6)][_0x338839(0x1b5)](_0x338839(0x17e))),_0x245672=(_0x52e7c3=_0x12a8c4[_0x338839(0x1b6)])==null?void 0x0:_0x52e7c3[_0x338839(0x1b5)]('univer.plus'),_0x4d6d6c=(_0x172649=_0x12a8c4['mcpServerUrl'])==null?void 0x0:_0x172649['includes'](_0x338839(0x17e)),_0x47bb5d=_0x245672?_0x338839(0x11e):_0x338839(0x1d7),_0x3dcdd7=_0x2f620d[_0x338839(0x10d)]&&(_0x245672||_0x4d6d6c),[_0x5ee7bc,_0x1d1f34]=_0x404268[_0x338839(0x230)](!_0x26fc80[_0x338839(0x175)]()),_0x4e3929=(_0x13a560,_0x117c4a)=>{const _0x4e2bfe=_0x338839;if(_0x117c4a===_0x106693[_0x4e2bfe(0x281)][_0x4e2bfe(0x142)])return _0x4e2bfe(0x1ec);switch(_0x13a560){case _0x106693[_0x4e2bfe(0x252)][_0x4e2bfe(0x1b7)]:return _0x4e2bfe(0x238);case _0x106693['MCPConnectionStatus'][_0x4e2bfe(0x134)]:case _0x106693[_0x4e2bfe(0x252)][_0x4e2bfe(0xf5)]:return _0x4e2bfe(0x117);case _0x106693[_0x4e2bfe(0x252)][_0x4e2bfe(0x120)]:return _0x4e2bfe(0x1ec);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x33578b=(_0x5b60cf,_0x4907b4)=>{const _0x1352ad=_0x338839;if(_0x4907b4===_0x106693['MCPConnectionError'][_0x1352ad(0x142)])return _0x1352ad(0x1ce);switch(_0x5b60cf){case _0x106693['MCPConnectionStatus']['CONNECTED']:return _0x1352ad(0x140);case _0x106693[_0x1352ad(0x252)]['CONNECTING']:case _0x106693[_0x1352ad(0x252)][_0x1352ad(0xf5)]:return _0x1352ad(0x10a);case _0x106693['MCPConnectionStatus'][_0x1352ad(0x120)]:return'univer-bg-red-500';default:return _0x1352ad(0x232);}},_0xa728d=_0x45b352=>{const _0x52943f=_0x338839;switch(_0x45b352){case _0x106693[_0x52943f(0x252)][_0x52943f(0x1b7)]:return _0x59cce7['t'](_0x52943f(0x1fe));case _0x106693[_0x52943f(0x252)][_0x52943f(0x134)]:return _0x59cce7['t'](_0x52943f(0x16e));case _0x106693[_0x52943f(0x252)][_0x52943f(0x120)]:return _0x59cce7['t'](_0x52943f(0x204));case _0x106693[_0x52943f(0x252)][_0x52943f(0xf5)]:return _0x59cce7['t'](_0x52943f(0x10f));default:return _0x59cce7['t'](_0x52943f(0x112));}},_0x122214=_0x577ee7=>{const _0x3fb968=_0x338839;switch(_0x577ee7){case _0x106693[_0x3fb968(0x281)][_0x3fb968(0x142)]:return _0x59cce7['t'](_0x3fb968(0x1c5));case _0x106693[_0x3fb968(0x281)][_0x3fb968(0x1eb)]:return _0x59cce7['t'](_0x3fb968(0x107));case _0x106693[_0x3fb968(0x281)][_0x3fb968(0x24d)]:return _0x59cce7['t'](_0x3fb968(0x12b));case _0x106693[_0x3fb968(0x281)][_0x3fb968(0x22c)]:return _0x59cce7['t'](_0x3fb968(0x1fc));default:return'';}},_0x10e087=_0x404268[_0x338839(0x211)](()=>{const _0x3de2a6=_0x338839,_0x3220fc={..._0x12a8c4,'apiKey':_0x26fc80[_0x3de2a6(0x175)](),'enableAuth':_0xe172eb};_0x3f4077(_0x3220fc);},[_0x12a8c4,_0x26fc80,_0xe172eb,_0x3f4077]),_0x13962e=_0x26fc80[_0x338839(0x175)]()[_0x338839(0x150)]>0x0;return _0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1de),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x135),'children':_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0x148),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0xfd),'children':_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0x27e),'children':'⚙'})}),_0x5b73a0['jsx']('div',{'children':_0x5b73a0['jsx']('p',{'className':_0x338839(0x26e),'children':_0x59cce7['t']('mcpConfig.description')})})]})}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x1d9496[_0x338839(0x17c)](_0x338839(0x203),_0x4e3929(_0x53c138,_0x365172)),'children':_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x254),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x1d9496[_0x338839(0x17c)](_0x338839(0x1a4),_0x33578b(_0x53c138,_0x365172))}),_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0xff),'children':_0xa728d(_0x53c138)})]})}),_0x365172!==_0x106693[_0x338839(0x281)]['NONE']&&(_0x53c138===_0x106693[_0x338839(0x252)]['FAILED']||_0x365172===_0x106693[_0x338839(0x281)]['UNAUTHORIZED'])&&_0x5b73a0['jsx']('div',{'className':_0x338839(0xf0),'children':_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x5b73a0[_0x338839(0x133)]('p',{'className':_0x338839(0x22d),'children':_0x122214(_0x365172)})]})})]}),_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x18d),'children':_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':'univer-space-y-5','children':[_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0x1bd),'children':[_0x5b73a0['jsxs'](_0x338839(0xec),{'className':_0x338839(0x222),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'children':'🔑'}),'\x20',_0x59cce7['t'](_0x338839(0x15a)),_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0x233),'children':'*'}),_0x472543&&_0x5b73a0[_0x338839(0x133)]('a',{'className':_0x338839(0x199),'title':_0x59cce7['t'](_0x338839(0xfb)),'role':'button','onClick':()=>_0x1d1f34(!0x0),'children':_0x5b73a0['jsx'](_0x35b5e3,{})})]}),_0x5b73a0['jsx'](_0x1d9496[_0x338839(0x1f3)],{'type':_0x338839(0x23f),'placeholder':_0x59cce7['t'](_0x338839(0x11c)),'value':_0x26fc80,'disabled':_0x3bdc63,'autoComplete':_0x338839(0x137),'onChange':_0x2a7256}),_0x5b73a0['jsx']('p',{'className':_0x338839(0x25c),'children':_0x59cce7['t']('mcpConfig.apiKeyHint')})]}),_0x472543&&_0x5ee7bc&&_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1ca),'children':[_0x5b73a0[_0x338839(0x133)]('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':_0x338839(0xfa),'onClick':()=>_0x1d1f34(!0x1),'children':_0x5b73a0['jsx'](_0x48983a,{'className':_0x338839(0x1cf)})}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x123),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x1e1),'children':_0x5b73a0['jsx'](_0x338839(0xea),{'className':_0x338839(0x228),'children':'🚀'})}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':_0x338839(0x139),'children':[_0x5b73a0[_0x338839(0x133)]('h4',{'className':_0x338839(0x186),'children':_0x59cce7['t'](_0x338839(0xfb))}),_0x5b73a0[_0x338839(0x133)]('p',{'className':_0x338839(0x22a),'children':_0x59cce7['t'](_0x338839(0x25a))}),_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x1e7),'children':_0x3dcdd7&&_0x5b73a0[_0x338839(0x195)]('a',{'className':_0x338839(0x253),'href':_0x47bb5d,'target':_0x338839(0x131),'rel':_0x338839(0x26a),'children':[_0x5b73a0['jsx'](_0x338839(0xea),{'children':'🤖'}),_0x59cce7['t'](_0x338839(0x1d8)),_0x5b73a0[_0x338839(0x133)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0xf6),'children':['✨','\x20',_0x59cce7['t'](_0x338839(0x167))]})]})]})]}),_0x2f620d[_0x338839(0x10d)]&&_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0x187),'children':[_0x5b73a0[_0x338839(0x195)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'children':'🔗'}),'\x20',_0x59cce7['t'](_0x338839(0x239))]}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x22b),'children':[_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0xf4),'children':[_0x5b73a0[_0x338839(0x133)]('p',{'className':_0x338839(0x25f),'children':_0x59cce7['t'](_0x338839(0x18f))}),_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0x1bd),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x59cce7['t'](_0x338839(0x1a5))}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1a9),'children':[_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x254),'children':[_0x5b73a0['jsx'](_0x338839(0xea),{'className':_0x338839(0x198),'children':'1'}),_0x59cce7['t'](_0x338839(0x205))]}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0x198),'children':'2'}),_0x59cce7['t'](_0x338839(0xeb))]}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':_0x338839(0x254),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0x198),'children':'3'}),_0x59cce7['t'](_0x338839(0x20a))]})]})]})]}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':_0x338839(0x1bd),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x261),'children':_0x338839(0x138)}),_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x146),'children':_0x5b73a0[_0x338839(0x133)](_0x338839(0x155),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x338839(0xf9)]({'mcpServers':{'univer':{'url':_0x338839(0x1e9)+(_0x1b740a||_0x338839(0x11d)),'type':_0x338839(0x12a),'headers':{'Authorization':_0x338839(0x153)+(_0x26fc80||_0x338839(0x14e))}}}},null,0x2)})})]}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0xf4),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x261),'children':_0x59cce7['t'](_0x338839(0x1cd))}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1bd),'children':[_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1e2),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x259)}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x181),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x1c4),'children':_0x338839(0x265)}),_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x25c),'children':_0x59cce7['t'](_0x338839(0x23b))})]})]}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1e2),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x1c4),'children':_0x338839(0x262)}),_0x5b73a0[_0x338839(0x133)]('div',{'className':_0x338839(0x25c),'children':_0x59cce7['t'](_0x338839(0x11f))})]})]})]})]})]})]}),_0x5b73a0[_0x338839(0x133)](_0x1d9496['Button'],{'onClick':_0x10e087,'disabled':!_0x13962e||_0x3bdc63,'className':_0x338839(0x234),'children':_0x3bdc63?_0x5b73a0[_0x338839(0x195)](_0x338839(0xea),{'className':_0x338839(0x254),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'children':'⟲'}),_0x59cce7['t'](_0x338839(0x19e))]}):_0x5b73a0[_0x338839(0x195)](_0x338839(0xea),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5b73a0[_0x338839(0x133)](_0x5becbe,{}),_0x59cce7['t'](_0x338839(0x124))]})}),_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x1a6),'children':_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':_0x338839(0x158),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x231),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x257),'children':'Configuration\x20Notes:'}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'children':['•',_0x59cce7['t']('mcpConfig.note1')]}),_0x5b73a0[_0x338839(0x195)]('div',{'children':['•',_0x59cce7['t'](_0x338839(0x1fa))]})]})]})})]})})]});}const _0x3de3ca=_0x2e909c(0x180),_0x35183f={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0xf3467f=Object[_0x2e909c(0x1a0)],_0x1c5cff=(_0x5ba5cb,_0x357561,_0x17c5de,_0x5e5f2f)=>{const _0x3320d5=_0x2e909c;for(var _0x453164=_0x5e5f2f>0x1?void 0x0:_0x5e5f2f?_0xf3467f(_0x357561,_0x17c5de):_0x357561,_0x41858d=_0x5ba5cb[_0x3320d5(0x150)]-0x1,_0x429992;_0x41858d>=0x0;_0x41858d--)(_0x429992=_0x5ba5cb[_0x41858d])&&(_0x453164=_0x429992(_0x453164)||_0x453164);return _0x453164;},_0x2a6d0a=(_0x187721,_0x57f841)=>(_0x40a962,_0x1b3b9e)=>_0x57f841(_0x40a962,_0x1b3b9e,_0x187721);const _0x2eb78e=_0x2e909c(0x18c),_0x324db4=_0x2e909c(0x15f);_0x382dd4[_0x2e909c(0x268)]=class extends _0x2f93c2['Disposable']{constructor(_0x41611e,_0x143eb6,_0x5bd783,_0x4d0d39,_0x20b39e,_0x3ea348,_0x84d44f,_0x32ead4,_0x32073b,_0x242d9f){const _0x28d7b9=_0x2e909c;super(),_0x974f30(this,_0x28d7b9(0x14d),new _0x34cdb1['BehaviorSubject'](!0x1)),_0x974f30(this,'_mcpCoreConfig$',new _0x34cdb1[(_0x28d7b9(0x100))]({})),_0x974f30(this,_0x28d7b9(0x129),new _0x34cdb1['BehaviorSubject']({})),_0x974f30(this,_0x28d7b9(0x266),new _0x34cdb1[(_0x28d7b9(0x100))]('')),_0x974f30(this,_0x28d7b9(0x147),async _0x5f1ea7=>{const _0x25b104=_0x28d7b9;var _0x3b45ba,_0x5b033d;this[_0x25b104(0x14d)]['next'](!0x0);try{const _0x1773b1=await this['_validateConfig'](_0x5f1ea7);if(!_0x1773b1[_0x25b104(0x19c)]){this[_0x25b104(0xf3)][_0x25b104(0x132)]({'type':_0x1d9496[_0x25b104(0x125)][_0x25b104(0x10c)],'content':_0x1773b1[_0x25b104(0x24f)]||this[_0x25b104(0x1ad)]['t'](_0x25b104(0x188))});return;}_0x5f1ea7['apiKey']?await this['_localStorageService']['setItem'](_0x2eb78e,_0x5f1ea7[_0x25b104(0x126)][_0x25b104(0x175)]()):await this[_0x25b104(0x26c)][_0x25b104(0x17a)](_0x2eb78e),this[_0x25b104(0x266)][_0x25b104(0x157)](((_0x3b45ba=_0x5f1ea7[_0x25b104(0x126)])==null?void 0x0:_0x3b45ba[_0x25b104(0x175)]())||''),this[_0x25b104(0x13b)]['__setCustomHeaders']({'Authorization':_0x25b104(0x153)+((_0x5b033d=_0x5f1ea7[_0x25b104(0x126)])==null?void 0x0:_0x5b033d[_0x25b104(0x175)]())}),this[_0x25b104(0xf3)][_0x25b104(0x132)]({'type':_0x1d9496[_0x25b104(0x125)][_0x25b104(0x136)],'content':this[_0x25b104(0x1ad)]['t'](_0x25b104(0x17f))}),setTimeout(()=>{const _0x3a77e9=_0x25b104;this[_0x3a77e9(0x1d9)]['close'](_0x324db4);},0x320);}catch(_0x1d1860){this[_0x25b104(0x1be)][_0x25b104(0x25b)](_0x25b104(0x1e3),_0x1d1860),this[_0x25b104(0xf3)]['show']({'type':_0x1d9496['MessageType'][_0x25b104(0x10c)],'content':this['_localeService']['t'](_0x25b104(0x102))});}finally{this[_0x25b104(0x14d)][_0x25b104(0x157)](!0x1);}}),(this[_0x28d7b9(0x258)]=_0x41611e,this[_0x28d7b9(0x1b3)]=_0x143eb6,this[_0x28d7b9(0x1ed)]=_0x5bd783,this[_0x28d7b9(0x26c)]=_0x4d0d39,this[_0x28d7b9(0x1d9)]=_0x20b39e,this[_0x28d7b9(0xf3)]=_0x3ea348,this['_componentManager']=_0x84d44f,this['_localeService']=_0x32ead4,this['_logService']=_0x32073b,this[_0x28d7b9(0x13b)]=_0x242d9f,this[_0x28d7b9(0xee)](),this[_0x28d7b9(0xef)](),this[_0x28d7b9(0x162)]());}[_0x2e909c(0x152)](){const _0xc4afad=_0x2e909c,_0x5c2aec=this[_0xc4afad(0x1ed)][_0xc4afad(0x17b)](_0x3de3ca);_0x5c2aec!=null&&_0x5c2aec[_0xc4afad(0x10d)]&&this[_0xc4afad(0x1d9)][_0xc4afad(0x13d)]({'id':_0x324db4,'title':{'title':this['_localeService']['t'](_0xc4afad(0x1d0))},'children':{'label':_0xc4afad(0x236)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x279b10=_0xc4afad;this[_0x279b10(0x1d9)][_0x279b10(0x227)](_0x324db4);}});}[_0x2e909c(0x1fd)](){const _0x1ce922=_0x2e909c;return this['_mcpCoreConfig$'][_0x1ce922(0x179)];}[_0x2e909c(0x162)](){const _0x2d3b6a=_0x2e909c;this[_0x2d3b6a(0x13e)](this[_0x2d3b6a(0x1da)][_0x2d3b6a(0x15c)](_0x2d3b6a(0x236),this[_0x2d3b6a(0x171)]()));}['_createConfigPanelComponent'](){const _0x1d231f=_0x2e909c;return _0x41b48a[_0x1d231f(0x1ef)](()=>{const _0x2058ed=_0x1d231f;var _0x5c7ab1,_0x37f5aa,_0x9fdec;return _0x5b73a0['jsx'](_0x31cca4,{'config':this[_0x2058ed(0x129)][_0x2058ed(0x179)],'mcpCoreConfig':this[_0x2058ed(0x245)][_0x2058ed(0x179)],'currentApiKey$':this[_0x2058ed(0x266)],'onSave':this[_0x2058ed(0x147)],'loading':this[_0x2058ed(0x14d)][_0x2058ed(0x179)],'connectionStatus$':(_0x5c7ab1=this['_mcpConnectionController'])==null?void 0x0:_0x5c7ab1[_0x2058ed(0x18a)],'connectionError$':(_0x37f5aa=this[_0x2058ed(0x13b)])==null?void 0x0:_0x37f5aa[_0x2058ed(0x1a7)],'currentSessionId$':(_0x9fdec=this[_0x2058ed(0x13b)])==null?void 0x0:_0x9fdec[_0x2058ed(0x1e5)]});},this['_injector']);}[_0x2e909c(0xee)](){const _0x4e9c4a=_0x2e909c;this['disposeWithMe'](this[_0x4e9c4a(0x1ed)][_0x4e9c4a(0x16a)](_0x106693['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x20412b=>{const _0x2cb653=_0x4e9c4a;this[_0x2cb653(0x245)]['next'](_0x20412b||{});}));const _0x246185=this[_0x4e9c4a(0x1ed)]['getConfig'](_0x106693['MCP_PLUGIN_CONFIG_KEY']);this['_mcpCoreConfig$']['next'](_0x246185||{}),this['disposeWithMe'](this[_0x4e9c4a(0x1ed)][_0x4e9c4a(0x16a)](_0x3de3ca)['subscribe'](_0x42857f=>{const _0x163043=_0x4e9c4a;this[_0x163043(0x129)][_0x163043(0x157)](_0x42857f||{});}));const _0x5ac590=this[_0x4e9c4a(0x1ed)][_0x4e9c4a(0x17b)](_0x3de3ca);this[_0x4e9c4a(0x129)][_0x4e9c4a(0x157)](_0x5ac590||{});}async['_loadStoredApiKey'](){const _0x58d9be=_0x2e909c,_0x3efa25=this[_0x58d9be(0x1ed)]['getConfig'](_0x3de3ca);if(!(_0x3efa25!=null&&_0x3efa25[_0x58d9be(0x10d)]))return;const _0x5dec39=await this['_localStorageService'][_0x58d9be(0x189)](_0x2eb78e);_0x5dec39&&(this[_0x58d9be(0x13b)][_0x58d9be(0x235)]({'Authorization':_0x58d9be(0x153)+_0x5dec39}),this['_apiKey$'][_0x58d9be(0x157)](_0x5dec39));}async[_0x2e909c(0x225)](_0x1599be){const _0x4f5749=_0x2e909c;if(!_0x1599be['apiKey']||_0x1599be[_0x4f5749(0x126)]['trim']()[_0x4f5749(0x150)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4f5749(0x1ad)]['t'](_0x4f5749(0x192))};if(_0x1599be[_0x4f5749(0x126)][_0x4f5749(0x175)]()[_0x4f5749(0x150)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4f5749(0x1ad)]['t'](_0x4f5749(0x250))};try{const _0x453124=await this[_0x4f5749(0x258)][_0x4f5749(0xf7)](_0x106693['MCPConnectionController'])[_0x4f5749(0x1c8)](_0x1599be['apiKey'][_0x4f5749(0x175)]());return _0x453124['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x453124[_0x4f5749(0x25b)]||this[_0x4f5749(0x1ad)]['t'](_0x4f5749(0x160))};}catch(_0x52cce2){return console[_0x4f5749(0x159)](_0x4f5749(0x1e4),_0x52cce2),{'isValid':!0x0};}}},_0x382dd4[_0x2e909c(0x268)]=_0x1c5cff([_0x2a6d0a(0x0,_0x2f93c2['Inject'](_0x2f93c2[_0x2e909c(0xf1)])),_0x2a6d0a(0x1,_0x41b48a['IUIPartsService']),_0x2a6d0a(0x2,_0x2f93c2[_0x2e909c(0x1a8)]),_0x2a6d0a(0x3,_0x2f93c2[_0x2e909c(0x283)]),_0x2a6d0a(0x4,_0x41b48a[_0x2e909c(0x14b)]),_0x2a6d0a(0x5,_0x41b48a[_0x2e909c(0x271)]),_0x2a6d0a(0x6,_0x2f93c2[_0x2e909c(0x114)](_0x41b48a[_0x2e909c(0x163)])),_0x2a6d0a(0x7,_0x2f93c2[_0x2e909c(0x114)](_0x2f93c2[_0x2e909c(0x242)])),_0x2a6d0a(0x8,_0x2f93c2['ILogService']),_0x2a6d0a(0x9,_0x2f93c2[_0x2e909c(0x114)](_0x106693[_0x2e909c(0x1ac)]))],_0x382dd4[_0x2e909c(0x268)]);const _0xe76fd2={'id':_0x2e909c(0x115),'type':_0x2f93c2[_0x2e909c(0x13a)][_0x2e909c(0x106)],'handler':async(_0x40a16f,_0x2c254b)=>(_0x40a16f[_0x2e909c(0xf7)](_0x382dd4['MCPConfigUIController'])[_0x2e909c(0x152)](),!0x0)};function _0x5e2e3b(_0x1e3f84,_0x404ae1){const _0x11ed2a=_0x2e909c;switch(_0x1e3f84){case _0x106693[_0x11ed2a(0x252)]['DISCONNECTED']:return _0x11ed2a(0x1a2);case _0x106693[_0x11ed2a(0x252)][_0x11ed2a(0x134)]:return _0x11ed2a(0x194);case _0x106693['MCPConnectionStatus'][_0x11ed2a(0x1b7)]:return _0x11ed2a(0x128);case _0x106693[_0x11ed2a(0x252)][_0x11ed2a(0x120)]:switch(_0x404ae1){case _0x106693[_0x11ed2a(0x281)]['UNAUTHORIZED']:return'mcpStatus.unauthorized';case _0x106693[_0x11ed2a(0x281)][_0x11ed2a(0x1eb)]:return _0x11ed2a(0x224);case _0x106693[_0x11ed2a(0x281)][_0x11ed2a(0x24d)]:return _0x11ed2a(0x1f1);case _0x106693[_0x11ed2a(0x281)][_0x11ed2a(0x22c)]:return _0x11ed2a(0x14c);default:return'mcpStatus.failed';}case _0x106693[_0x11ed2a(0x252)][_0x11ed2a(0xf5)]:return _0x11ed2a(0x14f);default:return _0x11ed2a(0x21a);}}function _0x2121a7(_0x310e44,_0x4db3a7,_0x2c2c60,_0x2dcc0e=!0x0){const _0x51803c=_0x2e909c,_0xc1023f=_0x5e2e3b(_0x310e44,_0x4db3a7),_0x30f71b=_0x2c2c60['t'](_0xc1023f);return _0x2dcc0e?_0x310e44===_0x106693[_0x51803c(0x252)][_0x51803c(0x284)]&&_0x4db3a7===_0x106693[_0x51803c(0x281)][_0x51803c(0x142)]?_0x30f71b+_0x51803c(0x1d1)+_0x2c2c60['t'](_0x51803c(0x1e8)):_0x310e44===_0x106693[_0x51803c(0x252)][_0x51803c(0x1b7)]?''+_0x30f71b:_0x310e44===_0x106693[_0x51803c(0x252)][_0x51803c(0x284)]||_0x310e44===_0x106693[_0x51803c(0x252)][_0x51803c(0x120)]?_0x30f71b+_0x51803c(0x1d1)+_0x2c2c60['t']('mcpStatus.clickToConnect'):_0x30f71b:_0x30f71b;}function _0xbc4f65(_0xfc3c79){const _0x463cd1=_0x2e909c;switch(_0xfc3c79){case _0x106693[_0x463cd1(0x252)]['CONNECTED']:return _0x463cd1(0x247);case _0x106693[_0x463cd1(0x252)][_0x463cd1(0x134)]:case _0x106693[_0x463cd1(0x252)]['RETRYING']:return _0x463cd1(0x223);case _0x106693['MCPConnectionStatus'][_0x463cd1(0x120)]:case _0x106693[_0x463cd1(0x252)][_0x463cd1(0x284)]:return _0x463cd1(0x233);default:return'univer-text-gray-500';}}function _0x25b473(_0x22571c){const _0x2830cf=_0x2e909c,{status$:_0x1177a6,error$:_0x5d5e50,onConfigure:_0x23546d,showClickable:_0x3639ae=!0x0}=_0x22571c,_0x38e415=_0x41b48a[_0x2830cf(0x191)](_0x1177a6,_0x106693[_0x2830cf(0x252)][_0x2830cf(0x284)]),_0x17522a=_0x41b48a[_0x2830cf(0x191)](_0x5d5e50,_0x106693[_0x2830cf(0x281)]['NONE']),_0x3363b2=_0x41b48a[_0x2830cf(0x1ea)](_0x2f93c2['LocaleService']),_0x4ae1fa=_0x38e415===_0x106693[_0x2830cf(0x252)][_0x2830cf(0x1b7)];_0x38e415===_0x106693[_0x2830cf(0x252)][_0x2830cf(0x134)]||_0x106693['MCPConnectionStatus'][_0x2830cf(0xf5)];const _0x4c7107=_0x3363b2['t'](_0x5e2e3b(_0x38e415,_0x17522a)),_0x259902=_0x2121a7(_0x38e415,_0x17522a,_0x3363b2,_0x3639ae),_0x2a6a63=_0xbc4f65(_0x38e415),_0x106563=_0x4ae1fa?_0x5b73a0[_0x2830cf(0x133)](_0x23299e,{}):_0x5b73a0[_0x2830cf(0x133)](_0x18503,{}),_0x3d6d70=_0x404268[_0x2830cf(0x211)](()=>{_0x3639ae&&_0x23546d&&_0x23546d();},[_0x3639ae,_0x23546d]);function _0x53a634(){const _0x58e035=_0x2830cf;return _0x5b73a0['jsxs'](_0x58e035(0x22f),{'className':_0x1d9496[_0x58e035(0x17c)](_0x58e035(0x113),_0x3639ae&&_0x23546d&&'\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':_0x58e035(0xfa),'onClick':_0x3639ae&&_0x23546d?_0x3d6d70:void 0x0,'children':[_0x5b73a0['jsx'](_0x58e035(0x22f),{'className':_0x1d9496['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x2a6a63),'children':_0x106563}),_0x5b73a0['jsx'](_0x58e035(0x22f),{'className':_0x58e035(0x218),'children':_0x4c7107})]});}return _0x5b73a0[_0x2830cf(0x133)](_0x1d9496['Tooltip'],{'title':_0x259902,'placement':_0x2830cf(0x26b),'children':_0x53a634()});}var _0x59744d=Object[_0x2e909c(0x1a0)],_0x56052e=(_0x1fd214,_0xd5be3a,_0x2f54bb,_0x239fbd)=>{const _0x7c892b=_0x2e909c;for(var _0x4c3999=_0x239fbd>0x1?void 0x0:_0x239fbd?_0x59744d(_0xd5be3a,_0x2f54bb):_0xd5be3a,_0x49b21d=_0x1fd214[_0x7c892b(0x150)]-0x1,_0x150234;_0x49b21d>=0x0;_0x49b21d--)(_0x150234=_0x1fd214[_0x49b21d])&&(_0x4c3999=_0x150234(_0x4c3999)||_0x4c3999);return _0x4c3999;},_0x431668=(_0x13d0fb,_0x4e191c)=>(_0x23bfaa,_0x12931f)=>_0x4e191c(_0x23bfaa,_0x12931f,_0x13d0fb);_0x382dd4[_0x2e909c(0x217)]=class extends _0x2f93c2[_0x2e909c(0x251)]{constructor(_0xaade89,_0x854094,_0x27af61,_0x20a007){const _0x123d4d=_0x2e909c;super(),this[_0x123d4d(0x258)]=_0xaade89,this['_connectionController']=_0x854094,this['_uiPartsService']=_0x27af61,this[_0x123d4d(0x1ed)]=_0x20a007,this[_0x123d4d(0x170)](),this['_initStatusComponent']();}[_0x2e909c(0x170)](){const _0x51e8dd=_0x2e909c,_0x482ee1=this[_0x51e8dd(0x1ed)]['getConfig'](_0x3de3ca);_0x482ee1!=null&&_0x482ee1[_0x51e8dd(0x10d)]&&(this[_0x51e8dd(0x1b4)][_0x51e8dd(0x215)]=!0x1);}[_0x2e909c(0x176)](){const _0x1ff156=_0x2e909c,_0x2e23b0=this['_configService'][_0x1ff156(0x17b)](_0x3de3ca);(_0x2e23b0==null?void 0x0:_0x2e23b0[_0x1ff156(0x16f)])!==!0x1&&this[_0x1ff156(0x13e)](this[_0x1ff156(0x1b3)][_0x1ff156(0x20e)](_0x41b48a[_0x1ff156(0x143)][_0x1ff156(0x1ee)],()=>{const _0x2101c2=_0x1ff156;var _0xe3664e;return _0x41b48a[_0x2101c2(0x1ef)](_0x1a8815({'status$':this[_0x2101c2(0x1b4)][_0x2101c2(0x18a)],'error$':this[_0x2101c2(0x1b4)][_0x2101c2(0x1a7)],'onConfigure':()=>this[_0x2101c2(0x20b)](),'showClickable':(_0xe3664e=_0x2e23b0==null?void 0x0:_0x2e23b0[_0x2101c2(0x10d)])!=null?_0xe3664e:!0x1}),this[_0x2101c2(0x258)]);}));}[_0x2e909c(0x20b)](){const _0x1227c8=_0x2e909c;this[_0x1227c8(0x258)][_0x1227c8(0xf7)](_0x382dd4[_0x1227c8(0x268)])[_0x1227c8(0x152)]();}},_0x382dd4['MCPConnectionUIController']=_0x56052e([_0x431668(0x0,_0x2f93c2[_0x2e909c(0x114)](_0x2f93c2[_0x2e909c(0xf1)])),_0x431668(0x1,_0x2f93c2[_0x2e909c(0x114)](_0x106693[_0x2e909c(0x1ac)])),_0x431668(0x2,_0x41b48a[_0x2e909c(0x130)]),_0x431668(0x3,_0x2f93c2['IConfigService'])],_0x382dd4[_0x2e909c(0x217)]);function _0x1a8815(_0x13edb9){const {status$:_0x3585a6,error$:_0x22858a,onConfigure:_0x195d0d,showClickable:_0x4cbc74}=_0x13edb9;return function(){const _0x444862=_0xd989;return _0x5b73a0[_0x444862(0x133)](_0x25b473,{'status$':_0x3585a6,'error$':_0x22858a,'onConfigure':_0x195d0d,'showClickable':_0x4cbc74});};}function _0x2ad28d(_0x5b465a){const _0x3aa87b=_0x2e909c;return{'id':_0xe76fd2['id'],'type':_0x41b48a[_0x3aa87b(0x1e6)][_0x3aa87b(0x178)],'icon':'MenuIcon','title':_0x3aa87b(0x1d0),'tooltip':_0x3aa87b(0x1d0)};}const _0x19b6c0={[_0x41b48a[_0x2e909c(0x267)][_0x2e909c(0x25e)]]:{[_0xe76fd2['id']]:{'order':0xa,'menuItemFactory':_0x2ad28d}}};var _0x27197f=Object[_0x2e909c(0x1a0)],_0x18d208=(_0x4b11d5,_0x3b08ce,_0x2c5f63,_0x4e0402)=>{const _0x452c55=_0x2e909c;for(var _0x4f49e4=_0x4e0402>0x1?void 0x0:_0x4e0402?_0x27197f(_0x3b08ce,_0x2c5f63):_0x3b08ce,_0x2b665d=_0x4b11d5[_0x452c55(0x150)]-0x1,_0x171850;_0x2b665d>=0x0;_0x2b665d--)(_0x171850=_0x4b11d5[_0x2b665d])&&(_0x4f49e4=_0x171850(_0x4f49e4)||_0x4f49e4);return _0x4f49e4;},_0xbed0d3=(_0x2c4db5,_0x375818)=>(_0x3b5ffe,_0x1bfb8f)=>_0x375818(_0x3b5ffe,_0x1bfb8f,_0x2c4db5);_0x382dd4[_0x2e909c(0xfe)]=class extends _0x2f93c2[_0x2e909c(0x251)]{constructor(_0x2e62b8,_0x17092e){const _0x1ac18d=_0x2e909c;super(),this['_commandService']=_0x2e62b8,this[_0x1ac18d(0x1f7)]=_0x17092e,this[_0x1ac18d(0x109)](),this['_initializeMenus']();}[_0x2e909c(0x109)](){const _0x6c7cbd=_0x2e909c;[_0xe76fd2][_0x6c7cbd(0x1d4)](_0x118a6e=>{const _0x259595=_0x6c7cbd;this[_0x259595(0x13e)](this[_0x259595(0x19b)][_0x259595(0x169)](_0x118a6e));});}['_initializeMenus'](){const _0x9ca7e1=_0x2e909c;this[_0x9ca7e1(0x1f7)][_0x9ca7e1(0x1c6)](_0x19b6c0);}},_0x382dd4['MCPUIMenuController']=_0x18d208([_0xbed0d3(0x0,_0x2f93c2[_0x2e909c(0x165)]),_0xbed0d3(0x1,_0x41b48a['IMenuManagerService'])],_0x382dd4[_0x2e909c(0xfe)]);const _0x474ec2={'mcpStatus':{'disconnected':_0x2e909c(0x25d),'connecting':'MCP\x20Connecting...','connected':_0x2e909c(0x27b),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2e909c(0x118),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2e909c(0x21d),'sessionOccupied':_0x2e909c(0x1d3),'networkError':_0x2e909c(0x1af),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2e909c(0x111),'clickToConfigure':_0x2e909c(0x166)},'mcpConfig':{'title':_0x2e909c(0x138),'description':_0x2e909c(0x23d),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2e909c(0x110),'apiKeyHint':_0x2e909c(0x18e),'enableAuth':_0x2e909c(0x161),'enableAuthHint':_0x2e909c(0x16b),'connectionInfo':_0x2e909c(0x21c),'mcpClientConfig':_0x2e909c(0x21c),'configInstructions':_0x2e909c(0xed),'configStepTitle':_0x2e909c(0x1cc),'configStep1':_0x2e909c(0x1f6),'configStep2':_0x2e909c(0x1bf),'configStep3':_0x2e909c(0x285),'sessionId':'Session\x20ID','sessionIdDescription':_0x2e909c(0x13c),'authorizationDescription':_0x2e909c(0x15e),'configParameters':_0x2e909c(0x164),'maxRetries':'Max\x20Retries','save':_0x2e909c(0x1ff),'saving':_0x2e909c(0x20f),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2e909c(0x1c0),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x2e909c(0x19a),'apiApplyInfo':{'title':_0x2e909c(0x116),'description':_0x2e909c(0xf8),'univerAiLabel':_0x2e909c(0x1c7),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2e909c(0x237),'apiKeyTooShort':_0x2e909c(0x26d),'invalidConfig':_0x2e909c(0x273),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2e909c(0x1df),'connected':_0x2e909c(0x1c9),'failed':'Connection\x20Failed','retrying':_0x2e909c(0x27c)},'connectionError':{'unauthorized':_0x2e909c(0x154),'sessionOccupied':_0x2e909c(0x27a),'networkError':_0x2e909c(0x219),'maxRetriesExceeded':_0x2e909c(0xfc)}}},_0x3006b7={'mcpStatus':{'disconnected':_0x2e909c(0x1db),'connecting':_0x2e909c(0x1b9),'connected':_0x2e909c(0x1f4),'failed':_0x2e909c(0x20d),'retrying':_0x2e909c(0x12c),'unknown':_0x2e909c(0x121),'unauthorized':_0x2e909c(0x21b),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x2e909c(0x1b0),'clickToConnect':_0x2e909c(0x14a),'clickToConfigure':_0x2e909c(0x21e)},'mcpConfig':{'title':_0x2e909c(0x275),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x2e909c(0x10b),'apiKeyPlaceholder':_0x2e909c(0x190),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x2e909c(0x27d),'connectionInfo':_0x2e909c(0x1ba),'mcpClientConfig':_0x2e909c(0x1ba),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x2e909c(0x278),'configStep1':_0x2e909c(0x17d),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x2e909c(0x19d),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x2e909c(0x12d),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':_0x2e909c(0x119),'configSaved':_0x2e909c(0x101),'configError':_0x2e909c(0x168),'apiApplyInfo':{'title':_0x2e909c(0x241),'description':_0x2e909c(0x207),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x2e909c(0x213)},'validation':{'apiKeyRequired':_0x2e909c(0x216),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x2e909c(0x12f)},'connectionStatus':{'disconnected':'未连接','connecting':_0x2e909c(0x149),'connected':_0x2e909c(0x1fb),'failed':_0x2e909c(0x1ab),'retrying':_0x2e909c(0x1f0)},'connectionError':{'unauthorized':_0x2e909c(0x1f2),'sessionOccupied':_0x2e909c(0x221),'networkError':_0x2e909c(0x193),'maxRetriesExceeded':_0x2e909c(0x108)}}};var _0x70a36c=Object['defineProperty'],_0x26f243=Object[_0x2e909c(0x1a0)],_0x3b03d1=(_0x41178d,_0x13b408,_0x277fa7)=>_0x13b408 in _0x41178d?_0x70a36c(_0x41178d,_0x13b408,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x277fa7}):_0x41178d[_0x13b408]=_0x277fa7,_0x331066=(_0x910ed9,_0x519a6c,_0x1dca63,_0x109996)=>{const _0x34a711=_0x2e909c;for(var _0x475e15=_0x109996>0x1?void 0x0:_0x109996?_0x26f243(_0x519a6c,_0x1dca63):_0x519a6c,_0x14b16d=_0x910ed9[_0x34a711(0x150)]-0x1,_0x25a15d;_0x14b16d>=0x0;_0x14b16d--)(_0x25a15d=_0x910ed9[_0x14b16d])&&(_0x475e15=_0x25a15d(_0x475e15)||_0x475e15);return _0x475e15;},_0x2f65ad=(_0x2e194a,_0x1ef94f)=>(_0x209e72,_0x3c0243)=>_0x1ef94f(_0x209e72,_0x3c0243,_0x2e194a),_0x186eaa=(_0x2dfbbb,_0x48c91f,_0x4f432e)=>_0x3b03d1(_0x2dfbbb,_0x48c91f+'',_0x4f432e);_0x382dd4[_0x2e909c(0x19f)]=class extends _0x2f93c2['Plugin']{constructor(_0x4769d5=_0x35183f,_0x2972bf,_0x186f58,_0x37768d,_0xa30fb8,_0x17b989){const _0x12d3db=_0x2e909c;super(),this['_config']=_0x4769d5,this[_0x12d3db(0x258)]=_0x2972bf,this[_0x12d3db(0x1ed)]=_0x186f58,this['_uiPartsService']=_0x37768d,this[_0x12d3db(0x26c)]=_0xa30fb8,this['_localeService']=_0x17b989;const {..._0x28f98c}=_0x2f93c2['merge']({},_0x35183f,this[_0x12d3db(0x201)]);this[_0x12d3db(0x1ed)][_0x12d3db(0x10e)](_0x3de3ca,_0x28f98c);}async[_0x2e909c(0x280)](){const _0x238428=_0x2e909c,_0x54312b=[[_0x382dd4['MCPConnectionUIController']],[_0x382dd4[_0x238428(0x268)]],[_0x382dd4['MCPUIMenuController']]];this[_0x238428(0x258)][_0x238428(0x269)](_0x39f2ad[_0x238428(0x104)])||_0x54312b[_0x238428(0x263)]([_0x39f2ad[_0x238428(0x104)],{'useClass':_0x39f2ad[_0x238428(0x11a)]}]),_0x54312b[_0x238428(0x1d4)](_0x3f7b5d=>this[_0x238428(0x258)]['add'](_0x3f7b5d)),this['_injector'][_0x238428(0xf7)](_0x382dd4['MCPConnectionUIController']),this[_0x238428(0x258)][_0x238428(0xf7)](_0x382dd4['MCPConfigUIController']),this[_0x238428(0x258)][_0x238428(0xf7)](_0x382dd4[_0x238428(0xfe)]);}},_0x186eaa(_0x382dd4[_0x2e909c(0x19f)],_0x2e909c(0x174),_0x2e909c(0x226)),_0x382dd4[_0x2e909c(0x19f)]=_0x331066([_0x2f93c2[_0x2e909c(0x256)](_0x106693[_0x2e909c(0x183)]),_0x2f65ad(0x1,_0x2f93c2[_0x2e909c(0x114)](_0x2f93c2[_0x2e909c(0xf1)])),_0x2f65ad(0x2,_0x2f93c2['IConfigService']),_0x2f65ad(0x3,_0x41b48a[_0x2e909c(0x130)]),_0x2f65ad(0x4,_0x2f93c2['ILocalStorageService']),_0x2f65ad(0x5,_0x2f93c2[_0x2e909c(0x114)](_0x2f93c2['LocaleService']))],_0x382dd4[_0x2e909c(0x19f)]),_0x382dd4[_0x2e909c(0x236)]=_0x31cca4,_0x382dd4[_0x2e909c(0x156)]=_0x25b473,_0x382dd4['OpenMCPConfigPanelCommand']=_0xe76fd2,_0x382dd4[_0x2e909c(0x27f)]=_0x474ec2,_0x382dd4[_0x2e909c(0x1a3)]=_0x3006b7,Object[_0x2e909c(0x206)](_0x382dd4,Symbol['toStringTag'],{'value':'Module'});}));function _0x1ca1(){const _0x12512a=['UniverUi','on-line-icon','_uiPartsService','_connectionController','includes','mcpServerUrl','CONNECTED','map','MCP\x20连接中...','MCP\x20客户端配置','function','@univerjs/design','univer-space-y-2','_logService','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1107200CkIFbF','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','useRef','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.connectionError.unauthorized','mergeMenu','Univer\x20AI\x20Console','validateApiKey','Connected','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children','Configuration\x20Steps:','mcpConfig.configParameters','univer-bg-red-500','univer-size-4','mcpConfig.title','\x20-\x20','createElement','MCP:\x20Session\x20ID\x20Occupied','forEach','entries','off-line-icon_clip0_910_343','https://console.univer.ai','mcpConfig.apiApplyInfo.univerAiLabel','_dialogService','_componentManager','MCP\x20已断开','url(#$1','1833246AZSEQN','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Connecting...','translate(.97)','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex\x20univer-items-start\x20univer-gap-3','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','sessionId$','MenuItemType','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.clickToConfigure','https://mcp.univer.ai/mcp/?univer_session_id=','useDependency','SESSION_ID_OCCUPIED','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_configService','HEADER_MENU','connectInjector','重连中...','mcpStatus.networkError','权限验证失败,请检查您的\x20API\x20密钥','Input','MCP\x20已连接','@univerjs/ui','Copy\x20the\x20JSON\x20configuration\x20below','_menuManagerService','svg','0\x200\x2017\x2016','mcpConfig.note2','已连接','mcpConfig.connectionError.maxRetriesExceeded','getCurrentConfig','mcpConfig.connectionStatus.connected','Save\x20Configuration','on-line-icon_clip0_910_349','_config','5ZUIYSt','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mcpConfig.connectionStatus.failed','mcpConfig.configStep1','defineProperty','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','replace','white','mcpConfig.configStep3','_handleConfigure','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连接失败','registerComponent','Saving...','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','useCallback','779554ObjcuE','几秒钟内获取您的\x20API\x20密钥','univerjs-icon\x20univerjs-icon-','enableAutoConnect','API\x20密钥不能为空','MCPConnectionUIController','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpStatus.unknown','MCP:\x20未授权','MCP\x20Client\x20Configuration','MCP:\x20Unauthorized','点击配置\x20MCP','544026QdRCsH','path','会话\x20ID\x20已被占用,请稍后再试','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-yellow-500','mcpStatus.sessionOccupied','_validateConfig','MCP_UI_PLUGIN','close','univer-text-blue-600','React','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-space-y-4','MAX_RETRIES_EXCEEDED','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','evenodd','div','useState','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-bg-gray-500','univer-text-red-500','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','__setCustomHeaders','MCPConfigPanel','API\x20key\x20is\x20required','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.connectionInfo','url(#off-line-icon_clip0_910_343)','mcpConfig.sessionIdDescription','react/jsx-runtime','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2165119AACMYS','text','displayName','什么是\x20API\x20密钥?','LocaleService','currentColor','attrs','_mcpCoreConfig$','xlink:href','univer-text-green-500','close-icon','UniverNetwork','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','use','off-line-icon','NETWORK_ERROR','http://www.w3.org/2000/svg','errorMessage','mcpConfig.validation.apiKeyTooShort','Disposable','MCPConnectionStatus','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-flex\x20univer-items-center\x20univer-gap-2','@univerjs-pro/mcp','DependentOn','univer-font-medium','_injector','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.apiApplyInfo.description','error','univer-text-xs\x20univer-text-gray-500','MCP\x20Disconnected','OTHERS','univer-text-xs\x20univer-text-gray-600','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Authorization:','push','colorChannel1','univer_session_id:','_apiKey$','RibbonStartGroup','MCPConfigUIController','has','noopener\x20noreferrer','bottom','_localStorageService','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-text-sm\x20univer-text-gray-500','defs','univer.plus','IMessageService','1974906Mplave','Invalid\x20configuration','idSuffix','MCP\x20配置','check-mark-icon','symbol','配置步骤:','tag','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connected','Retrying...','启用身份验证以获得安全连接','univer-text-white','enUS','onStarting','MCPConnectionError','rxjs','ILocalStorageService','DISCONNECTED','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','span','mcpConfig.configStep2','label','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_initConfigSync','_loadStoredApiKey','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Injector','2511CFVpOP','_messageService','univer-space-y-3','RETRYING','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','get','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','stringify','button','mcpConfig.apiApplyInfo.title','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCPUIMenuController','univer-text-sm\x20univer-font-medium','BehaviorSubject','配置保存成功','mcpConfig.configError','forwardRef','ISocketService','OnLineIcon','COMMAND','mcpConfig.connectionError.sessionOccupied','超出最大重试次数,请稍后再试','_initializeCommands','univer-bg-blue-500','API\x20密钥','Error','showDeveloperTools','setConfig','mcpConfig.connectionStatus.retrying','Enter\x20your\x20API\x20key','Click\x20to\x20connect\x20MCP','mcpConfig.connectionStatus.disconnected','univer-flex\x20univer-items-center','Inject','mcp-ui.command.openConfigPanel','What\x20is\x20API\x20Key?','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','MCP\x20Retrying...','您的\x20API\x20密钥安全存储在本地存储中','WebSocketService','amd','mcpConfig.apiKeyPlaceholder','<SESSION_ID>','https://console.univer.plus','mcpConfig.authorizationDescription','FAILED','MCP\x20状态未知','UniverIcon','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcpConfig.save','MessageType','apiKey','8QQprbL','mcpStatus.connected','_config$','http','mcpConfig.connectionError.networkError','MCP\x20重连中...','带有\x20Bearer\x20前缀的\x20API\x20密钥。','1412CVFUow','API\x20密钥无效,请检查密钥是否正确','IUIPartsService','_blank','show','jsx','CONNECTING','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Success','off','MCP\x20Configuration','univer-flex-1','CommandType','_mcpConnectionController','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','open','disposeWithMe','round','univer-bg-green-500','1McjNxQ','UNAUTHORIZED','BuiltInUIPart','UniverCore','1em','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','_handleConfigSave','univer-flex\x20univer-items-center\x20univer-gap-3','连接中...','点击连接\x20MCP','IDialogService','mcpStatus.maxRetriesExceeded','_loading$','<API_KEY>','mcpStatus.retrying','length','none','showConfigPanel','Bearer\x20','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','pre','MCPStatusDisplay','next','univer-flex\x20univer-gap-3','warn','mcpConfig.apiKey','defIds','register','@univerjs/network','API\x20key\x20with\x20Bearer\x20prefix.','mcp-config-dialog','mcpConfig.validation.invalidApiKey','Enable\x20Authentication','_registerComponent','ComponentManager','Configuration\x20Parameters:','ICommandService','Click\x20to\x20configure\x20MCP','mcpConfig.apiApplyInfo.getStarted','配置保存失败','registerCommand','subscribeConfigValue$','Enable\x20authentication\x20for\x20secure\x20connections','0\x200\x2016\x2016','clipPath','mcpConfig.connectionStatus.connecting','showStatus','_initAutoConnect','_createConfigPanelComponent','help-icon','mask','pluginName','trim','_initStatusComponent','current','BUTTON','value','removeItem','getConfig','clsx','复制以下\x20JSON\x20配置','univer.ai','mcpConfig.configSaved','mcp-ui.config','univer-min-w-0\x20univer-flex-1','random','UniverMCPPlugin','HelpIcon','CheckMarkIcon','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpConfig.validation.invalidConfig','getItem','connectionStatus$','UniverProMcpUi','mcp.apiKey','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.configInstructions','请输入您的\x20API\x20密钥','useObservable','mcpConfig.validation.apiKeyRequired','网络连接错误,请检查您的网络连接','mcpStatus.connecting','jsxs','toString','@univerjs/core','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','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','Failed\x20to\x20save\x20configuration','_commandService','isValid','重启您的\x20MCP\x20客户端以使配置生效','mcpConfig.saving','UniverMCPUIPlugin','getOwnPropertyDescriptor','M0\x200H16V16H0z','mcpStatus.disconnected','zhCN','univer-size-2\x20univer-rounded-full','mcpConfig.configStepTitle','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','connectionError$','IConfigService','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','string','连接失败','MCPConnectionController','_localeService','assign','MCP:\x20Network\x20Error','MCP:\x20超出最大重试次数'];_0x1ca1=function(){return _0x12512a;};return _0x1ca1();}
|
|
1
|
+
function _0x97df(){const _0x384a30=['round','currentColor','_mcpCoreConfig$','show','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer.ai','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP_PLUGIN_CONFIG_KEY','您的\x20API\x20密钥将在此浏览器中本地存储','univer-space-y-4','IMessageService','SESSION_ID_OCCUPIED','Configuration\x20Parameters:','_createConfigPanelComponent','univerjs-icon\x20univerjs-icon-','MCP\x20状态未知','defs','defIds','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','useDependency','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','svg','API\x20密钥不能为空','xlink:href','MCP\x20重连中...','mcpConfig.apiApplyInfo.univerAiLabel','MCP\x20Configuration','MCP\x20Client\x20Configuration','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mask','defineProperty','LocaleService','Module','Configuration\x20saved\x20successfully','4936645pwdWYo','Plugin','UNAUTHORIZED','0\x200\x2017\x2016','Retrying...','Disposable','jsxs','next','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','HEADER_MENU','_connectionController','MCP\x20Connection\x20Failed','univer-text-green-500','http','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','MCP:\x20会话\x20ID\x20已被占用','8690350Ykjpky','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','connectionStatus$','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','几秒钟内获取您的\x20API\x20密钥','复制以下\x20JSON\x20配置','div','WebSocketService','CONNECTING','API\x20密钥无效,请检查密钥是否正确','UniverIcon','已连接','mcpConfig.description','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_blank','_initializeCommands','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_initializeMenus','配置更改将立即生效','univer-bg-green-500','amd','1015JPUWAx','Configuration\x20Notes:','isValid','Injector','get','IUIPartsService','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','Inject','_commandService','connectionError$','35JQAcWM','MCPConfigPanel','MCP:\x20网络错误','warn','MCP:\x20超出最大重试次数','Failed\x20to\x20save\x20configuration','exports','最大重试次数','string','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','forEach','close','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','off','registerCommand','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','createElement','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','_initStatusComponent','MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1em','univer-size-4','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','mcpConfig.connectionInfo','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','7788NqscVI','重启您的\x20MCP\x20客户端以使配置生效','has','setItem','random','univer-text-xs\x20univer-text-gray-500','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.connectionStatus.failed','mcp-ui.command.openConfigPanel','https://console.univer.plus','on-line-icon','CheckMarkIcon','338892qFgYMM','univer-text-yellow-500','UniverNetwork','MCP\x20Connected','off-line-icon','mcpConfig.configInstructions','UniverUi','_initAutoConnect','mcpConfig.title','mcp-ui.config','mcp-config-dialog','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.configStep2','_config','ILocalStorageService','push','配置保存失败','BuiltInUIPart','OpenMCPConfigPanelCommand','http://www.w3.org/2000/svg','mcpStatus.clickToConfigure','配置保存成功','2416815cUwvIw','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','UniverMCPUIPlugin','ISocketService','current','\x20-\x20','_handleConfigSave','Save\x20Configuration','MenuIcon','https://console.univer.ai','0\x200\x2016\x2016','univer-text-xs\x20univer-text-gray-600','MCP\x20连接中...','RibbonStartGroup','mcpConfig.sessionIdDescription','pre','mcpConfig.configStep3','HelpIcon','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','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','__setCustomHeaders','onStarting','权限验证失败,请检查您的\x20API\x20密钥','NETWORK_ERROR','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCPConnectionController','MCP\x20已连接','jsx','MCP\x20客户端配置','mcpConfig.configStep1','univer-font-medium','univer-size-2\x20univer-rounded-full','mcpConfig.connectionError.sessionOccupied','ICommandService','572kcGcmO','clsx','_apiKey$','_initConfigSync','MCP\x20已断开','rxjs','colorChannel1','univer-text-white','children','off-line-icon_clip0_910_343','button','subscribeConfigValue$','merge','substring','disposeWithMe','value','use','Bearer\x20','_registerComponent','registerComponent','mcpConfig.apiApplyInfo.description','useRef','fill','span','Connection\x20Failed','mcpStatus.unauthorized','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_uiPartsService','Saving...','help-icon','FAILED','mergeMenu','useState','subscribe','mcpConfig.connectionStatus.connecting','forwardRef','mcpConfig.saving','evenodd','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpStatus.networkError','MCP_UI_PLUGIN','univer-bg-gray-500','MCP:\x20Network\x20Error','MCPUIMenuController','mcpServerUrl','entries','univer-space-y-3','保存配置','@univerjs/ui','univer_session_id:','2066Eoapjn','label','tag','Session\x20ID','toStringTag','_injector','@univerjs/design','DISCONNECTED','Enter\x20your\x20API\x20key','stringify','UniverCore','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','displayName','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','react/jsx-runtime','_configService','mcpConfig.connectionError.unauthorized','_mcpConnectionController','univer-flex\x20univer-items-start\x20univer-gap-2','保存中...','API\x20Key','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-sm\x20univer-text-gray-500','close-icon','MCPConnectionUIController','会话ID','url(#on-line-icon_clip0_910_349)','univer-flex\x20univer-items-start\x20univer-gap-3','CONNECTED','IMenuManagerService','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','<SESSION_ID>','Configuration\x20Steps:','您的\x20API\x20密钥安全存储在本地存储中','apiKey','add','MCPConnectionError','mcpConfig.configStepTitle','mcpConfig.connectionError.networkError','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','zhCN','white','setConfig','function','OTHERS','noopener\x20noreferrer','sessionId$','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','MCP:\x20未授权','_localStorageService','translate(.97)','IDialogService','map','UniverMCPPlugin','toString','error','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','837Dhwpvb','配置参数:','mcpConfig.apiKeyHint','Connected','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','UniverProMcpUi','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','showStatus','mcpConfig.configSaved','object','getOwnPropertyDescriptor','_handleConfigure','mcpConfig.validation.invalidConfig','MessageType','mcpStatus.failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','on-line-icon_clip0_910_349','length','mcpConfig.apiKey','_logService','_dialogService','mcpConfig.apiApplyInfo.getStarted','MCP:\x20Session\x20ID\x20Occupied','getCurrentConfig','showConfigPanel','MCP:\x20Max\x20Retries\x20Exceeded','useCallback','mcpConfig.apiApplyInfo.title','_messageService','667614MuFdnY','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','path','_loading$','univer-space-y-2','univer-flex-1','univer.plus','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCPConnectionStatus','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','_config$','assign','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20密钥长度至少需要\x2010\x20位','_loadStoredApiKey','includes','univer-flex\x20univer-items-center\x20univer-gap-2','univer-min-w-0\x20univer-flex-1','Max\x20Retries','NONE','trim','register','mcpStatus.maxRetriesExceeded','attrs','idSuffix','点击配置\x20MCP','_localeService','univer-flex\x20univer-gap-3','errorMessage','none','\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','IConfigService','enableAutoConnect','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','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-bg-red-500','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','Connecting...','Tooltip','mcp.apiKey','mcpConfig.validation.invalidApiKey','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-shrink-0\x20univer-text-red-500','Error','univer-text-gray-500','mcpConfig.connectionStatus.retrying','https://mcp.univer.ai/mcp/?univer_session_id=','@univerjs-pro/mcp','_componentManager','univer-text-gray-400','univer-text-blue-600','会话\x20ID\x20已被占用,请稍后再试','RETRYING','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCPConfigUIController','_menuManagerService','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','OffLineIcon','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','BehaviorSubject','univer-text-red-500','showDeveloperTools','8lbosbW','replace','getItem','Enable\x20Authentication','pluginName','getConfig','useObservable','clipPath','url(#$1','mcpStatus.unknown','@univerjs/core','MAX_RETRIES_EXCEEDED','mcpStatus.clickToConnect','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','check-mark-icon','mcpStatus.connected','React','点击连接\x20MCP'];_0x97df=function(){return _0x384a30;};return _0x97df();}function _0x59d4(_0x40efe0,_0x344068){_0x40efe0=_0x40efe0-0x77;const _0x97df2e=_0x97df();let _0x59d4be=_0x97df2e[_0x40efe0];return _0x59d4be;}(function(_0x44d38d,_0x2783d8){const _0x34964f=_0x59d4,_0x53fb46=_0x44d38d();while(!![]){try{const _0x4ea4d7=parseInt(_0x34964f(0x201))/0x1*(-parseInt(_0x34964f(0x10f))/0x2)+parseInt(_0x34964f(0x148))/0x3*(-parseInt(_0x34964f(0x97))/0x4)+-parseInt(_0x34964f(0x1db))/0x5+-parseInt(_0x34964f(0x166))/0x6*(-parseInt(_0x34964f(0x7b))/0x7)+-parseInt(_0x34964f(0x1a5))/0x8*(-parseInt(_0x34964f(0xb9))/0x9)+parseInt(_0x34964f(0x1eb))/0xa+-parseInt(_0x34964f(0xdc))/0xb*(-parseInt(_0x34964f(0xa3))/0xc);if(_0x4ea4d7===_0x2783d8)break;else _0x53fb46['push'](_0x53fb46['shift']());}catch(_0x5eecdf){_0x53fb46['push'](_0x53fb46['shift']());}}}(_0x97df,0x8e6f2),function(_0x2ca9f0,_0x446b5a){const _0xc03f9f=_0x59d4;typeof exports==_0xc03f9f(0x151)&&typeof module<'u'?_0x446b5a(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0xc03f9f(0x13a)&&define[_0xc03f9f(0x200)]?define([_0xc03f9f(0x81),_0xc03f9f(0x1af),_0xc03f9f(0x11d),_0xc03f9f(0x195),_0xc03f9f(0x115),_0xc03f9f(0x10d),_0xc03f9f(0xe1),'react','@univerjs/network'],_0x446b5a):(_0x2ca9f0=typeof globalThis<'u'?globalThis:_0x2ca9f0||self,_0x446b5a(_0x2ca9f0[_0xc03f9f(0x14d)]={},_0x2ca9f0[_0xc03f9f(0x119)],_0x2ca9f0['React'],_0x2ca9f0['UniverProMcp'],_0x2ca9f0['UniverDesign'],_0x2ca9f0[_0xc03f9f(0xa9)],_0x2ca9f0[_0xc03f9f(0xe1)],_0x2ca9f0[_0xc03f9f(0x1b5)],_0x2ca9f0[_0xc03f9f(0xa5)]));}(this,function(_0x7b0cd9,_0x565954,_0x29df55,_0x11d7ce,_0x52e2a8,_0x388181,_0x8392e9,_0x1646d9,_0x33bfb2){'use strict';const _0x23d6ef=_0x59d4;var _0x3bd2c9=Object[_0x23d6ef(0x1d7)],_0x1c7680=(_0x5a131f,_0x45962a,_0x257648)=>_0x45962a in _0x5a131f?_0x3bd2c9(_0x5a131f,_0x45962a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x257648}):_0x5a131f[_0x45962a]=_0x257648,_0x15162a=(_0x3a9a0c,_0x4dcddf,_0x47a3df)=>_0x1c7680(_0x3a9a0c,typeof _0x4dcddf!='symbol'?_0x4dcddf+'':_0x4dcddf,_0x47a3df);function _0x129d0e({ref:_0x308887,..._0x2e2bfb}){const _0x2e2259=_0x23d6ef,{icon:_0x2bce39,id:_0x597ce3,className:_0x9755d4,extend:_0xbe55ab,..._0x182180}=_0x2e2bfb,_0x17ab38=(_0x2e2259(0x1c6)+_0x597ce3+'\x20'+(_0x9755d4||''))[_0x2e2259(0x17a)](),_0x488be0=_0x1646d9[_0x2e2259(0xf1)]('_'+_0xfe53cb());return _0x253d23(_0x2bce39,''+_0x597ce3,{'defIds':_0x2bce39[_0x2e2259(0x1c9)],'idSuffix':_0x488be0[_0x2e2259(0xbd)]},{'ref':_0x308887,'className':_0x17ab38,..._0x182180},_0xbe55ab);}function _0x253d23(_0x54211f,_0x4dd00e,_0x448d3e,_0x45911b,_0x16dead){const _0x42827c=_0x23d6ef;return _0x1646d9[_0x42827c(0x8d)](_0x54211f[_0x42827c(0x111)],{'key':_0x4dd00e,..._0x52aa6f(_0x54211f,_0x448d3e,_0x16dead),..._0x45911b},(_0xcc4cbf(_0x54211f,_0x448d3e)['children']||[])[_0x42827c(0x143)]((_0x1a38f6,_0x393626)=>_0x253d23(_0x1a38f6,_0x4dd00e+'-'+_0x54211f[_0x42827c(0x111)]+'-'+_0x393626,_0x448d3e,void 0x0,_0x16dead)));}function _0x52aa6f(_0xbe545,_0x433ce2,_0x1027bc){const _0x2e2cb1=_0x23d6ef,_0x5efcdc={..._0xbe545[_0x2e2cb1(0x17d)]};_0x1027bc!=null&&_0x1027bc['colorChannel1']&&_0x5efcdc['fill']==='colorChannel1'&&(_0x5efcdc[_0x2e2cb1(0xf2)]=_0x1027bc[_0x2e2cb1(0xe2)]),_0xbe545[_0x2e2cb1(0x111)]===_0x2e2cb1(0x1d6)&&_0x5efcdc['id']&&(_0x5efcdc['id']=_0x5efcdc['id']+_0x433ce2[_0x2e2cb1(0x17e)]),Object['entries'](_0x5efcdc)[_0x2e2cb1(0x85)](([_0x161c49,_0x41da64])=>{const _0x45c587=_0x2e2cb1;_0x161c49==='mask'&&typeof _0x41da64=='string'&&(_0x5efcdc[_0x161c49]=_0x41da64[_0x45c587(0x1a6)](/url\(#(.*)\)/,_0x45c587(0x1ad)+_0x433ce2['idSuffix']+')'));});const {defIds:_0xe77c22}=_0x433ce2;return!_0xe77c22||_0xe77c22[_0x2e2cb1(0x15a)]===0x0||(_0xbe545[_0x2e2cb1(0x111)]===_0x2e2cb1(0xec)&&_0x5efcdc[_0x2e2cb1(0x1d0)]&&(_0x5efcdc[_0x2e2cb1(0x1d0)]=_0x5efcdc['xlink:href']+_0x433ce2[_0x2e2cb1(0x17e)]),Object[_0x2e2cb1(0x10a)](_0x5efcdc)[_0x2e2cb1(0x85)](([_0xf2fe08,_0x590a2f])=>{const _0x11722c=_0x2e2cb1;typeof _0x590a2f==_0x11722c(0x83)&&(_0x5efcdc[_0xf2fe08]=_0x590a2f[_0x11722c(0x1a6)](/url\(#(.*)\)/,_0x11722c(0x1ad)+_0x433ce2[_0x11722c(0x17e)]+')'));})),_0x5efcdc;}function _0xcc4cbf(_0x592481,_0x4ee207){const _0x3837ff=_0x23d6ef;var _0x52c86e;const {defIds:_0x2d8775}=_0x4ee207;return!_0x2d8775||_0x2d8775[_0x3837ff(0x15a)]===0x0?_0x592481:_0x592481['tag']===_0x3837ff(0x1c8)&&((_0x52c86e=_0x592481[_0x3837ff(0xe4)])!=null&&_0x52c86e['length'])?{..._0x592481,'children':_0x592481[_0x3837ff(0xe4)][_0x3837ff(0x143)](_0x3f0c11=>typeof _0x3f0c11[_0x3837ff(0x17d)]['id']==_0x3837ff(0x83)&&_0x2d8775&&_0x2d8775[_0x3837ff(0x175)](_0x3f0c11['attrs']['id'])?{..._0x3f0c11,'attrs':{..._0x3f0c11[_0x3837ff(0x17d)],'id':_0x3f0c11[_0x3837ff(0x17d)]['id']+_0x4ee207[_0x3837ff(0x17e)]}}:_0x3f0c11)}:_0x592481;}function _0xfe53cb(){const _0x2c9f94=_0x23d6ef;return Math[_0x2c9f94(0x9b)]()[_0x2c9f94(0x145)](0x24)[_0x2c9f94(0xe9)](0x2,0x8);}_0x129d0e[_0x23d6ef(0x11b)]=_0x23d6ef(0x1f6);const _0x5850cf={'tag':_0x23d6ef(0x1ce),'attrs':{'xmlns':_0x23d6ef(0xb6),'fill':_0x23d6ef(0x183),'viewBox':_0x23d6ef(0xc3),'width':'1em','height':_0x23d6ef(0x92)},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'fill':_0x23d6ef(0x1b8),'d':_0x23d6ef(0x147),'fillRule':_0x23d6ef(0x101),'clipRule':_0x23d6ef(0x101)}}]},_0x26e703=_0x1646d9['forwardRef'](function(_0x1f1046,_0x6e4b1){const _0x224db0=_0x23d6ef;return _0x1646d9[_0x224db0(0x8d)](_0x129d0e,Object[_0x224db0(0x171)]({},_0x1f1046,{'id':_0x224db0(0x1b3),'ref':_0x6e4b1,'icon':_0x5850cf}));});_0x26e703['displayName']=_0x23d6ef(0xa2);const _0xbe63ac={'tag':_0x23d6ef(0x1ce),'attrs':{'xmlns':_0x23d6ef(0xb6),'fill':_0x23d6ef(0x183),'viewBox':'0\x200\x2016\x2016','width':_0x23d6ef(0x92),'height':_0x23d6ef(0x92)},'children':[{'tag':'path','attrs':{'fill':_0x23d6ef(0x1b8),'d':_0x23d6ef(0x1e9)}}]},_0x2fd5bd=_0x1646d9[_0x23d6ef(0xff)](function(_0x388dc3,_0x239540){const _0x140564=_0x23d6ef;return _0x1646d9[_0x140564(0x8d)](_0x129d0e,Object['assign']({},_0x388dc3,{'id':_0x140564(0x126),'ref':_0x239540,'icon':_0xbe63ac}));});_0x2fd5bd[_0x23d6ef(0x11b)]='CloseIcon';const _0x55b763={'tag':'svg','attrs':{'xmlns':_0x23d6ef(0xb6),'fill':_0x23d6ef(0x183),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x23d6ef(0x92)},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'fill':'currentColor','d':_0x23d6ef(0x18a)}},{'tag':_0x23d6ef(0x168),'attrs':{'fill':_0x23d6ef(0x1b8),'d':_0x23d6ef(0x187)}},{'tag':_0x23d6ef(0x168),'attrs':{'fill':_0x23d6ef(0x1b8),'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':_0x23d6ef(0x101),'clipRule':_0x23d6ef(0x101)}}]},_0x5389a4=_0x1646d9[_0x23d6ef(0xff)](function(_0x4e3151,_0x5c8dfd){const _0x1f0f6a=_0x23d6ef;return _0x1646d9[_0x1f0f6a(0x8d)](_0x129d0e,Object['assign']({},_0x4e3151,{'id':_0x1f0f6a(0xf9),'ref':_0x5c8dfd,'icon':_0x55b763}));});_0x5389a4['displayName']=_0x23d6ef(0xca);const _0xc2290b={'tag':'svg','attrs':{'xmlns':_0x23d6ef(0xb6),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x23d6ef(0x92)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'stroke':_0x23d6ef(0x1b8),'d':_0x23d6ef(0x19f),'strokeLinecap':_0x23d6ef(0x1b7),'strokeLinejoin':_0x23d6ef(0x1b7),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x23d6ef(0x1ac),'attrs':{'id':_0x23d6ef(0xe5)},'children':[{'tag':'path','attrs':{'fill':_0x23d6ef(0x138),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x23d6ef(0xe5)]},_0x40992d=_0x1646d9[_0x23d6ef(0xff)](function(_0x13d819,_0x8e3bea){const _0x385939=_0x23d6ef;return _0x1646d9[_0x385939(0x8d)](_0x129d0e,Object['assign']({},_0x13d819,{'id':_0x385939(0xa7),'ref':_0x8e3bea,'icon':_0xc2290b}));});_0x40992d[_0x23d6ef(0x11b)]=_0x23d6ef(0x1a0);const _0x8b8591={'tag':_0x23d6ef(0x1ce),'attrs':{'xmlns':_0x23d6ef(0xb6),'fill':_0x23d6ef(0x183),'viewBox':_0x23d6ef(0x1de),'width':_0x23d6ef(0x92),'height':_0x23d6ef(0x92)},'children':[{'tag':'g','attrs':{'clipPath':_0x23d6ef(0x129)},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'stroke':'currentColor','d':_0x23d6ef(0x94),'strokeLinecap':_0x23d6ef(0x1b7),'strokeLinejoin':_0x23d6ef(0x1b7),'strokeWidth':1.2}}]},{'tag':_0x23d6ef(0x1c8),'attrs':{},'children':[{'tag':_0x23d6ef(0x1ac),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x23d6ef(0x168),'attrs':{'fill':_0x23d6ef(0x138),'d':'M0\x200H16V16H0z','transform':_0x23d6ef(0x141)}}]}]}],'defIds':[_0x23d6ef(0x159)]},_0x32386a=_0x1646d9['forwardRef'](function(_0x136b5e,_0x253aac){const _0x59768d=_0x23d6ef;return _0x1646d9['createElement'](_0x129d0e,Object[_0x59768d(0x171)]({},_0x136b5e,{'id':_0x59768d(0xa1),'ref':_0x253aac,'icon':_0x8b8591}));});_0x32386a[_0x23d6ef(0x11b)]='OnLineIcon';function _0x4f0a4d(_0x4ea0fa){const _0x2f68fb=_0x23d6ef;var _0x5d45a5,_0xe5269e;const {mcpCoreConfig:_0x45cb93,onSave:_0x337a2b,loading:_0x2cd1ce=!0x1,config:_0x3bd09c,connectionStatus$:_0x3049a9,connectionError$:_0x4832b1,currentApiKey$:_0x9e8b6b,currentSessionId$:_0x225b1f}=_0x4ea0fa,_0x100060=_0x388181[_0x2f68fb(0x1cc)](_0x565954[_0x2f68fb(0x1d8)]),_0x1415ea=_0x388181[_0x2f68fb(0x1ab)](_0x3049a9,_0x11d7ce[_0x2f68fb(0x16e)][_0x2f68fb(0x116)]),_0x200de8=_0x388181[_0x2f68fb(0x1ab)](_0x4832b1,_0x11d7ce[_0x2f68fb(0x133)]['NONE']),_0x455c89=_0x388181[_0x2f68fb(0x1ab)](_0x225b1f,''),_0x3b8dad=_0x388181[_0x2f68fb(0x1ab)](_0x9e8b6b,''),[_0x5a61f8,_0x1f3d94]=_0x1646d9[_0x2f68fb(0xfc)](_0x3b8dad||''),_0x10c0d8=!0x0,_0x4c1084=_0x3bd09c[_0x2f68fb(0x1a4)]&&_0x45cb93[_0x2f68fb(0x109)]&&(_0x45cb93['mcpServerUrl']['includes'](_0x2f68fb(0x16c))||_0x45cb93[_0x2f68fb(0x109)][_0x2f68fb(0x175)](_0x2f68fb(0x1bd))),_0x40e659=(_0x5d45a5=_0x45cb93['mcpServerUrl'])==null?void 0x0:_0x5d45a5[_0x2f68fb(0x175)]('univer.plus'),_0x5bc166=(_0xe5269e=_0x45cb93[_0x2f68fb(0x109)])==null?void 0x0:_0xe5269e[_0x2f68fb(0x175)](_0x2f68fb(0x1bd)),_0x251600=_0x40e659?_0x2f68fb(0xa0):_0x2f68fb(0xc2),_0x4efae1=_0x3bd09c[_0x2f68fb(0x1a4)]&&(_0x40e659||_0x5bc166),[_0x3356bf,_0x15585d]=_0x1646d9[_0x2f68fb(0xfc)](!_0x5a61f8[_0x2f68fb(0x17a)]()),_0x593827=(_0x3984ce,_0x3592a0)=>{const _0x38ad15=_0x2f68fb;if(_0x3592a0===_0x11d7ce[_0x38ad15(0x133)][_0x38ad15(0x1dd)])return _0x38ad15(0x18f);switch(_0x3984ce){case _0x11d7ce[_0x38ad15(0x16e)][_0x38ad15(0x12b)]:return _0x38ad15(0x136);case _0x11d7ce[_0x38ad15(0x16e)][_0x38ad15(0x1f4)]:case _0x11d7ce['MCPConnectionStatus'][_0x38ad15(0x19a)]:return _0x38ad15(0x1e3);case _0x11d7ce['MCPConnectionStatus'][_0x38ad15(0xfa)]:return _0x38ad15(0x18f);default:return _0x38ad15(0x84);}},_0x7ddd87=(_0x444e1d,_0x5b0db5)=>{const _0x1183ac=_0x2f68fb;if(_0x5b0db5===_0x11d7ce[_0x1183ac(0x133)]['UNAUTHORIZED'])return _0x1183ac(0x189);switch(_0x444e1d){case _0x11d7ce['MCPConnectionStatus'][_0x1183ac(0x12b)]:return _0x1183ac(0x1ff);case _0x11d7ce['MCPConnectionStatus'][_0x1183ac(0x1f4)]:case _0x11d7ce[_0x1183ac(0x16e)][_0x1183ac(0x19a)]:return'univer-bg-blue-500';case _0x11d7ce[_0x1183ac(0x16e)][_0x1183ac(0xfa)]:return _0x1183ac(0x189);default:return _0x1183ac(0x106);}},_0x215d33=_0x44d054=>{const _0x458d13=_0x2f68fb;switch(_0x44d054){case _0x11d7ce[_0x458d13(0x16e)][_0x458d13(0x12b)]:return _0x100060['t']('mcpConfig.connectionStatus.connected');case _0x11d7ce['MCPConnectionStatus'][_0x458d13(0x1f4)]:return _0x100060['t'](_0x458d13(0xfe));case _0x11d7ce['MCPConnectionStatus']['FAILED']:return _0x100060['t'](_0x458d13(0x9e));case _0x11d7ce[_0x458d13(0x16e)][_0x458d13(0x19a)]:return _0x100060['t'](_0x458d13(0x193));default:return _0x100060['t']('mcpConfig.connectionStatus.disconnected');}},_0x2d385e=_0x4cbfd2=>{const _0x2cc21e=_0x2f68fb;switch(_0x4cbfd2){case _0x11d7ce['MCPConnectionError'][_0x2cc21e(0x1dd)]:return _0x100060['t'](_0x2cc21e(0x11f));case _0x11d7ce['MCPConnectionError'][_0x2cc21e(0x1c3)]:return _0x100060['t'](_0x2cc21e(0xda));case _0x11d7ce[_0x2cc21e(0x133)][_0x2cc21e(0xd1)]:return _0x100060['t'](_0x2cc21e(0x135));case _0x11d7ce[_0x2cc21e(0x133)][_0x2cc21e(0x1b0)]:return _0x100060['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x3806c7=_0x1646d9['useCallback'](()=>{const _0x8d03e4={..._0x45cb93,'apiKey':_0x5a61f8['trim'](),'enableAuth':_0x10c0d8};_0x337a2b(_0x8d03e4);},[_0x45cb93,_0x5a61f8,_0x10c0d8,_0x337a2b]),_0x1dd1ff=_0x5a61f8['trim']()[_0x2f68fb(0x15a)]>0x0;return _0x29df55['jsxs'](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1cd),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x124),'children':_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x103),'children':_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'className':_0x2f68fb(0xe3),'children':'⚙'})}),_0x29df55['jsx'](_0x2f68fb(0x1f2),{'children':_0x29df55[_0x2f68fb(0xd5)]('p',{'className':_0x2f68fb(0x125),'children':_0x100060['t'](_0x2f68fb(0x1f8))})})]})}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x14e),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x52e2a8['clsx'](_0x2f68fb(0x77),_0x593827(_0x1415ea,_0x200de8)),'children':_0x29df55['jsxs']('div',{'className':_0x2f68fb(0x176),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x52e2a8[_0x2f68fb(0xdd)](_0x2f68fb(0xd9),_0x7ddd87(_0x1415ea,_0x200de8))}),_0x29df55[_0x2f68fb(0xd5)]('span',{'className':'univer-text-sm\x20univer-font-medium','children':_0x215d33(_0x1415ea)})]})}),_0x200de8!==_0x11d7ce['MCPConnectionError'][_0x2f68fb(0x179)]&&(_0x1415ea===_0x11d7ce[_0x2f68fb(0x16e)][_0x2f68fb(0xfa)]||_0x200de8===_0x11d7ce[_0x2f68fb(0x133)][_0x2f68fb(0x1dd)])&&_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x13e),'children':_0x29df55['jsxs'](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x121),'children':[_0x29df55['jsx'](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x190),'children':'⚠️'}),_0x29df55[_0x2f68fb(0xd5)]('p',{'className':_0x2f68fb(0x1ed),'children':_0x2d385e(_0x200de8)})]})})]}),_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x11c),'children':_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':'univer-space-y-5','children':[_0x29df55[_0x2f68fb(0x1e1)]('div',{'className':_0x2f68fb(0x16a),'children':[_0x29df55['jsxs'](_0x2f68fb(0x110),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'children':'🔑'}),'\x20',_0x100060['t'](_0x2f68fb(0x15b)),_0x29df55['jsx'](_0x2f68fb(0xf3),{'className':'univer-text-red-500','children':'*'}),_0x4c1084&&_0x29df55['jsx']('a',{'className':_0x2f68fb(0x188),'title':_0x100060['t'](_0x2f68fb(0x164)),'role':'button','onClick':()=>_0x15585d(!0x0),'children':_0x29df55['jsx'](_0x5389a4,{})})]}),_0x29df55[_0x2f68fb(0xd5)](_0x52e2a8['Input'],{'type':'text','placeholder':_0x100060['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x5a61f8,'disabled':_0x2cd1ce,'autoComplete':_0x2f68fb(0x8a),'onChange':_0x1f3d94}),_0x29df55[_0x2f68fb(0xd5)]('p',{'className':_0x2f68fb(0x9c),'children':_0x100060['t'](_0x2f68fb(0x14a))})]}),_0x4c1084&&_0x3356bf&&_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xcb),'children':[_0x29df55['jsx']('a',{'className':_0x2f68fb(0x8e),'role':_0x2f68fb(0xe6),'onClick':()=>_0x15585d(!0x1),'children':_0x29df55[_0x2f68fb(0xd5)](_0x2fd5bd,{'className':_0x2f68fb(0x93)})}),_0x29df55['jsxs'](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x87),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1d5),'children':_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x198),'children':'🚀'})}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x16b),'children':[_0x29df55[_0x2f68fb(0xd5)]('h4',{'className':_0x2f68fb(0x1be),'children':_0x100060['t'](_0x2f68fb(0x164))}),_0x29df55[_0x2f68fb(0xd5)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x100060['t'](_0x2f68fb(0xf0))}),_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1fc),'children':_0x4efae1&&_0x29df55['jsxs']('a',{'className':_0x2f68fb(0x11a),'href':_0x251600,'target':_0x2f68fb(0x1fa),'rel':_0x2f68fb(0x13c),'children':[_0x29df55[_0x2f68fb(0xd5)]('span',{'children':'🤖'}),_0x100060['t'](_0x2f68fb(0x1d2)),_0x29df55['jsx']('span',{'className':_0x2f68fb(0x197),'children':'↗'})]})}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x19b),'children':['✨','\x20',_0x100060['t'](_0x2f68fb(0x15e))]})]})]})]}),_0x3bd09c[_0x2f68fb(0x1a4)]&&_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x29df55[_0x2f68fb(0x1e1)]('h4',{'className':_0x2f68fb(0x89),'children':[_0x29df55['jsx'](_0x2f68fb(0xf3),{'children':'🔗'}),'\x20',_0x100060['t'](_0x2f68fb(0x95))]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1c1),'children':[_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x10b),'children':[_0x29df55[_0x2f68fb(0xd5)]('p',{'className':_0x2f68fb(0xc4),'children':_0x100060['t'](_0x2f68fb(0xa8))}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x16a),'children':[_0x29df55['jsx']('div',{'className':_0x2f68fb(0xba),'children':_0x100060['t'](_0x2f68fb(0x134))}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1ef),'children':[_0x29df55[_0x2f68fb(0x1e1)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x100060['t'](_0x2f68fb(0xd7))]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x176),'children':[_0x29df55['jsx'](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x14c),'children':'2'}),_0x100060['t'](_0x2f68fb(0xaf))]}),_0x29df55['jsxs']('div',{'className':_0x2f68fb(0x176),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x14c),'children':'3'}),_0x100060['t'](_0x2f68fb(0xc9))]})]})]})]}),_0x29df55['jsxs'](_0x2f68fb(0x1f2),{'className':'univer-space-y-2','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xba),'children':'MCP\x20Configuration'}),_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xd2),'children':_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xc8),{'className':_0x2f68fb(0x1f9),'children':JSON[_0x2f68fb(0x118)]({'mcpServers':{'univer':{'url':_0x2f68fb(0x194)+(_0x455c89||_0x2f68fb(0x12e)),'type':_0x2f68fb(0x1e8),'headers':{'Authorization':_0x2f68fb(0xed)+(_0x5a61f8||'<API_KEY>')}}}},null,0x2)})})]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x10b),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xba),'children':_0x100060['t']('mcpConfig.configParameters')}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x16a),'children':[_0x29df55[_0x2f68fb(0x1e1)]('div',{'className':_0x2f68fb(0x12a),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1ec)}),_0x29df55[_0x2f68fb(0x1e1)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x1bb),'children':_0x2f68fb(0x10e)}),_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x9c),'children':_0x100060['t'](_0x2f68fb(0xc7))})]})]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1ec)}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x177),'children':[_0x29df55[_0x2f68fb(0xd5)]('div',{'className':_0x2f68fb(0x1bb),'children':'Authorization:'}),_0x29df55[_0x2f68fb(0xd5)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x100060['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x29df55[_0x2f68fb(0xd5)](_0x52e2a8['Button'],{'onClick':_0x3806c7,'disabled':!_0x1dd1ff||_0x2cd1ce,'className':_0x2f68fb(0x16f),'children':_0x2cd1ce?_0x29df55[_0x2f68fb(0x1e1)]('span',{'className':_0x2f68fb(0x176),'children':[_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0xf3),{'children':'⟲'}),_0x100060['t'](_0x2f68fb(0x100))]}):_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0xf3),{'className':_0x2f68fb(0x176),'children':[_0x29df55['jsx'](_0x26e703,{}),_0x100060['t']('mcpConfig.save')]})}),_0x29df55[_0x2f68fb(0xd5)](_0x2f68fb(0x1f2),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x181),'children':[_0x29df55['jsx'](_0x2f68fb(0xf3),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0x1cb),'children':[_0x29df55['jsx'](_0x2f68fb(0x1f2),{'className':_0x2f68fb(0xd8),'children':_0x2f68fb(0x202)}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'children':['•',_0x100060['t']('mcpConfig.note1')]}),_0x29df55[_0x2f68fb(0x1e1)](_0x2f68fb(0x1f2),{'children':['•',_0x100060['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x3daa07=_0x23d6ef(0xac),_0x33a39c={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x8a2090=Object['getOwnPropertyDescriptor'],_0x5012ef=(_0x27c644,_0x5585d0,_0xae6d2c,_0x1c7b90)=>{const _0x407b19=_0x23d6ef;for(var _0xc45ce2=_0x1c7b90>0x1?void 0x0:_0x1c7b90?_0x8a2090(_0x5585d0,_0xae6d2c):_0x5585d0,_0x367494=_0x27c644[_0x407b19(0x15a)]-0x1,_0x5eb0dc;_0x367494>=0x0;_0x367494--)(_0x5eb0dc=_0x27c644[_0x367494])&&(_0xc45ce2=_0x5eb0dc(_0xc45ce2)||_0xc45ce2);return _0xc45ce2;},_0x8f8d67=(_0x6740f8,_0x1d853d)=>(_0x470cf5,_0x30423a)=>_0x1d853d(_0x470cf5,_0x30423a,_0x6740f8);const _0x23588e=_0x23d6ef(0x18d),_0x1d9969=_0x23d6ef(0xad);_0x7b0cd9[_0x23d6ef(0x19d)]=class extends _0x565954[_0x23d6ef(0x1e0)]{constructor(_0x3594e8,_0x4d366c,_0x4291ea,_0x228102,_0x348b7a,_0x43f472,_0xde5c53,_0x344b6d,_0x59d2dc,_0x4d3d93){const _0x350dda=_0x23d6ef;super(),_0x15162a(this,_0x350dda(0x169),new _0x8392e9[(_0x350dda(0x1a2))](!0x1)),_0x15162a(this,_0x350dda(0x1b9),new _0x8392e9['BehaviorSubject']({})),_0x15162a(this,_0x350dda(0x170),new _0x8392e9['BehaviorSubject']({})),_0x15162a(this,_0x350dda(0xde),new _0x8392e9[(_0x350dda(0x1a2))]('')),_0x15162a(this,_0x350dda(0xbf),async _0x1365e7=>{const _0xf145ed=_0x350dda;var _0x42e561,_0x1d1d14;this[_0xf145ed(0x169)][_0xf145ed(0x1e2)](!0x0);try{const _0xefc99c=await this['_validateConfig'](_0x1365e7);if(!_0xefc99c[_0xf145ed(0x203)]){this[_0xf145ed(0x165)]['show']({'type':_0x52e2a8[_0xf145ed(0x155)][_0xf145ed(0x191)],'content':_0xefc99c[_0xf145ed(0x182)]||this[_0xf145ed(0x180)]['t'](_0xf145ed(0x154))});return;}_0x1365e7['apiKey']?await this[_0xf145ed(0x140)][_0xf145ed(0x9a)](_0x23588e,_0x1365e7[_0xf145ed(0x131)][_0xf145ed(0x17a)]()):await this[_0xf145ed(0x140)]['removeItem'](_0x23588e),this['_apiKey$'][_0xf145ed(0x1e2)](((_0x42e561=_0x1365e7[_0xf145ed(0x131)])==null?void 0x0:_0x42e561[_0xf145ed(0x17a)]())||''),this['_mcpConnectionController'][_0xf145ed(0xce)]({'Authorization':_0xf145ed(0xed)+((_0x1d1d14=_0x1365e7[_0xf145ed(0x131)])==null?void 0x0:_0x1d1d14[_0xf145ed(0x17a)]())}),this[_0xf145ed(0x165)][_0xf145ed(0x1ba)]({'type':_0x52e2a8['MessageType']['Success'],'content':this[_0xf145ed(0x180)]['t'](_0xf145ed(0x150))}),setTimeout(()=>{const _0x2b4e89=_0xf145ed;this['_dialogService'][_0x2b4e89(0x86)](_0x1d9969);},0x320);}catch(_0xc84c3){this[_0xf145ed(0x15c)][_0xf145ed(0x146)](_0xf145ed(0x102),_0xc84c3),this[_0xf145ed(0x165)][_0xf145ed(0x1ba)]({'type':_0x52e2a8['MessageType'][_0xf145ed(0x191)],'content':this[_0xf145ed(0x180)]['t']('mcpConfig.configError')});}finally{this[_0xf145ed(0x169)][_0xf145ed(0x1e2)](!0x1);}}),(this[_0x350dda(0x114)]=_0x3594e8,this[_0x350dda(0xf7)]=_0x4d366c,this[_0x350dda(0x11e)]=_0x4291ea,this[_0x350dda(0x140)]=_0x228102,this[_0x350dda(0x15d)]=_0x348b7a,this['_messageService']=_0x43f472,this[_0x350dda(0x196)]=_0xde5c53,this[_0x350dda(0x180)]=_0x344b6d,this[_0x350dda(0x15c)]=_0x59d2dc,this[_0x350dda(0x120)]=_0x4d3d93,this[_0x350dda(0xdf)](),this[_0x350dda(0x174)](),this[_0x350dda(0xee)]());}[_0x23d6ef(0x161)](){const _0x30266b=_0x23d6ef,_0x22bbcb=this[_0x30266b(0x11e)][_0x30266b(0x1aa)](_0x3daa07);_0x22bbcb!=null&&_0x22bbcb[_0x30266b(0x1a4)]&&this['_dialogService']['open']({'id':_0x1d9969,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3fdb8f=_0x30266b;this[_0x3fdb8f(0x15d)]['close'](_0x1d9969);}});}[_0x23d6ef(0x160)](){const _0x4a852d=_0x23d6ef;return this['_mcpCoreConfig$'][_0x4a852d(0xeb)];}[_0x23d6ef(0xee)](){const _0x1d9027=_0x23d6ef;this[_0x1d9027(0xea)](this[_0x1d9027(0x196)][_0x1d9027(0x17b)]('MCPConfigPanel',this[_0x1d9027(0x1c5)]()));}[_0x23d6ef(0x1c5)](){const _0x204611=_0x23d6ef;return _0x388181['connectInjector'](()=>{const _0x275b2e=_0x59d4;var _0xf352a,_0x1e5182,_0x28604c;return _0x29df55[_0x275b2e(0xd5)](_0x4f0a4d,{'config':this[_0x275b2e(0x170)]['value'],'mcpCoreConfig':this[_0x275b2e(0x1b9)][_0x275b2e(0xeb)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x275b2e(0xbf)],'loading':this[_0x275b2e(0x169)]['value'],'connectionStatus$':(_0xf352a=this[_0x275b2e(0x120)])==null?void 0x0:_0xf352a[_0x275b2e(0x1ee)],'connectionError$':(_0x1e5182=this[_0x275b2e(0x120)])==null?void 0x0:_0x1e5182['connectionError$'],'currentSessionId$':(_0x28604c=this[_0x275b2e(0x120)])==null?void 0x0:_0x28604c[_0x275b2e(0x13d)]});},this[_0x204611(0x114)]);}[_0x23d6ef(0xdf)](){const _0x16e93e=_0x23d6ef;this[_0x16e93e(0xea)](this[_0x16e93e(0x11e)][_0x16e93e(0xe7)](_0x11d7ce[_0x16e93e(0x1bf)])[_0x16e93e(0xfd)](_0x5cd1f6=>{const _0x4307b9=_0x16e93e;this[_0x4307b9(0x1b9)]['next'](_0x5cd1f6||{});}));const _0x40f841=this['_configService'][_0x16e93e(0x1aa)](_0x11d7ce[_0x16e93e(0x1bf)]);this[_0x16e93e(0x1b9)][_0x16e93e(0x1e2)](_0x40f841||{}),this[_0x16e93e(0xea)](this['_configService'][_0x16e93e(0xe7)](_0x3daa07)[_0x16e93e(0xfd)](_0x122d49=>{const _0x5ebc62=_0x16e93e;this[_0x5ebc62(0x170)][_0x5ebc62(0x1e2)](_0x122d49||{});}));const _0x50362b=this[_0x16e93e(0x11e)]['getConfig'](_0x3daa07);this[_0x16e93e(0x170)]['next'](_0x50362b||{});}async[_0x23d6ef(0x174)](){const _0x8b4d41=_0x23d6ef,_0x5de422=this[_0x8b4d41(0x11e)]['getConfig'](_0x3daa07);if(!(_0x5de422!=null&&_0x5de422[_0x8b4d41(0x1a4)]))return;const _0x1f2133=await this[_0x8b4d41(0x140)][_0x8b4d41(0x1a7)](_0x23588e);_0x1f2133&&(this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x8b4d41(0xed)+_0x1f2133}),this['_apiKey$']['next'](_0x1f2133));}async['_validateConfig'](_0x217b23){const _0x2fcda0=_0x23d6ef;if(!_0x217b23[_0x2fcda0(0x131)]||_0x217b23[_0x2fcda0(0x131)][_0x2fcda0(0x17a)]()[_0x2fcda0(0x15a)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x2fcda0(0x180)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x217b23[_0x2fcda0(0x131)][_0x2fcda0(0x17a)]()[_0x2fcda0(0x15a)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x2fcda0(0x180)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x56fc3b=await this['_injector'][_0x2fcda0(0x205)](_0x11d7ce[_0x2fcda0(0xd3)])['validateApiKey'](_0x217b23[_0x2fcda0(0x131)][_0x2fcda0(0x17a)]());return _0x56fc3b[_0x2fcda0(0x203)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x56fc3b[_0x2fcda0(0x146)]||this['_localeService']['t'](_0x2fcda0(0x18e))};}catch(_0x4ca58b){return console[_0x2fcda0(0x7e)](_0x2fcda0(0xcc),_0x4ca58b),{'isValid':!0x0};}}},_0x7b0cd9['MCPConfigUIController']=_0x5012ef([_0x8f8d67(0x0,_0x565954['Inject'](_0x565954[_0x23d6ef(0x204)])),_0x8f8d67(0x1,_0x388181[_0x23d6ef(0x206)]),_0x8f8d67(0x2,_0x565954[_0x23d6ef(0x185)]),_0x8f8d67(0x3,_0x565954[_0x23d6ef(0xb1)]),_0x8f8d67(0x4,_0x388181[_0x23d6ef(0x142)]),_0x8f8d67(0x5,_0x388181[_0x23d6ef(0x1c2)]),_0x8f8d67(0x6,_0x565954[_0x23d6ef(0x78)](_0x388181['ComponentManager'])),_0x8f8d67(0x7,_0x565954[_0x23d6ef(0x78)](_0x565954[_0x23d6ef(0x1d8)])),_0x8f8d67(0x8,_0x565954['ILogService']),_0x8f8d67(0x9,_0x565954[_0x23d6ef(0x78)](_0x11d7ce[_0x23d6ef(0xd3)]))],_0x7b0cd9['MCPConfigUIController']);const _0xf415e5={'id':_0x23d6ef(0x9f),'type':_0x565954['CommandType']['COMMAND'],'handler':async(_0x204ad6,_0x214b9f)=>(_0x204ad6[_0x23d6ef(0x205)](_0x7b0cd9['MCPConfigUIController'])['showConfigPanel'](),!0x0)};function _0x6aaea0(_0x413445,_0x1aeb8f){const _0x5bcc6e=_0x23d6ef;switch(_0x413445){case _0x11d7ce[_0x5bcc6e(0x16e)][_0x5bcc6e(0x116)]:return'mcpStatus.disconnected';case _0x11d7ce['MCPConnectionStatus'][_0x5bcc6e(0x1f4)]:return'mcpStatus.connecting';case _0x11d7ce[_0x5bcc6e(0x16e)][_0x5bcc6e(0x12b)]:return _0x5bcc6e(0x1b4);case _0x11d7ce[_0x5bcc6e(0x16e)][_0x5bcc6e(0xfa)]:switch(_0x1aeb8f){case _0x11d7ce[_0x5bcc6e(0x133)][_0x5bcc6e(0x1dd)]:return _0x5bcc6e(0xf5);case _0x11d7ce[_0x5bcc6e(0x133)][_0x5bcc6e(0x1c3)]:return'mcpStatus.sessionOccupied';case _0x11d7ce[_0x5bcc6e(0x133)]['NETWORK_ERROR']:return _0x5bcc6e(0x104);case _0x11d7ce['MCPConnectionError'][_0x5bcc6e(0x1b0)]:return _0x5bcc6e(0x17c);default:return _0x5bcc6e(0x156);}case _0x11d7ce[_0x5bcc6e(0x16e)][_0x5bcc6e(0x19a)]:return'mcpStatus.retrying';default:return _0x5bcc6e(0x1ae);}}function _0x58f062(_0x5938ac,_0x1d9311,_0x46048e,_0x24f78f=!0x0){const _0x4ca1e7=_0x23d6ef,_0x44f2fb=_0x6aaea0(_0x5938ac,_0x1d9311),_0x308712=_0x46048e['t'](_0x44f2fb);return _0x24f78f?_0x5938ac===_0x11d7ce[_0x4ca1e7(0x16e)]['DISCONNECTED']&&_0x1d9311===_0x11d7ce[_0x4ca1e7(0x133)][_0x4ca1e7(0x1dd)]?_0x308712+_0x4ca1e7(0xbe)+_0x46048e['t'](_0x4ca1e7(0xb7)):_0x5938ac===_0x11d7ce['MCPConnectionStatus'][_0x4ca1e7(0x12b)]?''+_0x308712:_0x5938ac===_0x11d7ce[_0x4ca1e7(0x16e)]['DISCONNECTED']||_0x5938ac===_0x11d7ce[_0x4ca1e7(0x16e)][_0x4ca1e7(0xfa)]?_0x308712+'\x20-\x20'+_0x46048e['t'](_0x4ca1e7(0x1b1)):_0x308712:_0x308712;}function _0x38fd50(_0x46530d){const _0x3d49db=_0x23d6ef;switch(_0x46530d){case _0x11d7ce['MCPConnectionStatus'][_0x3d49db(0x12b)]:return _0x3d49db(0x1e7);case _0x11d7ce[_0x3d49db(0x16e)][_0x3d49db(0x1f4)]:case _0x11d7ce[_0x3d49db(0x16e)][_0x3d49db(0x19a)]:return _0x3d49db(0xa4);case _0x11d7ce[_0x3d49db(0x16e)]['FAILED']:case _0x11d7ce[_0x3d49db(0x16e)][_0x3d49db(0x116)]:return _0x3d49db(0x1a3);default:return _0x3d49db(0x192);}}function _0x341c6d(_0x311766){const _0x484888=_0x23d6ef,{status$:_0x548fbe,error$:_0x43e3c2,onConfigure:_0x9ae96f,showClickable:_0x390baf=!0x0}=_0x311766,_0x3fe765=_0x388181[_0x484888(0x1ab)](_0x548fbe,_0x11d7ce['MCPConnectionStatus'][_0x484888(0x116)]),_0x27bf6b=_0x388181['useObservable'](_0x43e3c2,_0x11d7ce[_0x484888(0x133)]['NONE']),_0xcf0d48=_0x388181[_0x484888(0x1cc)](_0x565954[_0x484888(0x1d8)]),_0x3e5bd2=_0x3fe765===_0x11d7ce[_0x484888(0x16e)][_0x484888(0x12b)];_0x3fe765===_0x11d7ce[_0x484888(0x16e)][_0x484888(0x1f4)]||_0x11d7ce['MCPConnectionStatus'][_0x484888(0x19a)];const _0x36eec2=_0xcf0d48['t'](_0x6aaea0(_0x3fe765,_0x27bf6b)),_0x898f00=_0x58f062(_0x3fe765,_0x27bf6b,_0xcf0d48,_0x390baf),_0x50c6e5=_0x38fd50(_0x3fe765),_0x594e3a=_0x3e5bd2?_0x29df55[_0x484888(0xd5)](_0x32386a,{}):_0x29df55[_0x484888(0xd5)](_0x40992d,{}),_0x516264=_0x1646d9[_0x484888(0x163)](()=>{_0x390baf&&_0x9ae96f&&_0x9ae96f();},[_0x390baf,_0x9ae96f]);function _0x8e8738(){const _0x47d1ce=_0x484888;return _0x29df55[_0x47d1ce(0x1e1)](_0x47d1ce(0x1f2),{'className':_0x52e2a8[_0x47d1ce(0xdd)]('univer-flex\x20univer-items-center',_0x390baf&&_0x9ae96f&&_0x47d1ce(0x184)),'role':'button','onClick':_0x390baf&&_0x9ae96f?_0x516264:void 0x0,'children':[_0x29df55[_0x47d1ce(0xd5)](_0x47d1ce(0x1f2),{'className':_0x52e2a8[_0x47d1ce(0xdd)](_0x47d1ce(0x1ca),_0x50c6e5),'children':_0x594e3a}),_0x29df55['jsx'](_0x47d1ce(0x1f2),{'className':_0x47d1ce(0x88),'children':_0x36eec2})]});}return _0x29df55[_0x484888(0xd5)](_0x52e2a8[_0x484888(0x18c)],{'title':_0x898f00,'placement':'bottom','children':_0x8e8738()});}var _0x4abf0e=Object[_0x23d6ef(0x152)],_0x5a1dd7=(_0x274c23,_0x4b96d5,_0x90f237,_0x57d9cc)=>{for(var _0x2920d6=_0x57d9cc>0x1?void 0x0:_0x57d9cc?_0x4abf0e(_0x4b96d5,_0x90f237):_0x4b96d5,_0x2509c7=_0x274c23['length']-0x1,_0xd43d25;_0x2509c7>=0x0;_0x2509c7--)(_0xd43d25=_0x274c23[_0x2509c7])&&(_0x2920d6=_0xd43d25(_0x2920d6)||_0x2920d6);return _0x2920d6;},_0x18429b=(_0x5e3a0e,_0xd96e6b)=>(_0x949963,_0x6542d0)=>_0xd96e6b(_0x949963,_0x6542d0,_0x5e3a0e);_0x7b0cd9[_0x23d6ef(0x127)]=class extends _0x565954['Disposable']{constructor(_0x4205b1,_0x16729d,_0x114740,_0x1bfa77){const _0x49d947=_0x23d6ef;super(),this[_0x49d947(0x114)]=_0x4205b1,this[_0x49d947(0x1e5)]=_0x16729d,this[_0x49d947(0xf7)]=_0x114740,this[_0x49d947(0x11e)]=_0x1bfa77,this[_0x49d947(0xaa)](),this['_initStatusComponent']();}[_0x23d6ef(0xaa)](){const _0x27ec67=_0x23d6ef,_0x50a971=this[_0x27ec67(0x11e)]['getConfig'](_0x3daa07);_0x50a971!=null&&_0x50a971[_0x27ec67(0x1a4)]&&(this[_0x27ec67(0x1e5)][_0x27ec67(0x186)]=!0x1);}[_0x23d6ef(0x8f)](){const _0x410c07=_0x23d6ef,_0x6ca4de=this[_0x410c07(0x11e)][_0x410c07(0x1aa)](_0x3daa07);(_0x6ca4de==null?void 0x0:_0x6ca4de[_0x410c07(0x14f)])!==!0x1&&this[_0x410c07(0xea)](this['_uiPartsService'][_0x410c07(0xef)](_0x388181[_0x410c07(0xb4)][_0x410c07(0x1e4)],()=>{const _0x705e16=_0x410c07;var _0x5316b2;return _0x388181['connectInjector'](_0x554a63({'status$':this[_0x705e16(0x1e5)][_0x705e16(0x1ee)],'error$':this[_0x705e16(0x1e5)][_0x705e16(0x7a)],'onConfigure':()=>this[_0x705e16(0x153)](),'showClickable':(_0x5316b2=_0x6ca4de==null?void 0x0:_0x6ca4de[_0x705e16(0x1a4)])!=null?_0x5316b2:!0x1}),this['_injector']);}));}[_0x23d6ef(0x153)](){const _0x2caf2d=_0x23d6ef;this['_injector']['get'](_0x7b0cd9[_0x2caf2d(0x19d)])[_0x2caf2d(0x161)]();}},_0x7b0cd9[_0x23d6ef(0x127)]=_0x5a1dd7([_0x18429b(0x0,_0x565954[_0x23d6ef(0x78)](_0x565954[_0x23d6ef(0x204)])),_0x18429b(0x1,_0x565954[_0x23d6ef(0x78)](_0x11d7ce[_0x23d6ef(0xd3)])),_0x18429b(0x2,_0x388181[_0x23d6ef(0x206)]),_0x18429b(0x3,_0x565954['IConfigService'])],_0x7b0cd9['MCPConnectionUIController']);function _0x554a63(_0x14f8bf){const {status$:_0x5c4442,error$:_0x1b0725,onConfigure:_0x3eeefd,showClickable:_0xc84e76}=_0x14f8bf;return function(){const _0x23079d=_0x59d4;return _0x29df55[_0x23079d(0xd5)](_0x341c6d,{'status$':_0x5c4442,'error$':_0x1b0725,'onConfigure':_0x3eeefd,'showClickable':_0xc84e76});};}function _0x9d143c(_0x40b284){const _0x11b22a=_0x23d6ef;return{'id':_0xf415e5['id'],'type':_0x388181['MenuItemType']['BUTTON'],'icon':_0x11b22a(0xc1),'title':'mcpConfig.title','tooltip':_0x11b22a(0xab)};}const _0x425f28={[_0x388181[_0x23d6ef(0xc6)][_0x23d6ef(0x13b)]]:{[_0xf415e5['id']]:{'order':0xa,'menuItemFactory':_0x9d143c}}};var _0x1ebbbd=Object[_0x23d6ef(0x152)],_0x3e4d34=(_0x220cb1,_0x4e55f1,_0x25ba30,_0x3ba2fc)=>{for(var _0x21de38=_0x3ba2fc>0x1?void 0x0:_0x3ba2fc?_0x1ebbbd(_0x4e55f1,_0x25ba30):_0x4e55f1,_0x35fb0c=_0x220cb1['length']-0x1,_0x3878c9;_0x35fb0c>=0x0;_0x35fb0c--)(_0x3878c9=_0x220cb1[_0x35fb0c])&&(_0x21de38=_0x3878c9(_0x21de38)||_0x21de38);return _0x21de38;},_0x26ac0b=(_0x72aa56,_0x9f673c)=>(_0x58ffcd,_0x428912)=>_0x9f673c(_0x58ffcd,_0x428912,_0x72aa56);_0x7b0cd9['MCPUIMenuController']=class extends _0x565954[_0x23d6ef(0x1e0)]{constructor(_0x18d512,_0x27f477){const _0x2111ea=_0x23d6ef;super(),this[_0x2111ea(0x79)]=_0x18d512,this['_menuManagerService']=_0x27f477,this[_0x2111ea(0x1fb)](),this[_0x2111ea(0x1fd)]();}['_initializeCommands'](){const _0x146095=_0x23d6ef;[_0xf415e5][_0x146095(0x85)](_0x2ca557=>{const _0x5ee19d=_0x146095;this['disposeWithMe'](this['_commandService'][_0x5ee19d(0x8b)](_0x2ca557));});}[_0x23d6ef(0x1fd)](){const _0x2ca47b=_0x23d6ef;this[_0x2ca47b(0x19e)][_0x2ca47b(0xfb)](_0x425f28);}},_0x7b0cd9[_0x23d6ef(0x108)]=_0x3e4d34([_0x26ac0b(0x0,_0x565954[_0x23d6ef(0xdb)]),_0x26ac0b(0x1,_0x388181[_0x23d6ef(0x12c)])],_0x7b0cd9[_0x23d6ef(0x108)]);const _0x542875={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x23d6ef(0xa6),'failed':_0x23d6ef(0x1e6),'retrying':_0x23d6ef(0x90),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x23d6ef(0x15f),'networkError':_0x23d6ef(0x107),'maxRetriesExceeded':_0x23d6ef(0x162),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x23d6ef(0x1d3),'description':_0x23d6ef(0x172),'apiKey':_0x23d6ef(0x123),'apiKeyPlaceholder':_0x23d6ef(0x117),'apiKeyHint':_0x23d6ef(0xae),'enableAuth':_0x23d6ef(0x1a8),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x23d6ef(0x1d4),'mcpClientConfig':_0x23d6ef(0x1d4),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x23d6ef(0x12f),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x23d6ef(0x91),'configStep3':_0x23d6ef(0x96),'sessionId':_0x23d6ef(0x112),'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':_0x23d6ef(0x1c4),'maxRetries':_0x23d6ef(0x178),'save':_0x23d6ef(0xc0),'saving':_0x23d6ef(0xf8),'note1':_0x23d6ef(0xcd),'note2':_0x23d6ef(0x157),'configSaved':_0x23d6ef(0x1da),'configError':_0x23d6ef(0x80),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x23d6ef(0x12d),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x23d6ef(0x8c),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x23d6ef(0x158)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x23d6ef(0x18b),'connected':_0x23d6ef(0x14b),'failed':_0x23d6ef(0xf4),'retrying':_0x23d6ef(0x1df)},'connectionError':{'unauthorized':_0x23d6ef(0xf6),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x23d6ef(0x19c),'maxRetriesExceeded':_0x23d6ef(0x1b2)}}},_0xb32030={'mcpStatus':{'disconnected':_0x23d6ef(0xe0),'connecting':_0x23d6ef(0xc5),'connected':_0x23d6ef(0xd4),'failed':'MCP\x20连接失败','retrying':_0x23d6ef(0x1d1),'unknown':_0x23d6ef(0x1c7),'unauthorized':_0x23d6ef(0x13f),'sessionOccupied':_0x23d6ef(0x1ea),'networkError':_0x23d6ef(0x7d),'maxRetriesExceeded':_0x23d6ef(0x7f),'clickToConnect':_0x23d6ef(0x1b6),'clickToConfigure':_0x23d6ef(0x17f)},'mcpConfig':{'title':'MCP\x20配置','description':_0x23d6ef(0x1bc),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x23d6ef(0x1c0),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x23d6ef(0xd6),'mcpClientConfig':_0x23d6ef(0xd6),'configInstructions':_0x23d6ef(0x9d),'configStepTitle':'配置步骤:','configStep1':_0x23d6ef(0x1f1),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x23d6ef(0x98),'sessionId':_0x23d6ef(0x128),'sessionIdDescription':_0x23d6ef(0x167),'authorizationDescription':_0x23d6ef(0x16d),'configParameters':_0x23d6ef(0x149),'maxRetries':_0x23d6ef(0x82),'save':_0x23d6ef(0x10c),'saving':_0x23d6ef(0x122),'note1':_0x23d6ef(0x1fe),'note2':_0x23d6ef(0x130),'configSaved':_0x23d6ef(0xb8),'configError':_0x23d6ef(0xb3),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x23d6ef(0x1a1),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x23d6ef(0x1f0)},'validation':{'apiKeyRequired':_0x23d6ef(0x1cf),'apiKeyTooShort':_0x23d6ef(0x173),'invalidConfig':'配置无效','invalidApiKey':_0x23d6ef(0x1f5)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x23d6ef(0x1f7),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x23d6ef(0xd0),'sessionOccupied':_0x23d6ef(0x199),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x1e47cd=Object[_0x23d6ef(0x1d7)],_0x56beb1=Object[_0x23d6ef(0x152)],_0x313903=(_0x3c4cbe,_0x55e5f0,_0x1fff1b)=>_0x55e5f0 in _0x3c4cbe?_0x1e47cd(_0x3c4cbe,_0x55e5f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fff1b}):_0x3c4cbe[_0x55e5f0]=_0x1fff1b,_0x1f9447=(_0x2eda6e,_0x17dd2e,_0x4469aa,_0x17d5b3)=>{const _0xf42c8b=_0x23d6ef;for(var _0x11e118=_0x17d5b3>0x1?void 0x0:_0x17d5b3?_0x56beb1(_0x17dd2e,_0x4469aa):_0x17dd2e,_0x457c34=_0x2eda6e[_0xf42c8b(0x15a)]-0x1,_0x479fda;_0x457c34>=0x0;_0x457c34--)(_0x479fda=_0x2eda6e[_0x457c34])&&(_0x11e118=_0x479fda(_0x11e118)||_0x11e118);return _0x11e118;},_0x48226c=(_0x148666,_0x13a848)=>(_0x3b0d6f,_0x452261)=>_0x13a848(_0x3b0d6f,_0x452261,_0x148666),_0xec0e5d=(_0x3e53b9,_0x507a45,_0x4ecca4)=>_0x313903(_0x3e53b9,_0x507a45+'',_0x4ecca4);_0x7b0cd9[_0x23d6ef(0xbb)]=class extends _0x565954[_0x23d6ef(0x1dc)]{constructor(_0x59fa98=_0x33a39c,_0x3b5eff,_0x4ee90e,_0xca73f8,_0xd01536,_0x13bec8){const _0x919a32=_0x23d6ef;super(),this[_0x919a32(0xb0)]=_0x59fa98,this[_0x919a32(0x114)]=_0x3b5eff,this[_0x919a32(0x11e)]=_0x4ee90e,this['_uiPartsService']=_0xca73f8,this[_0x919a32(0x140)]=_0xd01536,this[_0x919a32(0x180)]=_0x13bec8;const {..._0x221d2f}=_0x565954[_0x919a32(0xe8)]({},_0x33a39c,this[_0x919a32(0xb0)]);this[_0x919a32(0x11e)][_0x919a32(0x139)](_0x3daa07,_0x221d2f);}async[_0x23d6ef(0xcf)](){const _0x21ba4b=_0x23d6ef,_0x546f4d=[[_0x7b0cd9['MCPConnectionUIController']],[_0x7b0cd9[_0x21ba4b(0x19d)]],[_0x7b0cd9[_0x21ba4b(0x108)]]];this[_0x21ba4b(0x114)][_0x21ba4b(0x99)](_0x33bfb2[_0x21ba4b(0xbc)])||_0x546f4d[_0x21ba4b(0xb2)]([_0x33bfb2['ISocketService'],{'useClass':_0x33bfb2[_0x21ba4b(0x1f3)]}]),_0x546f4d['forEach'](_0x329c17=>this[_0x21ba4b(0x114)][_0x21ba4b(0x132)](_0x329c17)),this[_0x21ba4b(0x114)][_0x21ba4b(0x205)](_0x7b0cd9['MCPConnectionUIController']),this[_0x21ba4b(0x114)][_0x21ba4b(0x205)](_0x7b0cd9[_0x21ba4b(0x19d)]),this['_injector'][_0x21ba4b(0x205)](_0x7b0cd9[_0x21ba4b(0x108)]);}},_0xec0e5d(_0x7b0cd9[_0x23d6ef(0xbb)],_0x23d6ef(0x1a9),_0x23d6ef(0x105)),_0x7b0cd9[_0x23d6ef(0xbb)]=_0x1f9447([_0x565954['DependentOn'](_0x11d7ce[_0x23d6ef(0x144)]),_0x48226c(0x1,_0x565954[_0x23d6ef(0x78)](_0x565954[_0x23d6ef(0x204)])),_0x48226c(0x2,_0x565954[_0x23d6ef(0x185)]),_0x48226c(0x3,_0x388181[_0x23d6ef(0x206)]),_0x48226c(0x4,_0x565954['ILocalStorageService']),_0x48226c(0x5,_0x565954[_0x23d6ef(0x78)](_0x565954[_0x23d6ef(0x1d8)]))],_0x7b0cd9['UniverMCPUIPlugin']),_0x7b0cd9[_0x23d6ef(0x7c)]=_0x4f0a4d,_0x7b0cd9['MCPStatusDisplay']=_0x341c6d,_0x7b0cd9[_0x23d6ef(0xb5)]=_0xf415e5,_0x7b0cd9['enUS']=_0x542875,_0x7b0cd9[_0x23d6ef(0x137)]=_0xb32030,Object[_0x23d6ef(0x1d7)](_0x7b0cd9,Symbol[_0x23d6ef(0x113)],{'value':_0x23d6ef(0x1d9)});}));
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x310810,_0x5929e4){var _0x47f2c1=_0x468d,_0x11246f=_0x310810();while(!![]){try{var _0x13369e=parseInt(_0x47f2c1(0x106))/0x1*(-parseInt(_0x47f2c1(0xde))/0x2)+-parseInt(_0x47f2c1(0xf2))/0x3+parseInt(_0x47f2c1(0x109))/0x4+parseInt(_0x47f2c1(0xd7))/0x5*(-parseInt(_0x47f2c1(0xf0))/0x6)+parseInt(_0x47f2c1(0xeb))/0x7+parseInt(_0x47f2c1(0xfe))/0x8*(-parseInt(_0x47f2c1(0xf9))/0x9)+parseInt(_0x47f2c1(0xe5))/0xa*(parseInt(_0x47f2c1(0xed))/0xb);if(_0x13369e===_0x5929e4)break;else _0x11246f['push'](_0x11246f['shift']());}catch(_0x133ef9){_0x11246f['push'](_0x11246f['shift']());}}}(_0x3182,0x6a465),function(_0x3d9b36,_0x2893a3){var _0x5d4980=_0x468d;typeof exports=='object'&&typeof module<'u'?module[_0x5d4980(0xd9)]=_0x2893a3():typeof define=='function'&&define[_0x5d4980(0xfd)]?define(_0x2893a3):(_0x3d9b36=typeof globalThis<'u'?globalThis:_0x3d9b36||self,_0x3d9b36[_0x5d4980(0x10c)]=_0x2893a3());}(this,function(){'use strict';var _0x26b2e7=_0x468d;return{'mcpStatus':{'disconnected':_0x26b2e7(0xe6),'connecting':_0x26b2e7(0xe3),'connected':'MCP\x20Connected','failed':_0x26b2e7(0xf7),'retrying':_0x26b2e7(0x101),'unknown':_0x26b2e7(0xe2),'unauthorized':_0x26b2e7(0xe8),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x26b2e7(0xdc),'maxRetriesExceeded':_0x26b2e7(0xf8),'clickToConnect':_0x26b2e7(0xe1),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x26b2e7(0xfb),'description':_0x26b2e7(0x100),'apiKey':_0x26b2e7(0xec),'apiKeyPlaceholder':_0x26b2e7(0xe9),'apiKeyHint':_0x26b2e7(0xd8),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x26b2e7(0x105),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x26b2e7(0xff),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x26b2e7(0xfa),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x26b2e7(0x104),'sessionIdDescription':_0x26b2e7(0xdb),'authorizationDescription':_0x26b2e7(0xf3),'configParameters':_0x26b2e7(0xfc),'maxRetries':_0x26b2e7(0xee),'save':_0x26b2e7(0x107),'saving':'Saving...','note1':_0x26b2e7(0xdd),'note2':_0x26b2e7(0x108),'configSaved':_0x26b2e7(0xe0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x26b2e7(0x102),'description':_0x26b2e7(0xda),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x26b2e7(0xf5)},'validation':{'apiKeyRequired':_0x26b2e7(0xdf),'apiKeyTooShort':_0x26b2e7(0x103),'invalidConfig':_0x26b2e7(0xef),'invalidApiKey':_0x26b2e7(0xe7)},'connectionStatus':{'disconnected':_0x26b2e7(0xf4),'connecting':_0x26b2e7(0x10a),'connected':_0x26b2e7(0x10b),'failed':_0x26b2e7(0xf6),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x26b2e7(0xf1),'networkError':_0x26b2e7(0xea),'maxRetriesExceeded':_0x26b2e7(0xe4)}}};}));function _0x468d(_0xd92313,_0x44e9ee){_0xd92313=_0xd92313-0xd7;var _0x31823a=_0x3182();var _0x468dc0=_0x31823a[_0xd92313];return _0x468dc0;}function _0x3182(){var _0x5d598e=['1177cEHada','Max\x20Retries','Invalid\x20configuration','1517826aFGxeD','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1159674fkaYIH','API\x20key\x20with\x20Bearer\x20prefix.','Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','MCP\x20Connection\x20Failed','MCP:\x20Max\x20Retries\x20Exceeded','3056499GTjqPs','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Configuration','Configuration\x20Parameters:','amd','8MoRvBF','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Retrying...','What\x20is\x20API\x20Key?','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session\x20ID','MCP\x20Client\x20Configuration','110lfHzeb','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','694576aOtHWw','Connecting...','Connected','UniverProMcpUiCaES','5QwuOdl','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','exports','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Network\x20Error','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1894jYXrug','API\x20key\x20is\x20required','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','MCP\x20Unknown\x20Status','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','89590SurVAw','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Unauthorized','Enter\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2704478NZOOmL','API\x20Key'];_0x3182=function(){return _0x5d598e;};return _0x3182();}
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2e11(_0x5bbab4,_0x3f7138){_0x5bbab4=_0x5bbab4-0x173;var _0x327b37=_0x327b();var _0x2e115e=_0x327b37[_0x5bbab4];return _0x2e115e;}function _0x327b(){var _0x1495ed=['96537UQkGEo','Enable\x20Authentication','Configuration\x20Parameters:','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Disconnected','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.','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20saved\x20successfully','MCP\x20Configuration','Invalid\x20configuration','function','Session\x20ID','5565951vgXgdc','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','3976610usmjul','Get\x20your\x20API\x20key\x20in\x20seconds','Connected','MCP\x20Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','Connection\x20Failed','What\x20is\x20API\x20Key?','API\x20key\x20is\x20required','object','Univer\x20AI\x20Console','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1895814tgSwoh','Retrying...','1002871VBIPuM','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Failed\x20to\x20save\x20configuration','Enter\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','60xKrOOg','Saving...','1644951PIKxyP','UniverProMcpUiEnUS','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3006DvxRFr','MCP\x20Connected','24FAYhAV','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x327b=function(){return _0x1495ed;};return _0x327b();}(function(_0x5cad2a,_0x6bcb39){var _0x3a61f3=_0x2e11,_0x29151d=_0x5cad2a();while(!![]){try{var _0x186b8f=-parseInt(_0x3a61f3(0x18b))/0x1+parseInt(_0x3a61f3(0x198))/0x2+-parseInt(_0x3a61f3(0x19f))/0x3*(-parseInt(_0x3a61f3(0x192))/0x4)+parseInt(_0x3a61f3(0x17d))/0x5+parseInt(_0x3a61f3(0x189))/0x6+parseInt(_0x3a61f3(0x194))/0x7*(-parseInt(_0x3a61f3(0x19a))/0x8)+parseInt(_0x3a61f3(0x17b))/0x9;if(_0x186b8f===_0x6bcb39)break;else _0x29151d['push'](_0x29151d['shift']());}catch(_0xb52166){_0x29151d['push'](_0x29151d['shift']());}}}(_0x327b,0x7b8d4),function(_0x3dce41,_0xa8f6f2){var _0x58d97=_0x2e11;typeof exports==_0x58d97(0x186)&&typeof module<'u'?module['exports']=_0xa8f6f2():typeof define==_0x58d97(0x179)&&define['amd']?define(_0xa8f6f2):(_0x3dce41=typeof globalThis<'u'?globalThis:_0x3dce41||self,_0x3dce41[_0x58d97(0x195)]=_0xa8f6f2());}(this,function(){'use strict';var _0x1f2b70=_0x2e11;return{'mcpStatus':{'disconnected':_0x1f2b70(0x1a3),'connecting':'MCP\x20Connecting...','connected':_0x1f2b70(0x199),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1f2b70(0x180),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x1f2b70(0x173),'sessionOccupied':_0x1f2b70(0x1a2),'networkError':_0x1f2b70(0x19d),'maxRetriesExceeded':_0x1f2b70(0x19c),'clickToConnect':_0x1f2b70(0x182),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1f2b70(0x177),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x1f2b70(0x190),'apiKeyHint':_0x1f2b70(0x188),'enableAuth':_0x1f2b70(0x1a0),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1f2b70(0x196),'mcpClientConfig':_0x1f2b70(0x196),'configInstructions':_0x1f2b70(0x19b),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x1f2b70(0x181),'configStep2':_0x1f2b70(0x18d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x1f2b70(0x17a),'sessionIdDescription':_0x1f2b70(0x17c),'authorizationDescription':_0x1f2b70(0x175),'configParameters':_0x1f2b70(0x1a1),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x1f2b70(0x193),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1f2b70(0x197),'configSaved':_0x1f2b70(0x176),'configError':_0x1f2b70(0x18f),'apiApplyInfo':{'title':_0x1f2b70(0x184),'description':_0x1f2b70(0x174),'univerAiLabel':_0x1f2b70(0x187),'getStarted':_0x1f2b70(0x17e)},'validation':{'apiKeyRequired':_0x1f2b70(0x185),'apiKeyTooShort':_0x1f2b70(0x191),'invalidConfig':_0x1f2b70(0x178),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x1f2b70(0x17f),'failed':_0x1f2b70(0x183),'retrying':_0x1f2b70(0x18a)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1f2b70(0x19e),'networkError':_0x1f2b70(0x18e),'maxRetriesExceeded':_0x1f2b70(0x18c)}}};}));
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x21bd(_0x3f26f1,_0x9dd135){_0x3f26f1=_0x3f26f1-0x1da;var _0x34a77a=_0x34a7();var _0x21bd86=_0x34a77a[_0x3f26f1];return _0x21bd86;}function _0x34a7(){var _0xa8dcba=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','MCP\x20Retrying...','exports','Enter\x20your\x20API\x20key','API\x20key\x20is\x20required','MCP:\x20Network\x20Error','3734972nPvBoS','Univer\x20AI\x20Console','66QfAUym','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','Session\x20ID','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connected','MCP:\x20Unauthorized','MCP\x20Disconnected','10788944CDMfyX','Connecting...','32862375buEtFX','28436DqnFiH','1690540albUhj','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connecting...','204qkmxIw','MCP\x20Connection\x20Failed','What\x20is\x20API\x20Key?','202310ZNdiNX','Max\x20Retries','MCP\x20Connected','object','1954078ZNOQxk','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','amd','Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file'];_0x34a7=function(){return _0xa8dcba;};return _0x34a7();}(function(_0x3c096d,_0x3ef92f){var _0x55c78d=_0x21bd,_0x1e2769=_0x3c096d();while(!![]){try{var _0x411c98=-parseInt(_0x55c78d(0x1e2))/0x1+parseInt(_0x55c78d(0x1fb))/0x2+parseInt(_0x55c78d(0x1fd))/0x3*(parseInt(_0x55c78d(0x1e1))/0x4)+parseInt(_0x55c78d(0x1e9))/0x5*(-parseInt(_0x55c78d(0x1e6))/0x6)+-parseInt(_0x55c78d(0x1ed))/0x7+-parseInt(_0x55c78d(0x1de))/0x8+parseInt(_0x55c78d(0x1e0))/0x9;if(_0x411c98===_0x3ef92f)break;else _0x1e2769['push'](_0x1e2769['shift']());}catch(_0x2a63e4){_0x1e2769['push'](_0x1e2769['shift']());}}}(_0x34a7,0xef8f7),function(_0x35b125,_0x1ea8fe){var _0x168d7e=_0x21bd;typeof exports==_0x168d7e(0x1ec)&&typeof module<'u'?module[_0x168d7e(0x1f7)]=_0x1ea8fe():typeof define=='function'&&define[_0x168d7e(0x1f0)]?define(_0x1ea8fe):(_0x35b125=typeof globalThis<'u'?globalThis:_0x35b125||self,_0x35b125['UniverProMcpUiEsES']=_0x1ea8fe());}(this,function(){'use strict';var _0x333392=_0x21bd;return{'mcpStatus':{'disconnected':_0x333392(0x1dd),'connecting':_0x333392(0x1e5),'connected':_0x333392(0x1eb),'failed':_0x333392(0x1e7),'retrying':_0x333392(0x1f6),'unknown':_0x333392(0x202),'unauthorized':_0x333392(0x1dc),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x333392(0x1fa),'maxRetriesExceeded':_0x333392(0x1f4),'clickToConnect':_0x333392(0x1ef),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x333392(0x207),'apiKey':_0x333392(0x1f5),'apiKeyPlaceholder':_0x333392(0x1f8),'apiKeyHint':_0x333392(0x1fe),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x333392(0x203),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x333392(0x208),'configStep2':_0x333392(0x1f2),'configStep3':_0x333392(0x1e4),'sessionId':_0x333392(0x204),'sessionIdDescription':_0x333392(0x1da),'authorizationDescription':_0x333392(0x206),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x333392(0x1ea),'save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x333392(0x1ee),'configError':_0x333392(0x205),'apiApplyInfo':{'title':_0x333392(0x1e8),'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':_0x333392(0x1fc),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x333392(0x1f9),'apiKeyTooShort':_0x333392(0x209),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x333392(0x1f3)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x333392(0x1df),'connected':_0x333392(0x1db),'failed':_0x333392(0x1f1),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x333392(0x201),'sessionOccupied':_0x333392(0x200),'networkError':_0x333392(0x1e3),'maxRetriesExceeded':_0x333392(0x1ff)}}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x49ae4f,_0x5d33e9){var _0xb99882=_0x4fa1,_0xb0f701=_0x49ae4f();while(!![]){try{var _0x1cfdd4=parseInt(_0xb99882(0xaf))/0x1+parseInt(_0xb99882(0xac))/0x2+-parseInt(_0xb99882(0x9b))/0x3+-parseInt(_0xb99882(0x89))/0x4*(parseInt(_0xb99882(0x96))/0x5)+-parseInt(_0xb99882(0xb8))/0x6*(parseInt(_0xb99882(0x95))/0x7)+-parseInt(_0xb99882(0xae))/0x8+-parseInt(_0xb99882(0x8b))/0x9*(-parseInt(_0xb99882(0xb0))/0xa);if(_0x1cfdd4===_0x5d33e9)break;else _0xb0f701['push'](_0xb0f701['shift']());}catch(_0x1fd6d5){_0xb0f701['push'](_0xb0f701['shift']());}}}(_0x12f6,0xe4b80),function(_0x3103ca,_0x6463b){var _0x4d1254=_0x4fa1;typeof exports==_0x4d1254(0x85)&&typeof module<'u'?module[_0x4d1254(0xb7)]=_0x6463b():typeof define==_0x4d1254(0xa9)&&define['amd']?define(_0x6463b):(_0x3103ca=typeof globalThis<'u'?globalThis:_0x3103ca||self,_0x3103ca[_0x4d1254(0x8e)]=_0x6463b());}(this,function(){'use strict';var _0x1e5f70=_0x4fa1;return{'mcpStatus':{'disconnected':_0x1e5f70(0xb6),'connecting':_0x1e5f70(0x98),'connected':_0x1e5f70(0xa6),'failed':_0x1e5f70(0x97),'retrying':_0x1e5f70(0xba),'unknown':_0x1e5f70(0xa8),'unauthorized':_0x1e5f70(0xb2),'sessionOccupied':_0x1e5f70(0x9d),'networkError':_0x1e5f70(0xab),'maxRetriesExceeded':_0x1e5f70(0xa2),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1e5f70(0xb1)},'mcpConfig':{'title':_0x1e5f70(0xaa),'description':_0x1e5f70(0x8d),'apiKey':_0x1e5f70(0x8f),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1e5f70(0x8c),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1e5f70(0x9f),'mcpClientConfig':_0x1e5f70(0x9f),'configInstructions':_0x1e5f70(0x92),'configStepTitle':_0x1e5f70(0x8a),'configStep1':_0x1e5f70(0x93),'configStep2':_0x1e5f70(0xbb),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x1e5f70(0xb9),'sessionIdDescription':_0x1e5f70(0x87),'authorizationDescription':_0x1e5f70(0x94),'configParameters':_0x1e5f70(0x83),'maxRetries':'Max\x20Retries','save':_0x1e5f70(0x88),'saving':_0x1e5f70(0x86),'note1':_0x1e5f70(0x9c),'note2':_0x1e5f70(0xb3),'configSaved':_0x1e5f70(0xad),'configError':_0x1e5f70(0xa3),'apiApplyInfo':{'title':_0x1e5f70(0x99),'description':_0x1e5f70(0x9e),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x1e5f70(0x9a)},'validation':{'apiKeyRequired':_0x1e5f70(0xa0),'apiKeyTooShort':_0x1e5f70(0x91),'invalidConfig':_0x1e5f70(0xb4),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1e5f70(0xa4),'connecting':_0x1e5f70(0xb5),'connected':'Connected','failed':_0x1e5f70(0xa1),'retrying':_0x1e5f70(0xa7)},'connectionError':{'unauthorized':_0x1e5f70(0xa5),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x1e5f70(0x84),'maxRetriesExceeded':_0x1e5f70(0x90)}}};}));function _0x4fa1(_0xfd28b4,_0x333477){_0xfd28b4=_0xfd28b4-0x83;var _0x12f603=_0x12f6();var _0x4fa185=_0x12f603[_0xfd28b4];return _0x4fa185;}function _0x12f6(){var _0x532714=['MCP\x20Configuration','MCP:\x20Network\x20Error','3045008RnJXrZ','Configuration\x20saved\x20successfully','5510616fgCIfc','197085sOZnPP','4190EUKUDK','Click\x20to\x20configure\x20MCP','MCP:\x20Unauthorized','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20configuration','Connecting...','MCP\x20Disconnected','exports','350862VRwzML','Session\x20ID','MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','object','Saving...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Save\x20Configuration','4qqoYgA','Configuration\x20Steps:','50013hlEOsn','Enable\x20Authentication','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','UniverProMcpUiFaIR','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20with\x20Bearer\x20prefix.','91rLeRCW','5104405LyNmRb','MCP\x20Connection\x20Failed','MCP\x20Connecting...','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','1923693OqjOtO','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Session\x20ID\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required','Connection\x20Failed','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connected','Retrying...','MCP\x20Unknown\x20Status','function'];_0x12f6=function(){return _0x532714;};return _0x12f6();}
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x470d(){var _0xd39945=['amd','2562459mExsDS','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','2660400WEPERs','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connected','MCP\x20Retrying...','MCP:\x20Unauthorized','MCP\x20Disconnected','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','2MKpExM','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1388695rpYEvS','5401520mzwWnk','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20authentication\x20for\x20secure\x20connections','Save\x20Configuration','UniverProMcpUiFrFR','Max\x20Retries','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Disconnected','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\x20Client\x20Configuration','Connecting...','312497QOSrFJ','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','Get\x20your\x20API\x20key\x20in\x20seconds','343707XjJoYP','Session\x20ID','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','MCP\x20Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','object','Configuration\x20Parameters:','exports','API\x20Key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Retrying...','API\x20key\x20is\x20required','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','8533701nXSjqq','6bXINOB'];_0x470d=function(){return _0xd39945;};return _0x470d();}function _0x229c(_0x271dce,_0x5739c0){_0x271dce=_0x271dce-0xb9;var _0x470dc8=_0x470d();var _0x229cca=_0x470dc8[_0x271dce];return _0x229cca;}(function(_0xd1dd83,_0x10f52e){var _0x365519=_0x229c,_0x142815=_0xd1dd83();while(!![]){try{var _0x4b3dc5=parseInt(_0x365519(0xd7))/0x1+-parseInt(_0x365519(0xc9))/0x2*(-parseInt(_0x365519(0xf0))/0x3)+-parseInt(_0x365519(0xbd))/0x4+parseInt(_0x365519(0xcb))/0x5+parseInt(_0x365519(0xee))/0x6*(-parseInt(_0x365519(0xdd))/0x7)+parseInt(_0x365519(0xcc))/0x8+-parseInt(_0x365519(0xed))/0x9;if(_0x4b3dc5===_0x10f52e)break;else _0x142815['push'](_0x142815['shift']());}catch(_0x5cf255){_0x142815['push'](_0x142815['shift']());}}}(_0x470d,0x6f9e5),function(_0x36b25e,_0x226861){var _0x5d5f93=_0x229c;typeof exports==_0x5d5f93(0xe4)&&typeof module<'u'?module[_0x5d5f93(0xe6)]=_0x226861():typeof define=='function'&&define[_0x5d5f93(0xef)]?define(_0x226861):(_0x36b25e=typeof globalThis<'u'?globalThis:_0x36b25e||self,_0x36b25e[_0x5d5f93(0xd0)]=_0x226861());}(this,function(){'use strict';var _0x1891de=_0x229c;return{'mcpStatus':{'disconnected':_0x1891de(0xc3),'connecting':'MCP\x20Connecting...','connected':_0x1891de(0xc0),'failed':_0x1891de(0xe2),'retrying':_0x1891de(0xc1),'unknown':_0x1891de(0xdb),'unauthorized':_0x1891de(0xc2),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1891de(0xb9)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x1891de(0xbb),'apiKey':_0x1891de(0xe7),'apiKeyPlaceholder':_0x1891de(0xe1),'apiKeyHint':_0x1891de(0xc6),'enableAuth':_0x1891de(0xc4),'enableAuthHint':_0x1891de(0xce),'connectionInfo':_0x1891de(0xd5),'mcpClientConfig':_0x1891de(0xd5),'configInstructions':_0x1891de(0xdf),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x1891de(0xbf),'configStep3':_0x1891de(0xe8),'sessionId':_0x1891de(0xde),'sessionIdDescription':_0x1891de(0xca),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1891de(0xe5),'maxRetries':_0x1891de(0xd1),'save':_0x1891de(0xcf),'saving':_0x1891de(0xbc),'note1':_0x1891de(0xd9),'note2':_0x1891de(0xcd),'configSaved':_0x1891de(0xc8),'configError':_0x1891de(0xc7),'apiApplyInfo':{'title':_0x1891de(0xda),'description':_0x1891de(0xd4),'univerAiLabel':_0x1891de(0xe0),'getStarted':_0x1891de(0xdc)},'validation':{'apiKeyRequired':_0x1891de(0xea),'apiKeyTooShort':_0x1891de(0xe3),'invalidConfig':_0x1891de(0xba),'invalidApiKey':_0x1891de(0xd8)},'connectionStatus':{'disconnected':_0x1891de(0xd3),'connecting':_0x1891de(0xd6),'connected':_0x1891de(0xeb),'failed':'Connection\x20Failed','retrying':_0x1891de(0xe9)},'connectionError':{'unauthorized':_0x1891de(0xd2),'sessionOccupied':_0x1891de(0xc5),'networkError':_0x1891de(0xbe),'maxRetriesExceeded':_0x1891de(0xec)}}};}));
|