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

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 (53) 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/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +7 -7
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xfb996e=_0x5d68;(function(_0x17ba92,_0x27a8d5){const _0x1abdf9=_0x5d68,_0x6a796a=_0x17ba92();while(!![]){try{const _0x48b653=-parseInt(_0x1abdf9(0x12b))/0x1*(parseInt(_0x1abdf9(0xdf))/0x2)+parseInt(_0x1abdf9(0x14d))/0x3+parseInt(_0x1abdf9(0x12c))/0x4+-parseInt(_0x1abdf9(0x151))/0x5*(parseInt(_0x1abdf9(0x147))/0x6)+parseInt(_0x1abdf9(0xe4))/0x7*(-parseInt(_0x1abdf9(0x11e))/0x8)+-parseInt(_0x1abdf9(0xec))/0x9*(parseInt(_0x1abdf9(0x166))/0xa)+parseInt(_0x1abdf9(0x1b6))/0xb*(parseInt(_0x1abdf9(0x119))/0xc);if(_0x48b653===_0x27a8d5)break;else _0x6a796a['push'](_0x6a796a['shift']());}catch(_0xe0f589){_0x6a796a['push'](_0x6a796a['shift']());}}}(_0x1e3f,0x6b8b1));import _0x331a29 from'./locale/en-US.js';import _0x1d1e9c from'./locale/zh-CN.js';import{CommandType as _0x315ca4,DependentOn as _0xe38ea0,Disposable as _0x6a89c1,ICommandService as _0x30bcd1,IConfigService as _0xcae5bb,ILocalStorageService as _0x5b47d9,ILogService as _0x54826a,Inject as _0x59ad70,Injector as _0x37b342,LocaleService as _0x2214f6,Plugin as _0x5417cd,merge as _0x195429}from'@univerjs/core';import{MCPConnectionController as _0x4f5f2a,MCPConnectionError as _0xb4d197,MCPConnectionStatus as _0x476fe9,MCP_PLUGIN_CONFIG_KEY as _0x1ee857,UniverMCPPlugin as _0x2629f3}from'@univerjs-pro/mcp';import{Button as _0x1c7b06,Input as _0x6c4022,MessageType as _0x1aeee4,Tooltip as _0x3eb85a,clsx as _0x25d26d}from'@univerjs/design';import{BuiltInUIPart as _0xadbc61,ComponentManager as _0x2b04e5,IDialogService as _0x424255,IMenuManagerService as _0x52a5ea,IMessageService as _0x412477,IUIPartsService as _0x2785c0,MenuItemType as _0x58cdca,RibbonStartGroup as _0x26ee93,connectInjector as _0xaa714c,useDependency as _0x139827,useObservable as _0x99f738}from'@univerjs/ui';import{BehaviorSubject as _0xea1916}from'rxjs';import{CheckMarkIcon as _0x446a15,CloseIcon as _0x13e633,HelpIcon as _0x2284db,OffLineIcon as _0x314932,OnLineIcon as _0x1a0756}from'@univerjs/icons';import{useCallback as _0x5be9f2,useState as _0x2f44ff}from'react';import{jsx as _0x2dd2fc,jsxs as _0x1d64b9}from'react/jsx-runtime';import{ISocketService as _0x4e5159,WebSocketService as _0x1c3c2c}from'@univerjs/network';function R(_0x5b3e3d){const _0x366674=_0x5d68;var _0x39c577,_0x2659c8;let {mcpCoreConfig:_0xfeb426,onSave:_0xf0edda,loading:_0x4bc1f0=!0x1,config:_0x5dc5ce,connectionStatus$:_0x20a117,connectionError$:_0x377f69,currentApiKey$:_0x11b57f,currentSessionId$:_0x4bf8a1}=_0x5b3e3d,_0x59ddeb=_0x139827(_0x2214f6),_0xd39952=_0x99f738(_0x20a117,_0x476fe9[_0x366674(0x168)]),_0x45e87e=_0x99f738(_0x377f69,_0xb4d197[_0x366674(0x14c)]),_0x409abb=_0x99f738(_0x4bf8a1,''),[_0x2969cd,_0x1e6553]=_0x2f44ff(_0x99f738(_0x11b57f,'')||''),_0x1fbc2b=_0x5dc5ce[_0x366674(0x1a6)]&&_0xfeb426[_0x366674(0x179)]&&(_0xfeb426[_0x366674(0x179)]['includes'](_0x366674(0xe9))||_0xfeb426[_0x366674(0x179)][_0x366674(0x159)]('univer.ai')),_0x230e5d=(_0x39c577=_0xfeb426[_0x366674(0x179)])==null?void 0x0:_0x39c577[_0x366674(0x159)]('univer.plus'),_0x28c3bb=(_0x2659c8=_0xfeb426['mcpServerUrl'])==null?void 0x0:_0x2659c8[_0x366674(0x159)](_0x366674(0x195)),_0x249bad=_0x230e5d?_0x366674(0x1bb):'https://console.univer.ai',_0x5bbf40=_0x5dc5ce['showDeveloperTools']&&(_0x230e5d||_0x28c3bb),[_0x34a4bc,_0xea4a2e]=_0x2f44ff(!_0x2969cd[_0x366674(0x1ba)]()),_0x2730b3=(_0x3e9423,_0x467823)=>{const _0x414656=_0x366674;if(_0x467823===_0xb4d197[_0x414656(0xe0)])return _0x414656(0x105);switch(_0x3e9423){case _0x476fe9[_0x414656(0x120)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x476fe9['CONNECTING']:case _0x476fe9['RETRYING']:return _0x414656(0x18a);case _0x476fe9[_0x414656(0x11c)]:return _0x414656(0x105);default:return _0x414656(0x1a4);}},_0x273e46=(_0x14d667,_0x51a495)=>{const _0x1822d3=_0x366674;if(_0x51a495===_0xb4d197['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x14d667){case _0x476fe9[_0x1822d3(0x120)]:return _0x1822d3(0x164);case _0x476fe9['CONNECTING']:case _0x476fe9[_0x1822d3(0x1b4)]:return _0x1822d3(0x1a0);case _0x476fe9[_0x1822d3(0x11c)]:return _0x1822d3(0x111);default:return _0x1822d3(0x100);}},_0x577840=_0x5e052d=>{const _0x438979=_0x366674;switch(_0x5e052d){case _0x476fe9[_0x438979(0x120)]:return _0x59ddeb['t'](_0x438979(0x17d));case _0x476fe9['CONNECTING']:return _0x59ddeb['t'](_0x438979(0xf9));case _0x476fe9[_0x438979(0x11c)]:return _0x59ddeb['t']('mcpConfig.connectionStatus.failed');case _0x476fe9[_0x438979(0x1b4)]:return _0x59ddeb['t'](_0x438979(0x11f));default:return _0x59ddeb['t'](_0x438979(0x17b));}},_0x40fa62=_0x23b546=>{const _0x532db3=_0x366674;switch(_0x23b546){case _0xb4d197[_0x532db3(0xe0)]:return _0x59ddeb['t'](_0x532db3(0x137));case _0xb4d197['SESSION_ID_OCCUPIED']:return _0x59ddeb['t'](_0x532db3(0x1aa));case _0xb4d197['NETWORK_ERROR']:return _0x59ddeb['t'](_0x532db3(0x18e));case _0xb4d197[_0x532db3(0xd8)]:return _0x59ddeb['t'](_0x532db3(0x133));default:return'';}},_0x50636c=_0x5be9f2(()=>{const _0x1728bf=_0x366674;_0xf0edda({..._0xfeb426,'apiKey':_0x2969cd[_0x1728bf(0x1ba)](),'enableAuth':!0x0});},[_0xfeb426,_0x2969cd,!0x0,_0xf0edda]),_0x204809=_0x2969cd[_0x366674(0x1ba)]()[_0x366674(0x10e)]>0x0;return _0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x112),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x10a),'children':_0x1d64b9('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0xfa),'children':_0x2dd2fc('span',{'className':'univer-text-white','children':'⚙'})}),_0x2dd2fc('div',{'children':_0x2dd2fc('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x59ddeb['t']('mcpConfig.description')})})]})}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x116),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x25d26d('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x2730b3(_0xd39952,_0x45e87e)),'children':_0x1d64b9('div',{'className':_0x366674(0xea),'children':[_0x2dd2fc('div',{'className':_0x25d26d(_0x366674(0x16d),_0x273e46(_0xd39952,_0x45e87e))}),_0x2dd2fc(_0x366674(0x12d),{'className':'univer-text-sm\x20univer-font-medium','children':_0x577840(_0xd39952)})]})}),_0x45e87e!==_0xb4d197[_0x366674(0x14c)]&&(_0xd39952===_0x476fe9['FAILED']||_0x45e87e===_0xb4d197[_0x366674(0xe0)])&&_0x2dd2fc('div',{'className':_0x366674(0x18c),'children':_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x160),'children':[_0x2dd2fc('span',{'className':_0x366674(0xde),'children':'⚠️'}),_0x2dd2fc('p',{'className':_0x366674(0x125),'children':_0x40fa62(_0x45e87e)})]})})]}),_0x2dd2fc(_0x366674(0x13d),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x1d64b9(_0x366674(0x13d),{'className':'univer-space-y-5','children':[_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x17e),'children':[_0x1d64b9(_0x366674(0xf4),{'className':_0x366674(0x162),'children':[_0x2dd2fc(_0x366674(0x12d),{'children':'🔑'}),'\x20',_0x59ddeb['t']('mcpConfig.apiKey'),_0x2dd2fc(_0x366674(0x12d),{'className':_0x366674(0x15d),'children':'*'}),_0x1fbc2b&&_0x2dd2fc('a',{'className':_0x366674(0xd9),'title':_0x59ddeb['t'](_0x366674(0x10b)),'role':_0x366674(0x18f),'onClick':()=>_0xea4a2e(!0x0),'children':_0x2dd2fc(_0x2284db,{})})]}),_0x2dd2fc(_0x6c4022,{'type':_0x366674(0x149),'placeholder':_0x59ddeb['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x2969cd,'disabled':_0x4bc1f0,'autoComplete':_0x366674(0xdd),'onChange':_0x1e6553}),_0x2dd2fc('p',{'className':_0x366674(0x13b),'children':_0x59ddeb['t'](_0x366674(0x188))})]}),_0x1fbc2b&&_0x34a4bc&&_0x1d64b9('div',{'className':_0x366674(0x130),'children':[_0x2dd2fc('a',{'className':_0x366674(0x134),'role':'button','onClick':()=>_0xea4a2e(!0x1),'children':_0x2dd2fc(_0x13e633,{'className':_0x366674(0x142)})}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x11d),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0xd6),'children':_0x2dd2fc(_0x366674(0x12d),{'className':_0x366674(0x174),'children':'🚀'})}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x19a),'children':[_0x2dd2fc('h4',{'className':_0x366674(0x101),'children':_0x59ddeb['t'](_0x366674(0x10b))}),_0x2dd2fc('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x59ddeb['t'](_0x366674(0xe3))}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x185),'children':_0x5bbf40&&_0x1d64b9('a',{'className':_0x366674(0x154),'href':_0x249bad,'target':'_blank','rel':_0x366674(0xed),'children':[_0x2dd2fc(_0x366674(0x12d),{'children':'🤖'}),_0x59ddeb['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x2dd2fc('span',{'className':_0x366674(0x102),'children':'↗'})]})}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x14a),'children':['✨','\x20',_0x59ddeb['t'](_0x366674(0x104))]})]})]})]}),_0x5dc5ce[_0x366674(0x1a6)]&&_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0xe5),'children':[_0x1d64b9('h4',{'className':_0x366674(0x1a2),'children':[_0x2dd2fc(_0x366674(0x12d),{'children':'🔗'}),'\x20',_0x59ddeb['t'](_0x366674(0x192))]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x1b0),'children':[_0x1d64b9('div',{'className':'univer-space-y-3','children':[_0x2dd2fc('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x59ddeb['t'](_0x366674(0x12f))}),_0x1d64b9('div',{'className':_0x366674(0x17e),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x183),'children':_0x59ddeb['t'](_0x366674(0x176))}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0xf6),'children':[_0x1d64b9(_0x366674(0x13d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2dd2fc(_0x366674(0x12d),{'className':_0x366674(0x15c),'children':'1'}),_0x59ddeb['t'](_0x366674(0x113))]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0xea),'children':[_0x2dd2fc(_0x366674(0x12d),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x59ddeb['t']('mcpConfig.configStep2')]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0xea),'children':[_0x2dd2fc('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'}),_0x59ddeb['t'](_0x366674(0x16a))]})]})]})]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x17e),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x183),'children':_0x366674(0x141)}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x10c),'children':_0x2dd2fc(_0x366674(0x122),{'className':_0x366674(0x131),'children':JSON[_0x366674(0x146)]({'mcpServers':{'univer':{'url':_0x366674(0x13a)+(_0x409abb||_0x366674(0x156)),'type':_0x366674(0x17a),'headers':{'Authorization':_0x366674(0x145)+(_0x2969cd||_0x366674(0x1b8))}}}},null,0x2)})})]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x198),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x183),'children':_0x59ddeb['t'](_0x366674(0x117))}),_0x1d64b9('div',{'className':_0x366674(0x17e),'children':[_0x1d64b9(_0x366674(0x13d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x190)}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x194),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'univer_session_id:'}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x13b),'children':_0x59ddeb['t']('mcpConfig.sessionIdDescription')})]})]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x196),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x190)}),_0x1d64b9('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x2dd2fc(_0x366674(0x13d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x366674(0x10d)}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x13b),'children':_0x59ddeb['t'](_0x366674(0x14f))})]})]})]})]})]})]}),_0x2dd2fc(_0x1c7b06,{'onClick':_0x50636c,'disabled':!_0x204809||_0x4bc1f0,'className':_0x366674(0xfb),'children':_0x4bc1f0?_0x1d64b9(_0x366674(0x12d),{'className':_0x366674(0xea),'children':[_0x2dd2fc(_0x366674(0x12d),{'children':'⟲'}),_0x59ddeb['t'](_0x366674(0x173))]}):_0x1d64b9('span',{'className':_0x366674(0xea),'children':[_0x2dd2fc(_0x446a15,{}),_0x59ddeb['t'](_0x366674(0x132))]})}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x14e),'children':_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x1a3),'children':[_0x2dd2fc(_0x366674(0x12d),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x1d64b9('div',{'className':_0x366674(0x11a),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x180),'children':_0x366674(0xef)}),_0x1d64b9(_0x366674(0x13d),{'children':['•',_0x59ddeb['t'](_0x366674(0x1a9))]}),_0x1d64b9(_0x366674(0x13d),{'children':['•',_0x59ddeb['t']('mcpConfig.note2')]})]})]})})]})})]});}const z=_0xfb996e(0x191),B={'showDeveloperTools':!0x1,'showStatus':!0x0};function V(_0x10fe18){'@babel/helpers - typeof';const _0x61e2ea=_0xfb996e;return V=typeof Symbol==_0x61e2ea(0x1b9)&&typeof Symbol[_0x61e2ea(0x199)]=='symbol'?function(_0xbd24ce){return typeof _0xbd24ce;}:function(_0xd0346a){const _0x18f336=_0x61e2ea;return _0xd0346a&&typeof Symbol==_0x18f336(0x1b9)&&_0xd0346a['constructor']===Symbol&&_0xd0346a!==Symbol[_0x18f336(0x129)]?_0x18f336(0xf7):typeof _0xd0346a;},V(_0x10fe18);}function le(_0x136cd7,_0x49fe9d){const _0x38d66b=_0xfb996e;if(V(_0x136cd7)!=_0x38d66b(0x19d)||!_0x136cd7)return _0x136cd7;var _0x14514f=_0x136cd7[Symbol[_0x38d66b(0x1ad)]];if(_0x14514f!==void 0x0){var _0x82c877=_0x14514f[_0x38d66b(0x16e)](_0x136cd7,_0x49fe9d||_0x38d66b(0x1ae));if(V(_0x82c877)!=_0x38d66b(0x19d))return _0x82c877;throw TypeError(_0x38d66b(0x124));}return(_0x49fe9d===_0x38d66b(0x12e)?String:Number)(_0x136cd7);}function ue(_0x1f2c5d){const _0x3237e0=_0xfb996e;var _0x34e4b0=le(_0x1f2c5d,_0x3237e0(0x12e));return V(_0x34e4b0)=='symbol'?_0x34e4b0:_0x34e4b0+'';}function H(_0x29d3b2,_0x2ed627,_0x2437b3){const _0x5af7fa=_0xfb996e;return(_0x2ed627=ue(_0x2ed627))in _0x29d3b2?Object[_0x5af7fa(0xfd)](_0x29d3b2,_0x2ed627,{'value':_0x2437b3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x29d3b2[_0x2ed627]=_0x2437b3,_0x29d3b2;}function U(_0x433d07,_0x23c76a){return function(_0x1825c6,_0x1816e4){_0x23c76a(_0x1825c6,_0x1816e4,_0x433d07);};}function W(_0x3f84e7,_0x508b19,_0x3ae4ad,_0x3c18f0){const _0x41db62=_0xfb996e;var _0x5cb6a3=arguments[_0x41db62(0x10e)],_0x2de287=_0x5cb6a3<0x3?_0x508b19:_0x3c18f0===null?_0x3c18f0=Object['getOwnPropertyDescriptor'](_0x508b19,_0x3ae4ad):_0x3c18f0,_0x4b4581;if(typeof Reflect==_0x41db62(0x19d)&&typeof Reflect[_0x41db62(0x115)]==_0x41db62(0x1b9))_0x2de287=Reflect[_0x41db62(0x115)](_0x3f84e7,_0x508b19,_0x3ae4ad,_0x3c18f0);else{for(var _0x45b2fc=_0x3f84e7['length']-0x1;_0x45b2fc>=0x0;_0x45b2fc--)(_0x4b4581=_0x3f84e7[_0x45b2fc])&&(_0x2de287=(_0x5cb6a3<0x3?_0x4b4581(_0x2de287):_0x5cb6a3>0x3?_0x4b4581(_0x508b19,_0x3ae4ad,_0x2de287):_0x4b4581(_0x508b19,_0x3ae4ad))||_0x2de287);}return _0x5cb6a3>0x3&&_0x2de287&&Object[_0x41db62(0xfd)](_0x508b19,_0x3ae4ad,_0x2de287),_0x2de287;}const G=_0xfb996e(0x157),K=_0xfb996e(0x184);let q=class extends _0x6a89c1{constructor(_0xda7d06,_0x55456d,_0x55104d,_0x29c2ca,_0x454412,_0x499f94,_0x43774d,_0x23e926,_0x44c727,_0x10787e){const _0x193a98=_0xfb996e;super(),this[_0x193a98(0xf3)]=_0xda7d06,this[_0x193a98(0x171)]=_0x55456d,this[_0x193a98(0xf8)]=_0x55104d,this[_0x193a98(0x15e)]=_0x29c2ca,this[_0x193a98(0x16c)]=_0x454412,this[_0x193a98(0x1b2)]=_0x499f94,this['_componentManager']=_0x43774d,this[_0x193a98(0x14b)]=_0x23e926,this[_0x193a98(0x170)]=_0x44c727,this[_0x193a98(0x13e)]=_0x10787e,H(this,_0x193a98(0xf0),new _0xea1916(!0x1)),H(this,_0x193a98(0x139),new _0xea1916({})),H(this,'_config$',new _0xea1916({})),H(this,_0x193a98(0x175),new _0xea1916('')),H(this,'_handleConfigSave',async _0x8cf801=>{const _0x365cf3=_0x193a98;this['_loading$'][_0x365cf3(0x123)](!0x0);try{var _0x2b57db,_0x15baa1;let _0x5ea83c=await this[_0x365cf3(0x13f)](_0x8cf801);if(!_0x5ea83c[_0x365cf3(0xff)]){this[_0x365cf3(0x1b2)]['show']({'type':_0x1aeee4['Error'],'content':_0x5ea83c['errorMessage']||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x8cf801[_0x365cf3(0x165)]?await this[_0x365cf3(0x15e)][_0x365cf3(0x172)](G,_0x8cf801[_0x365cf3(0x165)][_0x365cf3(0x1ba)]()):await this[_0x365cf3(0x15e)][_0x365cf3(0xf1)](G),this[_0x365cf3(0x175)][_0x365cf3(0x123)](((_0x2b57db=_0x8cf801['apiKey'])==null?void 0x0:_0x2b57db[_0x365cf3(0x1ba)]())||''),this[_0x365cf3(0x13e)][_0x365cf3(0xe2)]({'Authorization':_0x365cf3(0x145)+((_0x15baa1=_0x8cf801[_0x365cf3(0x165)])==null?void 0x0:_0x15baa1[_0x365cf3(0x1ba)]())}),this[_0x365cf3(0x1b2)][_0x365cf3(0x103)]({'type':_0x1aeee4[_0x365cf3(0x178)],'content':this[_0x365cf3(0x14b)]['t'](_0x365cf3(0x1ac))}),setTimeout(()=>{const _0x4ca09d=_0x365cf3;this['_dialogService'][_0x4ca09d(0x17c)](K);},0x320);}catch(_0x23c4b7){this[_0x365cf3(0x170)]['error'](_0x365cf3(0x10f),_0x23c4b7),this[_0x365cf3(0x1b2)][_0x365cf3(0x103)]({'type':_0x1aeee4[_0x365cf3(0x150)],'content':this[_0x365cf3(0x14b)]['t'](_0x365cf3(0xd7))});}finally{this[_0x365cf3(0xf0)]['next'](!0x1);}}),this['_initConfigSync'](),this[_0x193a98(0x15f)](),this['_registerComponent']();}[_0xfb996e(0x15a)](){const _0x4ce4ae=_0xfb996e;let _0x52aba0=this[_0x4ce4ae(0xf8)][_0x4ce4ae(0x118)](z);_0x52aba0!=null&&_0x52aba0['showDeveloperTools']&&this[_0x4ce4ae(0x16c)][_0x4ce4ae(0x1ab)]({'id':K,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':_0x4ce4ae(0x128)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x186eaa=_0x4ce4ae;this[_0x186eaa(0x16c)]['close'](K);}});}[_0xfb996e(0x19e)](){const _0x5ba20b=_0xfb996e;return this[_0x5ba20b(0x139)]['value'];}[_0xfb996e(0x107)](){const _0x1bfa1d=_0xfb996e;this['disposeWithMe'](this[_0x1bfa1d(0xf5)][_0x1bfa1d(0x15b)](_0x1bfa1d(0x128),this[_0x1bfa1d(0xe8)]()));}['_createConfigPanelComponent'](){return _0xaa714c(()=>{const _0x4e3b89=_0x5d68;var _0x102599,_0x5649ee,_0x180e05;return _0x2dd2fc(R,{'config':this[_0x4e3b89(0x169)]['value'],'mcpCoreConfig':this[_0x4e3b89(0x139)][_0x4e3b89(0x108)],'currentApiKey$':this[_0x4e3b89(0x175)],'onSave':this['_handleConfigSave'],'loading':this['_loading$'][_0x4e3b89(0x108)],'connectionStatus$':(_0x102599=this[_0x4e3b89(0x13e)])==null?void 0x0:_0x102599[_0x4e3b89(0x16f)],'connectionError$':(_0x5649ee=this[_0x4e3b89(0x13e)])==null?void 0x0:_0x5649ee['connectionError$'],'currentSessionId$':(_0x180e05=this[_0x4e3b89(0x13e)])==null?void 0x0:_0x180e05['sessionId$']});},this['_injector']);}[_0xfb996e(0x109)](){const _0xd266b4=_0xfb996e;this[_0xd266b4(0x1af)](this[_0xd266b4(0xf8)][_0xd266b4(0x161)](_0x1ee857)[_0xd266b4(0x1b1)](_0x4131de=>{const _0x1e08eb=_0xd266b4;this[_0x1e08eb(0x139)][_0x1e08eb(0x123)](_0x4131de||{});}));let _0x260c9f=this['_configService'][_0xd266b4(0x118)](_0x1ee857);this[_0xd266b4(0x139)][_0xd266b4(0x123)](_0x260c9f||{}),this[_0xd266b4(0x1af)](this[_0xd266b4(0xf8)][_0xd266b4(0x161)](z)[_0xd266b4(0x1b1)](_0x21548d=>{const _0x215abf=_0xd266b4;this[_0x215abf(0x169)][_0x215abf(0x123)](_0x21548d||{});}));let _0x3a88da=this['_configService']['getConfig'](z);this[_0xd266b4(0x169)][_0xd266b4(0x123)](_0x3a88da||{});}async[_0xfb996e(0x15f)](){const _0x15551b=_0xfb996e;let _0x550e2b=this['_configService'][_0x15551b(0x118)](z);if(!(_0x550e2b!=null&&_0x550e2b[_0x15551b(0x1a6)]))return;let _0x1e6e1f=await this[_0x15551b(0x15e)][_0x15551b(0xe1)](G);_0x1e6e1f&&(this[_0x15551b(0x13e)][_0x15551b(0xe2)]({'Authorization':_0x15551b(0x145)+_0x1e6e1f}),this['_apiKey$'][_0x15551b(0x123)](_0x1e6e1f));}async[_0xfb996e(0x13f)](_0x5d86f1){const _0x4e2f38=_0xfb996e;if(!_0x5d86f1[_0x4e2f38(0x165)]||_0x5d86f1[_0x4e2f38(0x165)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x5d86f1[_0x4e2f38(0x165)][_0x4e2f38(0x1ba)]()[_0x4e2f38(0x10e)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4e2f38(0x14b)]['t'](_0x4e2f38(0x19f))};try{let _0x2a9982=await this[_0x4e2f38(0xf3)][_0x4e2f38(0x155)](_0x4f5f2a)[_0x4e2f38(0xe7)](_0x5d86f1[_0x4e2f38(0x165)][_0x4e2f38(0x1ba)]());return _0x2a9982[_0x4e2f38(0xff)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2a9982[_0x4e2f38(0x1a8)]||this[_0x4e2f38(0x14b)]['t'](_0x4e2f38(0x121))};}catch(_0x168158){return console[_0x4e2f38(0x138)](_0x4e2f38(0x1a7),_0x168158),{'isValid':!0x0};}}};q=W([U(0x0,_0x59ad70(_0x37b342)),U(0x1,_0x2785c0),U(0x2,_0xcae5bb),U(0x3,_0x5b47d9),U(0x4,_0x424255),U(0x5,_0x412477),U(0x6,_0x59ad70(_0x2b04e5)),U(0x7,_0x59ad70(_0x2214f6)),U(0x8,_0x54826a),U(0x9,_0x59ad70(_0x4f5f2a))],q);const J={'id':_0xfb996e(0x1a1),'type':_0x315ca4[_0xfb996e(0x1b7)],'handler':async(_0x129d53,_0x5db921)=>(_0x129d53[_0xfb996e(0x155)](q)[_0xfb996e(0x15a)](),!0x0)};function Y(_0x40b31d,_0x4907e7){const _0x2bb808=_0xfb996e;switch(_0x40b31d){case _0x476fe9[_0x2bb808(0x168)]:return'mcpStatus.disconnected';case _0x476fe9[_0x2bb808(0x153)]:return _0x2bb808(0x152);case _0x476fe9[_0x2bb808(0x120)]:return _0x2bb808(0x19b);case _0x476fe9[_0x2bb808(0x11c)]:switch(_0x4907e7){case _0xb4d197[_0x2bb808(0xe0)]:return _0x2bb808(0xee);case _0xb4d197['SESSION_ID_OCCUPIED']:return _0x2bb808(0x114);case _0xb4d197[_0x2bb808(0x144)]:return'mcpStatus.networkError';case _0xb4d197[_0x2bb808(0xd8)]:return _0x2bb808(0xda);default:return _0x2bb808(0xfe);}case _0x476fe9[_0x2bb808(0x1b4)]:return _0x2bb808(0x143);default:return _0x2bb808(0x193);}}function de(_0x59e998,_0xee92a5,_0x774e53,_0x2251fa=!0x0){const _0x54d81e=_0xfb996e;let _0x3203da=Y(_0x59e998,_0xee92a5),_0x50a45f=_0x774e53['t'](_0x3203da);return _0x2251fa?_0x59e998===_0x476fe9[_0x54d81e(0x168)]&&_0xee92a5===_0xb4d197[_0x54d81e(0xe0)]?_0x50a45f+_0x54d81e(0x189)+_0x774e53['t'](_0x54d81e(0x13c)):_0x59e998===_0x476fe9[_0x54d81e(0x120)]?''+_0x50a45f:_0x59e998===_0x476fe9[_0x54d81e(0x168)]||_0x59e998===_0x476fe9[_0x54d81e(0x11c)]?_0x50a45f+_0x54d81e(0x189)+_0x774e53['t']('mcpStatus.clickToConnect'):_0x50a45f:_0x50a45f;}function fe(_0x27edbd){const _0x2a55e4=_0xfb996e;switch(_0x27edbd){case _0x476fe9[_0x2a55e4(0x120)]:return _0x2a55e4(0x158);case _0x476fe9[_0x2a55e4(0x153)]:case _0x476fe9['RETRYING']:return _0x2a55e4(0xdc);case _0x476fe9[_0x2a55e4(0x11c)]:case _0x476fe9[_0x2a55e4(0x168)]:return'univer-text-red-500';default:return _0x2a55e4(0x18d);}}function _0x5d68(_0x1e7fa8,_0x41a2a2){_0x1e7fa8=_0x1e7fa8-0xd6;const _0x1e3f78=_0x1e3f();let _0x5d68b2=_0x1e3f78[_0x1e7fa8];return _0x5d68b2;}function X(_0x3d60b4){const _0x13136d=_0xfb996e;let {status$:_0x529fd8,error$:_0x3e78b4,onConfigure:_0x2d1618,showClickable:_0x22705c=!0x0}=_0x3d60b4,_0x43349c=_0x99f738(_0x529fd8,_0x476fe9['DISCONNECTED']),_0x5d4b4e=_0x99f738(_0x3e78b4,_0xb4d197[_0x13136d(0x14c)]),_0x2a59e1=_0x139827(_0x2214f6),_0x5e8f3a=_0x43349c===_0x476fe9[_0x13136d(0x120)];_0x43349c===_0x476fe9[_0x13136d(0x153)]||_0x476fe9[_0x13136d(0x1b4)];let _0x55f92a=_0x2a59e1['t'](Y(_0x43349c,_0x5d4b4e)),_0x1d05cc=de(_0x43349c,_0x5d4b4e,_0x2a59e1,_0x22705c),_0x24024a=fe(_0x43349c),_0x371f52=_0x2dd2fc(_0x5e8f3a?_0x1a0756:_0x314932,{}),_0x13f24d=_0x5be9f2(()=>{_0x22705c&&_0x2d1618&&_0x2d1618();},[_0x22705c,_0x2d1618]);function _0x2fddf3(){const _0x574bf3=_0x13136d;return _0x1d64b9('div',{'className':_0x25d26d(_0x574bf3(0x1b5),_0x22705c&&_0x2d1618&&_0x574bf3(0x106)),'role':_0x574bf3(0x18f),'onClick':_0x22705c&&_0x2d1618?_0x13f24d:void 0x0,'children':[_0x2dd2fc('div',{'className':_0x25d26d(_0x574bf3(0x127),_0x24024a),'children':_0x371f52}),_0x2dd2fc(_0x574bf3(0x13d),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x55f92a})]});}return _0x2dd2fc(_0x3eb85a,{'title':_0x1d05cc,'placement':_0x13136d(0x135),'children':_0x2fddf3()});}let Z=class extends _0x6a89c1{constructor(_0x561f21,_0x5246f7,_0x4530de,_0x549c96){const _0x233d0e=_0xfb996e;super(),this[_0x233d0e(0xf3)]=_0x561f21,this[_0x233d0e(0x140)]=_0x5246f7,this[_0x233d0e(0x171)]=_0x4530de,this[_0x233d0e(0xf8)]=_0x549c96,this[_0x233d0e(0x1a5)](),this[_0x233d0e(0x136)]();}[_0xfb996e(0x1a5)](){const _0x4e8c85=_0xfb996e;let _0x391951=this[_0x4e8c85(0xf8)][_0x4e8c85(0x118)](z);_0x391951!=null&&_0x391951[_0x4e8c85(0x1a6)]&&(this[_0x4e8c85(0x140)]['enableAutoConnect']=!0x1);}[_0xfb996e(0x136)](){const _0x8606ac=_0xfb996e;let _0x3d04ce=this['_configService'][_0x8606ac(0x118)](z);(_0x3d04ce==null?void 0x0:_0x3d04ce['showStatus'])!==!0x1&&this[_0x8606ac(0x1af)](this[_0x8606ac(0x171)][_0x8606ac(0x167)](_0xadbc61[_0x8606ac(0x182)],()=>{const _0xdeb53e=_0x8606ac;var _0x91ff82;return _0xaa714c(pe({'status$':this[_0xdeb53e(0x140)][_0xdeb53e(0x16f)],'error$':this[_0xdeb53e(0x140)]['connectionError$'],'onConfigure':()=>this[_0xdeb53e(0xeb)](),'showClickable':(_0x91ff82=_0x3d04ce==null?void 0x0:_0x3d04ce[_0xdeb53e(0x1a6)])==null?!0x1:_0x91ff82}),this[_0xdeb53e(0xf3)]);}));}['_handleConfigure'](){const _0x380a86=_0xfb996e;this[_0x380a86(0xf3)][_0x380a86(0x155)](q)[_0x380a86(0x15a)]();}};Z=W([U(0x0,_0x59ad70(_0x37b342)),U(0x1,_0x59ad70(_0x4f5f2a)),U(0x2,_0x2785c0),U(0x3,_0xcae5bb)],Z);function pe(_0x130bed){let {status$:_0x43dc0a,error$:_0x3924cf,onConfigure:_0x134c54,showClickable:_0x3d3b67}=_0x130bed;return function(){return _0x2dd2fc(X,{'status$':_0x43dc0a,'error$':_0x3924cf,'onConfigure':_0x134c54,'showClickable':_0x3d3b67});};}function me(_0x5dfa2c){const _0xeb4a49=_0xfb996e;return{'id':J['id'],'type':_0x58cdca[_0xeb4a49(0x1b3)],'icon':'MenuIcon','title':_0xeb4a49(0x18b),'tooltip':_0xeb4a49(0x18b)};}const he={[_0x26ee93[_0xfb996e(0x12a)]]:{[J['id']]:{'order':0xa,'menuItemFactory':me}}};let Q=class extends _0x6a89c1{constructor(_0x1688eb,_0x102ad9){const _0x1e5269=_0xfb996e;super(),this[_0x1e5269(0xf2)]=_0x1688eb,this['_menuManagerService']=_0x102ad9,this[_0x1e5269(0x177)](),this[_0x1e5269(0xfc)]();}[_0xfb996e(0x177)](){const _0x2ea97d=_0xfb996e;[J][_0x2ea97d(0x187)](_0x5a2040=>{const _0x3db437=_0x2ea97d;this[_0x3db437(0x1af)](this['_commandService'][_0x3db437(0x197)](_0x5a2040));});}[_0xfb996e(0xfc)](){const _0x20e7e6=_0xfb996e;this[_0x20e7e6(0x186)][_0x20e7e6(0x181)](he);}};Q=W([U(0x0,_0x30bcd1),U(0x1,_0x52a5ea)],Q);var ge=_0xfb996e(0x17f),_e='1.0.0-alpha.0';let $=class extends _0x5417cd{constructor(_0x42cacb=B,_0x2f8252,_0x232deb,_0x35b529,_0x1a70ed,_0x127ca3){const _0x3a4536=_0xfb996e;super(),this[_0x3a4536(0x110)]=_0x42cacb,this[_0x3a4536(0xf3)]=_0x2f8252,this[_0x3a4536(0xf8)]=_0x232deb,this[_0x3a4536(0x171)]=_0x35b529,this[_0x3a4536(0x15e)]=_0x1a70ed,this['_localeService']=_0x127ca3;let {..._0xea25f1}=_0x195429({},B,this[_0x3a4536(0x110)]);this['_configService'][_0x3a4536(0x148)](z,_0xea25f1);}async[_0xfb996e(0x163)](){const _0x2dbc91=_0xfb996e;let _0x5af662=[[Z],[q],[Q]];this['_injector'][_0x2dbc91(0x11b)](_0x4e5159)||_0x5af662['push']([_0x4e5159,{'useClass':_0x1c3c2c}]),_0x5af662[_0x2dbc91(0x187)](_0x1e1334=>this[_0x2dbc91(0xf3)][_0x2dbc91(0xdb)](_0x1e1334)),this[_0x2dbc91(0xf3)][_0x2dbc91(0x155)](Z),this[_0x2dbc91(0xf3)][_0x2dbc91(0x155)](q),this[_0x2dbc91(0xf3)][_0x2dbc91(0x155)](Q);}};H($,_0xfb996e(0x16b),_0xfb996e(0x126)),H($,_0xfb996e(0x19c),ge),H($,_0xfb996e(0xe6),_e),$=W([_0xe38ea0(_0x2629f3),U(0x1,_0x59ad70(_0x37b342)),U(0x2,_0xcae5bb),U(0x3,_0x2785c0),U(0x4,_0x5b47d9),U(0x5,_0x59ad70(_0x2214f6))],$);export{R as MCPConfigPanel,q as MCPConfigUIController,Z as MCPConnectionUIController,X as MCPStatusDisplay,Q as MCPUIMenuController,J as OpenMCPConfigPanelCommand,$ as UniverMCPUIPlugin,_0x331a29 as enUS,_0x1d1e9c as zhCN};function _0x1e3f(){const _0x9e75a5=['mcpConfig.configInstructions','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpConfig.save','mcpConfig.connectionError.maxRetriesExceeded','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','bottom','_initStatusComponent','mcpConfig.connectionError.unauthorized','warn','_mcpCoreConfig$','https://mcp.univer.ai/mcp/?univer_session_id=','univer-text-xs\x20univer-text-gray-500','mcpStatus.clickToConfigure','div','_mcpConnectionController','_validateConfig','_connectionController','MCP\x20Configuration','univer-size-4','mcpStatus.retrying','NETWORK_ERROR','Bearer\x20','stringify','142338rKgJQw','setConfig','text','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_localeService','NONE','415530GZeywZ','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.authorizationDescription','Error','165wTzjBV','mcpStatus.connecting','CONNECTING','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','get','<SESSION_ID>','mcp.apiKey','univer-text-green-500','includes','showConfigPanel','register','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-text-red-500','_localStorageService','_loadStoredApiKey','univer-flex\x20univer-items-start\x20univer-gap-2','subscribeConfigValue$','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','onStarting','univer-bg-green-500','apiKey','90qXRtVZ','registerComponent','DISCONNECTED','_config$','mcpConfig.configStep3','pluginName','_dialogService','univer-size-2\x20univer-rounded-full','call','connectionStatus$','_logService','_uiPartsService','setItem','mcpConfig.saving','univer-text-blue-600','_apiKey$','mcpConfig.configStepTitle','_initializeCommands','Success','mcpServerUrl','http','mcpConfig.connectionStatus.disconnected','close','mcpConfig.connectionStatus.connected','univer-space-y-2','@univerjs-pro/mcp-ui','univer-font-medium','mergeMenu','HEADER_MENU','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcp-config-dialog','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_menuManagerService','forEach','mcpConfig.apiKeyHint','\x20-\x20','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpConfig.title','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-text-gray-500','mcpConfig.connectionError.networkError','button','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcp-ui.config','mcpConfig.connectionInfo','mcpStatus.unknown','univer-min-w-0\x20univer-flex-1','univer.ai','univer-flex\x20univer-items-start\x20univer-gap-3','registerCommand','univer-space-y-3','iterator','univer-flex-1','mcpStatus.connected','packageName','object','getCurrentConfig','mcpConfig.validation.apiKeyTooShort','univer-bg-blue-500','mcp-ui.command.openConfigPanel','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-flex\x20univer-gap-3','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_initAutoConnect','showDeveloperTools','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','error','mcpConfig.note1','mcpConfig.connectionError.sessionOccupied','open','mcpConfig.configSaved','toPrimitive','default','disposeWithMe','univer-space-y-4','subscribe','_messageService','BUTTON','RETRYING','univer-flex\x20univer-items-center','22uCmZjF','COMMAND','<API_KEY>','function','trim','https://console.univer.plus','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpConfig.configError','MAX_RETRIES_EXCEEDED','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','mcpStatus.maxRetriesExceeded','add','univer-text-yellow-500','off','univer-shrink-0\x20univer-text-red-500','2qbFlvk','UNAUTHORIZED','getItem','__setCustomHeaders','mcpConfig.apiApplyInfo.description','273yWRmRG','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','version','validateApiKey','_createConfigPanelComponent','univer.plus','univer-flex\x20univer-items-center\x20univer-gap-2','_handleConfigure','29979Zdspdw','noopener\x20noreferrer','mcpStatus.unauthorized','Configuration\x20Notes:','_loading$','removeItem','_commandService','_injector','label','_componentManager','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','symbol','_configService','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','_initializeMenus','defineProperty','mcpStatus.failed','isValid','univer-bg-gray-500','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-text-gray-400','show','mcpConfig.apiApplyInfo.getStarted','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-cursor-pointer\x20hover:univer-opacity-80','_registerComponent','value','_initConfigSync','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpConfig.apiApplyInfo.title','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Authorization:','length','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_config','univer-bg-red-500','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.configStep1','mcpStatus.sessionOccupied','decorate','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpConfig.configParameters','getConfig','11024904AsQlsH','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','has','FAILED','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','128824taQTbX','mcpConfig.connectionStatus.retrying','CONNECTED','mcpConfig.validation.invalidApiKey','pre','next','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MCP_UI_PLUGIN','univer-mr-2\x20univer-flex\x20univer-text-xl','MCPConfigPanel','prototype','OTHERS','225334RaCCML','522768PyEwQq','span','string'];_0x1e3f=function(){return _0x9e75a5;};return _0x1e3f();}
1
+ const _0x17c586=_0x3452;(function(_0x35cf13,_0x16bbab){const _0x1b804f=_0x3452,_0x4ea20b=_0x35cf13();while(!![]){try{const _0x5a1746=parseInt(_0x1b804f(0x280))/0x1*(-parseInt(_0x1b804f(0x247))/0x2)+parseInt(_0x1b804f(0x207))/0x3+parseInt(_0x1b804f(0x290))/0x4+parseInt(_0x1b804f(0x200))/0x5*(-parseInt(_0x1b804f(0x266))/0x6)+parseInt(_0x1b804f(0x251))/0x7+-parseInt(_0x1b804f(0x211))/0x8+parseInt(_0x1b804f(0x222))/0x9;if(_0x5a1746===_0x16bbab)break;else _0x4ea20b['push'](_0x4ea20b['shift']());}catch(_0x22108a){_0x4ea20b['push'](_0x4ea20b['shift']());}}}(_0x5522,0xeed4b));import _0x18d6f8 from'./locale/en-US.js';function _0x5522(){const _0x2eaeff=['univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','function','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_configService','univer-flex\x20univer-items-center','NETWORK_ERROR','18321615YJxVUG','_loadStoredApiKey','NONE','getOwnPropertyDescriptor','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','RETRYING','version','open','symbol','defineProperty','getConfig','prototype','length','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_createConfigPanelComponent','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpStatus.networkError','HEADER_MENU','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','BUTTON','univer-bg-red-500','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpStatus.clickToConnect','http','has','univer-text-xs\x20univer-text-gray-600','SESSION_ID_OCCUPIED','1.0.0-alpha.2','univer-text-xs\x20univer-text-gray-500','mcpConfig.connectionError.maxRetriesExceeded','univer-space-y-4','subscribeConfigValue$','univer-text-sm\x20univer-text-gray-500','warn','univer-text-green-500','_componentManager','https://console.univer.plus','1678qKOWei','UNAUTHORIZED','univer-flex\x20univer-items-center\x20univer-gap-3','mcpStatus.sessionOccupied','iterator','mcpConfig.connectionStatus.failed','COMMAND','univer-shrink-0\x20univer-text-red-500','_logService','_initializeCommands','5912466ToIGVC','_connectionController','univer-font-medium','_config','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','getCurrentConfig','isValid','_validateConfig','univer-bg-gray-500','disposeWithMe','MAX_RETRIES_EXCEEDED','push','registerCommand','mcpConfig.configInstructions','enableAutoConnect','_handleConfigure','removeItem','_initializeMenus','span','object','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','176406KEQUcd','OTHERS','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','errorMessage','DISCONNECTED','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','CONNECTED','Error','mcpStatus.retrying','mcpServerUrl','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpConfig.title','mergeMenu','Authorization:','mcpStatus.disconnected','pre','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','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','trim','_mcpConnectionController','_localStorageService','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','_uiPartsService','_localeService','mcpConfig.configError','univer-text-blue-600','2297INKYtT','mcpConfig.connectionStatus.disconnected','_mcpCoreConfig$','__setCustomHeaders','mcpConfig.validation.apiKeyRequired','mcpStatus.connected','Success','https://mcp.univer.ai/mcp/?univer_session_id=','_commandService','validateApiKey','button','mcpConfig.connectionInfo','univer-text-yellow-500','string','mcpConfig.note2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','3596864pOWcDK','mcpConfig.authorizationDescription','mcp-ui.command.openConfigPanel','mcpConfig.validation.apiKeyTooShort','univer-space-y-3','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','https://console.univer.ai','mcpConfig.configStep3','mcpConfig.sessionIdDescription','_initAutoConnect','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','apiKey','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-gap-3','_injector','value','mcpConfig.apiApplyInfo.description','get','mcpConfig.save','univer-space-y-2','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcp-ui.config','_messageService','connectionStatus$','setItem','_registerComponent','mcpConfig.apiApplyInfo.univerAiLabel','subscribe','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_menuManagerService','getItem','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpStatus.maxRetriesExceeded','bottom','Configuration\x20Notes:','@univerjs-pro/mcp-ui','decorate','_apiKey$','mcpConfig.configStepTitle','forEach','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Bearer\x20','mcpConfig.configSaved','constructor','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','show','univer.ai','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','div','univer-flex\x20univer-items-start\x20univer-gap-2','MCP\x20Configuration','CONNECTING','includes','<SESSION_ID>','mcpConfig.apiApplyInfo.title','univer-min-w-0\x20univer-flex-1','mcpConfig.connectionError.networkError','MCP_UI_PLUGIN','next','univer.plus','univer-shrink-0\x20univer-text-blue-500','univer-text-gray-500','univer-text-sm\x20univer-font-medium','_initConfigSync','univer-flex\x20univer-items-start\x20univer-gap-3','showConfigPanel','close','pluginName','mcpConfig.connectionError.sessionOccupied','text','showDeveloperTools','_dialogService','_loading$','mcpStatus.failed','connectionError$','univer-text-red-500','mcpConfig.connectionStatus.connected','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','<API_KEY>','mcpStatus.unauthorized','mcpConfig.description','5uqpoQv','mcpConfig.apiKey','FAILED','mcpConfig.validation.invalidApiKey','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpConfig.validation.invalidConfig','mcpStatus.unknown','1115436aFRvPH','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','default','univer-bg-blue-500','univer-space-y-5','label','toPrimitive','mcpStatus.clickToConfigure','registerComponent','9732528inbXxt','_config$','univer-size-2\x20univer-rounded-full','univer-flex\x20univer-items-center\x20univer-gap-2','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_handleConfigSave','add','mcpConfig.connectionStatus.connecting','MCPConfigPanel','noopener\x20noreferrer','mcpConfig.apiKeyPlaceholder'];_0x5522=function(){return _0x2eaeff;};return _0x5522();}import _0x44329b from'./locale/zh-CN.js';import{CommandType as _0x48130d,DependentOn as _0x2a21e6,Disposable as _0xdae7e5,ICommandService as _0x36e169,IConfigService as _0x51ed0c,ILocalStorageService as _0x2c466b,ILogService as _0x16f80d,Inject as _0x231d00,Injector as _0x55ec3d,LocaleService as _0x48657c,Plugin as _0x158d2d,merge as _0x1393ae}from'@univerjs/core';import{MCPConnectionController as _0x2846af,MCPConnectionError as _0x4597bf,MCPConnectionStatus as _0x1c7b34,MCP_PLUGIN_CONFIG_KEY as _0x18cf50,UniverMCPPlugin as _0x33ef67}from'@univerjs-pro/mcp';import{Button as _0x8e4d1d,Input as _0x16ca28,MessageType as _0x481a44,Tooltip as _0x49465c,clsx as _0x59158a}from'@univerjs/design';import{BuiltInUIPart as _0x427625,ComponentManager as _0x2b72fa,IDialogService as _0x277e35,IMenuManagerService as _0x3d03c8,IMessageService as _0x303ac3,IUIPartsService as _0x2a502a,MenuItemType as _0x20dfcd,RibbonStartGroup as _0x4f9ef8,connectInjector as _0x9ea2f0,useDependency as _0x1bf5ce,useObservable as _0x478e9d}from'@univerjs/ui';import{BehaviorSubject as _0x56f71a}from'rxjs';import{CheckMarkIcon as _0x2f9cd1,CloseIcon as _0x1913ed,HelpIcon as _0x3db151,OffLineIcon as _0x5e44bf,OnLineIcon as _0x1ecf22}from'@univerjs/icons';import{useCallback as _0x446f26,useState as _0x2938b8}from'react';import{jsx as _0xb17fc6,jsxs as _0x32efd0}from'react/jsx-runtime';import{ISocketService as _0x53b1ef,WebSocketService as _0x3d30b9}from'@univerjs/network';function R(_0x7c165d){const _0x25e6f1=_0x3452;var _0x4ab16b,_0x42ce2d;let {mcpCoreConfig:_0x4199c4,onSave:_0x31612b,loading:_0x31bbc2=!0x1,config:_0x3e38d2,connectionStatus$:_0x8fc804,connectionError$:_0x177bed,currentApiKey$:_0x2e7f7e,currentSessionId$:_0x5d8f16}=_0x7c165d,_0x18abef=_0x1bf5ce(_0x48657c),_0x230150=_0x478e9d(_0x8fc804,_0x1c7b34[_0x25e6f1(0x26a)]),_0xfdc96=_0x478e9d(_0x177bed,_0x4597bf['NONE']),_0x21ecc8=_0x478e9d(_0x5d8f16,''),[_0xf6ca4e,_0x1083f1]=_0x2938b8(_0x478e9d(_0x2e7f7e,'')||''),_0x4d5c2e=_0x3e38d2[_0x25e6f1(0x1f5)]&&_0x4199c4['mcpServerUrl']&&(_0x4199c4[_0x25e6f1(0x26f)][_0x25e6f1(0x1e3)](_0x25e6f1(0x1ea))||_0x4199c4[_0x25e6f1(0x26f)][_0x25e6f1(0x1e3)]('univer.ai')),_0x592102=(_0x4ab16b=_0x4199c4[_0x25e6f1(0x26f)])==null?void 0x0:_0x4ab16b[_0x25e6f1(0x1e3)](_0x25e6f1(0x1ea)),_0x2db6fe=(_0x42ce2d=_0x4199c4['mcpServerUrl'])==null?void 0x0:_0x42ce2d[_0x25e6f1(0x1e3)](_0x25e6f1(0x1dc)),_0x141d22=_0x592102?_0x25e6f1(0x246):_0x25e6f1(0x1b3),_0x40c771=_0x3e38d2[_0x25e6f1(0x1f5)]&&(_0x592102||_0x2db6fe),[_0x4e0291,_0x2ea3e0]=_0x2938b8(!_0xf6ca4e[_0x25e6f1(0x278)]()),_0x311ba1=(_0x965874,_0x4c8ea1)=>{const _0x1d3fe5=_0x25e6f1;if(_0x4c8ea1===_0x4597bf[_0x1d3fe5(0x248)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x965874){case _0x1c7b34[_0x1d3fe5(0x26c)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x1c7b34['CONNECTING']:case _0x1c7b34[_0x1d3fe5(0x227)]:return _0x1d3fe5(0x28f);case _0x1c7b34[_0x1d3fe5(0x202)]:return _0x1d3fe5(0x21c);default:return _0x1d3fe5(0x1da);}},_0x3da609=(_0x327946,_0x3bca4c)=>{const _0x14e504=_0x25e6f1;if(_0x3bca4c===_0x4597bf[_0x14e504(0x248)])return _0x14e504(0x236);switch(_0x327946){case _0x1c7b34[_0x14e504(0x26c)]:return'univer-bg-green-500';case _0x1c7b34[_0x14e504(0x1e2)]:case _0x1c7b34[_0x14e504(0x227)]:return _0x14e504(0x20b);case _0x1c7b34[_0x14e504(0x202)]:return _0x14e504(0x236);default:return _0x14e504(0x259);}},_0x5c48c7=_0x1fc865=>{const _0x15508a=_0x25e6f1;switch(_0x1fc865){case _0x1c7b34[_0x15508a(0x26c)]:return _0x18abef['t'](_0x15508a(0x1fb));case _0x1c7b34[_0x15508a(0x1e2)]:return _0x18abef['t'](_0x15508a(0x218));case _0x1c7b34[_0x15508a(0x202)]:return _0x18abef['t'](_0x15508a(0x24c));case _0x1c7b34[_0x15508a(0x227)]:return _0x18abef['t']('mcpConfig.connectionStatus.retrying');default:return _0x18abef['t'](_0x15508a(0x281));}},_0x39f775=_0x212b05=>{const _0x405de1=_0x25e6f1;switch(_0x212b05){case _0x4597bf[_0x405de1(0x248)]:return _0x18abef['t']('mcpConfig.connectionError.unauthorized');case _0x4597bf[_0x405de1(0x23c)]:return _0x18abef['t'](_0x405de1(0x1f3));case _0x4597bf[_0x405de1(0x221)]:return _0x18abef['t'](_0x405de1(0x1e7));case _0x4597bf[_0x405de1(0x25b)]:return _0x18abef['t'](_0x405de1(0x23f));default:return'';}},_0x2dc69d=_0x446f26(()=>{_0x31612b({..._0x4199c4,'apiKey':_0xf6ca4e['trim'](),'enableAuth':!0x0});},[_0x4199c4,_0xf6ca4e,!0x0,_0x31612b]),_0xb8ffe3=_0xf6ca4e[_0x25e6f1(0x278)]()[_0x25e6f1(0x22e)]>0x0;return _0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x208),'children':[_0xb17fc6('div',{'className':_0x25e6f1(0x268),'children':_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x249),'children':[_0xb17fc6('div',{'className':_0x25e6f1(0x204),'children':_0xb17fc6('span',{'className':'univer-text-white','children':'⚙'})}),_0xb17fc6(_0x25e6f1(0x1df),{'children':_0xb17fc6('p',{'className':_0x25e6f1(0x242),'children':_0x18abef['t'](_0x25e6f1(0x1ff))})})]})}),_0x32efd0(_0x25e6f1(0x1df),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x59158a(_0x25e6f1(0x27b),_0x311ba1(_0x230150,_0xfdc96)),'children':_0x32efd0('div',{'className':_0x25e6f1(0x214),'children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x59158a(_0x25e6f1(0x213),_0x3da609(_0x230150,_0xfdc96))}),_0xb17fc6('span',{'className':_0x25e6f1(0x1ed),'children':_0x5c48c7(_0x230150)})]})}),_0xfdc96!==_0x4597bf[_0x25e6f1(0x224)]&&(_0x230150===_0x1c7b34[_0x25e6f1(0x202)]||_0xfdc96===_0x4597bf[_0x25e6f1(0x248)])&&_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x276),'children':_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1e0),'children':[_0xb17fc6('span',{'className':_0x25e6f1(0x24e),'children':'⚠️'}),_0xb17fc6('p',{'className':_0x25e6f1(0x1cc),'children':_0x39f775(_0xfdc96)})]})})]}),_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1fc),'children':_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x20c),'children':[_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1c0),'children':[_0x32efd0(_0x25e6f1(0x20d),{'className':_0x25e6f1(0x215),'children':[_0xb17fc6(_0x25e6f1(0x263),{'children':'🔑'}),'\x20',_0x18abef['t'](_0x25e6f1(0x201)),_0xb17fc6(_0x25e6f1(0x263),{'className':_0x25e6f1(0x1fa),'children':'*'}),_0x4d5c2e&&_0xb17fc6('a',{'className':_0x25e6f1(0x265),'title':_0x18abef['t'](_0x25e6f1(0x1e5)),'role':_0x25e6f1(0x28a),'onClick':()=>_0x2ea3e0(!0x0),'children':_0xb17fc6(_0x3db151,{})})]}),_0xb17fc6(_0x16ca28,{'type':_0x25e6f1(0x1f4),'placeholder':_0x18abef['t'](_0x25e6f1(0x21b)),'value':_0xf6ca4e,'disabled':_0x31bbc2,'autoComplete':'off','onChange':_0x1083f1}),_0xb17fc6('p',{'className':_0x25e6f1(0x23e),'children':_0x18abef['t']('mcpConfig.apiKeyHint')})]}),_0x4d5c2e&&_0x4e0291&&_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x277),'children':[_0xb17fc6('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x25e6f1(0x28a),'onClick':()=>_0x2ea3e0(!0x1),'children':_0xb17fc6(_0x1913ed,{'className':'univer-size-4'})}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1de),'children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0xb17fc6(_0x25e6f1(0x263),{'className':_0x25e6f1(0x27f),'children':'🚀'})}),_0x32efd0(_0x25e6f1(0x1df),{'className':'univer-flex-1','children':[_0xb17fc6('h4',{'className':_0x25e6f1(0x255),'children':_0x18abef['t'](_0x25e6f1(0x1e5))}),_0xb17fc6('p',{'className':_0x25e6f1(0x234),'children':_0x18abef['t'](_0x25e6f1(0x1bd))}),_0xb17fc6(_0x25e6f1(0x1df),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x40c771&&_0x32efd0('a',{'className':'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','href':_0x141d22,'target':'_blank','rel':_0x25e6f1(0x21a),'children':[_0xb17fc6(_0x25e6f1(0x263),{'children':'🤖'}),_0x18abef['t'](_0x25e6f1(0x1c7)),_0xb17fc6('span',{'className':'univer-text-gray-400','children':'↗'})]})}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1dd),'children':['✨','\x20',_0x18abef['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x3e38d2[_0x25e6f1(0x1f5)]&&_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x226),'children':[_0x32efd0('h4',{'className':_0x25e6f1(0x1c9),'children':[_0xb17fc6('span',{'children':'🔗'}),'\x20',_0x18abef['t'](_0x25e6f1(0x28b))]}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x240),'children':[_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x294),'children':[_0xb17fc6('p',{'className':_0x25e6f1(0x23b),'children':_0x18abef['t'](_0x25e6f1(0x25e))}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1c0),'children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1b7),'children':_0x18abef['t'](_0x25e6f1(0x1d3))}),_0x32efd0('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x32efd0('div',{'className':_0x25e6f1(0x214),'children':[_0xb17fc6(_0x25e6f1(0x263),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x18abef['t']('mcpConfig.configStep1')]}),_0x32efd0('div',{'className':_0x25e6f1(0x214),'children':[_0xb17fc6(_0x25e6f1(0x263),{'className':_0x25e6f1(0x1d5),'children':'2'}),_0x18abef['t']('mcpConfig.configStep2')]}),_0x32efd0('div',{'className':_0x25e6f1(0x214),'children':[_0xb17fc6('span',{'className':_0x25e6f1(0x1d5),'children':'3'}),_0x18abef['t'](_0x25e6f1(0x1b4))]})]})]})]}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1c0),'children':[_0xb17fc6('div',{'className':_0x25e6f1(0x1b7),'children':_0x25e6f1(0x1e1)}),_0xb17fc6(_0x25e6f1(0x1df),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0xb17fc6(_0x25e6f1(0x275),{'className':_0x25e6f1(0x21e),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x25e6f1(0x287)+(_0x21ecc8||_0x25e6f1(0x1e4)),'type':_0x25e6f1(0x239),'headers':{'Authorization':'Bearer\x20'+(_0xf6ca4e||_0x25e6f1(0x1fd))}}}},null,0x2)})})]}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x294),'children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x18abef['t']('mcpConfig.configParameters')}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1c0),'children':[_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1ef),'children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1d6)}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1e6),'children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x209),'children':'univer_session_id:'}),_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x23e),'children':_0x18abef['t'](_0x25e6f1(0x1b5))})]})]}),_0x32efd0('div',{'className':_0x25e6f1(0x1ef),'children':[_0xb17fc6('div',{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1e6),'children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x209),'children':_0x25e6f1(0x273)}),_0xb17fc6('div',{'className':_0x25e6f1(0x23e),'children':_0x18abef['t'](_0x25e6f1(0x291))})]})]})]})]})]})]}),_0xb17fc6(_0x8e4d1d,{'onClick':_0x2dc69d,'disabled':!_0xb8ffe3||_0x31bbc2,'className':_0x25e6f1(0x26b),'children':_0x31bbc2?_0x32efd0(_0x25e6f1(0x263),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0xb17fc6(_0x25e6f1(0x263),{'children':'⟲'}),_0x18abef['t']('mcpConfig.saving')]}):_0x32efd0('span',{'className':_0x25e6f1(0x214),'children':[_0xb17fc6(_0x2f9cd1,{}),_0x18abef['t'](_0x25e6f1(0x1bf))]})}),_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x1c1),'children':_0x32efd0('div',{'className':_0x25e6f1(0x1ba),'children':[_0xb17fc6(_0x25e6f1(0x263),{'className':_0x25e6f1(0x1eb),'children':'💡'}),_0x32efd0(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x231),'children':[_0xb17fc6(_0x25e6f1(0x1df),{'className':_0x25e6f1(0x253),'children':_0x25e6f1(0x1cf)}),_0x32efd0(_0x25e6f1(0x1df),{'children':['•',_0x18abef['t']('mcpConfig.note1')]}),_0x32efd0(_0x25e6f1(0x1df),{'children':['•',_0x18abef['t'](_0x25e6f1(0x28e))]})]})]})})]})})]});}const z=_0x17c586(0x1c2),B={'showDeveloperTools':!0x1,'showStatus':!0x0};function V(_0x1885f4){'@babel/helpers - typeof';const _0x4d053a=_0x17c586;return V=typeof Symbol==_0x4d053a(0x21d)&&typeof Symbol[_0x4d053a(0x24b)]==_0x4d053a(0x22a)?function(_0x382df2){return typeof _0x382df2;}:function(_0x153e4a){const _0x2ecf99=_0x4d053a;return _0x153e4a&&typeof Symbol==_0x2ecf99(0x21d)&&_0x153e4a[_0x2ecf99(0x1d9)]===Symbol&&_0x153e4a!==Symbol[_0x2ecf99(0x22d)]?_0x2ecf99(0x22a):typeof _0x153e4a;},V(_0x1885f4);}function le(_0x2c8a0d,_0x28e8e2){const _0x1be002=_0x17c586;if(V(_0x2c8a0d)!=_0x1be002(0x264)||!_0x2c8a0d)return _0x2c8a0d;var _0x45f4a2=_0x2c8a0d[Symbol[_0x1be002(0x20e)]];if(_0x45f4a2!==void 0x0){var _0x35bc25=_0x45f4a2['call'](_0x2c8a0d,_0x28e8e2||_0x1be002(0x20a));if(V(_0x35bc25)!=_0x1be002(0x264))return _0x35bc25;throw TypeError(_0x1be002(0x1b2));}return(_0x28e8e2===_0x1be002(0x28d)?String:Number)(_0x2c8a0d);}function ue(_0x41db73){const _0x130623=_0x17c586;var _0x272437=le(_0x41db73,_0x130623(0x28d));return V(_0x272437)=='symbol'?_0x272437:_0x272437+'';}function H(_0x588245,_0x19f42a,_0x237d91){const _0x14c990=_0x17c586;return(_0x19f42a=ue(_0x19f42a))in _0x588245?Object[_0x14c990(0x22b)](_0x588245,_0x19f42a,{'value':_0x237d91,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x588245[_0x19f42a]=_0x237d91,_0x588245;}function U(_0x3a80ae,_0x2ff19d){return function(_0x42f5d2,_0x9d0b33){_0x2ff19d(_0x42f5d2,_0x9d0b33,_0x3a80ae);};}function W(_0x21219b,_0x36a21d,_0x558d46,_0x26bab4){const _0x43937e=_0x17c586;var _0x415f45=arguments[_0x43937e(0x22e)],_0x584e59=_0x415f45<0x3?_0x36a21d:_0x26bab4===null?_0x26bab4=Object[_0x43937e(0x225)](_0x36a21d,_0x558d46):_0x26bab4,_0x3a4c46;if(typeof Reflect==_0x43937e(0x264)&&typeof Reflect['decorate']=='function')_0x584e59=Reflect[_0x43937e(0x1d1)](_0x21219b,_0x36a21d,_0x558d46,_0x26bab4);else{for(var _0x59b40f=_0x21219b[_0x43937e(0x22e)]-0x1;_0x59b40f>=0x0;_0x59b40f--)(_0x3a4c46=_0x21219b[_0x59b40f])&&(_0x584e59=(_0x415f45<0x3?_0x3a4c46(_0x584e59):_0x415f45>0x3?_0x3a4c46(_0x36a21d,_0x558d46,_0x584e59):_0x3a4c46(_0x36a21d,_0x558d46))||_0x584e59);}return _0x415f45>0x3&&_0x584e59&&Object['defineProperty'](_0x36a21d,_0x558d46,_0x584e59),_0x584e59;}const G='mcp.apiKey',K='mcp-config-dialog';let q=class extends _0xdae7e5{constructor(_0x53ea5c,_0xd654a1,_0x311f9d,_0x4e7364,_0x291cb2,_0x594a9a,_0x53fb5e,_0x1715fd,_0x8505c5,_0x1ddef7){const _0x3d39de=_0x17c586;super(),this[_0x3d39de(0x1bb)]=_0x53ea5c,this[_0x3d39de(0x27c)]=_0xd654a1,this['_configService']=_0x311f9d,this[_0x3d39de(0x27a)]=_0x4e7364,this[_0x3d39de(0x1f6)]=_0x291cb2,this[_0x3d39de(0x1c3)]=_0x594a9a,this[_0x3d39de(0x245)]=_0x53fb5e,this[_0x3d39de(0x27d)]=_0x1715fd,this[_0x3d39de(0x24f)]=_0x8505c5,this['_mcpConnectionController']=_0x1ddef7,H(this,_0x3d39de(0x1f7),new _0x56f71a(!0x1)),H(this,_0x3d39de(0x282),new _0x56f71a({})),H(this,_0x3d39de(0x212),new _0x56f71a({})),H(this,_0x3d39de(0x1d2),new _0x56f71a('')),H(this,_0x3d39de(0x216),async _0x316322=>{const _0x517d5a=_0x3d39de;this['_loading$'][_0x517d5a(0x1e9)](!0x0);try{var _0x4b6864,_0x3f41bc;let _0x350098=await this[_0x517d5a(0x258)](_0x316322);if(!_0x350098[_0x517d5a(0x257)]){this[_0x517d5a(0x1c3)]['show']({'type':_0x481a44['Error'],'content':_0x350098[_0x517d5a(0x269)]||this['_localeService']['t'](_0x517d5a(0x205))});return;}_0x316322['apiKey']?await this[_0x517d5a(0x27a)][_0x517d5a(0x1c5)](G,_0x316322[_0x517d5a(0x1b8)][_0x517d5a(0x278)]()):await this[_0x517d5a(0x27a)][_0x517d5a(0x261)](G),this[_0x517d5a(0x1d2)][_0x517d5a(0x1e9)](((_0x4b6864=_0x316322[_0x517d5a(0x1b8)])==null?void 0x0:_0x4b6864[_0x517d5a(0x278)]())||''),this['_mcpConnectionController'][_0x517d5a(0x283)]({'Authorization':_0x517d5a(0x1d7)+((_0x3f41bc=_0x316322['apiKey'])==null?void 0x0:_0x3f41bc[_0x517d5a(0x278)]())}),this[_0x517d5a(0x1c3)][_0x517d5a(0x1db)]({'type':_0x481a44[_0x517d5a(0x286)],'content':this['_localeService']['t'](_0x517d5a(0x1d8))}),setTimeout(()=>{const _0x2791c3=_0x517d5a;this[_0x2791c3(0x1f6)][_0x2791c3(0x1f1)](K);},0x320);}catch(_0x5b2458){this[_0x517d5a(0x24f)]['error'](_0x517d5a(0x1b9),_0x5b2458),this['_messageService']['show']({'type':_0x481a44[_0x517d5a(0x26d)],'content':this[_0x517d5a(0x27d)]['t'](_0x517d5a(0x27e))});}finally{this[_0x517d5a(0x1f7)][_0x517d5a(0x1e9)](!0x1);}}),this[_0x3d39de(0x1ee)](),this['_loadStoredApiKey'](),this[_0x3d39de(0x1c6)]();}[_0x17c586(0x1f0)](){const _0x246b73=_0x17c586;let _0x22bbb5=this[_0x246b73(0x21f)][_0x246b73(0x22c)](z);_0x22bbb5!=null&&_0x22bbb5[_0x246b73(0x1f5)]&&this[_0x246b73(0x1f6)][_0x246b73(0x229)]({'id':K,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':_0x246b73(0x219)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0xfe7d44=_0x246b73;this[_0xfe7d44(0x1f6)]['close'](K);}});}[_0x17c586(0x256)](){const _0x555fd9=_0x17c586;return this['_mcpCoreConfig$'][_0x555fd9(0x1bc)];}[_0x17c586(0x1c6)](){const _0x1c1349=_0x17c586;this['disposeWithMe'](this[_0x1c1349(0x245)]['register']('MCPConfigPanel',this[_0x1c1349(0x230)]()));}[_0x17c586(0x230)](){const _0x3f8cd2=_0x17c586;return _0x9ea2f0(()=>{const _0x55e1ce=_0x3452;var _0x402b75,_0x4f88b8,_0x370bd4;return _0xb17fc6(R,{'config':this[_0x55e1ce(0x212)]['value'],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x55e1ce(0x1bc)],'currentApiKey$':this[_0x55e1ce(0x1d2)],'onSave':this[_0x55e1ce(0x216)],'loading':this[_0x55e1ce(0x1f7)][_0x55e1ce(0x1bc)],'connectionStatus$':(_0x402b75=this[_0x55e1ce(0x279)])==null?void 0x0:_0x402b75[_0x55e1ce(0x1c4)],'connectionError$':(_0x4f88b8=this['_mcpConnectionController'])==null?void 0x0:_0x4f88b8[_0x55e1ce(0x1f9)],'currentSessionId$':(_0x370bd4=this[_0x55e1ce(0x279)])==null?void 0x0:_0x370bd4['sessionId$']});},this[_0x3f8cd2(0x1bb)]);}[_0x17c586(0x1ee)](){const _0x10812a=_0x17c586;this['disposeWithMe'](this['_configService'][_0x10812a(0x241)](_0x18cf50)[_0x10812a(0x1c8)](_0x55bd2c=>{this['_mcpCoreConfig$']['next'](_0x55bd2c||{});}));let _0x1824e4=this[_0x10812a(0x21f)][_0x10812a(0x22c)](_0x18cf50);this[_0x10812a(0x282)]['next'](_0x1824e4||{}),this[_0x10812a(0x25a)](this['_configService'][_0x10812a(0x241)](z)[_0x10812a(0x1c8)](_0xe9c8e0=>{const _0x36df73=_0x10812a;this[_0x36df73(0x212)][_0x36df73(0x1e9)](_0xe9c8e0||{});}));let _0x174b5c=this[_0x10812a(0x21f)][_0x10812a(0x22c)](z);this[_0x10812a(0x212)]['next'](_0x174b5c||{});}async[_0x17c586(0x223)](){const _0x519365=_0x17c586;let _0x4cdace=this['_configService'][_0x519365(0x22c)](z);if(!(_0x4cdace!=null&&_0x4cdace[_0x519365(0x1f5)]))return;let _0x436571=await this[_0x519365(0x27a)][_0x519365(0x1cb)](G);_0x436571&&(this[_0x519365(0x279)]['__setCustomHeaders']({'Authorization':_0x519365(0x1d7)+_0x436571}),this[_0x519365(0x1d2)][_0x519365(0x1e9)](_0x436571));}async[_0x17c586(0x258)](_0xdfa713){const _0x3d2b4b=_0x17c586;if(!_0xdfa713[_0x3d2b4b(0x1b8)]||_0xdfa713['apiKey']['trim']()[_0x3d2b4b(0x22e)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x3d2b4b(0x27d)]['t'](_0x3d2b4b(0x284))};if(_0xdfa713['apiKey'][_0x3d2b4b(0x278)]()[_0x3d2b4b(0x22e)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3d2b4b(0x27d)]['t'](_0x3d2b4b(0x293))};try{let _0x52b02f=await this[_0x3d2b4b(0x1bb)][_0x3d2b4b(0x1be)](_0x2846af)[_0x3d2b4b(0x289)](_0xdfa713['apiKey'][_0x3d2b4b(0x278)]());return _0x52b02f[_0x3d2b4b(0x257)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x52b02f['error']||this[_0x3d2b4b(0x27d)]['t'](_0x3d2b4b(0x203))};}catch(_0x43f8f3){return console[_0x3d2b4b(0x243)](_0x3d2b4b(0x270),_0x43f8f3),{'isValid':!0x0};}}};q=W([U(0x0,_0x231d00(_0x55ec3d)),U(0x1,_0x2a502a),U(0x2,_0x51ed0c),U(0x3,_0x2c466b),U(0x4,_0x277e35),U(0x5,_0x303ac3),U(0x6,_0x231d00(_0x2b72fa)),U(0x7,_0x231d00(_0x48657c)),U(0x8,_0x16f80d),U(0x9,_0x231d00(_0x2846af))],q);const J={'id':_0x17c586(0x292),'type':_0x48130d[_0x17c586(0x24d)],'handler':async(_0x20f4fc,_0x4867b6)=>(_0x20f4fc[_0x17c586(0x1be)](q)[_0x17c586(0x1f0)](),!0x0)};function Y(_0x3e03ee,_0x1d6091){const _0x45b19a=_0x17c586;switch(_0x3e03ee){case _0x1c7b34[_0x45b19a(0x26a)]:return _0x45b19a(0x274);case _0x1c7b34[_0x45b19a(0x1e2)]:return'mcpStatus.connecting';case _0x1c7b34[_0x45b19a(0x26c)]:return _0x45b19a(0x285);case _0x1c7b34['FAILED']:switch(_0x1d6091){case _0x4597bf[_0x45b19a(0x248)]:return _0x45b19a(0x1fe);case _0x4597bf[_0x45b19a(0x23c)]:return _0x45b19a(0x24a);case _0x4597bf[_0x45b19a(0x221)]:return _0x45b19a(0x232);case _0x4597bf[_0x45b19a(0x25b)]:return _0x45b19a(0x1cd);default:return _0x45b19a(0x1f8);}case _0x1c7b34[_0x45b19a(0x227)]:return _0x45b19a(0x26e);default:return _0x45b19a(0x206);}}function de(_0x45246c,_0x10d172,_0x29de0f,_0x47f8bf=!0x0){const _0x293d48=_0x17c586;let _0xcf7e37=Y(_0x45246c,_0x10d172),_0x1e314b=_0x29de0f['t'](_0xcf7e37);return _0x47f8bf?_0x45246c===_0x1c7b34['DISCONNECTED']&&_0x10d172===_0x4597bf[_0x293d48(0x248)]?_0x1e314b+'\x20-\x20'+_0x29de0f['t'](_0x293d48(0x20f)):_0x45246c===_0x1c7b34[_0x293d48(0x26c)]?''+_0x1e314b:_0x45246c===_0x1c7b34[_0x293d48(0x26a)]||_0x45246c===_0x1c7b34[_0x293d48(0x202)]?_0x1e314b+'\x20-\x20'+_0x29de0f['t'](_0x293d48(0x238)):_0x1e314b:_0x1e314b;}function fe(_0x35ba40){const _0x93ce56=_0x17c586;switch(_0x35ba40){case _0x1c7b34[_0x93ce56(0x26c)]:return _0x93ce56(0x244);case _0x1c7b34['CONNECTING']:case _0x1c7b34[_0x93ce56(0x227)]:return _0x93ce56(0x28c);case _0x1c7b34[_0x93ce56(0x202)]:case _0x1c7b34[_0x93ce56(0x26a)]:return _0x93ce56(0x1fa);default:return _0x93ce56(0x1ec);}}function X(_0x4f6058){const _0x256d81=_0x17c586;let {status$:_0x495c38,error$:_0x549f20,onConfigure:_0x2e0176,showClickable:_0x37e7db=!0x0}=_0x4f6058,_0x46694b=_0x478e9d(_0x495c38,_0x1c7b34[_0x256d81(0x26a)]),_0x4f1029=_0x478e9d(_0x549f20,_0x4597bf[_0x256d81(0x224)]),_0x2d569c=_0x1bf5ce(_0x48657c),_0x2b6115=_0x46694b===_0x1c7b34[_0x256d81(0x26c)];_0x46694b===_0x1c7b34[_0x256d81(0x1e2)]||_0x1c7b34['RETRYING'];let _0x193f2b=_0x2d569c['t'](Y(_0x46694b,_0x4f1029)),_0x327a2f=de(_0x46694b,_0x4f1029,_0x2d569c,_0x37e7db),_0x551d12=fe(_0x46694b),_0x54e008=_0xb17fc6(_0x2b6115?_0x1ecf22:_0x5e44bf,{}),_0x48daca=_0x446f26(()=>{_0x37e7db&&_0x2e0176&&_0x2e0176();},[_0x37e7db,_0x2e0176]);function _0x5cf57b(){const _0x28877c=_0x256d81;return _0x32efd0(_0x28877c(0x1df),{'className':_0x59158a(_0x28877c(0x220),_0x37e7db&&_0x2e0176&&'univer-cursor-pointer\x20hover:univer-opacity-80'),'role':_0x28877c(0x28a),'onClick':_0x37e7db&&_0x2e0176?_0x48daca:void 0x0,'children':[_0xb17fc6(_0x28877c(0x1df),{'className':_0x59158a(_0x28877c(0x237),_0x551d12),'children':_0x54e008}),_0xb17fc6(_0x28877c(0x1df),{'className':_0x28877c(0x22f),'children':_0x193f2b})]});}return _0xb17fc6(_0x49465c,{'title':_0x327a2f,'placement':_0x256d81(0x1ce),'children':_0x5cf57b()});}let Z=class extends _0xdae7e5{constructor(_0x56850f,_0x4c6b3a,_0x465c30,_0x166bf8){const _0x1d0065=_0x17c586;super(),this[_0x1d0065(0x1bb)]=_0x56850f,this[_0x1d0065(0x252)]=_0x4c6b3a,this[_0x1d0065(0x27c)]=_0x465c30,this[_0x1d0065(0x21f)]=_0x166bf8,this[_0x1d0065(0x1b6)](),this['_initStatusComponent']();}['_initAutoConnect'](){const _0x5026f5=_0x17c586;let _0x300366=this[_0x5026f5(0x21f)][_0x5026f5(0x22c)](z);_0x300366!=null&&_0x300366[_0x5026f5(0x1f5)]&&(this['_connectionController'][_0x5026f5(0x25f)]=!0x1);}['_initStatusComponent'](){const _0x2890ea=_0x17c586;let _0x202ccd=this[_0x2890ea(0x21f)][_0x2890ea(0x22c)](z);(_0x202ccd==null?void 0x0:_0x202ccd['showStatus'])!==!0x1&&this[_0x2890ea(0x25a)](this[_0x2890ea(0x27c)][_0x2890ea(0x210)](_0x427625[_0x2890ea(0x233)],()=>{const _0x2820fc=_0x2890ea;var _0x3bb163;return _0x9ea2f0(pe({'status$':this[_0x2820fc(0x252)]['connectionStatus$'],'error$':this[_0x2820fc(0x252)][_0x2820fc(0x1f9)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x3bb163=_0x202ccd==null?void 0x0:_0x202ccd['showDeveloperTools'])==null?!0x1:_0x3bb163}),this[_0x2820fc(0x1bb)]);}));}[_0x17c586(0x260)](){const _0x53f2c1=_0x17c586;this[_0x53f2c1(0x1bb)][_0x53f2c1(0x1be)](q)[_0x53f2c1(0x1f0)]();}};Z=W([U(0x0,_0x231d00(_0x55ec3d)),U(0x1,_0x231d00(_0x2846af)),U(0x2,_0x2a502a),U(0x3,_0x51ed0c)],Z);function pe(_0x3aa65f){let {status$:_0x2118a2,error$:_0x42e898,onConfigure:_0x4686d3,showClickable:_0x10301d}=_0x3aa65f;return function(){return _0xb17fc6(X,{'status$':_0x2118a2,'error$':_0x42e898,'onConfigure':_0x4686d3,'showClickable':_0x10301d});};}function _0x3452(_0x2bf1aa,_0x9ec1c5){_0x2bf1aa=_0x2bf1aa-0x1b2;const _0x552227=_0x5522();let _0x34528e=_0x552227[_0x2bf1aa];return _0x34528e;}function me(_0x44e0ac){const _0x3524f2=_0x17c586;return{'id':J['id'],'type':_0x20dfcd[_0x3524f2(0x235)],'icon':'MenuIcon','title':_0x3524f2(0x271),'tooltip':_0x3524f2(0x271)};}const he={[_0x4f9ef8[_0x17c586(0x267)]]:{[J['id']]:{'order':0xa,'menuItemFactory':me}}};let Q=class extends _0xdae7e5{constructor(_0x558383,_0x41c06a){const _0x377457=_0x17c586;super(),this[_0x377457(0x288)]=_0x558383,this[_0x377457(0x1ca)]=_0x41c06a,this[_0x377457(0x250)](),this[_0x377457(0x262)]();}[_0x17c586(0x250)](){[J]['forEach'](_0x4656b0=>{const _0x36ca5d=_0x3452;this[_0x36ca5d(0x25a)](this[_0x36ca5d(0x288)][_0x36ca5d(0x25d)](_0x4656b0));});}[_0x17c586(0x262)](){const _0x102756=_0x17c586;this['_menuManagerService'][_0x102756(0x272)](he);}};Q=W([U(0x0,_0x36e169),U(0x1,_0x3d03c8)],Q);var ge=_0x17c586(0x1d0),_e=_0x17c586(0x23d);let $=class extends _0x158d2d{constructor(_0x3fddd6=B,_0x5c52d0,_0x48f4d5,_0x25a39b,_0x22411e,_0x13f3f8){const _0x5c79a0=_0x17c586;super(),this[_0x5c79a0(0x254)]=_0x3fddd6,this[_0x5c79a0(0x1bb)]=_0x5c52d0,this[_0x5c79a0(0x21f)]=_0x48f4d5,this['_uiPartsService']=_0x25a39b,this[_0x5c79a0(0x27a)]=_0x22411e,this[_0x5c79a0(0x27d)]=_0x13f3f8;let {..._0x453c64}=_0x1393ae({},B,this[_0x5c79a0(0x254)]);this[_0x5c79a0(0x21f)]['setConfig'](z,_0x453c64);}async['onStarting'](){const _0x299212=_0x17c586;let _0x3d7bb0=[[Z],[q],[Q]];this[_0x299212(0x1bb)][_0x299212(0x23a)](_0x53b1ef)||_0x3d7bb0[_0x299212(0x25c)]([_0x53b1ef,{'useClass':_0x3d30b9}]),_0x3d7bb0[_0x299212(0x1d4)](_0x48bc43=>this[_0x299212(0x1bb)][_0x299212(0x217)](_0x48bc43)),this[_0x299212(0x1bb)][_0x299212(0x1be)](Z),this['_injector']['get'](q),this['_injector'][_0x299212(0x1be)](Q);}};H($,_0x17c586(0x1f2),_0x17c586(0x1e8)),H($,'packageName',ge),H($,_0x17c586(0x228),_e),$=W([_0x2a21e6(_0x33ef67),U(0x1,_0x231d00(_0x55ec3d)),U(0x2,_0x51ed0c),U(0x3,_0x2a502a),U(0x4,_0x2c466b),U(0x5,_0x231d00(_0x48657c))],$);export{R as MCPConfigPanel,q as MCPConfigUIController,Z as MCPConnectionUIController,X as MCPStatusDisplay,Q as MCPUIMenuController,J as OpenMCPConfigPanelCommand,$ as UniverMCPUIPlugin,_0x18d6f8 as enUS,_0x44329b as zhCN};
@@ -1 +1 @@
1
- (function(_0x47f17d,_0x608fc7){const _0x405075=_0xae68,_0x2ab1c9=_0x47f17d();while(!![]){try{const _0x54a4df=parseInt(_0x405075(0x1ba))/0x1*(parseInt(_0x405075(0x1b8))/0x2)+parseInt(_0x405075(0x1b0))/0x3*(-parseInt(_0x405075(0x1b9))/0x4)+-parseInt(_0x405075(0x1b6))/0x5*(-parseInt(_0x405075(0x1b4))/0x6)+parseInt(_0x405075(0x1b2))/0x7+parseInt(_0x405075(0x1b7))/0x8*(parseInt(_0x405075(0x1b5))/0x9)+parseInt(_0x405075(0x1b1))/0xa*(-parseInt(_0x405075(0x1bb))/0xb)+parseInt(_0x405075(0x1b3))/0xc;if(_0x54a4df===_0x608fc7)break;else _0x2ab1c9['push'](_0x2ab1c9['shift']());}catch(_0x3e5206){_0x2ab1c9['push'](_0x2ab1c9['shift']());}}}(_0x404f,0xf1568));import _0x1ccf2d from'./en-US.js';const t=_0x1ccf2d;function _0xae68(_0x46597e,_0x153d0a){_0x46597e=_0x46597e-0x1b0;const _0x404f1e=_0x404f();let _0xae6880=_0x404f1e[_0x46597e];return _0xae6880;}function _0x404f(){const _0x2bd143=['5766474ovtfCj','2811177ynNvyE','5MCrsWi','24wfwjLy','2sRwZuJ','4xucBUZ','190345OuEOKJ','11138996kOgYYr','958731mgnbMx','10GLaruu','515095sDNJZz','1903980BRlRIq'];_0x404f=function(){return _0x2bd143;};return _0x404f();}export{t as default};
1
+ function _0x25f0(_0xa064d1,_0x2730fd){_0xa064d1=_0xa064d1-0xb1;const _0x572650=_0x5726();let _0x25f09e=_0x572650[_0xa064d1];return _0x25f09e;}(function(_0x5d008f,_0x122429){const _0x2aed3c=_0x25f0,_0x469512=_0x5d008f();while(!![]){try{const _0x30f9c3=-parseInt(_0x2aed3c(0xb7))/0x1+-parseInt(_0x2aed3c(0xb5))/0x2+-parseInt(_0x2aed3c(0xb3))/0x3+-parseInt(_0x2aed3c(0xb2))/0x4+parseInt(_0x2aed3c(0xb8))/0x5+parseInt(_0x2aed3c(0xb4))/0x6*(parseInt(_0x2aed3c(0xb6))/0x7)+parseInt(_0x2aed3c(0xb1))/0x8;if(_0x30f9c3===_0x122429)break;else _0x469512['push'](_0x469512['shift']());}catch(_0x5b994){_0x469512['push'](_0x469512['shift']());}}}(_0x5726,0x24b46));import _0x314cca from'./en-US.js';const t=_0x314cca;export{t as default};function _0x5726(){const _0x29243b=['2000832IbqSKA','546608dOJpCM','293259NVhZFB','94152XHlzun','61730tHbJyk','7wjNxSi','116833KlIHID','1333245PXsQwZ'];_0x5726=function(){return _0x29243b;};return _0x5726();}
@@ -1 +1 @@
1
- const _0x593cc5=_0x53e4;(function(_0x1d0930,_0x464848){const _0x1914bc=_0x53e4,_0x1b058c=_0x1d0930();while(!![]){try{const _0x2ee7ab=parseInt(_0x1914bc(0x1f0))/0x1+-parseInt(_0x1914bc(0x1f4))/0x2*(parseInt(_0x1914bc(0x1fd))/0x3)+-parseInt(_0x1914bc(0x1e7))/0x4+parseInt(_0x1914bc(0x1f9))/0x5*(-parseInt(_0x1914bc(0x1ca))/0x6)+parseInt(_0x1914bc(0x1f3))/0x7*(-parseInt(_0x1914bc(0x1e1))/0x8)+parseInt(_0x1914bc(0x1d8))/0x9*(parseInt(_0x1914bc(0x1ea))/0xa)+parseInt(_0x1914bc(0x1d5))/0xb*(parseInt(_0x1914bc(0x1ed))/0xc);if(_0x2ee7ab===_0x464848)break;else _0x1b058c['push'](_0x1b058c['shift']());}catch(_0x47219a){_0x1b058c['push'](_0x1b058c['shift']());}}}(_0xfc27,0xa6723));function _0x53e4(_0x3d05e5,_0x18c5e3){_0x3d05e5=_0x3d05e5-0x1c6;const _0xfc27ad=_0xfc27();let _0x53e4dc=_0xfc27ad[_0x3d05e5];return _0x53e4dc;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x593cc5(0x1f7),'connected':_0x593cc5(0x1da),'failed':_0x593cc5(0x1db),'retrying':_0x593cc5(0x1e0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x593cc5(0x1c8),'networkError':_0x593cc5(0x1df),'maxRetriesExceeded':_0x593cc5(0x1d1),'clickToConnect':_0x593cc5(0x1e6),'clickToConfigure':_0x593cc5(0x1d7)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x593cc5(0x1d6),'apiKey':_0x593cc5(0x1de),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x593cc5(0x1f1),'enableAuth':_0x593cc5(0x1e5),'enableAuthHint':_0x593cc5(0x1f2),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x593cc5(0x1c6),'configInstructions':_0x593cc5(0x1ce),'configStepTitle':_0x593cc5(0x1f5),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x593cc5(0x1e3),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x593cc5(0x1dc),'sessionIdDescription':_0x593cc5(0x1fb),'authorizationDescription':_0x593cc5(0x1fc),'configParameters':_0x593cc5(0x1eb),'maxRetries':_0x593cc5(0x1cd),'save':_0x593cc5(0x1c7),'saving':_0x593cc5(0x1e4),'note1':_0x593cc5(0x1e8),'note2':_0x593cc5(0x1cf),'configSaved':_0x593cc5(0x1fa),'configError':_0x593cc5(0x1ec),'apiApplyInfo':{'title':_0x593cc5(0x1d4),'description':_0x593cc5(0x1cb),'univerAiLabel':_0x593cc5(0x1dd),'getStarted':_0x593cc5(0x1c9)},'validation':{'apiKeyRequired':_0x593cc5(0x1f8),'apiKeyTooShort':_0x593cc5(0x1ee),'invalidConfig':_0x593cc5(0x1d0),'invalidApiKey':_0x593cc5(0x1d2)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x593cc5(0x1d9),'connected':_0x593cc5(0x1cc),'failed':'Connection\x20Failed','retrying':_0x593cc5(0x1e2)},'connectionError':{'unauthorized':_0x593cc5(0x1e9),'sessionOccupied':_0x593cc5(0x1ef),'networkError':_0x593cc5(0x1f6),'maxRetriesExceeded':_0x593cc5(0x1d3)}}};function _0xfc27(){const _0x436451=['API\x20Key','MCP:\x20Network\x20Error','MCP\x20Retrying...','373008hgJepI','Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Saving...','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','5032192ENtUYs','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','610zVTAfN','Configuration\x20Parameters:','Failed\x20to\x20save\x20configuration','6215688DOCbAQ','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1228101gNXaJp','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','63kNPypj','917918NXrmnR','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','API\x20key\x20is\x20required','3055180VisElm','Configuration\x20saved\x20successfully','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20with\x20Bearer\x20prefix.','3IwGNHn','MCP\x20Client\x20Configuration','Save\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','12puDIqh','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','Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','44JAmsjQ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Click\x20to\x20configure\x20MCP','109251GnFMIm','Connecting...','MCP\x20Connected','MCP\x20Connection\x20Failed','Session\x20ID','Univer\x20AI\x20Console'];_0xfc27=function(){return _0x436451;};return _0xfc27();}export{e as default};
1
+ function _0x1403(){const _0x557b48=['MCP:\x20Session\x20ID\x20Occupied','331314FyDirr','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','MCP\x20Disconnected','API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','2975154NMgIlz','2410600nNDkwR','9928996OVUcxB','MCP:\x20Unauthorized','836085uuBdwo','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed','3796212laIAmW','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','MCP\x20Client\x20Configuration','Univer\x20AI\x20Console','Connection\x20Failed','7273480Cynjva','6gqtfcE','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','9hJqSnl','Save\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','MCP:\x20Network\x20Error','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connecting...','Configuration\x20Steps:','MCP\x20Connected','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'];_0x1403=function(){return _0x557b48;};return _0x1403();}const _0x4c3d11=_0x554e;(function(_0x567b4c,_0x1eab24){const _0x5844a4=_0x554e,_0x259398=_0x567b4c();while(!![]){try{const _0x103263=parseInt(_0x5844a4(0x11f))/0x1*(parseInt(_0x5844a4(0x139))/0x2)+parseInt(_0x5844a4(0x143))/0x3+parseInt(_0x5844a4(0x146))/0x4+-parseInt(_0x5844a4(0x140))/0x5+-parseInt(_0x5844a4(0x13f))/0x6+-parseInt(_0x5844a4(0x141))/0x7+-parseInt(_0x5844a4(0x11e))/0x8*(-parseInt(_0x5844a4(0x127))/0x9);if(_0x103263===_0x1eab24)break;else _0x259398['push'](_0x259398['shift']());}catch(_0x5de921){_0x259398['push'](_0x259398['shift']());}}}(_0x1403,0xb3504));const e={'mcpStatus':{'disconnected':_0x4c3d11(0x13c),'connecting':_0x4c3d11(0x118),'connected':_0x4c3d11(0x12f),'failed':_0x4c3d11(0x145),'retrying':_0x4c3d11(0x132),'unknown':_0x4c3d11(0x121),'unauthorized':_0x4c3d11(0x142),'sessionOccupied':_0x4c3d11(0x138),'networkError':_0x4c3d11(0x12b),'maxRetriesExceeded':_0x4c3d11(0x13a),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4c3d11(0x117)},'mcpConfig':{'title':_0x4c3d11(0x135),'description':_0x4c3d11(0x124),'apiKey':_0x4c3d11(0x130),'apiKeyPlaceholder':_0x4c3d11(0x12a),'apiKeyHint':_0x4c3d11(0x133),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4c3d11(0x119),'connectionInfo':_0x4c3d11(0x11b),'mcpClientConfig':_0x4c3d11(0x11b),'configInstructions':_0x4c3d11(0x120),'configStepTitle':_0x4c3d11(0x12e),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x4c3d11(0x136),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4c3d11(0x11a),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x4c3d11(0x13e),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x4c3d11(0x128),'saving':'Saving...','note1':_0x4c3d11(0x123),'note2':_0x4c3d11(0x126),'configSaved':_0x4c3d11(0x147),'configError':_0x4c3d11(0x13b),'apiApplyInfo':{'title':_0x4c3d11(0x144),'description':_0x4c3d11(0x12c),'univerAiLabel':_0x4c3d11(0x11c),'getStarted':_0x4c3d11(0x131)},'validation':{'apiKeyRequired':_0x4c3d11(0x13d),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x4c3d11(0x122),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4c3d11(0x125),'connecting':_0x4c3d11(0x12d),'connected':'Connected','failed':_0x4c3d11(0x11d),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x4c3d11(0x134),'sessionOccupied':_0x4c3d11(0x129),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4c3d11(0x137)}}};function _0x554e(_0x22911e,_0x51afdf){_0x22911e=_0x22911e-0x117;const _0x1403b9=_0x1403();let _0x554e84=_0x1403b9[_0x22911e];return _0x554e84;}export{e as default};
@@ -1 +1 @@
1
- function _0x15eb(){const _0x175374=['1974vfcSGs','79048EeXafB','1510yrkkjs','15942ukEPfN','657400gFaxqj','949830DZnoUA','5927576qewbLG','1WGsFBI','1266165oOvqqf','68283QvVAhc'];_0x15eb=function(){return _0x175374;};return _0x15eb();}(function(_0x2bfc00,_0x3a4060){const _0x3296cf=_0x5297,_0x5ef203=_0x2bfc00();while(!![]){try{const _0x1b63f8=-parseInt(_0x3296cf(0xa3))/0x1*(parseInt(_0x3296cf(0xa7))/0x2)+-parseInt(_0x3296cf(0xa1))/0x3+parseInt(_0x3296cf(0xaa))/0x4+parseInt(_0x3296cf(0xa4))/0x5+-parseInt(_0x3296cf(0xa9))/0x6*(-parseInt(_0x3296cf(0xa6))/0x7)+parseInt(_0x3296cf(0xa2))/0x8+-parseInt(_0x3296cf(0xa5))/0x9*(parseInt(_0x3296cf(0xa8))/0xa);if(_0x1b63f8===_0x3a4060)break;else _0x5ef203['push'](_0x5ef203['shift']());}catch(_0x3bf84a){_0x5ef203['push'](_0x5ef203['shift']());}}}(_0x15eb,0x63211));import _0x3a9ceb from'./en-US.js';const t=_0x3a9ceb;function _0x5297(_0xecbb66,_0x401fe2){_0xecbb66=_0xecbb66-0xa1;const _0x15ebb7=_0x15eb();let _0x5297ab=_0x15ebb7[_0xecbb66];return _0x5297ab;}export{t as default};
1
+ function _0x4e27(_0x5a97c0,_0x14f816){_0x5a97c0=_0x5a97c0-0x15b;const _0x49ec84=_0x49ec();let _0x4e27c2=_0x49ec84[_0x5a97c0];return _0x4e27c2;}(function(_0x180401,_0xc8638){const _0x4a4f11=_0x4e27,_0x10576c=_0x180401();while(!![]){try{const _0x1d6a94=-parseInt(_0x4a4f11(0x164))/0x1*(parseInt(_0x4a4f11(0x15e))/0x2)+parseInt(_0x4a4f11(0x163))/0x3+parseInt(_0x4a4f11(0x165))/0x4+-parseInt(_0x4a4f11(0x15b))/0x5*(-parseInt(_0x4a4f11(0x15d))/0x6)+-parseInt(_0x4a4f11(0x162))/0x7+parseInt(_0x4a4f11(0x161))/0x8*(parseInt(_0x4a4f11(0x15c))/0x9)+parseInt(_0x4a4f11(0x160))/0xa*(parseInt(_0x4a4f11(0x15f))/0xb);if(_0x1d6a94===_0xc8638)break;else _0x10576c['push'](_0x10576c['shift']());}catch(_0x24ea3c){_0x10576c['push'](_0x10576c['shift']());}}}(_0x49ec,0x1a479));function _0x49ec(){const _0x1240b1=['1881IzTrDO','54EBgAsm','2PyxzZn','937101QRoEpV','10NMotID','6296cWblXl','1270451UlKwwe','214146yVyCLd','52295TfHQxt','11184QwCgEw','9765HtPVRS'];_0x49ec=function(){return _0x1240b1;};return _0x49ec();}import _0x212212 from'./en-US.js';const t=_0x212212;export{t as default};
@@ -1 +1 @@
1
- function _0x46b9(){const _0x54146c=['30qnYwFK','2oPZYvk','2752281lEkNpz','418073lrgcYy','1995637LBUSRU','14772zwXVCe','8UDsfLL','2696238qwCjOx','1488piYEhb','4448FIKPrB','4664hUyInb','3883205MSUCDJ'];_0x46b9=function(){return _0x54146c;};return _0x46b9();}(function(_0x2ca18a,_0x29b67c){const _0x46b6ae=_0x5944,_0xafc314=_0x2ca18a();while(!![]){try{const _0x131d66=-parseInt(_0x46b6ae(0xee))/0x1*(parseInt(_0x46b6ae(0xec))/0x2)+parseInt(_0x46b6ae(0xe7))/0x3*(parseInt(_0x46b6ae(0xe8))/0x4)+-parseInt(_0x46b6ae(0xea))/0x5+parseInt(_0x46b6ae(0xe6))/0x6+parseInt(_0x46b6ae(0xef))/0x7*(parseInt(_0x46b6ae(0xf1))/0x8)+-parseInt(_0x46b6ae(0xed))/0x9*(-parseInt(_0x46b6ae(0xeb))/0xa)+-parseInt(_0x46b6ae(0xe9))/0xb*(parseInt(_0x46b6ae(0xf0))/0xc);if(_0x131d66===_0x29b67c)break;else _0xafc314['push'](_0xafc314['shift']());}catch(_0x16ad64){_0xafc314['push'](_0xafc314['shift']());}}}(_0x46b9,0x76d81));import _0x590026 from'./en-US.js';function _0x5944(_0xf086e8,_0x5623b1){_0xf086e8=_0xf086e8-0xe6;const _0x46b910=_0x46b9();let _0x59444b=_0x46b910[_0xf086e8];return _0x59444b;}const t=_0x590026;export{t as default};
1
+ (function(_0x20dc89,_0x25603c){const _0x57495d=_0x5cca,_0x46c247=_0x20dc89();while(!![]){try{const _0x44a57e=parseInt(_0x57495d(0x1a4))/0x1+parseInt(_0x57495d(0x1a2))/0x2*(parseInt(_0x57495d(0x1a3))/0x3)+-parseInt(_0x57495d(0x1a9))/0x4*(parseInt(_0x57495d(0x1aa))/0x5)+parseInt(_0x57495d(0x1ab))/0x6*(-parseInt(_0x57495d(0x1a6))/0x7)+-parseInt(_0x57495d(0x1a8))/0x8*(-parseInt(_0x57495d(0x1a5))/0x9)+-parseInt(_0x57495d(0x1a7))/0xa*(-parseInt(_0x57495d(0x1ac))/0xb)+-parseInt(_0x57495d(0x1a1))/0xc;if(_0x44a57e===_0x25603c)break;else _0x46c247['push'](_0x46c247['shift']());}catch(_0xa38637){_0x46c247['push'](_0x46c247['shift']());}}}(_0x4cb7,0x8e4b2));import _0x3b0557 from'./en-US.js';function _0x5cca(_0x586370,_0x5e4a92){_0x586370=_0x586370-0x1a1;const _0x4cb7f4=_0x4cb7();let _0x5cca98=_0x4cb7f4[_0x586370];return _0x5cca98;}const t=_0x3b0557;function _0x4cb7(){const _0x2c15c2=['42676OvgtWO','75YXvbGR','2607558RWKwCW','253yWGAOj','10991904sLKRAk','4964Yhzryg','105LqIjZR','123767angRzY','9KuIGif','7WjTqlC','397790pLChnw','7743200Dfesai'];_0x4cb7=function(){return _0x2c15c2;};return _0x4cb7();}export{t as default};
@@ -1 +1 @@
1
- (function(_0x29d803,_0x34df68){const _0x5d819d=_0x5eda,_0x196bcf=_0x29d803();while(!![]){try{const _0x11d916=parseInt(_0x5d819d(0xd7))/0x1+-parseInt(_0x5d819d(0xd8))/0x2*(parseInt(_0x5d819d(0xd6))/0x3)+-parseInt(_0x5d819d(0xd1))/0x4+-parseInt(_0x5d819d(0xd5))/0x5*(-parseInt(_0x5d819d(0xda))/0x6)+parseInt(_0x5d819d(0xd2))/0x7*(-parseInt(_0x5d819d(0xdb))/0x8)+parseInt(_0x5d819d(0xdc))/0x9*(parseInt(_0x5d819d(0xd4))/0xa)+parseInt(_0x5d819d(0xd3))/0xb*(parseInt(_0x5d819d(0xd9))/0xc);if(_0x11d916===_0x34df68)break;else _0x196bcf['push'](_0x196bcf['shift']());}catch(_0x3330c9){_0x196bcf['push'](_0x196bcf['shift']());}}}(_0x2b7b,0x8d01d));function _0x2b7b(){const _0x1557dc=['24984HmMclZ','28279dWCnVd','116beaEuV','29316dkSbng','60aEQvPl','16hWSOmV','33273RtZkKu','1865100LaUCUx','1936515rMhuwD','902gCjXEj','1970SbaiMS','561620JHsZvp'];_0x2b7b=function(){return _0x1557dc;};return _0x2b7b();}import _0x24b4d0 from'./en-US.js';const t=_0x24b4d0;function _0x5eda(_0x2f672f,_0x5c5ec3){_0x2f672f=_0x2f672f-0xd1;const _0x2b7b97=_0x2b7b();let _0x5eda1c=_0x2b7b97[_0x2f672f];return _0x5eda1c;}export{t as default};
1
+ (function(_0x3b9dc9,_0x1a7521){const _0x58e066=_0x1cb5,_0x13b5c2=_0x3b9dc9();while(!![]){try{const _0x472e34=parseInt(_0x58e066(0x119))/0x1+-parseInt(_0x58e066(0x117))/0x2+parseInt(_0x58e066(0x11c))/0x3*(parseInt(_0x58e066(0x116))/0x4)+parseInt(_0x58e066(0x115))/0x5+parseInt(_0x58e066(0x11b))/0x6*(-parseInt(_0x58e066(0x11d))/0x7)+-parseInt(_0x58e066(0x118))/0x8*(parseInt(_0x58e066(0x11e))/0x9)+parseInt(_0x58e066(0x11a))/0xa;if(_0x472e34===_0x1a7521)break;else _0x13b5c2['push'](_0x13b5c2['shift']());}catch(_0x592c91){_0x13b5c2['push'](_0x13b5c2['shift']());}}}(_0x3e68,0x77511));import _0xe8d783 from'./en-US.js';function _0x1cb5(_0x403462,_0x5099a4){_0x403462=_0x403462-0x115;const _0x3e6835=_0x3e68();let _0x1cb5da=_0x3e6835[_0x403462];return _0x1cb5da;}const t=_0xe8d783;export{t as default};function _0x3e68(){const _0x2ec67a=['3825775EBdjzw','599588NBypPP','672808goGQGX','464312SgOWSW','93575GPZDOV','1914900WDVZqj','8862XGCZmW','15bonoeS','1043SnNCTA','117ZOjage'];_0x3e68=function(){return _0x2ec67a;};return _0x3e68();}
@@ -1 +1 @@
1
- function _0x1ffd(_0x20e1cc,_0x59baa1){_0x20e1cc=_0x20e1cc-0x7f;const _0x555a42=_0x555a();let _0x1ffd47=_0x555a42[_0x20e1cc];return _0x1ffd47;}const _0x552c7c=_0x1ffd;(function(_0x528d2d,_0x2eaa4d){const _0x37a624=_0x1ffd,_0x3a5c09=_0x528d2d();while(!![]){try{const _0x50cc09=-parseInt(_0x37a624(0xa5))/0x1+parseInt(_0x37a624(0x9a))/0x2+parseInt(_0x37a624(0xa9))/0x3+parseInt(_0x37a624(0x91))/0x4+parseInt(_0x37a624(0x8f))/0x5*(parseInt(_0x37a624(0x96))/0x6)+parseInt(_0x37a624(0x88))/0x7*(-parseInt(_0x37a624(0xa8))/0x8)+parseInt(_0x37a624(0x9d))/0x9;if(_0x50cc09===_0x2eaa4d)break;else _0x3a5c09['push'](_0x3a5c09['shift']());}catch(_0x2fe092){_0x3a5c09['push'](_0x3a5c09['shift']());}}}(_0x555a,0x5875d));function _0x555a(){const _0x28ccd2=['MCPを設定してAIでスプレッドシートを操作','Univer\x20AIコンソール','1277546xHASxl','接続失敗','認証に失敗しました。APIキーを確認してください','1121049dnhhnB','セキュアな接続のために認証を有効にする','最大再試行回数','MCP:\x20セッションIDが使用中','APIキーは必須です','MCP\x20未接続','APIキーを入力してください','APIキーは10文字以上である必要があります','615305BFVLxr','設定の保存に失敗しました','設定の変更は直ちに有効になります','16WlyEXX','729597zKhDov','無効なAPIキーです。キーが正しいか確認してください','MCP\x20接続中...','MCP\x20接続失敗','設定が正常に保存されました','APIキーはこのブラウザのローカルに保存されます','MCP:\x20ネットワークエラー','APIキーはローカルストレージに安全に保存されます','数秒でAPIキーを取得','保存中...','1493534rqQgAc','MCP\x20接続済み','MCP:\x20最大再試行回数を超過','ネットワーク接続エラー。インターネット接続を確認してください','MCP設定','設定を保存','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','29285YiqfgV','再試行中...','1052472EVPHdk','MCP\x20再試行中...','セッションID','セッションIDが現在使用中です。後でもう一度お試しください','MCPクライアントの設定ファイルに設定を追加','138tFfwaL','接続済み'];_0x555a=function(){return _0x28ccd2;};return _0x555a();}const e={'mcpStatus':{'disconnected':_0x552c7c(0xa2),'connecting':_0x552c7c(0x80),'connected':_0x552c7c(0x89),'failed':_0x552c7c(0x81),'retrying':_0x552c7c(0x92),'unknown':'MCP\x20不明な状態','unauthorized':'MCP:\x20認証されていません','sessionOccupied':_0x552c7c(0xa0),'networkError':_0x552c7c(0x84),'maxRetriesExceeded':_0x552c7c(0x8a),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':_0x552c7c(0x8c),'description':_0x552c7c(0x98),'apiKey':'APIキー','apiKeyPlaceholder':_0x552c7c(0xa3),'apiKeyHint':_0x552c7c(0x83),'enableAuth':'認証を有効にする','enableAuthHint':_0x552c7c(0x9e),'connectionInfo':'MCPクライアント設定','mcpClientConfig':'MCPクライアント設定','configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':'設定手順:','configStep1':'以下のJSON設定をコピー','configStep2':_0x552c7c(0x95),'configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x552c7c(0x93),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':'Bearerプレフィックス付きのAPIキー。','configParameters':'設定パラメータ:','maxRetries':_0x552c7c(0x9f),'save':_0x552c7c(0x8d),'saving':_0x552c7c(0x87),'note1':_0x552c7c(0xa7),'note2':_0x552c7c(0x85),'configSaved':_0x552c7c(0x82),'configError':_0x552c7c(0xa6),'apiApplyInfo':{'title':'APIキーとは?','description':_0x552c7c(0x8e),'univerAiLabel':_0x552c7c(0x99),'getStarted':_0x552c7c(0x86)},'validation':{'apiKeyRequired':_0x552c7c(0xa1),'apiKeyTooShort':_0x552c7c(0xa4),'invalidConfig':'無効な設定','invalidApiKey':_0x552c7c(0x7f)},'connectionStatus':{'disconnected':'未接続','connecting':'接続中...','connected':_0x552c7c(0x97),'failed':_0x552c7c(0x9b),'retrying':_0x552c7c(0x90)},'connectionError':{'unauthorized':_0x552c7c(0x9c),'sessionOccupied':_0x552c7c(0x94),'networkError':_0x552c7c(0x8b),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};export{e as default};
1
+ const _0x4ca7d3=_0x2faa;(function(_0x5e6058,_0x98c9b7){const _0x45f41a=_0x2faa,_0x1cded0=_0x5e6058();while(!![]){try{const _0x21eda7=parseInt(_0x45f41a(0x130))/0x1+-parseInt(_0x45f41a(0x12b))/0x2*(parseInt(_0x45f41a(0x118))/0x3)+parseInt(_0x45f41a(0x13f))/0x4+parseInt(_0x45f41a(0x117))/0x5*(parseInt(_0x45f41a(0x12a))/0x6)+parseInt(_0x45f41a(0x12e))/0x7+-parseInt(_0x45f41a(0x135))/0x8*(parseInt(_0x45f41a(0x142))/0x9)+parseInt(_0x45f41a(0x13d))/0xa*(-parseInt(_0x45f41a(0x13c))/0xb);if(_0x21eda7===_0x98c9b7)break;else _0x1cded0['push'](_0x1cded0['shift']());}catch(_0x1b7b80){_0x1cded0['push'](_0x1cded0['shift']());}}}(_0x56d6,0x75d82));function _0x2faa(_0x198879,_0xea555b){_0x198879=_0x198879-0x115;const _0x56d69e=_0x56d6();let _0x2faaf9=_0x56d69e[_0x198879];return _0x2faaf9;}const e={'mcpStatus':{'disconnected':_0x4ca7d3(0x13a),'connecting':_0x4ca7d3(0x11e),'connected':_0x4ca7d3(0x145),'failed':_0x4ca7d3(0x146),'retrying':'MCP\x20再試行中...','unknown':_0x4ca7d3(0x136),'unauthorized':_0x4ca7d3(0x128),'sessionOccupied':_0x4ca7d3(0x11c),'networkError':_0x4ca7d3(0x121),'maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':_0x4ca7d3(0x139),'clickToConfigure':_0x4ca7d3(0x138)},'mcpConfig':{'title':_0x4ca7d3(0x141),'description':_0x4ca7d3(0x133),'apiKey':_0x4ca7d3(0x119),'apiKeyPlaceholder':_0x4ca7d3(0x134),'apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':_0x4ca7d3(0x140),'enableAuthHint':_0x4ca7d3(0x143),'connectionInfo':'MCPクライアント設定','mcpClientConfig':_0x4ca7d3(0x12d),'configInstructions':_0x4ca7d3(0x12c),'configStepTitle':'設定手順:','configStep1':_0x4ca7d3(0x11f),'configStep2':_0x4ca7d3(0x144),'configStep3':'MCPクライアントを再起動して設定を適用','sessionId':'セッションID','sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x4ca7d3(0x115),'configParameters':_0x4ca7d3(0x148),'maxRetries':'最大再試行回数','save':_0x4ca7d3(0x127),'saving':_0x4ca7d3(0x129),'note1':_0x4ca7d3(0x124),'note2':_0x4ca7d3(0x116),'configSaved':_0x4ca7d3(0x137),'configError':_0x4ca7d3(0x11b),'apiApplyInfo':{'title':_0x4ca7d3(0x12f),'description':_0x4ca7d3(0x11a),'univerAiLabel':_0x4ca7d3(0x13b),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x4ca7d3(0x125),'apiKeyTooShort':_0x4ca7d3(0x11d),'invalidConfig':'無効な設定','invalidApiKey':'無効なAPIキーです。キーが正しいか確認してください'},'connectionStatus':{'disconnected':_0x4ca7d3(0x13e),'connecting':_0x4ca7d3(0x132),'connected':_0x4ca7d3(0x123),'failed':_0x4ca7d3(0x120),'retrying':'再試行中...'},'connectionError':{'unauthorized':_0x4ca7d3(0x122),'sessionOccupied':_0x4ca7d3(0x126),'networkError':_0x4ca7d3(0x147),'maxRetriesExceeded':_0x4ca7d3(0x131)}}};export{e as default};function _0x56d6(){const _0x1b773d=['3kUepRI','APIキー','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','設定の保存に失敗しました','MCP:\x20セッションIDが使用中','APIキーは10文字以上である必要があります','MCP\x20接続中...','以下のJSON設定をコピー','接続失敗','MCP:\x20ネットワークエラー','認証に失敗しました。APIキーを確認してください','接続済み','設定の変更は直ちに有効になります','APIキーは必須です','セッションIDが現在使用中です。後でもう一度お試しください','設定を保存','MCP:\x20認証されていません','保存中...','6dBzVdF','1007750DGllmx','MCPクライアントの設定に次の設定を追加してください:','MCPクライアント設定','5027540XSIPoD','APIキーとは?','113990DXKUPB','最大再試行回数を超過しました。後でもう一度お試しください','接続中...','MCPを設定してAIでスプレッドシートを操作','APIキーを入力してください','4553672NoFvwc','MCP\x20不明な状態','設定が正常に保存されました','クリックしてMCPを設定','クリックしてMCPに接続','MCP\x20未接続','Univer\x20AIコンソール','5203XaaBvE','16730kkChur','未接続','3583656mHzDPH','認証を有効にする','MCP設定','9KRSJcH','セキュアな接続のために認証を有効にする','MCPクライアントの設定ファイルに設定を追加','MCP\x20接続済み','MCP\x20接続失敗','ネットワーク接続エラー。インターネット接続を確認してください','設定パラメータ:','Bearerプレフィックス付きのAPIキー。','APIキーはローカルストレージに安全に保存されます','3094895HkeFTH'];_0x56d6=function(){return _0x1b773d;};return _0x56d6();}
@@ -1 +1 @@
1
- const _0xc966f7=_0x4747;function _0x4dc5(){const _0x4a55c7=['유효하지\x20않은\x20설정','MCP:\x20최대\x20재시도\x20횟수\x20초과','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','121113UVcEKW','MCP\x20재시도\x20중...','API\x20키는\x20필수입니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','API\x20키를\x20입력하세요','아래\x20JSON\x20설정\x20복사','7884cnPruT','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','MCP\x20연결됨','연결\x20중...','연결\x20끊김','2930QNyZbb','1458OooQam','API\x20키는\x2010자\x20이상이어야\x20합니다','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','8852004XGYxWC','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','MCP\x20연결\x20중...','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','590NQcNHE','API\x20키','클릭하여\x20MCP\x20연결','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','55204NovpNm','MCP\x20설정','MCP:\x20인증되지\x20않음','설정이\x20성공적으로\x20저장되었습니다','설정\x20단계:','보안\x20연결을\x20위해\x20인증\x20활성화','160140srrHdh','11929400GvIyIf','설정\x20저장\x20실패','MCP\x20클라이언트\x20설정','MCP\x20연결\x20실패','몇\x20초\x20만에\x20API\x20키\x20발급받기','저장\x20중...','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','연결\x20실패','3111073bidHLW','API\x20키란\x20무엇인가요?'];_0x4dc5=function(){return _0x4a55c7;};return _0x4dc5();}(function(_0x1af673,_0x5cfeda){const _0x49276c=_0x4747,_0x16552f=_0x1af673();while(!![]){try{const _0x3f71e4=parseInt(_0x49276c(0xf9))/0x1+parseInt(_0x49276c(0xe8))/0x2*(-parseInt(_0x49276c(0x10d))/0x3)+-parseInt(_0x49276c(0xf3))/0x4*(parseInt(_0x49276c(0xef))/0x5)+parseInt(_0x49276c(0xeb))/0x6+parseInt(_0x49276c(0x102))/0x7+-parseInt(_0x49276c(0xfa))/0x8+-parseInt(_0x49276c(0x107))/0x9*(-parseInt(_0x49276c(0xe7))/0xa);if(_0x3f71e4===_0x5cfeda)break;else _0x16552f['push'](_0x16552f['shift']());}catch(_0x4d8483){_0x16552f['push'](_0x16552f['shift']());}}}(_0x4dc5,0xf10ad));function _0x4747(_0x35d604,_0x20dc44){_0x35d604=_0x35d604-0xe6;const _0x4dc5ea=_0x4dc5();let _0x47477d=_0x4dc5ea[_0x35d604];return _0x47477d;}const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0xc966f7(0xed),'connected':_0xc966f7(0x10f),'failed':_0xc966f7(0xfd),'retrying':_0xc966f7(0x108),'unknown':'MCP\x20알\x20수\x20없는\x20상태','unauthorized':_0xc966f7(0xf5),'sessionOccupied':'MCP:\x20세션\x20ID\x20사용\x20중','networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0xc966f7(0x105),'clickToConnect':_0xc966f7(0xf1),'clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0xc966f7(0xf4),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0xc966f7(0xf0),'apiKeyPlaceholder':_0xc966f7(0x10b),'apiKeyHint':_0xc966f7(0x106),'enableAuth':'인증\x20활성화','enableAuthHint':_0xc966f7(0xf8),'connectionInfo':_0xc966f7(0xfc),'mcpClientConfig':_0xc966f7(0xfc),'configInstructions':_0xc966f7(0xf2),'configStepTitle':_0xc966f7(0xf7),'configStep1':_0xc966f7(0x10c),'configStep2':_0xc966f7(0xec),'configStep3':_0xc966f7(0x10e),'sessionId':'세션\x20ID','sessionIdDescription':'고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':'설정\x20매개변수:','maxRetries':'최대\x20재시도\x20횟수','save':'설정\x20저장','saving':_0xc966f7(0xff),'note1':_0xc966f7(0x10a),'note2':_0xc966f7(0xee),'configSaved':_0xc966f7(0xf6),'configError':_0xc966f7(0xfb),'apiApplyInfo':{'title':_0xc966f7(0x103),'description':_0xc966f7(0xea),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0xc966f7(0xfe)},'validation':{'apiKeyRequired':_0xc966f7(0x109),'apiKeyTooShort':_0xc966f7(0xe9),'invalidConfig':_0xc966f7(0x104),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0xc966f7(0xe6),'connecting':_0xc966f7(0x110),'connected':'연결됨','failed':_0xc966f7(0x101),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0xc966f7(0x100),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};export{e as default};
1
+ const _0x401a0=_0x3edf;(function(_0x417c6d,_0xe2b3cd){const _0x43764d=_0x3edf,_0x519880=_0x417c6d();while(!![]){try{const _0x4ed33b=-parseInt(_0x43764d(0x123))/0x1*(-parseInt(_0x43764d(0x153))/0x2)+-parseInt(_0x43764d(0x130))/0x3*(parseInt(_0x43764d(0x12b))/0x4)+parseInt(_0x43764d(0x148))/0x5*(-parseInt(_0x43764d(0x152))/0x6)+-parseInt(_0x43764d(0x14a))/0x7*(parseInt(_0x43764d(0x14e))/0x8)+-parseInt(_0x43764d(0x14f))/0x9*(parseInt(_0x43764d(0x150))/0xa)+parseInt(_0x43764d(0x126))/0xb+parseInt(_0x43764d(0x133))/0xc*(parseInt(_0x43764d(0x132))/0xd);if(_0x4ed33b===_0xe2b3cd)break;else _0x519880['push'](_0x519880['shift']());}catch(_0x38d402){_0x519880['push'](_0x519880['shift']());}}}(_0x5f1f,0xdf3b7));function _0x3edf(_0xb967d4,_0x2ef12f){_0xb967d4=_0xb967d4-0x120;const _0x5f1fd9=_0x5f1f();let _0x3edf0c=_0x5f1fd9[_0xb967d4];return _0x3edf0c;}function _0x5f1f(){const _0x3ad3a5=['최대\x20재시도\x20횟수','66105fSpBmK','Univer\x20AI\x20콘솔','6929PveJwj','46608BSyrUb','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','연결됨','클릭하여\x20MCP\x20설정','아래\x20JSON\x20설정\x20복사','인증\x20활성화','API\x20키는\x20필수입니다','MCP\x20연결\x20실패','몇\x20초\x20만에\x20API\x20키\x20발급받기','MCP:\x20네트워크\x20오류','MCP\x20연결\x20끊김','연결\x20중...','MCP\x20연결\x20중...','세션\x20ID','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','MCP\x20설정','설정\x20매개변수:','재시도\x20중...','설정\x20단계:','7632085ZKgIzz','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','21eUNyzk','연결\x20실패','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','API\x20키','1471560zOkMyZ','72fAMkCc','886270ofUrHj','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','6gJzVua','2008568uLJOUM','고유\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않음','유효하지\x20않은\x20설정','1dqqedz','MCP\x20클라이언트\x20설정','인증\x20실패.\x20API\x20키를\x20확인하세요','13200891jDdOsj','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','API\x20키를\x20입력하세요','104ZNiCQR','MCP\x20알\x20수\x20없는\x20상태','저장\x20중...','MCP\x20재시도\x20중...'];_0x5f1f=function(){return _0x3ad3a5;};return _0x5f1f();}const e={'mcpStatus':{'disconnected':_0x401a0(0x13d),'connecting':_0x401a0(0x13f),'connected':'MCP\x20연결됨','failed':_0x401a0(0x13a),'retrying':_0x401a0(0x12e),'unknown':_0x401a0(0x12c),'unauthorized':_0x401a0(0x121),'sessionOccupied':'MCP:\x20세션\x20ID\x20사용\x20중','networkError':_0x401a0(0x13c),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':_0x401a0(0x136)},'mcpConfig':{'title':_0x401a0(0x144),'description':_0x401a0(0x129),'apiKey':_0x401a0(0x14d),'apiKeyPlaceholder':_0x401a0(0x12a),'apiKeyHint':_0x401a0(0x127),'enableAuth':_0x401a0(0x138),'enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':_0x401a0(0x124),'mcpClientConfig':_0x401a0(0x124),'configInstructions':_0x401a0(0x142),'configStepTitle':_0x401a0(0x147),'configStep1':_0x401a0(0x137),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x401a0(0x149),'sessionId':_0x401a0(0x140),'sessionIdDescription':_0x401a0(0x154),'authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':_0x401a0(0x145),'maxRetries':_0x401a0(0x12f),'save':'설정\x20저장','saving':_0x401a0(0x12d),'note1':_0x401a0(0x141),'note2':_0x401a0(0x134),'configSaved':'설정이\x20성공적으로\x20저장되었습니다','configError':_0x401a0(0x120),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':_0x401a0(0x128),'univerAiLabel':_0x401a0(0x131),'getStarted':_0x401a0(0x13b)},'validation':{'apiKeyRequired':_0x401a0(0x139),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0x401a0(0x122),'invalidApiKey':_0x401a0(0x14c)},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x401a0(0x13e),'connected':_0x401a0(0x135),'failed':_0x401a0(0x14b),'retrying':_0x401a0(0x146)},'connectionError':{'unauthorized':_0x401a0(0x125),'sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':_0x401a0(0x143),'maxRetriesExceeded':_0x401a0(0x151)}}};export{e as default};
@@ -1 +1 @@
1
- (function(_0x2ade19,_0x4d4234){const _0x18ec7f=_0x3337,_0x2e39ad=_0x2ade19();while(!![]){try{const _0x4c2198=-parseInt(_0x18ec7f(0x8b))/0x1+parseInt(_0x18ec7f(0x8a))/0x2+parseInt(_0x18ec7f(0x8d))/0x3+-parseInt(_0x18ec7f(0x8e))/0x4+-parseInt(_0x18ec7f(0x8f))/0x5+parseInt(_0x18ec7f(0x8c))/0x6+parseInt(_0x18ec7f(0x89))/0x7*(parseInt(_0x18ec7f(0x88))/0x8);if(_0x4c2198===_0x4d4234)break;else _0x2e39ad['push'](_0x2e39ad['shift']());}catch(_0x4e5ac9){_0x2e39ad['push'](_0x2e39ad['shift']());}}}(_0x3092,0xd0b8f));import _0x50d785 from'./en-US.js';function _0x3337(_0x5b5367,_0x234f77){_0x5b5367=_0x5b5367-0x88;const _0x3092d8=_0x3092();let _0x3337c8=_0x3092d8[_0x5b5367];return _0x3337c8;}const t=_0x50d785;function _0x3092(){const _0x764e02=['861703eiCnoB','2384574qyuDun','1228647XMUmMq','4244604Xivhrw','6582710Hnbapi','93712iAQVYv','1575oPPJGP','1303390ZpHmDs'];_0x3092=function(){return _0x764e02;};return _0x3092();}export{t as default};
1
+ (function(_0x37bae0,_0x294ba7){const _0x147825=_0x5aac,_0x1411d2=_0x37bae0();while(!![]){try{const _0x479374=-parseInt(_0x147825(0xb5))/0x1*(parseInt(_0x147825(0xbf))/0x2)+-parseInt(_0x147825(0xbb))/0x3+-parseInt(_0x147825(0xba))/0x4+-parseInt(_0x147825(0xbe))/0x5+parseInt(_0x147825(0xb8))/0x6*(-parseInt(_0x147825(0xb7))/0x7)+parseInt(_0x147825(0xbd))/0x8*(-parseInt(_0x147825(0xbc))/0x9)+-parseInt(_0x147825(0xb9))/0xa*(-parseInt(_0x147825(0xb6))/0xb);if(_0x479374===_0x294ba7)break;else _0x1411d2['push'](_0x1411d2['shift']());}catch(_0x2d71ce){_0x1411d2['push'](_0x1411d2['shift']());}}}(_0x8d41,0xb5bee));import _0x4b92aa from'./en-US.js';const t=_0x4b92aa;function _0x5aac(_0x2404d1,_0x4ae449){_0x2404d1=_0x2404d1-0xb5;const _0x8d41d5=_0x8d41();let _0x5aacaa=_0x8d41d5[_0x2404d1];return _0x5aacaa;}function _0x8d41(){const _0x38e7c2=['62378920aqUclX','2985040KAkyMX','4415487AztxXJ','693JgBXnS','128616VCtaxL','333995VvdjWZ','2calNBd','846398SwcnsK','11FRHSJz','21xhObwa','2248494rTejDZ'];_0x8d41=function(){return _0x38e7c2;};return _0x8d41();}export{t as default};
@@ -1 +1 @@
1
- const _0x195883=_0x4771;function _0x4e17(){const _0x1f0da9=['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.','MCP:\x20ID\x20relácie\x20je\x20obsadené','2402151BksrMi','MCP:\x20Sieťová\x20chyba','Povoliť\x20overenie','Čo\x20je\x20API\x20kľúč?','Kliknite\x20na\x20pripojenie\x20MCP','MCP\x20odpojené','Zadajte\x20svoj\x20API\x20kľúč','1095720xPcOXZ','Pripája\x20sa...','Skúša\x20sa\x20znova...','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','Kroky\x20konfigurácie:','API\x20kľúč\x20je\x20povinný','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','670002EBZhTE','MCP\x20opakuje\x20pokus...','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.','8hDOeeT','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','8275464joICSJ','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','MCP\x20sa\x20pripája...','7379275QnCGzO','MCP:\x20Neautorizované','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','MCP\x20neznámy\x20stav','Konfigurácia\x20klienta\x20MCP','Pripojenie\x20MCP\x20zlyhalo','Ukladá\x20sa...','9501891diySHW','Konfigurácia\x20MCP','Uložiť\x20konfiguráciu','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','API\x20kľúč','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','1255860gIscdD','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','Parametre\x20konfigurácie:','MCP:\x20Prekročený\x20počet\x20pokusov','API\x20kľúč\x20s\x20prefixom\x20Bearer.'];_0x4e17=function(){return _0x1f0da9;};return _0x4e17();}(function(_0x46b046,_0x32eb72){const _0x500fc6=_0x4771,_0x20e024=_0x46b046();while(!![]){try{const _0x38eccb=parseInt(_0x500fc6(0xa1))/0x1+parseInt(_0x500fc6(0x8b))/0x2+parseInt(_0x500fc6(0x7a))/0x3+-parseInt(_0x500fc6(0x81))/0x4+parseInt(_0x500fc6(0x94))/0x5+-parseInt(_0x500fc6(0x91))/0x6+parseInt(_0x500fc6(0x9b))/0x7*(-parseInt(_0x500fc6(0x8e))/0x8);if(_0x38eccb===_0x32eb72)break;else _0x20e024['push'](_0x20e024['shift']());}catch(_0x3848b9){_0x20e024['push'](_0x20e024['shift']());}}}(_0x4e17,0xd130e));function _0x4771(_0x519182,_0x52d78a){_0x519182=_0x519182-0x77;const _0x4e1718=_0x4e17();let _0x4771a0=_0x4e1718[_0x519182];return _0x4771a0;}const e={'mcpStatus':{'disconnected':_0x195883(0x7f),'connecting':_0x195883(0x93),'connected':'MCP\x20pripojené','failed':_0x195883(0x99),'retrying':_0x195883(0x8c),'unknown':_0x195883(0x97),'unauthorized':_0x195883(0x95),'sessionOccupied':_0x195883(0x79),'networkError':_0x195883(0x7b),'maxRetriesExceeded':_0x195883(0xa4),'clickToConnect':_0x195883(0x7e),'clickToConfigure':'Kliknite\x20na\x20konfiguráciu\x20MCP'},'mcpConfig':{'title':_0x195883(0x9c),'description':_0x195883(0x8a),'apiKey':_0x195883(0x9f),'apiKeyPlaceholder':_0x195883(0x80),'apiKeyHint':_0x195883(0xa0),'enableAuth':_0x195883(0x7c),'enableAuthHint':_0x195883(0x8f),'connectionInfo':_0x195883(0x98),'mcpClientConfig':_0x195883(0x98),'configInstructions':_0x195883(0x84),'configStepTitle':_0x195883(0x85),'configStep1':_0x195883(0x89),'configStep2':'Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','configStep3':_0x195883(0x9e),'sessionId':'ID\x20relácie','sessionIdDescription':_0x195883(0x78),'authorizationDescription':_0x195883(0x77),'configParameters':_0x195883(0xa3),'maxRetries':'Maximálny\x20počet\x20pokusov','save':_0x195883(0x9d),'saving':_0x195883(0x9a),'note1':'Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','note2':_0x195883(0x96),'configSaved':'Konfigurácia\x20bola\x20úspešne\x20uložená','configError':'Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','apiApplyInfo':{'title':_0x195883(0x7d),'description':_0x195883(0x8d),'univerAiLabel':'Univer\x20AI\x20konzola','getStarted':_0x195883(0x87)},'validation':{'apiKeyRequired':_0x195883(0x86),'apiKeyTooShort':'API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','invalidConfig':'Neplatná\x20konfigurácia','invalidApiKey':_0x195883(0x88)},'connectionStatus':{'disconnected':'Odpojené','connecting':_0x195883(0x82),'connected':'Pripojené','failed':'Pripojenie\x20zlyhalo','retrying':_0x195883(0x83)},'connectionError':{'unauthorized':_0x195883(0x92),'sessionOccupied':_0x195883(0x90),'networkError':_0x195883(0xa2),'maxRetriesExceeded':'Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr'}}};export{e as default};
1
+ const _0x558263=_0x5bf2;(function(_0x508cad,_0x9c8738){const _0x1e8239=_0x5bf2,_0x105982=_0x508cad();while(!![]){try{const _0x1eac98=-parseInt(_0x1e8239(0x122))/0x1+-parseInt(_0x1e8239(0x103))/0x2+-parseInt(_0x1e8239(0xff))/0x3+parseInt(_0x1e8239(0xfa))/0x4+-parseInt(_0x1e8239(0x106))/0x5*(-parseInt(_0x1e8239(0x11b))/0x6)+parseInt(_0x1e8239(0x119))/0x7+parseInt(_0x1e8239(0x117))/0x8*(-parseInt(_0x1e8239(0x110))/0x9);if(_0x1eac98===_0x9c8738)break;else _0x105982['push'](_0x105982['shift']());}catch(_0x5af32b){_0x105982['push'](_0x105982['shift']());}}}(_0x4316,0x6490e));const e={'mcpStatus':{'disconnected':_0x558263(0x120),'connecting':_0x558263(0x105),'connected':_0x558263(0x114),'failed':_0x558263(0x10a),'retrying':_0x558263(0xf8),'unknown':_0x558263(0x10b),'unauthorized':_0x558263(0xfb),'sessionOccupied':_0x558263(0x112),'networkError':_0x558263(0x101),'maxRetriesExceeded':_0x558263(0x109),'clickToConnect':_0x558263(0x10d),'clickToConfigure':_0x558263(0x11c)},'mcpConfig':{'title':'Konfigurácia\x20MCP','description':_0x558263(0x100),'apiKey':'API\x20kľúč','apiKeyPlaceholder':_0x558263(0x121),'apiKeyHint':_0x558263(0xfe),'enableAuth':_0x558263(0x11f),'enableAuthHint':_0x558263(0x123),'connectionInfo':'Konfigurácia\x20klienta\x20MCP','mcpClientConfig':_0x558263(0x10f),'configInstructions':'Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','configStepTitle':'Kroky\x20konfigurácie:','configStep1':_0x558263(0x10c),'configStep2':_0x558263(0x124),'configStep3':_0x558263(0x10e),'sessionId':'ID\x20relácie','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':_0x558263(0x115),'configParameters':_0x558263(0x116),'maxRetries':_0x558263(0x108),'save':'Uložiť\x20konfiguráciu','saving':_0x558263(0x104),'note1':'Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','note2':_0x558263(0xf9),'configSaved':'Konfigurácia\x20bola\x20úspešne\x20uložená','configError':'Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','apiApplyInfo':{'title':_0x558263(0xfc),'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':_0x558263(0x11d),'getStarted':'Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd'},'validation':{'apiKeyRequired':_0x558263(0x107),'apiKeyTooShort':_0x558263(0xfd),'invalidConfig':'Neplatná\x20konfigurácia','invalidApiKey':_0x558263(0x102)},'connectionStatus':{'disconnected':_0x558263(0x118),'connecting':'Pripája\x20sa...','connected':_0x558263(0x11e),'failed':_0x558263(0x125),'retrying':'Skúša\x20sa\x20znova...'},'connectionError':{'unauthorized':_0x558263(0x11a),'sessionOccupied':_0x558263(0x111),'networkError':'Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','maxRetriesExceeded':_0x558263(0x113)}}};export{e as default};function _0x5bf2(_0x1cb6ab,_0x344a88){_0x1cb6ab=_0x1cb6ab-0xf8;const _0x4316e4=_0x4316();let _0x5bf2c4=_0x4316e4[_0x1cb6ab];return _0x5bf2c4;}function _0x4316(){const _0x37011a=['Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','18oeBEwa','Kliknite\x20na\x20konfiguráciu\x20MCP','Univer\x20AI\x20konzola','Pripojené','Povoliť\x20overenie','MCP\x20odpojené','Zadajte\x20svoj\x20API\x20kľúč','479337XuBWcn','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','Pripojenie\x20zlyhalo','MCP\x20opakuje\x20pokus...','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','721652IgaMqh','MCP:\x20Neautorizované','Čo\x20je\x20API\x20kľúč?','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','790926veAXqG','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','MCP:\x20Sieťová\x20chyba','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','581182MxXdIm','Ukladá\x20sa...','MCP\x20sa\x20pripája...','1295225JvpmkX','API\x20kľúč\x20je\x20povinný','Maximálny\x20počet\x20pokusov','MCP:\x20Prekročený\x20počet\x20pokusov','Pripojenie\x20MCP\x20zlyhalo','MCP\x20neznámy\x20stav','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','Kliknite\x20na\x20pripojenie\x20MCP','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Konfigurácia\x20klienta\x20MCP','9MxBRsu','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','MCP:\x20ID\x20relácie\x20je\x20obsadené','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','MCP\x20pripojené','API\x20kľúč\x20s\x20prefixom\x20Bearer.','Parametre\x20konfigurácie:','611152TiwETs','Odpojené','3950338dkxYGN'];_0x4316=function(){return _0x37011a;};return _0x4316();}
@@ -1 +1 @@
1
- const _0x59a976=_0x5e95;(function(_0x10809a,_0x199886){const _0x35bbde=_0x5e95,_0x294b8e=_0x10809a();while(!![]){try{const _0x32d2c2=-parseInt(_0x35bbde(0x1ad))/0x1+-parseInt(_0x35bbde(0x19a))/0x2*(parseInt(_0x35bbde(0x198))/0x3)+parseInt(_0x35bbde(0x1b5))/0x4*(-parseInt(_0x35bbde(0x19c))/0x5)+parseInt(_0x35bbde(0x1b4))/0x6*(-parseInt(_0x35bbde(0x1b7))/0x7)+-parseInt(_0x35bbde(0x1be))/0x8*(parseInt(_0x35bbde(0x197))/0x9)+parseInt(_0x35bbde(0x1a4))/0xa*(-parseInt(_0x35bbde(0x1b0))/0xb)+parseInt(_0x35bbde(0x1a2))/0xc;if(_0x32d2c2===_0x199886)break;else _0x294b8e['push'](_0x294b8e['shift']());}catch(_0x2db0b8){_0x294b8e['push'](_0x294b8e['shift']());}}}(_0x4869,0xabcb9));function _0x4869(){const _0x3887b3=['Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Nhập\x20khóa\x20API\x20của\x20bạn','Khóa\x20API','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','489686nsspSn','Đang\x20lưu...','Cấu\x20hình\x20máy\x20khách\x20MCP','8371IeFcnq','Đã\x20ngắt\x20kết\x20nối','Cấu\x20hình\x20không\x20hợp\x20lệ','Yêu\x20cầu\x20khóa\x20API','6vtbcWD','4hhTZxF','ID\x20phiên','933961PigtMW','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','MCP\x20Đang\x20kết\x20nối...','Nhấp\x20để\x20kết\x20nối\x20MCP','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Lưu\x20cấu\x20hình\x20thất\x20bại','Tham\x20số\x20cấu\x20hình:','48dWQsis','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','MCP\x20Đã\x20ngắt\x20kết\x20nối','MCP:\x20Không\x20được\x20phép','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Khóa\x20API\x20là\x20gì?','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Lưu\x20cấu\x20hình','823806wCclyo','1036419fNjdNc','MCP\x20Đã\x20kết\x20nối','6LDgWcG','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.','6731885dKKPfv','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20b','Các\x20bước\x20cấu\x20hình:','64657272RokhVD','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','14840IimluK','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Đang\x20thử\x20lại...'];_0x4869=function(){return _0x3887b3;};return _0x4869();}function _0x5e95(_0x131774,_0x1018fd){_0x131774=_0x131774-0x192;const _0x4869e1=_0x4869();let _0x5e950d=_0x4869e1[_0x131774];return _0x5e950d;}const e={'mcpStatus':{'disconnected':_0x59a976(0x1c0),'connecting':_0x59a976(0x1b9),'connected':_0x59a976(0x199),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x59a976(0x1ac),'unauthorized':_0x59a976(0x1c1),'sessionOccupied':_0x59a976(0x19f),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x59a976(0x1a3),'clickToConnect':_0x59a976(0x1ba),'clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x59a976(0x1a9),'apiKeyPlaceholder':_0x59a976(0x1a8),'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':'Bật\x20xác\x20thực','enableAuthHint':_0x59a976(0x1aa),'connectionInfo':_0x59a976(0x1af),'mcpClientConfig':_0x59a976(0x1af),'configInstructions':_0x59a976(0x1a7),'configStepTitle':_0x59a976(0x1a1),'configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':_0x59a976(0x19d),'configStep3':_0x59a976(0x19e),'sessionId':_0x59a976(0x1b6),'sessionIdDescription':'Đị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.','authorizationDescription':_0x59a976(0x1bf),'configParameters':_0x59a976(0x1bd),'maxRetries':_0x59a976(0x1a5),'save':_0x59a976(0x196),'saving':_0x59a976(0x1ae),'note1':_0x59a976(0x195),'note2':_0x59a976(0x1a0),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x59a976(0x1bc),'apiApplyInfo':{'title':_0x59a976(0x193),'description':_0x59a976(0x19b),'univerAiLabel':'Bảng\x20điều\x20khiển\x20Univer\x20AI','getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x59a976(0x1b3),'apiKeyTooShort':_0x59a976(0x194),'invalidConfig':_0x59a976(0x1b2),'invalidApiKey':_0x59a976(0x1ab)},'connectionStatus':{'disconnected':_0x59a976(0x1b1),'connecting':'Đang\x20kết\x20nối...','connected':'Đã\x20kết\x20nối','failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x59a976(0x1a6)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x59a976(0x192),'networkError':_0x59a976(0x1b8),'maxRetriesExceeded':_0x59a976(0x1bb)}}};export{e as default};
1
+ const _0x5cb4c0=_0x426b;function _0x426b(_0xf83c57,_0x2c7388){_0xf83c57=_0xf83c57-0x1d3;const _0x402967=_0x4029();let _0x426bf4=_0x402967[_0xf83c57];return _0x426bf4;}(function(_0x213ab5,_0x5b9cef){const _0x123515=_0x426b,_0x5cb818=_0x213ab5();while(!![]){try{const _0x5776cc=-parseInt(_0x123515(0x1f0))/0x1*(-parseInt(_0x123515(0x203))/0x2)+-parseInt(_0x123515(0x1e3))/0x3*(-parseInt(_0x123515(0x1f8))/0x4)+parseInt(_0x123515(0x1dd))/0x5+parseInt(_0x123515(0x200))/0x6*(parseInt(_0x123515(0x1f7))/0x7)+-parseInt(_0x123515(0x1d8))/0x8+-parseInt(_0x123515(0x1f9))/0x9*(-parseInt(_0x123515(0x1ed))/0xa)+parseInt(_0x123515(0x1ee))/0xb*(-parseInt(_0x123515(0x1d5))/0xc);if(_0x5776cc===_0x5b9cef)break;else _0x5cb818['push'](_0x5cb818['shift']());}catch(_0x1e1043){_0x5cb818['push'](_0x5cb818['shift']());}}}(_0x4029,0xdedc0));function _0x4029(){const _0x37f527=['MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','2780888jZcGVJ','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','MCP\x20Đang\x20thử\x20lại...','Đang\x20lưu...','Các\x20bước\x20cấu\x20hình:','5317545VuwGBC','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','MCP:\x20Lỗi\x20mạng','ID\x20phiên','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Cấu\x20hình\x20máy\x20khách\x20MCP','1973199FEIoOB','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','MCP:\x20Không\x20được\x20phép','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\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Lưu\x20cấu\x20hình','Kết\x20nối\x20thất\x20bại','Lưu\x20cấu\x20hình\x20thất\x20bại','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','1800PkrvSH','495xXTvCO','MCP\x20Đã\x20kết\x20nối','168079vJWKaF','Nhấp\x20để\x20kết\x20nối\x20MCP','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Đang\x20thử\x20lại...','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Nhấp\x20để\x20cấu\x20hình\x20MCP','147wbOrpv','4wEBpsM','80604UqZgdq','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Bật\x20xác\x20thực','Tham\x20số\x20cấu\x20hình:','Khóa\x20API','Đang\x20kết\x20nối...','197118MmcToj','Bảng\x20điều\x20khiển\x20Univer\x20AI','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','14kzYpbc','MCP\x20Kết\x20nối\x20thất\x20bại','Cấu\x20hình\x20MCP','MCP\x20Đang\x20kết\x20nối...','Nhập\x20khóa\x20API\x20của\x20bạn','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','1050492MiTlJs','Đã\x20kết\x20nối'];_0x4029=function(){return _0x37f527;};return _0x4029();}const e={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x5cb4c0(0x206),'connected':_0x5cb4c0(0x1ef),'failed':_0x5cb4c0(0x204),'retrying':_0x5cb4c0(0x1da),'unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':_0x5cb4c0(0x1e5),'sessionOccupied':_0x5cb4c0(0x1f2),'networkError':_0x5cb4c0(0x1df),'maxRetriesExceeded':_0x5cb4c0(0x1d7),'clickToConnect':_0x5cb4c0(0x1f1),'clickToConfigure':_0x5cb4c0(0x1f6)},'mcpConfig':{'title':_0x5cb4c0(0x205),'description':_0x5cb4c0(0x1fa),'apiKey':_0x5cb4c0(0x1fe),'apiKeyPlaceholder':_0x5cb4c0(0x1d3),'apiKeyHint':_0x5cb4c0(0x1eb),'enableAuth':_0x5cb4c0(0x1fc),'enableAuthHint':_0x5cb4c0(0x1fb),'connectionInfo':_0x5cb4c0(0x1e2),'mcpClientConfig':_0x5cb4c0(0x1e2),'configInstructions':_0x5cb4c0(0x1e1),'configStepTitle':_0x5cb4c0(0x1dc),'configStep1':_0x5cb4c0(0x1d9),'configStep2':_0x5cb4c0(0x1e4),'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':_0x5cb4c0(0x1e0),'sessionIdDescription':'Đị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.','authorizationDescription':_0x5cb4c0(0x1d4),'configParameters':_0x5cb4c0(0x1fd),'maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':_0x5cb4c0(0x1e8),'saving':_0x5cb4c0(0x1db),'note1':_0x5cb4c0(0x1ec),'note2':_0x5cb4c0(0x1de),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x5cb4c0(0x1ea),'apiApplyInfo':{'title':'Khóa\x20API\x20là\x20gì?','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':_0x5cb4c0(0x201),'getStarted':_0x5cb4c0(0x202)},'validation':{'apiKeyRequired':'Yêu\x20cầu\x20khóa\x20API','apiKeyTooShort':_0x5cb4c0(0x1f5),'invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20lệ','invalidApiKey':_0x5cb4c0(0x1e7)},'connectionStatus':{'disconnected':'Đã\x20ngắt\x20kết\x20nối','connecting':_0x5cb4c0(0x1ff),'connected':_0x5cb4c0(0x1d6),'failed':_0x5cb4c0(0x1e9),'retrying':_0x5cb4c0(0x1f3)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0x5cb4c0(0x1e6),'maxRetriesExceeded':_0x5cb4c0(0x1f4)}}};export{e as default};
@@ -1 +1 @@
1
- function _0x5016(_0x12a12f,_0x189b35){_0x12a12f=_0x12a12f-0x12e;const _0x586f7c=_0x586f();let _0x501638=_0x586f7c[_0x12a12f];return _0x501638;}const _0x3812f6=_0x5016;(function(_0xbd0e51,_0x497128){const _0x381885=_0x5016,_0x503520=_0xbd0e51();while(!![]){try{const _0x1e232a=-parseInt(_0x381885(0x151))/0x1*(parseInt(_0x381885(0x14e))/0x2)+-parseInt(_0x381885(0x14d))/0x3*(parseInt(_0x381885(0x13d))/0x4)+parseInt(_0x381885(0x158))/0x5+parseInt(_0x381885(0x13c))/0x6+-parseInt(_0x381885(0x155))/0x7+parseInt(_0x381885(0x132))/0x8*(-parseInt(_0x381885(0x12e))/0x9)+parseInt(_0x381885(0x133))/0xa;if(_0x1e232a===_0x497128)break;else _0x503520['push'](_0x503520['shift']());}catch(_0x1f1c96){_0x503520['push'](_0x503520['shift']());}}}(_0x586f,0x4bb0e));const e={'mcpStatus':{'disconnected':_0x3812f6(0x12f),'connecting':_0x3812f6(0x140),'connected':_0x3812f6(0x145),'failed':'MCP\x20连接失败','retrying':_0x3812f6(0x15e),'unknown':_0x3812f6(0x141),'unauthorized':_0x3812f6(0x153),'sessionOccupied':_0x3812f6(0x135),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x3812f6(0x144),'clickToConnect':_0x3812f6(0x15d),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x3812f6(0x15c),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x3812f6(0x13b),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x3812f6(0x14a),'mcpClientConfig':_0x3812f6(0x14a),'configInstructions':_0x3812f6(0x159),'configStepTitle':_0x3812f6(0x142),'configStep1':_0x3812f6(0x13f),'configStep2':_0x3812f6(0x148),'configStep3':_0x3812f6(0x14b),'sessionId':'会话ID','sessionIdDescription':_0x3812f6(0x157),'authorizationDescription':_0x3812f6(0x152),'configParameters':_0x3812f6(0x136),'maxRetries':_0x3812f6(0x14c),'save':_0x3812f6(0x154),'saving':_0x3812f6(0x139),'note1':_0x3812f6(0x138),'note2':_0x3812f6(0x150),'configSaved':_0x3812f6(0x137),'configError':'配置保存失败','apiApplyInfo':{'title':_0x3812f6(0x15a),'description':_0x3812f6(0x156),'univerAiLabel':_0x3812f6(0x15f),'getStarted':_0x3812f6(0x146)},'validation':{'apiKeyRequired':_0x3812f6(0x13e),'apiKeyTooShort':_0x3812f6(0x14f),'invalidConfig':_0x3812f6(0x147),'invalidApiKey':_0x3812f6(0x149)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x3812f6(0x134),'failed':_0x3812f6(0x13a),'retrying':_0x3812f6(0x131)},'connectionError':{'unauthorized':_0x3812f6(0x143),'sessionOccupied':_0x3812f6(0x15b),'networkError':_0x3812f6(0x130),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x586f(){const _0x5989d1=['保存配置','2008755lJGDJs','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','1627605myWGMU','将以下配置添加到您的\x20MCP\x20客户端设置中:','什么是\x20API\x20密钥?','会话\x20ID\x20已被占用,请稍后再试','API\x20密钥','点击连接\x20MCP','MCP\x20重连中...','Univer\x20AI\x20控制台','9fXtXJY','MCP\x20已断开','网络连接错误,请检查您的网络连接','重连中...','865576sQlyCY','3404760WttLmb','已连接','MCP:\x20会话\x20ID\x20已被占用','配置参数:','配置保存成功','配置更改将立即生效','保存中...','连接失败','启用身份验证','3636282TAzbrH','4GlbwyY','API\x20密钥不能为空','复制以下\x20JSON\x20配置','MCP\x20连接中...','MCP\x20状态未知','配置步骤:','权限验证失败,请检查您的\x20API\x20密钥','MCP:\x20超出最大重试次数','MCP\x20已连接','几秒钟内获取您的\x20API\x20密钥','配置无效','将配置添加到您的\x20MCP\x20客户端设置文件中','API\x20密钥无效,请检查密钥是否正确','MCP\x20客户端配置','重启您的\x20MCP\x20客户端以使配置生效','最大重试次数','1055733FrMYTS','143294LuHGoi','API\x20密钥长度至少需要\x2010\x20位','您的\x20API\x20密钥安全存储在本地存储中','3pEggYT','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP:\x20未授权'];_0x586f=function(){return _0x5989d1;};return _0x586f();}export{e as default};
1
+ const _0x3fe22c=_0x2868;(function(_0x25e241,_0x2be9c4){const _0x506284=_0x2868,_0x5d4e0a=_0x25e241();while(!![]){try{const _0x504a48=-parseInt(_0x506284(0xc2))/0x1*(-parseInt(_0x506284(0xd3))/0x2)+parseInt(_0x506284(0xc0))/0x3*(-parseInt(_0x506284(0xbe))/0x4)+-parseInt(_0x506284(0xbf))/0x5+-parseInt(_0x506284(0xca))/0x6*(-parseInt(_0x506284(0xde))/0x7)+parseInt(_0x506284(0xcf))/0x8*(parseInt(_0x506284(0xc3))/0x9)+parseInt(_0x506284(0xba))/0xa*(-parseInt(_0x506284(0xda))/0xb)+-parseInt(_0x506284(0xdc))/0xc*(parseInt(_0x506284(0xe1))/0xd);if(_0x504a48===_0x2be9c4)break;else _0x5d4e0a['push'](_0x5d4e0a['shift']());}catch(_0x57eac5){_0x5d4e0a['push'](_0x5d4e0a['shift']());}}}(_0x5d3a,0x740c3));function _0x2868(_0x265798,_0x555bd8){_0x265798=_0x265798-0xb5;const _0x5d3ae2=_0x5d3a();let _0x2868bc=_0x5d3ae2[_0x265798];return _0x2868bc;}function _0x5d3a(){const _0x30e3b0=['已连接','API\x20密钥','配置更改将立即生效','启用身份验证以获得安全连接','3027046suDRRd','权限验证失败,请检查您的\x20API\x20密钥','12xJXgMB','API\x20密钥不能为空','8729FzRhEB','启用身份验证','什么是\x20API\x20密钥?','1186159XEThaf','配置步骤:','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20重连中...','MCP:\x20超出最大重试次数','点击连接\x20MCP','MCP\x20配置','MCP:\x20网络错误','10mKpdRy','MCP\x20状态未知','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','会话\x20ID\x20已被占用,请稍后再试','604QRdgpH','1393305tNULtb','5991ntXaJn','会话ID','27HhccsV','108VpWGvs','保存配置','连接中...','MCP:\x20会话\x20ID\x20已被占用','您的\x20API\x20密钥将在此浏览器中本地存储','您的\x20API\x20密钥安全存储在本地存储中','连接失败','2442LxjWoA','保存中...','配置保存失败','Univer\x20AI\x20控制台','MCP\x20连接中...','162704JOfYlt','重启您的\x20MCP\x20客户端以使配置生效','配置\x20MCP\x20使用\x20AI\x20操作电子表格','未连接','49658vgqxIg','API\x20密钥无效,请检查密钥是否正确','将配置添加到您的\x20MCP\x20客户端设置文件中'];_0x5d3a=function(){return _0x30e3b0;};return _0x5d3a();}const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x3fe22c(0xce),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x3fe22c(0xb5),'unknown':_0x3fe22c(0xbb),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x3fe22c(0xc6),'networkError':_0x3fe22c(0xb9),'maxRetriesExceeded':_0x3fe22c(0xb6),'clickToConnect':_0x3fe22c(0xb7),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x3fe22c(0xb8),'description':_0x3fe22c(0xd1),'apiKey':_0x3fe22c(0xd7),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x3fe22c(0xc7),'enableAuth':_0x3fe22c(0xdf),'enableAuthHint':_0x3fe22c(0xd9),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x3fe22c(0xe2),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x3fe22c(0xd5),'configStep3':_0x3fe22c(0xd0),'sessionId':_0x3fe22c(0xc1),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x3fe22c(0xe3),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x3fe22c(0xc4),'saving':_0x3fe22c(0xcb),'note1':_0x3fe22c(0xd8),'note2':_0x3fe22c(0xc8),'configSaved':'配置保存成功','configError':_0x3fe22c(0xcc),'apiApplyInfo':{'title':_0x3fe22c(0xe0),'description':_0x3fe22c(0xbc),'univerAiLabel':_0x3fe22c(0xcd),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x3fe22c(0xdd),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20','invalidConfig':'配置无效','invalidApiKey':_0x3fe22c(0xd4)},'connectionStatus':{'disconnected':_0x3fe22c(0xd2),'connecting':_0x3fe22c(0xc5),'connected':_0x3fe22c(0xd6),'failed':_0x3fe22c(0xc9),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x3fe22c(0xdb),'sessionOccupied':_0x3fe22c(0xbd),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};export{e as default};
@@ -1 +1 @@
1
- function _0x466c(){const _0x2d92e8=['18oeYPgC','7965097uctfVf','21374oXKwaq','2944602LWAgvM','24291780PcQHwz','5110695GhiMSk','4764WrnydK','91byyLdy','830760EZLwiz','136AUMYth'];_0x466c=function(){return _0x2d92e8;};return _0x466c();}(function(_0x3cbea6,_0x52d9a6){const _0x34e3c2=_0x101d,_0x3f151=_0x3cbea6();while(!![]){try{const _0x34f3a0=-parseInt(_0x34e3c2(0x198))/0x1*(parseInt(_0x34e3c2(0x19d))/0x2)+parseInt(_0x34e3c2(0x197))/0x3*(-parseInt(_0x34e3c2(0x19a))/0x4)+parseInt(_0x34e3c2(0x196))/0x5+-parseInt(_0x34e3c2(0x194))/0x6+-parseInt(_0x34e3c2(0x19c))/0x7+parseInt(_0x34e3c2(0x199))/0x8*(-parseInt(_0x34e3c2(0x19b))/0x9)+parseInt(_0x34e3c2(0x195))/0xa;if(_0x34f3a0===_0x52d9a6)break;else _0x3f151['push'](_0x3f151['shift']());}catch(_0x1be2ca){_0x3f151['push'](_0x3f151['shift']());}}}(_0x466c,0x8fac0));import _0x39a7bd from'./en-US.js';function _0x101d(_0x44a892,_0x2e04fe){_0x44a892=_0x44a892-0x194;const _0x466c8b=_0x466c();let _0x101d83=_0x466c8b[_0x44a892];return _0x101d83;}const t=_0x39a7bd;export{t as default};
1
+ function _0x2d08(){const _0x287527=['9565420IMKqub','5683734yGUeMe','1405EUSacU','55nOwety','349950jDtvQr','6bEhkRt','9549027HCpkln','14586032mnHGCM','1DYAHUp','16924YipgGU','449015DmYgpr'];_0x2d08=function(){return _0x287527;};return _0x2d08();}(function(_0x4df9ac,_0x39eab6){const _0x48da3a=_0x463b,_0x509092=_0x4df9ac();while(!![]){try{const _0x6dbba5=-parseInt(_0x48da3a(0xfb))/0x1*(parseInt(_0x48da3a(0xf7))/0x2)+-parseInt(_0x48da3a(0xff))/0x3+-parseInt(_0x48da3a(0xfc))/0x4*(-parseInt(_0x48da3a(0x100))/0x5)+parseInt(_0x48da3a(0xf8))/0x6*(-parseInt(_0x48da3a(0xfd))/0x7)+-parseInt(_0x48da3a(0xfa))/0x8+-parseInt(_0x48da3a(0xf9))/0x9+-parseInt(_0x48da3a(0xfe))/0xa*(-parseInt(_0x48da3a(0x101))/0xb);if(_0x6dbba5===_0x39eab6)break;else _0x509092['push'](_0x509092['shift']());}catch(_0x570f02){_0x509092['push'](_0x509092['shift']());}}}(_0x2d08,0xe8d42));import _0x4f8190 from'./en-US.js';function _0x463b(_0x548761,_0x3b117c){_0x548761=_0x548761-0xf7;const _0x2d0825=_0x2d08();let _0x463ba4=_0x2d0825[_0x548761];return _0x463ba4;}const t=_0x4f8190;export{t as default};