@univerjs-pro/mcp-ui 0.12.4-insiders.20251213-692494c → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +7 -7
@@ -1 +1 @@
1
- const _0x300c15=_0x59dc;function _0x59dc(_0x27c1ae,_0xf303ea){_0x27c1ae=_0x27c1ae-0x16e;const _0x228308=_0x2283();let _0x59dc85=_0x228308[_0x27c1ae];return _0x59dc85;}(function(_0x40b7e1,_0x18141e){const _0x35aa4a=_0x59dc,_0x30551e=_0x40b7e1();while(!![]){try{const _0x43b9c6=-parseInt(_0x35aa4a(0x1a1))/0x1*(-parseInt(_0x35aa4a(0x19c))/0x2)+-parseInt(_0x35aa4a(0x187))/0x3*(parseInt(_0x35aa4a(0x18d))/0x4)+-parseInt(_0x35aa4a(0x181))/0x5*(-parseInt(_0x35aa4a(0x18a))/0x6)+-parseInt(_0x35aa4a(0x17b))/0x7*(parseInt(_0x35aa4a(0x198))/0x8)+parseInt(_0x35aa4a(0x17e))/0x9*(parseInt(_0x35aa4a(0x184))/0xa)+-parseInt(_0x35aa4a(0x18f))/0xb+parseInt(_0x35aa4a(0x19e))/0xc*(parseInt(_0x35aa4a(0x174))/0xd);if(_0x43b9c6===_0x18141e)break;else _0x30551e['push'](_0x30551e['shift']());}catch(_0x128dd1){_0x30551e['push'](_0x30551e['shift']());}}}(_0x2283,0x40b83));const e={'mcpStatus':{'disconnected':_0x300c15(0x179),'connecting':_0x300c15(0x1a3),'connected':_0x300c15(0x197),'failed':_0x300c15(0x172),'retrying':'MCP\x20재시도\x20중...','unknown':_0x300c15(0x175),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x300c15(0x18e),'networkError':_0x300c15(0x17f),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':_0x300c15(0x16e),'clickToConfigure':_0x300c15(0x193)},'mcpConfig':{'title':_0x300c15(0x192),'description':_0x300c15(0x173),'apiKey':_0x300c15(0x196),'apiKeyPlaceholder':_0x300c15(0x17a),'apiKeyHint':_0x300c15(0x18c),'enableAuth':'인증\x20활성화','enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':_0x300c15(0x16f),'mcpClientConfig':_0x300c15(0x16f),'configInstructions':_0x300c15(0x1a5),'configStepTitle':_0x300c15(0x19f),'configStep1':_0x300c15(0x19a),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x300c15(0x171),'sessionId':_0x300c15(0x1a0),'sessionIdDescription':_0x300c15(0x170),'authorizationDescription':_0x300c15(0x182),'configParameters':_0x300c15(0x194),'maxRetries':_0x300c15(0x195),'save':_0x300c15(0x191),'saving':_0x300c15(0x183),'note1':_0x300c15(0x176),'note2':_0x300c15(0x17c),'configSaved':_0x300c15(0x19b),'configError':_0x300c15(0x185),'apiApplyInfo':{'title':_0x300c15(0x19d),'description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':_0x300c15(0x1a2),'getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x300c15(0x177),'apiKeyTooShort':_0x300c15(0x1a4),'invalidConfig':_0x300c15(0x188),'invalidApiKey':_0x300c15(0x190)},'connectionStatus':{'disconnected':_0x300c15(0x178),'connecting':_0x300c15(0x180),'connected':_0x300c15(0x199),'failed':'연결\x20실패','retrying':_0x300c15(0x18b)},'connectionError':{'unauthorized':_0x300c15(0x17d),'sessionOccupied':_0x300c15(0x186),'networkError':_0x300c15(0x189),'maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};export{e as default};function _0x2283(){const _0x62459c=['아래\x20JSON\x20설정\x20복사','설정이\x20성공적으로\x20저장되었습니다','2504Aazvhx','API\x20키란\x20무엇인가요?','5261448FAPpRt','설정\x20단계:','세션\x20ID','175Fsoqjn','Univer\x20AI\x20콘솔','MCP\x20연결\x20중...','API\x20키는\x2010자\x20이상이어야\x20합니다','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','클릭하여\x20MCP\x20연결','MCP\x20클라이언트\x20설정','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','MCP\x20연결\x20실패','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','13QFQkTm','MCP\x20알\x20수\x20없는\x20상태','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','API\x20키는\x20필수입니다','연결\x20끊김','MCP\x20연결\x20끊김','API\x20키를\x20입력하세요','21zTWpTW','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','인증\x20실패.\x20API\x20키를\x20확인하세요','70281FKspde','MCP:\x20네트워크\x20오류','연결\x20중...','547530ymNNxX','Bearer\x20접두사가\x20있는\x20API\x20키.','저장\x20중...','90QiiyJG','설정\x20저장\x20실패','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','74412qepJuS','유효하지\x20않은\x20설정','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','6zggpHU','재시도\x20중...','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','40cAuFdI','MCP:\x20세션\x20ID\x20사용\x20중','3238488wBiWAK','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','설정\x20저장','MCP\x20설정','클릭하여\x20MCP\x20설정','설정\x20매개변수:','최대\x20재시도\x20횟수','API\x20키','MCP\x20연결됨','79472YvmFuk','연결됨'];_0x2283=function(){return _0x62459c;};return _0x2283();}
1
+ const _0x5e59b9=_0x123c;function _0x3db0(){const _0x1c8905=['API\x20키는\x2010자\x20이상이어야\x20합니다','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','연결됨','719092MpiMHK','3547sLxuIE','MCP:\x20최대\x20재시도\x20횟수\x20초과','재시도\x20중...','인증\x20실패.\x20API\x20키를\x20확인하세요','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','API\x20키는\x20필수입니다','18XngzjZ','저장\x20중...','설정\x20저장','250SDrrhW','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','MCP:\x20인증되지\x20않음','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','MCP\x20알\x20수\x20없는\x20상태','연결\x20실패','설정\x20저장\x20실패','4782825GTkhRi','클릭하여\x20MCP\x20연결','MCP:\x20네트워크\x20오류','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','API\x20키란\x20무엇인가요?','보안\x20연결을\x20위해\x20인증\x20활성화','Bearer\x20접두사가\x20있는\x20API\x20키.','몇\x20초\x20만에\x20API\x20키\x20발급받기','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','9224960wQUatR','API\x20키를\x20입력하세요','MCP:\x20세션\x20ID\x20사용\x20중','연결\x20중...','설정이\x20성공적으로\x20저장되었습니다','MCP\x20연결됨','MCP\x20연결\x20끊김','982216fXYAso','최대\x20재시도\x20횟수','5561520IfcgEP','3encfLm','아래\x20JSON\x20설정\x20복사','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','817600uGbzYm','API\x20키','인증\x20활성화','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요'];_0x3db0=function(){return _0x1c8905;};return _0x3db0();}function _0x123c(_0x113d59,_0x29bd24){_0x113d59=_0x113d59-0xe8;const _0x3db0c6=_0x3db0();let _0x123ca0=_0x3db0c6[_0x113d59];return _0x123ca0;}(function(_0x29920d,_0x1efadd){const _0x1f0ca5=_0x123c,_0x20bcdf=_0x29920d();while(!![]){try{const _0x398616=-parseInt(_0x1f0ca5(0x106))/0x1*(parseInt(_0x1f0ca5(0x10f))/0x2)+parseInt(_0x1f0ca5(0xfa))/0x3*(parseInt(_0x1f0ca5(0x105))/0x4)+parseInt(_0x1f0ca5(0x117))/0x5+parseInt(_0x1f0ca5(0xf9))/0x6+-parseInt(_0x1f0ca5(0xfe))/0x7+parseInt(_0x1f0ca5(0xf7))/0x8*(parseInt(_0x1f0ca5(0x10c))/0x9)+-parseInt(_0x1f0ca5(0xf0))/0xa;if(_0x398616===_0x1efadd)break;else _0x20bcdf['push'](_0x20bcdf['shift']());}catch(_0x35b00f){_0x20bcdf['push'](_0x20bcdf['shift']());}}}(_0x3db0,0xc9b1d));const e={'mcpStatus':{'disconnected':_0x5e59b9(0xf6),'connecting':'MCP\x20연결\x20중...','connected':_0x5e59b9(0xf5),'failed':'MCP\x20연결\x20실패','retrying':'MCP\x20재시도\x20중...','unknown':_0x5e59b9(0x114),'unauthorized':_0x5e59b9(0x111),'sessionOccupied':_0x5e59b9(0xf2),'networkError':_0x5e59b9(0xe8),'maxRetriesExceeded':_0x5e59b9(0x107),'clickToConnect':_0x5e59b9(0x118),'clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':'MCP\x20설정','description':_0x5e59b9(0xea),'apiKey':_0x5e59b9(0xff),'apiKeyPlaceholder':_0x5e59b9(0xf1),'apiKeyHint':_0x5e59b9(0xe9),'enableAuth':_0x5e59b9(0x100),'enableAuthHint':_0x5e59b9(0xec),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x5e59b9(0x103),'configStepTitle':'설정\x20단계:','configStep1':_0x5e59b9(0xfb),'configStep2':_0x5e59b9(0xfd),'configStep3':_0x5e59b9(0x110),'sessionId':'세션\x20ID','sessionIdDescription':_0x5e59b9(0x112),'authorizationDescription':_0x5e59b9(0xed),'configParameters':'설정\x20매개변수:','maxRetries':_0x5e59b9(0xf8),'save':_0x5e59b9(0x10e),'saving':_0x5e59b9(0x10d),'note1':'설정\x20변경\x20사항은\x20즉시\x20적용됩니다','note2':_0x5e59b9(0xfc),'configSaved':_0x5e59b9(0xf4),'configError':_0x5e59b9(0x116),'apiApplyInfo':{'title':_0x5e59b9(0xeb),'description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0x5e59b9(0xee)},'validation':{'apiKeyRequired':_0x5e59b9(0x10b),'apiKeyTooShort':_0x5e59b9(0x102),'invalidConfig':'유효하지\x20않은\x20설정','invalidApiKey':_0x5e59b9(0x10a)},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x5e59b9(0xf3),'connected':_0x5e59b9(0x104),'failed':_0x5e59b9(0x115),'retrying':_0x5e59b9(0x108)},'connectionError':{'unauthorized':_0x5e59b9(0x109),'sessionOccupied':_0x5e59b9(0xef),'networkError':_0x5e59b9(0x101),'maxRetriesExceeded':_0x5e59b9(0x113)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x34561b=_0x24fb;function _0x2385(){const _0x1a633b=['Configuration\x20Steps:','Retrying...','4036123FddiVK','Enter\x20your\x20API\x20key','Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','Connecting...','MCP:\x20Unauthorized','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','Invalid\x20configuration','MCP\x20Connection\x20Failed','Configuration\x20Parameters:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','173458omAVdT','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1186824uYnzNr','MCP\x20Unknown\x20Status','8IPUkzl','API\x20key\x20is\x20required','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Saving...','6457620gFNayZ','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Disconnected','Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connected','Save\x20Configuration','MCP:\x20Network\x20Error','2082232DmGFGq','MCP:\x20Max\x20Retries\x20Exceeded','24697287botONP','MCP\x20Configuration','Disconnected','396504yeTEkb','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','8xaOcxB','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x2385=function(){return _0x1a633b;};return _0x2385();}(function(_0x4bc7d1,_0x58c1e3){const _0x28a0d2=_0x24fb,_0xb554d6=_0x4bc7d1();while(!![]){try{const _0x259848=-parseInt(_0x28a0d2(0x1b9))/0x1*(-parseInt(_0x28a0d2(0x1d0))/0x2)+parseInt(_0x28a0d2(0x1b4))/0x3+parseInt(_0x28a0d2(0x1af))/0x4+parseInt(_0x28a0d2(0x1a7))/0x5+parseInt(_0x28a0d2(0x1d2))/0x6+parseInt(_0x28a0d2(0x1bd))/0x7+parseInt(_0x28a0d2(0x1a1))/0x8*(-parseInt(_0x28a0d2(0x1b1))/0x9);if(_0x259848===_0x58c1e3)break;else _0xb554d6['push'](_0xb554d6['shift']());}catch(_0x386aae){_0xb554d6['push'](_0xb554d6['shift']());}}}(_0x2385,0xa32ac));const e={'mcpStatus':{'disconnected':_0x34561b(0x1a9),'connecting':'MCP\x20Connecting...','connected':_0x34561b(0x1ac),'failed':_0x34561b(0x1cd),'retrying':_0x34561b(0x1a5),'unknown':_0x34561b(0x1d3),'unauthorized':_0x34561b(0x1c3),'sessionOccupied':_0x34561b(0x1a8),'networkError':_0x34561b(0x1ae),'maxRetriesExceeded':_0x34561b(0x1b0),'clickToConnect':_0x34561b(0x1c1),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x34561b(0x1b2),'description':_0x34561b(0x1ab),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x34561b(0x1be),'apiKeyHint':_0x34561b(0x1a3),'enableAuth':_0x34561b(0x1c9),'enableAuthHint':_0x34561b(0x1c7),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x34561b(0x1cb),'configInstructions':_0x34561b(0x1c5),'configStepTitle':_0x34561b(0x1bb),'configStep1':_0x34561b(0x1ca),'configStep2':_0x34561b(0x1b7),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x34561b(0x1b6),'sessionIdDescription':_0x34561b(0x1b5),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x34561b(0x1ce),'maxRetries':'Max\x20Retries','save':_0x34561b(0x1ad),'saving':_0x34561b(0x1a6),'note1':_0x34561b(0x1c6),'note2':_0x34561b(0x1d1),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','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':_0x34561b(0x1a4)},'validation':{'apiKeyRequired':_0x34561b(0x1a2),'apiKeyTooShort':_0x34561b(0x1c4),'invalidConfig':_0x34561b(0x1cc),'invalidApiKey':_0x34561b(0x1c8)},'connectionStatus':{'disconnected':_0x34561b(0x1b3),'connecting':_0x34561b(0x1c2),'connected':_0x34561b(0x1aa),'failed':_0x34561b(0x1bf),'retrying':_0x34561b(0x1bc)},'connectionError':{'unauthorized':_0x34561b(0x1b8),'sessionOccupied':_0x34561b(0x1ba),'networkError':_0x34561b(0x1c0),'maxRetriesExceeded':_0x34561b(0x1cf)}}},n=e;function _0x24fb(_0x358306,_0x40ec07){_0x358306=_0x358306-0x1a1;const _0x2385ec=_0x2385();let _0x24fb53=_0x2385ec[_0x358306];return _0x24fb53;}export{n as default};
1
+ const _0x37b2bb=_0x55f1;function _0x5d26(){const _0x3194c3=['MCP\x20Client\x20Configuration','MCP\x20Connection\x20Failed','Configuration\x20Steps:','5488308mJpRWz','Failed\x20to\x20save\x20configuration','Retrying...','95XjniuH','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20Parameters:','MCP\x20Connected','Enter\x20your\x20API\x20key','6608961iBRsti','Session\x20ID','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Saving...','MCP:\x20Network\x20Error','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully','API\x20key\x20is\x20required','Univer\x20AI\x20Console','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','3vuRBmh','2382448hvgypy','MCP\x20Unknown\x20Status','Connecting...','1702868nHKGXQ','9515830MkowuK','MCP:\x20Unauthorized','MCP\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','226062eINODD','Save\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','Get\x20your\x20API\x20key\x20in\x20seconds','7190Svlnna','123xsnqDy','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'];_0x5d26=function(){return _0x3194c3;};return _0x5d26();}function _0x55f1(_0x594d60,_0x42a3ca){_0x594d60=_0x594d60-0x143;const _0x5d2626=_0x5d26();let _0x55f1dd=_0x5d2626[_0x594d60];return _0x55f1dd;}(function(_0x570a8d,_0x222641){const _0x27e1a7=_0x55f1,_0x3d8c5=_0x570a8d();while(!![]){try{const _0x25cf6e=parseInt(_0x27e1a7(0x144))/0x1*(parseInt(_0x27e1a7(0x143))/0x2)+parseInt(_0x27e1a7(0x168))/0x3*(parseInt(_0x27e1a7(0x16c))/0x4)+parseInt(_0x27e1a7(0x150))/0x5*(parseInt(_0x27e1a7(0x172))/0x6)+-parseInt(_0x27e1a7(0x14d))/0x7+-parseInt(_0x27e1a7(0x169))/0x8+-parseInt(_0x27e1a7(0x158))/0x9+parseInt(_0x27e1a7(0x16d))/0xa;if(_0x25cf6e===_0x222641)break;else _0x3d8c5['push'](_0x3d8c5['shift']());}catch(_0x4dc42a){_0x3d8c5['push'](_0x3d8c5['shift']());}}}(_0x5d26,0xaf941));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x37b2bb(0x156),'failed':_0x37b2bb(0x14b),'retrying':_0x37b2bb(0x165),'unknown':_0x37b2bb(0x16a),'unauthorized':_0x37b2bb(0x16e),'sessionOccupied':_0x37b2bb(0x152),'networkError':_0x37b2bb(0x15c),'maxRetriesExceeded':_0x37b2bb(0x167),'clickToConnect':_0x37b2bb(0x166),'clickToConfigure':_0x37b2bb(0x146)},'mcpConfig':{'title':_0x37b2bb(0x16f),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x37b2bb(0x160),'apiKeyPlaceholder':_0x37b2bb(0x157),'apiKeyHint':_0x37b2bb(0x170),'enableAuth':_0x37b2bb(0x145),'enableAuthHint':_0x37b2bb(0x15e),'connectionInfo':_0x37b2bb(0x14a),'mcpClientConfig':_0x37b2bb(0x14a),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x37b2bb(0x14c),'configStep1':_0x37b2bb(0x174),'configStep2':_0x37b2bb(0x15a),'configStep3':_0x37b2bb(0x15d),'sessionId':_0x37b2bb(0x159),'sessionIdDescription':_0x37b2bb(0x148),'authorizationDescription':_0x37b2bb(0x151),'configParameters':_0x37b2bb(0x155),'maxRetries':'Max\x20Retries','save':_0x37b2bb(0x173),'saving':_0x37b2bb(0x15b),'note1':_0x37b2bb(0x153),'note2':_0x37b2bb(0x15f),'configSaved':_0x37b2bb(0x162),'configError':_0x37b2bb(0x14e),'apiApplyInfo':{'title':_0x37b2bb(0x147),'description':_0x37b2bb(0x161),'univerAiLabel':_0x37b2bb(0x164),'getStarted':_0x37b2bb(0x175)},'validation':{'apiKeyRequired':_0x37b2bb(0x163),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x37b2bb(0x154)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x37b2bb(0x16b),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x37b2bb(0x14f)},'connectionError':{'unauthorized':_0x37b2bb(0x171),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x37b2bb(0x149)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x4598b2=_0x2074;(function(_0x272dfe,_0x413931){const _0x40c42d=_0x2074,_0x2b0ef7=_0x272dfe();while(!![]){try{const _0x12b202=-parseInt(_0x40c42d(0x1fe))/0x1*(parseInt(_0x40c42d(0x1fa))/0x2)+parseInt(_0x40c42d(0x1d7))/0x3+-parseInt(_0x40c42d(0x1f3))/0x4*(parseInt(_0x40c42d(0x1e3))/0x5)+parseInt(_0x40c42d(0x1e8))/0x6+-parseInt(_0x40c42d(0x1de))/0x7*(parseInt(_0x40c42d(0x1ea))/0x8)+-parseInt(_0x40c42d(0x1f7))/0x9*(-parseInt(_0x40c42d(0x1e5))/0xa)+parseInt(_0x40c42d(0x1e6))/0xb;if(_0x12b202===_0x413931)break;else _0x2b0ef7['push'](_0x2b0ef7['shift']());}catch(_0x753c2b){_0x2b0ef7['push'](_0x2b0ef7['shift']());}}}(_0x24da,0xe863c));function _0x24da(){const _0x485804=['MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Nhấp\x20để\x20cấu\x20hình\x20MCP','Đang\x20kết\x20nối...','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','5xlBfSP','Lưu\x20cấu\x20hình\x20thất\x20bại','25720fADMpN','21201862Bfdgln','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','5156616tuAHTv','Đị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.','8WszQvR','ID\x20phiên','Nhập\x20khóa\x20API\x20của\x20bạn','Kết\x20nối\x20thất\x20bại','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Cấu\x20hình\x20MCP','Lưu\x20cấu\x20hình','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','4913212IuIKnq','Đã\x20kết\x20nối','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','3357RRAOLp','Bảng\x20điều\x20khiển\x20Univer\x20AI','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','2FTzGBu','Yêu\x20cầu\x20khóa\x20API','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','MCP\x20Đã\x20ngắt\x20kết\x20nối','814279PWmAMJ','Đã\x20ngắt\x20kết\x20nối','Đang\x20lưu...','Đang\x20thử\x20lại...','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Cấu\x20hình\x20máy\x20khách\x20MCP','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','2374407zgpyTs','MCP\x20Đang\x20thử\x20lạ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.','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Khóa\x20API','MCP\x20Đã\x20kết\x20nối','10802771DXqEEB'];_0x24da=function(){return _0x485804;};return _0x24da();}function _0x2074(_0x1bcb25,_0x4d110d){_0x1bcb25=_0x1bcb25-0x1d1;const _0x24dad5=_0x24da();let _0x207482=_0x24dad5[_0x1bcb25];return _0x207482;}const n={'mcpStatus':{'disconnected':_0x4598b2(0x1fd),'connecting':'MCP\x20Đang\x20kết\x20nối...','connected':_0x4598b2(0x1dd),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x4598b2(0x1d8),'unknown':_0x4598b2(0x1df),'unauthorized':'MCP:\x20Không\x20được\x20phép','sessionOccupied':_0x4598b2(0x1d3),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x4598b2(0x1f1),'clickToConnect':'Nhấp\x20để\x20kết\x20nối\x20MCP','clickToConfigure':_0x4598b2(0x1e0)},'mcpConfig':{'title':_0x4598b2(0x1ef),'description':_0x4598b2(0x1e2),'apiKey':_0x4598b2(0x1dc),'apiKeyPlaceholder':_0x4598b2(0x1ec),'apiKeyHint':_0x4598b2(0x1f2),'enableAuth':'Bật\x20xác\x20thực','enableAuthHint':_0x4598b2(0x1db),'connectionInfo':_0x4598b2(0x1d5),'mcpClientConfig':_0x4598b2(0x1d5),'configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':'Các\x20bước\x20cấu\x20hình:','configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':_0x4598b2(0x1da),'configStep3':_0x4598b2(0x1d6),'sessionId':_0x4598b2(0x1eb),'sessionIdDescription':_0x4598b2(0x1e9),'authorizationDescription':'Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':_0x4598b2(0x1f0),'saving':_0x4598b2(0x1d1),'note1':'Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','note2':_0x4598b2(0x1f5),'configSaved':_0x4598b2(0x1f9),'configError':_0x4598b2(0x1e4),'apiApplyInfo':{'title':'Khóa\x20API\x20là\x20gì?','description':_0x4598b2(0x1d9),'univerAiLabel':_0x4598b2(0x1f8),'getStarted':_0x4598b2(0x1e7)},'validation':{'apiKeyRequired':_0x4598b2(0x1fb),'apiKeyTooShort':'Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20l','invalidApiKey':_0x4598b2(0x1fc)},'connectionStatus':{'disconnected':_0x4598b2(0x1ff),'connecting':_0x4598b2(0x1e1),'connected':_0x4598b2(0x1f4),'failed':_0x4598b2(0x1ed),'retrying':_0x4598b2(0x1d2)},'connectionError':{'unauthorized':_0x4598b2(0x1f6),'sessionOccupied':_0x4598b2(0x1ee),'networkError':_0x4598b2(0x1d4),'maxRetriesExceeded':'Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau'}}};export{n as default};
1
+ const _0x5eef7c=_0x2c25;function _0x2c25(_0x42ca0b,_0x281d52){_0x42ca0b=_0x42ca0b-0xec;const _0x53599c=_0x5359();let _0x2c2550=_0x53599c[_0x42ca0b];return _0x2c2550;}(function(_0x1227f,_0x2ef156){const _0x36fbd1=_0x2c25,_0x1efea3=_0x1227f();while(!![]){try{const _0x36fc3f=parseInt(_0x36fbd1(0x115))/0x1+parseInt(_0x36fbd1(0x108))/0x2+parseInt(_0x36fbd1(0x111))/0x3*(-parseInt(_0x36fbd1(0xec))/0x4)+-parseInt(_0x36fbd1(0xed))/0x5+parseInt(_0x36fbd1(0x11b))/0x6+-parseInt(_0x36fbd1(0x103))/0x7+parseInt(_0x36fbd1(0x102))/0x8*(-parseInt(_0x36fbd1(0xf4))/0x9);if(_0x36fc3f===_0x2ef156)break;else _0x1efea3['push'](_0x1efea3['shift']());}catch(_0x2009d5){_0x1efea3['push'](_0x1efea3['shift']());}}}(_0x5359,0x1d1f2));const n={'mcpStatus':{'disconnected':_0x5eef7c(0x10c),'connecting':'MCP\x20Đang\x20kết\x20nối...','connected':_0x5eef7c(0x118),'failed':_0x5eef7c(0x10b),'retrying':_0x5eef7c(0x10d),'unknown':_0x5eef7c(0x100),'unauthorized':'MCP:\x20Không\x20được\x20phép','sessionOccupied':_0x5eef7c(0x10f),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x5eef7c(0x101),'clickToConnect':_0x5eef7c(0x113),'clickToConfigure':_0x5eef7c(0xf8)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x5eef7c(0xf7),'apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0x5eef7c(0x106),'enableAuth':_0x5eef7c(0xee),'enableAuthHint':_0x5eef7c(0x10e),'connectionInfo':'Cấu\x20hình\x20máy\x20khách\x20MCP','mcpClientConfig':_0x5eef7c(0xef),'configInstructions':_0x5eef7c(0x116),'configStepTitle':_0x5eef7c(0x119),'configStep1':_0x5eef7c(0xfa),'configStep2':_0x5eef7c(0x110),'configStep3':_0x5eef7c(0x117),'sessionId':_0x5eef7c(0xf2),'sessionIdDescription':_0x5eef7c(0xf3),'authorizationDescription':'Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':_0x5eef7c(0xfc),'save':_0x5eef7c(0xf0),'saving':_0x5eef7c(0xf6),'note1':'Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','note2':_0x5eef7c(0x105),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x5eef7c(0xf5),'description':_0x5eef7c(0x109),'univerAiLabel':_0x5eef7c(0xfb),'getStarted':_0x5eef7c(0xff)},'validation':{'apiKeyRequired':_0x5eef7c(0x11a),'apiKeyTooShort':_0x5eef7c(0x112),'invalidConfig':_0x5eef7c(0xf1),'invalidApiKey':_0x5eef7c(0xfd)},'connectionStatus':{'disconnected':_0x5eef7c(0xf9),'connecting':_0x5eef7c(0x114),'connected':'Đã\x20kết\x20nối','failed':_0x5eef7c(0x10a),'retrying':_0x5eef7c(0xfe)},'connectionError':{'unauthorized':_0x5eef7c(0x107),'sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0x5eef7c(0x104),'maxRetriesExceeded':'Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau'}}};export{n as default};function _0x5359(){const _0x53a160=['Khóa\x20API','Nhấp\x20để\x20cấu\x20hình\x20MCP','Đã\x20ngắt\x20kết\x20nối','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Bảng\x20điều\x20khiển\x20Univer\x20AI','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Đang\x20thử\x20lại...','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','8ausvmH','899409iKeVSK','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\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','304348yXpvbE','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.','Kết\x20nối\x20thất\x20bại','MCP\x20Kết\x20nối\x20thất\x20bại','MCP\x20Đã\x20ngắt\x20kết\x20nối','MCP\x20Đang\x20thử\x20lại...','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','39uRirDU','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Nhấp\x20để\x20kết\x20nối\x20MCP','Đang\x20kết\x20nối...','134162CDtCZE','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','MCP\x20Đã\x20kết\x20nối','Các\x20bước\x20cấu\x20hình:','Yêu\x20cầu\x20khóa\x20API','700326dPSCrN','12656eenqWb','114965ZCKdkR','Bật\x20xác\x20thực','Cấu\x20hình\x20máy\x20khách\x20MCP','Lưu\x20cấu\x20hình','Cấu\x20hình\x20không\x20hợp\x20lệ','ID\x20phiê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.','820467OMHWqI','Khóa\x20API\x20là\x20gì?','Đang\x20lưu...'];_0x5359=function(){return _0x53a160;};return _0x5359();}
@@ -1 +1 @@
1
- function _0x21e3(_0x24ad07,_0x21f626){_0x24ad07=_0x24ad07-0x15b;const _0x3e0252=_0x3e02();let _0x21e32f=_0x3e0252[_0x24ad07];return _0x21e32f;}const _0x3c8e0c=_0x21e3;function _0x3e02(){const _0x3b4a2f=['保存中...','重连中...','6CLnXkP','启用身份验证','配置参数:','716HetKaf','配置保存成功','MCP\x20重连中...','最大重试次数','1570355IikMnG','1320388CzNoEs','几秒钟内获取您的\x20API\x20密钥','会话\x20ID\x20已被占用,请稍后再试','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP:\x20未授权','MCP\x20连接失败','未连接','MCP:\x20超出最大重试次数','API\x20密钥不能为空','MCP\x20配置','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20状态未知','连接失败','3388959HDdsxf','什么是\x20API\x20密钥?','配置步骤:','MCP\x20已连接','重启您的\x20MCP\x20客户端以使配置生效','MCP:\x20网络错误','2882462LRsqFU','点击配置\x20MCP','启用身份验证以获得安全连接','MCP\x20已断开','MCP\x20连接中...','MCP\x20客户端配置','MCP:\x20会话\x20ID\x20已被占用','6vYTLWW','16ikVswF','889658gsZMCR','将配置添加到您的\x20MCP\x20客户端设置文件中','6809390HBttjz','配置保存失败','2993jIMDGq','您的\x20API\x20密钥安全存储在本地存储中','已连接','API\x20密钥无效,请检查密钥是否正确'];_0x3e02=function(){return _0x3b4a2f;};return _0x3e02();}(function(_0x5d7055,_0x320400){const _0x7d4652=_0x21e3,_0x57f393=_0x5d7055();while(!![]){try{const _0x4a5043=parseInt(_0x7d4652(0x17c))/0x1*(parseInt(_0x7d4652(0x185))/0x2)+parseInt(_0x7d4652(0x182))/0x3*(parseInt(_0x7d4652(0x15c))/0x4)+-parseInt(_0x7d4652(0x15b))/0x5*(parseInt(_0x7d4652(0x176))/0x6)+-parseInt(_0x7d4652(0x178))/0x7*(parseInt(_0x7d4652(0x177))/0x8)+parseInt(_0x7d4652(0x169))/0x9+-parseInt(_0x7d4652(0x17a))/0xa+-parseInt(_0x7d4652(0x16f))/0xb;if(_0x4a5043===_0x320400)break;else _0x57f393['push'](_0x57f393['shift']());}catch(_0x24e020){_0x57f393['push'](_0x57f393['shift']());}}}(_0x3e02,0x91c07));const e={'mcpStatus':{'disconnected':_0x3c8e0c(0x172),'connecting':_0x3c8e0c(0x173),'connected':_0x3c8e0c(0x16c),'failed':_0x3c8e0c(0x161),'retrying':_0x3c8e0c(0x187),'unknown':_0x3c8e0c(0x167),'unauthorized':_0x3c8e0c(0x160),'sessionOccupied':_0x3c8e0c(0x175),'networkError':_0x3c8e0c(0x16e),'maxRetriesExceeded':_0x3c8e0c(0x163),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x3c8e0c(0x170)},'mcpConfig':{'title':_0x3c8e0c(0x165),'description':_0x3c8e0c(0x166),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x3c8e0c(0x183),'enableAuthHint':_0x3c8e0c(0x171),'connectionInfo':_0x3c8e0c(0x174),'mcpClientConfig':_0x3c8e0c(0x174),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x3c8e0c(0x16b),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x3c8e0c(0x179),'configStep3':_0x3c8e0c(0x16d),'sessionId':'会话ID','sessionIdDescription':_0x3c8e0c(0x15f),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x3c8e0c(0x184),'maxRetries':_0x3c8e0c(0x188),'save':'保存配置','saving':_0x3c8e0c(0x180),'note1':'配置更改将立即生效','note2':_0x3c8e0c(0x17d),'configSaved':_0x3c8e0c(0x186),'configError':_0x3c8e0c(0x17b),'apiApplyInfo':{'title':_0x3c8e0c(0x16a),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3c8e0c(0x15d)},'validation':{'apiKeyRequired':_0x3c8e0c(0x164),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x3c8e0c(0x17f)},'connectionStatus':{'disconnected':_0x3c8e0c(0x162),'connecting':'连接中...','connected':_0x3c8e0c(0x17e),'failed':_0x3c8e0c(0x168),'retrying':_0x3c8e0c(0x181)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x3c8e0c(0x15e),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};export{e as default};
1
+ const _0xc30e53=_0x56f7;function _0x1de7(){const _0x32dfc6=['配置保存失败','MCP:\x20未授权','未连接','1746199HMxiRu','您的\x20API\x20密钥安全存储在本地存储中','带有\x20Bearer\x20前缀的\x20API\x20密钥。','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','3awhRWJ','最大重试次数','保存中...','MCP\x20状态未知','12879297KtRfyn','API\x20密钥长度至少需要\x2010\x20位','3621536koKoKE','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP:\x20会话\x20ID\x20已被占用','MCP\x20客户端配置','配置保存成功','点击配置\x20MCP','会话ID','重启您的\x20MCP\x20客户端以使配置生效','几秒钟内获取您的\x20API\x20密钥','配置参数:','710020WNVsQN','重连中...','API\x20密钥不能为空','36UMDsSX','配置\x20MCP\x20使用\x20AI\x20操作电子表格','配置无效','MCP\x20已断开','超出最大重试次数,请稍后再试','配置步骤:','启用身份验证','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP\x20配置','权限验证失败,请检查您的\x20API\x20密钥','324829pKFTYp','请输入您的\x20API\x20密钥','364465HCeGnu','配置更改将立即生效','MCP\x20已连接','1789432txvlRj','会话\x20ID\x20已被占用,请稍后再试'];_0x1de7=function(){return _0x32dfc6;};return _0x1de7();}(function(_0x1a69b4,_0x29af33){const _0x784b62=_0x56f7,_0x57954a=_0x1a69b4();while(!![]){try{const _0x3084e4=parseInt(_0x784b62(0x100))/0x1+-parseInt(_0x784b62(0xf3))/0x2+parseInt(_0x784b62(0x10e))/0x3*(-parseInt(_0x784b62(0x105))/0x4)+parseInt(_0x784b62(0x102))/0x5*(-parseInt(_0x784b62(0xf6))/0x6)+parseInt(_0x784b62(0x10a))/0x7+-parseInt(_0x784b62(0x114))/0x8+parseInt(_0x784b62(0x112))/0x9;if(_0x3084e4===_0x29af33)break;else _0x57954a['push'](_0x57954a['shift']());}catch(_0x3757c8){_0x57954a['push'](_0x57954a['shift']());}}}(_0x1de7,0x4c645));function _0x56f7(_0x584bbe,_0x51a294){_0x584bbe=_0x584bbe-0xee;const _0x1de702=_0x1de7();let _0x56f766=_0x1de702[_0x584bbe];return _0x56f766;}const e={'mcpStatus':{'disconnected':_0xc30e53(0xf9),'connecting':'MCP\x20连接中...','connected':_0xc30e53(0x104),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':_0xc30e53(0x111),'unauthorized':_0xc30e53(0x108),'sessionOccupied':_0xc30e53(0x116),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0xc30e53(0xee)},'mcpConfig':{'title':_0xc30e53(0xfe),'description':_0xc30e53(0xf7),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0xc30e53(0x101),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0xc30e53(0xfc),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0xc30e53(0x117),'configInstructions':_0xc30e53(0xfd),'configStepTitle':_0xc30e53(0xfb),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0xc30e53(0x115),'configStep3':_0xc30e53(0xf0),'sessionId':_0xc30e53(0xef),'sessionIdDescription':_0xc30e53(0x10d),'authorizationDescription':_0xc30e53(0x10c),'configParameters':_0xc30e53(0xf2),'maxRetries':_0xc30e53(0x10f),'save':'保存配置','saving':_0xc30e53(0x110),'note1':_0xc30e53(0x103),'note2':_0xc30e53(0x10b),'configSaved':_0xc30e53(0x118),'configError':_0xc30e53(0x107),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0xc30e53(0xf1)},'validation':{'apiKeyRequired':_0xc30e53(0xf5),'apiKeyTooShort':_0xc30e53(0x113),'invalidConfig':_0xc30e53(0xf8),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0xc30e53(0x109),'connecting':'连接中...','connected':'已连接','failed':'连接失败','retrying':_0xc30e53(0xf4)},'connectionError':{'unauthorized':_0xc30e53(0xff),'sessionOccupied':_0xc30e53(0x106),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0xc30e53(0xfa)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x341e99=_0x2a3d;function _0x6741(){const _0x28d3d3=['Save\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','API\x20Key','Connecting...','MCP\x20Connected','MCP\x20Connecting...','Click\x20to\x20connect\x20MCP','2288375obPXOC','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20configure\x20MCP','5614432SQQVVD','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','487340RkuGAP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1981980nhGSia','Retrying...','API\x20key\x20is\x20required','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','7878AFOLrS','Connected','MCP\x20Connection\x20Failed','877410snupxs','What\x20is\x20API\x20Key?','Enable\x20authentication\x20for\x20secure\x20connections','83zwuGrw','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','MCP:\x20Session\x20ID\x20Occupied','2817366tsAgvu','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','MCP\x20Retrying...','Enable\x20Authentication','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','Saving...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'];_0x6741=function(){return _0x28d3d3;};return _0x6741();}(function(_0x274bbf,_0xf475ea){const _0x446800=_0x2a3d,_0x2268e6=_0x274bbf();while(!![]){try{const _0x373458=-parseInt(_0x446800(0x129))/0x1*(parseInt(_0x446800(0x123))/0x2)+parseInt(_0x446800(0x126))/0x3+parseInt(_0x446800(0x11b))/0x4+-parseInt(_0x446800(0x114))/0x5+-parseInt(_0x446800(0x104))/0x6+parseInt(_0x446800(0x119))/0x7+parseInt(_0x446800(0x117))/0x8;if(_0x373458===_0xf475ea)break;else _0x2268e6['push'](_0x2268e6['shift']());}catch(_0x3b5cd2){_0x2268e6['push'](_0x2268e6['shift']());}}}(_0x6741,0x4a840));function _0x2a3d(_0x172a6f,_0xecae55){_0x172a6f=_0x172a6f-0xfc;const _0x6741d1=_0x6741();let _0x2a3dd4=_0x6741d1[_0x172a6f];return _0x2a3dd4;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x341e99(0x112),'connected':_0x341e99(0x111),'failed':_0x341e99(0x125),'retrying':_0x341e99(0x107),'unknown':_0x341e99(0xfe),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x341e99(0x103),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x341e99(0x10a),'clickToConnect':_0x341e99(0x113),'clickToConfigure':_0x341e99(0x116)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x341e99(0x11e),'apiKey':_0x341e99(0x10f),'apiKeyPlaceholder':_0x341e99(0xff),'apiKeyHint':_0x341e99(0xfd),'enableAuth':_0x341e99(0x108),'enableAuthHint':_0x341e99(0x128),'connectionInfo':_0x341e99(0xfc),'mcpClientConfig':_0x341e99(0xfc),'configInstructions':_0x341e99(0x100),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x341e99(0x10e),'configStep2':_0x341e99(0x11f),'configStep3':_0x341e99(0x101),'sessionId':_0x341e99(0x102),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x341e99(0x115),'configParameters':_0x341e99(0x120),'maxRetries':_0x341e99(0x121),'save':_0x341e99(0x10d),'saving':_0x341e99(0x10b),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x341e99(0x118),'configSaved':_0x341e99(0x106),'configError':_0x341e99(0x105),'apiApplyInfo':{'title':_0x341e99(0x127),'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':_0x341e99(0x109),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x341e99(0x11d),'apiKeyTooShort':_0x341e99(0x122),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x341e99(0x11a)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x341e99(0x110),'connected':_0x341e99(0x124),'failed':'Connection\x20Failed','retrying':_0x341e99(0x11c)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x341e99(0x10c)}}},n=e;export{n as default};
1
+ const _0x50ec64=_0x2576;(function(_0x27fd91,_0x4f0b89){const _0x3979c4=_0x2576,_0x3fab28=_0x27fd91();while(!![]){try{const _0x5bde9f=parseInt(_0x3979c4(0x125))/0x1+parseInt(_0x3979c4(0x141))/0x2*(parseInt(_0x3979c4(0x138))/0x3)+-parseInt(_0x3979c4(0x123))/0x4+parseInt(_0x3979c4(0x12a))/0x5+-parseInt(_0x3979c4(0x14a))/0x6+parseInt(_0x3979c4(0x148))/0x7*(parseInt(_0x3979c4(0x12d))/0x8)+-parseInt(_0x3979c4(0x149))/0x9;if(_0x5bde9f===_0x4f0b89)break;else _0x3fab28['push'](_0x3fab28['shift']());}catch(_0x5337e4){_0x3fab28['push'](_0x3fab28['shift']());}}}(_0x11c1,0x7ece4));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x50ec64(0x144),'failed':_0x50ec64(0x13d),'retrying':'MCP\x20Retrying...','unknown':_0x50ec64(0x14c),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x50ec64(0x12e),'networkError':_0x50ec64(0x131),'maxRetriesExceeded':_0x50ec64(0x124),'clickToConnect':_0x50ec64(0x143),'clickToConfigure':_0x50ec64(0x142)},'mcpConfig':{'title':_0x50ec64(0x133),'description':_0x50ec64(0x12b),'apiKey':_0x50ec64(0x130),'apiKeyPlaceholder':_0x50ec64(0x120),'apiKeyHint':_0x50ec64(0x146),'enableAuth':_0x50ec64(0x11d),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x50ec64(0x140),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x50ec64(0x14b),'configStepTitle':_0x50ec64(0x147),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x50ec64(0x139),'configStep3':_0x50ec64(0x13e),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x50ec64(0x121),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x50ec64(0x126),'save':_0x50ec64(0x145),'saving':_0x50ec64(0x128),'note1':_0x50ec64(0x137),'note2':_0x50ec64(0x13b),'configSaved':_0x50ec64(0x132),'configError':_0x50ec64(0x11f),'apiApplyInfo':{'title':_0x50ec64(0x136),'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':_0x50ec64(0x13f),'getStarted':_0x50ec64(0x127)},'validation':{'apiKeyRequired':_0x50ec64(0x122),'apiKeyTooShort':_0x50ec64(0x13c),'invalidConfig':_0x50ec64(0x134),'invalidApiKey':_0x50ec64(0x12c)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x50ec64(0x12f),'connected':'Connected','failed':_0x50ec64(0x13a),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x50ec64(0x129),'sessionOccupied':_0x50ec64(0x11e),'networkError':_0x50ec64(0x135),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x2576(_0x254188,_0x1a4ed8){_0x254188=_0x254188-0x11d;const _0x11c17a=_0x11c1();let _0x257607=_0x11c17a[_0x254188];return _0x257607;}function _0x11c1(){const _0x5d4c5e=['Configuration\x20saved\x20successfully','MCP\x20Configuration','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','3RaVxxu','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','1837834HQPPSN','Click\x20to\x20configure\x20MCP','Click\x20to\x20connect\x20MCP','MCP\x20Connected','Save\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Steps:','7iMtqAg','4254633ZhfVrU','4392948PyLnGv','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','Enter\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20is\x20required','469696UXBFoh','MCP:\x20Max\x20Retries\x20Exceeded','540933ISXeXd','Max\x20Retries','Get\x20your\x20API\x20key\x20in\x20seconds','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','417465LDwjMt','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2386976OXWPDu','MCP:\x20Session\x20ID\x20Occupied','Connecting...','API\x20Key','MCP:\x20Network\x20Error'];_0x11c1=function(){return _0x5d4c5e;};return _0x11c1();}export{n as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2460(_0x49b1be,_0x15b33a){_0x49b1be=_0x49b1be-0x17f;const _0x45fb97=_0x45fb();let _0x2460e2=_0x45fb97[_0x49b1be];return _0x2460e2;}(function(_0x3fa4f9,_0x75c77b){const _0x33a8d2=_0x2460,_0x187233=_0x3fa4f9();while(!![]){try{const _0x10fb5a=-parseInt(_0x33a8d2(0x192))/0x1+-parseInt(_0x33a8d2(0x239))/0x2*(-parseInt(_0x33a8d2(0x2a3))/0x3)+-parseInt(_0x33a8d2(0x27f))/0x4+parseInt(_0x33a8d2(0x2d5))/0x5*(parseInt(_0x33a8d2(0x2c1))/0x6)+-parseInt(_0x33a8d2(0x22e))/0x7+parseInt(_0x33a8d2(0x290))/0x8*(-parseInt(_0x33a8d2(0x2b4))/0x9)+parseInt(_0x33a8d2(0x2e1))/0xa;if(_0x10fb5a===_0x75c77b)break;else _0x187233['push'](_0x187233['shift']());}catch(_0x4160ed){_0x187233['push'](_0x187233['shift']());}}}(_0x45fb,0xa83ff),function(_0x52393,_0x56bddb){const _0x45cf92=_0x2460;typeof exports=='object'&&typeof module<'u'?_0x56bddb(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==_0x45cf92(0x1dc)&&define[_0x45cf92(0x204)]?define([_0x45cf92(0x2b5),_0x45cf92(0x2bf),_0x45cf92(0x2d0),_0x45cf92(0x259),_0x45cf92(0x28b),'@univerjs/ui',_0x45cf92(0x306),'react',_0x45cf92(0x2ea)],_0x56bddb):(_0x52393=typeof globalThis<'u'?globalThis:_0x52393||self,_0x56bddb(_0x52393[_0x45cf92(0x1cb)]={},_0x52393[_0x45cf92(0x18d)],_0x52393[_0x45cf92(0x1ec)],_0x52393[_0x45cf92(0x23e)],_0x52393[_0x45cf92(0x225)],_0x52393['UniverUi'],_0x52393[_0x45cf92(0x306)],_0x52393[_0x45cf92(0x1ec)],_0x52393[_0x45cf92(0x2b2)]));}(this,function(_0x4b38b2,_0xf4e273,_0x30f474,_0x103aab,_0x3777bd,_0x5d2f1d,_0x2cea72,_0x31eb89,_0xa2c608){'use strict';const _0x1af5bc=_0x2460;var _0x5c5cf3=Object[_0x1af5bc(0x1e9)],_0x3fce53=(_0x2d14df,_0x2a12e1,_0x104c93)=>_0x2a12e1 in _0x2d14df?_0x5c5cf3(_0x2d14df,_0x2a12e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x104c93}):_0x2d14df[_0x2a12e1]=_0x104c93,_0x1eec44=(_0x3ceccf,_0x3f25ff,_0x179a01)=>_0x3fce53(_0x3ceccf,typeof _0x3f25ff!=_0x1af5bc(0x27e)?_0x3f25ff+'':_0x3f25ff,_0x179a01);function _0x27daad({ref:_0x10ba51,..._0x1ca224}){const _0x556d38=_0x1af5bc,{icon:_0x1e8048,id:_0x289033,className:_0x462df0,extend:_0x579360,..._0x251bd5}=_0x1ca224,_0x58c9e6=('univerjs-icon\x20univerjs-icon-'+_0x289033+'\x20'+(_0x462df0||''))[_0x556d38(0x219)](),_0x200a60=_0x31eb89['useRef']('_'+_0xd85744());return _0x39a0a3(_0x1e8048,''+_0x289033,{'defIds':_0x1e8048[_0x556d38(0x1e1)],'idSuffix':_0x200a60[_0x556d38(0x1dd)]},{'ref':_0x10ba51,'className':_0x58c9e6,..._0x251bd5},_0x579360);}function _0x39a0a3(_0x54b344,_0x146ad9,_0x195b7e,_0x1bd4f9,_0x5740f9){const _0x580f97=_0x1af5bc;return _0x31eb89[_0x580f97(0x216)](_0x54b344['tag'],{'key':_0x146ad9,..._0x58e686(_0x54b344,_0x195b7e,_0x5740f9),..._0x1bd4f9},(_0xb38bb(_0x54b344,_0x195b7e)[_0x580f97(0x2a6)]||[])[_0x580f97(0x29a)]((_0x5de5f3,_0x38e2a9)=>_0x39a0a3(_0x5de5f3,_0x146ad9+'-'+_0x54b344['tag']+'-'+_0x38e2a9,_0x195b7e,void 0x0,_0x5740f9)));}function _0x58e686(_0x199d3a,_0x5350fb,_0x19026f){const _0x1c9fd9=_0x1af5bc,_0x2f6d18={..._0x199d3a[_0x1c9fd9(0x18c)]};_0x19026f!=null&&_0x19026f[_0x1c9fd9(0x1f7)]&&_0x2f6d18['fill']===_0x1c9fd9(0x1f7)&&(_0x2f6d18[_0x1c9fd9(0x285)]=_0x19026f[_0x1c9fd9(0x1f7)]),_0x199d3a[_0x1c9fd9(0x210)]===_0x1c9fd9(0x300)&&_0x2f6d18['id']&&(_0x2f6d18['id']=_0x2f6d18['id']+_0x5350fb['idSuffix']),Object[_0x1c9fd9(0x196)](_0x2f6d18)['forEach'](([_0x4e56e5,_0x4bc3b8])=>{const _0x3ce9a8=_0x1c9fd9;_0x4e56e5===_0x3ce9a8(0x300)&&typeof _0x4bc3b8==_0x3ce9a8(0x1a3)&&(_0x2f6d18[_0x4e56e5]=_0x4bc3b8[_0x3ce9a8(0x1c9)](/url\(#(.*)\)/,'url(#$1'+_0x5350fb[_0x3ce9a8(0x180)]+')'));});const {defIds:_0x552424}=_0x5350fb;return!_0x552424||_0x552424[_0x1c9fd9(0x17f)]===0x0||(_0x199d3a['tag']===_0x1c9fd9(0x29c)&&_0x2f6d18[_0x1c9fd9(0x21c)]&&(_0x2f6d18[_0x1c9fd9(0x21c)]=_0x2f6d18[_0x1c9fd9(0x21c)]+_0x5350fb['idSuffix']),Object['entries'](_0x2f6d18)[_0x1c9fd9(0x24b)](([_0x140fd9,_0x40cd48])=>{const _0x37a7ba=_0x1c9fd9;typeof _0x40cd48==_0x37a7ba(0x1a3)&&(_0x2f6d18[_0x140fd9]=_0x40cd48[_0x37a7ba(0x1c9)](/url\(#(.*)\)/,_0x37a7ba(0x2aa)+_0x5350fb[_0x37a7ba(0x180)]+')'));})),_0x2f6d18;}function _0xb38bb(_0x1a9541,_0x10e335){const _0x5cb87f=_0x1af5bc;var _0x21f078;const {defIds:_0x403ff6}=_0x10e335;return!_0x403ff6||_0x403ff6['length']===0x0?_0x1a9541:_0x1a9541[_0x5cb87f(0x210)]===_0x5cb87f(0x2b8)&&((_0x21f078=_0x1a9541[_0x5cb87f(0x2a6)])!=null&&_0x21f078[_0x5cb87f(0x17f)])?{..._0x1a9541,'children':_0x1a9541['children'][_0x5cb87f(0x29a)](_0x233022=>typeof _0x233022[_0x5cb87f(0x18c)]['id']==_0x5cb87f(0x1a3)&&_0x403ff6&&_0x403ff6['includes'](_0x233022[_0x5cb87f(0x18c)]['id'])?{..._0x233022,'attrs':{..._0x233022[_0x5cb87f(0x18c)],'id':_0x233022[_0x5cb87f(0x18c)]['id']+_0x10e335[_0x5cb87f(0x180)]}}:_0x233022)}:_0x1a9541;}function _0xd85744(){const _0x2c18b2=_0x1af5bc;return Math[_0x2c18b2(0x2d4)]()[_0x2c18b2(0x1b1)](0x24)[_0x2c18b2(0x242)](0x2,0x8);}_0x27daad['displayName']=_0x1af5bc(0x218);const _0x95ea27={'tag':_0x1af5bc(0x2d3),'attrs':{'xmlns':_0x1af5bc(0x1e8),'fill':_0x1af5bc(0x298),'viewBox':'0\x200\x2016\x2016','width':_0x1af5bc(0x2fc),'height':_0x1af5bc(0x2fc)},'children':[{'tag':_0x1af5bc(0x19c),'attrs':{'fill':_0x1af5bc(0x191),'d':_0x1af5bc(0x305),'fillRule':_0x1af5bc(0x233),'clipRule':_0x1af5bc(0x233)}}]},_0x19d38b=_0x31eb89[_0x1af5bc(0x277)](function(_0x4b2e11,_0x31905){const _0x47f2be=_0x1af5bc;return _0x31eb89[_0x47f2be(0x216)](_0x27daad,Object[_0x47f2be(0x2ae)]({},_0x4b2e11,{'id':_0x47f2be(0x1a7),'ref':_0x31905,'icon':_0x95ea27}));});_0x19d38b[_0x1af5bc(0x2d9)]='CheckMarkIcon';const _0xcc989b={'tag':_0x1af5bc(0x2d3),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1af5bc(0x19d),'width':_0x1af5bc(0x2fc),'height':_0x1af5bc(0x2fc)},'children':[{'tag':_0x1af5bc(0x19c),'attrs':{'fill':_0x1af5bc(0x191),'d':'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'}}]},_0x3ad901=_0x31eb89[_0x1af5bc(0x277)](function(_0x25e869,_0xbb53c){const _0x193e66=_0x1af5bc;return _0x31eb89[_0x193e66(0x216)](_0x27daad,Object[_0x193e66(0x2ae)]({},_0x25e869,{'id':_0x193e66(0x1ab),'ref':_0xbb53c,'icon':_0xcc989b}));});_0x3ad901[_0x1af5bc(0x2d9)]=_0x1af5bc(0x1db);const _0xaa6c5d={'tag':_0x1af5bc(0x2d3),'attrs':{'xmlns':_0x1af5bc(0x1e8),'fill':_0x1af5bc(0x298),'viewBox':_0x1af5bc(0x19d),'width':'1em','height':_0x1af5bc(0x2fc)},'children':[{'tag':_0x1af5bc(0x19c),'attrs':{'fill':_0x1af5bc(0x191),'d':_0x1af5bc(0x25b)}},{'tag':'path','attrs':{'fill':'currentColor','d':'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'}},{'tag':_0x1af5bc(0x19c),'attrs':{'fill':_0x1af5bc(0x191),'d':_0x1af5bc(0x1e3),'fillRule':_0x1af5bc(0x233),'clipRule':_0x1af5bc(0x233)}}]},_0x385613=_0x31eb89[_0x1af5bc(0x277)](function(_0x3c1d51,_0x503f77){const _0x48ff92=_0x1af5bc;return _0x31eb89[_0x48ff92(0x216)](_0x27daad,Object[_0x48ff92(0x2ae)]({},_0x3c1d51,{'id':_0x48ff92(0x2cc),'ref':_0x503f77,'icon':_0xaa6c5d}));});_0x385613[_0x1af5bc(0x2d9)]=_0x1af5bc(0x21b);const _0x497663={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1af5bc(0x298),'viewBox':'0\x200\x2016\x2016','width':_0x1af5bc(0x2fc),'height':_0x1af5bc(0x2fc)},'children':[{'tag':'g','attrs':{'clipPath':_0x1af5bc(0x1df)},'children':[{'tag':_0x1af5bc(0x19c),'attrs':{'stroke':_0x1af5bc(0x191),'d':'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','strokeLinecap':'round','strokeLinejoin':_0x1af5bc(0x237),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1af5bc(0x1d4)},'children':[{'tag':_0x1af5bc(0x19c),'attrs':{'fill':'white','d':_0x1af5bc(0x2bd)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5dda55=_0x31eb89[_0x1af5bc(0x277)](function(_0x21a3d5,_0x16b577){const _0x23fd8c=_0x1af5bc;return _0x31eb89[_0x23fd8c(0x216)](_0x27daad,Object[_0x23fd8c(0x2ae)]({},_0x21a3d5,{'id':_0x23fd8c(0x281),'ref':_0x16b577,'icon':_0x497663}));});_0x5dda55['displayName']=_0x1af5bc(0x23f);const _0x4e1d96={'tag':_0x1af5bc(0x2d3),'attrs':{'xmlns':_0x1af5bc(0x1e8),'fill':_0x1af5bc(0x298),'viewBox':_0x1af5bc(0x2bc),'width':_0x1af5bc(0x2fc),'height':_0x1af5bc(0x2fc)},'children':[{'tag':'g','attrs':{'clipPath':_0x1af5bc(0x1ca)},'children':[{'tag':'path','attrs':{'stroke':_0x1af5bc(0x191),'d':_0x1af5bc(0x25c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1af5bc(0x2b8),'attrs':{},'children':[{'tag':_0x1af5bc(0x2dd),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x1af5bc(0x19c),'attrs':{'fill':_0x1af5bc(0x2df),'d':_0x1af5bc(0x2bd),'transform':_0x1af5bc(0x18f)}}]}]}],'defIds':[_0x1af5bc(0x288)]},_0x2cd8f3=_0x31eb89[_0x1af5bc(0x277)](function(_0x4e80b0,_0x3311d0){const _0x2a0cdf=_0x1af5bc;return _0x31eb89[_0x2a0cdf(0x216)](_0x27daad,Object['assign']({},_0x4e80b0,{'id':'on-line-icon','ref':_0x3311d0,'icon':_0x4e1d96}));});_0x2cd8f3['displayName']=_0x1af5bc(0x195);function _0x3ac242(_0x559267){const _0x1111fe=_0x1af5bc;var _0x53738e,_0x28714c;const {mcpCoreConfig:_0x5502ce,onSave:_0x20b7ee,loading:_0x22e12a=!0x1,config:_0x1db048,connectionStatus$:_0x5a0066,connectionError$:_0x1fd2ad,currentApiKey$:_0x176bed,currentSessionId$:_0x1b7c29}=_0x559267,_0x5a84a8=_0x5d2f1d['useDependency'](_0xf4e273[_0x1111fe(0x2f6)]),_0x43d7a2=_0x5d2f1d[_0x1111fe(0x221)](_0x5a0066,_0x103aab[_0x1111fe(0x302)][_0x1111fe(0x2d6)]),_0x309800=_0x5d2f1d[_0x1111fe(0x221)](_0x1fd2ad,_0x103aab['MCPConnectionError']['NONE']),_0x337038=_0x5d2f1d[_0x1111fe(0x221)](_0x1b7c29,''),_0x1058db=_0x5d2f1d[_0x1111fe(0x221)](_0x176bed,''),[_0x35b05f,_0x932344]=_0x31eb89['useState'](_0x1058db||''),_0x34b864=!0x0,_0x39348f=_0x1db048[_0x1111fe(0x23d)]&&_0x5502ce[_0x1111fe(0x1ae)]&&(_0x5502ce[_0x1111fe(0x1ae)][_0x1111fe(0x20b)](_0x1111fe(0x228))||_0x5502ce[_0x1111fe(0x1ae)]['includes'](_0x1111fe(0x2c6))),_0x8c312f=(_0x53738e=_0x5502ce[_0x1111fe(0x1ae)])==null?void 0x0:_0x53738e['includes'](_0x1111fe(0x228)),_0x57eb27=(_0x28714c=_0x5502ce[_0x1111fe(0x1ae)])==null?void 0x0:_0x28714c[_0x1111fe(0x20b)](_0x1111fe(0x2c6)),_0xa7450b=_0x8c312f?_0x1111fe(0x28e):'https://console.univer.ai',_0x2d304e=_0x1db048[_0x1111fe(0x23d)]&&(_0x8c312f||_0x57eb27),[_0x4ea3e3,_0x39c205]=_0x31eb89['useState'](!_0x35b05f[_0x1111fe(0x219)]()),_0x23b339=(_0x35b6b8,_0x3b639b)=>{const _0x385d13=_0x1111fe;if(_0x3b639b===_0x103aab[_0x385d13(0x21e)][_0x385d13(0x1e2)])return _0x385d13(0x23a);switch(_0x35b6b8){case _0x103aab[_0x385d13(0x302)]['CONNECTED']:return _0x385d13(0x292);case _0x103aab[_0x385d13(0x302)][_0x385d13(0x198)]:case _0x103aab['MCPConnectionStatus'][_0x385d13(0x286)]:return _0x385d13(0x31a);case _0x103aab[_0x385d13(0x302)]['FAILED']:return _0x385d13(0x23a);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x196dad=(_0x4a7d7c,_0x18c77f)=>{const _0x222c06=_0x1111fe;if(_0x18c77f===_0x103aab[_0x222c06(0x21e)][_0x222c06(0x1e2)])return _0x222c06(0x2d1);switch(_0x4a7d7c){case _0x103aab[_0x222c06(0x302)][_0x222c06(0x25a)]:return _0x222c06(0x312);case _0x103aab[_0x222c06(0x302)][_0x222c06(0x198)]:case _0x103aab['MCPConnectionStatus']['RETRYING']:return _0x222c06(0x1fa);case _0x103aab['MCPConnectionStatus'][_0x222c06(0x283)]:return _0x222c06(0x2d1);default:return _0x222c06(0x2e2);}},_0x1acdff=_0x21e51b=>{const _0x13ffe2=_0x1111fe;switch(_0x21e51b){case _0x103aab[_0x13ffe2(0x302)][_0x13ffe2(0x25a)]:return _0x5a84a8['t'](_0x13ffe2(0x2b1));case _0x103aab[_0x13ffe2(0x302)][_0x13ffe2(0x198)]:return _0x5a84a8['t']('mcpConfig.connectionStatus.connecting');case _0x103aab[_0x13ffe2(0x302)][_0x13ffe2(0x283)]:return _0x5a84a8['t'](_0x13ffe2(0x2be));case _0x103aab[_0x13ffe2(0x302)][_0x13ffe2(0x286)]:return _0x5a84a8['t']('mcpConfig.connectionStatus.retrying');default:return _0x5a84a8['t'](_0x13ffe2(0x276));}},_0x431ab7=_0x5af2b4=>{const _0x4403ff=_0x1111fe;switch(_0x5af2b4){case _0x103aab['MCPConnectionError']['UNAUTHORIZED']:return _0x5a84a8['t'](_0x4403ff(0x240));case _0x103aab[_0x4403ff(0x21e)][_0x4403ff(0x2cb)]:return _0x5a84a8['t']('mcpConfig.connectionError.sessionOccupied');case _0x103aab['MCPConnectionError']['NETWORK_ERROR']:return _0x5a84a8['t']('mcpConfig.connectionError.networkError');case _0x103aab[_0x4403ff(0x21e)][_0x4403ff(0x186)]:return _0x5a84a8['t'](_0x4403ff(0x2e8));default:return'';}},_0x690803=_0x31eb89['useCallback'](()=>{const _0x16d469=_0x1111fe,_0x3c4a7c={..._0x5502ce,'apiKey':_0x35b05f[_0x16d469(0x219)](),'enableAuth':_0x34b864};_0x20b7ee(_0x3c4a7c);},[_0x5502ce,_0x35b05f,_0x34b864,_0x20b7ee]),_0x507722=_0x35b05f[_0x1111fe(0x219)]()[_0x1111fe(0x17f)]>0x0;return _0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x1c8),'children':_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x22b),'children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x185),'children':_0x30f474['jsx'](_0x1111fe(0x2ca),{'className':'univer-text-white','children':'⚙'})}),_0x30f474[_0x1111fe(0x26e)]('div',{'children':_0x30f474[_0x1111fe(0x26e)]('p',{'className':_0x1111fe(0x2ac),'children':_0x5a84a8['t'](_0x1111fe(0x2f9))})})]})}),_0x30f474['jsxs'](_0x1111fe(0x2e5),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x30f474['jsx'](_0x1111fe(0x2e5),{'className':_0x3777bd[_0x1111fe(0x202)](_0x1111fe(0x231),_0x23b339(_0x43d7a2,_0x309800)),'children':_0x30f474[_0x1111fe(0x2ff)]('div',{'className':_0x1111fe(0x2fb),'children':[_0x30f474['jsx']('div',{'className':_0x3777bd['clsx'](_0x1111fe(0x1e0),_0x196dad(_0x43d7a2,_0x309800))}),_0x30f474['jsx'](_0x1111fe(0x2ca),{'className':'univer-text-sm\x20univer-font-medium','children':_0x1acdff(_0x43d7a2)})]})}),_0x309800!==_0x103aab[_0x1111fe(0x21e)][_0x1111fe(0x189)]&&(_0x43d7a2===_0x103aab[_0x1111fe(0x302)][_0x1111fe(0x283)]||_0x309800===_0x103aab[_0x1111fe(0x21e)][_0x1111fe(0x1e2)])&&_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x2cf),'children':_0x30f474[_0x1111fe(0x2ff)]('div',{'className':_0x1111fe(0x26b),'children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2ca),{'className':_0x1111fe(0x183),'children':'⚠️'}),_0x30f474['jsx']('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x431ab7(_0x309800)})]})})]}),_0x30f474[_0x1111fe(0x26e)]('div',{'className':_0x1111fe(0x206),'children':_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x2f2),'children':[_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x1d0),'children':[_0x30f474[_0x1111fe(0x2ff)]('label',{'className':_0x1111fe(0x1a9),'children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2ca),{'children':'🔑'}),'\x20',_0x5a84a8['t'](_0x1111fe(0x304)),_0x30f474['jsx'](_0x1111fe(0x2ca),{'className':_0x1111fe(0x1b3),'children':'*'}),_0x39348f&&_0x30f474[_0x1111fe(0x26e)]('a',{'className':_0x1111fe(0x301),'title':_0x5a84a8['t'](_0x1111fe(0x19b)),'role':_0x1111fe(0x317),'onClick':()=>_0x39c205(!0x0),'children':_0x30f474[_0x1111fe(0x26e)](_0x385613,{})})]}),_0x30f474[_0x1111fe(0x26e)](_0x3777bd[_0x1111fe(0x1d7)],{'type':_0x1111fe(0x232),'placeholder':_0x5a84a8['t'](_0x1111fe(0x1ba)),'value':_0x35b05f,'disabled':_0x22e12a,'autoComplete':'off','onChange':_0x932344}),_0x30f474[_0x1111fe(0x26e)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5a84a8['t'](_0x1111fe(0x230))})]}),_0x39348f&&_0x4ea3e3&&_0x30f474[_0x1111fe(0x2ff)]('div',{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x30f474['jsx']('a',{'className':_0x1111fe(0x2ba),'role':_0x1111fe(0x317),'onClick':()=>_0x39c205(!0x1),'children':_0x30f474[_0x1111fe(0x26e)](_0x3ad901,{'className':_0x1111fe(0x1cd)})}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x308),'children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x316),'children':_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2ca),{'className':_0x1111fe(0x2c9),'children':'🚀'})}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x1af),'children':[_0x30f474['jsx']('h4',{'className':_0x1111fe(0x1ee),'children':_0x5a84a8['t'](_0x1111fe(0x19b))}),_0x30f474[_0x1111fe(0x26e)]('p',{'className':_0x1111fe(0x1c3),'children':_0x5a84a8['t'](_0x1111fe(0x208))}),_0x30f474[_0x1111fe(0x26e)]('div',{'className':_0x1111fe(0x313),'children':_0x2d304e&&_0x30f474[_0x1111fe(0x2ff)]('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0xa7450b,'target':_0x1111fe(0x201),'rel':_0x1111fe(0x1ea),'children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2ca),{'children':'🤖'}),_0x5a84a8['t'](_0x1111fe(0x289)),_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2ca),{'className':_0x1111fe(0x2c0),'children':'↗'})]})}),_0x30f474[_0x1111fe(0x2ff)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x5a84a8['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x1db048[_0x1111fe(0x23d)]&&_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x2af),'children':[_0x30f474[_0x1111fe(0x2ff)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2ca),{'children':'🔗'}),'\x20',_0x5a84a8['t']('mcpConfig.connectionInfo')]}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x209),'children':[_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':'univer-space-y-3','children':[_0x30f474['jsx']('p',{'className':_0x1111fe(0x1bd),'children':_0x5a84a8['t'](_0x1111fe(0x1d8))}),_0x30f474['jsxs'](_0x1111fe(0x2e5),{'className':_0x1111fe(0x1d0),'children':[_0x30f474[_0x1111fe(0x26e)]('div',{'className':_0x1111fe(0x1fc),'children':_0x5a84a8['t'](_0x1111fe(0x1b9))}),_0x30f474[_0x1111fe(0x2ff)]('div',{'className':_0x1111fe(0x19f),'children':[_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x2fb),'children':[_0x30f474['jsx'](_0x1111fe(0x2ca),{'className':_0x1111fe(0x1c4),'children':'1'}),_0x5a84a8['t'](_0x1111fe(0x28c))]}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x2fb),'children':[_0x30f474['jsx'](_0x1111fe(0x2ca),{'className':_0x1111fe(0x1c4),'children':'2'}),_0x5a84a8['t'](_0x1111fe(0x19a))]}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x2fb),'children':[_0x30f474['jsx'](_0x1111fe(0x2ca),{'className':_0x1111fe(0x1c4),'children':'3'}),_0x5a84a8['t'](_0x1111fe(0x268))]})]})]})]}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':'univer-space-y-2','children':[_0x30f474['jsx'](_0x1111fe(0x2e5),{'className':_0x1111fe(0x1fc),'children':'MCP\x20Configuration'}),_0x30f474['jsx'](_0x1111fe(0x2e5),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x30f474[_0x1111fe(0x26e)]('pre',{'className':_0x1111fe(0x244),'children':JSON[_0x1111fe(0x24a)]({'mcpServers':{'univer':{'url':_0x1111fe(0x26d)+(_0x337038||_0x1111fe(0x254)),'type':_0x1111fe(0x197),'headers':{'Authorization':_0x1111fe(0x2f7)+(_0x35b05f||_0x1111fe(0x255))}}}},null,0x2)})})]}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':'univer-space-y-3','children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x1fc),'children':_0x5a84a8['t'](_0x1111fe(0x2dc))}),_0x30f474['jsxs']('div',{'className':_0x1111fe(0x1d0),'children':[_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x1cc),'children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2e5),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x30f474[_0x1111fe(0x26e)]('div',{'className':_0x1111fe(0x1a0),'children':_0x1111fe(0x24c)}),_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2e5),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5a84a8['t'](_0x1111fe(0x222))})]})]}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2e5),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x30f474['jsxs']('div',{'className':_0x1111fe(0x280),'children':[_0x30f474[_0x1111fe(0x26e)]('div',{'className':_0x1111fe(0x1a0),'children':'Authorization:'}),_0x30f474[_0x1111fe(0x26e)]('div',{'className':_0x1111fe(0x226),'children':_0x5a84a8['t'](_0x1111fe(0x18e))})]})]})]})]})]})]}),_0x30f474[_0x1111fe(0x26e)](_0x3777bd[_0x1111fe(0x187)],{'onClick':_0x690803,'disabled':!_0x507722||_0x22e12a,'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':_0x22e12a?_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2ca),{'className':_0x1111fe(0x2fb),'children':[_0x30f474['jsx'](_0x1111fe(0x2ca),{'children':'⟲'}),_0x5a84a8['t'](_0x1111fe(0x1ce))]}):_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2ca),{'className':_0x1111fe(0x2fb),'children':[_0x30f474[_0x1111fe(0x26e)](_0x19d38b,{}),_0x5a84a8['t'](_0x1111fe(0x2bb))]})}),_0x30f474[_0x1111fe(0x26e)]('div',{'className':_0x1111fe(0x182),'children':_0x30f474['jsxs'](_0x1111fe(0x2e5),{'className':_0x1111fe(0x27b),'children':[_0x30f474[_0x1111fe(0x26e)](_0x1111fe(0x2ca),{'className':_0x1111fe(0x1b4),'children':'💡'}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'className':_0x1111fe(0x30f),'children':[_0x30f474[_0x1111fe(0x26e)]('div',{'className':_0x1111fe(0x1c6),'children':_0x1111fe(0x269)}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'children':['•',_0x5a84a8['t'](_0x1111fe(0x22d))]}),_0x30f474[_0x1111fe(0x2ff)](_0x1111fe(0x2e5),{'children':['•',_0x5a84a8['t'](_0x1111fe(0x2ab))]})]})]})})]})})]});}const _0x3a85b6=_0x1af5bc(0x2eb),_0x3d108f={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x35fd7b=Object[_0x1af5bc(0x241)],_0x209914=(_0x40ba74,_0x19e9dd,_0x4d5172,_0x1c4b52)=>{const _0x56f228=_0x1af5bc;for(var _0x6453de=_0x1c4b52>0x1?void 0x0:_0x1c4b52?_0x35fd7b(_0x19e9dd,_0x4d5172):_0x19e9dd,_0x5df7d=_0x40ba74[_0x56f228(0x17f)]-0x1,_0x44562d;_0x5df7d>=0x0;_0x5df7d--)(_0x44562d=_0x40ba74[_0x5df7d])&&(_0x6453de=_0x44562d(_0x6453de)||_0x6453de);return _0x6453de;},_0x3b96cd=(_0x261d69,_0x2e647a)=>(_0x16604d,_0x1f6a67)=>_0x2e647a(_0x16604d,_0x1f6a67,_0x261d69);const _0x1c292b=_0x1af5bc(0x27d),_0x43ee9a=_0x1af5bc(0x18a);_0x4b38b2[_0x1af5bc(0x213)]=class extends _0xf4e273[_0x1af5bc(0x1f0)]{constructor(_0x272caa,_0x502abe,_0x1b3b96,_0x305e8a,_0x21eaf0,_0x85900,_0x37252a,_0x33b550,_0x920bb9,_0x33ba98){const _0xdf0329=_0x1af5bc;super(),_0x1eec44(this,_0xdf0329(0x1ed),new _0x2cea72[(_0xdf0329(0x260))](!0x1)),_0x1eec44(this,_0xdf0329(0x1b0),new _0x2cea72[(_0xdf0329(0x260))]({})),_0x1eec44(this,_0xdf0329(0x1a4),new _0x2cea72[(_0xdf0329(0x260))]({})),_0x1eec44(this,_0xdf0329(0x1a2),new _0x2cea72['BehaviorSubject']('')),_0x1eec44(this,'_handleConfigSave',async _0x1f64d2=>{const _0x581b9d=_0xdf0329;var _0x3aeb63,_0x582ae7;this[_0x581b9d(0x1ed)][_0x581b9d(0x2f1)](!0x0);try{const _0x183fef=await this[_0x581b9d(0x30c)](_0x1f64d2);if(!_0x183fef[_0x581b9d(0x26c)]){this['_messageService'][_0x581b9d(0x1a8)]({'type':_0x3777bd[_0x581b9d(0x295)]['Error'],'content':_0x183fef[_0x581b9d(0x1a5)]||this[_0x581b9d(0x27c)]['t'](_0x581b9d(0x2e3))});return;}_0x1f64d2[_0x581b9d(0x1bc)]?await this[_0x581b9d(0x2fa)][_0x581b9d(0x315)](_0x1c292b,_0x1f64d2[_0x581b9d(0x1bc)][_0x581b9d(0x219)]()):await this[_0x581b9d(0x2fa)][_0x581b9d(0x23b)](_0x1c292b),this[_0x581b9d(0x1a2)][_0x581b9d(0x2f1)](((_0x3aeb63=_0x1f64d2[_0x581b9d(0x1bc)])==null?void 0x0:_0x3aeb63[_0x581b9d(0x219)]())||''),this['_mcpConnectionController'][_0x581b9d(0x2d2)]({'Authorization':'Bearer\x20'+((_0x582ae7=_0x1f64d2[_0x581b9d(0x1bc)])==null?void 0x0:_0x582ae7[_0x581b9d(0x219)]())}),this[_0x581b9d(0x20d)][_0x581b9d(0x1a8)]({'type':_0x3777bd['MessageType'][_0x581b9d(0x1d9)],'content':this[_0x581b9d(0x27c)]['t'](_0x581b9d(0x1d1))}),setTimeout(()=>{const _0x1e2b04=_0x581b9d;this[_0x1e2b04(0x253)][_0x1e2b04(0x1ac)](_0x43ee9a);},0x320);}catch(_0x3bfe26){this[_0x581b9d(0x234)][_0x581b9d(0x296)](_0x581b9d(0x29b),_0x3bfe26),this[_0x581b9d(0x20d)][_0x581b9d(0x1a8)]({'type':_0x3777bd['MessageType'][_0x581b9d(0x267)],'content':this[_0x581b9d(0x27c)]['t']('mcpConfig.configError')});}finally{this[_0x581b9d(0x1ed)][_0x581b9d(0x2f1)](!0x1);}}),(this[_0xdf0329(0x266)]=_0x272caa,this['_uiPartsService']=_0x502abe,this[_0xdf0329(0x25f)]=_0x1b3b96,this[_0xdf0329(0x2fa)]=_0x305e8a,this[_0xdf0329(0x253)]=_0x21eaf0,this[_0xdf0329(0x20d)]=_0x85900,this[_0xdf0329(0x2ef)]=_0x37252a,this[_0xdf0329(0x27c)]=_0x33b550,this[_0xdf0329(0x234)]=_0x920bb9,this['_mcpConnectionController']=_0x33ba98,this[_0xdf0329(0x257)](),this['_loadStoredApiKey'](),this['_registerComponent']());}[_0x1af5bc(0x214)](){const _0x4df9bc=_0x1af5bc,_0x821e93=this[_0x4df9bc(0x25f)][_0x4df9bc(0x30a)](_0x3a85b6);_0x821e93!=null&&_0x821e93[_0x4df9bc(0x23d)]&&this[_0x4df9bc(0x253)]['open']({'id':_0x43ee9a,'title':{'title':this[_0x4df9bc(0x27c)]['t'](_0x4df9bc(0x2b7))},'children':{'label':_0x4df9bc(0x294)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x4fca5f=_0x4df9bc;this['_dialogService'][_0x4fca5f(0x1ac)](_0x43ee9a);}});}['getCurrentConfig'](){const _0x171b3b=_0x1af5bc;return this[_0x171b3b(0x1b0)][_0x171b3b(0x1bb)];}[_0x1af5bc(0x1b2)](){const _0x47a685=_0x1af5bc;this[_0x47a685(0x2c5)](this[_0x47a685(0x2ef)][_0x47a685(0x23c)](_0x47a685(0x294),this[_0x47a685(0x217)]()));}['_createConfigPanelComponent'](){const _0x2208ef=_0x1af5bc;return _0x5d2f1d['connectInjector'](()=>{const _0x1058f3=_0x2460;var _0x53b3b3,_0x42ae5e,_0x535488;return _0x30f474[_0x1058f3(0x26e)](_0x3ac242,{'config':this['_config$'][_0x1058f3(0x1bb)],'mcpCoreConfig':this[_0x1058f3(0x1b0)][_0x1058f3(0x1bb)],'currentApiKey$':this[_0x1058f3(0x1a2)],'onSave':this[_0x1058f3(0x193)],'loading':this[_0x1058f3(0x1ed)][_0x1058f3(0x1bb)],'connectionStatus$':(_0x53b3b3=this['_mcpConnectionController'])==null?void 0x0:_0x53b3b3[_0x1058f3(0x2e4)],'connectionError$':(_0x42ae5e=this[_0x1058f3(0x24e)])==null?void 0x0:_0x42ae5e[_0x1058f3(0x2fd)],'currentSessionId$':(_0x535488=this[_0x1058f3(0x24e)])==null?void 0x0:_0x535488[_0x1058f3(0x1bf)]});},this[_0x2208ef(0x266)]);}[_0x1af5bc(0x257)](){const _0x3b427a=_0x1af5bc;this[_0x3b427a(0x2c5)](this['_configService'][_0x3b427a(0x229)](_0x103aab[_0x3b427a(0x264)])[_0x3b427a(0x2f8)](_0x1c7937=>{const _0x1cc4d3=_0x3b427a;this[_0x1cc4d3(0x1b0)][_0x1cc4d3(0x2f1)](_0x1c7937||{});}));const _0x526d63=this[_0x3b427a(0x25f)][_0x3b427a(0x30a)](_0x103aab[_0x3b427a(0x264)]);this['_mcpCoreConfig$'][_0x3b427a(0x2f1)](_0x526d63||{}),this['disposeWithMe'](this['_configService'][_0x3b427a(0x229)](_0x3a85b6)['subscribe'](_0x578a6f=>{const _0x2d0241=_0x3b427a;this['_config$'][_0x2d0241(0x2f1)](_0x578a6f||{});}));const _0xa869e9=this['_configService']['getConfig'](_0x3a85b6);this[_0x3b427a(0x1a4)][_0x3b427a(0x2f1)](_0xa869e9||{});}async[_0x1af5bc(0x30d)](){const _0x54ae1d=_0x1af5bc,_0x38662f=this[_0x54ae1d(0x25f)][_0x54ae1d(0x30a)](_0x3a85b6);if(!(_0x38662f!=null&&_0x38662f['showDeveloperTools']))return;const _0x22cfdc=await this[_0x54ae1d(0x2fa)]['getItem'](_0x1c292b);_0x22cfdc&&(this[_0x54ae1d(0x24e)][_0x54ae1d(0x2d2)]({'Authorization':'Bearer\x20'+_0x22cfdc}),this[_0x54ae1d(0x1a2)][_0x54ae1d(0x2f1)](_0x22cfdc));}async[_0x1af5bc(0x30c)](_0x2f2e48){const _0xee263c=_0x1af5bc;if(!_0x2f2e48[_0xee263c(0x1bc)]||_0x2f2e48[_0xee263c(0x1bc)]['trim']()[_0xee263c(0x17f)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0xee263c(0x27c)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x2f2e48['apiKey'][_0xee263c(0x219)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0xee263c(0x27c)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x709891=await this['_injector'][_0xee263c(0x2a1)](_0x103aab[_0xee263c(0x2b9)])[_0xee263c(0x2ce)](_0x2f2e48[_0xee263c(0x1bc)][_0xee263c(0x219)]());return _0x709891[_0xee263c(0x26c)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x709891['error']||this[_0xee263c(0x27c)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x3c8d7e){return console[_0xee263c(0x2a2)](_0xee263c(0x309),_0x3c8d7e),{'isValid':!0x0};}}},_0x4b38b2['MCPConfigUIController']=_0x209914([_0x3b96cd(0x0,_0xf4e273[_0x1af5bc(0x243)](_0xf4e273[_0x1af5bc(0x278)])),_0x3b96cd(0x1,_0x5d2f1d[_0x1af5bc(0x261)]),_0x3b96cd(0x2,_0xf4e273[_0x1af5bc(0x1c5)]),_0x3b96cd(0x3,_0xf4e273[_0x1af5bc(0x26a)]),_0x3b96cd(0x4,_0x5d2f1d[_0x1af5bc(0x2f4)]),_0x3b96cd(0x5,_0x5d2f1d[_0x1af5bc(0x291)]),_0x3b96cd(0x6,_0xf4e273[_0x1af5bc(0x243)](_0x5d2f1d[_0x1af5bc(0x2e7)])),_0x3b96cd(0x7,_0xf4e273[_0x1af5bc(0x243)](_0xf4e273[_0x1af5bc(0x2f6)])),_0x3b96cd(0x8,_0xf4e273[_0x1af5bc(0x1f3)]),_0x3b96cd(0x9,_0xf4e273[_0x1af5bc(0x243)](_0x103aab[_0x1af5bc(0x2b9)]))],_0x4b38b2[_0x1af5bc(0x213)]);const _0x531bd6={'id':_0x1af5bc(0x1d3),'type':_0xf4e273['CommandType'][_0x1af5bc(0x1f5)],'handler':async(_0x2e423d,_0x5474b0)=>(_0x2e423d[_0x1af5bc(0x2a1)](_0x4b38b2[_0x1af5bc(0x213)])[_0x1af5bc(0x214)](),!0x0)};function _0xaf9ec3(_0x16dd88,_0x29350c){const _0x135128=_0x1af5bc;switch(_0x16dd88){case _0x103aab[_0x135128(0x302)][_0x135128(0x2d6)]:return _0x135128(0x203);case _0x103aab['MCPConnectionStatus'][_0x135128(0x198)]:return _0x135128(0x2c7);case _0x103aab[_0x135128(0x302)][_0x135128(0x25a)]:return _0x135128(0x21a);case _0x103aab['MCPConnectionStatus'][_0x135128(0x283)]:switch(_0x29350c){case _0x103aab[_0x135128(0x21e)][_0x135128(0x1e2)]:return _0x135128(0x28a);case _0x103aab['MCPConnectionError']['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x103aab['MCPConnectionError'][_0x135128(0x284)]:return _0x135128(0x227);case _0x103aab[_0x135128(0x21e)][_0x135128(0x186)]:return _0x135128(0x199);default:return _0x135128(0x279);}case _0x103aab['MCPConnectionStatus']['RETRYING']:return'mcpStatus.retrying';default:return _0x135128(0x297);}}function _0x1ac1b2(_0x820902,_0xa4f43c,_0x3f3251,_0x52c78f=!0x0){const _0x2b344b=_0x1af5bc,_0xcc9d05=_0xaf9ec3(_0x820902,_0xa4f43c),_0x53e00a=_0x3f3251['t'](_0xcc9d05);return _0x52c78f?_0x820902===_0x103aab[_0x2b344b(0x302)][_0x2b344b(0x2d6)]&&_0xa4f43c===_0x103aab[_0x2b344b(0x21e)]['UNAUTHORIZED']?_0x53e00a+_0x2b344b(0x1a1)+_0x3f3251['t'](_0x2b344b(0x2a9)):_0x820902===_0x103aab[_0x2b344b(0x302)][_0x2b344b(0x25a)]?''+_0x53e00a:_0x820902===_0x103aab[_0x2b344b(0x302)]['DISCONNECTED']||_0x820902===_0x103aab[_0x2b344b(0x302)][_0x2b344b(0x283)]?_0x53e00a+_0x2b344b(0x1a1)+_0x3f3251['t'](_0x2b344b(0x2a4)):_0x53e00a:_0x53e00a;}function _0xacde2(_0x46e548){const _0x28b8a4=_0x1af5bc;switch(_0x46e548){case _0x103aab[_0x28b8a4(0x302)][_0x28b8a4(0x25a)]:return _0x28b8a4(0x20c);case _0x103aab['MCPConnectionStatus'][_0x28b8a4(0x198)]:case _0x103aab[_0x28b8a4(0x302)][_0x28b8a4(0x286)]:return _0x28b8a4(0x2e9);case _0x103aab[_0x28b8a4(0x302)][_0x28b8a4(0x283)]:case _0x103aab['MCPConnectionStatus'][_0x28b8a4(0x2d6)]:return _0x28b8a4(0x1b3);default:return'univer-text-gray-500';}}function _0x37fa49(_0x3f73ca){const _0x31c9d7=_0x1af5bc,{status$:_0x52c1f9,error$:_0x203b3b,onConfigure:_0x229cf4,showClickable:_0x1ad860=!0x0}=_0x3f73ca,_0x40b5a8=_0x5d2f1d[_0x31c9d7(0x221)](_0x52c1f9,_0x103aab[_0x31c9d7(0x302)][_0x31c9d7(0x2d6)]),_0x16c899=_0x5d2f1d[_0x31c9d7(0x221)](_0x203b3b,_0x103aab[_0x31c9d7(0x21e)]['NONE']),_0x345a7b=_0x5d2f1d[_0x31c9d7(0x1be)](_0xf4e273[_0x31c9d7(0x2f6)]),_0x27677f=_0x40b5a8===_0x103aab[_0x31c9d7(0x302)][_0x31c9d7(0x25a)];_0x40b5a8===_0x103aab[_0x31c9d7(0x302)][_0x31c9d7(0x198)]||_0x103aab['MCPConnectionStatus'][_0x31c9d7(0x286)];const _0x105056=_0x345a7b['t'](_0xaf9ec3(_0x40b5a8,_0x16c899)),_0x428394=_0x1ac1b2(_0x40b5a8,_0x16c899,_0x345a7b,_0x1ad860),_0x112cfc=_0xacde2(_0x40b5a8),_0x1488ec=_0x27677f?_0x30f474[_0x31c9d7(0x26e)](_0x2cd8f3,{}):_0x30f474['jsx'](_0x5dda55,{}),_0xcb7362=_0x31eb89[_0x31c9d7(0x184)](()=>{_0x1ad860&&_0x229cf4&&_0x229cf4();},[_0x1ad860,_0x229cf4]);function _0x46aab5(){const _0x3cd66c=_0x31c9d7;return _0x30f474['jsxs'](_0x3cd66c(0x2e5),{'className':_0x3777bd[_0x3cd66c(0x202)]('univer-flex\x20univer-items-center',_0x1ad860&&_0x229cf4&&_0x3cd66c(0x190)),'role':_0x3cd66c(0x317),'onClick':_0x1ad860&&_0x229cf4?_0xcb7362:void 0x0,'children':[_0x30f474[_0x3cd66c(0x26e)](_0x3cd66c(0x2e5),{'className':_0x3777bd[_0x3cd66c(0x202)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x112cfc),'children':_0x1488ec}),_0x30f474[_0x3cd66c(0x26e)]('div',{'className':_0x3cd66c(0x282),'children':_0x105056})]});}return _0x30f474[_0x31c9d7(0x26e)](_0x3777bd[_0x31c9d7(0x2c8)],{'title':_0x428394,'placement':_0x31c9d7(0x2da),'children':_0x46aab5()});}var _0x264f1b=Object[_0x1af5bc(0x241)],_0x4b37a7=(_0x24b2f4,_0x11c758,_0x3354d1,_0x3b4615)=>{const _0x266cc7=_0x1af5bc;for(var _0x154c82=_0x3b4615>0x1?void 0x0:_0x3b4615?_0x264f1b(_0x11c758,_0x3354d1):_0x11c758,_0xc93dc3=_0x24b2f4[_0x266cc7(0x17f)]-0x1,_0x41db49;_0xc93dc3>=0x0;_0xc93dc3--)(_0x41db49=_0x24b2f4[_0xc93dc3])&&(_0x154c82=_0x41db49(_0x154c82)||_0x154c82);return _0x154c82;},_0x1f7c3d=(_0x3e0825,_0x478b0f)=>(_0x3d405a,_0x50ac22)=>_0x478b0f(_0x3d405a,_0x50ac22,_0x3e0825);_0x4b38b2[_0x1af5bc(0x19e)]=class extends _0xf4e273['Disposable']{constructor(_0x3956e1,_0x27f786,_0x32e6b2,_0x9df4c3){const _0x48c82e=_0x1af5bc;super(),this[_0x48c82e(0x266)]=_0x3956e1,this[_0x48c82e(0x251)]=_0x27f786,this[_0x48c82e(0x235)]=_0x32e6b2,this[_0x48c82e(0x25f)]=_0x9df4c3,this[_0x48c82e(0x2a5)](),this[_0x48c82e(0x1fe)]();}[_0x1af5bc(0x2a5)](){const _0x1e28cb=_0x1af5bc,_0x627464=this[_0x1e28cb(0x25f)][_0x1e28cb(0x30a)](_0x3a85b6);_0x627464!=null&&_0x627464[_0x1e28cb(0x23d)]&&(this[_0x1e28cb(0x251)][_0x1e28cb(0x310)]=!0x1);}['_initStatusComponent'](){const _0x5453c7=_0x1af5bc,_0x5c75c5=this[_0x5453c7(0x25f)][_0x5453c7(0x30a)](_0x3a85b6);(_0x5c75c5==null?void 0x0:_0x5c75c5[_0x5453c7(0x274)])!==!0x1&&this[_0x5453c7(0x2c5)](this['_uiPartsService'][_0x5453c7(0x250)](_0x5d2f1d[_0x5453c7(0x30e)]['HEADER_MENU'],()=>{const _0x2250bc=_0x5453c7;var _0x43f2b2;return _0x5d2f1d[_0x2250bc(0x1fd)](_0x130fe8({'status$':this[_0x2250bc(0x251)]['connectionStatus$'],'error$':this[_0x2250bc(0x251)][_0x2250bc(0x2fd)],'onConfigure':()=>this[_0x2250bc(0x1ff)](),'showClickable':(_0x43f2b2=_0x5c75c5==null?void 0x0:_0x5c75c5['showDeveloperTools'])!=null?_0x43f2b2:!0x1}),this[_0x2250bc(0x266)]);}));}[_0x1af5bc(0x1ff)](){const _0x5093b1=_0x1af5bc;this['_injector'][_0x5093b1(0x2a1)](_0x4b38b2[_0x5093b1(0x213)])[_0x5093b1(0x214)]();}},_0x4b38b2[_0x1af5bc(0x19e)]=_0x4b37a7([_0x1f7c3d(0x0,_0xf4e273['Inject'](_0xf4e273[_0x1af5bc(0x278)])),_0x1f7c3d(0x1,_0xf4e273[_0x1af5bc(0x243)](_0x103aab[_0x1af5bc(0x2b9)])),_0x1f7c3d(0x2,_0x5d2f1d[_0x1af5bc(0x261)]),_0x1f7c3d(0x3,_0xf4e273['IConfigService'])],_0x4b38b2['MCPConnectionUIController']);function _0x130fe8(_0x574de2){const {status$:_0x141876,error$:_0x4f07c0,onConfigure:_0x1f4a61,showClickable:_0x2ce3e3}=_0x574de2;return function(){const _0x527960=_0x2460;return _0x30f474[_0x527960(0x26e)](_0x37fa49,{'status$':_0x141876,'error$':_0x4f07c0,'onConfigure':_0x1f4a61,'showClickable':_0x2ce3e3});};}function _0x2e95b5(_0x43781e){const _0x5cbd07=_0x1af5bc;return{'id':_0x531bd6['id'],'type':_0x5d2f1d[_0x5cbd07(0x2a7)][_0x5cbd07(0x22c)],'icon':_0x5cbd07(0x2e0),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}const _0x47ad5e={[_0x5d2f1d[_0x1af5bc(0x20e)][_0x1af5bc(0x1d6)]]:{[_0x531bd6['id']]:{'order':0xa,'menuItemFactory':_0x2e95b5}}};var _0x4ea518=Object[_0x1af5bc(0x241)],_0x20eebd=(_0x1207af,_0x3854b0,_0x5900d1,_0x12c446)=>{const _0x39bf9f=_0x1af5bc;for(var _0x27056c=_0x12c446>0x1?void 0x0:_0x12c446?_0x4ea518(_0x3854b0,_0x5900d1):_0x3854b0,_0x50054e=_0x1207af[_0x39bf9f(0x17f)]-0x1,_0x5f4273;_0x50054e>=0x0;_0x50054e--)(_0x5f4273=_0x1207af[_0x50054e])&&(_0x27056c=_0x5f4273(_0x27056c)||_0x27056c);return _0x27056c;},_0x130ffe=(_0x535ac4,_0x1ce24f)=>(_0x5cf6f1,_0x384e99)=>_0x1ce24f(_0x5cf6f1,_0x384e99,_0x535ac4);_0x4b38b2[_0x1af5bc(0x25e)]=class extends _0xf4e273[_0x1af5bc(0x1f0)]{constructor(_0x5e5f66,_0x4e78b4){const _0x1ed2c5=_0x1af5bc;super(),this[_0x1ed2c5(0x256)]=_0x5e5f66,this['_menuManagerService']=_0x4e78b4,this[_0x1ed2c5(0x2ee)](),this[_0x1ed2c5(0x220)]();}[_0x1af5bc(0x2ee)](){const _0x2de1cc=_0x1af5bc;[_0x531bd6][_0x2de1cc(0x24b)](_0x43c1d8=>{const _0x59369b=_0x2de1cc;this[_0x59369b(0x2c5)](this[_0x59369b(0x256)][_0x59369b(0x1f6)](_0x43c1d8));});}[_0x1af5bc(0x220)](){const _0x48757=_0x1af5bc;this[_0x48757(0x1e5)][_0x48757(0x27a)](_0x47ad5e);}},_0x4b38b2[_0x1af5bc(0x25e)]=_0x20eebd([_0x130ffe(0x0,_0xf4e273[_0x1af5bc(0x265)]),_0x130ffe(0x1,_0x5d2f1d[_0x1af5bc(0x247)])],_0x4b38b2[_0x1af5bc(0x25e)]);const _0xb47c4f={'mcpStatus':{'disconnected':_0x1af5bc(0x207),'connecting':_0x1af5bc(0x1e6),'connected':_0x1af5bc(0x223),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1af5bc(0x211),'unknown':_0x1af5bc(0x246),'unauthorized':_0x1af5bc(0x238),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x1af5bc(0x1c0),'maxRetriesExceeded':_0x1af5bc(0x307),'clickToConnect':_0x1af5bc(0x28d),'clickToConfigure':_0x1af5bc(0x1b7)},'mcpConfig':{'title':_0x1af5bc(0x1eb),'description':_0x1af5bc(0x194),'apiKey':_0x1af5bc(0x2c4),'apiKeyPlaceholder':_0x1af5bc(0x258),'apiKeyHint':_0x1af5bc(0x1cf),'enableAuth':_0x1af5bc(0x212),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1af5bc(0x318),'mcpClientConfig':_0x1af5bc(0x318),'configInstructions':_0x1af5bc(0x2a8),'configStepTitle':_0x1af5bc(0x25d),'configStep1':_0x1af5bc(0x1b6),'configStep2':_0x1af5bc(0x249),'configStep3':_0x1af5bc(0x1f8),'sessionId':_0x1af5bc(0x314),'sessionIdDescription':_0x1af5bc(0x1a6),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1af5bc(0x2de),'maxRetries':_0x1af5bc(0x1f1),'save':_0x1af5bc(0x22a),'saving':_0x1af5bc(0x22f),'note1':_0x1af5bc(0x319),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1af5bc(0x2c3),'configError':_0x1af5bc(0x263),'apiApplyInfo':{'title':_0x1af5bc(0x1b5),'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':_0x1af5bc(0x224),'getStarted':_0x1af5bc(0x2ad)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1af5bc(0x248),'invalidApiKey':_0x1af5bc(0x1f2)},'connectionStatus':{'disconnected':_0x1af5bc(0x293),'connecting':'Connecting...','connected':'Connected','failed':_0x1af5bc(0x200),'retrying':_0x1af5bc(0x2c2)},'connectionError':{'unauthorized':_0x1af5bc(0x24f),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x1af5bc(0x275),'maxRetriesExceeded':_0x1af5bc(0x1ad)}}},_0x148b22={'mcpStatus':{'disconnected':_0x1af5bc(0x1d5),'connecting':_0x1af5bc(0x29e),'connected':_0x1af5bc(0x311),'failed':_0x1af5bc(0x29d),'retrying':_0x1af5bc(0x1e7),'unknown':_0x1af5bc(0x1c2),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x1af5bc(0x2fe),'networkError':_0x1af5bc(0x215),'maxRetriesExceeded':_0x1af5bc(0x2cd),'clickToConnect':_0x1af5bc(0x20a),'clickToConfigure':_0x1af5bc(0x1f4)},'mcpConfig':{'title':_0x1af5bc(0x2ec),'description':_0x1af5bc(0x1d2),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x1af5bc(0x1b8),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x1af5bc(0x2d8),'enableAuthHint':_0x1af5bc(0x245),'connectionInfo':_0x1af5bc(0x270),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x1af5bc(0x299),'configStepTitle':_0x1af5bc(0x1da),'configStep1':_0x1af5bc(0x2ed),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x1af5bc(0x205),'authorizationDescription':_0x1af5bc(0x21f),'configParameters':_0x1af5bc(0x2b6),'maxRetries':_0x1af5bc(0x21d),'save':'保存配置','saving':'保存中...','note1':_0x1af5bc(0x1de),'note2':_0x1af5bc(0x287),'configSaved':_0x1af5bc(0x2b3),'configError':'配置保存失败','apiApplyInfo':{'title':_0x1af5bc(0x2a0),'description':_0x1af5bc(0x2d7),'univerAiLabel':_0x1af5bc(0x2f5),'getStarted':_0x1af5bc(0x252)},'validation':{'apiKeyRequired':_0x1af5bc(0x28f),'apiKeyTooShort':_0x1af5bc(0x271),'invalidConfig':_0x1af5bc(0x2f3),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x1af5bc(0x18b),'connecting':'连接中...','connected':_0x1af5bc(0x236),'failed':_0x1af5bc(0x188),'retrying':_0x1af5bc(0x1ef)},'connectionError':{'unauthorized':_0x1af5bc(0x2db),'sessionOccupied':_0x1af5bc(0x1c1),'networkError':_0x1af5bc(0x2b0),'maxRetriesExceeded':_0x1af5bc(0x303)}}};var _0x214a26=Object[_0x1af5bc(0x1e9)],_0x134289=Object[_0x1af5bc(0x241)],_0x50982f=(_0x3a4d31,_0xf64e7d,_0x3f0c6f)=>_0xf64e7d in _0x3a4d31?_0x214a26(_0x3a4d31,_0xf64e7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f0c6f}):_0x3a4d31[_0xf64e7d]=_0x3f0c6f,_0x1a875d=(_0x2ec88f,_0x19bc9a,_0x109cb7,_0xbfad29)=>{const _0x567fe8=_0x1af5bc;for(var _0x3c415b=_0xbfad29>0x1?void 0x0:_0xbfad29?_0x134289(_0x19bc9a,_0x109cb7):_0x19bc9a,_0x129ec9=_0x2ec88f[_0x567fe8(0x17f)]-0x1,_0x291798;_0x129ec9>=0x0;_0x129ec9--)(_0x291798=_0x2ec88f[_0x129ec9])&&(_0x3c415b=_0x291798(_0x3c415b)||_0x3c415b);return _0x3c415b;},_0x1efd3a=(_0x214b2e,_0xc2dd5a)=>(_0x2ab1c0,_0x51a328)=>_0xc2dd5a(_0x2ab1c0,_0x51a328,_0x214b2e),_0x4bc171=(_0x3f10ff,_0x8bd2c1,_0x28c596)=>_0x50982f(_0x3f10ff,_0x8bd2c1+'',_0x28c596);_0x4b38b2[_0x1af5bc(0x20f)]=class extends _0xf4e273[_0x1af5bc(0x1c7)]{constructor(_0x4d045d=_0x3d108f,_0x3c2950,_0x6c702a,_0x31d43c,_0x44e54e,_0x4dc60e){const _0x37bbf4=_0x1af5bc;super(),this[_0x37bbf4(0x2f0)]=_0x4d045d,this[_0x37bbf4(0x266)]=_0x3c2950,this['_configService']=_0x6c702a,this['_uiPartsService']=_0x31d43c,this['_localStorageService']=_0x44e54e,this['_localeService']=_0x4dc60e;const {..._0x354595}=_0xf4e273[_0x37bbf4(0x262)]({},_0x3d108f,this['_config']);this[_0x37bbf4(0x25f)]['setConfig'](_0x3a85b6,_0x354595);}async[_0x1af5bc(0x2e6)](){const _0x4e4896=_0x1af5bc,_0x572cb5=[[_0x4b38b2[_0x4e4896(0x19e)]],[_0x4b38b2[_0x4e4896(0x213)]],[_0x4b38b2[_0x4e4896(0x25e)]]];this[_0x4e4896(0x266)][_0x4e4896(0x1e4)](_0xa2c608[_0x4e4896(0x29f)])||_0x572cb5[_0x4e4896(0x1aa)]([_0xa2c608[_0x4e4896(0x29f)],{'useClass':_0xa2c608[_0x4e4896(0x24d)]}]),_0x572cb5['forEach'](_0x413b3a=>this['_injector']['add'](_0x413b3a)),this[_0x4e4896(0x266)][_0x4e4896(0x2a1)](_0x4b38b2[_0x4e4896(0x19e)]),this[_0x4e4896(0x266)][_0x4e4896(0x2a1)](_0x4b38b2[_0x4e4896(0x213)]),this[_0x4e4896(0x266)]['get'](_0x4b38b2[_0x4e4896(0x25e)]);}},_0x4bc171(_0x4b38b2[_0x1af5bc(0x20f)],'pluginName','MCP_UI_PLUGIN'),_0x4b38b2[_0x1af5bc(0x20f)]=_0x1a875d([_0xf4e273[_0x1af5bc(0x273)](_0x103aab[_0x1af5bc(0x26f)]),_0x1efd3a(0x1,_0xf4e273['Inject'](_0xf4e273[_0x1af5bc(0x278)])),_0x1efd3a(0x2,_0xf4e273['IConfigService']),_0x1efd3a(0x3,_0x5d2f1d[_0x1af5bc(0x261)]),_0x1efd3a(0x4,_0xf4e273['ILocalStorageService']),_0x1efd3a(0x5,_0xf4e273[_0x1af5bc(0x243)](_0xf4e273['LocaleService']))],_0x4b38b2[_0x1af5bc(0x20f)]),_0x4b38b2[_0x1af5bc(0x294)]=_0x3ac242,_0x4b38b2[_0x1af5bc(0x1f9)]=_0x37fa49,_0x4b38b2['OpenMCPConfigPanelCommand']=_0x531bd6,_0x4b38b2[_0x1af5bc(0x30b)]=_0xb47c4f,_0x4b38b2[_0x1af5bc(0x1fb)]=_0x148b22,Object['defineProperty'](_0x4b38b2,Symbol[_0x1af5bc(0x272)],{'value':_0x1af5bc(0x181)});}));function _0x45fb(){const _0x2220c8=['_handleConfigure','Connection\x20Failed','_blank','clsx','mcpStatus.disconnected','amd','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','MCP\x20Disconnected','mcpConfig.apiApplyInfo.description','univer-space-y-4','点击连接\x20MCP','includes','univer-text-green-500','_messageService','RibbonStartGroup','UniverMCPUIPlugin','tag','MCP\x20Retrying...','Enable\x20Authentication','MCPConfigUIController','showConfigPanel','MCP:\x20网络错误','createElement','_createConfigPanelComponent','UniverIcon','trim','mcpStatus.connected','HelpIcon','xlink:href','最大重试次数','MCPConnectionError','带有\x20Bearer\x20前缀的\x20API\x20密钥。','_initializeMenus','useObservable','mcpConfig.sessionIdDescription','MCP\x20Connected','Univer\x20AI\x20Console','UniverDesign','univer-text-xs\x20univer-text-gray-500','mcpStatus.networkError','univer.plus','subscribeConfigValue$','Save\x20Configuration','univer-flex\x20univer-items-center\x20univer-gap-3','BUTTON','mcpConfig.note1','7598535eRcfTt','Saving...','mcpConfig.apiKeyHint','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','text','evenodd','_logService','_uiPartsService','已连接','round','MCP:\x20Unauthorized','190USXoEW','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','removeItem','register','showDeveloperTools','UniverProMcp','OffLineIcon','mcpConfig.connectionError.unauthorized','getOwnPropertyDescriptor','substring','Inject','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','启用身份验证以获得安全连接','MCP\x20Unknown\x20Status','IMenuManagerService','Invalid\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','stringify','forEach','univer_session_id:','WebSocketService','_mcpConnectionController','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','registerComponent','_connectionController','几秒钟内获取您的\x20API\x20密钥','_dialogService','<SESSION_ID>','<API_KEY>','_commandService','_initConfigSync','Enter\x20your\x20API\x20key','@univerjs-pro/mcp','CONNECTED','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','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','Configuration\x20Steps:','MCPUIMenuController','_configService','BehaviorSubject','IUIPartsService','merge','Failed\x20to\x20save\x20configuration','MCP_PLUGIN_CONFIG_KEY','ICommandService','_injector','Error','mcpConfig.configStep3','Configuration\x20Notes:','ILocalStorageService','univer-flex\x20univer-items-start\x20univer-gap-2','isValid','https://mcp.univer.ai/mcp/?univer_session_id=','jsx','UniverMCPPlugin','MCP\x20客户端配置','API\x20密钥长度至少需要\x2010\x20位','toStringTag','DependentOn','showStatus','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpConfig.connectionStatus.disconnected','forwardRef','Injector','mcpStatus.failed','mergeMenu','univer-flex\x20univer-gap-3','_localeService','mcp.apiKey','symbol','4503716ISklhi','univer-min-w-0\x20univer-flex-1','off-line-icon','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','FAILED','NETWORK_ERROR','fill','RETRYING','您的\x20API\x20密钥安全存储在本地存储中','on-line-icon_clip0_910_349','mcpConfig.apiApplyInfo.univerAiLabel','mcpStatus.unauthorized','@univerjs/design','mcpConfig.configStep1','Click\x20to\x20connect\x20MCP','https://console.univer.plus','API\x20密钥不能为空','128TuxafP','IMessageService','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Disconnected','MCPConfigPanel','MessageType','error','mcpStatus.unknown','none','将以下配置添加到您的\x20MCP\x20客户端设置中:','map','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','use','MCP\x20连接失败','MCP\x20连接中...','ISocketService','什么是\x20API\x20密钥?','get','warn','25698jyrCqw','mcpStatus.clickToConnect','_initAutoConnect','children','MenuItemType','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpStatus.clickToConfigure','url(#$1','mcpConfig.note2','univer-text-sm\x20univer-text-gray-500','Get\x20your\x20API\x20key\x20in\x20seconds','assign','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','网络连接错误,请检查您的网络连接','mcpConfig.connectionStatus.connected','UniverNetwork','配置保存成功','382680NPJUUW','exports','配置参数:','mcpConfig.title','defs','MCPConnectionController','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','mcpConfig.save','0\x200\x2017\x2016','M0\x200H16V16H0z','mcpConfig.connectionStatus.failed','@univerjs/core','univer-text-gray-400','24xRgXvy','Retrying...','Configuration\x20saved\x20successfully','API\x20Key','disposeWithMe','univer.ai','mcpStatus.connecting','Tooltip','univer-text-blue-600','span','SESSION_ID_OCCUPIED','help-icon','MCP:\x20超出最大重试次数','validateApiKey','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','react/jsx-runtime','univer-bg-red-500','__setCustomHeaders','svg','random','559315RSLEhr','DISCONNECTED','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','启用身份验证','displayName','bottom','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.configParameters','clipPath','Configuration\x20Parameters:','white','MenuIcon','27219300zZKLCQ','univer-bg-gray-500','mcpConfig.validation.invalidConfig','connectionStatus$','div','onStarting','ComponentManager','mcpConfig.connectionError.maxRetriesExceeded','univer-text-yellow-500','@univerjs/network','mcp-ui.config','MCP\x20配置','复制以下\x20JSON\x20配置','_initializeCommands','_componentManager','_config','next','univer-space-y-5','配置无效','IDialogService','Univer\x20AI\x20控制台','LocaleService','Bearer\x20','subscribe','mcpConfig.description','_localStorageService','univer-flex\x20univer-items-center\x20univer-gap-2','1em','connectionError$','MCP:\x20会话\x20ID\x20已被占用','jsxs','mask','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','MCPConnectionStatus','超出最大重试次数,请稍后再试','mcpConfig.apiKey','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','rxjs','MCP:\x20Max\x20Retries\x20Exceeded','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','getConfig','enUS','_validateConfig','_loadStoredApiKey','BuiltInUIPart','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','enableAutoConnect','MCP\x20已连接','univer-bg-green-500','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Session\x20ID','setItem','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','button','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','length','idSuffix','Module','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-shrink-0\x20univer-text-red-500','useCallback','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MAX_RETRIES_EXCEEDED','Button','连接失败','NONE','mcp-config-dialog','未连接','attrs','UniverCore','mcpConfig.authorizationDescription','translate(.97)','\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','currentColor','402247ZuOGsq','_handleConfigSave','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','OnLineIcon','entries','http','CONNECTING','mcpStatus.maxRetriesExceeded','mcpConfig.configStep2','mcpConfig.apiApplyInfo.title','path','0\x200\x2016\x2016','MCPConnectionUIController','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','\x20-\x20','_apiKey$','string','_config$','errorMessage','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','check-mark-icon','show','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','push','close-icon','close','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpServerUrl','univer-flex-1','_mcpCoreConfig$','toString','_registerComponent','univer-text-red-500','univer-shrink-0\x20univer-text-blue-500','What\x20is\x20API\x20Key?','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20configure\x20MCP','请输入您的\x20API\x20密钥','mcpConfig.configStepTitle','mcpConfig.apiKeyPlaceholder','value','apiKey','univer-text-xs\x20univer-text-gray-600','useDependency','sessionId$','MCP:\x20Network\x20Error','会话\x20ID\x20已被占用,请稍后再试','MCP\x20状态未知','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','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','IConfigService','univer-font-medium','Plugin','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','replace','url(#on-line-icon_clip0_910_349)','UniverProMcpUi','univer-flex\x20univer-items-start\x20univer-gap-3','univer-size-4','mcpConfig.saving','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-space-y-2','mcpConfig.configSaved','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcp-ui.command.openConfigPanel','off-line-icon_clip0_910_343','MCP\x20已断开','OTHERS','Input','mcpConfig.configInstructions','Success','配置步骤:','CloseIcon','function','current','配置更改将立即生效','url(#off-line-icon_clip0_910_343)','univer-size-2\x20univer-rounded-full','defIds','UNAUTHORIZED','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','has','_menuManagerService','MCP\x20Connecting...','MCP\x20重连中...','http://www.w3.org/2000/svg','defineProperty','noopener\x20noreferrer','MCP\x20Configuration','React','_loading$','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','重连中...','Disposable','Max\x20Retries','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','ILogService','点击配置\x20MCP','COMMAND','registerCommand','colorChannel1','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCPStatusDisplay','univer-bg-blue-500','zhCN','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','connectInjector','_initStatusComponent'];_0x45fb=function(){return _0x2220c8;};return _0x45fb();}
1
+ (function(_0x73bad1,_0x1c5120){const _0x299f5f=_0x527b,_0x415769=_0x73bad1();while(!![]){try{const _0x201539=-parseInt(_0x299f5f(0x1b3))/0x1+parseInt(_0x299f5f(0x167))/0x2*(parseInt(_0x299f5f(0x264))/0x3)+-parseInt(_0x299f5f(0x108))/0x4+parseInt(_0x299f5f(0x233))/0x5+parseInt(_0x299f5f(0x134))/0x6+parseInt(_0x299f5f(0x198))/0x7+parseInt(_0x299f5f(0x1e9))/0x8;if(_0x201539===_0x1c5120)break;else _0x415769['push'](_0x415769['shift']());}catch(_0x494e64){_0x415769['push'](_0x415769['shift']());}}}(_0x1c12,0x1ce2b),function(_0x5c4031,_0x3c897d){const _0x38dd36=_0x527b;typeof exports==_0x38dd36(0x190)&&typeof module<'u'?_0x3c897d(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==_0x38dd36(0x12e)&&define['amd']?define(['exports',_0x38dd36(0x1ed),_0x38dd36(0x1fa),_0x38dd36(0x27d),_0x38dd36(0x204),_0x38dd36(0x207),_0x38dd36(0x117),_0x38dd36(0x28c),'@univerjs/network'],_0x3c897d):(_0x5c4031=typeof globalThis<'u'?globalThis:_0x5c4031||self,_0x3c897d(_0x5c4031[_0x38dd36(0x165)]={},_0x5c4031[_0x38dd36(0x174)],_0x5c4031[_0x38dd36(0x106)],_0x5c4031[_0x38dd36(0x124)],_0x5c4031['UniverDesign'],_0x5c4031[_0x38dd36(0x197)],_0x5c4031[_0x38dd36(0x117)],_0x5c4031[_0x38dd36(0x106)],_0x5c4031[_0x38dd36(0x1de)]));}(this,function(_0x1aef78,_0x3312d0,_0x1ad273,_0xb98a96,_0x1bbe37,_0x3451e1,_0x4a3cae,_0x34d984,_0x1107d3){'use strict';const _0x2970ab=_0x527b;var _0x304b72=Object[_0x2970ab(0x1ad)],_0x1b63a0=(_0x2327cd,_0x1eaccc,_0x2b2806)=>_0x1eaccc in _0x2327cd?_0x304b72(_0x2327cd,_0x1eaccc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b2806}):_0x2327cd[_0x1eaccc]=_0x2b2806,_0x41565a=(_0x2e9eef,_0x17ef07,_0x16c872)=>_0x1b63a0(_0x2e9eef,typeof _0x17ef07!='symbol'?_0x17ef07+'':_0x17ef07,_0x16c872);function _0x29c9b0({ref:_0x19d6ff,..._0x1f038f}){const _0x5511f1=_0x2970ab,{icon:_0x84fdd6,id:_0x5547b8,className:_0x4aef22,extend:_0x55a5ed,..._0x2ba9b4}=_0x1f038f,_0x2e9594=(_0x5511f1(0x1ee)+_0x5547b8+'\x20'+(_0x4aef22||''))[_0x5511f1(0x158)](),_0x26a9f0=_0x34d984[_0x5511f1(0x18d)]('_'+_0x3ce661());return _0x3cc8cd(_0x84fdd6,''+_0x5547b8,{'defIds':_0x84fdd6[_0x5511f1(0x22f)],'idSuffix':_0x26a9f0['current']},{'ref':_0x19d6ff,'className':_0x2e9594,..._0x2ba9b4},_0x55a5ed);}function _0x3cc8cd(_0x37ed01,_0x535e2d,_0x2f702c,_0x29ccd0,_0xcef30){const _0x52308b=_0x2970ab;return _0x34d984['createElement'](_0x37ed01[_0x52308b(0x21a)],{'key':_0x535e2d,..._0x56ba47(_0x37ed01,_0x2f702c,_0xcef30),..._0x29ccd0},(_0x3a582c(_0x37ed01,_0x2f702c)['children']||[])[_0x52308b(0x28b)]((_0xee99b2,_0x5d8a65)=>_0x3cc8cd(_0xee99b2,_0x535e2d+'-'+_0x37ed01['tag']+'-'+_0x5d8a65,_0x2f702c,void 0x0,_0xcef30)));}function _0x56ba47(_0x54c9d6,_0x3fcf0f,_0x45dc2f){const _0x349465=_0x2970ab,_0x2dfac8={..._0x54c9d6[_0x349465(0x173)]};_0x45dc2f!=null&&_0x45dc2f[_0x349465(0x11e)]&&_0x2dfac8[_0x349465(0x284)]==='colorChannel1'&&(_0x2dfac8[_0x349465(0x284)]=_0x45dc2f[_0x349465(0x11e)]),_0x54c9d6[_0x349465(0x21a)]===_0x349465(0x16b)&&_0x2dfac8['id']&&(_0x2dfac8['id']=_0x2dfac8['id']+_0x3fcf0f[_0x349465(0x20a)]),Object[_0x349465(0x1b7)](_0x2dfac8)['forEach'](([_0x4eafbc,_0x5f2fab])=>{const _0x13faea=_0x349465;_0x4eafbc===_0x13faea(0x16b)&&typeof _0x5f2fab==_0x13faea(0x1fe)&&(_0x2dfac8[_0x4eafbc]=_0x5f2fab['replace'](/url\(#(.*)\)/,_0x13faea(0x23e)+_0x3fcf0f[_0x13faea(0x20a)]+')'));});const {defIds:_0x33f171}=_0x3fcf0f;return!_0x33f171||_0x33f171[_0x349465(0x22c)]===0x0||(_0x54c9d6[_0x349465(0x21a)]===_0x349465(0x262)&&_0x2dfac8[_0x349465(0x180)]&&(_0x2dfac8[_0x349465(0x180)]=_0x2dfac8[_0x349465(0x180)]+_0x3fcf0f[_0x349465(0x20a)]),Object[_0x349465(0x1b7)](_0x2dfac8)[_0x349465(0x1a9)](([_0x2b5395,_0x5ac5e0])=>{const _0x2cf97b=_0x349465;typeof _0x5ac5e0==_0x2cf97b(0x1fe)&&(_0x2dfac8[_0x2b5395]=_0x5ac5e0[_0x2cf97b(0x1e1)](/url\(#(.*)\)/,_0x2cf97b(0x23e)+_0x3fcf0f['idSuffix']+')'));})),_0x2dfac8;}function _0x3a582c(_0x5ce15e,_0x567795){const _0x4fc582=_0x2970ab;var _0x247cae;const {defIds:_0x472e62}=_0x567795;return!_0x472e62||_0x472e62['length']===0x0?_0x5ce15e:_0x5ce15e[_0x4fc582(0x21a)]===_0x4fc582(0x18b)&&((_0x247cae=_0x5ce15e[_0x4fc582(0x1ef)])!=null&&_0x247cae[_0x4fc582(0x22c)])?{..._0x5ce15e,'children':_0x5ce15e[_0x4fc582(0x1ef)][_0x4fc582(0x28b)](_0x1128a2=>typeof _0x1128a2['attrs']['id']==_0x4fc582(0x1fe)&&_0x472e62&&_0x472e62['includes'](_0x1128a2[_0x4fc582(0x173)]['id'])?{..._0x1128a2,'attrs':{..._0x1128a2[_0x4fc582(0x173)],'id':_0x1128a2[_0x4fc582(0x173)]['id']+_0x567795['idSuffix']}}:_0x1128a2)}:_0x5ce15e;}function _0x3ce661(){const _0x3e1f86=_0x2970ab;return Math['random']()[_0x3e1f86(0x267)](0x24)[_0x3e1f86(0x240)](0x2,0x8);}_0x29c9b0[_0x2970ab(0x1d5)]=_0x2970ab(0x23f);const _0x1838d5={'tag':_0x2970ab(0x281),'attrs':{'xmlns':_0x2970ab(0x19e),'fill':_0x2970ab(0x163),'viewBox':_0x2970ab(0x289),'width':_0x2970ab(0x137),'height':'1em'},'children':[{'tag':_0x2970ab(0x235),'attrs':{'fill':_0x2970ab(0x25f),'d':_0x2970ab(0x27a),'fillRule':_0x2970ab(0x28e),'clipRule':_0x2970ab(0x28e)}}]},_0x121e7d=_0x34d984[_0x2970ab(0x251)](function(_0x37ecff,_0x1f021d){const _0xf79adb=_0x2970ab;return _0x34d984[_0xf79adb(0x255)](_0x29c9b0,Object['assign']({},_0x37ecff,{'id':_0xf79adb(0x1af),'ref':_0x1f021d,'icon':_0x1838d5}));});_0x121e7d[_0x2970ab(0x1d5)]=_0x2970ab(0x1c9);const _0x357243={'tag':_0x2970ab(0x281),'attrs':{'xmlns':_0x2970ab(0x19e),'fill':_0x2970ab(0x163),'viewBox':_0x2970ab(0x289),'width':_0x2970ab(0x137),'height':_0x2970ab(0x137)},'children':[{'tag':_0x2970ab(0x235),'attrs':{'fill':_0x2970ab(0x25f),'d':_0x2970ab(0x1cf)}}]},_0x47741f=_0x34d984[_0x2970ab(0x251)](function(_0x2de685,_0x1c0c55){const _0x36e6e8=_0x2970ab;return _0x34d984[_0x36e6e8(0x255)](_0x29c9b0,Object['assign']({},_0x2de685,{'id':_0x36e6e8(0x162),'ref':_0x1c0c55,'icon':_0x357243}));});_0x47741f[_0x2970ab(0x1d5)]=_0x2970ab(0x1e6);const _0x342f68={'tag':'svg','attrs':{'xmlns':_0x2970ab(0x19e),'fill':_0x2970ab(0x163),'viewBox':_0x2970ab(0x289),'width':_0x2970ab(0x137),'height':_0x2970ab(0x137)},'children':[{'tag':_0x2970ab(0x235),'attrs':{'fill':_0x2970ab(0x25f),'d':_0x2970ab(0x291)}},{'tag':_0x2970ab(0x235),'attrs':{'fill':'currentColor','d':_0x2970ab(0x1a5)}},{'tag':'path','attrs':{'fill':_0x2970ab(0x25f),'d':_0x2970ab(0x1c6),'fillRule':_0x2970ab(0x28e),'clipRule':'evenodd'}}]},_0x40e398=_0x34d984[_0x2970ab(0x251)](function(_0x11796f,_0x100be6){const _0x17325c=_0x2970ab;return _0x34d984['createElement'](_0x29c9b0,Object[_0x17325c(0x269)]({},_0x11796f,{'id':_0x17325c(0x11b),'ref':_0x100be6,'icon':_0x342f68}));});_0x40e398['displayName']=_0x2970ab(0x1b5);const _0x381bb0={'tag':_0x2970ab(0x281),'attrs':{'xmlns':_0x2970ab(0x19e),'fill':_0x2970ab(0x163),'viewBox':'0\x200\x2016\x2016','width':_0x2970ab(0x137),'height':_0x2970ab(0x137)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2970ab(0x235),'attrs':{'stroke':_0x2970ab(0x25f),'d':_0x2970ab(0x232),'strokeLinecap':_0x2970ab(0x20b),'strokeLinejoin':_0x2970ab(0x20b),'strokeWidth':1.2}}]},{'tag':_0x2970ab(0x18b),'attrs':{},'children':[{'tag':_0x2970ab(0x10c),'attrs':{'id':_0x2970ab(0x266)},'children':[{'tag':'path','attrs':{'fill':_0x2970ab(0x1ca),'d':_0x2970ab(0x234)}}]}]}],'defIds':[_0x2970ab(0x266)]},_0x4cf4d5=_0x34d984['forwardRef'](function(_0x43a3b4,_0x390d9f){const _0x2b2f09=_0x2970ab;return _0x34d984[_0x2b2f09(0x255)](_0x29c9b0,Object['assign']({},_0x43a3b4,{'id':'off-line-icon','ref':_0x390d9f,'icon':_0x381bb0}));});_0x4cf4d5['displayName']=_0x2970ab(0x242);const _0x2eec19={'tag':_0x2970ab(0x281),'attrs':{'xmlns':_0x2970ab(0x19e),'fill':_0x2970ab(0x163),'viewBox':_0x2970ab(0x292),'width':_0x2970ab(0x137),'height':_0x2970ab(0x137)},'children':[{'tag':'g','attrs':{'clipPath':_0x2970ab(0x17f)},'children':[{'tag':_0x2970ab(0x235),'attrs':{'stroke':'currentColor','d':_0x2970ab(0x154),'strokeLinecap':_0x2970ab(0x20b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2970ab(0x10c),'attrs':{'id':_0x2970ab(0x203)},'children':[{'tag':'path','attrs':{'fill':_0x2970ab(0x1ca),'d':_0x2970ab(0x234),'transform':_0x2970ab(0x275)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x235b84=_0x34d984[_0x2970ab(0x251)](function(_0x181ec9,_0x188ee3){const _0x239403=_0x2970ab;return _0x34d984['createElement'](_0x29c9b0,Object[_0x239403(0x269)]({},_0x181ec9,{'id':_0x239403(0x226),'ref':_0x188ee3,'icon':_0x2eec19}));});_0x235b84['displayName']=_0x2970ab(0x20d);function _0x56b016(_0x1c278e){const _0x1d3b9b=_0x2970ab;var _0x407e17,_0x165397;const {mcpCoreConfig:_0x216901,onSave:_0x54d65b,loading:_0x2113c1=!0x1,config:_0x1e986e,connectionStatus$:_0x57ec2d,connectionError$:_0x2b98a3,currentApiKey$:_0x2eb2fb,currentSessionId$:_0x54a432}=_0x1c278e,_0x7a2d55=_0x3451e1[_0x1d3b9b(0x18c)](_0x3312d0[_0x1d3b9b(0x12c)]),_0x3869ba=_0x3451e1['useObservable'](_0x57ec2d,_0xb98a96['MCPConnectionStatus']['DISCONNECTED']),_0x4f6da3=_0x3451e1[_0x1d3b9b(0x279)](_0x2b98a3,_0xb98a96[_0x1d3b9b(0x1bb)][_0x1d3b9b(0x15a)]),_0x514f8f=_0x3451e1[_0x1d3b9b(0x279)](_0x54a432,''),_0x486e1a=_0x3451e1[_0x1d3b9b(0x279)](_0x2eb2fb,''),[_0x5e0340,_0x5a415e]=_0x34d984['useState'](_0x486e1a||''),_0x57f775=!0x0,_0x230321=_0x1e986e[_0x1d3b9b(0x1cb)]&&_0x216901['mcpServerUrl']&&(_0x216901[_0x1d3b9b(0x16a)]['includes'](_0x1d3b9b(0x239))||_0x216901['mcpServerUrl'][_0x1d3b9b(0x1df)](_0x1d3b9b(0x168))),_0x2d48eb=(_0x407e17=_0x216901[_0x1d3b9b(0x16a)])==null?void 0x0:_0x407e17['includes'](_0x1d3b9b(0x239)),_0x3457d8=(_0x165397=_0x216901['mcpServerUrl'])==null?void 0x0:_0x165397[_0x1d3b9b(0x1df)]('univer.ai'),_0x4e3e02=_0x2d48eb?_0x1d3b9b(0x249):_0x1d3b9b(0x145),_0x4b09f1=_0x1e986e[_0x1d3b9b(0x1cb)]&&(_0x2d48eb||_0x3457d8),[_0x81bd72,_0x4d7d3b]=_0x34d984[_0x1d3b9b(0x27e)](!_0x5e0340[_0x1d3b9b(0x158)]()),_0x4c265d=(_0x46d3fb,_0x2d7abf)=>{const _0xad1670=_0x1d3b9b;if(_0x2d7abf===_0xb98a96[_0xad1670(0x1bb)][_0xad1670(0x1d9)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x46d3fb){case _0xb98a96[_0xad1670(0x1eb)][_0xad1670(0x1be)]:return _0xad1670(0x112);case _0xb98a96[_0xad1670(0x1eb)][_0xad1670(0x192)]:case _0xb98a96[_0xad1670(0x1eb)]['RETRYING']:return _0xad1670(0x1ac);case _0xb98a96[_0xad1670(0x1eb)]['FAILED']:return _0xad1670(0x28f);default:return _0xad1670(0x22e);}},_0x517efe=(_0x28d203,_0x293c13)=>{const _0x2b0b9f=_0x1d3b9b;if(_0x293c13===_0xb98a96[_0x2b0b9f(0x1bb)]['UNAUTHORIZED'])return _0x2b0b9f(0x295);switch(_0x28d203){case _0xb98a96[_0x2b0b9f(0x1eb)][_0x2b0b9f(0x1be)]:return'univer-bg-green-500';case _0xb98a96[_0x2b0b9f(0x1eb)][_0x2b0b9f(0x192)]:case _0xb98a96[_0x2b0b9f(0x1eb)][_0x2b0b9f(0x271)]:return'univer-bg-blue-500';case _0xb98a96['MCPConnectionStatus'][_0x2b0b9f(0x136)]:return _0x2b0b9f(0x295);default:return'univer-bg-gray-500';}},_0x3bfb94=_0x2ca4e4=>{const _0x2a622d=_0x1d3b9b;switch(_0x2ca4e4){case _0xb98a96[_0x2a622d(0x1eb)][_0x2a622d(0x1be)]:return _0x7a2d55['t']('mcpConfig.connectionStatus.connected');case _0xb98a96[_0x2a622d(0x1eb)][_0x2a622d(0x192)]:return _0x7a2d55['t']('mcpConfig.connectionStatus.connecting');case _0xb98a96[_0x2a622d(0x1eb)][_0x2a622d(0x136)]:return _0x7a2d55['t'](_0x2a622d(0x276));case _0xb98a96['MCPConnectionStatus'][_0x2a622d(0x271)]:return _0x7a2d55['t'](_0x2a622d(0x10f));default:return _0x7a2d55['t']('mcpConfig.connectionStatus.disconnected');}},_0x53bd2c=_0x2bc77c=>{const _0x1b368d=_0x1d3b9b;switch(_0x2bc77c){case _0xb98a96[_0x1b368d(0x1bb)][_0x1b368d(0x1d9)]:return _0x7a2d55['t'](_0x1b368d(0x160));case _0xb98a96['MCPConnectionError'][_0x1b368d(0x1a2)]:return _0x7a2d55['t'](_0x1b368d(0x10a));case _0xb98a96[_0x1b368d(0x1bb)]['NETWORK_ERROR']:return _0x7a2d55['t'](_0x1b368d(0x1f3));case _0xb98a96[_0x1b368d(0x1bb)][_0x1b368d(0x1a6)]:return _0x7a2d55['t'](_0x1b368d(0x288));default:return'';}},_0x1c4b6d=_0x34d984[_0x1d3b9b(0x161)](()=>{const _0x6ef0b9=_0x1d3b9b,_0x2d5ccc={..._0x216901,'apiKey':_0x5e0340[_0x6ef0b9(0x158)](),'enableAuth':_0x57f775};_0x54d65b(_0x2d5ccc);},[_0x216901,_0x5e0340,_0x57f775,_0x54d65b]),_0x402ee5=_0x5e0340[_0x1d3b9b(0x158)]()['length']>0x0;return _0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x1ff),'children':[_0x1ad273['jsx'](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x187),'children':_0x1ad273['jsxs'](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x236),'children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x265),'children':_0x1ad273['jsx']('span',{'className':_0x1d3b9b(0x210),'children':'⚙'})}),_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'children':_0x1ad273['jsx']('p',{'className':_0x1d3b9b(0x19f),'children':_0x7a2d55['t'](_0x1d3b9b(0x1bc))})})]})}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x12f),'children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1bbe37[_0x1d3b9b(0x116)](_0x1d3b9b(0x138),_0x4c265d(_0x3869ba,_0x4f6da3)),'children':_0x1ad273['jsxs'](_0x1d3b9b(0x1ae),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1bbe37[_0x1d3b9b(0x116)](_0x1d3b9b(0x257),_0x517efe(_0x3869ba,_0x4f6da3))}),_0x1ad273[_0x1d3b9b(0x293)]('span',{'className':'univer-text-sm\x20univer-font-medium','children':_0x3bfb94(_0x3869ba)})]})}),_0x4f6da3!==_0xb98a96[_0x1d3b9b(0x1bb)][_0x1d3b9b(0x15a)]&&(_0x3869ba===_0xb98a96[_0x1d3b9b(0x1eb)][_0x1d3b9b(0x136)]||_0x4f6da3===_0xb98a96[_0x1d3b9b(0x1bb)][_0x1d3b9b(0x1d9)])&&_0x1ad273[_0x1d3b9b(0x293)]('div',{'className':_0x1d3b9b(0x268),'children':_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x143),'children':[_0x1ad273[_0x1d3b9b(0x293)]('span',{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x1ad273[_0x1d3b9b(0x293)]('p',{'className':_0x1d3b9b(0x140),'children':_0x53bd2c(_0x4f6da3)})]})})]}),_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x1d2),'children':_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x25e),'children':[_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':'univer-space-y-2','children':[_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x118),{'className':_0x1d3b9b(0x1c4),'children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x221),{'children':'🔑'}),'\x20',_0x7a2d55['t']('mcpConfig.apiKey'),_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x221),{'className':'univer-text-red-500','children':'*'}),_0x230321&&_0x1ad273['jsx']('a',{'className':_0x1d3b9b(0x1aa),'title':_0x7a2d55['t']('mcpConfig.apiApplyInfo.title'),'role':_0x1d3b9b(0x1cc),'onClick':()=>_0x4d7d3b(!0x0),'children':_0x1ad273[_0x1d3b9b(0x293)](_0x40e398,{})})]}),_0x1ad273['jsx'](_0x1bbe37[_0x1d3b9b(0x17b)],{'type':_0x1d3b9b(0x1e5),'placeholder':_0x7a2d55['t'](_0x1d3b9b(0x149)),'value':_0x5e0340,'disabled':_0x2113c1,'autoComplete':_0x1d3b9b(0x13f),'onChange':_0x5a415e}),_0x1ad273[_0x1d3b9b(0x293)]('p',{'className':_0x1d3b9b(0x294),'children':_0x7a2d55['t'](_0x1d3b9b(0x26c))})]}),_0x230321&&_0x81bd72&&_0x1ad273[_0x1d3b9b(0x1b1)]('div',{'className':_0x1d3b9b(0x1a8),'children':[_0x1ad273['jsx']('a',{'className':_0x1d3b9b(0x12d),'role':'button','onClick':()=>_0x4d7d3b(!0x1),'children':_0x1ad273[_0x1d3b9b(0x293)](_0x47741f,{'className':_0x1d3b9b(0x130)})}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x16e),'children':[_0x1ad273[_0x1d3b9b(0x293)]('div',{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x221),{'className':_0x1d3b9b(0x126),'children':'🚀'})}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':'univer-flex-1','children':[_0x1ad273[_0x1d3b9b(0x293)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x7a2d55['t'](_0x1d3b9b(0x270))}),_0x1ad273['jsx']('p',{'className':_0x1d3b9b(0x172),'children':_0x7a2d55['t'](_0x1d3b9b(0x220))}),_0x1ad273[_0x1d3b9b(0x293)]('div',{'className':_0x1d3b9b(0x119),'children':_0x4b09f1&&_0x1ad273[_0x1d3b9b(0x1b1)]('a',{'className':_0x1d3b9b(0x206),'href':_0x4e3e02,'target':_0x1d3b9b(0x104),'rel':_0x1d3b9b(0x1a7),'children':[_0x1ad273[_0x1d3b9b(0x293)]('span',{'children':'🤖'}),_0x7a2d55['t'](_0x1d3b9b(0x17c)),_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x221),{'className':_0x1d3b9b(0x12a),'children':'↗'})]})}),_0x1ad273['jsxs'](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x142),'children':['✨','\x20',_0x7a2d55['t'](_0x1d3b9b(0x199))]})]})]})]}),_0x1e986e[_0x1d3b9b(0x1cb)]&&_0x1ad273['jsxs'](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x243),'children':[_0x1ad273['jsxs']('h4',{'className':_0x1d3b9b(0x201),'children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x221),{'children':'🔗'}),'\x20',_0x7a2d55['t']('mcpConfig.connectionInfo')]}),_0x1ad273[_0x1d3b9b(0x1b1)]('div',{'className':_0x1d3b9b(0x16c),'children':[_0x1ad273[_0x1d3b9b(0x1b1)]('div',{'className':_0x1d3b9b(0x14c),'children':[_0x1ad273[_0x1d3b9b(0x293)]('p',{'className':_0x1d3b9b(0x135),'children':_0x7a2d55['t'](_0x1d3b9b(0x18a))}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':'univer-space-y-2','children':[_0x1ad273[_0x1d3b9b(0x293)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x7a2d55['t'](_0x1d3b9b(0x26a))}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x170),'children':[_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x22b),'children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x221),{'className':_0x1d3b9b(0x13c),'children':'1'}),_0x7a2d55['t'](_0x1d3b9b(0x212))]}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1ad273['jsx']('span',{'className':_0x1d3b9b(0x13c),'children':'2'}),_0x7a2d55['t'](_0x1d3b9b(0x280))]}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1ad273['jsx'](_0x1d3b9b(0x221),{'className':_0x1d3b9b(0x13c),'children':'3'}),_0x7a2d55['t']('mcpConfig.configStep3')]})]})]})]}),_0x1ad273['jsxs'](_0x1d3b9b(0x1ae),{'className':'univer-space-y-2','children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x1d3b9b(0x1c1)}),_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1f5),{'className':_0x1d3b9b(0x17e),'children':JSON[_0x1d3b9b(0x230)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x514f8f||_0x1d3b9b(0x261)),'type':_0x1d3b9b(0x209),'headers':{'Authorization':_0x1d3b9b(0x123)+(_0x5e0340||_0x1d3b9b(0x256))}}}},null,0x2)})})]}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x14c),'children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x185),'children':_0x7a2d55['t'](_0x1d3b9b(0x259))}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x176),'children':[_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x1ad273['jsx'](_0x1d3b9b(0x1ae),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x13e),'children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x128),'children':'univer_session_id:'}),_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x294),'children':_0x7a2d55['t'](_0x1d3b9b(0x245))})]})]}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x1ea),'children':[_0x1ad273[_0x1d3b9b(0x293)]('div',{'className':_0x1d3b9b(0x19b)}),_0x1ad273[_0x1d3b9b(0x1b1)]('div',{'className':_0x1d3b9b(0x13e),'children':[_0x1ad273['jsx'](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x128),'children':_0x1d3b9b(0x258)}),_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x294),'children':_0x7a2d55['t'](_0x1d3b9b(0x20e))})]})]})]})]})]})]}),_0x1ad273[_0x1d3b9b(0x293)](_0x1bbe37[_0x1d3b9b(0x1f6)],{'onClick':_0x1c4b6d,'disabled':!_0x402ee5||_0x2113c1,'className':_0x1d3b9b(0x15f),'children':_0x2113c1?_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x221),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1ad273['jsx'](_0x1d3b9b(0x221),{'children':'⟲'}),_0x7a2d55['t'](_0x1d3b9b(0x1f4))]}):_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x221),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1ad273[_0x1d3b9b(0x293)](_0x121e7d,{}),_0x7a2d55['t'](_0x1d3b9b(0x121))]})}),_0x1ad273[_0x1d3b9b(0x293)]('div',{'className':_0x1d3b9b(0x272),'children':_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x208),'children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x221),{'className':_0x1d3b9b(0x219),'children':'💡'}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x1ad273[_0x1d3b9b(0x293)](_0x1d3b9b(0x1ae),{'className':_0x1d3b9b(0x152),'children':'Configuration\x20Notes:'}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'children':['•',_0x7a2d55['t']('mcpConfig.note1')]}),_0x1ad273[_0x1d3b9b(0x1b1)](_0x1d3b9b(0x1ae),{'children':['•',_0x7a2d55['t'](_0x1d3b9b(0x274))]})]})]})})]})})]});}const _0x3c14a9=_0x2970ab(0x14e),_0x52d1d3={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x5df73f=Object[_0x2970ab(0x283)],_0xdd0ab2=(_0x4c67dc,_0x549681,_0x47c67b,_0x3875b8)=>{for(var _0x4f460d=_0x3875b8>0x1?void 0x0:_0x3875b8?_0x5df73f(_0x549681,_0x47c67b):_0x549681,_0x11412f=_0x4c67dc['length']-0x1,_0x1d469c;_0x11412f>=0x0;_0x11412f--)(_0x1d469c=_0x4c67dc[_0x11412f])&&(_0x4f460d=_0x1d469c(_0x4f460d)||_0x4f460d);return _0x4f460d;},_0x17c81b=(_0x33ac19,_0x5e3b1c)=>(_0xbe5691,_0x1f1e48)=>_0x5e3b1c(_0xbe5691,_0x1f1e48,_0x33ac19);const _0x4a52ff=_0x2970ab(0x113),_0x5a9c7a=_0x2970ab(0x16f);_0x1aef78[_0x2970ab(0x27f)]=class extends _0x3312d0[_0x2970ab(0x228)]{constructor(_0x5b6bde,_0x2ef69a,_0x49ce7e,_0x406838,_0x48879d,_0x2e41f4,_0x36ae5c,_0x264990,_0xd5d171,_0x4a4080){const _0xf79c7d=_0x2970ab;super(),_0x41565a(this,_0xf79c7d(0x147),new _0x4a3cae[(_0xf79c7d(0x1e2))](!0x1)),_0x41565a(this,_0xf79c7d(0x1dc),new _0x4a3cae[(_0xf79c7d(0x1e2))]({})),_0x41565a(this,_0xf79c7d(0x10d),new _0x4a3cae[(_0xf79c7d(0x1e2))]({})),_0x41565a(this,_0xf79c7d(0x19c),new _0x4a3cae[(_0xf79c7d(0x1e2))]('')),_0x41565a(this,'_handleConfigSave',async _0xf0d6b7=>{const _0x31f88a=_0xf79c7d;var _0x327eea,_0x1f0774;this[_0x31f88a(0x147)][_0x31f88a(0x25a)](!0x0);try{const _0x2cc83d=await this['_validateConfig'](_0xf0d6b7);if(!_0x2cc83d[_0x31f88a(0x1e8)]){this[_0x31f88a(0x11c)]['show']({'type':_0x1bbe37[_0x31f88a(0x238)][_0x31f88a(0x277)],'content':_0x2cc83d[_0x31f88a(0x141)]||this[_0x31f88a(0x215)]['t']('mcpConfig.validation.invalidConfig')});return;}_0xf0d6b7['apiKey']?await this['_localStorageService']['setItem'](_0x4a52ff,_0xf0d6b7[_0x31f88a(0x22d)][_0x31f88a(0x158)]()):await this[_0x31f88a(0x250)]['removeItem'](_0x4a52ff),this[_0x31f88a(0x19c)][_0x31f88a(0x25a)](((_0x327eea=_0xf0d6b7['apiKey'])==null?void 0x0:_0x327eea[_0x31f88a(0x158)]())||''),this[_0x31f88a(0x1c0)][_0x31f88a(0x21d)]({'Authorization':'Bearer\x20'+((_0x1f0774=_0xf0d6b7['apiKey'])==null?void 0x0:_0x1f0774[_0x31f88a(0x158)]())}),this[_0x31f88a(0x11c)]['show']({'type':_0x1bbe37['MessageType'][_0x31f88a(0x21f)],'content':this[_0x31f88a(0x215)]['t'](_0x31f88a(0x14b))}),setTimeout(()=>{const _0x156bae=_0x31f88a;this[_0x156bae(0x16d)][_0x156bae(0x1fc)](_0x5a9c7a);},0x320);}catch(_0x5c10f1){this[_0x31f88a(0x11f)][_0x31f88a(0x19a)](_0x31f88a(0x263),_0x5c10f1),this['_messageService'][_0x31f88a(0x139)]({'type':_0x1bbe37[_0x31f88a(0x238)][_0x31f88a(0x277)],'content':this[_0x31f88a(0x215)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x31f88a(0x25a)](!0x1);}}),(this[_0xf79c7d(0x1c2)]=_0x5b6bde,this[_0xf79c7d(0x26e)]=_0x2ef69a,this[_0xf79c7d(0x133)]=_0x49ce7e,this['_localStorageService']=_0x406838,this[_0xf79c7d(0x16d)]=_0x48879d,this['_messageService']=_0x2e41f4,this['_componentManager']=_0x36ae5c,this[_0xf79c7d(0x215)]=_0x264990,this[_0xf79c7d(0x11f)]=_0xd5d171,this[_0xf79c7d(0x1c0)]=_0x4a4080,this[_0xf79c7d(0x1cd)](),this[_0xf79c7d(0x213)](),this[_0xf79c7d(0x111)]());}[_0x2970ab(0x122)](){const _0x5b7189=_0x2970ab,_0x2f3586=this['_configService']['getConfig'](_0x3c14a9);_0x2f3586!=null&&_0x2f3586[_0x5b7189(0x1cb)]&&this[_0x5b7189(0x16d)][_0x5b7189(0x1d8)]({'id':_0x5a9c7a,'title':{'title':this[_0x5b7189(0x215)]['t'](_0x5b7189(0x248))},'children':{'label':_0x5b7189(0x1c7)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5ab8b1=_0x5b7189;this[_0x5ab8b1(0x16d)]['close'](_0x5a9c7a);}});}[_0x2970ab(0x25d)](){const _0x4b4ebb=_0x2970ab;return this[_0x4b4ebb(0x1dc)][_0x4b4ebb(0x1fd)];}['_registerComponent'](){const _0x5c469b=_0x2970ab;this[_0x5c469b(0x183)](this['_componentManager']['register'](_0x5c469b(0x1c7),this[_0x5c469b(0x169)]()));}[_0x2970ab(0x169)](){const _0x27d1ee=_0x2970ab;return _0x3451e1[_0x27d1ee(0x114)](()=>{const _0x15a778=_0x27d1ee;var _0x30e1d4,_0x5d7d5b,_0x54a470;return _0x1ad273['jsx'](_0x56b016,{'config':this['_config$'][_0x15a778(0x1fd)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x15a778(0x1fd)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x15a778(0x20c)],'loading':this[_0x15a778(0x147)]['value'],'connectionStatus$':(_0x30e1d4=this[_0x15a778(0x1c0)])==null?void 0x0:_0x30e1d4[_0x15a778(0x11a)],'connectionError$':(_0x5d7d5b=this['_mcpConnectionController'])==null?void 0x0:_0x5d7d5b[_0x15a778(0x216)],'currentSessionId$':(_0x54a470=this[_0x15a778(0x1c0)])==null?void 0x0:_0x54a470['sessionId$']});},this[_0x27d1ee(0x1c2)]);}[_0x2970ab(0x1cd)](){const _0x3253c8=_0x2970ab;this[_0x3253c8(0x183)](this['_configService']['subscribeConfigValue$'](_0xb98a96[_0x3253c8(0x214)])[_0x3253c8(0x188)](_0x96fe21=>{const _0x2d2f59=_0x3253c8;this[_0x2d2f59(0x1dc)][_0x2d2f59(0x25a)](_0x96fe21||{});}));const _0x1dafcc=this[_0x3253c8(0x133)][_0x3253c8(0x166)](_0xb98a96['MCP_PLUGIN_CONFIG_KEY']);this[_0x3253c8(0x1dc)]['next'](_0x1dafcc||{}),this[_0x3253c8(0x183)](this[_0x3253c8(0x133)][_0x3253c8(0x1b0)](_0x3c14a9)[_0x3253c8(0x188)](_0x35c3cb=>{const _0xe1675d=_0x3253c8;this['_config$'][_0xe1675d(0x25a)](_0x35c3cb||{});}));const _0x7b7cac=this['_configService']['getConfig'](_0x3c14a9);this[_0x3253c8(0x10d)][_0x3253c8(0x25a)](_0x7b7cac||{});}async[_0x2970ab(0x213)](){const _0x48e1f7=_0x2970ab,_0x4a2e52=this[_0x48e1f7(0x133)][_0x48e1f7(0x166)](_0x3c14a9);if(!(_0x4a2e52!=null&&_0x4a2e52[_0x48e1f7(0x1cb)]))return;const _0x40631a=await this[_0x48e1f7(0x250)][_0x48e1f7(0x1bf)](_0x4a52ff);_0x40631a&&(this[_0x48e1f7(0x1c0)]['__setCustomHeaders']({'Authorization':_0x48e1f7(0x123)+_0x40631a}),this[_0x48e1f7(0x19c)]['next'](_0x40631a));}async[_0x2970ab(0x144)](_0x49eb9f){const _0x35bca7=_0x2970ab;if(!_0x49eb9f['apiKey']||_0x49eb9f[_0x35bca7(0x22d)][_0x35bca7(0x158)]()[_0x35bca7(0x22c)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x35bca7(0x120))};if(_0x49eb9f[_0x35bca7(0x22d)][_0x35bca7(0x158)]()[_0x35bca7(0x22c)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x35bca7(0x215)]['t'](_0x35bca7(0x231))};try{const _0x2ee66e=await this[_0x35bca7(0x1c2)][_0x35bca7(0x224)](_0xb98a96[_0x35bca7(0x1d4)])['validateApiKey'](_0x49eb9f[_0x35bca7(0x22d)][_0x35bca7(0x158)]());return _0x2ee66e[_0x35bca7(0x1e8)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2ee66e['error']||this[_0x35bca7(0x215)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x1dcd23){return console[_0x35bca7(0x25b)](_0x35bca7(0x11d),_0x1dcd23),{'isValid':!0x0};}}},_0x1aef78[_0x2970ab(0x27f)]=_0xdd0ab2([_0x17c81b(0x0,_0x3312d0[_0x2970ab(0x247)](_0x3312d0[_0x2970ab(0x290)])),_0x17c81b(0x1,_0x3451e1[_0x2970ab(0x1bd)]),_0x17c81b(0x2,_0x3312d0[_0x2970ab(0x15e)]),_0x17c81b(0x3,_0x3312d0[_0x2970ab(0x17a)]),_0x17c81b(0x4,_0x3451e1[_0x2970ab(0x241)]),_0x17c81b(0x5,_0x3451e1[_0x2970ab(0x107)]),_0x17c81b(0x6,_0x3312d0[_0x2970ab(0x247)](_0x3451e1['ComponentManager'])),_0x17c81b(0x7,_0x3312d0[_0x2970ab(0x247)](_0x3312d0['LocaleService'])),_0x17c81b(0x8,_0x3312d0[_0x2970ab(0x127)]),_0x17c81b(0x9,_0x3312d0[_0x2970ab(0x247)](_0xb98a96[_0x2970ab(0x1d4)]))],_0x1aef78[_0x2970ab(0x27f)]);const _0x393121={'id':_0x2970ab(0x26b),'type':_0x3312d0[_0x2970ab(0x131)][_0x2970ab(0x1e0)],'handler':async(_0x2fdefb,_0x12afbc)=>(_0x2fdefb[_0x2970ab(0x224)](_0x1aef78['MCPConfigUIController'])[_0x2970ab(0x122)](),!0x0)};function _0x4b0dea(_0x42762c,_0x2becad){const _0x5efd4c=_0x2970ab;switch(_0x42762c){case _0xb98a96[_0x5efd4c(0x1eb)][_0x5efd4c(0x286)]:return _0x5efd4c(0x26d);case _0xb98a96[_0x5efd4c(0x1eb)]['CONNECTING']:return _0x5efd4c(0x22a);case _0xb98a96[_0x5efd4c(0x1eb)]['CONNECTED']:return _0x5efd4c(0x156);case _0xb98a96[_0x5efd4c(0x1eb)]['FAILED']:switch(_0x2becad){case _0xb98a96[_0x5efd4c(0x1bb)]['UNAUTHORIZED']:return _0x5efd4c(0x109);case _0xb98a96['MCPConnectionError'][_0x5efd4c(0x1a2)]:return'mcpStatus.sessionOccupied';case _0xb98a96['MCPConnectionError'][_0x5efd4c(0x252)]:return _0x5efd4c(0x13a);case _0xb98a96[_0x5efd4c(0x1bb)][_0x5efd4c(0x1a6)]:return'mcpStatus.maxRetriesExceeded';default:return _0x5efd4c(0x1f8);}case _0xb98a96['MCPConnectionStatus'][_0x5efd4c(0x271)]:return _0x5efd4c(0x21c);default:return'mcpStatus.unknown';}}function _0x44490c(_0x35418e,_0x513f5f,_0x4e0426,_0x204812=!0x0){const _0x3ddfee=_0x2970ab,_0x4b9d44=_0x4b0dea(_0x35418e,_0x513f5f),_0x15345f=_0x4e0426['t'](_0x4b9d44);return _0x204812?_0x35418e===_0xb98a96[_0x3ddfee(0x1eb)][_0x3ddfee(0x286)]&&_0x513f5f===_0xb98a96[_0x3ddfee(0x1bb)]['UNAUTHORIZED']?_0x15345f+_0x3ddfee(0x1ec)+_0x4e0426['t']('mcpStatus.clickToConfigure'):_0x35418e===_0xb98a96[_0x3ddfee(0x1eb)][_0x3ddfee(0x1be)]?''+_0x15345f:_0x35418e===_0xb98a96[_0x3ddfee(0x1eb)]['DISCONNECTED']||_0x35418e===_0xb98a96[_0x3ddfee(0x1eb)][_0x3ddfee(0x136)]?_0x15345f+_0x3ddfee(0x1ec)+_0x4e0426['t'](_0x3ddfee(0x296)):_0x15345f:_0x15345f;}function _0x128da8(_0x5ee2cf){const _0x2f8e86=_0x2970ab;switch(_0x5ee2cf){case _0xb98a96[_0x2f8e86(0x1eb)]['CONNECTED']:return _0x2f8e86(0x229);case _0xb98a96[_0x2f8e86(0x1eb)][_0x2f8e86(0x192)]:case _0xb98a96[_0x2f8e86(0x1eb)][_0x2f8e86(0x271)]:return _0x2f8e86(0x189);case _0xb98a96[_0x2f8e86(0x1eb)]['FAILED']:case _0xb98a96['MCPConnectionStatus'][_0x2f8e86(0x286)]:return _0x2f8e86(0x175);default:return _0x2f8e86(0x115);}}function _0x3fc8d8(_0x483cb7){const _0x57b33f=_0x2970ab,{status$:_0x427a3b,error$:_0xd4e53d,onConfigure:_0x217259,showClickable:_0x570ed6=!0x0}=_0x483cb7,_0x114c44=_0x3451e1['useObservable'](_0x427a3b,_0xb98a96[_0x57b33f(0x1eb)]['DISCONNECTED']),_0x20a3d3=_0x3451e1[_0x57b33f(0x279)](_0xd4e53d,_0xb98a96[_0x57b33f(0x1bb)][_0x57b33f(0x15a)]),_0x531741=_0x3451e1['useDependency'](_0x3312d0['LocaleService']),_0x1ff233=_0x114c44===_0xb98a96[_0x57b33f(0x1eb)]['CONNECTED'];_0x114c44===_0xb98a96[_0x57b33f(0x1eb)][_0x57b33f(0x192)]||_0xb98a96[_0x57b33f(0x1eb)][_0x57b33f(0x271)];const _0x534f2f=_0x531741['t'](_0x4b0dea(_0x114c44,_0x20a3d3)),_0x523458=_0x44490c(_0x114c44,_0x20a3d3,_0x531741,_0x570ed6),_0x455a34=_0x128da8(_0x114c44),_0x289253=_0x1ff233?_0x1ad273['jsx'](_0x235b84,{}):_0x1ad273[_0x57b33f(0x293)](_0x4cf4d5,{}),_0x404f79=_0x34d984[_0x57b33f(0x161)](()=>{_0x570ed6&&_0x217259&&_0x217259();},[_0x570ed6,_0x217259]);function _0xc1d2eb(){const _0x26bc02=_0x57b33f;return _0x1ad273['jsxs']('div',{'className':_0x1bbe37[_0x26bc02(0x116)]('univer-flex\x20univer-items-center',_0x570ed6&&_0x217259&&'\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':_0x26bc02(0x1cc),'onClick':_0x570ed6&&_0x217259?_0x404f79:void 0x0,'children':[_0x1ad273[_0x26bc02(0x293)](_0x26bc02(0x1ae),{'className':_0x1bbe37['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x455a34),'children':_0x289253}),_0x1ad273[_0x26bc02(0x293)](_0x26bc02(0x1ae),{'className':_0x26bc02(0x1ce),'children':_0x534f2f})]});}return _0x1ad273[_0x57b33f(0x293)](_0x1bbe37['Tooltip'],{'title':_0x523458,'placement':_0x57b33f(0x205),'children':_0xc1d2eb()});}var _0x3935f8=Object[_0x2970ab(0x283)],_0x2656b7=(_0x1f2428,_0x2801e6,_0xa49c67,_0x9a2b2d)=>{const _0x126a18=_0x2970ab;for(var _0x35e350=_0x9a2b2d>0x1?void 0x0:_0x9a2b2d?_0x3935f8(_0x2801e6,_0xa49c67):_0x2801e6,_0x4280ee=_0x1f2428[_0x126a18(0x22c)]-0x1,_0x231118;_0x4280ee>=0x0;_0x4280ee--)(_0x231118=_0x1f2428[_0x4280ee])&&(_0x35e350=_0x231118(_0x35e350)||_0x35e350);return _0x35e350;},_0x445f45=(_0xb65b09,_0x1a5dba)=>(_0x34219a,_0x543b3a)=>_0x1a5dba(_0x34219a,_0x543b3a,_0xb65b09);_0x1aef78[_0x2970ab(0x14a)]=class extends _0x3312d0['Disposable']{constructor(_0x54bfa2,_0x13ad1f,_0x15bb81,_0x43affb){const _0x8273b0=_0x2970ab;super(),this[_0x8273b0(0x1c2)]=_0x54bfa2,this[_0x8273b0(0x1d3)]=_0x13ad1f,this[_0x8273b0(0x26e)]=_0x15bb81,this[_0x8273b0(0x133)]=_0x43affb,this[_0x8273b0(0x1b4)](),this[_0x8273b0(0x148)]();}[_0x2970ab(0x1b4)](){const _0x3198f8=_0x2970ab,_0x5360d9=this['_configService'][_0x3198f8(0x166)](_0x3c14a9);_0x5360d9!=null&&_0x5360d9['showDeveloperTools']&&(this[_0x3198f8(0x1d3)][_0x3198f8(0x19d)]=!0x1);}[_0x2970ab(0x148)](){const _0x169e37=_0x2970ab,_0x3e9576=this[_0x169e37(0x133)][_0x169e37(0x166)](_0x3c14a9);(_0x3e9576==null?void 0x0:_0x3e9576['showStatus'])!==!0x1&&this[_0x169e37(0x183)](this[_0x169e37(0x26e)]['registerComponent'](_0x3451e1[_0x169e37(0x1a4)]['HEADER_MENU'],()=>{const _0x4b898b=_0x169e37;var _0x2af46d;return _0x3451e1[_0x4b898b(0x114)](_0x486fbe({'status$':this[_0x4b898b(0x1d3)][_0x4b898b(0x11a)],'error$':this['_connectionController'][_0x4b898b(0x216)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x2af46d=_0x3e9576==null?void 0x0:_0x3e9576[_0x4b898b(0x1cb)])!=null?_0x2af46d:!0x1}),this[_0x4b898b(0x1c2)]);}));}[_0x2970ab(0x146)](){const _0x34162b=_0x2970ab;this['_injector']['get'](_0x1aef78[_0x34162b(0x27f)])[_0x34162b(0x122)]();}},_0x1aef78[_0x2970ab(0x14a)]=_0x2656b7([_0x445f45(0x0,_0x3312d0[_0x2970ab(0x247)](_0x3312d0[_0x2970ab(0x290)])),_0x445f45(0x1,_0x3312d0[_0x2970ab(0x247)](_0xb98a96[_0x2970ab(0x1d4)])),_0x445f45(0x2,_0x3451e1[_0x2970ab(0x1bd)]),_0x445f45(0x3,_0x3312d0[_0x2970ab(0x15e)])],_0x1aef78[_0x2970ab(0x14a)]);function _0x486fbe(_0x2c7d22){const {status$:_0x2d078b,error$:_0x4b74a9,onConfigure:_0x3c8e24,showClickable:_0x404880}=_0x2c7d22;return function(){return _0x1ad273['jsx'](_0x3fc8d8,{'status$':_0x2d078b,'error$':_0x4b74a9,'onConfigure':_0x3c8e24,'showClickable':_0x404880});};}function _0x2bad9d(_0x56c12d){const _0x404018=_0x2970ab;return{'id':_0x393121['id'],'type':_0x3451e1[_0x404018(0x237)][_0x404018(0x244)],'icon':'MenuIcon','title':_0x404018(0x248),'tooltip':_0x404018(0x248)};}const _0x254683={[_0x3451e1[_0x2970ab(0x23a)][_0x2970ab(0x1d1)]]:{[_0x393121['id']]:{'order':0xa,'menuItemFactory':_0x2bad9d}}};var _0x152f8b=Object[_0x2970ab(0x283)],_0x2a94b3=(_0x2a5ac1,_0x1bcbd3,_0x2a4822,_0x198827)=>{const _0x2641d5=_0x2970ab;for(var _0xafa230=_0x198827>0x1?void 0x0:_0x198827?_0x152f8b(_0x1bcbd3,_0x2a4822):_0x1bcbd3,_0x323c40=_0x2a5ac1[_0x2641d5(0x22c)]-0x1,_0x38a79c;_0x323c40>=0x0;_0x323c40--)(_0x38a79c=_0x2a5ac1[_0x323c40])&&(_0xafa230=_0x38a79c(_0xafa230)||_0xafa230);return _0xafa230;},_0x41b743=(_0x30cd9b,_0x1bced4)=>(_0x4feb61,_0x2d7bbe)=>_0x1bced4(_0x4feb61,_0x2d7bbe,_0x30cd9b);_0x1aef78['MCPUIMenuController']=class extends _0x3312d0[_0x2970ab(0x228)]{constructor(_0x1cae5a,_0x5c0b8c){const _0x19b317=_0x2970ab;super(),this[_0x19b317(0x254)]=_0x1cae5a,this[_0x19b317(0x17d)]=_0x5c0b8c,this[_0x19b317(0x211)](),this[_0x19b317(0x27b)]();}[_0x2970ab(0x211)](){const _0x2b1b65=_0x2970ab;[_0x393121][_0x2b1b65(0x1a9)](_0x5a90f7=>{const _0x32244e=_0x2b1b65;this[_0x32244e(0x183)](this['_commandService']['registerCommand'](_0x5a90f7));});}[_0x2970ab(0x27b)](){const _0x4ec7e0=_0x2970ab;this['_menuManagerService'][_0x4ec7e0(0x24c)](_0x254683);}},_0x1aef78[_0x2970ab(0x181)]=_0x2a94b3([_0x41b743(0x0,_0x3312d0[_0x2970ab(0x24b)]),_0x41b743(0x1,_0x3451e1[_0x2970ab(0x24f)])],_0x1aef78[_0x2970ab(0x181)]);const _0x3e1eaa={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2970ab(0x1c3),'connected':_0x2970ab(0x15d),'failed':_0x2970ab(0x23d),'retrying':_0x2970ab(0x14f),'unknown':_0x2970ab(0x21b),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2970ab(0x132),'clickToConnect':_0x2970ab(0x202),'clickToConfigure':_0x2970ab(0x225)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2970ab(0x194),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2970ab(0x184),'apiKeyHint':_0x2970ab(0x218),'enableAuth':_0x2970ab(0x217),'enableAuthHint':_0x2970ab(0x200),'connectionInfo':_0x2970ab(0x1d6),'mcpClientConfig':_0x2970ab(0x1d6),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2970ab(0x15c),'configStep1':_0x2970ab(0x273),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2970ab(0x179),'sessionId':_0x2970ab(0x153),'sessionIdDescription':_0x2970ab(0x196),'authorizationDescription':_0x2970ab(0x260),'configParameters':_0x2970ab(0x191),'maxRetries':_0x2970ab(0x1fb),'save':_0x2970ab(0x186),'saving':_0x2970ab(0x1dd),'note1':_0x2970ab(0x20f),'note2':_0x2970ab(0x1e4),'configSaved':_0x2970ab(0x1f0),'configError':_0x2970ab(0x28d),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2970ab(0x287),'univerAiLabel':_0x2970ab(0x157),'getStarted':_0x2970ab(0x1f1)},'validation':{'apiKeyRequired':_0x2970ab(0x1c8),'apiKeyTooShort':_0x2970ab(0x1b9),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2970ab(0x285)},'connectionStatus':{'disconnected':_0x2970ab(0x150),'connecting':'Connecting...','connected':_0x2970ab(0x24e),'failed':_0x2970ab(0x110),'retrying':_0x2970ab(0x1db)},'connectionError':{'unauthorized':_0x2970ab(0x14d),'sessionOccupied':_0x2970ab(0x1e7),'networkError':_0x2970ab(0x193),'maxRetriesExceeded':_0x2970ab(0x15b)}}},_0x4f1bdb={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x2970ab(0x178),'connected':_0x2970ab(0x24a),'failed':_0x2970ab(0x1d0),'retrying':_0x2970ab(0x1b2),'unknown':_0x2970ab(0x177),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x2970ab(0x1b6),'networkError':_0x2970ab(0x18f),'maxRetriesExceeded':_0x2970ab(0x12b),'clickToConnect':_0x2970ab(0x105),'clickToConfigure':_0x2970ab(0x1d7)},'mcpConfig':{'title':'MCP\x20配置','description':_0x2970ab(0x253),'apiKey':_0x2970ab(0x195),'apiKeyPlaceholder':_0x2970ab(0x171),'apiKeyHint':_0x2970ab(0x23b),'enableAuth':'启用身份验证','enableAuthHint':_0x2970ab(0x159),'connectionInfo':_0x2970ab(0x1a3),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x2970ab(0x1b8),'configStepTitle':_0x2970ab(0x27c),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x2970ab(0x246),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x2970ab(0x10e),'authorizationDescription':_0x2970ab(0x1f7),'configParameters':_0x2970ab(0x18e),'maxRetries':'最大重试次数','save':'保存配置','saving':_0x2970ab(0x1f9),'note1':_0x2970ab(0x1f2),'note2':_0x2970ab(0x1e3),'configSaved':_0x2970ab(0x151),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x2970ab(0x125)},'validation':{'apiKeyRequired':_0x2970ab(0x182),'apiKeyTooShort':_0x2970ab(0x164),'invalidConfig':_0x2970ab(0x25c),'invalidApiKey':_0x2970ab(0x227)},'connectionStatus':{'disconnected':_0x2970ab(0x1da),'connecting':_0x2970ab(0x223),'connected':_0x2970ab(0x28a),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x2970ab(0x1c5),'networkError':_0x2970ab(0x1a1),'maxRetriesExceeded':_0x2970ab(0x21e)}}};var _0x87a599=Object[_0x2970ab(0x1ad)],_0x2408e3=Object['getOwnPropertyDescriptor'],_0x36ab98=(_0x26e25d,_0x265e23,_0xa89d46)=>_0x265e23 in _0x26e25d?_0x87a599(_0x26e25d,_0x265e23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa89d46}):_0x26e25d[_0x265e23]=_0xa89d46,_0x58e02c=(_0x179b17,_0x393d51,_0x5aecbf,_0x241c25)=>{for(var _0xa43b71=_0x241c25>0x1?void 0x0:_0x241c25?_0x2408e3(_0x393d51,_0x5aecbf):_0x393d51,_0x45eb95=_0x179b17['length']-0x1,_0x3d7e3d;_0x45eb95>=0x0;_0x45eb95--)(_0x3d7e3d=_0x179b17[_0x45eb95])&&(_0xa43b71=_0x3d7e3d(_0xa43b71)||_0xa43b71);return _0xa43b71;},_0x57b8b8=(_0x593e35,_0x58d067)=>(_0x3f165f,_0x1f397f)=>_0x58d067(_0x3f165f,_0x1f397f,_0x593e35),_0x30a043=(_0x5e2df8,_0x30c932,_0xc8a273)=>_0x36ab98(_0x5e2df8,_0x30c932+'',_0xc8a273);_0x1aef78[_0x2970ab(0x13b)]=class extends _0x3312d0[_0x2970ab(0x282)]{constructor(_0x15fb1b=_0x52d1d3,_0x2ca928,_0x27f7d7,_0x5dfa85,_0x29bb6a,_0x39085e){const _0x2bc221=_0x2970ab;super(),this[_0x2bc221(0x129)]=_0x15fb1b,this['_injector']=_0x2ca928,this[_0x2bc221(0x133)]=_0x27f7d7,this[_0x2bc221(0x26e)]=_0x5dfa85,this[_0x2bc221(0x250)]=_0x29bb6a,this[_0x2bc221(0x215)]=_0x39085e;const {..._0x46eb92}=_0x3312d0[_0x2bc221(0x222)]({},_0x52d1d3,this['_config']);this['_configService']['setConfig'](_0x3c14a9,_0x46eb92);}async[_0x2970ab(0x278)](){const _0x109a0a=_0x2970ab,_0x77cec2=[[_0x1aef78['MCPConnectionUIController']],[_0x1aef78[_0x109a0a(0x27f)]],[_0x1aef78[_0x109a0a(0x181)]]];this[_0x109a0a(0x1c2)]['has'](_0x1107d3[_0x109a0a(0x155)])||_0x77cec2[_0x109a0a(0x24d)]([_0x1107d3['ISocketService'],{'useClass':_0x1107d3['WebSocketService']}]),_0x77cec2['forEach'](_0x55c514=>this['_injector'][_0x109a0a(0x10b)](_0x55c514)),this[_0x109a0a(0x1c2)][_0x109a0a(0x224)](_0x1aef78['MCPConnectionUIController']),this[_0x109a0a(0x1c2)][_0x109a0a(0x224)](_0x1aef78[_0x109a0a(0x27f)]),this[_0x109a0a(0x1c2)][_0x109a0a(0x224)](_0x1aef78['MCPUIMenuController']);}},_0x30a043(_0x1aef78[_0x2970ab(0x13b)],_0x2970ab(0x23c),_0x2970ab(0x1ab)),_0x1aef78['UniverMCPUIPlugin']=_0x58e02c([_0x3312d0['DependentOn'](_0xb98a96[_0x2970ab(0x1a0)]),_0x57b8b8(0x1,_0x3312d0[_0x2970ab(0x247)](_0x3312d0[_0x2970ab(0x290)])),_0x57b8b8(0x2,_0x3312d0[_0x2970ab(0x15e)]),_0x57b8b8(0x3,_0x3451e1[_0x2970ab(0x1bd)]),_0x57b8b8(0x4,_0x3312d0[_0x2970ab(0x17a)]),_0x57b8b8(0x5,_0x3312d0['Inject'](_0x3312d0[_0x2970ab(0x12c)]))],_0x1aef78[_0x2970ab(0x13b)]),_0x1aef78[_0x2970ab(0x1c7)]=_0x56b016,_0x1aef78[_0x2970ab(0x297)]=_0x3fc8d8,_0x1aef78[_0x2970ab(0x13d)]=_0x393121,_0x1aef78['enUS']=_0x3e1eaa,_0x1aef78[_0x2970ab(0x1ba)]=_0x4f1bdb,Object['defineProperty'](_0x1aef78,Symbol['toStringTag'],{'value':_0x2970ab(0x26f)});}));function _0x527b(_0x1b73ff,_0x3470a8){_0x1b73ff=_0x1b73ff-0x104;const _0x1c1220=_0x1c12();let _0x527b07=_0x1c1220[_0x1b73ff];return _0x527b07;}function _0x1c12(){const _0x289924=['mcpStatus.networkError','UniverMCPUIPlugin','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','OpenMCPConfigPanelCommand','univer-min-w-0\x20univer-flex-1','off','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','errorMessage','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-items-start\x20univer-gap-2','_validateConfig','https://console.univer.ai','_handleConfigure','_loading$','_initStatusComponent','mcpConfig.apiKeyPlaceholder','MCPConnectionUIController','mcpConfig.configSaved','univer-space-y-3','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcp-ui.config','MCP\x20Retrying...','Disconnected','配置保存成功','univer-font-medium','Session\x20ID','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','ISocketService','mcpStatus.connected','Univer\x20AI\x20Console','trim','启用身份验证以获得安全连接','NONE','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Steps:','MCP\x20Connected','IConfigService','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','mcpConfig.connectionError.unauthorized','useCallback','close-icon','none','API\x20密钥长度至少需要\x2010\x20位','UniverProMcpUi','getConfig','8lLZDsZ','univer.ai','_createConfigPanelComponent','mcpServerUrl','mask','univer-space-y-4','_dialogService','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcp-config-dialog','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','请输入您的\x20API\x20密钥','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','attrs','UniverCore','univer-text-red-500','univer-space-y-2','MCP\x20状态未知','MCP\x20连接中...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','ILocalStorageService','Input','mcpConfig.apiApplyInfo.univerAiLabel','_menuManagerService','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','url(#on-line-icon_clip0_910_349)','xlink:href','MCPUIMenuController','API\x20密钥不能为空','disposeWithMe','Enter\x20your\x20API\x20key','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Save\x20Configuration','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','subscribe','univer-text-yellow-500','mcpConfig.configInstructions','defs','useDependency','useRef','配置参数:','MCP:\x20网络错误','object','Configuration\x20Parameters:','CONNECTING','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20密钥','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','UniverUi','1596861tUMPTf','mcpConfig.apiApplyInfo.getStarted','error','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_apiKey$','enableAutoConnect','http://www.w3.org/2000/svg','univer-text-sm\x20univer-text-gray-500','UniverMCPPlugin','网络连接错误,请检查您的网络连接','SESSION_ID_OCCUPIED','MCP\x20客户端配置','BuiltInUIPart','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','MAX_RETRIES_EXCEEDED','noopener\x20noreferrer','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','forEach','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','MCP_UI_PLUGIN','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','defineProperty','div','check-mark-icon','subscribeConfigValue$','jsxs','MCP\x20重连中...','100334HubrWc','_initAutoConnect','HelpIcon','MCP:\x20会话\x20ID\x20已被占用','entries','将以下配置添加到您的\x20MCP\x20客户端设置中:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','zhCN','MCPConnectionError','mcpConfig.description','IUIPartsService','CONNECTED','getItem','_mcpConnectionController','MCP\x20Configuration','_injector','MCP\x20Connecting...','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','会话\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','MCPConfigPanel','API\x20key\x20is\x20required','CheckMarkIcon','white','showDeveloperTools','button','_initConfigSync','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','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\x20连接失败','OTHERS','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','_connectionController','MCPConnectionController','displayName','MCP\x20Client\x20Configuration','点击配置\x20MCP','open','UNAUTHORIZED','未连接','Retrying...','_mcpCoreConfig$','Saving...','UniverNetwork','includes','COMMAND','replace','BehaviorSubject','您的\x20API\x20密钥安全存储在本地存储中','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','text','CloseIcon','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','isValid','142584LPrLyG','univer-flex\x20univer-items-start\x20univer-gap-3','MCPConnectionStatus','\x20-\x20','@univerjs/core','univerjs-icon\x20univerjs-icon-','children','Configuration\x20saved\x20successfully','Get\x20your\x20API\x20key\x20in\x20seconds','配置更改将立即生效','mcpConfig.connectionError.networkError','mcpConfig.saving','pre','Button','带有\x20Bearer\x20前缀的\x20API\x20密钥。','mcpStatus.failed','保存中...','react/jsx-runtime','Max\x20Retries','close','value','string','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Enable\x20authentication\x20for\x20secure\x20connections','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Click\x20to\x20connect\x20MCP','on-line-icon_clip0_910_349','@univerjs/design','bottom','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','@univerjs/ui','univer-flex\x20univer-gap-3','http','idSuffix','round','_handleConfigSave','OnLineIcon','mcpConfig.authorizationDescription','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-text-white','_initializeCommands','mcpConfig.configStep1','_loadStoredApiKey','MCP_PLUGIN_CONFIG_KEY','_localeService','connectionError$','Enable\x20Authentication','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-shrink-0\x20univer-text-blue-500','tag','MCP\x20Unknown\x20Status','mcpStatus.retrying','__setCustomHeaders','超出最大重试次数,请稍后再试','Success','mcpConfig.apiApplyInfo.description','span','merge','连接中...','get','Click\x20to\x20configure\x20MCP','on-line-icon','API\x20密钥无效,请检查密钥是否正确','Disposable','univer-text-green-500','mcpStatus.connecting','univer-flex\x20univer-items-center\x20univer-gap-2','length','apiKey','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','defIds','stringify','mcpConfig.validation.apiKeyTooShort','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','87605WVuONq','M0\x200H16V16H0z','path','univer-flex\x20univer-items-center\x20univer-gap-3','MenuItemType','MessageType','univer.plus','RibbonStartGroup','您的\x20API\x20密钥将在此浏览器中本地存储','pluginName','MCP\x20Connection\x20Failed','url(#$1','UniverIcon','substring','IDialogService','OffLineIcon','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','BUTTON','mcpConfig.sessionIdDescription','将配置添加到您的\x20MCP\x20客户端设置文件中','Inject','mcpConfig.title','https://console.univer.plus','MCP\x20已连接','ICommandService','mergeMenu','push','Connected','IMenuManagerService','_localStorageService','forwardRef','NETWORK_ERROR','配置\x20MCP\x20使用\x20AI\x20操作电子表格','_commandService','createElement','<API_KEY>','univer-size-2\x20univer-rounded-full','Authorization:','mcpConfig.configParameters','next','warn','配置无效','getCurrentConfig','univer-space-y-5','currentColor','API\x20key\x20with\x20Bearer\x20prefix.','<SESSION_ID>','use','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','125313tYiVcb','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','off-line-icon_clip0_910_343','toString','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','assign','mcpConfig.configStepTitle','mcp-ui.command.openConfigPanel','mcpConfig.apiKeyHint','mcpStatus.disconnected','_uiPartsService','Module','mcpConfig.apiApplyInfo.title','RETRYING','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','Copy\x20the\x20JSON\x20configuration\x20below','mcpConfig.note2','translate(.97)','mcpConfig.connectionStatus.failed','Error','onStarting','useObservable','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','_initializeMenus','配置步骤:','@univerjs-pro/mcp','useState','MCPConfigUIController','mcpConfig.configStep2','svg','Plugin','getOwnPropertyDescriptor','fill','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','DISCONNECTED','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpConfig.connectionError.maxRetriesExceeded','0\x200\x2016\x2016','已连接','map','react','Failed\x20to\x20save\x20configuration','evenodd','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Injector','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','0\x200\x2017\x2016','jsx','univer-text-xs\x20univer-text-gray-500','univer-bg-red-500','mcpStatus.clickToConnect','MCPStatusDisplay','_blank','点击连接\x20MCP','React','IMessageService','926820BSuvtn','mcpStatus.unauthorized','mcpConfig.connectionError.sessionOccupied','add','clipPath','_config$','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','mcpConfig.connectionStatus.retrying','Connection\x20Failed','_registerComponent','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcp.apiKey','connectInjector','univer-text-gray-500','clsx','rxjs','label','univer-flex\x20univer-flex-wrap\x20univer-gap-2','connectionStatus$','help-icon','_messageService','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','colorChannel1','_logService','mcpConfig.validation.apiKeyRequired','mcpConfig.save','showConfigPanel','Bearer\x20','UniverProMcp','几秒钟内获取您的\x20API\x20密钥','univer-text-blue-600','ILogService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_config','univer-text-gray-400','MCP:\x20超出最大重试次数','LocaleService','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','function','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-size-4','CommandType','MCP:\x20Max\x20Retries\x20Exceeded','_configService','118818RCINUd','univer-text-xs\x20univer-text-gray-600','FAILED','1em','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','show'];_0x1c12=function(){return _0x289924;};return _0x1c12();}