@univerjs-pro/mcp-ui 0.15.0-insiders.20260108-7b9120d → 0.15.0-insiders.20260110-48b77c8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x4cde24=_0x189c;function _0x5f0c(){const _0x42128c=['7ULAxYy','3474477akfIMf','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','연결됨','40tfanFN','MCP\x20재시도\x20중...','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','몇\x20초\x20만에\x20API\x20키\x20발급받기','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','아래\x20JSON\x20설정\x20복사','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP:\x20최대\x20재시도\x20횟수\x20초과','MCP\x20연결됨','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','Bearer\x20접두사가\x20있는\x20API\x20키.','연결\x20끊김','보안\x20연결을\x20위해\x20인증\x20활성화','2110TzwcNM','1815416SoUiAh','재시도\x20중...','MCP:\x20인증되지\x20않음','681ybSphG','API\x20키','설정\x20매개변수:','API\x20키를\x20입력하세요','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','설정\x20단계:','API\x20키는\x2010자\x20이상이어야\x20합니다','MCP\x20알\x20수\x20없는\x20상태','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','유효하지\x20않은\x20설정','API\x20키는\x20필수입니다','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','MCP\x20설정','설정이\x20성공적으로\x20저장되었습니다','세션\x20ID','4616200OKaOEi','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','설정\x20저장\x20실패','MCP\x20클라이언트\x20설정','2904NjpTWa','3090834plInor','Univer\x20AI\x20콘솔','MCP\x20연결\x20중...','인증\x20활성화','63844ucLFvZ','MCP:\x20네트워크\x20오류','44866szJhSh'];_0x5f0c=function(){return _0x42128c;};return _0x5f0c();}function _0x189c(_0x4d301d,_0x216ab3){_0x4d301d=_0x4d301d-0xae;const _0x5f0cd5=_0x5f0c();let _0x189c0b=_0x5f0cd5[_0x4d301d];return _0x189c0b;}(function(_0x9dd120,_0x13feec){const _0x32ac34=_0x189c,_0x29826c=_0x9dd120();while(!![]){try{const _0x48b0d7=parseInt(_0x32ac34(0xd5))/0x1*(parseInt(_0x32ac34(0xda))/0x2)+parseInt(_0x32ac34(0xba))/0x3*(-parseInt(_0x32ac34(0xce))/0x4)+-parseInt(_0x32ac34(0xca))/0x5+parseInt(_0x32ac34(0xcf))/0x6*(-parseInt(_0x32ac34(0xd6))/0x7)+-parseInt(_0x32ac34(0xb7))/0x8+parseInt(_0x32ac34(0xd7))/0x9+-parseInt(_0x32ac34(0xb6))/0xa*(-parseInt(_0x32ac34(0xd3))/0xb);if(_0x48b0d7===_0x13feec)break;else _0x29826c['push'](_0x29826c['shift']());}catch(_0x3e0327){_0x29826c['push'](_0x29826c['shift']());}}}(_0x5f0c,0xa5815));const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x4cde24(0xd1),'connected':_0x4cde24(0xb1),'failed':'MCP\x20연결\x20실패','retrying':_0x4cde24(0xdb),'unknown':_0x4cde24(0xc1),'unauthorized':_0x4cde24(0xb9),'sessionOccupied':'MCP:\x20세션\x20ID\x20사용\x20중','networkError':_0x4cde24(0xd4),'maxRetriesExceeded':_0x4cde24(0xb0),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0x4cde24(0xc7),'description':_0x4cde24(0xb2),'apiKey':_0x4cde24(0xbb),'apiKeyPlaceholder':_0x4cde24(0xbd),'apiKeyHint':_0x4cde24(0xdc),'enableAuth':_0x4cde24(0xd2),'enableAuthHint':_0x4cde24(0xb5),'connectionInfo':_0x4cde24(0xcd),'mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':_0x4cde24(0xbf),'configStep1':_0x4cde24(0xae),'configStep2':_0x4cde24(0xbe),'configStep3':'MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','sessionId':_0x4cde24(0xc9),'sessionIdDescription':_0x4cde24(0xc6),'authorizationDescription':_0x4cde24(0xb3),'configParameters':_0x4cde24(0xbc),'maxRetries':'최대\x20재시도\x20횟수','save':'설정\x20저장','saving':'저장\x20중...','note1':'설정\x20변경\x20사항은\x20즉시\x20적용됩니다','note2':_0x4cde24(0xc2),'configSaved':_0x4cde24(0xc8),'configError':_0x4cde24(0xcc),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':_0x4cde24(0xcb),'univerAiLabel':_0x4cde24(0xd0),'getStarted':_0x4cde24(0xdd)},'validation':{'apiKeyRequired':_0x4cde24(0xc4),'apiKeyTooShort':_0x4cde24(0xc0),'invalidConfig':_0x4cde24(0xc3),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0x4cde24(0xb4),'connecting':'연결\x20중...','connected':_0x4cde24(0xd9),'failed':'연결\x20실패','retrying':_0x4cde24(0xb8)},'connectionError':{'unauthorized':_0x4cde24(0xaf),'sessionOccupied':_0x4cde24(0xd8),'networkError':_0x4cde24(0xde),'maxRetriesExceeded':_0x4cde24(0xc5)}}};export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x19ec(_0x1c481b,_0xaaa347){_0x1c481b=_0x1c481b-0x141;const _0x418355=_0x4183();let _0x19ecb7=_0x418355[_0x1c481b];return _0x19ecb7;}const _0x24c6fd=_0x19ec;function _0x4183(){const _0x418932=['Invalid\x20configuration','1712379raWuEa','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','189JuMwJm','Save\x20Configuration','Connection\x20Failed','Enable\x20Authentication','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Copy\x20the\x20JSON\x20configuration\x20below','Connecting...','Failed\x20to\x20save\x20configuration','MCP\x20Configuration','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','939627UUseUY','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','3406532jodzGZ','4079085xKNUYZ','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Univer\x20AI\x20Console','MCP\x20Unknown\x20Status','2280696nLfGaa','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','MCP\x20Connected','MCP:\x20Network\x20Error','2VmfUUn','Disconnected','MCP:\x20Session\x20ID\x20Occupied','Max\x20Retries','953840RFUTOl','742rOqPHu','API\x20Key','Saving...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','61284BKppGP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Parameters:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection'];_0x4183=function(){return _0x418932;};return _0x4183();}(function(_0x2c2706,_0x2953f6){const _0x308f3b=_0x19ec,_0x5295b7=_0x2c2706();while(!![]){try{const _0x16440b=-parseInt(_0x308f3b(0x15c))/0x1+parseInt(_0x308f3b(0x16e))/0x2*(parseInt(_0x308f3b(0x14d))/0x3)+parseInt(_0x308f3b(0x15f))/0x4+-parseInt(_0x308f3b(0x160))/0x5+parseInt(_0x308f3b(0x148))/0x6*(-parseInt(_0x308f3b(0x143))/0x7)+parseInt(_0x308f3b(0x169))/0x8+-parseInt(_0x308f3b(0x150))/0x9*(-parseInt(_0x308f3b(0x142))/0xa);if(_0x16440b===_0x2953f6)break;else _0x5295b7['push'](_0x5295b7['shift']());}catch(_0x16312d){_0x5295b7['push'](_0x5295b7['shift']());}}}(_0x4183,0xd5001));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x24c6fd(0x16c),'failed':_0x24c6fd(0x14f),'retrying':'MCP\x20Retrying...','unknown':_0x24c6fd(0x168),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x24c6fd(0x170),'networkError':_0x24c6fd(0x16d),'maxRetriesExceeded':_0x24c6fd(0x154),'clickToConnect':_0x24c6fd(0x16b),'clickToConfigure':_0x24c6fd(0x14e)},'mcpConfig':{'title':_0x24c6fd(0x159),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x24c6fd(0x144),'apiKeyPlaceholder':_0x24c6fd(0x15d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x24c6fd(0x153),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x24c6fd(0x163),'mcpClientConfig':_0x24c6fd(0x163),'configInstructions':_0x24c6fd(0x166),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x24c6fd(0x156),'configStep2':_0x24c6fd(0x165),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x24c6fd(0x14a),'maxRetries':_0x24c6fd(0x141),'save':_0x24c6fd(0x151),'saving':_0x24c6fd(0x145),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x24c6fd(0x146),'configSaved':_0x24c6fd(0x16a),'configError':_0x24c6fd(0x158),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x24c6fd(0x147),'univerAiLabel':_0x24c6fd(0x167),'getStarted':_0x24c6fd(0x15b)},'validation':{'apiKeyRequired':_0x24c6fd(0x164),'apiKeyTooShort':_0x24c6fd(0x155),'invalidConfig':_0x24c6fd(0x14c),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x24c6fd(0x16f),'connecting':_0x24c6fd(0x157),'connected':_0x24c6fd(0x15a),'failed':_0x24c6fd(0x152),'retrying':_0x24c6fd(0x162)},'connectionError':{'unauthorized':_0x24c6fd(0x149),'sessionOccupied':_0x24c6fd(0x15e),'networkError':_0x24c6fd(0x14b),'maxRetriesExceeded':_0x24c6fd(0x161)}}},n=e;export{n as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4904(){const _0x515e2a=['24TRJurg','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','Số\x20lần\x20thử\x20lại\x20tối\x20đa','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','MCP:\x20Không\x20được\x20phép','Cấu\x20hình\x20máy\x20khách\x20MCP','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Bật\x20xác\x20thực','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Các\x20bước\x20cấu\x20hình:','670ZxCQCW','301615yZTZhq','MCP\x20Đã\x20kết\x20nối','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','11pxpVWw','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','ID\x20phiê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','MCP\x20Đang\x20kết\x20nối...','146499QytfMj','Đị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','2daxAig','Khóa\x20API\x20là\x20gì?','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','MCP\x20Kết\x20nối\x20thất\x20bại','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\x20MCP','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','4039944NyaWki','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.','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Đã\x20ngắt\x20kết\x20nối','MCP\x20Đang\x20thử\x20lại...','43846voJzsq','Khóa\x20API','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','16mIHuYI','99732TOYPaR','Đang\x20lưu...','Đang\x20thử\x20lại...','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Đang\x20kết\x20nối...','MCP:\x20Lỗi\x20mạng','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','4635sEppIu','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Đã\x20kết\x20nối','Cấu\x20hình\x20không\x20hợp\x20lệ','Yêu\x20cầu\x20khóa\x20API','Lưu\x20cấu\x20hình\x20thất\x20bại','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','422779rdWhoX','Kết\x20nối\x20thất\x20bại','Tham\x20số\x20cấu\x20hình:','Bảng\x20điều\x20khiển\x20Univer\x20AI'];_0x4904=function(){return _0x515e2a;};return _0x4904();}const _0x484cfe=_0x20ae;(function(_0x4bb4ff,_0x5a4101){const _0x37b2ab=_0x20ae,_0x562f65=_0x4bb4ff();while(!![]){try{const _0x1adf8b=-parseInt(_0x37b2ab(0xc3))/0x1*(-parseInt(_0x37b2ab(0xcf))/0x2)+-parseInt(_0x37b2ab(0xc0))/0x3+parseInt(_0x37b2ab(0xd2))/0x4*(parseInt(_0x37b2ab(0xb8))/0x5)+parseInt(_0x37b2ab(0xd3))/0x6+parseInt(_0x37b2ab(0xe2))/0x7*(parseInt(_0x37b2ab(0xe6))/0x8)+-parseInt(_0x37b2ab(0xda))/0x9*(-parseInt(_0x37b2ab(0xb7))/0xa)+parseInt(_0x37b2ab(0xbb))/0xb*(-parseInt(_0x37b2ab(0xca))/0xc);if(_0x1adf8b===_0x5a4101)break;else _0x562f65['push'](_0x562f65['shift']());}catch(_0x2aa5b1){_0x562f65['push'](_0x562f65['shift']());}}}(_0x4904,0x20379));function _0x20ae(_0x307249,_0x16bb52){_0x307249=_0x307249-0xae;const _0x4904cb=_0x4904();let _0x20aeee=_0x4904cb[_0x307249];return _0x20aeee;}const n={'mcpStatus':{'disconnected':_0x484cfe(0xc2),'connecting':_0x484cfe(0xbf),'connected':_0x484cfe(0xb9),'failed':_0x484cfe(0xc6),'retrying':_0x484cfe(0xce),'unknown':_0x484cfe(0xcc),'unauthorized':_0x484cfe(0xb1),'sessionOccupied':_0x484cfe(0xb0),'networkError':_0x484cfe(0xd8),'maxRetriesExceeded':_0x484cfe(0xdb),'clickToConnect':'Nhấp\x20để\x20kết\x20nối\x20MCP','clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':_0x484cfe(0xc8),'description':_0x484cfe(0xae),'apiKey':_0x484cfe(0xd0),'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':_0x484cfe(0xb4),'enableAuthHint':_0x484cfe(0xdc),'connectionInfo':_0x484cfe(0xb2),'mcpClientConfig':'Cấu\x20hình\x20máy\x20khách\x20MCP','configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x484cfe(0xb6),'configStep1':_0x484cfe(0xc9),'configStep2':_0x484cfe(0xd9),'configStep3':_0x484cfe(0xc7),'sessionId':_0x484cfe(0xbd),'sessionIdDescription':_0x484cfe(0xc1),'authorizationDescription':_0x484cfe(0xb3),'configParameters':_0x484cfe(0xe4),'maxRetries':_0x484cfe(0xaf),'save':'Lưu\x20cấu\x20hình','saving':_0x484cfe(0xd4),'note1':_0x484cfe(0xe1),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','configSaved':_0x484cfe(0xc5),'configError':_0x484cfe(0xe0),'apiApplyInfo':{'title':_0x484cfe(0xc4),'description':_0x484cfe(0xcb),'univerAiLabel':_0x484cfe(0xe5),'getStarted':_0x484cfe(0xba)},'validation':{'apiKeyRequired':_0x484cfe(0xdf),'apiKeyTooShort':_0x484cfe(0xd6),'invalidConfig':_0x484cfe(0xde),'invalidApiKey':_0x484cfe(0xbe)},'connectionStatus':{'disconnected':_0x484cfe(0xcd),'connecting':_0x484cfe(0xd7),'connected':_0x484cfe(0xdd),'failed':_0x484cfe(0xe3),'retrying':_0x484cfe(0xd5)},'connectionError':{'unauthorized':_0x484cfe(0xd1),'sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0x484cfe(0xb5),'maxRetriesExceeded':_0x484cfe(0xbc)}}};export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x57f42c=_0x4495;function _0x4495(_0x22031c,_0x3114bc){_0x22031c=_0x22031c-0x183;const _0x3b2e56=_0x3b2e();let _0x4495cb=_0x3b2e56[_0x22031c];return _0x4495cb;}(function(_0x4c79e4,_0x4b1823){const _0x32fad5=_0x4495,_0x26ba9f=_0x4c79e4();while(!![]){try{const _0x16df5e=-parseInt(_0x32fad5(0x197))/0x1+-parseInt(_0x32fad5(0x191))/0x2+-parseInt(_0x32fad5(0x190))/0x3+parseInt(_0x32fad5(0x19d))/0x4*(parseInt(_0x32fad5(0x192))/0x5)+-parseInt(_0x32fad5(0x18c))/0x6*(parseInt(_0x32fad5(0x1a3))/0x7)+-parseInt(_0x32fad5(0x1ab))/0x8*(parseInt(_0x32fad5(0x198))/0x9)+-parseInt(_0x32fad5(0x1a4))/0xa*(-parseInt(_0x32fad5(0x194))/0xb);if(_0x16df5e===_0x4b1823)break;else _0x26ba9f['push'](_0x26ba9f['shift']());}catch(_0x57c461){_0x26ba9f['push'](_0x26ba9f['shift']());}}}(_0x3b2e,0xa3804));const e={'mcpStatus':{'disconnected':_0x57f42c(0x188),'connecting':_0x57f42c(0x1ac),'connected':'MCP\x20已连接','failed':_0x57f42c(0x183),'retrying':_0x57f42c(0x18b),'unknown':'MCP\x20状态未知','unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x57f42c(0x18e),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x57f42c(0x189),'clickToConfigure':_0x57f42c(0x187)},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x57f42c(0x193),'apiKeyPlaceholder':_0x57f42c(0x19e),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x57f42c(0x1a8),'connectionInfo':_0x57f42c(0x199),'mcpClientConfig':_0x57f42c(0x199),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x57f42c(0x1a1),'configStep1':_0x57f42c(0x195),'configStep2':_0x57f42c(0x18d),'configStep3':_0x57f42c(0x1a7),'sessionId':_0x57f42c(0x185),'sessionIdDescription':_0x57f42c(0x19b),'authorizationDescription':_0x57f42c(0x18f),'configParameters':'配置参数:','maxRetries':_0x57f42c(0x186),'save':'保存配置','saving':_0x57f42c(0x1a5),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x57f42c(0x1aa),'configError':_0x57f42c(0x196),'apiApplyInfo':{'title':_0x57f42c(0x1a2),'description':_0x57f42c(0x19c),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x57f42c(0x18a),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x57f42c(0x1a6),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x57f42c(0x19f),'connecting':_0x57f42c(0x184),'connected':'已连接','failed':'连接失败','retrying':_0x57f42c(0x1a9)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x57f42c(0x19a),'networkError':_0x57f42c(0x1a0),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x3b2e(){const _0x3c94dd=['将配置添加到您的\x20MCP\x20客户端设置文件中','MCP:\x20网络错误','带有\x20Bearer\x20前缀的\x20API\x20密钥。','2896809ZkbDTu','1129462utAqdh','1639345ivksvI','API\x20密钥','66LPZmAD','复制以下\x20JSON\x20配置','配置保存失败','202401cxshjU','6984DFoFaq','MCP\x20客户端配置','会话\x20ID\x20已被占用,请稍后再试','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','12MZRmqL','请输入您的\x20API\x20密钥','未连接','网络连接错误,请检查您的网络连接','配置步骤:','什么是\x20API\x20密钥?','406czHIrc','4705660OuRkhO','保存中...','配置无效','重启您的\x20MCP\x20客户端以使配置生效','启用身份验证以获得安全连接','重连中...','配置保存成功','5920hyxsuu','MCP\x20连接中...','MCP\x20连接失败','连接中...','会话ID','最大重试次数','点击配置\x20MCP','MCP\x20已断开','点击连接\x20MCP','API\x20密钥不能为空','MCP\x20重连中...','85896yvIePx'];_0x3b2e=function(){return _0x3c94dd;};return _0x3b2e();}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x48e8(){const _0x3b040a=['Connection\x20Failed','40579sCZCdd','What\x20is\x20API\x20Key?','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enter\x20your\x20API\x20key','8btyPmE','Invalid\x20configuration','108572YsjVkP','164135cAFHvi','MCP\x20Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','Configuration\x20saved\x20successfully','MCP\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','Click\x20to\x20configure\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Unauthorized','Configuration\x20Steps:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','302952HUaMAF','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','Connecting...','35wTKyPE','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Connected','Retrying...','152898NHtFkN','2212083SbbXoF','3MVBBSY','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','Disconnected','Max\x20Retries','220WQeNWC','MCP\x20Connection\x20Failed','Saving...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Session\x20ID\x20Occupied','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','140190BZCJKg','MCP:\x20Network\x20Error'];_0x48e8=function(){return _0x3b040a;};return _0x48e8();}function _0x5197(_0x1604f3,_0x5e3621){_0x1604f3=_0x1604f3-0xcd;const _0x48e8c7=_0x48e8();let _0x51970b=_0x48e8c7[_0x1604f3];return _0x51970b;}const _0x766a27=_0x5197;(function(_0x425389,_0x575190){const _0x41de3c=_0x5197,_0x3e34bd=_0x425389();while(!![]){try{const _0x27d905=-parseInt(_0x41de3c(0xde))/0x1+-parseInt(_0x41de3c(0xdd))/0x2*(-parseInt(_0x41de3c(0xfa))/0x3)+-parseInt(_0x41de3c(0xef))/0x4+parseInt(_0x41de3c(0xd3))/0x5+-parseInt(_0x41de3c(0xf8))/0x6*(-parseInt(_0x41de3c(0xf3))/0x7)+-parseInt(_0x41de3c(0xdb))/0x8*(-parseInt(_0x41de3c(0xf9))/0x9)+parseInt(_0x41de3c(0x100))/0xa*(-parseInt(_0x41de3c(0xd6))/0xb);if(_0x27d905===_0x575190)break;else _0x3e34bd['push'](_0x3e34bd['shift']());}catch(_0x399322){_0x3e34bd['push'](_0x3e34bd['shift']());}}}(_0x48e8,0x20d5f));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x766a27(0xdf),'connected':'MCP\x20Connected','failed':_0x766a27(0x101),'retrying':'MCP\x20Retrying...','unknown':_0x766a27(0xfd),'unauthorized':_0x766a27(0xec),'sessionOccupied':_0x766a27(0xce),'networkError':_0x766a27(0xd4),'maxRetriesExceeded':_0x766a27(0xe7),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x766a27(0xea)},'mcpConfig':{'title':_0x766a27(0xe5),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x766a27(0xda),'apiKeyHint':_0x766a27(0xe6),'enableAuth':_0x766a27(0xcf),'enableAuthHint':_0x766a27(0xe1),'connectionInfo':_0x766a27(0xf4),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x766a27(0xed),'configStep1':_0x766a27(0xeb),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x766a27(0xe2),'sessionId':_0x766a27(0xd2),'sessionIdDescription':_0x766a27(0xd1),'authorizationDescription':_0x766a27(0xf5),'configParameters':_0x766a27(0xe9),'maxRetries':_0x766a27(0xff),'save':_0x766a27(0xe3),'saving':_0x766a27(0x102),'note1':_0x766a27(0xee),'note2':_0x766a27(0xcd),'configSaved':_0x766a27(0xe4),'configError':_0x766a27(0xf1),'apiApplyInfo':{'title':_0x766a27(0xd7),'description':_0x766a27(0xd9),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x766a27(0xd0)},'validation':{'apiKeyRequired':_0x766a27(0xfc),'apiKeyTooShort':_0x766a27(0xe8),'invalidConfig':_0x766a27(0xdc),'invalidApiKey':_0x766a27(0xfb)},'connectionStatus':{'disconnected':_0x766a27(0xfe),'connecting':_0x766a27(0xf2),'connected':_0x766a27(0xf6),'failed':_0x766a27(0xd5),'retrying':_0x766a27(0xf7)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x766a27(0xf0),'networkError':_0x766a27(0xe0),'maxRetriesExceeded':_0x766a27(0xd8)}}},n=e;export{n as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x75d8(_0x125c86,_0x2cbc2c){_0x125c86=_0x125c86-0x121;const _0x4079c1=_0x4079();let _0x75d8e9=_0x4079c1[_0x125c86];return _0x75d8e9;}function _0x4079(){const _0x65d9d7=['toString','registerCommand','Connection\x20Failed','off-line-icon','CONNECTING','Enter\x20your\x20API\x20key','MCP\x20状态未知','UniverProMcpUi','univer-bg-green-500','将配置添加到您的\x20MCP\x20客户端设置文件中','mcpConfig.validation.apiKeyTooShort','_menuManagerService','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','UniverNetwork','Disposable','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','next','univer-shrink-0\x20univer-text-red-500','createElement','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','http','Button','http://www.w3.org/2000/svg','mcpConfig.configInstructions','getConfig','会话\x20ID\x20已被占用,请稍后再试','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCP\x20配置','@univerjs/ui','useRef','mcpStatus.unauthorized','1em','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','connectionError$','assign','MCP:\x20Session\x20ID\x20Occupied','univer-size-2\x20univer-rounded-full','mcpConfig.configStepTitle','showStatus','MCP\x20Unknown\x20Status','_commandService','attrs','IDialogService','402208pffjzN','evenodd','onStarting','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MessageType','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','CONNECTED','OTHERS','4kkSVhD','SESSION_ID_OCCUPIED','setConfig','Success','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpStatus.connected','UniverUi','MCPConnectionUIController','IUIPartsService','@univerjs/design','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','_validateConfig','配置保存失败','Enable\x20Authentication','validateApiKey','mcpConfig.apiKeyPlaceholder','MCPConfigUIController','API\x20Key','mcpStatus.connecting','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','MCP:\x20未授权','MenuIcon','univer.plus','univer-bg-gray-500','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Tooltip','MCP\x20Connection\x20Failed','univer-text-blue-600','univer-min-w-0\x20univer-flex-1','univer.ai','MCP:\x20Network\x20Error','mcpConfig.apiApplyInfo.getStarted','ICommandService','FAILED','_configService','round','warn','show','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Authorization:','UniverMCPUIPlugin','MCP:\x20网络错误','subscribe','7OyJlsD','Configuration\x20saved\x20successfully','none','IConfigService','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','启用身份验证以获得安全连接','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','on-line-icon','_dialogService','mcp-ui.config','MAX_RETRIES_EXCEEDED','isValid','UNAUTHORIZED','已连接','React','mcpConfig.apiApplyInfo.title','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','use','add','amd','MCP\x20Configuration','univer-bg-red-500','6990006fkKZUF','mcpStatus.unknown','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP\x20Connected','get','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-size-4','mcpConfig.configStep3','function','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpConfig.validation.apiKeyRequired','Copy\x20the\x20JSON\x20configuration\x20below','mcp.apiKey','UniverIcon','register','univer-space-y-3','univer-text-red-500','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpStatus.failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-flex-1','连接中...','_uiPartsService','_loading$','univer-font-medium','M0\x200H16V16H0z','网络连接错误,请检查您的网络连接','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','Connecting...','univer-flex\x20univer-items-start\x20univer-gap-3','displayName','univer-flex\x20univer-items-start\x20univer-gap-2','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','apiKey','_apiKey$','has','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','https://mcp.univer.ai/mcp/?univer_session_id=','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','NONE','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Connected','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-flex\x20univer-items-center','_config','Inject','mcpConfig.validation.invalidApiKey','Configuration\x20Notes:','currentColor','defs','Injector','mcpConfig.configParameters','ILocalStorageService','svg','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','univer-flex\x20univer-items-center\x20univer-gap-2','_registerComponent','colorChannel1','RETRYING','UniverDesign','trim','mcpConfig.note1','useState','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','getOwnPropertyDescriptor','MCP\x20Disconnected','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','@univerjs/core','COMMAND','Max\x20Retries','您的\x20API\x20密钥将在此浏览器中本地存储','未连接','mcpConfig.connectionError.unauthorized','includes','univer-space-y-2','_handleConfigure','最大重试次数','您的\x20API\x20密钥安全存储在本地存储中','4OyqPvl','connectionStatus$','HEADER_MENU','RibbonStartGroup','MCPConfigPanel','MCPConnectionController','@univerjs/network','_connectionController','univer-flex\x20univer-items-center\x20univer-gap-3','stringify','mcpStatus.clickToConfigure','setItem','Disconnected','0\x200\x2016\x2016','div','MCP\x20Retrying...','mcpConfig.configError','_initConfigSync','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-xs\x20univer-text-gray-500','rxjs','mcpConfig.sessionIdDescription','react','url(#on-line-icon_clip0_910_349)','Module','mcpConfig.connectionStatus.retrying','clsx','substring','tag','current','UniverMCPPlugin','useDependency','off-line-icon_clip0_910_343','button','react/jsx-runtime','_initAutoConnect','Univer\x20AI\x20控制台','ComponentManager','univer-text-sm\x20univer-font-medium','CommandType','univer-mr-2\x20univer-flex\x20univer-text-xl','_injector','Univer\x20AI\x20Console','MCP\x20连接失败','_messageService','_initStatusComponent','mcpConfig.description','MCPConnectionStatus','Click\x20to\x20connect\x20MCP','useObservable','mcpConfig.connectionError.maxRetriesExceeded','配置保存成功','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','replace','重启您的\x20MCP\x20客户端以使配置生效','_componentManager','mcpConfig.note2','_blank','disposeWithMe','univerjs-icon\x20univerjs-icon-','span','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','bottom','MCP\x20连接中...','mcpConfig.title','配置无效','jsxs','url(#$1','sessionId$','保存配置','配置步骤:','registerComponent','7675263hhwfGz','10zjAPJT','on-line-icon_clip0_910_349','_logService','IMenuManagerService','Input','connectInjector','MCP:\x20会话\x20ID\x20已被占用','MCPUIMenuController','保存中...','What\x20is\x20API\x20Key?','配置参数:','MCPConnectionError','什么是\x20API\x20密钥?','超出最大重试次数,请稍后再试','<API_KEY>','Enable\x20authentication\x20for\x20secure\x20connections','symbol','\x20-\x20','univer-text-white','MCP\x20已断开','BuiltInUIPart','_initializeCommands','close-icon','showConfigPanel','将以下配置添加到您的\x20MCP\x20客户端设置中:','Bearer\x20','showDeveloperTools','univer-text-gray-500','univer-space-y-5','forwardRef','Retrying...','toStringTag','DISCONNECTED','enUS','ILogService','subscribeConfigValue$','_createConfigPanelComponent','mcpStatus.retrying','API\x20key\x20with\x20Bearer\x20prefix.','_localeService','点击配置\x20MCP','merge','mcpConfig.validation.invalidConfig','defineProperty','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.configStep1','Invalid\x20configuration','mergeMenu','children','univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','text','univer-space-y-4','13354077fcPuHN','_config$','mcpStatus.disconnected','mcpConfig.connectionStatus.failed','noopener\x20noreferrer','_handleConfigSave','univer-text-gray-400','MCP_PLUGIN_CONFIG_KEY','object','API\x20密钥','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','BehaviorSubject','mcpConfig.connectionError.sessionOccupied','open','univer-bg-blue-500','mcpConfig.connectionError.networkError','exports','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcp-config-dialog','Error','value','zhCN','clipPath','idSuffix','mcpConfig.apiKey','check-mark-icon','Configuration\x20Parameters:','mcpServerUrl','mask','string','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','map','CheckMarkIcon','univer-text-green-500','Plugin','Configuration\x20Steps:','mcpConfig.configStep2','mcpConfig.connectionStatus.connected','1901475npncRn','getCurrentConfig','univer-shrink-0\x20univer-text-blue-500','https://console.univer.ai','OnLineIcon','path','WebSocketService','_loadStoredApiKey','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','white','2813776DbivXQ','push','_mcpCoreConfig$','length','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','forEach','MCP:\x20Unauthorized','LocaleService','_localStorageService','jsx','NETWORK_ERROR','getItem','几秒钟内获取您的\x20API\x20密钥','pluginName','removeItem','url(#off-line-icon_clip0_910_343)','error','CloseIcon','xlink:href','mcpConfig.configSaved','entries','Failed\x20to\x20save\x20configuration','_mcpConnectionController','0\x200\x2017\x2016','__setCustomHeaders','BUTTON','请输入您的\x20API\x20密钥','76134GUgqbc','mcpConfig.apiKeyHint','Saving...','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'];_0x4079=function(){return _0x65d9d7;};return _0x4079();}(function(_0x2c6b50,_0x1a4823){const _0x257459=_0x75d8,_0x1af24e=_0x2c6b50();while(!![]){try{const _0x742f44=parseInt(_0x257459(0x26f))/0x1*(-parseInt(_0x257459(0x267))/0x2)+parseInt(_0x257459(0x238))/0x3*(parseInt(_0x257459(0x16f))/0x4)+parseInt(_0x257459(0x213))/0x5+parseInt(_0x257459(0x121))/0x6+-parseInt(_0x257459(0x29c))/0x7*(-parseInt(_0x257459(0x21d))/0x8)+-parseInt(_0x257459(0x1b7))/0x9*(-parseInt(_0x257459(0x1b8))/0xa)+-parseInt(_0x257459(0x1ed))/0xb;if(_0x742f44===_0x1a4823)break;else _0x1af24e['push'](_0x1af24e['shift']());}catch(_0x39dac0){_0x1af24e['push'](_0x1af24e['shift']());}}}(_0x4079,0xb8c2c),function(_0x163181,_0x317a2d){const _0x236b29=_0x75d8;typeof exports==_0x236b29(0x1f5)&&typeof module<'u'?_0x317a2d(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x236b29(0x129)&&define[_0x236b29(0x2af)]?define([_0x236b29(0x1fd),_0x236b29(0x164),_0x236b29(0x191),'@univerjs-pro/mcp',_0x236b29(0x278),_0x236b29(0x258),'rxjs',_0x236b29(0x185),_0x236b29(0x175)],_0x317a2d):(_0x163181=typeof globalThis<'u'?globalThis:_0x163181||self,_0x317a2d(_0x163181[_0x236b29(0x243)]={},_0x163181['UniverCore'],_0x163181[_0x236b29(0x2aa)],_0x163181['UniverProMcp'],_0x163181[_0x236b29(0x15c)],_0x163181[_0x236b29(0x275)],_0x163181[_0x236b29(0x183)],_0x163181['React'],_0x163181[_0x236b29(0x249)]));}(this,function(_0xb91ea1,_0x7cc0f4,_0x3a4e8c,_0x39eab2,_0x1a8f42,_0x166521,_0x4f0d59,_0x36ed3d,_0x447dfa){'use strict';const _0x27a626=_0x75d8;var _0x78aebd=Object[_0x27a626(0x1e3)],_0x25e920=(_0x36240b,_0x4c2b3b,_0x206d88)=>_0x4c2b3b in _0x36240b?_0x78aebd(_0x36240b,_0x4c2b3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x206d88}):_0x36240b[_0x4c2b3b]=_0x206d88,_0x1752be=(_0xc60177,_0x39eab9,_0x1883ca)=>_0x25e920(_0xc60177,typeof _0x39eab9!=_0x27a626(0x1c8)?_0x39eab9+'':_0x39eab9,_0x1883ca);function _0x56692c({ref:_0x2dcd67,..._0x21bb02}){const _0x29e1fd=_0x27a626,{icon:_0x40686d,id:_0x4018b2,className:_0x239339,extend:_0x280248,..._0x43b119}=_0x21bb02,_0x18f6aa=(_0x29e1fd(0x1aa)+_0x4018b2+'\x20'+(_0x239339||''))[_0x29e1fd(0x15d)](),_0x1a271b=_0x36ed3d[_0x29e1fd(0x259)]('_'+_0xb1b864());return _0x2876d7(_0x40686d,''+_0x4018b2,{'defIds':_0x40686d['defIds'],'idSuffix':_0x1a271b[_0x29e1fd(0x18c)]},{'ref':_0x2dcd67,'className':_0x18f6aa,..._0x43b119},_0x280248);}function _0x2876d7(_0x2f8932,_0x3b101e,_0x33597f,_0x454f01,_0x370962){const _0x258b3a=_0x27a626;return _0x36ed3d['createElement'](_0x2f8932['tag'],{'key':_0x3b101e,..._0x138e4f(_0x2f8932,_0x33597f,_0x370962),..._0x454f01},(_0x32278c(_0x2f8932,_0x33597f)['children']||[])[_0x258b3a(0x20c)]((_0x127a12,_0x469d13)=>_0x2876d7(_0x127a12,_0x3b101e+'-'+_0x2f8932['tag']+'-'+_0x469d13,_0x33597f,void 0x0,_0x370962)));}function _0x138e4f(_0x391ec2,_0x380297,_0x42d20b){const _0x44368a=_0x27a626,_0x52648b={..._0x391ec2['attrs']};_0x42d20b!=null&&_0x42d20b[_0x44368a(0x15a)]&&_0x52648b['fill']===_0x44368a(0x15a)&&(_0x52648b['fill']=_0x42d20b[_0x44368a(0x15a)]),_0x391ec2[_0x44368a(0x18b)]===_0x44368a(0x209)&&_0x52648b['id']&&(_0x52648b['id']=_0x52648b['id']+_0x380297[_0x44368a(0x204)]),Object[_0x44368a(0x231)](_0x52648b)[_0x44368a(0x222)](([_0x434aae,_0x528753])=>{const _0x529490=_0x44368a;_0x434aae===_0x529490(0x209)&&typeof _0x528753==_0x529490(0x20a)&&(_0x52648b[_0x434aae]=_0x528753[_0x529490(0x1a4)](/url\(#(.*)\)/,_0x529490(0x1b2)+_0x380297['idSuffix']+')'));});const {defIds:_0x3e07f5}=_0x380297;return!_0x3e07f5||_0x3e07f5[_0x44368a(0x220)]===0x0||(_0x391ec2[_0x44368a(0x18b)]===_0x44368a(0x2ad)&&_0x52648b[_0x44368a(0x22f)]&&(_0x52648b['xlink:href']=_0x52648b[_0x44368a(0x22f)]+_0x380297[_0x44368a(0x204)]),Object['entries'](_0x52648b)[_0x44368a(0x222)](([_0x23eb2a,_0x2c3264])=>{const _0x2670a1=_0x44368a;typeof _0x2c3264=='string'&&(_0x52648b[_0x23eb2a]=_0x2c3264['replace'](/url\(#(.*)\)/,_0x2670a1(0x1b2)+_0x380297[_0x2670a1(0x204)]+')'));})),_0x52648b;}function _0x32278c(_0x30857e,_0x47061d){const _0x4e6f3d=_0x27a626;var _0x4498f1;const {defIds:_0x50a6c0}=_0x47061d;return!_0x50a6c0||_0x50a6c0[_0x4e6f3d(0x220)]===0x0?_0x30857e:_0x30857e[_0x4e6f3d(0x18b)]===_0x4e6f3d(0x152)&&((_0x4498f1=_0x30857e[_0x4e6f3d(0x1e8)])!=null&&_0x4498f1[_0x4e6f3d(0x220)])?{..._0x30857e,'children':_0x30857e[_0x4e6f3d(0x1e8)]['map'](_0x5cc4eb=>typeof _0x5cc4eb['attrs']['id']==_0x4e6f3d(0x20a)&&_0x50a6c0&&_0x50a6c0[_0x4e6f3d(0x16a)](_0x5cc4eb[_0x4e6f3d(0x265)]['id'])?{..._0x5cc4eb,'attrs':{..._0x5cc4eb[_0x4e6f3d(0x265)],'id':_0x5cc4eb['attrs']['id']+_0x47061d[_0x4e6f3d(0x204)]}}:_0x5cc4eb)}:_0x30857e;}function _0xb1b864(){const _0x47b87b=_0x27a626;return Math['random']()[_0x47b87b(0x23c)](0x24)[_0x47b87b(0x18a)](0x2,0x8);}_0x56692c[_0x27a626(0x13f)]=_0x27a626(0x12e);const _0x786104={'tag':_0x27a626(0x156),'attrs':{'xmlns':_0x27a626(0x252),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x27a626(0x25b)},'children':[{'tag':'path','attrs':{'fill':_0x27a626(0x151),'d':_0x27a626(0x23b),'fillRule':_0x27a626(0x268),'clipRule':'evenodd'}}]},_0x10b778=_0x36ed3d[_0x27a626(0x1d5)](function(_0x53e84b,_0x12afe2){const _0x3c8178=_0x27a626;return _0x36ed3d[_0x3c8178(0x24e)](_0x56692c,Object[_0x3c8178(0x25e)]({},_0x53e84b,{'id':_0x3c8178(0x206),'ref':_0x12afe2,'icon':_0x786104}));});_0x10b778[_0x27a626(0x13f)]=_0x27a626(0x20d);const _0x5cc1c7={'tag':_0x27a626(0x156),'attrs':{'xmlns':_0x27a626(0x252),'fill':_0x27a626(0x29e),'viewBox':'0\x200\x2016\x2016','width':_0x27a626(0x25b),'height':_0x27a626(0x25b)},'children':[{'tag':_0x27a626(0x218),'attrs':{'fill':_0x27a626(0x151),'d':_0x27a626(0x20b)}}]},_0x4c53f2=_0x36ed3d['forwardRef'](function(_0x10dbc6,_0x2a4561){const _0x32ed6b=_0x27a626;return _0x36ed3d[_0x32ed6b(0x24e)](_0x56692c,Object['assign']({},_0x10dbc6,{'id':_0x32ed6b(0x1ce),'ref':_0x2a4561,'icon':_0x5cc1c7}));});_0x4c53f2['displayName']=_0x27a626(0x22e);const _0xb3fa56={'tag':_0x27a626(0x156),'attrs':{'xmlns':_0x27a626(0x252),'fill':_0x27a626(0x29e),'viewBox':'0\x200\x2016\x2016','width':_0x27a626(0x25b),'height':'1em'},'children':[{'tag':_0x27a626(0x218),'attrs':{'fill':_0x27a626(0x151),'d':_0x27a626(0x24f)}},{'tag':_0x27a626(0x218),'attrs':{'fill':'currentColor','d':_0x27a626(0x13c)}},{'tag':_0x27a626(0x218),'attrs':{'fill':_0x27a626(0x151),'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':_0x27a626(0x268),'clipRule':_0x27a626(0x268)}}]},_0x535a49=_0x36ed3d[_0x27a626(0x1d5)](function(_0x1688e9,_0x16e277){const _0xe844e1=_0x27a626;return _0x36ed3d[_0xe844e1(0x24e)](_0x56692c,Object[_0xe844e1(0x25e)]({},_0x1688e9,{'id':'help-icon','ref':_0x16e277,'icon':_0xb3fa56}));});_0x535a49[_0x27a626(0x13f)]='HelpIcon';const _0x82e626={'tag':_0x27a626(0x156),'attrs':{'xmlns':_0x27a626(0x252),'fill':'none','viewBox':_0x27a626(0x17c),'width':_0x27a626(0x25b),'height':_0x27a626(0x25b)},'children':[{'tag':'g','attrs':{'clipPath':_0x27a626(0x22c)},'children':[{'tag':_0x27a626(0x218),'attrs':{'stroke':_0x27a626(0x151),'d':_0x27a626(0x1a3),'strokeLinecap':_0x27a626(0x292),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x27a626(0x152),'attrs':{},'children':[{'tag':_0x27a626(0x203),'attrs':{'id':_0x27a626(0x18f)},'children':[{'tag':'path','attrs':{'fill':_0x27a626(0x21c),'d':_0x27a626(0x13a)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3b0b3b=_0x36ed3d[_0x27a626(0x1d5)](function(_0x34412f,_0x58e229){const _0xf41b8b=_0x27a626;return _0x36ed3d[_0xf41b8b(0x24e)](_0x56692c,Object['assign']({},_0x34412f,{'id':_0xf41b8b(0x23f),'ref':_0x58e229,'icon':_0x82e626}));});_0x3b0b3b[_0x27a626(0x13f)]='OffLineIcon';const _0xa873af={'tag':_0x27a626(0x156),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x27a626(0x29e),'viewBox':_0x27a626(0x234),'width':'1em','height':_0x27a626(0x25b)},'children':[{'tag':'g','attrs':{'clipPath':_0x27a626(0x186)},'children':[{'tag':_0x27a626(0x218),'attrs':{'stroke':_0x27a626(0x151),'d':_0x27a626(0x295),'strokeLinecap':_0x27a626(0x292),'strokeLinejoin':_0x27a626(0x292),'strokeWidth':1.2}}]},{'tag':_0x27a626(0x152),'attrs':{},'children':[{'tag':_0x27a626(0x203),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x27a626(0x218),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x27a626(0x1b9)]},_0x51ab62=_0x36ed3d[_0x27a626(0x1d5)](function(_0x8b7613,_0x3cdbc7){const _0x38075f=_0x27a626;return _0x36ed3d[_0x38075f(0x24e)](_0x56692c,Object['assign']({},_0x8b7613,{'id':_0x38075f(0x2a3),'ref':_0x3cdbc7,'icon':_0xa873af}));});_0x51ab62[_0x27a626(0x13f)]=_0x27a626(0x217);function _0x3d9fbe(_0x25f829){const _0x16e456=_0x27a626;var _0x452e5e,_0x42054a;const {mcpCoreConfig:_0xeea795,onSave:_0x5c8851,loading:_0x485809=!0x1,config:_0x2a7b28,connectionStatus$:_0x182777,connectionError$:_0x252cbb,currentApiKey$:_0x9e9f09,currentSessionId$:_0x4903af}=_0x25f829,_0xb259f8=_0x166521[_0x16e456(0x18e)](_0x7cc0f4['LocaleService']),_0xda0e55=_0x166521[_0x16e456(0x1a0)](_0x182777,_0x39eab2[_0x16e456(0x19e)][_0x16e456(0x1d8)]),_0x47ea62=_0x166521[_0x16e456(0x1a0)](_0x252cbb,_0x39eab2[_0x16e456(0x1c3)][_0x16e456(0x148)]),_0xf1c322=_0x166521[_0x16e456(0x1a0)](_0x4903af,''),_0x5f4f5a=_0x166521[_0x16e456(0x1a0)](_0x9e9f09,''),[_0x221905,_0x44d024]=_0x36ed3d[_0x16e456(0x15f)](_0x5f4f5a||''),_0x4735fb=!0x0,_0x2622bc=_0x2a7b28['showDeveloperTools']&&_0xeea795[_0x16e456(0x208)]&&(_0xeea795['mcpServerUrl'][_0x16e456(0x16a)](_0x16e456(0x285))||_0xeea795[_0x16e456(0x208)][_0x16e456(0x16a)]('univer.ai')),_0x4b4f42=(_0x452e5e=_0xeea795[_0x16e456(0x208)])==null?void 0x0:_0x452e5e['includes'](_0x16e456(0x285)),_0x34a3cf=(_0x42054a=_0xeea795['mcpServerUrl'])==null?void 0x0:_0x42054a[_0x16e456(0x16a)](_0x16e456(0x28c)),_0x33d66e=_0x4b4f42?'https://console.univer.plus':_0x16e456(0x216),_0x2545db=_0x2a7b28[_0x16e456(0x1d2)]&&(_0x4b4f42||_0x34a3cf),[_0x27c3d8,_0x1a6a78]=_0x36ed3d[_0x16e456(0x15f)](!_0x221905['trim']()),_0x44c6cc=(_0x3d052a,_0x38b58a)=>{const _0x2dd10e=_0x16e456;if(_0x38b58a===_0x39eab2[_0x2dd10e(0x1c3)][_0x2dd10e(0x2a8)])return _0x2dd10e(0x287);switch(_0x3d052a){case _0x39eab2[_0x2dd10e(0x19e)]['CONNECTED']:return _0x2dd10e(0x26a);case _0x39eab2['MCPConnectionStatus']['CONNECTING']:case _0x39eab2[_0x2dd10e(0x19e)][_0x2dd10e(0x15b)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x39eab2['MCPConnectionStatus'][_0x2dd10e(0x290)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x171b18=(_0x52fefe,_0x17bab0)=>{const _0x3e2c98=_0x16e456;if(_0x17bab0===_0x39eab2[_0x3e2c98(0x1c3)][_0x3e2c98(0x2a8)])return _0x3e2c98(0x2b1);switch(_0x52fefe){case _0x39eab2[_0x3e2c98(0x19e)][_0x3e2c98(0x26d)]:return _0x3e2c98(0x244);case _0x39eab2['MCPConnectionStatus']['CONNECTING']:case _0x39eab2['MCPConnectionStatus'][_0x3e2c98(0x15b)]:return _0x3e2c98(0x1fb);case _0x39eab2[_0x3e2c98(0x19e)]['FAILED']:return _0x3e2c98(0x2b1);default:return _0x3e2c98(0x286);}},_0x2ec57b=_0x3275aa=>{const _0x35aebf=_0x16e456;switch(_0x3275aa){case _0x39eab2[_0x35aebf(0x19e)]['CONNECTED']:return _0xb259f8['t'](_0x35aebf(0x212));case _0x39eab2[_0x35aebf(0x19e)][_0x35aebf(0x240)]:return _0xb259f8['t']('mcpConfig.connectionStatus.connecting');case _0x39eab2[_0x35aebf(0x19e)][_0x35aebf(0x290)]:return _0xb259f8['t'](_0x35aebf(0x1f0));case _0x39eab2[_0x35aebf(0x19e)]['RETRYING']:return _0xb259f8['t'](_0x35aebf(0x188));default:return _0xb259f8['t']('mcpConfig.connectionStatus.disconnected');}},_0x16aaf0=_0x22f914=>{const _0x328fcc=_0x16e456;switch(_0x22f914){case _0x39eab2[_0x328fcc(0x1c3)][_0x328fcc(0x2a8)]:return _0xb259f8['t'](_0x328fcc(0x169));case _0x39eab2[_0x328fcc(0x1c3)][_0x328fcc(0x270)]:return _0xb259f8['t'](_0x328fcc(0x1f9));case _0x39eab2['MCPConnectionError'][_0x328fcc(0x227)]:return _0xb259f8['t'](_0x328fcc(0x1fc));case _0x39eab2[_0x328fcc(0x1c3)][_0x328fcc(0x2a6)]:return _0xb259f8['t'](_0x328fcc(0x1a1));default:return'';}},_0x5cfafa=_0x36ed3d['useCallback'](()=>{const _0x27363e={..._0xeea795,'apiKey':_0x221905['trim'](),'enableAuth':_0x4735fb};_0x5c8851(_0x27363e);},[_0xeea795,_0x221905,_0x4735fb,_0x5c8851]),_0x45fc37=_0x221905[_0x16e456(0x15d)]()[_0x16e456(0x220)]>0x0;return _0x3a4e8c[_0x16e456(0x1b1)]('div',{'className':_0x16e456(0x147),'children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x16e456(0x2ac),'children':_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x177),'children':[_0x3a4e8c['jsx'](_0x16e456(0x17d),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x3a4e8c['jsx'](_0x16e456(0x1ab),{'className':_0x16e456(0x1ca),'children':'⚙'})}),_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'children':_0x3a4e8c[_0x16e456(0x226)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0xb259f8['t'](_0x16e456(0x19d))})})]})}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x1a8f42[_0x16e456(0x189)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x44c6cc(_0xda0e55,_0x47ea62)),'children':_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x158),'children':[_0x3a4e8c['jsx'](_0x16e456(0x17d),{'className':_0x1a8f42[_0x16e456(0x189)](_0x16e456(0x260),_0x171b18(_0xda0e55,_0x47ea62))}),_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x1ab),{'className':_0x16e456(0x195),'children':_0x2ec57b(_0xda0e55)})]})}),_0x47ea62!==_0x39eab2[_0x16e456(0x1c3)][_0x16e456(0x148)]&&(_0xda0e55===_0x39eab2[_0x16e456(0x19e)][_0x16e456(0x290)]||_0x47ea62===_0x39eab2['MCPConnectionError'][_0x16e456(0x2a8)])&&_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x16e456(0x1e4),'children':_0x3a4e8c[_0x16e456(0x1b1)]('div',{'className':_0x16e456(0x140),'children':[_0x3a4e8c[_0x16e456(0x226)]('span',{'className':_0x16e456(0x24d),'children':'⚠️'}),_0x3a4e8c[_0x16e456(0x226)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x16aaf0(_0x47ea62)})]})})]}),_0x3a4e8c['jsx'](_0x16e456(0x17d),{'className':_0x16e456(0x297),'children':_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x1d4),'children':[_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x16b),'children':[_0x3a4e8c[_0x16e456(0x1b1)]('label',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x1ab),{'children':'🔑'}),'\x20',_0xb259f8['t'](_0x16e456(0x205)),_0x3a4e8c['jsx']('span',{'className':_0x16e456(0x131),'children':'*'}),_0x2622bc&&_0x3a4e8c[_0x16e456(0x226)]('a',{'className':_0x16e456(0x279),'title':_0xb259f8['t'](_0x16e456(0x2ab)),'role':_0x16e456(0x190),'onClick':()=>_0x1a6a78(!0x0),'children':_0x3a4e8c[_0x16e456(0x226)](_0x535a49,{})})]}),_0x3a4e8c[_0x16e456(0x226)](_0x1a8f42[_0x16e456(0x1bc)],{'type':_0x16e456(0x1eb),'placeholder':_0xb259f8['t'](_0x16e456(0x27e)),'value':_0x221905,'disabled':_0x485809,'autoComplete':'off','onChange':_0x44d024}),_0x3a4e8c[_0x16e456(0x226)]('p',{'className':_0x16e456(0x182),'children':_0xb259f8['t'](_0x16e456(0x239))})]}),_0x2622bc&&_0x27c3d8&&_0x3a4e8c[_0x16e456(0x1b1)]('div',{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x3a4e8c[_0x16e456(0x226)]('a',{'className':_0x16e456(0x157),'role':_0x16e456(0x190),'onClick':()=>_0x1a6a78(!0x1),'children':_0x3a4e8c[_0x16e456(0x226)](_0x4c53f2,{'className':_0x16e456(0x127)})}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x256),'children':[_0x3a4e8c['jsx'](_0x16e456(0x17d),{'className':_0x16e456(0x282),'children':_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x1ab),{'className':_0x16e456(0x28a),'children':'🚀'})}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x135),'children':[_0x3a4e8c[_0x16e456(0x226)]('h4',{'className':_0x16e456(0x123),'children':_0xb259f8['t']('mcpConfig.apiApplyInfo.title')}),_0x3a4e8c[_0x16e456(0x226)]('p',{'className':_0x16e456(0x26c),'children':_0xb259f8['t']('mcpConfig.apiApplyInfo.description')}),_0x3a4e8c['jsx'](_0x16e456(0x17d),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x2545db&&_0x3a4e8c[_0x16e456(0x1b1)]('a',{'className':_0x16e456(0x126),'href':_0x33d66e,'target':_0x16e456(0x1a8),'rel':_0x16e456(0x1f1),'children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x1ab),{'children':'🤖'}),_0xb259f8['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x1ab),{'className':_0x16e456(0x1f3),'children':'↗'})]})}),_0x3a4e8c['jsxs'](_0x16e456(0x17d),{'className':_0x16e456(0x163),'children':['✨','\x20',_0xb259f8['t'](_0x16e456(0x28e))]})]})]})]}),_0x2a7b28['showDeveloperTools']&&_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x296),'children':[_0x3a4e8c['jsxs']('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x3a4e8c[_0x16e456(0x226)]('span',{'children':'🔗'}),'\x20',_0xb259f8['t']('mcpConfig.connectionInfo')]}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x1ec),'children':[_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x130),'children':[_0x3a4e8c[_0x16e456(0x226)]('p',{'className':_0x16e456(0x1e9),'children':_0xb259f8['t'](_0x16e456(0x253))}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x16b),'children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0xb259f8['t'](_0x16e456(0x261))}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x158),'children':[_0x3a4e8c[_0x16e456(0x226)]('span',{'className':_0x16e456(0x1ea),'children':'1'}),_0xb259f8['t'](_0x16e456(0x1e5))]}),_0x3a4e8c[_0x16e456(0x1b1)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3a4e8c[_0x16e456(0x226)]('span',{'className':_0x16e456(0x1ea),'children':'2'}),_0xb259f8['t'](_0x16e456(0x211))]}),_0x3a4e8c['jsxs'](_0x16e456(0x17d),{'className':_0x16e456(0x158),'children':[_0x3a4e8c[_0x16e456(0x226)]('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'}),_0xb259f8['t'](_0x16e456(0x128))]})]})]})]}),_0x3a4e8c[_0x16e456(0x1b1)]('div',{'className':'univer-space-y-2','children':[_0x3a4e8c[_0x16e456(0x226)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':'MCP\x20Configuration'}),_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x3a4e8c[_0x16e456(0x226)]('pre',{'className':_0x16e456(0x141),'children':JSON[_0x16e456(0x178)]({'mcpServers':{'univer':{'url':_0x16e456(0x146)+(_0xf1c322||'<SESSION_ID>'),'type':_0x16e456(0x250),'headers':{'Authorization':_0x16e456(0x1d1)+(_0x221905||_0x16e456(0x1c6))}}}},null,0x2)})})]}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x130),'children':[_0x3a4e8c[_0x16e456(0x226)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0xb259f8['t'](_0x16e456(0x154))}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x16b),'children':[_0x3a4e8c['jsxs']('div',{'className':_0x16e456(0x13e),'children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x16e456(0x248)}),_0x3a4e8c[_0x16e456(0x1b1)]('div',{'className':_0x16e456(0x28b),'children':[_0x3a4e8c['jsx'](_0x16e456(0x17d),{'className':_0x16e456(0x1ac),'children':'univer_session_id:'}),_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x16e456(0x182),'children':_0xb259f8['t'](_0x16e456(0x184))})]})]}),_0x3a4e8c['jsxs'](_0x16e456(0x17d),{'className':_0x16e456(0x13e),'children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x16e456(0x248)}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'className':_0x16e456(0x28b),'children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x16e456(0x1ac),'children':_0x16e456(0x298)}),_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x16e456(0x182),'children':_0xb259f8['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x3a4e8c[_0x16e456(0x226)](_0x1a8f42[_0x16e456(0x251)],{'onClick':_0x5cfafa,'disabled':!_0x45fc37||_0x485809,'className':_0x16e456(0x14b),'children':_0x485809?_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x1ab),{'className':_0x16e456(0x158),'children':[_0x3a4e8c['jsx'](_0x16e456(0x1ab),{'children':'⟲'}),_0xb259f8['t']('mcpConfig.saving')]}):_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x1ab),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3a4e8c[_0x16e456(0x226)](_0x10b778,{}),_0xb259f8['t']('mcpConfig.save')]})}),_0x3a4e8c[_0x16e456(0x226)]('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x3a4e8c['jsxs'](_0x16e456(0x17d),{'className':'univer-flex\x20univer-gap-3','children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x1ab),{'className':_0x16e456(0x215),'children':'💡'}),_0x3a4e8c['jsxs'](_0x16e456(0x17d),{'className':_0x16e456(0x24b),'children':[_0x3a4e8c[_0x16e456(0x226)](_0x16e456(0x17d),{'className':_0x16e456(0x139),'children':_0x16e456(0x150)}),_0x3a4e8c[_0x16e456(0x1b1)]('div',{'children':['•',_0xb259f8['t'](_0x16e456(0x15e))]}),_0x3a4e8c[_0x16e456(0x1b1)](_0x16e456(0x17d),{'children':['•',_0xb259f8['t'](_0x16e456(0x1a7))]})]})]})})]})})]});}const _0x4dafa1=_0x27a626(0x2a5),_0x2cc86e={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x1abc99=Object[_0x27a626(0x161)],_0x1bbeb1=(_0x5dedc0,_0x53262b,_0x4f38bb,_0x5a63e0)=>{const _0x5e8c69=_0x27a626;for(var _0x1d6071=_0x5a63e0>0x1?void 0x0:_0x5a63e0?_0x1abc99(_0x53262b,_0x4f38bb):_0x53262b,_0x49dce2=_0x5dedc0[_0x5e8c69(0x220)]-0x1,_0x4f85f8;_0x49dce2>=0x0;_0x49dce2--)(_0x4f85f8=_0x5dedc0[_0x49dce2])&&(_0x1d6071=_0x4f85f8(_0x1d6071)||_0x1d6071);return _0x1d6071;},_0x15dd7a=(_0x8504cc,_0x246880)=>(_0x12c614,_0x17810a)=>_0x246880(_0x12c614,_0x17810a,_0x8504cc);const _0x40e145=_0x27a626(0x12d),_0x242ef9=_0x27a626(0x1ff);_0xb91ea1[_0x27a626(0x27f)]=class extends _0x7cc0f4[_0x27a626(0x24a)]{constructor(_0x3b6010,_0x3fb91d,_0x3892ac,_0x4ed911,_0x486c14,_0x31b42a,_0x2be299,_0x17a3a5,_0x56523b,_0x4a33f1){const _0x3f8e46=_0x27a626;super(),_0x1752be(this,_0x3f8e46(0x138),new _0x4f0d59[(_0x3f8e46(0x1f8))](!0x1)),_0x1752be(this,_0x3f8e46(0x21f),new _0x4f0d59[(_0x3f8e46(0x1f8))]({})),_0x1752be(this,_0x3f8e46(0x1ee),new _0x4f0d59[(_0x3f8e46(0x1f8))]({})),_0x1752be(this,_0x3f8e46(0x143),new _0x4f0d59['BehaviorSubject']('')),_0x1752be(this,_0x3f8e46(0x1f2),async _0x2d6ab7=>{const _0x5342d0=_0x3f8e46;var _0x59777a,_0x275dd9;this[_0x5342d0(0x138)][_0x5342d0(0x24c)](!0x0);try{const _0x3119e5=await this[_0x5342d0(0x27a)](_0x2d6ab7);if(!_0x3119e5[_0x5342d0(0x2a7)]){this[_0x5342d0(0x19b)][_0x5342d0(0x294)]({'type':_0x1a8f42[_0x5342d0(0x26b)][_0x5342d0(0x200)],'content':_0x3119e5['errorMessage']||this[_0x5342d0(0x1df)]['t'](_0x5342d0(0x1e2))});return;}_0x2d6ab7[_0x5342d0(0x142)]?await this[_0x5342d0(0x225)][_0x5342d0(0x17a)](_0x40e145,_0x2d6ab7[_0x5342d0(0x142)][_0x5342d0(0x15d)]()):await this[_0x5342d0(0x225)][_0x5342d0(0x22b)](_0x40e145),this['_apiKey$'][_0x5342d0(0x24c)](((_0x59777a=_0x2d6ab7['apiKey'])==null?void 0x0:_0x59777a[_0x5342d0(0x15d)]())||''),this[_0x5342d0(0x233)][_0x5342d0(0x235)]({'Authorization':'Bearer\x20'+((_0x275dd9=_0x2d6ab7[_0x5342d0(0x142)])==null?void 0x0:_0x275dd9[_0x5342d0(0x15d)]())}),this[_0x5342d0(0x19b)][_0x5342d0(0x294)]({'type':_0x1a8f42['MessageType'][_0x5342d0(0x272)],'content':this[_0x5342d0(0x1df)]['t'](_0x5342d0(0x230))}),setTimeout(()=>{const _0x4d7236=_0x5342d0;this[_0x4d7236(0x2a4)]['close'](_0x242ef9);},0x320);}catch(_0xb3c95e){this[_0x5342d0(0x1ba)][_0x5342d0(0x22d)](_0x5342d0(0x160),_0xb3c95e),this[_0x5342d0(0x19b)][_0x5342d0(0x294)]({'type':_0x1a8f42[_0x5342d0(0x26b)][_0x5342d0(0x200)],'content':this[_0x5342d0(0x1df)]['t'](_0x5342d0(0x17f))});}finally{this[_0x5342d0(0x138)]['next'](!0x1);}}),(this[_0x3f8e46(0x198)]=_0x3b6010,this[_0x3f8e46(0x137)]=_0x3fb91d,this['_configService']=_0x3892ac,this[_0x3f8e46(0x225)]=_0x4ed911,this['_dialogService']=_0x486c14,this[_0x3f8e46(0x19b)]=_0x31b42a,this[_0x3f8e46(0x1a6)]=_0x2be299,this['_localeService']=_0x17a3a5,this[_0x3f8e46(0x1ba)]=_0x56523b,this[_0x3f8e46(0x233)]=_0x4a33f1,this[_0x3f8e46(0x180)](),this[_0x3f8e46(0x21a)](),this[_0x3f8e46(0x159)]());}[_0x27a626(0x1cf)](){const _0x2b1e33=_0x27a626,_0x1ee667=this['_configService']['getConfig'](_0x4dafa1);_0x1ee667!=null&&_0x1ee667[_0x2b1e33(0x1d2)]&&this[_0x2b1e33(0x2a4)][_0x2b1e33(0x1fa)]({'id':_0x242ef9,'title':{'title':this[_0x2b1e33(0x1df)]['t']('mcpConfig.title')},'children':{'label':_0x2b1e33(0x173)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{this['_dialogService']['close'](_0x242ef9);}});}[_0x27a626(0x214)](){const _0x57392a=_0x27a626;return this[_0x57392a(0x21f)]['value'];}[_0x27a626(0x159)](){const _0x2e2e69=_0x27a626;this[_0x2e2e69(0x1a9)](this[_0x2e2e69(0x1a6)][_0x2e2e69(0x12f)](_0x2e2e69(0x173),this[_0x2e2e69(0x1dc)]()));}[_0x27a626(0x1dc)](){const _0x515349=_0x27a626;return _0x166521[_0x515349(0x1bd)](()=>{const _0x4ae5b5=_0x515349;var _0x4f45c0,_0xcf6e88,_0x9e234b;return _0x3a4e8c['jsx'](_0x3d9fbe,{'config':this['_config$'][_0x4ae5b5(0x201)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x4ae5b5(0x201)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x4ae5b5(0x1f2)],'loading':this[_0x4ae5b5(0x138)][_0x4ae5b5(0x201)],'connectionStatus$':(_0x4f45c0=this[_0x4ae5b5(0x233)])==null?void 0x0:_0x4f45c0[_0x4ae5b5(0x170)],'connectionError$':(_0xcf6e88=this[_0x4ae5b5(0x233)])==null?void 0x0:_0xcf6e88[_0x4ae5b5(0x25d)],'currentSessionId$':(_0x9e234b=this['_mcpConnectionController'])==null?void 0x0:_0x9e234b[_0x4ae5b5(0x1b3)]});},this[_0x515349(0x198)]);}[_0x27a626(0x180)](){const _0x579146=_0x27a626;this[_0x579146(0x1a9)](this['_configService'][_0x579146(0x1db)](_0x39eab2[_0x579146(0x1f4)])[_0x579146(0x29b)](_0xb595be=>{const _0x21d3fa=_0x579146;this[_0x21d3fa(0x21f)][_0x21d3fa(0x24c)](_0xb595be||{});}));const _0x5ca88b=this[_0x579146(0x291)]['getConfig'](_0x39eab2[_0x579146(0x1f4)]);this[_0x579146(0x21f)][_0x579146(0x24c)](_0x5ca88b||{}),this[_0x579146(0x1a9)](this[_0x579146(0x291)][_0x579146(0x1db)](_0x4dafa1)[_0x579146(0x29b)](_0x456195=>{const _0x41be3a=_0x579146;this[_0x41be3a(0x1ee)][_0x41be3a(0x24c)](_0x456195||{});}));const _0x17be3d=this[_0x579146(0x291)][_0x579146(0x254)](_0x4dafa1);this[_0x579146(0x1ee)][_0x579146(0x24c)](_0x17be3d||{});}async['_loadStoredApiKey'](){const _0x5d1911=_0x27a626,_0x2b494d=this[_0x5d1911(0x291)][_0x5d1911(0x254)](_0x4dafa1);if(!(_0x2b494d!=null&&_0x2b494d[_0x5d1911(0x1d2)]))return;const _0x4ff4fb=await this[_0x5d1911(0x225)][_0x5d1911(0x228)](_0x40e145);_0x4ff4fb&&(this[_0x5d1911(0x233)][_0x5d1911(0x235)]({'Authorization':'Bearer\x20'+_0x4ff4fb}),this[_0x5d1911(0x143)][_0x5d1911(0x24c)](_0x4ff4fb));}async[_0x27a626(0x27a)](_0x3f0c44){const _0x458512=_0x27a626;if(!_0x3f0c44[_0x458512(0x142)]||_0x3f0c44[_0x458512(0x142)][_0x458512(0x15d)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x458512(0x1df)]['t'](_0x458512(0x12b))};if(_0x3f0c44[_0x458512(0x142)][_0x458512(0x15d)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x458512(0x246))};try{const _0x426c34=await this[_0x458512(0x198)]['get'](_0x39eab2[_0x458512(0x174)])[_0x458512(0x27d)](_0x3f0c44[_0x458512(0x142)][_0x458512(0x15d)]());return _0x426c34[_0x458512(0x2a7)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x426c34[_0x458512(0x22d)]||this[_0x458512(0x1df)]['t'](_0x458512(0x14f))};}catch(_0xf3cf68){return console[_0x458512(0x293)](_0x458512(0x25c),_0xf3cf68),{'isValid':!0x0};}}},_0xb91ea1[_0x27a626(0x27f)]=_0x1bbeb1([_0x15dd7a(0x0,_0x7cc0f4['Inject'](_0x7cc0f4[_0x27a626(0x153)])),_0x15dd7a(0x1,_0x166521[_0x27a626(0x277)]),_0x15dd7a(0x2,_0x7cc0f4[_0x27a626(0x29f)]),_0x15dd7a(0x3,_0x7cc0f4['ILocalStorageService']),_0x15dd7a(0x4,_0x166521[_0x27a626(0x266)]),_0x15dd7a(0x5,_0x166521['IMessageService']),_0x15dd7a(0x6,_0x7cc0f4[_0x27a626(0x14e)](_0x166521[_0x27a626(0x194)])),_0x15dd7a(0x7,_0x7cc0f4[_0x27a626(0x14e)](_0x7cc0f4[_0x27a626(0x224)])),_0x15dd7a(0x8,_0x7cc0f4[_0x27a626(0x1da)]),_0x15dd7a(0x9,_0x7cc0f4['Inject'](_0x39eab2[_0x27a626(0x174)]))],_0xb91ea1[_0x27a626(0x27f)]);const _0x1ece88={'id':'mcp-ui.command.openConfigPanel','type':_0x7cc0f4[_0x27a626(0x196)][_0x27a626(0x165)],'handler':async(_0x11e5c3,_0x60da34)=>(_0x11e5c3[_0x27a626(0x125)](_0xb91ea1[_0x27a626(0x27f)])[_0x27a626(0x1cf)](),!0x0)};function _0x3842cc(_0x4b89b4,_0xf46735){const _0x5a3699=_0x27a626;switch(_0x4b89b4){case _0x39eab2[_0x5a3699(0x19e)][_0x5a3699(0x1d8)]:return _0x5a3699(0x1ef);case _0x39eab2[_0x5a3699(0x19e)][_0x5a3699(0x240)]:return _0x5a3699(0x281);case _0x39eab2[_0x5a3699(0x19e)][_0x5a3699(0x26d)]:return _0x5a3699(0x274);case _0x39eab2[_0x5a3699(0x19e)][_0x5a3699(0x290)]:switch(_0xf46735){case _0x39eab2[_0x5a3699(0x1c3)][_0x5a3699(0x2a8)]:return _0x5a3699(0x25a);case _0x39eab2[_0x5a3699(0x1c3)][_0x5a3699(0x270)]:return'mcpStatus.sessionOccupied';case _0x39eab2[_0x5a3699(0x1c3)][_0x5a3699(0x227)]:return'mcpStatus.networkError';case _0x39eab2[_0x5a3699(0x1c3)][_0x5a3699(0x2a6)]:return'mcpStatus.maxRetriesExceeded';default:return _0x5a3699(0x133);}case _0x39eab2['MCPConnectionStatus'][_0x5a3699(0x15b)]:return _0x5a3699(0x1dd);default:return _0x5a3699(0x122);}}function _0x1bb60b(_0xc1341,_0x35f5d1,_0xd5ba0b,_0x3fe662=!0x0){const _0x1f4f29=_0x27a626,_0x4ee568=_0x3842cc(_0xc1341,_0x35f5d1),_0x5d1d39=_0xd5ba0b['t'](_0x4ee568);return _0x3fe662?_0xc1341===_0x39eab2[_0x1f4f29(0x19e)][_0x1f4f29(0x1d8)]&&_0x35f5d1===_0x39eab2['MCPConnectionError']['UNAUTHORIZED']?_0x5d1d39+'\x20-\x20'+_0xd5ba0b['t'](_0x1f4f29(0x179)):_0xc1341===_0x39eab2[_0x1f4f29(0x19e)][_0x1f4f29(0x26d)]?''+_0x5d1d39:_0xc1341===_0x39eab2[_0x1f4f29(0x19e)][_0x1f4f29(0x1d8)]||_0xc1341===_0x39eab2['MCPConnectionStatus'][_0x1f4f29(0x290)]?_0x5d1d39+_0x1f4f29(0x1c9)+_0xd5ba0b['t']('mcpStatus.clickToConnect'):_0x5d1d39:_0x5d1d39;}function _0x12e95f(_0x48a539){const _0x6cd35=_0x27a626;switch(_0x48a539){case _0x39eab2[_0x6cd35(0x19e)][_0x6cd35(0x26d)]:return _0x6cd35(0x20e);case _0x39eab2[_0x6cd35(0x19e)]['CONNECTING']:case _0x39eab2[_0x6cd35(0x19e)][_0x6cd35(0x15b)]:return'univer-text-yellow-500';case _0x39eab2['MCPConnectionStatus'][_0x6cd35(0x290)]:case _0x39eab2[_0x6cd35(0x19e)]['DISCONNECTED']:return _0x6cd35(0x131);default:return _0x6cd35(0x1d3);}}function _0x2c272d(_0x241502){const _0xfa8b71=_0x27a626,{status$:_0x4671aa,error$:_0x1434a6,onConfigure:_0x413aab,showClickable:_0x422a67=!0x0}=_0x241502,_0x227d94=_0x166521[_0xfa8b71(0x1a0)](_0x4671aa,_0x39eab2[_0xfa8b71(0x19e)]['DISCONNECTED']),_0x3b356d=_0x166521['useObservable'](_0x1434a6,_0x39eab2[_0xfa8b71(0x1c3)][_0xfa8b71(0x148)]),_0x2bf0e1=_0x166521[_0xfa8b71(0x18e)](_0x7cc0f4[_0xfa8b71(0x224)]),_0x227bdb=_0x227d94===_0x39eab2['MCPConnectionStatus']['CONNECTED'];_0x227d94===_0x39eab2[_0xfa8b71(0x19e)][_0xfa8b71(0x240)]||_0x39eab2[_0xfa8b71(0x19e)]['RETRYING'];const _0x181c5e=_0x2bf0e1['t'](_0x3842cc(_0x227d94,_0x3b356d)),_0x379ee5=_0x1bb60b(_0x227d94,_0x3b356d,_0x2bf0e1,_0x422a67),_0x13d28a=_0x12e95f(_0x227d94),_0x16c166=_0x227bdb?_0x3a4e8c['jsx'](_0x51ab62,{}):_0x3a4e8c[_0xfa8b71(0x226)](_0x3b0b3b,{}),_0x2edbaa=_0x36ed3d['useCallback'](()=>{_0x422a67&&_0x413aab&&_0x413aab();},[_0x422a67,_0x413aab]);function _0x4cf574(){const _0x51c20d=_0xfa8b71;return _0x3a4e8c[_0x51c20d(0x1b1)](_0x51c20d(0x17d),{'className':_0x1a8f42[_0x51c20d(0x189)](_0x51c20d(0x14c),_0x422a67&&_0x413aab&&_0x51c20d(0x181)),'role':_0x51c20d(0x190),'onClick':_0x422a67&&_0x413aab?_0x2edbaa:void 0x0,'children':[_0x3a4e8c[_0x51c20d(0x226)](_0x51c20d(0x17d),{'className':_0x1a8f42[_0x51c20d(0x189)](_0x51c20d(0x197),_0x13d28a),'children':_0x16c166}),_0x3a4e8c[_0x51c20d(0x226)](_0x51c20d(0x17d),{'className':_0x51c20d(0x132),'children':_0x181c5e})]});}return _0x3a4e8c[_0xfa8b71(0x226)](_0x1a8f42[_0xfa8b71(0x288)],{'title':_0x379ee5,'placement':_0xfa8b71(0x1ad),'children':_0x4cf574()});}var _0x14ae3f=Object[_0x27a626(0x161)],_0x23d59b=(_0x51d850,_0x292524,_0x30000c,_0x5821e9)=>{const _0x2f597e=_0x27a626;for(var _0x25050c=_0x5821e9>0x1?void 0x0:_0x5821e9?_0x14ae3f(_0x292524,_0x30000c):_0x292524,_0x2a843e=_0x51d850[_0x2f597e(0x220)]-0x1,_0x2185b5;_0x2a843e>=0x0;_0x2a843e--)(_0x2185b5=_0x51d850[_0x2a843e])&&(_0x25050c=_0x2185b5(_0x25050c)||_0x25050c);return _0x25050c;},_0x4f92a7=(_0x35c734,_0xbc994d)=>(_0x181073,_0x12f499)=>_0xbc994d(_0x181073,_0x12f499,_0x35c734);_0xb91ea1[_0x27a626(0x276)]=class extends _0x7cc0f4[_0x27a626(0x24a)]{constructor(_0x39cf9e,_0x25c423,_0x5e0e2d,_0x571e19){const _0xbf113e=_0x27a626;super(),this['_injector']=_0x39cf9e,this[_0xbf113e(0x176)]=_0x25c423,this[_0xbf113e(0x137)]=_0x5e0e2d,this['_configService']=_0x571e19,this[_0xbf113e(0x192)](),this[_0xbf113e(0x19c)]();}[_0x27a626(0x192)](){const _0x3e1401=_0x27a626,_0x416cf2=this[_0x3e1401(0x291)][_0x3e1401(0x254)](_0x4dafa1);_0x416cf2!=null&&_0x416cf2['showDeveloperTools']&&(this[_0x3e1401(0x176)]['enableAutoConnect']=!0x1);}['_initStatusComponent'](){const _0x4341ca=_0x27a626,_0x22adc9=this[_0x4341ca(0x291)][_0x4341ca(0x254)](_0x4dafa1);(_0x22adc9==null?void 0x0:_0x22adc9[_0x4341ca(0x262)])!==!0x1&&this[_0x4341ca(0x1a9)](this['_uiPartsService'][_0x4341ca(0x1b6)](_0x166521[_0x4341ca(0x1cc)][_0x4341ca(0x171)],()=>{const _0x208fb3=_0x4341ca;var _0x1c8929;return _0x166521[_0x208fb3(0x1bd)](_0x475dc3({'status$':this[_0x208fb3(0x176)]['connectionStatus$'],'error$':this['_connectionController'][_0x208fb3(0x25d)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x1c8929=_0x22adc9==null?void 0x0:_0x22adc9['showDeveloperTools'])!=null?_0x1c8929:!0x1}),this[_0x208fb3(0x198)]);}));}[_0x27a626(0x16c)](){const _0x3f6797=_0x27a626;this[_0x3f6797(0x198)]['get'](_0xb91ea1[_0x3f6797(0x27f)])[_0x3f6797(0x1cf)]();}},_0xb91ea1[_0x27a626(0x276)]=_0x23d59b([_0x4f92a7(0x0,_0x7cc0f4[_0x27a626(0x14e)](_0x7cc0f4[_0x27a626(0x153)])),_0x4f92a7(0x1,_0x7cc0f4[_0x27a626(0x14e)](_0x39eab2[_0x27a626(0x174)])),_0x4f92a7(0x2,_0x166521['IUIPartsService']),_0x4f92a7(0x3,_0x7cc0f4['IConfigService'])],_0xb91ea1[_0x27a626(0x276)]);function _0x475dc3(_0x93c729){const {status$:_0x4dbddc,error$:_0x2b7e29,onConfigure:_0x529758,showClickable:_0x3e87b4}=_0x93c729;return function(){const _0x5c0449=_0x75d8;return _0x3a4e8c[_0x5c0449(0x226)](_0x2c272d,{'status$':_0x4dbddc,'error$':_0x2b7e29,'onConfigure':_0x529758,'showClickable':_0x3e87b4});};}function _0x588c51(_0x227c6e){const _0xdebc0a=_0x27a626;return{'id':_0x1ece88['id'],'type':_0x166521['MenuItemType'][_0xdebc0a(0x236)],'icon':_0xdebc0a(0x284),'title':_0xdebc0a(0x1af),'tooltip':'mcpConfig.title'};}const _0x8aa6cd={[_0x166521[_0x27a626(0x172)][_0x27a626(0x26e)]]:{[_0x1ece88['id']]:{'order':0xa,'menuItemFactory':_0x588c51}}};var _0x1fdc10=Object['getOwnPropertyDescriptor'],_0x4f8d33=(_0x3dce7f,_0x585350,_0x5c5997,_0x28b0b4)=>{const _0x59b0f7=_0x27a626;for(var _0x5bace0=_0x28b0b4>0x1?void 0x0:_0x28b0b4?_0x1fdc10(_0x585350,_0x5c5997):_0x585350,_0x4d8846=_0x3dce7f[_0x59b0f7(0x220)]-0x1,_0x1452c6;_0x4d8846>=0x0;_0x4d8846--)(_0x1452c6=_0x3dce7f[_0x4d8846])&&(_0x5bace0=_0x1452c6(_0x5bace0)||_0x5bace0);return _0x5bace0;},_0x4bff68=(_0xb9d552,_0x5e3949)=>(_0x3e4599,_0x2b13b5)=>_0x5e3949(_0x3e4599,_0x2b13b5,_0xb9d552);_0xb91ea1[_0x27a626(0x1bf)]=class extends _0x7cc0f4[_0x27a626(0x24a)]{constructor(_0x42a8af,_0x3f5449){const _0x262c58=_0x27a626;super(),this[_0x262c58(0x264)]=_0x42a8af,this[_0x262c58(0x247)]=_0x3f5449,this[_0x262c58(0x1cd)](),this['_initializeMenus']();}['_initializeCommands'](){[_0x1ece88]['forEach'](_0x402b6f=>{const _0x36e2c8=_0x75d8;this[_0x36e2c8(0x1a9)](this[_0x36e2c8(0x264)][_0x36e2c8(0x23d)](_0x402b6f));});}['_initializeMenus'](){const _0x6ae7e8=_0x27a626;this[_0x6ae7e8(0x247)][_0x6ae7e8(0x1e7)](_0x8aa6cd);}},_0xb91ea1[_0x27a626(0x1bf)]=_0x4f8d33([_0x4bff68(0x0,_0x7cc0f4[_0x27a626(0x28f)]),_0x4bff68(0x1,_0x166521[_0x27a626(0x1bb)])],_0xb91ea1[_0x27a626(0x1bf)]);const _0x2cdad2={'mcpStatus':{'disconnected':_0x27a626(0x162),'connecting':'MCP\x20Connecting...','connected':_0x27a626(0x124),'failed':_0x27a626(0x289),'retrying':_0x27a626(0x17e),'unknown':_0x27a626(0x263),'unauthorized':_0x27a626(0x223),'sessionOccupied':_0x27a626(0x25f),'networkError':_0x27a626(0x28d),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x27a626(0x19f),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x27a626(0x2b0),'description':_0x27a626(0x2a2),'apiKey':_0x27a626(0x280),'apiKeyPlaceholder':_0x27a626(0x241),'apiKeyHint':_0x27a626(0x21b),'enableAuth':_0x27a626(0x27c),'enableAuthHint':_0x27a626(0x1c7),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x27a626(0x210),'configStep1':_0x27a626(0x12c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x27a626(0x1f7),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x27a626(0x1de),'configParameters':_0x27a626(0x207),'maxRetries':_0x27a626(0x166),'save':'Save\x20Configuration','saving':_0x27a626(0x23a),'note1':_0x27a626(0x134),'note2':_0x27a626(0x1fe),'configSaved':_0x27a626(0x29d),'configError':_0x27a626(0x232),'apiApplyInfo':{'title':_0x27a626(0x1c1),'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':_0x27a626(0x199),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x27a626(0x273),'invalidConfig':_0x27a626(0x1e6),'invalidApiKey':_0x27a626(0x145)},'connectionStatus':{'disconnected':_0x27a626(0x17b),'connecting':_0x27a626(0x13d),'connected':_0x27a626(0x14a),'failed':_0x27a626(0x23e),'retrying':_0x27a626(0x1d6)},'connectionError':{'unauthorized':_0x27a626(0x2a0),'sessionOccupied':_0x27a626(0x221),'networkError':_0x27a626(0x12a),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x44b4a6={'mcpStatus':{'disconnected':_0x27a626(0x1cb),'connecting':_0x27a626(0x1ae),'connected':'MCP\x20已连接','failed':_0x27a626(0x19a),'retrying':'MCP\x20重连中...','unknown':_0x27a626(0x242),'unauthorized':_0x27a626(0x283),'sessionOccupied':_0x27a626(0x1be),'networkError':_0x27a626(0x29a),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x27a626(0x1e0)},'mcpConfig':{'title':_0x27a626(0x257),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x27a626(0x1f6),'apiKeyPlaceholder':_0x27a626(0x237),'apiKeyHint':_0x27a626(0x167),'enableAuth':'启用身份验证','enableAuthHint':_0x27a626(0x2a1),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x27a626(0x1d0),'configStepTitle':_0x27a626(0x1b5),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x27a626(0x245),'configStep3':_0x27a626(0x1a5),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x27a626(0x1c2),'maxRetries':_0x27a626(0x16d),'save':_0x27a626(0x1b4),'saving':_0x27a626(0x1c0),'note1':'配置更改将立即生效','note2':_0x27a626(0x16e),'configSaved':_0x27a626(0x1a2),'configError':_0x27a626(0x27b),'apiApplyInfo':{'title':_0x27a626(0x1c4),'description':_0x27a626(0x149),'univerAiLabel':_0x27a626(0x193),'getStarted':_0x27a626(0x229)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x27a626(0x1b0),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x27a626(0x168),'connecting':_0x27a626(0x136),'connected':_0x27a626(0x2a9),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x27a626(0x255),'networkError':_0x27a626(0x13b),'maxRetriesExceeded':_0x27a626(0x1c5)}}};var _0x658239=Object[_0x27a626(0x1e3)],_0x4fe875=Object[_0x27a626(0x161)],_0x3556f2=(_0x2a6104,_0x4b7e09,_0x3fbc87)=>_0x4b7e09 in _0x2a6104?_0x658239(_0x2a6104,_0x4b7e09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fbc87}):_0x2a6104[_0x4b7e09]=_0x3fbc87,_0x1c4543=(_0x3b6dcd,_0x4a4ec5,_0x4d5c76,_0x52cd89)=>{for(var _0x3134a8=_0x52cd89>0x1?void 0x0:_0x52cd89?_0x4fe875(_0x4a4ec5,_0x4d5c76):_0x4a4ec5,_0x41d9f5=_0x3b6dcd['length']-0x1,_0x1f481d;_0x41d9f5>=0x0;_0x41d9f5--)(_0x1f481d=_0x3b6dcd[_0x41d9f5])&&(_0x3134a8=_0x1f481d(_0x3134a8)||_0x3134a8);return _0x3134a8;},_0x423cd0=(_0x21556c,_0xd8ae94)=>(_0x25ee91,_0x3a5926)=>_0xd8ae94(_0x25ee91,_0x3a5926,_0x21556c),_0xe404e8=(_0x585473,_0xdefcfd,_0x144f6c)=>_0x3556f2(_0x585473,_0xdefcfd+'',_0x144f6c);_0xb91ea1[_0x27a626(0x299)]=class extends _0x7cc0f4[_0x27a626(0x20f)]{constructor(_0xa60998=_0x2cc86e,_0x2472c3,_0x5829f4,_0x1e1c59,_0x5513df,_0x3795f4){const _0x53a9b4=_0x27a626;super(),this[_0x53a9b4(0x14d)]=_0xa60998,this[_0x53a9b4(0x198)]=_0x2472c3,this['_configService']=_0x5829f4,this[_0x53a9b4(0x137)]=_0x1e1c59,this[_0x53a9b4(0x225)]=_0x5513df,this[_0x53a9b4(0x1df)]=_0x3795f4;const {..._0x55c527}=_0x7cc0f4[_0x53a9b4(0x1e1)]({},_0x2cc86e,this[_0x53a9b4(0x14d)]);this[_0x53a9b4(0x291)][_0x53a9b4(0x271)](_0x4dafa1,_0x55c527);}async[_0x27a626(0x269)](){const _0x4bfaf2=_0x27a626,_0x29d210=[[_0xb91ea1[_0x4bfaf2(0x276)]],[_0xb91ea1['MCPConfigUIController']],[_0xb91ea1[_0x4bfaf2(0x1bf)]]];this[_0x4bfaf2(0x198)][_0x4bfaf2(0x144)](_0x447dfa['ISocketService'])||_0x29d210[_0x4bfaf2(0x21e)]([_0x447dfa['ISocketService'],{'useClass':_0x447dfa[_0x4bfaf2(0x219)]}]),_0x29d210[_0x4bfaf2(0x222)](_0x54d28a=>this['_injector'][_0x4bfaf2(0x2ae)](_0x54d28a)),this['_injector']['get'](_0xb91ea1[_0x4bfaf2(0x276)]),this['_injector'][_0x4bfaf2(0x125)](_0xb91ea1[_0x4bfaf2(0x27f)]),this['_injector'][_0x4bfaf2(0x125)](_0xb91ea1[_0x4bfaf2(0x1bf)]);}},_0xe404e8(_0xb91ea1[_0x27a626(0x299)],_0x27a626(0x22a),'MCP_UI_PLUGIN'),_0xb91ea1[_0x27a626(0x299)]=_0x1c4543([_0x7cc0f4['DependentOn'](_0x39eab2[_0x27a626(0x18d)]),_0x423cd0(0x1,_0x7cc0f4[_0x27a626(0x14e)](_0x7cc0f4[_0x27a626(0x153)])),_0x423cd0(0x2,_0x7cc0f4[_0x27a626(0x29f)]),_0x423cd0(0x3,_0x166521[_0x27a626(0x277)]),_0x423cd0(0x4,_0x7cc0f4[_0x27a626(0x155)]),_0x423cd0(0x5,_0x7cc0f4[_0x27a626(0x14e)](_0x7cc0f4[_0x27a626(0x224)]))],_0xb91ea1[_0x27a626(0x299)]),_0xb91ea1[_0x27a626(0x173)]=_0x3d9fbe,_0xb91ea1['MCPStatusDisplay']=_0x2c272d,_0xb91ea1['OpenMCPConfigPanelCommand']=_0x1ece88,_0xb91ea1[_0x27a626(0x1d9)]=_0x2cdad2,_0xb91ea1[_0x27a626(0x202)]=_0x44b4a6,Object[_0x27a626(0x1e3)](_0xb91ea1,Symbol[_0x27a626(0x1d7)],{'value':_0x27a626(0x187)});}));
|
|
1
|
+
function _0x4b84(_0x1f8757,_0x1fafb3){_0x1f8757=_0x1f8757-0x114;const _0x241d7d=_0x241d();let _0x4b8434=_0x241d7d[_0x1f8757];return _0x4b8434;}function _0x241d(){const _0x482512=['What\x20is\x20API\x20Key?','off-line-icon_clip0_910_343','<SESSION_ID>','配置步骤:','0\x200\x2016\x2016','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','rxjs','Univer\x20AI\x20Console','mcpConfig.configStep3','\x20-\x20','currentColor','showStatus','会话\x20ID\x20已被占用,请稍后再试','MCPConnectionStatus','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20密钥不能为空','MCP:\x20Unauthorized','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','react','univer-flex\x20univer-gap-3','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','Copy\x20the\x20JSON\x20configuration\x20below','_validateConfig','BuiltInUIPart','MenuIcon','map','MCPConnectionUIController','您的\x20API\x20密钥安全存储在本地存储中','Inject','Error','Click\x20to\x20connect\x20MCP','useObservable','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univerjs-icon\x20univerjs-icon-','random','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','<API_KEY>','__setCustomHeaders','M0\x200H16V16H0z','button','defineProperty','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-flex\x20univer-items-center','colorChannel1','mcpConfig.sessionIdDescription','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','配置保存失败','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCPStatusDisplay','mcpConfig.note2','Bearer\x20','univer-text-xs\x20univer-text-gray-600','trim','register','MessageType','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-text-yellow-500','UniverIcon','mcpStatus.unknown','BehaviorSubject','mcpConfig.description','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','includes','27735qdLacJ','useCallback','_initStatusComponent','MCP\x20已断开','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','mcpStatus.connecting','@univerjs/core','UniverNetwork','_localeService','BUTTON','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','univer-text-xs\x20univer-text-gray-500','Configuration\x20Parameters:','onStarting','_configService','defs','API\x20key\x20is\x20required','HelpIcon','MCP:\x20未授权','forwardRef','连接中...','displayName','disposeWithMe','div','_menuManagerService','Module','getItem','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','@univerjs/network','CommandType','mcpStatus.clickToConnect','MCP\x20Configuration','useDependency','https://console.univer.ai','connectionStatus$','univer-bg-red-500','ComponentManager','univer-text-gray-500','_loadStoredApiKey','white','HEADER_MENU','mcpConfig.configError','MCP:\x20网络错误','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','errorMessage','toString','MCP\x20客户端配置','mcpConfig.apiApplyInfo.univerAiLabel','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-bg-green-500','mcpConfig.apiApplyInfo.title','univer-flex\x20univer-flex-wrap\x20univer-gap-2','path','push','pluginName','_messageService','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20saved\x20successfully','会话ID','1em','6054512UjyYrn','setItem','IDialogService','mcpStatus.clickToConfigure','attrs','getOwnPropertyDescriptor','mcpStatus.sessionOccupied','univer-text-blue-600','mcpConfig.connectionStatus.retrying','RibbonStartGroup','mcpConfig.configStep2','Disconnected','CheckMarkIcon','788590guwvpY','重连中...','svg','FAILED','MCP:\x20超出最大重试次数','DependentOn','on-line-icon','mcpConfig.configInstructions','mcpConfig.apiKey','UniverCore','subscribeConfigValue$','xlink:href','_loading$','_handleConfigSave','已连接','univer-text-red-500','MCPUIMenuController','showConfigPanel','univer-min-w-0\x20univer-flex-1','CloseIcon','useState','React','mcpStatus.connected','LocaleService','off','Enter\x20your\x20API\x20key','_componentManager','IMessageService','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','connectionError$','mcpConfig.title','univer-flex\x20univer-items-start\x20univer-gap-2','getCurrentConfig','showDeveloperTools','univer-shrink-0\x20univer-text-red-500','API\x20密钥长度至少需要\x2010\x20位','OffLineIcon','mcpConfig.save','univer.ai','mcpConfig.connectionStatus.connected','registerComponent','Save\x20Configuration','show','MAX_RETRIES_EXCEEDED','round','use','11129866ACdWiM','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','open','_mcpCoreConfig$','univer-space-y-2','string','useRef','mcpStatus.maxRetriesExceeded','removeItem','mcp-ui.config','sessionId$','启用身份验证以获得安全连接','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','substring','url(#off-line-icon_clip0_910_343)','Get\x20your\x20API\x20key\x20in\x20seconds','http://www.w3.org/2000/svg','MCP\x20Retrying...','Failed\x20to\x20save\x20configuration','_dialogService','您的\x20API\x20密钥将在此浏览器中本地存储','univer-size-2\x20univer-rounded-full','MCP\x20配置','Injector','subscribe','function','assign','http','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP_UI_PLUGIN','exports','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','IUIPartsService','MCP_PLUGIN_CONFIG_KEY','next','MCPConfigUIController','forEach','error','NETWORK_ERROR','CONNECTED','UniverMCPUIPlugin','MCP\x20Unknown\x20Status','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-space-y-4','merge','UniverProMcp','_handleConfigure','clsx','jsxs','配置\x20MCP\x20使用\x20AI\x20操作电子表格','_localStorageService','mcpConfig.connectionError.sessionOccupied','mcpConfig.connectionError.networkError','Univer\x20AI\x20控制台','current','@univerjs-pro/mcp','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','amd','univer-space-y-5','配置保存成功','_injector','SESSION_ID_OCCUPIED','mcpConfig.configStepTitle','mcpConfig.validation.invalidConfig','Saving...','741772tSAyKo','label','MCPConfigPanel','_apiKey$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCP\x20状态未知','Success','mcpStatus.unauthorized','配置无效','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','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','IConfigService','_connectionController','MCP:\x20Network\x20Error','on-line-icon_clip0_910_349','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','ILogService','DISCONNECTED','什么是\x20API\x20密钥?','ILocalStorageService','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_config','_initAutoConnect','fill','Connection\x20Failed','MCP\x20重连中...','mcpConfig.note1','_mcpConnectionController','2120DMksQu','univer-text-white','mcp-config-dialog','noopener\x20noreferrer','jsx','univer-text-green-500','univer-flex\x20univer-items-start\x20univer-gap-3','UniverMCPPlugin','add','url(#on-line-icon_clip0_910_349)','univer-text-sm\x20univer-font-medium','Max\x20Retries','16803pdtCwS','toStringTag','mcpConfig.apiKeyPlaceholder','mcpServerUrl','none','isValid','Click\x20to\x20configure\x20MCP','点击配置\x20MCP','保存配置','enUS','RETRYING','复制以下\x20JSON\x20配置','idSuffix','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20连接失败','Button','Invalid\x20configuration','react/jsx-runtime','span','Session\x20ID','mcpConfig.validation.apiKeyRequired','connectInjector','配置更改将立即生效','MCP\x20连接中...','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-shrink-0\x20univer-text-blue-500','UniverProMcpUi','tag','Disposable','ICommandService','7PxYIBY','_uiPartsService','Connecting...','点击连接\x20MCP','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-text-sm\x20univer-text-gray-500','value','_registerComponent','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','url(#$1','validateApiKey','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','ISocketService','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','OnLineIcon','UNAUTHORIZED','mcpConfig.apiApplyInfo.description','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','@univerjs/design','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20密钥','stringify','连接失败','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20会话\x20ID\x20已被占用','将配置添加到您的\x20MCP\x20客户端设置文件中','重启您的\x20MCP\x20客户端以使配置生效','MenuItemType','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.validation.apiKeyTooShort','clipPath','0\x200\x2017\x2016','univer-bg-blue-500','mcpConfig.configSaved','apiKey','mcpStatus.failed','length','3OUnLuV','MCPConnectionController','univer-space-y-3','get','replace','createElement','mcp.apiKey','enableAutoConnect','4294758eMVqSD','OTHERS','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.apiKeyHint','MCPConnectionError','MCP\x20已连接','CONNECTING','check-mark-icon','mcpConfig.connectionStatus.disconnected','mcpStatus.retrying','entries','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','748SAqcsr','close','univer-bg-gray-500','registerCommand','WebSocketService','Tooltip','保存中...','权限验证失败,请检查您的\x20API\x20密钥','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','_logService','_config$','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpStatus.disconnected','warn','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','未连接','evenodd','Configuration\x20Notes:','Connected','MCP\x20Client\x20Configuration','_createConfigPanelComponent','bottom','NONE','defIds','Input','mask','getConfig'];_0x241d=function(){return _0x482512;};return _0x241d();}(function(_0x48ad8c,_0x57d781){const _0x4f9ba4=_0x4b84,_0x439a9d=_0x48ad8c();while(!![]){try{const _0x17d115=parseInt(_0x4f9ba4(0x196))/0x1+parseInt(_0x4f9ba4(0x206))/0x2*(parseInt(_0x4f9ba4(0x273))/0x3)+parseInt(_0x4f9ba4(0x287))/0x4*(-parseInt(_0x4f9ba4(0x14c))/0x5)+parseInt(_0x4f9ba4(0x27b))/0x6+parseInt(_0x4f9ba4(0x24d))/0x7*(-parseInt(_0x4f9ba4(0x189))/0x8)+-parseInt(_0x4f9ba4(0x22f))/0x9*(parseInt(_0x4f9ba4(0x223))/0xa)+parseInt(_0x4f9ba4(0x1c4))/0xb;if(_0x17d115===_0x57d781)break;else _0x439a9d['push'](_0x439a9d['shift']());}catch(_0x595bd9){_0x439a9d['push'](_0x439a9d['shift']());}}}(_0x241d,0xaa350),function(_0x41e6ef,_0x4e8187){const _0x4a4ee9=_0x4b84;typeof exports=='object'&&typeof module<'u'?_0x4e8187(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x4a4ee9(0x1de)&&define[_0x4a4ee9(0x1fe)]?define([_0x4a4ee9(0x1e3),_0x4a4ee9(0x152),_0x4a4ee9(0x240),_0x4a4ee9(0x1fc),_0x4a4ee9(0x25f),'@univerjs/ui',_0x4a4ee9(0x2ab),_0x4a4ee9(0x11e),_0x4a4ee9(0x169)],_0x4e8187):(_0x41e6ef=typeof globalThis<'u'?globalThis:_0x41e6ef||self,_0x4e8187(_0x41e6ef[_0x4a4ee9(0x249)]={},_0x41e6ef[_0x4a4ee9(0x19f)],_0x41e6ef[_0x4a4ee9(0x1ab)],_0x41e6ef[_0x4a4ee9(0x1f2)],_0x41e6ef['UniverDesign'],_0x41e6ef['UniverUi'],_0x41e6ef[_0x4a4ee9(0x2ab)],_0x41e6ef[_0x4a4ee9(0x1ab)],_0x41e6ef[_0x4a4ee9(0x153)]));}(this,function(_0x152bdd,_0x265896,_0x967220,_0x1aa300,_0xf907c9,_0x121bac,_0x463a2b,_0x1d5fec,_0x33c42d){'use strict';const _0x3fe571=_0x4b84;var _0x46241f=Object[_0x3fe571(0x135)],_0x266e8a=(_0x102fe7,_0x14c65f,_0x1f4daf)=>_0x14c65f in _0x102fe7?_0x46241f(_0x102fe7,_0x14c65f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f4daf}):_0x102fe7[_0x14c65f]=_0x1f4daf,_0xafad84=(_0xc4f5b4,_0xe8d74,_0x1abb10)=>_0x266e8a(_0xc4f5b4,typeof _0xe8d74!='symbol'?_0xe8d74+'':_0xe8d74,_0x1abb10);function _0x38a6f8({ref:_0x35eb7d,..._0x4a9a78}){const _0x1f54c2=_0x3fe571,{icon:_0x505758,id:_0x3e4967,className:_0x47e946,extend:_0x16ed74,..._0x4e4d92}=_0x4a9a78,_0xb3ba4d=(_0x1f54c2(0x12d)+_0x3e4967+'\x20'+(_0x47e946||''))[_0x1f54c2(0x141)](),_0x272a9f=_0x1d5fec[_0x1f54c2(0x1ca)]('_'+_0x147a72());return _0x35c054(_0x505758,''+_0x3e4967,{'defIds':_0x505758[_0x1f54c2(0x29f)],'idSuffix':_0x272a9f[_0x1f54c2(0x1fb)]},{'ref':_0x35eb7d,'className':_0xb3ba4d,..._0x4e4d92},_0x16ed74);}function _0x35c054(_0x2677d8,_0x464d3e,_0x5ec796,_0x23be9f,_0x302b78){const _0x34416b=_0x3fe571;return _0x1d5fec[_0x34416b(0x278)](_0x2677d8[_0x34416b(0x24a)],{'key':_0x464d3e,..._0x229edf(_0x2677d8,_0x5ec796,_0x302b78),..._0x23be9f},(_0x1681dd(_0x2677d8,_0x5ec796)['children']||[])['map']((_0x4cc6e2,_0x1a96f7)=>_0x35c054(_0x4cc6e2,_0x464d3e+'-'+_0x2677d8[_0x34416b(0x24a)]+'-'+_0x1a96f7,_0x5ec796,void 0x0,_0x302b78)));}function _0x229edf(_0x1ac741,_0x3c9e4e,_0x6a8120){const _0x4c9d03=_0x3fe571,_0x37fe12={..._0x1ac741[_0x4c9d03(0x18d)]};_0x6a8120!=null&&_0x6a8120[_0x4c9d03(0x138)]&&_0x37fe12[_0x4c9d03(0x21e)]==='colorChannel1'&&(_0x37fe12[_0x4c9d03(0x21e)]=_0x6a8120[_0x4c9d03(0x138)]),_0x1ac741[_0x4c9d03(0x24a)]===_0x4c9d03(0x2a1)&&_0x37fe12['id']&&(_0x37fe12['id']=_0x37fe12['id']+_0x3c9e4e[_0x4c9d03(0x23b)]),Object['entries'](_0x37fe12)[_0x4c9d03(0x1e9)](([_0x3b2cbf,_0x56f615])=>{const _0x37082a=_0x4c9d03;_0x3b2cbf==='mask'&&typeof _0x56f615==_0x37082a(0x1c9)&&(_0x37fe12[_0x3b2cbf]=_0x56f615[_0x37082a(0x277)](/url\(#(.*)\)/,_0x37082a(0x256)+_0x3c9e4e[_0x37082a(0x23b)]+')'));});const {defIds:_0x4009f0}=_0x3c9e4e;return!_0x4009f0||_0x4009f0[_0x4c9d03(0x272)]===0x0||(_0x1ac741[_0x4c9d03(0x24a)]===_0x4c9d03(0x1c3)&&_0x37fe12[_0x4c9d03(0x1a1)]&&(_0x37fe12['xlink:href']=_0x37fe12[_0x4c9d03(0x1a1)]+_0x3c9e4e[_0x4c9d03(0x23b)]),Object[_0x4c9d03(0x285)](_0x37fe12)[_0x4c9d03(0x1e9)](([_0x1bb2cd,_0x442985])=>{const _0x319f07=_0x4c9d03;typeof _0x442985==_0x319f07(0x1c9)&&(_0x37fe12[_0x1bb2cd]=_0x442985[_0x319f07(0x277)](/url\(#(.*)\)/,_0x319f07(0x256)+_0x3c9e4e[_0x319f07(0x23b)]+')'));})),_0x37fe12;}function _0x1681dd(_0x1ee958,_0x804b87){const _0x454931=_0x3fe571;var _0x5be5de;const {defIds:_0x20c422}=_0x804b87;return!_0x20c422||_0x20c422[_0x454931(0x272)]===0x0?_0x1ee958:_0x1ee958['tag']==='defs'&&((_0x5be5de=_0x1ee958['children'])!=null&&_0x5be5de[_0x454931(0x272)])?{..._0x1ee958,'children':_0x1ee958['children'][_0x454931(0x125)](_0x3da158=>typeof _0x3da158['attrs']['id']==_0x454931(0x1c9)&&_0x20c422&&_0x20c422[_0x454931(0x14b)](_0x3da158[_0x454931(0x18d)]['id'])?{..._0x3da158,'attrs':{..._0x3da158['attrs'],'id':_0x3da158[_0x454931(0x18d)]['id']+_0x804b87[_0x454931(0x23b)]}}:_0x3da158)}:_0x1ee958;}function _0x147a72(){const _0x3b0673=_0x3fe571;return Math[_0x3b0673(0x12e)]()[_0x3b0673(0x17a)](0x24)[_0x3b0673(0x1d2)](0x2,0x8);}_0x38a6f8[_0x3fe571(0x162)]=_0x3fe571(0x146);const _0x58a5f8={'tag':_0x3fe571(0x198),'attrs':{'xmlns':_0x3fe571(0x1d5),'fill':_0x3fe571(0x233),'viewBox':_0x3fe571(0x2a7),'width':_0x3fe571(0x188),'height':_0x3fe571(0x188)},'children':[{'tag':_0x3fe571(0x181),'attrs':{'fill':_0x3fe571(0x116),'d':_0x3fe571(0x2aa),'fillRule':_0x3fe571(0x298),'clipRule':_0x3fe571(0x298)}}]},_0x5cf9e6=_0x1d5fec['forwardRef'](function(_0x402722,_0x3c0944){const _0x5e24e8=_0x3fe571;return _0x1d5fec['createElement'](_0x38a6f8,Object[_0x5e24e8(0x1df)]({},_0x402722,{'id':_0x5e24e8(0x282),'ref':_0x3c0944,'icon':_0x58a5f8}));});_0x5cf9e6[_0x3fe571(0x162)]=_0x3fe571(0x195);const _0x5e6bc2={'tag':_0x3fe571(0x198),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x3fe571(0x188),'height':_0x3fe571(0x188)},'children':[{'tag':_0x3fe571(0x181),'attrs':{'fill':_0x3fe571(0x116),'d':_0x3fe571(0x251)}}]},_0x22db93=_0x1d5fec[_0x3fe571(0x160)](function(_0x46954a,_0x10eb10){const _0x38d930=_0x3fe571;return _0x1d5fec[_0x38d930(0x278)](_0x38a6f8,Object[_0x38d930(0x1df)]({},_0x46954a,{'id':'close-icon','ref':_0x10eb10,'icon':_0x5e6bc2}));});_0x22db93[_0x3fe571(0x162)]=_0x3fe571(0x1a9);const _0x4cb67f={'tag':_0x3fe571(0x198),'attrs':{'xmlns':_0x3fe571(0x1d5),'fill':'none','viewBox':_0x3fe571(0x2a7),'width':_0x3fe571(0x188),'height':_0x3fe571(0x188)},'children':[{'tag':_0x3fe571(0x181),'attrs':{'fill':_0x3fe571(0x116),'d':_0x3fe571(0x211)}},{'tag':_0x3fe571(0x181),'attrs':{'fill':'currentColor','d':_0x3fe571(0x150)}},{'tag':_0x3fe571(0x181),'attrs':{'fill':_0x3fe571(0x116),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':'evenodd','clipRule':'evenodd'}}]},_0x1fe1c5=_0x1d5fec['forwardRef'](function(_0x30a44c,_0x36bbd7){const _0x10b7ef=_0x3fe571;return _0x1d5fec[_0x10b7ef(0x278)](_0x38a6f8,Object[_0x10b7ef(0x1df)]({},_0x30a44c,{'id':'help-icon','ref':_0x36bbd7,'icon':_0x4cb67f}));});_0x1fe1c5['displayName']=_0x3fe571(0x15e);const _0x20b5f6={'tag':'svg','attrs':{'xmlns':_0x3fe571(0x1d5),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x3fe571(0x188),'height':_0x3fe571(0x188)},'children':[{'tag':'g','attrs':{'clipPath':_0x3fe571(0x1d3)},'children':[{'tag':'path','attrs':{'stroke':_0x3fe571(0x116),'d':_0x3fe571(0x1b2),'strokeLinecap':_0x3fe571(0x1c2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3fe571(0x26c),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3fe571(0x181),'attrs':{'fill':_0x3fe571(0x174),'d':_0x3fe571(0x133)}}]}]}],'defIds':[_0x3fe571(0x2a4)]},_0x1ebc17=_0x1d5fec['forwardRef'](function(_0x2b7103,_0x415a5c){const _0xb9d68a=_0x3fe571;return _0x1d5fec[_0xb9d68a(0x278)](_0x38a6f8,Object[_0xb9d68a(0x1df)]({},_0x2b7103,{'id':'off-line-icon','ref':_0x415a5c,'icon':_0x20b5f6}));});_0x1ebc17[_0x3fe571(0x162)]=_0x3fe571(0x1ba);const _0x99311={'tag':_0x3fe571(0x198),'attrs':{'xmlns':_0x3fe571(0x1d5),'fill':_0x3fe571(0x233),'viewBox':_0x3fe571(0x26d),'width':_0x3fe571(0x188),'height':_0x3fe571(0x188)},'children':[{'tag':'g','attrs':{'clipPath':_0x3fe571(0x22c)},'children':[{'tag':_0x3fe571(0x181),'attrs':{'stroke':_0x3fe571(0x116),'d':_0x3fe571(0x168),'strokeLinecap':_0x3fe571(0x1c2),'strokeLinejoin':_0x3fe571(0x1c2),'strokeWidth':1.2}}]},{'tag':_0x3fe571(0x15c),'attrs':{},'children':[{'tag':_0x3fe571(0x26c),'attrs':{'id':_0x3fe571(0x215)},'children':[{'tag':_0x3fe571(0x181),'attrs':{'fill':_0x3fe571(0x174),'d':_0x3fe571(0x133),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3fe571(0x215)]},_0x316057=_0x1d5fec[_0x3fe571(0x160)](function(_0x5663da,_0x2fc151){const _0x401985=_0x3fe571;return _0x1d5fec[_0x401985(0x278)](_0x38a6f8,Object[_0x401985(0x1df)]({},_0x5663da,{'id':_0x401985(0x19c),'ref':_0x2fc151,'icon':_0x99311}));});_0x316057[_0x3fe571(0x162)]=_0x3fe571(0x25b);function _0x174c49(_0x42650f){const _0x53fd6d=_0x3fe571;var _0x1c1519,_0x103550;const {mcpCoreConfig:_0x3fc771,onSave:_0x237338,loading:_0x71981a=!0x1,config:_0x2102bc,connectionStatus$:_0x4b2006,connectionError$:_0x21ed72,currentApiKey$:_0x3ccf3b,currentSessionId$:_0x2e4422}=_0x42650f,_0x55ad49=_0x121bac[_0x53fd6d(0x16d)](_0x265896[_0x53fd6d(0x1ad)]),_0x42d0f4=_0x121bac[_0x53fd6d(0x12b)](_0x4b2006,_0x1aa300[_0x53fd6d(0x119)]['DISCONNECTED']),_0x4e562e=_0x121bac[_0x53fd6d(0x12b)](_0x21ed72,_0x1aa300[_0x53fd6d(0x27f)][_0x53fd6d(0x29e)]),_0x140e7e=_0x121bac[_0x53fd6d(0x12b)](_0x2e4422,''),_0x4bc70e=_0x121bac[_0x53fd6d(0x12b)](_0x3ccf3b,''),[_0x32a5d1,_0x6c897]=_0x1d5fec[_0x53fd6d(0x1aa)](_0x4bc70e||''),_0x358740=!0x0,_0x25d126=_0x2102bc['showDeveloperTools']&&_0x3fc771['mcpServerUrl']&&(_0x3fc771[_0x53fd6d(0x232)][_0x53fd6d(0x14b)]('univer.plus')||_0x3fc771[_0x53fd6d(0x232)][_0x53fd6d(0x14b)](_0x53fd6d(0x1bc))),_0x5ad54c=(_0x1c1519=_0x3fc771['mcpServerUrl'])==null?void 0x0:_0x1c1519[_0x53fd6d(0x14b)]('univer.plus'),_0x1910f5=(_0x103550=_0x3fc771[_0x53fd6d(0x232)])==null?void 0x0:_0x103550[_0x53fd6d(0x14b)](_0x53fd6d(0x1bc)),_0x245064=_0x5ad54c?'https://console.univer.plus':_0x53fd6d(0x16e),_0x4dee9a=_0x2102bc[_0x53fd6d(0x1b7)]&&(_0x5ad54c||_0x1910f5),[_0x535986,_0x35a256]=_0x1d5fec[_0x53fd6d(0x1aa)](!_0x32a5d1[_0x53fd6d(0x141)]()),_0xe65113=(_0x554a98,_0x2182da)=>{const _0x27ae72=_0x53fd6d;if(_0x2182da===_0x1aa300[_0x27ae72(0x27f)][_0x27ae72(0x25c)])return _0x27ae72(0x296);switch(_0x554a98){case _0x1aa300[_0x27ae72(0x119)][_0x27ae72(0x1ec)]:return _0x27ae72(0x1d1);case _0x1aa300[_0x27ae72(0x119)][_0x27ae72(0x281)]:case _0x1aa300[_0x27ae72(0x119)][_0x27ae72(0x239)]:return _0x27ae72(0x25e);case _0x1aa300['MCPConnectionStatus'][_0x27ae72(0x199)]:return _0x27ae72(0x296);default:return _0x27ae72(0x178);}},_0x1fb04e=(_0x3fe361,_0x294975)=>{const _0x3b0c5d=_0x53fd6d;if(_0x294975===_0x1aa300[_0x3b0c5d(0x27f)][_0x3b0c5d(0x25c)])return'univer-bg-red-500';switch(_0x3fe361){case _0x1aa300[_0x3b0c5d(0x119)]['CONNECTED']:return _0x3b0c5d(0x17e);case _0x1aa300[_0x3b0c5d(0x119)][_0x3b0c5d(0x281)]:case _0x1aa300[_0x3b0c5d(0x119)]['RETRYING']:return _0x3b0c5d(0x26e);case _0x1aa300[_0x3b0c5d(0x119)]['FAILED']:return _0x3b0c5d(0x170);default:return _0x3b0c5d(0x289);}},_0x4beb10=_0x5c2941=>{const _0x4c97a2=_0x53fd6d;switch(_0x5c2941){case _0x1aa300[_0x4c97a2(0x119)][_0x4c97a2(0x1ec)]:return _0x55ad49['t'](_0x4c97a2(0x1bd));case _0x1aa300[_0x4c97a2(0x119)]['CONNECTING']:return _0x55ad49['t'](_0x4c97a2(0x2a8));case _0x1aa300[_0x4c97a2(0x119)]['FAILED']:return _0x55ad49['t']('mcpConfig.connectionStatus.failed');case _0x1aa300[_0x4c97a2(0x119)][_0x4c97a2(0x239)]:return _0x55ad49['t'](_0x4c97a2(0x191));default:return _0x55ad49['t'](_0x4c97a2(0x283));}},_0x37ebfa=_0x2dd226=>{const _0x49a5e8=_0x53fd6d;switch(_0x2dd226){case _0x1aa300['MCPConnectionError'][_0x49a5e8(0x25c)]:return _0x55ad49['t']('mcpConfig.connectionError.unauthorized');case _0x1aa300['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x55ad49['t'](_0x49a5e8(0x1f8));case _0x1aa300['MCPConnectionError'][_0x49a5e8(0x1eb)]:return _0x55ad49['t'](_0x49a5e8(0x1f9));case _0x1aa300[_0x49a5e8(0x27f)][_0x49a5e8(0x1c1)]:return _0x55ad49['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x38d82b=_0x1d5fec[_0x53fd6d(0x14d)](()=>{const _0x5698de=_0x53fd6d,_0x5ca14e={..._0x3fc771,'apiKey':_0x32a5d1[_0x5698de(0x141)](),'enableAuth':_0x358740};_0x237338(_0x5ca14e);},[_0x3fc771,_0x32a5d1,_0x358740,_0x237338]),_0x4192ed=_0x32a5d1[_0x53fd6d(0x141)]()[_0x53fd6d(0x272)]>0x0;return _0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x17d),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x20f),'children':_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x11d),'children':_0x967220['jsx'](_0x53fd6d(0x241),{'className':_0x53fd6d(0x224),'children':'⚙'})}),_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'children':_0x967220[_0x53fd6d(0x227)]('p',{'className':_0x53fd6d(0x252),'children':_0x55ad49['t'](_0x53fd6d(0x149))})})]})}),_0x967220['jsxs']('div',{'className':_0x53fd6d(0x156),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0xf907c9[_0x53fd6d(0x1f4)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0xe65113(_0x42d0f4,_0x4e562e)),'children':_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x27d),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0xf907c9[_0x53fd6d(0x1f4)](_0x53fd6d(0x1da),_0x1fb04e(_0x42d0f4,_0x4e562e))}),_0x967220['jsx'](_0x53fd6d(0x241),{'className':_0x53fd6d(0x22d),'children':_0x4beb10(_0x42d0f4)})]})}),_0x4e562e!==_0x1aa300[_0x53fd6d(0x27f)][_0x53fd6d(0x29e)]&&(_0x42d0f4===_0x1aa300[_0x53fd6d(0x119)]['FAILED']||_0x4e562e===_0x1aa300['MCPConnectionError'][_0x53fd6d(0x25c)])&&_0x967220[_0x53fd6d(0x227)]('div',{'className':_0x53fd6d(0x12c),'children':_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1b5),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x241),{'className':_0x53fd6d(0x1b8),'children':'⚠️'}),_0x967220[_0x53fd6d(0x227)]('p',{'className':_0x53fd6d(0x1e4),'children':_0x37ebfa(_0x4e562e)})]})})]}),_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1ef),'children':_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1ff),'children':[_0x967220['jsxs'](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1c8),'children':[_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x207),{'className':_0x53fd6d(0x1d0),'children':[_0x967220['jsx'](_0x53fd6d(0x241),{'children':'🔑'}),'\x20',_0x55ad49['t'](_0x53fd6d(0x19e)),_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x241),{'className':_0x53fd6d(0x1a5),'children':'*'}),_0x25d126&&_0x967220['jsx']('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x55ad49['t'](_0x53fd6d(0x17f)),'role':_0x53fd6d(0x134),'onClick':()=>_0x35a256(!0x0),'children':_0x967220[_0x53fd6d(0x227)](_0x1fe1c5,{})})]}),_0x967220[_0x53fd6d(0x227)](_0xf907c9[_0x53fd6d(0x2a0)],{'type':'text','placeholder':_0x55ad49['t'](_0x53fd6d(0x231)),'value':_0x32a5d1,'disabled':_0x71981a,'autoComplete':_0x53fd6d(0x1ae),'onChange':_0x6c897}),_0x967220[_0x53fd6d(0x227)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x55ad49['t'](_0x53fd6d(0x27e))})]}),_0x25d126&&_0x535986&&_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x967220[_0x53fd6d(0x227)]('a',{'className':_0x53fd6d(0x157),'role':_0x53fd6d(0x134),'onClick':()=>_0x35a256(!0x1),'children':_0x967220[_0x53fd6d(0x227)](_0x22db93,{'className':'univer-size-4'})}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x292),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x2a9),'children':_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x241),{'className':_0x53fd6d(0x190),'children':'🚀'})}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':'univer-flex-1','children':[_0x967220['jsx']('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x55ad49['t'](_0x53fd6d(0x17f))}),_0x967220[_0x53fd6d(0x227)]('p',{'className':_0x53fd6d(0x1fd),'children':_0x55ad49['t'](_0x53fd6d(0x25d))}),_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x180),'children':_0x4dee9a&&_0x967220[_0x53fd6d(0x1f5)]('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':_0x245064,'target':'_blank','rel':_0x53fd6d(0x226),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x241),{'children':'🤖'}),_0x55ad49['t'](_0x53fd6d(0x17c)),_0x967220['jsx'](_0x53fd6d(0x241),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x21b),'children':['✨','\x20',_0x55ad49['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2102bc[_0x53fd6d(0x1b7)]&&_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x130),'children':[_0x967220['jsxs']('h4',{'className':_0x53fd6d(0x26a),'children':[_0x967220[_0x53fd6d(0x227)]('span',{'children':'🔗'}),'\x20',_0x55ad49['t']('mcpConfig.connectionInfo')]}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1f0),'children':[_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x275),'children':[_0x967220[_0x53fd6d(0x227)]('p',{'className':_0x53fd6d(0x140),'children':_0x55ad49['t'](_0x53fd6d(0x19d))}),_0x967220['jsxs'](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1c8),'children':[_0x967220['jsx']('div',{'className':_0x53fd6d(0x1c5),'children':_0x55ad49['t'](_0x53fd6d(0x203))}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x216),'children':[_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x241),{'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'}),_0x55ad49['t']('mcpConfig.configStep1')]}),_0x967220['jsxs']('div',{'className':_0x53fd6d(0x27d),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x241),{'className':_0x53fd6d(0x120),'children':'2'}),_0x55ad49['t'](_0x53fd6d(0x193))]}),_0x967220[_0x53fd6d(0x1f5)]('div',{'className':_0x53fd6d(0x27d),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x241),{'className':_0x53fd6d(0x120),'children':'3'}),_0x55ad49['t'](_0x53fd6d(0x114))]})]})]})]}),_0x967220['jsxs']('div',{'className':_0x53fd6d(0x1c8),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1c5),'children':_0x53fd6d(0x16c)}),_0x967220[_0x53fd6d(0x227)]('div',{'className':_0x53fd6d(0x1e1),'children':_0x967220[_0x53fd6d(0x227)]('pre',{'className':_0x53fd6d(0x210),'children':JSON[_0x53fd6d(0x262)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x140e7e||_0x53fd6d(0x2a5)),'type':_0x53fd6d(0x1e0),'headers':{'Authorization':_0x53fd6d(0x13f)+(_0x32a5d1||_0x53fd6d(0x131))}}}},null,0x2)})})]}),_0x967220[_0x53fd6d(0x1f5)]('div',{'className':_0x53fd6d(0x275),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x55ad49['t']('mcpConfig.configParameters')}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1c8),'children':[_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x229),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x247)}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x1a8),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x286),'children':'univer_session_id:'}),_0x967220['jsx'](_0x53fd6d(0x164),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x55ad49['t'](_0x53fd6d(0x139))})]})]}),_0x967220[_0x53fd6d(0x1f5)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x967220['jsx'](_0x53fd6d(0x164),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x967220[_0x53fd6d(0x1f5)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x286),'children':'Authorization:'}),_0x967220['jsx'](_0x53fd6d(0x164),{'className':_0x53fd6d(0x158),'children':_0x55ad49['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x967220[_0x53fd6d(0x227)](_0xf907c9[_0x53fd6d(0x23e)],{'onClick':_0x38d82b,'disabled':!_0x4192ed||_0x71981a,'className':_0x53fd6d(0x144),'children':_0x71981a?_0x967220['jsxs']('span',{'className':_0x53fd6d(0x27d),'children':[_0x967220[_0x53fd6d(0x227)]('span',{'children':'⟲'}),_0x55ad49['t']('mcpConfig.saving')]}):_0x967220[_0x53fd6d(0x1f5)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x967220[_0x53fd6d(0x227)](_0x5cf9e6,{}),_0x55ad49['t'](_0x53fd6d(0x1bb))]})}),_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x25a),'children':_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'className':_0x53fd6d(0x11f),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x241),{'className':_0x53fd6d(0x248),'children':'💡'}),_0x967220['jsxs'](_0x53fd6d(0x164),{'className':_0x53fd6d(0x258),'children':[_0x967220[_0x53fd6d(0x227)](_0x53fd6d(0x164),{'className':'univer-font-medium','children':_0x53fd6d(0x299)}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'children':['•',_0x55ad49['t'](_0x53fd6d(0x221))]}),_0x967220[_0x53fd6d(0x1f5)](_0x53fd6d(0x164),{'children':['•',_0x55ad49['t'](_0x53fd6d(0x13e))]})]})]})})]})})]});}const _0x52305e=_0x3fe571(0x1cd),_0xbb585e={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x3f572d=Object[_0x3fe571(0x18e)],_0x4cbb8c=(_0x3e5a97,_0x5242a4,_0x566645,_0x3e0ee0)=>{const _0x2359c2=_0x3fe571;for(var _0x1dbb7a=_0x3e0ee0>0x1?void 0x0:_0x3e0ee0?_0x3f572d(_0x5242a4,_0x566645):_0x5242a4,_0x204f9a=_0x3e5a97[_0x2359c2(0x272)]-0x1,_0x2a0fa7;_0x204f9a>=0x0;_0x204f9a--)(_0x2a0fa7=_0x3e5a97[_0x204f9a])&&(_0x1dbb7a=_0x2a0fa7(_0x1dbb7a)||_0x1dbb7a);return _0x1dbb7a;},_0x4299e0=(_0x1717b9,_0xb17e7e)=>(_0x34235b,_0x5d62f1)=>_0xb17e7e(_0x34235b,_0x5d62f1,_0x1717b9);const _0x3841d4=_0x3fe571(0x279),_0x4e3872=_0x3fe571(0x225);_0x152bdd[_0x3fe571(0x1e8)]=class extends _0x265896[_0x3fe571(0x24b)]{constructor(_0x4940bc,_0x51b8e5,_0x53aed2,_0x54fc98,_0x562581,_0xabd228,_0x8f3190,_0x5bcb06,_0x2602ca,_0x508dd1){const _0x1ea1e9=_0x3fe571;super(),_0xafad84(this,_0x1ea1e9(0x1a2),new _0x463a2b[(_0x1ea1e9(0x148))](!0x1)),_0xafad84(this,_0x1ea1e9(0x1c7),new _0x463a2b[(_0x1ea1e9(0x148))]({})),_0xafad84(this,_0x1ea1e9(0x291),new _0x463a2b[(_0x1ea1e9(0x148))]({})),_0xafad84(this,_0x1ea1e9(0x209),new _0x463a2b[(_0x1ea1e9(0x148))]('')),_0xafad84(this,_0x1ea1e9(0x1a3),async _0x1d7461=>{const _0x35b6fb=_0x1ea1e9;var _0x154e05,_0x3d838a;this[_0x35b6fb(0x1a2)]['next'](!0x0);try{const _0x2a5f61=await this[_0x35b6fb(0x122)](_0x1d7461);if(!_0x2a5f61[_0x35b6fb(0x234)]){this[_0x35b6fb(0x184)]['show']({'type':_0xf907c9['MessageType'][_0x35b6fb(0x129)],'content':_0x2a5f61[_0x35b6fb(0x179)]||this['_localeService']['t'](_0x35b6fb(0x204))});return;}_0x1d7461[_0x35b6fb(0x270)]?await this[_0x35b6fb(0x1f7)][_0x35b6fb(0x18a)](_0x3841d4,_0x1d7461['apiKey'][_0x35b6fb(0x141)]()):await this[_0x35b6fb(0x1f7)][_0x35b6fb(0x1cc)](_0x3841d4),this[_0x35b6fb(0x209)][_0x35b6fb(0x1e7)](((_0x154e05=_0x1d7461[_0x35b6fb(0x270)])==null?void 0x0:_0x154e05[_0x35b6fb(0x141)]())||''),this['_mcpConnectionController'][_0x35b6fb(0x132)]({'Authorization':_0x35b6fb(0x13f)+((_0x3d838a=_0x1d7461['apiKey'])==null?void 0x0:_0x3d838a[_0x35b6fb(0x141)]())}),this[_0x35b6fb(0x184)][_0x35b6fb(0x1c0)]({'type':_0xf907c9[_0x35b6fb(0x143)][_0x35b6fb(0x20c)],'content':this['_localeService']['t'](_0x35b6fb(0x26f))}),setTimeout(()=>{const _0x42153c=_0x35b6fb;this['_dialogService'][_0x42153c(0x288)](_0x4e3872);},0x320);}catch(_0xb81646){this[_0x35b6fb(0x290)]['error'](_0x35b6fb(0x264),_0xb81646),this[_0x35b6fb(0x184)]['show']({'type':_0xf907c9[_0x35b6fb(0x143)][_0x35b6fb(0x129)],'content':this[_0x35b6fb(0x154)]['t'](_0x35b6fb(0x176))});}finally{this[_0x35b6fb(0x1a2)][_0x35b6fb(0x1e7)](!0x1);}}),(this[_0x1ea1e9(0x201)]=_0x4940bc,this['_uiPartsService']=_0x51b8e5,this[_0x1ea1e9(0x15b)]=_0x53aed2,this[_0x1ea1e9(0x1f7)]=_0x54fc98,this[_0x1ea1e9(0x1d8)]=_0x562581,this[_0x1ea1e9(0x184)]=_0xabd228,this[_0x1ea1e9(0x1b0)]=_0x8f3190,this[_0x1ea1e9(0x154)]=_0x5bcb06,this[_0x1ea1e9(0x290)]=_0x2602ca,this[_0x1ea1e9(0x222)]=_0x508dd1,this['_initConfigSync'](),this[_0x1ea1e9(0x173)](),this[_0x1ea1e9(0x254)]());}[_0x3fe571(0x1a7)](){const _0x4b88da=_0x3fe571,_0x4cf79a=this['_configService'][_0x4b88da(0x2a2)](_0x52305e);_0x4cf79a!=null&&_0x4cf79a['showDeveloperTools']&&this['_dialogService'][_0x4b88da(0x1c6)]({'id':_0x4e3872,'title':{'title':this[_0x4b88da(0x154)]['t'](_0x4b88da(0x1b4))},'children':{'label':_0x4b88da(0x208)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x83ba7e=_0x4b88da;this[_0x83ba7e(0x1d8)][_0x83ba7e(0x288)](_0x4e3872);}});}[_0x3fe571(0x1b6)](){const _0x109f25=_0x3fe571;return this['_mcpCoreConfig$'][_0x109f25(0x253)];}[_0x3fe571(0x254)](){const _0x4c09b3=_0x3fe571;this['disposeWithMe'](this['_componentManager'][_0x4c09b3(0x142)](_0x4c09b3(0x208),this[_0x4c09b3(0x29c)]()));}[_0x3fe571(0x29c)](){const _0x295365=_0x3fe571;return _0x121bac['connectInjector'](()=>{const _0x22c51a=_0x4b84;var _0x1e0af9,_0x58933a,_0x4ae18b;return _0x967220[_0x22c51a(0x227)](_0x174c49,{'config':this[_0x22c51a(0x291)][_0x22c51a(0x253)],'mcpCoreConfig':this[_0x22c51a(0x1c7)][_0x22c51a(0x253)],'currentApiKey$':this[_0x22c51a(0x209)],'onSave':this[_0x22c51a(0x1a3)],'loading':this[_0x22c51a(0x1a2)][_0x22c51a(0x253)],'connectionStatus$':(_0x1e0af9=this['_mcpConnectionController'])==null?void 0x0:_0x1e0af9[_0x22c51a(0x16f)],'connectionError$':(_0x58933a=this[_0x22c51a(0x222)])==null?void 0x0:_0x58933a[_0x22c51a(0x1b3)],'currentSessionId$':(_0x4ae18b=this['_mcpConnectionController'])==null?void 0x0:_0x4ae18b[_0x22c51a(0x1ce)]});},this[_0x295365(0x201)]);}['_initConfigSync'](){const _0x295eec=_0x3fe571;this[_0x295eec(0x163)](this['_configService']['subscribeConfigValue$'](_0x1aa300[_0x295eec(0x1e6)])[_0x295eec(0x1dd)](_0x2947bc=>{this['_mcpCoreConfig$']['next'](_0x2947bc||{});}));const _0xa98e84=this[_0x295eec(0x15b)][_0x295eec(0x2a2)](_0x1aa300[_0x295eec(0x1e6)]);this[_0x295eec(0x1c7)]['next'](_0xa98e84||{}),this[_0x295eec(0x163)](this[_0x295eec(0x15b)][_0x295eec(0x1a0)](_0x52305e)[_0x295eec(0x1dd)](_0x4217bb=>{const _0xdc66b=_0x295eec;this[_0xdc66b(0x291)]['next'](_0x4217bb||{});}));const _0x242bc4=this[_0x295eec(0x15b)][_0x295eec(0x2a2)](_0x52305e);this[_0x295eec(0x291)][_0x295eec(0x1e7)](_0x242bc4||{});}async[_0x3fe571(0x173)](){const _0x1d4e3b=_0x3fe571,_0x3192e4=this[_0x1d4e3b(0x15b)][_0x1d4e3b(0x2a2)](_0x52305e);if(!(_0x3192e4!=null&&_0x3192e4[_0x1d4e3b(0x1b7)]))return;const _0x1de2c1=await this[_0x1d4e3b(0x1f7)][_0x1d4e3b(0x167)](_0x3841d4);_0x1de2c1&&(this[_0x1d4e3b(0x222)][_0x1d4e3b(0x132)]({'Authorization':_0x1d4e3b(0x13f)+_0x1de2c1}),this[_0x1d4e3b(0x209)][_0x1d4e3b(0x1e7)](_0x1de2c1));}async[_0x3fe571(0x122)](_0x1f2255){const _0x4b775d=_0x3fe571;if(!_0x1f2255[_0x4b775d(0x270)]||_0x1f2255['apiKey'][_0x4b775d(0x141)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x4b775d(0x243))};if(_0x1f2255['apiKey'][_0x4b775d(0x141)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4b775d(0x154)]['t'](_0x4b775d(0x26b))};try{const _0x1e1755=await this['_injector'][_0x4b775d(0x276)](_0x1aa300[_0x4b775d(0x274)])[_0x4b775d(0x257)](_0x1f2255[_0x4b775d(0x270)][_0x4b775d(0x141)]());return _0x1e1755[_0x4b775d(0x234)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1e1755[_0x4b775d(0x1ea)]||this[_0x4b775d(0x154)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x6542e6){return console[_0x4b775d(0x295)](_0x4b775d(0x293),_0x6542e6),{'isValid':!0x0};}}},_0x152bdd[_0x3fe571(0x1e8)]=_0x4cbb8c([_0x4299e0(0x0,_0x265896['Inject'](_0x265896[_0x3fe571(0x1dc)])),_0x4299e0(0x1,_0x121bac[_0x3fe571(0x1e5)]),_0x4299e0(0x2,_0x265896[_0x3fe571(0x212)]),_0x4299e0(0x3,_0x265896[_0x3fe571(0x21a)]),_0x4299e0(0x4,_0x121bac[_0x3fe571(0x18b)]),_0x4299e0(0x5,_0x121bac[_0x3fe571(0x1b1)]),_0x4299e0(0x6,_0x265896['Inject'](_0x121bac[_0x3fe571(0x171)])),_0x4299e0(0x7,_0x265896[_0x3fe571(0x128)](_0x265896['LocaleService'])),_0x4299e0(0x8,_0x265896[_0x3fe571(0x217)]),_0x4299e0(0x9,_0x265896['Inject'](_0x1aa300['MCPConnectionController']))],_0x152bdd['MCPConfigUIController']);const _0x1a0535={'id':'mcp-ui.command.openConfigPanel','type':_0x265896[_0x3fe571(0x16a)]['COMMAND'],'handler':async(_0x4fbd57,_0x168695)=>(_0x4fbd57[_0x3fe571(0x276)](_0x152bdd[_0x3fe571(0x1e8)])[_0x3fe571(0x1a7)](),!0x0)};function _0x2916cf(_0x412402,_0x557d5e){const _0x2fe915=_0x3fe571;switch(_0x412402){case _0x1aa300['MCPConnectionStatus'][_0x2fe915(0x218)]:return _0x2fe915(0x294);case _0x1aa300['MCPConnectionStatus'][_0x2fe915(0x281)]:return _0x2fe915(0x151);case _0x1aa300['MCPConnectionStatus'][_0x2fe915(0x1ec)]:return _0x2fe915(0x1ac);case _0x1aa300[_0x2fe915(0x119)]['FAILED']:switch(_0x557d5e){case _0x1aa300['MCPConnectionError'][_0x2fe915(0x25c)]:return _0x2fe915(0x20d);case _0x1aa300[_0x2fe915(0x27f)][_0x2fe915(0x202)]:return _0x2fe915(0x18f);case _0x1aa300[_0x2fe915(0x27f)]['NETWORK_ERROR']:return'mcpStatus.networkError';case _0x1aa300['MCPConnectionError'][_0x2fe915(0x1c1)]:return _0x2fe915(0x1cb);default:return _0x2fe915(0x271);}case _0x1aa300[_0x2fe915(0x119)][_0x2fe915(0x239)]:return _0x2fe915(0x284);default:return _0x2fe915(0x147);}}function _0x5b3729(_0x54895b,_0x35f6c5,_0x427357,_0x4256cc=!0x0){const _0x33f3ae=_0x3fe571,_0x14d9e7=_0x2916cf(_0x54895b,_0x35f6c5),_0x23b377=_0x427357['t'](_0x14d9e7);return _0x4256cc?_0x54895b===_0x1aa300['MCPConnectionStatus']['DISCONNECTED']&&_0x35f6c5===_0x1aa300[_0x33f3ae(0x27f)]['UNAUTHORIZED']?_0x23b377+'\x20-\x20'+_0x427357['t'](_0x33f3ae(0x18c)):_0x54895b===_0x1aa300[_0x33f3ae(0x119)][_0x33f3ae(0x1ec)]?''+_0x23b377:_0x54895b===_0x1aa300['MCPConnectionStatus'][_0x33f3ae(0x218)]||_0x54895b===_0x1aa300[_0x33f3ae(0x119)][_0x33f3ae(0x199)]?_0x23b377+_0x33f3ae(0x115)+_0x427357['t'](_0x33f3ae(0x16b)):_0x23b377:_0x23b377;}function _0x417a30(_0x425c6d){const _0x1a8764=_0x3fe571;switch(_0x425c6d){case _0x1aa300[_0x1a8764(0x119)][_0x1a8764(0x1ec)]:return _0x1a8764(0x228);case _0x1aa300['MCPConnectionStatus'][_0x1a8764(0x281)]:case _0x1aa300[_0x1a8764(0x119)]['RETRYING']:return _0x1a8764(0x145);case _0x1aa300[_0x1a8764(0x119)][_0x1a8764(0x199)]:case _0x1aa300[_0x1a8764(0x119)][_0x1a8764(0x218)]:return _0x1a8764(0x1a5);default:return _0x1a8764(0x172);}}function _0x159880(_0x5988a6){const _0x59c392=_0x3fe571,{status$:_0x417008,error$:_0xf4d562,onConfigure:_0x16b345,showClickable:_0x2b61e4=!0x0}=_0x5988a6,_0x123cbe=_0x121bac['useObservable'](_0x417008,_0x1aa300[_0x59c392(0x119)]['DISCONNECTED']),_0x1f2d5f=_0x121bac[_0x59c392(0x12b)](_0xf4d562,_0x1aa300[_0x59c392(0x27f)][_0x59c392(0x29e)]),_0x3450cb=_0x121bac[_0x59c392(0x16d)](_0x265896[_0x59c392(0x1ad)]),_0x198a92=_0x123cbe===_0x1aa300['MCPConnectionStatus']['CONNECTED'];_0x123cbe===_0x1aa300['MCPConnectionStatus'][_0x59c392(0x281)]||_0x1aa300[_0x59c392(0x119)][_0x59c392(0x239)];const _0x206489=_0x3450cb['t'](_0x2916cf(_0x123cbe,_0x1f2d5f)),_0x35e398=_0x5b3729(_0x123cbe,_0x1f2d5f,_0x3450cb,_0x2b61e4),_0x3a73a2=_0x417a30(_0x123cbe),_0xf85559=_0x198a92?_0x967220[_0x59c392(0x227)](_0x316057,{}):_0x967220[_0x59c392(0x227)](_0x1ebc17,{}),_0x3c2147=_0x1d5fec[_0x59c392(0x14d)](()=>{_0x2b61e4&&_0x16b345&&_0x16b345();},[_0x2b61e4,_0x16b345]);function _0x2c1355(){const _0x45e8cc=_0x59c392;return _0x967220['jsxs'](_0x45e8cc(0x164),{'className':_0xf907c9[_0x45e8cc(0x1f4)](_0x45e8cc(0x137),_0x2b61e4&&_0x16b345&&'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'),'role':_0x45e8cc(0x134),'onClick':_0x2b61e4&&_0x16b345?_0x3c2147:void 0x0,'children':[_0x967220['jsx'](_0x45e8cc(0x164),{'className':_0xf907c9[_0x45e8cc(0x1f4)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x3a73a2),'children':_0xf85559}),_0x967220[_0x45e8cc(0x227)]('div',{'className':_0x45e8cc(0x20a),'children':_0x206489})]});}return _0x967220[_0x59c392(0x227)](_0xf907c9[_0x59c392(0x28c)],{'title':_0x35e398,'placement':_0x59c392(0x29d),'children':_0x2c1355()});}var _0x42b8a6=Object[_0x3fe571(0x18e)],_0x1950b6=(_0x3ad1d4,_0x24c3f6,_0x2a100e,_0x3f8bfa)=>{const _0x43243f=_0x3fe571;for(var _0x830a3f=_0x3f8bfa>0x1?void 0x0:_0x3f8bfa?_0x42b8a6(_0x24c3f6,_0x2a100e):_0x24c3f6,_0x2997e9=_0x3ad1d4[_0x43243f(0x272)]-0x1,_0x1c1bd0;_0x2997e9>=0x0;_0x2997e9--)(_0x1c1bd0=_0x3ad1d4[_0x2997e9])&&(_0x830a3f=_0x1c1bd0(_0x830a3f)||_0x830a3f);return _0x830a3f;},_0xae5eba=(_0x5be276,_0x88a8c0)=>(_0x1ada45,_0x2ce91e)=>_0x88a8c0(_0x1ada45,_0x2ce91e,_0x5be276);_0x152bdd['MCPConnectionUIController']=class extends _0x265896['Disposable']{constructor(_0x26e5de,_0x13c28f,_0x23ea53,_0x464905){const _0x2def21=_0x3fe571;super(),this[_0x2def21(0x201)]=_0x26e5de,this[_0x2def21(0x213)]=_0x13c28f,this['_uiPartsService']=_0x23ea53,this['_configService']=_0x464905,this[_0x2def21(0x21d)](),this[_0x2def21(0x14e)]();}[_0x3fe571(0x21d)](){const _0x31bfeb=_0x3fe571,_0x1afff3=this['_configService'][_0x31bfeb(0x2a2)](_0x52305e);_0x1afff3!=null&&_0x1afff3[_0x31bfeb(0x1b7)]&&(this[_0x31bfeb(0x213)][_0x31bfeb(0x27a)]=!0x1);}[_0x3fe571(0x14e)](){const _0x12b901=_0x3fe571,_0x53dee0=this[_0x12b901(0x15b)][_0x12b901(0x2a2)](_0x52305e);(_0x53dee0==null?void 0x0:_0x53dee0[_0x12b901(0x117)])!==!0x1&&this[_0x12b901(0x163)](this[_0x12b901(0x24e)][_0x12b901(0x1be)](_0x121bac[_0x12b901(0x123)][_0x12b901(0x175)],()=>{const _0x299ecd=_0x12b901;var _0x46ed1e;return _0x121bac[_0x299ecd(0x244)](_0x4e7aa1({'status$':this[_0x299ecd(0x213)][_0x299ecd(0x16f)],'error$':this['_connectionController'][_0x299ecd(0x1b3)],'onConfigure':()=>this[_0x299ecd(0x1f3)](),'showClickable':(_0x46ed1e=_0x53dee0==null?void 0x0:_0x53dee0['showDeveloperTools'])!=null?_0x46ed1e:!0x1}),this[_0x299ecd(0x201)]);}));}[_0x3fe571(0x1f3)](){const _0x117c4a=_0x3fe571;this[_0x117c4a(0x201)][_0x117c4a(0x276)](_0x152bdd[_0x117c4a(0x1e8)])[_0x117c4a(0x1a7)]();}},_0x152bdd['MCPConnectionUIController']=_0x1950b6([_0xae5eba(0x0,_0x265896[_0x3fe571(0x128)](_0x265896['Injector'])),_0xae5eba(0x1,_0x265896[_0x3fe571(0x128)](_0x1aa300[_0x3fe571(0x274)])),_0xae5eba(0x2,_0x121bac[_0x3fe571(0x1e5)]),_0xae5eba(0x3,_0x265896[_0x3fe571(0x212)])],_0x152bdd[_0x3fe571(0x126)]);function _0x4e7aa1(_0x16a71b){const {status$:_0x57c598,error$:_0x3cd408,onConfigure:_0x488abb,showClickable:_0x192817}=_0x16a71b;return function(){const _0x327e77=_0x4b84;return _0x967220[_0x327e77(0x227)](_0x159880,{'status$':_0x57c598,'error$':_0x3cd408,'onConfigure':_0x488abb,'showClickable':_0x192817});};}function _0x51083b(_0x5de419){const _0x4898d9=_0x3fe571;return{'id':_0x1a0535['id'],'type':_0x121bac[_0x4898d9(0x269)][_0x4898d9(0x155)],'icon':_0x4898d9(0x124),'title':_0x4898d9(0x1b4),'tooltip':_0x4898d9(0x1b4)};}const _0x5d8670={[_0x121bac[_0x3fe571(0x192)][_0x3fe571(0x27c)]]:{[_0x1a0535['id']]:{'order':0xa,'menuItemFactory':_0x51083b}}};var _0x59ca5d=Object['getOwnPropertyDescriptor'],_0x36976f=(_0x4781aa,_0x430d22,_0x33477b,_0x2ee809)=>{const _0x5a9207=_0x3fe571;for(var _0x55258b=_0x2ee809>0x1?void 0x0:_0x2ee809?_0x59ca5d(_0x430d22,_0x33477b):_0x430d22,_0x1dbb50=_0x4781aa[_0x5a9207(0x272)]-0x1,_0x5ca581;_0x1dbb50>=0x0;_0x1dbb50--)(_0x5ca581=_0x4781aa[_0x1dbb50])&&(_0x55258b=_0x5ca581(_0x55258b)||_0x55258b);return _0x55258b;},_0x4cfe4e=(_0x16eecf,_0x530752)=>(_0x13d481,_0x5e6aba)=>_0x530752(_0x13d481,_0x5e6aba,_0x16eecf);_0x152bdd[_0x3fe571(0x1a6)]=class extends _0x265896[_0x3fe571(0x24b)]{constructor(_0xfebe23,_0x2bb745){const _0x393a1c=_0x3fe571;super(),this['_commandService']=_0xfebe23,this[_0x393a1c(0x165)]=_0x2bb745,this['_initializeCommands'](),this['_initializeMenus']();}['_initializeCommands'](){const _0x5911eb=_0x3fe571;[_0x1a0535][_0x5911eb(0x1e9)](_0x20ad4c=>{const _0x58f629=_0x5911eb;this[_0x58f629(0x163)](this['_commandService'][_0x58f629(0x28a)](_0x20ad4c));});}['_initializeMenus'](){this['_menuManagerService']['mergeMenu'](_0x5d8670);}},_0x152bdd[_0x3fe571(0x1a6)]=_0x36976f([_0x4cfe4e(0x0,_0x265896[_0x3fe571(0x24c)]),_0x4cfe4e(0x1,_0x121bac['IMenuManagerService'])],_0x152bdd[_0x3fe571(0x1a6)]);const _0x5aa647={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x3fe571(0x1d6),'unknown':_0x3fe571(0x1ee),'unauthorized':_0x3fe571(0x11c),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x3fe571(0x214),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3fe571(0x12a),'clickToConfigure':_0x3fe571(0x235)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3fe571(0x13a),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x3fe571(0x1af),'apiKeyHint':_0x3fe571(0x11a),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x3fe571(0x29b),'mcpClientConfig':_0x3fe571(0x29b),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x3fe571(0x121),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3fe571(0x265),'sessionId':_0x3fe571(0x242),'sessionIdDescription':_0x3fe571(0x13c),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3fe571(0x159),'maxRetries':_0x3fe571(0x22e),'save':_0x3fe571(0x1bf),'saving':_0x3fe571(0x205),'note1':_0x3fe571(0x14a),'note2':_0x3fe571(0x12f),'configSaved':_0x3fe571(0x186),'configError':_0x3fe571(0x1d7),'apiApplyInfo':{'title':_0x3fe571(0x2a3),'description':_0x3fe571(0x255),'univerAiLabel':_0x3fe571(0x2ac),'getStarted':_0x3fe571(0x1d4)},'validation':{'apiKeyRequired':_0x3fe571(0x15d),'apiKeyTooShort':_0x3fe571(0x185),'invalidConfig':_0x3fe571(0x23f),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x3fe571(0x194),'connecting':_0x3fe571(0x24f),'connected':_0x3fe571(0x29a),'failed':_0x3fe571(0x21f),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3fe571(0x23c),'sessionOccupied':_0x3fe571(0x28f),'networkError':_0x3fe571(0x260),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x6b44a7={'mcpStatus':{'disconnected':_0x3fe571(0x14f),'connecting':_0x3fe571(0x246),'connected':_0x3fe571(0x280),'failed':_0x3fe571(0x23d),'retrying':_0x3fe571(0x220),'unknown':_0x3fe571(0x20b),'unauthorized':_0x3fe571(0x15f),'sessionOccupied':_0x3fe571(0x266),'networkError':_0x3fe571(0x177),'maxRetriesExceeded':_0x3fe571(0x19a),'clickToConnect':_0x3fe571(0x250),'clickToConfigure':_0x3fe571(0x236)},'mcpConfig':{'title':_0x3fe571(0x1db),'description':_0x3fe571(0x1f6),'apiKey':_0x3fe571(0x261),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x3fe571(0x1d9),'enableAuth':'启用身份验证','enableAuthHint':_0x3fe571(0x1cf),'connectionInfo':_0x3fe571(0x17b),'mcpClientConfig':_0x3fe571(0x17b),'configInstructions':_0x3fe571(0x136),'configStepTitle':_0x3fe571(0x2a6),'configStep1':_0x3fe571(0x23a),'configStep2':_0x3fe571(0x267),'configStep3':_0x3fe571(0x268),'sessionId':_0x3fe571(0x187),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x3fe571(0x237),'saving':_0x3fe571(0x28d),'note1':_0x3fe571(0x245),'note2':_0x3fe571(0x127),'configSaved':_0x3fe571(0x200),'configError':_0x3fe571(0x13b),'apiApplyInfo':{'title':_0x3fe571(0x219),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x3fe571(0x1fa),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x3fe571(0x11b),'apiKeyTooShort':_0x3fe571(0x1b9),'invalidConfig':_0x3fe571(0x20e),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x3fe571(0x297),'connecting':_0x3fe571(0x161),'connected':_0x3fe571(0x1a4),'failed':_0x3fe571(0x263),'retrying':_0x3fe571(0x197)},'connectionError':{'unauthorized':_0x3fe571(0x28e),'sessionOccupied':_0x3fe571(0x118),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x3c6d37=Object[_0x3fe571(0x135)],_0x2834b8=Object['getOwnPropertyDescriptor'],_0x1c03ea=(_0x3b7cf0,_0x4dc1fe,_0x17ad06)=>_0x4dc1fe in _0x3b7cf0?_0x3c6d37(_0x3b7cf0,_0x4dc1fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17ad06}):_0x3b7cf0[_0x4dc1fe]=_0x17ad06,_0x13572d=(_0x5ba3bd,_0x3c832c,_0xd44bd3,_0x430800)=>{const _0x5191e9=_0x3fe571;for(var _0x4dccb4=_0x430800>0x1?void 0x0:_0x430800?_0x2834b8(_0x3c832c,_0xd44bd3):_0x3c832c,_0x56b387=_0x5ba3bd[_0x5191e9(0x272)]-0x1,_0x4d14ba;_0x56b387>=0x0;_0x56b387--)(_0x4d14ba=_0x5ba3bd[_0x56b387])&&(_0x4dccb4=_0x4d14ba(_0x4dccb4)||_0x4dccb4);return _0x4dccb4;},_0x57fddb=(_0x53d35d,_0x37eef3)=>(_0x446128,_0x466b75)=>_0x37eef3(_0x446128,_0x466b75,_0x53d35d),_0x9e460f=(_0x2d5f33,_0x2f1466,_0x2d1a97)=>_0x1c03ea(_0x2d5f33,_0x2f1466+'',_0x2d1a97);_0x152bdd[_0x3fe571(0x1ed)]=class extends _0x265896['Plugin']{constructor(_0x698bb6=_0xbb585e,_0x45bb39,_0x20e605,_0x4a7491,_0x1c385a,_0xb537f1){const _0x2c9f9a=_0x3fe571;super(),this[_0x2c9f9a(0x21c)]=_0x698bb6,this[_0x2c9f9a(0x201)]=_0x45bb39,this[_0x2c9f9a(0x15b)]=_0x20e605,this[_0x2c9f9a(0x24e)]=_0x4a7491,this['_localStorageService']=_0x1c385a,this[_0x2c9f9a(0x154)]=_0xb537f1;const {..._0x4b9ae6}=_0x265896[_0x2c9f9a(0x1f1)]({},_0xbb585e,this['_config']);this[_0x2c9f9a(0x15b)]['setConfig'](_0x52305e,_0x4b9ae6);}async[_0x3fe571(0x15a)](){const _0x556376=_0x3fe571,_0x3a5f4c=[[_0x152bdd[_0x556376(0x126)]],[_0x152bdd[_0x556376(0x1e8)]],[_0x152bdd[_0x556376(0x1a6)]]];this['_injector']['has'](_0x33c42d[_0x556376(0x259)])||_0x3a5f4c[_0x556376(0x182)]([_0x33c42d[_0x556376(0x259)],{'useClass':_0x33c42d[_0x556376(0x28b)]}]),_0x3a5f4c['forEach'](_0x2b2c9b=>this[_0x556376(0x201)][_0x556376(0x22b)](_0x2b2c9b)),this[_0x556376(0x201)][_0x556376(0x276)](_0x152bdd['MCPConnectionUIController']),this[_0x556376(0x201)][_0x556376(0x276)](_0x152bdd[_0x556376(0x1e8)]),this[_0x556376(0x201)][_0x556376(0x276)](_0x152bdd[_0x556376(0x1a6)]);}},_0x9e460f(_0x152bdd['UniverMCPUIPlugin'],_0x3fe571(0x183),_0x3fe571(0x1e2)),_0x152bdd[_0x3fe571(0x1ed)]=_0x13572d([_0x265896[_0x3fe571(0x19b)](_0x1aa300[_0x3fe571(0x22a)]),_0x57fddb(0x1,_0x265896[_0x3fe571(0x128)](_0x265896[_0x3fe571(0x1dc)])),_0x57fddb(0x2,_0x265896[_0x3fe571(0x212)]),_0x57fddb(0x3,_0x121bac['IUIPartsService']),_0x57fddb(0x4,_0x265896[_0x3fe571(0x21a)]),_0x57fddb(0x5,_0x265896['Inject'](_0x265896['LocaleService']))],_0x152bdd[_0x3fe571(0x1ed)]),_0x152bdd[_0x3fe571(0x208)]=_0x174c49,_0x152bdd[_0x3fe571(0x13d)]=_0x159880,_0x152bdd['OpenMCPConfigPanelCommand']=_0x1a0535,_0x152bdd[_0x3fe571(0x238)]=_0x5aa647,_0x152bdd['zhCN']=_0x6b44a7,Object['defineProperty'](_0x152bdd,Symbol[_0x3fe571(0x230)],{'value':_0x3fe571(0x166)});}));
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xe115(){var _0x4f3b=['MCP\x20Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1754814FpMCDD','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','304272NdYcFn','Configuration\x20Steps:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','654214ZVUZCH','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Configuration','Click\x20to\x20connect\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Session\x20ID\x20Occupied','Invalid\x20configuration','Click\x20to\x20configure\x20MCP','1082504AfTsJV','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20with\x20Bearer\x20prefix.','Session\x20ID','MCP\x20Unknown\x20Status','Connection\x20Failed','3556308JuSPmO','811860hJqjdf','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20Key','10hTLcNK','Enable\x20Authentication','Failed\x20to\x20save\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','126ojbPpQ','MCP:\x20Network\x20Error','Configuration\x20Parameters:','MCP\x20Connected','MCP\x20Retrying...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','object','MCP:\x20Unauthorized','Disconnected','44956OdZgaE','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file'];_0xe115=function(){return _0x4f3b;};return _0xe115();}function _0x2d24(_0x2c8779,_0x2901e8){_0x2c8779=_0x2c8779-0x1b6;var _0xe11542=_0xe115();var _0x2d244f=_0xe11542[_0x2c8779];return _0x2d244f;}(function(_0x1c41f0,_0x51dcae){var _0x3dda6d=_0x2d24,_0x1f167d=_0x1c41f0();while(!![]){try{var _0x599191=-parseInt(_0x3dda6d(0x1da))/0x1+-parseInt(_0x3dda6d(0x1ba))/0x2+parseInt(_0x3dda6d(0x1c4))/0x3*(parseInt(_0x3dda6d(0x1ce))/0x4)+-parseInt(_0x3dda6d(0x1c0))/0x5*(-parseInt(_0x3dda6d(0x1d5))/0x6)+parseInt(_0x3dda6d(0x1b9))/0x7+-parseInt(_0x3dda6d(0x1e5))/0x8+parseInt(_0x3dda6d(0x1d7))/0x9;if(_0x599191===_0x51dcae)break;else _0x1f167d['push'](_0x1f167d['shift']());}catch(_0xd0e33f){_0x1f167d['push'](_0x1f167d['shift']());}}}(_0xe115,0x627ab),function(_0x21d9ef,_0x4cef46){var _0x356c5b=_0x2d24;typeof exports==_0x356c5b(0x1cb)&&typeof module<'u'?module['exports']=_0x4cef46():typeof define=='function'&&define['amd']?define(_0x4cef46):(_0x21d9ef=typeof globalThis<'u'?globalThis:_0x21d9ef||self,_0x21d9ef['UniverProMcpUiCaES']=_0x4cef46());}(this,function(){'use strict';var _0xc6fac4=_0x2d24;return{'mcpStatus':{'disconnected':_0xc6fac4(0x1d2),'connecting':_0xc6fac4(0x1d0),'connected':_0xc6fac4(0x1c7),'failed':'MCP\x20Connection\x20Failed','retrying':_0xc6fac4(0x1c8),'unknown':_0xc6fac4(0x1b7),'unauthorized':_0xc6fac4(0x1cc),'sessionOccupied':_0xc6fac4(0x1e2),'networkError':_0xc6fac4(0x1c5),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xc6fac4(0x1dd),'clickToConfigure':_0xc6fac4(0x1e4)},'mcpConfig':{'title':_0xc6fac4(0x1dc),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xc6fac4(0x1bf),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xc6fac4(0x1ca),'enableAuth':_0xc6fac4(0x1c1),'enableAuthHint':_0xc6fac4(0x1e7),'connectionInfo':_0xc6fac4(0x1bc),'mcpClientConfig':_0xc6fac4(0x1bc),'configInstructions':_0xc6fac4(0x1bd),'configStepTitle':_0xc6fac4(0x1d8),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0xc6fac4(0x1cf),'configStep3':_0xc6fac4(0x1c3),'sessionId':_0xc6fac4(0x1b6),'sessionIdDescription':_0xc6fac4(0x1be),'authorizationDescription':_0xc6fac4(0x1e8),'configParameters':_0xc6fac4(0x1c6),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0xc6fac4(0x1de),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xc6fac4(0x1df),'configError':_0xc6fac4(0x1c2),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xc6fac4(0x1db),'univerAiLabel':_0xc6fac4(0x1bb),'getStarted':_0xc6fac4(0x1d1)},'validation':{'apiKeyRequired':_0xc6fac4(0x1e6),'apiKeyTooShort':_0xc6fac4(0x1d9),'invalidConfig':_0xc6fac4(0x1e3),'invalidApiKey':_0xc6fac4(0x1c9)},'connectionStatus':{'disconnected':_0xc6fac4(0x1cd),'connecting':_0xc6fac4(0x1e0),'connected':'Connected','failed':_0xc6fac4(0x1b8),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0xc6fac4(0x1d3),'sessionOccupied':_0xc6fac4(0x1d4),'networkError':_0xc6fac4(0x1e1),'maxRetriesExceeded':_0xc6fac4(0x1d6)}}};}));
|