@univerjs-pro/mcp-ui 0.15.0-insiders.20260110-48b77c8 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +7 -7
@@ -1 +1 @@
1
- 'use strict';const _0x3372fd=_0x3651;(function(_0x28975e,_0x224860){const _0x5ee537=_0x3651,_0x27e1ee=_0x28975e();while(!![]){try{const _0x2ff93b=-parseInt(_0x5ee537(0x158))/0x1+parseInt(_0x5ee537(0x15d))/0x2+parseInt(_0x5ee537(0x16c))/0x3+-parseInt(_0x5ee537(0x16e))/0x4+-parseInt(_0x5ee537(0x15a))/0x5+-parseInt(_0x5ee537(0x164))/0x6+parseInt(_0x5ee537(0x165))/0x7;if(_0x2ff93b===_0x224860)break;else _0x27e1ee['push'](_0x27e1ee['shift']());}catch(_0x5af67a){_0x27e1ee['push'](_0x27e1ee['shift']());}}}(_0x3366,0x727e2));function _0x3366(){const _0x335d91=['1621692KSETvM','60144NUBjoZ','MCP\x20재시도\x20중...','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','Bearer\x20접두사가\x20있는\x20API\x20키.','API\x20키는\x20필수입니다','Univer\x20AI\x20콘솔','MCP\x20알\x20수\x20없는\x20상태','1067604gIvbkC','API\x20키란\x20무엇인가요?','394620ghPEez','설정이\x20성공적으로\x20저장되었습니다','API\x20키를\x20입력하세요','exports','MCP\x20연결\x20실패','최대\x20재시도\x20횟수','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','MCP\x20클라이언트\x20설정','연결\x20끊김','클릭하여\x20MCP\x20연결','클릭하여\x20MCP\x20설정','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','MCP\x20연결됨','MCP:\x20최대\x20재시도\x20횟수\x20초과','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','아래\x20JSON\x20설정\x20복사','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','몇\x20초\x20만에\x20API\x20키\x20발급받기','API\x20키는\x2010자\x20이상이어야\x20합니다','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','MCP:\x20세션\x20ID\x20사용\x20','API\x20키','연결됨','연결\x20실패','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','유효하지\x20않은\x20설정','171569QOIBuD','재시도\x20중...','746375LpByrO','보안\x20연결을\x20위해\x20인증\x20활성화','MCP\x20연결\x20중...','1588566tKMqPf','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','설정\x20저장','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','설정\x20매개변수:'];_0x3366=function(){return _0x335d91;};return _0x3366();}function _0x3651(_0x483f20,_0x5e538a){_0x483f20=_0x483f20-0x14f;const _0x33668d=_0x3366();let _0x365199=_0x33668d[_0x483f20];return _0x365199;}const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x3372fd(0x15c),'connected':_0x3372fd(0x17b),'failed':_0x3372fd(0x172),'retrying':_0x3372fd(0x166),'unknown':_0x3372fd(0x16b),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x3372fd(0x152),'networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0x3372fd(0x17c),'clickToConnect':_0x3372fd(0x178),'clickToConfigure':_0x3372fd(0x179)},'mcpConfig':{'title':'MCP\x20설정','description':_0x3372fd(0x174),'apiKey':_0x3372fd(0x153),'apiKeyPlaceholder':_0x3372fd(0x170),'apiKeyHint':_0x3372fd(0x156),'enableAuth':'인증\x20활성화','enableAuthHint':_0x3372fd(0x15b),'connectionInfo':_0x3372fd(0x176),'mcpClientConfig':_0x3372fd(0x176),'configInstructions':_0x3372fd(0x15e),'configStepTitle':'설정\x20단계:','configStep1':_0x3372fd(0x17e),'configStep2':_0x3372fd(0x17d),'configStep3':_0x3372fd(0x160),'sessionId':'세션\x20ID','sessionIdDescription':_0x3372fd(0x162),'authorizationDescription':_0x3372fd(0x168),'configParameters':_0x3372fd(0x163),'maxRetries':_0x3372fd(0x173),'save':_0x3372fd(0x161),'saving':'저장\x20중...','note1':_0x3372fd(0x180),'note2':_0x3372fd(0x167),'configSaved':_0x3372fd(0x16f),'configError':'설정\x20저장\x20실패','apiApplyInfo':{'title':_0x3372fd(0x16d),'description':_0x3372fd(0x175),'univerAiLabel':_0x3372fd(0x16a),'getStarted':_0x3372fd(0x14f)},'validation':{'apiKeyRequired':_0x3372fd(0x169),'apiKeyTooShort':_0x3372fd(0x150),'invalidConfig':_0x3372fd(0x157),'invalidApiKey':_0x3372fd(0x17f)},'connectionStatus':{'disconnected':_0x3372fd(0x177),'connecting':'연결\x20중...','connected':_0x3372fd(0x154),'failed':_0x3372fd(0x155),'retrying':_0x3372fd(0x159)},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0x3372fd(0x151),'networkError':_0x3372fd(0x17a),'maxRetriesExceeded':_0x3372fd(0x15f)}}};module[_0x3372fd(0x171)]=e;
1
+ 'use strict';const _0x50ddab=_0x4ef3;(function(_0x2e73ac,_0x3047ee){const _0x3e8511=_0x4ef3,_0x20166c=_0x2e73ac();while(!![]){try{const _0x167ded=parseInt(_0x3e8511(0x1b9))/0x1+-parseInt(_0x3e8511(0x197))/0x2*(-parseInt(_0x3e8511(0x198))/0x3)+-parseInt(_0x3e8511(0x1ad))/0x4+parseInt(_0x3e8511(0x19a))/0x5*(parseInt(_0x3e8511(0x1af))/0x6)+-parseInt(_0x3e8511(0x1ac))/0x7+parseInt(_0x3e8511(0x1a5))/0x8*(-parseInt(_0x3e8511(0x1ba))/0x9)+-parseInt(_0x3e8511(0x1bb))/0xa;if(_0x167ded===_0x3047ee)break;else _0x20166c['push'](_0x20166c['shift']());}catch(_0x3418fb){_0x20166c['push'](_0x20166c['shift']());}}}(_0x231f,0x20cda));function _0x4ef3(_0x2daf3d,_0xc5173a){_0x2daf3d=_0x2daf3d-0x18d;const _0x231fed=_0x231f();let _0x4ef3fd=_0x231fed[_0x2daf3d];return _0x4ef3fd;}const e={'mcpStatus':{'disconnected':_0x50ddab(0x1a0),'connecting':_0x50ddab(0x190),'connected':_0x50ddab(0x1ab),'failed':_0x50ddab(0x1a2),'retrying':_0x50ddab(0x1aa),'unknown':_0x50ddab(0x1b6),'unauthorized':_0x50ddab(0x1bd),'sessionOccupied':_0x50ddab(0x18f),'networkError':_0x50ddab(0x1b4),'maxRetriesExceeded':_0x50ddab(0x18e),'clickToConnect':_0x50ddab(0x1a6),'clickToConfigure':_0x50ddab(0x1a7)},'mcpConfig':{'title':_0x50ddab(0x19d),'description':_0x50ddab(0x1b0),'apiKey':_0x50ddab(0x1a9),'apiKeyPlaceholder':_0x50ddab(0x1b7),'apiKeyHint':'API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','enableAuth':'인증\x20활성화','enableAuthHint':_0x50ddab(0x19f),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x50ddab(0x1b1),'configInstructions':_0x50ddab(0x1b5),'configStepTitle':'설정\x20단계:','configStep1':'아래\x20JSON\x20설정\x20복사','configStep2':_0x50ddab(0x19c),'configStep3':_0x50ddab(0x196),'sessionId':_0x50ddab(0x19b),'sessionIdDescription':'고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':_0x50ddab(0x1a8),'maxRetries':_0x50ddab(0x1b3),'save':_0x50ddab(0x195),'saving':_0x50ddab(0x1a4),'note1':_0x50ddab(0x1bf),'note2':_0x50ddab(0x199),'configSaved':_0x50ddab(0x1b2),'configError':_0x50ddab(0x1bc),'apiApplyInfo':{'title':_0x50ddab(0x19e),'description':_0x50ddab(0x1a1),'univerAiLabel':_0x50ddab(0x1a3),'getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x50ddab(0x191),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0x50ddab(0x1ae),'invalidApiKey':_0x50ddab(0x1be)},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x50ddab(0x18d),'connected':'연결됨','failed':'연결\x20실패','retrying':'재시도\x20중...'},'connectionError':{'unauthorized':_0x50ddab(0x192),'sessionOccupied':_0x50ddab(0x194),'networkError':_0x50ddab(0x193),'maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};module[_0x50ddab(0x1b8)]=e;function _0x231f(){const _0x278112=['MCP\x20클라이언트\x20설정','설정이\x20성공적으로\x20저장되었습니다','최대\x20재시도\x20횟수','MCP:\x20네트워크\x20오류','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','MCP\x20알\x20수\x20없는\x20상태','API\x20키를\x20입력하세요','exports','249334zXEJID','1013949ENTqmP','915400KvcFbH','설정\x20저장\x20실패','MCP:\x20인증되지\x20않음','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','연결\x20중...','MCP:\x20최대\x20재시도\x20횟수\x20초과','MCP:\x20세션\x20ID\x20사용\x20중','MCP\x20연결\x20중...','API\x20키는\x20필수입니다','인증\x20실패.\x20API\x20키를\x20확인하세요','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','설정\x20저장','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','2HMTboy','663447XDmvQb','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','5uCEUZY','세션\x20ID','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','MCP\x20설정','API\x20키란\x20무엇인가요?','보안\x20연결을\x20위해\x20인증\x20활성화','MCP\x20연결\x20끊김','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','MCP\x20연결\x20실패','Univer\x20AI\x20콘솔','저장\x20중...','8VaUGTC','클릭하여\x20MCP\x20연결','클릭하여\x20MCP\x20설정','설정\x20매개변수:','API\x20키','MCP\x20재시도\x20중...','MCP\x20연결됨','411642KpjCIQ','837420Xwnqyg','유효하지\x20않은\x20설정','817446uchUEI','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정'];_0x231f=function(){return _0x278112;};return _0x231f();}
@@ -1 +1 @@
1
- 'use strict';const _0xb5a1c1=_0x2a6e;(function(_0x194d15,_0xea8d6f){const _0x2cd366=_0x2a6e,_0x3b0f92=_0x194d15();while(!![]){try{const _0x5bde25=-parseInt(_0x2cd366(0xbc))/0x1+parseInt(_0x2cd366(0xc3))/0x2+-parseInt(_0x2cd366(0xac))/0x3+parseInt(_0x2cd366(0xb3))/0x4*(-parseInt(_0x2cd366(0xc8))/0x5)+parseInt(_0x2cd366(0xc1))/0x6*(-parseInt(_0x2cd366(0xb1))/0x7)+parseInt(_0x2cd366(0xa7))/0x8*(-parseInt(_0x2cd366(0xd2))/0x9)+parseInt(_0x2cd366(0xba))/0xa;if(_0x5bde25===_0xea8d6f)break;else _0x3b0f92['push'](_0x3b0f92['shift']());}catch(_0x517725){_0x3b0f92['push'](_0x3b0f92['shift']());}}}(_0x46e6,0x1f773));function _0x46e6(){const _0x61541a=['2574aocuSF','Disconnected','462032EknwtN','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20Steps:','MCP\x20Connection\x20Failed','Connected','123525ZBsGVB','MCP:\x20Network\x20Error','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Univer\x20AI\x20Console','Enable\x20Authentication','Connecting...','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20connect\x20MCP','1498113DgKZll','Save\x20Configuration','MCP\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20configuration','8aHSavn','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','299370GPNfIJ','MCP\x20Client\x20Configuration','Saving...','MCP\x20Disconnected','Retrying...','210tCJCYn','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','12wxzQMu','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20configure\x20MCP','Enter\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','3151140yTvtGS','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','64015ePncjy','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Parameters:','MCP\x20Connecting...','MCP\x20Unknown\x20Status'];_0x46e6=function(){return _0x61541a;};return _0x46e6();}const e={'mcpStatus':{'disconnected':_0xb5a1c1(0xaf),'connecting':_0xb5a1c1(0xbf),'connected':_0xb5a1c1(0xa8),'failed':_0xb5a1c1(0xc6),'retrying':'MCP\x20Retrying...','unknown':_0xb5a1c1(0xc0),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0xb5a1c1(0xc9),'maxRetriesExceeded':_0xb5a1c1(0xbd),'clickToConnect':_0xb5a1c1(0xd1),'clickToConfigure':_0xb5a1c1(0xb7)},'mcpConfig':{'title':_0xb5a1c1(0xa4),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0xb5a1c1(0xb8),'apiKeyHint':_0xb5a1c1(0xcc),'enableAuth':_0xb5a1c1(0xce),'enableAuthHint':_0xb5a1c1(0xaa),'connectionInfo':_0xb5a1c1(0xad),'mcpClientConfig':_0xb5a1c1(0xad),'configInstructions':_0xb5a1c1(0xab),'configStepTitle':_0xb5a1c1(0xc5),'configStep1':_0xb5a1c1(0xa9),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xb5a1c1(0xb6),'sessionId':_0xb5a1c1(0xcb),'sessionIdDescription':_0xb5a1c1(0xb9),'authorizationDescription':_0xb5a1c1(0xd0),'configParameters':_0xb5a1c1(0xbe),'maxRetries':'Max\x20Retries','save':_0xb5a1c1(0xd3),'saving':_0xb5a1c1(0xae),'note1':_0xb5a1c1(0xca),'note2':_0xb5a1c1(0xa5),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xb5a1c1(0xb2),'univerAiLabel':_0xb5a1c1(0xcd),'getStarted':_0xb5a1c1(0xb4)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xb5a1c1(0xa6),'invalidApiKey':_0xb5a1c1(0xc4)},'connectionStatus':{'disconnected':_0xb5a1c1(0xc2),'connecting':_0xb5a1c1(0xcf),'connected':_0xb5a1c1(0xc7),'failed':'Connection\x20Failed','retrying':_0xb5a1c1(0xb0)},'connectionError':{'unauthorized':_0xb5a1c1(0xbb),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xb5a1c1(0xb5)}}},n=e;function _0x2a6e(_0x51b037,_0x51db13){_0x51b037=_0x51b037-0xa4;const _0x46e619=_0x46e6();let _0x2a6ea3=_0x46e619[_0x51b037];return _0x2a6ea3;}module['exports']=n;
1
+ 'use strict';const _0x5ab5f8=_0xd216;function _0x25e6(){const _0x4d31d5=['Invalid\x20configuration','15885hNgjBG','exports','MCP:\x20Session\x20ID\x20Occupied','8280580ZDaGTH','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','What\x20is\x20API\x20Key?','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Disconnected','Max\x20Retries','9833120ahfqIM','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','128PPRjqu','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','MCP\x20Disconnected','Configuration\x20Steps:','Saving...','MCP\x20Connected','4189760rqfwLj','Connection\x20Failed','6029IXZQRU','542GEsMZR','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','9wEjXzL','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enter\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20with\x20Bearer\x20prefix.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','9011695EdDZiY','Click\x20to\x20configure\x20MCP','2910bItLjn','MCP\x20Connecting...','API\x20key\x20is\x20required','MCP\x20Client\x20Configuration','122538cpzgwz','MCP\x20Connection\x20Failed'];_0x25e6=function(){return _0x4d31d5;};return _0x25e6();}(function(_0x424238,_0x3edf52){const _0x24d2e6=_0xd216,_0x3e9630=_0x424238();while(!![]){try{const _0x45618c=parseInt(_0x24d2e6(0x148))/0x1*(-parseInt(_0x24d2e6(0x149))/0x2)+-parseInt(_0x24d2e6(0x12b))/0x3*(-parseInt(_0x24d2e6(0x13f))/0x4)+-parseInt(_0x24d2e6(0x12e))/0x5*(-parseInt(_0x24d2e6(0x127))/0x6)+-parseInt(_0x24d2e6(0x131))/0x7+parseInt(_0x24d2e6(0x13d))/0x8*(parseInt(_0x24d2e6(0x11d))/0x9)+parseInt(_0x24d2e6(0x146))/0xa+-parseInt(_0x24d2e6(0x125))/0xb;if(_0x45618c===_0x3edf52)break;else _0x3e9630['push'](_0x3e9630['shift']());}catch(_0x1c767d){_0x3e9630['push'](_0x3e9630['shift']());}}}(_0x25e6,0xd1f55));function _0xd216(_0x8c57ef,_0x4b195b){_0x8c57ef=_0x8c57ef-0x11b;const _0x25e69d=_0x25e6();let _0xd21605=_0x25e69d[_0x8c57ef];return _0xd21605;}const e={'mcpStatus':{'disconnected':_0x5ab5f8(0x142),'connecting':_0x5ab5f8(0x128),'connected':_0x5ab5f8(0x145),'failed':_0x5ab5f8(0x12c),'retrying':'MCP\x20Retrying...','unknown':_0x5ab5f8(0x11c),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5ab5f8(0x130),'networkError':_0x5ab5f8(0x141),'maxRetriesExceeded':_0x5ab5f8(0x139),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5ab5f8(0x126)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x5ab5f8(0x13e),'apiKey':_0x5ab5f8(0x14a),'apiKeyPlaceholder':_0x5ab5f8(0x121),'apiKeyHint':_0x5ab5f8(0x140),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x5ab5f8(0x12a),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x5ab5f8(0x143),'configStep1':_0x5ab5f8(0x135),'configStep2':_0x5ab5f8(0x137),'configStep3':_0x5ab5f8(0x11e),'sessionId':'Session\x20ID','sessionIdDescription':_0x5ab5f8(0x122),'authorizationDescription':_0x5ab5f8(0x123),'configParameters':_0x5ab5f8(0x134),'maxRetries':_0x5ab5f8(0x13c),'save':_0x5ab5f8(0x11f),'saving':_0x5ab5f8(0x144),'note1':_0x5ab5f8(0x120),'note2':_0x5ab5f8(0x136),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5ab5f8(0x133),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x5ab5f8(0x129),'apiKeyTooShort':_0x5ab5f8(0x14b),'invalidConfig':_0x5ab5f8(0x12d),'invalidApiKey':_0x5ab5f8(0x132)},'connectionStatus':{'disconnected':_0x5ab5f8(0x13b),'connecting':'Connecting...','connected':'Connected','failed':_0x5ab5f8(0x147),'retrying':_0x5ab5f8(0x14c)},'connectionError':{'unauthorized':_0x5ab5f8(0x138),'sessionOccupied':_0x5ab5f8(0x124),'networkError':_0x5ab5f8(0x13a),'maxRetriesExceeded':_0x5ab5f8(0x11b)}}},n=e;module[_0x5ab5f8(0x12f)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x32c0(){const _0x5593a1=['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.','1632930TGLqJM','2482928hNKubo','Bật\x20xác\x20thực','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Đang\x20kết\x20nối...','2427320EHdphb','Cấu\x20hình\x20MCP','Đang\x20lưu...','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','MCP\x20Kết\x20nối\x20thất\x20bại','Đị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.','Đang\x20thử\x20lại...','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Đang\x20kết\x20nối...','Nhấp\x20để\x20cấu\x20hình\x20MCP','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','15073lyQfKX','Tham\x20số\x20cấu\x20hình:','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Kết\x20nối\x20thất\x20bại','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','ID\x20phiên','407980ZLppri','MCP:\x20Lỗi\x20mạng','MCP:\x20Không\x20được\x20phép','Lưu\x20cấu\x20hình\x20thất\x20bại','MCP\x20Đang\x20thử\x20lại...','Cấu\x20hình\x20máy\x20khách\x20MCP','Lưu\x20cấu\x20hình','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Nhấp\x20để\x20kết\x20nối\x20MCP','Đã\x20ngắt\x20kết\x20nối','exports','689628xsMaJr','Khóa\x20API\x20là\x20gì?','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20t','26IETEIK','3bdGmcY','Các\x20bước\x20cấu\x20hình:','14349483GfpRvf','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.'];_0x32c0=function(){return _0x5593a1;};return _0x32c0();}const _0x230b23=_0x4764;(function(_0xa3ffd6,_0x3780e6){const _0x484833=_0x4764,_0x2fd9e5=_0xa3ffd6();while(!![]){try{const _0x1a5c51=-parseInt(_0x484833(0x1c7))/0x1*(parseInt(_0x484833(0x1b0))/0x2)+-parseInt(_0x484833(0x1b1))/0x3*(parseInt(_0x484833(0x1d4))/0x4)+-parseInt(_0x484833(0x1b6))/0x5+-parseInt(_0x484833(0x1ad))/0x6+-parseInt(_0x484833(0x1bb))/0x7+-parseInt(_0x484833(0x1b7))/0x8+parseInt(_0x484833(0x1b3))/0x9;if(_0x1a5c51===_0x3780e6)break;else _0x2fd9e5['push'](_0x2fd9e5['shift']());}catch(_0x228f30){_0x2fd9e5['push'](_0x2fd9e5['shift']());}}}(_0x32c0,0x304a1));function _0x4764(_0x3eb29c,_0x18d2ae){_0x3eb29c=_0x3eb29c-0x1ab;const _0x32c026=_0x32c0();let _0x476427=_0x32c026[_0x3eb29c];return _0x476427;}const n={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x230b23(0x1ba),'connected':'MCP\x20Đã\x20kết\x20nối','failed':_0x230b23(0x1bf),'retrying':_0x230b23(0x1d8),'unknown':_0x230b23(0x1d0),'unauthorized':_0x230b23(0x1d6),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':_0x230b23(0x1d5),'maxRetriesExceeded':_0x230b23(0x1ca),'clickToConnect':_0x230b23(0x1de),'clickToConfigure':_0x230b23(0x1c4)},'mcpConfig':{'title':_0x230b23(0x1bc),'description':_0x230b23(0x1c6),'apiKey':'Khóa\x20API','apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0x230b23(0x1be),'enableAuth':_0x230b23(0x1b8),'enableAuthHint':'Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','connectionInfo':_0x230b23(0x1d9),'mcpClientConfig':'Cấu\x20hình\x20máy\x20khách\x20MCP','configInstructions':_0x230b23(0x1c9),'configStepTitle':_0x230b23(0x1b2),'configStep1':_0x230b23(0x1cd),'configStep2':_0x230b23(0x1cb),'configStep3':_0x230b23(0x1b9),'sessionId':_0x230b23(0x1d3),'sessionIdDescription':_0x230b23(0x1c0),'authorizationDescription':_0x230b23(0x1b4),'configParameters':_0x230b23(0x1c8),'maxRetries':_0x230b23(0x1dd),'save':_0x230b23(0x1da),'saving':_0x230b23(0x1bd),'note1':_0x230b23(0x1db),'note2':_0x230b23(0x1d1),'configSaved':_0x230b23(0x1c5),'configError':_0x230b23(0x1d7),'apiApplyInfo':{'title':_0x230b23(0x1ae),'description':_0x230b23(0x1b5),'univerAiLabel':'Bảng\x20điều\x20khiển\x20Univer\x20AI','getStarted':_0x230b23(0x1ce)},'validation':{'apiKeyRequired':'Yêu\x20cầu\x20khóa\x20API','apiKeyTooShort':_0x230b23(0x1af),'invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20lệ','invalidApiKey':_0x230b23(0x1c2)},'connectionStatus':{'disconnected':_0x230b23(0x1ab),'connecting':_0x230b23(0x1c3),'connected':'Đã\x20kết\x20nối','failed':_0x230b23(0x1cf),'retrying':_0x230b23(0x1c1)},'connectionError':{'unauthorized':_0x230b23(0x1d2),'sessionOccupied':_0x230b23(0x1cc),'networkError':_0x230b23(0x1dc),'maxRetriesExceeded':'Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau'}}};module[_0x230b23(0x1ac)]=n;
1
+ 'use strict';const _0x122478=_0x25e8;(function(_0x3d33bb,_0x6592fc){const _0x468da3=_0x25e8,_0x1cf361=_0x3d33bb();while(!![]){try{const _0x2043d2=parseInt(_0x468da3(0x71))/0x1+parseInt(_0x468da3(0x93))/0x2*(parseInt(_0x468da3(0x8d))/0x3)+-parseInt(_0x468da3(0x99))/0x4+-parseInt(_0x468da3(0x9b))/0x5+parseInt(_0x468da3(0x7e))/0x6*(-parseInt(_0x468da3(0x7c))/0x7)+-parseInt(_0x468da3(0x9f))/0x8+parseInt(_0x468da3(0x9c))/0x9;if(_0x2043d2===_0x6592fc)break;else _0x1cf361['push'](_0x1cf361['shift']());}catch(_0x30dcd4){_0x1cf361['push'](_0x1cf361['shift']());}}}(_0x5e29,0xacea1));function _0x25e8(_0x5b2c24,_0x619288){_0x5b2c24=_0x5b2c24-0x71;const _0x5e2961=_0x5e29();let _0x25e8c4=_0x5e2961[_0x5b2c24];return _0x25e8c4;}function _0x5e29(){const _0x4f2da9=['MCP:\x20Không\x20được\x20phép','Đang\x20lưu...','Nhập\x20khóa\x20API\x20của\x20bạn','MCP\x20Đã\x20ngắt\x20kết\x20nối','124461oaUZXP','Đang\x20kết\x20nối...','ID\x20phiên','Nhấp\x20để\x20cấu\x20hình\x20MCP','Cấu\x20hình\x20máy\x20khách\x20MCP','Nhấp\x20để\x20kết\x20nối\x20MCP','12OhsguQ','MCP\x20Đang\x20kết\x20nối...','Tham\x20số\x20cấu\x20hình:','Lưu\x20cấu\x20hình','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Đã\x20ngắt\x20kết\x20nối','3031444rGDUlK','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','1143805egEixM','27722997jKGSih','Bảng\x20điều\x20khiển\x20Univer\x20AI','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20b','9418200KGGfGV','MCP\x20Kết\x20nối\x20thất\x20bại','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','609098bxOONr','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Yêu\x20cầu\x20khóa\x20API','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','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','MCP:\x20Lỗi\x20mạng','Các\x20bước\x20cấu\x20hình:','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','7MJGrKF','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','6397194xBLrUa','Bật\x20xác\x20thực','Khóa\x20API\x20là\x20gì?','exports','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.','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Kết\x20nối\x20thất\x20bại','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','MCP\x20Đang\x20thử\x20lại...','Số\x20lần\x20thử\x20lại\x20tối\x20đa'];_0x5e29=function(){return _0x4f2da9;};return _0x5e29();}const n={'mcpStatus':{'disconnected':_0x122478(0x8c),'connecting':_0x122478(0x94),'connected':'MCP\x20Đã\x20kết\x20nối','failed':_0x122478(0xa0),'retrying':_0x122478(0x87),'unknown':_0x122478(0x72),'unauthorized':_0x122478(0x89),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':_0x122478(0x79),'maxRetriesExceeded':_0x122478(0x7d),'clickToConnect':_0x122478(0x92),'clickToConfigure':_0x122478(0x90)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':_0x122478(0x75),'apiKey':'Khóa\x20API','apiKeyPlaceholder':_0x122478(0x8b),'apiKeyHint':'Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','enableAuth':_0x122478(0x7f),'enableAuthHint':_0x122478(0x84),'connectionInfo':_0x122478(0x91),'mcpClientConfig':_0x122478(0x91),'configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x122478(0x7a),'configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':'Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','configStep3':_0x122478(0x9a),'sessionId':_0x122478(0x8f),'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':_0x122478(0x86),'configParameters':_0x122478(0x95),'maxRetries':_0x122478(0x88),'save':_0x122478(0x96),'saving':_0x122478(0x8a),'note1':_0x122478(0x74),'note2':_0x122478(0x9e),'configSaved':_0x122478(0x76),'configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x122478(0x80),'description':_0x122478(0x82),'univerAiLabel':_0x122478(0x9d),'getStarted':_0x122478(0x78)},'validation':{'apiKeyRequired':_0x122478(0x73),'apiKeyTooShort':_0x122478(0xa1),'invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20lệ','invalidApiKey':_0x122478(0x7b)},'connectionStatus':{'disconnected':_0x122478(0x98),'connecting':_0x122478(0x8e),'connected':'Đã\x20kết\x20nối','failed':_0x122478(0x85),'retrying':'Đang\x20thử\x20lại...'},'connectionError':{'unauthorized':_0x122478(0x83),'sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0x122478(0x77),'maxRetriesExceeded':_0x122478(0x97)}}};module[_0x122478(0x81)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x562c(){const _0x3d52b1=['516ShCTvU','配置保存成功','您的\x20API\x20密钥将在此浏览器中本地存储','配置保存失败','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','1611CyzoAS','点击配置\x20MCP','API\x20密钥长度至少需要\x2010\x20位','Univer\x20AI\x20控制台','MCP:\x20网络错误','会话ID','473770FDOyKH','18FJhddd','保存配置','什么是\x20API\x20密钥?','权限验证失败,请检查您的\x20API\x20密钥','205848ocmRlP','启用身份验证以获得安全连接','API\x20密钥无效,请检查密钥是否正确','MCP\x20已连接','MCP\x20客户端配置','MCP\x20连接失败','重启您的\x20MCP\x20客户端以使配置生效','配置更改将立即生效','将以下配置添加到您的\x20MCP\x20客户端设置中:','207893brJZCF','635adCAly','MCP:\x20未授权','几秒钟内获取您的\x20API\x20密钥','28336RlEACS','已连接','配置\x20MCP\x20使用\x20AI\x20操作电子表格','超出最大重试次数,请稍后再试','MCP:\x20超出最大重试次数','90KKlTOM','MCP\x20连接中...','985266NuuEFm','MCP:\x20会话\x20ID\x20已被占用','27064464pRZKyg','连接失败','exports','222FINStd','API\x20密钥','点击连接\x20MCP','复制以下\x20JSON\x20配置','MCP\x20配置','配置参数:','MCP\x20重连中...','连接中...','您的\x20API\x20密钥安全存储在本地存储中'];_0x562c=function(){return _0x3d52b1;};return _0x562c();}function _0x5869(_0x2aebd7,_0x540024){_0x2aebd7=_0x2aebd7-0x1d0;const _0x562c14=_0x562c();let _0x58694e=_0x562c14[_0x2aebd7];return _0x58694e;}const _0x482729=_0x5869;(function(_0x2b5312,_0xfc9c05){const _0x4ecc39=_0x5869,_0x4ce14a=_0x2b5312();while(!![]){try{const _0x79514f=-parseInt(_0x4ecc39(0x1e7))/0x1+parseInt(_0x4ecc39(0x1d3))/0x2*(parseInt(_0x4ecc39(0x201))/0x3)+parseInt(_0x4ecc39(0x1f5))/0x4*(parseInt(_0x4ecc39(0x1dd))/0x5)+-parseInt(_0x4ecc39(0x1ec))/0x6*(parseInt(_0x4ecc39(0x1dc))/0x7)+-parseInt(_0x4ecc39(0x1e0))/0x8*(parseInt(_0x4ecc39(0x1fa))/0x9)+parseInt(_0x4ecc39(0x1e5))/0xa*(parseInt(_0x4ecc39(0x200))/0xb)+parseInt(_0x4ecc39(0x1e9))/0xc;if(_0x79514f===_0xfc9c05)break;else _0x4ce14a['push'](_0x4ce14a['shift']());}catch(_0x4b957e){_0x4ce14a['push'](_0x4ce14a['shift']());}}}(_0x562c,0x886be));const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x482729(0x1e6),'connected':_0x482729(0x1d6),'failed':_0x482729(0x1d8),'retrying':_0x482729(0x1f2),'unknown':'MCP\x20状态未知','unauthorized':_0x482729(0x1de),'sessionOccupied':_0x482729(0x1e8),'networkError':_0x482729(0x1fe),'maxRetriesExceeded':_0x482729(0x1e4),'clickToConnect':_0x482729(0x1ee),'clickToConfigure':_0x482729(0x1fb)},'mcpConfig':{'title':_0x482729(0x1f0),'description':_0x482729(0x1e2),'apiKey':_0x482729(0x1ed),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x482729(0x1f7),'enableAuth':'启用身份验证','enableAuthHint':_0x482729(0x1d4),'connectionInfo':_0x482729(0x1d7),'mcpClientConfig':_0x482729(0x1d7),'configInstructions':_0x482729(0x1db),'configStepTitle':'配置步骤:','configStep1':_0x482729(0x1ef),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x482729(0x1d9),'sessionId':_0x482729(0x1ff),'sessionIdDescription':_0x482729(0x1f9),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x482729(0x1f1),'maxRetries':'最大重试次数','save':_0x482729(0x1d0),'saving':'保存中...','note1':_0x482729(0x1da),'note2':_0x482729(0x1f4),'configSaved':_0x482729(0x1f6),'configError':_0x482729(0x1f8),'apiApplyInfo':{'title':_0x482729(0x1d1),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x482729(0x1fd),'getStarted':_0x482729(0x1df)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x482729(0x1fc),'invalidConfig':'配置无效','invalidApiKey':_0x482729(0x1d5)},'connectionStatus':{'disconnected':'未连接','connecting':_0x482729(0x1f3),'connected':_0x482729(0x1e1),'failed':_0x482729(0x1ea),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x482729(0x1d2),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x482729(0x1e3)}}};module[_0x482729(0x1eb)]=e;
1
+ 'use strict';const _0x3413ed=_0x18f5;(function(_0x2011a0,_0xb29a1){const _0xff0cd3=_0x18f5,_0x3ed3ab=_0x2011a0();while(!![]){try{const _0x5452f8=-parseInt(_0xff0cd3(0x10b))/0x1+parseInt(_0xff0cd3(0x110))/0x2+-parseInt(_0xff0cd3(0xfc))/0x3+-parseInt(_0xff0cd3(0x104))/0x4*(-parseInt(_0xff0cd3(0xf6))/0x5)+-parseInt(_0xff0cd3(0x11c))/0x6*(parseInt(_0xff0cd3(0x102))/0x7)+parseInt(_0xff0cd3(0xf9))/0x8+parseInt(_0xff0cd3(0x114))/0x9;if(_0x5452f8===_0xb29a1)break;else _0x3ed3ab['push'](_0x3ed3ab['shift']());}catch(_0x1ec3e8){_0x3ed3ab['push'](_0x3ed3ab['shift']());}}}(_0x3320,0x8db55));function _0x18f5(_0x247ec5,_0x5c7c94){_0x247ec5=_0x247ec5-0xf3;const _0x3320ff=_0x3320();let _0x18f562=_0x3320ff[_0x247ec5];return _0x18f562;}const e={'mcpStatus':{'disconnected':_0x3413ed(0x121),'connecting':'MCP\x20连接中...','connected':_0x3413ed(0x116),'failed':_0x3413ed(0x112),'retrying':_0x3413ed(0xfa),'unknown':_0x3413ed(0x11d),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x3413ed(0x10c),'networkError':_0x3413ed(0x101),'maxRetriesExceeded':_0x3413ed(0x11f),'clickToConnect':_0x3413ed(0x124),'clickToConfigure':_0x3413ed(0x123)},'mcpConfig':{'title':_0x3413ed(0x122),'description':_0x3413ed(0x10d),'apiKey':_0x3413ed(0x113),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x3413ed(0xf7),'enableAuth':_0x3413ed(0x115),'enableAuthHint':_0x3413ed(0xfd),'connectionInfo':_0x3413ed(0x103),'mcpClientConfig':_0x3413ed(0x103),'configInstructions':_0x3413ed(0xf8),'configStepTitle':_0x3413ed(0x11a),'configStep1':_0x3413ed(0xfb),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x3413ed(0x10a),'sessionId':_0x3413ed(0xff),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x3413ed(0x109),'configParameters':'配置参数:','maxRetries':_0x3413ed(0x118),'save':_0x3413ed(0x111),'saving':_0x3413ed(0x119),'note1':_0x3413ed(0x105),'note2':_0x3413ed(0x100),'configSaved':_0x3413ed(0xf5),'configError':'配置保存失败','apiApplyInfo':{'title':_0x3413ed(0xf3),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3413ed(0x106)},'validation':{'apiKeyRequired':_0x3413ed(0x11e),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x3413ed(0x10e)},'connectionStatus':{'disconnected':_0x3413ed(0xfe),'connecting':_0x3413ed(0xf4),'connected':_0x3413ed(0x107),'failed':_0x3413ed(0x11b),'retrying':_0x3413ed(0x108)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x3413ed(0x120),'maxRetriesExceeded':_0x3413ed(0x117)}}};function _0x3320(){const _0x5de9fd=['超出最大重试次数,请稍后再试','最大重试次数','保存中...','配置步骤:','连接失败','186VdTWPo','MCP\x20状态未知','API\x20密钥不能为空','MCP:\x20超出最大重试次数','网络连接错误,请检查您的网络连接','MCP\x20已断开','MCP\x20配置','点击配置\x20MCP','点击连接\x20MCP','什么是\x20API\x20密钥?','连接中...','配置保存成功','60XjsTRa','您的\x20API\x20密钥将在此浏览器中本地存储','将以下配置添加到您的\x20MCP\x20客户端设置中:','3412744mrEObx','MCP\x20重连中...','复制以下\x20JSON\x20配置','1739769UUfJXn','启用身份验证以获得安全连接','未连接','会话ID','您的\x20API\x20密钥安全存储在本地存储中','MCP:\x20网络错误','58611avfHyG','MCP\x20客户端配置','338616zokcFm','配置更改将立即生效','几秒钟内获取您的\x20API\x20密钥','已连接','重连中...','带有\x20Bearer\x20前缀的\x20API\x20密钥。','重启您的\x20MCP\x20客户端以使配置生效','906501qvsNxq','MCP:\x20会话\x20ID\x20已被占用','配置\x20MCP\x20使用\x20AI\x20操作电子表格','API\x20密钥无效,请检查密钥是否正确','exports','1622548URnFNq','保存配置','MCP\x20连接失败','API\x20密钥','654381EurSfT','启用身份验证','MCP\x20已连接'];_0x3320=function(){return _0x5de9fd;};return _0x3320();}module[_0x3413ed(0x10f)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x42c9af=_0x54bb;(function(_0x3dff31,_0x5d02bb){const _0x27a4b6=_0x54bb,_0x63f859=_0x3dff31();while(!![]){try{const _0x5b7f16=parseInt(_0x27a4b6(0x11c))/0x1+parseInt(_0x27a4b6(0x103))/0x2*(parseInt(_0x27a4b6(0x107))/0x3)+parseInt(_0x27a4b6(0x11b))/0x4+-parseInt(_0x27a4b6(0x125))/0x5*(parseInt(_0x27a4b6(0x11f))/0x6)+-parseInt(_0x27a4b6(0xf4))/0x7+-parseInt(_0x27a4b6(0x10f))/0x8+parseInt(_0x27a4b6(0x10b))/0x9*(parseInt(_0x27a4b6(0x104))/0xa);if(_0x5b7f16===_0x5d02bb)break;else _0x63f859['push'](_0x63f859['shift']());}catch(_0x2b8e05){_0x63f859['push'](_0x63f859['shift']());}}}(_0x941d,0x4d04e));function _0x941d(){const _0x30b2a0=['15651iCehKs','Enter\x20your\x20API\x20key','Configuration\x20Parameters:','MCP:\x20Network\x20Error','2677296WCFPVH','API\x20key\x20is\x20required','Max\x20Retries','API\x20Key','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20configuration','1003092VFOPXC','246080SepmzE','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','exports','18kfxQxk','Click\x20to\x20configure\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Client\x20Configuration','946175xtHSNm','Saving...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','What\x20is\x20API\x20Key?','Retrying...','4054309fJAgYG','Configuration\x20saved\x20successfully','Save\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connected','Configuration\x20Steps:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Disconnected','Session\x20ID','MCP\x20Connecting...','MCP\x20Configuration','42722RqLFTx','4160BqIsbT','Connecting...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','81BGuiBA','Univer\x20AI\x20Console','MCP\x20Retrying...','MCP\x20Connection\x20Failed'];_0x941d=function(){return _0x30b2a0;};return _0x941d();}const e={'mcpStatus':{'disconnected':_0x42c9af(0xff),'connecting':_0x42c9af(0x101),'connected':_0x42c9af(0xf8),'failed':_0x42c9af(0x10a),'retrying':_0x42c9af(0x109),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x42c9af(0x10e),'maxRetriesExceeded':_0x42c9af(0x122),'clickToConnect':_0x42c9af(0x118),'clickToConfigure':_0x42c9af(0x120)},'mcpConfig':{'title':_0x42c9af(0x102),'description':_0x42c9af(0x121),'apiKey':_0x42c9af(0x112),'apiKeyPlaceholder':_0x42c9af(0x10c),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x42c9af(0x114),'connectionInfo':_0x42c9af(0x124),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x42c9af(0x106),'configStepTitle':_0x42c9af(0xf9),'configStep1':_0x42c9af(0xf7),'configStep2':_0x42c9af(0x116),'configStep3':_0x42c9af(0x11d),'sessionId':_0x42c9af(0x100),'sessionIdDescription':_0x42c9af(0x128),'authorizationDescription':_0x42c9af(0xfd),'configParameters':_0x42c9af(0x10d),'maxRetries':_0x42c9af(0x111),'save':_0x42c9af(0xf6),'saving':_0x42c9af(0x126),'note1':_0x42c9af(0xfe),'note2':_0x42c9af(0x127),'configSaved':_0x42c9af(0xf5),'configError':_0x42c9af(0x113),'apiApplyInfo':{'title':_0x42c9af(0x129),'description':_0x42c9af(0x123),'univerAiLabel':_0x42c9af(0x108),'getStarted':_0x42c9af(0x117)},'validation':{'apiKeyRequired':_0x42c9af(0x110),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x42c9af(0x11a),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x42c9af(0x105),'connected':_0x42c9af(0x115),'failed':_0x42c9af(0xfc),'retrying':_0x42c9af(0x12a)},'connectionError':{'unauthorized':_0x42c9af(0xfa),'sessionOccupied':_0x42c9af(0xfb),'networkError':_0x42c9af(0x119),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x54bb(_0x4a2a06,_0x359f05){_0x4a2a06=_0x4a2a06-0xf4;const _0x941de0=_0x941d();let _0x54bbf8=_0x941de0[_0x4a2a06];return _0x54bbf8;}module[_0x42c9af(0x11e)]=n;
1
+ 'use strict';function _0x246f(_0xfa1a91,_0x5ee6d8){_0xfa1a91=_0xfa1a91-0xc0;const _0x477297=_0x4772();let _0x246f8f=_0x477297[_0xfa1a91];return _0x246f8f;}const _0xf23bc=_0x246f;(function(_0x39558f,_0x4595d8){const _0x3a381c=_0x246f,_0x23b188=_0x39558f();while(!![]){try{const _0x172201=-parseInt(_0x3a381c(0xd4))/0x1*(-parseInt(_0x3a381c(0xdc))/0x2)+parseInt(_0x3a381c(0xe4))/0x3+-parseInt(_0x3a381c(0xdf))/0x4*(-parseInt(_0x3a381c(0xc3))/0x5)+-parseInt(_0x3a381c(0xee))/0x6+parseInt(_0x3a381c(0xe1))/0x7*(-parseInt(_0x3a381c(0xd3))/0x8)+-parseInt(_0x3a381c(0xdb))/0x9*(-parseInt(_0x3a381c(0xf0))/0xa)+-parseInt(_0x3a381c(0xe3))/0xb;if(_0x172201===_0x4595d8)break;else _0x23b188['push'](_0x23b188['shift']());}catch(_0x1e910b){_0x23b188['push'](_0x23b188['shift']());}}}(_0x4772,0x2030f));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0xf23bc(0xcd),'failed':_0xf23bc(0xf1),'retrying':_0xf23bc(0xc6),'unknown':_0xf23bc(0xd5),'unauthorized':_0xf23bc(0xcb),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xf23bc(0xde),'clickToConnect':_0xf23bc(0xef),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xf23bc(0xe7),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xf23bc(0xf3),'apiKeyPlaceholder':_0xf23bc(0xc9),'apiKeyHint':_0xf23bc(0xd9),'enableAuth':_0xf23bc(0xd8),'enableAuthHint':_0xf23bc(0xd6),'connectionInfo':_0xf23bc(0xe9),'mcpClientConfig':_0xf23bc(0xe9),'configInstructions':_0xf23bc(0xe5),'configStepTitle':_0xf23bc(0xd7),'configStep1':_0xf23bc(0xc7),'configStep2':_0xf23bc(0xe0),'configStep3':_0xf23bc(0xce),'sessionId':_0xf23bc(0xc4),'sessionIdDescription':_0xf23bc(0xd1),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xf23bc(0xc2),'maxRetries':_0xf23bc(0xc8),'save':_0xf23bc(0xd2),'saving':_0xf23bc(0xe6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xf23bc(0xdd),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xf23bc(0xcc),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xf23bc(0xc5),'univerAiLabel':_0xf23bc(0xe8),'getStarted':_0xf23bc(0xed)},'validation':{'apiKeyRequired':_0xf23bc(0xc1),'apiKeyTooShort':_0xf23bc(0xe2),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xf23bc(0xea)},'connectionStatus':{'disconnected':_0xf23bc(0xc0),'connecting':'Connecting...','connected':_0xf23bc(0xec),'failed':'Connection\x20Failed','retrying':_0xf23bc(0xda)},'connectionError':{'unauthorized':_0xf23bc(0xd0),'sessionOccupied':_0xf23bc(0xf2),'networkError':_0xf23bc(0xcf),'maxRetriesExceeded':_0xf23bc(0xeb)}}},n=e;function _0x4772(){const _0x5d6e4a=['Copy\x20the\x20JSON\x20configuration\x20below','Max\x20Retries','Enter\x20your\x20API\x20key','exports','MCP:\x20Unauthorized','Failed\x20to\x20save\x20configuration','MCP\x20Connected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Save\x20Configuration','8MJdjqP','261761JsJZaX','MCP\x20Unknown\x20Status','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Steps:','Enable\x20Authentication','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Retrying...','9nkBjUj','2kWhckh','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','1528RFeyAi','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1356635VbYlBS','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3265823fvrmDD','174072lfGelt','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Saving...','MCP\x20Configuration','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','1046202RgDMyB','Click\x20to\x20connect\x20MCP','2464070hABetu','MCP\x20Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key','Disconnected','API\x20key\x20is\x20required','Configuration\x20Parameters:','3020WOaFgh','Session\x20ID','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Retrying...'];_0x4772=function(){return _0x5d6e4a;};return _0x4772();}module[_0xf23bc(0xca)]=n;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1d63d5=_0x3b30;(function(_0x270eb8,_0x50d8bd){const _0x578e30=_0x3b30,_0x24393d=_0x270eb8();while(!![]){try{const _0x134c42=parseInt(_0x578e30(0x264))/0x1+parseInt(_0x578e30(0x19c))/0x2+parseInt(_0x578e30(0x296))/0x3+-parseInt(_0x578e30(0x1d7))/0x4+parseInt(_0x578e30(0x262))/0x5+-parseInt(_0x578e30(0x292))/0x6+-parseInt(_0x578e30(0x239))/0x7;if(_0x134c42===_0x50d8bd)break;else _0x24393d['push'](_0x24393d['shift']());}catch(_0x4132c9){_0x24393d['push'](_0x24393d['shift']());}}}(_0x24fe,0x1dbbc));var Pe=Object[_0x1d63d5(0x1cf)],Ee=(_0x3d32d5,_0xfe6670,_0x5b4076)=>_0xfe6670 in _0x3d32d5?Pe(_0x3d32d5,_0xfe6670,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b4076}):_0x3d32d5[_0xfe6670]=_0x5b4076,x=(_0x52f0f1,_0x5a0b05,_0x4371ad)=>Ee(_0x52f0f1,typeof _0x5a0b05!=_0x1d63d5(0x1c3)?_0x5a0b05+'':_0x5a0b05,_0x4371ad);import{LocaleService as _0x18ea5a,Inject as _0x1bd7cd,Injector as _0x4f7a8c,IConfigService as _0x50f488,ILocalStorageService as _0x34e505,ILogService as _0xab12b7,Disposable as _0x1c7d39,CommandType as _0x74002,ICommandService as _0x23b376,DependentOn as _0x382c3e,Plugin as _0x1bf85c,merge as _0x4cf638}from'@univerjs/core';import{jsxs as _0x412ff6,jsx as _0x1f2abd}from'react/jsx-runtime';import{MCPConnectionStatus as _0x4addaf,MCPConnectionError as _0x2da3be,MCPConnectionController as _0x56cc0c,MCP_PLUGIN_CONFIG_KEY as _0x1dacc9,UniverMCPPlugin as _0x366911}from'@univerjs-pro/mcp';import{clsx as _0xd9c741,Input as _0x4ecea3,Button as _0x1aab3f,MessageType as _0x3a108,Tooltip as _0x1a5250}from'@univerjs/design';import{useDependency as _0xf6a7e3,useObservable as _0x527d97,IUIPartsService as _0x55b040,IDialogService as _0x53b0c7,IMessageService as _0x321c58,ComponentManager as _0x3023e6,connectInjector as _0x11d920,BuiltInUIPart as _0x28880c,MenuItemType as _0x5bb5ca,RibbonStartGroup as _0x1ff55b,IMenuManagerService as _0x3c2a36}from'@univerjs/ui';import{BehaviorSubject as _0x53091a}from'rxjs';import{useRef as _0x3b95a5,createElement as _0x46e596,forwardRef as _0x184141,useState as _0x2f2f3d,useCallback as _0xab09e9}from'react';import{ISocketService as _0xb645cb,WebSocketService as _0x48b6a2}from'@univerjs/network';function b({ref:_0x1130da,..._0xf5873}){const _0x1427e8=_0x1d63d5,{icon:_0x11472b,id:_0x174575,className:_0x460604,extend:_0x1fdf23,..._0x285aec}=_0xf5873,_0x24f719=(_0x1427e8(0x19d)+_0x174575+'\x20'+(_0x460604||''))[_0x1427e8(0x25a)](),_0x5367a9=_0x3b95a5('_'+We());return ae(_0x11472b,''+_0x174575,{'defIds':_0x11472b[_0x1427e8(0x22a)],'idSuffix':_0x5367a9[_0x1427e8(0x253)]},{'ref':_0x1130da,'className':_0x24f719,..._0x285aec},_0x1fdf23);}function ae(_0x252779,_0x2e5fcc,_0x6e74b0,_0x4dd8ec,_0x3147e1){const _0xcfe863=_0x1d63d5;return _0x46e596(_0x252779[_0xcfe863(0x191)],{'key':_0x2e5fcc,...Ye(_0x252779,_0x6e74b0,_0x3147e1),..._0x4dd8ec},(Ze(_0x252779,_0x6e74b0)['children']||[])[_0xcfe863(0x175)]((_0xb59bf2,_0x2a9553)=>ae(_0xb59bf2,_0x2e5fcc+'-'+_0x252779[_0xcfe863(0x191)]+'-'+_0x2a9553,_0x6e74b0,void 0x0,_0x3147e1)));}function Ye(_0x29a9ef,_0x1d634c,_0x2cae40){const _0x16a66e=_0x1d63d5,_0x473339={..._0x29a9ef[_0x16a66e(0x29d)]};_0x2cae40!=null&&_0x2cae40[_0x16a66e(0x23e)]&&_0x473339[_0x16a66e(0x1ba)]===_0x16a66e(0x23e)&&(_0x473339[_0x16a66e(0x1ba)]=_0x2cae40[_0x16a66e(0x23e)]),_0x29a9ef[_0x16a66e(0x191)]===_0x16a66e(0x1e6)&&_0x473339['id']&&(_0x473339['id']=_0x473339['id']+_0x1d634c[_0x16a66e(0x1c9)]),Object[_0x16a66e(0x1f2)](_0x473339)[_0x16a66e(0x21c)](([_0x64d992,_0x26b478])=>{const _0xe2473d=_0x16a66e;_0x64d992===_0xe2473d(0x1e6)&&typeof _0x26b478==_0xe2473d(0x259)&&(_0x473339[_0x64d992]=_0x26b478[_0xe2473d(0x1b4)](/url\(#(.*)\)/,'url(#$1'+_0x1d634c[_0xe2473d(0x1c9)]+')'));});const {defIds:_0x472f0b}=_0x1d634c;return!_0x472f0b||_0x472f0b[_0x16a66e(0x25f)]===0x0||(_0x29a9ef[_0x16a66e(0x191)]===_0x16a66e(0x1ac)&&_0x473339['xlink:href']&&(_0x473339['xlink:href']=_0x473339[_0x16a66e(0x20b)]+_0x1d634c[_0x16a66e(0x1c9)]),Object['entries'](_0x473339)[_0x16a66e(0x21c)](([_0x2fb005,_0x1d60cc])=>{const _0x58b503=_0x16a66e;typeof _0x1d60cc==_0x58b503(0x259)&&(_0x473339[_0x2fb005]=_0x1d60cc[_0x58b503(0x1b4)](/url\(#(.*)\)/,_0x58b503(0x2a7)+_0x1d634c[_0x58b503(0x1c9)]+')'));})),_0x473339;}function _0x3b30(_0x1cc71e,_0x3c8445){_0x1cc71e=_0x1cc71e-0x15e;const _0x24fe35=_0x24fe();let _0x3b30b5=_0x24fe35[_0x1cc71e];return _0x3b30b5;}function _0x24fe(){const _0x50b8a5=['mcpConfig.connectionStatus.retrying','_validateConfig','univer-space-y-4','mcpConfig.connectionError.maxRetriesExceeded','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.authorizationDescription','FAILED','请输入您的\x20API\x20密钥','Saving...','点击配置\x20MCP','defIds','配置\x20MCP\x20使用\x20AI\x20操作电子表格','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','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','errorMessage','_dialogService','on-line-icon_clip0_910_349','add','_loadStoredApiKey','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.connectionStatus.connected','univer-size-4','权限验证失败,请检查您的\x20API\x20密钥','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Copy\x20the\x20JSON\x20configuration\x20below','2660532oQIHNm','mcpStatus.sessionOccupied','_componentManager','Configuration\x20saved\x20successfully','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','colorChannel1','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','isValid','url(#on-line-icon_clip0_910_349)','M0\x200H16V16H0z','HEADER_MENU','mcpConfig.apiApplyInfo.description','univer-text-green-500','none','http','_localStorageService','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20连接中...','univer-shrink-0\x20univer-text-red-500','_createConfigPanelComponent','API\x20key\x20is\x20required','MCP:\x20Session\x20ID\x20Occupied','OffLineIcon','div','univer_session_id:','stringify','current','check-mark-icon','showDeveloperTools','button','__setCustomHeaders','mcp-ui.config','string','trim','univer-space-y-2','MAX_RETRIES_EXCEEDED','配置保存成功','value','length','MCP:\x20超出最大重试次数','univer-text-xs\x20univer-text-gray-500','435825PcTXZE','univer-text-sm\x20univer-font-medium','195857YlmGCX','重启您的\x20MCP\x20客户端以使配置生效','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer.ai','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','Invalid\x20configuration','http://www.w3.org/2000/svg','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-bg-red-500','svg','Enter\x20your\x20API\x20key','univer-flex\x20univer-gap-3','mcpStatus.connected','Success','RETRYING','mcpConfig.configStep1','0\x200\x2017\x2016','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','DISCONNECTED','带有\x20Bearer\x20前缀的\x20API\x20密钥。','配置步骤:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-flex-1','_initConfigSync','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.configStep2','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','点击连接\x20MCP','has','_messageService','children','API\x20密钥','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','CheckMarkIcon','Connecting...','univer-text-blue-600','MCP\x20Connection\x20Failed','error','_uiPartsService','univer-text-white','mcpStatus.retrying','会话ID','mcp.apiKey','next','469596YRNHxm','几秒钟内获取您的\x20API\x20密钥','MCP\x20Client\x20Configuration','clipPath','393840KEhDie','https://console.univer.plus','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.connectionError.sessionOccupied','defs','Get\x20your\x20API\x20key\x20in\x20seconds','将以下配置添加到您的\x20MCP\x20客户端设置中:','attrs','univer-flex\x20univer-items-center\x20univer-gap-3','univer-space-y-3','会话\x20ID\x20已被占用,请稍后再试','univer.plus','网络连接错误,请检查您的网络连接','_handleConfigSave','enableAutoConnect','Session\x20ID','mcpStatus.failed','url(#$1','univer-flex\x20univer-items-center\x20univer-gap-2','pluginName','mcpConfig.configInstructions','配置保存失败','white','_config','MCP:\x20网络错误','connectionError$','启用身份验证以获得安全连接','UniverIcon','MCP:\x20Network\x20Error','SESSION_ID_OCCUPIED','_apiKey$','_injector','复制以下\x20JSON\x20配置','配置无效','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.description','MCP:\x20未授权','off-line-icon','Univer\x20AI\x20Console','MCP\x20已连接','Error','_mcpConnectionController','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpServerUrl','_logService','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','showConfigPanel','noopener\x20noreferrer','map','includes','重连中...','mcpConfig.title','mcpConfig.sessionIdDescription','showStatus','Configuration\x20Notes:','mcpStatus.maxRetriesExceeded','连接失败','Univer\x20AI\x20控制台','mcpConfig.note1','Connection\x20Failed','univer-bg-green-500','univer-text-gray-500','OnLineIcon','mcpConfig.note2','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','sessionId$','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','CloseIcon','\x20-\x20','off-line-icon_clip0_910_343','Bearer\x20','API\x20Key','univer-shrink-0\x20univer-text-blue-500','setConfig','univer-text-red-500','_localeService','tag','translate(.97)','help-icon','push','0\x200\x2016\x2016','setItem','displayName','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','_commandService','未连接','mcpConfig.connectionError.unauthorized','356124wpzkGc','univerjs-icon\x20univerjs-icon-','mcpStatus.unauthorized','subscribeConfigValue$','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.connectionStatus.connecting','COMMAND','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','超出最大重试次数,请稍后再试','toString','getConfig','_initAutoConnect','getItem','Enable\x20Authentication','<SESSION_ID>','_connectionController','use','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','_configService','assign','path','配置更改将立即生效','将配置添加到您的\x20MCP\x20客户端设置文件中','mcpStatus.connecting','replace','1em','_blank','https://mcp.univer.ai/mcp/?univer_session_id=','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','random','fill','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','_initializeCommands','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','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','Save\x20Configuration','mcpStatus.clickToConfigure','close','MCP\x20Configuration','symbol','univer-space-y-5','OTHERS','API\x20key\x20with\x20Bearer\x20prefix.','pre','_config$','idSuffix','保存中...','univer-text-gray-400','span','mcpStatus.networkError','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','defineProperty','univer-size-2\x20univer-rounded-full','mcpConfig.apiApplyInfo.title','MCP\x20Retrying...','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','onStarting','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','mcpStatus.clickToConnect','48936rKrWNj','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','NONE','_handleConfigure','show','get','validateApiKey','MCP:\x20会话\x20ID\x20已被占用','Configuration\x20Steps:','apiKey','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','round','MCP\x20状态未知','启用身份验证','mcpConfig.configError','mask','配置参数:','_registerComponent','Failed\x20to\x20save\x20configuration','univer-text-yellow-500','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','evenodd','mcp-config-dialog','univer-flex\x20univer-items-start\x20univer-gap-2','mcpConfig.connectionInfo','mcpConfig.configStep3','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','entries','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','mcpConfig.save','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','API\x20密钥无效,请检查密钥是否正确','_loading$','substring','disposeWithMe','_mcpCoreConfig$','<API_KEY>','HelpIcon','currentColor','MenuIcon','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-min-w-0\x20univer-flex-1','mcpConfig.configStepTitle','univer-text-xs\x20univer-text-gray-600','MCP\x20连接失败','mcpConfig.connectionError.networkError','CONNECTING','UNAUTHORIZED','univer-text-sm\x20univer-text-gray-500','保存配置','MCP:\x20Unauthorized','xlink:href','univer-flex\x20univer-items-start\x20univer-gap-3','MCPConfigPanel','什么是\x20API\x20密钥?','removeItem','univer-font-medium','mcpConfig.apiApplyInfo.getStarted','getOwnPropertyDescriptor','CONNECTED','mcpConfig.validation.apiKeyRequired','MCP\x20配置','MCP\x20Connected','MCP\x20客户端配置','getCurrentConfig','univer-flex\x20univer-items-center','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','mcpConfig.validation.apiKeyTooShort','forEach','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','registerCommand','_initializeMenus'];_0x24fe=function(){return _0x50b8a5;};return _0x24fe();}function Ze(_0x3b638a,_0x596354){const _0x513665=_0x1d63d5;var _0x526bb4;const {defIds:_0x15b9bd}=_0x596354;return!_0x15b9bd||_0x15b9bd['length']===0x0?_0x3b638a:_0x3b638a[_0x513665(0x191)]===_0x513665(0x29a)&&((_0x526bb4=_0x3b638a[_0x513665(0x284)])!=null&&_0x526bb4[_0x513665(0x25f)])?{..._0x3b638a,'children':_0x3b638a[_0x513665(0x284)][_0x513665(0x175)](_0x1145ad=>typeof _0x1145ad[_0x513665(0x29d)]['id']=='string'&&_0x15b9bd&&_0x15b9bd[_0x513665(0x176)](_0x1145ad[_0x513665(0x29d)]['id'])?{..._0x1145ad,'attrs':{..._0x1145ad['attrs'],'id':_0x1145ad[_0x513665(0x29d)]['id']+_0x596354['idSuffix']}}:_0x1145ad)}:_0x3b638a;}function We(){const _0x517db0=_0x1d63d5;return Math[_0x517db0(0x1b9)]()[_0x517db0(0x1a5)](0x24)[_0x517db0(0x1f8)](0x2,0x8);}b[_0x1d63d5(0x197)]=_0x1d63d5(0x15f);const qe={'tag':'svg','attrs':{'xmlns':_0x1d63d5(0x26c),'fill':_0x1d63d5(0x246),'viewBox':_0x1d63d5(0x195),'width':_0x1d63d5(0x1b5),'height':_0x1d63d5(0x1b5)},'children':[{'tag':_0x1d63d5(0x1b0),'attrs':{'fill':_0x1d63d5(0x1fd),'d':'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','fillRule':_0x1d63d5(0x1ec),'clipRule':'evenodd'}}]},le=_0x184141(function(_0x583a22,_0x5824c3){const _0x50cb91=_0x1d63d5;return _0x46e596(b,Object[_0x50cb91(0x1af)]({},_0x583a22,{'id':_0x50cb91(0x254),'ref':_0x5824c3,'icon':qe}));});le['displayName']=_0x1d63d5(0x287);const Xe={'tag':'svg','attrs':{'xmlns':_0x1d63d5(0x26c),'fill':'none','viewBox':_0x1d63d5(0x195),'width':_0x1d63d5(0x1b5),'height':'1em'},'children':[{'tag':_0x1d63d5(0x1b0),'attrs':{'fill':_0x1d63d5(0x1fd),'d':_0x1d63d5(0x21a)}}]},ue=_0x184141(function(_0x43d521,_0x4b9dae){return _0x46e596(b,Object['assign']({},_0x43d521,{'id':'close-icon','ref':_0x4b9dae,'icon':Xe}));});ue['displayName']=_0x1d63d5(0x188);const Je={'tag':_0x1d63d5(0x26f),'attrs':{'xmlns':_0x1d63d5(0x26c),'fill':_0x1d63d5(0x246),'viewBox':_0x1d63d5(0x195),'width':_0x1d63d5(0x1b5),'height':_0x1d63d5(0x1b5)},'children':[{'tag':_0x1d63d5(0x1b0),'attrs':{'fill':_0x1d63d5(0x1fd),'d':_0x1d63d5(0x1d5)}},{'tag':'path','attrs':{'fill':_0x1d63d5(0x1fd),'d':_0x1d63d5(0x22d)}},{'tag':_0x1d63d5(0x1b0),'attrs':{'fill':_0x1d63d5(0x1fd),'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':'evenodd','clipRule':_0x1d63d5(0x1ec)}}]},ve=_0x184141(function(_0x3881f3,_0xa55c39){const _0x4c2764=_0x1d63d5;return _0x46e596(b,Object[_0x4c2764(0x1af)]({},_0x3881f3,{'id':_0x4c2764(0x193),'ref':_0xa55c39,'icon':Je}));});ve[_0x1d63d5(0x197)]=_0x1d63d5(0x1fc);const Qe={'tag':'svg','attrs':{'xmlns':_0x1d63d5(0x26c),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1d63d5(0x1b5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1d63d5(0x1bd),'strokeLinecap':_0x1d63d5(0x1e2),'strokeLinejoin':_0x1d63d5(0x1e2),'strokeWidth':1.2}}]},{'tag':_0x1d63d5(0x29a),'attrs':{},'children':[{'tag':_0x1d63d5(0x295),'attrs':{'id':_0x1d63d5(0x18a)},'children':[{'tag':_0x1d63d5(0x1b0),'attrs':{'fill':_0x1d63d5(0x2ac),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1d63d5(0x18a)]},de=_0x184141(function(_0x50afc8,_0x574a58){const _0x3e4300=_0x1d63d5;return _0x46e596(b,Object['assign']({},_0x50afc8,{'id':_0x3e4300(0x169),'ref':_0x574a58,'icon':Qe}));});de['displayName']=_0x1d63d5(0x24f);const en={'tag':_0x1d63d5(0x26f),'attrs':{'xmlns':_0x1d63d5(0x26c),'fill':_0x1d63d5(0x246),'viewBox':_0x1d63d5(0x276),'width':'1em','height':_0x1d63d5(0x1b5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d63d5(0x241)},'children':[{'tag':_0x1d63d5(0x1b0),'attrs':{'stroke':_0x1d63d5(0x1fd),'d':_0x1d63d5(0x1ff),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d63d5(0x29a),'attrs':{},'children':[{'tag':_0x1d63d5(0x295),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x1d63d5(0x1b0),'attrs':{'fill':_0x1d63d5(0x2ac),'d':_0x1d63d5(0x242),'transform':_0x1d63d5(0x192)}}]}]}],'defIds':[_0x1d63d5(0x230)]},ge=_0x184141(function(_0x487ef8,_0x40dd10){const _0x4a2336=_0x1d63d5;return _0x46e596(b,Object[_0x4a2336(0x1af)]({},_0x487ef8,{'id':'on-line-icon','ref':_0x40dd10,'icon':en}));});ge[_0x1d63d5(0x197)]=_0x1d63d5(0x183);function nn(_0x3f759b){const _0x31a44b=_0x1d63d5;var _0x364823,_0x2a6273;const {mcpCoreConfig:_0x5ea105,onSave:_0x4c7209,loading:_0x1b7d06=!0x1,config:_0x3de1f9,connectionStatus$:_0x26c454,connectionError$:_0xa2292b,currentApiKey$:_0x227f2d,currentSessionId$:_0xd70d50}=_0x3f759b,_0x4ac551=_0xf6a7e3(_0x18ea5a),_0x44b13c=_0x527d97(_0x26c454,_0x4addaf[_0x31a44b(0x278)]),_0x448b22=_0x527d97(_0xa2292b,_0x2da3be[_0x31a44b(0x1d9)]),_0x4381f3=_0x527d97(_0xd70d50,''),_0x247164=_0x527d97(_0x227f2d,''),[_0x29391d,_0x3b032b]=_0x2f2f3d(_0x247164||''),_0x368455=!0x0,_0x11442a=_0x3de1f9[_0x31a44b(0x255)]&&_0x5ea105[_0x31a44b(0x170)]&&(_0x5ea105[_0x31a44b(0x170)]['includes'](_0x31a44b(0x2a1))||_0x5ea105[_0x31a44b(0x170)][_0x31a44b(0x176)](_0x31a44b(0x268))),_0x58bbbc=(_0x364823=_0x5ea105[_0x31a44b(0x170)])==null?void 0x0:_0x364823['includes']('univer.plus'),_0x2dccda=(_0x2a6273=_0x5ea105[_0x31a44b(0x170)])==null?void 0x0:_0x2a6273[_0x31a44b(0x176)](_0x31a44b(0x268)),_0x423b7a=_0x58bbbc?_0x31a44b(0x297):'https://console.univer.ai',_0x1a6339=_0x3de1f9['showDeveloperTools']&&(_0x58bbbc||_0x2dccda),[_0x434697,_0x525641]=_0x2f2f3d(!_0x29391d['trim']()),_0x45a710=(_0x11bba6,_0x5dd1b4)=>{const _0x4c3507=_0x31a44b;if(_0x5dd1b4===_0x2da3be['UNAUTHORIZED'])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x11bba6){case _0x4addaf['CONNECTED']:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x4addaf[_0x4c3507(0x206)]:case _0x4addaf[_0x4c3507(0x274)]:return _0x4c3507(0x1b8);case _0x4addaf[_0x4c3507(0x226)]:return _0x4c3507(0x267);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x8b1ae1=(_0xf5bdf,_0x8f291d)=>{const _0x2eab99=_0x31a44b;if(_0x8f291d===_0x2da3be[_0x2eab99(0x207)])return'univer-bg-red-500';switch(_0xf5bdf){case _0x4addaf[_0x2eab99(0x213)]:return _0x2eab99(0x181);case _0x4addaf['CONNECTING']:case _0x4addaf[_0x2eab99(0x274)]:return'univer-bg-blue-500';case _0x4addaf['FAILED']:return _0x2eab99(0x26e);default:return'univer-bg-gray-500';}},_0x5c9fb6=_0x145aad=>{const _0x712c7f=_0x31a44b;switch(_0x145aad){case _0x4addaf['CONNECTED']:return _0x4ac551['t'](_0x712c7f(0x234));case _0x4addaf[_0x712c7f(0x206)]:return _0x4ac551['t'](_0x712c7f(0x1a1));case _0x4addaf[_0x712c7f(0x226)]:return _0x4ac551['t']('mcpConfig.connectionStatus.failed');case _0x4addaf[_0x712c7f(0x274)]:return _0x4ac551['t'](_0x712c7f(0x220));default:return _0x4ac551['t']('mcpConfig.connectionStatus.disconnected');}},_0x99bd7a=_0x30906e=>{const _0x180545=_0x31a44b;switch(_0x30906e){case _0x2da3be['UNAUTHORIZED']:return _0x4ac551['t'](_0x180545(0x19b));case _0x2da3be['SESSION_ID_OCCUPIED']:return _0x4ac551['t'](_0x180545(0x299));case _0x2da3be['NETWORK_ERROR']:return _0x4ac551['t'](_0x180545(0x205));case _0x2da3be[_0x180545(0x25c)]:return _0x4ac551['t'](_0x180545(0x223));default:return'';}},_0x112f2a=_0xab09e9(()=>{const _0xa040f8=_0x31a44b,_0x4f0570={..._0x5ea105,'apiKey':_0x29391d[_0xa040f8(0x25a)](),'enableAuth':_0x368455};_0x4c7209(_0x4f0570);},[_0x5ea105,_0x29391d,_0x368455,_0x4c7209]),_0x5e0fc9=_0x29391d[_0x31a44b(0x25a)]()[_0x31a44b(0x25f)]>0x0;return _0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x1d3),'children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x23d),'children':_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x29e),'children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x1e1),'children':_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x28d),'children':'⚙'})}),_0x1f2abd('div',{'children':_0x1f2abd('p',{'className':_0x31a44b(0x208),'children':_0x4ac551['t'](_0x31a44b(0x167))})})]})}),_0x412ff6(_0x31a44b(0x250),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0xd9c741('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x45a710(_0x44b13c,_0x448b22)),'children':_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x2a8),'children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0xd9c741(_0x31a44b(0x1d0),_0x8b1ae1(_0x44b13c,_0x448b22))}),_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x263),'children':_0x5c9fb6(_0x44b13c)})]})}),_0x448b22!==_0x2da3be[_0x31a44b(0x1d9)]&&(_0x44b13c===_0x4addaf[_0x31a44b(0x226)]||_0x448b22===_0x2da3be[_0x31a44b(0x207)])&&_0x1f2abd('div',{'className':_0x31a44b(0x1ce),'children':_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x1ee),'children':[_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x24b),'children':'⚠️'}),_0x1f2abd('p',{'className':_0x31a44b(0x16e),'children':_0x99bd7a(_0x448b22)})]})})]}),_0x1f2abd(_0x31a44b(0x250),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x412ff6('div',{'className':_0x31a44b(0x1c4),'children':[_0x412ff6(_0x31a44b(0x250),{'className':'univer-space-y-2','children':[_0x412ff6('label',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x1f2abd(_0x31a44b(0x1cc),{'children':'🔑'}),'\x20',_0x4ac551['t']('mcpConfig.apiKey'),_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x18f),'children':'*'}),_0x11442a&&_0x1f2abd('a',{'className':_0x31a44b(0x1eb),'title':_0x4ac551['t'](_0x31a44b(0x1d1)),'role':'button','onClick':()=>_0x525641(!0x0),'children':_0x1f2abd(ve,{})})]}),_0x1f2abd(_0x4ecea3,{'type':'text','placeholder':_0x4ac551['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x29391d,'disabled':_0x1b7d06,'autoComplete':'off','onChange':_0x3b032b}),_0x1f2abd('p',{'className':_0x31a44b(0x261),'children':_0x4ac551['t']('mcpConfig.apiKeyHint')})]}),_0x11442a&&_0x434697&&_0x412ff6('div',{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x1f2abd('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':'button','onClick':()=>_0x525641(!0x1),'children':_0x1f2abd(ue,{'className':_0x31a44b(0x235)})}),_0x412ff6(_0x31a44b(0x250),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x1f2abd(_0x31a44b(0x250),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x289),'children':'🚀'})}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x27c),'children':[_0x1f2abd('h4',{'className':_0x31a44b(0x237),'children':_0x4ac551['t'](_0x31a44b(0x1d1))}),_0x1f2abd('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x4ac551['t'](_0x31a44b(0x244))}),_0x1f2abd(_0x31a44b(0x250),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x1a6339&&_0x412ff6('a',{'className':_0x31a44b(0x1be),'href':_0x423b7a,'target':_0x31a44b(0x1b6),'rel':_0x31a44b(0x174),'children':[_0x1f2abd(_0x31a44b(0x1cc),{'children':'🤖'}),_0x4ac551['t'](_0x31a44b(0x27e)),_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x1cb),'children':'↗'})]})}),_0x412ff6('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x4ac551['t'](_0x31a44b(0x211))]})]})]})]}),_0x3de1f9[_0x31a44b(0x255)]&&_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x26a),'children':[_0x412ff6('h4',{'className':_0x31a44b(0x1d8),'children':[_0x1f2abd(_0x31a44b(0x1cc),{'children':'🔗'}),'\x20',_0x4ac551['t'](_0x31a44b(0x1ef))]}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x222),'children':[_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x29f),'children':[_0x1f2abd('p',{'className':_0x31a44b(0x203),'children':_0x4ac551['t'](_0x31a44b(0x2aa))}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x25b),'children':[_0x1f2abd(_0x31a44b(0x250),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x4ac551['t'](_0x31a44b(0x202))}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x1f5),'children':[_0x412ff6('div',{'className':_0x31a44b(0x2a8),'children':[_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x187),'children':'1'}),_0x4ac551['t'](_0x31a44b(0x275))]}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x2a8),'children':[_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x187),'children':'2'}),_0x4ac551['t'](_0x31a44b(0x27f))]}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x2a8),'children':[_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x187),'children':'3'}),_0x4ac551['t'](_0x31a44b(0x1f0))]})]})]})]}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x25b),'children':[_0x1f2abd('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x31a44b(0x1c2)}),_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x185),'children':_0x1f2abd(_0x31a44b(0x1c7),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x31a44b(0x252)]({'mcpServers':{'univer':{'url':_0x31a44b(0x1b7)+(_0x4381f3||_0x31a44b(0x1aa)),'type':_0x31a44b(0x247),'headers':{'Authorization':'Bearer\x20'+(_0x29391d||_0x31a44b(0x1fb))}}}},null,0x2)})})]}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x29f),'children':[_0x1f2abd('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x4ac551['t']('mcpConfig.configParameters')}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x25b),'children':[_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x20c),'children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x277)}),_0x412ff6('div',{'className':_0x31a44b(0x201),'children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x286),'children':_0x31a44b(0x251)}),_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x261),'children':_0x4ac551['t'](_0x31a44b(0x179))})]})]}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x20c),'children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x277)}),_0x412ff6(_0x31a44b(0x250),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x286),'children':'Authorization:'}),_0x1f2abd(_0x31a44b(0x250),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x4ac551['t'](_0x31a44b(0x225))})]})]})]})]})]})]}),_0x1f2abd(_0x1aab3f,{'onClick':_0x112f2a,'disabled':!_0x5e0fc9||_0x1b7d06,'className':_0x31a44b(0x1f3),'children':_0x1b7d06?_0x412ff6(_0x31a44b(0x1cc),{'className':_0x31a44b(0x2a8),'children':[_0x1f2abd(_0x31a44b(0x1cc),{'children':'⟲'}),_0x4ac551['t']('mcpConfig.saving')]}):_0x412ff6(_0x31a44b(0x1cc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1f2abd(le,{}),_0x4ac551['t'](_0x31a44b(0x1f4))]})}),_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x1ad),'children':_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x271),'children':[_0x1f2abd(_0x31a44b(0x1cc),{'className':_0x31a44b(0x18d),'children':'💡'}),_0x412ff6(_0x31a44b(0x250),{'className':_0x31a44b(0x166),'children':[_0x1f2abd(_0x31a44b(0x250),{'className':_0x31a44b(0x210),'children':_0x31a44b(0x17b)}),_0x412ff6(_0x31a44b(0x250),{'children':['•',_0x4ac551['t'](_0x31a44b(0x17f))]}),_0x412ff6(_0x31a44b(0x250),{'children':['•',_0x4ac551['t'](_0x31a44b(0x184))]})]})]})})]})})]});}const y=_0x1d63d5(0x258),ie={'showDeveloperTools':!0x1,'showStatus':!0x0};var rn=Object[_0x1d63d5(0x212)],tn=(_0x3e0109,_0x27d087,_0x1d2d43,_0x39802d)=>{for(var _0x3819dc=_0x39802d>0x1?void 0x0:_0x39802d?rn(_0x27d087,_0x1d2d43):_0x27d087,_0x51597e=_0x3e0109['length']-0x1,_0x4e869b;_0x51597e>=0x0;_0x51597e--)(_0x4e869b=_0x3e0109[_0x51597e])&&(_0x3819dc=_0x4e869b(_0x3819dc)||_0x3819dc);return _0x3819dc;},d=(_0x593a32,_0x2b7a5b)=>(_0x4c0400,_0xf9e787)=>_0x2b7a5b(_0x4c0400,_0xf9e787,_0x593a32);const U=_0x1d63d5(0x290),L=_0x1d63d5(0x1ed);let I=class extends _0x1c7d39{constructor(_0xb6d45,_0x365339,_0x57a51f,_0x3c9b97,_0x539132,_0x495e47,_0x550d7e,_0x4cb0f0,_0x34f807,_0x36d321){const _0x79f20c=_0x1d63d5;super(),x(this,_0x79f20c(0x1f7),new _0x53091a(!0x1)),x(this,_0x79f20c(0x1fa),new _0x53091a({})),x(this,_0x79f20c(0x1c8),new _0x53091a({})),x(this,_0x79f20c(0x162),new _0x53091a('')),x(this,_0x79f20c(0x2a3),async _0x2e9c68=>{const _0x536fb5=_0x79f20c;var _0x50cae8,_0x5f0231;this[_0x536fb5(0x1f7)]['next'](!0x0);try{const _0xe5fec8=await this[_0x536fb5(0x221)](_0x2e9c68);if(!_0xe5fec8[_0x536fb5(0x240)]){this[_0x536fb5(0x283)][_0x536fb5(0x1db)]({'type':_0x3a108[_0x536fb5(0x16c)],'content':_0xe5fec8[_0x536fb5(0x22e)]||this[_0x536fb5(0x190)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x2e9c68[_0x536fb5(0x1e0)]?await this[_0x536fb5(0x248)][_0x536fb5(0x196)](U,_0x2e9c68[_0x536fb5(0x1e0)]['trim']()):await this[_0x536fb5(0x248)][_0x536fb5(0x20f)](U),this[_0x536fb5(0x162)][_0x536fb5(0x291)](((_0x50cae8=_0x2e9c68[_0x536fb5(0x1e0)])==null?void 0x0:_0x50cae8[_0x536fb5(0x25a)]())||''),this[_0x536fb5(0x16d)][_0x536fb5(0x257)]({'Authorization':_0x536fb5(0x18b)+((_0x5f0231=_0x2e9c68[_0x536fb5(0x1e0)])==null?void 0x0:_0x5f0231[_0x536fb5(0x25a)]())}),this[_0x536fb5(0x283)][_0x536fb5(0x1db)]({'type':_0x3a108[_0x536fb5(0x273)],'content':this[_0x536fb5(0x190)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x20300b=_0x536fb5;this[_0x20300b(0x22f)][_0x20300b(0x1c1)](L);},0x320);}catch(_0x2320e3){this[_0x536fb5(0x171)][_0x536fb5(0x28b)](_0x536fb5(0x23f),_0x2320e3),this[_0x536fb5(0x283)][_0x536fb5(0x1db)]({'type':_0x3a108[_0x536fb5(0x16c)],'content':this[_0x536fb5(0x190)]['t'](_0x536fb5(0x1e5))});}finally{this[_0x536fb5(0x1f7)][_0x536fb5(0x291)](!0x1);}}),(this[_0x79f20c(0x163)]=_0xb6d45,this[_0x79f20c(0x28c)]=_0x365339,this[_0x79f20c(0x1ae)]=_0x57a51f,this[_0x79f20c(0x248)]=_0x3c9b97,this[_0x79f20c(0x22f)]=_0x539132,this[_0x79f20c(0x283)]=_0x495e47,this[_0x79f20c(0x23b)]=_0x550d7e,this[_0x79f20c(0x190)]=_0x4cb0f0,this[_0x79f20c(0x171)]=_0x34f807,this[_0x79f20c(0x16d)]=_0x36d321,this[_0x79f20c(0x27d)](),this['_loadStoredApiKey'](),this[_0x79f20c(0x1e8)]());}['showConfigPanel'](){const _0x358dba=_0x1d63d5,_0x428954=this[_0x358dba(0x1ae)]['getConfig'](y);_0x428954!=null&&_0x428954[_0x358dba(0x255)]&&this['_dialogService']['open']({'id':L,'title':{'title':this['_localeService']['t'](_0x358dba(0x178))},'children':{'label':_0x358dba(0x20d)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x242e4c=_0x358dba;this['_dialogService'][_0x242e4c(0x1c1)](L);}});}[_0x1d63d5(0x218)](){const _0x2bcd2b=_0x1d63d5;return this[_0x2bcd2b(0x1fa)][_0x2bcd2b(0x25e)];}[_0x1d63d5(0x1e8)](){const _0x39b590=_0x1d63d5;this[_0x39b590(0x1f9)](this[_0x39b590(0x23b)]['register'](_0x39b590(0x20d),this['_createConfigPanelComponent']()));}[_0x1d63d5(0x24c)](){const _0x350793=_0x1d63d5;return _0x11d920(()=>{const _0x3fb42d=_0x3b30;var _0x56c77a,_0x1b43b9,_0x2d542b;return _0x1f2abd(nn,{'config':this[_0x3fb42d(0x1c8)][_0x3fb42d(0x25e)],'mcpCoreConfig':this[_0x3fb42d(0x1fa)][_0x3fb42d(0x25e)],'currentApiKey$':this[_0x3fb42d(0x162)],'onSave':this['_handleConfigSave'],'loading':this[_0x3fb42d(0x1f7)][_0x3fb42d(0x25e)],'connectionStatus$':(_0x56c77a=this['_mcpConnectionController'])==null?void 0x0:_0x56c77a['connectionStatus$'],'connectionError$':(_0x1b43b9=this[_0x3fb42d(0x16d)])==null?void 0x0:_0x1b43b9[_0x3fb42d(0x2af)],'currentSessionId$':(_0x2d542b=this[_0x3fb42d(0x16d)])==null?void 0x0:_0x2d542b[_0x3fb42d(0x186)]});},this[_0x350793(0x163)]);}[_0x1d63d5(0x27d)](){const _0x236f7a=_0x1d63d5;this[_0x236f7a(0x1f9)](this[_0x236f7a(0x1ae)][_0x236f7a(0x19f)](_0x1dacc9)['subscribe'](_0x35949b=>{const _0x6df194=_0x236f7a;this[_0x6df194(0x1fa)][_0x6df194(0x291)](_0x35949b||{});}));const _0x1cefe4=this[_0x236f7a(0x1ae)][_0x236f7a(0x1a6)](_0x1dacc9);this['_mcpCoreConfig$'][_0x236f7a(0x291)](_0x1cefe4||{}),this[_0x236f7a(0x1f9)](this[_0x236f7a(0x1ae)]['subscribeConfigValue$'](y)['subscribe'](_0x6dc6fb=>{const _0x420763=_0x236f7a;this[_0x420763(0x1c8)][_0x420763(0x291)](_0x6dc6fb||{});}));const _0x1b6c6b=this[_0x236f7a(0x1ae)][_0x236f7a(0x1a6)](y);this[_0x236f7a(0x1c8)][_0x236f7a(0x291)](_0x1b6c6b||{});}async[_0x1d63d5(0x232)](){const _0x148f1b=_0x1d63d5,_0xc9ab08=this[_0x148f1b(0x1ae)][_0x148f1b(0x1a6)](y);if(!(_0xc9ab08!=null&&_0xc9ab08[_0x148f1b(0x255)]))return;const _0x5efc81=await this[_0x148f1b(0x248)][_0x148f1b(0x1a8)](U);_0x5efc81&&(this[_0x148f1b(0x16d)][_0x148f1b(0x257)]({'Authorization':_0x148f1b(0x18b)+_0x5efc81}),this[_0x148f1b(0x162)][_0x148f1b(0x291)](_0x5efc81));}async[_0x1d63d5(0x221)](_0x18c2f5){const _0x1a9883=_0x1d63d5;if(!_0x18c2f5[_0x1a9883(0x1e0)]||_0x18c2f5[_0x1a9883(0x1e0)][_0x1a9883(0x25a)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x1a9883(0x214))};if(_0x18c2f5[_0x1a9883(0x1e0)]['trim']()[_0x1a9883(0x25f)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1a9883(0x190)]['t'](_0x1a9883(0x21b))};try{const _0x43d28d=await this[_0x1a9883(0x163)][_0x1a9883(0x1dc)](_0x56cc0c)[_0x1a9883(0x1dd)](_0x18c2f5[_0x1a9883(0x1e0)][_0x1a9883(0x25a)]());return _0x43d28d['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x43d28d[_0x1a9883(0x28b)]||this[_0x1a9883(0x190)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0xdf03a8){return console['warn'](_0x1a9883(0x22c),_0xdf03a8),{'isValid':!0x0};}}};I=tn([d(0x0,_0x1bd7cd(_0x4f7a8c)),d(0x1,_0x55b040),d(0x2,_0x50f488),d(0x3,_0x34e505),d(0x4,_0x53b0c7),d(0x5,_0x321c58),d(0x6,_0x1bd7cd(_0x3023e6)),d(0x7,_0x1bd7cd(_0x18ea5a)),d(0x8,_0xab12b7),d(0x9,_0x1bd7cd(_0x56cc0c))],I);const V={'id':'mcp-ui.command.openConfigPanel','type':_0x74002[_0x1d63d5(0x1a2)],'handler':async(_0x3635b9,_0x41ac8f)=>(_0x3635b9[_0x1d63d5(0x1dc)](I)[_0x1d63d5(0x173)](),!0x0)};function pe(_0x35b94a,_0x2b6722){const _0x24133d=_0x1d63d5;switch(_0x35b94a){case _0x4addaf[_0x24133d(0x278)]:return'mcpStatus.disconnected';case _0x4addaf['CONNECTING']:return _0x24133d(0x1b3);case _0x4addaf[_0x24133d(0x213)]:return _0x24133d(0x272);case _0x4addaf[_0x24133d(0x226)]:switch(_0x2b6722){case _0x2da3be[_0x24133d(0x207)]:return _0x24133d(0x19e);case _0x2da3be[_0x24133d(0x161)]:return _0x24133d(0x23a);case _0x2da3be['NETWORK_ERROR']:return _0x24133d(0x1cd);case _0x2da3be[_0x24133d(0x25c)]:return _0x24133d(0x17c);default:return _0x24133d(0x2a6);}case _0x4addaf[_0x24133d(0x274)]:return _0x24133d(0x28e);default:return'mcpStatus.unknown';}}function on(_0x24d29e,_0x5450cb,_0x4990ff,_0x3373a3=!0x0){const _0x528768=_0x1d63d5,_0x3899db=pe(_0x24d29e,_0x5450cb),_0x10f1ac=_0x4990ff['t'](_0x3899db);return _0x3373a3?_0x24d29e===_0x4addaf[_0x528768(0x278)]&&_0x5450cb===_0x2da3be[_0x528768(0x207)]?_0x10f1ac+'\x20-\x20'+_0x4990ff['t'](_0x528768(0x1c0)):_0x24d29e===_0x4addaf['CONNECTED']?''+_0x10f1ac:_0x24d29e===_0x4addaf[_0x528768(0x278)]||_0x24d29e===_0x4addaf[_0x528768(0x226)]?_0x10f1ac+_0x528768(0x189)+_0x4990ff['t'](_0x528768(0x1d6)):_0x10f1ac:_0x10f1ac;}function sn(_0x1930d9){const _0x5a7b30=_0x1d63d5;switch(_0x1930d9){case _0x4addaf['CONNECTED']:return _0x5a7b30(0x245);case _0x4addaf[_0x5a7b30(0x206)]:case _0x4addaf[_0x5a7b30(0x274)]:return _0x5a7b30(0x1ea);case _0x4addaf[_0x5a7b30(0x226)]:case _0x4addaf['DISCONNECTED']:return'univer-text-red-500';default:return _0x5a7b30(0x182);}}function cn(_0x858534){const _0x9c7e47=_0x1d63d5,{status$:_0x3362b2,error$:_0x39cddd,onConfigure:_0x1fe951,showClickable:_0x46a433=!0x0}=_0x858534,_0x28ac84=_0x527d97(_0x3362b2,_0x4addaf[_0x9c7e47(0x278)]),_0x111460=_0x527d97(_0x39cddd,_0x2da3be[_0x9c7e47(0x1d9)]),_0x2d7130=_0xf6a7e3(_0x18ea5a),_0x2e664b=_0x28ac84===_0x4addaf[_0x9c7e47(0x213)];_0x28ac84===_0x4addaf[_0x9c7e47(0x206)]||_0x4addaf[_0x9c7e47(0x274)];const _0x43f8b6=_0x2d7130['t'](pe(_0x28ac84,_0x111460)),_0x22c44c=on(_0x28ac84,_0x111460,_0x2d7130,_0x46a433),_0x1dc64b=sn(_0x28ac84),_0x2c2db8=_0x2e664b?_0x1f2abd(ge,{}):_0x1f2abd(de,{}),_0xe1eaf2=_0xab09e9(()=>{_0x46a433&&_0x1fe951&&_0x1fe951();},[_0x46a433,_0x1fe951]);function _0x1a112a(){const _0x3666e1=_0x9c7e47;return _0x412ff6(_0x3666e1(0x250),{'className':_0xd9c741(_0x3666e1(0x219),_0x46a433&&_0x1fe951&&_0x3666e1(0x266)),'role':_0x3666e1(0x256),'onClick':_0x46a433&&_0x1fe951?_0xe1eaf2:void 0x0,'children':[_0x1f2abd(_0x3666e1(0x250),{'className':_0xd9c741(_0x3666e1(0x224),_0x1dc64b),'children':_0x2c2db8}),_0x1f2abd(_0x3666e1(0x250),{'className':_0x3666e1(0x1f1),'children':_0x43f8b6})]});}return _0x1f2abd(_0x1a5250,{'title':_0x22c44c,'placement':'bottom','children':_0x1a112a()});}var an=Object[_0x1d63d5(0x212)],ln=(_0xec1862,_0x41cae7,_0x21a961,_0x353860)=>{const _0x21fc41=_0x1d63d5;for(var _0x2bdfb0=_0x353860>0x1?void 0x0:_0x353860?an(_0x41cae7,_0x21a961):_0x41cae7,_0x2f1776=_0xec1862[_0x21fc41(0x25f)]-0x1,_0x2ebe19;_0x2f1776>=0x0;_0x2f1776--)(_0x2ebe19=_0xec1862[_0x2f1776])&&(_0x2bdfb0=_0x2ebe19(_0x2bdfb0)||_0x2bdfb0);return _0x2bdfb0;},M=(_0x5b5670,_0x50741c)=>(_0x50d06b,_0x573797)=>_0x50741c(_0x50d06b,_0x573797,_0x5b5670);let O=class extends _0x1c7d39{constructor(_0x99344c,_0x26a748,_0x45fb59,_0x2459db){const _0x180ec4=_0x1d63d5;super(),this[_0x180ec4(0x163)]=_0x99344c,this[_0x180ec4(0x1ab)]=_0x26a748,this['_uiPartsService']=_0x45fb59,this[_0x180ec4(0x1ae)]=_0x2459db,this[_0x180ec4(0x1a7)](),this['_initStatusComponent']();}[_0x1d63d5(0x1a7)](){const _0xfc4a20=_0x1d63d5,_0x4373aa=this[_0xfc4a20(0x1ae)][_0xfc4a20(0x1a6)](y);_0x4373aa!=null&&_0x4373aa[_0xfc4a20(0x255)]&&(this[_0xfc4a20(0x1ab)][_0xfc4a20(0x2a4)]=!0x1);}['_initStatusComponent'](){const _0x154c33=_0x1d63d5,_0x59ea51=this[_0x154c33(0x1ae)][_0x154c33(0x1a6)](y);(_0x59ea51==null?void 0x0:_0x59ea51[_0x154c33(0x17a)])!==!0x1&&this[_0x154c33(0x1f9)](this[_0x154c33(0x28c)]['registerComponent'](_0x28880c[_0x154c33(0x243)],()=>{const _0x4c63d6=_0x154c33;var _0x4d19f0;return _0x11d920(un({'status$':this[_0x4c63d6(0x1ab)]['connectionStatus$'],'error$':this[_0x4c63d6(0x1ab)][_0x4c63d6(0x2af)],'onConfigure':()=>this[_0x4c63d6(0x1da)](),'showClickable':(_0x4d19f0=_0x59ea51==null?void 0x0:_0x59ea51[_0x4c63d6(0x255)])!=null?_0x4d19f0:!0x1}),this[_0x4c63d6(0x163)]);}));}[_0x1d63d5(0x1da)](){const _0x5eefc0=_0x1d63d5;this[_0x5eefc0(0x163)]['get'](I)[_0x5eefc0(0x173)]();}};O=ln([M(0x0,_0x1bd7cd(_0x4f7a8c)),M(0x1,_0x1bd7cd(_0x56cc0c)),M(0x2,_0x55b040),M(0x3,_0x50f488)],O);function un(_0x54b5c6){const {status$:_0x495aae,error$:_0x1b77d4,onConfigure:_0x2f04c7,showClickable:_0x46b116}=_0x54b5c6;return function(){return _0x1f2abd(cn,{'status$':_0x495aae,'error$':_0x1b77d4,'onConfigure':_0x2f04c7,'showClickable':_0x46b116});};}function vn(_0x3fc2f0){const _0x163526=_0x1d63d5;return{'id':V['id'],'type':_0x5bb5ca['BUTTON'],'icon':_0x163526(0x1fe),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}const dn={[_0x1ff55b[_0x1d63d5(0x1c5)]]:{[V['id']]:{'order':0xa,'menuItemFactory':vn}}};var gn=Object[_0x1d63d5(0x212)],pn=(_0x1f5686,_0x30399e,_0x2c7ca7,_0x368aa8)=>{const _0x3822ca=_0x1d63d5;for(var _0x1e4b63=_0x368aa8>0x1?void 0x0:_0x368aa8?gn(_0x30399e,_0x2c7ca7):_0x30399e,_0x57f6e0=_0x1f5686[_0x3822ca(0x25f)]-0x1,_0x358417;_0x57f6e0>=0x0;_0x57f6e0--)(_0x358417=_0x1f5686[_0x57f6e0])&&(_0x1e4b63=_0x358417(_0x1e4b63)||_0x1e4b63);return _0x1e4b63;},re=(_0xe55d04,_0x584a19)=>(_0x4c31ba,_0x4eea18)=>_0x584a19(_0x4c31ba,_0x4eea18,_0xe55d04);let D=class extends _0x1c7d39{constructor(_0x4556ce,_0x4d36af){const _0xc7a66=_0x1d63d5;super(),this[_0xc7a66(0x199)]=_0x4556ce,this['_menuManagerService']=_0x4d36af,this[_0xc7a66(0x1bc)](),this[_0xc7a66(0x21f)]();}[_0x1d63d5(0x1bc)](){const _0x5f3b06=_0x1d63d5;[V][_0x5f3b06(0x21c)](_0x874fda=>{const _0xf18e1=_0x5f3b06;this[_0xf18e1(0x1f9)](this['_commandService'][_0xf18e1(0x21e)](_0x874fda));});}[_0x1d63d5(0x21f)](){this['_menuManagerService']['mergeMenu'](dn);}};D=pn([re(0x0,_0x23b376),re(0x1,_0x3c2a36)],D);const Mn={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x1d63d5(0x216),'failed':_0x1d63d5(0x28a),'retrying':_0x1d63d5(0x1d2),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x1d63d5(0x20a),'sessionOccupied':_0x1d63d5(0x24e),'networkError':_0x1d63d5(0x160),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1d63d5(0x1c2),'description':_0x1d63d5(0x280),'apiKey':_0x1d63d5(0x18c),'apiKeyPlaceholder':_0x1d63d5(0x270),'apiKeyHint':_0x1d63d5(0x172),'enableAuth':_0x1d63d5(0x1a9),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1d63d5(0x294),'mcpClientConfig':_0x1d63d5(0x294),'configInstructions':_0x1d63d5(0x26d),'configStepTitle':_0x1d63d5(0x1df),'configStep1':_0x1d63d5(0x238),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x1d63d5(0x249),'sessionId':_0x1d63d5(0x2a5),'sessionIdDescription':_0x1d63d5(0x1a3),'authorizationDescription':_0x1d63d5(0x1c6),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x1d63d5(0x1bf),'saving':_0x1d63d5(0x228),'note1':_0x1d63d5(0x1bb),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1d63d5(0x23c),'configError':_0x1d63d5(0x1e9),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1d63d5(0x16f),'univerAiLabel':_0x1d63d5(0x16a),'getStarted':_0x1d63d5(0x29b)},'validation':{'apiKeyRequired':_0x1d63d5(0x24d),'apiKeyTooShort':_0x1d63d5(0x198),'invalidConfig':_0x1d63d5(0x26b),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x1d63d5(0x288),'connected':'Connected','failed':_0x1d63d5(0x180),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x1d63d5(0x27b),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x1d63d5(0x21d),'maxRetriesExceeded':_0x1d63d5(0x269)}}},An={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x1d63d5(0x24a),'connected':_0x1d63d5(0x16b),'failed':_0x1d63d5(0x204),'retrying':'MCP\x20重连中...','unknown':_0x1d63d5(0x1e3),'unauthorized':_0x1d63d5(0x168),'sessionOccupied':_0x1d63d5(0x1de),'networkError':_0x1d63d5(0x2ae),'maxRetriesExceeded':_0x1d63d5(0x260),'clickToConnect':_0x1d63d5(0x281),'clickToConfigure':_0x1d63d5(0x229)},'mcpConfig':{'title':_0x1d63d5(0x215),'description':_0x1d63d5(0x22b),'apiKey':_0x1d63d5(0x285),'apiKeyPlaceholder':_0x1d63d5(0x227),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x1d63d5(0x1e4),'enableAuthHint':_0x1d63d5(0x15e),'connectionInfo':_0x1d63d5(0x217),'mcpClientConfig':_0x1d63d5(0x217),'configInstructions':_0x1d63d5(0x29c),'configStepTitle':_0x1d63d5(0x27a),'configStep1':_0x1d63d5(0x164),'configStep2':_0x1d63d5(0x1b2),'configStep3':_0x1d63d5(0x265),'sessionId':_0x1d63d5(0x28f),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x1d63d5(0x279),'configParameters':_0x1d63d5(0x1e7),'maxRetries':'最大重试次数','save':_0x1d63d5(0x209),'saving':_0x1d63d5(0x1ca),'note1':_0x1d63d5(0x1b1),'note2':_0x1d63d5(0x1a0),'configSaved':_0x1d63d5(0x25d),'configError':_0x1d63d5(0x2ab),'apiApplyInfo':{'title':_0x1d63d5(0x20e),'description':_0x1d63d5(0x233),'univerAiLabel':_0x1d63d5(0x17e),'getStarted':_0x1d63d5(0x293)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x1d63d5(0x298),'invalidConfig':_0x1d63d5(0x165),'invalidApiKey':_0x1d63d5(0x1f6)},'connectionStatus':{'disconnected':_0x1d63d5(0x19a),'connecting':_0x1d63d5(0x200),'connected':'已连接','failed':_0x1d63d5(0x17d),'retrying':_0x1d63d5(0x177)},'connectionError':{'unauthorized':_0x1d63d5(0x236),'sessionOccupied':_0x1d63d5(0x2a0),'networkError':_0x1d63d5(0x2a2),'maxRetriesExceeded':_0x1d63d5(0x1a4)}}};var fn=Object[_0x1d63d5(0x1cf)],hn=Object['getOwnPropertyDescriptor'],Cn=(_0x37fe38,_0x110cad,_0x1ae31c)=>_0x110cad in _0x37fe38?fn(_0x37fe38,_0x110cad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ae31c}):_0x37fe38[_0x110cad]=_0x1ae31c,mn=(_0x56eacb,_0x7c4a3f,_0xe35445,_0x4b5853)=>{const _0x35ea0b=_0x1d63d5;for(var _0x50b809=_0x4b5853>0x1?void 0x0:_0x4b5853?hn(_0x7c4a3f,_0xe35445):_0x7c4a3f,_0xfdf26d=_0x56eacb[_0x35ea0b(0x25f)]-0x1,_0x53bb48;_0xfdf26d>=0x0;_0xfdf26d--)(_0x53bb48=_0x56eacb[_0xfdf26d])&&(_0x50b809=_0x53bb48(_0x50b809)||_0x50b809);return _0x50b809;},P=(_0x1d0066,_0x1c88ce)=>(_0x84da6a,_0x47c119)=>_0x1c88ce(_0x84da6a,_0x47c119,_0x1d0066),_n=(_0x162692,_0x2adbef,_0x492567)=>Cn(_0x162692,_0x2adbef+'',_0x492567);let j=class extends _0x1bf85c{constructor(_0x3b1ce3=ie,_0x30c0aa,_0x5d22f8,_0x5d8135,_0x1a4013,_0x35f5e0){const _0x5ce075=_0x1d63d5;super(),this[_0x5ce075(0x2ad)]=_0x3b1ce3,this[_0x5ce075(0x163)]=_0x30c0aa,this['_configService']=_0x5d22f8,this[_0x5ce075(0x28c)]=_0x5d8135,this[_0x5ce075(0x248)]=_0x1a4013,this[_0x5ce075(0x190)]=_0x35f5e0;const {..._0x4f90d2}=_0x4cf638({},ie,this[_0x5ce075(0x2ad)]);this['_configService'][_0x5ce075(0x18e)](y,_0x4f90d2);}async[_0x1d63d5(0x1d4)](){const _0x25b58a=_0x1d63d5,_0x4a45c5=[[O],[I],[D]];this[_0x25b58a(0x163)][_0x25b58a(0x282)](_0xb645cb)||_0x4a45c5[_0x25b58a(0x194)]([_0xb645cb,{'useClass':_0x48b6a2}]),_0x4a45c5[_0x25b58a(0x21c)](_0x15d3f9=>this[_0x25b58a(0x163)][_0x25b58a(0x231)](_0x15d3f9)),this[_0x25b58a(0x163)][_0x25b58a(0x1dc)](O),this[_0x25b58a(0x163)][_0x25b58a(0x1dc)](I),this[_0x25b58a(0x163)][_0x25b58a(0x1dc)](D);}};_n(j,_0x1d63d5(0x2a9),'MCP_UI_PLUGIN'),j=mn([_0x382c3e(_0x366911),P(0x1,_0x1bd7cd(_0x4f7a8c)),P(0x2,_0x50f488),P(0x3,_0x55b040),P(0x4,_0x34e505),P(0x5,_0x1bd7cd(_0x18ea5a))],j);export{nn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,cn as MCPStatusDisplay,D as MCPUIMenuController,V as OpenMCPConfigPanelCommand,j as UniverMCPUIPlugin,Mn as enUS,An as zhCN};
1
+ const _0x5b9bc3=_0x4f4d;(function(_0x8272f8,_0x38473e){const _0x25b85e=_0x4f4d,_0x158366=_0x8272f8();while(!![]){try{const _0x29887d=-parseInt(_0x25b85e(0x1b9))/0x1+parseInt(_0x25b85e(0x277))/0x2+parseInt(_0x25b85e(0x225))/0x3*(-parseInt(_0x25b85e(0x26d))/0x4)+parseInt(_0x25b85e(0x1af))/0x5*(parseInt(_0x25b85e(0x213))/0x6)+-parseInt(_0x25b85e(0x2f6))/0x7+-parseInt(_0x25b85e(0x2d1))/0x8+parseInt(_0x25b85e(0x199))/0x9*(parseInt(_0x25b85e(0x25d))/0xa);if(_0x29887d===_0x38473e)break;else _0x158366['push'](_0x158366['shift']());}catch(_0x283197){_0x158366['push'](_0x158366['shift']());}}}(_0x2f0c,0x4efe1));var Pe=Object[_0x5b9bc3(0x2c4)],Ee=(_0x21c954,_0x2d5a2e,_0x277c65)=>_0x2d5a2e in _0x21c954?Pe(_0x21c954,_0x2d5a2e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x277c65}):_0x21c954[_0x2d5a2e]=_0x277c65,x=(_0x489c1b,_0x155b18,_0x4240f6)=>Ee(_0x489c1b,typeof _0x155b18!=_0x5b9bc3(0x21b)?_0x155b18+'':_0x155b18,_0x4240f6);import{LocaleService as _0x5acff8,Inject as _0x19a565,Injector as _0x4022b1,IConfigService as _0x8e1c04,ILocalStorageService as _0x4c2eba,ILogService as _0x221b11,Disposable as _0x38c81e,CommandType as _0x10df29,ICommandService as _0x30ffad,DependentOn as _0x617d51,Plugin as _0x2065f8,merge as _0x286fb1}from'@univerjs/core';import{jsxs as _0x2a5706,jsx as _0x19de99}from'react/jsx-runtime';import{MCPConnectionStatus as _0x365507,MCPConnectionError as _0x55c172,MCPConnectionController as _0xaa88e9,MCP_PLUGIN_CONFIG_KEY as _0x2c40d3,UniverMCPPlugin as _0x4b8cc0}from'@univerjs-pro/mcp';import{clsx as _0x270b4d,Input as _0x153bb3,Button as _0x1035d9,MessageType as _0x325300,Tooltip as _0x1e3ebe}from'@univerjs/design';import{useDependency as _0x3d96bb,useObservable as _0x24e61d,IUIPartsService as _0x32a2ba,IDialogService as _0xee33a6,IMessageService as _0x12460d,ComponentManager as _0x1f0dc9,connectInjector as _0x3c88d9,BuiltInUIPart as _0x213245,MenuItemType as _0x31cb4c,RibbonStartGroup as _0xbead22,IMenuManagerService as _0x1face2}from'@univerjs/ui';import{BehaviorSubject as _0x2a0439}from'rxjs';import{useRef as _0x20bffd,createElement as _0x273557,forwardRef as _0x4d105e,useState as _0x53b5de,useCallback as _0x40ddaf}from'react';import{ISocketService as _0x447220,WebSocketService as _0x4200bf}from'@univerjs/network';function b({ref:_0x41cff8,..._0x47a3c3}){const _0x1a383a=_0x5b9bc3,{icon:_0x516e56,id:_0x4f855c,className:_0x253f71,extend:_0x258afa,..._0x463ea2}=_0x47a3c3,_0x450090=(_0x1a383a(0x282)+_0x4f855c+'\x20'+(_0x253f71||''))['trim'](),_0x48257b=_0x20bffd('_'+We());return ae(_0x516e56,''+_0x4f855c,{'defIds':_0x516e56[_0x1a383a(0x2a9)],'idSuffix':_0x48257b['current']},{'ref':_0x41cff8,'className':_0x450090,..._0x463ea2},_0x258afa);}function ae(_0x33e1a8,_0x45454c,_0x4d24b2,_0x47251a,_0x21930d){const _0x3ba396=_0x5b9bc3;return _0x273557(_0x33e1a8['tag'],{'key':_0x45454c,...Ye(_0x33e1a8,_0x4d24b2,_0x21930d),..._0x47251a},(Ze(_0x33e1a8,_0x4d24b2)[_0x3ba396(0x1e9)]||[])[_0x3ba396(0x1ad)]((_0x5220ce,_0x8e46b2)=>ae(_0x5220ce,_0x45454c+'-'+_0x33e1a8[_0x3ba396(0x2dd)]+'-'+_0x8e46b2,_0x4d24b2,void 0x0,_0x21930d)));}function Ye(_0x25206f,_0x438873,_0x1e59a0){const _0x10bbba=_0x5b9bc3,_0x463ec6={..._0x25206f['attrs']};_0x1e59a0!=null&&_0x1e59a0[_0x10bbba(0x2c1)]&&_0x463ec6[_0x10bbba(0x1a3)]===_0x10bbba(0x2c1)&&(_0x463ec6[_0x10bbba(0x1a3)]=_0x1e59a0[_0x10bbba(0x2c1)]),_0x25206f[_0x10bbba(0x2dd)]==='mask'&&_0x463ec6['id']&&(_0x463ec6['id']=_0x463ec6['id']+_0x438873[_0x10bbba(0x2b6)]),Object[_0x10bbba(0x1f9)](_0x463ec6)['forEach'](([_0x497202,_0x5f32e9])=>{const _0xf0fea=_0x10bbba;_0x497202===_0xf0fea(0x287)&&typeof _0x5f32e9==_0xf0fea(0x1f1)&&(_0x463ec6[_0x497202]=_0x5f32e9[_0xf0fea(0x291)](/url\(#(.*)\)/,_0xf0fea(0x1c7)+_0x438873[_0xf0fea(0x2b6)]+')'));});const {defIds:_0x1ead05}=_0x438873;return!_0x1ead05||_0x1ead05['length']===0x0||(_0x25206f['tag']===_0x10bbba(0x2ee)&&_0x463ec6['xlink:href']&&(_0x463ec6[_0x10bbba(0x1fa)]=_0x463ec6[_0x10bbba(0x1fa)]+_0x438873[_0x10bbba(0x2b6)]),Object[_0x10bbba(0x1f9)](_0x463ec6)[_0x10bbba(0x2fa)](([_0x144185,_0x57b40e])=>{const _0x249aac=_0x10bbba;typeof _0x57b40e==_0x249aac(0x1f1)&&(_0x463ec6[_0x144185]=_0x57b40e[_0x249aac(0x291)](/url\(#(.*)\)/,_0x249aac(0x1c7)+_0x438873[_0x249aac(0x2b6)]+')'));})),_0x463ec6;}function Ze(_0x2a6967,_0x50066a){const _0x4ffd74=_0x5b9bc3;var _0x4c2346;const {defIds:_0x33fe7e}=_0x50066a;return!_0x33fe7e||_0x33fe7e[_0x4ffd74(0x1d6)]===0x0?_0x2a6967:_0x2a6967['tag']==='defs'&&((_0x4c2346=_0x2a6967[_0x4ffd74(0x1e9)])!=null&&_0x4c2346[_0x4ffd74(0x1d6)])?{..._0x2a6967,'children':_0x2a6967[_0x4ffd74(0x1e9)][_0x4ffd74(0x1ad)](_0x3b00e8=>typeof _0x3b00e8[_0x4ffd74(0x209)]['id']==_0x4ffd74(0x1f1)&&_0x33fe7e&&_0x33fe7e['includes'](_0x3b00e8['attrs']['id'])?{..._0x3b00e8,'attrs':{..._0x3b00e8['attrs'],'id':_0x3b00e8[_0x4ffd74(0x209)]['id']+_0x50066a[_0x4ffd74(0x2b6)]}}:_0x3b00e8)}:_0x2a6967;}function We(){const _0x3ad0cc=_0x5b9bc3;return Math[_0x3ad0cc(0x2cc)]()[_0x3ad0cc(0x1e1)](0x24)[_0x3ad0cc(0x2ce)](0x2,0x8);}b[_0x5b9bc3(0x2e9)]=_0x5b9bc3(0x27b);const qe={'tag':_0x5b9bc3(0x19b),'attrs':{'xmlns':_0x5b9bc3(0x219),'fill':'none','viewBox':_0x5b9bc3(0x267),'width':'1em','height':'1em'},'children':[{'tag':_0x5b9bc3(0x1e6),'attrs':{'fill':_0x5b9bc3(0x23b),'d':_0x5b9bc3(0x298),'fillRule':_0x5b9bc3(0x1a8),'clipRule':_0x5b9bc3(0x1a8)}}]},le=_0x4d105e(function(_0x130206,_0x426e37){const _0x61044=_0x5b9bc3;return _0x273557(b,Object[_0x61044(0x1ff)]({},_0x130206,{'id':_0x61044(0x2d5),'ref':_0x426e37,'icon':qe}));});le[_0x5b9bc3(0x2e9)]=_0x5b9bc3(0x255);const Xe={'tag':'svg','attrs':{'xmlns':_0x5b9bc3(0x219),'fill':'none','viewBox':_0x5b9bc3(0x267),'width':_0x5b9bc3(0x21a),'height':_0x5b9bc3(0x21a)},'children':[{'tag':_0x5b9bc3(0x1e6),'attrs':{'fill':'currentColor','d':_0x5b9bc3(0x1fc)}}]},ue=_0x4d105e(function(_0x2be970,_0x581e92){const _0x36544a=_0x5b9bc3;return _0x273557(b,Object[_0x36544a(0x1ff)]({},_0x2be970,{'id':_0x36544a(0x248),'ref':_0x581e92,'icon':Xe}));});ue[_0x5b9bc3(0x2e9)]='CloseIcon';const Je={'tag':_0x5b9bc3(0x19b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b9bc3(0x2d3),'viewBox':_0x5b9bc3(0x267),'width':_0x5b9bc3(0x21a),'height':'1em'},'children':[{'tag':_0x5b9bc3(0x1e6),'attrs':{'fill':'currentColor','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':_0x5b9bc3(0x1e6),'attrs':{'fill':_0x5b9bc3(0x23b),'d':_0x5b9bc3(0x1d8)}},{'tag':_0x5b9bc3(0x1e6),'attrs':{'fill':_0x5b9bc3(0x23b),'d':_0x5b9bc3(0x1e5),'fillRule':_0x5b9bc3(0x1a8),'clipRule':'evenodd'}}]},ve=_0x4d105e(function(_0x5a2404,_0x2d9444){const _0x24b91b=_0x5b9bc3;return _0x273557(b,Object[_0x24b91b(0x1ff)]({},_0x5a2404,{'id':_0x24b91b(0x25c),'ref':_0x2d9444,'icon':Je}));});ve[_0x5b9bc3(0x2e9)]=_0x5b9bc3(0x1f8);const Qe={'tag':_0x5b9bc3(0x19b),'attrs':{'xmlns':_0x5b9bc3(0x219),'fill':_0x5b9bc3(0x2d3),'viewBox':_0x5b9bc3(0x267),'width':'1em','height':_0x5b9bc3(0x21a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x5b9bc3(0x1e6),'attrs':{'stroke':_0x5b9bc3(0x23b),'d':_0x5b9bc3(0x1a0),'strokeLinecap':'round','strokeLinejoin':_0x5b9bc3(0x2f2),'strokeWidth':1.2}}]},{'tag':_0x5b9bc3(0x2e4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5b9bc3(0x1f6)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x5b9bc3(0x28f)}}]}]}],'defIds':[_0x5b9bc3(0x1f6)]},de=_0x4d105e(function(_0x8a60f7,_0x57a6fe){const _0x5bc235=_0x5b9bc3;return _0x273557(b,Object[_0x5bc235(0x1ff)]({},_0x8a60f7,{'id':_0x5bc235(0x229),'ref':_0x57a6fe,'icon':Qe}));});de[_0x5b9bc3(0x2e9)]=_0x5b9bc3(0x1d1);const en={'tag':_0x5b9bc3(0x19b),'attrs':{'xmlns':_0x5b9bc3(0x219),'fill':_0x5b9bc3(0x2d3),'viewBox':_0x5b9bc3(0x1ec),'width':_0x5b9bc3(0x21a),'height':_0x5b9bc3(0x21a)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b9bc3(0x2d7)},'children':[{'tag':'path','attrs':{'stroke':_0x5b9bc3(0x23b),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x5b9bc3(0x2f2),'strokeLinejoin':_0x5b9bc3(0x2f2),'strokeWidth':1.2}}]},{'tag':_0x5b9bc3(0x2e4),'attrs':{},'children':[{'tag':_0x5b9bc3(0x252),'attrs':{'id':_0x5b9bc3(0x1c1)},'children':[{'tag':_0x5b9bc3(0x1e6),'attrs':{'fill':_0x5b9bc3(0x2d0),'d':'M0\x200H16V16H0z','transform':_0x5b9bc3(0x1c8)}}]}]}],'defIds':[_0x5b9bc3(0x1c1)]},ge=_0x4d105e(function(_0x305fb0,_0x534dfa){const _0x41b1e3=_0x5b9bc3;return _0x273557(b,Object[_0x41b1e3(0x1ff)]({},_0x305fb0,{'id':_0x41b1e3(0x2b3),'ref':_0x534dfa,'icon':en}));});ge[_0x5b9bc3(0x2e9)]=_0x5b9bc3(0x19f);function nn(_0xefaff3){const _0x4c25c5=_0x5b9bc3;var _0x4c2f28,_0x423e6a;const {mcpCoreConfig:_0x4efd30,onSave:_0x5ba47f,loading:_0x52ce73=!0x1,config:_0x9b14a5,connectionStatus$:_0x107a72,connectionError$:_0x4e4dd3,currentApiKey$:_0x402f21,currentSessionId$:_0x34a179}=_0xefaff3,_0x399c8e=_0x3d96bb(_0x5acff8),_0x41bcb7=_0x24e61d(_0x107a72,_0x365507[_0x4c25c5(0x26a)]),_0x34adee=_0x24e61d(_0x4e4dd3,_0x55c172['NONE']),_0x52e808=_0x24e61d(_0x34a179,''),_0x78e63a=_0x24e61d(_0x402f21,''),[_0x37a7b6,_0xcac761]=_0x53b5de(_0x78e63a||''),_0x4926d2=!0x0,_0x528df7=_0x9b14a5[_0x4c25c5(0x239)]&&_0x4efd30[_0x4c25c5(0x22b)]&&(_0x4efd30[_0x4c25c5(0x22b)][_0x4c25c5(0x29a)](_0x4c25c5(0x1e2))||_0x4efd30[_0x4c25c5(0x22b)][_0x4c25c5(0x29a)](_0x4c25c5(0x2ad))),_0x59bdc4=(_0x4c2f28=_0x4efd30[_0x4c25c5(0x22b)])==null?void 0x0:_0x4c2f28[_0x4c25c5(0x29a)](_0x4c25c5(0x1e2)),_0x28c28c=(_0x423e6a=_0x4efd30[_0x4c25c5(0x22b)])==null?void 0x0:_0x423e6a[_0x4c25c5(0x29a)](_0x4c25c5(0x2ad)),_0xd4e7f1=_0x59bdc4?_0x4c25c5(0x1c4):'https://console.univer.ai',_0x4f65bd=_0x9b14a5[_0x4c25c5(0x239)]&&(_0x59bdc4||_0x28c28c),[_0x20b935,_0x332752]=_0x53b5de(!_0x37a7b6['trim']()),_0x36cee9=(_0x341b73,_0x164797)=>{const _0x269b2d=_0x4c25c5;if(_0x164797===_0x55c172[_0x269b2d(0x2c2)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x341b73){case _0x365507[_0x269b2d(0x2cd)]:return _0x269b2d(0x2eb);case _0x365507[_0x269b2d(0x2a3)]:case _0x365507[_0x269b2d(0x22d)]:return _0x269b2d(0x2db);case _0x365507[_0x269b2d(0x2b2)]:return _0x269b2d(0x292);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x2d064a=(_0x13648b,_0x18d5b0)=>{const _0x1a36d6=_0x4c25c5;if(_0x18d5b0===_0x55c172[_0x1a36d6(0x2c2)])return _0x1a36d6(0x212);switch(_0x13648b){case _0x365507['CONNECTED']:return _0x1a36d6(0x278);case _0x365507['CONNECTING']:case _0x365507[_0x1a36d6(0x22d)]:return _0x1a36d6(0x2a8);case _0x365507[_0x1a36d6(0x2b2)]:return _0x1a36d6(0x212);default:return _0x1a36d6(0x1fd);}},_0x336707=_0x1422e9=>{const _0x31ea6a=_0x4c25c5;switch(_0x1422e9){case _0x365507[_0x31ea6a(0x2cd)]:return _0x399c8e['t'](_0x31ea6a(0x2e2));case _0x365507[_0x31ea6a(0x2a3)]:return _0x399c8e['t'](_0x31ea6a(0x1cb));case _0x365507[_0x31ea6a(0x2b2)]:return _0x399c8e['t'](_0x31ea6a(0x28c));case _0x365507[_0x31ea6a(0x22d)]:return _0x399c8e['t'](_0x31ea6a(0x20d));default:return _0x399c8e['t'](_0x31ea6a(0x2df));}},_0x53e9f6=_0x3d93b0=>{const _0x1568e=_0x4c25c5;switch(_0x3d93b0){case _0x55c172[_0x1568e(0x2c2)]:return _0x399c8e['t'](_0x1568e(0x2de));case _0x55c172[_0x1568e(0x210)]:return _0x399c8e['t'](_0x1568e(0x221));case _0x55c172[_0x1568e(0x1f0)]:return _0x399c8e['t']('mcpConfig.connectionError.networkError');case _0x55c172[_0x1568e(0x1ea)]:return _0x399c8e['t'](_0x1568e(0x1df));default:return'';}},_0x40ccab=_0x40ddaf(()=>{const _0x251548=_0x4c25c5,_0x5f3bb4={..._0x4efd30,'apiKey':_0x37a7b6[_0x251548(0x2d8)](),'enableAuth':_0x4926d2};_0x5ba47f(_0x5f3bb4);},[_0x4efd30,_0x37a7b6,_0x4926d2,_0x5ba47f]),_0x1924f1=_0x37a7b6[_0x4c25c5(0x2d8)]()[_0x4c25c5(0x1d6)]>0x0;return _0x2a5706('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x24b),'children':_0x2a5706('div',{'className':_0x4c25c5(0x1eb),'children':[_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x203),'children':_0x19de99(_0x4c25c5(0x1ca),{'className':'univer-text-white','children':'⚙'})}),_0x19de99(_0x4c25c5(0x1ef),{'children':_0x19de99('p',{'className':_0x4c25c5(0x19c),'children':_0x399c8e['t']('mcpConfig.description')})})]})}),_0x2a5706('div',{'className':_0x4c25c5(0x24e),'children':[_0x19de99(_0x4c25c5(0x1ef),{'className':_0x270b4d(_0x4c25c5(0x25e),_0x36cee9(_0x41bcb7,_0x34adee)),'children':_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x2a7),'children':[_0x19de99(_0x4c25c5(0x1ef),{'className':_0x270b4d(_0x4c25c5(0x2a4),_0x2d064a(_0x41bcb7,_0x34adee))}),_0x19de99(_0x4c25c5(0x1ca),{'className':_0x4c25c5(0x22c),'children':_0x336707(_0x41bcb7)})]})}),_0x34adee!==_0x55c172['NONE']&&(_0x41bcb7===_0x365507[_0x4c25c5(0x2b2)]||_0x34adee===_0x55c172[_0x4c25c5(0x2c2)])&&_0x19de99('div',{'className':_0x4c25c5(0x2d9),'children':_0x2a5706('div',{'className':_0x4c25c5(0x2f1),'children':[_0x19de99(_0x4c25c5(0x1ca),{'className':_0x4c25c5(0x1cf),'children':'⚠️'}),_0x19de99('p',{'className':_0x4c25c5(0x281),'children':_0x53e9f6(_0x34adee)})]})})]}),_0x19de99('div',{'className':_0x4c25c5(0x207),'children':_0x2a5706(_0x4c25c5(0x1ef),{'className':'univer-space-y-5','children':[_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x2b0),'children':[_0x2a5706(_0x4c25c5(0x22e),{'className':_0x4c25c5(0x20a),'children':[_0x19de99(_0x4c25c5(0x1ca),{'children':'🔑'}),'\x20',_0x399c8e['t'](_0x4c25c5(0x28d)),_0x19de99(_0x4c25c5(0x1ca),{'className':_0x4c25c5(0x22a),'children':'*'}),_0x528df7&&_0x19de99('a',{'className':_0x4c25c5(0x297),'title':_0x399c8e['t'](_0x4c25c5(0x251)),'role':_0x4c25c5(0x2f7),'onClick':()=>_0x332752(!0x0),'children':_0x19de99(ve,{})})]}),_0x19de99(_0x153bb3,{'type':_0x4c25c5(0x2f9),'placeholder':_0x399c8e['t'](_0x4c25c5(0x237)),'value':_0x37a7b6,'disabled':_0x52ce73,'autoComplete':_0x4c25c5(0x1a7),'onChange':_0xcac761}),_0x19de99('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x399c8e['t'](_0x4c25c5(0x1b0))})]}),_0x528df7&&_0x20b935&&_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x220),'children':[_0x19de99('a',{'className':_0x4c25c5(0x253),'role':'button','onClick':()=>_0x332752(!0x1),'children':_0x19de99(ue,{'className':'univer-size-4'})}),_0x2a5706(_0x4c25c5(0x1ef),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x19de99('div',{'className':_0x4c25c5(0x19a),'children':_0x19de99('span',{'className':_0x4c25c5(0x1e4),'children':'🚀'})}),_0x2a5706(_0x4c25c5(0x1ef),{'className':'univer-flex-1','children':[_0x19de99('h4',{'className':_0x4c25c5(0x24f),'children':_0x399c8e['t'](_0x4c25c5(0x251))}),_0x19de99('p',{'className':_0x4c25c5(0x238),'children':_0x399c8e['t']('mcpConfig.apiApplyInfo.description')}),_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x254),'children':_0x4f65bd&&_0x2a5706('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0xd4e7f1,'target':_0x4c25c5(0x1f5),'rel':_0x4c25c5(0x232),'children':[_0x19de99(_0x4c25c5(0x1ca),{'children':'🤖'}),_0x399c8e['t'](_0x4c25c5(0x2bd)),_0x19de99(_0x4c25c5(0x1ca),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x28b),'children':['✨','\x20',_0x399c8e['t'](_0x4c25c5(0x269))]})]})]})]}),_0x9b14a5[_0x4c25c5(0x239)]&&_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x1dc),'children':[_0x2a5706('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x19de99(_0x4c25c5(0x1ca),{'children':'🔗'}),'\x20',_0x399c8e['t'](_0x4c25c5(0x234))]}),_0x2a5706(_0x4c25c5(0x1ef),{'className':'univer-space-y-4','children':[_0x2a5706('div',{'className':_0x4c25c5(0x259),'children':[_0x19de99('p',{'className':_0x4c25c5(0x1ac),'children':_0x399c8e['t'](_0x4c25c5(0x23e))}),_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x2b0),'children':[_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x293),'children':_0x399c8e['t'](_0x4c25c5(0x1e3))}),_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x1bb),'children':[_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x2a7),'children':[_0x19de99('span',{'className':_0x4c25c5(0x266),'children':'1'}),_0x399c8e['t'](_0x4c25c5(0x1b7))]}),_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x2a7),'children':[_0x19de99(_0x4c25c5(0x1ca),{'className':_0x4c25c5(0x266),'children':'2'}),_0x399c8e['t'](_0x4c25c5(0x1fb))]}),_0x2a5706('div',{'className':_0x4c25c5(0x2a7),'children':[_0x19de99(_0x4c25c5(0x1ca),{'className':_0x4c25c5(0x266),'children':'3'}),_0x399c8e['t'](_0x4c25c5(0x215))]})]})]})]}),_0x2a5706(_0x4c25c5(0x1ef),{'className':'univer-space-y-2','children':[_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x293),'children':_0x4c25c5(0x1de)}),_0x19de99('div',{'className':_0x4c25c5(0x1dd),'children':_0x19de99(_0x4c25c5(0x2e8),{'className':_0x4c25c5(0x19e),'children':JSON[_0x4c25c5(0x249)]({'mcpServers':{'univer':{'url':_0x4c25c5(0x29d)+(_0x52e808||'<SESSION_ID>'),'type':_0x4c25c5(0x257),'headers':{'Authorization':_0x4c25c5(0x1da)+(_0x37a7b6||_0x4c25c5(0x272))}}}},null,0x2)})})]}),_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x259),'children':[_0x19de99(_0x4c25c5(0x1ef),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x399c8e['t'](_0x4c25c5(0x2be))}),_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x2b0),'children':[_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x265),'children':[_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x27d)}),_0x2a5706(_0x4c25c5(0x1ef),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x19de99('div',{'className':_0x4c25c5(0x1cd),'children':_0x4c25c5(0x295)}),_0x19de99('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x399c8e['t'](_0x4c25c5(0x241))})]})]}),_0x2a5706(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x265),'children':[_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x27d)}),_0x2a5706('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x19de99(_0x4c25c5(0x1ef),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x4c25c5(0x1e8)}),_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x21f),'children':_0x399c8e['t'](_0x4c25c5(0x22f))})]})]})]})]})]})]}),_0x19de99(_0x1035d9,{'onClick':_0x40ccab,'disabled':!_0x1924f1||_0x52ce73,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x52ce73?_0x2a5706('span',{'className':_0x4c25c5(0x2a7),'children':[_0x19de99('span',{'children':'⟲'}),_0x399c8e['t'](_0x4c25c5(0x231))]}):_0x2a5706(_0x4c25c5(0x1ca),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x19de99(le,{}),_0x399c8e['t'](_0x4c25c5(0x2c0))]})}),_0x19de99(_0x4c25c5(0x1ef),{'className':_0x4c25c5(0x261),'children':_0x2a5706(_0x4c25c5(0x1ef),{'className':'univer-flex\x20univer-gap-3','children':[_0x19de99('span',{'className':_0x4c25c5(0x2f4),'children':'💡'}),_0x2a5706('div',{'className':_0x4c25c5(0x27c),'children':[_0x19de99('div',{'className':_0x4c25c5(0x23f),'children':'Configuration\x20Notes:'}),_0x2a5706(_0x4c25c5(0x1ef),{'children':['•',_0x399c8e['t']('mcpConfig.note1')]}),_0x2a5706(_0x4c25c5(0x1ef),{'children':['•',_0x399c8e['t'](_0x4c25c5(0x21c))]})]})]})})]})})]});}const y='mcp-ui.config',ie={'showDeveloperTools':!0x1,'showStatus':!0x0};var rn=Object[_0x5b9bc3(0x2a5)],tn=(_0x562841,_0x242ab1,_0x1d2536,_0x2a0c59)=>{const _0x526d77=_0x5b9bc3;for(var _0x457123=_0x2a0c59>0x1?void 0x0:_0x2a0c59?rn(_0x242ab1,_0x1d2536):_0x242ab1,_0x1bbdaf=_0x562841[_0x526d77(0x1d6)]-0x1,_0x13459a;_0x1bbdaf>=0x0;_0x1bbdaf--)(_0x13459a=_0x562841[_0x1bbdaf])&&(_0x457123=_0x13459a(_0x457123)||_0x457123);return _0x457123;},d=(_0x264b60,_0x51c69e)=>(_0x47bd07,_0x5ce301)=>_0x51c69e(_0x47bd07,_0x5ce301,_0x264b60);const U=_0x5b9bc3(0x29e),L=_0x5b9bc3(0x21d);let I=class extends _0x38c81e{constructor(_0x22f9cc,_0x30bff7,_0x170c6e,_0x570b33,_0x35e702,_0x4ad6df,_0x528ec3,_0xd57a40,_0x188a76,_0x5a6e56){const _0x3b3c86=_0x5b9bc3;super(),x(this,'_loading$',new _0x2a0439(!0x1)),x(this,'_mcpCoreConfig$',new _0x2a0439({})),x(this,_0x3b3c86(0x284),new _0x2a0439({})),x(this,_0x3b3c86(0x23c),new _0x2a0439('')),x(this,_0x3b3c86(0x1d9),async _0x594f5c=>{const _0x14d721=_0x3b3c86;var _0x1d288c,_0x4fd63c;this[_0x14d721(0x227)][_0x14d721(0x2f0)](!0x0);try{const _0x485778=await this[_0x14d721(0x222)](_0x594f5c);if(!_0x485778[_0x14d721(0x1a6)]){this['_messageService'][_0x14d721(0x200)]({'type':_0x325300[_0x14d721(0x2ed)],'content':_0x485778['errorMessage']||this[_0x14d721(0x29f)]['t'](_0x14d721(0x20c))});return;}_0x594f5c[_0x14d721(0x2c5)]?await this[_0x14d721(0x2bb)][_0x14d721(0x1e7)](U,_0x594f5c['apiKey'][_0x14d721(0x2d8)]()):await this[_0x14d721(0x2bb)]['removeItem'](U),this[_0x14d721(0x23c)]['next'](((_0x1d288c=_0x594f5c[_0x14d721(0x2c5)])==null?void 0x0:_0x1d288c[_0x14d721(0x2d8)]())||''),this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x14d721(0x1da)+((_0x4fd63c=_0x594f5c[_0x14d721(0x2c5)])==null?void 0x0:_0x4fd63c[_0x14d721(0x2d8)]())}),this[_0x14d721(0x228)][_0x14d721(0x200)]({'type':_0x325300[_0x14d721(0x1ae)],'content':this[_0x14d721(0x29f)]['t'](_0x14d721(0x2c7))}),setTimeout(()=>{const _0x1aa9bd=_0x14d721;this[_0x1aa9bd(0x29b)][_0x1aa9bd(0x235)](L);},0x320);}catch(_0x487580){this[_0x14d721(0x1f3)][_0x14d721(0x258)](_0x14d721(0x2d2),_0x487580),this[_0x14d721(0x228)][_0x14d721(0x200)]({'type':_0x325300[_0x14d721(0x2ed)],'content':this[_0x14d721(0x29f)]['t'](_0x14d721(0x286))});}finally{this[_0x14d721(0x227)]['next'](!0x1);}}),(this[_0x3b3c86(0x29c)]=_0x22f9cc,this['_uiPartsService']=_0x30bff7,this[_0x3b3c86(0x2ba)]=_0x170c6e,this[_0x3b3c86(0x2bb)]=_0x570b33,this[_0x3b3c86(0x29b)]=_0x35e702,this[_0x3b3c86(0x228)]=_0x4ad6df,this[_0x3b3c86(0x2d4)]=_0x528ec3,this[_0x3b3c86(0x29f)]=_0xd57a40,this[_0x3b3c86(0x1f3)]=_0x188a76,this['_mcpConnectionController']=_0x5a6e56,this[_0x3b3c86(0x2f3)](),this['_loadStoredApiKey'](),this[_0x3b3c86(0x217)]());}['showConfigPanel'](){const _0x41510e=_0x5b9bc3,_0x288a07=this[_0x41510e(0x2ba)][_0x41510e(0x1c2)](y);_0x288a07!=null&&_0x288a07[_0x41510e(0x239)]&&this[_0x41510e(0x29b)]['open']({'id':L,'title':{'title':this[_0x41510e(0x29f)]['t']('mcpConfig.title')},'children':{'label':_0x41510e(0x25f)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1c7dc6=_0x41510e;this[_0x1c7dc6(0x29b)][_0x1c7dc6(0x235)](L);}});}[_0x5b9bc3(0x214)](){const _0x58eb21=_0x5b9bc3;return this[_0x58eb21(0x274)]['value'];}[_0x5b9bc3(0x217)](){const _0x460f48=_0x5b9bc3;this[_0x460f48(0x245)](this[_0x460f48(0x2d4)][_0x460f48(0x243)](_0x460f48(0x25f),this[_0x460f48(0x2f8)]()));}[_0x5b9bc3(0x2f8)](){const _0x5d89df=_0x5b9bc3;return _0x3c88d9(()=>{const _0x56ab03=_0x4f4d;var _0x42c4ad,_0x4fb206,_0x56eba3;return _0x19de99(nn,{'config':this[_0x56ab03(0x284)][_0x56ab03(0x208)],'mcpCoreConfig':this[_0x56ab03(0x274)][_0x56ab03(0x208)],'currentApiKey$':this[_0x56ab03(0x23c)],'onSave':this[_0x56ab03(0x1d9)],'loading':this[_0x56ab03(0x227)][_0x56ab03(0x208)],'connectionStatus$':(_0x42c4ad=this[_0x56ab03(0x1aa)])==null?void 0x0:_0x42c4ad[_0x56ab03(0x2f5)],'connectionError$':(_0x4fb206=this[_0x56ab03(0x1aa)])==null?void 0x0:_0x4fb206[_0x56ab03(0x260)],'currentSessionId$':(_0x56eba3=this[_0x56ab03(0x1aa)])==null?void 0x0:_0x56eba3['sessionId$']});},this[_0x5d89df(0x29c)]);}[_0x5b9bc3(0x2f3)](){const _0x34a5a9=_0x5b9bc3;this[_0x34a5a9(0x245)](this[_0x34a5a9(0x2ba)][_0x34a5a9(0x275)](_0x2c40d3)[_0x34a5a9(0x2aa)](_0x4c6259=>{const _0x3c1dfd=_0x34a5a9;this[_0x3c1dfd(0x274)]['next'](_0x4c6259||{});}));const _0x557221=this[_0x34a5a9(0x2ba)][_0x34a5a9(0x1c2)](_0x2c40d3);this[_0x34a5a9(0x274)][_0x34a5a9(0x2f0)](_0x557221||{}),this['disposeWithMe'](this['_configService'][_0x34a5a9(0x275)](y)[_0x34a5a9(0x2aa)](_0x48be7e=>{const _0x94724c=_0x34a5a9;this[_0x94724c(0x284)][_0x94724c(0x2f0)](_0x48be7e||{});}));const _0x36a6c1=this[_0x34a5a9(0x2ba)][_0x34a5a9(0x1c2)](y);this[_0x34a5a9(0x284)][_0x34a5a9(0x2f0)](_0x36a6c1||{});}async[_0x5b9bc3(0x290)](){const _0x4e4e26=_0x5b9bc3,_0x2844b3=this[_0x4e4e26(0x2ba)][_0x4e4e26(0x1c2)](y);if(!(_0x2844b3!=null&&_0x2844b3[_0x4e4e26(0x239)]))return;const _0x51c509=await this[_0x4e4e26(0x2bb)]['getItem'](U);_0x51c509&&(this[_0x4e4e26(0x1aa)][_0x4e4e26(0x1a5)]({'Authorization':_0x4e4e26(0x1da)+_0x51c509}),this[_0x4e4e26(0x23c)][_0x4e4e26(0x2f0)](_0x51c509));}async['_validateConfig'](_0x4e1483){const _0x58890f=_0x5b9bc3;if(!_0x4e1483[_0x58890f(0x2c5)]||_0x4e1483['apiKey'][_0x58890f(0x2d8)]()[_0x58890f(0x1d6)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x58890f(0x29f)]['t'](_0x58890f(0x2c3))};if(_0x4e1483[_0x58890f(0x2c5)][_0x58890f(0x2d8)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x58890f(0x29f)]['t'](_0x58890f(0x1ce))};try{const _0x44657b=await this[_0x58890f(0x29c)][_0x58890f(0x2da)](_0xaa88e9)[_0x58890f(0x1a1)](_0x4e1483[_0x58890f(0x2c5)][_0x58890f(0x2d8)]());return _0x44657b[_0x58890f(0x1a6)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x44657b[_0x58890f(0x258)]||this['_localeService']['t'](_0x58890f(0x218))};}catch(_0x43da48){return console[_0x58890f(0x2ca)](_0x58890f(0x205),_0x43da48),{'isValid':!0x0};}}};I=tn([d(0x0,_0x19a565(_0x4022b1)),d(0x1,_0x32a2ba),d(0x2,_0x8e1c04),d(0x3,_0x4c2eba),d(0x4,_0xee33a6),d(0x5,_0x12460d),d(0x6,_0x19a565(_0x1f0dc9)),d(0x7,_0x19a565(_0x5acff8)),d(0x8,_0x221b11),d(0x9,_0x19a565(_0xaa88e9))],I);const V={'id':_0x5b9bc3(0x28a),'type':_0x10df29[_0x5b9bc3(0x2af)],'handler':async(_0x1f8db1,_0x2b3141)=>(_0x1f8db1['get'](I)[_0x5b9bc3(0x270)](),!0x0)};function pe(_0x30657e,_0x1bcec2){const _0x46dc6a=_0x5b9bc3;switch(_0x30657e){case _0x365507[_0x46dc6a(0x26a)]:return'mcpStatus.disconnected';case _0x365507[_0x46dc6a(0x2a3)]:return _0x46dc6a(0x1b5);case _0x365507[_0x46dc6a(0x2cd)]:return'mcpStatus.connected';case _0x365507[_0x46dc6a(0x2b2)]:switch(_0x1bcec2){case _0x55c172['UNAUTHORIZED']:return _0x46dc6a(0x1db);case _0x55c172[_0x46dc6a(0x210)]:return _0x46dc6a(0x224);case _0x55c172[_0x46dc6a(0x1f0)]:return _0x46dc6a(0x24c);case _0x55c172[_0x46dc6a(0x1ea)]:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case _0x365507[_0x46dc6a(0x22d)]:return _0x46dc6a(0x296);default:return _0x46dc6a(0x268);}}function on(_0x29a95c,_0x510635,_0xe4b8e5,_0x5a8310=!0x0){const _0x3802aa=_0x5b9bc3,_0x7eaa34=pe(_0x29a95c,_0x510635),_0x49da73=_0xe4b8e5['t'](_0x7eaa34);return _0x5a8310?_0x29a95c===_0x365507[_0x3802aa(0x26a)]&&_0x510635===_0x55c172[_0x3802aa(0x2c2)]?_0x49da73+'\x20-\x20'+_0xe4b8e5['t'](_0x3802aa(0x1b2)):_0x29a95c===_0x365507[_0x3802aa(0x2cd)]?''+_0x49da73:_0x29a95c===_0x365507[_0x3802aa(0x26a)]||_0x29a95c===_0x365507['FAILED']?_0x49da73+_0x3802aa(0x230)+_0xe4b8e5['t'](_0x3802aa(0x20b)):_0x49da73:_0x49da73;}function sn(_0x43744b){const _0xbc9da5=_0x5b9bc3;switch(_0x43744b){case _0x365507['CONNECTED']:return _0xbc9da5(0x256);case _0x365507[_0xbc9da5(0x2a3)]:case _0x365507[_0xbc9da5(0x22d)]:return _0xbc9da5(0x24a);case _0x365507['FAILED']:case _0x365507[_0xbc9da5(0x26a)]:return _0xbc9da5(0x22a);default:return'univer-text-gray-500';}}function cn(_0x1810e1){const _0x37c0b5=_0x5b9bc3,{status$:_0x35c261,error$:_0x46e681,onConfigure:_0x171126,showClickable:_0x15c693=!0x0}=_0x1810e1,_0x2fa22b=_0x24e61d(_0x35c261,_0x365507['DISCONNECTED']),_0x4a7924=_0x24e61d(_0x46e681,_0x55c172[_0x37c0b5(0x288)]),_0xc6d9d=_0x3d96bb(_0x5acff8),_0x4f7f78=_0x2fa22b===_0x365507['CONNECTED'];_0x2fa22b===_0x365507[_0x37c0b5(0x2a3)]||_0x365507['RETRYING'];const _0xe2085d=_0xc6d9d['t'](pe(_0x2fa22b,_0x4a7924)),_0x27b5ab=on(_0x2fa22b,_0x4a7924,_0xc6d9d,_0x15c693),_0x2a0b84=sn(_0x2fa22b),_0xbdac94=_0x4f7f78?_0x19de99(ge,{}):_0x19de99(de,{}),_0x5b6fef=_0x40ddaf(()=>{_0x15c693&&_0x171126&&_0x171126();},[_0x15c693,_0x171126]);function _0x27de7e(){const _0x2204ce=_0x37c0b5;return _0x2a5706(_0x2204ce(0x1ef),{'className':_0x270b4d('univer-flex\x20univer-items-center',_0x15c693&&_0x171126&&_0x2204ce(0x2ab)),'role':_0x2204ce(0x2f7),'onClick':_0x15c693&&_0x171126?_0x5b6fef:void 0x0,'children':[_0x19de99(_0x2204ce(0x1ef),{'className':_0x270b4d(_0x2204ce(0x2b5),_0x2a0b84),'children':_0xbdac94}),_0x19de99(_0x2204ce(0x1ef),{'className':_0x2204ce(0x25b),'children':_0xe2085d})]});}return _0x19de99(_0x1e3ebe,{'title':_0x27b5ab,'placement':'bottom','children':_0x27de7e()});}var an=Object['getOwnPropertyDescriptor'],ln=(_0x4364ee,_0x191272,_0x38759c,_0x119530)=>{const _0x27ca44=_0x5b9bc3;for(var _0x144b1c=_0x119530>0x1?void 0x0:_0x119530?an(_0x191272,_0x38759c):_0x191272,_0x22af42=_0x4364ee[_0x27ca44(0x1d6)]-0x1,_0x2114a9;_0x22af42>=0x0;_0x22af42--)(_0x2114a9=_0x4364ee[_0x22af42])&&(_0x144b1c=_0x2114a9(_0x144b1c)||_0x144b1c);return _0x144b1c;},M=(_0x5ec09f,_0x357fea)=>(_0x8fabec,_0x4cb335)=>_0x357fea(_0x8fabec,_0x4cb335,_0x5ec09f);let O=class extends _0x38c81e{constructor(_0x240d43,_0xb47f20,_0x4025ba,_0x14f523){const _0x97ff91=_0x5b9bc3;super(),this[_0x97ff91(0x29c)]=_0x240d43,this[_0x97ff91(0x1cc)]=_0xb47f20,this['_uiPartsService']=_0x4025ba,this[_0x97ff91(0x2ba)]=_0x14f523,this[_0x97ff91(0x1b6)](),this[_0x97ff91(0x2b1)]();}[_0x5b9bc3(0x1b6)](){const _0x5292a0=_0x5b9bc3,_0x35cb08=this[_0x5292a0(0x2ba)]['getConfig'](y);_0x35cb08!=null&&_0x35cb08['showDeveloperTools']&&(this[_0x5292a0(0x1cc)]['enableAutoConnect']=!0x1);}['_initStatusComponent'](){const _0x2d2522=_0x5b9bc3,_0x5a848c=this['_configService'][_0x2d2522(0x1c2)](y);(_0x5a848c==null?void 0x0:_0x5a848c[_0x2d2522(0x223)])!==!0x1&&this[_0x2d2522(0x245)](this['_uiPartsService'][_0x2d2522(0x262)](_0x213245[_0x2d2522(0x1ed)],()=>{const _0x287602=_0x2d2522;var _0x220fc2;return _0x3c88d9(un({'status$':this[_0x287602(0x1cc)][_0x287602(0x2f5)],'error$':this[_0x287602(0x1cc)]['connectionError$'],'onConfigure':()=>this[_0x287602(0x2ea)](),'showClickable':(_0x220fc2=_0x5a848c==null?void 0x0:_0x5a848c[_0x287602(0x239)])!=null?_0x220fc2:!0x1}),this['_injector']);}));}[_0x5b9bc3(0x2ea)](){const _0x2ba585=_0x5b9bc3;this[_0x2ba585(0x29c)][_0x2ba585(0x2da)](I)['showConfigPanel']();}};O=ln([M(0x0,_0x19a565(_0x4022b1)),M(0x1,_0x19a565(_0xaa88e9)),M(0x2,_0x32a2ba),M(0x3,_0x8e1c04)],O);function un(_0x42485d){const {status$:_0x12bc37,error$:_0x59f393,onConfigure:_0x1f1f97,showClickable:_0x17d7e6}=_0x42485d;return function(){return _0x19de99(cn,{'status$':_0x12bc37,'error$':_0x59f393,'onConfigure':_0x1f1f97,'showClickable':_0x17d7e6});};}function vn(_0x4a072c){const _0x3c31d2=_0x5b9bc3;return{'id':V['id'],'type':_0x31cb4c[_0x3c31d2(0x26c)],'icon':_0x3c31d2(0x2e6),'title':'mcpConfig.title','tooltip':_0x3c31d2(0x204)};}function _0x2f0c(){const _0x31d308=['mcpConfig.configSaved','pluginName','MCP\x20已断开','warn','MCP\x20重连中...','random','CONNECTED','substring','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','white','1737392elYcsm','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','none','_componentManager','check-mark-icon','Connecting...','url(#on-line-icon_clip0_910_349)','trim','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','get','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','has','tag','mcpConfig.connectionError.unauthorized','mcpConfig.connectionStatus.disconnected','API\x20密钥无效,请检查密钥是否正确','OTHERS','mcpConfig.connectionStatus.connected','Enable\x20Authentication','defs','Session\x20ID','MenuIcon','配置保存失败','pre','displayName','_handleConfigure','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mergeMenu','Error','use','连接失败','next','univer-flex\x20univer-items-start\x20univer-gap-2','round','_initConfigSync','univer-shrink-0\x20univer-text-blue-500','connectionStatus$','1391712KfZPkL','button','_createConfigPanelComponent','text','forEach','配置更改将立即生效','17352BAyZOU','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','svg','univer-text-sm\x20univer-text-gray-500','API\x20密钥','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','OnLineIcon','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','validateApiKey','Connected','fill','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','__setCustomHeaders','isValid','off','evenodd','onStarting','_mcpConnectionController','配置参数:','univer-text-xs\x20univer-text-gray-600','map','Success','51195oFruDQ','mcpConfig.apiKeyHint','将配置添加到您的\x20MCP\x20客户端设置文件中','mcpStatus.clickToConfigure','What\x20is\x20API\x20Key?','Configuration\x20Parameters:','mcpStatus.connecting','_initAutoConnect','mcpConfig.configStep1','配置步骤:','373444BAcxgo','Copy\x20the\x20JSON\x20configuration\x20below','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','最大重试次数','几秒钟内获取您的\x20API\x20密钥','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20连接失败','MCP\x20Connection\x20Failed','on-line-icon_clip0_910_349','getConfig','将以下配置添加到您的\x20MCP\x20客户端设置中:','https://console.univer.plus','您的\x20API\x20密钥安全存储在本地存储中','_config','url(#$1','translate(.97)','MCP:\x20Network\x20Error','span','mcpConfig.connectionStatus.connecting','_connectionController','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.validation.apiKeyTooShort','univer-shrink-0\x20univer-text-red-500','MCP:\x20Max\x20Retries\x20Exceeded','OffLineIcon','带有\x20Bearer\x20前缀的\x20API\x20密钥。','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','length','MCP\x20状态未知','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','_handleConfigSave','Bearer\x20','mcpStatus.unauthorized','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP\x20Configuration','mcpConfig.connectionError.maxRetriesExceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','toString','univer.plus','mcpConfig.configStepTitle','univer-text-blue-600','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','path','setItem','Authorization:','children','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-items-center\x20univer-gap-3','0\x200\x2017\x2016','HEADER_MENU','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','div','NETWORK_ERROR','string','MCP\x20配置','_logService','Univer\x20AI\x20控制台','_blank','off-line-icon_clip0_910_343','_initializeMenus','HelpIcon','entries','xlink:href','mcpConfig.configStep2','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','univer-bg-gray-500','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','assign','show','MCP\x20Disconnected','重启您的\x20MCP\x20客户端以使配置生效','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpConfig.title','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','网络连接错误,请检查您的网络连接','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','value','attrs','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpStatus.clickToConnect','mcpConfig.validation.invalidConfig','mcpConfig.connectionStatus.retrying','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','复制以下\x20JSON\x20配置','SESSION_ID_OCCUPIED','API\x20密钥长度至少需要\x2010\x20位','univer-bg-red-500','54zpPHPM','getCurrentConfig','mcpConfig.configStep3','_uiPartsService','_registerComponent','mcpConfig.validation.invalidApiKey','http://www.w3.org/2000/svg','1em','symbol','mcpConfig.note2','mcp-config-dialog','API\x20密钥不能为空','univer-text-xs\x20univer-text-gray-500','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','mcpConfig.connectionError.sessionOccupied','_validateConfig','showStatus','mcpStatus.sessionOccupied','153579HeTgeh','API\x20Key','_loading$','_messageService','off-line-icon','univer-text-red-500','mcpServerUrl','univer-text-sm\x20univer-font-medium','RETRYING','label','mcpConfig.authorizationDescription','\x20-\x20','mcpConfig.saving','noopener\x20noreferrer','push','mcpConfig.connectionInfo','close','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.apiKeyPlaceholder','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','showDeveloperTools','add','currentColor','_apiKey$','MCP\x20连接中...','mcpConfig.configInstructions','univer-font-medium','MCP\x20已连接','mcpConfig.sessionIdDescription','Saving...','register','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','disposeWithMe','MCP:\x20Unauthorized','已连接','close-icon','stringify','univer-text-yellow-500','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpStatus.networkError','MCP\x20Unknown\x20Status','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpConfig.apiApplyInfo.title','clipPath','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','univer-flex\x20univer-flex-wrap\x20univer-gap-2','CheckMarkIcon','univer-text-green-500','http','error','univer-space-y-3','连接中...','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','help-icon','3650jkWIzQ','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','MCPConfigPanel','connectionError$','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','registerComponent','MCP\x20Client\x20Configuration','MCP\x20Connected','univer-flex\x20univer-items-start\x20univer-gap-3','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','0\x200\x2016\x2016','mcpStatus.unknown','mcpConfig.apiApplyInfo.getStarted','DISCONNECTED','Invalid\x20configuration','BUTTON','20iBcvPs','重连中...','Save\x20Configuration','showConfigPanel','点击连接\x20MCP','<API_KEY>','_initializeCommands','_mcpCoreConfig$','subscribeConfigValue$','请输入您的\x20API\x20密钥','1146162GnTtsM','univer-bg-green-500','Click\x20to\x20configure\x20MCP','您的\x20API\x20密钥将在此浏览器中本地存储','UniverIcon','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','_menuManagerService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univerjs-icon\x20univerjs-icon-','MCP:\x20未授权','_config$','保存配置','mcpConfig.configError','mask','NONE','MCP:\x20网络错误','mcp-ui.command.openConfigPanel','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.connectionStatus.failed','mcpConfig.apiKey','MCP:\x20超出最大重试次数','M0\x200H16V16H0z','_loadStoredApiKey','replace','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','配置保存成功','univer_session_id:','mcpStatus.retrying','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','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客户端配置','includes','_dialogService','_injector','https://mcp.univer.ai/mcp/?univer_session_id=','mcp.apiKey','_localeService','Max\x20Retries','Univer\x20AI\x20Console','setConfig','CONNECTING','univer-size-2\x20univer-rounded-full','getOwnPropertyDescriptor','Enable\x20authentication\x20for\x20secure\x20connections','univer-flex\x20univer-items-center\x20univer-gap-2','univer-bg-blue-500','defIds','subscribe','\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','Enter\x20your\x20API\x20key','univer.ai','什么是\x20API\x20密钥?','COMMAND','univer-space-y-2','_initStatusComponent','FAILED','on-line-icon','Retrying...','univer-mr-2\x20univer-flex\x20univer-text-xl','idSuffix','启用身份验证以获得安全连接','会话\x20ID\x20已被占用,请稍后再试','配置无效','_configService','_localStorageService','MCP\x20Retrying...','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.configParameters','Click\x20to\x20connect\x20MCP','mcpConfig.save','colorChannel1','UNAUTHORIZED','mcpConfig.validation.apiKeyRequired','defineProperty','apiKey','启用身份验证'];_0x2f0c=function(){return _0x31d308;};return _0x2f0c();}const dn={[_0xbead22[_0x5b9bc3(0x2e1)]]:{[V['id']]:{'order':0xa,'menuItemFactory':vn}}};function _0x4f4d(_0x276b7e,_0x257653){_0x276b7e=_0x276b7e-0x199;const _0x2f0ce7=_0x2f0c();let _0x4f4dfd=_0x2f0ce7[_0x276b7e];return _0x4f4dfd;}var gn=Object[_0x5b9bc3(0x2a5)],pn=(_0x2f11bd,_0xe21e82,_0x3ae24c,_0x2e43b6)=>{const _0x79bd16=_0x5b9bc3;for(var _0x184f3f=_0x2e43b6>0x1?void 0x0:_0x2e43b6?gn(_0xe21e82,_0x3ae24c):_0xe21e82,_0x6ebe10=_0x2f11bd[_0x79bd16(0x1d6)]-0x1,_0x4b97f2;_0x6ebe10>=0x0;_0x6ebe10--)(_0x4b97f2=_0x2f11bd[_0x6ebe10])&&(_0x184f3f=_0x4b97f2(_0x184f3f)||_0x184f3f);return _0x184f3f;},re=(_0x6ff528,_0x183fc7)=>(_0x582b02,_0x4079d7)=>_0x183fc7(_0x582b02,_0x4079d7,_0x6ff528);let D=class extends _0x38c81e{constructor(_0x27edb2,_0x12c3f1){const _0x276c4d=_0x5b9bc3;super(),this['_commandService']=_0x27edb2,this[_0x276c4d(0x280)]=_0x12c3f1,this['_initializeCommands'](),this[_0x276c4d(0x1f7)]();}[_0x5b9bc3(0x273)](){const _0x2ce317=_0x5b9bc3;[V][_0x2ce317(0x2fa)](_0x2ef7b5=>{const _0x3a4292=_0x2ce317;this[_0x3a4292(0x245)](this['_commandService']['registerCommand'](_0x2ef7b5));});}[_0x5b9bc3(0x1f7)](){const _0x25628c=_0x5b9bc3;this['_menuManagerService'][_0x25628c(0x2ec)](dn);}};D=pn([re(0x0,_0x30ffad),re(0x1,_0x1face2)],D);const Mn={'mcpStatus':{'disconnected':_0x5b9bc3(0x201),'connecting':'MCP\x20Connecting...','connected':_0x5b9bc3(0x264),'failed':_0x5b9bc3(0x1c0),'retrying':_0x5b9bc3(0x2bc),'unknown':_0x5b9bc3(0x24d),'unauthorized':_0x5b9bc3(0x246),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5b9bc3(0x1c9),'maxRetriesExceeded':_0x5b9bc3(0x1d0),'clickToConnect':_0x5b9bc3(0x2bf),'clickToConfigure':_0x5b9bc3(0x279)},'mcpConfig':{'title':_0x5b9bc3(0x1de),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5b9bc3(0x226),'apiKeyPlaceholder':_0x5b9bc3(0x2ac),'apiKeyHint':_0x5b9bc3(0x1be),'enableAuth':_0x5b9bc3(0x2e3),'enableAuthHint':_0x5b9bc3(0x2a6),'connectionInfo':_0x5b9bc3(0x263),'mcpClientConfig':_0x5b9bc3(0x263),'configInstructions':_0x5b9bc3(0x250),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x5b9bc3(0x1ba),'configStep2':_0x5b9bc3(0x1ee),'configStep3':_0x5b9bc3(0x1fe),'sessionId':_0x5b9bc3(0x2e5),'sessionIdDescription':_0x5b9bc3(0x20e),'authorizationDescription':_0x5b9bc3(0x27e),'configParameters':_0x5b9bc3(0x1b4),'maxRetries':_0x5b9bc3(0x2a0),'save':_0x5b9bc3(0x26f),'saving':_0x5b9bc3(0x242),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5b9bc3(0x1a4),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5b9bc3(0x1b3),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x5b9bc3(0x2a1),'getStarted':_0x5b9bc3(0x236)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5b9bc3(0x1e0),'invalidConfig':_0x5b9bc3(0x26b),'invalidApiKey':_0x5b9bc3(0x2cf)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5b9bc3(0x2d6),'connected':_0x5b9bc3(0x1a2),'failed':_0x5b9bc3(0x27f),'retrying':_0x5b9bc3(0x2b4)},'connectionError':{'unauthorized':_0x5b9bc3(0x1d3),'sessionOccupied':_0x5b9bc3(0x1d5),'networkError':_0x5b9bc3(0x1d4),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},An={'mcpStatus':{'disconnected':_0x5b9bc3(0x2c9),'connecting':_0x5b9bc3(0x23d),'connected':_0x5b9bc3(0x240),'failed':_0x5b9bc3(0x1bf),'retrying':_0x5b9bc3(0x2cb),'unknown':_0x5b9bc3(0x1d7),'unauthorized':_0x5b9bc3(0x283),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x5b9bc3(0x289),'maxRetriesExceeded':_0x5b9bc3(0x28e),'clickToConnect':_0x5b9bc3(0x271),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x5b9bc3(0x1f2),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x5b9bc3(0x19d),'apiKeyPlaceholder':_0x5b9bc3(0x276),'apiKeyHint':_0x5b9bc3(0x27a),'enableAuth':_0x5b9bc3(0x2c6),'enableAuthHint':_0x5b9bc3(0x2b7),'connectionInfo':_0x5b9bc3(0x299),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x5b9bc3(0x1c3),'configStepTitle':_0x5b9bc3(0x1b8),'configStep1':_0x5b9bc3(0x20f),'configStep2':_0x5b9bc3(0x1b1),'configStep3':_0x5b9bc3(0x202),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x5b9bc3(0x1d2),'configParameters':_0x5b9bc3(0x1ab),'maxRetries':_0x5b9bc3(0x1bc),'save':_0x5b9bc3(0x285),'saving':'保存中...','note1':_0x5b9bc3(0x2fb),'note2':_0x5b9bc3(0x1c5),'configSaved':_0x5b9bc3(0x294),'configError':_0x5b9bc3(0x2e7),'apiApplyInfo':{'title':_0x5b9bc3(0x2ae),'description':_0x5b9bc3(0x244),'univerAiLabel':_0x5b9bc3(0x1f4),'getStarted':_0x5b9bc3(0x1bd)},'validation':{'apiKeyRequired':_0x5b9bc3(0x21e),'apiKeyTooShort':_0x5b9bc3(0x211),'invalidConfig':_0x5b9bc3(0x2b9),'invalidApiKey':_0x5b9bc3(0x2e0)},'connectionStatus':{'disconnected':'未连接','connecting':_0x5b9bc3(0x25a),'connected':_0x5b9bc3(0x247),'failed':_0x5b9bc3(0x2ef),'retrying':_0x5b9bc3(0x26e)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x5b9bc3(0x2b8),'networkError':_0x5b9bc3(0x206),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var fn=Object[_0x5b9bc3(0x2c4)],hn=Object[_0x5b9bc3(0x2a5)],Cn=(_0xfd7d6e,_0x46d87d,_0x3f772b)=>_0x46d87d in _0xfd7d6e?fn(_0xfd7d6e,_0x46d87d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f772b}):_0xfd7d6e[_0x46d87d]=_0x3f772b,mn=(_0x1e7f80,_0x21c79a,_0x3ae33e,_0x5bcdb8)=>{const _0x19c8a0=_0x5b9bc3;for(var _0x35af17=_0x5bcdb8>0x1?void 0x0:_0x5bcdb8?hn(_0x21c79a,_0x3ae33e):_0x21c79a,_0x114675=_0x1e7f80[_0x19c8a0(0x1d6)]-0x1,_0x25fc6d;_0x114675>=0x0;_0x114675--)(_0x25fc6d=_0x1e7f80[_0x114675])&&(_0x35af17=_0x25fc6d(_0x35af17)||_0x35af17);return _0x35af17;},P=(_0x5be0b6,_0x17a30a)=>(_0x189334,_0x10e5f1)=>_0x17a30a(_0x189334,_0x10e5f1,_0x5be0b6),_n=(_0x5ebbe7,_0x1df81d,_0x4761c0)=>Cn(_0x5ebbe7,_0x1df81d+'',_0x4761c0);let j=class extends _0x2065f8{constructor(_0x109fd6=ie,_0x1ce77e,_0x4549a9,_0x2d751d,_0x3b90d6,_0x4778d8){const _0x5dd24d=_0x5b9bc3;super(),this[_0x5dd24d(0x1c6)]=_0x109fd6,this[_0x5dd24d(0x29c)]=_0x1ce77e,this[_0x5dd24d(0x2ba)]=_0x4549a9,this[_0x5dd24d(0x216)]=_0x2d751d,this[_0x5dd24d(0x2bb)]=_0x3b90d6,this[_0x5dd24d(0x29f)]=_0x4778d8;const {..._0x499055}=_0x286fb1({},ie,this[_0x5dd24d(0x1c6)]);this[_0x5dd24d(0x2ba)][_0x5dd24d(0x2a2)](y,_0x499055);}async[_0x5b9bc3(0x1a9)](){const _0x6b4880=_0x5b9bc3,_0x585730=[[O],[I],[D]];this[_0x6b4880(0x29c)][_0x6b4880(0x2dc)](_0x447220)||_0x585730[_0x6b4880(0x233)]([_0x447220,{'useClass':_0x4200bf}]),_0x585730[_0x6b4880(0x2fa)](_0x1ab5df=>this[_0x6b4880(0x29c)][_0x6b4880(0x23a)](_0x1ab5df)),this[_0x6b4880(0x29c)]['get'](O),this[_0x6b4880(0x29c)][_0x6b4880(0x2da)](I),this[_0x6b4880(0x29c)][_0x6b4880(0x2da)](D);}};_n(j,_0x5b9bc3(0x2c8),'MCP_UI_PLUGIN'),j=mn([_0x617d51(_0x4b8cc0),P(0x1,_0x19a565(_0x4022b1)),P(0x2,_0x8e1c04),P(0x3,_0x32a2ba),P(0x4,_0x4c2eba),P(0x5,_0x19a565(_0x5acff8))],j);export{nn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,cn as MCPStatusDisplay,D as MCPUIMenuController,V as OpenMCPConfigPanelCommand,j as UniverMCPUIPlugin,Mn as enUS,An as zhCN};
@@ -1 +1 @@
1
- const _0x4643ec=_0x27c9;(function(_0x395c11,_0x5efa4f){const _0x4566ce=_0x27c9,_0x162d88=_0x395c11();while(!![]){try{const _0x5663db=-parseInt(_0x4566ce(0x161))/0x1+parseInt(_0x4566ce(0x168))/0x2*(parseInt(_0x4566ce(0x136))/0x3)+parseInt(_0x4566ce(0x139))/0x4*(parseInt(_0x4566ce(0x15b))/0x5)+-parseInt(_0x4566ce(0x144))/0x6*(parseInt(_0x4566ce(0x157))/0x7)+parseInt(_0x4566ce(0x155))/0x8+parseInt(_0x4566ce(0x145))/0x9*(-parseInt(_0x4566ce(0x160))/0xa)+-parseInt(_0x4566ce(0x138))/0xb*(-parseInt(_0x4566ce(0x165))/0xc);if(_0x5663db===_0x5efa4f)break;else _0x162d88['push'](_0x162d88['shift']());}catch(_0x5e30a8){_0x162d88['push'](_0x162d88['shift']());}}}(_0x416a,0xaa0ac));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4643ec(0x162),'failed':_0x4643ec(0x14e),'retrying':_0x4643ec(0x13a),'unknown':_0x4643ec(0x163),'unauthorized':_0x4643ec(0x159),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4643ec(0x153),'maxRetriesExceeded':_0x4643ec(0x164),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4643ec(0x15e)},'mcpConfig':{'title':_0x4643ec(0x141),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4643ec(0x14c),'apiKeyPlaceholder':_0x4643ec(0x154),'apiKeyHint':_0x4643ec(0x13c),'enableAuth':_0x4643ec(0x156),'enableAuthHint':_0x4643ec(0x142),'connectionInfo':_0x4643ec(0x15a),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4643ec(0x13e),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4643ec(0x151),'configStep2':_0x4643ec(0x147),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4643ec(0x13d),'sessionIdDescription':_0x4643ec(0x152),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4643ec(0x158),'maxRetries':_0x4643ec(0x149),'save':'Save\x20Configuration','saving':_0x4643ec(0x14d),'note1':_0x4643ec(0x167),'note2':_0x4643ec(0x14f),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4643ec(0x137),'apiApplyInfo':{'title':_0x4643ec(0x15c),'description':_0x4643ec(0x148),'univerAiLabel':_0x4643ec(0x14a),'getStarted':_0x4643ec(0x150)},'validation':{'apiKeyRequired':_0x4643ec(0x13f),'apiKeyTooShort':_0x4643ec(0x166),'invalidConfig':_0x4643ec(0x140),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4643ec(0x146),'connected':_0x4643ec(0x143),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x4643ec(0x15f),'sessionOccupied':_0x4643ec(0x15d),'networkError':_0x4643ec(0x13b),'maxRetriesExceeded':_0x4643ec(0x14b)}}},n=e;function _0x27c9(_0x1abf82,_0x16dacd){_0x1abf82=_0x1abf82-0x136;const _0x416a70=_0x416a();let _0x27c9bc=_0x416a70[_0x1abf82];return _0x27c9bc;}function _0x416a(){const _0x35ca96=['722559FqFEuY','Failed\x20to\x20save\x20configuration','165IzbqDK','4YbzZXc','MCP\x20Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20ID','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20is\x20required','Invalid\x20configuration','MCP\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Connected','108LwRapf','1026lqkoJm','Connecting...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','Univer\x20AI\x20Console','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key','Saving...','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','Copy\x20the\x20JSON\x20configuration\x20below','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Network\x20Error','Enter\x20your\x20API\x20key','10143136xqbvvS','Enable\x20Authentication','422751EGkBxj','Configuration\x20Parameters:','MCP:\x20Unauthorized','MCP\x20Client\x20Configuration','669005vwEChA','What\x20is\x20API\x20Key?','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Click\x20to\x20configure\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','58250yXkzwF','1226087oRVeZa','MCP\x20Connected','MCP\x20Unknown\x20Status','MCP:\x20Max\x20Retries\x20Exceeded','854196nZNYhd','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','10jIDYBt'];_0x416a=function(){return _0x35ca96;};return _0x416a();}export{n as default};
1
+ const _0x1c9f94=_0x5b2d;(function(_0x379aa9,_0x5de624){const _0x5f40a8=_0x5b2d,_0x55aff3=_0x379aa9();while(!![]){try{const _0x383247=-parseInt(_0x5f40a8(0x16f))/0x1+-parseInt(_0x5f40a8(0x15b))/0x2*(parseInt(_0x5f40a8(0x183))/0x3)+parseInt(_0x5f40a8(0x186))/0x4+-parseInt(_0x5f40a8(0x172))/0x5+-parseInt(_0x5f40a8(0x16c))/0x6+parseInt(_0x5f40a8(0x180))/0x7+parseInt(_0x5f40a8(0x18a))/0x8;if(_0x383247===_0x5de624)break;else _0x55aff3['push'](_0x55aff3['shift']());}catch(_0x3dba42){_0x55aff3['push'](_0x55aff3['shift']());}}}(_0x608b,0x81e15));function _0x608b(){const _0x37b5b0=['Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Steps:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Failed','Univer\x20AI\x20Console','Click\x20to\x20connect\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','6482119lsuwbF','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Disconnected','436602tZCkBR','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','3282132ZDoHUE','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','Max\x20Retries','16864120hmxeqM','Invalid\x20configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Parameters:','Failed\x20to\x20save\x20configuration','Connecting...','MCP:\x20Session\x20ID\x20Occupied','Disconnected','14oGkBcf','Enable\x20authentication\x20for\x20secure\x20connections','Save\x20Configuration','Retrying...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Unauthorized','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connected','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','4254462FCbAep','Session\x20ID','MCP\x20Connecting...','953359aSNesx','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connected','3207010NpevTZ','MCP\x20Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20Authentication','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x608b=function(){return _0x37b5b0;};return _0x608b();}const e={'mcpStatus':{'disconnected':_0x1c9f94(0x182),'connecting':_0x1c9f94(0x16e),'connected':_0x1c9f94(0x165),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1c9f94(0x173),'unknown':_0x1c9f94(0x185),'unauthorized':_0x1c9f94(0x161),'sessionOccupied':_0x1c9f94(0x159),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1c9f94(0x181),'clickToConnect':_0x1c9f94(0x17e),'clickToConfigure':_0x1c9f94(0x163)},'mcpConfig':{'title':_0x1c9f94(0x167),'description':_0x1c9f94(0x174),'apiKey':_0x1c9f94(0x168),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1c9f94(0x175),'enableAuthHint':_0x1c9f94(0x15c),'connectionInfo':_0x1c9f94(0x177),'mcpClientConfig':_0x1c9f94(0x177),'configInstructions':_0x1c9f94(0x184),'configStepTitle':_0x1c9f94(0x17a),'configStep1':_0x1c9f94(0x17f),'configStep2':_0x1c9f94(0x170),'configStep3':_0x1c9f94(0x15f),'sessionId':_0x1c9f94(0x16d),'sessionIdDescription':_0x1c9f94(0x176),'authorizationDescription':_0x1c9f94(0x166),'configParameters':_0x1c9f94(0x156),'maxRetries':_0x1c9f94(0x189),'save':_0x1c9f94(0x15d),'saving':_0x1c9f94(0x16a),'note1':_0x1c9f94(0x16b),'note2':_0x1c9f94(0x17b),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1c9f94(0x157),'apiApplyInfo':{'title':_0x1c9f94(0x187),'description':_0x1c9f94(0x18c),'univerAiLabel':_0x1c9f94(0x17d),'getStarted':_0x1c9f94(0x188)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x1c9f94(0x164),'invalidConfig':_0x1c9f94(0x18b),'invalidApiKey':_0x1c9f94(0x160)},'connectionStatus':{'disconnected':_0x1c9f94(0x15a),'connecting':_0x1c9f94(0x158),'connected':_0x1c9f94(0x171),'failed':_0x1c9f94(0x17c),'retrying':_0x1c9f94(0x15e)},'connectionError':{'unauthorized':_0x1c9f94(0x162),'sessionOccupied':_0x1c9f94(0x178),'networkError':_0x1c9f94(0x179),'maxRetriesExceeded':_0x1c9f94(0x169)}}},n=e;function _0x5b2d(_0x90f697,_0x3bafdb){_0x90f697=_0x90f697-0x156;const _0x608b14=_0x608b();let _0x5b2d9e=_0x608b14[_0x90f697];return _0x5b2d9e;}export{n as default};