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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +7 -7
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x26f842=_0x3e41;(function(_0x2a3d55,_0x28a424){const _0x30355c=_0x3e41,_0x1eb6c7=_0x2a3d55();while(!![]){try{const _0x2a6b59=-parseInt(_0x30355c(0x17c))/0x1*(-parseInt(_0x30355c(0x241))/0x2)+parseInt(_0x30355c(0x217))/0x3*(parseInt(_0x30355c(0x23a))/0x4)+parseInt(_0x30355c(0x191))/0x5*(parseInt(_0x30355c(0x1d4))/0x6)+parseInt(_0x30355c(0x21f))/0x7*(-parseInt(_0x30355c(0x1d1))/0x8)+parseInt(_0x30355c(0x21d))/0x9*(parseInt(_0x30355c(0x210))/0xa)+-parseInt(_0x30355c(0x229))/0xb*(-parseInt(_0x30355c(0x221))/0xc)+-parseInt(_0x30355c(0x202))/0xd*(parseInt(_0x30355c(0x1d6))/0xe);if(_0x2a6b59===_0x28a424)break;else _0x1eb6c7['push'](_0x1eb6c7['shift']());}catch(_0x26d85d){_0x1eb6c7['push'](_0x1eb6c7['shift']());}}}(_0x2528,0x56638),Object[_0x26f842(0x193)](exports,Symbol[_0x26f842(0x18a)],{'value':'Module'}));const e=require('./locale/en-US.js'),t=require('./locale/zh-CN.js');let n=require('@univerjs/core'),r=require('@univerjs-pro/mcp'),i=require('@univerjs/design'),a=require('@univerjs/ui'),o=require('rxjs'),s=require('@univerjs/icons'),c=require('react'),l=require('react/jsx-runtime'),u=require('@univerjs/network');function d(_0x2cc193){const _0xbe7dee=_0x26f842;var _0x4e0755,_0x15ea24;let {mcpCoreConfig:_0x10e0f3,onSave:_0x21611f,loading:_0x54523e=!0x1,config:_0x5b9f8b,connectionStatus$:_0x15fe91,connectionError$:_0x50e8f6,currentApiKey$:_0x17e0b7,currentSessionId$:_0x254fc0}=_0x2cc193,_0x3b95d5=(0x0,a[_0xbe7dee(0x1e9)])(n['LocaleService']),_0x37ba1f=(0x0,a[_0xbe7dee(0x160)])(_0x15fe91,r['MCPConnectionStatus'][_0xbe7dee(0x15b)]),_0x566c8b=(0x0,a[_0xbe7dee(0x160)])(_0x50e8f6,r['MCPConnectionError']['NONE']),_0x3f236c=(0x0,a[_0xbe7dee(0x160)])(_0x254fc0,''),[_0x35ae26,_0x228dcf]=(0x0,c[_0xbe7dee(0x1fc)])((0x0,a[_0xbe7dee(0x160)])(_0x17e0b7,'')||''),_0x4284bc=_0x5b9f8b[_0xbe7dee(0x1eb)]&&_0x10e0f3[_0xbe7dee(0x1a2)]&&(_0x10e0f3[_0xbe7dee(0x1a2)][_0xbe7dee(0x255)]('univer.plus')||_0x10e0f3[_0xbe7dee(0x1a2)]['includes'](_0xbe7dee(0x1c2))),_0x9c6cc6=(_0x4e0755=_0x10e0f3[_0xbe7dee(0x1a2)])==null?void 0x0:_0x4e0755[_0xbe7dee(0x255)](_0xbe7dee(0x1a5)),_0x5ab641=(_0x15ea24=_0x10e0f3[_0xbe7dee(0x1a2)])==null?void 0x0:_0x15ea24[_0xbe7dee(0x255)](_0xbe7dee(0x1c2)),_0x1f65b8=_0x9c6cc6?'https://console.univer.plus':'https://console.univer.ai',_0x572c92=_0x5b9f8b[_0xbe7dee(0x1eb)]&&(_0x9c6cc6||_0x5ab641),[_0x16b2bb,_0x3654c2]=(0x0,c[_0xbe7dee(0x1fc)])(!_0x35ae26['trim']()),_0x40568b=(_0x5aab32,_0x2c6576)=>{const _0x32ec75=_0xbe7dee;if(_0x2c6576===r['MCPConnectionError'][_0x32ec75(0x1fd)])return _0x32ec75(0x1b7);switch(_0x5aab32){case r[_0x32ec75(0x1cd)][_0x32ec75(0x21b)]:return _0x32ec75(0x149);case r[_0x32ec75(0x1cd)][_0x32ec75(0x250)]:case r[_0x32ec75(0x1cd)][_0x32ec75(0x242)]:return _0x32ec75(0x213);case r[_0x32ec75(0x1cd)][_0x32ec75(0x197)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x32ec75(0x16f);}},_0x52d9c5=(_0x51657f,_0x4b8e13)=>{const _0x4a8a10=_0xbe7dee;if(_0x4b8e13===r['MCPConnectionError']['UNAUTHORIZED'])return _0x4a8a10(0x186);switch(_0x51657f){case r['MCPConnectionStatus'][_0x4a8a10(0x21b)]:return _0x4a8a10(0x215);case r[_0x4a8a10(0x1cd)][_0x4a8a10(0x250)]:case r['MCPConnectionStatus'][_0x4a8a10(0x242)]:return _0x4a8a10(0x172);case r[_0x4a8a10(0x1cd)][_0x4a8a10(0x197)]:return'univer-bg-red-500';default:return _0x4a8a10(0x25b);}},_0x51abce=_0x5e65c9=>{const _0x13e617=_0xbe7dee;switch(_0x5e65c9){case r['MCPConnectionStatus'][_0x13e617(0x21b)]:return _0x3b95d5['t'](_0x13e617(0x157));case r[_0x13e617(0x1cd)][_0x13e617(0x250)]:return _0x3b95d5['t'](_0x13e617(0x175));case r[_0x13e617(0x1cd)][_0x13e617(0x197)]:return _0x3b95d5['t'](_0x13e617(0x22a));case r[_0x13e617(0x1cd)][_0x13e617(0x242)]:return _0x3b95d5['t'](_0x13e617(0x192));default:return _0x3b95d5['t'](_0x13e617(0x1f0));}},_0x4afa7a=_0x1373db=>{const _0x4f3bac=_0xbe7dee;switch(_0x1373db){case r[_0x4f3bac(0x179)]['UNAUTHORIZED']:return _0x3b95d5['t'](_0x4f3bac(0x1cf));case r[_0x4f3bac(0x179)][_0x4f3bac(0x1c7)]:return _0x3b95d5['t']('mcpConfig.connectionError.sessionOccupied');case r[_0x4f3bac(0x179)][_0x4f3bac(0x169)]:return _0x3b95d5['t'](_0x4f3bac(0x25e));case r['MCPConnectionError'][_0x4f3bac(0x209)]:return _0x3b95d5['t'](_0x4f3bac(0x198));default:return'';}},_0x470bf1=(0x0,c[_0xbe7dee(0x20d)])(()=>{_0x21611f({..._0x10e0f3,'apiKey':_0x35ae26['trim'](),'enableAuth':!0x0});},[_0x10e0f3,_0x35ae26,!0x0,_0x21611f]),_0x923e74=_0x35ae26['trim']()['length']>0x0;return(0x0,l[_0xbe7dee(0x16a)])('div',{'className':_0xbe7dee(0x16c),'children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x146),'children':(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x19c),{'className':'univer-text-white','children':'⚙'})}),(0x0,l[_0xbe7dee(0x243)])('div',{'children':(0x0,l[_0xbe7dee(0x243)])('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x3b95d5['t'](_0xbe7dee(0x19f))})})]})}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x214),'children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':(0x0,i[_0xbe7dee(0x19b)])(_0xbe7dee(0x1fe),_0x40568b(_0x37ba1f,_0x566c8b)),'children':(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x1dc),'children':[(0x0,l[_0xbe7dee(0x243)])('div',{'className':(0x0,i['clsx'])(_0xbe7dee(0x1c9),_0x52d9c5(_0x37ba1f,_0x566c8b))}),(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x19c),{'className':'univer-text-sm\x20univer-font-medium','children':_0x51abce(_0x37ba1f)})]})}),_0x566c8b!==r[_0xbe7dee(0x179)][_0xbe7dee(0x19a)]&&(_0x37ba1f===r['MCPConnectionStatus']['FAILED']||_0x566c8b===r['MCPConnectionError'][_0xbe7dee(0x1fd)])&&(0x0,l['jsx'])(_0xbe7dee(0x1ca),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':(0x0,l['jsxs'])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x253),'children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x19c),{'className':_0xbe7dee(0x21e),'children':'⚠️'}),(0x0,l[_0xbe7dee(0x243)])('p',{'className':_0xbe7dee(0x23c),'children':_0x4afa7a(_0x566c8b)})]})})]}),(0x0,l['jsx'])('div',{'className':_0xbe7dee(0x1ee),'children':(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x252),'children':[(0x0,l[_0xbe7dee(0x16a)])('div',{'className':_0xbe7dee(0x151),'children':[(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x257),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[(0x0,l[_0xbe7dee(0x243)])('span',{'children':'🔑'}),'\x20',_0x3b95d5['t'](_0xbe7dee(0x1fa)),(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x19c),{'className':_0xbe7dee(0x148),'children':'*'}),_0x4284bc&&(0x0,l[_0xbe7dee(0x243)])('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':_0x3b95d5['t']('mcpConfig.apiApplyInfo.title'),'role':_0xbe7dee(0x168),'onClick':()=>_0x3654c2(!0x0),'children':(0x0,l[_0xbe7dee(0x243)])(s[_0xbe7dee(0x205)],{})})]}),(0x0,l[_0xbe7dee(0x243)])(i[_0xbe7dee(0x163)],{'type':_0xbe7dee(0x1d2),'placeholder':_0x3b95d5['t'](_0xbe7dee(0x231)),'value':_0x35ae26,'disabled':_0x54523e,'autoComplete':_0xbe7dee(0x156),'onChange':_0x228dcf}),(0x0,l[_0xbe7dee(0x243)])('p',{'className':_0xbe7dee(0x23e),'children':_0x3b95d5['t']('mcpConfig.apiKeyHint')})]}),_0x4284bc&&_0x16b2bb&&(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x235),'children':[(0x0,l[_0xbe7dee(0x243)])('a',{'className':_0xbe7dee(0x24a),'role':'button','onClick':()=>_0x3654c2(!0x1),'children':(0x0,l[_0xbe7dee(0x243)])(s[_0xbe7dee(0x212)],{'className':_0xbe7dee(0x196)})}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x150),'children':[(0x0,l['jsx'])('div',{'className':_0xbe7dee(0x1dd),'children':(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x19c),{'className':_0xbe7dee(0x206),'children':'🚀'})}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x14f),'children':[(0x0,l[_0xbe7dee(0x243)])('h4',{'className':_0xbe7dee(0x25d),'children':_0x3b95d5['t'](_0xbe7dee(0x18b))}),(0x0,l[_0xbe7dee(0x243)])('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x3b95d5['t'](_0xbe7dee(0x1d9))}),(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x22b),'children':_0x572c92&&(0x0,l[_0xbe7dee(0x16a)])('a',{'className':_0xbe7dee(0x20e),'href':_0x1f65b8,'target':_0xbe7dee(0x16e),'rel':_0xbe7dee(0x1c1),'children':[(0x0,l['jsx'])('span',{'children':'🤖'}),_0x3b95d5['t'](_0xbe7dee(0x17f)),(0x0,l['jsx'])(_0xbe7dee(0x19c),{'className':_0xbe7dee(0x24e),'children':'↗'})]})}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x1f3),'children':['✨','\x20',_0x3b95d5['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x5b9f8b['showDeveloperTools']&&(0x0,l[_0xbe7dee(0x16a)])('div',{'className':_0xbe7dee(0x170),'children':[(0x0,l[_0xbe7dee(0x16a)])('h4',{'className':_0xbe7dee(0x207),'children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x19c),{'children':'🔗'}),'\x20',_0x3b95d5['t'](_0xbe7dee(0x237))]}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x20f),'children':[(0x0,l['jsxs'])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x240),'children':[(0x0,l[_0xbe7dee(0x243)])('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x3b95d5['t']('mcpConfig.configInstructions')}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':'univer-space-y-2','children':[(0x0,l['jsx'])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x1a9),'children':_0x3b95d5['t'](_0xbe7dee(0x1da))}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x176),'children':[(0x0,l['jsxs'])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,l['jsx'])('span',{'className':_0xbe7dee(0x1db),'children':'1'}),_0x3b95d5['t'](_0xbe7dee(0x249))]}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x1dc),'children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x19c),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x3b95d5['t'](_0xbe7dee(0x1c3))]}),(0x0,l[_0xbe7dee(0x16a)])('div',{'className':_0xbe7dee(0x1dc),'children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x19c),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x3b95d5['t'](_0xbe7dee(0x1c0))]})]})]})]}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x151),'children':[(0x0,l['jsx'])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x1a9),'children':'MCP\x20Configuration'}),(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':(0x0,l['jsx'])(_0xbe7dee(0x22f),{'className':_0xbe7dee(0x25c),'children':JSON[_0xbe7dee(0x20b)]({'mcpServers':{'univer':{'url':_0xbe7dee(0x1cb)+(_0x3f236c||_0xbe7dee(0x232)),'type':'http','headers':{'Authorization':_0xbe7dee(0x1e0)+(_0x35ae26||'<API_KEY>')}}}},null,0x2)})})]}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':'univer-space-y-3','children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x1a9),'children':_0x3b95d5['t'](_0xbe7dee(0x224))}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x151),'children':[(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x22d),'children':[(0x0,l['jsx'])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x19e)}),(0x0,l[_0xbe7dee(0x16a)])('div',{'className':_0xbe7dee(0x22e),'children':[(0x0,l[_0xbe7dee(0x243)])('div',{'className':_0xbe7dee(0x1d0),'children':'univer_session_id:'}),(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3b95d5['t']('mcpConfig.sessionIdDescription')})]})]}),(0x0,l['jsxs'])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x22d),'children':[(0x0,l['jsx'])(_0xbe7dee(0x1ca),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x22e),'children':[(0x0,l[_0xbe7dee(0x243)])('div',{'className':_0xbe7dee(0x1d0),'children':_0xbe7dee(0x18f)}),(0x0,l['jsx'])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x23e),'children':_0x3b95d5['t'](_0xbe7dee(0x1b3))})]})]})]})]})]})]}),(0x0,l[_0xbe7dee(0x243)])(i[_0xbe7dee(0x244)],{'onClick':_0x470bf1,'disabled':!_0x923e74||_0x54523e,'className':_0xbe7dee(0x1f6),'children':_0x54523e?(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x19c),{'className':_0xbe7dee(0x1dc),'children':[(0x0,l[_0xbe7dee(0x243)])('span',{'children':'⟲'}),_0x3b95d5['t'](_0xbe7dee(0x15d))]}):(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x19c),{'className':_0xbe7dee(0x1dc),'children':[(0x0,l[_0xbe7dee(0x243)])(s[_0xbe7dee(0x1ec)],{}),_0x3b95d5['t'](_0xbe7dee(0x1c6))]})}),(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x1aa),'children':(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':'univer-flex\x20univer-gap-3','children':[(0x0,l[_0xbe7dee(0x243)])('span',{'className':_0xbe7dee(0x23d),'children':'💡'}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x1e8),'children':[(0x0,l[_0xbe7dee(0x243)])(_0xbe7dee(0x1ca),{'className':_0xbe7dee(0x228),'children':_0xbe7dee(0x19d)}),(0x0,l[_0xbe7dee(0x16a)])(_0xbe7dee(0x1ca),{'children':['•',_0x3b95d5['t'](_0xbe7dee(0x1bc))]}),(0x0,l[_0xbe7dee(0x16a)])('div',{'children':['•',_0x3b95d5['t']('mcpConfig.note2')]})]})]})})]})})]});}const f='mcp-ui.config',p={'showDeveloperTools':!0x1,'showStatus':!0x0};function m(_0x4c12dd){'@babel/helpers - typeof';const _0x38d9a2=_0x26f842;return m=typeof Symbol==_0x38d9a2(0x17e)&&typeof Symbol['iterator']==_0x38d9a2(0x24b)?function(_0x3ec52f){return typeof _0x3ec52f;}:function(_0x5c824f){const _0x19a191=_0x38d9a2;return _0x5c824f&&typeof Symbol==_0x19a191(0x17e)&&_0x5c824f[_0x19a191(0x211)]===Symbol&&_0x5c824f!==Symbol[_0x19a191(0x194)]?'symbol':typeof _0x5c824f;},m(_0x4c12dd);}function h(_0x55d8ce,_0x38119b){const _0xb75304=_0x26f842;if(m(_0x55d8ce)!=_0xb75304(0x223)||!_0x55d8ce)return _0x55d8ce;var _0x378ca4=_0x55d8ce[Symbol['toPrimitive']];if(_0x378ca4!==void 0x0){var _0x407fca=_0x378ca4[_0xb75304(0x1b8)](_0x55d8ce,_0x38119b||_0xb75304(0x1ba));if(m(_0x407fca)!=_0xb75304(0x223))return _0x407fca;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x38119b===_0xb75304(0x1e4)?String:Number)(_0x55d8ce);}function g(_0x336c59){const _0x46c39a=_0x26f842;var _0x360461=h(_0x336c59,_0x46c39a(0x1e4));return m(_0x360461)==_0x46c39a(0x24b)?_0x360461:_0x360461+'';}function _(_0x54a31b,_0x1e0619,_0xc3904e){const _0x179a35=_0x26f842;return(_0x1e0619=g(_0x1e0619))in _0x54a31b?Object[_0x179a35(0x193)](_0x54a31b,_0x1e0619,{'value':_0xc3904e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x54a31b[_0x1e0619]=_0xc3904e,_0x54a31b;}function v(_0x23ae4e,_0x1518d5){return function(_0x398d6c,_0x4c6ed0){_0x1518d5(_0x398d6c,_0x4c6ed0,_0x23ae4e);};}function y(_0x581af2,_0x1d24b8,_0x5253a4,_0x63b5a0){const _0x5bca1f=_0x26f842;var _0x44b814=arguments['length'],_0x4bbad0=_0x44b814<0x3?_0x1d24b8:_0x63b5a0===null?_0x63b5a0=Object[_0x5bca1f(0x1bf)](_0x1d24b8,_0x5253a4):_0x63b5a0,_0x5189ef;if(typeof Reflect==_0x5bca1f(0x223)&&typeof Reflect[_0x5bca1f(0x1d3)]==_0x5bca1f(0x17e))_0x4bbad0=Reflect[_0x5bca1f(0x1d3)](_0x581af2,_0x1d24b8,_0x5253a4,_0x63b5a0);else{for(var _0x12f37c=_0x581af2[_0x5bca1f(0x218)]-0x1;_0x12f37c>=0x0;_0x12f37c--)(_0x5189ef=_0x581af2[_0x12f37c])&&(_0x4bbad0=(_0x44b814<0x3?_0x5189ef(_0x4bbad0):_0x44b814>0x3?_0x5189ef(_0x1d24b8,_0x5253a4,_0x4bbad0):_0x5189ef(_0x1d24b8,_0x5253a4))||_0x4bbad0);}return _0x44b814>0x3&&_0x4bbad0&&Object[_0x5bca1f(0x193)](_0x1d24b8,_0x5253a4,_0x4bbad0),_0x4bbad0;}const b=_0x26f842(0x1a0),x=_0x26f842(0x14b);let S=class extends n['Disposable']{constructor(_0x400c32,_0x2ae056,_0x401caf,_0x34765f,_0xa2f6f4,_0xa43987,_0x2f1c7f,_0x11ecb5,_0x1cfae8,_0x10d61a){const _0x55f34a=_0x26f842;super(),this[_0x55f34a(0x1bd)]=_0x400c32,this[_0x55f34a(0x15c)]=_0x2ae056,this[_0x55f34a(0x208)]=_0x401caf,this['_localStorageService']=_0x34765f,this[_0x55f34a(0x203)]=_0xa2f6f4,this[_0x55f34a(0x25a)]=_0xa43987,this[_0x55f34a(0x16b)]=_0x2f1c7f,this['_localeService']=_0x11ecb5,this['_logService']=_0x1cfae8,this['_mcpConnectionController']=_0x10d61a,_(this,'_loading$',new o['BehaviorSubject'](!0x1)),_(this,_0x55f34a(0x158),new o[(_0x55f34a(0x159))]({})),_(this,_0x55f34a(0x1d8),new o['BehaviorSubject']({})),_(this,_0x55f34a(0x154),new o[(_0x55f34a(0x159))]('')),_(this,_0x55f34a(0x181),async _0x5e913f=>{const _0x163af4=_0x55f34a;this[_0x163af4(0x1f2)]['next'](!0x0);try{var _0x307e8d,_0x5b3ab6;let _0x333f0d=await this['_validateConfig'](_0x5e913f);if(!_0x333f0d['isValid']){this[_0x163af4(0x25a)][_0x163af4(0x152)]({'type':i[_0x163af4(0x1de)][_0x163af4(0x1e2)],'content':_0x333f0d[_0x163af4(0x201)]||this['_localeService']['t'](_0x163af4(0x1b4))});return;}_0x5e913f['apiKey']?await this[_0x163af4(0x225)][_0x163af4(0x16d)](b,_0x5e913f['apiKey']['trim']()):await this[_0x163af4(0x225)][_0x163af4(0x153)](b),this[_0x163af4(0x154)][_0x163af4(0x1ff)](((_0x307e8d=_0x5e913f[_0x163af4(0x254)])==null?void 0x0:_0x307e8d[_0x163af4(0x24f)]())||''),this['_mcpConnectionController'][_0x163af4(0x147)]({'Authorization':_0x163af4(0x1e0)+((_0x5b3ab6=_0x5e913f[_0x163af4(0x254)])==null?void 0x0:_0x5b3ab6[_0x163af4(0x24f)]())}),this[_0x163af4(0x25a)][_0x163af4(0x152)]({'type':i[_0x163af4(0x1de)][_0x163af4(0x195)],'content':this[_0x163af4(0x1a3)]['t'](_0x163af4(0x245))}),setTimeout(()=>{const _0x4283eb=_0x163af4;this[_0x4283eb(0x203)]['close'](x);},0x320);}catch(_0x2a83ba){this[_0x163af4(0x236)][_0x163af4(0x1a7)](_0x163af4(0x1b0),_0x2a83ba),this[_0x163af4(0x25a)][_0x163af4(0x152)]({'type':i['MessageType'][_0x163af4(0x1e2)],'content':this[_0x163af4(0x1a3)]['t'](_0x163af4(0x1f8))});}finally{this[_0x163af4(0x1f2)]['next'](!0x1);}}),this['_initConfigSync'](),this[_0x55f34a(0x15f)](),this[_0x55f34a(0x183)]();}[_0x26f842(0x1e7)](){const _0x3c292c=_0x26f842;let _0x38d7df=this[_0x3c292c(0x208)][_0x3c292c(0x238)](f);_0x38d7df!=null&&_0x38d7df[_0x3c292c(0x1eb)]&&this['_dialogService'][_0x3c292c(0x256)]({'id':x,'title':{'title':this[_0x3c292c(0x1a3)]['t'](_0x3c292c(0x258))},'children':{'label':_0x3c292c(0x1f9)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x512004=_0x3c292c;this['_dialogService'][_0x512004(0x171)](x);}});}[_0x26f842(0x17d)](){const _0x1e03f2=_0x26f842;return this[_0x1e03f2(0x158)][_0x1e03f2(0x1f7)];}[_0x26f842(0x183)](){const _0x5559fa=_0x26f842;this[_0x5559fa(0x14d)](this[_0x5559fa(0x16b)][_0x5559fa(0x14e)](_0x5559fa(0x1f9),this[_0x5559fa(0x178)]()));}['_createConfigPanelComponent'](){const _0x588fcb=_0x26f842;return(0x0,a[_0x588fcb(0x22c)])(()=>{const _0x270db5=_0x588fcb;var _0x44b081,_0x3283d3,_0x71a3e2;return(0x0,l[_0x270db5(0x243)])(d,{'config':this[_0x270db5(0x1d8)][_0x270db5(0x1f7)],'mcpCoreConfig':this[_0x270db5(0x158)]['value'],'currentApiKey$':this[_0x270db5(0x154)],'onSave':this['_handleConfigSave'],'loading':this[_0x270db5(0x1f2)]['value'],'connectionStatus$':(_0x44b081=this[_0x270db5(0x25f)])==null?void 0x0:_0x44b081[_0x270db5(0x17a)],'connectionError$':(_0x3283d3=this[_0x270db5(0x25f)])==null?void 0x0:_0x3283d3[_0x270db5(0x166)],'currentSessionId$':(_0x71a3e2=this[_0x270db5(0x25f)])==null?void 0x0:_0x71a3e2[_0x270db5(0x1e6)]});},this['_injector']);}['_initConfigSync'](){const _0xa536af=_0x26f842;this[_0xa536af(0x14d)](this[_0xa536af(0x208)][_0xa536af(0x180)](r[_0xa536af(0x1a4)])[_0xa536af(0x18e)](_0x378c00=>{const _0x24e7f4=_0xa536af;this[_0x24e7f4(0x158)]['next'](_0x378c00||{});}));let _0xd6e444=this[_0xa536af(0x208)]['getConfig'](r[_0xa536af(0x1a4)]);this[_0xa536af(0x158)][_0xa536af(0x1ff)](_0xd6e444||{}),this['disposeWithMe'](this[_0xa536af(0x208)][_0xa536af(0x180)](f)[_0xa536af(0x18e)](_0x4e0b08=>{const _0x1bee32=_0xa536af;this[_0x1bee32(0x1d8)]['next'](_0x4e0b08||{});}));let _0x576159=this[_0xa536af(0x208)][_0xa536af(0x238)](f);this[_0xa536af(0x1d8)][_0xa536af(0x1ff)](_0x576159||{});}async['_loadStoredApiKey'](){const _0x524891=_0x26f842;let _0xcc7f53=this[_0x524891(0x208)]['getConfig'](f);if(!(_0xcc7f53!=null&&_0xcc7f53[_0x524891(0x1eb)]))return;let _0x21adf5=await this[_0x524891(0x225)][_0x524891(0x174)](b);_0x21adf5&&(this[_0x524891(0x25f)][_0x524891(0x147)]({'Authorization':'Bearer\x20'+_0x21adf5}),this[_0x524891(0x154)][_0x524891(0x1ff)](_0x21adf5));}async['_validateConfig'](_0x22f0ff){const _0x4e65d5=_0x26f842;if(!_0x22f0ff[_0x4e65d5(0x254)]||_0x22f0ff[_0x4e65d5(0x254)]['trim']()[_0x4e65d5(0x218)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4e65d5(0x1a3)]['t'](_0x4e65d5(0x248))};if(_0x22f0ff['apiKey'][_0x4e65d5(0x24f)]()[_0x4e65d5(0x218)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4e65d5(0x1a3)]['t'](_0x4e65d5(0x222))};try{let _0x54db8e=await this['_injector'][_0x4e65d5(0x165)](r['MCPConnectionController'])[_0x4e65d5(0x177)](_0x22f0ff[_0x4e65d5(0x254)][_0x4e65d5(0x24f)]());return _0x54db8e[_0x4e65d5(0x1f4)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x54db8e[_0x4e65d5(0x1a7)]||this[_0x4e65d5(0x1a3)]['t'](_0x4e65d5(0x188))};}catch(_0x2f8ae0){return console[_0x4e65d5(0x24d)](_0x4e65d5(0x182),_0x2f8ae0),{'isValid':!0x0};}}};S=y([v(0x0,(0x0,n[_0x26f842(0x1b9)])(n[_0x26f842(0x1af)])),v(0x1,a['IUIPartsService']),v(0x2,n[_0x26f842(0x18d)]),v(0x3,n[_0x26f842(0x20c)]),v(0x4,a[_0x26f842(0x1e3)]),v(0x5,a[_0x26f842(0x1b6)]),v(0x6,(0x0,n[_0x26f842(0x1b9)])(a[_0x26f842(0x24c)])),v(0x7,(0x0,n[_0x26f842(0x1b9)])(n['LocaleService'])),v(0x8,n[_0x26f842(0x1ae)]),v(0x9,(0x0,n[_0x26f842(0x1b9)])(r[_0x26f842(0x1e1)]))],S);const C={'id':_0x26f842(0x173),'type':n[_0x26f842(0x239)]['COMMAND'],'handler':async(_0x43cda9,_0x5cfc70)=>(_0x43cda9[_0x26f842(0x165)](S)[_0x26f842(0x1e7)](),!0x0)};function w(_0x24511e,_0x474624){const _0x12395f=_0x26f842;switch(_0x24511e){case r[_0x12395f(0x1cd)][_0x12395f(0x15b)]:return _0x12395f(0x1c4);case r[_0x12395f(0x1cd)][_0x12395f(0x250)]:return _0x12395f(0x220);case r['MCPConnectionStatus'][_0x12395f(0x21b)]:return'mcpStatus.connected';case r[_0x12395f(0x1cd)]['FAILED']:switch(_0x474624){case r[_0x12395f(0x179)][_0x12395f(0x1fd)]:return _0x12395f(0x1b2);case r[_0x12395f(0x179)][_0x12395f(0x1c7)]:return _0x12395f(0x189);case r[_0x12395f(0x179)][_0x12395f(0x169)]:return _0x12395f(0x233);case r['MCPConnectionError'][_0x12395f(0x209)]:return _0x12395f(0x1b1);default:return _0x12395f(0x1f5);}case r[_0x12395f(0x1cd)][_0x12395f(0x242)]:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function T(_0x2b2558,_0x37871c,_0xfeafce,_0x5a1036=!0x0){const _0x146bfe=_0x26f842;let _0x486ab8=w(_0x2b2558,_0x37871c),_0x1f9f31=_0xfeafce['t'](_0x486ab8);return _0x5a1036?_0x2b2558===r['MCPConnectionStatus'][_0x146bfe(0x15b)]&&_0x37871c===r['MCPConnectionError'][_0x146bfe(0x1fd)]?_0x1f9f31+_0x146bfe(0x227)+_0xfeafce['t'](_0x146bfe(0x21c)):_0x2b2558===r[_0x146bfe(0x1cd)][_0x146bfe(0x21b)]?''+_0x1f9f31:_0x2b2558===r[_0x146bfe(0x1cd)][_0x146bfe(0x15b)]||_0x2b2558===r[_0x146bfe(0x1cd)]['FAILED']?_0x1f9f31+'\x20-\x20'+_0xfeafce['t'](_0x146bfe(0x185)):_0x1f9f31:_0x1f9f31;}function _0x2528(){const _0x397b62=['UniverMCPPlugin','NONE','clsx','span','Configuration\x20Notes:','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.description','mcp.apiKey','showStatus','mcpServerUrl','_localeService','MCP_PLUGIN_CONFIG_KEY','univer.plus','MCPStatusDisplay','error','_initializeMenus','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','MenuIcon','has','pluginName','ILogService','Injector','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpStatus.maxRetriesExceeded','mcpStatus.unauthorized','mcpConfig.authorizationDescription','mcpConfig.validation.invalidConfig','LocaleService','IMessageService','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','call','Inject','default','MCP_UI_PLUGIN','mcpConfig.note1','_injector','_initializeCommands','getOwnPropertyDescriptor','mcpConfig.configStep3','noopener\x20noreferrer','univer.ai','mcpConfig.configStep2','mcpStatus.disconnected','@univerjs-pro/mcp-ui','mcpConfig.save','SESSION_ID_OCCUPIED','BUTTON','univer-size-2\x20univer-rounded-full','div','https://mcp.univer.ai/mcp/?univer_session_id=','Disposable','MCPConnectionStatus','merge','mcpConfig.connectionError.unauthorized','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','465032LXJDiK','text','decorate','258TuTvyP','_connectionController','42mqPTxo','_commandService','_config$','mcpConfig.apiApplyInfo.description','mcpConfig.configStepTitle','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-flex\x20univer-items-center\x20univer-gap-2','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','MessageType','_handleConfigure','Bearer\x20','MCPConnectionController','Error','IDialogService','string','_initAutoConnect','sessionId$','showConfigPanel','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','useDependency','univer-cursor-pointer\x20hover:univer-opacity-80','showDeveloperTools','CheckMarkIcon','MCPUIMenuController','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mergeMenu','mcpConfig.connectionStatus.disconnected','MenuItemType','_loading$','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','isValid','mcpStatus.failed','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','value','mcpConfig.configError','MCPConfigPanel','mcpConfig.apiKey','add','useState','UNAUTHORIZED','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','next','univer-text-yellow-500','errorMessage','2956369kPAxIO','_dialogService','push','HelpIcon','univer-text-blue-600','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_configService','MAX_RETRIES_EXCEEDED','HEADER_MENU','stringify','ILocalStorageService','useCallback','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-space-y-4','3440810XdKkhz','constructor','CloseIcon','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-bg-green-500','WebSocketService','139143HSLEYL','length','registerCommand','IMenuManagerService','CONNECTED','mcpStatus.clickToConfigure','9AvRZYD','univer-shrink-0\x20univer-text-red-500','42mGRzTz','mcpStatus.connecting','132GEhkOR','mcpConfig.validation.apiKeyTooShort','object','mcpConfig.configParameters','_localStorageService','version','\x20-\x20','univer-font-medium','538285dptyzC','mcpConfig.connectionStatus.failed','univer-flex\x20univer-flex-wrap\x20univer-gap-2','connectInjector','univer-flex\x20univer-items-start\x20univer-gap-3','univer-min-w-0\x20univer-flex-1','pre','_menuManagerService','mcpConfig.apiKeyPlaceholder','<SESSION_ID>','mcpStatus.networkError','_config','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','_logService','mcpConfig.connectionInfo','getConfig','CommandType','8joEfQq','OffLineIcon','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-shrink-0\x20univer-text-blue-500','univer-text-xs\x20univer-text-gray-500','forEach','univer-space-y-3','264422oWKFcn','RETRYING','jsx','Button','mcpConfig.configSaved','UniverMCPUIPlugin','univer-text-gray-500','mcpConfig.validation.apiKeyRequired','mcpConfig.configStep1','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','symbol','ComponentManager','warn','univer-text-gray-400','trim','CONNECTING','ISocketService','univer-space-y-5','univer-flex\x20univer-items-start\x20univer-gap-2','apiKey','includes','open','label','mcpConfig.title','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_messageService','univer-bg-gray-500','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.connectionError.networkError','_mcpConnectionController','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','__setCustomHeaders','univer-text-red-500','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_initStatusComponent','mcp-config-dialog','univer-mr-2\x20univer-flex\x20univer-text-xl','disposeWithMe','register','univer-flex-1','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-space-y-2','show','removeItem','_apiKey$','1.0.0-alpha.1','off','mcpConfig.connectionStatus.connected','_mcpCoreConfig$','BehaviorSubject','ICommandService','DISCONNECTED','_uiPartsService','mcpConfig.saving','enUS','_loadStoredApiKey','useObservable','bottom','OnLineIcon','Input','univer-flex\x20univer-items-center','get','connectionError$','MCPConfigUIController','button','NETWORK_ERROR','jsxs','_componentManager','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','setItem','_blank','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','close','univer-bg-blue-500','mcp-ui.command.openConfigPanel','getItem','mcpConfig.connectionStatus.connecting','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','validateApiKey','_createConfigPanelComponent','MCPConnectionError','connectionStatus$','enableAutoConnect','1QdILJv','getCurrentConfig','function','mcpConfig.apiApplyInfo.univerAiLabel','subscribeConfigValue$','_handleConfigSave','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_registerComponent','registerComponent','mcpStatus.clickToConnect','univer-bg-red-500','BuiltInUIPart','mcpConfig.validation.invalidApiKey','mcpStatus.sessionOccupied','toStringTag','mcpConfig.apiApplyInfo.title','onStarting','IConfigService','subscribe','Authorization:','Plugin','32270EptsEU','mcpConfig.connectionStatus.retrying','defineProperty','prototype','Success','univer-size-4','FAILED','mcpConfig.connectionError.maxRetriesExceeded'];_0x2528=function(){return _0x397b62;};return _0x2528();}function E(_0x4e8cea){const _0x580d86=_0x26f842;switch(_0x4e8cea){case r['MCPConnectionStatus'][_0x580d86(0x21b)]:return'univer-text-green-500';case r['MCPConnectionStatus']['CONNECTING']:case r[_0x580d86(0x1cd)]['RETRYING']:return _0x580d86(0x200);case r[_0x580d86(0x1cd)][_0x580d86(0x197)]:case r['MCPConnectionStatus'][_0x580d86(0x15b)]:return _0x580d86(0x148);default:return _0x580d86(0x247);}}function D(_0x10116e){const _0x245df1=_0x26f842;let {status$:_0x425027,error$:_0x5f5bd4,onConfigure:_0x1c19a0,showClickable:_0x4ff345=!0x0}=_0x10116e,_0x5af774=(0x0,a[_0x245df1(0x160)])(_0x425027,r[_0x245df1(0x1cd)][_0x245df1(0x15b)]),_0x2b7d83=(0x0,a[_0x245df1(0x160)])(_0x5f5bd4,r[_0x245df1(0x179)]['NONE']),_0x122196=(0x0,a['useDependency'])(n['LocaleService']),_0x565870=_0x5af774===r['MCPConnectionStatus'][_0x245df1(0x21b)];_0x5af774===r['MCPConnectionStatus'][_0x245df1(0x250)]||r['MCPConnectionStatus'][_0x245df1(0x242)];let _0x10238e=_0x122196['t'](w(_0x5af774,_0x2b7d83)),_0x30e6b6=T(_0x5af774,_0x2b7d83,_0x122196,_0x4ff345),_0x192f47=E(_0x5af774),_0x2a1e2d=_0x565870?(0x0,l[_0x245df1(0x243)])(s[_0x245df1(0x162)],{}):(0x0,l[_0x245df1(0x243)])(s[_0x245df1(0x23b)],{}),_0x5224e4=(0x0,c[_0x245df1(0x20d)])(()=>{_0x4ff345&&_0x1c19a0&&_0x1c19a0();},[_0x4ff345,_0x1c19a0]);function _0x3a5d60(){const _0x156051=_0x245df1;return(0x0,l[_0x156051(0x16a)])('div',{'className':(0x0,i[_0x156051(0x19b)])(_0x156051(0x164),_0x4ff345&&_0x1c19a0&&_0x156051(0x1ea)),'role':'button','onClick':_0x4ff345&&_0x1c19a0?_0x5224e4:void 0x0,'children':[(0x0,l[_0x156051(0x243)])(_0x156051(0x1ca),{'className':(0x0,i[_0x156051(0x19b)])(_0x156051(0x14c),_0x192f47),'children':_0x2a1e2d}),(0x0,l[_0x156051(0x243)])(_0x156051(0x1ca),{'className':_0x156051(0x259),'children':_0x10238e})]});}return(0x0,l['jsx'])(i['Tooltip'],{'title':_0x30e6b6,'placement':_0x245df1(0x161),'children':_0x3a5d60()});}let O=class extends n[_0x26f842(0x1cc)]{constructor(_0x50da42,_0x4b6b90,_0x593296,_0x1fc6f8){const _0x6a2c74=_0x26f842;super(),this[_0x6a2c74(0x1bd)]=_0x50da42,this[_0x6a2c74(0x1d5)]=_0x4b6b90,this[_0x6a2c74(0x15c)]=_0x593296,this[_0x6a2c74(0x208)]=_0x1fc6f8,this[_0x6a2c74(0x1e5)](),this[_0x6a2c74(0x14a)]();}[_0x26f842(0x1e5)](){const _0xd02120=_0x26f842;let _0x38e002=this[_0xd02120(0x208)][_0xd02120(0x238)](f);_0x38e002!=null&&_0x38e002[_0xd02120(0x1eb)]&&(this[_0xd02120(0x1d5)][_0xd02120(0x17b)]=!0x1);}[_0x26f842(0x14a)](){const _0x5bd1cf=_0x26f842;let _0x3cc435=this[_0x5bd1cf(0x208)][_0x5bd1cf(0x238)](f);(_0x3cc435==null?void 0x0:_0x3cc435[_0x5bd1cf(0x1a1)])!==!0x1&&this[_0x5bd1cf(0x14d)](this[_0x5bd1cf(0x15c)][_0x5bd1cf(0x184)](a[_0x5bd1cf(0x187)][_0x5bd1cf(0x20a)],()=>{const _0x24f048=_0x5bd1cf;var _0x2bf4a3;return(0x0,a[_0x24f048(0x22c)])(k({'status$':this[_0x24f048(0x1d5)][_0x24f048(0x17a)],'error$':this[_0x24f048(0x1d5)][_0x24f048(0x166)],'onConfigure':()=>this[_0x24f048(0x1df)](),'showClickable':(_0x2bf4a3=_0x3cc435==null?void 0x0:_0x3cc435[_0x24f048(0x1eb)])==null?!0x1:_0x2bf4a3}),this[_0x24f048(0x1bd)]);}));}[_0x26f842(0x1df)](){const _0x3bed9c=_0x26f842;this['_injector'][_0x3bed9c(0x165)](S)['showConfigPanel']();}};function _0x3e41(_0x5b9284,_0x475383){_0x5b9284=_0x5b9284-0x146;const _0x25281f=_0x2528();let _0x3e41bf=_0x25281f[_0x5b9284];return _0x3e41bf;}O=y([v(0x0,(0x0,n[_0x26f842(0x1b9)])(n[_0x26f842(0x1af)])),v(0x1,(0x0,n[_0x26f842(0x1b9)])(r['MCPConnectionController'])),v(0x2,a['IUIPartsService']),v(0x3,n['IConfigService'])],O);function k(_0x4ba266){let {status$:_0x4cc6ea,error$:_0x107ac0,onConfigure:_0x36e8d1,showClickable:_0x56f64b}=_0x4ba266;return function(){const _0x563667=_0x3e41;return(0x0,l[_0x563667(0x243)])(D,{'status$':_0x4cc6ea,'error$':_0x107ac0,'onConfigure':_0x36e8d1,'showClickable':_0x56f64b});};}function A(_0x2e1828){const _0xaaf57b=_0x26f842;return{'id':C['id'],'type':a[_0xaaf57b(0x1f1)][_0xaaf57b(0x1c8)],'icon':_0xaaf57b(0x1ab),'title':_0xaaf57b(0x258),'tooltip':_0xaaf57b(0x258)};}const j={[a['RibbonStartGroup']['OTHERS']]:{[C['id']]:{'order':0xa,'menuItemFactory':A}}};let M=class extends n[_0x26f842(0x1cc)]{constructor(_0x2ee27f,_0x134938){const _0x5e83c1=_0x26f842;super(),this['_commandService']=_0x2ee27f,this[_0x5e83c1(0x230)]=_0x134938,this[_0x5e83c1(0x1be)](),this[_0x5e83c1(0x1a8)]();}['_initializeCommands'](){const _0x39a70b=_0x26f842;[C][_0x39a70b(0x23f)](_0x5a314d=>{const _0x3992de=_0x39a70b;this['disposeWithMe'](this[_0x3992de(0x1d7)][_0x3992de(0x219)](_0x5a314d));});}['_initializeMenus'](){const _0x1f735c=_0x26f842;this['_menuManagerService'][_0x1f735c(0x1ef)](j);}};M=y([v(0x0,n[_0x26f842(0x15a)]),v(0x1,a[_0x26f842(0x21a)])],M);var N=_0x26f842(0x1c5),P=_0x26f842(0x155);let F=class extends n[_0x26f842(0x190)]{constructor(_0xaa5f05=p,_0x4ebf25,_0x2b383c,_0x39a5a1,_0x5e522f,_0x1c232c){const _0x6949d2=_0x26f842;super(),this[_0x6949d2(0x234)]=_0xaa5f05,this[_0x6949d2(0x1bd)]=_0x4ebf25,this[_0x6949d2(0x208)]=_0x2b383c,this['_uiPartsService']=_0x39a5a1,this[_0x6949d2(0x225)]=_0x5e522f,this[_0x6949d2(0x1a3)]=_0x1c232c;let {..._0xaa9565}=(0x0,n[_0x6949d2(0x1ce)])({},p,this[_0x6949d2(0x234)]);this[_0x6949d2(0x208)]['setConfig'](f,_0xaa9565);}async[_0x26f842(0x18c)](){const _0x446a31=_0x26f842;let _0x4e023d=[[O],[S],[M]];this[_0x446a31(0x1bd)][_0x446a31(0x1ac)](u[_0x446a31(0x251)])||_0x4e023d[_0x446a31(0x204)]([u['ISocketService'],{'useClass':u[_0x446a31(0x216)]}]),_0x4e023d[_0x446a31(0x23f)](_0x396e10=>this[_0x446a31(0x1bd)][_0x446a31(0x1fb)](_0x396e10)),this[_0x446a31(0x1bd)][_0x446a31(0x165)](O),this[_0x446a31(0x1bd)][_0x446a31(0x165)](S),this[_0x446a31(0x1bd)][_0x446a31(0x165)](M);}};_(F,_0x26f842(0x1ad),_0x26f842(0x1bb)),_(F,'packageName',N),_(F,_0x26f842(0x226),P),F=y([(0x0,n['DependentOn'])(r[_0x26f842(0x199)]),v(0x1,(0x0,n[_0x26f842(0x1b9)])(n[_0x26f842(0x1af)])),v(0x2,n[_0x26f842(0x18d)]),v(0x3,a['IUIPartsService']),v(0x4,n[_0x26f842(0x20c)]),v(0x5,(0x0,n[_0x26f842(0x1b9)])(n[_0x26f842(0x1b5)]))],F),exports['MCPConfigPanel']=d,Object['defineProperty'](exports,_0x26f842(0x167),{'enumerable':!0x0,'get':function(){return S;}}),Object[_0x26f842(0x193)](exports,'MCPConnectionUIController',{'enumerable':!0x0,'get':function(){return O;}}),exports[_0x26f842(0x1a6)]=D,Object[_0x26f842(0x193)](exports,_0x26f842(0x1ed),{'enumerable':!0x0,'get':function(){return M;}}),exports['OpenMCPConfigPanelCommand']=C,Object[_0x26f842(0x193)](exports,_0x26f842(0x246),{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x26f842(0x15e)]=e,exports['zhCN']=t;
1
+ const _0x138e5e=_0x455a;(function(_0x145ad9,_0x39201f){const _0x5bb0b3=_0x455a,_0x51c5be=_0x145ad9();while(!![]){try{const _0x102e56=parseInt(_0x5bb0b3(0x145))/0x1+-parseInt(_0x5bb0b3(0x1b4))/0x2*(parseInt(_0x5bb0b3(0x117))/0x3)+-parseInt(_0x5bb0b3(0x17e))/0x4+parseInt(_0x5bb0b3(0x1d1))/0x5+parseInt(_0x5bb0b3(0x196))/0x6+parseInt(_0x5bb0b3(0x17a))/0x7*(parseInt(_0x5bb0b3(0x1ec))/0x8)+-parseInt(_0x5bb0b3(0x130))/0x9;if(_0x102e56===_0x39201f)break;else _0x51c5be['push'](_0x51c5be['shift']());}catch(_0x21621a){_0x51c5be['push'](_0x51c5be['shift']());}}}(_0xc702,0xe6ff2),Object[_0x138e5e(0x16a)](exports,Symbol['toStringTag'],{'value':_0x138e5e(0x1c4)}));const e=require('./locale/en-US.js'),t=require('./locale/zh-CN.js');let n=require('@univerjs/core'),r=require('@univerjs-pro/mcp'),i=require('@univerjs/design'),a=require('@univerjs/ui'),o=require('rxjs'),s=require('@univerjs/icons'),c=require('react'),l=require('react/jsx-runtime'),u=require('@univerjs/network');function d(_0xbdc80e){const _0x2ccf62=_0x138e5e;var _0x8e39c4,_0x1d9436;let {mcpCoreConfig:_0x44c6f6,onSave:_0x141112,loading:_0x5b2ed0=!0x1,config:_0x3f6eac,connectionStatus$:_0xedd980,connectionError$:_0x5b19c9,currentApiKey$:_0x22ac79,currentSessionId$:_0x1685b3}=_0xbdc80e,_0x2211ab=(0x0,a['useDependency'])(n[_0x2ccf62(0x155)]),_0x548cd3=(0x0,a[_0x2ccf62(0x140)])(_0xedd980,r[_0x2ccf62(0x1ef)][_0x2ccf62(0x1be)]),_0x5ac024=(0x0,a['useObservable'])(_0x5b19c9,r[_0x2ccf62(0x1a2)][_0x2ccf62(0x194)]),_0x41a797=(0x0,a[_0x2ccf62(0x140)])(_0x1685b3,''),[_0x39e287,_0x16a77b]=(0x0,c['useState'])((0x0,a[_0x2ccf62(0x140)])(_0x22ac79,'')||''),_0x869418=_0x3f6eac[_0x2ccf62(0x134)]&&_0x44c6f6['mcpServerUrl']&&(_0x44c6f6[_0x2ccf62(0x1f8)]['includes'](_0x2ccf62(0x1f0))||_0x44c6f6[_0x2ccf62(0x1f8)][_0x2ccf62(0x178)](_0x2ccf62(0x13e))),_0x57c0bb=(_0x8e39c4=_0x44c6f6[_0x2ccf62(0x1f8)])==null?void 0x0:_0x8e39c4[_0x2ccf62(0x178)](_0x2ccf62(0x1f0)),_0x1b9d90=(_0x1d9436=_0x44c6f6[_0x2ccf62(0x1f8)])==null?void 0x0:_0x1d9436[_0x2ccf62(0x178)](_0x2ccf62(0x13e)),_0x3303b3=_0x57c0bb?'https://console.univer.plus':_0x2ccf62(0x163),_0x1ad318=_0x3f6eac[_0x2ccf62(0x134)]&&(_0x57c0bb||_0x1b9d90),[_0x1f96e2,_0x741c28]=(0x0,c['useState'])(!_0x39e287[_0x2ccf62(0x1c6)]()),_0x6c36ea=(_0x40e8b9,_0x307184)=>{const _0x5a6c39=_0x2ccf62;if(_0x307184===r[_0x5a6c39(0x1a2)][_0x5a6c39(0x132)])return _0x5a6c39(0x14e);switch(_0x40e8b9){case r['MCPConnectionStatus'][_0x5a6c39(0x191)]:return _0x5a6c39(0x193);case r['MCPConnectionStatus'][_0x5a6c39(0x133)]:case r['MCPConnectionStatus'][_0x5a6c39(0x1c5)]:return _0x5a6c39(0x18a);case r[_0x5a6c39(0x1ef)][_0x5a6c39(0x199)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x25248f=(_0x450a37,_0x48bc50)=>{const _0x3770a3=_0x2ccf62;if(_0x48bc50===r[_0x3770a3(0x1a2)]['UNAUTHORIZED'])return _0x3770a3(0x1d7);switch(_0x450a37){case r['MCPConnectionStatus']['CONNECTED']:return _0x3770a3(0x1de);case r[_0x3770a3(0x1ef)][_0x3770a3(0x133)]:case r['MCPConnectionStatus']['RETRYING']:return'univer-bg-blue-500';case r[_0x3770a3(0x1ef)][_0x3770a3(0x199)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x5b1870=_0x48c30d=>{const _0x21762b=_0x2ccf62;switch(_0x48c30d){case r[_0x21762b(0x1ef)][_0x21762b(0x191)]:return _0x2211ab['t'](_0x21762b(0x1ac));case r[_0x21762b(0x1ef)][_0x21762b(0x133)]:return _0x2211ab['t'](_0x21762b(0x137));case r[_0x21762b(0x1ef)][_0x21762b(0x199)]:return _0x2211ab['t'](_0x21762b(0x1fa));case r['MCPConnectionStatus'][_0x21762b(0x1c5)]:return _0x2211ab['t'](_0x21762b(0x141));default:return _0x2211ab['t'](_0x21762b(0x18e));}},_0x309a61=_0x1ea322=>{const _0x408d51=_0x2ccf62;switch(_0x1ea322){case r[_0x408d51(0x1a2)][_0x408d51(0x132)]:return _0x2211ab['t'](_0x408d51(0x1ce));case r[_0x408d51(0x1a2)][_0x408d51(0x1a8)]:return _0x2211ab['t'](_0x408d51(0x17c));case r[_0x408d51(0x1a2)][_0x408d51(0x12a)]:return _0x2211ab['t'](_0x408d51(0x166));case r[_0x408d51(0x1a2)][_0x408d51(0x165)]:return _0x2211ab['t'](_0x408d51(0x136));default:return'';}},_0x583410=(0x0,c[_0x2ccf62(0x1d9)])(()=>{_0x141112({..._0x44c6f6,'apiKey':_0x39e287['trim'](),'enableAuth':!0x0});},[_0x44c6f6,_0x39e287,!0x0,_0x141112]),_0x5c1a0a=_0x39e287[_0x2ccf62(0x1c6)]()['length']>0x0;return(0x0,l[_0x2ccf62(0x198)])('div',{'className':_0x2ccf62(0x1a6),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x1ae),'children':(0x0,l[_0x2ccf62(0x198)])('div',{'className':_0x2ccf62(0x15f),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,l['jsx'])(_0x2ccf62(0x164),{'className':'univer-text-white','children':'⚙'})}),(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'children':(0x0,l[_0x2ccf62(0x15b)])('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x2211ab['t'](_0x2ccf62(0x1f9))})})]})}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':(0x0,i[_0x2ccf62(0x210)])('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x6c36ea(_0x548cd3,_0x5ac024)),'children':(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x12e),'children':[(0x0,l[_0x2ccf62(0x15b)])('div',{'className':(0x0,i[_0x2ccf62(0x210)])('univer-size-2\x20univer-rounded-full',_0x25248f(_0x548cd3,_0x5ac024))}),(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x212),'children':_0x5b1870(_0x548cd3)})]})}),_0x5ac024!==r['MCPConnectionError'][_0x2ccf62(0x194)]&&(_0x548cd3===r[_0x2ccf62(0x1ef)]['FAILED']||_0x5ac024===r[_0x2ccf62(0x1a2)]['UNAUTHORIZED'])&&(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':(0x0,l['jsxs'])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x17f),'children':[(0x0,l['jsx'])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x201),'children':'⚠️'}),(0x0,l[_0x2ccf62(0x15b)])('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x309a61(_0x5ac024)})]})})]}),(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x16d),'children':[(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x1d6),'children':[(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1a4),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[(0x0,l['jsx'])('span',{'children':'🔑'}),'\x20',_0x2211ab['t']('mcpConfig.apiKey'),(0x0,l['jsx'])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x192),'children':'*'}),_0x869418&&(0x0,l[_0x2ccf62(0x15b)])('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':_0x2211ab['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x741c28(!0x0),'children':(0x0,l['jsx'])(s['HelpIcon'],{})})]}),(0x0,l[_0x2ccf62(0x15b)])(i[_0x2ccf62(0x187)],{'type':_0x2ccf62(0x123),'placeholder':_0x2211ab['t'](_0x2ccf62(0x147)),'value':_0x39e287,'disabled':_0x5b2ed0,'autoComplete':'off','onChange':_0x16a77b}),(0x0,l[_0x2ccf62(0x15b)])('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x2211ab['t']('mcpConfig.apiKeyHint')})]}),_0x869418&&_0x1f96e2&&(0x0,l[_0x2ccf62(0x198)])('div',{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[(0x0,l[_0x2ccf62(0x15b)])('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':'button','onClick':()=>_0x741c28(!0x1),'children':(0x0,l['jsx'])(s[_0x2ccf62(0x1f4)],{'className':_0x2ccf62(0x1da)})}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x1c1),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x11a),'children':'🚀'})}),(0x0,l[_0x2ccf62(0x198)])('div',{'className':_0x2ccf62(0x1e9),'children':[(0x0,l[_0x2ccf62(0x15b)])('h4',{'className':_0x2ccf62(0x11d),'children':_0x2211ab['t'](_0x2ccf62(0x1e1))}),(0x0,l[_0x2ccf62(0x15b)])('p',{'className':_0x2ccf62(0x195),'children':_0x2211ab['t'](_0x2ccf62(0x11b))}),(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x16e),'children':_0x1ad318&&(0x0,l[_0x2ccf62(0x198)])('a',{'className':_0x2ccf62(0x1ab),'href':_0x3303b3,'target':_0x2ccf62(0x14d),'rel':_0x2ccf62(0x120),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x164),{'children':'🤖'}),_0x2211ab['t'](_0x2ccf62(0x1b2)),(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x18f),'children':'↗'})]})}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x158),'children':['✨','\x20',_0x2211ab['t'](_0x2ccf62(0x1cf))]})]})]})]}),_0x3f6eac[_0x2ccf62(0x134)]&&(0x0,l[_0x2ccf62(0x198)])('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[(0x0,l[_0x2ccf62(0x198)])('h4',{'className':_0x2ccf62(0x1cb),'children':[(0x0,l['jsx'])(_0x2ccf62(0x164),{'children':'🔗'}),'\x20',_0x2211ab['t']('mcpConfig.connectionInfo')]}),(0x0,l['jsxs'])('div',{'className':'univer-space-y-4','children':[(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x138),'children':[(0x0,l['jsx'])('p',{'className':_0x2ccf62(0x15d),'children':_0x2211ab['t'](_0x2ccf62(0x1ba))}),(0x0,l['jsxs'])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x1d6),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2211ab['t'](_0x2ccf62(0x167))}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[(0x0,l[_0x2ccf62(0x198)])('div',{'className':_0x2ccf62(0x12e),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x19b),'children':'1'}),_0x2211ab['t'](_0x2ccf62(0x1b1))]}),(0x0,l['jsxs'])('div',{'className':_0x2ccf62(0x12e),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x19b),'children':'2'}),_0x2211ab['t'](_0x2ccf62(0x1a1))]}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x12e),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x19b),'children':'3'}),_0x2211ab['t'](_0x2ccf62(0x19a))]})]})]})]}),(0x0,l['jsxs'])(_0x2ccf62(0x1bb),{'className':'univer-space-y-2','children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x19d),'children':_0x2ccf62(0x16c)}),(0x0,l[_0x2ccf62(0x15b)])('div',{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x204),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x2ccf62(0x179)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x41a797||_0x2ccf62(0x1a0)),'type':_0x2ccf62(0x181),'headers':{'Authorization':_0x2ccf62(0x13c)+(_0x39e287||_0x2ccf62(0x131))}}}},null,0x2)})})]}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':'univer-space-y-3','children':[(0x0,l[_0x2ccf62(0x15b)])('div',{'className':_0x2ccf62(0x19d),'children':_0x2211ab['t']('mcpConfig.configParameters')}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x1d6),'children':[(0x0,l['jsxs'])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x159),'children':[(0x0,l['jsx'])(_0x2ccf62(0x1bb),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,l[_0x2ccf62(0x198)])('div',{'className':_0x2ccf62(0x1fb),'children':[(0x0,l[_0x2ccf62(0x15b)])('div',{'className':_0x2ccf62(0x1ad),'children':_0x2ccf62(0x15e)}),(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x14a),'children':_0x2211ab['t']('mcpConfig.sessionIdDescription')})]})]}),(0x0,l['jsxs'])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x159),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x1fb),'children':[(0x0,l['jsx'])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x1ad),'children':_0x2ccf62(0x208)}),(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x14a),'children':_0x2211ab['t'](_0x2ccf62(0x177))})]})]})]})]})]})]}),(0x0,l[_0x2ccf62(0x15b)])(i[_0x2ccf62(0x19c)],{'onClick':_0x583410,'disabled':!_0x5c1a0a||_0x5b2ed0,'className':_0x2ccf62(0x118),'children':_0x5b2ed0?(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x164),{'className':_0x2ccf62(0x12e),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x164),{'children':'⟲'}),_0x2211ab['t']('mcpConfig.saving')]}):(0x0,l[_0x2ccf62(0x198)])('span',{'className':_0x2ccf62(0x12e),'children':[(0x0,l['jsx'])(s[_0x2ccf62(0x1d4)],{}),_0x2211ab['t']('mcpConfig.save')]})}),(0x0,l['jsx'])('div',{'className':_0x2ccf62(0x128),'children':(0x0,l['jsxs'])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x1e2),'children':[(0x0,l['jsx'])(_0x2ccf62(0x164),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),(0x0,l['jsxs'])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x205),'children':[(0x0,l[_0x2ccf62(0x15b)])(_0x2ccf62(0x1bb),{'className':_0x2ccf62(0x189),'children':'Configuration\x20Notes:'}),(0x0,l[_0x2ccf62(0x198)])(_0x2ccf62(0x1bb),{'children':['•',_0x2211ab['t'](_0x2ccf62(0x1ee))]}),(0x0,l[_0x2ccf62(0x198)])('div',{'children':['•',_0x2211ab['t'](_0x2ccf62(0x203))]})]})]})})]})})]});}const f=_0x138e5e(0x1bf),p={'showDeveloperTools':!0x1,'showStatus':!0x0};function m(_0x6513d){'@babel/helpers - typeof';const _0x5a875b=_0x138e5e;return m=typeof Symbol==_0x5a875b(0x1a7)&&typeof Symbol['iterator']==_0x5a875b(0x14b)?function(_0x1f881d){return typeof _0x1f881d;}:function(_0x4a57f4){const _0x5b7b0d=_0x5a875b;return _0x4a57f4&&typeof Symbol=='function'&&_0x4a57f4['constructor']===Symbol&&_0x4a57f4!==Symbol[_0x5b7b0d(0x1bc)]?_0x5b7b0d(0x14b):typeof _0x4a57f4;},m(_0x6513d);}function h(_0xe5a9c5,_0xd6123c){const _0xb5ce31=_0x138e5e;if(m(_0xe5a9c5)!='object'||!_0xe5a9c5)return _0xe5a9c5;var _0x3e2559=_0xe5a9c5[Symbol[_0xb5ce31(0x1b6)]];if(_0x3e2559!==void 0x0){var _0x343a3c=_0x3e2559['call'](_0xe5a9c5,_0xd6123c||_0xb5ce31(0x20b));if(m(_0x343a3c)!='object')return _0x343a3c;throw TypeError(_0xb5ce31(0x1e5));}return(_0xd6123c===_0xb5ce31(0x20e)?String:Number)(_0xe5a9c5);}function g(_0x1a2369){const _0x479da3=_0x138e5e;var _0x1c1cae=h(_0x1a2369,_0x479da3(0x20e));return m(_0x1c1cae)=='symbol'?_0x1c1cae:_0x1c1cae+'';}function _(_0x39cb25,_0x5d655e,_0x536b71){return(_0x5d655e=g(_0x5d655e))in _0x39cb25?Object['defineProperty'](_0x39cb25,_0x5d655e,{'value':_0x536b71,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x39cb25[_0x5d655e]=_0x536b71,_0x39cb25;}function v(_0xf03e1c,_0xe348b5){return function(_0x26574c,_0x4bbb89){_0xe348b5(_0x26574c,_0x4bbb89,_0xf03e1c);};}function y(_0x3fc3bd,_0x55f337,_0x5f2f1e,_0x54483d){const _0x2a78f9=_0x138e5e;var _0x512e84=arguments[_0x2a78f9(0x183)],_0x275e50=_0x512e84<0x3?_0x55f337:_0x54483d===null?_0x54483d=Object[_0x2a78f9(0x19f)](_0x55f337,_0x5f2f1e):_0x54483d,_0x4895f7;if(typeof Reflect==_0x2a78f9(0x1bd)&&typeof Reflect[_0x2a78f9(0x206)]==_0x2a78f9(0x1a7))_0x275e50=Reflect[_0x2a78f9(0x206)](_0x3fc3bd,_0x55f337,_0x5f2f1e,_0x54483d);else{for(var _0x1481ac=_0x3fc3bd['length']-0x1;_0x1481ac>=0x0;_0x1481ac--)(_0x4895f7=_0x3fc3bd[_0x1481ac])&&(_0x275e50=(_0x512e84<0x3?_0x4895f7(_0x275e50):_0x512e84>0x3?_0x4895f7(_0x55f337,_0x5f2f1e,_0x275e50):_0x4895f7(_0x55f337,_0x5f2f1e))||_0x275e50);}return _0x512e84>0x3&&_0x275e50&&Object[_0x2a78f9(0x16a)](_0x55f337,_0x5f2f1e,_0x275e50),_0x275e50;}const b=_0x138e5e(0x1fd),x=_0x138e5e(0x1a9);let S=class extends n[_0x138e5e(0x11e)]{constructor(_0x126409,_0x19b779,_0x321022,_0x32a314,_0x83ebd5,_0x5d415c,_0x1b71ef,_0x25a2a4,_0x748030,_0x209600){const _0x40ae63=_0x138e5e;super(),this[_0x40ae63(0x200)]=_0x126409,this[_0x40ae63(0x1eb)]=_0x19b779,this[_0x40ae63(0x1c3)]=_0x321022,this[_0x40ae63(0x13b)]=_0x32a314,this[_0x40ae63(0x1f7)]=_0x83ebd5,this[_0x40ae63(0x1b9)]=_0x5d415c,this[_0x40ae63(0x1b7)]=_0x1b71ef,this[_0x40ae63(0x1d0)]=_0x25a2a4,this['_logService']=_0x748030,this[_0x40ae63(0x1b3)]=_0x209600,_(this,'_loading$',new o['BehaviorSubject'](!0x1)),_(this,'_mcpCoreConfig$',new o[(_0x40ae63(0x18d))]({})),_(this,_0x40ae63(0x1dd),new o[(_0x40ae63(0x18d))]({})),_(this,'_apiKey$',new o[(_0x40ae63(0x18d))]('')),_(this,_0x40ae63(0x1a3),async _0x118efd=>{const _0x3ebc68=_0x40ae63;this[_0x3ebc68(0x190)]['next'](!0x0);try{var _0x94abe9,_0x2bad33;let _0x1dd7c1=await this[_0x3ebc68(0x1f2)](_0x118efd);if(!_0x1dd7c1[_0x3ebc68(0x144)]){this[_0x3ebc68(0x1b9)][_0x3ebc68(0x188)]({'type':i[_0x3ebc68(0x20d)][_0x3ebc68(0x135)],'content':_0x1dd7c1[_0x3ebc68(0x1f3)]||this[_0x3ebc68(0x1d0)]['t'](_0x3ebc68(0x209))});return;}_0x118efd[_0x3ebc68(0x1f1)]?await this['_localStorageService'][_0x3ebc68(0x1c7)](b,_0x118efd[_0x3ebc68(0x1f1)]['trim']()):await this[_0x3ebc68(0x13b)]['removeItem'](b),this[_0x3ebc68(0x1e3)]['next'](((_0x94abe9=_0x118efd['apiKey'])==null?void 0x0:_0x94abe9[_0x3ebc68(0x1c6)]())||''),this[_0x3ebc68(0x1b3)]['__setCustomHeaders']({'Authorization':_0x3ebc68(0x13c)+((_0x2bad33=_0x118efd['apiKey'])==null?void 0x0:_0x2bad33[_0x3ebc68(0x1c6)]())}),this[_0x3ebc68(0x1b9)][_0x3ebc68(0x188)]({'type':i[_0x3ebc68(0x20d)]['Success'],'content':this[_0x3ebc68(0x1d0)]['t'](_0x3ebc68(0x1fc))}),setTimeout(()=>{const _0x300b2b=_0x3ebc68;this[_0x300b2b(0x1f7)][_0x300b2b(0x12f)](x);},0x320);}catch(_0x1b69b4){this['_logService'][_0x3ebc68(0x13d)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x1b69b4),this[_0x3ebc68(0x1b9)][_0x3ebc68(0x188)]({'type':i[_0x3ebc68(0x20d)]['Error'],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this[_0x3ebc68(0x190)][_0x3ebc68(0x119)](!0x1);}}),this[_0x40ae63(0x173)](),this[_0x40ae63(0x149)](),this['_registerComponent']();}[_0x138e5e(0x156)](){const _0xded1c=_0x138e5e;let _0x577953=this[_0xded1c(0x1c3)]['getConfig'](f);_0x577953!=null&&_0x577953[_0xded1c(0x134)]&&this[_0xded1c(0x1f7)][_0xded1c(0x11f)]({'id':x,'title':{'title':this['_localeService']['t'](_0xded1c(0x12c))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x596b40=_0xded1c;this[_0x596b40(0x1f7)][_0x596b40(0x12f)](x);}});}['getCurrentConfig'](){const _0xed2ebc=_0x138e5e;return this[_0xed2ebc(0x1c2)][_0xed2ebc(0x15c)];}['_registerComponent'](){const _0x1b3318=_0x138e5e;this[_0x1b3318(0x1db)](this['_componentManager'][_0x1b3318(0x1e0)]('MCPConfigPanel',this[_0x1b3318(0x19e)]()));}[_0x138e5e(0x19e)](){const _0x4f871b=_0x138e5e;return(0x0,a[_0x4f871b(0x146)])(()=>{const _0x162d1c=_0x4f871b;var _0x43fedb,_0x5809c1,_0x5693cc;return(0x0,l['jsx'])(d,{'config':this['_config$'][_0x162d1c(0x15c)],'mcpCoreConfig':this[_0x162d1c(0x1c2)]['value'],'currentApiKey$':this[_0x162d1c(0x1e3)],'onSave':this[_0x162d1c(0x1a3)],'loading':this[_0x162d1c(0x190)]['value'],'connectionStatus$':(_0x43fedb=this[_0x162d1c(0x1b3)])==null?void 0x0:_0x43fedb[_0x162d1c(0x16f)],'connectionError$':(_0x5809c1=this[_0x162d1c(0x1b3)])==null?void 0x0:_0x5809c1[_0x162d1c(0x143)],'currentSessionId$':(_0x5693cc=this['_mcpConnectionController'])==null?void 0x0:_0x5693cc[_0x162d1c(0x1ca)]});},this[_0x4f871b(0x200)]);}[_0x138e5e(0x173)](){const _0x53c179=_0x138e5e;this['disposeWithMe'](this['_configService'][_0x53c179(0x1c8)](r[_0x53c179(0x1ff)])[_0x53c179(0x20a)](_0x1440c9=>{const _0x209abe=_0x53c179;this['_mcpCoreConfig$'][_0x209abe(0x119)](_0x1440c9||{});}));let _0xdb52b3=this[_0x53c179(0x1c3)][_0x53c179(0x1ed)](r['MCP_PLUGIN_CONFIG_KEY']);this[_0x53c179(0x1c2)][_0x53c179(0x119)](_0xdb52b3||{}),this['disposeWithMe'](this['_configService'][_0x53c179(0x1c8)](f)['subscribe'](_0x3c947f=>{const _0x101b47=_0x53c179;this[_0x101b47(0x1dd)]['next'](_0x3c947f||{});}));let _0x4d739e=this[_0x53c179(0x1c3)][_0x53c179(0x1ed)](f);this['_config$'][_0x53c179(0x119)](_0x4d739e||{});}async['_loadStoredApiKey'](){const _0x4cf47d=_0x138e5e;let _0x1363b1=this[_0x4cf47d(0x1c3)][_0x4cf47d(0x1ed)](f);if(!(_0x1363b1!=null&&_0x1363b1[_0x4cf47d(0x134)]))return;let _0x14f40d=await this['_localStorageService'][_0x4cf47d(0x1cc)](b);_0x14f40d&&(this[_0x4cf47d(0x1b3)][_0x4cf47d(0x1d3)]({'Authorization':'Bearer\x20'+_0x14f40d}),this[_0x4cf47d(0x1e3)][_0x4cf47d(0x119)](_0x14f40d));}async[_0x138e5e(0x1f2)](_0x458acc){const _0x56d64c=_0x138e5e;if(!_0x458acc[_0x56d64c(0x1f1)]||_0x458acc[_0x56d64c(0x1f1)][_0x56d64c(0x1c6)]()[_0x56d64c(0x183)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x56d64c(0x1d0)]['t'](_0x56d64c(0x13a))};if(_0x458acc[_0x56d64c(0x1f1)][_0x56d64c(0x1c6)]()[_0x56d64c(0x183)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x56d64c(0x1d0)]['t'](_0x56d64c(0x17d))};try{let _0x1e0423=await this[_0x56d64c(0x200)][_0x56d64c(0x1a5)](r['MCPConnectionController'])['validateApiKey'](_0x458acc[_0x56d64c(0x1f1)]['trim']());return _0x1e0423['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1e0423[_0x56d64c(0x13d)]||this[_0x56d64c(0x1d0)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x37e96a){return console[_0x56d64c(0x1af)](_0x56d64c(0x185),_0x37e96a),{'isValid':!0x0};}}};S=y([v(0x0,(0x0,n[_0x138e5e(0x202)])(n[_0x138e5e(0x1df)])),v(0x1,a[_0x138e5e(0x1cd)]),v(0x2,n[_0x138e5e(0x160)]),v(0x3,n[_0x138e5e(0x12d)]),v(0x4,a[_0x138e5e(0x1c0)]),v(0x5,a[_0x138e5e(0x170)]),v(0x6,(0x0,n[_0x138e5e(0x202)])(a[_0x138e5e(0x182)])),v(0x7,(0x0,n[_0x138e5e(0x202)])(n['LocaleService'])),v(0x8,n[_0x138e5e(0x197)]),v(0x9,(0x0,n[_0x138e5e(0x202)])(r[_0x138e5e(0x125)]))],S);const C={'id':_0x138e5e(0x184),'type':n[_0x138e5e(0x116)][_0x138e5e(0x1c9)],'handler':async(_0x450ddb,_0x1a6c65)=>(_0x450ddb[_0x138e5e(0x1a5)](S)[_0x138e5e(0x156)](),!0x0)};function w(_0x3010a0,_0xfd54ac){const _0x362bbf=_0x138e5e;switch(_0x3010a0){case r[_0x362bbf(0x1ef)][_0x362bbf(0x1be)]:return _0x362bbf(0x127);case r[_0x362bbf(0x1ef)][_0x362bbf(0x133)]:return'mcpStatus.connecting';case r[_0x362bbf(0x1ef)][_0x362bbf(0x191)]:return _0x362bbf(0x211);case r[_0x362bbf(0x1ef)]['FAILED']:switch(_0xfd54ac){case r[_0x362bbf(0x1a2)][_0x362bbf(0x132)]:return _0x362bbf(0x152);case r[_0x362bbf(0x1a2)][_0x362bbf(0x1a8)]:return'mcpStatus.sessionOccupied';case r[_0x362bbf(0x1a2)][_0x362bbf(0x12a)]:return _0x362bbf(0x115);case r['MCPConnectionError'][_0x362bbf(0x165)]:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case r['MCPConnectionStatus'][_0x362bbf(0x1c5)]:return _0x362bbf(0x207);default:return _0x362bbf(0x1aa);}}function T(_0x22d205,_0xcaf80e,_0x1d1849,_0x256e6e=!0x0){const _0x658453=_0x138e5e;let _0x3f2219=w(_0x22d205,_0xcaf80e),_0x1c3b6a=_0x1d1849['t'](_0x3f2219);return _0x256e6e?_0x22d205===r[_0x658453(0x1ef)][_0x658453(0x1be)]&&_0xcaf80e===r['MCPConnectionError'][_0x658453(0x132)]?_0x1c3b6a+_0x658453(0x20f)+_0x1d1849['t']('mcpStatus.clickToConfigure'):_0x22d205===r['MCPConnectionStatus'][_0x658453(0x191)]?''+_0x1c3b6a:_0x22d205===r[_0x658453(0x1ef)][_0x658453(0x1be)]||_0x22d205===r[_0x658453(0x1ef)][_0x658453(0x199)]?_0x1c3b6a+_0x658453(0x20f)+_0x1d1849['t'](_0x658453(0x150)):_0x1c3b6a:_0x1c3b6a;}function E(_0xcaacf5){const _0x6fd318=_0x138e5e;switch(_0xcaacf5){case r[_0x6fd318(0x1ef)][_0x6fd318(0x191)]:return _0x6fd318(0x1b5);case r[_0x6fd318(0x1ef)][_0x6fd318(0x133)]:case r[_0x6fd318(0x1ef)][_0x6fd318(0x1c5)]:return _0x6fd318(0x161);case r[_0x6fd318(0x1ef)][_0x6fd318(0x199)]:case r[_0x6fd318(0x1ef)][_0x6fd318(0x1be)]:return _0x6fd318(0x192);default:return'univer-text-gray-500';}}function D(_0x1a3205){const _0x23ead0=_0x138e5e;let {status$:_0x1e5f25,error$:_0x406af5,onConfigure:_0x4ec9a5,showClickable:_0x1a0516=!0x0}=_0x1a3205,_0x6e02b8=(0x0,a[_0x23ead0(0x140)])(_0x1e5f25,r[_0x23ead0(0x1ef)][_0x23ead0(0x1be)]),_0xc04457=(0x0,a[_0x23ead0(0x140)])(_0x406af5,r[_0x23ead0(0x1a2)][_0x23ead0(0x194)]),_0x499457=(0x0,a['useDependency'])(n[_0x23ead0(0x155)]),_0x33c62b=_0x6e02b8===r[_0x23ead0(0x1ef)][_0x23ead0(0x191)];_0x6e02b8===r['MCPConnectionStatus'][_0x23ead0(0x133)]||r[_0x23ead0(0x1ef)][_0x23ead0(0x1c5)];let _0x2c6844=_0x499457['t'](w(_0x6e02b8,_0xc04457)),_0x123ae8=T(_0x6e02b8,_0xc04457,_0x499457,_0x1a0516),_0x1ebb43=E(_0x6e02b8),_0x5e1aae=_0x33c62b?(0x0,l[_0x23ead0(0x15b)])(s[_0x23ead0(0x13f)],{}):(0x0,l[_0x23ead0(0x15b)])(s['OffLineIcon'],{}),_0x5a1ef0=(0x0,c[_0x23ead0(0x1d9)])(()=>{_0x1a0516&&_0x4ec9a5&&_0x4ec9a5();},[_0x1a0516,_0x4ec9a5]);function _0x23f8e9(){const _0x5185db=_0x23ead0;return(0x0,l['jsxs'])(_0x5185db(0x1bb),{'className':(0x0,i[_0x5185db(0x210)])('univer-flex\x20univer-items-center',_0x1a0516&&_0x4ec9a5&&'univer-cursor-pointer\x20hover:univer-opacity-80'),'role':_0x5185db(0x1d5),'onClick':_0x1a0516&&_0x4ec9a5?_0x5a1ef0:void 0x0,'children':[(0x0,l[_0x5185db(0x15b)])(_0x5185db(0x1bb),{'className':(0x0,i[_0x5185db(0x210)])('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x1ebb43),'children':_0x5e1aae}),(0x0,l[_0x5185db(0x15b)])(_0x5185db(0x1bb),{'className':_0x5185db(0x14f),'children':_0x2c6844})]});}return(0x0,l[_0x23ead0(0x15b)])(i[_0x23ead0(0x1d8)],{'title':_0x123ae8,'placement':_0x23ead0(0x162),'children':_0x23f8e9()});}function _0xc702(){const _0x1cd84a=['connectInjector','mcpConfig.apiKeyPlaceholder','HEADER_MENU','_loadStoredApiKey','univer-text-xs\x20univer-text-gray-500','symbol','version','_blank','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpStatus.clickToConnect','ICommandService','mcpStatus.unauthorized','_handleConfigure','mergeMenu','LocaleService','showConfigPanel','Plugin','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-items-start\x20univer-gap-3','_initAutoConnect','jsx','value','univer-text-xs\x20univer-text-gray-600','univer_session_id:','univer-flex\x20univer-items-center\x20univer-gap-3','IConfigService','univer-text-yellow-500','bottom','https://console.univer.ai','span','MAX_RETRIES_EXCEEDED','mcpConfig.connectionError.networkError','mcpConfig.configStepTitle','_initializeCommands','MCP_UI_PLUGIN','defineProperty','MenuIcon','MCP\x20Configuration','univer-space-y-5','univer-flex\x20univer-flex-wrap\x20univer-gap-2','connectionStatus$','IMessageService','MCPStatusDisplay','UniverMCPUIPlugin','_initConfigSync','_initializeMenus','_menuManagerService','enableAutoConnect','mcpConfig.authorizationDescription','includes','stringify','7gmKJme','registerCommand','mcpConfig.connectionError.sessionOccupied','mcpConfig.validation.apiKeyTooShort','5332176uxNWeM','univer-flex\x20univer-items-start\x20univer-gap-2','MCPUIMenuController','http','ComponentManager','length','mcp-ui.command.openConfigPanel','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','forEach','Input','show','univer-font-medium','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','OTHERS','BUTTON','BehaviorSubject','mcpConfig.connectionStatus.disconnected','univer-text-gray-400','_loading$','CONNECTED','univer-text-red-500','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','NONE','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','9597840djeuZP','ILogService','jsxs','FAILED','mcpConfig.configStep3','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','Button','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','_createConfigPanelComponent','getOwnPropertyDescriptor','<SESSION_ID>','mcpConfig.configStep2','MCPConnectionError','_handleConfigSave','label','get','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','function','SESSION_ID_OCCUPIED','mcp-config-dialog','mcpStatus.unknown','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','mcpConfig.connectionStatus.connected','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','warn','merge','mcpConfig.configStep1','mcpConfig.apiApplyInfo.univerAiLabel','_mcpConnectionController','43714PEszKy','univer-text-green-500','toPrimitive','_componentManager','ISocketService','_messageService','mcpConfig.configInstructions','div','prototype','object','DISCONNECTED','mcp-ui.config','IDialogService','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_mcpCoreConfig$','_configService','Module','RETRYING','trim','setItem','subscribeConfigValue$','COMMAND','sessionId$','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','getItem','IUIPartsService','mcpConfig.connectionError.unauthorized','mcpConfig.apiApplyInfo.getStarted','_localeService','6065970ysxlJp','WebSocketService','__setCustomHeaders','CheckMarkIcon','button','univer-space-y-2','univer-bg-red-500','Tooltip','useCallback','univer-size-4','disposeWithMe','MCPConfigUIController','_config$','univer-bg-green-500','Injector','register','mcpConfig.apiApplyInfo.title','univer-flex\x20univer-gap-3','_apiKey$','zhCN','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','MCPConfigPanel','1.0.0-alpha.2','BuiltInUIPart','univer-flex-1','_config','_uiPartsService','12084664mDYFSu','getConfig','mcpConfig.note1','MCPConnectionStatus','univer.plus','apiKey','_validateConfig','errorMessage','CloseIcon','@univerjs-pro/mcp-ui','setConfig','_dialogService','mcpServerUrl','mcpConfig.description','mcpConfig.connectionStatus.failed','univer-min-w-0\x20univer-flex-1','mcpConfig.configSaved','mcp.apiKey','has','MCP_PLUGIN_CONFIG_KEY','_injector','univer-shrink-0\x20univer-text-red-500','Inject','mcpConfig.note2','pre','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','decorate','mcpStatus.retrying','Authorization:','mcpConfig.validation.invalidConfig','subscribe','default','_connectionController','MessageType','string','\x20-\x20','clsx','mcpStatus.connected','univer-text-sm\x20univer-font-medium','_commandService','registerComponent','mcpStatus.networkError','CommandType','99vbHQCC','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','next','univer-text-blue-600','mcpConfig.apiApplyInfo.description','DependentOn','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Disposable','open','noopener\x20noreferrer','showStatus','MenuItemType','text','onStarting','MCPConnectionController','push','mcpStatus.disconnected','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','pluginName','NETWORK_ERROR','_initStatusComponent','mcpConfig.title','ILocalStorageService','univer-flex\x20univer-items-center\x20univer-gap-2','close','25508115vqJutN','<API_KEY>','UNAUTHORIZED','CONNECTING','showDeveloperTools','Error','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.connectionStatus.connecting','univer-space-y-3','MCPConnectionUIController','mcpConfig.validation.apiKeyRequired','_localStorageService','Bearer\x20','error','univer.ai','OnLineIcon','useObservable','mcpConfig.connectionStatus.retrying','enUS','connectionError$','isValid','1511305ecZcJE'];_0xc702=function(){return _0x1cd84a;};return _0xc702();}let O=class extends n[_0x138e5e(0x11e)]{constructor(_0x4b8076,_0x5183af,_0x2cb2bc,_0x4382c6){const _0x5045a2=_0x138e5e;super(),this[_0x5045a2(0x200)]=_0x4b8076,this[_0x5045a2(0x20c)]=_0x5183af,this['_uiPartsService']=_0x2cb2bc,this['_configService']=_0x4382c6,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x138e5e(0x15a)](){const _0x508461=_0x138e5e;let _0x19ac26=this[_0x508461(0x1c3)][_0x508461(0x1ed)](f);_0x19ac26!=null&&_0x19ac26[_0x508461(0x134)]&&(this['_connectionController'][_0x508461(0x176)]=!0x1);}[_0x138e5e(0x12b)](){const _0x4c4551=_0x138e5e;let _0x60aee2=this[_0x4c4551(0x1c3)]['getConfig'](f);(_0x60aee2==null?void 0x0:_0x60aee2[_0x4c4551(0x121)])!==!0x1&&this[_0x4c4551(0x1db)](this[_0x4c4551(0x1eb)][_0x4c4551(0x114)](a[_0x4c4551(0x1e8)][_0x4c4551(0x148)],()=>{const _0x4b1791=_0x4c4551;var _0x418784;return(0x0,a[_0x4b1791(0x146)])(k({'status$':this['_connectionController']['connectionStatus$'],'error$':this[_0x4b1791(0x20c)][_0x4b1791(0x143)],'onConfigure':()=>this[_0x4b1791(0x153)](),'showClickable':(_0x418784=_0x60aee2==null?void 0x0:_0x60aee2[_0x4b1791(0x134)])==null?!0x1:_0x418784}),this[_0x4b1791(0x200)]);}));}[_0x138e5e(0x153)](){const _0xd14be4=_0x138e5e;this[_0xd14be4(0x200)][_0xd14be4(0x1a5)](S)[_0xd14be4(0x156)]();}};O=y([v(0x0,(0x0,n['Inject'])(n[_0x138e5e(0x1df)])),v(0x1,(0x0,n[_0x138e5e(0x202)])(r[_0x138e5e(0x125)])),v(0x2,a['IUIPartsService']),v(0x3,n[_0x138e5e(0x160)])],O);function _0x455a(_0x369736,_0x1b68ba){_0x369736=_0x369736-0x114;const _0xc70233=_0xc702();let _0x455a6b=_0xc70233[_0x369736];return _0x455a6b;}function k(_0x4c313f){let {status$:_0x19db1c,error$:_0x433440,onConfigure:_0x2e14a3,showClickable:_0x277950}=_0x4c313f;return function(){const _0x5da6c1=_0x455a;return(0x0,l[_0x5da6c1(0x15b)])(D,{'status$':_0x19db1c,'error$':_0x433440,'onConfigure':_0x2e14a3,'showClickable':_0x277950});};}function A(_0x2af830){const _0x1e437a=_0x138e5e;return{'id':C['id'],'type':a[_0x1e437a(0x122)][_0x1e437a(0x18c)],'icon':_0x1e437a(0x16b),'title':_0x1e437a(0x12c),'tooltip':_0x1e437a(0x12c)};}const j={[a['RibbonStartGroup'][_0x138e5e(0x18b)]]:{[C['id']]:{'order':0xa,'menuItemFactory':A}}};let M=class extends n['Disposable']{constructor(_0x2db9c5,_0x4436e2){const _0x4a034d=_0x138e5e;super(),this[_0x4a034d(0x213)]=_0x2db9c5,this[_0x4a034d(0x175)]=_0x4436e2,this[_0x4a034d(0x168)](),this[_0x4a034d(0x174)]();}[_0x138e5e(0x168)](){const _0x3633f4=_0x138e5e;[C][_0x3633f4(0x186)](_0xcc0c22=>{const _0x92ccfd=_0x3633f4;this['disposeWithMe'](this[_0x92ccfd(0x213)][_0x92ccfd(0x17b)](_0xcc0c22));});}[_0x138e5e(0x174)](){const _0x5822d8=_0x138e5e;this['_menuManagerService'][_0x5822d8(0x154)](j);}};M=y([v(0x0,n[_0x138e5e(0x151)]),v(0x1,a['IMenuManagerService'])],M);var N=_0x138e5e(0x1f5),P=_0x138e5e(0x1e7);let F=class extends n[_0x138e5e(0x157)]{constructor(_0x28b7d8=p,_0x9f724c,_0x309446,_0x9039c8,_0x54c48c,_0x13702b){const _0x2070ed=_0x138e5e;super(),this[_0x2070ed(0x1ea)]=_0x28b7d8,this[_0x2070ed(0x200)]=_0x9f724c,this[_0x2070ed(0x1c3)]=_0x309446,this[_0x2070ed(0x1eb)]=_0x9039c8,this[_0x2070ed(0x13b)]=_0x54c48c,this[_0x2070ed(0x1d0)]=_0x13702b;let {..._0x1e5155}=(0x0,n[_0x2070ed(0x1b0)])({},p,this[_0x2070ed(0x1ea)]);this[_0x2070ed(0x1c3)][_0x2070ed(0x1f6)](f,_0x1e5155);}async[_0x138e5e(0x124)](){const _0x49e3c9=_0x138e5e;let _0x22b0e0=[[O],[S],[M]];this[_0x49e3c9(0x200)][_0x49e3c9(0x1fe)](u[_0x49e3c9(0x1b8)])||_0x22b0e0[_0x49e3c9(0x126)]([u['ISocketService'],{'useClass':u[_0x49e3c9(0x1d2)]}]),_0x22b0e0['forEach'](_0x77e1f0=>this[_0x49e3c9(0x200)]['add'](_0x77e1f0)),this[_0x49e3c9(0x200)][_0x49e3c9(0x1a5)](O),this['_injector']['get'](S),this['_injector'][_0x49e3c9(0x1a5)](M);}};_(F,_0x138e5e(0x129),_0x138e5e(0x169)),_(F,'packageName',N),_(F,_0x138e5e(0x14c),P),F=y([(0x0,n[_0x138e5e(0x11c)])(r['UniverMCPPlugin']),v(0x1,(0x0,n['Inject'])(n[_0x138e5e(0x1df)])),v(0x2,n['IConfigService']),v(0x3,a['IUIPartsService']),v(0x4,n[_0x138e5e(0x12d)]),v(0x5,(0x0,n[_0x138e5e(0x202)])(n[_0x138e5e(0x155)]))],F),exports[_0x138e5e(0x1e6)]=d,Object[_0x138e5e(0x16a)](exports,_0x138e5e(0x1dc),{'enumerable':!0x0,'get':function(){return S;}}),Object[_0x138e5e(0x16a)](exports,_0x138e5e(0x139),{'enumerable':!0x0,'get':function(){return O;}}),exports[_0x138e5e(0x171)]=D,Object['defineProperty'](exports,_0x138e5e(0x180),{'enumerable':!0x0,'get':function(){return M;}}),exports['OpenMCPConfigPanelCommand']=C,Object[_0x138e5e(0x16a)](exports,_0x138e5e(0x172),{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x138e5e(0x142)]=e,exports[_0x138e5e(0x1e4)]=t;
@@ -1 +1 @@
1
- const _0x3be766=_0x4d15;function _0x4d15(_0x54a184,_0x686994){_0x54a184=_0x54a184-0xfa;const _0x22f4ac=_0x22f4();let _0x4d15c8=_0x22f4ac[_0x54a184];return _0x4d15c8;}(function(_0x43b29e,_0x466c26){const _0x23bd93=_0x4d15,_0x57e0ac=_0x43b29e();while(!![]){try{const _0x4c748e=parseInt(_0x23bd93(0xff))/0x1+-parseInt(_0x23bd93(0x101))/0x2+-parseInt(_0x23bd93(0x103))/0x3*(-parseInt(_0x23bd93(0x102))/0x4)+-parseInt(_0x23bd93(0x100))/0x5*(-parseInt(_0x23bd93(0x104))/0x6)+-parseInt(_0x23bd93(0xfc))/0x7+parseInt(_0x23bd93(0xfe))/0x8*(parseInt(_0x23bd93(0xfd))/0x9)+-parseInt(_0x23bd93(0xfb))/0xa;if(_0x4c748e===_0x466c26)break;else _0x57e0ac['push'](_0x57e0ac['shift']());}catch(_0x36e4de){_0x57e0ac['push'](_0x57e0ac['shift']());}}}(_0x22f4,0xa305a));function _0x22f4(){const _0xac6dd6=['2715gMZJBE','958340oXMXoA','1162588anuCRr','3kyfdQn','8898qZoNsB','exports','11564240eYCnHD','4470991yMVApg','9mEkbPL','10124408uisTCO','580578zSjPPs'];_0x22f4=function(){return _0xac6dd6;};return _0x22f4();}const e=require('./en-US.js');module[_0x3be766(0xfa)]=e;
1
+ function _0x2bfd(_0x20fc3f,_0x3cc65d){_0x20fc3f=_0x20fc3f-0x14a;const _0x1f0651=_0x1f06();let _0x2bfd73=_0x1f0651[_0x20fc3f];return _0x2bfd73;}const _0x31e7f3=_0x2bfd;(function(_0x2f478e,_0xd33e74){const _0xbd53fe=_0x2bfd,_0x3e34f5=_0x2f478e();while(!![]){try{const _0x338157=-parseInt(_0xbd53fe(0x154))/0x1*(parseInt(_0xbd53fe(0x14b))/0x2)+-parseInt(_0xbd53fe(0x14d))/0x3+-parseInt(_0xbd53fe(0x14f))/0x4+-parseInt(_0xbd53fe(0x152))/0x5*(-parseInt(_0xbd53fe(0x153))/0x6)+parseInt(_0xbd53fe(0x150))/0x7+-parseInt(_0xbd53fe(0x151))/0x8*(-parseInt(_0xbd53fe(0x14e))/0x9)+parseInt(_0xbd53fe(0x14c))/0xa;if(_0x338157===_0xd33e74)break;else _0x3e34f5['push'](_0x3e34f5['shift']());}catch(_0x1331e1){_0x3e34f5['push'](_0x3e34f5['shift']());}}}(_0x1f06,0xbeff0));const e=require('./en-US.js');module[_0x31e7f3(0x14a)]=e;function _0x1f06(){const _0x17cc6f=['16001730YvbpbB','966582BkYThG','1447911xyEaLf','4351820CFMMho','2939440SXvthX','8EXQkWv','6396245CvTPxJ','6ZevSdj','316938OJeCMq','exports','8NLtRRK'];_0x1f06=function(){return _0x17cc6f;};return _0x1f06();}
@@ -1 +1 @@
1
- function _0x3aac(_0x3d1370,_0x3e5d6f){_0x3d1370=_0x3d1370-0x1be;const _0x47a1b9=_0x47a1();let _0x3aac7f=_0x47a1b9[_0x3d1370];return _0x3aac7f;}const _0x5bff4f=_0x3aac;(function(_0x3937fe,_0x4b3b6b){const _0x2970e3=_0x3aac,_0x25d867=_0x3937fe();while(!![]){try{const _0x35a740=-parseInt(_0x2970e3(0x1e1))/0x1*(parseInt(_0x2970e3(0x1d5))/0x2)+-parseInt(_0x2970e3(0x1d3))/0x3+parseInt(_0x2970e3(0x1d9))/0x4+parseInt(_0x2970e3(0x1d7))/0x5+parseInt(_0x2970e3(0x1d1))/0x6*(-parseInt(_0x2970e3(0x1de))/0x7)+-parseInt(_0x2970e3(0x1e0))/0x8*(parseInt(_0x2970e3(0x1bf))/0x9)+-parseInt(_0x2970e3(0x1e6))/0xa*(-parseInt(_0x2970e3(0x1e9))/0xb);if(_0x35a740===_0x4b3b6b)break;else _0x25d867['push'](_0x25d867['shift']());}catch(_0x38647d){_0x25d867['push'](_0x25d867['shift']());}}}(_0x47a1,0x84b4f));const e={'mcpStatus':{'disconnected':_0x5bff4f(0x1c2),'connecting':'MCP\x20Connecting...','connected':_0x5bff4f(0x1d4),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5bff4f(0x1d0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5bff4f(0x1d8),'clickToConfigure':_0x5bff4f(0x1ca)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x5bff4f(0x1d2),'apiKey':_0x5bff4f(0x1cb),'apiKeyPlaceholder':_0x5bff4f(0x1c8),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x5bff4f(0x1e5),'configInstructions':_0x5bff4f(0x1c0),'configStepTitle':_0x5bff4f(0x1cf),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5bff4f(0x1df),'configStep3':_0x5bff4f(0x1c3),'sessionId':_0x5bff4f(0x1d6),'sessionIdDescription':_0x5bff4f(0x1dc),'authorizationDescription':_0x5bff4f(0x1e8),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x5bff4f(0x1c7),'save':_0x5bff4f(0x1c5),'saving':_0x5bff4f(0x1e7),'note1':_0x5bff4f(0x1ea),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5bff4f(0x1cc),'description':_0x5bff4f(0x1ce),'univerAiLabel':_0x5bff4f(0x1cd),'getStarted':_0x5bff4f(0x1db)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5bff4f(0x1c6),'invalidConfig':_0x5bff4f(0x1da),'invalidApiKey':_0x5bff4f(0x1dd)},'connectionStatus':{'disconnected':_0x5bff4f(0x1e4),'connecting':_0x5bff4f(0x1e3),'connected':_0x5bff4f(0x1c4),'failed':'Connection\x20Failed','retrying':_0x5bff4f(0x1e2)},'connectionError':{'unauthorized':_0x5bff4f(0x1c9),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5bff4f(0x1be),'maxRetriesExceeded':_0x5bff4f(0x1c1)}}};module['exports']=e;function _0x47a1(){const _0x1d6a3f=['Enter\x20your\x20API\x20key','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','API\x20Key','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Steps:','MCP\x20Retrying...','132906YwzlqN','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1497699zXnTXA','MCP\x20Connected','86074uNACyr','Session\x20ID','341410fAdpLh','Click\x20to\x20connect\x20MCP','836860gItFrx','Invalid\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','70HaJFNH','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1312520PJOJME','6TwJfYp','Retrying...','Connecting...','Disconnected','MCP\x20Client\x20Configuration','102190whqBCz','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','1870oDIQoE','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','27PmbWFJ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connected','Save\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Max\x20Retries'];_0x47a1=function(){return _0x1d6a3f;};return _0x47a1();}
1
+ function _0x54a5(){const _0x4eb0e0=['Connection\x20Failed','Configuration\x20Steps:','Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connecting...','Saving...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','433434mNOpge','Configuration\x20saved\x20successfully','7jpXcbW','47735jPipRk','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','MCP\x20Configuration','Configuration\x20Parameters:','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Retrying...','Connecting...','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','74188fCoKmT','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Failed\x20to\x20save\x20configuration','1901310FDMMes','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20is\x20required','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','MCP\x20Unknown\x20Status','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','117441tqkiSU','Click\x20to\x20configure\x20MCP','1926824gLwOdf','MCP\x20Client\x20Configuration','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','379660byeRwa','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connection\x20Failed','MCP\x20Connected'];_0x54a5=function(){return _0x4eb0e0;};return _0x54a5();}const _0xd13492=_0x16bc;(function(_0x419613,_0x3eaa40){const _0x2bc2b5=_0x16bc,_0x4e27b2=_0x419613();while(!![]){try{const _0xea6bb=parseInt(_0x2bc2b5(0x1c5))/0x1+parseInt(_0x2bc2b5(0x1b5))/0x2+-parseInt(_0x2bc2b5(0x1d9))/0x3+parseInt(_0x2bc2b5(0x1cd))/0x4+-parseInt(_0x2bc2b5(0x1dc))/0x5+parseInt(_0x2bc2b5(0x1bc))/0x6+-parseInt(_0x2bc2b5(0x1db))/0x7*(parseInt(_0x2bc2b5(0x1c7))/0x8);if(_0xea6bb===_0x3eaa40)break;else _0x4e27b2['push'](_0x4e27b2['shift']());}catch(_0x394385){_0x4e27b2['push'](_0x4e27b2['shift']());}}}(_0x54a5,0x29dc1));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xd13492(0x1d5),'connected':_0xd13492(0x1d0),'failed':_0xd13492(0x1cf),'retrying':'MCP\x20Retrying...','unknown':_0xd13492(0x1c2),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0xd13492(0x1d4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xd13492(0x1b9),'clickToConnect':_0xd13492(0x1e1),'clickToConfigure':_0xd13492(0x1c6)},'mcpConfig':{'title':_0xd13492(0x1df),'description':_0xd13492(0x1b0),'apiKey':_0xd13492(0x1bf),'apiKeyPlaceholder':_0xd13492(0x1c1),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xd13492(0x1c8),'mcpClientConfig':_0xd13492(0x1c8),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0xd13492(0x1d2),'configStep1':_0xd13492(0x1b6),'configStep2':_0xd13492(0x1cc),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xd13492(0x1d8),'sessionIdDescription':_0xd13492(0x1ce),'authorizationDescription':_0xd13492(0x1cb),'configParameters':_0xd13492(0x1e0),'maxRetries':_0xd13492(0x1d3),'save':_0xd13492(0x1b7),'saving':_0xd13492(0x1d6),'note1':_0xd13492(0x1dd),'note2':_0xd13492(0x1d7),'configSaved':_0xd13492(0x1da),'configError':_0xd13492(0x1bb),'apiApplyInfo':{'title':_0xd13492(0x1de),'description':_0xd13492(0x1ba),'univerAiLabel':_0xd13492(0x1b3),'getStarted':_0xd13492(0x1c3)},'validation':{'apiKeyRequired':_0xd13492(0x1be),'apiKeyTooShort':_0xd13492(0x1b4),'invalidConfig':_0xd13492(0x1b8),'invalidApiKey':_0xd13492(0x1c4)},'connectionStatus':{'disconnected':_0xd13492(0x1c9),'connecting':_0xd13492(0x1b2),'connected':'Connected','failed':_0xd13492(0x1d1),'retrying':_0xd13492(0x1b1)},'connectionError':{'unauthorized':_0xd13492(0x1bd),'sessionOccupied':_0xd13492(0x1ca),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xd13492(0x1c0)}}};function _0x16bc(_0x3a2990,_0xf7ed4d){_0x3a2990=_0x3a2990-0x1b0;const _0x54a59b=_0x54a5();let _0x16bc9a=_0x54a59b[_0x3a2990];return _0x16bc9a;}module['exports']=e;
@@ -1 +1 @@
1
- function _0x4ba9(_0x341799,_0x168672){_0x341799=_0x341799-0x1ea;const _0x42afa7=_0x42af();let _0x4ba901=_0x42afa7[_0x341799];return _0x4ba901;}const _0x350f4b=_0x4ba9;(function(_0x32057f,_0x2c09c5){const _0x100d6e=_0x4ba9,_0x4e2969=_0x32057f();while(!![]){try{const _0x4b7da7=-parseInt(_0x100d6e(0x1f1))/0x1*(parseInt(_0x100d6e(0x1ea))/0x2)+-parseInt(_0x100d6e(0x1eb))/0x3*(parseInt(_0x100d6e(0x1ec))/0x4)+parseInt(_0x100d6e(0x1ef))/0x5+-parseInt(_0x100d6e(0x1f4))/0x6*(parseInt(_0x100d6e(0x1f5))/0x7)+-parseInt(_0x100d6e(0x1f2))/0x8+parseInt(_0x100d6e(0x1ed))/0x9+-parseInt(_0x100d6e(0x1f0))/0xa*(-parseInt(_0x100d6e(0x1ee))/0xb);if(_0x4b7da7===_0x2c09c5)break;else _0x4e2969['push'](_0x4e2969['shift']());}catch(_0x567816){_0x4e2969['push'](_0x4e2969['shift']());}}}(_0x42af,0x54320));function _0x42af(){const _0x5acd0e=['310256AQwnmN','exports','6XGSAdF','75474zlBZjR','4MdcrPN','3hgxCZK','1283188sFKnHy','6177933JwzeWL','76395XHeUAK','435895XwmWyo','690KDkgNa','268798VjYSAt'];_0x42af=function(){return _0x5acd0e;};return _0x42af();}const e=require('./en-US.js');module[_0x350f4b(0x1f3)]=e;
1
+ const _0x431cb6=_0x47a1;(function(_0xd2f8d5,_0x17d504){const _0x21771d=_0x47a1,_0x1446cb=_0xd2f8d5();while(!![]){try{const _0x287189=-parseInt(_0x21771d(0x78))/0x1*(parseInt(_0x21771d(0x75))/0x2)+parseInt(_0x21771d(0x7c))/0x3+-parseInt(_0x21771d(0x7a))/0x4+parseInt(_0x21771d(0x77))/0x5+-parseInt(_0x21771d(0x79))/0x6*(parseInt(_0x21771d(0x7e))/0x7)+parseInt(_0x21771d(0x74))/0x8*(parseInt(_0x21771d(0x7b))/0x9)+-parseInt(_0x21771d(0x76))/0xa;if(_0x287189===_0x17d504)break;else _0x1446cb['push'](_0x1446cb['shift']());}catch(_0x2beb6f){_0x1446cb['push'](_0x1446cb['shift']());}}}(_0x44a3,0x8464c));const e=require('./en-US.js');module[_0x431cb6(0x7d)]=e;function _0x47a1(_0x1bc4ea,_0x2fe13e){_0x1bc4ea=_0x1bc4ea-0x74;const _0x44a335=_0x44a3();let _0x47a17c=_0x44a335[_0x1bc4ea];return _0x47a17c;}function _0x44a3(){const _0x12a6ce=['10314ijJyBn','1326976yJGbzH','18ZuWPKE','701712HCvyIS','exports','637aaZzyZ','2714584rjUNpS','64462RXJMbM','7151560NDIPUy','4326470fjnGqt','1wVPWZh'];_0x44a3=function(){return _0x12a6ce;};return _0x44a3();}
@@ -1 +1 @@
1
- const _0x1ebed1=_0x1945;function _0x1945(_0x29b002,_0x335c2d){_0x29b002=_0x29b002-0xf9;const _0x27a95c=_0x27a9();let _0x19452c=_0x27a95c[_0x29b002];return _0x19452c;}(function(_0x418884,_0x2fd043){const _0x2d8845=_0x1945,_0x21cf35=_0x418884();while(!![]){try{const _0x53b543=parseInt(_0x2d8845(0xfc))/0x1*(parseInt(_0x2d8845(0xfd))/0x2)+parseInt(_0x2d8845(0xfe))/0x3+parseInt(_0x2d8845(0xfb))/0x4+-parseInt(_0x2d8845(0x100))/0x5+parseInt(_0x2d8845(0x103))/0x6+-parseInt(_0x2d8845(0x102))/0x7*(parseInt(_0x2d8845(0xfa))/0x8)+-parseInt(_0x2d8845(0xf9))/0x9*(parseInt(_0x2d8845(0xff))/0xa);if(_0x53b543===_0x2fd043)break;else _0x21cf35['push'](_0x21cf35['shift']());}catch(_0x34f357){_0x21cf35['push'](_0x21cf35['shift']());}}}(_0x27a9,0xf3fdc));function _0x27a9(){const _0xc18b37=['1656qNGHIj','1274068UwedBp','765724HCADVB','2YtrzYg','4920939arrdYL','10ThdlPX','6631105KKfrYB','exports','30611IOFSmD','4170564vPWmdS','1699452CLVsdg'];_0x27a9=function(){return _0xc18b37;};return _0x27a9();}const e=require('./en-US.js');module[_0x1ebed1(0x101)]=e;
1
+ function _0xdb12(){const _0x46ebc0=['7133868kyNQBI','603673YVpueu','8556pwPWvM','199062VMSRkd','70BDyPtG','804226SuzEeC','18726wDzqqL','10xaRrvl','1675190lAItho','18579FGWisW','96icewhM','604nfByCR'];_0xdb12=function(){return _0x46ebc0;};return _0xdb12();}(function(_0x5b1f74,_0x4925d1){const _0x5013d0=_0x256d,_0x44b2c4=_0x5b1f74();while(!![]){try{const _0x53745e=parseInt(_0x5013d0(0x12f))/0x1+parseInt(_0x5013d0(0x132))/0x2+-parseInt(_0x5013d0(0x130))/0x3*(-parseInt(_0x5013d0(0x135))/0x4)+parseInt(_0x5013d0(0x13a))/0x5*(-parseInt(_0x5013d0(0x139))/0x6)+parseInt(_0x5013d0(0x137))/0x7*(-parseInt(_0x5013d0(0x134))/0x8)+parseInt(_0x5013d0(0x136))/0x9*(parseInt(_0x5013d0(0x131))/0xa)+parseInt(_0x5013d0(0x133))/0xb*(-parseInt(_0x5013d0(0x138))/0xc);if(_0x53745e===_0x4925d1)break;else _0x44b2c4['push'](_0x44b2c4['shift']());}catch(_0x52a198){_0x44b2c4['push'](_0x44b2c4['shift']());}}}(_0xdb12,0xa4684));const e=require('./en-US.js');function _0x256d(_0x56d4eb,_0xde3126){_0x56d4eb=_0x56d4eb-0x12f;const _0xdb128d=_0xdb12();let _0x256d33=_0xdb128d[_0x56d4eb];return _0x256d33;}module['exports']=e;
@@ -1 +1 @@
1
- (function(_0x2d8f0e,_0x4ba119){const _0x448d1c=_0x3d1f,_0x31a947=_0x2d8f0e();while(!![]){try{const _0x44f6ae=-parseInt(_0x448d1c(0x11c))/0x1+-parseInt(_0x448d1c(0x11b))/0x2+-parseInt(_0x448d1c(0x11f))/0x3*(-parseInt(_0x448d1c(0x121))/0x4)+-parseInt(_0x448d1c(0x123))/0x5+parseInt(_0x448d1c(0x11d))/0x6+parseInt(_0x448d1c(0x120))/0x7*(-parseInt(_0x448d1c(0x122))/0x8)+parseInt(_0x448d1c(0x11e))/0x9;if(_0x44f6ae===_0x4ba119)break;else _0x31a947['push'](_0x31a947['shift']());}catch(_0x45b061){_0x31a947['push'](_0x31a947['shift']());}}}(_0x137a,0xa4e41));const e=require('./en-US.js');module['exports']=e;function _0x3d1f(_0xcedf7d,_0x821383){_0xcedf7d=_0xcedf7d-0x11b;const _0x137ac5=_0x137a();let _0x3d1f4a=_0x137ac5[_0xcedf7d];return _0x3d1f4a;}function _0x137a(){const _0x563a5e=['658428QnDUOE','714743hKseev','2877318KuKWmR','18968022thUJaM','18kpHdxt','3376163OmEVcp','533328FznpIB','8FBiriR','5927220zbhfek'];_0x137a=function(){return _0x563a5e;};return _0x137a();}
1
+ const _0x4f19d9=_0x15e4;(function(_0x16606f,_0x55a221){const _0x1c1438=_0x15e4,_0x2229cc=_0x16606f();while(!![]){try{const _0x579aca=-parseInt(_0x1c1438(0x19d))/0x1+parseInt(_0x1c1438(0x19f))/0x2+parseInt(_0x1c1438(0x1a0))/0x3*(parseInt(_0x1c1438(0x1a2))/0x4)+-parseInt(_0x1c1438(0x19b))/0x5*(parseInt(_0x1c1438(0x19a))/0x6)+parseInt(_0x1c1438(0x19e))/0x7+parseInt(_0x1c1438(0x1a3))/0x8+-parseInt(_0x1c1438(0x1a1))/0x9;if(_0x579aca===_0x55a221)break;else _0x2229cc['push'](_0x2229cc['shift']());}catch(_0x13bf5d){_0x2229cc['push'](_0x2229cc['shift']());}}}(_0x2969,0x9efa3));const e=require('./en-US.js');function _0x2969(){const _0x1a00a8=['15644sfIUwn','5521584jjLoEj','174NwtSRw','80195wClLog','exports','337622gODXTb','8485806osePic','357906cGpkcm','147LINjlB','7372116TfpxAE'];_0x2969=function(){return _0x1a00a8;};return _0x2969();}function _0x15e4(_0x218621,_0x2cbb4b){_0x218621=_0x218621-0x19a;const _0x296999=_0x2969();let _0x15e452=_0x296999[_0x218621];return _0x15e452;}module[_0x4f19d9(0x19c)]=e;
@@ -1 +1 @@
1
- function _0x9210(_0x273592,_0x222554){_0x273592=_0x273592-0x173;const _0x57e004=_0x57e0();let _0x9210e3=_0x57e004[_0x273592];return _0x9210e3;}function _0x57e0(){const _0x18d045=['未接続','Bearerプレフィックス付きのAPIキー。','MCP:\x20最大再試行回数を超過','接続失敗','7077816nGhRsl','接続済み','MCP設定','クリックしてMCPを設定','APIキーは必須です','45115rYusPK','Univer\x20AIコンソール','894HSvvGf','MCP\x20接続中...','設定の保存に失敗しました','APIキーを入力してください','接続中...','MCP\x20未接続','41804hJPWRq','MCPクライアント設定','393575JQZoRd','MCP\x20接続済み','MCP:\x20認証されていません','MCPクライアントの設定に次の設定を追加してください:','APIキー','セッションIDが現在使用中です。後でもう一度お試しください','MCPを設定してAIでスプレッドシートを操作','13831112XSPatC','APIキーとは?','MCPクライアントの設定ファイルに設定を追加','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','認証に失敗しました。APIキーを確認してください','MCP\x20接続失敗','最大再試行回数','18635058IYYiOt','設定が正常に保存されました','保存中...','APIキーはローカルストレージに安全に保存されます','MCP:\x20セッションIDが使用中','APIキーはこのブラウザのローカルに保存されます','ネットワーク接続エラー。インターネット接続を確認してください','3aGujIN','3784394fIzIXX','セキュアな接続のために認証を有効にする','APIキーは10文字以上である必要があります','MCPクライアントを再起動して設定を適用','MCP:\x20ネットワークエラー','クリックしてMCPに接続','無効な設定'];_0x57e0=function(){return _0x18d045;};return _0x57e0();}const _0x735238=_0x9210;(function(_0x4002b4,_0x5430a5){const _0x34cb13=_0x9210,_0x420900=_0x4002b4();while(!![]){try{const _0x19127d=-parseInt(_0x34cb13(0x176))/0x1+-parseInt(_0x34cb13(0x18c))/0x2*(-parseInt(_0x34cb13(0x18b))/0x3)+-parseInt(_0x34cb13(0x197))/0x4+parseInt(_0x34cb13(0x19c))/0x5+-parseInt(_0x34cb13(0x19e))/0x6*(-parseInt(_0x34cb13(0x174))/0x7)+-parseInt(_0x34cb13(0x17d))/0x8+parseInt(_0x34cb13(0x184))/0x9;if(_0x19127d===_0x5430a5)break;else _0x420900['push'](_0x420900['shift']());}catch(_0x4d91de){_0x420900['push'](_0x420900['shift']());}}}(_0x57e0,0xecbdc));const e={'mcpStatus':{'disconnected':_0x735238(0x173),'connecting':_0x735238(0x19f),'connected':_0x735238(0x177),'failed':_0x735238(0x182),'retrying':'MCP\x20再試行中...','unknown':'MCP\x20不明な状態','unauthorized':_0x735238(0x178),'sessionOccupied':_0x735238(0x188),'networkError':_0x735238(0x190),'maxRetriesExceeded':_0x735238(0x195),'clickToConnect':_0x735238(0x191),'clickToConfigure':_0x735238(0x19a)},'mcpConfig':{'title':_0x735238(0x199),'description':_0x735238(0x17c),'apiKey':_0x735238(0x17a),'apiKeyPlaceholder':_0x735238(0x1a1),'apiKeyHint':_0x735238(0x189),'enableAuth':'認証を有効にする','enableAuthHint':_0x735238(0x18d),'connectionInfo':'MCPクライアント設定','mcpClientConfig':_0x735238(0x175),'configInstructions':_0x735238(0x179),'configStepTitle':'設定手順:','configStep1':'以下のJSON設定をコピー','configStep2':_0x735238(0x17f),'configStep3':_0x735238(0x18f),'sessionId':'セッションID','sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x735238(0x194),'configParameters':'設定パラメータ:','maxRetries':_0x735238(0x183),'save':'設定を保存','saving':_0x735238(0x186),'note1':'設定の変更は直ちに有効になります','note2':_0x735238(0x187),'configSaved':_0x735238(0x185),'configError':_0x735238(0x1a0),'apiApplyInfo':{'title':_0x735238(0x17e),'description':_0x735238(0x180),'univerAiLabel':_0x735238(0x19d),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x735238(0x19b),'apiKeyTooShort':_0x735238(0x18e),'invalidConfig':_0x735238(0x192),'invalidApiKey':'無効なAPIキーです。キーが正しいか確認してください'},'connectionStatus':{'disconnected':_0x735238(0x193),'connecting':_0x735238(0x1a2),'connected':_0x735238(0x198),'failed':_0x735238(0x196),'retrying':'再試行中...'},'connectionError':{'unauthorized':_0x735238(0x181),'sessionOccupied':_0x735238(0x17b),'networkError':_0x735238(0x18a),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module['exports']=e;
1
+ function _0x3b0c(){const _0x4d8fd9=['38517930myJFKQ','MCPクライアント設定','2190153pTavln','接続中...','最大再試行回数','7697574CQXblv','MCP:\x20認証されていません','705578bgcLvI','529535MlwIOC','MCP\x20接続済み','設定パラメータ:','APIキーはこのブラウザのローカルに保存されます','68FtXgUr','30KBXxdr','セッションIDが現在使用中です。後でもう一度お試しください','11xYjJMs','MCP\x20未接続','24BadOZM','未接続','2084138vyEBRF','APIキーはローカルストレージに安全に保存されます','MCP\x20接続中...','APIキー','MCP\x20不明な状態','セキュアな接続のために認証を有効にする','MCPクライアントの設定ファイルに設定を追加','再試行中...','MCP設定','APIキーを入力してください','設定の変更は直ちに有効になります','無効なAPIキーです。キーが正しいか確認してください','認証に失敗しました。APIキーを確認してください','設定の保存に失敗しました','MCPクライアントの設定に次の設定を追加してください:','Univer\x20AIコンソール','MCP:\x20最大再試行回数を超過','認証を有効にする','exports','APIキーとは?','117075HKrJzs','MCP:\x20セッションIDが使用中','接続失敗','Bearerプレフィックス付きのAPIキー。','無効な設定','接続済み','MCPを設定してAIでスプレッドシートを操作','セッションID','MCPクライアントを再起動して設定を適用'];_0x3b0c=function(){return _0x4d8fd9;};return _0x3b0c();}function _0xd7d6(_0xe822c5,_0x236a8c){_0xe822c5=_0xe822c5-0x1eb;const _0x3b0c51=_0x3b0c();let _0xd7d64=_0x3b0c51[_0xe822c5];return _0xd7d64;}const _0x5c0735=_0xd7d6;(function(_0x484930,_0x7177f6){const _0x1d9e74=_0xd7d6,_0x5dd44f=_0x484930();while(!![]){try{const _0x4e322b=parseInt(_0x1d9e74(0x20a))/0x1+-parseInt(_0x1d9e74(0x216))/0x2+-parseInt(_0x1d9e74(0x1fa))/0x3*(parseInt(_0x1d9e74(0x20f))/0x4)+parseInt(_0x1d9e74(0x20b))/0x5*(-parseInt(_0x1d9e74(0x210))/0x6)+-parseInt(_0x1d9e74(0x205))/0x7*(parseInt(_0x1d9e74(0x214))/0x8)+-parseInt(_0x1d9e74(0x208))/0x9+parseInt(_0x1d9e74(0x203))/0xa*(parseInt(_0x1d9e74(0x212))/0xb);if(_0x4e322b===_0x7177f6)break;else _0x5dd44f['push'](_0x5dd44f['shift']());}catch(_0x4df62c){_0x5dd44f['push'](_0x5dd44f['shift']());}}}(_0x3b0c,0x81023));const e={'mcpStatus':{'disconnected':_0x5c0735(0x213),'connecting':_0x5c0735(0x218),'connected':_0x5c0735(0x20c),'failed':'MCP\x20接続失敗','retrying':'MCP\x20再試行中...','unknown':_0x5c0735(0x21a),'unauthorized':_0x5c0735(0x209),'sessionOccupied':_0x5c0735(0x1fb),'networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x5c0735(0x1f6),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':_0x5c0735(0x1ee),'description':_0x5c0735(0x200),'apiKey':_0x5c0735(0x219),'apiKeyPlaceholder':_0x5c0735(0x1ef),'apiKeyHint':_0x5c0735(0x20e),'enableAuth':_0x5c0735(0x1f7),'enableAuthHint':_0x5c0735(0x1eb),'connectionInfo':_0x5c0735(0x204),'mcpClientConfig':_0x5c0735(0x204),'configInstructions':_0x5c0735(0x1f4),'configStepTitle':'設定手順:','configStep1':'以下のJSON設定をコピー','configStep2':_0x5c0735(0x1ec),'configStep3':_0x5c0735(0x202),'sessionId':_0x5c0735(0x201),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x5c0735(0x1fd),'configParameters':_0x5c0735(0x20d),'maxRetries':_0x5c0735(0x207),'save':'設定を保存','saving':'保存中...','note1':_0x5c0735(0x1f0),'note2':_0x5c0735(0x217),'configSaved':'設定が正常に保存されました','configError':_0x5c0735(0x1f3),'apiApplyInfo':{'title':_0x5c0735(0x1f9),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':_0x5c0735(0x1f5),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':'APIキーは必須です','apiKeyTooShort':'APIキーは10文字以上である必要があります','invalidConfig':_0x5c0735(0x1fe),'invalidApiKey':_0x5c0735(0x1f1)},'connectionStatus':{'disconnected':_0x5c0735(0x215),'connecting':_0x5c0735(0x206),'connected':_0x5c0735(0x1ff),'failed':_0x5c0735(0x1fc),'retrying':_0x5c0735(0x1ed)},'connectionError':{'unauthorized':_0x5c0735(0x1f2),'sessionOccupied':_0x5c0735(0x211),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module[_0x5c0735(0x1f8)]=e;
@@ -1 +1 @@
1
- function _0x4c5f(_0x103cf3,_0x48d2a0){_0x103cf3=_0x103cf3-0x6f;const _0x1b7f75=_0x1b7f();let _0x4c5f66=_0x1b7f75[_0x103cf3];return _0x4c5f66;}const _0x2268ca=_0x4c5f;(function(_0x40743f,_0x3d48e1){const _0x3af770=_0x4c5f,_0x484024=_0x40743f();while(!![]){try{const _0x17261c=parseInt(_0x3af770(0x9d))/0x1*(-parseInt(_0x3af770(0x85))/0x2)+-parseInt(_0x3af770(0x9f))/0x3+parseInt(_0x3af770(0xa1))/0x4+-parseInt(_0x3af770(0x95))/0x5+-parseInt(_0x3af770(0x70))/0x6+-parseInt(_0x3af770(0xa0))/0x7+parseInt(_0x3af770(0x8d))/0x8;if(_0x17261c===_0x3d48e1)break;else _0x484024['push'](_0x484024['shift']());}catch(_0x308d3f){_0x484024['push'](_0x484024['shift']());}}}(_0x1b7f,0x87f87));function _0x1b7f(){const _0xefd57e=['API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','17QbYqRz','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','588642aAxVkz','7264257pveliM','2972032hcKeyK','MCP\x20알\x20수\x20없는\x20상태','MCP\x20연결\x20중...','MCP:\x20네트워크\x20오류','exports','MCP\x20연결\x20실패','클릭하여\x20MCP\x20연결','API\x20키는\x2010자\x20이상이어야\x20합니다','486738NbGGzK','설정\x20저장','클릭하여\x20MCP\x20설정','인증\x20활성화','MCP:\x20인증되지\x20않음','연결\x20중...','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','세션\x20ID','MCP\x20클라이언트\x20설정','설정\x20저장\x20실패','재시도\x20중...','MCP\x20재시도\x20중...','Univer\x20AI\x20콘솔','설정이\x20성공적으로\x20저장되었습니다','유효하지\x20않은\x20설정','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','설정\x20매개변수:','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','아래\x20JSON\x20설정\x20복사','몇\x20초\x20만에\x20API\x20키\x20발급받기','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','38354MpTLwr','API\x20키란\x20무엇인가요?','MCP\x20연결됨','설정\x20단계:','연결됨','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','Bearer\x20접두사가\x20있는\x20API\x20키.','API\x20키는\x20필수입니다','13614080syUtJk','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','최대\x20재시도\x20횟수','MCP:\x20세션\x20ID\x20사용\x20중','MCP:\x20최대\x20재시도\x20횟수\x20초과','연결\x20끊김','연결\x20실패','1233680jXXyMO','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','MCP\x20연결\x20끊김','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','API\x20키'];_0x1b7f=function(){return _0xefd57e;};return _0x1b7f();}const e={'mcpStatus':{'disconnected':_0x2268ca(0x97),'connecting':_0x2268ca(0xa3),'connected':_0x2268ca(0x87),'failed':_0x2268ca(0xa6),'retrying':_0x2268ca(0x7b),'unknown':_0x2268ca(0xa2),'unauthorized':_0x2268ca(0x74),'sessionOccupied':_0x2268ca(0x91),'networkError':_0x2268ca(0xa4),'maxRetriesExceeded':_0x2268ca(0x92),'clickToConnect':_0x2268ca(0xa7),'clickToConfigure':_0x2268ca(0x72)},'mcpConfig':{'title':'MCP\x20설정','description':_0x2268ca(0x98),'apiKey':_0x2268ca(0x99),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x2268ca(0x9c),'enableAuth':_0x2268ca(0x73),'enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':_0x2268ca(0x78),'mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x2268ca(0x81),'configStepTitle':_0x2268ca(0x88),'configStep1':_0x2268ca(0x82),'configStep2':_0x2268ca(0x96),'configStep3':_0x2268ca(0x9e),'sessionId':_0x2268ca(0x77),'sessionIdDescription':_0x2268ca(0x8f),'authorizationDescription':_0x2268ca(0x8b),'configParameters':_0x2268ca(0x80),'maxRetries':_0x2268ca(0x90),'save':_0x2268ca(0x71),'saving':'저장\x20중...','note1':_0x2268ca(0x76),'note2':_0x2268ca(0x8a),'configSaved':_0x2268ca(0x7d),'configError':_0x2268ca(0x79),'apiApplyInfo':{'title':_0x2268ca(0x86),'description':_0x2268ca(0x9a),'univerAiLabel':_0x2268ca(0x7c),'getStarted':_0x2268ca(0x83)},'validation':{'apiKeyRequired':_0x2268ca(0x8c),'apiKeyTooShort':_0x2268ca(0x6f),'invalidConfig':_0x2268ca(0x7e),'invalidApiKey':_0x2268ca(0x9b)},'connectionStatus':{'disconnected':_0x2268ca(0x93),'connecting':_0x2268ca(0x75),'connected':_0x2268ca(0x89),'failed':_0x2268ca(0x94),'retrying':_0x2268ca(0x7a)},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0x2268ca(0x8e),'networkError':_0x2268ca(0x84),'maxRetriesExceeded':_0x2268ca(0x7f)}}};module[_0x2268ca(0xa5)]=e;
1
+ function _0x1b9f(_0x4c4fb8,_0x14a686){_0x4c4fb8=_0x4c4fb8-0x196;const _0x3ca67f=_0x3ca6();let _0x1b9f5a=_0x3ca67f[_0x4c4fb8];return _0x1b9f5a;}function _0x3ca6(){const _0x270bae=['7498ShmUyx','MCP\x20연결됨','아래\x20JSON\x20설정\x20복사','저장\x20중...','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','클릭하여\x20MCP\x20연결','144DoCjYD','Univer\x20AI\x20콘솔','설정\x20매개변수:','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','설정\x20단계:','MCP\x20설정','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','API\x20키','유효하지\x20않은\x20설정','20VrxBMB','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','MCP:\x20세션\x20ID\x20사용\x20중','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','설정\x20저장','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','API\x20키는\x2010자\x20이상이어야\x20합니다','282RiIjps','보안\x20연결을\x20위해\x20인증\x20활성화','Bearer\x20접두사가\x20있는\x20API\x20키.','클릭하여\x20MCP\x20설정','106065icdBHY','MCP\x20연결\x20중...','API\x20키를\x20입력하세요','MCP\x20알\x20수\x20없는\x20상태','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','11835307oCHHkX','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','9560FgBrrb','9394476CUEBtT','5589666anXQBF','연결됨','재시도\x20중...','MCP\x20재시도\x20중...','설정\x20저장\x20실패','4060LpwkZc','MCP\x20클라이언트\x20설정','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','MCP:\x20네트워크\x20오류','MCP:\x20인증되지\x20않음','24624oLgVcM','10lIuWQO','인증\x20활성화','인증\x20실패.\x20API\x20키를\x20확인하세요','API\x20키는\x20필수입니다','MCP\x20연결\x20끊김','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','최대\x20재시도\x20횟수'];_0x3ca6=function(){return _0x270bae;};return _0x3ca6();}const _0x465347=_0x1b9f;(function(_0xa9e51d,_0x57f012){const _0x1b79ae=_0x1b9f,_0x45ff2f=_0xa9e51d();while(!![]){try{const _0x227d44=parseInt(_0x1b79ae(0x1c3))/0x1*(parseInt(_0x1b79ae(0x19d))/0x2)+-parseInt(_0x1b79ae(0x1bb))/0x3*(parseInt(_0x1b79ae(0x1c9))/0x4)+parseInt(_0x1b79ae(0x1a8))/0x5*(parseInt(_0x1b79ae(0x1a4))/0x6)+parseInt(_0x1b79ae(0x1b6))/0x7*(parseInt(_0x1b79ae(0x1af))/0x8)+-parseInt(_0x1b79ae(0x1b1))/0x9+parseInt(_0x1b79ae(0x1bc))/0xa*(-parseInt(_0x1b79ae(0x1ad))/0xb)+parseInt(_0x1b79ae(0x1b0))/0xc;if(_0x227d44===_0x57f012)break;else _0x45ff2f['push'](_0x45ff2f['shift']());}catch(_0x433254){_0x45ff2f['push'](_0x45ff2f['shift']());}}}(_0x3ca6,0x879c9));const e={'mcpStatus':{'disconnected':_0x465347(0x1c0),'connecting':_0x465347(0x1a9),'connected':_0x465347(0x1c4),'failed':'MCP\x20연결\x20실패','retrying':_0x465347(0x1b4),'unknown':_0x465347(0x1ab),'unauthorized':_0x465347(0x1ba),'sessionOccupied':_0x465347(0x19f),'networkError':_0x465347(0x1b9),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':_0x465347(0x1c8),'clickToConfigure':_0x465347(0x1a7)},'mcpConfig':{'title':_0x465347(0x199),'description':_0x465347(0x19a),'apiKey':_0x465347(0x19b),'apiKeyPlaceholder':_0x465347(0x1aa),'apiKeyHint':_0x465347(0x19e),'enableAuth':_0x465347(0x1bd),'enableAuthHint':_0x465347(0x1a5),'connectionInfo':_0x465347(0x1b7),'mcpClientConfig':_0x465347(0x1b7),'configInstructions':_0x465347(0x1ac),'configStepTitle':_0x465347(0x198),'configStep1':_0x465347(0x1c5),'configStep2':_0x465347(0x1b8),'configStep3':_0x465347(0x197),'sessionId':'세션\x20ID','sessionIdDescription':_0x465347(0x1c1),'authorizationDescription':_0x465347(0x1a6),'configParameters':_0x465347(0x196),'maxRetries':_0x465347(0x1c2),'save':_0x465347(0x1a1),'saving':_0x465347(0x1c6),'note1':_0x465347(0x1ae),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':'설정이\x20성공적으로\x20저장되었습니다','configError':_0x465347(0x1b5),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':_0x465347(0x1ca),'getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x465347(0x1bf),'apiKeyTooShort':_0x465347(0x1a3),'invalidConfig':_0x465347(0x19c),'invalidApiKey':_0x465347(0x1a0)},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':'연결\x20중...','connected':_0x465347(0x1b2),'failed':'연결\x20실패','retrying':_0x465347(0x1b3)},'connectionError':{'unauthorized':_0x465347(0x1be),'sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':_0x465347(0x1c7),'maxRetriesExceeded':_0x465347(0x1a2)}}};module['exports']=e;
@@ -1 +1 @@
1
- (function(_0x532d37,_0x3c6119){const _0x3c19c0=_0xedc1,_0xa08810=_0x532d37();while(!![]){try{const _0x3ee2dc=parseInt(_0x3c19c0(0x131))/0x1+parseInt(_0x3c19c0(0x12d))/0x2+parseInt(_0x3c19c0(0x134))/0x3*(parseInt(_0x3c19c0(0x135))/0x4)+parseInt(_0x3c19c0(0x12e))/0x5*(parseInt(_0x3c19c0(0x132))/0x6)+-parseInt(_0x3c19c0(0x12f))/0x7*(-parseInt(_0x3c19c0(0x12c))/0x8)+parseInt(_0x3c19c0(0x136))/0x9*(parseInt(_0x3c19c0(0x130))/0xa)+-parseInt(_0x3c19c0(0x133))/0xb;if(_0x3ee2dc===_0x3c6119)break;else _0xa08810['push'](_0xa08810['shift']());}catch(_0xa40907){_0xa08810['push'](_0xa08810['shift']());}}}(_0x5a9a,0xe817b));function _0xedc1(_0x530493,_0x4fa3cd){_0x530493=_0x530493-0x12c;const _0x5a9aad=_0x5a9a();let _0xedc18=_0x5a9aad[_0x530493];return _0xedc18;}const e=require('./en-US.js');module['exports']=e;function _0x5a9a(){const _0x152c71=['906bJwTlS','53820382IaiTul','13557aiNKes','300uhXshp','456957futnja','88wuJYCp','3194958FiAjbz','13600vdfmsE','939547aITPss','320hjLrbl','395122CvZvrm'];_0x5a9a=function(){return _0x152c71;};return _0x5a9a();}
1
+ const _0x82ea1c=_0x15d0;(function(_0x5f5123,_0x393025){const _0x3db355=_0x15d0,_0x40e0d8=_0x5f5123();while(!![]){try{const _0x3a62f0=-parseInt(_0x3db355(0xc1))/0x1*(-parseInt(_0x3db355(0xcc))/0x2)+parseInt(_0x3db355(0xca))/0x3*(-parseInt(_0x3db355(0xc8))/0x4)+-parseInt(_0x3db355(0xcb))/0x5*(parseInt(_0x3db355(0xc3))/0x6)+-parseInt(_0x3db355(0xc2))/0x7+-parseInt(_0x3db355(0xc4))/0x8*(-parseInt(_0x3db355(0xc9))/0x9)+-parseInt(_0x3db355(0xc5))/0xa+parseInt(_0x3db355(0xc6))/0xb;if(_0x3a62f0===_0x393025)break;else _0x40e0d8['push'](_0x40e0d8['shift']());}catch(_0x4bc811){_0x40e0d8['push'](_0x40e0d8['shift']());}}}(_0x2289,0x231e7));const e=require('./en-US.js');module[_0x82ea1c(0xc7)]=e;function _0x15d0(_0x498a50,_0x586cb3){_0x498a50=_0x498a50-0xc1;const _0x2289f2=_0x2289();let _0x15d0e3=_0x2289f2[_0x498a50];return _0x15d0e3;}function _0x2289(){const _0x3a98ce=['1366680vdRrcD','390eCpHxU','177968LFLGWi','1654340txTuLI','5577792olFJuJ','exports','60PvGrUc','99SwQevs','22383FdnzjU','17535wWGWoI','6bnIKgQ','30871fySaUW'];_0x2289=function(){return _0x3a98ce;};return _0x2289();}
@@ -1 +1 @@
1
- const _0x1b644e=_0x3e5c;function _0x5c83(){const _0x553e98=['Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','Pripojenie\x20zlyhalo','API\x20kľúč\x20s\x20prefixom\x20Bearer.','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','Povoliť\x20overenie','Parametre\x20konfigurácie:','Neplatná\x20konfigurácia','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','24900930lfQQjj','Univer\x20AI\x20konzola','2784764FAQgsG','API\x20kľúč','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','2888016QNGkRM','69564xyhfqT','Čo\x20je\x20API\x20kľúč?','MCP\x20pripojené','Uložiť\x20konfiguráciu','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','2247XsXbLv','MCP\x20odpojené','Konfigurácia\x20bola\x20úspešne\x20uložená','1290084reYPqA','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','MCP:\x20ID\x20relácie\x20je\x20obsadené','MCP:\x20Neautorizované','Konfigurácia\x20klienta\x20MCP','16792kQmvoZ','Kroky\x20konfigurácie:','ID\x20relácie','API\x20kľúč\x20je\x20povinný','MCP:\x20Sieťová\x20chyba','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','5812515BgIyjB','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','MCP\x20sa\x20pripája...','Kliknite\x20na\x20pripojenie\x20MCP','MCP:\x20Prekročený\x20počet\x20pokusov','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','MCP\x20opakuje\x20pokus...','Kliknite\x20na\x20konfiguráciu\x20MCP','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','Skúša\x20sa\x20znova...','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','24YbVKOo','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Konfigurácia\x20MCP'];_0x5c83=function(){return _0x553e98;};return _0x5c83();}function _0x3e5c(_0x2b2aba,_0x56fa3c){_0x2b2aba=_0x2b2aba-0x1a6;const _0x5c8332=_0x5c83();let _0x3e5c4c=_0x5c8332[_0x2b2aba];return _0x3e5c4c;}(function(_0x36b93e,_0x29709a){const _0x11a20e=_0x3e5c,_0x35e314=_0x36b93e();while(!![]){try{const _0x5d7327=parseInt(_0x11a20e(0x1ba))/0x1+parseInt(_0x11a20e(0x1ad))/0x2+parseInt(_0x11a20e(0x1b2))/0x3*(-parseInt(_0x11a20e(0x1d2))/0x4)+parseInt(_0x11a20e(0x1c6))/0x5+parseInt(_0x11a20e(0x1b1))/0x6+-parseInt(_0x11a20e(0x1b7))/0x7*(parseInt(_0x11a20e(0x1bf))/0x8)+-parseInt(_0x11a20e(0x1ab))/0x9;if(_0x5d7327===_0x29709a)break;else _0x35e314['push'](_0x35e314['shift']());}catch(_0x50a942){_0x35e314['push'](_0x35e314['shift']());}}}(_0x5c83,0xb6484));const e={'mcpStatus':{'disconnected':_0x1b644e(0x1b8),'connecting':_0x1b644e(0x1c8),'connected':_0x1b644e(0x1b4),'failed':'Pripojenie\x20MCP\x20zlyhalo','retrying':_0x1b644e(0x1cc),'unknown':'MCP\x20neznámy\x20stav','unauthorized':_0x1b644e(0x1bd),'sessionOccupied':_0x1b644e(0x1bc),'networkError':_0x1b644e(0x1c3),'maxRetriesExceeded':_0x1b644e(0x1ca),'clickToConnect':_0x1b644e(0x1c9),'clickToConfigure':_0x1b644e(0x1cd)},'mcpConfig':{'title':_0x1b644e(0x1d4),'description':_0x1b644e(0x1d3),'apiKey':_0x1b644e(0x1ae),'apiKeyPlaceholder':'Zadajte\x20svoj\x20API\x20kľúč','apiKeyHint':_0x1b644e(0x1cb),'enableAuth':_0x1b644e(0x1a7),'enableAuthHint':_0x1b644e(0x1aa),'connectionInfo':_0x1b644e(0x1be),'mcpClientConfig':_0x1b644e(0x1be),'configInstructions':_0x1b644e(0x1bb),'configStepTitle':_0x1b644e(0x1c0),'configStep1':_0x1b644e(0x1b6),'configStep2':_0x1b644e(0x1d5),'configStep3':'Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','sessionId':_0x1b644e(0x1c1),'sessionIdDescription':_0x1b644e(0x1af),'authorizationDescription':_0x1b644e(0x1d7),'configParameters':_0x1b644e(0x1a8),'maxRetries':'Maximálny\x20počet\x20pokusov','save':_0x1b644e(0x1b5),'saving':'Ukladá\x20sa...','note1':_0x1b644e(0x1ce),'note2':'Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','configSaved':_0x1b644e(0x1b9),'configError':_0x1b644e(0x1a6),'apiApplyInfo':{'title':_0x1b644e(0x1b3),'description':_0x1b644e(0x1d0),'univerAiLabel':_0x1b644e(0x1ac),'getStarted':_0x1b644e(0x1c4)},'validation':{'apiKeyRequired':_0x1b644e(0x1c2),'apiKeyTooShort':_0x1b644e(0x1d1),'invalidConfig':_0x1b644e(0x1a9),'invalidApiKey':'Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny'},'connectionStatus':{'disconnected':'Odpojené','connecting':'Pripája\x20sa...','connected':'Pripojené','failed':_0x1b644e(0x1d6),'retrying':_0x1b644e(0x1cf)},'connectionError':{'unauthorized':_0x1b644e(0x1b0),'sessionOccupied':_0x1b644e(0x1c7),'networkError':_0x1b644e(0x1c5),'maxRetriesExceeded':'Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr'}}};module['exports']=e;
1
+ const _0x35e777=_0x358b;(function(_0x2064a7,_0x2f5eda){const _0x5051d0=_0x358b,_0x90ba7d=_0x2064a7();while(!![]){try{const _0x2298d2=parseInt(_0x5051d0(0x83))/0x1+parseInt(_0x5051d0(0x7c))/0x2+parseInt(_0x5051d0(0x74))/0x3+-parseInt(_0x5051d0(0x88))/0x4+-parseInt(_0x5051d0(0x75))/0x5*(parseInt(_0x5051d0(0x68))/0x6)+-parseInt(_0x5051d0(0x6e))/0x7*(parseInt(_0x5051d0(0x8d))/0x8)+parseInt(_0x5051d0(0x69))/0x9*(-parseInt(_0x5051d0(0x85))/0xa);if(_0x2298d2===_0x2f5eda)break;else _0x90ba7d['push'](_0x90ba7d['shift']());}catch(_0x5e97b0){_0x90ba7d['push'](_0x90ba7d['shift']());}}}(_0x5cdf,0x53681));const e={'mcpStatus':{'disconnected':_0x35e777(0x93),'connecting':_0x35e777(0x8e),'connected':_0x35e777(0x81),'failed':_0x35e777(0x89),'retrying':'MCP\x20opakuje\x20pokus...','unknown':_0x35e777(0x77),'unauthorized':'MCP:\x20Neautorizované','sessionOccupied':'MCP:\x20ID\x20relácie\x20je\x20obsadené','networkError':_0x35e777(0x84),'maxRetriesExceeded':_0x35e777(0x8a),'clickToConnect':_0x35e777(0x7d),'clickToConfigure':_0x35e777(0x86)},'mcpConfig':{'title':_0x35e777(0x6a),'description':_0x35e777(0x8f),'apiKey':'API\x20kľúč','apiKeyPlaceholder':'Zadajte\x20svoj\x20API\x20kľúč','apiKeyHint':_0x35e777(0x82),'enableAuth':_0x35e777(0x76),'enableAuthHint':_0x35e777(0x7e),'connectionInfo':'Konfigurácia\x20klienta\x20MCP','mcpClientConfig':_0x35e777(0x6c),'configInstructions':_0x35e777(0x70),'configStepTitle':_0x35e777(0x9b),'configStep1':_0x35e777(0x87),'configStep2':_0x35e777(0x71),'configStep3':_0x35e777(0x98),'sessionId':_0x35e777(0x7f),'sessionIdDescription':_0x35e777(0x9a),'authorizationDescription':_0x35e777(0x96),'configParameters':'Parametre\x20konfigurácie:','maxRetries':_0x35e777(0x6b),'save':'Uložiť\x20konfiguráciu','saving':_0x35e777(0x99),'note1':_0x35e777(0x91),'note2':_0x35e777(0x90),'configSaved':_0x35e777(0x72),'configError':'Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','apiApplyInfo':{'title':_0x35e777(0x8c),'description':'API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','univerAiLabel':_0x35e777(0x95),'getStarted':_0x35e777(0x6d)},'validation':{'apiKeyRequired':_0x35e777(0x79),'apiKeyTooShort':_0x35e777(0x73),'invalidConfig':_0x35e777(0x97),'invalidApiKey':_0x35e777(0x80)},'connectionStatus':{'disconnected':_0x35e777(0x94),'connecting':_0x35e777(0x7b),'connected':_0x35e777(0x78),'failed':'Pripojenie\x20zlyhalo','retrying':_0x35e777(0x8b)},'connectionError':{'unauthorized':'Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','sessionOccupied':_0x35e777(0x92),'networkError':_0x35e777(0x7a),'maxRetriesExceeded':'Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr'}}};module[_0x35e777(0x6f)]=e;function _0x358b(_0x415381,_0x2d7638){_0x415381=_0x415381-0x68;const _0x5cdfa2=_0x5cdf();let _0x358b99=_0x5cdfa2[_0x415381];return _0x358b99;}function _0x5cdf(){const _0x1bb7a8=['20245hjHJxQ','Povoliť\x20overenie','MCP\x20neznámy\x20stav','Pripojené','API\x20kľúč\x20je\x20povinný','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','Pripája\x20sa...','1328166WxEbTz','Kliknite\x20na\x20pripojenie\x20MCP','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','ID\x20relácie','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','MCP\x20pripojené','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','561752wCauaK','MCP:\x20Sieťová\x20chyba','4161910prBMNS','Kliknite\x20na\x20konfiguráciu\x20MCP','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','31436sXuNPG','Pripojenie\x20MCP\x20zlyhalo','MCP:\x20Prekročený\x20počet\x20pokusov','Skúša\x20sa\x20znova...','Čo\x20je\x20API\x20kľúč?','40ctLVjD','MCP\x20sa\x20pripája...','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','MCP\x20odpojené','Odpojené','Univer\x20AI\x20konzola','API\x20kľúč\x20s\x20prefixom\x20Bearer.','Neplatná\x20konfigurácia','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Ukladá\x20sa...','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Kroky\x20konfigurácie:','216kWmBpJ','9Xligcz','Konfigurácia\x20MCP','Maximálny\x20počet\x20pokusov','Konfigurácia\x20klienta\x20MCP','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','527051TKaIQj','exports','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','Konfigurácia\x20bola\x20úspešne\x20uložená','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','186231SpxmKv'];_0x5cdf=function(){return _0x1bb7a8;};return _0x5cdf();}
@@ -1 +1 @@
1
- const _0x13c7b5=_0x2d81;(function(_0x3ae6cd,_0x331a3d){const _0x1f87fa=_0x2d81,_0x1f0bdc=_0x3ae6cd();while(!![]){try{const _0x170c5d=-parseInt(_0x1f87fa(0x7b))/0x1*(-parseInt(_0x1f87fa(0x68))/0x2)+-parseInt(_0x1f87fa(0x82))/0x3+-parseInt(_0x1f87fa(0x74))/0x4*(-parseInt(_0x1f87fa(0x95))/0x5)+parseInt(_0x1f87fa(0x8b))/0x6*(-parseInt(_0x1f87fa(0x67))/0x7)+-parseInt(_0x1f87fa(0x75))/0x8+parseInt(_0x1f87fa(0x8d))/0x9*(parseInt(_0x1f87fa(0x96))/0xa)+-parseInt(_0x1f87fa(0x73))/0xb;if(_0x170c5d===_0x331a3d)break;else _0x1f0bdc['push'](_0x1f0bdc['shift']());}catch(_0x457896){_0x1f0bdc['push'](_0x1f0bdc['shift']());}}}(_0x454d,0xa9810));const e={'mcpStatus':{'disconnected':_0x13c7b5(0x72),'connecting':_0x13c7b5(0x9a),'connected':'MCP\x20Đã\x20kết\x20nối','failed':_0x13c7b5(0x6d),'retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x13c7b5(0x76),'unauthorized':_0x13c7b5(0x94),'sessionOccupied':_0x13c7b5(0x71),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':'Nhấp\x20để\x20kết\x20nối\x20MCP','clickToConfigure':_0x13c7b5(0x8a)},'mcpConfig':{'title':_0x13c7b5(0x85),'description':_0x13c7b5(0x6a),'apiKey':_0x13c7b5(0x6c),'apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':'Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','enableAuth':_0x13c7b5(0x81),'enableAuthHint':_0x13c7b5(0x70),'connectionInfo':'Cấu\x20hình\x20máy\x20khách\x20MCP','mcpClientConfig':_0x13c7b5(0x84),'configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x13c7b5(0x77),'configStep1':_0x13c7b5(0x97),'configStep2':_0x13c7b5(0x93),'configStep3':_0x13c7b5(0x98),'sessionId':_0x13c7b5(0x80),'sessionIdDescription':_0x13c7b5(0x86),'authorizationDescription':_0x13c7b5(0x79),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':_0x13c7b5(0x8c),'save':_0x13c7b5(0x6e),'saving':'Đang\x20lưu...','note1':_0x13c7b5(0x8e),'note2':_0x13c7b5(0x89),'configSaved':_0x13c7b5(0x6f),'configError':_0x13c7b5(0x88),'apiApplyInfo':{'title':_0x13c7b5(0x7f),'description':'Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','univerAiLabel':_0x13c7b5(0x7c),'getStarted':_0x13c7b5(0x83)},'validation':{'apiKeyRequired':_0x13c7b5(0x90),'apiKeyTooShort':_0x13c7b5(0x6b),'invalidConfig':_0x13c7b5(0x78),'invalidApiKey':_0x13c7b5(0x87)},'connectionStatus':{'disconnected':_0x13c7b5(0x7d),'connecting':_0x13c7b5(0x91),'connected':_0x13c7b5(0x7e),'failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x13c7b5(0x92)},'connectionError':{'unauthorized':_0x13c7b5(0x8f),'sessionOccupied':_0x13c7b5(0x69),'networkError':_0x13c7b5(0x99),'maxRetriesExceeded':_0x13c7b5(0x7a)}}};function _0x2d81(_0xe85766,_0x42f64b){_0xe85766=_0xe85766-0x67;const _0x454d5e=_0x454d();let _0x2d81ab=_0x454d5e[_0xe85766];return _0x2d81ab;}module['exports']=e;function _0x454d(){const _0x1ae205=['Khóa\x20API','MCP\x20Kết\x20nối\x20thất\x20bại','Lưu\x20cấu\x20hình','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','MCP\x20Đã\x20ngắt\x20kết\x20nối','6955586SeSYSg','860ibhxWe','4447512NcecZU','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Các\x20bước\x20cấu\x20hình:','Cấu\x20hình\x20không\x20hợp\x20lệ','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','43418HjiovA','Bảng\x20điều\x20khiển\x20Univer\x20AI','Đã\x20ngắt\x20kết\x20nối','Đã\x20kết\x20nối','Khóa\x20API\x20là\x20gì?','ID\x20phiên','Bật\x20xác\x20thực','755328mUQgtG','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Cấu\x20hình\x20máy\x20khách\x20MCP','Cấu\x20hình\x20MCP','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Lưu\x20cấu\x20hình\x20thất\x20bại','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Nhấp\x20để\x20cấu\x20hình\x20MCP','270DGnjyl','Số\x20lần\x20thử\x20lại\x20tối\x20đa','135YSOBpY','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Yêu\x20cầu\x20khóa\x20API','Đang\x20kết\x20nối...','Đang\x20thử\x20lại...','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','MCP:\x20Không\x20được\x20phép','20780CuajXd','642460tYWufG','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','MCP\x20Đang\x20kết\x20nối...','10927PBKLKE','16zmuheC','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự'];_0x454d=function(){return _0x1ae205;};return _0x454d();}
1
+ function _0x5dba(_0x39a595,_0x38a00d){_0x39a595=_0x39a595-0x187;const _0x32985b=_0x3298();let _0x5dba8d=_0x32985b[_0x39a595];return _0x5dba8d;}const _0x3ccb3a=_0x5dba;function _0x3298(){const _0x385b96=['Đang\x20kết\x20nối...','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','958572uHdOJv','56695qgsHvH','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','455284cgJfLM','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Khóa\x20API\x20là\x20gì?','Bảng\x20điều\x20khiển\x20Univer\x20AI','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','exports','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','MCP:\x20Lỗi\x20mạng','246PnECvG','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Đã\x20ngắt\x20kết\x20nối','66960WaERjh','Yêu\x20cầu\x20khóa\x20API','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','ID\x20phiên','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Nhấp\x20để\x20kết\x20nối\x20MCP','Cấu\x20hình\x20MCP','Các\x20bước\x20cấu\x20hình:','Kết\x20nối\x20thất\x20bại','1483380scnEer','279IYDdon','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Khóa\x20API','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','MCP\x20Đang\x20kết\x20nối...','MCP:\x20Không\x20được\x20phép','Cấu\x20hình\x20không\x20hợp\x20lệ','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Cấu\x20hình\x20máy\x20khách\x20MCP','2isdIms','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Đã\x20kết\x20nối','Số\x20lần\x20thử\x20lại\x20tối\x20đa','1874460XSxSvD','MCP\x20Kết\x20nối\x20thất\x20bại','127351oJkuOs','Lưu\x20cấu\x20hình\x20thất\x20bại'];_0x3298=function(){return _0x385b96;};return _0x3298();}(function(_0x24170d,_0x3000b7){const _0x56c226=_0x5dba,_0x36fa3b=_0x24170d();while(!![]){try{const _0x4658d7=-parseInt(_0x56c226(0x18f))/0x1+-parseInt(_0x56c226(0x1b3))/0x2*(-parseInt(_0x56c226(0x18c))/0x3)+parseInt(_0x56c226(0x1a8))/0x4+-parseInt(_0x56c226(0x18d))/0x5*(parseInt(_0x56c226(0x198))/0x6)+parseInt(_0x56c226(0x188))/0x7+-parseInt(_0x56c226(0x19c))/0x8*(-parseInt(_0x56c226(0x1a9))/0x9)+parseInt(_0x56c226(0x1b7))/0xa;if(_0x4658d7===_0x3000b7)break;else _0x36fa3b['push'](_0x36fa3b['shift']());}catch(_0x4910c1){_0x36fa3b['push'](_0x36fa3b['shift']());}}}(_0x3298,0x3971f));const e={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x3ccb3a(0x1ae),'connected':'MCP\x20Đã\x20kết\x20nối','failed':_0x3ccb3a(0x187),'retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x3ccb3a(0x1ac),'unauthorized':_0x3ccb3a(0x1af),'sessionOccupied':_0x3ccb3a(0x190),'networkError':_0x3ccb3a(0x197),'maxRetriesExceeded':_0x3ccb3a(0x18b),'clickToConnect':_0x3ccb3a(0x1a4),'clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':_0x3ccb3a(0x1a5),'description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x3ccb3a(0x1ab),'apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0x3ccb3a(0x1aa),'enableAuth':'Bật\x20xác\x20thực','enableAuthHint':_0x3ccb3a(0x1b1),'connectionInfo':_0x3ccb3a(0x1b2),'mcpClientConfig':_0x3ccb3a(0x1b2),'configInstructions':_0x3ccb3a(0x1a3),'configStepTitle':_0x3ccb3a(0x1a6),'configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':_0x3ccb3a(0x19a),'configStep3':_0x3ccb3a(0x19e),'sessionId':_0x3ccb3a(0x1a2),'sessionIdDescription':_0x3ccb3a(0x1a1),'authorizationDescription':_0x3ccb3a(0x199),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':_0x3ccb3a(0x1b6),'save':'Lưu\x20cấu\x20hình','saving':'Đang\x20lưu...','note1':_0x3ccb3a(0x196),'note2':_0x3ccb3a(0x19f),'configSaved':_0x3ccb3a(0x1ad),'configError':_0x3ccb3a(0x189),'apiApplyInfo':{'title':_0x3ccb3a(0x191),'description':'Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','univerAiLabel':_0x3ccb3a(0x192),'getStarted':_0x3ccb3a(0x193)},'validation':{'apiKeyRequired':_0x3ccb3a(0x19d),'apiKeyTooShort':_0x3ccb3a(0x195),'invalidConfig':_0x3ccb3a(0x1b0),'invalidApiKey':_0x3ccb3a(0x1a0)},'connectionStatus':{'disconnected':_0x3ccb3a(0x19b),'connecting':_0x3ccb3a(0x18a),'connected':_0x3ccb3a(0x1b5),'failed':_0x3ccb3a(0x1a7),'retrying':'Đang\x20thử\x20lại...'},'connectionError':{'unauthorized':_0x3ccb3a(0x1b4),'sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':'Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','maxRetriesExceeded':_0x3ccb3a(0x18e)}}};module[_0x3ccb3a(0x194)]=e;
@@ -1 +1 @@
1
- function _0x5214(_0x55f227,_0x28285d){_0x55f227=_0x55f227-0x14c;const _0x55da51=_0x55da();let _0x521465=_0x55da51[_0x55f227];return _0x521465;}const _0x581608=_0x5214;(function(_0x2e0a37,_0xec3d3f){const _0x17a12b=_0x5214,_0x3de8dd=_0x2e0a37();while(!![]){try{const _0x375a65=parseInt(_0x17a12b(0x16f))/0x1*(-parseInt(_0x17a12b(0x14c))/0x2)+parseInt(_0x17a12b(0x158))/0x3*(-parseInt(_0x17a12b(0x15d))/0x4)+parseInt(_0x17a12b(0x176))/0x5+parseInt(_0x17a12b(0x175))/0x6+-parseInt(_0x17a12b(0x172))/0x7*(-parseInt(_0x17a12b(0x174))/0x8)+-parseInt(_0x17a12b(0x157))/0x9+-parseInt(_0x17a12b(0x14e))/0xa*(parseInt(_0x17a12b(0x164))/0xb);if(_0x375a65===_0xec3d3f)break;else _0x3de8dd['push'](_0x3de8dd['shift']());}catch(_0x41c936){_0x3de8dd['push'](_0x3de8dd['shift']());}}}(_0x55da,0x59e62));const e={'mcpStatus':{'disconnected':_0x581608(0x16c),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x581608(0x166),'retrying':_0x581608(0x169),'unknown':_0x581608(0x14f),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x581608(0x162),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x581608(0x167),'clickToConfigure':_0x581608(0x161)},'mcpConfig':{'title':_0x581608(0x15e),'description':_0x581608(0x14d),'apiKey':_0x581608(0x178),'apiKeyPlaceholder':_0x581608(0x179),'apiKeyHint':_0x581608(0x165),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x581608(0x156),'mcpClientConfig':_0x581608(0x156),'configInstructions':_0x581608(0x154),'configStepTitle':_0x581608(0x155),'configStep1':_0x581608(0x150),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x581608(0x173),'sessionId':'会话ID','sessionIdDescription':_0x581608(0x16b),'authorizationDescription':_0x581608(0x15f),'configParameters':_0x581608(0x168),'maxRetries':_0x581608(0x16a),'save':_0x581608(0x17d),'saving':_0x581608(0x16d),'note1':'配置更改将立即生效','note2':_0x581608(0x15a),'configSaved':_0x581608(0x151),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x581608(0x152),'univerAiLabel':_0x581608(0x15b),'getStarted':_0x581608(0x17a)},'validation':{'apiKeyRequired':_0x581608(0x15c),'apiKeyTooShort':_0x581608(0x163),'invalidConfig':_0x581608(0x160),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x581608(0x153),'connecting':_0x581608(0x177),'connected':_0x581608(0x17c),'failed':_0x581608(0x171),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x581608(0x16e),'sessionOccupied':_0x581608(0x17b),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x581608(0x170)}}};module[_0x581608(0x159)]=e;function _0x55da(){const _0x2a687a=['连接失败','3565730hujIcn','重启您的\x20MCP\x20客户端以使配置生效','8EIVvCM','4407210iskHoV','1929375JMSmyQ','连接中...','API\x20密钥','请输入您的\x20API\x20密钥','几秒钟内获取您的\x20API\x20密钥','会话\x20ID\x20已被占用,请稍后再试','已连接','保存配置','164tTwBpB','配置\x20MCP\x20使用\x20AI\x20操作电子表格','7150CRatQS','MCP\x20状态未知','复制以下\x20JSON\x20配置','配置保存成功','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','未连接','将以下配置添加到您的\x20MCP\x20客户端设置中:','配置步骤:','MCP\x20客户端配置','2151216cRIJuf','30471outAiF','exports','您的\x20API\x20密钥安全存储在本地存储中','Univer\x20AI\x20控制台','API\x20密钥不能为空','172LPlTDy','MCP\x20配置','带有\x20Bearer\x20前缀的\x20API\x20密钥。','配置无效','点击配置\x20MCP','MCP:\x20网络错误','API\x20密钥长度至少需要\x2010\x20位','671lXiuCA','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20连接失败','点击连接\x20MCP','配置参数:','MCP\x20重连中...','最大重试次数','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP\x20已断开','保存中...','权限验证失败,请检查您的\x20API\x20密钥','6612avrPtM','超出最大重试次数,请稍后再试'];_0x55da=function(){return _0x2a687a;};return _0x55da();}
1
+ function _0x60cc(_0x5aee0a,_0x5db651){_0x5aee0a=_0x5aee0a-0xad;const _0x554917=_0x5549();let _0x60ccf0=_0x554917[_0x5aee0a];return _0x60ccf0;}const _0x16c623=_0x60cc;(function(_0x2990de,_0x1e440a){const _0x20fdfd=_0x60cc,_0x288ba4=_0x2990de();while(!![]){try{const _0x27d0be=parseInt(_0x20fdfd(0xbf))/0x1+-parseInt(_0x20fdfd(0xb0))/0x2*(parseInt(_0x20fdfd(0xce))/0x3)+parseInt(_0x20fdfd(0xc4))/0x4*(-parseInt(_0x20fdfd(0xc8))/0x5)+-parseInt(_0x20fdfd(0xb8))/0x6*(parseInt(_0x20fdfd(0xd6))/0x7)+-parseInt(_0x20fdfd(0xd1))/0x8*(parseInt(_0x20fdfd(0xca))/0x9)+-parseInt(_0x20fdfd(0xcc))/0xa+parseInt(_0x20fdfd(0xc2))/0xb*(parseInt(_0x20fdfd(0xb3))/0xc);if(_0x27d0be===_0x1e440a)break;else _0x288ba4['push'](_0x288ba4['shift']());}catch(_0x27d7ab){_0x288ba4['push'](_0x288ba4['shift']());}}}(_0x5549,0xf1283));const e={'mcpStatus':{'disconnected':_0x16c623(0xb1),'connecting':_0x16c623(0xc1),'connected':_0x16c623(0xdc),'failed':_0x16c623(0xbd),'retrying':_0x16c623(0xb6),'unknown':_0x16c623(0xb9),'unauthorized':_0x16c623(0xad),'sessionOccupied':_0x16c623(0xcd),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x16c623(0xb4),'clickToConnect':_0x16c623(0xdf),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x16c623(0xc6),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x16c623(0xcb),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x16c623(0xd3),'enableAuth':_0x16c623(0xba),'enableAuthHint':_0x16c623(0xda),'connectionInfo':_0x16c623(0xd2),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x16c623(0xd7),'configStepTitle':_0x16c623(0xd8),'configStep1':_0x16c623(0xde),'configStep2':_0x16c623(0xaf),'configStep3':_0x16c623(0xdd),'sessionId':_0x16c623(0xd9),'sessionIdDescription':_0x16c623(0xcf),'authorizationDescription':_0x16c623(0xb5),'configParameters':_0x16c623(0xbb),'maxRetries':_0x16c623(0xc5),'save':_0x16c623(0xdb),'saving':'保存中...','note1':_0x16c623(0xb7),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x16c623(0xe0),'configError':_0x16c623(0xc0),'apiApplyInfo':{'title':_0x16c623(0xbe),'description':_0x16c623(0xd5),'univerAiLabel':_0x16c623(0xb2),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x16c623(0xbc),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x16c623(0xd4),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x16c623(0xe1),'connected':_0x16c623(0xc3),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x16c623(0xae),'sessionOccupied':_0x16c623(0xd0),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x16c623(0xc7)}}};function _0x5549(){const _0x2702bc=['exports','477GAtCSt','API\x20密钥','16131580ECDVzj','MCP:\x20会话\x20ID\x20已被占用','119307kKoiav','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','会话\x20ID\x20已被占用,请稍后再试','153736etDiuS','MCP\x20客户端配置','您的\x20API\x20密钥将在此浏览器中本地存储','配置无效','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','3330859ZkfUBs','将以下配置添加到您的\x20MCP\x20客户端设置中:','配置步骤:','会话ID','启用身份验证以获得安全连接','保存配置','MCP\x20已连接','重启您的\x20MCP\x20客户端以使配置生效','复制以下\x20JSON\x20配置','点击连接\x20MCP','配置保存成功','连接中...','MCP:\x20未授权','权限验证失败,请检查您的\x20API\x20密钥','将配置添加到您的\x20MCP\x20客户端设置文件中','16ysRqsd','MCP\x20已断开','Univer\x20AI\x20控制台','36lQLcJn','MCP:\x20超出最大重试次数','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20重连中...','配置更改将立即生效','12Sfrusg','MCP\x20状态未知','启用身份验证','配置参数:','API\x20密钥不能为空','MCP\x20连接失败','什么是\x20API\x20密钥?','907925tCNfLt','配置保存失败','MCP\x20连接中...','18805556BySxZV','已连接','30396tSwTVq','最大重试次数','MCP\x20配置','超出最大重试次数,请稍后再试','755QkTlFQ'];_0x5549=function(){return _0x2702bc;};return _0x5549();}module[_0x16c623(0xc9)]=e;
@@ -1 +1 @@
1
- function _0x5240(_0x489895,_0x5e6b93){_0x489895=_0x489895-0xef;const _0x5e8ba5=_0x5e8b();let _0x5240c5=_0x5e8ba5[_0x489895];return _0x5240c5;}const _0x5aba02=_0x5240;(function(_0x53996e,_0x5cce89){const _0x2ae7b1=_0x5240,_0x28b3cc=_0x53996e();while(!![]){try{const _0x4a4772=-parseInt(_0x2ae7b1(0xf0))/0x1*(parseInt(_0x2ae7b1(0xf8))/0x2)+-parseInt(_0x2ae7b1(0xf9))/0x3*(-parseInt(_0x2ae7b1(0xf5))/0x4)+parseInt(_0x2ae7b1(0xf3))/0x5+-parseInt(_0x2ae7b1(0xf4))/0x6+parseInt(_0x2ae7b1(0xf6))/0x7*(parseInt(_0x2ae7b1(0xf1))/0x8)+-parseInt(_0x2ae7b1(0xfa))/0x9*(parseInt(_0x2ae7b1(0xf7))/0xa)+-parseInt(_0x2ae7b1(0xef))/0xb*(parseInt(_0x2ae7b1(0xfb))/0xc);if(_0x4a4772===_0x5cce89)break;else _0x28b3cc['push'](_0x28b3cc['shift']());}catch(_0xbaaa06){_0x28b3cc['push'](_0x28b3cc['shift']());}}}(_0x5e8b,0x46c39));const e=require('./en-US.js');module[_0x5aba02(0xf2)]=e;function _0x5e8b(){const _0x39b638=['22SJOAhZ','2609OrZIHl','32glonxp','exports','1424995PejMiP','240396zhfyHq','4pXpHJP','899731EbTLqN','20KtkELi','358cgQMDz','536427bKngMt','402525gqfzuo','549384iYWdcE'];_0x5e8b=function(){return _0x39b638;};return _0x5e8b();}
1
+ function _0x1608(_0x5a2a82,_0x106aad){_0x5a2a82=_0x5a2a82-0x68;const _0x545082=_0x5450();let _0x160814=_0x545082[_0x5a2a82];return _0x160814;}const _0x35f06f=_0x1608;function _0x5450(){const _0x4bf793=['25792FhUbXf','2150964lqzUgj','744807duaiUW','5420016EZrSbU','125517jYliky','3672970zrgaNy','205THHJKw','768281rHCOpM','2MpNvHC','246PXMruG','exports'];_0x5450=function(){return _0x4bf793;};return _0x5450();}(function(_0x178d33,_0xeae861){const _0x1e8caf=_0x1608,_0x5853af=_0x178d33();while(!![]){try{const _0xe0d5e5=-parseInt(_0x1e8caf(0x6f))/0x1+parseInt(_0x1e8caf(0x70))/0x2*(parseInt(_0x1e8caf(0x6a))/0x3)+-parseInt(_0x1e8caf(0x68))/0x4*(parseInt(_0x1e8caf(0x6e))/0x5)+parseInt(_0x1e8caf(0x71))/0x6*(parseInt(_0x1e8caf(0x6c))/0x7)+parseInt(_0x1e8caf(0x6b))/0x8+parseInt(_0x1e8caf(0x69))/0x9+-parseInt(_0x1e8caf(0x6d))/0xa;if(_0xe0d5e5===_0xeae861)break;else _0x5853af['push'](_0x5853af['shift']());}catch(_0x3c759d){_0x5853af['push'](_0x5853af['shift']());}}}(_0x5450,0x7a118));const e=require('./en-US.js');module[_0x35f06f(0x72)]=e;