@univerjs-pro/mcp-ui 0.15.2-insiders.20260119-edc718c → 0.15.2-insiders.20260124-12fc7f0

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 (49) 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/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +6 -6
@@ -1 +1 @@
1
- function _0xe203(_0x460d0a,_0x11efa5){_0x460d0a=_0x460d0a-0x1a3;const _0x4b3f8b=_0x4b3f();let _0xe203a6=_0x4b3f8b[_0x460d0a];return _0xe203a6;}const _0xa6e213=_0xe203;(function(_0x4f5740,_0x639170){const _0x2c6f6a=_0xe203,_0x2ef089=_0x4f5740();while(!![]){try{const _0x27e9c4=parseInt(_0x2c6f6a(0x1bf))/0x1+-parseInt(_0x2c6f6a(0x1b3))/0x2+-parseInt(_0x2c6f6a(0x1a5))/0x3*(-parseInt(_0x2c6f6a(0x1b9))/0x4)+-parseInt(_0x2c6f6a(0x1c9))/0x5*(parseInt(_0x2c6f6a(0x1d5))/0x6)+parseInt(_0x2c6f6a(0x1d4))/0x7*(-parseInt(_0x2c6f6a(0x1c3))/0x8)+parseInt(_0x2c6f6a(0x1b0))/0x9*(-parseInt(_0x2c6f6a(0x1cb))/0xa)+parseInt(_0x2c6f6a(0x1bb))/0xb*(parseInt(_0x2c6f6a(0x1b7))/0xc);if(_0x27e9c4===_0x639170)break;else _0x2ef089['push'](_0x2ef089['shift']());}catch(_0x1cd15d){_0x2ef089['push'](_0x2ef089['shift']());}}}(_0x4b3f,0x9d008));function _0x4b3f(){const _0x38e51f=['MCP\x20알\x20수\x20없는\x20상태','171611Ktsxkh','보안\x20연결을\x20위해\x20인증\x20활성화','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','1087174gOdTlA','MCP\x20연결됨','API\x20키를\x20입력하세요','MCP:\x20최대\x20재시도\x20횟수\x20초과','8TcuJlN','Bearer\x20접두사가\x20있는\x20API\x20키.','세션\x20ID','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','저장\x20중...','인증\x20실패.\x20API\x20키를\x20확인하세요','730RqmpSq','설정이\x20성공적으로\x20저장되었습니다','156610miTSuO','API\x20키는\x20필수입니다','MCP\x20클라이언트\x20설정','몇\x20초\x20만에\x20API\x20키\x20발급받기','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','MCP:\x20네트워크\x20오류','MCP\x20설정','2169286nGEhgL','28650sBZTbK','API\x20키','재시도\x20중...','1080KsZppH','MCP:\x20세션\x20ID\x20사용\x20중','최대\x20재시도\x20횟수','MCP\x20재시도\x20중...','연결\x20끊김','설정\x20저장\x20실패','MCP\x20연결\x20중...','유효하지\x20않은\x20설정','설정\x20매개변수:','설정\x20단계:','MCP\x20연결\x20실패','126SHiGeS','클릭하여\x20MCP\x20연결','MCP\x20연결\x20끊김','998082KZZZDe','MCP:\x20인증되지\x20않음','연결됨','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','108KYNQMS','클릭하여\x20MCP\x20설정','12676CFOeqM'];_0x4b3f=function(){return _0x38e51f;};return _0x4b3f();}const e={'mcpStatus':{'disconnected':_0xa6e213(0x1b2),'connecting':_0xa6e213(0x1ab),'connected':_0xa6e213(0x1c0),'failed':_0xa6e213(0x1af),'retrying':_0xa6e213(0x1a8),'unknown':_0xa6e213(0x1ba),'unauthorized':_0xa6e213(0x1b4),'sessionOccupied':_0xa6e213(0x1a6),'networkError':_0xa6e213(0x1d2),'maxRetriesExceeded':_0xa6e213(0x1c2),'clickToConnect':_0xa6e213(0x1b1),'clickToConfigure':_0xa6e213(0x1b8)},'mcpConfig':{'title':_0xa6e213(0x1d3),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0xa6e213(0x1a3),'apiKeyPlaceholder':_0xa6e213(0x1c1),'apiKeyHint':_0xa6e213(0x1be),'enableAuth':'인증\x20활성화','enableAuthHint':_0xa6e213(0x1bc),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0xa6e213(0x1cd),'configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':_0xa6e213(0x1ae),'configStep1':'아래\x20JSON\x20설정\x20복사','configStep2':_0xa6e213(0x1b6),'configStep3':'MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','sessionId':_0xa6e213(0x1c5),'sessionIdDescription':_0xa6e213(0x1c6),'authorizationDescription':_0xa6e213(0x1c4),'configParameters':_0xa6e213(0x1ad),'maxRetries':_0xa6e213(0x1a7),'save':'설정\x20저장','saving':_0xa6e213(0x1c7),'note1':'설정\x20변경\x20사항은\x20즉시\x20적용됩니다','note2':_0xa6e213(0x1d0),'configSaved':_0xa6e213(0x1ca),'configError':_0xa6e213(0x1aa),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0xa6e213(0x1ce)},'validation':{'apiKeyRequired':_0xa6e213(0x1cc),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0xa6e213(0x1ac),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0xa6e213(0x1a9),'connecting':'연결\x20중...','connected':_0xa6e213(0x1b5),'failed':'연결\x20실패','retrying':_0xa6e213(0x1a4)},'connectionError':{'unauthorized':_0xa6e213(0x1c8),'sessionOccupied':_0xa6e213(0x1bd),'networkError':_0xa6e213(0x1d1),'maxRetriesExceeded':_0xa6e213(0x1cf)}}};export{e as default};
1
+ function _0x44af(_0xf82e5e,_0x5a5a18){_0xf82e5e=_0xf82e5e-0x1a2;const _0x4cc6f2=_0x4cc6();let _0x44af7c=_0x4cc6f2[_0xf82e5e];return _0x44af7c;}const _0x550e08=_0x44af;(function(_0x2f1011,_0x49152c){const _0x157268=_0x44af,_0x189918=_0x2f1011();while(!![]){try{const _0x339a81=-parseInt(_0x157268(0x1d4))/0x1+-parseInt(_0x157268(0x1b3))/0x2*(-parseInt(_0x157268(0x1c7))/0x3)+-parseInt(_0x157268(0x1bb))/0x4+parseInt(_0x157268(0x1ad))/0x5+-parseInt(_0x157268(0x1a2))/0x6+-parseInt(_0x157268(0x1b9))/0x7*(-parseInt(_0x157268(0x1c6))/0x8)+parseInt(_0x157268(0x1d1))/0x9*(parseInt(_0x157268(0x1b0))/0xa);if(_0x339a81===_0x49152c)break;else _0x189918['push'](_0x189918['shift']());}catch(_0x58ff78){_0x189918['push'](_0x189918['shift']());}}}(_0x4cc6,0x3a431));const e={'mcpStatus':{'disconnected':_0x550e08(0x1b8),'connecting':_0x550e08(0x1cc),'connected':_0x550e08(0x1bc),'failed':_0x550e08(0x1a7),'retrying':_0x550e08(0x1a6),'unknown':'MCP\x20알\x20수\x20없는\x20상태','unauthorized':_0x550e08(0x1a8),'sessionOccupied':_0x550e08(0x1b5),'networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0x550e08(0x1b4),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':_0x550e08(0x1c0)},'mcpConfig':{'title':_0x550e08(0x1ac),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x550e08(0x1ae),'apiKeyPlaceholder':_0x550e08(0x1c8),'apiKeyHint':_0x550e08(0x1a9),'enableAuth':'인증\x20활성화','enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x550e08(0x1b7),'configInstructions':_0x550e08(0x1b2),'configStepTitle':_0x550e08(0x1bd),'configStep1':_0x550e08(0x1cd),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x550e08(0x1af),'sessionId':_0x550e08(0x1d2),'sessionIdDescription':_0x550e08(0x1d3),'authorizationDescription':_0x550e08(0x1a5),'configParameters':_0x550e08(0x1c1),'maxRetries':'최대\x20재시도\x20횟수','save':_0x550e08(0x1a4),'saving':_0x550e08(0x1ba),'note1':_0x550e08(0x1b6),'note2':_0x550e08(0x1c9),'configSaved':_0x550e08(0x1c4),'configError':_0x550e08(0x1c5),'apiApplyInfo':{'title':_0x550e08(0x1cb),'description':_0x550e08(0x1bf),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0x550e08(0x1b1)},'validation':{'apiKeyRequired':_0x550e08(0x1c3),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0x550e08(0x1d0),'invalidApiKey':_0x550e08(0x1aa)},'connectionStatus':{'disconnected':_0x550e08(0x1ab),'connecting':_0x550e08(0x1c2),'connected':'연결됨','failed':_0x550e08(0x1ca),'retrying':_0x550e08(0x1be)},'connectionError':{'unauthorized':_0x550e08(0x1a3),'sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':_0x550e08(0x1cf),'maxRetriesExceeded':_0x550e08(0x1ce)}}};export{e as default};function _0x4cc6(){const _0x2ad7c4=['연결\x20중...','API\x20키는\x20필수입니다','설정이\x20성공적으로\x20저장되었습니다','설정\x20저장\x20실패','32264UEIQuj','338901RgYRAG','API\x20키를\x20입력하세요','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','연결\x20실패','API\x20키란\x20무엇인가요?','MCP\x20연결\x20중...','아래\x20JSON\x20설정\x20복사','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','유효하지\x20않은\x20설정','639itnskJ','세션\x20ID','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','454116kmyIQL','1590138xFBvlC','인증\x20실패.\x20API\x20키를\x20확인하세요','설정\x20저장','Bearer\x20접두사가\x20있는\x20API\x20키.','MCP\x20재시도\x20중...','MCP\x20연결\x20실패','MCP:\x20인증되지\x20않음','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','연결\x20끊김','MCP\x20설정','1016880WTRjLS','API\x20키','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','107530CrIiLM','몇\x20초\x20만에\x20API\x20키\x20발급받기','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','2MazdiU','MCP:\x20최대\x20재시도\x20횟수\x20초과','MCP:\x20세션\x20ID\x20사용\x20중','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20클라이언트\x20설정','MCP\x20연결\x20끊김','301CnKKbz','저장\x20중...','1181780HJscUP','MCP\x20연결됨','설정\x20단계:','재시도\x20중...','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','클릭하여\x20MCP\x20설정','설정\x20매개변수:'];_0x4cc6=function(){return _0x2ad7c4;};return _0x4cc6();}
@@ -1 +1 @@
1
- const _0x3fc20e=_0x1f2e;(function(_0x245e32,_0x20dd6b){const _0x44adab=_0x1f2e,_0x494fdd=_0x245e32();while(!![]){try{const _0x51b21c=parseInt(_0x44adab(0xea))/0x1*(-parseInt(_0x44adab(0xfe))/0x2)+parseInt(_0x44adab(0x10a))/0x3*(parseInt(_0x44adab(0x101))/0x4)+-parseInt(_0x44adab(0xfa))/0x5*(-parseInt(_0x44adab(0x107))/0x6)+parseInt(_0x44adab(0x103))/0x7*(parseInt(_0x44adab(0xf3))/0x8)+parseInt(_0x44adab(0xe9))/0x9*(parseInt(_0x44adab(0x102))/0xa)+-parseInt(_0x44adab(0xeb))/0xb*(parseInt(_0x44adab(0x114))/0xc)+parseInt(_0x44adab(0xf9))/0xd*(-parseInt(_0x44adab(0x10b))/0xe);if(_0x51b21c===_0x20dd6b)break;else _0x494fdd['push'](_0x494fdd['shift']());}catch(_0x3210a6){_0x494fdd['push'](_0x494fdd['shift']());}}}(_0x26d4,0xa5053));function _0x26d4(){const _0xebe877=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','MCP\x20Configuration','Univer\x20AI\x20Console','MCP:\x20Unauthorized','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','8353284HcykOR','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enable\x20Authentication','Max\x20Retries','1409607cUYHxs','1234414imUwNC','11biBHwA','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Max\x20Retries\x20Exceeded','Session\x20ID','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connecting...','Click\x20to\x20configure\x20MCP','312LIwesK','Configuration\x20Parameters:','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Disconnected','Enter\x20your\x20API\x20key','3193697kAukHx','1732490EbvEPx','Retrying...','Failed\x20to\x20save\x20configuration','MCP\x20Connected','2QVDrie','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','4UiaiUG','50lNqwXi','183099BbOyLJ','Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','12FbrNiV','Save\x20Configuration','Click\x20to\x20connect\x20MCP','2541651puiFyJ','42EyFcpx'];_0x26d4=function(){return _0xebe877;};return _0x26d4();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3fc20e(0xf1),'connected':_0x3fc20e(0xfd),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3fc20e(0x106),'unknown':_0x3fc20e(0xf5),'unauthorized':_0x3fc20e(0x111),'sessionOccupied':_0x3fc20e(0xff),'networkError':_0x3fc20e(0xf6),'maxRetriesExceeded':_0x3fc20e(0xee),'clickToConnect':_0x3fc20e(0x109),'clickToConfigure':_0x3fc20e(0xf2)},'mcpConfig':{'title':_0x3fc20e(0x10f),'description':_0x3fc20e(0x115),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x3fc20e(0xf8),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3fc20e(0xe7),'enableAuthHint':_0x3fc20e(0xec),'connectionInfo':_0x3fc20e(0x10e),'mcpClientConfig':_0x3fc20e(0x10e),'configInstructions':_0x3fc20e(0xf0),'configStepTitle':_0x3fc20e(0x100),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3fc20e(0xef),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3fc20e(0xf4),'maxRetries':_0x3fc20e(0xe8),'save':_0x3fc20e(0x108),'saving':_0x3fc20e(0x116),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x3fc20e(0xfc),'apiApplyInfo':{'title':_0x3fc20e(0x10d),'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':_0x3fc20e(0x110),'getStarted':_0x3fc20e(0x113)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3fc20e(0xed),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3fc20e(0x10c)},'connectionStatus':{'disconnected':_0x3fc20e(0xf7),'connecting':_0x3fc20e(0x104),'connected':_0x3fc20e(0x112),'failed':'Connection\x20Failed','retrying':_0x3fc20e(0xfb)},'connectionError':{'unauthorized':_0x3fc20e(0xe6),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x3fc20e(0x105),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x1f2e(_0x524d48,_0xa68b7f){_0x524d48=_0x524d48-0xe6;const _0x26d46b=_0x26d4();let _0x1f2ed4=_0x26d46b[_0x524d48];return _0x1f2ed4;}export{n as default};
1
+ function _0x4e24(){const _0x180a93=['Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','2pYiqMY','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key','MCP\x20Unknown\x20Status','Connected','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20Authentication','Disconnected','Save\x20Configuration','8zkOUri','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','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.','718289vgOVjU','3313639NQCJRH','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Disconnected','3701172bqkdRY','Configuration\x20Steps:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connection\x20Failed','824730FnamPe','Max\x20Retries','MCP\x20Connected','4606938kFXHkg','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Univer\x20AI\x20Console','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','6zLXqtR','110GlLgId','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','269260RgEIyL','Failed\x20to\x20save\x20configuration','4018956OBLZmc','API\x20key\x20is\x20required','MCP\x20Connecting...','What\x20is\x20API\x20Key?','Click\x20to\x20configure\x20MCP','MCP:\x20Network\x20Error','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20connect\x20MCP','Session\x20ID'];_0x4e24=function(){return _0x180a93;};return _0x4e24();}const _0x35d10d=_0x3439;(function(_0xd74c5,_0x571209){const _0x170430=_0x3439,_0x219fcb=_0xd74c5();while(!![]){try{const _0x288b67=parseInt(_0x170430(0x85))/0x1+parseInt(_0x170430(0x9e))/0x2*(-parseInt(_0x170430(0xb5))/0x3)+parseInt(_0x170430(0x94))/0x4+-parseInt(_0x170430(0x92))/0x5*(parseInt(_0x170430(0x8e))/0x6)+parseInt(_0x170430(0xb2))/0x7*(parseInt(_0x170430(0xa8))/0x8)+parseInt(_0x170430(0x88))/0x9+parseInt(_0x170430(0x8f))/0xa*(-parseInt(_0x170430(0xb1))/0xb);if(_0x288b67===_0x571209)break;else _0x219fcb['push'](_0x219fcb['shift']());}catch(_0x28f0d3){_0x219fcb['push'](_0x219fcb['shift']());}}}(_0x4e24,0xc579f));const e={'mcpStatus':{'disconnected':_0x35d10d(0xb4),'connecting':_0x35d10d(0x96),'connected':_0x35d10d(0x87),'failed':'MCP\x20Connection\x20Failed','retrying':_0x35d10d(0x8a),'unknown':_0x35d10d(0xa2),'unauthorized':_0x35d10d(0xab),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x35d10d(0x99),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x35d10d(0x9b),'clickToConfigure':_0x35d10d(0x98)},'mcpConfig':{'title':_0x35d10d(0x91),'description':_0x35d10d(0xae),'apiKey':_0x35d10d(0xa1),'apiKeyPlaceholder':_0x35d10d(0xb8),'apiKeyHint':_0x35d10d(0xb9),'enableAuth':_0x35d10d(0xa5),'enableAuthHint':_0x35d10d(0x9a),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x35d10d(0xaf),'configStepTitle':_0x35d10d(0xb6),'configStep1':_0x35d10d(0xa4),'configStep2':_0x35d10d(0x8d),'configStep3':_0x35d10d(0xa9),'sessionId':_0x35d10d(0x9c),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x35d10d(0x90),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x35d10d(0x86),'save':_0x35d10d(0xa7),'saving':'Saving...','note1':_0x35d10d(0xb3),'note2':_0x35d10d(0xb7),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x35d10d(0x93),'apiApplyInfo':{'title':_0x35d10d(0x97),'description':_0x35d10d(0xb0),'univerAiLabel':_0x35d10d(0x8c),'getStarted':_0x35d10d(0x89)},'validation':{'apiKeyRequired':_0x35d10d(0x95),'apiKeyTooShort':_0x35d10d(0x9f),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x35d10d(0xa0)},'connectionStatus':{'disconnected':_0x35d10d(0xa6),'connecting':'Connecting...','connected':_0x35d10d(0xa3),'failed':_0x35d10d(0x84),'retrying':_0x35d10d(0xad)},'connectionError':{'unauthorized':_0x35d10d(0x8b),'sessionOccupied':_0x35d10d(0x9d),'networkError':_0x35d10d(0xac),'maxRetriesExceeded':_0x35d10d(0xaa)}}},n=e;function _0x3439(_0x1c4d01,_0x3578bc){_0x1c4d01=_0x1c4d01-0x84;const _0x4e2495=_0x4e24();let _0x3439ad=_0x4e2495[_0x1c4d01];return _0x3439ad;}export{n as default};
@@ -1 +1 @@
1
- const _0x4e39a8=_0x3aa5;(function(_0x3e9cc2,_0x3f22e7){const _0x50da38=_0x3aa5,_0x52a1d1=_0x3e9cc2();while(!![]){try{const _0x449536=-parseInt(_0x50da38(0x97))/0x1+-parseInt(_0x50da38(0xa0))/0x2+parseInt(_0x50da38(0x83))/0x3*(parseInt(_0x50da38(0x9f))/0x4)+parseInt(_0x50da38(0x95))/0x5+parseInt(_0x50da38(0xaa))/0x6*(parseInt(_0x50da38(0x89))/0x7)+-parseInt(_0x50da38(0xaf))/0x8*(-parseInt(_0x50da38(0x85))/0x9)+-parseInt(_0x50da38(0x81))/0xa;if(_0x449536===_0x3f22e7)break;else _0x52a1d1['push'](_0x52a1d1['shift']());}catch(_0x43a0fe){_0x52a1d1['push'](_0x52a1d1['shift']());}}}(_0x3421,0xecb1e));function _0x3aa5(_0x5685b2,_0x3157f7){_0x5685b2=_0x5685b2-0x7d;const _0x342182=_0x3421();let _0x3aa529=_0x342182[_0x5685b2];return _0x3aa529;}function _0x3421(){const _0x284fb7=['Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Các\x20bước\x20cấu\x20hình:','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Đị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.','30duZKqb','Đã\x20kết\x20nối','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Bảng\x20điều\x20khiển\x20Univer\x20AI','8eowKJT','MCP\x20Đã\x20kết\x20nối','MCP:\x20Lỗi\x20mạng','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','MCP\x20Đã\x20ngắt\x20kết\x20nối','Đang\x20thử\x20lại...','Lưu\x20cấu\x20hình\x20thất\x20bại','16642320QKJYoF','Bật\x20xác\x20thực','450YLawyf','Số\x20lần\x20thử\x20lại\x20tối\x20đa','4426641XSxJKm','Yêu\x20cầu\x20khóa\x20API','Nhấp\x20để\x20kết\x20nối\x20MCP','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','2695574iAeEoN','MCP\x20Đang\x20thử\x20lại...','Tham\x20số\x20cấu\x20hình:','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','Cấu\x20hình\x20MCP','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.','Đang\x20lưu...','Cấu\x20hình\x20không\x20hợp\x20lệ','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Đã\x20ngắt\x20kết\x20nối','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','1728890LaoeqQ','Lưu\x20cấu\x20hình','640031gTyewV','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','MCP\x20Đang\x20kết\x20nối...','Nhập\x20khóa\x20API\x20của\x20bạn','Khóa\x20API','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Kết\x20nối\x20thất\x20bại','41924tuoTHf','2122844oCChrC','MCP:\x20Không\x20được\x20phép','ID\x20phiên','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình'];_0x3421=function(){return _0x284fb7;};return _0x3421();}const n={'mcpStatus':{'disconnected':_0x4e39a8(0x7e),'connecting':_0x4e39a8(0x99),'connected':_0x4e39a8(0xb0),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x4e39a8(0x8a),'unknown':_0x4e39a8(0xa7),'unauthorized':_0x4e39a8(0xa1),'sessionOccupied':_0x4e39a8(0x9c),'networkError':_0x4e39a8(0xb1),'maxRetriesExceeded':_0x4e39a8(0x7d),'clickToConnect':_0x4e39a8(0x87),'clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':_0x4e39a8(0x8d),'description':_0x4e39a8(0x8c),'apiKey':_0x4e39a8(0x9b),'apiKeyPlaceholder':_0x4e39a8(0x9a),'apiKeyHint':_0x4e39a8(0x9d),'enableAuth':_0x4e39a8(0x82),'enableAuthHint':_0x4e39a8(0xb2),'connectionInfo':'Cấu\x20hình\x20máy\x20khách\x20MCP','mcpClientConfig':'Cấu\x20hình\x20máy\x20khách\x20MCP','configInstructions':_0x4e39a8(0x94),'configStepTitle':_0x4e39a8(0xa6),'configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':_0x4e39a8(0x93),'configStep3':_0x4e39a8(0xa4),'sessionId':_0x4e39a8(0xa2),'sessionIdDescription':_0x4e39a8(0xa9),'authorizationDescription':_0x4e39a8(0xa5),'configParameters':_0x4e39a8(0x8b),'maxRetries':_0x4e39a8(0x84),'save':_0x4e39a8(0x96),'saving':_0x4e39a8(0x8f),'note1':_0x4e39a8(0xac),'note2':_0x4e39a8(0x91),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x4e39a8(0x80),'apiApplyInfo':{'title':'Khóa\x20API\x20là\x20gì?','description':_0x4e39a8(0x8e),'univerAiLabel':_0x4e39a8(0xae),'getStarted':_0x4e39a8(0xad)},'validation':{'apiKeyRequired':_0x4e39a8(0x86),'apiKeyTooShort':_0x4e39a8(0x98),'invalidConfig':_0x4e39a8(0x90),'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':_0x4e39a8(0x92),'connecting':'Đang\x20kết\x20nối...','connected':_0x4e39a8(0xab),'failed':_0x4e39a8(0x9e),'retrying':_0x4e39a8(0x7f)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x4e39a8(0xa3),'networkError':_0x4e39a8(0xa8),'maxRetriesExceeded':_0x4e39a8(0x88)}}};export{n as default};
1
+ const _0x35515d=_0x4152;(function(_0x416645,_0x18931a){const _0x55f226=_0x4152,_0x4bf166=_0x416645();while(!![]){try{const _0x556557=-parseInt(_0x55f226(0x8f))/0x1+parseInt(_0x55f226(0x8c))/0x2+-parseInt(_0x55f226(0xa0))/0x3+-parseInt(_0x55f226(0x96))/0x4+parseInt(_0x55f226(0xa7))/0x5*(parseInt(_0x55f226(0x8e))/0x6)+parseInt(_0x55f226(0x9e))/0x7+parseInt(_0x55f226(0x89))/0x8;if(_0x556557===_0x18931a)break;else _0x4bf166['push'](_0x4bf166['shift']());}catch(_0x1748ee){_0x4bf166['push'](_0x4bf166['shift']());}}}(_0x3fdc,0x60edd));function _0x4152(_0x201862,_0x1c0657){_0x201862=_0x201862-0x7c;const _0x3fdcbf=_0x3fdc();let _0x4152c3=_0x3fdcbf[_0x201862];return _0x4152c3;}function _0x3fdc(){const _0x1d86a6=['286326EZMtRH','169400tjTSAU','MCP\x20Kết\x20nối\x20thất\x20bại','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\x20khóa\x20API\x20của\x20bạn','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Cấu\x20hình\x20máy\x20khách\x20MCP','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','2157044fboVDw','ID\x20phiên','Bật\x20xác\x20thực','Nhấp\x20để\x20kết\x20nối\x20MCP','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','1636096jQCTtZ','Đang\x20thử\x20lại...','620934uzbqnO','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Đang\x20lưu...','MCP\x20Đang\x20thử\x20lại...','MCP:\x20Lỗi\x20mạng','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','15kMVETU','MCP:\x20Không\x20được\x20phép','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Các\x20bước\x20cấu\x20hình:','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Nhấp\x20để\x20cấu\x20hình\x20MCP','Yêu\x20cầu\x20khóa\x20API','Lưu\x20cấu\x20hì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','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Khóa\x20API','6878968piXrMf','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Kết\x20nối\x20thất\x20bại','151796BHINtP','Đã\x20ngắt\x20kết\x20nối'];_0x3fdc=function(){return _0x1d86a6;};return _0x3fdc();}const n={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':'MCP\x20Đang\x20kết\x20nối...','connected':'MCP\x20Đã\x20kết\x20nối','failed':_0x35515d(0x90),'retrying':_0x35515d(0xa4),'unknown':_0x35515d(0x82),'unauthorized':_0x35515d(0xa8),'sessionOccupied':_0x35515d(0x7e),'networkError':_0x35515d(0xa5),'maxRetriesExceeded':_0x35515d(0x80),'clickToConnect':_0x35515d(0x99),'clickToConfigure':_0x35515d(0x83)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':_0x35515d(0x9c),'apiKey':_0x35515d(0x88),'apiKeyPlaceholder':_0x35515d(0x92),'apiKeyHint':_0x35515d(0x7d),'enableAuth':_0x35515d(0x98),'enableAuthHint':'Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','connectionInfo':'Cấu\x20hình\x20máy\x20khách\x20MCP','mcpClientConfig':_0x35515d(0x94),'configInstructions':_0x35515d(0x9b),'configStepTitle':_0x35515d(0x7c),'configStep1':_0x35515d(0x8a),'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':_0x35515d(0x86),'sessionId':_0x35515d(0x97),'sessionIdDescription':_0x35515d(0x9a),'authorizationDescription':_0x35515d(0xa6),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':_0x35515d(0x85),'saving':_0x35515d(0xa3),'note1':_0x35515d(0x7f),'note2':_0x35515d(0x93),'configSaved':_0x35515d(0x81),'configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':'Khóa\x20API\x20là\x20gì?','description':_0x35515d(0x91),'univerAiLabel':'Bảng\x20điều\x20khiển\x20Univer\x20AI','getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x35515d(0x84),'apiKeyTooShort':_0x35515d(0xa1),'invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20l','invalidApiKey':_0x35515d(0x95)},'connectionStatus':{'disconnected':_0x35515d(0x8d),'connecting':'Đang\x20kết\x20nối...','connected':'Đã\x20kết\x20nối','failed':_0x35515d(0x8b),'retrying':_0x35515d(0x9f)},'connectionError':{'unauthorized':_0x35515d(0x9d),'sessionOccupied':_0x35515d(0xa2),'networkError':_0x35515d(0x87),'maxRetriesExceeded':_0x35515d(0xa9)}}};export{n as default};
@@ -1 +1 @@
1
- function _0x483c(_0x3c0929,_0x5e895e){_0x3c0929=_0x3c0929-0x13d;const _0x3bcc03=_0x3bcc();let _0x483c5a=_0x3bcc03[_0x3c0929];return _0x483c5a;}function _0x3bcc(){const _0x54859c=['MCP\x20连接失败','MCP\x20状态未知','20SXlIei','保存中...','超出最大重试次数,请稍后再试','带有\x20Bearer\x20前缀的\x20API\x20密钥。','API\x20密钥不能为空','保存配置','重连中...','14dNsNGB','几秒钟内获取您的\x20API\x20密钥','配置无效','250xGICyF','MCP:\x20网络错误','什么是\x20API\x20密钥?','MCP\x20已连接','复制以下\x20JSON\x20配置','配置参数:','会话\x20ID\x20已被占用,请稍后再试','MCP:\x20超出最大重试次数','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20重连中...','MCP\x20客户端配置','将以下配置添加到您的\x20MCP\x20客户端设置中:','1194944KeZMMa','权限验证失败,请检查您的\x20API\x20密钥','API\x20密钥无效,请检查密钥是否正确','配置更改将立即生效','MCP:\x20未授权','网络连接错误,请检查您的网络连接','您的\x20API\x20密钥将在此浏览器中本地存储','1166rhMwxi','重启您的\x20MCP\x20客户端以使配置生效','API\x20密钥长度至少需要\x2010\x20位','MCP\x20配置','会话ID','2861250VtLawk','Univer\x20AI\x20控制台','642BuUtSy','MCP\x20连接中...','4yuAsdl','启用身份验证','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','196188cSlInU','2109834Jdqfme','将配置添加到您的\x20MCP\x20客户端设置文件中','712608IhQHnM','2584490mWOmyo','请输入您的\x20API\x20密钥','连接失败','未连接','最大重试次数','配置保存成功'];_0x3bcc=function(){return _0x54859c;};return _0x3bcc();}const _0x53c748=_0x483c;(function(_0x408b04,_0x527b02){const _0x5a0776=_0x483c,_0xf92acc=_0x408b04();while(!![]){try{const _0x543ec0=parseInt(_0x5a0776(0x16b))/0x1*(parseInt(_0x5a0776(0x151))/0x2)+-parseInt(_0x5a0776(0x169))/0x3+-parseInt(_0x5a0776(0x16d))/0x4*(-parseInt(_0x5a0776(0x13f))/0x5)+parseInt(_0x5a0776(0x13e))/0x6+parseInt(_0x5a0776(0x14e))/0x7*(-parseInt(_0x5a0776(0x15d))/0x8)+-parseInt(_0x5a0776(0x171))/0x9*(parseInt(_0x5a0776(0x147))/0xa)+parseInt(_0x5a0776(0x164))/0xb*(parseInt(_0x5a0776(0x170))/0xc);if(_0x543ec0===_0x527b02)break;else _0xf92acc['push'](_0xf92acc['shift']());}catch(_0x5568c7){_0xf92acc['push'](_0xf92acc['shift']());}}}(_0x3bcc,0xb1a14));const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x53c748(0x16c),'connected':_0x53c748(0x154),'failed':_0x53c748(0x145),'retrying':_0x53c748(0x15a),'unknown':_0x53c748(0x146),'unauthorized':_0x53c748(0x161),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x53c748(0x152),'maxRetriesExceeded':_0x53c748(0x158),'clickToConnect':'点击连接\x20MCP','clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x53c748(0x167),'description':_0x53c748(0x159),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x53c748(0x140),'apiKeyHint':_0x53c748(0x163),'enableAuth':_0x53c748(0x16e),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x53c748(0x15b),'mcpClientConfig':_0x53c748(0x15b),'configInstructions':_0x53c748(0x15c),'configStepTitle':'配置步骤:','configStep1':_0x53c748(0x155),'configStep2':_0x53c748(0x13d),'configStep3':_0x53c748(0x165),'sessionId':_0x53c748(0x168),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x53c748(0x14a),'configParameters':_0x53c748(0x156),'maxRetries':_0x53c748(0x143),'save':_0x53c748(0x14c),'saving':_0x53c748(0x148),'note1':_0x53c748(0x160),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x53c748(0x144),'configError':'配置保存失败','apiApplyInfo':{'title':_0x53c748(0x153),'description':_0x53c748(0x16f),'univerAiLabel':_0x53c748(0x16a),'getStarted':_0x53c748(0x14f)},'validation':{'apiKeyRequired':_0x53c748(0x14b),'apiKeyTooShort':_0x53c748(0x166),'invalidConfig':_0x53c748(0x150),'invalidApiKey':_0x53c748(0x15f)},'connectionStatus':{'disconnected':_0x53c748(0x142),'connecting':'连接中...','connected':'已连接','failed':_0x53c748(0x141),'retrying':_0x53c748(0x14d)},'connectionError':{'unauthorized':_0x53c748(0x15e),'sessionOccupied':_0x53c748(0x157),'networkError':_0x53c748(0x162),'maxRetriesExceeded':_0x53c748(0x149)}}};export{e as default};
1
+ function _0x2823(_0x5b3ec4,_0x3638cb){_0x5b3ec4=_0x5b3ec4-0x103;const _0x5b86ae=_0x5b86();let _0x28232c=_0x5b86ae[_0x5b3ec4];return _0x28232c;}const _0x30be8d=_0x2823;(function(_0x3dea28,_0x1a433a){const _0x2709b7=_0x2823,_0x38ccb7=_0x3dea28();while(!![]){try{const _0x3be24d=-parseInt(_0x2709b7(0x110))/0x1*(parseInt(_0x2709b7(0x12e))/0x2)+-parseInt(_0x2709b7(0x114))/0x3*(parseInt(_0x2709b7(0x12b))/0x4)+-parseInt(_0x2709b7(0x12a))/0x5*(-parseInt(_0x2709b7(0x10f))/0x6)+-parseInt(_0x2709b7(0x123))/0x7+parseInt(_0x2709b7(0x105))/0x8*(parseInt(_0x2709b7(0x107))/0x9)+parseInt(_0x2709b7(0x129))/0xa*(-parseInt(_0x2709b7(0x103))/0xb)+parseInt(_0x2709b7(0x12c))/0xc;if(_0x3be24d===_0x1a433a)break;else _0x38ccb7['push'](_0x38ccb7['shift']());}catch(_0x65a0b3){_0x38ccb7['push'](_0x38ccb7['shift']());}}}(_0x5b86,0x8265f));const e={'mcpStatus':{'disconnected':_0x30be8d(0x11b),'connecting':_0x30be8d(0x11e),'connected':_0x30be8d(0x12d),'failed':_0x30be8d(0x124),'retrying':_0x30be8d(0x117),'unknown':_0x30be8d(0x120),'unauthorized':_0x30be8d(0x131),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x30be8d(0x134),'maxRetriesExceeded':_0x30be8d(0x10b),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x30be8d(0x132)},'mcpConfig':{'title':'MCP\x20配置','description':_0x30be8d(0x10a),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x30be8d(0x135),'apiKeyHint':_0x30be8d(0x115),'enableAuth':_0x30be8d(0x121),'enableAuthHint':_0x30be8d(0x11a),'connectionInfo':_0x30be8d(0x11c),'mcpClientConfig':_0x30be8d(0x11c),'configInstructions':_0x30be8d(0x11d),'configStepTitle':_0x30be8d(0x113),'configStep1':_0x30be8d(0x133),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x30be8d(0x118),'sessionId':_0x30be8d(0x10e),'sessionIdDescription':_0x30be8d(0x12f),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':_0x30be8d(0x108),'save':_0x30be8d(0x104),'saving':_0x30be8d(0x119),'note1':_0x30be8d(0x116),'note2':_0x30be8d(0x125),'configSaved':_0x30be8d(0x10d),'configError':_0x30be8d(0x128),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x30be8d(0x130),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x30be8d(0x126)},'validation':{'apiKeyRequired':_0x30be8d(0x109),'apiKeyTooShort':_0x30be8d(0x127),'invalidConfig':_0x30be8d(0x112),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x30be8d(0x111),'connecting':_0x30be8d(0x106),'connected':'已连接','failed':_0x30be8d(0x11f),'retrying':_0x30be8d(0x122)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x30be8d(0x10c),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x5b86(){const _0x10ed65=['请输入您的\x20API\x20密钥','187qbpQjC','保存配置','16aeRSzA','连接中...','1456479uTqJrK','最大重试次数','API\x20密钥不能为空','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP:\x20超出最大重试次数','会话\x20ID\x20已被占用,请稍后再试','配置保存成功','会话ID','5772hnugkg','960123TNBtVq','未连接','配置无效','配置步骤:','6gfnkSv','您的\x20API\x20密钥将在此浏览器中本地存储','配置更改将立即生效','MCP\x20重连中...','重启您的\x20MCP\x20客户端以使配置生效','保存中...','启用身份验证以获得安全连接','MCP\x20已断开','MCP\x20客户端配置','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP\x20连接中...','连接失败','MCP\x20状态未知','启用身份验证','重连中...','5689712jQKmRl','MCP\x20连接失败','您的\x20API\x20密钥安全存储在本地存储中','几秒钟内获取您的\x20API\x20密钥','API\x20密钥长度至少需要\x2010\x20位','配置保存失败','146110uvOglz','2465beRtDW','308892rbQrUw','22943460uwZfRP','MCP\x20已连接','2dlovYe','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP:\x20未授权','点击配置\x20MCP','复制以下\x20JSON\x20配置','MCP:\x20网络错误'];_0x5b86=function(){return _0x10ed65;};return _0x5b86();}export{e as default};
@@ -1 +1 @@
1
- const _0x4e3bdf=_0xb187;(function(_0x86b24b,_0x31fcb9){const _0x54e455=_0xb187,_0x2f5829=_0x86b24b();while(!![]){try{const _0xc43de4=-parseInt(_0x54e455(0xe1))/0x1*(-parseInt(_0x54e455(0x102))/0x2)+parseInt(_0x54e455(0xdc))/0x3*(parseInt(_0x54e455(0xd6))/0x4)+parseInt(_0x54e455(0xdd))/0x5*(parseInt(_0x54e455(0xeb))/0x6)+-parseInt(_0x54e455(0xd4))/0x7*(-parseInt(_0x54e455(0xf1))/0x8)+-parseInt(_0x54e455(0xd7))/0x9+parseInt(_0x54e455(0xd9))/0xa*(parseInt(_0x54e455(0xdf))/0xb)+-parseInt(_0x54e455(0xd5))/0xc*(parseInt(_0x54e455(0x100))/0xd);if(_0xc43de4===_0x31fcb9)break;else _0x2f5829['push'](_0x2f5829['shift']());}catch(_0x2def4c){_0x2f5829['push'](_0x2f5829['shift']());}}}(_0x4141,0x6c5b4));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4e3bdf(0xfa),'failed':_0x4e3bdf(0xd8),'retrying':'MCP\x20Retrying...','unknown':_0x4e3bdf(0x104),'unauthorized':_0x4e3bdf(0xd2),'sessionOccupied':_0x4e3bdf(0xef),'networkError':_0x4e3bdf(0xda),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4e3bdf(0xfc)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4e3bdf(0xe0),'apiKey':_0x4e3bdf(0xf8),'apiKeyPlaceholder':_0x4e3bdf(0xee),'apiKeyHint':_0x4e3bdf(0xdb),'enableAuth':_0x4e3bdf(0xea),'enableAuthHint':_0x4e3bdf(0xec),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4e3bdf(0xf5),'configStepTitle':_0x4e3bdf(0xf7),'configStep1':_0x4e3bdf(0xf4),'configStep2':_0x4e3bdf(0xfb),'configStep3':_0x4e3bdf(0xd1),'sessionId':'Session\x20ID','sessionIdDescription':_0x4e3bdf(0xe6),'authorizationDescription':_0x4e3bdf(0xe7),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x4e3bdf(0xe9),'save':_0x4e3bdf(0xf3),'saving':_0x4e3bdf(0xfd),'note1':_0x4e3bdf(0xf9),'note2':_0x4e3bdf(0xe2),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4e3bdf(0xf0),'apiApplyInfo':{'title':_0x4e3bdf(0xde),'description':_0x4e3bdf(0x101),'univerAiLabel':_0x4e3bdf(0xe4),'getStarted':_0x4e3bdf(0xff)},'validation':{'apiKeyRequired':_0x4e3bdf(0xe3),'apiKeyTooShort':_0x4e3bdf(0xe5),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4e3bdf(0xe8)},'connectionStatus':{'disconnected':_0x4e3bdf(0xfe),'connecting':_0x4e3bdf(0xed),'connected':'Connected','failed':_0x4e3bdf(0x105),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x4e3bdf(0xd3),'sessionOccupied':_0x4e3bdf(0xf6),'networkError':_0x4e3bdf(0xf2),'maxRetriesExceeded':_0x4e3bdf(0x103)}}},n=e;export{n as default};function _0xb187(_0x92ddf5,_0x1e8d25){_0x92ddf5=_0x92ddf5-0xd1;const _0x41416c=_0x4141();let _0xb187c1=_0x41416c[_0x92ddf5];return _0xb187c1;}function _0x4141(){const _0x10a218=['5oZasQh','What\x20is\x20API\x20Key?','2587321jCtCvi','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','3KfVEJl','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required','Univer\x20AI\x20Console','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.','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Max\x20Retries','Enable\x20Authentication','1955982lMoqiF','Enable\x20authentication\x20for\x20secure\x20connections','Connecting...','Enter\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','Failed\x20to\x20save\x20configuration','123184LLIcSK','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Save\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','API\x20Key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20configure\x20MCP','Saving...','Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','5902BcOOtN','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','590878oXCvGK','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Unauthorized','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','133xgvFHx','28344ufWuwJ','1432972ZAZfma','5239386TyBXFO','MCP\x20Connection\x20Failed','10kglHIL','MCP:\x20Network\x20Error','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3AyomBl'];_0x4141=function(){return _0x10a218;};return _0x4141();}
1
+ const _0x40071a=_0x1424;(function(_0xe823b6,_0x1e8165){const _0xe9ee94=_0x1424,_0x2ed247=_0xe823b6();while(!![]){try{const _0x2bebfa=-parseInt(_0xe9ee94(0x121))/0x1+-parseInt(_0xe9ee94(0x148))/0x2*(-parseInt(_0xe9ee94(0x124))/0x3)+parseInt(_0xe9ee94(0x144))/0x4+-parseInt(_0xe9ee94(0x129))/0x5*(parseInt(_0xe9ee94(0x122))/0x6)+-parseInt(_0xe9ee94(0x13f))/0x7*(-parseInt(_0xe9ee94(0x13d))/0x8)+parseInt(_0xe9ee94(0x120))/0x9+parseInt(_0xe9ee94(0x147))/0xa*(-parseInt(_0xe9ee94(0x139))/0xb);if(_0x2bebfa===_0x1e8165)break;else _0x2ed247['push'](_0x2ed247['shift']());}catch(_0x875449){_0x2ed247['push'](_0x2ed247['shift']());}}}(_0x35dc,0x37b8f));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x40071a(0x14c),'failed':_0x40071a(0x12d),'retrying':'MCP\x20Retrying...','unknown':_0x40071a(0x140),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x40071a(0x130),'networkError':_0x40071a(0x11f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x40071a(0x138)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x40071a(0x127),'apiKey':_0x40071a(0x126),'apiKeyPlaceholder':_0x40071a(0x134),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x40071a(0x137),'enableAuthHint':_0x40071a(0x149),'connectionInfo':_0x40071a(0x128),'mcpClientConfig':_0x40071a(0x128),'configInstructions':_0x40071a(0x13c),'configStepTitle':_0x40071a(0x125),'configStep1':_0x40071a(0x146),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x40071a(0x131),'sessionId':_0x40071a(0x14a),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x40071a(0x145),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x40071a(0x142),'save':'Save\x20Configuration','saving':_0x40071a(0x12b),'note1':_0x40071a(0x143),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x40071a(0x14b),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x40071a(0x123),'univerAiLabel':_0x40071a(0x13a),'getStarted':_0x40071a(0x133)},'validation':{'apiKeyRequired':_0x40071a(0x136),'apiKeyTooShort':_0x40071a(0x13b),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x40071a(0x141)},'connectionStatus':{'disconnected':_0x40071a(0x12f),'connecting':_0x40071a(0x13e),'connected':_0x40071a(0x135),'failed':_0x40071a(0x12c),'retrying':_0x40071a(0x132)},'connectionError':{'unauthorized':_0x40071a(0x12a),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x40071a(0x12e),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x1424(_0x39c7e3,_0x234bc7){_0x39c7e3=_0x39c7e3-0x11f;const _0x35dcf=_0x35dc();let _0x14243c=_0x35dcf[_0x39c7e3];return _0x14243c;}export{n as default};function _0x35dc(){const _0x29f7ba=['Max\x20Retries','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','832276OLTAXW','API\x20key\x20with\x20Bearer\x20prefix.','Copy\x20the\x20JSON\x20configuration\x20below','18220zxjMvX','894134GufFsQ','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','Failed\x20to\x20save\x20configuration','MCP\x20Connected','MCP:\x20Network\x20Error','2720412oipdsq','80445fhPOAM','36dykgdg','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','3ADWbCA','Configuration\x20Steps:','API\x20Key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','24770eyQJwt','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Saving...','Connection\x20Failed','MCP\x20Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Disconnected','MCP:\x20Session\x20ID\x20Occupied','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','Enter\x20your\x20API\x20key','Connected','API\x20key\x20is\x20required','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','4939Tgwpqg','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','496kgfjfj','Connecting...','22477uCHOeM','MCP\x20Unknown\x20Status','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x35dc=function(){return _0x29f7ba;};return _0x35dc();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x19b6(){const _0x44344d=['Copy\x20the\x20JSON\x20configuration\x20below','MCPConnectionStatus','univer-text-sm\x20univer-font-medium','Saving...','MCP\x20Unknown\x20Status','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','connectionError$','children','几秒钟内获取您的\x20API\x20密钥','entries','带有\x20Bearer\x20前缀的\x20API\x20密钥。','react','配置步骤:','API\x20密钥不能为空','@univerjs/network','UniverUi','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','tag','UNAUTHORIZED','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcpConfig.authorizationDescription','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','__setCustomHeaders','text','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','show','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','mcpConfig.apiKeyPlaceholder','_validateConfig','includes','_injector','setConfig','Authorization:','univer-flex\x20univer-items-start\x20univer-gap-2','\x20-\x20','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','getItem','zhCN','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Univer\x20AI\x20Console','16sNyojA','on-line-icon','mcpConfig.apiApplyInfo.univerAiLabel','univer-text-red-500','DISCONNECTED','Disconnected','register','univer.plus','What\x20is\x20API\x20Key?','toStringTag','HEADER_MENU','xlink:href','get','object','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.saving','MCP\x20Connection\x20Failed','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','mcpStatus.maxRetriesExceeded','保存配置','fill','_componentManager','jsx','您的\x20API\x20密钥安全存储在本地存储中','<API_KEY>','span','mcpConfig.validation.apiKeyRequired','_initStatusComponent','univer-bg-gray-500','MCP:\x20网络错误','mcp.apiKey','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','CONNECTING','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','off-line-icon_clip0_910_343','svg','@univerjs/ui','enUS','useState','amd','MessageType','mcpConfig.note2','BuiltInUIPart','请输入您的\x20API\x20密钥','重启您的\x20MCP\x20客户端以使配置生效','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-text-blue-600','MCPConnectionController','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','subscribeConfigValue$','univer-space-y-2','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','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','<SESSION_ID>','mcpStatus.clickToConfigure','univer-text-sm\x20univer-text-gray-500','getConfig','Connecting...','div','OpenMCPConfigPanelCommand','_initAutoConnect','mcpConfig.configParameters','_commandService','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','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20已断开','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','MCPConfigUIController','round','_config$','mcpStatus.connecting','0\x200\x2016\x2016','validateApiKey','React','univer-flex\x20univer-gap-3','getCurrentConfig','_menuManagerService','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','MCP_UI_PLUGIN','MCP:\x20Session\x20ID\x20Occupied','NETWORK_ERROR','MCP\x20Disconnected','_registerComponent','Retrying...','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP\x20Connected','UniverMCPPlugin','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.connectionError.networkError','ISocketService','配置参数:','none','Success','idSuffix','会话ID','on-line-icon_clip0_910_349','mcpConfig.configStep2','MCP\x20Connecting...','univer_session_id:','BUTTON','univer-min-w-0\x20univer-flex-1','ILogService','_localeService','mcpConfig.configStep1','将以下配置添加到您的\x20MCP\x20客户端设置中:','172HvRbDl','mcpConfig.validation.invalidApiKey','button','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcpConfig.connectionError.unauthorized','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','_configService','配置更改将立即生效','mcp-ui.command.openConfigPanel','https://console.univer.plus','next','http://www.w3.org/2000/svg','UniverDesign','url(#on-line-icon_clip0_910_349)','M0\x200H16V16H0z','univer-bg-red-500','mcpConfig.connectionStatus.connected','连接失败','NONE','random','http','subscribe','UniverMCPUIPlugin','IConfigService','Click\x20to\x20configure\x20MCP','function','univerjs-icon\x20univerjs-icon-','Univer\x20AI\x20控制台','1489ZhutqB','univer-flex\x20univer-items-center','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','点击配置\x20MCP','mcpConfig.validation.apiKeyTooShort','_handleConfigure','close','Connected','mcpConfig.connectionStatus.failed','ICommandService','MCP:\x20Network\x20Error','API\x20密钥无效,请检查密钥是否正确','https://console.univer.ai','mcpConfig.configSaved','MCP\x20Client\x20Configuration','Configuration\x20Notes:','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.connectionError.maxRetriesExceeded','_mcpConnectionController','LocaleService','配置无效','MCPConnectionUIController','univer-text-gray-500','error','Max\x20Retries','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-size-2\x20univer-rounded-full','已连接','1162134jsKeCK','jsxs','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','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','_loadStoredApiKey','current','showDeveloperTools','push','forwardRef','isValid','MAX_RETRIES_EXCEEDED','univer-text-xs\x20univer-text-gray-600','845190yJTCrk','_mcpCoreConfig$','MCPConfigPanel','univer-bg-blue-500','forEach','mcpConfig.save','univer-text-green-500','API\x20密钥','UniverProMcpUi','OnLineIcon','defs','重连中...','IMessageService','length','API\x20密钥长度至少需要\x2010\x20位','UniverIcon','_initializeMenus','path','WebSocketService','HelpIcon','_apiKey$','Bearer\x20','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','IDialogService','UniverProMcp','off','RibbonStartGroup','useObservable','MCP\x20状态未知','1em','_initConfigSync','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','Error','API\x20Key','将配置添加到您的\x20MCP\x20客户端设置文件中','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP_PLUGIN_CONFIG_KEY','_connectionController','useCallback','univer.ai','COMMAND','MCP\x20重连中...','Injector','@univerjs/design','Enable\x20Authentication','API\x20key\x20is\x20required','mcpStatus.retrying','点击连接\x20MCP','map','Module','disposeWithMe','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','check-mark-icon','url(#$1','11977pzYDIa','getOwnPropertyDescriptor','MenuItemType','Configuration\x20saved\x20successfully','defineProperty','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.connectionStatus.retrying','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','showConfigPanel','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','url(#off-line-icon_clip0_910_343)','clipPath','Get\x20your\x20API\x20key\x20in\x20seconds','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCP\x20配置','univer-bg-green-500','mcpConfig.apiApplyInfo.title','Enable\x20authentication\x20for\x20secure\x20connections','mcpStatus.unauthorized','univer-text-xs\x20univer-text-gray-500','mcpConfig.configStepTitle','@univerjs/core','_messageService','mcpStatus.disconnected','4DxPMXx','_handleConfigSave','MCP:\x20未授权','1574379IESSSR','apiKey','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','权限验证失败,请检查您的\x20API\x20密钥','MenuIcon','https://mcp.univer.ai/mcp/?univer_session_id=','mcpConfig.description','createElement','mcpConfig.configInstructions','CONNECTED','ILocalStorageService','toString','MCP:\x20超出最大重试次数','clsx','Invalid\x20configuration','连接中...','pre','网络连接错误,请检查您的网络连接','启用身份验证以获得安全连接','white','add','mcpStatus.sessionOccupied','errorMessage','MCPUIMenuController','_uiPartsService','IUIPartsService','trim','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpConfig.apiApplyInfo.description','_loading$','MCP\x20连接中...','defIds','mask','mcpServerUrl','connectInjector','mcpConfig.configError','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','string','复制以下\x20JSON\x20配置','_logService','mcpStatus.networkError','MCP:\x20会话\x20ID\x20已被占用','Disposable','_config','warn','Inject','保存中...','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','OTHERS','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','CheckMarkIcon','Failed\x20to\x20save\x20configuration','merge','useDependency','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-space-y-5','mcp-ui.config','Enter\x20your\x20API\x20key','CommandType','mcpConfig.connectionStatus.connecting','Plugin','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','rxjs','displayName','RETRYING','_localStorageService','univer-space-y-3','MCP\x20客户端配置','配置保存成功','setItem','univer-space-y-4','Connection\x20Failed','close-icon','MCPConnectionError','registerCommand','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-size-4','BehaviorSubject','_dialogService','replace','currentColor','mcpConfig.connectionInfo','mcpConfig.connectionStatus.disconnected','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','mcpConfig.validation.invalidConfig','FAILED','509885HuNSUS','symbol','213036FvvJCM','off-line-icon','0\x200\x2017\x2016','OffLineIcon','univer-text-white','assign','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','translate(.97)','CloseIcon','UniverCore','IMenuManagerService','univer-flex\x20univer-items-center\x20univer-gap-2','attrs','mcp-config-dialog','MCPStatusDisplay','colorChannel1','value','evenodd','_initializeCommands','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','DependentOn','connectionStatus$','mcpConfig.title'];_0x19b6=function(){return _0x44344d;};return _0x19b6();}function _0x4225(_0x257bb9,_0x3a52db){_0x257bb9=_0x257bb9-0x1f3;const _0x19b6e9=_0x19b6();let _0x4225e9=_0x19b6e9[_0x257bb9];return _0x4225e9;}(function(_0x3cc414,_0x107a6f){const _0x5b2dff=_0x4225,_0x1ade5b=_0x3cc414();while(!![]){try{const _0x4d6f6a=parseInt(_0x5b2dff(0x2bd))/0x1*(-parseInt(_0x5b2dff(0x2a1))/0x2)+-parseInt(_0x5b2dff(0x1f6))/0x3+-parseInt(_0x5b2dff(0x334))/0x4*(parseInt(_0x5b2dff(0x1f4))/0x5)+parseInt(_0x5b2dff(0x2da))/0x6+parseInt(_0x5b2dff(0x31c))/0x7*(-parseInt(_0x5b2dff(0x237))/0x8)+parseInt(_0x5b2dff(0x337))/0x9+parseInt(_0x5b2dff(0x2e6))/0xa;if(_0x4d6f6a===_0x107a6f)break;else _0x1ade5b['push'](_0x1ade5b['shift']());}catch(_0x35cd14){_0x1ade5b['push'](_0x1ade5b['shift']());}}}(_0x19b6,0x244c2),function(_0x534a00,_0x151afb){const _0x2a942a=_0x4225;typeof exports==_0x2a942a(0x244)&&typeof module<'u'?_0x151afb(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==_0x2a942a(0x2ba)&&define[_0x2a942a(0x25f)]?define(['exports',_0x2a942a(0x331),'react/jsx-runtime','@univerjs-pro/mcp',_0x2a942a(0x311),_0x2a942a(0x25c),'rxjs',_0x2a942a(0x219),_0x2a942a(0x21c)],_0x151afb):(_0x534a00=typeof globalThis<'u'?globalThis:_0x534a00||self,_0x151afb(_0x534a00[_0x2a942a(0x2ee)]={},_0x534a00[_0x2a942a(0x1ff)],_0x534a00[_0x2a942a(0x281)],_0x534a00[_0x2a942a(0x2fe)],_0x534a00[_0x2a942a(0x2ad)],_0x534a00[_0x2a942a(0x21d)],_0x534a00[_0x2a942a(0x375)],_0x534a00[_0x2a942a(0x281)],_0x534a00['UniverNetwork']));}(this,function(_0x67ef9d,_0xbe6e84,_0x2b10e3,_0x35da5b,_0x4d3ef2,_0x591869,_0x4fbf24,_0x41e175,_0x5b409e){'use strict';const _0x53cc29=_0x4225;var _0x2cb5e5=Object[_0x53cc29(0x320)],_0x5c66e2=(_0xce0a1b,_0x1e23f8,_0x11e28e)=>_0x1e23f8 in _0xce0a1b?_0x2cb5e5(_0xce0a1b,_0x1e23f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11e28e}):_0xce0a1b[_0x1e23f8]=_0x11e28e,_0x1b621a=(_0x2646fb,_0x14b408,_0x4fb727)=>_0x5c66e2(_0x2646fb,typeof _0x14b408!=_0x53cc29(0x1f5)?_0x14b408+'':_0x14b408,_0x4fb727);function _0x43097f({ref:_0x1a349a,..._0x4a4801}){const _0x53efca=_0x53cc29,{icon:_0x573a95,id:_0x127c35,className:_0x49e902,extend:_0x4c8100,..._0x3b2e30}=_0x4a4801,_0x534166=(_0x53efca(0x2bb)+_0x127c35+'\x20'+(_0x49e902||''))['trim'](),_0x7070fd=_0x41e175['useRef']('_'+_0x250b38());return _0x4d0594(_0x573a95,''+_0x127c35,{'defIds':_0x573a95[_0x53efca(0x356)],'idSuffix':_0x7070fd[_0x53efca(0x2df)]},{'ref':_0x1a349a,'className':_0x534166,..._0x3b2e30},_0x4c8100);}function _0x4d0594(_0x209f6a,_0x412749,_0x44d809,_0x11550d,_0xa51a4a){const _0x36572d=_0x53cc29;return _0x41e175[_0x36572d(0x33e)](_0x209f6a[_0x36572d(0x21f)],{'key':_0x412749,..._0x2ba666(_0x209f6a,_0x44d809,_0xa51a4a),..._0x11550d},(_0x1a13e6(_0x209f6a,_0x44d809)[_0x36572d(0x215)]||[])[_0x36572d(0x316)]((_0x2bbe17,_0x1f4e7e)=>_0x4d0594(_0x2bbe17,_0x412749+'-'+_0x209f6a[_0x36572d(0x21f)]+'-'+_0x1f4e7e,_0x44d809,void 0x0,_0xa51a4a)));}function _0x2ba666(_0x217efc,_0x135383,_0x1085ea){const _0x613247=_0x53cc29,_0x3ba711={..._0x217efc['attrs']};_0x1085ea!=null&&_0x1085ea[_0x613247(0x205)]&&_0x3ba711[_0x613247(0x24b)]===_0x613247(0x205)&&(_0x3ba711[_0x613247(0x24b)]=_0x1085ea[_0x613247(0x205)]),_0x217efc['tag']===_0x613247(0x357)&&_0x3ba711['id']&&(_0x3ba711['id']=_0x3ba711['id']+_0x135383[_0x613247(0x295)]),Object['entries'](_0x3ba711)['forEach'](([_0x3f658a,_0x20de72])=>{const _0x2106bb=_0x613247;_0x3f658a===_0x2106bb(0x357)&&typeof _0x20de72==_0x2106bb(0x35c)&&(_0x3ba711[_0x3f658a]=_0x20de72[_0x2106bb(0x386)](/url\(#(.*)\)/,_0x2106bb(0x31b)+_0x135383[_0x2106bb(0x295)]+')'));});const {defIds:_0x2e126c}=_0x135383;return!_0x2e126c||_0x2e126c[_0x613247(0x2f3)]===0x0||(_0x217efc['tag']==='use'&&_0x3ba711[_0x613247(0x242)]&&(_0x3ba711[_0x613247(0x242)]=_0x3ba711['xlink:href']+_0x135383[_0x613247(0x295)]),Object[_0x613247(0x217)](_0x3ba711)['forEach'](([_0x42c261,_0x2ac930])=>{const _0x26a8f1=_0x613247;typeof _0x2ac930==_0x26a8f1(0x35c)&&(_0x3ba711[_0x42c261]=_0x2ac930['replace'](/url\(#(.*)\)/,_0x26a8f1(0x31b)+_0x135383['idSuffix']+')'));})),_0x3ba711;}function _0x1a13e6(_0x4a12a0,_0x410f21){const _0x3e2812=_0x53cc29;var _0x3d7566;const {defIds:_0xb03fa8}=_0x410f21;return!_0xb03fa8||_0xb03fa8['length']===0x0?_0x4a12a0:_0x4a12a0[_0x3e2812(0x21f)]===_0x3e2812(0x2f0)&&((_0x3d7566=_0x4a12a0[_0x3e2812(0x215)])!=null&&_0x3d7566[_0x3e2812(0x2f3)])?{..._0x4a12a0,'children':_0x4a12a0[_0x3e2812(0x215)][_0x3e2812(0x316)](_0x2971dc=>typeof _0x2971dc[_0x3e2812(0x202)]['id']=='string'&&_0xb03fa8&&_0xb03fa8[_0x3e2812(0x22c)](_0x2971dc[_0x3e2812(0x202)]['id'])?{..._0x2971dc,'attrs':{..._0x2971dc['attrs'],'id':_0x2971dc[_0x3e2812(0x202)]['id']+_0x410f21[_0x3e2812(0x295)]}}:_0x2971dc)}:_0x4a12a0;}function _0x250b38(){const _0x222ab8=_0x53cc29;return Math[_0x222ab8(0x2b4)]()[_0x222ab8(0x342)](0x24)['substring'](0x2,0x8);}_0x43097f[_0x53cc29(0x376)]=_0x53cc29(0x2f5);const _0x2ff2b5={'tag':_0x53cc29(0x25b),'attrs':{'xmlns':_0x53cc29(0x2ac),'fill':_0x53cc29(0x293),'viewBox':'0\x200\x2016\x2016','width':_0x53cc29(0x303),'height':_0x53cc29(0x303)},'children':[{'tag':_0x53cc29(0x2f7),'attrs':{'fill':'currentColor','d':_0x53cc29(0x2a6),'fillRule':_0x53cc29(0x207),'clipRule':_0x53cc29(0x207)}}]},_0x44cd99=_0x41e175['forwardRef'](function(_0xb30e7d,_0x88da44){const _0x2088db=_0x53cc29;return _0x41e175[_0x2088db(0x33e)](_0x43097f,Object[_0x2088db(0x1fb)]({},_0xb30e7d,{'id':_0x2088db(0x31a),'ref':_0x88da44,'icon':_0x2ff2b5}));});_0x44cd99['displayName']=_0x53cc29(0x369);const _0x3dd4f1={'tag':'svg','attrs':{'xmlns':_0x53cc29(0x2ac),'fill':_0x53cc29(0x293),'viewBox':_0x53cc29(0x27f),'width':_0x53cc29(0x303),'height':_0x53cc29(0x303)},'children':[{'tag':_0x53cc29(0x2f7),'attrs':{'fill':_0x53cc29(0x387),'d':_0x53cc29(0x285)}}]},_0x268c45=_0x41e175[_0x53cc29(0x2e2)](function(_0x285119,_0x5f4f64){const _0x90ef3d=_0x53cc29;return _0x41e175['createElement'](_0x43097f,Object[_0x90ef3d(0x1fb)]({},_0x285119,{'id':_0x90ef3d(0x37f),'ref':_0x5f4f64,'icon':_0x3dd4f1}));});_0x268c45[_0x53cc29(0x376)]=_0x53cc29(0x1fe);const _0x19a098={'tag':_0x53cc29(0x25b),'attrs':{'xmlns':_0x53cc29(0x2ac),'fill':_0x53cc29(0x293),'viewBox':'0\x200\x2016\x2016','width':_0x53cc29(0x303),'height':_0x53cc29(0x303)},'children':[{'tag':'path','attrs':{'fill':_0x53cc29(0x387),'d':_0x53cc29(0x2bf)}},{'tag':_0x53cc29(0x2f7),'attrs':{'fill':'currentColor','d':_0x53cc29(0x268)}},{'tag':_0x53cc29(0x2f7),'attrs':{'fill':_0x53cc29(0x387),'d':'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','fillRule':_0x53cc29(0x207),'clipRule':_0x53cc29(0x207)}}]},_0x489b6f=_0x41e175['forwardRef'](function(_0x1bd24f,_0x34cc35){const _0x21eeb6=_0x53cc29;return _0x41e175[_0x21eeb6(0x33e)](_0x43097f,Object[_0x21eeb6(0x1fb)]({},_0x1bd24f,{'id':'help-icon','ref':_0x34cc35,'icon':_0x19a098}));});_0x489b6f[_0x53cc29(0x376)]=_0x53cc29(0x2f9);const _0x2142c6={'tag':_0x53cc29(0x25b),'attrs':{'xmlns':_0x53cc29(0x2ac),'fill':_0x53cc29(0x293),'viewBox':_0x53cc29(0x27f),'width':_0x53cc29(0x303),'height':_0x53cc29(0x303)},'children':[{'tag':'g','attrs':{'clipPath':_0x53cc29(0x326)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x53cc29(0x2dd),'strokeLinecap':_0x53cc29(0x27c),'strokeLinejoin':_0x53cc29(0x27c),'strokeWidth':1.2}}]},{'tag':_0x53cc29(0x2f0),'attrs':{},'children':[{'tag':_0x53cc29(0x327),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x53cc29(0x34a),'d':_0x53cc29(0x2af)}}]}]}],'defIds':[_0x53cc29(0x25a)]},_0x38d035=_0x41e175['forwardRef'](function(_0x3bd82c,_0x326a5a){const _0x16a648=_0x53cc29;return _0x41e175[_0x16a648(0x33e)](_0x43097f,Object['assign']({},_0x3bd82c,{'id':_0x16a648(0x1f7),'ref':_0x326a5a,'icon':_0x2142c6}));});_0x38d035[_0x53cc29(0x376)]=_0x53cc29(0x1f9);const _0x53545f={'tag':_0x53cc29(0x25b),'attrs':{'xmlns':_0x53cc29(0x2ac),'fill':_0x53cc29(0x293),'viewBox':_0x53cc29(0x1f8),'width':_0x53cc29(0x303),'height':_0x53cc29(0x303)},'children':[{'tag':'g','attrs':{'clipPath':_0x53cc29(0x2ae)},'children':[{'tag':_0x53cc29(0x2f7),'attrs':{'stroke':_0x53cc29(0x387),'d':_0x53cc29(0x248),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x53cc29(0x2f0),'attrs':{},'children':[{'tag':_0x53cc29(0x327),'attrs':{'id':_0x53cc29(0x297)},'children':[{'tag':_0x53cc29(0x2f7),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x53cc29(0x1fd)}}]}]}],'defIds':[_0x53cc29(0x297)]},_0x23f009=_0x41e175[_0x53cc29(0x2e2)](function(_0x1c54ca,_0x2fe474){const _0x4d9096=_0x53cc29;return _0x41e175[_0x4d9096(0x33e)](_0x43097f,Object['assign']({},_0x1c54ca,{'id':_0x4d9096(0x238),'ref':_0x2fe474,'icon':_0x53545f}));});_0x23f009[_0x53cc29(0x376)]=_0x53cc29(0x2ef);function _0x402b85(_0x589969){const _0x1e5b9f=_0x53cc29;var _0xcc17ec,_0x22a769;const {mcpCoreConfig:_0x2ab3ec,onSave:_0x2eec6e,loading:_0x5a2ec5=!0x1,config:_0x2c26d3,connectionStatus$:_0xef2ead,connectionError$:_0x1d23db,currentApiKey$:_0xf56d4d,currentSessionId$:_0x38cae2}=_0x589969,_0x420cde=_0x591869[_0x1e5b9f(0x36c)](_0xbe6e84['LocaleService']),_0x23ea5a=_0x591869[_0x1e5b9f(0x301)](_0xef2ead,_0x35da5b[_0x1e5b9f(0x20f)][_0x1e5b9f(0x23b)]),_0x5bd104=_0x591869[_0x1e5b9f(0x301)](_0x1d23db,_0x35da5b[_0x1e5b9f(0x380)][_0x1e5b9f(0x2b3)]),_0x3e60ae=_0x591869['useObservable'](_0x38cae2,''),_0xf1cb72=_0x591869['useObservable'](_0xf56d4d,''),[_0x30d5c6,_0x5a0d47]=_0x41e175[_0x1e5b9f(0x25e)](_0xf1cb72||''),_0x5b84fe=!0x0,_0x17ee2e=_0x2c26d3[_0x1e5b9f(0x2e0)]&&_0x2ab3ec['mcpServerUrl']&&(_0x2ab3ec['mcpServerUrl'][_0x1e5b9f(0x22c)](_0x1e5b9f(0x23e))||_0x2ab3ec[_0x1e5b9f(0x358)][_0x1e5b9f(0x22c)]('univer.ai')),_0x8bfff6=(_0xcc17ec=_0x2ab3ec['mcpServerUrl'])==null?void 0x0:_0xcc17ec['includes'](_0x1e5b9f(0x23e)),_0xb2f312=(_0x22a769=_0x2ab3ec[_0x1e5b9f(0x358)])==null?void 0x0:_0x22a769['includes'](_0x1e5b9f(0x30d)),_0x43671d=_0x8bfff6?_0x1e5b9f(0x2aa):_0x1e5b9f(0x2c9),_0x53539b=_0x2c26d3[_0x1e5b9f(0x2e0)]&&(_0x8bfff6||_0xb2f312),[_0x47cf81,_0x1cdcc7]=_0x41e175[_0x1e5b9f(0x25e)](!_0x30d5c6['trim']()),_0x290f6e=(_0x4bcb07,_0x35e1aa)=>{const _0x17880f=_0x1e5b9f;if(_0x35e1aa===_0x35da5b[_0x17880f(0x380)][_0x17880f(0x220)])return _0x17880f(0x221);switch(_0x4bcb07){case _0x35da5b['MCPConnectionStatus']['CONNECTED']:return _0x17880f(0x213);case _0x35da5b[_0x17880f(0x20f)][_0x17880f(0x257)]:case _0x35da5b[_0x17880f(0x20f)][_0x17880f(0x377)]:return _0x17880f(0x319);case _0x35da5b[_0x17880f(0x20f)][_0x17880f(0x1f3)]:return _0x17880f(0x221);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x3dc3d4=(_0x4416e1,_0x274f61)=>{const _0x30ac09=_0x1e5b9f;if(_0x274f61===_0x35da5b[_0x30ac09(0x380)][_0x30ac09(0x220)])return'univer-bg-red-500';switch(_0x4416e1){case _0x35da5b[_0x30ac09(0x20f)][_0x30ac09(0x340)]:return _0x30ac09(0x32b);case _0x35da5b[_0x30ac09(0x20f)][_0x30ac09(0x257)]:case _0x35da5b['MCPConnectionStatus']['RETRYING']:return _0x30ac09(0x2e9);case _0x35da5b['MCPConnectionStatus'][_0x30ac09(0x1f3)]:return _0x30ac09(0x2b0);default:return _0x30ac09(0x253);}},_0x5279a3=_0x426831=>{const _0x466f05=_0x1e5b9f;switch(_0x426831){case _0x35da5b[_0x466f05(0x20f)][_0x466f05(0x340)]:return _0x420cde['t'](_0x466f05(0x2b1));case _0x35da5b[_0x466f05(0x20f)][_0x466f05(0x257)]:return _0x420cde['t'](_0x466f05(0x372));case _0x35da5b[_0x466f05(0x20f)][_0x466f05(0x1f3)]:return _0x420cde['t'](_0x466f05(0x2c5));case _0x35da5b[_0x466f05(0x20f)][_0x466f05(0x377)]:return _0x420cde['t'](_0x466f05(0x322));default:return _0x420cde['t'](_0x466f05(0x389));}},_0x15072a=_0x50f856=>{const _0x2cedd4=_0x1e5b9f;switch(_0x50f856){case _0x35da5b['MCPConnectionError']['UNAUTHORIZED']:return _0x420cde['t'](_0x2cedd4(0x2a5));case _0x35da5b['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x420cde['t']('mcpConfig.connectionError.sessionOccupied');case _0x35da5b['MCPConnectionError'][_0x2cedd4(0x288)]:return _0x420cde['t'](_0x2cedd4(0x290));case _0x35da5b[_0x2cedd4(0x380)][_0x2cedd4(0x2e4)]:return _0x420cde['t'](_0x2cedd4(0x2ce));default:return'';}},_0x1384fa=_0x41e175[_0x1e5b9f(0x30c)](()=>{const _0x27a6d5={..._0x2ab3ec,'apiKey':_0x30d5c6['trim'](),'enableAuth':_0x5b84fe};_0x2eec6e(_0x27a6d5);},[_0x2ab3ec,_0x30d5c6,_0x5b84fe,_0x2eec6e]),_0x42d804=_0x30d5c6['trim']()['length']>0x0;return _0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x245),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x2dc),'children':_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x256),'children':_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x250),{'className':_0x1e5b9f(0x1fa),'children':'⚙'})}),_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'children':_0x2b10e3[_0x1e5b9f(0x24d)]('p',{'className':_0x1e5b9f(0x26f),'children':_0x420cde['t'](_0x1e5b9f(0x33d))})})]})}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x2b10e3['jsx'](_0x1e5b9f(0x272),{'className':_0x4d3ef2[_0x1e5b9f(0x344)](_0x1e5b9f(0x27a),_0x290f6e(_0x23ea5a,_0x5bd104)),'children':_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x201),'children':[_0x2b10e3[_0x1e5b9f(0x24d)]('div',{'className':_0x4d3ef2[_0x1e5b9f(0x344)](_0x1e5b9f(0x2d8),_0x3dc3d4(_0x23ea5a,_0x5bd104))}),_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x250),{'className':_0x1e5b9f(0x210),'children':_0x5279a3(_0x23ea5a)})]})}),_0x5bd104!==_0x35da5b['MCPConnectionError'][_0x1e5b9f(0x2b3)]&&(_0x23ea5a===_0x35da5b['MCPConnectionStatus'][_0x1e5b9f(0x1f3)]||_0x5bd104===_0x35da5b['MCPConnectionError'][_0x1e5b9f(0x220)])&&_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x1fc),'children':_0x2b10e3[_0x1e5b9f(0x2db)]('div',{'className':_0x1e5b9f(0x230),'children':[_0x2b10e3[_0x1e5b9f(0x24d)]('span',{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x2b10e3[_0x1e5b9f(0x24d)]('p',{'className':_0x1e5b9f(0x28f),'children':_0x15072a(_0x5bd104)})]})})]}),_0x2b10e3['jsx'](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x258),'children':_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x36e),'children':[_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x26a),'children':[_0x2b10e3[_0x1e5b9f(0x2db)]('label',{'className':_0x1e5b9f(0x305),'children':[_0x2b10e3['jsx']('span',{'children':'🔑'}),'\x20',_0x420cde['t']('mcpConfig.apiKey'),_0x2b10e3[_0x1e5b9f(0x24d)]('span',{'className':_0x1e5b9f(0x23a),'children':'*'}),_0x17ee2e&&_0x2b10e3[_0x1e5b9f(0x24d)]('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x420cde['t'](_0x1e5b9f(0x32c)),'role':_0x1e5b9f(0x2a3),'onClick':()=>_0x1cdcc7(!0x0),'children':_0x2b10e3[_0x1e5b9f(0x24d)](_0x489b6f,{})})]}),_0x2b10e3['jsx'](_0x4d3ef2['Input'],{'type':_0x1e5b9f(0x225),'placeholder':_0x420cde['t'](_0x1e5b9f(0x22a)),'value':_0x30d5c6,'disabled':_0x5a2ec5,'autoComplete':_0x1e5b9f(0x2ff),'onChange':_0x5a0d47}),_0x2b10e3[_0x1e5b9f(0x24d)]('p',{'className':_0x1e5b9f(0x32f),'children':_0x420cde['t']('mcpConfig.apiKeyHint')})]}),_0x17ee2e&&_0x47cf81&&_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x26c),'children':[_0x2b10e3[_0x1e5b9f(0x24d)]('a',{'className':_0x1e5b9f(0x277),'role':_0x1e5b9f(0x2a3),'onClick':()=>_0x1cdcc7(!0x1),'children':_0x2b10e3[_0x1e5b9f(0x24d)](_0x268c45,{'className':_0x1e5b9f(0x383)})}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x35b),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x226),'children':_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x250),{'className':_0x1e5b9f(0x266),'children':'🚀'})}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':'univer-flex-1','children':[_0x2b10e3[_0x1e5b9f(0x24d)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x420cde['t'](_0x1e5b9f(0x32c))}),_0x2b10e3[_0x1e5b9f(0x24d)]('p',{'className':_0x1e5b9f(0x368),'children':_0x420cde['t'](_0x1e5b9f(0x353))}),_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x329),'children':_0x53539b&&_0x2b10e3[_0x1e5b9f(0x2db)]('a',{'className':_0x1e5b9f(0x38b),'href':_0x43671d,'target':'_blank','rel':'noopener\x20noreferrer','children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x250),{'children':'🤖'}),_0x420cde['t'](_0x1e5b9f(0x239)),_0x2b10e3['jsx']('span',{'className':'univer-text-gray-400','children':'↗'})]})}),_0x2b10e3[_0x1e5b9f(0x2db)]('div',{'className':_0x1e5b9f(0x323),'children':['✨','\x20',_0x420cde['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2c26d3[_0x1e5b9f(0x2e0)]&&_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x2fc),'children':[_0x2b10e3[_0x1e5b9f(0x2db)]('h4',{'className':_0x1e5b9f(0x20a),'children':[_0x2b10e3[_0x1e5b9f(0x24d)]('span',{'children':'🔗'}),'\x20',_0x420cde['t'](_0x1e5b9f(0x388))]}),_0x2b10e3[_0x1e5b9f(0x2db)]('div',{'className':_0x1e5b9f(0x37d),'children':[_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':'univer-space-y-3','children':[_0x2b10e3[_0x1e5b9f(0x24d)]('p',{'className':_0x1e5b9f(0x2e5),'children':_0x420cde['t'](_0x1e5b9f(0x33f))}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x26a),'children':[_0x2b10e3[_0x1e5b9f(0x24d)]('div',{'className':_0x1e5b9f(0x339),'children':_0x420cde['t'](_0x1e5b9f(0x330))}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x2b10e3[_0x1e5b9f(0x2db)]('div',{'className':_0x1e5b9f(0x201),'children':[_0x2b10e3['jsx'](_0x1e5b9f(0x250),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x420cde['t'](_0x1e5b9f(0x29f))]}),_0x2b10e3[_0x1e5b9f(0x2db)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2b10e3['jsx'](_0x1e5b9f(0x250),{'className':_0x1e5b9f(0x366),'children':'2'}),_0x420cde['t'](_0x1e5b9f(0x298))]}),_0x2b10e3['jsxs'](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x201),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x250),{'className':_0x1e5b9f(0x366),'children':'3'}),_0x420cde['t']('mcpConfig.configStep3')]})]})]})]}),_0x2b10e3['jsxs'](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x26a),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x339),'children':_0x1e5b9f(0x229)}),_0x2b10e3['jsx'](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x28c),'children':_0x2b10e3['jsx'](_0x1e5b9f(0x347),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x1e5b9f(0x33c)+(_0x3e60ae||_0x1e5b9f(0x26d)),'type':_0x1e5b9f(0x2b5),'headers':{'Authorization':_0x1e5b9f(0x2fb)+(_0x30d5c6||_0x1e5b9f(0x24f))}}}},null,0x2)})})]}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x379),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x339),'children':_0x420cde['t'](_0x1e5b9f(0x275))}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x26a),'children':[_0x2b10e3['jsxs'](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x2cd),'children':[_0x2b10e3[_0x1e5b9f(0x24d)]('div',{'className':_0x1e5b9f(0x232)}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x29c),'children':[_0x2b10e3[_0x1e5b9f(0x24d)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1e5b9f(0x29a)}),_0x2b10e3[_0x1e5b9f(0x24d)]('div',{'className':_0x1e5b9f(0x32f),'children':_0x420cde['t']('mcpConfig.sessionIdDescription')})]})]}),_0x2b10e3[_0x1e5b9f(0x2db)]('div',{'className':_0x1e5b9f(0x2cd),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x29c),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x38a),'children':_0x1e5b9f(0x22f)}),_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x32f),'children':_0x420cde['t'](_0x1e5b9f(0x222))})]})]})]})]})]})]}),_0x2b10e3[_0x1e5b9f(0x24d)](_0x4d3ef2['Button'],{'onClick':_0x1384fa,'disabled':!_0x42d804||_0x5a2ec5,'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':_0x5a2ec5?_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x250),{'className':_0x1e5b9f(0x201),'children':[_0x2b10e3[_0x1e5b9f(0x24d)]('span',{'children':'⟲'}),_0x420cde['t'](_0x1e5b9f(0x246))]}):_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x250),{'className':_0x1e5b9f(0x201),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x44cd99,{}),_0x420cde['t'](_0x1e5b9f(0x2eb))]})}),_0x2b10e3['jsx'](_0x1e5b9f(0x272),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'className':_0x1e5b9f(0x282),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x250),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x2b10e3[_0x1e5b9f(0x2db)]('div',{'className':_0x1e5b9f(0x209),'children':[_0x2b10e3[_0x1e5b9f(0x24d)](_0x1e5b9f(0x272),{'className':'univer-font-medium','children':_0x1e5b9f(0x2cc)}),_0x2b10e3[_0x1e5b9f(0x2db)](_0x1e5b9f(0x272),{'children':['•',_0x420cde['t']('mcpConfig.note1')]}),_0x2b10e3[_0x1e5b9f(0x2db)]('div',{'children':['•',_0x420cde['t'](_0x1e5b9f(0x261))]})]})]})})]})})]});}const _0x328837=_0x53cc29(0x36f),_0x13ed34={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x377241=Object[_0x53cc29(0x31d)],_0x293865=(_0x45620b,_0x1f802c,_0x4d1fc7,_0x22dadf)=>{const _0x33e2a0=_0x53cc29;for(var _0x337d74=_0x22dadf>0x1?void 0x0:_0x22dadf?_0x377241(_0x1f802c,_0x4d1fc7):_0x1f802c,_0x2cdf19=_0x45620b[_0x33e2a0(0x2f3)]-0x1,_0x5253a0;_0x2cdf19>=0x0;_0x2cdf19--)(_0x5253a0=_0x45620b[_0x2cdf19])&&(_0x337d74=_0x5253a0(_0x337d74)||_0x337d74);return _0x337d74;},_0x37f766=(_0x27e2bc,_0x431d9e)=>(_0x5d799b,_0x5a07c8)=>_0x431d9e(_0x5d799b,_0x5a07c8,_0x27e2bc);const _0x4d85db=_0x53cc29(0x255),_0x255f54=_0x53cc29(0x203);_0x67ef9d[_0x53cc29(0x27b)]=class extends _0xbe6e84[_0x53cc29(0x361)]{constructor(_0x5ed863,_0x230dfc,_0x1ae719,_0x4b42a2,_0x336b29,_0x32fa66,_0x2cb707,_0x4f16e9,_0x39a1ac,_0x57ed8c){const _0x4b6b98=_0x53cc29;super(),_0x1b621a(this,_0x4b6b98(0x354),new _0x4fbf24[(_0x4b6b98(0x384))](!0x1)),_0x1b621a(this,_0x4b6b98(0x2e7),new _0x4fbf24[(_0x4b6b98(0x384))]({})),_0x1b621a(this,_0x4b6b98(0x27d),new _0x4fbf24[(_0x4b6b98(0x384))]({})),_0x1b621a(this,_0x4b6b98(0x2fa),new _0x4fbf24[(_0x4b6b98(0x384))]('')),_0x1b621a(this,_0x4b6b98(0x335),async _0x4b4807=>{const _0x4cff24=_0x4b6b98;var _0x2a07df,_0x4c7db9;this[_0x4cff24(0x354)][_0x4cff24(0x2ab)](!0x0);try{const _0x2958c8=await this[_0x4cff24(0x22b)](_0x4b4807);if(!_0x2958c8['isValid']){this[_0x4cff24(0x332)]['show']({'type':_0x4d3ef2[_0x4cff24(0x260)][_0x4cff24(0x306)],'content':_0x2958c8[_0x4cff24(0x34d)]||this[_0x4cff24(0x29e)]['t'](_0x4cff24(0x38c))});return;}_0x4b4807['apiKey']?await this[_0x4cff24(0x378)][_0x4cff24(0x37c)](_0x4d85db,_0x4b4807[_0x4cff24(0x338)][_0x4cff24(0x351)]()):await this[_0x4cff24(0x378)]['removeItem'](_0x4d85db),this[_0x4cff24(0x2fa)][_0x4cff24(0x2ab)](((_0x2a07df=_0x4b4807[_0x4cff24(0x338)])==null?void 0x0:_0x2a07df['trim']())||''),this[_0x4cff24(0x2cf)][_0x4cff24(0x224)]({'Authorization':'Bearer\x20'+((_0x4c7db9=_0x4b4807['apiKey'])==null?void 0x0:_0x4c7db9[_0x4cff24(0x351)]())}),this[_0x4cff24(0x332)][_0x4cff24(0x227)]({'type':_0x4d3ef2[_0x4cff24(0x260)][_0x4cff24(0x294)],'content':this[_0x4cff24(0x29e)]['t'](_0x4cff24(0x2ca))}),setTimeout(()=>{const _0x270a96=_0x4cff24;this['_dialogService'][_0x270a96(0x2c3)](_0x255f54);},0x320);}catch(_0x4cdc89){this[_0x4cff24(0x35e)][_0x4cff24(0x2d4)](_0x4cff24(0x223),_0x4cdc89),this[_0x4cff24(0x332)][_0x4cff24(0x227)]({'type':_0x4d3ef2[_0x4cff24(0x260)][_0x4cff24(0x306)],'content':this[_0x4cff24(0x29e)]['t'](_0x4cff24(0x35a))});}finally{this['_loading$'][_0x4cff24(0x2ab)](!0x1);}}),(this[_0x4b6b98(0x22d)]=_0x5ed863,this['_uiPartsService']=_0x230dfc,this[_0x4b6b98(0x2a7)]=_0x1ae719,this['_localStorageService']=_0x4b42a2,this[_0x4b6b98(0x385)]=_0x336b29,this['_messageService']=_0x32fa66,this[_0x4b6b98(0x24c)]=_0x2cb707,this[_0x4b6b98(0x29e)]=_0x4f16e9,this[_0x4b6b98(0x35e)]=_0x39a1ac,this[_0x4b6b98(0x2cf)]=_0x57ed8c,this[_0x4b6b98(0x304)](),this[_0x4b6b98(0x2de)](),this[_0x4b6b98(0x28a)]());}[_0x53cc29(0x324)](){const _0x391e2e=_0x53cc29,_0x5c58e1=this[_0x391e2e(0x2a7)][_0x391e2e(0x270)](_0x328837);_0x5c58e1!=null&&_0x5c58e1[_0x391e2e(0x2e0)]&&this[_0x391e2e(0x385)]['open']({'id':_0x255f54,'title':{'title':this[_0x391e2e(0x29e)]['t']('mcpConfig.title')},'children':{'label':_0x391e2e(0x2e8)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x24d3e2=_0x391e2e;this[_0x24d3e2(0x385)]['close'](_0x255f54);}});}[_0x53cc29(0x283)](){const _0x2d729f=_0x53cc29;return this[_0x2d729f(0x2e7)][_0x2d729f(0x206)];}[_0x53cc29(0x28a)](){const _0x598aae=_0x53cc29;this[_0x598aae(0x318)](this['_componentManager'][_0x598aae(0x23d)](_0x598aae(0x2e8),this['_createConfigPanelComponent']()));}['_createConfigPanelComponent'](){const _0x49e66f=_0x53cc29;return _0x591869[_0x49e66f(0x359)](()=>{const _0x1e54d7=_0x49e66f;var _0x3996f9,_0x4fbe43,_0x5cfcdd;return _0x2b10e3['jsx'](_0x402b85,{'config':this[_0x1e54d7(0x27d)]['value'],'mcpCoreConfig':this[_0x1e54d7(0x2e7)]['value'],'currentApiKey$':this[_0x1e54d7(0x2fa)],'onSave':this[_0x1e54d7(0x335)],'loading':this[_0x1e54d7(0x354)][_0x1e54d7(0x206)],'connectionStatus$':(_0x3996f9=this['_mcpConnectionController'])==null?void 0x0:_0x3996f9['connectionStatus$'],'connectionError$':(_0x4fbe43=this[_0x1e54d7(0x2cf)])==null?void 0x0:_0x4fbe43[_0x1e54d7(0x214)],'currentSessionId$':(_0x5cfcdd=this[_0x1e54d7(0x2cf)])==null?void 0x0:_0x5cfcdd['sessionId$']});},this['_injector']);}['_initConfigSync'](){const _0x41e518=_0x53cc29;this['disposeWithMe'](this['_configService'][_0x41e518(0x269)](_0x35da5b['MCP_PLUGIN_CONFIG_KEY'])[_0x41e518(0x2b6)](_0xd6a5c=>{const _0x4ce167=_0x41e518;this[_0x4ce167(0x2e7)][_0x4ce167(0x2ab)](_0xd6a5c||{});}));const _0x5a9758=this[_0x41e518(0x2a7)][_0x41e518(0x270)](_0x35da5b[_0x41e518(0x30a)]);this[_0x41e518(0x2e7)]['next'](_0x5a9758||{}),this[_0x41e518(0x318)](this[_0x41e518(0x2a7)][_0x41e518(0x269)](_0x328837)[_0x41e518(0x2b6)](_0x41d1d8=>{const _0x42a916=_0x41e518;this[_0x42a916(0x27d)]['next'](_0x41d1d8||{});}));const _0x50153d=this[_0x41e518(0x2a7)]['getConfig'](_0x328837);this[_0x41e518(0x27d)][_0x41e518(0x2ab)](_0x50153d||{});}async['_loadStoredApiKey'](){const _0x30ef0e=_0x53cc29,_0xce9917=this['_configService'][_0x30ef0e(0x270)](_0x328837);if(!(_0xce9917!=null&&_0xce9917['showDeveloperTools']))return;const _0x1fc8b9=await this[_0x30ef0e(0x378)][_0x30ef0e(0x233)](_0x4d85db);_0x1fc8b9&&(this['_mcpConnectionController'][_0x30ef0e(0x224)]({'Authorization':_0x30ef0e(0x2fb)+_0x1fc8b9}),this['_apiKey$'][_0x30ef0e(0x2ab)](_0x1fc8b9));}async[_0x53cc29(0x22b)](_0xd62eee){const _0x939bdb=_0x53cc29;if(!_0xd62eee[_0x939bdb(0x338)]||_0xd62eee[_0x939bdb(0x338)][_0x939bdb(0x351)]()[_0x939bdb(0x2f3)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x939bdb(0x29e)]['t'](_0x939bdb(0x251))};if(_0xd62eee[_0x939bdb(0x338)]['trim']()[_0x939bdb(0x2f3)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x939bdb(0x29e)]['t'](_0x939bdb(0x2c1))};try{const _0x5a2606=await this[_0x939bdb(0x22d)][_0x939bdb(0x243)](_0x35da5b[_0x939bdb(0x267)])[_0x939bdb(0x280)](_0xd62eee[_0x939bdb(0x338)]['trim']());return _0x5a2606[_0x939bdb(0x2e3)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x5a2606[_0x939bdb(0x2d4)]||this[_0x939bdb(0x29e)]['t'](_0x939bdb(0x2a2))};}catch(_0x1b8c3d){return console[_0x939bdb(0x363)](_0x939bdb(0x352),_0x1b8c3d),{'isValid':!0x0};}}},_0x67ef9d[_0x53cc29(0x27b)]=_0x293865([_0x37f766(0x0,_0xbe6e84[_0x53cc29(0x364)](_0xbe6e84[_0x53cc29(0x310)])),_0x37f766(0x1,_0x591869['IUIPartsService']),_0x37f766(0x2,_0xbe6e84[_0x53cc29(0x2b8)]),_0x37f766(0x3,_0xbe6e84[_0x53cc29(0x341)]),_0x37f766(0x4,_0x591869[_0x53cc29(0x2fd)]),_0x37f766(0x5,_0x591869[_0x53cc29(0x2f2)]),_0x37f766(0x6,_0xbe6e84[_0x53cc29(0x364)](_0x591869['ComponentManager'])),_0x37f766(0x7,_0xbe6e84[_0x53cc29(0x364)](_0xbe6e84[_0x53cc29(0x2d0)])),_0x37f766(0x8,_0xbe6e84[_0x53cc29(0x29d)]),_0x37f766(0x9,_0xbe6e84['Inject'](_0x35da5b[_0x53cc29(0x267)]))],_0x67ef9d[_0x53cc29(0x27b)]);const _0x6f52da={'id':_0x53cc29(0x2a9),'type':_0xbe6e84[_0x53cc29(0x371)][_0x53cc29(0x30e)],'handler':async(_0x35c61b,_0xa8998c)=>(_0x35c61b[_0x53cc29(0x243)](_0x67ef9d[_0x53cc29(0x27b)])[_0x53cc29(0x324)](),!0x0)};function _0x135605(_0x54f0a1,_0x5e190b){const _0x456db3=_0x53cc29;switch(_0x54f0a1){case _0x35da5b[_0x456db3(0x20f)]['DISCONNECTED']:return _0x456db3(0x333);case _0x35da5b['MCPConnectionStatus']['CONNECTING']:return _0x456db3(0x27e);case _0x35da5b[_0x456db3(0x20f)][_0x456db3(0x340)]:return'mcpStatus.connected';case _0x35da5b[_0x456db3(0x20f)][_0x456db3(0x1f3)]:switch(_0x5e190b){case _0x35da5b[_0x456db3(0x380)][_0x456db3(0x220)]:return _0x456db3(0x32e);case _0x35da5b['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x456db3(0x34c);case _0x35da5b[_0x456db3(0x380)]['NETWORK_ERROR']:return _0x456db3(0x35f);case _0x35da5b[_0x456db3(0x380)][_0x456db3(0x2e4)]:return _0x456db3(0x249);default:return'mcpStatus.failed';}case _0x35da5b[_0x456db3(0x20f)][_0x456db3(0x377)]:return _0x456db3(0x314);default:return'mcpStatus.unknown';}}function _0x3fa546(_0x143707,_0x4c61d2,_0x4e34c5,_0x9692b2=!0x0){const _0x57b84b=_0x53cc29,_0x3112d0=_0x135605(_0x143707,_0x4c61d2),_0x1091b4=_0x4e34c5['t'](_0x3112d0);return _0x9692b2?_0x143707===_0x35da5b[_0x57b84b(0x20f)]['DISCONNECTED']&&_0x4c61d2===_0x35da5b[_0x57b84b(0x380)]['UNAUTHORIZED']?_0x1091b4+_0x57b84b(0x231)+_0x4e34c5['t'](_0x57b84b(0x26e)):_0x143707===_0x35da5b[_0x57b84b(0x20f)]['CONNECTED']?''+_0x1091b4:_0x143707===_0x35da5b['MCPConnectionStatus'][_0x57b84b(0x23b)]||_0x143707===_0x35da5b[_0x57b84b(0x20f)][_0x57b84b(0x1f3)]?_0x1091b4+_0x57b84b(0x231)+_0x4e34c5['t']('mcpStatus.clickToConnect'):_0x1091b4:_0x1091b4;}function _0x55cf98(_0x3ec510){const _0x144963=_0x53cc29;switch(_0x3ec510){case _0x35da5b[_0x144963(0x20f)][_0x144963(0x340)]:return _0x144963(0x2ec);case _0x35da5b[_0x144963(0x20f)]['CONNECTING']:case _0x35da5b[_0x144963(0x20f)][_0x144963(0x377)]:return'univer-text-yellow-500';case _0x35da5b['MCPConnectionStatus'][_0x144963(0x1f3)]:case _0x35da5b['MCPConnectionStatus']['DISCONNECTED']:return'univer-text-red-500';default:return _0x144963(0x2d3);}}function _0x4b120f(_0x291ab8){const _0x4ba4c5=_0x53cc29,{status$:_0x7438b7,error$:_0x4e044d,onConfigure:_0x5eb03d,showClickable:_0x2402de=!0x0}=_0x291ab8,_0x5ab9cf=_0x591869[_0x4ba4c5(0x301)](_0x7438b7,_0x35da5b[_0x4ba4c5(0x20f)][_0x4ba4c5(0x23b)]),_0x10543e=_0x591869[_0x4ba4c5(0x301)](_0x4e044d,_0x35da5b[_0x4ba4c5(0x380)][_0x4ba4c5(0x2b3)]),_0x1ab41a=_0x591869[_0x4ba4c5(0x36c)](_0xbe6e84[_0x4ba4c5(0x2d0)]),_0x3a0669=_0x5ab9cf===_0x35da5b[_0x4ba4c5(0x20f)][_0x4ba4c5(0x340)];_0x5ab9cf===_0x35da5b[_0x4ba4c5(0x20f)][_0x4ba4c5(0x257)]||_0x35da5b['MCPConnectionStatus'][_0x4ba4c5(0x377)];const _0x46bcad=_0x1ab41a['t'](_0x135605(_0x5ab9cf,_0x10543e)),_0x14b1f4=_0x3fa546(_0x5ab9cf,_0x10543e,_0x1ab41a,_0x2402de),_0x4b6cca=_0x55cf98(_0x5ab9cf),_0x2659de=_0x3a0669?_0x2b10e3[_0x4ba4c5(0x24d)](_0x23f009,{}):_0x2b10e3[_0x4ba4c5(0x24d)](_0x38d035,{}),_0x342b8a=_0x41e175[_0x4ba4c5(0x30c)](()=>{_0x2402de&&_0x5eb03d&&_0x5eb03d();},[_0x2402de,_0x5eb03d]);function _0x2d67fe(){const _0x22ddaa=_0x4ba4c5;return _0x2b10e3[_0x22ddaa(0x2db)](_0x22ddaa(0x272),{'className':_0x4d3ef2[_0x22ddaa(0x344)](_0x22ddaa(0x2be),_0x2402de&&_0x5eb03d&&'\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':_0x22ddaa(0x2a3),'onClick':_0x2402de&&_0x5eb03d?_0x342b8a:void 0x0,'children':[_0x2b10e3['jsx']('div',{'className':_0x4d3ef2['clsx'](_0x22ddaa(0x2d7),_0x4b6cca),'children':_0x2659de}),_0x2b10e3[_0x22ddaa(0x24d)](_0x22ddaa(0x272),{'className':_0x22ddaa(0x21e),'children':_0x46bcad})]});}return _0x2b10e3[_0x4ba4c5(0x24d)](_0x4d3ef2['Tooltip'],{'title':_0x14b1f4,'placement':'bottom','children':_0x2d67fe()});}var _0x2a8894=Object[_0x53cc29(0x31d)],_0x525724=(_0x4004e3,_0x3da3d6,_0x4ec3d6,_0x14bea6)=>{for(var _0x12b2f8=_0x14bea6>0x1?void 0x0:_0x14bea6?_0x2a8894(_0x3da3d6,_0x4ec3d6):_0x3da3d6,_0x4bbaae=_0x4004e3['length']-0x1,_0x1daf81;_0x4bbaae>=0x0;_0x4bbaae--)(_0x1daf81=_0x4004e3[_0x4bbaae])&&(_0x12b2f8=_0x1daf81(_0x12b2f8)||_0x12b2f8);return _0x12b2f8;},_0x3e4055=(_0x34f385,_0x1dc20d)=>(_0x2baf24,_0x33ecc7)=>_0x1dc20d(_0x2baf24,_0x33ecc7,_0x34f385);_0x67ef9d[_0x53cc29(0x2d2)]=class extends _0xbe6e84[_0x53cc29(0x361)]{constructor(_0x229e15,_0x436c50,_0x3b6a8b,_0x2ccf15){const _0x27b848=_0x53cc29;super(),this[_0x27b848(0x22d)]=_0x229e15,this[_0x27b848(0x30b)]=_0x436c50,this[_0x27b848(0x34f)]=_0x3b6a8b,this[_0x27b848(0x2a7)]=_0x2ccf15,this[_0x27b848(0x274)](),this[_0x27b848(0x252)]();}[_0x53cc29(0x274)](){const _0x2d858c=_0x53cc29,_0xb0d15d=this[_0x2d858c(0x2a7)][_0x2d858c(0x270)](_0x328837);_0xb0d15d!=null&&_0xb0d15d[_0x2d858c(0x2e0)]&&(this[_0x2d858c(0x30b)]['enableAutoConnect']=!0x1);}[_0x53cc29(0x252)](){const _0x324dd7=_0x53cc29,_0x1af20e=this[_0x324dd7(0x2a7)][_0x324dd7(0x270)](_0x328837);(_0x1af20e==null?void 0x0:_0x1af20e['showStatus'])!==!0x1&&this[_0x324dd7(0x318)](this[_0x324dd7(0x34f)]['registerComponent'](_0x591869[_0x324dd7(0x262)][_0x324dd7(0x241)],()=>{const _0xef42a9=_0x324dd7;var _0x10c34c;return _0x591869[_0xef42a9(0x359)](_0x234630({'status$':this[_0xef42a9(0x30b)][_0xef42a9(0x20c)],'error$':this[_0xef42a9(0x30b)]['connectionError$'],'onConfigure':()=>this[_0xef42a9(0x2c2)](),'showClickable':(_0x10c34c=_0x1af20e==null?void 0x0:_0x1af20e[_0xef42a9(0x2e0)])!=null?_0x10c34c:!0x1}),this[_0xef42a9(0x22d)]);}));}[_0x53cc29(0x2c2)](){const _0x364021=_0x53cc29;this[_0x364021(0x22d)]['get'](_0x67ef9d[_0x364021(0x27b)])[_0x364021(0x324)]();}},_0x67ef9d[_0x53cc29(0x2d2)]=_0x525724([_0x3e4055(0x0,_0xbe6e84[_0x53cc29(0x364)](_0xbe6e84[_0x53cc29(0x310)])),_0x3e4055(0x1,_0xbe6e84[_0x53cc29(0x364)](_0x35da5b[_0x53cc29(0x267)])),_0x3e4055(0x2,_0x591869[_0x53cc29(0x350)]),_0x3e4055(0x3,_0xbe6e84[_0x53cc29(0x2b8)])],_0x67ef9d[_0x53cc29(0x2d2)]);function _0x234630(_0x5e1e29){const {status$:_0x20c712,error$:_0x2ca9e5,onConfigure:_0x21b76b,showClickable:_0x3c51ef}=_0x5e1e29;return function(){const _0x5338df=_0x4225;return _0x2b10e3[_0x5338df(0x24d)](_0x4b120f,{'status$':_0x20c712,'error$':_0x2ca9e5,'onConfigure':_0x21b76b,'showClickable':_0x3c51ef});};}function _0x40c5b7(_0x46cb10){const _0x1b29ff=_0x53cc29;return{'id':_0x6f52da['id'],'type':_0x591869[_0x1b29ff(0x31e)][_0x1b29ff(0x29b)],'icon':_0x1b29ff(0x33b),'title':_0x1b29ff(0x20d),'tooltip':_0x1b29ff(0x20d)};}const _0x4b9d27={[_0x591869[_0x53cc29(0x300)][_0x53cc29(0x367)]]:{[_0x6f52da['id']]:{'order':0xa,'menuItemFactory':_0x40c5b7}}};var _0xb19a7b=Object[_0x53cc29(0x31d)],_0x5e8f24=(_0x346c55,_0x15cdc0,_0x21292a,_0x48da97)=>{const _0x53140c=_0x53cc29;for(var _0x12d90c=_0x48da97>0x1?void 0x0:_0x48da97?_0xb19a7b(_0x15cdc0,_0x21292a):_0x15cdc0,_0x4546be=_0x346c55[_0x53140c(0x2f3)]-0x1,_0x2aa6a7;_0x4546be>=0x0;_0x4546be--)(_0x2aa6a7=_0x346c55[_0x4546be])&&(_0x12d90c=_0x2aa6a7(_0x12d90c)||_0x12d90c);return _0x12d90c;},_0x2c625b=(_0x1ae124,_0x712202)=>(_0x4af391,_0x3a2ea4)=>_0x712202(_0x4af391,_0x3a2ea4,_0x1ae124);_0x67ef9d[_0x53cc29(0x34e)]=class extends _0xbe6e84[_0x53cc29(0x361)]{constructor(_0x3e606a,_0x3143b6){const _0xb952ed=_0x53cc29;super(),this[_0xb952ed(0x276)]=_0x3e606a,this[_0xb952ed(0x284)]=_0x3143b6,this[_0xb952ed(0x208)](),this[_0xb952ed(0x2f6)]();}[_0x53cc29(0x208)](){const _0x1a862a=_0x53cc29;[_0x6f52da][_0x1a862a(0x2ea)](_0x19901d=>{const _0x532855=_0x1a862a;this[_0x532855(0x318)](this[_0x532855(0x276)][_0x532855(0x381)](_0x19901d));});}[_0x53cc29(0x2f6)](){const _0x182f8c=_0x53cc29;this[_0x182f8c(0x284)]['mergeMenu'](_0x4b9d27);}},_0x67ef9d['MCPUIMenuController']=_0x5e8f24([_0x2c625b(0x0,_0xbe6e84[_0x53cc29(0x2c6)]),_0x2c625b(0x1,_0x591869[_0x53cc29(0x200)])],_0x67ef9d[_0x53cc29(0x34e)]);const _0x100b2a={'mcpStatus':{'disconnected':_0x53cc29(0x289),'connecting':_0x53cc29(0x299),'connected':_0x53cc29(0x28d),'failed':_0x53cc29(0x247),'retrying':'MCP\x20Retrying...','unknown':_0x53cc29(0x212),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x53cc29(0x287),'networkError':_0x53cc29(0x2c7),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x53cc29(0x2b9)},'mcpConfig':{'title':_0x53cc29(0x229),'description':_0x53cc29(0x374),'apiKey':_0x53cc29(0x307),'apiKeyPlaceholder':_0x53cc29(0x370),'apiKeyHint':_0x53cc29(0x235),'enableAuth':_0x53cc29(0x312),'enableAuthHint':_0x53cc29(0x32d),'connectionInfo':_0x53cc29(0x2cb),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x53cc29(0x36d),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x53cc29(0x20e),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x53cc29(0x228),'sessionId':'Session\x20ID','sessionIdDescription':_0x53cc29(0x278),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x53cc29(0x2d5),'save':'Save\x20Configuration','saving':_0x53cc29(0x211),'note1':_0x53cc29(0x309),'note2':_0x53cc29(0x259),'configSaved':_0x53cc29(0x31f),'configError':_0x53cc29(0x36a),'apiApplyInfo':{'title':_0x53cc29(0x23f),'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':_0x53cc29(0x236),'getStarted':_0x53cc29(0x328)},'validation':{'apiKeyRequired':_0x53cc29(0x313),'apiKeyTooShort':_0x53cc29(0x382),'invalidConfig':_0x53cc29(0x345),'invalidApiKey':_0x53cc29(0x2a4)},'connectionStatus':{'disconnected':_0x53cc29(0x23c),'connecting':_0x53cc29(0x271),'connected':_0x53cc29(0x2c4),'failed':_0x53cc29(0x37e),'retrying':_0x53cc29(0x28b)},'connectionError':{'unauthorized':_0x53cc29(0x26b),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x53cc29(0x325)}}},_0x5e02bc={'mcpStatus':{'disconnected':_0x53cc29(0x279),'connecting':_0x53cc29(0x355),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x53cc29(0x30f),'unknown':_0x53cc29(0x302),'unauthorized':_0x53cc29(0x336),'sessionOccupied':_0x53cc29(0x360),'networkError':_0x53cc29(0x254),'maxRetriesExceeded':_0x53cc29(0x343),'clickToConnect':_0x53cc29(0x315),'clickToConfigure':_0x53cc29(0x2c0)},'mcpConfig':{'title':_0x53cc29(0x32a),'description':_0x53cc29(0x321),'apiKey':_0x53cc29(0x2ed),'apiKeyPlaceholder':_0x53cc29(0x263),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x53cc29(0x349),'connectionInfo':_0x53cc29(0x37a),'mcpClientConfig':_0x53cc29(0x37a),'configInstructions':_0x53cc29(0x2a0),'configStepTitle':_0x53cc29(0x21a),'configStep1':_0x53cc29(0x35d),'configStep2':_0x53cc29(0x308),'configStep3':_0x53cc29(0x264),'sessionId':_0x53cc29(0x296),'sessionIdDescription':_0x53cc29(0x265),'authorizationDescription':_0x53cc29(0x218),'configParameters':_0x53cc29(0x292),'maxRetries':'最大重试次数','save':_0x53cc29(0x24a),'saving':_0x53cc29(0x365),'note1':_0x53cc29(0x2a8),'note2':_0x53cc29(0x24e),'configSaved':_0x53cc29(0x37b),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x53cc29(0x2d6),'univerAiLabel':_0x53cc29(0x2bc),'getStarted':_0x53cc29(0x216)},'validation':{'apiKeyRequired':_0x53cc29(0x21b),'apiKeyTooShort':_0x53cc29(0x2f4),'invalidConfig':_0x53cc29(0x2d1),'invalidApiKey':_0x53cc29(0x2c8)},'connectionStatus':{'disconnected':'未连接','connecting':_0x53cc29(0x346),'connected':_0x53cc29(0x2d9),'failed':_0x53cc29(0x2b2),'retrying':_0x53cc29(0x2f1)},'connectionError':{'unauthorized':_0x53cc29(0x33a),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x53cc29(0x348),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x4b4351=Object[_0x53cc29(0x320)],_0x67590=Object[_0x53cc29(0x31d)],_0x2f68bd=(_0x9f6c39,_0x50540b,_0x5bd993)=>_0x50540b in _0x9f6c39?_0x4b4351(_0x9f6c39,_0x50540b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bd993}):_0x9f6c39[_0x50540b]=_0x5bd993,_0x56c803=(_0x3956b0,_0xe69a6d,_0x1aa911,_0x194b6b)=>{const _0x294144=_0x53cc29;for(var _0x37873d=_0x194b6b>0x1?void 0x0:_0x194b6b?_0x67590(_0xe69a6d,_0x1aa911):_0xe69a6d,_0x1589ed=_0x3956b0[_0x294144(0x2f3)]-0x1,_0x38eb36;_0x1589ed>=0x0;_0x1589ed--)(_0x38eb36=_0x3956b0[_0x1589ed])&&(_0x37873d=_0x38eb36(_0x37873d)||_0x37873d);return _0x37873d;},_0x270d8d=(_0x248b7d,_0x53a9a4)=>(_0x142554,_0x55fcd2)=>_0x53a9a4(_0x142554,_0x55fcd2,_0x248b7d),_0x48d033=(_0x31e62b,_0x50b626,_0x444d1c)=>_0x2f68bd(_0x31e62b,_0x50b626+'',_0x444d1c);_0x67ef9d[_0x53cc29(0x2b7)]=class extends _0xbe6e84[_0x53cc29(0x373)]{constructor(_0x38e27c=_0x13ed34,_0x364500,_0x482806,_0x3d7130,_0x5b16b2,_0x502476){const _0x35ff4b=_0x53cc29;super(),this[_0x35ff4b(0x362)]=_0x38e27c,this[_0x35ff4b(0x22d)]=_0x364500,this[_0x35ff4b(0x2a7)]=_0x482806,this[_0x35ff4b(0x34f)]=_0x3d7130,this[_0x35ff4b(0x378)]=_0x5b16b2,this['_localeService']=_0x502476;const {..._0x3a6b5e}=_0xbe6e84[_0x35ff4b(0x36b)]({},_0x13ed34,this['_config']);this[_0x35ff4b(0x2a7)][_0x35ff4b(0x22e)](_0x328837,_0x3a6b5e);}async['onStarting'](){const _0x564639=_0x53cc29,_0x1291ae=[[_0x67ef9d[_0x564639(0x2d2)]],[_0x67ef9d['MCPConfigUIController']],[_0x67ef9d[_0x564639(0x34e)]]];this['_injector']['has'](_0x5b409e['ISocketService'])||_0x1291ae[_0x564639(0x2e1)]([_0x5b409e[_0x564639(0x291)],{'useClass':_0x5b409e[_0x564639(0x2f8)]}]),_0x1291ae[_0x564639(0x2ea)](_0x5e7e1d=>this[_0x564639(0x22d)][_0x564639(0x34b)](_0x5e7e1d)),this[_0x564639(0x22d)][_0x564639(0x243)](_0x67ef9d[_0x564639(0x2d2)]),this[_0x564639(0x22d)]['get'](_0x67ef9d['MCPConfigUIController']),this[_0x564639(0x22d)][_0x564639(0x243)](_0x67ef9d['MCPUIMenuController']);}},_0x48d033(_0x67ef9d['UniverMCPUIPlugin'],'pluginName',_0x53cc29(0x286)),_0x67ef9d['UniverMCPUIPlugin']=_0x56c803([_0xbe6e84[_0x53cc29(0x20b)](_0x35da5b[_0x53cc29(0x28e)]),_0x270d8d(0x1,_0xbe6e84[_0x53cc29(0x364)](_0xbe6e84[_0x53cc29(0x310)])),_0x270d8d(0x2,_0xbe6e84[_0x53cc29(0x2b8)]),_0x270d8d(0x3,_0x591869[_0x53cc29(0x350)]),_0x270d8d(0x4,_0xbe6e84[_0x53cc29(0x341)]),_0x270d8d(0x5,_0xbe6e84[_0x53cc29(0x364)](_0xbe6e84[_0x53cc29(0x2d0)]))],_0x67ef9d[_0x53cc29(0x2b7)]),_0x67ef9d['MCPConfigPanel']=_0x402b85,_0x67ef9d[_0x53cc29(0x204)]=_0x4b120f,_0x67ef9d[_0x53cc29(0x273)]=_0x6f52da,_0x67ef9d[_0x53cc29(0x25d)]=_0x100b2a,_0x67ef9d[_0x53cc29(0x234)]=_0x5e02bc,Object['defineProperty'](_0x67ef9d,Symbol[_0x53cc29(0x240)],{'value':_0x53cc29(0x317)});}));
1
+ function _0x53bf(_0x7c836a,_0x513e7){_0x7c836a=_0x7c836a-0x9a;const _0x3ffcd3=_0x3ffc();let _0x53bf15=_0x3ffcd3[_0x7c836a];return _0x53bf15;}(function(_0x9e57f0,_0xab2239){const _0x245571=_0x53bf,_0x59beed=_0x9e57f0();while(!![]){try{const _0x3a8855=-parseInt(_0x245571(0x123))/0x1*(parseInt(_0x245571(0x131))/0x2)+-parseInt(_0x245571(0x227))/0x3*(parseInt(_0x245571(0x1fd))/0x4)+-parseInt(_0x245571(0x171))/0x5*(-parseInt(_0x245571(0xb9))/0x6)+parseInt(_0x245571(0xfa))/0x7+parseInt(_0x245571(0x114))/0x8+parseInt(_0x245571(0x202))/0x9*(parseInt(_0x245571(0x203))/0xa)+-parseInt(_0x245571(0x168))/0xb;if(_0x3a8855===_0xab2239)break;else _0x59beed['push'](_0x59beed['shift']());}catch(_0xb943f9){_0x59beed['push'](_0x59beed['shift']());}}}(_0x3ffc,0x58c35),function(_0x264bca,_0xb5b7c7){const _0x485662=_0x53bf;typeof exports==_0x485662(0x229)&&typeof module<'u'?_0xb5b7c7(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==_0x485662(0x138)&&define[_0x485662(0x1dc)]?define(['exports',_0x485662(0x1df),'react/jsx-runtime',_0x485662(0x10d),_0x485662(0x206),_0x485662(0x10b),_0x485662(0x178),_0x485662(0x16b),_0x485662(0x157)],_0xb5b7c7):(_0x264bca=typeof globalThis<'u'?globalThis:_0x264bca||self,_0xb5b7c7(_0x264bca['UniverProMcpUi']={},_0x264bca['UniverCore'],_0x264bca[_0x485662(0x18d)],_0x264bca[_0x485662(0xeb)],_0x264bca['UniverDesign'],_0x264bca[_0x485662(0xf4)],_0x264bca[_0x485662(0x178)],_0x264bca['React'],_0x264bca[_0x485662(0x1d7)]));}(this,function(_0x34b242,_0xfc971,_0x31ab50,_0x42002e,_0x46c599,_0x3b1834,_0x1435b7,_0x5d5317,_0x3c2b79){'use strict';const _0x14b8e3=_0x53bf;var _0x3340e6=Object[_0x14b8e3(0xda)],_0x9663d9=(_0x43d6d1,_0x1a4107,_0x476bec)=>_0x1a4107 in _0x43d6d1?_0x3340e6(_0x43d6d1,_0x1a4107,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476bec}):_0x43d6d1[_0x1a4107]=_0x476bec,_0x2580c4=(_0x65a4f7,_0x4308ac,_0x44d3c2)=>_0x9663d9(_0x65a4f7,typeof _0x4308ac!=_0x14b8e3(0x127)?_0x4308ac+'':_0x4308ac,_0x44d3c2);function _0x200abc({ref:_0x9ff18a,..._0x38403c}){const _0xf993ca=_0x14b8e3,{icon:_0xaacf5b,id:_0xf88b64,className:_0x5323e4,extend:_0x11690f,..._0x43c11d}=_0x38403c,_0x506087=(_0xf993ca(0x219)+_0xf88b64+'\x20'+(_0x5323e4||''))[_0xf993ca(0x106)](),_0x62ca79=_0x5d5317[_0xf993ca(0x21b)]('_'+_0xaf5326());return _0x47519a(_0xaacf5b,''+_0xf88b64,{'defIds':_0xaacf5b[_0xf993ca(0x1f1)],'idSuffix':_0x62ca79[_0xf993ca(0x133)]},{'ref':_0x9ff18a,'className':_0x506087,..._0x43c11d},_0x11690f);}function _0x47519a(_0x2f12a8,_0x1311c9,_0x2ec2ef,_0x48f18d,_0x1ed22a){const _0x179f96=_0x14b8e3;return _0x5d5317[_0x179f96(0x17f)](_0x2f12a8[_0x179f96(0x1ee)],{'key':_0x1311c9,..._0x4f28f1(_0x2f12a8,_0x2ec2ef,_0x1ed22a),..._0x48f18d},(_0x24ea36(_0x2f12a8,_0x2ec2ef)[_0x179f96(0x121)]||[])['map']((_0x27ddf5,_0x4e7436)=>_0x47519a(_0x27ddf5,_0x1311c9+'-'+_0x2f12a8[_0x179f96(0x1ee)]+'-'+_0x4e7436,_0x2ec2ef,void 0x0,_0x1ed22a)));}function _0x4f28f1(_0x497629,_0x5b7793,_0x55f699){const _0x5e7706=_0x14b8e3,_0x12bbd4={..._0x497629[_0x5e7706(0x211)]};_0x55f699!=null&&_0x55f699[_0x5e7706(0xff)]&&_0x12bbd4['fill']==='colorChannel1'&&(_0x12bbd4[_0x5e7706(0x1c8)]=_0x55f699[_0x5e7706(0xff)]),_0x497629['tag']==='mask'&&_0x12bbd4['id']&&(_0x12bbd4['id']=_0x12bbd4['id']+_0x5b7793[_0x5e7706(0x217)]),Object[_0x5e7706(0xe7)](_0x12bbd4)[_0x5e7706(0x1e2)](([_0x2b9478,_0x2bd02a])=>{const _0x41de19=_0x5e7706;_0x2b9478===_0x41de19(0x1d0)&&typeof _0x2bd02a=='string'&&(_0x12bbd4[_0x2b9478]=_0x2bd02a[_0x41de19(0xc4)](/url\(#(.*)\)/,_0x41de19(0x192)+_0x5b7793['idSuffix']+')'));});const {defIds:_0x5b6e72}=_0x5b7793;return!_0x5b6e72||_0x5b6e72['length']===0x0||(_0x497629[_0x5e7706(0x1ee)]===_0x5e7706(0x11b)&&_0x12bbd4[_0x5e7706(0x115)]&&(_0x12bbd4[_0x5e7706(0x115)]=_0x12bbd4[_0x5e7706(0x115)]+_0x5b7793[_0x5e7706(0x217)]),Object[_0x5e7706(0xe7)](_0x12bbd4)[_0x5e7706(0x1e2)](([_0x157435,_0x309113])=>{const _0x4fe5b5=_0x5e7706;typeof _0x309113==_0x4fe5b5(0x124)&&(_0x12bbd4[_0x157435]=_0x309113[_0x4fe5b5(0xc4)](/url\(#(.*)\)/,'url(#$1'+_0x5b7793[_0x4fe5b5(0x217)]+')'));})),_0x12bbd4;}function _0x24ea36(_0x540dc6,_0x51b687){const _0x5b79bf=_0x14b8e3;var _0x1448d6;const {defIds:_0x286606}=_0x51b687;return!_0x286606||_0x286606[_0x5b79bf(0xec)]===0x0?_0x540dc6:_0x540dc6[_0x5b79bf(0x1ee)]===_0x5b79bf(0x22d)&&((_0x1448d6=_0x540dc6[_0x5b79bf(0x121)])!=null&&_0x1448d6['length'])?{..._0x540dc6,'children':_0x540dc6[_0x5b79bf(0x121)][_0x5b79bf(0x1f5)](_0x164ae1=>typeof _0x164ae1[_0x5b79bf(0x211)]['id']==_0x5b79bf(0x124)&&_0x286606&&_0x286606[_0x5b79bf(0x186)](_0x164ae1[_0x5b79bf(0x211)]['id'])?{..._0x164ae1,'attrs':{..._0x164ae1['attrs'],'id':_0x164ae1['attrs']['id']+_0x51b687['idSuffix']}}:_0x164ae1)}:_0x540dc6;}function _0xaf5326(){const _0x10acdf=_0x14b8e3;return Math[_0x10acdf(0x1c1)]()['toString'](0x24)[_0x10acdf(0x9e)](0x2,0x8);}_0x200abc[_0x14b8e3(0x1c7)]=_0x14b8e3(0x1c4);const _0x4fd82e={'tag':'svg','attrs':{'xmlns':_0x14b8e3(0x19f),'fill':'none','viewBox':_0x14b8e3(0xe2),'width':_0x14b8e3(0x15e),'height':_0x14b8e3(0x15e)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0x1ea),'fillRule':_0x14b8e3(0x12e),'clipRule':_0x14b8e3(0x12e)}}]},_0x17255e=_0x5d5317[_0x14b8e3(0x190)](function(_0x4e4894,_0x15dd30){const _0x32a806=_0x14b8e3;return _0x5d5317['createElement'](_0x200abc,Object[_0x32a806(0x119)]({},_0x4e4894,{'id':_0x32a806(0x1b7),'ref':_0x15dd30,'icon':_0x4fd82e}));});_0x17255e[_0x14b8e3(0x1c7)]=_0x14b8e3(0x1f2);const _0x2b876f={'tag':_0x14b8e3(0x1d2),'attrs':{'xmlns':_0x14b8e3(0x19f),'fill':_0x14b8e3(0x22f),'viewBox':_0x14b8e3(0xe2),'width':'1em','height':_0x14b8e3(0x15e)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0x1e0)}}]},_0x12775d=_0x5d5317[_0x14b8e3(0x190)](function(_0x3b485e,_0x1c6ffe){const _0x21a30f=_0x14b8e3;return _0x5d5317[_0x21a30f(0x17f)](_0x200abc,Object[_0x21a30f(0x119)]({},_0x3b485e,{'id':_0x21a30f(0x1ce),'ref':_0x1c6ffe,'icon':_0x2b876f}));});_0x12775d[_0x14b8e3(0x1c7)]=_0x14b8e3(0x195);const _0x46a000={'tag':_0x14b8e3(0x1d2),'attrs':{'xmlns':_0x14b8e3(0x19f),'fill':_0x14b8e3(0x22f),'viewBox':_0x14b8e3(0xe2),'width':_0x14b8e3(0x15e),'height':_0x14b8e3(0x15e)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0x1c5)}},{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0xba)}},{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xdc),'d':_0x14b8e3(0x19c),'fillRule':_0x14b8e3(0x12e),'clipRule':_0x14b8e3(0x12e)}}]},_0x5e76b0=_0x5d5317[_0x14b8e3(0x190)](function(_0x313db4,_0x1d7dee){const _0x540f8e=_0x14b8e3;return _0x5d5317[_0x540f8e(0x17f)](_0x200abc,Object['assign']({},_0x313db4,{'id':_0x540f8e(0x1de),'ref':_0x1d7dee,'icon':_0x46a000}));});_0x5e76b0[_0x14b8e3(0x1c7)]=_0x14b8e3(0x116);const _0x5ce785={'tag':_0x14b8e3(0x1d2),'attrs':{'xmlns':_0x14b8e3(0x19f),'fill':'none','viewBox':_0x14b8e3(0xe2),'width':'1em','height':_0x14b8e3(0x15e)},'children':[{'tag':'g','attrs':{'clipPath':_0x14b8e3(0x14b)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'stroke':_0x14b8e3(0xdc),'d':_0x14b8e3(0xb3),'strokeLinecap':_0x14b8e3(0x9b),'strokeLinejoin':_0x14b8e3(0x9b),'strokeWidth':1.2}}]},{'tag':_0x14b8e3(0x22d),'attrs':{},'children':[{'tag':_0x14b8e3(0x160),'attrs':{'id':_0x14b8e3(0x22b)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xae),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x14b8e3(0x22b)]},_0x1abb0c=_0x5d5317['forwardRef'](function(_0x1491da,_0x56abb7){const _0x26ce95=_0x14b8e3;return _0x5d5317[_0x26ce95(0x17f)](_0x200abc,Object['assign']({},_0x1491da,{'id':_0x26ce95(0x1a9),'ref':_0x56abb7,'icon':_0x5ce785}));});_0x1abb0c['displayName']='OffLineIcon';const _0x1a842b={'tag':_0x14b8e3(0x1d2),'attrs':{'xmlns':_0x14b8e3(0x19f),'fill':'none','viewBox':_0x14b8e3(0x13b),'width':_0x14b8e3(0x15e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x14b8e3(0x11e)},'children':[{'tag':'path','attrs':{'stroke':_0x14b8e3(0xdc),'d':'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','strokeLinecap':_0x14b8e3(0x9b),'strokeLinejoin':_0x14b8e3(0x9b),'strokeWidth':1.2}}]},{'tag':_0x14b8e3(0x22d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x14b8e3(0x145)},'children':[{'tag':_0x14b8e3(0x1aa),'attrs':{'fill':_0x14b8e3(0xae),'d':_0x14b8e3(0x100),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c2f6e=_0x5d5317[_0x14b8e3(0x190)](function(_0x2dae0c,_0x4049bd){const _0x4e1a18=_0x14b8e3;return _0x5d5317[_0x4e1a18(0x17f)](_0x200abc,Object[_0x4e1a18(0x119)]({},_0x2dae0c,{'id':'on-line-icon','ref':_0x4049bd,'icon':_0x1a842b}));});_0x5c2f6e[_0x14b8e3(0x1c7)]=_0x14b8e3(0x140);function _0x11536d(_0x186a38){const _0x28b968=_0x14b8e3;var _0xd051db,_0x3adf95;const {mcpCoreConfig:_0x25a24c,onSave:_0x44dfca,loading:_0x1dfa26=!0x1,config:_0x57df4f,connectionStatus$:_0x2ea22c,connectionError$:_0x2ea604,currentApiKey$:_0xb54a12,currentSessionId$:_0x47e828}=_0x186a38,_0x237552=_0x3b1834[_0x28b968(0x1e1)](_0xfc971[_0x28b968(0x10a)]),_0x470e8d=_0x3b1834['useObservable'](_0x2ea22c,_0x42002e[_0x28b968(0xa2)][_0x28b968(0x16c)]),_0x2b4d38=_0x3b1834[_0x28b968(0x1be)](_0x2ea604,_0x42002e['MCPConnectionError'][_0x28b968(0x113)]),_0x3958a1=_0x3b1834[_0x28b968(0x1be)](_0x47e828,''),_0x5358b5=_0x3b1834[_0x28b968(0x1be)](_0xb54a12,''),[_0x477538,_0x14a464]=_0x5d5317[_0x28b968(0x155)](_0x5358b5||''),_0x38554c=!0x0,_0x4c31da=_0x57df4f['showDeveloperTools']&&_0x25a24c[_0x28b968(0xd6)]&&(_0x25a24c[_0x28b968(0xd6)][_0x28b968(0x186)](_0x28b968(0x1c0))||_0x25a24c[_0x28b968(0xd6)]['includes'](_0x28b968(0x117))),_0x5ab8fb=(_0xd051db=_0x25a24c['mcpServerUrl'])==null?void 0x0:_0xd051db[_0x28b968(0x186)](_0x28b968(0x1c0)),_0x29b7b1=(_0x3adf95=_0x25a24c[_0x28b968(0xd6)])==null?void 0x0:_0x3adf95[_0x28b968(0x186)](_0x28b968(0x117)),_0x4432e3=_0x5ab8fb?'https://console.univer.plus':_0x28b968(0x102),_0x32381d=_0x57df4f[_0x28b968(0x209)]&&(_0x5ab8fb||_0x29b7b1),[_0x21ace8,_0x534ee6]=_0x5d5317[_0x28b968(0x155)](!_0x477538[_0x28b968(0x106)]()),_0xc97910=(_0x561ba6,_0x29585d)=>{const _0x55c08e=_0x28b968;if(_0x29585d===_0x42002e[_0x55c08e(0x22e)][_0x55c08e(0x1a4)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x561ba6){case _0x42002e['MCPConnectionStatus'][_0x55c08e(0x1b1)]:return _0x55c08e(0x224);case _0x42002e['MCPConnectionStatus'][_0x55c08e(0x16f)]:case _0x42002e['MCPConnectionStatus'][_0x55c08e(0x1ae)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x42002e[_0x55c08e(0xa2)][_0x55c08e(0x175)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x55c08e(0x173);}},_0x3d6bb4=(_0x346bce,_0x3535cb)=>{const _0xf76e01=_0x28b968;if(_0x3535cb===_0x42002e[_0xf76e01(0x22e)][_0xf76e01(0x1a4)])return _0xf76e01(0x108);switch(_0x346bce){case _0x42002e['MCPConnectionStatus'][_0xf76e01(0x1b1)]:return _0xf76e01(0x1af);case _0x42002e[_0xf76e01(0xa2)][_0xf76e01(0x16f)]:case _0x42002e['MCPConnectionStatus'][_0xf76e01(0x1ae)]:return _0xf76e01(0x198);case _0x42002e[_0xf76e01(0xa2)][_0xf76e01(0x175)]:return _0xf76e01(0x108);default:return _0xf76e01(0x1cb);}},_0x273a6a=_0x4af1f6=>{const _0x538e88=_0x28b968;switch(_0x4af1f6){case _0x42002e[_0x538e88(0xa2)][_0x538e88(0x1b1)]:return _0x237552['t'](_0x538e88(0x154));case _0x42002e[_0x538e88(0xa2)][_0x538e88(0x16f)]:return _0x237552['t'](_0x538e88(0xab));case _0x42002e[_0x538e88(0xa2)][_0x538e88(0x175)]:return _0x237552['t'](_0x538e88(0x12f));case _0x42002e[_0x538e88(0xa2)][_0x538e88(0x1ae)]:return _0x237552['t'](_0x538e88(0x1ff));default:return _0x237552['t']('mcpConfig.connectionStatus.disconnected');}},_0x29dcf7=_0x5371b9=>{const _0x4f1c7b=_0x28b968;switch(_0x5371b9){case _0x42002e[_0x4f1c7b(0x22e)][_0x4f1c7b(0x1a4)]:return _0x237552['t'](_0x4f1c7b(0x191));case _0x42002e[_0x4f1c7b(0x22e)]['SESSION_ID_OCCUPIED']:return _0x237552['t']('mcpConfig.connectionError.sessionOccupied');case _0x42002e[_0x4f1c7b(0x22e)][_0x4f1c7b(0x1bb)]:return _0x237552['t'](_0x4f1c7b(0x101));case _0x42002e[_0x4f1c7b(0x22e)][_0x4f1c7b(0xa0)]:return _0x237552['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x362052=_0x5d5317[_0x28b968(0xd2)](()=>{const _0x2830be={..._0x25a24c,'apiKey':_0x477538['trim'](),'enableAuth':_0x38554c};_0x44dfca(_0x2830be);},[_0x25a24c,_0x477538,_0x38554c,_0x44dfca]),_0x4c39d3=_0x477538[_0x28b968(0x106)]()[_0x28b968(0xec)]>0x0;return _0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0xcb),'children':[_0x31ab50['jsx'](_0x28b968(0xd8),{'className':_0x28b968(0x197),'children':_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x196),'children':[_0x31ab50['jsx'](_0x28b968(0xd8),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x31ab50['jsx'](_0x28b968(0x194),{'className':_0x28b968(0x11a),'children':'⚙'})}),_0x31ab50[_0x28b968(0x167)]('div',{'children':_0x31ab50['jsx']('p',{'className':_0x28b968(0x21f),'children':_0x237552['t'](_0x28b968(0x1ab))})})]})}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x12c),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x46c599['clsx'](_0x28b968(0xb2),_0xc97910(_0x470e8d,_0x2b4d38)),'children':_0x31ab50['jsxs'](_0x28b968(0xd8),{'className':_0x28b968(0x1ed),'children':[_0x31ab50['jsx']('div',{'className':_0x46c599[_0x28b968(0xe3)](_0x28b968(0x13d),_0x3d6bb4(_0x470e8d,_0x2b4d38))}),_0x31ab50['jsx'](_0x28b968(0x194),{'className':'univer-text-sm\x20univer-font-medium','children':_0x273a6a(_0x470e8d)})]})}),_0x2b4d38!==_0x42002e[_0x28b968(0x22e)][_0x28b968(0x113)]&&(_0x470e8d===_0x42002e[_0x28b968(0xa2)][_0x28b968(0x175)]||_0x2b4d38===_0x42002e[_0x28b968(0x22e)][_0x28b968(0x1a4)])&&_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0x147),'children':_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x142),'children':[_0x31ab50['jsx']('span',{'className':_0x28b968(0x15f),'children':'⚠️'}),_0x31ab50[_0x28b968(0x167)]('p',{'className':_0x28b968(0xf3),'children':_0x29dcf7(_0x2b4d38)})]})})]}),_0x31ab50[_0x28b968(0x167)]('div',{'className':_0x28b968(0x18e),'children':_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':'univer-space-y-5','children':[_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x141),'children':[_0x31ab50[_0x28b968(0xef)](_0x28b968(0xb1),{'className':_0x28b968(0x21d),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'children':'🔑'}),'\x20',_0x237552['t'](_0x28b968(0x161)),_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'className':'univer-text-red-500','children':'*'}),_0x4c31da&&_0x31ab50[_0x28b968(0x167)]('a',{'className':_0x28b968(0xc6),'title':_0x237552['t'](_0x28b968(0xbe)),'role':_0x28b968(0x1d9),'onClick':()=>_0x534ee6(!0x0),'children':_0x31ab50['jsx'](_0x5e76b0,{})})]}),_0x31ab50['jsx'](_0x46c599['Input'],{'type':_0x28b968(0x136),'placeholder':_0x237552['t'](_0x28b968(0x1bc)),'value':_0x477538,'disabled':_0x1dfa26,'autoComplete':_0x28b968(0xa6),'onChange':_0x14a464}),_0x31ab50[_0x28b968(0x167)]('p',{'className':_0x28b968(0xc7),'children':_0x237552['t'](_0x28b968(0x21e))})]}),_0x4c31da&&_0x21ace8&&_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x12b),'children':[_0x31ab50[_0x28b968(0x167)]('a',{'className':_0x28b968(0xe1),'role':_0x28b968(0x1d9),'onClick':()=>_0x534ee6(!0x1),'children':_0x31ab50[_0x28b968(0x167)](_0x12775d,{'className':_0x28b968(0x216)})}),_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x1cc),'children':[_0x31ab50['jsx'](_0x28b968(0xd8),{'className':_0x28b968(0x125),'children':_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'className':'univer-text-blue-600','children':'🚀'})}),_0x31ab50['jsxs'](_0x28b968(0xd8),{'className':_0x28b968(0xed),'children':[_0x31ab50['jsx']('h4',{'className':_0x28b968(0x200),'children':_0x237552['t'](_0x28b968(0xbe))}),_0x31ab50[_0x28b968(0x167)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x237552['t']('mcpConfig.apiApplyInfo.description')}),_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0xad),'children':_0x32381d&&_0x31ab50[_0x28b968(0xef)]('a',{'className':_0x28b968(0xa4),'href':_0x4432e3,'target':_0x28b968(0x111),'rel':_0x28b968(0x218),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'children':'🤖'}),_0x237552['t'](_0x28b968(0x204)),_0x31ab50['jsx'](_0x28b968(0x194),{'className':_0x28b968(0x139),'children':'↗'})]})}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x150),'children':['✨','\x20',_0x237552['t'](_0x28b968(0x201))]})]})]})]}),_0x57df4f[_0x28b968(0x209)]&&_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0xa9),'children':[_0x31ab50[_0x28b968(0xef)]('h4',{'className':_0x28b968(0x137),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'children':'🔗'}),'\x20',_0x237552['t'](_0x28b968(0x1da))]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0xdb),'children':[_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x1f7),'children':[_0x31ab50[_0x28b968(0x167)]('p',{'className':_0x28b968(0xc5),'children':_0x237552['t'](_0x28b968(0xcd))}),_0x31ab50['jsxs']('div',{'className':_0x28b968(0x141),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x237552['t'](_0x28b968(0x128))}),_0x31ab50['jsxs'](_0x28b968(0xd8),{'className':_0x28b968(0x132),'children':[_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x1ed),'children':[_0x31ab50[_0x28b968(0x167)]('span',{'className':_0x28b968(0x170),'children':'1'}),_0x237552['t']('mcpConfig.configStep1')]}),_0x31ab50['jsxs']('div',{'className':_0x28b968(0x1ed),'children':[_0x31ab50[_0x28b968(0x167)]('span',{'className':_0x28b968(0x170),'children':'2'}),_0x237552['t'](_0x28b968(0xe5))]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x1ed),'children':[_0x31ab50[_0x28b968(0x167)]('span',{'className':_0x28b968(0x170),'children':'3'}),_0x237552['t']('mcpConfig.configStep3')]})]})]})]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x141),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x28b968(0x222)}),_0x31ab50['jsx']('div',{'className':_0x28b968(0x189),'children':_0x31ab50['jsx'](_0x28b968(0x164),{'className':_0x28b968(0x11d),'children':JSON[_0x28b968(0xc0)]({'mcpServers':{'univer':{'url':_0x28b968(0x1fb)+(_0x3958a1||_0x28b968(0x174)),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0x477538||_0x28b968(0x156))}}}},null,0x2)})})]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x1f7),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0xbb),'children':_0x237552['t'](_0x28b968(0xa8))}),_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x141),'children':[_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x226),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x31ab50[_0x28b968(0x167)]('div',{'className':_0x28b968(0x182),'children':_0x28b968(0x20c)}),_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x237552['t'](_0x28b968(0x228))})]})]}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0x163)}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'className':_0x28b968(0x221),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0x182),'children':_0x28b968(0x1f6)}),_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0xc7),'children':_0x237552['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x31ab50[_0x28b968(0x167)](_0x46c599['Button'],{'onClick':_0x362052,'disabled':!_0x4c39d3||_0x1dfa26,'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':_0x1dfa26?_0x31ab50[_0x28b968(0xef)](_0x28b968(0x194),{'className':_0x28b968(0x1ed),'children':[_0x31ab50[_0x28b968(0x167)]('span',{'children':'⟲'}),_0x237552['t'](_0x28b968(0x1b3))]}):_0x31ab50[_0x28b968(0xef)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x31ab50['jsx'](_0x17255e,{}),_0x237552['t'](_0x28b968(0x20e))]})}),_0x31ab50[_0x28b968(0x167)]('div',{'className':_0x28b968(0x20d),'children':_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x9a),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0x194),{'className':_0x28b968(0x112),'children':'💡'}),_0x31ab50[_0x28b968(0xef)]('div',{'className':_0x28b968(0x153),'children':[_0x31ab50[_0x28b968(0x167)](_0x28b968(0xd8),{'className':_0x28b968(0xaa),'children':'Configuration\x20Notes:'}),_0x31ab50[_0x28b968(0xef)](_0x28b968(0xd8),{'children':['•',_0x237552['t'](_0x28b968(0x17b))]}),_0x31ab50['jsxs'](_0x28b968(0xd8),{'children':['•',_0x237552['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x125e6e='mcp-ui.config',_0x74df75={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x41a332=Object[_0x14b8e3(0x18c)],_0x3364fc=(_0xd1c01a,_0xaae9c2,_0x45a511,_0x13a842)=>{const _0x5e8bab=_0x14b8e3;for(var _0x58c626=_0x13a842>0x1?void 0x0:_0x13a842?_0x41a332(_0xaae9c2,_0x45a511):_0xaae9c2,_0xd9a6c3=_0xd1c01a[_0x5e8bab(0xec)]-0x1,_0x494416;_0xd9a6c3>=0x0;_0xd9a6c3--)(_0x494416=_0xd1c01a[_0xd9a6c3])&&(_0x58c626=_0x494416(_0x58c626)||_0x58c626);return _0x58c626;},_0x3683fd=(_0x8c35cf,_0x3020de)=>(_0x4eba50,_0xc2564a)=>_0x3020de(_0x4eba50,_0xc2564a,_0x8c35cf);const _0x4b4234='mcp.apiKey',_0x390f03=_0x14b8e3(0xdd);_0x34b242[_0x14b8e3(0xfe)]=class extends _0xfc971[_0x14b8e3(0x103)]{constructor(_0x3b7fcd,_0x57e6fa,_0x194723,_0x2672ed,_0x3feb48,_0x5b1938,_0x4516c3,_0x25c77e,_0x78959c,_0x579ec1){const _0x461234=_0x14b8e3;super(),_0x2580c4(this,_0x461234(0x144),new _0x1435b7[(_0x461234(0xf0))](!0x1)),_0x2580c4(this,'_mcpCoreConfig$',new _0x1435b7['BehaviorSubject']({})),_0x2580c4(this,_0x461234(0x1c9),new _0x1435b7[(_0x461234(0xf0))]({})),_0x2580c4(this,_0x461234(0x1b2),new _0x1435b7[(_0x461234(0xf0))]('')),_0x2580c4(this,'_handleConfigSave',async _0x1ea281=>{const _0x208901=_0x461234;var _0x472820,_0xc6589;this['_loading$'][_0x208901(0x19e)](!0x0);try{const _0xb35100=await this['_validateConfig'](_0x1ea281);if(!_0xb35100[_0x208901(0x177)]){this[_0x208901(0x21a)]['show']({'type':_0x46c599[_0x208901(0xc8)][_0x208901(0xc2)],'content':_0xb35100[_0x208901(0xc1)]||this[_0x208901(0x15d)]['t'](_0x208901(0x1e3))});return;}_0x1ea281[_0x208901(0xf7)]?await this[_0x208901(0x143)]['setItem'](_0x4b4234,_0x1ea281['apiKey']['trim']()):await this[_0x208901(0x143)][_0x208901(0x129)](_0x4b4234),this[_0x208901(0x1b2)][_0x208901(0x19e)](((_0x472820=_0x1ea281[_0x208901(0xf7)])==null?void 0x0:_0x472820[_0x208901(0x106)]())||''),this[_0x208901(0x152)][_0x208901(0xd7)]({'Authorization':_0x208901(0x165)+((_0xc6589=_0x1ea281['apiKey'])==null?void 0x0:_0xc6589[_0x208901(0x106)]())}),this[_0x208901(0x21a)][_0x208901(0x1b5)]({'type':_0x46c599['MessageType'][_0x208901(0xca)],'content':this[_0x208901(0x15d)]['t'](_0x208901(0xf1))}),setTimeout(()=>{const _0x5f020b=_0x208901;this[_0x5f020b(0x146)][_0x5f020b(0x17d)](_0x390f03);},0x320);}catch(_0xdfeddf){this[_0x208901(0xc3)][_0x208901(0x1a6)](_0x208901(0xfb),_0xdfeddf),this[_0x208901(0x21a)][_0x208901(0x1b5)]({'type':_0x46c599[_0x208901(0xc8)][_0x208901(0xc2)],'content':this[_0x208901(0x15d)]['t'](_0x208901(0x1f3))});}finally{this[_0x208901(0x144)]['next'](!0x1);}}),(this[_0x461234(0x122)]=_0x3b7fcd,this[_0x461234(0x17c)]=_0x57e6fa,this[_0x461234(0x207)]=_0x194723,this[_0x461234(0x143)]=_0x2672ed,this[_0x461234(0x146)]=_0x3feb48,this[_0x461234(0x21a)]=_0x5b1938,this['_componentManager']=_0x4516c3,this['_localeService']=_0x25c77e,this['_logService']=_0x78959c,this[_0x461234(0x152)]=_0x579ec1,this['_initConfigSync'](),this['_loadStoredApiKey'](),this['_registerComponent']());}[_0x14b8e3(0x1a0)](){const _0x3b10b0=_0x14b8e3,_0x2032ee=this['_configService'][_0x3b10b0(0xe0)](_0x125e6e);_0x2032ee!=null&&_0x2032ee[_0x3b10b0(0x209)]&&this[_0x3b10b0(0x146)][_0x3b10b0(0x1b9)]({'id':_0x390f03,'title':{'title':this['_localeService']['t'](_0x3b10b0(0xe9))},'children':{'label':_0x3b10b0(0x1db)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x523067=_0x3b10b0;this[_0x523067(0x146)][_0x523067(0x17d)](_0x390f03);}});}[_0x14b8e3(0x14f)](){const _0x263f49=_0x14b8e3;return this[_0x263f49(0xea)][_0x263f49(0x16a)];}[_0x14b8e3(0x134)](){const _0x17cd66=_0x14b8e3;this[_0x17cd66(0x1a2)](this['_componentManager'][_0x17cd66(0x15b)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}[_0x14b8e3(0xb6)](){const _0x147399=_0x14b8e3;return _0x3b1834[_0x147399(0x1d3)](()=>{const _0x223892=_0x147399;var _0xd43ac8,_0x1d3c21,_0xcdacd;return _0x31ab50['jsx'](_0x11536d,{'config':this[_0x223892(0x1c9)][_0x223892(0x16a)],'mcpCoreConfig':this[_0x223892(0xea)][_0x223892(0x16a)],'currentApiKey$':this[_0x223892(0x1b2)],'onSave':this['_handleConfigSave'],'loading':this[_0x223892(0x144)][_0x223892(0x16a)],'connectionStatus$':(_0xd43ac8=this[_0x223892(0x152)])==null?void 0x0:_0xd43ac8[_0x223892(0x10c)],'connectionError$':(_0x1d3c21=this[_0x223892(0x152)])==null?void 0x0:_0x1d3c21[_0x223892(0xa1)],'currentSessionId$':(_0xcdacd=this[_0x223892(0x152)])==null?void 0x0:_0xcdacd[_0x223892(0x176)]});},this['_injector']);}[_0x14b8e3(0x1cd)](){const _0x51dc87=_0x14b8e3;this[_0x51dc87(0x1a2)](this[_0x51dc87(0x207)]['subscribeConfigValue$'](_0x42002e['MCP_PLUGIN_CONFIG_KEY'])[_0x51dc87(0x1b8)](_0x48bb8e=>{const _0x356c98=_0x51dc87;this[_0x356c98(0xea)][_0x356c98(0x19e)](_0x48bb8e||{});}));const _0x1f68b0=this[_0x51dc87(0x207)][_0x51dc87(0xe0)](_0x42002e[_0x51dc87(0x18a)]);this[_0x51dc87(0xea)][_0x51dc87(0x19e)](_0x1f68b0||{}),this[_0x51dc87(0x1a2)](this[_0x51dc87(0x207)][_0x51dc87(0x126)](_0x125e6e)[_0x51dc87(0x1b8)](_0x4a2948=>{const _0x39de35=_0x51dc87;this['_config$'][_0x39de35(0x19e)](_0x4a2948||{});}));const _0x177897=this[_0x51dc87(0x207)][_0x51dc87(0xe0)](_0x125e6e);this[_0x51dc87(0x1c9)][_0x51dc87(0x19e)](_0x177897||{});}async['_loadStoredApiKey'](){const _0x320db4=_0x14b8e3,_0x404871=this[_0x320db4(0x207)][_0x320db4(0xe0)](_0x125e6e);if(!(_0x404871!=null&&_0x404871[_0x320db4(0x209)]))return;const _0x28c2dd=await this[_0x320db4(0x143)][_0x320db4(0x210)](_0x4b4234);_0x28c2dd&&(this[_0x320db4(0x152)][_0x320db4(0xd7)]({'Authorization':'Bearer\x20'+_0x28c2dd}),this[_0x320db4(0x1b2)][_0x320db4(0x19e)](_0x28c2dd));}async[_0x14b8e3(0x1f8)](_0x4ab4e4){const _0x380903=_0x14b8e3;if(!_0x4ab4e4[_0x380903(0xf7)]||_0x4ab4e4['apiKey'][_0x380903(0x106)]()[_0x380903(0xec)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x380903(0x15d)]['t'](_0x380903(0xa3))};if(_0x4ab4e4[_0x380903(0xf7)][_0x380903(0x106)]()[_0x380903(0xec)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x380903(0x15d)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x2119f7=await this['_injector'][_0x380903(0xd5)](_0x42002e['MCPConnectionController'])[_0x380903(0x220)](_0x4ab4e4[_0x380903(0xf7)]['trim']());return _0x2119f7[_0x380903(0x177)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2119f7[_0x380903(0x1a6)]||this[_0x380903(0x15d)]['t'](_0x380903(0xac))};}catch(_0xf286b){return console[_0x380903(0x212)](_0x380903(0xd0),_0xf286b),{'isValid':!0x0};}}},_0x34b242['MCPConfigUIController']=_0x3364fc([_0x3683fd(0x0,_0xfc971[_0x14b8e3(0x9c)](_0xfc971[_0x14b8e3(0x20f)])),_0x3683fd(0x1,_0x3b1834[_0x14b8e3(0x10f)]),_0x3683fd(0x2,_0xfc971['IConfigService']),_0x3683fd(0x3,_0xfc971[_0x14b8e3(0x214)]),_0x3683fd(0x4,_0x3b1834['IDialogService']),_0x3683fd(0x5,_0x3b1834['IMessageService']),_0x3683fd(0x6,_0xfc971[_0x14b8e3(0x9c)](_0x3b1834[_0x14b8e3(0xf8)])),_0x3683fd(0x7,_0xfc971[_0x14b8e3(0x9c)](_0xfc971['LocaleService'])),_0x3683fd(0x8,_0xfc971[_0x14b8e3(0x180)]),_0x3683fd(0x9,_0xfc971[_0x14b8e3(0x9c)](_0x42002e[_0x14b8e3(0x1e9)]))],_0x34b242[_0x14b8e3(0xfe)]);const _0x2987d5={'id':_0x14b8e3(0x1ba),'type':_0xfc971['CommandType'][_0x14b8e3(0x162)],'handler':async(_0x549fa2,_0x2145db)=>(_0x549fa2[_0x14b8e3(0xd5)](_0x34b242[_0x14b8e3(0xfe)])['showConfigPanel'](),!0x0)};function _0x120f28(_0x48351c,_0x4fe916){const _0x4fb567=_0x14b8e3;switch(_0x48351c){case _0x42002e[_0x4fb567(0xa2)][_0x4fb567(0x16c)]:return _0x4fb567(0x1bf);case _0x42002e[_0x4fb567(0xa2)][_0x4fb567(0x16f)]:return _0x4fb567(0x130);case _0x42002e[_0x4fb567(0xa2)][_0x4fb567(0x1b1)]:return _0x4fb567(0x1dd);case _0x42002e['MCPConnectionStatus'][_0x4fb567(0x175)]:switch(_0x4fe916){case _0x42002e[_0x4fb567(0x22e)][_0x4fb567(0x1a4)]:return _0x4fb567(0x21c);case _0x42002e[_0x4fb567(0x22e)][_0x4fb567(0xce)]:return'mcpStatus.sessionOccupied';case _0x42002e[_0x4fb567(0x22e)][_0x4fb567(0x1bb)]:return'mcpStatus.networkError';case _0x42002e['MCPConnectionError'][_0x4fb567(0xa0)]:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case _0x42002e[_0x4fb567(0xa2)]['RETRYING']:return _0x4fb567(0x199);default:return _0x4fb567(0x16e);}}function _0xeada4f(_0x19bfa6,_0x25ace7,_0x5684f1,_0x2f7140=!0x0){const _0x3c102e=_0x14b8e3,_0x4f09dd=_0x120f28(_0x19bfa6,_0x25ace7),_0x28a00b=_0x5684f1['t'](_0x4f09dd);return _0x2f7140?_0x19bfa6===_0x42002e[_0x3c102e(0xa2)][_0x3c102e(0x16c)]&&_0x25ace7===_0x42002e['MCPConnectionError'][_0x3c102e(0x1a4)]?_0x28a00b+_0x3c102e(0x1e6)+_0x5684f1['t'](_0x3c102e(0x14c)):_0x19bfa6===_0x42002e['MCPConnectionStatus']['CONNECTED']?''+_0x28a00b:_0x19bfa6===_0x42002e['MCPConnectionStatus'][_0x3c102e(0x16c)]||_0x19bfa6===_0x42002e['MCPConnectionStatus']['FAILED']?_0x28a00b+_0x3c102e(0x1e6)+_0x5684f1['t']('mcpStatus.clickToConnect'):_0x28a00b:_0x28a00b;}function _0x1c9da1(_0x503276){const _0x11a217=_0x14b8e3;switch(_0x503276){case _0x42002e[_0x11a217(0xa2)][_0x11a217(0x1b1)]:return _0x11a217(0x20b);case _0x42002e[_0x11a217(0xa2)][_0x11a217(0x16f)]:case _0x42002e[_0x11a217(0xa2)][_0x11a217(0x1ae)]:return _0x11a217(0x215);case _0x42002e['MCPConnectionStatus'][_0x11a217(0x175)]:case _0x42002e['MCPConnectionStatus'][_0x11a217(0x16c)]:return _0x11a217(0xf6);default:return _0x11a217(0x187);}}function _0x6231b5(_0x545197){const _0x1d01c3=_0x14b8e3,{status$:_0x27e8ce,error$:_0x32563b,onConfigure:_0x5219ec,showClickable:_0x4a95c2=!0x0}=_0x545197,_0x2d66ac=_0x3b1834[_0x1d01c3(0x1be)](_0x27e8ce,_0x42002e[_0x1d01c3(0xa2)][_0x1d01c3(0x16c)]),_0x1497b8=_0x3b1834['useObservable'](_0x32563b,_0x42002e['MCPConnectionError'][_0x1d01c3(0x113)]),_0x2a2da7=_0x3b1834[_0x1d01c3(0x1e1)](_0xfc971['LocaleService']),_0x32be42=_0x2d66ac===_0x42002e[_0x1d01c3(0xa2)][_0x1d01c3(0x1b1)];_0x2d66ac===_0x42002e['MCPConnectionStatus'][_0x1d01c3(0x16f)]||_0x42002e[_0x1d01c3(0xa2)][_0x1d01c3(0x1ae)];const _0x11eeaa=_0x2a2da7['t'](_0x120f28(_0x2d66ac,_0x1497b8)),_0x23149e=_0xeada4f(_0x2d66ac,_0x1497b8,_0x2a2da7,_0x4a95c2),_0x4e9b5f=_0x1c9da1(_0x2d66ac),_0x2e7a22=_0x32be42?_0x31ab50['jsx'](_0x5c2f6e,{}):_0x31ab50[_0x1d01c3(0x167)](_0x1abb0c,{}),_0x4c75bc=_0x5d5317['useCallback'](()=>{_0x4a95c2&&_0x5219ec&&_0x5219ec();},[_0x4a95c2,_0x5219ec]);function _0x46b38c(){const _0x4f2464=_0x1d01c3;return _0x31ab50['jsxs'](_0x4f2464(0xd8),{'className':_0x46c599[_0x4f2464(0xe3)]('univer-flex\x20univer-items-center',_0x4a95c2&&_0x5219ec&&'\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':_0x4f2464(0x1d9),'onClick':_0x4a95c2&&_0x5219ec?_0x4c75bc:void 0x0,'children':[_0x31ab50[_0x4f2464(0x167)](_0x4f2464(0xd8),{'className':_0x46c599[_0x4f2464(0xe3)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x4e9b5f),'children':_0x2e7a22}),_0x31ab50[_0x4f2464(0x167)](_0x4f2464(0xd8),{'className':_0x4f2464(0x120),'children':_0x11eeaa})]});}return _0x31ab50[_0x1d01c3(0x167)](_0x46c599['Tooltip'],{'title':_0x23149e,'placement':_0x1d01c3(0xaf),'children':_0x46b38c()});}var _0x5f0327=Object[_0x14b8e3(0x18c)],_0x541963=(_0x2e365e,_0x56ae4b,_0x4e084c,_0x57df15)=>{const _0xab4fac=_0x14b8e3;for(var _0x54d48a=_0x57df15>0x1?void 0x0:_0x57df15?_0x5f0327(_0x56ae4b,_0x4e084c):_0x56ae4b,_0x36089a=_0x2e365e[_0xab4fac(0xec)]-0x1,_0x124c82;_0x36089a>=0x0;_0x36089a--)(_0x124c82=_0x2e365e[_0x36089a])&&(_0x54d48a=_0x124c82(_0x54d48a)||_0x54d48a);return _0x54d48a;},_0x1f704b=(_0x130735,_0x444cc5)=>(_0x2e84c5,_0x10b29a)=>_0x444cc5(_0x2e84c5,_0x10b29a,_0x130735);_0x34b242['MCPConnectionUIController']=class extends _0xfc971[_0x14b8e3(0x103)]{constructor(_0x301a8c,_0x330c60,_0x49215d,_0x39887a){const _0x42eb06=_0x14b8e3;super(),this[_0x42eb06(0x122)]=_0x301a8c,this[_0x42eb06(0x14a)]=_0x330c60,this[_0x42eb06(0x17c)]=_0x49215d,this[_0x42eb06(0x207)]=_0x39887a,this[_0x42eb06(0xb0)](),this[_0x42eb06(0x208)]();}[_0x14b8e3(0xb0)](){const _0x19318d=_0x14b8e3,_0x1c8880=this[_0x19318d(0x207)][_0x19318d(0xe0)](_0x125e6e);_0x1c8880!=null&&_0x1c8880[_0x19318d(0x209)]&&(this['_connectionController'][_0x19318d(0x1a5)]=!0x1);}[_0x14b8e3(0x208)](){const _0x407118=_0x14b8e3,_0x4593bb=this[_0x407118(0x207)][_0x407118(0xe0)](_0x125e6e);(_0x4593bb==null?void 0x0:_0x4593bb[_0x407118(0x9d)])!==!0x1&&this[_0x407118(0x1a2)](this[_0x407118(0x17c)][_0x407118(0xd3)](_0x3b1834[_0x407118(0x17e)][_0x407118(0x18b)],()=>{const _0x165733=_0x407118;var _0x208f45;return _0x3b1834[_0x165733(0x1d3)](_0x1c490a({'status$':this[_0x165733(0x14a)]['connectionStatus$'],'error$':this['_connectionController'][_0x165733(0xa1)],'onConfigure':()=>this[_0x165733(0xde)](),'showClickable':(_0x208f45=_0x4593bb==null?void 0x0:_0x4593bb['showDeveloperTools'])!=null?_0x208f45:!0x1}),this[_0x165733(0x122)]);}));}[_0x14b8e3(0xde)](){const _0x3a8b96=_0x14b8e3;this[_0x3a8b96(0x122)]['get'](_0x34b242[_0x3a8b96(0xfe)])['showConfigPanel']();}},_0x34b242[_0x14b8e3(0x1a7)]=_0x541963([_0x1f704b(0x0,_0xfc971[_0x14b8e3(0x9c)](_0xfc971[_0x14b8e3(0x20f)])),_0x1f704b(0x1,_0xfc971['Inject'](_0x42002e[_0x14b8e3(0x1e9)])),_0x1f704b(0x2,_0x3b1834[_0x14b8e3(0x10f)]),_0x1f704b(0x3,_0xfc971[_0x14b8e3(0x183)])],_0x34b242['MCPConnectionUIController']);function _0x1c490a(_0x5fb87a){const {status$:_0x3b7948,error$:_0x1cdb21,onConfigure:_0x3895ff,showClickable:_0xc5d4de}=_0x5fb87a;return function(){const _0x29a954=_0x53bf;return _0x31ab50[_0x29a954(0x167)](_0x6231b5,{'status$':_0x3b7948,'error$':_0x1cdb21,'onConfigure':_0x3895ff,'showClickable':_0xc5d4de});};}function _0x317412(_0x1dcd16){const _0x3855ce=_0x14b8e3;return{'id':_0x2987d5['id'],'type':_0x3b1834[_0x3855ce(0xbd)][_0x3855ce(0x1ec)],'icon':_0x3855ce(0x1c6),'title':_0x3855ce(0xe9),'tooltip':'mcpConfig.title'};}const _0x14166d={[_0x3b1834[_0x14b8e3(0x1c2)][_0x14b8e3(0x1f0)]]:{[_0x2987d5['id']]:{'order':0xa,'menuItemFactory':_0x317412}}};var _0x26033e=Object[_0x14b8e3(0x18c)],_0x21e1f0=(_0x4a4eed,_0x5c1ffa,_0x2114f5,_0x4b8073)=>{for(var _0xa7a7b3=_0x4b8073>0x1?void 0x0:_0x4b8073?_0x26033e(_0x5c1ffa,_0x2114f5):_0x5c1ffa,_0x31b6fa=_0x4a4eed['length']-0x1,_0x5b3ba5;_0x31b6fa>=0x0;_0x31b6fa--)(_0x5b3ba5=_0x4a4eed[_0x31b6fa])&&(_0xa7a7b3=_0x5b3ba5(_0xa7a7b3)||_0xa7a7b3);return _0xa7a7b3;},_0x5e5384=(_0x478445,_0x5d0821)=>(_0x13328c,_0x3b32c6)=>_0x5d0821(_0x13328c,_0x3b32c6,_0x478445);_0x34b242['MCPUIMenuController']=class extends _0xfc971[_0x14b8e3(0x103)]{constructor(_0x2795f5,_0x5adbcb){const _0x57902d=_0x14b8e3;super(),this[_0x57902d(0x1bd)]=_0x2795f5,this['_menuManagerService']=_0x5adbcb,this[_0x57902d(0x1fc)](),this[_0x57902d(0x107)]();}['_initializeCommands'](){const _0x408a3d=_0x14b8e3;[_0x2987d5][_0x408a3d(0x1e2)](_0x356db0=>{const _0x186cb0=_0x408a3d;this['disposeWithMe'](this[_0x186cb0(0x1bd)][_0x186cb0(0xcf)](_0x356db0));});}[_0x14b8e3(0x107)](){const _0xe31d58=_0x14b8e3;this[_0xe31d58(0x1d8)][_0xe31d58(0x149)](_0x14166d);}},_0x34b242[_0x14b8e3(0xdf)]=_0x21e1f0([_0x5e5384(0x0,_0xfc971['ICommandService']),_0x5e5384(0x1,_0x3b1834['IMenuManagerService'])],_0x34b242[_0x14b8e3(0xdf)]);const _0x287ff9={'mcpStatus':{'disconnected':_0x14b8e3(0x109),'connecting':_0x14b8e3(0x1e8),'connected':_0x14b8e3(0xe6),'failed':'MCP\x20Connection\x20Failed','retrying':_0x14b8e3(0x1d5),'unknown':_0x14b8e3(0xd1),'unauthorized':_0x14b8e3(0xf9),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x14b8e3(0x13a),'maxRetriesExceeded':_0x14b8e3(0x205),'clickToConnect':_0x14b8e3(0xb7),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x14b8e3(0x222),'description':_0x14b8e3(0xb8),'apiKey':_0x14b8e3(0x181),'apiKeyPlaceholder':_0x14b8e3(0xfc),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x14b8e3(0xe4),'enableAuthHint':_0x14b8e3(0x10e),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x14b8e3(0x185),'configInstructions':_0x14b8e3(0x12a),'configStepTitle':_0x14b8e3(0xbc),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x14b8e3(0x1fe),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x14b8e3(0x230),'sessionIdDescription':_0x14b8e3(0xfd),'authorizationDescription':_0x14b8e3(0xe8),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x14b8e3(0x110),'save':_0x14b8e3(0x22a),'saving':_0x14b8e3(0x18f),'note1':_0x14b8e3(0x1a8),'note2':_0x14b8e3(0x12d),'configSaved':_0x14b8e3(0x17a),'configError':_0x14b8e3(0x1d1),'apiApplyInfo':{'title':_0x14b8e3(0x105),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x14b8e3(0x1ad),'apiKeyTooShort':_0x14b8e3(0xcc),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x14b8e3(0x1c3)},'connectionStatus':{'disconnected':_0x14b8e3(0x11f),'connecting':_0x14b8e3(0x13f),'connected':_0x14b8e3(0x1fa),'failed':'Connection\x20Failed','retrying':_0x14b8e3(0x1cf)},'connectionError':{'unauthorized':_0x14b8e3(0x13e),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x14b8e3(0x159),'maxRetriesExceeded':_0x14b8e3(0x179)}}},_0x3ae8f1={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x14b8e3(0x1ac),'connected':_0x14b8e3(0x15c),'failed':_0x14b8e3(0x1f4),'retrying':_0x14b8e3(0x158),'unknown':_0x14b8e3(0x19a),'unauthorized':_0x14b8e3(0xc9),'sessionOccupied':_0x14b8e3(0x13c),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x14b8e3(0x1d6),'clickToConfigure':_0x14b8e3(0x166)},'mcpConfig':{'title':_0x14b8e3(0x1e5),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x14b8e3(0x1e4),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x14b8e3(0x1eb),'enableAuth':_0x14b8e3(0x225),'enableAuthHint':_0x14b8e3(0x14e),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x14b8e3(0xd4),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x14b8e3(0x172),'configStep3':_0x14b8e3(0x19d),'sessionId':_0x14b8e3(0x15a),'sessionIdDescription':_0x14b8e3(0x11c),'authorizationDescription':_0x14b8e3(0x22c),'configParameters':_0x14b8e3(0xb4),'maxRetries':_0x14b8e3(0x135),'save':_0x14b8e3(0x1f9),'saving':_0x14b8e3(0x14d),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x14b8e3(0x151),'configError':_0x14b8e3(0xd9),'apiApplyInfo':{'title':_0x14b8e3(0x184),'description':_0x14b8e3(0xa5),'univerAiLabel':_0x14b8e3(0x1ca),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x14b8e3(0x188),'apiKeyTooShort':_0x14b8e3(0x1b6),'invalidConfig':_0x14b8e3(0x16d),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x14b8e3(0x169),'connecting':_0x14b8e3(0x1b4),'connected':_0x14b8e3(0x148),'failed':_0x14b8e3(0x223),'retrying':_0x14b8e3(0x1d4)},'connectionError':{'unauthorized':_0x14b8e3(0xa7),'sessionOccupied':_0x14b8e3(0x19b),'networkError':_0x14b8e3(0x104),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x13ead4=Object[_0x14b8e3(0xda)],_0x3a7e81=Object[_0x14b8e3(0x18c)],_0x42b575=(_0x2396b2,_0x435996,_0x40dba5)=>_0x435996 in _0x2396b2?_0x13ead4(_0x2396b2,_0x435996,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40dba5}):_0x2396b2[_0x435996]=_0x40dba5,_0x92c027=(_0x3f472e,_0x402495,_0xaf5218,_0x300897)=>{const _0xd0f66b=_0x14b8e3;for(var _0x28052a=_0x300897>0x1?void 0x0:_0x300897?_0x3a7e81(_0x402495,_0xaf5218):_0x402495,_0x402ed5=_0x3f472e[_0xd0f66b(0xec)]-0x1,_0x58cee6;_0x402ed5>=0x0;_0x402ed5--)(_0x58cee6=_0x3f472e[_0x402ed5])&&(_0x28052a=_0x58cee6(_0x28052a)||_0x28052a);return _0x28052a;},_0x84ef0e=(_0x534503,_0x286698)=>(_0x31b8b0,_0x121ff7)=>_0x286698(_0x31b8b0,_0x121ff7,_0x534503),_0x523dc2=(_0x2ff9f3,_0x5bfe8a,_0x29f4a6)=>_0x42b575(_0x2ff9f3,_0x5bfe8a+'',_0x29f4a6);_0x34b242['UniverMCPUIPlugin']=class extends _0xfc971['Plugin']{constructor(_0x305209=_0x74df75,_0x3783da,_0x23139d,_0x27719c,_0x3bfa8a,_0x46375b){const _0x240c56=_0x14b8e3;super(),this[_0x240c56(0x118)]=_0x305209,this[_0x240c56(0x122)]=_0x3783da,this[_0x240c56(0x207)]=_0x23139d,this[_0x240c56(0x17c)]=_0x27719c,this[_0x240c56(0x143)]=_0x3bfa8a,this['_localeService']=_0x46375b;const {..._0x2f85d9}=_0xfc971[_0x240c56(0x20a)]({},_0x74df75,this['_config']);this[_0x240c56(0x207)][_0x240c56(0xbf)](_0x125e6e,_0x2f85d9);}async[_0x14b8e3(0x1b0)](){const _0x505db3=_0x14b8e3,_0x323c24=[[_0x34b242[_0x505db3(0x1a7)]],[_0x34b242['MCPConfigUIController']],[_0x34b242[_0x505db3(0xdf)]]];this['_injector'][_0x505db3(0x193)](_0x3c2b79[_0x505db3(0x1ef)])||_0x323c24[_0x505db3(0x9f)]([_0x3c2b79['ISocketService'],{'useClass':_0x3c2b79[_0x505db3(0xf2)]}]),_0x323c24['forEach'](_0x395915=>this[_0x505db3(0x122)][_0x505db3(0xee)](_0x395915)),this['_injector'][_0x505db3(0xd5)](_0x34b242[_0x505db3(0x1a7)]),this[_0x505db3(0x122)][_0x505db3(0xd5)](_0x34b242[_0x505db3(0xfe)]),this['_injector'][_0x505db3(0xd5)](_0x34b242[_0x505db3(0xdf)]);}},_0x523dc2(_0x34b242[_0x14b8e3(0x1e7)],_0x14b8e3(0xf5),'MCP_UI_PLUGIN'),_0x34b242['UniverMCPUIPlugin']=_0x92c027([_0xfc971[_0x14b8e3(0x213)](_0x42002e[_0x14b8e3(0x1a3)]),_0x84ef0e(0x1,_0xfc971[_0x14b8e3(0x9c)](_0xfc971[_0x14b8e3(0x20f)])),_0x84ef0e(0x2,_0xfc971['IConfigService']),_0x84ef0e(0x3,_0x3b1834[_0x14b8e3(0x10f)]),_0x84ef0e(0x4,_0xfc971[_0x14b8e3(0x214)]),_0x84ef0e(0x5,_0xfc971[_0x14b8e3(0x9c)](_0xfc971[_0x14b8e3(0x10a)]))],_0x34b242[_0x14b8e3(0x1e7)]),_0x34b242['MCPConfigPanel']=_0x11536d,_0x34b242[_0x14b8e3(0x1a1)]=_0x6231b5,_0x34b242[_0x14b8e3(0xb5)]=_0x2987d5,_0x34b242['enUS']=_0x287ff9,_0x34b242['zhCN']=_0x3ae8f1,Object['defineProperty'](_0x34b242,Symbol['toStringTag'],{'value':'Module'});}));function _0x3ffc(){const _0x103041=['_handleConfigure','MCPUIMenuController','getConfig','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','0\x200\x2016\x2016','clsx','Enable\x20Authentication','mcpConfig.configStep2','MCP\x20Connected','entries','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.title','_mcpCoreConfig$','UniverProMcp','length','univer-flex-1','add','jsxs','BehaviorSubject','mcpConfig.configSaved','WebSocketService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','UniverUi','pluginName','univer-text-red-500','apiKey','ComponentManager','MCP:\x20Unauthorized','4954551NYRMjo','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Enter\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCPConfigUIController','colorChannel1','M0\x200H16V16H0z','mcpConfig.connectionError.networkError','https://console.univer.ai','Disposable','网络连接错误,请检查您的网络连接','What\x20is\x20API\x20Key?','trim','_initializeMenus','univer-bg-red-500','MCP\x20Disconnected','LocaleService','@univerjs/ui','connectionStatus$','@univerjs-pro/mcp','Enable\x20authentication\x20for\x20secure\x20connections','IUIPartsService','Max\x20Retries','_blank','univer-shrink-0\x20univer-text-blue-500','NONE','2270944bEHyOT','xlink:href','HelpIcon','univer.ai','_config','assign','univer-text-white','use','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','url(#on-line-icon_clip0_910_349)','Disconnected','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children','_injector','101IPRNhe','string','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','subscribeConfigValue$','symbol','mcpConfig.configStepTitle','removeItem','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','evenodd','mcpConfig.connectionStatus.failed','mcpStatus.connecting','10178cJnWUR','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','current','_registerComponent','最大重试次数','text','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','function','univer-text-gray-400','MCP:\x20Network\x20Error','0\x200\x2017\x2016','MCP:\x20会话\x20ID\x20已被占用','univer-size-2\x20univer-rounded-full','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','OnLineIcon','univer-space-y-2','univer-flex\x20univer-items-start\x20univer-gap-2','_localStorageService','_loading$','on-line-icon_clip0_910_349','_dialogService','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','已连接','mergeMenu','_connectionController','url(#off-line-icon_clip0_910_343)','mcpStatus.clickToConfigure','保存中...','启用身份验证以获得安全连接','getCurrentConfig','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','配置保存成功','_mcpConnectionController','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.connectionStatus.connected','useState','<API_KEY>','@univerjs/network','MCP\x20重连中...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','会话ID','register','MCP\x20已连接','_localeService','1em','univer-shrink-0\x20univer-text-red-500','clipPath','mcpConfig.apiKey','COMMAND','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','pre','Bearer\x20','点击配置\x20MCP','jsx','6732770DNTCNb','未连接','value','react','DISCONNECTED','配置无效','mcpStatus.unknown','CONNECTING','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','11320iABnAE','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','<SESSION_ID>','FAILED','sessionId$','isValid','rxjs','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','mcpConfig.note1','_uiPartsService','close','BuiltInUIPart','createElement','ILogService','API\x20Key','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','IConfigService','什么是\x20API\x20密钥?','MCP\x20Client\x20Configuration','includes','univer-text-gray-500','API\x20密钥不能为空','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP_PLUGIN_CONFIG_KEY','HEADER_MENU','getOwnPropertyDescriptor','React','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Saving...','forwardRef','mcpConfig.connectionError.unauthorized','url(#$1','has','span','CloseIcon','univer-flex\x20univer-items-center\x20univer-gap-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-bg-blue-500','mcpStatus.retrying','MCP\x20状态未知','会话\x20ID\x20已被占用,请稍后再试','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','重启您的\x20MCP\x20客户端以使配置生效','next','http://www.w3.org/2000/svg','showConfigPanel','MCPStatusDisplay','disposeWithMe','UniverMCPPlugin','UNAUTHORIZED','enableAutoConnect','error','MCPConnectionUIController','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','off-line-icon','path','mcpConfig.description','MCP\x20连接中...','API\x20key\x20is\x20required','RETRYING','univer-bg-green-500','onStarting','CONNECTED','_apiKey$','mcpConfig.saving','连接中...','show','API\x20密钥长度至少需要\x2010\x20位','check-mark-icon','subscribe','open','mcp-ui.command.openConfigPanel','NETWORK_ERROR','mcpConfig.apiKeyPlaceholder','_commandService','useObservable','mcpStatus.disconnected','univer.plus','random','RibbonStartGroup','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','UniverIcon','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','MenuIcon','displayName','fill','_config$','Univer\x20AI\x20控制台','univer-bg-gray-500','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_initConfigSync','close-icon','Retrying...','mask','Failed\x20to\x20save\x20configuration','svg','connectInjector','重连中...','MCP\x20Retrying...','点击连接\x20MCP','UniverNetwork','_menuManagerService','button','mcpConfig.connectionInfo','MCPConfigPanel','amd','mcpStatus.connected','help-icon','@univerjs/core','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','useDependency','forEach','mcpConfig.validation.invalidConfig','API\x20密钥','MCP\x20配置','\x20-\x20','UniverMCPUIPlugin','MCP\x20Connecting...','MCPConnectionController','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','您的\x20API\x20密钥将在此浏览器中本地存储','BUTTON','univer-flex\x20univer-items-center\x20univer-gap-2','tag','ISocketService','OTHERS','defIds','CheckMarkIcon','mcpConfig.configError','MCP\x20连接失败','map','Authorization:','univer-space-y-3','_validateConfig','保存配置','Connected','https://mcp.univer.ai/mcp/?univer_session_id=','_initializeCommands','368bnUxUB','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpConfig.connectionStatus.retrying','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.apiApplyInfo.getStarted','9WXPrTq','1384070ZDfZYz','mcpConfig.apiApplyInfo.univerAiLabel','MCP:\x20Max\x20Retries\x20Exceeded','@univerjs/design','_configService','_initStatusComponent','showDeveloperTools','merge','univer-text-green-500','univer_session_id:','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.save','Injector','getItem','attrs','warn','DependentOn','ILocalStorageService','univer-text-yellow-500','univer-size-4','idSuffix','noopener\x20noreferrer','univerjs-icon\x20univerjs-icon-','_messageService','useRef','mcpStatus.unauthorized','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.apiKeyHint','univer-text-sm\x20univer-text-gray-500','validateApiKey','univer-min-w-0\x20univer-flex-1','MCP\x20Configuration','连接失败','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','启用身份验证','univer-flex\x20univer-items-start\x20univer-gap-3','1047dnYypy','mcpConfig.sessionIdDescription','object','Save\x20Configuration','off-line-icon_clip0_910_343','带有\x20Bearer\x20前缀的\x20API\x20密钥。','defs','MCPConnectionError','none','Session\x20ID','univer-flex\x20univer-gap-3','round','Inject','showStatus','substring','push','MAX_RETRIES_EXCEEDED','connectionError$','MCPConnectionStatus','mcpConfig.validation.apiKeyRequired','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','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','off','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.configParameters','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-font-medium','mcpConfig.connectionStatus.connecting','mcpConfig.validation.invalidApiKey','univer-flex\x20univer-flex-wrap\x20univer-gap-2','white','bottom','_initAutoConnect','label','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','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','配置参数:','OpenMCPConfigPanelCommand','_createConfigPanelComponent','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1038DJilks','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','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Configuration\x20Steps:','MenuItemType','mcpConfig.apiApplyInfo.title','setConfig','stringify','errorMessage','Error','_logService','replace','univer-text-xs\x20univer-text-gray-600','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','univer-text-xs\x20univer-text-gray-500','MessageType','MCP:\x20未授权','Success','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.configInstructions','SESSION_ID_OCCUPIED','registerCommand','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','MCP\x20Unknown\x20Status','useCallback','registerComponent','配置步骤:','get','mcpServerUrl','__setCustomHeaders','div','配置保存失败','defineProperty','univer-space-y-4','currentColor','mcp-config-dialog'];_0x3ffc=function(){return _0x103041;};return _0x3ffc();}