@univerjs-pro/mcp-ui 0.10.10-experimental.20251016-33b0941 → 0.10.10-nightly.202510180256
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 +6 -6
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1cdf2b=_0x11c5;function _0x149a(){const _0x5a26f9=['Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','2dQbuhU','Click\x20to\x20connect\x20MCP','Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Save\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connection\x20Failed','8709756UHnILN','Saving...','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20Authentication','MCP\x20Retrying...','Invalid\x20configuration','6DAUpBm','API\x20key\x20is\x20required','Univer\x20AI\x20Console','20pRrMri','MCP:\x20Unauthorized','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','MCP:\x20Network\x20Error','3ySQmJS','MCP:\x20Max\x20Retries\x20Exceeded','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1610260eRiHxp','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Unknown\x20Status','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20with\x20Bearer\x20prefix.','8893NhYQIh','8tJmSII','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','622539nSJLbh','Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2114750cYuCtk','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Client\x20Configuration','MCP\x20Configuration','Configuration\x20saved\x20successfully','280063TaXAsg','817340mbSRql'];_0x149a=function(){return _0x5a26f9;};return _0x149a();}function _0x11c5(_0x25f3c6,_0x5aa4d1){const _0x149ad3=_0x149a();return _0x11c5=function(_0x11c581,_0x2a1a8d){_0x11c581=_0x11c581-0x91;let _0x3016ae=_0x149ad3[_0x11c581];return _0x3016ae;},_0x11c5(_0x25f3c6,_0x5aa4d1);}(function(_0x40ec4b,_0x1cf7fa){const _0x5ed1e9=_0x11c5,_0x5e653a=_0x40ec4b();while(!![]){try{const _0x2f6427=-parseInt(_0x5ed1e9(0xbd))/0x1*(parseInt(_0x5ed1e9(0x9a))/0x2)+-parseInt(_0x5ed1e9(0xb4))/0x3*(parseInt(_0x5ed1e9(0xb8))/0x4)+parseInt(_0x5ed1e9(0x96))/0x5+-parseInt(_0x5ed1e9(0xa9))/0x6*(-parseInt(_0x5ed1e9(0x95))/0x7)+-parseInt(_0x5ed1e9(0xbe))/0x8*(-parseInt(_0x5ed1e9(0xc2))/0x9)+-parseInt(_0x5ed1e9(0xac))/0xa*(parseInt(_0x5ed1e9(0xc6))/0xb)+parseInt(_0x5ed1e9(0xa2))/0xc;if(_0x2f6427===_0x1cf7fa)break;else _0x5e653a['push'](_0x5e653a['shift']());}catch(_0x531547){_0x5e653a['push'](_0x5e653a['shift']());}}}(_0x149a,0x31707));const e={'mcpStatus':{'disconnected':_0x1cdf2b(0xbf),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x1cdf2b(0xa1),'retrying':_0x1cdf2b(0xa7),'unknown':_0x1cdf2b(0xba),'unauthorized':_0x1cdf2b(0xad),'sessionOccupied':_0x1cdf2b(0xb1),'networkError':_0x1cdf2b(0xb3),'maxRetriesExceeded':_0x1cdf2b(0xb5),'clickToConnect':_0x1cdf2b(0x9b),'clickToConfigure':_0x1cdf2b(0xc0)},'mcpConfig':{'title':_0x1cdf2b(0x93),'description':_0x1cdf2b(0x9d),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1cdf2b(0xa5),'enableAuth':_0x1cdf2b(0xa6),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x1cdf2b(0x92),'configInstructions':_0x1cdf2b(0xb6),'configStepTitle':_0x1cdf2b(0xb2),'configStep1':_0x1cdf2b(0xa4),'configStep2':_0x1cdf2b(0xa0),'configStep3':_0x1cdf2b(0xb7),'sessionId':_0x1cdf2b(0xc7),'sessionIdDescription':_0x1cdf2b(0xb9),'authorizationDescription':_0x1cdf2b(0xbc),'configParameters':_0x1cdf2b(0x98),'maxRetries':'Max\x20Retries','save':_0x1cdf2b(0x9f),'saving':_0x1cdf2b(0xa3),'note1':_0x1cdf2b(0x97),'note2':_0x1cdf2b(0xaf),'configSaved':_0x1cdf2b(0x94),'configError':_0x1cdf2b(0xae),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1cdf2b(0x99),'univerAiLabel':_0x1cdf2b(0xab),'getStarted':_0x1cdf2b(0xb0)},'validation':{'apiKeyRequired':_0x1cdf2b(0xaa),'apiKeyTooShort':_0x1cdf2b(0xc4),'invalidConfig':_0x1cdf2b(0xa8),'invalidApiKey':_0x1cdf2b(0x91)},'connectionStatus':{'disconnected':_0x1cdf2b(0x9c),'connecting':'Connecting...','connected':'Connected','failed':_0x1cdf2b(0xc3),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x1cdf2b(0x9e),'sessionOccupied':_0x1cdf2b(0xc1),'networkError':_0x1cdf2b(0xbb),'maxRetriesExceeded':_0x1cdf2b(0xc5)}}},n=e;export{n as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x43b228=_0x8fc3;(function(_0x517e25,_0x167949){const _0x2e0529=_0x8fc3,_0x4580d6=_0x517e25();while(!![]){try{const _0x1bae0c=-parseInt(_0x2e0529(0xf3))/0x1+parseInt(_0x2e0529(0xdf))/0x2+-parseInt(_0x2e0529(0xe3))/0x3*(parseInt(_0x2e0529(0x104))/0x4)+parseInt(_0x2e0529(0x106))/0x5+-parseInt(_0x2e0529(0x10a))/0x6*(parseInt(_0x2e0529(0x103))/0x7)+parseInt(_0x2e0529(0xf9))/0x8*(parseInt(_0x2e0529(0xef))/0x9)+parseInt(_0x2e0529(0xf4))/0xa;if(_0x1bae0c===_0x167949)break;else _0x4580d6['push'](_0x4580d6['shift']());}catch(_0x20d555){_0x4580d6['push'](_0x4580d6['shift']());}}}(_0x1895,0xc0a36));function _0x8fc3(_0xf8d3a,_0x44ae18){const _0x18951f=_0x1895();return _0x8fc3=function(_0x8fc359,_0x5b3fc8){_0x8fc359=_0x8fc359-0xde;let _0x34b3be=_0x18951f[_0x8fc359];return _0x34b3be;},_0x8fc3(_0xf8d3a,_0x44ae18);}const e={'mcpStatus':{'disconnected':_0x43b228(0xe6),'connecting':_0x43b228(0x102),'connected':_0x43b228(0xe1),'failed':_0x43b228(0xf2),'retrying':_0x43b228(0xeb),'unknown':_0x43b228(0xec),'unauthorized':_0x43b228(0xf6),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x43b228(0xf7),'clickToConfigure':_0x43b228(0x100)},'mcpConfig':{'title':_0x43b228(0xfc),'description':_0x43b228(0xed),'apiKey':_0x43b228(0xea),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x43b228(0xf0),'enableAuth':_0x43b228(0xe2),'enableAuthHint':_0x43b228(0xf8),'connectionInfo':_0x43b228(0xfa),'mcpClientConfig':_0x43b228(0xfa),'configInstructions':_0x43b228(0xfb),'configStepTitle':_0x43b228(0xe7),'configStep1':_0x43b228(0xe0),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x43b228(0x10b),'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':_0x43b228(0xe5),'configParameters':_0x43b228(0x105),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x43b228(0xfd),'note1':_0x43b228(0xfe),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x43b228(0x107),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x43b228(0x109),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x43b228(0xf5)},'validation':{'apiKeyRequired':_0x43b228(0xe4),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x43b228(0xde),'connecting':_0x43b228(0xe8),'connected':'Connected','failed':_0x43b228(0x101),'retrying':_0x43b228(0xe9)},'connectionError':{'unauthorized':_0x43b228(0xf1),'sessionOccupied':_0x43b228(0xff),'networkError':_0x43b228(0x108),'maxRetriesExceeded':_0x43b228(0xee)}}},n=e;export{n as default};function _0x1895(){const _0x270b09=['Click\x20to\x20configure\x20MCP','Connection\x20Failed','MCP\x20Connecting...','10637893XtiYhx','40kLhoLB','Configuration\x20Parameters:','2872415pRDaER','Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','6fSsVwm','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','1572996nTDRzc','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connected','Enable\x20Authentication','376698nqRHig','API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Disconnected','Configuration\x20Steps:','Connecting...','Retrying...','API\x20Key','MCP\x20Retrying...','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4522257NAIMnG','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed','1471910ETvyEV','31728610xFrbqk','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','8mrUfNX','MCP\x20Client\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Configuration','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x1895=function(){return _0x270b09;};return _0x1895();}
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2c6a(){const _0x231787=['复制以下\x20JSON\x20配置','启用身份验证','配置保存成功','Univer\x20AI\x20控制台','您的\x20API\x20密钥安全存储在本地存储中','78090yaxGtX','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP:\x20会话\x20ID\x20已被占用','API\x20密钥不能为空','点击配置\x20MCP','未连接','187284EZttra','配置步骤:','什么是\x20API\x20密钥?','配置参数:','连接失败','567XdIFff','435MzISHO','MCP\x20重连中...','您的\x20API\x20密钥将在此浏览器中本地存储','会话ID','保存配置','将配置添加到您的\x20MCP\x20客户端设置文件中','请输入您的\x20API\x20密钥','5514pmMCAK','带有\x20Bearer\x20前缀的\x20API\x20密钥。','重连中...','2589769GHIsQx','MCP:\x20超出最大重试次数','15990rXumRe','最大重试次数','MCP\x20客户端配置','配置更改将立即生效','MCP\x20配置','1474fYBQKW','连接中...','配置无效','59552iOFJcc','81252GSKUmd','API\x20密钥无效,请检查密钥是否正确','MCP\x20已断开','316pxXUGo','启用身份验证以获得安全连接','权限验证失败,请检查您的\x20API\x20密钥','API\x20密钥','MCP\x20连接失败','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','已连接','超出最大重试次数,请稍后再试'];_0x2c6a=function(){return _0x231787;};return _0x2c6a();}const _0x43b3b7=_0xf2bf;(function(_0x36f0bb,_0x1f100c){const _0x169825=_0xf2bf,_0x5835d4=_0x36f0bb();while(!![]){try{const _0x2a434a=-parseInt(_0x169825(0x186))/0x1+parseInt(_0x169825(0x178))/0x2*(parseInt(_0x169825(0x171))/0x3)+-parseInt(_0x169825(0x189))/0x4*(parseInt(_0x169825(0x17d))/0x5)+parseInt(_0x169825(0x16b))/0x6+-parseInt(_0x169825(0x17b))/0x7+parseInt(_0x169825(0x185))/0x8*(-parseInt(_0x169825(0x170))/0x9)+parseInt(_0x169825(0x165))/0xa*(parseInt(_0x169825(0x182))/0xb);if(_0x2a434a===_0x1f100c)break;else _0x5835d4['push'](_0x5835d4['shift']());}catch(_0x5d9fdf){_0x5835d4['push'](_0x5835d4['shift']());}}}(_0x2c6a,0x4a5a8));function _0xf2bf(_0x1962d5,_0x12bd63){const _0x2c6a37=_0x2c6a();return _0xf2bf=function(_0xf2bf2,_0x504ce9){_0xf2bf2=_0xf2bf2-0x164;let _0x213ea3=_0x2c6a37[_0xf2bf2];return _0x213ea3;},_0xf2bf(_0x1962d5,_0x12bd63);}const e={'mcpStatus':{'disconnected':_0x43b3b7(0x188),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x43b3b7(0x18d),'retrying':_0x43b3b7(0x172),'unknown':'MCP\x20状态未知','unauthorized':'MCP:\x20未授权','sessionOccupied':_0x43b3b7(0x167),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x43b3b7(0x17c),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x43b3b7(0x169)},'mcpConfig':{'title':_0x43b3b7(0x181),'description':_0x43b3b7(0x166),'apiKey':_0x43b3b7(0x18c),'apiKeyPlaceholder':_0x43b3b7(0x177),'apiKeyHint':_0x43b3b7(0x173),'enableAuth':_0x43b3b7(0x192),'enableAuthHint':_0x43b3b7(0x18a),'connectionInfo':_0x43b3b7(0x17f),'mcpClientConfig':_0x43b3b7(0x17f),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x43b3b7(0x16c),'configStep1':_0x43b3b7(0x191),'configStep2':_0x43b3b7(0x176),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x43b3b7(0x174),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x43b3b7(0x179),'configParameters':_0x43b3b7(0x16e),'maxRetries':_0x43b3b7(0x17e),'save':_0x43b3b7(0x175),'saving':'保存中...','note1':_0x43b3b7(0x180),'note2':_0x43b3b7(0x164),'configSaved':_0x43b3b7(0x193),'configError':'配置保存失败','apiApplyInfo':{'title':_0x43b3b7(0x16d),'description':_0x43b3b7(0x18e),'univerAiLabel':_0x43b3b7(0x194),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x43b3b7(0x168),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x43b3b7(0x184),'invalidApiKey':_0x43b3b7(0x187)},'connectionStatus':{'disconnected':_0x43b3b7(0x16a),'connecting':_0x43b3b7(0x183),'connected':_0x43b3b7(0x18f),'failed':_0x43b3b7(0x16f),'retrying':_0x43b3b7(0x17a)},'connectionError':{'unauthorized':_0x43b3b7(0x18b),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x43b3b7(0x190)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2b20e4=_0x515f;function _0x140c(){const _0xea19e2=['Click\x20to\x20connect\x20MCP','MCP\x20Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed','2439608RccahP','MCP\x20Client\x20Configuration','2440046SLVday','Click\x20to\x20configure\x20MCP','3ElEHkI','MCP\x20Unknown\x20Status','API\x20key\x20is\x20required','9440cDbqse','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','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:','Configuration\x20Parameters:','Configuration\x20saved\x20successfully','MCP\x20Connected','MCP\x20Configuration','Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20configuration','MCP\x20Retrying...','MCP:\x20Session\x20ID\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','5763956vCfDWg','Connected','Disconnected','Univer\x20AI\x20Console','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized','3859814iVMGvh','Session\x20ID','MCP:\x20Max\x20Retries\x20Exceeded','4346380sWxgqZ','Failed\x20to\x20save\x20configuration','36vqnlxW','Max\x20Retries','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','3600912ikuFIy'];_0x140c=function(){return _0xea19e2;};return _0x140c();}(function(_0x3d091a,_0x41eaff){const _0x57c116=_0x515f,_0x1ee721=_0x3d091a();while(!![]){try{const _0x3574f9=parseInt(_0x57c116(0x1e2))/0x1+-parseInt(_0x57c116(0x1dd))/0x2*(-parseInt(_0x57c116(0x1df))/0x3)+-parseInt(_0x57c116(0x1f4))/0x4+parseInt(_0x57c116(0x1d0))/0x5+-parseInt(_0x57c116(0x1d5))/0x6+-parseInt(_0x57c116(0x1cd))/0x7+-parseInt(_0x57c116(0x1db))/0x8*(-parseInt(_0x57c116(0x1d2))/0x9);if(_0x3574f9===_0x41eaff)break;else _0x1ee721['push'](_0x1ee721['shift']());}catch(_0x350d3f){_0x1ee721['push'](_0x1ee721['shift']());}}}(_0x140c,0xb13f0));const e={'mcpStatus':{'disconnected':_0x2b20e4(0x1d7),'connecting':'MCP\x20Connecting...','connected':_0x2b20e4(0x1ec),'failed':_0x2b20e4(0x1da),'retrying':_0x2b20e4(0x1f1),'unknown':_0x2b20e4(0x1e0),'unauthorized':_0x2b20e4(0x1cc),'sessionOccupied':_0x2b20e4(0x1f2),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2b20e4(0x1cf),'clickToConnect':_0x2b20e4(0x1d6),'clickToConfigure':_0x2b20e4(0x1de)},'mcpConfig':{'title':_0x2b20e4(0x1ed),'description':_0x2b20e4(0x1f8),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2b20e4(0x1f3),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2b20e4(0x1dc),'configInstructions':_0x2b20e4(0x1ef),'configStepTitle':_0x2b20e4(0x1e9),'configStep1':_0x2b20e4(0x1e4),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2b20e4(0x1e6),'sessionId':_0x2b20e4(0x1ce),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2b20e4(0x1cb),'configParameters':_0x2b20e4(0x1ea),'maxRetries':_0x2b20e4(0x1d3),'save':'Save\x20Configuration','saving':_0x2b20e4(0x1c9),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2b20e4(0x1e5),'configSaved':_0x2b20e4(0x1eb),'configError':_0x2b20e4(0x1d1),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2b20e4(0x1e8),'univerAiLabel':_0x2b20e4(0x1f7),'getStarted':_0x2b20e4(0x1ca)},'validation':{'apiKeyRequired':_0x2b20e4(0x1e1),'apiKeyTooShort':_0x2b20e4(0x1e7),'invalidConfig':_0x2b20e4(0x1f0),'invalidApiKey':_0x2b20e4(0x1d4)},'connectionStatus':{'disconnected':_0x2b20e4(0x1f6),'connecting':'Connecting...','connected':_0x2b20e4(0x1f5),'failed':'Connection\x20Failed','retrying':_0x2b20e4(0x1ee)},'connectionError':{'unauthorized':_0x2b20e4(0x1d9),'sessionOccupied':_0x2b20e4(0x1e3),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2b20e4(0x1d8)}}},n=e;function _0x515f(_0x43daf4,_0x4af351){const _0x140ce8=_0x140c();return _0x515f=function(_0x515f42,_0x4f9f73){_0x515f42=_0x515f42-0x1c9;let _0x535671=_0x140ce8[_0x515f42];return _0x535671;},_0x515f(_0x43daf4,_0x4af351);}export{n as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x41a1(_0xbe4235,_0x44b95f){var _0x1b8d11=_0x1b8d();return _0x41a1=function(_0x41a19e,_0x2fb6b8){_0x41a19e=_0x41a19e-0xa0;var _0x1f5b1f=_0x1b8d11[_0x41a19e];return _0x1f5b1f;},_0x41a1(_0xbe4235,_0x44b95f);}function _0x1b8d(){var _0x43c15d=['MCP\x20Connected','重连中...','univer-flex-shrink-0\x20univer-text-blue-500','merge','exports','label','配置参数:','Disconnected','UniverMCPUIPlugin','_apiKey$','mcpConfig.apiApplyInfo.description','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','mcpStatus.retrying','path','@univerjs-pro/mcp','enUS','toStringTag','https://console.univer.plus','MAX_RETRIES_EXCEEDED','map','div','_registerComponent','BehaviorSubject','9TEKUhC','mcpConfig.connectionStatus.disconnected','rxjs','0\x200\x2017\x2017','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-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','univer-text-yellow-500','mcpConfig.configStepTitle','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.configStep3','Enable\x20authentication\x20for\x20secure\x20connections','MenuItemType','API\x20key\x20is\x20required','_handleConfigSave','3322517mjVuoN','UniverProMcpUi','className','IDialogService','ICommandService','NONE','RETRYING','UniverIcon','currentColor','MCPConnectionError','IConfigService','MCPConnectionController','82403kGSfgJ','配置保存成功','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.clickToConnect','on-line-icon_clip0_910_349','CommandType','fill','_blank','_config','symbol','最大重试次数','MCP\x20Connection\x20Failed','RibbonStartGroup','Get\x20your\x20API\x20key\x20in\x20seconds','_connectionController','pre','mcpConfig.configStep2','onStarting','hasOwnProperty','_initializeMenus','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','registerComponent','mcpConfig.apiKeyPlaceholder','@univerjs/network','mcpConfig.validation.apiKeyRequired','mcp.apiKey','CONNECTED','Enter\x20your\x20API\x20key','value','连接中...','重启您的\x20MCP\x20客户端以使配置生效','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','disposeWithMe','round','MCP\x20Disconnected','77IGBncD','MCP\x20状态未知','univer_session_id:','MCP\x20配置','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-ui.command.openConfigPanel','get','复制以下\x20JSON\x20配置','univer-text-gray-500','MCP\x20Retrying...','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-bg-gray-500','API\x20key\x20with\x20Bearer\x20prefix.','mcpStatus.networkError','会话ID','Input','点击配置\x20MCP','_configService','Invalid\x20configuration','MCP:\x20会话\x20ID\x20已被占用','_createConfigPanelComponent','univer.plus','Button','Injector','close-small-single','univer-text-xs\x20univer-text-gray-500','https://console.univer.ai','mcpStatus.sessionOccupied','apply','MCP\x20Unknown\x20Status','Connected','MCP\x20客户端配置','univer-text-gray-400','tag','MCP\x20Client\x20Configuration','mcpConfig.connectionError.networkError','Connecting...','createElement','298110vsYhWB','HEADER_MENU','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','FAILED','univer-text-sm\x20univer-font-medium','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','配置保存失败','mcpConfig.apiKey','mcpConfig.connectionStatus.connected','OTHERS','mcpStatus.unknown','Retrying...','Save\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Tooltip','网络连接错误,请检查您的网络连接','BuiltInUIPart','Close','span','MCP:\x20超出最大重试次数','useDependency','SESSION_ID_OCCUPIED','showDeveloperTools','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','将以下配置添加到您的\x20MCP\x20客户端设置中:','connectionError$','univer-min-w-0\x20univer-flex-1','defs','useCallback','ILocalStorageService','DISCONNECTED','UNAUTHORIZED','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','MCPStatusDisplay','javascript:void(0)','mcpConfig.note2','724WuMnQY','MCP\x20连接失败','mcpServerUrl','MCPConnectionUIController','CloseSmallSingle','next','_initAutoConnect','isValid','_componentManager','mcpStatus.connecting','连接失败','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','bottom','mergeMenu','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','MCPConfigUIController','_menuManagerService','mcpConfig.configInstructions','univer-flex\x20univer-items-center','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','_commandService','mcpConfig.sessionIdDescription','Enable\x20Authentication','univer-space-y-2','OnLineIcon','3365rwpgKP','mcp-config-dialog','Configuration\x20Parameters:','replace','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_handleConfigure','idSuffix','MCPConfigPanel','jsxs','Disposable','connectInjector','MCP:\x20未授权','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.description','validateApiKey','Univer\x20AI\x20控制台','@univerjs/design','trim','subscribeConfigValue$','MCPConnectionStatus','includes','mcpConfig.connectionError.sessionOccupied','mcpConfig.validation.invalidConfig','mcpConfig.save','MCP\x20Configuration','getOwnPropertySymbols','_loading$','UniverUi','svg','MCP:\x20Unauthorized','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Connection\x20Failed','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','mcpConfig.configError','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','LocaleService','Configuration\x20saved\x20successfully','random','attrs','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-flex\x20univer-items-start\x20univer-gap-3','Authorization:','concat','url(#on-line-icon_clip0_910_349)','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','What\x20is\x20API\x20Key?','none','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','_initStatusComponent','React','prototype','icon','mcpStatus.disconnected','add','MCP:\x20Max\x20Retries\x20Exceeded','什么是\x20API\x20密钥?','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-text-xs\x20univer-text-gray-600','权限验证失败,请检查您的\x20API\x20密钥','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','subscribe','current','MenuIcon','errorMessage','has','NETWORK_ERROR','MCP:\x20Session\x20ID\x20Occupied','306368vOYKez','getOwnPropertyDescriptor','assign','react','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-flex\x20univer-items-start\x20univer-gap-2','xlink:href','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','length','HelpSingle','几秒钟内获取您的\x20API\x20密钥','mcpConfig.note1','\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.ai','close','forwardRef','univerjs-icon\x20univerjs-icon-','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','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','带有\x20Bearer\x20前缀的\x20API\x20密钥。','_loadStoredApiKey','noopener\x20noreferrer','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','http://www.w3.org/2000/svg','CheckMarkIcon','mcpStatus.clickToConfigure','function','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Bearer\x20','MCPUIMenuController','univer-text-white','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-flex\x20univer-items-center\x20univer-gap-2','displayName','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','forEach','entries','\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','_localStorageService','UniverNetwork','OpenMCPConfigPanelCommand','CONNECTING','mcpStatus.unauthorized','\x20-\x20','mcpStatus.connected','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','defIds','mcpConfig.authorizationDescription','IMessageService','univer-space-y-4','_injector','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','getItem','getConfig','@univerjs/ui','Error','mcp-ui.config','indexOf','mcpConfig.title','pluginName','_localeService','setConfig','mcpConfig.connectionError.maxRetriesExceeded','IUIPartsService','_dialogService','url(#off-line-icon_clip0_910_343)','extend','univer-space-y-3','mcpConfig.apiKeyHint','保存中...','white','clipPath','Inject','mcpConfig.validation.apiKeyTooShort','use','string','open','M0\x200H16V16H0z','_config$','0\x200\x2016\x2016','_initializeCommands','check-mark-icon','未连接','univer-flex-shrink-0\x20univer-text-red-500','__setCustomHeaders','colorChannel1','829030qhBXDW','ILogService','defineProperty','children','clsx','enableAutoConnect','Configuration\x20Steps:','univer-text-sm\x20univer-text-gray-500','_mcpCoreConfig$','mcpStatus.maxRetriesExceeded','showConfigPanel','off','\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','您的\x20API\x20密钥将在此浏览器中本地存储','univer-flex\x20univer-gap-3','mcpConfig.connectionStatus.retrying','1em','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','API\x20Key','_validateConfig','Click\x20to\x20connect\x20MCP','mcpConfig.connectionError.unauthorized','show','Success','M5.21243\x205.62036L11.8791\x2012.287','mask','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','error','mcpConfig.configParameters','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','3xJrEsc','_initConfigSync','useObservable','MessageType','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','jsx','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-flex\x20univer-items-center\x20univer-gap-3','保存配置','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','_mcpConnectionController','MCP_PLUGIN_CONFIG_KEY','off-line-icon_clip0_910_343','已连接','UniverDesign','useState','MCP\x20已断开','配置无效','ISocketService','apiKey','getCurrentConfig','univer-font-medium','evenodd','API\x20密钥','663324fsyZoi','_logService','translate(.97)','配置步骤:','_uiPartsService','会话\x20ID\x20已被占用,请稍后再试','_messageService','MCP:\x20网络错误','react/jsx-runtime'];_0x1b8d=function(){return _0x43c15d;};return _0x1b8d();}(function(_0x3c8d80,_0xf4361d){var _0x1521fe=_0x41a1,_0x48c5f0=_0x3c8d80();while(!![]){try{var _0x347538=-parseInt(_0x1521fe(0x188))/0x1+parseInt(_0x1521fe(0x14c))/0x2*(parseInt(_0x1521fe(0x134))/0x3)+parseInt(_0x1521fe(0x1f6))/0x4*(parseInt(_0x1521fe(0x20f))/0x5)+parseInt(_0x1521fe(0x1d2))/0x6+-parseInt(_0x1521fe(0x1ab))/0x7*(parseInt(_0x1521fe(0xbf))/0x8)+-parseInt(_0x1521fe(0x16c))/0x9*(parseInt(_0x1521fe(0x116))/0xa)+parseInt(_0x1521fe(0x17c))/0xb;if(_0x347538===_0xf4361d)break;else _0x48c5f0['push'](_0x48c5f0['shift']());}catch(_0x5edd67){_0x48c5f0['push'](_0x48c5f0['shift']());}}}(_0x1b8d,0x35615),function(_0x590f3d,_0x28c4c5){var _0x6021fb=_0x41a1;typeof exports=='object'&&typeof module<'u'?_0x28c4c5(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==_0x6021fb(0xda)&&define['amd']?define([_0x6021fb(0x159),'@univerjs/core',_0x6021fb(0x154),_0x6021fb(0x163),_0x6021fb(0x21f),_0x6021fb(0xf6),_0x6021fb(0x16e),_0x6021fb(0xc2),_0x6021fb(0x19f)],_0x28c4c5):(_0x590f3d=typeof globalThis<'u'?globalThis:_0x590f3d||self,_0x28c4c5(_0x590f3d[_0x6021fb(0x17d)]={},_0x590f3d['UniverCore'],_0x590f3d['React'],_0x590f3d['UniverProMcp'],_0x590f3d[_0x6021fb(0x142)],_0x590f3d[_0x6021fb(0x22a)],_0x590f3d[_0x6021fb(0x16e)],_0x590f3d[_0x6021fb(0xad)],_0x590f3d[_0x6021fb(0xe7)]));}(this,function(_0x1266a3,_0x2b5815,_0x121641,_0x43b163,_0x3aa8f4,_0x36b9dd,_0xe56dd8,_0x38262d,_0x480970){'use strict';var _0x309259=_0x41a1;var _0x2571c5=Object['defineProperty'],_0x25ac66=(_0x536227,_0x1ae419,_0x7dfdb6)=>_0x1ae419 in _0x536227?_0x2571c5(_0x536227,_0x1ae419,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7dfdb6}):_0x536227[_0x1ae419]=_0x7dfdb6,_0x2a9845=(_0x4220a5,_0x2ba135,_0xe7c031)=>_0x25ac66(_0x4220a5,typeof _0x2ba135!=_0x309259(0x191)?_0x2ba135+'':_0x2ba135,_0xe7c031),_0x30bed5=function(){var _0x161410=_0x309259;return _0x30bed5=Object[_0x161410(0xc1)]||function(_0xe46b6b){var _0x373501=_0x161410;for(var _0xdd828f,_0xd827b5=0x1,_0x556a01=arguments[_0x373501(0xc8)];_0xd827b5<_0x556a01;_0xd827b5++){_0xdd828f=arguments[_0xd827b5];for(var _0x3d332f in _0xdd828f)Object['prototype'][_0x373501(0x19a)]['call'](_0xdd828f,_0x3d332f)&&(_0xe46b6b[_0x3d332f]=_0xdd828f[_0x3d332f]);}return _0xe46b6b;},_0x30bed5[_0x161410(0x1c8)](this,arguments);},_0x32ecfd=function(_0x2cf289,_0xde5212){var _0x5c706d=_0x309259,_0x462a8c={};for(var _0x1965fb in _0x2cf289)Object[_0x5c706d(0xae)][_0x5c706d(0x19a)]['call'](_0x2cf289,_0x1965fb)&&_0xde5212[_0x5c706d(0xf9)](_0x1965fb)<0x0&&(_0x462a8c[_0x1965fb]=_0x2cf289[_0x1965fb]);if(_0x2cf289!=null&&typeof Object[_0x5c706d(0x228)]=='function'){for(var _0x4d953e=0x0,_0x1965fb=Object[_0x5c706d(0x228)](_0x2cf289);_0x4d953e<_0x1965fb[_0x5c706d(0xc8)];_0x4d953e++)_0xde5212[_0x5c706d(0xf9)](_0x1965fb[_0x4d953e])<0x0&&Object[_0x5c706d(0xae)]['propertyIsEnumerable']['call'](_0x2cf289,_0x1965fb[_0x4d953e])&&(_0x462a8c[_0x1965fb[_0x4d953e]]=_0x2cf289[_0x1965fb[_0x4d953e]]);}return _0x462a8c;},_0x3db6a1=_0x38262d[_0x309259(0xcf)](function(_0x3454c3,_0x3dbe23){var _0x5e2d81=_0x309259,_0x479033=_0x3454c3[_0x5e2d81(0xaf)],_0x289e91=_0x3454c3['id'],_0x507768=_0x3454c3['className'],_0x5b08f6=_0x3454c3[_0x5e2d81(0x102)],_0x26f5a4=_0x32ecfd(_0x3454c3,[_0x5e2d81(0xaf),'id',_0x5e2d81(0x17e),_0x5e2d81(0x102)]),_0x41d01e=_0x5e2d81(0xd0)[_0x5e2d81(0xa6)](_0x289e91,'\x20')[_0x5e2d81(0xa6)](_0x507768||'')['trim'](),_0x2ab862=_0x38262d['useRef']('_'[_0x5e2d81(0xa6)](_0xd4514f()));return _0x381968(_0x479033,''[_0x5e2d81(0xa6)](_0x289e91),{'defIds':_0x479033['defIds'],'idSuffix':_0x2ab862[_0x5e2d81(0xb9)]},_0x30bed5({'ref':_0x3dbe23,'className':_0x41d01e},_0x26f5a4),_0x5b08f6);});function _0x381968(_0x5cf721,_0x23d717,_0x210a76,_0x4258ae,_0x3aa9a3){var _0x5808b8=_0x309259;return _0x38262d[_0x5808b8(0x1d1)](_0x5cf721[_0x5808b8(0x1cd)],_0x30bed5(_0x30bed5({'key':_0x23d717},_0x40284a(_0x5cf721,_0x210a76,_0x3aa9a3)),_0x4258ae),(_0x24525f(_0x5cf721,_0x210a76)[_0x5808b8(0x119)]||[])[_0x5808b8(0x168)](function(_0x579f6e,_0x5437ee){var _0xb45384=_0x5808b8;return _0x381968(_0x579f6e,''['concat'](_0x23d717,'-')[_0xb45384(0xa6)](_0x5cf721['tag'],'-')[_0xb45384(0xa6)](_0x5437ee),_0x210a76,void 0x0,_0x3aa9a3);}));}function _0x40284a(_0x231a80,_0x4ec528,_0x20e31c){var _0x1da916=_0x309259,_0x4786bb=_0x30bed5({},_0x231a80[_0x1da916(0xa2)]);_0x20e31c!=null&&_0x20e31c[_0x1da916(0x115)]&&_0x4786bb[_0x1da916(0x18e)]===_0x1da916(0x115)&&(_0x4786bb[_0x1da916(0x18e)]=_0x20e31c[_0x1da916(0x115)]),_0x231a80[_0x1da916(0x1cd)]===_0x1da916(0x12f)&&_0x4786bb['id']&&(_0x4786bb['id']=_0x4786bb['id']+_0x4ec528[_0x1da916(0x215)]),Object['entries'](_0x4786bb)[_0x1da916(0xe3)](function(_0x29a1f3){var _0xbca8d4=_0x1da916,_0x2e4b94=_0x29a1f3[0x0],_0x121ec7=_0x29a1f3[0x1];_0x2e4b94===_0xbca8d4(0x12f)&&typeof _0x121ec7=='string'&&(_0x4786bb[_0x2e4b94]=_0x121ec7[_0xbca8d4(0x212)](/url\(#(.*)\)/,'url(#$1'[_0xbca8d4(0xa6)](_0x4ec528['idSuffix'],')')));});var _0x9043ad=_0x4ec528[_0x1da916(0xee)];return!_0x9043ad||_0x9043ad[_0x1da916(0xc8)]===0x0||(_0x231a80[_0x1da916(0x1cd)]===_0x1da916(0x10a)&&_0x4786bb[_0x1da916(0xc6)]&&(_0x4786bb[_0x1da916(0xc6)]=_0x4786bb['xlink:href']+_0x4ec528[_0x1da916(0x215)]),Object[_0x1da916(0xe4)](_0x4786bb)[_0x1da916(0xe3)](function(_0x22de50){var _0x1f1c59=_0x1da916,_0x5b763d=_0x22de50[0x0],_0x47ccd4=_0x22de50[0x1];typeof _0x47ccd4==_0x1f1c59(0x10b)&&(_0x4786bb[_0x5b763d]=_0x47ccd4['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1f1c59(0xa6)](_0x4ec528[_0x1f1c59(0x215)],')')));})),_0x4786bb;}function _0x24525f(_0x4cb2a5,_0x594787){var _0x1175b9=_0x309259,_0x38da66,_0x43c34b=_0x594787[_0x1175b9(0xee)];return!_0x43c34b||_0x43c34b['length']===0x0?_0x4cb2a5:_0x4cb2a5[_0x1175b9(0x1cd)]===_0x1175b9(0x1ed)&&(!((_0x38da66=_0x4cb2a5[_0x1175b9(0x119)])===null||_0x38da66===void 0x0)&&_0x38da66['length'])?_0x30bed5(_0x30bed5({},_0x4cb2a5),{'children':_0x4cb2a5[_0x1175b9(0x119)]['map'](function(_0x371f7d){var _0x18ff76=_0x1175b9;return typeof _0x371f7d[_0x18ff76(0xa2)]['id']==_0x18ff76(0x10b)&&_0x43c34b&&_0x43c34b[_0x18ff76(0x223)](_0x371f7d[_0x18ff76(0xa2)]['id'])?_0x30bed5(_0x30bed5({},_0x371f7d),{'attrs':_0x30bed5(_0x30bed5({},_0x371f7d[_0x18ff76(0xa2)]),{'id':_0x371f7d[_0x18ff76(0xa2)]['id']+_0x594787[_0x18ff76(0x215)]})}):_0x371f7d;})}):_0x4cb2a5;}function _0xd4514f(){var _0x47d0b5=_0x309259;return Math[_0x47d0b5(0xa1)]()['toString'](0x24)['substring'](0x2,0x8);}_0x3db6a1['displayName']=_0x309259(0x183);var _0x29f28e={'tag':_0x309259(0x22b),'attrs':{'xmlns':_0x309259(0xd7),'fill':_0x309259(0xaa),'viewBox':_0x309259(0x10f),'width':_0x309259(0x126),'height':_0x309259(0x126)},'children':[{'tag':_0x309259(0x162),'attrs':{'fill':'currentColor','d':_0x309259(0x22f),'fillRule':_0x309259(0x14a),'clipRule':_0x309259(0x14a)}}]},_0x50522c=_0x38262d[_0x309259(0xcf)](function(_0x3ee957,_0x299484){var _0x30a7fc=_0x309259;return _0x38262d[_0x30a7fc(0x1d1)](_0x3db6a1,Object[_0x30a7fc(0xc1)]({},_0x3ee957,{'id':_0x30a7fc(0x111),'ref':_0x299484,'icon':_0x29f28e}));});_0x50522c[_0x309259(0xe1)]=_0x309259(0xd8);var _0x381c9b={'tag':_0x309259(0x22b),'attrs':{'xmlns':_0x309259(0xd7),'fill':'none','viewBox':_0x309259(0x16f),'width':_0x309259(0x126),'height':_0x309259(0x126)},'children':[{'tag':_0x309259(0x162),'attrs':{'stroke':'currentColor','d':_0x309259(0x12e),'strokeLinecap':_0x309259(0x1a9),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x309259(0x162),'attrs':{'stroke':_0x309259(0x184),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x309259(0x1a9),'strokeLinejoin':_0x309259(0x1a9),'strokeWidth':1.33}}]},_0x50ad67=_0x38262d[_0x309259(0xcf)](function(_0x595377,_0x345f1a){var _0x325288=_0x309259;return _0x38262d['createElement'](_0x3db6a1,Object['assign']({},_0x595377,{'id':_0x325288(0x1c4),'ref':_0x345f1a,'icon':_0x381c9b}));});_0x50ad67[_0x309259(0xe1)]=_0x309259(0x1fa);var _0x2ae91d={'tag':_0x309259(0x22b),'attrs':{'xmlns':_0x309259(0xd7),'fill':_0x309259(0xaa),'viewBox':_0x309259(0x10f),'width':'1em','height':_0x309259(0x126)},'children':[{'tag':_0x309259(0x162),'attrs':{'fill':'currentColor','d':_0x309259(0x1af)}},{'tag':'path','attrs':{'fill':_0x309259(0x184),'d':_0x309259(0xd1)}},{'tag':'path','attrs':{'fill':'currentColor','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':_0x309259(0x14a),'clipRule':_0x309259(0x14a)}}]},_0x71c7b2=_0x38262d[_0x309259(0xcf)](function(_0x266a7d,_0x27ea94){var _0x371def=_0x309259;return _0x38262d[_0x371def(0x1d1)](_0x3db6a1,Object[_0x371def(0xc1)]({},_0x266a7d,{'id':'help-single','ref':_0x27ea94,'icon':_0x2ae91d}));});_0x71c7b2['displayName']=_0x309259(0xc9);var _0x32f1c9={'tag':_0x309259(0x22b),'attrs':{'xmlns':_0x309259(0xd7),'fill':_0x309259(0xaa),'viewBox':_0x309259(0x10f),'width':_0x309259(0x126),'height':_0x309259(0x126)},'children':[{'tag':'g','attrs':{'clipPath':_0x309259(0x101)},'children':[{'tag':_0x309259(0x162),'attrs':{'stroke':'currentColor','d':_0x309259(0x133),'strokeLinecap':'round','strokeLinejoin':_0x309259(0x1a9),'strokeWidth':1.2}}]},{'tag':_0x309259(0x1ed),'attrs':{},'children':[{'tag':_0x309259(0x107),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x309259(0x106),'d':_0x309259(0x10d)}}]}]}],'defIds':[_0x309259(0x140)]},_0x3c6244=_0x38262d[_0x309259(0xcf)](function(_0x2fd927,_0xf1a014){var _0x1ed4ff=_0x309259;return _0x38262d[_0x1ed4ff(0x1d1)](_0x3db6a1,Object['assign']({},_0x2fd927,{'id':'off-line-icon','ref':_0xf1a014,'icon':_0x32f1c9}));});_0x3c6244['displayName']='OffLineIcon';var _0x33f034={'tag':_0x309259(0x22b),'attrs':{'xmlns':_0x309259(0xd7),'fill':_0x309259(0xaa),'viewBox':'0\x200\x2017\x2016','width':_0x309259(0x126),'height':_0x309259(0x126)},'children':[{'tag':'g','attrs':{'clipPath':_0x309259(0xa7)},'children':[{'tag':_0x309259(0x162),'attrs':{'stroke':_0x309259(0x184),'d':_0x309259(0xb7),'strokeLinecap':'round','strokeLinejoin':_0x309259(0x1a9),'strokeWidth':1.2}}]},{'tag':_0x309259(0x1ed),'attrs':{},'children':[{'tag':_0x309259(0x107),'attrs':{'id':_0x309259(0x18c)},'children':[{'tag':_0x309259(0x162),'attrs':{'fill':_0x309259(0x106),'d':_0x309259(0x10d),'transform':_0x309259(0x14e)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x43d558=_0x38262d[_0x309259(0xcf)](function(_0x394bcb,_0x170bd4){var _0x45ea33=_0x309259;return _0x38262d[_0x45ea33(0x1d1)](_0x3db6a1,Object[_0x45ea33(0xc1)]({},_0x394bcb,{'id':'on-line-icon','ref':_0x170bd4,'icon':_0x33f034}));});_0x43d558[_0x309259(0xe1)]=_0x309259(0x20e);function _0xe51bb6(_0x45b944){var _0x4f4cb1=_0x309259,_0x4506ba,_0x5c8a1a;const {mcpCoreConfig:_0x1846c3,onSave:_0x1baf2e,loading:_0x57ace3=!0x1,config:_0x2997f0,connectionStatus$:_0x2141aa,connectionError$:_0x8fa4c5,currentApiKey$:_0x93e38b,currentSessionId$:_0x2f6af6}=_0x45b944,_0x438958=_0x36b9dd[_0x4f4cb1(0x1e6)](_0x2b5815[_0x4f4cb1(0x233)]),_0x25a53e=_0x36b9dd[_0x4f4cb1(0x136)](_0x2141aa,_0x43b163['MCPConnectionStatus']['DISCONNECTED']),_0x579dae=_0x36b9dd[_0x4f4cb1(0x136)](_0x8fa4c5,_0x43b163['MCPConnectionError'][_0x4f4cb1(0x181)]),_0x542b18=_0x36b9dd[_0x4f4cb1(0x136)](_0x2f6af6,''),_0x170a64=_0x36b9dd[_0x4f4cb1(0x136)](_0x93e38b,''),[_0x1abd97,_0x5101e9]=_0x38262d[_0x4f4cb1(0x143)](_0x170a64||''),_0x38fd45=!0x0,_0x440d9b=_0x2997f0[_0x4f4cb1(0x1e8)]&&_0x1846c3['mcpServerUrl']&&(_0x1846c3['mcpServerUrl'][_0x4f4cb1(0x223)](_0x4f4cb1(0x1c1))||_0x1846c3[_0x4f4cb1(0x1f8)][_0x4f4cb1(0x223)](_0x4f4cb1(0xcd))),_0x4a259b=(_0x4506ba=_0x1846c3['mcpServerUrl'])==null?void 0x0:_0x4506ba[_0x4f4cb1(0x223)](_0x4f4cb1(0x1c1)),_0x14b65f=(_0x5c8a1a=_0x1846c3[_0x4f4cb1(0x1f8)])==null?void 0x0:_0x5c8a1a['includes'](_0x4f4cb1(0xcd)),_0x2c50b9=_0x4a259b?_0x4f4cb1(0x166):_0x4f4cb1(0x1c6),_0x215b0b=_0x2997f0[_0x4f4cb1(0x1e8)]&&(_0x4a259b||_0x14b65f),[_0x222a40,_0x143c49]=_0x38262d[_0x4f4cb1(0x143)](!_0x1abd97[_0x4f4cb1(0x220)]()),_0x592ef9=(_0x378b40,_0x2e6855)=>{var _0x28c885=_0x4f4cb1;if(_0x2e6855===_0x43b163[_0x28c885(0x185)]['UNAUTHORIZED'])return _0x28c885(0x170);switch(_0x378b40){case _0x43b163[_0x28c885(0x222)][_0x28c885(0x1a2)]:return _0x28c885(0xdf);case _0x43b163[_0x28c885(0x222)][_0x28c885(0xe9)]:case _0x43b163[_0x28c885(0x222)][_0x28c885(0x182)]:return _0x28c885(0x19c);case _0x43b163[_0x28c885(0x222)][_0x28c885(0x1d5)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x28c885(0x1f2);}},_0x334a59=(_0x54f197,_0x8b6b13)=>{var _0x5c7448=_0x4f4cb1;if(_0x8b6b13===_0x43b163[_0x5c7448(0x185)]['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x54f197){case _0x43b163['MCPConnectionStatus'][_0x5c7448(0x1a2)]:return'univer-bg-green-500';case _0x43b163[_0x5c7448(0x222)][_0x5c7448(0xe9)]:case _0x43b163[_0x5c7448(0x222)]['RETRYING']:return'univer-bg-blue-500';case _0x43b163['MCPConnectionStatus'][_0x5c7448(0x1d5)]:return'univer-bg-red-500';default:return _0x5c7448(0x1b7);}},_0x5e6121=_0x13e5bf=>{var _0x14dc7d=_0x4f4cb1;switch(_0x13e5bf){case _0x43b163[_0x14dc7d(0x222)][_0x14dc7d(0x1a2)]:return _0x438958['t'](_0x14dc7d(0x1da));case _0x43b163[_0x14dc7d(0x222)][_0x14dc7d(0xe9)]:return _0x438958['t']('mcpConfig.connectionStatus.connecting');case _0x43b163[_0x14dc7d(0x222)][_0x14dc7d(0x1d5)]:return _0x438958['t']('mcpConfig.connectionStatus.failed');case _0x43b163[_0x14dc7d(0x222)]['RETRYING']:return _0x438958['t'](_0x14dc7d(0x125));default:return _0x438958['t'](_0x14dc7d(0x16d));}},_0x2f1fb0=_0x157a28=>{var _0x44d321=_0x4f4cb1;switch(_0x157a28){case _0x43b163[_0x44d321(0x185)][_0x44d321(0x1f1)]:return _0x438958['t'](_0x44d321(0x12b));case _0x43b163['MCPConnectionError'][_0x44d321(0x1e7)]:return _0x438958['t'](_0x44d321(0x224));case _0x43b163[_0x44d321(0x185)][_0x44d321(0xbd)]:return _0x438958['t'](_0x44d321(0x1cf));case _0x43b163['MCPConnectionError'][_0x44d321(0x167)]:return _0x438958['t'](_0x44d321(0xfe));default:return'';}},_0x4c1634=_0x38262d[_0x4f4cb1(0x1ee)](()=>{var _0x18b42f=_0x4f4cb1;const _0x39269b={..._0x1846c3,'apiKey':_0x1abd97[_0x18b42f(0x220)](),'enableAuth':_0x38fd45};_0x1baf2e(_0x39269b);},[_0x1846c3,_0x1abd97,_0x38fd45,_0x1baf2e]),_0x115d44=_0x1abd97[_0x4f4cb1(0x220)]()[_0x4f4cb1(0xc8)]>0x0;return _0x121641[_0x4f4cb1(0x217)]('div',{'className':_0x4f4cb1(0x1d4),'children':[_0x121641[_0x4f4cb1(0x139)]('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x13b),'children':[_0x121641['jsx'](_0x4f4cb1(0x169),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x1e4),{'className':_0x4f4cb1(0xde),'children':'⚙'})}),_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'children':_0x121641[_0x4f4cb1(0x139)]('p',{'className':_0x4f4cb1(0x11d),'children':_0x438958['t'](_0x4f4cb1(0x21c))})})]})}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'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'+_0x592ef9(_0x25a53e,_0x579dae)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x121641['jsxs'](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xe0),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'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'+_0x334a59(_0x25a53e,_0x579dae)+_0x4f4cb1(0x122)}),_0x121641['jsx'](_0x4f4cb1(0x1e4),{'className':_0x4f4cb1(0x1d6),'children':_0x5e6121(_0x25a53e)})]})}),_0x579dae!==_0x43b163[_0x4f4cb1(0x185)]['NONE']&&(_0x25a53e===_0x43b163[_0x4f4cb1(0x222)]['FAILED']||_0x579dae===_0x43b163['MCPConnectionError'][_0x4f4cb1(0x1f1)])&&_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x121641['jsxs']('div',{'className':_0x4f4cb1(0xc5),'children':[_0x121641['jsx'](_0x4f4cb1(0x1e4),{'className':_0x4f4cb1(0x113),'children':'⚠️'}),_0x121641[_0x4f4cb1(0x139)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x2f1fb0(_0x579dae)})]})})]}),_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x175),'children':_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':'univer-space-y-5','children':[_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x20d),'children':[_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x15a),{'className':_0x4f4cb1(0xa8),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x1e4),{'children':'🔑'}),'\x20',_0x438958['t'](_0x4f4cb1(0x1d9)),_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x1e4),{'className':'univer-text-red-500','children':'*'}),_0x440d9b&&_0x121641[_0x4f4cb1(0x139)]('a',{'href':'javascript:void(0)','onClick':()=>_0x143c49(!0x0),'className':_0x4f4cb1(0x204),'title':_0x438958['t']('mcpConfig.apiApplyInfo.title'),'children':_0x121641[_0x4f4cb1(0x139)](_0x71c7b2,{})})]}),_0x121641[_0x4f4cb1(0x139)](_0x3aa8f4[_0x4f4cb1(0x1bb)],{'type':'text','placeholder':_0x438958['t'](_0x4f4cb1(0x19e)),'value':_0x1abd97,'onChange':_0x5101e9,'disabled':_0x57ace3,'autoComplete':_0x4f4cb1(0x121)}),_0x121641[_0x4f4cb1(0x139)]('p',{'className':_0x4f4cb1(0x1c5),'children':_0x438958['t'](_0x4f4cb1(0x104))})]}),_0x440d9b&&_0x222a40&&_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xc7),'children':[_0x121641['jsx']('a',{'href':_0x4f4cb1(0x1f4),'onClick':()=>_0x143c49(!0x1),'className':'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','title':_0x4f4cb1(0x1e3),'children':_0x121641['jsx'](_0x50ad67,{})}),_0x121641[_0x4f4cb1(0x217)]('div',{'className':_0x4f4cb1(0x213),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xed),'children':_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x1e4),{'className':'univer-text-blue-600','children':'🚀'})}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':'univer-flex-1','children':[_0x121641['jsx']('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x438958['t']('mcpConfig.apiApplyInfo.title')}),_0x121641[_0x4f4cb1(0x139)]('p',{'className':_0x4f4cb1(0x1e9),'children':_0x438958['t'](_0x4f4cb1(0x15f))}),_0x121641['jsx'](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x18a),'children':_0x215b0b&&_0x121641[_0x4f4cb1(0x217)]('a',{'href':_0x2c50b9,'target':_0x4f4cb1(0x18f),'rel':_0x4f4cb1(0xd5),'className':_0x4f4cb1(0x13d),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x1e4),{'children':'🤖'}),_0x438958['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x121641[_0x4f4cb1(0x139)]('span',{'className':_0x4f4cb1(0x1cc),'children':'↗'})]})}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x22d),'children':['✨','\x20',_0x438958['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2997f0[_0x4f4cb1(0x1e8)]&&_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xb4),'children':[_0x121641[_0x4f4cb1(0x217)]('h4',{'className':_0x4f4cb1(0xf3),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x1e4),{'children':'🔗'}),'\x20',_0x438958['t']('mcpConfig.connectionInfo')]}),_0x121641['jsxs'](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xf1),'children':[_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x103),'children':[_0x121641['jsx']('p',{'className':_0x4f4cb1(0xb5),'children':_0x438958['t'](_0x4f4cb1(0x207))}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x20d),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xc4),'children':_0x438958['t'](_0x4f4cb1(0x174))}),_0x121641[_0x4f4cb1(0x217)]('div',{'className':_0x4f4cb1(0x21b),'children':[_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xe0),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x1e4),{'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'}),_0x438958['t']('mcpConfig.configStep1')]}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xe0),'children':[_0x121641[_0x4f4cb1(0x139)]('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':'2'}),_0x438958['t'](_0x4f4cb1(0x198))]}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xe0),'children':[_0x121641['jsx']('span',{'className':_0x4f4cb1(0x1b6),'children':'3'}),_0x438958['t'](_0x4f4cb1(0x177))]})]})]})]}),_0x121641[_0x4f4cb1(0x217)]('div',{'className':_0x4f4cb1(0x20d),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xc4),'children':_0x4f4cb1(0x227)}),_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x130),'children':_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x197),{'className':_0x4f4cb1(0x232),'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='+_0x542b18+_0x4f4cb1(0xe5)+(_0x1abd97||'<API_KEY>')+_0x4f4cb1(0x160)})})]}),_0x121641[_0x4f4cb1(0x217)]('div',{'className':_0x4f4cb1(0x103),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xc4),'children':_0x438958['t'](_0x4f4cb1(0x132))}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x20d),'children':[_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xa4),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x138)}),_0x121641[_0x4f4cb1(0x217)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x121641['jsx']('div',{'className':_0x4f4cb1(0x1a7),'children':_0x4f4cb1(0x1ad)}),_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x1c5),'children':_0x438958['t'](_0x4f4cb1(0x20b))})]})]}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xa4),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x138)}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x1ec),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x1a7),'children':_0x4f4cb1(0xa5)}),_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x438958['t'](_0x4f4cb1(0xef))})]})]})]})]})]})]}),_0x121641[_0x4f4cb1(0x139)](_0x3aa8f4[_0x4f4cb1(0x1c2)],{'onClick':_0x4c1634,'disabled':!_0x115d44||_0x57ace3,'className':_0x4f4cb1(0x172),'children':_0x57ace3?_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x1e4),{'className':_0x4f4cb1(0xe0),'children':[_0x121641['jsx'](_0x4f4cb1(0x1e4),{'children':'⟲'}),_0x438958['t']('mcpConfig.saving')]}):_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x1e4),{'className':_0x4f4cb1(0xe0),'children':[_0x121641[_0x4f4cb1(0x139)](_0x50522c,{}),_0x438958['t'](_0x4f4cb1(0x226))]})}),_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0xd6),'children':_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x124),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x1e4),{'className':_0x4f4cb1(0x157),'children':'💡'}),_0x121641[_0x4f4cb1(0x217)]('div',{'className':_0x4f4cb1(0x171),'children':[_0x121641[_0x4f4cb1(0x139)](_0x4f4cb1(0x169),{'className':_0x4f4cb1(0x149),'children':'Configuration\x20Notes:'}),_0x121641[_0x4f4cb1(0x217)]('div',{'children':['•',_0x438958['t'](_0x4f4cb1(0xcb))]}),_0x121641[_0x4f4cb1(0x217)](_0x4f4cb1(0x169),{'children':['•',_0x438958['t'](_0x4f4cb1(0x1f5))]})]})]})})]})})]});}const _0x3cf4b2=_0x309259(0xf8),_0xccc9ec={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x3a2423=Object[_0x309259(0xc0)],_0xb75435=(_0xaa5264,_0x31b114,_0x170377,_0x40bf91)=>{var _0x2ec9fc=_0x309259;for(var _0x32e492=_0x40bf91>0x1?void 0x0:_0x40bf91?_0x3a2423(_0x31b114,_0x170377):_0x31b114,_0x14ea64=_0xaa5264[_0x2ec9fc(0xc8)]-0x1,_0x1454a3;_0x14ea64>=0x0;_0x14ea64--)(_0x1454a3=_0xaa5264[_0x14ea64])&&(_0x32e492=_0x1454a3(_0x32e492)||_0x32e492);return _0x32e492;},_0x3a9ef3=(_0x4097aa,_0x3f391b)=>(_0x21fa7a,_0x63f42f)=>_0x3f391b(_0x21fa7a,_0x63f42f,_0x4097aa);const _0x1d1c74=_0x309259(0x1a1),_0x69e9fd=_0x309259(0x210);_0x1266a3[_0x309259(0x205)]=class extends _0x2b5815[_0x309259(0x218)]{constructor(_0x2d06e4,_0x19d44c,_0x7646e0,_0x4f684a,_0x51184a,_0x2b0ab6,_0x4e9b31,_0x1c2a18,_0xd50c9e,_0xa6160c){var _0x544c37=_0x309259;super(),_0x2a9845(this,'_loading$',new _0xe56dd8[(_0x544c37(0x16b))](!0x1)),_0x2a9845(this,_0x544c37(0x11e),new _0xe56dd8[(_0x544c37(0x16b))]({})),_0x2a9845(this,_0x544c37(0x10e),new _0xe56dd8[(_0x544c37(0x16b))]({})),_0x2a9845(this,_0x544c37(0x15e),new _0xe56dd8[(_0x544c37(0x16b))]('')),_0x2a9845(this,_0x544c37(0x17b),async _0x28812e=>{var _0x1fe0e5=_0x544c37,_0x2f3a34,_0x28b905;this[_0x1fe0e5(0x229)][_0x1fe0e5(0x1fb)](!0x0);try{const _0x5b4e23=await this[_0x1fe0e5(0x129)](_0x28812e);if(!_0x5b4e23[_0x1fe0e5(0x1fd)]){this[_0x1fe0e5(0x152)][_0x1fe0e5(0x12c)]({'type':_0x3aa8f4[_0x1fe0e5(0x137)][_0x1fe0e5(0xf7)],'content':_0x5b4e23[_0x1fe0e5(0xbb)]||this[_0x1fe0e5(0xfc)]['t'](_0x1fe0e5(0x225))});return;}_0x28812e[_0x1fe0e5(0x147)]?await this[_0x1fe0e5(0xe6)]['setItem'](_0x1d1c74,_0x28812e[_0x1fe0e5(0x147)][_0x1fe0e5(0x220)]()):await this[_0x1fe0e5(0xe6)]['removeItem'](_0x1d1c74),this[_0x1fe0e5(0x15e)][_0x1fe0e5(0x1fb)](((_0x2f3a34=_0x28812e[_0x1fe0e5(0x147)])==null?void 0x0:_0x2f3a34[_0x1fe0e5(0x220)]())||''),this[_0x1fe0e5(0x13e)][_0x1fe0e5(0x114)]({'Authorization':_0x1fe0e5(0xdc)+((_0x28b905=_0x28812e[_0x1fe0e5(0x147)])==null?void 0x0:_0x28b905[_0x1fe0e5(0x220)]())}),this['_messageService'][_0x1fe0e5(0x12c)]({'type':_0x3aa8f4[_0x1fe0e5(0x137)][_0x1fe0e5(0x12d)],'content':this[_0x1fe0e5(0xfc)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x557ac4=_0x1fe0e5;this['_dialogService'][_0x557ac4(0xce)](_0x69e9fd);},0x320);}catch(_0x5c7179){this[_0x1fe0e5(0x14d)]['error'](_0x1fe0e5(0x127),_0x5c7179),this['_messageService'][_0x1fe0e5(0x12c)]({'type':_0x3aa8f4[_0x1fe0e5(0x137)][_0x1fe0e5(0xf7)],'content':this[_0x1fe0e5(0xfc)]['t'](_0x1fe0e5(0x230))});}finally{this[_0x1fe0e5(0x229)][_0x1fe0e5(0x1fb)](!0x1);}}),(this['_injector']=_0x2d06e4,this[_0x544c37(0x150)]=_0x19d44c,this['_configService']=_0x7646e0,this[_0x544c37(0xe6)]=_0x4f684a,this[_0x544c37(0x100)]=_0x51184a,this['_messageService']=_0x2b0ab6,this['_componentManager']=_0x4e9b31,this['_localeService']=_0x1c2a18,this['_logService']=_0xd50c9e,this['_mcpConnectionController']=_0xa6160c,this[_0x544c37(0x135)](),this[_0x544c37(0xd4)](),this[_0x544c37(0x16a)]());}[_0x309259(0x120)](){var _0x539a28=_0x309259;const _0x5ed13a=this[_0x539a28(0x1bd)][_0x539a28(0xf5)](_0x3cf4b2);_0x5ed13a!=null&&_0x5ed13a[_0x539a28(0x1e8)]&&this[_0x539a28(0x100)][_0x539a28(0x10c)]({'id':_0x69e9fd,'title':{'title':this['_localeService']['t'](_0x539a28(0xfa))},'children':{'label':_0x539a28(0x216)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x12eed2=_0x539a28;this[_0x12eed2(0x100)][_0x12eed2(0xce)](_0x69e9fd);}});}[_0x309259(0x148)](){var _0x57a7c8=_0x309259;return this[_0x57a7c8(0x11e)][_0x57a7c8(0x1a4)];}['_registerComponent'](){var _0x2614bc=_0x309259;this[_0x2614bc(0x1a8)](this[_0x2614bc(0x1fe)]['register'](_0x2614bc(0x216),this[_0x2614bc(0x1c0)]()));}[_0x309259(0x1c0)](){var _0x2f1a0d=_0x309259;return _0x36b9dd[_0x2f1a0d(0x219)](()=>{var _0x5ce807=_0x2f1a0d,_0x3a5353,_0x402879,_0x4b838e;return _0x121641[_0x5ce807(0x139)](_0xe51bb6,{'config':this[_0x5ce807(0x10e)]['value'],'mcpCoreConfig':this[_0x5ce807(0x11e)][_0x5ce807(0x1a4)],'currentApiKey$':this[_0x5ce807(0x15e)],'onSave':this[_0x5ce807(0x17b)],'loading':this[_0x5ce807(0x229)][_0x5ce807(0x1a4)],'connectionStatus$':(_0x3a5353=this[_0x5ce807(0x13e)])==null?void 0x0:_0x3a5353['connectionStatus$'],'connectionError$':(_0x402879=this['_mcpConnectionController'])==null?void 0x0:_0x402879[_0x5ce807(0x1eb)],'currentSessionId$':(_0x4b838e=this[_0x5ce807(0x13e)])==null?void 0x0:_0x4b838e['sessionId$']});},this[_0x2f1a0d(0xf2)]);}['_initConfigSync'](){var _0x571a02=_0x309259;this[_0x571a02(0x1a8)](this[_0x571a02(0x1bd)]['subscribeConfigValue$'](_0x43b163[_0x571a02(0x13f)])[_0x571a02(0xb8)](_0x2737cb=>{var _0x2a28f8=_0x571a02;this[_0x2a28f8(0x11e)][_0x2a28f8(0x1fb)](_0x2737cb||{});}));const _0x1bf7ae=this['_configService'][_0x571a02(0xf5)](_0x43b163[_0x571a02(0x13f)]);this[_0x571a02(0x11e)][_0x571a02(0x1fb)](_0x1bf7ae||{}),this['disposeWithMe'](this[_0x571a02(0x1bd)][_0x571a02(0x221)](_0x3cf4b2)[_0x571a02(0xb8)](_0x1130b8=>{var _0x388d1f=_0x571a02;this['_config$'][_0x388d1f(0x1fb)](_0x1130b8||{});}));const _0x129048=this[_0x571a02(0x1bd)][_0x571a02(0xf5)](_0x3cf4b2);this[_0x571a02(0x10e)][_0x571a02(0x1fb)](_0x129048||{});}async['_loadStoredApiKey'](){var _0x315610=_0x309259;const _0x5885c5=this[_0x315610(0x1bd)][_0x315610(0xf5)](_0x3cf4b2);if(!(_0x5885c5!=null&&_0x5885c5[_0x315610(0x1e8)]))return;const _0x4d140a=await this[_0x315610(0xe6)][_0x315610(0xf4)](_0x1d1c74);_0x4d140a&&(this[_0x315610(0x13e)][_0x315610(0x114)]({'Authorization':_0x315610(0xdc)+_0x4d140a}),this[_0x315610(0x15e)][_0x315610(0x1fb)](_0x4d140a));}async[_0x309259(0x129)](_0x39822b){var _0x433736=_0x309259;if(!_0x39822b[_0x433736(0x147)]||_0x39822b['apiKey']['trim']()[_0x433736(0xc8)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x433736(0xfc)]['t'](_0x433736(0x1a0))};if(_0x39822b[_0x433736(0x147)][_0x433736(0x220)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x433736(0x109))};try{const _0x2b40f4=await this[_0x433736(0xf2)][_0x433736(0x1b2)](_0x43b163[_0x433736(0x187)])[_0x433736(0x21d)](_0x39822b[_0x433736(0x147)][_0x433736(0x220)]());return _0x2b40f4['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2b40f4[_0x433736(0x131)]||this[_0x433736(0xfc)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x55f6c0){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x55f6c0),{'isValid':!0x0};}}},_0x1266a3[_0x309259(0x205)]=_0xb75435([_0x3a9ef3(0x0,_0x2b5815[_0x309259(0x108)](_0x2b5815[_0x309259(0x1c3)])),_0x3a9ef3(0x1,_0x36b9dd[_0x309259(0xff)]),_0x3a9ef3(0x2,_0x2b5815[_0x309259(0x186)]),_0x3a9ef3(0x3,_0x2b5815[_0x309259(0x1ef)]),_0x3a9ef3(0x4,_0x36b9dd[_0x309259(0x17f)]),_0x3a9ef3(0x5,_0x36b9dd[_0x309259(0xf0)]),_0x3a9ef3(0x6,_0x2b5815[_0x309259(0x108)](_0x36b9dd['ComponentManager'])),_0x3a9ef3(0x7,_0x2b5815[_0x309259(0x108)](_0x2b5815['LocaleService'])),_0x3a9ef3(0x8,_0x2b5815[_0x309259(0x117)]),_0x3a9ef3(0x9,_0x2b5815['Inject'](_0x43b163['MCPConnectionController']))],_0x1266a3[_0x309259(0x205)]);const _0x34bf60={'id':_0x309259(0x1b1),'type':_0x2b5815[_0x309259(0x18d)]['COMMAND'],'handler':async(_0xdddc23,_0x8bfec2)=>(_0xdddc23['get'](_0x1266a3[_0x309259(0x205)])[_0x309259(0x120)](),!0x0)};function _0xb42f35(_0x41d9c4,_0x13c4fb){var _0x2a6ef8=_0x309259;switch(_0x41d9c4){case _0x43b163[_0x2a6ef8(0x222)][_0x2a6ef8(0x1f0)]:return _0x2a6ef8(0xb0);case _0x43b163['MCPConnectionStatus'][_0x2a6ef8(0xe9)]:return _0x2a6ef8(0x1ff);case _0x43b163[_0x2a6ef8(0x222)][_0x2a6ef8(0x1a2)]:return _0x2a6ef8(0xec);case _0x43b163[_0x2a6ef8(0x222)][_0x2a6ef8(0x1d5)]:switch(_0x13c4fb){case _0x43b163[_0x2a6ef8(0x185)]['UNAUTHORIZED']:return _0x2a6ef8(0xea);case _0x43b163['MCPConnectionError'][_0x2a6ef8(0x1e7)]:return _0x2a6ef8(0x1c7);case _0x43b163['MCPConnectionError'][_0x2a6ef8(0xbd)]:return _0x2a6ef8(0x1b9);case _0x43b163[_0x2a6ef8(0x185)][_0x2a6ef8(0x167)]:return _0x2a6ef8(0x11f);default:return'mcpStatus.failed';}case _0x43b163[_0x2a6ef8(0x222)]['RETRYING']:return _0x2a6ef8(0x161);default:return _0x2a6ef8(0x1dc);}}function _0x4347ae(_0x17ca0a,_0x1d406a,_0x425b3e,_0x38c913=!0x0){var _0x225a59=_0x309259;const _0x5b809e=_0xb42f35(_0x17ca0a,_0x1d406a),_0x5e17a2=_0x425b3e['t'](_0x5b809e);return _0x38c913?_0x17ca0a===_0x43b163[_0x225a59(0x222)][_0x225a59(0x1f0)]&&_0x1d406a===_0x43b163[_0x225a59(0x185)][_0x225a59(0x1f1)]?_0x5e17a2+'\x20-\x20'+_0x425b3e['t'](_0x225a59(0xd9)):_0x17ca0a===_0x43b163['MCPConnectionStatus'][_0x225a59(0x1a2)]?''+_0x5e17a2:_0x17ca0a===_0x43b163[_0x225a59(0x222)][_0x225a59(0x1f0)]||_0x17ca0a===_0x43b163[_0x225a59(0x222)]['FAILED']?_0x5e17a2+_0x225a59(0xeb)+_0x425b3e['t'](_0x225a59(0x18b)):_0x5e17a2:_0x5e17a2;}function _0x58f893(_0x86a19c){var _0x26fc33=_0x309259;switch(_0x86a19c){case _0x43b163[_0x26fc33(0x222)][_0x26fc33(0x1a2)]:return'univer-text-green-500';case _0x43b163[_0x26fc33(0x222)]['CONNECTING']:case _0x43b163[_0x26fc33(0x222)][_0x26fc33(0x182)]:return _0x26fc33(0x173);case _0x43b163[_0x26fc33(0x222)]['FAILED']:case _0x43b163['MCPConnectionStatus']['DISCONNECTED']:return'univer-text-red-500';default:return _0x26fc33(0x1b4);}}function _0x4bdac7(_0x5d53c7){var _0x3f318d=_0x309259;const {status$:_0xfcfca8,error$:_0x772d46,onConfigure:_0x173c15,showClickable:_0x536fd3=!0x0}=_0x5d53c7,_0x59fd19=_0x36b9dd['useObservable'](_0xfcfca8,_0x43b163[_0x3f318d(0x222)][_0x3f318d(0x1f0)]),_0x222ea6=_0x36b9dd[_0x3f318d(0x136)](_0x772d46,_0x43b163[_0x3f318d(0x185)][_0x3f318d(0x181)]),_0x5bd24e=_0x36b9dd['useDependency'](_0x2b5815[_0x3f318d(0x233)]),_0x3c97cc=_0x59fd19===_0x43b163['MCPConnectionStatus'][_0x3f318d(0x1a2)];_0x59fd19===_0x43b163[_0x3f318d(0x222)]['CONNECTING']||_0x43b163['MCPConnectionStatus'][_0x3f318d(0x182)];const _0x547ac0=_0x5bd24e['t'](_0xb42f35(_0x59fd19,_0x222ea6)),_0x588555=_0x4347ae(_0x59fd19,_0x222ea6,_0x5bd24e,_0x536fd3),_0x359181=_0x58f893(_0x59fd19),_0x55f31f=_0x3c97cc?_0x121641[_0x3f318d(0x139)](_0x43d558,{}):_0x121641[_0x3f318d(0x139)](_0x3c6244,{}),_0x1f9802=_0x38262d[_0x3f318d(0x1ee)](()=>{_0x536fd3&&_0x173c15&&_0x173c15();},[_0x536fd3,_0x173c15]);function _0x3d037f(){var _0x2093af=_0x3f318d;return _0x121641['jsxs'](_0x2093af(0x169),{'className':_0x3aa8f4[_0x2093af(0x11a)](_0x2093af(0x208),_0x536fd3&&_0x173c15&&_0x2093af(0xcc)),'onClick':_0x536fd3&&_0x173c15?_0x1f9802:void 0x0,'children':[_0x121641[_0x2093af(0x139)](_0x2093af(0x169),{'className':_0x3aa8f4[_0x2093af(0x11a)](_0x2093af(0xa3),_0x359181),'children':_0x55f31f}),_0x121641[_0x2093af(0x139)](_0x2093af(0x169),{'className':_0x2093af(0x1d7),'children':_0x547ac0})]});}return _0x121641[_0x3f318d(0x139)](_0x3aa8f4[_0x3f318d(0x1e0)],{'title':_0x588555,'placement':_0x3f318d(0x202),'children':_0x3d037f()});}var _0x3bc5f=Object['getOwnPropertyDescriptor'],_0x354db8=(_0x48fa25,_0x4c9c02,_0x5e0cad,_0x7179f9)=>{var _0x1cfe4d=_0x309259;for(var _0x41b36c=_0x7179f9>0x1?void 0x0:_0x7179f9?_0x3bc5f(_0x4c9c02,_0x5e0cad):_0x4c9c02,_0x59d0d5=_0x48fa25[_0x1cfe4d(0xc8)]-0x1,_0x42448c;_0x59d0d5>=0x0;_0x59d0d5--)(_0x42448c=_0x48fa25[_0x59d0d5])&&(_0x41b36c=_0x42448c(_0x41b36c)||_0x41b36c);return _0x41b36c;},_0x15081f=(_0x221998,_0x2daa33)=>(_0x1b089c,_0x57b63f)=>_0x2daa33(_0x1b089c,_0x57b63f,_0x221998);_0x1266a3[_0x309259(0x1f9)]=class extends _0x2b5815[_0x309259(0x218)]{constructor(_0x5a3038,_0x4af99f,_0x2c9e8a,_0x2b8f91){var _0x5c88b1=_0x309259;super(),this[_0x5c88b1(0xf2)]=_0x5a3038,this[_0x5c88b1(0x196)]=_0x4af99f,this[_0x5c88b1(0x150)]=_0x2c9e8a,this['_configService']=_0x2b8f91,this[_0x5c88b1(0x1fc)](),this[_0x5c88b1(0xac)]();}[_0x309259(0x1fc)](){var _0xf82a12=_0x309259;const _0x5ac0f4=this[_0xf82a12(0x1bd)][_0xf82a12(0xf5)](_0x3cf4b2);_0x5ac0f4!=null&&_0x5ac0f4[_0xf82a12(0x1e8)]&&(this[_0xf82a12(0x196)][_0xf82a12(0x11b)]=!0x1);}['_initStatusComponent'](){var _0x43c5f9=_0x309259;const _0x2f8a09=this[_0x43c5f9(0x1bd)][_0x43c5f9(0xf5)](_0x3cf4b2);(_0x2f8a09==null?void 0x0:_0x2f8a09['showStatus'])!==!0x1&&this[_0x43c5f9(0x1a8)](this['_uiPartsService'][_0x43c5f9(0x19d)](_0x36b9dd[_0x43c5f9(0x1e2)][_0x43c5f9(0x1d3)],()=>{var _0x577cc8=_0x43c5f9,_0x2ca3b0;return _0x36b9dd[_0x577cc8(0x219)](_0x168ac0({'status$':this[_0x577cc8(0x196)]['connectionStatus$'],'error$':this[_0x577cc8(0x196)][_0x577cc8(0x1eb)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x2ca3b0=_0x2f8a09==null?void 0x0:_0x2f8a09[_0x577cc8(0x1e8)])!=null?_0x2ca3b0:!0x1}),this['_injector']);}));}[_0x309259(0x214)](){var _0x203605=_0x309259;this[_0x203605(0xf2)][_0x203605(0x1b2)](_0x1266a3[_0x203605(0x205)])[_0x203605(0x120)]();}},_0x1266a3[_0x309259(0x1f9)]=_0x354db8([_0x15081f(0x0,_0x2b5815['Inject'](_0x2b5815[_0x309259(0x1c3)])),_0x15081f(0x1,_0x2b5815[_0x309259(0x108)](_0x43b163[_0x309259(0x187)])),_0x15081f(0x2,_0x36b9dd['IUIPartsService']),_0x15081f(0x3,_0x2b5815[_0x309259(0x186)])],_0x1266a3[_0x309259(0x1f9)]);function _0x168ac0(_0x195e9c){const {status$:_0x49ecbc,error$:_0x5a0616,onConfigure:_0x5f4338,showClickable:_0x5805d6}=_0x195e9c;return function(){var _0x16e785=_0x41a1;return _0x121641[_0x16e785(0x139)](_0x4bdac7,{'status$':_0x49ecbc,'error$':_0x5a0616,'onConfigure':_0x5f4338,'showClickable':_0x5805d6});};}function _0x3c8a72(_0x43c4fe){var _0x68f34f=_0x309259;return{'id':_0x34bf60['id'],'type':_0x36b9dd[_0x68f34f(0x179)]['BUTTON'],'icon':_0x68f34f(0xba),'title':_0x68f34f(0xfa),'tooltip':_0x68f34f(0xfa)};}const _0x17ea0e={[_0x36b9dd[_0x309259(0x194)][_0x309259(0x1db)]]:{[_0x34bf60['id']]:{'order':0xa,'menuItemFactory':_0x3c8a72}}};var _0x478432=Object['getOwnPropertyDescriptor'],_0x268585=(_0x4777a2,_0xa837d1,_0x2dfdc2,_0x55f617)=>{for(var _0x305d9f=_0x55f617>0x1?void 0x0:_0x55f617?_0x478432(_0xa837d1,_0x2dfdc2):_0xa837d1,_0x5cc6ab=_0x4777a2['length']-0x1,_0x1b2f5e;_0x5cc6ab>=0x0;_0x5cc6ab--)(_0x1b2f5e=_0x4777a2[_0x5cc6ab])&&(_0x305d9f=_0x1b2f5e(_0x305d9f)||_0x305d9f);return _0x305d9f;},_0x158612=(_0x4fd544,_0xef11ce)=>(_0x4dd77a,_0x248ec3)=>_0xef11ce(_0x4dd77a,_0x248ec3,_0x4fd544);_0x1266a3[_0x309259(0xdd)]=class extends _0x2b5815[_0x309259(0x218)]{constructor(_0x24e932,_0x48eb2d){var _0x105a25=_0x309259;super(),this[_0x105a25(0x20a)]=_0x24e932,this[_0x105a25(0x206)]=_0x48eb2d,this[_0x105a25(0x110)](),this['_initializeMenus']();}[_0x309259(0x110)](){var _0x2c3558=_0x309259;[_0x34bf60][_0x2c3558(0xe3)](_0x45748b=>{var _0x2f628f=_0x2c3558;this[_0x2f628f(0x1a8)](this[_0x2f628f(0x20a)]['registerCommand'](_0x45748b));});}[_0x309259(0x19b)](){var _0x19a135=_0x309259;this[_0x19a135(0x206)][_0x19a135(0x203)](_0x17ea0e);}},_0x1266a3['MCPUIMenuController']=_0x268585([_0x158612(0x0,_0x2b5815[_0x309259(0x180)]),_0x158612(0x1,_0x36b9dd['IMenuManagerService'])],_0x1266a3['MCPUIMenuController']);const _0x446b43={'mcpStatus':{'disconnected':_0x309259(0x1aa),'connecting':'MCP\x20Connecting...','connected':_0x309259(0x155),'failed':_0x309259(0x193),'retrying':_0x309259(0x1b5),'unknown':_0x309259(0x1c9),'unauthorized':_0x309259(0x22c),'sessionOccupied':_0x309259(0xbe),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x309259(0xb2),'clickToConnect':_0x309259(0x12a),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x309259(0x227),'description':_0x309259(0xc3),'apiKey':_0x309259(0x128),'apiKeyPlaceholder':_0x309259(0x1a3),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x309259(0x20c),'enableAuthHint':_0x309259(0x178),'connectionInfo':_0x309259(0x1ce),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x309259(0x11c),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x309259(0x1df),'configStep3':_0x309259(0x13a),'sessionId':'Session\x20ID','sessionIdDescription':_0x309259(0xdb),'authorizationDescription':_0x309259(0x1b8),'configParameters':_0x309259(0x211),'maxRetries':'Max\x20Retries','save':_0x309259(0x1de),'saving':'Saving...','note1':_0x309259(0xab),'note2':_0x309259(0x176),'configSaved':_0x309259(0xa0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x309259(0xa9),'description':_0x309259(0xe2),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x309259(0x195)},'validation':{'apiKeyRequired':_0x309259(0x17a),'apiKeyTooShort':_0x309259(0xd2),'invalidConfig':_0x309259(0x1be),'invalidApiKey':_0x309259(0x209)},'connectionStatus':{'disconnected':_0x309259(0x15c),'connecting':_0x309259(0x1d0),'connected':_0x309259(0x1ca),'failed':_0x309259(0x22e),'retrying':_0x309259(0x1dd)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x309259(0x201),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x1cf820={'mcpStatus':{'disconnected':_0x309259(0x144),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x309259(0x1f7),'retrying':'MCP\x20重连中...','unknown':_0x309259(0x1ac),'unauthorized':_0x309259(0x21a),'sessionOccupied':_0x309259(0x1bf),'networkError':_0x309259(0x153),'maxRetriesExceeded':_0x309259(0x1e5),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x309259(0x1bc)},'mcpConfig':{'title':_0x309259(0x1ae),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x309259(0x14b),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x309259(0x123),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x309259(0x1cb),'mcpClientConfig':_0x309259(0x1cb),'configInstructions':_0x309259(0x1ea),'configStepTitle':_0x309259(0x14f),'configStep1':_0x309259(0x1b3),'configStep2':_0x309259(0x231),'configStep3':_0x309259(0x1a6),'sessionId':_0x309259(0x1ba),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x309259(0xd3),'configParameters':_0x309259(0x15b),'maxRetries':_0x309259(0x192),'save':_0x309259(0x13c),'saving':_0x309259(0x105),'note1':_0x309259(0x1b0),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x309259(0x189),'configError':_0x309259(0x1d8),'apiApplyInfo':{'title':_0x309259(0xb3),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x309259(0x21e),'getStarted':_0x309259(0xca)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x309259(0x145),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x309259(0x112),'connecting':_0x309259(0x1a5),'connected':_0x309259(0x141),'failed':_0x309259(0x200),'retrying':_0x309259(0x156)},'connectionError':{'unauthorized':_0x309259(0xb6),'sessionOccupied':_0x309259(0x151),'networkError':_0x309259(0x1e1),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x19ebe3=Object['defineProperty'],_0x48891f=Object[_0x309259(0xc0)],_0xc6bb73=(_0x41649c,_0x4a0f64,_0x3b11db)=>_0x4a0f64 in _0x41649c?_0x19ebe3(_0x41649c,_0x4a0f64,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b11db}):_0x41649c[_0x4a0f64]=_0x3b11db,_0x3b9eb5=(_0xd8e6e9,_0x45244a,_0x13a13e,_0x12e2c9)=>{var _0x361d35=_0x309259;for(var _0x40c4b2=_0x12e2c9>0x1?void 0x0:_0x12e2c9?_0x48891f(_0x45244a,_0x13a13e):_0x45244a,_0x3da9d5=_0xd8e6e9[_0x361d35(0xc8)]-0x1,_0x2fa153;_0x3da9d5>=0x0;_0x3da9d5--)(_0x2fa153=_0xd8e6e9[_0x3da9d5])&&(_0x40c4b2=_0x2fa153(_0x40c4b2)||_0x40c4b2);return _0x40c4b2;},_0x4a2bdc=(_0x283f38,_0x234623)=>(_0x269d54,_0x2eae87)=>_0x234623(_0x269d54,_0x2eae87,_0x283f38),_0x2e9445=(_0x176653,_0x59a0a1,_0x353e30)=>_0xc6bb73(_0x176653,_0x59a0a1+'',_0x353e30);_0x1266a3['UniverMCPUIPlugin']=class extends _0x2b5815['Plugin']{constructor(_0x4cd924=_0xccc9ec,_0x5ecd0a,_0x31bc59,_0x22a410,_0x5283a9,_0xece3e9){var _0x196a93=_0x309259;super(),this[_0x196a93(0x190)]=_0x4cd924,this['_injector']=_0x5ecd0a,this[_0x196a93(0x1bd)]=_0x31bc59,this[_0x196a93(0x150)]=_0x22a410,this[_0x196a93(0xe6)]=_0x5283a9,this[_0x196a93(0xfc)]=_0xece3e9;const {..._0x2fab78}=_0x2b5815[_0x196a93(0x158)]({},_0xccc9ec,this[_0x196a93(0x190)]);this[_0x196a93(0x1bd)][_0x196a93(0xfd)](_0x3cf4b2,_0x2fab78);}async[_0x309259(0x199)](){var _0xa78ee3=_0x309259;const _0x3dd65d=[[_0x1266a3[_0xa78ee3(0x1f9)]],[_0x1266a3[_0xa78ee3(0x205)]],[_0x1266a3[_0xa78ee3(0xdd)]]];this['_injector'][_0xa78ee3(0xbc)](_0x480970[_0xa78ee3(0x146)])||_0x3dd65d['push']([_0x480970[_0xa78ee3(0x146)],{'useClass':_0x480970['WebSocketService']}]),_0x3dd65d[_0xa78ee3(0xe3)](_0x298941=>this[_0xa78ee3(0xf2)][_0xa78ee3(0xb1)](_0x298941)),this[_0xa78ee3(0xf2)][_0xa78ee3(0x1b2)](_0x1266a3[_0xa78ee3(0x1f9)]),this[_0xa78ee3(0xf2)][_0xa78ee3(0x1b2)](_0x1266a3[_0xa78ee3(0x205)]),this['_injector'][_0xa78ee3(0x1b2)](_0x1266a3[_0xa78ee3(0xdd)]);}},_0x2e9445(_0x1266a3[_0x309259(0x15d)],_0x309259(0xfb),'MCP_UI_PLUGIN'),_0x1266a3[_0x309259(0x15d)]=_0x3b9eb5([_0x2b5815['DependentOn'](_0x43b163['UniverMCPPlugin']),_0x4a2bdc(0x1,_0x2b5815['Inject'](_0x2b5815['Injector'])),_0x4a2bdc(0x2,_0x2b5815['IConfigService']),_0x4a2bdc(0x3,_0x36b9dd['IUIPartsService']),_0x4a2bdc(0x4,_0x2b5815[_0x309259(0x1ef)]),_0x4a2bdc(0x5,_0x2b5815[_0x309259(0x108)](_0x2b5815[_0x309259(0x233)]))],_0x1266a3[_0x309259(0x15d)]),_0x1266a3[_0x309259(0x216)]=_0xe51bb6,_0x1266a3[_0x309259(0x1f3)]=_0x4bdac7,_0x1266a3[_0x309259(0xe8)]=_0x34bf60,_0x1266a3[_0x309259(0x164)]=_0x446b43,_0x1266a3['zhCN']=_0x1cf820,Object[_0x309259(0x118)](_0x1266a3,Symbol[_0x309259(0x165)],{'value':'Module'});}));
|
|
1
|
+
function _0x590d(_0x454cbe,_0x473f47){var _0x4b3148=_0x4b31();return _0x590d=function(_0x590d2d,_0x1f797c){_0x590d2d=_0x590d2d-0x125;var _0x5bf514=_0x4b3148[_0x590d2d];return _0x5bf514;},_0x590d(_0x454cbe,_0x473f47);}(function(_0x4d33fa,_0x456fbe){var _0x135f09=_0x590d,_0x55bde9=_0x4d33fa();while(!![]){try{var _0x32042d=-parseInt(_0x135f09(0x282))/0x1+-parseInt(_0x135f09(0x180))/0x2+-parseInt(_0x135f09(0x1a6))/0x3*(parseInt(_0x135f09(0x172))/0x4)+-parseInt(_0x135f09(0x23c))/0x5*(parseInt(_0x135f09(0x1b8))/0x6)+-parseInt(_0x135f09(0x164))/0x7*(parseInt(_0x135f09(0x280))/0x8)+-parseInt(_0x135f09(0x203))/0x9+parseInt(_0x135f09(0x19a))/0xa;if(_0x32042d===_0x456fbe)break;else _0x55bde9['push'](_0x55bde9['shift']());}catch(_0x316286){_0x55bde9['push'](_0x55bde9['shift']());}}}(_0x4b31,0xee1f5),function(_0x5888c6,_0x2e9524){var _0x378602=_0x590d;typeof exports==_0x378602(0x251)&&typeof module<'u'?_0x2e9524(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[_0x378602(0x2ac)]?define([_0x378602(0x1d7),_0x378602(0x20b),'react/jsx-runtime',_0x378602(0x25b),_0x378602(0x236),_0x378602(0x233),_0x378602(0x28c),_0x378602(0x151),_0x378602(0x17d)],_0x2e9524):(_0x5888c6=typeof globalThis<'u'?globalThis:_0x5888c6||self,_0x2e9524(_0x5888c6[_0x378602(0x1dd)]={},_0x5888c6['UniverCore'],_0x5888c6['React'],_0x5888c6[_0x378602(0x1f1)],_0x5888c6[_0x378602(0x24f)],_0x5888c6[_0x378602(0x2a6)],_0x5888c6[_0x378602(0x28c)],_0x5888c6[_0x378602(0x17e)],_0x5888c6[_0x378602(0x157)]));}(this,function(_0x34fc26,_0x1e644d,_0x5ab4b8,_0x772097,_0x37c5aa,_0x146876,_0x331adf,_0xed4c50,_0x54dff2){'use strict';var _0x303884=_0x590d;var _0x2ae62f=Object['defineProperty'],_0x489bce=(_0x1f4ce3,_0x16064a,_0x40f17b)=>_0x16064a in _0x1f4ce3?_0x2ae62f(_0x1f4ce3,_0x16064a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40f17b}):_0x1f4ce3[_0x16064a]=_0x40f17b,_0xb1a834=(_0x53b551,_0x13f679,_0x1b7ade)=>_0x489bce(_0x53b551,typeof _0x13f679!=_0x303884(0x190)?_0x13f679+'':_0x13f679,_0x1b7ade),_0x560e03=function(){var _0x36142c=_0x303884;return _0x560e03=Object[_0x36142c(0x290)]||function(_0x2378f5){var _0x4da104=_0x36142c;for(var _0x542ac2,_0x549ee6=0x1,_0x4d6b47=arguments[_0x4da104(0x134)];_0x549ee6<_0x4d6b47;_0x549ee6++){_0x542ac2=arguments[_0x549ee6];for(var _0x1d969c in _0x542ac2)Object['prototype']['hasOwnProperty'][_0x4da104(0x15c)](_0x542ac2,_0x1d969c)&&(_0x2378f5[_0x1d969c]=_0x542ac2[_0x1d969c]);}return _0x2378f5;},_0x560e03[_0x36142c(0x2a3)](this,arguments);},_0x43edf6=function(_0x26a854,_0x41806f){var _0x32452e=_0x303884,_0xb078e9={};for(var _0x52b41d in _0x26a854)Object['prototype'][_0x32452e(0x14a)]['call'](_0x26a854,_0x52b41d)&&_0x41806f[_0x32452e(0x1d0)](_0x52b41d)<0x0&&(_0xb078e9[_0x52b41d]=_0x26a854[_0x52b41d]);if(_0x26a854!=null&&typeof Object['getOwnPropertySymbols']==_0x32452e(0x1ad)){for(var _0x14b972=0x0,_0x52b41d=Object['getOwnPropertySymbols'](_0x26a854);_0x14b972<_0x52b41d[_0x32452e(0x134)];_0x14b972++)_0x41806f[_0x32452e(0x1d0)](_0x52b41d[_0x14b972])<0x0&&Object[_0x32452e(0x1a5)][_0x32452e(0x1a1)][_0x32452e(0x15c)](_0x26a854,_0x52b41d[_0x14b972])&&(_0xb078e9[_0x52b41d[_0x14b972]]=_0x26a854[_0x52b41d[_0x14b972]]);}return _0xb078e9;},_0x24d39d=_0xed4c50[_0x303884(0x240)](function(_0x23345b,_0xd4c308){var _0x389fcd=_0x303884,_0x3733a8=_0x23345b[_0x389fcd(0x1b6)],_0xdec3f1=_0x23345b['id'],_0x288ce1=_0x23345b[_0x389fcd(0x15f)],_0x1d09d6=_0x23345b[_0x389fcd(0x298)],_0x3123cc=_0x43edf6(_0x23345b,[_0x389fcd(0x1b6),'id',_0x389fcd(0x15f),_0x389fcd(0x298)]),_0xa43289='univerjs-icon\x20univerjs-icon-'['concat'](_0xdec3f1,'\x20')[_0x389fcd(0x28a)](_0x288ce1||'')[_0x389fcd(0x293)](),_0x305c60=_0xed4c50[_0x389fcd(0x1e0)]('_'[_0x389fcd(0x28a)](_0xfc180b()));return _0x565d01(_0x3733a8,''[_0x389fcd(0x28a)](_0xdec3f1),{'defIds':_0x3733a8[_0x389fcd(0x152)],'idSuffix':_0x305c60[_0x389fcd(0x1c1)]},_0x560e03({'ref':_0xd4c308,'className':_0xa43289},_0x3123cc),_0x1d09d6);});function _0x565d01(_0x3fc3ca,_0x1555a5,_0x1316d5,_0x22607f,_0x318f9b){var _0x6b4c43=_0x303884;return _0xed4c50['createElement'](_0x3fc3ca['tag'],_0x560e03(_0x560e03({'key':_0x1555a5},_0x3ec3d3(_0x3fc3ca,_0x1316d5,_0x318f9b)),_0x22607f),(_0x278f48(_0x3fc3ca,_0x1316d5)[_0x6b4c43(0x21a)]||[])[_0x6b4c43(0x2aa)](function(_0x4e745d,_0x38358a){var _0x8d0f8e=_0x6b4c43;return _0x565d01(_0x4e745d,''[_0x8d0f8e(0x28a)](_0x1555a5,'-')[_0x8d0f8e(0x28a)](_0x3fc3ca[_0x8d0f8e(0x1f6)],'-')['concat'](_0x38358a),_0x1316d5,void 0x0,_0x318f9b);}));}function _0x3ec3d3(_0x461102,_0x4edf88,_0x4eccdd){var _0x2b3338=_0x303884,_0x1cc93b=_0x560e03({},_0x461102[_0x2b3338(0x1e9)]);_0x4eccdd!=null&&_0x4eccdd[_0x2b3338(0x217)]&&_0x1cc93b[_0x2b3338(0x1d3)]===_0x2b3338(0x217)&&(_0x1cc93b['fill']=_0x4eccdd[_0x2b3338(0x217)]),_0x461102[_0x2b3338(0x1f6)]===_0x2b3338(0x1e5)&&_0x1cc93b['id']&&(_0x1cc93b['id']=_0x1cc93b['id']+_0x4edf88['idSuffix']),Object['entries'](_0x1cc93b)[_0x2b3338(0x196)](function(_0x2cf977){var _0x4fa8b7=_0x2b3338,_0x507fcc=_0x2cf977[0x0],_0x536c3d=_0x2cf977[0x1];_0x507fcc==='mask'&&typeof _0x536c3d==_0x4fa8b7(0x17f)&&(_0x1cc93b[_0x507fcc]=_0x536c3d[_0x4fa8b7(0x246)](/url\(#(.*)\)/,_0x4fa8b7(0x12c)['concat'](_0x4edf88['idSuffix'],')')));});var _0x3ea3ca=_0x4edf88[_0x2b3338(0x152)];return!_0x3ea3ca||_0x3ea3ca[_0x2b3338(0x134)]===0x0||(_0x461102[_0x2b3338(0x1f6)]===_0x2b3338(0x2be)&&_0x1cc93b['xlink:href']&&(_0x1cc93b[_0x2b3338(0x182)]=_0x1cc93b[_0x2b3338(0x182)]+_0x4edf88['idSuffix']),Object['entries'](_0x1cc93b)[_0x2b3338(0x196)](function(_0x3bc1d0){var _0xeca43e=_0x2b3338,_0x5c5fb4=_0x3bc1d0[0x0],_0x2e08bd=_0x3bc1d0[0x1];typeof _0x2e08bd==_0xeca43e(0x17f)&&(_0x1cc93b[_0x5c5fb4]=_0x2e08bd[_0xeca43e(0x246)](/url\(#(.*)\)/,_0xeca43e(0x12c)['concat'](_0x4edf88['idSuffix'],')')));})),_0x1cc93b;}function _0x278f48(_0x533a26,_0x349454){var _0x3290c2=_0x303884,_0x3031fe,_0x5ecd71=_0x349454['defIds'];return!_0x5ecd71||_0x5ecd71[_0x3290c2(0x134)]===0x0?_0x533a26:_0x533a26[_0x3290c2(0x1f6)]===_0x3290c2(0x29e)&&(!((_0x3031fe=_0x533a26[_0x3290c2(0x21a)])===null||_0x3031fe===void 0x0)&&_0x3031fe['length'])?_0x560e03(_0x560e03({},_0x533a26),{'children':_0x533a26['children'][_0x3290c2(0x2aa)](function(_0x2d079c){var _0x4b49d4=_0x3290c2;return typeof _0x2d079c[_0x4b49d4(0x1e9)]['id']==_0x4b49d4(0x17f)&&_0x5ecd71&&_0x5ecd71[_0x4b49d4(0x29c)](_0x2d079c['attrs']['id'])?_0x560e03(_0x560e03({},_0x2d079c),{'attrs':_0x560e03(_0x560e03({},_0x2d079c[_0x4b49d4(0x1e9)]),{'id':_0x2d079c[_0x4b49d4(0x1e9)]['id']+_0x349454['idSuffix']})}):_0x2d079c;})}):_0x533a26;}function _0xfc180b(){var _0x52b295=_0x303884;return Math['random']()['toString'](0x24)[_0x52b295(0x178)](0x2,0x8);}_0x24d39d[_0x303884(0x24c)]=_0x303884(0x1d5);var _0x51d749={'tag':'svg','attrs':{'xmlns':_0x303884(0x2bd),'fill':'none','viewBox':_0x303884(0x210),'width':_0x303884(0x18c),'height':_0x303884(0x18c)},'children':[{'tag':'path','attrs':{'fill':_0x303884(0x2b0),'d':_0x303884(0x25c),'fillRule':_0x303884(0x28b),'clipRule':_0x303884(0x28b)}}]},_0x58d827=_0xed4c50['forwardRef'](function(_0x8d8bda,_0x182afb){var _0x519050=_0x303884;return _0xed4c50[_0x519050(0x2a0)](_0x24d39d,Object[_0x519050(0x290)]({},_0x8d8bda,{'id':_0x519050(0x1c5),'ref':_0x182afb,'icon':_0x51d749}));});_0x58d827[_0x303884(0x24c)]='CheckMarkIcon';var _0xa84732={'tag':_0x303884(0x20c),'attrs':{'xmlns':_0x303884(0x2bd),'fill':'none','viewBox':'0\x200\x2017\x2017','width':_0x303884(0x18c),'height':_0x303884(0x18c)},'children':[{'tag':_0x303884(0x15e),'attrs':{'stroke':_0x303884(0x2b0),'d':_0x303884(0x142),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x303884(0x15e),'attrs':{'stroke':'currentColor','d':_0x303884(0x2a7),'strokeLinecap':_0x303884(0x296),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0x449a17=_0xed4c50[_0x303884(0x240)](function(_0x41d140,_0xd98198){var _0x103526=_0x303884;return _0xed4c50[_0x103526(0x2a0)](_0x24d39d,Object['assign']({},_0x41d140,{'id':_0x103526(0x26f),'ref':_0xd98198,'icon':_0xa84732}));});_0x449a17[_0x303884(0x24c)]=_0x303884(0x183);var _0x4a40d4={'tag':_0x303884(0x20c),'attrs':{'xmlns':_0x303884(0x2bd),'fill':_0x303884(0x176),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x303884(0x18c)},'children':[{'tag':_0x303884(0x15e),'attrs':{'fill':_0x303884(0x2b0),'d':_0x303884(0x1b7)}},{'tag':_0x303884(0x15e),'attrs':{'fill':'currentColor','d':_0x303884(0x299)}},{'tag':'path','attrs':{'fill':_0x303884(0x2b0),'d':_0x303884(0x242),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x24823a=_0xed4c50[_0x303884(0x240)](function(_0x472f8c,_0x27d30d){var _0x292315=_0x303884;return _0xed4c50[_0x292315(0x2a0)](_0x24d39d,Object['assign']({},_0x472f8c,{'id':_0x292315(0x229),'ref':_0x27d30d,'icon':_0x4a40d4}));});_0x24823a[_0x303884(0x24c)]=_0x303884(0x1f8);var _0x522205={'tag':_0x303884(0x20c),'attrs':{'xmlns':_0x303884(0x2bd),'fill':_0x303884(0x176),'viewBox':'0\x200\x2016\x2016','width':_0x303884(0x18c),'height':_0x303884(0x18c)},'children':[{'tag':'g','attrs':{'clipPath':_0x303884(0x1ce)},'children':[{'tag':_0x303884(0x15e),'attrs':{'stroke':_0x303884(0x2b0),'d':_0x303884(0x269),'strokeLinecap':'round','strokeLinejoin':_0x303884(0x296),'strokeWidth':1.2}}]},{'tag':_0x303884(0x29e),'attrs':{},'children':[{'tag':_0x303884(0x256),'attrs':{'id':_0x303884(0x1a8)},'children':[{'tag':_0x303884(0x15e),'attrs':{'fill':'white','d':_0x303884(0x279)}}]}]}],'defIds':[_0x303884(0x1a8)]},_0xd1560b=_0xed4c50[_0x303884(0x240)](function(_0x39c955,_0x3a6174){var _0x3c4fe5=_0x303884;return _0xed4c50[_0x3c4fe5(0x2a0)](_0x24d39d,Object[_0x3c4fe5(0x290)]({},_0x39c955,{'id':_0x3c4fe5(0x2ab),'ref':_0x3a6174,'icon':_0x522205}));});_0xd1560b['displayName']=_0x303884(0x14b);var _0x50b376={'tag':_0x303884(0x20c),'attrs':{'xmlns':_0x303884(0x2bd),'fill':_0x303884(0x176),'viewBox':_0x303884(0x146),'width':_0x303884(0x18c),'height':_0x303884(0x18c)},'children':[{'tag':'g','attrs':{'clipPath':_0x303884(0x156)},'children':[{'tag':_0x303884(0x15e),'attrs':{'stroke':'currentColor','d':_0x303884(0x147),'strokeLinecap':_0x303884(0x296),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x303884(0x29e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x303884(0x15e),'attrs':{'fill':'white','d':_0x303884(0x279),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x50883b=_0xed4c50['forwardRef'](function(_0x4ccdbf,_0x5851ff){var _0x266517=_0x303884;return _0xed4c50[_0x266517(0x2a0)](_0x24d39d,Object['assign']({},_0x4ccdbf,{'id':_0x266517(0x1c7),'ref':_0x5851ff,'icon':_0x50b376}));});_0x50883b[_0x303884(0x24c)]='OnLineIcon';function _0x902359(_0x5c8dbf){var _0x29365f=_0x303884,_0x56a5bf,_0x54ddf3;const {mcpCoreConfig:_0x167082,onSave:_0xe91270,loading:_0x512777=!0x1,config:_0x384a15,connectionStatus$:_0x4c5eb3,connectionError$:_0x43955e,currentApiKey$:_0x1c5c5f,currentSessionId$:_0x4c9e78}=_0x5c8dbf,_0xc0dd20=_0x146876[_0x29365f(0x13f)](_0x1e644d[_0x29365f(0x1a0)]),_0x185e5d=_0x146876[_0x29365f(0x15a)](_0x4c5eb3,_0x772097[_0x29365f(0x264)][_0x29365f(0x16d)]),_0x1d1db8=_0x146876[_0x29365f(0x15a)](_0x43955e,_0x772097['MCPConnectionError'][_0x29365f(0x169)]),_0x48226a=_0x146876[_0x29365f(0x15a)](_0x4c9e78,''),_0x4466b0=_0x146876[_0x29365f(0x15a)](_0x1c5c5f,''),[_0x5888c7,_0x18a0cc]=_0xed4c50['useState'](_0x4466b0||''),_0x2b9961=!0x0,_0xc11501=_0x384a15[_0x29365f(0x270)]&&_0x167082[_0x29365f(0x195)]&&(_0x167082['mcpServerUrl']['includes'](_0x29365f(0x14c))||_0x167082[_0x29365f(0x195)][_0x29365f(0x29c)](_0x29365f(0x243))),_0x1d6511=(_0x56a5bf=_0x167082[_0x29365f(0x195)])==null?void 0x0:_0x56a5bf[_0x29365f(0x29c)]('univer.plus'),_0x130beb=(_0x54ddf3=_0x167082[_0x29365f(0x195)])==null?void 0x0:_0x54ddf3['includes'](_0x29365f(0x243)),_0x46880d=_0x1d6511?_0x29365f(0x288):_0x29365f(0x1c3),_0x10a5eb=_0x384a15[_0x29365f(0x270)]&&(_0x1d6511||_0x130beb),[_0x3b7be8,_0x592451]=_0xed4c50['useState'](!_0x5888c7[_0x29365f(0x293)]()),_0x4189ed=(_0x57829e,_0x4a8df3)=>{var _0x598b99=_0x29365f;if(_0x4a8df3===_0x772097[_0x598b99(0x179)][_0x598b99(0x167)])return _0x598b99(0x1ea);switch(_0x57829e){case _0x772097[_0x598b99(0x264)][_0x598b99(0x1ed)]:return _0x598b99(0x170);case _0x772097['MCPConnectionStatus']['CONNECTING']:case _0x772097[_0x598b99(0x264)][_0x598b99(0x1c2)]:return _0x598b99(0x1d8);case _0x772097[_0x598b99(0x264)]['FAILED']:return _0x598b99(0x1ea);default:return _0x598b99(0x18e);}},_0x46f57e=(_0x806e74,_0x520639)=>{var _0x116354=_0x29365f;if(_0x520639===_0x772097[_0x116354(0x179)]['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x806e74){case _0x772097[_0x116354(0x264)]['CONNECTED']:return'univer-bg-green-500';case _0x772097[_0x116354(0x264)][_0x116354(0x26b)]:case _0x772097[_0x116354(0x264)][_0x116354(0x1c2)]:return'univer-bg-blue-500';case _0x772097['MCPConnectionStatus'][_0x116354(0x127)]:return _0x116354(0x159);default:return _0x116354(0x1ba);}},_0x12a543=_0x216517=>{var _0x51d53f=_0x29365f;switch(_0x216517){case _0x772097[_0x51d53f(0x264)]['CONNECTED']:return _0xc0dd20['t'](_0x51d53f(0x163));case _0x772097[_0x51d53f(0x264)][_0x51d53f(0x26b)]:return _0xc0dd20['t']('mcpConfig.connectionStatus.connecting');case _0x772097['MCPConnectionStatus'][_0x51d53f(0x127)]:return _0xc0dd20['t'](_0x51d53f(0x21f));case _0x772097[_0x51d53f(0x264)][_0x51d53f(0x1c2)]:return _0xc0dd20['t'](_0x51d53f(0x177));default:return _0xc0dd20['t'](_0x51d53f(0x1ff));}},_0x35e166=_0x33a98e=>{var _0x388f01=_0x29365f;switch(_0x33a98e){case _0x772097['MCPConnectionError']['UNAUTHORIZED']:return _0xc0dd20['t'](_0x388f01(0x291));case _0x772097[_0x388f01(0x179)][_0x388f01(0x29b)]:return _0xc0dd20['t']('mcpConfig.connectionError.sessionOccupied');case _0x772097[_0x388f01(0x179)][_0x388f01(0x18f)]:return _0xc0dd20['t'](_0x388f01(0x1c0));case _0x772097[_0x388f01(0x179)][_0x388f01(0x231)]:return _0xc0dd20['t'](_0x388f01(0x1e2));default:return'';}},_0x409507=_0xed4c50[_0x29365f(0x1cc)](()=>{const _0x5ef3e2={..._0x167082,'apiKey':_0x5888c7['trim'](),'enableAuth':_0x2b9961};_0xe91270(_0x5ef3e2);},[_0x167082,_0x5888c7,_0x2b9961,_0xe91270]),_0x2114e7=_0x5888c7['trim']()[_0x29365f(0x134)]>0x0;return _0x5ab4b8['jsxs'](_0x29365f(0x1b0),{'className':_0x29365f(0x267),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x131),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':_0x29365f(0x263),'children':_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'className':_0x29365f(0x237),'children':'⚙'})}),_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'children':_0x5ab4b8['jsx']('p',{'className':_0x29365f(0x192),'children':_0xc0dd20['t'](_0x29365f(0x22d))})})]})}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x15d),'children':[_0x5ab4b8['jsx'](_0x29365f(0x1b0),{'className':_0x29365f(0x1bc)+_0x4189ed(_0x185e5d,_0x1d1db8)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5ab4b8['jsx'](_0x29365f(0x1b0),{'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'+_0x46f57e(_0x185e5d,_0x1d1db8)+_0x29365f(0x26e)}),_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'className':_0x29365f(0x21c),'children':_0x12a543(_0x185e5d)})]})}),_0x1d1db8!==_0x772097[_0x29365f(0x179)]['NONE']&&(_0x185e5d===_0x772097[_0x29365f(0x264)][_0x29365f(0x127)]||_0x1d1db8===_0x772097['MCPConnectionError']['UNAUTHORIZED'])&&_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x13a),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'className':_0x29365f(0x274),'children':'⚠️'}),_0x5ab4b8[_0x29365f(0x129)]('p',{'className':_0x29365f(0x20f),'children':_0x35e166(_0x1d1db8)})]})})]}),_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':_0x29365f(0x174),'children':_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':'univer-space-y-5','children':[_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x25a),'children':[_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x228),{'className':_0x29365f(0x2a2),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'children':'🔑'}),'\x20',_0xc0dd20['t'](_0x29365f(0x19d)),_0x5ab4b8[_0x29365f(0x129)]('span',{'className':_0x29365f(0x2ba),'children':'*'}),_0xc11501&&_0x5ab4b8[_0x29365f(0x129)]('a',{'href':_0x29365f(0x238),'onClick':()=>_0x592451(!0x0),'className':_0x29365f(0x26a),'title':_0xc0dd20['t'](_0x29365f(0x215)),'children':_0x5ab4b8['jsx'](_0x24823a,{})})]}),_0x5ab4b8[_0x29365f(0x129)](_0x37c5aa[_0x29365f(0x278)],{'type':_0x29365f(0x1a7),'placeholder':_0xc0dd20['t'](_0x29365f(0x1f5)),'value':_0x5888c7,'onChange':_0x18a0cc,'disabled':_0x512777,'autoComplete':'off'}),_0x5ab4b8[_0x29365f(0x129)]('p',{'className':_0x29365f(0x20a),'children':_0xc0dd20['t'](_0x29365f(0x187))})]}),_0xc11501&&_0x3b7be8&&_0x5ab4b8['jsxs'](_0x29365f(0x1b0),{'className':_0x29365f(0x297),'children':[_0x5ab4b8[_0x29365f(0x129)]('a',{'href':_0x29365f(0x238),'onClick':()=>_0x592451(!0x1),'className':_0x29365f(0x22f),'title':_0x29365f(0x292),'children':_0x5ab4b8['jsx'](_0x449a17,{})}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'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':_0x5ab4b8['jsx'](_0x29365f(0x27f),{'className':_0x29365f(0x281),'children':'🚀'})}),_0x5ab4b8['jsxs']('div',{'className':_0x29365f(0x1b4),'children':[_0x5ab4b8['jsx']('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0xc0dd20['t'](_0x29365f(0x215))}),_0x5ab4b8[_0x29365f(0x129)]('p',{'className':_0x29365f(0x24b),'children':_0xc0dd20['t'](_0x29365f(0x2b1))}),_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':_0x29365f(0x224),'children':_0x10a5eb&&_0x5ab4b8[_0x29365f(0x213)]('a',{'href':_0x46880d,'target':'_blank','rel':_0x29365f(0x16e),'className':_0x29365f(0x1bb),'children':[_0x5ab4b8[_0x29365f(0x129)]('span',{'children':'🤖'}),_0xc0dd20['t'](_0x29365f(0x191)),_0x5ab4b8['jsx'](_0x29365f(0x27f),{'className':_0x29365f(0x2b9),'children':'↗'})]})}),_0x5ab4b8['jsxs'](_0x29365f(0x1b0),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0xc0dd20['t'](_0x29365f(0x2a5))]})]})]})]}),_0x384a15[_0x29365f(0x270)]&&_0x5ab4b8[_0x29365f(0x213)]('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x5ab4b8[_0x29365f(0x213)]('h4',{'className':_0x29365f(0x265),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'children':'🔗'}),'\x20',_0xc0dd20['t'](_0x29365f(0x211))]}),_0x5ab4b8[_0x29365f(0x213)]('div',{'className':_0x29365f(0x139),'children':[_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x166),'children':[_0x5ab4b8[_0x29365f(0x129)]('p',{'className':_0x29365f(0x1cf),'children':_0xc0dd20['t']('mcpConfig.configInstructions')}),_0x5ab4b8[_0x29365f(0x213)]('div',{'className':_0x29365f(0x25a),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':_0x29365f(0x214),'children':_0xc0dd20['t'](_0x29365f(0x253))}),_0x5ab4b8[_0x29365f(0x213)]('div',{'className':_0x29365f(0x1bf),'children':[_0x5ab4b8['jsxs'](_0x29365f(0x1b0),{'className':_0x29365f(0x2a9),'children':[_0x5ab4b8[_0x29365f(0x129)]('span',{'className':_0x29365f(0x13e),'children':'1'}),_0xc0dd20['t'](_0x29365f(0x1e1))]}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x2a9),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'className':_0x29365f(0x13e),'children':'2'}),_0xc0dd20['t']('mcpConfig.configStep2')]}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x2a9),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'className':_0x29365f(0x13e),'children':'3'}),_0xc0dd20['t'](_0x29365f(0x25e))]})]})]})]}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':'univer-space-y-2','children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':_0x29365f(0x214),'children':_0x29365f(0x1f3)}),_0x5ab4b8['jsx'](_0x29365f(0x1b0),{'className':_0x29365f(0x244),'children':_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x199),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':_0x29365f(0x202)+_0x48226a+_0x29365f(0x1b2)+(_0x5888c7||_0x29365f(0x1fd))+_0x29365f(0x27e)})})]}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x166),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':_0x29365f(0x214),'children':_0xc0dd20['t'](_0x29365f(0x247))}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x25a),'children':[_0x5ab4b8[_0x29365f(0x213)]('div',{'className':_0x29365f(0x13b),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x1a9),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':_0x29365f(0x24e),'children':_0x29365f(0x23b)}),_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0xc0dd20['t']('mcpConfig.sessionIdDescription')})]})]}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x5ab4b8['jsx']('div',{'className':_0x29365f(0x252)}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x1a9),'children':[_0x5ab4b8['jsx'](_0x29365f(0x1b0),{'className':_0x29365f(0x24e),'children':_0x29365f(0x126)}),_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x1b0),{'className':_0x29365f(0x20a),'children':_0xc0dd20['t'](_0x29365f(0x21d))})]})]})]})]})]})]}),_0x5ab4b8[_0x29365f(0x129)](_0x37c5aa[_0x29365f(0x1b1)],{'onClick':_0x409507,'disabled':!_0x2114e7||_0x512777,'className':_0x29365f(0x268),'children':_0x512777?_0x5ab4b8[_0x29365f(0x213)]('span',{'className':_0x29365f(0x2a9),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'children':'⟲'}),_0xc0dd20['t'](_0x29365f(0x1fb))]}):_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x27f),{'className':_0x29365f(0x2a9),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x58d827,{}),_0xc0dd20['t'](_0x29365f(0x2ad))]})}),_0x5ab4b8['jsx']('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x287),'children':[_0x5ab4b8[_0x29365f(0x129)](_0x29365f(0x27f),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'className':_0x29365f(0x16f),'children':[_0x5ab4b8[_0x29365f(0x129)]('div',{'className':_0x29365f(0x160),'children':_0x29365f(0x24a)}),_0x5ab4b8['jsxs'](_0x29365f(0x1b0),{'children':['•',_0xc0dd20['t']('mcpConfig.note1')]}),_0x5ab4b8[_0x29365f(0x213)](_0x29365f(0x1b0),{'children':['•',_0xc0dd20['t'](_0x29365f(0x200))]})]})]})})]})})]});}const _0x46e45b='mcp-ui.config',_0x5899c4={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x4aebd2=Object[_0x303884(0x248)],_0x4399b9=(_0x29294c,_0x501183,_0x50be95,_0x54a77e)=>{var _0x1e3710=_0x303884;for(var _0x4d4747=_0x54a77e>0x1?void 0x0:_0x54a77e?_0x4aebd2(_0x501183,_0x50be95):_0x501183,_0xba2250=_0x29294c[_0x1e3710(0x134)]-0x1,_0x3a1f4a;_0xba2250>=0x0;_0xba2250--)(_0x3a1f4a=_0x29294c[_0xba2250])&&(_0x4d4747=_0x3a1f4a(_0x4d4747)||_0x4d4747);return _0x4d4747;},_0x2eab09=(_0x354b6d,_0x514e1a)=>(_0x3c54a9,_0x2b1d29)=>_0x514e1a(_0x3c54a9,_0x2b1d29,_0x354b6d);const _0x1b2602=_0x303884(0x29d),_0x7f5062=_0x303884(0x21e);_0x34fc26[_0x303884(0x1da)]=class extends _0x1e644d[_0x303884(0x1a2)]{constructor(_0x3c34f6,_0x5d243b,_0x1d3de2,_0x3411bc,_0x402701,_0x2a9a6f,_0x2d7663,_0x20ea42,_0x5dc3f7,_0x2f4582){var _0x5d87c8=_0x303884;super(),_0xb1a834(this,_0x5d87c8(0x19e),new _0x331adf[(_0x5d87c8(0x275))](!0x1)),_0xb1a834(this,_0x5d87c8(0x250),new _0x331adf[(_0x5d87c8(0x275))]({})),_0xb1a834(this,_0x5d87c8(0x12f),new _0x331adf[(_0x5d87c8(0x275))]({})),_0xb1a834(this,_0x5d87c8(0x257),new _0x331adf[(_0x5d87c8(0x275))]('')),_0xb1a834(this,_0x5d87c8(0x16c),async _0x701f64=>{var _0x13f4d4=_0x5d87c8,_0x459535,_0x49b3d7;this[_0x13f4d4(0x19e)][_0x13f4d4(0x137)](!0x0);try{const _0x162779=await this['_validateConfig'](_0x701f64);if(!_0x162779[_0x13f4d4(0x14f)]){this[_0x13f4d4(0x171)][_0x13f4d4(0x155)]({'type':_0x37c5aa['MessageType']['Error'],'content':_0x162779[_0x13f4d4(0x15b)]||this[_0x13f4d4(0x283)]['t'](_0x13f4d4(0x23a))});return;}_0x701f64[_0x13f4d4(0x185)]?await this[_0x13f4d4(0x21b)]['setItem'](_0x1b2602,_0x701f64['apiKey'][_0x13f4d4(0x293)]()):await this[_0x13f4d4(0x21b)]['removeItem'](_0x1b2602),this[_0x13f4d4(0x257)][_0x13f4d4(0x137)](((_0x459535=_0x701f64['apiKey'])==null?void 0x0:_0x459535['trim']())||''),this['_mcpConnectionController'][_0x13f4d4(0x150)]({'Authorization':_0x13f4d4(0x2b8)+((_0x49b3d7=_0x701f64[_0x13f4d4(0x185)])==null?void 0x0:_0x49b3d7['trim']())}),this['_messageService']['show']({'type':_0x37c5aa['MessageType']['Success'],'content':this[_0x13f4d4(0x283)]['t'](_0x13f4d4(0x1bd))}),setTimeout(()=>{var _0x161269=_0x13f4d4;this[_0x161269(0x1aa)][_0x161269(0x28d)](_0x7f5062);},0x320);}catch(_0x3afd7f){this[_0x13f4d4(0x26c)][_0x13f4d4(0x197)](_0x13f4d4(0x1ee),_0x3afd7f),this[_0x13f4d4(0x171)][_0x13f4d4(0x155)]({'type':_0x37c5aa['MessageType'][_0x13f4d4(0x1fe)],'content':this[_0x13f4d4(0x283)]['t'](_0x13f4d4(0x260))});}finally{this[_0x13f4d4(0x19e)]['next'](!0x1);}}),(this[_0x5d87c8(0x205)]=_0x3c34f6,this[_0x5d87c8(0x1d1)]=_0x5d243b,this[_0x5d87c8(0x1cd)]=_0x1d3de2,this[_0x5d87c8(0x21b)]=_0x3411bc,this['_dialogService']=_0x402701,this[_0x5d87c8(0x171)]=_0x2a9a6f,this[_0x5d87c8(0x219)]=_0x2d7663,this[_0x5d87c8(0x283)]=_0x20ea42,this['_logService']=_0x5dc3f7,this[_0x5d87c8(0x20e)]=_0x2f4582,this[_0x5d87c8(0x181)](),this[_0x5d87c8(0x128)](),this[_0x5d87c8(0x1db)]());}['showConfigPanel'](){var _0x1083ec=_0x303884;const _0x5a19e1=this['_configService'][_0x1083ec(0x1a4)](_0x46e45b);_0x5a19e1!=null&&_0x5a19e1[_0x1083ec(0x270)]&&this[_0x1083ec(0x1aa)][_0x1083ec(0x189)]({'id':_0x7f5062,'title':{'title':this[_0x1083ec(0x283)]['t'](_0x1083ec(0x221))},'children':{'label':_0x1083ec(0x225)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x5058b9=_0x1083ec;this[_0x5058b9(0x1aa)]['close'](_0x7f5062);}});}[_0x303884(0x18a)](){var _0x2cc4df=_0x303884;return this[_0x2cc4df(0x250)][_0x2cc4df(0x206)];}[_0x303884(0x1db)](){var _0x14959b=_0x303884;this[_0x14959b(0x1ac)](this['_componentManager'][_0x14959b(0x277)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}[_0x303884(0x2bb)](){var _0x3a21b5=_0x303884;return _0x146876[_0x3a21b5(0x2b6)](()=>{var _0x17de66=_0x3a21b5,_0x599b6e,_0x19a976,_0x426d19;return _0x5ab4b8[_0x17de66(0x129)](_0x902359,{'config':this[_0x17de66(0x12f)][_0x17de66(0x206)],'mcpCoreConfig':this[_0x17de66(0x250)][_0x17de66(0x206)],'currentApiKey$':this[_0x17de66(0x257)],'onSave':this[_0x17de66(0x16c)],'loading':this[_0x17de66(0x19e)][_0x17de66(0x206)],'connectionStatus$':(_0x599b6e=this['_mcpConnectionController'])==null?void 0x0:_0x599b6e[_0x17de66(0x239)],'connectionError$':(_0x19a976=this['_mcpConnectionController'])==null?void 0x0:_0x19a976[_0x17de66(0x18d)],'currentSessionId$':(_0x426d19=this[_0x17de66(0x20e)])==null?void 0x0:_0x426d19[_0x17de66(0x28f)]});},this[_0x3a21b5(0x205)]);}['_initConfigSync'](){var _0x28bd60=_0x303884;this['disposeWithMe'](this[_0x28bd60(0x1cd)]['subscribeConfigValue$'](_0x772097['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x1364f7=>{var _0x6cc14c=_0x28bd60;this['_mcpCoreConfig$'][_0x6cc14c(0x137)](_0x1364f7||{});}));const _0x1b3a5e=this[_0x28bd60(0x1cd)][_0x28bd60(0x1a4)](_0x772097[_0x28bd60(0x2a1)]);this[_0x28bd60(0x250)]['next'](_0x1b3a5e||{}),this['disposeWithMe'](this[_0x28bd60(0x1cd)][_0x28bd60(0x241)](_0x46e45b)['subscribe'](_0x1c5e15=>{var _0x346a39=_0x28bd60;this[_0x346a39(0x12f)][_0x346a39(0x137)](_0x1c5e15||{});}));const _0x4b1245=this[_0x28bd60(0x1cd)]['getConfig'](_0x46e45b);this['_config$']['next'](_0x4b1245||{});}async[_0x303884(0x128)](){var _0x572f0a=_0x303884;const _0x68f5b8=this[_0x572f0a(0x1cd)][_0x572f0a(0x1a4)](_0x46e45b);if(!(_0x68f5b8!=null&&_0x68f5b8[_0x572f0a(0x270)]))return;const _0x25369c=await this[_0x572f0a(0x21b)][_0x572f0a(0x294)](_0x1b2602);_0x25369c&&(this[_0x572f0a(0x20e)][_0x572f0a(0x150)]({'Authorization':_0x572f0a(0x2b8)+_0x25369c}),this[_0x572f0a(0x257)]['next'](_0x25369c));}async[_0x303884(0x1be)](_0x29c797){var _0x2aec76=_0x303884;if(!_0x29c797[_0x2aec76(0x185)]||_0x29c797[_0x2aec76(0x185)][_0x2aec76(0x293)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x2aec76(0x153))};if(_0x29c797[_0x2aec76(0x185)]['trim']()[_0x2aec76(0x134)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x2aec76(0x283)]['t'](_0x2aec76(0x162))};try{const _0x11d5ba=await this['_injector'][_0x2aec76(0x1af)](_0x772097[_0x2aec76(0x154)])[_0x2aec76(0x2a4)](_0x29c797[_0x2aec76(0x185)][_0x2aec76(0x293)]());return _0x11d5ba[_0x2aec76(0x14f)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x11d5ba['error']||this[_0x2aec76(0x283)]['t'](_0x2aec76(0x1a3))};}catch(_0x432d27){return console[_0x2aec76(0x144)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x432d27),{'isValid':!0x0};}}},_0x34fc26[_0x303884(0x1da)]=_0x4399b9([_0x2eab09(0x0,_0x1e644d[_0x303884(0x1c6)](_0x1e644d[_0x303884(0x255)])),_0x2eab09(0x1,_0x146876['IUIPartsService']),_0x2eab09(0x2,_0x1e644d[_0x303884(0x12a)]),_0x2eab09(0x3,_0x1e644d[_0x303884(0x1d2)]),_0x2eab09(0x4,_0x146876[_0x303884(0x29a)]),_0x2eab09(0x5,_0x146876[_0x303884(0x27b)]),_0x2eab09(0x6,_0x1e644d[_0x303884(0x1c6)](_0x146876['ComponentManager'])),_0x2eab09(0x7,_0x1e644d[_0x303884(0x1c6)](_0x1e644d[_0x303884(0x1a0)])),_0x2eab09(0x8,_0x1e644d[_0x303884(0x22c)]),_0x2eab09(0x9,_0x1e644d[_0x303884(0x1c6)](_0x772097[_0x303884(0x154)]))],_0x34fc26['MCPConfigUIController']);const _0x3fc30e={'id':'mcp-ui.command.openConfigPanel','type':_0x1e644d[_0x303884(0x27d)][_0x303884(0x1e6)],'handler':async(_0x5728a2,_0x103891)=>(_0x5728a2['get'](_0x34fc26[_0x303884(0x1da)])[_0x303884(0x184)](),!0x0)};function _0x504afd(_0x1be311,_0x423bdc){var _0x40bd23=_0x303884;switch(_0x1be311){case _0x772097[_0x40bd23(0x264)]['DISCONNECTED']:return _0x40bd23(0x143);case _0x772097['MCPConnectionStatus'][_0x40bd23(0x26b)]:return'mcpStatus.connecting';case _0x772097[_0x40bd23(0x264)][_0x40bd23(0x1ed)]:return _0x40bd23(0x1ec);case _0x772097[_0x40bd23(0x264)][_0x40bd23(0x127)]:switch(_0x423bdc){case _0x772097[_0x40bd23(0x179)]['UNAUTHORIZED']:return _0x40bd23(0x14e);case _0x772097[_0x40bd23(0x179)]['SESSION_ID_OCCUPIED']:return _0x40bd23(0x232);case _0x772097[_0x40bd23(0x179)]['NETWORK_ERROR']:return _0x40bd23(0x141);case _0x772097[_0x40bd23(0x179)]['MAX_RETRIES_EXCEEDED']:return _0x40bd23(0x1ca);default:return _0x40bd23(0x2bf);}case _0x772097[_0x40bd23(0x264)][_0x40bd23(0x1c2)]:return _0x40bd23(0x2bc);default:return _0x40bd23(0x1f0);}}function _0x4cb72e(_0x51f3ca,_0x56c0fa,_0x2bbbd0,_0x30ae66=!0x0){var _0x2d4c29=_0x303884;const _0x2026ce=_0x504afd(_0x51f3ca,_0x56c0fa),_0x2b62b8=_0x2bbbd0['t'](_0x2026ce);return _0x30ae66?_0x51f3ca===_0x772097[_0x2d4c29(0x264)][_0x2d4c29(0x16d)]&&_0x56c0fa===_0x772097['MCPConnectionError'][_0x2d4c29(0x167)]?_0x2b62b8+_0x2d4c29(0x1ab)+_0x2bbbd0['t'](_0x2d4c29(0x24d)):_0x51f3ca===_0x772097[_0x2d4c29(0x264)][_0x2d4c29(0x1ed)]?''+_0x2b62b8:_0x51f3ca===_0x772097['MCPConnectionStatus'][_0x2d4c29(0x16d)]||_0x51f3ca===_0x772097[_0x2d4c29(0x264)]['FAILED']?_0x2b62b8+'\x20-\x20'+_0x2bbbd0['t']('mcpStatus.clickToConnect'):_0x2b62b8:_0x2b62b8;}function _0x4c48ff(_0x265072){var _0x53ebcd=_0x303884;switch(_0x265072){case _0x772097[_0x53ebcd(0x264)][_0x53ebcd(0x1ed)]:return'univer-text-green-500';case _0x772097[_0x53ebcd(0x264)][_0x53ebcd(0x26b)]:case _0x772097[_0x53ebcd(0x264)][_0x53ebcd(0x1c2)]:return _0x53ebcd(0x140);case _0x772097[_0x53ebcd(0x264)]['FAILED']:case _0x772097[_0x53ebcd(0x264)][_0x53ebcd(0x16d)]:return _0x53ebcd(0x2ba);default:return'univer-text-gray-500';}}function _0x532093(_0x318f5a){var _0x5333da=_0x303884;const {status$:_0x2e73da,error$:_0x2a6770,onConfigure:_0x3ac1c9,showClickable:_0x33ca8e=!0x0}=_0x318f5a,_0x164e9b=_0x146876['useObservable'](_0x2e73da,_0x772097[_0x5333da(0x264)][_0x5333da(0x16d)]),_0x3eac4b=_0x146876[_0x5333da(0x15a)](_0x2a6770,_0x772097['MCPConnectionError'][_0x5333da(0x169)]),_0x3e3c93=_0x146876[_0x5333da(0x13f)](_0x1e644d[_0x5333da(0x1a0)]),_0x536448=_0x164e9b===_0x772097[_0x5333da(0x264)][_0x5333da(0x1ed)];_0x164e9b===_0x772097[_0x5333da(0x264)]['CONNECTING']||_0x772097[_0x5333da(0x264)][_0x5333da(0x1c2)];const _0x4697e=_0x3e3c93['t'](_0x504afd(_0x164e9b,_0x3eac4b)),_0x4030b5=_0x4cb72e(_0x164e9b,_0x3eac4b,_0x3e3c93,_0x33ca8e),_0xb1962=_0x4c48ff(_0x164e9b),_0x2168f1=_0x536448?_0x5ab4b8['jsx'](_0x50883b,{}):_0x5ab4b8[_0x5333da(0x129)](_0xd1560b,{}),_0xb2d712=_0xed4c50['useCallback'](()=>{_0x33ca8e&&_0x3ac1c9&&_0x3ac1c9();},[_0x33ca8e,_0x3ac1c9]);function _0x99d1ef(){var _0x49e18c=_0x5333da;return _0x5ab4b8['jsxs'](_0x49e18c(0x1b0),{'className':_0x37c5aa[_0x49e18c(0x272)](_0x49e18c(0x161),_0x33ca8e&&_0x3ac1c9&&_0x49e18c(0x2ae)),'onClick':_0x33ca8e&&_0x3ac1c9?_0xb2d712:void 0x0,'children':[_0x5ab4b8[_0x49e18c(0x129)](_0x49e18c(0x1b0),{'className':_0x37c5aa[_0x49e18c(0x272)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0xb1962),'children':_0x2168f1}),_0x5ab4b8['jsx'](_0x49e18c(0x1b0),{'className':_0x49e18c(0x262),'children':_0x4697e})]});}return _0x5ab4b8['jsx'](_0x37c5aa[_0x5333da(0x13d)],{'title':_0x4030b5,'placement':'bottom','children':_0x99d1ef()});}var _0xe27d39=Object[_0x303884(0x248)],_0xc1a2f7=(_0x530adf,_0xa46672,_0x38005c,_0x12db67)=>{var _0x28f343=_0x303884;for(var _0x27badf=_0x12db67>0x1?void 0x0:_0x12db67?_0xe27d39(_0xa46672,_0x38005c):_0xa46672,_0x53c0da=_0x530adf[_0x28f343(0x134)]-0x1,_0xc3d113;_0x53c0da>=0x0;_0x53c0da--)(_0xc3d113=_0x530adf[_0x53c0da])&&(_0x27badf=_0xc3d113(_0x27badf)||_0x27badf);return _0x27badf;},_0x41f5df=(_0x2b0ffb,_0x281dbc)=>(_0x285dad,_0x3353a4)=>_0x281dbc(_0x285dad,_0x3353a4,_0x2b0ffb);_0x34fc26[_0x303884(0x216)]=class extends _0x1e644d[_0x303884(0x1a2)]{constructor(_0x188f30,_0x13c217,_0xfa7d27,_0x2fc124){var _0x574333=_0x303884;super(),this[_0x574333(0x205)]=_0x188f30,this[_0x574333(0x2af)]=_0x13c217,this[_0x574333(0x1d1)]=_0xfa7d27,this[_0x574333(0x1cd)]=_0x2fc124,this[_0x574333(0x138)](),this[_0x574333(0x273)]();}[_0x303884(0x138)](){var _0x3b84be=_0x303884;const _0x54a723=this[_0x3b84be(0x1cd)][_0x3b84be(0x1a4)](_0x46e45b);_0x54a723!=null&&_0x54a723['showDeveloperTools']&&(this[_0x3b84be(0x2af)][_0x3b84be(0x28e)]=!0x1);}['_initStatusComponent'](){var _0x5dd6e3=_0x303884;const _0xcc47a5=this[_0x5dd6e3(0x1cd)][_0x5dd6e3(0x1a4)](_0x46e45b);(_0xcc47a5==null?void 0x0:_0xcc47a5[_0x5dd6e3(0x1c8)])!==!0x1&&this[_0x5dd6e3(0x1ac)](this[_0x5dd6e3(0x1d1)]['registerComponent'](_0x146876['BuiltInUIPart'][_0x5dd6e3(0x2b3)],()=>{var _0x5ae478=_0x5dd6e3,_0x49860c;return _0x146876[_0x5ae478(0x2b6)](_0x4a56cf({'status$':this['_connectionController'][_0x5ae478(0x239)],'error$':this[_0x5ae478(0x2af)][_0x5ae478(0x18d)],'onConfigure':()=>this[_0x5ae478(0x175)](),'showClickable':(_0x49860c=_0xcc47a5==null?void 0x0:_0xcc47a5[_0x5ae478(0x270)])!=null?_0x49860c:!0x1}),this['_injector']);}));}[_0x303884(0x175)](){var _0x590108=_0x303884;this['_injector'][_0x590108(0x1af)](_0x34fc26[_0x590108(0x1da)])[_0x590108(0x184)]();}},_0x34fc26[_0x303884(0x216)]=_0xc1a2f7([_0x41f5df(0x0,_0x1e644d['Inject'](_0x1e644d['Injector'])),_0x41f5df(0x1,_0x1e644d['Inject'](_0x772097[_0x303884(0x154)])),_0x41f5df(0x2,_0x146876[_0x303884(0x193)]),_0x41f5df(0x3,_0x1e644d['IConfigService'])],_0x34fc26[_0x303884(0x216)]);function _0x4a56cf(_0x3e4ac0){const {status$:_0x42ef92,error$:_0x5a22f9,onConfigure:_0xc98246,showClickable:_0x5201a3}=_0x3e4ac0;return function(){return _0x5ab4b8['jsx'](_0x532093,{'status$':_0x42ef92,'error$':_0x5a22f9,'onConfigure':_0xc98246,'showClickable':_0x5201a3});};}function _0x5bafbc(_0x526a68){var _0x47b5e5=_0x303884;return{'id':_0x3fc30e['id'],'type':_0x146876[_0x47b5e5(0x1ae)]['BUTTON'],'icon':_0x47b5e5(0x209),'title':_0x47b5e5(0x221),'tooltip':_0x47b5e5(0x221)};}const _0x318956={[_0x146876['RibbonStartGroup']['OTHERS']]:{[_0x3fc30e['id']]:{'order':0xa,'menuItemFactory':_0x5bafbc}}};var _0x45aee6=Object['getOwnPropertyDescriptor'],_0x207f8d=(_0x448665,_0x20ccd1,_0x3e27de,_0xda37af)=>{for(var _0x4a16f3=_0xda37af>0x1?void 0x0:_0xda37af?_0x45aee6(_0x20ccd1,_0x3e27de):_0x20ccd1,_0x5896b3=_0x448665['length']-0x1,_0x4a2c01;_0x5896b3>=0x0;_0x5896b3--)(_0x4a2c01=_0x448665[_0x5896b3])&&(_0x4a16f3=_0x4a2c01(_0x4a16f3)||_0x4a16f3);return _0x4a16f3;},_0x4b2e31=(_0x2b8195,_0x1f1205)=>(_0x492451,_0x690c8d)=>_0x1f1205(_0x492451,_0x690c8d,_0x2b8195);_0x34fc26[_0x303884(0x295)]=class extends _0x1e644d[_0x303884(0x1a2)]{constructor(_0x4ea128,_0x18a0b3){var _0x372de7=_0x303884;super(),this['_commandService']=_0x4ea128,this[_0x372de7(0x136)]=_0x18a0b3,this[_0x372de7(0x17c)](),this['_initializeMenus']();}[_0x303884(0x17c)](){var _0x24139d=_0x303884;[_0x3fc30e][_0x24139d(0x196)](_0x1fff9e=>{var _0x2b983a=_0x24139d;this[_0x2b983a(0x1ac)](this[_0x2b983a(0x186)][_0x2b983a(0x165)](_0x1fff9e));});}['_initializeMenus'](){var _0x4b04e4=_0x303884;this[_0x4b04e4(0x136)][_0x4b04e4(0x1fa)](_0x318956);}},_0x34fc26['MCPUIMenuController']=_0x207f8d([_0x4b2e31(0x0,_0x1e644d['ICommandService']),_0x4b2e31(0x1,_0x146876[_0x303884(0x198)])],_0x34fc26[_0x303884(0x295)]);const _0x57e94b={'mcpStatus':{'disconnected':_0x303884(0x201),'connecting':'MCP\x20Connecting...','connected':_0x303884(0x234),'failed':_0x303884(0x1fc),'retrying':'MCP\x20Retrying...','unknown':_0x303884(0x12d),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x303884(0x271),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x303884(0x245),'clickToConfigure':_0x303884(0x284)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x303884(0x2b2),'apiKey':_0x303884(0x223),'apiKeyPlaceholder':_0x303884(0x22b),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x303884(0x1e3),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x303884(0x220),'mcpClientConfig':_0x303884(0x220),'configInstructions':_0x303884(0x207),'configStepTitle':_0x303884(0x1b3),'configStep1':_0x303884(0x149),'configStep2':_0x303884(0x14d),'configStep3':_0x303884(0x218),'sessionId':_0x303884(0x132),'sessionIdDescription':_0x303884(0x1ef),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x303884(0x133),'maxRetries':_0x303884(0x1d6),'save':'Save\x20Configuration','saving':_0x303884(0x222),'note1':_0x303884(0x22a),'note2':_0x303884(0x259),'configSaved':_0x303884(0x194),'configError':_0x303884(0x1b9),'apiApplyInfo':{'title':_0x303884(0x16a),'description':_0x303884(0x20d),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x303884(0x13c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x303884(0x25d),'invalidConfig':_0x303884(0x23e),'invalidApiKey':_0x303884(0x158)},'connectionStatus':{'disconnected':_0x303884(0x1cb),'connecting':_0x303884(0x1f7),'connected':'Connected','failed':_0x303884(0x19f),'retrying':_0x303884(0x19c)},'connectionError':{'unauthorized':_0x303884(0x2b4),'sessionOccupied':_0x303884(0x227),'networkError':_0x303884(0x188),'maxRetriesExceeded':_0x303884(0x12b)}}},_0x7253a7={'mcpStatus':{'disconnected':_0x303884(0x235),'connecting':_0x303884(0x1f2),'connected':_0x303884(0x1b5),'failed':'MCP\x20连接失败','retrying':_0x303884(0x2b5),'unknown':'MCP\x20状态未知','unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x303884(0x204),'maxRetriesExceeded':_0x303884(0x22e),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x303884(0x16b)},'mcpConfig':{'title':_0x303884(0x135),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x303884(0x23d),'apiKeyPlaceholder':_0x303884(0x145),'apiKeyHint':_0x303884(0x261),'enableAuth':_0x303884(0x1e7),'enableAuthHint':_0x303884(0x1e8),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x303884(0x1e4),'configInstructions':_0x303884(0x1df),'configStepTitle':_0x303884(0x1dc),'configStep1':_0x303884(0x17a),'configStep2':_0x303884(0x23f),'configStep3':_0x303884(0x254),'sessionId':_0x303884(0x1f4),'sessionIdDescription':_0x303884(0x27a),'authorizationDescription':_0x303884(0x18b),'configParameters':'配置参数:','maxRetries':_0x303884(0x226),'save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':_0x303884(0x1d9),'configSaved':'配置保存成功','configError':_0x303884(0x266),'apiApplyInfo':{'title':_0x303884(0x130),'description':_0x303884(0x29f),'univerAiLabel':_0x303884(0x125),'getStarted':_0x303884(0x289)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x303884(0x25f),'invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x303884(0x286),'connecting':_0x303884(0x285),'connected':_0x303884(0x258),'failed':_0x303884(0x148),'retrying':_0x303884(0x1f9)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x303884(0x212),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x303884(0x208)}}};var _0xa98f4c=Object[_0x303884(0x27c)],_0x2acf24=Object[_0x303884(0x248)],_0x335ae7=(_0x58990c,_0x1fad9a,_0x101338)=>_0x1fad9a in _0x58990c?_0xa98f4c(_0x58990c,_0x1fad9a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x101338}):_0x58990c[_0x1fad9a]=_0x101338,_0x37a1d8=(_0x31eb72,_0x117c9a,_0x4717e1,_0x3b4f49)=>{for(var _0x452237=_0x3b4f49>0x1?void 0x0:_0x3b4f49?_0x2acf24(_0x117c9a,_0x4717e1):_0x117c9a,_0x20fc9b=_0x31eb72['length']-0x1,_0x44c9d8;_0x20fc9b>=0x0;_0x20fc9b--)(_0x44c9d8=_0x31eb72[_0x20fc9b])&&(_0x452237=_0x44c9d8(_0x452237)||_0x452237);return _0x452237;},_0xdf73b7=(_0xc27f6b,_0x5ac9be)=>(_0x2cdb57,_0x40b4fd)=>_0x5ac9be(_0x2cdb57,_0x40b4fd,_0xc27f6b),_0x3f2d18=(_0x16d5d2,_0x2c692f,_0x2d26ce)=>_0x335ae7(_0x16d5d2,_0x2c692f+'',_0x2d26ce);_0x34fc26[_0x303884(0x12e)]=class extends _0x1e644d['Plugin']{constructor(_0x5ad35b=_0x5899c4,_0x48364d,_0xc102f6,_0x211f8c,_0x1138fe,_0x58a234){var _0x2605d9=_0x303884;super(),this['_config']=_0x5ad35b,this['_injector']=_0x48364d,this['_configService']=_0xc102f6,this['_uiPartsService']=_0x211f8c,this[_0x2605d9(0x21b)]=_0x1138fe,this[_0x2605d9(0x283)]=_0x58a234;const {..._0x1cb332}=_0x1e644d[_0x2605d9(0x2c0)]({},_0x5899c4,this[_0x2605d9(0x2b7)]);this[_0x2605d9(0x1cd)][_0x2605d9(0x1d4)](_0x46e45b,_0x1cb332);}async[_0x303884(0x168)](){var _0x38a69e=_0x303884;const _0x24f956=[[_0x34fc26[_0x38a69e(0x216)]],[_0x34fc26[_0x38a69e(0x1da)]],[_0x34fc26[_0x38a69e(0x295)]]];this[_0x38a69e(0x205)][_0x38a69e(0x1eb)](_0x54dff2[_0x38a69e(0x1de)])||_0x24f956[_0x38a69e(0x1c4)]([_0x54dff2[_0x38a69e(0x1de)],{'useClass':_0x54dff2[_0x38a69e(0x2a8)]}]),_0x24f956['forEach'](_0x4b0046=>this[_0x38a69e(0x205)][_0x38a69e(0x230)](_0x4b0046)),this[_0x38a69e(0x205)][_0x38a69e(0x1af)](_0x34fc26[_0x38a69e(0x216)]),this[_0x38a69e(0x205)]['get'](_0x34fc26[_0x38a69e(0x1da)]),this[_0x38a69e(0x205)][_0x38a69e(0x1af)](_0x34fc26[_0x38a69e(0x295)]);}},_0x3f2d18(_0x34fc26['UniverMCPUIPlugin'],'pluginName',_0x303884(0x17b)),_0x34fc26[_0x303884(0x12e)]=_0x37a1d8([_0x1e644d[_0x303884(0x173)](_0x772097[_0x303884(0x26d)]),_0xdf73b7(0x1,_0x1e644d[_0x303884(0x1c6)](_0x1e644d[_0x303884(0x255)])),_0xdf73b7(0x2,_0x1e644d[_0x303884(0x12a)]),_0xdf73b7(0x3,_0x146876[_0x303884(0x193)]),_0xdf73b7(0x4,_0x1e644d[_0x303884(0x1d2)]),_0xdf73b7(0x5,_0x1e644d[_0x303884(0x1c6)](_0x1e644d[_0x303884(0x1a0)]))],_0x34fc26['UniverMCPUIPlugin']),_0x34fc26[_0x303884(0x225)]=_0x902359,_0x34fc26[_0x303884(0x249)]=_0x532093,_0x34fc26[_0x303884(0x19b)]=_0x3fc30e,_0x34fc26[_0x303884(0x276)]=_0x57e94b,_0x34fc26['zhCN']=_0x7253a7,Object['defineProperty'](_0x34fc26,Symbol['toStringTag'],{'value':_0x303884(0x1c9)});}));function _0x4b31(){var _0x3e7a98=['https://console.univer.ai','push','check-mark-icon','Inject','on-line-icon','showStatus','Module','mcpStatus.maxRetriesExceeded','Disconnected','useCallback','_configService','url(#off-line-icon_clip0_910_343)','univer-text-xs\x20univer-text-gray-600','indexOf','_uiPartsService','ILocalStorageService','fill','setConfig','UniverIcon','Max\x20Retries','exports','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','您的\x20API\x20密钥安全存储在本地存储中','MCPConfigUIController','_registerComponent','配置步骤:','UniverProMcpUi','ISocketService','将以下配置添加到您的\x20MCP\x20客户端设置中:','useRef','mcpConfig.configStep1','mcpConfig.connectionError.maxRetriesExceeded','Enable\x20Authentication','MCP\x20客户端配置','mask','COMMAND','启用身份验证','启用身份验证以获得安全连接','attrs','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','has','mcpStatus.connected','CONNECTED','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','mcpStatus.unknown','UniverProMcp','MCP\x20连接中...','MCP\x20Configuration','会话ID','mcpConfig.apiKeyPlaceholder','tag','Connecting...','HelpSingle','重连中...','mergeMenu','mcpConfig.saving','MCP\x20Connection\x20Failed','<API_KEY>','Error','mcpConfig.connectionStatus.disconnected','mcpConfig.note2','MCP\x20Disconnected','{\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=','9733653fnlPut','MCP:\x20网络错误','_injector','value','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','超出最大重试次数,请稍后再试','MenuIcon','univer-text-xs\x20univer-text-gray-500','@univerjs/core','svg','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','_mcpConnectionController','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','0\x200\x2016\x2016','mcpConfig.connectionInfo','会话\x20ID\x20已被占用,请稍后再试','jsxs','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.apiApplyInfo.title','MCPConnectionUIController','colorChannel1','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','_componentManager','children','_localStorageService','univer-text-sm\x20univer-font-medium','mcpConfig.authorizationDescription','mcp-config-dialog','mcpConfig.connectionStatus.failed','MCP\x20Client\x20Configuration','mcpConfig.title','Saving...','API\x20Key','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCPConfigPanel','最大重试次数','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','label','help-single','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enter\x20your\x20API\x20key','ILogService','mcpConfig.description','MCP:\x20超出最大重试次数','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','add','MAX_RETRIES_EXCEEDED','mcpStatus.sessionOccupied','@univerjs/ui','MCP\x20Connected','MCP\x20已断开','@univerjs/design','univer-text-white','javascript:void(0)','connectionStatus$','mcpConfig.validation.invalidConfig','univer_session_id:','29725VPkqBr','API\x20密钥','Invalid\x20configuration','将配置添加到您的\x20MCP\x20客户端设置文件中','forwardRef','subscribeConfigValue$','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.ai','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Click\x20to\x20connect\x20MCP','replace','mcpConfig.configParameters','getOwnPropertyDescriptor','MCPStatusDisplay','Configuration\x20Notes:','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','displayName','mcpStatus.clickToConfigure','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','UniverDesign','_mcpCoreConfig$','object','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.configStepTitle','重启您的\x20MCP\x20客户端以使配置生效','Injector','clipPath','_apiKey$','已连接','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-space-y-2','@univerjs-pro/mcp','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','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.configStep3','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.configError','您的\x20API\x20密钥将在此浏览器中本地存储','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCPConnectionStatus','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','配置保存失败','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','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','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','univer-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','CONNECTING','_logService','UniverMCPPlugin','\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','close-small-single','showDeveloperTools','MCP:\x20Session\x20ID\x20Occupied','clsx','_initStatusComponent','univer-flex-shrink-0\x20univer-text-red-500','BehaviorSubject','enUS','register','Input','M0\x200H16V16H0z','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','IMessageService','defineProperty','CommandType','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','span','72xgWjpO','univer-text-blue-600','1376480Bpwmgf','_localeService','Click\x20to\x20configure\x20MCP','连接中...','未连接','univer-flex\x20univer-gap-3','https://console.univer.plus','几秒钟内获取您的\x20API\x20密钥','concat','evenodd','rxjs','close','enableAutoConnect','sessionId$','assign','mcpConfig.connectionError.unauthorized','Close','trim','getItem','MCPUIMenuController','round','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','extend','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','IDialogService','SESSION_ID_OCCUPIED','includes','mcp.apiKey','defs','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','createElement','MCP_PLUGIN_CONFIG_KEY','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','apply','validateApiKey','mcpConfig.apiApplyInfo.getStarted','UniverUi','M5.21243\x2012.287L11.8791\x205.62036','WebSocketService','univer-flex\x20univer-items-center\x20univer-gap-2','map','off-line-icon','amd','mcpConfig.save','\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','_connectionController','currentColor','mcpConfig.apiApplyInfo.description','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','HEADER_MENU','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20重连中...','connectInjector','_config','Bearer\x20','univer-text-gray-400','univer-text-red-500','_createConfigPanelComponent','mcpStatus.retrying','http://www.w3.org/2000/svg','use','mcpStatus.failed','merge','Univer\x20AI\x20控制台','Authorization:','FAILED','_loadStoredApiKey','jsx','IConfigService','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','url(#$1','MCP\x20Unknown\x20Status','UniverMCPUIPlugin','_config$','什么是\x20API\x20密钥?','univer-flex\x20univer-items-center\x20univer-gap-3','Session\x20ID','Configuration\x20Parameters:','length','MCP\x20配置','_menuManagerService','next','_initAutoConnect','univer-space-y-4','univer-flex\x20univer-items-start\x20univer-gap-2','univer-flex\x20univer-items-start\x20univer-gap-3','Get\x20your\x20API\x20key\x20in\x20seconds','Tooltip','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','useDependency','univer-text-yellow-500','mcpStatus.networkError','M5.21243\x205.62036L11.8791\x2012.287','mcpStatus.disconnected','warn','请输入您的\x20API\x20密钥','0\x200\x2017\x2016','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','连接失败','Copy\x20the\x20JSON\x20configuration\x20below','hasOwnProperty','OffLineIcon','univer.plus','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpStatus.unauthorized','isValid','__setCustomHeaders','react','defIds','mcpConfig.validation.apiKeyRequired','MCPConnectionController','show','url(#on-line-icon_clip0_910_349)','UniverNetwork','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-bg-red-500','useObservable','errorMessage','call','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','path','className','univer-font-medium','univer-flex\x20univer-items-center','mcpConfig.validation.apiKeyTooShort','mcpConfig.connectionStatus.connected','854406JzvxFJ','registerCommand','univer-space-y-3','UNAUTHORIZED','onStarting','NONE','What\x20is\x20API\x20Key?','点击配置\x20MCP','_handleConfigSave','DISCONNECTED','noopener\x20noreferrer','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_messageService','4DJDgeY','DependentOn','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','_handleConfigure','none','mcpConfig.connectionStatus.retrying','substring','MCPConnectionError','复制以下\x20JSON\x20配置','MCP_UI_PLUGIN','_initializeCommands','@univerjs/network','React','string','3619220aQMuLZ','_initConfigSync','xlink:href','CloseSmallSingle','showConfigPanel','apiKey','_commandService','mcpConfig.apiKeyHint','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','open','getCurrentConfig','带有\x20Bearer\x20前缀的\x20API\x20密钥。','1em','connectionError$','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','NETWORK_ERROR','symbol','mcpConfig.apiApplyInfo.univerAiLabel','univer-text-sm\x20univer-text-gray-500','IUIPartsService','Configuration\x20saved\x20successfully','mcpServerUrl','forEach','error','IMenuManagerService','pre','90633440RmFszE','OpenMCPConfigPanelCommand','Retrying...','mcpConfig.apiKey','_loading$','Connection\x20Failed','LocaleService','propertyIsEnumerable','Disposable','mcpConfig.validation.invalidApiKey','getConfig','prototype','5508183vuXeQb','text','off-line-icon_clip0_910_343','univer-min-w-0\x20univer-flex-1','_dialogService','\x20-\x20','disposeWithMe','function','MenuItemType','get','div','Button','\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','Configuration\x20Steps:','univer-flex-1','MCP\x20已连接','icon','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','894cIxcpG','Failed\x20to\x20save\x20configuration','univer-bg-gray-500','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','\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','mcpConfig.configSaved','_validateConfig','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.connectionError.networkError','current','RETRYING'];_0x4b31=function(){return _0x3e7a98;};return _0x4b31();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x27c99e,_0x2bb690){var _0x187333=_0x578d,_0x290f8a=_0x27c99e();while(!![]){try{var _0x478808=-parseInt(_0x187333(0x201))/0x1+parseInt(_0x187333(0x202))/0x2*(-parseInt(_0x187333(0x1f5))/0x3)+parseInt(_0x187333(0x1fd))/0x4+-parseInt(_0x187333(0x1f1))/0x5*(-parseInt(_0x187333(0x217))/0x6)+-parseInt(_0x187333(0x200))/0x7*(parseInt(_0x187333(0x1f2))/0x8)+parseInt(_0x187333(0x1f9))/0x9*(-parseInt(_0x187333(0x21b))/0xa)+parseInt(_0x187333(0x1f8))/0xb;if(_0x478808===_0x2bb690)break;else _0x290f8a['push'](_0x290f8a['shift']());}catch(_0x5bb339){_0x290f8a['push'](_0x290f8a['shift']());}}}(_0x7c56,0x96b30),function(_0x1241f1,_0x30bdc1){var _0x4d16cd=_0x578d;typeof exports==_0x4d16cd(0x1fb)&&typeof module<'u'?module[_0x4d16cd(0x208)]=_0x30bdc1():typeof define=='function'&&define['amd']?define(_0x30bdc1):(_0x1241f1=typeof globalThis<'u'?globalThis:_0x1241f1||self,_0x1241f1['UniverProMcpUiCaES']=_0x30bdc1());}(this,function(){'use strict';var _0x5c8f0f=_0x578d;return{'mcpStatus':{'disconnected':_0x5c8f0f(0x21c),'connecting':'MCP\x20Connecting...','connected':_0x5c8f0f(0x1ed),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5c8f0f(0x218),'unknown':_0x5c8f0f(0x1e8),'unauthorized':_0x5c8f0f(0x1f3),'sessionOccupied':_0x5c8f0f(0x1ef),'networkError':_0x5c8f0f(0x219),'maxRetriesExceeded':_0x5c8f0f(0x20d),'clickToConnect':_0x5c8f0f(0x1e5),'clickToConfigure':_0x5c8f0f(0x1e6)},'mcpConfig':{'title':_0x5c8f0f(0x20c),'description':_0x5c8f0f(0x209),'apiKey':_0x5c8f0f(0x213),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5c8f0f(0x1ff),'connectionInfo':_0x5c8f0f(0x216),'mcpClientConfig':_0x5c8f0f(0x216),'configInstructions':_0x5c8f0f(0x1ea),'configStepTitle':_0x5c8f0f(0x1e7),'configStep1':_0x5c8f0f(0x205),'configStep2':_0x5c8f0f(0x211),'configStep3':_0x5c8f0f(0x20e),'sessionId':_0x5c8f0f(0x1e9),'sessionIdDescription':_0x5c8f0f(0x1f4),'authorizationDescription':_0x5c8f0f(0x20a),'configParameters':_0x5c8f0f(0x1ec),'maxRetries':_0x5c8f0f(0x210),'save':'Save\x20Configuration','saving':_0x5c8f0f(0x20f),'note1':_0x5c8f0f(0x1fa),'note2':_0x5c8f0f(0x206),'configSaved':_0x5c8f0f(0x1fc),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5c8f0f(0x215),'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':_0x5c8f0f(0x1f6),'getStarted':_0x5c8f0f(0x204)},'validation':{'apiKeyRequired':_0x5c8f0f(0x1f0),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5c8f0f(0x1f7),'invalidApiKey':_0x5c8f0f(0x1eb)},'connectionStatus':{'disconnected':_0x5c8f0f(0x1fe),'connecting':_0x5c8f0f(0x1ee),'connected':_0x5c8f0f(0x20b),'failed':_0x5c8f0f(0x203),'retrying':_0x5c8f0f(0x207)},'connectionError':{'unauthorized':_0x5c8f0f(0x214),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5c8f0f(0x21a),'maxRetriesExceeded':_0x5c8f0f(0x212)}}};}));function _0x578d(_0x409b59,_0x2018a6){var _0x7c5692=_0x7c56();return _0x578d=function(_0x578dad,_0x33bebe){_0x578dad=_0x578dad-0x1e5;var _0x57bde5=_0x7c5692[_0x578dad];return _0x57bde5;},_0x578d(_0x409b59,_0x2018a6);}function _0x7c56(){var _0x5daa31=['Configuration\x20saved\x20successfully','1742852FyYyfT','Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','7XiMICB','374610jWuBXB','4UBiZKg','Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Retrying...','exports','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20with\x20Bearer\x20prefix.','Connected','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','Max\x20Retries','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','6vcFaYl','MCP\x20Retrying...','MCP:\x20Network\x20Error','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','10hAIAtZ','MCP\x20Disconnected','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','Configuration\x20Steps:','MCP\x20Unknown\x20Status','Session\x20ID','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20Parameters:','MCP\x20Connected','Connecting...','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20is\x20required','4828610gtRefo','1426040LlwpzM','MCP:\x20Unauthorized','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1454298UmaaRO','Univer\x20AI\x20Console','Invalid\x20configuration','14737745kRRaAn','5414121ehbMux','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','object'];_0x7c56=function(){return _0x5daa31;};return _0x7c56();}
|