@univerjs-pro/mcp-ui 0.23.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +3 -3
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5bbb8e=_0x43ce;(function(_0x39adb1,_0x37a2d0){const _0x378d74=_0x43ce,_0x51d8be=_0x39adb1();while(!![]){try{const _0x1202e7=-parseInt(_0x378d74(0x171))/0x1+-parseInt(_0x378d74(0x148))/0x2*(-parseInt(_0x378d74(0x25a))/0x3)+parseInt(_0x378d74(0x292))/0x4*(-parseInt(_0x378d74(0x256))/0x5)+parseInt(_0x378d74(0x229))/0x6+-parseInt(_0x378d74(0x277))/0x7+parseInt(_0x378d74(0x210))/0x8+parseInt(_0x378d74(0x143))/0x9;if(_0x1202e7===_0x37a2d0)break;else _0x51d8be['push'](_0x51d8be['shift']());}catch(_0x37d6ee){_0x51d8be['push'](_0x51d8be['shift']());}}}(_0x2647,0x4ec28),Object[_0x5bbb8e(0x245)](exports,Symbol['toStringTag'],{'value':_0x5bbb8e(0x1bc)}));let e=require(`@univerjs/core`),t=require(`@univerjs-pro/mcp`),n=require(`@univerjs/design`),r=require(`@univerjs/ui`),i=require(`rxjs`),a=require(`@univerjs/icons`),o=require(`react`),s=require(`react/jsx-runtime`),c=require(`@univerjs/network`);function l(_0x5f2589){const _0x380737=_0x5bbb8e;var _0x3ce849,_0x18df01;let {mcpCoreConfig:_0xec70a1,onSave:_0x374c1e,loading:_0x5d98b1=!0x1,config:_0x2d4312,connectionStatus$:_0x5bd377,connectionError$:_0x40471c,currentApiKey$:_0x496631,currentSessionId$:_0x12a5ad}=_0x5f2589,_0x57c059=(0x0,r['useDependency'])(e[_0x380737(0x24e)]),_0x35d1ba=(0x0,r['useObservable'])(_0x5bd377,t[_0x380737(0x169)][_0x380737(0x20f)]),_0x4cf356=(0x0,r[_0x380737(0x241)])(_0x40471c,t[_0x380737(0x1c7)][_0x380737(0x1a7)]),_0x197936=(0x0,r[_0x380737(0x241)])(_0x12a5ad,''),[_0x46f656,_0x591ea]=(0x0,o['useState'])((0x0,r[_0x380737(0x241)])(_0x496631,'')||''),_0x14a809=_0x2d4312[_0x380737(0x272)]&&_0xec70a1[_0x380737(0x1f4)]&&(_0xec70a1[_0x380737(0x1f4)][_0x380737(0x257)](_0x380737(0x29b))||_0xec70a1[_0x380737(0x1f4)]['includes'](_0x380737(0x156))),_0x713da9=(_0x3ce849=_0xec70a1['mcpServerUrl'])==null?void 0x0:_0x3ce849[_0x380737(0x257)](_0x380737(0x29b)),_0x368dcc=(_0x18df01=_0xec70a1[_0x380737(0x1f4)])==null?void 0x0:_0x18df01[_0x380737(0x257)]('univer.ai'),_0x26c76c=_0x713da9?_0x380737(0x1f1):_0x380737(0x140),_0x2458af=_0x2d4312[_0x380737(0x272)]&&(_0x713da9||_0x368dcc),[_0x5361bd,_0x2e73cb]=(0x0,o[_0x380737(0x153)])(!_0x46f656['trim']()),_0x5d1e1d=(_0x1483c7,_0x46541c)=>{const _0x249e04=_0x380737;if(_0x46541c===t['MCPConnectionError'][_0x249e04(0x168)])return _0x249e04(0x15f);switch(_0x1483c7){case t[_0x249e04(0x169)]['CONNECTED']:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case t['MCPConnectionStatus']['CONNECTING']:case t[_0x249e04(0x169)][_0x249e04(0x247)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case t[_0x249e04(0x169)][_0x249e04(0x19b)]:return _0x249e04(0x15f);default:return _0x249e04(0x212);}},_0x3cf721=(_0x3a9f04,_0x4679bb)=>{const _0x440819=_0x380737;if(_0x4679bb===t[_0x440819(0x1c7)]['UNAUTHORIZED'])return _0x440819(0x285);switch(_0x3a9f04){case t[_0x440819(0x169)][_0x440819(0x23a)]:return _0x440819(0x1c3);case t[_0x440819(0x169)]['CONNECTING']:case t[_0x440819(0x169)][_0x440819(0x247)]:return _0x440819(0x1dd);case t[_0x440819(0x169)][_0x440819(0x19b)]:return _0x440819(0x285);default:return'univer-bg-gray-500';}},_0x4f90c4=_0x5a3d17=>{const _0x51f2c7=_0x380737;switch(_0x5a3d17){case t[_0x51f2c7(0x169)][_0x51f2c7(0x23a)]:return _0x57c059['t'](_0x51f2c7(0x1f6));case t[_0x51f2c7(0x169)][_0x51f2c7(0x27e)]:return _0x57c059['t'](_0x51f2c7(0x183));case t[_0x51f2c7(0x169)]['FAILED']:return _0x57c059['t'](_0x51f2c7(0x25c));case t[_0x51f2c7(0x169)][_0x51f2c7(0x247)]:return _0x57c059['t'](_0x51f2c7(0x23b));default:return _0x57c059['t'](_0x51f2c7(0x239));}},_0x197784=_0x49abd4=>{const _0x770c12=_0x380737;switch(_0x49abd4){case t[_0x770c12(0x1c7)][_0x770c12(0x168)]:return _0x57c059['t'](_0x770c12(0x189));case t['MCPConnectionError'][_0x770c12(0x26b)]:return _0x57c059['t'](_0x770c12(0x194));case t[_0x770c12(0x1c7)]['NETWORK_ERROR']:return _0x57c059['t'](_0x770c12(0x13b));case t[_0x770c12(0x1c7)]['MAX_RETRIES_EXCEEDED']:return _0x57c059['t'](_0x770c12(0x211));default:return'';}},_0x13919f=(0x0,o[_0x380737(0x29f)])(()=>{_0x374c1e({..._0xec70a1,'apiKey':_0x46f656['trim'](),'enableAuth':!0x0});},[_0xec70a1,_0x46f656,!0x0,_0x374c1e]),_0x2412a1=_0x46f656[_0x380737(0x1ba)]()['length']>0x0;return(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x1c1),'children':(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x220),'children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,s[_0x380737(0x231)])('span',{'className':'univer-text-white','children':'⚙'})}),(0x0,s[_0x380737(0x231)])('div',{'children':(0x0,s['jsx'])('p',{'className':_0x380737(0x146),'children':_0x57c059['t'](_0x380737(0x201))})})]})}),(0x0,s['jsxs'])(_0x380737(0x16a),{'className':_0x380737(0x1d5),'children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':(0x0,n['clsx'])(_0x380737(0x21a),_0x5d1e1d(_0x35d1ba,_0x4cf356)),'children':(0x0,s['jsxs'])(_0x380737(0x16a),{'className':_0x380737(0x226),'children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':(0x0,n['clsx'])(_0x380737(0x1ed),_0x3cf721(_0x35d1ba,_0x4cf356))}),(0x0,s[_0x380737(0x231)])(_0x380737(0x172),{'className':'univer-text-sm\x20univer-font-medium','children':_0x4f90c4(_0x35d1ba)})]})}),_0x4cf356!==t[_0x380737(0x1c7)][_0x380737(0x1a7)]&&(_0x35d1ba===t[_0x380737(0x169)]['FAILED']||_0x4cf356===t[_0x380737(0x1c7)][_0x380737(0x168)])&&(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x1b7),'children':(0x0,s[_0x380737(0x290)])('div',{'className':_0x380737(0x276),'children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x172),{'className':_0x380737(0x1cf),'children':'⚠️'}),(0x0,s[_0x380737(0x231)])('p',{'className':_0x380737(0x264),'children':_0x197784(_0x4cf356)})]})})]}),(0x0,s[_0x380737(0x231)])('div',{'className':_0x380737(0x16d),'children':(0x0,s['jsxs'])(_0x380737(0x16a),{'className':_0x380737(0x26e),'children':[(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x268),'children':[(0x0,s[_0x380737(0x290)])(_0x380737(0x1b2),{'className':_0x380737(0x1c6),'children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x172),{'children':'🔑'}),'\x20',_0x57c059['t'](_0x380737(0x1b6)),(0x0,s[_0x380737(0x231)])(_0x380737(0x172),{'className':_0x380737(0x274),'children':'*'}),_0x14a809&&(0x0,s['jsx'])('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x57c059['t']('mcpConfig.apiApplyInfo.title'),'role':_0x380737(0x1df),'onClick':()=>_0x2e73cb(!0x0),'children':(0x0,s[_0x380737(0x231)])(a[_0x380737(0x158)],{})})]}),(0x0,s[_0x380737(0x231)])(n['Input'],{'type':_0x380737(0x13c),'placeholder':_0x57c059['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x46f656,'disabled':_0x5d98b1,'autoComplete':_0x380737(0x259),'onChange':_0x591ea}),(0x0,s[_0x380737(0x231)])('p',{'className':_0x380737(0x29c),'children':_0x57c059['t'](_0x380737(0x1fe))})]}),_0x14a809&&_0x5361bd&&(0x0,s['jsxs'])('div',{'className':_0x380737(0x22c),'children':[(0x0,s['jsx'])('a',{'className':_0x380737(0x227),'role':_0x380737(0x1df),'onClick':()=>_0x2e73cb(!0x1),'children':(0x0,s['jsx'])(a[_0x380737(0x190)],{'className':_0x380737(0x13d)})}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x1d7),'children':[(0x0,s['jsx'])('div',{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':(0x0,s['jsx'])(_0x380737(0x172),{'className':'univer-text-blue-600','children':'🚀'})}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x13f),'children':[(0x0,s[_0x380737(0x231)])('h4',{'className':_0x380737(0x27f),'children':_0x57c059['t'](_0x380737(0x1b5))}),(0x0,s[_0x380737(0x231)])('p',{'className':_0x380737(0x255),'children':_0x57c059['t'](_0x380737(0x1d9))}),(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x1de),'children':_0x2458af&&(0x0,s[_0x380737(0x290)])('a',{'className':_0x380737(0x20d),'href':_0x26c76c,'target':_0x380737(0x16e),'rel':'noopener\x20noreferrer','children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x172),{'children':'🤖'}),_0x57c059['t'](_0x380737(0x1e4)),(0x0,s[_0x380737(0x231)])(_0x380737(0x172),{'className':_0x380737(0x18a),'children':'↗'})]})}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x57c059['t'](_0x380737(0x196))]})]})]})]}),_0x2d4312[_0x380737(0x272)]&&(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[(0x0,s['jsxs'])('h4',{'className':_0x380737(0x173),'children':[(0x0,s[_0x380737(0x231)])('span',{'children':'🔗'}),'\x20',_0x57c059['t']('mcpConfig.connectionInfo')]}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x1a3),'children':[(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':'univer-space-y-3','children':[(0x0,s['jsx'])('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x57c059['t'](_0x380737(0x1f5))}),(0x0,s['jsxs'])(_0x380737(0x16a),{'className':'univer-space-y-2','children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x1d4),'children':_0x57c059['t'](_0x380737(0x1f2))}),(0x0,s['jsxs'])(_0x380737(0x16a),{'className':_0x380737(0x165),'children':[(0x0,s[_0x380737(0x290)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x172),{'className':_0x380737(0x1dc),'children':'1'}),_0x57c059['t']('mcpConfig.configStep1')]}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x226),'children':[(0x0,s[_0x380737(0x231)])('span',{'className':_0x380737(0x1dc),'children':'2'}),_0x57c059['t'](_0x380737(0x15d))]}),(0x0,s['jsxs'])('div',{'className':_0x380737(0x226),'children':[(0x0,s['jsx'])(_0x380737(0x172),{'className':_0x380737(0x1dc),'children':'3'}),_0x57c059['t'](_0x380737(0x174))]})]})]})]}),(0x0,s[_0x380737(0x290)])('div',{'className':_0x380737(0x268),'children':[(0x0,s[_0x380737(0x231)])('div',{'className':_0x380737(0x1d4),'children':_0x380737(0x1cb)}),(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x217),'children':(0x0,s[_0x380737(0x231)])(_0x380737(0x1d2),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x380737(0x191)]({'mcpServers':{'univer':{'url':_0x380737(0x23e)+(_0x197936||'<SESSION_ID>'),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0x46f656||_0x380737(0x21d))}}}},null,0x2)})})]}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x266),'children':[(0x0,s['jsx'])(_0x380737(0x16a),{'className':_0x380737(0x1d4),'children':_0x57c059['t']('mcpConfig.configParameters')}),(0x0,s[_0x380737(0x290)])('div',{'className':'univer-space-y-2','children':[(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x162),'children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x152),'children':_0x380737(0x1db)}),(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x29c),'children':_0x57c059['t'](_0x380737(0x1e0))})]})]}),(0x0,s['jsxs'])(_0x380737(0x16a),{'className':_0x380737(0x162),'children':[(0x0,s['jsx'])(_0x380737(0x16a),{'className':_0x380737(0x22f)}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':_0x380737(0x1ad),'children':[(0x0,s['jsx'])('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x380737(0x18c)}),(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x29c),'children':_0x57c059['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),(0x0,s[_0x380737(0x231)])(n[_0x380737(0x26c)],{'onClick':_0x13919f,'disabled':!_0x2412a1||_0x5d98b1,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x5d98b1?(0x0,s[_0x380737(0x290)])(_0x380737(0x172),{'className':_0x380737(0x226),'children':[(0x0,s['jsx'])(_0x380737(0x172),{'children':'⟲'}),_0x57c059['t'](_0x380737(0x224))]}):(0x0,s[_0x380737(0x290)])(_0x380737(0x172),{'className':_0x380737(0x226),'children':[(0x0,s[_0x380737(0x231)])(a[_0x380737(0x197)],{}),_0x57c059['t'](_0x380737(0x283))]})}),(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x26f),'children':(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'className':'univer-flex\x20univer-gap-3','children':[(0x0,s['jsx'])('span',{'className':_0x380737(0x14e),'children':'💡'}),(0x0,s[_0x380737(0x290)])('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[(0x0,s[_0x380737(0x231)])(_0x380737(0x16a),{'className':_0x380737(0x1fa),'children':_0x380737(0x25b)}),(0x0,s[_0x380737(0x290)])(_0x380737(0x16a),{'children':['•',_0x57c059['t'](_0x380737(0x29e))]}),(0x0,s[_0x380737(0x290)])('div',{'children':['•',_0x57c059['t'](_0x380737(0x209))]})]})]})})]})})]});}const u=_0x5bbb8e(0x254);Symbol(u);const d={'showDeveloperTools':!0x1,'showStatus':!0x0};function f(_0x55dffd){'@babel/helpers - typeof';return f=typeof Symbol=='function'&&typeof Symbol['iterator']=='symbol'?function(_0x4e17d4){return typeof _0x4e17d4;}:function(_0x3a1e79){const _0x2b24bb=_0x43ce;return _0x3a1e79&&typeof Symbol=='function'&&_0x3a1e79['constructor']===Symbol&&_0x3a1e79!==Symbol[_0x2b24bb(0x1d3)]?'symbol':typeof _0x3a1e79;},f(_0x55dffd);}function p(_0x2849c9,_0x2e15d8){const _0x113ac4=_0x5bbb8e;if(f(_0x2849c9)!=_0x113ac4(0x184)||!_0x2849c9)return _0x2849c9;var _0x2848b9=_0x2849c9[Symbol[_0x113ac4(0x29a)]];if(_0x2848b9!==void 0x0){var _0x2405a6=_0x2848b9['call'](_0x2849c9,_0x2e15d8||_0x113ac4(0x1f3));if(f(_0x2405a6)!=_0x113ac4(0x184))return _0x2405a6;throw TypeError(_0x113ac4(0x187));}return(_0x2e15d8===_0x113ac4(0x299)?String:Number)(_0x2849c9);}function m(_0x5494c9){const _0xbb0e52=_0x5bbb8e;var _0x24e0ce=p(_0x5494c9,_0xbb0e52(0x299));return f(_0x24e0ce)==_0xbb0e52(0x19d)?_0x24e0ce:_0x24e0ce+'';}function h(_0x30bc48,_0x92187c,_0x2fd553){return(_0x92187c=m(_0x92187c))in _0x30bc48?Object['defineProperty'](_0x30bc48,_0x92187c,{'value':_0x2fd553,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x30bc48[_0x92187c]=_0x2fd553,_0x30bc48;}function g(_0x3bdc19,_0x13459a){return function(_0x375784,_0x23a20b){_0x13459a(_0x375784,_0x23a20b,_0x3bdc19);};}function _(_0x7e531b,_0x1235e4,_0x5bb96f,_0x3d3db9){const _0x12e3e0=_0x5bbb8e;var _0x365f4b=arguments[_0x12e3e0(0x195)],_0x18f19d=_0x365f4b<0x3?_0x1235e4:_0x3d3db9===null?_0x3d3db9=Object[_0x12e3e0(0x13e)](_0x1235e4,_0x5bb96f):_0x3d3db9,_0x2ca280;if(typeof Reflect=='object'&&typeof Reflect[_0x12e3e0(0x1fc)]==_0x12e3e0(0x20e))_0x18f19d=Reflect[_0x12e3e0(0x1fc)](_0x7e531b,_0x1235e4,_0x5bb96f,_0x3d3db9);else{for(var _0x3702fd=_0x7e531b[_0x12e3e0(0x195)]-0x1;_0x3702fd>=0x0;_0x3702fd--)(_0x2ca280=_0x7e531b[_0x3702fd])&&(_0x18f19d=(_0x365f4b<0x3?_0x2ca280(_0x18f19d):_0x365f4b>0x3?_0x2ca280(_0x1235e4,_0x5bb96f,_0x18f19d):_0x2ca280(_0x1235e4,_0x5bb96f))||_0x18f19d);}return _0x365f4b>0x3&&_0x18f19d&&Object[_0x12e3e0(0x245)](_0x1235e4,_0x5bb96f,_0x18f19d),_0x18f19d;}const v='mcp.apiKey',y=_0x5bbb8e(0x1e1);let b=class extends e[_0x5bbb8e(0x1f9)]{constructor(_0x2523d5,_0xf6bf69,_0x9f4828,_0x920ba0,_0x3250f5,_0x50c2bd,_0x257b8c,_0x3ac73b,_0xd3e00,_0x37b216){const _0x1f6767=_0x5bbb8e;super(),this[_0x1f6767(0x24b)]=_0x2523d5,this[_0x1f6767(0x1d8)]=_0xf6bf69,this['_configService']=_0x9f4828,this[_0x1f6767(0x17c)]=_0x920ba0,this[_0x1f6767(0x155)]=_0x3250f5,this[_0x1f6767(0x14a)]=_0x50c2bd,this[_0x1f6767(0x295)]=_0x257b8c,this[_0x1f6767(0x206)]=_0x3ac73b,this[_0x1f6767(0x1af)]=_0xd3e00,this['_mcpConnectionController']=_0x37b216,h(this,'_loading$',new i['BehaviorSubject'](!0x1)),h(this,_0x1f6767(0x235),new i[(_0x1f6767(0x144))]({})),h(this,_0x1f6767(0x1ef),new i[(_0x1f6767(0x144))]({})),h(this,'_apiKey$',new i['BehaviorSubject']('')),h(this,_0x1f6767(0x193),async _0x1f77ca=>{const _0x1483b7=_0x1f6767;this[_0x1483b7(0x1ce)][_0x1483b7(0x1e2)](!0x0);try{var _0x269750,_0x37ebf7;let _0x2820bc=await this[_0x1483b7(0x15e)](_0x1f77ca);if(!_0x2820bc['isValid']){this[_0x1483b7(0x14a)]['show']({'type':n[_0x1483b7(0x29d)][_0x1483b7(0x19f)],'content':_0x2820bc[_0x1483b7(0x1e8)]||this[_0x1483b7(0x206)]['t'](_0x1483b7(0x145))});return;}_0x1f77ca['apiKey']?await this[_0x1483b7(0x17c)][_0x1483b7(0x1a1)](v,_0x1f77ca['apiKey'][_0x1483b7(0x1ba)]()):await this[_0x1483b7(0x17c)][_0x1483b7(0x1bf)](v),this['_apiKey$']['next'](((_0x269750=_0x1f77ca[_0x1483b7(0x167)])==null?void 0x0:_0x269750[_0x1483b7(0x1ba)]())||''),this[_0x1483b7(0x1cc)]['__setCustomHeaders']({'Authorization':_0x1483b7(0x1b1)+((_0x37ebf7=_0x1f77ca[_0x1483b7(0x167)])==null?void 0x0:_0x37ebf7[_0x1483b7(0x1ba)]())}),this[_0x1483b7(0x14a)][_0x1483b7(0x15c)]({'type':n[_0x1483b7(0x29d)]['Success'],'content':this[_0x1483b7(0x206)]['t'](_0x1483b7(0x23f))}),setTimeout(()=>{const _0x265de5=_0x1483b7;this['_dialogService'][_0x265de5(0x1b9)](y);},0x320);}catch(_0x512c00){this[_0x1483b7(0x1af)][_0x1483b7(0x176)](_0x1483b7(0x208),_0x512c00),this[_0x1483b7(0x14a)][_0x1483b7(0x15c)]({'type':n[_0x1483b7(0x29d)][_0x1483b7(0x19f)],'content':this[_0x1483b7(0x206)]['t'](_0x1483b7(0x219))});}finally{this[_0x1483b7(0x1ce)][_0x1483b7(0x1e2)](!0x1);}}),this[_0x1f6767(0x1a8)](),this[_0x1f6767(0x203)](),this['_registerComponent']();}[_0x5bbb8e(0x1c9)](){const _0x248b4c=_0x5bbb8e;let _0x5eb3ec=this[_0x248b4c(0x1ff)][_0x248b4c(0x19e)](u);_0x5eb3ec!=null&&_0x5eb3ec[_0x248b4c(0x272)]&&this[_0x248b4c(0x155)][_0x248b4c(0x18b)]({'id':y,'title':{'title':this[_0x248b4c(0x206)]['t']('mcpConfig.title')},'children':{'label':_0x248b4c(0x260)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x21a98a=_0x248b4c;this[_0x21a98a(0x155)][_0x21a98a(0x1b9)](y);}});}[_0x5bbb8e(0x198)](){const _0x39a38e=_0x5bbb8e;return this[_0x39a38e(0x235)][_0x39a38e(0x16f)];}[_0x5bbb8e(0x178)](){const _0x499e86=_0x5bbb8e;this[_0x499e86(0x269)](this['_componentManager'][_0x499e86(0x242)](_0x499e86(0x260),this[_0x499e86(0x21f)]()));}[_0x5bbb8e(0x21f)](){const _0x42f861=_0x5bbb8e;return(0x0,r[_0x42f861(0x1a0)])(()=>{const _0x22bd71=_0x42f861;var _0x1f8f4c,_0x2620d4,_0x5058e0;return(0x0,s['jsx'])(l,{'config':this[_0x22bd71(0x1ef)][_0x22bd71(0x16f)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x22bd71(0x16f)],'currentApiKey$':this[_0x22bd71(0x1ab)],'onSave':this[_0x22bd71(0x193)],'loading':this[_0x22bd71(0x1ce)][_0x22bd71(0x16f)],'connectionStatus$':(_0x1f8f4c=this[_0x22bd71(0x1cc)])==null?void 0x0:_0x1f8f4c[_0x22bd71(0x14b)],'connectionError$':(_0x2620d4=this[_0x22bd71(0x1cc)])==null?void 0x0:_0x2620d4[_0x22bd71(0x232)],'currentSessionId$':(_0x5058e0=this['_mcpConnectionController'])==null?void 0x0:_0x5058e0[_0x22bd71(0x205)]});},this[_0x42f861(0x24b)]);}[_0x5bbb8e(0x1a8)](){const _0x5c1b37=_0x5bbb8e;this['disposeWithMe'](this[_0x5c1b37(0x1ff)][_0x5c1b37(0x141)](t[_0x5c1b37(0x244)])['subscribe'](_0x39ec4f=>{const _0x48f631=_0x5c1b37;this[_0x48f631(0x235)][_0x48f631(0x1e2)](_0x39ec4f||{});}));let _0x47ab6a=this[_0x5c1b37(0x1ff)][_0x5c1b37(0x19e)](t[_0x5c1b37(0x244)]);this[_0x5c1b37(0x235)][_0x5c1b37(0x1e2)](_0x47ab6a||{}),this['disposeWithMe'](this[_0x5c1b37(0x1ff)]['subscribeConfigValue$'](u)[_0x5c1b37(0x19c)](_0x4f2cc8=>{const _0x58723e=_0x5c1b37;this['_config$'][_0x58723e(0x1e2)](_0x4f2cc8||{});}));let _0xe18530=this[_0x5c1b37(0x1ff)][_0x5c1b37(0x19e)](u);this['_config$'][_0x5c1b37(0x1e2)](_0xe18530||{});}async[_0x5bbb8e(0x203)](){const _0x57ea2e=_0x5bbb8e;let _0xb73f24=this[_0x57ea2e(0x1ff)]['getConfig'](u);if(!(_0xb73f24!=null&&_0xb73f24['showDeveloperTools']))return;let _0x3ebf02=await this[_0x57ea2e(0x17c)][_0x57ea2e(0x22a)](v);_0x3ebf02&&(this[_0x57ea2e(0x1cc)][_0x57ea2e(0x17e)]({'Authorization':_0x57ea2e(0x1b1)+_0x3ebf02}),this[_0x57ea2e(0x1ab)][_0x57ea2e(0x1e2)](_0x3ebf02));}async[_0x5bbb8e(0x15e)](_0xdf47e1){const _0x8c7017=_0x5bbb8e;if(!_0xdf47e1[_0x8c7017(0x167)]||_0xdf47e1['apiKey'][_0x8c7017(0x1ba)]()[_0x8c7017(0x195)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x8c7017(0x206)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0xdf47e1[_0x8c7017(0x167)][_0x8c7017(0x1ba)]()[_0x8c7017(0x195)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x8c7017(0x222))};try{let _0x3928ff=await this[_0x8c7017(0x24b)]['get'](t[_0x8c7017(0x177)])[_0x8c7017(0x14d)](_0xdf47e1[_0x8c7017(0x167)][_0x8c7017(0x1ba)]());return _0x3928ff[_0x8c7017(0x28b)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3928ff[_0x8c7017(0x176)]||this[_0x8c7017(0x206)]['t'](_0x8c7017(0x18d))};}catch(_0x39efc4){return console[_0x8c7017(0x23c)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x39efc4),{'isValid':!0x0};}}};b=_([g(0x0,(0x0,e[_0x5bbb8e(0x13a)])(e[_0x5bbb8e(0x22d)])),g(0x1,r[_0x5bbb8e(0x28f)]),g(0x2,e[_0x5bbb8e(0x21c)]),g(0x3,e[_0x5bbb8e(0x25f)]),g(0x4,r[_0x5bbb8e(0x1fb)]),g(0x5,r[_0x5bbb8e(0x282)]),g(0x6,(0x0,e[_0x5bbb8e(0x13a)])(r[_0x5bbb8e(0x240)])),g(0x7,(0x0,e['Inject'])(e[_0x5bbb8e(0x24e)])),g(0x8,e[_0x5bbb8e(0x236)]),g(0x9,(0x0,e['Inject'])(t[_0x5bbb8e(0x177)]))],b);const x={'id':'mcp-ui.command.openConfigPanel','type':e[_0x5bbb8e(0x267)][_0x5bbb8e(0x1e9)],'handler':async(_0x2383e4,_0xa10adc)=>(_0x2383e4[_0x5bbb8e(0x1ec)](b)[_0x5bbb8e(0x1c9)](),!0x0)};function S(_0x5e405c,_0x1eaade){const _0x135df7=_0x5bbb8e;switch(_0x5e405c){case t[_0x135df7(0x169)][_0x135df7(0x20f)]:return'mcpStatus.disconnected';case t[_0x135df7(0x169)][_0x135df7(0x27e)]:return _0x135df7(0x1c5);case t[_0x135df7(0x169)][_0x135df7(0x23a)]:return _0x135df7(0x27a);case t[_0x135df7(0x169)][_0x135df7(0x19b)]:switch(_0x1eaade){case t['MCPConnectionError'][_0x135df7(0x168)]:return _0x135df7(0x230);case t['MCPConnectionError'][_0x135df7(0x26b)]:return'mcpStatus.sessionOccupied';case t[_0x135df7(0x1c7)][_0x135df7(0x1c2)]:return _0x135df7(0x1d6);case t['MCPConnectionError'][_0x135df7(0x214)]:return _0x135df7(0x288);default:return'mcpStatus.failed';}case t[_0x135df7(0x169)][_0x135df7(0x247)]:return _0x135df7(0x1a5);default:return _0x135df7(0x150);}}function C(_0x15a8e1,_0x215128,_0x464ba1,_0x31e704=!0x0){const _0x3ec52c=_0x5bbb8e;let _0x573909=S(_0x15a8e1,_0x215128),_0x2a06e5=_0x464ba1['t'](_0x573909);return _0x31e704?_0x15a8e1===t[_0x3ec52c(0x169)][_0x3ec52c(0x20f)]&&_0x215128===t[_0x3ec52c(0x1c7)]['UNAUTHORIZED']?_0x2a06e5+_0x3ec52c(0x161)+_0x464ba1['t'](_0x3ec52c(0x17f)):_0x15a8e1===t[_0x3ec52c(0x169)][_0x3ec52c(0x23a)]?''+_0x2a06e5:_0x15a8e1===t[_0x3ec52c(0x169)][_0x3ec52c(0x20f)]||_0x15a8e1===t['MCPConnectionStatus']['FAILED']?_0x2a06e5+_0x3ec52c(0x161)+_0x464ba1['t'](_0x3ec52c(0x273)):_0x2a06e5:_0x2a06e5;}function w(_0x39f16c){const _0x75346f=_0x5bbb8e;switch(_0x39f16c){case t[_0x75346f(0x169)][_0x75346f(0x23a)]:return _0x75346f(0x249);case t['MCPConnectionStatus'][_0x75346f(0x27e)]:case t[_0x75346f(0x169)]['RETRYING']:return _0x75346f(0x297);case t[_0x75346f(0x169)][_0x75346f(0x19b)]:case t[_0x75346f(0x169)][_0x75346f(0x20f)]:return _0x75346f(0x274);default:return _0x75346f(0x24a);}}function T(_0x196b58){const _0x23eb4c=_0x5bbb8e;let {status$:_0x3cda7c,error$:_0x107ca3,onConfigure:_0x501f79,showClickable:_0xd5cae2=!0x0}=_0x196b58,_0x402b7f=(0x0,r[_0x23eb4c(0x241)])(_0x3cda7c,t[_0x23eb4c(0x169)][_0x23eb4c(0x20f)]),_0x4e87f3=(0x0,r[_0x23eb4c(0x241)])(_0x107ca3,t['MCPConnectionError'][_0x23eb4c(0x1a7)]),_0x23ab1a=(0x0,r[_0x23eb4c(0x253)])(e[_0x23eb4c(0x24e)]),_0x368fad=_0x402b7f===t[_0x23eb4c(0x169)][_0x23eb4c(0x23a)];_0x402b7f===t[_0x23eb4c(0x169)]['CONNECTING']||t[_0x23eb4c(0x169)][_0x23eb4c(0x247)];let _0x54420c=_0x23ab1a['t'](S(_0x402b7f,_0x4e87f3)),_0x5e1ff2=C(_0x402b7f,_0x4e87f3,_0x23ab1a,_0xd5cae2),_0xcd5c6=w(_0x402b7f),_0x2b1f9c=_0x368fad?(0x0,s[_0x23eb4c(0x231)])(a[_0x23eb4c(0x1a4)],{}):(0x0,s[_0x23eb4c(0x231)])(a[_0x23eb4c(0x261)],{}),_0x5be0ae=(0x0,o[_0x23eb4c(0x29f)])(()=>{_0xd5cae2&&_0x501f79&&_0x501f79();},[_0xd5cae2,_0x501f79]);function _0x5020b9(){const _0x2a3ce3=_0x23eb4c;return(0x0,s[_0x2a3ce3(0x290)])('div',{'className':(0x0,n['clsx'])(_0x2a3ce3(0x296),_0xd5cae2&&_0x501f79&&_0x2a3ce3(0x1ca)),'role':_0x2a3ce3(0x1df),'onClick':_0xd5cae2&&_0x501f79?_0x5be0ae:void 0x0,'children':[(0x0,s[_0x2a3ce3(0x231)])(_0x2a3ce3(0x16a),{'className':(0x0,n[_0x2a3ce3(0x287)])(_0x2a3ce3(0x14c),_0xcd5c6),'children':_0x2b1f9c}),(0x0,s[_0x2a3ce3(0x231)])(_0x2a3ce3(0x16a),{'className':_0x2a3ce3(0x1e5),'children':_0x54420c})]});}return(0x0,s[_0x23eb4c(0x231)])(n[_0x23eb4c(0x1b4)],{'title':_0x5e1ff2,'placement':_0x23eb4c(0x1fd),'children':_0x5020b9()});}let E=class extends e['Disposable']{constructor(_0x12036e,_0x368d67,_0x29d072,_0x5ab25f){const _0x52486c=_0x5bbb8e;super(),this[_0x52486c(0x24b)]=_0x12036e,this['_connectionController']=_0x368d67,this[_0x52486c(0x1d8)]=_0x29d072,this[_0x52486c(0x1ff)]=_0x5ab25f,this[_0x52486c(0x1be)](),this[_0x52486c(0x17b)]();}['_initAutoConnect'](){const _0x128a7e=_0x5bbb8e;let _0x52da36=this[_0x128a7e(0x1ff)][_0x128a7e(0x19e)](u);_0x52da36!=null&&_0x52da36[_0x128a7e(0x272)]&&(this[_0x128a7e(0x139)][_0x128a7e(0x138)]=!0x1);}[_0x5bbb8e(0x17b)](){const _0x226f59=_0x5bbb8e;let _0x11dad4=this[_0x226f59(0x1ff)]['getConfig'](u);(_0x11dad4==null?void 0x0:_0x11dad4[_0x226f59(0x1e7)])!==!0x1&&this[_0x226f59(0x269)](this['_uiPartsService'][_0x226f59(0x291)](r[_0x226f59(0x17d)][_0x226f59(0x248)],()=>{const _0x1c7ebf=_0x226f59;var _0x1b024e;return(0x0,r[_0x1c7ebf(0x1a0)])(D({'status$':this[_0x1c7ebf(0x139)]['connectionStatus$'],'error$':this[_0x1c7ebf(0x139)][_0x1c7ebf(0x232)],'onConfigure':()=>this[_0x1c7ebf(0x1d0)](),'showClickable':(_0x1b024e=_0x11dad4==null?void 0x0:_0x11dad4['showDeveloperTools'])==null?!0x1:_0x1b024e}),this[_0x1c7ebf(0x24b)]);}));}[_0x5bbb8e(0x1d0)](){const _0x47f145=_0x5bbb8e;this[_0x47f145(0x24b)][_0x47f145(0x1ec)](b)[_0x47f145(0x1c9)]();}};E=_([g(0x0,(0x0,e['Inject'])(e['Injector'])),g(0x1,(0x0,e[_0x5bbb8e(0x13a)])(t[_0x5bbb8e(0x177)])),g(0x2,r['IUIPartsService']),g(0x3,e[_0x5bbb8e(0x21c)])],E);function D(_0x460dae){let {status$:_0x56a252,error$:_0x322c5a,onConfigure:_0x509804,showClickable:_0x568ed9}=_0x460dae;return function(){const _0xbcd7e4=_0x43ce;return(0x0,s[_0xbcd7e4(0x231)])(T,{'status$':_0x56a252,'error$':_0x322c5a,'onConfigure':_0x509804,'showClickable':_0x568ed9});};}function O(_0x3be690){const _0xb4123=_0x5bbb8e;return{'id':x['id'],'type':r[_0xb4123(0x289)]['BUTTON'],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0xb4123(0x216)};}const k={[r['RibbonStartGroup'][_0x5bbb8e(0x22e)]]:{[x['id']]:{'order':0xa,'menuItemFactory':O}}};let A=class extends e[_0x5bbb8e(0x1f9)]{constructor(_0x35b876,_0x51fb7a){const _0x4b5188=_0x5bbb8e;super(),this[_0x4b5188(0x251)]=_0x35b876,this[_0x4b5188(0x1b8)]=_0x51fb7a,this[_0x4b5188(0x28d)](),this[_0x4b5188(0x18f)]();}[_0x5bbb8e(0x28d)](){const _0x4908d0=_0x5bbb8e;[x][_0x4908d0(0x215)](_0xe93705=>{const _0x3f4c62=_0x4908d0;this[_0x3f4c62(0x269)](this[_0x3f4c62(0x251)][_0x3f4c62(0x221)](_0xe93705));});}[_0x5bbb8e(0x18f)](){const _0x100cfb=_0x5bbb8e;this['_menuManagerService'][_0x100cfb(0x23d)](k);}};function _0x43ce(_0x56abef,_0x542ce8){_0x56abef=_0x56abef-0x138;const _0x26474f=_0x2647();let _0x43ce73=_0x26474f[_0x56abef];return _0x43ce73;}A=_([g(0x0,e['ICommandService']),g(0x1,r['IMenuManagerService'])],A);const j={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5bbb8e(0x188),'connected':_0x5bbb8e(0x154),'failed':_0x5bbb8e(0x21b),'retrying':'MCP\x20Retrying...','unknown':_0x5bbb8e(0x18e),'unauthorized':_0x5bbb8e(0x1b3),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5bbb8e(0x278),'maxRetriesExceeded':_0x5bbb8e(0x159),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5bbb8e(0x19a)},'mcpConfig':{'title':_0x5bbb8e(0x1cb),'description':_0x5bbb8e(0x26d),'apiKey':_0x5bbb8e(0x28c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5bbb8e(0x286),'enableAuth':_0x5bbb8e(0x1ea),'enableAuthHint':_0x5bbb8e(0x25d),'connectionInfo':_0x5bbb8e(0x294),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5bbb8e(0x1bd),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x5bbb8e(0x1a9),'configStep2':_0x5bbb8e(0x1e6),'configStep3':_0x5bbb8e(0x298),'sessionId':'Session\x20ID','sessionIdDescription':_0x5bbb8e(0x25e),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5bbb8e(0x20c),'maxRetries':_0x5bbb8e(0x182),'save':_0x5bbb8e(0x180),'saving':_0x5bbb8e(0x1c0),'note1':_0x5bbb8e(0x26a),'note2':_0x5bbb8e(0x280),'configSaved':_0x5bbb8e(0x151),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5bbb8e(0x233),'description':_0x5bbb8e(0x213),'univerAiLabel':_0x5bbb8e(0x1ae),'getStarted':_0x5bbb8e(0x166)},'validation':{'apiKeyRequired':_0x5bbb8e(0x16b),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5bbb8e(0x262),'invalidApiKey':_0x5bbb8e(0x270)},'connectionStatus':{'disconnected':_0x5bbb8e(0x21e),'connecting':_0x5bbb8e(0x1f8),'connected':_0x5bbb8e(0x160),'failed':_0x5bbb8e(0x1f0),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x5bbb8e(0x1eb),'sessionOccupied':_0x5bbb8e(0x263),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x5bbb8e(0x1a6)}}},M={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x5bbb8e(0x207),'connected':_0x5bbb8e(0x15b),'failed':_0x5bbb8e(0x16c),'retrying':_0x5bbb8e(0x200),'unknown':_0x5bbb8e(0x1e3),'unauthorized':_0x5bbb8e(0x170),'sessionOccupied':_0x5bbb8e(0x1aa),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x5bbb8e(0x1a2),'clickToConfigure':_0x5bbb8e(0x225)},'mcpConfig':{'title':_0x5bbb8e(0x1bb),'description':_0x5bbb8e(0x17a),'apiKey':_0x5bbb8e(0x142),'apiKeyPlaceholder':_0x5bbb8e(0x14f),'apiKeyHint':_0x5bbb8e(0x1ac),'enableAuth':_0x5bbb8e(0x228),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x5bbb8e(0x281),'configInstructions':_0x5bbb8e(0x246),'configStepTitle':_0x5bbb8e(0x24f),'configStep1':_0x5bbb8e(0x27c),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x5bbb8e(0x27b),'sessionIdDescription':_0x5bbb8e(0x279),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x5bbb8e(0x204),'maxRetries':_0x5bbb8e(0x164),'save':_0x5bbb8e(0x1b0),'saving':_0x5bbb8e(0x293),'note1':_0x5bbb8e(0x218),'note2':_0x5bbb8e(0x22b),'configSaved':_0x5bbb8e(0x181),'configError':_0x5bbb8e(0x243),'apiApplyInfo':{'title':_0x5bbb8e(0x15a),'description':_0x5bbb8e(0x28a),'univerAiLabel':_0x5bbb8e(0x175),'getStarted':_0x5bbb8e(0x1da)},'validation':{'apiKeyRequired':_0x5bbb8e(0x186),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x5bbb8e(0x237),'invalidApiKey':_0x5bbb8e(0x202)},'connectionStatus':{'disconnected':_0x5bbb8e(0x1c8),'connecting':_0x5bbb8e(0x192),'connected':_0x5bbb8e(0x1cd),'failed':_0x5bbb8e(0x149),'retrying':_0x5bbb8e(0x1c4)},'connectionError':{'unauthorized':_0x5bbb8e(0x234),'sessionOccupied':_0x5bbb8e(0x20a),'networkError':_0x5bbb8e(0x24d),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x2647(){const _0x10a321=['连接失败','_messageService','connectionStatus$','univer-mr-2\x20univer-flex\x20univer-text-xl','validateApiKey','univer-shrink-0\x20univer-text-blue-500','请输入您的\x20API\x20密钥','mcpStatus.unknown','Configuration\x20saved\x20successfully','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','useState','MCP\x20Connected','_dialogService','univer.ai','0.23.0','HelpIcon','MCP:\x20Max\x20Retries\x20Exceeded','什么是\x20API\x20密钥?','MCP\x20已连接','show','mcpConfig.configStep2','_validateConfig','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Connected','\x20-\x20','univer-flex\x20univer-items-start\x20univer-gap-3','MCPUIMenuController','最大重试次数','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Get\x20your\x20API\x20key\x20in\x20seconds','apiKey','UNAUTHORIZED','MCPConnectionStatus','div','API\x20key\x20is\x20required','MCP\x20连接失败','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','_blank','value','MCP:\x20未授权','591385FvXKjV','span','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.configStep3','Univer\x20AI\x20控制台','error','MCPConnectionController','_registerComponent','MCPConfigUIController','配置\x20MCP\x20使用\x20AI\x20操作电子表格','_initStatusComponent','_localStorageService','BuiltInUIPart','__setCustomHeaders','mcpStatus.clickToConfigure','Save\x20Configuration','配置保存成功','Max\x20Retries','mcpConfig.connectionStatus.connecting','object','merge','API\x20密钥不能为空','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','MCP\x20Connecting...','mcpConfig.connectionError.unauthorized','univer-text-gray-400','open','Authorization:','mcpConfig.validation.invalidApiKey','MCP\x20Unknown\x20Status','_initializeMenus','CloseIcon','stringify','连接中...','_handleConfigSave','mcpConfig.connectionError.sessionOccupied','length','mcpConfig.apiApplyInfo.getStarted','CheckMarkIcon','getCurrentConfig','pluginName','Click\x20to\x20configure\x20MCP','FAILED','subscribe','symbol','getConfig','Error','connectInjector','setItem','点击连接\x20MCP','univer-space-y-4','OnLineIcon','mcpStatus.retrying','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','NONE','_initConfigSync','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20会话\x20ID\x20已被占用','_apiKey$','您的\x20API\x20密钥将在此浏览器中本地存储','univer-min-w-0\x20univer-flex-1','Univer\x20AI\x20Console','_logService','保存配置','Bearer\x20','label','MCP:\x20Unauthorized','Tooltip','mcpConfig.apiApplyInfo.title','mcpConfig.apiKey','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','_menuManagerService','close','trim','MCP\x20配置','Module','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_initAutoConnect','removeItem','Saving...','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','NETWORK_ERROR','univer-bg-green-500','重连中...','mcpStatus.connecting','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','MCPConnectionError','未连接','showConfigPanel','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCP\x20Configuration','_mcpConnectionController','已连接','_loading$','univer-shrink-0\x20univer-text-red-500','_handleConfigure','DependentOn','pre','prototype','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpStatus.networkError','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_uiPartsService','mcpConfig.apiApplyInfo.description','几秒钟内获取您的\x20API\x20密钥','univer_session_id:','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-bg-blue-500','univer-flex\x20univer-flex-wrap\x20univer-gap-2','button','mcpConfig.sessionIdDescription','mcp-config-dialog','next','MCP\x20状态未知','mcpConfig.apiApplyInfo.univerAiLabel','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','showStatus','errorMessage','COMMAND','Enable\x20Authentication','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','get','univer-size-2\x20univer-rounded-full','MCP_UI_PLUGIN','_config$','Connection\x20Failed','https://console.univer.plus','mcpConfig.configStepTitle','default','mcpServerUrl','mcpConfig.configInstructions','mcpConfig.connectionStatus.connected','ISocketService','Connecting...','Disposable','univer-font-medium','IDialogService','decorate','bottom','mcpConfig.apiKeyHint','_configService','MCP\x20重连中...','mcpConfig.description','API\x20密钥无效,请检查密钥是否正确','_loadStoredApiKey','配置参数:','sessionId$','_localeService','MCP\x20连接中...','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpConfig.note2','会话\x20ID\x20已被占用,请稍后再试','WebSocketService','Configuration\x20Parameters:','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','function','DISCONNECTED','3913880BLMKlX','mcpConfig.connectionError.maxRetriesExceeded','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MAX_RETRIES_EXCEEDED','forEach','mcpConfig.title','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','配置更改将立即生效','mcpConfig.configError','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','MCP\x20Connection\x20Failed','IConfigService','<API_KEY>','Disconnected','_createConfigPanelComponent','univer-flex\x20univer-items-center\x20univer-gap-3','registerCommand','mcpConfig.validation.apiKeyTooShort','push','mcpConfig.saving','点击配置\x20MCP','univer-flex\x20univer-items-center\x20univer-gap-2','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','启用身份验证','1934028qEixDd','getItem','您的\x20API\x20密钥安全存储在本地存储中','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','Injector','OTHERS','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpStatus.unauthorized','jsx','connectionError$','What\x20is\x20API\x20Key?','权限验证失败,请检查您的\x20API\x20密钥','_mcpCoreConfig$','ILogService','配置无效','add','mcpConfig.connectionStatus.disconnected','CONNECTED','mcpConfig.connectionStatus.retrying','warn','mergeMenu','https://mcp.univer.ai/mcp/?univer_session_id=','mcpConfig.configSaved','ComponentManager','useObservable','register','配置保存失败','MCP_PLUGIN_CONFIG_KEY','defineProperty','将以下配置添加到您的\x20MCP\x20客户端设置中:','RETRYING','HEADER_MENU','univer-text-green-500','univer-text-gray-500','_injector','enUS','网络连接错误,请检查您的网络连接','LocaleService','配置步骤:','MCPConnectionUIController','_commandService','Plugin','useDependency','mcp-ui.config','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','101690wQccUQ','includes','OpenMCPConfigPanelCommand','off','3xawsJD','Configuration\x20Notes:','mcpConfig.connectionStatus.failed','Enable\x20authentication\x20for\x20secure\x20connections','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','ILocalStorageService','MCPConfigPanel','OffLineIcon','Invalid\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','zhCN','univer-space-y-3','CommandType','univer-space-y-2','disposeWithMe','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','SESSION_ID_OCCUPIED','Button','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-space-y-5','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','onStarting','showDeveloperTools','mcpStatus.clickToConnect','univer-text-red-500','UniverMCPUIPlugin','univer-flex\x20univer-items-start\x20univer-gap-2','3939376uASaKn','MCP:\x20Network\x20Error','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','mcpStatus.connected','会话ID','复制以下\x20JSON\x20配置','packageName','CONNECTING','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20客户端配置','IMessageService','mcpConfig.save','_config','univer-bg-red-500','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','clsx','mcpStatus.maxRetriesExceeded','MenuItemType','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','isValid','API\x20Key','_initializeCommands','setConfig','IUIPartsService','jsxs','registerComponent','44BVZjIf','保存中...','MCP\x20Client\x20Configuration','_componentManager','univer-flex\x20univer-items-center','univer-text-yellow-500','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','string','toPrimitive','univer.plus','univer-text-xs\x20univer-text-gray-500','MessageType','mcpConfig.note1','useCallback','enableAutoConnect','_connectionController','Inject','mcpConfig.connectionError.networkError','text','univer-size-4','getOwnPropertyDescriptor','univer-flex-1','https://console.univer.ai','subscribeConfigValue$','API\x20密钥','7807617emcwsB','BehaviorSubject','mcpConfig.validation.invalidConfig','univer-text-sm\x20univer-text-gray-500','@univerjs-pro/mcp-ui','42770edrkAb'];_0x2647=function(){return _0x10a321;};return _0x2647();}var N=_0x5bbb8e(0x147),P=_0x5bbb8e(0x157);let F=class extends e[_0x5bbb8e(0x252)]{constructor(_0x36c52a=d,_0x242394,_0x202390,_0x43c046,_0x30c7ca,_0x20ea29){const _0x334917=_0x5bbb8e;super(),this[_0x334917(0x284)]=_0x36c52a,this['_injector']=_0x242394,this[_0x334917(0x1ff)]=_0x202390,this[_0x334917(0x1d8)]=_0x43c046,this[_0x334917(0x17c)]=_0x30c7ca,this[_0x334917(0x206)]=_0x20ea29;let {..._0x24d395}=(0x0,e[_0x334917(0x185)])({},d,this['_config']);this[_0x334917(0x1ff)][_0x334917(0x28e)](u,_0x24d395);}async[_0x5bbb8e(0x271)](){const _0x4da3b1=_0x5bbb8e;let _0x55dce6=[[E],[b],[A]];this[_0x4da3b1(0x24b)]['has'](c[_0x4da3b1(0x1f7)])||_0x55dce6[_0x4da3b1(0x223)]([c[_0x4da3b1(0x1f7)],{'useClass':c[_0x4da3b1(0x20b)]}]),_0x55dce6['forEach'](_0x3af9e2=>this[_0x4da3b1(0x24b)][_0x4da3b1(0x238)](_0x3af9e2)),this[_0x4da3b1(0x24b)]['get'](E),this[_0x4da3b1(0x24b)][_0x4da3b1(0x1ec)](b),this['_injector'][_0x4da3b1(0x1ec)](A);}};h(F,_0x5bbb8e(0x199),_0x5bbb8e(0x1ee)),h(F,_0x5bbb8e(0x27d),N),h(F,'version',P),F=_([(0x0,e[_0x5bbb8e(0x1d1)])(t['UniverMCPPlugin']),g(0x1,(0x0,e[_0x5bbb8e(0x13a)])(e['Injector'])),g(0x2,e[_0x5bbb8e(0x21c)]),g(0x3,r['IUIPartsService']),g(0x4,e[_0x5bbb8e(0x25f)]),g(0x5,(0x0,e[_0x5bbb8e(0x13a)])(e[_0x5bbb8e(0x24e)]))],F),exports[_0x5bbb8e(0x260)]=l,Object[_0x5bbb8e(0x245)](exports,_0x5bbb8e(0x179),{'enumerable':!0x0,'get':function(){return b;}}),Object[_0x5bbb8e(0x245)](exports,_0x5bbb8e(0x250),{'enumerable':!0x0,'get':function(){return E;}}),exports['MCPStatusDisplay']=T,Object['defineProperty'](exports,_0x5bbb8e(0x163),{'enumerable':!0x0,'get':function(){return A;}}),exports[_0x5bbb8e(0x258)]=x,Object[_0x5bbb8e(0x245)](exports,_0x5bbb8e(0x275),{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x5bbb8e(0x24c)]=j,exports[_0x5bbb8e(0x265)]=M;
1
+ const _0x143d7b=_0x1382;(function(_0x4076ee,_0x332a26){const _0x32cf19=_0x1382,_0x2ae27b=_0x4076ee();while(!![]){try{const _0x5b0d05=-parseInt(_0x32cf19(0x15e))/0x1+parseInt(_0x32cf19(0xb9))/0x2+-parseInt(_0x32cf19(0x124))/0x3*(-parseInt(_0x32cf19(0x1d0))/0x4)+parseInt(_0x32cf19(0x132))/0x5+-parseInt(_0x32cf19(0x192))/0x6+parseInt(_0x32cf19(0x128))/0x7*(parseInt(_0x32cf19(0x185))/0x8)+-parseInt(_0x32cf19(0x19e))/0x9*(parseInt(_0x32cf19(0x1c6))/0xa);if(_0x5b0d05===_0x332a26)break;else _0x2ae27b['push'](_0x2ae27b['shift']());}catch(_0x3d36a2){_0x2ae27b['push'](_0x2ae27b['shift']());}}}(_0x3e53,0x7a852),Object[_0x143d7b(0x13f)](exports,Symbol[_0x143d7b(0x1bf)],{'value':_0x143d7b(0xbe)}));let e=require(`@univerjs/core`),t=require(`@univerjs-pro/mcp`),n=require(`@univerjs/design`),r=require(`@univerjs/ui`),i=require(`rxjs`),a=require(`@univerjs/icons`),o=require(`react`),s=require(`react/jsx-runtime`),c=require(`@univerjs/network`);function l(_0x4b11c2){const _0x502ec1=_0x143d7b;var _0x1b8e85,_0x5772c1;let {mcpCoreConfig:_0x22d1c9,onSave:_0x34c69b,loading:_0x2fee97=!0x1,config:_0x428811,connectionStatus$:_0x4c8b06,connectionError$:_0x4e1667,currentApiKey$:_0x529f6e,currentSessionId$:_0x5dfd17}=_0x4b11c2,_0x584ed3=(0x0,r['useDependency'])(e[_0x502ec1(0x1f7)]),_0x4e3d16=(0x0,r[_0x502ec1(0x15d)])(_0x4c8b06,t[_0x502ec1(0x1f2)][_0x502ec1(0x108)]),_0x5e44c8=(0x0,r[_0x502ec1(0x15d)])(_0x4e1667,t[_0x502ec1(0xc2)][_0x502ec1(0x175)]),_0x451a00=(0x0,r[_0x502ec1(0x15d)])(_0x5dfd17,''),[_0x589338,_0x17bf95]=(0x0,o[_0x502ec1(0x1e6)])((0x0,r['useObservable'])(_0x529f6e,'')||''),_0x4071a4=_0x428811['showDeveloperTools']&&_0x22d1c9['mcpServerUrl']&&(_0x22d1c9[_0x502ec1(0x16d)][_0x502ec1(0x1af)](_0x502ec1(0x1ac))||_0x22d1c9[_0x502ec1(0x16d)][_0x502ec1(0x1af)](_0x502ec1(0x107))),_0x5193fd=(_0x1b8e85=_0x22d1c9['mcpServerUrl'])==null?void 0x0:_0x1b8e85[_0x502ec1(0x1af)]('univer.plus'),_0x5ddc20=(_0x5772c1=_0x22d1c9['mcpServerUrl'])==null?void 0x0:_0x5772c1['includes'](_0x502ec1(0x107)),_0x4b5e6a=_0x5193fd?_0x502ec1(0xc6):_0x502ec1(0xf3),_0x5b894e=_0x428811[_0x502ec1(0x1e2)]&&(_0x5193fd||_0x5ddc20),[_0x353c7a,_0x2f280e]=(0x0,o[_0x502ec1(0x1e6)])(!_0x589338[_0x502ec1(0x201)]()),_0x551e82=(_0x508230,_0x52c146)=>{const _0x1309d1=_0x502ec1;if(_0x52c146===t['MCPConnectionError'][_0x1309d1(0x1d6)])return _0x1309d1(0x15c);switch(_0x508230){case t['MCPConnectionStatus'][_0x1309d1(0x1e7)]:return _0x1309d1(0x190);case t[_0x1309d1(0x1f2)][_0x1309d1(0x165)]:case t[_0x1309d1(0x1f2)][_0x1309d1(0xce)]:return _0x1309d1(0x1e4);case t[_0x1309d1(0x1f2)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x1309d1(0x1c0);}},_0x454720=(_0x1c1988,_0x212e23)=>{const _0x285da5=_0x502ec1;if(_0x212e23===t[_0x285da5(0xc2)][_0x285da5(0x1d6)])return _0x285da5(0x174);switch(_0x1c1988){case t[_0x285da5(0x1f2)][_0x285da5(0x1e7)]:return _0x285da5(0xb4);case t[_0x285da5(0x1f2)][_0x285da5(0x165)]:case t[_0x285da5(0x1f2)]['RETRYING']:return _0x285da5(0x17d);case t[_0x285da5(0x1f2)]['FAILED']:return _0x285da5(0x174);default:return _0x285da5(0x1f8);}},_0x454c1f=_0x24477d=>{const _0x1e3932=_0x502ec1;switch(_0x24477d){case t[_0x1e3932(0x1f2)][_0x1e3932(0x1e7)]:return _0x584ed3['t'](_0x1e3932(0x1d7));case t['MCPConnectionStatus'][_0x1e3932(0x165)]:return _0x584ed3['t'](_0x1e3932(0x146));case t[_0x1e3932(0x1f2)][_0x1e3932(0x1d3)]:return _0x584ed3['t'](_0x1e3932(0x1ef));case t[_0x1e3932(0x1f2)][_0x1e3932(0xce)]:return _0x584ed3['t']('mcpConfig.connectionStatus.retrying');default:return _0x584ed3['t'](_0x1e3932(0x152));}},_0xc2b2d=_0x483a45=>{const _0x5dd702=_0x502ec1;switch(_0x483a45){case t[_0x5dd702(0xc2)]['UNAUTHORIZED']:return _0x584ed3['t'](_0x5dd702(0x1c9));case t[_0x5dd702(0xc2)][_0x5dd702(0xe3)]:return _0x584ed3['t']('mcpConfig.connectionError.sessionOccupied');case t[_0x5dd702(0xc2)]['NETWORK_ERROR']:return _0x584ed3['t'](_0x5dd702(0xb0));case t['MCPConnectionError'][_0x5dd702(0x139)]:return _0x584ed3['t'](_0x5dd702(0x17b));default:return'';}},_0x32d409=(0x0,o['useCallback'])(()=>{const _0x58ddf6=_0x502ec1;_0x34c69b({..._0x22d1c9,'apiKey':_0x589338[_0x58ddf6(0x201)](),'enableAuth':!0x0});},[_0x22d1c9,_0x589338,!0x0,_0x34c69b]),_0x325ac4=_0x589338['trim']()[_0x502ec1(0xfa)]>0x0;return(0x0,s[_0x502ec1(0xf7)])('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[(0x0,s['jsx'])(_0x502ec1(0x168),{'className':_0x502ec1(0xfc),'children':(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x12d),'children':[(0x0,s['jsx'])('div',{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x160),'children':'⚙'})}),(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'children':(0x0,s[_0x502ec1(0x16c)])('p',{'className':_0x502ec1(0xc9),'children':_0x584ed3['t'](_0x502ec1(0xd5))})})]})}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1e9),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':(0x0,n[_0x502ec1(0xee)])(_0x502ec1(0xc3),_0x551e82(_0x4e3d16,_0x5e44c8)),'children':(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':(0x0,n[_0x502ec1(0xee)])(_0x502ec1(0xeb),_0x454720(_0x4e3d16,_0x5e44c8))}),(0x0,s[_0x502ec1(0x16c)])('span',{'className':'univer-text-sm\x20univer-font-medium','children':_0x454c1f(_0x4e3d16)})]})}),_0x5e44c8!==t[_0x502ec1(0xc2)][_0x502ec1(0x175)]&&(_0x4e3d16===t[_0x502ec1(0x1f2)][_0x502ec1(0x1d3)]||_0x5e44c8===t[_0x502ec1(0xc2)][_0x502ec1(0x1d6)])&&(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x13e),'children':(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[(0x0,s['jsx'])('span',{'className':_0x502ec1(0x100),'children':'⚠️'}),(0x0,s[_0x502ec1(0x16c)])('p',{'className':_0x502ec1(0x1eb),'children':_0xc2b2d(_0x5e44c8)})]})})]}),(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xba),'children':[(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0x15f),'children':[(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0xcc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'children':'🔑'}),'\x20',_0x584ed3['t'](_0x502ec1(0xbc)),(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0xbd),'children':'*'}),_0x4071a4&&(0x0,s[_0x502ec1(0x16c)])('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x584ed3['t'](_0x502ec1(0xd2)),'role':_0x502ec1(0x102),'onClick':()=>_0x2f280e(!0x0),'children':(0x0,s[_0x502ec1(0x16c)])(a['HelpIcon'],{})})]}),(0x0,s[_0x502ec1(0x16c)])(n[_0x502ec1(0x14b)],{'type':_0x502ec1(0x166),'placeholder':_0x584ed3['t'](_0x502ec1(0x12c)),'value':_0x589338,'disabled':_0x2fee97,'autoComplete':_0x502ec1(0x194),'onChange':_0x17bf95}),(0x0,s[_0x502ec1(0x16c)])('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x584ed3['t']('mcpConfig.apiKeyHint')})]}),_0x4071a4&&_0x353c7a&&(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[(0x0,s[_0x502ec1(0x16c)])('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':_0x502ec1(0x102),'onClick':()=>_0x2f280e(!0x1),'children':(0x0,s[_0x502ec1(0x16c)])(a[_0x502ec1(0x1ec)],{'className':_0x502ec1(0x14f)})}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xdc),'children':[(0x0,s[_0x502ec1(0x16c)])('div',{'className':_0x502ec1(0x13b),'children':(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x10b),'children':'🚀'})}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xb3),'children':[(0x0,s[_0x502ec1(0x16c)])('h4',{'className':_0x502ec1(0x129),'children':_0x584ed3['t']('mcpConfig.apiApplyInfo.title')}),(0x0,s[_0x502ec1(0x16c)])('p',{'className':_0x502ec1(0x133),'children':_0x584ed3['t']('mcpConfig.apiApplyInfo.description')}),(0x0,s[_0x502ec1(0x16c)])('div',{'className':_0x502ec1(0x1ce),'children':_0x5b894e&&(0x0,s[_0x502ec1(0xf7)])('a',{'className':_0x502ec1(0x18c),'href':_0x4b5e6a,'target':_0x502ec1(0x14a),'rel':_0x502ec1(0x197),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'children':'🤖'}),_0x584ed3['t'](_0x502ec1(0x179)),(0x0,s['jsx'])(_0x502ec1(0x182),{'className':_0x502ec1(0x1b0),'children':'↗'})]})}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x18d),'children':['✨','\x20',_0x584ed3['t'](_0x502ec1(0x1b9))]})]})]})]}),_0x428811['showDeveloperTools']&&(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1ed),'children':[(0x0,s[_0x502ec1(0xf7)])('h4',{'className':_0x502ec1(0x138),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'children':'🔗'}),'\x20',_0x584ed3['t'](_0x502ec1(0x13c))]}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xef),'children':[(0x0,s[_0x502ec1(0xf7)])('div',{'className':_0x502ec1(0xfb),'children':[(0x0,s['jsx'])('p',{'className':_0x502ec1(0xd1),'children':_0x584ed3['t'](_0x502ec1(0xa6))}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':'univer-space-y-2','children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x154),'children':_0x584ed3['t'](_0x502ec1(0x110))}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xa8),'children':[(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x1b6),'children':'1'}),_0x584ed3['t'](_0x502ec1(0x1e8))]}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x1b6),'children':'2'}),_0x584ed3['t'](_0x502ec1(0xbf))]}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x1b6),'children':'3'}),_0x584ed3['t'](_0x502ec1(0xe1))]})]})]})]}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x15f),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x154),'children':'MCP\x20Configuration'}),(0x0,s['jsx'])(_0x502ec1(0x168),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':(0x0,s[_0x502ec1(0x16c)])('pre',{'className':_0x502ec1(0x125),'children':JSON[_0x502ec1(0xb7)]({'mcpServers':{'univer':{'url':_0x502ec1(0x1d5)+(_0x451a00||_0x502ec1(0x1a7)),'type':_0x502ec1(0x135),'headers':{'Authorization':_0x502ec1(0x1b8)+(_0x589338||_0x502ec1(0xc8))}}}},null,0x2)})})]}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xfb),'children':[(0x0,s['jsx'])(_0x502ec1(0x168),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x584ed3['t'](_0x502ec1(0x1cb))}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':'univer-space-y-2','children':[(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0x1aa),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1fd)}),(0x0,s['jsxs'])('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x502ec1(0xf6)}),(0x0,s[_0x502ec1(0x16c)])('div',{'className':_0x502ec1(0x17e),'children':_0x584ed3['t'](_0x502ec1(0xd4))})]})]}),(0x0,s[_0x502ec1(0xf7)])('div',{'className':_0x502ec1(0x1aa),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1fd)}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xd9),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1be),'children':_0x502ec1(0x1e3)}),(0x0,s[_0x502ec1(0x16c)])('div',{'className':_0x502ec1(0x17e),'children':_0x584ed3['t'](_0x502ec1(0xd7))})]})]})]})]})]})]}),(0x0,s[_0x502ec1(0x16c)])(n[_0x502ec1(0x1b3)],{'onClick':_0x32d409,'disabled':!_0x325ac4||_0x2fee97,'className':_0x502ec1(0x143),'children':_0x2fee97?(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x182),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'children':'⟲'}),_0x584ed3['t'](_0x502ec1(0x1de))]}):(0x0,s[_0x502ec1(0xf7)])('span',{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(a[_0x502ec1(0x162)],{}),_0x584ed3['t'](_0x502ec1(0x167))]})}),(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0xe6),'children':(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':'univer-flex\x20univer-gap-3','children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0x1c3),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),(0x0,s['jsxs'])('div',{'children':['•',_0x584ed3['t'](_0x502ec1(0x12f))]}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'children':['•',_0x584ed3['t']('mcpConfig.note2')]})]})]})})]})})]});}const u=_0x143d7b(0x157);Symbol(u);const d={'showDeveloperTools':!0x1,'showStatus':!0x0};function f(_0x2ccf11){'@babel/helpers - typeof';const _0x37e1e2=_0x143d7b;return f=typeof Symbol==_0x37e1e2(0x18a)&&typeof Symbol[_0x37e1e2(0xac)]==_0x37e1e2(0x1e0)?function(_0x491005){return typeof _0x491005;}:function(_0x285ea2){const _0x9a86b2=_0x37e1e2;return _0x285ea2&&typeof Symbol==_0x9a86b2(0x18a)&&_0x285ea2[_0x9a86b2(0xf0)]===Symbol&&_0x285ea2!==Symbol[_0x9a86b2(0xdf)]?_0x9a86b2(0x1e0):typeof _0x285ea2;},f(_0x2ccf11);}function p(_0xb124ce,_0x338326){const _0x160715=_0x143d7b;if(f(_0xb124ce)!='object'||!_0xb124ce)return _0xb124ce;var _0x17289c=_0xb124ce[Symbol['toPrimitive']];if(_0x17289c!==void 0x0){var _0x2ef400=_0x17289c['call'](_0xb124ce,_0x338326||_0x160715(0x15b));if(f(_0x2ef400)!=_0x160715(0xfe))return _0x2ef400;throw TypeError(_0x160715(0x1a1));}return(_0x338326===_0x160715(0x178)?String:Number)(_0xb124ce);}function m(_0x503323){const _0xf42d7c=_0x143d7b;var _0x2490b0=p(_0x503323,_0xf42d7c(0x178));return f(_0x2490b0)=='symbol'?_0x2490b0:_0x2490b0+'';}function h(_0x723a8c,_0x68ab70,_0x4cc0bc){const _0x7fe991=_0x143d7b;return(_0x68ab70=m(_0x68ab70))in _0x723a8c?Object[_0x7fe991(0x13f)](_0x723a8c,_0x68ab70,{'value':_0x4cc0bc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x723a8c[_0x68ab70]=_0x4cc0bc,_0x723a8c;}function g(_0x213b4f,_0x420ae6){return function(_0x3f6d2f,_0x42544d){_0x420ae6(_0x3f6d2f,_0x42544d,_0x213b4f);};}function _(_0x1cabba,_0x562ded,_0x201fbe,_0x15ef48){const _0x5eda51=_0x143d7b;var _0x2a677a=arguments[_0x5eda51(0xfa)],_0x491c18=_0x2a677a<0x3?_0x562ded:_0x15ef48===null?_0x15ef48=Object[_0x5eda51(0x145)](_0x562ded,_0x201fbe):_0x15ef48,_0x2b7d0b;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x491c18=Reflect['decorate'](_0x1cabba,_0x562ded,_0x201fbe,_0x15ef48);else{for(var _0x3d3af2=_0x1cabba[_0x5eda51(0xfa)]-0x1;_0x3d3af2>=0x0;_0x3d3af2--)(_0x2b7d0b=_0x1cabba[_0x3d3af2])&&(_0x491c18=(_0x2a677a<0x3?_0x2b7d0b(_0x491c18):_0x2a677a>0x3?_0x2b7d0b(_0x562ded,_0x201fbe,_0x491c18):_0x2b7d0b(_0x562ded,_0x201fbe))||_0x491c18);}return _0x2a677a>0x3&&_0x491c18&&Object['defineProperty'](_0x562ded,_0x201fbe,_0x491c18),_0x491c18;}const v=_0x143d7b(0x14d),y='mcp-config-dialog';let b=class extends e[_0x143d7b(0x164)]{constructor(_0x4f0a03,_0x5c29de,_0x40559a,_0x134f0,_0x22ea1b,_0x16f060,_0x1f0756,_0x15653d,_0x1844b2,_0x40133d){const _0x47c1b4=_0x143d7b;super(),this[_0x47c1b4(0x113)]=_0x4f0a03,this[_0x47c1b4(0x1ff)]=_0x5c29de,this[_0x47c1b4(0x17a)]=_0x40559a,this['_localStorageService']=_0x134f0,this[_0x47c1b4(0x1c8)]=_0x22ea1b,this[_0x47c1b4(0x1ad)]=_0x16f060,this[_0x47c1b4(0x1db)]=_0x1f0756,this['_localeService']=_0x15653d,this[_0x47c1b4(0x18e)]=_0x1844b2,this['_mcpConnectionController']=_0x40133d,h(this,_0x47c1b4(0x196),new i[(_0x47c1b4(0xcf))](!0x1)),h(this,_0x47c1b4(0x1b4),new i[(_0x47c1b4(0xcf))]({})),h(this,_0x47c1b4(0x156),new i['BehaviorSubject']({})),h(this,_0x47c1b4(0x155),new i[(_0x47c1b4(0xcf))]('')),h(this,_0x47c1b4(0x184),async _0x28408d=>{const _0x3dffda=_0x47c1b4;this[_0x3dffda(0x196)][_0x3dffda(0x117)](!0x0);try{var _0x2582ec,_0x5909b1;let _0x4b8707=await this['_validateConfig'](_0x28408d);if(!_0x4b8707[_0x3dffda(0x193)]){this['_messageService'][_0x3dffda(0x1c2)]({'type':n[_0x3dffda(0x16a)]['Error'],'content':_0x4b8707[_0x3dffda(0xcb)]||this[_0x3dffda(0x1d2)]['t'](_0x3dffda(0x10e))});return;}_0x28408d[_0x3dffda(0x1c7)]?await this[_0x3dffda(0x1a0)][_0x3dffda(0x1cd)](v,_0x28408d[_0x3dffda(0x1c7)][_0x3dffda(0x201)]()):await this[_0x3dffda(0x1a0)][_0x3dffda(0x1cc)](v),this[_0x3dffda(0x155)][_0x3dffda(0x117)](((_0x2582ec=_0x28408d['apiKey'])==null?void 0x0:_0x2582ec[_0x3dffda(0x201)]())||''),this['_mcpConnectionController'][_0x3dffda(0x188)]({'Authorization':_0x3dffda(0x1b8)+((_0x5909b1=_0x28408d['apiKey'])==null?void 0x0:_0x5909b1[_0x3dffda(0x201)]())}),this['_messageService'][_0x3dffda(0x1c2)]({'type':n[_0x3dffda(0x16a)][_0x3dffda(0x16e)],'content':this[_0x3dffda(0x1d2)]['t'](_0x3dffda(0xd6))}),setTimeout(()=>{const _0x2760be=_0x3dffda;this[_0x2760be(0x1c8)][_0x2760be(0xc5)](y);},0x320);}catch(_0x5259d0){this[_0x3dffda(0x18e)][_0x3dffda(0x1a4)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x5259d0),this['_messageService'][_0x3dffda(0x1c2)]({'type':n[_0x3dffda(0x16a)][_0x3dffda(0xe8)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this[_0x3dffda(0x196)]['next'](!0x1);}}),this['_initConfigSync'](),this[_0x47c1b4(0x15a)](),this['_registerComponent']();}['showConfigPanel'](){const _0x1378b0=_0x143d7b;let _0x5be946=this['_configService']['getConfig'](u);_0x5be946!=null&&_0x5be946[_0x1378b0(0x1e2)]&&this[_0x1378b0(0x1c8)][_0x1378b0(0x173)]({'id':y,'title':{'title':this[_0x1378b0(0x1d2)]['t']('mcpConfig.title')},'children':{'label':_0x1378b0(0xf1)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3b4772=_0x1378b0;this['_dialogService'][_0x3b4772(0xc5)](y);}});}[_0x143d7b(0x19d)](){return this['_mcpCoreConfig$']['value'];}['_registerComponent'](){const _0x2f45f2=_0x143d7b;this[_0x2f45f2(0x158)](this[_0x2f45f2(0x1db)]['register'](_0x2f45f2(0xf1),this[_0x2f45f2(0x103)]()));}[_0x143d7b(0x103)](){const _0x248b99=_0x143d7b;return(0x0,r['connectInjector'])(()=>{const _0x39d3ad=_0x1382;var _0x23bb05,_0x503d82,_0x14fc97;return(0x0,s[_0x39d3ad(0x16c)])(l,{'config':this[_0x39d3ad(0x156)][_0x39d3ad(0xb8)],'mcpCoreConfig':this[_0x39d3ad(0x1b4)][_0x39d3ad(0xb8)],'currentApiKey$':this[_0x39d3ad(0x155)],'onSave':this[_0x39d3ad(0x184)],'loading':this['_loading$'][_0x39d3ad(0xb8)],'connectionStatus$':(_0x23bb05=this[_0x39d3ad(0xe5)])==null?void 0x0:_0x23bb05[_0x39d3ad(0x134)],'connectionError$':(_0x503d82=this['_mcpConnectionController'])==null?void 0x0:_0x503d82[_0x39d3ad(0xf9)],'currentSessionId$':(_0x14fc97=this[_0x39d3ad(0xe5)])==null?void 0x0:_0x14fc97[_0x39d3ad(0x131)]});},this[_0x248b99(0x113)]);}[_0x143d7b(0x161)](){const _0x53f9db=_0x143d7b;this['disposeWithMe'](this[_0x53f9db(0x17a)][_0x53f9db(0x1b5)](t[_0x53f9db(0x169)])['subscribe'](_0x18ef34=>{const _0x4efae3=_0x53f9db;this['_mcpCoreConfig$'][_0x4efae3(0x117)](_0x18ef34||{});}));let _0x3a0708=this[_0x53f9db(0x17a)][_0x53f9db(0x12a)](t['MCP_PLUGIN_CONFIG_KEY']);this[_0x53f9db(0x1b4)][_0x53f9db(0x117)](_0x3a0708||{}),this[_0x53f9db(0x158)](this[_0x53f9db(0x17a)]['subscribeConfigValue$'](u)[_0x53f9db(0x1c1)](_0x368f10=>{const _0x2b312d=_0x53f9db;this[_0x2b312d(0x156)]['next'](_0x368f10||{});}));let _0x5c6eeb=this[_0x53f9db(0x17a)][_0x53f9db(0x12a)](u);this['_config$'][_0x53f9db(0x117)](_0x5c6eeb||{});}async[_0x143d7b(0x15a)](){const _0x516ab8=_0x143d7b;let _0x1a509a=this[_0x516ab8(0x17a)][_0x516ab8(0x12a)](u);if(!(_0x1a509a!=null&&_0x1a509a[_0x516ab8(0x1e2)]))return;let _0x206cf8=await this[_0x516ab8(0x1a0)]['getItem'](v);_0x206cf8&&(this[_0x516ab8(0xe5)][_0x516ab8(0x188)]({'Authorization':'Bearer\x20'+_0x206cf8}),this['_apiKey$'][_0x516ab8(0x117)](_0x206cf8));}async[_0x143d7b(0x199)](_0x471c7d){const _0x61858a=_0x143d7b;if(!_0x471c7d['apiKey']||_0x471c7d['apiKey'][_0x61858a(0x201)]()[_0x61858a(0xfa)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x61858a(0x1d2)]['t'](_0x61858a(0x148))};if(_0x471c7d[_0x61858a(0x1c7)]['trim']()[_0x61858a(0xfa)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x61858a(0x1d2)]['t'](_0x61858a(0xd0))};try{let _0x2f662c=await this[_0x61858a(0x113)]['get'](t[_0x61858a(0x13d)])[_0x61858a(0xc1)](_0x471c7d[_0x61858a(0x1c7)][_0x61858a(0x201)]());return _0x2f662c['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2f662c['error']||this[_0x61858a(0x1d2)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x2dfd5f){return console[_0x61858a(0xf5)](_0x61858a(0xc4),_0x2dfd5f),{'isValid':!0x0};}}};b=_([g(0x0,(0x0,e[_0x143d7b(0x1fe)])(e[_0x143d7b(0x123)])),g(0x1,r['IUIPartsService']),g(0x2,e[_0x143d7b(0x186)]),g(0x3,e[_0x143d7b(0xc0)]),g(0x4,r['IDialogService']),g(0x5,r[_0x143d7b(0x1a3)]),g(0x6,(0x0,e[_0x143d7b(0x1fe)])(r[_0x143d7b(0x11d)])),g(0x7,(0x0,e[_0x143d7b(0x1fe)])(e[_0x143d7b(0x1f7)])),g(0x8,e['ILogService']),g(0x9,(0x0,e[_0x143d7b(0x1fe)])(t['MCPConnectionController']))],b);const x={'id':'mcp-ui.command.openConfigPanel','type':e[_0x143d7b(0x1bb)]['COMMAND'],'handler':async(_0x11d7c6,_0x2df630)=>(_0x11d7c6['get'](b)[_0x143d7b(0x1fc)](),!0x0)};function S(_0x4d0111,_0x1e8835){const _0x26977c=_0x143d7b;switch(_0x4d0111){case t[_0x26977c(0x1f2)]['DISCONNECTED']:return _0x26977c(0x181);case t[_0x26977c(0x1f2)]['CONNECTING']:return _0x26977c(0x180);case t[_0x26977c(0x1f2)]['CONNECTED']:return'mcpStatus.connected';case t['MCPConnectionStatus']['FAILED']:switch(_0x1e8835){case t[_0x26977c(0xc2)][_0x26977c(0x1d6)]:return _0x26977c(0x203);case t[_0x26977c(0xc2)][_0x26977c(0xe3)]:return _0x26977c(0x18f);case t[_0x26977c(0xc2)]['NETWORK_ERROR']:return _0x26977c(0x1e5);case t[_0x26977c(0xc2)]['MAX_RETRIES_EXCEEDED']:return _0x26977c(0x200);default:return _0x26977c(0x1a2);}case t[_0x26977c(0x1f2)][_0x26977c(0xce)]:return _0x26977c(0x195);default:return _0x26977c(0x116);}}function C(_0x52f7f1,_0xba4dc3,_0x39e127,_0x549ae4=!0x0){const _0x1cdcdd=_0x143d7b;let _0x43ae9e=S(_0x52f7f1,_0xba4dc3),_0x385c91=_0x39e127['t'](_0x43ae9e);return _0x549ae4?_0x52f7f1===t[_0x1cdcdd(0x1f2)][_0x1cdcdd(0x108)]&&_0xba4dc3===t[_0x1cdcdd(0xc2)]['UNAUTHORIZED']?_0x385c91+_0x1cdcdd(0x1bc)+_0x39e127['t']('mcpStatus.clickToConfigure'):_0x52f7f1===t[_0x1cdcdd(0x1f2)][_0x1cdcdd(0x1e7)]?''+_0x385c91:_0x52f7f1===t['MCPConnectionStatus'][_0x1cdcdd(0x108)]||_0x52f7f1===t[_0x1cdcdd(0x1f2)][_0x1cdcdd(0x1d3)]?_0x385c91+'\x20-\x20'+_0x39e127['t'](_0x1cdcdd(0xb1)):_0x385c91:_0x385c91;}function w(_0x37f8fa){const _0x4b91ea=_0x143d7b;switch(_0x37f8fa){case t[_0x4b91ea(0x1f2)][_0x4b91ea(0x1e7)]:return _0x4b91ea(0x11c);case t[_0x4b91ea(0x1f2)][_0x4b91ea(0x165)]:case t[_0x4b91ea(0x1f2)][_0x4b91ea(0xce)]:return _0x4b91ea(0x140);case t['MCPConnectionStatus']['FAILED']:case t[_0x4b91ea(0x1f2)][_0x4b91ea(0x108)]:return _0x4b91ea(0xbd);default:return _0x4b91ea(0x1b2);}}function _0x1382(_0x246aeb,_0x206992){_0x246aeb=_0x246aeb-0xa6;const _0x3e5330=_0x3e53();let _0x138228=_0x3e5330[_0x246aeb];return _0x138228;}function T(_0xbd0a1f){const _0x51572b=_0x143d7b;let {status$:_0x897b1e,error$:_0x370ca6,onConfigure:_0x22a8a9,showClickable:_0x93972a=!0x0}=_0xbd0a1f,_0x2cbdcd=(0x0,r[_0x51572b(0x15d)])(_0x897b1e,t[_0x51572b(0x1f2)][_0x51572b(0x108)]),_0x2e6f7e=(0x0,r[_0x51572b(0x15d)])(_0x370ca6,t[_0x51572b(0xc2)][_0x51572b(0x175)]),_0x192ff5=(0x0,r['useDependency'])(e['LocaleService']),_0x5f048c=_0x2cbdcd===t[_0x51572b(0x1f2)]['CONNECTED'];_0x2cbdcd===t['MCPConnectionStatus'][_0x51572b(0x165)]||t[_0x51572b(0x1f2)][_0x51572b(0xce)];let _0x54784b=_0x192ff5['t'](S(_0x2cbdcd,_0x2e6f7e)),_0x27ec10=C(_0x2cbdcd,_0x2e6f7e,_0x192ff5,_0x93972a),_0x25d35d=w(_0x2cbdcd),_0x112a67=_0x5f048c?(0x0,s[_0x51572b(0x16c)])(a[_0x51572b(0x10c)],{}):(0x0,s[_0x51572b(0x16c)])(a[_0x51572b(0x11e)],{}),_0x55934f=(0x0,o[_0x51572b(0x1a8)])(()=>{_0x93972a&&_0x22a8a9&&_0x22a8a9();},[_0x93972a,_0x22a8a9]);function _0x4c7f50(){const _0x3f7bfd=_0x51572b;return(0x0,s[_0x3f7bfd(0xf7)])('div',{'className':(0x0,n[_0x3f7bfd(0xee)])(_0x3f7bfd(0x1dd),_0x93972a&&_0x22a8a9&&_0x3f7bfd(0x153)),'role':_0x3f7bfd(0x102),'onClick':_0x93972a&&_0x22a8a9?_0x55934f:void 0x0,'children':[(0x0,s['jsx'])(_0x3f7bfd(0x168),{'className':(0x0,n[_0x3f7bfd(0xee)])(_0x3f7bfd(0xb6),_0x25d35d),'children':_0x112a67}),(0x0,s[_0x3f7bfd(0x16c)])(_0x3f7bfd(0x168),{'className':_0x3f7bfd(0x189),'children':_0x54784b})]});}return(0x0,s['jsx'])(n[_0x51572b(0xf8)],{'title':_0x27ec10,'placement':_0x51572b(0x1ab),'children':_0x4c7f50()});}let E=class extends e[_0x143d7b(0x164)]{constructor(_0x3c09ca,_0x2ca996,_0x430f4f,_0x1157b3){const _0x11ab5d=_0x143d7b;super(),this['_injector']=_0x3c09ca,this[_0x11ab5d(0x112)]=_0x2ca996,this['_uiPartsService']=_0x430f4f,this['_configService']=_0x1157b3,this[_0x11ab5d(0x202)](),this[_0x11ab5d(0x1f6)]();}[_0x143d7b(0x202)](){const _0x30d3b2=_0x143d7b;let _0x242f35=this[_0x30d3b2(0x17a)][_0x30d3b2(0x12a)](u);_0x242f35!=null&&_0x242f35[_0x30d3b2(0x1e2)]&&(this[_0x30d3b2(0x112)]['enableAutoConnect']=!0x1);}[_0x143d7b(0x1f6)](){const _0x17319a=_0x143d7b;let _0x237fe9=this[_0x17319a(0x17a)][_0x17319a(0x12a)](u);(_0x237fe9==null?void 0x0:_0x237fe9[_0x17319a(0x115)])!==!0x1&&this[_0x17319a(0x158)](this[_0x17319a(0x1ff)]['registerComponent'](r[_0x17319a(0x1cf)]['HEADER_MENU'],()=>{const _0x5cf9da=_0x17319a;var _0x580aad;return(0x0,r[_0x5cf9da(0x1bd)])(D({'status$':this[_0x5cf9da(0x112)]['connectionStatus$'],'error$':this[_0x5cf9da(0x112)][_0x5cf9da(0xf9)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x580aad=_0x237fe9==null?void 0x0:_0x237fe9[_0x5cf9da(0x1e2)])==null?!0x1:_0x580aad}),this[_0x5cf9da(0x113)]);}));}[_0x143d7b(0xdb)](){const _0x4e88eb=_0x143d7b;this[_0x4e88eb(0x113)][_0x4e88eb(0x118)](b)[_0x4e88eb(0x1fc)]();}};E=_([g(0x0,(0x0,e[_0x143d7b(0x1fe)])(e[_0x143d7b(0x123)])),g(0x1,(0x0,e['Inject'])(t[_0x143d7b(0x13d)])),g(0x2,r[_0x143d7b(0x151)]),g(0x3,e[_0x143d7b(0x186)])],E);function _0x3e53(){const _0x5609cb=['open','univer-bg-red-500','NONE','merge','MenuIcon','string','mcpConfig.apiApplyInfo.univerAiLabel','_configService','mcpConfig.connectionError.maxRetriesExceeded','_initializeMenus','univer-bg-blue-500','univer-text-xs\x20univer-text-gray-500','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpStatus.connecting','mcpStatus.disconnected','span','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','_handleConfigSave','8dOAifc','IConfigService','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','__setCustomHeaders','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','function','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_logService','mcpStatus.sessionOccupied','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','配置步骤:','540792eivtMg','isValid','off','mcpStatus.retrying','_loading$','noopener\x20noreferrer','registerCommand','_validateConfig','配置保存失败','Saving...','启用身份验证以获得安全连接','getCurrentConfig','11007396txuhpG','OTHERS','_localStorageService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','mcpStatus.failed','IMessageService','error','Enable\x20Authentication','DependentOn','<SESSION_ID>','useCallback','Get\x20your\x20API\x20key\x20in\x20seconds','univer-flex\x20univer-items-start\x20univer-gap-3','bottom','univer.plus','_messageService','Plugin','includes','univer-text-gray-400','IMenuManagerService','univer-text-gray-500','Button','_mcpCoreConfig$','subscribeConfigValue$','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','MCPStatusDisplay','Bearer\x20','mcpConfig.apiApplyInfo.getStarted','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','CommandType','\x20-\x20','connectInjector','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','toStringTag','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','subscribe','show','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','API\x20密钥不能为空','重启您的\x20MCP\x20客户端以使配置生效','10UPuavO','apiKey','_dialogService','mcpConfig.connectionError.unauthorized','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.configParameters','removeItem','setItem','univer-flex\x20univer-flex-wrap\x20univer-gap-2','BuiltInUIPart','4dtDYLq','version','_localeService','FAILED','配置更改将立即生效','https://mcp.univer.ai/mcp/?univer_session_id=','UNAUTHORIZED','mcpConfig.connectionStatus.connected','已连接','MCP\x20Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_componentManager','Click\x20to\x20configure\x20MCP','univer-flex\x20univer-items-center','mcpConfig.saving','Invalid\x20configuration','symbol','onStarting','showDeveloperTools','Authorization:','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpStatus.networkError','useState','CONNECTED','mcpConfig.configStep1','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','配置参数:','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','CloseIcon','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','请输入您的\x20API\x20密钥','mcpConfig.connectionStatus.failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','会话ID','MCPConnectionStatus','MCP\x20Disconnected','MCP\x20Configuration','UniverMCPPlugin','_initStatusComponent','LocaleService','univer-bg-gray-500','网络连接错误,请检查您的网络连接','MenuItemType','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','showConfigPanel','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Inject','_uiPartsService','mcpStatus.maxRetriesExceeded','trim','_initAutoConnect','mcpStatus.unauthorized','MCP_UI_PLUGIN','mcpConfig.configInstructions','univer-flex\x20univer-items-center\x20univer-gap-2','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','0.24.0','点击配置\x20MCP','iterator','MCP:\x20Max\x20Retries\x20Exceeded','pluginName','Connecting...','mcpConfig.connectionError.networkError','mcpStatus.clickToConnect','add','univer-flex-1','univer-bg-green-500','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-mr-2\x20univer-flex\x20univer-text-xl','stringify','value','752396xCbtHT','univer-space-y-5','Configuration\x20saved\x20successfully','mcpConfig.apiKey','univer-text-red-500','Module','mcpConfig.configStep2','ILocalStorageService','validateApiKey','MCPConnectionError','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','close','https://console.univer.plus','Retrying...','<API_KEY>','univer-text-sm\x20univer-text-gray-500','重连中...','errorMessage','label','MCP\x20连接失败','RETRYING','BehaviorSubject','mcpConfig.validation.apiKeyTooShort','univer-text-xs\x20univer-text-gray-600','mcpConfig.apiApplyInfo.title','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpConfig.sessionIdDescription','mcpConfig.description','mcpConfig.configSaved','mcpConfig.authorizationDescription','enUS','univer-min-w-0\x20univer-flex-1','Max\x20Retries','_handleConfigure','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCP\x20重连中...','mcpConfig.title','prototype','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mcpConfig.configStep3','MCP\x20Connection\x20Failed','SESSION_ID_OCCUPIED','MCP\x20客户端配置','_mcpConnectionController','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','API\x20key\x20is\x20required','Error','您的\x20API\x20密钥将在此浏览器中本地存储','mergeMenu','univer-size-2\x20univer-rounded-full','OpenMCPConfigPanelCommand','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','clsx','univer-space-y-4','constructor','MCPConfigPanel','MCP:\x20未授权','https://console.univer.ai','权限验证失败,请检查您的\x20API\x20密钥','warn','univer_session_id:','jsxs','Tooltip','connectionError$','length','univer-space-y-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','forEach','object','_initializeCommands','univer-shrink-0\x20univer-text-red-500','配置无效','button','_createConfigPanelComponent','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP:\x20Session\x20ID\x20Occupied','MCPConfigUIController','univer.ai','DISCONNECTED','RibbonStartGroup','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-blue-600','OnLineIcon','zhCN','mcpConfig.validation.invalidConfig','MCPUIMenuController','mcpConfig.configStepTitle','Enter\x20your\x20API\x20key','_connectionController','_injector','WebSocketService','showStatus','mcpStatus.unknown','next','get','Session\x20ID','MCP\x20已断开','API\x20密钥无效,请检查密钥是否正确','univer-text-green-500','ComponentManager','OffLineIcon','_commandService','has','UniverMCPUIPlugin','Configuration\x20Parameters:','Injector','2742477sXbheI','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20配置','1336713HJMxaT','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','getConfig','Save\x20Configuration','mcpConfig.apiKeyPlaceholder','univer-flex\x20univer-items-center\x20univer-gap-3','API\x20密钥','mcpConfig.note1','最大重试次数','sessionId$','3297390GAxFxo','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','connectionStatus$','http','Disconnected','MCP\x20Unknown\x20Status','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MAX_RETRIES_EXCEEDED','保存配置','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpConfig.connectionInfo','MCPConnectionController','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','defineProperty','univer-text-yellow-500','MCPConnectionUIController','push','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','Univer\x20AI\x20Console','getOwnPropertyDescriptor','mcpConfig.connectionStatus.connecting','MCP\x20Connected','mcpConfig.validation.apiKeyRequired','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_blank','Input','API\x20密钥长度至少需要\x2010\x20位','mcp.apiKey','MCP:\x20Network\x20Error','univer-size-4','ISocketService','IUIPartsService','mcpConfig.connectionStatus.disconnected','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','_apiKey$','_config$','mcp-ui.config','disposeWithMe','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_loadStoredApiKey','default','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','useObservable','325776GwmhYf','univer-space-y-2','univer-text-white','_initConfigSync','CheckMarkIcon','MCP\x20状态未知','Disposable','CONNECTING','text','mcpConfig.save','div','MCP_PLUGIN_CONFIG_KEY','MessageType','超出最大重试次数,请稍后再试','jsx','mcpServerUrl','Success','MCP\x20Client\x20Configuration','Configuration\x20Steps:','What\x20is\x20API\x20Key?','MCP:\x20超出最大重试次数'];_0x3e53=function(){return _0x5609cb;};return _0x3e53();}function D(_0x3cd6cc){let {status$:_0x3d9fbf,error$:_0x15997b,onConfigure:_0x244a40,showClickable:_0x5b681e}=_0x3cd6cc;return function(){const _0x5056ac=_0x1382;return(0x0,s[_0x5056ac(0x16c)])(T,{'status$':_0x3d9fbf,'error$':_0x15997b,'onConfigure':_0x244a40,'showClickable':_0x5b681e});};}function O(_0x3604eb){const _0x2ecfa2=_0x143d7b;return{'id':x['id'],'type':r[_0x2ecfa2(0x1fa)]['BUTTON'],'icon':_0x2ecfa2(0x177),'title':_0x2ecfa2(0xde),'tooltip':'mcpConfig.title'};}const k={[r[_0x143d7b(0x109)][_0x143d7b(0x19f)]]:{[x['id']]:{'order':0xa,'menuItemFactory':O}}};let A=class extends e[_0x143d7b(0x164)]{constructor(_0x1610e9,_0x14475a){const _0x27c318=_0x143d7b;super(),this[_0x27c318(0x11f)]=_0x1610e9,this['_menuManagerService']=_0x14475a,this[_0x27c318(0xff)](),this[_0x27c318(0x17c)]();}['_initializeCommands'](){[x]['forEach'](_0x4ca5cb=>{const _0x587c58=_0x1382;this['disposeWithMe'](this[_0x587c58(0x11f)][_0x587c58(0x198)](_0x4ca5cb));});}['_initializeMenus'](){const _0x4a7834=_0x143d7b;this['_menuManagerService'][_0x4a7834(0xea)](k);}};A=_([g(0x0,e['ICommandService']),g(0x1,r[_0x143d7b(0x1b1)])],A);const j={'mcpStatus':{'disconnected':_0x143d7b(0x1f3),'connecting':'MCP\x20Connecting...','connected':_0x143d7b(0x147),'failed':_0x143d7b(0xe2),'retrying':_0x143d7b(0x1d9),'unknown':_0x143d7b(0x137),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x143d7b(0x105),'networkError':_0x143d7b(0x14e),'maxRetriesExceeded':_0x143d7b(0xad),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x143d7b(0x1dc)},'mcpConfig':{'title':_0x143d7b(0x1f4),'description':_0x143d7b(0x1ba),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x143d7b(0x111),'apiKeyHint':_0x143d7b(0xed),'enableAuth':_0x143d7b(0x1a5),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x143d7b(0x16f),'configInstructions':_0x143d7b(0x159),'configStepTitle':_0x143d7b(0x170),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x143d7b(0x187),'configStep3':_0x143d7b(0xe0),'sessionId':_0x143d7b(0x119),'sessionIdDescription':_0x143d7b(0x183),'authorizationDescription':_0x143d7b(0x10a),'configParameters':_0x143d7b(0x122),'maxRetries':_0x143d7b(0xda),'save':_0x143d7b(0x12b),'saving':_0x143d7b(0x19b),'note1':_0x143d7b(0x126),'note2':_0x143d7b(0x18b),'configSaved':_0x143d7b(0xbb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x143d7b(0x171),'description':_0x143d7b(0xd3),'univerAiLabel':_0x143d7b(0x144),'getStarted':_0x143d7b(0x1a9)},'validation':{'apiKeyRequired':_0x143d7b(0xe7),'apiKeyTooShort':_0x143d7b(0x1f0),'invalidConfig':_0x143d7b(0x1df),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x143d7b(0x136),'connecting':_0x143d7b(0xaf),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x143d7b(0xc7)},'connectionError':{'unauthorized':_0x143d7b(0x149),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x143d7b(0xa9),'maxRetriesExceeded':_0x143d7b(0x1da)}}},M={'mcpStatus':{'disconnected':_0x143d7b(0x11a),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x143d7b(0xcd),'retrying':_0x143d7b(0xdd),'unknown':_0x143d7b(0x163),'unauthorized':_0x143d7b(0xf2),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x143d7b(0x172),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x143d7b(0xab)},'mcpConfig':{'title':_0x143d7b(0x127),'description':_0x143d7b(0xb5),'apiKey':_0x143d7b(0x12e),'apiKeyPlaceholder':_0x143d7b(0x1ee),'apiKeyHint':_0x143d7b(0xe9),'enableAuth':'启用身份验证','enableAuthHint':_0x143d7b(0x19c),'connectionInfo':_0x143d7b(0xe4),'mcpClientConfig':_0x143d7b(0xe4),'configInstructions':_0x143d7b(0x17f),'configStepTitle':_0x143d7b(0x191),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x143d7b(0x1c5),'sessionId':_0x143d7b(0x1f1),'sessionIdDescription':_0x143d7b(0x1fb),'authorizationDescription':_0x143d7b(0x104),'configParameters':_0x143d7b(0x1ea),'maxRetries':_0x143d7b(0x130),'save':_0x143d7b(0x13a),'saving':'保存中...','note1':_0x143d7b(0x1d4),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x143d7b(0x19a),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x143d7b(0x1ca),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x143d7b(0x1c4),'apiKeyTooShort':_0x143d7b(0x14c),'invalidConfig':_0x143d7b(0x101),'invalidApiKey':_0x143d7b(0x11b)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x143d7b(0x1d8),'failed':'连接失败','retrying':_0x143d7b(0xca)},'connectionError':{'unauthorized':_0x143d7b(0xf4),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x143d7b(0x1f9),'maxRetriesExceeded':_0x143d7b(0x16b)}}};var N='@univerjs-pro/mcp-ui',P=_0x143d7b(0xaa);let F=class extends e[_0x143d7b(0x1ae)]{constructor(_0x5d181a=d,_0x59f2a4,_0x54b4f9,_0x43e6ca,_0x19f183,_0x3e3f3a){const _0x11e3ab=_0x143d7b;super(),this['_config']=_0x5d181a,this['_injector']=_0x59f2a4,this[_0x11e3ab(0x17a)]=_0x54b4f9,this[_0x11e3ab(0x1ff)]=_0x43e6ca,this['_localStorageService']=_0x19f183,this[_0x11e3ab(0x1d2)]=_0x3e3f3a;let {..._0x32a9c7}=(0x0,e[_0x11e3ab(0x176)])({},d,this['_config']);this[_0x11e3ab(0x17a)]['setConfig'](u,_0x32a9c7);}async[_0x143d7b(0x1e1)](){const _0x5c325d=_0x143d7b;let _0x2c1fb2=[[E],[b],[A]];this[_0x5c325d(0x113)][_0x5c325d(0x120)](c[_0x5c325d(0x150)])||_0x2c1fb2[_0x5c325d(0x142)]([c['ISocketService'],{'useClass':c[_0x5c325d(0x114)]}]),_0x2c1fb2[_0x5c325d(0xfd)](_0x5b02e9=>this[_0x5c325d(0x113)][_0x5c325d(0xb2)](_0x5b02e9)),this[_0x5c325d(0x113)][_0x5c325d(0x118)](E),this[_0x5c325d(0x113)][_0x5c325d(0x118)](b),this[_0x5c325d(0x113)][_0x5c325d(0x118)](A);}};h(F,_0x143d7b(0xae),_0x143d7b(0x204)),h(F,'packageName',N),h(F,_0x143d7b(0x1d1),P),F=_([(0x0,e[_0x143d7b(0x1a6)])(t[_0x143d7b(0x1f5)]),g(0x1,(0x0,e[_0x143d7b(0x1fe)])(e['Injector'])),g(0x2,e[_0x143d7b(0x186)]),g(0x3,r['IUIPartsService']),g(0x4,e[_0x143d7b(0xc0)]),g(0x5,(0x0,e[_0x143d7b(0x1fe)])(e['LocaleService']))],F),exports[_0x143d7b(0xf1)]=l,Object[_0x143d7b(0x13f)](exports,_0x143d7b(0x106),{'enumerable':!0x0,'get':function(){return b;}}),Object['defineProperty'](exports,_0x143d7b(0x141),{'enumerable':!0x0,'get':function(){return E;}}),exports[_0x143d7b(0x1b7)]=T,Object[_0x143d7b(0x13f)](exports,_0x143d7b(0x10f),{'enumerable':!0x0,'get':function(){return A;}}),exports[_0x143d7b(0xec)]=x,Object[_0x143d7b(0x13f)](exports,_0x143d7b(0x121),{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x143d7b(0xd8)]=j,exports[_0x143d7b(0x10d)]=M;
@@ -1 +1 @@
1
- function _0x5212(){const _0x5c3490=['3365390NlMsmf','9lkjbzS','API\x20key\x20with\x20Bearer\x20prefix.','Failed\x20to\x20save\x20configuration','MCP\x20Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Configuration','Click\x20to\x20connect\x20MCP','429874usMkaI','Configuration\x20saved\x20successfully','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','4452830IFzxJJ','14200978uwZzvo','Configuration\x20Parameters:','Connected','Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','834AMlBzF','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','6741744XJjzgY','Save\x20Configuration','24jummTP','136ggmvxh','Saving...','Invalid\x20configuration','MCP\x20Client\x20Configuration','6445RJITUu','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','exports','Max\x20Retries','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','92037KNQKPD','MCP\x20Unknown\x20Status','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20Key','MCP\x20Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','3fKteVL'];_0x5212=function(){return _0x5c3490;};return _0x5212();}const _0x4abc9f=_0x1c10;function _0x1c10(_0x3f5f14,_0x4c0014){_0x3f5f14=_0x3f5f14-0xe7;const _0x521248=_0x5212();let _0x1c1034=_0x521248[_0x3f5f14];return _0x1c1034;}(function(_0x4f77b0,_0xc9ff8a){const _0x3fbb2d=_0x1c10,_0x4e5d75=_0x4f77b0();while(!![]){try{const _0x4a732d=-parseInt(_0x3fbb2d(0x113))/0x1*(-parseInt(_0x3fbb2d(0xea))/0x2)+parseInt(_0x3fbb2d(0x108))/0x3*(parseInt(_0x3fbb2d(0xfe))/0x4)+-parseInt(_0x3fbb2d(0x102))/0x5*(parseInt(_0x3fbb2d(0xf8))/0x6)+parseInt(_0x3fbb2d(0x114))/0x7+-parseInt(_0x3fbb2d(0xfb))/0x8*(-parseInt(_0x3fbb2d(0x115))/0x9)+parseInt(_0x3fbb2d(0xed))/0xa+parseInt(_0x3fbb2d(0xee))/0xb*(-parseInt(_0x3fbb2d(0xfd))/0xc);if(_0x4a732d===_0xc9ff8a)break;else _0x4e5d75['push'](_0x4e5d75['shift']());}catch(_0x2d8a4b){_0x4e5d75['push'](_0x4e5d75['shift']());}}}(_0x5212,0xa9ccd));const e={'mcpStatus':{'disconnected':_0x4abc9f(0x118),'connecting':_0x4abc9f(0x106),'connected':_0x4abc9f(0x10f),'failed':_0x4abc9f(0xf4),'retrying':'MCP\x20Retrying...','unknown':_0x4abc9f(0x109),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x4abc9f(0x10b),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4abc9f(0xfa),'clickToConnect':_0x4abc9f(0xe9),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4abc9f(0xe8),'description':_0x4abc9f(0xf7),'apiKey':_0x4abc9f(0x10e),'apiKeyPlaceholder':_0x4abc9f(0xf1),'apiKeyHint':_0x4abc9f(0xf6),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4abc9f(0x112),'connectionInfo':_0x4abc9f(0x101),'mcpClientConfig':_0x4abc9f(0x101),'configInstructions':_0x4abc9f(0x10d),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4abc9f(0xe7),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x4abc9f(0x103),'authorizationDescription':_0x4abc9f(0x116),'configParameters':_0x4abc9f(0xef),'maxRetries':_0x4abc9f(0x105),'save':_0x4abc9f(0xfc),'saving':_0x4abc9f(0xff),'note1':_0x4abc9f(0xec),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4abc9f(0xeb),'configError':_0x4abc9f(0x117),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4abc9f(0x107),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4abc9f(0x10a)},'validation':{'apiKeyRequired':_0x4abc9f(0xf3),'apiKeyTooShort':_0x4abc9f(0xf5),'invalidConfig':_0x4abc9f(0x100),'invalidApiKey':_0x4abc9f(0xf2)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x4abc9f(0xf0),'failed':_0x4abc9f(0x111),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4abc9f(0xf9),'networkError':_0x4abc9f(0x10c),'maxRetriesExceeded':_0x4abc9f(0x110)}}};module[_0x4abc9f(0x104)]=e;
1
+ function _0x24e1(){const _0x284ae4=['MCP\x20Client\x20Configuration','Disconnected','12MzQYBy','808181sPTLWb','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','12SbTLHH','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','API\x20key\x20with\x20Bearer\x20prefix.','28284420KQDWKL','MCP\x20Retrying...','144675aqlXYv','48122RnLKHE','Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','3248616qVOKti','3875984TmPoEY','Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','MCP:\x20Unauthorized','exports','263755PmNdtq','Retrying...','Enable\x20Authentication','Save\x20Configuration','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\x20Parameters:','MCP\x20Connected','Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','MCP\x20Connecting...','API\x20key\x20is\x20required','8gjZCyB','Click\x20to\x20configure\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Steps:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','Failed\x20to\x20save\x20configuration','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP'];_0x24e1=function(){return _0x284ae4;};return _0x24e1();}const _0xd88e38=_0x3f55;(function(_0x2e4b21,_0x5b0c72){const _0x3ce0c9=_0x3f55,_0xdd449e=_0x2e4b21();while(!![]){try{const _0x20ecc2=-parseInt(_0x3ce0c9(0x104))/0x1+parseInt(_0x3ce0c9(0xdb))/0x2*(-parseInt(_0x3ce0c9(0x103))/0x3)+-parseInt(_0x3ce0c9(0xdf))/0x4+-parseInt(_0x3ce0c9(0xe6))/0x5*(parseInt(_0x3ce0c9(0x10b))/0x6)+-parseInt(_0x3ce0c9(0xe0))/0x7+-parseInt(_0x3ce0c9(0xf6))/0x8*(parseInt(_0x3ce0c9(0xda))/0x9)+parseInt(_0x3ce0c9(0x10f))/0xa;if(_0x20ecc2===_0x5b0c72)break;else _0xdd449e['push'](_0xdd449e['shift']());}catch(_0x249882){_0xdd449e['push'](_0xdd449e['shift']());}}}(_0x24e1,0x6a95e));function _0x3f55(_0x43eb9c,_0x57db03){_0x43eb9c=_0x43eb9c-0xda;const _0x24e1d5=_0x24e1();let _0x3f55bf=_0x24e1d5[_0x43eb9c];return _0x3f55bf;}const e={'mcpStatus':{'disconnected':_0xd88e38(0xfd),'connecting':_0xd88e38(0xf4),'connected':_0xd88e38(0xed),'failed':_0xd88e38(0xff),'retrying':_0xd88e38(0x110),'unknown':_0xd88e38(0x106),'unauthorized':_0xd88e38(0xe4),'sessionOccupied':_0xd88e38(0xe2),'networkError':_0xd88e38(0xf3),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xd88e38(0x100),'clickToConfigure':_0xd88e38(0xf7)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xd88e38(0x107),'apiKey':_0xd88e38(0xf9),'apiKeyPlaceholder':_0xd88e38(0xee),'apiKeyHint':_0xd88e38(0xf2),'enableAuth':_0xd88e38(0xe8),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xd88e38(0x101),'configInstructions':_0xd88e38(0x108),'configStepTitle':_0xd88e38(0xfb),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0xd88e38(0xfa),'configStep3':_0xd88e38(0x10a),'sessionId':_0xd88e38(0x10d),'sessionIdDescription':_0xd88e38(0x10c),'authorizationDescription':_0xd88e38(0x10e),'configParameters':_0xd88e38(0xec),'maxRetries':_0xd88e38(0xe1),'save':_0xd88e38(0xe9),'saving':_0xd88e38(0xde),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xd88e38(0xe3),'configError':_0xd88e38(0xfe),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xd88e38(0xea),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0xd88e38(0xfc)},'validation':{'apiKeyRequired':_0xd88e38(0xf5),'apiKeyTooShort':_0xd88e38(0xdd),'invalidConfig':_0xd88e38(0xf1),'invalidApiKey':_0xd88e38(0xef)},'connectionStatus':{'disconnected':_0xd88e38(0x102),'connecting':_0xd88e38(0xeb),'connected':_0xd88e38(0xdc),'failed':_0xd88e38(0xf0),'retrying':_0xd88e38(0xe7)},'connectionError':{'unauthorized':_0xd88e38(0xf8),'sessionOccupied':_0xd88e38(0x105),'networkError':_0xd88e38(0x109),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0xd88e38(0xe5)]=e;
@@ -1 +1 @@
1
- const _0x194135=_0x3660;function _0x580e(){const _0x5834ad=['Invalid\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','Connecting...','API\x20Key','223249qXcAjq','216jucbTA','MCP\x20Client\x20Configuration','883827cifNNj','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3839310aCPBcW','Click\x20to\x20configure\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Session\x20ID','6123wVDHps','Enable\x20Authentication','405603aMELfX','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','720405UDVRhS','Configuration\x20Steps:','Univer\x20AI\x20Console','MCP:\x20Network\x20Error','478080zQZryc','Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','MCP\x20Connecting...','MCP\x20Retrying...','exports','MCP:\x20Unauthorized','Connected','394vAFnne','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Saving...','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Disconnected','MCP\x20Configuration','API\x20key\x20is\x20required'];_0x580e=function(){return _0x5834ad;};return _0x580e();}(function(_0x5b4da0,_0x4c8f0d){const _0x3c7692=_0x3660,_0x1e3a83=_0x5b4da0();while(!![]){try{const _0xb0bc11=-parseInt(_0x3c7692(0x113))/0x1+parseInt(_0x3c7692(0x104))/0x2*(-parseInt(_0x3c7692(0x11c))/0x3)+parseInt(_0x3c7692(0x126))/0x4+parseInt(_0x3c7692(0x122))/0x5+-parseInt(_0x3c7692(0x118))/0x6+parseInt(_0x3c7692(0x116))/0x7+parseInt(_0x3c7692(0x114))/0x8*(parseInt(_0x3c7692(0x11e))/0x9);if(_0xb0bc11===_0x4c8f0d)break;else _0x1e3a83['push'](_0x1e3a83['shift']());}catch(_0x12c0bf){_0x1e3a83['push'](_0x1e3a83['shift']());}}}(_0x580e,0x535d4));function _0x3660(_0x3376fe,_0x4f09eb){_0x3376fe=_0x3376fe-0x103;const _0x580e7e=_0x580e();let _0x3660ee=_0x580e7e[_0x3376fe];return _0x3660ee;}const e={'mcpStatus':{'disconnected':_0x194135(0x109),'connecting':_0x194135(0x12a),'connected':_0x194135(0x107),'failed':'MCP\x20Connection\x20Failed','retrying':_0x194135(0x12b),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x194135(0x12d),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x194135(0x125),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x194135(0x121),'clickToConfigure':_0x194135(0x119)},'mcpConfig':{'title':_0x194135(0x10a),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x194135(0x112),'apiKeyPlaceholder':_0x194135(0x110),'apiKeyHint':_0x194135(0x120),'enableAuth':_0x194135(0x11d),'enableAuthHint':_0x194135(0x10f),'connectionInfo':_0x194135(0x115),'mcpClientConfig':_0x194135(0x115),'configInstructions':_0x194135(0x105),'configStepTitle':_0x194135(0x123),'configStep1':_0x194135(0x10d),'configStep2':_0x194135(0x117),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x194135(0x11b),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x194135(0x129),'save':'Save\x20Configuration','saving':_0x194135(0x106),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x194135(0x108),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x194135(0x11f),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x194135(0x128),'univerAiLabel':_0x194135(0x124),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x194135(0x10b),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x194135(0x10c),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x194135(0x127),'connecting':_0x194135(0x111),'connected':_0x194135(0x103),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x194135(0x11a),'sessionOccupied':_0x194135(0x10e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x194135(0x12c)]=e;
1
+ function _0x2c75(){const _0x58e71b=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','Max\x20Retries','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2127568dfYLzi','2468KHeQpY','1815339pFxGHX','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','7872997PSIDyL','MCP:\x20Unauthorized','5009473xgEOMJ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','exports','2573165NjYVxD','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Parameters:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connected','41796uHsvmQ','MCP\x20Unknown\x20Status','18wLFhKE','6jnQcJT','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','MCP\x20Disconnected','Configuration\x20Steps:','API\x20Key','4NbLiIX','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connecting...','2290GPohii'];_0x2c75=function(){return _0x58e71b;};return _0x2c75();}const _0x3f421f=_0x5bbd;(function(_0x4f1013,_0x3f7b9c){const _0x211050=_0x5bbd,_0x5a0791=_0x4f1013();while(!![]){try{const _0x4628de=parseInt(_0x211050(0x130))/0x1*(-parseInt(_0x211050(0x118))/0x2)+parseInt(_0x211050(0x131))/0x3*(-parseInt(_0x211050(0x11f))/0x4)+parseInt(_0x211050(0x10a))/0x5+parseInt(_0x211050(0x119))/0x6*(parseInt(_0x211050(0x107))/0x7)+-parseInt(_0x211050(0x12f))/0x8+-parseInt(_0x211050(0x116))/0x9*(-parseInt(_0x211050(0x126))/0xa)+-parseInt(_0x211050(0x105))/0xb;if(_0x4628de===_0x3f7b9c)break;else _0x5a0791['push'](_0x5a0791['shift']());}catch(_0x24c06b){_0x5a0791['push'](_0x5a0791['shift']());}}}(_0x2c75,0xa72ce));const e={'mcpStatus':{'disconnected':_0x3f421f(0x11c),'connecting':_0x3f421f(0x125),'connected':_0x3f421f(0x115),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x3f421f(0x117),'unauthorized':_0x3f421f(0x106),'sessionOccupied':_0x3f421f(0x112),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3f421f(0x10f),'clickToConfigure':_0x3f421f(0x111)},'mcpConfig':{'title':_0x3f421f(0x12a),'description':_0x3f421f(0x134),'apiKey':_0x3f421f(0x11e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3f421f(0x120),'connectionInfo':_0x3f421f(0x12c),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3f421f(0x108),'configStepTitle':_0x3f421f(0x11d),'configStep1':_0x3f421f(0x129),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3f421f(0x123),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3f421f(0x10b),'configParameters':_0x3f421f(0x113),'maxRetries':_0x3f421f(0x12d),'save':'Save\x20Configuration','saving':_0x3f421f(0x10d),'note1':_0x3f421f(0x122),'note2':_0x3f421f(0x110),'configSaved':_0x3f421f(0x133),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3f421f(0x11b),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x3f421f(0x104),'getStarted':_0x3f421f(0x114)},'validation':{'apiKeyRequired':_0x3f421f(0x11a),'apiKeyTooShort':_0x3f421f(0x12b),'invalidConfig':_0x3f421f(0x121),'invalidApiKey':_0x3f421f(0x127)},'connectionStatus':{'disconnected':_0x3f421f(0x128),'connecting':'Connecting...','connected':'Connected','failed':_0x3f421f(0x10c),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3f421f(0x124),'sessionOccupied':_0x3f421f(0x132),'networkError':_0x3f421f(0x10e),'maxRetriesExceeded':_0x3f421f(0x12e)}}};function _0x5bbd(_0x407574,_0x45930b){_0x407574=_0x407574-0x104;const _0x2c7548=_0x2c75();let _0x5bbd03=_0x2c7548[_0x407574];return _0x5bbd03;}module[_0x3f421f(0x109)]=e;
@@ -1 +1 @@
1
- const _0x3fede2=_0x1f11;(function(_0x1b8d87,_0x26e056){const _0xb2dbb0=_0x1f11,_0x3c2685=_0x1b8d87();while(!![]){try{const _0x3534fe=parseInt(_0xb2dbb0(0x193))/0x1+-parseInt(_0xb2dbb0(0x1b0))/0x2*(-parseInt(_0xb2dbb0(0x1c7))/0x3)+parseInt(_0xb2dbb0(0x1bf))/0x4*(parseInt(_0xb2dbb0(0x1c1))/0x5)+-parseInt(_0xb2dbb0(0x1ae))/0x6*(parseInt(_0xb2dbb0(0x19d))/0x7)+parseInt(_0xb2dbb0(0x196))/0x8*(-parseInt(_0xb2dbb0(0x1c5))/0x9)+-parseInt(_0xb2dbb0(0x194))/0xa*(parseInt(_0xb2dbb0(0x1aa))/0xb)+parseInt(_0xb2dbb0(0x1b5))/0xc*(parseInt(_0xb2dbb0(0x1c0))/0xd);if(_0x3534fe===_0x26e056)break;else _0x3c2685['push'](_0x3c2685['shift']());}catch(_0x3cfe0c){_0x3c2685['push'](_0x3c2685['shift']());}}}(_0x297e,0x887d0));function _0x297e(){const _0x46fd1f=['MCP\x20Retrying...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','Saving...','MCP\x20Connected','724577RWXZXi','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Parameters:','Enable\x20Authentication','MCP:\x20Network\x20Error','Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key','MCP\x20Unknown\x20Status','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','11IwIqvp','Configuration\x20saved\x20successfully','Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','60lSDSRu','Disconnected','2JPrXNW','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','exports','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','12yulBYN','What\x20is\x20API\x20Key?','API\x20key\x20is\x20required','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3167156ErZRiS','12945634WLbtON','5zwUufI','Connected','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','558WQuymu','Enter\x20your\x20API\x20key','1000410xQFUKM','MCP\x20Disconnected','177070txtGcL','5022950nRnxTD','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','26024Hykqcx','Save\x20Configuration'];_0x297e=function(){return _0x46fd1f;};return _0x297e();}const e={'mcpStatus':{'disconnected':_0x3fede2(0x1c8),'connecting':'MCP\x20Connecting...','connected':_0x3fede2(0x19c),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3fede2(0x198),'unknown':_0x3fede2(0x1a7),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x3fede2(0x1bc),'networkError':_0x3fede2(0x1a3),'maxRetriesExceeded':_0x3fede2(0x1a0),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3fede2(0x1c3),'description':_0x3fede2(0x1c4),'apiKey':_0x3fede2(0x1a6),'apiKeyPlaceholder':_0x3fede2(0x1c6),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3fede2(0x1a2),'enableAuthHint':_0x3fede2(0x19f),'connectionInfo':_0x3fede2(0x1b2),'mcpClientConfig':_0x3fede2(0x1b2),'configInstructions':_0x3fede2(0x1b4),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x3fede2(0x1be),'configStep3':_0x3fede2(0x199),'sessionId':_0x3fede2(0x19a),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3fede2(0x1a8),'configParameters':_0x3fede2(0x1a1),'maxRetries':_0x3fede2(0x1a9),'save':_0x3fede2(0x197),'saving':_0x3fede2(0x19b),'note1':_0x3fede2(0x1bb),'note2':_0x3fede2(0x1bd),'configSaved':_0x3fede2(0x1ab),'configError':_0x3fede2(0x19e),'apiApplyInfo':{'title':_0x3fede2(0x1b6),'description':_0x3fede2(0x195),'univerAiLabel':_0x3fede2(0x1b9),'getStarted':_0x3fede2(0x1b8)},'validation':{'apiKeyRequired':_0x3fede2(0x1b7),'apiKeyTooShort':_0x3fede2(0x1a5),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x3fede2(0x1af),'connecting':_0x3fede2(0x1a4),'connected':_0x3fede2(0x1c2),'failed':'Connection\x20Failed','retrying':_0x3fede2(0x1ac)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x3fede2(0x1b1),'networkError':_0x3fede2(0x1ba),'maxRetriesExceeded':_0x3fede2(0x1ad)}}};function _0x1f11(_0x4b9c94,_0xda8070){_0x4b9c94=_0x4b9c94-0x193;const _0x297e3d=_0x297e();let _0x1f11ee=_0x297e3d[_0x4b9c94];return _0x1f11ee;}module[_0x3fede2(0x1b3)]=e;
1
+ const _0x33538f=_0x3613;(function(_0x5dc9c8,_0x3f9692){const _0x273c60=_0x3613,_0x4eee4e=_0x5dc9c8();while(!![]){try{const _0x242bc1=-parseInt(_0x273c60(0x16c))/0x1*(parseInt(_0x273c60(0x175))/0x2)+-parseInt(_0x273c60(0x14f))/0x3+parseInt(_0x273c60(0x147))/0x4+-parseInt(_0x273c60(0x14e))/0x5*(-parseInt(_0x273c60(0x16d))/0x6)+parseInt(_0x273c60(0x164))/0x7+-parseInt(_0x273c60(0x14b))/0x8*(parseInt(_0x273c60(0x150))/0x9)+-parseInt(_0x273c60(0x14c))/0xa;if(_0x242bc1===_0x3f9692)break;else _0x4eee4e['push'](_0x4eee4e['shift']());}catch(_0x5d4553){_0x4eee4e['push'](_0x4eee4e['shift']());}}}(_0x4170,0xa54a7));function _0x3613(_0x345001,_0x34b11b){_0x345001=_0x345001-0x146;const _0x41709d=_0x4170();let _0x361356=_0x41709d[_0x345001];return _0x361356;}function _0x4170(){const _0x226608=['Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20configure\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Session\x20ID\x20Occupied','Univer\x20AI\x20Console','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','Save\x20Configuration','MCP\x20Configuration','8949010uhbSpu','Saving...','MCP\x20Client\x20Configuration','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20saved\x20successfully','1Yvomgj','6GcyWPR','MCP\x20Connected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Unknown\x20Status','exports','781602eAGReS','Session\x20ID','MCP:\x20Unauthorized','4605864xfkyrH','Invalid\x20configuration','Connecting...','Connection\x20Failed','1994224kzpLFL','7442220fSKXpE','MCP\x20Disconnected','1211565mMRixH','1832631sMAUqk','9KLpthn','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Parameters:','Enter\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded'];_0x4170=function(){return _0x226608;};return _0x4170();}const e={'mcpStatus':{'disconnected':_0x33538f(0x14d),'connecting':'MCP\x20Connecting...','connected':_0x33538f(0x16e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x33538f(0x171),'unknown':_0x33538f(0x173),'unauthorized':_0x33538f(0x146),'sessionOccupied':_0x33538f(0x15e),'networkError':_0x33538f(0x167),'maxRetriesExceeded':_0x33538f(0x159),'clickToConnect':_0x33538f(0x156),'clickToConfigure':_0x33538f(0x15c)},'mcpConfig':{'title':_0x33538f(0x163),'description':_0x33538f(0x158),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x33538f(0x154),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x33538f(0x172),'connectionInfo':_0x33538f(0x166),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x33538f(0x160),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x33538f(0x15d),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x33538f(0x176),'sessionIdDescription':_0x33538f(0x152),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x33538f(0x153),'maxRetries':'Max\x20Retries','save':_0x33538f(0x162),'saving':_0x33538f(0x165),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x33538f(0x168),'configSaved':_0x33538f(0x16b),'configError':_0x33538f(0x15a),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x33538f(0x155),'univerAiLabel':_0x33538f(0x15f),'getStarted':_0x33538f(0x161)},'validation':{'apiKeyRequired':_0x33538f(0x169),'apiKeyTooShort':_0x33538f(0x157),'invalidConfig':_0x33538f(0x148),'invalidApiKey':_0x33538f(0x16a)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x33538f(0x149),'connected':'Connected','failed':_0x33538f(0x14a),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x33538f(0x16f),'sessionOccupied':_0x33538f(0x151),'networkError':_0x33538f(0x15b),'maxRetriesExceeded':_0x33538f(0x170)}}};module[_0x33538f(0x174)]=e;
@@ -1 +1 @@
1
- const _0x4d99f8=_0x42cc;function _0xcaf9(){const _0x5a74df=['10201840IcMpXY','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','7916744vnNXmz','24XrsrFh','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','What\x20is\x20API\x20Key?','191728jxnXoT','Failed\x20to\x20save\x20configuration','Invalid\x20configuration','1616337CTfGdI','Enter\x20your\x20API\x20key','33DRjFdr','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Client\x20Configuration','API\x20Key','Configuration\x20Steps:','Enable\x20authentication\x20for\x20secure\x20connections','Univer\x20AI\x20Console','MCP\x20Connecting...','3816018OKiYNl','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connected','14cTguHv','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed','exports','Retrying...','1588191tBCRlP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Unauthorized','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','6864300pVxTPG','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Copy\x20the\x20JSON\x20configuration\x20below','Connection\x20Failed'];_0xcaf9=function(){return _0x5a74df;};return _0xcaf9();}(function(_0x15eb58,_0x579e88){const _0x7bd757=_0x42cc,_0x2b60b5=_0x15eb58();while(!![]){try{const _0x58718e=-parseInt(_0x7bd757(0x120))/0x1+parseInt(_0x7bd757(0x13a))/0x2*(-parseInt(_0x7bd757(0x13f))/0x3)+parseInt(_0x7bd757(0x132))/0x4+parseInt(_0x7bd757(0x126))/0x5+parseInt(_0x7bd757(0x117))/0x6*(-parseInt(_0x7bd757(0x11b))/0x7)+-parseInt(_0x7bd757(0x133))/0x8*(-parseInt(_0x7bd757(0x13d))/0x9)+parseInt(_0x7bd757(0x130))/0xa;if(_0x58718e===_0x579e88)break;else _0x2b60b5['push'](_0x2b60b5['shift']());}catch(_0x53f12f){_0x2b60b5['push'](_0x2b60b5['shift']());}}}(_0xcaf9,0xf33d4));const e={'mcpStatus':{'disconnected':_0x4d99f8(0x123),'connecting':_0x4d99f8(0x116),'connected':_0x4d99f8(0x11a),'failed':_0x4d99f8(0x11d),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x4d99f8(0x122),'sessionOccupied':_0x4d99f8(0x12a),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4d99f8(0x119),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4d99f8(0x118)},'mcpConfig':{'title':_0x4d99f8(0x129),'description':_0x4d99f8(0x12b),'apiKey':_0x4d99f8(0x112),'apiKeyPlaceholder':_0x4d99f8(0x13e),'apiKeyHint':_0x4d99f8(0x140),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4d99f8(0x114),'connectionInfo':_0x4d99f8(0x111),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x4d99f8(0x113),'configStep1':_0x4d99f8(0x12e),'configStep2':_0x4d99f8(0x127),'configStep3':_0x4d99f8(0x137),'sessionId':_0x4d99f8(0x134),'sessionIdDescription':_0x4d99f8(0x136),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x4d99f8(0x12c),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x4d99f8(0x128),'note2':_0x4d99f8(0x131),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4d99f8(0x13b),'apiApplyInfo':{'title':_0x4d99f8(0x139),'description':_0x4d99f8(0x121),'univerAiLabel':_0x4d99f8(0x115),'getStarted':_0x4d99f8(0x125)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4d99f8(0x124),'invalidConfig':_0x4d99f8(0x13c),'invalidApiKey':_0x4d99f8(0x135)},'connectionStatus':{'disconnected':_0x4d99f8(0x138),'connecting':'Connecting...','connected':'Connected','failed':_0x4d99f8(0x12f),'retrying':_0x4d99f8(0x11f)},'connectionError':{'unauthorized':_0x4d99f8(0x11c),'sessionOccupied':_0x4d99f8(0x12d),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x42cc(_0x1c2ffc,_0x5641ab){_0x1c2ffc=_0x1c2ffc-0x111;const _0xcaf90c=_0xcaf9();let _0x42cc61=_0xcaf90c[_0x1c2ffc];return _0x42cc61;}module[_0x4d99f8(0x11e)]=e;
1
+ function _0x4461(_0x3d9f90,_0x31dccf){_0x3d9f90=_0x3d9f90-0x18d;const _0x2b99d9=_0x2b99();let _0x446148=_0x2b99d9[_0x3d9f90];return _0x446148;}const _0x4ac1a8=_0x4461;(function(_0x32b88c,_0x182909){const _0x4babff=_0x4461,_0x285937=_0x32b88c();while(!![]){try{const _0x440a76=-parseInt(_0x4babff(0x1b7))/0x1+-parseInt(_0x4babff(0x199))/0x2+parseInt(_0x4babff(0x1a6))/0x3+-parseInt(_0x4babff(0x1ae))/0x4*(parseInt(_0x4babff(0x1b5))/0x5)+-parseInt(_0x4babff(0x19f))/0x6*(-parseInt(_0x4babff(0x1b0))/0x7)+parseInt(_0x4babff(0x19d))/0x8+-parseInt(_0x4babff(0x1bf))/0x9;if(_0x440a76===_0x182909)break;else _0x285937['push'](_0x285937['shift']());}catch(_0x9cd3d8){_0x285937['push'](_0x285937['shift']());}}}(_0x2b99,0xa2e89));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4ac1a8(0x1af),'connected':_0x4ac1a8(0x1b1),'failed':_0x4ac1a8(0x190),'retrying':_0x4ac1a8(0x1b6),'unknown':_0x4ac1a8(0x1ba),'unauthorized':_0x4ac1a8(0x1bb),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4ac1a8(0x18f),'maxRetriesExceeded':_0x4ac1a8(0x1aa),'clickToConnect':_0x4ac1a8(0x19e),'clickToConfigure':_0x4ac1a8(0x195)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4ac1a8(0x1ac),'apiKey':_0x4ac1a8(0x1a9),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4ac1a8(0x1b2),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4ac1a8(0x1a5),'connectionInfo':_0x4ac1a8(0x193),'mcpClientConfig':_0x4ac1a8(0x193),'configInstructions':_0x4ac1a8(0x18d),'configStepTitle':_0x4ac1a8(0x19a),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x4ac1a8(0x1b3),'configStep3':_0x4ac1a8(0x1be),'sessionId':_0x4ac1a8(0x192),'sessionIdDescription':_0x4ac1a8(0x1a8),'authorizationDescription':_0x4ac1a8(0x1a4),'configParameters':_0x4ac1a8(0x19c),'maxRetries':_0x4ac1a8(0x194),'save':_0x4ac1a8(0x1a1),'saving':_0x4ac1a8(0x1a3),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4ac1a8(0x1bc),'configError':_0x4ac1a8(0x191),'apiApplyInfo':{'title':_0x4ac1a8(0x198),'description':_0x4ac1a8(0x1b9),'univerAiLabel':_0x4ac1a8(0x1a2),'getStarted':_0x4ac1a8(0x1b4)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4ac1a8(0x196),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4ac1a8(0x1ab)},'connectionStatus':{'disconnected':_0x4ac1a8(0x1a0),'connecting':_0x4ac1a8(0x1bd),'connected':_0x4ac1a8(0x197),'failed':'Connection\x20Failed','retrying':_0x4ac1a8(0x1b8)},'connectionError':{'unauthorized':_0x4ac1a8(0x1a7),'sessionOccupied':_0x4ac1a8(0x1ad),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4ac1a8(0x18e)}}};module[_0x4ac1a8(0x19b)]=e;function _0x2b99(){const _0x5ccb3a=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','5130576ksLYkl','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','Failed\x20to\x20save\x20configuration','Session\x20ID','MCP\x20Client\x20Configuration','Max\x20Retries','Click\x20to\x20configure\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','What\x20is\x20API\x20Key?','261550fgEfRJ','Configuration\x20Steps:','exports','Configuration\x20Parameters:','3124944xRblbU','Click\x20to\x20connect\x20MCP','6138708lTBFQx','Disconnected','Save\x20Configuration','Univer\x20AI\x20Console','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','1990080EJbSLB','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20Key','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','26576CDqQaD','MCP\x20Connecting...','7TwwKWP','MCP\x20Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Get\x20your\x20API\x20key\x20in\x20seconds','300ObQKBS','MCP\x20Retrying...','310344VSyJZP','Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Configuration\x20saved\x20successfully','Connecting...'];_0x2b99=function(){return _0x5ccb3a;};return _0x2b99();}
@@ -1 +1 @@
1
- const _0x4689a3=_0x3926;function _0x3926(_0x27b3b3,_0x277299){_0x27b3b3=_0x27b3b3-0x1cf;const _0x48506b=_0x4850();let _0x3926c1=_0x48506b[_0x27b3b3];return _0x3926c1;}(function(_0xdd6d4,_0x2ae233){const _0x4ce19f=_0x3926,_0x30e0c1=_0xdd6d4();while(!![]){try{const _0x3e9190=-parseInt(_0x4ce19f(0x1fb))/0x1+parseInt(_0x4ce19f(0x1e6))/0x2+-parseInt(_0x4ce19f(0x1dd))/0x3*(parseInt(_0x4ce19f(0x1e7))/0x4)+parseInt(_0x4ce19f(0x1f3))/0x5*(-parseInt(_0x4ce19f(0x1d0))/0x6)+parseInt(_0x4ce19f(0x1f4))/0x7+-parseInt(_0x4ce19f(0x1e1))/0x8*(parseInt(_0x4ce19f(0x1e4))/0x9)+parseInt(_0x4ce19f(0x1f2))/0xa*(parseInt(_0x4ce19f(0x1e5))/0xb);if(_0x3e9190===_0x2ae233)break;else _0x30e0c1['push'](_0x30e0c1['shift']());}catch(_0x5c64ad){_0x30e0c1['push'](_0x30e0c1['shift']());}}}(_0x4850,0x1a770));const e={'mcpStatus':{'disconnected':_0x4689a3(0x1e0),'connecting':_0x4689a3(0x1d8),'connected':_0x4689a3(0x1ee),'failed':_0x4689a3(0x1ec),'retrying':_0x4689a3(0x1f8),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x4689a3(0x1e8),'sessionOccupied':_0x4689a3(0x1fc),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4689a3(0x1f1),'clickToConnect':_0x4689a3(0x1db),'clickToConfigure':_0x4689a3(0x1e9)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4689a3(0x1d9),'apiKey':_0x4689a3(0x1d1),'apiKeyPlaceholder':_0x4689a3(0x1ed),'apiKeyHint':_0x4689a3(0x1da),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4689a3(0x1fd),'connectionInfo':_0x4689a3(0x1ef),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4689a3(0x1ea),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4689a3(0x1e3),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4689a3(0x1de),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x4689a3(0x1f7),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x4689a3(0x1d5),'save':_0x4689a3(0x1f6),'saving':_0x4689a3(0x200),'note1':_0x4689a3(0x1ff),'note2':_0x4689a3(0x1f5),'configSaved':_0x4689a3(0x1d3),'configError':_0x4689a3(0x1e2),'apiApplyInfo':{'title':_0x4689a3(0x1df),'description':_0x4689a3(0x1d7),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4689a3(0x1eb)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4689a3(0x1cf),'invalidConfig':_0x4689a3(0x1d4),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4689a3(0x1d6),'connecting':'Connecting...','connected':_0x4689a3(0x1d2),'failed':'Connection\x20Failed','retrying':_0x4689a3(0x1dc)},'connectionError':{'unauthorized':_0x4689a3(0x1fe),'sessionOccupied':_0x4689a3(0x1f9),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4689a3(0x1f0)}}};function _0x4850(){const _0x2c6b41=['Max\x20Retries','Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','Retrying...','287004zEdlyG','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','What\x20is\x20API\x20Key?','MCP\x20Disconnected','1168nyTuRX','Failed\x20to\x20save\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','13320pgSyxk','88McUUjj','208552diRBJd','8MpTiNa','MCP:\x20Unauthorized','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','Enter\x20your\x20API\x20key','MCP\x20Connected','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','642820eQJKgP','15StLvkh','588742rHpAJn','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','exports','50091PYsnto','MCP:\x20Session\x20ID\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','273462kSkIki','API\x20Key','Connected','Configuration\x20saved\x20successfully','Invalid\x20configuration'];_0x4850=function(){return _0x2c6b41;};return _0x4850();}module[_0x4689a3(0x1fa)]=e;
1
+ function _0x2523(_0x193742,_0x68b7e1){_0x193742=_0x193742-0x1f1;const _0x415ae9=_0x415a();let _0x252353=_0x415ae9[_0x193742];return _0x252353;}const _0xdb2b0e=_0x2523;(function(_0x3983c8,_0xca3ecf){const _0x59bb85=_0x2523,_0x53556f=_0x3983c8();while(!![]){try{const _0x2bfdbf=parseInt(_0x59bb85(0x20c))/0x1*(parseInt(_0x59bb85(0x219))/0x2)+parseInt(_0x59bb85(0x1f8))/0x3+parseInt(_0x59bb85(0x20e))/0x4+parseInt(_0x59bb85(0x201))/0x5+parseInt(_0x59bb85(0x1f5))/0x6+parseInt(_0x59bb85(0x1fb))/0x7+-parseInt(_0x59bb85(0x1f1))/0x8;if(_0x2bfdbf===_0xca3ecf)break;else _0x53556f['push'](_0x53556f['shift']());}catch(_0x56e934){_0x53556f['push'](_0x53556f['shift']());}}}(_0x415a,0xda78a));function _0x415a(){const _0x5f4ff8=['What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','Retrying...','MCP\x20Disconnected','836810wEFtfz','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Disconnected','API\x20Key','MCP:\x20Unauthorized','API\x20key\x20with\x20Bearer\x20prefix.','673167JEMNjc','Enter\x20your\x20API\x20key','4060796IXVlcV','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','Click\x20to\x20configure\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connection\x20Failed','2azEXqG','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections','exports','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','28252656rUhLHI','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','2948010GohyrN','Connection\x20Failed','MCP\x20Unknown\x20Status','3367659vzyWcU','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','6697768RskvPL','Enable\x20Authentication'];_0x415a=function(){return _0x5f4ff8;};return _0x415a();}const e={'mcpStatus':{'disconnected':_0xdb2b0e(0x200),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0xdb2b0e(0x218),'retrying':_0xdb2b0e(0x1f4),'unknown':_0xdb2b0e(0x1f7),'unauthorized':_0xdb2b0e(0x20a),'sessionOccupied':_0xdb2b0e(0x213),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xdb2b0e(0x204),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xdb2b0e(0x215)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xdb2b0e(0x216),'apiKey':_0xdb2b0e(0x209),'apiKeyPlaceholder':_0xdb2b0e(0x20d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0xdb2b0e(0x1fc),'enableAuthHint':_0xdb2b0e(0x21b),'connectionInfo':_0xdb2b0e(0x202),'mcpClientConfig':_0xdb2b0e(0x202),'configInstructions':_0xdb2b0e(0x21d),'configStepTitle':_0xdb2b0e(0x214),'configStep1':_0xdb2b0e(0x205),'configStep2':_0xdb2b0e(0x207),'configStep3':_0xdb2b0e(0x203),'sessionId':_0xdb2b0e(0x1f2),'sessionIdDescription':_0xdb2b0e(0x21e),'authorizationDescription':_0xdb2b0e(0x20b),'configParameters':_0xdb2b0e(0x1fa),'maxRetries':_0xdb2b0e(0x21a),'save':'Save\x20Configuration','saving':'Saving...','note1':_0xdb2b0e(0x211),'note2':_0xdb2b0e(0x217),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xdb2b0e(0x1fd),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0xdb2b0e(0x1fe),'getStarted':_0xdb2b0e(0x210)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xdb2b0e(0x1f9),'invalidConfig':_0xdb2b0e(0x206),'invalidApiKey':_0xdb2b0e(0x1f3)},'connectionStatus':{'disconnected':_0xdb2b0e(0x208),'connecting':'Connecting...','connected':'Connected','failed':_0xdb2b0e(0x1f6),'retrying':_0xdb2b0e(0x1ff)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xdb2b0e(0x212),'maxRetriesExceeded':_0xdb2b0e(0x20f)}}};module[_0xdb2b0e(0x21c)]=e;
@@ -1 +1 @@
1
- const _0x581e09=_0x427e;function _0x5d8e(){const _0x1a9647=['4806900LnsOek','APIキーはこのブラウザのローカルに保存されます','設定の変更は直ちに有効になります','2220897ScVtyk','exports','MCP:\x20セッションIDが使用中','接続中...','APIキーは必須です','クリックしてMCPに接続','最大再試行回数','878UEWOzq','接続済み','MCP\x20接続失敗','MCP:\x20最大再試行回数を超過','87828EpCkUv','ネットワーク接続エラー。インターネット接続を確認してください','無効なAPIキーです。キーが正しいか確認してください','無効な設定','10432278iUQhnd','839vQbZpn','8ovMQNE','1626108ajWkNJ','8868111McPdHK','セッションIDが現在使用中です。後でもう一度お試しください','MCPクライアントの設定に次の設定を追加してください:','認証を有効にする','MCP:\x20認証されていません','設定の保存に失敗しました','認証に失敗しました。APIキーを確認してください','設定手順:','設定を保存','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','以下のJSON設定をコピー','APIキーを入力してください','MCPクライアントを再起動して設定を適用','接続失敗','MCPクライアント設定','再試行中...','セッションID','330OtfVRM','APIキーはローカルストレージに安全に保存されます','MCP\x20不明な状態','APIキー','MCPを設定してAIでスプレッドシートを操作','APIキーとは?','設定が正常に保存されました','Bearerプレフィックス付きのAPIキー。','MCP\x20接続中...','MCP:\x20ネットワークエラー','最大再試行回数を超過しました。後でもう一度お試しください','APIキーは10文字以上である必要があります','Univer\x20AIコンソール','設定パラメータ:','保存中...','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。'];_0x5d8e=function(){return _0x1a9647;};return _0x5d8e();}function _0x427e(_0x508bd8,_0x2e5445){_0x508bd8=_0x508bd8-0x1b1;const _0x5d8ea0=_0x5d8e();let _0x427eec=_0x5d8ea0[_0x508bd8];return _0x427eec;}(function(_0x3967b9,_0x41e85b){const _0x203503=_0x427e,_0x3b1375=_0x3967b9();while(!![]){try{const _0x41a07c=-parseInt(_0x203503(0x1c9))/0x1*(-parseInt(_0x203503(0x1c0))/0x2)+-parseInt(_0x203503(0x1b9))/0x3+-parseInt(_0x203503(0x1cb))/0x4+-parseInt(_0x203503(0x1dd))/0x5*(-parseInt(_0x203503(0x1c4))/0x6)+parseInt(_0x203503(0x1cc))/0x7+parseInt(_0x203503(0x1ca))/0x8*(-parseInt(_0x203503(0x1c8))/0x9)+parseInt(_0x203503(0x1b6))/0xa;if(_0x41a07c===_0x41e85b)break;else _0x3b1375['push'](_0x3b1375['shift']());}catch(_0x3b7e80){_0x3b1375['push'](_0x3b1375['shift']());}}}(_0x5d8e,0xbd758));const e={'mcpStatus':{'disconnected':'MCP\x20未接続','connecting':_0x581e09(0x1e5),'connected':'MCP\x20接続済み','failed':_0x581e09(0x1c2),'retrying':'MCP\x20再試行中...','unknown':_0x581e09(0x1df),'unauthorized':_0x581e09(0x1d0),'sessionOccupied':_0x581e09(0x1bb),'networkError':_0x581e09(0x1e6),'maxRetriesExceeded':_0x581e09(0x1c3),'clickToConnect':_0x581e09(0x1be),'clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':'MCP設定','description':_0x581e09(0x1e1),'apiKey':_0x581e09(0x1e0),'apiKeyPlaceholder':_0x581e09(0x1d7),'apiKeyHint':_0x581e09(0x1b7),'enableAuth':_0x581e09(0x1cf),'enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':_0x581e09(0x1da),'mcpClientConfig':'MCPクライアント設定','configInstructions':_0x581e09(0x1ce),'configStepTitle':_0x581e09(0x1d3),'configStep1':_0x581e09(0x1d6),'configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x581e09(0x1d8),'sessionId':_0x581e09(0x1dc),'sessionIdDescription':_0x581e09(0x1b5),'authorizationDescription':_0x581e09(0x1e4),'configParameters':_0x581e09(0x1b3),'maxRetries':_0x581e09(0x1bf),'save':_0x581e09(0x1d4),'saving':_0x581e09(0x1b4),'note1':_0x581e09(0x1b8),'note2':_0x581e09(0x1de),'configSaved':_0x581e09(0x1e3),'configError':_0x581e09(0x1d1),'apiApplyInfo':{'title':_0x581e09(0x1e2),'description':_0x581e09(0x1d5),'univerAiLabel':_0x581e09(0x1b2),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x581e09(0x1bd),'apiKeyTooShort':_0x581e09(0x1b1),'invalidConfig':_0x581e09(0x1c7),'invalidApiKey':_0x581e09(0x1c6)},'connectionStatus':{'disconnected':'未接続','connecting':_0x581e09(0x1bc),'connected':_0x581e09(0x1c1),'failed':_0x581e09(0x1d9),'retrying':_0x581e09(0x1db)},'connectionError':{'unauthorized':_0x581e09(0x1d2),'sessionOccupied':_0x581e09(0x1cd),'networkError':_0x581e09(0x1c5),'maxRetriesExceeded':_0x581e09(0x1e7)}}};module[_0x581e09(0x1ba)]=e;
1
+ const _0x3907d0=_0x5168;function _0xfce5(){const _0x4350e3=['7JwQMtX','MCPクライアント設定','未接続','MCPクライアントの設定ファイルに設定を追加','2546091ooMZWG','再試行中...','MCP:\x20セッションIDが使用中','接続済み','MCP\x20接続済み','MCP\x20不明な状態','857096jWezTm','クリックしてMCPに接続','exports','セッションIDが現在使用中です。後でもう一度お試しください','1199ADZvBE','2009256rYgogx','無効な設定','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','最大再試行回数を超過しました。後でもう一度お試しください','最大再試行回数','設定が正常に保存されました','MCPを設定してAIでスプレッドシートを操作','898615StrCTm','APIキーはローカルストレージに安全に保存されます','MCP設定','MCPクライアントの設定に次の設定を追加してください:','MCP:\x20認証されていません','接続中...','4890159Uhsqun','Univer\x20AIコンソール','クリックしてMCPを設定','Bearerプレフィックス付きのAPIキー。','認証に失敗しました。APIキーを確認してください','保存中...','APIキーは必須です','12JtrdYf','接続失敗','以下のJSON設定をコピー','設定を保存','APIキーはこのブラウザのローカルに保存されます','MCP\x20未接続','862hSpYop','セッションID','無効なAPIキーです。キーが正しいか確認してください','設定の保存に失敗しました','APIキー','設定パラメータ:','2098990peHKvd','MCP:\x20ネットワークエラー','APIキーとは?','ネットワーク接続エラー。インターネット接続を確認してください','MCPクライアントを再起動して設定を適用','APIキーは10文字以上である必要があります','MCP\x20接続中...'];_0xfce5=function(){return _0x4350e3;};return _0xfce5();}(function(_0x1aa9ab,_0x3a377c){const _0x30ae9e=_0x5168,_0x38bedc=_0x1aa9ab();while(!![]){try{const _0x5039a3=parseInt(_0x30ae9e(0xc0))/0x1*(-parseInt(_0x30ae9e(0xa5))/0x2)+parseInt(_0x30ae9e(0x98))/0x3+-parseInt(_0x30ae9e(0xbc))/0x4+parseInt(_0x30ae9e(0x92))/0x5*(-parseInt(_0x30ae9e(0x9f))/0x6)+-parseInt(_0x30ae9e(0xb2))/0x7*(-parseInt(_0x30ae9e(0xc1))/0x8)+parseInt(_0x30ae9e(0xb6))/0x9+-parseInt(_0x30ae9e(0xab))/0xa;if(_0x5039a3===_0x3a377c)break;else _0x38bedc['push'](_0x38bedc['shift']());}catch(_0x478dc1){_0x38bedc['push'](_0x38bedc['shift']());}}}(_0xfce5,0xd2de9));function _0x5168(_0x5d97bb,_0x156be2){_0x5d97bb=_0x5d97bb-0x90;const _0xfce5ba=_0xfce5();let _0x51687e=_0xfce5ba[_0x5d97bb];return _0x51687e;}const e={'mcpStatus':{'disconnected':_0x3907d0(0xa4),'connecting':_0x3907d0(0xb1),'connected':_0x3907d0(0xba),'failed':'MCP\x20接続失敗','retrying':'MCP\x20再試行中...','unknown':_0x3907d0(0xbb),'unauthorized':_0x3907d0(0x96),'sessionOccupied':_0x3907d0(0xb8),'networkError':_0x3907d0(0xac),'maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':_0x3907d0(0xbd),'clickToConfigure':_0x3907d0(0x9a)},'mcpConfig':{'title':_0x3907d0(0x94),'description':_0x3907d0(0x91),'apiKey':_0x3907d0(0xa9),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x3907d0(0xa3),'enableAuth':'認証を有効にする','enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':_0x3907d0(0xb3),'mcpClientConfig':_0x3907d0(0xb3),'configInstructions':_0x3907d0(0x95),'configStepTitle':'設定手順:','configStep1':_0x3907d0(0xa1),'configStep2':_0x3907d0(0xb5),'configStep3':_0x3907d0(0xaf),'sessionId':_0x3907d0(0xa6),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x3907d0(0x9b),'configParameters':_0x3907d0(0xaa),'maxRetries':_0x3907d0(0xc5),'save':_0x3907d0(0xa2),'saving':_0x3907d0(0x9d),'note1':'設定の変更は直ちに有効になります','note2':_0x3907d0(0x93),'configSaved':_0x3907d0(0x90),'configError':_0x3907d0(0xa8),'apiApplyInfo':{'title':_0x3907d0(0xad),'description':_0x3907d0(0xc3),'univerAiLabel':_0x3907d0(0x99),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x3907d0(0x9e),'apiKeyTooShort':_0x3907d0(0xb0),'invalidConfig':_0x3907d0(0xc2),'invalidApiKey':_0x3907d0(0xa7)},'connectionStatus':{'disconnected':_0x3907d0(0xb4),'connecting':_0x3907d0(0x97),'connected':_0x3907d0(0xb9),'failed':_0x3907d0(0xa0),'retrying':_0x3907d0(0xb7)},'connectionError':{'unauthorized':_0x3907d0(0x9c),'sessionOccupied':_0x3907d0(0xbf),'networkError':_0x3907d0(0xae),'maxRetriesExceeded':_0x3907d0(0xc4)}}};module[_0x3907d0(0xbe)]=e;
@@ -1 +1 @@
1
- const _0xce22de=_0x242d;function _0x303e(){const _0x42f097=['MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','MCP\x20연결\x20중...','401500QrBNwE','설정\x20저장','489135nBhzgV','최대\x20재시도\x20횟수','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','재시도\x20중...','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','MCP\x20연결\x20실패','인증\x20활성화','API\x20키를\x20입력하세요','세션\x20ID','설정\x20매개변수:','30DwJONG','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','5384826PdqHBN','유효하지\x20않은\x20설정','46719FnOWzL','API\x20키는\x2010자\x20이상이어야\x20합니다','인증\x20실패.\x20API\x20키를\x20확인하세요','연결\x20실패','설정\x20단계:','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','설정이\x20성공적으로\x20저장되었습니다','MCP\x20설정','아래\x20JSON\x20설정\x20복사','1877880zTJlCQ','보안\x20연결을\x20위해\x20인증\x20활성화','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','50346OEPAdK','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','MCP:\x20세션\x20ID\x20사용\x20중','exports','Bearer\x20접두사가\x20있는\x20API\x20키.','MCP\x20알\x20수\x20없는\x20상태','MCP\x20연결됨','API\x20','연결\x20끊김','MCP\x20재시도\x20중...','306390DWJuLW','MCP\x20연결\x20끊김','클릭하여\x20MCP\x20설정','설정\x20저장\x20실패','1AyCdqY','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','몇\x20초\x20만에\x20API\x20키\x20발급받기','연결\x20중...','클릭하여\x20MCP\x20연결','연결됨'];_0x303e=function(){return _0x42f097;};return _0x303e();}function _0x242d(_0x5d39ee,_0x355f28){_0x5d39ee=_0x5d39ee-0x123;const _0x303ef4=_0x303e();let _0x242d23=_0x303ef4[_0x5d39ee];return _0x242d23;}(function(_0x227eb8,_0x12991c){const _0x4a421b=_0x242d,_0x57ac59=_0x227eb8();while(!![]){try{const _0x1151c5=-parseInt(_0x4a421b(0x148))/0x1*(parseInt(_0x4a421b(0x138))/0x2)+parseInt(_0x4a421b(0x12c))/0x3+parseInt(_0x4a421b(0x150))/0x4+-parseInt(_0x4a421b(0x152))/0x5+-parseInt(_0x4a421b(0x128))/0x6*(parseInt(_0x4a421b(0x144))/0x7)+-parseInt(_0x4a421b(0x135))/0x8+parseInt(_0x4a421b(0x12a))/0x9;if(_0x1151c5===_0x12991c)break;else _0x57ac59['push'](_0x57ac59['shift']());}catch(_0x315b2b){_0x57ac59['push'](_0x57ac59['shift']());}}}(_0x303e,0x219cd));const e={'mcpStatus':{'disconnected':_0xce22de(0x145),'connecting':_0xce22de(0x14f),'connected':_0xce22de(0x140),'failed':_0xce22de(0x123),'retrying':_0xce22de(0x143),'unknown':_0xce22de(0x13f),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0xce22de(0x13c),'networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':_0xce22de(0x14c),'clickToConfigure':_0xce22de(0x146)},'mcpConfig':{'title':_0xce22de(0x133),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0xce22de(0x141),'apiKeyPlaceholder':_0xce22de(0x125),'apiKeyHint':_0xce22de(0x131),'enableAuth':_0xce22de(0x124),'enableAuthHint':_0xce22de(0x136),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0xce22de(0x139),'configStepTitle':_0xce22de(0x130),'configStep1':_0xce22de(0x134),'configStep2':_0xce22de(0x137),'configStep3':_0xce22de(0x14e),'sessionId':_0xce22de(0x126),'sessionIdDescription':_0xce22de(0x13a),'authorizationDescription':_0xce22de(0x13e),'configParameters':_0xce22de(0x127),'maxRetries':_0xce22de(0x153),'save':_0xce22de(0x151),'saving':'저장\x20중...','note1':'설정\x20변경\x20사항은\x20즉시\x20적용됩니다','note2':_0xce22de(0x154),'configSaved':_0xce22de(0x132),'configError':_0xce22de(0x147),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':_0xce22de(0x13b),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0xce22de(0x14a)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0xce22de(0x12d),'invalidConfig':_0xce22de(0x12b),'invalidApiKey':_0xce22de(0x156)},'connectionStatus':{'disconnected':_0xce22de(0x142),'connecting':_0xce22de(0x14b),'connected':_0xce22de(0x14d),'failed':_0xce22de(0x12f),'retrying':_0xce22de(0x155)},'connectionError':{'unauthorized':_0xce22de(0x12e),'sessionOccupied':_0xce22de(0x149),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':_0xce22de(0x129)}}};module[_0xce22de(0x13d)]=e;
1
+ const _0x38c00c=_0x211b;function _0x1d62(){const _0x554255=['최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','연결\x20중...','API\x20키란\x20무엇인가요?','세션\x20ID','설정\x20저장','exports','MCP\x20연결\x20중...','설정\x20저장\x20실패','MCP\x20설정','1341976lYtEqD','Univer\x20AI\x20콘솔','1277793QIcXqd','MCP\x20알\x20수\x20없는\x20상태','MCP\x20클라이언트\x20설정','9271598wkhJDs','저장\x20중...','MCP:\x20세션\x20ID\x20사용\x20','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','3175JWtTMX','MCP\x20연결\x20끊김','MCP\x20재시도\x20중...','인증\x20활성화','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','9169904Fnploi','9vvSopv','4270182EKHlGu','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','MCP:\x20네트워크\x20오류','1343607eSyuDx','재시도\x20중...','클릭하여\x20MCP\x20설정','2kBNWDC','인증\x20실패.\x20API\x20키를\x20확인하세요','연결됨','설정이\x20성공적으로\x20저장되었습니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','설정\x20단계:','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','8564yMiOLg','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','API\x20','MCP:\x20최대\x20재시도\x20횟수\x20초과','보안\x20연결을\x20위해\x20인증\x20활성화','API\x20키는\x2010자\x20이상이어야\x20합니다','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','40wWMtfx','몇\x20초\x20만에\x20API\x20키\x20발급받기','클릭하여\x20MCP\x20연결','아래\x20JSON\x20설정\x20복사','유효하지\x20않은\x20설정'];_0x1d62=function(){return _0x554255;};return _0x1d62();}function _0x211b(_0x3430de,_0x419c03){_0x3430de=_0x3430de-0x19e;const _0x1d62da=_0x1d62();let _0x211b53=_0x1d62da[_0x3430de];return _0x211b53;}(function(_0x2e311d,_0x25c31b){const _0x36701a=_0x211b,_0x196063=_0x2e311d();while(!![]){try{const _0x4506ba=parseInt(_0x36701a(0x1b7))/0x1+-parseInt(_0x36701a(0x1ce))/0x2*(parseInt(_0x36701a(0x1cb))/0x3)+parseInt(_0x36701a(0x1a2))/0x4*(parseInt(_0x36701a(0x1c0))/0x5)+parseInt(_0x36701a(0x1c8))/0x6+-parseInt(_0x36701a(0x1bc))/0x7+-parseInt(_0x36701a(0x1c6))/0x8*(parseInt(_0x36701a(0x1c7))/0x9)+-parseInt(_0x36701a(0x1a9))/0xa*(-parseInt(_0x36701a(0x1b9))/0xb);if(_0x4506ba===_0x25c31b)break;else _0x196063['push'](_0x196063['shift']());}catch(_0x32582d){_0x196063['push'](_0x196063['shift']());}}}(_0x1d62,0xea307));const e={'mcpStatus':{'disconnected':_0x38c00c(0x1c1),'connecting':_0x38c00c(0x1b4),'connected':'MCP\x20연결됨','failed':'MCP\x20연결\x20실패','retrying':_0x38c00c(0x1c2),'unknown':_0x38c00c(0x1ba),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x38c00c(0x1be),'networkError':_0x38c00c(0x1ca),'maxRetriesExceeded':_0x38c00c(0x1a5),'clickToConnect':_0x38c00c(0x1ab),'clickToConfigure':_0x38c00c(0x1cd)},'mcpConfig':{'title':_0x38c00c(0x1b6),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x38c00c(0x1a4),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x38c00c(0x1bf),'enableAuth':_0x38c00c(0x1c3),'enableAuthHint':_0x38c00c(0x1a6),'connectionInfo':_0x38c00c(0x1bb),'mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x38c00c(0x1a3),'configStepTitle':_0x38c00c(0x1a0),'configStep1':_0x38c00c(0x1ac),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x38c00c(0x1a8),'sessionId':_0x38c00c(0x1b1),'sessionIdDescription':_0x38c00c(0x1c5),'authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':'설정\x20매개변수:','maxRetries':'최대\x20재시도\x20횟수','save':_0x38c00c(0x1b2),'saving':_0x38c00c(0x1bd),'note1':_0x38c00c(0x19f),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x38c00c(0x19e),'configError':_0x38c00c(0x1b5),'apiApplyInfo':{'title':_0x38c00c(0x1b0),'description':_0x38c00c(0x1c4),'univerAiLabel':_0x38c00c(0x1b8),'getStarted':_0x38c00c(0x1aa)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0x38c00c(0x1a7),'invalidConfig':_0x38c00c(0x1ad),'invalidApiKey':_0x38c00c(0x1c9)},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x38c00c(0x1af),'connected':_0x38c00c(0x1d0),'failed':'연결\x20실패','retrying':_0x38c00c(0x1cc)},'connectionError':{'unauthorized':_0x38c00c(0x1cf),'sessionOccupied':_0x38c00c(0x1a1),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':_0x38c00c(0x1ae)}}};module[_0x38c00c(0x1b3)]=e;