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

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 (53) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +6 -6
@@ -1 +1 @@
1
- 'use strict';function _0x59f8(_0x305e57,_0x54134a){_0x305e57=_0x305e57-0xbc;const _0x47f962=_0x47f9();let _0x59f82d=_0x47f962[_0x305e57];return _0x59f82d;}const _0x2c4db6=_0x59f8;(function(_0x5a1f29,_0x2f498d){const _0x5e6ddf=_0x59f8,_0x5081b2=_0x5a1f29();while(!![]){try{const _0x48b5e4=parseInt(_0x5e6ddf(0xd9))/0x1+-parseInt(_0x5e6ddf(0xd0))/0x2*(parseInt(_0x5e6ddf(0xc2))/0x3)+-parseInt(_0x5e6ddf(0xe6))/0x4+-parseInt(_0x5e6ddf(0xd3))/0x5*(-parseInt(_0x5e6ddf(0xca))/0x6)+parseInt(_0x5e6ddf(0xc1))/0x7+parseInt(_0x5e6ddf(0xd2))/0x8*(parseInt(_0x5e6ddf(0xeb))/0x9)+-parseInt(_0x5e6ddf(0xcb))/0xa*(parseInt(_0x5e6ddf(0xc6))/0xb);if(_0x48b5e4===_0x2f498d)break;else _0x5081b2['push'](_0x5081b2['shift']());}catch(_0x5321b0){_0x5081b2['push'](_0x5081b2['shift']());}}}(_0x47f9,0xf41e0));function _0x47f9(){const _0x48aebe=['60jVRSOc','MCP:\x20네트워크\x20오류','세션\x20ID','API\x20키를\x20입력하세요','보안\x20연결을\x20위해\x20인증\x20활성화','2bQkeiR','인증\x20실패.\x20API\x20키를\x20확인하세요','297496xYQCmT','310Rqygyg','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','아래\x20JSON\x20설정\x20복사','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','API\x20키는\x2010자\x20이상이어야\x20합니다','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','1813309bqHMuO','MCP\x20연결\x20중...','MCP\x20연결\x20실패','API\x20','인증\x20활성화','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','MCP\x20알\x20수\x20없는\x20상태','저장\x20중...','연결\x20중...','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','설정\x20매개변수:','설정\x20저장\x20실패','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','4822120tJjkaU','Univer\x20AI\x20콘솔','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','몇\x20초\x20만에\x20API\x20키\x20발급받기','최대\x20재시도\x20횟수','45cDwwoz','연결\x20실패','연결됨','MCP\x20설정','Bearer\x20접두사가\x20있는\x20API\x20키.','exports','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','125279Vewrqa','3704097asFmyk','MCP\x20연결됨','MCP\x20클라이언트\x20설정','MCP\x20재시도\x20중...','1057045MDzvcb','MCP:\x20세션\x20ID\x20사용\x20중','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','API\x20키란\x20무엇인가요?','193506yLlfwm'];_0x47f9=function(){return _0x48aebe;};return _0x47f9();}const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x2c4db6(0xda),'connected':_0x2c4db6(0xc3),'failed':_0x2c4db6(0xdb),'retrying':_0x2c4db6(0xc5),'unknown':_0x2c4db6(0xdf),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x2c4db6(0xc7),'networkError':_0x2c4db6(0xcc),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0x2c4db6(0xbd),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x2c4db6(0xdc),'apiKeyPlaceholder':_0x2c4db6(0xce),'apiKeyHint':_0x2c4db6(0xd8),'enableAuth':_0x2c4db6(0xdd),'enableAuthHint':_0x2c4db6(0xcf),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x2c4db6(0xc4),'configInstructions':_0x2c4db6(0xd6),'configStepTitle':'설정\x20단계:','configStep1':_0x2c4db6(0xd5),'configStep2':_0x2c4db6(0xc8),'configStep3':_0x2c4db6(0xe8),'sessionId':_0x2c4db6(0xcd),'sessionIdDescription':_0x2c4db6(0xde),'authorizationDescription':_0x2c4db6(0xbe),'configParameters':_0x2c4db6(0xe3),'maxRetries':_0x2c4db6(0xea),'save':'설정\x20저장','saving':_0x2c4db6(0xe0),'note1':_0x2c4db6(0xe5),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':'설정이\x20성공적으로\x20저장되었습니다','configError':_0x2c4db6(0xe4),'apiApplyInfo':{'title':_0x2c4db6(0xc9),'description':_0x2c4db6(0xe2),'univerAiLabel':_0x2c4db6(0xe7),'getStarted':_0x2c4db6(0xe9)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0x2c4db6(0xd7),'invalidConfig':'유효하지\x20않은\x20설정','invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x2c4db6(0xe1),'connected':_0x2c4db6(0xbc),'failed':_0x2c4db6(0xec),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':_0x2c4db6(0xd1),'sessionOccupied':_0x2c4db6(0xd4),'networkError':_0x2c4db6(0xc0),'maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};module[_0x2c4db6(0xbf)]=e;
1
+ 'use strict';const _0x2abb2a=_0x1416;(function(_0x5437a0,_0x5c8778){const _0x16c437=_0x1416,_0x1a0899=_0x5437a0();while(!![]){try{const _0xda974f=parseInt(_0x16c437(0x74))/0x1+parseInt(_0x16c437(0x8c))/0x2*(-parseInt(_0x16c437(0x69))/0x3)+parseInt(_0x16c437(0x6b))/0x4*(-parseInt(_0x16c437(0x6e))/0x5)+-parseInt(_0x16c437(0x80))/0x6+parseInt(_0x16c437(0x70))/0x7+parseInt(_0x16c437(0x89))/0x8*(parseInt(_0x16c437(0x81))/0x9)+-parseInt(_0x16c437(0x7f))/0xa*(parseInt(_0x16c437(0x7d))/0xb);if(_0xda974f===_0x5c8778)break;else _0x1a0899['push'](_0x1a0899['shift']());}catch(_0x4c72b0){_0x1a0899['push'](_0x1a0899['shift']());}}}(_0x552b,0xc0159));function _0x1416(_0x1bf2da,_0x59783a){_0x1bf2da=_0x1bf2da-0x64;const _0x552b35=_0x552b();let _0x1416e4=_0x552b35[_0x1bf2da];return _0x1416e4;}const e={'mcpStatus':{'disconnected':_0x2abb2a(0x76),'connecting':'MCP\x20연결\x20중...','connected':_0x2abb2a(0x67),'failed':_0x2abb2a(0x6a),'retrying':_0x2abb2a(0x87),'unknown':'MCP\x20알\x20수\x20없는\x20상태','unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x2abb2a(0x83),'networkError':_0x2abb2a(0x6d),'maxRetriesExceeded':_0x2abb2a(0x75),'clickToConnect':_0x2abb2a(0x88),'clickToConfigure':_0x2abb2a(0x78)},'mcpConfig':{'title':_0x2abb2a(0x66),'description':_0x2abb2a(0x64),'apiKey':'API\x20','apiKeyPlaceholder':_0x2abb2a(0x77),'apiKeyHint':'API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','enableAuth':_0x2abb2a(0x8b),'enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':_0x2abb2a(0x84),'mcpClientConfig':_0x2abb2a(0x84),'configInstructions':_0x2abb2a(0x85),'configStepTitle':_0x2abb2a(0x71),'configStep1':_0x2abb2a(0x90),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':'MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','sessionId':_0x2abb2a(0x7c),'sessionIdDescription':'고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','authorizationDescription':_0x2abb2a(0x72),'configParameters':_0x2abb2a(0x91),'maxRetries':_0x2abb2a(0x68),'save':_0x2abb2a(0x86),'saving':_0x2abb2a(0x82),'note1':_0x2abb2a(0x8a),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x2abb2a(0x7a),'configError':_0x2abb2a(0x7e),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':_0x2abb2a(0x79),'getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x2abb2a(0x8e),'apiKeyTooShort':_0x2abb2a(0x6f),'invalidConfig':_0x2abb2a(0x8f),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0x2abb2a(0x8d),'connecting':'연결\x20중...','connected':'연결됨','failed':_0x2abb2a(0x6c),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0x2abb2a(0x65),'networkError':_0x2abb2a(0x7b),'maxRetriesExceeded':_0x2abb2a(0x73)}}};module['exports']=e;function _0x552b(){const _0x2c8a8c=['5wqNKea','API\x20키는\x2010자\x20이상이어야\x20합니다','10032197ldQTbu','설정\x20단계:','Bearer\x20접두사가\x20있는\x20API\x20키.','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','1461886ZtCeau','MCP:\x20최대\x20재시도\x20횟수\x20초과','MCP\x20연결\x20끊김','API\x20키를\x20입력하세요','클릭하여\x20MCP\x20설정','Univer\x20AI\x20콘솔','설정이\x20성공적으로\x20저장되었습니다','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','세션\x20ID','2963587qvpEWa','설정\x20저장\x20실패','10QUmKFz','5881200bqpgBY','135PwtIsF','저장\x20중...','MCP:\x20세션\x20ID\x20사용\x20중','MCP\x20클라이언트\x20설정','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','설정\x20저장','MCP\x20재시도\x20중...','클릭하여\x20MCP\x20연결','345216ovLmAI','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','인증\x20활성화','115142YKVeDl','연결\x20끊김','API\x20키는\x20필수입니다','유효하지\x20않은\x20설정','아래\x20JSON\x20설정\x20복사','설정\x20매개변수:','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','MCP\x20설정','MCP\x20연결됨','최대\x20재시도\x20횟수','18SPhryl','MCP\x20연결\x20실패','4642068ROkzqa','연결\x20실패','MCP:\x20네트워크\x20오류'];_0x552b=function(){return _0x2c8a8c;};return _0x552b();}
@@ -1 +1 @@
1
- 'use strict';const _0xb5c950=_0x36d3;(function(_0x46e6c6,_0x314527){const _0x463bc9=_0x36d3,_0x5bcf0c=_0x46e6c6();while(!![]){try{const _0x12178e=-parseInt(_0x463bc9(0xaa))/0x1*(-parseInt(_0x463bc9(0xb7))/0x2)+parseInt(_0x463bc9(0xbc))/0x3*(parseInt(_0x463bc9(0xc3))/0x4)+parseInt(_0x463bc9(0xa6))/0x5+parseInt(_0x463bc9(0xb9))/0x6*(parseInt(_0x463bc9(0x95))/0x7)+parseInt(_0x463bc9(0xc0))/0x8*(-parseInt(_0x463bc9(0xa7))/0x9)+parseInt(_0x463bc9(0xc1))/0xa+-parseInt(_0x463bc9(0xad))/0xb;if(_0x12178e===_0x314527)break;else _0x5bcf0c['push'](_0x5bcf0c['shift']());}catch(_0x4e86ac){_0x5bcf0c['push'](_0x5bcf0c['shift']());}}}(_0x2f2f,0x6a4f4));function _0x36d3(_0x162004,_0x215cd8){_0x162004=_0x162004-0x92;const _0x2f2ffe=_0x2f2f();let _0x36d3d9=_0x2f2ffe[_0x162004];return _0x36d3d9;}function _0x2f2f(){const _0x1796a6=['Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','MCP:\x20Max\x20Retries\x20Exceeded','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','MCP\x20Client\x20Configuration','MCP\x20Retrying...','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','Configuration\x20Parameters:','1251625cfQgkK','9NFHexR','MCP\x20Disconnected','Connected','4610jaDJPI','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20configuration','20999682ArbDNV','exports','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','212xWtiRK','Click\x20to\x20connect\x20MCP','146430yGZTdw','MCP\x20Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','3YfsJUr','Univer\x20AI\x20Console','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','What\x20is\x20API\x20Key?','561272sooKUF','7279010qJRtWy','Connecting...','374416guMdjQ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Configuration','Enable\x20Authentication','Configuration\x20saved\x20successfully','245VmUlDV','Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Save\x20Configuration'];_0x2f2f=function(){return _0x1796a6;};return _0x2f2f();}const e={'mcpStatus':{'disconnected':_0xb5c950(0xa8),'connecting':_0xb5c950(0xb0),'connected':'MCP\x20Connected','failed':_0xb5c950(0xba),'retrying':_0xb5c950(0xa1),'unknown':_0xb5c950(0x9c),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0xb5c950(0xbb),'networkError':_0xb5c950(0x9b),'maxRetriesExceeded':_0xb5c950(0x9d),'clickToConnect':_0xb5c950(0xb8),'clickToConfigure':_0xb5c950(0xb5)},'mcpConfig':{'title':_0xb5c950(0x92),'description':_0xb5c950(0xbe),'apiKey':'API\x20Key','apiKeyPlaceholder':_0xb5c950(0x9f),'apiKeyHint':_0xb5c950(0xb4),'enableAuth':_0xb5c950(0x93),'enableAuthHint':_0xb5c950(0xaf),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xb5c950(0xa0),'configInstructions':_0xb5c950(0xc4),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xb5c950(0xb6),'sessionId':_0xb5c950(0xa2),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xb5c950(0x9a),'configParameters':_0xb5c950(0xa5),'maxRetries':'Max\x20Retries','save':_0xb5c950(0x98),'saving':'Saving...','note1':_0xb5c950(0x97),'note2':_0xb5c950(0xb2),'configSaved':_0xb5c950(0x94),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xb5c950(0xbf),'description':_0xb5c950(0xb1),'univerAiLabel':_0xb5c950(0xbd),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xb5c950(0xac),'invalidApiKey':_0xb5c950(0xa3)},'connectionStatus':{'disconnected':_0xb5c950(0xa4),'connecting':_0xb5c950(0xc2),'connected':_0xb5c950(0xa9),'failed':_0xb5c950(0x96),'retrying':_0xb5c950(0x99)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0xb5c950(0x9e),'networkError':_0xb5c950(0xab),'maxRetriesExceeded':_0xb5c950(0xb3)}}},n=e;module[_0xb5c950(0xae)]=n;
1
+ 'use strict';const _0x346305=_0x393f;(function(_0x46522b,_0x3e8366){const _0x5192ac=_0x393f,_0x2e06cd=_0x46522b();while(!![]){try{const _0x2d87e9=-parseInt(_0x5192ac(0xea))/0x1+-parseInt(_0x5192ac(0xd5))/0x2+parseInt(_0x5192ac(0xc6))/0x3*(-parseInt(_0x5192ac(0xe3))/0x4)+parseInt(_0x5192ac(0xdb))/0x5*(parseInt(_0x5192ac(0xd1))/0x6)+parseInt(_0x5192ac(0xc9))/0x7+parseInt(_0x5192ac(0xbe))/0x8*(parseInt(_0x5192ac(0xec))/0x9)+-parseInt(_0x5192ac(0xc8))/0xa*(-parseInt(_0x5192ac(0xe8))/0xb);if(_0x2d87e9===_0x3e8366)break;else _0x2e06cd['push'](_0x2e06cd['shift']());}catch(_0x17ad2d){_0x2e06cd['push'](_0x2e06cd['shift']());}}}(_0x4d6e,0xee171));function _0x4d6e(){const _0x4674b7=['20334yQJOIF','MCP\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Steps:','1495380sSEIAw','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','1495mOicfb','MCP\x20Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Univer\x20AI\x20Console','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20saved\x20successfully','1832tnreHh','Max\x20Retries','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','51271EhtbvU','Session\x20ID','1271679GZUjYL','Save\x20Configuration','9603hlOuxK','MCP\x20Client\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.','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','MCP\x20Disconnected','40cCxInS','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Click\x20to\x20connect\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','exports','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','11157YMPaZk','Copy\x20the\x20JSON\x20configuration\x20below','5330emTKiL','8364503WBZQQL','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connected','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?','MCP\x20Retrying...','Connected'];_0x4d6e=function(){return _0x4674b7;};return _0x4d6e();}const e={'mcpStatus':{'disconnected':_0x346305(0xbd),'connecting':_0x346305(0xdc),'connected':_0x346305(0xcc),'failed':_0x346305(0xd6),'retrying':_0x346305(0xcf),'unknown':_0x346305(0xe5),'unauthorized':_0x346305(0xd7),'sessionOccupied':_0x346305(0xe7),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x346305(0xc1),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x346305(0xd2),'description':_0x346305(0xc0),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x346305(0xe6),'apiKeyHint':_0x346305(0xcb),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x346305(0xbb),'connectionInfo':_0x346305(0xb9),'mcpClientConfig':_0x346305(0xb9),'configInstructions':_0x346305(0xbf),'configStepTitle':_0x346305(0xd4),'configStep1':_0x346305(0xc7),'configStep2':_0x346305(0xe1),'configStep3':_0x346305(0xe0),'sessionId':_0x346305(0xe9),'sessionIdDescription':_0x346305(0xcd),'authorizationDescription':_0x346305(0xc2),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x346305(0xe4),'save':_0x346305(0xeb),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x346305(0xc4),'configSaved':_0x346305(0xe2),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x346305(0xce),'description':_0x346305(0xba),'univerAiLabel':_0x346305(0xde),'getStarted':_0x346305(0xca)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x346305(0xd3),'invalidConfig':_0x346305(0xbc),'invalidApiKey':_0x346305(0xdf)},'connectionStatus':{'disconnected':_0x346305(0xd8),'connecting':'Connecting...','connected':_0x346305(0xd0),'failed':_0x346305(0xda),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x346305(0xdd),'networkError':_0x346305(0xc5),'maxRetriesExceeded':_0x346305(0xd9)}}},n=e;function _0x393f(_0x48b46c,_0x35904d){_0x48b46c=_0x48b46c-0xb9;const _0x4d6e44=_0x4d6e();let _0x393fa5=_0x4d6e44[_0x48b46c];return _0x393fa5;}module[_0x346305(0xc3)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x12a55e=_0xd1db;(function(_0x4c3e2e,_0x435997){const _0x1947e1=_0xd1db,_0x424282=_0x4c3e2e();while(!![]){try{const _0x41801a=-parseInt(_0x1947e1(0x112))/0x1*(parseInt(_0x1947e1(0xef))/0x2)+parseInt(_0x1947e1(0xf3))/0x3*(parseInt(_0x1947e1(0xf4))/0x4)+-parseInt(_0x1947e1(0xfa))/0x5+-parseInt(_0x1947e1(0xf9))/0x6*(parseInt(_0x1947e1(0xeb))/0x7)+parseInt(_0x1947e1(0xff))/0x8+-parseInt(_0x1947e1(0x109))/0x9*(-parseInt(_0x1947e1(0x113))/0xa)+-parseInt(_0x1947e1(0x102))/0xb;if(_0x41801a===_0x435997)break;else _0x424282['push'](_0x424282['shift']());}catch(_0x30651f){_0x424282['push'](_0x424282['shift']());}}}(_0x210c,0xc904e));function _0xd1db(_0x47b717,_0xfea3df){_0x47b717=_0x47b717-0xeb;const _0x210c59=_0x210c();let _0xd1dbc9=_0x210c59[_0x47b717];return _0xd1dbc9;}function _0x210c(){const _0x4f08f2=['Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','3LeXCKf','489928mbeVDy','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Konfigurácia\x20klienta\x20MCP','Pripojené','6iRncrb','4090850JVMQFu','Pripojenie\x20MCP\x20zlyhalo','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','Konfigurácia\x20bola\x20úspešne\x20uložená','Odpojené','12639896qqJttR','MCP:\x20Sieťová\x20chyba','MCP\x20odpojené','7606621PtiyDh','MCP:\x20Prekročený\x20počet\x20pokusov','Skúša\x20sa\x20znova...','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','MCP\x20neznámy\x20stav','Maximálny\x20počet\x20pokusov','2682UAuFKt','Ukladá\x20sa...','Kliknite\x20na\x20konfiguráciu\x20MCP','Zadajte\x20svoj\x20API\x20kľúč','Povoliť\x20overenie','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','Univer\x20AI\x20konzola','Pripája\x20sa...','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','273237MJZVrw','50390FbaYik','API\x20kľúč\x20s\x20prefixom\x20Bearer.','359275tcukjX','exports','Konfigurácia\x20MCP','Čo\x20je\x20API\x20kľúč?','6BhoZLA','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','MCP\x20opakuje\x20pokus...'];_0x210c=function(){return _0x4f08f2;};return _0x210c();}const e={'mcpStatus':{'disconnected':_0x12a55e(0x101),'connecting':'MCP\x20sa\x20pripája...','connected':'MCP\x20pripojené','failed':_0x12a55e(0xfb),'retrying':_0x12a55e(0xf1),'unknown':_0x12a55e(0x107),'unauthorized':'MCP:\x20Neautorizované','sessionOccupied':'MCP:\x20ID\x20relácie\x20je\x20obsadené','networkError':_0x12a55e(0x100),'maxRetriesExceeded':_0x12a55e(0x103),'clickToConnect':'Kliknite\x20na\x20pripojenie\x20MCP','clickToConfigure':_0x12a55e(0x10b)},'mcpConfig':{'title':_0x12a55e(0xed),'description':_0x12a55e(0xf5),'apiKey':'API\x20kľúč','apiKeyPlaceholder':_0x12a55e(0x10c),'apiKeyHint':'Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','enableAuth':_0x12a55e(0x10d),'enableAuthHint':'Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','connectionInfo':_0x12a55e(0xf7),'mcpClientConfig':_0x12a55e(0xf7),'configInstructions':_0x12a55e(0xf2),'configStepTitle':'Kroky\x20konfigurácie:','configStep1':'Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','configStep2':_0x12a55e(0xf0),'configStep3':'Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','sessionId':'ID\x20relácie','sessionIdDescription':_0x12a55e(0xf6),'authorizationDescription':_0x12a55e(0x114),'configParameters':'Parametre\x20konfigurácie:','maxRetries':_0x12a55e(0x108),'save':'Uložiť\x20konfiguráciu','saving':_0x12a55e(0x10a),'note1':'Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','note2':'Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','configSaved':_0x12a55e(0xfd),'configError':'Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','apiApplyInfo':{'title':_0x12a55e(0xee),'description':_0x12a55e(0x10e),'univerAiLabel':_0x12a55e(0x10f),'getStarted':'Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd'},'validation':{'apiKeyRequired':'API\x20kľúč\x20je\x20povinný','apiKeyTooShort':_0x12a55e(0xfc),'invalidConfig':'Neplatná\x20konfigurácia','invalidApiKey':'Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny'},'connectionStatus':{'disconnected':_0x12a55e(0xfe),'connecting':_0x12a55e(0x110),'connected':_0x12a55e(0xf8),'failed':'Pripojenie\x20zlyhalo','retrying':_0x12a55e(0x104)},'connectionError':{'unauthorized':'Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','sessionOccupied':_0x12a55e(0x106),'networkError':_0x12a55e(0x105),'maxRetriesExceeded':_0x12a55e(0x111)}}};module[_0x12a55e(0xec)]=e;
1
+ 'use strict';const _0x28c795=_0x4906;function _0x4906(_0x50fefb,_0x903296){_0x50fefb=_0x50fefb-0x1e6;const _0x2df7ca=_0x2df7();let _0x4906f9=_0x2df7ca[_0x50fefb];return _0x4906f9;}(function(_0x109825,_0x59c361){const _0x2d7055=_0x4906,_0x38c913=_0x109825();while(!![]){try{const _0x11ac6f=-parseInt(_0x2d7055(0x213))/0x1+parseInt(_0x2d7055(0x1ea))/0x2*(parseInt(_0x2d7055(0x1f5))/0x3)+parseInt(_0x2d7055(0x1fa))/0x4*(-parseInt(_0x2d7055(0x1e8))/0x5)+-parseInt(_0x2d7055(0x1ed))/0x6+-parseInt(_0x2d7055(0x1fb))/0x7+parseInt(_0x2d7055(0x1e9))/0x8*(parseInt(_0x2d7055(0x1e7))/0x9)+parseInt(_0x2d7055(0x203))/0xa;if(_0x11ac6f===_0x59c361)break;else _0x38c913['push'](_0x38c913['shift']());}catch(_0xa9f82){_0x38c913['push'](_0x38c913['shift']());}}}(_0x2df7,0xb95e9));const e={'mcpStatus':{'disconnected':_0x28c795(0x1f0),'connecting':_0x28c795(0x216),'connected':_0x28c795(0x20f),'failed':_0x28c795(0x1f8),'retrying':_0x28c795(0x204),'unknown':_0x28c795(0x1f1),'unauthorized':_0x28c795(0x202),'sessionOccupied':_0x28c795(0x1f9),'networkError':_0x28c795(0x210),'maxRetriesExceeded':_0x28c795(0x1f3),'clickToConnect':_0x28c795(0x218),'clickToConfigure':_0x28c795(0x217)},'mcpConfig':{'title':_0x28c795(0x1f4),'description':_0x28c795(0x206),'apiKey':_0x28c795(0x20e),'apiKeyPlaceholder':'Zadajte\x20svoj\x20API\x20kľúč','apiKeyHint':_0x28c795(0x212),'enableAuth':'Povoliť\x20overenie','enableAuthHint':_0x28c795(0x20d),'connectionInfo':'Konfigurácia\x20klienta\x20MCP','mcpClientConfig':_0x28c795(0x1f2),'configInstructions':'Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','configStepTitle':_0x28c795(0x1fe),'configStep1':'Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','configStep2':'Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','configStep3':_0x28c795(0x1ef),'sessionId':'ID\x20relácie','sessionIdDescription':_0x28c795(0x1eb),'authorizationDescription':_0x28c795(0x214),'configParameters':'Parametre\x20konfigurácie:','maxRetries':'Maximálny\x20počet\x20pokusov','save':_0x28c795(0x1ec),'saving':_0x28c795(0x1e6),'note1':_0x28c795(0x200),'note2':_0x28c795(0x209),'configSaved':_0x28c795(0x20c),'configError':_0x28c795(0x211),'apiApplyInfo':{'title':'Čo\x20je\x20API\x20kľúč?','description':_0x28c795(0x208),'univerAiLabel':'Univer\x20AI\x20konzola','getStarted':_0x28c795(0x1ff)},'validation':{'apiKeyRequired':_0x28c795(0x1f6),'apiKeyTooShort':_0x28c795(0x215),'invalidConfig':_0x28c795(0x201),'invalidApiKey':_0x28c795(0x207)},'connectionStatus':{'disconnected':_0x28c795(0x20a),'connecting':'Pripája\x20sa...','connected':_0x28c795(0x1f7),'failed':_0x28c795(0x1fd),'retrying':_0x28c795(0x20b)},'connectionError':{'unauthorized':'Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','sessionOccupied':_0x28c795(0x205),'networkError':_0x28c795(0x1fc),'maxRetriesExceeded':_0x28c795(0x219)}}};module[_0x28c795(0x1ee)]=e;function _0x2df7(){const _0x505a2f=['Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','Odpojené','Skúša\x20sa\x20znova...','Konfigurácia\x20bola\x20úspešne\x20uložená','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','API\x20kľúč','MCP\x20pripojené','MCP:\x20Sieťová\x20chyba','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','1365217RuhIeM','API\x20kľúč\x20s\x20prefixom\x20Bearer.','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','MCP\x20sa\x20pripája...','Kliknite\x20na\x20konfiguráciu\x20MCP','Kliknite\x20na\x20pripojenie\x20MCP','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','Ukladá\x20sa...','5553dRzYaL','5uVjvrS','16528dgnTXZ','28sMyRyW','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Uložiť\x20konfiguráciu','8021292FQMVuD','exports','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','MCP\x20odpojené','MCP\x20neznámy\x20stav','Konfigurácia\x20klienta\x20MCP','MCP:\x20Prekročený\x20počet\x20pokusov','Konfigurácia\x20MCP','219nKpqQn','API\x20kľúč\x20je\x20povinný','Pripojené','Pripojenie\x20MCP\x20zlyhalo','MCP:\x20ID\x20relácie\x20je\x20obsadené','5060056tVtoiX','2997316OClwHF','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','Pripojenie\x20zlyhalo','Kroky\x20konfigurácie:','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','Neplatná\x20konfigurácia','MCP:\x20Neautorizované','38788300iKszgQ','MCP\x20opakuje\x20pokus...','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.'];_0x2df7=function(){return _0x505a2f;};return _0x2df7();}
@@ -1 +1 @@
1
- 'use strict';const _0x2026f3=_0x2017;(function(_0x34c160,_0xcb7714){const _0x3c76df=_0x2017,_0x4152cf=_0x34c160();while(!![]){try{const _0x8aa9d1=-parseInt(_0x3c76df(0xf3))/0x1*(-parseInt(_0x3c76df(0xd4))/0x2)+parseInt(_0x3c76df(0xe6))/0x3+parseInt(_0x3c76df(0xf9))/0x4*(parseInt(_0x3c76df(0xda))/0x5)+-parseInt(_0x3c76df(0xe4))/0x6*(parseInt(_0x3c76df(0xe0))/0x7)+-parseInt(_0x3c76df(0xf1))/0x8*(-parseInt(_0x3c76df(0xe3))/0x9)+parseInt(_0x3c76df(0xfe))/0xa+-parseInt(_0x3c76df(0xeb))/0xb;if(_0x8aa9d1===_0xcb7714)break;else _0x4152cf['push'](_0x4152cf['shift']());}catch(_0x315c0e){_0x4152cf['push'](_0x4152cf['shift']());}}}(_0x54d1,0xa3da5));function _0x2017(_0x11c345,_0x4cb65e){_0x11c345=_0x11c345-0xd1;const _0x54d15f=_0x54d1();let _0x201701=_0x54d15f[_0x11c345];return _0x201701;}function _0x54d1(){const _0x42a5ad=['Yêu\x20cầu\x20khóa\x20API','4302bYFXdX','1024806gIZuSL','ID\x20phiên','2903778cIXXGn','Đang\x20thử\x20lại...','MCP\x20Đã\x20kết\x20nối','MCP\x20Kết\x20nối\x20thất\x20bại','MCP\x20Đã\x20ngắt\x20kết\x20nối','30427232bwzmhB','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Cấu\x20hình\x20không\x20hợp\x20lệ','exports','Đị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.','2104YSBoRv','Nhập\x20khóa\x20API\x20của\x20bạn','3362rDGwKT','Lưu\x20cấu\x20hình','Đang\x20kết\x20nối...','Nhấp\x20để\x20kết\x20nối\x20MCP','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Đang\x20lưu...','51532CfbuVd','MCP\x20Đang\x20thử\x20lại...','Bảng\x20điều\x20khiển\x20Univer\x20AI','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','11720700zYKrwv','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Khóa\x20API\x20là\x20gì?','Đã\x20kết\x20nối','MCP\x20Đang\x20kết\x20nối...','Kết\x20nối\x20thất\x20bại','446cwNkJK','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Cấu\x20hình\x20MCP','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','Đã\x20ngắt\x20kết\x20nối','230DOEaFM','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','MCP:\x20Không\x20được\x20phép','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Cấu\x20hình\x20máy\x20khách\x20MCP','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','7WjonvK','MCP\x20Trạng\x20thái\x20không\x20xác\x20định'];_0x54d1=function(){return _0x42a5ad;};return _0x54d1();}const n={'mcpStatus':{'disconnected':_0x2026f3(0xea),'connecting':_0x2026f3(0xd2),'connected':_0x2026f3(0xe8),'failed':_0x2026f3(0xe9),'retrying':_0x2026f3(0xfa),'unknown':_0x2026f3(0xe1),'unauthorized':_0x2026f3(0xdc),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':_0x2026f3(0xf6),'clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':_0x2026f3(0xd6),'description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':'Khóa\x20API','apiKeyPlaceholder':_0x2026f3(0xf2),'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':'Bật\x20xác\x20thực','enableAuthHint':_0x2026f3(0xd5),'connectionInfo':_0x2026f3(0xde),'mcpClientConfig':_0x2026f3(0xde),'configInstructions':_0x2026f3(0xed),'configStepTitle':'Các\x20bước\x20cấu\x20hình:','configStep1':_0x2026f3(0xd7),'configStep2':_0x2026f3(0x100),'configStep3':_0x2026f3(0xdd),'sessionId':_0x2026f3(0xe5),'sessionIdDescription':_0x2026f3(0xf0),'authorizationDescription':_0x2026f3(0xec),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':_0x2026f3(0xf4),'saving':_0x2026f3(0xf8),'note1':_0x2026f3(0xdb),'note2':_0x2026f3(0xdf),'configSaved':_0x2026f3(0xfc),'configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x2026f3(0x102),'description':_0x2026f3(0xd8),'univerAiLabel':_0x2026f3(0xfb),'getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x2026f3(0xe2),'apiKeyTooShort':_0x2026f3(0xff),'invalidConfig':_0x2026f3(0xee),'invalidApiKey':_0x2026f3(0x101)},'connectionStatus':{'disconnected':_0x2026f3(0xd9),'connecting':_0x2026f3(0xf5),'connected':_0x2026f3(0xd1),'failed':_0x2026f3(0xd3),'retrying':_0x2026f3(0xe7)},'connectionError':{'unauthorized':_0x2026f3(0xf7),'sessionOccupied':_0x2026f3(0xfd),'networkError':'Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','maxRetriesExceeded':'Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau'}}};module[_0x2026f3(0xef)]=n;
1
+ 'use strict';const _0x5e465f=_0x40af;function _0x40af(_0x56685e,_0x3da139){_0x56685e=_0x56685e-0x15c;const _0x40964e=_0x4096();let _0x40afca=_0x40964e[_0x56685e];return _0x40afca;}(function(_0x4dc632,_0x970b30){const _0x4d41bf=_0x40af,_0x52f7d3=_0x4dc632();while(!![]){try{const _0x1cfea0=parseInt(_0x4d41bf(0x176))/0x1*(-parseInt(_0x4d41bf(0x17a))/0x2)+parseInt(_0x4d41bf(0x180))/0x3+parseInt(_0x4d41bf(0x170))/0x4+-parseInt(_0x4d41bf(0x182))/0x5*(-parseInt(_0x4d41bf(0x179))/0x6)+parseInt(_0x4d41bf(0x184))/0x7*(parseInt(_0x4d41bf(0x177))/0x8)+parseInt(_0x4d41bf(0x16e))/0x9+parseInt(_0x4d41bf(0x16c))/0xa*(-parseInt(_0x4d41bf(0x17d))/0xb);if(_0x1cfea0===_0x970b30)break;else _0x52f7d3['push'](_0x52f7d3['shift']());}catch(_0x38e919){_0x52f7d3['push'](_0x52f7d3['shift']());}}}(_0x4096,0x7ac69));function _0x4096(){const _0x4abdd7=['Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Các\x20bước\x20cấu\x20hình:','214767knMAYN','Đang\x20thử\x20lại...','249930rvAYBu','Số\x20lần\x20thử\x20lại\x20tối\x20đa','6081719KGYkdS','ID\x20phiên','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\x20không\x20hợp\x20lệ','Khóa\x20API\x20là\x20gì?','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','MCP\x20Đã\x20ngắt\x20kết\x20nối','MCP:\x20Lỗi\x20mạng','MCP\x20Đang\x20kết\x20nối...','Tham\x20số\x20cấu\x20hình:','MCP\x20Đã\x20kết\x20nối','Bật\x20xác\x20thực','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Nhấp\x20để\x20kết\x20nối\x20MCP','MCP:\x20Không\x20được\x20phép','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','MCP\x20Đang\x20thử\x20lại...','Khóa\x20API','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Nhấp\x20để\x20cấu\x20hình\x20MCP','Lưu\x20cấu\x20hình','Đang\x20lưu...','Đang\x20kết\x20nối...','30NQGpYD','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','8961543EPJlqY','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','2420340sVolxX','Kết\x20nối\x20thất\x20bại','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Bảng\x20điều\x20khiển\x20Univer\x20AI','Đã\x20ngắt\x20kết\x20nối','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','11148yLYepo','8eSnowz','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.','6YQjPrK','108EiUeTb','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Cấu\x20hình\x20máy\x20khách\x20MCP','5449851ntEJPE'];_0x4096=function(){return _0x4abdd7;};return _0x4096();}const n={'mcpStatus':{'disconnected':_0x5e465f(0x18b),'connecting':_0x5e465f(0x15d),'connected':_0x5e465f(0x15f),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x5e465f(0x165),'unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':_0x5e465f(0x163),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':_0x5e465f(0x15c),'maxRetriesExceeded':_0x5e465f(0x16f),'clickToConnect':_0x5e465f(0x162),'clickToConfigure':_0x5e465f(0x168)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':_0x5e465f(0x186),'apiKey':_0x5e465f(0x166),'apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','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':_0x5e465f(0x160),'enableAuthHint':'Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','connectionInfo':_0x5e465f(0x17c),'mcpClientConfig':_0x5e465f(0x17c),'configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x5e465f(0x17f),'configStep1':_0x5e465f(0x164),'configStep2':_0x5e465f(0x189),'configStep3':'Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','sessionId':_0x5e465f(0x185),'sessionIdDescription':_0x5e465f(0x18a),'authorizationDescription':_0x5e465f(0x175),'configParameters':_0x5e465f(0x15e),'maxRetries':_0x5e465f(0x183),'save':_0x5e465f(0x169),'saving':_0x5e465f(0x16a),'note1':_0x5e465f(0x161),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x5e465f(0x188),'description':_0x5e465f(0x178),'univerAiLabel':_0x5e465f(0x173),'getStarted':_0x5e465f(0x17b)},'validation':{'apiKeyRequired':'Yêu\x20cầu\x20khóa\x20API','apiKeyTooShort':_0x5e465f(0x172),'invalidConfig':_0x5e465f(0x187),'invalidApiKey':_0x5e465f(0x16d)},'connectionStatus':{'disconnected':_0x5e465f(0x174),'connecting':_0x5e465f(0x16b),'connected':'Đã\x20kết\x20nối','failed':_0x5e465f(0x171),'retrying':_0x5e465f(0x181)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0x5e465f(0x167),'maxRetriesExceeded':_0x5e465f(0x17e)}}};module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x26815a=_0x5083;(function(_0x30f574,_0x204475){const _0x99e8a0=_0x5083,_0x20536e=_0x30f574();while(!![]){try{const _0x43722f=parseInt(_0x99e8a0(0xbb))/0x1+-parseInt(_0x99e8a0(0xa4))/0x2*(parseInt(_0x99e8a0(0x9d))/0x3)+-parseInt(_0x99e8a0(0xc1))/0x4*(-parseInt(_0x99e8a0(0xb7))/0x5)+parseInt(_0x99e8a0(0x9f))/0x6*(-parseInt(_0x99e8a0(0xb4))/0x7)+parseInt(_0x99e8a0(0x98))/0x8*(parseInt(_0x99e8a0(0xa3))/0x9)+-parseInt(_0x99e8a0(0xb1))/0xa*(parseInt(_0x99e8a0(0xc2))/0xb)+-parseInt(_0x99e8a0(0x9c))/0xc;if(_0x43722f===_0x204475)break;else _0x20536e['push'](_0x20536e['shift']());}catch(_0x4e5ab6){_0x20536e['push'](_0x20536e['shift']());}}}(_0x1361,0x56854));function _0x1361(){const _0x133d6e=['启用身份验证以获得安全连接','网络连接错误,请检查您的网络连接','1815992HBFuNg','99nbvbFT','重启您的\x20MCP\x20客户端以使配置生效','请输入您的\x20API\x20密钥','配置步骤:','已连接','连接失败','471256vENaUE','会话\x20ID\x20已被占用,请稍后再试','复制以下\x20JSON\x20配置','配置更改将立即生效','3878712tJfGLc','12741yoHwaP','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','6tZjNDN','API\x20密钥','什么是\x20API\x20密钥?','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','99QucCZu','190JlFfsN','将配置添加到您的\x20MCP\x20客户端设置文件中','exports','超出最大重试次数,请稍后再试','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20重连中...','会话ID','MCP\x20配置','MCP:\x20网络错误','MCP:\x20超出最大重试次数','配置保存失败','配置参数:','MCP\x20状态未知','103890UHxFBD','权限验证失败,请检查您的\x20API\x20密钥','MCP:\x20未授权','2743097yxSfxX','API\x20密钥无效,请检查密钥是否正确','未连接','5ILkwhY','MCP:\x20会话\x20ID\x20已被占用','将以下配置添加到您的\x20MCP\x20客户端设置中:','Univer\x20AI\x20控制台','464476uKARfG','点击配置\x20MCP','MCP\x20客户端配置','配置保存成功'];_0x1361=function(){return _0x133d6e;};return _0x1361();}function _0x5083(_0x1f4379,_0x1056d2){_0x1f4379=_0x1f4379-0x98;const _0x136161=_0x1361();let _0x50834b=_0x136161[_0x1f4379];return _0x50834b;}const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x26815a(0xa9),'unknown':_0x26815a(0xb0),'unauthorized':_0x26815a(0xb3),'sessionOccupied':_0x26815a(0xb8),'networkError':_0x26815a(0xac),'maxRetriesExceeded':_0x26815a(0xad),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x26815a(0xbc)},'mcpConfig':{'title':_0x26815a(0xab),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x26815a(0xa0),'apiKeyPlaceholder':_0x26815a(0xc4),'apiKeyHint':_0x26815a(0xa8),'enableAuth':'启用身份验证','enableAuthHint':_0x26815a(0xbf),'connectionInfo':_0x26815a(0xbd),'mcpClientConfig':_0x26815a(0xbd),'configInstructions':_0x26815a(0xb9),'configStepTitle':_0x26815a(0xc5),'configStep1':_0x26815a(0x9a),'configStep2':_0x26815a(0xa5),'configStep3':_0x26815a(0xc3),'sessionId':_0x26815a(0xaa),'sessionIdDescription':_0x26815a(0x9e),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x26815a(0xaf),'maxRetries':'最大重试次数','save':'保存配置','saving':'保存中...','note1':_0x26815a(0x9b),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x26815a(0xbe),'configError':_0x26815a(0xae),'apiApplyInfo':{'title':_0x26815a(0xa1),'description':_0x26815a(0xa2),'univerAiLabel':_0x26815a(0xba),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20','invalidConfig':'配置无效','invalidApiKey':_0x26815a(0xb5)},'connectionStatus':{'disconnected':_0x26815a(0xb6),'connecting':'连接中...','connected':_0x26815a(0xc6),'failed':_0x26815a(0xc7),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x26815a(0xb2),'sessionOccupied':_0x26815a(0x99),'networkError':_0x26815a(0xc0),'maxRetriesExceeded':_0x26815a(0xa7)}}};module[_0x26815a(0xa6)]=e;
1
+ 'use strict';const _0x4683c9=_0x29e0;(function(_0x17de30,_0x3296d2){const _0x5cb523=_0x29e0,_0x25eab3=_0x17de30();while(!![]){try{const _0x138b23=-parseInt(_0x5cb523(0x12a))/0x1*(parseInt(_0x5cb523(0x133))/0x2)+parseInt(_0x5cb523(0x12e))/0x3+parseInt(_0x5cb523(0x111))/0x4*(parseInt(_0x5cb523(0x10e))/0x5)+parseInt(_0x5cb523(0x112))/0x6+parseInt(_0x5cb523(0x12c))/0x7*(parseInt(_0x5cb523(0x11a))/0x8)+parseInt(_0x5cb523(0x10a))/0x9+-parseInt(_0x5cb523(0x126))/0xa;if(_0x138b23===_0x3296d2)break;else _0x25eab3['push'](_0x25eab3['shift']());}catch(_0x237335){_0x25eab3['push'](_0x25eab3['shift']());}}}(_0x5a7a,0x24c4a));const e={'mcpStatus':{'disconnected':_0x4683c9(0x119),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x4683c9(0x11e),'unknown':_0x4683c9(0x122),'unauthorized':_0x4683c9(0x117),'sessionOccupied':_0x4683c9(0x10d),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x4683c9(0x10f),'clickToConnect':_0x4683c9(0x121),'clickToConfigure':_0x4683c9(0x108)},'mcpConfig':{'title':'MCP\x20配置','description':_0x4683c9(0x120),'apiKey':_0x4683c9(0x12f),'apiKeyPlaceholder':_0x4683c9(0x10c),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x4683c9(0x11f),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x4683c9(0x12b),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x4683c9(0x127),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x4683c9(0x129),'configStep3':_0x4683c9(0x136),'sessionId':_0x4683c9(0x116),'sessionIdDescription':_0x4683c9(0x128),'authorizationDescription':_0x4683c9(0x114),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x4683c9(0x132),'saving':_0x4683c9(0x123),'note1':_0x4683c9(0x138),'note2':_0x4683c9(0x139),'configSaved':_0x4683c9(0x109),'configError':_0x4683c9(0x125),'apiApplyInfo':{'title':_0x4683c9(0x11d),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x4683c9(0x113),'getStarted':_0x4683c9(0x110)},'validation':{'apiKeyRequired':_0x4683c9(0x10b),'apiKeyTooShort':_0x4683c9(0x130),'invalidConfig':_0x4683c9(0x11b),'invalidApiKey':_0x4683c9(0x11c)},'connectionStatus':{'disconnected':_0x4683c9(0x134),'connecting':_0x4683c9(0x137),'connected':_0x4683c9(0x118),'failed':'连接失败','retrying':_0x4683c9(0x12d)},'connectionError':{'unauthorized':_0x4683c9(0x115),'sessionOccupied':_0x4683c9(0x135),'networkError':_0x4683c9(0x131),'maxRetriesExceeded':_0x4683c9(0x124)}}};module['exports']=e;function _0x29e0(_0x33767e,_0x86b4d8){_0x33767e=_0x33767e-0x108;const _0x5a7a95=_0x5a7a();let _0x29e003=_0x5a7a95[_0x33767e];return _0x29e003;}function _0x5a7a(){const _0x36f9a2=['点击配置\x20MCP','配置保存成功','2052288fnumXQ','API\x20密钥不能为空','请输入您的\x20API\x20密钥','MCP:\x20会话\x20ID\x20已被占用','5KmkeeQ','MCP:\x20超出最大重试次数','几秒钟内获取您的\x20API\x20密钥','791908qsDCAq','341076EDFdwL','Univer\x20AI\x20控制台','带有\x20Bearer\x20前缀的\x20API\x20密钥。','权限验证失败,请检查您的\x20API\x20密钥','会话ID','MCP:\x20未授权','已连接','MCP\x20已断开','872cZHLDJ','配置无效','API\x20密钥无效,请检查密钥是否正确','什么是\x20API\x20密钥?','MCP\x20重连中...','启用身份验证以获得安全连接','配置\x20MCP\x20使用\x20AI\x20操作电子表格','点击连接\x20MCP','MCP\x20状态未知','保存中...','超出最大重试次数,请稍后再试','配置保存失败','5626410nfTipL','配置步骤:','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','将配置添加到您的\x20MCP\x20客户端设置文件中','2053diruyV','MCP\x20客户端配置','15554owoGyY','重连中...','414177GJBuGv','API\x20密钥','API\x20密钥长度至少需要\x2010\x20位','网络连接错误,请检查您的网络连接','保存配置','146ePuWNm','未连接','会话\x20ID\x20已被占用,请稍后再试','重启您的\x20MCP\x20客户端以使配置生效','连接中...','配置更改将立即生效','您的\x20API\x20密钥安全存储在本地存储中'];_0x5a7a=function(){return _0x36f9a2;};return _0x5a7a();}
@@ -1 +1 @@
1
- 'use strict';function _0x183a(){const _0x3241f5=['Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Max\x20Retries\x20Exceeded','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','114196NTWERg','MCP:\x20Network\x20Error','211058MDaphf','Configuration\x20saved\x20successfully','Max\x20Retries','MCP\x20Client\x20Configuration','MCP\x20Connection\x20Failed','MCP\x20Unknown\x20Status','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','MCP:\x20Unauthorized','API\x20Key','115YMrweE','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','MCP\x20Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','761802rjvTSO','Failed\x20to\x20save\x20configuration','Configuration\x20Parameters:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','exports','17448bIRjQY','Copy\x20the\x20JSON\x20configuration\x20below','7IcfvGB','Connection\x20Failed','8108290VbWBqg','1297701iVeVJe','Enable\x20Authentication','6QpeTiM','Connected','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3357wLOtQk','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1575156XOLrfm','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected'];_0x183a=function(){return _0x3241f5;};return _0x183a();}function _0x4edd(_0x328026,_0x1bf225){_0x328026=_0x328026-0x168;const _0x183a57=_0x183a();let _0x4eddb4=_0x183a57[_0x328026];return _0x4eddb4;}const _0x32d4be=_0x4edd;(function(_0x58b71b,_0x4ec093){const _0x22d362=_0x4edd,_0x4ce0da=_0x58b71b();while(!![]){try{const _0x384a6c=parseInt(_0x22d362(0x179))/0x1*(-parseInt(_0x22d362(0x18a))/0x2)+parseInt(_0x22d362(0x177))/0x3+-parseInt(_0x22d362(0x188))/0x4*(-parseInt(_0x22d362(0x199))/0x5)+parseInt(_0x22d362(0x16d))/0x6*(parseInt(_0x22d362(0x174))/0x7)+parseInt(_0x22d362(0x172))/0x8*(-parseInt(_0x22d362(0x17d))/0x9)+parseInt(_0x22d362(0x176))/0xa+-parseInt(_0x22d362(0x180))/0xb;if(_0x384a6c===_0x4ec093)break;else _0x4ce0da['push'](_0x4ce0da['shift']());}catch(_0x4927a8){_0x4ce0da['push'](_0x4ce0da['shift']());}}}(_0x183a,0x6ab73));const e={'mcpStatus':{'disconnected':_0x32d4be(0x183),'connecting':_0x32d4be(0x16b),'connected':'MCP\x20Connected','failed':_0x32d4be(0x18e),'retrying':_0x32d4be(0x196),'unknown':_0x32d4be(0x18f),'unauthorized':_0x32d4be(0x197),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x32d4be(0x189),'maxRetriesExceeded':_0x32d4be(0x185),'clickToConnect':_0x32d4be(0x168),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x32d4be(0x181),'apiKey':_0x32d4be(0x198),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x32d4be(0x17c),'enableAuth':_0x32d4be(0x178),'enableAuthHint':_0x32d4be(0x169),'connectionInfo':_0x32d4be(0x18d),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x32d4be(0x190),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x32d4be(0x173),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x32d4be(0x186),'sessionId':_0x32d4be(0x16a),'sessionIdDescription':_0x32d4be(0x184),'authorizationDescription':_0x32d4be(0x192),'configParameters':_0x32d4be(0x16f),'maxRetries':_0x32d4be(0x18c),'save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x32d4be(0x17e),'configSaved':_0x32d4be(0x18b),'configError':_0x32d4be(0x16e),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x32d4be(0x16c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x32d4be(0x17f),'invalidConfig':_0x32d4be(0x17b),'invalidApiKey':_0x32d4be(0x182)},'connectionStatus':{'disconnected':_0x32d4be(0x187),'connecting':'Connecting...','connected':_0x32d4be(0x17a),'failed':_0x32d4be(0x175),'retrying':_0x32d4be(0x191)},'connectionError':{'unauthorized':_0x32d4be(0x194),'sessionOccupied':_0x32d4be(0x170),'networkError':_0x32d4be(0x193),'maxRetriesExceeded':_0x32d4be(0x195)}}},n=e;module[_0x32d4be(0x171)]=n;
1
+ 'use strict';const _0x84d387=_0x298a;function _0x263e(){const _0x2bebbb=['Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','Connection\x20Failed','MCP:\x20Network\x20Error','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','What\x20is\x20API\x20Key?','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','2523068zGRzDQ','Click\x20to\x20configure\x20MCP','82053NJZadp','817272dqcnZk','470CjPYSo','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Steps:','Session\x20ID','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enable\x20Authentication','3511092EQfUeT','2618GBEjJv','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connecting...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','427050mIAtOv','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','2xnuAUb','Copy\x20the\x20JSON\x20configuration\x20below','Connected','Saving...','Invalid\x20configuration','Save\x20Configuration','Univer\x20AI\x20Console','API\x20Key','exports','25888PrPlMY','MCP\x20Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','117757nNuPky','Click\x20to\x20connect\x20MCP','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x263e=function(){return _0x2bebbb;};return _0x263e();}(function(_0xcfb37f,_0x80be2a){const _0x2408b8=_0x298a,_0xb4feca=_0xcfb37f();while(!![]){try{const _0xf0a8a=-parseInt(_0x2408b8(0x1e9))/0x1*(parseInt(_0x2408b8(0x1dd))/0x2)+parseInt(_0x2408b8(0x1cb))/0x3+parseInt(_0x2408b8(0x1c8))/0x4+parseInt(_0x2408b8(0x1da))/0x5+parseInt(_0x2408b8(0x1d3))/0x6+-parseInt(_0x2408b8(0x1d4))/0x7*(parseInt(_0x2408b8(0x1e6))/0x8)+parseInt(_0x2408b8(0x1ca))/0x9*(parseInt(_0x2408b8(0x1cc))/0xa);if(_0xf0a8a===_0x80be2a)break;else _0xb4feca['push'](_0xb4feca['shift']());}catch(_0x33fd28){_0xb4feca['push'](_0xb4feca['shift']());}}}(_0x263e,0xa49d5));function _0x298a(_0x3a899e,_0x1824f8){_0x3a899e=_0x3a899e-0x1bc;const _0x263efd=_0x263e();let _0x298a99=_0x263efd[_0x3a899e];return _0x298a99;}const e={'mcpStatus':{'disconnected':_0x84d387(0x1e7),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x84d387(0x1dc),'retrying':'MCP\x20Retrying...','unknown':_0x84d387(0x1c4),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x84d387(0x1ee),'networkError':_0x84d387(0x1be),'maxRetriesExceeded':_0x84d387(0x1bc),'clickToConnect':_0x84d387(0x1ea),'clickToConfigure':_0x84d387(0x1c9)},'mcpConfig':{'title':_0x84d387(0x1ed),'description':_0x84d387(0x1c0),'apiKey':_0x84d387(0x1e4),'apiKeyPlaceholder':_0x84d387(0x1ec),'apiKeyHint':_0x84d387(0x1c3),'enableAuth':_0x84d387(0x1d2),'enableAuthHint':_0x84d387(0x1ce),'connectionInfo':_0x84d387(0x1eb),'mcpClientConfig':_0x84d387(0x1eb),'configInstructions':_0x84d387(0x1f0),'configStepTitle':_0x84d387(0x1cf),'configStep1':_0x84d387(0x1de),'configStep2':_0x84d387(0x1c6),'configStep3':_0x84d387(0x1c5),'sessionId':_0x84d387(0x1d0),'sessionIdDescription':_0x84d387(0x1d7),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x84d387(0x1bf),'save':_0x84d387(0x1e2),'saving':_0x84d387(0x1e0),'note1':_0x84d387(0x1d9),'note2':_0x84d387(0x1d8),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x84d387(0x1c1),'description':_0x84d387(0x1ef),'univerAiLabel':_0x84d387(0x1e3),'getStarted':_0x84d387(0x1db)},'validation':{'apiKeyRequired':_0x84d387(0x1cd),'apiKeyTooShort':_0x84d387(0x1c7),'invalidConfig':_0x84d387(0x1e1),'invalidApiKey':_0x84d387(0x1d5)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x84d387(0x1d6),'connected':_0x84d387(0x1df),'failed':_0x84d387(0x1bd),'retrying':_0x84d387(0x1c2)},'connectionError':{'unauthorized':_0x84d387(0x1d1),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x84d387(0x1e8),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x84d387(0x1e5)]=n;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x559f0d=_0x5edc;(function(_0x606b9c,_0x264aea){const _0x70e6b4=_0x5edc,_0xc3ffc0=_0x606b9c();while(!![]){try{const _0x50f2b3=-parseInt(_0x70e6b4(0x105))/0x1+parseInt(_0x70e6b4(0x15b))/0x2+parseInt(_0x70e6b4(0x153))/0x3*(parseInt(_0x70e6b4(0xbe))/0x4)+-parseInt(_0x70e6b4(0x1db))/0x5+parseInt(_0x70e6b4(0x101))/0x6*(-parseInt(_0x70e6b4(0x177))/0x7)+parseInt(_0x70e6b4(0x19e))/0x8*(-parseInt(_0x70e6b4(0x1ae))/0x9)+parseInt(_0x70e6b4(0x144))/0xa*(parseInt(_0x70e6b4(0x12c))/0xb);if(_0x50f2b3===_0x264aea)break;else _0xc3ffc0['push'](_0xc3ffc0['shift']());}catch(_0x9a23e3){_0xc3ffc0['push'](_0xc3ffc0['shift']());}}}(_0x14a9,0xe5c32));var Pe=Object['defineProperty'],Ee=(_0x29885b,_0x2bf4c8,_0x15b3e3)=>_0x2bf4c8 in _0x29885b?Pe(_0x29885b,_0x2bf4c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15b3e3}):_0x29885b[_0x2bf4c8]=_0x15b3e3,x=(_0x3b56de,_0xe6c71d,_0x1c1e3c)=>Ee(_0x3b56de,typeof _0xe6c71d!=_0x559f0d(0x11a)?_0xe6c71d+'':_0xe6c71d,_0x1c1e3c);import{LocaleService as _0x13d346,Inject as _0x592555,Injector as _0xa48931,Disposable as _0x313008,IConfigService as _0x1a3ab6,ILocalStorageService as _0x1b37b4,ILogService as _0x3a580c,CommandType as _0x47d0d7,ICommandService as _0x187c77,DependentOn as _0x451ff0,Plugin as _0x431772,merge as _0x5e5890}from'@univerjs/core';import{jsxs as _0x221335,jsx as _0x386101}from'react/jsx-runtime';function _0x14a9(){const _0x2d0187=['use','API\x20密钥无效,请检查密钥是否正确','点击连接\x20MCP','mcpConfig.configStepTitle','mcpConfig.connectionStatus.disconnected','配置无效','什么是\x20API\x20密钥?','pre','MCP:\x20会话\x20ID\x20已被占用','univer.plus','API\x20密钥不能为空','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-size-4','mcpServerUrl','_initConfigSync','colorChannel1','0\x200\x2017\x2016','getOwnPropertyDescriptor','连接中...','toString','univer-shrink-0\x20univer-text-blue-500','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','_commandService','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','string','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','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','span','_handleConfigSave','next','API\x20Key','MCP\x20Connection\x20Failed','MCP\x20Connecting...','mcpStatus.sessionOccupied','mcpConfig.configInstructions','substring','保存中...','univer-flex\x20univer-items-start\x20univer-gap-2','registerCommand','univer-text-blue-600','univer-text-gray-400','close','off','univer-bg-blue-500','mcpConfig.connectionError.sessionOccupied','off-line-icon_clip0_910_343','showStatus','几秒钟内获取您的\x20API\x20密钥','UNAUTHORIZED','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','assign','21012QLtkOb','\x20-\x20','univer-flex\x20univer-flex-wrap\x20univer-gap-2','register','univer-flex\x20univer-items-center','MCP_UI_PLUGIN','CONNECTING','Univer\x20AI\x20Console','Configuration\x20Steps:','MCP\x20客户端配置','启用身份验证以获得安全连接','UniverIcon','mcpConfig.connectionError.unauthorized','currentColor','current','univer-text-xs\x20univer-text-gray-500','您的\x20API\x20密钥将在此浏览器中本地存储','NONE','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','sessionId$','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','Failed\x20to\x20save\x20configuration','connectionError$','univer-text-green-500','Authorization:','_menuManagerService','DISCONNECTED','mcpConfig.connectionStatus.failed','univer-min-w-0\x20univer-flex-1','MAX_RETRIES_EXCEEDED','_localeService','_componentManager','setItem','mcpStatus.maxRetriesExceeded','Error','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','fill','idSuffix','mcpConfig.saving','isValid','_logService','url(#on-line-icon_clip0_910_349)','COMMAND','SESSION_ID_OCCUPIED','CONNECTED','noopener\x20noreferrer','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcp.apiKey','_initializeCommands','removeItem','univer-space-y-4','Bearer\x20','Max\x20Retries','MCPConfigPanel','univer-flex\x20univer-items-center\x20univer-gap-2','Configuration\x20Parameters:','mcpConfig.description','<API_KEY>','MCP\x20Unknown\x20Status','mcpConfig.apiKey','mcpConfig.validation.invalidApiKey','off-line-icon','xlink:href','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mask','_registerComponent','MCP:\x20网络错误','6fsqZqb','pluginName','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','1365244JNdjBC','OnLineIcon','mcpConfig.connectionStatus.connected','MCP:\x20未授权','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','_dialogService','复制以下\x20JSON\x20配置','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Save\x20Configuration','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','https://console.univer.plus','Enable\x20Authentication','univer-space-y-2','mergeMenu','tag','univer-text-sm\x20univer-font-medium','validateApiKey','mcpStatus.connected','\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','MCP\x20配置','symbol','Enter\x20your\x20API\x20key','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-items-center\x20univer-gap-3','_validateConfig','超出最大重试次数,请稍后再试','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','show','mcpConfig.apiApplyInfo.univerAiLabel','_localStorageService','_connectionController','带有\x20Bearer\x20前缀的\x20API\x20密钥。','apiKey','mcpConfig.apiApplyInfo.title','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpStatus.networkError','配置步骤:','MCP\x20Connected','143VILYMs','网络连接错误,请检查您的网络连接','__setCustomHeaders','MCP:\x20超出最大重试次数','evenodd','MCP\x20Configuration','warn','univer-bg-gray-500','svg','Configuration\x20saved\x20successfully','univer-space-y-3','Invalid\x20configuration','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','defs','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','请输入您的\x20API\x20密钥','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','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Univer\x20AI\x20控制台','clipPath','has','2487410bKWMoA','_initAutoConnect','MCP\x20重连中...','1em','enableAutoConnect','univer-flex\x20univer-items-start\x20univer-gap-3','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.validation.invalidConfig','univer-font-medium','_messageService','NETWORK_ERROR','API\x20key\x20is\x20required','defineProperty','getConfig','univer-bg-green-500','186iipdSH','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpConfig.validation.apiKeyRequired','onStarting','getCurrentConfig','univer.ai','http','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','515218TWmYUB','push','未连接','replace','error','Configuration\x20Notes:','button','registerComponent','mcpStatus.clickToConfigure','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Disconnected','_config$','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','RETRYING','OffLineIcon','HelpIcon','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','url(#$1','mcpConfig.sessionIdDescription','label','mcpConfig.connectionInfo','mcp-config-dialog','value','FAILED','univer-flex-1','_mcpConnectionController','4899034KJYFNd','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpStatus.failed','mcpStatus.retrying','disposeWithMe','univer-text-red-500','none','trim','mcpConfig.apiKeyHint','univer-size-2\x20univer-rounded-full','_initializeMenus','length','MenuIcon','univer-shrink-0\x20univer-text-red-500','mcpConfig.configSaved','MCP:\x20Max\x20Retries\x20Exceeded','权限验证失败,请检查您的\x20API\x20密钥','MCP\x20状态未知','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','subscribe','on-line-icon_clip0_910_349','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-bg-red-500','_mcpCoreConfig$','0\x200\x2016\x2016','https://console.univer.ai','_config','url(#off-line-icon_clip0_910_343)','help-icon','close-icon','Connected','_configService','启用身份验证','mcpConfig.configStep3','mcpConfig.configError','mcpConfig.connectionError.maxRetriesExceeded','connectionStatus$','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20连接失败','4871528XtwbNc','stringify','OTHERS','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','mcp-ui.command.openConfigPanel','配置更改将立即生效','_createConfigPanelComponent','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','open','Connection\x20Failed','配置保存成功','univer-text-sm\x20univer-text-gray-500','mcpConfig.apiApplyInfo.getStarted','subscribeConfigValue$','_injector','9cvsJwd','translate(.97)','_initStatusComponent','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','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','CheckMarkIcon','_blank','errorMessage','mcpConfig.title','displayName','forEach','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','entries','_apiKey$','check-mark-icon','最大重试次数','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','attrs','_uiPartsService','MCP\x20Client\x20Configuration','http://www.w3.org/2000/svg','mcpStatus.disconnected','mcpConfig.authorizationDescription','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Retrying...','get','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20已连接','round','M0\x200H16V16H0z','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','includes','_loadStoredApiKey','univer-flex\x20univer-gap-3','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','连接失败','Enable\x20authentication\x20for\x20secure\x20connections','showConfigPanel','showDeveloperTools','div','map','会话ID','1008875NLYllE','path','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_loading$'];_0x14a9=function(){return _0x2d0187;};return _0x14a9();}import{MCPConnectionStatus as _0x397fda,MCPConnectionError as _0x52d4dc,MCPConnectionController as _0x479f93,MCP_PLUGIN_CONFIG_KEY as _0x5b9089,UniverMCPPlugin as _0x310f35}from'@univerjs-pro/mcp';import{clsx as _0x5e0e60,Input as _0x35678c,Button as _0x2f0cea,MessageType as _0x46c50f,Tooltip as _0x3638c1}from'@univerjs/design';import{useDependency as _0x26f536,useObservable as _0xa49c42,ComponentManager as _0xf4e518,connectInjector as _0x2de9ba,IUIPartsService as _0x2fd2fa,IDialogService as _0x48819c,IMessageService as _0x5aa206,BuiltInUIPart as _0x295991,MenuItemType as _0x19d45d,RibbonStartGroup as _0x2539bd,IMenuManagerService as _0x3548c9}from'@univerjs/ui';import{BehaviorSubject as _0x52de91}from'rxjs';import{useRef as _0x397171,createElement as _0x3b1187,forwardRef as _0x593de2,useState as _0x9d75e0,useCallback as _0x319000}from'react';import{ISocketService as _0x5aa8ec,WebSocketService as _0x325f73}from'@univerjs/network';function b({ref:_0x1aa627,..._0x561d6c}){const _0x110cfc=_0x559f0d,{icon:_0x135f08,id:_0x4dd816,className:_0x3278b0,extend:_0x691ec1,..._0x3e995a}=_0x561d6c,_0x12d6eb=('univerjs-icon\x20univerjs-icon-'+_0x4dd816+'\x20'+(_0x3278b0||''))[_0x110cfc(0x17e)](),_0x3d6b1d=_0x397171('_'+We());return ae(_0x135f08,''+_0x4dd816,{'defIds':_0x135f08['defIds'],'idSuffix':_0x3d6b1d[_0x110cfc(0xcc)]},{'ref':_0x1aa627,'className':_0x12d6eb,..._0x3e995a},_0x691ec1);}function ae(_0x4a489f,_0x97b012,_0x17a4aa,_0x4ccb48,_0x224c8e){const _0x363736=_0x559f0d;return _0x3b1187(_0x4a489f[_0x363736(0x114)],{'key':_0x97b012,...Ye(_0x4a489f,_0x17a4aa,_0x224c8e),..._0x4ccb48},(Ze(_0x4a489f,_0x17a4aa)['children']||[])[_0x363736(0x1d9)]((_0x3585ae,_0x4e989d)=>ae(_0x3585ae,_0x97b012+'-'+_0x4a489f[_0x363736(0x114)]+'-'+_0x4e989d,_0x17a4aa,void 0x0,_0x224c8e)));}function Ye(_0xb0c5f2,_0x4b2c66,_0x49d660){const _0x2bd774=_0x559f0d,_0x20984f={..._0xb0c5f2['attrs']};_0x49d660!=null&&_0x49d660['colorChannel1']&&_0x20984f[_0x2bd774(0xe2)]===_0x2bd774(0x1ee)&&(_0x20984f[_0x2bd774(0xe2)]=_0x49d660[_0x2bd774(0x1ee)]),_0xb0c5f2[_0x2bd774(0x114)]===_0x2bd774(0xfe)&&_0x20984f['id']&&(_0x20984f['id']=_0x20984f['id']+_0x4b2c66[_0x2bd774(0xe3)]),Object['entries'](_0x20984f)[_0x2bd774(0x1b9)](([_0x5275ba,_0x3441d0])=>{const _0x3bd2ac=_0x2bd774;_0x5275ba===_0x3bd2ac(0xfe)&&typeof _0x3441d0=='string'&&(_0x20984f[_0x5275ba]=_0x3441d0[_0x3bd2ac(0x15e)](/url\(#(.*)\)/,_0x3bd2ac(0x16e)+_0x4b2c66['idSuffix']+')'));});const {defIds:_0x38f31b}=_0x4b2c66;return!_0x38f31b||_0x38f31b[_0x2bd774(0x182)]===0x0||(_0xb0c5f2[_0x2bd774(0x114)]===_0x2bd774(0x1df)&&_0x20984f[_0x2bd774(0xfc)]&&(_0x20984f[_0x2bd774(0xfc)]=_0x20984f[_0x2bd774(0xfc)]+_0x4b2c66[_0x2bd774(0xe3)]),Object[_0x2bd774(0x1bb)](_0x20984f)[_0x2bd774(0x1b9)](([_0x5d2384,_0x373e90])=>{const _0x23db36=_0x2bd774;typeof _0x373e90==_0x23db36(0xa3)&&(_0x20984f[_0x5d2384]=_0x373e90[_0x23db36(0x15e)](/url\(#(.*)\)/,_0x23db36(0x16e)+_0x4b2c66[_0x23db36(0xe3)]+')'));})),_0x20984f;}function Ze(_0x2fe0b8,_0x412072){const _0x4f3074=_0x559f0d;var _0x1a044d;const {defIds:_0x1866f1}=_0x412072;return!_0x1866f1||_0x1866f1[_0x4f3074(0x182)]===0x0?_0x2fe0b8:_0x2fe0b8[_0x4f3074(0x114)]===_0x4f3074(0x139)&&((_0x1a044d=_0x2fe0b8['children'])!=null&&_0x1a044d[_0x4f3074(0x182)])?{..._0x2fe0b8,'children':_0x2fe0b8['children'][_0x4f3074(0x1d9)](_0x543b9d=>typeof _0x543b9d[_0x4f3074(0x1c0)]['id']=='string'&&_0x1866f1&&_0x1866f1[_0x4f3074(0x1d0)](_0x543b9d[_0x4f3074(0x1c0)]['id'])?{..._0x543b9d,'attrs':{..._0x543b9d[_0x4f3074(0x1c0)],'id':_0x543b9d[_0x4f3074(0x1c0)]['id']+_0x412072['idSuffix']}}:_0x543b9d)}:_0x2fe0b8;}function We(){const _0x20ab33=_0x559f0d;return Math['random']()[_0x20ab33(0x1f2)](0x24)[_0x20ab33(0xae)](0x2,0x8);}b[_0x559f0d(0x1b8)]=_0x559f0d(0xc9);const qe={'tag':_0x559f0d(0x134),'attrs':{'xmlns':_0x559f0d(0x1c3),'fill':_0x559f0d(0x17d),'viewBox':_0x559f0d(0x18f),'width':_0x559f0d(0x147),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x559f0d(0xcb),'d':_0x559f0d(0x10c),'fillRule':_0x559f0d(0x130),'clipRule':'evenodd'}}]},le=_0x593de2(function(_0x4b86e3,_0x282129){const _0x130d88=_0x559f0d;return _0x3b1187(b,Object[_0x130d88(0xbd)]({},_0x4b86e3,{'id':_0x130d88(0x1bd),'ref':_0x282129,'icon':qe}));});le[_0x559f0d(0x1b8)]=_0x559f0d(0x1b4);const Xe={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x559f0d(0x17d),'viewBox':_0x559f0d(0x18f),'width':_0x559f0d(0x147),'height':_0x559f0d(0x147)},'children':[{'tag':_0x559f0d(0x1dc),'attrs':{'fill':'currentColor','d':_0x559f0d(0x1ea)}}]},ue=_0x593de2(function(_0x96170e,_0x4d1008){const _0x15312e=_0x559f0d;return _0x3b1187(b,Object[_0x15312e(0xbd)]({},_0x96170e,{'id':_0x15312e(0x194),'ref':_0x4d1008,'icon':Xe}));});ue[_0x559f0d(0x1b8)]='CloseIcon';const Je={'tag':_0x559f0d(0x134),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x559f0d(0x17d),'viewBox':'0\x200\x2016\x2016','width':_0x559f0d(0x147),'height':'1em'},'children':[{'tag':_0x559f0d(0x1dc),'attrs':{'fill':_0x559f0d(0xcb),'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':_0x559f0d(0x1dc),'attrs':{'fill':_0x559f0d(0xcb),'d':_0x559f0d(0xa5)}},{'tag':_0x559f0d(0x1dc),'attrs':{'fill':_0x559f0d(0xcb),'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':_0x559f0d(0x130),'clipRule':'evenodd'}}]},ve=_0x593de2(function(_0x2237a6,_0x33f3b1){const _0x499f5a=_0x559f0d;return _0x3b1187(b,Object[_0x499f5a(0xbd)]({},_0x2237a6,{'id':_0x499f5a(0x193),'ref':_0x33f3b1,'icon':Je}));});ve['displayName']=_0x559f0d(0x16b);const Qe={'tag':'svg','attrs':{'xmlns':_0x559f0d(0x1c3),'fill':_0x559f0d(0x17d),'viewBox':_0x559f0d(0x18f),'width':'1em','height':_0x559f0d(0x147)},'children':[{'tag':'g','attrs':{'clipPath':_0x559f0d(0x192)},'children':[{'tag':'path','attrs':{'stroke':_0x559f0d(0xcb),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x559f0d(0x1cd),'strokeLinejoin':_0x559f0d(0x1cd),'strokeWidth':1.2}}]},{'tag':_0x559f0d(0x139),'attrs':{},'children':[{'tag':_0x559f0d(0x142),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x559f0d(0x1dc),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x559f0d(0xb8)]},de=_0x593de2(function(_0x2a0015,_0x2c9b70){const _0x45db2d=_0x559f0d;return _0x3b1187(b,Object[_0x45db2d(0xbd)]({},_0x2a0015,{'id':_0x45db2d(0xfb),'ref':_0x2c9b70,'icon':Qe}));});de[_0x559f0d(0x1b8)]=_0x559f0d(0x16a);const en={'tag':_0x559f0d(0x134),'attrs':{'xmlns':_0x559f0d(0x1c3),'fill':_0x559f0d(0x17d),'viewBox':_0x559f0d(0x1ef),'width':'1em','height':_0x559f0d(0x147)},'children':[{'tag':'g','attrs':{'clipPath':_0x559f0d(0xe7)},'children':[{'tag':_0x559f0d(0x1dc),'attrs':{'stroke':_0x559f0d(0xcb),'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':'round','strokeLinejoin':_0x559f0d(0x1cd),'strokeWidth':1.2}}]},{'tag':_0x559f0d(0x139),'attrs':{},'children':[{'tag':_0x559f0d(0x142),'attrs':{'id':_0x559f0d(0x18b)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x559f0d(0x1ce),'transform':_0x559f0d(0x1af)}}]}]}],'defIds':[_0x559f0d(0x18b)]},ge=_0x593de2(function(_0x5cbaa7,_0x3a48ec){const _0x1a2b19=_0x559f0d;return _0x3b1187(b,Object[_0x1a2b19(0xbd)]({},_0x5cbaa7,{'id':'on-line-icon','ref':_0x3a48ec,'icon':en}));});ge[_0x559f0d(0x1b8)]=_0x559f0d(0x106);function nn(_0x9e2589){const _0x15a3bf=_0x559f0d;var _0x37c88c,_0x3dcddf;const {mcpCoreConfig:_0x109c40,onSave:_0x36bf52,loading:_0x2e363b=!0x1,config:_0x1d49f0,connectionStatus$:_0x2e310a,connectionError$:_0x2ee351,currentApiKey$:_0x1f1080,currentSessionId$:_0x2a7f33}=_0x9e2589,_0x899745=_0x26f536(_0x13d346),_0x2e6d34=_0xa49c42(_0x2e310a,_0x397fda[_0x15a3bf(0xd8)]),_0x131775=_0xa49c42(_0x2ee351,_0x52d4dc['NONE']),_0xc24966=_0xa49c42(_0x2a7f33,''),_0x11c494=_0xa49c42(_0x1f1080,''),[_0x20f085,_0x1e933e]=_0x9d75e0(_0x11c494||''),_0x3b60e3=!0x0,_0x4f7e28=_0x1d49f0[_0x15a3bf(0x1d7)]&&_0x109c40[_0x15a3bf(0x1ec)]&&(_0x109c40[_0x15a3bf(0x1ec)]['includes'](_0x15a3bf(0x1e8))||_0x109c40['mcpServerUrl'][_0x15a3bf(0x1d0)](_0x15a3bf(0x158))),_0x20114d=(_0x37c88c=_0x109c40[_0x15a3bf(0x1ec)])==null?void 0x0:_0x37c88c[_0x15a3bf(0x1d0)](_0x15a3bf(0x1e8)),_0x1c778d=(_0x3dcddf=_0x109c40[_0x15a3bf(0x1ec)])==null?void 0x0:_0x3dcddf[_0x15a3bf(0x1d0)](_0x15a3bf(0x158)),_0x4bc5f7=_0x20114d?_0x15a3bf(0x110):_0x15a3bf(0x190),_0x40a1be=_0x1d49f0[_0x15a3bf(0x1d7)]&&(_0x20114d||_0x1c778d),[_0x6e927f,_0x5f2065]=_0x9d75e0(!_0x20f085[_0x15a3bf(0x17e)]()),_0x1ac428=(_0x1971d5,_0x1beebb)=>{const _0x213fcf=_0x15a3bf;if(_0x1beebb===_0x52d4dc[_0x213fcf(0xbb)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x1971d5){case _0x397fda[_0x213fcf(0xea)]:return _0x213fcf(0x16d);case _0x397fda[_0x213fcf(0xc4)]:case _0x397fda[_0x213fcf(0x169)]:return _0x213fcf(0x138);case _0x397fda[_0x213fcf(0x174)]:return _0x213fcf(0xec);default:return _0x213fcf(0x1a2);}},_0x527b18=(_0x5728b3,_0x4362cc)=>{const _0x5cb11a=_0x15a3bf;if(_0x4362cc===_0x52d4dc['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x5728b3){case _0x397fda[_0x5cb11a(0xea)]:return _0x5cb11a(0x152);case _0x397fda[_0x5cb11a(0xc4)]:case _0x397fda[_0x5cb11a(0x169)]:return _0x5cb11a(0xb6);case _0x397fda[_0x5cb11a(0x174)]:return _0x5cb11a(0x18d);default:return _0x5cb11a(0x133);}},_0x49dd9c=_0x3e4dc3=>{const _0x28ed2a=_0x15a3bf;switch(_0x3e4dc3){case _0x397fda[_0x28ed2a(0xea)]:return _0x899745['t'](_0x28ed2a(0x107));case _0x397fda['CONNECTING']:return _0x899745['t'](_0x28ed2a(0x1b1));case _0x397fda[_0x28ed2a(0x174)]:return _0x899745['t'](_0x28ed2a(0xd9));case _0x397fda['RETRYING']:return _0x899745['t']('mcpConfig.connectionStatus.retrying');default:return _0x899745['t'](_0x28ed2a(0x1e3));}},_0x4de20d=_0x2c584f=>{const _0x12b5bb=_0x15a3bf;switch(_0x2c584f){case _0x52d4dc[_0x12b5bb(0xbb)]:return _0x899745['t'](_0x12b5bb(0xca));case _0x52d4dc[_0x12b5bb(0xe9)]:return _0x899745['t'](_0x12b5bb(0xb7));case _0x52d4dc[_0x12b5bb(0x14e)]:return _0x899745['t']('mcpConfig.connectionError.networkError');case _0x52d4dc[_0x12b5bb(0xdb)]:return _0x899745['t'](_0x12b5bb(0x19a));default:return'';}},_0x213d48=_0x319000(()=>{const _0x1fe5f8=_0x15a3bf,_0x513afe={..._0x109c40,'apiKey':_0x20f085[_0x1fe5f8(0x17e)](),'enableAuth':_0x3b60e3};_0x36bf52(_0x513afe);},[_0x109c40,_0x20f085,_0x3b60e3,_0x36bf52]),_0x53c4de=_0x20f085['trim']()[_0x15a3bf(0x182)]>0x0;return _0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x128),'children':[_0x386101(_0x15a3bf(0x1d8),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x11d),'children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x1b2),'children':_0x386101(_0x15a3bf(0xa6),{'className':'univer-text-white','children':'⚙'})}),_0x386101(_0x15a3bf(0x1d8),{'children':_0x386101('p',{'className':_0x15a3bf(0x1aa),'children':_0x899745['t'](_0x15a3bf(0xf6))})})]})}),_0x221335(_0x15a3bf(0x1d8),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x5e0e60(_0x15a3bf(0xe1),_0x1ac428(_0x2e6d34,_0x131775)),'children':_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0xf4),'children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x5e0e60(_0x15a3bf(0x180),_0x527b18(_0x2e6d34,_0x131775))}),_0x386101(_0x15a3bf(0xa6),{'className':_0x15a3bf(0x115),'children':_0x49dd9c(_0x2e6d34)})]})}),_0x131775!==_0x52d4dc[_0x15a3bf(0xcf)]&&(_0x2e6d34===_0x397fda['FAILED']||_0x131775===_0x52d4dc[_0x15a3bf(0xbb)])&&_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x104),'children':_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0xb0),'children':[_0x386101(_0x15a3bf(0xa6),{'className':_0x15a3bf(0x184),'children':'⚠️'}),_0x386101('p',{'className':_0x15a3bf(0xbc),'children':_0x4de20d(_0x131775)})]})})]}),_0x386101(_0x15a3bf(0x1d8),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x221335(_0x15a3bf(0x1d8),{'className':'univer-space-y-5','children':[_0x221335(_0x15a3bf(0x1d8),{'className':'univer-space-y-2','children':[_0x221335(_0x15a3bf(0x170),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x386101(_0x15a3bf(0xa6),{'children':'🔑'}),'\x20',_0x899745['t'](_0x15a3bf(0xf9)),_0x386101(_0x15a3bf(0xa6),{'className':_0x15a3bf(0x17c),'children':'*'}),_0x4f7e28&&_0x386101('a',{'className':_0x15a3bf(0x1c9),'title':_0x899745['t'](_0x15a3bf(0x127)),'role':_0x15a3bf(0x161),'onClick':()=>_0x5f2065(!0x0),'children':_0x386101(ve,{})})]}),_0x386101(_0x35678c,{'type':'text','placeholder':_0x899745['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x20f085,'disabled':_0x2e363b,'autoComplete':_0x15a3bf(0xb5),'onChange':_0x1e933e}),_0x386101('p',{'className':_0x15a3bf(0xcd),'children':_0x899745['t'](_0x15a3bf(0x17f))})]}),_0x4f7e28&&_0x6e927f&&_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x109),'children':[_0x386101('a',{'className':_0x15a3bf(0x1b3),'role':_0x15a3bf(0x161),'onClick':()=>_0x5f2065(!0x1),'children':_0x386101(ue,{'className':_0x15a3bf(0x1eb)})}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x140),'children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x189),'children':_0x386101(_0x15a3bf(0xa6),{'className':_0x15a3bf(0xb2),'children':'🚀'})}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x175),'children':[_0x386101('h4',{'className':_0x15a3bf(0x1bf),'children':_0x899745['t'](_0x15a3bf(0x127))}),_0x386101('p',{'className':_0x15a3bf(0x178),'children':_0x899745['t']('mcpConfig.apiApplyInfo.description')}),_0x386101('div',{'className':_0x15a3bf(0xc0),'children':_0x40a1be&&_0x221335('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':_0x4bc5f7,'target':_0x15a3bf(0x1b5),'rel':_0x15a3bf(0xeb),'children':[_0x386101(_0x15a3bf(0xa6),{'children':'🤖'}),_0x899745['t'](_0x15a3bf(0x122)),_0x386101(_0x15a3bf(0xa6),{'className':_0x15a3bf(0xb3),'children':'↗'})]})}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x11c),'children':['✨','\x20',_0x899745['t'](_0x15a3bf(0x1ab))]})]})]})]}),_0x1d49f0[_0x15a3bf(0x1d7)]&&_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x16c),'children':[_0x221335('h4',{'className':_0x15a3bf(0x14a),'children':[_0x386101(_0x15a3bf(0xa6),{'children':'🔗'}),'\x20',_0x899745['t'](_0x15a3bf(0x171))]}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0xf0),'children':[_0x221335('div',{'className':_0x15a3bf(0x136),'children':[_0x386101('p',{'className':_0x15a3bf(0x13f),'children':_0x899745['t'](_0x15a3bf(0xad))}),_0x221335(_0x15a3bf(0x1d8),{'className':'univer-space-y-2','children':[_0x386101('div',{'className':_0x15a3bf(0x168),'children':_0x899745['t'](_0x15a3bf(0x1e2))}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x15a),'children':[_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0xf4),'children':[_0x386101(_0x15a3bf(0xa6),{'className':_0x15a3bf(0x13d),'children':'1'}),_0x899745['t']('mcpConfig.configStep1')]}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0xf4),'children':[_0x386101(_0x15a3bf(0xa6),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x899745['t']('mcpConfig.configStep2')]}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0xf4),'children':[_0x386101('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x899745['t'](_0x15a3bf(0x198))]})]})]})]}),_0x221335(_0x15a3bf(0x1d8),{'className':'univer-space-y-2','children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x168),'children':'MCP\x20Configuration'}),_0x386101('div',{'className':_0x15a3bf(0xfd),'children':_0x386101(_0x15a3bf(0x1e6),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x15a3bf(0x19f)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0xc24966||'<SESSION_ID>'),'type':_0x15a3bf(0x159),'headers':{'Authorization':_0x15a3bf(0xf1)+(_0x20f085||_0x15a3bf(0xf7))}}}},null,0x2)})})]}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x136),'children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x168),'children':_0x899745['t']('mcpConfig.configParameters')}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x112),'children':[_0x221335('div',{'className':_0x15a3bf(0x149),'children':[_0x386101(_0x15a3bf(0x1d8),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0xda),'children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x1dd),'children':'univer_session_id:'}),_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0xcd),'children':_0x899745['t'](_0x15a3bf(0x16f))})]})]}),_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x149),'children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x10d)}),_0x221335('div',{'className':_0x15a3bf(0xda),'children':[_0x386101('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x15a3bf(0xd6)}),_0x386101('div',{'className':_0x15a3bf(0xcd),'children':_0x899745['t'](_0x15a3bf(0x1c5))})]})]})]})]})]})]}),_0x386101(_0x2f0cea,{'onClick':_0x213d48,'disabled':!_0x53c4de||_0x2e363b,'className':_0x15a3bf(0xd2),'children':_0x2e363b?_0x221335('span',{'className':_0x15a3bf(0xf4),'children':[_0x386101(_0x15a3bf(0xa6),{'children':'⟲'}),_0x899745['t'](_0x15a3bf(0xe4))]}):_0x221335('span',{'className':_0x15a3bf(0xf4),'children':[_0x386101(le,{}),_0x899745['t']('mcpConfig.save')]})}),_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x10f),'children':_0x221335(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x1d2),'children':[_0x386101(_0x15a3bf(0xa6),{'className':_0x15a3bf(0x1f3),'children':'💡'}),_0x221335('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x386101(_0x15a3bf(0x1d8),{'className':_0x15a3bf(0x14c),'children':_0x15a3bf(0x160)}),_0x221335(_0x15a3bf(0x1d8),{'children':['•',_0x899745['t']('mcpConfig.note1')]}),_0x221335(_0x15a3bf(0x1d8),{'children':['•',_0x899745['t']('mcpConfig.note2')]})]})]})})]})})]});}const y='mcp-ui.config',ie={'showDeveloperTools':!0x1,'showStatus':!0x0};var rn=Object[_0x559f0d(0x1f0)],tn=(_0x209fab,_0x26f38a,_0x3e5c44,_0x4a53c5)=>{const _0x16f1ec=_0x559f0d;for(var _0x126d6e=_0x4a53c5>0x1?void 0x0:_0x4a53c5?rn(_0x26f38a,_0x3e5c44):_0x26f38a,_0x37aad9=_0x209fab[_0x16f1ec(0x182)]-0x1,_0x154ce2;_0x37aad9>=0x0;_0x37aad9--)(_0x154ce2=_0x209fab[_0x37aad9])&&(_0x126d6e=_0x154ce2(_0x126d6e)||_0x126d6e);return _0x126d6e;},d=(_0x3b9c99,_0x527bae)=>(_0x46840e,_0x23b3c0)=>_0x527bae(_0x46840e,_0x23b3c0,_0x3b9c99);const U=_0x559f0d(0xed),L=_0x559f0d(0x172);let I=class extends _0x313008{constructor(_0x427f0d,_0x426035,_0x287f52,_0x5ba654,_0x677fda,_0x5cac8b,_0x34a8fd,_0xed97d0,_0x633101,_0x32219f){const _0x17d77d=_0x559f0d;super(),x(this,_0x17d77d(0x1de),new _0x52de91(!0x1)),x(this,_0x17d77d(0x18e),new _0x52de91({})),x(this,_0x17d77d(0x166),new _0x52de91({})),x(this,_0x17d77d(0x1bc),new _0x52de91('')),x(this,_0x17d77d(0xa7),async _0x253482=>{const _0x3055f8=_0x17d77d;var _0x610375,_0x391c28;this[_0x3055f8(0x1de)][_0x3055f8(0xa8)](!0x0);try{const _0x25f78c=await this[_0x3055f8(0x11e)](_0x253482);if(!_0x25f78c[_0x3055f8(0xe5)]){this[_0x3055f8(0x14d)]['show']({'type':_0x46c50f[_0x3055f8(0xe0)],'content':_0x25f78c[_0x3055f8(0x1b6)]||this[_0x3055f8(0xdc)]['t'](_0x3055f8(0x14b))});return;}_0x253482[_0x3055f8(0x126)]?await this[_0x3055f8(0x123)][_0x3055f8(0xde)](U,_0x253482[_0x3055f8(0x126)][_0x3055f8(0x17e)]()):await this[_0x3055f8(0x123)][_0x3055f8(0xef)](U),this['_apiKey$'][_0x3055f8(0xa8)](((_0x610375=_0x253482[_0x3055f8(0x126)])==null?void 0x0:_0x610375[_0x3055f8(0x17e)]())||''),this[_0x3055f8(0x176)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x391c28=_0x253482['apiKey'])==null?void 0x0:_0x391c28[_0x3055f8(0x17e)]())}),this['_messageService'][_0x3055f8(0x121)]({'type':_0x46c50f['Success'],'content':this[_0x3055f8(0xdc)]['t'](_0x3055f8(0x185))}),setTimeout(()=>{this['_dialogService']['close'](L);},0x320);}catch(_0x132a4a){this[_0x3055f8(0xe6)][_0x3055f8(0x15f)](_0x3055f8(0x1d3),_0x132a4a),this[_0x3055f8(0x14d)][_0x3055f8(0x121)]({'type':_0x46c50f['Error'],'content':this[_0x3055f8(0xdc)]['t'](_0x3055f8(0x199))});}finally{this[_0x3055f8(0x1de)][_0x3055f8(0xa8)](!0x1);}}),(this['_injector']=_0x427f0d,this['_uiPartsService']=_0x426035,this[_0x17d77d(0x196)]=_0x287f52,this[_0x17d77d(0x123)]=_0x5ba654,this[_0x17d77d(0x10a)]=_0x677fda,this[_0x17d77d(0x14d)]=_0x5cac8b,this['_componentManager']=_0x34a8fd,this[_0x17d77d(0xdc)]=_0xed97d0,this[_0x17d77d(0xe6)]=_0x633101,this[_0x17d77d(0x176)]=_0x32219f,this[_0x17d77d(0x1ed)](),this[_0x17d77d(0x1d1)](),this[_0x17d77d(0xff)]());}[_0x559f0d(0x1d6)](){const _0x103c89=_0x559f0d,_0x4a049c=this[_0x103c89(0x196)][_0x103c89(0x151)](y);_0x4a049c!=null&&_0x4a049c['showDeveloperTools']&&this[_0x103c89(0x10a)][_0x103c89(0x1a7)]({'id':L,'title':{'title':this['_localeService']['t'](_0x103c89(0x1b7))},'children':{'label':_0x103c89(0xf3)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x124db2=_0x103c89;this[_0x124db2(0x10a)][_0x124db2(0xb4)](L);}});}[_0x559f0d(0x157)](){const _0x2840b9=_0x559f0d;return this[_0x2840b9(0x18e)]['value'];}[_0x559f0d(0xff)](){const _0x117119=_0x559f0d;this['disposeWithMe'](this[_0x117119(0xdd)][_0x117119(0xc1)](_0x117119(0xf3),this[_0x117119(0x1a5)]()));}['_createConfigPanelComponent'](){return _0x2de9ba(()=>{const _0x49a702=_0x5edc;var _0x293b5e,_0x5212f1,_0x3ab8e1;return _0x386101(nn,{'config':this[_0x49a702(0x166)][_0x49a702(0x173)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x49a702(0x173)],'currentApiKey$':this[_0x49a702(0x1bc)],'onSave':this[_0x49a702(0xa7)],'loading':this[_0x49a702(0x1de)][_0x49a702(0x173)],'connectionStatus$':(_0x293b5e=this[_0x49a702(0x176)])==null?void 0x0:_0x293b5e[_0x49a702(0x19b)],'connectionError$':(_0x5212f1=this['_mcpConnectionController'])==null?void 0x0:_0x5212f1['connectionError$'],'currentSessionId$':(_0x3ab8e1=this[_0x49a702(0x176)])==null?void 0x0:_0x3ab8e1[_0x49a702(0xd1)]});},this['_injector']);}[_0x559f0d(0x1ed)](){const _0x32fdbd=_0x559f0d;this[_0x32fdbd(0x17b)](this['_configService'][_0x32fdbd(0x1ac)](_0x5b9089)[_0x32fdbd(0x18a)](_0x4aac47=>{const _0x8498e6=_0x32fdbd;this[_0x8498e6(0x18e)][_0x8498e6(0xa8)](_0x4aac47||{});}));const _0x5ebe14=this['_configService'][_0x32fdbd(0x151)](_0x5b9089);this[_0x32fdbd(0x18e)][_0x32fdbd(0xa8)](_0x5ebe14||{}),this[_0x32fdbd(0x17b)](this['_configService']['subscribeConfigValue$'](y)['subscribe'](_0x5798bc=>{const _0x4419a0=_0x32fdbd;this[_0x4419a0(0x166)]['next'](_0x5798bc||{});}));const _0x4a1288=this[_0x32fdbd(0x196)][_0x32fdbd(0x151)](y);this[_0x32fdbd(0x166)][_0x32fdbd(0xa8)](_0x4a1288||{});}async['_loadStoredApiKey'](){const _0x974e9e=_0x559f0d,_0x275cb1=this['_configService']['getConfig'](y);if(!(_0x275cb1!=null&&_0x275cb1['showDeveloperTools']))return;const _0x2660f4=await this[_0x974e9e(0x123)]['getItem'](U);_0x2660f4&&(this['_mcpConnectionController'][_0x974e9e(0x12e)]({'Authorization':_0x974e9e(0xf1)+_0x2660f4}),this['_apiKey$'][_0x974e9e(0xa8)](_0x2660f4));}async['_validateConfig'](_0xfa2acc){const _0x4029db=_0x559f0d;if(!_0xfa2acc[_0x4029db(0x126)]||_0xfa2acc['apiKey']['trim']()[_0x4029db(0x182)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4029db(0xdc)]['t'](_0x4029db(0x155))};if(_0xfa2acc[_0x4029db(0x126)][_0x4029db(0x17e)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4029db(0xdc)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x17826b=await this[_0x4029db(0x1ad)][_0x4029db(0x1c8)](_0x479f93)[_0x4029db(0x116)](_0xfa2acc[_0x4029db(0x126)]['trim']());return _0x17826b[_0x4029db(0xe5)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x17826b[_0x4029db(0x15f)]||this[_0x4029db(0xdc)]['t'](_0x4029db(0xfa))};}catch(_0x2fddfc){return console[_0x4029db(0x132)](_0x4029db(0x120),_0x2fddfc),{'isValid':!0x0};}}};I=tn([d(0x0,_0x592555(_0xa48931)),d(0x1,_0x2fd2fa),d(0x2,_0x1a3ab6),d(0x3,_0x1b37b4),d(0x4,_0x48819c),d(0x5,_0x5aa206),d(0x6,_0x592555(_0xf4e518)),d(0x7,_0x592555(_0x13d346)),d(0x8,_0x3a580c),d(0x9,_0x592555(_0x479f93))],I);const V={'id':_0x559f0d(0x1a3),'type':_0x47d0d7[_0x559f0d(0xe8)],'handler':async(_0x5cbc07,_0x3fea5f)=>(_0x5cbc07[_0x559f0d(0x1c8)](I)['showConfigPanel'](),!0x0)};function pe(_0x47375a,_0x576ff9){const _0x37102f=_0x559f0d;switch(_0x47375a){case _0x397fda['DISCONNECTED']:return _0x37102f(0x1c4);case _0x397fda['CONNECTING']:return'mcpStatus.connecting';case _0x397fda[_0x37102f(0xea)]:return _0x37102f(0x117);case _0x397fda[_0x37102f(0x174)]:switch(_0x576ff9){case _0x52d4dc[_0x37102f(0xbb)]:return'mcpStatus.unauthorized';case _0x52d4dc[_0x37102f(0xe9)]:return _0x37102f(0xac);case _0x52d4dc[_0x37102f(0x14e)]:return _0x37102f(0x129);case _0x52d4dc['MAX_RETRIES_EXCEEDED']:return _0x37102f(0xdf);default:return _0x37102f(0x179);}case _0x397fda[_0x37102f(0x169)]:return _0x37102f(0x17a);default:return'mcpStatus.unknown';}}function on(_0x1c6fff,_0x187860,_0x537bf2,_0xba42eb=!0x0){const _0xad3f91=_0x559f0d,_0xb40e7d=pe(_0x1c6fff,_0x187860),_0x9fdf41=_0x537bf2['t'](_0xb40e7d);return _0xba42eb?_0x1c6fff===_0x397fda[_0xad3f91(0xd8)]&&_0x187860===_0x52d4dc['UNAUTHORIZED']?_0x9fdf41+_0xad3f91(0xbf)+_0x537bf2['t'](_0xad3f91(0x163)):_0x1c6fff===_0x397fda[_0xad3f91(0xea)]?''+_0x9fdf41:_0x1c6fff===_0x397fda['DISCONNECTED']||_0x1c6fff===_0x397fda[_0xad3f91(0x174)]?_0x9fdf41+'\x20-\x20'+_0x537bf2['t']('mcpStatus.clickToConnect'):_0x9fdf41:_0x9fdf41;}function sn(_0x2875d5){const _0x4f2cf4=_0x559f0d;switch(_0x2875d5){case _0x397fda[_0x4f2cf4(0xea)]:return _0x4f2cf4(0xd5);case _0x397fda[_0x4f2cf4(0xc4)]:case _0x397fda[_0x4f2cf4(0x169)]:return'univer-text-yellow-500';case _0x397fda[_0x4f2cf4(0x174)]:case _0x397fda['DISCONNECTED']:return _0x4f2cf4(0x17c);default:return'univer-text-gray-500';}}function cn(_0x3d0c4f){const _0x56b100=_0x559f0d,{status$:_0x21fbff,error$:_0x16dbfc,onConfigure:_0x310a0e,showClickable:_0x13aa53=!0x0}=_0x3d0c4f,_0x5ca342=_0xa49c42(_0x21fbff,_0x397fda['DISCONNECTED']),_0x53d8ed=_0xa49c42(_0x16dbfc,_0x52d4dc['NONE']),_0x44c10b=_0x26f536(_0x13d346),_0x117819=_0x5ca342===_0x397fda[_0x56b100(0xea)];_0x5ca342===_0x397fda[_0x56b100(0xc4)]||_0x397fda['RETRYING'];const _0x42cad0=_0x44c10b['t'](pe(_0x5ca342,_0x53d8ed)),_0x51fa27=on(_0x5ca342,_0x53d8ed,_0x44c10b,_0x13aa53),_0x591806=sn(_0x5ca342),_0x9b302a=_0x117819?_0x386101(ge,{}):_0x386101(de,{}),_0x86443f=_0x319000(()=>{_0x13aa53&&_0x310a0e&&_0x310a0e();},[_0x13aa53,_0x310a0e]);function _0x498e01(){const _0xb182d2=_0x56b100;return _0x221335(_0xb182d2(0x1d8),{'className':_0x5e0e60(_0xb182d2(0xc2),_0x13aa53&&_0x310a0e&&_0xb182d2(0x118)),'role':_0xb182d2(0x161),'onClick':_0x13aa53&&_0x310a0e?_0x86443f:void 0x0,'children':[_0x386101(_0xb182d2(0x1d8),{'className':_0x5e0e60('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x591806),'children':_0x9b302a}),_0x386101(_0xb182d2(0x1d8),{'className':_0xb182d2(0x1ca),'children':_0x42cad0})]});}return _0x386101(_0x3638c1,{'title':_0x51fa27,'placement':'bottom','children':_0x498e01()});}var an=Object[_0x559f0d(0x1f0)],ln=(_0x10ee24,_0x16104c,_0x182723,_0x39e108)=>{const _0x7bf925=_0x559f0d;for(var _0x57bc3e=_0x39e108>0x1?void 0x0:_0x39e108?an(_0x16104c,_0x182723):_0x16104c,_0x33b9e6=_0x10ee24[_0x7bf925(0x182)]-0x1,_0x2cfd40;_0x33b9e6>=0x0;_0x33b9e6--)(_0x2cfd40=_0x10ee24[_0x33b9e6])&&(_0x57bc3e=_0x2cfd40(_0x57bc3e)||_0x57bc3e);return _0x57bc3e;},M=(_0x205cd8,_0x282639)=>(_0x2680e6,_0x3621f9)=>_0x282639(_0x2680e6,_0x3621f9,_0x205cd8);let O=class extends _0x313008{constructor(_0x5abc35,_0x4d8d8f,_0x2def4f,_0x24e486){const _0x4a5c22=_0x559f0d;super(),this[_0x4a5c22(0x1ad)]=_0x5abc35,this[_0x4a5c22(0x124)]=_0x4d8d8f,this[_0x4a5c22(0x1c1)]=_0x2def4f,this[_0x4a5c22(0x196)]=_0x24e486,this[_0x4a5c22(0x145)](),this[_0x4a5c22(0x1b0)]();}[_0x559f0d(0x145)](){const _0x2783d6=_0x559f0d,_0x9b8f98=this[_0x2783d6(0x196)][_0x2783d6(0x151)](y);_0x9b8f98!=null&&_0x9b8f98[_0x2783d6(0x1d7)]&&(this[_0x2783d6(0x124)][_0x2783d6(0x148)]=!0x1);}[_0x559f0d(0x1b0)](){const _0x5703c5=_0x559f0d,_0x59b91b=this['_configService'][_0x5703c5(0x151)](y);(_0x59b91b==null?void 0x0:_0x59b91b[_0x5703c5(0xb9)])!==!0x1&&this[_0x5703c5(0x17b)](this[_0x5703c5(0x1c1)][_0x5703c5(0x162)](_0x295991['HEADER_MENU'],()=>{const _0x1f41c1=_0x5703c5;var _0x32142e;return _0x2de9ba(un({'status$':this['_connectionController'][_0x1f41c1(0x19b)],'error$':this[_0x1f41c1(0x124)][_0x1f41c1(0xd4)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x32142e=_0x59b91b==null?void 0x0:_0x59b91b[_0x1f41c1(0x1d7)])!=null?_0x32142e:!0x1}),this[_0x1f41c1(0x1ad)]);}));}['_handleConfigure'](){const _0xf8c3fc=_0x559f0d;this[_0xf8c3fc(0x1ad)]['get'](I)[_0xf8c3fc(0x1d6)]();}};O=ln([M(0x0,_0x592555(_0xa48931)),M(0x1,_0x592555(_0x479f93)),M(0x2,_0x2fd2fa),M(0x3,_0x1a3ab6)],O);function un(_0x2130f6){const {status$:_0x5426ae,error$:_0xf40eee,onConfigure:_0x524a78,showClickable:_0x4a19d3}=_0x2130f6;return function(){return _0x386101(cn,{'status$':_0x5426ae,'error$':_0xf40eee,'onConfigure':_0x524a78,'showClickable':_0x4a19d3});};}function vn(_0x17cdbd){const _0x137083=_0x559f0d;return{'id':V['id'],'type':_0x19d45d['BUTTON'],'icon':_0x137083(0x183),'title':_0x137083(0x1b7),'tooltip':_0x137083(0x1b7)};}const dn={[_0x2539bd[_0x559f0d(0x1a0)]]:{[V['id']]:{'order':0xa,'menuItemFactory':vn}}};var gn=Object[_0x559f0d(0x1f0)],pn=(_0x413910,_0x39993f,_0x262c7f,_0x10521d)=>{const _0x3f93cf=_0x559f0d;for(var _0x1442b1=_0x10521d>0x1?void 0x0:_0x10521d?gn(_0x39993f,_0x262c7f):_0x39993f,_0x412dd6=_0x413910[_0x3f93cf(0x182)]-0x1,_0x229f0;_0x412dd6>=0x0;_0x412dd6--)(_0x229f0=_0x413910[_0x412dd6])&&(_0x1442b1=_0x229f0(_0x1442b1)||_0x1442b1);return _0x1442b1;},re=(_0x298fbe,_0x2072f3)=>(_0x4fccf5,_0x55393f)=>_0x2072f3(_0x4fccf5,_0x55393f,_0x298fbe);let D=class extends _0x313008{constructor(_0x25c46,_0x4c4045){const _0x215984=_0x559f0d;super(),this[_0x215984(0xa1)]=_0x25c46,this[_0x215984(0xd7)]=_0x4c4045,this[_0x215984(0xee)](),this[_0x215984(0x181)]();}['_initializeCommands'](){[V]['forEach'](_0x535eca=>{const _0x3d5fc8=_0x5edc;this[_0x3d5fc8(0x17b)](this['_commandService'][_0x3d5fc8(0xb1)](_0x535eca));});}[_0x559f0d(0x181)](){const _0x5e2df1=_0x559f0d;this[_0x5e2df1(0xd7)][_0x5e2df1(0x113)](dn);}};D=pn([re(0x0,_0x187c77),re(0x1,_0x3548c9)],D);const Mn={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x559f0d(0xab),'connected':_0x559f0d(0x12b),'failed':_0x559f0d(0xaa),'retrying':_0x559f0d(0x1c7),'unknown':_0x559f0d(0xf8),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x559f0d(0x186),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x559f0d(0x131),'description':_0x559f0d(0x18c),'apiKey':_0x559f0d(0xa9),'apiKeyPlaceholder':_0x559f0d(0x11b),'apiKeyHint':_0x559f0d(0x103),'enableAuth':_0x559f0d(0x111),'enableAuthHint':_0x559f0d(0x1d5),'connectionInfo':_0x559f0d(0x1c2),'mcpClientConfig':_0x559f0d(0x1c2),'configInstructions':_0x559f0d(0x154),'configStepTitle':_0x559f0d(0xc6),'configStep1':_0x559f0d(0x1c6),'configStep2':_0x559f0d(0x164),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x559f0d(0xa0),'authorizationDescription':_0x559f0d(0x167),'configParameters':_0x559f0d(0xf5),'maxRetries':_0x559f0d(0xf2),'save':_0x559f0d(0x10e),'saving':'Saving...','note1':_0x559f0d(0x1ba),'note2':_0x559f0d(0x1cf),'configSaved':_0x559f0d(0x135),'configError':_0x559f0d(0xd3),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x559f0d(0xa4),'univerAiLabel':_0x559f0d(0xc5),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x559f0d(0x14f),'apiKeyTooShort':_0x559f0d(0x13a),'invalidConfig':_0x559f0d(0x137),'invalidApiKey':_0x559f0d(0xa2)},'connectionStatus':{'disconnected':_0x559f0d(0x165),'connecting':'Connecting...','connected':_0x559f0d(0x195),'failed':_0x559f0d(0x1a8),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x559f0d(0x1cb),'sessionOccupied':_0x559f0d(0x1a6),'networkError':_0x559f0d(0x13b),'maxRetriesExceeded':_0x559f0d(0x13e)}}},An={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0x559f0d(0x1cc),'failed':_0x559f0d(0x19d),'retrying':_0x559f0d(0x146),'unknown':_0x559f0d(0x188),'unauthorized':_0x559f0d(0x108),'sessionOccupied':_0x559f0d(0x1e7),'networkError':_0x559f0d(0x100),'maxRetriesExceeded':_0x559f0d(0x12f),'clickToConnect':_0x559f0d(0x1e1),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x559f0d(0x119),'description':_0x559f0d(0x1a1),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x559f0d(0x13c),'apiKeyHint':_0x559f0d(0xce),'enableAuth':_0x559f0d(0x197),'enableAuthHint':_0x559f0d(0xc8),'connectionInfo':_0x559f0d(0xc7),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x559f0d(0x12a),'configStep1':_0x559f0d(0x10b),'configStep2':_0x559f0d(0x19c),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x559f0d(0x1da),'sessionIdDescription':_0x559f0d(0xd0),'authorizationDescription':_0x559f0d(0x125),'configParameters':'配置参数:','maxRetries':_0x559f0d(0x1be),'save':'保存配置','saving':_0x559f0d(0xaf),'note1':_0x559f0d(0x1a4),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x559f0d(0x1a9),'configError':'配置保存失败','apiApplyInfo':{'title':_0x559f0d(0x1e5),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x559f0d(0x141),'getStarted':_0x559f0d(0xba)},'validation':{'apiKeyRequired':_0x559f0d(0x1e9),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x559f0d(0x1e4),'invalidApiKey':_0x559f0d(0x1e0)},'connectionStatus':{'disconnected':_0x559f0d(0x15d),'connecting':_0x559f0d(0x1f1),'connected':'已连接','failed':_0x559f0d(0x1d4),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x559f0d(0x187),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x559f0d(0x12d),'maxRetriesExceeded':_0x559f0d(0x11f)}}};var fn=Object[_0x559f0d(0x150)],hn=Object[_0x559f0d(0x1f0)],Cn=(_0x396ae1,_0x28d10d,_0x18aa0f)=>_0x28d10d in _0x396ae1?fn(_0x396ae1,_0x28d10d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18aa0f}):_0x396ae1[_0x28d10d]=_0x18aa0f,mn=(_0x2e0a29,_0x2ff100,_0x47b3d3,_0x1cf037)=>{const _0x2299a2=_0x559f0d;for(var _0x4f2f83=_0x1cf037>0x1?void 0x0:_0x1cf037?hn(_0x2ff100,_0x47b3d3):_0x2ff100,_0x33b283=_0x2e0a29[_0x2299a2(0x182)]-0x1,_0x2e2152;_0x33b283>=0x0;_0x33b283--)(_0x2e2152=_0x2e0a29[_0x33b283])&&(_0x4f2f83=_0x2e2152(_0x4f2f83)||_0x4f2f83);return _0x4f2f83;},P=(_0x33bbf2,_0x174e30)=>(_0x3bb2df,_0x2e0673)=>_0x174e30(_0x3bb2df,_0x2e0673,_0x33bbf2),_n=(_0x40d6b9,_0x43b5b9,_0x2112b8)=>Cn(_0x40d6b9,_0x43b5b9+'',_0x2112b8);let j=class extends _0x431772{constructor(_0x541f4f=ie,_0x20ceb4,_0x71b5e2,_0x4a872f,_0x28db18,_0x1f6ac1){const _0x131f31=_0x559f0d;super(),this[_0x131f31(0x191)]=_0x541f4f,this[_0x131f31(0x1ad)]=_0x20ceb4,this[_0x131f31(0x196)]=_0x71b5e2,this[_0x131f31(0x1c1)]=_0x4a872f,this['_localStorageService']=_0x28db18,this[_0x131f31(0xdc)]=_0x1f6ac1;const {..._0x5d2f70}=_0x5e5890({},ie,this[_0x131f31(0x191)]);this[_0x131f31(0x196)]['setConfig'](y,_0x5d2f70);}async[_0x559f0d(0x156)](){const _0xe9455d=_0x559f0d,_0x2ad758=[[O],[I],[D]];this['_injector'][_0xe9455d(0x143)](_0x5aa8ec)||_0x2ad758[_0xe9455d(0x15c)]([_0x5aa8ec,{'useClass':_0x325f73}]),_0x2ad758[_0xe9455d(0x1b9)](_0x2494e4=>this[_0xe9455d(0x1ad)]['add'](_0x2494e4)),this[_0xe9455d(0x1ad)][_0xe9455d(0x1c8)](O),this[_0xe9455d(0x1ad)][_0xe9455d(0x1c8)](I),this[_0xe9455d(0x1ad)][_0xe9455d(0x1c8)](D);}};_n(j,_0x559f0d(0x102),_0x559f0d(0xc3)),j=mn([_0x451ff0(_0x310f35),P(0x1,_0x592555(_0xa48931)),P(0x2,_0x1a3ab6),P(0x3,_0x2fd2fa),P(0x4,_0x1b37b4),P(0x5,_0x592555(_0x13d346))],j);function _0x5edc(_0x212562,_0x5a8ba1){_0x212562=_0x212562-0xa0;const _0x14a9d5=_0x14a9();let _0x5edcde=_0x14a9d5[_0x212562];return _0x5edcde;}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 _0xecf128=_0x1f2d;(function(_0x1c532b,_0x2c3c15){const _0x2ca4a3=_0x1f2d,_0x42a8bd=_0x1c532b();while(!![]){try{const _0x17127e=-parseInt(_0x2ca4a3(0x19f))/0x1*(parseInt(_0x2ca4a3(0x156))/0x2)+-parseInt(_0x2ca4a3(0x217))/0x3+-parseInt(_0x2ca4a3(0x1cc))/0x4+-parseInt(_0x2ca4a3(0x120))/0x5*(-parseInt(_0x2ca4a3(0x1e4))/0x6)+-parseInt(_0x2ca4a3(0x163))/0x7+parseInt(_0x2ca4a3(0x184))/0x8*(-parseInt(_0x2ca4a3(0x1ff))/0x9)+parseInt(_0x2ca4a3(0x1b2))/0xa;if(_0x17127e===_0x2c3c15)break;else _0x42a8bd['push'](_0x42a8bd['shift']());}catch(_0x264914){_0x42a8bd['push'](_0x42a8bd['shift']());}}}(_0x2bbb,0x23ee0));var Pe=Object['defineProperty'],Ee=(_0x31a34e,_0x2cc93d,_0x4d4a64)=>_0x2cc93d in _0x31a34e?Pe(_0x31a34e,_0x2cc93d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d4a64}):_0x31a34e[_0x2cc93d]=_0x4d4a64,x=(_0x52aa19,_0x24ce4c,_0x541af8)=>Ee(_0x52aa19,typeof _0x24ce4c!=_0xecf128(0x147)?_0x24ce4c+'':_0x24ce4c,_0x541af8);import{LocaleService as _0x4e572e,Inject as _0x1b6077,Injector as _0x1e44a4,Disposable as _0x25fd42,IConfigService as _0x339b51,ILocalStorageService as _0x5a357f,ILogService as _0x3d89df,CommandType as _0x25ab63,ICommandService as _0x35f7cb,DependentOn as _0x7385ac,Plugin as _0x9d7294,merge as _0xf36a6c}from'@univerjs/core';import{jsxs as _0x2153fc,jsx as _0x52b4f6}from'react/jsx-runtime';import{MCPConnectionStatus as _0x3ed4bf,MCPConnectionError as _0x1b13d8,MCPConnectionController as _0x1875ea,MCP_PLUGIN_CONFIG_KEY as _0x28ace7,UniverMCPPlugin as _0xf61bd8}from'@univerjs-pro/mcp';import{clsx as _0x396899,Input as _0x2e194b,Button as _0x515791,MessageType as _0xf05071,Tooltip as _0x46f327}from'@univerjs/design';import{useDependency as _0xd1ed86,useObservable as _0x17134b,ComponentManager as _0x475bc9,connectInjector as _0x15a61e,IUIPartsService as _0xddd35c,IDialogService as _0x135906,IMessageService as _0x3ce74e,BuiltInUIPart as _0x51daf9,MenuItemType as _0x348baf,RibbonStartGroup as _0x4481b1,IMenuManagerService as _0x1a9f01}from'@univerjs/ui';import{BehaviorSubject as _0x4e6612}from'rxjs';import{useRef as _0x48640f,createElement as _0x22626c,forwardRef as _0x2e2678,useState as _0x55c378,useCallback as _0x1b51ec}from'react';import{ISocketService as _0x1ce209,WebSocketService as _0x506559}from'@univerjs/network';function b({ref:_0x5a1d91,..._0x1093c9}){const _0x48bf3f=_0xecf128,{icon:_0x2de8ee,id:_0x9461d8,className:_0x3cad43,extend:_0x26797f,..._0x5a56ad}=_0x1093c9,_0xa97269=('univerjs-icon\x20univerjs-icon-'+_0x9461d8+'\x20'+(_0x3cad43||''))[_0x48bf3f(0x10b)](),_0x4a9fb5=_0x48640f('_'+We());return ae(_0x2de8ee,''+_0x9461d8,{'defIds':_0x2de8ee[_0x48bf3f(0x1b8)],'idSuffix':_0x4a9fb5[_0x48bf3f(0x211)]},{'ref':_0x5a1d91,'className':_0xa97269,..._0x5a56ad},_0x26797f);}function ae(_0x50f5b5,_0x45898b,_0xb9f8eb,_0x330e4e,_0xa73b1f){const _0x19d248=_0xecf128;return _0x22626c(_0x50f5b5[_0x19d248(0x195)],{'key':_0x45898b,...Ye(_0x50f5b5,_0xb9f8eb,_0xa73b1f),..._0x330e4e},(Ze(_0x50f5b5,_0xb9f8eb)[_0x19d248(0x186)]||[])[_0x19d248(0x22a)]((_0x30f89d,_0x18134a)=>ae(_0x30f89d,_0x45898b+'-'+_0x50f5b5[_0x19d248(0x195)]+'-'+_0x18134a,_0xb9f8eb,void 0x0,_0xa73b1f)));}function Ye(_0x5cc9f3,_0x1d6ee8,_0x1ed0c5){const _0x21293c=_0xecf128,_0x1eebc5={..._0x5cc9f3[_0x21293c(0x238)]};_0x1ed0c5!=null&&_0x1ed0c5[_0x21293c(0x13b)]&&_0x1eebc5['fill']===_0x21293c(0x13b)&&(_0x1eebc5[_0x21293c(0x20a)]=_0x1ed0c5[_0x21293c(0x13b)]),_0x5cc9f3[_0x21293c(0x195)]===_0x21293c(0x1e6)&&_0x1eebc5['id']&&(_0x1eebc5['id']=_0x1eebc5['id']+_0x1d6ee8[_0x21293c(0x21b)]),Object['entries'](_0x1eebc5)[_0x21293c(0x16a)](([_0xdc462d,_0x2303e1])=>{const _0x577e89=_0x21293c;_0xdc462d===_0x577e89(0x1e6)&&typeof _0x2303e1=='string'&&(_0x1eebc5[_0xdc462d]=_0x2303e1[_0x577e89(0x11c)](/url\(#(.*)\)/,'url(#$1'+_0x1d6ee8[_0x577e89(0x21b)]+')'));});const {defIds:_0x5aedd8}=_0x1d6ee8;return!_0x5aedd8||_0x5aedd8[_0x21293c(0x214)]===0x0||(_0x5cc9f3[_0x21293c(0x195)]===_0x21293c(0x177)&&_0x1eebc5[_0x21293c(0x1d6)]&&(_0x1eebc5[_0x21293c(0x1d6)]=_0x1eebc5[_0x21293c(0x1d6)]+_0x1d6ee8['idSuffix']),Object[_0x21293c(0x242)](_0x1eebc5)['forEach'](([_0x331b4a,_0x46ca32])=>{const _0x14ff64=_0x21293c;typeof _0x46ca32==_0x14ff64(0x223)&&(_0x1eebc5[_0x331b4a]=_0x46ca32[_0x14ff64(0x11c)](/url\(#(.*)\)/,_0x14ff64(0x1ca)+_0x1d6ee8[_0x14ff64(0x21b)]+')'));})),_0x1eebc5;}function Ze(_0x1eb198,_0x4b4626){const _0x8cbff0=_0xecf128;var _0x38f701;const {defIds:_0x2333ef}=_0x4b4626;return!_0x2333ef||_0x2333ef[_0x8cbff0(0x214)]===0x0?_0x1eb198:_0x1eb198[_0x8cbff0(0x195)]==='defs'&&((_0x38f701=_0x1eb198['children'])!=null&&_0x38f701[_0x8cbff0(0x214)])?{..._0x1eb198,'children':_0x1eb198['children'][_0x8cbff0(0x22a)](_0x14fdb2=>typeof _0x14fdb2['attrs']['id']=='string'&&_0x2333ef&&_0x2333ef[_0x8cbff0(0x107)](_0x14fdb2[_0x8cbff0(0x238)]['id'])?{..._0x14fdb2,'attrs':{..._0x14fdb2[_0x8cbff0(0x238)],'id':_0x14fdb2[_0x8cbff0(0x238)]['id']+_0x4b4626[_0x8cbff0(0x21b)]}}:_0x14fdb2)}:_0x1eb198;}function We(){const _0xbed43e=_0xecf128;return Math[_0xbed43e(0x15b)]()[_0xbed43e(0x16d)](0x24)[_0xbed43e(0x154)](0x2,0x8);}b[_0xecf128(0x226)]='UniverIcon';const qe={'tag':_0xecf128(0x23e),'attrs':{'xmlns':_0xecf128(0x23d),'fill':_0xecf128(0x1be),'viewBox':_0xecf128(0x180),'width':_0xecf128(0x203),'height':_0xecf128(0x203)},'children':[{'tag':'path','attrs':{'fill':_0xecf128(0x1c6),'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':'evenodd','clipRule':_0xecf128(0x159)}}]},le=_0x2e2678(function(_0xc7f570,_0x4dafba){const _0xd76c5=_0xecf128;return _0x22626c(b,Object['assign']({},_0xc7f570,{'id':_0xd76c5(0x172),'ref':_0x4dafba,'icon':qe}));});le['displayName']=_0xecf128(0x1a2);const Xe={'tag':_0xecf128(0x23e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xecf128(0x180),'width':_0xecf128(0x203),'height':_0xecf128(0x203)},'children':[{'tag':_0xecf128(0x1eb),'attrs':{'fill':'currentColor','d':'M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z'}}]},ue=_0x2e2678(function(_0x1b8261,_0x4ee784){const _0x1a1730=_0xecf128;return _0x22626c(b,Object[_0x1a1730(0x221)]({},_0x1b8261,{'id':_0x1a1730(0x129),'ref':_0x4ee784,'icon':Xe}));});ue['displayName']='CloseIcon';const Je={'tag':_0xecf128(0x23e),'attrs':{'xmlns':_0xecf128(0x23d),'fill':_0xecf128(0x1be),'viewBox':_0xecf128(0x180),'width':_0xecf128(0x203),'height':'1em'},'children':[{'tag':_0xecf128(0x1eb),'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':_0xecf128(0x1eb),'attrs':{'fill':_0xecf128(0x1c6),'d':_0xecf128(0x164)}},{'tag':_0xecf128(0x1eb),'attrs':{'fill':_0xecf128(0x1c6),'d':_0xecf128(0x18b),'fillRule':_0xecf128(0x159),'clipRule':'evenodd'}}]},ve=_0x2e2678(function(_0x2744d9,_0x31d170){const _0x4d58f5=_0xecf128;return _0x22626c(b,Object[_0x4d58f5(0x221)]({},_0x2744d9,{'id':'help-icon','ref':_0x31d170,'icon':Je}));});ve[_0xecf128(0x226)]=_0xecf128(0x11b);const Qe={'tag':_0xecf128(0x23e),'attrs':{'xmlns':_0xecf128(0x23d),'fill':'none','viewBox':_0xecf128(0x180),'width':'1em','height':_0xecf128(0x203)},'children':[{'tag':'g','attrs':{'clipPath':_0xecf128(0x1ba)},'children':[{'tag':_0xecf128(0x1eb),'attrs':{'stroke':_0xecf128(0x1c6),'d':_0xecf128(0x110),'strokeLinecap':_0xecf128(0x23a),'strokeLinejoin':_0xecf128(0x23a),'strokeWidth':1.2}}]},{'tag':_0xecf128(0x199),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xecf128(0x115)},'children':[{'tag':_0xecf128(0x1eb),'attrs':{'fill':_0xecf128(0x103),'d':_0xecf128(0x157)}}]}]}],'defIds':[_0xecf128(0x115)]},de=_0x2e2678(function(_0x58064f,_0x5d9a45){const _0x1f3e7f=_0xecf128;return _0x22626c(b,Object[_0x1f3e7f(0x221)]({},_0x58064f,{'id':_0x1f3e7f(0x140),'ref':_0x5d9a45,'icon':Qe}));});de['displayName']=_0xecf128(0x189);const en={'tag':_0xecf128(0x23e),'attrs':{'xmlns':_0xecf128(0x23d),'fill':_0xecf128(0x1be),'viewBox':'0\x200\x2017\x2016','width':_0xecf128(0x203),'height':_0xecf128(0x203)},'children':[{'tag':'g','attrs':{'clipPath':_0xecf128(0x14a)},'children':[{'tag':_0xecf128(0x1eb),'attrs':{'stroke':_0xecf128(0x1c6),'d':_0xecf128(0x1b9),'strokeLinecap':'round','strokeLinejoin':_0xecf128(0x23a),'strokeWidth':1.2}}]},{'tag':_0xecf128(0x199),'attrs':{},'children':[{'tag':_0xecf128(0x198),'attrs':{'id':_0xecf128(0x168)},'children':[{'tag':_0xecf128(0x1eb),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0xecf128(0x233)}}]}]}],'defIds':[_0xecf128(0x168)]},ge=_0x2e2678(function(_0x24fb18,_0x49b284){const _0x527ba8=_0xecf128;return _0x22626c(b,Object[_0x527ba8(0x221)]({},_0x24fb18,{'id':'on-line-icon','ref':_0x49b284,'icon':en}));});ge[_0xecf128(0x226)]=_0xecf128(0x1c0);function nn(_0x347774){const _0x19ecb7=_0xecf128;var _0x50cd79,_0x478539;const {mcpCoreConfig:_0x44d121,onSave:_0xcfdc7a,loading:_0x10435e=!0x1,config:_0x1b1455,connectionStatus$:_0x256e04,connectionError$:_0x3def8e,currentApiKey$:_0x185663,currentSessionId$:_0x1e3af8}=_0x347774,_0x243587=_0xd1ed86(_0x4e572e),_0x243733=_0x17134b(_0x256e04,_0x3ed4bf['DISCONNECTED']),_0x14b72f=_0x17134b(_0x3def8e,_0x1b13d8[_0x19ecb7(0x185)]),_0x4e8a87=_0x17134b(_0x1e3af8,''),_0x1ad578=_0x17134b(_0x185663,''),[_0x1acc33,_0x2329e0]=_0x55c378(_0x1ad578||''),_0x521047=!0x0,_0x4d5fa9=_0x1b1455[_0x19ecb7(0x18c)]&&_0x44d121[_0x19ecb7(0x1ed)]&&(_0x44d121[_0x19ecb7(0x1ed)][_0x19ecb7(0x107)]('univer.plus')||_0x44d121[_0x19ecb7(0x1ed)][_0x19ecb7(0x107)](_0x19ecb7(0x1f5))),_0x389561=(_0x50cd79=_0x44d121['mcpServerUrl'])==null?void 0x0:_0x50cd79[_0x19ecb7(0x107)](_0x19ecb7(0x16b)),_0x1b1271=(_0x478539=_0x44d121['mcpServerUrl'])==null?void 0x0:_0x478539[_0x19ecb7(0x107)](_0x19ecb7(0x1f5)),_0x16a7e9=_0x389561?'https://console.univer.plus':_0x19ecb7(0x1c1),_0x39d8e4=_0x1b1455[_0x19ecb7(0x18c)]&&(_0x389561||_0x1b1271),[_0xe9f5e6,_0x32ada6]=_0x55c378(!_0x1acc33[_0x19ecb7(0x10b)]()),_0x26ff72=(_0x184595,_0x269f32)=>{const _0x507e8d=_0x19ecb7;if(_0x269f32===_0x1b13d8[_0x507e8d(0x16f)])return _0x507e8d(0x181);switch(_0x184595){case _0x3ed4bf[_0x507e8d(0x219)]:return _0x507e8d(0x171);case _0x3ed4bf[_0x507e8d(0x205)]:case _0x3ed4bf['RETRYING']:return _0x507e8d(0x13c);case _0x3ed4bf['FAILED']:return _0x507e8d(0x181);default:return _0x507e8d(0x109);}},_0x17ff47=(_0x3fa1b8,_0xd22472)=>{const _0x265b7d=_0x19ecb7;if(_0xd22472===_0x1b13d8['UNAUTHORIZED'])return _0x265b7d(0x196);switch(_0x3fa1b8){case _0x3ed4bf['CONNECTED']:return'univer-bg-green-500';case _0x3ed4bf['CONNECTING']:case _0x3ed4bf[_0x265b7d(0x1d1)]:return _0x265b7d(0x1d3);case _0x3ed4bf[_0x265b7d(0x124)]:return'univer-bg-red-500';default:return _0x265b7d(0x10d);}},_0x5cef0c=_0x458066=>{const _0x2389a1=_0x19ecb7;switch(_0x458066){case _0x3ed4bf['CONNECTED']:return _0x243587['t'](_0x2389a1(0x204));case _0x3ed4bf['CONNECTING']:return _0x243587['t']('mcpConfig.connectionStatus.connecting');case _0x3ed4bf[_0x2389a1(0x124)]:return _0x243587['t'](_0x2389a1(0x19b));case _0x3ed4bf[_0x2389a1(0x1d1)]:return _0x243587['t'](_0x2389a1(0x112));default:return _0x243587['t'](_0x2389a1(0x17e));}},_0x49ef0c=_0x23a7e5=>{const _0x2d3ec6=_0x19ecb7;switch(_0x23a7e5){case _0x1b13d8[_0x2d3ec6(0x16f)]:return _0x243587['t'](_0x2d3ec6(0x241));case _0x1b13d8[_0x2d3ec6(0xfa)]:return _0x243587['t'](_0x2d3ec6(0x12a));case _0x1b13d8[_0x2d3ec6(0x160)]:return _0x243587['t'](_0x2d3ec6(0x142));case _0x1b13d8['MAX_RETRIES_EXCEEDED']:return _0x243587['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x21588c=_0x1b51ec(()=>{const _0xee3f4f=_0x19ecb7,_0x4651e7={..._0x44d121,'apiKey':_0x1acc33[_0xee3f4f(0x10b)](),'enableAuth':_0x521047};_0xcfdc7a(_0x4651e7);},[_0x44d121,_0x1acc33,_0x521047,_0xcfdc7a]),_0x2240fe=_0x1acc33[_0x19ecb7(0x10b)]()['length']>0x0;return _0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1e5),'children':[_0x52b4f6(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1ce),'children':_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0xf5),'children':[_0x52b4f6(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1e0),'children':_0x52b4f6(_0x19ecb7(0x15c),{'className':_0x19ecb7(0x123),'children':'⚙'})}),_0x52b4f6('div',{'children':_0x52b4f6('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x243587['t'](_0x19ecb7(0x182))})})]})}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1e9),'children':[_0x52b4f6('div',{'className':_0x396899(_0x19ecb7(0x1c4),_0x26ff72(_0x243733,_0x14b72f)),'children':_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x12c),'children':[_0x52b4f6(_0x19ecb7(0x135),{'className':_0x396899(_0x19ecb7(0x1f2),_0x17ff47(_0x243733,_0x14b72f))}),_0x52b4f6(_0x19ecb7(0x15c),{'className':_0x19ecb7(0x243),'children':_0x5cef0c(_0x243733)})]})}),_0x14b72f!==_0x1b13d8[_0x19ecb7(0x185)]&&(_0x243733===_0x3ed4bf[_0x19ecb7(0x124)]||_0x14b72f===_0x1b13d8[_0x19ecb7(0x16f)])&&_0x52b4f6('div',{'className':_0x19ecb7(0x227),'children':_0x2153fc('div',{'className':_0x19ecb7(0x13f),'children':[_0x52b4f6(_0x19ecb7(0x15c),{'className':_0x19ecb7(0x18d),'children':'⚠️'}),_0x52b4f6('p',{'className':_0x19ecb7(0x131),'children':_0x49ef0c(_0x14b72f)})]})})]}),_0x52b4f6('div',{'className':_0x19ecb7(0x134),'children':_0x2153fc('div',{'className':_0x19ecb7(0x155),'children':[_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1a1),'children':[_0x2153fc('label',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x52b4f6(_0x19ecb7(0x15c),{'children':'🔑'}),'\x20',_0x243587['t']('mcpConfig.apiKey'),_0x52b4f6(_0x19ecb7(0x15c),{'className':_0x19ecb7(0x1a8),'children':'*'}),_0x4d5fa9&&_0x52b4f6('a',{'className':_0x19ecb7(0x190),'title':_0x243587['t'](_0x19ecb7(0x200)),'role':_0x19ecb7(0x210),'onClick':()=>_0x32ada6(!0x0),'children':_0x52b4f6(ve,{})})]}),_0x52b4f6(_0x2e194b,{'type':_0x19ecb7(0x167),'placeholder':_0x243587['t'](_0x19ecb7(0x102)),'value':_0x1acc33,'disabled':_0x10435e,'autoComplete':'off','onChange':_0x2329e0}),_0x52b4f6('p',{'className':_0x19ecb7(0x1e2),'children':_0x243587['t']('mcpConfig.apiKeyHint')})]}),_0x4d5fa9&&_0xe9f5e6&&_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x18e),'children':[_0x52b4f6('a',{'className':_0x19ecb7(0x1d0),'role':_0x19ecb7(0x210),'onClick':()=>_0x32ada6(!0x1),'children':_0x52b4f6(ue,{'className':'univer-size-4'})}),_0x2153fc(_0x19ecb7(0x135),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x52b4f6(_0x19ecb7(0x135),{'className':_0x19ecb7(0x209),'children':_0x52b4f6(_0x19ecb7(0x15c),{'className':_0x19ecb7(0x158),'children':'🚀'})}),_0x2153fc(_0x19ecb7(0x135),{'className':'univer-flex-1','children':[_0x52b4f6('h4',{'className':_0x19ecb7(0x1cd),'children':_0x243587['t']('mcpConfig.apiApplyInfo.title')}),_0x52b4f6('p',{'className':_0x19ecb7(0x1d7),'children':_0x243587['t'](_0x19ecb7(0x23b))}),_0x52b4f6('div',{'className':_0x19ecb7(0x228),'children':_0x39d8e4&&_0x2153fc('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':_0x16a7e9,'target':_0x19ecb7(0x248),'rel':_0x19ecb7(0x121),'children':[_0x52b4f6('span',{'children':'🤖'}),_0x243587['t'](_0x19ecb7(0x1af)),_0x52b4f6(_0x19ecb7(0x15c),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x2153fc('div',{'className':_0x19ecb7(0x1ee),'children':['✨','\x20',_0x243587['t'](_0x19ecb7(0x165))]})]})]})]}),_0x1b1455[_0x19ecb7(0x18c)]&&_0x2153fc('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x2153fc('h4',{'className':_0x19ecb7(0x22b),'children':[_0x52b4f6(_0x19ecb7(0x15c),{'children':'🔗'}),'\x20',_0x243587['t'](_0x19ecb7(0x218))]}),_0x2153fc(_0x19ecb7(0x135),{'className':'univer-space-y-4','children':[_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x20c),'children':[_0x52b4f6('p',{'className':_0x19ecb7(0x1fc),'children':_0x243587['t'](_0x19ecb7(0x249))}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1a1),'children':[_0x52b4f6('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x243587['t']('mcpConfig.configStepTitle')}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x191),'children':[_0x2153fc('div',{'className':_0x19ecb7(0x12c),'children':[_0x52b4f6(_0x19ecb7(0x15c),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x243587['t'](_0x19ecb7(0x12b))]}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x12c),'children':[_0x52b4f6(_0x19ecb7(0x15c),{'className':_0x19ecb7(0x21c),'children':'2'}),_0x243587['t'](_0x19ecb7(0x1b4))]}),_0x2153fc(_0x19ecb7(0x135),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x52b4f6(_0x19ecb7(0x15c),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x243587['t']('mcpConfig.configStep3')]})]})]})]}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1a1),'children':[_0x52b4f6(_0x19ecb7(0x135),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x19ecb7(0x1fb)}),_0x52b4f6('div',{'className':_0x19ecb7(0x14e),'children':_0x52b4f6('pre',{'className':_0x19ecb7(0x146),'children':JSON[_0x19ecb7(0x111)]({'mcpServers':{'univer':{'url':_0x19ecb7(0x150)+(_0x4e8a87||_0x19ecb7(0x166)),'type':_0x19ecb7(0xfe),'headers':{'Authorization':_0x19ecb7(0xfb)+(_0x1acc33||'<API_KEY>')}}}},null,0x2)})})]}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x20c),'children':[_0x52b4f6('div',{'className':_0x19ecb7(0x14f),'children':_0x243587['t']('mcpConfig.configParameters')}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1a1),'children':[_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x216),'children':[_0x52b4f6('div',{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1a6),'children':[_0x52b4f6('div',{'className':_0x19ecb7(0x231),'children':'univer_session_id:'}),_0x52b4f6(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1e2),'children':_0x243587['t'](_0x19ecb7(0x1b1))})]})]}),_0x2153fc('div',{'className':_0x19ecb7(0x216),'children':[_0x52b4f6(_0x19ecb7(0x135),{'className':_0x19ecb7(0x10a)}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1a6),'children':[_0x52b4f6(_0x19ecb7(0x135),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'Authorization:'}),_0x52b4f6(_0x19ecb7(0x135),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x243587['t'](_0x19ecb7(0x1c7))})]})]})]})]})]})]}),_0x52b4f6(_0x515791,{'onClick':_0x21588c,'disabled':!_0x2240fe||_0x10435e,'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':_0x10435e?_0x2153fc('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x52b4f6(_0x19ecb7(0x15c),{'children':'⟲'}),_0x243587['t'](_0x19ecb7(0x127))]}):_0x2153fc(_0x19ecb7(0x15c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x52b4f6(le,{}),_0x243587['t'](_0x19ecb7(0x136))]})}),_0x52b4f6('div',{'className':_0x19ecb7(0xf9),'children':_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1d2),'children':[_0x52b4f6('span',{'className':_0x19ecb7(0x1ab),'children':'💡'}),_0x2153fc(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1b7),'children':[_0x52b4f6(_0x19ecb7(0x135),{'className':_0x19ecb7(0x1dd),'children':_0x19ecb7(0x114)}),_0x2153fc('div',{'children':['•',_0x243587['t']('mcpConfig.note1')]}),_0x2153fc(_0x19ecb7(0x135),{'children':['•',_0x243587['t'](_0x19ecb7(0x1bf))]})]})]})})]})})]});}const y=_0xecf128(0x239),ie={'showDeveloperTools':!0x1,'showStatus':!0x0};var rn=Object[_0xecf128(0x104)],tn=(_0x39f571,_0x1d5aa1,_0x5b5bd5,_0x1a8e34)=>{const _0xb143bc=_0xecf128;for(var _0x69cc3a=_0x1a8e34>0x1?void 0x0:_0x1a8e34?rn(_0x1d5aa1,_0x5b5bd5):_0x1d5aa1,_0x7ee1d9=_0x39f571[_0xb143bc(0x214)]-0x1,_0x58acef;_0x7ee1d9>=0x0;_0x7ee1d9--)(_0x58acef=_0x39f571[_0x7ee1d9])&&(_0x69cc3a=_0x58acef(_0x69cc3a)||_0x69cc3a);return _0x69cc3a;},d=(_0x439d69,_0x1ca3f9)=>(_0x4296a0,_0x5355bd)=>_0x1ca3f9(_0x4296a0,_0x5355bd,_0x439d69);const U=_0xecf128(0x145),L='mcp-config-dialog';let I=class extends _0x25fd42{constructor(_0x1b4aff,_0x2cc6d4,_0xee3781,_0x2576ef,_0x30afc7,_0xf2cb84,_0x222493,_0x4a69c1,_0x54be44,_0x49ece0){const _0x1356ac=_0xecf128;super(),x(this,'_loading$',new _0x4e6612(!0x1)),x(this,_0x1356ac(0x1d9),new _0x4e6612({})),x(this,'_config$',new _0x4e6612({})),x(this,_0x1356ac(0x1de),new _0x4e6612('')),x(this,_0x1356ac(0x130),async _0x223e1d=>{const _0x18d5a5=_0x1356ac;var _0x37221d,_0x34a4f1;this['_loading$'][_0x18d5a5(0x21d)](!0x0);try{const _0x2aa74c=await this[_0x18d5a5(0xfd)](_0x223e1d);if(!_0x2aa74c[_0x18d5a5(0x169)]){this['_messageService']['show']({'type':_0xf05071[_0x18d5a5(0x101)],'content':_0x2aa74c[_0x18d5a5(0x1a0)]||this[_0x18d5a5(0x17c)]['t'](_0x18d5a5(0x1f6))});return;}_0x223e1d[_0x18d5a5(0x1cb)]?await this[_0x18d5a5(0x10c)][_0x18d5a5(0x17f)](U,_0x223e1d['apiKey'][_0x18d5a5(0x10b)]()):await this[_0x18d5a5(0x10c)][_0x18d5a5(0x1a9)](U),this['_apiKey$'][_0x18d5a5(0x21d)](((_0x37221d=_0x223e1d[_0x18d5a5(0x1cb)])==null?void 0x0:_0x37221d[_0x18d5a5(0x10b)]())||''),this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x18d5a5(0xfb)+((_0x34a4f1=_0x223e1d[_0x18d5a5(0x1cb)])==null?void 0x0:_0x34a4f1[_0x18d5a5(0x10b)]())}),this[_0x18d5a5(0x1f7)][_0x18d5a5(0x1e7)]({'type':_0xf05071[_0x18d5a5(0x187)],'content':this[_0x18d5a5(0x17c)]['t'](_0x18d5a5(0x141))}),setTimeout(()=>{const _0x45ecb9=_0x18d5a5;this[_0x45ecb9(0x11e)][_0x45ecb9(0x1bc)](L);},0x320);}catch(_0x16f29c){this[_0x18d5a5(0x1df)][_0x18d5a5(0x1aa)](_0x18d5a5(0xfc),_0x16f29c),this[_0x18d5a5(0x1f7)][_0x18d5a5(0x1e7)]({'type':_0xf05071[_0x18d5a5(0x101)],'content':this[_0x18d5a5(0x17c)]['t'](_0x18d5a5(0x153))});}finally{this[_0x18d5a5(0x21a)]['next'](!0x1);}}),(this[_0x1356ac(0x1c3)]=_0x1b4aff,this[_0x1356ac(0x13d)]=_0x2cc6d4,this['_configService']=_0xee3781,this[_0x1356ac(0x10c)]=_0x2576ef,this[_0x1356ac(0x11e)]=_0x30afc7,this['_messageService']=_0xf2cb84,this[_0x1356ac(0x234)]=_0x222493,this[_0x1356ac(0x17c)]=_0x4a69c1,this[_0x1356ac(0x1df)]=_0x54be44,this[_0x1356ac(0x16c)]=_0x49ece0,this['_initConfigSync'](),this[_0x1356ac(0x1d4)](),this[_0x1356ac(0x22e)]());}[_0xecf128(0x1e8)](){const _0x3fd8c2=_0xecf128,_0x4db7b0=this[_0x3fd8c2(0x1db)]['getConfig'](y);_0x4db7b0!=null&&_0x4db7b0[_0x3fd8c2(0x18c)]&&this[_0x3fd8c2(0x11e)][_0x3fd8c2(0x1e3)]({'id':L,'title':{'title':this[_0x3fd8c2(0x17c)]['t'](_0x3fd8c2(0x17a))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x23f893=_0x3fd8c2;this[_0x23f893(0x11e)][_0x23f893(0x1bc)](L);}});}[_0xecf128(0x201)](){const _0x29151a=_0xecf128;return this[_0x29151a(0x1d9)][_0x29151a(0x14d)];}[_0xecf128(0x22e)](){const _0xbeb940=_0xecf128;this['disposeWithMe'](this['_componentManager'][_0xbeb940(0x188)]('MCPConfigPanel',this[_0xbeb940(0x176)]()));}[_0xecf128(0x176)](){const _0x16bf7f=_0xecf128;return _0x15a61e(()=>{const _0x4a9130=_0x1f2d;var _0x5c6b0f,_0xe9f31b,_0x733958;return _0x52b4f6(nn,{'config':this[_0x4a9130(0x230)][_0x4a9130(0x14d)],'mcpCoreConfig':this[_0x4a9130(0x1d9)][_0x4a9130(0x14d)],'currentApiKey$':this[_0x4a9130(0x1de)],'onSave':this[_0x4a9130(0x130)],'loading':this['_loading$'][_0x4a9130(0x14d)],'connectionStatus$':(_0x5c6b0f=this[_0x4a9130(0x16c)])==null?void 0x0:_0x5c6b0f[_0x4a9130(0x192)],'connectionError$':(_0xe9f31b=this['_mcpConnectionController'])==null?void 0x0:_0xe9f31b[_0x4a9130(0x1a3)],'currentSessionId$':(_0x733958=this[_0x4a9130(0x16c)])==null?void 0x0:_0x733958['sessionId$']});},this[_0x16bf7f(0x1c3)]);}[_0xecf128(0x212)](){const _0x3b5c92=_0xecf128;this[_0x3b5c92(0x113)](this[_0x3b5c92(0x1db)][_0x3b5c92(0x1f1)](_0x28ace7)['subscribe'](_0x148dc4=>{const _0x377adb=_0x3b5c92;this[_0x377adb(0x1d9)]['next'](_0x148dc4||{});}));const _0x41c1ba=this[_0x3b5c92(0x1db)][_0x3b5c92(0x224)](_0x28ace7);this[_0x3b5c92(0x1d9)][_0x3b5c92(0x21d)](_0x41c1ba||{}),this['disposeWithMe'](this[_0x3b5c92(0x1db)]['subscribeConfigValue$'](y)[_0x3b5c92(0x197)](_0x52fc2d=>{const _0x4d0408=_0x3b5c92;this['_config$'][_0x4d0408(0x21d)](_0x52fc2d||{});}));const _0x1af57e=this[_0x3b5c92(0x1db)]['getConfig'](y);this[_0x3b5c92(0x230)][_0x3b5c92(0x21d)](_0x1af57e||{});}async[_0xecf128(0x1d4)](){const _0xd7d40f=_0xecf128,_0x6b8256=this[_0xd7d40f(0x1db)][_0xd7d40f(0x224)](y);if(!(_0x6b8256!=null&&_0x6b8256[_0xd7d40f(0x18c)]))return;const _0x4dd666=await this[_0xd7d40f(0x10c)][_0xd7d40f(0x1f4)](U);_0x4dd666&&(this[_0xd7d40f(0x16c)][_0xd7d40f(0x1d5)]({'Authorization':_0xd7d40f(0xfb)+_0x4dd666}),this[_0xd7d40f(0x1de)][_0xd7d40f(0x21d)](_0x4dd666));}async[_0xecf128(0xfd)](_0x5b9f84){const _0x3d6dd3=_0xecf128;if(!_0x5b9f84[_0x3d6dd3(0x1cb)]||_0x5b9f84[_0x3d6dd3(0x1cb)][_0x3d6dd3(0x10b)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x3d6dd3(0x17c)]['t'](_0x3d6dd3(0x117))};if(_0x5b9f84[_0x3d6dd3(0x1cb)][_0x3d6dd3(0x10b)]()[_0x3d6dd3(0x214)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3d6dd3(0x17c)]['t'](_0x3d6dd3(0x1cf))};try{const _0x4fecef=await this[_0x3d6dd3(0x1c3)][_0x3d6dd3(0x19a)](_0x1875ea)[_0x3d6dd3(0x24a)](_0x5b9f84[_0x3d6dd3(0x1cb)][_0x3d6dd3(0x10b)]());return _0x4fecef[_0x3d6dd3(0x169)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x4fecef[_0x3d6dd3(0x1aa)]||this[_0x3d6dd3(0x17c)]['t'](_0x3d6dd3(0x149))};}catch(_0x50fd3a){return console[_0x3d6dd3(0x17b)](_0x3d6dd3(0x170),_0x50fd3a),{'isValid':!0x0};}}};I=tn([d(0x0,_0x1b6077(_0x1e44a4)),d(0x1,_0xddd35c),d(0x2,_0x339b51),d(0x3,_0x5a357f),d(0x4,_0x135906),d(0x5,_0x3ce74e),d(0x6,_0x1b6077(_0x475bc9)),d(0x7,_0x1b6077(_0x4e572e)),d(0x8,_0x3d89df),d(0x9,_0x1b6077(_0x1875ea))],I);const V={'id':'mcp-ui.command.openConfigPanel','type':_0x25ab63[_0xecf128(0x105)],'handler':async(_0x128376,_0x4edf31)=>(_0x128376['get'](I)['showConfigPanel'](),!0x0)};function pe(_0x198036,_0x3523ad){const _0x1b32d5=_0xecf128;switch(_0x198036){case _0x3ed4bf[_0x1b32d5(0x232)]:return _0x1b32d5(0x1dc);case _0x3ed4bf[_0x1b32d5(0x205)]:return _0x1b32d5(0x208);case _0x3ed4bf[_0x1b32d5(0x219)]:return _0x1b32d5(0x19e);case _0x3ed4bf[_0x1b32d5(0x124)]:switch(_0x3523ad){case _0x1b13d8['UNAUTHORIZED']:return _0x1b32d5(0x246);case _0x1b13d8[_0x1b32d5(0xfa)]:return _0x1b32d5(0x22f);case _0x1b13d8[_0x1b32d5(0x160)]:return'mcpStatus.networkError';case _0x1b13d8[_0x1b32d5(0x175)]:return _0x1b32d5(0x1b0);default:return _0x1b32d5(0x20d);}case _0x3ed4bf[_0x1b32d5(0x1d1)]:return _0x1b32d5(0x1da);default:return _0x1b32d5(0xf7);}}function _0x2bbb(){const _0x3e19a8=['univer-space-y-5','2hqXHBq','M0\x200H16V16H0z','univer-text-blue-600','evenodd','Max\x20Retries','random','span','_config','univer-flex\x20univer-items-center','_menuManagerService','NETWORK_ERROR','showStatus','会话\x20ID\x20已被占用,请稍后再试','1463742STFHen','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','mcpConfig.apiApplyInfo.getStarted','<SESSION_ID>','text','on-line-icon_clip0_910_349','isValid','forEach','univer.plus','_mcpConnectionController','toString','Copy\x20the\x20JSON\x20configuration\x20below','UNAUTHORIZED','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','check-mark-icon','连接失败','_commandService','MAX_RETRIES_EXCEEDED','_createConfigPanelComponent','use','点击连接\x20MCP','几秒钟内获取您的\x20API\x20密钥','mcpConfig.title','warn','_localeService','univer-text-gray-500','mcpConfig.connectionStatus.disconnected','setItem','0\x200\x2016\x2016','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcpConfig.description','配置更改将立即生效','455688Jxjtlq','NONE','children','Success','register','OffLineIcon','registerComponent','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','showDeveloperTools','univer-shrink-0\x20univer-text-red-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','API\x20key\x20is\x20required','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','connectionStatus$','MCP\x20Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','tag','univer-bg-red-500','subscribe','clipPath','defs','get','mcpConfig.connectionStatus.failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','enableAutoConnect','mcpStatus.connected','276623FvPWdm','errorMessage','univer-space-y-2','CheckMarkIcon','connectionError$','MCP\x20Retrying...','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-min-w-0\x20univer-flex-1','MCP\x20Unknown\x20Status','univer-text-red-500','removeItem','error','univer-shrink-0\x20univer-text-blue-500','连接中...','bottom','配置参数:','mcpConfig.apiApplyInfo.univerAiLabel','mcpStatus.maxRetriesExceeded','mcpConfig.sessionIdDescription','10753260qEGFXT','Click\x20to\x20configure\x20MCP','mcpConfig.configStep2','API\x20密钥无效,请检查密钥是否正确','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','defIds','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','url(#off-line-icon_clip0_910_343)','MCP\x20客户端配置','close','点击配置\x20MCP','none','mcpConfig.note2','OnLineIcon','https://console.univer.ai','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_injector','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','Connection\x20Failed','currentColor','mcpConfig.authorizationDescription','has','最大重试次数','url(#$1','apiKey','162048wowILR','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpConfig.validation.apiKeyTooShort','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','RETRYING','univer-flex\x20univer-gap-3','univer-bg-blue-500','_loadStoredApiKey','__setCustomHeaders','xlink:href','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','您的\x20API\x20密钥将在此浏览器中本地存储','_mcpCoreConfig$','mcpStatus.retrying','_configService','mcpStatus.disconnected','univer-font-medium','_apiKey$','_logService','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP:\x20Session\x20ID\x20Occupied','univer-text-xs\x20univer-text-gray-500','open','12vXSahQ','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mask','show','showConfigPanel','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','path','权限验证失败,请检查您的\x20API\x20密钥','mcpServerUrl','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Configuration\x20Parameters:','Failed\x20to\x20save\x20configuration','subscribeConfigValue$','univer-size-2\x20univer-rounded-full','Invalid\x20configuration','getItem','univer.ai','mcpConfig.validation.invalidConfig','_messageService','MCP\x20已断开','_initializeCommands','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Configuration','univer-text-xs\x20univer-text-gray-600','配置保存失败','Retrying...','27pirFWO','mcpConfig.apiApplyInfo.title','getCurrentConfig','Enable\x20Authentication','1em','mcpConfig.connectionStatus.connected','CONNECTING','_connectionController','启用身份验证','mcpStatus.connecting','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','fill','push','univer-space-y-3','mcpStatus.failed','MCP\x20Connected','Univer\x20AI\x20Console','button','current','_initConfigSync','保存配置','length','OTHERS','univer-flex\x20univer-items-start\x20univer-gap-3','853764jXphAb','mcpConfig.connectionInfo','CONNECTED','_loading$','idSuffix','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','next','MCP\x20连接中...','将配置添加到您的\x20MCP\x20客户端设置文件中','MenuIcon','assign','add','string','getConfig','mcpStatus.clickToConfigure','displayName','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_initializeMenus','map','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP\x20连接失败','HEADER_MENU','_registerComponent','mcpStatus.sessionOccupied','_config$','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','DISCONNECTED','translate(.97)','_componentManager','配置无效','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mergeMenu','attrs','mcp-ui.config','round','mcpConfig.apiApplyInfo.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.','http://www.w3.org/2000/svg','svg','BUTTON','配置步骤:','mcpConfig.connectionError.unauthorized','entries','univer-text-sm\x20univer-font-medium','MCP:\x20Unauthorized','API\x20密钥','mcpStatus.unauthorized','MCP:\x20超出最大重试次数','_blank','mcpConfig.configInstructions','validateApiKey','_initAutoConnect','univer-flex\x20univer-items-center\x20univer-gap-3','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpStatus.unknown','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','SESSION_ID_OCCUPIED','Bearer\x20','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_validateConfig','http','mcpStatus.clickToConnect','什么是\x20API\x20密钥?','Error','mcpConfig.apiKeyPlaceholder','white','getOwnPropertyDescriptor','COMMAND','超出最大重试次数,请稍后再试','includes','Connected','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','trim','_localStorageService','univer-bg-gray-500','复制以下\x20JSON\x20配置','将以下配置添加到您的\x20MCP\x20客户端设置中:','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','stringify','mcpConfig.connectionStatus.retrying','disposeWithMe','Configuration\x20Notes:','off-line-icon_clip0_910_343','已连接','mcpConfig.validation.apiKeyRequired','Click\x20to\x20connect\x20MCP','Session\x20ID','pluginName','HelpIcon','replace','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','_dialogService','您的\x20API\x20密钥安全存储在本地存储中','133885YZQFOz','noopener\x20noreferrer','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-text-white','FAILED','Saving...','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.saving','MCP\x20Connecting...','close-icon','mcpConfig.connectionError.sessionOccupied','mcpConfig.configStep1','univer-flex\x20univer-items-center\x20univer-gap-2','Enter\x20your\x20API\x20key','Disconnected','Save\x20Configuration','_handleConfigSave','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','\x20-\x20','MCP_UI_PLUGIN','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','div','mcpConfig.save','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Max\x20Retries\x20Exceeded','配置保存成功','Configuration\x20Steps:','colorChannel1','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_uiPartsService','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-flex\x20univer-items-start\x20univer-gap-2','off-line-icon','mcpConfig.configSaved','mcpConfig.connectionError.networkError','重连中...','MCP\x20状态未知','mcp.apiKey','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','symbol','\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','mcpConfig.validation.invalidApiKey','url(#on-line-icon_clip0_910_349)','MCP:\x20Network\x20Error','重启您的\x20MCP\x20客户端以使配置生效','value','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','https://mcp.univer.ai/mcp/?univer_session_id=','MCP:\x20网络错误','MCP\x20Client\x20Configuration','mcpConfig.configError','substring'];_0x2bbb=function(){return _0x3e19a8;};return _0x2bbb();}function on(_0x585fbc,_0x1543ea,_0x2f6b4c,_0x1993ee=!0x0){const _0x5d9ab0=_0xecf128,_0xdf96eb=pe(_0x585fbc,_0x1543ea),_0x526d1e=_0x2f6b4c['t'](_0xdf96eb);return _0x1993ee?_0x585fbc===_0x3ed4bf[_0x5d9ab0(0x232)]&&_0x1543ea===_0x1b13d8[_0x5d9ab0(0x16f)]?_0x526d1e+_0x5d9ab0(0x132)+_0x2f6b4c['t'](_0x5d9ab0(0x225)):_0x585fbc===_0x3ed4bf[_0x5d9ab0(0x219)]?''+_0x526d1e:_0x585fbc===_0x3ed4bf['DISCONNECTED']||_0x585fbc===_0x3ed4bf[_0x5d9ab0(0x124)]?_0x526d1e+'\x20-\x20'+_0x2f6b4c['t'](_0x5d9ab0(0xff)):_0x526d1e:_0x526d1e;}function _0x1f2d(_0xae5b37,_0x3c4d12){_0xae5b37=_0xae5b37-0xf5;const _0x2bbb05=_0x2bbb();let _0x1f2d82=_0x2bbb05[_0xae5b37];return _0x1f2d82;}function sn(_0x71e1a1){const _0x3e547b=_0xecf128;switch(_0x71e1a1){case _0x3ed4bf[_0x3e547b(0x219)]:return'univer-text-green-500';case _0x3ed4bf[_0x3e547b(0x205)]:case _0x3ed4bf[_0x3e547b(0x1d1)]:return'univer-text-yellow-500';case _0x3ed4bf[_0x3e547b(0x124)]:case _0x3ed4bf['DISCONNECTED']:return _0x3e547b(0x1a8);default:return _0x3e547b(0x17d);}}function cn(_0x225498){const _0xa15853=_0xecf128,{status$:_0x54684b,error$:_0x715820,onConfigure:_0x44007f,showClickable:_0x14e1e0=!0x0}=_0x225498,_0x262852=_0x17134b(_0x54684b,_0x3ed4bf['DISCONNECTED']),_0x58ee57=_0x17134b(_0x715820,_0x1b13d8[_0xa15853(0x185)]),_0x262b42=_0xd1ed86(_0x4e572e),_0x598e73=_0x262852===_0x3ed4bf[_0xa15853(0x219)];_0x262852===_0x3ed4bf[_0xa15853(0x205)]||_0x3ed4bf[_0xa15853(0x1d1)];const _0x3d7c6b=_0x262b42['t'](pe(_0x262852,_0x58ee57)),_0x92d8d4=on(_0x262852,_0x58ee57,_0x262b42,_0x14e1e0),_0x160053=sn(_0x262852),_0x43e860=_0x598e73?_0x52b4f6(ge,{}):_0x52b4f6(de,{}),_0x23eb49=_0x1b51ec(()=>{_0x14e1e0&&_0x44007f&&_0x44007f();},[_0x14e1e0,_0x44007f]);function _0x478466(){const _0x591b35=_0xa15853;return _0x2153fc(_0x591b35(0x135),{'className':_0x396899(_0x591b35(0x15e),_0x14e1e0&&_0x44007f&&_0x591b35(0x148)),'role':_0x591b35(0x210),'onClick':_0x14e1e0&&_0x44007f?_0x23eb49:void 0x0,'children':[_0x52b4f6(_0x591b35(0x135),{'className':_0x396899('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x160053),'children':_0x43e860}),_0x52b4f6('div',{'className':_0x591b35(0xf6),'children':_0x3d7c6b})]});}return _0x52b4f6(_0x46f327,{'title':_0x92d8d4,'placement':_0xa15853(0x1ad),'children':_0x478466()});}var an=Object[_0xecf128(0x104)],ln=(_0x38bc36,_0xa1c7c2,_0x318650,_0x499f86)=>{const _0x426829=_0xecf128;for(var _0x38f0b4=_0x499f86>0x1?void 0x0:_0x499f86?an(_0xa1c7c2,_0x318650):_0xa1c7c2,_0x506c8b=_0x38bc36[_0x426829(0x214)]-0x1,_0x3bd477;_0x506c8b>=0x0;_0x506c8b--)(_0x3bd477=_0x38bc36[_0x506c8b])&&(_0x38f0b4=_0x3bd477(_0x38f0b4)||_0x38f0b4);return _0x38f0b4;},M=(_0x22bca3,_0x568bf5)=>(_0x9ed6d0,_0x3dc0ef)=>_0x568bf5(_0x9ed6d0,_0x3dc0ef,_0x22bca3);let O=class extends _0x25fd42{constructor(_0x1bea88,_0x1115cd,_0xc0eb60,_0x26a248){const _0x29b22c=_0xecf128;super(),this[_0x29b22c(0x1c3)]=_0x1bea88,this[_0x29b22c(0x206)]=_0x1115cd,this[_0x29b22c(0x13d)]=_0xc0eb60,this[_0x29b22c(0x1db)]=_0x26a248,this[_0x29b22c(0x24b)](),this['_initStatusComponent']();}[_0xecf128(0x24b)](){const _0xa3876c=_0xecf128,_0x431b3b=this[_0xa3876c(0x1db)]['getConfig'](y);_0x431b3b!=null&&_0x431b3b[_0xa3876c(0x18c)]&&(this[_0xa3876c(0x206)][_0xa3876c(0x19d)]=!0x1);}['_initStatusComponent'](){const _0x36f7ab=_0xecf128,_0x5da75a=this[_0x36f7ab(0x1db)]['getConfig'](y);(_0x5da75a==null?void 0x0:_0x5da75a[_0x36f7ab(0x161)])!==!0x1&&this[_0x36f7ab(0x113)](this[_0x36f7ab(0x13d)][_0x36f7ab(0x18a)](_0x51daf9[_0x36f7ab(0x22d)],()=>{const _0x31571b=_0x36f7ab;var _0x26b19a;return _0x15a61e(un({'status$':this[_0x31571b(0x206)]['connectionStatus$'],'error$':this[_0x31571b(0x206)][_0x31571b(0x1a3)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x26b19a=_0x5da75a==null?void 0x0:_0x5da75a['showDeveloperTools'])!=null?_0x26b19a:!0x1}),this['_injector']);}));}['_handleConfigure'](){const _0x3929b2=_0xecf128;this[_0x3929b2(0x1c3)][_0x3929b2(0x19a)](I)[_0x3929b2(0x1e8)]();}};O=ln([M(0x0,_0x1b6077(_0x1e44a4)),M(0x1,_0x1b6077(_0x1875ea)),M(0x2,_0xddd35c),M(0x3,_0x339b51)],O);function un(_0x5b758f){const {status$:_0x413086,error$:_0x78cdcb,onConfigure:_0x10dcce,showClickable:_0x2fd09b}=_0x5b758f;return function(){return _0x52b4f6(cn,{'status$':_0x413086,'error$':_0x78cdcb,'onConfigure':_0x10dcce,'showClickable':_0x2fd09b});};}function vn(_0x1d6d77){const _0x367b57=_0xecf128;return{'id':V['id'],'type':_0x348baf[_0x367b57(0x23f)],'icon':_0x367b57(0x220),'title':_0x367b57(0x17a),'tooltip':_0x367b57(0x17a)};}const dn={[_0x4481b1[_0xecf128(0x215)]]:{[V['id']]:{'order':0xa,'menuItemFactory':vn}}};var gn=Object[_0xecf128(0x104)],pn=(_0x444468,_0xb6705,_0x1b7c7b,_0x3a4c20)=>{const _0x5da885=_0xecf128;for(var _0x250c0f=_0x3a4c20>0x1?void 0x0:_0x3a4c20?gn(_0xb6705,_0x1b7c7b):_0xb6705,_0x264b82=_0x444468[_0x5da885(0x214)]-0x1,_0x1f306f;_0x264b82>=0x0;_0x264b82--)(_0x1f306f=_0x444468[_0x264b82])&&(_0x250c0f=_0x1f306f(_0x250c0f)||_0x250c0f);return _0x250c0f;},re=(_0x12df06,_0x5d28f5)=>(_0x928b7f,_0xade3b4)=>_0x5d28f5(_0x928b7f,_0xade3b4,_0x12df06);let D=class extends _0x25fd42{constructor(_0x587d2f,_0x4dcb17){const _0x3e0292=_0xecf128;super(),this[_0x3e0292(0x174)]=_0x587d2f,this[_0x3e0292(0x15f)]=_0x4dcb17,this[_0x3e0292(0x1f9)](),this['_initializeMenus']();}['_initializeCommands'](){const _0x31492f=_0xecf128;[V][_0x31492f(0x16a)](_0x243fe6=>{const _0x5c2c83=_0x31492f;this[_0x5c2c83(0x113)](this[_0x5c2c83(0x174)]['registerCommand'](_0x243fe6));});}[_0xecf128(0x229)](){const _0x11f228=_0xecf128;this[_0x11f228(0x15f)][_0x11f228(0x237)](dn);}};D=pn([re(0x0,_0x35f7cb),re(0x1,_0x1a9f01)],D);const Mn={'mcpStatus':{'disconnected':_0xecf128(0x193),'connecting':_0xecf128(0x128),'connected':_0xecf128(0x20e),'failed':'MCP\x20Connection\x20Failed','retrying':_0xecf128(0x1a4),'unknown':_0xecf128(0x1a7),'unauthorized':_0xecf128(0x244),'sessionOccupied':_0xecf128(0x1e1),'networkError':_0xecf128(0x14b),'maxRetriesExceeded':_0xecf128(0x138),'clickToConnect':_0xecf128(0x118),'clickToConfigure':_0xecf128(0x1b3)},'mcpConfig':{'title':_0xecf128(0x1fb),'description':_0xecf128(0x1fa),'apiKey':'API\x20Key','apiKeyPlaceholder':_0xecf128(0x12d),'apiKeyHint':_0xecf128(0x236),'enableAuth':_0xecf128(0x202),'enableAuthHint':_0xecf128(0x126),'connectionInfo':_0xecf128(0x152),'mcpClientConfig':_0xecf128(0x152),'configInstructions':_0xecf128(0xf8),'configStepTitle':_0xecf128(0x13a),'configStep1':_0xecf128(0x16e),'configStep2':_0xecf128(0x13e),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xecf128(0x119),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xecf128(0x1ef),'maxRetries':_0xecf128(0x15a),'save':_0xecf128(0x12f),'saving':_0xecf128(0x125),'note1':_0xecf128(0x137),'note2':_0xecf128(0x11d),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xecf128(0x1f0),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xecf128(0x23c),'univerAiLabel':_0xecf128(0x20f),'getStarted':_0xecf128(0x194)},'validation':{'apiKeyRequired':_0xecf128(0x18f),'apiKeyTooShort':_0xecf128(0x122),'invalidConfig':_0xecf128(0x1f3),'invalidApiKey':_0xecf128(0x19c)},'connectionStatus':{'disconnected':_0xecf128(0x12e),'connecting':'Connecting...','connected':_0xecf128(0x108),'failed':_0xecf128(0x1c5),'retrying':_0xecf128(0x1fe)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0xecf128(0x1ea),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xecf128(0x1c2)}}},An={'mcpStatus':{'disconnected':_0xecf128(0x1f8),'connecting':_0xecf128(0x21e),'connected':'MCP\x20已连接','failed':_0xecf128(0x22c),'retrying':'MCP\x20重连中...','unknown':_0xecf128(0x144),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0xecf128(0x151),'maxRetriesExceeded':_0xecf128(0x247),'clickToConnect':_0xecf128(0x178),'clickToConfigure':_0xecf128(0x1bd)},'mcpConfig':{'title':'MCP\x20配置','description':_0xecf128(0x1a5),'apiKey':_0xecf128(0x245),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0xecf128(0x1d8),'enableAuth':_0xecf128(0x207),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0xecf128(0x1bb),'mcpClientConfig':_0xecf128(0x1bb),'configInstructions':_0xecf128(0x10f),'configStepTitle':_0xecf128(0x240),'configStep1':_0xecf128(0x10e),'configStep2':_0xecf128(0x21f),'configStep3':_0xecf128(0x14c),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0xecf128(0x1b6),'configParameters':_0xecf128(0x1ae),'maxRetries':_0xecf128(0x1c9),'save':_0xecf128(0x213),'saving':'保存中...','note1':_0xecf128(0x183),'note2':_0xecf128(0x11f),'configSaved':_0xecf128(0x139),'configError':_0xecf128(0x1fd),'apiApplyInfo':{'title':_0xecf128(0x100),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0xecf128(0x179)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0xecf128(0x235),'invalidApiKey':_0xecf128(0x1b5)},'connectionStatus':{'disconnected':'未连接','connecting':_0xecf128(0x1ac),'connected':_0xecf128(0x116),'failed':_0xecf128(0x173),'retrying':_0xecf128(0x143)},'connectionError':{'unauthorized':_0xecf128(0x1ec),'sessionOccupied':_0xecf128(0x162),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0xecf128(0x106)}}};var fn=Object['defineProperty'],hn=Object[_0xecf128(0x104)],Cn=(_0x3f2fe5,_0x5efade,_0x2a69ef)=>_0x5efade in _0x3f2fe5?fn(_0x3f2fe5,_0x5efade,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a69ef}):_0x3f2fe5[_0x5efade]=_0x2a69ef,mn=(_0x447448,_0x37e0ba,_0x1afc68,_0xc4aa6f)=>{const _0x4f2044=_0xecf128;for(var _0x8c2df2=_0xc4aa6f>0x1?void 0x0:_0xc4aa6f?hn(_0x37e0ba,_0x1afc68):_0x37e0ba,_0xba5d8b=_0x447448[_0x4f2044(0x214)]-0x1,_0x1a0e86;_0xba5d8b>=0x0;_0xba5d8b--)(_0x1a0e86=_0x447448[_0xba5d8b])&&(_0x8c2df2=_0x1a0e86(_0x8c2df2)||_0x8c2df2);return _0x8c2df2;},P=(_0x502b7a,_0x5336ad)=>(_0xa8284c,_0x1ba2bc)=>_0x5336ad(_0xa8284c,_0x1ba2bc,_0x502b7a),_n=(_0x3ea7dd,_0x362137,_0x1ecf44)=>Cn(_0x3ea7dd,_0x362137+'',_0x1ecf44);let j=class extends _0x9d7294{constructor(_0x40c3ef=ie,_0x492adf,_0x5ecc38,_0x30e788,_0x2aa060,_0xd2009b){const _0x5b1e5a=_0xecf128;super(),this[_0x5b1e5a(0x15d)]=_0x40c3ef,this['_injector']=_0x492adf,this[_0x5b1e5a(0x1db)]=_0x5ecc38,this[_0x5b1e5a(0x13d)]=_0x30e788,this['_localStorageService']=_0x2aa060,this[_0x5b1e5a(0x17c)]=_0xd2009b;const {..._0x1f3be4}=_0xf36a6c({},ie,this['_config']);this[_0x5b1e5a(0x1db)]['setConfig'](y,_0x1f3be4);}async['onStarting'](){const _0x27ecec=_0xecf128,_0x5563c6=[[O],[I],[D]];this['_injector'][_0x27ecec(0x1c8)](_0x1ce209)||_0x5563c6[_0x27ecec(0x20b)]([_0x1ce209,{'useClass':_0x506559}]),_0x5563c6[_0x27ecec(0x16a)](_0x587bb2=>this[_0x27ecec(0x1c3)][_0x27ecec(0x222)](_0x587bb2)),this[_0x27ecec(0x1c3)][_0x27ecec(0x19a)](O),this[_0x27ecec(0x1c3)][_0x27ecec(0x19a)](I),this[_0x27ecec(0x1c3)][_0x27ecec(0x19a)](D);}};_n(j,_0xecf128(0x11a),_0xecf128(0x133)),j=mn([_0x7385ac(_0xf61bd8),P(0x1,_0x1b6077(_0x1e44a4)),P(0x2,_0x339b51),P(0x3,_0xddd35c),P(0x4,_0x5a357f),P(0x5,_0x1b6077(_0x4e572e))],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};