@univerjs-pro/mcp-ui 0.10.10-nightly.202510180327 → 0.10.11-nightly.202510220308
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/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/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/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/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 +7 -7
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1bd699=_0x1961;(function(_0x2e38e1,_0x4f459e){const _0x27d979=_0x1961,_0x1d3459=_0x2e38e1();while(!![]){try{const _0x26c7f8=parseInt(_0x27d979(0x16f))/0x1*(parseInt(_0x27d979(0x18a))/0x2)+parseInt(_0x27d979(0x19c))/0x3*(-parseInt(_0x27d979(0x17a))/0x4)+-parseInt(_0x27d979(0x189))/0x5*(-parseInt(_0x27d979(0x16d))/0x6)+-parseInt(_0x27d979(0x190))/0x7*(-parseInt(_0x27d979(0x19d))/0x8)+parseInt(_0x27d979(0x17d))/0x9*(-parseInt(_0x27d979(0x176))/0xa)+parseInt(_0x27d979(0x198))/0xb+-parseInt(_0x27d979(0x183))/0xc*(parseInt(_0x27d979(0x19f))/0xd);if(_0x26c7f8===_0x4f459e)break;else _0x1d3459['push'](_0x1d3459['shift']());}catch(_0x547298){_0x1d3459['push'](_0x1d3459['shift']());}}}(_0x11c9,0xb069e));function _0x1961(_0x5c5c91,_0x2dd140){const _0x11c9f8=_0x11c9();return _0x1961=function(_0x19619a,_0x2000d2){_0x19619a=_0x19619a-0x16d;let _0x403fe7=_0x11c9f8[_0x19619a];return _0x403fe7;},_0x1961(_0x5c5c91,_0x2dd140);}const e={'mcpStatus':{'disconnected':_0x1bd699(0x171),'connecting':_0x1bd699(0x17c),'connected':_0x1bd699(0x17f),'failed':_0x1bd699(0x175),'retrying':'MCP\x20Retrying...','unknown':_0x1bd699(0x185),'unauthorized':_0x1bd699(0x17b),'sessionOccupied':_0x1bd699(0x187),'networkError':_0x1bd699(0x177),'maxRetriesExceeded':_0x1bd699(0x179),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1bd699(0x191)},'mcpConfig':{'title':_0x1bd699(0x18e),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1bd699(0x18b),'apiKeyPlaceholder':_0x1bd699(0x184),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1bd699(0x19e),'enableAuthHint':_0x1bd699(0x18d),'connectionInfo':_0x1bd699(0x192),'mcpClientConfig':_0x1bd699(0x192),'configInstructions':_0x1bd699(0x197),'configStepTitle':_0x1bd699(0x18f),'configStep1':_0x1bd699(0x17e),'configStep2':_0x1bd699(0x19b),'configStep3':_0x1bd699(0x196),'sessionId':_0x1bd699(0x195),'sessionIdDescription':_0x1bd699(0x199),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1bd699(0x173),'maxRetries':_0x1bd699(0x178),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x1bd699(0x170),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x1bd699(0x172),'description':_0x1bd699(0x16e),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x1bd699(0x1a0),'apiKeyTooShort':_0x1bd699(0x180),'invalidConfig':_0x1bd699(0x188),'invalidApiKey':_0x1bd699(0x182)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x1bd699(0x194),'connected':_0x1bd699(0x193),'failed':_0x1bd699(0x181),'retrying':_0x1bd699(0x19a)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1bd699(0x186),'networkError':_0x1bd699(0x174),'maxRetriesExceeded':_0x1bd699(0x18c)}}},n=e;function _0x11c9(){const _0x9bf930=['1399391rNuJLV','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','Connected','Connecting...','Session\x20ID','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','4134482KUmftV','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2511009FfUijq','16kEUprZ','Enable\x20Authentication','13gybrku','API\x20key\x20is\x20required','5990388frAxpY','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','802qJslaY','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Disconnected','What\x20is\x20API\x20Key?','Configuration\x20Parameters:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connection\x20Failed','10UaXtdg','MCP:\x20Network\x20Error','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','4tbxTxn','MCP:\x20Unauthorized','MCP\x20Connecting...','1009161QApgsj','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','17425560UkoBNL','Enter\x20your\x20API\x20key','MCP\x20Unknown\x20Status','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','Invalid\x20configuration','5CeqyyS','3366XrLtYN','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Configuration','Configuration\x20Steps:'];_0x11c9=function(){return _0x9bf930;};return _0x11c9();}export{n as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x39d0c5=_0x8e28;function _0x5b9e(){const _0x15a8d0=['API\x20key\x20with\x20Bearer\x20prefix.','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Network\x20Error','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','30lRzkdL','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Session\x20ID\x20Occupied','187498TBKZRz','1tkfDqL','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','443885Tflmid','Save\x20Configuration','Connection\x20Failed','Session\x20ID','Enable\x20Authentication','10zMfUUX','1332712vkpKLB','302212papZjp','Disconnected','MCP\x20Unknown\x20Status','Configuration\x20Parameters:','MCP:\x20Unauthorized','2142297DVUMeo','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Failed\x20to\x20save\x20configuration','24nZvpBl','MCP\x20Client\x20Configuration','Retrying...','9ztmfEH','MCP\x20Configuration','API\x20key\x20is\x20required','MCP\x20Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Steps:','102509mKivmI','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','139692VzWXBh','MCP\x20Connecting...','Enter\x20your\x20API\x20key'];_0x5b9e=function(){return _0x15a8d0;};return _0x5b9e();}(function(_0x204351,_0x29df0a){const _0x53a409=_0x8e28,_0x3685e9=_0x204351();while(!![]){try{const _0x329303=parseInt(_0x53a409(0x176))/0x1*(-parseInt(_0x53a409(0x175))/0x2)+-parseInt(_0x53a409(0x15c))/0x3*(-parseInt(_0x53a409(0x14f))/0x4)+parseInt(_0x53a409(0x148))/0x5+parseInt(_0x53a409(0x172))/0x6*(-parseInt(_0x53a409(0x165))/0x7)+-parseInt(_0x53a409(0x14e))/0x8+parseInt(_0x53a409(0x154))/0x9*(parseInt(_0x53a409(0x14d))/0xa)+parseInt(_0x53a409(0x162))/0xb*(-parseInt(_0x53a409(0x159))/0xc);if(_0x329303===_0x29df0a)break;else _0x3685e9['push'](_0x3685e9['shift']());}catch(_0x22f5eb){_0x3685e9['push'](_0x3685e9['shift']());}}}(_0x5b9e,0x2aa79));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x39d0c5(0x166),'connected':_0x39d0c5(0x15f),'failed':_0x39d0c5(0x146),'retrying':'MCP\x20Retrying...','unknown':_0x39d0c5(0x151),'unauthorized':_0x39d0c5(0x153),'sessionOccupied':_0x39d0c5(0x174),'networkError':_0x39d0c5(0x16f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x39d0c5(0x15d),'description':_0x39d0c5(0x16e),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x39d0c5(0x167),'apiKeyHint':_0x39d0c5(0x163),'enableAuth':_0x39d0c5(0x14c),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x39d0c5(0x15a),'mcpClientConfig':_0x39d0c5(0x15a),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x39d0c5(0x161),'configStep1':_0x39d0c5(0x169),'configStep2':_0x39d0c5(0x16d),'configStep3':_0x39d0c5(0x155),'sessionId':_0x39d0c5(0x14b),'sessionIdDescription':_0x39d0c5(0x173),'authorizationDescription':_0x39d0c5(0x168),'configParameters':_0x39d0c5(0x152),'maxRetries':'Max\x20Retries','save':_0x39d0c5(0x149),'saving':'Saving...','note1':_0x39d0c5(0x16a),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x39d0c5(0x147),'configError':_0x39d0c5(0x158),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x39d0c5(0x160),'univerAiLabel':_0x39d0c5(0x170),'getStarted':_0x39d0c5(0x16c)},'validation':{'apiKeyRequired':_0x39d0c5(0x15e),'apiKeyTooShort':_0x39d0c5(0x171),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x39d0c5(0x150),'connecting':_0x39d0c5(0x157),'connected':_0x39d0c5(0x16b),'failed':_0x39d0c5(0x14a),'retrying':_0x39d0c5(0x15b)},'connectionError':{'unauthorized':_0x39d0c5(0x156),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x39d0c5(0x164)}}},n=e;function _0x8e28(_0x14a955,_0x2d913a){const _0x5b9eda=_0x5b9e();return _0x8e28=function(_0x8e28e5,_0x48f0c9){_0x8e28e5=_0x8e28e5-0x146;let _0x2278c3=_0x5b9eda[_0x8e28e5];return _0x2278c3;},_0x8e28(_0x14a955,_0x2d913a);}export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x509d(_0x134d4d,_0x208673){const _0xb7569c=_0xb756();return _0x509d=function(_0x509d01,_0x3c0c9d){_0x509d01=_0x509d01-0x10d;let _0x3ab0f5=_0xb7569c[_0x509d01];return _0x3ab0f5;},_0x509d(_0x134d4d,_0x208673);}const _0x40470b=_0x509d;(function(_0x3e10a5,_0x183cda){const _0x431fd6=_0x509d,_0x3e5d6b=_0x3e10a5();while(!![]){try{const _0x3c5d49=parseInt(_0x431fd6(0x126))/0x1+parseInt(_0x431fd6(0x115))/0x2*(-parseInt(_0x431fd6(0x12b))/0x3)+-parseInt(_0x431fd6(0x114))/0x4+-parseInt(_0x431fd6(0x13b))/0x5+-parseInt(_0x431fd6(0x113))/0x6+parseInt(_0x431fd6(0x11a))/0x7+parseInt(_0x431fd6(0x116))/0x8*(parseInt(_0x431fd6(0x121))/0x9);if(_0x3c5d49===_0x183cda)break;else _0x3e5d6b['push'](_0x3e5d6b['shift']());}catch(_0x3a227e){_0x3e5d6b['push'](_0x3e5d6b['shift']());}}}(_0xb756,0x30c4f));function _0xb756(){const _0x3253bd=['复制以下\x20JSON\x20配置','点击连接\x20MCP','几秒钟内获取您的\x20API\x20密钥','MCP:\x20会话\x20ID\x20已被占用','MCP\x20客户端配置','API\x20密钥长度至少需要\x2010\x20位','请输入您的\x20API\x20密钥','权限验证失败,请检查您的\x20API\x20密钥','MCP\x20状态未知','601145AmUObi','最大重试次数','配置保存失败','配置参数:','MCP:\x20网络错误','点击配置\x20MCP','API\x20密钥','启用身份验证','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','会话ID','保存配置','配置保存成功','MCP\x20连接失败','1415088PKwloq','101476vgBeiW','78aWoxuJ','88cjVbeH','什么是\x20API\x20密钥?','未连接','MCP\x20连接中...','381451WJCtkG','保存中...','连接失败','启用身份验证以获得安全连接','Univer\x20AI\x20控制台','将以下配置添加到您的\x20MCP\x20客户端设置中:','超出最大重试次数,请稍后再试','293157HYZcCY','会话\x20ID\x20已被占用,请稍后再试','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20配置','重连中...','275230XqOeQv','MCP:\x20超出最大重试次数','将配置添加到您的\x20MCP\x20客户端设置文件中','已连接','配置更改将立即生效','8217hcupsR','配置步骤:','API\x20密钥不能为空','API\x20密钥无效,请检查密钥是否正确','重启您的\x20MCP\x20客户端以使配置生效','您的\x20API\x20密钥安全存储在本地存储中','连接中...'];_0xb756=function(){return _0x3253bd;};return _0xb756();}const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x40470b(0x119),'connected':'MCP\x20已连接','failed':_0x40470b(0x112),'retrying':'MCP\x20重连中...','unknown':_0x40470b(0x13a),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x40470b(0x135),'networkError':_0x40470b(0x13f),'maxRetriesExceeded':_0x40470b(0x127),'clickToConnect':_0x40470b(0x133),'clickToConfigure':_0x40470b(0x140)},'mcpConfig':{'title':_0x40470b(0x124),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x40470b(0x141),'apiKeyPlaceholder':_0x40470b(0x138),'apiKeyHint':_0x40470b(0x123),'enableAuth':_0x40470b(0x10d),'enableAuthHint':_0x40470b(0x11d),'connectionInfo':_0x40470b(0x136),'mcpClientConfig':_0x40470b(0x136),'configInstructions':_0x40470b(0x11f),'configStepTitle':_0x40470b(0x12c),'configStep1':_0x40470b(0x132),'configStep2':_0x40470b(0x128),'configStep3':_0x40470b(0x12f),'sessionId':_0x40470b(0x10f),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x40470b(0x13e),'maxRetries':_0x40470b(0x13c),'save':_0x40470b(0x110),'saving':_0x40470b(0x11b),'note1':_0x40470b(0x12a),'note2':_0x40470b(0x130),'configSaved':_0x40470b(0x111),'configError':_0x40470b(0x13d),'apiApplyInfo':{'title':_0x40470b(0x117),'description':_0x40470b(0x10e),'univerAiLabel':_0x40470b(0x11e),'getStarted':_0x40470b(0x134)},'validation':{'apiKeyRequired':_0x40470b(0x12d),'apiKeyTooShort':_0x40470b(0x137),'invalidConfig':'配置无效','invalidApiKey':_0x40470b(0x12e)},'connectionStatus':{'disconnected':_0x40470b(0x118),'connecting':_0x40470b(0x131),'connected':_0x40470b(0x129),'failed':_0x40470b(0x11c),'retrying':_0x40470b(0x125)},'connectionError':{'unauthorized':_0x40470b(0x139),'sessionOccupied':_0x40470b(0x122),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x40470b(0x120)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1c36(_0x2efab8,_0x181f78){const _0x3fbc65=_0x3fbc();return _0x1c36=function(_0x1c3650,_0x45bcac){_0x1c3650=_0x1c3650-0x1b7;let _0x320dc2=_0x3fbc65[_0x1c3650];return _0x320dc2;},_0x1c36(_0x2efab8,_0x181f78);}function _0x3fbc(){const _0x475b40=['688700FfHOBq','252RMFysZ','Connection\x20Failed','40rezYNc','81592BYHbAv','Univer\x20AI\x20Console','Configuration\x20Steps:','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1JvvyVz','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Parameters:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','60348ppItfa','MCP:\x20Unauthorized','MCP\x20Connected','Connecting...','Disconnected','1001IqgqmK','3433458tEXdjV','Configuration\x20saved\x20successfully','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Copy\x20the\x20JSON\x20configuration\x20below','2765452YyBpLK','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Network\x20Error','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','Saving...','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key','Retrying...','10435480cLKTUr','11FjzIrl','998530HnkphB','891pkGJPm','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required','MCP\x20Connecting...','Max\x20Retries','MCP\x20Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage'];_0x3fbc=function(){return _0x475b40;};return _0x3fbc();}const _0x4d2ff8=_0x1c36;(function(_0x4537fe,_0x4ecc1e){const _0x275b21=_0x1c36,_0x1075e7=_0x4537fe();while(!![]){try{const _0x30f7f8=-parseInt(_0x275b21(0x1bb))/0x1*(parseInt(_0x275b21(0x1cb))/0x2)+-parseInt(_0x275b21(0x1c7))/0x3+parseInt(_0x275b21(0x1e5))/0x4*(parseInt(_0x275b21(0x1e8))/0x5)+-parseInt(_0x275b21(0x1c1))/0x6*(-parseInt(_0x275b21(0x1c6))/0x7)+-parseInt(_0x275b21(0x1e9))/0x8*(-parseInt(_0x275b21(0x1db))/0x9)+-parseInt(_0x275b21(0x1d8))/0xa*(-parseInt(_0x275b21(0x1d9))/0xb)+parseInt(_0x275b21(0x1e6))/0xc*(-parseInt(_0x275b21(0x1da))/0xd);if(_0x30f7f8===_0x4ecc1e)break;else _0x1075e7['push'](_0x1075e7['shift']());}catch(_0x1c23a1){_0x1075e7['push'](_0x1075e7['shift']());}}}(_0x3fbc,0xb1e91));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4d2ff8(0x1e1),'connected':_0x4d2ff8(0x1c3),'failed':_0x4d2ff8(0x1d3),'retrying':_0x4d2ff8(0x1e3),'unknown':_0x4d2ff8(0x1d0),'unauthorized':_0x4d2ff8(0x1c2),'sessionOccupied':_0x4d2ff8(0x1be),'networkError':_0x4d2ff8(0x1cd),'maxRetriesExceeded':_0x4d2ff8(0x1dc),'clickToConnect':_0x4d2ff8(0x1df),'clickToConfigure':_0x4d2ff8(0x1cf)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4d2ff8(0x1bd),'apiKey':_0x4d2ff8(0x1d6),'apiKeyPlaceholder':_0x4d2ff8(0x1d1),'apiKeyHint':_0x4d2ff8(0x1b9),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4d2ff8(0x1ce),'connectionInfo':_0x4d2ff8(0x1b7),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4d2ff8(0x1cc),'configStepTitle':_0x4d2ff8(0x1eb),'configStep1':_0x4d2ff8(0x1ca),'configStep2':_0x4d2ff8(0x1c0),'configStep3':_0x4d2ff8(0x1d4),'sessionId':_0x4d2ff8(0x1de),'sessionIdDescription':_0x4d2ff8(0x1b8),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4d2ff8(0x1bf),'maxRetries':_0x4d2ff8(0x1e2),'save':'Save\x20Configuration','saving':_0x4d2ff8(0x1d2),'note1':_0x4d2ff8(0x1dd),'note2':_0x4d2ff8(0x1e4),'configSaved':_0x4d2ff8(0x1c8),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4d2ff8(0x1ec),'description':_0x4d2ff8(0x1c9),'univerAiLabel':_0x4d2ff8(0x1ea),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4d2ff8(0x1e0),'apiKeyTooShort':_0x4d2ff8(0x1ba),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4d2ff8(0x1c5),'connecting':_0x4d2ff8(0x1c4),'connected':'Connected','failed':_0x4d2ff8(0x1e7),'retrying':_0x4d2ff8(0x1d7)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4d2ff8(0x1bc),'networkError':_0x4d2ff8(0x1d5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2c3f(_0x22db32,_0x260da5){var _0x6720f7=_0x6720();return _0x2c3f=function(_0x2c3f5a,_0x5570d9){_0x2c3f5a=_0x2c3f5a-0x1cb;var _0x4a2630=_0x6720f7[_0x2c3f5a];return _0x4a2630;},_0x2c3f(_0x22db32,_0x260da5);}(function(_0x5995cb,_0x31d624){var _0xec06a1=_0x2c3f,_0x5db7ae=_0x5995cb();while(!![]){try{var _0x16e70d=-parseInt(_0xec06a1(0x2e2))/0x1+-parseInt(_0xec06a1(0x217))/0x2*(parseInt(_0xec06a1(0x31a))/0x3)+-parseInt(_0xec06a1(0x2cc))/0x4+-parseInt(_0xec06a1(0x294))/0x5+parseInt(_0xec06a1(0x25f))/0x6*(-parseInt(_0xec06a1(0x30a))/0x7)+parseInt(_0xec06a1(0x352))/0x8*(parseInt(_0xec06a1(0x315))/0x9)+parseInt(_0xec06a1(0x26d))/0xa*(parseInt(_0xec06a1(0x2cd))/0xb);if(_0x16e70d===_0x31d624)break;else _0x5db7ae['push'](_0x5db7ae['shift']());}catch(_0x322558){_0x5db7ae['push'](_0x5db7ae['shift']());}}}(_0x6720,0x3bd5f),function(_0x2d7314,_0x24cc8e){var _0x2a7d04=_0x2c3f;typeof exports==_0x2a7d04(0x305)&&typeof module<'u'?_0x24cc8e(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=='function'&&define['amd']?define([_0x2a7d04(0x35a),_0x2a7d04(0x2d2),_0x2a7d04(0x2f8),_0x2a7d04(0x1ce),_0x2a7d04(0x2ef),'@univerjs/ui',_0x2a7d04(0x1ec),_0x2a7d04(0x2c4),_0x2a7d04(0x286)],_0x24cc8e):(_0x2d7314=typeof globalThis<'u'?globalThis:_0x2d7314||self,_0x24cc8e(_0x2d7314[_0x2a7d04(0x2c7)]={},_0x2d7314['UniverCore'],_0x2d7314['React'],_0x2d7314[_0x2a7d04(0x30d)],_0x2d7314[_0x2a7d04(0x220)],_0x2d7314[_0x2a7d04(0x2a7)],_0x2d7314[_0x2a7d04(0x1ec)],_0x2d7314[_0x2a7d04(0x277)],_0x2d7314[_0x2a7d04(0x23f)]));}(this,function(_0x4fb175,_0x3528b3,_0x137988,_0x30e1f0,_0x454ab9,_0x42b9be,_0x54618a,_0x89bcb3,_0x21d076){'use strict';var _0x196992=_0x2c3f;var _0x5c0c3d=Object[_0x196992(0x354)],_0x2a3028=(_0x440311,_0x139a6d,_0x40c6e6)=>_0x139a6d in _0x440311?_0x5c0c3d(_0x440311,_0x139a6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40c6e6}):_0x440311[_0x139a6d]=_0x40c6e6,_0x4be3b9=(_0x2dc2d8,_0x3fd138,_0x1e8ece)=>_0x2a3028(_0x2dc2d8,typeof _0x3fd138!=_0x196992(0x328)?_0x3fd138+'':_0x3fd138,_0x1e8ece),_0x347e6c=function(){var _0x5cb183=_0x196992;return _0x347e6c=Object[_0x5cb183(0x291)]||function(_0x501d72){var _0x2da95c=_0x5cb183;for(var _0x1e8194,_0x45987d=0x1,_0x740a84=arguments[_0x2da95c(0x2e8)];_0x45987d<_0x740a84;_0x45987d++){_0x1e8194=arguments[_0x45987d];for(var _0x57f621 in _0x1e8194)Object[_0x2da95c(0x1e4)][_0x2da95c(0x2f3)][_0x2da95c(0x32c)](_0x1e8194,_0x57f621)&&(_0x501d72[_0x57f621]=_0x1e8194[_0x57f621]);}return _0x501d72;},_0x347e6c[_0x5cb183(0x2ba)](this,arguments);},_0x26d824=function(_0xff9d2b,_0x402017){var _0x2f2522=_0x196992,_0x40fc5e={};for(var _0x5c20e3 in _0xff9d2b)Object[_0x2f2522(0x1e4)][_0x2f2522(0x2f3)][_0x2f2522(0x32c)](_0xff9d2b,_0x5c20e3)&&_0x402017['indexOf'](_0x5c20e3)<0x0&&(_0x40fc5e[_0x5c20e3]=_0xff9d2b[_0x5c20e3]);if(_0xff9d2b!=null&&typeof Object['getOwnPropertySymbols']==_0x2f2522(0x2cf)){for(var _0x57ad71=0x0,_0x5c20e3=Object[_0x2f2522(0x233)](_0xff9d2b);_0x57ad71<_0x5c20e3[_0x2f2522(0x2e8)];_0x57ad71++)_0x402017['indexOf'](_0x5c20e3[_0x57ad71])<0x0&&Object[_0x2f2522(0x1e4)][_0x2f2522(0x209)][_0x2f2522(0x32c)](_0xff9d2b,_0x5c20e3[_0x57ad71])&&(_0x40fc5e[_0x5c20e3[_0x57ad71]]=_0xff9d2b[_0x5c20e3[_0x57ad71]]);}return _0x40fc5e;},_0x1b1761=_0x89bcb3['forwardRef'](function(_0x41b294,_0x511f92){var _0xa8b2b6=_0x196992,_0x1aa70a=_0x41b294[_0xa8b2b6(0x33c)],_0x445a89=_0x41b294['id'],_0x4f3bcb=_0x41b294[_0xa8b2b6(0x1e7)],_0x2431d7=_0x41b294['extend'],_0x116f04=_0x26d824(_0x41b294,[_0xa8b2b6(0x33c),'id',_0xa8b2b6(0x1e7),'extend']),_0x3ef2c3=_0xa8b2b6(0x240)[_0xa8b2b6(0x1db)](_0x445a89,'\x20')[_0xa8b2b6(0x1db)](_0x4f3bcb||'')[_0xa8b2b6(0x33b)](),_0x45e8f8=_0x89bcb3[_0xa8b2b6(0x1e1)]('_'['concat'](_0x43904a()));return _0x21ff65(_0x1aa70a,''[_0xa8b2b6(0x1db)](_0x445a89),{'defIds':_0x1aa70a[_0xa8b2b6(0x22a)],'idSuffix':_0x45e8f8[_0xa8b2b6(0x266)]},_0x347e6c({'ref':_0x511f92,'className':_0x3ef2c3},_0x116f04),_0x2431d7);});function _0x21ff65(_0x1c67a3,_0x550814,_0x15562f,_0xd29560,_0x3e7787){var _0x25a875=_0x196992;return _0x89bcb3[_0x25a875(0x27b)](_0x1c67a3[_0x25a875(0x320)],_0x347e6c(_0x347e6c({'key':_0x550814},_0x456370(_0x1c67a3,_0x15562f,_0x3e7787)),_0xd29560),(_0x38ef15(_0x1c67a3,_0x15562f)[_0x25a875(0x2eb)]||[])[_0x25a875(0x23e)](function(_0x54209c,_0x10c12a){var _0x1ebfc7=_0x25a875;return _0x21ff65(_0x54209c,''[_0x1ebfc7(0x1db)](_0x550814,'-')['concat'](_0x1c67a3[_0x1ebfc7(0x320)],'-')['concat'](_0x10c12a),_0x15562f,void 0x0,_0x3e7787);}));}function _0x456370(_0x38b90e,_0x2bb408,_0x34e256){var _0x52b292=_0x196992,_0x1c7aa9=_0x347e6c({},_0x38b90e[_0x52b292(0x263)]);_0x34e256!=null&&_0x34e256['colorChannel1']&&_0x1c7aa9[_0x52b292(0x1d5)]===_0x52b292(0x21a)&&(_0x1c7aa9['fill']=_0x34e256[_0x52b292(0x21a)]),_0x38b90e[_0x52b292(0x320)]==='mask'&&_0x1c7aa9['id']&&(_0x1c7aa9['id']=_0x1c7aa9['id']+_0x2bb408[_0x52b292(0x2f1)]),Object[_0x52b292(0x2ab)](_0x1c7aa9)[_0x52b292(0x28c)](function(_0x5c6889){var _0x5afe3f=_0x52b292,_0x2a4663=_0x5c6889[0x0],_0xa4ce5b=_0x5c6889[0x1];_0x2a4663===_0x5afe3f(0x2db)&&typeof _0xa4ce5b==_0x5afe3f(0x1ff)&&(_0x1c7aa9[_0x2a4663]=_0xa4ce5b[_0x5afe3f(0x252)](/url\(#(.*)\)/,_0x5afe3f(0x1d8)[_0x5afe3f(0x1db)](_0x2bb408[_0x5afe3f(0x2f1)],')')));});var _0x33a80f=_0x2bb408['defIds'];return!_0x33a80f||_0x33a80f[_0x52b292(0x2e8)]===0x0||(_0x38b90e[_0x52b292(0x320)]===_0x52b292(0x229)&&_0x1c7aa9['xlink:href']&&(_0x1c7aa9[_0x52b292(0x30e)]=_0x1c7aa9['xlink:href']+_0x2bb408[_0x52b292(0x2f1)]),Object[_0x52b292(0x2ab)](_0x1c7aa9)[_0x52b292(0x28c)](function(_0x3ee00c){var _0x16a88b=_0x52b292,_0xc1bee4=_0x3ee00c[0x0],_0xa9a6e3=_0x3ee00c[0x1];typeof _0xa9a6e3==_0x16a88b(0x1ff)&&(_0x1c7aa9[_0xc1bee4]=_0xa9a6e3['replace'](/url\(#(.*)\)/,_0x16a88b(0x1d8)[_0x16a88b(0x1db)](_0x2bb408[_0x16a88b(0x2f1)],')')));})),_0x1c7aa9;}function _0x38ef15(_0x3412e5,_0x56b34a){var _0x3d1e42=_0x196992,_0x22b10a,_0x2f264d=_0x56b34a['defIds'];return!_0x2f264d||_0x2f264d[_0x3d1e42(0x2e8)]===0x0?_0x3412e5:_0x3412e5[_0x3d1e42(0x320)]==='defs'&&(!((_0x22b10a=_0x3412e5[_0x3d1e42(0x2eb)])===null||_0x22b10a===void 0x0)&&_0x22b10a['length'])?_0x347e6c(_0x347e6c({},_0x3412e5),{'children':_0x3412e5['children'][_0x3d1e42(0x23e)](function(_0x10cef9){var _0x559019=_0x3d1e42;return typeof _0x10cef9[_0x559019(0x263)]['id']=='string'&&_0x2f264d&&_0x2f264d[_0x559019(0x32f)](_0x10cef9[_0x559019(0x263)]['id'])?_0x347e6c(_0x347e6c({},_0x10cef9),{'attrs':_0x347e6c(_0x347e6c({},_0x10cef9[_0x559019(0x263)]),{'id':_0x10cef9[_0x559019(0x263)]['id']+_0x56b34a[_0x559019(0x2f1)]})}):_0x10cef9;})}):_0x3412e5;}function _0x43904a(){var _0x411990=_0x196992;return Math[_0x411990(0x24e)]()[_0x411990(0x348)](0x24)[_0x411990(0x29e)](0x2,0x8);}_0x1b1761[_0x196992(0x288)]=_0x196992(0x22b);var _0x5c031b={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':_0x196992(0x29a),'width':'1em','height':_0x196992(0x243)},'children':[{'tag':_0x196992(0x259),'attrs':{'fill':_0x196992(0x283),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':'evenodd','clipRule':_0x196992(0x208)}}]},_0x42cd01=_0x89bcb3[_0x196992(0x365)](function(_0x550249,_0x518878){var _0x59f059=_0x196992;return _0x89bcb3[_0x59f059(0x27b)](_0x1b1761,Object[_0x59f059(0x291)]({},_0x550249,{'id':'check-mark-icon','ref':_0x518878,'icon':_0x5c031b}));});_0x42cd01[_0x196992(0x288)]=_0x196992(0x366);var _0x55da9f={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':_0x196992(0x2af),'width':'1em','height':'1em'},'children':[{'tag':_0x196992(0x259),'attrs':{'stroke':_0x196992(0x283),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':'round','strokeLinejoin':_0x196992(0x351),'strokeWidth':1.33}},{'tag':_0x196992(0x259),'attrs':{'stroke':_0x196992(0x283),'d':_0x196992(0x2e7),'strokeLinecap':_0x196992(0x351),'strokeLinejoin':_0x196992(0x351),'strokeWidth':1.33}}]},_0x5c9440=_0x89bcb3[_0x196992(0x365)](function(_0x50b34a,_0xdc49a8){var _0x21b36a=_0x196992;return _0x89bcb3[_0x21b36a(0x27b)](_0x1b1761,Object['assign']({},_0x50b34a,{'id':'close-small-single','ref':_0xdc49a8,'icon':_0x55da9f}));});_0x5c9440['displayName']='CloseSmallSingle';var _0x543349={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x196992(0x243),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x196992(0x283),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x196992(0x259),'attrs':{'fill':_0x196992(0x283),'d':_0x196992(0x297)}},{'tag':'path','attrs':{'fill':_0x196992(0x283),'d':_0x196992(0x304),'fillRule':'evenodd','clipRule':_0x196992(0x208)}}]},_0x3129dc=_0x89bcb3[_0x196992(0x365)](function(_0x491729,_0x25ca03){var _0xf193cc=_0x196992;return _0x89bcb3[_0xf193cc(0x27b)](_0x1b1761,Object[_0xf193cc(0x291)]({},_0x491729,{'id':_0xf193cc(0x207),'ref':_0x25ca03,'icon':_0x543349}));});_0x3129dc[_0x196992(0x288)]=_0x196992(0x244);var _0x28b840={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':_0x196992(0x29a),'width':_0x196992(0x243),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x196992(0x238)},'children':[{'tag':_0x196992(0x259),'attrs':{'stroke':_0x196992(0x283),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x196992(0x351),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x196992(0x267),'attrs':{'id':_0x196992(0x327)},'children':[{'tag':'path','attrs':{'fill':_0x196992(0x21f),'d':_0x196992(0x353)}}]}]}],'defIds':[_0x196992(0x327)]},_0x4f9178=_0x89bcb3[_0x196992(0x365)](function(_0x57909c,_0x5c6540){var _0x4f2384=_0x196992;return _0x89bcb3[_0x4f2384(0x27b)](_0x1b1761,Object[_0x4f2384(0x291)]({},_0x57909c,{'id':'off-line-icon','ref':_0x5c6540,'icon':_0x28b840}));});_0x4f9178['displayName']=_0x196992(0x329);var _0x37a8f3={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':_0x196992(0x1d7),'width':_0x196992(0x243),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x196992(0x259),'attrs':{'stroke':_0x196992(0x283),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x196992(0x351),'strokeLinejoin':_0x196992(0x351),'strokeWidth':1.2}}]},{'tag':_0x196992(0x310),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x196992(0x2a8)},'children':[{'tag':_0x196992(0x259),'attrs':{'fill':'white','d':_0x196992(0x353),'transform':_0x196992(0x221)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x283222=_0x89bcb3[_0x196992(0x365)](function(_0x5dc84d,_0x34843b){var _0x3932bc=_0x196992;return _0x89bcb3['createElement'](_0x1b1761,Object[_0x3932bc(0x291)]({},_0x5dc84d,{'id':_0x3932bc(0x33f),'ref':_0x34843b,'icon':_0x37a8f3}));});_0x283222[_0x196992(0x288)]=_0x196992(0x34c);function _0x1d3937(_0x163f1f){var _0x80d584=_0x196992,_0x442702,_0x168ae;const {mcpCoreConfig:_0x3d7f36,onSave:_0x3a395c,loading:_0x3296bf=!0x1,config:_0x21887b,connectionStatus$:_0x15b3d7,connectionError$:_0x342aff,currentApiKey$:_0x4b4e01,currentSessionId$:_0x39e9b9}=_0x163f1f,_0x5743b4=_0x42b9be['useDependency'](_0x3528b3[_0x80d584(0x26a)]),_0x2e652c=_0x42b9be['useObservable'](_0x15b3d7,_0x30e1f0[_0x80d584(0x275)][_0x80d584(0x33d)]),_0x43a01d=_0x42b9be[_0x80d584(0x2fc)](_0x342aff,_0x30e1f0[_0x80d584(0x336)][_0x80d584(0x22e)]),_0xa12db5=_0x42b9be['useObservable'](_0x39e9b9,''),_0x7b724=_0x42b9be[_0x80d584(0x2fc)](_0x4b4e01,''),[_0xd33e00,_0xd4d328]=_0x89bcb3['useState'](_0x7b724||''),_0x24a1dc=!0x0,_0x57a131=_0x21887b[_0x80d584(0x222)]&&_0x3d7f36[_0x80d584(0x345)]&&(_0x3d7f36[_0x80d584(0x345)]['includes'](_0x80d584(0x2f0))||_0x3d7f36[_0x80d584(0x345)][_0x80d584(0x32f)]('univer.ai')),_0x303300=(_0x442702=_0x3d7f36[_0x80d584(0x345)])==null?void 0x0:_0x442702['includes'](_0x80d584(0x2f0)),_0x498a96=(_0x168ae=_0x3d7f36[_0x80d584(0x345)])==null?void 0x0:_0x168ae[_0x80d584(0x32f)](_0x80d584(0x212)),_0x2c27b3=_0x303300?_0x80d584(0x2a5):'https://console.univer.ai',_0x326ac5=_0x21887b[_0x80d584(0x222)]&&(_0x303300||_0x498a96),[_0x525431,_0x1dc824]=_0x89bcb3[_0x80d584(0x306)](!_0xd33e00['trim']()),_0x45b8bf=(_0x24ce59,_0x239877)=>{var _0x466b65=_0x80d584;if(_0x239877===_0x30e1f0[_0x466b65(0x336)][_0x466b65(0x2d0)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x24ce59){case _0x30e1f0[_0x466b65(0x275)]['CONNECTED']:return _0x466b65(0x25d);case _0x30e1f0[_0x466b65(0x275)][_0x466b65(0x262)]:case _0x30e1f0[_0x466b65(0x275)]['RETRYING']:return _0x466b65(0x322);case _0x30e1f0[_0x466b65(0x275)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x466b65(0x282);}},_0x3c9df3=(_0x172ea0,_0x3078da)=>{var _0x69586f=_0x80d584;if(_0x3078da===_0x30e1f0[_0x69586f(0x336)]['UNAUTHORIZED'])return _0x69586f(0x358);switch(_0x172ea0){case _0x30e1f0[_0x69586f(0x275)][_0x69586f(0x2e4)]:return _0x69586f(0x22d);case _0x30e1f0[_0x69586f(0x275)][_0x69586f(0x262)]:case _0x30e1f0['MCPConnectionStatus'][_0x69586f(0x326)]:return _0x69586f(0x1fc);case _0x30e1f0['MCPConnectionStatus'][_0x69586f(0x1fe)]:return'univer-bg-red-500';default:return _0x69586f(0x1eb);}},_0xa81773=_0x1e738f=>{var _0x3b05d5=_0x80d584;switch(_0x1e738f){case _0x30e1f0[_0x3b05d5(0x275)][_0x3b05d5(0x2e4)]:return _0x5743b4['t'](_0x3b05d5(0x31d));case _0x30e1f0[_0x3b05d5(0x275)]['CONNECTING']:return _0x5743b4['t'](_0x3b05d5(0x331));case _0x30e1f0[_0x3b05d5(0x275)][_0x3b05d5(0x1fe)]:return _0x5743b4['t']('mcpConfig.connectionStatus.failed');case _0x30e1f0['MCPConnectionStatus']['RETRYING']:return _0x5743b4['t'](_0x3b05d5(0x29c));default:return _0x5743b4['t']('mcpConfig.connectionStatus.disconnected');}},_0x3e20d4=_0x47265b=>{var _0x18f8f5=_0x80d584;switch(_0x47265b){case _0x30e1f0[_0x18f8f5(0x336)][_0x18f8f5(0x2d0)]:return _0x5743b4['t'](_0x18f8f5(0x2c2));case _0x30e1f0['MCPConnectionError'][_0x18f8f5(0x1ed)]:return _0x5743b4['t'](_0x18f8f5(0x2b9));case _0x30e1f0[_0x18f8f5(0x336)][_0x18f8f5(0x293)]:return _0x5743b4['t'](_0x18f8f5(0x2d3));case _0x30e1f0[_0x18f8f5(0x336)][_0x18f8f5(0x300)]:return _0x5743b4['t'](_0x18f8f5(0x295));default:return'';}},_0x39b46f=_0x89bcb3[_0x80d584(0x241)](()=>{const _0x20e92f={..._0x3d7f36,'apiKey':_0xd33e00['trim'](),'enableAuth':_0x24a1dc};_0x3a395c(_0x20e92f);},[_0x3d7f36,_0xd33e00,_0x24a1dc,_0x3a395c]),_0x351f63=_0xd33e00[_0x80d584(0x33b)]()[_0x80d584(0x2e8)]>0x0;return _0x137988['jsxs']('div',{'className':_0x80d584(0x24d),'children':[_0x137988['jsx'](_0x80d584(0x200),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x1f7),'children':[_0x137988['jsx'](_0x80d584(0x200),{'className':_0x80d584(0x1fd),'children':_0x137988[_0x80d584(0x1e0)]('span',{'className':'univer-text-white','children':'⚙'})}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'children':_0x137988[_0x80d584(0x1e0)]('p',{'className':_0x80d584(0x2ce),'children':_0x5743b4['t'](_0x80d584(0x343))})})]})}),_0x137988[_0x80d584(0x2f4)]('div',{'className':_0x80d584(0x1f5),'children':[_0x137988[_0x80d584(0x1e0)]('div',{'className':_0x80d584(0x2fe)+_0x45b8bf(_0x2e652c,_0x43a01d)+_0x80d584(0x308),'children':_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x137988['jsx'](_0x80d584(0x200),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3c9df3(_0x2e652c,_0x43a01d)+_0x80d584(0x2b3)}),_0x137988[_0x80d584(0x1e0)]('span',{'className':_0x80d584(0x237),'children':_0xa81773(_0x2e652c)})]})}),_0x43a01d!==_0x30e1f0[_0x80d584(0x336)][_0x80d584(0x22e)]&&(_0x2e652c===_0x30e1f0[_0x80d584(0x275)][_0x80d584(0x1fe)]||_0x43a01d===_0x30e1f0[_0x80d584(0x336)]['UNAUTHORIZED'])&&_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x21b),'children':_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x2ea),'children':[_0x137988[_0x80d584(0x1e0)]('span',{'className':_0x80d584(0x23c),'children':'⚠️'}),_0x137988[_0x80d584(0x1e0)]('p',{'className':_0x80d584(0x31c),'children':_0x3e20d4(_0x43a01d)})]})})]}),_0x137988[_0x80d584(0x1e0)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x257),'children':[_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x335),'children':[_0x137988[_0x80d584(0x2f4)](_0x80d584(0x2b8),{'className':_0x80d584(0x301),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'children':'🔑'}),'\x20',_0x5743b4['t']('mcpConfig.apiKey'),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x2e0),'children':'*'}),_0x57a131&&_0x137988[_0x80d584(0x1e0)]('a',{'href':_0x80d584(0x2b0),'onClick':()=>_0x1dc824(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-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':_0x5743b4['t'](_0x80d584(0x325)),'children':_0x137988['jsx'](_0x3129dc,{})})]}),_0x137988[_0x80d584(0x1e0)](_0x454ab9[_0x80d584(0x21e)],{'type':_0x80d584(0x341),'placeholder':_0x5743b4['t'](_0x80d584(0x1e3)),'value':_0xd33e00,'onChange':_0xd4d328,'disabled':_0x3296bf,'autoComplete':_0x80d584(0x296)}),_0x137988[_0x80d584(0x1e0)]('p',{'className':_0x80d584(0x1ee),'children':_0x5743b4['t'](_0x80d584(0x2fa))})]}),_0x57a131&&_0x525431&&_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'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':[_0x137988[_0x80d584(0x1e0)]('a',{'href':_0x80d584(0x2b0),'onClick':()=>_0x1dc824(!0x1),'className':_0x80d584(0x2c9),'title':'Close','children':_0x137988[_0x80d584(0x1e0)](_0x5c9440,{})}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x356),'children':[_0x137988['jsx'](_0x80d584(0x200),{'className':'univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x254),'children':'🚀'})}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-flex-1','children':[_0x137988['jsx']('h4',{'className':_0x80d584(0x2e6),'children':_0x5743b4['t'](_0x80d584(0x325))}),_0x137988[_0x80d584(0x1e0)]('p',{'className':_0x80d584(0x30c),'children':_0x5743b4['t'](_0x80d584(0x1e8))}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x2dd),'children':_0x326ac5&&_0x137988['jsxs']('a',{'href':_0x2c27b3,'target':_0x80d584(0x228),'rel':_0x80d584(0x1cd),'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','children':[_0x137988[_0x80d584(0x1e0)]('span',{'children':'🤖'}),_0x5743b4['t'](_0x80d584(0x346)),_0x137988[_0x80d584(0x1e0)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x35d),'children':['✨','\x20',_0x5743b4['t'](_0x80d584(0x21d))]})]})]})]}),_0x21887b[_0x80d584(0x222)]&&_0x137988['jsxs']('div',{'className':_0x80d584(0x278),'children':[_0x137988[_0x80d584(0x2f4)]('h4',{'className':_0x80d584(0x2a3),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'children':'🔗'}),'\x20',_0x5743b4['t'](_0x80d584(0x347))]}),_0x137988['jsxs'](_0x80d584(0x200),{'className':'univer-space-y-4','children':[_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x361),'children':[_0x137988[_0x80d584(0x1e0)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x5743b4['t'](_0x80d584(0x1e5))}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x335),'children':[_0x137988['jsx'](_0x80d584(0x200),{'className':_0x80d584(0x276),'children':_0x5743b4['t'](_0x80d584(0x30b))}),_0x137988[_0x80d584(0x2f4)]('div',{'className':_0x80d584(0x2ed),'children':[_0x137988['jsxs'](_0x80d584(0x200),{'className':_0x80d584(0x303),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x1cf),'children':'1'}),_0x5743b4['t'](_0x80d584(0x1da))]}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x303),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x1cf),'children':'2'}),_0x5743b4['t'](_0x80d584(0x2b7))]}),_0x137988['jsxs']('div',{'className':_0x80d584(0x303),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':'univer-flex\x20univer-h-4\x20univer-w-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'}),_0x5743b4['t'](_0x80d584(0x264))]})]})]})]}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-space-y-2','children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x276),'children':_0x80d584(0x349)}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x31b),'children':_0x137988['jsx'](_0x80d584(0x2c0),{'className':_0x80d584(0x235),'children':_0x80d584(0x2dc)+_0xa12db5+_0x80d584(0x225)+(_0xd33e00||_0x80d584(0x247))+_0x80d584(0x2a0)})})]}),_0x137988[_0x80d584(0x2f4)]('div',{'className':_0x80d584(0x361),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x276),'children':_0x5743b4['t']('mcpConfig.configParameters')}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x335),'children':[_0x137988['jsxs'](_0x80d584(0x200),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x2ec),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x324),'children':_0x80d584(0x2a2)}),_0x137988['jsx'](_0x80d584(0x200),{'className':_0x80d584(0x1ee),'children':_0x5743b4['t']('mcpConfig.sessionIdDescription')})]})]}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x137988['jsx'](_0x80d584(0x200),{'className':_0x80d584(0x234)}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x2ec),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x324),'children':_0x80d584(0x1f2)}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x1ee),'children':_0x5743b4['t'](_0x80d584(0x231))})]})]})]})]})]})]}),_0x137988[_0x80d584(0x1e0)](_0x454ab9['Button'],{'onClick':_0x39b46f,'disabled':!_0x351f63||_0x3296bf,'className':_0x80d584(0x332),'children':_0x3296bf?_0x137988[_0x80d584(0x2f4)](_0x80d584(0x298),{'className':_0x80d584(0x303),'children':[_0x137988[_0x80d584(0x1e0)]('span',{'children':'⟲'}),_0x5743b4['t']('mcpConfig.saving')]}):_0x137988[_0x80d584(0x2f4)]('span',{'className':_0x80d584(0x303),'children':[_0x137988['jsx'](_0x42cd01,{}),_0x5743b4['t'](_0x80d584(0x355))]})}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x260),'children':_0x137988['jsxs']('div',{'className':'univer-flex\x20univer-gap-3','children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x2e3),'children':'💡'}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x137988['jsx']('div',{'className':_0x80d584(0x1d0),'children':_0x80d584(0x2f7)}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'children':['•',_0x5743b4['t']('mcpConfig.note1')]}),_0x137988[_0x80d584(0x2f4)]('div',{'children':['•',_0x5743b4['t'](_0x80d584(0x2e1))]})]})]})})]})})]});}const _0x4f111c='mcp-ui.config',_0x2f10b4={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x265c01=Object[_0x196992(0x20a)],_0x289b8a=(_0x58cf77,_0x4c18fd,_0x294a7f,_0x599541)=>{var _0x50e1e3=_0x196992;for(var _0x2e02d2=_0x599541>0x1?void 0x0:_0x599541?_0x265c01(_0x4c18fd,_0x294a7f):_0x4c18fd,_0x47dd19=_0x58cf77[_0x50e1e3(0x2e8)]-0x1,_0x6f069a;_0x47dd19>=0x0;_0x47dd19--)(_0x6f069a=_0x58cf77[_0x47dd19])&&(_0x2e02d2=_0x6f069a(_0x2e02d2)||_0x2e02d2);return _0x2e02d2;},_0x42459e=(_0x231653,_0x35af19)=>(_0xc48b51,_0x436364)=>_0x35af19(_0xc48b51,_0x436364,_0x231653);const _0x1e1ead=_0x196992(0x1df),_0x329041=_0x196992(0x2de);_0x4fb175[_0x196992(0x29f)]=class extends _0x3528b3[_0x196992(0x251)]{constructor(_0x2090e1,_0xf52fda,_0x3a125a,_0x58590a,_0x2bcbec,_0x157f56,_0x21ddb2,_0x25940e,_0x4b8b8e,_0x5ab023){var _0x3b31cd=_0x196992;super(),_0x4be3b9(this,_0x3b31cd(0x25b),new _0x54618a[(_0x3b31cd(0x334))](!0x1)),_0x4be3b9(this,_0x3b31cd(0x2c3),new _0x54618a[(_0x3b31cd(0x334))]({})),_0x4be3b9(this,_0x3b31cd(0x1f6),new _0x54618a[(_0x3b31cd(0x334))]({})),_0x4be3b9(this,'_apiKey$',new _0x54618a[(_0x3b31cd(0x334))]('')),_0x4be3b9(this,'_handleConfigSave',async _0x387e53=>{var _0x41a992=_0x3b31cd,_0x250459,_0xd735e1;this[_0x41a992(0x25b)][_0x41a992(0x31f)](!0x0);try{const _0xf2d0f1=await this[_0x41a992(0x210)](_0x387e53);if(!_0xf2d0f1[_0x41a992(0x24f)]){this[_0x41a992(0x359)][_0x41a992(0x2b2)]({'type':_0x454ab9[_0x41a992(0x1dc)]['Error'],'content':_0xf2d0f1[_0x41a992(0x299)]||this[_0x41a992(0x2ac)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x387e53[_0x41a992(0x342)]?await this[_0x41a992(0x2a4)]['setItem'](_0x1e1ead,_0x387e53[_0x41a992(0x342)][_0x41a992(0x33b)]()):await this['_localStorageService'][_0x41a992(0x2ff)](_0x1e1ead),this[_0x41a992(0x287)][_0x41a992(0x31f)](((_0x250459=_0x387e53['apiKey'])==null?void 0x0:_0x250459[_0x41a992(0x33b)]())||''),this[_0x41a992(0x292)][_0x41a992(0x1f0)]({'Authorization':_0x41a992(0x2f9)+((_0xd735e1=_0x387e53[_0x41a992(0x342)])==null?void 0x0:_0xd735e1[_0x41a992(0x33b)]())}),this[_0x41a992(0x359)][_0x41a992(0x2b2)]({'type':_0x454ab9[_0x41a992(0x1dc)][_0x41a992(0x309)],'content':this[_0x41a992(0x2ac)]['t'](_0x41a992(0x21c))}),setTimeout(()=>{var _0x2fc0cc=_0x41a992;this[_0x2fc0cc(0x2bf)][_0x2fc0cc(0x2d1)](_0x329041);},0x320);}catch(_0x595dc5){this['_logService'][_0x41a992(0x2f6)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x595dc5),this[_0x41a992(0x359)][_0x41a992(0x2b2)]({'type':_0x454ab9[_0x41a992(0x1dc)][_0x41a992(0x248)],'content':this[_0x41a992(0x2ac)]['t'](_0x41a992(0x311))});}finally{this['_loading$'][_0x41a992(0x31f)](!0x1);}}),(this['_injector']=_0x2090e1,this[_0x3b31cd(0x1e6)]=_0xf52fda,this[_0x3b31cd(0x363)]=_0x3a125a,this[_0x3b31cd(0x2a4)]=_0x58590a,this[_0x3b31cd(0x2bf)]=_0x2bcbec,this[_0x3b31cd(0x359)]=_0x157f56,this[_0x3b31cd(0x2fb)]=_0x21ddb2,this['_localeService']=_0x25940e,this[_0x3b31cd(0x360)]=_0x4b8b8e,this[_0x3b31cd(0x292)]=_0x5ab023,this['_initConfigSync'](),this[_0x3b31cd(0x249)](),this[_0x3b31cd(0x2df)]());}[_0x196992(0x34b)](){var _0x5f1958=_0x196992;const _0x35ceef=this['_configService']['getConfig'](_0x4f111c);_0x35ceef!=null&&_0x35ceef[_0x5f1958(0x222)]&&this[_0x5f1958(0x2bf)]['open']({'id':_0x329041,'title':{'title':this[_0x5f1958(0x2ac)]['t'](_0x5f1958(0x2b4))},'children':{'label':_0x5f1958(0x2c5)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x18d674=_0x5f1958;this[_0x18d674(0x2bf)][_0x18d674(0x2d1)](_0x329041);}});}[_0x196992(0x350)](){var _0x106ce6=_0x196992;return this[_0x106ce6(0x2c3)][_0x106ce6(0x214)];}['_registerComponent'](){var _0x82a67=_0x196992;this[_0x82a67(0x339)](this[_0x82a67(0x2fb)][_0x82a67(0x1ea)](_0x82a67(0x2c5),this[_0x82a67(0x338)]()));}[_0x196992(0x338)](){var _0x239900=_0x196992;return _0x42b9be[_0x239900(0x368)](()=>{var _0x52040=_0x239900,_0x34a844,_0x5eaaf1,_0x42f11f;return _0x137988[_0x52040(0x1e0)](_0x1d3937,{'config':this[_0x52040(0x1f6)][_0x52040(0x214)],'mcpCoreConfig':this[_0x52040(0x2c3)][_0x52040(0x214)],'currentApiKey$':this[_0x52040(0x287)],'onSave':this[_0x52040(0x20c)],'loading':this[_0x52040(0x25b)][_0x52040(0x214)],'connectionStatus$':(_0x34a844=this['_mcpConnectionController'])==null?void 0x0:_0x34a844[_0x52040(0x344)],'connectionError$':(_0x5eaaf1=this[_0x52040(0x292)])==null?void 0x0:_0x5eaaf1[_0x52040(0x268)],'currentSessionId$':(_0x42f11f=this[_0x52040(0x292)])==null?void 0x0:_0x42f11f[_0x52040(0x1fb)]});},this[_0x239900(0x1d9)]);}[_0x196992(0x272)](){var _0x57b60e=_0x196992;this[_0x57b60e(0x339)](this[_0x57b60e(0x363)]['subscribeConfigValue$'](_0x30e1f0[_0x57b60e(0x232)])[_0x57b60e(0x1cb)](_0x7db739=>{var _0x33bfa8=_0x57b60e;this['_mcpCoreConfig$'][_0x33bfa8(0x31f)](_0x7db739||{});}));const _0xe36840=this[_0x57b60e(0x363)]['getConfig'](_0x30e1f0['MCP_PLUGIN_CONFIG_KEY']);this[_0x57b60e(0x2c3)]['next'](_0xe36840||{}),this[_0x57b60e(0x339)](this['_configService'][_0x57b60e(0x258)](_0x4f111c)[_0x57b60e(0x1cb)](_0x35f7=>{var _0x31b85b=_0x57b60e;this['_config$'][_0x31b85b(0x31f)](_0x35f7||{});}));const _0x453e27=this['_configService']['getConfig'](_0x4f111c);this[_0x57b60e(0x1f6)][_0x57b60e(0x31f)](_0x453e27||{});}async['_loadStoredApiKey'](){var _0x3b6a18=_0x196992;const _0x5c8373=this[_0x3b6a18(0x363)]['getConfig'](_0x4f111c);if(!(_0x5c8373!=null&&_0x5c8373[_0x3b6a18(0x222)]))return;const _0x31400a=await this['_localStorageService'][_0x3b6a18(0x1f1)](_0x1e1ead);_0x31400a&&(this[_0x3b6a18(0x292)][_0x3b6a18(0x1f0)]({'Authorization':_0x3b6a18(0x2f9)+_0x31400a}),this['_apiKey$'][_0x3b6a18(0x31f)](_0x31400a));}async[_0x196992(0x210)](_0x390315){var _0x377094=_0x196992;if(!_0x390315[_0x377094(0x342)]||_0x390315['apiKey'][_0x377094(0x33b)]()[_0x377094(0x2e8)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x377094(0x2ac)]['t'](_0x377094(0x314))};if(_0x390315[_0x377094(0x342)][_0x377094(0x33b)]()[_0x377094(0x2e8)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x5b4026=await this[_0x377094(0x1d9)][_0x377094(0x256)](_0x30e1f0[_0x377094(0x279)])[_0x377094(0x2a6)](_0x390315[_0x377094(0x342)][_0x377094(0x33b)]());return _0x5b4026['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x5b4026[_0x377094(0x2f6)]||this[_0x377094(0x2ac)]['t'](_0x377094(0x274))};}catch(_0x225020){return console[_0x377094(0x26e)](_0x377094(0x34f),_0x225020),{'isValid':!0x0};}}},_0x4fb175[_0x196992(0x29f)]=_0x289b8a([_0x42459e(0x0,_0x3528b3[_0x196992(0x284)](_0x3528b3[_0x196992(0x2e5)])),_0x42459e(0x1,_0x42b9be[_0x196992(0x2bb)]),_0x42459e(0x2,_0x3528b3[_0x196992(0x2d6)]),_0x42459e(0x3,_0x3528b3[_0x196992(0x321)]),_0x42459e(0x4,_0x42b9be[_0x196992(0x226)]),_0x42459e(0x5,_0x42b9be['IMessageService']),_0x42459e(0x6,_0x3528b3['Inject'](_0x42b9be['ComponentManager'])),_0x42459e(0x7,_0x3528b3[_0x196992(0x284)](_0x3528b3[_0x196992(0x26a)])),_0x42459e(0x8,_0x3528b3[_0x196992(0x245)]),_0x42459e(0x9,_0x3528b3[_0x196992(0x284)](_0x30e1f0[_0x196992(0x279)]))],_0x4fb175[_0x196992(0x29f)]);const _0xcdbf77={'id':_0x196992(0x206),'type':_0x3528b3[_0x196992(0x32a)]['COMMAND'],'handler':async(_0x191b14,_0x3185d1)=>(_0x191b14[_0x196992(0x256)](_0x4fb175[_0x196992(0x29f)])[_0x196992(0x34b)](),!0x0)};function _0x5cf028(_0x39b36a,_0x350854){var _0x30ffd7=_0x196992;switch(_0x39b36a){case _0x30e1f0['MCPConnectionStatus']['DISCONNECTED']:return _0x30ffd7(0x26f);case _0x30e1f0[_0x30ffd7(0x275)][_0x30ffd7(0x262)]:return'mcpStatus.connecting';case _0x30e1f0['MCPConnectionStatus'][_0x30ffd7(0x2e4)]:return _0x30ffd7(0x27f);case _0x30e1f0['MCPConnectionStatus']['FAILED']:switch(_0x350854){case _0x30e1f0['MCPConnectionError'][_0x30ffd7(0x2d0)]:return'mcpStatus.unauthorized';case _0x30e1f0[_0x30ffd7(0x336)][_0x30ffd7(0x1ed)]:return _0x30ffd7(0x31e);case _0x30e1f0[_0x30ffd7(0x336)][_0x30ffd7(0x293)]:return _0x30ffd7(0x319);case _0x30e1f0[_0x30ffd7(0x336)][_0x30ffd7(0x300)]:return _0x30ffd7(0x273);default:return _0x30ffd7(0x35c);}case _0x30e1f0['MCPConnectionStatus'][_0x30ffd7(0x326)]:return _0x30ffd7(0x2d9);default:return _0x30ffd7(0x32b);}}function _0x4de4eb(_0x10faa3,_0x5b1744,_0x3fdc2a,_0x42a5a3=!0x0){var _0x4cda76=_0x196992;const _0x245090=_0x5cf028(_0x10faa3,_0x5b1744),_0x58a4ff=_0x3fdc2a['t'](_0x245090);return _0x42a5a3?_0x10faa3===_0x30e1f0[_0x4cda76(0x275)][_0x4cda76(0x33d)]&&_0x5b1744===_0x30e1f0[_0x4cda76(0x336)][_0x4cda76(0x2d0)]?_0x58a4ff+_0x4cda76(0x219)+_0x3fdc2a['t'](_0x4cda76(0x364)):_0x10faa3===_0x30e1f0[_0x4cda76(0x275)][_0x4cda76(0x2e4)]?''+_0x58a4ff:_0x10faa3===_0x30e1f0['MCPConnectionStatus'][_0x4cda76(0x33d)]||_0x10faa3===_0x30e1f0[_0x4cda76(0x275)][_0x4cda76(0x1fe)]?_0x58a4ff+_0x4cda76(0x219)+_0x3fdc2a['t'](_0x4cda76(0x271)):_0x58a4ff:_0x58a4ff;}function _0x1b78cd(_0x5c28e7){var _0x5eb9f6=_0x196992;switch(_0x5c28e7){case _0x30e1f0['MCPConnectionStatus'][_0x5eb9f6(0x2e4)]:return _0x5eb9f6(0x357);case _0x30e1f0[_0x5eb9f6(0x275)][_0x5eb9f6(0x262)]:case _0x30e1f0[_0x5eb9f6(0x275)][_0x5eb9f6(0x326)]:return'univer-text-yellow-500';case _0x30e1f0[_0x5eb9f6(0x275)][_0x5eb9f6(0x1fe)]:case _0x30e1f0[_0x5eb9f6(0x275)][_0x5eb9f6(0x33d)]:return _0x5eb9f6(0x2e0);default:return'univer-text-gray-500';}}function _0x15ac7e(_0x2cc25a){var _0x12b605=_0x196992;const {status$:_0x22f80d,error$:_0x236d1d,onConfigure:_0x43a1d0,showClickable:_0x2e3892=!0x0}=_0x2cc25a,_0x2938dc=_0x42b9be[_0x12b605(0x2fc)](_0x22f80d,_0x30e1f0[_0x12b605(0x275)][_0x12b605(0x33d)]),_0x45b73d=_0x42b9be['useObservable'](_0x236d1d,_0x30e1f0[_0x12b605(0x336)][_0x12b605(0x22e)]),_0x4a7c03=_0x42b9be[_0x12b605(0x26b)](_0x3528b3[_0x12b605(0x26a)]),_0x46d91f=_0x2938dc===_0x30e1f0[_0x12b605(0x275)][_0x12b605(0x2e4)];_0x2938dc===_0x30e1f0[_0x12b605(0x275)]['CONNECTING']||_0x30e1f0[_0x12b605(0x275)][_0x12b605(0x326)];const _0x1acd84=_0x4a7c03['t'](_0x5cf028(_0x2938dc,_0x45b73d)),_0x203f15=_0x4de4eb(_0x2938dc,_0x45b73d,_0x4a7c03,_0x2e3892),_0x344139=_0x1b78cd(_0x2938dc),_0x2bc69f=_0x46d91f?_0x137988[_0x12b605(0x1e0)](_0x283222,{}):_0x137988[_0x12b605(0x1e0)](_0x4f9178,{}),_0x1da229=_0x89bcb3[_0x12b605(0x241)](()=>{_0x2e3892&&_0x43a1d0&&_0x43a1d0();},[_0x2e3892,_0x43a1d0]);function _0x36da7b(){var _0x4401b1=_0x12b605;return _0x137988[_0x4401b1(0x2f4)]('div',{'className':_0x454ab9['clsx'](_0x4401b1(0x27c),_0x2e3892&&_0x43a1d0&&_0x4401b1(0x239)),'onClick':_0x2e3892&&_0x43a1d0?_0x1da229:void 0x0,'children':[_0x137988['jsx'](_0x4401b1(0x200),{'className':_0x454ab9['clsx'](_0x4401b1(0x211),_0x344139),'children':_0x2bc69f}),_0x137988[_0x4401b1(0x1e0)](_0x4401b1(0x200),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1acd84})]});}return _0x137988[_0x12b605(0x1e0)](_0x454ab9[_0x12b605(0x218)],{'title':_0x203f15,'placement':_0x12b605(0x32e),'children':_0x36da7b()});}var _0x9d8078=Object[_0x196992(0x20a)],_0x10cbc2=(_0x4a0e2d,_0xd587d,_0x2b77fb,_0x2bafd0)=>{var _0x403e6b=_0x196992;for(var _0x412385=_0x2bafd0>0x1?void 0x0:_0x2bafd0?_0x9d8078(_0xd587d,_0x2b77fb):_0xd587d,_0x847eb7=_0x4a0e2d[_0x403e6b(0x2e8)]-0x1,_0xe23d72;_0x847eb7>=0x0;_0x847eb7--)(_0xe23d72=_0x4a0e2d[_0x847eb7])&&(_0x412385=_0xe23d72(_0x412385)||_0x412385);return _0x412385;},_0x46e6cc=(_0x159d59,_0x1d56a4)=>(_0x41afc2,_0x3fae36)=>_0x1d56a4(_0x41afc2,_0x3fae36,_0x159d59);_0x4fb175[_0x196992(0x2bd)]=class extends _0x3528b3[_0x196992(0x251)]{constructor(_0x362c78,_0x15d8b0,_0x9ba8df,_0x555af0){var _0x398e36=_0x196992;super(),this['_injector']=_0x362c78,this[_0x398e36(0x2c6)]=_0x15d8b0,this[_0x398e36(0x1e6)]=_0x9ba8df,this[_0x398e36(0x363)]=_0x555af0,this[_0x398e36(0x24b)](),this[_0x398e36(0x1d2)]();}['_initAutoConnect'](){var _0x149928=_0x196992;const _0x2ea035=this[_0x149928(0x363)]['getConfig'](_0x4f111c);_0x2ea035!=null&&_0x2ea035['showDeveloperTools']&&(this[_0x149928(0x2c6)][_0x149928(0x2e9)]=!0x1);}[_0x196992(0x1d2)](){var _0x5565b7=_0x196992;const _0x4b1aaa=this['_configService'][_0x5565b7(0x28a)](_0x4f111c);(_0x4b1aaa==null?void 0x0:_0x4b1aaa[_0x5565b7(0x2d8)])!==!0x1&&this[_0x5565b7(0x339)](this['_uiPartsService'][_0x5565b7(0x280)](_0x42b9be[_0x5565b7(0x242)][_0x5565b7(0x224)],()=>{var _0x2230fd=_0x5565b7,_0x159934;return _0x42b9be[_0x2230fd(0x368)](_0x5135ad({'status$':this[_0x2230fd(0x2c6)][_0x2230fd(0x344)],'error$':this[_0x2230fd(0x2c6)][_0x2230fd(0x268)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x159934=_0x4b1aaa==null?void 0x0:_0x4b1aaa[_0x2230fd(0x222)])!=null?_0x159934:!0x1}),this['_injector']);}));}[_0x196992(0x30f)](){var _0x927ba2=_0x196992;this['_injector'][_0x927ba2(0x256)](_0x4fb175['MCPConfigUIController'])[_0x927ba2(0x34b)]();}},_0x4fb175[_0x196992(0x2bd)]=_0x10cbc2([_0x46e6cc(0x0,_0x3528b3[_0x196992(0x284)](_0x3528b3[_0x196992(0x2e5)])),_0x46e6cc(0x1,_0x3528b3['Inject'](_0x30e1f0[_0x196992(0x279)])),_0x46e6cc(0x2,_0x42b9be[_0x196992(0x2bb)]),_0x46e6cc(0x3,_0x3528b3[_0x196992(0x2d6)])],_0x4fb175[_0x196992(0x2bd)]);function _0x5135ad(_0x5f1ec8){const {status$:_0x4c7186,error$:_0x999179,onConfigure:_0x16299f,showClickable:_0x3aecaa}=_0x5f1ec8;return function(){var _0x52c62a=_0x2c3f;return _0x137988[_0x52c62a(0x1e0)](_0x15ac7e,{'status$':_0x4c7186,'error$':_0x999179,'onConfigure':_0x16299f,'showClickable':_0x3aecaa});};}function _0x45991a(_0x1ec0f8){var _0x40361b=_0x196992;return{'id':_0xcdbf77['id'],'type':_0x42b9be[_0x40361b(0x2f5)]['BUTTON'],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x40361b(0x2b4)};}const _0x198478={[_0x42b9be[_0x196992(0x270)][_0x196992(0x318)]]:{[_0xcdbf77['id']]:{'order':0xa,'menuItemFactory':_0x45991a}}};var _0x5a199d=Object[_0x196992(0x20a)],_0x43d3e3=(_0x2d55f6,_0x3883c3,_0x50c1d8,_0x2dc25f)=>{var _0x20fb9f=_0x196992;for(var _0x325007=_0x2dc25f>0x1?void 0x0:_0x2dc25f?_0x5a199d(_0x3883c3,_0x50c1d8):_0x3883c3,_0x57ab4d=_0x2d55f6[_0x20fb9f(0x2e8)]-0x1,_0x2dcb1b;_0x57ab4d>=0x0;_0x57ab4d--)(_0x2dcb1b=_0x2d55f6[_0x57ab4d])&&(_0x325007=_0x2dcb1b(_0x325007)||_0x325007);return _0x325007;},_0x7834f5=(_0x252085,_0x2d131f)=>(_0x27c081,_0x36dd39)=>_0x2d131f(_0x27c081,_0x36dd39,_0x252085);_0x4fb175[_0x196992(0x1fa)]=class extends _0x3528b3['Disposable']{constructor(_0x3fbb2f,_0x5d229d){var _0x262e86=_0x196992;super(),this['_commandService']=_0x3fbb2f,this[_0x262e86(0x2b6)]=_0x5d229d,this[_0x262e86(0x25e)](),this[_0x262e86(0x1cc)]();}['_initializeCommands'](){var _0x16dc5a=_0x196992;[_0xcdbf77][_0x16dc5a(0x28c)](_0x632639=>{var _0x4e890b=_0x16dc5a;this[_0x4e890b(0x339)](this[_0x4e890b(0x2fd)][_0x4e890b(0x367)](_0x632639));});}[_0x196992(0x1cc)](){var _0x1ef24b=_0x196992;this[_0x1ef24b(0x2b6)][_0x1ef24b(0x213)](_0x198478);}},_0x4fb175[_0x196992(0x1fa)]=_0x43d3e3([_0x7834f5(0x0,_0x3528b3[_0x196992(0x2d4)]),_0x7834f5(0x1,_0x42b9be[_0x196992(0x215)])],_0x4fb175[_0x196992(0x1fa)]);const _0x4e0fe6={'mcpStatus':{'disconnected':_0x196992(0x265),'connecting':'MCP\x20Connecting...','connected':_0x196992(0x29d),'failed':_0x196992(0x27a),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x196992(0x203),'maxRetriesExceeded':_0x196992(0x281),'clickToConnect':_0x196992(0x2c8),'clickToConfigure':_0x196992(0x317)},'mcpConfig':{'title':_0x196992(0x349),'description':_0x196992(0x230),'apiKey':_0x196992(0x29b),'apiKeyPlaceholder':_0x196992(0x2d7),'apiKeyHint':_0x196992(0x312),'enableAuth':_0x196992(0x323),'enableAuthHint':_0x196992(0x1e9),'connectionInfo':_0x196992(0x1dd),'mcpClientConfig':_0x196992(0x1dd),'configInstructions':_0x196992(0x246),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x196992(0x22c),'configStep2':_0x196992(0x35f),'configStep3':_0x196992(0x250),'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':_0x196992(0x205),'configParameters':_0x196992(0x2aa),'maxRetries':_0x196992(0x28e),'save':_0x196992(0x36a),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x196992(0x23b),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x196992(0x35e),'apiApplyInfo':{'title':_0x196992(0x1f9),'description':_0x196992(0x32d),'univerAiLabel':_0x196992(0x1f3),'getStarted':_0x196992(0x2ca)},'validation':{'apiKeyRequired':_0x196992(0x1d3),'apiKeyTooShort':_0x196992(0x307),'invalidConfig':_0x196992(0x313),'invalidApiKey':_0x196992(0x369)},'connectionStatus':{'disconnected':_0x196992(0x330),'connecting':'Connecting...','connected':_0x196992(0x2b1),'failed':_0x196992(0x333),'retrying':_0x196992(0x2be)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x196992(0x35b),'networkError':_0x196992(0x1de),'maxRetriesExceeded':_0x196992(0x20b)}}},_0x58ac5a={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0x196992(0x2f2),'failed':_0x196992(0x204),'retrying':'MCP\x20重连中...','unknown':_0x196992(0x285),'unauthorized':_0x196992(0x23a),'sessionOccupied':_0x196992(0x340),'networkError':_0x196992(0x23d),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x196992(0x2bc),'clickToConfigure':_0x196992(0x27d)},'mcpConfig':{'title':_0x196992(0x1f8),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x196992(0x316),'apiKeyPlaceholder':_0x196992(0x2ae),'apiKeyHint':_0x196992(0x34a),'enableAuth':_0x196992(0x34e),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x196992(0x2a1),'mcpClientConfig':_0x196992(0x2a1),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':'配置步骤:','configStep1':_0x196992(0x1d4),'configStep2':_0x196992(0x33e),'configStep3':_0x196992(0x24c),'sessionId':_0x196992(0x216),'sessionIdDescription':_0x196992(0x302),'authorizationDescription':_0x196992(0x36b),'configParameters':_0x196992(0x22f),'maxRetries':_0x196992(0x25a),'save':'保存配置','saving':'保存中...','note1':_0x196992(0x34d),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x196992(0x28b),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x196992(0x28d),'univerAiLabel':_0x196992(0x28f),'getStarted':_0x196992(0x2d5)},'validation':{'apiKeyRequired':_0x196992(0x261),'apiKeyTooShort':_0x196992(0x223),'invalidConfig':_0x196992(0x269),'invalidApiKey':_0x196992(0x2b5)},'connectionStatus':{'disconnected':_0x196992(0x236),'connecting':_0x196992(0x25c),'connected':_0x196992(0x20e),'failed':_0x196992(0x20f),'retrying':_0x196992(0x1f4)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x196992(0x24a),'maxRetriesExceeded':_0x196992(0x202)}}};var _0x294d5=Object['defineProperty'],_0xd8afbc=Object[_0x196992(0x20a)],_0x42ebf9=(_0x18c367,_0x581ed4,_0x49fdf7)=>_0x581ed4 in _0x18c367?_0x294d5(_0x18c367,_0x581ed4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49fdf7}):_0x18c367[_0x581ed4]=_0x49fdf7,_0x15b0ce=(_0x2ee43e,_0x3a40a9,_0x8e330d,_0x111b73)=>{var _0x4bd4a0=_0x196992;for(var _0x56b88c=_0x111b73>0x1?void 0x0:_0x111b73?_0xd8afbc(_0x3a40a9,_0x8e330d):_0x3a40a9,_0x5e1cb4=_0x2ee43e[_0x4bd4a0(0x2e8)]-0x1,_0x5a2e24;_0x5e1cb4>=0x0;_0x5e1cb4--)(_0x5a2e24=_0x2ee43e[_0x5e1cb4])&&(_0x56b88c=_0x5a2e24(_0x56b88c)||_0x56b88c);return _0x56b88c;},_0x25f6b0=(_0x45349b,_0x1957d6)=>(_0x496a04,_0x50aaa1)=>_0x1957d6(_0x496a04,_0x50aaa1,_0x45349b),_0x5c744f=(_0x3c8e43,_0x2dfca7,_0x27567e)=>_0x42ebf9(_0x3c8e43,_0x2dfca7+'',_0x27567e);_0x4fb175['UniverMCPUIPlugin']=class extends _0x3528b3[_0x196992(0x289)]{constructor(_0x5038c4=_0x2f10b4,_0x3f1cfd,_0x37c1f1,_0x1a16ee,_0xcc9f0d,_0x1d193d){var _0xa0617d=_0x196992;super(),this['_config']=_0x5038c4,this[_0xa0617d(0x1d9)]=_0x3f1cfd,this['_configService']=_0x37c1f1,this['_uiPartsService']=_0x1a16ee,this[_0xa0617d(0x2a4)]=_0xcc9f0d,this[_0xa0617d(0x2ac)]=_0x1d193d;const {..._0x5680d4}=_0x3528b3[_0xa0617d(0x2ad)]({},_0x2f10b4,this[_0xa0617d(0x2da)]);this[_0xa0617d(0x363)][_0xa0617d(0x253)](_0x4f111c,_0x5680d4);}async[_0x196992(0x1e2)](){var _0x536391=_0x196992;const _0x38055d=[[_0x4fb175[_0x536391(0x2bd)]],[_0x4fb175['MCPConfigUIController']],[_0x4fb175['MCPUIMenuController']]];this['_injector'][_0x536391(0x2c1)](_0x21d076['ISocketService'])||_0x38055d[_0x536391(0x20d)]([_0x21d076[_0x536391(0x1d1)],{'useClass':_0x21d076[_0x536391(0x1ef)]}]),_0x38055d[_0x536391(0x28c)](_0x57da45=>this[_0x536391(0x1d9)][_0x536391(0x337)](_0x57da45)),this['_injector'][_0x536391(0x256)](_0x4fb175['MCPConnectionUIController']),this[_0x536391(0x1d9)][_0x536391(0x256)](_0x4fb175['MCPConfigUIController']),this['_injector'][_0x536391(0x256)](_0x4fb175['MCPUIMenuController']);}},_0x5c744f(_0x4fb175[_0x196992(0x1d6)],'pluginName',_0x196992(0x33a)),_0x4fb175[_0x196992(0x1d6)]=_0x15b0ce([_0x3528b3[_0x196992(0x290)](_0x30e1f0[_0x196992(0x2cb)]),_0x25f6b0(0x1,_0x3528b3['Inject'](_0x3528b3['Injector'])),_0x25f6b0(0x2,_0x3528b3[_0x196992(0x2d6)]),_0x25f6b0(0x3,_0x42b9be[_0x196992(0x2bb)]),_0x25f6b0(0x4,_0x3528b3['ILocalStorageService']),_0x25f6b0(0x5,_0x3528b3[_0x196992(0x284)](_0x3528b3[_0x196992(0x26a)]))],_0x4fb175[_0x196992(0x1d6)]),_0x4fb175[_0x196992(0x2c5)]=_0x1d3937,_0x4fb175[_0x196992(0x255)]=_0x15ac7e,_0x4fb175['OpenMCPConfigPanelCommand']=_0xcdbf77,_0x4fb175[_0x196992(0x2a9)]=_0x4e0fe6,_0x4fb175[_0x196992(0x362)]=_0x58ac5a,Object['defineProperty'](_0x4fb175,Symbol[_0x196992(0x201)],{'value':_0x196992(0x2ee)});}));function _0x6720(){var _0xe10d3b=['hasOwnProperty','jsxs','MenuItemType','error','Configuration\x20Notes:','react/jsx-runtime','Bearer\x20','mcpConfig.apiKeyHint','_componentManager','useObservable','_commandService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','removeItem','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-flex\x20univer-items-center\x20univer-gap-2','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','object','useState','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Success','7MPipvM','mcpConfig.configStepTitle','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','UniverProMcp','xlink:href','_handleConfigure','defs','mcpConfig.configError','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20configuration','mcpConfig.validation.apiKeyRequired','283077DHUtzT','API\x20密钥','Click\x20to\x20configure\x20MCP','OTHERS','mcpStatus.networkError','97839wqFbrf','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.connectionStatus.connected','mcpStatus.sessionOccupied','next','tag','ILocalStorageService','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Enable\x20Authentication','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.apiApplyInfo.title','RETRYING','off-line-icon_clip0_910_343','symbol','OffLineIcon','CommandType','mcpStatus.unknown','call','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','bottom','includes','Disconnected','mcpConfig.connectionStatus.connecting','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','Connection\x20Failed','BehaviorSubject','univer-space-y-2','MCPConnectionError','add','_createConfigPanelComponent','disposeWithMe','MCP_UI_PLUGIN','trim','icon','DISCONNECTED','将配置添加到您的\x20MCP\x20客户端设置文件中','on-line-icon','MCP:\x20会话\x20ID\x20已被占用','text','apiKey','mcpConfig.description','connectionStatus$','mcpServerUrl','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.connectionInfo','toString','MCP\x20Configuration','您的\x20API\x20密钥将在此浏览器中本地存储','showConfigPanel','OnLineIcon','配置更改将立即生效','启用身份验证','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','getCurrentConfig','round','88CWnpTH','M0\x200H16V16H0z','defineProperty','mcpConfig.save','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-text-green-500','univer-bg-red-500','_messageService','exports','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcpStatus.failed','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Failed\x20to\x20save\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_logService','univer-space-y-3','zhCN','_configService','mcpStatus.clickToConfigure','forwardRef','CheckMarkIcon','registerCommand','connectInjector','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Save\x20Configuration','带有\x20Bearer\x20前缀的\x20API\x20密钥。','subscribe','_initializeMenus','noopener\x20noreferrer','@univerjs-pro/mcp','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-font-medium','ISocketService','_initStatusComponent','API\x20key\x20is\x20required','复制以下\x20JSON\x20配置','fill','UniverMCPUIPlugin','0\x200\x2017\x2016','url(#$1','_injector','mcpConfig.configStep1','concat','MessageType','MCP\x20Client\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcp.apiKey','jsx','useRef','onStarting','mcpConfig.apiKeyPlaceholder','prototype','mcpConfig.configInstructions','_uiPartsService','className','mcpConfig.apiApplyInfo.description','Enable\x20authentication\x20for\x20secure\x20connections','register','univer-bg-gray-500','rxjs','SESSION_ID_OCCUPIED','univer-text-xs\x20univer-text-gray-500','WebSocketService','__setCustomHeaders','getItem','Authorization:','Univer\x20AI\x20Console','重连中...','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_config$','univer-flex\x20univer-items-center\x20univer-gap-3','MCP\x20配置','What\x20is\x20API\x20Key?','MCPUIMenuController','sessionId$','univer-bg-blue-500','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','FAILED','string','div','toStringTag','超出最大重试次数,请稍后再试','MCP:\x20Network\x20Error','MCP\x20连接失败','API\x20key\x20with\x20Bearer\x20prefix.','mcp-ui.command.openConfigPanel','help-single','evenodd','propertyIsEnumerable','getOwnPropertyDescriptor','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_handleConfigSave','push','已连接','连接失败','_validateConfig','univer-mr-2\x20univer-flex\x20univer-text-xl','univer.ai','mergeMenu','value','IMenuManagerService','会话ID','18DfKgJN','Tooltip','\x20-\x20','colorChannel1','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.configSaved','mcpConfig.apiApplyInfo.getStarted','Input','white','UniverDesign','translate(.97)','showDeveloperTools','API\x20密钥长度至少需要\x2010\x20位','HEADER_MENU','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','IDialogService','http://www.w3.org/2000/svg','_blank','use','defIds','UniverIcon','Copy\x20the\x20JSON\x20configuration\x20below','univer-bg-green-500','NONE','配置参数:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcpConfig.authorizationDescription','MCP_PLUGIN_CONFIG_KEY','getOwnPropertySymbols','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','未连接','univer-text-sm\x20univer-font-medium','url(#off-line-icon_clip0_910_343)','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCP:\x20未授权','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-flex-shrink-0\x20univer-text-red-500','MCP:\x20网络错误','map','UniverNetwork','univerjs-icon\x20univerjs-icon-','useCallback','BuiltInUIPart','1em','HelpSingle','ILogService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','<API_KEY>','Error','_loadStoredApiKey','网络连接错误,请检查您的网络连接','_initAutoConnect','重启您的\x20MCP\x20客户端以使配置生效','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','random','isValid','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disposable','replace','setConfig','univer-text-blue-600','MCPStatusDisplay','get','univer-space-y-5','subscribeConfigValue$','path','最大重试次数','_loading$','连接中...','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_initializeCommands','732702fEiIQF','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','API\x20密钥不能为空','CONNECTING','attrs','mcpConfig.configStep3','MCP\x20Disconnected','current','clipPath','connectionError$','配置无效','LocaleService','useDependency','none','314620catbuN','warn','mcpStatus.disconnected','RibbonStartGroup','mcpStatus.clickToConnect','_initConfigSync','mcpStatus.maxRetriesExceeded','mcpConfig.validation.invalidApiKey','MCPConnectionStatus','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','React','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCPConnectionController','MCP\x20Connection\x20Failed','createElement','univer-flex\x20univer-items-center','点击配置\x20MCP','svg','mcpStatus.connected','registerComponent','MCP:\x20Max\x20Retries\x20Exceeded','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','currentColor','Inject','MCP\x20状态未知','@univerjs/network','_apiKey$','displayName','Plugin','getConfig','配置保存成功','forEach','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Max\x20Retries','Univer\x20AI\x20控制台','DependentOn','assign','_mcpConnectionController','NETWORK_ERROR','1556410oVPzlG','mcpConfig.connectionError.maxRetriesExceeded','off','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','span','errorMessage','0\x200\x2016\x2016','API\x20Key','mcpConfig.connectionStatus.retrying','MCP\x20Connected','substring','MCPConfigUIController','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','MCP\x20客户端配置','univer_session_id:','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_localStorageService','https://console.univer.plus','validateApiKey','UniverUi','on-line-icon_clip0_910_349','enUS','Configuration\x20Parameters:','entries','_localeService','merge','请输入您的\x20API\x20密钥','0\x200\x2017\x2017','javascript:void(0)','Connected','show','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.title','API\x20密钥无效,请检查密钥是否正确','_menuManagerService','mcpConfig.configStep2','label','mcpConfig.connectionError.sessionOccupied','apply','IUIPartsService','点击连接\x20MCP','MCPConnectionUIController','Retrying...','_dialogService','pre','has','mcpConfig.connectionError.unauthorized','_mcpCoreConfig$','react','MCPConfigPanel','_connectionController','UniverProMcpUi','Click\x20to\x20connect\x20MCP','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-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','Get\x20your\x20API\x20key\x20in\x20seconds','UniverMCPPlugin','783676AwYHlm','341mabczY','univer-text-sm\x20univer-text-gray-500','function','UNAUTHORIZED','close','@univerjs/core','mcpConfig.connectionError.networkError','ICommandService','几秒钟内获取您的\x20API\x20密钥','IConfigService','Enter\x20your\x20API\x20key','showStatus','mcpStatus.retrying','_config','mask','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcp-config-dialog','_registerComponent','univer-text-red-500','mcpConfig.note2','153383oiPAWA','univer-flex-shrink-0\x20univer-text-blue-500','CONNECTED','Injector','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','M5.21243\x2012.287L11.8791\x205.62036','length','enableAutoConnect','univer-flex\x20univer-items-start\x20univer-gap-2','children','univer-min-w-0\x20univer-flex-1','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Module','@univerjs/design','univer.plus','idSuffix','MCP\x20已连接'];_0x6720=function(){return _0xe10d3b;};return _0x6720();}
|
|
1
|
+
function _0x2f3b(_0x3a15a0,_0x320b34){var _0x456a53=_0x456a();return _0x2f3b=function(_0x2f3bf8,_0x6aa7dd){_0x2f3bf8=_0x2f3bf8-0x84;var _0x58c81e=_0x456a53[_0x2f3bf8];return _0x58c81e;},_0x2f3b(_0x3a15a0,_0x320b34);}function _0x456a(){var _0x3a51ac=['_initConfigSync','div','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','jsx','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Tooltip','IDialogService','OffLineIcon','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_initAutoConnect','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-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','_commandService','univer-flex\x20univer-items-center','prototype','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','mcpConfig.connectionStatus.retrying','Authorization:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_mcpConnectionController','https://console.univer.plus','univer-space-y-4','mcpConfig.validation.apiKeyTooShort','API\x20密钥','showDeveloperTools','MCP\x20客户端配置','clsx','_handleConfigure','merge','registerCommand','clipPath','Copy\x20the\x20JSON\x20configuration\x20below','mcpServerUrl','useObservable','2040EfQQQs','mcpConfig.sessionIdDescription','ILocalStorageService','defineProperty','2783jcnrnv','univer_session_id:','_dialogService','Univer\x20AI\x20控制台','getOwnPropertySymbols','UniverMCPUIPlugin','defIds','Plugin','Input','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','配置更改将立即生效','ILogService','pluginName','string','span','mcpStatus.maxRetriesExceeded','MCP\x20Retrying...','MCP_PLUGIN_CONFIG_KEY','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','重启您的\x20MCP\x20客户端以使配置生效','_messageService','ISocketService','MCP\x20Connected','配置步骤:','点击连接\x20MCP','Connected','NONE','MCP\x20配置','MCP:\x20会话\x20ID\x20已被占用','rxjs','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mask','apiKey','svg','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-text-yellow-500','Click\x20to\x20configure\x20MCP','show','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.connected','attrs','translate(.97)','Connecting...','mcpConfig.apiApplyInfo.title','mcpConfig.connectionStatus.disconnected','bottom','useRef','_localStorageService','289017yUSWbn','univer.ai','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','\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-gray-500','on-line-icon','mcp-ui.command.openConfigPanel','MCPUIMenuController','check-mark-icon','mcp-config-dialog','univer-text-white','IUIPartsService','BuiltInUIPart','MCPConnectionStatus','connectInjector','1em','_blank','MCP:\x20未授权','What\x20is\x20API\x20Key?','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer.plus','RibbonStartGroup','evenodd','mcpStatus.retrying','带有\x20Bearer\x20前缀的\x20API\x20密钥。','mcp.apiKey','复制以下\x20JSON\x20配置','Close','univer-flex-shrink-0\x20univer-text-red-500','mcpConfig.configStep1','noopener\x20noreferrer','超出最大重试次数,请稍后再试','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','未连接','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','_injector','map','includes','MCP_UI_PLUGIN','getConfig','什么是\x20API\x20密钥?','path','mcpConfig.connectionInfo','univer-text-xs\x20univer-text-gray-500','UniverIcon','重连中...','MCP:\x20超出最大重试次数','UNAUTHORIZED','_loading$','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','react/jsx-runtime','className','API\x20Key','text','react','univer-flex\x20univer-items-center\x20univer-gap-3','MCP\x20Connecting...','url(#on-line-icon_clip0_910_349)','univer-min-w-0\x20univer-flex-1','会话\x20ID\x20已被占用,请稍后再试','Enter\x20your\x20API\x20key','__setCustomHeaders','use','jsxs','API\x20密钥不能为空','on-line-icon_clip0_910_349','current','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','white','mcpConfig.apiApplyInfo.univerAiLabel','IMenuManagerService','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20Disconnected','setConfig','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','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','MCP\x20Client\x20Configuration','Retrying...','RETRYING','_initStatusComponent','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MenuIcon','error','WebSocketService','substring','function','Inject','SESSION_ID_OCCUPIED','5595540gCSdsN','mcpConfig.configParameters','colorChannel1','univer-text-green-500','mcpConfig.saving','COMMAND','sessionId$','univerjs-icon\x20univerjs-icon-','284cSyFNs','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','Configuration\x20Steps:','几秒钟内获取您的\x20API\x20密钥','children','random','配置保存失败','@univerjs/ui','univer-flex\x20univer-items-center\x20univer-gap-2','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','启用身份验证以获得安全连接','MCPConfigUIController','close','FAILED','mcpStatus.networkError','MCP\x20连接中...','setItem','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','CONNECTED','将以下配置添加到您的\x20MCP\x20客户端设置中:','NETWORK_ERROR','add','连接失败','round','hasOwnProperty','_mcpCoreConfig$','BUTTON','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-space-y-3','最大重试次数','CONNECTING','univer-flex\x20univer-items-start\x20univer-gap-2','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.apiKeyHint','_connectionController','MessageType','@univerjs/design','保存中...','mcpStatus.clickToConfigure','_apiKey$','univer-font-medium','615482mvYaND','MenuItemType','univer-bg-gray-500','exports','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','none','univer-bg-red-500','Disposable','mcpConfig.connectionStatus.connected','replace','56kAkkJv','mcpConfig.note2','HelpSingle','_configService','会话ID','连接中...','mcpConfig.connectionStatus.connecting','javascript:void(0)','indexOf','label','React','connectionError$','xlink:href','DependentOn','@univerjs-pro/mcp','close-small-single','Success','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-text-gray-400','extend','mcpConfig.note1','warn','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','fill','help-single','univer-text-sm\x20univer-font-medium','_componentManager','off-line-icon_clip0_910_343','register','toString','entries','length','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','2442864RUyXth','DISCONNECTED','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.title','call','forEach','subscribeConfigValue$','您的\x20API\x20密钥将在此浏览器中本地存储','_logService','univer-text-red-500','mcpStatus.unauthorized','mcpConfig.configInstructions','showConfigPanel','_menuManagerService','网络连接错误,请检查您的网络连接','API\x20key\x20is\x20required','univer-text-xs\x20univer-text-gray-600','Click\x20to\x20connect\x20MCP','95139fvRIqG','MCP\x20已断开','off','_validateConfig','MAX_RETRIES_EXCEEDED','get','Button','_config','\x20-\x20','removeItem','M0\x200H16V16H0z','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','MCP\x20Configuration','isValid','MCPStatusDisplay','mcpConfig.configStep3','Failed\x20to\x20save\x20configuration','UniverCore','_localeService','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','zhCN','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-text-blue-600','_uiPartsService','url(#$1','currentColor','mcpConfig.validation.invalidConfig','MCP\x20Connection\x20Failed','defs','已连接','_config$','MCPConfigPanel','_initializeMenus','icon','_initializeCommands','value','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-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Configuration\x20saved\x20successfully','MCP:\x20Session\x20ID\x20Occupied','pre','Session\x20ID','MCPConnectionUIController','off-line-icon','getCurrentConfig','onStarting','getOwnPropertyDescriptor','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpStatus.sessionOccupied','mcpConfig.apiApplyInfo.description','displayName','trim','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Injector','保存配置','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','mcpConfig.connectionStatus.failed','mcpConfig.apiKeyPlaceholder','Configuration\x20Notes:','mcpStatus.disconnected','<API_KEY>','BehaviorSubject','配置保存成功','assign','Module','idSuffix','mcpStatus.connecting','mcpConfig.description','OnLineIcon','CloseSmallSingle','concat','MCPConnectionError','Max\x20Retries','IConfigService','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','push','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','CheckMarkIcon','mcpConfig.connectionError.networkError','useCallback','MCP\x20Unknown\x20Status','MCPConnectionController','tag','2110TwhVhh','univer-flex\x20univer-gap-3','MCP:\x20网络错误','forwardRef','univer-bg-blue-500','useDependency','univer-flex-1','next','univer-text-sm\x20univer-text-gray-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-space-y-2','LocaleService','univer-bg-green-500','M5.21243\x2012.287L11.8791\x205.62036','_registerComponent','4218WaCNJI','disposeWithMe','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','validateApiKey','API\x20密钥无效,请检查密钥是否正确','_createConfigPanelComponent','_loadStoredApiKey','mcpConfig.configError','mcpStatus.failed','配置参数:','subscribe','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','ComponentManager','registerComponent','MCP:\x20Network\x20Error','mcpConfig.configSaved','0\x200\x2016\x2016','@univerjs/core','mcpStatus.clickToConnect','createElement','Save\x20Configuration','connectionStatus$','_handleConfigSave','http://www.w3.org/2000/svg'];_0x456a=function(){return _0x3a51ac;};return _0x456a();}(function(_0x589d63,_0x4ccb03){var _0xcfb00a=_0x2f3b,_0x3f2275=_0x589d63();while(!![]){try{var _0x2aeb62=-parseInt(_0xcfb00a(0x96))/0x1*(parseInt(_0xcfb00a(0x127))/0x2)+parseInt(_0xcfb00a(0x17d))/0x3+-parseInt(_0xcfb00a(0x11f))/0x4+-parseInt(_0xcfb00a(0x1e3))/0x5*(parseInt(_0xcfb00a(0x1f2))/0x6)+parseInt(_0xcfb00a(0x152))/0x7+-parseInt(_0xcfb00a(0x15c))/0x8*(-parseInt(_0xcfb00a(0xc7))/0x9)+-parseInt(_0xcfb00a(0x92))/0xa*(-parseInt(_0xcfb00a(0x18f))/0xb);if(_0x2aeb62===_0x4ccb03)break;else _0x3f2275['push'](_0x3f2275['shift']());}catch(_0x4b1e11){_0x3f2275['push'](_0x3f2275['shift']());}}}(_0x456a,0xc3798),function(_0x1dea45,_0x2a0171){var _0x130762=_0x2f3b;typeof exports=='object'&&typeof module<'u'?_0x2a0171(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==_0x130762(0x11c)&&define['amd']?define([_0x130762(0x155),_0x130762(0x205),_0x130762(0xf9),_0x130762(0x16a),_0x130762(0x14d),_0x130762(0x12e),_0x130762(0xb3),_0x130762(0xfd),'@univerjs/network'],_0x2a0171):(_0x1dea45=typeof globalThis<'u'?globalThis:_0x1dea45||self,_0x2a0171(_0x1dea45['UniverProMcpUi']={},_0x1dea45[_0x130762(0x1a1)],_0x1dea45[_0x130762(0x166)],_0x1dea45['UniverProMcp'],_0x1dea45['UniverDesign'],_0x1dea45['UniverUi'],_0x1dea45[_0x130762(0xb3)],_0x1dea45[_0x130762(0x166)],_0x1dea45['UniverNetwork']));}(this,function(_0x2f44b2,_0x2d2b72,_0x5894a5,_0x497ef3,_0x2b0681,_0x447b69,_0x3fbafd,_0x59d82d,_0x50e67a){'use strict';var _0x37b30b=_0x2f3b;var _0x7952c6=Object[_0x37b30b(0x95)],_0x35ec7b=(_0x19b828,_0x9efd9f,_0x3b7e0e)=>_0x9efd9f in _0x19b828?_0x7952c6(_0x19b828,_0x9efd9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b7e0e}):_0x19b828[_0x9efd9f]=_0x3b7e0e,_0x1ab7a2=(_0x329c19,_0x5329e4,_0x133405)=>_0x35ec7b(_0x329c19,typeof _0x5329e4!='symbol'?_0x5329e4+'':_0x5329e4,_0x133405),_0x5a5c27=function(){var _0x41a68f=_0x37b30b;return _0x5a5c27=Object[_0x41a68f(0x1cf)]||function(_0x1ef48b){var _0x42beb6=_0x41a68f;for(var _0x24eff5,_0x308d5f=0x1,_0x4bc15b=arguments[_0x42beb6(0x17b)];_0x308d5f<_0x4bc15b;_0x308d5f++){_0x24eff5=arguments[_0x308d5f];for(var _0x57e058 in _0x24eff5)Object[_0x42beb6(0x219)][_0x42beb6(0x13f)][_0x42beb6(0x181)](_0x24eff5,_0x57e058)&&(_0x1ef48b[_0x57e058]=_0x24eff5[_0x57e058]);}return _0x1ef48b;},_0x5a5c27['apply'](this,arguments);},_0x20265a=function(_0x286552,_0x503f43){var _0x3c5bc5=_0x37b30b,_0x663f2d={};for(var _0x2351b3 in _0x286552)Object[_0x3c5bc5(0x219)][_0x3c5bc5(0x13f)]['call'](_0x286552,_0x2351b3)&&_0x503f43[_0x3c5bc5(0x164)](_0x2351b3)<0x0&&(_0x663f2d[_0x2351b3]=_0x286552[_0x2351b3]);if(_0x286552!=null&&typeof Object[_0x3c5bc5(0x9a)]=='function'){for(var _0x1bbeac=0x0,_0x2351b3=Object['getOwnPropertySymbols'](_0x286552);_0x1bbeac<_0x2351b3[_0x3c5bc5(0x17b)];_0x1bbeac++)_0x503f43[_0x3c5bc5(0x164)](_0x2351b3[_0x1bbeac])<0x0&&Object[_0x3c5bc5(0x219)]['propertyIsEnumerable']['call'](_0x286552,_0x2351b3[_0x1bbeac])&&(_0x663f2d[_0x2351b3[_0x1bbeac]]=_0x286552[_0x2351b3[_0x1bbeac]]);}return _0x663f2d;},_0x334dd2=_0x59d82d[_0x37b30b(0x1e6)](function(_0x46e63c,_0x10fdac){var _0x2e07d7=_0x37b30b,_0x5ead30=_0x46e63c[_0x2e07d7(0x1b1)],_0x316834=_0x46e63c['id'],_0x2071c0=_0x46e63c['className'],_0x4c494f=_0x46e63c[_0x2e07d7(0x16f)],_0x23763b=_0x20265a(_0x46e63c,[_0x2e07d7(0x1b1),'id',_0x2e07d7(0xfa),_0x2e07d7(0x16f)]),_0x255e10=_0x2e07d7(0x126)[_0x2e07d7(0x1d6)](_0x316834,'\x20')['concat'](_0x2071c0||'')[_0x2e07d7(0x1c3)](),_0x449f5f=_0x59d82d[_0x2e07d7(0xc5)]('_'[_0x2e07d7(0x1d6)](_0x151fb7()));return _0x15a245(_0x5ead30,''[_0x2e07d7(0x1d6)](_0x316834),{'defIds':_0x5ead30[_0x2e07d7(0x9c)],'idSuffix':_0x449f5f[_0x2e07d7(0x109)]},_0x5a5c27({'ref':_0x10fdac,'className':_0x255e10},_0x23763b),_0x4c494f);});function _0x15a245(_0x3c7249,_0x24fb21,_0x33b45f,_0x14cd4f,_0x21e96e){var _0x6bc91d=_0x37b30b;return _0x59d82d[_0x6bc91d(0x207)](_0x3c7249[_0x6bc91d(0x1e2)],_0x5a5c27(_0x5a5c27({'key':_0x24fb21},_0x5d4e3d(_0x3c7249,_0x33b45f,_0x21e96e)),_0x14cd4f),(_0xbdcd80(_0x3c7249,_0x33b45f)[_0x6bc91d(0x12b)]||[])[_0x6bc91d(0xeb)](function(_0x27e0c7,_0x9c489){var _0x281232=_0x6bc91d;return _0x15a245(_0x27e0c7,''[_0x281232(0x1d6)](_0x24fb21,'-')[_0x281232(0x1d6)](_0x3c7249[_0x281232(0x1e2)],'-')['concat'](_0x9c489),_0x33b45f,void 0x0,_0x21e96e);}));}function _0x5d4e3d(_0x1d1bbe,_0x21a7ed,_0x77ba4c){var _0x330409=_0x37b30b,_0x595db7=_0x5a5c27({},_0x1d1bbe[_0x330409(0xbf)]);_0x77ba4c!=null&&_0x77ba4c[_0x330409(0x121)]&&_0x595db7[_0x330409(0x173)]==='colorChannel1'&&(_0x595db7[_0x330409(0x173)]=_0x77ba4c[_0x330409(0x121)]),_0x1d1bbe['tag']===_0x330409(0xb5)&&_0x595db7['id']&&(_0x595db7['id']=_0x595db7['id']+_0x21a7ed[_0x330409(0x1d1)]),Object['entries'](_0x595db7)[_0x330409(0x182)](function(_0x127ba0){var _0x4e0ce9=_0x330409,_0x238d63=_0x127ba0[0x0],_0x1c3dd7=_0x127ba0[0x1];_0x238d63==='mask'&&typeof _0x1c3dd7==_0x4e0ce9(0xa3)&&(_0x595db7[_0x238d63]=_0x1c3dd7[_0x4e0ce9(0x15b)](/url\(#(.*)\)/,_0x4e0ce9(0x1a8)['concat'](_0x21a7ed['idSuffix'],')')));});var _0x4f8d28=_0x21a7ed[_0x330409(0x9c)];return!_0x4f8d28||_0x4f8d28[_0x330409(0x17b)]===0x0||(_0x1d1bbe['tag']===_0x330409(0x105)&&_0x595db7[_0x330409(0x168)]&&(_0x595db7[_0x330409(0x168)]=_0x595db7['xlink:href']+_0x21a7ed[_0x330409(0x1d1)]),Object[_0x330409(0x17a)](_0x595db7)[_0x330409(0x182)](function(_0x119075){var _0xed13bf=_0x330409,_0x5e8245=_0x119075[0x0],_0x4b9341=_0x119075[0x1];typeof _0x4b9341==_0xed13bf(0xa3)&&(_0x595db7[_0x5e8245]=_0x4b9341['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x21a7ed[_0xed13bf(0x1d1)],')')));})),_0x595db7;}function _0xbdcd80(_0x4b240b,_0x3ada77){var _0x1b0321=_0x37b30b,_0x13fe3f,_0x4c7974=_0x3ada77['defIds'];return!_0x4c7974||_0x4c7974[_0x1b0321(0x17b)]===0x0?_0x4b240b:_0x4b240b[_0x1b0321(0x1e2)]===_0x1b0321(0x1ac)&&(!((_0x13fe3f=_0x4b240b[_0x1b0321(0x12b)])===null||_0x13fe3f===void 0x0)&&_0x13fe3f[_0x1b0321(0x17b)])?_0x5a5c27(_0x5a5c27({},_0x4b240b),{'children':_0x4b240b['children'][_0x1b0321(0xeb)](function(_0x3cd5d1){var _0x5ac300=_0x1b0321;return typeof _0x3cd5d1[_0x5ac300(0xbf)]['id']==_0x5ac300(0xa3)&&_0x4c7974&&_0x4c7974['includes'](_0x3cd5d1[_0x5ac300(0xbf)]['id'])?_0x5a5c27(_0x5a5c27({},_0x3cd5d1),{'attrs':_0x5a5c27(_0x5a5c27({},_0x3cd5d1['attrs']),{'id':_0x3cd5d1[_0x5ac300(0xbf)]['id']+_0x3ada77[_0x5ac300(0x1d1)]})}):_0x3cd5d1;})}):_0x4b240b;}function _0x151fb7(){var _0x1890d9=_0x37b30b;return Math[_0x1890d9(0x12c)]()[_0x1890d9(0x179)](0x24)[_0x1890d9(0x11b)](0x2,0x8);}_0x334dd2[_0x37b30b(0x1c2)]=_0x37b30b(0xf3);var _0x46e8eb={'tag':_0x37b30b(0xb7),'attrs':{'xmlns':_0x37b30b(0x20b),'fill':'none','viewBox':_0x37b30b(0x204),'width':'1em','height':_0x37b30b(0xd6)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x1a9),'d':_0x37b30b(0x1a3),'fillRule':'evenodd','clipRule':_0x37b30b(0xdd)}}]},_0x3d272a=_0x59d82d['forwardRef'](function(_0x39d783,_0x38a8ec){var _0x32fa31=_0x37b30b;return _0x59d82d['createElement'](_0x334dd2,Object[_0x32fa31(0x1cf)]({},_0x39d783,{'id':_0x32fa31(0xcf),'ref':_0x38a8ec,'icon':_0x46e8eb}));});_0x3d272a['displayName']=_0x37b30b(0x1dd);var _0x2631d6={'tag':_0x37b30b(0xb7),'attrs':{'xmlns':_0x37b30b(0x20b),'fill':'none','viewBox':'0\x200\x2017\x2017','width':_0x37b30b(0xd6),'height':_0x37b30b(0xd6)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x37b30b(0x1f0),'strokeLinecap':'round','strokeLinejoin':_0x37b30b(0x13e),'strokeWidth':1.33}}]},_0x24d4e9=_0x59d82d['forwardRef'](function(_0x637391,_0x42b71d){var _0x1dd301=_0x37b30b;return _0x59d82d[_0x1dd301(0x207)](_0x334dd2,Object[_0x1dd301(0x1cf)]({},_0x637391,{'id':_0x1dd301(0x16b),'ref':_0x42b71d,'icon':_0x2631d6}));});_0x24d4e9['displayName']=_0x37b30b(0x1d5);var _0x3bcdeb={'tag':'svg','attrs':{'xmlns':_0x37b30b(0x20b),'fill':_0x37b30b(0x157),'viewBox':'0\x200\x2016\x2016','width':_0x37b30b(0xd6),'height':_0x37b30b(0xd6)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x1a9),'d':_0x37b30b(0x112)}},{'tag':_0x37b30b(0xf0),'attrs':{'fill':'currentColor','d':_0x37b30b(0x1dc)}},{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x1a9),'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':_0x37b30b(0xdd)}}]},_0x21bdb0=_0x59d82d['forwardRef'](function(_0x42cae5,_0x9730ae){var _0x39df99=_0x37b30b;return _0x59d82d[_0x39df99(0x207)](_0x334dd2,Object[_0x39df99(0x1cf)]({},_0x42cae5,{'id':_0x39df99(0x174),'ref':_0x9730ae,'icon':_0x3bcdeb}));});_0x21bdb0[_0x37b30b(0x1c2)]=_0x37b30b(0x15e);var _0x3e995f={'tag':_0x37b30b(0xb7),'attrs':{'xmlns':_0x37b30b(0x20b),'fill':_0x37b30b(0x157),'viewBox':_0x37b30b(0x204),'width':_0x37b30b(0xd6),'height':_0x37b30b(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x37b30b(0x1ac),'attrs':{},'children':[{'tag':_0x37b30b(0x8e),'attrs':{'id':_0x37b30b(0x177)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x10b),'d':_0x37b30b(0x199)}}]}]}],'defIds':[_0x37b30b(0x177)]},_0x111bd=_0x59d82d[_0x37b30b(0x1e6)](function(_0x19fbdf,_0x5acade){var _0x573cff=_0x37b30b;return _0x59d82d[_0x573cff(0x207)](_0x334dd2,Object['assign']({},_0x19fbdf,{'id':_0x573cff(0x1bb),'ref':_0x5acade,'icon':_0x3e995f}));});_0x111bd['displayName']=_0x37b30b(0x213);var _0x195931={'tag':_0x37b30b(0xb7),'attrs':{'xmlns':_0x37b30b(0x20b),'fill':_0x37b30b(0x157),'viewBox':'0\x200\x2017\x2016','width':_0x37b30b(0xd6),'height':_0x37b30b(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':_0x37b30b(0x100)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'stroke':_0x37b30b(0x1a9),'d':_0x37b30b(0xf8),'strokeLinecap':_0x37b30b(0x13e),'strokeLinejoin':_0x37b30b(0x13e),'strokeWidth':1.2}}]},{'tag':_0x37b30b(0x1ac),'attrs':{},'children':[{'tag':_0x37b30b(0x8e),'attrs':{'id':_0x37b30b(0x108)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x10b),'d':_0x37b30b(0x199),'transform':_0x37b30b(0xc0)}}]}]}],'defIds':[_0x37b30b(0x108)]},_0x2646fa=_0x59d82d[_0x37b30b(0x1e6)](function(_0x11f011,_0x29a1fd){var _0x2fc38e=_0x37b30b;return _0x59d82d[_0x2fc38e(0x207)](_0x334dd2,Object[_0x2fc38e(0x1cf)]({},_0x11f011,{'id':_0x2fc38e(0xcc),'ref':_0x29a1fd,'icon':_0x195931}));});_0x2646fa['displayName']=_0x37b30b(0x1d4);function _0xea54ac(_0x60d71f){var _0x2d76ae=_0x37b30b,_0x5a66dc,_0x526bfc;const {mcpCoreConfig:_0x1c294f,onSave:_0x3be38b,loading:_0x5bfa0a=!0x1,config:_0x2b71fa,connectionStatus$:_0x105341,connectionError$:_0x3f8d70,currentApiKey$:_0x4810d9,currentSessionId$:_0x575722}=_0x60d71f,_0x5251aa=_0x447b69[_0x2d76ae(0x1e8)](_0x2d2b72[_0x2d76ae(0x1ee)]),_0x326b4b=_0x447b69[_0x2d76ae(0x91)](_0x105341,_0x497ef3[_0x2d76ae(0xd4)][_0x2d76ae(0x17e)]),_0x215b15=_0x447b69[_0x2d76ae(0x91)](_0x3f8d70,_0x497ef3[_0x2d76ae(0x1d7)][_0x2d76ae(0xb0)]),_0x10e126=_0x447b69[_0x2d76ae(0x91)](_0x575722,''),_0x45d332=_0x447b69['useObservable'](_0x4810d9,''),[_0x58e097,_0x56ff54]=_0x59d82d['useState'](_0x45d332||''),_0x552082=!0x0,_0x342802=_0x2b71fa['showDeveloperTools']&&_0x1c294f[_0x2d76ae(0x90)]&&(_0x1c294f[_0x2d76ae(0x90)][_0x2d76ae(0xec)](_0x2d76ae(0xdb))||_0x1c294f['mcpServerUrl'][_0x2d76ae(0xec)](_0x2d76ae(0xc8))),_0x5ec463=(_0x5a66dc=_0x1c294f[_0x2d76ae(0x90)])==null?void 0x0:_0x5a66dc[_0x2d76ae(0xec)]('univer.plus'),_0x18aed6=(_0x526bfc=_0x1c294f[_0x2d76ae(0x90)])==null?void 0x0:_0x526bfc[_0x2d76ae(0xec)](_0x2d76ae(0xc8)),_0x38ec14=_0x5ec463?_0x2d76ae(0x84):'https://console.univer.ai',_0x4f6d00=_0x2b71fa[_0x2d76ae(0x88)]&&(_0x5ec463||_0x18aed6),[_0xc27f77,_0x7f067c]=_0x59d82d['useState'](!_0x58e097['trim']()),_0xcdd6e7=(_0x97eea8,_0x1e9d8f)=>{var _0x4466b0=_0x2d76ae;if(_0x1e9d8f===_0x497ef3[_0x4466b0(0x1d7)][_0x4466b0(0xf6)])return _0x4466b0(0x111);switch(_0x97eea8){case _0x497ef3[_0x4466b0(0xd4)][_0x4466b0(0x139)]:return _0x4466b0(0x142);case _0x497ef3[_0x4466b0(0xd4)][_0x4466b0(0x146)]:case _0x497ef3[_0x4466b0(0xd4)][_0x4466b0(0x115)]:return _0x4466b0(0x1b5);case _0x497ef3['MCPConnectionStatus'][_0x4466b0(0x134)]:return _0x4466b0(0x111);default:return _0x4466b0(0x148);}},_0x34da55=(_0x239b71,_0x7e744c)=>{var _0x35b38f=_0x2d76ae;if(_0x7e744c===_0x497ef3[_0x35b38f(0x1d7)]['UNAUTHORIZED'])return _0x35b38f(0x158);switch(_0x239b71){case _0x497ef3['MCPConnectionStatus'][_0x35b38f(0x139)]:return _0x35b38f(0x1ef);case _0x497ef3[_0x35b38f(0xd4)][_0x35b38f(0x146)]:case _0x497ef3[_0x35b38f(0xd4)][_0x35b38f(0x115)]:return _0x35b38f(0x1e7);case _0x497ef3['MCPConnectionStatus'][_0x35b38f(0x134)]:return _0x35b38f(0x158);default:return _0x35b38f(0x154);}},_0x397eaa=_0x39e4a2=>{var _0x5349da=_0x2d76ae;switch(_0x39e4a2){case _0x497ef3['MCPConnectionStatus'][_0x5349da(0x139)]:return _0x5251aa['t'](_0x5349da(0x15a));case _0x497ef3[_0x5349da(0xd4)][_0x5349da(0x146)]:return _0x5251aa['t'](_0x5349da(0x162));case _0x497ef3[_0x5349da(0xd4)][_0x5349da(0x134)]:return _0x5251aa['t'](_0x5349da(0x1c8));case _0x497ef3[_0x5349da(0xd4)][_0x5349da(0x115)]:return _0x5251aa['t'](_0x5349da(0x21b));default:return _0x5251aa['t'](_0x5349da(0xc3));}},_0x43c419=_0x530e41=>{var _0x2290e6=_0x2d76ae;switch(_0x530e41){case _0x497ef3[_0x2290e6(0x1d7)]['UNAUTHORIZED']:return _0x5251aa['t']('mcpConfig.connectionError.unauthorized');case _0x497ef3['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x5251aa['t']('mcpConfig.connectionError.sessionOccupied');case _0x497ef3['MCPConnectionError']['NETWORK_ERROR']:return _0x5251aa['t'](_0x2290e6(0x1de));case _0x497ef3[_0x2290e6(0x1d7)][_0x2290e6(0x193)]:return _0x5251aa['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x5e40a8=_0x59d82d[_0x2d76ae(0x1df)](()=>{var _0x4fa2ad=_0x2d76ae;const _0x5d303e={..._0x1c294f,'apiKey':_0x58e097[_0x4fa2ad(0x1c3)](),'enableAuth':_0x552082};_0x3be38b(_0x5d303e);},[_0x1c294f,_0x58e097,_0x552082,_0x3be38b]),_0x53ccf1=_0x58e097[_0x2d76ae(0x1c3)]()[_0x2d76ae(0x17b)]>0x0;return _0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xda),'children':_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xfe),'children':[_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0x10e),'children':_0x5894a5['jsx'](_0x2d76ae(0xa4),{'className':_0x2d76ae(0xd1),'children':'⚙'})}),_0x5894a5[_0x2d76ae(0x20f)]('div',{'children':_0x5894a5[_0x2d76ae(0x20f)]('p',{'className':_0x2d76ae(0x1eb),'children':_0x5251aa['t'](_0x2d76ae(0x1d3))})})]})}),_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x156),'children':[_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0x1f4)+_0xcdd6e7(_0x326b4b,_0x215b15)+_0x2d76ae(0x17c),'children':_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x12f),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x34da55(_0x326b4b,_0x215b15)+_0x2d76ae(0x214)}),_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x175),'children':_0x397eaa(_0x326b4b)})]})}),_0x215b15!==_0x497ef3[_0x2d76ae(0x1d7)]['NONE']&&(_0x326b4b===_0x497ef3[_0x2d76ae(0xd4)]['FAILED']||_0x215b15===_0x497ef3[_0x2d76ae(0x1d7)][_0x2d76ae(0xf6)])&&_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x149),'children':_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x147),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0xe3),'children':'⚠️'}),_0x5894a5['jsx']('p',{'className':_0x2d76ae(0x1ec),'children':_0x43c419(_0x215b15)})]})})]}),_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':'univer-space-y-5','children':[_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x1ed),'children':[_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x165),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'children':'🔑'}),'\x20',_0x5251aa['t']('mcpConfig.apiKey'),_0x5894a5['jsx'](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x186),'children':'*'}),_0x342802&&_0x5894a5['jsx']('a',{'href':'javascript:void(0)','onClick':()=>_0x7f067c(!0x0),'className':_0x2d76ae(0x19a),'title':_0x5251aa['t'](_0x2d76ae(0xc2)),'children':_0x5894a5[_0x2d76ae(0x20f)](_0x21bdb0,{})})]}),_0x5894a5[_0x2d76ae(0x20f)](_0x2b0681[_0x2d76ae(0x9e)],{'type':_0x2d76ae(0xfc),'placeholder':_0x5251aa['t'](_0x2d76ae(0x1c9)),'value':_0x58e097,'onChange':_0x56ff54,'disabled':_0x5bfa0a,'autoComplete':_0x2d76ae(0x191)}),_0x5894a5[_0x2d76ae(0x20f)]('p',{'className':_0x2d76ae(0xf2),'children':_0x5251aa['t'](_0x2d76ae(0x14a))})]}),_0x342802&&_0xc27f77&&_0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x130),'children':[_0x5894a5[_0x2d76ae(0x20f)]('a',{'href':_0x2d76ae(0x163),'onClick':()=>_0x7f067c(!0x1),'className':_0x2d76ae(0x216),'title':_0x2d76ae(0xe2),'children':_0x5894a5[_0x2d76ae(0x20f)](_0x24d4e9,{})}),_0x5894a5['jsxs']('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x5894a5['jsx']('div',{'className':'univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x5894a5[_0x2d76ae(0x20f)]('span',{'className':_0x2d76ae(0x1a6),'children':'🚀'})}),_0x5894a5['jsxs']('div',{'className':_0x2d76ae(0x1e9),'children':[_0x5894a5[_0x2d76ae(0x20f)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x5251aa['t']('mcpConfig.apiApplyInfo.title')}),_0x5894a5[_0x2d76ae(0x20f)]('p',{'className':_0x2d76ae(0x19b),'children':_0x5251aa['t'](_0x2d76ae(0x1c1))}),_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0xbd),'children':_0x4f6d00&&_0x5894a5[_0x2d76ae(0x106)]('a',{'href':_0x38ec14,'target':_0x2d76ae(0xd7),'rel':_0x2d76ae(0xe5),'className':_0x2d76ae(0x1b4),'children':[_0x5894a5[_0x2d76ae(0x20f)]('span',{'children':'🤖'}),_0x5251aa['t'](_0x2d76ae(0x10c)),_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x16e),'children':'↗'})]})}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x17f),'children':['✨','\x20',_0x5251aa['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2b71fa[_0x2d76ae(0x88)]&&_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xa8),'children':[_0x5894a5[_0x2d76ae(0x106)]('h4',{'className':_0x2d76ae(0x1bf),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'children':'🔗'}),'\x20',_0x5251aa['t'](_0x2d76ae(0xf1))]}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x85),'children':[_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':'univer-space-y-3','children':[_0x5894a5[_0x2d76ae(0x20f)]('p',{'className':_0x2d76ae(0x18d),'children':_0x5251aa['t'](_0x2d76ae(0x188))}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x1ed),'children':[_0x5894a5['jsx']('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5251aa['t']('mcpConfig.configStepTitle')}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x1a5),'children':[_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x12f),'children':[_0x5894a5['jsx']('span',{'className':'univer-flex\x20univer-h-4\x20univer-w-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'}),_0x5251aa['t'](_0x2d76ae(0xe4))]}),_0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x12f),'children':[_0x5894a5['jsx'](_0x2d76ae(0xa4),{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x5251aa['t']('mcpConfig.configStep2')]}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x12f),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':'univer-flex\x20univer-h-4\x20univer-w-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'}),_0x5251aa['t'](_0x2d76ae(0x19f))]})]})]})]}),_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x1ed),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xe7),'children':_0x2d76ae(0x19c)}),_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x1b8),{'className':_0x2d76ae(0x9f),'children':'{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id='+_0x10e126+_0x2d76ae(0x21a)+(_0x58e097||_0x2d76ae(0x1cc))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x144),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xe7),'children':_0x5251aa['t'](_0x2d76ae(0x120))}),_0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':'univer-space-y-2','children':[_0x5894a5[_0x2d76ae(0x106)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xb4)}),_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x101),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x2d76ae(0x97)}),_0x5894a5['jsx'](_0x2d76ae(0x20d),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5251aa['t'](_0x2d76ae(0x93))})]})]}),_0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x5894a5['jsx'](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xb4)}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x101),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x138),'children':_0x2d76ae(0x21c)}),_0x5894a5['jsx'](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xf2),'children':_0x5251aa['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x5894a5[_0x2d76ae(0x20f)](_0x2b0681[_0x2d76ae(0x195)],{'onClick':_0x5e40a8,'disabled':!_0x53ccf1||_0x5bfa0a,'className':_0x2d76ae(0xe9),'children':_0x5bfa0a?_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x12f),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'children':'⟲'}),_0x5251aa['t'](_0x2d76ae(0x123))]}):_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x12f),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x3d272a,{}),_0x5251aa['t']('mcpConfig.save')]})}),_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0x128),'children':_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x1e4),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xc9),'children':[_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0x151),'children':_0x2d76ae(0x1ca)}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'children':['•',_0x5251aa['t'](_0x2d76ae(0x170))]}),_0x5894a5[_0x2d76ae(0x106)]('div',{'children':['•',_0x5251aa['t'](_0x2d76ae(0x15d))]})]})]})})]})})]});}const _0x2d0a08='mcp-ui.config',_0x22f26d={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x5814ee=Object[_0x37b30b(0x1be)],_0x30bec7=(_0x115fd4,_0x506217,_0x2e6f90,_0x5f07d9)=>{for(var _0x3e4061=_0x5f07d9>0x1?void 0x0:_0x5f07d9?_0x5814ee(_0x506217,_0x2e6f90):_0x506217,_0x2095ef=_0x115fd4['length']-0x1,_0x564a3f;_0x2095ef>=0x0;_0x2095ef--)(_0x564a3f=_0x115fd4[_0x2095ef])&&(_0x3e4061=_0x564a3f(_0x3e4061)||_0x3e4061);return _0x3e4061;},_0xb1b7fd=(_0x229632,_0x2f4978)=>(_0x5d0fd8,_0x4dde86)=>_0x2f4978(_0x5d0fd8,_0x4dde86,_0x229632);const _0x470a14=_0x37b30b(0xe0),_0x1458e2=_0x37b30b(0xd0);_0x2f44b2[_0x37b30b(0x132)]=class extends _0x2d2b72[_0x37b30b(0x159)]{constructor(_0xb10095,_0x10f40c,_0x467dff,_0x2d9da9,_0x23a79a,_0x3d258d,_0x4508e4,_0x1b02d0,_0x56e614,_0x2500d3){var _0x2a8b06=_0x37b30b;super(),_0x1ab7a2(this,'_loading$',new _0x3fbafd[(_0x2a8b06(0x1cd))](!0x1)),_0x1ab7a2(this,_0x2a8b06(0x140),new _0x3fbafd[(_0x2a8b06(0x1cd))]({})),_0x1ab7a2(this,_0x2a8b06(0x1ae),new _0x3fbafd[(_0x2a8b06(0x1cd))]({})),_0x1ab7a2(this,'_apiKey$',new _0x3fbafd[(_0x2a8b06(0x1cd))]('')),_0x1ab7a2(this,_0x2a8b06(0x20a),async _0x517fd7=>{var _0x25b75b=_0x2a8b06,_0xa5489d,_0x4e2e36;this[_0x25b75b(0xf7)][_0x25b75b(0x1ea)](!0x0);try{const _0x1f11d4=await this[_0x25b75b(0x192)](_0x517fd7);if(!_0x1f11d4[_0x25b75b(0x19d)]){this[_0x25b75b(0xaa)]['show']({'type':_0x2b0681[_0x25b75b(0x14c)]['Error'],'content':_0x1f11d4['errorMessage']||this[_0x25b75b(0x1a2)]['t'](_0x25b75b(0x1aa))});return;}_0x517fd7[_0x25b75b(0xb6)]?await this[_0x25b75b(0xc6)][_0x25b75b(0x137)](_0x470a14,_0x517fd7[_0x25b75b(0xb6)][_0x25b75b(0x1c3)]()):await this['_localStorageService'][_0x25b75b(0x198)](_0x470a14),this['_apiKey$'][_0x25b75b(0x1ea)](((_0xa5489d=_0x517fd7[_0x25b75b(0xb6)])==null?void 0x0:_0xa5489d[_0x25b75b(0x1c3)]())||''),this[_0x25b75b(0x21e)][_0x25b75b(0x104)]({'Authorization':'Bearer\x20'+((_0x4e2e36=_0x517fd7[_0x25b75b(0xb6)])==null?void 0x0:_0x4e2e36[_0x25b75b(0x1c3)]())}),this[_0x25b75b(0xaa)]['show']({'type':_0x2b0681['MessageType'][_0x25b75b(0x16c)],'content':this[_0x25b75b(0x1a2)]['t'](_0x25b75b(0x203))}),setTimeout(()=>{var _0x16eb1d=_0x25b75b;this[_0x16eb1d(0x98)][_0x16eb1d(0x133)](_0x1458e2);},0x320);}catch(_0xf33c37){this[_0x25b75b(0x185)][_0x25b75b(0x119)](_0x25b75b(0x172),_0xf33c37),this[_0x25b75b(0xaa)][_0x25b75b(0xbb)]({'type':_0x2b0681[_0x25b75b(0x14c)]['Error'],'content':this[_0x25b75b(0x1a2)]['t'](_0x25b75b(0x1f9))});}finally{this[_0x25b75b(0xf7)][_0x25b75b(0x1ea)](!0x1);}}),(this['_injector']=_0xb10095,this[_0x2a8b06(0x1a7)]=_0x10f40c,this[_0x2a8b06(0x15f)]=_0x467dff,this[_0x2a8b06(0xc6)]=_0x2d9da9,this['_dialogService']=_0x23a79a,this[_0x2a8b06(0xaa)]=_0x3d258d,this[_0x2a8b06(0x176)]=_0x4508e4,this[_0x2a8b06(0x1a2)]=_0x1b02d0,this[_0x2a8b06(0x185)]=_0x56e614,this[_0x2a8b06(0x21e)]=_0x2500d3,this['_initConfigSync'](),this[_0x2a8b06(0x1f8)](),this[_0x2a8b06(0x1f1)]());}[_0x37b30b(0x189)](){var _0x3293f7=_0x37b30b;const _0x2811d2=this[_0x3293f7(0x15f)][_0x3293f7(0xee)](_0x2d0a08);_0x2811d2!=null&&_0x2811d2[_0x3293f7(0x88)]&&this[_0x3293f7(0x98)]['open']({'id':_0x1458e2,'title':{'title':this['_localeService']['t'](_0x3293f7(0x180))},'children':{'label':_0x3293f7(0x1af)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x436a6a=_0x3293f7;this[_0x436a6a(0x98)][_0x436a6a(0x133)](_0x1458e2);}});}[_0x37b30b(0x1bc)](){var _0x50fecb=_0x37b30b;return this[_0x50fecb(0x140)][_0x50fecb(0x1b3)];}[_0x37b30b(0x1f1)](){var _0x48c136=_0x37b30b;this[_0x48c136(0x1f3)](this[_0x48c136(0x176)][_0x48c136(0x178)](_0x48c136(0x1af),this['_createConfigPanelComponent']()));}[_0x37b30b(0x1f7)](){var _0x371682=_0x37b30b;return _0x447b69[_0x371682(0xd5)](()=>{var _0x4d4896=_0x371682,_0x458777,_0x3dce33,_0x32242d;return _0x5894a5[_0x4d4896(0x20f)](_0xea54ac,{'config':this[_0x4d4896(0x1ae)][_0x4d4896(0x1b3)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x4d4896(0x1b3)],'currentApiKey$':this[_0x4d4896(0x150)],'onSave':this['_handleConfigSave'],'loading':this[_0x4d4896(0xf7)][_0x4d4896(0x1b3)],'connectionStatus$':(_0x458777=this[_0x4d4896(0x21e)])==null?void 0x0:_0x458777[_0x4d4896(0x209)],'connectionError$':(_0x3dce33=this[_0x4d4896(0x21e)])==null?void 0x0:_0x3dce33[_0x4d4896(0x167)],'currentSessionId$':(_0x32242d=this[_0x4d4896(0x21e)])==null?void 0x0:_0x32242d[_0x4d4896(0x125)]});},this[_0x371682(0xea)]);}[_0x37b30b(0x20c)](){var _0xd777f6=_0x37b30b;this[_0xd777f6(0x1f3)](this['_configService'][_0xd777f6(0x183)](_0x497ef3[_0xd777f6(0xa7)])[_0xd777f6(0x1fc)](_0x9f4844=>{var _0x5bca12=_0xd777f6;this[_0x5bca12(0x140)]['next'](_0x9f4844||{});}));const _0x10387d=this['_configService']['getConfig'](_0x497ef3['MCP_PLUGIN_CONFIG_KEY']);this['_mcpCoreConfig$'][_0xd777f6(0x1ea)](_0x10387d||{}),this['disposeWithMe'](this[_0xd777f6(0x15f)][_0xd777f6(0x183)](_0x2d0a08)['subscribe'](_0x28a7c8=>{var _0x48de00=_0xd777f6;this[_0x48de00(0x1ae)]['next'](_0x28a7c8||{});}));const _0x9e8fc7=this[_0xd777f6(0x15f)][_0xd777f6(0xee)](_0x2d0a08);this[_0xd777f6(0x1ae)][_0xd777f6(0x1ea)](_0x9e8fc7||{});}async[_0x37b30b(0x1f8)](){var _0x2e4926=_0x37b30b;const _0x1431ed=this[_0x2e4926(0x15f)][_0x2e4926(0xee)](_0x2d0a08);if(!(_0x1431ed!=null&&_0x1431ed[_0x2e4926(0x88)]))return;const _0x4f597b=await this[_0x2e4926(0xc6)]['getItem'](_0x470a14);_0x4f597b&&(this[_0x2e4926(0x21e)][_0x2e4926(0x104)]({'Authorization':'Bearer\x20'+_0x4f597b}),this['_apiKey$']['next'](_0x4f597b));}async['_validateConfig'](_0x539302){var _0x53abef=_0x37b30b;if(!_0x539302[_0x53abef(0xb6)]||_0x539302['apiKey']['trim']()[_0x53abef(0x17b)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x53abef(0x1a2)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x539302['apiKey'][_0x53abef(0x1c3)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x53abef(0x86))};try{const _0x4456c8=await this[_0x53abef(0xea)][_0x53abef(0x194)](_0x497ef3[_0x53abef(0x1e1)])[_0x53abef(0x1f5)](_0x539302[_0x53abef(0xb6)][_0x53abef(0x1c3)]());return _0x4456c8[_0x53abef(0x19d)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x4456c8[_0x53abef(0x119)]||this[_0x53abef(0x1a2)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x4fec6f){return console[_0x53abef(0x171)](_0x53abef(0xbc),_0x4fec6f),{'isValid':!0x0};}}},_0x2f44b2[_0x37b30b(0x132)]=_0x30bec7([_0xb1b7fd(0x0,_0x2d2b72['Inject'](_0x2d2b72[_0x37b30b(0x1c5)])),_0xb1b7fd(0x1,_0x447b69[_0x37b30b(0xd2)]),_0xb1b7fd(0x2,_0x2d2b72['IConfigService']),_0xb1b7fd(0x3,_0x2d2b72[_0x37b30b(0x94)]),_0xb1b7fd(0x4,_0x447b69[_0x37b30b(0x212)]),_0xb1b7fd(0x5,_0x447b69['IMessageService']),_0xb1b7fd(0x6,_0x2d2b72[_0x37b30b(0x11d)](_0x447b69[_0x37b30b(0x200)])),_0xb1b7fd(0x7,_0x2d2b72[_0x37b30b(0x11d)](_0x2d2b72['LocaleService'])),_0xb1b7fd(0x8,_0x2d2b72[_0x37b30b(0xa1)]),_0xb1b7fd(0x9,_0x2d2b72[_0x37b30b(0x11d)](_0x497ef3['MCPConnectionController']))],_0x2f44b2[_0x37b30b(0x132)]);const _0xc26e02={'id':_0x37b30b(0xcd),'type':_0x2d2b72['CommandType'][_0x37b30b(0x124)],'handler':async(_0x446757,_0x2f3e86)=>(_0x446757['get'](_0x2f44b2[_0x37b30b(0x132)])[_0x37b30b(0x189)](),!0x0)};function _0x515ef7(_0x38afd4,_0x2c0780){var _0x30006c=_0x37b30b;switch(_0x38afd4){case _0x497ef3[_0x30006c(0xd4)]['DISCONNECTED']:return _0x30006c(0x1cb);case _0x497ef3[_0x30006c(0xd4)]['CONNECTING']:return _0x30006c(0x1d2);case _0x497ef3['MCPConnectionStatus'][_0x30006c(0x139)]:return _0x30006c(0xbe);case _0x497ef3[_0x30006c(0xd4)][_0x30006c(0x134)]:switch(_0x2c0780){case _0x497ef3[_0x30006c(0x1d7)]['UNAUTHORIZED']:return _0x30006c(0x187);case _0x497ef3[_0x30006c(0x1d7)][_0x30006c(0x11e)]:return _0x30006c(0x1c0);case _0x497ef3[_0x30006c(0x1d7)][_0x30006c(0x13b)]:return _0x30006c(0x135);case _0x497ef3[_0x30006c(0x1d7)][_0x30006c(0x193)]:return _0x30006c(0xa5);default:return _0x30006c(0x1fa);}case _0x497ef3[_0x30006c(0xd4)][_0x30006c(0x115)]:return _0x30006c(0xde);default:return'mcpStatus.unknown';}}function _0x24c54f(_0x5e0257,_0x45f226,_0x380ba8,_0x162708=!0x0){var _0x4b57a9=_0x37b30b;const _0x23adab=_0x515ef7(_0x5e0257,_0x45f226),_0x428822=_0x380ba8['t'](_0x23adab);return _0x162708?_0x5e0257===_0x497ef3[_0x4b57a9(0xd4)][_0x4b57a9(0x17e)]&&_0x45f226===_0x497ef3['MCPConnectionError'][_0x4b57a9(0xf6)]?_0x428822+_0x4b57a9(0x197)+_0x380ba8['t'](_0x4b57a9(0x14f)):_0x5e0257===_0x497ef3[_0x4b57a9(0xd4)][_0x4b57a9(0x139)]?''+_0x428822:_0x5e0257===_0x497ef3[_0x4b57a9(0xd4)][_0x4b57a9(0x17e)]||_0x5e0257===_0x497ef3[_0x4b57a9(0xd4)][_0x4b57a9(0x134)]?_0x428822+'\x20-\x20'+_0x380ba8['t'](_0x4b57a9(0x206)):_0x428822:_0x428822;}function _0x24426b(_0x2ed44d){var _0x5603d2=_0x37b30b;switch(_0x2ed44d){case _0x497ef3['MCPConnectionStatus']['CONNECTED']:return _0x5603d2(0x122);case _0x497ef3[_0x5603d2(0xd4)][_0x5603d2(0x146)]:case _0x497ef3['MCPConnectionStatus'][_0x5603d2(0x115)]:return _0x5603d2(0xb9);case _0x497ef3[_0x5603d2(0xd4)][_0x5603d2(0x134)]:case _0x497ef3[_0x5603d2(0xd4)]['DISCONNECTED']:return _0x5603d2(0x186);default:return _0x5603d2(0xcb);}}function _0xe1e11b(_0x3c5f40){var _0x251407=_0x37b30b;const {status$:_0x26062b,error$:_0x383fa3,onConfigure:_0x437ae2,showClickable:_0x462184=!0x0}=_0x3c5f40,_0x5cdfcd=_0x447b69[_0x251407(0x91)](_0x26062b,_0x497ef3[_0x251407(0xd4)]['DISCONNECTED']),_0x94f28f=_0x447b69[_0x251407(0x91)](_0x383fa3,_0x497ef3[_0x251407(0x1d7)]['NONE']),_0x419caa=_0x447b69[_0x251407(0x1e8)](_0x2d2b72['LocaleService']),_0x46e864=_0x5cdfcd===_0x497ef3['MCPConnectionStatus'][_0x251407(0x139)];_0x5cdfcd===_0x497ef3[_0x251407(0xd4)][_0x251407(0x146)]||_0x497ef3['MCPConnectionStatus'][_0x251407(0x115)];const _0x436fc9=_0x419caa['t'](_0x515ef7(_0x5cdfcd,_0x94f28f)),_0x411526=_0x24c54f(_0x5cdfcd,_0x94f28f,_0x419caa,_0x462184),_0x50763e=_0x24426b(_0x5cdfcd),_0x4b952e=_0x46e864?_0x5894a5[_0x251407(0x20f)](_0x2646fa,{}):_0x5894a5[_0x251407(0x20f)](_0x111bd,{}),_0x44a1c6=_0x59d82d[_0x251407(0x1df)](()=>{_0x462184&&_0x437ae2&&_0x437ae2();},[_0x462184,_0x437ae2]);function _0x1ace0d(){var _0x10a3ca=_0x251407;return _0x5894a5[_0x10a3ca(0x106)](_0x10a3ca(0x20d),{'className':_0x2b0681[_0x10a3ca(0x8a)](_0x10a3ca(0x218),_0x462184&&_0x437ae2&&_0x10a3ca(0xca)),'onClick':_0x462184&&_0x437ae2?_0x44a1c6:void 0x0,'children':[_0x5894a5[_0x10a3ca(0x20f)](_0x10a3ca(0x20d),{'className':_0x2b0681[_0x10a3ca(0x8a)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x50763e),'children':_0x4b952e}),_0x5894a5[_0x10a3ca(0x20f)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x436fc9})]});}return _0x5894a5[_0x251407(0x20f)](_0x2b0681[_0x251407(0x211)],{'title':_0x411526,'placement':_0x251407(0xc4),'children':_0x1ace0d()});}var _0x3f85af=Object['getOwnPropertyDescriptor'],_0x559e7b=(_0x366219,_0x2092d8,_0xf71ae0,_0x1dc68)=>{for(var _0x404715=_0x1dc68>0x1?void 0x0:_0x1dc68?_0x3f85af(_0x2092d8,_0xf71ae0):_0x2092d8,_0x48808c=_0x366219['length']-0x1,_0x4ef0c6;_0x48808c>=0x0;_0x48808c--)(_0x4ef0c6=_0x366219[_0x48808c])&&(_0x404715=_0x4ef0c6(_0x404715)||_0x404715);return _0x404715;},_0x2b7d2=(_0x36b942,_0x50f60f)=>(_0xabd1ef,_0x14a85b)=>_0x50f60f(_0xabd1ef,_0x14a85b,_0x36b942);_0x2f44b2['MCPConnectionUIController']=class extends _0x2d2b72[_0x37b30b(0x159)]{constructor(_0x3cc50a,_0x1d1889,_0x58d744,_0x4e71d3){var _0x37c0ce=_0x37b30b;super(),this['_injector']=_0x3cc50a,this[_0x37c0ce(0x14b)]=_0x1d1889,this['_uiPartsService']=_0x58d744,this[_0x37c0ce(0x15f)]=_0x4e71d3,this['_initAutoConnect'](),this[_0x37c0ce(0x116)]();}[_0x37b30b(0x215)](){var _0x4626e0=_0x37b30b;const _0x579ca1=this['_configService'][_0x4626e0(0xee)](_0x2d0a08);_0x579ca1!=null&&_0x579ca1['showDeveloperTools']&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x37b30b(0x116)](){var _0xba83f7=_0x37b30b;const _0xdda602=this[_0xba83f7(0x15f)]['getConfig'](_0x2d0a08);(_0xdda602==null?void 0x0:_0xdda602['showStatus'])!==!0x1&&this[_0xba83f7(0x1f3)](this[_0xba83f7(0x1a7)][_0xba83f7(0x201)](_0x447b69[_0xba83f7(0xd3)]['HEADER_MENU'],()=>{var _0x2029f5=_0xba83f7,_0x2b8a4f;return _0x447b69[_0x2029f5(0xd5)](_0x16c3a5({'status$':this[_0x2029f5(0x14b)][_0x2029f5(0x209)],'error$':this[_0x2029f5(0x14b)][_0x2029f5(0x167)],'onConfigure':()=>this[_0x2029f5(0x8b)](),'showClickable':(_0x2b8a4f=_0xdda602==null?void 0x0:_0xdda602['showDeveloperTools'])!=null?_0x2b8a4f:!0x1}),this[_0x2029f5(0xea)]);}));}[_0x37b30b(0x8b)](){var _0x3a488d=_0x37b30b;this['_injector'][_0x3a488d(0x194)](_0x2f44b2[_0x3a488d(0x132)])[_0x3a488d(0x189)]();}},_0x2f44b2[_0x37b30b(0x1ba)]=_0x559e7b([_0x2b7d2(0x0,_0x2d2b72[_0x37b30b(0x11d)](_0x2d2b72[_0x37b30b(0x1c5)])),_0x2b7d2(0x1,_0x2d2b72[_0x37b30b(0x11d)](_0x497ef3[_0x37b30b(0x1e1)])),_0x2b7d2(0x2,_0x447b69['IUIPartsService']),_0x2b7d2(0x3,_0x2d2b72[_0x37b30b(0x1d9)])],_0x2f44b2['MCPConnectionUIController']);function _0x16c3a5(_0x2f1ac9){const {status$:_0xa11283,error$:_0x3f18ce,onConfigure:_0x11ab8f,showClickable:_0x1325af}=_0x2f1ac9;return function(){return _0x5894a5['jsx'](_0xe1e11b,{'status$':_0xa11283,'error$':_0x3f18ce,'onConfigure':_0x11ab8f,'showClickable':_0x1325af});};}function _0x8a89d4(_0x521b34){var _0x2740e2=_0x37b30b;return{'id':_0xc26e02['id'],'type':_0x447b69[_0x2740e2(0x153)][_0x2740e2(0x141)],'icon':_0x2740e2(0x118),'title':_0x2740e2(0x180),'tooltip':_0x2740e2(0x180)};}const _0x3f94d6={[_0x447b69[_0x37b30b(0xdc)]['OTHERS']]:{[_0xc26e02['id']]:{'order':0xa,'menuItemFactory':_0x8a89d4}}};var _0x53928e=Object[_0x37b30b(0x1be)],_0xb428ef=(_0x318285,_0x2e84d7,_0x48bff8,_0x278e60)=>{var _0x3351cd=_0x37b30b;for(var _0x18bb96=_0x278e60>0x1?void 0x0:_0x278e60?_0x53928e(_0x2e84d7,_0x48bff8):_0x2e84d7,_0xf37853=_0x318285[_0x3351cd(0x17b)]-0x1,_0x3dda7a;_0xf37853>=0x0;_0xf37853--)(_0x3dda7a=_0x318285[_0xf37853])&&(_0x18bb96=_0x3dda7a(_0x18bb96)||_0x18bb96);return _0x18bb96;},_0x3d4367=(_0x29ce86,_0x12c48e)=>(_0x38a634,_0x440b91)=>_0x12c48e(_0x38a634,_0x440b91,_0x29ce86);_0x2f44b2['MCPUIMenuController']=class extends _0x2d2b72[_0x37b30b(0x159)]{constructor(_0x4d93b4,_0x543f76){var _0xe04c45=_0x37b30b;super(),this[_0xe04c45(0x217)]=_0x4d93b4,this[_0xe04c45(0x18a)]=_0x543f76,this['_initializeCommands'](),this['_initializeMenus']();}[_0x37b30b(0x1b2)](){var _0x19ad0d=_0x37b30b;[_0xc26e02][_0x19ad0d(0x182)](_0x293db3=>{var _0x36cecb=_0x19ad0d;this['disposeWithMe'](this[_0x36cecb(0x217)][_0x36cecb(0x8d)](_0x293db3));});}[_0x37b30b(0x1b0)](){var _0x50ff4d=_0x37b30b;this[_0x50ff4d(0x18a)]['mergeMenu'](_0x3f94d6);}},_0x2f44b2[_0x37b30b(0xce)]=_0xb428ef([_0x3d4367(0x0,_0x2d2b72['ICommandService']),_0x3d4367(0x1,_0x447b69[_0x37b30b(0x10d)])],_0x2f44b2['MCPUIMenuController']);const _0x1682db={'mcpStatus':{'disconnected':_0x37b30b(0x10f),'connecting':_0x37b30b(0xff),'connected':_0x37b30b(0xac),'failed':_0x37b30b(0x1ab),'retrying':_0x37b30b(0xa6),'unknown':_0x37b30b(0x1e0),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x37b30b(0x1b7),'networkError':_0x37b30b(0x202),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x37b30b(0x18e),'clickToConfigure':_0x37b30b(0xba)},'mcpConfig':{'title':_0x37b30b(0x19c),'description':_0x37b30b(0x117),'apiKey':_0x37b30b(0xfb),'apiKeyPlaceholder':_0x37b30b(0x103),'apiKeyHint':_0x37b30b(0xb8),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x37b30b(0x113),'mcpClientConfig':_0x37b30b(0x113),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x37b30b(0x129),'configStep1':_0x37b30b(0x8f),'configStep2':_0x37b30b(0x210),'configStep3':_0x37b30b(0x1c4),'sessionId':_0x37b30b(0x1b9),'sessionIdDescription':_0x37b30b(0x1da),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x37b30b(0x1d8),'save':_0x37b30b(0x208),'saving':'Saving...','note1':_0x37b30b(0x20e),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x37b30b(0x1b6),'configError':_0x37b30b(0x1a0),'apiApplyInfo':{'title':_0x37b30b(0xd9),'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':_0x37b30b(0x1fe),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x37b30b(0x18c),'apiKeyTooShort':_0x37b30b(0x1ff),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x37b30b(0xc1),'connected':_0x37b30b(0xaf),'failed':'Connection\x20Failed','retrying':_0x37b30b(0x114)},'connectionError':{'unauthorized':_0x37b30b(0x21d),'sessionOccupied':_0x37b30b(0x143),'networkError':_0x37b30b(0x1fd),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x42f658={'mcpStatus':{'disconnected':_0x37b30b(0x190),'connecting':_0x37b30b(0x136),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':_0x37b30b(0xd8),'sessionOccupied':_0x37b30b(0xb2),'networkError':_0x37b30b(0x1e5),'maxRetriesExceeded':_0x37b30b(0xf5),'clickToConnect':_0x37b30b(0xae),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x37b30b(0xb1),'description':_0x37b30b(0x16d),'apiKey':_0x37b30b(0x87),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x37b30b(0x184),'enableAuth':'启用身份验证','enableAuthHint':_0x37b30b(0x131),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x37b30b(0x89),'configInstructions':_0x37b30b(0x13a),'configStepTitle':_0x37b30b(0xad),'configStep1':_0x37b30b(0xe1),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x37b30b(0xa9),'sessionId':_0x37b30b(0x160),'sessionIdDescription':_0x37b30b(0x1c7),'authorizationDescription':_0x37b30b(0xdf),'configParameters':_0x37b30b(0x1fb),'maxRetries':_0x37b30b(0x145),'save':_0x37b30b(0x1c6),'saving':_0x37b30b(0x14e),'note1':_0x37b30b(0xa0),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x37b30b(0x1ce),'configError':_0x37b30b(0x12d),'apiApplyInfo':{'title':_0x37b30b(0xef),'description':_0x37b30b(0x10a),'univerAiLabel':_0x37b30b(0x99),'getStarted':_0x37b30b(0x12a)},'validation':{'apiKeyRequired':_0x37b30b(0x107),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x37b30b(0x1f6)},'connectionStatus':{'disconnected':_0x37b30b(0xe8),'connecting':_0x37b30b(0x161),'connected':_0x37b30b(0x1ad),'failed':_0x37b30b(0x13d),'retrying':_0x37b30b(0xf4)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x37b30b(0x102),'networkError':_0x37b30b(0x18b),'maxRetriesExceeded':_0x37b30b(0xe6)}}};var _0x1fb6b2=Object[_0x37b30b(0x95)],_0x42da40=Object[_0x37b30b(0x1be)],_0x5c6530=(_0x29cf16,_0x30e66a,_0x7e3be5)=>_0x30e66a in _0x29cf16?_0x1fb6b2(_0x29cf16,_0x30e66a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7e3be5}):_0x29cf16[_0x30e66a]=_0x7e3be5,_0x31216a=(_0x3f2b2c,_0x66486b,_0x193980,_0x4b98c2)=>{for(var _0x387707=_0x4b98c2>0x1?void 0x0:_0x4b98c2?_0x42da40(_0x66486b,_0x193980):_0x66486b,_0x5ee5e0=_0x3f2b2c['length']-0x1,_0x5ad258;_0x5ee5e0>=0x0;_0x5ee5e0--)(_0x5ad258=_0x3f2b2c[_0x5ee5e0])&&(_0x387707=_0x5ad258(_0x387707)||_0x387707);return _0x387707;},_0x4d9e94=(_0x8cf797,_0x343051)=>(_0x2fecde,_0x59ae1f)=>_0x343051(_0x2fecde,_0x59ae1f,_0x8cf797),_0x313f32=(_0x3276cd,_0x4f5363,_0x52cb6e)=>_0x5c6530(_0x3276cd,_0x4f5363+'',_0x52cb6e);_0x2f44b2[_0x37b30b(0x9b)]=class extends _0x2d2b72[_0x37b30b(0x9d)]{constructor(_0x3f07f5=_0x22f26d,_0x48dbd4,_0x363668,_0x479dbb,_0x2020dc,_0x48e361){var _0xc07e8d=_0x37b30b;super(),this['_config']=_0x3f07f5,this[_0xc07e8d(0xea)]=_0x48dbd4,this[_0xc07e8d(0x15f)]=_0x363668,this['_uiPartsService']=_0x479dbb,this[_0xc07e8d(0xc6)]=_0x2020dc,this['_localeService']=_0x48e361;const {..._0x478b0e}=_0x2d2b72[_0xc07e8d(0x8c)]({},_0x22f26d,this[_0xc07e8d(0x196)]);this[_0xc07e8d(0x15f)][_0xc07e8d(0x110)](_0x2d0a08,_0x478b0e);}async[_0x37b30b(0x1bd)](){var _0x5abfa6=_0x37b30b;const _0x58b28=[[_0x2f44b2[_0x5abfa6(0x1ba)]],[_0x2f44b2[_0x5abfa6(0x132)]],[_0x2f44b2[_0x5abfa6(0xce)]]];this[_0x5abfa6(0xea)]['has'](_0x50e67a['ISocketService'])||_0x58b28[_0x5abfa6(0x1db)]([_0x50e67a[_0x5abfa6(0xab)],{'useClass':_0x50e67a[_0x5abfa6(0x11a)]}]),_0x58b28[_0x5abfa6(0x182)](_0x365a06=>this[_0x5abfa6(0xea)][_0x5abfa6(0x13c)](_0x365a06)),this[_0x5abfa6(0xea)][_0x5abfa6(0x194)](_0x2f44b2['MCPConnectionUIController']),this[_0x5abfa6(0xea)]['get'](_0x2f44b2['MCPConfigUIController']),this[_0x5abfa6(0xea)][_0x5abfa6(0x194)](_0x2f44b2['MCPUIMenuController']);}},_0x313f32(_0x2f44b2[_0x37b30b(0x9b)],_0x37b30b(0xa2),_0x37b30b(0xed)),_0x2f44b2[_0x37b30b(0x9b)]=_0x31216a([_0x2d2b72[_0x37b30b(0x169)](_0x497ef3['UniverMCPPlugin']),_0x4d9e94(0x1,_0x2d2b72[_0x37b30b(0x11d)](_0x2d2b72[_0x37b30b(0x1c5)])),_0x4d9e94(0x2,_0x2d2b72[_0x37b30b(0x1d9)]),_0x4d9e94(0x3,_0x447b69[_0x37b30b(0xd2)]),_0x4d9e94(0x4,_0x2d2b72[_0x37b30b(0x94)]),_0x4d9e94(0x5,_0x2d2b72[_0x37b30b(0x11d)](_0x2d2b72[_0x37b30b(0x1ee)]))],_0x2f44b2[_0x37b30b(0x9b)]),_0x2f44b2[_0x37b30b(0x1af)]=_0xea54ac,_0x2f44b2[_0x37b30b(0x19e)]=_0xe1e11b,_0x2f44b2['OpenMCPConfigPanelCommand']=_0xc26e02,_0x2f44b2['enUS']=_0x1682db,_0x2f44b2[_0x37b30b(0x1a4)]=_0x42f658,Object[_0x37b30b(0x95)](_0x2f44b2,Symbol['toStringTag'],{'value':_0x37b30b(0x1d0)});}));
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4984(_0x478f56,_0x4f252b){var _0x469eb5=_0x469e();return _0x4984=function(_0x49847d,_0x5607b5){_0x49847d=_0x49847d-0x14c;var _0x3ea3b5=_0x469eb5[_0x49847d];return _0x3ea3b5;},_0x4984(_0x478f56,_0x4f252b);}function _0x469e(){var _0x58db68=['2psyuts','MCP\x20Configuration','MCP\x20Connected','Configuration\x20Steps:','Max\x20Retries','Connection\x20Failed','3089513YXBnqH','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20configure\x20MCP','object','API\x20Key','7359710XXKcQu','Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Session\x20ID\x20Occupied','1315cIsTiQ','23696bNjosL','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','2164938yewtBh','Configuration\x20Parameters:','Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','3770454hiWcFB','315PNxptt','UniverProMcpUiCaES','Session\x20ID','Click\x20to\x20connect\x20MCP','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1271667evbkZT','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','MCP\x20Disconnected','Enter\x20your\x20API\x20key','function','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Saving...','Disconnected','MCP\x20Connection\x20Failed','MCP\x20Connecting...','Univer\x20AI\x20Console','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','53776EZBTRK','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x469e=function(){return _0x58db68;};return _0x469e();}(function(_0x2a1f18,_0x273bd1){var _0x22b121=_0x4984,_0x5b9f9e=_0x2a1f18();while(!![]){try{var _0x2fa49f=-parseInt(_0x22b121(0x16a))/0x1*(-parseInt(_0x22b121(0x17e))/0x2)+parseInt(_0x22b121(0x163))/0x3+parseInt(_0x22b121(0x15b))/0x4*(-parseInt(_0x22b121(0x15a))/0x5)+parseInt(_0x22b121(0x15f))/0x6+parseInt(_0x22b121(0x151))/0x7+-parseInt(_0x22b121(0x17c))/0x8*(parseInt(_0x22b121(0x164))/0x9)+-parseInt(_0x22b121(0x156))/0xa;if(_0x2fa49f===_0x273bd1)break;else _0x5b9f9e['push'](_0x5b9f9e['shift']());}catch(_0x357444){_0x5b9f9e['push'](_0x5b9f9e['shift']());}}}(_0x469e,0xc3a86),function(_0x168db2,_0x1ab01d){var _0x364e57=_0x4984;typeof exports==_0x364e57(0x154)&&typeof module<'u'?module['exports']=_0x1ab01d():typeof define==_0x364e57(0x16f)&&define['amd']?define(_0x1ab01d):(_0x168db2=typeof globalThis<'u'?globalThis:_0x168db2||self,_0x168db2[_0x364e57(0x165)]=_0x1ab01d());}(this,function(){'use strict';var _0xaced8=_0x4984;return{'mcpStatus':{'disconnected':_0xaced8(0x16d),'connecting':_0xaced8(0x174),'connected':_0xaced8(0x14d),'failed':_0xaced8(0x173),'retrying':'MCP\x20Retrying...','unknown':_0xaced8(0x16b),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0xaced8(0x159),'networkError':_0xaced8(0x16c),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xaced8(0x167),'clickToConfigure':_0xaced8(0x153)},'mcpConfig':{'title':_0xaced8(0x14c),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xaced8(0x155),'apiKeyPlaceholder':_0xaced8(0x16e),'apiKeyHint':_0xaced8(0x17d),'enableAuth':_0xaced8(0x15c),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xaced8(0x179),'mcpClientConfig':_0xaced8(0x179),'configInstructions':_0xaced8(0x176),'configStepTitle':_0xaced8(0x14e),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xaced8(0x162),'sessionId':_0xaced8(0x166),'sessionIdDescription':_0xaced8(0x17a),'authorizationDescription':_0xaced8(0x152),'configParameters':_0xaced8(0x160),'maxRetries':_0xaced8(0x14f),'save':_0xaced8(0x168),'saving':_0xaced8(0x171),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xaced8(0x169),'configSaved':_0xaced8(0x15e),'configError':_0xaced8(0x157),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0xaced8(0x175),'getStarted':_0xaced8(0x15d)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xaced8(0x178),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xaced8(0x158)},'connectionStatus':{'disconnected':_0xaced8(0x172),'connecting':_0xaced8(0x161),'connected':_0xaced8(0x177),'failed':_0xaced8(0x150),'retrying':_0xaced8(0x17b)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0xaced8(0x170),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|