@univerjs-pro/mcp-ui 0.15.4 → 0.15.5
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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x31bed8=_0x120d;(function(_0x40b745,_0x253e69){const _0x468ba3=_0x120d,_0x302029=_0x40b745();while(!![]){try{const _0x27f961=parseInt(_0x468ba3(0x157))/0x1*(-parseInt(_0x468ba3(0x14b))/0x2)+parseInt(_0x468ba3(0x13a))/0x3*(parseInt(_0x468ba3(0x140))/0x4)+parseInt(_0x468ba3(0x13c))/0x5+-parseInt(_0x468ba3(0x15e))/0x6+-parseInt(_0x468ba3(0x135))/0x7+parseInt(_0x468ba3(0x14e))/0x8+parseInt(_0x468ba3(0x144))/0x9*(-parseInt(_0x468ba3(0x145))/0xa);if(_0x27f961===_0x253e69)break;else _0x302029['push'](_0x302029['shift']());}catch(_0x67045d){_0x302029['push'](_0x302029['shift']());}}}(_0x2c48,0x37533));const e={'mcpStatus':{'disconnected':_0x31bed8(0x147),'connecting':'MCP\x20연결\x20중...','connected':_0x31bed8(0x149),'failed':_0x31bed8(0x15d),'retrying':'MCP\x20재시도\x20중...','unknown':_0x31bed8(0x150),'unauthorized':_0x31bed8(0x146),'sessionOccupied':_0x31bed8(0x13f),'networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0x31bed8(0x139),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':_0x31bed8(0x155)},'mcpConfig':{'title':_0x31bed8(0x15b),'description':_0x31bed8(0x13b),'apiKey':'API\x20키','apiKeyPlaceholder':_0x31bed8(0x137),'apiKeyHint':_0x31bed8(0x161),'enableAuth':'인증\x20활성화','enableAuthHint':_0x31bed8(0x14d),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x31bed8(0x14a),'configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':_0x31bed8(0x138),'configStep1':_0x31bed8(0x148),'configStep2':_0x31bed8(0x13d),'configStep3':_0x31bed8(0x142),'sessionId':_0x31bed8(0x158),'sessionIdDescription':_0x31bed8(0x15a),'authorizationDescription':_0x31bed8(0x151),'configParameters':_0x31bed8(0x14c),'maxRetries':_0x31bed8(0x15f),'save':_0x31bed8(0x160),'saving':_0x31bed8(0x159),'note1':_0x31bed8(0x14f),'note2':_0x31bed8(0x152),'configSaved':'설정이\x20성공적으로\x20저장되었습니다','configError':_0x31bed8(0x156),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':_0x31bed8(0x13e),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x31bed8(0x143),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0x31bed8(0x154),'invalidApiKey':_0x31bed8(0x136)},'connectionStatus':{'disconnected':_0x31bed8(0x153),'connecting':'연결\x20중...','connected':'연결됨','failed':_0x31bed8(0x15c),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':_0x31bed8(0x141)}}};function _0x120d(_0x369f53,_0x5db699){_0x369f53=_0x369f53-0x135;const _0x2c4803=_0x2c48();let _0x120d12=_0x2c4803[_0x369f53];return _0x120d12;}export{e as default};function _0x2c48(){const _0x1570c8=['API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','MCP:\x20세션\x20ID\x20사용\x20중','456676XQYYRG','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','API\x20키는\x20필수입니다','216ObCCnG','20510eRSZLB','MCP:\x20인증되지\x20않음','MCP\x20연결\x20끊김','아래\x20JSON\x20설정\x20복사','MCP\x20연결됨','MCP\x20클라이언트\x20설정','337806uzIThc','설정\x20매개변수:','보안\x20연결을\x20위해\x20인증\x20활성화','2120360cNJlPA','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20알\x20수\x20없는\x20상태','Bearer\x20접두사가\x20있는\x20API\x20키.','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','연결\x20끊김','유효하지\x20않은\x20설정','클릭하여\x20MCP\x20설정','설정\x20저장\x20실패','2TCddUD','세션\x20ID','저장\x20중...','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','MCP\x20설정','연결\x20실패','MCP\x20연결\x20실패','1597764AtRCvy','최대\x20재시도\x20횟수','설정\x20저장','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','1074906HksWiw','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','API\x20키를\x20입력하세요','설정\x20단계:','MCP:\x20최대\x20재시도\x20횟수\x20초과','9Pecuwy','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','2129705nTDhuL','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가'];_0x2c48=function(){return _0x1570c8;};return _0x2c48();}
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x425b(){const _0x227642=['MCP\x20Disconnected','API\x20key\x20is\x20required','Click\x20to\x20connect\x20MCP','8567172HKbSEH','API\x20Key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','33PaoSDV','7724XxUZWT','MCP:\x20Network\x20Error','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','870kYzXLt','24177XdTHzl','MCP\x20Connection\x20Failed','Configuration\x20Steps:','Connected','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Unknown\x20Status','Enable\x20Authentication','Saving...','972KxIrHs','163257QBEUUI','MCP\x20Retrying...','Connecting...','1437990MonpbE','144WhsWOx','Retrying...','1340xnqucE','Configuration\x20Parameters:','18991MluZfS','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','10840tieIQq','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','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.','Max\x20Retries','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key'];_0x425b=function(){return _0x227642;};return _0x425b();}function _0x1501(_0x3b0f27,_0x32df36){_0x3b0f27=_0x3b0f27-0x19c;const _0x425b17=_0x425b();let _0x15011f=_0x425b17[_0x3b0f27];return _0x15011f;}const _0x3d6b55=_0x1501;(function(_0x1604c1,_0x3097e6){const _0x1a6a5e=_0x1501,_0x104859=_0x1604c1();while(!![]){try{const _0x57b127=-parseInt(_0x1a6a5e(0x19e))/0x1+parseInt(_0x1a6a5e(0x1a2))/0x2*(parseInt(_0x1a6a5e(0x1c4))/0x3)+parseInt(_0x1a6a5e(0x1be))/0x4*(parseInt(_0x1a6a5e(0x1a4))/0x5)+-parseInt(_0x1a6a5e(0x1c3))/0x6*(-parseInt(_0x1a6a5e(0x1a6))/0x7)+parseInt(_0x1a6a5e(0x1a9))/0x8*(parseInt(_0x1a6a5e(0x19d))/0x9)+parseInt(_0x1a6a5e(0x1a1))/0xa*(-parseInt(_0x1a6a5e(0x1bd))/0xb)+-parseInt(_0x1a6a5e(0x1ba))/0xc;if(_0x57b127===_0x3097e6)break;else _0x104859['push'](_0x104859['shift']());}catch(_0x36b37a){_0x104859['push'](_0x104859['shift']());}}}(_0x425b,0x504c0));const e={'mcpStatus':{'disconnected':_0x3d6b55(0x1b7),'connecting':'MCP\x20Connecting...','connected':_0x3d6b55(0x1b4),'failed':_0x3d6b55(0x1c5),'retrying':_0x3d6b55(0x19f),'unknown':_0x3d6b55(0x1ca),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x3d6b55(0x1b3),'networkError':_0x3d6b55(0x1bf),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3d6b55(0x1b9),'clickToConfigure':_0x3d6b55(0x1c2)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3d6b55(0x1bc),'apiKey':_0x3d6b55(0x1bb),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3d6b55(0x1cb),'enableAuthHint':_0x3d6b55(0x1b2),'connectionInfo':_0x3d6b55(0x1c8),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3d6b55(0x1b5),'configStepTitle':_0x3d6b55(0x1c6),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3d6b55(0x1c0),'sessionId':'Session\x20ID','sessionIdDescription':_0x3d6b55(0x1ad),'authorizationDescription':_0x3d6b55(0x1c9),'configParameters':_0x3d6b55(0x1a5),'maxRetries':_0x3d6b55(0x1ae),'save':'Save\x20Configuration','saving':_0x3d6b55(0x19c),'note1':_0x3d6b55(0x1c1),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3d6b55(0x1ac),'description':_0x3d6b55(0x1a8),'univerAiLabel':_0x3d6b55(0x1b0),'getStarted':_0x3d6b55(0x1b1)},'validation':{'apiKeyRequired':_0x3d6b55(0x1b8),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3d6b55(0x1aa)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x3d6b55(0x1a0),'connected':_0x3d6b55(0x1c7),'failed':'Connection\x20Failed','retrying':_0x3d6b55(0x1a3)},'connectionError':{'unauthorized':_0x3d6b55(0x1b6),'sessionOccupied':_0x3d6b55(0x1a7),'networkError':_0x3d6b55(0x1ab),'maxRetriesExceeded':_0x3d6b55(0x1af)}}},n=e;export{n as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4f3bdf=_0x15bb;function _0x15bb(_0x13cdf0,_0x24ee92){_0x13cdf0=_0x13cdf0-0x17f;const _0x4fa9a2=_0x4fa9();let _0x15bb49=_0x4fa9a2[_0x13cdf0];return _0x15bb49;}function _0x4fa9(){const _0x1949c9=['Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','47868kdrCJS','773532hjBsyO','MCP\x20neznámy\x20stav','Maximálny\x20počet\x20pokusov','31171VkeTqs','Čo\x20je\x20API\x20kľúč?','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','MCP:\x20Neautorizované','16qfSAwc','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','Uložiť\x20konfiguráciu','Pripája\x20sa...','11Vjpasj','API\x20kľúč\x20je\x20povinný','Konfigurácia\x20MCP','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','MCP:\x20Sieťová\x20chyba','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','Zadajte\x20svoj\x20API\x20kľúč','Povoliť\x20overenie','273585BWwfKO','Univer\x20AI\x20konzola','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','MCP\x20opakuje\x20pokus...','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','MCP\x20pripojené','2930jbXqru','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','Parametre\x20konfigurácie:','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Neplatná\x20konfigurácia','Skúša\x20sa\x20znova...','3180640XoStRW','474pWjPGA','MCP:\x20ID\x20relácie\x20je\x20obsadené','ID\x20relácie','8919PkoDmE','Odpojené','MCP:\x20Prekročený\x20počet\x20pokusov','API\x20kľúč\x20s\x20prefixom\x20Bearer.','1wsFIXG','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','893654MTfxEf','MCP\x20sa\x20pripája...','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači'];_0x4fa9=function(){return _0x1949c9;};return _0x4fa9();}(function(_0x36c177,_0x441ea1){const _0x4a8a1b=_0x15bb,_0x584337=_0x36c177();while(!![]){try{const _0x5226a2=parseInt(_0x4a8a1b(0x19d))/0x1*(-parseInt(_0x4a8a1b(0x19f))/0x2)+parseInt(_0x4a8a1b(0x1a4))/0x3+parseInt(_0x4a8a1b(0x1ab))/0x4*(parseInt(_0x4a8a1b(0x186))/0x5)+-parseInt(_0x4a8a1b(0x196))/0x6*(-parseInt(_0x4a8a1b(0x1a7))/0x7)+-parseInt(_0x4a8a1b(0x195))/0x8+parseInt(_0x4a8a1b(0x199))/0x9*(parseInt(_0x4a8a1b(0x18d))/0xa)+parseInt(_0x4a8a1b(0x1af))/0xb*(-parseInt(_0x4a8a1b(0x1a3))/0xc);if(_0x5226a2===_0x441ea1)break;else _0x584337['push'](_0x584337['shift']());}catch(_0x365a50){_0x584337['push'](_0x584337['shift']());}}}(_0x4fa9,0x42082));const e={'mcpStatus':{'disconnected':'MCP\x20odpojené','connecting':_0x4f3bdf(0x1a0),'connected':_0x4f3bdf(0x18c),'failed':'Pripojenie\x20MCP\x20zlyhalo','retrying':_0x4f3bdf(0x189),'unknown':_0x4f3bdf(0x1a5),'unauthorized':_0x4f3bdf(0x1aa),'sessionOccupied':_0x4f3bdf(0x197),'networkError':_0x4f3bdf(0x181),'maxRetriesExceeded':_0x4f3bdf(0x19b),'clickToConnect':'Kliknite\x20na\x20pripojenie\x20MCP','clickToConfigure':'Kliknite\x20na\x20konfiguráciu\x20MCP'},'mcpConfig':{'title':_0x4f3bdf(0x17f),'description':_0x4f3bdf(0x191),'apiKey':'API\x20kľúč','apiKeyPlaceholder':_0x4f3bdf(0x184),'apiKeyHint':_0x4f3bdf(0x1a1),'enableAuth':_0x4f3bdf(0x185),'enableAuthHint':_0x4f3bdf(0x1a2),'connectionInfo':'Konfigurácia\x20klienta\x20MCP','mcpClientConfig':'Konfigurácia\x20klienta\x20MCP','configInstructions':'Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','configStepTitle':'Kroky\x20konfigurácie:','configStep1':'Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','configStep2':_0x4f3bdf(0x18e),'configStep3':_0x4f3bdf(0x18b),'sessionId':_0x4f3bdf(0x198),'sessionIdDescription':_0x4f3bdf(0x192),'authorizationDescription':_0x4f3bdf(0x19c),'configParameters':_0x4f3bdf(0x190),'maxRetries':_0x4f3bdf(0x1a6),'save':_0x4f3bdf(0x1ad),'saving':'Ukladá\x20sa...','note1':'Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','note2':'Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','configSaved':'Konfigurácia\x20bola\x20úspešne\x20uložená','configError':_0x4f3bdf(0x18a),'apiApplyInfo':{'title':_0x4f3bdf(0x1a8),'description':_0x4f3bdf(0x18f),'univerAiLabel':_0x4f3bdf(0x187),'getStarted':_0x4f3bdf(0x188)},'validation':{'apiKeyRequired':_0x4f3bdf(0x1b0),'apiKeyTooShort':_0x4f3bdf(0x1a9),'invalidConfig':_0x4f3bdf(0x193),'invalidApiKey':_0x4f3bdf(0x19e)},'connectionStatus':{'disconnected':_0x4f3bdf(0x19a),'connecting':_0x4f3bdf(0x1ae),'connected':'Pripojené','failed':'Pripojenie\x20zlyhalo','retrying':_0x4f3bdf(0x194)},'connectionError':{'unauthorized':_0x4f3bdf(0x1ac),'sessionOccupied':_0x4f3bdf(0x180),'networkError':_0x4f3bdf(0x182),'maxRetriesExceeded':_0x4f3bdf(0x183)}}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xd9d347=_0x26d7;(function(_0x165421,_0x287821){const _0x4b16d6=_0x26d7,_0x3fa340=_0x165421();while(!![]){try{const _0x16e33d=-parseInt(_0x4b16d6(0xb3))/0x1+-parseInt(_0x4b16d6(0xbb))/0x2*(-parseInt(_0x4b16d6(0xb8))/0x3)+parseInt(_0x4b16d6(0x9e))/0x4+-parseInt(_0x4b16d6(0xb6))/0x5*(-parseInt(_0x4b16d6(0xb9))/0x6)+-parseInt(_0x4b16d6(0xbe))/0x7+parseInt(_0x4b16d6(0x9a))/0x8*(parseInt(_0x4b16d6(0xae))/0x9)+parseInt(_0x4b16d6(0x9c))/0xa*(parseInt(_0x4b16d6(0xa8))/0xb);if(_0x16e33d===_0x287821)break;else _0x3fa340['push'](_0x3fa340['shift']());}catch(_0x14f6dc){_0x3fa340['push'](_0x3fa340['shift']());}}}(_0x29a8,0x2d5ba));function _0x26d7(_0x92f594,_0x4844b5){_0x92f594=_0x92f594-0x92;const _0x29a8d0=_0x29a8();let _0x26d7a5=_0x29a8d0[_0x92f594];return _0x26d7a5;}function _0x29a8(){const _0x336ad3=['MCP\x20Đang\x20thử\x20lại...','309920kipevd','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Đã\x20ngắt\x20kết\x20nối','Đã\x20kết\x20nối','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Tham\x20số\x20cấu\x20hình:','Khóa\x20API\x20là\x20gì?','MCP\x20Đã\x20kết\x20nối','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','11mpaCUX','ID\x20phiên','Nhập\x20khóa\x20API\x20của\x20bạn','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','1074771IBKIQo','Cấu\x20hình\x20máy\x20khách\x20MCP','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Nhấp\x20để\x20cấu\x20hình\x20MCP','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','200489usYkgu','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','MCP\x20Kết\x20nối\x20thất\x20bại','235JDDuBM','Lưu\x20cấu\x20hình\x20thất\x20bại','344415GZRnng','16110WQinUB','Đã\x20ngắt\x20kết\x20nối','2mYOtrj','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Đang\x20thử\x20lại...','1517026TAiEOa','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Đang\x20lưu...','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Kết\x20nối\x20thất\x20bại','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','MCP:\x20Lỗi\x20mạng','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\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ộ','MCP:\x20Không\x20được\x20phép','16kEToQW','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','456750pKyGNs'];_0x29a8=function(){return _0x336ad3;};return _0x29a8();}const n={'mcpStatus':{'disconnected':_0xd9d347(0xa0),'connecting':'MCP\x20Đang\x20kết\x20nối...','connected':_0xd9d347(0xa5),'failed':_0xd9d347(0xb5),'retrying':_0xd9d347(0x9d),'unknown':_0xd9d347(0xab),'unauthorized':_0xd9d347(0x99),'sessionOccupied':_0xd9d347(0xa2),'networkError':_0xd9d347(0x96),'maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':'Nhấp\x20để\x20kết\x20nối\x20MCP','clickToConfigure':_0xd9d347(0xb1)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':_0xd9d347(0xa7),'apiKey':'Khóa\x20API','apiKeyPlaceholder':_0xd9d347(0xaa),'apiKeyHint':_0xd9d347(0xb0),'enableAuth':'Bật\x20xác\x20thực','enableAuthHint':_0xd9d347(0x9b),'connectionInfo':_0xd9d347(0xaf),'mcpClientConfig':_0xd9d347(0xaf),'configInstructions':_0xd9d347(0x97),'configStepTitle':'Các\x20bước\x20cấu\x20hình:','configStep1':_0xd9d347(0x95),'configStep2':_0xd9d347(0xad),'configStep3':_0xd9d347(0x9f),'sessionId':_0xd9d347(0xa9),'sessionIdDescription':'Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','authorizationDescription':_0xd9d347(0xb4),'configParameters':_0xd9d347(0xa3),'maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':'Lưu\x20cấu\x20hình','saving':_0xd9d347(0x92),'note1':_0xd9d347(0xa6),'note2':_0xd9d347(0x98),'configSaved':_0xd9d347(0xbc),'configError':_0xd9d347(0xb7),'apiApplyInfo':{'title':_0xd9d347(0xa4),'description':'Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','univerAiLabel':'Bảng\x20điều\x20khiển\x20Univer\x20AI','getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':'Yêu\x20cầu\x20khóa\x20API','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':_0xd9d347(0x93)},'connectionStatus':{'disconnected':_0xd9d347(0xba),'connecting':'Đang\x20kết\x20nối...','connected':_0xd9d347(0xa1),'failed':_0xd9d347(0x94),'retrying':_0xd9d347(0xbd)},'connectionError':{'unauthorized':_0xd9d347(0xb2),'sessionOccupied':_0xd9d347(0xac),'networkError':'Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','maxRetriesExceeded':_0xd9d347(0xbf)}}};export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x108238=_0x2a65;function _0x2a65(_0x7d6ad1,_0x28f9cf){_0x7d6ad1=_0x7d6ad1-0x72;const _0x488bf7=_0x488b();let _0x2a6564=_0x488bf7[_0x7d6ad1];return _0x2a6564;}(function(_0x55e176,_0x25e394){const _0x9b2b3c=_0x2a65,_0x14f084=_0x55e176();while(!![]){try{const _0x1a9bb4=parseInt(_0x9b2b3c(0x75))/0x1+-parseInt(_0x9b2b3c(0x7b))/0x2*(parseInt(_0x9b2b3c(0x8c))/0x3)+-parseInt(_0x9b2b3c(0x9e))/0x4+-parseInt(_0x9b2b3c(0x8d))/0x5*(-parseInt(_0x9b2b3c(0x87))/0x6)+parseInt(_0x9b2b3c(0x8e))/0x7*(-parseInt(_0x9b2b3c(0x7d))/0x8)+parseInt(_0x9b2b3c(0x99))/0x9*(parseInt(_0x9b2b3c(0x94))/0xa)+-parseInt(_0x9b2b3c(0x9a))/0xb*(-parseInt(_0x9b2b3c(0x7c))/0xc);if(_0x1a9bb4===_0x25e394)break;else _0x14f084['push'](_0x14f084['shift']());}catch(_0xdd9f16){_0x14f084['push'](_0x14f084['shift']());}}}(_0x488b,0xcfe15));const e={'mcpStatus':{'disconnected':_0x108238(0xa4),'connecting':_0x108238(0x82),'connected':_0x108238(0x90),'failed':_0x108238(0x8b),'retrying':_0x108238(0x72),'unknown':'MCP\x20状态未知','unauthorized':_0x108238(0x9d),'sessionOccupied':_0x108238(0x73),'networkError':_0x108238(0x9b),'maxRetriesExceeded':_0x108238(0xa1),'clickToConnect':_0x108238(0x92),'clickToConfigure':_0x108238(0xa2)},'mcpConfig':{'title':_0x108238(0x98),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':'API\x20密钥','apiKeyPlaceholder':_0x108238(0x7f),'apiKeyHint':_0x108238(0x9f),'enableAuth':'启用身份验证','enableAuthHint':_0x108238(0x80),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x108238(0x91),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x108238(0x74),'configStep1':_0x108238(0x7e),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x108238(0x83),'sessionId':_0x108238(0xa3),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x108238(0xa0),'configParameters':_0x108238(0xa5),'maxRetries':_0x108238(0x85),'save':_0x108238(0x77),'saving':_0x108238(0x8a),'note1':_0x108238(0x95),'note2':_0x108238(0x9c),'configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':_0x108238(0x8f),'description':_0x108238(0x78),'univerAiLabel':_0x108238(0x7a),'getStarted':_0x108238(0x76)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x108238(0x81),'invalidConfig':'配置无效','invalidApiKey':_0x108238(0x96)},'connectionStatus':{'disconnected':'未连接','connecting':_0x108238(0x86),'connected':_0x108238(0x84),'failed':_0x108238(0x79),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x108238(0x89),'sessionOccupied':_0x108238(0x88),'networkError':_0x108238(0x97),'maxRetriesExceeded':_0x108238(0x93)}}};export{e as default};function _0x488b(){const _0xb42c5f=['会话\x20ID\x20已被占用,请稍后再试','权限验证失败,请检查您的\x20API\x20密钥','保存中...','MCP\x20连接失败','1396032YZRcUL','11885SWNOBm','9046289Ixpfli','什么是\x20API\x20密钥?','MCP\x20已连接','MCP\x20客户端配置','点击连接\x20MCP','超出最大重试次数,请稍后再试','1886620oqvOWt','配置更改将立即生效','API\x20密钥无效,请检查密钥是否正确','网络连接错误,请检查您的网络连接','MCP\x20配置','45QjhIHo','77OHNYbW','MCP:\x20网络错误','您的\x20API\x20密钥安全存储在本地存储中','MCP:\x20未授权','3360872GpxAEo','您的\x20API\x20密钥将在此浏览器中本地存储','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP:\x20超出最大重试次数','点击配置\x20MCP','会话ID','MCP\x20已断开','配置参数:','MCP\x20重连中...','MCP:\x20会话\x20ID\x20已被占用','配置步骤:','1161349NIOasH','几秒钟内获取您的\x20API\x20密钥','保存配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','连接失败','Univer\x20AI\x20控制台','2mkeKry','1848828vyMyyw','8ZufSKX','复制以下\x20JSON\x20配置','请输入您的\x20API\x20密钥','启用身份验证以获得安全连接','API\x20密钥长度至少需要\x2010\x20位','MCP\x20连接中...','重启您的\x20MCP\x20客户端以使配置生效','已连接','最大重试次数','连接中...','672iCSAjD'];_0x488b=function(){return _0xb42c5f;};return _0x488b();}
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3a7ddf=_0x6a8c;(function(_0x1a0b38,_0x1a696d){const _0x2d2728=_0x6a8c,_0x1d16c7=_0x1a0b38();while(!![]){try{const _0x49cfd9=-parseInt(_0x2d2728(0xcf))/0x1+-parseInt(_0x2d2728(0xdb))/0x2*(parseInt(_0x2d2728(0xed))/0x3)+parseInt(_0x2d2728(0xe8))/0x4*(-parseInt(_0x2d2728(0xe7))/0x5)+parseInt(_0x2d2728(0xe1))/0x6+parseInt(_0x2d2728(0xc6))/0x7*(parseInt(_0x2d2728(0xe9))/0x8)+-parseInt(_0x2d2728(0xc0))/0x9*(-parseInt(_0x2d2728(0xb9))/0xa)+parseInt(_0x2d2728(0xee))/0xb*(parseInt(_0x2d2728(0xf2))/0xc);if(_0x49cfd9===_0x1a696d)break;else _0x1d16c7['push'](_0x1d16c7['shift']());}catch(_0x4d83af){_0x1d16c7['push'](_0x1d16c7['shift']());}}}(_0xb129,0x6ffdb));const e={'mcpStatus':{'disconnected':_0x3a7ddf(0xcc),'connecting':'MCP\x20Connecting...','connected':_0x3a7ddf(0xce),'failed':_0x3a7ddf(0xf4),'retrying':'MCP\x20Retrying...','unknown':_0x3a7ddf(0xe0),'unauthorized':_0x3a7ddf(0xd4),'sessionOccupied':_0x3a7ddf(0xec),'networkError':_0x3a7ddf(0xbf),'maxRetriesExceeded':_0x3a7ddf(0xe6),'clickToConnect':_0x3a7ddf(0xe3),'clickToConfigure':_0x3a7ddf(0xd7)},'mcpConfig':{'title':_0x3a7ddf(0xc1),'description':_0x3a7ddf(0xbd),'apiKey':_0x3a7ddf(0xbc),'apiKeyPlaceholder':_0x3a7ddf(0xe5),'apiKeyHint':_0x3a7ddf(0xd3),'enableAuth':_0x3a7ddf(0xd5),'enableAuthHint':_0x3a7ddf(0xca),'connectionInfo':_0x3a7ddf(0xe2),'mcpClientConfig':_0x3a7ddf(0xe2),'configInstructions':_0x3a7ddf(0xdc),'configStepTitle':_0x3a7ddf(0xc2),'configStep1':_0x3a7ddf(0xc8),'configStep2':_0x3a7ddf(0xba),'configStep3':_0x3a7ddf(0xc4),'sessionId':_0x3a7ddf(0xbe),'sessionIdDescription':_0x3a7ddf(0xc3),'authorizationDescription':_0x3a7ddf(0xda),'configParameters':_0x3a7ddf(0xf3),'maxRetries':_0x3a7ddf(0xd0),'save':_0x3a7ddf(0xf1),'saving':_0x3a7ddf(0xf0),'note1':_0x3a7ddf(0xd1),'note2':_0x3a7ddf(0xde),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3a7ddf(0xb8),'description':_0x3a7ddf(0xef),'univerAiLabel':_0x3a7ddf(0xdf),'getStarted':_0x3a7ddf(0xc5)},'validation':{'apiKeyRequired':_0x3a7ddf(0xdd),'apiKeyTooShort':_0x3a7ddf(0xd9),'invalidConfig':_0x3a7ddf(0xd2),'invalidApiKey':_0x3a7ddf(0xc9)},'connectionStatus':{'disconnected':_0x3a7ddf(0xcb),'connecting':_0x3a7ddf(0xd6),'connected':_0x3a7ddf(0xe4),'failed':_0x3a7ddf(0xbb),'retrying':_0x3a7ddf(0xcd)},'connectionError':{'unauthorized':_0x3a7ddf(0xd8),'sessionOccupied':_0x3a7ddf(0xeb),'networkError':_0x3a7ddf(0xea),'maxRetriesExceeded':_0x3a7ddf(0xc7)}}},n=e;function _0xb129(){const _0x232851=['API\x20key\x20is\x20required','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Univer\x20AI\x20Console','MCP\x20Unknown\x20Status','2357730lMKrwe','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','Connected','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','215ijMzAM','59552qmhiLj','2296BCBrid','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','69MAYIiN','71709FkFqgu','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','Save\x20Configuration','2952syVLQu','Configuration\x20Parameters:','MCP\x20Connection\x20Failed','What\x20is\x20API\x20Key?','10TplzrS','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','API\x20Key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session\x20ID','MCP:\x20Network\x20Error','2946654Mbewkv','MCP\x20Configuration','Configuration\x20Steps:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','1659ESHjag','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20authentication\x20for\x20secure\x20connections','Disconnected','MCP\x20Disconnected','Retrying...','MCP\x20Connected','690256EXVEKZ','Max\x20Retries','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Unauthorized','Enable\x20Authentication','Connecting...','Click\x20to\x20configure\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20with\x20Bearer\x20prefix.','52426WxoeoB','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:'];_0xb129=function(){return _0x232851;};return _0xb129();}function _0x6a8c(_0x4bbda8,_0x306617){_0x4bbda8=_0x4bbda8-0xb8;const _0xb1293e=_0xb129();let _0x6a8cfd=_0xb1293e[_0x4bbda8];return _0x6a8cfd;}export{n as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5ac4(_0x3dd329,_0x22e0d0){_0x3dd329=_0x3dd329-0xb6;const _0x4598ae=_0x4598();let _0x5ac421=_0x4598ae[_0x3dd329];return _0x5ac421;}(function(_0x51372a,_0x324227){const _0x2e82ce=_0x5ac4,_0x26191f=_0x51372a();while(!![]){try{const _0x3cded8=-parseInt(_0x2e82ce(0x203))/0x1*(parseInt(_0x2e82ce(0x1dc))/0x2)+parseInt(_0x2e82ce(0xdf))/0x3*(-parseInt(_0x2e82ce(0xc8))/0x4)+-parseInt(_0x2e82ce(0x1a3))/0x5+-parseInt(_0x2e82ce(0x1d3))/0x6+-parseInt(_0x2e82ce(0x217))/0x7+parseInt(_0x2e82ce(0x189))/0x8+parseInt(_0x2e82ce(0x106))/0x9*(parseInt(_0x2e82ce(0x243))/0xa);if(_0x3cded8===_0x324227)break;else _0x26191f['push'](_0x26191f['shift']());}catch(_0x542092){_0x26191f['push'](_0x26191f['shift']());}}}(_0x4598,0x4d88c),function(_0x514ede,_0xf330a4){const _0x36a03d=_0x5ac4;typeof exports=='object'&&typeof module<'u'?_0xf330a4(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==_0x36a03d(0x112)&&define[_0x36a03d(0x1d1)]?define(['exports',_0x36a03d(0x136),'react/jsx-runtime',_0x36a03d(0x1f1),'@univerjs/design',_0x36a03d(0x178),_0x36a03d(0x1a1),_0x36a03d(0xc0),_0x36a03d(0xe6)],_0xf330a4):(_0x514ede=typeof globalThis<'u'?globalThis:_0x514ede||self,_0xf330a4(_0x514ede[_0x36a03d(0x168)]={},_0x514ede['UniverCore'],_0x514ede['React'],_0x514ede[_0x36a03d(0x11d)],_0x514ede[_0x36a03d(0x17d)],_0x514ede['UniverUi'],_0x514ede['rxjs'],_0x514ede[_0x36a03d(0x200)],_0x514ede[_0x36a03d(0x17c)]));}(this,function(_0x5b8305,_0x35ef1b,_0x2cbebd,_0x59d020,_0x2192e3,_0x18cbad,_0x2291bd,_0x3c333b,_0x28dbcf){'use strict';const _0x3c3006=_0x5ac4;var _0x223035=Object[_0x3c3006(0x1ca)],_0x3fe349=(_0x2a20ac,_0x3a54d7,_0x37164e)=>_0x3a54d7 in _0x2a20ac?_0x223035(_0x2a20ac,_0x3a54d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37164e}):_0x2a20ac[_0x3a54d7]=_0x37164e,_0x85b48d=(_0x596e8e,_0xeacfa,_0x6bf575)=>_0x3fe349(_0x596e8e,typeof _0xeacfa!=_0x3c3006(0x1b1)?_0xeacfa+'':_0xeacfa,_0x6bf575);function _0x2fa21c({ref:_0x297c75,..._0x2208ca}){const {icon:_0x330c90,id:_0x5c96f5,className:_0x212195,extend:_0x40136a,..._0x260050}=_0x2208ca,_0xf4da06=('univerjs-icon\x20univerjs-icon-'+_0x5c96f5+'\x20'+(_0x212195||''))['trim'](),_0x440346=_0x3c333b['useRef']('_'+_0x577fa4());return _0x5ab4c1(_0x330c90,''+_0x5c96f5,{'defIds':_0x330c90['defIds'],'idSuffix':_0x440346['current']},{'ref':_0x297c75,'className':_0xf4da06,..._0x260050},_0x40136a);}function _0x5ab4c1(_0x3f8737,_0x29f156,_0x547e65,_0x577607,_0x67dfe7){const _0x3de398=_0x3c3006;return _0x3c333b[_0x3de398(0xcf)](_0x3f8737['tag'],{'key':_0x29f156,..._0x15f278(_0x3f8737,_0x547e65,_0x67dfe7),..._0x577607},(_0x1c583b(_0x3f8737,_0x547e65)[_0x3de398(0xee)]||[])['map']((_0x306ef3,_0x276b2f)=>_0x5ab4c1(_0x306ef3,_0x29f156+'-'+_0x3f8737[_0x3de398(0xbe)]+'-'+_0x276b2f,_0x547e65,void 0x0,_0x67dfe7)));}function _0x15f278(_0x354e2a,_0x1ee6a2,_0xefae1f){const _0x45c0aa=_0x3c3006,_0x36df63={..._0x354e2a[_0x45c0aa(0x242)]};_0xefae1f!=null&&_0xefae1f[_0x45c0aa(0x163)]&&_0x36df63['fill']===_0x45c0aa(0x163)&&(_0x36df63[_0x45c0aa(0x23d)]=_0xefae1f[_0x45c0aa(0x163)]),_0x354e2a['tag']===_0x45c0aa(0x214)&&_0x36df63['id']&&(_0x36df63['id']=_0x36df63['id']+_0x1ee6a2[_0x45c0aa(0x1a0)]),Object[_0x45c0aa(0x1e7)](_0x36df63)['forEach'](([_0x589264,_0x5606a3])=>{const _0x3cd930=_0x45c0aa;_0x589264===_0x3cd930(0x214)&&typeof _0x5606a3==_0x3cd930(0x1fb)&&(_0x36df63[_0x589264]=_0x5606a3[_0x3cd930(0x1b6)](/url\(#(.*)\)/,_0x3cd930(0x20b)+_0x1ee6a2['idSuffix']+')'));});const {defIds:_0x121b3f}=_0x1ee6a2;return!_0x121b3f||_0x121b3f['length']===0x0||(_0x354e2a[_0x45c0aa(0xbe)]===_0x45c0aa(0x147)&&_0x36df63[_0x45c0aa(0x122)]&&(_0x36df63['xlink:href']=_0x36df63[_0x45c0aa(0x122)]+_0x1ee6a2[_0x45c0aa(0x1a0)]),Object['entries'](_0x36df63)[_0x45c0aa(0x129)](([_0x5afd53,_0xda0d9e])=>{const _0x1e7d98=_0x45c0aa;typeof _0xda0d9e==_0x1e7d98(0x1fb)&&(_0x36df63[_0x5afd53]=_0xda0d9e[_0x1e7d98(0x1b6)](/url\(#(.*)\)/,'url(#$1'+_0x1ee6a2[_0x1e7d98(0x1a0)]+')'));})),_0x36df63;}function _0x1c583b(_0x13ee6a,_0x3ba3b8){const _0x38e849=_0x3c3006;var _0x4f3bfd;const {defIds:_0x36fc02}=_0x3ba3b8;return!_0x36fc02||_0x36fc02[_0x38e849(0xda)]===0x0?_0x13ee6a:_0x13ee6a[_0x38e849(0xbe)]==='defs'&&((_0x4f3bfd=_0x13ee6a[_0x38e849(0xee)])!=null&&_0x4f3bfd[_0x38e849(0xda)])?{..._0x13ee6a,'children':_0x13ee6a['children'][_0x38e849(0x220)](_0x58cff6=>typeof _0x58cff6[_0x38e849(0x242)]['id']==_0x38e849(0x1fb)&&_0x36fc02&&_0x36fc02[_0x38e849(0x207)](_0x58cff6[_0x38e849(0x242)]['id'])?{..._0x58cff6,'attrs':{..._0x58cff6[_0x38e849(0x242)],'id':_0x58cff6['attrs']['id']+_0x3ba3b8[_0x38e849(0x1a0)]}}:_0x58cff6)}:_0x13ee6a;}function _0x577fa4(){const _0x244f19=_0x3c3006;return Math[_0x244f19(0x13d)]()[_0x244f19(0x120)](0x24)[_0x244f19(0x234)](0x2,0x8);}_0x2fa21c[_0x3c3006(0x1bb)]=_0x3c3006(0xf8);const _0xe2c57={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':_0x3c3006(0xba),'fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':'currentColor','d':_0x3c3006(0x19b),'fillRule':_0x3c3006(0x1e8),'clipRule':_0x3c3006(0x1e8)}}]},_0x2e0aa0=_0x3c333b[_0x3c3006(0x154)](function(_0x5dd004,_0x304e71){const _0x1320cc=_0x3c3006;return _0x3c333b[_0x1320cc(0xcf)](_0x2fa21c,Object[_0x1320cc(0x104)]({},_0x5dd004,{'id':_0x1320cc(0x1ba),'ref':_0x304e71,'icon':_0xe2c57}));});_0x2e0aa0[_0x3c3006(0x1bb)]=_0x3c3006(0x16e);const _0x7a6d58={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':_0x3c3006(0xba),'fill':_0x3c3006(0x12b),'viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':_0x3c3006(0x1a2),'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'}}]},_0x2d6fb5=_0x3c333b['forwardRef'](function(_0x2ec515,_0x18bc87){const _0x495a38=_0x3c3006;return _0x3c333b[_0x495a38(0xcf)](_0x2fa21c,Object[_0x495a38(0x104)]({},_0x2ec515,{'id':_0x495a38(0xc1),'ref':_0x18bc87,'icon':_0x7a6d58}));});_0x2d6fb5[_0x3c3006(0x1bb)]=_0x3c3006(0x155);const _0x29851a={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x3c3006(0xcb)}},{'tag':'path','attrs':{'fill':_0x3c3006(0x1a2),'d':_0x3c3006(0x211)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x3c3006(0x111),'fillRule':_0x3c3006(0x1e8),'clipRule':'evenodd'}}]},_0x50ea44=_0x3c333b[_0x3c3006(0x154)](function(_0x361233,_0xa0b09){const _0x427dd6=_0x3c3006;return _0x3c333b[_0x427dd6(0xcf)](_0x2fa21c,Object[_0x427dd6(0x104)]({},_0x361233,{'id':_0x427dd6(0xe0),'ref':_0xa0b09,'icon':_0x29851a}));});_0x50ea44[_0x3c3006(0x1bb)]=_0x3c3006(0x22c);const _0x592311={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c3006(0x23b)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'stroke':_0x3c3006(0x1a2),'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':_0x3c3006(0x123),'strokeLinejoin':_0x3c3006(0x123),'strokeWidth':1.2}}]},{'tag':_0x3c3006(0x1e0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x3c3006(0xfa),'d':_0x3c3006(0x12e)}}]}]}],'defIds':[_0x3c3006(0xbb)]},_0x16bb40=_0x3c333b[_0x3c3006(0x154)](function(_0x5273f1,_0x58b37c){const _0x534ef5=_0x3c3006;return _0x3c333b['createElement'](_0x2fa21c,Object[_0x534ef5(0x104)]({},_0x5273f1,{'id':'off-line-icon','ref':_0x58b37c,'icon':_0x592311}));});_0x16bb40[_0x3c3006(0x1bb)]='OffLineIcon';const _0x1b8fa9={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3c3006(0x12b),'viewBox':_0x3c3006(0x188),'width':_0x3c3006(0xcc),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3c3006(0x231)},'children':[{'tag':'path','attrs':{'stroke':_0x3c3006(0x1a2),'d':_0x3c3006(0x224),'strokeLinecap':_0x3c3006(0x123),'strokeLinejoin':_0x3c3006(0x123),'strokeWidth':1.2}}]},{'tag':_0x3c3006(0x1e0),'attrs':{},'children':[{'tag':_0x3c3006(0x10e),'attrs':{'id':_0x3c3006(0x1b8)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':_0x3c3006(0xfa),'d':'M0\x200H16V16H0z','transform':_0x3c3006(0x1d7)}}]}]}],'defIds':[_0x3c3006(0x1b8)]},_0x59c0d6=_0x3c333b['forwardRef'](function(_0x5e2497,_0x52168a){const _0x3c1446=_0x3c3006;return _0x3c333b[_0x3c1446(0xcf)](_0x2fa21c,Object[_0x3c1446(0x104)]({},_0x5e2497,{'id':_0x3c1446(0xfe),'ref':_0x52168a,'icon':_0x1b8fa9}));});_0x59c0d6[_0x3c3006(0x1bb)]=_0x3c3006(0x227);function _0x1054d1(_0x4cdc0f){const _0x5bb05a=_0x3c3006;var _0x4396e8,_0x3a81c2;const {mcpCoreConfig:_0x2e4bb0,onSave:_0x4ed4fe,loading:_0x114e7e=!0x1,config:_0x1701ca,connectionStatus$:_0x21dccc,connectionError$:_0x4e1075,currentApiKey$:_0x18e3dc,currentSessionId$:_0x20051c}=_0x4cdc0f,_0x3e95c3=_0x18cbad[_0x5bb05a(0x1d6)](_0x35ef1b[_0x5bb05a(0x198)]),_0x2cd371=_0x18cbad['useObservable'](_0x21dccc,_0x59d020[_0x5bb05a(0x13a)]['DISCONNECTED']),_0x9e668a=_0x18cbad[_0x5bb05a(0xeb)](_0x4e1075,_0x59d020[_0x5bb05a(0x16a)]['NONE']),_0x4b0878=_0x18cbad[_0x5bb05a(0xeb)](_0x20051c,''),_0x59ddff=_0x18cbad['useObservable'](_0x18e3dc,''),[_0x5d542e,_0x130160]=_0x3c333b[_0x5bb05a(0x235)](_0x59ddff||''),_0x402448=!0x0,_0x498027=_0x1701ca[_0x5bb05a(0x14a)]&&_0x2e4bb0[_0x5bb05a(0x193)]&&(_0x2e4bb0[_0x5bb05a(0x193)][_0x5bb05a(0x207)](_0x5bb05a(0x1f3))||_0x2e4bb0[_0x5bb05a(0x193)][_0x5bb05a(0x207)](_0x5bb05a(0x1ad))),_0x2b1b27=(_0x4396e8=_0x2e4bb0['mcpServerUrl'])==null?void 0x0:_0x4396e8[_0x5bb05a(0x207)](_0x5bb05a(0x1f3)),_0x89f965=(_0x3a81c2=_0x2e4bb0[_0x5bb05a(0x193)])==null?void 0x0:_0x3a81c2['includes'](_0x5bb05a(0x1ad)),_0x5c7686=_0x2b1b27?_0x5bb05a(0x199):_0x5bb05a(0x1c6),_0xb0529d=_0x1701ca[_0x5bb05a(0x14a)]&&(_0x2b1b27||_0x89f965),[_0x4bc242,_0x202c7f]=_0x3c333b[_0x5bb05a(0x235)](!_0x5d542e[_0x5bb05a(0x204)]()),_0x178a67=(_0x581c04,_0x1cd042)=>{const _0x2c9180=_0x5bb05a;if(_0x1cd042===_0x59d020[_0x2c9180(0x16a)][_0x2c9180(0x165)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x581c04){case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0x196)]:return _0x2c9180(0x1bc);case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0x11c)]:case _0x59d020['MCPConnectionStatus'][_0x2c9180(0x15b)]:return _0x2c9180(0xb8);case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0xd3)]:return _0x2c9180(0x23a);default:return _0x2c9180(0xec);}},_0xde11ca=(_0x3ed694,_0x2d7ba0)=>{const _0x26a0b1=_0x5bb05a;if(_0x2d7ba0===_0x59d020['MCPConnectionError'][_0x26a0b1(0x165)])return'univer-bg-red-500';switch(_0x3ed694){case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x196)]:return _0x26a0b1(0x1c2);case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x11c)]:case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x15b)]:return _0x26a0b1(0xf4);case _0x59d020['MCPConnectionStatus'][_0x26a0b1(0xd3)]:return _0x26a0b1(0x1a7);default:return _0x26a0b1(0x223);}},_0x29ff37=_0x32c2fe=>{const _0x4fc21b=_0x5bb05a;switch(_0x32c2fe){case _0x59d020[_0x4fc21b(0x13a)]['CONNECTED']:return _0x3e95c3['t'](_0x4fc21b(0x190));case _0x59d020['MCPConnectionStatus'][_0x4fc21b(0x11c)]:return _0x3e95c3['t'](_0x4fc21b(0x114));case _0x59d020[_0x4fc21b(0x13a)][_0x4fc21b(0xd3)]:return _0x3e95c3['t'](_0x4fc21b(0xe1));case _0x59d020['MCPConnectionStatus']['RETRYING']:return _0x3e95c3['t']('mcpConfig.connectionStatus.retrying');default:return _0x3e95c3['t']('mcpConfig.connectionStatus.disconnected');}},_0x43678d=_0x3511a8=>{const _0x4361ce=_0x5bb05a;switch(_0x3511a8){case _0x59d020[_0x4361ce(0x16a)]['UNAUTHORIZED']:return _0x3e95c3['t'](_0x4361ce(0x17e));case _0x59d020[_0x4361ce(0x16a)][_0x4361ce(0x1d0)]:return _0x3e95c3['t'](_0x4361ce(0xde));case _0x59d020['MCPConnectionError']['NETWORK_ERROR']:return _0x3e95c3['t']('mcpConfig.connectionError.networkError');case _0x59d020[_0x4361ce(0x16a)][_0x4361ce(0x1eb)]:return _0x3e95c3['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x33ae51=_0x3c333b[_0x5bb05a(0x245)](()=>{const _0x3ba753={..._0x2e4bb0,'apiKey':_0x5d542e['trim'](),'enableAuth':_0x402448};_0x4ed4fe(_0x3ba753);},[_0x2e4bb0,_0x5d542e,_0x402448,_0x4ed4fe]),_0x26bc41=_0x5d542e[_0x5bb05a(0x204)]()[_0x5bb05a(0xda)]>0x0;return _0x2cbebd[_0x5bb05a(0x105)]('div',{'className':_0x5bb05a(0x128),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x144),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1e4),'children':_0x2cbebd[_0x5bb05a(0x131)]('span',{'className':'univer-text-white','children':'⚙'})}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'children':_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':_0x5bb05a(0x133),'children':_0x3e95c3['t'](_0x5bb05a(0x107))})})]})}),_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x2192e3[_0x5bb05a(0x1dd)](_0x5bb05a(0xb7),_0x178a67(_0x2cd371,_0x9e668a)),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x2192e3[_0x5bb05a(0x1dd)]('univer-size-2\x20univer-rounded-full',_0xde11ca(_0x2cd371,_0x9e668a))}),_0x2cbebd[_0x5bb05a(0x131)]('span',{'className':_0x5bb05a(0x130),'children':_0x29ff37(_0x2cd371)})]})}),_0x9e668a!==_0x59d020[_0x5bb05a(0x16a)]['NONE']&&(_0x2cd371===_0x59d020[_0x5bb05a(0x13a)][_0x5bb05a(0xd3)]||_0x9e668a===_0x59d020[_0x5bb05a(0x16a)][_0x5bb05a(0x165)])&&_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x167),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x13e),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x43678d(_0x9e668a)})]})})]}),_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x1f4),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1bd),'children':[_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0x12c),{'className':_0x5bb05a(0xf1),'children':[_0x2cbebd[_0x5bb05a(0x131)]('span',{'children':'🔑'}),'\x20',_0x3e95c3['t']('mcpConfig.apiKey'),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-text-red-500','children':'*'}),_0x498027&&_0x2cbebd[_0x5bb05a(0x131)]('a',{'className':_0x5bb05a(0x21a),'title':_0x3e95c3['t'](_0x5bb05a(0x1c0)),'role':_0x5bb05a(0x1d2),'onClick':()=>_0x202c7f(!0x0),'children':_0x2cbebd['jsx'](_0x50ea44,{})})]}),_0x2cbebd[_0x5bb05a(0x131)](_0x2192e3[_0x5bb05a(0xe7)],{'type':_0x5bb05a(0x1db),'placeholder':_0x3e95c3['t'](_0x5bb05a(0x1a5)),'value':_0x5d542e,'disabled':_0x114e7e,'autoComplete':_0x5bb05a(0x215),'onChange':_0x130160}),_0x2cbebd['jsx']('p',{'className':_0x5bb05a(0x1cf),'children':_0x3e95c3['t']('mcpConfig.apiKeyHint')})]}),_0x498027&&_0x4bc242&&_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xdc),'children':[_0x2cbebd[_0x5bb05a(0x131)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x5bb05a(0x1d2),'onClick':()=>_0x202c7f(!0x1),'children':_0x2cbebd['jsx'](_0x2d6fb5,{'className':'univer-size-4'})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x2cbebd['jsx']('div',{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0xd7),'children':'🚀'})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':_0x5bb05a(0x152),'children':[_0x2cbebd[_0x5bb05a(0x131)]('h4',{'className':_0x5bb05a(0x1c4),'children':_0x3e95c3['t']('mcpConfig.apiApplyInfo.title')}),_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':_0x5bb05a(0xb6),'children':_0x3e95c3['t'](_0x5bb05a(0x140))}),_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x149),'children':_0xb0529d&&_0x2cbebd['jsxs']('a',{'className':_0x5bb05a(0x1af),'href':_0x5c7686,'target':_0x5bb05a(0x21b),'rel':_0x5bb05a(0x205),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'🤖'}),_0x3e95c3['t'](_0x5bb05a(0x1ae)),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3e95c3['t'](_0x5bb05a(0x180))]})]})]})]}),_0x1701ca[_0x5bb05a(0x14a)]&&_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20a),'children':[_0x2cbebd['jsxs']('h4',{'className':_0x5bb05a(0xff),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'🔗'}),'\x20',_0x3e95c3['t'](_0x5bb05a(0x194))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x210),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cd),'children':[_0x2cbebd['jsx']('p',{'className':_0x5bb05a(0x17a),'children':_0x3e95c3['t'](_0x5bb05a(0x20c))}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-space-y-2','children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x3e95c3['t']('mcpConfig.configStepTitle')}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd['jsx']('span',{'className':_0x5bb05a(0x137),'children':'1'}),_0x3e95c3['t'](_0x5bb05a(0x156))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x137),'children':'2'}),_0x3e95c3['t'](_0x5bb05a(0xc4))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x137),'children':'3'}),_0x3e95c3['t'](_0x5bb05a(0x15a))]})]})]})]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x5bb05a(0x116)}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x157),'children':_0x2cbebd[_0x5bb05a(0x131)]('pre',{'className':_0x5bb05a(0x1c7),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x5bb05a(0x13f)+(_0x4b0878||_0x5bb05a(0x1ea)),'type':_0x5bb05a(0x11f),'headers':{'Authorization':_0x5bb05a(0x14d)+(_0x5d542e||_0x5bb05a(0x1c5))}}}},null,0x2)})})]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cd),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x3e95c3['t'](_0x5bb05a(0x19a))}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x240),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1f6)}),_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1be),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20f),'children':_0x5bb05a(0x1ec)}),_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cf),'children':_0x3e95c3['t'](_0x5bb05a(0x14b))})]})]}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x1f6)}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1be),'children':[_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20f),'children':_0x5bb05a(0x170)}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3e95c3['t'](_0x5bb05a(0x206))})]})]})]})]})]})]}),_0x2cbebd['jsx'](_0x2192e3['Button'],{'onClick':_0x33ae51,'disabled':!_0x26bc41||_0x114e7e,'className':_0x5bb05a(0x1cc),'children':_0x114e7e?_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'⟲'}),_0x3e95c3['t']('mcpConfig.saving')]}):_0x2cbebd[_0x5bb05a(0x105)]('span',{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x2e0aa0,{}),_0x3e95c3['t'](_0x5bb05a(0x219))]})}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xd1),'children':_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x225),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x183),'children':'💡'}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x119),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-font-medium','children':_0x5bb05a(0x18f)}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'children':['•',_0x3e95c3['t'](_0x5bb05a(0x191))]}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'children':['•',_0x3e95c3['t'](_0x5bb05a(0x229))]})]})]})})]})})]});}const _0xc1c378=_0x3c3006(0x12f),_0x32265d={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x522186=Object[_0x3c3006(0x138)],_0x33dc13=(_0xdf58bd,_0x499f2f,_0x5bb9bc,_0x4001bb)=>{const _0x4b3357=_0x3c3006;for(var _0x360a04=_0x4001bb>0x1?void 0x0:_0x4001bb?_0x522186(_0x499f2f,_0x5bb9bc):_0x499f2f,_0x6ea042=_0xdf58bd[_0x4b3357(0xda)]-0x1,_0x2102a8;_0x6ea042>=0x0;_0x6ea042--)(_0x2102a8=_0xdf58bd[_0x6ea042])&&(_0x360a04=_0x2102a8(_0x360a04)||_0x360a04);return _0x360a04;},_0xb710c9=(_0x57e4ba,_0x312a27)=>(_0x5db554,_0x407fa4)=>_0x312a27(_0x5db554,_0x407fa4,_0x57e4ba);const _0x43ef9c=_0x3c3006(0xc3),_0x165025=_0x3c3006(0x145);_0x5b8305['MCPConfigUIController']=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x4222ab,_0x22d125,_0x2f46e2,_0x5c6aa5,_0x3700ef,_0x2ff90b,_0x3323ef,_0x181bd5,_0x240d73,_0x56bd1f){const _0x59547d=_0x3c3006;super(),_0x85b48d(this,_0x59547d(0x1f0),new _0x2291bd[(_0x59547d(0xf6))](!0x1)),_0x85b48d(this,_0x59547d(0x246),new _0x2291bd[(_0x59547d(0xf6))]({})),_0x85b48d(this,'_config$',new _0x2291bd[(_0x59547d(0xf6))]({})),_0x85b48d(this,_0x59547d(0x22b),new _0x2291bd[(_0x59547d(0xf6))]('')),_0x85b48d(this,_0x59547d(0x10b),async _0x4fcae8=>{const _0x329f9d=_0x59547d;var _0x4f9f0b,_0x197321;this[_0x329f9d(0x1f0)]['next'](!0x0);try{const _0x2fa73f=await this[_0x329f9d(0x230)](_0x4fcae8);if(!_0x2fa73f[_0x329f9d(0x23c)]){this[_0x329f9d(0x15e)]['show']({'type':_0x2192e3[_0x329f9d(0x218)][_0x329f9d(0x1e3)],'content':_0x2fa73f[_0x329f9d(0x1ff)]||this[_0x329f9d(0x1de)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x4fcae8[_0x329f9d(0x247)]?await this[_0x329f9d(0x1b3)][_0x329f9d(0x1ac)](_0x43ef9c,_0x4fcae8[_0x329f9d(0x247)][_0x329f9d(0x204)]()):await this[_0x329f9d(0x1b3)][_0x329f9d(0xce)](_0x43ef9c),this[_0x329f9d(0x22b)][_0x329f9d(0x239)](((_0x4f9f0b=_0x4fcae8[_0x329f9d(0x247)])==null?void 0x0:_0x4f9f0b[_0x329f9d(0x204)]())||''),this[_0x329f9d(0xc7)][_0x329f9d(0x21c)]({'Authorization':_0x329f9d(0x14d)+((_0x197321=_0x4fcae8[_0x329f9d(0x247)])==null?void 0x0:_0x197321[_0x329f9d(0x204)]())}),this[_0x329f9d(0x15e)][_0x329f9d(0xc5)]({'type':_0x2192e3[_0x329f9d(0x218)]['Success'],'content':this[_0x329f9d(0x1de)]['t'](_0x329f9d(0x1e6))}),setTimeout(()=>{const _0x1790e4=_0x329f9d;this[_0x1790e4(0x18d)][_0x1790e4(0x1b0)](_0x165025);},0x320);}catch(_0x3288f0){this[_0x329f9d(0x14c)][_0x329f9d(0x187)](_0x329f9d(0x127),_0x3288f0),this[_0x329f9d(0x15e)][_0x329f9d(0xc5)]({'type':_0x2192e3[_0x329f9d(0x218)][_0x329f9d(0x1e3)],'content':this[_0x329f9d(0x1de)]['t'](_0x329f9d(0x18b))});}finally{this[_0x329f9d(0x1f0)][_0x329f9d(0x239)](!0x1);}}),(this[_0x59547d(0x14f)]=_0x4222ab,this[_0x59547d(0x16f)]=_0x22d125,this[_0x59547d(0xb9)]=_0x2f46e2,this[_0x59547d(0x1b3)]=_0x5c6aa5,this[_0x59547d(0x18d)]=_0x3700ef,this[_0x59547d(0x15e)]=_0x2ff90b,this[_0x59547d(0x248)]=_0x3323ef,this[_0x59547d(0x1de)]=_0x181bd5,this[_0x59547d(0x14c)]=_0x240d73,this[_0x59547d(0xc7)]=_0x56bd1f,this[_0x59547d(0xdd)](),this[_0x59547d(0x1aa)](),this[_0x59547d(0x185)]());}['showConfigPanel'](){const _0x5b1299=_0x3c3006,_0x45368a=this[_0x5b1299(0xb9)]['getConfig'](_0xc1c378);_0x45368a!=null&&_0x45368a[_0x5b1299(0x14a)]&&this[_0x5b1299(0x18d)][_0x5b1299(0xfb)]({'id':_0x165025,'title':{'title':this[_0x5b1299(0x1de)]['t'](_0x5b1299(0x1b2))},'children':{'label':_0x5b1299(0x1a6)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x9a86=_0x5b1299;this[_0x9a86(0x18d)]['close'](_0x165025);}});}['getCurrentConfig'](){const _0x5b40ed=_0x3c3006;return this[_0x5b40ed(0x246)]['value'];}[_0x3c3006(0x185)](){const _0x5c0018=_0x3c3006;this[_0x5c0018(0x1ef)](this[_0x5c0018(0x248)]['register'](_0x5c0018(0x1a6),this['_createConfigPanelComponent']()));}[_0x3c3006(0x1c9)](){const _0x26350c=_0x3c3006;return _0x18cbad[_0x26350c(0x176)](()=>{const _0x1f364e=_0x26350c;var _0xf95ed0,_0x294718,_0x1b7166;return _0x2cbebd[_0x1f364e(0x131)](_0x1054d1,{'config':this[_0x1f364e(0x15f)][_0x1f364e(0x102)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x1f364e(0x102)],'currentApiKey$':this[_0x1f364e(0x22b)],'onSave':this[_0x1f364e(0x10b)],'loading':this[_0x1f364e(0x1f0)]['value'],'connectionStatus$':(_0xf95ed0=this[_0x1f364e(0xc7)])==null?void 0x0:_0xf95ed0['connectionStatus$'],'connectionError$':(_0x294718=this[_0x1f364e(0xc7)])==null?void 0x0:_0x294718['connectionError$'],'currentSessionId$':(_0x1b7166=this[_0x1f364e(0xc7)])==null?void 0x0:_0x1b7166[_0x1f364e(0x238)]});},this['_injector']);}[_0x3c3006(0xdd)](){const _0x5243d4=_0x3c3006;this[_0x5243d4(0x1ef)](this[_0x5243d4(0xb9)][_0x5243d4(0x22d)](_0x59d020[_0x5243d4(0x184)])[_0x5243d4(0x20e)](_0x39e93e=>{const _0x59fd54=_0x5243d4;this[_0x59fd54(0x246)][_0x59fd54(0x239)](_0x39e93e||{});}));const _0x26b611=this['_configService'][_0x5243d4(0x1fc)](_0x59d020[_0x5243d4(0x184)]);this[_0x5243d4(0x246)][_0x5243d4(0x239)](_0x26b611||{}),this['disposeWithMe'](this['_configService']['subscribeConfigValue$'](_0xc1c378)['subscribe'](_0x4d5913=>{const _0x1767ff=_0x5243d4;this[_0x1767ff(0x15f)][_0x1767ff(0x239)](_0x4d5913||{});}));const _0x2966f1=this['_configService'][_0x5243d4(0x1fc)](_0xc1c378);this[_0x5243d4(0x15f)][_0x5243d4(0x239)](_0x2966f1||{});}async['_loadStoredApiKey'](){const _0x4cff41=_0x3c3006,_0x7fa40=this[_0x4cff41(0xb9)][_0x4cff41(0x1fc)](_0xc1c378);if(!(_0x7fa40!=null&&_0x7fa40[_0x4cff41(0x14a)]))return;const _0x5106de=await this[_0x4cff41(0x1b3)][_0x4cff41(0xf9)](_0x43ef9c);_0x5106de&&(this['_mcpConnectionController'][_0x4cff41(0x21c)]({'Authorization':_0x4cff41(0x14d)+_0x5106de}),this[_0x4cff41(0x22b)][_0x4cff41(0x239)](_0x5106de));}async['_validateConfig'](_0x2255dc){const _0x18f5bf=_0x3c3006;if(!_0x2255dc['apiKey']||_0x2255dc[_0x18f5bf(0x247)][_0x18f5bf(0x204)]()[_0x18f5bf(0xda)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x18f5bf(0x1de)]['t'](_0x18f5bf(0x109))};if(_0x2255dc[_0x18f5bf(0x247)]['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x18f5bf(0x1de)]['t'](_0x18f5bf(0x18a))};try{const _0x2d0d78=await this[_0x18f5bf(0x14f)]['get'](_0x59d020[_0x18f5bf(0x1d8)])[_0x18f5bf(0x1ee)](_0x2255dc[_0x18f5bf(0x247)][_0x18f5bf(0x204)]());return _0x2d0d78[_0x18f5bf(0x23c)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2d0d78[_0x18f5bf(0x187)]||this[_0x18f5bf(0x1de)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x6649e6){return console[_0x18f5bf(0x192)](_0x18f5bf(0x216),_0x6649e6),{'isValid':!0x0};}}},_0x5b8305[_0x3c3006(0x202)]=_0x33dc13([_0xb710c9(0x0,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b['Injector'])),_0xb710c9(0x1,_0x18cbad[_0x3c3006(0xd8)]),_0xb710c9(0x2,_0x35ef1b[_0x3c3006(0x142)]),_0xb710c9(0x3,_0x35ef1b['ILocalStorageService']),_0xb710c9(0x4,_0x18cbad['IDialogService']),_0xb710c9(0x5,_0x18cbad[_0x3c3006(0xf5)]),_0xb710c9(0x6,_0x35ef1b[_0x3c3006(0x1b7)](_0x18cbad[_0x3c3006(0x12a)])),_0xb710c9(0x7,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b[_0x3c3006(0x198)])),_0xb710c9(0x8,_0x35ef1b[_0x3c3006(0x15c)]),_0xb710c9(0x9,_0x35ef1b[_0x3c3006(0x1b7)](_0x59d020[_0x3c3006(0x1d8)]))],_0x5b8305['MCPConfigUIController']);const _0x23e4a0={'id':_0x3c3006(0x21d),'type':_0x35ef1b[_0x3c3006(0x18e)]['COMMAND'],'handler':async(_0x47f6bd,_0x41112d)=>(_0x47f6bd[_0x3c3006(0x13b)](_0x5b8305[_0x3c3006(0x202)])[_0x3c3006(0x11b)](),!0x0)};function _0x5d6a2e(_0x554c78,_0x3f4135){const _0x32bbde=_0x3c3006;switch(_0x554c78){case _0x59d020['MCPConnectionStatus'][_0x32bbde(0x124)]:return'mcpStatus.disconnected';case _0x59d020[_0x32bbde(0x13a)][_0x32bbde(0x11c)]:return _0x32bbde(0x14e);case _0x59d020['MCPConnectionStatus'][_0x32bbde(0x196)]:return'mcpStatus.connected';case _0x59d020['MCPConnectionStatus'][_0x32bbde(0xd3)]:switch(_0x3f4135){case _0x59d020[_0x32bbde(0x16a)]['UNAUTHORIZED']:return _0x32bbde(0x126);case _0x59d020[_0x32bbde(0x16a)]['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x59d020['MCPConnectionError'][_0x32bbde(0x134)]:return'mcpStatus.networkError';case _0x59d020[_0x32bbde(0x16a)]['MAX_RETRIES_EXCEEDED']:return _0x32bbde(0x201);default:return _0x32bbde(0x143);}case _0x59d020[_0x32bbde(0x13a)]['RETRYING']:return _0x32bbde(0x158);default:return _0x32bbde(0x160);}}function _0x261233(_0x2dfea5,_0x581400,_0x9c405e,_0x70accd=!0x0){const _0x398eaf=_0x3c3006,_0x126e4f=_0x5d6a2e(_0x2dfea5,_0x581400),_0x207310=_0x9c405e['t'](_0x126e4f);return _0x70accd?_0x2dfea5===_0x59d020[_0x398eaf(0x13a)]['DISCONNECTED']&&_0x581400===_0x59d020[_0x398eaf(0x16a)]['UNAUTHORIZED']?_0x207310+_0x398eaf(0x100)+_0x9c405e['t'](_0x398eaf(0x197)):_0x2dfea5===_0x59d020[_0x398eaf(0x13a)][_0x398eaf(0x196)]?''+_0x207310:_0x2dfea5===_0x59d020[_0x398eaf(0x13a)][_0x398eaf(0x124)]||_0x2dfea5===_0x59d020['MCPConnectionStatus'][_0x398eaf(0xd3)]?_0x207310+_0x398eaf(0x100)+_0x9c405e['t'](_0x398eaf(0x161)):_0x207310:_0x207310;}function _0x54c255(_0x3692ff){const _0x592ba8=_0x3c3006;switch(_0x3692ff){case _0x59d020[_0x592ba8(0x13a)]['CONNECTED']:return'univer-text-green-500';case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x11c)]:case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x15b)]:return _0x592ba8(0x1f8);case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0xd3)]:case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x124)]:return'univer-text-red-500';default:return _0x592ba8(0xd2);}}function _0x1f823(_0xe68a7f){const _0x45c2e6=_0x3c3006,{status$:_0x39316b,error$:_0x46a8a1,onConfigure:_0x14fc25,showClickable:_0x3e5c17=!0x0}=_0xe68a7f,_0x58ae5c=_0x18cbad['useObservable'](_0x39316b,_0x59d020['MCPConnectionStatus'][_0x45c2e6(0x124)]),_0x5088c8=_0x18cbad['useObservable'](_0x46a8a1,_0x59d020[_0x45c2e6(0x16a)][_0x45c2e6(0x12d)]),_0x504530=_0x18cbad[_0x45c2e6(0x1d6)](_0x35ef1b[_0x45c2e6(0x198)]),_0x3b87d9=_0x58ae5c===_0x59d020[_0x45c2e6(0x13a)][_0x45c2e6(0x196)];_0x58ae5c===_0x59d020[_0x45c2e6(0x13a)][_0x45c2e6(0x11c)]||_0x59d020[_0x45c2e6(0x13a)]['RETRYING'];const _0x1c4748=_0x504530['t'](_0x5d6a2e(_0x58ae5c,_0x5088c8)),_0x54eb87=_0x261233(_0x58ae5c,_0x5088c8,_0x504530,_0x3e5c17),_0x157a5d=_0x54c255(_0x58ae5c),_0x312751=_0x3b87d9?_0x2cbebd[_0x45c2e6(0x131)](_0x59c0d6,{}):_0x2cbebd[_0x45c2e6(0x131)](_0x16bb40,{}),_0x43b4f0=_0x3c333b[_0x45c2e6(0x245)](()=>{_0x3e5c17&&_0x14fc25&&_0x14fc25();},[_0x3e5c17,_0x14fc25]);function _0x4b0109(){const _0x436b5c=_0x45c2e6;return _0x2cbebd[_0x436b5c(0x105)](_0x436b5c(0xdb),{'className':_0x2192e3[_0x436b5c(0x1dd)](_0x436b5c(0x108),_0x3e5c17&&_0x14fc25&&_0x436b5c(0xbc)),'role':_0x436b5c(0x1d2),'onClick':_0x3e5c17&&_0x14fc25?_0x43b4f0:void 0x0,'children':[_0x2cbebd[_0x436b5c(0x131)]('div',{'className':_0x2192e3[_0x436b5c(0x1dd)](_0x436b5c(0x21e),_0x157a5d),'children':_0x312751}),_0x2cbebd[_0x436b5c(0x131)](_0x436b5c(0xdb),{'className':_0x436b5c(0x1f5),'children':_0x1c4748})]});}return _0x2cbebd['jsx'](_0x2192e3[_0x45c2e6(0x1c1)],{'title':_0x54eb87,'placement':_0x45c2e6(0x103),'children':_0x4b0109()});}var _0x11a9ba=Object[_0x3c3006(0x138)],_0x1198a6=(_0x31925f,_0x4b14ef,_0x3139f7,_0x305e89)=>{for(var _0x40a39d=_0x305e89>0x1?void 0x0:_0x305e89?_0x11a9ba(_0x4b14ef,_0x3139f7):_0x4b14ef,_0x3fca6e=_0x31925f['length']-0x1,_0xfc8dd2;_0x3fca6e>=0x0;_0x3fca6e--)(_0xfc8dd2=_0x31925f[_0x3fca6e])&&(_0x40a39d=_0xfc8dd2(_0x40a39d)||_0x40a39d);return _0x40a39d;},_0x2e253f=(_0x32ce5e,_0x4f1112)=>(_0x27440d,_0x42dd62)=>_0x4f1112(_0x27440d,_0x42dd62,_0x32ce5e);_0x5b8305[_0x3c3006(0x113)]=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x5e7395,_0x1726d1,_0x419a0a,_0x2c7e07){const _0x3b5829=_0x3c3006;super(),this[_0x3b5829(0x14f)]=_0x5e7395,this[_0x3b5829(0x175)]=_0x1726d1,this[_0x3b5829(0x16f)]=_0x419a0a,this['_configService']=_0x2c7e07,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x3c3006(0x115)](){const _0xb09f4c=_0x3c3006,_0x413799=this[_0xb09f4c(0xb9)]['getConfig'](_0xc1c378);_0x413799!=null&&_0x413799[_0xb09f4c(0x14a)]&&(this[_0xb09f4c(0x175)]['enableAutoConnect']=!0x1);}[_0x3c3006(0x1e9)](){const _0x349cf9=_0x3c3006,_0x53d592=this['_configService'][_0x349cf9(0x1fc)](_0xc1c378);(_0x53d592==null?void 0x0:_0x53d592[_0x349cf9(0x121)])!==!0x1&&this['disposeWithMe'](this[_0x349cf9(0x16f)][_0x349cf9(0x226)](_0x18cbad[_0x349cf9(0x162)][_0x349cf9(0x1ab)],()=>{const _0x464026=_0x349cf9;var _0x1d7f1d;return _0x18cbad[_0x464026(0x176)](_0x23d780({'status$':this[_0x464026(0x175)][_0x464026(0x237)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x1d7f1d=_0x53d592==null?void 0x0:_0x53d592[_0x464026(0x14a)])!=null?_0x1d7f1d:!0x1}),this[_0x464026(0x14f)]);}));}[_0x3c3006(0x16d)](){const _0x388317=_0x3c3006;this[_0x388317(0x14f)][_0x388317(0x13b)](_0x5b8305[_0x388317(0x202)])[_0x388317(0x11b)]();}},_0x5b8305[_0x3c3006(0x113)]=_0x1198a6([_0x2e253f(0x0,_0x35ef1b['Inject'](_0x35ef1b[_0x3c3006(0x236)])),_0x2e253f(0x1,_0x35ef1b[_0x3c3006(0x1b7)](_0x59d020['MCPConnectionController'])),_0x2e253f(0x2,_0x18cbad[_0x3c3006(0xd8)]),_0x2e253f(0x3,_0x35ef1b[_0x3c3006(0x142)])],_0x5b8305[_0x3c3006(0x113)]);function _0x23d780(_0x28bfe3){const {status$:_0x4a0925,error$:_0x1be90,onConfigure:_0x50e7f0,showClickable:_0x4df17d}=_0x28bfe3;return function(){const _0x5d4bbc=_0x5ac4;return _0x2cbebd[_0x5d4bbc(0x131)](_0x1f823,{'status$':_0x4a0925,'error$':_0x1be90,'onConfigure':_0x50e7f0,'showClickable':_0x4df17d});};}function _0x1be6b4(_0x48d607){const _0x14f808=_0x3c3006;return{'id':_0x23e4a0['id'],'type':_0x18cbad[_0x14f808(0xf3)]['BUTTON'],'icon':_0x14f808(0x10f),'title':'mcpConfig.title','tooltip':_0x14f808(0x1b2)};}const _0x3219a9={[_0x18cbad['RibbonStartGroup'][_0x3c3006(0x1d4)]]:{[_0x23e4a0['id']]:{'order':0xa,'menuItemFactory':_0x1be6b4}}};var _0x4c05f6=Object[_0x3c3006(0x138)],_0x5657b5=(_0x28bde9,_0x1e3e14,_0x145aaa,_0x5077bf)=>{const _0x6ffc72=_0x3c3006;for(var _0x5ed2cc=_0x5077bf>0x1?void 0x0:_0x5077bf?_0x4c05f6(_0x1e3e14,_0x145aaa):_0x1e3e14,_0x3bc07e=_0x28bde9[_0x6ffc72(0xda)]-0x1,_0x41a32c;_0x3bc07e>=0x0;_0x3bc07e--)(_0x41a32c=_0x28bde9[_0x3bc07e])&&(_0x5ed2cc=_0x41a32c(_0x5ed2cc)||_0x5ed2cc);return _0x5ed2cc;},_0x93fb5d=(_0x20f681,_0x4ccfe4)=>(_0x4941c6,_0x33f00f)=>_0x4ccfe4(_0x4941c6,_0x33f00f,_0x20f681);_0x5b8305[_0x3c3006(0x18c)]=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x477c45,_0x353402){const _0x2fc049=_0x3c3006;super(),this[_0x2fc049(0x23f)]=_0x477c45,this[_0x2fc049(0x1f9)]=_0x353402,this[_0x2fc049(0xd6)](),this[_0x2fc049(0xbd)]();}['_initializeCommands'](){const _0x3c07c3=_0x3c3006;[_0x23e4a0][_0x3c07c3(0x129)](_0x1db620=>{const _0x46586e=_0x3c07c3;this[_0x46586e(0x1ef)](this[_0x46586e(0x23f)]['registerCommand'](_0x1db620));});}[_0x3c3006(0xbd)](){const _0x5adcff=_0x3c3006;this[_0x5adcff(0x1f9)]['mergeMenu'](_0x3219a9);}},_0x5b8305[_0x3c3006(0x18c)]=_0x5657b5([_0x93fb5d(0x0,_0x35ef1b['ICommandService']),_0x93fb5d(0x1,_0x18cbad[_0x3c3006(0x1b9)])],_0x5b8305[_0x3c3006(0x18c)]);const _0x1e870f={'mcpStatus':{'disconnected':_0x3c3006(0x148),'connecting':_0x3c3006(0x222),'connected':_0x3c3006(0x1b4),'failed':_0x3c3006(0x1fa),'retrying':_0x3c3006(0x244),'unknown':_0x3c3006(0xbf),'unauthorized':_0x3c3006(0x146),'sessionOccupied':_0x3c3006(0x213),'networkError':_0x3c3006(0x1a9),'maxRetriesExceeded':_0x3c3006(0xd4),'clickToConnect':_0x3c3006(0x1bf),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3c3006(0x116),'description':_0x3c3006(0xc9),'apiKey':_0x3c3006(0xe5),'apiKeyPlaceholder':_0x3c3006(0x1b5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3c3006(0xfd),'enableAuthHint':_0x3c3006(0x150),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3c3006(0xcd),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3c3006(0x1ce),'configStep1':_0x3c3006(0x19f),'configStep2':_0x3c3006(0xd5),'configStep3':_0x3c3006(0xfc),'sessionId':_0x3c3006(0x125),'sessionIdDescription':_0x3c3006(0xe8),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3c3006(0x10d),'maxRetries':_0x3c3006(0xca),'save':'Save\x20Configuration','saving':_0x3c3006(0xed),'note1':_0x3c3006(0xe4),'note2':_0x3c3006(0x17f),'configSaved':_0x3c3006(0x101),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3c3006(0x171),'univerAiLabel':_0x3c3006(0x174),'getStarted':_0x3c3006(0x181)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3c3006(0x139),'invalidConfig':_0x3c3006(0x208),'invalidApiKey':_0x3c3006(0x16b)},'connectionStatus':{'disconnected':_0x3c3006(0xe2),'connecting':_0x3c3006(0x209),'connected':_0x3c3006(0x132),'failed':_0x3c3006(0xea),'retrying':_0x3c3006(0x23e)},'connectionError':{'unauthorized':_0x3c3006(0x241),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x3c3006(0xe3),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x4eae2c={'mcpStatus':{'disconnected':_0x3c3006(0x1cb),'connecting':_0x3c3006(0x21f),'connected':_0x3c3006(0x228),'failed':_0x3c3006(0x1e5),'retrying':_0x3c3006(0x11a),'unknown':'MCP\x20状态未知','unauthorized':_0x3c3006(0x151),'sessionOccupied':_0x3c3006(0x141),'networkError':_0x3c3006(0xef),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x3c3006(0x1d5),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x3c3006(0x10c),'description':_0x3c3006(0x135),'apiKey':_0x3c3006(0xd9),'apiKeyPlaceholder':_0x3c3006(0x117),'apiKeyHint':_0x3c3006(0x166),'enableAuth':_0x3c3006(0x249),'enableAuthHint':_0x3c3006(0x164),'connectionInfo':_0x3c3006(0x22f),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x3c3006(0x221),'configStepTitle':_0x3c3006(0x19d),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x3c3006(0xe9),'sessionIdDescription':_0x3c3006(0x1e2),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x3c3006(0x1f7),'maxRetries':'最大重试次数','save':_0x3c3006(0x182),'saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x3c3006(0x195),'configError':_0x3c3006(0x173),'apiApplyInfo':{'title':_0x3c3006(0x186),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x3c3006(0x1ed),'getStarted':_0x3c3006(0x10a)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x3c3006(0x1fe),'invalidConfig':_0x3c3006(0x1c3),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x3c3006(0x232),'connecting':_0x3c3006(0x20d),'connected':_0x3c3006(0x22e),'failed':_0x3c3006(0x1a8),'retrying':_0x3c3006(0x1e1)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x3c3006(0x1c8),'networkError':_0x3c3006(0x233),'maxRetriesExceeded':_0x3c3006(0x1da)}}};var _0x40a208=Object['defineProperty'],_0x5adf98=Object[_0x3c3006(0x138)],_0x4730b0=(_0x169829,_0x40ff62,_0x50acc9)=>_0x40ff62 in _0x169829?_0x40a208(_0x169829,_0x40ff62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50acc9}):_0x169829[_0x40ff62]=_0x50acc9,_0xb9a627=(_0x6fe2ae,_0x98f28f,_0x430802,_0x20f682)=>{const _0x5aa487=_0x3c3006;for(var _0x56eb77=_0x20f682>0x1?void 0x0:_0x20f682?_0x5adf98(_0x98f28f,_0x430802):_0x98f28f,_0x2e3ecb=_0x6fe2ae[_0x5aa487(0xda)]-0x1,_0x51ad58;_0x2e3ecb>=0x0;_0x2e3ecb--)(_0x51ad58=_0x6fe2ae[_0x2e3ecb])&&(_0x56eb77=_0x51ad58(_0x56eb77)||_0x56eb77);return _0x56eb77;},_0x30e35b=(_0xa525b3,_0x4725c4)=>(_0x27f3a8,_0xdec6fa)=>_0x4725c4(_0x27f3a8,_0xdec6fa,_0xa525b3),_0x29dd37=(_0x1d3aa1,_0x31dede,_0x1a5d41)=>_0x4730b0(_0x1d3aa1,_0x31dede+'',_0x1a5d41);_0x5b8305[_0x3c3006(0x1d9)]=class extends _0x35ef1b[_0x3c3006(0x22a)]{constructor(_0x3f677b=_0x32265d,_0x46153e,_0x189b60,_0x274548,_0xe73aad,_0x21a3d4){const _0xb889e3=_0x3c3006;super(),this[_0xb889e3(0x153)]=_0x3f677b,this[_0xb889e3(0x14f)]=_0x46153e,this[_0xb889e3(0xb9)]=_0x189b60,this[_0xb889e3(0x16f)]=_0x274548,this[_0xb889e3(0x1b3)]=_0xe73aad,this[_0xb889e3(0x1de)]=_0x21a3d4;const {..._0x5e1333}=_0x35ef1b[_0xb889e3(0x159)]({},_0x32265d,this['_config']);this[_0xb889e3(0xb9)][_0xb889e3(0x179)](_0xc1c378,_0x5e1333);}async['onStarting'](){const _0x281ed0=_0x3c3006,_0x54b39a=[[_0x5b8305[_0x281ed0(0x113)]],[_0x5b8305[_0x281ed0(0x202)]],[_0x5b8305[_0x281ed0(0x18c)]]];this['_injector'][_0x281ed0(0xf0)](_0x28dbcf[_0x281ed0(0x13c)])||_0x54b39a[_0x281ed0(0x1df)]([_0x28dbcf[_0x281ed0(0x13c)],{'useClass':_0x28dbcf[_0x281ed0(0x1f2)]}]),_0x54b39a['forEach'](_0x5a22f1=>this['_injector'][_0x281ed0(0x1fd)](_0x5a22f1)),this[_0x281ed0(0x14f)][_0x281ed0(0x13b)](_0x5b8305[_0x281ed0(0x113)]),this[_0x281ed0(0x14f)][_0x281ed0(0x13b)](_0x5b8305[_0x281ed0(0x202)]),this[_0x281ed0(0x14f)]['get'](_0x5b8305['MCPUIMenuController']);}},_0x29dd37(_0x5b8305['UniverMCPUIPlugin'],_0x3c3006(0x110),_0x3c3006(0x15d)),_0x5b8305[_0x3c3006(0x1d9)]=_0xb9a627([_0x35ef1b[_0x3c3006(0x118)](_0x59d020[_0x3c3006(0xd0)]),_0x30e35b(0x1,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b['Injector'])),_0x30e35b(0x2,_0x35ef1b['IConfigService']),_0x30e35b(0x3,_0x18cbad[_0x3c3006(0xd8)]),_0x30e35b(0x4,_0x35ef1b[_0x3c3006(0x11e)]),_0x30e35b(0x5,_0x35ef1b['Inject'](_0x35ef1b[_0x3c3006(0x198)]))],_0x5b8305[_0x3c3006(0x1d9)]),_0x5b8305['MCPConfigPanel']=_0x1054d1,_0x5b8305[_0x3c3006(0xf7)]=_0x1f823,_0x5b8305['OpenMCPConfigPanelCommand']=_0x23e4a0,_0x5b8305[_0x3c3006(0x177)]=_0x1e870f,_0x5b8305[_0x3c3006(0x19e)]=_0x4eae2c,Object[_0x3c3006(0x1ca)](_0x5b8305,Symbol[_0x3c3006(0x169)],{'value':_0x3c3006(0x212)});}));function _0x4598(){const _0x18e745=['Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_initializeCommands','univer-text-blue-600','IUIPartsService','API\x20密钥','length','div','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','_initConfigSync','mcpConfig.connectionError.sessionOccupied','257211cIFQsH','help-icon','mcpConfig.connectionStatus.failed','Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','@univerjs/network','Input','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','会话ID','Connection\x20Failed','useObservable','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Saving...','children','MCP:\x20网络错误','has','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','MenuItemType','univer-bg-blue-500','IMessageService','BehaviorSubject','MCPStatusDisplay','UniverIcon','getItem','white','open','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','on-line-icon','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','\x20-\x20','Configuration\x20saved\x20successfully','value','bottom','assign','jsxs','45mmNIGZ','mcpConfig.description','univer-flex\x20univer-items-center','mcpConfig.validation.apiKeyRequired','几秒钟内获取您的\x20API\x20密钥','_handleConfigSave','MCP\x20配置','Configuration\x20Parameters:','clipPath','MenuIcon','pluginName','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','function','MCPConnectionUIController','mcpConfig.connectionStatus.connecting','_initAutoConnect','MCP\x20Configuration','请输入您的\x20API\x20密钥','DependentOn','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP\x20重连中...','showConfigPanel','CONNECTING','UniverProMcp','ILocalStorageService','http','toString','showStatus','xlink:href','round','DISCONNECTED','Session\x20ID','mcpStatus.unauthorized','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','forEach','ComponentManager','none','label','NONE','M0\x200H16V16H0z','mcp-ui.config','univer-text-sm\x20univer-font-medium','jsx','Connected','univer-text-sm\x20univer-text-gray-500','NETWORK_ERROR','配置\x20MCP\x20使用\x20AI\x20操作电子表格','@univerjs/core','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','getOwnPropertyDescriptor','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCPConnectionStatus','get','ISocketService','random','univer-flex\x20univer-items-start\x20univer-gap-2','https://mcp.univer.ai/mcp/?univer_session_id=','mcpConfig.apiApplyInfo.description','MCP:\x20会话\x20ID\x20已被占用','IConfigService','mcpStatus.failed','univer-flex\x20univer-items-center\x20univer-gap-3','mcp-config-dialog','MCP:\x20Unauthorized','use','MCP\x20Disconnected','univer-flex\x20univer-flex-wrap\x20univer-gap-2','showDeveloperTools','mcpConfig.sessionIdDescription','_logService','Bearer\x20','mcpStatus.connecting','_injector','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20未授权','univer-flex-1','_config','forwardRef','CloseIcon','mcpConfig.configStep1','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpStatus.retrying','merge','mcpConfig.configStep3','RETRYING','ILogService','MCP_UI_PLUGIN','_messageService','_config$','mcpStatus.unknown','mcpStatus.clickToConnect','BuiltInUIPart','colorChannel1','启用身份验证以获得安全连接','UNAUTHORIZED','您的\x20API\x20密钥将在此浏览器中本地存储','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','UniverProMcpUi','toStringTag','MCPConnectionError','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-space-y-2','_handleConfigure','CheckMarkIcon','_uiPartsService','Authorization:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-flex\x20univer-items-center\x20univer-gap-2','配置保存失败','Univer\x20AI\x20Console','_connectionController','connectInjector','enUS','@univerjs/ui','setConfig','univer-text-xs\x20univer-text-gray-600','svg','UniverNetwork','UniverDesign','mcpConfig.connectionError.unauthorized','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.apiApplyInfo.getStarted','Get\x20your\x20API\x20key\x20in\x20seconds','保存配置','univer-shrink-0\x20univer-text-blue-500','MCP_PLUGIN_CONFIG_KEY','_registerComponent','什么是\x20API\x20密钥?','error','0\x200\x2017\x2016','1333712UAQyNe','mcpConfig.validation.apiKeyTooShort','mcpConfig.configError','MCPUIMenuController','_dialogService','CommandType','Configuration\x20Notes:','mcpConfig.connectionStatus.connected','mcpConfig.note1','warn','mcpServerUrl','mcpConfig.connectionInfo','配置保存成功','CONNECTED','mcpStatus.clickToConfigure','LocaleService','https://console.univer.plus','mcpConfig.configParameters','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','0\x200\x2016\x2016','配置步骤:','zhCN','Copy\x20the\x20JSON\x20configuration\x20below','idSuffix','rxjs','currentColor','3130195wKaGtW','path','mcpConfig.apiKeyPlaceholder','MCPConfigPanel','univer-bg-red-500','连接失败','MCP:\x20Network\x20Error','_loadStoredApiKey','HEADER_MENU','setItem','univer.ai','mcpConfig.apiApplyInfo.univerAiLabel','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','close','symbol','mcpConfig.title','_localStorageService','MCP\x20Connected','Enter\x20your\x20API\x20key','replace','Inject','on-line-icon_clip0_910_349','IMenuManagerService','check-mark-icon','displayName','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-space-y-5','univer-min-w-0\x20univer-flex-1','Click\x20to\x20connect\x20MCP','mcpConfig.apiApplyInfo.title','Tooltip','univer-bg-green-500','配置无效','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','<API_KEY>','https://console.univer.ai','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','会话\x20ID\x20已被占用,请稍后再试','_createConfigPanelComponent','defineProperty','MCP\x20已断开','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-space-y-3','Configuration\x20Steps:','univer-text-xs\x20univer-text-gray-500','SESSION_ID_OCCUPIED','amd','button','42132cLLMsH','OTHERS','点击连接\x20MCP','useDependency','translate(.97)','MCPConnectionController','UniverMCPUIPlugin','超出最大重试次数,请稍后再试','text','503134YfwBMn','clsx','_localeService','push','defs','重连中...','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Error','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20连接失败','mcpConfig.configSaved','entries','evenodd','_initStatusComponent','<SESSION_ID>','MAX_RETRIES_EXCEEDED','univer_session_id:','Univer\x20AI\x20控制台','validateApiKey','disposeWithMe','_loading$','@univerjs-pro/mcp','WebSocketService','univer.plus','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','配置参数:','univer-text-yellow-500','_menuManagerService','MCP\x20Connection\x20Failed','string','getConfig','add','API\x20密钥长度至少需要\x2010\x20位','errorMessage','React','mcpStatus.maxRetriesExceeded','MCPConfigUIController','2nrFlZd','trim','noopener\x20noreferrer','mcpConfig.authorizationDescription','includes','Invalid\x20configuration','Connecting...','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','url(#$1','mcpConfig.configInstructions','连接中...','subscribe','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-space-y-4','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','Module','MCP:\x20Session\x20ID\x20Occupied','mask','off','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','2960125oBbRfZ','MessageType','mcpConfig.save','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','_blank','__setCustomHeaders','mcp-ui.command.openConfigPanel','univer-mr-2\x20univer-flex\x20univer-text-xl','MCP\x20连接中...','map','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP\x20Connecting...','univer-bg-gray-500','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','univer-flex\x20univer-gap-3','registerComponent','OnLineIcon','MCP\x20已连接','mcpConfig.note2','Plugin','_apiKey$','HelpIcon','subscribeConfigValue$','已连接','MCP\x20客户端配置','_validateConfig','url(#on-line-icon_clip0_910_349)','未连接','网络连接错误,请检查您的网络连接','substring','useState','Injector','connectionStatus$','sessionId$','next','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','url(#off-line-icon_clip0_910_343)','isValid','fill','Retrying...','_commandService','univer-flex\x20univer-items-start\x20univer-gap-3','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','attrs','4620190HbwPPY','MCP\x20Retrying...','useCallback','_mcpCoreConfig$','apiKey','_componentManager','启用身份验证','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_configService','http://www.w3.org/2000/svg','off-line-icon_clip0_910_343','\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','_initializeMenus','tag','MCP\x20Unknown\x20Status','react','close-icon','Disposable','mcp.apiKey','mcpConfig.configStep2','show','span','_mcpConnectionController','28BWckFl','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','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','1em','MCP\x20Client\x20Configuration','removeItem','createElement','UniverMCPPlugin','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-gray-500','FAILED','MCP:\x20Max\x20Retries\x20Exceeded'];_0x4598=function(){return _0x18e745;};return _0x4598();}
|
|
1
|
+
function _0xd989(_0x309c1e,_0x97a3d){_0x309c1e=_0x309c1e-0xea;const _0x1ca1e=_0x1ca1();let _0xd98960=_0x1ca1e[_0x309c1e];return _0xd98960;}(function(_0x2c2b4f,_0x59cdf5){const _0x4e9fc8=_0xd989,_0x18787b=_0x2c2b4f();while(!![]){try{const _0x2c6f71=-parseInt(_0x4e9fc8(0x141))/0x1*(-parseInt(_0x4e9fc8(0x212))/0x2)+parseInt(_0x4e9fc8(0xf2))/0x3*(-parseInt(_0x4e9fc8(0x12e))/0x4)+parseInt(_0x4e9fc8(0x202))/0x5*(parseInt(_0x4e9fc8(0x272))/0x6)+parseInt(_0x4e9fc8(0x21f))/0x7+parseInt(_0x4e9fc8(0x127))/0x8*(-parseInt(_0x4e9fc8(0x1dd))/0x9)+parseInt(_0x4e9fc8(0x1c1))/0xa+-parseInt(_0x4e9fc8(0x23e))/0xb;if(_0x2c6f71===_0x59cdf5)break;else _0x18787b['push'](_0x18787b['shift']());}catch(_0x5a6b9a){_0x18787b['push'](_0x18787b['shift']());}}}(_0x1ca1,0x339b6),function(_0x3d9574,_0x3b882d){const _0x441b24=_0xd989;typeof exports=='object'&&typeof module<'u'?_0x3b882d(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==_0x441b24(0x1bb)&&define[_0x441b24(0x11b)]?define(['exports',_0x441b24(0x197),_0x441b24(0x23c),_0x441b24(0x255),_0x441b24(0x1bc),_0x441b24(0x1f5),_0x441b24(0x282),'react',_0x441b24(0x15d)],_0x3b882d):(_0x3d9574=typeof globalThis<'u'?globalThis:_0x3d9574||self,_0x3b882d(_0x3d9574[_0x441b24(0x18b)]={},_0x3d9574[_0x441b24(0x144)],_0x3d9574[_0x441b24(0x229)],_0x3d9574['UniverProMcp'],_0x3d9574['UniverDesign'],_0x3d9574[_0x441b24(0x1b1)],_0x3d9574[_0x441b24(0x282)],_0x3d9574[_0x441b24(0x229)],_0x3d9574[_0x441b24(0x249)]));}(this,function(_0x382dd4,_0x2f93c2,_0x5b73a0,_0x106693,_0x1d9496,_0x41b48a,_0x34cdb1,_0x404268,_0x39f2ad){'use strict';const _0x2e909c=_0xd989;var _0x23fde2=Object['defineProperty'],_0x11bec6=(_0x5cd5bc,_0x5c5f73,_0x185eff)=>_0x5c5f73 in _0x5cd5bc?_0x23fde2(_0x5cd5bc,_0x5c5f73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x185eff}):_0x5cd5bc[_0x5c5f73]=_0x185eff,_0x974f30=(_0x2800ab,_0x2cf188,_0x2767bd)=>_0x11bec6(_0x2800ab,typeof _0x2cf188!=_0x2e909c(0x277)?_0x2cf188+'':_0x2cf188,_0x2767bd);function _0x4900bf({ref:_0x7b4b42,..._0x291c98}){const _0x1d3d7e=_0x2e909c,{icon:_0x59a50b,id:_0x4e6407,className:_0xb6ea59,extend:_0x1be638,..._0x52e4e5}=_0x291c98,_0x38c183=(_0x1d3d7e(0x214)+_0x4e6407+'\x20'+(_0xb6ea59||''))[_0x1d3d7e(0x175)](),_0x36668a=_0x404268[_0x1d3d7e(0x1c3)]('_'+_0x152721());return _0x526cc6(_0x59a50b,''+_0x4e6407,{'defIds':_0x59a50b[_0x1d3d7e(0x15b)],'idSuffix':_0x36668a[_0x1d3d7e(0x177)]},{'ref':_0x7b4b42,'className':_0x38c183,..._0x52e4e5},_0x1be638);}function _0x526cc6(_0x174330,_0x5656da,_0x533546,_0x7834df,_0x13091d){const _0x54a539=_0x2e909c;return _0x404268[_0x54a539(0x1d2)](_0x174330[_0x54a539(0x279)],{'key':_0x5656da,..._0x53a543(_0x174330,_0x533546,_0x13091d),..._0x7834df},(_0x2f425f(_0x174330,_0x533546)[_0x54a539(0x1cb)]||[])[_0x54a539(0x1b8)]((_0x3ef53f,_0x581b6a)=>_0x526cc6(_0x3ef53f,_0x5656da+'-'+_0x174330[_0x54a539(0x279)]+'-'+_0x581b6a,_0x533546,void 0x0,_0x13091d)));}function _0x53a543(_0xe085be,_0x4f398c,_0x2167b4){const _0x476297=_0x2e909c,_0xd3f9c5={..._0xe085be['attrs']};_0x2167b4!=null&&_0x2167b4['colorChannel1']&&_0xd3f9c5['fill']===_0x476297(0x264)&&(_0xd3f9c5['fill']=_0x2167b4['colorChannel1']),_0xe085be[_0x476297(0x279)]==='mask'&&_0xd3f9c5['id']&&(_0xd3f9c5['id']=_0xd3f9c5['id']+_0x4f398c[_0x476297(0x274)]),Object[_0x476297(0x1d5)](_0xd3f9c5)[_0x476297(0x1d4)](([_0x1ad2bd,_0x25f219])=>{const _0x5cb3ae=_0x476297;_0x1ad2bd===_0x5cb3ae(0x173)&&typeof _0x25f219==_0x5cb3ae(0x1aa)&&(_0xd3f9c5[_0x1ad2bd]=_0x25f219[_0x5cb3ae(0x208)](/url\(#(.*)\)/,_0x5cb3ae(0x1dc)+_0x4f398c['idSuffix']+')'));});const {defIds:_0x5a90f9}=_0x4f398c;return!_0x5a90f9||_0x5a90f9['length']===0x0||(_0xe085be[_0x476297(0x279)]===_0x476297(0x24b)&&_0xd3f9c5[_0x476297(0x246)]&&(_0xd3f9c5[_0x476297(0x246)]=_0xd3f9c5[_0x476297(0x246)]+_0x4f398c[_0x476297(0x274)]),Object['entries'](_0xd3f9c5)[_0x476297(0x1d4)](([_0x16bbde,_0x29c3e1])=>{const _0x4300f0=_0x476297;typeof _0x29c3e1==_0x4300f0(0x1aa)&&(_0xd3f9c5[_0x16bbde]=_0x29c3e1[_0x4300f0(0x208)](/url\(#(.*)\)/,_0x4300f0(0x1dc)+_0x4f398c[_0x4300f0(0x274)]+')'));})),_0xd3f9c5;}function _0x2f425f(_0x4ccc29,_0x306040){const _0x5b1877=_0x2e909c;var _0x5ed448;const {defIds:_0x7b52b6}=_0x306040;return!_0x7b52b6||_0x7b52b6['length']===0x0?_0x4ccc29:_0x4ccc29[_0x5b1877(0x279)]===_0x5b1877(0x26f)&&((_0x5ed448=_0x4ccc29['children'])!=null&&_0x5ed448[_0x5b1877(0x150)])?{..._0x4ccc29,'children':_0x4ccc29[_0x5b1877(0x1cb)][_0x5b1877(0x1b8)](_0x4d9f8b=>typeof _0x4d9f8b['attrs']['id']==_0x5b1877(0x1aa)&&_0x7b52b6&&_0x7b52b6['includes'](_0x4d9f8b[_0x5b1877(0x244)]['id'])?{..._0x4d9f8b,'attrs':{..._0x4d9f8b['attrs'],'id':_0x4d9f8b[_0x5b1877(0x244)]['id']+_0x306040[_0x5b1877(0x274)]}}:_0x4d9f8b)}:_0x4ccc29;}function _0x152721(){const _0x4652ba=_0x2e909c;return Math[_0x4652ba(0x182)]()[_0x4652ba(0x196)](0x24)['substring'](0x2,0x8);}_0x4900bf['displayName']=_0x2e909c(0x122);const _0x5a8081={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':_0x2e909c(0x24e),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2e909c(0x145),'height':_0x2e909c(0x145)},'children':[{'tag':_0x2e909c(0x220),'attrs':{'fill':_0x2e909c(0x243),'d':_0x2e909c(0x20c),'fillRule':_0x2e909c(0x22e),'clipRule':_0x2e909c(0x22e)}}]},_0x5becbe=_0x404268[_0x2e909c(0x103)](function(_0x4ddac8,_0x3f16fd){const _0x10700f=_0x2e909c;return _0x404268['createElement'](_0x4900bf,Object[_0x10700f(0x1ae)]({},_0x4ddac8,{'id':_0x10700f(0x276),'ref':_0x3f16fd,'icon':_0x5a8081}));});_0x5becbe['displayName']=_0x2e909c(0x185);const _0x177a58={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':_0x2e909c(0x24e),'fill':_0x2e909c(0x151),'viewBox':_0x2e909c(0x16c),'width':'1em','height':_0x2e909c(0x145)},'children':[{'tag':_0x2e909c(0x220),'attrs':{'fill':'currentColor','d':_0x2e909c(0x210)}}]},_0x48983a=_0x404268[_0x2e909c(0x103)](function(_0x5ebc00,_0x4a17fc){const _0x53cc37=_0x2e909c;return _0x404268[_0x53cc37(0x1d2)](_0x4900bf,Object[_0x53cc37(0x1ae)]({},_0x5ebc00,{'id':_0x53cc37(0x248),'ref':_0x4a17fc,'icon':_0x177a58}));});_0x48983a[_0x2e909c(0x240)]='CloseIcon';const _0x790193={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':_0x2e909c(0x24e),'fill':_0x2e909c(0x151),'viewBox':_0x2e909c(0x16c),'width':_0x2e909c(0x145),'height':_0x2e909c(0x145)},'children':[{'tag':'path','attrs':{'fill':_0x2e909c(0x243),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x2e909c(0x260)}},{'tag':_0x2e909c(0x220),'attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x2e909c(0x22e),'clipRule':_0x2e909c(0x22e)}}]},_0x35b5e3=_0x404268[_0x2e909c(0x103)](function(_0x304d33,_0x258f5b){const _0x1c0507=_0x2e909c;return _0x404268['createElement'](_0x4900bf,Object[_0x1c0507(0x1ae)]({},_0x304d33,{'id':_0x1c0507(0x172),'ref':_0x258f5b,'icon':_0x790193}));});_0x35b5e3[_0x2e909c(0x240)]=_0x2e909c(0x184);const _0x6dd583={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':_0x2e909c(0x24e),'fill':_0x2e909c(0x151),'viewBox':_0x2e909c(0x16c),'width':_0x2e909c(0x145),'height':_0x2e909c(0x145)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e909c(0x23a)},'children':[{'tag':'path','attrs':{'stroke':_0x2e909c(0x243),'d':_0x2e909c(0x24a),'strokeLinecap':_0x2e909c(0x13f),'strokeLinejoin':_0x2e909c(0x13f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2e909c(0x16d),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2e909c(0x220),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2e909c(0x1d6)]},_0x18503=_0x404268[_0x2e909c(0x103)](function(_0x283b39,_0xd94c36){const _0x1578af=_0x2e909c;return _0x404268[_0x1578af(0x1d2)](_0x4900bf,Object[_0x1578af(0x1ae)]({},_0x283b39,{'id':_0x1578af(0x24c),'ref':_0xd94c36,'icon':_0x6dd583}));});_0x18503[_0x2e909c(0x240)]='OffLineIcon';const _0x5e931d={'tag':_0x2e909c(0x1f8),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2e909c(0x151),'viewBox':_0x2e909c(0x1f9),'width':'1em','height':_0x2e909c(0x145)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2e909c(0x1c2),'strokeLinecap':'round','strokeLinejoin':_0x2e909c(0x13f),'strokeWidth':1.2}}]},{'tag':_0x2e909c(0x26f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2e909c(0x200)},'children':[{'tag':_0x2e909c(0x220),'attrs':{'fill':_0x2e909c(0x209),'d':_0x2e909c(0x1a1),'transform':_0x2e909c(0x1e0)}}]}]}],'defIds':[_0x2e909c(0x200)]},_0x23299e=_0x404268['forwardRef'](function(_0x5a8d34,_0x2315ae){const _0x1c9597=_0x2e909c;return _0x404268[_0x1c9597(0x1d2)](_0x4900bf,Object[_0x1c9597(0x1ae)]({},_0x5a8d34,{'id':_0x1c9597(0x1b2),'ref':_0x2315ae,'icon':_0x5e931d}));});_0x23299e[_0x2e909c(0x240)]=_0x2e909c(0x105);function _0x31cca4(_0x3edbfe){const _0x338839=_0x2e909c;var _0x52e7c3,_0x172649;const {mcpCoreConfig:_0x12a8c4,onSave:_0x3f4077,loading:_0x3bdc63=!0x1,config:_0x2f620d,connectionStatus$:_0x1c6dc8,connectionError$:_0x572b7a,currentApiKey$:_0x51c6f7,currentSessionId$:_0x3d0b77}=_0x3edbfe,_0x59cce7=_0x41b48a['useDependency'](_0x2f93c2[_0x338839(0x242)]),_0x53c138=_0x41b48a['useObservable'](_0x1c6dc8,_0x106693[_0x338839(0x252)][_0x338839(0x284)]),_0x365172=_0x41b48a[_0x338839(0x191)](_0x572b7a,_0x106693[_0x338839(0x281)]['NONE']),_0x1b740a=_0x41b48a['useObservable'](_0x3d0b77,''),_0x4cc150=_0x41b48a[_0x338839(0x191)](_0x51c6f7,''),[_0x26fc80,_0x2a7256]=_0x404268['useState'](_0x4cc150||''),_0xe172eb=!0x0,_0x472543=_0x2f620d[_0x338839(0x10d)]&&_0x12a8c4[_0x338839(0x1b6)]&&(_0x12a8c4['mcpServerUrl']['includes'](_0x338839(0x270))||_0x12a8c4[_0x338839(0x1b6)][_0x338839(0x1b5)](_0x338839(0x17e))),_0x245672=(_0x52e7c3=_0x12a8c4[_0x338839(0x1b6)])==null?void 0x0:_0x52e7c3[_0x338839(0x1b5)]('univer.plus'),_0x4d6d6c=(_0x172649=_0x12a8c4['mcpServerUrl'])==null?void 0x0:_0x172649['includes'](_0x338839(0x17e)),_0x47bb5d=_0x245672?_0x338839(0x11e):_0x338839(0x1d7),_0x3dcdd7=_0x2f620d[_0x338839(0x10d)]&&(_0x245672||_0x4d6d6c),[_0x5ee7bc,_0x1d1f34]=_0x404268[_0x338839(0x230)](!_0x26fc80[_0x338839(0x175)]()),_0x4e3929=(_0x13a560,_0x117c4a)=>{const _0x4e2bfe=_0x338839;if(_0x117c4a===_0x106693[_0x4e2bfe(0x281)][_0x4e2bfe(0x142)])return _0x4e2bfe(0x1ec);switch(_0x13a560){case _0x106693[_0x4e2bfe(0x252)][_0x4e2bfe(0x1b7)]:return _0x4e2bfe(0x238);case _0x106693['MCPConnectionStatus'][_0x4e2bfe(0x134)]:case _0x106693[_0x4e2bfe(0x252)][_0x4e2bfe(0xf5)]:return _0x4e2bfe(0x117);case _0x106693[_0x4e2bfe(0x252)][_0x4e2bfe(0x120)]:return _0x4e2bfe(0x1ec);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x33578b=(_0x5b60cf,_0x4907b4)=>{const _0x1352ad=_0x338839;if(_0x4907b4===_0x106693['MCPConnectionError'][_0x1352ad(0x142)])return _0x1352ad(0x1ce);switch(_0x5b60cf){case _0x106693['MCPConnectionStatus']['CONNECTED']:return _0x1352ad(0x140);case _0x106693[_0x1352ad(0x252)]['CONNECTING']:case _0x106693[_0x1352ad(0x252)][_0x1352ad(0xf5)]:return _0x1352ad(0x10a);case _0x106693['MCPConnectionStatus'][_0x1352ad(0x120)]:return'univer-bg-red-500';default:return _0x1352ad(0x232);}},_0xa728d=_0x45b352=>{const _0x52943f=_0x338839;switch(_0x45b352){case _0x106693[_0x52943f(0x252)][_0x52943f(0x1b7)]:return _0x59cce7['t'](_0x52943f(0x1fe));case _0x106693[_0x52943f(0x252)][_0x52943f(0x134)]:return _0x59cce7['t'](_0x52943f(0x16e));case _0x106693[_0x52943f(0x252)][_0x52943f(0x120)]:return _0x59cce7['t'](_0x52943f(0x204));case _0x106693[_0x52943f(0x252)][_0x52943f(0xf5)]:return _0x59cce7['t'](_0x52943f(0x10f));default:return _0x59cce7['t'](_0x52943f(0x112));}},_0x122214=_0x577ee7=>{const _0x3fb968=_0x338839;switch(_0x577ee7){case _0x106693[_0x3fb968(0x281)][_0x3fb968(0x142)]:return _0x59cce7['t'](_0x3fb968(0x1c5));case _0x106693[_0x3fb968(0x281)][_0x3fb968(0x1eb)]:return _0x59cce7['t'](_0x3fb968(0x107));case _0x106693[_0x3fb968(0x281)][_0x3fb968(0x24d)]:return _0x59cce7['t'](_0x3fb968(0x12b));case _0x106693[_0x3fb968(0x281)][_0x3fb968(0x22c)]:return _0x59cce7['t'](_0x3fb968(0x1fc));default:return'';}},_0x10e087=_0x404268[_0x338839(0x211)](()=>{const _0x3de2a6=_0x338839,_0x3220fc={..._0x12a8c4,'apiKey':_0x26fc80[_0x3de2a6(0x175)](),'enableAuth':_0xe172eb};_0x3f4077(_0x3220fc);},[_0x12a8c4,_0x26fc80,_0xe172eb,_0x3f4077]),_0x13962e=_0x26fc80[_0x338839(0x175)]()[_0x338839(0x150)]>0x0;return _0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1de),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x135),'children':_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0x148),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0xfd),'children':_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0x27e),'children':'⚙'})}),_0x5b73a0['jsx']('div',{'children':_0x5b73a0['jsx']('p',{'className':_0x338839(0x26e),'children':_0x59cce7['t']('mcpConfig.description')})})]})}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x1d9496[_0x338839(0x17c)](_0x338839(0x203),_0x4e3929(_0x53c138,_0x365172)),'children':_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x254),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x1d9496[_0x338839(0x17c)](_0x338839(0x1a4),_0x33578b(_0x53c138,_0x365172))}),_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0xff),'children':_0xa728d(_0x53c138)})]})}),_0x365172!==_0x106693[_0x338839(0x281)]['NONE']&&(_0x53c138===_0x106693[_0x338839(0x252)]['FAILED']||_0x365172===_0x106693[_0x338839(0x281)]['UNAUTHORIZED'])&&_0x5b73a0['jsx']('div',{'className':_0x338839(0xf0),'children':_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x5b73a0[_0x338839(0x133)]('p',{'className':_0x338839(0x22d),'children':_0x122214(_0x365172)})]})})]}),_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x18d),'children':_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':'univer-space-y-5','children':[_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0x1bd),'children':[_0x5b73a0['jsxs'](_0x338839(0xec),{'className':_0x338839(0x222),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'children':'🔑'}),'\x20',_0x59cce7['t'](_0x338839(0x15a)),_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0x233),'children':'*'}),_0x472543&&_0x5b73a0[_0x338839(0x133)]('a',{'className':_0x338839(0x199),'title':_0x59cce7['t'](_0x338839(0xfb)),'role':'button','onClick':()=>_0x1d1f34(!0x0),'children':_0x5b73a0['jsx'](_0x35b5e3,{})})]}),_0x5b73a0['jsx'](_0x1d9496[_0x338839(0x1f3)],{'type':_0x338839(0x23f),'placeholder':_0x59cce7['t'](_0x338839(0x11c)),'value':_0x26fc80,'disabled':_0x3bdc63,'autoComplete':_0x338839(0x137),'onChange':_0x2a7256}),_0x5b73a0['jsx']('p',{'className':_0x338839(0x25c),'children':_0x59cce7['t']('mcpConfig.apiKeyHint')})]}),_0x472543&&_0x5ee7bc&&_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1ca),'children':[_0x5b73a0[_0x338839(0x133)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x338839(0xfa),'onClick':()=>_0x1d1f34(!0x1),'children':_0x5b73a0['jsx'](_0x48983a,{'className':_0x338839(0x1cf)})}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x123),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x1e1),'children':_0x5b73a0['jsx'](_0x338839(0xea),{'className':_0x338839(0x228),'children':'🚀'})}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':_0x338839(0x139),'children':[_0x5b73a0[_0x338839(0x133)]('h4',{'className':_0x338839(0x186),'children':_0x59cce7['t'](_0x338839(0xfb))}),_0x5b73a0[_0x338839(0x133)]('p',{'className':_0x338839(0x22a),'children':_0x59cce7['t'](_0x338839(0x25a))}),_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x1e7),'children':_0x3dcdd7&&_0x5b73a0[_0x338839(0x195)]('a',{'className':_0x338839(0x253),'href':_0x47bb5d,'target':_0x338839(0x131),'rel':_0x338839(0x26a),'children':[_0x5b73a0['jsx'](_0x338839(0xea),{'children':'🤖'}),_0x59cce7['t'](_0x338839(0x1d8)),_0x5b73a0[_0x338839(0x133)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0xf6),'children':['✨','\x20',_0x59cce7['t'](_0x338839(0x167))]})]})]})]}),_0x2f620d[_0x338839(0x10d)]&&_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0x187),'children':[_0x5b73a0[_0x338839(0x195)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'children':'🔗'}),'\x20',_0x59cce7['t'](_0x338839(0x239))]}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x22b),'children':[_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0xf4),'children':[_0x5b73a0[_0x338839(0x133)]('p',{'className':_0x338839(0x25f),'children':_0x59cce7['t'](_0x338839(0x18f))}),_0x5b73a0[_0x338839(0x195)]('div',{'className':_0x338839(0x1bd),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x59cce7['t'](_0x338839(0x1a5))}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1a9),'children':[_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x254),'children':[_0x5b73a0['jsx'](_0x338839(0xea),{'className':_0x338839(0x198),'children':'1'}),_0x59cce7['t'](_0x338839(0x205))]}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0x198),'children':'2'}),_0x59cce7['t'](_0x338839(0xeb))]}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':_0x338839(0x254),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':_0x338839(0x198),'children':'3'}),_0x59cce7['t'](_0x338839(0x20a))]})]})]})]}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':_0x338839(0x1bd),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x261),'children':_0x338839(0x138)}),_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x146),'children':_0x5b73a0[_0x338839(0x133)](_0x338839(0x155),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x338839(0xf9)]({'mcpServers':{'univer':{'url':_0x338839(0x1e9)+(_0x1b740a||_0x338839(0x11d)),'type':_0x338839(0x12a),'headers':{'Authorization':_0x338839(0x153)+(_0x26fc80||_0x338839(0x14e))}}}},null,0x2)})})]}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0xf4),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x261),'children':_0x59cce7['t'](_0x338839(0x1cd))}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1bd),'children':[_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1e2),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x259)}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x181),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x1c4),'children':_0x338839(0x265)}),_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x25c),'children':_0x59cce7['t'](_0x338839(0x23b))})]})]}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x1e2),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x1c4),'children':_0x338839(0x262)}),_0x5b73a0[_0x338839(0x133)]('div',{'className':_0x338839(0x25c),'children':_0x59cce7['t'](_0x338839(0x11f))})]})]})]})]})]})]}),_0x5b73a0[_0x338839(0x133)](_0x1d9496['Button'],{'onClick':_0x10e087,'disabled':!_0x13962e||_0x3bdc63,'className':_0x338839(0x234),'children':_0x3bdc63?_0x5b73a0[_0x338839(0x195)](_0x338839(0xea),{'className':_0x338839(0x254),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'children':'⟲'}),_0x59cce7['t'](_0x338839(0x19e))]}):_0x5b73a0[_0x338839(0x195)](_0x338839(0xea),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5b73a0[_0x338839(0x133)](_0x5becbe,{}),_0x59cce7['t'](_0x338839(0x124))]})}),_0x5b73a0[_0x338839(0x133)](_0x338839(0x22f),{'className':_0x338839(0x1a6),'children':_0x5b73a0['jsxs'](_0x338839(0x22f),{'className':_0x338839(0x158),'children':[_0x5b73a0[_0x338839(0x133)](_0x338839(0xea),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x5b73a0[_0x338839(0x195)](_0x338839(0x22f),{'className':_0x338839(0x231),'children':[_0x5b73a0['jsx'](_0x338839(0x22f),{'className':_0x338839(0x257),'children':'Configuration\x20Notes:'}),_0x5b73a0['jsxs'](_0x338839(0x22f),{'children':['•',_0x59cce7['t']('mcpConfig.note1')]}),_0x5b73a0[_0x338839(0x195)]('div',{'children':['•',_0x59cce7['t'](_0x338839(0x1fa))]})]})]})})]})})]});}const _0x3de3ca=_0x2e909c(0x180),_0x35183f={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0xf3467f=Object[_0x2e909c(0x1a0)],_0x1c5cff=(_0x5ba5cb,_0x357561,_0x17c5de,_0x5e5f2f)=>{const _0x3320d5=_0x2e909c;for(var _0x453164=_0x5e5f2f>0x1?void 0x0:_0x5e5f2f?_0xf3467f(_0x357561,_0x17c5de):_0x357561,_0x41858d=_0x5ba5cb[_0x3320d5(0x150)]-0x1,_0x429992;_0x41858d>=0x0;_0x41858d--)(_0x429992=_0x5ba5cb[_0x41858d])&&(_0x453164=_0x429992(_0x453164)||_0x453164);return _0x453164;},_0x2a6d0a=(_0x187721,_0x57f841)=>(_0x40a962,_0x1b3b9e)=>_0x57f841(_0x40a962,_0x1b3b9e,_0x187721);const _0x2eb78e=_0x2e909c(0x18c),_0x324db4=_0x2e909c(0x15f);_0x382dd4[_0x2e909c(0x268)]=class extends _0x2f93c2['Disposable']{constructor(_0x41611e,_0x143eb6,_0x5bd783,_0x4d0d39,_0x20b39e,_0x3ea348,_0x84d44f,_0x32ead4,_0x32073b,_0x242d9f){const _0x28d7b9=_0x2e909c;super(),_0x974f30(this,_0x28d7b9(0x14d),new _0x34cdb1['BehaviorSubject'](!0x1)),_0x974f30(this,'_mcpCoreConfig$',new _0x34cdb1[(_0x28d7b9(0x100))]({})),_0x974f30(this,_0x28d7b9(0x129),new _0x34cdb1['BehaviorSubject']({})),_0x974f30(this,_0x28d7b9(0x266),new _0x34cdb1[(_0x28d7b9(0x100))]('')),_0x974f30(this,_0x28d7b9(0x147),async _0x5f1ea7=>{const _0x25b104=_0x28d7b9;var _0x3b45ba,_0x5b033d;this[_0x25b104(0x14d)]['next'](!0x0);try{const _0x1773b1=await this['_validateConfig'](_0x5f1ea7);if(!_0x1773b1[_0x25b104(0x19c)]){this[_0x25b104(0xf3)][_0x25b104(0x132)]({'type':_0x1d9496[_0x25b104(0x125)][_0x25b104(0x10c)],'content':_0x1773b1[_0x25b104(0x24f)]||this[_0x25b104(0x1ad)]['t'](_0x25b104(0x188))});return;}_0x5f1ea7['apiKey']?await this['_localStorageService']['setItem'](_0x2eb78e,_0x5f1ea7[_0x25b104(0x126)][_0x25b104(0x175)]()):await this[_0x25b104(0x26c)][_0x25b104(0x17a)](_0x2eb78e),this[_0x25b104(0x266)][_0x25b104(0x157)](((_0x3b45ba=_0x5f1ea7[_0x25b104(0x126)])==null?void 0x0:_0x3b45ba[_0x25b104(0x175)]())||''),this[_0x25b104(0x13b)]['__setCustomHeaders']({'Authorization':_0x25b104(0x153)+((_0x5b033d=_0x5f1ea7[_0x25b104(0x126)])==null?void 0x0:_0x5b033d[_0x25b104(0x175)]())}),this[_0x25b104(0xf3)][_0x25b104(0x132)]({'type':_0x1d9496[_0x25b104(0x125)][_0x25b104(0x136)],'content':this[_0x25b104(0x1ad)]['t'](_0x25b104(0x17f))}),setTimeout(()=>{const _0x3a77e9=_0x25b104;this[_0x3a77e9(0x1d9)]['close'](_0x324db4);},0x320);}catch(_0x1d1860){this[_0x25b104(0x1be)][_0x25b104(0x25b)](_0x25b104(0x1e3),_0x1d1860),this[_0x25b104(0xf3)]['show']({'type':_0x1d9496['MessageType'][_0x25b104(0x10c)],'content':this['_localeService']['t'](_0x25b104(0x102))});}finally{this[_0x25b104(0x14d)][_0x25b104(0x157)](!0x1);}}),(this[_0x28d7b9(0x258)]=_0x41611e,this[_0x28d7b9(0x1b3)]=_0x143eb6,this[_0x28d7b9(0x1ed)]=_0x5bd783,this[_0x28d7b9(0x26c)]=_0x4d0d39,this[_0x28d7b9(0x1d9)]=_0x20b39e,this[_0x28d7b9(0xf3)]=_0x3ea348,this['_componentManager']=_0x84d44f,this['_localeService']=_0x32ead4,this['_logService']=_0x32073b,this[_0x28d7b9(0x13b)]=_0x242d9f,this[_0x28d7b9(0xee)](),this[_0x28d7b9(0xef)](),this[_0x28d7b9(0x162)]());}[_0x2e909c(0x152)](){const _0xc4afad=_0x2e909c,_0x5c2aec=this[_0xc4afad(0x1ed)][_0xc4afad(0x17b)](_0x3de3ca);_0x5c2aec!=null&&_0x5c2aec[_0xc4afad(0x10d)]&&this[_0xc4afad(0x1d9)][_0xc4afad(0x13d)]({'id':_0x324db4,'title':{'title':this['_localeService']['t'](_0xc4afad(0x1d0))},'children':{'label':_0xc4afad(0x236)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x279b10=_0xc4afad;this[_0x279b10(0x1d9)][_0x279b10(0x227)](_0x324db4);}});}[_0x2e909c(0x1fd)](){const _0x1ce922=_0x2e909c;return this['_mcpCoreConfig$'][_0x1ce922(0x179)];}[_0x2e909c(0x162)](){const _0x2d3b6a=_0x2e909c;this[_0x2d3b6a(0x13e)](this[_0x2d3b6a(0x1da)][_0x2d3b6a(0x15c)](_0x2d3b6a(0x236),this[_0x2d3b6a(0x171)]()));}['_createConfigPanelComponent'](){const _0x1d231f=_0x2e909c;return _0x41b48a[_0x1d231f(0x1ef)](()=>{const _0x2058ed=_0x1d231f;var _0x5c7ab1,_0x37f5aa,_0x9fdec;return _0x5b73a0['jsx'](_0x31cca4,{'config':this[_0x2058ed(0x129)][_0x2058ed(0x179)],'mcpCoreConfig':this[_0x2058ed(0x245)][_0x2058ed(0x179)],'currentApiKey$':this[_0x2058ed(0x266)],'onSave':this[_0x2058ed(0x147)],'loading':this[_0x2058ed(0x14d)][_0x2058ed(0x179)],'connectionStatus$':(_0x5c7ab1=this['_mcpConnectionController'])==null?void 0x0:_0x5c7ab1[_0x2058ed(0x18a)],'connectionError$':(_0x37f5aa=this[_0x2058ed(0x13b)])==null?void 0x0:_0x37f5aa[_0x2058ed(0x1a7)],'currentSessionId$':(_0x9fdec=this[_0x2058ed(0x13b)])==null?void 0x0:_0x9fdec[_0x2058ed(0x1e5)]});},this['_injector']);}[_0x2e909c(0xee)](){const _0x4e9c4a=_0x2e909c;this['disposeWithMe'](this[_0x4e9c4a(0x1ed)][_0x4e9c4a(0x16a)](_0x106693['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x20412b=>{const _0x2cb653=_0x4e9c4a;this[_0x2cb653(0x245)]['next'](_0x20412b||{});}));const _0x246185=this[_0x4e9c4a(0x1ed)]['getConfig'](_0x106693['MCP_PLUGIN_CONFIG_KEY']);this['_mcpCoreConfig$']['next'](_0x246185||{}),this['disposeWithMe'](this[_0x4e9c4a(0x1ed)][_0x4e9c4a(0x16a)](_0x3de3ca)['subscribe'](_0x42857f=>{const _0x163043=_0x4e9c4a;this[_0x163043(0x129)][_0x163043(0x157)](_0x42857f||{});}));const _0x5ac590=this[_0x4e9c4a(0x1ed)][_0x4e9c4a(0x17b)](_0x3de3ca);this[_0x4e9c4a(0x129)][_0x4e9c4a(0x157)](_0x5ac590||{});}async['_loadStoredApiKey'](){const _0x58d9be=_0x2e909c,_0x3efa25=this[_0x58d9be(0x1ed)]['getConfig'](_0x3de3ca);if(!(_0x3efa25!=null&&_0x3efa25[_0x58d9be(0x10d)]))return;const _0x5dec39=await this['_localStorageService'][_0x58d9be(0x189)](_0x2eb78e);_0x5dec39&&(this[_0x58d9be(0x13b)][_0x58d9be(0x235)]({'Authorization':_0x58d9be(0x153)+_0x5dec39}),this['_apiKey$'][_0x58d9be(0x157)](_0x5dec39));}async[_0x2e909c(0x225)](_0x1599be){const _0x4f5749=_0x2e909c;if(!_0x1599be['apiKey']||_0x1599be[_0x4f5749(0x126)]['trim']()[_0x4f5749(0x150)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4f5749(0x1ad)]['t'](_0x4f5749(0x192))};if(_0x1599be[_0x4f5749(0x126)][_0x4f5749(0x175)]()[_0x4f5749(0x150)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4f5749(0x1ad)]['t'](_0x4f5749(0x250))};try{const _0x453124=await this[_0x4f5749(0x258)][_0x4f5749(0xf7)](_0x106693['MCPConnectionController'])[_0x4f5749(0x1c8)](_0x1599be['apiKey'][_0x4f5749(0x175)]());return _0x453124['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x453124[_0x4f5749(0x25b)]||this[_0x4f5749(0x1ad)]['t'](_0x4f5749(0x160))};}catch(_0x52cce2){return console[_0x4f5749(0x159)](_0x4f5749(0x1e4),_0x52cce2),{'isValid':!0x0};}}},_0x382dd4[_0x2e909c(0x268)]=_0x1c5cff([_0x2a6d0a(0x0,_0x2f93c2['Inject'](_0x2f93c2[_0x2e909c(0xf1)])),_0x2a6d0a(0x1,_0x41b48a['IUIPartsService']),_0x2a6d0a(0x2,_0x2f93c2[_0x2e909c(0x1a8)]),_0x2a6d0a(0x3,_0x2f93c2[_0x2e909c(0x283)]),_0x2a6d0a(0x4,_0x41b48a[_0x2e909c(0x14b)]),_0x2a6d0a(0x5,_0x41b48a[_0x2e909c(0x271)]),_0x2a6d0a(0x6,_0x2f93c2[_0x2e909c(0x114)](_0x41b48a[_0x2e909c(0x163)])),_0x2a6d0a(0x7,_0x2f93c2[_0x2e909c(0x114)](_0x2f93c2[_0x2e909c(0x242)])),_0x2a6d0a(0x8,_0x2f93c2['ILogService']),_0x2a6d0a(0x9,_0x2f93c2[_0x2e909c(0x114)](_0x106693[_0x2e909c(0x1ac)]))],_0x382dd4[_0x2e909c(0x268)]);const _0xe76fd2={'id':_0x2e909c(0x115),'type':_0x2f93c2[_0x2e909c(0x13a)][_0x2e909c(0x106)],'handler':async(_0x40a16f,_0x2c254b)=>(_0x40a16f[_0x2e909c(0xf7)](_0x382dd4['MCPConfigUIController'])[_0x2e909c(0x152)](),!0x0)};function _0x5e2e3b(_0x1e3f84,_0x404ae1){const _0x11ed2a=_0x2e909c;switch(_0x1e3f84){case _0x106693[_0x11ed2a(0x252)]['DISCONNECTED']:return _0x11ed2a(0x1a2);case _0x106693[_0x11ed2a(0x252)][_0x11ed2a(0x134)]:return _0x11ed2a(0x194);case _0x106693['MCPConnectionStatus'][_0x11ed2a(0x1b7)]:return _0x11ed2a(0x128);case _0x106693[_0x11ed2a(0x252)][_0x11ed2a(0x120)]:switch(_0x404ae1){case _0x106693[_0x11ed2a(0x281)]['UNAUTHORIZED']:return'mcpStatus.unauthorized';case _0x106693[_0x11ed2a(0x281)][_0x11ed2a(0x1eb)]:return _0x11ed2a(0x224);case _0x106693[_0x11ed2a(0x281)][_0x11ed2a(0x24d)]:return _0x11ed2a(0x1f1);case _0x106693[_0x11ed2a(0x281)][_0x11ed2a(0x22c)]:return _0x11ed2a(0x14c);default:return'mcpStatus.failed';}case _0x106693[_0x11ed2a(0x252)][_0x11ed2a(0xf5)]:return _0x11ed2a(0x14f);default:return _0x11ed2a(0x21a);}}function _0x2121a7(_0x310e44,_0x4db3a7,_0x2c2c60,_0x2dcc0e=!0x0){const _0x51803c=_0x2e909c,_0xc1023f=_0x5e2e3b(_0x310e44,_0x4db3a7),_0x30f71b=_0x2c2c60['t'](_0xc1023f);return _0x2dcc0e?_0x310e44===_0x106693[_0x51803c(0x252)][_0x51803c(0x284)]&&_0x4db3a7===_0x106693[_0x51803c(0x281)][_0x51803c(0x142)]?_0x30f71b+_0x51803c(0x1d1)+_0x2c2c60['t'](_0x51803c(0x1e8)):_0x310e44===_0x106693[_0x51803c(0x252)][_0x51803c(0x1b7)]?''+_0x30f71b:_0x310e44===_0x106693[_0x51803c(0x252)][_0x51803c(0x284)]||_0x310e44===_0x106693[_0x51803c(0x252)][_0x51803c(0x120)]?_0x30f71b+_0x51803c(0x1d1)+_0x2c2c60['t']('mcpStatus.clickToConnect'):_0x30f71b:_0x30f71b;}function _0xbc4f65(_0xfc3c79){const _0x463cd1=_0x2e909c;switch(_0xfc3c79){case _0x106693[_0x463cd1(0x252)]['CONNECTED']:return _0x463cd1(0x247);case _0x106693[_0x463cd1(0x252)][_0x463cd1(0x134)]:case _0x106693[_0x463cd1(0x252)]['RETRYING']:return _0x463cd1(0x223);case _0x106693['MCPConnectionStatus'][_0x463cd1(0x120)]:case _0x106693[_0x463cd1(0x252)][_0x463cd1(0x284)]:return _0x463cd1(0x233);default:return'univer-text-gray-500';}}function _0x25b473(_0x22571c){const _0x2830cf=_0x2e909c,{status$:_0x1177a6,error$:_0x5d5e50,onConfigure:_0x23546d,showClickable:_0x3639ae=!0x0}=_0x22571c,_0x38e415=_0x41b48a[_0x2830cf(0x191)](_0x1177a6,_0x106693[_0x2830cf(0x252)][_0x2830cf(0x284)]),_0x17522a=_0x41b48a[_0x2830cf(0x191)](_0x5d5e50,_0x106693[_0x2830cf(0x281)]['NONE']),_0x3363b2=_0x41b48a[_0x2830cf(0x1ea)](_0x2f93c2['LocaleService']),_0x4ae1fa=_0x38e415===_0x106693[_0x2830cf(0x252)][_0x2830cf(0x1b7)];_0x38e415===_0x106693[_0x2830cf(0x252)][_0x2830cf(0x134)]||_0x106693['MCPConnectionStatus'][_0x2830cf(0xf5)];const _0x4c7107=_0x3363b2['t'](_0x5e2e3b(_0x38e415,_0x17522a)),_0x259902=_0x2121a7(_0x38e415,_0x17522a,_0x3363b2,_0x3639ae),_0x2a6a63=_0xbc4f65(_0x38e415),_0x106563=_0x4ae1fa?_0x5b73a0[_0x2830cf(0x133)](_0x23299e,{}):_0x5b73a0[_0x2830cf(0x133)](_0x18503,{}),_0x3d6d70=_0x404268[_0x2830cf(0x211)](()=>{_0x3639ae&&_0x23546d&&_0x23546d();},[_0x3639ae,_0x23546d]);function _0x53a634(){const _0x58e035=_0x2830cf;return _0x5b73a0['jsxs'](_0x58e035(0x22f),{'className':_0x1d9496[_0x58e035(0x17c)](_0x58e035(0x113),_0x3639ae&&_0x23546d&&'\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':_0x58e035(0xfa),'onClick':_0x3639ae&&_0x23546d?_0x3d6d70:void 0x0,'children':[_0x5b73a0['jsx'](_0x58e035(0x22f),{'className':_0x1d9496['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x2a6a63),'children':_0x106563}),_0x5b73a0['jsx'](_0x58e035(0x22f),{'className':_0x58e035(0x218),'children':_0x4c7107})]});}return _0x5b73a0[_0x2830cf(0x133)](_0x1d9496['Tooltip'],{'title':_0x259902,'placement':_0x2830cf(0x26b),'children':_0x53a634()});}var _0x59744d=Object[_0x2e909c(0x1a0)],_0x56052e=(_0x1fd214,_0xd5be3a,_0x2f54bb,_0x239fbd)=>{const _0x7c892b=_0x2e909c;for(var _0x4c3999=_0x239fbd>0x1?void 0x0:_0x239fbd?_0x59744d(_0xd5be3a,_0x2f54bb):_0xd5be3a,_0x49b21d=_0x1fd214[_0x7c892b(0x150)]-0x1,_0x150234;_0x49b21d>=0x0;_0x49b21d--)(_0x150234=_0x1fd214[_0x49b21d])&&(_0x4c3999=_0x150234(_0x4c3999)||_0x4c3999);return _0x4c3999;},_0x431668=(_0x13d0fb,_0x4e191c)=>(_0x23bfaa,_0x12931f)=>_0x4e191c(_0x23bfaa,_0x12931f,_0x13d0fb);_0x382dd4[_0x2e909c(0x217)]=class extends _0x2f93c2[_0x2e909c(0x251)]{constructor(_0xaade89,_0x854094,_0x27af61,_0x20a007){const _0x123d4d=_0x2e909c;super(),this[_0x123d4d(0x258)]=_0xaade89,this['_connectionController']=_0x854094,this['_uiPartsService']=_0x27af61,this[_0x123d4d(0x1ed)]=_0x20a007,this[_0x123d4d(0x170)](),this['_initStatusComponent']();}[_0x2e909c(0x170)](){const _0x51e8dd=_0x2e909c,_0x482ee1=this[_0x51e8dd(0x1ed)]['getConfig'](_0x3de3ca);_0x482ee1!=null&&_0x482ee1[_0x51e8dd(0x10d)]&&(this[_0x51e8dd(0x1b4)][_0x51e8dd(0x215)]=!0x1);}[_0x2e909c(0x176)](){const _0x1ff156=_0x2e909c,_0x2e23b0=this['_configService'][_0x1ff156(0x17b)](_0x3de3ca);(_0x2e23b0==null?void 0x0:_0x2e23b0[_0x1ff156(0x16f)])!==!0x1&&this[_0x1ff156(0x13e)](this[_0x1ff156(0x1b3)][_0x1ff156(0x20e)](_0x41b48a[_0x1ff156(0x143)][_0x1ff156(0x1ee)],()=>{const _0x2101c2=_0x1ff156;var _0xe3664e;return _0x41b48a[_0x2101c2(0x1ef)](_0x1a8815({'status$':this[_0x2101c2(0x1b4)][_0x2101c2(0x18a)],'error$':this[_0x2101c2(0x1b4)][_0x2101c2(0x1a7)],'onConfigure':()=>this[_0x2101c2(0x20b)](),'showClickable':(_0xe3664e=_0x2e23b0==null?void 0x0:_0x2e23b0[_0x2101c2(0x10d)])!=null?_0xe3664e:!0x1}),this[_0x2101c2(0x258)]);}));}[_0x2e909c(0x20b)](){const _0x1227c8=_0x2e909c;this[_0x1227c8(0x258)][_0x1227c8(0xf7)](_0x382dd4[_0x1227c8(0x268)])[_0x1227c8(0x152)]();}},_0x382dd4['MCPConnectionUIController']=_0x56052e([_0x431668(0x0,_0x2f93c2[_0x2e909c(0x114)](_0x2f93c2[_0x2e909c(0xf1)])),_0x431668(0x1,_0x2f93c2[_0x2e909c(0x114)](_0x106693[_0x2e909c(0x1ac)])),_0x431668(0x2,_0x41b48a[_0x2e909c(0x130)]),_0x431668(0x3,_0x2f93c2['IConfigService'])],_0x382dd4[_0x2e909c(0x217)]);function _0x1a8815(_0x13edb9){const {status$:_0x3585a6,error$:_0x22858a,onConfigure:_0x195d0d,showClickable:_0x4cbc74}=_0x13edb9;return function(){const _0x444862=_0xd989;return _0x5b73a0[_0x444862(0x133)](_0x25b473,{'status$':_0x3585a6,'error$':_0x22858a,'onConfigure':_0x195d0d,'showClickable':_0x4cbc74});};}function _0x2ad28d(_0x5b465a){const _0x3aa87b=_0x2e909c;return{'id':_0xe76fd2['id'],'type':_0x41b48a[_0x3aa87b(0x1e6)][_0x3aa87b(0x178)],'icon':'MenuIcon','title':_0x3aa87b(0x1d0),'tooltip':_0x3aa87b(0x1d0)};}const _0x19b6c0={[_0x41b48a[_0x2e909c(0x267)][_0x2e909c(0x25e)]]:{[_0xe76fd2['id']]:{'order':0xa,'menuItemFactory':_0x2ad28d}}};var _0x27197f=Object[_0x2e909c(0x1a0)],_0x18d208=(_0x4b11d5,_0x3b08ce,_0x2c5f63,_0x4e0402)=>{const _0x452c55=_0x2e909c;for(var _0x4f49e4=_0x4e0402>0x1?void 0x0:_0x4e0402?_0x27197f(_0x3b08ce,_0x2c5f63):_0x3b08ce,_0x2b665d=_0x4b11d5[_0x452c55(0x150)]-0x1,_0x171850;_0x2b665d>=0x0;_0x2b665d--)(_0x171850=_0x4b11d5[_0x2b665d])&&(_0x4f49e4=_0x171850(_0x4f49e4)||_0x4f49e4);return _0x4f49e4;},_0xbed0d3=(_0x2c4db5,_0x375818)=>(_0x3b5ffe,_0x1bfb8f)=>_0x375818(_0x3b5ffe,_0x1bfb8f,_0x2c4db5);_0x382dd4[_0x2e909c(0xfe)]=class extends _0x2f93c2[_0x2e909c(0x251)]{constructor(_0x2e62b8,_0x17092e){const _0x1ac18d=_0x2e909c;super(),this['_commandService']=_0x2e62b8,this[_0x1ac18d(0x1f7)]=_0x17092e,this[_0x1ac18d(0x109)](),this['_initializeMenus']();}[_0x2e909c(0x109)](){const _0x6c7cbd=_0x2e909c;[_0xe76fd2][_0x6c7cbd(0x1d4)](_0x118a6e=>{const _0x259595=_0x6c7cbd;this[_0x259595(0x13e)](this[_0x259595(0x19b)][_0x259595(0x169)](_0x118a6e));});}['_initializeMenus'](){const _0x9ca7e1=_0x2e909c;this[_0x9ca7e1(0x1f7)][_0x9ca7e1(0x1c6)](_0x19b6c0);}},_0x382dd4['MCPUIMenuController']=_0x18d208([_0xbed0d3(0x0,_0x2f93c2[_0x2e909c(0x165)]),_0xbed0d3(0x1,_0x41b48a['IMenuManagerService'])],_0x382dd4[_0x2e909c(0xfe)]);const _0x474ec2={'mcpStatus':{'disconnected':_0x2e909c(0x25d),'connecting':'MCP\x20Connecting...','connected':_0x2e909c(0x27b),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2e909c(0x118),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2e909c(0x21d),'sessionOccupied':_0x2e909c(0x1d3),'networkError':_0x2e909c(0x1af),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2e909c(0x111),'clickToConfigure':_0x2e909c(0x166)},'mcpConfig':{'title':_0x2e909c(0x138),'description':_0x2e909c(0x23d),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2e909c(0x110),'apiKeyHint':_0x2e909c(0x18e),'enableAuth':_0x2e909c(0x161),'enableAuthHint':_0x2e909c(0x16b),'connectionInfo':_0x2e909c(0x21c),'mcpClientConfig':_0x2e909c(0x21c),'configInstructions':_0x2e909c(0xed),'configStepTitle':_0x2e909c(0x1cc),'configStep1':_0x2e909c(0x1f6),'configStep2':_0x2e909c(0x1bf),'configStep3':_0x2e909c(0x285),'sessionId':'Session\x20ID','sessionIdDescription':_0x2e909c(0x13c),'authorizationDescription':_0x2e909c(0x15e),'configParameters':_0x2e909c(0x164),'maxRetries':'Max\x20Retries','save':_0x2e909c(0x1ff),'saving':_0x2e909c(0x20f),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2e909c(0x1c0),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x2e909c(0x19a),'apiApplyInfo':{'title':_0x2e909c(0x116),'description':_0x2e909c(0xf8),'univerAiLabel':_0x2e909c(0x1c7),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2e909c(0x237),'apiKeyTooShort':_0x2e909c(0x26d),'invalidConfig':_0x2e909c(0x273),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2e909c(0x1df),'connected':_0x2e909c(0x1c9),'failed':'Connection\x20Failed','retrying':_0x2e909c(0x27c)},'connectionError':{'unauthorized':_0x2e909c(0x154),'sessionOccupied':_0x2e909c(0x27a),'networkError':_0x2e909c(0x219),'maxRetriesExceeded':_0x2e909c(0xfc)}}},_0x3006b7={'mcpStatus':{'disconnected':_0x2e909c(0x1db),'connecting':_0x2e909c(0x1b9),'connected':_0x2e909c(0x1f4),'failed':_0x2e909c(0x20d),'retrying':_0x2e909c(0x12c),'unknown':_0x2e909c(0x121),'unauthorized':_0x2e909c(0x21b),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x2e909c(0x1b0),'clickToConnect':_0x2e909c(0x14a),'clickToConfigure':_0x2e909c(0x21e)},'mcpConfig':{'title':_0x2e909c(0x275),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x2e909c(0x10b),'apiKeyPlaceholder':_0x2e909c(0x190),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x2e909c(0x27d),'connectionInfo':_0x2e909c(0x1ba),'mcpClientConfig':_0x2e909c(0x1ba),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x2e909c(0x278),'configStep1':_0x2e909c(0x17d),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x2e909c(0x19d),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x2e909c(0x12d),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':_0x2e909c(0x119),'configSaved':_0x2e909c(0x101),'configError':_0x2e909c(0x168),'apiApplyInfo':{'title':_0x2e909c(0x241),'description':_0x2e909c(0x207),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x2e909c(0x213)},'validation':{'apiKeyRequired':_0x2e909c(0x216),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x2e909c(0x12f)},'connectionStatus':{'disconnected':'未连接','connecting':_0x2e909c(0x149),'connected':_0x2e909c(0x1fb),'failed':_0x2e909c(0x1ab),'retrying':_0x2e909c(0x1f0)},'connectionError':{'unauthorized':_0x2e909c(0x1f2),'sessionOccupied':_0x2e909c(0x221),'networkError':_0x2e909c(0x193),'maxRetriesExceeded':_0x2e909c(0x108)}}};var _0x70a36c=Object['defineProperty'],_0x26f243=Object[_0x2e909c(0x1a0)],_0x3b03d1=(_0x41178d,_0x13b408,_0x277fa7)=>_0x13b408 in _0x41178d?_0x70a36c(_0x41178d,_0x13b408,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x277fa7}):_0x41178d[_0x13b408]=_0x277fa7,_0x331066=(_0x910ed9,_0x519a6c,_0x1dca63,_0x109996)=>{const _0x34a711=_0x2e909c;for(var _0x475e15=_0x109996>0x1?void 0x0:_0x109996?_0x26f243(_0x519a6c,_0x1dca63):_0x519a6c,_0x14b16d=_0x910ed9[_0x34a711(0x150)]-0x1,_0x25a15d;_0x14b16d>=0x0;_0x14b16d--)(_0x25a15d=_0x910ed9[_0x14b16d])&&(_0x475e15=_0x25a15d(_0x475e15)||_0x475e15);return _0x475e15;},_0x2f65ad=(_0x2e194a,_0x1ef94f)=>(_0x209e72,_0x3c0243)=>_0x1ef94f(_0x209e72,_0x3c0243,_0x2e194a),_0x186eaa=(_0x2dfbbb,_0x48c91f,_0x4f432e)=>_0x3b03d1(_0x2dfbbb,_0x48c91f+'',_0x4f432e);_0x382dd4[_0x2e909c(0x19f)]=class extends _0x2f93c2['Plugin']{constructor(_0x4769d5=_0x35183f,_0x2972bf,_0x186f58,_0x37768d,_0xa30fb8,_0x17b989){const _0x12d3db=_0x2e909c;super(),this['_config']=_0x4769d5,this[_0x12d3db(0x258)]=_0x2972bf,this[_0x12d3db(0x1ed)]=_0x186f58,this['_uiPartsService']=_0x37768d,this[_0x12d3db(0x26c)]=_0xa30fb8,this['_localeService']=_0x17b989;const {..._0x28f98c}=_0x2f93c2['merge']({},_0x35183f,this[_0x12d3db(0x201)]);this[_0x12d3db(0x1ed)][_0x12d3db(0x10e)](_0x3de3ca,_0x28f98c);}async[_0x2e909c(0x280)](){const _0x238428=_0x2e909c,_0x54312b=[[_0x382dd4['MCPConnectionUIController']],[_0x382dd4[_0x238428(0x268)]],[_0x382dd4['MCPUIMenuController']]];this[_0x238428(0x258)][_0x238428(0x269)](_0x39f2ad[_0x238428(0x104)])||_0x54312b[_0x238428(0x263)]([_0x39f2ad[_0x238428(0x104)],{'useClass':_0x39f2ad[_0x238428(0x11a)]}]),_0x54312b[_0x238428(0x1d4)](_0x3f7b5d=>this[_0x238428(0x258)]['add'](_0x3f7b5d)),this['_injector'][_0x238428(0xf7)](_0x382dd4['MCPConnectionUIController']),this[_0x238428(0x258)][_0x238428(0xf7)](_0x382dd4['MCPConfigUIController']),this[_0x238428(0x258)][_0x238428(0xf7)](_0x382dd4[_0x238428(0xfe)]);}},_0x186eaa(_0x382dd4[_0x2e909c(0x19f)],_0x2e909c(0x174),_0x2e909c(0x226)),_0x382dd4[_0x2e909c(0x19f)]=_0x331066([_0x2f93c2[_0x2e909c(0x256)](_0x106693[_0x2e909c(0x183)]),_0x2f65ad(0x1,_0x2f93c2[_0x2e909c(0x114)](_0x2f93c2[_0x2e909c(0xf1)])),_0x2f65ad(0x2,_0x2f93c2['IConfigService']),_0x2f65ad(0x3,_0x41b48a[_0x2e909c(0x130)]),_0x2f65ad(0x4,_0x2f93c2['ILocalStorageService']),_0x2f65ad(0x5,_0x2f93c2[_0x2e909c(0x114)](_0x2f93c2['LocaleService']))],_0x382dd4[_0x2e909c(0x19f)]),_0x382dd4[_0x2e909c(0x236)]=_0x31cca4,_0x382dd4[_0x2e909c(0x156)]=_0x25b473,_0x382dd4['OpenMCPConfigPanelCommand']=_0xe76fd2,_0x382dd4[_0x2e909c(0x27f)]=_0x474ec2,_0x382dd4[_0x2e909c(0x1a3)]=_0x3006b7,Object[_0x2e909c(0x206)](_0x382dd4,Symbol['toStringTag'],{'value':'Module'});}));function _0x1ca1(){const _0x12512a=['UniverUi','on-line-icon','_uiPartsService','_connectionController','includes','mcpServerUrl','CONNECTED','map','MCP\x20连接中...','MCP\x20客户端配置','function','@univerjs/design','univer-space-y-2','_logService','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1107200CkIFbF','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','useRef','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.connectionError.unauthorized','mergeMenu','Univer\x20AI\x20Console','validateApiKey','Connected','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','Configuration\x20Steps:','mcpConfig.configParameters','univer-bg-red-500','univer-size-4','mcpConfig.title','\x20-\x20','createElement','MCP:\x20Session\x20ID\x20Occupied','forEach','entries','off-line-icon_clip0_910_343','https://console.univer.ai','mcpConfig.apiApplyInfo.univerAiLabel','_dialogService','_componentManager','MCP\x20已断开','url(#$1','1833246AZSEQN','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Connecting...','translate(.97)','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex\x20univer-items-start\x20univer-gap-3','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','sessionId$','MenuItemType','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.clickToConfigure','https://mcp.univer.ai/mcp/?univer_session_id=','useDependency','SESSION_ID_OCCUPIED','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_configService','HEADER_MENU','connectInjector','重连中...','mcpStatus.networkError','权限验证失败,请检查您的\x20API\x20密钥','Input','MCP\x20已连接','@univerjs/ui','Copy\x20the\x20JSON\x20configuration\x20below','_menuManagerService','svg','0\x200\x2017\x2016','mcpConfig.note2','已连接','mcpConfig.connectionError.maxRetriesExceeded','getCurrentConfig','mcpConfig.connectionStatus.connected','Save\x20Configuration','on-line-icon_clip0_910_349','_config','5ZUIYSt','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mcpConfig.connectionStatus.failed','mcpConfig.configStep1','defineProperty','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','replace','white','mcpConfig.configStep3','_handleConfigure','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','MCP\x20连接失败','registerComponent','Saving...','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','useCallback','779554ObjcuE','几秒钟内获取您的\x20API\x20密钥','univerjs-icon\x20univerjs-icon-','enableAutoConnect','API\x20密钥不能为空','MCPConnectionUIController','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpStatus.unknown','MCP:\x20未授权','MCP\x20Client\x20Configuration','MCP:\x20Unauthorized','点击配置\x20MCP','544026QdRCsH','path','会话\x20ID\x20已被占用,请稍后再试','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-yellow-500','mcpStatus.sessionOccupied','_validateConfig','MCP_UI_PLUGIN','close','univer-text-blue-600','React','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-space-y-4','MAX_RETRIES_EXCEEDED','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','evenodd','div','useState','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-bg-gray-500','univer-text-red-500','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','__setCustomHeaders','MCPConfigPanel','API\x20key\x20is\x20required','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.connectionInfo','url(#off-line-icon_clip0_910_343)','mcpConfig.sessionIdDescription','react/jsx-runtime','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2165119AACMYS','text','displayName','什么是\x20API\x20密钥?','LocaleService','currentColor','attrs','_mcpCoreConfig$','xlink:href','univer-text-green-500','close-icon','UniverNetwork','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','use','off-line-icon','NETWORK_ERROR','http://www.w3.org/2000/svg','errorMessage','mcpConfig.validation.apiKeyTooShort','Disposable','MCPConnectionStatus','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-flex\x20univer-items-center\x20univer-gap-2','@univerjs-pro/mcp','DependentOn','univer-font-medium','_injector','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.apiApplyInfo.description','error','univer-text-xs\x20univer-text-gray-500','MCP\x20Disconnected','OTHERS','univer-text-xs\x20univer-text-gray-600','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Authorization:','push','colorChannel1','univer_session_id:','_apiKey$','RibbonStartGroup','MCPConfigUIController','has','noopener\x20noreferrer','bottom','_localStorageService','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-text-sm\x20univer-text-gray-500','defs','univer.plus','IMessageService','1974906Mplave','Invalid\x20configuration','idSuffix','MCP\x20配置','check-mark-icon','symbol','配置步骤:','tag','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connected','Retrying...','启用身份验证以获得安全连接','univer-text-white','enUS','onStarting','MCPConnectionError','rxjs','ILocalStorageService','DISCONNECTED','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','span','mcpConfig.configStep2','label','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_initConfigSync','_loadStoredApiKey','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Injector','2511CFVpOP','_messageService','univer-space-y-3','RETRYING','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','get','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','stringify','button','mcpConfig.apiApplyInfo.title','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCPUIMenuController','univer-text-sm\x20univer-font-medium','BehaviorSubject','配置保存成功','mcpConfig.configError','forwardRef','ISocketService','OnLineIcon','COMMAND','mcpConfig.connectionError.sessionOccupied','超出最大重试次数,请稍后再试','_initializeCommands','univer-bg-blue-500','API\x20密钥','Error','showDeveloperTools','setConfig','mcpConfig.connectionStatus.retrying','Enter\x20your\x20API\x20key','Click\x20to\x20connect\x20MCP','mcpConfig.connectionStatus.disconnected','univer-flex\x20univer-items-center','Inject','mcp-ui.command.openConfigPanel','What\x20is\x20API\x20Key?','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','MCP\x20Retrying...','您的\x20API\x20密钥安全存储在本地存储中','WebSocketService','amd','mcpConfig.apiKeyPlaceholder','<SESSION_ID>','https://console.univer.plus','mcpConfig.authorizationDescription','FAILED','MCP\x20状态未知','UniverIcon','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcpConfig.save','MessageType','apiKey','8QQprbL','mcpStatus.connected','_config$','http','mcpConfig.connectionError.networkError','MCP\x20重连中...','带有\x20Bearer\x20前缀的\x20API\x20密钥。','1412CVFUow','API\x20密钥无效,请检查密钥是否正确','IUIPartsService','_blank','show','jsx','CONNECTING','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Success','off','MCP\x20Configuration','univer-flex-1','CommandType','_mcpConnectionController','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','open','disposeWithMe','round','univer-bg-green-500','1McjNxQ','UNAUTHORIZED','BuiltInUIPart','UniverCore','1em','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','_handleConfigSave','univer-flex\x20univer-items-center\x20univer-gap-3','连接中...','点击连接\x20MCP','IDialogService','mcpStatus.maxRetriesExceeded','_loading$','<API_KEY>','mcpStatus.retrying','length','none','showConfigPanel','Bearer\x20','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','pre','MCPStatusDisplay','next','univer-flex\x20univer-gap-3','warn','mcpConfig.apiKey','defIds','register','@univerjs/network','API\x20key\x20with\x20Bearer\x20prefix.','mcp-config-dialog','mcpConfig.validation.invalidApiKey','Enable\x20Authentication','_registerComponent','ComponentManager','Configuration\x20Parameters:','ICommandService','Click\x20to\x20configure\x20MCP','mcpConfig.apiApplyInfo.getStarted','配置保存失败','registerCommand','subscribeConfigValue$','Enable\x20authentication\x20for\x20secure\x20connections','0\x200\x2016\x2016','clipPath','mcpConfig.connectionStatus.connecting','showStatus','_initAutoConnect','_createConfigPanelComponent','help-icon','mask','pluginName','trim','_initStatusComponent','current','BUTTON','value','removeItem','getConfig','clsx','复制以下\x20JSON\x20配置','univer.ai','mcpConfig.configSaved','mcp-ui.config','univer-min-w-0\x20univer-flex-1','random','UniverMCPPlugin','HelpIcon','CheckMarkIcon','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpConfig.validation.invalidConfig','getItem','connectionStatus$','UniverProMcpUi','mcp.apiKey','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.configInstructions','请输入您的\x20API\x20密钥','useObservable','mcpConfig.validation.apiKeyRequired','网络连接错误,请检查您的网络连接','mcpStatus.connecting','jsxs','toString','@univerjs/core','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-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','Failed\x20to\x20save\x20configuration','_commandService','isValid','重启您的\x20MCP\x20客户端以使配置生效','mcpConfig.saving','UniverMCPUIPlugin','getOwnPropertyDescriptor','M0\x200H16V16H0z','mcpStatus.disconnected','zhCN','univer-size-2\x20univer-rounded-full','mcpConfig.configStepTitle','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','connectionError$','IConfigService','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','string','连接失败','MCPConnectionController','_localeService','assign','MCP:\x20Network\x20Error','MCP:\x20超出最大重试次数'];_0x1ca1=function(){return _0x12512a;};return _0x1ca1();}
|