@univerjs-pro/mcp-ui 0.10.10 → 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 +10 -10
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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
|
-
function
|
|
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 _0x3aaa(){var _0x854483=['mcpConfig.save','onStarting','mcpConfig.description','_uiPartsService','288yljgWh','path','error','_localeService','close-small-single','_initAutoConnect','mcpConfig.connectionStatus.retrying','3rcyjDE','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','length','MCP:\x20网络错误','mcpConfig.saving','merge','getOwnPropertyDescriptor','help-single','@univerjs/network','_config$','javascript:void(0)','mcpStatus.networkError','object','API\x20密钥无效,请检查密钥是否正确','mcpConfig.apiApplyInfo.getStarted','substring','UniverProMcpUi','useCallback','mask','_loading$','useObservable','MCPConnectionController','zhCN','trim','random','CONNECTED','MCP:\x20Unauthorized','rxjs','LocaleService','includes','add','_connectionController','_validateConfig','IMessageService','FAILED','mcpServerUrl','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','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-flex\x20univer-items-center\x20univer-gap-3','MCP\x20Connected','concat','_loadStoredApiKey','MAX_RETRIES_EXCEEDED','univerjs-icon\x20univerjs-icon-','重启您的\x20MCP\x20客户端以使配置生效','_registerComponent','MCPStatusDisplay','配置无效','mcpConfig.configError','Error','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','Configuration\x20saved\x20successfully','MCP\x20状态未知','useState','IUIPartsService','use','MCP:\x20Session\x20ID\x20Occupied','mcpStatus.maxRetriesExceeded','function','ISocketService','1em','网络连接错误,请检查您的网络连接','MCPConfigPanel','UniverMCPUIPlugin','pluginName','HelpSingle','defIds','MessageType','_configService','univer-flex\x20univer-items-center\x20univer-gap-2','0\x200\x2017\x2017','xlink:href','on-line-icon_clip0_910_349','\x20-\x20','round','symbol','univer-bg-red-500','mcpConfig.connectionError.networkError','univer-text-sm\x20univer-font-medium','noopener\x20noreferrer','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','HEADER_MENU','MenuItemType','label','mcpConfig.connectionStatus.connected','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-flex-shrink-0\x20univer-text-red-500','disposeWithMe','Enable\x20authentication\x20for\x20secure\x20connections','ILogService','_apiKey$','mcpConfig.title','0\x200\x2016\x2016','enUS','jsxs','BuiltInUIPart','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','push','M5.21243\x205.62036L11.8791\x2012.287','univer-bg-green-500','svg','RETRYING','mcpStatus.failed','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcp-config-dialog','Input','MCPUIMenuController','mcpConfig.configStep1','@univerjs/core','mcpConfig.configStepTitle','warn','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','createElement','univer.plus','未连接','MenuIcon','translate(.97)','clsx','close','mcpConfig.validation.invalidApiKey','7yCWccq','univer-text-xs\x20univer-text-gray-500','CONNECTING','UniverIcon','current','get','mcpStatus.clickToConnect','_mcpConnectionController','showConfigPanel','DependentOn','univer-flex-1','192619QwkqyE','配置更改将立即生效','getConfig','displayName','_commandService','mcpConfig.validation.apiKeyRequired','univer.ai','mcpConfig.sessionIdDescription','Enable\x20Authentication','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','connectInjector','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','mcpConfig.connectionError.maxRetriesExceeded','连接失败','Connecting...','toStringTag','_injector','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','配置步骤:','ICommandService','MCPConnectionUIController','_config','Invalid\x20configuration','BehaviorSubject','DISCONNECTED','mcpConfig.apiKeyPlaceholder','配置保存成功','univer-flex\x20univer-items-start\x20univer-gap-2','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Unknown\x20Status','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcpConfig.note1','mcpConfig.apiApplyInfo.title','prototype','none','Configuration\x20Steps:','https://console.univer.ai','\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','univer-font-medium','NETWORK_ERROR','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','mcpConfig.apiKeyHint','show','几秒钟内获取您的\x20API\x20密钥','SESSION_ID_OCCUPIED','registerComponent','subscribe','hasOwnProperty','mcpStatus.unauthorized','UniverProMcp','_initializeCommands','MCP\x20Client\x20Configuration','off','_initConfigSync','exports','MCP_UI_PLUGIN','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Enter\x20your\x20API\x20key','IConfigService','value','getItem','MCP:\x20超出最大重试次数','MCP:\x20Max\x20Retries\x20Exceeded','超出最大重试次数,请稍后再试','API\x20key\x20with\x20Bearer\x20prefix.','\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','Success','最大重试次数','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','_menuManagerService','mcpConfig.authorizationDescription','univer-text-gray-500','fill','toString','http://www.w3.org/2000/svg','showStatus','call','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','OnLineIcon','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-text-red-500','forEach','COMMAND','mcpStatus.retrying','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','assign','mcpConfig.connectionStatus.failed','Max\x20Retries','univer-space-y-4','defs','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','WebSocketService','univer-bg-gray-500','MCP\x20连接中...','univer-space-y-3','重连中...','_initStatusComponent','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','配置参数:','<API_KEY>','useDependency','启用身份验证以获得安全连接','OTHERS','univer-text-xs\x20univer-text-gray-600','off-line-icon_clip0_910_343','__setCustomHeaders','next','errorMessage','url(#off-line-icon_clip0_910_343)','M5.21243\x2012.287L11.8791\x205.62036','useRef','replace','Configuration\x20Notes:','MCP\x20Retrying...','children','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','evenodd','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Bearer\x20','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','url(#on-line-icon_clip0_910_349)','getCurrentConfig','univer-space-y-5','mergeMenu','带有\x20Bearer\x20前缀的\x20API\x20密钥。','isValid','CommandType','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_logService','connectionError$','icon','Close','clipPath','_messageService','univer-text-blue-600','getOwnPropertySymbols','Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Plugin','Injector','9630050aCKIde','您的\x20API\x20密钥将在此浏览器中本地存储','\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','UniverDesign','NONE','_createConfigPanelComponent','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','setConfig','colorChannel1','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','React','将以下配置添加到您的\x20MCP\x20客户端设置中:','subscribeConfigValue$','请输入您的\x20API\x20密钥','UNAUTHORIZED','MCP\x20Connecting...','MCPConfigUIController','102FJJiOh','tag','Disposable','Authorization:','MCP_PLUGIN_CONFIG_KEY','mcpConfig.connectionInfo','Inject','0\x200\x2017\x2016','MCP\x20连接失败','univer-space-y-2','点击连接\x20MCP','Disconnected','{\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=','jsx','white','MCPConnectionStatus','API\x20密钥','connectionStatus$','mcpConfig.configInstructions','univer-text-sm\x20univer-text-gray-500','apiKey','univer-mr-2\x20univer-flex\x20univer-text-xl','6030235ZiFQRV','entries','mcpConfig.connectionError.unauthorized','span','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','RibbonStartGroup','mcpStatus.unknown','MCP\x20客户端配置','mcpConfig.configStep3','ComponentManager','_handleConfigure','forwardRef','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_localStorageService','defineProperty','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','removeItem','121874NTNLIE','Click\x20to\x20connect\x20MCP','_componentManager','ILocalStorageService','on-line-icon','validateApiKey','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','UniverUi','205749rxtIhm','MCPConnectionError','string','idSuffix','API\x20key\x20is\x20required','UniverMCPPlugin','currentColor','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','IMenuManagerService','mcpStatus.clickToConfigure','mcpConfig.connectionStatus.disconnected','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','univer-min-w-0\x20univer-flex-1','M0\x200H16V16H0z','univer-flex\x20univer-gap-3','mcpConfig.note2','url(#$1','univer-text-green-500','https://console.univer.plus','check-mark-icon','univer-flex\x20univer-items-center','Button','univer-flex\x20univer-items-start\x20univer-gap-3','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','UniverNetwork','_dialogService','mcpConfig.apiApplyInfo.univerAiLabel','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','OpenMCPConfigPanelCommand','2104948nrJvVu','enableAutoConnect','attrs','29420347jPQSZO','indexOf','_initializeMenus','mcpConfig.apiApplyInfo.description','react/jsx-runtime','MCP\x20配置','MCP\x20重连中...','showDeveloperTools','UniverCore','_handleConfigSave','_mcpCoreConfig$','div','univer-flex\x20univer-flex-wrap\x20univer-gap-2','权限验证失败,请检查您的\x20API\x20密钥','What\x20is\x20API\x20Key?','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','extend','MCP\x20已连接','pre','IDialogService','text','MCP\x20已断开'];_0x3aaa=function(){return _0x854483;};return _0x3aaa();}function _0x3487(_0xf227e9,_0x1b02c9){var _0x3aaa42=_0x3aaa();return _0x3487=function(_0x34871b,_0x2cde6e){_0x34871b=_0x34871b-0x1ec;var _0x14f1c4=_0x3aaa42[_0x34871b];return _0x14f1c4;},_0x3487(_0xf227e9,_0x1b02c9);}(function(_0x826d7a,_0x44a07c){var _0x9242d7=_0x3487,_0x2c95c0=_0x826d7a();while(!![]){try{var _0x40744a=parseInt(_0x9242d7(0x20c))/0x1*(-parseInt(_0x9242d7(0x2e0))/0x2)+-parseInt(_0x9242d7(0x32b))/0x3*(parseInt(_0x9242d7(0x307))/0x4)+parseInt(_0x9242d7(0x2ce))/0x5+parseInt(_0x9242d7(0x2b8))/0x6*(-parseInt(_0x9242d7(0x217))/0x7)+-parseInt(_0x9242d7(0x324))/0x8*(parseInt(_0x9242d7(0x2e8))/0x9)+-parseInt(_0x9242d7(0x2a7))/0xa+parseInt(_0x9242d7(0x30a))/0xb;if(_0x40744a===_0x44a07c)break;else _0x2c95c0['push'](_0x2c95c0['shift']());}catch(_0x5bf2e9){_0x2c95c0['push'](_0x2c95c0['shift']());}}}(_0x3aaa,0xa48f6),function(_0x262ef4,_0x36bbf1){var _0x485ed1=_0x3487;typeof exports==_0x485ed1(0x337)&&typeof module<'u'?_0x36bbf1(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([_0x485ed1(0x24d),_0x485ed1(0x200),_0x485ed1(0x30e),'@univerjs-pro/mcp','@univerjs/design','@univerjs/ui',_0x485ed1(0x346),'react',_0x485ed1(0x333)],_0x36bbf1):(_0x262ef4=typeof globalThis<'u'?globalThis:_0x262ef4||self,_0x36bbf1(_0x262ef4[_0x485ed1(0x33b)]={},_0x262ef4[_0x485ed1(0x312)],_0x262ef4[_0x485ed1(0x2b1)],_0x262ef4[_0x485ed1(0x248)],_0x262ef4[_0x485ed1(0x2aa)],_0x262ef4[_0x485ed1(0x2e7)],_0x262ef4[_0x485ed1(0x346)],_0x262ef4['React'],_0x262ef4[_0x485ed1(0x302)]));}(this,function(_0x51f65b,_0x545f0e,_0x488e73,_0xc88374,_0x161e13,_0x64b5ab,_0x4732ba,_0x5a7c72,_0x36e994){'use strict';var _0x5eebb6=_0x3487;var _0x4dd850=Object[_0x5eebb6(0x2dd)],_0x2c6ab1=(_0x339734,_0x4ccf36,_0x46f13e)=>_0x4ccf36 in _0x339734?_0x4dd850(_0x339734,_0x4ccf36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46f13e}):_0x339734[_0x4ccf36]=_0x46f13e,_0x403f88=(_0x349198,_0x4079a2,_0x27478e)=>_0x2c6ab1(_0x349198,typeof _0x4079a2!=_0x5eebb6(0x376)?_0x4079a2+'':_0x4079a2,_0x27478e),_0x363836=function(){var _0x36acca=_0x5eebb6;return _0x363836=Object[_0x36acca(0x26c)]||function(_0x5ac858){var _0x3deef1=_0x36acca;for(var _0x7cbaba,_0x4f62fd=0x1,_0x231889=arguments[_0x3deef1(0x32d)];_0x4f62fd<_0x231889;_0x4f62fd++){_0x7cbaba=arguments[_0x4f62fd];for(var _0x4a987c in _0x7cbaba)Object['prototype'][_0x3deef1(0x246)][_0x3deef1(0x263)](_0x7cbaba,_0x4a987c)&&(_0x5ac858[_0x4a987c]=_0x7cbaba[_0x4a987c]);}return _0x5ac858;},_0x363836['apply'](this,arguments);},_0x23e867=function(_0xc9dbd3,_0xe4d025){var _0x510857=_0x5eebb6,_0x520915={};for(var _0x1d385b in _0xc9dbd3)Object['prototype'][_0x510857(0x246)][_0x510857(0x263)](_0xc9dbd3,_0x1d385b)&&_0xe4d025[_0x510857(0x30b)](_0x1d385b)<0x0&&(_0x520915[_0x1d385b]=_0xc9dbd3[_0x1d385b]);if(_0xc9dbd3!=null&&typeof Object[_0x510857(0x2a2)]==_0x510857(0x365)){for(var _0x2e4331=0x0,_0x1d385b=Object[_0x510857(0x2a2)](_0xc9dbd3);_0x2e4331<_0x1d385b[_0x510857(0x32d)];_0x2e4331++)_0xe4d025[_0x510857(0x30b)](_0x1d385b[_0x2e4331])<0x0&&Object[_0x510857(0x238)]['propertyIsEnumerable']['call'](_0xc9dbd3,_0x1d385b[_0x2e4331])&&(_0x520915[_0x1d385b[_0x2e4331]]=_0xc9dbd3[_0x1d385b[_0x2e4331]]);}return _0x520915;},_0x11b592=_0x5a7c72[_0x5eebb6(0x2da)](function(_0x5ae303,_0x25c21e){var _0x4e68c3=_0x5eebb6,_0x5f12a2=_0x5ae303[_0x4e68c3(0x29d)],_0x5422b4=_0x5ae303['id'],_0x43a29a=_0x5ae303['className'],_0x18689f=_0x5ae303[_0x4e68c3(0x31a)],_0xf303fb=_0x23e867(_0x5ae303,[_0x4e68c3(0x29d),'id','className',_0x4e68c3(0x31a)]),_0x4aefbc=_0x4e68c3(0x356)[_0x4e68c3(0x353)](_0x5422b4,'\x20')[_0x4e68c3(0x353)](_0x43a29a||'')[_0x4e68c3(0x342)](),_0x5e8431=_0x5a7c72[_0x4e68c3(0x287)]('_'[_0x4e68c3(0x353)](_0x1283c5()));return _0x4d2186(_0x5f12a2,''[_0x4e68c3(0x353)](_0x5422b4),{'defIds':_0x5f12a2['defIds'],'idSuffix':_0x5e8431[_0x4e68c3(0x210)]},_0x363836({'ref':_0x25c21e,'className':_0x4aefbc},_0xf303fb),_0x18689f);});function _0x4d2186(_0x202153,_0x38c40c,_0x512764,_0x4b7218,_0x39d69c){var _0x37025e=_0x5eebb6;return _0x5a7c72[_0x37025e(0x204)](_0x202153[_0x37025e(0x2b9)],_0x363836(_0x363836({'key':_0x38c40c},_0x2bf45c(_0x202153,_0x512764,_0x39d69c)),_0x4b7218),(_0x1b0eb2(_0x202153,_0x512764)[_0x37025e(0x28b)]||[])['map'](function(_0x572462,_0x3e3030){var _0x5725d8=_0x37025e;return _0x4d2186(_0x572462,''['concat'](_0x38c40c,'-')[_0x5725d8(0x353)](_0x202153[_0x5725d8(0x2b9)],'-')[_0x5725d8(0x353)](_0x3e3030),_0x512764,void 0x0,_0x39d69c);}));}function _0x2bf45c(_0x476fe4,_0x4492fa,_0x11fc4b){var _0x1fb5d4=_0x5eebb6,_0x4e4e51=_0x363836({},_0x476fe4[_0x1fb5d4(0x309)]);_0x11fc4b!=null&&_0x11fc4b[_0x1fb5d4(0x2af)]&&_0x4e4e51[_0x1fb5d4(0x25f)]===_0x1fb5d4(0x2af)&&(_0x4e4e51['fill']=_0x11fc4b['colorChannel1']),_0x476fe4[_0x1fb5d4(0x2b9)]==='mask'&&_0x4e4e51['id']&&(_0x4e4e51['id']=_0x4e4e51['id']+_0x4492fa[_0x1fb5d4(0x2eb)]),Object[_0x1fb5d4(0x2cf)](_0x4e4e51)[_0x1fb5d4(0x268)](function(_0x3d20c7){var _0x449403=_0x1fb5d4,_0x41ecec=_0x3d20c7[0x0],_0x531b80=_0x3d20c7[0x1];_0x41ecec===_0x449403(0x33d)&&typeof _0x531b80=='string'&&(_0x4e4e51[_0x41ecec]=_0x531b80[_0x449403(0x288)](/url\(#(.*)\)/,_0x449403(0x2f8)[_0x449403(0x353)](_0x4492fa[_0x449403(0x2eb)],')')));});var _0x14634=_0x4492fa[_0x1fb5d4(0x36d)];return!_0x14634||_0x14634[_0x1fb5d4(0x32d)]===0x0||(_0x476fe4[_0x1fb5d4(0x2b9)]===_0x1fb5d4(0x362)&&_0x4e4e51['xlink:href']&&(_0x4e4e51['xlink:href']=_0x4e4e51[_0x1fb5d4(0x372)]+_0x4492fa['idSuffix']),Object[_0x1fb5d4(0x2cf)](_0x4e4e51)[_0x1fb5d4(0x268)](function(_0x71438a){var _0x3a516c=_0x1fb5d4,_0x2a2ad5=_0x71438a[0x0],_0x6fc204=_0x71438a[0x1];typeof _0x6fc204==_0x3a516c(0x2ea)&&(_0x4e4e51[_0x2a2ad5]=_0x6fc204['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3a516c(0x353)](_0x4492fa[_0x3a516c(0x2eb)],')')));})),_0x4e4e51;}function _0x1b0eb2(_0x1f0189,_0x4c5dd2){var _0x1962a2=_0x5eebb6,_0x56812,_0x249132=_0x4c5dd2[_0x1962a2(0x36d)];return!_0x249132||_0x249132[_0x1962a2(0x32d)]===0x0?_0x1f0189:_0x1f0189['tag']===_0x1962a2(0x270)&&(!((_0x56812=_0x1f0189[_0x1962a2(0x28b)])===null||_0x56812===void 0x0)&&_0x56812[_0x1962a2(0x32d)])?_0x363836(_0x363836({},_0x1f0189),{'children':_0x1f0189[_0x1962a2(0x28b)]['map'](function(_0x547edb){var _0x31528a=_0x1962a2;return typeof _0x547edb[_0x31528a(0x309)]['id']=='string'&&_0x249132&&_0x249132['includes'](_0x547edb['attrs']['id'])?_0x363836(_0x363836({},_0x547edb),{'attrs':_0x363836(_0x363836({},_0x547edb['attrs']),{'id':_0x547edb[_0x31528a(0x309)]['id']+_0x4c5dd2[_0x31528a(0x2eb)]})}):_0x547edb;})}):_0x1f0189;}function _0x1283c5(){var _0x5f0886=_0x5eebb6;return Math[_0x5f0886(0x343)]()[_0x5f0886(0x260)](0x24)[_0x5f0886(0x33a)](0x2,0x8);}_0x11b592['displayName']=_0x5eebb6(0x20f);var _0x538922={'tag':_0x5eebb6(0x1f7),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5eebb6(0x239),'viewBox':_0x5eebb6(0x1ef),'width':_0x5eebb6(0x367),'height':_0x5eebb6(0x367)},'children':[{'tag':'path','attrs':{'fill':_0x5eebb6(0x2ee),'d':_0x5eebb6(0x350),'fillRule':_0x5eebb6(0x28d),'clipRule':_0x5eebb6(0x28d)}}]},_0x5bf9a1=_0x5a7c72[_0x5eebb6(0x2da)](function(_0x1c3bf8,_0x453166){var _0x5dd91a=_0x5eebb6;return _0x5a7c72[_0x5dd91a(0x204)](_0x11b592,Object[_0x5dd91a(0x26c)]({},_0x1c3bf8,{'id':_0x5dd91a(0x2fb),'ref':_0x453166,'icon':_0x538922}));});_0x5bf9a1[_0x5eebb6(0x21a)]='CheckMarkIcon';var _0x4d149e={'tag':_0x5eebb6(0x1f7),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5eebb6(0x239),'viewBox':_0x5eebb6(0x371),'width':'1em','height':_0x5eebb6(0x367)},'children':[{'tag':'path','attrs':{'stroke':_0x5eebb6(0x2ee),'d':_0x5eebb6(0x1f5),'strokeLinecap':'round','strokeLinejoin':_0x5eebb6(0x375),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x5eebb6(0x2ee),'d':_0x5eebb6(0x286),'strokeLinecap':_0x5eebb6(0x375),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0x25a0db=_0x5a7c72[_0x5eebb6(0x2da)](function(_0x29c583,_0x1b0471){var _0xeac3c6=_0x5eebb6;return _0x5a7c72[_0xeac3c6(0x204)](_0x11b592,Object[_0xeac3c6(0x26c)]({},_0x29c583,{'id':_0xeac3c6(0x328),'ref':_0x1b0471,'icon':_0x4d149e}));});_0x25a0db[_0x5eebb6(0x21a)]='CloseSmallSingle';var _0x32d52f={'tag':'svg','attrs':{'xmlns':_0x5eebb6(0x261),'fill':'none','viewBox':_0x5eebb6(0x1ef),'width':_0x5eebb6(0x367),'height':_0x5eebb6(0x367)},'children':[{'tag':_0x5eebb6(0x325),'attrs':{'fill':_0x5eebb6(0x2ee),'d':_0x5eebb6(0x23f)}},{'tag':_0x5eebb6(0x325),'attrs':{'fill':_0x5eebb6(0x2ee),'d':_0x5eebb6(0x35d)}},{'tag':'path','attrs':{'fill':_0x5eebb6(0x2ee),'d':_0x5eebb6(0x2f3),'fillRule':_0x5eebb6(0x28d),'clipRule':'evenodd'}}]},_0x21ab5e=_0x5a7c72[_0x5eebb6(0x2da)](function(_0x134ab8,_0x1cd96f){var _0x55d709=_0x5eebb6;return _0x5a7c72[_0x55d709(0x204)](_0x11b592,Object[_0x55d709(0x26c)]({},_0x134ab8,{'id':_0x55d709(0x332),'ref':_0x1cd96f,'icon':_0x32d52f}));});_0x21ab5e['displayName']=_0x5eebb6(0x36c);var _0x4c9385={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5eebb6(0x239),'viewBox':_0x5eebb6(0x1ef),'width':'1em','height':_0x5eebb6(0x367)},'children':[{'tag':'g','attrs':{'clipPath':_0x5eebb6(0x285)},'children':[{'tag':'path','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':_0x5eebb6(0x375),'strokeLinejoin':_0x5eebb6(0x375),'strokeWidth':1.2}}]},{'tag':_0x5eebb6(0x270),'attrs':{},'children':[{'tag':_0x5eebb6(0x29f),'attrs':{'id':_0x5eebb6(0x281)},'children':[{'tag':_0x5eebb6(0x325),'attrs':{'fill':_0x5eebb6(0x2c6),'d':_0x5eebb6(0x2f5)}}]}]}],'defIds':[_0x5eebb6(0x281)]},_0x1695a9=_0x5a7c72[_0x5eebb6(0x2da)](function(_0x374591,_0x39e413){var _0xf20cfe=_0x5eebb6;return _0x5a7c72[_0xf20cfe(0x204)](_0x11b592,Object['assign']({},_0x374591,{'id':'off-line-icon','ref':_0x39e413,'icon':_0x4c9385}));});_0x1695a9[_0x5eebb6(0x21a)]='OffLineIcon';var _0xf2eaf4={'tag':_0x5eebb6(0x1f7),'attrs':{'xmlns':_0x5eebb6(0x261),'fill':_0x5eebb6(0x239),'viewBox':_0x5eebb6(0x2bf),'width':_0x5eebb6(0x367),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5eebb6(0x291)},'children':[{'tag':_0x5eebb6(0x325),'attrs':{'stroke':_0x5eebb6(0x2ee),'d':_0x5eebb6(0x300),'strokeLinecap':'round','strokeLinejoin':_0x5eebb6(0x375),'strokeWidth':1.2}}]},{'tag':_0x5eebb6(0x270),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5eebb6(0x373)},'children':[{'tag':_0x5eebb6(0x325),'attrs':{'fill':_0x5eebb6(0x2c6),'d':'M0\x200H16V16H0z','transform':_0x5eebb6(0x208)}}]}]}],'defIds':[_0x5eebb6(0x373)]},_0x35c19=_0x5a7c72[_0x5eebb6(0x2da)](function(_0x35fee6,_0x55a478){var _0x4c7c1a=_0x5eebb6;return _0x5a7c72[_0x4c7c1a(0x204)](_0x11b592,Object[_0x4c7c1a(0x26c)]({},_0x35fee6,{'id':_0x4c7c1a(0x2e4),'ref':_0x55a478,'icon':_0xf2eaf4}));});_0x35c19[_0x5eebb6(0x21a)]=_0x5eebb6(0x265);function _0x2206cc(_0x3aac54){var _0x37914a=_0x5eebb6,_0x5e8e3c,_0x42aadb;const {mcpCoreConfig:_0x52a5af,onSave:_0x8b3a39,loading:_0xcae9a7=!0x1,config:_0x3bc861,connectionStatus$:_0x5e705d,connectionError$:_0x4034bd,currentApiKey$:_0x4f574a,currentSessionId$:_0x5a9d5f}=_0x3aac54,_0x1ef01c=_0x64b5ab[_0x37914a(0x27d)](_0x545f0e['LocaleService']),_0x513c47=_0x64b5ab['useObservable'](_0x5e705d,_0xc88374['MCPConnectionStatus']['DISCONNECTED']),_0x312448=_0x64b5ab[_0x37914a(0x33f)](_0x4034bd,_0xc88374[_0x37914a(0x2e9)][_0x37914a(0x2ab)]),_0x46199b=_0x64b5ab[_0x37914a(0x33f)](_0x5a9d5f,''),_0x1f847b=_0x64b5ab[_0x37914a(0x33f)](_0x4f574a,''),[_0x49078e,_0x3aba2d]=_0x5a7c72[_0x37914a(0x360)](_0x1f847b||''),_0xc7094e=!0x0,_0x51418f=_0x3bc861['showDeveloperTools']&&_0x52a5af['mcpServerUrl']&&(_0x52a5af['mcpServerUrl']['includes'](_0x37914a(0x205))||_0x52a5af[_0x37914a(0x34e)][_0x37914a(0x348)](_0x37914a(0x21d))),_0x2036cc=(_0x5e8e3c=_0x52a5af[_0x37914a(0x34e)])==null?void 0x0:_0x5e8e3c[_0x37914a(0x348)]('univer.plus'),_0x39eaf1=(_0x42aadb=_0x52a5af[_0x37914a(0x34e)])==null?void 0x0:_0x42aadb[_0x37914a(0x348)](_0x37914a(0x21d)),_0x291197=_0x2036cc?_0x37914a(0x2fa):_0x37914a(0x23b),_0x1d406d=_0x3bc861[_0x37914a(0x311)]&&(_0x2036cc||_0x39eaf1),[_0x4addae,_0x4a807b]=_0x5a7c72[_0x37914a(0x360)](!_0x49078e[_0x37914a(0x342)]()),_0x2e8c6a=(_0x522707,_0x54333b)=>{var _0x311385=_0x37914a;if(_0x54333b===_0xc88374[_0x311385(0x2e9)][_0x311385(0x2b5)])return _0x311385(0x235);switch(_0x522707){case _0xc88374[_0x311385(0x2c7)]['CONNECTED']:return _0x311385(0x28e);case _0xc88374['MCPConnectionStatus'][_0x311385(0x20e)]:case _0xc88374['MCPConnectionStatus']['RETRYING']:return _0x311385(0x27a);case _0xc88374[_0x311385(0x2c7)][_0x311385(0x34d)]:return _0x311385(0x235);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x162f87=(_0x563fd2,_0x29534d)=>{var _0x59c109=_0x37914a;if(_0x29534d===_0xc88374[_0x59c109(0x2e9)][_0x59c109(0x2b5)])return _0x59c109(0x377);switch(_0x563fd2){case _0xc88374[_0x59c109(0x2c7)][_0x59c109(0x344)]:return _0x59c109(0x1f6);case _0xc88374[_0x59c109(0x2c7)]['CONNECTING']:case _0xc88374['MCPConnectionStatus'][_0x59c109(0x1f8)]:return'univer-bg-blue-500';case _0xc88374[_0x59c109(0x2c7)]['FAILED']:return _0x59c109(0x377);default:return _0x59c109(0x274);}},_0x27c60b=_0x24279b=>{var _0x53d281=_0x37914a;switch(_0x24279b){case _0xc88374[_0x53d281(0x2c7)][_0x53d281(0x344)]:return _0x1ef01c['t'](_0x53d281(0x37f));case _0xc88374[_0x53d281(0x2c7)][_0x53d281(0x20e)]:return _0x1ef01c['t']('mcpConfig.connectionStatus.connecting');case _0xc88374[_0x53d281(0x2c7)][_0x53d281(0x34d)]:return _0x1ef01c['t'](_0x53d281(0x26d));case _0xc88374[_0x53d281(0x2c7)][_0x53d281(0x1f8)]:return _0x1ef01c['t'](_0x53d281(0x32a));default:return _0x1ef01c['t'](_0x53d281(0x2f2));}},_0xb2d860=_0x3ff970=>{var _0x2452ca=_0x37914a;switch(_0x3ff970){case _0xc88374[_0x2452ca(0x2e9)][_0x2452ca(0x2b5)]:return _0x1ef01c['t'](_0x2452ca(0x2d0));case _0xc88374['MCPConnectionError'][_0x2452ca(0x243)]:return _0x1ef01c['t']('mcpConfig.connectionError.sessionOccupied');case _0xc88374[_0x2452ca(0x2e9)][_0x2452ca(0x23e)]:return _0x1ef01c['t'](_0x2452ca(0x378));case _0xc88374[_0x2452ca(0x2e9)][_0x2452ca(0x355)]:return _0x1ef01c['t'](_0x2452ca(0x223));default:return'';}},_0x1ece40=_0x5a7c72[_0x37914a(0x33c)](()=>{var _0x17267e=_0x37914a;const _0x59761b={..._0x52a5af,'apiKey':_0x49078e[_0x17267e(0x342)](),'enableAuth':_0xc7094e};_0x8b3a39(_0x59761b);},[_0x52a5af,_0x49078e,_0xc7094e,_0x8b3a39]),_0x3f4f3c=_0x49078e[_0x37914a(0x342)]()['length']>0x0;return _0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x24f),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x488e73[_0x37914a(0x1f1)]('div',{'className':_0x37914a(0x351),'children':[_0x488e73['jsx'](_0x37914a(0x315),{'className':_0x37914a(0x2ff),'children':_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'className':'univer-text-white','children':'⚙'})}),_0x488e73['jsx'](_0x37914a(0x315),{'children':_0x488e73[_0x37914a(0x2c5)]('p',{'className':_0x37914a(0x2cb),'children':_0x1ef01c['t'](_0x37914a(0x322))})})]})}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':'\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'+_0x2e8c6a(_0x513c47,_0x312448)+_0x37914a(0x2db),'children':_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x370),'children':[_0x488e73[_0x37914a(0x2c5)]('div',{'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'+_0x162f87(_0x513c47,_0x312448)+_0x37914a(0x2a9)}),_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'className':_0x37914a(0x379),'children':_0x27c60b(_0x513c47)})]})}),_0x312448!==_0xc88374[_0x37914a(0x2e9)]['NONE']&&(_0x513c47===_0xc88374[_0x37914a(0x2c7)][_0x37914a(0x34d)]||_0x312448===_0xc88374[_0x37914a(0x2e9)][_0x37914a(0x2b5)])&&_0x488e73[_0x37914a(0x2c5)]('div',{'className':_0x37914a(0x25b),'children':_0x488e73[_0x37914a(0x1f1)]('div',{'className':_0x37914a(0x232),'children':[_0x488e73['jsx']('span',{'className':_0x37914a(0x381),'children':'⚠️'}),_0x488e73[_0x37914a(0x2c5)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0xb2d860(_0x312448)})]})})]}),_0x488e73[_0x37914a(0x2c5)]('div',{'className':_0x37914a(0x2e6),'children':_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x293),'children':[_0x488e73['jsxs'](_0x37914a(0x315),{'className':_0x37914a(0x2c1),'children':[_0x488e73['jsxs'](_0x37914a(0x37e),{'className':_0x37914a(0x272),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'children':'🔑'}),'\x20',_0x1ef01c['t']('mcpConfig.apiKey'),_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'className':_0x37914a(0x267),'children':'*'}),_0x51418f&&_0x488e73[_0x37914a(0x2c5)]('a',{'href':_0x37914a(0x335),'onClick':()=>_0x4a807b(!0x0),'className':_0x37914a(0x1f3),'title':_0x1ef01c['t'](_0x37914a(0x237)),'children':_0x488e73[_0x37914a(0x2c5)](_0x21ab5e,{})})]}),_0x488e73[_0x37914a(0x2c5)](_0x161e13[_0x37914a(0x1fd)],{'type':_0x37914a(0x31e),'placeholder':_0x1ef01c['t'](_0x37914a(0x230)),'value':_0x49078e,'onChange':_0x3aba2d,'disabled':_0xcae9a7,'autoComplete':_0x37914a(0x24b)}),_0x488e73[_0x37914a(0x2c5)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x1ef01c['t'](_0x37914a(0x240))})]}),_0x51418f&&_0x4addae&&_0x488e73['jsxs']('div',{'className':_0x37914a(0x220),'children':[_0x488e73[_0x37914a(0x2c5)]('a',{'href':_0x37914a(0x335),'onClick':()=>_0x4a807b(!0x1),'className':_0x37914a(0x319),'title':_0x37914a(0x29e),'children':_0x488e73[_0x37914a(0x2c5)](_0x25a0db,{})}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x488e73[_0x37914a(0x2c5)]('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':_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'className':_0x37914a(0x2a1),'children':'🚀'})}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x216),'children':[_0x488e73[_0x37914a(0x2c5)]('h4',{'className':_0x37914a(0x290),'children':_0x1ef01c['t'](_0x37914a(0x237))}),_0x488e73[_0x37914a(0x2c5)]('p',{'className':_0x37914a(0x2d2),'children':_0x1ef01c['t'](_0x37914a(0x30d))}),_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':_0x37914a(0x316),'children':_0x1d406d&&_0x488e73['jsxs']('a',{'href':_0x291197,'target':'_blank','rel':_0x37914a(0x37a),'className':_0x37914a(0x2b0),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'children':'🤖'}),_0x1ef01c['t'](_0x37914a(0x304)),_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x1ef01c['t'](_0x37914a(0x339))]})]})]})]}),_0x3bc861[_0x37914a(0x311)]&&_0x488e73['jsxs']('div',{'className':_0x37914a(0x28c),'children':[_0x488e73[_0x37914a(0x1f1)]('h4',{'className':_0x37914a(0x266),'children':[_0x488e73[_0x37914a(0x2c5)]('span',{'children':'🔗'}),'\x20',_0x1ef01c['t'](_0x37914a(0x2bd))]}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x26f),'children':[_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x276),'children':[_0x488e73['jsx']('p',{'className':_0x37914a(0x280),'children':_0x1ef01c['t'](_0x37914a(0x2ca))}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x2c1),'children':[_0x488e73[_0x37914a(0x2c5)]('div',{'className':_0x37914a(0x279),'children':_0x1ef01c['t'](_0x37914a(0x201))}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x29a),'children':[_0x488e73['jsxs']('div',{'className':_0x37914a(0x370),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'className':_0x37914a(0x26b),'children':'1'}),_0x1ef01c['t'](_0x37914a(0x1ff))]}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x370),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'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'}),_0x1ef01c['t']('mcpConfig.configStep2')]}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x488e73[_0x37914a(0x2c5)]('span',{'className':_0x37914a(0x26b),'children':'3'}),_0x1ef01c['t'](_0x37914a(0x2d7))]})]})]})]}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x2c1),'children':[_0x488e73[_0x37914a(0x2c5)]('div',{'className':_0x37914a(0x279),'children':'MCP\x20Configuration'}),_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':_0x37914a(0x1fb),'children':_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x31c),{'className':_0x37914a(0x380),'children':_0x37914a(0x2c4)+_0x46199b+_0x37914a(0x23c)+(_0x49078e||_0x37914a(0x27c))+_0x37914a(0x32c)})})]}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':'univer-space-y-3','children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':_0x37914a(0x279),'children':_0x1ef01c['t']('mcpConfig.configParameters')}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':'univer-space-y-2','children':[_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x2fe),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':_0x37914a(0x264)}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'univer_session_id:'}),_0x488e73['jsx'](_0x37914a(0x315),{'className':_0x37914a(0x20d),'children':_0x1ef01c['t'](_0x37914a(0x21e))})]})]}),_0x488e73['jsxs'](_0x37914a(0x315),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':_0x37914a(0x264)}),_0x488e73['jsxs'](_0x37914a(0x315),{'className':_0x37914a(0x2f4),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x37914a(0x2bb)}),_0x488e73[_0x37914a(0x2c5)]('div',{'className':_0x37914a(0x20d),'children':_0x1ef01c['t'](_0x37914a(0x25d))})]})]})]})]})]})]}),_0x488e73[_0x37914a(0x2c5)](_0x161e13[_0x37914a(0x2fd)],{'onClick':_0x1ece40,'disabled':!_0x3f4f3c||_0xcae9a7,'className':_0x37914a(0x34f),'children':_0xcae9a7?_0x488e73[_0x37914a(0x1f1)]('span',{'className':_0x37914a(0x370),'children':[_0x488e73['jsx'](_0x37914a(0x2d1),{'children':'⟲'}),_0x1ef01c['t'](_0x37914a(0x32f))]}):_0x488e73[_0x37914a(0x1f1)]('span',{'className':_0x37914a(0x370),'children':[_0x488e73[_0x37914a(0x2c5)](_0x5bf9a1,{}),_0x1ef01c['t'](_0x37914a(0x320))]})}),_0x488e73[_0x37914a(0x2c5)]('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x2f6),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x2d1),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'className':_0x37914a(0x1fa),'children':[_0x488e73[_0x37914a(0x2c5)](_0x37914a(0x315),{'className':_0x37914a(0x23d),'children':_0x37914a(0x289)}),_0x488e73['jsxs'](_0x37914a(0x315),{'children':['•',_0x1ef01c['t'](_0x37914a(0x236))]}),_0x488e73[_0x37914a(0x1f1)](_0x37914a(0x315),{'children':['•',_0x1ef01c['t'](_0x37914a(0x2f7))]})]})]})})]})})]});}const _0x2b8429='mcp-ui.config',_0x1780e5={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x1a030c=Object[_0x5eebb6(0x331)],_0x4f6a27=(_0x40cad4,_0x4ede03,_0x5f4c45,_0x31190e)=>{var _0x4308b8=_0x5eebb6;for(var _0x5c8643=_0x31190e>0x1?void 0x0:_0x31190e?_0x1a030c(_0x4ede03,_0x5f4c45):_0x4ede03,_0x424d49=_0x40cad4[_0x4308b8(0x32d)]-0x1,_0x998632;_0x424d49>=0x0;_0x424d49--)(_0x998632=_0x40cad4[_0x424d49])&&(_0x5c8643=_0x998632(_0x5c8643)||_0x5c8643);return _0x5c8643;},_0x51a2a8=(_0xa9b310,_0x3a0c00)=>(_0x9b5859,_0x6b68b8)=>_0x3a0c00(_0x9b5859,_0x6b68b8,_0xa9b310);const _0x50923f='mcp.apiKey',_0x44bebc=_0x5eebb6(0x1fc);_0x51f65b[_0x5eebb6(0x2b7)]=class extends _0x545f0e[_0x5eebb6(0x2ba)]{constructor(_0x5667be,_0x5033ae,_0x30ab44,_0x541cee,_0x40db37,_0x86e9c9,_0x20f50a,_0xa31837,_0xfc1d38,_0xc2d32a){var _0x46f616=_0x5eebb6;super(),_0x403f88(this,'_loading$',new _0x4732ba[(_0x46f616(0x22e))](!0x1)),_0x403f88(this,_0x46f616(0x314),new _0x4732ba[(_0x46f616(0x22e))]({})),_0x403f88(this,_0x46f616(0x334),new _0x4732ba[(_0x46f616(0x22e))]({})),_0x403f88(this,_0x46f616(0x1ed),new _0x4732ba[(_0x46f616(0x22e))]('')),_0x403f88(this,'_handleConfigSave',async _0x3d7010=>{var _0x4ba539=_0x46f616,_0x2ab694,_0x4b9efc;this['_loading$'][_0x4ba539(0x283)](!0x0);try{const _0x4ace3f=await this['_validateConfig'](_0x3d7010);if(!_0x4ace3f[_0x4ba539(0x296)]){this[_0x4ba539(0x2a0)][_0x4ba539(0x241)]({'type':_0x161e13['MessageType'][_0x4ba539(0x35c)],'content':_0x4ace3f[_0x4ba539(0x284)]||this[_0x4ba539(0x327)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3d7010[_0x4ba539(0x2cc)]?await this[_0x4ba539(0x2dc)]['setItem'](_0x50923f,_0x3d7010[_0x4ba539(0x2cc)][_0x4ba539(0x342)]()):await this['_localStorageService'][_0x4ba539(0x2df)](_0x50923f),this['_apiKey$'][_0x4ba539(0x283)](((_0x2ab694=_0x3d7010[_0x4ba539(0x2cc)])==null?void 0x0:_0x2ab694[_0x4ba539(0x342)]())||''),this['_mcpConnectionController'][_0x4ba539(0x282)]({'Authorization':_0x4ba539(0x28f)+((_0x4b9efc=_0x3d7010[_0x4ba539(0x2cc)])==null?void 0x0:_0x4b9efc['trim']())}),this[_0x4ba539(0x2a0)][_0x4ba539(0x241)]({'type':_0x161e13[_0x4ba539(0x36e)][_0x4ba539(0x259)],'content':this[_0x4ba539(0x327)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x333889=_0x4ba539;this[_0x333889(0x303)][_0x333889(0x20a)](_0x44bebc);},0x320);}catch(_0x870e7d){this[_0x4ba539(0x29b)][_0x4ba539(0x326)](_0x4ba539(0x37b),_0x870e7d),this[_0x4ba539(0x2a0)][_0x4ba539(0x241)]({'type':_0x161e13[_0x4ba539(0x36e)][_0x4ba539(0x35c)],'content':this['_localeService']['t'](_0x4ba539(0x35b))});}finally{this[_0x4ba539(0x33e)][_0x4ba539(0x283)](!0x1);}}),(this[_0x46f616(0x227)]=_0x5667be,this[_0x46f616(0x323)]=_0x5033ae,this['_configService']=_0x30ab44,this['_localStorageService']=_0x541cee,this['_dialogService']=_0x40db37,this[_0x46f616(0x2a0)]=_0x86e9c9,this[_0x46f616(0x2e2)]=_0x20f50a,this[_0x46f616(0x327)]=_0xa31837,this[_0x46f616(0x29b)]=_0xfc1d38,this[_0x46f616(0x213)]=_0xc2d32a,this[_0x46f616(0x24c)](),this['_loadStoredApiKey'](),this[_0x46f616(0x358)]());}['showConfigPanel'](){var _0x8b888f=_0x5eebb6;const _0x25e06c=this[_0x8b888f(0x36f)][_0x8b888f(0x219)](_0x2b8429);_0x25e06c!=null&&_0x25e06c['showDeveloperTools']&&this[_0x8b888f(0x303)]['open']({'id':_0x44bebc,'title':{'title':this['_localeService']['t'](_0x8b888f(0x1ee))},'children':{'label':_0x8b888f(0x369)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{this['_dialogService']['close'](_0x44bebc);}});}[_0x5eebb6(0x292)](){var _0x4ce88c=_0x5eebb6;return this[_0x4ce88c(0x314)][_0x4ce88c(0x252)];}['_registerComponent'](){var _0x36c43f=_0x5eebb6;this[_0x36c43f(0x382)](this[_0x36c43f(0x2e2)]['register'](_0x36c43f(0x369),this[_0x36c43f(0x2ac)]()));}[_0x5eebb6(0x2ac)](){var _0x26940e=_0x5eebb6;return _0x64b5ab[_0x26940e(0x221)](()=>{var _0x23f772=_0x26940e,_0x3643c0,_0x5e2125,_0x4b6714;return _0x488e73[_0x23f772(0x2c5)](_0x2206cc,{'config':this[_0x23f772(0x334)][_0x23f772(0x252)],'mcpCoreConfig':this[_0x23f772(0x314)][_0x23f772(0x252)],'currentApiKey$':this[_0x23f772(0x1ed)],'onSave':this[_0x23f772(0x313)],'loading':this[_0x23f772(0x33e)][_0x23f772(0x252)],'connectionStatus$':(_0x3643c0=this[_0x23f772(0x213)])==null?void 0x0:_0x3643c0[_0x23f772(0x2c9)],'connectionError$':(_0x5e2125=this[_0x23f772(0x213)])==null?void 0x0:_0x5e2125[_0x23f772(0x29c)],'currentSessionId$':(_0x4b6714=this[_0x23f772(0x213)])==null?void 0x0:_0x4b6714['sessionId$']});},this[_0x26940e(0x227)]);}[_0x5eebb6(0x24c)](){var _0x5b0f6c=_0x5eebb6;this[_0x5b0f6c(0x382)](this[_0x5b0f6c(0x36f)]['subscribeConfigValue$'](_0xc88374[_0x5b0f6c(0x2bc)])['subscribe'](_0x48d144=>{var _0x4cf859=_0x5b0f6c;this[_0x4cf859(0x314)][_0x4cf859(0x283)](_0x48d144||{});}));const _0x512d11=this[_0x5b0f6c(0x36f)][_0x5b0f6c(0x219)](_0xc88374[_0x5b0f6c(0x2bc)]);this[_0x5b0f6c(0x314)]['next'](_0x512d11||{}),this[_0x5b0f6c(0x382)](this[_0x5b0f6c(0x36f)][_0x5b0f6c(0x2b3)](_0x2b8429)[_0x5b0f6c(0x245)](_0x563d7e=>{var _0x21684a=_0x5b0f6c;this[_0x21684a(0x334)][_0x21684a(0x283)](_0x563d7e||{});}));const _0x28ed09=this['_configService']['getConfig'](_0x2b8429);this[_0x5b0f6c(0x334)][_0x5b0f6c(0x283)](_0x28ed09||{});}async[_0x5eebb6(0x354)](){var _0x15fee7=_0x5eebb6;const _0x2634fd=this[_0x15fee7(0x36f)][_0x15fee7(0x219)](_0x2b8429);if(!(_0x2634fd!=null&&_0x2634fd[_0x15fee7(0x311)]))return;const _0x314be6=await this[_0x15fee7(0x2dc)][_0x15fee7(0x253)](_0x50923f);_0x314be6&&(this[_0x15fee7(0x213)][_0x15fee7(0x282)]({'Authorization':_0x15fee7(0x28f)+_0x314be6}),this[_0x15fee7(0x1ed)][_0x15fee7(0x283)](_0x314be6));}async[_0x5eebb6(0x34b)](_0x18fd0f){var _0x2b28dd=_0x5eebb6;if(!_0x18fd0f[_0x2b28dd(0x2cc)]||_0x18fd0f[_0x2b28dd(0x2cc)]['trim']()[_0x2b28dd(0x32d)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x2b28dd(0x327)]['t'](_0x2b28dd(0x21c))};if(_0x18fd0f[_0x2b28dd(0x2cc)][_0x2b28dd(0x342)]()[_0x2b28dd(0x32d)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x2b28dd(0x327)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x455dcb=await this[_0x2b28dd(0x227)][_0x2b28dd(0x211)](_0xc88374[_0x2b28dd(0x340)])[_0x2b28dd(0x2e5)](_0x18fd0f[_0x2b28dd(0x2cc)][_0x2b28dd(0x342)]());return _0x455dcb[_0x2b28dd(0x296)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x455dcb[_0x2b28dd(0x326)]||this[_0x2b28dd(0x327)]['t'](_0x2b28dd(0x20b))};}catch(_0x33b0c9){return console[_0x2b28dd(0x202)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x33b0c9),{'isValid':!0x0};}}},_0x51f65b[_0x5eebb6(0x2b7)]=_0x4f6a27([_0x51a2a8(0x0,_0x545f0e['Inject'](_0x545f0e[_0x5eebb6(0x2a6)])),_0x51a2a8(0x1,_0x64b5ab['IUIPartsService']),_0x51a2a8(0x2,_0x545f0e[_0x5eebb6(0x251)]),_0x51a2a8(0x3,_0x545f0e['ILocalStorageService']),_0x51a2a8(0x4,_0x64b5ab[_0x5eebb6(0x31d)]),_0x51a2a8(0x5,_0x64b5ab[_0x5eebb6(0x34c)]),_0x51a2a8(0x6,_0x545f0e['Inject'](_0x64b5ab[_0x5eebb6(0x2d8)])),_0x51a2a8(0x7,_0x545f0e[_0x5eebb6(0x2be)](_0x545f0e[_0x5eebb6(0x347)])),_0x51a2a8(0x8,_0x545f0e[_0x5eebb6(0x1ec)]),_0x51a2a8(0x9,_0x545f0e[_0x5eebb6(0x2be)](_0xc88374['MCPConnectionController']))],_0x51f65b[_0x5eebb6(0x2b7)]);const _0x130738={'id':'mcp-ui.command.openConfigPanel','type':_0x545f0e[_0x5eebb6(0x297)][_0x5eebb6(0x269)],'handler':async(_0x24844a,_0x4c0b1b)=>(_0x24844a['get'](_0x51f65b[_0x5eebb6(0x2b7)])[_0x5eebb6(0x214)](),!0x0)};function _0x2680d2(_0x586d53,_0x29dfcf){var _0x7d7f73=_0x5eebb6;switch(_0x586d53){case _0xc88374[_0x7d7f73(0x2c7)][_0x7d7f73(0x22f)]:return'mcpStatus.disconnected';case _0xc88374[_0x7d7f73(0x2c7)][_0x7d7f73(0x20e)]:return'mcpStatus.connecting';case _0xc88374[_0x7d7f73(0x2c7)][_0x7d7f73(0x344)]:return'mcpStatus.connected';case _0xc88374[_0x7d7f73(0x2c7)][_0x7d7f73(0x34d)]:switch(_0x29dfcf){case _0xc88374['MCPConnectionError'][_0x7d7f73(0x2b5)]:return _0x7d7f73(0x247);case _0xc88374['MCPConnectionError'][_0x7d7f73(0x243)]:return'mcpStatus.sessionOccupied';case _0xc88374[_0x7d7f73(0x2e9)][_0x7d7f73(0x23e)]:return _0x7d7f73(0x336);case _0xc88374['MCPConnectionError'][_0x7d7f73(0x355)]:return _0x7d7f73(0x364);default:return _0x7d7f73(0x1f9);}case _0xc88374[_0x7d7f73(0x2c7)][_0x7d7f73(0x1f8)]:return _0x7d7f73(0x26a);default:return _0x7d7f73(0x2d5);}}function _0x138b56(_0x457ae9,_0xf22e97,_0x2551b2,_0x1cb8fb=!0x0){var _0x5352c3=_0x5eebb6;const _0x548500=_0x2680d2(_0x457ae9,_0xf22e97),_0x51db37=_0x2551b2['t'](_0x548500);return _0x1cb8fb?_0x457ae9===_0xc88374[_0x5352c3(0x2c7)][_0x5352c3(0x22f)]&&_0xf22e97===_0xc88374[_0x5352c3(0x2e9)]['UNAUTHORIZED']?_0x51db37+_0x5352c3(0x374)+_0x2551b2['t'](_0x5352c3(0x2f1)):_0x457ae9===_0xc88374[_0x5352c3(0x2c7)][_0x5352c3(0x344)]?''+_0x51db37:_0x457ae9===_0xc88374[_0x5352c3(0x2c7)][_0x5352c3(0x22f)]||_0x457ae9===_0xc88374['MCPConnectionStatus'][_0x5352c3(0x34d)]?_0x51db37+_0x5352c3(0x374)+_0x2551b2['t'](_0x5352c3(0x212)):_0x51db37:_0x51db37;}function _0x458749(_0xb1d8f0){var _0x45c012=_0x5eebb6;switch(_0xb1d8f0){case _0xc88374[_0x45c012(0x2c7)][_0x45c012(0x344)]:return _0x45c012(0x2f9);case _0xc88374['MCPConnectionStatus'][_0x45c012(0x20e)]:case _0xc88374[_0x45c012(0x2c7)]['RETRYING']:return'univer-text-yellow-500';case _0xc88374[_0x45c012(0x2c7)][_0x45c012(0x34d)]:case _0xc88374[_0x45c012(0x2c7)][_0x45c012(0x22f)]:return _0x45c012(0x267);default:return _0x45c012(0x25e);}}function _0x1dc08f(_0x5bddfb){var _0x205021=_0x5eebb6;const {status$:_0x48215b,error$:_0x37d8d4,onConfigure:_0xc876c0,showClickable:_0x3f3e07=!0x0}=_0x5bddfb,_0x1ae42d=_0x64b5ab['useObservable'](_0x48215b,_0xc88374[_0x205021(0x2c7)][_0x205021(0x22f)]),_0x38cac9=_0x64b5ab[_0x205021(0x33f)](_0x37d8d4,_0xc88374[_0x205021(0x2e9)][_0x205021(0x2ab)]),_0x38d2bf=_0x64b5ab['useDependency'](_0x545f0e[_0x205021(0x347)]),_0xd4ceb0=_0x1ae42d===_0xc88374[_0x205021(0x2c7)][_0x205021(0x344)];_0x1ae42d===_0xc88374[_0x205021(0x2c7)][_0x205021(0x20e)]||_0xc88374['MCPConnectionStatus']['RETRYING'];const _0x53a424=_0x38d2bf['t'](_0x2680d2(_0x1ae42d,_0x38cac9)),_0x36dec5=_0x138b56(_0x1ae42d,_0x38cac9,_0x38d2bf,_0x3f3e07),_0x431abf=_0x458749(_0x1ae42d),_0x30208d=_0xd4ceb0?_0x488e73[_0x205021(0x2c5)](_0x35c19,{}):_0x488e73[_0x205021(0x2c5)](_0x1695a9,{}),_0x103de0=_0x5a7c72[_0x205021(0x33c)](()=>{_0x3f3e07&&_0xc876c0&&_0xc876c0();},[_0x3f3e07,_0xc876c0]);function _0x70cb8e(){var _0x2bbc8d=_0x205021;return _0x488e73[_0x2bbc8d(0x1f1)]('div',{'className':_0x161e13[_0x2bbc8d(0x209)](_0x2bbc8d(0x2fc),_0x3f3e07&&_0xc876c0&&_0x2bbc8d(0x258)),'onClick':_0x3f3e07&&_0xc876c0?_0x103de0:void 0x0,'children':[_0x488e73['jsx'](_0x2bbc8d(0x315),{'className':_0x161e13[_0x2bbc8d(0x209)](_0x2bbc8d(0x2cd),_0x431abf),'children':_0x30208d}),_0x488e73[_0x2bbc8d(0x2c5)](_0x2bbc8d(0x315),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x53a424})]});}return _0x488e73[_0x205021(0x2c5)](_0x161e13['Tooltip'],{'title':_0x36dec5,'placement':'bottom','children':_0x70cb8e()});}var _0x57946f=Object[_0x5eebb6(0x331)],_0x276e37=(_0x20ff3c,_0x4ea7b3,_0x34553c,_0x3efd9c)=>{var _0x537063=_0x5eebb6;for(var _0x409d30=_0x3efd9c>0x1?void 0x0:_0x3efd9c?_0x57946f(_0x4ea7b3,_0x34553c):_0x4ea7b3,_0x36695e=_0x20ff3c[_0x537063(0x32d)]-0x1,_0x2c8088;_0x36695e>=0x0;_0x36695e--)(_0x2c8088=_0x20ff3c[_0x36695e])&&(_0x409d30=_0x2c8088(_0x409d30)||_0x409d30);return _0x409d30;},_0x5c8289=(_0x1f8fc0,_0x2e3a06)=>(_0x42e8a3,_0x251aa0)=>_0x2e3a06(_0x42e8a3,_0x251aa0,_0x1f8fc0);_0x51f65b[_0x5eebb6(0x22b)]=class extends _0x545f0e[_0x5eebb6(0x2ba)]{constructor(_0x4d1ed9,_0x1826b4,_0x5cdd56,_0x1c315e){var _0x3e92aa=_0x5eebb6;super(),this[_0x3e92aa(0x227)]=_0x4d1ed9,this[_0x3e92aa(0x34a)]=_0x1826b4,this[_0x3e92aa(0x323)]=_0x5cdd56,this[_0x3e92aa(0x36f)]=_0x1c315e,this[_0x3e92aa(0x329)](),this[_0x3e92aa(0x278)]();}[_0x5eebb6(0x329)](){var _0x54d714=_0x5eebb6;const _0x55e0cf=this['_configService'][_0x54d714(0x219)](_0x2b8429);_0x55e0cf!=null&&_0x55e0cf[_0x54d714(0x311)]&&(this['_connectionController'][_0x54d714(0x308)]=!0x1);}[_0x5eebb6(0x278)](){var _0x196fa1=_0x5eebb6;const _0x374ddb=this['_configService'][_0x196fa1(0x219)](_0x2b8429);(_0x374ddb==null?void 0x0:_0x374ddb[_0x196fa1(0x262)])!==!0x1&&this[_0x196fa1(0x382)](this[_0x196fa1(0x323)][_0x196fa1(0x244)](_0x64b5ab[_0x196fa1(0x1f2)][_0x196fa1(0x37c)],()=>{var _0x56e28e=_0x196fa1,_0x20fc31;return _0x64b5ab[_0x56e28e(0x221)](_0x590962({'status$':this[_0x56e28e(0x34a)][_0x56e28e(0x2c9)],'error$':this[_0x56e28e(0x34a)]['connectionError$'],'onConfigure':()=>this[_0x56e28e(0x2d9)](),'showClickable':(_0x20fc31=_0x374ddb==null?void 0x0:_0x374ddb[_0x56e28e(0x311)])!=null?_0x20fc31:!0x1}),this[_0x56e28e(0x227)]);}));}['_handleConfigure'](){var _0x24ec4b=_0x5eebb6;this['_injector'][_0x24ec4b(0x211)](_0x51f65b[_0x24ec4b(0x2b7)])[_0x24ec4b(0x214)]();}},_0x51f65b[_0x5eebb6(0x22b)]=_0x276e37([_0x5c8289(0x0,_0x545f0e['Inject'](_0x545f0e[_0x5eebb6(0x2a6)])),_0x5c8289(0x1,_0x545f0e[_0x5eebb6(0x2be)](_0xc88374[_0x5eebb6(0x340)])),_0x5c8289(0x2,_0x64b5ab[_0x5eebb6(0x361)]),_0x5c8289(0x3,_0x545f0e[_0x5eebb6(0x251)])],_0x51f65b[_0x5eebb6(0x22b)]);function _0x590962(_0x490d21){const {status$:_0x24dd74,error$:_0x35e64d,onConfigure:_0x260572,showClickable:_0x2809f1}=_0x490d21;return function(){var _0x5a1741=_0x3487;return _0x488e73[_0x5a1741(0x2c5)](_0x1dc08f,{'status$':_0x24dd74,'error$':_0x35e64d,'onConfigure':_0x260572,'showClickable':_0x2809f1});};}function _0x1d8ef7(_0x300a4e){var _0x420185=_0x5eebb6;return{'id':_0x130738['id'],'type':_0x64b5ab[_0x420185(0x37d)]['BUTTON'],'icon':_0x420185(0x207),'title':_0x420185(0x1ee),'tooltip':_0x420185(0x1ee)};}const _0x486f23={[_0x64b5ab[_0x5eebb6(0x2d4)][_0x5eebb6(0x27f)]]:{[_0x130738['id']]:{'order':0xa,'menuItemFactory':_0x1d8ef7}}};var _0xb07b70=Object['getOwnPropertyDescriptor'],_0x114ae0=(_0x13127d,_0x34841d,_0x530f64,_0x31be0e)=>{var _0x5e82ed=_0x5eebb6;for(var _0xc5ffa6=_0x31be0e>0x1?void 0x0:_0x31be0e?_0xb07b70(_0x34841d,_0x530f64):_0x34841d,_0x14928a=_0x13127d[_0x5e82ed(0x32d)]-0x1,_0x17d2b9;_0x14928a>=0x0;_0x14928a--)(_0x17d2b9=_0x13127d[_0x14928a])&&(_0xc5ffa6=_0x17d2b9(_0xc5ffa6)||_0xc5ffa6);return _0xc5ffa6;},_0x2cc600=(_0x17ca02,_0x5e6c5d)=>(_0x2d9cd4,_0x3def8f)=>_0x5e6c5d(_0x2d9cd4,_0x3def8f,_0x17ca02);_0x51f65b[_0x5eebb6(0x1fe)]=class extends _0x545f0e[_0x5eebb6(0x2ba)]{constructor(_0x15f2f3,_0x301ff1){var _0x38cc85=_0x5eebb6;super(),this[_0x38cc85(0x21b)]=_0x15f2f3,this[_0x38cc85(0x25c)]=_0x301ff1,this[_0x38cc85(0x249)](),this[_0x38cc85(0x30c)]();}[_0x5eebb6(0x249)](){var _0x3c67da=_0x5eebb6;[_0x130738][_0x3c67da(0x268)](_0x132c5f=>{var _0x1dd122=_0x3c67da;this[_0x1dd122(0x382)](this[_0x1dd122(0x21b)]['registerCommand'](_0x132c5f));});}[_0x5eebb6(0x30c)](){var _0xc0d41f=_0x5eebb6;this[_0xc0d41f(0x25c)][_0xc0d41f(0x294)](_0x486f23);}},_0x51f65b[_0x5eebb6(0x1fe)]=_0x114ae0([_0x2cc600(0x0,_0x545f0e[_0x5eebb6(0x22a)]),_0x2cc600(0x1,_0x64b5ab[_0x5eebb6(0x2f0)])],_0x51f65b[_0x5eebb6(0x1fe)]);const _0x2c9e85={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5eebb6(0x2b6),'connected':_0x5eebb6(0x352),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5eebb6(0x28a),'unknown':_0x5eebb6(0x234),'unauthorized':_0x5eebb6(0x345),'sessionOccupied':_0x5eebb6(0x363),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x5eebb6(0x255),'clickToConnect':_0x5eebb6(0x2e1),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x5eebb6(0x2ad),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5eebb6(0x250),'apiKeyHint':_0x5eebb6(0x2de),'enableAuth':_0x5eebb6(0x21f),'enableAuthHint':_0x5eebb6(0x383),'connectionInfo':_0x5eebb6(0x24a),'mcpClientConfig':_0x5eebb6(0x24a),'configInstructions':_0x5eebb6(0x301),'configStepTitle':_0x5eebb6(0x23a),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5eebb6(0x271),'configStep3':_0x5eebb6(0x233),'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':_0x5eebb6(0x257),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x5eebb6(0x26e),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x5eebb6(0x305),'note2':_0x5eebb6(0x2d3),'configSaved':_0x5eebb6(0x35e),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5eebb6(0x318),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x5eebb6(0x2ec),'apiKeyTooShort':_0x5eebb6(0x299),'invalidConfig':_0x5eebb6(0x22d),'invalidApiKey':_0x5eebb6(0x2a4)},'connectionStatus':{'disconnected':_0x5eebb6(0x2c3),'connecting':_0x5eebb6(0x225),'connected':_0x5eebb6(0x2a3),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x5eebb6(0x2ef),'sessionOccupied':_0x5eebb6(0x228),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x5eebb6(0x203)}}},_0x3912f7={'mcpStatus':{'disconnected':_0x5eebb6(0x31f),'connecting':_0x5eebb6(0x275),'connected':_0x5eebb6(0x31b),'failed':_0x5eebb6(0x2c0),'retrying':_0x5eebb6(0x310),'unknown':_0x5eebb6(0x35f),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x5eebb6(0x32e),'maxRetriesExceeded':_0x5eebb6(0x254),'clickToConnect':_0x5eebb6(0x2c2),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x5eebb6(0x30f),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x5eebb6(0x2c8),'apiKeyPlaceholder':_0x5eebb6(0x2b4),'apiKeyHint':_0x5eebb6(0x2a8),'enableAuth':'启用身份验证','enableAuthHint':_0x5eebb6(0x27e),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x5eebb6(0x2d6),'configInstructions':_0x5eebb6(0x2b2),'configStepTitle':_0x5eebb6(0x229),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x5eebb6(0x357),'sessionId':'会话ID','sessionIdDescription':_0x5eebb6(0x222),'authorizationDescription':_0x5eebb6(0x295),'configParameters':_0x5eebb6(0x27b),'maxRetries':_0x5eebb6(0x25a),'save':'保存配置','saving':'保存中...','note1':_0x5eebb6(0x218),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x5eebb6(0x231),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x5eebb6(0x298),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x5eebb6(0x242)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x5eebb6(0x35a),'invalidApiKey':_0x5eebb6(0x338)},'connectionStatus':{'disconnected':_0x5eebb6(0x206),'connecting':'连接中...','connected':'已连接','failed':_0x5eebb6(0x224),'retrying':_0x5eebb6(0x277)},'connectionError':{'unauthorized':_0x5eebb6(0x317),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x5eebb6(0x368),'maxRetriesExceeded':_0x5eebb6(0x256)}}};var _0xb202c6=Object[_0x5eebb6(0x2dd)],_0x3cf1bc=Object[_0x5eebb6(0x331)],_0x41060d=(_0x1ff1be,_0x19f21f,_0x22910a)=>_0x19f21f in _0x1ff1be?_0xb202c6(_0x1ff1be,_0x19f21f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22910a}):_0x1ff1be[_0x19f21f]=_0x22910a,_0x2f1ca2=(_0x2f93e3,_0x1c8aaf,_0x4c68dc,_0x3fd416)=>{var _0x42559f=_0x5eebb6;for(var _0x50d8e1=_0x3fd416>0x1?void 0x0:_0x3fd416?_0x3cf1bc(_0x1c8aaf,_0x4c68dc):_0x1c8aaf,_0x35ba5c=_0x2f93e3[_0x42559f(0x32d)]-0x1,_0x2abc0b;_0x35ba5c>=0x0;_0x35ba5c--)(_0x2abc0b=_0x2f93e3[_0x35ba5c])&&(_0x50d8e1=_0x2abc0b(_0x50d8e1)||_0x50d8e1);return _0x50d8e1;},_0x4a620b=(_0x5d407a,_0x54197b)=>(_0x37a700,_0x47bc1c)=>_0x54197b(_0x37a700,_0x47bc1c,_0x5d407a),_0x357c73=(_0x4b8582,_0x270228,_0x1a8277)=>_0x41060d(_0x4b8582,_0x270228+'',_0x1a8277);_0x51f65b[_0x5eebb6(0x36a)]=class extends _0x545f0e[_0x5eebb6(0x2a5)]{constructor(_0xb282c8=_0x1780e5,_0x816c5e,_0x57c71e,_0x2befc3,_0x435929,_0x585675){var _0x24aa92=_0x5eebb6;super(),this[_0x24aa92(0x22c)]=_0xb282c8,this[_0x24aa92(0x227)]=_0x816c5e,this['_configService']=_0x57c71e,this[_0x24aa92(0x323)]=_0x2befc3,this[_0x24aa92(0x2dc)]=_0x435929,this['_localeService']=_0x585675;const {..._0x17444e}=_0x545f0e[_0x24aa92(0x330)]({},_0x1780e5,this[_0x24aa92(0x22c)]);this[_0x24aa92(0x36f)][_0x24aa92(0x2ae)](_0x2b8429,_0x17444e);}async[_0x5eebb6(0x321)](){var _0x4b137d=_0x5eebb6;const _0x2ef667=[[_0x51f65b[_0x4b137d(0x22b)]],[_0x51f65b['MCPConfigUIController']],[_0x51f65b['MCPUIMenuController']]];this[_0x4b137d(0x227)]['has'](_0x36e994[_0x4b137d(0x366)])||_0x2ef667[_0x4b137d(0x1f4)]([_0x36e994['ISocketService'],{'useClass':_0x36e994[_0x4b137d(0x273)]}]),_0x2ef667[_0x4b137d(0x268)](_0x30197f=>this['_injector'][_0x4b137d(0x349)](_0x30197f)),this[_0x4b137d(0x227)][_0x4b137d(0x211)](_0x51f65b[_0x4b137d(0x22b)]),this[_0x4b137d(0x227)]['get'](_0x51f65b[_0x4b137d(0x2b7)]),this[_0x4b137d(0x227)]['get'](_0x51f65b['MCPUIMenuController']);}},_0x357c73(_0x51f65b['UniverMCPUIPlugin'],_0x5eebb6(0x36b),_0x5eebb6(0x24e)),_0x51f65b['UniverMCPUIPlugin']=_0x2f1ca2([_0x545f0e[_0x5eebb6(0x215)](_0xc88374[_0x5eebb6(0x2ed)]),_0x4a620b(0x1,_0x545f0e[_0x5eebb6(0x2be)](_0x545f0e[_0x5eebb6(0x2a6)])),_0x4a620b(0x2,_0x545f0e[_0x5eebb6(0x251)]),_0x4a620b(0x3,_0x64b5ab[_0x5eebb6(0x361)]),_0x4a620b(0x4,_0x545f0e[_0x5eebb6(0x2e3)]),_0x4a620b(0x5,_0x545f0e[_0x5eebb6(0x2be)](_0x545f0e[_0x5eebb6(0x347)]))],_0x51f65b['UniverMCPUIPlugin']),_0x51f65b[_0x5eebb6(0x369)]=_0x2206cc,_0x51f65b[_0x5eebb6(0x359)]=_0x1dc08f,_0x51f65b[_0x5eebb6(0x306)]=_0x130738,_0x51f65b[_0x5eebb6(0x1f0)]=_0x2c9e85,_0x51f65b[_0x5eebb6(0x341)]=_0x3912f7,Object[_0x5eebb6(0x2dd)](_0x51f65b,Symbol[_0x5eebb6(0x226)],{'value':'Module'});}));
|
|
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'}}};}));
|