@univerjs-pro/mcp-ui 0.10.6-experimental.20250904-9591d16 → 0.10.7-nightly.202509080357
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/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x1506c4=_0x4201;(function(_0x1e13f0,_0x4bd58b){var _0x17a162=_0x4201,_0x1fbfbf=_0x1e13f0();while(!![]){try{var _0x10f40e=-parseInt(_0x17a162(0x2ae))/0x1*(parseInt(_0x17a162(0x27b))/0x2)+-parseInt(_0x17a162(0x250))/0x3*(parseInt(_0x17a162(0x19a))/0x4)+parseInt(_0x17a162(0x200))/0x5+parseInt(_0x17a162(0x2fd))/0x6*(parseInt(_0x17a162(0x29a))/0x7)+parseInt(_0x17a162(0x230))/0x8+-parseInt(_0x17a162(0x245))/0x9*(-parseInt(_0x17a162(0x1c5))/0xa)+-parseInt(_0x17a162(0x24d))/0xb;if(_0x10f40e===_0x4bd58b)break;else _0x1fbfbf['push'](_0x1fbfbf['shift']());}catch(_0x173aee){_0x1fbfbf['push'](_0x1fbfbf['shift']());}}}(_0x2cc8,0x7218a));var te=Object['defineProperty'],oe=(_0x10fac5,_0x2434be,_0x450377)=>_0x2434be in _0x10fac5?te(_0x10fac5,_0x2434be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x450377}):_0x10fac5[_0x2434be]=_0x450377,_=(_0x414c69,_0xa63b9c,_0x1013e7)=>oe(_0x414c69,typeof _0xa63b9c!=_0x1506c4(0x2d0)?_0xa63b9c+'':_0xa63b9c,_0x1013e7);Object[_0x1506c4(0x2d6)](exports,Symbol[_0x1506c4(0x2f8)],{'value':_0x1506c4(0x1c9)});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x1cac1b=_0x1506c4;return C=Object[_0x1cac1b(0x1ac)]||function(_0x52e292){var _0x2a3adf=_0x1cac1b;for(var _0x788a4b,_0x2b8b32=0x1,_0x1f5dc9=arguments[_0x2a3adf(0x1a2)];_0x2b8b32<_0x1f5dc9;_0x2b8b32++){_0x788a4b=arguments[_0x2b8b32];for(var _0x4ee4da in _0x788a4b)Object[_0x2a3adf(0x299)][_0x2a3adf(0x1f6)][_0x2a3adf(0x26a)](_0x788a4b,_0x4ee4da)&&(_0x52e292[_0x4ee4da]=_0x788a4b[_0x4ee4da]);}return _0x52e292;},C['apply'](this,arguments);},se=function(_0x174490,_0x557591){var _0x316c13=_0x1506c4,_0x19ad65={};for(var _0x3f6832 in _0x174490)Object[_0x316c13(0x299)][_0x316c13(0x1f6)][_0x316c13(0x26a)](_0x174490,_0x3f6832)&&_0x557591[_0x316c13(0x290)](_0x3f6832)<0x0&&(_0x19ad65[_0x3f6832]=_0x174490[_0x3f6832]);if(_0x174490!=null&&typeof Object['getOwnPropertySymbols']==_0x316c13(0x2c4)){for(var _0x439879=0x0,_0x3f6832=Object[_0x316c13(0x2e8)](_0x174490);_0x439879<_0x3f6832['length'];_0x439879++)_0x557591[_0x316c13(0x290)](_0x3f6832[_0x439879])<0x0&&Object['prototype'][_0x316c13(0x289)][_0x316c13(0x26a)](_0x174490,_0x3f6832[_0x439879])&&(_0x19ad65[_0x3f6832[_0x439879]]=_0x174490[_0x3f6832[_0x439879]]);}return _0x19ad65;},P=d[_0x1506c4(0x19d)](function(_0x5b4cc9,_0x164486){var _0x5cdec8=_0x1506c4,_0x188375=_0x5b4cc9['icon'],_0x6470b8=_0x5b4cc9['id'],_0xc0dc3f=_0x5b4cc9[_0x5cdec8(0x2ce)],_0x238e3d=_0x5b4cc9['extend'],_0x805d54=se(_0x5b4cc9,[_0x5cdec8(0x1aa),'id',_0x5cdec8(0x2ce),_0x5cdec8(0x22c)]),_0x2cac58=_0x5cdec8(0x222)[_0x5cdec8(0x2b0)](_0x6470b8,'\x20')['concat'](_0xc0dc3f||'')['trim'](),_0x1f2aaf=d[_0x5cdec8(0x27a)]('_'[_0x5cdec8(0x2b0)](le()));return $(_0x188375,''[_0x5cdec8(0x2b0)](_0x6470b8),{'defIds':_0x188375[_0x5cdec8(0x1f7)],'idSuffix':_0x1f2aaf[_0x5cdec8(0x2b7)]},C({'ref':_0x164486,'className':_0x2cac58},_0x805d54),_0x238e3d);});function $(_0x33136c,_0x595744,_0x3b9a00,_0x4fc023,_0x4c39d9){var _0x1460e6=_0x1506c4;return d[_0x1460e6(0x2fb)](_0x33136c[_0x1460e6(0x2f9)],C(C({'key':_0x595744},ce(_0x33136c,_0x3b9a00,_0x4c39d9)),_0x4fc023),(ae(_0x33136c,_0x3b9a00)[_0x1460e6(0x25e)]||[])[_0x1460e6(0x1cd)](function(_0x3f24ed,_0x1b96c7){var _0x49b949=_0x1460e6;return $(_0x3f24ed,''['concat'](_0x595744,'-')[_0x49b949(0x2b0)](_0x33136c[_0x49b949(0x2f9)],'-')[_0x49b949(0x2b0)](_0x1b96c7),_0x3b9a00,void 0x0,_0x4c39d9);}));}function ce(_0x4d4fd5,_0x58237a,_0x562c76){var _0x3e6ec2=_0x1506c4,_0x27c9e8=C({},_0x4d4fd5[_0x3e6ec2(0x1f2)]);_0x562c76!=null&&_0x562c76[_0x3e6ec2(0x2f5)]&&_0x27c9e8[_0x3e6ec2(0x273)]===_0x3e6ec2(0x2f5)&&(_0x27c9e8[_0x3e6ec2(0x273)]=_0x562c76['colorChannel1']),_0x4d4fd5[_0x3e6ec2(0x2f9)]===_0x3e6ec2(0x257)&&_0x27c9e8['id']&&(_0x27c9e8['id']=_0x27c9e8['id']+_0x58237a[_0x3e6ec2(0x1cb)]),Object[_0x3e6ec2(0x1ee)](_0x27c9e8)[_0x3e6ec2(0x29c)](function(_0x452ba0){var _0x5a3e94=_0x3e6ec2,_0x5be52b=_0x452ba0[0x0],_0x860f89=_0x452ba0[0x1];_0x5be52b===_0x5a3e94(0x257)&&typeof _0x860f89==_0x5a3e94(0x2a5)&&(_0x27c9e8[_0x5be52b]=_0x860f89[_0x5a3e94(0x2e0)](/url\(#(.*)\)/,_0x5a3e94(0x1fb)[_0x5a3e94(0x2b0)](_0x58237a[_0x5a3e94(0x1cb)],')')));});var _0x540289=_0x58237a[_0x3e6ec2(0x1f7)];return!_0x540289||_0x540289['length']===0x0||(_0x4d4fd5[_0x3e6ec2(0x2f9)]==='use'&&_0x27c9e8[_0x3e6ec2(0x2ea)]&&(_0x27c9e8[_0x3e6ec2(0x2ea)]=_0x27c9e8[_0x3e6ec2(0x2ea)]+_0x58237a[_0x3e6ec2(0x1cb)]),Object[_0x3e6ec2(0x1ee)](_0x27c9e8)[_0x3e6ec2(0x29c)](function(_0xe0519e){var _0x4043c9=_0x3e6ec2,_0x50aa44=_0xe0519e[0x0],_0xb80e50=_0xe0519e[0x1];typeof _0xb80e50==_0x4043c9(0x2a5)&&(_0x27c9e8[_0x50aa44]=_0xb80e50[_0x4043c9(0x2e0)](/url\(#(.*)\)/,_0x4043c9(0x1fb)[_0x4043c9(0x2b0)](_0x58237a[_0x4043c9(0x1cb)],')')));})),_0x27c9e8;}function ae(_0x607158,_0x4c134b){var _0x1f571c=_0x1506c4,_0x43fda1,_0x571e41=_0x4c134b[_0x1f571c(0x1f7)];return!_0x571e41||_0x571e41[_0x1f571c(0x1a2)]===0x0?_0x607158:_0x607158[_0x1f571c(0x2f9)]==='defs'&&(!((_0x43fda1=_0x607158[_0x1f571c(0x25e)])===null||_0x43fda1===void 0x0)&&_0x43fda1['length'])?C(C({},_0x607158),{'children':_0x607158[_0x1f571c(0x25e)]['map'](function(_0x2539e7){var _0x58b837=_0x1f571c;return typeof _0x2539e7[_0x58b837(0x1f2)]['id']==_0x58b837(0x2a5)&&_0x571e41&&_0x571e41[_0x58b837(0x1ea)](_0x2539e7['attrs']['id'])?C(C({},_0x2539e7),{'attrs':C(C({},_0x2539e7[_0x58b837(0x1f2)]),{'id':_0x2539e7[_0x58b837(0x1f2)]['id']+_0x4c134b['idSuffix']})}):_0x2539e7;})}):_0x607158;}function le(){var _0x3eaf08=_0x1506c4;return Math[_0x3eaf08(0x1d4)]()[_0x3eaf08(0x23a)](0x24)[_0x3eaf08(0x295)](0x2,0x8);}P[_0x1506c4(0x234)]=_0x1506c4(0x279);var ue={'tag':_0x1506c4(0x2cd),'attrs':{'xmlns':_0x1506c4(0x19e),'fill':'none','viewBox':_0x1506c4(0x1f8),'width':_0x1506c4(0x24f),'height':_0x1506c4(0x24f)},'children':[{'tag':_0x1506c4(0x2fc),'attrs':{'fill':'currentColor','d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':'evenodd','clipRule':_0x1506c4(0x251)}}]},L=d[_0x1506c4(0x19d)](function(_0x323026,_0x5cc623){return d['createElement'](P,Object['assign']({},_0x323026,{'id':'check-mark-icon','ref':_0x5cc623,'icon':ue}));});L[_0x1506c4(0x234)]=_0x1506c4(0x26d);var ve={'tag':_0x1506c4(0x2cd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1506c4(0x1dd),'viewBox':'0\x200\x2017\x2017','width':_0x1506c4(0x24f),'height':_0x1506c4(0x24f)},'children':[{'tag':'path','attrs':{'stroke':_0x1506c4(0x2c0),'d':_0x1506c4(0x26e),'strokeLinecap':'round','strokeLinejoin':_0x1506c4(0x1e9),'strokeWidth':1.33}},{'tag':_0x1506c4(0x2fc),'attrs':{'stroke':_0x1506c4(0x2c0),'d':_0x1506c4(0x1cf),'strokeLinecap':_0x1506c4(0x1e9),'strokeLinejoin':_0x1506c4(0x1e9),'strokeWidth':1.33}}]},G=d[_0x1506c4(0x19d)](function(_0x44a92f,_0x1d561b){var _0x52ccc4=_0x1506c4;return d[_0x52ccc4(0x2fb)](P,Object[_0x52ccc4(0x1ac)]({},_0x44a92f,{'id':_0x52ccc4(0x1d0),'ref':_0x1d561b,'icon':ve}));});G['displayName']=_0x1506c4(0x1ab);var de={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1506c4(0x1dd),'viewBox':_0x1506c4(0x1f8),'width':'1em','height':'1em'},'children':[{'tag':_0x1506c4(0x2fc),'attrs':{'fill':'currentColor','d':_0x1506c4(0x2d7)}},{'tag':_0x1506c4(0x2fc),'attrs':{'fill':_0x1506c4(0x2c0),'d':_0x1506c4(0x1a0)}},{'tag':'path','attrs':{'fill':_0x1506c4(0x2c0),'d':_0x1506c4(0x2ec),'fillRule':_0x1506c4(0x251),'clipRule':'evenodd'}}]},Y=d[_0x1506c4(0x19d)](function(_0x16f4ad,_0x162526){return d['createElement'](P,Object['assign']({},_0x16f4ad,{'id':'help-single','ref':_0x162526,'icon':de}));});Y['displayName']=_0x1506c4(0x22b);var Ce={'tag':_0x1506c4(0x2cd),'attrs':{'xmlns':_0x1506c4(0x19e),'fill':'none','viewBox':_0x1506c4(0x1f8),'width':_0x1506c4(0x24f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1506c4(0x2fc),'attrs':{'stroke':_0x1506c4(0x2c0),'d':_0x1506c4(0x226),'strokeLinecap':_0x1506c4(0x1e9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1506c4(0x296),'attrs':{},'children':[{'tag':_0x1506c4(0x1c6),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x1506c4(0x2dc),'d':_0x1506c4(0x2c9)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},F=d[_0x1506c4(0x19d)](function(_0xadf413,_0x48f115){var _0x260198=_0x1506c4;return d[_0x260198(0x2fb)](P,Object[_0x260198(0x1ac)]({},_0xadf413,{'id':'off-line-icon','ref':_0x48f115,'icon':Ce}));});F['displayName']=_0x1506c4(0x252);function _0x4201(_0x16366d,_0x4ec7ef){var _0x2cc8bf=_0x2cc8();return _0x4201=function(_0x420115,_0x34904e){_0x420115=_0x420115-0x199;var _0x4e0430=_0x2cc8bf[_0x420115];return _0x4e0430;},_0x4201(_0x16366d,_0x4ec7ef);}var ge={'tag':_0x1506c4(0x2cd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1506c4(0x27f),'width':_0x1506c4(0x24f),'height':_0x1506c4(0x24f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1506c4(0x236)},'children':[{'tag':_0x1506c4(0x2fc),'attrs':{'stroke':_0x1506c4(0x2c0),'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':_0x1506c4(0x1e9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1506c4(0x296),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1506c4(0x233)},'children':[{'tag':'path','attrs':{'fill':_0x1506c4(0x2dc),'d':_0x1506c4(0x2c9),'transform':_0x1506c4(0x1a7)}}]}]}],'defIds':[_0x1506c4(0x233)]},V=d[_0x1506c4(0x19d)](function(_0x13b0e5,_0x57181c){var _0x4421b1=_0x1506c4;return d['createElement'](P,Object[_0x4421b1(0x1ac)]({},_0x13b0e5,{'id':'on-line-icon','ref':_0x57181c,'icon':ge}));});V[_0x1506c4(0x234)]=_0x1506c4(0x249);function B(_0x1317d4){var _0x12dbb1=_0x1506c4,_0x593e93,_0x5eb3cc;const {mcpCoreConfig:_0x1ab216,onSave:_0x2ebf37,loading:_0x1d96e0=!0x1,config:_0x1a95fc,connectionStatus$:_0x199fd4,connectionError$:_0xb47aa9}=_0x1317d4,_0x17081c=v['useDependency'](u[_0x12dbb1(0x2c8)]),_0x105ee0=v['useObservable'](_0x199fd4,s[_0x12dbb1(0x1fd)]['DISCONNECTED']),_0x1d0ea7=v['useObservable'](_0xb47aa9,s[_0x12dbb1(0x1a6)][_0x12dbb1(0x266)]),[_0x52f9fc,_0x2e034d]=d[_0x12dbb1(0x27c)](_0x1ab216[_0x12dbb1(0x2b5)]||''),_0x27be0c=!0x0,_0x5160c3=_0x1a95fc['showDeveloperTools']&&_0x1ab216[_0x12dbb1(0x1b5)]&&(_0x1ab216[_0x12dbb1(0x1b5)][_0x12dbb1(0x1ea)](_0x12dbb1(0x300))||_0x1ab216[_0x12dbb1(0x1b5)][_0x12dbb1(0x1ea)]('univer.ai')),_0x3d3d34=(_0x593e93=_0x1ab216['mcpServerUrl'])==null?void 0x0:_0x593e93[_0x12dbb1(0x1ea)](_0x12dbb1(0x300)),_0x50875c=(_0x5eb3cc=_0x1ab216['mcpServerUrl'])==null?void 0x0:_0x5eb3cc[_0x12dbb1(0x1ea)](_0x12dbb1(0x2da)),_0x5315bd=_0x3d3d34?'https://console.univer.plus':'https://console.univer.ai',_0x31b3c1=_0x1a95fc['showDeveloperTools']&&(_0x3d3d34||_0x50875c),[_0x2d58a5,_0x1b6dfc]=d[_0x12dbb1(0x27c)](!_0x52f9fc[_0x12dbb1(0x2ab)]()),_0x2a1be5=(_0x1d877a,_0x3c2905)=>{var _0x6e37f0=_0x12dbb1;if(_0x3c2905===s[_0x6e37f0(0x1a6)][_0x6e37f0(0x291)]||_0x3c2905===s[_0x6e37f0(0x1a6)][_0x6e37f0(0x1e0)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x1d877a){case s[_0x6e37f0(0x1fd)][_0x6e37f0(0x263)]:return _0x6e37f0(0x1b9);case s['MCPConnectionStatus'][_0x6e37f0(0x203)]:case s[_0x6e37f0(0x1fd)][_0x6e37f0(0x20a)]:return _0x6e37f0(0x1da);case s[_0x6e37f0(0x1fd)][_0x6e37f0(0x23b)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x34b861=(_0x327f51,_0x1e140)=>{var _0xd38f34=_0x12dbb1;if(_0x1e140===s[_0xd38f34(0x1a6)]['MISSING_API_KEY']||_0x1e140===s['MCPConnectionError'][_0xd38f34(0x1e0)])return _0xd38f34(0x2c6);switch(_0x327f51){case s[_0xd38f34(0x1fd)]['CONNECTED']:return'univer-bg-green-500';case s[_0xd38f34(0x1fd)][_0xd38f34(0x203)]:case s[_0xd38f34(0x1fd)][_0xd38f34(0x20a)]:return'univer-bg-blue-500';case s[_0xd38f34(0x1fd)]['FAILED']:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0xe8cb24=_0x5726d7=>{var _0x179fce=_0x12dbb1;switch(_0x5726d7){case s['MCPConnectionStatus'][_0x179fce(0x263)]:return _0x17081c['t']('mcpConfig.connectionStatus.connected');case s[_0x179fce(0x1fd)]['CONNECTING']:return _0x17081c['t'](_0x179fce(0x1ba));case s[_0x179fce(0x1fd)][_0x179fce(0x23b)]:return _0x17081c['t'](_0x179fce(0x2bf));case s['MCPConnectionStatus'][_0x179fce(0x20a)]:return _0x17081c['t'](_0x179fce(0x1c2));default:return _0x17081c['t'](_0x179fce(0x2a1));}},_0x13a309=_0x39df0c=>{var _0x5df8b5=_0x12dbb1;switch(_0x39df0c){case s[_0x5df8b5(0x1a6)]['MISSING_API_KEY']:return _0x17081c['t'](_0x5df8b5(0x1de));case s[_0x5df8b5(0x1a6)][_0x5df8b5(0x1e0)]:return _0x17081c['t'](_0x5df8b5(0x205));case s[_0x5df8b5(0x1a6)][_0x5df8b5(0x216)]:return _0x17081c['t'](_0x5df8b5(0x1e7));case s[_0x5df8b5(0x1a6)]['NETWORK_ERROR']:return _0x17081c['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError'][_0x5df8b5(0x207)]:return _0x17081c['t'](_0x5df8b5(0x22f));default:return'';}},_0xd6b02f=d[_0x12dbb1(0x2b3)](()=>{var _0x55e448=_0x12dbb1;const _0x3a0ace={..._0x1ab216,'apiKey':_0x52f9fc[_0x55e448(0x2ab)](),'enableAuth':_0x27be0c};_0x2ebf37(_0x3a0ace);},[_0x1ab216,_0x52f9fc,_0x27be0c,_0x2ebf37]),_0x4fc17a=_0x52f9fc[_0x12dbb1(0x2ab)]()[_0x12dbb1(0x1a2)]>0x0;return o[_0x12dbb1(0x1d3)]('div',{'className':_0x12dbb1(0x2ff),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x243),'children':o[_0x12dbb1(0x1d3)]('div',{'className':_0x12dbb1(0x2ad),'children':[o['jsx']('div',{'className':_0x12dbb1(0x26f),'children':o[_0x12dbb1(0x20c)]('span',{'className':_0x12dbb1(0x2cc),'children':'⚙'})}),o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'children':o[_0x12dbb1(0x20c)]('p',{'className':_0x12dbb1(0x248),'children':_0x17081c['t'](_0x12dbb1(0x292))})})]})}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2e1),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x1a8)+_0x2a1be5(_0x105ee0,_0x1d0ea7)+_0x12dbb1(0x2a3),'children':o['jsxs']('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[o[_0x12dbb1(0x20c)]('div',{'className':_0x12dbb1(0x246)+_0x34b861(_0x105ee0,_0x1d0ea7)+_0x12dbb1(0x2b9)}),o['jsx'](_0x12dbb1(0x293),{'className':_0x12dbb1(0x229),'children':_0xe8cb24(_0x105ee0)})]})}),_0x1d0ea7!==s[_0x12dbb1(0x1a6)]['NONE']&&(_0x105ee0===s['MCPConnectionStatus'][_0x12dbb1(0x23b)]||_0x1d0ea7===s[_0x12dbb1(0x1a6)]['MISSING_API_KEY']||_0x1d0ea7===s[_0x12dbb1(0x1a6)][_0x12dbb1(0x1e0)])&&o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x223),'children':o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2b4),'children':[o[_0x12dbb1(0x20c)]('span',{'className':_0x12dbb1(0x278),'children':'⚠️'}),o[_0x12dbb1(0x20c)]('p',{'className':_0x12dbb1(0x269),'children':_0x13a309(_0x1d0ea7)})]})})]}),o['jsx'](_0x12dbb1(0x282),{'className':_0x12dbb1(0x199),'children':o['jsxs'](_0x12dbb1(0x282),{'className':'univer-space-y-5','children':[o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-space-y-2','children':[o['jsxs'](_0x12dbb1(0x283),{'className':_0x12dbb1(0x28b),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'children':'🔑'}),'\x20',_0x17081c['t'](_0x12dbb1(0x2a2)),o[_0x12dbb1(0x20c)]('span',{'className':_0x12dbb1(0x21d),'children':'*'}),_0x5160c3&&o['jsx']('a',{'href':_0x12dbb1(0x297),'onClick':()=>_0x1b6dfc(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x17081c['t'](_0x12dbb1(0x237)),'children':o[_0x12dbb1(0x20c)](Y,{})})]}),o[_0x12dbb1(0x20c)](x[_0x12dbb1(0x1af)],{'type':_0x12dbb1(0x270),'placeholder':_0x17081c['t'](_0x12dbb1(0x29b)),'value':_0x52f9fc,'onChange':_0x2e034d,'disabled':_0x1d96e0,'autoComplete':'off'}),o['jsx']('p',{'className':_0x12dbb1(0x24e),'children':_0x17081c['t'](_0x12dbb1(0x1fa))})]}),_0x5160c3&&_0x2d58a5&&o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x265),'children':[o[_0x12dbb1(0x20c)]('a',{'href':_0x12dbb1(0x297),'onClick':()=>_0x1b6dfc(!0x1),'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','title':_0x12dbb1(0x28f),'children':o[_0x12dbb1(0x20c)](G,{})}),o['jsxs'](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2aa),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2ba),'children':o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'className':_0x12dbb1(0x2a9),'children':'🚀'})}),o[_0x12dbb1(0x1d3)]('div',{'className':'univer-flex-1','children':[o['jsx']('h4',{'className':_0x12dbb1(0x29d),'children':_0x17081c['t'](_0x12dbb1(0x237))}),o['jsx']('p',{'className':_0x12dbb1(0x2c5),'children':_0x17081c['t'](_0x12dbb1(0x2b1))}),o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x31b3c1&&o[_0x12dbb1(0x1d3)]('a',{'href':_0x5315bd,'target':_0x12dbb1(0x288),'rel':_0x12dbb1(0x220),'className':_0x12dbb1(0x25d),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'children':'🤖'}),_0x17081c['t'](_0x12dbb1(0x277)),o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'className':_0x12dbb1(0x24c),'children':'↗'})]})}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x17081c['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x1a95fc['showDeveloperTools']&&o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2e3),'children':[o[_0x12dbb1(0x1d3)]('h4',{'className':_0x12dbb1(0x1ed),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'children':'🔗'}),'\x20',_0x17081c['t'](_0x12dbb1(0x29f))]}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-space-y-3','children':[o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x1eb),'children':[o[_0x12dbb1(0x20c)]('div',{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),o['jsxs']('div',{'className':_0x12dbb1(0x2a7),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2f6),'children':_0x17081c['t']('mcpConfig.serverEndpoint')}),o[_0x12dbb1(0x20c)]('code',{'className':_0x12dbb1(0x256),'children':_0x1ab216['mcpServerUrl']})]})]}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[o['jsx'](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2e2)}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-min-w-0\x20univer-flex-1','children':[o[_0x12dbb1(0x20c)]('div',{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x17081c['t'](_0x12dbb1(0x1ec))}),o['jsx']('code',{'className':_0x12dbb1(0x253),'children':_0x1ab216['sessionId']||'default'})]})]})]})]}),o[_0x12dbb1(0x20c)](x[_0x12dbb1(0x2a0)],{'onClick':_0xd6b02f,'disabled':!_0x4fc17a||_0x1d96e0,'className':_0x12dbb1(0x27d),'children':_0x1d96e0?o['jsxs']('span',{'className':_0x12dbb1(0x1d1),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'children':'⟲'}),_0x17081c['t'](_0x12dbb1(0x254))]}):o[_0x12dbb1(0x1d3)](_0x12dbb1(0x293),{'className':_0x12dbb1(0x1d1),'children':[o[_0x12dbb1(0x20c)](L,{}),_0x17081c['t'](_0x12dbb1(0x1e3))]})}),o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x1cc),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'className':_0x12dbb1(0x23c),'children':'💡'}),o[_0x12dbb1(0x1d3)]('div',{'className':_0x12dbb1(0x208),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x1dc),'children':_0x12dbb1(0x2fe)}),o['jsxs'](_0x12dbb1(0x282),{'children':['•',_0x17081c['t'](_0x12dbb1(0x268))]}),o['jsxs'](_0x12dbb1(0x282),{'children':['•',_0x17081c['t'](_0x12dbb1(0x217))]})]})]})})]})})]});}const k=_0x1506c4(0x1fe),T={'showDeveloperTools':!0x1};var fe=Object[_0x1506c4(0x1c3)],pe=(_0x239521,_0x5b3fe5,_0x1c2c5a,_0x376776)=>{for(var _0x20d76f=_0x376776>0x1?void 0x0:_0x376776?fe(_0x5b3fe5,_0x1c2c5a):_0x5b3fe5,_0x4b2cd5=_0x239521['length']-0x1,_0x12457b;_0x4b2cd5>=0x0;_0x4b2cd5--)(_0x12457b=_0x239521[_0x4b2cd5])&&(_0x20d76f=_0x12457b(_0x20d76f)||_0x20d76f);return _0x20d76f;},p=(_0x246b74,_0x145f90)=>(_0xc48a79,_0x2033f8)=>_0x145f90(_0xc48a79,_0x2033f8,_0x246b74);const w=_0x1506c4(0x239),A='mcp-config-dialog';exports[_0x1506c4(0x28e)]=class extends u[_0x1506c4(0x228)]{constructor(_0x52fecc,_0x2f96dc,_0x2e5723,_0x32198c,_0x1ce4aa,_0x1b3f18,_0x58be8f,_0x325986,_0x422ebe,_0x436425){var _0x46dd36=_0x1506c4;super(),_(this,'_loading$',new j['BehaviorSubject'](!0x1)),_(this,_0x46dd36(0x28c),new j[(_0x46dd36(0x21c))]({})),_(this,_0x46dd36(0x2a6),new j['BehaviorSubject']({})),_(this,_0x46dd36(0x204),async _0x13ba23=>{var _0x2bf02e=_0x46dd36;this['_loading$'][_0x2bf02e(0x255)](!0x0);try{const _0x2e3b40=await this[_0x2bf02e(0x1a5)](_0x13ba23);if(!_0x2e3b40[_0x2bf02e(0x25b)]){this['_messageService'][_0x2bf02e(0x21f)]({'type':x[_0x2bf02e(0x2c1)]['Error'],'content':_0x2e3b40[_0x2bf02e(0x275)]||this['_localeService']['t'](_0x2bf02e(0x25f))});return;}_0x13ba23[_0x2bf02e(0x2b5)]?await this['_localStorageService'][_0x2bf02e(0x261)](w,_0x13ba23['apiKey'][_0x2bf02e(0x2ab)]()):await this[_0x2bf02e(0x1e1)][_0x2bf02e(0x2fa)](w),this[_0x2bf02e(0x209)]['setConfig'](s[_0x2bf02e(0x1bb)],{..._0x13ba23,'apiKey':_0x13ba23[_0x2bf02e(0x2b5)][_0x2bf02e(0x2ab)]()}),this['_mcpCoreConfig$'][_0x2bf02e(0x255)]({..._0x13ba23,'apiKey':_0x13ba23[_0x2bf02e(0x2b5)][_0x2bf02e(0x2ab)]()}),this['_messageService'][_0x2bf02e(0x21f)]({'type':x[_0x2bf02e(0x2c1)][_0x2bf02e(0x20f)],'content':this[_0x2bf02e(0x285)]['t'](_0x2bf02e(0x286))}),setTimeout(()=>{var _0x1c8e57=_0x2bf02e;this['_dialogService'][_0x1c8e57(0x2f3)](A);},0x320);}catch(_0x36dd52){this[_0x2bf02e(0x1bc)][_0x2bf02e(0x24a)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x36dd52),this['_messageService'][_0x2bf02e(0x21f)]({'type':x[_0x2bf02e(0x2c1)]['Error'],'content':this[_0x2bf02e(0x285)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x2bf02e(0x255)](!0x1);}}),(this[_0x46dd36(0x247)]=_0x52fecc,this[_0x46dd36(0x2f0)]=_0x2f96dc,this[_0x46dd36(0x209)]=_0x2e5723,this[_0x46dd36(0x1e1)]=_0x32198c,this[_0x46dd36(0x26b)]=_0x1ce4aa,this[_0x46dd36(0x1b4)]=_0x1b3f18,this['_componentManager']=_0x58be8f,this['_localeService']=_0x325986,this[_0x46dd36(0x1bc)]=_0x422ebe,this[_0x46dd36(0x224)]=_0x436425,this[_0x46dd36(0x1c0)](),this[_0x46dd36(0x1e2)](),this['_registerComponent']());}[_0x1506c4(0x2eb)](){var _0x25a405=_0x1506c4;this[_0x25a405(0x26b)][_0x25a405(0x2db)]({'id':A,'title':{'title':this[_0x25a405(0x285)]['t'](_0x25a405(0x276))},'children':{'label':_0x25a405(0x267)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x4f4818=_0x25a405;this[_0x4f4818(0x26b)][_0x4f4818(0x2f3)](A);}});}[_0x1506c4(0x2d8)](){var _0x4568f6=_0x1506c4;return this[_0x4568f6(0x28c)][_0x4568f6(0x1df)];}[_0x1506c4(0x211)](){var _0x3893dd=_0x1506c4;this[_0x3893dd(0x281)](this[_0x3893dd(0x2bd)][_0x3893dd(0x1d9)](_0x3893dd(0x267),this[_0x3893dd(0x25c)]()));}['_createConfigPanelComponent'](){var _0x29b7cf=_0x1506c4;return v[_0x29b7cf(0x1bd)](()=>{var _0x352116=_0x29b7cf,_0x219832,_0x10ab9b;return o[_0x352116(0x20c)](B,{'config':this['_config$'][_0x352116(0x1df)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x352116(0x1df)],'onSave':this['_handleConfigSave'],'loading':this['_loading$'][_0x352116(0x1df)],'connectionStatus$':(_0x219832=this[_0x352116(0x224)])==null?void 0x0:_0x219832[_0x352116(0x1be)],'connectionError$':(_0x10ab9b=this[_0x352116(0x224)])==null?void 0x0:_0x10ab9b['connectionError$']});},this[_0x29b7cf(0x247)]);}[_0x1506c4(0x1c0)](){var _0x565460=_0x1506c4;this[_0x565460(0x281)](this[_0x565460(0x209)][_0x565460(0x19f)](s[_0x565460(0x1bb)])[_0x565460(0x213)](_0xf78a89=>{var _0x4fbf8f=_0x565460;this[_0x4fbf8f(0x28c)]['next'](_0xf78a89||{});}));const _0x18d6ec=this['_configService']['getConfig'](s[_0x565460(0x1bb)]);this[_0x565460(0x28c)][_0x565460(0x255)](_0x18d6ec||{}),this['disposeWithMe'](this[_0x565460(0x209)][_0x565460(0x19f)](k)[_0x565460(0x213)](_0x6d879=>{var _0x582d8b=_0x565460;this[_0x582d8b(0x2a6)][_0x582d8b(0x255)](_0x6d879||{});}));const _0x165230=this[_0x565460(0x209)]['getConfig'](k);this['_config$']['next'](_0x165230||{});}async[_0x1506c4(0x1e2)](){var _0x2aed2a=_0x1506c4;const _0x5590e7=await this['_localStorageService'][_0x2aed2a(0x202)](w);if(_0x5590e7){const _0x5544e8={...this[_0x2aed2a(0x28c)]['value'],'apiKey':_0x5590e7};this[_0x2aed2a(0x209)][_0x2aed2a(0x2e7)](s[_0x2aed2a(0x1bb)],_0x5544e8),this[_0x2aed2a(0x28c)][_0x2aed2a(0x255)](_0x5544e8);}}async['_validateConfig'](_0x677994){var _0x1576b3=_0x1506c4;if(!_0x677994[_0x1576b3(0x2b5)]||_0x677994[_0x1576b3(0x2b5)][_0x1576b3(0x2ab)]()[_0x1576b3(0x1a2)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1576b3(0x285)]['t'](_0x1576b3(0x212))};if(_0x677994['apiKey'][_0x1576b3(0x2ab)]()[_0x1576b3(0x1a2)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1576b3(0x285)]['t'](_0x1576b3(0x1a1))};try{const _0x25613f=await this['_injector']['get'](s['MCPConnectionController'])[_0x1576b3(0x23f)](_0x677994[_0x1576b3(0x2b5)][_0x1576b3(0x2ab)]());return _0x25613f[_0x1576b3(0x25b)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x25613f[_0x1576b3(0x24a)]||this[_0x1576b3(0x285)]['t'](_0x1576b3(0x26c))};}catch(_0x2e5740){return console[_0x1576b3(0x2f1)](_0x1576b3(0x232),_0x2e5740),{'isValid':!0x0};}}},exports[_0x1506c4(0x28e)]=pe([p(0x0,u[_0x1506c4(0x272)](u['Injector'])),p(0x1,v[_0x1506c4(0x21a)]),p(0x2,u[_0x1506c4(0x1fc)]),p(0x3,u['ILocalStorageService']),p(0x4,v['IDialogService']),p(0x5,v['IMessageService']),p(0x6,u[_0x1506c4(0x272)](v[_0x1506c4(0x2c3)])),p(0x7,u[_0x1506c4(0x272)](u['LocaleService'])),p(0x8,u[_0x1506c4(0x1f9)]),p(0x9,u['Inject'](s[_0x1506c4(0x24b)]))],exports[_0x1506c4(0x28e)]);const b={'id':_0x1506c4(0x20b),'type':u[_0x1506c4(0x2bb)]['COMMAND'],'handler':async(_0x59331d,_0x38933b)=>(_0x59331d['get'](exports[_0x1506c4(0x28e)])[_0x1506c4(0x2eb)](),!0x0)};function H(_0x1a0c45,_0x1ab0e9){var _0x360ded=_0x1506c4;switch(_0x1a0c45){case s[_0x360ded(0x1fd)][_0x360ded(0x29e)]:return _0x1ab0e9===s[_0x360ded(0x1a6)][_0x360ded(0x291)]?_0x360ded(0x1d5):'mcpStatus.disconnected';case s[_0x360ded(0x1fd)]['CONNECTING']:return'mcpStatus.connecting';case s[_0x360ded(0x1fd)][_0x360ded(0x263)]:return _0x360ded(0x2a8);case s['MCPConnectionStatus']['FAILED']:switch(_0x1ab0e9){case s[_0x360ded(0x1a6)]['INVALID_API_KEY']:return _0x360ded(0x1d6);case s[_0x360ded(0x1a6)]['SESSION_ID_OCCUPIED']:return _0x360ded(0x1c4);case s[_0x360ded(0x1a6)][_0x360ded(0x242)]:return'mcpStatus.networkError';case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return _0x360ded(0x1bf);}case s[_0x360ded(0x1fd)][_0x360ded(0x20a)]:return _0x360ded(0x2bc);default:return _0x360ded(0x28d);}}function he(_0x169d69,_0x1581d0,_0x5ddc6c){var _0xae6586=_0x1506c4;const _0x11e2f7=H(_0x169d69,_0x1581d0),_0x1df0b6=_0x5ddc6c['t'](_0x11e2f7);return _0x169d69===s[_0xae6586(0x1fd)]['DISCONNECTED']&&_0x1581d0===s[_0xae6586(0x1a6)][_0xae6586(0x291)]?_0x1df0b6+_0xae6586(0x302)+_0x5ddc6c['t'](_0xae6586(0x241)):_0x169d69===s[_0xae6586(0x1fd)]['CONNECTED']?''+_0x1df0b6:_0x169d69===s[_0xae6586(0x1fd)][_0xae6586(0x29e)]||_0x169d69===s[_0xae6586(0x1fd)][_0xae6586(0x23b)]?_0x1df0b6+_0xae6586(0x302)+_0x5ddc6c['t']('mcpStatus.clickToConnect'):_0x1df0b6;}function me(_0x3ee347){var _0x567707=_0x1506c4;switch(_0x3ee347){case s[_0x567707(0x1fd)][_0x567707(0x263)]:return _0x567707(0x271);case s['MCPConnectionStatus'][_0x567707(0x203)]:case s['MCPConnectionStatus'][_0x567707(0x20a)]:return _0x567707(0x2c7);case s[_0x567707(0x1fd)]['FAILED']:case s[_0x567707(0x1fd)][_0x567707(0x29e)]:return _0x567707(0x21d);default:return _0x567707(0x1c7);}}function q(_0x1970e0){var _0x13b7ab=_0x1506c4;const {status$:_0x6d9685,error$:_0x1db9eb,onConfigure:_0x2ac357}=_0x1970e0,_0x2117ff=v[_0x13b7ab(0x2f4)](_0x6d9685,s[_0x13b7ab(0x1fd)]['DISCONNECTED']),_0xf9d9fb=v[_0x13b7ab(0x2f4)](_0x1db9eb,s['MCPConnectionError'][_0x13b7ab(0x266)]),_0xb86a64=v[_0x13b7ab(0x210)](u[_0x13b7ab(0x2c8)]),_0x37baf0=_0x2117ff===s[_0x13b7ab(0x1fd)][_0x13b7ab(0x263)],_0x3772f7=_0x2117ff===s['MCPConnectionStatus'][_0x13b7ab(0x203)]||_0x2117ff===s[_0x13b7ab(0x1fd)]['RETRYING'],_0x576ab0=_0xb86a64['t'](H(_0x2117ff,_0xf9d9fb)),_0x2b2b77=he(_0x2117ff,_0xf9d9fb,_0xb86a64),_0x276d6f=me(_0x2117ff),_0x16d841=_0x37baf0?o[_0x13b7ab(0x20c)](V,{}):o[_0x13b7ab(0x20c)](F,{}),_0x4e0ab6=d[_0x13b7ab(0x2b3)](()=>{_0x2ac357&&_0x2ac357();},[_0x37baf0,_0x3772f7,_0x2ac357]);function _0x4079eb(){var _0x4b3260=_0x13b7ab;return o[_0x4b3260(0x1d3)]('div',{'className':x[_0x4b3260(0x304)](_0x4b3260(0x1ca),_0x2ac357&&_0x4b3260(0x1c8)),'onClick':_0x2ac357?_0x4e0ab6:void 0x0,'children':[o[_0x4b3260(0x20c)]('div',{'className':x[_0x4b3260(0x304)](_0x4b3260(0x1f4),_0x276d6f),'children':_0x16d841}),o['jsx'](_0x4b3260(0x282),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x576ab0})]});}return o['jsx'](x[_0x13b7ab(0x25a)],{'title':_0x2b2b77,'placement':_0x13b7ab(0x259),'children':_0x4079eb()});}var xe=Object[_0x1506c4(0x1c3)],Pe=(_0x5e68dd,_0x18d718,_0x25c70b,_0x22ef45)=>{var _0x14a0f0=_0x1506c4;for(var _0xd74b18=_0x22ef45>0x1?void 0x0:_0x22ef45?xe(_0x18d718,_0x25c70b):_0x18d718,_0x103239=_0x5e68dd[_0x14a0f0(0x1a2)]-0x1,_0x2ccb7b;_0x103239>=0x0;_0x103239--)(_0x2ccb7b=_0x5e68dd[_0x103239])&&(_0xd74b18=_0x2ccb7b(_0xd74b18)||_0xd74b18);return _0xd74b18;},O=(_0x2b155a,_0xf99761)=>(_0x42343a,_0x3cf6f1)=>_0xf99761(_0x42343a,_0x3cf6f1,_0x2b155a);exports[_0x1506c4(0x2d9)]=class extends u[_0x1506c4(0x228)]{constructor(_0x4cebce,_0x24f2a7,_0x57098f){var _0x3692c1=_0x1506c4;super(),this[_0x3692c1(0x247)]=_0x4cebce,this['_connectionController']=_0x24f2a7,this[_0x3692c1(0x2f0)]=_0x57098f,this['_initStatusComponent']();}[_0x1506c4(0x219)](){var _0x5b3542=_0x1506c4;this[_0x5b3542(0x281)](this['_uiPartsService']['registerComponent'](v[_0x5b3542(0x1b0)][_0x5b3542(0x2af)],()=>v[_0x5b3542(0x1bd)](Ie({'status$':this[_0x5b3542(0x215)][_0x5b3542(0x1be)],'error$':this[_0x5b3542(0x215)][_0x5b3542(0x2df)],'onConfigure':()=>this[_0x5b3542(0x22a)]()}),this[_0x5b3542(0x247)])));}[_0x1506c4(0x22a)](){var _0x141b93=_0x1506c4;this['_injector'][_0x141b93(0x2b8)](exports[_0x141b93(0x28e)])[_0x141b93(0x2eb)]();}},exports['MCPConnectionUIController']=Pe([O(0x0,u[_0x1506c4(0x272)](u[_0x1506c4(0x2ac)])),O(0x1,u['Inject'](s[_0x1506c4(0x24b)])),O(0x2,v['IUIPartsService'])],exports[_0x1506c4(0x2d9)]);function Ie(_0x4a93e2){const {status$:_0x8621b3,error$:_0x57b291,onConfigure:_0x459eaa}=_0x4a93e2;return function(){return o['jsx'](q,{'status$':_0x8621b3,'error$':_0x57b291,'onConfigure':_0x459eaa});};}function Se(_0x14567){var _0x80b09b=_0x1506c4;return{'id':b['id'],'type':v[_0x80b09b(0x1f1)][_0x80b09b(0x2b6)],'icon':'MenuIcon','title':_0x80b09b(0x276),'tooltip':_0x80b09b(0x276)};}const _e={[v[_0x1506c4(0x260)][_0x1506c4(0x2be)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Se}}};var ye=Object['getOwnPropertyDescriptor'],Me=(_0xb6c46b,_0x5e9301,_0x16b345,_0x346a4f)=>{var _0x4b9485=_0x1506c4;for(var _0x413343=_0x346a4f>0x1?void 0x0:_0x346a4f?ye(_0x5e9301,_0x16b345):_0x5e9301,_0x3ab154=_0xb6c46b[_0x4b9485(0x1a2)]-0x1,_0x580384;_0x3ab154>=0x0;_0x3ab154--)(_0x580384=_0xb6c46b[_0x3ab154])&&(_0x413343=_0x580384(_0x413343)||_0x413343);return _0x413343;},R=(_0x570be4,_0x4c6765)=>(_0x54c53d,_0x5f4ab3)=>_0x4c6765(_0x54c53d,_0x5f4ab3,_0x570be4);function _0x2cc8(){var _0x588aed=['univer-min-w-0\x20univer-flex-1','mcpStatus.connected','univer-text-blue-600','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','trim','Injector','univer-flex\x20univer-items-center\x20univer-gap-3','2gdVRNB','HEADER_MENU','concat','mcpConfig.apiApplyInfo.description','UniverMCPPlugin','useCallback','univer-flex\x20univer-items-start\x20univer-gap-2','apiKey','BUTTON','current','get','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','CommandType','mcpStatus.retrying','_componentManager','OTHERS','mcpConfig.connectionStatus.failed','currentColor','MessageType','_initializeCommands','ComponentManager','function','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-bg-red-500','univer-text-yellow-500','LocaleService','M0\x200H16V16H0z','会话ID','API\x20密钥长度至少需要\x2010\x20位','univer-text-white','svg','className','MCP:\x20Session\x20Occupied','symbol','您的\x20API\x20密钥安全存储在本地存储中','请输入您的\x20API\x20密钥','Failed\x20to\x20save\x20configuration','点击连接\x20MCP','Connection\x20Failed','defineProperty','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','getCurrentConfig','MCPConnectionUIController','univer.ai','open','white','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','UniverMCPUIPlugin','connectionError$','replace','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','IMenuManagerService','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','registerCommand','setConfig','getOwnPropertySymbols','MCP:\x20API\x20Key\x20Missing','xlink:href','showConfigPanel','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','连接中...','什么是\x20API\x20密钥?','_config','_uiPartsService','warn','MCP\x20Connected','close','useObservable','colorChannel1','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCP\x20已断开','toStringTag','tag','removeItem','createElement','path','12KxHyPv','Configuration\x20Notes:','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer.plus','OpenMCPConfigPanelCommand','\x20-\x20','Retrying...','clsx','ICommandService','MCP:\x20网络错误','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','4jMmoin','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mergeMenu','forwardRef','http://www.w3.org/2000/svg','subscribeConfigValue$','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','mcpConfig.validation.apiKeyTooShort','length','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_validateConfig','MCPConnectionError','translate(.97)','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCP\x20Configuration','icon','CloseSmallSingle','assign','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Disconnected','Input','BuiltInUIPart','MCP\x20Unknown\x20Status','enUS','MCPStatusDisplay','_messageService','mcpServerUrl','已连接','API\x20key\x20is\x20required','网络连接错误,请检查您的网络连接','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.connectionStatus.connecting','MCP_PLUGIN_CONFIG_KEY','_logService','connectInjector','connectionStatus$','mcpStatus.failed','_initConfigSync','API\x20密钥','mcpConfig.connectionStatus.retrying','getOwnPropertyDescriptor','mcpStatus.sessionOccupied','155360azmglO','clipPath','univer-text-gray-500','hover:univer-opacity-80','Module','univer-flex\x20univer-cursor-pointer\x20univer-items-center','idSuffix','univer-flex\x20univer-gap-3','map','Max\x20Retries','M5.21243\x2012.287L11.8791\x205.62036','close-small-single','univer-flex\x20univer-items-center\x20univer-gap-2','Disconnected','jsxs','random','mcpStatus.missingApiKey','mcpStatus.invalidApiKey','MCP:\x20缺少\x20API\x20密钥','Connected','register','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','univer-font-medium','none','mcpConfig.connectionError.missingApiKey','value','INVALID_API_KEY','_localStorageService','_loadStoredApiKey','mcpConfig.save','_menuManagerService','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20已连接','mcpConfig.connectionError.sessionOccupied','MCPUIMenuController','round','includes','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.sessionId','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','entries','MCP_UI_PLUGIN','add','MenuItemType','attrs','重连中...','univer-mr-2\x20univer-flex\x20univer-text-xl','Invalid\x20configuration','hasOwnProperty','defIds','0\x200\x2016\x2016','ILogService','mcpConfig.apiKeyHint','url(#$1','IConfigService','MCPConnectionStatus','mcp-ui.config','配置保存成功','2747040BTjseh','启用身份验证以获得安全连接','getItem','CONNECTING','_handleConfigSave','mcpConfig.connectionError.invalidApiKey','DependentOn','MAX_RETRIES_EXCEEDED','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','_configService','RETRYING','mcp-ui.command.openConfigPanel','jsx','点击配置\x20MCP','配置更改将立即生效','Success','useDependency','_registerComponent','mcpConfig.validation.apiKeyRequired','subscribe','保存配置','_connectionController','SESSION_ID_OCCUPIED','mcpConfig.note2','Connecting...','_initStatusComponent','IUIPartsService','onStarting','BehaviorSubject','univer-text-red-500','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','show','noopener\x20noreferrer','Session\x20ID','univerjs-icon\x20univerjs-icon-','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','_mcpConnectionController','超出最大重试次数,请稍后再试','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','MCP\x20Connecting...','Disposable','univer-text-sm\x20univer-font-medium','_handleConfigure','HelpSingle','extend','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','mcpConfig.connectionError.maxRetriesExceeded','497344kCkEvA','Click\x20to\x20connect\x20MCP','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','on-line-icon_clip0_910_349','displayName','Plugin','url(#on-line-icon_clip0_910_349)','mcpConfig.apiApplyInfo.title','连接失败','mcp.apiKey','toString','FAILED','univer-flex-shrink-0\x20univer-text-blue-500','Saving...','MCP\x20状态未知','validateApiKey','_commandService','mcpStatus.clickToConfigure','NETWORK_ERROR','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MCP:\x20Network\x20Error','90ZaYJSA','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_injector','univer-text-sm\x20univer-text-gray-500','OnLineIcon','error','MCPConnectionController','univer-text-gray-400','8076145jIpkDg','univer-text-xs\x20univer-text-gray-500','1em','1129425VAZYWz','evenodd','OffLineIcon','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','mcpConfig.saving','next','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','mask','Univer\x20AI\x20Console','bottom','Tooltip','isValid','_createConfigPanelComponent','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children','mcpConfig.validation.invalidConfig','RibbonStartGroup','setItem','配置保存失败','CONNECTED','Get\x20your\x20API\x20key\x20in\x20seconds','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','NONE','MCPConfigPanel','mcpConfig.note1','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','call','_dialogService','mcpConfig.validation.invalidApiKey','CheckMarkIcon','M5.21243\x205.62036L11.8791\x2012.287','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','text','univer-text-green-500','Inject','fill','Server\x20Endpoint','errorMessage','mcpConfig.title','mcpConfig.apiApplyInfo.univerAiLabel','univer-flex-shrink-0\x20univer-text-red-500','UniverIcon','useRef','24292aTxCpH','useState','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','_initializeMenus','0\x200\x2017\x2016','配置无效','disposeWithMe','div','label','API\x20Key','_localeService','mcpConfig.configSaved','MCP\x20连接失败','_blank','propertyIsEnumerable','API\x20key\x20is\x20required\x20to\x20connect','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_mcpCoreConfig$','mcpStatus.unknown','MCPConfigUIController','Close','indexOf','MISSING_API_KEY','mcpConfig.description','span','zhCN','substring','defs','javascript:void(0)','Configuration\x20saved\x20successfully','prototype','2923774ivaPYZ','mcpConfig.apiKeyPlaceholder','forEach','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','DISCONNECTED','mcpConfig.connectionInfo','Button','mcpConfig.connectionStatus.disconnected','mcpConfig.apiKey','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ILocalStorageService','string','_config$'];_0x2cc8=function(){return _0x588aed;};return _0x2cc8();}exports['MCPUIMenuController']=class extends u[_0x1506c4(0x228)]{constructor(_0x4598f9,_0xca47e5){var _0xa8217e=_0x1506c4;super(),this[_0xa8217e(0x240)]=_0x4598f9,this[_0xa8217e(0x1e4)]=_0xca47e5,this[_0xa8217e(0x2c2)](),this['_initializeMenus']();}[_0x1506c4(0x2c2)](){[b]['forEach'](_0x4bef6b=>{var _0x405b9a=_0x4201;this[_0x405b9a(0x281)](this[_0x405b9a(0x240)][_0x405b9a(0x2e6)](_0x4bef6b));});}[_0x1506c4(0x27e)](){var _0x18c8cb=_0x1506c4;this[_0x18c8cb(0x1e4)][_0x18c8cb(0x19c)](_e);}},exports['MCPUIMenuController']=Me([R(0x0,u[_0x1506c4(0x305)]),R(0x1,v[_0x1506c4(0x2e4)])],exports[_0x1506c4(0x1e8)]);const Ee={'mcpStatus':{'disconnected':_0x1506c4(0x1ae),'connecting':_0x1506c4(0x227),'connected':_0x1506c4(0x2f2),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x1506c4(0x1b1),'missingApiKey':_0x1506c4(0x2e9),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x1506c4(0x2cf),'networkError':_0x1506c4(0x244),'maxRetriesExceeded':_0x1506c4(0x22e),'clickToConnect':_0x1506c4(0x231),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1506c4(0x1a9),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1506c4(0x284),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1506c4(0x1a4),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'Connection\x20Information','serverEndpoint':_0x1506c4(0x274),'sessionId':_0x1506c4(0x221),'maxRetries':_0x1506c4(0x1ce),'save':'Save\x20Configuration','saving':_0x1506c4(0x23d),'note1':_0x1506c4(0x21e),'note2':_0x1506c4(0x22d),'configSaved':_0x1506c4(0x298),'configError':_0x1506c4(0x2d3),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1506c4(0x2dd),'univerAiLabel':_0x1506c4(0x258),'getStarted':_0x1506c4(0x264)},'validation':{'apiKeyRequired':_0x1506c4(0x1b7),'apiKeyTooShort':_0x1506c4(0x1ad),'invalidConfig':_0x1506c4(0x1f5),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1506c4(0x1d2),'connecting':_0x1506c4(0x218),'connected':_0x1506c4(0x1d8),'failed':_0x1506c4(0x2d5),'retrying':_0x1506c4(0x303)},'connectionError':{'missingApiKey':_0x1506c4(0x28a),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x1506c4(0x1db),'networkError':_0x1506c4(0x1a3),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Ne={'mcpStatus':{'disconnected':_0x1506c4(0x2f7),'connecting':'MCP\x20连接中...','connected':_0x1506c4(0x1e6),'failed':_0x1506c4(0x287),'retrying':'MCP\x20重连中...','unknown':_0x1506c4(0x23e),'missingApiKey':_0x1506c4(0x1d7),'invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':'MCP:\x20会话被占用','networkError':_0x1506c4(0x306),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x1506c4(0x2d4),'clickToConfigure':_0x1506c4(0x20d)},'mcpConfig':{'title':'MCP\x20配置','description':_0x1506c4(0x19b),'apiKey':_0x1506c4(0x1c1),'apiKeyPlaceholder':_0x1506c4(0x2d2),'apiKeyHint':_0x1506c4(0x1e5),'enableAuth':'启用身份验证','enableAuthHint':_0x1506c4(0x201),'connectionInfo':'连接信息','serverEndpoint':'服务器端点','sessionId':_0x1506c4(0x2ca),'maxRetries':'最大重试次数','save':_0x1506c4(0x214),'saving':'保存中...','note1':_0x1506c4(0x20e),'note2':_0x1506c4(0x2d1),'configSaved':_0x1506c4(0x1ff),'configError':_0x1506c4(0x262),'apiApplyInfo':{'title':_0x1506c4(0x2ee),'description':_0x1506c4(0x2e5),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x1506c4(0x2cb),'invalidConfig':_0x1506c4(0x280),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x1506c4(0x2ed),'connected':_0x1506c4(0x1b6),'failed':_0x1506c4(0x238),'retrying':_0x1506c4(0x1f3)},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x1506c4(0x1b8),'maxRetriesExceeded':_0x1506c4(0x225)}}};var be=Object[_0x1506c4(0x2d6)],je=Object[_0x1506c4(0x1c3)],we=(_0x32bb06,_0x488956,_0x45791d)=>_0x488956 in _0x32bb06?be(_0x32bb06,_0x488956,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45791d}):_0x32bb06[_0x488956]=_0x45791d,Ae=(_0xeacb4,_0x3bdde9,_0x5a91f8,_0x3a7003)=>{var _0x1f5fe2=_0x1506c4;for(var _0x1a75fe=_0x3a7003>0x1?void 0x0:_0x3a7003?je(_0x3bdde9,_0x5a91f8):_0x3bdde9,_0x5b1ce1=_0xeacb4[_0x1f5fe2(0x1a2)]-0x1,_0x36e694;_0x5b1ce1>=0x0;_0x5b1ce1--)(_0x36e694=_0xeacb4[_0x5b1ce1])&&(_0x1a75fe=_0x36e694(_0x1a75fe)||_0x1a75fe);return _0x1a75fe;},y=(_0x3fddaa,_0x15fbd3)=>(_0x212763,_0x5586f7)=>_0x15fbd3(_0x212763,_0x5586f7,_0x3fddaa),Oe=(_0x384f0e,_0x3237e8,_0x3c821a)=>we(_0x384f0e,_0x3237e8+'',_0x3c821a);exports[_0x1506c4(0x2de)]=class extends u[_0x1506c4(0x235)]{constructor(_0x69500b=T,_0x53e445,_0x9d756b,_0x3c4fa4,_0x598689,_0x5ed61f){var _0x405040=_0x1506c4;super(),this[_0x405040(0x2ef)]=_0x69500b,this[_0x405040(0x247)]=_0x53e445,this[_0x405040(0x209)]=_0x9d756b,this['_uiPartsService']=_0x3c4fa4,this[_0x405040(0x1e1)]=_0x598689,this[_0x405040(0x285)]=_0x5ed61f;const {..._0xfb7b10}=u['merge']({},T,this['_config']);this[_0x405040(0x209)][_0x405040(0x2e7)](k,_0xfb7b10);}async[_0x1506c4(0x21b)](){var _0x2d00c2=_0x1506c4;[[exports[_0x2d00c2(0x2d9)]],[exports[_0x2d00c2(0x28e)]],[exports['MCPUIMenuController']]]['forEach'](_0x29a7df=>this[_0x2d00c2(0x247)][_0x2d00c2(0x1f0)](_0x29a7df)),this[_0x2d00c2(0x247)][_0x2d00c2(0x2b8)](exports['MCPConnectionUIController']),this[_0x2d00c2(0x247)][_0x2d00c2(0x2b8)](exports[_0x2d00c2(0x28e)]),this[_0x2d00c2(0x247)][_0x2d00c2(0x2b8)](exports[_0x2d00c2(0x1e8)]);}},Oe(exports[_0x1506c4(0x2de)],'pluginName',_0x1506c4(0x1ef)),exports[_0x1506c4(0x2de)]=Ae([u[_0x1506c4(0x206)](s[_0x1506c4(0x2b2)]),y(0x1,u[_0x1506c4(0x272)](u[_0x1506c4(0x2ac)])),y(0x2,u[_0x1506c4(0x1fc)]),y(0x3,v[_0x1506c4(0x21a)]),y(0x4,u[_0x1506c4(0x2a4)]),y(0x5,u[_0x1506c4(0x272)](u[_0x1506c4(0x2c8)]))],exports[_0x1506c4(0x2de)]),exports[_0x1506c4(0x267)]=B,exports[_0x1506c4(0x1b3)]=q,exports[_0x1506c4(0x301)]=b,exports[_0x1506c4(0x1b2)]=Ee,exports[_0x1506c4(0x294)]=Ne;
|
|
1
|
+
'use strict';var _0x2a6b16=_0xcf39;(function(_0x402f04,_0x2501a7){var _0x58dbc1=_0xcf39,_0x31eb1d=_0x402f04();while(!![]){try{var _0x21d5b3=-parseInt(_0x58dbc1(0x193))/0x1*(-parseInt(_0x58dbc1(0x1fe))/0x2)+-parseInt(_0x58dbc1(0x1a3))/0x3+-parseInt(_0x58dbc1(0x143))/0x4+parseInt(_0x58dbc1(0x17b))/0x5+parseInt(_0x58dbc1(0xed))/0x6*(parseInt(_0x58dbc1(0x1ba))/0x7)+parseInt(_0x58dbc1(0xce))/0x8+-parseInt(_0x58dbc1(0xef))/0x9*(-parseInt(_0x58dbc1(0x183))/0xa);if(_0x21d5b3===_0x2501a7)break;else _0x31eb1d['push'](_0x31eb1d['shift']());}catch(_0x1096dc){_0x31eb1d['push'](_0x31eb1d['shift']());}}}(_0x2d64,0x9b732));var te=Object['defineProperty'],oe=(_0x21f02c,_0x5b21cc,_0x5bf097)=>_0x5b21cc in _0x21f02c?te(_0x21f02c,_0x5b21cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bf097}):_0x21f02c[_0x5b21cc]=_0x5bf097,_=(_0x59f7d0,_0x59bf7b,_0x2d8676)=>oe(_0x59f7d0,typeof _0x59bf7b!=_0x2a6b16(0x189)?_0x59bf7b+'':_0x59bf7b,_0x2d8676);Object[_0x2a6b16(0xad)](exports,Symbol[_0x2a6b16(0x117)],{'value':_0x2a6b16(0x1b6)});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x5ad5ff=_0x2a6b16;return C=Object[_0x5ad5ff(0x134)]||function(_0x14303d){var _0x387d6d=_0x5ad5ff;for(var _0x44c949,_0xcb7661=0x1,_0x527a6a=arguments[_0x387d6d(0x1d2)];_0xcb7661<_0x527a6a;_0xcb7661++){_0x44c949=arguments[_0xcb7661];for(var _0x50cf9f in _0x44c949)Object[_0x387d6d(0x118)]['hasOwnProperty'][_0x387d6d(0x179)](_0x44c949,_0x50cf9f)&&(_0x14303d[_0x50cf9f]=_0x44c949[_0x50cf9f]);}return _0x14303d;},C[_0x5ad5ff(0x166)](this,arguments);},se=function(_0x226002,_0x49b122){var _0x39b9e8=_0x2a6b16,_0x4dfb1c={};for(var _0x1e4bca in _0x226002)Object[_0x39b9e8(0x118)][_0x39b9e8(0xd2)][_0x39b9e8(0x179)](_0x226002,_0x1e4bca)&&_0x49b122[_0x39b9e8(0x153)](_0x1e4bca)<0x0&&(_0x4dfb1c[_0x1e4bca]=_0x226002[_0x1e4bca]);if(_0x226002!=null&&typeof Object['getOwnPropertySymbols']==_0x39b9e8(0x1bb)){for(var _0x1a3f43=0x0,_0x1e4bca=Object['getOwnPropertySymbols'](_0x226002);_0x1a3f43<_0x1e4bca[_0x39b9e8(0x1d2)];_0x1a3f43++)_0x49b122[_0x39b9e8(0x153)](_0x1e4bca[_0x1a3f43])<0x0&&Object['prototype'][_0x39b9e8(0x11c)]['call'](_0x226002,_0x1e4bca[_0x1a3f43])&&(_0x4dfb1c[_0x1e4bca[_0x1a3f43]]=_0x226002[_0x1e4bca[_0x1a3f43]]);}return _0x4dfb1c;},P=d[_0x2a6b16(0x171)](function(_0xa773d8,_0x1b4bc8){var _0xe4f32=_0x2a6b16,_0x45e005=_0xa773d8[_0xe4f32(0x9f)],_0x7c302=_0xa773d8['id'],_0x297029=_0xa773d8[_0xe4f32(0x15b)],_0x3952df=_0xa773d8[_0xe4f32(0x18a)],_0x465405=se(_0xa773d8,[_0xe4f32(0x9f),'id',_0xe4f32(0x15b),_0xe4f32(0x18a)]),_0x160241=_0xe4f32(0xbc)[_0xe4f32(0x1e8)](_0x7c302,'\x20')[_0xe4f32(0x1e8)](_0x297029||'')[_0xe4f32(0xc1)](),_0x46d662=d[_0xe4f32(0x210)]('_'[_0xe4f32(0x1e8)](le()));return $(_0x45e005,''['concat'](_0x7c302),{'defIds':_0x45e005[_0xe4f32(0x15a)],'idSuffix':_0x46d662[_0xe4f32(0x17e)]},C({'ref':_0x1b4bc8,'className':_0x160241},_0x465405),_0x3952df);});function $(_0x5ef232,_0x19e08f,_0x2390c1,_0x499c9c,_0x186701){var _0x5b7658=_0x2a6b16;return d[_0x5b7658(0x16c)](_0x5ef232['tag'],C(C({'key':_0x19e08f},ce(_0x5ef232,_0x2390c1,_0x186701)),_0x499c9c),(ae(_0x5ef232,_0x2390c1)[_0x5b7658(0x18f)]||[])['map'](function(_0x3044d8,_0x1705d0){var _0x55510c=_0x5b7658;return $(_0x3044d8,''[_0x55510c(0x1e8)](_0x19e08f,'-')['concat'](_0x5ef232[_0x55510c(0x1c1)],'-')[_0x55510c(0x1e8)](_0x1705d0),_0x2390c1,void 0x0,_0x186701);}));}function ce(_0x27720d,_0x219eaf,_0x3dda87){var _0x2715ae=_0x2a6b16,_0x280866=C({},_0x27720d[_0x2715ae(0x1c8)]);_0x3dda87!=null&&_0x3dda87['colorChannel1']&&_0x280866[_0x2715ae(0x142)]===_0x2715ae(0x18c)&&(_0x280866[_0x2715ae(0x142)]=_0x3dda87[_0x2715ae(0x18c)]),_0x27720d[_0x2715ae(0x1c1)]===_0x2715ae(0xc7)&&_0x280866['id']&&(_0x280866['id']=_0x280866['id']+_0x219eaf[_0x2715ae(0x1b8)]),Object['entries'](_0x280866)[_0x2715ae(0x1e7)](function(_0x195ef0){var _0xeb3b55=_0x2715ae,_0x358076=_0x195ef0[0x0],_0x900dfe=_0x195ef0[0x1];_0x358076==='mask'&&typeof _0x900dfe==_0xeb3b55(0xb3)&&(_0x280866[_0x358076]=_0x900dfe[_0xeb3b55(0x104)](/url\(#(.*)\)/,_0xeb3b55(0x146)['concat'](_0x219eaf[_0xeb3b55(0x1b8)],')')));});var _0x5e4942=_0x219eaf[_0x2715ae(0x15a)];return!_0x5e4942||_0x5e4942[_0x2715ae(0x1d2)]===0x0||(_0x27720d[_0x2715ae(0x1c1)]===_0x2715ae(0x127)&&_0x280866[_0x2715ae(0x116)]&&(_0x280866[_0x2715ae(0x116)]=_0x280866[_0x2715ae(0x116)]+_0x219eaf[_0x2715ae(0x1b8)]),Object[_0x2715ae(0x20f)](_0x280866)[_0x2715ae(0x1e7)](function(_0x310707){var _0x40f7d7=_0x2715ae,_0x46b293=_0x310707[0x0],_0x313c65=_0x310707[0x1];typeof _0x313c65==_0x40f7d7(0xb3)&&(_0x280866[_0x46b293]=_0x313c65[_0x40f7d7(0x104)](/url\(#(.*)\)/,_0x40f7d7(0x146)[_0x40f7d7(0x1e8)](_0x219eaf[_0x40f7d7(0x1b8)],')')));})),_0x280866;}function ae(_0x46ec6c,_0x30fbf0){var _0x256eda=_0x2a6b16,_0x593d45,_0x1b3be1=_0x30fbf0[_0x256eda(0x15a)];return!_0x1b3be1||_0x1b3be1['length']===0x0?_0x46ec6c:_0x46ec6c['tag']===_0x256eda(0x106)&&(!((_0x593d45=_0x46ec6c[_0x256eda(0x18f)])===null||_0x593d45===void 0x0)&&_0x593d45[_0x256eda(0x1d2)])?C(C({},_0x46ec6c),{'children':_0x46ec6c[_0x256eda(0x18f)][_0x256eda(0x95)](function(_0xefd43b){var _0x59d26c=_0x256eda;return typeof _0xefd43b[_0x59d26c(0x1c8)]['id']==_0x59d26c(0xb3)&&_0x1b3be1&&_0x1b3be1['includes'](_0xefd43b[_0x59d26c(0x1c8)]['id'])?C(C({},_0xefd43b),{'attrs':C(C({},_0xefd43b[_0x59d26c(0x1c8)]),{'id':_0xefd43b[_0x59d26c(0x1c8)]['id']+_0x30fbf0['idSuffix']})}):_0xefd43b;})}):_0x46ec6c;}function le(){var _0x494870=_0x2a6b16;return Math[_0x494870(0xaa)]()[_0x494870(0xc6)](0x24)[_0x494870(0x1d9)](0x2,0x8);}P[_0x2a6b16(0x12a)]=_0x2a6b16(0xda);var ue={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':'none','viewBox':_0x2a6b16(0x196),'width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x2a6b16(0x20e),'fillRule':_0x2a6b16(0xf8),'clipRule':_0x2a6b16(0xf8)}}]},L=d[_0x2a6b16(0x171)](function(_0x2c6a64,_0x498068){var _0x43dcb5=_0x2a6b16;return d[_0x43dcb5(0x16c)](P,Object[_0x43dcb5(0x134)]({},_0x2c6a64,{'id':_0x43dcb5(0x16b),'ref':_0x498068,'icon':ue}));});L['displayName']=_0x2a6b16(0x204);var ve={'tag':'svg','attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':_0x2a6b16(0x213),'width':_0x2a6b16(0x13c),'height':'1em'},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':'round','strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2a6b16(0x1f2),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.33}}]},G=d['forwardRef'](function(_0x2bd68a,_0x1adc23){var _0x38a012=_0x2a6b16;return d[_0x38a012(0x16c)](P,Object[_0x38a012(0x134)]({},_0x2bd68a,{'id':_0x38a012(0xcc),'ref':_0x1adc23,'icon':ve}));});G['displayName']=_0x2a6b16(0x123);var de={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':'0\x200\x2016\x2016','width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0xab),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':'path','attrs':{'fill':_0x2a6b16(0xab),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0xab),'d':_0x2a6b16(0x11e),'fillRule':_0x2a6b16(0xf8),'clipRule':_0x2a6b16(0xf8)}}]},Y=d[_0x2a6b16(0x171)](function(_0x11524e,_0x1bed65){var _0x4e364d=_0x2a6b16;return d[_0x4e364d(0x16c)](P,Object[_0x4e364d(0x134)]({},_0x11524e,{'id':_0x4e364d(0x98),'ref':_0x1bed65,'icon':de}));});Y['displayName']='HelpSingle';var Ce={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':'none','viewBox':_0x2a6b16(0x196),'width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6b16(0xe1)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':_0x2a6b16(0xee),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.2}}]},{'tag':_0x2a6b16(0x106),'attrs':{},'children':[{'tag':_0x2a6b16(0x1e3),'attrs':{'id':_0x2a6b16(0x12c)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0x97),'d':_0x2a6b16(0x1e0)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},F=d[_0x2a6b16(0x171)](function(_0x1aff9e,_0x2ff39e){var _0x2b2673=_0x2a6b16;return d[_0x2b2673(0x16c)](P,Object[_0x2b2673(0x134)]({},_0x1aff9e,{'id':_0x2b2673(0x13b),'ref':_0x2ff39e,'icon':Ce}));});F[_0x2a6b16(0x12a)]='OffLineIcon';var ge={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':_0x2a6b16(0x178),'width':_0x2a6b16(0x13c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6b16(0xa9)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':_0x2a6b16(0x9d),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2a6b16(0x106),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a6b16(0x160)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x2a6b16(0x1e0),'transform':_0x2a6b16(0x148)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},V=d[_0x2a6b16(0x171)](function(_0x308bd7,_0x73ede3){var _0x2a105a=_0x2a6b16;return d['createElement'](P,Object[_0x2a105a(0x134)]({},_0x308bd7,{'id':_0x2a105a(0x19f),'ref':_0x73ede3,'icon':ge}));});V[_0x2a6b16(0x12a)]=_0x2a6b16(0xae);function B(_0x1f5321){var _0x36a411=_0x2a6b16,_0x25fdfe,_0x48a985;const {mcpCoreConfig:_0x21e240,onSave:_0x3eac32,loading:_0x3fd1c4=!0x1,config:_0x518e4c,connectionStatus$:_0x2d3b75,connectionError$:_0x54df2b}=_0x1f5321,_0x4fdf14=v[_0x36a411(0x161)](u['LocaleService']),_0x333770=v[_0x36a411(0x1b5)](_0x2d3b75,s[_0x36a411(0xd4)][_0x36a411(0x1e1)]),_0x1c0fda=v[_0x36a411(0x1b5)](_0x54df2b,s[_0x36a411(0x119)][_0x36a411(0x13d)]),[_0xe3b53,_0xe38caa]=d[_0x36a411(0xa8)](_0x21e240[_0x36a411(0x164)]||''),_0x5e9c2f=!0x0,_0x2a9a3b=_0x518e4c[_0x36a411(0x136)]&&_0x21e240[_0x36a411(0xa6)]&&(_0x21e240[_0x36a411(0xa6)][_0x36a411(0xcd)](_0x36a411(0x1d0))||_0x21e240[_0x36a411(0xa6)][_0x36a411(0xcd)](_0x36a411(0x17c))),_0x3f6042=(_0x25fdfe=_0x21e240['mcpServerUrl'])==null?void 0x0:_0x25fdfe[_0x36a411(0xcd)](_0x36a411(0x1d0)),_0x4420b6=(_0x48a985=_0x21e240['mcpServerUrl'])==null?void 0x0:_0x48a985[_0x36a411(0xcd)](_0x36a411(0x17c)),_0x51c9bf=_0x3f6042?_0x36a411(0x154):_0x36a411(0x1fa),_0x31b6ca=_0x518e4c['showDeveloperTools']&&(_0x3f6042||_0x4420b6),[_0x4f9b01,_0x53d672]=d[_0x36a411(0xa8)](!_0xe3b53[_0x36a411(0xc1)]()),_0x5c73b3=(_0x57425e,_0x5808ed)=>{var _0x31c1bf=_0x36a411;if(_0x5808ed===s[_0x31c1bf(0x119)][_0x31c1bf(0x133)]||_0x5808ed===s[_0x31c1bf(0x119)][_0x31c1bf(0x9c)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x57425e){case s[_0x31c1bf(0xd4)][_0x31c1bf(0xb0)]:return _0x31c1bf(0x1e6);case s['MCPConnectionStatus'][_0x31c1bf(0xbb)]:case s[_0x31c1bf(0xd4)]['RETRYING']:return _0x31c1bf(0xb5);case s[_0x31c1bf(0xd4)][_0x31c1bf(0x199)]:return _0x31c1bf(0x1c0);default:return _0x31c1bf(0x16e);}},_0x49242f=(_0x401e84,_0x135717)=>{var _0x172459=_0x36a411;if(_0x135717===s[_0x172459(0x119)][_0x172459(0x133)]||_0x135717===s[_0x172459(0x119)][_0x172459(0x9c)])return _0x172459(0xe6);switch(_0x401e84){case s['MCPConnectionStatus'][_0x172459(0xb0)]:return _0x172459(0x108);case s[_0x172459(0xd4)][_0x172459(0xbb)]:case s['MCPConnectionStatus'][_0x172459(0xc3)]:return _0x172459(0x1a5);case s['MCPConnectionStatus'][_0x172459(0x199)]:return _0x172459(0xe6);default:return _0x172459(0xbe);}},_0x22065c=_0x287231=>{var _0xfcb5ee=_0x36a411;switch(_0x287231){case s[_0xfcb5ee(0xd4)]['CONNECTED']:return _0x4fdf14['t']('mcpConfig.connectionStatus.connected');case s[_0xfcb5ee(0xd4)][_0xfcb5ee(0xbb)]:return _0x4fdf14['t'](_0xfcb5ee(0x159));case s['MCPConnectionStatus']['FAILED']:return _0x4fdf14['t'](_0xfcb5ee(0x191));case s[_0xfcb5ee(0xd4)][_0xfcb5ee(0xc3)]:return _0x4fdf14['t'](_0xfcb5ee(0x186));default:return _0x4fdf14['t']('mcpConfig.connectionStatus.disconnected');}},_0x48a14a=_0x57273f=>{var _0x49bf87=_0x36a411;switch(_0x57273f){case s[_0x49bf87(0x119)][_0x49bf87(0x133)]:return _0x4fdf14['t'](_0x49bf87(0x15d));case s[_0x49bf87(0x119)]['INVALID_API_KEY']:return _0x4fdf14['t']('mcpConfig.connectionError.invalidApiKey');case s[_0x49bf87(0x119)]['SESSION_ID_OCCUPIED']:return _0x4fdf14['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x49bf87(0x119)][_0x49bf87(0x1f1)]:return _0x4fdf14['t'](_0x49bf87(0xf7));case s[_0x49bf87(0x119)][_0x49bf87(0xec)]:return _0x4fdf14['t'](_0x49bf87(0x185));default:return'';}},_0x329b36=d['useCallback'](()=>{var _0x4ab4c3=_0x36a411;const _0x513afb={..._0x21e240,'apiKey':_0xe3b53[_0x4ab4c3(0xc1)](),'enableAuth':_0x5e9c2f};_0x3eac32(_0x513afb);},[_0x21e240,_0xe3b53,_0x5e9c2f,_0x3eac32]),_0x44c867=_0xe3b53[_0x36a411(0xc1)]()['length']>0x0;return o[_0x36a411(0xf0)]('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1f0),'children':[o['jsx']('div',{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':o[_0x36a411(0x214)](_0x36a411(0x206),{'className':'univer-text-white','children':'⚙'})}),o[_0x36a411(0x214)](_0x36a411(0x1d1),{'children':o['jsx']('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x4fdf14['t'](_0x36a411(0x1ef))})})]})}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x9a),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1bc)+_0x5c73b3(_0x333770,_0x1c0fda)+_0x36a411(0x10a),'children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1a8),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x49242f(_0x333770,_0x1c0fda)+_0x36a411(0xd5)}),o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x1d8),'children':_0x22065c(_0x333770)})]})}),_0x1c0fda!==s[_0x36a411(0x119)][_0x36a411(0x13d)]&&(_0x333770===s[_0x36a411(0xd4)]['FAILED']||_0x1c0fda===s[_0x36a411(0x119)][_0x36a411(0x133)]||_0x1c0fda===s[_0x36a411(0x119)][_0x36a411(0x9c)])&&o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x203),'children':[o[_0x36a411(0x214)](_0x36a411(0x206),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),o['jsx']('p',{'className':_0x36a411(0x14d),'children':_0x48a14a(_0x1c0fda)})]})})]}),o[_0x36a411(0x214)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':'univer-space-y-5','children':[o['jsxs']('div',{'className':'univer-space-y-2','children':[o[_0x36a411(0xf0)]('label',{'className':_0x36a411(0x172),'children':[o[_0x36a411(0x214)](_0x36a411(0x206),{'children':'🔑'}),'\x20',_0x4fdf14['t'](_0x36a411(0x1b3)),o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x17a),'children':'*'}),_0x2a9a3b&&o[_0x36a411(0x214)]('a',{'href':_0x36a411(0x1c3),'onClick':()=>_0x53d672(!0x0),'className':_0x36a411(0x10e),'title':_0x4fdf14['t'](_0x36a411(0x121)),'children':o[_0x36a411(0x214)](Y,{})})]}),o[_0x36a411(0x214)](x[_0x36a411(0x1ce)],{'type':_0x36a411(0xfd),'placeholder':_0x4fdf14['t']('mcpConfig.apiKeyPlaceholder'),'value':_0xe3b53,'onChange':_0xe38caa,'disabled':_0x3fd1c4,'autoComplete':_0x36a411(0x99)}),o['jsx']('p',{'className':_0x36a411(0x1ad),'children':_0x4fdf14['t']('mcpConfig.apiKeyHint')})]}),_0x2a9a3b&&_0x4f9b01&&o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[o[_0x36a411(0x214)]('a',{'href':'javascript:void(0)','onClick':()=>_0x53d672(!0x1),'className':_0x36a411(0xfe),'title':_0x36a411(0x1ed),'children':o[_0x36a411(0x214)](G,{})}),o[_0x36a411(0xf0)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1f5),'children':o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x17f),'children':'🚀'})}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x207),'children':[o[_0x36a411(0x214)]('h4',{'className':_0x36a411(0x1d4),'children':_0x4fdf14['t'](_0x36a411(0x121))}),o[_0x36a411(0x214)]('p',{'className':_0x36a411(0x18d),'children':_0x4fdf14['t'](_0x36a411(0x138))}),o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xe5),'children':_0x31b6ca&&o['jsxs']('a',{'href':_0x51c9bf,'target':_0x36a411(0x212),'rel':_0x36a411(0x102),'className':_0x36a411(0x168),'children':[o['jsx']('span',{'children':'🤖'}),_0x4fdf14['t'](_0x36a411(0x187)),o[_0x36a411(0x214)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0x122),'children':['✨','\x20',_0x4fdf14['t'](_0x36a411(0x13e))]})]})]})]}),_0x518e4c[_0x36a411(0x136)]&&o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0xf3),'children':[o[_0x36a411(0xf0)]('h4',{'className':_0x36a411(0x145),'children':[o['jsx']('span',{'children':'🔗'}),'\x20',_0x4fdf14['t']('mcpConfig.connectionInfo')]}),o['jsxs'](_0x36a411(0x1d1),{'className':'univer-space-y-3','children':[o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0x1aa)}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0xea),'children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xe2),'children':_0x4fdf14['t'](_0x36a411(0x169))}),o[_0x36a411(0x214)]('code',{'className':_0x36a411(0x208),'children':_0x21e240[_0x36a411(0xa6)]})]})]}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1a7),'children':[o[_0x36a411(0x214)]('div',{'className':_0x36a411(0x1aa)}),o['jsxs']('div',{'className':_0x36a411(0xea),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x4fdf14['t']('mcpConfig.sessionId')}),o['jsx'](_0x36a411(0x1dc),{'className':_0x36a411(0xb7),'children':_0x21e240[_0x36a411(0x192)]||'default'})]})]})]})]}),o[_0x36a411(0x214)](x[_0x36a411(0x1f6)],{'onClick':_0x329b36,'disabled':!_0x44c867||_0x3fd1c4,'className':_0x36a411(0x1ea),'children':_0x3fd1c4?o[_0x36a411(0xf0)](_0x36a411(0x206),{'className':_0x36a411(0x1a8),'children':[o['jsx'](_0x36a411(0x206),{'children':'⟲'}),_0x4fdf14['t'](_0x36a411(0x20b))]}):o[_0x36a411(0xf0)]('span',{'className':_0x36a411(0x1a8),'children':[o[_0x36a411(0x214)](L,{}),_0x4fdf14['t'](_0x36a411(0x109))]})}),o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1ac),'children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0xc8),'children':[o['jsx'](_0x36a411(0x206),{'className':_0x36a411(0x14c),'children':'💡'}),o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0x10c),'children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xac),'children':_0x36a411(0x1f7)}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'children':['•',_0x4fdf14['t'](_0x36a411(0x19c))]}),o['jsxs'](_0x36a411(0x1d1),{'children':['•',_0x4fdf14['t'](_0x36a411(0x11a))]})]})]})})]})})]});}const k=_0x2a6b16(0xfa),T={'showDeveloperTools':!0x1};var fe=Object[_0x2a6b16(0x155)],pe=(_0x4781c8,_0x17e354,_0x40c70c,_0x3158b7)=>{var _0x24ec27=_0x2a6b16;for(var _0x481b30=_0x3158b7>0x1?void 0x0:_0x3158b7?fe(_0x17e354,_0x40c70c):_0x17e354,_0x2fe44b=_0x4781c8[_0x24ec27(0x1d2)]-0x1,_0x4f2cb2;_0x2fe44b>=0x0;_0x2fe44b--)(_0x4f2cb2=_0x4781c8[_0x2fe44b])&&(_0x481b30=_0x4f2cb2(_0x481b30)||_0x481b30);return _0x481b30;},p=(_0x1469dc,_0x1a93b8)=>(_0x10d7a9,_0x31b788)=>_0x1a93b8(_0x10d7a9,_0x31b788,_0x1469dc);const w=_0x2a6b16(0x1ec),A=_0x2a6b16(0xf2);exports['MCPConfigUIController']=class extends u[_0x2a6b16(0xe9)]{constructor(_0x25dbff,_0x109ad6,_0x408d86,_0x2c6587,_0x5e1a44,_0x3bec43,_0x152606,_0xf0c514,_0x5776a9,_0x4a2be6){var _0x59d81f=_0x2a6b16;super(),_(this,'_loading$',new j[(_0x59d81f(0xbd))](!0x1)),_(this,_0x59d81f(0x1c6),new j[(_0x59d81f(0xbd))]({})),_(this,_0x59d81f(0x211),new j[(_0x59d81f(0xbd))]({})),_(this,_0x59d81f(0x149),async _0x305e6b=>{var _0x2ae02c=_0x59d81f;this[_0x2ae02c(0x197)][_0x2ae02c(0xf1)](!0x0);try{const _0x1ace24=await this[_0x2ae02c(0xe7)](_0x305e6b);if(!_0x1ace24[_0x2ae02c(0x163)]){this['_messageService']['show']({'type':x[_0x2ae02c(0x162)][_0x2ae02c(0xc9)],'content':_0x1ace24[_0x2ae02c(0x184)]||this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0x111))});return;}_0x305e6b[_0x2ae02c(0x164)]?await this['_localStorageService'][_0x2ae02c(0xf5)](w,_0x305e6b['apiKey'][_0x2ae02c(0xc1)]()):await this[_0x2ae02c(0x1fd)]['removeItem'](w),this[_0x2ae02c(0x14b)][_0x2ae02c(0x1fc)](s['MCP_PLUGIN_CONFIG_KEY'],{..._0x305e6b,'apiKey':_0x305e6b[_0x2ae02c(0x164)][_0x2ae02c(0xc1)]()}),this[_0x2ae02c(0x1c6)][_0x2ae02c(0xf1)]({..._0x305e6b,'apiKey':_0x305e6b[_0x2ae02c(0x164)][_0x2ae02c(0xc1)]()}),this[_0x2ae02c(0x100)]['show']({'type':x['MessageType'][_0x2ae02c(0xd7)],'content':this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0xb8))}),setTimeout(()=>{var _0x2ee10b=_0x2ae02c;this[_0x2ee10b(0x1d6)]['close'](A);},0x320);}catch(_0x4e2cd4){this[_0x2ae02c(0x1b4)][_0x2ae02c(0x19a)](_0x2ae02c(0x1b0),_0x4e2cd4),this[_0x2ae02c(0x100)][_0x2ae02c(0x1ab)]({'type':x[_0x2ae02c(0x162)][_0x2ae02c(0xc9)],'content':this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0x174))});}finally{this[_0x2ae02c(0x197)][_0x2ae02c(0xf1)](!0x1);}}),(this['_injector']=_0x25dbff,this[_0x59d81f(0x15e)]=_0x109ad6,this[_0x59d81f(0x14b)]=_0x408d86,this[_0x59d81f(0x1fd)]=_0x2c6587,this[_0x59d81f(0x1d6)]=_0x5e1a44,this[_0x59d81f(0x100)]=_0x3bec43,this[_0x59d81f(0xc0)]=_0x152606,this['_localeService']=_0xf0c514,this['_logService']=_0x5776a9,this['_mcpConnectionController']=_0x4a2be6,this[_0x59d81f(0xff)](),this[_0x59d81f(0x113)](),this[_0x59d81f(0x147)]());}[_0x2a6b16(0xb4)](){var _0x34cd7d=_0x2a6b16;this[_0x34cd7d(0x1d6)][_0x34cd7d(0x1a4)]({'id':A,'title':{'title':this[_0x34cd7d(0x1c7)]['t'](_0x34cd7d(0x12e))},'children':{'label':_0x34cd7d(0x1d3)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x21e5c7=_0x34cd7d;this['_dialogService'][_0x21e5c7(0x20d)](A);}});}[_0x2a6b16(0xe3)](){var _0xe27953=_0x2a6b16;return this['_mcpCoreConfig$'][_0xe27953(0x9b)];}[_0x2a6b16(0x147)](){var _0x5941d0=_0x2a6b16;this[_0x5941d0(0x1db)](this[_0x5941d0(0xc0)][_0x5941d0(0x175)](_0x5941d0(0x1d3),this[_0x5941d0(0x128)]()));}[_0x2a6b16(0x128)](){var _0x58d28f=_0x2a6b16;return v[_0x58d28f(0x11d)](()=>{var _0x138a68=_0x58d28f,_0x587ec2,_0x6c694f;return o[_0x138a68(0x214)](B,{'config':this[_0x138a68(0x211)][_0x138a68(0x9b)],'mcpCoreConfig':this[_0x138a68(0x1c6)][_0x138a68(0x9b)],'onSave':this['_handleConfigSave'],'loading':this[_0x138a68(0x197)]['value'],'connectionStatus$':(_0x587ec2=this[_0x138a68(0x157)])==null?void 0x0:_0x587ec2[_0x138a68(0x1ca)],'connectionError$':(_0x6c694f=this[_0x138a68(0x157)])==null?void 0x0:_0x6c694f[_0x138a68(0x1c4)]});},this[_0x58d28f(0xdc)]);}['_initConfigSync'](){var _0x4ae775=_0x2a6b16;this[_0x4ae775(0x1db)](this[_0x4ae775(0x14b)][_0x4ae775(0x12f)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x4ae775(0x1da)](_0x3426a5=>{var _0x24a4ef=_0x4ae775;this[_0x24a4ef(0x1c6)][_0x24a4ef(0xf1)](_0x3426a5||{});}));const _0x29cabe=this[_0x4ae775(0x14b)][_0x4ae775(0x114)](s[_0x4ae775(0x107)]);this['_mcpCoreConfig$']['next'](_0x29cabe||{}),this[_0x4ae775(0x1db)](this['_configService']['subscribeConfigValue$'](k)['subscribe'](_0x54f2e1=>{var _0x32abc6=_0x4ae775;this[_0x32abc6(0x211)]['next'](_0x54f2e1||{});}));const _0x357a5c=this['_configService'][_0x4ae775(0x114)](k);this[_0x4ae775(0x211)][_0x4ae775(0xf1)](_0x357a5c||{});}async[_0x2a6b16(0x113)](){var _0x5306fe=_0x2a6b16;const _0x48cd3f=await this[_0x5306fe(0x1fd)][_0x5306fe(0x1ee)](w);if(_0x48cd3f){const _0x27e63e={...this[_0x5306fe(0x1c6)]['value'],'apiKey':_0x48cd3f};this[_0x5306fe(0x14b)]['setConfig'](s[_0x5306fe(0x107)],_0x27e63e),this[_0x5306fe(0x1c6)]['next'](_0x27e63e);}}async[_0x2a6b16(0xe7)](_0x4f892d){var _0xcc18ba=_0x2a6b16;if(!_0x4f892d[_0xcc18ba(0x164)]||_0x4f892d[_0xcc18ba(0x164)][_0xcc18ba(0xc1)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xcc18ba(0x16a))};if(_0x4f892d['apiKey'][_0xcc18ba(0xc1)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0xcc18ba(0x1c7)]['t'](_0xcc18ba(0x18e))};try{const _0x18a2da=await this['_injector'][_0xcc18ba(0x96)](s[_0xcc18ba(0x200)])['validateApiKey'](_0x4f892d['apiKey'][_0xcc18ba(0xc1)]());return _0x18a2da[_0xcc18ba(0x163)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x18a2da[_0xcc18ba(0x19a)]||this[_0xcc18ba(0x1c7)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x1af5b5){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x1af5b5),{'isValid':!0x0};}}},exports[_0x2a6b16(0x1cb)]=pe([p(0x0,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),p(0x1,v[_0x2a6b16(0xb2)]),p(0x2,u['IConfigService']),p(0x3,u[_0x2a6b16(0xd3)]),p(0x4,v['IDialogService']),p(0x5,v[_0x2a6b16(0x14a)]),p(0x6,u['Inject'](v['ComponentManager'])),p(0x7,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x10b)])),p(0x8,u[_0x2a6b16(0x103)]),p(0x9,u[_0x2a6b16(0x16d)](s['MCPConnectionController']))],exports[_0x2a6b16(0x1cb)]);const b={'id':_0x2a6b16(0x11f),'type':u[_0x2a6b16(0x15c)]['COMMAND'],'handler':async(_0x8f122e,_0x3022e9)=>(_0x8f122e[_0x2a6b16(0x96)](exports[_0x2a6b16(0x1cb)])[_0x2a6b16(0xb4)](),!0x0)};function H(_0x973418,_0x29f558){var _0x4f8b60=_0x2a6b16;switch(_0x973418){case s[_0x4f8b60(0xd4)][_0x4f8b60(0x1e1)]:return _0x29f558===s[_0x4f8b60(0x119)][_0x4f8b60(0x133)]?_0x4f8b60(0x188):_0x4f8b60(0x110);case s['MCPConnectionStatus'][_0x4f8b60(0xbb)]:return'mcpStatus.connecting';case s['MCPConnectionStatus'][_0x4f8b60(0xb0)]:return _0x4f8b60(0x1ff);case s[_0x4f8b60(0xd4)][_0x4f8b60(0x199)]:switch(_0x29f558){case s[_0x4f8b60(0x119)]['INVALID_API_KEY']:return _0x4f8b60(0xb9);case s['MCPConnectionError'][_0x4f8b60(0x135)]:return _0x4f8b60(0x139);case s['MCPConnectionError']['NETWORK_ERROR']:return _0x4f8b60(0x131);case s[_0x4f8b60(0x119)]['MAX_RETRIES_EXCEEDED']:return _0x4f8b60(0x1c5);default:return _0x4f8b60(0x1a9);}case s[_0x4f8b60(0xd4)]['RETRYING']:return _0x4f8b60(0x1b7);default:return'mcpStatus.unknown';}}function he(_0x585988,_0x4bac98,_0x8ebc35){var _0x581d2f=_0x2a6b16;const _0x4c8895=H(_0x585988,_0x4bac98),_0x50ef58=_0x8ebc35['t'](_0x4c8895);return _0x585988===s['MCPConnectionStatus'][_0x581d2f(0x1e1)]&&_0x4bac98===s[_0x581d2f(0x119)][_0x581d2f(0x133)]?_0x50ef58+_0x581d2f(0xca)+_0x8ebc35['t'](_0x581d2f(0xbf)):_0x585988===s[_0x581d2f(0xd4)][_0x581d2f(0xb0)]?''+_0x50ef58:_0x585988===s['MCPConnectionStatus']['DISCONNECTED']||_0x585988===s[_0x581d2f(0xd4)][_0x581d2f(0x199)]?_0x50ef58+_0x581d2f(0xca)+_0x8ebc35['t'](_0x581d2f(0x205)):_0x50ef58;}function me(_0x14962e){var _0x370b7c=_0x2a6b16;switch(_0x14962e){case s['MCPConnectionStatus'][_0x370b7c(0xb0)]:return _0x370b7c(0xaf);case s[_0x370b7c(0xd4)][_0x370b7c(0xbb)]:case s['MCPConnectionStatus']['RETRYING']:return _0x370b7c(0x129);case s[_0x370b7c(0xd4)]['FAILED']:case s[_0x370b7c(0xd4)][_0x370b7c(0x1e1)]:return _0x370b7c(0x17a);default:return _0x370b7c(0x1f3);}}function q(_0x409192){var _0x41e9f2=_0x2a6b16;const {status$:_0x5c6cd6,error$:_0xb80b96,onConfigure:_0x426042}=_0x409192,_0x564daf=v[_0x41e9f2(0x1b5)](_0x5c6cd6,s[_0x41e9f2(0xd4)][_0x41e9f2(0x1e1)]),_0x52cbde=v[_0x41e9f2(0x1b5)](_0xb80b96,s[_0x41e9f2(0x119)][_0x41e9f2(0x13d)]),_0x479a26=v[_0x41e9f2(0x161)](u[_0x41e9f2(0x10b)]),_0x43ba6d=_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xb0)],_0xda0a5d=_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xbb)]||_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xc3)],_0x46fae0=_0x479a26['t'](H(_0x564daf,_0x52cbde)),_0x36fd05=he(_0x564daf,_0x52cbde,_0x479a26),_0x4e2068=me(_0x564daf),_0x22031=_0x43ba6d?o[_0x41e9f2(0x214)](V,{}):o[_0x41e9f2(0x214)](F,{}),_0x416939=d[_0x41e9f2(0x150)](()=>{_0x426042&&_0x426042();},[_0x43ba6d,_0xda0a5d,_0x426042]);function _0x2e3cb9(){var _0x121951=_0x41e9f2;return o[_0x121951(0xf0)](_0x121951(0x1d1),{'className':x[_0x121951(0x14f)](_0x121951(0xa4),_0x426042&&_0x121951(0x1cf)),'onClick':_0x426042?_0x416939:void 0x0,'children':[o[_0x121951(0x214)](_0x121951(0x1d1),{'className':x[_0x121951(0x14f)](_0x121951(0x190),_0x4e2068),'children':_0x22031}),o[_0x121951(0x214)](_0x121951(0x1d1),{'className':_0x121951(0x137),'children':_0x46fae0})]});}return o[_0x41e9f2(0x214)](x[_0x41e9f2(0x1fb)],{'title':_0x36fd05,'placement':_0x41e9f2(0xa7),'children':_0x2e3cb9()});}function _0xcf39(_0x74d426,_0x3a6579){var _0x2d6465=_0x2d64();return _0xcf39=function(_0xcf39ca,_0x109980){_0xcf39ca=_0xcf39ca-0x93;var _0x356366=_0x2d6465[_0xcf39ca];return _0x356366;},_0xcf39(_0x74d426,_0x3a6579);}var xe=Object[_0x2a6b16(0x155)],Pe=(_0x47975d,_0x24605c,_0x15cfc6,_0x12c953)=>{var _0x3c5b1c=_0x2a6b16;for(var _0x570844=_0x12c953>0x1?void 0x0:_0x12c953?xe(_0x24605c,_0x15cfc6):_0x24605c,_0x32ef7d=_0x47975d[_0x3c5b1c(0x1d2)]-0x1,_0x4a5d55;_0x32ef7d>=0x0;_0x32ef7d--)(_0x4a5d55=_0x47975d[_0x32ef7d])&&(_0x570844=_0x4a5d55(_0x570844)||_0x570844);return _0x570844;},O=(_0x2fa2ae,_0x74f60)=>(_0x27bcf4,_0x32ca2a)=>_0x74f60(_0x27bcf4,_0x32ca2a,_0x2fa2ae);function _0x2d64(){var _0x3d21c7=['univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','forEach','concat','OpenMCPConfigPanelCommand','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','registerCommand','mcp.apiKey','Close','getItem','mcpConfig.description','univer-flex\x20univer-items-center\x20univer-gap-3','NETWORK_ERROR','M5.21243\x2012.287L11.8791\x205.62036','univer-text-gray-500','zhCN','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','Button','Configuration\x20Notes:','会话ID','IConfigService','https://console.univer.ai','Tooltip','setConfig','_localStorageService','10pkHTLJ','mcpStatus.connected','MCPConnectionController','Server\x20Endpoint','http://www.w3.org/2000/svg','univer-flex\x20univer-items-start\x20univer-gap-2','CheckMarkIcon','mcpStatus.clickToConnect','span','univer-flex-1','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','MCPUIMenuController','svg','mcpConfig.saving','Click\x20to\x20configure\x20MCP','close','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','entries','useRef','_config$','_blank','0\x200\x2017\x2017','jsx','API\x20密钥无效,请检查密钥是否正确','Failed\x20to\x20save\x20configuration','map','get','white','help-single','off','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','value','INVALID_API_KEY','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','MCPStatusDisplay','icon','需要\x20API\x20密钥才能连接','MCP:\x20会话被占用','merge','MCP\x20Connected','univer-flex\x20univer-cursor-pointer\x20univer-items-center','_commandService','mcpServerUrl','bottom','useState','url(#on-line-icon_clip0_910_349)','random','currentColor','univer-font-medium','defineProperty','OnLineIcon','univer-text-green-500','CONNECTED','BuiltInUIPart','IUIPartsService','string','showConfigPanel','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Disconnected','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','mcpConfig.configSaved','mcpStatus.invalidApiKey','UniverMCPUIPlugin','CONNECTING','univerjs-icon\x20univerjs-icon-','BehaviorSubject','univer-bg-gray-500','mcpStatus.clickToConfigure','_componentManager','trim','API\x20key\x20is\x20required','RETRYING','Connection\x20Information','none','toString','mask','univer-flex\x20univer-gap-3','Error','\x20-\x20','Connecting...','close-small-single','includes','3871224vovYYt','连接失败','enUS','最大重试次数','hasOwnProperty','ILocalStorageService','MCPConnectionStatus','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','保存配置','Success','MCPConnectionUIController','MCP:\x20Network\x20Error','UniverIcon','MCP\x20Unknown\x20Status','_injector','启用身份验证','_connectionController','您的\x20API\x20密钥将在此浏览器中本地存储','_initializeCommands','url(#off-line-icon_clip0_910_343)','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','getCurrentConfig','_initializeMenus','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-bg-red-500','_validateConfig','MCP\x20配置','Disposable','univer-min-w-0\x20univer-flex-1','round','MAX_RETRIES_EXCEEDED','576354FmmiqB','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','4273506BVTbqv','jsxs','next','mcp-config-dialog','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCP:\x20网络错误','setItem','API\x20Key','mcpConfig.connectionError.networkError','evenodd','_initStatusComponent','mcp-ui.config','path','MCP:\x20Max\x20Retries\x20Exceeded','text','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','_initConfigSync','_messageService','MCP\x20Connection\x20Failed','noopener\x20noreferrer','ILogService','replace','Get\x20your\x20API\x20key\x20in\x20seconds','defs','MCP_PLUGIN_CONFIG_KEY','univer-bg-green-500','mcpConfig.save','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','LocaleService','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP:\x20Session\x20Occupied','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','HEADER_MENU','mcpStatus.disconnected','mcpConfig.validation.invalidConfig','registerComponent','_loadStoredApiKey','getConfig','Univer\x20AI\x20Console','xlink:href','toStringTag','prototype','MCPConnectionError','mcpConfig.note2','MCP\x20Connecting...','propertyIsEnumerable','connectInjector','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','mcp-ui.command.openConfigPanel','MenuItemType','mcpConfig.apiApplyInfo.title','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','CloseSmallSingle','连接信息','DependentOn','MCP:\x20缺少\x20API\x20密钥','use','_createConfigPanelComponent','univer-text-yellow-500','displayName','超出最大重试次数,请稍后再试','off-line-icon_clip0_910_343','Univer\x20AI\x20控制台','mcpConfig.title','subscribeConfigValue$','Enable\x20authentication\x20for\x20secure\x20connections','mcpStatus.networkError','Max\x20Retries','MISSING_API_KEY','assign','SESSION_ID_OCCUPIED','showDeveloperTools','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.apiApplyInfo.description','mcpStatus.sessionOccupied','配置无效','off-line-icon','1em','NONE','mcpConfig.apiApplyInfo.getStarted','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20API\x20Key\x20Missing','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','fill','4693828ebnyjh','API\x20密钥不能为空','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','url(#$1','_registerComponent','translate(.97)','_handleConfigSave','IMessageService','_configService','univer-flex-shrink-0\x20univer-text-blue-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','重连中...','clsx','useCallback','Session\x20ID','_config','indexOf','https://console.univer.plus','getOwnPropertyDescriptor','API\x20密钥','_mcpConnectionController','MCP\x20Configuration','mcpConfig.connectionStatus.connecting','defIds','className','CommandType','mcpConfig.connectionError.missingApiKey','_uiPartsService','MCP\x20Disconnected','on-line-icon_clip0_910_349','useDependency','MessageType','isValid','apiKey','Save\x20Configuration','apply','MCP:\x20无效的\x20API\x20密钥','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','mcpConfig.serverEndpoint','mcpConfig.validation.apiKeyRequired','check-mark-icon','createElement','Inject','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','点击连接\x20MCP','IMenuManagerService','forwardRef','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.configError','register','API\x20key\x20is\x20required\x20to\x20connect','mergeMenu','0\x200\x2017\x2016','call','univer-text-red-500','334325mXRsUm','univer.ai','配置保存失败','current','univer-text-blue-600','请输入您的\x20API\x20密钥','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','配置\x20MCP\x20使用\x20AI\x20操作电子表格','20pHBLFv','errorMessage','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.connectionStatus.retrying','mcpConfig.apiApplyInfo.univerAiLabel','mcpStatus.missingApiKey','symbol','extend','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','colorChannel1','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.validation.apiKeyTooShort','children','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.connectionStatus.failed','sessionId','88927INrbTv','会话当前被占用,请稍后再试','Enter\x20your\x20API\x20key','0\x200\x2016\x2016','_loading$','pluginName','FAILED','error','Click\x20to\x20connect\x20MCP','mcpConfig.note1','Retrying...','保存中...','on-line-icon','几秒钟内获取您的\x20API\x20密钥','MCP_UI_PLUGIN','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2133738dPcVJK','open','univer-bg-blue-500','MCP\x20Retrying...','univer-flex\x20univer-items-start\x20univer-gap-3','univer-flex\x20univer-items-center\x20univer-gap-2','mcpStatus.failed','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','show','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-xs\x20univer-text-gray-500','配置保存成功','Connected','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','API\x20密钥无效,请检查您的密钥后重试','Injector','mcpConfig.apiKey','_logService','useObservable','Module','mcpStatus.retrying','idSuffix','MCP\x20重连中...','42FetxfM','function','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','已连接','_handleConfigure','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','tag','RibbonStartGroup','javascript:void(0)','connectionError$','mcpStatus.maxRetriesExceeded','_mcpCoreConfig$','_localeService','attrs','Saving...','connectionStatus$','MCPConfigUIController','启用身份验证以获得安全连接','Plugin','Input','hover:univer-opacity-80','univer.plus','div','length','MCPConfigPanel','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','_dialogService','Configuration\x20saved\x20successfully','univer-text-sm\x20univer-font-medium','substring','subscribe','disposeWithMe','code','MCP:\x20超出最大重试次数','Invalid\x20configuration','_menuManagerService','M0\x200H16V16H0z','DISCONNECTED','MCP\x20已断开','clipPath','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20连接中...'];_0x2d64=function(){return _0x3d21c7;};return _0x2d64();}exports[_0x2a6b16(0xd8)]=class extends u[_0x2a6b16(0xe9)]{constructor(_0x3cc2ea,_0x3bbc95,_0x109711){var _0x27029f=_0x2a6b16;super(),this[_0x27029f(0xdc)]=_0x3cc2ea,this[_0x27029f(0xde)]=_0x3bbc95,this[_0x27029f(0x15e)]=_0x109711,this[_0x27029f(0xf9)]();}[_0x2a6b16(0xf9)](){var _0x2e94ea=_0x2a6b16;this['disposeWithMe'](this[_0x2e94ea(0x15e)][_0x2e94ea(0x112)](v[_0x2e94ea(0xb1)][_0x2e94ea(0x10f)],()=>v[_0x2e94ea(0x11d)](Ie({'status$':this[_0x2e94ea(0xde)]['connectionStatus$'],'error$':this[_0x2e94ea(0xde)][_0x2e94ea(0x1c4)],'onConfigure':()=>this[_0x2e94ea(0x1be)]()}),this['_injector'])));}[_0x2a6b16(0x1be)](){var _0x30c84d=_0x2a6b16;this['_injector'][_0x30c84d(0x96)](exports[_0x30c84d(0x1cb)])[_0x30c84d(0xb4)]();}},exports['MCPConnectionUIController']=Pe([O(0x0,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),O(0x1,u['Inject'](s['MCPConnectionController'])),O(0x2,v[_0x2a6b16(0xb2)])],exports[_0x2a6b16(0xd8)]);function Ie(_0x1f0a53){const {status$:_0x9e8ee8,error$:_0x4711df,onConfigure:_0x145000}=_0x1f0a53;return function(){var _0x379ad8=_0xcf39;return o[_0x379ad8(0x214)](q,{'status$':_0x9e8ee8,'error$':_0x4711df,'onConfigure':_0x145000});};}function Se(_0x5db45e){var _0x2b964b=_0x2a6b16;return{'id':b['id'],'type':v[_0x2b964b(0x120)]['BUTTON'],'icon':'MenuIcon','title':_0x2b964b(0x12e),'tooltip':_0x2b964b(0x12e)};}const _e={[v[_0x2a6b16(0x1c2)]['OTHERS']]:{[b['id']]:{'order':0xa,'menuItemFactory':Se}}};var ye=Object[_0x2a6b16(0x155)],Me=(_0xe2dd9c,_0x12f2f2,_0x3ec23d,_0x1403f7)=>{for(var _0x1ed262=_0x1403f7>0x1?void 0x0:_0x1403f7?ye(_0x12f2f2,_0x3ec23d):_0x12f2f2,_0x527f7b=_0xe2dd9c['length']-0x1,_0x5d1876;_0x527f7b>=0x0;_0x527f7b--)(_0x5d1876=_0xe2dd9c[_0x527f7b])&&(_0x1ed262=_0x5d1876(_0x1ed262)||_0x1ed262);return _0x1ed262;},R=(_0x5d9073,_0x585fef)=>(_0x210686,_0x17c95b)=>_0x585fef(_0x210686,_0x17c95b,_0x5d9073);exports[_0x2a6b16(0x209)]=class extends u['Disposable']{constructor(_0x4b6a94,_0x5cf2fa){var _0x6b33fb=_0x2a6b16;super(),this[_0x6b33fb(0xa5)]=_0x4b6a94,this[_0x6b33fb(0x1df)]=_0x5cf2fa,this[_0x6b33fb(0xe0)](),this[_0x6b33fb(0xe4)]();}['_initializeCommands'](){var _0x8558c6=_0x2a6b16;[b][_0x8558c6(0x1e7)](_0x3d602f=>{var _0x5c6f22=_0x8558c6;this[_0x5c6f22(0x1db)](this['_commandService'][_0x5c6f22(0x1eb)](_0x3d602f));});}['_initializeMenus'](){var _0x1af9c3=_0x2a6b16;this[_0x1af9c3(0x1df)][_0x1af9c3(0x177)](_e);}},exports['MCPUIMenuController']=Me([R(0x0,u['ICommandService']),R(0x1,v[_0x2a6b16(0x170)])],exports[_0x2a6b16(0x209)]);const Ee={'mcpStatus':{'disconnected':_0x2a6b16(0x15f),'connecting':_0x2a6b16(0x11b),'connected':_0x2a6b16(0xa3),'failed':_0x2a6b16(0x101),'retrying':_0x2a6b16(0x1a6),'unknown':_0x2a6b16(0xdb),'missingApiKey':_0x2a6b16(0x140),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x2a6b16(0x10d),'networkError':_0x2a6b16(0xd9),'maxRetriesExceeded':_0x2a6b16(0xfc),'clickToConnect':_0x2a6b16(0x19b),'clickToConfigure':_0x2a6b16(0x20c)},'mcpConfig':{'title':_0x2a6b16(0x158),'description':_0x2a6b16(0x141),'apiKey':_0x2a6b16(0xf6),'apiKeyPlaceholder':_0x2a6b16(0x195),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2a6b16(0x130),'connectionInfo':_0x2a6b16(0xc4),'serverEndpoint':_0x2a6b16(0x201),'sessionId':_0x2a6b16(0x151),'maxRetries':_0x2a6b16(0x132),'save':_0x2a6b16(0x165),'saving':_0x2a6b16(0x1c9),'note1':_0x2a6b16(0x1a2),'note2':_0x2a6b16(0x13f),'configSaved':_0x2a6b16(0x1d7),'configError':_0x2a6b16(0x94),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2a6b16(0x1d5),'univerAiLabel':_0x2a6b16(0x115),'getStarted':_0x2a6b16(0x105)},'validation':{'apiKeyRequired':_0x2a6b16(0xc2),'apiKeyTooShort':_0x2a6b16(0x18b),'invalidConfig':_0x2a6b16(0x1de),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2a6b16(0xb6),'connecting':_0x2a6b16(0xcb),'connected':_0x2a6b16(0x1af),'failed':'Connection\x20Failed','retrying':_0x2a6b16(0x19d)},'connectionError':{'missingApiKey':_0x2a6b16(0x176),'invalidApiKey':_0x2a6b16(0x1e4),'sessionOccupied':_0x2a6b16(0x181),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Ne={'mcpStatus':{'disconnected':_0x2a6b16(0x1e2),'connecting':_0x2a6b16(0x1e5),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x2a6b16(0x1b9),'unknown':'MCP\x20状态未知','missingApiKey':_0x2a6b16(0x126),'invalidApiKey':_0x2a6b16(0x167),'sessionOccupied':_0x2a6b16(0xa1),'networkError':_0x2a6b16(0xf4),'maxRetriesExceeded':_0x2a6b16(0x1dd),'clickToConnect':_0x2a6b16(0x16f),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x2a6b16(0xe8),'description':_0x2a6b16(0x182),'apiKey':_0x2a6b16(0x156),'apiKeyPlaceholder':_0x2a6b16(0x180),'apiKeyHint':_0x2a6b16(0xdf),'enableAuth':_0x2a6b16(0xdd),'enableAuthHint':_0x2a6b16(0x1cc),'connectionInfo':_0x2a6b16(0x124),'serverEndpoint':'服务器端点','sessionId':_0x2a6b16(0x1f8),'maxRetries':_0x2a6b16(0xd1),'save':_0x2a6b16(0xd6),'saving':_0x2a6b16(0x19e),'note1':'配置更改将立即生效','note2':_0x2a6b16(0x173),'configSaved':_0x2a6b16(0x1ae),'configError':_0x2a6b16(0x17d),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x2a6b16(0x1bf),'univerAiLabel':_0x2a6b16(0x12d),'getStarted':_0x2a6b16(0x1a0)},'validation':{'apiKeyRequired':_0x2a6b16(0x144),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x2a6b16(0x13a),'invalidApiKey':_0x2a6b16(0x93)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x2a6b16(0x1bd),'failed':_0x2a6b16(0xcf),'retrying':_0x2a6b16(0x14e)},'connectionError':{'missingApiKey':_0x2a6b16(0xa0),'invalidApiKey':_0x2a6b16(0x1b1),'sessionOccupied':_0x2a6b16(0x194),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x2a6b16(0x12b)}}};var be=Object['defineProperty'],je=Object[_0x2a6b16(0x155)],we=(_0x6f6b83,_0x10591f,_0xc35827)=>_0x10591f in _0x6f6b83?be(_0x6f6b83,_0x10591f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc35827}):_0x6f6b83[_0x10591f]=_0xc35827,Ae=(_0x526763,_0x2bd3ac,_0xc647a2,_0x471f22)=>{var _0x469966=_0x2a6b16;for(var _0x52b15a=_0x471f22>0x1?void 0x0:_0x471f22?je(_0x2bd3ac,_0xc647a2):_0x2bd3ac,_0x4d96de=_0x526763[_0x469966(0x1d2)]-0x1,_0x47349c;_0x4d96de>=0x0;_0x4d96de--)(_0x47349c=_0x526763[_0x4d96de])&&(_0x52b15a=_0x47349c(_0x52b15a)||_0x52b15a);return _0x52b15a;},y=(_0x40d963,_0x1ee20f)=>(_0x5da566,_0x1185ed)=>_0x1ee20f(_0x5da566,_0x1185ed,_0x40d963),Oe=(_0x266a38,_0x496948,_0x1188da)=>we(_0x266a38,_0x496948+'',_0x1188da);exports[_0x2a6b16(0xba)]=class extends u[_0x2a6b16(0x1cd)]{constructor(_0x1d4609=T,_0x454a06,_0x8a2104,_0x549d11,_0x1825e9,_0x47a0f3){var _0x1760f6=_0x2a6b16;super(),this[_0x1760f6(0x152)]=_0x1d4609,this[_0x1760f6(0xdc)]=_0x454a06,this['_configService']=_0x8a2104,this['_uiPartsService']=_0x549d11,this[_0x1760f6(0x1fd)]=_0x1825e9,this[_0x1760f6(0x1c7)]=_0x47a0f3;const {..._0x103610}=u[_0x1760f6(0xa2)]({},T,this[_0x1760f6(0x152)]);this[_0x1760f6(0x14b)][_0x1760f6(0x1fc)](k,_0x103610);}async['onStarting'](){var _0x8661fd=_0x2a6b16;[[exports[_0x8661fd(0xd8)]],[exports[_0x8661fd(0x1cb)]],[exports[_0x8661fd(0x209)]]][_0x8661fd(0x1e7)](_0x57be32=>this[_0x8661fd(0xdc)]['add'](_0x57be32)),this[_0x8661fd(0xdc)][_0x8661fd(0x96)](exports[_0x8661fd(0xd8)]),this[_0x8661fd(0xdc)]['get'](exports[_0x8661fd(0x1cb)]),this['_injector'][_0x8661fd(0x96)](exports[_0x8661fd(0x209)]);}},Oe(exports[_0x2a6b16(0xba)],_0x2a6b16(0x198),_0x2a6b16(0x1a1)),exports[_0x2a6b16(0xba)]=Ae([u[_0x2a6b16(0x125)](s['UniverMCPPlugin']),y(0x1,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),y(0x2,u[_0x2a6b16(0x1f9)]),y(0x3,v['IUIPartsService']),y(0x4,u[_0x2a6b16(0xd3)]),y(0x5,u['Inject'](u['LocaleService']))],exports[_0x2a6b16(0xba)]),exports[_0x2a6b16(0x1d3)]=B,exports[_0x2a6b16(0x9e)]=q,exports[_0x2a6b16(0x1e9)]=b,exports[_0x2a6b16(0xd0)]=Ee,exports[_0x2a6b16(0x1f4)]=Ne;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2cc8f4=_0x534d;(function(_0x3e3119,_0x207118){const _0x1cd2bd=_0x534d,_0x3cc43d=_0x3e3119();while(!![]){try{const _0x32f79c=parseInt(_0x1cd2bd(0xff))/0x1*(-parseInt(_0x1cd2bd(0xe6))/0x2)+-parseInt(_0x1cd2bd(0xec))/0x3*(-parseInt(_0x1cd2bd(0xf9))/0x4)+-parseInt(_0x1cd2bd(0xdf))/0x5+parseInt(_0x1cd2bd(0xf6))/0x6*(-parseInt(_0x1cd2bd(0xe7))/0x7)+-parseInt(_0x1cd2bd(0xdc))/0x8*(parseInt(_0x1cd2bd(0x105))/0x9)+-parseInt(_0x1cd2bd(0xdd))/0xa*(parseInt(_0x1cd2bd(0xf3))/0xb)+-parseInt(_0x1cd2bd(0xea))/0xc*(-parseInt(_0x1cd2bd(0xfa))/0xd);if(_0x32f79c===_0x207118)break;else _0x3cc43d['push'](_0x3cc43d['shift']());}catch(_0x1d76a8){_0x3cc43d['push'](_0x3cc43d['shift']());}}}(_0x80f0,0x723dc));function _0x534d(_0x52ed92,_0x3def65){const _0x80f017=_0x80f0();return _0x534d=function(_0x534d61,_0xec9f16){_0x534d61=_0x534d61-0xdc;let _0x34be11=_0x80f017[_0x534d61];return _0x34be11;},_0x534d(_0x52ed92,_0x3def65);}function _0x80f0(){const _0x5175d8=['Connection\x20Information','Enter\x20your\x20API\x20key','1210962ZnKZNk','MCP:\x20API\x20Key\x20Missing','API\x20Key','16028WQzZuI','5048485bRczIo','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20configure\x20MCP','163138BHXWME','MCP\x20Retrying...','MCP\x20Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Server\x20Endpoint','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','11835rARmWH','Session\x20ID','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','exports','MCP\x20Connected','5144KQcQKI','3470iMxDHY','Saving...','3951900dJblJK','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Univer\x20AI\x20Console','API\x20key\x20is\x20required','2zQOvtk','7zWrTON','MCP:\x20Invalid\x20API\x20Key','MCP\x20Unknown\x20Status','60eDhsyX','MCP:\x20Network\x20Error','537wcgQZg','Connection\x20Failed','MCP\x20Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','6028GeXYUc'];_0x80f0=function(){return _0x5175d8;};return _0x80f0();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2cc8f4(0x101),'connected':_0x2cc8f4(0x10a),'failed':_0x2cc8f4(0xee),'retrying':_0x2cc8f4(0x100),'unknown':_0x2cc8f4(0xe9),'missingApiKey':_0x2cc8f4(0xf7),'invalidApiKey':_0x2cc8f4(0xe8),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2cc8f4(0xeb),'maxRetriesExceeded':_0x2cc8f4(0xe1),'clickToConnect':_0x2cc8f4(0xfc),'clickToConfigure':_0x2cc8f4(0xfe)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2cc8f4(0x102),'apiKey':_0x2cc8f4(0xf8),'apiKeyPlaceholder':_0x2cc8f4(0xf5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2cc8f4(0xe2),'connectionInfo':_0x2cc8f4(0xf4),'serverEndpoint':_0x2cc8f4(0x103),'sessionId':_0x2cc8f4(0x106),'maxRetries':'Max\x20Retries','save':_0x2cc8f4(0xf0),'saving':_0x2cc8f4(0xde),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2cc8f4(0x108),'configSaved':_0x2cc8f4(0xe0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2cc8f4(0xf2),'description':_0x2cc8f4(0xfb),'univerAiLabel':_0x2cc8f4(0xe4),'getStarted':_0x2cc8f4(0xfd)},'validation':{'apiKeyRequired':_0x2cc8f4(0xe5),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2cc8f4(0xe3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':_0x2cc8f4(0xed),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x2cc8f4(0x107),'sessionOccupied':_0x2cc8f4(0xf1),'networkError':_0x2cc8f4(0x104),'maxRetriesExceeded':_0x2cc8f4(0xef)}}},n=e;module[_0x2cc8f4(0x109)]=n;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x5e5d(_0x52baa7,_0x1d4fad){const _0x4a4610=_0x4a46();return _0x5e5d=function(_0x5e5d22,_0x55a0a0){_0x5e5d22=_0x5e5d22-0x1c1;let _0x5116ca=_0x4a4610[_0x5e5d22];return _0x5116ca;},_0x5e5d(_0x52baa7,_0x1d4fad);}function _0x4a46(){const _0x3b45c6=['MCP\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','Session\x20ID','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','745647EQZrKH','MCP:\x20API\x20Key\x20Missing','What\x20is\x20API\x20Key?','3737416KXShZk','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connected','340vIDzko','7AxqLHF','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','1Shrzdt','Disconnected','24170JYHcTE','Save\x20Configuration','Invalid\x20configuration','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Disconnected','11308880qZhrrV','Connection\x20Information','1376322jEZiqY','API\x20key\x20is\x20required','Failed\x20to\x20save\x20configuration','Server\x20Endpoint','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','1945827WxUyLV','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Saving...','MCP:\x20Invalid\x20API\x20Key','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','272276heviur','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x4a46=function(){return _0x3b45c6;};return _0x4a46();}const _0x5933ba=_0x5e5d;(function(_0x654ebb,_0x4a05ef){const _0x306e58=_0x5e5d,_0x3ae755=_0x654ebb();while(!![]){try{const _0x459132=parseInt(_0x306e58(0x1ec))/0x1*(-parseInt(_0x306e58(0x1d4))/0x2)+-parseInt(_0x306e58(0x1e1))/0x3+-parseInt(_0x306e58(0x1e8))/0x4*(-parseInt(_0x306e58(0x1ee))/0x5)+parseInt(_0x306e58(0x1c4))/0x6*(-parseInt(_0x306e58(0x1e9))/0x7)+-parseInt(_0x306e58(0x1e4))/0x8+-parseInt(_0x306e58(0x1ca))/0x9+parseInt(_0x306e58(0x1c2))/0xa;if(_0x459132===_0x4a05ef)break;else _0x3ae755['push'](_0x3ae755['shift']());}catch(_0x13246c){_0x3ae755['push'](_0x3ae755['shift']());}}}(_0x4a46,0x3ba64));const e={'mcpStatus':{'disconnected':_0x5933ba(0x1c1),'connecting':_0x5933ba(0x1dc),'connected':_0x5933ba(0x1e7),'failed':_0x5933ba(0x1e5),'retrying':'MCP\x20Retrying...','unknown':_0x5933ba(0x1c9),'missingApiKey':_0x5933ba(0x1e2),'invalidApiKey':_0x5933ba(0x1cf),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x5933ba(0x1d2),'maxRetriesExceeded':_0x5933ba(0x1d3),'clickToConnect':_0x5933ba(0x1da),'clickToConfigure':_0x5933ba(0x1d0)},'mcpConfig':{'title':_0x5933ba(0x1d8),'description':_0x5933ba(0x1cb),'apiKey':_0x5933ba(0x1de),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5933ba(0x1e6),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5933ba(0x1d1),'connectionInfo':_0x5933ba(0x1c3),'serverEndpoint':_0x5933ba(0x1c7),'sessionId':_0x5933ba(0x1dd),'maxRetries':'Max\x20Retries','save':_0x5933ba(0x1ef),'saving':_0x5933ba(0x1ce),'note1':_0x5933ba(0x1d7),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x5933ba(0x1c6),'apiApplyInfo':{'title':_0x5933ba(0x1e3),'description':_0x5933ba(0x1db),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5933ba(0x1d9)},'validation':{'apiKeyRequired':_0x5933ba(0x1c5),'apiKeyTooShort':_0x5933ba(0x1df),'invalidConfig':_0x5933ba(0x1f0),'invalidApiKey':_0x5933ba(0x1c8)},'connectionStatus':{'disconnected':_0x5933ba(0x1ed),'connecting':'Connecting...','connected':_0x5933ba(0x1cc),'failed':_0x5933ba(0x1e0),'retrying':_0x5933ba(0x1ea)},'connectionError':{'missingApiKey':_0x5933ba(0x1f1),'invalidApiKey':_0x5933ba(0x1eb),'sessionOccupied':_0x5933ba(0x1d6),'networkError':_0x5933ba(0x1d5),'maxRetriesExceeded':_0x5933ba(0x1cd)}}};module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x4599af=_0x381d;(function(_0x18c830,_0x3c3e0f){const _0x11b0b6=_0x381d,_0x24273f=_0x18c830();while(!![]){try{const _0x270bcf=-parseInt(_0x11b0b6(0xdc))/0x1*(parseInt(_0x11b0b6(0xd5))/0x2)+parseInt(_0x11b0b6(0xe7))/0x3+parseInt(_0x11b0b6(0xf7))/0x4+-parseInt(_0x11b0b6(0xfc))/0x5*(-parseInt(_0x11b0b6(0xfb))/0x6)+-parseInt(_0x11b0b6(0xf0))/0x7*(-parseInt(_0x11b0b6(0xf9))/0x8)+parseInt(_0x11b0b6(0xd8))/0x9+-parseInt(_0x11b0b6(0xdb))/0xa;if(_0x270bcf===_0x3c3e0f)break;else _0x24273f['push'](_0x24273f['shift']());}catch(_0x18c54c){_0x24273f['push'](_0x24273f['shift']());}}}(_0x31c8,0xae34a));function _0x31c8(){const _0x23a0ae=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Connection\x20Information','1161872HkYIXC','Enter\x20your\x20API\x20key','API\x20Key','3175245zKWXxp','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20API\x20Key\x20Missing','13827930FrgWpr','2ifOanp','Saving...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','Session\x20ID','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','232764GRMUSv','MCP:\x20Session\x20Occupied','MCP:\x20Invalid\x20API\x20Key','MCP\x20Retrying...','exports','Failed\x20to\x20save\x20configuration','MCP\x20Connected','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','42nvCsiJ','Connected','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connection\x20Failed','What\x20is\x20API\x20Key?','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','5553184FzPyEx','Enable\x20Authentication','377096ZcWgno','Server\x20Endpoint','1388040vNOFXj','25ORKTlm','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long'];_0x31c8=function(){return _0x23a0ae;};return _0x31c8();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4599af(0xed),'failed':_0x4599af(0xf3),'retrying':_0x4599af(0xea),'unknown':_0x4599af(0xee),'missingApiKey':_0x4599af(0xda),'invalidApiKey':_0x4599af(0xe9),'sessionOccupied':_0x4599af(0xe8),'networkError':_0x4599af(0xdf),'maxRetriesExceeded':_0x4599af(0xf6),'clickToConnect':_0x4599af(0xe1),'clickToConfigure':_0x4599af(0xfd)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4599af(0xd7),'apiKeyPlaceholder':_0x4599af(0xd6),'apiKeyHint':_0x4599af(0xe2),'enableAuth':_0x4599af(0xf8),'enableAuthHint':_0x4599af(0xd9),'connectionInfo':_0x4599af(0x105),'serverEndpoint':_0x4599af(0xfa),'sessionId':_0x4599af(0xe4),'maxRetries':_0x4599af(0xe5),'save':_0x4599af(0xff),'saving':_0x4599af(0xdd),'note1':_0x4599af(0x100),'note2':_0x4599af(0xe0),'configSaved':_0x4599af(0xef),'configError':_0x4599af(0xec),'apiApplyInfo':{'title':_0x4599af(0xf4),'description':_0x4599af(0x102),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4599af(0x101),'invalidConfig':_0x4599af(0xfe),'invalidApiKey':_0x4599af(0x103)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4599af(0xe3),'connected':_0x4599af(0xf1),'failed':_0x4599af(0x104),'retrying':_0x4599af(0xf5)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x4599af(0xf2),'sessionOccupied':_0x4599af(0xde),'networkError':_0x4599af(0xe6),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x381d(_0x2c3fa8,_0x2929fb){const _0x31c876=_0x31c8();return _0x381d=function(_0x381d4b,_0x4eac76){_0x381d4b=_0x381d4b-0xd5;let _0x258948=_0x31c876[_0x381d4b];return _0x258948;},_0x381d(_0x2c3fa8,_0x2929fb);}module[_0x4599af(0xeb)]=n;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x3f0a(){const _0x91c6d3=['Connection\x20Information','MCP\x20Connecting...','Enable\x20Authentication','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2462432TGSFbl','Configuration\x20saved\x20successfully','Saving...','313570EhBLjh','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','13974BFCMsf','What\x20is\x20API\x20Key?','Connection\x20Failed','Retrying...','43abnruv','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required\x20to\x20connect','13157928yclgZv','5628455TEvdlo','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Save\x20Configuration','MCP\x20Connected','16liPwPQ','Max\x20Retries','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','6OkxpIg','API\x20Key','Click\x20to\x20configure\x20MCP','187Dbkccq','9592iYrmwT','API\x20key\x20is\x20required','Click\x20to\x20connect\x20MCP','MCP\x20Retrying...','exports','Disconnected','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Unknown\x20Status','66999MApPJB','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Invalid\x20API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Server\x20Endpoint','11313zdWnsc','Univer\x20AI\x20Console','MCP\x20Disconnected','Invalid\x20configuration'];_0x3f0a=function(){return _0x91c6d3;};return _0x3f0a();}const _0x3e4445=_0xf69d;(function(_0x7288,_0x472f5a){const _0x1589b3=_0xf69d,_0x425185=_0x7288();while(!![]){try{const _0x71921=parseInt(_0x1589b3(0x149))/0x1*(parseInt(_0x1589b3(0x145))/0x2)+parseInt(_0x1589b3(0x164))/0x3*(-parseInt(_0x1589b3(0x152))/0x4)+parseInt(_0x1589b3(0x14e))/0x5*(-parseInt(_0x1589b3(0x155))/0x6)+-parseInt(_0x1589b3(0x171))/0x7+parseInt(_0x1589b3(0x159))/0x8*(parseInt(_0x1589b3(0x169))/0x9)+-parseInt(_0x1589b3(0x143))/0xa*(parseInt(_0x1589b3(0x158))/0xb)+parseInt(_0x1589b3(0x14d))/0xc;if(_0x71921===_0x472f5a)break;else _0x425185['push'](_0x425185['shift']());}catch(_0x29e458){_0x425185['push'](_0x425185['shift']());}}}(_0x3f0a,0xc4572));function _0xf69d(_0x1700f7,_0x281c01){const _0x3f0ad7=_0x3f0a();return _0xf69d=function(_0xf69d6a,_0xde4251){_0xf69d6a=_0xf69d6a-0x143;let _0x218e30=_0x3f0ad7[_0xf69d6a];return _0x218e30;},_0xf69d(_0x1700f7,_0x281c01);}const e={'mcpStatus':{'disconnected':_0x3e4445(0x16b),'connecting':_0x3e4445(0x16e),'connected':_0x3e4445(0x151),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3e4445(0x15c),'unknown':_0x3e4445(0x163),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x3e4445(0x166),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3e4445(0x15b),'clickToConfigure':_0x3e4445(0x157)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3e4445(0x14b),'apiKey':_0x3e4445(0x156),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3e4445(0x161),'enableAuth':_0x3e4445(0x16f),'enableAuthHint':_0x3e4445(0x14a),'connectionInfo':_0x3e4445(0x16d),'serverEndpoint':_0x3e4445(0x168),'sessionId':'Session\x20ID','maxRetries':_0x3e4445(0x153),'save':_0x3e4445(0x150),'saving':_0x3e4445(0x173),'note1':_0x3e4445(0x165),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3e4445(0x172),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3e4445(0x146),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x3e4445(0x16a),'getStarted':_0x3e4445(0x160)},'validation':{'apiKeyRequired':_0x3e4445(0x15a),'apiKeyTooShort':_0x3e4445(0x162),'invalidConfig':_0x3e4445(0x16c),'invalidApiKey':_0x3e4445(0x170)},'connectionStatus':{'disconnected':_0x3e4445(0x15e),'connecting':'Connecting...','connected':_0x3e4445(0x15f),'failed':_0x3e4445(0x147),'retrying':_0x3e4445(0x148)},'connectionError':{'missingApiKey':_0x3e4445(0x14c),'invalidApiKey':_0x3e4445(0x144),'sessionOccupied':_0x3e4445(0x154),'networkError':_0x3e4445(0x14f),'maxRetriesExceeded':_0x3e4445(0x167)}}},n=e;module[_0x3e4445(0x15d)]=n;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x16e556=_0x3fe6;(function(_0x435641,_0xff1149){const _0x3a277e=_0x3fe6,_0x1315e1=_0x435641();while(!![]){try{const _0x3cf185=parseInt(_0x3a277e(0x16b))/0x1*(-parseInt(_0x3a277e(0x170))/0x2)+-parseInt(_0x3a277e(0x17e))/0x3*(-parseInt(_0x3a277e(0x177))/0x4)+-parseInt(_0x3a277e(0x16e))/0x5+parseInt(_0x3a277e(0x173))/0x6*(-parseInt(_0x3a277e(0x17b))/0x7)+-parseInt(_0x3a277e(0x182))/0x8*(-parseInt(_0x3a277e(0x16d))/0x9)+parseInt(_0x3a277e(0x162))/0xa+parseInt(_0x3a277e(0x176))/0xb*(parseInt(_0x3a277e(0x169))/0xc);if(_0x3cf185===_0xff1149)break;else _0x1315e1['push'](_0x1315e1['shift']());}catch(_0xa58c69){_0x1315e1['push'](_0x1315e1['shift']());}}}(_0xa703,0x960f3));function _0x3fe6(_0x4d6716,_0x5e7a8f){const _0xa70302=_0xa703();return _0x3fe6=function(_0x3fe650,_0xcd17){_0x3fe650=_0x3fe650-0x162;let _0x283a78=_0xa70302[_0x3fe650];return _0x283a78;},_0x3fe6(_0x4d6716,_0x5e7a8f);}const e={'mcpStatus':{'disconnected':_0x16e556(0x191),'connecting':_0x16e556(0x188),'connected':_0x16e556(0x17d),'failed':_0x16e556(0x18f),'retrying':_0x16e556(0x18d),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x16e556(0x171),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x16e556(0x183),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x16e556(0x186),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x16e556(0x181),'apiKeyPlaceholder':_0x16e556(0x164),'apiKeyHint':_0x16e556(0x18b),'enableAuth':_0x16e556(0x190),'enableAuthHint':_0x16e556(0x168),'connectionInfo':_0x16e556(0x167),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x16e556(0x185),'maxRetries':'Max\x20Retries','save':_0x16e556(0x179),'saving':_0x16e556(0x18a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x16e556(0x163),'configSaved':_0x16e556(0x187),'configError':_0x16e556(0x175),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x16e556(0x172),'univerAiLabel':_0x16e556(0x189),'getStarted':_0x16e556(0x166)},'validation':{'apiKeyRequired':_0x16e556(0x18c),'apiKeyTooShort':_0x16e556(0x180),'invalidConfig':_0x16e556(0x16f),'invalidApiKey':_0x16e556(0x17c)},'connectionStatus':{'disconnected':_0x16e556(0x17f),'connecting':'Connecting...','connected':_0x16e556(0x16a),'failed':_0x16e556(0x174),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x16e556(0x178),'invalidApiKey':_0x16e556(0x18e),'sessionOccupied':_0x16e556(0x165),'networkError':_0x16e556(0x184),'maxRetriesExceeded':_0x16e556(0x17a)}}},n=e;module[_0x16e556(0x16c)]=n;function _0xa703(){const _0x398379=['Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key','8NkXbFn','MCP:\x20Session\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20ID','Click\x20to\x20connect\x20MCP','Configuration\x20saved\x20successfully','MCP\x20Connecting...','Univer\x20AI\x20Console','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','MCP\x20Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connection\x20Failed','Enable\x20Authentication','MCP\x20Disconnected','7748610GxaKpR','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enter\x20your\x20API\x20key','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Information','Enable\x20authentication\x20for\x20secure\x20connections','9605196IbFTfi','Connected','3751YTbbOM','exports','403803ClVJVG','3634020MDEWQr','Invalid\x20configuration','152FENbWn','MCP:\x20API\x20Key\x20Missing','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','27462ejGZXk','Connection\x20Failed','Failed\x20to\x20save\x20configuration','11zYGpjj','2094252GcwGJI','API\x20key\x20is\x20required\x20to\x20connect','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','791fIjjly','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','3RPvSFn'];_0xa703=function(){return _0x398379;};return _0xa703();}
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2cdd61=_0x5807;(function(_0x45d9d9,_0x5fa9a8){const _0x5a03de=_0x5807,_0x259eee=_0x45d9d9();while(!![]){try{const _0x56b453=parseInt(_0x5a03de(0x1f1))/0x1*(parseInt(_0x5a03de(0x1da))/0x2)+-parseInt(_0x5a03de(0x200))/0x3+parseInt(_0x5a03de(0x201))/0x4*(-parseInt(_0x5a03de(0x1fd))/0x5)+parseInt(_0x5a03de(0x1f4))/0x6*(parseInt(_0x5a03de(0x1f0))/0x7)+parseInt(_0x5a03de(0x1e1))/0x8*(-parseInt(_0x5a03de(0x1ec))/0x9)+parseInt(_0x5a03de(0x1e8))/0xa*(parseInt(_0x5a03de(0x1f5))/0xb)+parseInt(_0x5a03de(0x1ef))/0xc;if(_0x56b453===_0x5fa9a8)break;else _0x259eee['push'](_0x259eee['shift']());}catch(_0x305c20){_0x259eee['push'](_0x259eee['shift']());}}}(_0x1983,0x61a22));function _0x5807(_0x5af380,_0x47ef1a){const _0x1983f8=_0x1983();return _0x5807=function(_0x5807f2,_0x1618b4){_0x5807f2=_0x5807f2-0x1cf;let _0x81f7e9=_0x1983f8[_0x5807f2];return _0x81f7e9;},_0x5807(_0x5af380,_0x47ef1a);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2cdd61(0x1de),'connected':_0x2cdd61(0x1f9),'failed':_0x2cdd61(0x1d6),'retrying':_0x2cdd61(0x1fb),'unknown':_0x2cdd61(0x1e3),'missingApiKey':_0x2cdd61(0x1e7),'invalidApiKey':_0x2cdd61(0x1d7),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2cdd61(0x1e4),'maxRetriesExceeded':_0x2cdd61(0x1dd),'clickToConnect':_0x2cdd61(0x1fa),'clickToConfigure':_0x2cdd61(0x1d3)},'mcpConfig':{'title':_0x2cdd61(0x1d5),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2cdd61(0x1f8),'apiKeyPlaceholder':_0x2cdd61(0x202),'apiKeyHint':_0x2cdd61(0x1f7),'enableAuth':_0x2cdd61(0x1dc),'enableAuthHint':_0x2cdd61(0x1eb),'connectionInfo':_0x2cdd61(0x1d9),'serverEndpoint':_0x2cdd61(0x1e9),'sessionId':_0x2cdd61(0x1cf),'maxRetries':'Max\x20Retries','save':_0x2cdd61(0x1d0),'saving':_0x2cdd61(0x1e2),'note1':_0x2cdd61(0x1d2),'note2':_0x2cdd61(0x203),'configSaved':_0x2cdd61(0x1e5),'configError':_0x2cdd61(0x1ea),'apiApplyInfo':{'title':_0x2cdd61(0x1ee),'description':_0x2cdd61(0x1db),'univerAiLabel':_0x2cdd61(0x1fe),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2cdd61(0x1ed),'apiKeyTooShort':_0x2cdd61(0x1fc),'invalidConfig':_0x2cdd61(0x1f6),'invalidApiKey':_0x2cdd61(0x1df)},'connectionStatus':{'disconnected':_0x2cdd61(0x1f2),'connecting':_0x2cdd61(0x1d8),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x2cdd61(0x1e0)},'connectionError':{'missingApiKey':_0x2cdd61(0x1d1),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x2cdd61(0x1e6),'networkError':_0x2cdd61(0x1d4),'maxRetriesExceeded':_0x2cdd61(0x1f3)}}},n=e;function _0x1983(){const _0xe5308e=['Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','MCP\x20Connection\x20Failed','MCP:\x20Invalid\x20API\x20Key','Connecting...','Connection\x20Information','106ZHoEiy','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','30280scMhtc','Saving...','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20API\x20Key\x20Missing','10bOecAt','Server\x20Endpoint','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','1098sbmyPK','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','2003868GGtabu','601468eBtWSX','9338LUVYcP','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','12bTlKSU','6909661mKUrVq','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','MCP\x20Connected','Click\x20to\x20connect\x20MCP','MCP\x20Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','2290BCKOlx','Univer\x20AI\x20Console','exports','1486032xFtzFl','916TvFMIk','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','Save\x20Configuration','API\x20key\x20is\x20required\x20to\x20connect','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP'];_0x1983=function(){return _0xe5308e;};return _0x1983();}module[_0x2cdd61(0x1ff)]=n;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x375c(_0x460b5f,_0x45671d){const _0x600d67=_0x600d();return _0x375c=function(_0x375cb7,_0x2bafc0){_0x375cb7=_0x375cb7-0x1bf;let _0x12a9df=_0x600d67[_0x375cb7];return _0x12a9df;},_0x375c(_0x460b5f,_0x45671d);}const _0x48c5c0=_0x375c;(function(_0x4736a7,_0x48347b){const _0xbc5dab=_0x375c,_0x189d01=_0x4736a7();while(!![]){try{const _0x3c716c=-parseInt(_0xbc5dab(0x1d9))/0x1+-parseInt(_0xbc5dab(0x1eb))/0x2*(parseInt(_0xbc5dab(0x1e5))/0x3)+parseInt(_0xbc5dab(0x1ca))/0x4*(-parseInt(_0xbc5dab(0x1e9))/0x5)+-parseInt(_0xbc5dab(0x1f0))/0x6*(-parseInt(_0xbc5dab(0x1d3))/0x7)+-parseInt(_0xbc5dab(0x1c0))/0x8+-parseInt(_0xbc5dab(0x1df))/0x9+parseInt(_0xbc5dab(0x1f2))/0xa;if(_0x3c716c===_0x48347b)break;else _0x189d01['push'](_0x189d01['shift']());}catch(_0xb5013){_0x189d01['push'](_0x189d01['shift']());}}}(_0x600d,0x810ed));function _0x600d(){const _0x165e62=['Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','965938GGegss','exports','Enable\x20Authentication','Save\x20Configuration','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP','5683860CAbAUZ','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20Occupied','MCP:\x20API\x20Key\x20Missing','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','224901uhmYDw','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','5tMBhQZ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','6SIqKFx','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','Session\x20ID','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','5153214uIahBV','Connection\x20Failed','26346800QbnMAB','MCP\x20Configuration','5473504KDuyVh','MCP:\x20Invalid\x20API\x20Key','API\x20key\x20is\x20required\x20to\x20connect','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','API\x20key\x20is\x20required','Disconnected','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1833444oevsma','API\x20Key','MCP\x20Disconnected','Server\x20Endpoint','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','Connection\x20Information','Univer\x20AI\x20Console','7dGrepi','MCP\x20Connected','Connecting...'];_0x600d=function(){return _0x165e62;};return _0x600d();}const e={'mcpStatus':{'disconnected':_0x48c5c0(0x1cc),'connecting':_0x48c5c0(0x1ed),'connected':_0x48c5c0(0x1d4),'failed':_0x48c5c0(0x1dd),'retrying':_0x48c5c0(0x1e4),'unknown':_0x48c5c0(0x1c7),'missingApiKey':_0x48c5c0(0x1e2),'invalidApiKey':_0x48c5c0(0x1c1),'sessionOccupied':_0x48c5c0(0x1e1),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x48c5c0(0x1d0),'clickToConnect':_0x48c5c0(0x1de),'clickToConfigure':_0x48c5c0(0x1e0)},'mcpConfig':{'title':_0x48c5c0(0x1bf),'description':_0x48c5c0(0x1ea),'apiKey':_0x48c5c0(0x1cb),'apiKeyPlaceholder':_0x48c5c0(0x1c4),'apiKeyHint':_0x48c5c0(0x1c8),'enableAuth':_0x48c5c0(0x1db),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x48c5c0(0x1d1),'serverEndpoint':_0x48c5c0(0x1cd),'sessionId':_0x48c5c0(0x1ee),'maxRetries':'Max\x20Retries','save':_0x48c5c0(0x1dc),'saving':'Saving...','note1':_0x48c5c0(0x1e8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x48c5c0(0x1e7),'configError':_0x48c5c0(0x1e6),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x48c5c0(0x1ec),'univerAiLabel':_0x48c5c0(0x1d2),'getStarted':_0x48c5c0(0x1d7)},'validation':{'apiKeyRequired':_0x48c5c0(0x1c5),'apiKeyTooShort':_0x48c5c0(0x1c3),'invalidConfig':_0x48c5c0(0x1d8),'invalidApiKey':_0x48c5c0(0x1ce)},'connectionStatus':{'disconnected':_0x48c5c0(0x1c6),'connecting':_0x48c5c0(0x1d5),'connected':_0x48c5c0(0x1d6),'failed':_0x48c5c0(0x1f1),'retrying':_0x48c5c0(0x1cf)},'connectionError':{'missingApiKey':_0x48c5c0(0x1c2),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x48c5c0(0x1ef),'networkError':_0x48c5c0(0x1c9),'maxRetriesExceeded':_0x48c5c0(0x1e3)}}},n=e;module[_0x48c5c0(0x1da)]=n;
|