@univerjs-pro/mcp-ui 0.15.2-insiders.20260124-12fc7f0 → 0.15.3-insiders.20260131-b9b8805
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 -0
- 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 -0
- 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 -0
- 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/types/locale/sk-SK.d.ts +3 -0
- 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 -0
- 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 +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x53bf(_0x7c836a,_0x513e7){_0x7c836a=_0x7c836a-0x9a;const _0x3ffcd3=_0x3ffc();let _0x53bf15=_0x3ffcd3[_0x7c836a];return _0x53bf15;}(function(_0x9e57f0,_0xab2239){const _0x245571=_0x53bf,_0x59beed=_0x9e57f0();while(!![]){try{const _0x3a8855=-parseInt(_0x245571(0x123))/0x1*(parseInt(_0x245571(0x131))/0x2)+-parseInt(_0x245571(0x227))/0x3*(parseInt(_0x245571(0x1fd))/0x4)+-parseInt(_0x245571(0x171))/0x5*(-parseInt(_0x245571(0xb9))/0x6)+parseInt(_0x245571(0xfa))/0x7+parseInt(_0x245571(0x114))/0x8+parseInt(_0x245571(0x202))/0x9*(parseInt(_0x245571(0x203))/0xa)+-parseInt(_0x245571(0x168))/0xb;if(_0x3a8855===_0xab2239)break;else _0x59beed['push'](_0x59beed['shift']());}catch(_0xb943f9){_0x59beed['push'](_0x59beed['shift']());}}}(_0x3ffc,0x58c35),function(_0x264bca,_0xb5b7c7){const _0x485662=_0x53bf;typeof exports==_0x485662(0x229)&&typeof module<'u'?_0xb5b7c7(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==_0x485662(0x138)&&define[_0x485662(0x1dc)]?define(['exports',_0x485662(0x1df),'react/jsx-runtime',_0x485662(0x10d),_0x485662(0x206),_0x485662(0x10b),_0x485662(0x178),_0x485662(0x16b),_0x485662(0x157)],_0xb5b7c7):(_0x264bca=typeof globalThis<'u'?globalThis:_0x264bca||self,_0xb5b7c7(_0x264bca['UniverProMcpUi']={},_0x264bca['UniverCore'],_0x264bca[_0x485662(0x18d)],_0x264bca[_0x485662(0xeb)],_0x264bca['UniverDesign'],_0x264bca[_0x485662(0xf4)],_0x264bca[_0x485662(0x178)],_0x264bca['React'],_0x264bca[_0x485662(0x1d7)]));}(this,function(_0x34b242,_0xfc971,_0x31ab50,_0x42002e,_0x46c599,_0x3b1834,_0x1435b7,_0x5d5317,_0x3c2b79){'use strict';const _0x14b8e3=_0x53bf;var _0x3340e6=Object[_0x14b8e3(0xda)],_0x9663d9=(_0x43d6d1,_0x1a4107,_0x476bec)=>_0x1a4107 in _0x43d6d1?_0x3340e6(_0x43d6d1,_0x1a4107,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476bec}):_0x43d6d1[_0x1a4107]=_0x476bec,_0x2580c4=(_0x65a4f7,_0x4308ac,_0x44d3c2)=>_0x9663d9(_0x65a4f7,typeof _0x4308ac!=_0x14b8e3(0x127)?_0x4308ac+'':_0x4308ac,_0x44d3c2);function _0x200abc({ref:_0x9ff18a,..._0x38403c}){const _0xf993ca=_0x14b8e3,{icon:_0xaacf5b,id:_0xf88b64,className:_0x5323e4,extend:_0x11690f,..._0x43c11d}=_0x38403c,_0x506087=(_0xf993ca(0x219)+_0xf88b64+'\x20'+(_0x5323e4||''))[_0xf993ca(0x106)](),_0x62ca79=_0x5d5317[_0xf993ca(0x21b)]('_'+_0xaf5326());return _0x47519a(_0xaacf5b,''+_0xf88b64,{'defIds':_0xaacf5b[_0xf993ca(0x1f1)],'idSuffix':_0x62ca79[_0xf993ca(0x133)]},{'ref':_0x9ff18a,'className':_0x506087,..._0x43c11d},_0x11690f);}function _0x47519a(_0x2f12a8,_0x1311c9,_0x2ec2ef,_0x48f18d,_0x1ed22a){const _0x179f96=_0x14b8e3;return _0x5d5317[_0x179f96(0x17f)](_0x2f12a8[_0x179f96(0x1ee)],{'key':_0x1311c9,..._0x4f28f1(_0x2f12a8,_0x2ec2ef,_0x1ed22a),..._0x48f18d},(_0x24ea36(_0x2f12a8,_0x2ec2ef)[_0x179f96(0x121)]||[])['map']((_0x27ddf5,_0x4e7436)=>_0x47519a(_0x27ddf5,_0x1311c9+'-'+_0x2f12a8[_0x179f96(0x1ee)]+'-'+_0x4e7436,_0x2ec2ef,void 0x0,_0x1ed22a)));}function _0x4f28f1(_0x497629,_0x5b7793,_0x55f699){const _0x5e7706=_0x14b8e3,_0x12bbd4={..._0x497629[_0x5e7706(0x211)]};_0x55f699!=null&&_0x55f699[_0x5e7706(0xff)]&&_0x12bbd4['fill']==='colorChannel1'&&(_0x12bbd4[_0x5e7706(0x1c8)]=_0x55f699[_0x5e7706(0xff)]),_0x497629['tag']==='mask'&&_0x12bbd4['id']&&(_0x12bbd4['id']=_0x12bbd4['id']+_0x5b7793[_0x5e7706(0x217)]),Object[_0x5e7706(0xe7)](_0x12bbd4)[_0x5e7706(0x1e2)](([_0x2b9478,_0x2bd02a])=>{const _0x41de19=_0x5e7706;_0x2b9478===_0x41de19(0x1d0)&&typeof _0x2bd02a=='string'&&(_0x12bbd4[_0x2b9478]=_0x2bd02a[_0x41de19(0xc4)](/url\(#(.*)\)/,_0x41de19(0x192)+_0x5b7793['idSuffix']+')'));});const {defIds:_0x5b6e72}=_0x5b7793;return!_0x5b6e72||_0x5b6e72['length']===0x0||(_0x497629[_0x5e7706(0x1ee)]===_0x5e7706(0x11b)&&_0x12bbd4[_0x5e7706(0x115)]&&(_0x12bbd4[_0x5e7706(0x115)]=_0x12bbd4[_0x5e7706(0x115)]+_0x5b7793[_0x5e7706(0x217)]),Object[_0x5e7706(0xe7)](_0x12bbd4)[_0x5e7706(0x1e2)](([_0x157435,_0x309113])=>{const _0x4fe5b5=_0x5e7706;typeof _0x309113==_0x4fe5b5(0x124)&&(_0x12bbd4[_0x157435]=_0x309113[_0x4fe5b5(0xc4)](/url\(#(.*)\)/,'url(#$1'+_0x5b7793[_0x4fe5b5(0x217)]+')'));})),_0x12bbd4;}function _0x24ea36(_0x540dc6,_0x51b687){const _0x5b79bf=_0x14b8e3;var _0x1448d6;const {defIds:_0x286606}=_0x51b687;return!_0x286606||_0x286606[_0x5b79bf(0xec)]===0x0?_0x540dc6:_0x540dc6[_0x5b79bf(0x1ee)]===_0x5b79bf(0x22d)&&((_0x1448d6=_0x540dc6[_0x5b79bf(0x121)])!=null&&_0x1448d6['length'])?{..._0x540dc6,'children':_0x540dc6[_0x5b79bf(0x121)][_0x5b79bf(0x1f5)](_0x164ae1=>typeof _0x164ae1[_0x5b79bf(0x211)]['id']==_0x5b79bf(0x124)&&_0x286606&&_0x286606[_0x5b79bf(0x186)](_0x164ae1[_0x5b79bf(0x211)]['id'])?{..._0x164ae1,'attrs':{..._0x164ae1['attrs'],'id':_0x164ae1['attrs']['id']+_0x51b687['idSuffix']}}:_0x164ae1)}:_0x540dc6;}function _0xaf5326(){const _0x10acdf=_0x14b8e3;return Math[_0x10acdf(0x1c1)]()['toString'](0x24)[_0x10acdf(0x9e)](0x2,0x8);}_0x200abc[_0x14b8e3(0x1c7)]=_0x14b8e3(0x1c4);const _0x4fd82e={'tag':'svg','attrs':{'xmlns':_0x14b8e3(0x19f),'fill':'none','viewBox':_0x14b8e3(0xe2),'width':_0x14b8e3(0x15e),'height':_0x14b8e3(0x15e)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0x1ea),'fillRule':_0x14b8e3(0x12e),'clipRule':_0x14b8e3(0x12e)}}]},_0x17255e=_0x5d5317[_0x14b8e3(0x190)](function(_0x4e4894,_0x15dd30){const _0x32a806=_0x14b8e3;return _0x5d5317['createElement'](_0x200abc,Object[_0x32a806(0x119)]({},_0x4e4894,{'id':_0x32a806(0x1b7),'ref':_0x15dd30,'icon':_0x4fd82e}));});_0x17255e[_0x14b8e3(0x1c7)]=_0x14b8e3(0x1f2);const _0x2b876f={'tag':_0x14b8e3(0x1d2),'attrs':{'xmlns':_0x14b8e3(0x19f),'fill':_0x14b8e3(0x22f),'viewBox':_0x14b8e3(0xe2),'width':'1em','height':_0x14b8e3(0x15e)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0x1e0)}}]},_0x12775d=_0x5d5317[_0x14b8e3(0x190)](function(_0x3b485e,_0x1c6ffe){const _0x21a30f=_0x14b8e3;return _0x5d5317[_0x21a30f(0x17f)](_0x200abc,Object[_0x21a30f(0x119)]({},_0x3b485e,{'id':_0x21a30f(0x1ce),'ref':_0x1c6ffe,'icon':_0x2b876f}));});_0x12775d[_0x14b8e3(0x1c7)]=_0x14b8e3(0x195);const _0x46a000={'tag':_0x14b8e3(0x1d2),'attrs':{'xmlns':_0x14b8e3(0x19f),'fill':_0x14b8e3(0x22f),'viewBox':_0x14b8e3(0xe2),'width':_0x14b8e3(0x15e),'height':_0x14b8e3(0x15e)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0x1c5)}},{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0xba)}},{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0x19c),'fillRule':_0x14b8e3(0x12e),'clipRule':_0x14b8e3(0x12e)}}]},_0x5e76b0=_0x5d5317[_0x14b8e3(0x190)](function(_0x313db4,_0x1d7dee){const _0x540f8e=_0x14b8e3;return _0x5d5317[_0x540f8e(0x17f)](_0x200abc,Object['assign']({},_0x313db4,{'id':_0x540f8e(0x1de),'ref':_0x1d7dee,'icon':_0x46a000}));});_0x5e76b0[_0x14b8e3(0x1c7)]=_0x14b8e3(0x116);const _0x5ce785={'tag':_0x14b8e3(0x1d2),'attrs':{'xmlns':_0x14b8e3(0x19f),'fill':'none','viewBox':_0x14b8e3(0xe2),'width':'1em','height':_0x14b8e3(0x15e)},'children':[{'tag':'g','attrs':{'clipPath':_0x14b8e3(0x14b)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'stroke':_0x14b8e3(0xdc),'d':_0x14b8e3(0xb3),'strokeLinecap':_0x14b8e3(0x9b),'strokeLinejoin':_0x14b8e3(0x9b),'strokeWidth':1.2}}]},{'tag':_0x14b8e3(0x22d),'attrs':{},'children':[{'tag':_0x14b8e3(0x160),'attrs':{'id':_0x14b8e3(0x22b)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xae),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x14b8e3(0x22b)]},_0x1abb0c=_0x5d5317['forwardRef'](function(_0x1491da,_0x56abb7){const _0x26ce95=_0x14b8e3;return _0x5d5317[_0x26ce95(0x17f)](_0x200abc,Object['assign']({},_0x1491da,{'id':_0x26ce95(0x1a9),'ref':_0x56abb7,'icon':_0x5ce785}));});_0x1abb0c['displayName']='OffLineIcon';const _0x1a842b={'tag':_0x14b8e3(0x1d2),'attrs':{'xmlns':_0x14b8e3(0x19f),'fill':'none','viewBox':_0x14b8e3(0x13b),'width':_0x14b8e3(0x15e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x14b8e3(0x11e)},'children':[{'tag':'path','attrs':{'stroke':_0x14b8e3(0xdc),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x14b8e3(0x9b),'strokeLinejoin':_0x14b8e3(0x9b),'strokeWidth':1.2}}]},{'tag':_0x14b8e3(0x22d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x14b8e3(0x145)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xae),'d':_0x14b8e3(0x100),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c2f6e=_0x5d5317[_0x14b8e3(0x190)](function(_0x2dae0c,_0x4049bd){const _0x4e1a18=_0x14b8e3;return _0x5d5317[_0x4e1a18(0x17f)](_0x200abc,Object[_0x4e1a18(0x119)]({},_0x2dae0c,{'id':'on-line-icon','ref':_0x4049bd,'icon':_0x1a842b}));});_0x5c2f6e[_0x14b8e3(0x1c7)]=_0x14b8e3(0x140);function _0x11536d(_0x186a38){const _0x28b968=_0x14b8e3;var _0xd051db,_0x3adf95;const {mcpCoreConfig:_0x25a24c,onSave:_0x44dfca,loading:_0x1dfa26=!0x1,config:_0x57df4f,connectionStatus$:_0x2ea22c,connectionError$:_0x2ea604,currentApiKey$:_0xb54a12,currentSessionId$:_0x47e828}=_0x186a38,_0x237552=_0x3b1834[_0x28b968(0x1e1)](_0xfc971[_0x28b968(0x10a)]),_0x470e8d=_0x3b1834['useObservable'](_0x2ea22c,_0x42002e[_0x28b968(0xa2)][_0x28b968(0x16c)]),_0x2b4d38=_0x3b1834[_0x28b968(0x1be)](_0x2ea604,_0x42002e['MCPConnectionError'][_0x28b968(0x113)]),_0x3958a1=_0x3b1834[_0x28b968(0x1be)](_0x47e828,''),_0x5358b5=_0x3b1834[_0x28b968(0x1be)](_0xb54a12,''),[_0x477538,_0x14a464]=_0x5d5317[_0x28b968(0x155)](_0x5358b5||''),_0x38554c=!0x0,_0x4c31da=_0x57df4f['showDeveloperTools']&&_0x25a24c[_0x28b968(0xd6)]&&(_0x25a24c[_0x28b968(0xd6)][_0x28b968(0x186)](_0x28b968(0x1c0))||_0x25a24c[_0x28b968(0xd6)]['includes'](_0x28b968(0x117))),_0x5ab8fb=(_0xd051db=_0x25a24c['mcpServerUrl'])==null?void 0x0:_0xd051db[_0x28b968(0x186)](_0x28b968(0x1c0)),_0x29b7b1=(_0x3adf95=_0x25a24c[_0x28b968(0xd6)])==null?void 0x0:_0x3adf95[_0x28b968(0x186)](_0x28b968(0x117)),_0x4432e3=_0x5ab8fb?'https://console.univer.plus':_0x28b968(0x102),_0x32381d=_0x57df4f[_0x28b968(0x209)]&&(_0x5ab8fb||_0x29b7b1),[_0x21ace8,_0x534ee6]=_0x5d5317[_0x28b968(0x155)](!_0x477538[_0x28b968(0x106)]()),_0xc97910=(_0x561ba6,_0x29585d)=>{const _0x55c08e=_0x28b968;if(_0x29585d===_0x42002e[_0x55c08e(0x22e)][_0x55c08e(0x1a4)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x561ba6){case _0x42002e['MCPConnectionStatus'][_0x55c08e(0x1b1)]:return _0x55c08e(0x224);case _0x42002e['MCPConnectionStatus'][_0x55c08e(0x16f)]:case _0x42002e['MCPConnectionStatus'][_0x55c08e(0x1ae)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x42002e[_0x55c08e(0xa2)][_0x55c08e(0x175)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x55c08e(0x173);}},_0x3d6bb4=(_0x346bce,_0x3535cb)=>{const _0xf76e01=_0x28b968;if(_0x3535cb===_0x42002e[_0xf76e01(0x22e)][_0xf76e01(0x1a4)])return _0xf76e01(0x108);switch(_0x346bce){case _0x42002e['MCPConnectionStatus'][_0xf76e01(0x1b1)]:return _0xf76e01(0x1af);case _0x42002e[_0xf76e01(0xa2)][_0xf76e01(0x16f)]:case _0x42002e['MCPConnectionStatus'][_0xf76e01(0x1ae)]:return _0xf76e01(0x198);case _0x42002e[_0xf76e01(0xa2)][_0xf76e01(0x175)]:return _0xf76e01(0x108);default:return _0xf76e01(0x1cb);}},_0x273a6a=_0x4af1f6=>{const _0x538e88=_0x28b968;switch(_0x4af1f6){case _0x42002e[_0x538e88(0xa2)][_0x538e88(0x1b1)]:return _0x237552['t'](_0x538e88(0x154));case _0x42002e[_0x538e88(0xa2)][_0x538e88(0x16f)]:return _0x237552['t'](_0x538e88(0xab));case _0x42002e[_0x538e88(0xa2)][_0x538e88(0x175)]:return _0x237552['t'](_0x538e88(0x12f));case _0x42002e[_0x538e88(0xa2)][_0x538e88(0x1ae)]:return _0x237552['t'](_0x538e88(0x1ff));default:return _0x237552['t']('mcpConfig.connectionStatus.disconnected');}},_0x29dcf7=_0x5371b9=>{const _0x4f1c7b=_0x28b968;switch(_0x5371b9){case _0x42002e[_0x4f1c7b(0x22e)][_0x4f1c7b(0x1a4)]:return _0x237552['t'](_0x4f1c7b(0x191));case _0x42002e[_0x4f1c7b(0x22e)]['SESSION_ID_OCCUPIED']:return _0x237552['t']('mcpConfig.connectionError.sessionOccupied');case _0x42002e[_0x4f1c7b(0x22e)][_0x4f1c7b(0x1bb)]:return _0x237552['t'](_0x4f1c7b(0x101));case _0x42002e[_0x4f1c7b(0x22e)][_0x4f1c7b(0xa0)]:return _0x237552['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x362052=_0x5d5317[_0x28b968(0xd2)](()=>{const _0x2830be={..._0x25a24c,'apiKey':_0x477538['trim'](),'enableAuth':_0x38554c};_0x44dfca(_0x2830be);},[_0x25a24c,_0x477538,_0x38554c,_0x44dfca]),_0x4c39d3=_0x477538[_0x28b968(0x106)]()[_0x28b968(0xec)]>0x0;return _0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0xcb),'children':[_0x31ab50['jsx'](_0x28b968(0xd8),{'className':_0x28b968(0x197),'children':_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x196),'children':[_0x31ab50['jsx'](_0x28b968(0xd8),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x31ab50['jsx'](_0x28b968(0x194),{'className':_0x28b968(0x11a),'children':'⚙'})}),_0x31ab50[_0x28b968(0x167)]('div',{'children':_0x31ab50['jsx']('p',{'className':_0x28b968(0x21f),'children':_0x237552['t'](_0x28b968(0x1ab))})})]})}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x12c),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x46c599['clsx'](_0x28b968(0xb2),_0xc97910(_0x470e8d,_0x2b4d38)),'children':_0x31ab50['jsxs'](_0x28b968(0xd8),{'className':_0x28b968(0x1ed),'children':[_0x31ab50['jsx']('div',{'className':_0x46c599[_0x28b968(0xe3)](_0x28b968(0x13d),_0x3d6bb4(_0x470e8d,_0x2b4d38))}),_0x31ab50['jsx'](_0x28b968(0x194),{'className':'univer-text-sm\x20univer-font-medium','children':_0x273a6a(_0x470e8d)})]})}),_0x2b4d38!==_0x42002e[_0x28b968(0x22e)][_0x28b968(0x113)]&&(_0x470e8d===_0x42002e[_0x28b968(0xa2)][_0x28b968(0x175)]||_0x2b4d38===_0x42002e[_0x28b968(0x22e)][_0x28b968(0x1a4)])&&_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0x147),'children':_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x142),'children':[_0x31ab50['jsx']('span',{'className':_0x28b968(0x15f),'children':'⚠️'}),_0x31ab50[_0x28b968(0x167)]('p',{'className':_0x28b968(0xf3),'children':_0x29dcf7(_0x2b4d38)})]})})]}),_0x31ab50[_0x28b968(0x167)]('div',{'className':_0x28b968(0x18e),'children':_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':'univer-space-y-5','children':[_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x141),'children':[_0x31ab50[_0x28b968(0xef)](_0x28b968(0xb1),{'className':_0x28b968(0x21d),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'children':'🔑'}),'\x20',_0x237552['t'](_0x28b968(0x161)),_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'className':'univer-text-red-500','children':'*'}),_0x4c31da&&_0x31ab50[_0x28b968(0x167)]('a',{'className':_0x28b968(0xc6),'title':_0x237552['t'](_0x28b968(0xbe)),'role':_0x28b968(0x1d9),'onClick':()=>_0x534ee6(!0x0),'children':_0x31ab50['jsx'](_0x5e76b0,{})})]}),_0x31ab50['jsx'](_0x46c599['Input'],{'type':_0x28b968(0x136),'placeholder':_0x237552['t'](_0x28b968(0x1bc)),'value':_0x477538,'disabled':_0x1dfa26,'autoComplete':_0x28b968(0xa6),'onChange':_0x14a464}),_0x31ab50[_0x28b968(0x167)]('p',{'className':_0x28b968(0xc7),'children':_0x237552['t'](_0x28b968(0x21e))})]}),_0x4c31da&&_0x21ace8&&_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x12b),'children':[_0x31ab50[_0x28b968(0x167)]('a',{'className':_0x28b968(0xe1),'role':_0x28b968(0x1d9),'onClick':()=>_0x534ee6(!0x1),'children':_0x31ab50[_0x28b968(0x167)](_0x12775d,{'className':_0x28b968(0x216)})}),_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x1cc),'children':[_0x31ab50['jsx'](_0x28b968(0xd8),{'className':_0x28b968(0x125),'children':_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'className':'univer-text-blue-600','children':'🚀'})}),_0x31ab50['jsxs'](_0x28b968(0xd8),{'className':_0x28b968(0xed),'children':[_0x31ab50['jsx']('h4',{'className':_0x28b968(0x200),'children':_0x237552['t'](_0x28b968(0xbe))}),_0x31ab50[_0x28b968(0x167)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x237552['t']('mcpConfig.apiApplyInfo.description')}),_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0xad),'children':_0x32381d&&_0x31ab50[_0x28b968(0xef)]('a',{'className':_0x28b968(0xa4),'href':_0x4432e3,'target':_0x28b968(0x111),'rel':_0x28b968(0x218),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'children':'🤖'}),_0x237552['t'](_0x28b968(0x204)),_0x31ab50['jsx'](_0x28b968(0x194),{'className':_0x28b968(0x139),'children':'↗'})]})}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x150),'children':['✨','\x20',_0x237552['t'](_0x28b968(0x201))]})]})]})]}),_0x57df4f[_0x28b968(0x209)]&&_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0xa9),'children':[_0x31ab50[_0x28b968(0xef)]('h4',{'className':_0x28b968(0x137),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'children':'🔗'}),'\x20',_0x237552['t'](_0x28b968(0x1da))]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0xdb),'children':[_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x1f7),'children':[_0x31ab50[_0x28b968(0x167)]('p',{'className':_0x28b968(0xc5),'children':_0x237552['t'](_0x28b968(0xcd))}),_0x31ab50['jsxs']('div',{'className':_0x28b968(0x141),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x237552['t'](_0x28b968(0x128))}),_0x31ab50['jsxs'](_0x28b968(0xd8),{'className':_0x28b968(0x132),'children':[_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x1ed),'children':[_0x31ab50[_0x28b968(0x167)]('span',{'className':_0x28b968(0x170),'children':'1'}),_0x237552['t']('mcpConfig.configStep1')]}),_0x31ab50['jsxs']('div',{'className':_0x28b968(0x1ed),'children':[_0x31ab50[_0x28b968(0x167)]('span',{'className':_0x28b968(0x170),'children':'2'}),_0x237552['t'](_0x28b968(0xe5))]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x1ed),'children':[_0x31ab50[_0x28b968(0x167)]('span',{'className':_0x28b968(0x170),'children':'3'}),_0x237552['t']('mcpConfig.configStep3')]})]})]})]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x141),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x28b968(0x222)}),_0x31ab50['jsx']('div',{'className':_0x28b968(0x189),'children':_0x31ab50['jsx'](_0x28b968(0x164),{'className':_0x28b968(0x11d),'children':JSON[_0x28b968(0xc0)]({'mcpServers':{'univer':{'url':_0x28b968(0x1fb)+(_0x3958a1||_0x28b968(0x174)),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0x477538||_0x28b968(0x156))}}}},null,0x2)})})]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x1f7),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0xbb),'children':_0x237552['t'](_0x28b968(0xa8))}),_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x141),'children':[_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x226),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x31ab50[_0x28b968(0x167)]('div',{'className':_0x28b968(0x182),'children':_0x28b968(0x20c)}),_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x237552['t'](_0x28b968(0x228))})]})]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0x163)}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x221),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0x182),'children':_0x28b968(0x1f6)}),_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0xc7),'children':_0x237552['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x31ab50[_0x28b968(0x167)](_0x46c599['Button'],{'onClick':_0x362052,'disabled':!_0x4c39d3||_0x1dfa26,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x1dfa26?_0x31ab50[_0x28b968(0xef)](_0x28b968(0x194),{'className':_0x28b968(0x1ed),'children':[_0x31ab50[_0x28b968(0x167)]('span',{'children':'⟲'}),_0x237552['t'](_0x28b968(0x1b3))]}):_0x31ab50[_0x28b968(0xef)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x31ab50['jsx'](_0x17255e,{}),_0x237552['t'](_0x28b968(0x20e))]})}),_0x31ab50[_0x28b968(0x167)]('div',{'className':_0x28b968(0x20d),'children':_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x9a),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'className':_0x28b968(0x112),'children':'💡'}),_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x153),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0xaa),'children':'Configuration\x20Notes:'}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'children':['•',_0x237552['t'](_0x28b968(0x17b))]}),_0x31ab50['jsxs'](_0x28b968(0xd8),{'children':['•',_0x237552['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x125e6e='mcp-ui.config',_0x74df75={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x41a332=Object[_0x14b8e3(0x18c)],_0x3364fc=(_0xd1c01a,_0xaae9c2,_0x45a511,_0x13a842)=>{const _0x5e8bab=_0x14b8e3;for(var _0x58c626=_0x13a842>0x1?void 0x0:_0x13a842?_0x41a332(_0xaae9c2,_0x45a511):_0xaae9c2,_0xd9a6c3=_0xd1c01a[_0x5e8bab(0xec)]-0x1,_0x494416;_0xd9a6c3>=0x0;_0xd9a6c3--)(_0x494416=_0xd1c01a[_0xd9a6c3])&&(_0x58c626=_0x494416(_0x58c626)||_0x58c626);return _0x58c626;},_0x3683fd=(_0x8c35cf,_0x3020de)=>(_0x4eba50,_0xc2564a)=>_0x3020de(_0x4eba50,_0xc2564a,_0x8c35cf);const _0x4b4234='mcp.apiKey',_0x390f03=_0x14b8e3(0xdd);_0x34b242[_0x14b8e3(0xfe)]=class extends _0xfc971[_0x14b8e3(0x103)]{constructor(_0x3b7fcd,_0x57e6fa,_0x194723,_0x2672ed,_0x3feb48,_0x5b1938,_0x4516c3,_0x25c77e,_0x78959c,_0x579ec1){const _0x461234=_0x14b8e3;super(),_0x2580c4(this,_0x461234(0x144),new _0x1435b7[(_0x461234(0xf0))](!0x1)),_0x2580c4(this,'_mcpCoreConfig$',new _0x1435b7['BehaviorSubject']({})),_0x2580c4(this,_0x461234(0x1c9),new _0x1435b7[(_0x461234(0xf0))]({})),_0x2580c4(this,_0x461234(0x1b2),new _0x1435b7[(_0x461234(0xf0))]('')),_0x2580c4(this,'_handleConfigSave',async _0x1ea281=>{const _0x208901=_0x461234;var _0x472820,_0xc6589;this['_loading$'][_0x208901(0x19e)](!0x0);try{const _0xb35100=await this['_validateConfig'](_0x1ea281);if(!_0xb35100[_0x208901(0x177)]){this[_0x208901(0x21a)]['show']({'type':_0x46c599[_0x208901(0xc8)][_0x208901(0xc2)],'content':_0xb35100[_0x208901(0xc1)]||this[_0x208901(0x15d)]['t'](_0x208901(0x1e3))});return;}_0x1ea281[_0x208901(0xf7)]?await this[_0x208901(0x143)]['setItem'](_0x4b4234,_0x1ea281['apiKey']['trim']()):await this[_0x208901(0x143)][_0x208901(0x129)](_0x4b4234),this[_0x208901(0x1b2)][_0x208901(0x19e)](((_0x472820=_0x1ea281[_0x208901(0xf7)])==null?void 0x0:_0x472820[_0x208901(0x106)]())||''),this[_0x208901(0x152)][_0x208901(0xd7)]({'Authorization':_0x208901(0x165)+((_0xc6589=_0x1ea281['apiKey'])==null?void 0x0:_0xc6589[_0x208901(0x106)]())}),this[_0x208901(0x21a)][_0x208901(0x1b5)]({'type':_0x46c599['MessageType'][_0x208901(0xca)],'content':this[_0x208901(0x15d)]['t'](_0x208901(0xf1))}),setTimeout(()=>{const _0x5f020b=_0x208901;this[_0x5f020b(0x146)][_0x5f020b(0x17d)](_0x390f03);},0x320);}catch(_0xdfeddf){this[_0x208901(0xc3)][_0x208901(0x1a6)](_0x208901(0xfb),_0xdfeddf),this[_0x208901(0x21a)][_0x208901(0x1b5)]({'type':_0x46c599[_0x208901(0xc8)][_0x208901(0xc2)],'content':this[_0x208901(0x15d)]['t'](_0x208901(0x1f3))});}finally{this[_0x208901(0x144)]['next'](!0x1);}}),(this[_0x461234(0x122)]=_0x3b7fcd,this[_0x461234(0x17c)]=_0x57e6fa,this[_0x461234(0x207)]=_0x194723,this[_0x461234(0x143)]=_0x2672ed,this[_0x461234(0x146)]=_0x3feb48,this[_0x461234(0x21a)]=_0x5b1938,this['_componentManager']=_0x4516c3,this['_localeService']=_0x25c77e,this['_logService']=_0x78959c,this[_0x461234(0x152)]=_0x579ec1,this['_initConfigSync'](),this['_loadStoredApiKey'](),this['_registerComponent']());}[_0x14b8e3(0x1a0)](){const _0x3b10b0=_0x14b8e3,_0x2032ee=this['_configService'][_0x3b10b0(0xe0)](_0x125e6e);_0x2032ee!=null&&_0x2032ee[_0x3b10b0(0x209)]&&this[_0x3b10b0(0x146)][_0x3b10b0(0x1b9)]({'id':_0x390f03,'title':{'title':this['_localeService']['t'](_0x3b10b0(0xe9))},'children':{'label':_0x3b10b0(0x1db)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x523067=_0x3b10b0;this[_0x523067(0x146)][_0x523067(0x17d)](_0x390f03);}});}[_0x14b8e3(0x14f)](){const _0x263f49=_0x14b8e3;return this[_0x263f49(0xea)][_0x263f49(0x16a)];}[_0x14b8e3(0x134)](){const _0x17cd66=_0x14b8e3;this[_0x17cd66(0x1a2)](this['_componentManager'][_0x17cd66(0x15b)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}[_0x14b8e3(0xb6)](){const _0x147399=_0x14b8e3;return _0x3b1834[_0x147399(0x1d3)](()=>{const _0x223892=_0x147399;var _0xd43ac8,_0x1d3c21,_0xcdacd;return _0x31ab50['jsx'](_0x11536d,{'config':this[_0x223892(0x1c9)][_0x223892(0x16a)],'mcpCoreConfig':this[_0x223892(0xea)][_0x223892(0x16a)],'currentApiKey$':this[_0x223892(0x1b2)],'onSave':this['_handleConfigSave'],'loading':this[_0x223892(0x144)][_0x223892(0x16a)],'connectionStatus$':(_0xd43ac8=this[_0x223892(0x152)])==null?void 0x0:_0xd43ac8[_0x223892(0x10c)],'connectionError$':(_0x1d3c21=this[_0x223892(0x152)])==null?void 0x0:_0x1d3c21[_0x223892(0xa1)],'currentSessionId$':(_0xcdacd=this[_0x223892(0x152)])==null?void 0x0:_0xcdacd[_0x223892(0x176)]});},this['_injector']);}[_0x14b8e3(0x1cd)](){const _0x51dc87=_0x14b8e3;this[_0x51dc87(0x1a2)](this[_0x51dc87(0x207)]['subscribeConfigValue$'](_0x42002e['MCP_PLUGIN_CONFIG_KEY'])[_0x51dc87(0x1b8)](_0x48bb8e=>{const _0x356c98=_0x51dc87;this[_0x356c98(0xea)][_0x356c98(0x19e)](_0x48bb8e||{});}));const _0x1f68b0=this[_0x51dc87(0x207)][_0x51dc87(0xe0)](_0x42002e[_0x51dc87(0x18a)]);this[_0x51dc87(0xea)][_0x51dc87(0x19e)](_0x1f68b0||{}),this[_0x51dc87(0x1a2)](this[_0x51dc87(0x207)][_0x51dc87(0x126)](_0x125e6e)[_0x51dc87(0x1b8)](_0x4a2948=>{const _0x39de35=_0x51dc87;this['_config$'][_0x39de35(0x19e)](_0x4a2948||{});}));const _0x177897=this[_0x51dc87(0x207)][_0x51dc87(0xe0)](_0x125e6e);this[_0x51dc87(0x1c9)][_0x51dc87(0x19e)](_0x177897||{});}async['_loadStoredApiKey'](){const _0x320db4=_0x14b8e3,_0x404871=this[_0x320db4(0x207)][_0x320db4(0xe0)](_0x125e6e);if(!(_0x404871!=null&&_0x404871[_0x320db4(0x209)]))return;const _0x28c2dd=await this[_0x320db4(0x143)][_0x320db4(0x210)](_0x4b4234);_0x28c2dd&&(this[_0x320db4(0x152)][_0x320db4(0xd7)]({'Authorization':'Bearer\x20'+_0x28c2dd}),this[_0x320db4(0x1b2)][_0x320db4(0x19e)](_0x28c2dd));}async[_0x14b8e3(0x1f8)](_0x4ab4e4){const _0x380903=_0x14b8e3;if(!_0x4ab4e4[_0x380903(0xf7)]||_0x4ab4e4['apiKey'][_0x380903(0x106)]()[_0x380903(0xec)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x380903(0x15d)]['t'](_0x380903(0xa3))};if(_0x4ab4e4[_0x380903(0xf7)][_0x380903(0x106)]()[_0x380903(0xec)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x380903(0x15d)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x2119f7=await this['_injector'][_0x380903(0xd5)](_0x42002e['MCPConnectionController'])[_0x380903(0x220)](_0x4ab4e4[_0x380903(0xf7)]['trim']());return _0x2119f7[_0x380903(0x177)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2119f7[_0x380903(0x1a6)]||this[_0x380903(0x15d)]['t'](_0x380903(0xac))};}catch(_0xf286b){return console[_0x380903(0x212)](_0x380903(0xd0),_0xf286b),{'isValid':!0x0};}}},_0x34b242['MCPConfigUIController']=_0x3364fc([_0x3683fd(0x0,_0xfc971[_0x14b8e3(0x9c)](_0xfc971[_0x14b8e3(0x20f)])),_0x3683fd(0x1,_0x3b1834[_0x14b8e3(0x10f)]),_0x3683fd(0x2,_0xfc971['IConfigService']),_0x3683fd(0x3,_0xfc971[_0x14b8e3(0x214)]),_0x3683fd(0x4,_0x3b1834['IDialogService']),_0x3683fd(0x5,_0x3b1834['IMessageService']),_0x3683fd(0x6,_0xfc971[_0x14b8e3(0x9c)](_0x3b1834[_0x14b8e3(0xf8)])),_0x3683fd(0x7,_0xfc971[_0x14b8e3(0x9c)](_0xfc971['LocaleService'])),_0x3683fd(0x8,_0xfc971[_0x14b8e3(0x180)]),_0x3683fd(0x9,_0xfc971[_0x14b8e3(0x9c)](_0x42002e[_0x14b8e3(0x1e9)]))],_0x34b242[_0x14b8e3(0xfe)]);const _0x2987d5={'id':_0x14b8e3(0x1ba),'type':_0xfc971['CommandType'][_0x14b8e3(0x162)],'handler':async(_0x549fa2,_0x2145db)=>(_0x549fa2[_0x14b8e3(0xd5)](_0x34b242[_0x14b8e3(0xfe)])['showConfigPanel'](),!0x0)};function _0x120f28(_0x48351c,_0x4fe916){const _0x4fb567=_0x14b8e3;switch(_0x48351c){case _0x42002e[_0x4fb567(0xa2)][_0x4fb567(0x16c)]:return _0x4fb567(0x1bf);case _0x42002e[_0x4fb567(0xa2)][_0x4fb567(0x16f)]:return _0x4fb567(0x130);case _0x42002e[_0x4fb567(0xa2)][_0x4fb567(0x1b1)]:return _0x4fb567(0x1dd);case _0x42002e['MCPConnectionStatus'][_0x4fb567(0x175)]:switch(_0x4fe916){case _0x42002e[_0x4fb567(0x22e)][_0x4fb567(0x1a4)]:return _0x4fb567(0x21c);case _0x42002e[_0x4fb567(0x22e)][_0x4fb567(0xce)]:return'mcpStatus.sessionOccupied';case _0x42002e[_0x4fb567(0x22e)][_0x4fb567(0x1bb)]:return'mcpStatus.networkError';case _0x42002e['MCPConnectionError'][_0x4fb567(0xa0)]:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case _0x42002e[_0x4fb567(0xa2)]['RETRYING']:return _0x4fb567(0x199);default:return _0x4fb567(0x16e);}}function _0xeada4f(_0x19bfa6,_0x25ace7,_0x5684f1,_0x2f7140=!0x0){const _0x3c102e=_0x14b8e3,_0x4f09dd=_0x120f28(_0x19bfa6,_0x25ace7),_0x28a00b=_0x5684f1['t'](_0x4f09dd);return _0x2f7140?_0x19bfa6===_0x42002e[_0x3c102e(0xa2)][_0x3c102e(0x16c)]&&_0x25ace7===_0x42002e['MCPConnectionError'][_0x3c102e(0x1a4)]?_0x28a00b+_0x3c102e(0x1e6)+_0x5684f1['t'](_0x3c102e(0x14c)):_0x19bfa6===_0x42002e['MCPConnectionStatus']['CONNECTED']?''+_0x28a00b:_0x19bfa6===_0x42002e['MCPConnectionStatus'][_0x3c102e(0x16c)]||_0x19bfa6===_0x42002e['MCPConnectionStatus']['FAILED']?_0x28a00b+_0x3c102e(0x1e6)+_0x5684f1['t']('mcpStatus.clickToConnect'):_0x28a00b:_0x28a00b;}function _0x1c9da1(_0x503276){const _0x11a217=_0x14b8e3;switch(_0x503276){case _0x42002e[_0x11a217(0xa2)][_0x11a217(0x1b1)]:return _0x11a217(0x20b);case _0x42002e[_0x11a217(0xa2)][_0x11a217(0x16f)]:case _0x42002e[_0x11a217(0xa2)][_0x11a217(0x1ae)]:return _0x11a217(0x215);case _0x42002e['MCPConnectionStatus'][_0x11a217(0x175)]:case _0x42002e['MCPConnectionStatus'][_0x11a217(0x16c)]:return _0x11a217(0xf6);default:return _0x11a217(0x187);}}function _0x6231b5(_0x545197){const _0x1d01c3=_0x14b8e3,{status$:_0x27e8ce,error$:_0x32563b,onConfigure:_0x5219ec,showClickable:_0x4a95c2=!0x0}=_0x545197,_0x2d66ac=_0x3b1834[_0x1d01c3(0x1be)](_0x27e8ce,_0x42002e[_0x1d01c3(0xa2)][_0x1d01c3(0x16c)]),_0x1497b8=_0x3b1834['useObservable'](_0x32563b,_0x42002e['MCPConnectionError'][_0x1d01c3(0x113)]),_0x2a2da7=_0x3b1834[_0x1d01c3(0x1e1)](_0xfc971['LocaleService']),_0x32be42=_0x2d66ac===_0x42002e[_0x1d01c3(0xa2)][_0x1d01c3(0x1b1)];_0x2d66ac===_0x42002e['MCPConnectionStatus'][_0x1d01c3(0x16f)]||_0x42002e[_0x1d01c3(0xa2)][_0x1d01c3(0x1ae)];const _0x11eeaa=_0x2a2da7['t'](_0x120f28(_0x2d66ac,_0x1497b8)),_0x23149e=_0xeada4f(_0x2d66ac,_0x1497b8,_0x2a2da7,_0x4a95c2),_0x4e9b5f=_0x1c9da1(_0x2d66ac),_0x2e7a22=_0x32be42?_0x31ab50['jsx'](_0x5c2f6e,{}):_0x31ab50[_0x1d01c3(0x167)](_0x1abb0c,{}),_0x4c75bc=_0x5d5317['useCallback'](()=>{_0x4a95c2&&_0x5219ec&&_0x5219ec();},[_0x4a95c2,_0x5219ec]);function _0x46b38c(){const _0x4f2464=_0x1d01c3;return _0x31ab50['jsxs'](_0x4f2464(0xd8),{'className':_0x46c599[_0x4f2464(0xe3)]('univer-flex\x20univer-items-center',_0x4a95c2&&_0x5219ec&&'\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':_0x4f2464(0x1d9),'onClick':_0x4a95c2&&_0x5219ec?_0x4c75bc:void 0x0,'children':[_0x31ab50[_0x4f2464(0x167)](_0x4f2464(0xd8),{'className':_0x46c599[_0x4f2464(0xe3)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x4e9b5f),'children':_0x2e7a22}),_0x31ab50[_0x4f2464(0x167)](_0x4f2464(0xd8),{'className':_0x4f2464(0x120),'children':_0x11eeaa})]});}return _0x31ab50[_0x1d01c3(0x167)](_0x46c599['Tooltip'],{'title':_0x23149e,'placement':_0x1d01c3(0xaf),'children':_0x46b38c()});}var _0x5f0327=Object[_0x14b8e3(0x18c)],_0x541963=(_0x2e365e,_0x56ae4b,_0x4e084c,_0x57df15)=>{const _0xab4fac=_0x14b8e3;for(var _0x54d48a=_0x57df15>0x1?void 0x0:_0x57df15?_0x5f0327(_0x56ae4b,_0x4e084c):_0x56ae4b,_0x36089a=_0x2e365e[_0xab4fac(0xec)]-0x1,_0x124c82;_0x36089a>=0x0;_0x36089a--)(_0x124c82=_0x2e365e[_0x36089a])&&(_0x54d48a=_0x124c82(_0x54d48a)||_0x54d48a);return _0x54d48a;},_0x1f704b=(_0x130735,_0x444cc5)=>(_0x2e84c5,_0x10b29a)=>_0x444cc5(_0x2e84c5,_0x10b29a,_0x130735);_0x34b242['MCPConnectionUIController']=class extends _0xfc971[_0x14b8e3(0x103)]{constructor(_0x301a8c,_0x330c60,_0x49215d,_0x39887a){const _0x42eb06=_0x14b8e3;super(),this[_0x42eb06(0x122)]=_0x301a8c,this[_0x42eb06(0x14a)]=_0x330c60,this[_0x42eb06(0x17c)]=_0x49215d,this[_0x42eb06(0x207)]=_0x39887a,this[_0x42eb06(0xb0)](),this[_0x42eb06(0x208)]();}[_0x14b8e3(0xb0)](){const _0x19318d=_0x14b8e3,_0x1c8880=this[_0x19318d(0x207)][_0x19318d(0xe0)](_0x125e6e);_0x1c8880!=null&&_0x1c8880[_0x19318d(0x209)]&&(this['_connectionController'][_0x19318d(0x1a5)]=!0x1);}[_0x14b8e3(0x208)](){const _0x407118=_0x14b8e3,_0x4593bb=this[_0x407118(0x207)][_0x407118(0xe0)](_0x125e6e);(_0x4593bb==null?void 0x0:_0x4593bb[_0x407118(0x9d)])!==!0x1&&this[_0x407118(0x1a2)](this[_0x407118(0x17c)][_0x407118(0xd3)](_0x3b1834[_0x407118(0x17e)][_0x407118(0x18b)],()=>{const _0x165733=_0x407118;var _0x208f45;return _0x3b1834[_0x165733(0x1d3)](_0x1c490a({'status$':this[_0x165733(0x14a)]['connectionStatus$'],'error$':this['_connectionController'][_0x165733(0xa1)],'onConfigure':()=>this[_0x165733(0xde)](),'showClickable':(_0x208f45=_0x4593bb==null?void 0x0:_0x4593bb['showDeveloperTools'])!=null?_0x208f45:!0x1}),this[_0x165733(0x122)]);}));}[_0x14b8e3(0xde)](){const _0x3a8b96=_0x14b8e3;this[_0x3a8b96(0x122)]['get'](_0x34b242[_0x3a8b96(0xfe)])['showConfigPanel']();}},_0x34b242[_0x14b8e3(0x1a7)]=_0x541963([_0x1f704b(0x0,_0xfc971[_0x14b8e3(0x9c)](_0xfc971[_0x14b8e3(0x20f)])),_0x1f704b(0x1,_0xfc971['Inject'](_0x42002e[_0x14b8e3(0x1e9)])),_0x1f704b(0x2,_0x3b1834[_0x14b8e3(0x10f)]),_0x1f704b(0x3,_0xfc971[_0x14b8e3(0x183)])],_0x34b242['MCPConnectionUIController']);function _0x1c490a(_0x5fb87a){const {status$:_0x3b7948,error$:_0x1cdb21,onConfigure:_0x3895ff,showClickable:_0xc5d4de}=_0x5fb87a;return function(){const _0x29a954=_0x53bf;return _0x31ab50[_0x29a954(0x167)](_0x6231b5,{'status$':_0x3b7948,'error$':_0x1cdb21,'onConfigure':_0x3895ff,'showClickable':_0xc5d4de});};}function _0x317412(_0x1dcd16){const _0x3855ce=_0x14b8e3;return{'id':_0x2987d5['id'],'type':_0x3b1834[_0x3855ce(0xbd)][_0x3855ce(0x1ec)],'icon':_0x3855ce(0x1c6),'title':_0x3855ce(0xe9),'tooltip':'mcpConfig.title'};}const _0x14166d={[_0x3b1834[_0x14b8e3(0x1c2)][_0x14b8e3(0x1f0)]]:{[_0x2987d5['id']]:{'order':0xa,'menuItemFactory':_0x317412}}};var _0x26033e=Object[_0x14b8e3(0x18c)],_0x21e1f0=(_0x4a4eed,_0x5c1ffa,_0x2114f5,_0x4b8073)=>{for(var _0xa7a7b3=_0x4b8073>0x1?void 0x0:_0x4b8073?_0x26033e(_0x5c1ffa,_0x2114f5):_0x5c1ffa,_0x31b6fa=_0x4a4eed['length']-0x1,_0x5b3ba5;_0x31b6fa>=0x0;_0x31b6fa--)(_0x5b3ba5=_0x4a4eed[_0x31b6fa])&&(_0xa7a7b3=_0x5b3ba5(_0xa7a7b3)||_0xa7a7b3);return _0xa7a7b3;},_0x5e5384=(_0x478445,_0x5d0821)=>(_0x13328c,_0x3b32c6)=>_0x5d0821(_0x13328c,_0x3b32c6,_0x478445);_0x34b242['MCPUIMenuController']=class extends _0xfc971[_0x14b8e3(0x103)]{constructor(_0x2795f5,_0x5adbcb){const _0x57902d=_0x14b8e3;super(),this[_0x57902d(0x1bd)]=_0x2795f5,this['_menuManagerService']=_0x5adbcb,this[_0x57902d(0x1fc)](),this[_0x57902d(0x107)]();}['_initializeCommands'](){const _0x408a3d=_0x14b8e3;[_0x2987d5][_0x408a3d(0x1e2)](_0x356db0=>{const _0x186cb0=_0x408a3d;this['disposeWithMe'](this[_0x186cb0(0x1bd)][_0x186cb0(0xcf)](_0x356db0));});}[_0x14b8e3(0x107)](){const _0xe31d58=_0x14b8e3;this[_0xe31d58(0x1d8)][_0xe31d58(0x149)](_0x14166d);}},_0x34b242[_0x14b8e3(0xdf)]=_0x21e1f0([_0x5e5384(0x0,_0xfc971['ICommandService']),_0x5e5384(0x1,_0x3b1834['IMenuManagerService'])],_0x34b242[_0x14b8e3(0xdf)]);const _0x287ff9={'mcpStatus':{'disconnected':_0x14b8e3(0x109),'connecting':_0x14b8e3(0x1e8),'connected':_0x14b8e3(0xe6),'failed':'MCP\x20Connection\x20Failed','retrying':_0x14b8e3(0x1d5),'unknown':_0x14b8e3(0xd1),'unauthorized':_0x14b8e3(0xf9),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x14b8e3(0x13a),'maxRetriesExceeded':_0x14b8e3(0x205),'clickToConnect':_0x14b8e3(0xb7),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x14b8e3(0x222),'description':_0x14b8e3(0xb8),'apiKey':_0x14b8e3(0x181),'apiKeyPlaceholder':_0x14b8e3(0xfc),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x14b8e3(0xe4),'enableAuthHint':_0x14b8e3(0x10e),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x14b8e3(0x185),'configInstructions':_0x14b8e3(0x12a),'configStepTitle':_0x14b8e3(0xbc),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x14b8e3(0x1fe),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x14b8e3(0x230),'sessionIdDescription':_0x14b8e3(0xfd),'authorizationDescription':_0x14b8e3(0xe8),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x14b8e3(0x110),'save':_0x14b8e3(0x22a),'saving':_0x14b8e3(0x18f),'note1':_0x14b8e3(0x1a8),'note2':_0x14b8e3(0x12d),'configSaved':_0x14b8e3(0x17a),'configError':_0x14b8e3(0x1d1),'apiApplyInfo':{'title':_0x14b8e3(0x105),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x14b8e3(0x1ad),'apiKeyTooShort':_0x14b8e3(0xcc),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x14b8e3(0x1c3)},'connectionStatus':{'disconnected':_0x14b8e3(0x11f),'connecting':_0x14b8e3(0x13f),'connected':_0x14b8e3(0x1fa),'failed':'Connection\x20Failed','retrying':_0x14b8e3(0x1cf)},'connectionError':{'unauthorized':_0x14b8e3(0x13e),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x14b8e3(0x159),'maxRetriesExceeded':_0x14b8e3(0x179)}}},_0x3ae8f1={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x14b8e3(0x1ac),'connected':_0x14b8e3(0x15c),'failed':_0x14b8e3(0x1f4),'retrying':_0x14b8e3(0x158),'unknown':_0x14b8e3(0x19a),'unauthorized':_0x14b8e3(0xc9),'sessionOccupied':_0x14b8e3(0x13c),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x14b8e3(0x1d6),'clickToConfigure':_0x14b8e3(0x166)},'mcpConfig':{'title':_0x14b8e3(0x1e5),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x14b8e3(0x1e4),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x14b8e3(0x1eb),'enableAuth':_0x14b8e3(0x225),'enableAuthHint':_0x14b8e3(0x14e),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x14b8e3(0xd4),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x14b8e3(0x172),'configStep3':_0x14b8e3(0x19d),'sessionId':_0x14b8e3(0x15a),'sessionIdDescription':_0x14b8e3(0x11c),'authorizationDescription':_0x14b8e3(0x22c),'configParameters':_0x14b8e3(0xb4),'maxRetries':_0x14b8e3(0x135),'save':_0x14b8e3(0x1f9),'saving':_0x14b8e3(0x14d),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x14b8e3(0x151),'configError':_0x14b8e3(0xd9),'apiApplyInfo':{'title':_0x14b8e3(0x184),'description':_0x14b8e3(0xa5),'univerAiLabel':_0x14b8e3(0x1ca),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x14b8e3(0x188),'apiKeyTooShort':_0x14b8e3(0x1b6),'invalidConfig':_0x14b8e3(0x16d),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x14b8e3(0x169),'connecting':_0x14b8e3(0x1b4),'connected':_0x14b8e3(0x148),'failed':_0x14b8e3(0x223),'retrying':_0x14b8e3(0x1d4)},'connectionError':{'unauthorized':_0x14b8e3(0xa7),'sessionOccupied':_0x14b8e3(0x19b),'networkError':_0x14b8e3(0x104),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x13ead4=Object[_0x14b8e3(0xda)],_0x3a7e81=Object[_0x14b8e3(0x18c)],_0x42b575=(_0x2396b2,_0x435996,_0x40dba5)=>_0x435996 in _0x2396b2?_0x13ead4(_0x2396b2,_0x435996,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40dba5}):_0x2396b2[_0x435996]=_0x40dba5,_0x92c027=(_0x3f472e,_0x402495,_0xaf5218,_0x300897)=>{const _0xd0f66b=_0x14b8e3;for(var _0x28052a=_0x300897>0x1?void 0x0:_0x300897?_0x3a7e81(_0x402495,_0xaf5218):_0x402495,_0x402ed5=_0x3f472e[_0xd0f66b(0xec)]-0x1,_0x58cee6;_0x402ed5>=0x0;_0x402ed5--)(_0x58cee6=_0x3f472e[_0x402ed5])&&(_0x28052a=_0x58cee6(_0x28052a)||_0x28052a);return _0x28052a;},_0x84ef0e=(_0x534503,_0x286698)=>(_0x31b8b0,_0x121ff7)=>_0x286698(_0x31b8b0,_0x121ff7,_0x534503),_0x523dc2=(_0x2ff9f3,_0x5bfe8a,_0x29f4a6)=>_0x42b575(_0x2ff9f3,_0x5bfe8a+'',_0x29f4a6);_0x34b242['UniverMCPUIPlugin']=class extends _0xfc971['Plugin']{constructor(_0x305209=_0x74df75,_0x3783da,_0x23139d,_0x27719c,_0x3bfa8a,_0x46375b){const _0x240c56=_0x14b8e3;super(),this[_0x240c56(0x118)]=_0x305209,this[_0x240c56(0x122)]=_0x3783da,this[_0x240c56(0x207)]=_0x23139d,this[_0x240c56(0x17c)]=_0x27719c,this[_0x240c56(0x143)]=_0x3bfa8a,this['_localeService']=_0x46375b;const {..._0x2f85d9}=_0xfc971[_0x240c56(0x20a)]({},_0x74df75,this['_config']);this[_0x240c56(0x207)][_0x240c56(0xbf)](_0x125e6e,_0x2f85d9);}async[_0x14b8e3(0x1b0)](){const _0x505db3=_0x14b8e3,_0x323c24=[[_0x34b242[_0x505db3(0x1a7)]],[_0x34b242['MCPConfigUIController']],[_0x34b242[_0x505db3(0xdf)]]];this['_injector'][_0x505db3(0x193)](_0x3c2b79[_0x505db3(0x1ef)])||_0x323c24[_0x505db3(0x9f)]([_0x3c2b79['ISocketService'],{'useClass':_0x3c2b79[_0x505db3(0xf2)]}]),_0x323c24['forEach'](_0x395915=>this[_0x505db3(0x122)][_0x505db3(0xee)](_0x395915)),this['_injector'][_0x505db3(0xd5)](_0x34b242[_0x505db3(0x1a7)]),this[_0x505db3(0x122)][_0x505db3(0xd5)](_0x34b242[_0x505db3(0xfe)]),this['_injector'][_0x505db3(0xd5)](_0x34b242[_0x505db3(0xdf)]);}},_0x523dc2(_0x34b242[_0x14b8e3(0x1e7)],_0x14b8e3(0xf5),'MCP_UI_PLUGIN'),_0x34b242['UniverMCPUIPlugin']=_0x92c027([_0xfc971[_0x14b8e3(0x213)](_0x42002e[_0x14b8e3(0x1a3)]),_0x84ef0e(0x1,_0xfc971[_0x14b8e3(0x9c)](_0xfc971[_0x14b8e3(0x20f)])),_0x84ef0e(0x2,_0xfc971['IConfigService']),_0x84ef0e(0x3,_0x3b1834[_0x14b8e3(0x10f)]),_0x84ef0e(0x4,_0xfc971[_0x14b8e3(0x214)]),_0x84ef0e(0x5,_0xfc971[_0x14b8e3(0x9c)](_0xfc971[_0x14b8e3(0x10a)]))],_0x34b242[_0x14b8e3(0x1e7)]),_0x34b242['MCPConfigPanel']=_0x11536d,_0x34b242[_0x14b8e3(0x1a1)]=_0x6231b5,_0x34b242[_0x14b8e3(0xb5)]=_0x2987d5,_0x34b242['enUS']=_0x287ff9,_0x34b242['zhCN']=_0x3ae8f1,Object['defineProperty'](_0x34b242,Symbol['toStringTag'],{'value':'Module'});}));function _0x3ffc(){const _0x103041=['_handleConfigure','MCPUIMenuController','getConfig','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','0\x200\x2016\x2016','clsx','Enable\x20Authentication','mcpConfig.configStep2','MCP\x20Connected','entries','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.title','_mcpCoreConfig$','UniverProMcp','length','univer-flex-1','add','jsxs','BehaviorSubject','mcpConfig.configSaved','WebSocketService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','UniverUi','pluginName','univer-text-red-500','apiKey','ComponentManager','MCP:\x20Unauthorized','4954551NYRMjo','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Enter\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCPConfigUIController','colorChannel1','M0\x200H16V16H0z','mcpConfig.connectionError.networkError','https://console.univer.ai','Disposable','网络连接错误,请检查您的网络连接','What\x20is\x20API\x20Key?','trim','_initializeMenus','univer-bg-red-500','MCP\x20Disconnected','LocaleService','@univerjs/ui','connectionStatus$','@univerjs-pro/mcp','Enable\x20authentication\x20for\x20secure\x20connections','IUIPartsService','Max\x20Retries','_blank','univer-shrink-0\x20univer-text-blue-500','NONE','2270944bEHyOT','xlink:href','HelpIcon','univer.ai','_config','assign','univer-text-white','use','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','url(#on-line-icon_clip0_910_349)','Disconnected','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children','_injector','101IPRNhe','string','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','subscribeConfigValue$','symbol','mcpConfig.configStepTitle','removeItem','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','evenodd','mcpConfig.connectionStatus.failed','mcpStatus.connecting','10178cJnWUR','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','current','_registerComponent','最大重试次数','text','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','function','univer-text-gray-400','MCP:\x20Network\x20Error','0\x200\x2017\x2016','MCP:\x20会话\x20ID\x20已被占用','univer-size-2\x20univer-rounded-full','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','OnLineIcon','univer-space-y-2','univer-flex\x20univer-items-start\x20univer-gap-2','_localStorageService','_loading$','on-line-icon_clip0_910_349','_dialogService','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','已连接','mergeMenu','_connectionController','url(#off-line-icon_clip0_910_343)','mcpStatus.clickToConfigure','保存中...','启用身份验证以获得安全连接','getCurrentConfig','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','配置保存成功','_mcpConnectionController','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.connectionStatus.connected','useState','<API_KEY>','@univerjs/network','MCP\x20重连中...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','会话ID','register','MCP\x20已连接','_localeService','1em','univer-shrink-0\x20univer-text-red-500','clipPath','mcpConfig.apiKey','COMMAND','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','pre','Bearer\x20','点击配置\x20MCP','jsx','6732770DNTCNb','未连接','value','react','DISCONNECTED','配置无效','mcpStatus.unknown','CONNECTING','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','11320iABnAE','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','<SESSION_ID>','FAILED','sessionId$','isValid','rxjs','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','mcpConfig.note1','_uiPartsService','close','BuiltInUIPart','createElement','ILogService','API\x20Key','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','IConfigService','什么是\x20API\x20密钥?','MCP\x20Client\x20Configuration','includes','univer-text-gray-500','API\x20密钥不能为空','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP_PLUGIN_CONFIG_KEY','HEADER_MENU','getOwnPropertyDescriptor','React','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Saving...','forwardRef','mcpConfig.connectionError.unauthorized','url(#$1','has','span','CloseIcon','univer-flex\x20univer-items-center\x20univer-gap-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-bg-blue-500','mcpStatus.retrying','MCP\x20状态未知','会话\x20ID\x20已被占用,请稍后再试','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','重启您的\x20MCP\x20客户端以使配置生效','next','http://www.w3.org/2000/svg','showConfigPanel','MCPStatusDisplay','disposeWithMe','UniverMCPPlugin','UNAUTHORIZED','enableAutoConnect','error','MCPConnectionUIController','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','off-line-icon','path','mcpConfig.description','MCP\x20连接中...','API\x20key\x20is\x20required','RETRYING','univer-bg-green-500','onStarting','CONNECTED','_apiKey$','mcpConfig.saving','连接中...','show','API\x20密钥长度至少需要\x2010\x20位','check-mark-icon','subscribe','open','mcp-ui.command.openConfigPanel','NETWORK_ERROR','mcpConfig.apiKeyPlaceholder','_commandService','useObservable','mcpStatus.disconnected','univer.plus','random','RibbonStartGroup','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','UniverIcon','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','MenuIcon','displayName','fill','_config$','Univer\x20AI\x20控制台','univer-bg-gray-500','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_initConfigSync','close-icon','Retrying...','mask','Failed\x20to\x20save\x20configuration','svg','connectInjector','重连中...','MCP\x20Retrying...','点击连接\x20MCP','UniverNetwork','_menuManagerService','button','mcpConfig.connectionInfo','MCPConfigPanel','amd','mcpStatus.connected','help-icon','@univerjs/core','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','useDependency','forEach','mcpConfig.validation.invalidConfig','API\x20密钥','MCP\x20配置','\x20-\x20','UniverMCPUIPlugin','MCP\x20Connecting...','MCPConnectionController','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','您的\x20API\x20密钥将在此浏览器中本地存储','BUTTON','univer-flex\x20univer-items-center\x20univer-gap-2','tag','ISocketService','OTHERS','defIds','CheckMarkIcon','mcpConfig.configError','MCP\x20连接失败','map','Authorization:','univer-space-y-3','_validateConfig','保存配置','Connected','https://mcp.univer.ai/mcp/?univer_session_id=','_initializeCommands','368bnUxUB','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpConfig.connectionStatus.retrying','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.apiApplyInfo.getStarted','9WXPrTq','1384070ZDfZYz','mcpConfig.apiApplyInfo.univerAiLabel','MCP:\x20Max\x20Retries\x20Exceeded','@univerjs/design','_configService','_initStatusComponent','showDeveloperTools','merge','univer-text-green-500','univer_session_id:','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.save','Injector','getItem','attrs','warn','DependentOn','ILocalStorageService','univer-text-yellow-500','univer-size-4','idSuffix','noopener\x20noreferrer','univerjs-icon\x20univerjs-icon-','_messageService','useRef','mcpStatus.unauthorized','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.apiKeyHint','univer-text-sm\x20univer-text-gray-500','validateApiKey','univer-min-w-0\x20univer-flex-1','MCP\x20Configuration','连接失败','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','启用身份验证','univer-flex\x20univer-items-start\x20univer-gap-3','1047dnYypy','mcpConfig.sessionIdDescription','object','Save\x20Configuration','off-line-icon_clip0_910_343','带有\x20Bearer\x20前缀的\x20API\x20密钥。','defs','MCPConnectionError','none','Session\x20ID','univer-flex\x20univer-gap-3','round','Inject','showStatus','substring','push','MAX_RETRIES_EXCEEDED','connectionError$','MCPConnectionStatus','mcpConfig.validation.apiKeyRequired','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','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','off','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.configParameters','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-font-medium','mcpConfig.connectionStatus.connecting','mcpConfig.validation.invalidApiKey','univer-flex\x20univer-flex-wrap\x20univer-gap-2','white','bottom','_initAutoConnect','label','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','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','配置参数:','OpenMCPConfigPanelCommand','_createConfigPanelComponent','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1038DJilks','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','Configuration\x20Steps:','MenuItemType','mcpConfig.apiApplyInfo.title','setConfig','stringify','errorMessage','Error','_logService','replace','univer-text-xs\x20univer-text-gray-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','univer-text-xs\x20univer-text-gray-500','MessageType','MCP:\x20未授权','Success','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.configInstructions','SESSION_ID_OCCUPIED','registerCommand','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','MCP\x20Unknown\x20Status','useCallback','registerComponent','配置步骤:','get','mcpServerUrl','__setCustomHeaders','div','配置保存失败','defineProperty','univer-space-y-4','currentColor','mcp-config-dialog'];_0x3ffc=function(){return _0x103041;};return _0x3ffc();}
|
|
1
|
+
(function(_0x2b0bda,_0x192091){const _0x3455e4=_0x21cb,_0x3bcacb=_0x2b0bda();while(!![]){try{const _0x57da88=-parseInt(_0x3455e4(0x2c0))/0x1+parseInt(_0x3455e4(0x364))/0x2*(parseInt(_0x3455e4(0x24c))/0x3)+-parseInt(_0x3455e4(0x358))/0x4*(-parseInt(_0x3455e4(0x2f6))/0x5)+parseInt(_0x3455e4(0x2e7))/0x6*(parseInt(_0x3455e4(0x20f))/0x7)+-parseInt(_0x3455e4(0x371))/0x8+parseInt(_0x3455e4(0x1fd))/0x9+-parseInt(_0x3455e4(0x338))/0xa*(parseInt(_0x3455e4(0x1ff))/0xb);if(_0x57da88===_0x192091)break;else _0x3bcacb['push'](_0x3bcacb['shift']());}catch(_0x24a28b){_0x3bcacb['push'](_0x3bcacb['shift']());}}}(_0x305e,0x79512),function(_0x4c7b85,_0x3bebcf){const _0x4c101c=_0x21cb;typeof exports==_0x4c101c(0x255)&&typeof module<'u'?_0x3bebcf(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==_0x4c101c(0x356)&&define[_0x4c101c(0x287)]?define([_0x4c101c(0x2a9),_0x4c101c(0x35d),_0x4c101c(0x343),_0x4c101c(0x334),'@univerjs/design','@univerjs/ui',_0x4c101c(0x272),_0x4c101c(0x20e),_0x4c101c(0x30b)],_0x3bebcf):(_0x4c7b85=typeof globalThis<'u'?globalThis:_0x4c7b85||self,_0x3bebcf(_0x4c7b85['UniverProMcpUi']={},_0x4c7b85[_0x4c101c(0x2ee)],_0x4c7b85['React'],_0x4c7b85[_0x4c101c(0x21a)],_0x4c7b85[_0x4c101c(0x2df)],_0x4c7b85['UniverUi'],_0x4c7b85[_0x4c101c(0x272)],_0x4c7b85[_0x4c101c(0x346)],_0x4c7b85[_0x4c101c(0x35c)]));}(this,function(_0x45d0c1,_0x484154,_0x3e2647,_0xbf05f8,_0x592e48,_0x1e3df4,_0x1f981e,_0xda6512,_0x46a57f){'use strict';const _0x48d253=_0x21cb;var _0x2ba35b=Object['defineProperty'],_0x48bb20=(_0xbe317f,_0x4e1814,_0x43e02f)=>_0x4e1814 in _0xbe317f?_0x2ba35b(_0xbe317f,_0x4e1814,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43e02f}):_0xbe317f[_0x4e1814]=_0x43e02f,_0x5c45d5=(_0x1155a4,_0x26e90f,_0x2dff0a)=>_0x48bb20(_0x1155a4,typeof _0x26e90f!=_0x48d253(0x29e)?_0x26e90f+'':_0x26e90f,_0x2dff0a);function _0x33b1d5({ref:_0x47379a,..._0x420058}){const _0x56487b=_0x48d253,{icon:_0x5804f5,id:_0x23261a,className:_0x10b3bd,extend:_0x267c87,..._0x5d9817}=_0x420058,_0x5881e7=('univerjs-icon\x20univerjs-icon-'+_0x23261a+'\x20'+(_0x10b3bd||''))[_0x56487b(0x202)](),_0x353a86=_0xda6512[_0x56487b(0x21f)]('_'+_0x437206());return _0x693773(_0x5804f5,''+_0x23261a,{'defIds':_0x5804f5[_0x56487b(0x289)],'idSuffix':_0x353a86[_0x56487b(0x246)]},{'ref':_0x47379a,'className':_0x5881e7,..._0x5d9817},_0x267c87);}function _0x693773(_0x509bea,_0x573977,_0x1d7dcc,_0x2822ba,_0x45777b){const _0x187480=_0x48d253;return _0xda6512[_0x187480(0x222)](_0x509bea[_0x187480(0x374)],{'key':_0x573977,..._0x32568f(_0x509bea,_0x1d7dcc,_0x45777b),..._0x2822ba},(_0x5f189b(_0x509bea,_0x1d7dcc)['children']||[])['map']((_0x359822,_0x13f3ad)=>_0x693773(_0x359822,_0x573977+'-'+_0x509bea[_0x187480(0x374)]+'-'+_0x13f3ad,_0x1d7dcc,void 0x0,_0x45777b)));}function _0x32568f(_0x4e32d9,_0x1234f2,_0x4c0ee1){const _0x2774ef=_0x48d253,_0x549cd5={..._0x4e32d9[_0x2774ef(0x296)]};_0x4c0ee1!=null&&_0x4c0ee1[_0x2774ef(0x323)]&&_0x549cd5['fill']===_0x2774ef(0x323)&&(_0x549cd5['fill']=_0x4c0ee1[_0x2774ef(0x323)]),_0x4e32d9[_0x2774ef(0x374)]===_0x2774ef(0x2cf)&&_0x549cd5['id']&&(_0x549cd5['id']=_0x549cd5['id']+_0x1234f2[_0x2774ef(0x223)]),Object[_0x2774ef(0x360)](_0x549cd5)['forEach'](([_0x51f539,_0x1fab3b])=>{const _0x389a07=_0x2774ef;_0x51f539===_0x389a07(0x2cf)&&typeof _0x1fab3b==_0x389a07(0x236)&&(_0x549cd5[_0x51f539]=_0x1fab3b[_0x389a07(0x273)](/url\(#(.*)\)/,_0x389a07(0x203)+_0x1234f2[_0x389a07(0x223)]+')'));});const {defIds:_0x36046f}=_0x1234f2;return!_0x36046f||_0x36046f['length']===0x0||(_0x4e32d9[_0x2774ef(0x374)]==='use'&&_0x549cd5[_0x2774ef(0x228)]&&(_0x549cd5[_0x2774ef(0x228)]=_0x549cd5[_0x2774ef(0x228)]+_0x1234f2[_0x2774ef(0x223)]),Object[_0x2774ef(0x360)](_0x549cd5)[_0x2774ef(0x245)](([_0x481904,_0x38e586])=>{const _0x58a4ed=_0x2774ef;typeof _0x38e586=='string'&&(_0x549cd5[_0x481904]=_0x38e586[_0x58a4ed(0x273)](/url\(#(.*)\)/,_0x58a4ed(0x203)+_0x1234f2[_0x58a4ed(0x223)]+')'));})),_0x549cd5;}function _0x5f189b(_0x583839,_0x105c98){const _0x2b57d9=_0x48d253;var _0x20b751;const {defIds:_0x3d3476}=_0x105c98;return!_0x3d3476||_0x3d3476[_0x2b57d9(0x2c3)]===0x0?_0x583839:_0x583839[_0x2b57d9(0x374)]===_0x2b57d9(0x320)&&((_0x20b751=_0x583839[_0x2b57d9(0x1fa)])!=null&&_0x20b751[_0x2b57d9(0x2c3)])?{..._0x583839,'children':_0x583839[_0x2b57d9(0x1fa)][_0x2b57d9(0x372)](_0x161da7=>typeof _0x161da7[_0x2b57d9(0x296)]['id']==_0x2b57d9(0x236)&&_0x3d3476&&_0x3d3476[_0x2b57d9(0x22b)](_0x161da7['attrs']['id'])?{..._0x161da7,'attrs':{..._0x161da7[_0x2b57d9(0x296)],'id':_0x161da7[_0x2b57d9(0x296)]['id']+_0x105c98['idSuffix']}}:_0x161da7)}:_0x583839;}function _0x437206(){const _0x4740de=_0x48d253;return Math[_0x4740de(0x2c8)]()[_0x4740de(0x21b)](0x24)[_0x4740de(0x291)](0x2,0x8);}_0x33b1d5['displayName']=_0x48d253(0x30c);const _0x539879={'tag':_0x48d253(0x225),'attrs':{'xmlns':_0x48d253(0x321),'fill':'none','viewBox':_0x48d253(0x34e),'width':'1em','height':'1em'},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':_0x48d253(0x1f9),'d':_0x48d253(0x36c),'fillRule':_0x48d253(0x32a),'clipRule':_0x48d253(0x32a)}}]},_0x4e2324=_0xda6512[_0x48d253(0x208)](function(_0x59d350,_0x5234f3){const _0x2a2f4b=_0x48d253;return _0xda6512['createElement'](_0x33b1d5,Object[_0x2a2f4b(0x24b)]({},_0x59d350,{'id':'check-mark-icon','ref':_0x5234f3,'icon':_0x539879}));});_0x4e2324[_0x48d253(0x363)]=_0x48d253(0x217);const _0x473235={'tag':_0x48d253(0x225),'attrs':{'xmlns':_0x48d253(0x321),'fill':_0x48d253(0x23a),'viewBox':_0x48d253(0x34e),'width':_0x48d253(0x290),'height':'1em'},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':'currentColor','d':_0x48d253(0x20d)}}]},_0xd05936=_0xda6512['forwardRef'](function(_0x507911,_0x59c67b){const _0x4674fc=_0x48d253;return _0xda6512['createElement'](_0x33b1d5,Object[_0x4674fc(0x24b)]({},_0x507911,{'id':'close-icon','ref':_0x59c67b,'icon':_0x473235}));});_0xd05936[_0x48d253(0x363)]='CloseIcon';const _0x124910={'tag':_0x48d253(0x225),'attrs':{'xmlns':_0x48d253(0x321),'fill':_0x48d253(0x23a),'viewBox':'0\x200\x2016\x2016','width':_0x48d253(0x290),'height':_0x48d253(0x290)},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':_0x48d253(0x1f9),'d':_0x48d253(0x25b)}},{'tag':_0x48d253(0x2ce),'attrs':{'fill':'currentColor','d':_0x48d253(0x350)}},{'tag':_0x48d253(0x2ce),'attrs':{'fill':_0x48d253(0x1f9),'d':_0x48d253(0x329),'fillRule':_0x48d253(0x32a),'clipRule':_0x48d253(0x32a)}}]},_0x31b6c0=_0xda6512[_0x48d253(0x208)](function(_0x28868d,_0x19a686){const _0x266dbd=_0x48d253;return _0xda6512[_0x266dbd(0x222)](_0x33b1d5,Object[_0x266dbd(0x24b)]({},_0x28868d,{'id':'help-icon','ref':_0x19a686,'icon':_0x124910}));});_0x31b6c0['displayName']=_0x48d253(0x28f);const _0x4f9863={'tag':_0x48d253(0x225),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x48d253(0x23a),'viewBox':_0x48d253(0x34e),'width':_0x48d253(0x290),'height':_0x48d253(0x290)},'children':[{'tag':'g','attrs':{'clipPath':_0x48d253(0x24a)},'children':[{'tag':'path','attrs':{'stroke':_0x48d253(0x1f9),'d':_0x48d253(0x26c),'strokeLinecap':'round','strokeLinejoin':_0x48d253(0x27a),'strokeWidth':1.2}}]},{'tag':_0x48d253(0x320),'attrs':{},'children':[{'tag':_0x48d253(0x206),'attrs':{'id':_0x48d253(0x253)},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':_0x48d253(0x27d),'d':_0x48d253(0x2b6)}}]}]}],'defIds':[_0x48d253(0x253)]},_0x47a5f5=_0xda6512[_0x48d253(0x208)](function(_0x4894a9,_0x28fa54){const _0x19e13b=_0x48d253;return _0xda6512[_0x19e13b(0x222)](_0x33b1d5,Object[_0x19e13b(0x24b)]({},_0x4894a9,{'id':'off-line-icon','ref':_0x28fa54,'icon':_0x4f9863}));});_0x47a5f5[_0x48d253(0x363)]=_0x48d253(0x261);const _0x3c0e57={'tag':_0x48d253(0x225),'attrs':{'xmlns':_0x48d253(0x321),'fill':_0x48d253(0x23a),'viewBox':'0\x200\x2017\x2016','width':_0x48d253(0x290),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x48d253(0x335)},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'stroke':_0x48d253(0x1f9),'d':_0x48d253(0x2ff),'strokeLinecap':_0x48d253(0x27a),'strokeLinejoin':_0x48d253(0x27a),'strokeWidth':1.2}}]},{'tag':_0x48d253(0x320),'attrs':{},'children':[{'tag':_0x48d253(0x206),'attrs':{'id':_0x48d253(0x213)},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':'white','d':_0x48d253(0x2b6),'transform':_0x48d253(0x2e0)}}]}]}],'defIds':[_0x48d253(0x213)]},_0x51bfc2=_0xda6512[_0x48d253(0x208)](function(_0x59aa04,_0x440782){const _0x1d3714=_0x48d253;return _0xda6512[_0x1d3714(0x222)](_0x33b1d5,Object[_0x1d3714(0x24b)]({},_0x59aa04,{'id':_0x1d3714(0x277),'ref':_0x440782,'icon':_0x3c0e57}));});_0x51bfc2[_0x48d253(0x363)]=_0x48d253(0x316);function _0xa390d2(_0x568cff){const _0x471100=_0x48d253;var _0x4b9e03,_0x2fced5;const {mcpCoreConfig:_0x13f1f3,onSave:_0x10f774,loading:_0xac9db4=!0x1,config:_0x2ad083,connectionStatus$:_0x20fe49,connectionError$:_0x35dbbf,currentApiKey$:_0x397255,currentSessionId$:_0x642d8b}=_0x568cff,_0x8718c0=_0x1e3df4[_0x471100(0x2cc)](_0x484154['LocaleService']),_0x36d48d=_0x1e3df4['useObservable'](_0x20fe49,_0xbf05f8[_0x471100(0x2d7)][_0x471100(0x25f)]),_0x2e53f3=_0x1e3df4[_0x471100(0x304)](_0x35dbbf,_0xbf05f8['MCPConnectionError'][_0x471100(0x284)]),_0x5acf16=_0x1e3df4['useObservable'](_0x642d8b,''),_0xea8e44=_0x1e3df4[_0x471100(0x304)](_0x397255,''),[_0x3f3c1d,_0x34ecda]=_0xda6512[_0x471100(0x22c)](_0xea8e44||''),_0x39a48b=!0x0,_0x50cc61=_0x2ad083['showDeveloperTools']&&_0x13f1f3[_0x471100(0x2db)]&&(_0x13f1f3[_0x471100(0x2db)][_0x471100(0x22b)](_0x471100(0x2ca))||_0x13f1f3[_0x471100(0x2db)]['includes']('univer.ai')),_0x34c0e7=(_0x4b9e03=_0x13f1f3[_0x471100(0x2db)])==null?void 0x0:_0x4b9e03[_0x471100(0x22b)]('univer.plus'),_0xab55d9=(_0x2fced5=_0x13f1f3[_0x471100(0x2db)])==null?void 0x0:_0x2fced5['includes']('univer.ai'),_0x150fe6=_0x34c0e7?'https://console.univer.plus':_0x471100(0x35b),_0x59c08e=_0x2ad083[_0x471100(0x31a)]&&(_0x34c0e7||_0xab55d9),[_0x2ad5bb,_0x30ee59]=_0xda6512[_0x471100(0x22c)](!_0x3f3c1d['trim']()),_0xfba5=(_0x531251,_0x139cb8)=>{const _0x439698=_0x471100;if(_0x139cb8===_0xbf05f8['MCPConnectionError'][_0x439698(0x2ef)])return _0x439698(0x2a2);switch(_0x531251){case _0xbf05f8[_0x439698(0x2d7)][_0x439698(0x352)]:return _0x439698(0x2b8);case _0xbf05f8['MCPConnectionStatus']['CONNECTING']:case _0xbf05f8[_0x439698(0x2d7)]['RETRYING']:return _0x439698(0x30a);case _0xbf05f8[_0x439698(0x2d7)][_0x439698(0x30e)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x439698(0x303);}},_0x364176=(_0x25f32f,_0x115384)=>{const _0x4c0d91=_0x471100;if(_0x115384===_0xbf05f8['MCPConnectionError'][_0x4c0d91(0x2ef)])return _0x4c0d91(0x1f2);switch(_0x25f32f){case _0xbf05f8['MCPConnectionStatus'][_0x4c0d91(0x352)]:return _0x4c0d91(0x252);case _0xbf05f8[_0x4c0d91(0x2d7)][_0x4c0d91(0x355)]:case _0xbf05f8[_0x4c0d91(0x2d7)][_0x4c0d91(0x20b)]:return'univer-bg-blue-500';case _0xbf05f8[_0x4c0d91(0x2d7)][_0x4c0d91(0x30e)]:return _0x4c0d91(0x1f2);default:return _0x4c0d91(0x366);}},_0x4433d7=_0x1c71b4=>{const _0x231e21=_0x471100;switch(_0x1c71b4){case _0xbf05f8['MCPConnectionStatus']['CONNECTED']:return _0x8718c0['t']('mcpConfig.connectionStatus.connected');case _0xbf05f8[_0x231e21(0x2d7)][_0x231e21(0x355)]:return _0x8718c0['t']('mcpConfig.connectionStatus.connecting');case _0xbf05f8[_0x231e21(0x2d7)][_0x231e21(0x30e)]:return _0x8718c0['t']('mcpConfig.connectionStatus.failed');case _0xbf05f8['MCPConnectionStatus'][_0x231e21(0x20b)]:return _0x8718c0['t'](_0x231e21(0x35a));default:return _0x8718c0['t'](_0x231e21(0x2a4));}},_0x559ac3=_0x20b011=>{const _0x3a9a00=_0x471100;switch(_0x20b011){case _0xbf05f8[_0x3a9a00(0x28d)][_0x3a9a00(0x2ef)]:return _0x8718c0['t'](_0x3a9a00(0x319));case _0xbf05f8['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x8718c0['t'](_0x3a9a00(0x31e));case _0xbf05f8[_0x3a9a00(0x28d)][_0x3a9a00(0x27c)]:return _0x8718c0['t']('mcpConfig.connectionError.networkError');case _0xbf05f8[_0x3a9a00(0x28d)][_0x3a9a00(0x26b)]:return _0x8718c0['t'](_0x3a9a00(0x1f7));default:return'';}},_0x536c0b=_0xda6512[_0x471100(0x2ad)](()=>{const _0x1a239b=_0x471100,_0x35ded1={..._0x13f1f3,'apiKey':_0x3f3c1d[_0x1a239b(0x202)](),'enableAuth':_0x39a48b};_0x10f774(_0x35ded1);},[_0x13f1f3,_0x3f3c1d,_0x39a48b,_0x10f774]),_0x421c6e=_0x3f3c1d[_0x471100(0x202)]()[_0x471100(0x2c3)]>0x0;return _0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x247),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x2a1),'children':_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x227),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x2d5),'children':_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':'univer-text-white','children':'⚙'})}),_0x3e2647[_0x471100(0x2ea)]('div',{'children':_0x3e2647[_0x471100(0x2ea)]('p',{'className':_0x471100(0x243),'children':_0x8718c0['t'](_0x471100(0x265))})})]})}),_0x3e2647['jsxs'](_0x471100(0x259),{'className':_0x471100(0x35e),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x592e48[_0x471100(0x375)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0xfba5(_0x36d48d,_0x2e53f3)),'children':_0x3e2647['jsxs'](_0x471100(0x259),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x592e48['clsx'](_0x471100(0x297),_0x364176(_0x36d48d,_0x2e53f3))}),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x27b),'children':_0x4433d7(_0x36d48d)})]})}),_0x2e53f3!==_0xbf05f8['MCPConnectionError']['NONE']&&(_0x36d48d===_0xbf05f8[_0x471100(0x2d7)][_0x471100(0x30e)]||_0x2e53f3===_0xbf05f8[_0x471100(0x28d)][_0x471100(0x2ef)])&&_0x3e2647[_0x471100(0x2ea)]('div',{'className':_0x471100(0x248),'children':_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x3e2647['jsx']('span',{'className':_0x471100(0x1f4),'children':'⚠️'}),_0x3e2647[_0x471100(0x2ea)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x559ac3(_0x2e53f3)})]})})]}),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x362),'children':[_0x3e2647['jsxs']('div',{'className':_0x471100(0x23f),'children':[_0x3e2647['jsxs'](_0x471100(0x2d9),{'className':_0x471100(0x2b4),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'children':'🔑'}),'\x20',_0x8718c0['t']('mcpConfig.apiKey'),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x28a),'children':'*'}),_0x50cc61&&_0x3e2647['jsx']('a',{'className':_0x471100(0x201),'title':_0x8718c0['t'](_0x471100(0x2a6)),'role':_0x471100(0x22e),'onClick':()=>_0x30ee59(!0x0),'children':_0x3e2647[_0x471100(0x2ea)](_0x31b6c0,{})})]}),_0x3e2647[_0x471100(0x2ea)](_0x592e48[_0x471100(0x2e8)],{'type':_0x471100(0x353),'placeholder':_0x8718c0['t'](_0x471100(0x1f8)),'value':_0x3f3c1d,'disabled':_0xac9db4,'autoComplete':_0x471100(0x313),'onChange':_0x34ecda}),_0x3e2647[_0x471100(0x2ea)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x8718c0['t']('mcpConfig.apiKeyHint')})]}),_0x50cc61&&_0x2ad5bb&&_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x279),'children':[_0x3e2647[_0x471100(0x2ea)]('a',{'className':_0x471100(0x258),'role':'button','onClick':()=>_0x30ee59(!0x1),'children':_0x3e2647[_0x471100(0x2ea)](_0xd05936,{'className':'univer-size-4'})}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x21e),'children':[_0x3e2647['jsx'](_0x471100(0x259),{'className':_0x471100(0x26f),'children':_0x3e2647[_0x471100(0x2ea)]('span',{'className':_0x471100(0x2fb),'children':'🚀'})}),_0x3e2647['jsxs']('div',{'className':_0x471100(0x231),'children':[_0x3e2647['jsx']('h4',{'className':_0x471100(0x33d),'children':_0x8718c0['t']('mcpConfig.apiApplyInfo.title')}),_0x3e2647['jsx']('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x8718c0['t'](_0x471100(0x200))}),_0x3e2647['jsx'](_0x471100(0x259),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x59c08e&&_0x3e2647[_0x471100(0x2ab)]('a',{'className':_0x471100(0x249),'href':_0x150fe6,'target':_0x471100(0x29a),'rel':'noopener\x20noreferrer','children':[_0x3e2647[_0x471100(0x2ea)]('span',{'children':'🤖'}),_0x8718c0['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x2a3),'children':'↗'})]})}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x349),'children':['✨','\x20',_0x8718c0['t'](_0x471100(0x357))]})]})]})]}),_0x2ad083['showDeveloperTools']&&_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x3e2647[_0x471100(0x2ab)]('h4',{'className':_0x471100(0x28c),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'children':'🔗'}),'\x20',_0x8718c0['t'](_0x471100(0x242))]}),_0x3e2647['jsxs'](_0x471100(0x259),{'className':_0x471100(0x365),'children':[_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x23e),'children':[_0x3e2647['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x8718c0['t'](_0x471100(0x2bd))}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x23f),'children':[_0x3e2647['jsx'](_0x471100(0x259),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x8718c0['t'](_0x471100(0x307))}),_0x3e2647[_0x471100(0x2ab)]('div',{'className':_0x471100(0x31c),'children':[_0x3e2647[_0x471100(0x2ab)]('div',{'className':_0x471100(0x34a),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x36b),'children':'1'}),_0x8718c0['t'](_0x471100(0x2fe))]}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x34a),'children':[_0x3e2647['jsx']('span',{'className':_0x471100(0x36b),'children':'2'}),_0x8718c0['t'](_0x471100(0x2f4))]}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x34a),'children':[_0x3e2647[_0x471100(0x2ea)]('span',{'className':_0x471100(0x36b),'children':'3'}),_0x8718c0['t'](_0x471100(0x36d))]})]})]})]}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x23f),'children':[_0x3e2647['jsx'](_0x471100(0x259),{'className':_0x471100(0x34f),'children':_0x471100(0x2d1)}),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x2f3),'children':_0x3e2647['jsx'](_0x471100(0x2a5),{'className':_0x471100(0x2fd),'children':JSON[_0x471100(0x20a)]({'mcpServers':{'univer':{'url':_0x471100(0x2ac)+(_0x5acf16||'<SESSION_ID>'),'type':'http','headers':{'Authorization':_0x471100(0x22f)+(_0x3f3c1d||'<API_KEY>')}}}},null,0x2)})})]}),_0x3e2647['jsxs'](_0x471100(0x259),{'className':_0x471100(0x23e),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x8718c0['t'](_0x471100(0x326))}),_0x3e2647['jsxs'](_0x471100(0x259),{'className':_0x471100(0x23f),'children':[_0x3e2647['jsxs'](_0x471100(0x259),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x3e2647[_0x471100(0x2ea)]('div',{'className':_0x471100(0x292)}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x237),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x30f),'children':_0x471100(0x24e)}),_0x3e2647['jsx'](_0x471100(0x259),{'className':_0x471100(0x25d),'children':_0x8718c0['t'](_0x471100(0x2bf))})]})]}),_0x3e2647['jsxs']('div',{'className':_0x471100(0x23d),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x292)}),_0x3e2647[_0x471100(0x2ab)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'Authorization:'}),_0x3e2647['jsx']('div',{'className':_0x471100(0x25d),'children':_0x8718c0['t'](_0x471100(0x2dd))})]})]})]})]})]})]}),_0x3e2647[_0x471100(0x2ea)](_0x592e48['Button'],{'onClick':_0x536c0b,'disabled':!_0x421c6e||_0xac9db4,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0xac9db4?_0x3e2647[_0x471100(0x2ab)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'children':'⟲'}),_0x8718c0['t'](_0x471100(0x2b9))]}):_0x3e2647[_0x471100(0x2ab)](_0x471100(0x276),{'className':_0x471100(0x34a),'children':[_0x3e2647['jsx'](_0x4e2324,{}),_0x8718c0['t'](_0x471100(0x361))]})}),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x1ed),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x2e5),'children':'💡'}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x2eb),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x37a),'children':_0x471100(0x31d)}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'children':['•',_0x8718c0['t'](_0x471100(0x32e))]}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'children':['•',_0x8718c0['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x5888c7=_0x48d253(0x2c4),_0x2aaf12={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x5a2868=Object['getOwnPropertyDescriptor'],_0x5d58b7=(_0x29bf58,_0x271f0f,_0x2260c2,_0x16eed1)=>{const _0x5fb47b=_0x48d253;for(var _0x2f5f3f=_0x16eed1>0x1?void 0x0:_0x16eed1?_0x5a2868(_0x271f0f,_0x2260c2):_0x271f0f,_0x24bc46=_0x29bf58[_0x5fb47b(0x2c3)]-0x1,_0x4d77a3;_0x24bc46>=0x0;_0x24bc46--)(_0x4d77a3=_0x29bf58[_0x24bc46])&&(_0x2f5f3f=_0x4d77a3(_0x2f5f3f)||_0x2f5f3f);return _0x2f5f3f;},_0x2a8e41=(_0x215e0d,_0xa4519)=>(_0x11b07f,_0x514173)=>_0xa4519(_0x11b07f,_0x514173,_0x215e0d);const _0x35b174=_0x48d253(0x31b),_0xaae86=_0x48d253(0x260);_0x45d0c1['MCPConfigUIController']=class extends _0x484154['Disposable']{constructor(_0x5d230c,_0x310290,_0x1ad1c1,_0x1e6126,_0x42f9fc,_0x57ef70,_0x5b3b18,_0x438676,_0x448ad6,_0x32d6a3){const _0x347445=_0x48d253;super(),_0x5c45d5(this,_0x347445(0x2b1),new _0x1f981e[(_0x347445(0x219))](!0x1)),_0x5c45d5(this,_0x347445(0x32b),new _0x1f981e[(_0x347445(0x219))]({})),_0x5c45d5(this,'_config$',new _0x1f981e[(_0x347445(0x219))]({})),_0x5c45d5(this,_0x347445(0x345),new _0x1f981e[(_0x347445(0x219))]('')),_0x5c45d5(this,_0x347445(0x2dc),async _0x3a1878=>{const _0xf967ac=_0x347445;var _0x36ebde,_0x2f1775;this['_loading$'][_0xf967ac(0x226)](!0x0);try{const _0x16e92a=await this['_validateConfig'](_0x3a1878);if(!_0x16e92a[_0xf967ac(0x305)]){this[_0xf967ac(0x36f)][_0xf967ac(0x221)]({'type':_0x592e48['MessageType'][_0xf967ac(0x293)],'content':_0x16e92a[_0xf967ac(0x2b5)]||this[_0xf967ac(0x37d)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3a1878['apiKey']?await this['_localStorageService'][_0xf967ac(0x23b)](_0x35b174,_0x3a1878[_0xf967ac(0x379)][_0xf967ac(0x202)]()):await this[_0xf967ac(0x2ba)][_0xf967ac(0x275)](_0x35b174),this[_0xf967ac(0x345)][_0xf967ac(0x226)](((_0x36ebde=_0x3a1878[_0xf967ac(0x379)])==null?void 0x0:_0x36ebde[_0xf967ac(0x202)]())||''),this[_0xf967ac(0x2aa)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x2f1775=_0x3a1878[_0xf967ac(0x379)])==null?void 0x0:_0x2f1775[_0xf967ac(0x202)]())}),this[_0xf967ac(0x36f)]['show']({'type':_0x592e48[_0xf967ac(0x210)][_0xf967ac(0x32d)],'content':this[_0xf967ac(0x37d)]['t'](_0xf967ac(0x239))}),setTimeout(()=>{const _0xe29508=_0xf967ac;this[_0xe29508(0x205)]['close'](_0xaae86);},0x320);}catch(_0x401b04){this['_logService'][_0xf967ac(0x269)](_0xf967ac(0x294),_0x401b04),this[_0xf967ac(0x36f)][_0xf967ac(0x221)]({'type':_0x592e48[_0xf967ac(0x210)][_0xf967ac(0x293)],'content':this[_0xf967ac(0x37d)]['t'](_0xf967ac(0x235))});}finally{this['_loading$'][_0xf967ac(0x226)](!0x1);}}),(this[_0x347445(0x1f6)]=_0x5d230c,this[_0x347445(0x2f0)]=_0x310290,this[_0x347445(0x280)]=_0x1ad1c1,this[_0x347445(0x2ba)]=_0x1e6126,this['_dialogService']=_0x42f9fc,this[_0x347445(0x36f)]=_0x57ef70,this[_0x347445(0x2e4)]=_0x5b3b18,this['_localeService']=_0x438676,this[_0x347445(0x229)]=_0x448ad6,this[_0x347445(0x2aa)]=_0x32d6a3,this[_0x347445(0x271)](),this['_loadStoredApiKey'](),this['_registerComponent']());}['showConfigPanel'](){const _0x380c3c=_0x48d253,_0x273a8d=this[_0x380c3c(0x280)][_0x380c3c(0x285)](_0x5888c7);_0x273a8d!=null&&_0x273a8d[_0x380c3c(0x31a)]&&this[_0x380c3c(0x205)][_0x380c3c(0x254)]({'id':_0xaae86,'title':{'title':this[_0x380c3c(0x37d)]['t'](_0x380c3c(0x368))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x2366f3=_0x380c3c;this[_0x2366f3(0x205)][_0x2366f3(0x212)](_0xaae86);}});}[_0x48d253(0x34b)](){const _0x5ab145=_0x48d253;return this[_0x5ab145(0x32b)][_0x5ab145(0x351)];}[_0x48d253(0x315)](){const _0x91bb25=_0x48d253;this[_0x91bb25(0x1ec)](this['_componentManager'][_0x91bb25(0x370)](_0x91bb25(0x262),this[_0x91bb25(0x331)]()));}[_0x48d253(0x331)](){const _0x30cdb6=_0x48d253;return _0x1e3df4[_0x30cdb6(0x27e)](()=>{const _0x3df8e9=_0x30cdb6;var _0x2c9999,_0x1eefb2,_0x5e785b;return _0x3e2647[_0x3df8e9(0x2ea)](_0xa390d2,{'config':this['_config$'][_0x3df8e9(0x351)],'mcpCoreConfig':this[_0x3df8e9(0x32b)][_0x3df8e9(0x351)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x3df8e9(0x2dc)],'loading':this[_0x3df8e9(0x2b1)][_0x3df8e9(0x351)],'connectionStatus$':(_0x2c9999=this[_0x3df8e9(0x2aa)])==null?void 0x0:_0x2c9999[_0x3df8e9(0x281)],'connectionError$':(_0x1eefb2=this[_0x3df8e9(0x2aa)])==null?void 0x0:_0x1eefb2['connectionError$'],'currentSessionId$':(_0x5e785b=this[_0x3df8e9(0x2aa)])==null?void 0x0:_0x5e785b[_0x3df8e9(0x24d)]});},this[_0x30cdb6(0x1f6)]);}[_0x48d253(0x271)](){const _0x158b0f=_0x48d253;this[_0x158b0f(0x1ec)](this[_0x158b0f(0x280)][_0x158b0f(0x220)](_0xbf05f8[_0x158b0f(0x2c2)])[_0x158b0f(0x35f)](_0x4eba10=>{const _0x28f5da=_0x158b0f;this[_0x28f5da(0x32b)][_0x28f5da(0x226)](_0x4eba10||{});}));const _0x5b92ce=this[_0x158b0f(0x280)][_0x158b0f(0x285)](_0xbf05f8[_0x158b0f(0x2c2)]);this[_0x158b0f(0x32b)][_0x158b0f(0x226)](_0x5b92ce||{}),this['disposeWithMe'](this['_configService'][_0x158b0f(0x220)](_0x5888c7)['subscribe'](_0x3f5fa0=>{const _0x48ea13=_0x158b0f;this[_0x48ea13(0x1f3)][_0x48ea13(0x226)](_0x3f5fa0||{});}));const _0x466b22=this[_0x158b0f(0x280)][_0x158b0f(0x285)](_0x5888c7);this[_0x158b0f(0x1f3)][_0x158b0f(0x226)](_0x466b22||{});}async[_0x48d253(0x28b)](){const _0x2b3b35=_0x48d253,_0x22f8b8=this[_0x2b3b35(0x280)][_0x2b3b35(0x285)](_0x5888c7);if(!(_0x22f8b8!=null&&_0x22f8b8[_0x2b3b35(0x31a)]))return;const _0x41d1d5=await this[_0x2b3b35(0x2ba)][_0x2b3b35(0x204)](_0x35b174);_0x41d1d5&&(this[_0x2b3b35(0x2aa)][_0x2b3b35(0x376)]({'Authorization':_0x2b3b35(0x22f)+_0x41d1d5}),this[_0x2b3b35(0x345)][_0x2b3b35(0x226)](_0x41d1d5));}async[_0x48d253(0x2c1)](_0x3a53fc){const _0x2ddd82=_0x48d253;if(!_0x3a53fc[_0x2ddd82(0x379)]||_0x3a53fc[_0x2ddd82(0x379)][_0x2ddd82(0x202)]()[_0x2ddd82(0x2c3)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x2ddd82(0x37d)]['t'](_0x2ddd82(0x342))};if(_0x3a53fc[_0x2ddd82(0x379)][_0x2ddd82(0x202)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x2ddd82(0x37d)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x409f88=await this['_injector']['get'](_0xbf05f8[_0x2ddd82(0x339)])[_0x2ddd82(0x318)](_0x3a53fc[_0x2ddd82(0x379)][_0x2ddd82(0x202)]());return _0x409f88[_0x2ddd82(0x305)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x409f88['error']||this['_localeService']['t'](_0x2ddd82(0x22d))};}catch(_0x193bad){return console['warn'](_0x2ddd82(0x268),_0x193bad),{'isValid':!0x0};}}},_0x45d0c1[_0x48d253(0x2ae)]=_0x5d58b7([_0x2a8e41(0x0,_0x484154[_0x48d253(0x2e1)](_0x484154[_0x48d253(0x324)])),_0x2a8e41(0x1,_0x1e3df4[_0x48d253(0x2cb)]),_0x2a8e41(0x2,_0x484154[_0x48d253(0x33b)]),_0x2a8e41(0x3,_0x484154[_0x48d253(0x241)]),_0x2a8e41(0x4,_0x1e3df4[_0x48d253(0x2d2)]),_0x2a8e41(0x5,_0x1e3df4[_0x48d253(0x282)]),_0x2a8e41(0x6,_0x484154[_0x48d253(0x2e1)](_0x1e3df4[_0x48d253(0x322)])),_0x2a8e41(0x7,_0x484154['Inject'](_0x484154[_0x48d253(0x348)])),_0x2a8e41(0x8,_0x484154[_0x48d253(0x274)]),_0x2a8e41(0x9,_0x484154[_0x48d253(0x2e1)](_0xbf05f8[_0x48d253(0x339)]))],_0x45d0c1[_0x48d253(0x2ae)]);const _0x3c28e7={'id':_0x48d253(0x267),'type':_0x484154['CommandType'][_0x48d253(0x24f)],'handler':async(_0xa48d8f,_0x4cf9a3)=>(_0xa48d8f[_0x48d253(0x32f)](_0x45d0c1['MCPConfigUIController'])[_0x48d253(0x29b)](),!0x0)};function _0x2ba4fb(_0x1cdf8f,_0x2d7f53){const _0x2895cd=_0x48d253;switch(_0x1cdf8f){case _0xbf05f8[_0x2895cd(0x2d7)]['DISCONNECTED']:return _0x2895cd(0x270);case _0xbf05f8[_0x2895cd(0x2d7)]['CONNECTING']:return _0x2895cd(0x218);case _0xbf05f8[_0x2895cd(0x2d7)][_0x2895cd(0x352)]:return'mcpStatus.connected';case _0xbf05f8[_0x2895cd(0x2d7)][_0x2895cd(0x30e)]:switch(_0x2d7f53){case _0xbf05f8['MCPConnectionError'][_0x2895cd(0x2ef)]:return _0x2895cd(0x1f5);case _0xbf05f8[_0x2895cd(0x28d)][_0x2895cd(0x286)]:return _0x2895cd(0x2c5);case _0xbf05f8['MCPConnectionError'][_0x2895cd(0x27c)]:return'mcpStatus.networkError';case _0xbf05f8[_0x2895cd(0x28d)][_0x2895cd(0x26b)]:return _0x2895cd(0x2d0);default:return'mcpStatus.failed';}case _0xbf05f8[_0x2895cd(0x2d7)]['RETRYING']:return _0x2895cd(0x22a);default:return'mcpStatus.unknown';}}function _0x25df53(_0x185223,_0x16ef2c,_0x554afc,_0x1986de=!0x0){const _0x35f9b3=_0x48d253,_0x3ee9ce=_0x2ba4fb(_0x185223,_0x16ef2c),_0x42792c=_0x554afc['t'](_0x3ee9ce);return _0x1986de?_0x185223===_0xbf05f8['MCPConnectionStatus'][_0x35f9b3(0x25f)]&&_0x16ef2c===_0xbf05f8[_0x35f9b3(0x28d)][_0x35f9b3(0x2ef)]?_0x42792c+_0x35f9b3(0x336)+_0x554afc['t'](_0x35f9b3(0x25e)):_0x185223===_0xbf05f8['MCPConnectionStatus'][_0x35f9b3(0x352)]?''+_0x42792c:_0x185223===_0xbf05f8[_0x35f9b3(0x2d7)][_0x35f9b3(0x25f)]||_0x185223===_0xbf05f8[_0x35f9b3(0x2d7)]['FAILED']?_0x42792c+_0x35f9b3(0x336)+_0x554afc['t']('mcpStatus.clickToConnect'):_0x42792c:_0x42792c;}function _0xe44f9b(_0x256a91){const _0xbb6fad=_0x48d253;switch(_0x256a91){case _0xbf05f8['MCPConnectionStatus'][_0xbb6fad(0x352)]:return _0xbb6fad(0x33a);case _0xbf05f8['MCPConnectionStatus'][_0xbb6fad(0x355)]:case _0xbf05f8['MCPConnectionStatus']['RETRYING']:return _0xbb6fad(0x2be);case _0xbf05f8[_0xbb6fad(0x2d7)][_0xbb6fad(0x30e)]:case _0xbf05f8[_0xbb6fad(0x2d7)]['DISCONNECTED']:return'univer-text-red-500';default:return _0xbb6fad(0x25c);}}function _0x11e09c(_0x3e2964){const _0x2cd357=_0x48d253,{status$:_0x4d46c7,error$:_0x2eee20,onConfigure:_0x522b2c,showClickable:_0x5ebc95=!0x0}=_0x3e2964,_0x437b2e=_0x1e3df4[_0x2cd357(0x304)](_0x4d46c7,_0xbf05f8['MCPConnectionStatus'][_0x2cd357(0x25f)]),_0x101e21=_0x1e3df4[_0x2cd357(0x304)](_0x2eee20,_0xbf05f8[_0x2cd357(0x28d)]['NONE']),_0x33f81e=_0x1e3df4[_0x2cd357(0x2cc)](_0x484154[_0x2cd357(0x348)]),_0x264352=_0x437b2e===_0xbf05f8['MCPConnectionStatus']['CONNECTED'];_0x437b2e===_0xbf05f8[_0x2cd357(0x2d7)]['CONNECTING']||_0xbf05f8['MCPConnectionStatus']['RETRYING'];const _0x35b4bf=_0x33f81e['t'](_0x2ba4fb(_0x437b2e,_0x101e21)),_0x24fb99=_0x25df53(_0x437b2e,_0x101e21,_0x33f81e,_0x5ebc95),_0x238cac=_0xe44f9b(_0x437b2e),_0x1652f9=_0x264352?_0x3e2647[_0x2cd357(0x2ea)](_0x51bfc2,{}):_0x3e2647[_0x2cd357(0x2ea)](_0x47a5f5,{}),_0x4926cc=_0xda6512[_0x2cd357(0x2ad)](()=>{_0x5ebc95&&_0x522b2c&&_0x522b2c();},[_0x5ebc95,_0x522b2c]);function _0xc3074f(){const _0x30de6d=_0x2cd357;return _0x3e2647['jsxs'](_0x30de6d(0x259),{'className':_0x592e48['clsx'](_0x30de6d(0x295),_0x5ebc95&&_0x522b2c&&'\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':_0x30de6d(0x22e),'onClick':_0x5ebc95&&_0x522b2c?_0x4926cc:void 0x0,'children':[_0x3e2647['jsx'](_0x30de6d(0x259),{'className':_0x592e48[_0x30de6d(0x375)](_0x30de6d(0x2d4),_0x238cac),'children':_0x1652f9}),_0x3e2647['jsx'](_0x30de6d(0x259),{'className':_0x30de6d(0x2a0),'children':_0x35b4bf})]});}return _0x3e2647[_0x2cd357(0x2ea)](_0x592e48['Tooltip'],{'title':_0x24fb99,'placement':_0x2cd357(0x377),'children':_0xc3074f()});}var _0x29c3cc=Object[_0x48d253(0x25a)],_0x127c47=(_0x58e889,_0xcb04a9,_0x113610,_0x255afb)=>{const _0x51f240=_0x48d253;for(var _0xc1f030=_0x255afb>0x1?void 0x0:_0x255afb?_0x29c3cc(_0xcb04a9,_0x113610):_0xcb04a9,_0x238b14=_0x58e889[_0x51f240(0x2c3)]-0x1,_0x1a1bc5;_0x238b14>=0x0;_0x238b14--)(_0x1a1bc5=_0x58e889[_0x238b14])&&(_0xc1f030=_0x1a1bc5(_0xc1f030)||_0xc1f030);return _0xc1f030;},_0x1df1b8=(_0xcd7a06,_0x3770c0)=>(_0x220e66,_0x276bf4)=>_0x3770c0(_0x220e66,_0x276bf4,_0xcd7a06);_0x45d0c1[_0x48d253(0x257)]=class extends _0x484154[_0x48d253(0x2d6)]{constructor(_0x2f4674,_0x59a5d1,_0x20a0eb,_0x2ad74b){const _0x31c6d9=_0x48d253;super(),this[_0x31c6d9(0x1f6)]=_0x2f4674,this[_0x31c6d9(0x29f)]=_0x59a5d1,this[_0x31c6d9(0x2f0)]=_0x20a0eb,this[_0x31c6d9(0x280)]=_0x2ad74b,this[_0x31c6d9(0x233)](),this[_0x31c6d9(0x337)]();}[_0x48d253(0x233)](){const _0xa5af44=_0x48d253,_0x4afac8=this['_configService'][_0xa5af44(0x285)](_0x5888c7);_0x4afac8!=null&&_0x4afac8[_0xa5af44(0x31a)]&&(this['_connectionController'][_0xa5af44(0x2d8)]=!0x1);}[_0x48d253(0x337)](){const _0x31ed98=_0x48d253,_0x3c07b2=this[_0x31ed98(0x280)][_0x31ed98(0x285)](_0x5888c7);(_0x3c07b2==null?void 0x0:_0x3c07b2['showStatus'])!==!0x1&&this['disposeWithMe'](this[_0x31ed98(0x2f0)][_0x31ed98(0x2fc)](_0x1e3df4['BuiltInUIPart'][_0x31ed98(0x340)],()=>{const _0xf390cc=_0x31ed98;var _0x15dbb7;return _0x1e3df4[_0xf390cc(0x27e)](_0x1509b1({'status$':this[_0xf390cc(0x29f)][_0xf390cc(0x281)],'error$':this[_0xf390cc(0x29f)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x15dbb7=_0x3c07b2==null?void 0x0:_0x3c07b2['showDeveloperTools'])!=null?_0x15dbb7:!0x1}),this[_0xf390cc(0x1f6)]);}));}[_0x48d253(0x238)](){const _0x5c2797=_0x48d253;this[_0x5c2797(0x1f6)][_0x5c2797(0x32f)](_0x45d0c1[_0x5c2797(0x2ae)])['showConfigPanel']();}},_0x45d0c1[_0x48d253(0x257)]=_0x127c47([_0x1df1b8(0x0,_0x484154[_0x48d253(0x2e1)](_0x484154['Injector'])),_0x1df1b8(0x1,_0x484154['Inject'](_0xbf05f8[_0x48d253(0x339)])),_0x1df1b8(0x2,_0x1e3df4[_0x48d253(0x2cb)]),_0x1df1b8(0x3,_0x484154[_0x48d253(0x33b)])],_0x45d0c1[_0x48d253(0x257)]);function _0x1509b1(_0x52e8b9){const {status$:_0x127774,error$:_0x154a05,onConfigure:_0x22f0d8,showClickable:_0x119540}=_0x52e8b9;return function(){const _0x4d85fe=_0x21cb;return _0x3e2647[_0x4d85fe(0x2ea)](_0x11e09c,{'status$':_0x127774,'error$':_0x154a05,'onConfigure':_0x22f0d8,'showClickable':_0x119540});};}function _0x6151f8(_0x3525a3){const _0x4835aa=_0x48d253;return{'id':_0x3c28e7['id'],'type':_0x1e3df4[_0x4835aa(0x29c)][_0x4835aa(0x33c)],'icon':_0x4835aa(0x240),'title':_0x4835aa(0x368),'tooltip':_0x4835aa(0x368)};}const _0x5e0f88={[_0x1e3df4[_0x48d253(0x314)]['OTHERS']]:{[_0x3c28e7['id']]:{'order':0xa,'menuItemFactory':_0x6151f8}}};var _0x596f28=Object[_0x48d253(0x25a)],_0x240f11=(_0x19d19d,_0x1e0dd2,_0x4ae563,_0x4342e2)=>{const _0xbd3fa3=_0x48d253;for(var _0x43f036=_0x4342e2>0x1?void 0x0:_0x4342e2?_0x596f28(_0x1e0dd2,_0x4ae563):_0x1e0dd2,_0x41828d=_0x19d19d[_0xbd3fa3(0x2c3)]-0x1,_0xed7529;_0x41828d>=0x0;_0x41828d--)(_0xed7529=_0x19d19d[_0x41828d])&&(_0x43f036=_0xed7529(_0x43f036)||_0x43f036);return _0x43f036;},_0x52a47a=(_0x55ad0c,_0x2c9c13)=>(_0x29bc8d,_0x18d966)=>_0x2c9c13(_0x29bc8d,_0x18d966,_0x55ad0c);_0x45d0c1['MCPUIMenuController']=class extends _0x484154[_0x48d253(0x2d6)]{constructor(_0x132c22,_0x2fdcd4){const _0x13578b=_0x48d253;super(),this[_0x13578b(0x33f)]=_0x132c22,this['_menuManagerService']=_0x2fdcd4,this[_0x13578b(0x34c)](),this[_0x13578b(0x2c6)]();}[_0x48d253(0x34c)](){const _0x55ebaa=_0x48d253;[_0x3c28e7][_0x55ebaa(0x245)](_0x4baa2=>{const _0x51ce21=_0x55ebaa;this[_0x51ce21(0x1ec)](this['_commandService']['registerCommand'](_0x4baa2));});}[_0x48d253(0x2c6)](){const _0x5588c7=_0x48d253;this[_0x5588c7(0x250)][_0x5588c7(0x20c)](_0x5e0f88);}},_0x45d0c1[_0x48d253(0x36a)]=_0x240f11([_0x52a47a(0x0,_0x484154[_0x48d253(0x1ef)]),_0x52a47a(0x1,_0x1e3df4[_0x48d253(0x2bc)])],_0x45d0c1['MCPUIMenuController']);const _0xe9acff={'mcpStatus':{'disconnected':_0x48d253(0x234),'connecting':_0x48d253(0x207),'connected':_0x48d253(0x2b7),'failed':_0x48d253(0x31f),'retrying':_0x48d253(0x2f9),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x48d253(0x2b3),'sessionOccupied':_0x48d253(0x311),'networkError':_0x48d253(0x37c),'maxRetriesExceeded':_0x48d253(0x2b0),'clickToConnect':_0x48d253(0x27f),'clickToConfigure':_0x48d253(0x34d)},'mcpConfig':{'title':_0x48d253(0x2d1),'description':_0x48d253(0x21d),'apiKey':_0x48d253(0x1fe),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x48d253(0x1fc),'enableAuth':_0x48d253(0x333),'enableAuthHint':_0x48d253(0x2f8),'connectionInfo':_0x48d253(0x2de),'mcpClientConfig':_0x48d253(0x2de),'configInstructions':_0x48d253(0x1e9),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x48d253(0x2e3),'configStep2':_0x48d253(0x216),'configStep3':_0x48d253(0x266),'sessionId':_0x48d253(0x2f1),'sessionIdDescription':_0x48d253(0x278),'authorizationDescription':_0x48d253(0x2da),'configParameters':_0x48d253(0x230),'maxRetries':_0x48d253(0x251),'save':_0x48d253(0x299),'saving':_0x48d253(0x1f0),'note1':_0x48d253(0x312),'note2':_0x48d253(0x21c),'configSaved':_0x48d253(0x224),'configError':_0x48d253(0x327),'apiApplyInfo':{'title':_0x48d253(0x215),'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':_0x48d253(0x288),'getStarted':_0x48d253(0x256)},'validation':{'apiKeyRequired':_0x48d253(0x359),'apiKeyTooShort':_0x48d253(0x2c9),'invalidConfig':_0x48d253(0x2c7),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x48d253(0x2bb),'connecting':_0x48d253(0x2e9),'connected':_0x48d253(0x2ec),'failed':'Connection\x20Failed','retrying':_0x48d253(0x2e6)},'connectionError':{'unauthorized':_0x48d253(0x2b2),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x48d253(0x328),'maxRetriesExceeded':_0x48d253(0x344)}}},_0x3fb008={'mcpStatus':{'disconnected':_0x48d253(0x1f1),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x48d253(0x23c),'retrying':_0x48d253(0x1eb),'unknown':_0x48d253(0x300),'unauthorized':_0x48d253(0x214),'sessionOccupied':_0x48d253(0x2f7),'networkError':_0x48d253(0x367),'maxRetriesExceeded':_0x48d253(0x26e),'clickToConnect':_0x48d253(0x2e2),'clickToConfigure':_0x48d253(0x298)},'mcpConfig':{'title':_0x48d253(0x1fb),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x48d253(0x29d),'apiKeyPlaceholder':_0x48d253(0x2f2),'apiKeyHint':_0x48d253(0x264),'enableAuth':_0x48d253(0x211),'enableAuthHint':_0x48d253(0x2a8),'connectionInfo':_0x48d253(0x2a7),'mcpClientConfig':_0x48d253(0x2a7),'configInstructions':_0x48d253(0x373),'configStepTitle':_0x48d253(0x2f5),'configStep1':_0x48d253(0x330),'configStep2':_0x48d253(0x209),'configStep3':_0x48d253(0x2ed),'sessionId':_0x48d253(0x232),'sessionIdDescription':_0x48d253(0x2af),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':'最大重试次数','save':'保存配置','saving':_0x48d253(0x37b),'note1':_0x48d253(0x30d),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x48d253(0x332),'univerAiLabel':_0x48d253(0x378),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x48d253(0x301),'apiKeyTooShort':_0x48d253(0x26a),'invalidConfig':_0x48d253(0x263),'invalidApiKey':_0x48d253(0x308)},'connectionStatus':{'disconnected':_0x48d253(0x354),'connecting':_0x48d253(0x310),'connected':_0x48d253(0x2fa),'failed':_0x48d253(0x28e),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x48d253(0x32c),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x48d253(0x325),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x3f85ff=Object[_0x48d253(0x302)],_0x73e2d=Object[_0x48d253(0x25a)],_0xe1d9ac=(_0x165edf,_0x139300,_0x2aa140)=>_0x139300 in _0x165edf?_0x3f85ff(_0x165edf,_0x139300,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2aa140}):_0x165edf[_0x139300]=_0x2aa140,_0x2fb23d=(_0x17fdeb,_0x4b8309,_0x103742,_0x2347f8)=>{const _0x54fd1c=_0x48d253;for(var _0xb3202b=_0x2347f8>0x1?void 0x0:_0x2347f8?_0x73e2d(_0x4b8309,_0x103742):_0x4b8309,_0x543857=_0x17fdeb[_0x54fd1c(0x2c3)]-0x1,_0x416089;_0x543857>=0x0;_0x543857--)(_0x416089=_0x17fdeb[_0x543857])&&(_0xb3202b=_0x416089(_0xb3202b)||_0xb3202b);return _0xb3202b;},_0x6ec710=(_0x4740a8,_0x2d8a59)=>(_0x49f27e,_0x41453e)=>_0x2d8a59(_0x49f27e,_0x41453e,_0x4740a8),_0x4c441c=(_0x48f999,_0x256ea4,_0x481759)=>_0xe1d9ac(_0x48f999,_0x256ea4+'',_0x481759);_0x45d0c1[_0x48d253(0x347)]=class extends _0x484154[_0x48d253(0x2d3)]{constructor(_0x5639b6=_0x2aaf12,_0x5ca273,_0x1f1d36,_0xfe3931,_0x4fb739,_0x3579e8){const _0x32b1f0=_0x48d253;super(),this[_0x32b1f0(0x306)]=_0x5639b6,this[_0x32b1f0(0x1f6)]=_0x5ca273,this['_configService']=_0x1f1d36,this[_0x32b1f0(0x2f0)]=_0xfe3931,this[_0x32b1f0(0x2ba)]=_0x4fb739,this[_0x32b1f0(0x37d)]=_0x3579e8;const {..._0x590678}=_0x484154['merge']({},_0x2aaf12,this['_config']);this[_0x32b1f0(0x280)][_0x32b1f0(0x341)](_0x5888c7,_0x590678);}async['onStarting'](){const _0xa08aa9=_0x48d253,_0x29321b=[[_0x45d0c1[_0xa08aa9(0x257)]],[_0x45d0c1[_0xa08aa9(0x2ae)]],[_0x45d0c1[_0xa08aa9(0x36a)]]];this[_0xa08aa9(0x1f6)][_0xa08aa9(0x309)](_0x46a57f[_0xa08aa9(0x283)])||_0x29321b[_0xa08aa9(0x26d)]([_0x46a57f[_0xa08aa9(0x283)],{'useClass':_0x46a57f['WebSocketService']}]),_0x29321b[_0xa08aa9(0x245)](_0xb9dc08=>this[_0xa08aa9(0x1f6)]['add'](_0xb9dc08)),this[_0xa08aa9(0x1f6)][_0xa08aa9(0x32f)](_0x45d0c1['MCPConnectionUIController']),this[_0xa08aa9(0x1f6)]['get'](_0x45d0c1[_0xa08aa9(0x2ae)]),this[_0xa08aa9(0x1f6)][_0xa08aa9(0x32f)](_0x45d0c1['MCPUIMenuController']);}},_0x4c441c(_0x45d0c1[_0x48d253(0x347)],_0x48d253(0x1ee),'MCP_UI_PLUGIN'),_0x45d0c1[_0x48d253(0x347)]=_0x2fb23d([_0x484154[_0x48d253(0x36e)](_0xbf05f8[_0x48d253(0x369)]),_0x6ec710(0x1,_0x484154[_0x48d253(0x2e1)](_0x484154[_0x48d253(0x324)])),_0x6ec710(0x2,_0x484154[_0x48d253(0x33b)]),_0x6ec710(0x3,_0x1e3df4[_0x48d253(0x2cb)]),_0x6ec710(0x4,_0x484154['ILocalStorageService']),_0x6ec710(0x5,_0x484154['Inject'](_0x484154[_0x48d253(0x348)]))],_0x45d0c1[_0x48d253(0x347)]),_0x45d0c1[_0x48d253(0x262)]=_0xa390d2,_0x45d0c1[_0x48d253(0x2cd)]=_0x11e09c,_0x45d0c1[_0x48d253(0x317)]=_0x3c28e7,_0x45d0c1[_0x48d253(0x244)]=_0xe9acff,_0x45d0c1[_0x48d253(0x33e)]=_0x3fb008,Object['defineProperty'](_0x45d0c1,Symbol['toStringTag'],{'value':_0x48d253(0x1ea)});}));function _0x21cb(_0x390ce3,_0x1cb387){_0x390ce3=_0x390ce3-0x1e9;const _0x305e0c=_0x305e();let _0x21cb7e=_0x305e0c[_0x390ce3];return _0x21cb7e;}function _0x305e(){const _0xde8b84=['COMMAND','_menuManagerService','Max\x20Retries','univer-bg-green-500','off-line-icon_clip0_910_343','open','object','Get\x20your\x20API\x20key\x20in\x20seconds','MCPConnectionUIController','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','div','getOwnPropertyDescriptor','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','univer-text-gray-500','univer-text-xs\x20univer-text-gray-500','mcpStatus.clickToConfigure','DISCONNECTED','mcp-config-dialog','OffLineIcon','MCPConfigPanel','配置无效','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.description','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mcp-ui.command.openConfigPanel','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','error','API\x20密钥长度至少需要\x2010\x20位','MAX_RETRIES_EXCEEDED','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','push','MCP:\x20超出最大重试次数','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpStatus.disconnected','_initConfigSync','rxjs','replace','ILogService','removeItem','span','on-line-icon','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','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','round','univer-text-sm\x20univer-font-medium','NETWORK_ERROR','white','connectInjector','Click\x20to\x20connect\x20MCP','_configService','connectionStatus$','IMessageService','ISocketService','NONE','getConfig','SESSION_ID_OCCUPIED','amd','Univer\x20AI\x20Console','defIds','univer-text-red-500','_loadStoredApiKey','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCPConnectionError','连接失败','HelpIcon','1em','substring','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Error','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-items-center','attrs','univer-size-2\x20univer-rounded-full','点击配置\x20MCP','Save\x20Configuration','_blank','showConfigPanel','MenuItemType','API\x20密钥','symbol','_connectionController','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-text-gray-400','mcpConfig.connectionStatus.disconnected','pre','mcpConfig.apiApplyInfo.title','MCP\x20客户端配置','启用身份验证以获得安全连接','exports','_mcpConnectionController','jsxs','https://mcp.univer.ai/mcp/?univer_session_id=','useCallback','MCPConfigUIController','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP:\x20Max\x20Retries\x20Exceeded','_loading$','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Unauthorized','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','errorMessage','M0\x200H16V16H0z','MCP\x20Connected','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.saving','_localStorageService','Disconnected','IMenuManagerService','mcpConfig.configInstructions','univer-text-yellow-500','mcpConfig.sessionIdDescription','850305bokkNg','_validateConfig','MCP_PLUGIN_CONFIG_KEY','length','mcp-ui.config','mcpStatus.sessionOccupied','_initializeMenus','Invalid\x20configuration','random','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer.plus','IUIPartsService','useDependency','MCPStatusDisplay','path','mask','mcpStatus.maxRetriesExceeded','MCP\x20Configuration','IDialogService','Plugin','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Disposable','MCPConnectionStatus','enableAutoConnect','label','API\x20key\x20with\x20Bearer\x20prefix.','mcpServerUrl','_handleConfigSave','mcpConfig.authorizationDescription','MCP\x20Client\x20Configuration','UniverDesign','translate(.97)','Inject','点击连接\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','_componentManager','univer-shrink-0\x20univer-text-blue-500','Retrying...','5928732PSlGrF','Input','Connecting...','jsx','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Connected','重启您的\x20MCP\x20客户端以使配置生效','UniverCore','UNAUTHORIZED','_uiPartsService','Session\x20ID','请输入您的\x20API\x20密钥','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpConfig.configStep2','配置步骤:','38645KmCHNR','MCP:\x20会话\x20ID\x20已被占用','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','已连接','univer-text-blue-600','registerComponent','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpConfig.configStep1','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','MCP\x20状态未知','API\x20密钥不能为空','defineProperty','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','useObservable','isValid','_config','mcpConfig.configStepTitle','API\x20密钥无效,请检查密钥是否正确','has','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','@univerjs/network','UniverIcon','配置更改将立即生效','FAILED','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','连接中...','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','off','RibbonStartGroup','_registerComponent','OnLineIcon','OpenMCPConfigPanelCommand','validateApiKey','mcpConfig.connectionError.unauthorized','showDeveloperTools','mcp.apiKey','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Configuration\x20Notes:','mcpConfig.connectionError.sessionOccupied','MCP\x20Connection\x20Failed','defs','http://www.w3.org/2000/svg','ComponentManager','colorChannel1','Injector','网络连接错误,请检查您的网络连接','mcpConfig.configParameters','Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','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','evenodd','_mcpCoreConfig$','权限验证失败,请检查您的\x20API\x20密钥','Success','mcpConfig.note1','get','复制以下\x20JSON\x20配置','_createConfigPanelComponent','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Enable\x20Authentication','@univerjs-pro/mcp','url(#on-line-icon_clip0_910_349)','\x20-\x20','_initStatusComponent','1230010UwnFCf','MCPConnectionController','univer-text-green-500','IConfigService','BUTTON','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','zhCN','_commandService','HEADER_MENU','setConfig','mcpConfig.validation.apiKeyRequired','react/jsx-runtime','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_apiKey$','React','UniverMCPUIPlugin','LocaleService','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-items-center\x20univer-gap-2','getCurrentConfig','_initializeCommands','Click\x20to\x20configure\x20MCP','0\x200\x2016\x2016','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','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','value','CONNECTED','text','未连接','CONNECTING','function','mcpConfig.apiApplyInfo.getStarted','372mMnVQk','API\x20key\x20is\x20required','mcpConfig.connectionStatus.retrying','https://console.univer.ai','UniverNetwork','@univerjs/core','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','subscribe','entries','mcpConfig.save','univer-space-y-5','displayName','559688STZrll','univer-space-y-4','univer-bg-gray-500','MCP:\x20网络错误','mcpConfig.title','UniverMCPPlugin','MCPUIMenuController','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','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','mcpConfig.configStep3','DependentOn','_messageService','register','4843768vSYLKM','map','将以下配置添加到您的\x20MCP\x20客户端设置中:','tag','clsx','__setCustomHeaders','bottom','Univer\x20AI\x20控制台','apiKey','univer-font-medium','保存中...','MCP:\x20Network\x20Error','_localeService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Module','MCP\x20重连中...','disposeWithMe','univer-flex\x20univer-gap-3','pluginName','ICommandService','Saving...','MCP\x20已断开','univer-bg-red-500','_config$','univer-shrink-0\x20univer-text-red-500','mcpStatus.unauthorized','_injector','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.apiKeyPlaceholder','currentColor','children','MCP\x20配置','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','5228388gcAEHh','API\x20Key','55NhOabM','mcpConfig.apiApplyInfo.description','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','trim','url(#$1','getItem','_dialogService','clipPath','MCP\x20Connecting...','forwardRef','将配置添加到您的\x20MCP\x20客户端设置文件中','stringify','RETRYING','mergeMenu','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','react','7LRyLPk','MessageType','启用身份验证','close','on-line-icon_clip0_910_349','MCP:\x20未授权','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','CheckMarkIcon','mcpStatus.connecting','BehaviorSubject','UniverProMcp','toString','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','useRef','subscribeConfigValue$','show','createElement','idSuffix','Configuration\x20saved\x20successfully','svg','next','univer-flex\x20univer-items-center\x20univer-gap-3','xlink:href','_logService','mcpStatus.retrying','includes','useState','mcpConfig.validation.invalidApiKey','button','Bearer\x20','Configuration\x20Parameters:','univer-flex-1','会话ID','_initAutoConnect','MCP\x20Disconnected','mcpConfig.configError','string','univer-min-w-0\x20univer-flex-1','_handleConfigure','mcpConfig.configSaved','none','setItem','MCP\x20连接失败','univer-flex\x20univer-items-start\x20univer-gap-3','univer-space-y-3','univer-space-y-2','MenuIcon','ILocalStorageService','mcpConfig.connectionInfo','univer-text-sm\x20univer-text-gray-500','enUS','forEach','current','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','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','url(#off-line-icon_clip0_910_343)','assign','3xcqdMC','sessionId$','univer_session_id:'];_0x305e=function(){return _0xde8b84;};return _0x305e();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2041(_0x1e9480,_0x381c88){_0x1e9480=_0x1e9480-0xdd;var _0x44a34a=_0x44a3();var _0x20418f=_0x44a34a[_0x1e9480];return _0x20418f;}(function(_0x51c65f,_0x872bb2){var _0x10cf0b=_0x2041,_0x46b668=_0x51c65f();while(!![]){try{var _0x39c39e=-parseInt(_0x10cf0b(0xe2))/0x1*(parseInt(_0x10cf0b(0xec))/0x2)+-parseInt(_0x10cf0b(0xfd))/0x3+-parseInt(_0x10cf0b(0xe0))/0x4+parseInt(_0x10cf0b(0x109))/0x5*(-parseInt(_0x10cf0b(0x10a))/0x6)+-parseInt(_0x10cf0b(0xf6))/0x7*(parseInt(_0x10cf0b(0xff))/0x8)+-parseInt(_0x10cf0b(0x10f))/0x9*(parseInt(_0x10cf0b(0x101))/0xa)+parseInt(_0x10cf0b(0xde))/0xb*(parseInt(_0x10cf0b(0xef))/0xc);if(_0x39c39e===_0x872bb2)break;else _0x46b668['push'](_0x46b668['shift']());}catch(_0x3e1a31){_0x46b668['push'](_0x46b668['shift']());}}}(_0x44a3,0x63f85),function(_0x433c7d,_0x50ee1a){var _0x5e10c6=_0x2041;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x50ee1a():typeof define==_0x5e10c6(0x100)&&define[_0x5e10c6(0x10d)]?define(_0x50ee1a):(_0x433c7d=typeof globalThis<'u'?globalThis:_0x433c7d||self,_0x433c7d[_0x5e10c6(0xdf)]=_0x50ee1a());}(this,function(){'use strict';var _0x560ed4=_0x2041;return{'mcpStatus':{'disconnected':_0x560ed4(0x110),'connecting':_0x560ed4(0xfb),'connected':_0x560ed4(0xeb),'failed':_0x560ed4(0x105),'retrying':'MCP\x20Retrying...','unknown':_0x560ed4(0xe1),'unauthorized':_0x560ed4(0xea),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x560ed4(0x108),'maxRetriesExceeded':_0x560ed4(0xe5),'clickToConnect':_0x560ed4(0x10e),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x560ed4(0xf0),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x560ed4(0xf1),'apiKeyPlaceholder':_0x560ed4(0x103),'apiKeyHint':_0x560ed4(0xf2),'enableAuth':_0x560ed4(0xfe),'enableAuthHint':_0x560ed4(0x102),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x560ed4(0xf3),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x560ed4(0x106),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x560ed4(0xdd),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x560ed4(0xfa),'authorizationDescription':_0x560ed4(0xe9),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x560ed4(0xf4),'save':'Save\x20Configuration','saving':_0x560ed4(0x10b),'note1':_0x560ed4(0x104),'note2':_0x560ed4(0xfc),'configSaved':_0x560ed4(0x10c),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x560ed4(0xf5),'description':_0x560ed4(0xe4),'univerAiLabel':_0x560ed4(0xee),'getStarted':_0x560ed4(0xed)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x560ed4(0xf7),'invalidApiKey':_0x560ed4(0xf9)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x560ed4(0xe3),'connected':'Connected','failed':_0x560ed4(0xe8),'retrying':_0x560ed4(0xe6)},'connectionError':{'unauthorized':_0x560ed4(0x107),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x560ed4(0xf8),'maxRetriesExceeded':_0x560ed4(0xe7)}}};}));function _0x44a3(){var _0x389f10=['290499JxIZUT','UniverProMcpUiCaES','1566488sZPDzH','MCP\x20Unknown\x20Status','2KYOsyA','Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized','MCP\x20Connected','674876lRjNGs','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','1464ymQyfG','MCP\x20Configuration','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Client\x20Configuration','Max\x20Retries','What\x20is\x20API\x20Key?','1246TYkKuj','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1916748vztajq','Enable\x20Authentication','27408TcsoHf','function','60650cwXTSg','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connection\x20Failed','Configuration\x20Steps:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Network\x20Error','30yIZeVR','466854xZxVqx','Saving...','Configuration\x20saved\x20successfully','amd','Click\x20to\x20connect\x20MCP','45liwFAj','MCP\x20Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file'];_0x44a3=function(){return _0x389f10;};return _0x44a3();}
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4e7b(){var _0x18aa0f=['2355084QvDSDm','Click\x20to\x20connect\x20MCP','6487872hloZIw','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connected','MCP\x20Connecting...','API\x20key\x20with\x20Bearer\x20prefix.','7CoXpVW','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','8380870fHZEgB','Enable\x20Authentication','Disconnected','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','2347076AutSQJ','Configuration\x20Parameters:','1812550LwgBKV','9lhQbHW','UniverProMcpUiEnUS','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20configuration','Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','object','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','amd','MCP\x20Retrying...','What\x20is\x20API\x20Key?','2209310DgDoRJ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','3wVZsFx','MCP:\x20Max\x20Retries\x20Exceeded','function','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Steps:','MCP\x20Client\x20Configuration','Save\x20Configuration','MCP:\x20Unauthorized','Connecting...','Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','4446828sdTIqM','MCP:\x20Network\x20Error','MCP\x20Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','Max\x20Retries','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Copy\x20the\x20JSON\x20configuration\x20below'];_0x4e7b=function(){return _0x18aa0f;};return _0x4e7b();}function _0xf63c(_0x2a9a6a,_0x138bc2){_0x2a9a6a=_0x2a9a6a-0xb9;var _0x4e7b4f=_0x4e7b();var _0xf63c20=_0x4e7b4f[_0x2a9a6a];return _0xf63c20;}(function(_0x448cae,_0x140bc1){var _0x3ec73a=_0xf63c,_0x2ca9e7=_0x448cae();while(!![]){try{var _0x174671=-parseInt(_0x3ec73a(0xe2))/0x1+-parseInt(_0x3ec73a(0xe0))/0x2*(-parseInt(_0x3ec73a(0xbe))/0x3)+-parseInt(_0x3ec73a(0xc9))/0x4+parseInt(_0x3ec73a(0xda))/0x5+parseInt(_0x3ec73a(0xd1))/0x6*(parseInt(_0x3ec73a(0xd8))/0x7)+parseInt(_0x3ec73a(0xd3))/0x8+parseInt(_0x3ec73a(0xe3))/0x9*(-parseInt(_0x3ec73a(0xb9))/0xa);if(_0x174671===_0x140bc1)break;else _0x2ca9e7['push'](_0x2ca9e7['shift']());}catch(_0x23e4be){_0x2ca9e7['push'](_0x2ca9e7['shift']());}}}(_0x4e7b,0xddaf6),function(_0xf7433e,_0x250920){var _0x14ee1c=_0xf63c;typeof exports==_0x14ee1c(0xe9)&&typeof module<'u'?module['exports']=_0x250920():typeof define==_0x14ee1c(0xc0)&&define[_0x14ee1c(0xeb)]?define(_0x250920):(_0xf7433e=typeof globalThis<'u'?globalThis:_0xf7433e||self,_0xf7433e[_0x14ee1c(0xe4)]=_0x250920());}(this,function(){'use strict';var _0x39c3ac=_0xf63c;return{'mcpStatus':{'disconnected':_0x39c3ac(0xcb),'connecting':_0x39c3ac(0xd6),'connected':'MCP\x20Connected','failed':_0x39c3ac(0xbd),'retrying':_0x39c3ac(0xec),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x39c3ac(0xc5),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x39c3ac(0xca),'maxRetriesExceeded':_0x39c3ac(0xbf),'clickToConnect':_0x39c3ac(0xd2),'clickToConfigure':_0x39c3ac(0xbc)},'mcpConfig':{'title':_0x39c3ac(0xbb),'description':_0x39c3ac(0xcc),'apiKey':_0x39c3ac(0xdd),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x39c3ac(0xe5),'enableAuth':_0x39c3ac(0xdb),'enableAuthHint':_0x39c3ac(0xc1),'connectionInfo':_0x39c3ac(0xc3),'mcpClientConfig':_0x39c3ac(0xc3),'configInstructions':_0x39c3ac(0xe8),'configStepTitle':_0x39c3ac(0xc2),'configStep1':_0x39c3ac(0xd0),'configStep2':_0x39c3ac(0xba),'configStep3':_0x39c3ac(0xc8),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x39c3ac(0xd7),'configParameters':_0x39c3ac(0xe1),'maxRetries':_0x39c3ac(0xce),'save':_0x39c3ac(0xc4),'saving':'Saving...','note1':_0x39c3ac(0xd9),'note2':_0x39c3ac(0xea),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x39c3ac(0xed),'description':_0x39c3ac(0xd4),'univerAiLabel':_0x39c3ac(0xcd),'getStarted':_0x39c3ac(0xdf)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x39c3ac(0xe6),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x39c3ac(0xdc),'connecting':_0x39c3ac(0xc6),'connected':_0x39c3ac(0xd5),'failed':_0x39c3ac(0xc7),'retrying':_0x39c3ac(0xe7)},'connectionError':{'unauthorized':_0x39c3ac(0xcf),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x39c3ac(0xde)}}};}));
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2540(){var _0x35320f=['function','amd','Max\x20Retries','31850MrllVk','MCP\x20Client\x20Configuration','MCP\x20Unknown\x20Status','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20is\x20required','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Disconnected','993006TSoVFM','354219KSYqXQ','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','280mnOhHR','521UBeCue','MCP\x20Configuration','Configuration\x20saved\x20successfully','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','Click\x20to\x20connect\x20MCP','MCP\x20Connecting...','MCP\x20Retrying...','MCP\x20Connection\x20Failed','2081277nLTAhi','exports','MCP:\x20Network\x20Error','Connected','7aRdwqz','API\x20key\x20with\x20Bearer\x20prefix.','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enable\x20authentication\x20for\x20secure\x20connections','What\x20is\x20API\x20Key?','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Disconnected','UniverProMcpUiEsES','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Copy\x20the\x20JSON\x20configuration\x20below','57064fLdkww','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','object','4126790blRepy','Configuration\x20Parameters:','Configuration\x20Steps:','28KwlnIO','MCP\x20Connected','Invalid\x20configuration','MCP:\x20Unauthorized','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets'];_0x2540=function(){return _0x35320f;};return _0x2540();}function _0x22d6(_0x3f8624,_0x352907){_0x3f8624=_0x3f8624-0x15f;var _0x25400c=_0x2540();var _0x22d65d=_0x25400c[_0x3f8624];return _0x22d65d;}(function(_0x575e34,_0x47fe5e){var _0x5b6bf1=_0x22d6,_0x2054c3=_0x575e34();while(!![]){try{var _0xbfa1a8=-parseInt(_0x5b6bf1(0x193))/0x1*(-parseInt(_0x5b6bf1(0x192))/0x2)+parseInt(_0x5b6bf1(0x18f))/0x3+parseInt(_0x5b6bf1(0x178))/0x4*(-parseInt(_0x5b6bf1(0x182))/0x5)+parseInt(_0x5b6bf1(0x18e))/0x6+parseInt(_0x5b6bf1(0x165))/0x7*(-parseInt(_0x5b6bf1(0x171))/0x8)+parseInt(_0x5b6bf1(0x161))/0x9+-parseInt(_0x5b6bf1(0x175))/0xa;if(_0xbfa1a8===_0x47fe5e)break;else _0x2054c3['push'](_0x2054c3['shift']());}catch(_0x5c5e40){_0x2054c3['push'](_0x2054c3['shift']());}}}(_0x2540,0x1e1e5),function(_0x4c121e,_0x3e88da){var _0x14a05d=_0x22d6;typeof exports==_0x14a05d(0x174)&&typeof module<'u'?module[_0x14a05d(0x162)]=_0x3e88da():typeof define==_0x14a05d(0x17f)&&define[_0x14a05d(0x180)]?define(_0x3e88da):(_0x4c121e=typeof globalThis<'u'?globalThis:_0x4c121e||self,_0x4c121e[_0x14a05d(0x16e)]=_0x3e88da());}(this,function(){'use strict';var _0x1ac19b=_0x22d6;return{'mcpStatus':{'disconnected':_0x1ac19b(0x18d),'connecting':_0x1ac19b(0x199),'connected':_0x1ac19b(0x179),'failed':_0x1ac19b(0x160),'retrying':_0x1ac19b(0x15f),'unknown':_0x1ac19b(0x184),'unauthorized':_0x1ac19b(0x17b),'sessionOccupied':_0x1ac19b(0x185),'networkError':_0x1ac19b(0x163),'maxRetriesExceeded':_0x1ac19b(0x191),'clickToConnect':_0x1ac19b(0x198),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1ac19b(0x194),'description':_0x1ac19b(0x17e),'apiKey':_0x1ac19b(0x172),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1ac19b(0x186),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1ac19b(0x16a),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x1ac19b(0x183),'configInstructions':_0x1ac19b(0x169),'configStepTitle':_0x1ac19b(0x177),'configStep1':_0x1ac19b(0x170),'configStep2':_0x1ac19b(0x17c),'configStep3':_0x1ac19b(0x18b),'sessionId':'Session\x20ID','sessionIdDescription':_0x1ac19b(0x173),'authorizationDescription':_0x1ac19b(0x166),'configParameters':_0x1ac19b(0x176),'maxRetries':_0x1ac19b(0x181),'save':'Save\x20Configuration','saving':_0x1ac19b(0x197),'note1':_0x1ac19b(0x189),'note2':_0x1ac19b(0x18a),'configSaved':_0x1ac19b(0x195),'configError':_0x1ac19b(0x190),'apiApplyInfo':{'title':_0x1ac19b(0x16b),'description':_0x1ac19b(0x196),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x1ac19b(0x167)},'validation':{'apiKeyRequired':_0x1ac19b(0x188),'apiKeyTooShort':_0x1ac19b(0x168),'invalidConfig':_0x1ac19b(0x17a),'invalidApiKey':_0x1ac19b(0x187)},'connectionStatus':{'disconnected':_0x1ac19b(0x16d),'connecting':'Connecting...','connected':_0x1ac19b(0x164),'failed':_0x1ac19b(0x17d),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x1ac19b(0x16c),'sessionOccupied':_0x1ac19b(0x18c),'networkError':_0x1ac19b(0x16f),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x398c(_0x56c8ab,_0x4c4092){_0x56c8ab=_0x56c8ab-0x163;var _0x26c838=_0x26c8();var _0x398c02=_0x26c838[_0x56c8ab];return _0x398c02;}(function(_0xe87046,_0x2eeefa){var _0x8e8897=_0x398c,_0x383c4e=_0xe87046();while(!![]){try{var _0xbabd3e=parseInt(_0x8e8897(0x182))/0x1+-parseInt(_0x8e8897(0x1a0))/0x2*(-parseInt(_0x8e8897(0x17f))/0x3)+-parseInt(_0x8e8897(0x199))/0x4*(parseInt(_0x8e8897(0x174))/0x5)+parseInt(_0x8e8897(0x16f))/0x6+parseInt(_0x8e8897(0x180))/0x7+parseInt(_0x8e8897(0x17c))/0x8*(parseInt(_0x8e8897(0x170))/0x9)+-parseInt(_0x8e8897(0x164))/0xa*(parseInt(_0x8e8897(0x185))/0xb);if(_0xbabd3e===_0x2eeefa)break;else _0x383c4e['push'](_0x383c4e['shift']());}catch(_0x9af351){_0x383c4e['push'](_0x383c4e['shift']());}}}(_0x26c8,0x8015d),function(_0x2daa24,_0x5c8095){var _0x293894=_0x398c;typeof exports=='object'&&typeof module<'u'?module[_0x293894(0x179)]=_0x5c8095():typeof define==_0x293894(0x190)&&define[_0x293894(0x163)]?define(_0x5c8095):(_0x2daa24=typeof globalThis<'u'?globalThis:_0x2daa24||self,_0x2daa24[_0x293894(0x169)]=_0x5c8095());}(this,function(){'use strict';var _0x32265f=_0x398c;return{'mcpStatus':{'disconnected':_0x32265f(0x184),'connecting':_0x32265f(0x186),'connected':_0x32265f(0x196),'failed':_0x32265f(0x19a),'retrying':_0x32265f(0x171),'unknown':_0x32265f(0x172),'unauthorized':_0x32265f(0x188),'sessionOccupied':_0x32265f(0x165),'networkError':_0x32265f(0x175),'maxRetriesExceeded':_0x32265f(0x17a),'clickToConnect':_0x32265f(0x197),'clickToConfigure':_0x32265f(0x167)},'mcpConfig':{'title':_0x32265f(0x193),'description':_0x32265f(0x177),'apiKey':_0x32265f(0x195),'apiKeyPlaceholder':_0x32265f(0x16a),'apiKeyHint':_0x32265f(0x191),'enableAuth':_0x32265f(0x18f),'enableAuthHint':_0x32265f(0x16c),'connectionInfo':_0x32265f(0x187),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x32265f(0x168),'configStepTitle':_0x32265f(0x192),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x32265f(0x19f),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x32265f(0x18d),'sessionIdDescription':_0x32265f(0x16e),'authorizationDescription':_0x32265f(0x16d),'configParameters':_0x32265f(0x183),'maxRetries':_0x32265f(0x178),'save':_0x32265f(0x194),'saving':'Saving...','note1':_0x32265f(0x17d),'note2':_0x32265f(0x16b),'configSaved':_0x32265f(0x166),'configError':_0x32265f(0x17b),'apiApplyInfo':{'title':_0x32265f(0x189),'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':_0x32265f(0x18a),'getStarted':_0x32265f(0x198)},'validation':{'apiKeyRequired':_0x32265f(0x18c),'apiKeyTooShort':_0x32265f(0x19d),'invalidConfig':_0x32265f(0x19e),'invalidApiKey':_0x32265f(0x176)},'connectionStatus':{'disconnected':_0x32265f(0x17e),'connecting':'Connecting...','connected':_0x32265f(0x18e),'failed':_0x32265f(0x19b),'retrying':_0x32265f(0x1a1)},'connectionError':{'unauthorized':_0x32265f(0x18b),'sessionOccupied':_0x32265f(0x19c),'networkError':_0x32265f(0x173),'maxRetriesExceeded':_0x32265f(0x181)}}};}));function _0x26c8(){var _0xcee937=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20is\x20required','Session\x20ID','Connected','Enable\x20Authentication','function','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Steps:','MCP\x20Configuration','Save\x20Configuration','API\x20Key','MCP\x20Connected','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','237892SCSQFO','MCP\x20Connection\x20Failed','Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','267326qoEWHD','Retrying...','amd','200raKxMw','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','UniverProMcpUiFaIR','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20with\x20Bearer\x20prefix.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','3447300ghGwFm','6705rFCrXY','MCP\x20Retrying...','MCP\x20Unknown\x20Status','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','65cWADzR','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','exports','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','1240lwocWk','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Disconnected','18EhaaDQ','1823507ynzXvZ','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','102942RzedUi','Configuration\x20Parameters:','MCP\x20Disconnected','306713tUAryq','MCP\x20Connecting...','MCP\x20Client\x20Configuration','MCP:\x20Unauthorized','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console'];_0x26c8=function(){return _0xcee937;};return _0x26c8();}
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4a33(){var _0x1474f0=['MCP\x20Connected','Save\x20Configuration','MCP\x20Connecting...','Disconnected','API\x20key\x20is\x20required','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','Click\x20to\x20connect\x20MCP','5453656VRXdZL','Configuration\x20Parameters:','MCP\x20Connection\x20Failed','MCP\x20Unknown\x20Status','Copy\x20the\x20JSON\x20configuration\x20below','object','function','6LqYGSj','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','12421970xFcPig','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','5245371vOpjDj','API\x20Key','5075301BuTxgx','Invalid\x20configuration','MCP:\x20Network\x20Error','MCP\x20Retrying...','2mcGYWZ','5EiUnrM','Retrying...','What\x20is\x20API\x20Key?','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','11bBUMsL','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connecting...','MCP:\x20Unauthorized','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','exports','Connection\x20Failed','419984wpWIQs','amd','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','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.','Univer\x20AI\x20Console','844890PFiQVR','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Get\x20your\x20API\x20key\x20in\x20seconds','3733388iyFAPk','MCP\x20Disconnected'];_0x4a33=function(){return _0x1474f0;};return _0x4a33();}function _0xa332(_0x217903,_0x3f8e97){_0x217903=_0x217903-0x18b;var _0x4a3307=_0x4a33();var _0xa33271=_0x4a3307[_0x217903];return _0xa33271;}(function(_0x343edc,_0x265c97){var _0x489a2b=_0xa332,_0x4c0297=_0x343edc();while(!![]){try{var _0x351a15=-parseInt(_0x489a2b(0x1a3))/0x1*(-parseInt(_0x489a2b(0x192))/0x2)+parseInt(_0x489a2b(0x1ab))/0x3+-parseInt(_0x489a2b(0x1af))/0x4*(parseInt(_0x489a2b(0x193))/0x5)+-parseInt(_0x489a2b(0x1c2))/0x6*(-parseInt(_0x489a2b(0x18e))/0x7)+parseInt(_0x489a2b(0x1bb))/0x8+parseInt(_0x489a2b(0x18c))/0x9+parseInt(_0x489a2b(0x1c4))/0xa*(-parseInt(_0x489a2b(0x197))/0xb);if(_0x351a15===_0x265c97)break;else _0x4c0297['push'](_0x4c0297['shift']());}catch(_0x225bc5){_0x4c0297['push'](_0x4c0297['shift']());}}}(_0x4a33,0x7de37),function(_0x97321,_0x191b10){var _0x1578a7=_0xa332;typeof exports==_0x1578a7(0x1c0)&&typeof module<'u'?module[_0x1578a7(0x1a1)]=_0x191b10():typeof define==_0x1578a7(0x1c1)&&define[_0x1578a7(0x1a4)]?define(_0x191b10):(_0x97321=typeof globalThis<'u'?globalThis:_0x97321||self,_0x97321['UniverProMcpUiFrFR']=_0x191b10());}(this,function(){'use strict';var _0x5569aa=_0xa332;return{'mcpStatus':{'disconnected':_0x5569aa(0x1b0),'connecting':_0x5569aa(0x1b3),'connected':_0x5569aa(0x1b1),'failed':_0x5569aa(0x1bd),'retrying':_0x5569aa(0x191),'unknown':_0x5569aa(0x1be),'unauthorized':_0x5569aa(0x19c),'sessionOccupied':_0x5569aa(0x1a7),'networkError':_0x5569aa(0x190),'maxRetriesExceeded':_0x5569aa(0x1b8),'clickToConnect':_0x5569aa(0x1ba),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5569aa(0x1a6),'description':_0x5569aa(0x196),'apiKey':_0x5569aa(0x18d),'apiKeyPlaceholder':_0x5569aa(0x1b6),'apiKeyHint':_0x5569aa(0x19e),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5569aa(0x1c5),'connectionInfo':_0x5569aa(0x198),'mcpClientConfig':_0x5569aa(0x198),'configInstructions':_0x5569aa(0x19a),'configStepTitle':_0x5569aa(0x1b9),'configStep1':_0x5569aa(0x1bf),'configStep2':_0x5569aa(0x1ad),'configStep3':_0x5569aa(0x1a0),'sessionId':'Session\x20ID','sessionIdDescription':_0x5569aa(0x1a9),'authorizationDescription':_0x5569aa(0x199),'configParameters':_0x5569aa(0x1bc),'maxRetries':'Max\x20Retries','save':_0x5569aa(0x1b2),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5569aa(0x1b7),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5569aa(0x195),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x5569aa(0x1aa),'getStarted':_0x5569aa(0x1ae)},'validation':{'apiKeyRequired':_0x5569aa(0x1b5),'apiKeyTooShort':_0x5569aa(0x1a8),'invalidConfig':_0x5569aa(0x18f),'invalidApiKey':_0x5569aa(0x18b)},'connectionStatus':{'disconnected':_0x5569aa(0x1b4),'connecting':_0x5569aa(0x19b),'connected':_0x5569aa(0x1ac),'failed':_0x5569aa(0x1a2),'retrying':_0x5569aa(0x194)},'connectionError':{'unauthorized':_0x5569aa(0x19d),'sessionOccupied':_0x5569aa(0x1a5),'networkError':_0x5569aa(0x19f),'maxRetriesExceeded':_0x5569aa(0x1c3)}}};}));
|