@univerjs-pro/mcp-ui 0.25.0 → 1.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/views/components/mcp-config.d.ts +1 -1
  41. package/lib/types/views/components/mcp-status.d.ts +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/sk-SK.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +12 -12
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1a848e=_0x58e1;function _0x58e1(_0x490353,_0x47ab53){_0x490353=_0x490353-0xe4;const _0x4f3f7e=_0x4f3f();let _0x58e1e8=_0x4f3f7e[_0x490353];return _0x58e1e8;}(function(_0x5385c0,_0x41e405){const _0x46439c=_0x58e1,_0x433b0d=_0x5385c0();while(!![]){try{const _0x2e0333=-parseInt(_0x46439c(0x1bc))/0x1*(parseInt(_0x46439c(0x19d))/0x2)+-parseInt(_0x46439c(0x230))/0x3*(-parseInt(_0x46439c(0x23e))/0x4)+parseInt(_0x46439c(0x140))/0x5+-parseInt(_0x46439c(0x248))/0x6+-parseInt(_0x46439c(0x187))/0x7*(parseInt(_0x46439c(0x1cb))/0x8)+parseInt(_0x46439c(0x176))/0x9*(parseInt(_0x46439c(0x164))/0xa)+-parseInt(_0x46439c(0x14a))/0xb*(parseInt(_0x46439c(0xf8))/0xc);if(_0x2e0333===_0x41e405)break;else _0x433b0d['push'](_0x433b0d['shift']());}catch(_0x267b8a){_0x433b0d['push'](_0x433b0d['shift']());}}}(_0x4f3f,0xafffc),Object[_0x1a848e(0x165)](exports,Symbol[_0x1a848e(0x1e3)],{'value':_0x1a848e(0x1b1)}));let e=require('@univerjs/core'),t=require('@univerjs-pro/mcp'),n=require('@univerjs/design'),r=require('@univerjs/ui'),i=require('rxjs'),a=require('@univerjs/icons'),o=require('react'),s=require('react/jsx-runtime'),c=require('@univerjs/network');function l(_0x1cc2cc){const _0x37f20e=_0x1a848e;var _0xf4fa73,_0x403a12;let {mcpCoreConfig:_0x23bebb,onSave:_0x4391eb,loading:_0xfc4605=!0x1,config:_0x8f1538,connectionStatus$:_0x7b0391,connectionError$:_0x8df2a9,currentApiKey$:_0x32686a,currentSessionId$:_0x276dff}=_0x1cc2cc,_0x4f3e42=(0x0,r[_0x37f20e(0x16c)])(e[_0x37f20e(0x226)]),_0x2a8c95=(0x0,r[_0x37f20e(0x1dc)])(_0x7b0391,t[_0x37f20e(0x1c0)]['DISCONNECTED']),_0x3d39e7=(0x0,r['useObservable'])(_0x8df2a9,t[_0x37f20e(0x17c)][_0x37f20e(0x16f)]),_0x56fc2b=(0x0,r[_0x37f20e(0x1dc)])(_0x276dff,''),[_0x55fdd1,_0x5b2efc]=(0x0,o[_0x37f20e(0x1c1)])((0x0,r['useObservable'])(_0x32686a,'')||''),_0x5e5fd5=_0x8f1538[_0x37f20e(0x1ad)]&&_0x23bebb[_0x37f20e(0x149)]&&(_0x23bebb['mcpServerUrl'][_0x37f20e(0x10e)](_0x37f20e(0x166))||_0x23bebb['mcpServerUrl'][_0x37f20e(0x10e)]('univer.ai')),_0x4dcb2d=(_0xf4fa73=_0x23bebb['mcpServerUrl'])==null?void 0x0:_0xf4fa73[_0x37f20e(0x10e)](_0x37f20e(0x166)),_0x29199f=(_0x403a12=_0x23bebb[_0x37f20e(0x149)])==null?void 0x0:_0x403a12[_0x37f20e(0x10e)](_0x37f20e(0x15f)),_0x55fcac=_0x4dcb2d?_0x37f20e(0x122):'https://console.univer.ai',_0x1e721e=_0x8f1538['showDeveloperTools']&&(_0x4dcb2d||_0x29199f),[_0x3f1935,_0x3f8caf]=(0x0,o['useState'])(!_0x55fdd1[_0x37f20e(0x132)]()),_0x581cca=(_0x4ac4e6,_0x3da960)=>{const _0x19283d=_0x37f20e;if(_0x3da960===t['MCPConnectionError']['UNAUTHORIZED'])return _0x19283d(0x180);switch(_0x4ac4e6){case t[_0x19283d(0x1c0)]['CONNECTED']:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case t['MCPConnectionStatus'][_0x19283d(0x10b)]:case t[_0x19283d(0x1c0)][_0x19283d(0x20c)]:return _0x19283d(0x22b);case t[_0x19283d(0x1c0)]['FAILED']:return _0x19283d(0x180);default:return _0x19283d(0x17a);}},_0x338be6=(_0x4dd14c,_0x5d656d)=>{const _0x45f3f1=_0x37f20e;if(_0x5d656d===t[_0x45f3f1(0x17c)][_0x45f3f1(0x217)])return _0x45f3f1(0x19f);switch(_0x4dd14c){case t['MCPConnectionStatus']['CONNECTED']:return _0x45f3f1(0x214);case t['MCPConnectionStatus'][_0x45f3f1(0x10b)]:case t[_0x45f3f1(0x1c0)][_0x45f3f1(0x20c)]:return _0x45f3f1(0x1e2);case t[_0x45f3f1(0x1c0)][_0x45f3f1(0x19b)]:return _0x45f3f1(0x19f);default:return _0x45f3f1(0x160);}},_0x15ae99=_0x400d9a=>{const _0x5bd882=_0x37f20e;switch(_0x400d9a){case t[_0x5bd882(0x1c0)]['CONNECTED']:return _0x4f3e42['t']('mcpConfig.connectionStatus.connected');case t[_0x5bd882(0x1c0)][_0x5bd882(0x10b)]:return _0x4f3e42['t']('mcpConfig.connectionStatus.connecting');case t[_0x5bd882(0x1c0)][_0x5bd882(0x19b)]:return _0x4f3e42['t'](_0x5bd882(0x116));case t[_0x5bd882(0x1c0)]['RETRYING']:return _0x4f3e42['t']('mcpConfig.connectionStatus.retrying');default:return _0x4f3e42['t'](_0x5bd882(0x126));}},_0x37c6ac=_0x23ddcb=>{const _0x516b28=_0x37f20e;switch(_0x23ddcb){case t[_0x516b28(0x17c)][_0x516b28(0x217)]:return _0x4f3e42['t'](_0x516b28(0x174));case t['MCPConnectionError'][_0x516b28(0x127)]:return _0x4f3e42['t'](_0x516b28(0x21e));case t[_0x516b28(0x17c)][_0x516b28(0x20a)]:return _0x4f3e42['t'](_0x516b28(0x20e));case t[_0x516b28(0x17c)][_0x516b28(0x1c6)]:return _0x4f3e42['t'](_0x516b28(0x19e));default:return'';}},_0xc9f689=(0x0,o[_0x37f20e(0x227)])(()=>{const _0xcfc72a=_0x37f20e;_0x4391eb({..._0x23bebb,'apiKey':_0x55fdd1[_0xcfc72a(0x132)](),'enableAuth':!0x0});},[_0x23bebb,_0x55fdd1,!0x0,_0x4391eb]),_0x2384dd=_0x55fdd1[_0x37f20e(0x132)]()[_0x37f20e(0x1be)]>0x0;return(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x142),'children':[(0x0,s['jsx'])('div',{'className':_0x37f20e(0xf4),'children':(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x18c),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x161),'children':(0x0,s[_0x37f20e(0x129)])('span',{'className':_0x37f20e(0x111),'children':'⚙'})}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'children':(0x0,s[_0x37f20e(0x129)])('p',{'className':_0x37f20e(0x1ac),'children':_0x4f3e42['t'](_0x37f20e(0x1c7))})})]})}),(0x0,s['jsxs'])(_0x37f20e(0x1da),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[(0x0,s[_0x37f20e(0x129)])('div',{'className':(0x0,n[_0x37f20e(0x216)])(_0x37f20e(0x1a7),_0x581cca(_0x2a8c95,_0x3d39e7)),'children':(0x0,s[_0x37f20e(0x1a0)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':(0x0,n['clsx'])('univer-size-2\x20univer-rounded-full',_0x338be6(_0x2a8c95,_0x3d39e7))}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x169),'children':_0x15ae99(_0x2a8c95)})]})}),_0x3d39e7!==t[_0x37f20e(0x17c)][_0x37f20e(0x16f)]&&(_0x2a8c95===t['MCPConnectionStatus'][_0x37f20e(0x19b)]||_0x3d39e7===t[_0x37f20e(0x17c)][_0x37f20e(0x217)])&&(0x0,s['jsx'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x1ea),'children':(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x1ec),'children':[(0x0,s[_0x37f20e(0x129)])('span',{'className':_0x37f20e(0x15e),'children':'⚠️'}),(0x0,s[_0x37f20e(0x129)])('p',{'className':_0x37f20e(0x1d4),'children':_0x37c6ac(_0x3d39e7)})]})})]}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x146),'children':(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0xe4),'children':[(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x114),'children':[(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x136),{'className':_0x37f20e(0x235),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'children':'🔑'}),'\x20',_0x4f3e42['t'](_0x37f20e(0x1d3)),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x103),'children':'*'}),_0x5e5fd5&&(0x0,s['jsx'])('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x4f3e42['t'](_0x37f20e(0x177)),'role':'button','onClick':()=>_0x3f8caf(!0x0),'children':(0x0,s['jsx'])(a[_0x37f20e(0x1c5)],{})})]}),(0x0,s[_0x37f20e(0x129)])(n[_0x37f20e(0x1ce)],{'type':_0x37f20e(0x1e9),'placeholder':_0x4f3e42['t'](_0x37f20e(0x168)),'value':_0x55fdd1,'disabled':_0xfc4605,'autoComplete':_0x37f20e(0x1ae),'onChange':_0x5b2efc}),(0x0,s['jsx'])('p',{'className':_0x37f20e(0xe8),'children':_0x4f3e42['t'](_0x37f20e(0x117))})]}),_0x5e5fd5&&_0x3f1935&&(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x21b),'children':[(0x0,s[_0x37f20e(0x129)])('a',{'className':_0x37f20e(0x106),'role':_0x37f20e(0x23b),'onClick':()=>_0x3f8caf(!0x1),'children':(0x0,s[_0x37f20e(0x129)])(a[_0x37f20e(0x1c3)],{'className':_0x37f20e(0x212)})}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x223),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0xeb),'children':(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x1fe),'children':'🚀'})}),(0x0,s['jsxs'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x220),'children':[(0x0,s['jsx'])('h4',{'className':_0x37f20e(0x1ed),'children':_0x4f3e42['t'](_0x37f20e(0x177))}),(0x0,s[_0x37f20e(0x129)])('p',{'className':_0x37f20e(0x104),'children':_0x4f3e42['t'](_0x37f20e(0x218))}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x16e),'children':_0x1e721e&&(0x0,s['jsxs'])('a',{'className':_0x37f20e(0x1cc),'href':_0x55fcac,'target':_0x37f20e(0xea),'rel':_0x37f20e(0x12a),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'children':'🤖'}),_0x4f3e42['t']('mcpConfig.apiApplyInfo.univerAiLabel'),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x22c),'children':'↗'})]})}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x23c),'children':['✨','\x20',_0x4f3e42['t'](_0x37f20e(0x108))]})]})]})]}),_0x8f1538[_0x37f20e(0x1ad)]&&(0x0,s['jsxs'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x1a6),'children':[(0x0,s[_0x37f20e(0x1a0)])('h4',{'className':_0x37f20e(0x13b),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'children':'🔗'}),'\x20',_0x4f3e42['t'](_0x37f20e(0x143))]}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x18e),'children':[(0x0,s[_0x37f20e(0x1a0)])('div',{'className':'univer-space-y-3','children':[(0x0,s[_0x37f20e(0x129)])('p',{'className':_0x37f20e(0x1b6),'children':_0x4f3e42['t'](_0x37f20e(0x119))}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x114),'children':[(0x0,s[_0x37f20e(0x129)])('div',{'className':_0x37f20e(0x10f),'children':_0x4f3e42['t']('mcpConfig.configStepTitle')}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x152),'children':[(0x0,s['jsxs'])('div',{'className':_0x37f20e(0x21d),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x158),'children':'1'}),_0x4f3e42['t']('mcpConfig.configStep1')]}),(0x0,s['jsxs'])(_0x37f20e(0x1da),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,s['jsx'])('span',{'className':_0x37f20e(0x158),'children':'2'}),_0x4f3e42['t'](_0x37f20e(0x1e6))]}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x21d),'children':[(0x0,s[_0x37f20e(0x129)])('span',{'className':_0x37f20e(0x158),'children':'3'}),_0x4f3e42['t'](_0x37f20e(0x1e4))]})]})]})]}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x114),'children':[(0x0,s['jsx'])('div',{'className':_0x37f20e(0x10f),'children':_0x37f20e(0x1c9)}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x213),'children':(0x0,s[_0x37f20e(0x129)])('pre',{'className':_0x37f20e(0x247),'children':JSON[_0x37f20e(0x1f0)]({'mcpServers':{'univer':{'url':_0x37f20e(0x221)+(_0x56fc2b||_0x37f20e(0x245)),'type':_0x37f20e(0x184),'headers':{'Authorization':_0x37f20e(0x229)+(_0x55fdd1||_0x37f20e(0xe6))}}}},null,0x2)})})]}),(0x0,s['jsxs'])('div',{'className':_0x37f20e(0x233),'children':[(0x0,s[_0x37f20e(0x129)])('div',{'className':_0x37f20e(0x10f),'children':_0x4f3e42['t'](_0x37f20e(0x179))}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x114),'children':[(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x147),'children':[(0x0,s['jsx'])(_0x37f20e(0x1da),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x172),'children':[(0x0,s['jsx'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x10c),'children':_0x37f20e(0x232)}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x4f3e42['t'](_0x37f20e(0x1a5))})]})]}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x147),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x17d)}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x172),'children':[(0x0,s['jsx'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x10c),'children':_0x37f20e(0x10d)}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0xe8),'children':_0x4f3e42['t'](_0x37f20e(0x211))})]})]})]})]})]})]}),(0x0,s[_0x37f20e(0x129)])(n[_0x37f20e(0x135)],{'onClick':_0xc9f689,'disabled':!_0x2384dd||_0xfc4605,'className':_0x37f20e(0x182),'children':_0xfc4605?(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x21d),'children':[(0x0,s[_0x37f20e(0x129)])('span',{'children':'⟲'}),_0x4f3e42['t'](_0x37f20e(0x14c))]}):(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x21d),'children':[(0x0,s[_0x37f20e(0x129)])(a['CheckMarkIcon'],{}),_0x4f3e42['t']('mcpConfig.save')]})}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x1d5),'children':(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x138),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x156),'children':'💡'}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x1f8),'children':[(0x0,s['jsx'])('div',{'className':_0x37f20e(0x1cf),'children':_0x37f20e(0x199)}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'children':['•',_0x4f3e42['t'](_0x37f20e(0xf5))]}),(0x0,s['jsxs'])(_0x37f20e(0x1da),{'children':['•',_0x4f3e42['t'](_0x37f20e(0x1d1))]})]})]})})]})})]});}const u=_0x1a848e(0x100),d={'showDeveloperTools':!0x1,'showStatus':!0x0};function f(_0x4646b3){'@babel/helpers - typeof';const _0x564f18=_0x1a848e;return f=typeof Symbol==_0x564f18(0x13e)&&typeof Symbol[_0x564f18(0x1a9)]=='symbol'?function(_0x43aa65){return typeof _0x43aa65;}:function(_0x103bc3){const _0x810499=_0x564f18;return _0x103bc3&&typeof Symbol==_0x810499(0x13e)&&_0x103bc3['constructor']===Symbol&&_0x103bc3!==Symbol[_0x810499(0x175)]?'symbol':typeof _0x103bc3;},f(_0x4646b3);}function p(_0x2d1813,_0x3d5441){const _0x2a56ab=_0x1a848e;if(f(_0x2d1813)!=_0x2a56ab(0x170)||!_0x2d1813)return _0x2d1813;var _0x154740=_0x2d1813[Symbol[_0x2a56ab(0x121)]];if(_0x154740!==void 0x0){var _0x482434=_0x154740[_0x2a56ab(0x15b)](_0x2d1813,_0x3d5441||_0x2a56ab(0x150));if(f(_0x482434)!='object')return _0x482434;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3d5441===_0x2a56ab(0x1aa)?String:Number)(_0x2d1813);}function m(_0x12f2c7){const _0xa80b16=_0x1a848e;var _0x5f124c=p(_0x12f2c7,_0xa80b16(0x1aa));return f(_0x5f124c)==_0xa80b16(0x153)?_0x5f124c:_0x5f124c+'';}function h(_0xcc8a03,_0x27345e,_0x1f330d){return(_0x27345e=m(_0x27345e))in _0xcc8a03?Object['defineProperty'](_0xcc8a03,_0x27345e,{'value':_0x1f330d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xcc8a03[_0x27345e]=_0x1f330d,_0xcc8a03;}function g(_0x22f86f,_0x30b2a3){return function(_0x3edc68,_0x4943d1){_0x30b2a3(_0x3edc68,_0x4943d1,_0x22f86f);};}function _(_0x5c801f,_0x5b142a,_0x10b657,_0x1c62f9){const _0x29026b=_0x1a848e;var _0x57c21d=arguments[_0x29026b(0x1be)],_0x568449=_0x57c21d<0x3?_0x5b142a:_0x1c62f9===null?_0x1c62f9=Object[_0x29026b(0x207)](_0x5b142a,_0x10b657):_0x1c62f9,_0x7f346a;if(typeof Reflect=='object'&&typeof Reflect[_0x29026b(0x15a)]==_0x29026b(0x13e))_0x568449=Reflect[_0x29026b(0x15a)](_0x5c801f,_0x5b142a,_0x10b657,_0x1c62f9);else{for(var _0xa055e7=_0x5c801f[_0x29026b(0x1be)]-0x1;_0xa055e7>=0x0;_0xa055e7--)(_0x7f346a=_0x5c801f[_0xa055e7])&&(_0x568449=(_0x57c21d<0x3?_0x7f346a(_0x568449):_0x57c21d>0x3?_0x7f346a(_0x5b142a,_0x10b657,_0x568449):_0x7f346a(_0x5b142a,_0x10b657))||_0x568449);}return _0x57c21d>0x3&&_0x568449&&Object[_0x29026b(0x165)](_0x5b142a,_0x10b657,_0x568449),_0x568449;}const v='mcp.apiKey',y=_0x1a848e(0x1c4);let b=class extends e[_0x1a848e(0x185)]{constructor(_0x1ac939,_0xb2d68c,_0xc97026,_0x1acf45,_0x27eb35,_0x5cc8c7,_0x4ae1ae,_0x596d1d,_0x210add,_0x393578){const _0x9325ea=_0x1a848e;super(),this['_injector']=_0x1ac939,this[_0x9325ea(0x17e)]=_0xb2d68c,this['_configService']=_0xc97026,this[_0x9325ea(0x115)]=_0x1acf45,this[_0x9325ea(0xff)]=_0x27eb35,this[_0x9325ea(0xf6)]=_0x5cc8c7,this[_0x9325ea(0x1f5)]=_0x4ae1ae,this['_localeService']=_0x596d1d,this[_0x9325ea(0x20f)]=_0x210add,this[_0x9325ea(0x16a)]=_0x393578,h(this,_0x9325ea(0x208),new i[(_0x9325ea(0x1a8))](!0x1)),h(this,_0x9325ea(0x189),new i[(_0x9325ea(0x1a8))]({})),h(this,_0x9325ea(0x16b),new i[(_0x9325ea(0x1a8))]({})),h(this,_0x9325ea(0x195),new i[(_0x9325ea(0x1a8))]('')),h(this,_0x9325ea(0x120),async _0x3bff19=>{const _0x1babd1=_0x9325ea;this[_0x1babd1(0x208)]['next'](!0x0);try{var _0xed9dc7,_0x434b73;let _0x3427a3=await this[_0x1babd1(0x1d8)](_0x3bff19);if(!_0x3427a3[_0x1babd1(0xe9)]){this[_0x1babd1(0xf6)][_0x1babd1(0x203)]({'type':n[_0x1babd1(0x1ff)][_0x1babd1(0x14e)],'content':_0x3427a3[_0x1babd1(0xfd)]||this[_0x1babd1(0x125)]['t'](_0x1babd1(0x20b))});return;}_0x3bff19[_0x1babd1(0x151)]?await this[_0x1babd1(0x115)][_0x1babd1(0x231)](v,_0x3bff19['apiKey'][_0x1babd1(0x132)]()):await this[_0x1babd1(0x115)][_0x1babd1(0x11b)](v),this['_apiKey$'][_0x1babd1(0x202)](((_0xed9dc7=_0x3bff19[_0x1babd1(0x151)])==null?void 0x0:_0xed9dc7['trim']())||''),this['_mcpConnectionController'][_0x1babd1(0x215)]({'Authorization':_0x1babd1(0x229)+((_0x434b73=_0x3bff19[_0x1babd1(0x151)])==null?void 0x0:_0x434b73[_0x1babd1(0x132)]())}),this['_messageService'][_0x1babd1(0x203)]({'type':n[_0x1babd1(0x1ff)][_0x1babd1(0x239)],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x1a700f=_0x1babd1;this[_0x1a700f(0xff)][_0x1a700f(0x205)](y);},0x320);}catch(_0x348461){this[_0x1babd1(0x20f)]['error'](_0x1babd1(0x15c),_0x348461),this['_messageService'][_0x1babd1(0x203)]({'type':n[_0x1babd1(0x1ff)][_0x1babd1(0x14e)],'content':this[_0x1babd1(0x125)]['t'](_0x1babd1(0x237))});}finally{this['_loading$'][_0x1babd1(0x202)](!0x1);}}),this['_initConfigSync'](),this[_0x9325ea(0x23a)](),this['_registerComponent']();}[_0x1a848e(0x163)](){const _0x4c0844=_0x1a848e;let _0x400175=this[_0x4c0844(0x234)]['getConfig'](u);_0x400175!=null&&_0x400175[_0x4c0844(0x1ad)]&&this[_0x4c0844(0xff)][_0x4c0844(0x13c)]({'id':y,'title':{'title':this[_0x4c0844(0x125)]['t']('mcpConfig.title')},'children':{'label':_0x4c0844(0x14f)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3b7b7f=_0x4c0844;this[_0x3b7b7f(0xff)][_0x3b7b7f(0x205)](y);}});}[_0x1a848e(0x228)](){const _0xe28ede=_0x1a848e;return this['_mcpCoreConfig$'][_0xe28ede(0x1b5)];}['_registerComponent'](){const _0x1e094a=_0x1a848e;this[_0x1e094a(0x241)](this['_componentManager'][_0x1e094a(0x1a3)](_0x1e094a(0x14f),this['_createConfigPanelComponent']()));}[_0x1a848e(0xf3)](){const _0xe3fedb=_0x1a848e;return(0x0,r[_0xe3fedb(0xee)])(()=>{const _0x3ef6cd=_0xe3fedb;var _0xb2dc6c,_0x37c381,_0x55e7f4;return(0x0,s[_0x3ef6cd(0x129)])(l,{'config':this[_0x3ef6cd(0x16b)][_0x3ef6cd(0x1b5)],'mcpCoreConfig':this[_0x3ef6cd(0x189)][_0x3ef6cd(0x1b5)],'currentApiKey$':this[_0x3ef6cd(0x195)],'onSave':this['_handleConfigSave'],'loading':this[_0x3ef6cd(0x208)][_0x3ef6cd(0x1b5)],'connectionStatus$':(_0xb2dc6c=this['_mcpConnectionController'])==null?void 0x0:_0xb2dc6c[_0x3ef6cd(0xf2)],'connectionError$':(_0x37c381=this[_0x3ef6cd(0x16a)])==null?void 0x0:_0x37c381['connectionError$'],'currentSessionId$':(_0x55e7f4=this[_0x3ef6cd(0x16a)])==null?void 0x0:_0x55e7f4['sessionId$']});},this[_0xe3fedb(0x13f)]);}[_0x1a848e(0x236)](){const _0x16721e=_0x1a848e;this['disposeWithMe'](this[_0x16721e(0x234)][_0x16721e(0x1bb)](t['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x2afd77=>{const _0x414061=_0x16721e;this['_mcpCoreConfig$'][_0x414061(0x202)](_0x2afd77||{});}));let _0x4fd924=this['_configService'][_0x16721e(0x105)](t[_0x16721e(0x1db)]);this[_0x16721e(0x189)][_0x16721e(0x202)](_0x4fd924||{}),this[_0x16721e(0x241)](this[_0x16721e(0x234)][_0x16721e(0x1bb)](u)[_0x16721e(0x183)](_0x513dbd=>{const _0x54a074=_0x16721e;this[_0x54a074(0x16b)][_0x54a074(0x202)](_0x513dbd||{});}));let _0x53bb2d=this[_0x16721e(0x234)][_0x16721e(0x105)](u);this['_config$'][_0x16721e(0x202)](_0x53bb2d||{});}async[_0x1a848e(0x23a)](){const _0x3fbb97=_0x1a848e;let _0x886d3=this['_configService']['getConfig'](u);if(!(_0x886d3!=null&&_0x886d3[_0x3fbb97(0x1ad)]))return;let _0x46c67c=await this[_0x3fbb97(0x115)][_0x3fbb97(0x130)](v);_0x46c67c&&(this[_0x3fbb97(0x16a)][_0x3fbb97(0x215)]({'Authorization':_0x3fbb97(0x229)+_0x46c67c}),this[_0x3fbb97(0x195)][_0x3fbb97(0x202)](_0x46c67c));}async['_validateConfig'](_0x5d7bb5){const _0x47f0ad=_0x1a848e;if(!_0x5d7bb5[_0x47f0ad(0x151)]||_0x5d7bb5['apiKey'][_0x47f0ad(0x132)]()[_0x47f0ad(0x1be)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x47f0ad(0x125)]['t'](_0x47f0ad(0x1c8))};if(_0x5d7bb5[_0x47f0ad(0x151)]['trim']()[_0x47f0ad(0x1be)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x47f0ad(0x125)]['t']('mcpConfig.validation.apiKeyTooShort')};try{let _0x376c6c=await this[_0x47f0ad(0x13f)][_0x47f0ad(0x134)](t[_0x47f0ad(0x13d)])[_0x47f0ad(0x22d)](_0x5d7bb5['apiKey'][_0x47f0ad(0x132)]());return _0x376c6c[_0x47f0ad(0xe9)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x376c6c[_0x47f0ad(0x22a)]||this[_0x47f0ad(0x125)]['t'](_0x47f0ad(0x1b7))};}catch(_0x577244){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x577244),{'isValid':!0x0};}}};b=_([g(0x0,(0x0,e['Inject'])(e['Injector'])),g(0x1,r[_0x1a848e(0x123)]),g(0x2,e[_0x1a848e(0x141)]),g(0x3,e['ILocalStorageService']),g(0x4,r[_0x1a848e(0xf9)]),g(0x5,r[_0x1a848e(0x102)]),g(0x6,(0x0,e['Inject'])(r[_0x1a848e(0x1d2)])),g(0x7,(0x0,e[_0x1a848e(0x21a)])(e['LocaleService'])),g(0x8,e[_0x1a848e(0x18b)]),g(0x9,(0x0,e[_0x1a848e(0x21a)])(t['MCPConnectionController']))],b);const x={'id':_0x1a848e(0x1ba),'type':e[_0x1a848e(0x18f)][_0x1a848e(0x171)],'handler':async(_0x3b3de7,_0x3b09f5)=>(_0x3b3de7[_0x1a848e(0x134)](b)[_0x1a848e(0x163)](),!0x0)};function S(_0x8abfb,_0xdc0ca9){const _0x2f6828=_0x1a848e;switch(_0x8abfb){case t[_0x2f6828(0x1c0)][_0x2f6828(0x12f)]:return _0x2f6828(0x188);case t[_0x2f6828(0x1c0)][_0x2f6828(0x10b)]:return _0x2f6828(0x128);case t[_0x2f6828(0x1c0)][_0x2f6828(0x190)]:return'mcpStatus.connected';case t['MCPConnectionStatus'][_0x2f6828(0x19b)]:switch(_0xdc0ca9){case t['MCPConnectionError']['UNAUTHORIZED']:return'mcpStatus.unauthorized';case t['MCPConnectionError'][_0x2f6828(0x127)]:return _0x2f6828(0x101);case t[_0x2f6828(0x17c)]['NETWORK_ERROR']:return _0x2f6828(0x10a);case t[_0x2f6828(0x17c)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case t[_0x2f6828(0x1c0)][_0x2f6828(0x20c)]:return'mcpStatus.retrying';default:return _0x2f6828(0x1f2);}}function C(_0x5336d4,_0x11e751,_0x1dde82,_0x331b79=!0x0){const _0x49ca7b=_0x1a848e;let _0x419ef9=S(_0x5336d4,_0x11e751),_0x117cac=_0x1dde82['t'](_0x419ef9);return _0x331b79?_0x5336d4===t[_0x49ca7b(0x1c0)][_0x49ca7b(0x12f)]&&_0x11e751===t['MCPConnectionError'][_0x49ca7b(0x217)]?_0x117cac+_0x49ca7b(0x200)+_0x1dde82['t'](_0x49ca7b(0xfa)):_0x5336d4===t[_0x49ca7b(0x1c0)][_0x49ca7b(0x190)]?''+_0x117cac:_0x5336d4===t[_0x49ca7b(0x1c0)][_0x49ca7b(0x12f)]||_0x5336d4===t['MCPConnectionStatus'][_0x49ca7b(0x19b)]?_0x117cac+_0x49ca7b(0x200)+_0x1dde82['t'](_0x49ca7b(0x1ab)):_0x117cac:_0x117cac;}function w(_0x2d1fd0){const _0xa7a5c3=_0x1a848e;switch(_0x2d1fd0){case t[_0xa7a5c3(0x1c0)][_0xa7a5c3(0x190)]:return'univer-text-green-500';case t[_0xa7a5c3(0x1c0)][_0xa7a5c3(0x10b)]:case t[_0xa7a5c3(0x1c0)][_0xa7a5c3(0x20c)]:return'univer-text-yellow-500';case t[_0xa7a5c3(0x1c0)]['FAILED']:case t['MCPConnectionStatus'][_0xa7a5c3(0x12f)]:return _0xa7a5c3(0x103);default:return _0xa7a5c3(0x198);}}function T(_0x53e29e){const _0x1d2eaa=_0x1a848e;let {status$:_0x347654,error$:_0x34a8be,onConfigure:_0x1d391a,showClickable:_0x153531=!0x0}=_0x53e29e,_0x26f7a0=(0x0,r[_0x1d2eaa(0x1dc)])(_0x347654,t[_0x1d2eaa(0x1c0)]['DISCONNECTED']),_0x3decac=(0x0,r[_0x1d2eaa(0x1dc)])(_0x34a8be,t[_0x1d2eaa(0x17c)]['NONE']),_0x5720e8=(0x0,r[_0x1d2eaa(0x16c)])(e[_0x1d2eaa(0x226)]),_0x4b6afe=_0x26f7a0===t[_0x1d2eaa(0x1c0)][_0x1d2eaa(0x190)];_0x26f7a0===t[_0x1d2eaa(0x1c0)][_0x1d2eaa(0x10b)]||t[_0x1d2eaa(0x1c0)][_0x1d2eaa(0x20c)];let _0x478095=_0x5720e8['t'](S(_0x26f7a0,_0x3decac)),_0x2a89d1=C(_0x26f7a0,_0x3decac,_0x5720e8,_0x153531),_0x4d9c43=w(_0x26f7a0),_0x572726=_0x4b6afe?(0x0,s[_0x1d2eaa(0x129)])(a[_0x1d2eaa(0xfc)],{}):(0x0,s[_0x1d2eaa(0x129)])(a['OffLineIcon'],{}),_0x140baa=(0x0,o[_0x1d2eaa(0x227)])(()=>{_0x153531&&_0x1d391a&&_0x1d391a();},[_0x153531,_0x1d391a]);function _0x79fc04(){const _0x1828d5=_0x1d2eaa;return(0x0,s[_0x1828d5(0x1a0)])(_0x1828d5(0x1da),{'className':(0x0,n[_0x1828d5(0x216)])('univer-flex\x20univer-items-center',_0x153531&&_0x1d391a&&_0x1828d5(0x110)),'role':'button','onClick':_0x153531&&_0x1d391a?_0x140baa:void 0x0,'children':[(0x0,s[_0x1828d5(0x129)])(_0x1828d5(0x1da),{'className':(0x0,n[_0x1828d5(0x216)])('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x4d9c43),'children':_0x572726}),(0x0,s['jsx'])('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x478095})]});}return(0x0,s[_0x1d2eaa(0x129)])(n[_0x1d2eaa(0x1b4)],{'title':_0x2a89d1,'placement':'bottom','children':_0x79fc04()});}let E=class extends e[_0x1a848e(0x185)]{constructor(_0x4e8fd9,_0x11867b,_0x1b14fb,_0x335dae){const _0x4d8b58=_0x1a848e;super(),this['_injector']=_0x4e8fd9,this[_0x4d8b58(0x1e5)]=_0x11867b,this['_uiPartsService']=_0x1b14fb,this[_0x4d8b58(0x234)]=_0x335dae,this[_0x4d8b58(0x107)](),this[_0x4d8b58(0x194)]();}[_0x1a848e(0x107)](){const _0x12e8ce=_0x1a848e;let _0x1ff5a2=this[_0x12e8ce(0x234)][_0x12e8ce(0x105)](u);_0x1ff5a2!=null&&_0x1ff5a2[_0x12e8ce(0x1ad)]&&(this[_0x12e8ce(0x1e5)][_0x12e8ce(0x124)]=!0x1);}[_0x1a848e(0x194)](){const _0x2452e4=_0x1a848e;let _0x24dc37=this[_0x2452e4(0x234)][_0x2452e4(0x105)](u);(_0x24dc37==null?void 0x0:_0x24dc37[_0x2452e4(0x11a)])!==!0x1&&this[_0x2452e4(0x241)](this['_uiPartsService'][_0x2452e4(0x12d)](r[_0x2452e4(0x1fc)][_0x2452e4(0x210)],()=>{const _0x1b83e1=_0x2452e4;var _0x1951e0;return(0x0,r['connectInjector'])(D({'status$':this[_0x1b83e1(0x1e5)][_0x1b83e1(0xf2)],'error$':this[_0x1b83e1(0x1e5)][_0x1b83e1(0x19c)],'onConfigure':()=>this[_0x1b83e1(0x244)](),'showClickable':(_0x1951e0=_0x24dc37==null?void 0x0:_0x24dc37[_0x1b83e1(0x1ad)])==null?!0x1:_0x1951e0}),this[_0x1b83e1(0x13f)]);}));}[_0x1a848e(0x244)](){const _0x4ec30e=_0x1a848e;this[_0x4ec30e(0x13f)][_0x4ec30e(0x134)](b)[_0x4ec30e(0x163)]();}};E=_([g(0x0,(0x0,e[_0x1a848e(0x21a)])(e[_0x1a848e(0x1af)])),g(0x1,(0x0,e[_0x1a848e(0x21a)])(t[_0x1a848e(0x13d)])),g(0x2,r[_0x1a848e(0x123)]),g(0x3,e[_0x1a848e(0x141)])],E);function D(_0x5aad77){let {status$:_0x105980,error$:_0x40bbe2,onConfigure:_0x4638cf,showClickable:_0x5eb80e}=_0x5aad77;return function(){const _0x9a6ea1=_0x58e1;return(0x0,s[_0x9a6ea1(0x129)])(T,{'status$':_0x105980,'error$':_0x40bbe2,'onConfigure':_0x4638cf,'showClickable':_0x5eb80e});};}function O(_0x49a004){const _0x5cd51e=_0x1a848e;return{'id':x['id'],'type':r[_0x5cd51e(0x209)]['BUTTON'],'icon':_0x5cd51e(0x1dd),'title':_0x5cd51e(0x1bf),'tooltip':'mcpConfig.title'};}const k={[r[_0x1a848e(0x1e0)][_0x1a848e(0x1df)]]:{[x['id']]:{'order':0xa,'menuItemFactory':O}}};let A=class extends e[_0x1a848e(0x185)]{constructor(_0x21bf68,_0x5194d8){const _0xc35592=_0x1a848e;super(),this[_0xc35592(0x186)]=_0x21bf68,this[_0xc35592(0x196)]=_0x5194d8,this[_0xc35592(0x1d6)](),this['_initializeMenus']();}[_0x1a848e(0x1d6)](){[x]['forEach'](_0x1179d4=>{const _0x502d2b=_0x58e1;this[_0x502d2b(0x241)](this[_0x502d2b(0x186)][_0x502d2b(0x1ef)](_0x1179d4));});}[_0x1a848e(0x1d7)](){const _0x32f37a=_0x1a848e;this['_menuManagerService'][_0x32f37a(0x181)](k);}};A=_([g(0x0,e[_0x1a848e(0x240)]),g(0x1,r[_0x1a848e(0x1d9)])],A);function _0x4f3f(){const _0x30c51c=['symbol','has','MCP\x20已断开','univer-shrink-0\x20univer-text-blue-500','MCPStatusDisplay','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','decorate','call','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','点击配置\x20MCP','univer-shrink-0\x20univer-text-red-500','univer.ai','univer-bg-gray-500','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','已连接','showConfigPanel','190HsayMh','defineProperty','univer.plus','MCP:\x20Network\x20Error','mcpConfig.apiKeyPlaceholder','univer-text-sm\x20univer-font-medium','_mcpConnectionController','_config$','useDependency','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-flex\x20univer-flex-wrap\x20univer-gap-2','NONE','object','COMMAND','univer-min-w-0\x20univer-flex-1','未连接','mcpConfig.connectionError.unauthorized','prototype','662436urXquH','mcpConfig.apiApplyInfo.title','Enter\x20your\x20API\x20key','mcpConfig.configParameters','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','保存配置','MCPConnectionError','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_uiPartsService','Connection\x20Failed','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mergeMenu','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','subscribe','http','Disposable','_commandService','56nFzoDH','mcpStatus.disconnected','_mcpCoreConfig$','API\x20密钥长度至少需要\x2010\x20位','ILogService','univer-flex\x20univer-items-center\x20univer-gap-3','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-space-y-4','CommandType','CONNECTED','Plugin','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20超出最大重试次数','_initStatusComponent','_apiKey$','_menuManagerService','Session\x20ID','univer-text-gray-500','Configuration\x20Notes:','超出最大重试次数,请稍后再试','FAILED','connectionError$','738igwtAl','mcpConfig.connectionError.maxRetriesExceeded','univer-bg-red-500','jsxs','MCP:\x20网络错误','Enable\x20Authentication','register','连接失败','mcpConfig.sessionIdDescription','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','BehaviorSubject','iterator','string','mcpStatus.clickToConnect','univer-text-sm\x20univer-text-gray-500','showDeveloperTools','off','Injector','Invalid\x20configuration','Module','最大重试次数','ISocketService','Tooltip','value','univer-text-xs\x20univer-text-gray-600','mcpConfig.validation.invalidApiKey','您的\x20API\x20密钥将在此浏览器中本地存储','Retrying...','mcp-ui.command.openConfigPanel','subscribeConfigValue$','900vZEbVS','span','length','mcpConfig.title','MCPConnectionStatus','useState','MCP:\x20Max\x20Retries\x20Exceeded','CloseIcon','mcp-config-dialog','HelpIcon','MAX_RETRIES_EXCEEDED','mcpConfig.description','mcpConfig.validation.apiKeyRequired','MCP\x20Configuration','API\x20密钥','189256koYafQ','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','MCP:\x20Unauthorized','Input','univer-font-medium','什么是\x20API\x20密钥?','mcpConfig.note2','ComponentManager','mcpConfig.apiKey','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','_initializeCommands','_initializeMenus','_validateConfig','IMenuManagerService','div','MCP_PLUGIN_CONFIG_KEY','useObservable','MenuIcon','启用身份验证','OTHERS','RibbonStartGroup','网络连接错误,请检查您的网络连接','univer-bg-blue-500','toStringTag','mcpConfig.configStep3','_connectionController','mcpConfig.configStep2','配置更改将立即生效','Connected','text','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Configuration\x20Parameters:','univer-flex\x20univer-items-start\x20univer-gap-2','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','配置保存成功','registerCommand','stringify','version','mcpStatus.unknown','会话ID','_config','_componentManager','MCP\x20已连接','setConfig','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','zhCN','MCPUIMenuController','BuiltInUIPart','API\x20密钥无效,请检查密钥是否正确','univer-text-blue-600','MessageType','\x20-\x20','API\x20Key','next','show','请输入您的\x20API\x20密钥','close','重连中...','getOwnPropertyDescriptor','_loading$','MenuItemType','NETWORK_ERROR','mcpConfig.validation.invalidConfig','RETRYING','MCP:\x20Session\x20ID\x20Occupied','mcpConfig.connectionError.networkError','_logService','HEADER_MENU','mcpConfig.authorizationDescription','univer-size-4','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-bg-green-500','__setCustomHeaders','clsx','UNAUTHORIZED','mcpConfig.apiApplyInfo.description','将以下配置添加到您的\x20MCP\x20客户端设置中:','Inject','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','Disconnected','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.connectionError.sessionOccupied','MCP\x20状态未知','univer-flex-1','https://mcp.univer.ai/mcp/?univer_session_id=','配置无效','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCP\x20Connected','MCP\x20Client\x20Configuration','LocaleService','useCallback','getCurrentConfig','Bearer\x20','error','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-text-gray-400','validateApiKey','权限验证失败,请检查您的\x20API\x20密钥','Univer\x20AI\x20Console','795018zceFyD','setItem','univer_session_id:','univer-space-y-3','_configService','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_initConfigSync','mcpConfig.configError','MCP\x20Retrying...','Success','_loadStoredApiKey','button','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','MCP\x20Disconnected','20atbUzb','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','ICommandService','disposeWithMe','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_handleConfigure','<SESSION_ID>','onStarting','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','3967116MuKslA','univer-space-y-5','UniverMCPPlugin','<API_KEY>','Configuration\x20Steps:','univer-text-xs\x20univer-text-gray-500','isValid','_blank','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','OpenMCPConfigPanelCommand','几秒钟内获取您的\x20API\x20密钥','connectInjector','API\x20key\x20is\x20required','push','Save\x20Configuration','connectionStatus$','_createConfigPanelComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpConfig.note1','_messageService','What\x20is\x20API\x20Key?','1473324qXQwpp','IDialogService','mcpStatus.clickToConfigure','API\x20key\x20with\x20Bearer\x20prefix.','OnLineIcon','errorMessage','配置步骤:','_dialogService','mcp-ui.config','mcpStatus.sessionOccupied','IMessageService','univer-text-red-500','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','getConfig','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','_initAutoConnect','mcpConfig.apiApplyInfo.getStarted','API\x20密钥不能为空','mcpStatus.networkError','CONNECTING','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','Authorization:','includes','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-white','带有\x20Bearer\x20前缀的\x20API\x20密钥。','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-space-y-2','_localStorageService','mcpConfig.connectionStatus.failed','mcpConfig.apiKeyHint','packageName','mcpConfig.configInstructions','showStatus','removeItem','Univer\x20AI\x20控制台','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Max\x20Retries','配置保存失败','_handleConfigSave','toPrimitive','https://console.univer.plus','IUIPartsService','enableAutoConnect','_localeService','mcpConfig.connectionStatus.disconnected','SESSION_ID_OCCUPIED','mcpStatus.connecting','jsx','noopener\x20noreferrer','配置参数:','MCP\x20Connecting...','registerComponent','DependentOn','DISCONNECTED','getItem','Click\x20to\x20connect\x20MCP','trim','enUS','get','Button','label','add','univer-flex\x20univer-gap-3','重启您的\x20MCP\x20客户端以使配置生效','MCP\x20连接失败','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','open','MCPConnectionController','function','_injector','196835PwXUqS','IConfigService','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.connectionInfo','连接中...','merge','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-flex\x20univer-items-start\x20univer-gap-3','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpServerUrl','77hpIjGG','保存中...','mcpConfig.saving','MCP\x20Connection\x20Failed','Error','MCPConfigPanel','default','apiKey','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600'];_0x4f3f=function(){return _0x30c51c;};return _0x4f3f();}const j={'mcpStatus':{'disconnected':_0x1a848e(0x23d),'connecting':_0x1a848e(0x12c),'connected':_0x1a848e(0x224),'failed':_0x1a848e(0x14d),'retrying':_0x1a848e(0x238),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x1a848e(0x1cd),'sessionOccupied':_0x1a848e(0x20d),'networkError':_0x1a848e(0x167),'maxRetriesExceeded':_0x1a848e(0x1c2),'clickToConnect':_0x1a848e(0x131),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1a848e(0x1c9),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1a848e(0x201),'apiKeyPlaceholder':_0x1a848e(0x178),'apiKeyHint':_0x1a848e(0x148),'enableAuth':_0x1a848e(0x1a2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1a848e(0x225),'mcpClientConfig':_0x1a848e(0x225),'configInstructions':_0x1a848e(0x243),'configStepTitle':_0x1a848e(0xe7),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x1a848e(0x159),'configStep3':_0x1a848e(0x11d),'sessionId':_0x1a848e(0x197),'sessionIdDescription':_0x1a848e(0x16d),'authorizationDescription':_0x1a848e(0xfb),'configParameters':_0x1a848e(0x1eb),'maxRetries':_0x1a848e(0x11e),'save':_0x1a848e(0xf1),'saving':'Saving...','note1':_0x1a848e(0x23f),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x1a848e(0x242),'apiApplyInfo':{'title':_0x1a848e(0xf7),'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':_0x1a848e(0x22f),'getStarted':_0x1a848e(0x192)},'validation':{'apiKeyRequired':_0x1a848e(0xef),'apiKeyTooShort':_0x1a848e(0x113),'invalidConfig':_0x1a848e(0x1b0),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1a848e(0x21c),'connecting':'Connecting...','connected':_0x1a848e(0x1e8),'failed':_0x1a848e(0x17f),'retrying':_0x1a848e(0x1b9)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1a848e(0x18d),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},M={'mcpStatus':{'disconnected':_0x1a848e(0x155),'connecting':'MCP\x20连接中...','connected':_0x1a848e(0x1f6),'failed':_0x1a848e(0x13a),'retrying':'MCP\x20重连中...','unknown':_0x1a848e(0x21f),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x1a848e(0x1a1),'maxRetriesExceeded':_0x1a848e(0x193),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x1a848e(0x15d)},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x1a848e(0x1ca),'apiKeyPlaceholder':_0x1a848e(0x204),'apiKeyHint':_0x1a848e(0x1b8),'enableAuth':_0x1a848e(0x1de),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x1a848e(0x219),'configStepTitle':_0x1a848e(0xfe),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x1a848e(0x139),'sessionId':_0x1a848e(0x1f3),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x1a848e(0x112),'configParameters':_0x1a848e(0x12b),'maxRetries':_0x1a848e(0x1b2),'save':_0x1a848e(0x17b),'saving':_0x1a848e(0x14b),'note1':_0x1a848e(0x1e7),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x1a848e(0x1ee),'configError':_0x1a848e(0x11f),'apiApplyInfo':{'title':_0x1a848e(0x1d0),'description':_0x1a848e(0x1f9),'univerAiLabel':_0x1a848e(0x11c),'getStarted':_0x1a848e(0xed)},'validation':{'apiKeyRequired':_0x1a848e(0x109),'apiKeyTooShort':_0x1a848e(0x18a),'invalidConfig':_0x1a848e(0x222),'invalidApiKey':_0x1a848e(0x1fd)},'connectionStatus':{'disconnected':_0x1a848e(0x173),'connecting':_0x1a848e(0x144),'connected':_0x1a848e(0x162),'failed':_0x1a848e(0x1a4),'retrying':_0x1a848e(0x206)},'connectionError':{'unauthorized':_0x1a848e(0x22e),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x1a848e(0x1e1),'maxRetriesExceeded':_0x1a848e(0x19a)}}};var N='@univerjs-pro/mcp-ui',P='0.25.0';let F=class extends e[_0x1a848e(0x191)]{constructor(_0x1a09e9=d,_0x3ddaab,_0x1cf915,_0x2d0287,_0x1fa6e0,_0xf625c5){const _0x4767bf=_0x1a848e;super(),this['_config']=_0x1a09e9,this[_0x4767bf(0x13f)]=_0x3ddaab,this[_0x4767bf(0x234)]=_0x1cf915,this['_uiPartsService']=_0x2d0287,this[_0x4767bf(0x115)]=_0x1fa6e0,this[_0x4767bf(0x125)]=_0xf625c5;let {..._0x5a3f19}=(0x0,e[_0x4767bf(0x145)])({},d,this[_0x4767bf(0x1f4)]);this[_0x4767bf(0x234)][_0x4767bf(0x1f7)](u,_0x5a3f19);}async[_0x1a848e(0x246)](){const _0xa18412=_0x1a848e;let _0x33370a=[[E],[b],[A]];this[_0xa18412(0x13f)][_0xa18412(0x154)](c[_0xa18412(0x1b3)])||_0x33370a[_0xa18412(0xf0)]([c[_0xa18412(0x1b3)],{'useClass':c['WebSocketService']}]),_0x33370a['forEach'](_0x4c994a=>this[_0xa18412(0x13f)][_0xa18412(0x137)](_0x4c994a)),this[_0xa18412(0x13f)][_0xa18412(0x134)](E),this[_0xa18412(0x13f)][_0xa18412(0x134)](b),this['_injector'][_0xa18412(0x134)](A);}};h(F,'pluginName','MCP_UI_PLUGIN'),h(F,_0x1a848e(0x118),N),h(F,_0x1a848e(0x1f1),P),F=_([(0x0,e[_0x1a848e(0x12e)])(t[_0x1a848e(0xe5)]),g(0x1,(0x0,e[_0x1a848e(0x21a)])(e[_0x1a848e(0x1af)])),g(0x2,e['IConfigService']),g(0x3,r[_0x1a848e(0x123)]),g(0x4,e['ILocalStorageService']),g(0x5,(0x0,e[_0x1a848e(0x21a)])(e[_0x1a848e(0x226)]))],F),exports[_0x1a848e(0x14f)]=l,Object['defineProperty'](exports,'MCPConfigUIController',{'enumerable':!0x0,'get':function(){return b;}}),Object['defineProperty'](exports,'MCPConnectionUIController',{'enumerable':!0x0,'get':function(){return E;}}),exports[_0x1a848e(0x157)]=T,Object[_0x1a848e(0x165)](exports,_0x1a848e(0x1fb),{'enumerable':!0x0,'get':function(){return A;}}),exports[_0x1a848e(0xec)]=x,Object[_0x1a848e(0x165)](exports,'UniverMCPUIPlugin',{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x1a848e(0x133)]=j,exports[_0x1a848e(0x1fa)]=M;
1
+ const _0x312fe2=_0x3324;(function(_0x34492b,_0x289b9c){const _0x1ac666=_0x3324,_0x14f562=_0x34492b();while(!![]){try{const _0x414209=parseInt(_0x1ac666(0x245))/0x1+parseInt(_0x1ac666(0x202))/0x2*(-parseInt(_0x1ac666(0x24c))/0x3)+parseInt(_0x1ac666(0x224))/0x4*(parseInt(_0x1ac666(0x173))/0x5)+parseInt(_0x1ac666(0x1a2))/0x6+-parseInt(_0x1ac666(0x162))/0x7*(parseInt(_0x1ac666(0x189))/0x8)+parseInt(_0x1ac666(0x1f2))/0x9*(parseInt(_0x1ac666(0x1c6))/0xa)+parseInt(_0x1ac666(0x21e))/0xb*(-parseInt(_0x1ac666(0x1eb))/0xc);if(_0x414209===_0x289b9c)break;else _0x14f562['push'](_0x14f562['shift']());}catch(_0xb14026){_0x14f562['push'](_0x14f562['shift']());}}}(_0x3530,0x18c16),Object[_0x312fe2(0x1a7)](exports,Symbol[_0x312fe2(0x1d4)],{'value':_0x312fe2(0x1fd)}));const e=require('./locale/en-US.js'),t=require('./locale/zh-CN.js');let n=require('@univerjs/core'),r=require('@univerjs-pro/mcp'),i=require('@univerjs/design'),a=require('@univerjs/ui'),o=require('rxjs'),s=require('@univerjs/icons'),c=require('react'),l=require('react/jsx-runtime'),u=require('@univerjs/network');function d(_0x313220){const _0x5f50e7=_0x312fe2;var _0x483900,_0x27dd3c;let {mcpCoreConfig:_0x11fcc1,onSave:_0x48021f,loading:_0x157336=!0x1,config:_0x1efc06,connectionStatus$:_0x39345e,connectionError$:_0x3d96ae,currentApiKey$:_0x40202e,currentSessionId$:_0x16c628}=_0x313220,_0x393ff7=(0x0,a[_0x5f50e7(0x194)])(n['LocaleService']),_0x4905ca=(0x0,a[_0x5f50e7(0x198)])(_0x39345e,r[_0x5f50e7(0x1f1)][_0x5f50e7(0x1a1)]),_0x35421a=(0x0,a[_0x5f50e7(0x198)])(_0x3d96ae,r[_0x5f50e7(0x1d0)][_0x5f50e7(0x1ba)]),_0x21e84b=(0x0,a[_0x5f50e7(0x198)])(_0x16c628,''),[_0x5e252,_0x26c86a]=(0x0,c[_0x5f50e7(0x1b5)])((0x0,a[_0x5f50e7(0x198)])(_0x40202e,'')||''),_0x3cf35d=_0x1efc06[_0x5f50e7(0x1aa)]&&_0x11fcc1['mcpServerUrl']&&(_0x11fcc1[_0x5f50e7(0x1bb)][_0x5f50e7(0x215)](_0x5f50e7(0x235))||_0x11fcc1[_0x5f50e7(0x1bb)]['includes'](_0x5f50e7(0x251))),_0xa6d40=(_0x483900=_0x11fcc1[_0x5f50e7(0x1bb)])==null?void 0x0:_0x483900['includes'](_0x5f50e7(0x235)),_0x4f095e=(_0x27dd3c=_0x11fcc1[_0x5f50e7(0x1bb)])==null?void 0x0:_0x27dd3c[_0x5f50e7(0x215)](_0x5f50e7(0x251)),_0x55e420=_0xa6d40?_0x5f50e7(0x22b):_0x5f50e7(0x195),_0x4f9285=_0x1efc06['showDeveloperTools']&&(_0xa6d40||_0x4f095e),[_0x6a0e4a,_0x4c0ad0]=(0x0,c[_0x5f50e7(0x1b5)])(!_0x5e252[_0x5f50e7(0x216)]()),_0x1d6975=(_0x612197,_0x230892)=>{const _0x176384=_0x5f50e7;if(_0x230892===r[_0x176384(0x1d0)]['UNAUTHORIZED'])return _0x176384(0x19a);switch(_0x612197){case r[_0x176384(0x1f1)]['CONNECTED']:return _0x176384(0x244);case r['MCPConnectionStatus'][_0x176384(0x1e4)]:case r[_0x176384(0x1f1)]['RETRYING']:return _0x176384(0x14a);case r[_0x176384(0x1f1)][_0x176384(0x18a)]: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';}},_0x57f1b4=(_0x4699d8,_0x1dfc14)=>{const _0x432fa3=_0x5f50e7;if(_0x1dfc14===r['MCPConnectionError']['UNAUTHORIZED'])return _0x432fa3(0x18d);switch(_0x4699d8){case r[_0x432fa3(0x1f1)]['CONNECTED']:return _0x432fa3(0x197);case r[_0x432fa3(0x1f1)][_0x432fa3(0x1e4)]:case r['MCPConnectionStatus'][_0x432fa3(0x174)]:return _0x432fa3(0x24f);case r['MCPConnectionStatus']['FAILED']:return _0x432fa3(0x18d);default:return _0x432fa3(0x161);}},_0x283f10=_0x57ed42=>{const _0x38aa7c=_0x5f50e7;switch(_0x57ed42){case r[_0x38aa7c(0x1f1)][_0x38aa7c(0x16b)]:return _0x393ff7['t'](_0x38aa7c(0x1e3));case r[_0x38aa7c(0x1f1)][_0x38aa7c(0x1e4)]:return _0x393ff7['t'](_0x38aa7c(0x1cc));case r[_0x38aa7c(0x1f1)][_0x38aa7c(0x18a)]:return _0x393ff7['t'](_0x38aa7c(0x15a));case r[_0x38aa7c(0x1f1)]['RETRYING']:return _0x393ff7['t']('mcpConfig.connectionStatus.retrying');default:return _0x393ff7['t'](_0x38aa7c(0x15f));}},_0x4ba446=_0x351baa=>{const _0x4c22d5=_0x5f50e7;switch(_0x351baa){case r[_0x4c22d5(0x1d0)][_0x4c22d5(0x16c)]:return _0x393ff7['t']('mcpConfig.connectionError.unauthorized');case r['MCPConnectionError'][_0x4c22d5(0x1bc)]:return _0x393ff7['t'](_0x4c22d5(0x1dd));case r[_0x4c22d5(0x1d0)][_0x4c22d5(0x157)]:return _0x393ff7['t'](_0x4c22d5(0x1ce));case r[_0x4c22d5(0x1d0)][_0x4c22d5(0x1c3)]:return _0x393ff7['t'](_0x4c22d5(0x1c1));default:return'';}},_0x434a96=(0x0,c[_0x5f50e7(0x207)])(()=>{const _0x2819ac=_0x5f50e7;_0x48021f({..._0x11fcc1,'apiKey':_0x5e252[_0x2819ac(0x216)](),'enableAuth':!0x0});},[_0x11fcc1,_0x5e252,!0x0,_0x48021f]),_0x4a0ba8=_0x5e252['trim']()[_0x5f50e7(0x1be)]>0x0;return(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x22c),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x1e9),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x241),'children':(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x179),{'className':'univer-text-white','children':'⚙'})}),(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'children':(0x0,l[_0x5f50e7(0x208)])('p',{'className':_0x5f50e7(0x193),'children':_0x393ff7['t']('mcpConfig.description')})})]})}),(0x0,l['jsxs'])('div',{'className':_0x5f50e7(0x1c5),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':(0x0,i['clsx'])(_0x5f50e7(0x14e),_0x1d6975(_0x4905ca,_0x35421a)),'children':(0x0,l['jsxs'])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x23c),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':(0x0,i[_0x5f50e7(0x1df)])(_0x5f50e7(0x164),_0x57f1b4(_0x4905ca,_0x35421a))}),(0x0,l[_0x5f50e7(0x208)])('span',{'className':_0x5f50e7(0x1fa),'children':_0x283f10(_0x4905ca)})]})}),_0x35421a!==r[_0x5f50e7(0x1d0)][_0x5f50e7(0x1ba)]&&(_0x4905ca===r[_0x5f50e7(0x1f1)]['FAILED']||_0x35421a===r[_0x5f50e7(0x1d0)][_0x5f50e7(0x16c)])&&(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x1fe),'children':(0x0,l[_0x5f50e7(0x1b0)])('div',{'className':_0x5f50e7(0x1c2),'children':[(0x0,l['jsx'])('span',{'className':_0x5f50e7(0x1bf),'children':'⚠️'}),(0x0,l[_0x5f50e7(0x208)])('p',{'className':_0x5f50e7(0x221),'children':_0x4ba446(_0x35421a)})]})})]}),(0x0,l['jsx'])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x238),'children':(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x200),'children':[(0x0,l[_0x5f50e7(0x1b0)])('div',{'className':_0x5f50e7(0x240),'children':[(0x0,l['jsxs'])(_0x5f50e7(0x1e8),{'className':_0x5f50e7(0x1b6),'children':[(0x0,l['jsx'])(_0x5f50e7(0x179),{'children':'🔑'}),'\x20',_0x393ff7['t'](_0x5f50e7(0x175)),(0x0,l['jsx'])('span',{'className':'univer-text-red-500','children':'*'}),_0x3cf35d&&(0x0,l[_0x5f50e7(0x208)])('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x393ff7['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x4c0ad0(!0x0),'children':(0x0,l[_0x5f50e7(0x208)])(s['HelpIcon'],{})})]}),(0x0,l[_0x5f50e7(0x208)])(i[_0x5f50e7(0x22f)],{'type':'text','placeholder':_0x393ff7['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x5e252,'disabled':_0x157336,'autoComplete':_0x5f50e7(0x1dc),'onChange':_0x26c86a}),(0x0,l[_0x5f50e7(0x208)])('p',{'className':_0x5f50e7(0x18f),'children':_0x393ff7['t']('mcpConfig.apiKeyHint')})]}),_0x3cf35d&&_0x6a0e4a&&(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'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':[(0x0,l[_0x5f50e7(0x208)])('a',{'className':_0x5f50e7(0x166),'role':_0x5f50e7(0x1ec),'onClick':()=>_0x4c0ad0(!0x1),'children':(0x0,l[_0x5f50e7(0x208)])(s[_0x5f50e7(0x1ad)],{'className':'univer-size-4'})}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x165),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x179),{'className':_0x5f50e7(0x1d6),'children':'🚀'})}),(0x0,l['jsxs'])(_0x5f50e7(0x1b3),{'className':'univer-flex-1','children':[(0x0,l[_0x5f50e7(0x208)])('h4',{'className':_0x5f50e7(0x1c9),'children':_0x393ff7['t']('mcpConfig.apiApplyInfo.title')}),(0x0,l[_0x5f50e7(0x208)])('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x393ff7['t'](_0x5f50e7(0x186))}),(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x219),'children':_0x4f9285&&(0x0,l[_0x5f50e7(0x1b0)])('a',{'className':_0x5f50e7(0x152),'href':_0x55e420,'target':_0x5f50e7(0x1d2),'rel':_0x5f50e7(0x149),'children':[(0x0,l['jsx'])(_0x5f50e7(0x179),{'children':'🤖'}),_0x393ff7['t'](_0x5f50e7(0x1d1)),(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x179),{'className':_0x5f50e7(0x24d),'children':'↗'})]})}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x18e),'children':['✨','\x20',_0x393ff7['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x1efc06[_0x5f50e7(0x1aa)]&&(0x0,l['jsxs'])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x153),'children':[(0x0,l[_0x5f50e7(0x1b0)])('h4',{'className':_0x5f50e7(0x252),'children':[(0x0,l[_0x5f50e7(0x208)])('span',{'children':'🔗'}),'\x20',_0x393ff7['t'](_0x5f50e7(0x18c))]}),(0x0,l[_0x5f50e7(0x1b0)])('div',{'className':_0x5f50e7(0x1ff),'children':[(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x196),'children':[(0x0,l[_0x5f50e7(0x208)])('p',{'className':_0x5f50e7(0x20e),'children':_0x393ff7['t']('mcpConfig.configInstructions')}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':'univer-space-y-2','children':[(0x0,l[_0x5f50e7(0x208)])('div',{'className':_0x5f50e7(0x160),'children':_0x393ff7['t'](_0x5f50e7(0x1f5))}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x17f),'children':[(0x0,l[_0x5f50e7(0x1b0)])('div',{'className':_0x5f50e7(0x23c),'children':[(0x0,l['jsx'])(_0x5f50e7(0x179),{'className':_0x5f50e7(0x1a8),'children':'1'}),_0x393ff7['t']('mcpConfig.configStep1')]}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x23c),'children':[(0x0,l[_0x5f50e7(0x208)])('span',{'className':_0x5f50e7(0x1a8),'children':'2'}),_0x393ff7['t'](_0x5f50e7(0x1ae))]}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x23c),'children':[(0x0,l['jsx'])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x393ff7['t'](_0x5f50e7(0x17b))]})]})]})]}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':'univer-space-y-2','children':[(0x0,l[_0x5f50e7(0x208)])('div',{'className':_0x5f50e7(0x160),'children':'MCP\x20Configuration'}),(0x0,l['jsx'])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x1cb),'children':(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x14f),{'className':_0x5f50e7(0x21f),'children':JSON['stringify']({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x21e84b||_0x5f50e7(0x250)),'type':_0x5f50e7(0x192),'headers':{'Authorization':_0x5f50e7(0x243)+(_0x5e252||'<API_KEY>')}}}},null,0x2)})})]}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x196),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x160),'children':_0x393ff7['t'](_0x5f50e7(0x1a5))}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x240),'children':[(0x0,l['jsxs'])(_0x5f50e7(0x1b3),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,l['jsx'])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x1a4)}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x1d9),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x1d7),'children':_0x5f50e7(0x172)}),(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x18f),'children':_0x393ff7['t'](_0x5f50e7(0x14b))})]})]}),(0x0,l['jsxs'])('div',{'className':_0x5f50e7(0x206),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x1b3),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,l[_0x5f50e7(0x1b0)])('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,l['jsx'])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x1d7),'children':_0x5f50e7(0x1ab)}),(0x0,l[_0x5f50e7(0x208)])('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x393ff7['t'](_0x5f50e7(0x20b))})]})]})]})]})]})]}),(0x0,l[_0x5f50e7(0x208)])(i[_0x5f50e7(0x199)],{'onClick':_0x434a96,'disabled':!_0x4a0ba8||_0x157336,'className':_0x5f50e7(0x16d),'children':_0x157336?(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x179),{'className':_0x5f50e7(0x23c),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x179),{'children':'⟲'}),_0x393ff7['t'](_0x5f50e7(0x1cf))]}):(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x179),{'className':_0x5f50e7(0x23c),'children':[(0x0,l[_0x5f50e7(0x208)])(s[_0x5f50e7(0x24a)],{}),_0x393ff7['t'](_0x5f50e7(0x155))]})}),(0x0,l[_0x5f50e7(0x208)])('div',{'className':_0x5f50e7(0x184),'children':(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x17c),'children':[(0x0,l[_0x5f50e7(0x208)])(_0x5f50e7(0x179),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[(0x0,l['jsx'])(_0x5f50e7(0x1b3),{'className':_0x5f50e7(0x16f),'children':'Configuration\x20Notes:'}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'children':['•',_0x393ff7['t'](_0x5f50e7(0x1e2))]}),(0x0,l[_0x5f50e7(0x1b0)])(_0x5f50e7(0x1b3),{'children':['•',_0x393ff7['t']('mcpConfig.note2')]})]})]})})]})})]});}const f=_0x312fe2(0x24e),p={'showDeveloperTools':!0x1,'showStatus':!0x0};function m(_0x29b338){'@babel/helpers - typeof';const _0x45719d=_0x312fe2;return m=typeof Symbol==_0x45719d(0x1e7)&&typeof Symbol[_0x45719d(0x176)]==_0x45719d(0x1fc)?function(_0x1dacf9){return typeof _0x1dacf9;}:function(_0x4a2f4c){const _0x3ba652=_0x45719d;return _0x4a2f4c&&typeof Symbol==_0x3ba652(0x1e7)&&_0x4a2f4c[_0x3ba652(0x20c)]===Symbol&&_0x4a2f4c!==Symbol['prototype']?_0x3ba652(0x1fc):typeof _0x4a2f4c;},m(_0x29b338);}function h(_0x5c534d,_0x35e82d){const _0x1355fe=_0x312fe2;if(m(_0x5c534d)!=_0x1355fe(0x16a)||!_0x5c534d)return _0x5c534d;var _0x5d1f28=_0x5c534d[Symbol[_0x1355fe(0x22a)]];if(_0x5d1f28!==void 0x0){var _0x34a533=_0x5d1f28['call'](_0x5c534d,_0x35e82d||_0x1355fe(0x1da));if(m(_0x34a533)!=_0x1355fe(0x16a))return _0x34a533;throw TypeError(_0x1355fe(0x1b7));}return(_0x35e82d==='string'?String:Number)(_0x5c534d);}function g(_0x2043e4){const _0x2b333b=_0x312fe2;var _0x2c5740=h(_0x2043e4,_0x2b333b(0x222));return m(_0x2c5740)==_0x2b333b(0x1fc)?_0x2c5740:_0x2c5740+'';}function _(_0x29e487,_0x34dfa2,_0xd938d6){const _0x502ada=_0x312fe2;return(_0x34dfa2=g(_0x34dfa2))in _0x29e487?Object[_0x502ada(0x1a7)](_0x29e487,_0x34dfa2,{'value':_0xd938d6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x29e487[_0x34dfa2]=_0xd938d6,_0x29e487;}function v(_0x21c113,_0x1685f6){return function(_0x48c068,_0x5320b5){_0x1685f6(_0x48c068,_0x5320b5,_0x21c113);};}function y(_0x309e1b,_0x266f5a,_0x3cc9b5,_0x2d9339){const _0xcd26ee=_0x312fe2;var _0x3fa2e6=arguments[_0xcd26ee(0x1be)],_0x37c042=_0x3fa2e6<0x3?_0x266f5a:_0x2d9339===null?_0x2d9339=Object['getOwnPropertyDescriptor'](_0x266f5a,_0x3cc9b5):_0x2d9339,_0x41ad44;if(typeof Reflect==_0xcd26ee(0x16a)&&typeof Reflect[_0xcd26ee(0x1af)]==_0xcd26ee(0x1e7))_0x37c042=Reflect[_0xcd26ee(0x1af)](_0x309e1b,_0x266f5a,_0x3cc9b5,_0x2d9339);else{for(var _0xd0ce1c=_0x309e1b[_0xcd26ee(0x1be)]-0x1;_0xd0ce1c>=0x0;_0xd0ce1c--)(_0x41ad44=_0x309e1b[_0xd0ce1c])&&(_0x37c042=(_0x3fa2e6<0x3?_0x41ad44(_0x37c042):_0x3fa2e6>0x3?_0x41ad44(_0x266f5a,_0x3cc9b5,_0x37c042):_0x41ad44(_0x266f5a,_0x3cc9b5))||_0x37c042);}return _0x3fa2e6>0x3&&_0x37c042&&Object[_0xcd26ee(0x1a7)](_0x266f5a,_0x3cc9b5,_0x37c042),_0x37c042;}const b=_0x312fe2(0x156),x=_0x312fe2(0x1a3);let S=class extends n[_0x312fe2(0x1f7)]{constructor(_0x1b13c4,_0x1100ff,_0x5e8b3a,_0x3ae8a1,_0x5e8d43,_0x449f53,_0x180cbb,_0x28a353,_0x481fbb,_0x179db4){const _0x4f4d86=_0x312fe2;super(),this['_injector']=_0x1b13c4,this['_uiPartsService']=_0x1100ff,this[_0x4f4d86(0x23b)]=_0x5e8b3a,this['_localStorageService']=_0x3ae8a1,this[_0x4f4d86(0x187)]=_0x5e8d43,this[_0x4f4d86(0x1c8)]=_0x449f53,this[_0x4f4d86(0x171)]=_0x180cbb,this[_0x4f4d86(0x1d8)]=_0x28a353,this[_0x4f4d86(0x236)]=_0x481fbb,this[_0x4f4d86(0x233)]=_0x179db4,_(this,_0x4f4d86(0x180),new o[(_0x4f4d86(0x21a))](!0x1)),_(this,'_mcpCoreConfig$',new o[(_0x4f4d86(0x21a))]({})),_(this,_0x4f4d86(0x14d),new o[(_0x4f4d86(0x21a))]({})),_(this,_0x4f4d86(0x1d5),new o['BehaviorSubject']('')),_(this,_0x4f4d86(0x1f4),async _0xeed9a8=>{const _0x29ca4f=_0x4f4d86;this[_0x29ca4f(0x180)]['next'](!0x0);try{var _0x38e1e9,_0x2a34d8;let _0x44c4bd=await this[_0x29ca4f(0x1fb)](_0xeed9a8);if(!_0x44c4bd['isValid']){this[_0x29ca4f(0x1c8)][_0x29ca4f(0x1f8)]({'type':i[_0x29ca4f(0x150)][_0x29ca4f(0x170)],'content':_0x44c4bd[_0x29ca4f(0x22d)]||this[_0x29ca4f(0x1d8)]['t'](_0x29ca4f(0x204))});return;}_0xeed9a8[_0x29ca4f(0x226)]?await this[_0x29ca4f(0x15c)][_0x29ca4f(0x201)](b,_0xeed9a8[_0x29ca4f(0x226)][_0x29ca4f(0x216)]()):await this[_0x29ca4f(0x15c)]['removeItem'](b),this[_0x29ca4f(0x1d5)][_0x29ca4f(0x1f3)](((_0x38e1e9=_0xeed9a8[_0x29ca4f(0x226)])==null?void 0x0:_0x38e1e9[_0x29ca4f(0x216)]())||''),this[_0x29ca4f(0x233)]['__setCustomHeaders']({'Authorization':_0x29ca4f(0x243)+((_0x2a34d8=_0xeed9a8[_0x29ca4f(0x226)])==null?void 0x0:_0x2a34d8[_0x29ca4f(0x216)]())}),this['_messageService']['show']({'type':i['MessageType']['Success'],'content':this[_0x29ca4f(0x1d8)]['t'](_0x29ca4f(0x19f))}),setTimeout(()=>{const _0x144472=_0x29ca4f;this[_0x144472(0x187)]['close'](x);},0x320);}catch(_0x49c48f){this['_logService'][_0x29ca4f(0x1e5)](_0x29ca4f(0x1ea),_0x49c48f),this[_0x29ca4f(0x1c8)][_0x29ca4f(0x1f8)]({'type':i[_0x29ca4f(0x150)][_0x29ca4f(0x170)],'content':this[_0x29ca4f(0x1d8)]['t'](_0x29ca4f(0x168))});}finally{this[_0x29ca4f(0x180)][_0x29ca4f(0x1f3)](!0x1);}}),this[_0x4f4d86(0x167)](),this[_0x4f4d86(0x20f)](),this['_registerComponent']();}[_0x312fe2(0x1f9)](){const _0x178c3f=_0x312fe2;let _0xb89859=this['_configService'][_0x178c3f(0x14c)](f);_0xb89859!=null&&_0xb89859['showDeveloperTools']&&this[_0x178c3f(0x187)][_0x178c3f(0x217)]({'id':x,'title':{'title':this[_0x178c3f(0x1d8)]['t'](_0x178c3f(0x191))},'children':{'label':_0x178c3f(0x21b)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x55ce4c=_0x178c3f;this[_0x55ce4c(0x187)][_0x55ce4c(0x1c4)](x);}});}[_0x312fe2(0x220)](){const _0x16a349=_0x312fe2;return this[_0x16a349(0x183)][_0x16a349(0x242)];}[_0x312fe2(0x1de)](){const _0xbf4b70=_0x312fe2;this['disposeWithMe'](this[_0xbf4b70(0x171)][_0xbf4b70(0x1a0)](_0xbf4b70(0x21b),this[_0xbf4b70(0x1b1)]()));}[_0x312fe2(0x1b1)](){const _0x47404f=_0x312fe2;return(0x0,a[_0x47404f(0x1ca)])(()=>{const _0x39a5bb=_0x47404f;var _0x427aae,_0x54e495,_0x4779a5;return(0x0,l['jsx'])(d,{'config':this[_0x39a5bb(0x14d)][_0x39a5bb(0x242)],'mcpCoreConfig':this[_0x39a5bb(0x183)][_0x39a5bb(0x242)],'currentApiKey$':this[_0x39a5bb(0x1d5)],'onSave':this['_handleConfigSave'],'loading':this[_0x39a5bb(0x180)][_0x39a5bb(0x242)],'connectionStatus$':(_0x427aae=this[_0x39a5bb(0x233)])==null?void 0x0:_0x427aae[_0x39a5bb(0x1e1)],'connectionError$':(_0x54e495=this[_0x39a5bb(0x233)])==null?void 0x0:_0x54e495[_0x39a5bb(0x22e)],'currentSessionId$':(_0x4779a5=this[_0x39a5bb(0x233)])==null?void 0x0:_0x4779a5['sessionId$']});},this[_0x47404f(0x1c0)]);}['_initConfigSync'](){const _0x37f3ef=_0x312fe2;this[_0x37f3ef(0x19e)](this[_0x37f3ef(0x23b)][_0x37f3ef(0x1ee)](r[_0x37f3ef(0x229)])[_0x37f3ef(0x159)](_0x4c948f=>{const _0x649b83=_0x37f3ef;this[_0x649b83(0x183)][_0x649b83(0x1f3)](_0x4c948f||{});}));let _0x3f1ddc=this[_0x37f3ef(0x23b)]['getConfig'](r[_0x37f3ef(0x229)]);this['_mcpCoreConfig$'][_0x37f3ef(0x1f3)](_0x3f1ddc||{}),this['disposeWithMe'](this[_0x37f3ef(0x23b)][_0x37f3ef(0x1ee)](f)[_0x37f3ef(0x159)](_0x28deb0=>{const _0x42cb21=_0x37f3ef;this[_0x42cb21(0x14d)][_0x42cb21(0x1f3)](_0x28deb0||{});}));let _0x59e542=this[_0x37f3ef(0x23b)][_0x37f3ef(0x14c)](f);this[_0x37f3ef(0x14d)]['next'](_0x59e542||{});}async[_0x312fe2(0x20f)](){const _0x215b11=_0x312fe2;let _0x283024=this[_0x215b11(0x23b)]['getConfig'](f);if(!(_0x283024!=null&&_0x283024[_0x215b11(0x1aa)]))return;let _0x277a05=await this[_0x215b11(0x15c)][_0x215b11(0x1db)](b);_0x277a05&&(this[_0x215b11(0x233)]['__setCustomHeaders']({'Authorization':_0x215b11(0x243)+_0x277a05}),this[_0x215b11(0x1d5)][_0x215b11(0x1f3)](_0x277a05));}async[_0x312fe2(0x1fb)](_0x136032){const _0x51fce3=_0x312fe2;if(!_0x136032[_0x51fce3(0x226)]||_0x136032['apiKey'][_0x51fce3(0x216)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x51fce3(0x1d8)]['t'](_0x51fce3(0x212))};if(_0x136032['apiKey'][_0x51fce3(0x216)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x51fce3(0x1d8)]['t'](_0x51fce3(0x211))};try{let _0x3e0662=await this[_0x51fce3(0x1c0)][_0x51fce3(0x158)](r[_0x51fce3(0x1a6)])['validateApiKey'](_0x136032[_0x51fce3(0x226)][_0x51fce3(0x216)]());return _0x3e0662[_0x51fce3(0x209)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3e0662[_0x51fce3(0x1e5)]||this[_0x51fce3(0x1d8)]['t'](_0x51fce3(0x223))};}catch(_0x4f1ce5){return console[_0x51fce3(0x16e)](_0x51fce3(0x1b9),_0x4f1ce5),{'isValid':!0x0};}}};S=y([v(0x0,(0x0,n[_0x312fe2(0x231)])(n[_0x312fe2(0x228)])),v(0x1,a[_0x312fe2(0x15e)]),v(0x2,n['IConfigService']),v(0x3,n[_0x312fe2(0x1d3)]),v(0x4,a['IDialogService']),v(0x5,a['IMessageService']),v(0x6,(0x0,n['Inject'])(a[_0x312fe2(0x23a)])),v(0x7,(0x0,n[_0x312fe2(0x231)])(n[_0x312fe2(0x1e6)])),v(0x8,n['ILogService']),v(0x9,(0x0,n['Inject'])(r[_0x312fe2(0x1a6)]))],S);const C={'id':_0x312fe2(0x248),'type':n['CommandType']['COMMAND'],'handler':async(_0x454573,_0x3608b0)=>(_0x454573[_0x312fe2(0x158)](S)['showConfigPanel'](),!0x0)};function w(_0x1d8bb3,_0xa5d501){const _0x30811d=_0x312fe2;switch(_0x1d8bb3){case r[_0x30811d(0x1f1)][_0x30811d(0x1a1)]:return _0x30811d(0x20d);case r[_0x30811d(0x1f1)][_0x30811d(0x1e4)]:return _0x30811d(0x19c);case r['MCPConnectionStatus'][_0x30811d(0x16b)]:return _0x30811d(0x151);case r[_0x30811d(0x1f1)][_0x30811d(0x18a)]:switch(_0xa5d501){case r[_0x30811d(0x1d0)]['UNAUTHORIZED']:return _0x30811d(0x24b);case r[_0x30811d(0x1d0)][_0x30811d(0x1bc)]:return'mcpStatus.sessionOccupied';case r[_0x30811d(0x1d0)][_0x30811d(0x157)]:return _0x30811d(0x17e);case r['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case r[_0x30811d(0x1f1)]['RETRYING']:return _0x30811d(0x17d);default:return _0x30811d(0x23e);}}function T(_0x2f968d,_0x37fb7e,_0x4ce698,_0x43e69b=!0x0){const _0x6370ac=_0x312fe2;let _0x15f7ad=w(_0x2f968d,_0x37fb7e),_0x28dffc=_0x4ce698['t'](_0x15f7ad);return _0x43e69b?_0x2f968d===r[_0x6370ac(0x1f1)][_0x6370ac(0x1a1)]&&_0x37fb7e===r['MCPConnectionError'][_0x6370ac(0x16c)]?_0x28dffc+_0x6370ac(0x227)+_0x4ce698['t'](_0x6370ac(0x19d)):_0x2f968d===r['MCPConnectionStatus'][_0x6370ac(0x16b)]?''+_0x28dffc:_0x2f968d===r[_0x6370ac(0x1f1)]['DISCONNECTED']||_0x2f968d===r[_0x6370ac(0x1f1)]['FAILED']?_0x28dffc+'\x20-\x20'+_0x4ce698['t'](_0x6370ac(0x1b2)):_0x28dffc:_0x28dffc;}function E(_0x570b0c){const _0x166754=_0x312fe2;switch(_0x570b0c){case r[_0x166754(0x1f1)][_0x166754(0x16b)]:return _0x166754(0x218);case r[_0x166754(0x1f1)][_0x166754(0x1e4)]:case r['MCPConnectionStatus'][_0x166754(0x174)]:return _0x166754(0x1ed);case r[_0x166754(0x1f1)][_0x166754(0x18a)]:case r[_0x166754(0x1f1)][_0x166754(0x1a1)]:return'univer-text-red-500';default:return _0x166754(0x214);}}function D(_0x58a405){const _0x27b38c=_0x312fe2;let {status$:_0x242114,error$:_0xc3b89f,onConfigure:_0x1bb896,showClickable:_0x74a67a=!0x0}=_0x58a405,_0x33eaad=(0x0,a[_0x27b38c(0x198)])(_0x242114,r[_0x27b38c(0x1f1)][_0x27b38c(0x1a1)]),_0x4fc9a2=(0x0,a[_0x27b38c(0x198)])(_0xc3b89f,r['MCPConnectionError'][_0x27b38c(0x1ba)]),_0x77c197=(0x0,a['useDependency'])(n[_0x27b38c(0x1e6)]),_0x543622=_0x33eaad===r[_0x27b38c(0x1f1)][_0x27b38c(0x16b)];_0x33eaad===r[_0x27b38c(0x1f1)][_0x27b38c(0x1e4)]||r['MCPConnectionStatus'][_0x27b38c(0x174)];let _0x53a839=_0x77c197['t'](w(_0x33eaad,_0x4fc9a2)),_0x2b09d2=T(_0x33eaad,_0x4fc9a2,_0x77c197,_0x74a67a),_0x254239=E(_0x33eaad),_0x15679f=_0x543622?(0x0,l[_0x27b38c(0x208)])(s[_0x27b38c(0x230)],{}):(0x0,l['jsx'])(s[_0x27b38c(0x18b)],{}),_0x121a2b=(0x0,c[_0x27b38c(0x207)])(()=>{_0x74a67a&&_0x1bb896&&_0x1bb896();},[_0x74a67a,_0x1bb896]);function _0x1dc4cf(){const _0x31b0ad=_0x27b38c;return(0x0,l[_0x31b0ad(0x1b0)])(_0x31b0ad(0x1b3),{'className':(0x0,i[_0x31b0ad(0x1df)])(_0x31b0ad(0x1ef),_0x74a67a&&_0x1bb896&&_0x31b0ad(0x23f)),'role':_0x31b0ad(0x1ec),'onClick':_0x74a67a&&_0x1bb896?_0x121a2b:void 0x0,'children':[(0x0,l[_0x31b0ad(0x208)])(_0x31b0ad(0x1b3),{'className':(0x0,i[_0x31b0ad(0x1df)])('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x254239),'children':_0x15679f}),(0x0,l['jsx'])('div',{'className':_0x31b0ad(0x1ac),'children':_0x53a839})]});}return(0x0,l[_0x27b38c(0x208)])(i[_0x27b38c(0x1cd)],{'title':_0x2b09d2,'placement':_0x27b38c(0x249),'children':_0x1dc4cf()});}function _0x3530(){const _0x1a0621=['mcpConfig.configStepTitle','_initAutoConnect','Disposable','show','showConfigPanel','univer-text-sm\x20univer-font-medium','_validateConfig','symbol','Module','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-space-y-4','univer-space-y-5','setItem','60748lpVULD','ISocketService','mcpConfig.validation.invalidConfig','WebSocketService','univer-flex\x20univer-items-start\x20univer-gap-3','useCallback','jsx','isValid','showStatus','mcpConfig.authorizationDescription','constructor','mcpStatus.disconnected','univer-text-xs\x20univer-text-gray-600','_loadStoredApiKey','BuiltInUIPart','mcpConfig.validation.apiKeyTooShort','mcpConfig.validation.apiKeyRequired','_initializeCommands','univer-text-gray-500','includes','trim','open','univer-text-green-500','univer-flex\x20univer-flex-wrap\x20univer-gap-2','BehaviorSubject','MCPConfigPanel','MCP_UI_PLUGIN','push','3008445xgkutP','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','getCurrentConfig','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','string','mcpConfig.validation.invalidApiKey','12FHjVjE','_initializeMenus','apiKey','\x20-\x20','Injector','MCP_PLUGIN_CONFIG_KEY','toPrimitive','https://console.univer.plus','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','errorMessage','connectionError$','Input','OnLineIcon','Inject','MenuIcon','_mcpConnectionController','_uiPartsService','univer.plus','_logService','HEADER_MENU','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','OTHERS','ComponentManager','_configService','univer-flex\x20univer-items-center\x20univer-gap-2','IMenuManagerService','mcpStatus.unknown','univer-cursor-pointer\x20hover:univer-opacity-80','univer-space-y-2','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','value','Bearer\x20','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','98185Qvcgec','OpenMCPConfigPanelCommand','add','mcp-ui.command.openConfigPanel','bottom','CheckMarkIcon','mcpStatus.unauthorized','12LQWMjU','univer-text-gray-400','mcp-ui.config','univer-bg-blue-500','<SESSION_ID>','univer.ai','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','zhCN','noopener\x20noreferrer','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpConfig.sessionIdDescription','getConfig','_config$','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','pre','MessageType','mcpStatus.connected','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','_commandService','mcpConfig.save','mcp.apiKey','NETWORK_ERROR','get','subscribe','mcpConfig.connectionStatus.failed','setConfig','_localStorageService','UniverMCPUIPlugin','IUIPartsService','mcpConfig.connectionStatus.disconnected','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-bg-gray-500','12341aCJTHn','IConfigService','univer-size-2\x20univer-rounded-full','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','_initConfigSync','mcpConfig.configError','BUTTON','object','CONNECTED','UNAUTHORIZED','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','warn','univer-font-medium','Error','_componentManager','univer_session_id:','291725sLNwOi','RETRYING','mcpConfig.apiKey','iterator','packageName','_connectionController','span','enUS','mcpConfig.configStep3','univer-flex\x20univer-gap-3','mcpStatus.retrying','mcpStatus.networkError','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_loading$','@univerjs-pro/mcp-ui','RibbonStartGroup','_mcpCoreConfig$','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','Plugin','mcpConfig.apiApplyInfo.description','_dialogService','MCPConnectionUIController','48rvgBPd','FAILED','OffLineIcon','mcpConfig.connectionInfo','univer-bg-red-500','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-text-xs\x20univer-text-gray-500','_initStatusComponent','mcpConfig.title','http','univer-text-sm\x20univer-text-gray-500','useDependency','https://console.univer.ai','univer-space-y-3','univer-bg-green-500','useObservable','Button','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','merge','mcpStatus.connecting','mcpStatus.clickToConfigure','disposeWithMe','mcpConfig.configSaved','register','DISCONNECTED','900492KwfLhM','mcp-config-dialog','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.configParameters','MCPConnectionController','defineProperty','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','_menuManagerService','showDeveloperTools','Authorization:','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CloseIcon','mcpConfig.configStep2','decorate','jsxs','_createConfigPanelComponent','mcpStatus.clickToConnect','div','ICommandService','useState','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','enableAutoConnect','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','NONE','mcpServerUrl','SESSION_ID_OCCUPIED','1.0.0-alpha.0','length','univer-shrink-0\x20univer-text-red-500','_injector','mcpConfig.connectionError.maxRetriesExceeded','univer-flex\x20univer-items-start\x20univer-gap-2','MAX_RETRIES_EXCEEDED','close','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','167330kxBdAB','forEach','_messageService','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','connectInjector','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpConfig.connectionStatus.connecting','Tooltip','mcpConfig.connectionError.networkError','mcpConfig.saving','MCPConnectionError','mcpConfig.apiApplyInfo.univerAiLabel','_blank','ILocalStorageService','toStringTag','_apiKey$','univer-text-blue-600','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_localeService','univer-min-w-0\x20univer-flex-1','default','getItem','off','mcpConfig.connectionError.sessionOccupied','_registerComponent','clsx','DependentOn','connectionStatus$','mcpConfig.note1','mcpConfig.connectionStatus.connected','CONNECTING','error','LocaleService','function','label','univer-flex\x20univer-items-center\x20univer-gap-3','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','12uQQzmk','button','univer-text-yellow-500','subscribeConfigValue$','univer-flex\x20univer-items-center','_handleConfigure','MCPConnectionStatus','45ZXfRtR','next','_handleConfigSave'];_0x3530=function(){return _0x1a0621;};return _0x3530();}let O=class extends n[_0x312fe2(0x1f7)]{constructor(_0x4058e2,_0x38b306,_0x550bf7,_0x3f1820){const _0x3073cd=_0x312fe2;super(),this['_injector']=_0x4058e2,this[_0x3073cd(0x178)]=_0x38b306,this[_0x3073cd(0x234)]=_0x550bf7,this[_0x3073cd(0x23b)]=_0x3f1820,this[_0x3073cd(0x1f6)](),this['_initStatusComponent']();}['_initAutoConnect'](){const _0x3f9a91=_0x312fe2;let _0x36b190=this[_0x3f9a91(0x23b)][_0x3f9a91(0x14c)](f);_0x36b190!=null&&_0x36b190[_0x3f9a91(0x1aa)]&&(this['_connectionController'][_0x3f9a91(0x1b8)]=!0x1);}[_0x312fe2(0x190)](){const _0x17286b=_0x312fe2;let _0x22728a=this['_configService']['getConfig'](f);(_0x22728a==null?void 0x0:_0x22728a[_0x17286b(0x20a)])!==!0x1&&this['disposeWithMe'](this[_0x17286b(0x234)]['registerComponent'](a[_0x17286b(0x210)][_0x17286b(0x237)],()=>{const _0x2adc39=_0x17286b;var _0x434971;return(0x0,a[_0x2adc39(0x1ca)])(k({'status$':this[_0x2adc39(0x178)]['connectionStatus$'],'error$':this[_0x2adc39(0x178)]['connectionError$'],'onConfigure':()=>this[_0x2adc39(0x1f0)](),'showClickable':(_0x434971=_0x22728a==null?void 0x0:_0x22728a[_0x2adc39(0x1aa)])==null?!0x1:_0x434971}),this[_0x2adc39(0x1c0)]);}));}[_0x312fe2(0x1f0)](){const _0x12212b=_0x312fe2;this[_0x12212b(0x1c0)][_0x12212b(0x158)](S)[_0x12212b(0x1f9)]();}};O=y([v(0x0,(0x0,n[_0x312fe2(0x231)])(n['Injector'])),v(0x1,(0x0,n[_0x312fe2(0x231)])(r[_0x312fe2(0x1a6)])),v(0x2,a[_0x312fe2(0x15e)]),v(0x3,n['IConfigService'])],O);function k(_0xf18723){let {status$:_0x4574f3,error$:_0x2aa0e7,onConfigure:_0x5613aa,showClickable:_0x5cecc3}=_0xf18723;return function(){const _0x180754=_0x3324;return(0x0,l[_0x180754(0x208)])(D,{'status$':_0x4574f3,'error$':_0x2aa0e7,'onConfigure':_0x5613aa,'showClickable':_0x5cecc3});};}function A(_0x59ebb1){const _0x2b6e91=_0x312fe2;return{'id':C['id'],'type':a['MenuItemType'][_0x2b6e91(0x169)],'icon':_0x2b6e91(0x232),'title':'mcpConfig.title','tooltip':_0x2b6e91(0x191)};}const j={[a[_0x312fe2(0x182)][_0x312fe2(0x239)]]:{[C['id']]:{'order':0xa,'menuItemFactory':A}}};let M=class extends n[_0x312fe2(0x1f7)]{constructor(_0x2281d1,_0x5f2fc1){const _0x5d261c=_0x312fe2;super(),this[_0x5d261c(0x154)]=_0x2281d1,this['_menuManagerService']=_0x5f2fc1,this[_0x5d261c(0x213)](),this[_0x5d261c(0x225)]();}[_0x312fe2(0x213)](){const _0x334f33=_0x312fe2;[C][_0x334f33(0x1c7)](_0x4a1d94=>{const _0x15413a=_0x334f33;this[_0x15413a(0x19e)](this['_commandService']['registerCommand'](_0x4a1d94));});}['_initializeMenus'](){const _0x44f4de=_0x312fe2;this[_0x44f4de(0x1a9)]['mergeMenu'](j);}};function _0x3324(_0x54b3f1,_0x12656e){_0x54b3f1=_0x54b3f1-0x148;const _0x35303d=_0x3530();let _0x332431=_0x35303d[_0x54b3f1];return _0x332431;}M=y([v(0x0,n[_0x312fe2(0x1b4)]),v(0x1,a[_0x312fe2(0x23d)])],M);var N=_0x312fe2(0x181),P=_0x312fe2(0x1bd);let F=class extends n[_0x312fe2(0x185)]{constructor(_0x4677c3=p,_0x311a29,_0x31a238,_0x49e531,_0x527a26,_0x5f4cb1){const _0x5f08bd=_0x312fe2;super(),this['_config']=_0x4677c3,this[_0x5f08bd(0x1c0)]=_0x311a29,this['_configService']=_0x31a238,this[_0x5f08bd(0x234)]=_0x49e531,this[_0x5f08bd(0x15c)]=_0x527a26,this[_0x5f08bd(0x1d8)]=_0x5f4cb1;let {..._0x3821e8}=(0x0,n[_0x5f08bd(0x19b)])({},p,this['_config']);this[_0x5f08bd(0x23b)][_0x5f08bd(0x15b)](f,_0x3821e8);}async['onStarting'](){const _0x2831cc=_0x312fe2;let _0x26af94=[[O],[S],[M]];this[_0x2831cc(0x1c0)]['has'](u['ISocketService'])||_0x26af94[_0x2831cc(0x21d)]([u[_0x2831cc(0x203)],{'useClass':u[_0x2831cc(0x205)]}]),_0x26af94[_0x2831cc(0x1c7)](_0x3dddc4=>this['_injector'][_0x2831cc(0x247)](_0x3dddc4)),this['_injector'][_0x2831cc(0x158)](O),this[_0x2831cc(0x1c0)][_0x2831cc(0x158)](S),this[_0x2831cc(0x1c0)][_0x2831cc(0x158)](M);}};_(F,'pluginName',_0x312fe2(0x21c)),_(F,_0x312fe2(0x177),N),_(F,'version',P),F=y([(0x0,n[_0x312fe2(0x1e0)])(r['UniverMCPPlugin']),v(0x1,(0x0,n[_0x312fe2(0x231)])(n[_0x312fe2(0x228)])),v(0x2,n[_0x312fe2(0x163)]),v(0x3,a[_0x312fe2(0x15e)]),v(0x4,n['ILocalStorageService']),v(0x5,(0x0,n[_0x312fe2(0x231)])(n['LocaleService']))],F),exports[_0x312fe2(0x21b)]=d,Object[_0x312fe2(0x1a7)](exports,'MCPConfigUIController',{'enumerable':!0x0,'get':function(){return S;}}),Object[_0x312fe2(0x1a7)](exports,_0x312fe2(0x188),{'enumerable':!0x0,'get':function(){return O;}}),exports['MCPStatusDisplay']=D,Object['defineProperty'](exports,'MCPUIMenuController',{'enumerable':!0x0,'get':function(){return M;}}),exports[_0x312fe2(0x246)]=C,Object[_0x312fe2(0x1a7)](exports,_0x312fe2(0x15d),{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x312fe2(0x17a)]=e,exports[_0x312fe2(0x148)]=t;
@@ -1 +1 @@
1
- const _0x381822=_0xaded;(function(_0x59fb95,_0x5f1598){const _0x39fd27=_0xaded,_0x3b680b=_0x59fb95();while(!![]){try{const _0x330260=-parseInt(_0x39fd27(0xe2))/0x1*(-parseInt(_0x39fd27(0xf9))/0x2)+parseInt(_0x39fd27(0xe1))/0x3*(parseInt(_0x39fd27(0xf8))/0x4)+parseInt(_0x39fd27(0x109))/0x5+parseInt(_0x39fd27(0x108))/0x6*(parseInt(_0x39fd27(0xea))/0x7)+-parseInt(_0x39fd27(0xf3))/0x8+parseInt(_0x39fd27(0xdc))/0x9*(parseInt(_0x39fd27(0x107))/0xa)+-parseInt(_0x39fd27(0xec))/0xb*(parseInt(_0x39fd27(0x100))/0xc);if(_0x330260===_0x5f1598)break;else _0x3b680b['push'](_0x3b680b['shift']());}catch(_0x254113){_0x3b680b['push'](_0x3b680b['shift']());}}}(_0x5091,0x84c10));const e={'mcpStatus':{'disconnected':_0x381822(0xfe),'connecting':_0x381822(0xdd),'connected':'MCP\x20Connected','failed':_0x381822(0xe7),'retrying':'MCP\x20Retrying...','unknown':_0x381822(0xeb),'unauthorized':_0x381822(0xf5),'sessionOccupied':_0x381822(0xed),'networkError':_0x381822(0xf6),'maxRetriesExceeded':_0x381822(0xe9),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x381822(0xff)},'mcpConfig':{'title':_0x381822(0x106),'description':_0x381822(0xe6),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x381822(0xef),'apiKeyHint':_0x381822(0xf2),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x381822(0xe5),'mcpClientConfig':_0x381822(0xe5),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x381822(0xfa),'configStep1':_0x381822(0xf1),'configStep2':_0x381822(0x105),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x381822(0xe4),'configParameters':_0x381822(0xf7),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x381822(0xfb),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x381822(0xf4),'configSaved':_0x381822(0xe0),'configError':_0x381822(0x102),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x381822(0xee)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x381822(0xde),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x381822(0xdf)},'connectionStatus':{'disconnected':_0x381822(0x101),'connecting':_0x381822(0xfd),'connected':_0x381822(0x104),'failed':_0x381822(0xfc),'retrying':_0x381822(0xf0)},'connectionError':{'unauthorized':_0x381822(0xe8),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x381822(0xe3)}}};function _0x5091(){const _0x3b63e8=['Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Configuration','6390XXDzDL','6DKlzFb','4943820KSSQGi','1359pEMwOd','MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20saved\x20successfully','1132314ZEedMJ','1079yKLfQU','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','3579947umfeVb','MCP\x20Unknown\x20Status','11WjQLwA','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','Enter\x20your\x20API\x20key','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8166728ubTPRz','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Unauthorized','MCP:\x20Network\x20Error','Configuration\x20Parameters:','4KCrazl','1058wfdacb','Configuration\x20Steps:','Saving...','Connection\x20Failed','Connecting...','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','11763624TFVxVc','Disconnected','Failed\x20to\x20save\x20configuration','exports','Connected'];_0x5091=function(){return _0x3b63e8;};return _0x5091();}function _0xaded(_0x47fbe6,_0x550cda){_0x47fbe6=_0x47fbe6-0xdc;const _0x509120=_0x5091();let _0xadedec=_0x509120[_0x47fbe6];return _0xadedec;}module[_0x381822(0x103)]=e;
1
+ const _0xe2aae3=_0x18d6;(function(_0x51dca7,_0x5435c9){const _0x599879=_0x18d6,_0x5b0b75=_0x51dca7();while(!![]){try{const _0x195095=parseInt(_0x599879(0x125))/0x1+parseInt(_0x599879(0x127))/0x2*(parseInt(_0x599879(0x11f))/0x3)+-parseInt(_0x599879(0x123))/0x4*(parseInt(_0x599879(0x120))/0x5)+-parseInt(_0x599879(0x122))/0x6+parseInt(_0x599879(0x124))/0x7+-parseInt(_0x599879(0x128))/0x8+parseInt(_0x599879(0x126))/0x9;if(_0x195095===_0x5435c9)break;else _0x5b0b75['push'](_0x5b0b75['shift']());}catch(_0x99554){_0x5b0b75['push'](_0x5b0b75['shift']());}}}(_0x3aaa,0x5d597));function _0x18d6(_0xbd3168,_0xa2c94f){_0xbd3168=_0xbd3168-0x11f;const _0x3aaa9e=_0x3aaa();let _0x18d6fc=_0x3aaa9e[_0xbd3168];return _0x18d6fc;}const e=require('./en-US.js');function _0x3aaa(){const _0x2dfedc=['exports','3092628PnaWIV','10016JUuMOl','2871750OjcicV','439761efjsDW','4324086GcfBWN','21058mQyCHQ','2579248AoRfDc','102vuuSHI','935UyNEgX'];_0x3aaa=function(){return _0x2dfedc;};return _0x3aaa();}module[_0xe2aae3(0x121)]=e;
@@ -1 +1 @@
1
- const _0x409103=_0x580f;(function(_0x51cad4,_0x4df03c){const _0x5b8c9d=_0x580f,_0x520dee=_0x51cad4();while(!![]){try{const _0x5e1463=parseInt(_0x5b8c9d(0x174))/0x1*(-parseInt(_0x5b8c9d(0x158))/0x2)+parseInt(_0x5b8c9d(0x189))/0x3*(-parseInt(_0x5b8c9d(0x164))/0x4)+parseInt(_0x5b8c9d(0x183))/0x5*(parseInt(_0x5b8c9d(0x179))/0x6)+parseInt(_0x5b8c9d(0x17a))/0x7+parseInt(_0x5b8c9d(0x165))/0x8*(-parseInt(_0x5b8c9d(0x182))/0x9)+-parseInt(_0x5b8c9d(0x18c))/0xa+-parseInt(_0x5b8c9d(0x156))/0xb*(-parseInt(_0x5b8c9d(0x175))/0xc);if(_0x5e1463===_0x4df03c)break;else _0x520dee['push'](_0x520dee['shift']());}catch(_0x2dfc81){_0x520dee['push'](_0x520dee['shift']());}}}(_0x18ad,0xd0eca));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x409103(0x15d),'connected':_0x409103(0x177),'failed':_0x409103(0x17c),'retrying':_0x409103(0x17f),'unknown':_0x409103(0x157),'unauthorized':_0x409103(0x176),'sessionOccupied':_0x409103(0x170),'networkError':_0x409103(0x184),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x409103(0x187),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x409103(0x17d),'description':_0x409103(0x16f),'apiKey':_0x409103(0x180),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x409103(0x16c),'enableAuth':_0x409103(0x188),'enableAuthHint':_0x409103(0x181),'connectionInfo':_0x409103(0x173),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x409103(0x186),'configStepTitle':_0x409103(0x15f),'configStep1':_0x409103(0x18b),'configStep2':_0x409103(0x159),'configStep3':_0x409103(0x16d),'sessionId':_0x409103(0x171),'sessionIdDescription':_0x409103(0x166),'authorizationDescription':_0x409103(0x168),'configParameters':_0x409103(0x15a),'maxRetries':'Max\x20Retries','save':_0x409103(0x17e),'saving':_0x409103(0x16b),'note1':_0x409103(0x18a),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x409103(0x172),'configError':_0x409103(0x178),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x409103(0x16a),'getStarted':_0x409103(0x15b)},'validation':{'apiKeyRequired':_0x409103(0x15e),'apiKeyTooShort':_0x409103(0x163),'invalidConfig':_0x409103(0x185),'invalidApiKey':_0x409103(0x15c)},'connectionStatus':{'disconnected':_0x409103(0x16e),'connecting':'Connecting...','connected':_0x409103(0x161),'failed':_0x409103(0x169),'retrying':_0x409103(0x167)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x409103(0x18d),'networkError':_0x409103(0x162),'maxRetriesExceeded':_0x409103(0x17b)}}};module[_0x409103(0x160)]=e;function _0x580f(_0x583ec4,_0x3c1dd1){_0x583ec4=_0x583ec4-0x156;const _0x18ad2e=_0x18ad();let _0x580f3a=_0x18ad2e[_0x583ec4];return _0x580f3a;}function _0x18ad(){const _0x47fa68=['Failed\x20to\x20save\x20configuration','1308QcPgkS','3275363fiiLho','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','MCP\x20Configuration','Save\x20Configuration','MCP\x20Retrying...','API\x20Key','Enable\x20authentication\x20for\x20secure\x20connections','10099215RRzWGT','25460EeUvXk','MCP:\x20Network\x20Error','Invalid\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','Enable\x20Authentication','1996377oshACU','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Copy\x20the\x20JSON\x20configuration\x20below','7547660gCrFSx','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','255541avpIae','MCP\x20Unknown\x20Status','1190AcQVwf','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connecting...','API\x20key\x20is\x20required','Configuration\x20Steps:','exports','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','4DQgmIb','8gKaquj','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','Univer\x20AI\x20Console','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Session\x20ID\x20Occupied','Session\x20ID','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration','2368SvJndD','1668PcIggi','MCP:\x20Unauthorized','MCP\x20Connected'];_0x18ad=function(){return _0x47fa68;};return _0x18ad();}
1
+ const _0x492063=_0x45af;function _0x45af(_0x228b55,_0x7522c3){_0x228b55=_0x228b55-0x167;const _0x46b910=_0x46b9();let _0x45afea=_0x46b910[_0x228b55];return _0x45afea;}function _0x46b9(){const _0x21324d=['MCP\x20Client\x20Configuration','Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Max\x20Retries','Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1128HiBTTN','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Unknown\x20Status','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Univer\x20AI\x20Console','MCP\x20Connection\x20Failed','3593728bpxaRV','What\x20is\x20API\x20Key?','MCP\x20Configuration','18880afUWVg','8992hjvxPd','Session\x20ID','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20is\x20required','2153053YLZpmx','33065289JZwVIe','142858ocQcIK','Saving...','5547588CqCqUv','Failed\x20to\x20save\x20configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20saved\x20successfully','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','Click\x20to\x20configure\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.','Connected','Invalid\x20configuration','1120UQSvrY','MCP\x20Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','Copy\x20the\x20JSON\x20configuration\x20below'];_0x46b9=function(){return _0x21324d;};return _0x46b9();}(function(_0xf0c285,_0x2a9383){const _0x158bfb=_0x45af,_0x17e36b=_0xf0c285();while(!![]){try{const _0x11483e=parseInt(_0x158bfb(0x184))/0x1+parseInt(_0x158bfb(0x17d))/0x2*(-parseInt(_0x158bfb(0x171))/0x3)+-parseInt(_0x158bfb(0x17c))/0x4*(parseInt(_0x158bfb(0x193))/0x5)+-parseInt(_0x158bfb(0x186))/0x6+parseInt(_0x158bfb(0x182))/0x7+parseInt(_0x158bfb(0x179))/0x8+parseInt(_0x158bfb(0x183))/0x9;if(_0x11483e===_0x2a9383)break;else _0x17e36b['push'](_0x17e36b['shift']());}catch(_0x1078b7){_0x17e36b['push'](_0x17e36b['shift']());}}}(_0x46b9,0xdc050));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x492063(0x17f),'connected':'MCP\x20Connected','failed':_0x492063(0x178),'retrying':_0x492063(0x167),'unknown':_0x492063(0x174),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x492063(0x18f)},'mcpConfig':{'title':_0x492063(0x17b),'description':_0x492063(0x170),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x492063(0x18e),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x492063(0x18d),'connectionInfo':_0x492063(0x16a),'mcpClientConfig':_0x492063(0x16a),'configInstructions':_0x492063(0x18a),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x492063(0x169),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x492063(0x16c),'sessionId':_0x492063(0x17e),'sessionIdDescription':_0x492063(0x188),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x492063(0x16d),'save':_0x492063(0x18b),'saving':_0x492063(0x185),'note1':_0x492063(0x18c),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x492063(0x189),'configError':_0x492063(0x187),'apiApplyInfo':{'title':_0x492063(0x17a),'description':_0x492063(0x190),'univerAiLabel':_0x492063(0x177),'getStarted':_0x492063(0x168)},'validation':{'apiKeyRequired':_0x492063(0x181),'apiKeyTooShort':_0x492063(0x173),'invalidConfig':_0x492063(0x192),'invalidApiKey':_0x492063(0x180)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x492063(0x16e),'connected':_0x492063(0x191),'failed':_0x492063(0x16b),'retrying':_0x492063(0x175)},'connectionError':{'unauthorized':_0x492063(0x16f),'sessionOccupied':_0x492063(0x176),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x492063(0x172)]=e;
@@ -1 +1 @@
1
- function _0x28d3(){const _0x1b857f=['Configuration\x20Steps:','Invalid\x20configuration','16274646sckbwr','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','6552310uLQZor','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','9413896EBoTNS','Configuration\x20Parameters:','MCP:\x20Unauthorized','897978gOMdHG','Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4799lwZfEk','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','1099590UfBICh','API\x20key\x20with\x20Bearer\x20prefix.','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','20SEQKxl','Save\x20Configuration','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','Enter\x20your\x20API\x20key','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','MCP\x20Disconnected','Enable\x20Authentication','MCP\x20Connecting...','API\x20key\x20is\x20required','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Max\x20Retries','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','14IwHaKA','MCP\x20Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','206LpiTqn','983084lhfYAl','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed'];_0x28d3=function(){return _0x1b857f;};return _0x28d3();}function _0x2ae4(_0x1da794,_0x1d036c){_0x1da794=_0x1da794-0x1ec;const _0x28d373=_0x28d3();let _0x2ae42d=_0x28d373[_0x1da794];return _0x2ae42d;}const _0x4a8a9e=_0x2ae4;(function(_0xc5cfca,_0x34922b){const _0x4ebfe8=_0x2ae4,_0x56340b=_0xc5cfca();while(!![]){try{const _0x16ba12=-parseInt(_0x4ebfe8(0x206))/0x1*(parseInt(_0x4ebfe8(0x1f4))/0x2)+-parseInt(_0x4ebfe8(0x208))/0x3+parseInt(_0x4ebfe8(0x1f5))/0x4+-parseInt(_0x4ebfe8(0x1fe))/0x5+-parseInt(_0x4ebfe8(0x203))/0x6*(-parseInt(_0x4ebfe8(0x21c))/0x7)+-parseInt(_0x4ebfe8(0x200))/0x8+parseInt(_0x4ebfe8(0x1fb))/0x9*(parseInt(_0x4ebfe8(0x20d))/0xa);if(_0x16ba12===_0x34922b)break;else _0x56340b['push'](_0x56340b['shift']());}catch(_0x1b9471){_0x56340b['push'](_0x56340b['shift']());}}}(_0x28d3,0xc6a5b));const e={'mcpStatus':{'disconnected':_0x4a8a9e(0x215),'connecting':_0x4a8a9e(0x217),'connected':_0x4a8a9e(0x21d),'failed':_0x4a8a9e(0x1f8),'retrying':_0x4a8a9e(0x20c),'unknown':_0x4a8a9e(0x20f),'unauthorized':_0x4a8a9e(0x202),'sessionOccupied':_0x4a8a9e(0x1ee),'networkError':_0x4a8a9e(0x1f7),'maxRetriesExceeded':_0x4a8a9e(0x213),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4a8a9e(0x1ef),'description':_0x4a8a9e(0x205),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4a8a9e(0x211),'apiKeyHint':_0x4a8a9e(0x1fd),'enableAuth':_0x4a8a9e(0x216),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4a8a9e(0x214),'mcpClientConfig':_0x4a8a9e(0x214),'configInstructions':_0x4a8a9e(0x207),'configStepTitle':_0x4a8a9e(0x1f9),'configStep1':_0x4a8a9e(0x1f6),'configStep2':_0x4a8a9e(0x1ff),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4a8a9e(0x1f3),'sessionIdDescription':_0x4a8a9e(0x1f0),'authorizationDescription':_0x4a8a9e(0x209),'configParameters':_0x4a8a9e(0x201),'maxRetries':_0x4a8a9e(0x21a),'save':_0x4a8a9e(0x20e),'saving':_0x4a8a9e(0x212),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4a8a9e(0x210),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4a8a9e(0x21b),'univerAiLabel':_0x4a8a9e(0x1ed),'getStarted':_0x4a8a9e(0x1ec)},'validation':{'apiKeyRequired':_0x4a8a9e(0x218),'apiKeyTooShort':_0x4a8a9e(0x219),'invalidConfig':_0x4a8a9e(0x1fa),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4a8a9e(0x20a),'connecting':_0x4a8a9e(0x1f1),'connected':_0x4a8a9e(0x1fc),'failed':'Connection\x20Failed','retrying':_0x4a8a9e(0x204)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4a8a9e(0x20b),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4a8a9e(0x1f2)}}};module['exports']=e;
1
+ const _0x65b8ed=_0x457b;(function(_0x500154,_0x80bf37){const _0x52d3ec=_0x457b,_0x12c1c9=_0x500154();while(!![]){try{const _0x29978c=parseInt(_0x52d3ec(0x129))/0x1*(-parseInt(_0x52d3ec(0x132))/0x2)+-parseInt(_0x52d3ec(0x134))/0x3+-parseInt(_0x52d3ec(0x12f))/0x4*(parseInt(_0x52d3ec(0x130))/0x5)+parseInt(_0x52d3ec(0x12e))/0x6*(-parseInt(_0x52d3ec(0x133))/0x7)+parseInt(_0x52d3ec(0x12c))/0x8*(parseInt(_0x52d3ec(0x135))/0x9)+parseInt(_0x52d3ec(0x12d))/0xa*(-parseInt(_0x52d3ec(0x131))/0xb)+parseInt(_0x52d3ec(0x12b))/0xc;if(_0x29978c===_0x80bf37)break;else _0x12c1c9['push'](_0x12c1c9['shift']());}catch(_0x1925ce){_0x12c1c9['push'](_0x12c1c9['shift']());}}}(_0x23b4,0x57c25));const e=require('./en-US.js');function _0x457b(_0x11c7ff,_0x1e2059){_0x11c7ff=_0x11c7ff-0x129;const _0x23b475=_0x23b4();let _0x457bab=_0x23b475[_0x11c7ff];return _0x457bab;}function _0x23b4(){const _0x28cee2=['7ENbXVs','1871871FxtAhh','9jZGwtH','76894DWiETj','exports','34212276aWzulU','2332048zkMHTK','5450ercpAw','3287094QiAyRu','4TXAjWD','3354950tPfbwQ','14322YyyBst','6ChYHim'];_0x23b4=function(){return _0x28cee2;};return _0x23b4();}module[_0x65b8ed(0x12a)]=e;
@@ -1 +1 @@
1
- function _0x5d5c(_0x442073,_0x2d78a6){_0x442073=_0x442073-0x120;const _0x23f88e=_0x23f8();let _0x5d5c3e=_0x23f88e[_0x442073];return _0x5d5c3e;}const _0x557f8d=_0x5d5c;(function(_0x23f6c1,_0x3b9327){const _0xafde10=_0x5d5c,_0x1463e0=_0x23f6c1();while(!![]){try{const _0x157c30=parseInt(_0xafde10(0x130))/0x1*(-parseInt(_0xafde10(0x139))/0x2)+parseInt(_0xafde10(0x124))/0x3*(parseInt(_0xafde10(0x136))/0x4)+-parseInt(_0xafde10(0x122))/0x5+-parseInt(_0xafde10(0x150))/0x6*(-parseInt(_0xafde10(0x14e))/0x7)+parseInt(_0xafde10(0x142))/0x8*(-parseInt(_0xafde10(0x132))/0x9)+-parseInt(_0xafde10(0x145))/0xa*(-parseInt(_0xafde10(0x126))/0xb)+parseInt(_0xafde10(0x13d))/0xc;if(_0x157c30===_0x3b9327)break;else _0x1463e0['push'](_0x1463e0['shift']());}catch(_0x307b1f){_0x1463e0['push'](_0x1463e0['shift']());}}}(_0x23f8,0x7360e));const e={'mcpStatus':{'disconnected':_0x557f8d(0x12c),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x557f8d(0x14f),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x557f8d(0x13e),'networkError':_0x557f8d(0x138),'maxRetriesExceeded':_0x557f8d(0x133),'clickToConnect':_0x557f8d(0x151),'clickToConfigure':_0x557f8d(0x129)},'mcpConfig':{'title':_0x557f8d(0x128),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x557f8d(0x125),'apiKeyHint':_0x557f8d(0x121),'enableAuth':_0x557f8d(0x12d),'enableAuthHint':_0x557f8d(0x13a),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x557f8d(0x12f),'configInstructions':_0x557f8d(0x141),'configStepTitle':_0x557f8d(0x120),'configStep1':_0x557f8d(0x12b),'configStep2':_0x557f8d(0x14a),'configStep3':_0x557f8d(0x149),'sessionId':_0x557f8d(0x13b),'sessionIdDescription':_0x557f8d(0x134),'authorizationDescription':_0x557f8d(0x147),'configParameters':_0x557f8d(0x153),'maxRetries':_0x557f8d(0x14c),'save':_0x557f8d(0x152),'saving':'Saving...','note1':_0x557f8d(0x12a),'note2':_0x557f8d(0x131),'configSaved':_0x557f8d(0x13f),'configError':_0x557f8d(0x146),'apiApplyInfo':{'title':_0x557f8d(0x123),'description':_0x557f8d(0x144),'univerAiLabel':_0x557f8d(0x12e),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x557f8d(0x14b),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x557f8d(0x127),'invalidApiKey':_0x557f8d(0x137)},'connectionStatus':{'disconnected':_0x557f8d(0x155),'connecting':'Connecting...','connected':_0x557f8d(0x14d),'failed':_0x557f8d(0x140),'retrying':_0x557f8d(0x135)},'connectionError':{'unauthorized':_0x557f8d(0x148),'sessionOccupied':_0x557f8d(0x143),'networkError':_0x557f8d(0x13c),'maxRetriesExceeded':_0x557f8d(0x154)}}};module['exports']=e;function _0x23f8(){const _0x2194f6=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20is\x20required','Max\x20Retries','Connected','8813gPKQCg','MCP\x20Unknown\x20Status','954WNGVYK','Click\x20to\x20connect\x20MCP','Save\x20Configuration','Configuration\x20Parameters:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Disconnected','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','533160ISHgkq','What\x20is\x20API\x20Key?','16149nOYAGU','Enter\x20your\x20API\x20key','1133wzstnk','Invalid\x20configuration','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Disconnected','Enable\x20Authentication','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','413053hYbsFa','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1831941uQfOcw','MCP:\x20Max\x20Retries\x20Exceeded','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','28xOhZKg','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Network\x20Error','2KFanPG','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','8886348PllNPb','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','8hoRUOK','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','21110pQMfgv','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.'];_0x23f8=function(){return _0x2194f6;};return _0x23f8();}
1
+ const _0x360aea=_0xe8c4;function _0xe8c4(_0x7f076e,_0x4779c1){_0x7f076e=_0x7f076e-0x110;const _0x3b2c27=_0x3b2c();let _0xe8c4a=_0x3b2c27[_0x7f076e];return _0xe8c4a;}(function(_0x5936f7,_0x1ca0a1){const _0x182268=_0xe8c4,_0x9dd6af=_0x5936f7();while(!![]){try{const _0x2f9948=parseInt(_0x182268(0x111))/0x1+-parseInt(_0x182268(0x119))/0x2+-parseInt(_0x182268(0x118))/0x3+-parseInt(_0x182268(0x114))/0x4*(-parseInt(_0x182268(0x110))/0x5)+-parseInt(_0x182268(0x116))/0x6*(-parseInt(_0x182268(0x117))/0x7)+-parseInt(_0x182268(0x113))/0x8+parseInt(_0x182268(0x112))/0x9;if(_0x2f9948===_0x1ca0a1)break;else _0x9dd6af['push'](_0x9dd6af['shift']());}catch(_0x34c8fa){_0x9dd6af['push'](_0x9dd6af['shift']());}}}(_0x3b2c,0x53259));const e=require('./en-US.js');function _0x3b2c(){const _0xf17c9e=['52yfbcGx','exports','6lXyWYA','825062FKzVVZ','113232hpgfEy','1339502AjqtdP','197610XuGyxK','112304NSORwP','8408925bbjmgU','5041736uVqsqZ'];_0x3b2c=function(){return _0xf17c9e;};return _0x3b2c();}module[_0x360aea(0x115)]=e;
@@ -1 +1 @@
1
- function _0x1d58(_0x50917c,_0x30f2f0){_0x50917c=_0x50917c-0x1af;const _0x584dab=_0x584d();let _0x1d58d4=_0x584dab[_0x50917c];return _0x1d58d4;}const _0x2d8eca=_0x1d58;function _0x584d(){const _0x56624e=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','27818pTghJp','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','29662xoYmNE','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Disconnected','MCP\x20Retrying...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Unauthorized','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','exports','6cwJwXG','3905388ZAxnco','Configuration\x20saved\x20successfully','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enter\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','303vcduHi','What\x20is\x20API\x20Key?','2618450gPHquW','7279063CXsUEe','Saving...','2080000smrPgC','Connection\x20Failed','Configuration\x20Parameters:','API\x20Key','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connecting...','API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','MCP\x20Connecting...','59kMCUNR','5272BcsoHx','232PqoMmw','MCP\x20Client\x20Configuration','MCP\x20Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x584d=function(){return _0x56624e;};return _0x584d();}(function(_0x2930f4,_0x465153){const _0x22415b=_0x1d58,_0x5b1c44=_0x2930f4();while(!![]){try{const _0xbbd76c=parseInt(_0x22415b(0x1b3))/0x1*(parseInt(_0x22415b(0x1bc))/0x2)+parseInt(_0x22415b(0x1ce))/0x3*(-parseInt(_0x22415b(0x1b4))/0x4)+-parseInt(_0x22415b(0x1d3))/0x5*(-parseInt(_0x22415b(0x1c6))/0x6)+parseInt(_0x22415b(0x1ba))/0x7*(-parseInt(_0x22415b(0x1b5))/0x8)+parseInt(_0x22415b(0x1c7))/0x9+-parseInt(_0x22415b(0x1d0))/0xa+-parseInt(_0x22415b(0x1d1))/0xb;if(_0xbbd76c===_0x465153)break;else _0x5b1c44['push'](_0x5b1c44['shift']());}catch(_0x57fa48){_0x5b1c44['push'](_0x5b1c44['shift']());}}}(_0x584d,0x8703b));const e={'mcpStatus':{'disconnected':_0x2d8eca(0x1bf),'connecting':_0x2d8eca(0x1b2),'connected':_0x2d8eca(0x1b7),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2d8eca(0x1c0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2d8eca(0x1c2),'sessionOccupied':_0x2d8eca(0x1c4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2d8eca(0x1da),'clickToConnect':_0x2d8eca(0x1d7),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2d8eca(0x1c3),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2d8eca(0x1d6),'apiKeyPlaceholder':_0x2d8eca(0x1ca),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2d8eca(0x1db),'connectionInfo':_0x2d8eca(0x1b6),'mcpClientConfig':_0x2d8eca(0x1b6),'configInstructions':_0x2d8eca(0x1bd),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2d8eca(0x1c9),'configStep3':_0x2d8eca(0x1c1),'sessionId':_0x2d8eca(0x1d9),'sessionIdDescription':_0x2d8eca(0x1dc),'authorizationDescription':_0x2d8eca(0x1b0),'configParameters':_0x2d8eca(0x1d5),'maxRetries':_0x2d8eca(0x1b1),'save':'Save\x20Configuration','saving':_0x2d8eca(0x1d2),'note1':_0x2d8eca(0x1b8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2d8eca(0x1c8),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2d8eca(0x1cf),'description':_0x2d8eca(0x1bb),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2d8eca(0x1af),'apiKeyTooShort':_0x2d8eca(0x1be),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2d8eca(0x1d8)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2d8eca(0x1dd),'connected':'Connected','failed':_0x2d8eca(0x1d4),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2d8eca(0x1b9),'sessionOccupied':_0x2d8eca(0x1cc),'networkError':_0x2d8eca(0x1cd),'maxRetriesExceeded':_0x2d8eca(0x1cb)}}};module[_0x2d8eca(0x1c5)]=e;
1
+ (function(_0x457123,_0x2008be){const _0x1da300=_0x30f5,_0x49e802=_0x457123();while(!![]){try{const _0x30ea1e=-parseInt(_0x1da300(0x1e9))/0x1*(parseInt(_0x1da300(0x1eb))/0x2)+-parseInt(_0x1da300(0x1e4))/0x3+parseInt(_0x1da300(0x1e5))/0x4*(parseInt(_0x1da300(0x1ea))/0x5)+parseInt(_0x1da300(0x1e7))/0x6*(-parseInt(_0x1da300(0x1e1))/0x7)+-parseInt(_0x1da300(0x1e8))/0x8+-parseInt(_0x1da300(0x1e2))/0x9+parseInt(_0x1da300(0x1e6))/0xa*(parseInt(_0x1da300(0x1e3))/0xb);if(_0x30ea1e===_0x2008be)break;else _0x49e802['push'](_0x49e802['shift']());}catch(_0x435b57){_0x49e802['push'](_0x49e802['shift']());}}}(_0x3bd6,0x46a0b));function _0x30f5(_0x5bef2a,_0x361418){_0x5bef2a=_0x5bef2a-0x1e1;const _0x3bd6ed=_0x3bd6();let _0x30f54e=_0x3bd6ed[_0x5bef2a];return _0x30f54e;}const e=require('./en-US.js');function _0x3bd6(){const _0x2835f9=['4mkiAKA','13735690MacTdH','36390MwgHPi','1371664ONPZkb','26533DLTijh','1321310hhTidw','30aYajQJ','70GJovJl','4384548SjLHmg','11GgWhNh','693795sqyQxF'];_0x3bd6=function(){return _0x2835f9;};return _0x3bd6();}module['exports']=e;
@@ -1 +1 @@
1
- const _0x3f1759=_0x2d66;function _0x2fc9(){const _0xfc3bcf=['APIキーはローカルストレージに安全に保存されます','未接続','保存中...','MCP:\x20最大再試行回数を超過','APIキーは必須です','MCP\x20再試行中...','3915HMGsjQ','MCP\x20不明な状態','1918038LexvHB','最大再試行回数','設定パラメータ:','認証を有効にする','894238qsojrB','セッションIDが現在使用中です。後でもう一度お試しください','APIキーとは?','MCP\x20接続中...','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','無効な設定','exports','2574856WIcEda','154209BHdQzH','24832bTEGay','APIキーは10文字以上である必要があります','MCP設定','750198yUHVQH','数秒でAPIキーを取得','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','設定が正常に保存されました','MCPクライアントを再起動して設定を適用','APIキーはこのブラウザのローカルに保存されます','MCPクライアント設定','設定の保存に失敗しました','MCP\x20未接続','クリックしてMCPを設定','1539650VLeaUt','MCPクライアントの設定に次の設定を追加してください:','Bearerプレフィックス付きのAPIキー。','再試行中...','接続中...','MCP:\x20認証されていません','5THDUdH','設定を保存','APIキー'];_0x2fc9=function(){return _0xfc3bcf;};return _0x2fc9();}(function(_0x156253,_0x526b3f){const _0xe790de=_0x2d66,_0x4784b6=_0x156253();while(!![]){try{const _0x289d62=-parseInt(_0xe790de(0x12b))/0x1+-parseInt(_0xe790de(0x127))/0x2+parseInt(_0xe790de(0x133))/0x3+parseInt(_0xe790de(0x132))/0x4+parseInt(_0xe790de(0x11c))/0x5*(parseInt(_0xe790de(0x137))/0x6)+parseInt(_0xe790de(0x141))/0x7+-parseInt(_0xe790de(0x134))/0x8*(-parseInt(_0xe790de(0x125))/0x9);if(_0x289d62===_0x526b3f)break;else _0x4784b6['push'](_0x4784b6['shift']());}catch(_0x90f30e){_0x4784b6['push'](_0x4784b6['shift']());}}}(_0x2fc9,0x831fb));function _0x2d66(_0x3e9fc3,_0x46e4e4){_0x3e9fc3=_0x3e9fc3-0x11a;const _0x2fc9cc=_0x2fc9();let _0x2d660c=_0x2fc9cc[_0x3e9fc3];return _0x2d660c;}const e={'mcpStatus':{'disconnected':_0x3f1759(0x13f),'connecting':_0x3f1759(0x12e),'connected':'MCP\x20接続済み','failed':'MCP\x20接続失敗','retrying':_0x3f1759(0x124),'unknown':_0x3f1759(0x126),'unauthorized':_0x3f1759(0x11b),'sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x3f1759(0x122),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':_0x3f1759(0x140)},'mcpConfig':{'title':_0x3f1759(0x136),'description':'MCPを設定してAIでスプレッドシートを操作','apiKey':_0x3f1759(0x11e),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x3f1759(0x13c),'enableAuth':_0x3f1759(0x12a),'enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':_0x3f1759(0x13d),'mcpClientConfig':_0x3f1759(0x13d),'configInstructions':_0x3f1759(0x142),'configStepTitle':'設定手順:','configStep1':'以下のJSON設定をコピー','configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x3f1759(0x13b),'sessionId':'セッションID','sessionIdDescription':_0x3f1759(0x139),'authorizationDescription':_0x3f1759(0x143),'configParameters':_0x3f1759(0x129),'maxRetries':_0x3f1759(0x128),'save':_0x3f1759(0x11d),'saving':_0x3f1759(0x121),'note1':'設定の変更は直ちに有効になります','note2':_0x3f1759(0x11f),'configSaved':_0x3f1759(0x13a),'configError':_0x3f1759(0x13e),'apiApplyInfo':{'title':_0x3f1759(0x12d),'description':_0x3f1759(0x12f),'univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x3f1759(0x138)},'validation':{'apiKeyRequired':_0x3f1759(0x123),'apiKeyTooShort':_0x3f1759(0x135),'invalidConfig':_0x3f1759(0x130),'invalidApiKey':'無効なAPIキーです。キーが正しいか確認してください'},'connectionStatus':{'disconnected':_0x3f1759(0x120),'connecting':_0x3f1759(0x11a),'connected':'接続済み','failed':'接続失敗','retrying':_0x3f1759(0x144)},'connectionError':{'unauthorized':'認証に失敗しました。APIキーを確認してください','sessionOccupied':_0x3f1759(0x12c),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module[_0x3f1759(0x131)]=e;
1
+ function _0x360e(_0x4c7a39,_0x470fc6){_0x4c7a39=_0x4c7a39-0x183;const _0x131fd5=_0x131f();let _0x360e88=_0x131fd5[_0x4c7a39];return _0x360e88;}const _0x1b27f5=_0x360e;function _0x131f(){const _0x8bbe5b=['数秒でAPIキーを取得','12KuFdKQ','APIキーは10文字以上である必要があります','設定の保存に失敗しました','セッションID','MCP:\x20最大再試行回数を超過','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','APIキーはローカルストレージに安全に保存されます','MCPクライアントの設定ファイルに設定を追加','設定手順:','MCPクライアント設定','236DEicSJ','認証に失敗しました。APIキーを確認してください','ネットワーク接続エラー。インターネット接続を確認してください','MCP\x20不明な状態','exports','136dHTdij','クリックしてMCPに接続','無効なAPIキーです。キーが正しいか確認してください','3751992FZClPX','設定パラメータ:','MCP\x20未接続','MCP\x20接続中...','セッションIDが現在使用中です。後でもう一度お試しください','接続済み','Univer\x20AIコンソール','無効な設定','認証を有効にする','MCP:\x20セッションIDが使用中','設定の変更は直ちに有効になります','APIキーは必須です','接続失敗','接続中...','121443PvPBMm','MCP:\x20ネットワークエラー','338110yHxbSd','クリックしてMCPを設定','MCP\x20接続済み','2244410SYQbcq','161566DuknXO','MCP\x20接続失敗','MCP:\x20認証されていません','保存中...','5331VtVUlH','Bearerプレフィックス付きのAPIキー。','MCP\x20再試行中...','411886rmGDqO'];_0x131f=function(){return _0x8bbe5b;};return _0x131f();}(function(_0x4cf2a4,_0x54c7f9){const _0x3bf0c3=_0x360e,_0x901151=_0x4cf2a4();while(!![]){try{const _0x81841e=parseInt(_0x3bf0c3(0x1a5))/0x1+-parseInt(_0x3bf0c3(0x1ac))/0x2+parseInt(_0x3bf0c3(0x1a9))/0x3*(parseInt(_0x3bf0c3(0x189))/0x4)+parseInt(_0x3bf0c3(0x1a1))/0x5*(-parseInt(_0x3bf0c3(0x1ae))/0x6)+parseInt(_0x3bf0c3(0x19f))/0x7*(-parseInt(_0x3bf0c3(0x18e))/0x8)+parseInt(_0x3bf0c3(0x191))/0x9+parseInt(_0x3bf0c3(0x1a4))/0xa;if(_0x81841e===_0x54c7f9)break;else _0x901151['push'](_0x901151['shift']());}catch(_0x5c8736){_0x901151['push'](_0x901151['shift']());}}}(_0x131f,0x42502));const e={'mcpStatus':{'disconnected':_0x1b27f5(0x193),'connecting':_0x1b27f5(0x194),'connected':_0x1b27f5(0x1a3),'failed':_0x1b27f5(0x1a6),'retrying':_0x1b27f5(0x1ab),'unknown':_0x1b27f5(0x18c),'unauthorized':_0x1b27f5(0x1a7),'sessionOccupied':_0x1b27f5(0x19a),'networkError':_0x1b27f5(0x1a0),'maxRetriesExceeded':_0x1b27f5(0x183),'clickToConnect':_0x1b27f5(0x18f),'clickToConfigure':_0x1b27f5(0x1a2)},'mcpConfig':{'title':'MCP設定','description':'MCPを設定してAIでスプレッドシートを操作','apiKey':'APIキー','apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':_0x1b27f5(0x199),'enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':'MCPクライアント設定','mcpClientConfig':_0x1b27f5(0x188),'configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x1b27f5(0x187),'configStep1':'以下のJSON設定をコピー','configStep2':_0x1b27f5(0x186),'configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x1b27f5(0x1b1),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x1b27f5(0x1aa),'configParameters':_0x1b27f5(0x192),'maxRetries':'最大再試行回数','save':'設定を保存','saving':_0x1b27f5(0x1a8),'note1':_0x1b27f5(0x19b),'note2':_0x1b27f5(0x185),'configSaved':'設定が正常に保存されました','configError':_0x1b27f5(0x1b0),'apiApplyInfo':{'title':'APIキーとは?','description':_0x1b27f5(0x184),'univerAiLabel':_0x1b27f5(0x197),'getStarted':_0x1b27f5(0x1ad)},'validation':{'apiKeyRequired':_0x1b27f5(0x19c),'apiKeyTooShort':_0x1b27f5(0x1af),'invalidConfig':_0x1b27f5(0x198),'invalidApiKey':_0x1b27f5(0x190)},'connectionStatus':{'disconnected':'未接続','connecting':_0x1b27f5(0x19e),'connected':_0x1b27f5(0x196),'failed':_0x1b27f5(0x19d),'retrying':'再試行中...'},'connectionError':{'unauthorized':_0x1b27f5(0x18a),'sessionOccupied':_0x1b27f5(0x195),'networkError':_0x1b27f5(0x18b),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module[_0x1b27f5(0x18d)]=e;
@@ -1 +1 @@
1
- const _0x2e983f=_0x76c1;(function(_0x4479b6,_0x29afba){const _0xf06d53=_0x76c1,_0x5db180=_0x4479b6();while(!![]){try{const _0x153958=-parseInt(_0xf06d53(0x1d0))/0x1*(-parseInt(_0xf06d53(0x1cb))/0x2)+parseInt(_0xf06d53(0x1eb))/0x3*(parseInt(_0xf06d53(0x1bb))/0x4)+-parseInt(_0xf06d53(0x1ea))/0x5+-parseInt(_0xf06d53(0x1df))/0x6*(-parseInt(_0xf06d53(0x1bf))/0x7)+parseInt(_0xf06d53(0x1db))/0x8*(parseInt(_0xf06d53(0x1c7))/0x9)+parseInt(_0xf06d53(0x1ca))/0xa+-parseInt(_0xf06d53(0x1c1))/0xb;if(_0x153958===_0x29afba)break;else _0x5db180['push'](_0x5db180['shift']());}catch(_0x4e8363){_0x5db180['push'](_0x5db180['shift']());}}}(_0x22ac,0x7c51c));function _0x76c1(_0x175c13,_0x25dec5){_0x175c13=_0x175c13-0x1b7;const _0x22ac6d=_0x22ac();let _0x76c1de=_0x22ac6d[_0x175c13];return _0x76c1de;}const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x2e983f(0x1c4),'connected':_0x2e983f(0x1cd),'failed':_0x2e983f(0x1c6),'retrying':_0x2e983f(0x1c3),'unknown':_0x2e983f(0x1e5),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x2e983f(0x1d3),'networkError':_0x2e983f(0x1b8),'maxRetriesExceeded':_0x2e983f(0x1e9),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':_0x2e983f(0x1dc)},'mcpConfig':{'title':_0x2e983f(0x1cf),'description':_0x2e983f(0x1cc),'apiKey':_0x2e983f(0x1e6),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x2e983f(0x1d4),'enableAuth':_0x2e983f(0x1da),'enableAuthHint':_0x2e983f(0x1e8),'connectionInfo':_0x2e983f(0x1b7),'mcpClientConfig':_0x2e983f(0x1b7),'configInstructions':_0x2e983f(0x1d6),'configStepTitle':_0x2e983f(0x1d1),'configStep1':_0x2e983f(0x1d7),'configStep2':_0x2e983f(0x1ec),'configStep3':_0x2e983f(0x1e3),'sessionId':_0x2e983f(0x1ce),'sessionIdDescription':_0x2e983f(0x1ed),'authorizationDescription':_0x2e983f(0x1bd),'configParameters':'설정\x20매개변수:','maxRetries':_0x2e983f(0x1d8),'save':_0x2e983f(0x1b9),'saving':_0x2e983f(0x1e7),'note1':_0x2e983f(0x1de),'note2':_0x2e983f(0x1d9),'configSaved':_0x2e983f(0x1d5),'configError':_0x2e983f(0x1be),'apiApplyInfo':{'title':_0x2e983f(0x1e1),'description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':_0x2e983f(0x1e2),'getStarted':_0x2e983f(0x1c0)},'validation':{'apiKeyRequired':_0x2e983f(0x1dd),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0x2e983f(0x1bc),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0x2e983f(0x1d2),'connecting':'연결\x20중...','connected':_0x2e983f(0x1e4),'failed':_0x2e983f(0x1c8),'retrying':_0x2e983f(0x1c5)},'connectionError':{'unauthorized':_0x2e983f(0x1c2),'sessionOccupied':_0x2e983f(0x1c9),'networkError':_0x2e983f(0x1e0),'maxRetriesExceeded':_0x2e983f(0x1ee)}}};function _0x22ac(){const _0x411169=['설정이\x20성공적으로\x20저장되었습니다','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','아래\x20JSON\x20설정\x20복사','최대\x20재시도\x20횟수','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','인증\x20활성화','48984NNVxPP','클릭하여\x20MCP\x20설정','API\x20키는\x20필수입니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','496302CEenBW','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','API\x20키란\x20무엇인가요?','Univer\x20AI\x20콘솔','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','연결됨','MCP\x20알\x20수\x20없는\x20상태','API\x20','저장\x20중...','보안\x20연결을\x20위해\x20인증\x20활성화','MCP:\x20최대\x20재시도\x20횟수\x20초과','5056410mhUBhG','27EKMGUd','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','MCP\x20클라이언트\x20설정','MCP:\x20네트워크\x20오류','설정\x20저장','exports','293156syHJtV','유효하지\x20않은\x20설정','Bearer\x20접두사가\x20있는\x20API\x20키.','설정\x20저장\x20실패','35HQrdFj','몇\x20초\x20만에\x20API\x20키\x20발급받기','19007967vOoxSI','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP\x20재시도\x20중...','MCP\x20연결\x20중...','재시도\x20중...','MCP\x20연결\x20실패','1017Fjqmhc','연결\x20실패','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','9308980Hcubqo','1105016rqWcVg','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','MCP\x20연결됨','세션\x20ID','MCP\x20설정','1TmWraU','설정\x20단계:','연결\x20끊김','MCP:\x20세션\x20ID\x20사용\x20','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다'];_0x22ac=function(){return _0x411169;};return _0x22ac();}module[_0x2e983f(0x1ba)]=e;
1
+ const _0x154e20=_0x51cc;function _0x51cc(_0x48fc07,_0x5256dd){_0x48fc07=_0x48fc07-0x88;const _0x5e6331=_0x5e63();let _0x51cc04=_0x5e6331[_0x48fc07];return _0x51cc04;}(function(_0x154e25,_0x2ef842){const _0x2cffbe=_0x51cc,_0x2d3b17=_0x154e25();while(!![]){try{const _0x4d9924=-parseInt(_0x2cffbe(0xa1))/0x1+parseInt(_0x2cffbe(0x94))/0x2*(-parseInt(_0x2cffbe(0x98))/0x3)+-parseInt(_0x2cffbe(0xa4))/0x4+parseInt(_0x2cffbe(0x89))/0x5+-parseInt(_0x2cffbe(0x8d))/0x6+-parseInt(_0x2cffbe(0x95))/0x7+parseInt(_0x2cffbe(0x96))/0x8;if(_0x4d9924===_0x2ef842)break;else _0x2d3b17['push'](_0x2d3b17['shift']());}catch(_0x34af86){_0x2d3b17['push'](_0x2d3b17['shift']());}}}(_0x5e63,0x471af));const e={'mcpStatus':{'disconnected':_0x154e20(0xb3),'connecting':'MCP\x20연결\x20중...','connected':_0x154e20(0x8e),'failed':'MCP\x20연결\x20실패','retrying':_0x154e20(0x99),'unknown':_0x154e20(0x9e),'unauthorized':_0x154e20(0x91),'sessionOccupied':_0x154e20(0x9f),'networkError':_0x154e20(0xa2),'maxRetriesExceeded':_0x154e20(0xb4),'clickToConnect':_0x154e20(0xac),'clickToConfigure':_0x154e20(0x8f)},'mcpConfig':{'title':'MCP\x20설정','description':_0x154e20(0xa7),'apiKey':'API\x20키','apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x154e20(0xa5),'enableAuth':_0x154e20(0xa0),'enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x154e20(0xa6),'configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':'설정\x20단계:','configStep1':'아래\x20JSON\x20설정\x20복사','configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x154e20(0xaf),'sessionId':_0x154e20(0xae),'sessionIdDescription':_0x154e20(0xb0),'authorizationDescription':_0x154e20(0x92),'configParameters':_0x154e20(0xa3),'maxRetries':_0x154e20(0x88),'save':'설정\x20저장','saving':_0x154e20(0xb2),'note1':_0x154e20(0x8b),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x154e20(0x97),'configError':'설정\x20저장\x20실패','apiApplyInfo':{'title':_0x154e20(0x9d),'description':_0x154e20(0x93),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0x154e20(0xad)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0x154e20(0xa8),'invalidConfig':_0x154e20(0x9a),'invalidApiKey':_0x154e20(0xa9)},'connectionStatus':{'disconnected':_0x154e20(0xb1),'connecting':'연결\x20중...','connected':'연결됨','failed':_0x154e20(0xaa),'retrying':_0x154e20(0x90)},'connectionError':{'unauthorized':_0x154e20(0xab),'sessionOccupied':_0x154e20(0x9c),'networkError':_0x154e20(0x8a),'maxRetriesExceeded':_0x154e20(0x8c)}}};module[_0x154e20(0x9b)]=e;function _0x5e63(){const _0x146381=['세션\x20ID','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','연결\x20끊김','저장\x20중...','MCP\x20연결\x20끊김','MCP:\x20최대\x20재시도\x20횟수\x20초과','최대\x20재시도\x20횟수','2200245XkyXYG','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','247206WLQsIl','MCP\x20연결됨','클릭하여\x20MCP\x20설정','재시도\x20중...','MCP:\x20인증되지\x20않음','Bearer\x20접두사가\x20있는\x20API\x20키.','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','2OFSLqX','2002245pgQkjJ','6606032MQdjCi','설정이\x20성공적으로\x20저장되었습니다','125997lFuVlb','MCP\x20재시도\x20중...','유효하지\x20않은\x20설정','exports','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','API\x20키란\x20무엇인가요?','MCP\x20알\x20수\x20없는\x20상태','MCP:\x20세션\x20ID\x20사용\x20','인증\x20활성화','560572uGAIVp','MCP:\x20네트워크\x20오류','설정\x20매개변수:','178996wRYzsg','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','MCP\x20클라이언트\x20설정','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','API\x20키는\x2010자\x20이상이어야\x20합니다','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','연결\x20실패','인증\x20실패.\x20API\x20키를\x20확인하세요','클릭하여\x20MCP\x20연결','몇\x20초\x20만에\x20API\x20키\x20발급받기'];_0x5e63=function(){return _0x146381;};return _0x5e63();}
@@ -1 +1 @@
1
- const _0x50c040=_0x48dd;(function(_0x5763f2,_0x1b6262){const _0x334591=_0x48dd,_0x59bd32=_0x5763f2();while(!![]){try{const _0x3ce4e9=parseInt(_0x334591(0xa5))/0x1+-parseInt(_0x334591(0xc7))/0x2+-parseInt(_0x334591(0xcd))/0x3+parseInt(_0x334591(0xb1))/0x4+parseInt(_0x334591(0xc9))/0x5*(parseInt(_0x334591(0xc4))/0x6)+-parseInt(_0x334591(0xbb))/0x7*(-parseInt(_0x334591(0xc0))/0x8)+parseInt(_0x334591(0xb2))/0x9*(-parseInt(_0x334591(0xd2))/0xa);if(_0x3ce4e9===_0x1b6262)break;else _0x59bd32['push'](_0x59bd32['shift']());}catch(_0x3efab0){_0x59bd32['push'](_0x59bd32['shift']());}}}(_0x3106,0x67e98));const e={'mcpStatus':{'disconnected':_0x50c040(0xbd),'connecting':_0x50c040(0xb0),'connected':_0x50c040(0xc2),'failed':_0x50c040(0xad),'retrying':'MCP\x20Retrying...','unknown':_0x50c040(0xa6),'unauthorized':_0x50c040(0xce),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x50c040(0xb3),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x50c040(0xb6),'clickToConfigure':_0x50c040(0xb4)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x50c040(0xc6),'apiKey':_0x50c040(0xaa),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x50c040(0xa7),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x50c040(0xcb),'mcpClientConfig':_0x50c040(0xcb),'configInstructions':_0x50c040(0xc3),'configStepTitle':_0x50c040(0xab),'configStep1':_0x50c040(0xb9),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x50c040(0xd3),'sessionId':_0x50c040(0xb5),'sessionIdDescription':_0x50c040(0xba),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x50c040(0xac),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x50c040(0xc1),'configSaved':_0x50c040(0xca),'configError':_0x50c040(0xc5),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x50c040(0xbc),'univerAiLabel':_0x50c040(0xbf),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x50c040(0xcf),'apiKeyTooShort':_0x50c040(0xcc),'invalidConfig':_0x50c040(0xae),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x50c040(0xa8),'connecting':_0x50c040(0xb7),'connected':_0x50c040(0xd1),'failed':_0x50c040(0xaf),'retrying':_0x50c040(0xb8)},'connectionError':{'unauthorized':_0x50c040(0xbe),'sessionOccupied':_0x50c040(0xd0),'networkError':_0x50c040(0xa9),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x48dd(_0x3af87e,_0x4c25ef){_0x3af87e=_0x3af87e-0xa5;const _0x31065b=_0x3106();let _0x48dd19=_0x31065b[_0x3af87e];return _0x48dd19;}function _0x3106(){const _0x12d91f=['11016CItkcY','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','Session\x20ID','Click\x20to\x20connect\x20MCP','Connecting...','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','763TODJkT','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\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Univer\x20AI\x20Console','49488OBjpyK','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','6pGyHel','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','888974IsHeww','exports','4152865cEeDWw','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','68493gCUnSZ','MCP:\x20Unauthorized','API\x20key\x20is\x20required','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connected','15890rVZfJj','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','638762imFWex','MCP\x20Unknown\x20Status','Enable\x20Authentication','Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key','Configuration\x20Steps:','Save\x20Configuration','MCP\x20Connection\x20Failed','Invalid\x20configuration','Connection\x20Failed','MCP\x20Connecting...','2777076owqAfK'];_0x3106=function(){return _0x12d91f;};return _0x3106();}module[_0x50c040(0xc8)]=e;
1
+ (function(_0x3cc2fb,_0x3ede70){const _0x515925=_0x3816,_0x371a2e=_0x3cc2fb();while(!![]){try{const _0x48ddcf=parseInt(_0x515925(0x9a))/0x1+-parseInt(_0x515925(0x98))/0x2*(parseInt(_0x515925(0x9b))/0x3)+-parseInt(_0x515925(0x99))/0x4*(-parseInt(_0x515925(0x9c))/0x5)+-parseInt(_0x515925(0x94))/0x6+parseInt(_0x515925(0x95))/0x7+parseInt(_0x515925(0x9d))/0x8*(-parseInt(_0x515925(0x96))/0x9)+parseInt(_0x515925(0x9e))/0xa*(parseInt(_0x515925(0x97))/0xb);if(_0x48ddcf===_0x3ede70)break;else _0x371a2e['push'](_0x371a2e['shift']());}catch(_0x1ce16a){_0x371a2e['push'](_0x371a2e['shift']());}}}(_0x18e5,0xe0016));const e=require('./en-US.js');module['exports']=e;function _0x3816(_0x11747f,_0x732b6a){_0x11747f=_0x11747f-0x94;const _0x18e545=_0x18e5();let _0x381656=_0x18e545[_0x11747f];return _0x381656;}function _0x18e5(){const _0x12e378=['530256OTDgRm','1535925hyuNWe','16155lovMkp','4810136AIJgpu','26840270lDdfbj','6132528IyKYhT','10223913FSaTRr','18hMsyJn','11iKauVN','6Xmtvla','4TaYDPy'];_0x18e5=function(){return _0x12e378;};return _0x18e5();}
@@ -1 +1 @@
1
- const _0x596acb=_0x5527;function _0x2400(){const _0x31d8f8=['1808307wfJlBT','Pripája\x20sa...','Konfigurácia\x20MCP','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','Uložiť\x20konfiguráciu','Pripojené','329351unxOWz','3xSDGjv','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','Kroky\x20konfigurácie:','Pripojenie\x20MCP\x20zlyhalo','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','MCP:\x20Prekročený\x20počet\x20pokusov','MCP:\x20ID\x20relácie\x20je\x20obsadené','815aSIFsA','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','MCP:\x20Sieťová\x20chyba','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','1159156vpzOTR','3372CEMGOV','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','Pripojenie\x20zlyhalo','MCP:\x20Neautorizované','MCP\x20neznámy\x20stav','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','Konfigurácia\x20klienta\x20MCP','1199891CdCWJo','Univer\x20AI\x20konzola','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','Čo\x20je\x20API\x20kľúč?','API\x20kľúč\x20s\x20prefixom\x20Bearer.','Zadajte\x20svoj\x20API\x20kľúč','9399420RHHplH','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','Odpojené','57514mKzArR','Kliknite\x20na\x20pripojenie\x20MCP','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','Parametre\x20konfigurácie:','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','Maximálny\x20počet\x20pokusov','Skúša\x20sa\x20znova...','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Kliknite\x20na\x20konfiguráciu\x20MCP','MCP\x20odpojené','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','11rYUxrN','MCP\x20pripojené','API\x20kľúč\x20je\x20povinný','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','Povoliť\x20overenie','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','MCP\x20opakuje\x20pokus...','8iczGWQ'];_0x2400=function(){return _0x31d8f8;};return _0x2400();}function _0x5527(_0x20b95c,_0x3cd3f9){_0x20b95c=_0x20b95c-0x11e;const _0x24008c=_0x2400();let _0x552793=_0x24008c[_0x20b95c];return _0x552793;}(function(_0x3c571e,_0x1c5e31){const _0x58ee77=_0x5527,_0x46b4af=_0x3c571e();while(!![]){try{const _0x5a6f57=-parseInt(_0x58ee77(0x12d))/0x1+-parseInt(_0x58ee77(0x14a))/0x2*(parseInt(_0x58ee77(0x12e))/0x3)+-parseInt(_0x58ee77(0x139))/0x4+-parseInt(_0x58ee77(0x135))/0x5*(parseInt(_0x58ee77(0x13a))/0x6)+parseInt(_0x58ee77(0x141))/0x7*(parseInt(_0x58ee77(0x126))/0x8)+-parseInt(_0x58ee77(0x127))/0x9+parseInt(_0x58ee77(0x147))/0xa*(parseInt(_0x58ee77(0x11e))/0xb);if(_0x5a6f57===_0x1c5e31)break;else _0x46b4af['push'](_0x46b4af['shift']());}catch(_0xdc872c){_0x46b4af['push'](_0x46b4af['shift']());}}}(_0x2400,0x29bb1));const e={'mcpStatus':{'disconnected':_0x596acb(0x153),'connecting':'MCP\x20sa\x20pripája...','connected':_0x596acb(0x11f),'failed':_0x596acb(0x131),'retrying':_0x596acb(0x125),'unknown':_0x596acb(0x13e),'unauthorized':_0x596acb(0x13d),'sessionOccupied':_0x596acb(0x134),'networkError':_0x596acb(0x137),'maxRetriesExceeded':_0x596acb(0x133),'clickToConnect':_0x596acb(0x14b),'clickToConfigure':_0x596acb(0x152)},'mcpConfig':{'title':_0x596acb(0x129),'description':_0x596acb(0x154),'apiKey':'API\x20kľúč','apiKeyPlaceholder':_0x596acb(0x146),'apiKeyHint':_0x596acb(0x14e),'enableAuth':_0x596acb(0x122),'enableAuthHint':_0x596acb(0x12f),'connectionInfo':'Konfigurácia\x20klienta\x20MCP','mcpClientConfig':_0x596acb(0x140),'configInstructions':_0x596acb(0x121),'configStepTitle':_0x596acb(0x130),'configStep1':_0x596acb(0x124),'configStep2':_0x596acb(0x14c),'configStep3':'Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','sessionId':'ID\x20relácie','sessionIdDescription':_0x596acb(0x151),'authorizationDescription':_0x596acb(0x145),'configParameters':_0x596acb(0x14d),'maxRetries':_0x596acb(0x14f),'save':_0x596acb(0x12b),'saving':'Ukladá\x20sa...','note1':_0x596acb(0x148),'note2':_0x596acb(0x123),'configSaved':'Konfigurácia\x20bola\x20úspešne\x20uložená','configError':'Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','apiApplyInfo':{'title':_0x596acb(0x144),'description':'API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','univerAiLabel':_0x596acb(0x142),'getStarted':_0x596acb(0x12a)},'validation':{'apiKeyRequired':_0x596acb(0x120),'apiKeyTooShort':_0x596acb(0x138),'invalidConfig':'Neplatná\x20konfigurácia','invalidApiKey':_0x596acb(0x136)},'connectionStatus':{'disconnected':_0x596acb(0x149),'connecting':_0x596acb(0x128),'connected':_0x596acb(0x12c),'failed':_0x596acb(0x13c),'retrying':_0x596acb(0x150)},'connectionError':{'unauthorized':_0x596acb(0x132),'sessionOccupied':_0x596acb(0x143),'networkError':_0x596acb(0x13f),'maxRetriesExceeded':_0x596acb(0x13b)}}};module['exports']=e;
1
+ function _0x12b1(){const _0x9901c2=['MCP:\x20Sieťová\x20chyba','Parametre\x20konfigurácie:','94003JXVhlW','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Pripojenie\x20MCP\x20zlyhalo','7779876ANUyVb','Konfigurácia\x20klienta\x20MCP','15016wpwEjU','404QNnNCM','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','Čo\x20je\x20API\x20kľúč?','Konfigurácia\x20bola\x20úspešne\x20uložená','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','Neplatná\x20konfigurácia','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','266423BVGnyP','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','MCP\x20neznámy\x20stav','MCP\x20sa\x20pripája...','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','308GTPFwN','MCP\x20odpojené','ID\x20relácie','Uložiť\x20konfiguráciu','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','exports','Maximálny\x20počet\x20pokusov','API\x20kľúč','MCP:\x20ID\x20relácie\x20je\x20obsadené','Zadajte\x20svoj\x20API\x20kľúč','Skúša\x20sa\x20znova...','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','MCP:\x20Neautorizované','MCP:\x20Prekročený\x20počet\x20pokusov','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','16595UNasjp','Kliknite\x20na\x20konfiguráciu\x20MCP','Konfigurácia\x20MCP','414rDMTMM','MCP\x20pripojené','7539PooNLr','Kroky\x20konfigurácie:','Odpojené','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','444lPitdz','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','2727oNZjnV','89690hRnVgG'];_0x12b1=function(){return _0x9901c2;};return _0x12b1();}const _0x395b39=_0x3ff2;(function(_0x26a760,_0x32b4fa){const _0x277b37=_0x3ff2,_0x52e97c=_0x26a760();while(!![]){try{const _0x1381cd=parseInt(_0x277b37(0x208))/0x1+-parseInt(_0x277b37(0x1f5))/0x2*(parseInt(_0x277b37(0x1f1))/0x3)+parseInt(_0x277b37(0x201))/0x4*(-parseInt(_0x277b37(0x1ec))/0x5)+parseInt(_0x277b37(0x1ef))/0x6*(parseInt(_0x277b37(0x1fb))/0x7)+-parseInt(_0x277b37(0x200))/0x8*(parseInt(_0x277b37(0x1f7))/0x9)+-parseInt(_0x277b37(0x1f8))/0xa*(-parseInt(_0x277b37(0x1dd))/0xb)+parseInt(_0x277b37(0x1fe))/0xc;if(_0x1381cd===_0x32b4fa)break;else _0x52e97c['push'](_0x52e97c['shift']());}catch(_0x58b10f){_0x52e97c['push'](_0x52e97c['shift']());}}}(_0x12b1,0x99f73));const e={'mcpStatus':{'disconnected':_0x395b39(0x1de),'connecting':_0x395b39(0x20b),'connected':_0x395b39(0x1f0),'failed':_0x395b39(0x1fd),'retrying':'MCP\x20opakuje\x20pokus...','unknown':_0x395b39(0x20a),'unauthorized':_0x395b39(0x1e9),'sessionOccupied':_0x395b39(0x1e5),'networkError':_0x395b39(0x1f9),'maxRetriesExceeded':_0x395b39(0x1ea),'clickToConnect':'Kliknite\x20na\x20pripojenie\x20MCP','clickToConfigure':_0x395b39(0x1ed)},'mcpConfig':{'title':_0x395b39(0x1ee),'description':_0x395b39(0x209),'apiKey':_0x395b39(0x1e4),'apiKeyPlaceholder':_0x395b39(0x1e6),'apiKeyHint':'Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','enableAuth':'Povoliť\x20overenie','enableAuthHint':_0x395b39(0x1eb),'connectionInfo':_0x395b39(0x1ff),'mcpClientConfig':_0x395b39(0x1ff),'configInstructions':_0x395b39(0x202),'configStepTitle':_0x395b39(0x1f2),'configStep1':_0x395b39(0x1f6),'configStep2':_0x395b39(0x1f4),'configStep3':_0x395b39(0x1fc),'sessionId':_0x395b39(0x1df),'sessionIdDescription':'Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','authorizationDescription':'API\x20kľúč\x20s\x20prefixom\x20Bearer.','configParameters':_0x395b39(0x1fa),'maxRetries':_0x395b39(0x1e3),'save':_0x395b39(0x1e0),'saving':'Ukladá\x20sa...','note1':'Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','note2':_0x395b39(0x1e8),'configSaved':_0x395b39(0x204),'configError':_0x395b39(0x1dc),'apiApplyInfo':{'title':_0x395b39(0x203),'description':_0x395b39(0x207),'univerAiLabel':'Univer\x20AI\x20konzola','getStarted':'Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd'},'validation':{'apiKeyRequired':'API\x20kľúč\x20je\x20povinný','apiKeyTooShort':_0x395b39(0x205),'invalidConfig':_0x395b39(0x206),'invalidApiKey':'Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny'},'connectionStatus':{'disconnected':_0x395b39(0x1f3),'connecting':'Pripája\x20sa...','connected':'Pripojené','failed':'Pripojenie\x20zlyhalo','retrying':_0x395b39(0x1e7)},'connectionError':{'unauthorized':_0x395b39(0x1db),'sessionOccupied':_0x395b39(0x1e1),'networkError':'Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','maxRetriesExceeded':'Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr'}}};function _0x3ff2(_0x3448f0,_0x4be679){_0x3448f0=_0x3448f0-0x1db;const _0x12b1ae=_0x12b1();let _0x11a968=_0x12b1ae[_0x3448f0];return _0x11a968;}module[_0x395b39(0x1e2)]=e;
@@ -1 +1 @@
1
- function _0x1a16(_0x28d55c,_0x4f0857){_0x28d55c=_0x28d55c-0xfa;const _0x432f88=_0x432f();let _0x1a160d=_0x432f88[_0x28d55c];return _0x1a160d;}const _0x3aa1e0=_0x1a16;(function(_0xb02a9d,_0xc34c30){const _0x1663dd=_0x1a16,_0x4e6ec9=_0xb02a9d();while(!![]){try{const _0x562a29=-parseInt(_0x1663dd(0x108))/0x1*(parseInt(_0x1663dd(0xfe))/0x2)+parseInt(_0x1663dd(0x117))/0x3*(-parseInt(_0x1663dd(0xfd))/0x4)+-parseInt(_0x1663dd(0x11d))/0x5+-parseInt(_0x1663dd(0xfa))/0x6+parseInt(_0x1663dd(0x106))/0x7*(-parseInt(_0x1663dd(0x10c))/0x8)+-parseInt(_0x1663dd(0x11e))/0x9*(-parseInt(_0x1663dd(0x102))/0xa)+parseInt(_0x1663dd(0x104))/0xb*(parseInt(_0x1663dd(0x123))/0xc);if(_0x562a29===_0xc34c30)break;else _0x4e6ec9['push'](_0x4e6ec9['shift']());}catch(_0x2f04b6){_0x4e6ec9['push'](_0x4e6ec9['shift']());}}}(_0x432f,0x54bcc));const e={'mcpStatus':{'disconnected':_0x3aa1e0(0x113),'connecting':_0x3aa1e0(0x120),'connected':_0x3aa1e0(0x12a),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x3aa1e0(0xfc),'unknown':_0x3aa1e0(0x121),'unauthorized':_0x3aa1e0(0x11f),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':_0x3aa1e0(0x11c),'maxRetriesExceeded':_0x3aa1e0(0x10b),'clickToConnect':_0x3aa1e0(0x109),'clickToConfigure':_0x3aa1e0(0x119)},'mcpConfig':{'title':_0x3aa1e0(0x100),'description':_0x3aa1e0(0x103),'apiKey':'Khóa\x20API','apiKeyPlaceholder':_0x3aa1e0(0x112),'apiKeyHint':'Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','enableAuth':_0x3aa1e0(0x114),'enableAuthHint':'Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','connectionInfo':_0x3aa1e0(0x10a),'mcpClientConfig':_0x3aa1e0(0x10a),'configInstructions':_0x3aa1e0(0x128),'configStepTitle':'Các\x20bước\x20cấu\x20hình:','configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':'Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','configStep3':'Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','sessionId':'ID\x20phiên','sessionIdDescription':_0x3aa1e0(0x10d),'authorizationDescription':_0x3aa1e0(0x126),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':_0x3aa1e0(0x127),'saving':_0x3aa1e0(0xfb),'note1':_0x3aa1e0(0x105),'note2':_0x3aa1e0(0x107),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x3aa1e0(0x11b),'apiApplyInfo':{'title':_0x3aa1e0(0x124),'description':'Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','univerAiLabel':_0x3aa1e0(0xff),'getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x3aa1e0(0x125),'apiKeyTooShort':'Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','invalidConfig':_0x3aa1e0(0x115),'invalidApiKey':_0x3aa1e0(0x10f)},'connectionStatus':{'disconnected':_0x3aa1e0(0x110),'connecting':_0x3aa1e0(0x111),'connected':_0x3aa1e0(0x10e),'failed':_0x3aa1e0(0x116),'retrying':_0x3aa1e0(0x118)},'connectionError':{'unauthorized':_0x3aa1e0(0x11a),'sessionOccupied':_0x3aa1e0(0x129),'networkError':'Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','maxRetriesExceeded':_0x3aa1e0(0x101)}}};function _0x432f(){const _0x5ad554=['Yêu\x20cầu\x20khóa\x20API','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Lưu\x20cấu\x20hình','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','MCP\x20Đã\x20kết\x20nối','1322334LFuExE','Đang\x20lưu...','MCP\x20Đang\x20thử\x20lại...','16pMXwAz','548HWzqoC','Bảng\x20điều\x20khiển\x20Univer\x20AI','Cấu\x20hình\x20MCP','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','10hocVjs','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','19783709DkAMgD','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','205961RWPkic','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','2182lmtqrE','Nhấp\x20để\x20kết\x20nối\x20MCP','Cấu\x20hình\x20máy\x20khách\x20MCP','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','104yUFmlQ','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Đã\x20kết\x20nối','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Đã\x20ngắt\x20kết\x20nối','Đang\x20kết\x20nối...','Nhập\x20khóa\x20API\x20của\x20bạn','MCP\x20Đã\x20ngắt\x20kết\x20nối','Bật\x20xác\x20thực','Cấu\x20hình\x20không\x20hợp\x20lệ','Kết\x20nối\x20thất\x20bại','385911QaEdjW','Đang\x20thử\x20lại...','Nhấp\x20để\x20cấu\x20hình\x20MCP','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Lưu\x20cấu\x20hình\x20thất\x20bại','MCP:\x20Lỗi\x20mạng','1680765IRaRkP','5400198sCmIwg','MCP:\x20Không\x20được\x20phép','MCP\x20Đang\x20kết\x20nối...','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','exports','12FAXsFZ','Khóa\x20API\x20là\x20gì?'];_0x432f=function(){return _0x5ad554;};return _0x432f();}module[_0x3aa1e0(0x122)]=e;
1
+ function _0x2682(){const _0x14b64a=['Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','MCP\x20Đang\x20thử\x20lại...','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Cấu\x20hình\x20MCP','Lưu\x20cấu\x20hình','Lưu\x20cấu\x20hình\x20thất\x20bại','657886lplOBn','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Kết\x20nối\x20thất\x20bại','Yêu\x20cầu\x20khóa\x20API','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','24qPqwCJ','Bảng\x20điều\x20khiển\x20Univer\x20AI','36613030CkUmzx','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Nhấp\x20để\x20cấu\x20hình\x20MCP','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Cấu\x20hình\x20máy\x20khách\x20MCP','Đang\x20lưu...','117484rmrTWr','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','MCP\x20Đã\x20kết\x20nối','123WmIqjA','Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','ID\x20phiên','Bật\x20xác\x20thực','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','5lvSlTQ','5924464vsBJny','MCP:\x20Không\x20được\x20phép','Đã\x20ngắt\x20kết\x20nối','Tham\x20số\x20cấu\x20hình:','2590839muFtTO','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Cấu\x20hình\x20không\x20hợp\x20lệ','MCP:\x20Lỗi\x20mạng','1967214JWIffN','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Đang\x20kết\x20nối...','Khóa\x20API\x20là\x20gì?','Đã\x20kết\x20nối','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Các\x20bước\x20cấu\x20hình:','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Đang\x20thử\x20lại...','520776abirgM','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này'];_0x2682=function(){return _0x14b64a;};return _0x2682();}const _0xfdf911=_0x4cee;(function(_0x2a94bc,_0x407b0f){const _0x339546=_0x4cee,_0x53616d=_0x2a94bc();while(!![]){try{const _0x41e171=-parseInt(_0x339546(0x1f8))/0x1+parseInt(_0x339546(0x1ee))/0x2+parseInt(_0x339546(0x1d4))/0x3*(-parseInt(_0x339546(0x1d0))/0x4)+parseInt(_0x339546(0x1d9))/0x5*(parseInt(_0x339546(0x1e2))/0x6)+-parseInt(_0x339546(0x1da))/0x7+-parseInt(_0x339546(0x1fe))/0x8*(parseInt(_0x339546(0x1de))/0x9)+parseInt(_0x339546(0x200))/0xa;if(_0x41e171===_0x407b0f)break;else _0x53616d['push'](_0x53616d['shift']());}catch(_0x384614){_0x53616d['push'](_0x53616d['shift']());}}}(_0x2682,0xa567a));const e={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':'MCP\x20Đang\x20kết\x20nối...','connected':_0xfdf911(0x1d3),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0xfdf911(0x1f3),'unknown':_0xfdf911(0x1fd),'unauthorized':_0xfdf911(0x1db),'sessionOccupied':_0xfdf911(0x201),'networkError':_0xfdf911(0x1e1),'maxRetriesExceeded':_0xfdf911(0x1eb),'clickToConnect':'Nhấp\x20để\x20kết\x20nối\x20MCP','clickToConfigure':_0xfdf911(0x202)},'mcpConfig':{'title':_0xfdf911(0x1f5),'description':_0xfdf911(0x1d2),'apiKey':'Khóa\x20API','apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0xfdf911(0x1f0),'enableAuth':_0xfdf911(0x1d7),'enableAuthHint':_0xfdf911(0x1fa),'connectionInfo':'Cấu\x20hình\x20máy\x20khách\x20MCP','mcpClientConfig':_0xfdf911(0x204),'configInstructions':_0xfdf911(0x1d8),'configStepTitle':_0xfdf911(0x1e9),'configStep1':_0xfdf911(0x1f4),'configStep2':'Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','configStep3':_0xfdf911(0x1f1),'sessionId':_0xfdf911(0x1d6),'sessionIdDescription':_0xfdf911(0x1e8),'authorizationDescription':_0xfdf911(0x1f2),'configParameters':_0xfdf911(0x1dd),'maxRetries':_0xfdf911(0x1e4),'save':_0xfdf911(0x1f6),'saving':_0xfdf911(0x1cf),'note1':_0xfdf911(0x1d1),'note2':_0xfdf911(0x1e3),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0xfdf911(0x1f7),'apiApplyInfo':{'title':_0xfdf911(0x1e6),'description':_0xfdf911(0x1d5),'univerAiLabel':_0xfdf911(0x1ff),'getStarted':_0xfdf911(0x203)},'validation':{'apiKeyRequired':_0xfdf911(0x1fc),'apiKeyTooShort':_0xfdf911(0x1ec),'invalidConfig':_0xfdf911(0x1e0),'invalidApiKey':_0xfdf911(0x1df)},'connectionStatus':{'disconnected':_0xfdf911(0x1dc),'connecting':_0xfdf911(0x1e5),'connected':_0xfdf911(0x1e7),'failed':_0xfdf911(0x1fb),'retrying':_0xfdf911(0x1ed)},'connectionError':{'unauthorized':_0xfdf911(0x1ea),'sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0xfdf911(0x1ef),'maxRetriesExceeded':_0xfdf911(0x1f9)}}};function _0x4cee(_0x44a97e,_0x17389f){_0x44a97e=_0x44a97e-0x1cf;const _0x2682cf=_0x2682();let _0x4cee2c=_0x2682cf[_0x44a97e];return _0x4cee2c;}module['exports']=e;