@univerjs-pro/mcp-ui 0.10.10-experimental.20251010-3f807c5 → 0.10.10-nightly.202510170942
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 +8 -8
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1be3(_0x3f9a6a,_0x2be185){const _0x50001b=_0x5000();return _0x1be3=function(_0x1be3c9,_0xf57846){_0x1be3c9=_0x1be3c9-0x16a;let _0x437f85=_0x50001b[_0x1be3c9];return _0x437f85;},_0x1be3(_0x3f9a6a,_0x2be185);}function _0x5000(){const _0x1b0297=['1072QzlSft','Configuration\x20saved\x20successfully','Saving...','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Session\x20ID\x20Occupied','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Steps:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connecting...','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connected','Disconnected','6061ihwZQi','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2492960szfkOG','1757978OGEfoj','Session\x20ID','Click\x20to\x20connect\x20MCP','MCP\x20Connection\x20Failed','Enter\x20your\x20API\x20key','1lyVnVx','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','Click\x20to\x20configure\x20MCP','727601qXMqJU','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20with\x20Bearer\x20prefix.','10BuQaXo','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','2577186ZGmqRR','8616legamQ','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','Get\x20your\x20API\x20key\x20in\x20seconds','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Retrying...','Save\x20Configuration','9183LEzbbb','Enable\x20Authentication','MCP\x20Connected','3297771APGWER','8TWYmZx'];_0x5000=function(){return _0x1b0297;};return _0x5000();}const _0x41fe20=_0x1be3;(function(_0x7febb0,_0x33e3f6){const _0x288e7d=_0x1be3,_0x286aa9=_0x7febb0();while(!![]){try{const _0x39ce23=parseInt(_0x288e7d(0x180))/0x1*(-parseInt(_0x288e7d(0x17b))/0x2)+parseInt(_0x288e7d(0x192))/0x3*(parseInt(_0x288e7d(0x197))/0x4)+parseInt(_0x288e7d(0x187))/0x5*(parseInt(_0x288e7d(0x18a))/0x6)+-parseInt(_0x288e7d(0x184))/0x7+parseInt(_0x288e7d(0x196))/0x8*(-parseInt(_0x288e7d(0x195))/0x9)+-parseInt(_0x288e7d(0x17a))/0xa+-parseInt(_0x288e7d(0x178))/0xb*(-parseInt(_0x288e7d(0x18b))/0xc);if(_0x39ce23===_0x33e3f6)break;else _0x286aa9['push'](_0x286aa9['shift']());}catch(_0x4f6b38){_0x286aa9['push'](_0x286aa9['shift']());}}}(_0x5000,0x744dd));const e={'mcpStatus':{'disconnected':_0x41fe20(0x171),'connecting':'MCP\x20Connecting...','connected':_0x41fe20(0x194),'failed':_0x41fe20(0x17e),'retrying':_0x41fe20(0x182),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x41fe20(0x16b),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x41fe20(0x17d),'clickToConfigure':_0x41fe20(0x183)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x41fe20(0x16d),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x41fe20(0x17f),'apiKeyHint':_0x41fe20(0x16e),'enableAuth':_0x41fe20(0x193),'enableAuthHint':_0x41fe20(0x181),'connectionInfo':_0x41fe20(0x18c),'mcpClientConfig':_0x41fe20(0x18c),'configInstructions':_0x41fe20(0x179),'configStepTitle':_0x41fe20(0x16f),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x41fe20(0x188),'configStep3':_0x41fe20(0x16a),'sessionId':_0x41fe20(0x17c),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x41fe20(0x186),'configParameters':_0x41fe20(0x18d),'maxRetries':_0x41fe20(0x16c),'save':_0x41fe20(0x191),'saving':_0x41fe20(0x199),'note1':_0x41fe20(0x185),'note2':_0x41fe20(0x189),'configSaved':_0x41fe20(0x198),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x41fe20(0x19a),'description':_0x41fe20(0x170),'univerAiLabel':_0x41fe20(0x19b),'getStarted':_0x41fe20(0x18e)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x41fe20(0x172),'invalidConfig':_0x41fe20(0x174),'invalidApiKey':_0x41fe20(0x175)},'connectionStatus':{'disconnected':_0x41fe20(0x177),'connecting':_0x41fe20(0x173),'connected':_0x41fe20(0x176),'failed':'Connection\x20Failed','retrying':_0x41fe20(0x190)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x41fe20(0x18f),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x520aba=_0x4124;(function(_0x292733,_0x957a4d){const _0xa18efe=_0x4124,_0x5e8026=_0x292733();while(!![]){try{const _0x52a1c9=parseInt(_0xa18efe(0xdc))/0x1*(-parseInt(_0xa18efe(0xd9))/0x2)+-parseInt(_0xa18efe(0xf0))/0x3*(parseInt(_0xa18efe(0xe0))/0x4)+-parseInt(_0xa18efe(0xd8))/0x5*(parseInt(_0xa18efe(0xfb))/0x6)+-parseInt(_0xa18efe(0xf2))/0x7+parseInt(_0xa18efe(0xe5))/0x8*(parseInt(_0xa18efe(0xcc))/0x9)+-parseInt(_0xa18efe(0xd0))/0xa+parseInt(_0xa18efe(0xe4))/0xb*(parseInt(_0xa18efe(0xd3))/0xc);if(_0x52a1c9===_0x957a4d)break;else _0x5e8026['push'](_0x5e8026['shift']());}catch(_0x489270){_0x5e8026['push'](_0x5e8026['shift']());}}}(_0x13ba,0x977d2));function _0x4124(_0x5812b0,_0x381261){const _0x13ba2f=_0x13ba();return _0x4124=function(_0x412437,_0x37ba43){_0x412437=_0x412437-0xcb;let _0x15346c=_0x13ba2f[_0x412437];return _0x15346c;},_0x4124(_0x5812b0,_0x381261);}function _0x13ba(){const _0x9b0a6a=['MCP\x20Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','282663TcYtRG','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','Connection\x20Failed','12058070HVnZvs','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','780dVogEu','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1329640qZVSsj','401468whsXxU','Failed\x20to\x20save\x20configuration','Disconnected','2hTnuvP','MCP\x20Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Disconnected','19284ZHnoQl','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','527351oOZhAg','264MvnNvo','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20is\x20required','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connected','Configuration\x20Steps:','633aiEGON','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','768656sSTCWc','Connected','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','API\x20Key','Enter\x20your\x20API\x20key','Retrying...','MCP:\x20Network\x20Error','18iVpzJD'];_0x13ba=function(){return _0x9b0a6a;};return _0x13ba();}const e={'mcpStatus':{'disconnected':_0x520aba(0xdf),'connecting':_0x520aba(0xdd),'connected':_0x520aba(0xee),'failed':_0x520aba(0xfc),'retrying':_0x520aba(0xf6),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x520aba(0xfa),'maxRetriesExceeded':_0x520aba(0xf5),'clickToConnect':_0x520aba(0xec),'clickToConfigure':_0x520aba(0xeb)},'mcpConfig':{'title':_0x520aba(0xce),'description':_0x520aba(0xe6),'apiKey':_0x520aba(0xf7),'apiKeyPlaceholder':_0x520aba(0xf8),'apiKeyHint':_0x520aba(0xf1),'enableAuth':_0x520aba(0xea),'enableAuthHint':_0x520aba(0xe1),'connectionInfo':_0x520aba(0xd1),'mcpClientConfig':_0x520aba(0xd1),'configInstructions':_0x520aba(0xd4),'configStepTitle':_0x520aba(0xef),'configStep1':_0x520aba(0xe9),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x520aba(0xcd),'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':_0x520aba(0xe3),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x520aba(0xf4),'saving':'Saving...','note1':_0x520aba(0xd2),'note2':_0x520aba(0xd5),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x520aba(0xda),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x520aba(0xd7),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x520aba(0xed)},'validation':{'apiKeyRequired':_0x520aba(0xe8),'apiKeyTooShort':_0x520aba(0xcb),'invalidConfig':_0x520aba(0xe2),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x520aba(0xdb),'connecting':'Connecting...','connected':_0x520aba(0xf3),'failed':_0x520aba(0xcf),'retrying':_0x520aba(0xf9)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x520aba(0xe7),'networkError':_0x520aba(0xde),'maxRetriesExceeded':_0x520aba(0xd6)}}},n=e;export{n as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x590a(){const _0x55373a=['重连中...','API\x20密钥无效,请检查密钥是否正确','您的\x20API\x20密钥将在此浏览器中本地存储','12576hjBlMn','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP:\x20超出最大重试次数','API\x20密钥','点击配置\x20MCP','MCP\x20已连接','保存配置','配置保存成功','带有\x20Bearer\x20前缀的\x20API\x20密钥。','点击连接\x20MCP','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置无效','MCP\x20状态未知','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20重连中...','9FlIbEp','权限验证失败,请检查您的\x20API\x20密钥','网络连接错误,请检查您的网络连接','配置步骤:','会话\x20ID\x20已被占用,请稍后再试','超出最大重试次数,请稍后再试','会话ID','5280348tXmYQj','15320xIKxVQ','225WWZSCs','API\x20密钥不能为空','保存中...','重启您的\x20MCP\x20客户端以使配置生效','MCP\x20客户端配置','33QYjKVz','API\x20密钥长度至少需要\x2010\x20位','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','4IUgEXM','MCP:\x20网络错误','MCP\x20连接中...','MCP\x20配置','复制以下\x20JSON\x20配置','已连接','连接失败','Univer\x20AI\x20控制台','13931410rPeCWe','MCP\x20已断开','263058WFeLwN','什么是\x20API\x20密钥?','1870176RTHSOP','MCP:\x20未授权','1109673jGyKuU','配置更改将立即生效','您的\x20API\x20密钥安全存储在本地存储中','几秒钟内获取您的\x20API\x20密钥','2611fsWpCR','未连接'];_0x590a=function(){return _0x55373a;};return _0x590a();}function _0x1679(_0x3d7e04,_0x46c22c){const _0x590acd=_0x590a();return _0x1679=function(_0x16792c,_0x4db7a5){_0x16792c=_0x16792c-0xc4;let _0x57ecf6=_0x590acd[_0x16792c];return _0x57ecf6;},_0x1679(_0x3d7e04,_0x46c22c);}const _0x540400=_0x1679;(function(_0x171bd3,_0x3dc6d9){const _0x563330=_0x1679,_0x19f079=_0x171bd3();while(!![]){try{const _0x48d67c=parseInt(_0x563330(0xe4))/0x1+-parseInt(_0x563330(0xda))/0x2*(-parseInt(_0x563330(0xe8))/0x3)+parseInt(_0x563330(0xe6))/0x4+-parseInt(_0x563330(0xd2))/0x5*(parseInt(_0x563330(0xf1))/0x6)+parseInt(_0x563330(0xec))/0x7*(-parseInt(_0x563330(0xd1))/0x8)+parseInt(_0x563330(0xc9))/0x9*(parseInt(_0x563330(0xe2))/0xa)+parseInt(_0x563330(0xd7))/0xb*(-parseInt(_0x563330(0xd0))/0xc);if(_0x48d67c===_0x3dc6d9)break;else _0x19f079['push'](_0x19f079['shift']());}catch(_0x3ad15e){_0x19f079['push'](_0x19f079['shift']());}}}(_0x590a,0xb3667));const e={'mcpStatus':{'disconnected':_0x540400(0xe3),'connecting':_0x540400(0xdc),'connected':_0x540400(0xf6),'failed':'MCP\x20连接失败','retrying':_0x540400(0xc8),'unknown':_0x540400(0xc6),'unauthorized':_0x540400(0xe7),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x540400(0xdb),'maxRetriesExceeded':_0x540400(0xf3),'clickToConnect':_0x540400(0xfa),'clickToConfigure':_0x540400(0xf5)},'mcpConfig':{'title':_0x540400(0xdd),'description':_0x540400(0xc7),'apiKey':_0x540400(0xf4),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x540400(0xf0),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x540400(0xd6),'mcpClientConfig':_0x540400(0xd6),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x540400(0xcc),'configStep1':_0x540400(0xde),'configStep2':_0x540400(0xf2),'configStep3':_0x540400(0xd5),'sessionId':_0x540400(0xcf),'sessionIdDescription':_0x540400(0xd9),'authorizationDescription':_0x540400(0xf9),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x540400(0xf7),'saving':_0x540400(0xd4),'note1':_0x540400(0xe9),'note2':_0x540400(0xea),'configSaved':_0x540400(0xf8),'configError':'配置保存失败','apiApplyInfo':{'title':_0x540400(0xe5),'description':_0x540400(0xc4),'univerAiLabel':_0x540400(0xe1),'getStarted':_0x540400(0xeb)},'validation':{'apiKeyRequired':_0x540400(0xd3),'apiKeyTooShort':_0x540400(0xd8),'invalidConfig':_0x540400(0xc5),'invalidApiKey':_0x540400(0xef)},'connectionStatus':{'disconnected':_0x540400(0xed),'connecting':'连接中...','connected':_0x540400(0xdf),'failed':_0x540400(0xe0),'retrying':_0x540400(0xee)},'connectionError':{'unauthorized':_0x540400(0xca),'sessionOccupied':_0x540400(0xcd),'networkError':_0x540400(0xcb),'maxRetriesExceeded':_0x540400(0xce)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3d0743=_0x4ce8;function _0x4ce8(_0x3f449d,_0x4ffc61){const _0x44dba4=_0x44db();return _0x4ce8=function(_0x4ce8ee,_0x5db9b5){_0x4ce8ee=_0x4ce8ee-0xee;let _0x1c753e=_0x44dba4[_0x4ce8ee];return _0x1c753e;},_0x4ce8(_0x3f449d,_0x4ffc61);}function _0x44db(){const _0x35fae4=['API\x20Key','MCP\x20Configuration','961373FATxAb','MCP\x20Connecting...','724TtrSVi','MCP\x20Unknown\x20Status','2151qDhUOW','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','24Menfaw','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','22830jkOTSn','84494LBwvvr','MCP\x20Client\x20Configuration','MCP\x20Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connected','4874598AmAtzB','Enable\x20Authentication','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','15830SROSjb','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Unauthorized','5873328HxmUNH','Connection\x20Failed','Failed\x20to\x20save\x20configuration','6543537bUdwKj','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Copy\x20the\x20JSON\x20configuration\x20below','Max\x20Retries','Click\x20to\x20configure\x20MCP','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x44db=function(){return _0x35fae4;};return _0x44db();}(function(_0x24c0b7,_0x20ebfc){const _0x1d59a6=_0x4ce8,_0x3d6f5e=_0x24c0b7();while(!![]){try{const _0x3e3aa1=parseInt(_0x1d59a6(0x10a))/0x1+-parseInt(_0x1d59a6(0x11d))/0x2*(parseInt(_0x1d59a6(0x115))/0x3)+-parseInt(_0x1d59a6(0x10c))/0x4*(-parseInt(_0x1d59a6(0xf6))/0x5)+-parseInt(_0x1d59a6(0xf1))/0x6+-parseInt(_0x1d59a6(0xfc))/0x7+parseInt(_0x1d59a6(0xf9))/0x8+parseInt(_0x1d59a6(0x10e))/0x9*(parseInt(_0x1d59a6(0x11c))/0xa);if(_0x3e3aa1===_0x20ebfc)break;else _0x3d6f5e['push'](_0x3d6f5e['shift']());}catch(_0x106f81){_0x3d6f5e['push'](_0x3d6f5e['shift']());}}}(_0x44db,0xb1fbe));const e={'mcpStatus':{'disconnected':_0x3d0743(0xee),'connecting':_0x3d0743(0x10b),'connected':_0x3d0743(0xf0),'failed':_0x3d0743(0x10f),'retrying':'MCP\x20Retrying...','unknown':_0x3d0743(0x10d),'unauthorized':_0x3d0743(0xf8),'sessionOccupied':_0x3d0743(0x116),'networkError':_0x3d0743(0xff),'maxRetriesExceeded':_0x3d0743(0xef),'clickToConnect':_0x3d0743(0x112),'clickToConfigure':_0x3d0743(0x105)},'mcpConfig':{'title':_0x3d0743(0x109),'description':_0x3d0743(0x11b),'apiKey':_0x3d0743(0x108),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3d0743(0xfe),'enableAuth':_0x3d0743(0xf2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x3d0743(0x11e),'mcpClientConfig':_0x3d0743(0x11e),'configInstructions':_0x3d0743(0x101),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x3d0743(0x103),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3d0743(0x11a),'sessionIdDescription':_0x3d0743(0xf3),'authorizationDescription':_0x3d0743(0xf5),'configParameters':_0x3d0743(0x119),'maxRetries':_0x3d0743(0x104),'save':'Save\x20Configuration','saving':_0x3d0743(0xf4),'note1':_0x3d0743(0xf7),'note2':_0x3d0743(0x117),'configSaved':_0x3d0743(0x118),'configError':_0x3d0743(0xfb),'apiApplyInfo':{'title':_0x3d0743(0xfd),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3d0743(0x100)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3d0743(0x113),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x3d0743(0x106),'connecting':_0x3d0743(0x111),'connected':'Connected','failed':_0x3d0743(0xfa),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3d0743(0x110),'sessionOccupied':_0x3d0743(0x107),'networkError':_0x3d0743(0x102),'maxRetriesExceeded':_0x3d0743(0x114)}}},n=e;export{n as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5b2f(_0x345406,_0x3e606b){var _0x1c2756=_0x1c27();return _0x5b2f=function(_0x5b2f2c,_0x59ef85){_0x5b2f2c=_0x5b2f2c-0xbf;var _0xa3c97c=_0x1c2756[_0x5b2f2c];return _0xa3c97c;},_0x5b2f(_0x345406,_0x3e606b);}(function(_0x4eed96,_0x5d6d23){var _0x339163=_0x5b2f,_0x31c1c9=_0x4eed96();while(!![]){try{var _0x39db30=-parseInt(_0x339163(0x1ab))/0x1+-parseInt(_0x339163(0x20e))/0x2*(-parseInt(_0x339163(0xe6))/0x3)+parseInt(_0x339163(0x157))/0x4+-parseInt(_0x339163(0x1ee))/0x5+parseInt(_0x339163(0x25f))/0x6+parseInt(_0x339163(0x24e))/0x7+-parseInt(_0x339163(0x161))/0x8*(parseInt(_0x339163(0x206))/0x9);if(_0x39db30===_0x5d6d23)break;else _0x31c1c9['push'](_0x31c1c9['shift']());}catch(_0x2818f6){_0x31c1c9['push'](_0x31c1c9['shift']());}}}(_0x1c27,0xa890c),function(_0x5ca9f6,_0x280d99){var _0x5e12a5=_0x5b2f;typeof exports==_0x5e12a5(0x221)&&typeof module<'u'?_0x280d99(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==_0x5e12a5(0x1a9)&&define[_0x5e12a5(0x18a)]?define([_0x5e12a5(0xd8),_0x5e12a5(0x129),'react/jsx-runtime',_0x5e12a5(0x103),'@univerjs/design',_0x5e12a5(0xe5),'rxjs',_0x5e12a5(0x259),_0x5e12a5(0x1d2)],_0x280d99):(_0x5ca9f6=typeof globalThis<'u'?globalThis:_0x5ca9f6||self,_0x280d99(_0x5ca9f6[_0x5e12a5(0x223)]={},_0x5ca9f6[_0x5e12a5(0x195)],_0x5ca9f6[_0x5e12a5(0xf4)],_0x5ca9f6[_0x5e12a5(0x192)],_0x5ca9f6['UniverDesign'],_0x5ca9f6[_0x5e12a5(0x1f9)],_0x5ca9f6[_0x5e12a5(0x222)],_0x5ca9f6['React'],_0x5ca9f6[_0x5e12a5(0x242)]));}(this,function(_0x45e178,_0x4cb4a4,_0x226867,_0x1eacb9,_0x4e433a,_0x21b9b0,_0x8d71fc,_0x36c1e8,_0x7852fe){'use strict';var _0x38a625=_0x5b2f;var _0x4355c5=Object['defineProperty'],_0x307f6d=(_0x5c5e12,_0x18946d,_0x9229b9)=>_0x18946d in _0x5c5e12?_0x4355c5(_0x5c5e12,_0x18946d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9229b9}):_0x5c5e12[_0x18946d]=_0x9229b9,_0x34d0b9=(_0x190b34,_0x253ae4,_0x15d5c2)=>_0x307f6d(_0x190b34,typeof _0x253ae4!=_0x38a625(0x167)?_0x253ae4+'':_0x253ae4,_0x15d5c2),_0x5cfeef=function(){var _0x505b35=_0x38a625;return _0x5cfeef=Object['assign']||function(_0x1ba0b5){var _0x4575b0=_0x5b2f;for(var _0x449c94,_0x385d0b=0x1,_0x25cc62=arguments[_0x4575b0(0x1b5)];_0x385d0b<_0x25cc62;_0x385d0b++){_0x449c94=arguments[_0x385d0b];for(var _0x37dc88 in _0x449c94)Object['prototype']['hasOwnProperty'][_0x4575b0(0x1db)](_0x449c94,_0x37dc88)&&(_0x1ba0b5[_0x37dc88]=_0x449c94[_0x37dc88]);}return _0x1ba0b5;},_0x5cfeef[_0x505b35(0x177)](this,arguments);},_0x30cb81=function(_0x140631,_0x173172){var _0x58a4c6=_0x38a625,_0x578a2d={};for(var _0x2810d4 in _0x140631)Object[_0x58a4c6(0xd6)][_0x58a4c6(0x253)][_0x58a4c6(0x1db)](_0x140631,_0x2810d4)&&_0x173172[_0x58a4c6(0x199)](_0x2810d4)<0x0&&(_0x578a2d[_0x2810d4]=_0x140631[_0x2810d4]);if(_0x140631!=null&&typeof Object[_0x58a4c6(0x265)]==_0x58a4c6(0x1a9)){for(var _0x231daa=0x0,_0x2810d4=Object[_0x58a4c6(0x265)](_0x140631);_0x231daa<_0x2810d4['length'];_0x231daa++)_0x173172[_0x58a4c6(0x199)](_0x2810d4[_0x231daa])<0x0&&Object[_0x58a4c6(0xd6)][_0x58a4c6(0x144)][_0x58a4c6(0x1db)](_0x140631,_0x2810d4[_0x231daa])&&(_0x578a2d[_0x2810d4[_0x231daa]]=_0x140631[_0x2810d4[_0x231daa]]);}return _0x578a2d;},_0x9ee375=_0x36c1e8[_0x38a625(0xec)](function(_0xc112fe,_0x201f0a){var _0x11c56a=_0x38a625,_0x1e8b5c=_0xc112fe[_0x11c56a(0xcd)],_0x2b1204=_0xc112fe['id'],_0x20e33f=_0xc112fe[_0x11c56a(0xd2)],_0x858296=_0xc112fe[_0x11c56a(0x187)],_0x1fd378=_0x30cb81(_0xc112fe,[_0x11c56a(0xcd),'id','className',_0x11c56a(0x187)]),_0xf31575=_0x11c56a(0x1f3)['concat'](_0x2b1204,'\x20')[_0x11c56a(0x207)](_0x20e33f||'')['trim'](),_0xe546f2=_0x36c1e8[_0x11c56a(0xc3)]('_'[_0x11c56a(0x207)](_0x5ea4e1()));return _0xc66305(_0x1e8b5c,''['concat'](_0x2b1204),{'defIds':_0x1e8b5c[_0x11c56a(0x172)],'idSuffix':_0xe546f2[_0x11c56a(0x1f4)]},_0x5cfeef({'ref':_0x201f0a,'className':_0xf31575},_0x1fd378),_0x858296);});function _0xc66305(_0x55d722,_0x69ab10,_0x20036a,_0x4b79ad,_0x141517){var _0x27bb91=_0x38a625;return _0x36c1e8[_0x27bb91(0xf8)](_0x55d722[_0x27bb91(0x160)],_0x5cfeef(_0x5cfeef({'key':_0x69ab10},_0x26b903(_0x55d722,_0x20036a,_0x141517)),_0x4b79ad),(_0x3069a8(_0x55d722,_0x20036a)[_0x27bb91(0x255)]||[])[_0x27bb91(0x26d)](function(_0x285e60,_0x41c9ec){var _0x2d49dd=_0x27bb91;return _0xc66305(_0x285e60,''[_0x2d49dd(0x207)](_0x69ab10,'-')['concat'](_0x55d722['tag'],'-')[_0x2d49dd(0x207)](_0x41c9ec),_0x20036a,void 0x0,_0x141517);}));}function _0x26b903(_0xc8db50,_0x46dac0,_0x235f73){var _0x7f8758=_0x38a625,_0x44479e=_0x5cfeef({},_0xc8db50[_0x7f8758(0xc5)]);_0x235f73!=null&&_0x235f73[_0x7f8758(0x149)]&&_0x44479e['fill']===_0x7f8758(0x149)&&(_0x44479e[_0x7f8758(0x170)]=_0x235f73[_0x7f8758(0x149)]),_0xc8db50[_0x7f8758(0x160)]===_0x7f8758(0x23c)&&_0x44479e['id']&&(_0x44479e['id']=_0x44479e['id']+_0x46dac0[_0x7f8758(0x162)]),Object['entries'](_0x44479e)[_0x7f8758(0x24c)](function(_0x47249a){var _0x3f898c=_0x7f8758,_0x241f1a=_0x47249a[0x0],_0x469753=_0x47249a[0x1];_0x241f1a==='mask'&&typeof _0x469753=='string'&&(_0x44479e[_0x241f1a]=_0x469753[_0x3f898c(0x1a1)](/url\(#(.*)\)/,_0x3f898c(0x22b)[_0x3f898c(0x207)](_0x46dac0[_0x3f898c(0x162)],')')));});var _0x8d341a=_0x46dac0[_0x7f8758(0x172)];return!_0x8d341a||_0x8d341a[_0x7f8758(0x1b5)]===0x0||(_0xc8db50[_0x7f8758(0x160)]===_0x7f8758(0x191)&&_0x44479e['xlink:href']&&(_0x44479e[_0x7f8758(0x257)]=_0x44479e[_0x7f8758(0x257)]+_0x46dac0[_0x7f8758(0x162)]),Object[_0x7f8758(0x1f8)](_0x44479e)[_0x7f8758(0x24c)](function(_0x1d7a5d){var _0x110185=_0x7f8758,_0x1e8541=_0x1d7a5d[0x0],_0x274006=_0x1d7a5d[0x1];typeof _0x274006==_0x110185(0x254)&&(_0x44479e[_0x1e8541]=_0x274006[_0x110185(0x1a1)](/url\(#(.*)\)/,_0x110185(0x22b)[_0x110185(0x207)](_0x46dac0[_0x110185(0x162)],')')));})),_0x44479e;}function _0x3069a8(_0x4aada5,_0x3b42bf){var _0xc8c2ee=_0x38a625,_0x1fc378,_0x4ba5ce=_0x3b42bf[_0xc8c2ee(0x172)];return!_0x4ba5ce||_0x4ba5ce[_0xc8c2ee(0x1b5)]===0x0?_0x4aada5:_0x4aada5[_0xc8c2ee(0x160)]===_0xc8c2ee(0x1ac)&&(!((_0x1fc378=_0x4aada5['children'])===null||_0x1fc378===void 0x0)&&_0x1fc378['length'])?_0x5cfeef(_0x5cfeef({},_0x4aada5),{'children':_0x4aada5[_0xc8c2ee(0x255)][_0xc8c2ee(0x26d)](function(_0x3f622a){var _0x511fde=_0xc8c2ee;return typeof _0x3f622a[_0x511fde(0xc5)]['id']==_0x511fde(0x254)&&_0x4ba5ce&&_0x4ba5ce[_0x511fde(0xe9)](_0x3f622a[_0x511fde(0xc5)]['id'])?_0x5cfeef(_0x5cfeef({},_0x3f622a),{'attrs':_0x5cfeef(_0x5cfeef({},_0x3f622a[_0x511fde(0xc5)]),{'id':_0x3f622a[_0x511fde(0xc5)]['id']+_0x3b42bf['idSuffix']})}):_0x3f622a;})}):_0x4aada5;}function _0x5ea4e1(){var _0x3087f0=_0x38a625;return Math[_0x3087f0(0x153)]()[_0x3087f0(0x138)](0x24)[_0x3087f0(0x1ec)](0x2,0x8);}_0x9ee375['displayName']='UniverIcon';var _0x1d8e2e={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x38a625(0xce),'viewBox':_0x38a625(0x26c),'width':'1em','height':_0x38a625(0x128)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':'currentColor','d':_0x38a625(0x1e0),'fillRule':_0x38a625(0x10c),'clipRule':'evenodd'}}]},_0x3938c0=_0x36c1e8['forwardRef'](function(_0xf6bc30,_0x3429e5){var _0x58f356=_0x38a625;return _0x36c1e8[_0x58f356(0xf8)](_0x9ee375,Object[_0x58f356(0x121)]({},_0xf6bc30,{'id':_0x58f356(0x200),'ref':_0x3429e5,'icon':_0x1d8e2e}));});_0x3938c0[_0x38a625(0x262)]=_0x38a625(0x1cb);var _0x161a83={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':'none','viewBox':_0x38a625(0x24d),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x38a625(0x13d),'d':_0x38a625(0x12e),'strokeLinecap':'round','strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.33}},{'tag':_0x38a625(0x12f),'attrs':{'stroke':_0x38a625(0x13d),'d':_0x38a625(0x17b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}}]},_0x3d84fc=_0x36c1e8['forwardRef'](function(_0x1e3729,_0x5c3b91){var _0x4a7537=_0x38a625;return _0x36c1e8['createElement'](_0x9ee375,Object[_0x4a7537(0x121)]({},_0x1e3729,{'id':_0x4a7537(0x166),'ref':_0x5c3b91,'icon':_0x161a83}));});_0x3d84fc[_0x38a625(0x262)]='CloseSmallSingle';var _0x1bb5a3={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x38a625(0x26c),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':_0x38a625(0x13d),'d':_0x38a625(0x1fd)}},{'tag':'path','attrs':{'fill':_0x38a625(0x13d),'d':_0x38a625(0x210)}},{'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':_0x38a625(0x10c),'clipRule':_0x38a625(0x10c)}}]},_0x3dbfcf=_0x36c1e8[_0x38a625(0xec)](function(_0x5b32ba,_0x3b816c){var _0x55d617=_0x38a625;return _0x36c1e8[_0x55d617(0xf8)](_0x9ee375,Object[_0x55d617(0x121)]({},_0x5b32ba,{'id':_0x55d617(0x264),'ref':_0x3b816c,'icon':_0x1bb5a3}));});_0x3dbfcf[_0x38a625(0x262)]=_0x38a625(0x25b);var _0x17c646={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':_0x38a625(0xce),'viewBox':_0x38a625(0x26c),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x38a625(0x126)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'stroke':_0x38a625(0x13d),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x38a625(0x218),'strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.2}}]},{'tag':_0x38a625(0x1ac),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x38a625(0xe0)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':_0x38a625(0xc8),'d':_0x38a625(0x240)}}]}]}],'defIds':[_0x38a625(0xe0)]},_0x55fcff=_0x36c1e8[_0x38a625(0xec)](function(_0x1853c8,_0xc6ca8c){var _0x5721fb=_0x38a625;return _0x36c1e8[_0x5721fb(0xf8)](_0x9ee375,Object[_0x5721fb(0x121)]({},_0x1853c8,{'id':_0x5721fb(0xc0),'ref':_0xc6ca8c,'icon':_0x17c646}));});_0x55fcff[_0x38a625(0x262)]=_0x38a625(0x140);var _0x5958ea={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':'none','viewBox':_0x38a625(0xf1),'width':_0x38a625(0x128),'height':_0x38a625(0x128)},'children':[{'tag':'g','attrs':{'clipPath':_0x38a625(0x109)},'children':[{'tag':'path','attrs':{'stroke':_0x38a625(0x13d),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x38a625(0x218),'strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38a625(0x1f1),'attrs':{'id':_0x38a625(0x1c2)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':'white','d':_0x38a625(0x240),'transform':_0x38a625(0x1d0)}}]}]}],'defIds':[_0x38a625(0x1c2)]},_0x1bd988=_0x36c1e8[_0x38a625(0xec)](function(_0x35bf57,_0x5a8942){var _0x32df29=_0x38a625;return _0x36c1e8[_0x32df29(0xf8)](_0x9ee375,Object['assign']({},_0x35bf57,{'id':_0x32df29(0x11a),'ref':_0x5a8942,'icon':_0x5958ea}));});_0x1bd988[_0x38a625(0x262)]=_0x38a625(0x22f);function _0x5205be(_0x4d3fd5){var _0x1f3c76=_0x38a625,_0x2116ed,_0x155abb;const {mcpCoreConfig:_0x477faa,onSave:_0x5b72f7,loading:_0x901473=!0x1,config:_0x53b207,connectionStatus$:_0x308daf,connectionError$:_0x29fce6,currentApiKey$:_0x17cf6e,currentSessionId$:_0x50be1f}=_0x4d3fd5,_0x300c62=_0x21b9b0[_0x1f3c76(0x11c)](_0x4cb4a4[_0x1f3c76(0xda)]),_0x575654=_0x21b9b0[_0x1f3c76(0x25e)](_0x308daf,_0x1eacb9['MCPConnectionStatus'][_0x1f3c76(0x173)]),_0x80314f=_0x21b9b0['useObservable'](_0x29fce6,_0x1eacb9[_0x1f3c76(0x1cc)][_0x1f3c76(0x1da)]),_0x1ea430=_0x21b9b0[_0x1f3c76(0x25e)](_0x50be1f,''),_0x43c8ae=_0x21b9b0[_0x1f3c76(0x25e)](_0x17cf6e,''),[_0x13b41e,_0x4296d9]=_0x36c1e8['useState'](_0x43c8ae||''),_0x375dc5=!0x0,_0x5dd385=_0x53b207[_0x1f3c76(0x23e)]&&_0x477faa[_0x1f3c76(0x1e2)]&&(_0x477faa[_0x1f3c76(0x1e2)][_0x1f3c76(0xe9)](_0x1f3c76(0x1e7))||_0x477faa[_0x1f3c76(0x1e2)]['includes']('univer.ai')),_0x2426f5=(_0x2116ed=_0x477faa['mcpServerUrl'])==null?void 0x0:_0x2116ed['includes'](_0x1f3c76(0x1e7)),_0x14cb34=(_0x155abb=_0x477faa[_0x1f3c76(0x1e2)])==null?void 0x0:_0x155abb['includes'](_0x1f3c76(0x13e)),_0x28a5f2=_0x2426f5?'https://console.univer.plus':_0x1f3c76(0x148),_0x11bd93=_0x53b207[_0x1f3c76(0x23e)]&&(_0x2426f5||_0x14cb34),[_0x3fc4b6,_0x7f4eee]=_0x36c1e8['useState'](!_0x13b41e[_0x1f3c76(0x236)]()),_0x1d48a9=(_0x555396,_0x18714f)=>{var _0x22368e=_0x1f3c76;if(_0x18714f===_0x1eacb9['MCPConnectionError']['UNAUTHORIZED'])return _0x22368e(0xf9);switch(_0x555396){case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x180)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x1eacb9['MCPConnectionStatus'][_0x22368e(0x1f6)]:case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x134)]:return _0x22368e(0xfd);case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x1cd)]:return _0x22368e(0xf9);default:return _0x22368e(0x1d9);}},_0x4a3b61=(_0x258633,_0x2fb006)=>{var _0x381931=_0x1f3c76;if(_0x2fb006===_0x1eacb9[_0x381931(0x1cc)][_0x381931(0x214)])return _0x381931(0x105);switch(_0x258633){case _0x1eacb9[_0x381931(0x241)]['CONNECTED']:return _0x381931(0xf7);case _0x1eacb9[_0x381931(0x241)][_0x381931(0x1f6)]:case _0x1eacb9['MCPConnectionStatus'][_0x381931(0x134)]:return _0x381931(0x131);case _0x1eacb9['MCPConnectionStatus'][_0x381931(0x1cd)]:return _0x381931(0x105);default:return'univer-bg-gray-500';}},_0x2d447b=_0x3dde20=>{var _0x3a9b19=_0x1f3c76;switch(_0x3dde20){case _0x1eacb9[_0x3a9b19(0x241)][_0x3a9b19(0x180)]:return _0x300c62['t'](_0x3a9b19(0x1d8));case _0x1eacb9[_0x3a9b19(0x241)][_0x3a9b19(0x1f6)]:return _0x300c62['t'](_0x3a9b19(0x141));case _0x1eacb9[_0x3a9b19(0x241)]['FAILED']:return _0x300c62['t'](_0x3a9b19(0x14d));case _0x1eacb9['MCPConnectionStatus']['RETRYING']:return _0x300c62['t']('mcpConfig.connectionStatus.retrying');default:return _0x300c62['t'](_0x3a9b19(0x1e1));}},_0x798563=_0x2d0248=>{var _0xd6f14=_0x1f3c76;switch(_0x2d0248){case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x214)]:return _0x300c62['t'](_0xd6f14(0x244));case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x1df)]:return _0x300c62['t']('mcpConfig.connectionError.sessionOccupied');case _0x1eacb9['MCPConnectionError'][_0xd6f14(0xdc)]:return _0x300c62['t']('mcpConfig.connectionError.networkError');case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x101)]:return _0x300c62['t'](_0xd6f14(0x21c));default:return'';}},_0x402fae=_0x36c1e8['useCallback'](()=>{var _0x35c77f=_0x1f3c76;const _0x1f1f12={..._0x477faa,'apiKey':_0x13b41e[_0x35c77f(0x236)](),'enableAuth':_0x375dc5};_0x5b72f7(_0x1f1f12);},[_0x477faa,_0x13b41e,_0x375dc5,_0x5b72f7]),_0x5419fa=_0x13b41e[_0x1f3c76(0x236)]()[_0x1f3c76(0x1b5)]>0x0;return _0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x23b),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x23a),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x15e),'children':[_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x18d),'children':_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x23d),'children':'⚙'})}),_0x226867[_0x1f3c76(0x15a)]('div',{'children':_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x19f),'children':_0x300c62['t'](_0x1f3c76(0x20a))})})]})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1a4),'children':[_0x226867['jsx'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x17f)+_0x1d48a9(_0x575654,_0x80314f)+_0x1f3c76(0x1ae),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x15c)+_0x4a3b61(_0x575654,_0x80314f)+_0x1f3c76(0x19c)}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x10e),'children':_0x2d447b(_0x575654)})]})}),_0x80314f!==_0x1eacb9['MCPConnectionError'][_0x1f3c76(0x1da)]&&(_0x575654===_0x1eacb9[_0x1f3c76(0x241)][_0x1f3c76(0x1cd)]||_0x80314f===_0x1eacb9[_0x1f3c76(0x1cc)][_0x1f3c76(0x214)])&&_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xe8),'children':_0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x219),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x21e),'children':'⚠️'}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x154),'children':_0x798563(_0x80314f)})]})})]}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x1e5),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x19e),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x16d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x226867[_0x1f3c76(0x15a)]('span',{'children':'🔑'}),'\x20',_0x300c62['t'](_0x1f3c76(0x204)),_0x226867['jsx'](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x1ad),'children':'*'}),_0x5dd385&&_0x226867[_0x1f3c76(0x15a)]('a',{'href':'javascript:void(0)','onClick':()=>_0x7f4eee(!0x0),'className':_0x1f3c76(0xf2),'title':_0x300c62['t'](_0x1f3c76(0xc4)),'children':_0x226867[_0x1f3c76(0x15a)](_0x3dbfcf,{})})]}),_0x226867[_0x1f3c76(0x15a)](_0x4e433a[_0x1f3c76(0xd7)],{'type':_0x1f3c76(0x1c5),'placeholder':_0x300c62['t'](_0x1f3c76(0x1fc)),'value':_0x13b41e,'onChange':_0x4296d9,'disabled':_0x901473,'autoComplete':'off'}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x215))})]}),_0x5dd385&&_0x3fc4b6&&_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x258),'children':[_0x226867[_0x1f3c76(0x15a)]('a',{'href':'javascript:void(0)','onClick':()=>_0x7f4eee(!0x1),'className':_0x1f3c76(0x107),'title':_0x1f3c76(0x18c),'children':_0x226867[_0x1f3c76(0x15a)](_0x3d84fc,{})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x106),'children':[_0x226867['jsx']('div',{'className':_0x1f3c76(0x102),'children':_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x10f),'children':'🚀'})}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x100),'children':[_0x226867[_0x1f3c76(0x15a)]('h4',{'className':_0x1f3c76(0xdd),'children':_0x300c62['t'](_0x1f3c76(0xc4))}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x212),'children':_0x300c62['t'](_0x1f3c76(0x122))}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x233),'children':_0x11bd93&&_0x226867[_0x1f3c76(0x1bb)]('a',{'href':_0x28a5f2,'target':_0x1f3c76(0xde),'rel':_0x1f3c76(0x1a2),'className':_0x1f3c76(0xed),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'children':'🤖'}),_0x300c62['t'](_0x1f3c76(0x171)),_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x142),'children':'↗'})]})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x186),'children':['✨','\x20',_0x300c62['t'](_0x1f3c76(0x208))]})]})]})]}),_0x53b207[_0x1f3c76(0x23e)]&&_0x226867['jsxs']('div',{'className':_0x1f3c76(0x12d),'children':[_0x226867[_0x1f3c76(0x1bb)]('h4',{'className':_0x1f3c76(0x268),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'children':'🔗'}),'\x20',_0x300c62['t'](_0x1f3c76(0x1af))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x117),'children':[_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x267),'children':[_0x226867['jsx']('p',{'className':_0x1f3c76(0x224),'children':_0x300c62['t'](_0x1f3c76(0x135))}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x1e9),'children':_0x300c62['t'](_0x1f3c76(0x1a6))}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x152),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x15f),'children':'1'}),_0x300c62['t'](_0x1f3c76(0x130))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x15f),'children':'2'}),_0x300c62['t'](_0x1f3c76(0xd3))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x15f),'children':'3'}),_0x300c62['t'](_0x1f3c76(0x234))]})]})]})]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-space-y-2','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1e9),'children':_0x1f3c76(0x1b6)}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xc7),'children':_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x12c),{'className':_0x1f3c76(0xe4),'children':_0x1f3c76(0xfb)+_0x1ea430+'\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'+(_0x13b41e||_0x1f3c76(0x14b))+_0x1f3c76(0x1be)})})]}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':'univer-space-y-3','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x300c62['t']('mcpConfig.configParameters')}),_0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x226867['jsx'](_0x1f3c76(0x235),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x1f7),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1b7),'children':_0x1f3c76(0x216)}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x266))})]})]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x11f),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x164)}),_0x226867['jsxs'](_0x1f3c76(0x235),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1b7),'children':_0x1f3c76(0x202)}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x17d))})]})]})]})]})]})]}),_0x226867[_0x1f3c76(0x15a)](_0x4e433a['Button'],{'onClick':_0x402fae,'disabled':!_0x5419fa||_0x901473,'className':_0x1f3c76(0x12a),'children':_0x901473?_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'children':'⟲'}),_0x300c62['t']('mcpConfig.saving')]}):_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x1dc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x226867['jsx'](_0x3938c0,{}),_0x300c62['t'](_0x1f3c76(0x205))]})}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x263),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1a3),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x19b),'children':'💡'}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xe3),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x261),'children':_0x1f3c76(0x136)}),_0x226867['jsxs']('div',{'children':['•',_0x300c62['t']('mcpConfig.note1')]}),_0x226867['jsxs'](_0x1f3c76(0x235),{'children':['•',_0x300c62['t'](_0x1f3c76(0xfc))]})]})]})})]})})]});}const _0x42f80b='mcp-ui.config',_0x4256f2={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x48bc8e=Object[_0x38a625(0x231)],_0x3bb9d7=(_0x497ab8,_0x5335ba,_0x4306c3,_0x3b72b0)=>{var _0x4b89f8=_0x38a625;for(var _0x40183d=_0x3b72b0>0x1?void 0x0:_0x3b72b0?_0x48bc8e(_0x5335ba,_0x4306c3):_0x5335ba,_0x4137cd=_0x497ab8[_0x4b89f8(0x1b5)]-0x1,_0x183aab;_0x4137cd>=0x0;_0x4137cd--)(_0x183aab=_0x497ab8[_0x4137cd])&&(_0x40183d=_0x183aab(_0x40183d)||_0x40183d);return _0x40183d;},_0x577fde=(_0x5f421b,_0x47b709)=>(_0xf8cc09,_0x2a4218)=>_0x47b709(_0xf8cc09,_0x2a4218,_0x5f421b);const _0x6b63b7='mcp.apiKey',_0x1b4840=_0x38a625(0xf5);_0x45e178[_0x38a625(0x104)]=class extends _0x4cb4a4['Disposable']{constructor(_0x413af2,_0x11afc4,_0x4cfbb5,_0x286ff1,_0x519059,_0x188804,_0x46f1a6,_0x3234ed,_0x2d1119,_0x16b7e3){var _0x3cb960=_0x38a625;super(),_0x34d0b9(this,_0x3cb960(0x1c4),new _0x8d71fc[(_0x3cb960(0x248))](!0x1)),_0x34d0b9(this,_0x3cb960(0xc1),new _0x8d71fc[(_0x3cb960(0x248))]({})),_0x34d0b9(this,_0x3cb960(0x26b),new _0x8d71fc['BehaviorSubject']({})),_0x34d0b9(this,_0x3cb960(0x14c),new _0x8d71fc[(_0x3cb960(0x248))]('')),_0x34d0b9(this,_0x3cb960(0x18e),async _0x32fff2=>{var _0x3f3adc=_0x3cb960,_0x2e0ea8,_0xa5b822;this[_0x3f3adc(0x1c4)][_0x3f3adc(0x20d)](!0x0);try{const _0x1737ac=await this[_0x3f3adc(0x15b)](_0x32fff2);if(!_0x1737ac[_0x3f3adc(0x217)]){this[_0x3f3adc(0x197)][_0x3f3adc(0x133)]({'type':_0x4e433a['MessageType'][_0x3f3adc(0x1ba)],'content':_0x1737ac[_0x3f3adc(0xef)]||this[_0x3f3adc(0x1b9)]['t'](_0x3f3adc(0x125))});return;}_0x32fff2[_0x3f3adc(0x1b3)]?await this[_0x3f3adc(0x178)][_0x3f3adc(0x1c7)](_0x6b63b7,_0x32fff2[_0x3f3adc(0x1b3)][_0x3f3adc(0x236)]()):await this['_localStorageService'][_0x3f3adc(0x13b)](_0x6b63b7),this[_0x3f3adc(0x14c)][_0x3f3adc(0x20d)](((_0x2e0ea8=_0x32fff2[_0x3f3adc(0x1b3)])==null?void 0x0:_0x2e0ea8[_0x3f3adc(0x236)]())||''),this[_0x3f3adc(0x1e4)][_0x3f3adc(0x25a)]({'Authorization':_0x3f3adc(0x108)+((_0xa5b822=_0x32fff2[_0x3f3adc(0x1b3)])==null?void 0x0:_0xa5b822[_0x3f3adc(0x236)]())}),this[_0x3f3adc(0x197)][_0x3f3adc(0x133)]({'type':_0x4e433a['MessageType'][_0x3f3adc(0x1d5)],'content':this[_0x3f3adc(0x1b9)]['t'](_0x3f3adc(0x114))}),setTimeout(()=>{var _0x5cfd67=_0x3f3adc;this[_0x5cfd67(0x25c)][_0x5cfd67(0x155)](_0x1b4840);},0x320);}catch(_0x476d00){this[_0x3f3adc(0x13f)][_0x3f3adc(0x1f0)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x476d00),this['_messageService'][_0x3f3adc(0x133)]({'type':_0x4e433a[_0x3f3adc(0x13a)][_0x3f3adc(0x1ba)],'content':this['_localeService']['t'](_0x3f3adc(0x1ff))});}finally{this['_loading$'][_0x3f3adc(0x20d)](!0x1);}}),(this[_0x3cb960(0x213)]=_0x413af2,this['_uiPartsService']=_0x11afc4,this[_0x3cb960(0x225)]=_0x4cfbb5,this[_0x3cb960(0x178)]=_0x286ff1,this['_dialogService']=_0x519059,this['_messageService']=_0x188804,this[_0x3cb960(0x175)]=_0x46f1a6,this['_localeService']=_0x3234ed,this['_logService']=_0x2d1119,this[_0x3cb960(0x1e4)]=_0x16b7e3,this[_0x3cb960(0x21d)](),this['_loadStoredApiKey'](),this['_registerComponent']());}['showConfigPanel'](){var _0x3edd24=_0x38a625;const _0x2246ef=this[_0x3edd24(0x225)][_0x3edd24(0xdb)](_0x42f80b);_0x2246ef!=null&&_0x2246ef['showDeveloperTools']&&this['_dialogService'][_0x3edd24(0x16f)]({'id':_0x1b4840,'title':{'title':this['_localeService']['t'](_0x3edd24(0x17e))},'children':{'label':_0x3edd24(0x137)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xb2c092=_0x3edd24;this['_dialogService'][_0xb2c092(0x155)](_0x1b4840);}});}[_0x38a625(0x249)](){return this['_mcpCoreConfig$']['value'];}[_0x38a625(0xd1)](){var _0x335044=_0x38a625;this['disposeWithMe'](this[_0x335044(0x175)][_0x335044(0x251)](_0x335044(0x137),this[_0x335044(0x1de)]()));}[_0x38a625(0x1de)](){var _0x5165ce=_0x38a625;return _0x21b9b0['connectInjector'](()=>{var _0x52658f=_0x5b2f,_0x5e7593,_0x41c52f,_0x4b417e;return _0x226867['jsx'](_0x5205be,{'config':this[_0x52658f(0x26b)]['value'],'mcpCoreConfig':this[_0x52658f(0xc1)][_0x52658f(0x1b0)],'currentApiKey$':this[_0x52658f(0x14c)],'onSave':this[_0x52658f(0x18e)],'loading':this[_0x52658f(0x1c4)]['value'],'connectionStatus$':(_0x5e7593=this[_0x52658f(0x1e4)])==null?void 0x0:_0x5e7593[_0x52658f(0x1fe)],'connectionError$':(_0x41c52f=this[_0x52658f(0x1e4)])==null?void 0x0:_0x41c52f['connectionError$'],'currentSessionId$':(_0x4b417e=this[_0x52658f(0x1e4)])==null?void 0x0:_0x4b417e[_0x52658f(0x132)]});},this[_0x5165ce(0x213)]);}[_0x38a625(0x21d)](){var _0x50f31e=_0x38a625;this[_0x50f31e(0x113)](this['_configService'][_0x50f31e(0x21b)](_0x1eacb9['MCP_PLUGIN_CONFIG_KEY'])[_0x50f31e(0xeb)](_0x48cf5b=>{var _0x5dbd15=_0x50f31e;this[_0x5dbd15(0xc1)][_0x5dbd15(0x20d)](_0x48cf5b||{});}));const _0x563e77=this['_configService'][_0x50f31e(0xdb)](_0x1eacb9[_0x50f31e(0x11d)]);this[_0x50f31e(0xc1)][_0x50f31e(0x20d)](_0x563e77||{}),this[_0x50f31e(0x113)](this['_configService']['subscribeConfigValue$'](_0x42f80b)[_0x50f31e(0xeb)](_0x33c723=>{var _0x348795=_0x50f31e;this[_0x348795(0x26b)][_0x348795(0x20d)](_0x33c723||{});}));const _0x4a3e1a=this[_0x50f31e(0x225)][_0x50f31e(0xdb)](_0x42f80b);this[_0x50f31e(0x26b)][_0x50f31e(0x20d)](_0x4a3e1a||{});}async[_0x38a625(0x237)](){var _0x3e6f17=_0x38a625;const _0x49ea9a=this[_0x3e6f17(0x225)]['getConfig'](_0x42f80b);if(!(_0x49ea9a!=null&&_0x49ea9a[_0x3e6f17(0x23e)]))return;const _0x274c2e=await this[_0x3e6f17(0x178)][_0x3e6f17(0x198)](_0x6b63b7);_0x274c2e&&(this['_mcpConnectionController'][_0x3e6f17(0x25a)]({'Authorization':_0x3e6f17(0x108)+_0x274c2e}),this[_0x3e6f17(0x14c)][_0x3e6f17(0x20d)](_0x274c2e));}async['_validateConfig'](_0x28334b){var _0x5a209c=_0x38a625;if(!_0x28334b[_0x5a209c(0x1b3)]||_0x28334b[_0x5a209c(0x1b3)]['trim']()[_0x5a209c(0x1b5)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5a209c(0x1b9)]['t'](_0x5a209c(0x1fa))};if(_0x28334b[_0x5a209c(0x1b3)][_0x5a209c(0x236)]()[_0x5a209c(0x1b5)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5a209c(0x1b9)]['t'](_0x5a209c(0x18f))};try{const _0x16866e=await this['_injector'][_0x5a209c(0x1ea)](_0x1eacb9['MCPConnectionController'])['validateApiKey'](_0x28334b[_0x5a209c(0x1b3)][_0x5a209c(0x236)]());return _0x16866e['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x16866e[_0x5a209c(0x1f0)]||this['_localeService']['t'](_0x5a209c(0x25d))};}catch(_0x5dfff7){return console['warn'](_0x5a209c(0x229),_0x5dfff7),{'isValid':!0x0};}}},_0x45e178[_0x38a625(0x104)]=_0x3bb9d7([_0x577fde(0x0,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x577fde(0x1,_0x21b9b0['IUIPartsService']),_0x577fde(0x2,_0x4cb4a4[_0x38a625(0x269)]),_0x577fde(0x3,_0x4cb4a4[_0x38a625(0x181)]),_0x577fde(0x4,_0x21b9b0['IDialogService']),_0x577fde(0x5,_0x21b9b0['IMessageService']),_0x577fde(0x6,_0x4cb4a4[_0x38a625(0x1c1)](_0x21b9b0['ComponentManager'])),_0x577fde(0x7,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4[_0x38a625(0xda)])),_0x577fde(0x8,_0x4cb4a4['ILogService']),_0x577fde(0x9,_0x4cb4a4[_0x38a625(0x1c1)](_0x1eacb9[_0x38a625(0x185)]))],_0x45e178[_0x38a625(0x104)]);const _0x2aa0a2={'id':'mcp-ui.command.openConfigPanel','type':_0x4cb4a4['CommandType']['COMMAND'],'handler':async(_0x4e74c6,_0x4ebe7e)=>(_0x4e74c6[_0x38a625(0x1ea)](_0x45e178[_0x38a625(0x104)])[_0x38a625(0x1ce)](),!0x0)};function _0x55e652(_0x5726d6,_0x4c7365){var _0x2b438a=_0x38a625;switch(_0x5726d6){case _0x1eacb9[_0x2b438a(0x241)]['DISCONNECTED']:return _0x2b438a(0x1b8);case _0x1eacb9[_0x2b438a(0x241)]['CONNECTING']:return _0x2b438a(0x1d1);case _0x1eacb9['MCPConnectionStatus'][_0x2b438a(0x180)]:return'mcpStatus.connected';case _0x1eacb9['MCPConnectionStatus']['FAILED']:switch(_0x4c7365){case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0x214)]:return _0x2b438a(0x179);case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0x1df)]:return _0x2b438a(0xff);case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0xdc)]:return _0x2b438a(0x1b1);case _0x1eacb9[_0x2b438a(0x1cc)]['MAX_RETRIES_EXCEEDED']:return _0x2b438a(0x1c3);default:return _0x2b438a(0x232);}case _0x1eacb9['MCPConnectionStatus']['RETRYING']:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function _0x29f079(_0xd51e1b,_0x135979,_0x6a8ed1,_0x1062b7=!0x0){var _0x10e83d=_0x38a625;const _0x25131a=_0x55e652(_0xd51e1b,_0x135979),_0xbdeb91=_0x6a8ed1['t'](_0x25131a);return _0x1062b7?_0xd51e1b===_0x1eacb9['MCPConnectionStatus'][_0x10e83d(0x173)]&&_0x135979===_0x1eacb9['MCPConnectionError'][_0x10e83d(0x214)]?_0xbdeb91+'\x20-\x20'+_0x6a8ed1['t'](_0x10e83d(0x16a)):_0xd51e1b===_0x1eacb9[_0x10e83d(0x241)][_0x10e83d(0x180)]?''+_0xbdeb91:_0xd51e1b===_0x1eacb9[_0x10e83d(0x241)]['DISCONNECTED']||_0xd51e1b===_0x1eacb9['MCPConnectionStatus'][_0x10e83d(0x1cd)]?_0xbdeb91+_0x10e83d(0x10a)+_0x6a8ed1['t'](_0x10e83d(0xdf)):_0xbdeb91:_0xbdeb91;}function _0x17f942(_0x47b9e6){var _0x26a8cf=_0x38a625;switch(_0x47b9e6){case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x180)]:return _0x26a8cf(0x22d);case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x1f6)]:case _0x1eacb9[_0x26a8cf(0x241)]['RETRYING']:return _0x26a8cf(0x1bd);case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x1cd)]:case _0x1eacb9[_0x26a8cf(0x241)]['DISCONNECTED']:return _0x26a8cf(0x1ad);default:return _0x26a8cf(0x174);}}function _0x42e9f6(_0x5d27e2){var _0x2dc76c=_0x38a625;const {status$:_0x2abbd6,error$:_0xd9c8fe,onConfigure:_0x18143e,showClickable:_0x73b654=!0x0}=_0x5d27e2,_0x2aaeae=_0x21b9b0[_0x2dc76c(0x25e)](_0x2abbd6,_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x173)]),_0x14fa2c=_0x21b9b0[_0x2dc76c(0x25e)](_0xd9c8fe,_0x1eacb9[_0x2dc76c(0x1cc)][_0x2dc76c(0x1da)]),_0x1997ae=_0x21b9b0[_0x2dc76c(0x11c)](_0x4cb4a4[_0x2dc76c(0xda)]),_0x30a29f=_0x2aaeae===_0x1eacb9['MCPConnectionStatus'][_0x2dc76c(0x180)];_0x2aaeae===_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x1f6)]||_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x134)];const _0x12429e=_0x1997ae['t'](_0x55e652(_0x2aaeae,_0x14fa2c)),_0x550196=_0x29f079(_0x2aaeae,_0x14fa2c,_0x1997ae,_0x73b654),_0x535327=_0x17f942(_0x2aaeae),_0x5dbccb=_0x30a29f?_0x226867[_0x2dc76c(0x15a)](_0x1bd988,{}):_0x226867[_0x2dc76c(0x15a)](_0x55fcff,{}),_0x1a4fe0=_0x36c1e8[_0x2dc76c(0xd9)](()=>{_0x73b654&&_0x18143e&&_0x18143e();},[_0x73b654,_0x18143e]);function _0x5dcc64(){var _0x33bd12=_0x2dc76c;return _0x226867['jsxs']('div',{'className':_0x4e433a['clsx'](_0x33bd12(0x1eb),_0x73b654&&_0x18143e&&'\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'),'onClick':_0x73b654&&_0x18143e?_0x1a4fe0:void 0x0,'children':[_0x226867[_0x33bd12(0x15a)](_0x33bd12(0x235),{'className':_0x4e433a[_0x33bd12(0x1c6)](_0x33bd12(0x165),_0x535327),'children':_0x5dbccb}),_0x226867[_0x33bd12(0x15a)]('div',{'className':_0x33bd12(0x227),'children':_0x12429e})]});}return _0x226867[_0x2dc76c(0x15a)](_0x4e433a[_0x2dc76c(0x188)],{'title':_0x550196,'placement':'bottom','children':_0x5dcc64()});}var _0x4acf06=Object[_0x38a625(0x231)],_0x1b7d52=(_0x115377,_0x24d60b,_0x311a9e,_0x498301)=>{var _0x1ea85d=_0x38a625;for(var _0x48fa11=_0x498301>0x1?void 0x0:_0x498301?_0x4acf06(_0x24d60b,_0x311a9e):_0x24d60b,_0x11265b=_0x115377[_0x1ea85d(0x1b5)]-0x1,_0x5ad9b3;_0x11265b>=0x0;_0x11265b--)(_0x5ad9b3=_0x115377[_0x11265b])&&(_0x48fa11=_0x5ad9b3(_0x48fa11)||_0x48fa11);return _0x48fa11;},_0x55d2f8=(_0x593682,_0x498b25)=>(_0x92e8cc,_0x5794b3)=>_0x498b25(_0x92e8cc,_0x5794b3,_0x593682);_0x45e178[_0x38a625(0x124)]=class extends _0x4cb4a4[_0x38a625(0x1c0)]{constructor(_0x529700,_0x3097e4,_0x513704,_0x4ba921){var _0xa9a274=_0x38a625;super(),this[_0xa9a274(0x213)]=_0x529700,this['_connectionController']=_0x3097e4,this[_0xa9a274(0x17a)]=_0x513704,this['_configService']=_0x4ba921,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x38a625(0xfa)](){var _0x37361e=_0x38a625;const _0x218914=this[_0x37361e(0x225)][_0x37361e(0xdb)](_0x42f80b);_0x218914!=null&&_0x218914['showDeveloperTools']&&(this['_connectionController'][_0x37361e(0x226)]=!0x1);}[_0x38a625(0x19a)](){var _0x56beb7=_0x38a625;const _0x2f9e1a=this[_0x56beb7(0x225)][_0x56beb7(0xdb)](_0x42f80b);(_0x2f9e1a==null?void 0x0:_0x2f9e1a[_0x56beb7(0x169)])!==!0x1&&this[_0x56beb7(0x113)](this['_uiPartsService'][_0x56beb7(0x163)](_0x21b9b0[_0x56beb7(0x1ef)][_0x56beb7(0x20f)],()=>{var _0x580798=_0x56beb7,_0x5f0107;return _0x21b9b0[_0x580798(0xd0)](_0x448723({'status$':this['_connectionController'][_0x580798(0x1fe)],'error$':this[_0x580798(0x1b2)][_0x580798(0x159)],'onConfigure':()=>this[_0x580798(0xc6)](),'showClickable':(_0x5f0107=_0x2f9e1a==null?void 0x0:_0x2f9e1a[_0x580798(0x23e)])!=null?_0x5f0107:!0x1}),this[_0x580798(0x213)]);}));}['_handleConfigure'](){var _0x5aec69=_0x38a625;this[_0x5aec69(0x213)]['get'](_0x45e178[_0x5aec69(0x104)])[_0x5aec69(0x1ce)]();}},_0x45e178[_0x38a625(0x124)]=_0x1b7d52([_0x55d2f8(0x0,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x55d2f8(0x1,_0x4cb4a4['Inject'](_0x1eacb9['MCPConnectionController'])),_0x55d2f8(0x2,_0x21b9b0[_0x38a625(0x14a)]),_0x55d2f8(0x3,_0x4cb4a4[_0x38a625(0x269)])],_0x45e178['MCPConnectionUIController']);function _0x448723(_0x4aa9ee){const {status$:_0x33e0ce,error$:_0x2e2611,onConfigure:_0x4f8bb2,showClickable:_0x5d49bb}=_0x4aa9ee;return function(){var _0x1373e3=_0x5b2f;return _0x226867[_0x1373e3(0x15a)](_0x42e9f6,{'status$':_0x33e0ce,'error$':_0x2e2611,'onConfigure':_0x4f8bb2,'showClickable':_0x5d49bb});};}function _0x451ef7(_0x3bd6d6){var _0x2c62a1=_0x38a625;return{'id':_0x2aa0a2['id'],'type':_0x21b9b0['MenuItemType'][_0x2c62a1(0x111)],'icon':_0x2c62a1(0x1a7),'title':_0x2c62a1(0x17e),'tooltip':_0x2c62a1(0x17e)};}const _0x11be19={[_0x21b9b0[_0x38a625(0xc2)][_0x38a625(0x196)]]:{[_0x2aa0a2['id']]:{'order':0xa,'menuItemFactory':_0x451ef7}}};var _0x3b93c4=Object[_0x38a625(0x231)],_0x5ba923=(_0x182cc6,_0x450be9,_0x472e68,_0x2f448b)=>{for(var _0x144f0d=_0x2f448b>0x1?void 0x0:_0x2f448b?_0x3b93c4(_0x450be9,_0x472e68):_0x450be9,_0x256048=_0x182cc6['length']-0x1,_0x399b4b;_0x256048>=0x0;_0x256048--)(_0x399b4b=_0x182cc6[_0x256048])&&(_0x144f0d=_0x399b4b(_0x144f0d)||_0x144f0d);return _0x144f0d;},_0x551bee=(_0x2a97d8,_0x54e78f)=>(_0x2b832c,_0x30512c)=>_0x54e78f(_0x2b832c,_0x30512c,_0x2a97d8);_0x45e178[_0x38a625(0x1bf)]=class extends _0x4cb4a4[_0x38a625(0x1c0)]{constructor(_0x43b324,_0x36e94c){var _0xe39892=_0x38a625;super(),this['_commandService']=_0x43b324,this['_menuManagerService']=_0x36e94c,this[_0xe39892(0x115)](),this[_0xe39892(0x22e)]();}[_0x38a625(0x115)](){[_0x2aa0a2]['forEach'](_0x2d0d9a=>{var _0x52a07e=_0x5b2f;this[_0x52a07e(0x113)](this[_0x52a07e(0x14e)]['registerCommand'](_0x2d0d9a));});}['_initializeMenus'](){var _0x450bb5=_0x38a625;this[_0x450bb5(0x1d3)][_0x450bb5(0xe1)](_0x11be19);}},_0x45e178[_0x38a625(0x1bf)]=_0x5ba923([_0x551bee(0x0,_0x4cb4a4[_0x38a625(0x182)]),_0x551bee(0x1,_0x21b9b0['IMenuManagerService'])],_0x45e178[_0x38a625(0x1bf)]);const _0x29e172={'mcpStatus':{'disconnected':_0x38a625(0x209),'connecting':'MCP\x20Connecting...','connected':_0x38a625(0xcc),'failed':_0x38a625(0x238),'retrying':_0x38a625(0x220),'unknown':_0x38a625(0x168),'unauthorized':_0x38a625(0x1d4),'sessionOccupied':_0x38a625(0x1a0),'networkError':_0x38a625(0x143),'maxRetriesExceeded':_0x38a625(0xea),'clickToConnect':_0x38a625(0x17c),'clickToConfigure':_0x38a625(0x14f)},'mcpConfig':{'title':_0x38a625(0x1b6),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x38a625(0x16e),'apiKeyPlaceholder':_0x38a625(0x1a8),'apiKeyHint':_0x38a625(0x10b),'enableAuth':_0x38a625(0x10d),'enableAuthHint':_0x38a625(0x21f),'connectionInfo':_0x38a625(0x250),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x38a625(0x112),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x38a625(0x20b),'configStep3':_0x38a625(0x120),'sessionId':'Session\x20ID','sessionIdDescription':_0x38a625(0x22a),'authorizationDescription':_0x38a625(0x1bc),'configParameters':_0x38a625(0x150),'maxRetries':_0x38a625(0xf0),'save':_0x38a625(0x193),'saving':_0x38a625(0x183),'note1':_0x38a625(0x116),'note2':_0x38a625(0x1c9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x38a625(0x15d),'apiApplyInfo':{'title':_0x38a625(0x1c8),'description':_0x38a625(0x1e3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x38a625(0x147)},'validation':{'apiKeyRequired':_0x38a625(0x24b),'apiKeyTooShort':_0x38a625(0x145),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x38a625(0x127)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x38a625(0x1d7),'connected':'Connected','failed':_0x38a625(0xbf),'retrying':_0x38a625(0x245)},'connectionError':{'unauthorized':_0x38a625(0xd5),'sessionOccupied':_0x38a625(0x1d6),'networkError':_0x38a625(0x1e6),'maxRetriesExceeded':_0x38a625(0x12b)}}},_0xdea3b={'mcpStatus':{'disconnected':_0x38a625(0x24a),'connecting':_0x38a625(0x1ca),'connected':'MCP\x20已连接','failed':_0x38a625(0xc9),'retrying':_0x38a625(0x110),'unknown':_0x38a625(0x243),'unauthorized':_0x38a625(0x18b),'sessionOccupied':_0x38a625(0x176),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x38a625(0x158)},'mcpConfig':{'title':'MCP\x20配置','description':_0x38a625(0x203),'apiKey':_0x38a625(0x1aa),'apiKeyPlaceholder':_0x38a625(0x24f),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x38a625(0x20c),'enableAuthHint':_0x38a625(0x189),'connectionInfo':_0x38a625(0xe2),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x38a625(0x139),'configStepTitle':_0x38a625(0x16c),'configStep1':_0x38a625(0x23f),'configStep2':_0x38a625(0xcb),'configStep3':_0x38a625(0xfe),'sessionId':_0x38a625(0x228),'sessionIdDescription':_0x38a625(0x118),'authorizationDescription':_0x38a625(0x156),'configParameters':_0x38a625(0x16b),'maxRetries':_0x38a625(0x184),'save':'保存配置','saving':_0x38a625(0x11e),'note1':_0x38a625(0x252),'note2':_0x38a625(0x211),'configSaved':_0x38a625(0x13c),'configError':_0x38a625(0x11b),'apiApplyInfo':{'title':_0x38a625(0xd4),'description':_0x38a625(0x246),'univerAiLabel':_0x38a625(0xcf),'getStarted':_0x38a625(0x256)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x38a625(0xca),'invalidConfig':'配置无效','invalidApiKey':_0x38a625(0x194)},'connectionStatus':{'disconnected':_0x38a625(0xee),'connecting':_0x38a625(0x190),'connected':'已连接','failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x38a625(0x21a),'sessionOccupied':_0x38a625(0x201),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x38a625(0xe7)}}};var _0x4c2620=Object[_0x38a625(0x1dd)],_0x6d5ae7=Object[_0x38a625(0x231)],_0x5ebbfe=(_0x1e342e,_0xeb55f9,_0x2fda1f)=>_0xeb55f9 in _0x1e342e?_0x4c2620(_0x1e342e,_0xeb55f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2fda1f}):_0x1e342e[_0xeb55f9]=_0x2fda1f,_0xd891ca=(_0x52f1d0,_0xcf1906,_0x570924,_0x2ae7e6)=>{for(var _0x491652=_0x2ae7e6>0x1?void 0x0:_0x2ae7e6?_0x6d5ae7(_0xcf1906,_0x570924):_0xcf1906,_0x55b055=_0x52f1d0['length']-0x1,_0x3b23c4;_0x55b055>=0x0;_0x55b055--)(_0x3b23c4=_0x52f1d0[_0x55b055])&&(_0x491652=_0x3b23c4(_0x491652)||_0x491652);return _0x491652;},_0x5de93d=(_0x361ae3,_0x44f440)=>(_0x6634d0,_0x11ed02)=>_0x44f440(_0x6634d0,_0x11ed02,_0x361ae3),_0x3c13d6=(_0x584b8c,_0x164fc5,_0x53f9f0)=>_0x5ebbfe(_0x584b8c,_0x164fc5+'',_0x53f9f0);_0x45e178[_0x38a625(0x146)]=class extends _0x4cb4a4[_0x38a625(0x247)]{constructor(_0x484beb=_0x4256f2,_0x13f652,_0x387670,_0x12b70c,_0x45b198,_0x1e70b0){var _0x4ce078=_0x38a625;super(),this[_0x4ce078(0x123)]=_0x484beb,this[_0x4ce078(0x213)]=_0x13f652,this[_0x4ce078(0x225)]=_0x387670,this[_0x4ce078(0x17a)]=_0x12b70c,this[_0x4ce078(0x178)]=_0x45b198,this[_0x4ce078(0x1b9)]=_0x1e70b0;const {..._0x5740bc}=_0x4cb4a4[_0x4ce078(0x1ed)]({},_0x4256f2,this[_0x4ce078(0x123)]);this[_0x4ce078(0x225)][_0x4ce078(0x1cf)](_0x42f80b,_0x5740bc);}async['onStarting'](){var _0x395140=_0x38a625;const _0x20d651=[[_0x45e178['MCPConnectionUIController']],[_0x45e178[_0x395140(0x104)]],[_0x45e178[_0x395140(0x1bf)]]];this[_0x395140(0x213)][_0x395140(0x260)](_0x7852fe['ISocketService'])||_0x20d651['push']([_0x7852fe[_0x395140(0x239)],{'useClass':_0x7852fe[_0x395140(0x151)]}]),_0x20d651[_0x395140(0x24c)](_0x431a85=>this[_0x395140(0x213)][_0x395140(0x1b4)](_0x431a85)),this[_0x395140(0x213)][_0x395140(0x1ea)](_0x45e178[_0x395140(0x124)]),this[_0x395140(0x213)][_0x395140(0x1ea)](_0x45e178[_0x395140(0x104)]),this['_injector'][_0x395140(0x1ea)](_0x45e178['MCPUIMenuController']);}},_0x3c13d6(_0x45e178[_0x38a625(0x146)],_0x38a625(0x1a5),_0x38a625(0x119)),_0x45e178[_0x38a625(0x146)]=_0xd891ca([_0x4cb4a4['DependentOn'](_0x1eacb9[_0x38a625(0xf6)]),_0x5de93d(0x1,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x5de93d(0x2,_0x4cb4a4[_0x38a625(0x269)]),_0x5de93d(0x3,_0x21b9b0['IUIPartsService']),_0x5de93d(0x4,_0x4cb4a4[_0x38a625(0x181)]),_0x5de93d(0x5,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4[_0x38a625(0xda)]))],_0x45e178[_0x38a625(0x146)]),_0x45e178[_0x38a625(0x137)]=_0x5205be,_0x45e178[_0x38a625(0x1f2)]=_0x42e9f6,_0x45e178[_0x38a625(0x1f5)]=_0x2aa0a2,_0x45e178[_0x38a625(0x230)]=_0x29e172,_0x45e178[_0x38a625(0x1e8)]=_0xdea3b,Object[_0x38a625(0x1dd)](_0x45e178,Symbol['toStringTag'],{'value':_0x38a625(0x19d)});}));function _0x1c27(){var _0x5c8194=['配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.apiKey','mcpConfig.save','18UazHuE','concat','mcpConfig.apiApplyInfo.getStarted','MCP\x20Disconnected','mcpConfig.description','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','启用身份验证','next','907128BPlJSF','HEADER_MENU','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','您的\x20API\x20密钥安全存储在本地存储中','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_injector','UNAUTHORIZED','mcpConfig.apiKeyHint','univer_session_id:','isValid','round','univer-flex\x20univer-items-start\x20univer-gap-2','权限验证失败,请检查您的\x20API\x20密钥','subscribeConfigValue$','mcpConfig.connectionError.maxRetriesExceeded','_initConfigSync','univer-flex-shrink-0\x20univer-text-red-500','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','object','rxjs','UniverProMcpUi','univer-text-xs\x20univer-text-gray-600','_configService','enableAutoConnect','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','会话ID','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','url(#$1','http://www.w3.org/2000/svg','univer-text-green-500','_initializeMenus','OnLineIcon','enUS','getOwnPropertyDescriptor','mcpStatus.failed','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpConfig.configStep3','div','trim','_loadStoredApiKey','MCP\x20Connection\x20Failed','ISocketService','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mask','univer-text-white','showDeveloperTools','复制以下\x20JSON\x20配置','M0\x200H16V16H0z','MCPConnectionStatus','UniverNetwork','MCP\x20状态未知','mcpConfig.connectionError.unauthorized','Retrying...','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Plugin','BehaviorSubject','getCurrentConfig','MCP\x20已断开','API\x20key\x20is\x20required','forEach','0\x200\x2017\x2017','8599213HQgDKj','请输入您的\x20API\x20密钥','MCP\x20Client\x20Configuration','register','配置更改将立即生效','hasOwnProperty','string','children','几秒钟内获取您的\x20API\x20密钥','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','react','__setCustomHeaders','HelpSingle','_dialogService','mcpConfig.validation.invalidApiKey','useObservable','994512kIWGTQ','has','univer-font-medium','displayName','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','help-single','getOwnPropertySymbols','mcpConfig.sessionIdDescription','univer-space-y-3','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','IConfigService','univer-flex\x20univer-items-center\x20univer-gap-2','_config$','0\x200\x2016\x2016','map','Connection\x20Failed','off-line-icon','_mcpCoreConfig$','RibbonStartGroup','useRef','mcpConfig.apiApplyInfo.title','attrs','_handleConfigure','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','white','MCP\x20连接失败','API\x20密钥长度至少需要\x2010\x20位','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20Connected','icon','none','Univer\x20AI\x20控制台','connectInjector','_registerComponent','className','mcpConfig.configStep2','什么是\x20API\x20密钥?','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','prototype','Input','exports','useCallback','LocaleService','getConfig','NETWORK_ERROR','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_blank','mcpStatus.clickToConnect','off-line-icon_clip0_910_343','mergeMenu','MCP\x20客户端配置','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','@univerjs/ui','3eyLvhc','超出最大重试次数,请稍后再试','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','includes','MCP:\x20Max\x20Retries\x20Exceeded','subscribe','forwardRef','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','未连接','errorMessage','Max\x20Retries','0\x200\x2017\x2016','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-space-y-2','React','mcp-config-dialog','UniverMCPPlugin','univer-bg-green-500','createElement','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_initAutoConnect','{\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=','mcpConfig.note2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','重启您的\x20MCP\x20客户端以使配置生效','mcpStatus.sessionOccupied','univer-flex-1','MAX_RETRIES_EXCEEDED','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','@univerjs-pro/mcp','MCPConfigUIController','univer-bg-red-500','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','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','Bearer\x20','url(#on-line-icon_clip0_910_349)','\x20-\x20','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','evenodd','Enable\x20Authentication','univer-text-sm\x20univer-font-medium','univer-text-blue-600','MCP\x20重连中...','BUTTON','Configuration\x20Steps:','disposeWithMe','mcpConfig.configSaved','_initializeCommands','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-space-y-4','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP_UI_PLUGIN','on-line-icon','配置保存失败','useDependency','MCP_PLUGIN_CONFIG_KEY','保存中...','univer-flex\x20univer-items-start\x20univer-gap-3','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','assign','mcpConfig.apiApplyInfo.description','_config','MCPConnectionUIController','mcpConfig.validation.invalidConfig','url(#off-line-icon_clip0_910_343)','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1em','@univerjs/core','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','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','pre','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','M5.21243\x205.62036L11.8791\x2012.287','path','mcpConfig.configStep1','univer-bg-blue-500','sessionId$','show','RETRYING','mcpConfig.configInstructions','Configuration\x20Notes:','MCPConfigPanel','toString','将以下配置添加到您的\x20MCP\x20客户端设置中:','MessageType','removeItem','配置保存成功','currentColor','univer.ai','_logService','OffLineIcon','mcpConfig.connectionStatus.connecting','univer-text-gray-400','MCP:\x20Network\x20Error','propertyIsEnumerable','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','UniverMCPUIPlugin','Get\x20your\x20API\x20key\x20in\x20seconds','https://console.univer.ai','colorChannel1','IUIPartsService','<API_KEY>','_apiKey$','mcpConfig.connectionStatus.failed','_commandService','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','WebSocketService','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','random','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','close','带有\x20Bearer\x20前缀的\x20API\x20密钥。','3282880xaOYwh','点击配置\x20MCP','connectionError$','jsx','_validateConfig','\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','Failed\x20to\x20save\x20configuration','univer-flex\x20univer-items-center\x20univer-gap-3','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','tag','4493344IULfVN','idSuffix','registerComponent','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-mr-2\x20univer-flex\x20univer-text-xl','close-small-single','symbol','MCP\x20Unknown\x20Status','showStatus','mcpStatus.clickToConfigure','配置参数:','配置步骤:','label','API\x20Key','open','fill','mcpConfig.apiApplyInfo.univerAiLabel','defIds','DISCONNECTED','univer-text-gray-500','_componentManager','MCP:\x20会话\x20ID\x20已被占用','apply','_localStorageService','mcpStatus.unauthorized','_uiPartsService','M5.21243\x2012.287L11.8791\x205.62036','Click\x20to\x20connect\x20MCP','mcpConfig.authorizationDescription','mcpConfig.title','\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','CONNECTED','ILocalStorageService','ICommandService','Saving...','最大重试次数','MCPConnectionController','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','extend','Tooltip','启用身份验证以获得安全连接','amd','MCP:\x20未授权','Close','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','_handleConfigSave','mcpConfig.validation.apiKeyTooShort','连接中...','use','UniverProMcp','Save\x20Configuration','API\x20密钥无效,请检查密钥是否正确','UniverCore','OTHERS','_messageService','getItem','indexOf','_initStatusComponent','univer-flex-shrink-0\x20univer-text-blue-500','\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','Module','univer-space-y-5','univer-text-sm\x20univer-text-gray-500','MCP:\x20Session\x20ID\x20Occupied','replace','noopener\x20noreferrer','univer-flex\x20univer-gap-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','pluginName','mcpConfig.configStepTitle','MenuIcon','Enter\x20your\x20API\x20key','function','API\x20密钥','66373QnnQzv','defs','univer-text-red-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.connectionInfo','value','mcpStatus.networkError','_connectionController','apiKey','add','length','MCP\x20Configuration','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpStatus.disconnected','_localeService','Error','jsxs','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-yellow-500','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','MCPUIMenuController','Disposable','Inject','on-line-icon_clip0_910_349','mcpStatus.maxRetriesExceeded','_loading$','text','clsx','setItem','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20连接中...','CheckMarkIcon','MCPConnectionError','FAILED','showConfigPanel','setConfig','translate(.97)','mcpStatus.connecting','@univerjs/network','_menuManagerService','MCP:\x20Unauthorized','Success','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connecting...','mcpConfig.connectionStatus.connected','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','NONE','call','span','defineProperty','_createConfigPanelComponent','SESSION_ID_OCCUPIED','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.connectionStatus.disconnected','mcpServerUrl','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-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer.plus','zhCN','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','get','univer-flex\x20univer-items-center','substring','merge','3941710fmCgqR','BuiltInUIPart','error','clipPath','MCPStatusDisplay','univerjs-icon\x20univerjs-icon-','current','OpenMCPConfigPanelCommand','CONNECTING','univer-min-w-0\x20univer-flex-1','entries','UniverUi','mcpConfig.validation.apiKeyRequired','svg','mcpConfig.apiKeyPlaceholder','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','connectionStatus$','mcpConfig.configError','check-mark-icon','会话\x20ID\x20已被占用,请稍后再试','Authorization:'];_0x1c27=function(){return _0x5c8194;};return _0x1c27();}
|
|
1
|
+
function _0x1c8c(_0x4fb6a3,_0x1f9364){var _0x2c94bd=_0x2c94();return _0x1c8c=function(_0x1c8ca4,_0x33917a){_0x1c8ca4=_0x1c8ca4-0x13e;var _0x4a3c3b=_0x2c94bd[_0x1c8ca4];return _0x4a3c3b;},_0x1c8c(_0x4fb6a3,_0x1f9364);}(function(_0x28b43d,_0x38fd91){var _0x37d7c4=_0x1c8c,_0xebada1=_0x28b43d();while(!![]){try{var _0x18062a=parseInt(_0x37d7c4(0x292))/0x1+-parseInt(_0x37d7c4(0x1c8))/0x2*(parseInt(_0x37d7c4(0x259))/0x3)+parseInt(_0x37d7c4(0x2d5))/0x4*(-parseInt(_0x37d7c4(0x2a4))/0x5)+-parseInt(_0x37d7c4(0x1a4))/0x6*(-parseInt(_0x37d7c4(0x1f0))/0x7)+parseInt(_0x37d7c4(0x1b4))/0x8+parseInt(_0x37d7c4(0x182))/0x9+-parseInt(_0x37d7c4(0x1d5))/0xa*(parseInt(_0x37d7c4(0x16c))/0xb);if(_0x18062a===_0x38fd91)break;else _0xebada1['push'](_0xebada1['shift']());}catch(_0x152d80){_0xebada1['push'](_0xebada1['shift']());}}}(_0x2c94,0x4782b),function(_0x24cb8a,_0x46ed2){var _0x34dfd8=_0x1c8c;typeof exports==_0x34dfd8(0x18c)&&typeof module<'u'?_0x46ed2(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[_0x34dfd8(0x204)]?define(['exports',_0x34dfd8(0x218),'react/jsx-runtime',_0x34dfd8(0x223),_0x34dfd8(0x289),_0x34dfd8(0x1d2),_0x34dfd8(0x170),_0x34dfd8(0x26e),_0x34dfd8(0x1bb)],_0x46ed2):(_0x24cb8a=typeof globalThis<'u'?globalThis:_0x24cb8a||self,_0x46ed2(_0x24cb8a[_0x34dfd8(0x169)]={},_0x24cb8a[_0x34dfd8(0x24f)],_0x24cb8a['React'],_0x24cb8a[_0x34dfd8(0x21d)],_0x24cb8a[_0x34dfd8(0x196)],_0x24cb8a[_0x34dfd8(0x26f)],_0x24cb8a[_0x34dfd8(0x170)],_0x24cb8a[_0x34dfd8(0x230)],_0x24cb8a[_0x34dfd8(0x2b2)]));}(this,function(_0x44d561,_0x49000b,_0x54c16e,_0x1f49aa,_0x23fa2f,_0x245ec2,_0x4d1ab4,_0x438a15,_0x546f84){'use strict';var _0x274847=_0x1c8c;var _0x42135c=Object[_0x274847(0x1ee)],_0x4aa3aa=(_0x2f17d0,_0x1d7846,_0x151b22)=>_0x1d7846 in _0x2f17d0?_0x42135c(_0x2f17d0,_0x1d7846,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x151b22}):_0x2f17d0[_0x1d7846]=_0x151b22,_0xe254a5=(_0x5e082e,_0x214574,_0x7fa066)=>_0x4aa3aa(_0x5e082e,typeof _0x214574!='symbol'?_0x214574+'':_0x214574,_0x7fa066),_0x4c35de=function(){var _0x2a20b8=_0x274847;return _0x4c35de=Object[_0x2a20b8(0x2c9)]||function(_0x3a404f){var _0x33669b=_0x2a20b8;for(var _0x2dd77e,_0x44bb2c=0x1,_0x1ce514=arguments[_0x33669b(0x248)];_0x44bb2c<_0x1ce514;_0x44bb2c++){_0x2dd77e=arguments[_0x44bb2c];for(var _0x453f67 in _0x2dd77e)Object[_0x33669b(0x201)]['hasOwnProperty'][_0x33669b(0x20a)](_0x2dd77e,_0x453f67)&&(_0x3a404f[_0x453f67]=_0x2dd77e[_0x453f67]);}return _0x3a404f;},_0x4c35de[_0x2a20b8(0x19b)](this,arguments);},_0x3e187f=function(_0x583259,_0x34e7be){var _0x43d5a2=_0x274847,_0x1fdb92={};for(var _0x3aa617 in _0x583259)Object['prototype'][_0x43d5a2(0x26d)]['call'](_0x583259,_0x3aa617)&&_0x34e7be[_0x43d5a2(0x1ae)](_0x3aa617)<0x0&&(_0x1fdb92[_0x3aa617]=_0x583259[_0x3aa617]);if(_0x583259!=null&&typeof Object[_0x43d5a2(0x1c0)]=='function'){for(var _0x2ace4f=0x0,_0x3aa617=Object[_0x43d5a2(0x1c0)](_0x583259);_0x2ace4f<_0x3aa617[_0x43d5a2(0x248)];_0x2ace4f++)_0x34e7be[_0x43d5a2(0x1ae)](_0x3aa617[_0x2ace4f])<0x0&&Object[_0x43d5a2(0x201)]['propertyIsEnumerable'][_0x43d5a2(0x20a)](_0x583259,_0x3aa617[_0x2ace4f])&&(_0x1fdb92[_0x3aa617[_0x2ace4f]]=_0x583259[_0x3aa617[_0x2ace4f]]);}return _0x1fdb92;},_0x3fcce2=_0x438a15['forwardRef'](function(_0x438f81,_0x3a5b1f){var _0x50b7b4=_0x274847,_0x59f63e=_0x438f81[_0x50b7b4(0x2da)],_0x34d055=_0x438f81['id'],_0x23f66a=_0x438f81[_0x50b7b4(0x2cf)],_0x45eb43=_0x438f81[_0x50b7b4(0x237)],_0x54ddce=_0x3e187f(_0x438f81,[_0x50b7b4(0x2da),'id',_0x50b7b4(0x2cf),'extend']),_0xa7cdba=_0x50b7b4(0x151)['concat'](_0x34d055,'\x20')[_0x50b7b4(0x282)](_0x23f66a||'')[_0x50b7b4(0x2cb)](),_0x583780=_0x438a15[_0x50b7b4(0x1db)]('_'['concat'](_0x2650c9()));return _0x478333(_0x59f63e,''[_0x50b7b4(0x282)](_0x34d055),{'defIds':_0x59f63e['defIds'],'idSuffix':_0x583780[_0x50b7b4(0x1ef)]},_0x4c35de({'ref':_0x3a5b1f,'className':_0xa7cdba},_0x54ddce),_0x45eb43);});function _0x478333(_0x5ab11b,_0x2632db,_0x5d1ac8,_0x4d00de,_0x455944){var _0xda9154=_0x274847;return _0x438a15[_0xda9154(0x261)](_0x5ab11b[_0xda9154(0x171)],_0x4c35de(_0x4c35de({'key':_0x2632db},_0x2532ca(_0x5ab11b,_0x5d1ac8,_0x455944)),_0x4d00de),(_0x37a4b7(_0x5ab11b,_0x5d1ac8)[_0xda9154(0x158)]||[])['map'](function(_0x37fa72,_0x566f8e){var _0x561481=_0xda9154;return _0x478333(_0x37fa72,''[_0x561481(0x282)](_0x2632db,'-')['concat'](_0x5ab11b[_0x561481(0x171)],'-')[_0x561481(0x282)](_0x566f8e),_0x5d1ac8,void 0x0,_0x455944);}));}function _0x2532ca(_0x4dafc3,_0x1d51bb,_0x3b1c1f){var _0x4b280b=_0x274847,_0x446c18=_0x4c35de({},_0x4dafc3[_0x4b280b(0x1e2)]);_0x3b1c1f!=null&&_0x3b1c1f[_0x4b280b(0x1cc)]&&_0x446c18[_0x4b280b(0x278)]===_0x4b280b(0x1cc)&&(_0x446c18[_0x4b280b(0x278)]=_0x3b1c1f[_0x4b280b(0x1cc)]),_0x4dafc3[_0x4b280b(0x171)]===_0x4b280b(0x2dc)&&_0x446c18['id']&&(_0x446c18['id']=_0x446c18['id']+_0x1d51bb['idSuffix']),Object['entries'](_0x446c18)[_0x4b280b(0x202)](function(_0x34b015){var _0x432bb7=_0x4b280b,_0x24546b=_0x34b015[0x0],_0x4c93db=_0x34b015[0x1];_0x24546b===_0x432bb7(0x2dc)&&typeof _0x4c93db==_0x432bb7(0x20e)&&(_0x446c18[_0x24546b]=_0x4c93db[_0x432bb7(0x1fb)](/url\(#(.*)\)/,_0x432bb7(0x2b1)[_0x432bb7(0x282)](_0x1d51bb[_0x432bb7(0x23a)],')')));});var _0x1b024a=_0x1d51bb[_0x4b280b(0x1d6)];return!_0x1b024a||_0x1b024a[_0x4b280b(0x248)]===0x0||(_0x4dafc3[_0x4b280b(0x171)]===_0x4b280b(0x238)&&_0x446c18[_0x4b280b(0x21a)]&&(_0x446c18[_0x4b280b(0x21a)]=_0x446c18['xlink:href']+_0x1d51bb[_0x4b280b(0x23a)]),Object[_0x4b280b(0x19f)](_0x446c18)['forEach'](function(_0x47a9d1){var _0x22643f=_0x4b280b,_0x38efb7=_0x47a9d1[0x0],_0x5cf0eb=_0x47a9d1[0x1];typeof _0x5cf0eb==_0x22643f(0x20e)&&(_0x446c18[_0x38efb7]=_0x5cf0eb[_0x22643f(0x1fb)](/url\(#(.*)\)/,'url(#$1'[_0x22643f(0x282)](_0x1d51bb[_0x22643f(0x23a)],')')));})),_0x446c18;}function _0x37a4b7(_0x3b2837,_0x2ec4fc){var _0x49ea35=_0x274847,_0x2dceab,_0x517974=_0x2ec4fc[_0x49ea35(0x1d6)];return!_0x517974||_0x517974[_0x49ea35(0x248)]===0x0?_0x3b2837:_0x3b2837[_0x49ea35(0x171)]===_0x49ea35(0x17c)&&(!((_0x2dceab=_0x3b2837[_0x49ea35(0x158)])===null||_0x2dceab===void 0x0)&&_0x2dceab[_0x49ea35(0x248)])?_0x4c35de(_0x4c35de({},_0x3b2837),{'children':_0x3b2837[_0x49ea35(0x158)]['map'](function(_0x27490b){var _0x583dd5=_0x49ea35;return typeof _0x27490b[_0x583dd5(0x1e2)]['id']=='string'&&_0x517974&&_0x517974[_0x583dd5(0x2b4)](_0x27490b['attrs']['id'])?_0x4c35de(_0x4c35de({},_0x27490b),{'attrs':_0x4c35de(_0x4c35de({},_0x27490b['attrs']),{'id':_0x27490b['attrs']['id']+_0x2ec4fc[_0x583dd5(0x23a)]})}):_0x27490b;})}):_0x3b2837;}function _0x2650c9(){var _0x4bd4c6=_0x274847;return Math[_0x4bd4c6(0x20d)]()[_0x4bd4c6(0x22d)](0x24)[_0x4bd4c6(0x22a)](0x2,0x8);}_0x3fcce2[_0x274847(0x1c3)]=_0x274847(0x2ab);var _0x35beee={'tag':_0x274847(0x1eb),'attrs':{'xmlns':_0x274847(0x291),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x274847(0x141),'height':_0x274847(0x141)},'children':[{'tag':_0x274847(0x2d9),'attrs':{'fill':_0x274847(0x245),'d':_0x274847(0x29e),'fillRule':_0x274847(0x14b),'clipRule':_0x274847(0x14b)}}]},_0x5a25ab=_0x438a15[_0x274847(0x210)](function(_0x37c757,_0x401bc8){var _0x36e1cf=_0x274847;return _0x438a15[_0x36e1cf(0x261)](_0x3fcce2,Object[_0x36e1cf(0x2c9)]({},_0x37c757,{'id':_0x36e1cf(0x2c4),'ref':_0x401bc8,'icon':_0x35beee}));});_0x5a25ab[_0x274847(0x1c3)]=_0x274847(0x203);var _0x36aa64={'tag':_0x274847(0x1eb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x274847(0x251),'viewBox':_0x274847(0x16f),'width':'1em','height':_0x274847(0x141)},'children':[{'tag':'path','attrs':{'stroke':_0x274847(0x245),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x274847(0x214),'strokeLinejoin':_0x274847(0x214),'strokeWidth':1.33}},{'tag':_0x274847(0x2d9),'attrs':{'stroke':_0x274847(0x245),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':'round','strokeLinejoin':_0x274847(0x214),'strokeWidth':1.33}}]},_0x31bf01=_0x438a15[_0x274847(0x210)](function(_0x21f62a,_0x4afb66){var _0x32c964=_0x274847;return _0x438a15[_0x32c964(0x261)](_0x3fcce2,Object[_0x32c964(0x2c9)]({},_0x21f62a,{'id':_0x32c964(0x276),'ref':_0x4afb66,'icon':_0x36aa64}));});_0x31bf01[_0x274847(0x1c3)]=_0x274847(0x25c);var _0x3a5b78={'tag':_0x274847(0x1eb),'attrs':{'xmlns':_0x274847(0x291),'fill':'none','viewBox':_0x274847(0x1b3),'width':'1em','height':_0x274847(0x141)},'children':[{'tag':_0x274847(0x2d9),'attrs':{'fill':_0x274847(0x245),'d':_0x274847(0x216)}},{'tag':_0x274847(0x2d9),'attrs':{'fill':_0x274847(0x245),'d':_0x274847(0x281)}},{'tag':_0x274847(0x2d9),'attrs':{'fill':_0x274847(0x245),'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':_0x274847(0x14b),'clipRule':_0x274847(0x14b)}}]},_0x1e4dd1=_0x438a15[_0x274847(0x210)](function(_0x5ade9a,_0x5557a9){var _0x5970aa=_0x274847;return _0x438a15[_0x5970aa(0x261)](_0x3fcce2,Object['assign']({},_0x5ade9a,{'id':_0x5970aa(0x24a),'ref':_0x5557a9,'icon':_0x3a5b78}));});_0x1e4dd1[_0x274847(0x1c3)]=_0x274847(0x269);var _0x3a2c67={'tag':_0x274847(0x1eb),'attrs':{'xmlns':_0x274847(0x291),'fill':_0x274847(0x251),'viewBox':_0x274847(0x1b3),'width':_0x274847(0x141),'height':_0x274847(0x141)},'children':[{'tag':'g','attrs':{'clipPath':_0x274847(0x1f4)},'children':[{'tag':_0x274847(0x2d9),'attrs':{'stroke':'currentColor','d':_0x274847(0x2dd),'strokeLinecap':_0x274847(0x214),'strokeLinejoin':_0x274847(0x214),'strokeWidth':1.2}}]},{'tag':_0x274847(0x17c),'attrs':{},'children':[{'tag':_0x274847(0x26b),'attrs':{'id':_0x274847(0x208)},'children':[{'tag':'path','attrs':{'fill':_0x274847(0x187),'d':_0x274847(0x21b)}}]}]}],'defIds':[_0x274847(0x208)]},_0x485531=_0x438a15[_0x274847(0x210)](function(_0x1ca0e0,_0x6dc86a){var _0x3c0128=_0x274847;return _0x438a15[_0x3c0128(0x261)](_0x3fcce2,Object[_0x3c0128(0x2c9)]({},_0x1ca0e0,{'id':_0x3c0128(0x1e5),'ref':_0x6dc86a,'icon':_0x3a2c67}));});_0x485531[_0x274847(0x1c3)]=_0x274847(0x1f6);var _0x45aded={'tag':'svg','attrs':{'xmlns':_0x274847(0x291),'fill':_0x274847(0x251),'viewBox':_0x274847(0x249),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x274847(0x20c)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x274847(0x23f),'strokeLinecap':_0x274847(0x214),'strokeLinejoin':_0x274847(0x214),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x274847(0x26b),'attrs':{'id':_0x274847(0x284)},'children':[{'tag':_0x274847(0x2d9),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x274847(0x166)}}]}]}],'defIds':[_0x274847(0x284)]},_0x37ce2e=_0x438a15['forwardRef'](function(_0xd82b60,_0x4df3d8){var _0x402f9a=_0x274847;return _0x438a15[_0x402f9a(0x261)](_0x3fcce2,Object[_0x402f9a(0x2c9)]({},_0xd82b60,{'id':_0x402f9a(0x1f1),'ref':_0x4df3d8,'icon':_0x45aded}));});_0x37ce2e['displayName']=_0x274847(0x228);function _0x36ac82(_0x2a13bf){var _0x582c58=_0x274847,_0x39f6b7,_0x1bbce2;const {mcpCoreConfig:_0x5474e4,onSave:_0x49def9,loading:_0x5b3348=!0x1,config:_0x4dcb28,connectionStatus$:_0x44b52c,connectionError$:_0x1e3f84,currentApiKey$:_0x2df589,currentSessionId$:_0x1b4deb}=_0x2a13bf,_0x415b98=_0x245ec2['useDependency'](_0x49000b['LocaleService']),_0x28ccf7=_0x245ec2[_0x582c58(0x2d4)](_0x44b52c,_0x1f49aa[_0x582c58(0x28e)]['DISCONNECTED']),_0x554fd0=_0x245ec2[_0x582c58(0x2d4)](_0x1e3f84,_0x1f49aa[_0x582c58(0x2c1)][_0x582c58(0x15d)]),_0x1fcdaf=_0x245ec2[_0x582c58(0x2d4)](_0x1b4deb,''),_0x3751cd=_0x245ec2[_0x582c58(0x2d4)](_0x2df589,''),[_0x35dfeb,_0x4862ea]=_0x438a15['useState'](_0x3751cd||''),_0x498470=!0x0,_0x316691=_0x4dcb28['showDeveloperTools']&&_0x5474e4[_0x582c58(0x1bc)]&&(_0x5474e4[_0x582c58(0x1bc)][_0x582c58(0x2b4)]('univer.plus')||_0x5474e4[_0x582c58(0x1bc)]['includes']('univer.ai')),_0x46f274=(_0x39f6b7=_0x5474e4[_0x582c58(0x1bc)])==null?void 0x0:_0x39f6b7[_0x582c58(0x2b4)]('univer.plus'),_0x5c091a=(_0x1bbce2=_0x5474e4[_0x582c58(0x1bc)])==null?void 0x0:_0x1bbce2[_0x582c58(0x2b4)](_0x582c58(0x1f8)),_0x24ddaf=_0x46f274?_0x582c58(0x1f2):_0x582c58(0x25a),_0x3c5c1b=_0x4dcb28['showDeveloperTools']&&(_0x46f274||_0x5c091a),[_0x462cd3,_0x543089]=_0x438a15['useState'](!_0x35dfeb['trim']()),_0x3c5431=(_0x17df16,_0x471e3e)=>{var _0x5cb444=_0x582c58;if(_0x471e3e===_0x1f49aa[_0x5cb444(0x2c1)][_0x5cb444(0x231)])return _0x5cb444(0x148);switch(_0x17df16){case _0x1f49aa[_0x5cb444(0x28e)]['CONNECTED']:return _0x5cb444(0x1ea);case _0x1f49aa['MCPConnectionStatus']['CONNECTING']:case _0x1f49aa[_0x5cb444(0x28e)][_0x5cb444(0x24e)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x1f49aa[_0x5cb444(0x28e)][_0x5cb444(0x164)]:return _0x5cb444(0x148);default:return _0x5cb444(0x28f);}},_0x5b15b1=(_0x91e3b0,_0x35c2b9)=>{var _0x40db66=_0x582c58;if(_0x35c2b9===_0x1f49aa[_0x40db66(0x2c1)][_0x40db66(0x231)])return _0x40db66(0x2cc);switch(_0x91e3b0){case _0x1f49aa[_0x40db66(0x28e)][_0x40db66(0x21f)]:return'univer-bg-green-500';case _0x1f49aa['MCPConnectionStatus'][_0x40db66(0x293)]:case _0x1f49aa[_0x40db66(0x28e)][_0x40db66(0x24e)]:return _0x40db66(0x1c4);case _0x1f49aa[_0x40db66(0x28e)][_0x40db66(0x164)]:return'univer-bg-red-500';default:return _0x40db66(0x181);}},_0x489cd8=_0xdf677b=>{var _0x1b783e=_0x582c58;switch(_0xdf677b){case _0x1f49aa[_0x1b783e(0x28e)][_0x1b783e(0x21f)]:return _0x415b98['t'](_0x1b783e(0x1aa));case _0x1f49aa[_0x1b783e(0x28e)]['CONNECTING']:return _0x415b98['t'](_0x1b783e(0x2aa));case _0x1f49aa[_0x1b783e(0x28e)][_0x1b783e(0x164)]:return _0x415b98['t'](_0x1b783e(0x18d));case _0x1f49aa[_0x1b783e(0x28e)][_0x1b783e(0x24e)]:return _0x415b98['t'](_0x1b783e(0x2a5));default:return _0x415b98['t']('mcpConfig.connectionStatus.disconnected');}},_0x577caa=_0x37195e=>{var _0x3967fa=_0x582c58;switch(_0x37195e){case _0x1f49aa[_0x3967fa(0x2c1)][_0x3967fa(0x231)]:return _0x415b98['t'](_0x3967fa(0x298));case _0x1f49aa[_0x3967fa(0x2c1)][_0x3967fa(0x29f)]:return _0x415b98['t'](_0x3967fa(0x156));case _0x1f49aa[_0x3967fa(0x2c1)][_0x3967fa(0x15a)]:return _0x415b98['t'](_0x3967fa(0x184));case _0x1f49aa[_0x3967fa(0x2c1)][_0x3967fa(0x2be)]:return _0x415b98['t'](_0x3967fa(0x1df));default:return'';}},_0x3bb052=_0x438a15['useCallback'](()=>{var _0x3b636f=_0x582c58;const _0x55ba63={..._0x5474e4,'apiKey':_0x35dfeb[_0x3b636f(0x2cb)](),'enableAuth':_0x498470};_0x49def9(_0x55ba63);},[_0x5474e4,_0x35dfeb,_0x498470,_0x49def9]),_0x51f606=_0x35dfeb[_0x582c58(0x2cb)]()[_0x582c58(0x248)]>0x0;return _0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x17a),'children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x206),'children':_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x1b5),'children':[_0x54c16e[_0x582c58(0x212)]('div',{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x54c16e[_0x582c58(0x212)](_0x582c58(0x264),{'className':_0x582c58(0x1b1),'children':'⚙'})}),_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'children':_0x54c16e['jsx']('p',{'className':_0x582c58(0x1cb),'children':_0x415b98['t'](_0x582c58(0x190))})})]})}),_0x54c16e['jsxs'](_0x582c58(0x197),{'className':_0x582c58(0x1af),'children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x1da)+_0x3c5431(_0x28ccf7,_0x554fd0)+_0x582c58(0x2e0),'children':_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x28a),'children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x1ec)+_0x5b15b1(_0x28ccf7,_0x554fd0)+_0x582c58(0x159)}),_0x54c16e[_0x582c58(0x212)]('span',{'className':_0x582c58(0x2bc),'children':_0x489cd8(_0x28ccf7)})]})}),_0x554fd0!==_0x1f49aa[_0x582c58(0x2c1)][_0x582c58(0x15d)]&&(_0x28ccf7===_0x1f49aa['MCPConnectionStatus'][_0x582c58(0x164)]||_0x554fd0===_0x1f49aa[_0x582c58(0x2c1)][_0x582c58(0x231)])&&_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x241),'children':_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x1e9),'children':[_0x54c16e['jsx']('span',{'className':_0x582c58(0x1d9),'children':'⚠️'}),_0x54c16e['jsx']('p',{'className':_0x582c58(0x232),'children':_0x577caa(_0x554fd0)})]})})]}),_0x54c16e['jsx'](_0x582c58(0x197),{'className':_0x582c58(0x1d8),'children':_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x22f),'children':[_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x23d),'children':[_0x54c16e['jsxs'](_0x582c58(0x168),{'className':_0x582c58(0x24c),'children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x264),{'children':'🔑'}),'\x20',_0x415b98['t']('mcpConfig.apiKey'),_0x54c16e[_0x582c58(0x212)](_0x582c58(0x264),{'className':_0x582c58(0x258),'children':'*'}),_0x316691&&_0x54c16e['jsx']('a',{'href':'javascript:void(0)','onClick':()=>_0x543089(!0x0),'className':_0x582c58(0x143),'title':_0x415b98['t']('mcpConfig.apiApplyInfo.title'),'children':_0x54c16e[_0x582c58(0x212)](_0x1e4dd1,{})})]}),_0x54c16e[_0x582c58(0x212)](_0x23fa2f[_0x582c58(0x25f)],{'type':_0x582c58(0x1dd),'placeholder':_0x415b98['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x35dfeb,'onChange':_0x4862ea,'disabled':_0x5b3348,'autoComplete':_0x582c58(0x2b3)}),_0x54c16e[_0x582c58(0x212)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x415b98['t']('mcpConfig.apiKeyHint')})]}),_0x316691&&_0x462cd3&&_0x54c16e[_0x582c58(0x1ff)]('div',{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x54c16e[_0x582c58(0x212)]('a',{'href':'javascript:void(0)','onClick':()=>_0x543089(!0x1),'className':_0x582c58(0x2b5),'title':_0x582c58(0x1a7),'children':_0x54c16e['jsx'](_0x31bf01,{})}),_0x54c16e['jsxs'](_0x582c58(0x197),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x54c16e[_0x582c58(0x212)]('div',{'className':_0x582c58(0x1b0),'children':_0x54c16e[_0x582c58(0x212)]('span',{'className':_0x582c58(0x176),'children':'🚀'})}),_0x54c16e['jsxs'](_0x582c58(0x197),{'className':_0x582c58(0x260),'children':[_0x54c16e[_0x582c58(0x212)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x415b98['t'](_0x582c58(0x250))}),_0x54c16e[_0x582c58(0x212)]('p',{'className':_0x582c58(0x14a),'children':_0x415b98['t'](_0x582c58(0x19a))}),_0x54c16e['jsx'](_0x582c58(0x197),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x3c5c1b&&_0x54c16e[_0x582c58(0x1ff)]('a',{'href':_0x24ddaf,'target':_0x582c58(0x227),'rel':'noopener\x20noreferrer','className':_0x582c58(0x13f),'children':[_0x54c16e[_0x582c58(0x212)]('span',{'children':'🤖'}),_0x415b98['t'](_0x582c58(0x191)),_0x54c16e[_0x582c58(0x212)]('span',{'className':_0x582c58(0x266),'children':'↗'})]})}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x198),'children':['✨','\x20',_0x415b98['t'](_0x582c58(0x262))]})]})]})]}),_0x4dcb28['showDeveloperTools']&&_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x155),'children':[_0x54c16e[_0x582c58(0x1ff)]('h4',{'className':_0x582c58(0x27c),'children':[_0x54c16e['jsx'](_0x582c58(0x264),{'children':'🔗'}),'\x20',_0x415b98['t'](_0x582c58(0x220))]}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x217),'children':[_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x2a7),'children':[_0x54c16e[_0x582c58(0x212)]('p',{'className':_0x582c58(0x222),'children':_0x415b98['t'](_0x582c58(0x16d))}),_0x54c16e[_0x582c58(0x1ff)]('div',{'className':_0x582c58(0x23d),'children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x415b98['t'](_0x582c58(0x1bd))}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x13e),'children':[_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x264),{'className':_0x582c58(0x1dc),'children':'1'}),_0x415b98['t'](_0x582c58(0x2df))]}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x54c16e[_0x582c58(0x212)]('span',{'className':_0x582c58(0x1dc),'children':'2'}),_0x415b98['t']('mcpConfig.configStep2')]}),_0x54c16e[_0x582c58(0x1ff)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x54c16e['jsx'](_0x582c58(0x264),{'className':_0x582c58(0x1dc),'children':'3'}),_0x415b98['t']('mcpConfig.configStep3')]})]})]})]}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x23d),'children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x2b8),'children':_0x582c58(0x2b9)}),_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x2a2),'children':_0x54c16e[_0x582c58(0x212)](_0x582c58(0x1cd),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','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='+_0x1fcdaf+'\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'+(_0x35dfeb||_0x582c58(0x2a6))+_0x582c58(0x1a1)})})]}),_0x54c16e['jsxs'](_0x582c58(0x197),{'className':_0x582c58(0x2a7),'children':[_0x54c16e['jsx'](_0x582c58(0x197),{'className':_0x582c58(0x2b8),'children':_0x415b98['t'](_0x582c58(0x1e3))}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x23d),'children':[_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x275),'children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x243)}),_0x54c16e['jsxs']('div',{'className':_0x582c58(0x219),'children':[_0x54c16e['jsx'](_0x582c58(0x197),{'className':_0x582c58(0x186),'children':_0x582c58(0x2ad)}),_0x54c16e['jsx'](_0x582c58(0x197),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x415b98['t'](_0x582c58(0x2ca))})]})]}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x275),'children':[_0x54c16e['jsx'](_0x582c58(0x197),{'className':_0x582c58(0x243)}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x219),'children':[_0x54c16e['jsx'](_0x582c58(0x197),{'className':_0x582c58(0x186),'children':_0x582c58(0x246)}),_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x1c7),'children':_0x415b98['t'](_0x582c58(0x18a))})]})]})]})]})]})]}),_0x54c16e[_0x582c58(0x212)](_0x23fa2f[_0x582c58(0x299)],{'onClick':_0x3bb052,'disabled':!_0x51f606||_0x5b3348,'className':_0x582c58(0x22b),'children':_0x5b3348?_0x54c16e['jsxs']('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x264),{'children':'⟲'}),_0x415b98['t'](_0x582c58(0x1ab))]}):_0x54c16e['jsxs'](_0x582c58(0x264),{'className':_0x582c58(0x28a),'children':[_0x54c16e['jsx'](_0x5a25ab,{}),_0x415b98['t'](_0x582c58(0x1d4))]})}),_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':_0x582c58(0x265),'children':_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'className':_0x582c58(0x290),'children':[_0x54c16e[_0x582c58(0x212)]('span',{'className':_0x582c58(0x1a2),'children':'💡'}),_0x54c16e['jsxs'](_0x582c58(0x197),{'className':_0x582c58(0x2d1),'children':[_0x54c16e[_0x582c58(0x212)](_0x582c58(0x197),{'className':'univer-font-medium','children':_0x582c58(0x1be)}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'children':['•',_0x415b98['t'](_0x582c58(0x145))]}),_0x54c16e[_0x582c58(0x1ff)](_0x582c58(0x197),{'children':['•',_0x415b98['t'](_0x582c58(0x1ad))]})]})]})})]})})]});}const _0x16660e=_0x274847(0x1bf),_0x26a069={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x1faf26=Object[_0x274847(0x272)],_0x269566=(_0x20a6d9,_0x5bb228,_0x513689,_0x1d4d07)=>{var _0x2cd37f=_0x274847;for(var _0xf4a6e3=_0x1d4d07>0x1?void 0x0:_0x1d4d07?_0x1faf26(_0x5bb228,_0x513689):_0x5bb228,_0x1da106=_0x20a6d9[_0x2cd37f(0x248)]-0x1,_0x2af2fb;_0x1da106>=0x0;_0x1da106--)(_0x2af2fb=_0x20a6d9[_0x1da106])&&(_0xf4a6e3=_0x2af2fb(_0xf4a6e3)||_0xf4a6e3);return _0xf4a6e3;},_0x2eec58=(_0x4db418,_0x4cd9d8)=>(_0x1dfcca,_0x54318d)=>_0x4cd9d8(_0x1dfcca,_0x54318d,_0x4db418);const _0x3c98a5=_0x274847(0x180),_0x10ec80=_0x274847(0x295);_0x44d561[_0x274847(0x239)]=class extends _0x49000b['Disposable']{constructor(_0x436a8b,_0x54f46b,_0x2ef602,_0x3a0569,_0x3a3546,_0x58c5d7,_0x3da32b,_0x3356ff,_0x8d7b90,_0x4579e3){var _0x104b94=_0x274847;super(),_0xe254a5(this,_0x104b94(0x1d7),new _0x4d1ab4['BehaviorSubject'](!0x1)),_0xe254a5(this,'_mcpCoreConfig$',new _0x4d1ab4[(_0x104b94(0x1b7))]({})),_0xe254a5(this,_0x104b94(0x162),new _0x4d1ab4[(_0x104b94(0x1b7))]({})),_0xe254a5(this,_0x104b94(0x27e),new _0x4d1ab4[(_0x104b94(0x1b7))]('')),_0xe254a5(this,'_handleConfigSave',async _0x3fa7a3=>{var _0x3af620=_0x104b94,_0x4fe2d7,_0x11f8d6;this['_loading$'][_0x3af620(0x28c)](!0x0);try{const _0x3aeb73=await this[_0x3af620(0x1a6)](_0x3fa7a3);if(!_0x3aeb73[_0x3af620(0x280)]){this[_0x3af620(0x1f5)][_0x3af620(0x1e4)]({'type':_0x23fa2f['MessageType'][_0x3af620(0x2de)],'content':_0x3aeb73[_0x3af620(0x277)]||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x3fa7a3[_0x3af620(0x296)]?await this[_0x3af620(0x2b6)]['setItem'](_0x3c98a5,_0x3fa7a3[_0x3af620(0x296)][_0x3af620(0x2cb)]()):await this[_0x3af620(0x2b6)]['removeItem'](_0x3c98a5),this['_apiKey$'][_0x3af620(0x28c)](((_0x4fe2d7=_0x3fa7a3[_0x3af620(0x296)])==null?void 0x0:_0x4fe2d7[_0x3af620(0x2cb)]())||''),this['_mcpConnectionController'][_0x3af620(0x1ca)]({'Authorization':_0x3af620(0x240)+((_0x11f8d6=_0x3fa7a3[_0x3af620(0x296)])==null?void 0x0:_0x11f8d6[_0x3af620(0x2cb)]())}),this[_0x3af620(0x1f5)][_0x3af620(0x1e4)]({'type':_0x23fa2f[_0x3af620(0x1f3)][_0x3af620(0x288)],'content':this[_0x3af620(0x270)]['t'](_0x3af620(0x195))}),setTimeout(()=>{this['_dialogService']['close'](_0x10ec80);},0x320);}catch(_0xe13187){this[_0x3af620(0x28b)][_0x3af620(0x14f)](_0x3af620(0x283),_0xe13187),this[_0x3af620(0x1f5)][_0x3af620(0x1e4)]({'type':_0x23fa2f[_0x3af620(0x1f3)][_0x3af620(0x2de)],'content':this[_0x3af620(0x270)]['t'](_0x3af620(0x1a8))});}finally{this[_0x3af620(0x1d7)][_0x3af620(0x28c)](!0x1);}}),(this[_0x104b94(0x29d)]=_0x436a8b,this[_0x104b94(0x2b7)]=_0x54f46b,this[_0x104b94(0x179)]=_0x2ef602,this['_localStorageService']=_0x3a0569,this[_0x104b94(0x2c2)]=_0x3a3546,this[_0x104b94(0x1f5)]=_0x58c5d7,this[_0x104b94(0x1cf)]=_0x3da32b,this['_localeService']=_0x3356ff,this[_0x104b94(0x28b)]=_0x8d7b90,this[_0x104b94(0x226)]=_0x4579e3,this[_0x104b94(0x23e)](),this['_loadStoredApiKey'](),this['_registerComponent']());}[_0x274847(0x27d)](){var _0x16c9ed=_0x274847;const _0x5836bd=this[_0x16c9ed(0x179)][_0x16c9ed(0x2a9)](_0x16660e);_0x5836bd!=null&&_0x5836bd[_0x16c9ed(0x253)]&&this[_0x16c9ed(0x2c2)][_0x16c9ed(0x2ac)]({'id':_0x10ec80,'title':{'title':this[_0x16c9ed(0x270)]['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x4208e9=_0x16c9ed;this['_dialogService'][_0x4208e9(0x140)](_0x10ec80);}});}[_0x274847(0x157)](){var _0x4e7c69=_0x274847;return this[_0x4e7c69(0x1e8)][_0x4e7c69(0x19c)];}[_0x274847(0x2a8)](){var _0x34974f=_0x274847;this[_0x34974f(0x16e)](this[_0x34974f(0x1cf)]['register'](_0x34974f(0x2c6),this[_0x34974f(0x1e7)]()));}[_0x274847(0x1e7)](){var _0xa2e5de=_0x274847;return _0x245ec2[_0xa2e5de(0x26a)](()=>{var _0x110560=_0xa2e5de,_0x30fa3b,_0xb09b59,_0x56d829;return _0x54c16e['jsx'](_0x36ac82,{'config':this[_0x110560(0x162)]['value'],'mcpCoreConfig':this[_0x110560(0x1e8)][_0x110560(0x19c)],'currentApiKey$':this[_0x110560(0x27e)],'onSave':this[_0x110560(0x1e6)],'loading':this[_0x110560(0x1d7)][_0x110560(0x19c)],'connectionStatus$':(_0x30fa3b=this['_mcpConnectionController'])==null?void 0x0:_0x30fa3b[_0x110560(0x163)],'connectionError$':(_0xb09b59=this[_0x110560(0x226)])==null?void 0x0:_0xb09b59['connectionError$'],'currentSessionId$':(_0x56d829=this['_mcpConnectionController'])==null?void 0x0:_0x56d829[_0x110560(0x154)]});},this['_injector']);}['_initConfigSync'](){var _0x47b021=_0x274847;this['disposeWithMe'](this[_0x47b021(0x179)][_0x47b021(0x1c2)](_0x1f49aa[_0x47b021(0x17b)])[_0x47b021(0x167)](_0x3022be=>{var _0x5d13ab=_0x47b021;this[_0x5d13ab(0x1e8)][_0x5d13ab(0x28c)](_0x3022be||{});}));const _0x26b276=this[_0x47b021(0x179)][_0x47b021(0x2a9)](_0x1f49aa['MCP_PLUGIN_CONFIG_KEY']);this[_0x47b021(0x1e8)][_0x47b021(0x28c)](_0x26b276||{}),this[_0x47b021(0x16e)](this[_0x47b021(0x179)][_0x47b021(0x1c2)](_0x16660e)['subscribe'](_0x41b812=>{var _0x34aaf2=_0x47b021;this['_config$'][_0x34aaf2(0x28c)](_0x41b812||{});}));const _0x5f2e9a=this[_0x47b021(0x179)][_0x47b021(0x2a9)](_0x16660e);this[_0x47b021(0x162)]['next'](_0x5f2e9a||{});}async[_0x274847(0x2c7)](){var _0x2c6419=_0x274847;const _0x1b0b82=this[_0x2c6419(0x179)][_0x2c6419(0x2a9)](_0x16660e);if(!(_0x1b0b82!=null&&_0x1b0b82[_0x2c6419(0x253)]))return;const _0x4c91a9=await this[_0x2c6419(0x2b6)]['getItem'](_0x3c98a5);_0x4c91a9&&(this[_0x2c6419(0x226)][_0x2c6419(0x1ca)]({'Authorization':_0x2c6419(0x240)+_0x4c91a9}),this[_0x2c6419(0x27e)][_0x2c6419(0x28c)](_0x4c91a9));}async['_validateConfig'](_0x1a9471){var _0x15e1e1=_0x274847;if(!_0x1a9471[_0x15e1e1(0x296)]||_0x1a9471[_0x15e1e1(0x296)][_0x15e1e1(0x2cb)]()[_0x15e1e1(0x248)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x15e1e1(0x297))};if(_0x1a9471[_0x15e1e1(0x296)]['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x15e1e1(0x270)]['t'](_0x15e1e1(0x25e))};try{const _0x391b38=await this[_0x15e1e1(0x29d)][_0x15e1e1(0x1f9)](_0x1f49aa[_0x15e1e1(0x267)])['validateApiKey'](_0x1a9471[_0x15e1e1(0x296)][_0x15e1e1(0x2cb)]());return _0x391b38[_0x15e1e1(0x280)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x391b38[_0x15e1e1(0x14f)]||this['_localeService']['t'](_0x15e1e1(0x2c5))};}catch(_0x53f4e5){return console[_0x15e1e1(0x18b)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x53f4e5),{'isValid':!0x0};}}},_0x44d561['MCPConfigUIController']=_0x269566([_0x2eec58(0x0,_0x49000b['Inject'](_0x49000b[_0x274847(0x263)])),_0x2eec58(0x1,_0x245ec2[_0x274847(0x233)]),_0x2eec58(0x2,_0x49000b[_0x274847(0x25b)]),_0x2eec58(0x3,_0x49000b[_0x274847(0x1a0)]),_0x2eec58(0x4,_0x245ec2[_0x274847(0x1a9)]),_0x2eec58(0x5,_0x245ec2[_0x274847(0x1e0)]),_0x2eec58(0x6,_0x49000b['Inject'](_0x245ec2['ComponentManager'])),_0x2eec58(0x7,_0x49000b[_0x274847(0x1c9)](_0x49000b[_0x274847(0x22e)])),_0x2eec58(0x8,_0x49000b[_0x274847(0x213)]),_0x2eec58(0x9,_0x49000b[_0x274847(0x1c9)](_0x1f49aa[_0x274847(0x267)]))],_0x44d561[_0x274847(0x239)]);const _0x16da25={'id':_0x274847(0x1ed),'type':_0x49000b[_0x274847(0x2d6)]['COMMAND'],'handler':async(_0xfa2b81,_0x31bd30)=>(_0xfa2b81[_0x274847(0x1f9)](_0x44d561[_0x274847(0x239)])[_0x274847(0x27d)](),!0x0)};function _0xad7cb7(_0x15e4a6,_0x602be6){var _0x2986af=_0x274847;switch(_0x15e4a6){case _0x1f49aa[_0x2986af(0x28e)][_0x2986af(0x2bb)]:return'mcpStatus.disconnected';case _0x1f49aa[_0x2986af(0x28e)][_0x2986af(0x293)]:return'mcpStatus.connecting';case _0x1f49aa[_0x2986af(0x28e)][_0x2986af(0x21f)]:return _0x2986af(0x1d0);case _0x1f49aa[_0x2986af(0x28e)][_0x2986af(0x164)]:switch(_0x602be6){case _0x1f49aa[_0x2986af(0x2c1)][_0x2986af(0x231)]:return _0x2986af(0x29a);case _0x1f49aa[_0x2986af(0x2c1)][_0x2986af(0x29f)]:return _0x2986af(0x15b);case _0x1f49aa[_0x2986af(0x2c1)][_0x2986af(0x15a)]:return _0x2986af(0x2d8);case _0x1f49aa[_0x2986af(0x2c1)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case _0x1f49aa[_0x2986af(0x28e)][_0x2986af(0x24e)]:return _0x2986af(0x177);default:return _0x2986af(0x2d7);}}function _0x418d7a(_0x2e0e63,_0x29388e,_0x166f0e,_0x1b9ef3=!0x0){var _0x1e74c0=_0x274847;const _0x48d5b8=_0xad7cb7(_0x2e0e63,_0x29388e),_0x5d1028=_0x166f0e['t'](_0x48d5b8);return _0x1b9ef3?_0x2e0e63===_0x1f49aa[_0x1e74c0(0x28e)][_0x1e74c0(0x2bb)]&&_0x29388e===_0x1f49aa[_0x1e74c0(0x2c1)]['UNAUTHORIZED']?_0x5d1028+_0x1e74c0(0x23c)+_0x166f0e['t']('mcpStatus.clickToConfigure'):_0x2e0e63===_0x1f49aa[_0x1e74c0(0x28e)][_0x1e74c0(0x21f)]?''+_0x5d1028:_0x2e0e63===_0x1f49aa[_0x1e74c0(0x28e)][_0x1e74c0(0x2bb)]||_0x2e0e63===_0x1f49aa[_0x1e74c0(0x28e)][_0x1e74c0(0x164)]?_0x5d1028+'\x20-\x20'+_0x166f0e['t']('mcpStatus.clickToConnect'):_0x5d1028:_0x5d1028;}function _0x21b639(_0x2f20bb){var _0x389310=_0x274847;switch(_0x2f20bb){case _0x1f49aa[_0x389310(0x28e)][_0x389310(0x21f)]:return _0x389310(0x2ce);case _0x1f49aa[_0x389310(0x28e)]['CONNECTING']:case _0x1f49aa[_0x389310(0x28e)]['RETRYING']:return'univer-text-yellow-500';case _0x1f49aa[_0x389310(0x28e)][_0x389310(0x164)]:case _0x1f49aa[_0x389310(0x28e)]['DISCONNECTED']:return _0x389310(0x258);default:return _0x389310(0x1c1);}}function _0xad68ab(_0x1a77b4){var _0x507bef=_0x274847;const {status$:_0x310cba,error$:_0x3683d6,onConfigure:_0x5e3536,showClickable:_0x2666ad=!0x0}=_0x1a77b4,_0x339972=_0x245ec2[_0x507bef(0x2d4)](_0x310cba,_0x1f49aa[_0x507bef(0x28e)][_0x507bef(0x2bb)]),_0x808d6f=_0x245ec2['useObservable'](_0x3683d6,_0x1f49aa['MCPConnectionError']['NONE']),_0xe518c2=_0x245ec2[_0x507bef(0x21e)](_0x49000b[_0x507bef(0x22e)]),_0x1cc3d1=_0x339972===_0x1f49aa[_0x507bef(0x28e)][_0x507bef(0x21f)];_0x339972===_0x1f49aa[_0x507bef(0x28e)]['CONNECTING']||_0x1f49aa[_0x507bef(0x28e)]['RETRYING'];const _0x512a4b=_0xe518c2['t'](_0xad7cb7(_0x339972,_0x808d6f)),_0x4a5677=_0x418d7a(_0x339972,_0x808d6f,_0xe518c2,_0x2666ad),_0x12b557=_0x21b639(_0x339972),_0x7b0060=_0x1cc3d1?_0x54c16e['jsx'](_0x37ce2e,{}):_0x54c16e['jsx'](_0x485531,{}),_0x5b2b0a=_0x438a15[_0x507bef(0x1b2)](()=>{_0x2666ad&&_0x5e3536&&_0x5e3536();},[_0x2666ad,_0x5e3536]);function _0x3737ab(){var _0x1bb838=_0x507bef;return _0x54c16e['jsxs'](_0x1bb838(0x197),{'className':_0x23fa2f[_0x1bb838(0x1c6)]('univer-flex\x20univer-items-center',_0x2666ad&&_0x5e3536&&'\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'),'onClick':_0x2666ad&&_0x5e3536?_0x5b2b0a:void 0x0,'children':[_0x54c16e[_0x1bb838(0x212)](_0x1bb838(0x197),{'className':_0x23fa2f[_0x1bb838(0x1c6)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x12b557),'children':_0x7b0060}),_0x54c16e[_0x1bb838(0x212)](_0x1bb838(0x197),{'className':_0x1bb838(0x29b),'children':_0x512a4b})]});}return _0x54c16e[_0x507bef(0x212)](_0x23fa2f[_0x507bef(0x144)],{'title':_0x4a5677,'placement':_0x507bef(0x25d),'children':_0x3737ab()});}var _0x248f02=Object[_0x274847(0x272)],_0x569367=(_0x1ff7db,_0x10b800,_0x248eb9,_0x229b6)=>{for(var _0x1cc58a=_0x229b6>0x1?void 0x0:_0x229b6?_0x248f02(_0x10b800,_0x248eb9):_0x10b800,_0x3bb7d2=_0x1ff7db['length']-0x1,_0x1db1e0;_0x3bb7d2>=0x0;_0x3bb7d2--)(_0x1db1e0=_0x1ff7db[_0x3bb7d2])&&(_0x1cc58a=_0x1db1e0(_0x1cc58a)||_0x1cc58a);return _0x1cc58a;},_0xae838a=(_0x532dc1,_0x12930e)=>(_0x4b3922,_0x43424f)=>_0x12930e(_0x4b3922,_0x43424f,_0x532dc1);_0x44d561[_0x274847(0x19d)]=class extends _0x49000b['Disposable']{constructor(_0x5e9d37,_0x4dffe1,_0x51abe8,_0x3ab375){var _0x4055e4=_0x274847;super(),this['_injector']=_0x5e9d37,this[_0x4055e4(0x200)]=_0x4dffe1,this[_0x4055e4(0x2b7)]=_0x51abe8,this[_0x4055e4(0x179)]=_0x3ab375,this[_0x4055e4(0x1b9)](),this['_initStatusComponent']();}['_initAutoConnect'](){var _0x2e153d=_0x274847;const _0x139062=this['_configService'][_0x2e153d(0x2a9)](_0x16660e);_0x139062!=null&&_0x139062['showDeveloperTools']&&(this[_0x2e153d(0x200)]['enableAutoConnect']=!0x1);}['_initStatusComponent'](){var _0x42c4de=_0x274847;const _0x4355fa=this[_0x42c4de(0x179)][_0x42c4de(0x2a9)](_0x16660e);(_0x4355fa==null?void 0x0:_0x4355fa[_0x42c4de(0x273)])!==!0x1&&this[_0x42c4de(0x16e)](this['_uiPartsService'][_0x42c4de(0x27f)](_0x245ec2[_0x42c4de(0x152)]['HEADER_MENU'],()=>{var _0x277cd7=_0x42c4de,_0x12d727;return _0x245ec2['connectInjector'](_0x335cef({'status$':this[_0x277cd7(0x200)][_0x277cd7(0x163)],'error$':this[_0x277cd7(0x200)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x12d727=_0x4355fa==null?void 0x0:_0x4355fa[_0x277cd7(0x253)])!=null?_0x12d727:!0x1}),this[_0x277cd7(0x29d)]);}));}['_handleConfigure'](){var _0x8c7d13=_0x274847;this[_0x8c7d13(0x29d)][_0x8c7d13(0x1f9)](_0x44d561[_0x8c7d13(0x239)])[_0x8c7d13(0x27d)]();}},_0x44d561['MCPConnectionUIController']=_0x569367([_0xae838a(0x0,_0x49000b[_0x274847(0x1c9)](_0x49000b[_0x274847(0x263)])),_0xae838a(0x1,_0x49000b[_0x274847(0x1c9)](_0x1f49aa[_0x274847(0x267)])),_0xae838a(0x2,_0x245ec2['IUIPartsService']),_0xae838a(0x3,_0x49000b[_0x274847(0x25b)])],_0x44d561['MCPConnectionUIController']);function _0x335cef(_0x58cb45){const {status$:_0x57e9d3,error$:_0xaa1020,onConfigure:_0x161e16,showClickable:_0x155ce3}=_0x58cb45;return function(){var _0x191720=_0x1c8c;return _0x54c16e[_0x191720(0x212)](_0xad68ab,{'status$':_0x57e9d3,'error$':_0xaa1020,'onConfigure':_0x161e16,'showClickable':_0x155ce3});};}function _0x5cda4c(_0x1104c3){var _0x4aa3de=_0x274847;return{'id':_0x16da25['id'],'type':_0x245ec2[_0x4aa3de(0x221)][_0x4aa3de(0x286)],'icon':_0x4aa3de(0x153),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}const _0x52133a={[_0x245ec2[_0x274847(0x256)][_0x274847(0x146)]]:{[_0x16da25['id']]:{'order':0xa,'menuItemFactory':_0x5cda4c}}};var _0x52d9ed=Object[_0x274847(0x272)],_0x5e1887=(_0x11c157,_0x3eb690,_0x2f622f,_0x2e96b6)=>{for(var _0x2890cf=_0x2e96b6>0x1?void 0x0:_0x2e96b6?_0x52d9ed(_0x3eb690,_0x2f622f):_0x3eb690,_0x12543e=_0x11c157['length']-0x1,_0x4923c6;_0x12543e>=0x0;_0x12543e--)(_0x4923c6=_0x11c157[_0x12543e])&&(_0x2890cf=_0x4923c6(_0x2890cf)||_0x2890cf);return _0x2890cf;},_0x51f6aa=(_0x10841c,_0x271ade)=>(_0x55006f,_0x4558ab)=>_0x271ade(_0x55006f,_0x4558ab,_0x10841c);_0x44d561['MCPUIMenuController']=class extends _0x49000b[_0x274847(0x174)]{constructor(_0x5e189a,_0x3f647d){var _0xe4521f=_0x274847;super(),this[_0xe4521f(0x1fe)]=_0x5e189a,this['_menuManagerService']=_0x3f647d,this[_0xe4521f(0x1ac)](),this[_0xe4521f(0x161)]();}[_0x274847(0x1ac)](){[_0x16da25]['forEach'](_0x3bc91d=>{var _0x3a0971=_0x1c8c;this[_0x3a0971(0x16e)](this[_0x3a0971(0x1fe)]['registerCommand'](_0x3bc91d));});}[_0x274847(0x161)](){var _0x509b18=_0x274847;this[_0x509b18(0x173)][_0x509b18(0x17f)](_0x52133a);}},_0x44d561['MCPUIMenuController']=_0x5e1887([_0x51f6aa(0x0,_0x49000b[_0x274847(0x188)]),_0x51f6aa(0x1,_0x245ec2[_0x274847(0x2c0)])],_0x44d561[_0x274847(0x255)]);const _0x1e0a8b={'mcpStatus':{'disconnected':_0x274847(0x1fc),'connecting':_0x274847(0x15e),'connected':'MCP\x20Connected','failed':_0x274847(0x147),'retrying':_0x274847(0x16b),'unknown':_0x274847(0x235),'unauthorized':_0x274847(0x14c),'sessionOccupied':_0x274847(0x199),'networkError':_0x274847(0x165),'maxRetriesExceeded':_0x274847(0x2a0),'clickToConnect':_0x274847(0x1c5),'clickToConfigure':_0x274847(0x1f7)},'mcpConfig':{'title':_0x274847(0x2b9),'description':_0x274847(0x2d0),'apiKey':_0x274847(0x274),'apiKeyPlaceholder':_0x274847(0x285),'apiKeyHint':_0x274847(0x268),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x274847(0x2a3),'connectionInfo':_0x274847(0x1b8),'mcpClientConfig':_0x274847(0x1b8),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x274847(0x279),'configStep2':_0x274847(0x150),'configStep3':_0x274847(0x1ba),'sessionId':'Session\x20ID','sessionIdDescription':_0x274847(0x215),'authorizationDescription':_0x274847(0x14d),'configParameters':_0x274847(0x20b),'maxRetries':_0x274847(0x22c),'save':_0x274847(0x27a),'saving':_0x274847(0x2ae),'note1':_0x274847(0x185),'note2':_0x274847(0x1ce),'configSaved':_0x274847(0x19e),'configError':_0x274847(0x175),'apiApplyInfo':{'title':_0x274847(0x1a3),'description':_0x274847(0x244),'univerAiLabel':_0x274847(0x26c),'getStarted':_0x274847(0x194)},'validation':{'apiKeyRequired':_0x274847(0x1e1),'apiKeyTooShort':_0x274847(0x15f),'invalidConfig':_0x274847(0x160),'invalidApiKey':_0x274847(0x234)},'connectionStatus':{'disconnected':_0x274847(0x21c),'connecting':_0x274847(0x294),'connected':_0x274847(0x23b),'failed':_0x274847(0x15c),'retrying':_0x274847(0x18f)},'connectionError':{'unauthorized':_0x274847(0x17e),'sessionOccupied':_0x274847(0x242),'networkError':_0x274847(0x247),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x5784a9={'mcpStatus':{'disconnected':_0x274847(0x252),'connecting':'MCP\x20连接中...','connected':_0x274847(0x17d),'failed':_0x274847(0x1fd),'retrying':'MCP\x20重连中...','unknown':_0x274847(0x1b6),'unauthorized':_0x274847(0x1a5),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x274847(0x2af),'clickToConnect':'点击连接\x20MCP','clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x274847(0x178),'description':_0x274847(0x1de),'apiKey':_0x274847(0x14e),'apiKeyPlaceholder':_0x274847(0x28d),'apiKeyHint':_0x274847(0x2c3),'enableAuth':_0x274847(0x142),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x274847(0x211),'mcpClientConfig':_0x274847(0x211),'configInstructions':_0x274847(0x2d3),'configStepTitle':_0x274847(0x225),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x274847(0x18e),'sessionId':_0x274847(0x29c),'sessionIdDescription':_0x274847(0x2d2),'authorizationDescription':_0x274847(0x229),'configParameters':'配置参数:','maxRetries':_0x274847(0x27b),'save':_0x274847(0x257),'saving':'保存中...','note1':'配置更改将立即生效','note2':_0x274847(0x2db),'configSaved':_0x274847(0x2c8),'configError':'配置保存失败','apiApplyInfo':{'title':_0x274847(0x172),'description':_0x274847(0x2bd),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x274847(0x2b0)},'validation':{'apiKeyRequired':_0x274847(0x205),'apiKeyTooShort':_0x274847(0x16a),'invalidConfig':_0x274847(0x192),'invalidApiKey':_0x274847(0x1d1)},'connectionStatus':{'disconnected':_0x274847(0x271),'connecting':_0x274847(0x20f),'connected':_0x274847(0x189),'failed':_0x274847(0x183),'retrying':_0x274847(0x1fa)},'connectionError':{'unauthorized':_0x274847(0x24d),'sessionOccupied':_0x274847(0x2cd),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x4c69bb=Object[_0x274847(0x1ee)],_0x20822f=Object[_0x274847(0x272)],_0x45e9c3=(_0x33408d,_0x4b1be9,_0xf46dde)=>_0x4b1be9 in _0x33408d?_0x4c69bb(_0x33408d,_0x4b1be9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf46dde}):_0x33408d[_0x4b1be9]=_0xf46dde,_0x262e17=(_0x2cb338,_0xdbdb48,_0x48d599,_0x41950a)=>{var _0x40d822=_0x274847;for(var _0x494f84=_0x41950a>0x1?void 0x0:_0x41950a?_0x20822f(_0xdbdb48,_0x48d599):_0xdbdb48,_0x58cc53=_0x2cb338[_0x40d822(0x248)]-0x1,_0x501ca5;_0x58cc53>=0x0;_0x58cc53--)(_0x501ca5=_0x2cb338[_0x58cc53])&&(_0x494f84=_0x501ca5(_0x494f84)||_0x494f84);return _0x494f84;},_0x504855=(_0x16a602,_0xe55f53)=>(_0x18fa1a,_0x2efa28)=>_0xe55f53(_0x18fa1a,_0x2efa28,_0x16a602),_0x3808ee=(_0x534188,_0xe20f90,_0x5f1547)=>_0x45e9c3(_0x534188,_0xe20f90+'',_0x5f1547);_0x44d561[_0x274847(0x2ba)]=class extends _0x49000b[_0x274847(0x209)]{constructor(_0x5c63f2=_0x26a069,_0x3f946f,_0x3271cc,_0x19e980,_0x16b97c,_0x42f090){var _0x219f5c=_0x274847;super(),this[_0x219f5c(0x2bf)]=_0x5c63f2,this[_0x219f5c(0x29d)]=_0x3f946f,this[_0x219f5c(0x179)]=_0x3271cc,this[_0x219f5c(0x2b7)]=_0x19e980,this[_0x219f5c(0x2b6)]=_0x16b97c,this[_0x219f5c(0x270)]=_0x42f090;const {..._0x4def75}=_0x49000b['merge']({},_0x26a069,this[_0x219f5c(0x2bf)]);this[_0x219f5c(0x179)]['setConfig'](_0x16660e,_0x4def75);}async[_0x274847(0x236)](){var _0x5e0980=_0x274847;const _0x420e21=[[_0x44d561[_0x5e0980(0x19d)]],[_0x44d561['MCPConfigUIController']],[_0x44d561[_0x5e0980(0x255)]]];this['_injector'][_0x5e0980(0x287)](_0x546f84['ISocketService'])||_0x420e21['push']([_0x546f84[_0x5e0980(0x2a1)],{'useClass':_0x546f84[_0x5e0980(0x254)]}]),_0x420e21[_0x5e0980(0x202)](_0x862b57=>this[_0x5e0980(0x29d)][_0x5e0980(0x224)](_0x862b57)),this[_0x5e0980(0x29d)][_0x5e0980(0x1f9)](_0x44d561['MCPConnectionUIController']),this[_0x5e0980(0x29d)][_0x5e0980(0x1f9)](_0x44d561[_0x5e0980(0x239)]),this[_0x5e0980(0x29d)]['get'](_0x44d561[_0x5e0980(0x255)]);}},_0x3808ee(_0x44d561['UniverMCPUIPlugin'],_0x274847(0x24b),_0x274847(0x193)),_0x44d561['UniverMCPUIPlugin']=_0x262e17([_0x49000b['DependentOn'](_0x1f49aa['UniverMCPPlugin']),_0x504855(0x1,_0x49000b[_0x274847(0x1c9)](_0x49000b[_0x274847(0x263)])),_0x504855(0x2,_0x49000b[_0x274847(0x25b)]),_0x504855(0x3,_0x245ec2[_0x274847(0x233)]),_0x504855(0x4,_0x49000b[_0x274847(0x1a0)]),_0x504855(0x5,_0x49000b[_0x274847(0x1c9)](_0x49000b[_0x274847(0x22e)]))],_0x44d561[_0x274847(0x2ba)]),_0x44d561[_0x274847(0x2c6)]=_0x36ac82,_0x44d561['MCPStatusDisplay']=_0xad68ab,_0x44d561['OpenMCPConfigPanelCommand']=_0x16da25,_0x44d561['enUS']=_0x1e0a8b,_0x44d561[_0x274847(0x1d3)]=_0x5784a9,Object[_0x274847(0x1ee)](_0x44d561,Symbol[_0x274847(0x149)],{'value':_0x274847(0x207)});}));function _0x2c94(){var _0x2e7a44=['white','ICommandService','已连接','mcpConfig.authorizationDescription','warn','object','mcpConfig.connectionStatus.failed','重启您的\x20MCP\x20客户端以使配置生效','Retrying...','mcpConfig.description','mcpConfig.apiApplyInfo.univerAiLabel','配置无效','MCP_UI_PLUGIN','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.configSaved','UniverDesign','div','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','MCP:\x20Session\x20ID\x20Occupied','mcpConfig.apiApplyInfo.description','apply','value','MCPConnectionUIController','Configuration\x20saved\x20successfully','entries','ILocalStorageService','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','univer-flex-shrink-0\x20univer-text-blue-500','What\x20is\x20API\x20Key?','23550CVjCUO','MCP:\x20未授权','_validateConfig','Close','mcpConfig.configError','IDialogService','mcpConfig.connectionStatus.connected','mcpConfig.saving','_initializeCommands','mcpConfig.note2','indexOf','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','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','univer-text-white','useCallback','0\x200\x2016\x2016','3508400LHqEFz','univer-flex\x20univer-items-center\x20univer-gap-3','MCP\x20状态未知','BehaviorSubject','MCP\x20Client\x20Configuration','_initAutoConnect','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','@univerjs/network','mcpServerUrl','mcpConfig.configStepTitle','Configuration\x20Notes:','mcp-ui.config','getOwnPropertySymbols','univer-text-gray-500','subscribeConfigValue$','displayName','univer-bg-blue-500','Click\x20to\x20connect\x20MCP','clsx','univer-text-xs\x20univer-text-gray-500','58vmqlCb','Inject','__setCustomHeaders','univer-text-sm\x20univer-text-gray-500','colorChannel1','pre','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','_componentManager','mcpStatus.connected','API\x20密钥无效,请检查密钥是否正确','@univerjs/ui','zhCN','mcpConfig.save','10kMkHZl','defIds','_loading$','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-flex-shrink-0\x20univer-text-red-500','\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','useRef','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','text','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.connectionError.maxRetriesExceeded','IMessageService','API\x20key\x20is\x20required','attrs','mcpConfig.configParameters','show','off-line-icon','_handleConfigSave','_createConfigPanelComponent','_mcpCoreConfig$','univer-flex\x20univer-items-start\x20univer-gap-2','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','svg','\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','mcp-ui.command.openConfigPanel','defineProperty','current','441bqPuaR','on-line-icon','https://console.univer.plus','MessageType','url(#off-line-icon_clip0_910_343)','_messageService','OffLineIcon','Click\x20to\x20configure\x20MCP','univer.ai','get','重连中...','replace','MCP\x20Disconnected','MCP\x20连接失败','_commandService','jsxs','_connectionController','prototype','forEach','CheckMarkIcon','amd','API\x20密钥不能为空','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Module','off-line-icon_clip0_910_343','Plugin','call','Configuration\x20Parameters:','url(#on-line-icon_clip0_910_349)','random','string','连接中...','forwardRef','MCP\x20客户端配置','jsx','ILogService','round','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','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','univer-space-y-4','@univerjs/core','univer-min-w-0\x20univer-flex-1','xlink:href','M0\x200H16V16H0z','Disconnected','UniverProMcp','useDependency','CONNECTED','mcpConfig.connectionInfo','MenuItemType','univer-text-xs\x20univer-text-gray-600','@univerjs-pro/mcp','add','配置步骤:','_mcpConnectionController','_blank','OnLineIcon','带有\x20Bearer\x20前缀的\x20API\x20密钥。','substring','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','Max\x20Retries','toString','LocaleService','univer-space-y-5','React','UNAUTHORIZED','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','IUIPartsService','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','onStarting','extend','use','MCPConfigUIController','idSuffix','Connected','\x20-\x20','univer-space-y-2','_initConfigSync','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','Bearer\x20','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','currentColor','Authorization:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','length','0\x200\x2017\x2016','help-single','pluginName','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','权限验证失败,请检查您的\x20API\x20密钥','RETRYING','UniverCore','mcpConfig.apiApplyInfo.title','none','MCP\x20已断开','showDeveloperTools','WebSocketService','MCPUIMenuController','RibbonStartGroup','保存配置','univer-text-red-500','58278hCPJkD','https://console.univer.ai','IConfigService','CloseSmallSingle','bottom','mcpConfig.validation.apiKeyTooShort','Input','univer-flex-1','createElement','mcpConfig.apiApplyInfo.getStarted','Injector','span','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-gray-400','MCPConnectionController','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','HelpSingle','connectInjector','clipPath','Univer\x20AI\x20Console','hasOwnProperty','react','UniverUi','_localeService','未连接','getOwnPropertyDescriptor','showStatus','API\x20Key','univer-flex\x20univer-items-start\x20univer-gap-3','close-small-single','errorMessage','fill','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','最大重试次数','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','showConfigPanel','_apiKey$','registerComponent','isValid','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','concat','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','on-line-icon_clip0_910_349','Enter\x20your\x20API\x20key','BUTTON','has','Success','@univerjs/design','univer-flex\x20univer-items-center\x20univer-gap-2','_logService','next','请输入您的\x20API\x20密钥','MCPConnectionStatus','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-flex\x20univer-gap-3','http://www.w3.org/2000/svg','193342XXlxUP','CONNECTING','Connecting...','mcp-config-dialog','apiKey','mcpConfig.validation.apiKeyRequired','mcpConfig.connectionError.unauthorized','Button','mcpStatus.unauthorized','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','会话ID','_injector','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','SESSION_ID_OCCUPIED','MCP:\x20Max\x20Retries\x20Exceeded','ISocketService','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Enable\x20authentication\x20for\x20secure\x20connections','1169340eJNGzj','mcpConfig.connectionStatus.retrying','<API_KEY>','univer-space-y-3','_registerComponent','getConfig','mcpConfig.connectionStatus.connecting','UniverIcon','open','univer_session_id:','Saving...','MCP:\x20超出最大重试次数','几秒钟内获取您的\x20API\x20密钥','url(#$1','UniverNetwork','off','includes','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','_localStorageService','_uiPartsService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','MCP\x20Configuration','UniverMCPUIPlugin','DISCONNECTED','univer-text-sm\x20univer-font-medium','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MAX_RETRIES_EXCEEDED','_config','IMenuManagerService','MCPConnectionError','_dialogService','您的\x20API\x20密钥将在此浏览器中本地存储','check-mark-icon','mcpConfig.validation.invalidApiKey','MCPConfigPanel','_loadStoredApiKey','配置保存成功','assign','mcpConfig.sessionIdDescription','trim','univer-bg-red-500','会话\x20ID\x20已被占用,请稍后再试','univer-text-green-500','className','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','将以下配置添加到您的\x20MCP\x20客户端设置中:','useObservable','4DGiHdc','CommandType','mcpStatus.unknown','mcpStatus.networkError','path','icon','您的\x20API\x20密钥安全存储在本地存储中','mask','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','Error','mcpConfig.configStep1','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','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','close','1em','启用身份验证','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','Tooltip','mcpConfig.note1','OTHERS','MCP\x20Connection\x20Failed','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','toStringTag','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','evenodd','MCP:\x20Unauthorized','API\x20key\x20with\x20Bearer\x20prefix.','API\x20密钥','error','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univerjs-icon\x20univerjs-icon-','BuiltInUIPart','MenuIcon','sessionId$','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpConfig.connectionError.sessionOccupied','getCurrentConfig','children','\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','NETWORK_ERROR','mcpStatus.sessionOccupied','Connection\x20Failed','NONE','MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20configuration','_initializeMenus','_config$','connectionStatus$','FAILED','MCP:\x20Network\x20Error','translate(.97)','subscribe','label','UniverProMcpUi','API\x20密钥长度至少需要\x2010\x20位','MCP\x20Retrying...','1876699XcXChn','mcpConfig.configInstructions','disposeWithMe','0\x200\x2017\x2017','rxjs','tag','什么是\x20API\x20密钥?','_menuManagerService','Disposable','Failed\x20to\x20save\x20configuration','univer-text-blue-600','mcpStatus.retrying','MCP\x20配置','_configService','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','MCP_PLUGIN_CONFIG_KEY','defs','MCP\x20已连接','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mergeMenu','mcp.apiKey','univer-bg-gray-500','3434139XEkUkS','连接失败','mcpConfig.connectionError.networkError','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600'];_0x2c94=function(){return _0x2e7a44;};return _0x2c94();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2ab6(_0x5c7793,_0xed6a3d){var _0xbe8201=_0xbe82();return _0x2ab6=function(_0x2ab6a2,_0x28089a){_0x2ab6a2=_0x2ab6a2-0x1bb;var _0x4a20b0=_0xbe8201[_0x2ab6a2];return _0x4a20b0;},_0x2ab6(_0x5c7793,_0xed6a3d);}function _0xbe82(){var _0xe74a0e=['Max\x20Retries','MCP\x20Connecting...','440426OXCRkI','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enter\x20your\x20API\x20key','Save\x20Configuration','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20configure\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','object','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','Click\x20to\x20connect\x20MCP','MCP\x20Client\x20Configuration','Connected','Connecting...','Session\x20ID','3985560nnmjyT','MCP\x20Connection\x20Failed','API\x20key\x20is\x20required','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Retrying...','amd','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','function','Connection\x20Failed','API\x20Key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Disconnected','Configuration\x20Steps:','532158ZfJDzT','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','UniverProMcpUiCaES','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','exports','1138343bTQCfG','8968764XJbWFR','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20configuration','6399072LARsRd','Saving...','8BqzSRj','Configuration\x20Parameters:','Failed\x20to\x20save\x20configuration','8lvLfMb','2126817ljNfec','Univer\x20AI\x20Console','MCP\x20Connected','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error'];_0xbe82=function(){return _0xe74a0e;};return _0xbe82();}(function(_0x54c9ee,_0x57fcdb){var _0x4306a5=_0x2ab6,_0x5b88da=_0x54c9ee();while(!![]){try{var _0x52dd3a=parseInt(_0x4306a5(0x1eb))/0x1+-parseInt(_0x4306a5(0x1c7))/0x2+parseInt(_0x4306a5(0x1e5))/0x3*(-parseInt(_0x4306a5(0x1f2))/0x4)+parseInt(_0x4306a5(0x1d7))/0x5+parseInt(_0x4306a5(0x1f0))/0x6+parseInt(_0x4306a5(0x1ec))/0x7*(-parseInt(_0x4306a5(0x1bd))/0x8)+-parseInt(_0x4306a5(0x1be))/0x9;if(_0x52dd3a===_0x57fcdb)break;else _0x5b88da['push'](_0x5b88da['shift']());}catch(_0x10986c){_0x5b88da['push'](_0x5b88da['shift']());}}}(_0xbe82,0xde069),function(_0x41c377,_0x2928d6){var _0x21ed5f=_0x2ab6;typeof exports==_0x21ed5f(0x1cf)&&typeof module<'u'?module[_0x21ed5f(0x1ea)]=_0x2928d6():typeof define==_0x21ed5f(0x1de)&&define[_0x21ed5f(0x1dc)]?define(_0x2928d6):(_0x41c377=typeof globalThis<'u'?globalThis:_0x41c377||self,_0x41c377[_0x21ed5f(0x1e7)]=_0x2928d6());}(this,function(){'use strict';var _0x12a642=_0x2ab6;return{'mcpStatus':{'disconnected':_0x12a642(0x1e3),'connecting':_0x12a642(0x1c6),'connected':_0x12a642(0x1c0),'failed':_0x12a642(0x1d8),'retrying':'MCP\x20Retrying...','unknown':_0x12a642(0x1d1),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x12a642(0x1ed),'networkError':_0x12a642(0x1c4),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x12a642(0x1d2),'clickToConfigure':_0x12a642(0x1cd)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x12a642(0x1c8),'apiKey':_0x12a642(0x1e0),'apiKeyPlaceholder':_0x12a642(0x1c9),'apiKeyHint':_0x12a642(0x1ee),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x12a642(0x1d3),'mcpClientConfig':_0x12a642(0x1d3),'configInstructions':_0x12a642(0x1e6),'configStepTitle':_0x12a642(0x1e4),'configStep1':_0x12a642(0x1ce),'configStep2':_0x12a642(0x1c2),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x12a642(0x1d6),'sessionIdDescription':_0x12a642(0x1e8),'authorizationDescription':_0x12a642(0x1e2),'configParameters':_0x12a642(0x1bb),'maxRetries':_0x12a642(0x1c5),'save':_0x12a642(0x1ca),'saving':_0x12a642(0x1f1),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x12a642(0x1dd),'configSaved':_0x12a642(0x1cb),'configError':_0x12a642(0x1bc),'apiApplyInfo':{'title':_0x12a642(0x1c1),'description':_0x12a642(0x1d0),'univerAiLabel':_0x12a642(0x1bf),'getStarted':_0x12a642(0x1c3)},'validation':{'apiKeyRequired':_0x12a642(0x1d9),'apiKeyTooShort':_0x12a642(0x1cc),'invalidConfig':_0x12a642(0x1ef),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x12a642(0x1d5),'connected':_0x12a642(0x1d4),'failed':_0x12a642(0x1df),'retrying':_0x12a642(0x1db)},'connectionError':{'unauthorized':_0x12a642(0x1da),'sessionOccupied':_0x12a642(0x1e9),'networkError':_0x12a642(0x1e1),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|