@univerjs-pro/mcp-ui 0.15.2 → 0.15.3-insiders.20260131-b9b8805

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 (54) 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 -0
  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 -0
  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 -0
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/locale/sk-SK.d.ts +3 -0
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/sk-SK.js +1 -0
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +8 -8
@@ -1 +1 @@
1
- const _0x50e2dc=_0x3039;function _0x3039(_0x133f35,_0x3bb6d7){_0x133f35=_0x133f35-0x1a8;const _0x4251d1=_0x4251();let _0x303918=_0x4251d1[_0x133f35];return _0x303918;}function _0x4251(){const _0x603481=['10JDTevo','몇\x20초\x20만에\x20API\x20키\x20발급받기','MCP:\x20네트워크\x20오류','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','11668041UHcoWF','연결\x20실패','1165380trCssb','9PqTkkN','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','Univer\x20AI\x20콘솔','MCP\x20연결\x20끊김','연결\x20중...','재시도\x20중...','MCP\x20설정','설정\x20매개변수:','MCP\x20알\x20수\x20없는\x20상태','MCP\x20재시도\x20중...','MCP\x20연결\x20중...','MCP\x20연결\x20실패','1256844DvHwdC','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','설정\x20저장\x20실패','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP\x20연결됨','API\x20키를\x20입력하세요','아래\x20JSON\x20설정\x20복사','API\x20키란\x20무엇인가요?','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','396429lEOBLI','MCP:\x20세션\x20ID\x20사용\x20중','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','클릭하여\x20MCP\x20연결','API\x20키는\x2010자\x20이상이어야\x20합니다','7zjevBk','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','설정이\x20성공적으로\x20저장되었습니다','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','세션\x20ID','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','최대\x20재시도\x20횟수','9303636sDnGgS','3821026qnksBq','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','연결됨','연결\x20끊김','12uwfrgR','API\x20','설정\x20단계:','25plUSDy','8838728RMHOjQ'];_0x4251=function(){return _0x603481;};return _0x4251();}(function(_0x47fe02,_0x3b8540){const _0x1ddc72=_0x3039,_0x11e618=_0x47fe02();while(!![]){try{const _0xfbb557=parseInt(_0x1ddc72(0x1cf))/0x1+parseInt(_0x1ddc72(0x1c6))/0x2*(-parseInt(_0x1ddc72(0x1ba))/0x3)+parseInt(_0x1ddc72(0x1b9))/0x4*(parseInt(_0x1ddc72(0x1b1))/0x5)+parseInt(_0x1ddc72(0x1a9))/0x6*(parseInt(_0x1ddc72(0x1d4))/0x7)+parseInt(_0x1ddc72(0x1b2))/0x8+parseInt(_0x1ddc72(0x1b7))/0x9*(-parseInt(_0x1ddc72(0x1b3))/0xa)+-parseInt(_0x1ddc72(0x1aa))/0xb*(parseInt(_0x1ddc72(0x1ae))/0xc);if(_0xfbb557===_0x3b8540)break;else _0x11e618['push'](_0x11e618['shift']());}catch(_0x283826){_0x11e618['push'](_0x11e618['shift']());}}}(_0x4251,0xef240));const e={'mcpStatus':{'disconnected':_0x50e2dc(0x1bd),'connecting':_0x50e2dc(0x1c4),'connected':_0x50e2dc(0x1ca),'failed':_0x50e2dc(0x1c5),'retrying':_0x50e2dc(0x1c3),'unknown':_0x50e2dc(0x1c2),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x50e2dc(0x1d0),'networkError':_0x50e2dc(0x1b5),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':_0x50e2dc(0x1d2),'clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0x50e2dc(0x1c0),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x50e2dc(0x1af),'apiKeyPlaceholder':_0x50e2dc(0x1cb),'apiKeyHint':_0x50e2dc(0x1d6),'enableAuth':'인증\x20활성화','enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x50e2dc(0x1d8),'configStepTitle':_0x50e2dc(0x1b0),'configStep1':_0x50e2dc(0x1cc),'configStep2':_0x50e2dc(0x1b6),'configStep3':_0x50e2dc(0x1d5),'sessionId':_0x50e2dc(0x1d9),'sessionIdDescription':_0x50e2dc(0x1ab),'authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':_0x50e2dc(0x1c1),'maxRetries':_0x50e2dc(0x1a8),'save':'설정\x20저장','saving':'저장\x20중...','note1':_0x50e2dc(0x1da),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x50e2dc(0x1d7),'configError':_0x50e2dc(0x1c8),'apiApplyInfo':{'title':_0x50e2dc(0x1cd),'description':_0x50e2dc(0x1c7),'univerAiLabel':_0x50e2dc(0x1bc),'getStarted':_0x50e2dc(0x1b4)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0x50e2dc(0x1d3),'invalidConfig':'유효하지\x20않은\x20설정','invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0x50e2dc(0x1ad),'connecting':_0x50e2dc(0x1be),'connected':_0x50e2dc(0x1ac),'failed':_0x50e2dc(0x1b8),'retrying':_0x50e2dc(0x1bf)},'connectionError':{'unauthorized':_0x50e2dc(0x1c9),'sessionOccupied':_0x50e2dc(0x1bb),'networkError':_0x50e2dc(0x1d1),'maxRetriesExceeded':_0x50e2dc(0x1ce)}}};export{e as default};
1
+ function _0x3d86(){const _0x5a9ad2=['클릭하여\x20MCP\x20설정','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','142wkfqBV','재시도\x20중...','MCP:\x20세션\x20ID\x20사용\x20','연결\x20중...','739782BbTYVG','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','API\x20키를\x20입력하세요','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','6467852lWRjzK','2240553ubRxyN','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','339577KbeeCc','연결\x20실패','MCP:\x20최대\x20재시도\x20횟수\x20초과','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','API\x20','인증\x20활성화','MCP\x20연결됨','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20재시도\x20중...','설정이\x20성공적으로\x20저장되었습니다','8546GguuHb','MCP\x20설정','설정\x20단계:','Bearer\x20접두사가\x20있는\x20API\x20키.','설정\x20저장','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','저장\x20중...','연결됨','아래\x20JSON\x20설정\x20복사','15PRTJnC','API\x20키는\x20필수입니다','최대\x20재시도\x20횟수','MCP\x20연결\x20중...','80IJflSH','13634361ysMeAO','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','클릭하여\x20MCP\x20연결','MCP\x20클라이언트\x20설정','세션\x20ID','MCP\x20연결\x20끊김','설정\x20저장\x20실패','API\x20키는\x2010자\x20이상이어야\x20합니다','22323560mabaGC'];_0x3d86=function(){return _0x5a9ad2;};return _0x3d86();}const _0x9cc3cb=_0x1897;(function(_0x3d84dc,_0x1fd975){const _0xca0ba0=_0x1897,_0x3a22e6=_0x3d84dc();while(!![]){try{const _0x52d81e=parseInt(_0xca0ba0(0x117))/0x1*(parseInt(_0xca0ba0(0x100))/0x2)+-parseInt(_0xca0ba0(0x10b))/0x3+parseInt(_0xca0ba0(0x10a))/0x4+-parseInt(_0xca0ba0(0x121))/0x5*(parseInt(_0xca0ba0(0x104))/0x6)+parseInt(_0xca0ba0(0x10d))/0x7*(parseInt(_0xca0ba0(0x125))/0x8)+parseInt(_0xca0ba0(0x126))/0x9+-parseInt(_0xca0ba0(0xfd))/0xa;if(_0x52d81e===_0x1fd975)break;else _0x3a22e6['push'](_0x3a22e6['shift']());}catch(_0x8d85f2){_0x3a22e6['push'](_0x3a22e6['shift']());}}}(_0x3d86,0xd58ae));const e={'mcpStatus':{'disconnected':_0x9cc3cb(0x12b),'connecting':_0x9cc3cb(0x124),'connected':_0x9cc3cb(0x113),'failed':'MCP\x20연결\x20실패','retrying':_0x9cc3cb(0x115),'unknown':'MCP\x20알\x20수\x20없는\x20상태','unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x9cc3cb(0x102),'networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0x9cc3cb(0x10f),'clickToConnect':_0x9cc3cb(0x128),'clickToConfigure':_0x9cc3cb(0xfe)},'mcpConfig':{'title':_0x9cc3cb(0x118),'description':_0x9cc3cb(0x127),'apiKey':_0x9cc3cb(0x111),'apiKeyPlaceholder':_0x9cc3cb(0x106),'apiKeyHint':_0x9cc3cb(0x110),'enableAuth':_0x9cc3cb(0x112),'enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':_0x9cc3cb(0x129),'mcpClientConfig':_0x9cc3cb(0x129),'configInstructions':_0x9cc3cb(0x108),'configStepTitle':_0x9cc3cb(0x119),'configStep1':_0x9cc3cb(0x120),'configStep2':_0x9cc3cb(0x11d),'configStep3':_0x9cc3cb(0x105),'sessionId':_0x9cc3cb(0x12a),'sessionIdDescription':_0x9cc3cb(0x109),'authorizationDescription':_0x9cc3cb(0x11a),'configParameters':'설정\x20매개변수:','maxRetries':_0x9cc3cb(0x123),'save':_0x9cc3cb(0x11b),'saving':_0x9cc3cb(0x11e),'note1':_0x9cc3cb(0x114),'note2':_0x9cc3cb(0x107),'configSaved':_0x9cc3cb(0x116),'configError':_0x9cc3cb(0x12c),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':_0x9cc3cb(0xff),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x9cc3cb(0x122),'apiKeyTooShort':_0x9cc3cb(0xfc),'invalidConfig':'유효하지\x20않은\x20설정','invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x9cc3cb(0x103),'connected':_0x9cc3cb(0x11f),'failed':_0x9cc3cb(0x10e),'retrying':_0x9cc3cb(0x101)},'connectionError':{'unauthorized':_0x9cc3cb(0x11c),'sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':_0x9cc3cb(0x10c),'maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};function _0x1897(_0xd8a04b,_0x2f421f){_0xd8a04b=_0xd8a04b-0xfc;const _0x3d867f=_0x3d86();let _0x18971a=_0x3d867f[_0xd8a04b];return _0x18971a;}export{e as default};
@@ -1 +1 @@
1
- const _0x10ce34=_0x3f54;function _0x3f54(_0x585737,_0x4236f3){_0x585737=_0x585737-0xcc;const _0x4034df=_0x4034();let _0x3f5462=_0x4034df[_0x585737];return _0x3f5462;}(function(_0x24ae62,_0x4ae56f){const _0x1a3b97=_0x3f54,_0x315b35=_0x24ae62();while(!![]){try{const _0x401891=parseInt(_0x1a3b97(0xdc))/0x1*(-parseInt(_0x1a3b97(0xf0))/0x2)+-parseInt(_0x1a3b97(0xd0))/0x3*(parseInt(_0x1a3b97(0xe4))/0x4)+parseInt(_0x1a3b97(0xea))/0x5+parseInt(_0x1a3b97(0xd1))/0x6*(-parseInt(_0x1a3b97(0xe0))/0x7)+-parseInt(_0x1a3b97(0xce))/0x8*(-parseInt(_0x1a3b97(0xcf))/0x9)+-parseInt(_0x1a3b97(0xd4))/0xa+-parseInt(_0x1a3b97(0xdb))/0xb*(-parseInt(_0x1a3b97(0xd5))/0xc);if(_0x401891===_0x4ae56f)break;else _0x315b35['push'](_0x315b35['shift']());}catch(_0x20f2b7){_0x315b35['push'](_0x315b35['shift']());}}}(_0x4034,0xe6307));const e={'mcpStatus':{'disconnected':_0x10ce34(0xf3),'connecting':_0x10ce34(0xf5),'connected':_0x10ce34(0xf7),'failed':_0x10ce34(0xfc),'retrying':_0x10ce34(0xe3),'unknown':_0x10ce34(0xee),'unauthorized':_0x10ce34(0xdf),'sessionOccupied':_0x10ce34(0xcd),'networkError':_0x10ce34(0xd9),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x10ce34(0xe1),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x10ce34(0xd3),'apiKeyPlaceholder':_0x10ce34(0xe6),'apiKeyHint':_0x10ce34(0xf4),'enableAuth':_0x10ce34(0xf2),'enableAuthHint':_0x10ce34(0xd2),'connectionInfo':_0x10ce34(0xf8),'mcpClientConfig':_0x10ce34(0xf8),'configInstructions':_0x10ce34(0xeb),'configStepTitle':_0x10ce34(0xdd),'configStep1':_0x10ce34(0xde),'configStep2':_0x10ce34(0xec),'configStep3':_0x10ce34(0xe7),'sessionId':_0x10ce34(0xe9),'sessionIdDescription':_0x10ce34(0xf9),'authorizationDescription':_0x10ce34(0xfb),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x10ce34(0xef),'note1':_0x10ce34(0xfd),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x10ce34(0xe2),'configError':_0x10ce34(0xfa),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x10ce34(0xe5),'univerAiLabel':_0x10ce34(0xf6),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x10ce34(0xf1),'apiKeyTooShort':_0x10ce34(0xd7),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x10ce34(0xda)},'connectionStatus':{'disconnected':_0x10ce34(0xe8),'connecting':'Connecting...','connected':_0x10ce34(0xed),'failed':_0x10ce34(0xd8),'retrying':_0x10ce34(0xcc)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x10ce34(0xd6),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};function _0x4034(){const _0x25ce83=['Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Retrying...','MCP:\x20Session\x20ID\x20Occupied','8jxQmlY','5459697DbmIpP','3339LDOfWh','6eyVJHZ','Enable\x20authentication\x20for\x20secure\x20connections','API\x20Key','410150YkVcXT','24XmWPoH','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','19882467HvGOJp','383759DsqOLW','Configuration\x20Steps:','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Unauthorized','11123693qrxuEJ','MCP\x20Configuration','Configuration\x20saved\x20successfully','MCP\x20Retrying...','6500yOrHQN','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enter\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','Session\x20ID','2718630ojBFYM','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connected','MCP\x20Unknown\x20Status','Saving...','2qZsYtu','API\x20key\x20is\x20required','Enable\x20Authentication','MCP\x20Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connecting...','Univer\x20AI\x20Console','MCP\x20Connected','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connection\x20Failed'];_0x4034=function(){return _0x25ce83;};return _0x4034();}
1
+ function _0x1e72(_0x36e408,_0x2e6542){_0x36e408=_0x36e408-0xed;const _0x2d3b5c=_0x2d3b();let _0x1e72cf=_0x2d3b5c[_0x36e408];return _0x1e72cf;}const _0xca12f8=_0x1e72;(function(_0x366fca,_0x3da4a5){const _0x56592e=_0x1e72,_0x2c7e36=_0x366fca();while(!![]){try{const _0x44b92b=-parseInt(_0x56592e(0x109))/0x1+parseInt(_0x56592e(0x105))/0x2*(-parseInt(_0x56592e(0x11d))/0x3)+-parseInt(_0x56592e(0x10a))/0x4*(-parseInt(_0x56592e(0xf4))/0x5)+-parseInt(_0x56592e(0x106))/0x6*(parseInt(_0x56592e(0x115))/0x7)+parseInt(_0x56592e(0x112))/0x8+parseInt(_0x56592e(0x110))/0x9*(-parseInt(_0x56592e(0xf8))/0xa)+parseInt(_0x56592e(0xfe))/0xb;if(_0x44b92b===_0x3da4a5)break;else _0x2c7e36['push'](_0x2c7e36['shift']());}catch(_0x322cb2){_0x2c7e36['push'](_0x2c7e36['shift']());}}}(_0x2d3b,0x2b267));const e={'mcpStatus':{'disconnected':_0xca12f8(0xf2),'connecting':_0xca12f8(0x114),'connected':'MCP\x20Connected','failed':_0xca12f8(0x11b),'retrying':_0xca12f8(0x11c),'unknown':_0xca12f8(0x102),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0xca12f8(0xff),'maxRetriesExceeded':_0xca12f8(0x10f),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xca12f8(0x11f)},'mcpConfig':{'title':_0xca12f8(0xfd),'description':_0xca12f8(0x11e),'apiKey':_0xca12f8(0x101),'apiKeyPlaceholder':_0xca12f8(0x119),'apiKeyHint':_0xca12f8(0x10b),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xca12f8(0xf3),'mcpClientConfig':_0xca12f8(0xf3),'configInstructions':_0xca12f8(0x117),'configStepTitle':_0xca12f8(0xef),'configStep1':_0xca12f8(0x107),'configStep2':_0xca12f8(0xf7),'configStep3':_0xca12f8(0xf9),'sessionId':_0xca12f8(0x111),'sessionIdDescription':_0xca12f8(0x120),'authorizationDescription':_0xca12f8(0xf5),'configParameters':_0xca12f8(0x103),'maxRetries':'Max\x20Retries','save':_0xca12f8(0xfb),'saving':_0xca12f8(0x104),'note1':_0xca12f8(0x100),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xca12f8(0x10e),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xca12f8(0x118),'univerAiLabel':_0xca12f8(0x108),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0xca12f8(0x11a),'apiKeyTooShort':_0xca12f8(0x10c),'invalidConfig':_0xca12f8(0xee),'invalidApiKey':_0xca12f8(0xfa)},'connectionStatus':{'disconnected':_0xca12f8(0x116),'connecting':'Connecting...','connected':_0xca12f8(0xf1),'failed':_0xca12f8(0x113),'retrying':_0xca12f8(0xed)},'connectionError':{'unauthorized':_0xca12f8(0xf6),'sessionOccupied':_0xca12f8(0xfc),'networkError':_0xca12f8(0xf0),'maxRetriesExceeded':_0xca12f8(0x10d)}}},n=e;export{n as default};function _0x2d3b(){const _0xa0ab06=['Session\x20ID','1005736eQtehO','Connection\x20Failed','MCP\x20Connecting...','610708OOOwlt','Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enter\x20your\x20API\x20key','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','MCP\x20Retrying...','9KJglLE','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Click\x20to\x20configure\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','Invalid\x20configuration','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','MCP\x20Disconnected','MCP\x20Client\x20Configuration','264340dOqnyS','API\x20key\x20with\x20Bearer\x20prefix.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','410yvaxMU','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Save\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Configuration','6594247DdEJaV','MCP:\x20Network\x20Error','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','MCP\x20Unknown\x20Status','Configuration\x20Parameters:','Saving...','27998Ccppug','24uutxBx','Copy\x20the\x20JSON\x20configuration\x20below','Univer\x20AI\x20Console','200891rjXuoL','16tMFSRs','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','36891QztjGP'];_0x2d3b=function(){return _0xa0ab06;};return _0x2d3b();}
@@ -0,0 +1 @@
1
+ const _0x1aa565=_0x5584;function _0x2959(){const _0x58a2a5=['Povoliť\x20overenie','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','Konfigurácia\x20MCP','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.','API\x20kľúč','Zadajte\x20svoj\x20API\x20kľúč','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','Pripojenie\x20zlyhalo','1423449cinQNH','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','Pripojenie\x20MCP\x20zlyhalo','8739625alqiJe','26205030IvWQxR','MCP\x20odpojené','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','Neplatná\x20konfigurácia','Maximálny\x20počet\x20pokusov','3206202vnDfhg','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','Konfigurácia\x20klienta\x20MCP','9928992zjQeIR','MCP\x20neznámy\x20stav','Kroky\x20konfigurácie:','MCP:\x20Sieťová\x20chyba','MCP:\x20Neautorizované','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','51219oXeapZ','Pripája\x20sa...','MCP\x20opakuje\x20pokus...','API\x20kľúč\x20je\x20povinný','MCP\x20sa\x20pripája...','Univer\x20AI\x20konzola','2kCjbaN','Ukladá\x20sa...','Konfigurácia\x20bola\x20úspešne\x20uložená','1576PRqxHO','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Kliknite\x20na\x20konfiguráciu\x20MCP','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','Skúša\x20sa\x20znova...','4HICrgS','35163dnzmbw','MCP:\x20Prekročený\x20počet\x20pokusov','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku'];_0x2959=function(){return _0x58a2a5;};return _0x2959();}(function(_0x38517a,_0x34a169){const _0x3ba38b=_0x5584,_0x59ad5c=_0x38517a();while(!![]){try{const _0x248b60=parseInt(_0x3ba38b(0x176))/0x1*(parseInt(_0x3ba38b(0x160))/0x2)+-parseInt(_0x3ba38b(0x17f))/0x3*(-parseInt(_0x3ba38b(0x169))/0x4)+-parseInt(_0x3ba38b(0x179))/0x5+-parseInt(_0x3ba38b(0x182))/0x6+-parseInt(_0x3ba38b(0x15a))/0x7+-parseInt(_0x3ba38b(0x163))/0x8*(parseInt(_0x3ba38b(0x16a))/0x9)+parseInt(_0x3ba38b(0x17a))/0xa;if(_0x248b60===_0x34a169)break;else _0x59ad5c['push'](_0x59ad5c['shift']());}catch(_0x1883c4){_0x59ad5c['push'](_0x59ad5c['shift']());}}}(_0x2959,0xe3c45));const e={'mcpStatus':{'disconnected':_0x1aa565(0x17b),'connecting':_0x1aa565(0x15e),'connected':'MCP\x20pripojené','failed':_0x1aa565(0x178),'retrying':_0x1aa565(0x15c),'unknown':_0x1aa565(0x183),'unauthorized':_0x1aa565(0x186),'sessionOccupied':'MCP:\x20ID\x20relácie\x20je\x20obsadené','networkError':_0x1aa565(0x185),'maxRetriesExceeded':_0x1aa565(0x16b),'clickToConnect':'Kliknite\x20na\x20pripojenie\x20MCP','clickToConfigure':_0x1aa565(0x165)},'mcpConfig':{'title':_0x1aa565(0x170),'description':'Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','apiKey':_0x1aa565(0x172),'apiKeyPlaceholder':_0x1aa565(0x173),'apiKeyHint':'Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','enableAuth':_0x1aa565(0x16e),'enableAuthHint':'Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','connectionInfo':_0x1aa565(0x181),'mcpClientConfig':_0x1aa565(0x181),'configInstructions':_0x1aa565(0x180),'configStepTitle':_0x1aa565(0x184),'configStep1':_0x1aa565(0x177),'configStep2':'Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','configStep3':_0x1aa565(0x164),'sessionId':'ID\x20relácie','sessionIdDescription':_0x1aa565(0x171),'authorizationDescription':'API\x20kľúč\x20s\x20prefixom\x20Bearer.','configParameters':'Parametre\x20konfigurácie:','maxRetries':_0x1aa565(0x17e),'save':'Uložiť\x20konfiguráciu','saving':_0x1aa565(0x161),'note1':_0x1aa565(0x166),'note2':_0x1aa565(0x16d),'configSaved':_0x1aa565(0x162),'configError':'Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','apiApplyInfo':{'title':'Čo\x20je\x20API\x20kľúč?','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':_0x1aa565(0x15f),'getStarted':_0x1aa565(0x167)},'validation':{'apiKeyRequired':_0x1aa565(0x15d),'apiKeyTooShort':_0x1aa565(0x16f),'invalidConfig':_0x1aa565(0x17d),'invalidApiKey':'Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny'},'connectionStatus':{'disconnected':'Odpojené','connecting':_0x1aa565(0x15b),'connected':'Pripojené','failed':_0x1aa565(0x175),'retrying':_0x1aa565(0x168)},'connectionError':{'unauthorized':_0x1aa565(0x174),'sessionOccupied':_0x1aa565(0x17c),'networkError':_0x1aa565(0x159),'maxRetriesExceeded':_0x1aa565(0x16c)}}};function _0x5584(_0x4f8e8b,_0x71336c){_0x4f8e8b=_0x4f8e8b-0x159;const _0x29592d=_0x2959();let _0x5584a1=_0x29592d[_0x4f8e8b];return _0x5584a1;}export{e as default};
@@ -1 +1 @@
1
- function _0x760c(_0xbede70,_0xa0efc8){_0xbede70=_0xbede70-0x1d2;const _0x1df0be=_0x1df0();let _0x760cc8=_0x1df0be[_0xbede70];return _0x760cc8;}const _0x2a932c=_0x760c;(function(_0x94a57f,_0xbae9e1){const _0x89ba6c=_0x760c,_0x474cdd=_0x94a57f();while(!![]){try{const _0x245063=-parseInt(_0x89ba6c(0x1ea))/0x1+-parseInt(_0x89ba6c(0x1e3))/0x2+-parseInt(_0x89ba6c(0x201))/0x3+-parseInt(_0x89ba6c(0x1df))/0x4+-parseInt(_0x89ba6c(0x1e2))/0x5+parseInt(_0x89ba6c(0x1fe))/0x6*(parseInt(_0x89ba6c(0x1dd))/0x7)+parseInt(_0x89ba6c(0x203))/0x8;if(_0x245063===_0xbae9e1)break;else _0x474cdd['push'](_0x474cdd['shift']());}catch(_0x405fa9){_0x474cdd['push'](_0x474cdd['shift']());}}}(_0x1df0,0x8e780));const n={'mcpStatus':{'disconnected':_0x2a932c(0x1d8),'connecting':'MCP\x20Đang\x20kết\x20nối...','connected':_0x2a932c(0x1f8),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x2a932c(0x1e8),'unknown':_0x2a932c(0x1f9),'unauthorized':_0x2a932c(0x1da),'sessionOccupied':_0x2a932c(0x1fc),'networkError':_0x2a932c(0x1d6),'maxRetriesExceeded':_0x2a932c(0x1f4),'clickToConnect':_0x2a932c(0x1ee),'clickToConfigure':_0x2a932c(0x1e0)},'mcpConfig':{'title':_0x2a932c(0x1d7),'description':_0x2a932c(0x1d9),'apiKey':_0x2a932c(0x1dc),'apiKeyPlaceholder':_0x2a932c(0x1e5),'apiKeyHint':_0x2a932c(0x1ff),'enableAuth':_0x2a932c(0x1e7),'enableAuthHint':_0x2a932c(0x1f7),'connectionInfo':_0x2a932c(0x1e4),'mcpClientConfig':_0x2a932c(0x1e4),'configInstructions':_0x2a932c(0x1d2),'configStepTitle':_0x2a932c(0x1e9),'configStep1':_0x2a932c(0x202),'configStep2':'Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','configStep3':_0x2a932c(0x1fa),'sessionId':_0x2a932c(0x1ec),'sessionIdDescription':_0x2a932c(0x200),'authorizationDescription':_0x2a932c(0x1e6),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':_0x2a932c(0x1f0),'saving':_0x2a932c(0x204),'note1':_0x2a932c(0x1f2),'note2':_0x2a932c(0x1fb),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x2a932c(0x205),'description':_0x2a932c(0x1ed),'univerAiLabel':_0x2a932c(0x1eb),'getStarted':_0x2a932c(0x1db)},'validation':{'apiKeyRequired':_0x2a932c(0x1ef),'apiKeyTooShort':_0x2a932c(0x1d5),'invalidConfig':_0x2a932c(0x1f1),'invalidApiKey':'Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không'},'connectionStatus':{'disconnected':_0x2a932c(0x1f5),'connecting':_0x2a932c(0x1d3),'connected':_0x2a932c(0x1fd),'failed':_0x2a932c(0x1de),'retrying':'Đang\x20thử\x20lại...'},'connectionError':{'unauthorized':_0x2a932c(0x1d4),'sessionOccupied':_0x2a932c(0x1f6),'networkError':_0x2a932c(0x1f3),'maxRetriesExceeded':_0x2a932c(0x1e1)}}};function _0x1df0(){const _0x378d02=['Bảng\x20điều\x20khiển\x20Univer\x20AI','ID\x20phiên','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.','Nhấp\x20để\x20kết\x20nối\x20MCP','Yêu\x20cầu\x20khóa\x20API','Lưu\x20cấu\x20hình','Cấu\x20hình\x20không\x20hợp\x20lệ','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Đã\x20ngắt\x20kết\x20nối','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','MCP\x20Đã\x20kết\x20nối','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','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ộ','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Đã\x20kết\x20nối','3012492HIvQPR','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Đị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.','60663sWZjuA','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','18454072NjkIIP','Đang\x20lưu...','Khóa\x20API\x20là\x20gì?','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Đang\x20kết\x20nối...','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','MCP:\x20Lỗi\x20mạng','Cấu\x20hình\x20MCP','MCP\x20Đã\x20ngắt\x20kết\x20nối','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','MCP:\x20Không\x20được\x20phép','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Khóa\x20API','14vMpdIV','Kết\x20nối\x20thất\x20bại','2596092tFmtzz','Nhấp\x20để\x20cấu\x20hình\x20MCP','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','4690695gEiGrb','388382iLUBUi','Cấu\x20hình\x20máy\x20khách\x20MCP','Nhập\x20khóa\x20API\x20của\x20bạn','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Bật\x20xác\x20thực','MCP\x20Đang\x20thử\x20lại...','Các\x20bước\x20cấu\x20hình:','925797VNFvQq'];_0x1df0=function(){return _0x378d02;};return _0x1df0();}export{n as default};
1
+ const _0x40564a=_0x2b5a;function _0x5806(){const _0x12ad30=['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.','MCP\x20Đang\x20kết\x20nối...','Các\x20bước\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','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Đang\x20thử\x20lại...','946200czgymI','Tham\x20số\x20cấu\x20hình:','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','331832jkdutW','42ljmLeR','MCP\x20Đã\x20kết\x20nối','3339975VgtsuE','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Cấu\x20hình\x20máy\x20khách\x20MCP','8115672qYDIVf','Cấu\x20hình\x20MCP','Nhấp\x20để\x20kết\x20nối\x20MCP','MCP\x20Đang\x20thử\x20lại...','Đã\x20kết\x20nối','Nhấp\x20để\x20cấu\x20hình\x20MCP','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Bật\x20xác\x20thực','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Yêu\x20cầu\x20khóa\x20API','Đang\x20kết\x20nối...','1916402wFZLaj','1927959EoumAP','Lưu\x20cấu\x20hình\x20thất\x20bại','Lưu\x20cấu\x20hình','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Cấu\x20hình\x20không\x20hợp\x20lệ','MCP:\x20Không\x20được\x20phép','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Khóa\x20API','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','ID\x20phiên','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','4302276dOkAXO','MCP\x20Kết\x20nối\x20thất\x20bại'];_0x5806=function(){return _0x12ad30;};return _0x5806();}function _0x2b5a(_0x27ac24,_0x2e5eff){_0x27ac24=_0x27ac24-0x68;const _0x5806da=_0x5806();let _0x2b5a03=_0x5806da[_0x27ac24];return _0x2b5a03;}(function(_0xd2ce9b,_0x3eaa33){const _0x5c7f53=_0x2b5a,_0xc6366d=_0xd2ce9b();while(!![]){try{const _0x124e46=-parseInt(_0x5c7f53(0x7b))/0x1+-parseInt(_0x5c7f53(0x91))/0x2+parseInt(_0x5c7f53(0x92))/0x3+parseInt(_0x5c7f53(0x72))/0x4+-parseInt(_0x5c7f53(0x82))/0x5+parseInt(_0x5c7f53(0x85))/0x6+parseInt(_0x5c7f53(0x80))/0x7*(parseInt(_0x5c7f53(0x7f))/0x8);if(_0x124e46===_0x3eaa33)break;else _0xc6366d['push'](_0xc6366d['shift']());}catch(_0xfefca8){_0xc6366d['push'](_0xc6366d['shift']());}}}(_0x5806,0xb6730));const n={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x40564a(0x75),'connected':_0x40564a(0x81),'failed':_0x40564a(0x73),'retrying':_0x40564a(0x88),'unknown':_0x40564a(0x7e),'unauthorized':_0x40564a(0x6a),'sessionOccupied':_0x40564a(0x83),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':_0x40564a(0x87),'clickToConfigure':_0x40564a(0x8a)},'mcpConfig':{'title':_0x40564a(0x86),'description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x40564a(0x6d),'apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0x40564a(0x8b),'enableAuth':_0x40564a(0x8c),'enableAuthHint':_0x40564a(0x6c),'connectionInfo':_0x40564a(0x84),'mcpClientConfig':_0x40564a(0x84),'configInstructions':_0x40564a(0x7d),'configStepTitle':_0x40564a(0x76),'configStep1':_0x40564a(0x68),'configStep2':'Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','configStep3':'Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','sessionId':_0x40564a(0x70),'sessionIdDescription':'Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','authorizationDescription':_0x40564a(0x6b),'configParameters':_0x40564a(0x7c),'maxRetries':_0x40564a(0x78),'save':_0x40564a(0x94),'saving':'Đang\x20lưu...','note1':'Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','note2':_0x40564a(0x71),'configSaved':_0x40564a(0x6e),'configError':_0x40564a(0x93),'apiApplyInfo':{'title':'Khóa\x20API\x20là\x20gì?','description':_0x40564a(0x74),'univerAiLabel':'Bảng\x20điều\x20khiển\x20Univer\x20AI','getStarted':_0x40564a(0x8e)},'validation':{'apiKeyRequired':_0x40564a(0x8f),'apiKeyTooShort':_0x40564a(0x79),'invalidConfig':_0x40564a(0x69),'invalidApiKey':'Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không'},'connectionStatus':{'disconnected':'Đã\x20ngắt\x20kết\x20nối','connecting':_0x40564a(0x90),'connected':_0x40564a(0x89),'failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x40564a(0x7a)},'connectionError':{'unauthorized':_0x40564a(0x6f),'sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0x40564a(0x77),'maxRetriesExceeded':_0x40564a(0x8d)}}};export{n as default};
@@ -1 +1 @@
1
- const _0x55fb70=_0x2403;(function(_0x21a569,_0x53a0ee){const _0x372c85=_0x2403,_0xf2972d=_0x21a569();while(!![]){try{const _0xdf858e=-parseInt(_0x372c85(0xe7))/0x1+parseInt(_0x372c85(0x100))/0x2*(parseInt(_0x372c85(0xe9))/0x3)+-parseInt(_0x372c85(0x107))/0x4*(-parseInt(_0x372c85(0x104))/0x5)+parseInt(_0x372c85(0xe5))/0x6+-parseInt(_0x372c85(0xdb))/0x7*(-parseInt(_0x372c85(0xec))/0x8)+-parseInt(_0x372c85(0x106))/0x9*(-parseInt(_0x372c85(0xde))/0xa)+-parseInt(_0x372c85(0xf9))/0xb;if(_0xdf858e===_0x53a0ee)break;else _0xf2972d['push'](_0xf2972d['shift']());}catch(_0x41d5b6){_0xf2972d['push'](_0xf2972d['shift']());}}}(_0x760b,0x6485c));function _0x2403(_0x27fbee,_0x1bc3ed){_0x27fbee=_0x27fbee-0xd7;const _0x760b9f=_0x760b();let _0x2403c0=_0x760b9f[_0x27fbee];return _0x2403c0;}function _0x760b(){const _0x5903d5=['MCP\x20客户端配置','MCP:\x20超出最大重试次数','MCP\x20状态未知','12071070shEQsC','连接中...','重启您的\x20MCP\x20客户端以使配置生效','保存配置','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20连接中...','配置更改将立即生效','940358LVyMkH','API\x20密钥无效,请检查密钥是否正确','重连中...','保存中...','504635ilgbDS','MCP\x20已断开','4626ZjNxly','4CSaxLo','将以下配置添加到您的\x20MCP\x20客户端设置中:','配置步骤:','会话\x20ID\x20已被占用,请稍后再试','点击配置\x20MCP','启用身份验证以获得安全连接','什么是\x20API\x20密钥?','点击连接\x20MCP','MCP\x20配置','2697149vJQsZt','未连接','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','5770ECHuuk','MCP:\x20未授权','权限验证失败,请检查您的\x20API\x20密钥','MCP:\x20会话\x20ID\x20已被占用','MCP:\x20网络错误','Univer\x20AI\x20控制台','带有\x20Bearer\x20前缀的\x20API\x20密钥。','4524594Jzbykg','连接失败','497980rTBLUa','配置保存失败','3UqgeAw','您的\x20API\x20密钥将在此浏览器中本地存储','配置保存成功','8BMYlPO','网络连接错误,请检查您的网络连接','复制以下\x20JSON\x20配置','启用身份验证','配置参数:','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20已连接','超出最大重试次数,请稍后再试','配置无效','MCP\x20连接失败'];_0x760b=function(){return _0x5903d5;};return _0x760b();}const e={'mcpStatus':{'disconnected':_0x55fb70(0x105),'connecting':_0x55fb70(0xfe),'connected':_0x55fb70(0xf2),'failed':_0x55fb70(0xf5),'retrying':'MCP\x20重连中...','unknown':_0x55fb70(0xf8),'unauthorized':_0x55fb70(0xdf),'sessionOccupied':_0x55fb70(0xe1),'networkError':_0x55fb70(0xe2),'maxRetriesExceeded':_0x55fb70(0xf7),'clickToConnect':_0x55fb70(0xd9),'clickToConfigure':_0x55fb70(0x10b)},'mcpConfig':{'title':_0x55fb70(0xda),'description':_0x55fb70(0xf1),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x55fb70(0xea),'enableAuth':_0x55fb70(0xef),'enableAuthHint':_0x55fb70(0xd7),'connectionInfo':_0x55fb70(0xf6),'mcpClientConfig':_0x55fb70(0xf6),'configInstructions':_0x55fb70(0x108),'configStepTitle':_0x55fb70(0x109),'configStep1':_0x55fb70(0xee),'configStep2':_0x55fb70(0xfd),'configStep3':_0x55fb70(0xfb),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x55fb70(0xe4),'configParameters':_0x55fb70(0xf0),'maxRetries':'最大重试次数','save':_0x55fb70(0xfc),'saving':_0x55fb70(0x103),'note1':_0x55fb70(0xff),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x55fb70(0xeb),'configError':_0x55fb70(0xe8),'apiApplyInfo':{'title':_0x55fb70(0xd8),'description':_0x55fb70(0xdd),'univerAiLabel':_0x55fb70(0xe3),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x55fb70(0xf4),'invalidApiKey':_0x55fb70(0x101)},'connectionStatus':{'disconnected':_0x55fb70(0xdc),'connecting':_0x55fb70(0xfa),'connected':'已连接','failed':_0x55fb70(0xe6),'retrying':_0x55fb70(0x102)},'connectionError':{'unauthorized':_0x55fb70(0xe0),'sessionOccupied':_0x55fb70(0x10a),'networkError':_0x55fb70(0xed),'maxRetriesExceeded':_0x55fb70(0xf3)}}};export{e as default};
1
+ const _0x4afba4=_0x3a2a;function _0x3a2a(_0x2b75a1,_0x2787f5){_0x2b75a1=_0x2b75a1-0x179;const _0x2e354f=_0x2e35();let _0x3a2a60=_0x2e354f[_0x2b75a1];return _0x3a2a60;}function _0x2e35(){const _0x219bc2=['MCP\x20已连接','36174jOoDZP','5mLoSJi','未连接','MCP\x20配置','配置步骤:','API\x20密钥','重启您的\x20MCP\x20客户端以使配置生效','会话\x20ID\x20已被占用,请稍后再试','将以下配置添加到您的\x20MCP\x20客户端设置中:','最大重试次数','MCP:\x20超出最大重试次数','重连中...','什么是\x20API\x20密钥?','超出最大重试次数,请稍后再试','网络连接错误,请检查您的网络连接','38dZcRXq','MCP\x20已断开','MCP\x20状态未知','会话ID','721736EtuOas','几秒钟内获取您的\x20API\x20密钥','MCP:\x20未授权','MCP\x20重连中...','MCP\x20连接中...','287349hfjrlG','连接失败','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','启用身份验证','配置保存成功','配置参数:','11xYdAWZ','配置保存失败','Univer\x20AI\x20控制台','3854742rzNcMV','权限验证失败,请检查您的\x20API\x20密钥','4072efzHon','MCP:\x20网络错误','5981510ahAQax','您的\x20API\x20密钥安全存储在本地存储中','您的\x20API\x20密钥将在此浏览器中本地存储','配置\x20MCP\x20使用\x20AI\x20操作电子表格','301aPiRUn','API\x20密钥长度至少需要\x2010\x20位','保存配置','917478kQpENA','启用身份验证以获得安全连接','请输入您的\x20API\x20密钥','MCP\x20客户端配置','连接中...','配置更改将立即生效','MCP:\x20会话\x20ID\x20已被占用','MCP\x20连接失败'];_0x2e35=function(){return _0x219bc2;};return _0x2e35();}(function(_0xf8530c,_0x4207c1){const _0xd0b3b8=_0x3a2a,_0x3c0da3=_0xf8530c();while(!![]){try{const _0xd6f542=-parseInt(_0xd0b3b8(0x192))/0x1*(parseInt(_0xd0b3b8(0x1a1))/0x2)+parseInt(_0xd0b3b8(0x1aa))/0x3+parseInt(_0xd0b3b8(0x1a5))/0x4*(-parseInt(_0xd0b3b8(0x193))/0x5)+parseInt(_0xd0b3b8(0x17e))/0x6+-parseInt(_0xd0b3b8(0x186))/0x7*(parseInt(_0xd0b3b8(0x180))/0x8)+-parseInt(_0xd0b3b8(0x189))/0x9+-parseInt(_0xd0b3b8(0x182))/0xa*(-parseInt(_0xd0b3b8(0x17b))/0xb);if(_0xd6f542===_0x4207c1)break;else _0x3c0da3['push'](_0x3c0da3['shift']());}catch(_0x22c95e){_0x3c0da3['push'](_0x3c0da3['shift']());}}}(_0x2e35,0x542f6));const e={'mcpStatus':{'disconnected':_0x4afba4(0x1a2),'connecting':_0x4afba4(0x1a9),'connected':_0x4afba4(0x191),'failed':_0x4afba4(0x190),'retrying':_0x4afba4(0x1a8),'unknown':_0x4afba4(0x1a3),'unauthorized':_0x4afba4(0x1a7),'sessionOccupied':_0x4afba4(0x18f),'networkError':_0x4afba4(0x181),'maxRetriesExceeded':_0x4afba4(0x19c),'clickToConnect':'点击连接\x20MCP','clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x4afba4(0x195),'description':_0x4afba4(0x185),'apiKey':_0x4afba4(0x197),'apiKeyPlaceholder':_0x4afba4(0x18b),'apiKeyHint':_0x4afba4(0x184),'enableAuth':_0x4afba4(0x1ad),'enableAuthHint':_0x4afba4(0x18a),'connectionInfo':_0x4afba4(0x18c),'mcpClientConfig':_0x4afba4(0x18c),'configInstructions':_0x4afba4(0x19a),'configStepTitle':_0x4afba4(0x196),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x4afba4(0x198),'sessionId':_0x4afba4(0x1a4),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x4afba4(0x17a),'maxRetries':_0x4afba4(0x19b),'save':_0x4afba4(0x188),'saving':'保存中...','note1':_0x4afba4(0x18e),'note2':_0x4afba4(0x183),'configSaved':_0x4afba4(0x179),'configError':_0x4afba4(0x17c),'apiApplyInfo':{'title':_0x4afba4(0x19e),'description':_0x4afba4(0x1ac),'univerAiLabel':_0x4afba4(0x17d),'getStarted':_0x4afba4(0x1a6)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x4afba4(0x187),'invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x4afba4(0x194),'connecting':_0x4afba4(0x18d),'connected':'已连接','failed':_0x4afba4(0x1ab),'retrying':_0x4afba4(0x19d)},'connectionError':{'unauthorized':_0x4afba4(0x17f),'sessionOccupied':_0x4afba4(0x199),'networkError':_0x4afba4(0x1a0),'maxRetriesExceeded':_0x4afba4(0x19f)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x1dec28=_0x1e1c;function _0x1e1c(_0x1b4c4c,_0x3ec407){_0x1b4c4c=_0x1b4c4c-0x1a0;const _0x5a3491=_0x5a34();let _0x1e1ceb=_0x5a3491[_0x1b4c4c];return _0x1e1ceb;}(function(_0x3836c9,_0x571e89){const _0x139226=_0x1e1c,_0x1ee05d=_0x3836c9();while(!![]){try{const _0x425c25=-parseInt(_0x139226(0x1bf))/0x1+parseInt(_0x139226(0x1bc))/0x2+-parseInt(_0x139226(0x1a1))/0x3*(-parseInt(_0x139226(0x1a2))/0x4)+parseInt(_0x139226(0x1ca))/0x5+-parseInt(_0x139226(0x1c0))/0x6+parseInt(_0x139226(0x1ba))/0x7*(parseInt(_0x139226(0x1b3))/0x8)+-parseInt(_0x139226(0x1b6))/0x9*(parseInt(_0x139226(0x1a3))/0xa);if(_0x425c25===_0x571e89)break;else _0x1ee05d['push'](_0x1ee05d['shift']());}catch(_0x2fd7d8){_0x1ee05d['push'](_0x1ee05d['shift']());}}}(_0x5a34,0x278f4));const e={'mcpStatus':{'disconnected':_0x1dec28(0x1cc),'connecting':_0x1dec28(0x1a7),'connected':'MCP\x20Connected','failed':_0x1dec28(0x1a9),'retrying':_0x1dec28(0x1a5),'unknown':_0x1dec28(0x1b0),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1dec28(0x1b5),'networkError':_0x1dec28(0x1be),'maxRetriesExceeded':_0x1dec28(0x1d1),'clickToConnect':_0x1dec28(0x1c9),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x1dec28(0x1bb),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1dec28(0x1ae),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1dec28(0x1ab),'enableAuthHint':_0x1dec28(0x1c5),'connectionInfo':_0x1dec28(0x1b9),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1dec28(0x1cb),'configStepTitle':_0x1dec28(0x1c3),'configStep1':_0x1dec28(0x1b1),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x1dec28(0x1bd),'sessionId':_0x1dec28(0x1c7),'sessionIdDescription':_0x1dec28(0x1d0),'authorizationDescription':_0x1dec28(0x1c8),'configParameters':_0x1dec28(0x1b4),'maxRetries':'Max\x20Retries','save':_0x1dec28(0x1a4),'saving':_0x1dec28(0x1c1),'note1':_0x1dec28(0x1cd),'note2':_0x1dec28(0x1c6),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1dec28(0x1af),'apiApplyInfo':{'title':_0x1dec28(0x1aa),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x1dec28(0x1c4),'getStarted':_0x1dec28(0x1cf)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1dec28(0x1a8),'invalidApiKey':_0x1dec28(0x1a6)},'connectionStatus':{'disconnected':_0x1dec28(0x1ad),'connecting':'Connecting...','connected':_0x1dec28(0x1a0),'failed':_0x1dec28(0x1ac),'retrying':_0x1dec28(0x1ce)},'connectionError':{'unauthorized':_0x1dec28(0x1b8),'sessionOccupied':_0x1dec28(0x1c2),'networkError':_0x1dec28(0x1b7),'maxRetriesExceeded':_0x1dec28(0x1b2)}}},n=e;function _0x5a34(){const _0x27fb5d=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','154728adNhHG','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Network\x20Error','78113xRgWrw','862038GZRtHa','Saving...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Univer\x20AI\x20Console','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20connect\x20MCP','1501005Tzngcs','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Retrying...','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.','MCP:\x20Max\x20Retries\x20Exceeded','Connected','413682LydBpm','4XqyOKr','50XYkwSO','Save\x20Configuration','MCP\x20Retrying...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connecting...','Invalid\x20configuration','MCP\x20Connection\x20Failed','What\x20is\x20API\x20Key?','Enable\x20Authentication','Connection\x20Failed','Disconnected','Enter\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','MCP\x20Unknown\x20Status','Copy\x20the\x20JSON\x20configuration\x20below','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','8YOlGkS','Configuration\x20Parameters:','MCP:\x20Session\x20ID\x20Occupied','402858qWhhFF','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Client\x20Configuration','645211GSqIwq'];_0x5a34=function(){return _0x27fb5d;};return _0x5a34();}export{n as default};
1
+ const _0x2d272f=_0x59f4;(function(_0x188267,_0x4cb9a3){const _0x4372c7=_0x59f4,_0x36aa44=_0x188267();while(!![]){try{const _0x47360b=-parseInt(_0x4372c7(0x122))/0x1+parseInt(_0x4372c7(0x14a))/0x2+parseInt(_0x4372c7(0x127))/0x3*(parseInt(_0x4372c7(0x131))/0x4)+parseInt(_0x4372c7(0x12f))/0x5+-parseInt(_0x4372c7(0x120))/0x6*(-parseInt(_0x4372c7(0x143))/0x7)+parseInt(_0x4372c7(0x130))/0x8*(parseInt(_0x4372c7(0x12c))/0x9)+-parseInt(_0x4372c7(0x134))/0xa;if(_0x47360b===_0x4cb9a3)break;else _0x36aa44['push'](_0x36aa44['shift']());}catch(_0x571e24){_0x36aa44['push'](_0x36aa44['shift']());}}}(_0x2f76,0x72c0c));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2d272f(0x129),'connected':_0x2d272f(0x125),'failed':_0x2d272f(0x13c),'retrying':_0x2d272f(0x141),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x2d272f(0x12a),'maxRetriesExceeded':_0x2d272f(0x12b),'clickToConnect':_0x2d272f(0x136),'clickToConfigure':_0x2d272f(0x128)},'mcpConfig':{'title':_0x2d272f(0x139),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2d272f(0x133),'apiKeyPlaceholder':_0x2d272f(0x145),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2d272f(0x12d),'enableAuthHint':_0x2d272f(0x124),'connectionInfo':_0x2d272f(0x142),'mcpClientConfig':_0x2d272f(0x142),'configInstructions':_0x2d272f(0x13a),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x2d272f(0x147),'configStep2':_0x2d272f(0x11e),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x2d272f(0x11d),'authorizationDescription':_0x2d272f(0x11f),'configParameters':_0x2d272f(0x13b),'maxRetries':_0x2d272f(0x135),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x2d272f(0x149),'note2':_0x2d272f(0x13d),'configSaved':_0x2d272f(0x121),'configError':_0x2d272f(0x148),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2d272f(0x138),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2d272f(0x13f)},'validation':{'apiKeyRequired':_0x2d272f(0x144),'apiKeyTooShort':_0x2d272f(0x14c),'invalidConfig':_0x2d272f(0x146),'invalidApiKey':_0x2d272f(0x126)},'connectionStatus':{'disconnected':_0x2d272f(0x132),'connecting':_0x2d272f(0x12e),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x2d272f(0x14b)},'connectionError':{'unauthorized':_0x2d272f(0x13e),'sessionOccupied':_0x2d272f(0x137),'networkError':_0x2d272f(0x140),'maxRetriesExceeded':_0x2d272f(0x123)}}},n=e;export{n as default};function _0x59f4(_0x5ba6b8,_0x12a2c2){_0x5ba6b8=_0x5ba6b8-0x11d;const _0x2f763d=_0x2f76();let _0x59f4e0=_0x2f763d[_0x5ba6b8];return _0x59f4e0;}function _0x2f76(){const _0x3d4c85=['Enter\x20your\x20API\x20key','Invalid\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','Failed\x20to\x20save\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1747276XIjtvh','Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20with\x20Bearer\x20prefix.','906QiUHTR','Configuration\x20saved\x20successfully','34193eaZOsQ','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','21WGTcqT','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','413190QwHEfb','Enable\x20Authentication','Connecting...','492005gWKbbP','8LegNTn','512684MwlZyX','Disconnected','API\x20Key','14905020NhsQsJ','Max\x20Retries','Click\x20to\x20connect\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20Parameters:','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Get\x20your\x20API\x20key\x20in\x20seconds','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','MCP\x20Client\x20Configuration','3689cBlsUc','API\x20key\x20is\x20required'];_0x2f76=function(){return _0x3d4c85;};return _0x2f76();}
@@ -0,0 +1,3 @@
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5506(_0x94b65e,_0x2cbf0e){_0x94b65e=_0x94b65e-0xf5;const _0x45a0fe=_0x45a0();let _0x550610=_0x45a0fe[_0x94b65e];return _0x550610;}function _0x45a0(){const _0x4f4d12=['onStarting','467485VmiyAK','fill','univer-bg-green-500','_initializeMenus','Module','MCP\x20已连接','IConfigService','mcpConfig.connectionError.sessionOccupied','mcpStatus.retrying','univer-text-blue-600','ILogService','univer-flex\x20univer-items-center','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcpStatus.disconnected','_createConfigPanelComponent','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','_uiPartsService','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','NONE','Retrying...','Univer\x20AI\x20控制台','BUTTON','univer-mr-2\x20univer-flex\x20univer-text-xl','Enable\x20Authentication','UNAUTHORIZED','mcpConfig.configInstructions','univer-space-y-2','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','最大重试次数','apiKey','UniverProMcpUi','MCP:\x20Session\x20ID\x20Occupied','mcpConfig.note1','_commandService','配置步骤:','MCP\x20Retrying...','merge','Bearer\x20','带有\x20Bearer\x20前缀的\x20API\x20密钥。','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpConfig.title','replace','attrs','2vweGfZ','defineProperty','mcpStatus.clickToConfigure','M0\x200H16V16H0z','mcp-ui.command.openConfigPanel','useState','API\x20密钥不能为空','FAILED','evenodd','__setCustomHeaders','createElement','_componentManager','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MenuIcon','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','url(#on-line-icon_clip0_910_349)','UniverProMcp','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','UniverUi','API\x20key\x20is\x20required','Click\x20to\x20configure\x20MCP','univer-text-sm\x20univer-font-medium','Failed\x20to\x20save\x20configuration','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','LocaleService','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','assign','children','mcpConfig.connectionError.unauthorized','超出最大重试次数,请稍后再试','WebSocketService','保存配置','mcpConfig.apiApplyInfo.getStarted','CloseIcon','Plugin','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-size-4','2957457atvMkC','API\x20Key','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-size-2\x20univer-rounded-full','90Zmnvix','value','registerComponent','mcpStatus.failed','trim','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','off','clsx','_mcpConnectionController','univer-flex\x20univer-gap-3','next','_handleConfigSave','has','map','univer-text-yellow-500','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','svg','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','stringify','MCPUIMenuController','MCP\x20Configuration','forwardRef','mcpStatus.clickToConnect','MCP_PLUGIN_CONFIG_KEY','_initStatusComponent','univer-bg-blue-500','univer-flex\x20univer-items-start\x20univer-gap-3','translate(.97)','mcpConfig.configStep1','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mcpConfig.apiKeyHint','CommandType','0\x200\x2016\x2016','clipPath','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','MCP\x20状态未知','displayName','off-line-icon_clip0_910_343','MCP\x20配置','_registerComponent','show','current','mcpConfig.apiKey','_menuManagerService','tag','RETRYING','_logService','CheckMarkIcon','@univerjs/network','BehaviorSubject','MCP\x20Connection\x20Failed','mcpConfig.validation.invalidApiKey','会话ID','text','univer-flex\x20univer-items-start\x20univer-gap-2','_apiKey$','toStringTag','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','connectionError$','_connectionController','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Max\x20Retries','showConfigPanel','@univerjs/ui','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','配置参数:','length','您的\x20API\x20密钥安全存储在本地存储中','close','UniverMCPPlugin','MenuItemType','1247330FELWMW','MCP:\x20Unauthorized','会话\x20ID\x20已被占用,请稍后再试','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_loading$','_loadStoredApiKey','IDialogService','https://console.univer.ai','DependentOn','univer-text-xs\x20univer-text-gray-600','_validateConfig','bottom','UniverIcon','MCP\x20客户端配置','univer-min-w-0\x20univer-flex-1','MCPConnectionStatus','subscribeConfigValue$','1em','OffLineIcon','MCP:\x20Max\x20Retries\x20Exceeded','help-icon','univer.plus','univer-text-gray-500','xlink:href','mcpConfig.configError','mergeMenu','DISCONNECTED','round','mcpStatus.sessionOccupied','MCP\x20连接中...','rxjs','useCallback','object','7ySEsrB','univer-flex\x20univer-flex-wrap\x20univer-gap-2','CONNECTING','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','disposeWithMe','jsx','Connected','mcpConfig.description','点击配置\x20MCP','Configuration\x20Notes:','启用身份验证以获得安全连接','20761980bdAblM','forEach','API\x20key\x20with\x20Bearer\x20prefix.','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','off-line-icon','MCP\x20Disconnected','Injector','useObservable','http','\x20-\x20','error','MCP:\x20网络错误','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','zhCN','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Button','Connection\x20Failed','registerCommand','点击连接\x20MCP','label','mcp.apiKey','mcpConfig.configStepTitle','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','amd','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','您的\x20API\x20密钥将在此浏览器中本地存储','open','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-text-green-500','_localStorageService','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','连接失败','权限验证失败,请检查您的\x20API\x20密钥','Inject','removeItem','Disposable','Success','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-bg-red-500','includes','showDeveloperTools','API\x20密钥无效,请检查密钥是否正确','mcpStatus.maxRetriesExceeded','white','配置保存失败','Connecting...','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','useDependency','启用身份验证','MCPConnectionController','connectInjector','defIds','React','getOwnPropertyDescriptor','univer.ai','_blank','_injector','mcpConfig.connectionStatus.connecting','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.apiApplyInfo.title','_handleConfigure','_initializeCommands','univer-bg-gray-500','What\x20is\x20API\x20Key?','entries','<SESSION_ID>','register','mcpStatus.unknown','Univer\x20AI\x20Console','colorChannel1','mcpConfig.connectionStatus.disconnected','mcp-ui.config','IMessageService','connectionStatus$','mcpConfig.save','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCPConnectionError','MCP\x20Connected','SESSION_ID_OCCUPIED','setItem','ISocketService','UniverMCPUIPlugin','mcpConfig.connectionStatus.connected','ICommandService','MCPStatusDisplay','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','API\x20密钥','<API_KEY>','IUIPartsService','univer-space-y-5','_config$','subscribe','MCP\x20Unknown\x20Status','noopener\x20noreferrer','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','Enter\x20your\x20API\x20key','mcpConfig.connectionStatus.failed','univer-shrink-0\x20univer-text-blue-500','MAX_RETRIES_EXCEEDED','use','MessageType','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','validateApiKey','span','univer-font-medium','none','http://www.w3.org/2000/svg','univer-text-gray-400','连接中...','url(#$1','button','univer-flex-1','mcpConfig.authorizationDescription','54qgmeuQ','_localeService','IMenuManagerService','MCP\x20Connecting...','univer-text-red-500','MCP\x20重连中...','_configService','exports','0\x200\x2017\x2016','https://mcp.univer.ai/mcp/?univer_session_id=','COMMAND','OTHERS','mcpConfig.connectionError.networkError','mcpConfig.connectionError.maxRetriesExceeded','mcpStatus.connecting','string','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-shrink-0\x20univer-text-red-500','mcpConfig.validation.apiKeyRequired','univer-space-y-4','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','isValid','mcpConfig.apiKeyPlaceholder','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Authorization:','什么是\x20API\x20密钥?','mcpConfig.sessionIdDescription','mcpConfig.validation.apiKeyTooShort','univer-text-sm\x20univer-text-gray-500','MCPConnectionUIController','UniverDesign','MCPConfigUIController','on-line-icon_clip0_910_349','univer-space-y-3','已连接','ILocalStorageService','1728540cAtHsu','jsxs','mcpServerUrl','univer-text-xs\x20univer-text-gray-500','6120540slgjQV','idSuffix','getConfig','Invalid\x20configuration','div','_initAutoConnect','warn','11KPQnBZ','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','_messageService','univer-flex\x20univer-items-center\x20univer-gap-2','https://console.univer.plus','_config','path','mcpConfig.apiApplyInfo.univerAiLabel','CONNECTED','未连接','UniverNetwork','_dialogService','NETWORK_ERROR','MCPConfigPanel','_mcpCoreConfig$','重连中...','BuiltInUIPart','currentColor','mcpConfig.configParameters','mcpConfig.connectionStatus.retrying','function','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','toString','mcp-config-dialog','Error','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Configuration\x20Steps:','get','@univerjs/design','defs','mcpStatus.networkError','_initConfigSync','12564520QqWmZt'];_0x45a0=function(){return _0x4f4d12;};return _0x45a0();}(function(_0x13f544,_0x46a919){const _0x5445af=_0x5506,_0x3219ee=_0x13f544();while(!![]){try{const _0x41a07f=-parseInt(_0x5445af(0x144))/0x1*(parseInt(_0x5445af(0x1b9))/0x2)+parseInt(_0x5445af(0x16a))/0x3+-parseInt(_0x5445af(0x281))/0x4+parseInt(_0x5445af(0x119))/0x5*(parseInt(_0x5445af(0x16e))/0x6)+-parseInt(_0x5445af(0x1da))/0x7*(parseInt(_0x5445af(0x117))/0x8)+parseInt(_0x5445af(0x257))/0x9*(parseInt(_0x5445af(0x27d))/0xa)+parseInt(_0x5445af(0xf6))/0xb*(parseInt(_0x5445af(0x1e5))/0xc);if(_0x41a07f===_0x46a919)break;else _0x3219ee['push'](_0x3219ee['shift']());}catch(_0x21dfb2){_0x3219ee['push'](_0x3219ee['shift']());}}}(_0x45a0,0xc526d),function(_0xea0d35,_0x567e6e){const _0x484b52=_0x5506;typeof exports==_0x484b52(0x1d9)&&typeof module<'u'?_0x567e6e(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x484b52(0x10b)&&define[_0x484b52(0x1fc)]?define([_0x484b52(0x25e),'@univerjs/core','react/jsx-runtime','@univerjs-pro/mcp',_0x484b52(0x113),_0x484b52(0x1af),_0x484b52(0x1d7),'react',_0x484b52(0x1a0)],_0x567e6e):(_0xea0d35=typeof globalThis<'u'?globalThis:_0xea0d35||self,_0x567e6e(_0xea0d35[_0x484b52(0x137)]={},_0xea0d35['UniverCore'],_0xea0d35['React'],_0xea0d35[_0x484b52(0x154)],_0xea0d35[_0x484b52(0x277)],_0xea0d35[_0x484b52(0x157)],_0xea0d35[_0x484b52(0x1d7)],_0xea0d35[_0x484b52(0x21a)],_0xea0d35[_0x484b52(0x101)]));}(this,function(_0x2b70ea,_0x439196,_0x53b64a,_0x392fe0,_0x320829,_0x471df5,_0x2ef401,_0x487d7e,_0x43e578){'use strict';const _0x3d38a9=_0x5506;var _0x437c4e=Object[_0x3d38a9(0x145)],_0x210455=(_0x4f988d,_0x5ed2cb,_0x265bf6)=>_0x5ed2cb in _0x4f988d?_0x437c4e(_0x4f988d,_0x5ed2cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x265bf6}):_0x4f988d[_0x5ed2cb]=_0x265bf6,_0x14333b=(_0x33faf7,_0x4377ff,_0x6da99b)=>_0x210455(_0x33faf7,typeof _0x4377ff!='symbol'?_0x4377ff+'':_0x4377ff,_0x6da99b);function _0x16ba5b({ref:_0x3296c1,..._0x43421e}){const _0x54cbb6=_0x3d38a9,{icon:_0xa0550a,id:_0x2e0bb7,className:_0x1c3847,extend:_0x138025,..._0x4c7ff9}=_0x43421e,_0x20eea3=('univerjs-icon\x20univerjs-icon-'+_0x2e0bb7+'\x20'+(_0x1c3847||''))[_0x54cbb6(0x172)](),_0x2de1f6=_0x487d7e['useRef']('_'+_0x3da81f());return _0x80e8dd(_0xa0550a,''+_0x2e0bb7,{'defIds':_0xa0550a[_0x54cbb6(0x219)],'idSuffix':_0x2de1f6[_0x54cbb6(0x199)]},{'ref':_0x3296c1,'className':_0x20eea3,..._0x4c7ff9},_0x138025);}function _0x80e8dd(_0x590457,_0x249f11,_0x49c965,_0x301682,_0x408892){const _0x4425bb=_0x3d38a9;return _0x487d7e['createElement'](_0x590457[_0x4425bb(0x19c)],{'key':_0x249f11,..._0x46f52c(_0x590457,_0x49c965,_0x408892),..._0x301682},(_0x16bc2f(_0x590457,_0x49c965)[_0x4425bb(0x160)]||[])[_0x4425bb(0x17c)]((_0x5c5c2c,_0xc254c)=>_0x80e8dd(_0x5c5c2c,_0x249f11+'-'+_0x590457[_0x4425bb(0x19c)]+'-'+_0xc254c,_0x49c965,void 0x0,_0x408892)));}function _0x46f52c(_0x2f49ae,_0x45786c,_0x345922){const _0x37a36a=_0x3d38a9,_0x1f69fb={..._0x2f49ae[_0x37a36a(0x143)]};_0x345922!=null&&_0x345922[_0x37a36a(0x22b)]&&_0x1f69fb['fill']==='colorChannel1'&&(_0x1f69fb[_0x37a36a(0x11a)]=_0x345922[_0x37a36a(0x22b)]),_0x2f49ae[_0x37a36a(0x19c)]==='mask'&&_0x1f69fb['id']&&(_0x1f69fb['id']=_0x1f69fb['id']+_0x45786c['idSuffix']),Object[_0x37a36a(0x226)](_0x1f69fb)[_0x37a36a(0x1e6)](([_0x38287b,_0x1a3cd9])=>{const _0x485c5b=_0x37a36a;_0x38287b==='mask'&&typeof _0x1a3cd9==_0x485c5b(0x266)&&(_0x1f69fb[_0x38287b]=_0x1a3cd9[_0x485c5b(0x142)](/url\(#(.*)\)/,_0x485c5b(0x253)+_0x45786c[_0x485c5b(0x282)]+')'));});const {defIds:_0xed8a36}=_0x45786c;return!_0xed8a36||_0xed8a36[_0x37a36a(0x1b4)]===0x0||(_0x2f49ae['tag']===_0x37a36a(0x249)&&_0x1f69fb['xlink:href']&&(_0x1f69fb['xlink:href']=_0x1f69fb[_0x37a36a(0x1d0)]+_0x45786c[_0x37a36a(0x282)]),Object[_0x37a36a(0x226)](_0x1f69fb)[_0x37a36a(0x1e6)](([_0x5ec109,_0x9ed5e2])=>{const _0x59213c=_0x37a36a;typeof _0x9ed5e2==_0x59213c(0x266)&&(_0x1f69fb[_0x5ec109]=_0x9ed5e2[_0x59213c(0x142)](/url\(#(.*)\)/,_0x59213c(0x253)+_0x45786c[_0x59213c(0x282)]+')'));})),_0x1f69fb;}function _0x16bc2f(_0x2fcbd6,_0x1dcf3f){const _0x587a0b=_0x3d38a9;var _0x59f170;const {defIds:_0xa3887a}=_0x1dcf3f;return!_0xa3887a||_0xa3887a[_0x587a0b(0x1b4)]===0x0?_0x2fcbd6:_0x2fcbd6[_0x587a0b(0x19c)]===_0x587a0b(0x114)&&((_0x59f170=_0x2fcbd6[_0x587a0b(0x160)])!=null&&_0x59f170['length'])?{..._0x2fcbd6,'children':_0x2fcbd6[_0x587a0b(0x160)][_0x587a0b(0x17c)](_0x3eb9e2=>typeof _0x3eb9e2[_0x587a0b(0x143)]['id']=='string'&&_0xa3887a&&_0xa3887a['includes'](_0x3eb9e2[_0x587a0b(0x143)]['id'])?{..._0x3eb9e2,'attrs':{..._0x3eb9e2[_0x587a0b(0x143)],'id':_0x3eb9e2[_0x587a0b(0x143)]['id']+_0x1dcf3f[_0x587a0b(0x282)]}}:_0x3eb9e2)}:_0x2fcbd6;}function _0x3da81f(){const _0x21a731=_0x3d38a9;return Math['random']()[_0x21a731(0x10d)](0x24)['substring'](0x2,0x8);}_0x16ba5b[_0x3d38a9(0x194)]=_0x3d38a9(0x1c5);const _0x3c9abd={'tag':_0x3d38a9(0x17f),'attrs':{'xmlns':_0x3d38a9(0x250),'fill':_0x3d38a9(0x24f),'viewBox':_0x3d38a9(0x190),'width':_0x3d38a9(0x1ca),'height':_0x3d38a9(0x1ca)},'children':[{'tag':_0x3d38a9(0xfd),'attrs':{'fill':_0x3d38a9(0x108),'d':_0x3d38a9(0x26c),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x17eb99=_0x487d7e[_0x3d38a9(0x185)](function(_0x145d08,_0x42f6f4){const _0x51c338=_0x3d38a9;return _0x487d7e[_0x51c338(0x14e)](_0x16ba5b,Object['assign']({},_0x145d08,{'id':'check-mark-icon','ref':_0x42f6f4,'icon':_0x3c9abd}));});_0x17eb99[_0x3d38a9(0x194)]=_0x3d38a9(0x19f);const _0x825bdd={'tag':_0x3d38a9(0x17f),'attrs':{'xmlns':_0x3d38a9(0x250),'fill':_0x3d38a9(0x24f),'viewBox':_0x3d38a9(0x190),'width':'1em','height':_0x3d38a9(0x1ca)},'children':[{'tag':_0x3d38a9(0xfd),'attrs':{'fill':'currentColor','d':_0x3d38a9(0x244)}}]},_0x45639d=_0x487d7e[_0x3d38a9(0x185)](function(_0x546057,_0x20101f){const _0x521bd1=_0x3d38a9;return _0x487d7e[_0x521bd1(0x14e)](_0x16ba5b,Object[_0x521bd1(0x15f)]({},_0x546057,{'id':'close-icon','ref':_0x20101f,'icon':_0x825bdd}));});_0x45639d[_0x3d38a9(0x194)]=_0x3d38a9(0x166);const _0x1f6e0c={'tag':_0x3d38a9(0x17f),'attrs':{'xmlns':_0x3d38a9(0x250),'fill':_0x3d38a9(0x24f),'viewBox':_0x3d38a9(0x190),'width':_0x3d38a9(0x1ca),'height':_0x3d38a9(0x1ca)},'children':[{'tag':_0x3d38a9(0xfd),'attrs':{'fill':_0x3d38a9(0x108),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x3d38a9(0xfd),'attrs':{'fill':'currentColor','d':_0x3d38a9(0x12a)}},{'tag':_0x3d38a9(0xfd),'attrs':{'fill':'currentColor','d':_0x3d38a9(0x1a9),'fillRule':_0x3d38a9(0x14c),'clipRule':_0x3d38a9(0x14c)}}]},_0x828933=_0x487d7e[_0x3d38a9(0x185)](function(_0x568ee4,_0x35d7c7){const _0x31c1cc=_0x3d38a9;return _0x487d7e[_0x31c1cc(0x14e)](_0x16ba5b,Object[_0x31c1cc(0x15f)]({},_0x568ee4,{'id':_0x31c1cc(0x1cd),'ref':_0x35d7c7,'icon':_0x1f6e0c}));});_0x828933[_0x3d38a9(0x194)]='HelpIcon';const _0x6285d6={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3d38a9(0x24f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x3d38a9(0x108),'d':_0x3d38a9(0x192),'strokeLinecap':'round','strokeLinejoin':_0x3d38a9(0x1d4),'strokeWidth':1.2}}]},{'tag':_0x3d38a9(0x114),'attrs':{},'children':[{'tag':_0x3d38a9(0x191),'attrs':{'id':_0x3d38a9(0x195)},'children':[{'tag':_0x3d38a9(0xfd),'attrs':{'fill':_0x3d38a9(0x210),'d':_0x3d38a9(0x147)}}]}]}],'defIds':[_0x3d38a9(0x195)]},_0x12a6eb=_0x487d7e[_0x3d38a9(0x185)](function(_0x12ea30,_0x599c09){const _0x481808=_0x3d38a9;return _0x487d7e[_0x481808(0x14e)](_0x16ba5b,Object[_0x481808(0x15f)]({},_0x12ea30,{'id':_0x481808(0x1e9),'ref':_0x599c09,'icon':_0x6285d6}));});_0x12a6eb[_0x3d38a9(0x194)]=_0x3d38a9(0x1cb);const _0x15802f={'tag':_0x3d38a9(0x17f),'attrs':{'xmlns':_0x3d38a9(0x250),'fill':'none','viewBox':_0x3d38a9(0x25f),'width':'1em','height':_0x3d38a9(0x1ca)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d38a9(0x153)},'children':[{'tag':_0x3d38a9(0xfd),'attrs':{'stroke':_0x3d38a9(0x108),'d':_0x3d38a9(0x23b),'strokeLinecap':_0x3d38a9(0x1d4),'strokeLinejoin':_0x3d38a9(0x1d4),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3d38a9(0x191),'attrs':{'id':_0x3d38a9(0x279)},'children':[{'tag':'path','attrs':{'fill':_0x3d38a9(0x210),'d':_0x3d38a9(0x147),'transform':_0x3d38a9(0x18b)}}]}]}],'defIds':[_0x3d38a9(0x279)]},_0x2da7b2=_0x487d7e[_0x3d38a9(0x185)](function(_0x4baa37,_0x28300b){const _0x44645b=_0x3d38a9;return _0x487d7e['createElement'](_0x16ba5b,Object[_0x44645b(0x15f)]({},_0x4baa37,{'id':'on-line-icon','ref':_0x28300b,'icon':_0x15802f}));});_0x2da7b2[_0x3d38a9(0x194)]='OnLineIcon';function _0x15e386(_0x4f0bae){const _0x527d29=_0x3d38a9;var _0x1d22d4,_0x321817;const {mcpCoreConfig:_0xc913f6,onSave:_0x53f76d,loading:_0x504a3d=!0x1,config:_0x1170c8,connectionStatus$:_0x2dd12e,connectionError$:_0x3aecfd,currentApiKey$:_0xd449f6,currentSessionId$:_0x36fe25}=_0x4f0bae,_0x59d62b=_0x471df5[_0x527d29(0x215)](_0x439196[_0x527d29(0x15d)]),_0x4a5c89=_0x471df5[_0x527d29(0x1ec)](_0x2dd12e,_0x392fe0[_0x527d29(0x1c8)][_0x527d29(0x1d3)]),_0x47a6f4=_0x471df5[_0x527d29(0x1ec)](_0x3aecfd,_0x392fe0['MCPConnectionError'][_0x527d29(0x12b)]),_0x4121e5=_0x471df5['useObservable'](_0x36fe25,''),_0x28a675=_0x471df5[_0x527d29(0x1ec)](_0xd449f6,''),[_0x436057,_0x2caca6]=_0x487d7e[_0x527d29(0x149)](_0x28a675||''),_0xd56a0d=!0x0,_0x251b33=_0x1170c8['showDeveloperTools']&&_0xc913f6['mcpServerUrl']&&(_0xc913f6[_0x527d29(0x27f)][_0x527d29(0x20c)](_0x527d29(0x1ce))||_0xc913f6['mcpServerUrl'][_0x527d29(0x20c)](_0x527d29(0x21c))),_0x38e912=(_0x1d22d4=_0xc913f6[_0x527d29(0x27f)])==null?void 0x0:_0x1d22d4[_0x527d29(0x20c)](_0x527d29(0x1ce)),_0x9b8789=(_0x321817=_0xc913f6[_0x527d29(0x27f)])==null?void 0x0:_0x321817[_0x527d29(0x20c)](_0x527d29(0x21c)),_0x41ce92=_0x38e912?_0x527d29(0xfb):_0x527d29(0x1c0),_0x3baf7a=_0x1170c8[_0x527d29(0x20d)]&&(_0x38e912||_0x9b8789),[_0x1885a0,_0x1ac2dd]=_0x487d7e[_0x527d29(0x149)](!_0x436057[_0x527d29(0x172)]()),_0x1bf1da=(_0x385c26,_0x4c354f)=>{const _0x2aa86c=_0x527d29;if(_0x4c354f===_0x392fe0[_0x2aa86c(0x232)][_0x2aa86c(0x131)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x385c26){case _0x392fe0['MCPConnectionStatus']['CONNECTED']:return _0x2aa86c(0x1f3);case _0x392fe0['MCPConnectionStatus']['CONNECTING']:case _0x392fe0[_0x2aa86c(0x1c8)][_0x2aa86c(0x19d)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x392fe0[_0x2aa86c(0x1c8)][_0x2aa86c(0x14b)]:return _0x2aa86c(0x110);default:return _0x2aa86c(0x1dd);}},_0xc83fa8=(_0x55c3b0,_0x38ab8e)=>{const _0xd71bef=_0x527d29;if(_0x38ab8e===_0x392fe0[_0xd71bef(0x232)]['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x55c3b0){case _0x392fe0[_0xd71bef(0x1c8)][_0xd71bef(0xff)]:return _0xd71bef(0x11b);case _0x392fe0[_0xd71bef(0x1c8)]['CONNECTING']:case _0x392fe0[_0xd71bef(0x1c8)][_0xd71bef(0x19d)]:return _0xd71bef(0x189);case _0x392fe0[_0xd71bef(0x1c8)][_0xd71bef(0x14b)]:return _0xd71bef(0x20b);default:return _0xd71bef(0x224);}},_0x5162e8=_0x2b5e7a=>{const _0x43814c=_0x527d29;switch(_0x2b5e7a){case _0x392fe0[_0x43814c(0x1c8)]['CONNECTED']:return _0x59d62b['t'](_0x43814c(0x238));case _0x392fe0[_0x43814c(0x1c8)][_0x43814c(0x1dc)]:return _0x59d62b['t'](_0x43814c(0x21f));case _0x392fe0[_0x43814c(0x1c8)][_0x43814c(0x14b)]:return _0x59d62b['t'](_0x43814c(0x246));case _0x392fe0[_0x43814c(0x1c8)][_0x43814c(0x19d)]:return _0x59d62b['t'](_0x43814c(0x10a));default:return _0x59d62b['t'](_0x43814c(0x22c));}},_0x1787c5=_0x3a5db3=>{const _0x3a6038=_0x527d29;switch(_0x3a5db3){case _0x392fe0['MCPConnectionError'][_0x3a6038(0x131)]:return _0x59d62b['t'](_0x3a6038(0x161));case _0x392fe0['MCPConnectionError'][_0x3a6038(0x234)]:return _0x59d62b['t'](_0x3a6038(0x120));case _0x392fe0['MCPConnectionError']['NETWORK_ERROR']:return _0x59d62b['t'](_0x3a6038(0x263));case _0x392fe0[_0x3a6038(0x232)][_0x3a6038(0x248)]:return _0x59d62b['t'](_0x3a6038(0x264));default:return'';}},_0x5f54e2=_0x487d7e[_0x527d29(0x1d8)](()=>{const _0x3ad418=_0x527d29,_0xff686d={..._0xc913f6,'apiKey':_0x436057[_0x3ad418(0x172)](),'enableAuth':_0xd56a0d};_0x53f76d(_0xff686d);},[_0xc913f6,_0x436057,_0xd56a0d,_0x53f76d]),_0x189cfc=_0x436057['trim']()[_0x527d29(0x1b4)]>0x0;return _0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x53b64a[_0x527d29(0x27e)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x53b64a['jsx'](_0x527d29(0x285),{'className':_0x527d29(0x26b),'children':_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x24d),{'className':'univer-text-white','children':'⚙'})}),_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'children':_0x53b64a[_0x527d29(0x1df)]('p',{'className':_0x527d29(0x275),'children':_0x59d62b['t'](_0x527d29(0x1e1))})})]})}),_0x53b64a[_0x527d29(0x27e)]('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x53b64a[_0x527d29(0x1df)]('div',{'className':_0x320829[_0x527d29(0x176)](_0x527d29(0x18d),_0x1bf1da(_0x4a5c89,_0x47a6f4)),'children':_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x53b64a['jsx']('div',{'className':_0x320829['clsx'](_0x527d29(0x16d),_0xc83fa8(_0x4a5c89,_0x47a6f4))}),_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x24d),{'className':_0x527d29(0x15a),'children':_0x5162e8(_0x4a5c89)})]})}),_0x47a6f4!==_0x392fe0[_0x527d29(0x232)][_0x527d29(0x12b)]&&(_0x4a5c89===_0x392fe0[_0x527d29(0x1c8)][_0x527d29(0x14b)]||_0x47a6f4===_0x392fe0['MCPConnectionError'][_0x527d29(0x131)])&&_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':_0x527d29(0x1b0),'children':_0x53b64a['jsxs']('div',{'className':_0x527d29(0x1a6),'children':[_0x53b64a[_0x527d29(0x1df)]('span',{'className':_0x527d29(0x268),'children':'⚠️'}),_0x53b64a[_0x527d29(0x1df)]('p',{'className':_0x527d29(0x150),'children':_0x1787c5(_0x47a6f4)})]})})]}),_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':_0x527d29(0x168),'children':_0x53b64a['jsxs']('div',{'className':_0x527d29(0x23f),'children':[_0x53b64a['jsxs'](_0x527d29(0x285),{'className':'univer-space-y-2','children':[_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x1f8),{'className':_0x527d29(0x26d),'children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x24d),{'children':'🔑'}),'\x20',_0x59d62b['t'](_0x527d29(0x19a)),_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x24d),{'className':'univer-text-red-500','children':'*'}),_0x251b33&&_0x53b64a[_0x527d29(0x1df)]('a',{'className':_0x527d29(0x15c),'title':_0x59d62b['t'](_0x527d29(0x221)),'role':_0x527d29(0x254),'onClick':()=>_0x1ac2dd(!0x0),'children':_0x53b64a['jsx'](_0x828933,{})})]}),_0x53b64a[_0x527d29(0x1df)](_0x320829['Input'],{'type':_0x527d29(0x1a5),'placeholder':_0x59d62b['t'](_0x527d29(0x26f)),'value':_0x436057,'disabled':_0x504a3d,'autoComplete':_0x527d29(0x175),'onChange':_0x2caca6}),_0x53b64a[_0x527d29(0x1df)]('p',{'className':_0x527d29(0x280),'children':_0x59d62b['t'](_0x527d29(0x18e))})]}),_0x251b33&&_0x1885a0&&_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'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':[_0x53b64a[_0x527d29(0x1df)]('a',{'className':_0x527d29(0x24b),'role':'button','onClick':()=>_0x1ac2dd(!0x1),'children':_0x53b64a['jsx'](_0x45639d,{'className':_0x527d29(0x169)})}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x53b64a['jsx']('span',{'className':_0x527d29(0x122),'children':'🚀'})}),_0x53b64a['jsxs'](_0x527d29(0x285),{'className':_0x527d29(0x255),'children':[_0x53b64a[_0x527d29(0x1df)]('h4',{'className':_0x527d29(0x270),'children':_0x59d62b['t'](_0x527d29(0x221))}),_0x53b64a[_0x527d29(0x1df)]('p',{'className':_0x527d29(0x214),'children':_0x59d62b['t']('mcpConfig.apiApplyInfo.description')}),_0x53b64a['jsx'](_0x527d29(0x285),{'className':_0x527d29(0x1db),'children':_0x3baf7a&&_0x53b64a['jsxs']('a',{'className':_0x527d29(0x17e),'href':_0x41ce92,'target':_0x527d29(0x21d),'rel':_0x527d29(0x243),'children':[_0x53b64a[_0x527d29(0x1df)]('span',{'children':'🤖'}),_0x59d62b['t'](_0x527d29(0xfe)),_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x24d),{'className':_0x527d29(0x251),'children':'↗'})]})}),_0x53b64a['jsxs'](_0x527d29(0x285),{'className':_0x527d29(0x10c),'children':['✨','\x20',_0x59d62b['t'](_0x527d29(0x165))]})]})]})]}),_0x1170c8[_0x527d29(0x20d)]&&_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x1f1),'children':[_0x53b64a[_0x527d29(0x27e)]('h4',{'className':_0x527d29(0x203),'children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x24d),{'children':'🔗'}),'\x20',_0x59d62b['t']('mcpConfig.connectionInfo')]}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x26a),'children':[_0x53b64a[_0x527d29(0x27e)]('div',{'className':_0x527d29(0x27a),'children':[_0x53b64a[_0x527d29(0x1df)]('p',{'className':_0x527d29(0x1c2),'children':_0x59d62b['t'](_0x527d29(0x132))}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x133),'children':[_0x53b64a[_0x527d29(0x1df)]('div',{'className':_0x527d29(0x16c),'children':_0x59d62b['t'](_0x527d29(0x1fa))}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x152),'children':[_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0xfa),'children':[_0x53b64a['jsx'](_0x527d29(0x24d),{'className':_0x527d29(0x134),'children':'1'}),_0x59d62b['t'](_0x527d29(0x18c))]}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0xfa),'children':[_0x53b64a['jsx'](_0x527d29(0x24d),{'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'}),_0x59d62b['t']('mcpConfig.configStep2')]}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0xfa),'children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x24d),{'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'}),_0x59d62b['t']('mcpConfig.configStep3')]})]})]})]}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x133),'children':[_0x53b64a['jsx']('div',{'className':_0x527d29(0x16c),'children':_0x527d29(0x184)}),_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':_0x527d29(0x128),'children':_0x53b64a[_0x527d29(0x1df)]('pre',{'className':_0x527d29(0x174),'children':JSON[_0x527d29(0x182)]({'mcpServers':{'univer':{'url':_0x527d29(0x260)+(_0x4121e5||_0x527d29(0x227)),'type':_0x527d29(0x1ed),'headers':{'Authorization':_0x527d29(0x13e)+(_0x436057||_0x527d29(0x23d))}}}},null,0x2)})})]}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x27a),'children':[_0x53b64a['jsx'](_0x527d29(0x285),{'className':_0x527d29(0x16c),'children':_0x59d62b['t'](_0x527d29(0x109))}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x133),'children':[_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x18a),'children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':_0x527d29(0x1bc)}),_0x53b64a[_0x527d29(0x27e)](_0x527d29(0x285),{'className':_0x527d29(0x1c7),'children':[_0x53b64a[_0x527d29(0x1df)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'univer_session_id:'}),_0x53b64a['jsx'](_0x527d29(0x285),{'className':_0x527d29(0x280),'children':_0x59d62b['t'](_0x527d29(0x273))})]})]}),_0x53b64a[_0x527d29(0x27e)]('div',{'className':_0x527d29(0x18a),'children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':_0x527d29(0x1bc)}),_0x53b64a['jsxs'](_0x527d29(0x285),{'className':_0x527d29(0x1c7),'children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x527d29(0x271)}),_0x53b64a[_0x527d29(0x1df)]('div',{'className':_0x527d29(0x280),'children':_0x59d62b['t'](_0x527d29(0x256))})]})]})]})]})]})]}),_0x53b64a['jsx'](_0x320829[_0x527d29(0x1f4)],{'onClick':_0x5f54e2,'disabled':!_0x189cfc||_0x504a3d,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x504a3d?_0x53b64a[_0x527d29(0x27e)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x24d),{'children':'⟲'}),_0x59d62b['t']('mcpConfig.saving')]}):_0x53b64a['jsxs'](_0x527d29(0x24d),{'className':_0x527d29(0xfa),'children':[_0x53b64a[_0x527d29(0x1df)](_0x17eb99,{}),_0x59d62b['t'](_0x527d29(0x230))]})}),_0x53b64a['jsx'](_0x527d29(0x285),{'className':_0x527d29(0x267),'children':_0x53b64a[_0x527d29(0x27e)]('div',{'className':_0x527d29(0x178),'children':[_0x53b64a['jsx'](_0x527d29(0x24d),{'className':_0x527d29(0x247),'children':'💡'}),_0x53b64a['jsxs']('div',{'className':_0x527d29(0x1e8),'children':[_0x53b64a[_0x527d29(0x1df)](_0x527d29(0x285),{'className':_0x527d29(0x24e),'children':_0x527d29(0x1e3)}),_0x53b64a['jsxs'](_0x527d29(0x285),{'children':['•',_0x59d62b['t'](_0x527d29(0x139))]}),_0x53b64a[_0x527d29(0x27e)]('div',{'children':['•',_0x59d62b['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x380e4e=_0x3d38a9(0x22d),_0xb01406={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x2a3faf=Object['getOwnPropertyDescriptor'],_0x5de00a=(_0x4d603f,_0x30b535,_0x243450,_0x2b10ac)=>{const _0x1a67b5=_0x3d38a9;for(var _0x371111=_0x2b10ac>0x1?void 0x0:_0x2b10ac?_0x2a3faf(_0x30b535,_0x243450):_0x30b535,_0x4584d5=_0x4d603f[_0x1a67b5(0x1b4)]-0x1,_0x4c7bf1;_0x4584d5>=0x0;_0x4584d5--)(_0x4c7bf1=_0x4d603f[_0x4584d5])&&(_0x371111=_0x4c7bf1(_0x371111)||_0x371111);return _0x371111;},_0x2dd383=(_0x452043,_0xf229f9)=>(_0x1ec4b7,_0x21578a)=>_0xf229f9(_0x1ec4b7,_0x21578a,_0x452043);const _0x37bd71=_0x3d38a9(0x1f9),_0x738fe=_0x3d38a9(0x10e);_0x2b70ea[_0x3d38a9(0x278)]=class extends _0x439196['Disposable']{constructor(_0x1e2724,_0x1323fc,_0x2070cf,_0x21e207,_0x50b8ba,_0x151678,_0x4531df,_0x522605,_0x371ff5,_0x3e1928){const _0x21ee6c=_0x3d38a9;super(),_0x14333b(this,_0x21ee6c(0x1bd),new _0x2ef401[(_0x21ee6c(0x1a1))](!0x1)),_0x14333b(this,'_mcpCoreConfig$',new _0x2ef401['BehaviorSubject']({})),_0x14333b(this,'_config$',new _0x2ef401['BehaviorSubject']({})),_0x14333b(this,'_apiKey$',new _0x2ef401[(_0x21ee6c(0x1a1))]('')),_0x14333b(this,_0x21ee6c(0x17a),async _0x3ebb20=>{const _0x40dfc9=_0x21ee6c;var _0x46c3a6,_0x34514a;this['_loading$']['next'](!0x0);try{const _0x5b7851=await this[_0x40dfc9(0x1c3)](_0x3ebb20);if(!_0x5b7851[_0x40dfc9(0x26e)]){this[_0x40dfc9(0xf9)][_0x40dfc9(0x198)]({'type':_0x320829['MessageType'][_0x40dfc9(0x10f)],'content':_0x5b7851['errorMessage']||this[_0x40dfc9(0x258)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3ebb20['apiKey']?await this[_0x40dfc9(0x202)][_0x40dfc9(0x235)](_0x37bd71,_0x3ebb20['apiKey'][_0x40dfc9(0x172)]()):await this['_localStorageService'][_0x40dfc9(0x207)](_0x37bd71),this[_0x40dfc9(0x1a7)][_0x40dfc9(0x179)](((_0x46c3a6=_0x3ebb20['apiKey'])==null?void 0x0:_0x46c3a6[_0x40dfc9(0x172)]())||''),this[_0x40dfc9(0x177)][_0x40dfc9(0x14d)]({'Authorization':_0x40dfc9(0x13e)+((_0x34514a=_0x3ebb20[_0x40dfc9(0x136)])==null?void 0x0:_0x34514a[_0x40dfc9(0x172)]())}),this[_0x40dfc9(0xf9)][_0x40dfc9(0x198)]({'type':_0x320829[_0x40dfc9(0x24a)][_0x40dfc9(0x209)],'content':this[_0x40dfc9(0x258)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x2e5af4=_0x40dfc9;this['_dialogService'][_0x2e5af4(0x1b6)](_0x738fe);},0x320);}catch(_0x3b19e5){this['_logService']['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x3b19e5),this[_0x40dfc9(0xf9)][_0x40dfc9(0x198)]({'type':_0x320829['MessageType'][_0x40dfc9(0x10f)],'content':this[_0x40dfc9(0x258)]['t'](_0x40dfc9(0x1d1))});}finally{this['_loading$'][_0x40dfc9(0x179)](!0x1);}}),(this[_0x21ee6c(0x21e)]=_0x1e2724,this['_uiPartsService']=_0x1323fc,this[_0x21ee6c(0x25d)]=_0x2070cf,this[_0x21ee6c(0x202)]=_0x21e207,this['_dialogService']=_0x50b8ba,this['_messageService']=_0x151678,this[_0x21ee6c(0x14f)]=_0x4531df,this['_localeService']=_0x522605,this[_0x21ee6c(0x19e)]=_0x371ff5,this[_0x21ee6c(0x177)]=_0x3e1928,this[_0x21ee6c(0x116)](),this[_0x21ee6c(0x1be)](),this[_0x21ee6c(0x197)]());}[_0x3d38a9(0x1ae)](){const _0x514d5e=_0x3d38a9,_0x43fedc=this[_0x514d5e(0x25d)][_0x514d5e(0x283)](_0x380e4e);_0x43fedc!=null&&_0x43fedc[_0x514d5e(0x20d)]&&this['_dialogService'][_0x514d5e(0x1ff)]({'id':_0x738fe,'title':{'title':this[_0x514d5e(0x258)]['t']('mcpConfig.title')},'children':{'label':_0x514d5e(0x104)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3ed129=_0x514d5e;this[_0x3ed129(0x102)][_0x3ed129(0x1b6)](_0x738fe);}});}['getCurrentConfig'](){const _0xf892d7=_0x3d38a9;return this[_0xf892d7(0x105)]['value'];}['_registerComponent'](){const _0xe46df0=_0x3d38a9;this[_0xe46df0(0x1de)](this[_0xe46df0(0x14f)][_0xe46df0(0x228)](_0xe46df0(0x104),this[_0xe46df0(0x127)]()));}[_0x3d38a9(0x127)](){const _0x39d491=_0x3d38a9;return _0x471df5[_0x39d491(0x218)](()=>{const _0x28f46f=_0x39d491;var _0x38d3a4,_0x594027,_0x2ffa81;return _0x53b64a[_0x28f46f(0x1df)](_0x15e386,{'config':this[_0x28f46f(0x240)][_0x28f46f(0x16f)],'mcpCoreConfig':this[_0x28f46f(0x105)][_0x28f46f(0x16f)],'currentApiKey$':this[_0x28f46f(0x1a7)],'onSave':this[_0x28f46f(0x17a)],'loading':this[_0x28f46f(0x1bd)]['value'],'connectionStatus$':(_0x38d3a4=this[_0x28f46f(0x177)])==null?void 0x0:_0x38d3a4[_0x28f46f(0x22f)],'connectionError$':(_0x594027=this['_mcpConnectionController'])==null?void 0x0:_0x594027[_0x28f46f(0x1aa)],'currentSessionId$':(_0x2ffa81=this[_0x28f46f(0x177)])==null?void 0x0:_0x2ffa81['sessionId$']});},this[_0x39d491(0x21e)]);}[_0x3d38a9(0x116)](){const _0x31624a=_0x3d38a9;this['disposeWithMe'](this[_0x31624a(0x25d)][_0x31624a(0x1c9)](_0x392fe0[_0x31624a(0x187)])[_0x31624a(0x241)](_0xdf019e=>{const _0x5f381a=_0x31624a;this[_0x5f381a(0x105)]['next'](_0xdf019e||{});}));const _0x4862f3=this[_0x31624a(0x25d)][_0x31624a(0x283)](_0x392fe0[_0x31624a(0x187)]);this[_0x31624a(0x105)][_0x31624a(0x179)](_0x4862f3||{}),this[_0x31624a(0x1de)](this[_0x31624a(0x25d)][_0x31624a(0x1c9)](_0x380e4e)[_0x31624a(0x241)](_0x44d2fe=>{const _0x40a186=_0x31624a;this[_0x40a186(0x240)][_0x40a186(0x179)](_0x44d2fe||{});}));const _0x29607c=this[_0x31624a(0x25d)][_0x31624a(0x283)](_0x380e4e);this[_0x31624a(0x240)][_0x31624a(0x179)](_0x29607c||{});}async['_loadStoredApiKey'](){const _0x38c2b1=_0x3d38a9,_0x39f280=this['_configService'][_0x38c2b1(0x283)](_0x380e4e);if(!(_0x39f280!=null&&_0x39f280[_0x38c2b1(0x20d)]))return;const _0x2c6ff9=await this[_0x38c2b1(0x202)]['getItem'](_0x37bd71);_0x2c6ff9&&(this[_0x38c2b1(0x177)][_0x38c2b1(0x14d)]({'Authorization':_0x38c2b1(0x13e)+_0x2c6ff9}),this[_0x38c2b1(0x1a7)][_0x38c2b1(0x179)](_0x2c6ff9));}async[_0x3d38a9(0x1c3)](_0x1104d8){const _0x257f09=_0x3d38a9;if(!_0x1104d8[_0x257f09(0x136)]||_0x1104d8[_0x257f09(0x136)][_0x257f09(0x172)]()[_0x257f09(0x1b4)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x257f09(0x258)]['t'](_0x257f09(0x269))};if(_0x1104d8['apiKey']['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x257f09(0x258)]['t'](_0x257f09(0x274))};try{const _0x47de22=await this[_0x257f09(0x21e)]['get'](_0x392fe0[_0x257f09(0x217)])[_0x257f09(0x24c)](_0x1104d8[_0x257f09(0x136)][_0x257f09(0x172)]());return _0x47de22[_0x257f09(0x26e)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x47de22[_0x257f09(0x1ef)]||this[_0x257f09(0x258)]['t'](_0x257f09(0x1a3))};}catch(_0x405c57){return console[_0x257f09(0xf5)](_0x257f09(0x200),_0x405c57),{'isValid':!0x0};}}},_0x2b70ea[_0x3d38a9(0x278)]=_0x5de00a([_0x2dd383(0x0,_0x439196[_0x3d38a9(0x206)](_0x439196[_0x3d38a9(0x1eb)])),_0x2dd383(0x1,_0x471df5[_0x3d38a9(0x23e)]),_0x2dd383(0x2,_0x439196['IConfigService']),_0x2dd383(0x3,_0x439196[_0x3d38a9(0x27c)]),_0x2dd383(0x4,_0x471df5[_0x3d38a9(0x1bf)]),_0x2dd383(0x5,_0x471df5[_0x3d38a9(0x22e)]),_0x2dd383(0x6,_0x439196['Inject'](_0x471df5['ComponentManager'])),_0x2dd383(0x7,_0x439196[_0x3d38a9(0x206)](_0x439196[_0x3d38a9(0x15d)])),_0x2dd383(0x8,_0x439196[_0x3d38a9(0x123)]),_0x2dd383(0x9,_0x439196[_0x3d38a9(0x206)](_0x392fe0[_0x3d38a9(0x217)]))],_0x2b70ea[_0x3d38a9(0x278)]);const _0x3a85ec={'id':_0x3d38a9(0x148),'type':_0x439196[_0x3d38a9(0x18f)][_0x3d38a9(0x261)],'handler':async(_0x546485,_0x1a55b7)=>(_0x546485[_0x3d38a9(0x112)](_0x2b70ea[_0x3d38a9(0x278)])[_0x3d38a9(0x1ae)](),!0x0)};function _0x36e3ea(_0x3d54f1,_0x1f9cdd){const _0x1dfe5e=_0x3d38a9;switch(_0x3d54f1){case _0x392fe0[_0x1dfe5e(0x1c8)][_0x1dfe5e(0x1d3)]:return _0x1dfe5e(0x126);case _0x392fe0[_0x1dfe5e(0x1c8)][_0x1dfe5e(0x1dc)]:return _0x1dfe5e(0x265);case _0x392fe0['MCPConnectionStatus'][_0x1dfe5e(0xff)]:return'mcpStatus.connected';case _0x392fe0[_0x1dfe5e(0x1c8)][_0x1dfe5e(0x14b)]:switch(_0x1f9cdd){case _0x392fe0[_0x1dfe5e(0x232)]['UNAUTHORIZED']:return'mcpStatus.unauthorized';case _0x392fe0['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x1dfe5e(0x1d5);case _0x392fe0[_0x1dfe5e(0x232)][_0x1dfe5e(0x103)]:return _0x1dfe5e(0x115);case _0x392fe0[_0x1dfe5e(0x232)][_0x1dfe5e(0x248)]:return _0x1dfe5e(0x20f);default:return _0x1dfe5e(0x171);}case _0x392fe0[_0x1dfe5e(0x1c8)][_0x1dfe5e(0x19d)]:return _0x1dfe5e(0x121);default:return _0x1dfe5e(0x229);}}function _0xf19b5e(_0x11771f,_0x5bd727,_0x2563bd,_0x521697=!0x0){const _0xa6fa76=_0x3d38a9,_0x3f5f09=_0x36e3ea(_0x11771f,_0x5bd727),_0x490e53=_0x2563bd['t'](_0x3f5f09);return _0x521697?_0x11771f===_0x392fe0[_0xa6fa76(0x1c8)][_0xa6fa76(0x1d3)]&&_0x5bd727===_0x392fe0['MCPConnectionError']['UNAUTHORIZED']?_0x490e53+_0xa6fa76(0x1ee)+_0x2563bd['t'](_0xa6fa76(0x146)):_0x11771f===_0x392fe0[_0xa6fa76(0x1c8)][_0xa6fa76(0xff)]?''+_0x490e53:_0x11771f===_0x392fe0['MCPConnectionStatus'][_0xa6fa76(0x1d3)]||_0x11771f===_0x392fe0[_0xa6fa76(0x1c8)]['FAILED']?_0x490e53+_0xa6fa76(0x1ee)+_0x2563bd['t'](_0xa6fa76(0x186)):_0x490e53:_0x490e53;}function _0x2cfeb1(_0x4e862f){const _0x29a195=_0x3d38a9;switch(_0x4e862f){case _0x392fe0[_0x29a195(0x1c8)][_0x29a195(0xff)]:return _0x29a195(0x201);case _0x392fe0['MCPConnectionStatus'][_0x29a195(0x1dc)]:case _0x392fe0[_0x29a195(0x1c8)][_0x29a195(0x19d)]:return _0x29a195(0x17d);case _0x392fe0[_0x29a195(0x1c8)][_0x29a195(0x14b)]:case _0x392fe0[_0x29a195(0x1c8)][_0x29a195(0x1d3)]:return _0x29a195(0x25b);default:return _0x29a195(0x1cf);}}function _0x51a551(_0x3506a2){const _0x5ee929=_0x3d38a9,{status$:_0x293d23,error$:_0x1061d6,onConfigure:_0x19a4fe,showClickable:_0xfd488c=!0x0}=_0x3506a2,_0x2d1bb9=_0x471df5[_0x5ee929(0x1ec)](_0x293d23,_0x392fe0[_0x5ee929(0x1c8)][_0x5ee929(0x1d3)]),_0x2bfea7=_0x471df5[_0x5ee929(0x1ec)](_0x1061d6,_0x392fe0[_0x5ee929(0x232)][_0x5ee929(0x12b)]),_0x2e86b9=_0x471df5[_0x5ee929(0x215)](_0x439196[_0x5ee929(0x15d)]),_0x294652=_0x2d1bb9===_0x392fe0[_0x5ee929(0x1c8)][_0x5ee929(0xff)];_0x2d1bb9===_0x392fe0[_0x5ee929(0x1c8)][_0x5ee929(0x1dc)]||_0x392fe0[_0x5ee929(0x1c8)]['RETRYING'];const _0x586b98=_0x2e86b9['t'](_0x36e3ea(_0x2d1bb9,_0x2bfea7)),_0xfd521f=_0xf19b5e(_0x2d1bb9,_0x2bfea7,_0x2e86b9,_0xfd488c),_0x5070bd=_0x2cfeb1(_0x2d1bb9),_0x10abe1=_0x294652?_0x53b64a[_0x5ee929(0x1df)](_0x2da7b2,{}):_0x53b64a[_0x5ee929(0x1df)](_0x12a6eb,{}),_0x5b3195=_0x487d7e[_0x5ee929(0x1d8)](()=>{_0xfd488c&&_0x19a4fe&&_0x19a4fe();},[_0xfd488c,_0x19a4fe]);function _0x15bbba(){const _0x5aeab6=_0x5ee929;return _0x53b64a['jsxs'](_0x5aeab6(0x285),{'className':_0x320829[_0x5aeab6(0x176)](_0x5aeab6(0x124),_0xfd488c&&_0x19a4fe&&_0x5aeab6(0x173)),'role':'button','onClick':_0xfd488c&&_0x19a4fe?_0x5b3195:void 0x0,'children':[_0x53b64a[_0x5aeab6(0x1df)](_0x5aeab6(0x285),{'className':_0x320829[_0x5aeab6(0x176)](_0x5aeab6(0x12f),_0x5070bd),'children':_0x10abe1}),_0x53b64a[_0x5aeab6(0x1df)](_0x5aeab6(0x285),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x586b98})]});}return _0x53b64a[_0x5ee929(0x1df)](_0x320829['Tooltip'],{'title':_0xfd521f,'placement':_0x5ee929(0x1c4),'children':_0x15bbba()});}var _0x546447=Object[_0x3d38a9(0x21b)],_0xe8085=(_0x47e2fd,_0x4d7c2e,_0x2f0d4a,_0x1d0bd1)=>{const _0x4cbcfe=_0x3d38a9;for(var _0x196e10=_0x1d0bd1>0x1?void 0x0:_0x1d0bd1?_0x546447(_0x4d7c2e,_0x2f0d4a):_0x4d7c2e,_0x3f3385=_0x47e2fd[_0x4cbcfe(0x1b4)]-0x1,_0x5123e8;_0x3f3385>=0x0;_0x3f3385--)(_0x5123e8=_0x47e2fd[_0x3f3385])&&(_0x196e10=_0x5123e8(_0x196e10)||_0x196e10);return _0x196e10;},_0x23a7cf=(_0xf81d8a,_0x49fb1c)=>(_0x44ba41,_0x32ff78)=>_0x49fb1c(_0x44ba41,_0x32ff78,_0xf81d8a);_0x2b70ea[_0x3d38a9(0x276)]=class extends _0x439196['Disposable']{constructor(_0x59e30d,_0xf6ddf0,_0x53215e,_0x11ccc){const _0x1e5730=_0x3d38a9;super(),this[_0x1e5730(0x21e)]=_0x59e30d,this[_0x1e5730(0x1ab)]=_0xf6ddf0,this[_0x1e5730(0x129)]=_0x53215e,this[_0x1e5730(0x25d)]=_0x11ccc,this[_0x1e5730(0x286)](),this[_0x1e5730(0x188)]();}['_initAutoConnect'](){const _0x1ca55f=_0x3d38a9,_0x4e2975=this[_0x1ca55f(0x25d)]['getConfig'](_0x380e4e);_0x4e2975!=null&&_0x4e2975['showDeveloperTools']&&(this[_0x1ca55f(0x1ab)]['enableAutoConnect']=!0x1);}[_0x3d38a9(0x188)](){const _0x15cf0b=_0x3d38a9,_0x3b5d5f=this[_0x15cf0b(0x25d)][_0x15cf0b(0x283)](_0x380e4e);(_0x3b5d5f==null?void 0x0:_0x3b5d5f['showStatus'])!==!0x1&&this[_0x15cf0b(0x1de)](this[_0x15cf0b(0x129)][_0x15cf0b(0x170)](_0x471df5[_0x15cf0b(0x107)]['HEADER_MENU'],()=>{const _0x2ab4ab=_0x15cf0b;var _0x2e72de;return _0x471df5[_0x2ab4ab(0x218)](_0x50b691({'status$':this[_0x2ab4ab(0x1ab)]['connectionStatus$'],'error$':this[_0x2ab4ab(0x1ab)][_0x2ab4ab(0x1aa)],'onConfigure':()=>this[_0x2ab4ab(0x222)](),'showClickable':(_0x2e72de=_0x3b5d5f==null?void 0x0:_0x3b5d5f[_0x2ab4ab(0x20d)])!=null?_0x2e72de:!0x1}),this[_0x2ab4ab(0x21e)]);}));}['_handleConfigure'](){const _0x205537=_0x3d38a9;this['_injector'][_0x205537(0x112)](_0x2b70ea['MCPConfigUIController'])[_0x205537(0x1ae)]();}},_0x2b70ea['MCPConnectionUIController']=_0xe8085([_0x23a7cf(0x0,_0x439196[_0x3d38a9(0x206)](_0x439196[_0x3d38a9(0x1eb)])),_0x23a7cf(0x1,_0x439196[_0x3d38a9(0x206)](_0x392fe0[_0x3d38a9(0x217)])),_0x23a7cf(0x2,_0x471df5[_0x3d38a9(0x23e)]),_0x23a7cf(0x3,_0x439196['IConfigService'])],_0x2b70ea[_0x3d38a9(0x276)]);function _0x50b691(_0xa0caac){const {status$:_0x6d1bc9,error$:_0x1d1eac,onConfigure:_0x3eed1a,showClickable:_0x2cece7}=_0xa0caac;return function(){const _0x25410c=_0x5506;return _0x53b64a[_0x25410c(0x1df)](_0x51a551,{'status$':_0x6d1bc9,'error$':_0x1d1eac,'onConfigure':_0x3eed1a,'showClickable':_0x2cece7});};}function _0x25f75b(_0x336fcf){const _0x12c5e8=_0x3d38a9;return{'id':_0x3a85ec['id'],'type':_0x471df5[_0x12c5e8(0x1b8)][_0x12c5e8(0x12e)],'icon':_0x12c5e8(0x151),'title':_0x12c5e8(0x141),'tooltip':_0x12c5e8(0x141)};}const _0x5e4b83={[_0x471df5['RibbonStartGroup'][_0x3d38a9(0x262)]]:{[_0x3a85ec['id']]:{'order':0xa,'menuItemFactory':_0x25f75b}}};var _0x333dde=Object[_0x3d38a9(0x21b)],_0x1e7e5a=(_0x559849,_0x154e76,_0x1d66a5,_0x20c1c1)=>{const _0x55b1c4=_0x3d38a9;for(var _0x3ac555=_0x20c1c1>0x1?void 0x0:_0x20c1c1?_0x333dde(_0x154e76,_0x1d66a5):_0x154e76,_0x34a973=_0x559849[_0x55b1c4(0x1b4)]-0x1,_0x45f274;_0x34a973>=0x0;_0x34a973--)(_0x45f274=_0x559849[_0x34a973])&&(_0x3ac555=_0x45f274(_0x3ac555)||_0x3ac555);return _0x3ac555;},_0x10dd1e=(_0x43a879,_0x79dfda)=>(_0x588658,_0x17fb6f)=>_0x79dfda(_0x588658,_0x17fb6f,_0x43a879);_0x2b70ea[_0x3d38a9(0x183)]=class extends _0x439196[_0x3d38a9(0x208)]{constructor(_0x32b10d,_0x57621a){const _0x96f1c0=_0x3d38a9;super(),this['_commandService']=_0x32b10d,this[_0x96f1c0(0x19b)]=_0x57621a,this[_0x96f1c0(0x223)](),this[_0x96f1c0(0x11c)]();}[_0x3d38a9(0x223)](){[_0x3a85ec]['forEach'](_0x16daab=>{const _0x145652=_0x5506;this[_0x145652(0x1de)](this[_0x145652(0x13a)][_0x145652(0x1f6)](_0x16daab));});}[_0x3d38a9(0x11c)](){const _0x284a11=_0x3d38a9;this['_menuManagerService'][_0x284a11(0x1d2)](_0x5e4b83);}},_0x2b70ea[_0x3d38a9(0x183)]=_0x1e7e5a([_0x10dd1e(0x0,_0x439196[_0x3d38a9(0x239)]),_0x10dd1e(0x1,_0x471df5[_0x3d38a9(0x259)])],_0x2b70ea[_0x3d38a9(0x183)]);const _0x29f067={'mcpStatus':{'disconnected':_0x3d38a9(0x1ea),'connecting':_0x3d38a9(0x25a),'connected':_0x3d38a9(0x233),'failed':_0x3d38a9(0x1a2),'retrying':_0x3d38a9(0x13c),'unknown':_0x3d38a9(0x242),'unauthorized':_0x3d38a9(0x1ba),'sessionOccupied':_0x3d38a9(0x138),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3d38a9(0x1cc),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3d38a9(0x159)},'mcpConfig':{'title':_0x3d38a9(0x184),'description':_0x3d38a9(0x1fd),'apiKey':_0x3d38a9(0x16b),'apiKeyPlaceholder':_0x3d38a9(0x245),'apiKeyHint':_0x3d38a9(0x15e),'enableAuth':_0x3d38a9(0x130),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3d38a9(0x140),'configStepTitle':_0x3d38a9(0x111),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3d38a9(0x20a),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3d38a9(0x1e7),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x3d38a9(0x1ad),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x3d38a9(0x180),'note2':_0x3d38a9(0x1ac),'configSaved':_0x3d38a9(0x155),'configError':_0x3d38a9(0x15b),'apiApplyInfo':{'title':_0x3d38a9(0x225),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x3d38a9(0x22a),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3d38a9(0x158),'apiKeyTooShort':_0x3d38a9(0x156),'invalidConfig':_0x3d38a9(0x284),'invalidApiKey':_0x3d38a9(0x125)},'connectionStatus':{'disconnected':_0x3d38a9(0x1b1),'connecting':_0x3d38a9(0x212),'connected':_0x3d38a9(0x1e0),'failed':_0x3d38a9(0x1f5),'retrying':_0x3d38a9(0x12c)},'connectionError':{'unauthorized':_0x3d38a9(0x1b2),'sessionOccupied':_0x3d38a9(0xf8),'networkError':_0x3d38a9(0xf7),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x4d200e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x3d38a9(0x1d6),'connected':_0x3d38a9(0x11e),'failed':'MCP\x20连接失败','retrying':_0x3d38a9(0x25c),'unknown':_0x3d38a9(0x193),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x3d38a9(0x1f0),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x3d38a9(0x1f7),'clickToConfigure':_0x3d38a9(0x1e2)},'mcpConfig':{'title':_0x3d38a9(0x196),'description':_0x3d38a9(0x231),'apiKey':_0x3d38a9(0x23c),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x3d38a9(0x1fe),'enableAuth':_0x3d38a9(0x216),'enableAuthHint':_0x3d38a9(0x1e4),'connectionInfo':_0x3d38a9(0x1c6),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x3d38a9(0x13b),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x3d38a9(0x213),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x3d38a9(0x1a4),'sessionIdDescription':_0x3d38a9(0x1fb),'authorizationDescription':_0x3d38a9(0x13f),'configParameters':_0x3d38a9(0x1b3),'maxRetries':_0x3d38a9(0x135),'save':_0x3d38a9(0x164),'saving':'保存中...','note1':'配置更改将立即生效','note2':_0x3d38a9(0x1b5),'configSaved':'配置保存成功','configError':_0x3d38a9(0x211),'apiApplyInfo':{'title':_0x3d38a9(0x272),'description':_0x3d38a9(0x181),'univerAiLabel':_0x3d38a9(0x12d),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x3d38a9(0x14a),'apiKeyTooShort':_0x3d38a9(0x220),'invalidConfig':'配置无效','invalidApiKey':_0x3d38a9(0x20e)},'connectionStatus':{'disconnected':_0x3d38a9(0x100),'connecting':_0x3d38a9(0x252),'connected':_0x3d38a9(0x27b),'failed':_0x3d38a9(0x204),'retrying':_0x3d38a9(0x106)},'connectionError':{'unauthorized':_0x3d38a9(0x205),'sessionOccupied':_0x3d38a9(0x1bb),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x3d38a9(0x162)}}};var _0x3021fb=Object['defineProperty'],_0x575087=Object[_0x3d38a9(0x21b)],_0x394e4a=(_0x341c0d,_0x1a9f89,_0x386604)=>_0x1a9f89 in _0x341c0d?_0x3021fb(_0x341c0d,_0x1a9f89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x386604}):_0x341c0d[_0x1a9f89]=_0x386604,_0x5516e3=(_0x2c1d01,_0x976163,_0x51a646,_0x2adbbd)=>{const _0xe123a3=_0x3d38a9;for(var _0x3418e6=_0x2adbbd>0x1?void 0x0:_0x2adbbd?_0x575087(_0x976163,_0x51a646):_0x976163,_0x5e70be=_0x2c1d01[_0xe123a3(0x1b4)]-0x1,_0x5a0ea5;_0x5e70be>=0x0;_0x5e70be--)(_0x5a0ea5=_0x2c1d01[_0x5e70be])&&(_0x3418e6=_0x5a0ea5(_0x3418e6)||_0x3418e6);return _0x3418e6;},_0x4996ff=(_0xb64fa3,_0x44eaf4)=>(_0x2572c8,_0x8ab75)=>_0x44eaf4(_0x2572c8,_0x8ab75,_0xb64fa3),_0x5c3b39=(_0x14ea2a,_0x2f0b1b,_0x2a5007)=>_0x394e4a(_0x14ea2a,_0x2f0b1b+'',_0x2a5007);_0x2b70ea['UniverMCPUIPlugin']=class extends _0x439196[_0x3d38a9(0x167)]{constructor(_0x4189e5=_0xb01406,_0x5ee5bd,_0x13d8f9,_0x4b240c,_0x397975,_0x38e093){const _0x1856c3=_0x3d38a9;super(),this[_0x1856c3(0xfc)]=_0x4189e5,this[_0x1856c3(0x21e)]=_0x5ee5bd,this[_0x1856c3(0x25d)]=_0x13d8f9,this['_uiPartsService']=_0x4b240c,this[_0x1856c3(0x202)]=_0x397975,this[_0x1856c3(0x258)]=_0x38e093;const {..._0x4a9c2c}=_0x439196[_0x1856c3(0x13d)]({},_0xb01406,this[_0x1856c3(0xfc)]);this[_0x1856c3(0x25d)]['setConfig'](_0x380e4e,_0x4a9c2c);}async[_0x3d38a9(0x118)](){const _0x45b56d=_0x3d38a9,_0x507d34=[[_0x2b70ea['MCPConnectionUIController']],[_0x2b70ea[_0x45b56d(0x278)]],[_0x2b70ea[_0x45b56d(0x183)]]];this[_0x45b56d(0x21e)][_0x45b56d(0x17b)](_0x43e578[_0x45b56d(0x236)])||_0x507d34['push']([_0x43e578[_0x45b56d(0x236)],{'useClass':_0x43e578[_0x45b56d(0x163)]}]),_0x507d34['forEach'](_0x23a8b7=>this['_injector']['add'](_0x23a8b7)),this[_0x45b56d(0x21e)][_0x45b56d(0x112)](_0x2b70ea[_0x45b56d(0x276)]),this[_0x45b56d(0x21e)][_0x45b56d(0x112)](_0x2b70ea[_0x45b56d(0x278)]),this[_0x45b56d(0x21e)][_0x45b56d(0x112)](_0x2b70ea[_0x45b56d(0x183)]);}},_0x5c3b39(_0x2b70ea['UniverMCPUIPlugin'],'pluginName','MCP_UI_PLUGIN'),_0x2b70ea['UniverMCPUIPlugin']=_0x5516e3([_0x439196[_0x3d38a9(0x1c1)](_0x392fe0[_0x3d38a9(0x1b7)]),_0x4996ff(0x1,_0x439196[_0x3d38a9(0x206)](_0x439196[_0x3d38a9(0x1eb)])),_0x4996ff(0x2,_0x439196[_0x3d38a9(0x11f)]),_0x4996ff(0x3,_0x471df5[_0x3d38a9(0x23e)]),_0x4996ff(0x4,_0x439196[_0x3d38a9(0x27c)]),_0x4996ff(0x5,_0x439196[_0x3d38a9(0x206)](_0x439196['LocaleService']))],_0x2b70ea[_0x3d38a9(0x237)]),_0x2b70ea[_0x3d38a9(0x104)]=_0x15e386,_0x2b70ea[_0x3d38a9(0x23a)]=_0x51a551,_0x2b70ea['OpenMCPConfigPanelCommand']=_0x3a85ec,_0x2b70ea['enUS']=_0x29f067,_0x2b70ea[_0x3d38a9(0x1f2)]=_0x4d200e,Object['defineProperty'](_0x2b70ea,Symbol[_0x3d38a9(0x1a8)],{'value':_0x3d38a9(0x11d)});}));
1
+ (function(_0x2b0bda,_0x192091){const _0x3455e4=_0x21cb,_0x3bcacb=_0x2b0bda();while(!![]){try{const _0x57da88=-parseInt(_0x3455e4(0x2c0))/0x1+parseInt(_0x3455e4(0x364))/0x2*(parseInt(_0x3455e4(0x24c))/0x3)+-parseInt(_0x3455e4(0x358))/0x4*(-parseInt(_0x3455e4(0x2f6))/0x5)+parseInt(_0x3455e4(0x2e7))/0x6*(parseInt(_0x3455e4(0x20f))/0x7)+-parseInt(_0x3455e4(0x371))/0x8+parseInt(_0x3455e4(0x1fd))/0x9+-parseInt(_0x3455e4(0x338))/0xa*(parseInt(_0x3455e4(0x1ff))/0xb);if(_0x57da88===_0x192091)break;else _0x3bcacb['push'](_0x3bcacb['shift']());}catch(_0x24a28b){_0x3bcacb['push'](_0x3bcacb['shift']());}}}(_0x305e,0x79512),function(_0x4c7b85,_0x3bebcf){const _0x4c101c=_0x21cb;typeof exports==_0x4c101c(0x255)&&typeof module<'u'?_0x3bebcf(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x4c101c(0x356)&&define[_0x4c101c(0x287)]?define([_0x4c101c(0x2a9),_0x4c101c(0x35d),_0x4c101c(0x343),_0x4c101c(0x334),'@univerjs/design','@univerjs/ui',_0x4c101c(0x272),_0x4c101c(0x20e),_0x4c101c(0x30b)],_0x3bebcf):(_0x4c7b85=typeof globalThis<'u'?globalThis:_0x4c7b85||self,_0x3bebcf(_0x4c7b85['UniverProMcpUi']={},_0x4c7b85[_0x4c101c(0x2ee)],_0x4c7b85['React'],_0x4c7b85[_0x4c101c(0x21a)],_0x4c7b85[_0x4c101c(0x2df)],_0x4c7b85['UniverUi'],_0x4c7b85[_0x4c101c(0x272)],_0x4c7b85[_0x4c101c(0x346)],_0x4c7b85[_0x4c101c(0x35c)]));}(this,function(_0x45d0c1,_0x484154,_0x3e2647,_0xbf05f8,_0x592e48,_0x1e3df4,_0x1f981e,_0xda6512,_0x46a57f){'use strict';const _0x48d253=_0x21cb;var _0x2ba35b=Object['defineProperty'],_0x48bb20=(_0xbe317f,_0x4e1814,_0x43e02f)=>_0x4e1814 in _0xbe317f?_0x2ba35b(_0xbe317f,_0x4e1814,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43e02f}):_0xbe317f[_0x4e1814]=_0x43e02f,_0x5c45d5=(_0x1155a4,_0x26e90f,_0x2dff0a)=>_0x48bb20(_0x1155a4,typeof _0x26e90f!=_0x48d253(0x29e)?_0x26e90f+'':_0x26e90f,_0x2dff0a);function _0x33b1d5({ref:_0x47379a,..._0x420058}){const _0x56487b=_0x48d253,{icon:_0x5804f5,id:_0x23261a,className:_0x10b3bd,extend:_0x267c87,..._0x5d9817}=_0x420058,_0x5881e7=('univerjs-icon\x20univerjs-icon-'+_0x23261a+'\x20'+(_0x10b3bd||''))[_0x56487b(0x202)](),_0x353a86=_0xda6512[_0x56487b(0x21f)]('_'+_0x437206());return _0x693773(_0x5804f5,''+_0x23261a,{'defIds':_0x5804f5[_0x56487b(0x289)],'idSuffix':_0x353a86[_0x56487b(0x246)]},{'ref':_0x47379a,'className':_0x5881e7,..._0x5d9817},_0x267c87);}function _0x693773(_0x509bea,_0x573977,_0x1d7dcc,_0x2822ba,_0x45777b){const _0x187480=_0x48d253;return _0xda6512[_0x187480(0x222)](_0x509bea[_0x187480(0x374)],{'key':_0x573977,..._0x32568f(_0x509bea,_0x1d7dcc,_0x45777b),..._0x2822ba},(_0x5f189b(_0x509bea,_0x1d7dcc)['children']||[])['map']((_0x359822,_0x13f3ad)=>_0x693773(_0x359822,_0x573977+'-'+_0x509bea[_0x187480(0x374)]+'-'+_0x13f3ad,_0x1d7dcc,void 0x0,_0x45777b)));}function _0x32568f(_0x4e32d9,_0x1234f2,_0x4c0ee1){const _0x2774ef=_0x48d253,_0x549cd5={..._0x4e32d9[_0x2774ef(0x296)]};_0x4c0ee1!=null&&_0x4c0ee1[_0x2774ef(0x323)]&&_0x549cd5['fill']===_0x2774ef(0x323)&&(_0x549cd5['fill']=_0x4c0ee1[_0x2774ef(0x323)]),_0x4e32d9[_0x2774ef(0x374)]===_0x2774ef(0x2cf)&&_0x549cd5['id']&&(_0x549cd5['id']=_0x549cd5['id']+_0x1234f2[_0x2774ef(0x223)]),Object[_0x2774ef(0x360)](_0x549cd5)['forEach'](([_0x51f539,_0x1fab3b])=>{const _0x389a07=_0x2774ef;_0x51f539===_0x389a07(0x2cf)&&typeof _0x1fab3b==_0x389a07(0x236)&&(_0x549cd5[_0x51f539]=_0x1fab3b[_0x389a07(0x273)](/url\(#(.*)\)/,_0x389a07(0x203)+_0x1234f2[_0x389a07(0x223)]+')'));});const {defIds:_0x36046f}=_0x1234f2;return!_0x36046f||_0x36046f['length']===0x0||(_0x4e32d9[_0x2774ef(0x374)]==='use'&&_0x549cd5[_0x2774ef(0x228)]&&(_0x549cd5[_0x2774ef(0x228)]=_0x549cd5[_0x2774ef(0x228)]+_0x1234f2[_0x2774ef(0x223)]),Object[_0x2774ef(0x360)](_0x549cd5)[_0x2774ef(0x245)](([_0x481904,_0x38e586])=>{const _0x58a4ed=_0x2774ef;typeof _0x38e586=='string'&&(_0x549cd5[_0x481904]=_0x38e586[_0x58a4ed(0x273)](/url\(#(.*)\)/,_0x58a4ed(0x203)+_0x1234f2[_0x58a4ed(0x223)]+')'));})),_0x549cd5;}function _0x5f189b(_0x583839,_0x105c98){const _0x2b57d9=_0x48d253;var _0x20b751;const {defIds:_0x3d3476}=_0x105c98;return!_0x3d3476||_0x3d3476[_0x2b57d9(0x2c3)]===0x0?_0x583839:_0x583839[_0x2b57d9(0x374)]===_0x2b57d9(0x320)&&((_0x20b751=_0x583839[_0x2b57d9(0x1fa)])!=null&&_0x20b751[_0x2b57d9(0x2c3)])?{..._0x583839,'children':_0x583839[_0x2b57d9(0x1fa)][_0x2b57d9(0x372)](_0x161da7=>typeof _0x161da7[_0x2b57d9(0x296)]['id']==_0x2b57d9(0x236)&&_0x3d3476&&_0x3d3476[_0x2b57d9(0x22b)](_0x161da7['attrs']['id'])?{..._0x161da7,'attrs':{..._0x161da7[_0x2b57d9(0x296)],'id':_0x161da7[_0x2b57d9(0x296)]['id']+_0x105c98['idSuffix']}}:_0x161da7)}:_0x583839;}function _0x437206(){const _0x4740de=_0x48d253;return Math[_0x4740de(0x2c8)]()[_0x4740de(0x21b)](0x24)[_0x4740de(0x291)](0x2,0x8);}_0x33b1d5['displayName']=_0x48d253(0x30c);const _0x539879={'tag':_0x48d253(0x225),'attrs':{'xmlns':_0x48d253(0x321),'fill':'none','viewBox':_0x48d253(0x34e),'width':'1em','height':'1em'},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':_0x48d253(0x1f9),'d':_0x48d253(0x36c),'fillRule':_0x48d253(0x32a),'clipRule':_0x48d253(0x32a)}}]},_0x4e2324=_0xda6512[_0x48d253(0x208)](function(_0x59d350,_0x5234f3){const _0x2a2f4b=_0x48d253;return _0xda6512['createElement'](_0x33b1d5,Object[_0x2a2f4b(0x24b)]({},_0x59d350,{'id':'check-mark-icon','ref':_0x5234f3,'icon':_0x539879}));});_0x4e2324[_0x48d253(0x363)]=_0x48d253(0x217);const _0x473235={'tag':_0x48d253(0x225),'attrs':{'xmlns':_0x48d253(0x321),'fill':_0x48d253(0x23a),'viewBox':_0x48d253(0x34e),'width':_0x48d253(0x290),'height':'1em'},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':'currentColor','d':_0x48d253(0x20d)}}]},_0xd05936=_0xda6512['forwardRef'](function(_0x507911,_0x59c67b){const _0x4674fc=_0x48d253;return _0xda6512['createElement'](_0x33b1d5,Object[_0x4674fc(0x24b)]({},_0x507911,{'id':'close-icon','ref':_0x59c67b,'icon':_0x473235}));});_0xd05936[_0x48d253(0x363)]='CloseIcon';const _0x124910={'tag':_0x48d253(0x225),'attrs':{'xmlns':_0x48d253(0x321),'fill':_0x48d253(0x23a),'viewBox':'0\x200\x2016\x2016','width':_0x48d253(0x290),'height':_0x48d253(0x290)},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':_0x48d253(0x1f9),'d':_0x48d253(0x25b)}},{'tag':_0x48d253(0x2ce),'attrs':{'fill':'currentColor','d':_0x48d253(0x350)}},{'tag':_0x48d253(0x2ce),'attrs':{'fill':_0x48d253(0x1f9),'d':_0x48d253(0x329),'fillRule':_0x48d253(0x32a),'clipRule':_0x48d253(0x32a)}}]},_0x31b6c0=_0xda6512[_0x48d253(0x208)](function(_0x28868d,_0x19a686){const _0x266dbd=_0x48d253;return _0xda6512[_0x266dbd(0x222)](_0x33b1d5,Object[_0x266dbd(0x24b)]({},_0x28868d,{'id':'help-icon','ref':_0x19a686,'icon':_0x124910}));});_0x31b6c0['displayName']=_0x48d253(0x28f);const _0x4f9863={'tag':_0x48d253(0x225),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x48d253(0x23a),'viewBox':_0x48d253(0x34e),'width':_0x48d253(0x290),'height':_0x48d253(0x290)},'children':[{'tag':'g','attrs':{'clipPath':_0x48d253(0x24a)},'children':[{'tag':'path','attrs':{'stroke':_0x48d253(0x1f9),'d':_0x48d253(0x26c),'strokeLinecap':'round','strokeLinejoin':_0x48d253(0x27a),'strokeWidth':1.2}}]},{'tag':_0x48d253(0x320),'attrs':{},'children':[{'tag':_0x48d253(0x206),'attrs':{'id':_0x48d253(0x253)},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':_0x48d253(0x27d),'d':_0x48d253(0x2b6)}}]}]}],'defIds':[_0x48d253(0x253)]},_0x47a5f5=_0xda6512[_0x48d253(0x208)](function(_0x4894a9,_0x28fa54){const _0x19e13b=_0x48d253;return _0xda6512[_0x19e13b(0x222)](_0x33b1d5,Object[_0x19e13b(0x24b)]({},_0x4894a9,{'id':'off-line-icon','ref':_0x28fa54,'icon':_0x4f9863}));});_0x47a5f5[_0x48d253(0x363)]=_0x48d253(0x261);const _0x3c0e57={'tag':_0x48d253(0x225),'attrs':{'xmlns':_0x48d253(0x321),'fill':_0x48d253(0x23a),'viewBox':'0\x200\x2017\x2016','width':_0x48d253(0x290),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x48d253(0x335)},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'stroke':_0x48d253(0x1f9),'d':_0x48d253(0x2ff),'strokeLinecap':_0x48d253(0x27a),'strokeLinejoin':_0x48d253(0x27a),'strokeWidth':1.2}}]},{'tag':_0x48d253(0x320),'attrs':{},'children':[{'tag':_0x48d253(0x206),'attrs':{'id':_0x48d253(0x213)},'children':[{'tag':_0x48d253(0x2ce),'attrs':{'fill':'white','d':_0x48d253(0x2b6),'transform':_0x48d253(0x2e0)}}]}]}],'defIds':[_0x48d253(0x213)]},_0x51bfc2=_0xda6512[_0x48d253(0x208)](function(_0x59aa04,_0x440782){const _0x1d3714=_0x48d253;return _0xda6512[_0x1d3714(0x222)](_0x33b1d5,Object[_0x1d3714(0x24b)]({},_0x59aa04,{'id':_0x1d3714(0x277),'ref':_0x440782,'icon':_0x3c0e57}));});_0x51bfc2[_0x48d253(0x363)]=_0x48d253(0x316);function _0xa390d2(_0x568cff){const _0x471100=_0x48d253;var _0x4b9e03,_0x2fced5;const {mcpCoreConfig:_0x13f1f3,onSave:_0x10f774,loading:_0xac9db4=!0x1,config:_0x2ad083,connectionStatus$:_0x20fe49,connectionError$:_0x35dbbf,currentApiKey$:_0x397255,currentSessionId$:_0x642d8b}=_0x568cff,_0x8718c0=_0x1e3df4[_0x471100(0x2cc)](_0x484154['LocaleService']),_0x36d48d=_0x1e3df4['useObservable'](_0x20fe49,_0xbf05f8[_0x471100(0x2d7)][_0x471100(0x25f)]),_0x2e53f3=_0x1e3df4[_0x471100(0x304)](_0x35dbbf,_0xbf05f8['MCPConnectionError'][_0x471100(0x284)]),_0x5acf16=_0x1e3df4['useObservable'](_0x642d8b,''),_0xea8e44=_0x1e3df4[_0x471100(0x304)](_0x397255,''),[_0x3f3c1d,_0x34ecda]=_0xda6512[_0x471100(0x22c)](_0xea8e44||''),_0x39a48b=!0x0,_0x50cc61=_0x2ad083['showDeveloperTools']&&_0x13f1f3[_0x471100(0x2db)]&&(_0x13f1f3[_0x471100(0x2db)][_0x471100(0x22b)](_0x471100(0x2ca))||_0x13f1f3[_0x471100(0x2db)]['includes']('univer.ai')),_0x34c0e7=(_0x4b9e03=_0x13f1f3[_0x471100(0x2db)])==null?void 0x0:_0x4b9e03[_0x471100(0x22b)]('univer.plus'),_0xab55d9=(_0x2fced5=_0x13f1f3[_0x471100(0x2db)])==null?void 0x0:_0x2fced5['includes']('univer.ai'),_0x150fe6=_0x34c0e7?'https://console.univer.plus':_0x471100(0x35b),_0x59c08e=_0x2ad083[_0x471100(0x31a)]&&(_0x34c0e7||_0xab55d9),[_0x2ad5bb,_0x30ee59]=_0xda6512[_0x471100(0x22c)](!_0x3f3c1d['trim']()),_0xfba5=(_0x531251,_0x139cb8)=>{const _0x439698=_0x471100;if(_0x139cb8===_0xbf05f8['MCPConnectionError'][_0x439698(0x2ef)])return _0x439698(0x2a2);switch(_0x531251){case _0xbf05f8[_0x439698(0x2d7)][_0x439698(0x352)]:return _0x439698(0x2b8);case _0xbf05f8['MCPConnectionStatus']['CONNECTING']:case _0xbf05f8[_0x439698(0x2d7)]['RETRYING']:return _0x439698(0x30a);case _0xbf05f8[_0x439698(0x2d7)][_0x439698(0x30e)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x439698(0x303);}},_0x364176=(_0x25f32f,_0x115384)=>{const _0x4c0d91=_0x471100;if(_0x115384===_0xbf05f8['MCPConnectionError'][_0x4c0d91(0x2ef)])return _0x4c0d91(0x1f2);switch(_0x25f32f){case _0xbf05f8['MCPConnectionStatus'][_0x4c0d91(0x352)]:return _0x4c0d91(0x252);case _0xbf05f8[_0x4c0d91(0x2d7)][_0x4c0d91(0x355)]:case _0xbf05f8[_0x4c0d91(0x2d7)][_0x4c0d91(0x20b)]:return'univer-bg-blue-500';case _0xbf05f8[_0x4c0d91(0x2d7)][_0x4c0d91(0x30e)]:return _0x4c0d91(0x1f2);default:return _0x4c0d91(0x366);}},_0x4433d7=_0x1c71b4=>{const _0x231e21=_0x471100;switch(_0x1c71b4){case _0xbf05f8['MCPConnectionStatus']['CONNECTED']:return _0x8718c0['t']('mcpConfig.connectionStatus.connected');case _0xbf05f8[_0x231e21(0x2d7)][_0x231e21(0x355)]:return _0x8718c0['t']('mcpConfig.connectionStatus.connecting');case _0xbf05f8[_0x231e21(0x2d7)][_0x231e21(0x30e)]:return _0x8718c0['t']('mcpConfig.connectionStatus.failed');case _0xbf05f8['MCPConnectionStatus'][_0x231e21(0x20b)]:return _0x8718c0['t'](_0x231e21(0x35a));default:return _0x8718c0['t'](_0x231e21(0x2a4));}},_0x559ac3=_0x20b011=>{const _0x3a9a00=_0x471100;switch(_0x20b011){case _0xbf05f8[_0x3a9a00(0x28d)][_0x3a9a00(0x2ef)]:return _0x8718c0['t'](_0x3a9a00(0x319));case _0xbf05f8['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x8718c0['t'](_0x3a9a00(0x31e));case _0xbf05f8[_0x3a9a00(0x28d)][_0x3a9a00(0x27c)]:return _0x8718c0['t']('mcpConfig.connectionError.networkError');case _0xbf05f8[_0x3a9a00(0x28d)][_0x3a9a00(0x26b)]:return _0x8718c0['t'](_0x3a9a00(0x1f7));default:return'';}},_0x536c0b=_0xda6512[_0x471100(0x2ad)](()=>{const _0x1a239b=_0x471100,_0x35ded1={..._0x13f1f3,'apiKey':_0x3f3c1d[_0x1a239b(0x202)](),'enableAuth':_0x39a48b};_0x10f774(_0x35ded1);},[_0x13f1f3,_0x3f3c1d,_0x39a48b,_0x10f774]),_0x421c6e=_0x3f3c1d[_0x471100(0x202)]()[_0x471100(0x2c3)]>0x0;return _0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x247),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x2a1),'children':_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x227),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x2d5),'children':_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':'univer-text-white','children':'⚙'})}),_0x3e2647[_0x471100(0x2ea)]('div',{'children':_0x3e2647[_0x471100(0x2ea)]('p',{'className':_0x471100(0x243),'children':_0x8718c0['t'](_0x471100(0x265))})})]})}),_0x3e2647['jsxs'](_0x471100(0x259),{'className':_0x471100(0x35e),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x592e48[_0x471100(0x375)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0xfba5(_0x36d48d,_0x2e53f3)),'children':_0x3e2647['jsxs'](_0x471100(0x259),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x592e48['clsx'](_0x471100(0x297),_0x364176(_0x36d48d,_0x2e53f3))}),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x27b),'children':_0x4433d7(_0x36d48d)})]})}),_0x2e53f3!==_0xbf05f8['MCPConnectionError']['NONE']&&(_0x36d48d===_0xbf05f8[_0x471100(0x2d7)][_0x471100(0x30e)]||_0x2e53f3===_0xbf05f8[_0x471100(0x28d)][_0x471100(0x2ef)])&&_0x3e2647[_0x471100(0x2ea)]('div',{'className':_0x471100(0x248),'children':_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x3e2647['jsx']('span',{'className':_0x471100(0x1f4),'children':'⚠️'}),_0x3e2647[_0x471100(0x2ea)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x559ac3(_0x2e53f3)})]})})]}),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x362),'children':[_0x3e2647['jsxs']('div',{'className':_0x471100(0x23f),'children':[_0x3e2647['jsxs'](_0x471100(0x2d9),{'className':_0x471100(0x2b4),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'children':'🔑'}),'\x20',_0x8718c0['t']('mcpConfig.apiKey'),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x28a),'children':'*'}),_0x50cc61&&_0x3e2647['jsx']('a',{'className':_0x471100(0x201),'title':_0x8718c0['t'](_0x471100(0x2a6)),'role':_0x471100(0x22e),'onClick':()=>_0x30ee59(!0x0),'children':_0x3e2647[_0x471100(0x2ea)](_0x31b6c0,{})})]}),_0x3e2647[_0x471100(0x2ea)](_0x592e48[_0x471100(0x2e8)],{'type':_0x471100(0x353),'placeholder':_0x8718c0['t'](_0x471100(0x1f8)),'value':_0x3f3c1d,'disabled':_0xac9db4,'autoComplete':_0x471100(0x313),'onChange':_0x34ecda}),_0x3e2647[_0x471100(0x2ea)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x8718c0['t']('mcpConfig.apiKeyHint')})]}),_0x50cc61&&_0x2ad5bb&&_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x279),'children':[_0x3e2647[_0x471100(0x2ea)]('a',{'className':_0x471100(0x258),'role':'button','onClick':()=>_0x30ee59(!0x1),'children':_0x3e2647[_0x471100(0x2ea)](_0xd05936,{'className':'univer-size-4'})}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x21e),'children':[_0x3e2647['jsx'](_0x471100(0x259),{'className':_0x471100(0x26f),'children':_0x3e2647[_0x471100(0x2ea)]('span',{'className':_0x471100(0x2fb),'children':'🚀'})}),_0x3e2647['jsxs']('div',{'className':_0x471100(0x231),'children':[_0x3e2647['jsx']('h4',{'className':_0x471100(0x33d),'children':_0x8718c0['t']('mcpConfig.apiApplyInfo.title')}),_0x3e2647['jsx']('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x8718c0['t'](_0x471100(0x200))}),_0x3e2647['jsx'](_0x471100(0x259),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x59c08e&&_0x3e2647[_0x471100(0x2ab)]('a',{'className':_0x471100(0x249),'href':_0x150fe6,'target':_0x471100(0x29a),'rel':'noopener\x20noreferrer','children':[_0x3e2647[_0x471100(0x2ea)]('span',{'children':'🤖'}),_0x8718c0['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x2a3),'children':'↗'})]})}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x349),'children':['✨','\x20',_0x8718c0['t'](_0x471100(0x357))]})]})]})]}),_0x2ad083['showDeveloperTools']&&_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x3e2647[_0x471100(0x2ab)]('h4',{'className':_0x471100(0x28c),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'children':'🔗'}),'\x20',_0x8718c0['t'](_0x471100(0x242))]}),_0x3e2647['jsxs'](_0x471100(0x259),{'className':_0x471100(0x365),'children':[_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x23e),'children':[_0x3e2647['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x8718c0['t'](_0x471100(0x2bd))}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x23f),'children':[_0x3e2647['jsx'](_0x471100(0x259),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x8718c0['t'](_0x471100(0x307))}),_0x3e2647[_0x471100(0x2ab)]('div',{'className':_0x471100(0x31c),'children':[_0x3e2647[_0x471100(0x2ab)]('div',{'className':_0x471100(0x34a),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x36b),'children':'1'}),_0x8718c0['t'](_0x471100(0x2fe))]}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x34a),'children':[_0x3e2647['jsx']('span',{'className':_0x471100(0x36b),'children':'2'}),_0x8718c0['t'](_0x471100(0x2f4))]}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x34a),'children':[_0x3e2647[_0x471100(0x2ea)]('span',{'className':_0x471100(0x36b),'children':'3'}),_0x8718c0['t'](_0x471100(0x36d))]})]})]})]}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x23f),'children':[_0x3e2647['jsx'](_0x471100(0x259),{'className':_0x471100(0x34f),'children':_0x471100(0x2d1)}),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x2f3),'children':_0x3e2647['jsx'](_0x471100(0x2a5),{'className':_0x471100(0x2fd),'children':JSON[_0x471100(0x20a)]({'mcpServers':{'univer':{'url':_0x471100(0x2ac)+(_0x5acf16||'<SESSION_ID>'),'type':'http','headers':{'Authorization':_0x471100(0x22f)+(_0x3f3c1d||'<API_KEY>')}}}},null,0x2)})})]}),_0x3e2647['jsxs'](_0x471100(0x259),{'className':_0x471100(0x23e),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x8718c0['t'](_0x471100(0x326))}),_0x3e2647['jsxs'](_0x471100(0x259),{'className':_0x471100(0x23f),'children':[_0x3e2647['jsxs'](_0x471100(0x259),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x3e2647[_0x471100(0x2ea)]('div',{'className':_0x471100(0x292)}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x237),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x30f),'children':_0x471100(0x24e)}),_0x3e2647['jsx'](_0x471100(0x259),{'className':_0x471100(0x25d),'children':_0x8718c0['t'](_0x471100(0x2bf))})]})]}),_0x3e2647['jsxs']('div',{'className':_0x471100(0x23d),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x292)}),_0x3e2647[_0x471100(0x2ab)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'Authorization:'}),_0x3e2647['jsx']('div',{'className':_0x471100(0x25d),'children':_0x8718c0['t'](_0x471100(0x2dd))})]})]})]})]})]})]}),_0x3e2647[_0x471100(0x2ea)](_0x592e48['Button'],{'onClick':_0x536c0b,'disabled':!_0x421c6e||_0xac9db4,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0xac9db4?_0x3e2647[_0x471100(0x2ab)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'children':'⟲'}),_0x8718c0['t'](_0x471100(0x2b9))]}):_0x3e2647[_0x471100(0x2ab)](_0x471100(0x276),{'className':_0x471100(0x34a),'children':[_0x3e2647['jsx'](_0x4e2324,{}),_0x8718c0['t'](_0x471100(0x361))]})}),_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x1ed),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x276),{'className':_0x471100(0x2e5),'children':'💡'}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'className':_0x471100(0x2eb),'children':[_0x3e2647[_0x471100(0x2ea)](_0x471100(0x259),{'className':_0x471100(0x37a),'children':_0x471100(0x31d)}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'children':['•',_0x8718c0['t'](_0x471100(0x32e))]}),_0x3e2647[_0x471100(0x2ab)](_0x471100(0x259),{'children':['•',_0x8718c0['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x5888c7=_0x48d253(0x2c4),_0x2aaf12={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x5a2868=Object['getOwnPropertyDescriptor'],_0x5d58b7=(_0x29bf58,_0x271f0f,_0x2260c2,_0x16eed1)=>{const _0x5fb47b=_0x48d253;for(var _0x2f5f3f=_0x16eed1>0x1?void 0x0:_0x16eed1?_0x5a2868(_0x271f0f,_0x2260c2):_0x271f0f,_0x24bc46=_0x29bf58[_0x5fb47b(0x2c3)]-0x1,_0x4d77a3;_0x24bc46>=0x0;_0x24bc46--)(_0x4d77a3=_0x29bf58[_0x24bc46])&&(_0x2f5f3f=_0x4d77a3(_0x2f5f3f)||_0x2f5f3f);return _0x2f5f3f;},_0x2a8e41=(_0x215e0d,_0xa4519)=>(_0x11b07f,_0x514173)=>_0xa4519(_0x11b07f,_0x514173,_0x215e0d);const _0x35b174=_0x48d253(0x31b),_0xaae86=_0x48d253(0x260);_0x45d0c1['MCPConfigUIController']=class extends _0x484154['Disposable']{constructor(_0x5d230c,_0x310290,_0x1ad1c1,_0x1e6126,_0x42f9fc,_0x57ef70,_0x5b3b18,_0x438676,_0x448ad6,_0x32d6a3){const _0x347445=_0x48d253;super(),_0x5c45d5(this,_0x347445(0x2b1),new _0x1f981e[(_0x347445(0x219))](!0x1)),_0x5c45d5(this,_0x347445(0x32b),new _0x1f981e[(_0x347445(0x219))]({})),_0x5c45d5(this,'_config$',new _0x1f981e[(_0x347445(0x219))]({})),_0x5c45d5(this,_0x347445(0x345),new _0x1f981e[(_0x347445(0x219))]('')),_0x5c45d5(this,_0x347445(0x2dc),async _0x3a1878=>{const _0xf967ac=_0x347445;var _0x36ebde,_0x2f1775;this['_loading$'][_0xf967ac(0x226)](!0x0);try{const _0x16e92a=await this['_validateConfig'](_0x3a1878);if(!_0x16e92a[_0xf967ac(0x305)]){this[_0xf967ac(0x36f)][_0xf967ac(0x221)]({'type':_0x592e48['MessageType'][_0xf967ac(0x293)],'content':_0x16e92a[_0xf967ac(0x2b5)]||this[_0xf967ac(0x37d)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3a1878['apiKey']?await this['_localStorageService'][_0xf967ac(0x23b)](_0x35b174,_0x3a1878[_0xf967ac(0x379)][_0xf967ac(0x202)]()):await this[_0xf967ac(0x2ba)][_0xf967ac(0x275)](_0x35b174),this[_0xf967ac(0x345)][_0xf967ac(0x226)](((_0x36ebde=_0x3a1878[_0xf967ac(0x379)])==null?void 0x0:_0x36ebde[_0xf967ac(0x202)]())||''),this[_0xf967ac(0x2aa)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x2f1775=_0x3a1878[_0xf967ac(0x379)])==null?void 0x0:_0x2f1775[_0xf967ac(0x202)]())}),this[_0xf967ac(0x36f)]['show']({'type':_0x592e48[_0xf967ac(0x210)][_0xf967ac(0x32d)],'content':this[_0xf967ac(0x37d)]['t'](_0xf967ac(0x239))}),setTimeout(()=>{const _0xe29508=_0xf967ac;this[_0xe29508(0x205)]['close'](_0xaae86);},0x320);}catch(_0x401b04){this['_logService'][_0xf967ac(0x269)](_0xf967ac(0x294),_0x401b04),this[_0xf967ac(0x36f)][_0xf967ac(0x221)]({'type':_0x592e48[_0xf967ac(0x210)][_0xf967ac(0x293)],'content':this[_0xf967ac(0x37d)]['t'](_0xf967ac(0x235))});}finally{this['_loading$'][_0xf967ac(0x226)](!0x1);}}),(this[_0x347445(0x1f6)]=_0x5d230c,this[_0x347445(0x2f0)]=_0x310290,this[_0x347445(0x280)]=_0x1ad1c1,this[_0x347445(0x2ba)]=_0x1e6126,this['_dialogService']=_0x42f9fc,this[_0x347445(0x36f)]=_0x57ef70,this[_0x347445(0x2e4)]=_0x5b3b18,this['_localeService']=_0x438676,this[_0x347445(0x229)]=_0x448ad6,this[_0x347445(0x2aa)]=_0x32d6a3,this[_0x347445(0x271)](),this['_loadStoredApiKey'](),this['_registerComponent']());}['showConfigPanel'](){const _0x380c3c=_0x48d253,_0x273a8d=this[_0x380c3c(0x280)][_0x380c3c(0x285)](_0x5888c7);_0x273a8d!=null&&_0x273a8d[_0x380c3c(0x31a)]&&this[_0x380c3c(0x205)][_0x380c3c(0x254)]({'id':_0xaae86,'title':{'title':this[_0x380c3c(0x37d)]['t'](_0x380c3c(0x368))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x2366f3=_0x380c3c;this[_0x2366f3(0x205)][_0x2366f3(0x212)](_0xaae86);}});}[_0x48d253(0x34b)](){const _0x5ab145=_0x48d253;return this[_0x5ab145(0x32b)][_0x5ab145(0x351)];}[_0x48d253(0x315)](){const _0x91bb25=_0x48d253;this[_0x91bb25(0x1ec)](this['_componentManager'][_0x91bb25(0x370)](_0x91bb25(0x262),this[_0x91bb25(0x331)]()));}[_0x48d253(0x331)](){const _0x30cdb6=_0x48d253;return _0x1e3df4[_0x30cdb6(0x27e)](()=>{const _0x3df8e9=_0x30cdb6;var _0x2c9999,_0x1eefb2,_0x5e785b;return _0x3e2647[_0x3df8e9(0x2ea)](_0xa390d2,{'config':this['_config$'][_0x3df8e9(0x351)],'mcpCoreConfig':this[_0x3df8e9(0x32b)][_0x3df8e9(0x351)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x3df8e9(0x2dc)],'loading':this[_0x3df8e9(0x2b1)][_0x3df8e9(0x351)],'connectionStatus$':(_0x2c9999=this[_0x3df8e9(0x2aa)])==null?void 0x0:_0x2c9999[_0x3df8e9(0x281)],'connectionError$':(_0x1eefb2=this[_0x3df8e9(0x2aa)])==null?void 0x0:_0x1eefb2['connectionError$'],'currentSessionId$':(_0x5e785b=this[_0x3df8e9(0x2aa)])==null?void 0x0:_0x5e785b[_0x3df8e9(0x24d)]});},this[_0x30cdb6(0x1f6)]);}[_0x48d253(0x271)](){const _0x158b0f=_0x48d253;this[_0x158b0f(0x1ec)](this[_0x158b0f(0x280)][_0x158b0f(0x220)](_0xbf05f8[_0x158b0f(0x2c2)])[_0x158b0f(0x35f)](_0x4eba10=>{const _0x28f5da=_0x158b0f;this[_0x28f5da(0x32b)][_0x28f5da(0x226)](_0x4eba10||{});}));const _0x5b92ce=this[_0x158b0f(0x280)][_0x158b0f(0x285)](_0xbf05f8[_0x158b0f(0x2c2)]);this[_0x158b0f(0x32b)][_0x158b0f(0x226)](_0x5b92ce||{}),this['disposeWithMe'](this['_configService'][_0x158b0f(0x220)](_0x5888c7)['subscribe'](_0x3f5fa0=>{const _0x48ea13=_0x158b0f;this[_0x48ea13(0x1f3)][_0x48ea13(0x226)](_0x3f5fa0||{});}));const _0x466b22=this[_0x158b0f(0x280)][_0x158b0f(0x285)](_0x5888c7);this[_0x158b0f(0x1f3)][_0x158b0f(0x226)](_0x466b22||{});}async[_0x48d253(0x28b)](){const _0x2b3b35=_0x48d253,_0x22f8b8=this[_0x2b3b35(0x280)][_0x2b3b35(0x285)](_0x5888c7);if(!(_0x22f8b8!=null&&_0x22f8b8[_0x2b3b35(0x31a)]))return;const _0x41d1d5=await this[_0x2b3b35(0x2ba)][_0x2b3b35(0x204)](_0x35b174);_0x41d1d5&&(this[_0x2b3b35(0x2aa)][_0x2b3b35(0x376)]({'Authorization':_0x2b3b35(0x22f)+_0x41d1d5}),this[_0x2b3b35(0x345)][_0x2b3b35(0x226)](_0x41d1d5));}async[_0x48d253(0x2c1)](_0x3a53fc){const _0x2ddd82=_0x48d253;if(!_0x3a53fc[_0x2ddd82(0x379)]||_0x3a53fc[_0x2ddd82(0x379)][_0x2ddd82(0x202)]()[_0x2ddd82(0x2c3)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x2ddd82(0x37d)]['t'](_0x2ddd82(0x342))};if(_0x3a53fc[_0x2ddd82(0x379)][_0x2ddd82(0x202)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x2ddd82(0x37d)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x409f88=await this['_injector']['get'](_0xbf05f8[_0x2ddd82(0x339)])[_0x2ddd82(0x318)](_0x3a53fc[_0x2ddd82(0x379)][_0x2ddd82(0x202)]());return _0x409f88[_0x2ddd82(0x305)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x409f88['error']||this['_localeService']['t'](_0x2ddd82(0x22d))};}catch(_0x193bad){return console['warn'](_0x2ddd82(0x268),_0x193bad),{'isValid':!0x0};}}},_0x45d0c1[_0x48d253(0x2ae)]=_0x5d58b7([_0x2a8e41(0x0,_0x484154[_0x48d253(0x2e1)](_0x484154[_0x48d253(0x324)])),_0x2a8e41(0x1,_0x1e3df4[_0x48d253(0x2cb)]),_0x2a8e41(0x2,_0x484154[_0x48d253(0x33b)]),_0x2a8e41(0x3,_0x484154[_0x48d253(0x241)]),_0x2a8e41(0x4,_0x1e3df4[_0x48d253(0x2d2)]),_0x2a8e41(0x5,_0x1e3df4[_0x48d253(0x282)]),_0x2a8e41(0x6,_0x484154[_0x48d253(0x2e1)](_0x1e3df4[_0x48d253(0x322)])),_0x2a8e41(0x7,_0x484154['Inject'](_0x484154[_0x48d253(0x348)])),_0x2a8e41(0x8,_0x484154[_0x48d253(0x274)]),_0x2a8e41(0x9,_0x484154[_0x48d253(0x2e1)](_0xbf05f8[_0x48d253(0x339)]))],_0x45d0c1[_0x48d253(0x2ae)]);const _0x3c28e7={'id':_0x48d253(0x267),'type':_0x484154['CommandType'][_0x48d253(0x24f)],'handler':async(_0xa48d8f,_0x4cf9a3)=>(_0xa48d8f[_0x48d253(0x32f)](_0x45d0c1['MCPConfigUIController'])[_0x48d253(0x29b)](),!0x0)};function _0x2ba4fb(_0x1cdf8f,_0x2d7f53){const _0x2895cd=_0x48d253;switch(_0x1cdf8f){case _0xbf05f8[_0x2895cd(0x2d7)]['DISCONNECTED']:return _0x2895cd(0x270);case _0xbf05f8[_0x2895cd(0x2d7)]['CONNECTING']:return _0x2895cd(0x218);case _0xbf05f8[_0x2895cd(0x2d7)][_0x2895cd(0x352)]:return'mcpStatus.connected';case _0xbf05f8[_0x2895cd(0x2d7)][_0x2895cd(0x30e)]:switch(_0x2d7f53){case _0xbf05f8['MCPConnectionError'][_0x2895cd(0x2ef)]:return _0x2895cd(0x1f5);case _0xbf05f8[_0x2895cd(0x28d)][_0x2895cd(0x286)]:return _0x2895cd(0x2c5);case _0xbf05f8['MCPConnectionError'][_0x2895cd(0x27c)]:return'mcpStatus.networkError';case _0xbf05f8[_0x2895cd(0x28d)][_0x2895cd(0x26b)]:return _0x2895cd(0x2d0);default:return'mcpStatus.failed';}case _0xbf05f8[_0x2895cd(0x2d7)]['RETRYING']:return _0x2895cd(0x22a);default:return'mcpStatus.unknown';}}function _0x25df53(_0x185223,_0x16ef2c,_0x554afc,_0x1986de=!0x0){const _0x35f9b3=_0x48d253,_0x3ee9ce=_0x2ba4fb(_0x185223,_0x16ef2c),_0x42792c=_0x554afc['t'](_0x3ee9ce);return _0x1986de?_0x185223===_0xbf05f8['MCPConnectionStatus'][_0x35f9b3(0x25f)]&&_0x16ef2c===_0xbf05f8[_0x35f9b3(0x28d)][_0x35f9b3(0x2ef)]?_0x42792c+_0x35f9b3(0x336)+_0x554afc['t'](_0x35f9b3(0x25e)):_0x185223===_0xbf05f8['MCPConnectionStatus'][_0x35f9b3(0x352)]?''+_0x42792c:_0x185223===_0xbf05f8[_0x35f9b3(0x2d7)][_0x35f9b3(0x25f)]||_0x185223===_0xbf05f8[_0x35f9b3(0x2d7)]['FAILED']?_0x42792c+_0x35f9b3(0x336)+_0x554afc['t']('mcpStatus.clickToConnect'):_0x42792c:_0x42792c;}function _0xe44f9b(_0x256a91){const _0xbb6fad=_0x48d253;switch(_0x256a91){case _0xbf05f8['MCPConnectionStatus'][_0xbb6fad(0x352)]:return _0xbb6fad(0x33a);case _0xbf05f8['MCPConnectionStatus'][_0xbb6fad(0x355)]:case _0xbf05f8['MCPConnectionStatus']['RETRYING']:return _0xbb6fad(0x2be);case _0xbf05f8[_0xbb6fad(0x2d7)][_0xbb6fad(0x30e)]:case _0xbf05f8[_0xbb6fad(0x2d7)]['DISCONNECTED']:return'univer-text-red-500';default:return _0xbb6fad(0x25c);}}function _0x11e09c(_0x3e2964){const _0x2cd357=_0x48d253,{status$:_0x4d46c7,error$:_0x2eee20,onConfigure:_0x522b2c,showClickable:_0x5ebc95=!0x0}=_0x3e2964,_0x437b2e=_0x1e3df4[_0x2cd357(0x304)](_0x4d46c7,_0xbf05f8['MCPConnectionStatus'][_0x2cd357(0x25f)]),_0x101e21=_0x1e3df4[_0x2cd357(0x304)](_0x2eee20,_0xbf05f8[_0x2cd357(0x28d)]['NONE']),_0x33f81e=_0x1e3df4[_0x2cd357(0x2cc)](_0x484154[_0x2cd357(0x348)]),_0x264352=_0x437b2e===_0xbf05f8['MCPConnectionStatus']['CONNECTED'];_0x437b2e===_0xbf05f8[_0x2cd357(0x2d7)]['CONNECTING']||_0xbf05f8['MCPConnectionStatus']['RETRYING'];const _0x35b4bf=_0x33f81e['t'](_0x2ba4fb(_0x437b2e,_0x101e21)),_0x24fb99=_0x25df53(_0x437b2e,_0x101e21,_0x33f81e,_0x5ebc95),_0x238cac=_0xe44f9b(_0x437b2e),_0x1652f9=_0x264352?_0x3e2647[_0x2cd357(0x2ea)](_0x51bfc2,{}):_0x3e2647[_0x2cd357(0x2ea)](_0x47a5f5,{}),_0x4926cc=_0xda6512[_0x2cd357(0x2ad)](()=>{_0x5ebc95&&_0x522b2c&&_0x522b2c();},[_0x5ebc95,_0x522b2c]);function _0xc3074f(){const _0x30de6d=_0x2cd357;return _0x3e2647['jsxs'](_0x30de6d(0x259),{'className':_0x592e48['clsx'](_0x30de6d(0x295),_0x5ebc95&&_0x522b2c&&'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'),'role':_0x30de6d(0x22e),'onClick':_0x5ebc95&&_0x522b2c?_0x4926cc:void 0x0,'children':[_0x3e2647['jsx'](_0x30de6d(0x259),{'className':_0x592e48[_0x30de6d(0x375)](_0x30de6d(0x2d4),_0x238cac),'children':_0x1652f9}),_0x3e2647['jsx'](_0x30de6d(0x259),{'className':_0x30de6d(0x2a0),'children':_0x35b4bf})]});}return _0x3e2647[_0x2cd357(0x2ea)](_0x592e48['Tooltip'],{'title':_0x24fb99,'placement':_0x2cd357(0x377),'children':_0xc3074f()});}var _0x29c3cc=Object[_0x48d253(0x25a)],_0x127c47=(_0x58e889,_0xcb04a9,_0x113610,_0x255afb)=>{const _0x51f240=_0x48d253;for(var _0xc1f030=_0x255afb>0x1?void 0x0:_0x255afb?_0x29c3cc(_0xcb04a9,_0x113610):_0xcb04a9,_0x238b14=_0x58e889[_0x51f240(0x2c3)]-0x1,_0x1a1bc5;_0x238b14>=0x0;_0x238b14--)(_0x1a1bc5=_0x58e889[_0x238b14])&&(_0xc1f030=_0x1a1bc5(_0xc1f030)||_0xc1f030);return _0xc1f030;},_0x1df1b8=(_0xcd7a06,_0x3770c0)=>(_0x220e66,_0x276bf4)=>_0x3770c0(_0x220e66,_0x276bf4,_0xcd7a06);_0x45d0c1[_0x48d253(0x257)]=class extends _0x484154[_0x48d253(0x2d6)]{constructor(_0x2f4674,_0x59a5d1,_0x20a0eb,_0x2ad74b){const _0x31c6d9=_0x48d253;super(),this[_0x31c6d9(0x1f6)]=_0x2f4674,this[_0x31c6d9(0x29f)]=_0x59a5d1,this[_0x31c6d9(0x2f0)]=_0x20a0eb,this[_0x31c6d9(0x280)]=_0x2ad74b,this[_0x31c6d9(0x233)](),this[_0x31c6d9(0x337)]();}[_0x48d253(0x233)](){const _0xa5af44=_0x48d253,_0x4afac8=this['_configService'][_0xa5af44(0x285)](_0x5888c7);_0x4afac8!=null&&_0x4afac8[_0xa5af44(0x31a)]&&(this['_connectionController'][_0xa5af44(0x2d8)]=!0x1);}[_0x48d253(0x337)](){const _0x31ed98=_0x48d253,_0x3c07b2=this[_0x31ed98(0x280)][_0x31ed98(0x285)](_0x5888c7);(_0x3c07b2==null?void 0x0:_0x3c07b2['showStatus'])!==!0x1&&this['disposeWithMe'](this[_0x31ed98(0x2f0)][_0x31ed98(0x2fc)](_0x1e3df4['BuiltInUIPart'][_0x31ed98(0x340)],()=>{const _0xf390cc=_0x31ed98;var _0x15dbb7;return _0x1e3df4[_0xf390cc(0x27e)](_0x1509b1({'status$':this[_0xf390cc(0x29f)][_0xf390cc(0x281)],'error$':this[_0xf390cc(0x29f)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x15dbb7=_0x3c07b2==null?void 0x0:_0x3c07b2['showDeveloperTools'])!=null?_0x15dbb7:!0x1}),this[_0xf390cc(0x1f6)]);}));}[_0x48d253(0x238)](){const _0x5c2797=_0x48d253;this[_0x5c2797(0x1f6)][_0x5c2797(0x32f)](_0x45d0c1[_0x5c2797(0x2ae)])['showConfigPanel']();}},_0x45d0c1[_0x48d253(0x257)]=_0x127c47([_0x1df1b8(0x0,_0x484154[_0x48d253(0x2e1)](_0x484154['Injector'])),_0x1df1b8(0x1,_0x484154['Inject'](_0xbf05f8[_0x48d253(0x339)])),_0x1df1b8(0x2,_0x1e3df4[_0x48d253(0x2cb)]),_0x1df1b8(0x3,_0x484154[_0x48d253(0x33b)])],_0x45d0c1[_0x48d253(0x257)]);function _0x1509b1(_0x52e8b9){const {status$:_0x127774,error$:_0x154a05,onConfigure:_0x22f0d8,showClickable:_0x119540}=_0x52e8b9;return function(){const _0x4d85fe=_0x21cb;return _0x3e2647[_0x4d85fe(0x2ea)](_0x11e09c,{'status$':_0x127774,'error$':_0x154a05,'onConfigure':_0x22f0d8,'showClickable':_0x119540});};}function _0x6151f8(_0x3525a3){const _0x4835aa=_0x48d253;return{'id':_0x3c28e7['id'],'type':_0x1e3df4[_0x4835aa(0x29c)][_0x4835aa(0x33c)],'icon':_0x4835aa(0x240),'title':_0x4835aa(0x368),'tooltip':_0x4835aa(0x368)};}const _0x5e0f88={[_0x1e3df4[_0x48d253(0x314)]['OTHERS']]:{[_0x3c28e7['id']]:{'order':0xa,'menuItemFactory':_0x6151f8}}};var _0x596f28=Object[_0x48d253(0x25a)],_0x240f11=(_0x19d19d,_0x1e0dd2,_0x4ae563,_0x4342e2)=>{const _0xbd3fa3=_0x48d253;for(var _0x43f036=_0x4342e2>0x1?void 0x0:_0x4342e2?_0x596f28(_0x1e0dd2,_0x4ae563):_0x1e0dd2,_0x41828d=_0x19d19d[_0xbd3fa3(0x2c3)]-0x1,_0xed7529;_0x41828d>=0x0;_0x41828d--)(_0xed7529=_0x19d19d[_0x41828d])&&(_0x43f036=_0xed7529(_0x43f036)||_0x43f036);return _0x43f036;},_0x52a47a=(_0x55ad0c,_0x2c9c13)=>(_0x29bc8d,_0x18d966)=>_0x2c9c13(_0x29bc8d,_0x18d966,_0x55ad0c);_0x45d0c1['MCPUIMenuController']=class extends _0x484154[_0x48d253(0x2d6)]{constructor(_0x132c22,_0x2fdcd4){const _0x13578b=_0x48d253;super(),this[_0x13578b(0x33f)]=_0x132c22,this['_menuManagerService']=_0x2fdcd4,this[_0x13578b(0x34c)](),this[_0x13578b(0x2c6)]();}[_0x48d253(0x34c)](){const _0x55ebaa=_0x48d253;[_0x3c28e7][_0x55ebaa(0x245)](_0x4baa2=>{const _0x51ce21=_0x55ebaa;this[_0x51ce21(0x1ec)](this['_commandService']['registerCommand'](_0x4baa2));});}[_0x48d253(0x2c6)](){const _0x5588c7=_0x48d253;this[_0x5588c7(0x250)][_0x5588c7(0x20c)](_0x5e0f88);}},_0x45d0c1[_0x48d253(0x36a)]=_0x240f11([_0x52a47a(0x0,_0x484154[_0x48d253(0x1ef)]),_0x52a47a(0x1,_0x1e3df4[_0x48d253(0x2bc)])],_0x45d0c1['MCPUIMenuController']);const _0xe9acff={'mcpStatus':{'disconnected':_0x48d253(0x234),'connecting':_0x48d253(0x207),'connected':_0x48d253(0x2b7),'failed':_0x48d253(0x31f),'retrying':_0x48d253(0x2f9),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x48d253(0x2b3),'sessionOccupied':_0x48d253(0x311),'networkError':_0x48d253(0x37c),'maxRetriesExceeded':_0x48d253(0x2b0),'clickToConnect':_0x48d253(0x27f),'clickToConfigure':_0x48d253(0x34d)},'mcpConfig':{'title':_0x48d253(0x2d1),'description':_0x48d253(0x21d),'apiKey':_0x48d253(0x1fe),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x48d253(0x1fc),'enableAuth':_0x48d253(0x333),'enableAuthHint':_0x48d253(0x2f8),'connectionInfo':_0x48d253(0x2de),'mcpClientConfig':_0x48d253(0x2de),'configInstructions':_0x48d253(0x1e9),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x48d253(0x2e3),'configStep2':_0x48d253(0x216),'configStep3':_0x48d253(0x266),'sessionId':_0x48d253(0x2f1),'sessionIdDescription':_0x48d253(0x278),'authorizationDescription':_0x48d253(0x2da),'configParameters':_0x48d253(0x230),'maxRetries':_0x48d253(0x251),'save':_0x48d253(0x299),'saving':_0x48d253(0x1f0),'note1':_0x48d253(0x312),'note2':_0x48d253(0x21c),'configSaved':_0x48d253(0x224),'configError':_0x48d253(0x327),'apiApplyInfo':{'title':_0x48d253(0x215),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x48d253(0x288),'getStarted':_0x48d253(0x256)},'validation':{'apiKeyRequired':_0x48d253(0x359),'apiKeyTooShort':_0x48d253(0x2c9),'invalidConfig':_0x48d253(0x2c7),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x48d253(0x2bb),'connecting':_0x48d253(0x2e9),'connected':_0x48d253(0x2ec),'failed':'Connection\x20Failed','retrying':_0x48d253(0x2e6)},'connectionError':{'unauthorized':_0x48d253(0x2b2),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x48d253(0x328),'maxRetriesExceeded':_0x48d253(0x344)}}},_0x3fb008={'mcpStatus':{'disconnected':_0x48d253(0x1f1),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x48d253(0x23c),'retrying':_0x48d253(0x1eb),'unknown':_0x48d253(0x300),'unauthorized':_0x48d253(0x214),'sessionOccupied':_0x48d253(0x2f7),'networkError':_0x48d253(0x367),'maxRetriesExceeded':_0x48d253(0x26e),'clickToConnect':_0x48d253(0x2e2),'clickToConfigure':_0x48d253(0x298)},'mcpConfig':{'title':_0x48d253(0x1fb),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x48d253(0x29d),'apiKeyPlaceholder':_0x48d253(0x2f2),'apiKeyHint':_0x48d253(0x264),'enableAuth':_0x48d253(0x211),'enableAuthHint':_0x48d253(0x2a8),'connectionInfo':_0x48d253(0x2a7),'mcpClientConfig':_0x48d253(0x2a7),'configInstructions':_0x48d253(0x373),'configStepTitle':_0x48d253(0x2f5),'configStep1':_0x48d253(0x330),'configStep2':_0x48d253(0x209),'configStep3':_0x48d253(0x2ed),'sessionId':_0x48d253(0x232),'sessionIdDescription':_0x48d253(0x2af),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':'最大重试次数','save':'保存配置','saving':_0x48d253(0x37b),'note1':_0x48d253(0x30d),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x48d253(0x332),'univerAiLabel':_0x48d253(0x378),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x48d253(0x301),'apiKeyTooShort':_0x48d253(0x26a),'invalidConfig':_0x48d253(0x263),'invalidApiKey':_0x48d253(0x308)},'connectionStatus':{'disconnected':_0x48d253(0x354),'connecting':_0x48d253(0x310),'connected':_0x48d253(0x2fa),'failed':_0x48d253(0x28e),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x48d253(0x32c),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x48d253(0x325),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x3f85ff=Object[_0x48d253(0x302)],_0x73e2d=Object[_0x48d253(0x25a)],_0xe1d9ac=(_0x165edf,_0x139300,_0x2aa140)=>_0x139300 in _0x165edf?_0x3f85ff(_0x165edf,_0x139300,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2aa140}):_0x165edf[_0x139300]=_0x2aa140,_0x2fb23d=(_0x17fdeb,_0x4b8309,_0x103742,_0x2347f8)=>{const _0x54fd1c=_0x48d253;for(var _0xb3202b=_0x2347f8>0x1?void 0x0:_0x2347f8?_0x73e2d(_0x4b8309,_0x103742):_0x4b8309,_0x543857=_0x17fdeb[_0x54fd1c(0x2c3)]-0x1,_0x416089;_0x543857>=0x0;_0x543857--)(_0x416089=_0x17fdeb[_0x543857])&&(_0xb3202b=_0x416089(_0xb3202b)||_0xb3202b);return _0xb3202b;},_0x6ec710=(_0x4740a8,_0x2d8a59)=>(_0x49f27e,_0x41453e)=>_0x2d8a59(_0x49f27e,_0x41453e,_0x4740a8),_0x4c441c=(_0x48f999,_0x256ea4,_0x481759)=>_0xe1d9ac(_0x48f999,_0x256ea4+'',_0x481759);_0x45d0c1[_0x48d253(0x347)]=class extends _0x484154[_0x48d253(0x2d3)]{constructor(_0x5639b6=_0x2aaf12,_0x5ca273,_0x1f1d36,_0xfe3931,_0x4fb739,_0x3579e8){const _0x32b1f0=_0x48d253;super(),this[_0x32b1f0(0x306)]=_0x5639b6,this[_0x32b1f0(0x1f6)]=_0x5ca273,this['_configService']=_0x1f1d36,this[_0x32b1f0(0x2f0)]=_0xfe3931,this[_0x32b1f0(0x2ba)]=_0x4fb739,this[_0x32b1f0(0x37d)]=_0x3579e8;const {..._0x590678}=_0x484154['merge']({},_0x2aaf12,this['_config']);this[_0x32b1f0(0x280)][_0x32b1f0(0x341)](_0x5888c7,_0x590678);}async['onStarting'](){const _0xa08aa9=_0x48d253,_0x29321b=[[_0x45d0c1[_0xa08aa9(0x257)]],[_0x45d0c1[_0xa08aa9(0x2ae)]],[_0x45d0c1[_0xa08aa9(0x36a)]]];this[_0xa08aa9(0x1f6)][_0xa08aa9(0x309)](_0x46a57f[_0xa08aa9(0x283)])||_0x29321b[_0xa08aa9(0x26d)]([_0x46a57f[_0xa08aa9(0x283)],{'useClass':_0x46a57f['WebSocketService']}]),_0x29321b[_0xa08aa9(0x245)](_0xb9dc08=>this[_0xa08aa9(0x1f6)]['add'](_0xb9dc08)),this[_0xa08aa9(0x1f6)][_0xa08aa9(0x32f)](_0x45d0c1['MCPConnectionUIController']),this[_0xa08aa9(0x1f6)]['get'](_0x45d0c1[_0xa08aa9(0x2ae)]),this[_0xa08aa9(0x1f6)][_0xa08aa9(0x32f)](_0x45d0c1['MCPUIMenuController']);}},_0x4c441c(_0x45d0c1[_0x48d253(0x347)],_0x48d253(0x1ee),'MCP_UI_PLUGIN'),_0x45d0c1[_0x48d253(0x347)]=_0x2fb23d([_0x484154[_0x48d253(0x36e)](_0xbf05f8[_0x48d253(0x369)]),_0x6ec710(0x1,_0x484154[_0x48d253(0x2e1)](_0x484154[_0x48d253(0x324)])),_0x6ec710(0x2,_0x484154[_0x48d253(0x33b)]),_0x6ec710(0x3,_0x1e3df4[_0x48d253(0x2cb)]),_0x6ec710(0x4,_0x484154['ILocalStorageService']),_0x6ec710(0x5,_0x484154['Inject'](_0x484154[_0x48d253(0x348)]))],_0x45d0c1[_0x48d253(0x347)]),_0x45d0c1[_0x48d253(0x262)]=_0xa390d2,_0x45d0c1[_0x48d253(0x2cd)]=_0x11e09c,_0x45d0c1[_0x48d253(0x317)]=_0x3c28e7,_0x45d0c1[_0x48d253(0x244)]=_0xe9acff,_0x45d0c1[_0x48d253(0x33e)]=_0x3fb008,Object['defineProperty'](_0x45d0c1,Symbol['toStringTag'],{'value':_0x48d253(0x1ea)});}));function _0x21cb(_0x390ce3,_0x1cb387){_0x390ce3=_0x390ce3-0x1e9;const _0x305e0c=_0x305e();let _0x21cb7e=_0x305e0c[_0x390ce3];return _0x21cb7e;}function _0x305e(){const _0xde8b84=['COMMAND','_menuManagerService','Max\x20Retries','univer-bg-green-500','off-line-icon_clip0_910_343','open','object','Get\x20your\x20API\x20key\x20in\x20seconds','MCPConnectionUIController','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','div','getOwnPropertyDescriptor','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','univer-text-gray-500','univer-text-xs\x20univer-text-gray-500','mcpStatus.clickToConfigure','DISCONNECTED','mcp-config-dialog','OffLineIcon','MCPConfigPanel','配置无效','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.description','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mcp-ui.command.openConfigPanel','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','error','API\x20密钥长度至少需要\x2010\x20位','MAX_RETRIES_EXCEEDED','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','push','MCP:\x20超出最大重试次数','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpStatus.disconnected','_initConfigSync','rxjs','replace','ILogService','removeItem','span','on-line-icon','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','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','round','univer-text-sm\x20univer-font-medium','NETWORK_ERROR','white','connectInjector','Click\x20to\x20connect\x20MCP','_configService','connectionStatus$','IMessageService','ISocketService','NONE','getConfig','SESSION_ID_OCCUPIED','amd','Univer\x20AI\x20Console','defIds','univer-text-red-500','_loadStoredApiKey','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCPConnectionError','连接失败','HelpIcon','1em','substring','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Error','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-items-center','attrs','univer-size-2\x20univer-rounded-full','点击配置\x20MCP','Save\x20Configuration','_blank','showConfigPanel','MenuItemType','API\x20密钥','symbol','_connectionController','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-text-gray-400','mcpConfig.connectionStatus.disconnected','pre','mcpConfig.apiApplyInfo.title','MCP\x20客户端配置','启用身份验证以获得安全连接','exports','_mcpConnectionController','jsxs','https://mcp.univer.ai/mcp/?univer_session_id=','useCallback','MCPConfigUIController','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP:\x20Max\x20Retries\x20Exceeded','_loading$','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Unauthorized','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','errorMessage','M0\x200H16V16H0z','MCP\x20Connected','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.saving','_localStorageService','Disconnected','IMenuManagerService','mcpConfig.configInstructions','univer-text-yellow-500','mcpConfig.sessionIdDescription','850305bokkNg','_validateConfig','MCP_PLUGIN_CONFIG_KEY','length','mcp-ui.config','mcpStatus.sessionOccupied','_initializeMenus','Invalid\x20configuration','random','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer.plus','IUIPartsService','useDependency','MCPStatusDisplay','path','mask','mcpStatus.maxRetriesExceeded','MCP\x20Configuration','IDialogService','Plugin','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Disposable','MCPConnectionStatus','enableAutoConnect','label','API\x20key\x20with\x20Bearer\x20prefix.','mcpServerUrl','_handleConfigSave','mcpConfig.authorizationDescription','MCP\x20Client\x20Configuration','UniverDesign','translate(.97)','Inject','点击连接\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','_componentManager','univer-shrink-0\x20univer-text-blue-500','Retrying...','5928732PSlGrF','Input','Connecting...','jsx','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Connected','重启您的\x20MCP\x20客户端以使配置生效','UniverCore','UNAUTHORIZED','_uiPartsService','Session\x20ID','请输入您的\x20API\x20密钥','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpConfig.configStep2','配置步骤:','38645KmCHNR','MCP:\x20会话\x20ID\x20已被占用','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','已连接','univer-text-blue-600','registerComponent','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpConfig.configStep1','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','MCP\x20状态未知','API\x20密钥不能为空','defineProperty','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','useObservable','isValid','_config','mcpConfig.configStepTitle','API\x20密钥无效,请检查密钥是否正确','has','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','@univerjs/network','UniverIcon','配置更改将立即生效','FAILED','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','连接中...','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','off','RibbonStartGroup','_registerComponent','OnLineIcon','OpenMCPConfigPanelCommand','validateApiKey','mcpConfig.connectionError.unauthorized','showDeveloperTools','mcp.apiKey','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Configuration\x20Notes:','mcpConfig.connectionError.sessionOccupied','MCP\x20Connection\x20Failed','defs','http://www.w3.org/2000/svg','ComponentManager','colorChannel1','Injector','网络连接错误,请检查您的网络连接','mcpConfig.configParameters','Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','evenodd','_mcpCoreConfig$','权限验证失败,请检查您的\x20API\x20密钥','Success','mcpConfig.note1','get','复制以下\x20JSON\x20配置','_createConfigPanelComponent','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Enable\x20Authentication','@univerjs-pro/mcp','url(#on-line-icon_clip0_910_349)','\x20-\x20','_initStatusComponent','1230010UwnFCf','MCPConnectionController','univer-text-green-500','IConfigService','BUTTON','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','zhCN','_commandService','HEADER_MENU','setConfig','mcpConfig.validation.apiKeyRequired','react/jsx-runtime','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_apiKey$','React','UniverMCPUIPlugin','LocaleService','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-items-center\x20univer-gap-2','getCurrentConfig','_initializeCommands','Click\x20to\x20configure\x20MCP','0\x200\x2016\x2016','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','value','CONNECTED','text','未连接','CONNECTING','function','mcpConfig.apiApplyInfo.getStarted','372mMnVQk','API\x20key\x20is\x20required','mcpConfig.connectionStatus.retrying','https://console.univer.ai','UniverNetwork','@univerjs/core','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','subscribe','entries','mcpConfig.save','univer-space-y-5','displayName','559688STZrll','univer-space-y-4','univer-bg-gray-500','MCP:\x20网络错误','mcpConfig.title','UniverMCPPlugin','MCPUIMenuController','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','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','mcpConfig.configStep3','DependentOn','_messageService','register','4843768vSYLKM','map','将以下配置添加到您的\x20MCP\x20客户端设置中:','tag','clsx','__setCustomHeaders','bottom','Univer\x20AI\x20控制台','apiKey','univer-font-medium','保存中...','MCP:\x20Network\x20Error','_localeService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Module','MCP\x20重连中...','disposeWithMe','univer-flex\x20univer-gap-3','pluginName','ICommandService','Saving...','MCP\x20已断开','univer-bg-red-500','_config$','univer-shrink-0\x20univer-text-red-500','mcpStatus.unauthorized','_injector','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.apiKeyPlaceholder','currentColor','children','MCP\x20配置','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','5228388gcAEHh','API\x20Key','55NhOabM','mcpConfig.apiApplyInfo.description','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','trim','url(#$1','getItem','_dialogService','clipPath','MCP\x20Connecting...','forwardRef','将配置添加到您的\x20MCP\x20客户端设置文件中','stringify','RETRYING','mergeMenu','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','react','7LRyLPk','MessageType','启用身份验证','close','on-line-icon_clip0_910_349','MCP:\x20未授权','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','CheckMarkIcon','mcpStatus.connecting','BehaviorSubject','UniverProMcp','toString','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','useRef','subscribeConfigValue$','show','createElement','idSuffix','Configuration\x20saved\x20successfully','svg','next','univer-flex\x20univer-items-center\x20univer-gap-3','xlink:href','_logService','mcpStatus.retrying','includes','useState','mcpConfig.validation.invalidApiKey','button','Bearer\x20','Configuration\x20Parameters:','univer-flex-1','会话ID','_initAutoConnect','MCP\x20Disconnected','mcpConfig.configError','string','univer-min-w-0\x20univer-flex-1','_handleConfigure','mcpConfig.configSaved','none','setItem','MCP\x20连接失败','univer-flex\x20univer-items-start\x20univer-gap-3','univer-space-y-3','univer-space-y-2','MenuIcon','ILocalStorageService','mcpConfig.connectionInfo','univer-text-sm\x20univer-text-gray-500','enUS','forEach','current','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','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','url(#off-line-icon_clip0_910_343)','assign','3xcqdMC','sessionId$','univer_session_id:'];_0x305e=function(){return _0xde8b84;};return _0x305e();}