@univerjs-pro/mcp-ui 0.10.6-experimental.20250904-44da50e → 0.10.6-nightly.202509060832

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.
Files changed (48) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.css +1 -0
  24. package/lib/index.js +1 -1
  25. package/lib/locale/ca-ES.js +1 -1
  26. package/lib/locale/en-US.js +1 -1
  27. package/lib/locale/es-ES.js +1 -1
  28. package/lib/locale/fa-IR.js +1 -1
  29. package/lib/locale/fr-FR.js +1 -1
  30. package/lib/locale/ko-KR.js +1 -1
  31. package/lib/locale/ru-RU.js +1 -1
  32. package/lib/locale/vi-VN.js +1 -1
  33. package/lib/locale/zh-CN.js +1 -1
  34. package/lib/locale/zh-TW.js +1 -1
  35. package/lib/types/index.d.ts +1 -0
  36. package/lib/types/plugin.d.ts +0 -16
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ko-KR.js +1 -1
  44. package/lib/umd/locale/ru-RU.js +1 -1
  45. package/lib/umd/locale/vi-VN.js +1 -1
  46. package/lib/umd/locale/zh-CN.js +1 -1
  47. package/lib/umd/locale/zh-TW.js +1 -1
  48. package/package.json +8 -8
@@ -1 +1 @@
1
- 'use strict';function _0xedf8(){const _0x4b829b=['MCP:\x20Session\x20Occupied','Connecting...','417776RuGbbe','137490mVFVtf','MCP\x20Configuration','Enter\x20your\x20API\x20key','Connection\x20Information','10gMZEde','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','30vsxxzF','Click\x20to\x20configure\x20MCP','722270npLoFB','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Save\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','exports','API\x20key\x20is\x20required\x20to\x20connect','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','Disconnected','801171SkzcPP','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Invalid\x20configuration','MCP\x20Connection\x20Failed','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Invalid\x20API\x20Key','149214FpVgdU','Configuration\x20saved\x20successfully','Univer\x20AI\x20Console','API\x20Key','MCP\x20Disconnected','Failed\x20to\x20save\x20configuration','Connection\x20Failed','Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','6474384ZNDCHD','Connected','MCP\x20Retrying...','3160760fBKSHH','20aJoviU','MCP\x20Connected','Server\x20Endpoint','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','MCP:\x20Network\x20Error','Max\x20Retries'];_0xedf8=function(){return _0x4b829b;};return _0xedf8();}const _0x4b69e9=_0x317e;(function(_0x40dbbb,_0x4d3481){const _0x5ad235=_0x317e,_0x4c2d6d=_0x40dbbb();while(!![]){try{const _0x2b4616=parseInt(_0x5ad235(0x1ac))/0x1+parseInt(_0x5ad235(0x1a3))/0x2*(parseInt(_0x5ad235(0x1aa))/0x3)+parseInt(_0x5ad235(0x1a2))/0x4+parseInt(_0x5ad235(0x199))/0x5*(parseInt(_0x5ad235(0x1bd))/0x6)+-parseInt(_0x5ad235(0x1b5))/0x7+-parseInt(_0x5ad235(0x198))/0x8+-parseInt(_0x5ad235(0x195))/0x9*(parseInt(_0x5ad235(0x1a7))/0xa);if(_0x2b4616===_0x4d3481)break;else _0x4c2d6d['push'](_0x4c2d6d['shift']());}catch(_0x396d3b){_0x4c2d6d['push'](_0x4c2d6d['shift']());}}}(_0xedf8,0x5decc));const e={'mcpStatus':{'disconnected':_0x4b69e9(0x1c1),'connecting':'MCP\x20Connecting...','connected':_0x4b69e9(0x19a),'failed':_0x4b69e9(0x1b9),'retrying':_0x4b69e9(0x197),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x4b69e9(0x1bc),'sessionOccupied':_0x4b69e9(0x1a0),'networkError':_0x4b69e9(0x19e),'maxRetriesExceeded':_0x4b69e9(0x1b6),'clickToConnect':_0x4b69e9(0x1b3),'clickToConfigure':_0x4b69e9(0x1ab)},'mcpConfig':{'title':_0x4b69e9(0x1a4),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4b69e9(0x1c0),'apiKeyPlaceholder':_0x4b69e9(0x1a5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4b69e9(0x1a6),'serverEndpoint':_0x4b69e9(0x19b),'sessionId':_0x4b69e9(0x1ba),'maxRetries':_0x4b69e9(0x19f),'save':_0x4b69e9(0x1ae),'saving':'Saving...','note1':_0x4b69e9(0x1a8),'note2':_0x4b69e9(0x1a9),'configSaved':_0x4b69e9(0x1be),'configError':_0x4b69e9(0x1c2),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4b69e9(0x1ad),'univerAiLabel':_0x4b69e9(0x1bf),'getStarted':_0x4b69e9(0x1b2)},'validation':{'apiKeyRequired':_0x4b69e9(0x19d),'apiKeyTooShort':_0x4b69e9(0x19c),'invalidConfig':_0x4b69e9(0x1b8),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4b69e9(0x1b4),'connecting':_0x4b69e9(0x1a1),'connected':_0x4b69e9(0x196),'failed':_0x4b69e9(0x1c3),'retrying':_0x4b69e9(0x1c4)},'connectionError':{'missingApiKey':_0x4b69e9(0x1b1),'invalidApiKey':_0x4b69e9(0x1b7),'sessionOccupied':_0x4b69e9(0x1af),'networkError':_0x4b69e9(0x1c5),'maxRetriesExceeded':_0x4b69e9(0x1bb)}}},n=e;function _0x317e(_0x102a00,_0xdc8278){const _0xedf80b=_0xedf8();return _0x317e=function(_0x317e90,_0x1556d7){_0x317e90=_0x317e90-0x195;let _0x10cbd4=_0xedf80b[_0x317e90];return _0x10cbd4;},_0x317e(_0x102a00,_0xdc8278);}module[_0x4b69e9(0x1b0)]=n;
1
+ 'use strict';function _0x1731(){const _0x538caa=['2uqgZal','Invalid\x20configuration','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Univer\x20AI\x20Console','MCP\x20Configuration','MCP\x20Retrying...','1221OXyefN','MCP\x20Unknown\x20Status','22293wDeuaH','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Connection\x20Failed','96429njQjjN','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','Connection\x20Information','exports','1913460liNyaT','Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connected','12DeflUm','160310sMZOIt','Server\x20Endpoint','951167iOJoHM','Enable\x20authentication\x20for\x20secure\x20connections','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','656449kObjDN','2645250CfGwFa','MCP\x20Connecting...','Connected','Enable\x20Authentication','MCP:\x20Session\x20Occupied','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','2128BbJIEC','Disconnected','Configuration\x20saved\x20successfully'];_0x1731=function(){return _0x538caa;};return _0x1731();}const _0x43323b=_0x3bf0;(function(_0x539360,_0x560778){const _0x3ff5f2=_0x3bf0,_0x2d72d4=_0x539360();while(!![]){try{const _0x54cd8b=-parseInt(_0x3ff5f2(0x13f))/0x1*(parseInt(_0x3ff5f2(0x14b))/0x2)+parseInt(_0x3ff5f2(0x158))/0x3*(parseInt(_0x3ff5f2(0x161))/0x4)+parseInt(_0x3ff5f2(0x15d))/0x5+-parseInt(_0x3ff5f2(0x140))/0x6+-parseInt(_0x3ff5f2(0x164))/0x7+-parseInt(_0x3ff5f2(0x148))/0x8*(parseInt(_0x3ff5f2(0x155))/0x9)+parseInt(_0x3ff5f2(0x162))/0xa*(parseInt(_0x3ff5f2(0x153))/0xb);if(_0x54cd8b===_0x560778)break;else _0x2d72d4['push'](_0x2d72d4['shift']());}catch(_0x5de3f5){_0x2d72d4['push'](_0x2d72d4['shift']());}}}(_0x1731,0x5978b));function _0x3bf0(_0x388ab8,_0x5589d9){const _0x173111=_0x1731();return _0x3bf0=function(_0x3bf01c,_0x244756){_0x3bf01c=_0x3bf01c-0x13f;let _0x200221=_0x173111[_0x3bf01c];return _0x200221;},_0x3bf0(_0x388ab8,_0x5589d9);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x43323b(0x141),'connected':_0x43323b(0x160),'failed':_0x43323b(0x157),'retrying':_0x43323b(0x152),'unknown':_0x43323b(0x154),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x43323b(0x144),'networkError':_0x43323b(0x159),'maxRetriesExceeded':_0x43323b(0x15a),'clickToConnect':_0x43323b(0x14d),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x43323b(0x151),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x43323b(0x145),'apiKeyPlaceholder':_0x43323b(0x147),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x43323b(0x143),'enableAuthHint':_0x43323b(0x165),'connectionInfo':_0x43323b(0x15b),'serverEndpoint':_0x43323b(0x163),'sessionId':'Session\x20ID','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x43323b(0x14e),'configSaved':_0x43323b(0x14a),'configError':_0x43323b(0x167),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x43323b(0x150),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x43323b(0x146),'invalidConfig':_0x43323b(0x14c),'invalidApiKey':_0x43323b(0x14f)},'connectionStatus':{'disconnected':_0x43323b(0x149),'connecting':'Connecting...','connected':_0x43323b(0x142),'failed':'Connection\x20Failed','retrying':_0x43323b(0x15e)},'connectionError':{'missingApiKey':_0x43323b(0x156),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x43323b(0x15f),'maxRetriesExceeded':_0x43323b(0x166)}}},n=e;module[_0x43323b(0x15c)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x3565f0=_0x3a19;(function(_0x5ab3e1,_0x13a7a9){const _0x31446e=_0x3a19,_0x584cb0=_0x5ab3e1();while(!![]){try{const _0x415a66=-parseInt(_0x31446e(0x1b3))/0x1+parseInt(_0x31446e(0x1cc))/0x2*(parseInt(_0x31446e(0x1ca))/0x3)+-parseInt(_0x31446e(0x1b9))/0x4+parseInt(_0x31446e(0x1ba))/0x5*(parseInt(_0x31446e(0x1b5))/0x6)+parseInt(_0x31446e(0x1bd))/0x7+parseInt(_0x31446e(0x1b8))/0x8+-parseInt(_0x31446e(0x1cd))/0x9;if(_0x415a66===_0x13a7a9)break;else _0x584cb0['push'](_0x584cb0['shift']());}catch(_0x1b13cb){_0x584cb0['push'](_0x584cb0['shift']());}}}(_0x27c8,0x18aa9));function _0x3a19(_0x1b3760,_0x3145ca){const _0x27c827=_0x27c8();return _0x3a19=function(_0x3a1933,_0x5a160f){_0x3a1933=_0x3a1933-0x1b1;let _0x52f771=_0x27c827[_0x3a1933];return _0x52f771;},_0x3a19(_0x1b3760,_0x3145ca);}const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x3565f0(0x1b1),'connected':_0x3565f0(0x1c0),'failed':_0x3565f0(0x1be),'retrying':_0x3565f0(0x1cf),'unknown':_0x3565f0(0x1b2),'missingApiKey':_0x3565f0(0x1b6),'invalidApiKey':_0x3565f0(0x1d8),'sessionOccupied':_0x3565f0(0x1de),'networkError':_0x3565f0(0x1c5),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x3565f0(0x1c6),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x3565f0(0x1d2),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x3565f0(0x1c2),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x3565f0(0x1d9),'enableAuth':_0x3565f0(0x1c1),'enableAuthHint':_0x3565f0(0x1cb),'connectionInfo':_0x3565f0(0x1ce),'serverEndpoint':_0x3565f0(0x1dc),'sessionId':_0x3565f0(0x1d0),'maxRetries':'最大重试次数','save':_0x3565f0(0x1d7),'saving':_0x3565f0(0x1df),'note1':_0x3565f0(0x1c9),'note2':_0x3565f0(0x1bf),'configSaved':_0x3565f0(0x1dd),'configError':_0x3565f0(0x1db),'apiApplyInfo':{'title':_0x3565f0(0x1b7),'description':_0x3565f0(0x1bb),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3565f0(0x1c4)},'validation':{'apiKeyRequired':_0x3565f0(0x1bc),'apiKeyTooShort':_0x3565f0(0x1c8),'invalidConfig':_0x3565f0(0x1c7),'invalidApiKey':_0x3565f0(0x1d6)},'connectionStatus':{'disconnected':_0x3565f0(0x1d3),'connecting':'连接中...','connected':_0x3565f0(0x1c3),'failed':_0x3565f0(0x1d4),'retrying':_0x3565f0(0x1da)},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x3565f0(0x1d1),'sessionOccupied':_0x3565f0(0x1b4),'networkError':_0x3565f0(0x1d5),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};module['exports']=e;function _0x27c8(){const _0x248d88=['API\x20密钥','已连接','几秒钟内获取您的\x20API\x20密钥','MCP:\x20网络错误','点击连接\x20MCP','配置无效','API\x20密钥长度至少需要\x2010\x20位','配置更改将立即生效','27XWJruG','启用身份验证以获得安全连接','20326UkzPcs','1082628csnBjL','连接信息','MCP\x20重连中...','会话ID','API\x20密钥无效,请检查您的密钥后重试','MCP\x20配置','未连接','连接失败','网络连接错误,请检查您的网络连接','API\x20密钥无效,请检查密钥是否正确','保存配置','MCP:\x20无效的\x20API\x20密钥','您的\x20API\x20密钥将在此浏览器中本地存储','重连中...','配置保存失败','服务器端点','配置保存成功','MCP:\x20会话被占用','保存中...','MCP\x20连接中...','MCP\x20状态未知','177147FdBihd','会话当前被占用,请稍后再试','252lXnpSz','MCP:\x20缺少\x20API\x20密钥','什么是\x20API\x20密钥?','1273008iNZqNt','45820PsDkCl','16610ydjnyQ','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','API\x20密钥不能为空','138670eRZsyG','MCP\x20连接失败','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20已连接','启用身份验证'];_0x27c8=function(){return _0x248d88;};return _0x27c8();}
1
+ 'use strict';const _0x1351f1=_0xacde;(function(_0x433030,_0x1cdf89){const _0x3d6cd4=_0xacde,_0x1e02a0=_0x433030();while(!![]){try{const _0x5608c0=-parseInt(_0x3d6cd4(0x127))/0x1*(parseInt(_0x3d6cd4(0x149))/0x2)+parseInt(_0x3d6cd4(0x144))/0x3*(-parseInt(_0x3d6cd4(0x12a))/0x4)+parseInt(_0x3d6cd4(0x135))/0x5+-parseInt(_0x3d6cd4(0x12b))/0x6*(parseInt(_0x3d6cd4(0x14b))/0x7)+parseInt(_0x3d6cd4(0x124))/0x8+parseInt(_0x3d6cd4(0x12c))/0x9*(parseInt(_0x3d6cd4(0x131))/0xa)+parseInt(_0x3d6cd4(0x145))/0xb;if(_0x5608c0===_0x1cdf89)break;else _0x1e02a0['push'](_0x1e02a0['shift']());}catch(_0x4fac91){_0x1e02a0['push'](_0x1e02a0['shift']());}}}(_0x2164,0x8ed95));const e={'mcpStatus':{'disconnected':_0x1351f1(0x122),'connecting':'MCP\x20连接中...','connected':_0x1351f1(0x13a),'failed':_0x1351f1(0x146),'retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','missingApiKey':_0x1351f1(0x14c),'invalidApiKey':_0x1351f1(0x140),'sessionOccupied':'MCP:\x20会话被占用','networkError':_0x1351f1(0x133),'maxRetriesExceeded':_0x1351f1(0x132),'clickToConnect':_0x1351f1(0x123),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x1351f1(0x136),'description':_0x1351f1(0x126),'apiKey':_0x1351f1(0x141),'apiKeyPlaceholder':_0x1351f1(0x13d),'apiKeyHint':_0x1351f1(0x120),'enableAuth':_0x1351f1(0x12e),'enableAuthHint':_0x1351f1(0x125),'connectionInfo':'连接信息','serverEndpoint':_0x1351f1(0x13e),'sessionId':_0x1351f1(0x148),'maxRetries':'最大重试次数','save':_0x1351f1(0x130),'saving':_0x1351f1(0x13f),'note1':_0x1351f1(0x143),'note2':_0x1351f1(0x129),'configSaved':_0x1351f1(0x142),'configError':'配置保存失败','apiApplyInfo':{'title':_0x1351f1(0x13c),'description':_0x1351f1(0x128),'univerAiLabel':_0x1351f1(0x138),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x1351f1(0x121),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x1351f1(0x11f),'connecting':_0x1351f1(0x14a),'connected':'已连接','failed':_0x1351f1(0x12f),'retrying':_0x1351f1(0x134)},'connectionError':{'missingApiKey':_0x1351f1(0x139),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x1351f1(0x147),'networkError':_0x1351f1(0x12d),'maxRetriesExceeded':_0x1351f1(0x137)}}};function _0xacde(_0x40941f,_0xae444c){const _0x2164d3=_0x2164();return _0xacde=function(_0xacde53,_0x484e99){_0xacde53=_0xacde53-0x11f;let _0x213b1c=_0x2164d3[_0xacde53];return _0x213b1c;},_0xacde(_0x40941f,_0xae444c);}module[_0x1351f1(0x13b)]=e;function _0x2164(){const _0x400bc5=['MCP:\x20超出最大重试次数','MCP:\x20网络错误','重连中...','901425LsdkXt','MCP\x20配置','超出最大重试次数,请稍后再试','Univer\x20AI\x20控制台','需要\x20API\x20密钥才能连接','MCP\x20已连接','exports','什么是\x20API\x20密钥?','请输入您的\x20API\x20密钥','服务器端点','保存中...','MCP:\x20无效的\x20API\x20密钥','API\x20密钥','配置保存成功','配置更改将立即生效','907134svuWei','14363899ogFpno','MCP\x20连接失败','会话当前被占用,请稍后再试','会话ID','2264XxQABI','连接中...','7Qedjpq','MCP:\x20缺少\x20API\x20密钥','未连接','您的\x20API\x20密钥将在此浏览器中本地存储','配置无效','MCP\x20已断开','点击连接\x20MCP','1563360tZkhQp','启用身份验证以获得安全连接','配置\x20MCP\x20使用\x20AI\x20操作电子表格','577DfvPYP','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','您的\x20API\x20密钥安全存储在本地存储中','4gSKyDN','5592558VWeoOg','323685PnwtKi','网络连接错误,请检查您的网络连接','启用身份验证','连接失败','保存配置','220mAbYgE'];_0x2164=function(){return _0x400bc5;};return _0x2164();}
@@ -1 +1 @@
1
- 'use strict';const _0x4fdc28=_0x43f7;(function(_0x479b6f,_0xda897a){const _0x537b2e=_0x43f7,_0xd01fe4=_0x479b6f();while(!![]){try{const _0x2ffbd5=-parseInt(_0x537b2e(0x197))/0x1+-parseInt(_0x537b2e(0x18a))/0x2*(parseInt(_0x537b2e(0x198))/0x3)+parseInt(_0x537b2e(0x199))/0x4+-parseInt(_0x537b2e(0x196))/0x5+parseInt(_0x537b2e(0x1a8))/0x6+-parseInt(_0x537b2e(0x1ab))/0x7*(parseInt(_0x537b2e(0x189))/0x8)+-parseInt(_0x537b2e(0x19f))/0x9*(-parseInt(_0x537b2e(0x17b))/0xa);if(_0x2ffbd5===_0xda897a)break;else _0xd01fe4['push'](_0xd01fe4['shift']());}catch(_0x143e8a){_0xd01fe4['push'](_0xd01fe4['shift']());}}}(_0x44c8,0x7f3d3));function _0x44c8(){const _0x541f79=['Session\x20ID','MCP\x20Connecting...','486311CKncQN','Retrying...','10HfUpcM','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','Click\x20to\x20connect\x20MCP','Failed\x20to\x20save\x20configuration','Max\x20Retries','Connected','MCP\x20Disconnected','What\x20is\x20API\x20Key?','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','API\x20Key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','24rkAUVJ','12838HueHvO','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connection\x20Information','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','MCP:\x20Invalid\x20API\x20Key','Saving...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connected','Enter\x20your\x20API\x20key','MCP:\x20API\x20Key\x20Missing','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4748910iTWJHP','292913hXDTSw','276QusvCm','446732tfMpbn','exports','Disconnected','MCP\x20Configuration','MCP\x20Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','15556554drPEUk','API\x20key\x20is\x20required\x20to\x20connect','Configuration\x20saved\x20successfully','MCP:\x20Session\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','4335864YMEbiZ'];_0x44c8=function(){return _0x541f79;};return _0x44c8();}function _0x43f7(_0x2666a8,_0x65043){const _0x44c81d=_0x44c8();return _0x43f7=function(_0x43f710,_0x3d1722){_0x43f710=_0x43f710-0x17a;let _0x2fe26a=_0x44c81d[_0x43f710];return _0x2fe26a;},_0x43f7(_0x2666a8,_0x65043);}const e={'mcpStatus':{'disconnected':_0x4fdc28(0x182),'connecting':_0x4fdc28(0x1aa),'connected':_0x4fdc28(0x192),'failed':_0x4fdc28(0x188),'retrying':_0x4fdc28(0x19d),'unknown':_0x4fdc28(0x1a5),'missingApiKey':_0x4fdc28(0x194),'invalidApiKey':_0x4fdc28(0x18f),'sessionOccupied':_0x4fdc28(0x1a2),'networkError':_0x4fdc28(0x1a4),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4fdc28(0x17e),'clickToConfigure':_0x4fdc28(0x17c)},'mcpConfig':{'title':_0x4fdc28(0x19c),'description':_0x4fdc28(0x18d),'apiKey':_0x4fdc28(0x185),'apiKeyPlaceholder':_0x4fdc28(0x193),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4fdc28(0x1a7),'enableAuthHint':_0x4fdc28(0x1a3),'connectionInfo':_0x4fdc28(0x18c),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x4fdc28(0x1a9),'maxRetries':_0x4fdc28(0x180),'save':'Save\x20Configuration','saving':_0x4fdc28(0x190),'note1':_0x4fdc28(0x1a6),'note2':_0x4fdc28(0x186),'configSaved':_0x4fdc28(0x1a1),'configError':_0x4fdc28(0x17f),'apiApplyInfo':{'title':_0x4fdc28(0x183),'description':_0x4fdc28(0x18b),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4fdc28(0x18e),'apiKeyTooShort':_0x4fdc28(0x191),'invalidConfig':_0x4fdc28(0x17d),'invalidApiKey':_0x4fdc28(0x187)},'connectionStatus':{'disconnected':_0x4fdc28(0x19b),'connecting':'Connecting...','connected':_0x4fdc28(0x181),'failed':'Connection\x20Failed','retrying':_0x4fdc28(0x17a)},'connectionError':{'missingApiKey':_0x4fdc28(0x1a0),'invalidApiKey':_0x4fdc28(0x19e),'sessionOccupied':_0x4fdc28(0x184),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4fdc28(0x195)}}},n=e;module[_0x4fdc28(0x19a)]=n;
1
+ 'use strict';const _0x59cb9b=_0xa1af;function _0x1207(){const _0x35aea0=['7UlEZqr','Connecting...','MCP\x20Connection\x20Failed','Click\x20to\x20configure\x20MCP','10406710zjmdLD','Max\x20Retries','MCP\x20Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Disconnected','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Save\x20Configuration','MCP:\x20Network\x20Error','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','6874795SNIOzu','Enter\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3958984NyKgbL','1120342wueQkJ','6fYIZOq','Invalid\x20configuration','MCP\x20Unknown\x20Status','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Connection\x20Failed','Click\x20to\x20connect\x20MCP','Session\x20ID','Disconnected','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Configuration\x20saved\x20successfully','Failed\x20to\x20save\x20configuration','MCP\x20Configuration','MCP:\x20Invalid\x20API\x20Key','Server\x20Endpoint','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connecting...','Retrying...','3LhgsyM','Enable\x20Authentication','4978592NulKpA','5117733ZvSFbQ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1470118ztXLwC'];_0x1207=function(){return _0x35aea0;};return _0x1207();}(function(_0x5e41b9,_0x9dd720){const _0x24f6aa=_0xa1af,_0x523ec2=_0x5e41b9();while(!![]){try{const _0x151d58=parseInt(_0x24f6aa(0x125))/0x1+-parseInt(_0x24f6aa(0x10d))/0x2*(-parseInt(_0x24f6aa(0x120))/0x3)+parseInt(_0x24f6aa(0x122))/0x4+-parseInt(_0x24f6aa(0x109))/0x5*(parseInt(_0x24f6aa(0x10e))/0x6)+-parseInt(_0x24f6aa(0x126))/0x7*(parseInt(_0x24f6aa(0x10c))/0x8)+parseInt(_0x24f6aa(0x123))/0x9+-parseInt(_0x24f6aa(0xfd))/0xa;if(_0x151d58===_0x9dd720)break;else _0x523ec2['push'](_0x523ec2['shift']());}catch(_0x4a3619){_0x523ec2['push'](_0x523ec2['shift']());}}}(_0x1207,0xe3ccf));function _0xa1af(_0x4415d8,_0x2d61ea){const _0x1207a8=_0x1207();return _0xa1af=function(_0xa1afaf,_0x182110){_0xa1afaf=_0xa1afaf-0xfa;let _0x1df657=_0x1207a8[_0xa1afaf];return _0x1df657;},_0xa1af(_0x4415d8,_0x2d61ea);}const e={'mcpStatus':{'disconnected':_0x59cb9b(0x101),'connecting':_0x59cb9b(0x11e),'connected':'MCP\x20Connected','failed':_0x59cb9b(0xfb),'retrying':_0x59cb9b(0xff),'unknown':_0x59cb9b(0x110),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x59cb9b(0x11a),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x59cb9b(0x107),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x59cb9b(0x113),'clickToConfigure':_0x59cb9b(0xfc)},'mcpConfig':{'title':_0x59cb9b(0x119),'description':_0x59cb9b(0x124),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x59cb9b(0x10a),'apiKeyHint':_0x59cb9b(0x104),'enableAuth':_0x59cb9b(0x121),'enableAuthHint':_0x59cb9b(0x100),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x59cb9b(0x11b),'sessionId':_0x59cb9b(0x114),'maxRetries':_0x59cb9b(0xfe),'save':_0x59cb9b(0x106),'saving':_0x59cb9b(0x102),'note1':_0x59cb9b(0x11c),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x59cb9b(0x117),'configError':_0x59cb9b(0x118),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x59cb9b(0x108),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x59cb9b(0x11d)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x59cb9b(0x10b),'invalidConfig':_0x59cb9b(0x10f),'invalidApiKey':_0x59cb9b(0x105)},'connectionStatus':{'disconnected':_0x59cb9b(0x115),'connecting':_0x59cb9b(0xfa),'connected':'Connected','failed':_0x59cb9b(0x112),'retrying':_0x59cb9b(0x11f)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x59cb9b(0x116),'sessionOccupied':_0x59cb9b(0x111),'networkError':_0x59cb9b(0x103),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1f6754=_0x12b9;(function(_0x5975bd,_0x19c269){var _0x5d96a0=_0x12b9,_0x8414f0=_0x5975bd();while(!![]){try{var _0xd8711a=parseInt(_0x5d96a0(0x23a))/0x1*(parseInt(_0x5d96a0(0x194))/0x2)+-parseInt(_0x5d96a0(0x267))/0x3*(-parseInt(_0x5d96a0(0x1a0))/0x4)+-parseInt(_0x5d96a0(0x162))/0x5+parseInt(_0x5d96a0(0x28b))/0x6+parseInt(_0x5d96a0(0x1ff))/0x7+parseInt(_0x5d96a0(0x1d9))/0x8+-parseInt(_0x5d96a0(0x21d))/0x9*(parseInt(_0x5d96a0(0x1ad))/0xa);if(_0xd8711a===_0x19c269)break;else _0x8414f0['push'](_0x8414f0['shift']());}catch(_0x4c9065){_0x8414f0['push'](_0x8414f0['shift']());}}}(_0x2cf3,0x9eedb));var Se=Object[_0x1f6754(0x166)],xe=(_0x1337ae,_0x24c14d,_0x54d42e)=>_0x24c14d in _0x1337ae?Se(_0x1337ae,_0x24c14d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54d42e}):_0x1337ae[_0x24c14d]=_0x54d42e,N=(_0x3aa700,_0x4a03db,_0x519e33)=>xe(_0x3aa700,typeof _0x4a03db!=_0x1f6754(0x185)?_0x4a03db+'':_0x4a03db,_0x519e33);import{LocaleService as _0x3a6e68,Inject as _0x168537,Injector as _0x35562b,IConfigService as _0x479cf5,ILocalStorageService as _0x9008f1,ILogService as _0x282e34,Disposable as _0x3795db,CommandType as _0x427252,ICommandService as _0x1cf2e4,DependentOn as _0x5d8337,Plugin as _0x331c1d,merge as _0x509d2b}from'@univerjs/core';import{jsxs as _0x45cd34,jsx as _0x132941}from'react/jsx-runtime';import{MCPConnectionStatus as _0xc322cc,MCPConnectionError as _0x64bacc,MCPConnectionController as _0x4b8235,MCP_PLUGIN_CONFIG_KEY as _0x14ee85,UniverMCPPlugin as _0x14392c}from'@univerjs-pro/mcp';import{Input as _0x5daca3,Button as _0x68c388,MessageType as _0x3922df,Tooltip as _0x3b2bb4,clsx as _0x4800bb}from'@univerjs/design';import{useDependency as _0x36454f,useObservable as _0x562084,IUIPartsService as _0x4f21f7,IDialogService as _0x3cd5f3,IMessageService as _0x266579,ComponentManager as _0x16ee23,connectInjector as _0x5e3fab,BuiltInUIPart as _0x56f7ac,MenuItemType as _0x1bcab4,RibbonStartGroup as _0x6f977a,IMenuManagerService as _0x25bf65}from'@univerjs/ui';import{BehaviorSubject as _0x18f2d8}from'rxjs';import{forwardRef as _0x19bdff,useRef as _0x3115f5,createElement as _0x491403,useState as _0x286f45,useCallback as _0x11b793}from'react';var d=function(){var _0x218fc8=_0x1f6754;return d=Object[_0x218fc8(0x29b)]||function(_0x4c9ffc){var _0x52ebae=_0x218fc8;for(var _0x3f27f0,_0x1a6597=0x1,_0x5f33e2=arguments[_0x52ebae(0x214)];_0x1a6597<_0x5f33e2;_0x1a6597++){_0x3f27f0=arguments[_0x1a6597];for(var _0x5c261d in _0x3f27f0)Object[_0x52ebae(0x1fb)][_0x52ebae(0x299)][_0x52ebae(0x22e)](_0x3f27f0,_0x5c261d)&&(_0x4c9ffc[_0x5c261d]=_0x3f27f0[_0x5c261d]);}return _0x4c9ffc;},d['apply'](this,arguments);},Ye=function(_0x56a3c1,_0x284c37){var _0x5db4cf=_0x1f6754,_0x2595f6={};for(var _0x2d7e97 in _0x56a3c1)Object[_0x5db4cf(0x1fb)][_0x5db4cf(0x299)][_0x5db4cf(0x22e)](_0x56a3c1,_0x2d7e97)&&_0x284c37[_0x5db4cf(0x1d8)](_0x2d7e97)<0x0&&(_0x2595f6[_0x2d7e97]=_0x56a3c1[_0x2d7e97]);if(_0x56a3c1!=null&&typeof Object[_0x5db4cf(0x1b7)]==_0x5db4cf(0x226)){for(var _0x337aa4=0x0,_0x2d7e97=Object[_0x5db4cf(0x1b7)](_0x56a3c1);_0x337aa4<_0x2d7e97[_0x5db4cf(0x214)];_0x337aa4++)_0x284c37[_0x5db4cf(0x1d8)](_0x2d7e97[_0x337aa4])<0x0&&Object[_0x5db4cf(0x1fb)][_0x5db4cf(0x29f)]['call'](_0x56a3c1,_0x2d7e97[_0x337aa4])&&(_0x2595f6[_0x2d7e97[_0x337aa4]]=_0x56a3c1[_0x2d7e97[_0x337aa4]]);}return _0x2595f6;},S=_0x19bdff(function(_0x18bb05,_0x4faff7){var _0x3f0f48=_0x1f6754,_0x3009d1=_0x18bb05[_0x3f0f48(0x1c9)],_0x34fc0c=_0x18bb05['id'],_0x42300e=_0x18bb05[_0x3f0f48(0x254)],_0x9ea48a=_0x18bb05[_0x3f0f48(0x207)],_0x1d7cae=Ye(_0x18bb05,['icon','id',_0x3f0f48(0x254),'extend']),_0x21b075=_0x3f0f48(0x273)['concat'](_0x34fc0c,'\x20')['concat'](_0x42300e||'')[_0x3f0f48(0x1e6)](),_0x3575a7=_0x3115f5('_'[_0x3f0f48(0x24a)](He()));return oe(_0x3009d1,''[_0x3f0f48(0x24a)](_0x34fc0c),{'defIds':_0x3009d1[_0x3f0f48(0x289)],'idSuffix':_0x3575a7[_0x3f0f48(0x211)]},d({'ref':_0x4faff7,'className':_0x21b075},_0x1d7cae),_0x9ea48a);});function _0x12b9(_0x14a339,_0x7b651a){var _0x2cf30e=_0x2cf3();return _0x12b9=function(_0x12b9be,_0x127832){_0x12b9be=_0x12b9be-0x157;var _0x554756=_0x2cf30e[_0x12b9be];return _0x554756;},_0x12b9(_0x14a339,_0x7b651a);}function oe(_0x6ba0c4,_0x215320,_0x1da08f,_0x499cc6,_0x18e0f2){var _0x514085=_0x1f6754;return _0x491403(_0x6ba0c4['tag'],d(d({'key':_0x215320},Ve(_0x6ba0c4,_0x1da08f,_0x18e0f2)),_0x499cc6),(Fe(_0x6ba0c4,_0x1da08f)[_0x514085(0x1ba)]||[])[_0x514085(0x255)](function(_0x506988,_0x3beb14){var _0x55848b=_0x514085;return oe(_0x506988,''['concat'](_0x215320,'-')[_0x55848b(0x24a)](_0x6ba0c4[_0x55848b(0x16a)],'-')[_0x55848b(0x24a)](_0x3beb14),_0x1da08f,void 0x0,_0x18e0f2);}));}function Ve(_0x5d2cad,_0x2b4036,_0x5d7cfb){var _0x2cf54a=_0x1f6754,_0x1e1e91=d({},_0x5d2cad[_0x2cf54a(0x28c)]);_0x5d7cfb!=null&&_0x5d7cfb[_0x2cf54a(0x1b4)]&&_0x1e1e91['fill']===_0x2cf54a(0x1b4)&&(_0x1e1e91[_0x2cf54a(0x234)]=_0x5d7cfb[_0x2cf54a(0x1b4)]),_0x5d2cad[_0x2cf54a(0x16a)]===_0x2cf54a(0x284)&&_0x1e1e91['id']&&(_0x1e1e91['id']=_0x1e1e91['id']+_0x2b4036['idSuffix']),Object[_0x2cf54a(0x1af)](_0x1e1e91)[_0x2cf54a(0x259)](function(_0x5da4e0){var _0x47b078=_0x2cf54a,_0x49ba04=_0x5da4e0[0x0],_0x50cfae=_0x5da4e0[0x1];_0x49ba04===_0x47b078(0x284)&&typeof _0x50cfae=='string'&&(_0x1e1e91[_0x49ba04]=_0x50cfae['replace'](/url\(#(.*)\)/,_0x47b078(0x200)['concat'](_0x2b4036[_0x47b078(0x29d)],')')));});var _0x357e22=_0x2b4036['defIds'];return!_0x357e22||_0x357e22[_0x2cf54a(0x214)]===0x0||(_0x5d2cad['tag']===_0x2cf54a(0x1ee)&&_0x1e1e91['xlink:href']&&(_0x1e1e91[_0x2cf54a(0x222)]=_0x1e1e91[_0x2cf54a(0x222)]+_0x2b4036[_0x2cf54a(0x29d)]),Object[_0x2cf54a(0x1af)](_0x1e1e91)[_0x2cf54a(0x259)](function(_0x2baf1d){var _0x1e23a8=_0x2cf54a,_0x1ab113=_0x2baf1d[0x0],_0x5d7aa9=_0x2baf1d[0x1];typeof _0x5d7aa9==_0x1e23a8(0x1ae)&&(_0x1e1e91[_0x1ab113]=_0x5d7aa9['replace'](/url\(#(.*)\)/,_0x1e23a8(0x200)[_0x1e23a8(0x24a)](_0x2b4036[_0x1e23a8(0x29d)],')')));})),_0x1e1e91;}function Fe(_0x55b15f,_0x594064){var _0x262734=_0x1f6754,_0x53839c,_0x61c658=_0x594064['defIds'];return!_0x61c658||_0x61c658[_0x262734(0x214)]===0x0?_0x55b15f:_0x55b15f[_0x262734(0x16a)]===_0x262734(0x16d)&&(!((_0x53839c=_0x55b15f[_0x262734(0x1ba)])===null||_0x53839c===void 0x0)&&_0x53839c['length'])?d(d({},_0x55b15f),{'children':_0x55b15f[_0x262734(0x1ba)][_0x262734(0x255)](function(_0x39bd0e){var _0x464f79=_0x262734;return typeof _0x39bd0e[_0x464f79(0x28c)]['id']==_0x464f79(0x1ae)&&_0x61c658&&_0x61c658[_0x464f79(0x20e)](_0x39bd0e[_0x464f79(0x28c)]['id'])?d(d({},_0x39bd0e),{'attrs':d(d({},_0x39bd0e[_0x464f79(0x28c)]),{'id':_0x39bd0e[_0x464f79(0x28c)]['id']+_0x594064[_0x464f79(0x29d)]})}):_0x39bd0e;})}):_0x55b15f;}function He(){var _0x472d02=_0x1f6754;return Math[_0x472d02(0x1d5)]()['toString'](0x24)[_0x472d02(0x17e)](0x2,0x8);}S[_0x1f6754(0x1df)]='UniverIcon';var We={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x1f6754(0x217),'attrs':{'fill':_0x1f6754(0x227),'d':_0x1f6754(0x25f),'fillRule':_0x1f6754(0x247),'clipRule':_0x1f6754(0x247)}}]},ce=_0x19bdff(function(_0x41842e,_0x497ef0){var _0x15c306=_0x1f6754;return _0x491403(S,Object['assign']({},_0x41842e,{'id':_0x15c306(0x24c),'ref':_0x497ef0,'icon':We}));});ce[_0x1f6754(0x1df)]=_0x1f6754(0x187);var Be={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':_0x1f6754(0x1fe),'fill':_0x1f6754(0x201),'viewBox':'0\x200\x2017\x2017','width':_0x1f6754(0x1c5),'height':_0x1f6754(0x1c5)},'children':[{'tag':_0x1f6754(0x217),'attrs':{'stroke':_0x1f6754(0x227),'d':_0x1f6754(0x160),'strokeLinecap':_0x1f6754(0x29c),'strokeLinejoin':_0x1f6754(0x29c),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1f6754(0x165),'strokeLinecap':_0x1f6754(0x29c),'strokeLinejoin':_0x1f6754(0x29c),'strokeWidth':1.33}}]},ae=_0x19bdff(function(_0xd6eb1e,_0x46cb8e){var _0x5aedd8=_0x1f6754;return _0x491403(S,Object[_0x5aedd8(0x29b)]({},_0xd6eb1e,{'id':'close-small-single','ref':_0x46cb8e,'icon':Be}));});ae[_0x1f6754(0x1df)]='CloseSmallSingle';var ze={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1f6754(0x18f),'width':_0x1f6754(0x1c5),'height':_0x1f6754(0x1c5)},'children':[{'tag':_0x1f6754(0x217),'attrs':{'fill':_0x1f6754(0x227),'d':_0x1f6754(0x24f)}},{'tag':'path','attrs':{'fill':_0x1f6754(0x227),'d':_0x1f6754(0x27d)}},{'tag':'path','attrs':{'fill':_0x1f6754(0x227),'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':_0x1f6754(0x247),'clipRule':_0x1f6754(0x247)}}]},se=_0x19bdff(function(_0xdd29ad,_0x301da7){var _0x5e70b0=_0x1f6754;return _0x491403(S,Object['assign']({},_0xdd29ad,{'id':_0x5e70b0(0x188),'ref':_0x301da7,'icon':ze}));});se[_0x1f6754(0x1df)]='HelpSingle';var qe={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':_0x1f6754(0x1fe),'fill':_0x1f6754(0x201),'viewBox':_0x1f6754(0x18f),'width':_0x1f6754(0x1c5),'height':_0x1f6754(0x1c5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f6754(0x1db)},'children':[{'tag':_0x1f6754(0x217),'attrs':{'stroke':_0x1f6754(0x227),'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':_0x1f6754(0x29c),'strokeLinejoin':_0x1f6754(0x29c),'strokeWidth':1.2}}]},{'tag':_0x1f6754(0x16d),'attrs':{},'children':[{'tag':_0x1f6754(0x1aa),'attrs':{'id':_0x1f6754(0x1b6)},'children':[{'tag':'path','attrs':{'fill':_0x1f6754(0x1ce),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},le=_0x19bdff(function(_0x2eab01,_0x38daeb){var _0x56da5b=_0x1f6754;return _0x491403(S,Object[_0x56da5b(0x29b)]({},_0x2eab01,{'id':'off-line-icon','ref':_0x38daeb,'icon':qe}));});le[_0x1f6754(0x1df)]=_0x1f6754(0x242);var Ze={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':_0x1f6754(0x1fe),'fill':_0x1f6754(0x201),'viewBox':_0x1f6754(0x25b),'width':'1em','height':_0x1f6754(0x1c5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f6754(0x19b)},'children':[{'tag':_0x1f6754(0x217),'attrs':{'stroke':_0x1f6754(0x227),'d':_0x1f6754(0x221),'strokeLinecap':_0x1f6754(0x29c),'strokeLinejoin':_0x1f6754(0x29c),'strokeWidth':1.2}}]},{'tag':_0x1f6754(0x16d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1f6754(0x218)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1f6754(0x15e),'transform':_0x1f6754(0x1bf)}}]}]}],'defIds':[_0x1f6754(0x218)]},ue=_0x19bdff(function(_0x566987,_0x7e4383){var _0x2d76b5=_0x1f6754;return _0x491403(S,Object[_0x2d76b5(0x29b)]({},_0x566987,{'id':'on-line-icon','ref':_0x7e4383,'icon':Ze}));});ue[_0x1f6754(0x1df)]=_0x1f6754(0x1b0);function Xe(_0xf529f1){var _0x348734=_0x1f6754,_0x571aba,_0x488183;const {mcpCoreConfig:_0x34d315,onSave:_0x53e883,loading:_0x5a14a5=!0x1,config:_0x4becc1,connectionStatus$:_0x14cf8f,connectionError$:_0x205366}=_0xf529f1,_0x20bcd9=_0x36454f(_0x3a6e68),_0x10ef51=_0x562084(_0x14cf8f,_0xc322cc[_0x348734(0x23c)]),_0x30e055=_0x562084(_0x205366,_0x64bacc[_0x348734(0x15f)]),[_0x5025f3,_0x3a0dcd]=_0x286f45(_0x34d315[_0x348734(0x196)]||''),_0x59335e=!0x0,_0x2b59f5=_0x4becc1['showDeveloperTools']&&_0x34d315[_0x348734(0x177)]&&(_0x34d315[_0x348734(0x177)][_0x348734(0x20e)]('univer.plus')||_0x34d315[_0x348734(0x177)][_0x348734(0x20e)](_0x348734(0x266))),_0x5d663c=(_0x571aba=_0x34d315[_0x348734(0x177)])==null?void 0x0:_0x571aba[_0x348734(0x20e)](_0x348734(0x297)),_0x5c3050=(_0x488183=_0x34d315[_0x348734(0x177)])==null?void 0x0:_0x488183[_0x348734(0x20e)](_0x348734(0x266)),_0x597066=_0x5d663c?'https://console.univer.plus':_0x348734(0x1cd),_0x1234d0=_0x4becc1[_0x348734(0x206)]&&(_0x5d663c||_0x5c3050),[_0x35a349,_0x646ae2]=_0x286f45(!_0x5025f3[_0x348734(0x1e6)]()),_0x9cc38f=(_0x4a9be6,_0x3c67ba)=>{var _0x54ea9b=_0x348734;if(_0x3c67ba===_0x64bacc['MISSING_API_KEY']||_0x3c67ba===_0x64bacc[_0x54ea9b(0x287)])return _0x54ea9b(0x1ec);switch(_0x4a9be6){case _0xc322cc[_0x54ea9b(0x20a)]:return _0x54ea9b(0x15a);case _0xc322cc[_0x54ea9b(0x1a8)]:case _0xc322cc['RETRYING']:return _0x54ea9b(0x28d);case _0xc322cc[_0x54ea9b(0x1fd)]:return _0x54ea9b(0x1ec);default:return _0x54ea9b(0x1f6);}},_0xf74452=(_0x441a7b,_0x1f8779)=>{var _0xdab302=_0x348734;if(_0x1f8779===_0x64bacc[_0xdab302(0x17c)]||_0x1f8779===_0x64bacc[_0xdab302(0x287)])return'univer-bg-red-500';switch(_0x441a7b){case _0xc322cc[_0xdab302(0x20a)]:return _0xdab302(0x176);case _0xc322cc[_0xdab302(0x1a8)]:case _0xc322cc[_0xdab302(0x19d)]:return _0xdab302(0x23b);case _0xc322cc[_0xdab302(0x1fd)]:return _0xdab302(0x243);default:return _0xdab302(0x295);}},_0x57181e=_0x4e7c12=>{var _0x174b65=_0x348734;switch(_0x4e7c12){case _0xc322cc['CONNECTED']:return _0x20bcd9['t']('mcpConfig.connectionStatus.connected');case _0xc322cc[_0x174b65(0x1a8)]:return _0x20bcd9['t'](_0x174b65(0x172));case _0xc322cc[_0x174b65(0x1fd)]:return _0x20bcd9['t']('mcpConfig.connectionStatus.failed');case _0xc322cc['RETRYING']:return _0x20bcd9['t'](_0x174b65(0x264));default:return _0x20bcd9['t'](_0x174b65(0x251));}},_0x396b73=_0x12b5ab=>{var _0x2a1706=_0x348734;switch(_0x12b5ab){case _0x64bacc[_0x2a1706(0x17c)]:return _0x20bcd9['t'](_0x2a1706(0x1d4));case _0x64bacc['INVALID_API_KEY']:return _0x20bcd9['t'](_0x2a1706(0x181));case _0x64bacc[_0x2a1706(0x257)]:return _0x20bcd9['t'](_0x2a1706(0x274));case _0x64bacc[_0x2a1706(0x16c)]:return _0x20bcd9['t']('mcpConfig.connectionError.networkError');case _0x64bacc['MAX_RETRIES_EXCEEDED']:return _0x20bcd9['t'](_0x2a1706(0x22b));default:return'';}},_0x436c45=_0x11b793(()=>{var _0x2e6083=_0x348734;const _0x37193f={..._0x34d315,'apiKey':_0x5025f3[_0x2e6083(0x1e6)](),'enableAuth':_0x59335e};_0x53e883(_0x37193f);},[_0x34d315,_0x5025f3,_0x59335e,_0x53e883]),_0x1c27bd=_0x5025f3[_0x348734(0x1e6)]()[_0x348734(0x214)]>0x0;return _0x45cd34('div',{'className':_0x348734(0x224),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x240),'children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x225),'children':[_0x132941(_0x348734(0x232),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x132941(_0x348734(0x1be),{'className':_0x348734(0x21b),'children':'⚙'})}),_0x132941(_0x348734(0x232),{'children':_0x132941('p',{'className':_0x348734(0x245),'children':_0x20bcd9['t'](_0x348734(0x286))})})]})}),_0x45cd34('div',{'className':_0x348734(0x1a9),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x167)+_0x9cc38f(_0x10ef51,_0x30e055)+_0x348734(0x25c),'children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x215),'children':[_0x132941(_0x348734(0x232),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xf74452(_0x10ef51,_0x30e055)+_0x348734(0x28a)}),_0x132941(_0x348734(0x1be),{'className':_0x348734(0x1cb),'children':_0x57181e(_0x10ef51)})]})}),_0x30e055!==_0x64bacc[_0x348734(0x15f)]&&(_0x10ef51===_0xc322cc[_0x348734(0x1fd)]||_0x30e055===_0x64bacc[_0x348734(0x17c)]||_0x30e055===_0x64bacc[_0x348734(0x287)])&&_0x132941(_0x348734(0x232),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x229),'children':[_0x132941(_0x348734(0x1be),{'className':_0x348734(0x1f1),'children':'⚠️'}),_0x132941('p',{'className':_0x348734(0x239),'children':_0x396b73(_0x30e055)})]})})]}),_0x132941(_0x348734(0x232),{'className':_0x348734(0x203),'children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x26f),'children':[_0x45cd34(_0x348734(0x232),{'className':'univer-space-y-2','children':[_0x45cd34(_0x348734(0x16b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x132941(_0x348734(0x1be),{'children':'🔑'}),'\x20',_0x20bcd9['t'](_0x348734(0x21a)),_0x132941(_0x348734(0x1be),{'className':_0x348734(0x280),'children':'*'}),_0x2b59f5&&_0x132941('a',{'href':_0x348734(0x291),'onClick':()=>_0x646ae2(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x20bcd9['t'](_0x348734(0x262)),'children':_0x132941(se,{})})]}),_0x132941(_0x5daca3,{'type':_0x348734(0x248),'placeholder':_0x20bcd9['t'](_0x348734(0x1dc)),'value':_0x5025f3,'onChange':_0x3a0dcd,'disabled':_0x5a14a5,'autoComplete':_0x348734(0x238)}),_0x132941('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x20bcd9['t'](_0x348734(0x258))})]}),_0x2b59f5&&_0x35a349&&_0x45cd34(_0x348734(0x232),{'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':[_0x132941('a',{'href':_0x348734(0x291),'onClick':()=>_0x646ae2(!0x1),'className':_0x348734(0x1b2),'title':_0x348734(0x1b1),'children':_0x132941(ae,{})}),_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x1d2),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x212),'children':_0x132941(_0x348734(0x1be),{'className':'univer-text-blue-600','children':'🚀'})}),_0x45cd34('div',{'className':_0x348734(0x186),'children':[_0x132941('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x20bcd9['t']('mcpConfig.apiApplyInfo.title')}),_0x132941('p',{'className':_0x348734(0x20c),'children':_0x20bcd9['t'](_0x348734(0x268))}),_0x132941(_0x348734(0x232),{'className':_0x348734(0x23d),'children':_0x1234d0&&_0x45cd34('a',{'href':_0x597066,'target':_0x348734(0x1c3),'rel':_0x348734(0x1e3),'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children':[_0x132941('span',{'children':'🤖'}),_0x20bcd9['t'](_0x348734(0x19f)),_0x132941('span',{'className':_0x348734(0x288),'children':'↗'})]})}),_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x27b),'children':['✨','\x20',_0x20bcd9['t'](_0x348734(0x179))]})]})]})]}),_0x4becc1[_0x348734(0x206)]&&_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x27a),'children':[_0x45cd34('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x132941(_0x348734(0x1be),{'children':'🔗'}),'\x20',_0x20bcd9['t']('mcpConfig.connectionInfo')]}),_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x1e1),'children':[_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x213),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x1f9)}),_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x270),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x1f5),'children':_0x20bcd9['t'](_0x348734(0x1e0))}),_0x132941(_0x348734(0x290),{'className':_0x348734(0x1e7),'children':_0x34d315[_0x348734(0x177)]})]})]}),_0x45cd34('div',{'className':_0x348734(0x213),'children':[_0x132941(_0x348734(0x232),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x45cd34('div',{'className':_0x348734(0x270),'children':[_0x132941('div',{'className':_0x348734(0x1f5),'children':_0x20bcd9['t']('mcpConfig.sessionId')}),_0x132941(_0x348734(0x290),{'className':_0x348734(0x1f0),'children':_0x34d315[_0x348734(0x298)]||'default'})]})]})]})]}),_0x132941(_0x68c388,{'onClick':_0x436c45,'disabled':!_0x1c27bd||_0x5a14a5,'className':_0x348734(0x20f),'children':_0x5a14a5?_0x45cd34('span',{'className':_0x348734(0x215),'children':[_0x132941(_0x348734(0x1be),{'children':'⟲'}),_0x20bcd9['t'](_0x348734(0x1c1))]}):_0x45cd34('span',{'className':_0x348734(0x215),'children':[_0x132941(ce,{}),_0x20bcd9['t']('mcpConfig.save')]})}),_0x132941(_0x348734(0x232),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x1d6),'children':[_0x132941(_0x348734(0x1be),{'className':_0x348734(0x15b),'children':'💡'}),_0x45cd34(_0x348734(0x232),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x132941('div',{'className':_0x348734(0x192),'children':_0x348734(0x27f)}),_0x45cd34(_0x348734(0x232),{'children':['•',_0x20bcd9['t'](_0x348734(0x260))]}),_0x45cd34(_0x348734(0x232),{'children':['•',_0x20bcd9['t'](_0x348734(0x1c4))]})]})]})})]})})]});}const U=_0x1f6754(0x174),J={'showDeveloperTools':!0x1};var Je=Object[_0x1f6754(0x25e)],Qe=(_0x1f8606,_0x2d5334,_0x53def2,_0x45ddff)=>{var _0x2ed10c=_0x1f6754;for(var _0x495264=_0x45ddff>0x1?void 0x0:_0x45ddff?Je(_0x2d5334,_0x53def2):_0x2d5334,_0x88853d=_0x1f8606[_0x2ed10c(0x214)]-0x1,_0x40565d;_0x88853d>=0x0;_0x88853d--)(_0x40565d=_0x1f8606[_0x88853d])&&(_0x495264=_0x40565d(_0x495264)||_0x495264);return _0x495264;},p=(_0x154b3c,_0x32c80e)=>(_0x5481a0,_0x4f3b68)=>_0x32c80e(_0x5481a0,_0x4f3b68,_0x154b3c);function _0x2cf3(){var _0x1f1c65=['5903030QDZFWH','url(#$1','none','请输入您的\x20API\x20密钥','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','MCP\x20连接中...','_componentManager','showDeveloperTools','extend','Connection\x20Information','hover:univer-opacity-80','CONNECTED','服务器端点','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.title','includes','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','MCP\x20Connected','current','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-flex\x20univer-items-start\x20univer-gap-3','length','univer-flex\x20univer-items-center\x20univer-gap-2','What\x20is\x20API\x20Key?','path','on-line-icon_clip0_910_349','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpConfig.apiKey','univer-text-white','MCP\x20Retrying...','2268ZVIYHH','_initializeMenus','mcpStatus.connecting','MCPConfigPanel','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','xlink:href','Connected','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-flex\x20univer-items-center\x20univer-gap-3','function','currentColor','MCP\x20配置','univer-flex\x20univer-items-start\x20univer-gap-2','需要\x20API\x20密钥才能连接','mcpConfig.connectionError.maxRetriesExceeded','_config$','mcpStatus.invalidApiKey','call','MCP\x20Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','setConfig','div','univer-mr-2\x20univer-flex\x20univer-text-xl','fill','MCP:\x20Network\x20Error','Univer\x20AI\x20Console','最大重试次数','off','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','1OiAntG','univer-bg-blue-500','DISCONNECTED','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.networkError','MCP:\x20无效的\x20API\x20密钥','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','几秒钟内获取您的\x20API\x20密钥','OffLineIcon','univer-bg-red-500','Success','univer-text-sm\x20univer-text-gray-500','add','evenodd','text','mcpConfig.validation.invalidConfig','concat','Connecting...','check-mark-icon','_configService','mcpStatus.connected','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','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.connectionStatus.disconnected','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','removeItem','className','map','MCP:\x20API\x20Key\x20Missing','SESSION_ID_OCCUPIED','mcpConfig.apiKeyHint','forEach','mcpStatus.disconnected','0\x200\x2017\x2016','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','getOwnPropertyDescriptor','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.note1','mcpStatus.retrying','mcpConfig.apiApplyInfo.title','_mcpConnectionController','mcpConfig.connectionStatus.retrying','配置保存失败','univer.ai','354498QsyvuQ','mcpConfig.apiApplyInfo.description','disposeWithMe','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','_initConfigSync','mcpStatus.maxRetriesExceeded','MenuIcon','_initializeCommands','univer-space-y-5','univer-min-w-0\x20univer-flex-1','_loadStoredApiKey','get','univerjs-icon\x20univerjs-icon-','mcpConfig.connectionError.sessionOccupied','getConfig','Click\x20to\x20connect\x20MCP','mergeMenu','API\x20密钥无效,请检查您的密钥后重试','MCP\x20Unknown\x20Status','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_commandService','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','_createConfigPanelComponent','Configuration\x20Notes:','univer-text-red-500','OTHERS','mcpStatus.clickToConnect','MCP:\x20缺少\x20API\x20密钥','mask','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.description','INVALID_API_KEY','univer-text-gray-400','defIds','\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','1610274pCempP','attrs','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_localStorageService','code','javascript:void(0)','Error','subscribe','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-bg-gray-500','配置无效','univer.plus','sessionId','hasOwnProperty','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','assign','round','idSuffix','Connection\x20Failed','propertyIsEnumerable','mcpConfig.validation.invalidApiKey','showConfigPanel','_loading$','mcpConfig.configError','_menuManagerService','配置更改将立即生效','mcp-config-dialog','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-flex-shrink-0\x20univer-text-blue-500','_messageService','MCP\x20已断开','M0\x200H16V16H0z','NONE','M5.21243\x205.62036L11.8791\x2012.287','getItem','5815565xyzstT','_logService','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','M5.21243\x2012.287L11.8791\x205.62036','defineProperty','\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','什么是\x20API\x20密钥?','univer-text-yellow-500','tag','label','NETWORK_ERROR','defs','error','registerCommand','Enable\x20authentication\x20for\x20secure\x20connections','load','mcpConfig.connectionStatus.connecting','errorMessage','mcp-ui.config','onStarting','univer-bg-green-500','mcpServerUrl','超出最大重试次数,请稍后再试','mcpConfig.apiApplyInfo.getStarted','mcpStatus.clickToConfigure','setItem','MISSING_API_KEY','mcpStatus.failed','substring','HEADER_MENU','MCP:\x20超出最大重试次数','mcpConfig.connectionError.invalidApiKey','COMMAND','Failed\x20to\x20save\x20configuration','API\x20密钥不能为空','symbol','univer-flex-1','CheckMarkIcon','help-single','未连接','重连中...','_config','_uiPartsService','API\x20key\x20is\x20required\x20to\x20connect','mcpConfig.configSaved','0\x200\x2016\x2016','_handleConfigure','connectionError$','univer-font-medium','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','240446BGnRKQ','mcp-ui.command.openConfigPanel','apiKey','mcpStatus.missingApiKey','_validateConfig','启用身份验证','Retrying...','url(#on-line-icon_clip0_910_349)','mcpConfig.validation.apiKeyRequired','RETRYING','MCP:\x20会话被占用','mcpConfig.apiApplyInfo.univerAiLabel','28AtLTtK','_mcpCoreConfig$','validateApiKey','API\x20密钥无效,请检查密钥是否正确','show','_injector','close','_connectionController','CONNECTING','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','clipPath','_localeService','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','41680LMGesH','string','entries','OnLineIcon','Close','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','Configuration\x20saved\x20successfully','colorChannel1','registerComponent','off-line-icon_clip0_910_343','getOwnPropertySymbols','连接中...','会话当前被占用,请稍后再试','children','svg','univer-flex\x20univer-cursor-pointer\x20univer-items-center','open','span','translate(.97)','getCurrentConfig','mcpConfig.saving','保存中...','_blank','mcpConfig.note2','1em','Univer\x20AI\x20控制台','网络连接错误,请检查您的网络连接','点击连接\x20MCP','icon','mcpStatus.unknown','univer-text-sm\x20univer-font-medium','Max\x20Retries','https://console.univer.ai','white','MAX_RETRIES_EXCEEDED','点击配置\x20MCP','BUTTON','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_dialogService','mcpConfig.connectionError.missingApiKey','random','univer-flex\x20univer-gap-3','MCP:\x20Session\x20Occupied','indexOf','6442928PSWQzE','Server\x20Endpoint','url(#off-line-icon_clip0_910_343)','mcpConfig.apiKeyPlaceholder','API\x20密钥','mcpConfig.validation.apiKeyTooShort','displayName','mcpConfig.serverEndpoint','univer-space-y-3','_initStatusComponent','noopener\x20noreferrer','subscribeConfigValue$','MCP\x20Configuration','trim','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','connectionStatus$','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','value','API\x20密钥长度至少需要\x2010\x20位','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20Connecting...','use','Get\x20your\x20API\x20key\x20in\x20seconds','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','univer-flex-shrink-0\x20univer-text-red-500','启用身份验证以获得安全连接','next','_handleConfigSave','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Click\x20to\x20configure\x20MCP','Enter\x20your\x20API\x20key','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','register','prototype','您的\x20API\x20密钥将在此浏览器中本地存储','FAILED','http://www.w3.org/2000/svg'];_0x2cf3=function(){return _0x1f1c65;};return _0x2cf3();}const R='mcp.apiKey',j=_0x1f6754(0x159);let _=class extends _0x3795db{constructor(_0x4c826e,_0x3f6a76,_0x2376f8,_0x5e7412,_0x320cb2,_0x4c6a3d,_0x2d2ff1,_0x15f216,_0x2fc1e9,_0x2d8e82){var _0x2e7eaa=_0x1f6754;super(),N(this,_0x2e7eaa(0x2a2),new _0x18f2d8(!0x1)),N(this,'_mcpCoreConfig$',new _0x18f2d8({})),N(this,_0x2e7eaa(0x22c),new _0x18f2d8({})),N(this,_0x2e7eaa(0x1f4),async _0x520969=>{var _0x24fea1=_0x2e7eaa;this['_loading$']['next'](!0x0);try{const _0x4fb9ab=await this[_0x24fea1(0x198)](_0x520969);if(!_0x4fb9ab['isValid']){this[_0x24fea1(0x15c)][_0x24fea1(0x1a4)]({'type':_0x3922df['Error'],'content':_0x4fb9ab[_0x24fea1(0x173)]||this['_localeService']['t'](_0x24fea1(0x249))});return;}_0x520969[_0x24fea1(0x196)]?await this[_0x24fea1(0x28f)][_0x24fea1(0x17b)](R,_0x520969[_0x24fea1(0x196)]['trim']()):await this[_0x24fea1(0x28f)][_0x24fea1(0x253)](R),this[_0x24fea1(0x24d)][_0x24fea1(0x231)](_0x14ee85,{..._0x520969,'apiKey':_0x520969[_0x24fea1(0x196)]['trim']()}),this[_0x24fea1(0x1a1)][_0x24fea1(0x1f3)]({..._0x520969,'apiKey':_0x520969[_0x24fea1(0x196)][_0x24fea1(0x1e6)]()}),this[_0x24fea1(0x15c)][_0x24fea1(0x1a4)]({'type':_0x3922df[_0x24fea1(0x244)],'content':this[_0x24fea1(0x1ab)]['t'](_0x24fea1(0x18e))}),setTimeout(()=>{var _0x2c053d=_0x24fea1;this['_dialogService'][_0x2c053d(0x1a6)](j);},0x320);}catch(_0x36a4e2){this[_0x24fea1(0x163)][_0x24fea1(0x16e)](_0x24fea1(0x28e),_0x36a4e2),this[_0x24fea1(0x15c)][_0x24fea1(0x1a4)]({'type':_0x3922df[_0x24fea1(0x292)],'content':this[_0x24fea1(0x1ab)]['t'](_0x24fea1(0x2a3))});}finally{this[_0x24fea1(0x2a2)]['next'](!0x1);}}),(this[_0x2e7eaa(0x1a5)]=_0x4c826e,this[_0x2e7eaa(0x18c)]=_0x3f6a76,this['_configService']=_0x2376f8,this[_0x2e7eaa(0x28f)]=_0x5e7412,this['_dialogService']=_0x320cb2,this[_0x2e7eaa(0x15c)]=_0x4c6a3d,this[_0x2e7eaa(0x205)]=_0x2d2ff1,this[_0x2e7eaa(0x1ab)]=_0x15f216,this[_0x2e7eaa(0x163)]=_0x2fc1e9,this['_mcpConnectionController']=_0x2d8e82,this[_0x2e7eaa(0x26b)](),this[_0x2e7eaa(0x271)](),this['_registerComponent']());}[_0x1f6754(0x2a1)](){var _0x531f3e=_0x1f6754;this[_0x531f3e(0x1d3)][_0x531f3e(0x1bd)]({'id':j,'title':{'title':this[_0x531f3e(0x1ab)]['t']('mcpConfig.title')},'children':{'label':_0x531f3e(0x220)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x8e82f9=_0x531f3e;this[_0x8e82f9(0x1d3)][_0x8e82f9(0x1a6)](j);}});}[_0x1f6754(0x1c0)](){var _0x40b887=_0x1f6754;return this[_0x40b887(0x1a1)][_0x40b887(0x1ea)];}['_registerComponent'](){var _0x3d79aa=_0x1f6754;this[_0x3d79aa(0x269)](this[_0x3d79aa(0x205)][_0x3d79aa(0x1fa)]('MCPConfigPanel',this[_0x3d79aa(0x27e)]()));}[_0x1f6754(0x27e)](){var _0x973797=_0x1f6754;return _0x5e3fab(()=>{var _0x1656de=_0x12b9,_0x468f11,_0x5c7b83;return _0x132941(Xe,{'config':this[_0x1656de(0x22c)][_0x1656de(0x1ea)],'mcpCoreConfig':this[_0x1656de(0x1a1)][_0x1656de(0x1ea)],'onSave':this[_0x1656de(0x1f4)],'loading':this[_0x1656de(0x2a2)][_0x1656de(0x1ea)],'connectionStatus$':(_0x468f11=this[_0x1656de(0x263)])==null?void 0x0:_0x468f11[_0x1656de(0x1e8)],'connectionError$':(_0x5c7b83=this['_mcpConnectionController'])==null?void 0x0:_0x5c7b83[_0x1656de(0x191)]});},this[_0x973797(0x1a5)]);}['_initConfigSync'](){var _0x3abb3e=_0x1f6754;this[_0x3abb3e(0x269)](this[_0x3abb3e(0x24d)][_0x3abb3e(0x1e4)](_0x14ee85)[_0x3abb3e(0x293)](_0x488a5a=>{var _0x125b13=_0x3abb3e;this[_0x125b13(0x1a1)][_0x125b13(0x1f3)](_0x488a5a||{});}));const _0xf2ba67=this[_0x3abb3e(0x24d)][_0x3abb3e(0x275)](_0x14ee85);this[_0x3abb3e(0x1a1)][_0x3abb3e(0x1f3)](_0xf2ba67||{}),this[_0x3abb3e(0x269)](this[_0x3abb3e(0x24d)][_0x3abb3e(0x1e4)](U)[_0x3abb3e(0x293)](_0x46c398=>{var _0x3f38a3=_0x3abb3e;this[_0x3f38a3(0x22c)][_0x3f38a3(0x1f3)](_0x46c398||{});}));const _0x208c61=this['_configService'][_0x3abb3e(0x275)](U);this[_0x3abb3e(0x22c)]['next'](_0x208c61||{});}async[_0x1f6754(0x271)](){var _0x113ca2=_0x1f6754;const _0xe75104=await this[_0x113ca2(0x28f)][_0x113ca2(0x161)](R);if(_0xe75104){const _0x4115c9={...this[_0x113ca2(0x1a1)][_0x113ca2(0x1ea)],'apiKey':_0xe75104};this['_configService']['setConfig'](_0x14ee85,_0x4115c9),this['_mcpCoreConfig$'][_0x113ca2(0x1f3)](_0x4115c9);}}async[_0x1f6754(0x198)](_0x38018c){var _0xb192a=_0x1f6754;if(!_0x38018c['apiKey']||_0x38018c[_0xb192a(0x196)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0xb192a(0x1ab)]['t'](_0xb192a(0x19c))};if(_0x38018c[_0xb192a(0x196)][_0xb192a(0x1e6)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0xb192a(0x1ab)]['t'](_0xb192a(0x1de))};try{const _0x541e39=await this[_0xb192a(0x1a5)]['get'](_0x4b8235)[_0xb192a(0x1a2)](_0x38018c[_0xb192a(0x196)]['trim']());return _0x541e39['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x541e39['error']||this['_localeService']['t'](_0xb192a(0x2a0))};}catch(_0x485c4b){return console['warn'](_0xb192a(0x1ac),_0x485c4b),{'isValid':!0x0};}}};_=Qe([p(0x0,_0x168537(_0x35562b)),p(0x1,_0x4f21f7),p(0x2,_0x479cf5),p(0x3,_0x9008f1),p(0x4,_0x3cd5f3),p(0x5,_0x266579),p(0x6,_0x168537(_0x16ee23)),p(0x7,_0x168537(_0x3a6e68)),p(0x8,_0x282e34),p(0x9,_0x168537(_0x4b8235))],_);const W={'id':_0x1f6754(0x195),'type':_0x427252[_0x1f6754(0x182)],'handler':async(_0x3e2973,_0x444740)=>(_0x3e2973[_0x1f6754(0x272)](_)['showConfigPanel'](),!0x0)};function ve(_0x588bce,_0x4961af){var _0x304c55=_0x1f6754;switch(_0x588bce){case _0xc322cc[_0x304c55(0x23c)]:return _0x4961af===_0x64bacc[_0x304c55(0x17c)]?_0x304c55(0x197):_0x304c55(0x25a);case _0xc322cc[_0x304c55(0x1a8)]:return _0x304c55(0x21f);case _0xc322cc[_0x304c55(0x20a)]:return _0x304c55(0x24e);case _0xc322cc[_0x304c55(0x1fd)]:switch(_0x4961af){case _0x64bacc[_0x304c55(0x287)]:return _0x304c55(0x22d);case _0x64bacc[_0x304c55(0x257)]:return'mcpStatus.sessionOccupied';case _0x64bacc[_0x304c55(0x16c)]:return _0x304c55(0x23e);case _0x64bacc[_0x304c55(0x1cf)]:return _0x304c55(0x26c);default:return _0x304c55(0x17d);}case _0xc322cc[_0x304c55(0x19d)]:return _0x304c55(0x261);default:return _0x304c55(0x1ca);}}function en(_0x402d0c,_0x2743b9,_0x50196b){var _0x284563=_0x1f6754;const _0x290b1b=ve(_0x402d0c,_0x2743b9),_0x3ae92b=_0x50196b['t'](_0x290b1b);return _0x402d0c===_0xc322cc['DISCONNECTED']&&_0x2743b9===_0x64bacc[_0x284563(0x17c)]?_0x3ae92b+'\x20-\x20'+_0x50196b['t'](_0x284563(0x17a)):_0x402d0c===_0xc322cc[_0x284563(0x20a)]?''+_0x3ae92b:_0x402d0c===_0xc322cc[_0x284563(0x23c)]||_0x402d0c===_0xc322cc[_0x284563(0x1fd)]?_0x3ae92b+'\x20-\x20'+_0x50196b['t'](_0x284563(0x282)):_0x3ae92b;}function nn(_0x100174){var _0x32bd61=_0x1f6754;switch(_0x100174){case _0xc322cc['CONNECTED']:return'univer-text-green-500';case _0xc322cc[_0x32bd61(0x1a8)]:case _0xc322cc['RETRYING']:return _0x32bd61(0x169);case _0xc322cc[_0x32bd61(0x1fd)]:case _0xc322cc[_0x32bd61(0x23c)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function rn(_0x5738f6){var _0x571ec4=_0x1f6754;const {status$:_0x5787cc,error$:_0x414148,onConfigure:_0x9a614f}=_0x5738f6,_0x12dfd7=_0x562084(_0x5787cc,_0xc322cc[_0x571ec4(0x23c)]),_0xa4f9a6=_0x562084(_0x414148,_0x64bacc[_0x571ec4(0x15f)]),_0x12739a=_0x36454f(_0x3a6e68),_0x3795d5=_0x12dfd7===_0xc322cc[_0x571ec4(0x20a)],_0x5915da=_0x12dfd7===_0xc322cc[_0x571ec4(0x1a8)]||_0x12dfd7===_0xc322cc['RETRYING'],_0xaad5d8=_0x12739a['t'](ve(_0x12dfd7,_0xa4f9a6)),_0x16b8d3=en(_0x12dfd7,_0xa4f9a6,_0x12739a),_0x232be1=nn(_0x12dfd7),_0x40eee6=_0x3795d5?_0x132941(ue,{}):_0x132941(le,{}),_0x2f1c41=_0x11b793(()=>{_0x9a614f&&_0x9a614f();},[_0x3795d5,_0x5915da,_0x9a614f]);function _0x4ecfe7(){var _0x93e583=_0x571ec4;return _0x45cd34('div',{'className':_0x4800bb(_0x93e583(0x1bc),_0x9a614f&&_0x93e583(0x209)),'onClick':_0x9a614f?_0x2f1c41:void 0x0,'children':[_0x132941(_0x93e583(0x232),{'className':_0x4800bb(_0x93e583(0x233),_0x232be1),'children':_0x40eee6}),_0x132941(_0x93e583(0x232),{'className':_0x93e583(0x252),'children':_0xaad5d8})]});}return _0x132941(_0x3b2bb4,{'title':_0x16b8d3,'placement':'bottom','children':_0x4ecfe7()});}var tn=Object['getOwnPropertyDescriptor'],on=(_0x7f085c,_0x21d5d3,_0x887296,_0x5d6a38)=>{var _0x5fd96d=_0x1f6754;for(var _0xec538d=_0x5d6a38>0x1?void 0x0:_0x5d6a38?tn(_0x21d5d3,_0x887296):_0x21d5d3,_0xa617f8=_0x7f085c[_0x5fd96d(0x214)]-0x1,_0x244b33;_0xa617f8>=0x0;_0xa617f8--)(_0x244b33=_0x7f085c[_0xa617f8])&&(_0xec538d=_0x244b33(_0xec538d)||_0xec538d);return _0xec538d;},L=(_0x19bf4e,_0x226e88)=>(_0x25c2cb,_0x184870)=>_0x226e88(_0x25c2cb,_0x184870,_0x19bf4e);let O=class extends _0x3795db{constructor(_0x533bd0,_0x4cdf1a,_0x1c411d){var _0x7aa88f=_0x1f6754;super(),this[_0x7aa88f(0x1a5)]=_0x533bd0,this['_connectionController']=_0x4cdf1a,this[_0x7aa88f(0x18c)]=_0x1c411d,this[_0x7aa88f(0x1e2)]();}[_0x1f6754(0x1e2)](){var _0x26ee97=_0x1f6754;this[_0x26ee97(0x269)](this[_0x26ee97(0x18c)][_0x26ee97(0x1b5)](_0x56f7ac[_0x26ee97(0x17f)],()=>_0x5e3fab(cn({'status$':this[_0x26ee97(0x1a7)][_0x26ee97(0x1e8)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this['_handleConfigure']()}),this[_0x26ee97(0x1a5)])));}[_0x1f6754(0x190)](){var _0x3a8b3c=_0x1f6754;this[_0x3a8b3c(0x1a5)]['get'](_)[_0x3a8b3c(0x2a1)]();}};O=on([L(0x0,_0x168537(_0x35562b)),L(0x1,_0x168537(_0x4b8235)),L(0x2,_0x4f21f7)],O);function cn(_0x278a10){const {status$:_0x231d90,error$:_0x2f7c50,onConfigure:_0x181346}=_0x278a10;return function(){return _0x132941(rn,{'status$':_0x231d90,'error$':_0x2f7c50,'onConfigure':_0x181346});};}function an(_0x51aca1){var _0xa36bed=_0x1f6754;return{'id':W['id'],'type':_0x1bcab4[_0xa36bed(0x1d1)],'icon':_0xa36bed(0x26d),'title':_0xa36bed(0x20d),'tooltip':_0xa36bed(0x20d)};}const sn={[_0x6f977a[_0x1f6754(0x281)]]:{[W['id']]:{'order':0xa,'menuItemFactory':an}}};var ln=Object[_0x1f6754(0x25e)],un=(_0x518e00,_0x36a0ad,_0x4a305c,_0x3ea3e5)=>{var _0x5b1320=_0x1f6754;for(var _0x44906c=_0x3ea3e5>0x1?void 0x0:_0x3ea3e5?ln(_0x36a0ad,_0x4a305c):_0x36a0ad,_0x5dc6c8=_0x518e00[_0x5b1320(0x214)]-0x1,_0x242f4a;_0x5dc6c8>=0x0;_0x5dc6c8--)(_0x242f4a=_0x518e00[_0x5dc6c8])&&(_0x44906c=_0x242f4a(_0x44906c)||_0x44906c);return _0x44906c;},Q=(_0x3ac818,_0x57ad07)=>(_0x2805ae,_0x8c3ff0)=>_0x57ad07(_0x2805ae,_0x8c3ff0,_0x3ac818);let k=class extends _0x3795db{constructor(_0x113697,_0x18d450){var _0x512a7d=_0x1f6754;super(),this[_0x512a7d(0x27c)]=_0x113697,this[_0x512a7d(0x157)]=_0x18d450,this[_0x512a7d(0x26e)](),this[_0x512a7d(0x21e)]();}[_0x1f6754(0x26e)](){var _0x5e4048=_0x1f6754;[W][_0x5e4048(0x259)](_0x5bb5c9=>{var _0x392424=_0x5e4048;this['disposeWithMe'](this['_commandService'][_0x392424(0x16f)](_0x5bb5c9));});}[_0x1f6754(0x21e)](){var _0x370b5b=_0x1f6754;this[_0x370b5b(0x157)][_0x370b5b(0x277)](sn);}};k=un([Q(0x0,_0x1cf2e4),Q(0x1,_0x25bf65)],k);const vn={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1f6754(0x1ed),'connected':_0x1f6754(0x210),'failed':_0x1f6754(0x22f),'retrying':_0x1f6754(0x21c),'unknown':_0x1f6754(0x279),'missingApiKey':_0x1f6754(0x256),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x1f6754(0x1d7),'networkError':_0x1f6754(0x235),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x1f6754(0x276),'clickToConfigure':_0x1f6754(0x1f7)},'mcpConfig':{'title':_0x1f6754(0x1e5),'description':_0x1f6754(0x230),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1f6754(0x1f8),'apiKeyHint':_0x1f6754(0x294),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1f6754(0x170),'connectionInfo':_0x1f6754(0x208),'serverEndpoint':_0x1f6754(0x1da),'sessionId':'Session\x20ID','maxRetries':_0x1f6754(0x1cc),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x1f6754(0x25d),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1f6754(0x1b3),'configError':_0x1f6754(0x183),'apiApplyInfo':{'title':_0x1f6754(0x216),'description':_0x1f6754(0x164),'univerAiLabel':_0x1f6754(0x236),'getStarted':_0x1f6754(0x1ef)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1f6754(0x29a)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x1f6754(0x24b),'connected':_0x1f6754(0x223),'failed':_0x1f6754(0x29e),'retrying':_0x1f6754(0x19a)},'connectionError':{'missingApiKey':_0x1f6754(0x18d),'invalidApiKey':_0x1f6754(0x26a),'sessionOccupied':_0x1f6754(0x1e9),'networkError':_0x1f6754(0x219),'maxRetriesExceeded':_0x1f6754(0x193)}}},dn={'mcpStatus':{'disconnected':_0x1f6754(0x15d),'connecting':_0x1f6754(0x204),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','missingApiKey':_0x1f6754(0x283),'invalidApiKey':_0x1f6754(0x23f),'sessionOccupied':_0x1f6754(0x19e),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x1f6754(0x180),'clickToConnect':_0x1f6754(0x1c8),'clickToConfigure':_0x1f6754(0x1d0)},'mcpConfig':{'title':_0x1f6754(0x228),'description':_0x1f6754(0x250),'apiKey':_0x1f6754(0x1dd),'apiKeyPlaceholder':_0x1f6754(0x202),'apiKeyHint':_0x1f6754(0x1fc),'enableAuth':_0x1f6754(0x199),'enableAuthHint':_0x1f6754(0x1f2),'connectionInfo':'连接信息','serverEndpoint':_0x1f6754(0x20b),'sessionId':'会话ID','maxRetries':_0x1f6754(0x237),'save':'保存配置','saving':_0x1f6754(0x1c2),'note1':_0x1f6754(0x158),'note2':_0x1f6754(0x285),'configSaved':'配置保存成功','configError':_0x1f6754(0x265),'apiApplyInfo':{'title':_0x1f6754(0x168),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x1f6754(0x1c6),'getStarted':_0x1f6754(0x241)},'validation':{'apiKeyRequired':_0x1f6754(0x184),'apiKeyTooShort':_0x1f6754(0x1eb),'invalidConfig':_0x1f6754(0x296),'invalidApiKey':_0x1f6754(0x1a3)},'connectionStatus':{'disconnected':_0x1f6754(0x189),'connecting':_0x1f6754(0x1b8),'connected':'已连接','failed':'连接失败','retrying':_0x1f6754(0x18a)},'connectionError':{'missingApiKey':_0x1f6754(0x22a),'invalidApiKey':_0x1f6754(0x278),'sessionOccupied':_0x1f6754(0x1b9),'networkError':_0x1f6754(0x1c7),'maxRetriesExceeded':_0x1f6754(0x178)}}};var gn=Object[_0x1f6754(0x166)],fn=Object[_0x1f6754(0x25e)],pn=(_0x53d292,_0x3d4254,_0x38e4bd)=>_0x3d4254 in _0x53d292?gn(_0x53d292,_0x3d4254,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38e4bd}):_0x53d292[_0x3d4254]=_0x38e4bd,Cn=(_0x1cda5f,_0x25708c,_0x1e16d4,_0x29778a)=>{var _0x5165e3=_0x1f6754;for(var _0x2dbbf1=_0x29778a>0x1?void 0x0:_0x29778a?fn(_0x25708c,_0x1e16d4):_0x25708c,_0x2112a7=_0x1cda5f[_0x5165e3(0x214)]-0x1,_0x794d72;_0x2112a7>=0x0;_0x2112a7--)(_0x794d72=_0x1cda5f[_0x2112a7])&&(_0x2dbbf1=_0x794d72(_0x2dbbf1)||_0x2dbbf1);return _0x2dbbf1;},P=(_0x5d9a4b,_0xf82767)=>(_0x234a4b,_0x3ff9c9)=>_0xf82767(_0x234a4b,_0x3ff9c9,_0x5d9a4b),hn=(_0x451b64,_0x3db910,_0x4fc35a)=>pn(_0x451b64,_0x3db910+'',_0x4fc35a);let G=class extends _0x331c1d{constructor(_0x53a086=J,_0x4def09,_0x25fe89,_0x4ba103,_0x2f575d,_0x2c6f3e){var _0x2fa724=_0x1f6754;super(),this[_0x2fa724(0x18b)]=_0x53a086,this[_0x2fa724(0x1a5)]=_0x4def09,this[_0x2fa724(0x24d)]=_0x25fe89,this['_uiPartsService']=_0x4ba103,this[_0x2fa724(0x28f)]=_0x2f575d,this['_localeService']=_0x2c6f3e;const {..._0x57e928}=_0x509d2b({},J,this[_0x2fa724(0x18b)]);this[_0x2fa724(0x24d)]['setConfig'](U,_0x57e928),this[_0x2fa724(0x1ab)][_0x2fa724(0x171)]({'zhCN':dn,'enUS':vn});}async[_0x1f6754(0x175)](){var _0x4e9dbe=_0x1f6754;[[O],[_],[k]][_0x4e9dbe(0x259)](_0x571c50=>this[_0x4e9dbe(0x1a5)][_0x4e9dbe(0x246)](_0x571c50)),this[_0x4e9dbe(0x1a5)][_0x4e9dbe(0x272)](O),this[_0x4e9dbe(0x1a5)][_0x4e9dbe(0x272)](_),this[_0x4e9dbe(0x1a5)][_0x4e9dbe(0x272)](k);}};hn(G,'pluginName','MCP_UI_PLUGIN'),G=Cn([_0x5d8337(_0x14392c),P(0x1,_0x168537(_0x35562b)),P(0x2,_0x479cf5),P(0x3,_0x4f21f7),P(0x4,_0x9008f1),P(0x5,_0x168537(_0x3a6e68))],G);export{Xe as MCPConfigPanel,_ as MCPConfigUIController,O as MCPConnectionUIController,rn as MCPStatusDisplay,k as MCPUIMenuController,W as OpenMCPConfigPanelCommand,G as UniverMCPUIPlugin,vn as enUS,dn as zhCN};
1
+ var _0x2a39ed=_0x3af1;(function(_0x35681a,_0x3d50aa){var _0x4760c2=_0x3af1,_0x55320=_0x35681a();while(!![]){try{var _0x15c538=parseInt(_0x4760c2(0x148))/0x1*(parseInt(_0x4760c2(0x89))/0x2)+parseInt(_0x4760c2(0xa5))/0x3+parseInt(_0x4760c2(0xc3))/0x4*(parseInt(_0x4760c2(0xf4))/0x5)+parseInt(_0x4760c2(0x184))/0x6+parseInt(_0x4760c2(0x10f))/0x7+parseInt(_0x4760c2(0x187))/0x8*(-parseInt(_0x4760c2(0xf0))/0x9)+-parseInt(_0x4760c2(0xa1))/0xa*(parseInt(_0x4760c2(0x197))/0xb);if(_0x15c538===_0x3d50aa)break;else _0x55320['push'](_0x55320['shift']());}catch(_0x32c9e7){_0x55320['push'](_0x55320['shift']());}}}(_0x32ce,0x46f4b));var Se=Object[_0x2a39ed(0xcb)],xe=(_0x2267e6,_0x35bf4b,_0x425d08)=>_0x35bf4b in _0x2267e6?Se(_0x2267e6,_0x35bf4b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x425d08}):_0x2267e6[_0x35bf4b]=_0x425d08,N=(_0x2460dc,_0x14271e,_0x63a180)=>xe(_0x2460dc,typeof _0x14271e!='symbol'?_0x14271e+'':_0x14271e,_0x63a180);import{LocaleService as _0x1457f3,Inject as _0x54fe84,Injector as _0x251fc2,IConfigService as _0x2853c3,ILocalStorageService as _0x122f1b,ILogService as _0x49dda7,Disposable as _0x888610,CommandType as _0x215a19,ICommandService as _0x5f404e,DependentOn as _0x4726b7,Plugin as _0x1813e7,merge as _0x2246be}from'@univerjs/core';import{jsxs as _0x2113a0,jsx as _0x3a9243}from'react/jsx-runtime';import{MCPConnectionStatus as _0x465257,MCPConnectionError as _0x331fcf,MCPConnectionController as _0x4601ab,MCP_PLUGIN_CONFIG_KEY as _0x59a440,UniverMCPPlugin as _0x1cef3b}from'@univerjs-pro/mcp';import{Input as _0x5f067c,Button as _0x21f73d,MessageType as _0x53680e,Tooltip as _0x393e3d,clsx as _0x45baf8}from'@univerjs/design';import{useDependency as _0x527b81,useObservable as _0xb9f560,IUIPartsService as _0x4c0dea,IDialogService as _0x543447,IMessageService as _0x54f0a6,ComponentManager as _0xab8ce1,connectInjector as _0x27bd0d,BuiltInUIPart as _0x25f665,MenuItemType as _0x113af3,RibbonStartGroup as _0x38e781,IMenuManagerService as _0x3f1668}from'@univerjs/ui';import{BehaviorSubject as _0x312b71}from'rxjs';import{forwardRef as _0x15ccf8,useRef as _0xa666d2,createElement as _0x171545,useState as _0x2cd47d,useCallback as _0x51bcbf}from'react';var d=function(){var _0x4f627e=_0x2a39ed;return d=Object[_0x4f627e(0x117)]||function(_0x427e3f){var _0x31b8f2=_0x4f627e;for(var _0x19f245,_0x382c0d=0x1,_0x548435=arguments[_0x31b8f2(0x118)];_0x382c0d<_0x548435;_0x382c0d++){_0x19f245=arguments[_0x382c0d];for(var _0x3d73d2 in _0x19f245)Object[_0x31b8f2(0x70)]['hasOwnProperty'][_0x31b8f2(0x1b6)](_0x19f245,_0x3d73d2)&&(_0x427e3f[_0x3d73d2]=_0x19f245[_0x3d73d2]);}return _0x427e3f;},d[_0x4f627e(0xf1)](this,arguments);},Ye=function(_0x5c750d,_0x5672ab){var _0xac25cf=_0x2a39ed,_0x4f5700={};for(var _0xbfbe02 in _0x5c750d)Object['prototype'][_0xac25cf(0x7b)][_0xac25cf(0x1b6)](_0x5c750d,_0xbfbe02)&&_0x5672ab[_0xac25cf(0x12e)](_0xbfbe02)<0x0&&(_0x4f5700[_0xbfbe02]=_0x5c750d[_0xbfbe02]);if(_0x5c750d!=null&&typeof Object[_0xac25cf(0x151)]==_0xac25cf(0x165)){for(var _0x12c846=0x0,_0xbfbe02=Object['getOwnPropertySymbols'](_0x5c750d);_0x12c846<_0xbfbe02[_0xac25cf(0x118)];_0x12c846++)_0x5672ab[_0xac25cf(0x12e)](_0xbfbe02[_0x12c846])<0x0&&Object[_0xac25cf(0x70)][_0xac25cf(0xd4)]['call'](_0x5c750d,_0xbfbe02[_0x12c846])&&(_0x4f5700[_0xbfbe02[_0x12c846]]=_0x5c750d[_0xbfbe02[_0x12c846]]);}return _0x4f5700;},S=_0x15ccf8(function(_0x3cb5bc,_0x188633){var _0x33a164=_0x2a39ed,_0x10d053=_0x3cb5bc[_0x33a164(0xc2)],_0x48748d=_0x3cb5bc['id'],_0x3e3da5=_0x3cb5bc[_0x33a164(0xaa)],_0x4a9b8f=_0x3cb5bc[_0x33a164(0x15a)],_0x17fbee=Ye(_0x3cb5bc,[_0x33a164(0xc2),'id',_0x33a164(0xaa),_0x33a164(0x15a)]),_0x2064cb='univerjs-icon\x20univerjs-icon-'[_0x33a164(0x160)](_0x48748d,'\x20')[_0x33a164(0x160)](_0x3e3da5||'')[_0x33a164(0xce)](),_0x5d948a=_0xa666d2('_'[_0x33a164(0x160)](He()));return oe(_0x10d053,''[_0x33a164(0x160)](_0x48748d),{'defIds':_0x10d053[_0x33a164(0x194)],'idSuffix':_0x5d948a[_0x33a164(0x1a1)]},d({'ref':_0x188633,'className':_0x2064cb},_0x17fbee),_0x4a9b8f);});function oe(_0x97cda8,_0x5d7e91,_0x6791d8,_0x35daaf,_0x5f3ebf){var _0x10a31b=_0x2a39ed;return _0x171545(_0x97cda8['tag'],d(d({'key':_0x5d7e91},Ve(_0x97cda8,_0x6791d8,_0x5f3ebf)),_0x35daaf),(Fe(_0x97cda8,_0x6791d8)[_0x10a31b(0xc8)]||[])[_0x10a31b(0x121)](function(_0x1e80ad,_0x17f0c2){var _0x27428f=_0x10a31b;return oe(_0x1e80ad,''['concat'](_0x5d7e91,'-')['concat'](_0x97cda8[_0x27428f(0x179)],'-')[_0x27428f(0x160)](_0x17f0c2),_0x6791d8,void 0x0,_0x5f3ebf);}));}function Ve(_0x2c640f,_0x243d40,_0x9eebbc){var _0xe8e559=_0x2a39ed,_0x2da70a=d({},_0x2c640f[_0xe8e559(0xdd)]);_0x9eebbc!=null&&_0x9eebbc[_0xe8e559(0x1b9)]&&_0x2da70a[_0xe8e559(0xb2)]==='colorChannel1'&&(_0x2da70a[_0xe8e559(0xb2)]=_0x9eebbc[_0xe8e559(0x1b9)]),_0x2c640f[_0xe8e559(0x179)]===_0xe8e559(0x1ae)&&_0x2da70a['id']&&(_0x2da70a['id']=_0x2da70a['id']+_0x243d40[_0xe8e559(0x72)]),Object[_0xe8e559(0x180)](_0x2da70a)[_0xe8e559(0x113)](function(_0x1a6ef8){var _0x2da632=_0xe8e559,_0x394e75=_0x1a6ef8[0x0],_0x5be8fa=_0x1a6ef8[0x1];_0x394e75===_0x2da632(0x1ae)&&typeof _0x5be8fa==_0x2da632(0xe0)&&(_0x2da70a[_0x394e75]=_0x5be8fa[_0x2da632(0xb8)](/url\(#(.*)\)/,_0x2da632(0x16b)[_0x2da632(0x160)](_0x243d40[_0x2da632(0x72)],')')));});var _0x57894c=_0x243d40[_0xe8e559(0x194)];return!_0x57894c||_0x57894c[_0xe8e559(0x118)]===0x0||(_0x2c640f[_0xe8e559(0x179)]===_0xe8e559(0x120)&&_0x2da70a['xlink:href']&&(_0x2da70a[_0xe8e559(0x1be)]=_0x2da70a[_0xe8e559(0x1be)]+_0x243d40['idSuffix']),Object[_0xe8e559(0x180)](_0x2da70a)[_0xe8e559(0x113)](function(_0xb07a5f){var _0x26f69a=_0xe8e559,_0xb97269=_0xb07a5f[0x0],_0x48eb60=_0xb07a5f[0x1];typeof _0x48eb60==_0x26f69a(0xe0)&&(_0x2da70a[_0xb97269]=_0x48eb60[_0x26f69a(0xb8)](/url\(#(.*)\)/,_0x26f69a(0x16b)[_0x26f69a(0x160)](_0x243d40['idSuffix'],')')));})),_0x2da70a;}function Fe(_0x27f874,_0x5cc39c){var _0x50801b=_0x2a39ed,_0x24ae9e,_0x4b8b3f=_0x5cc39c[_0x50801b(0x194)];return!_0x4b8b3f||_0x4b8b3f[_0x50801b(0x118)]===0x0?_0x27f874:_0x27f874[_0x50801b(0x179)]===_0x50801b(0x9f)&&(!((_0x24ae9e=_0x27f874[_0x50801b(0xc8)])===null||_0x24ae9e===void 0x0)&&_0x24ae9e[_0x50801b(0x118)])?d(d({},_0x27f874),{'children':_0x27f874[_0x50801b(0xc8)][_0x50801b(0x121)](function(_0x375353){var _0x3e7a91=_0x50801b;return typeof _0x375353[_0x3e7a91(0xdd)]['id']==_0x3e7a91(0xe0)&&_0x4b8b3f&&_0x4b8b3f[_0x3e7a91(0x82)](_0x375353[_0x3e7a91(0xdd)]['id'])?d(d({},_0x375353),{'attrs':d(d({},_0x375353[_0x3e7a91(0xdd)]),{'id':_0x375353[_0x3e7a91(0xdd)]['id']+_0x5cc39c[_0x3e7a91(0x72)]})}):_0x375353;})}):_0x27f874;}function He(){var _0x5f1f22=_0x2a39ed;return Math['random']()[_0x5f1f22(0xb7)](0x24)[_0x5f1f22(0x1ab)](0x2,0x8);}function _0x3af1(_0x2594de,_0x4b911a){var _0x32ce98=_0x32ce();return _0x3af1=function(_0x3af167,_0x57a78d){_0x3af167=_0x3af167-0x70;var _0x426733=_0x32ce98[_0x3af167];return _0x426733;},_0x3af1(_0x2594de,_0x4b911a);}S[_0x2a39ed(0x107)]=_0x2a39ed(0x159);var We={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0xfd),'width':_0x2a39ed(0xb3),'height':'1em'},'children':[{'tag':_0x2a39ed(0x154),'attrs':{'fill':_0x2a39ed(0x11a),'d':_0x2a39ed(0x192),'fillRule':_0x2a39ed(0x8a),'clipRule':_0x2a39ed(0x8a)}}]},ce=_0x15ccf8(function(_0x18420b,_0x1bc8e4){var _0x55aa9d=_0x2a39ed;return _0x171545(S,Object['assign']({},_0x18420b,{'id':_0x55aa9d(0x10d),'ref':_0x1bc8e4,'icon':We}));});ce[_0x2a39ed(0x107)]='CheckMarkIcon';var Be={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':_0x2a39ed(0x9c),'fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0x75),'width':_0x2a39ed(0xb3),'height':_0x2a39ed(0xb3)},'children':[{'tag':'path','attrs':{'stroke':_0x2a39ed(0x11a),'d':_0x2a39ed(0x196),'strokeLinecap':_0x2a39ed(0x178),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x2a39ed(0x11a),'d':_0x2a39ed(0x9e),'strokeLinecap':_0x2a39ed(0x178),'strokeLinejoin':_0x2a39ed(0x178),'strokeWidth':1.33}}]},ae=_0x15ccf8(function(_0x3aaa53,_0x40a777){var _0xd44465=_0x2a39ed;return _0x171545(S,Object[_0xd44465(0x117)]({},_0x3aaa53,{'id':_0xd44465(0x1b5),'ref':_0x40a777,'icon':Be}));});ae[_0x2a39ed(0x107)]='CloseSmallSingle';var ze={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':_0x2a39ed(0x9c),'fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0xfd),'width':_0x2a39ed(0xb3),'height':_0x2a39ed(0xb3)},'children':[{'tag':_0x2a39ed(0x154),'attrs':{'fill':_0x2a39ed(0x11a),'d':_0x2a39ed(0x12a)}},{'tag':_0x2a39ed(0x154),'attrs':{'fill':'currentColor','d':_0x2a39ed(0x175)}},{'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':'evenodd','clipRule':_0x2a39ed(0x8a)}}]},se=_0x15ccf8(function(_0x1f2242,_0x4778f0){var _0x19c30a=_0x2a39ed;return _0x171545(S,Object[_0x19c30a(0x117)]({},_0x1f2242,{'id':'help-single','ref':_0x4778f0,'icon':ze}));});se[_0x2a39ed(0x107)]=_0x2a39ed(0x166);var qe={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0xfd),'width':_0x2a39ed(0xb3),'height':_0x2a39ed(0xb3)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a39ed(0xfc)},'children':[{'tag':'path','attrs':{'stroke':_0x2a39ed(0x11a),'d':_0x2a39ed(0xc0),'strokeLinecap':_0x2a39ed(0x178),'strokeLinejoin':_0x2a39ed(0x178),'strokeWidth':1.2}}]},{'tag':_0x2a39ed(0x9f),'attrs':{},'children':[{'tag':_0x2a39ed(0x186),'attrs':{'id':_0x2a39ed(0xb6)},'children':[{'tag':_0x2a39ed(0x154),'attrs':{'fill':'white','d':_0x2a39ed(0x191)}}]}]}],'defIds':[_0x2a39ed(0xb6)]},le=_0x15ccf8(function(_0x188591,_0x2ab5fa){var _0x20010a=_0x2a39ed;return _0x171545(S,Object[_0x20010a(0x117)]({},_0x188591,{'id':_0x20010a(0xa3),'ref':_0x2ab5fa,'icon':qe}));});le[_0x2a39ed(0x107)]=_0x2a39ed(0x100);var Ze={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':_0x2a39ed(0x9c),'fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0x18c),'width':_0x2a39ed(0xb3),'height':_0x2a39ed(0xb3)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a39ed(0x16e)},'children':[{'tag':_0x2a39ed(0x154),'attrs':{'stroke':_0x2a39ed(0x11a),'d':_0x2a39ed(0x1ad),'strokeLinecap':_0x2a39ed(0x178),'strokeLinejoin':_0x2a39ed(0x178),'strokeWidth':1.2}}]},{'tag':_0x2a39ed(0x9f),'attrs':{},'children':[{'tag':_0x2a39ed(0x186),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2a39ed(0x1c0),'d':_0x2a39ed(0x191),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2a39ed(0xb4)]},ue=_0x15ccf8(function(_0x5d8d35,_0xc035be){var _0x2d9fe0=_0x2a39ed;return _0x171545(S,Object[_0x2d9fe0(0x117)]({},_0x5d8d35,{'id':_0x2d9fe0(0x142),'ref':_0xc035be,'icon':Ze}));});ue['displayName']=_0x2a39ed(0x10a);function Xe(_0x47273d){var _0x5e7f17=_0x2a39ed,_0x1fc2de,_0x1af37c;const {mcpCoreConfig:_0x5be27b,onSave:_0x4e8e45,loading:_0x952699=!0x1,config:_0x338f38,connectionStatus$:_0x267866,connectionError$:_0x42a143}=_0x47273d,_0x2feb02=_0x527b81(_0x1457f3),_0x2a39ef=_0xb9f560(_0x267866,_0x465257[_0x5e7f17(0xd0)]),_0x2af734=_0xb9f560(_0x42a143,_0x331fcf[_0x5e7f17(0x176)]),[_0x3ea70d,_0x156bd7]=_0x2cd47d(_0x5be27b['apiKey']||''),_0x368997=!0x0,_0x265154=_0x338f38[_0x5e7f17(0xee)]&&_0x5be27b[_0x5e7f17(0x114)]&&(_0x5be27b[_0x5e7f17(0x114)][_0x5e7f17(0x82)]('univer.plus')||_0x5be27b[_0x5e7f17(0x114)]['includes'](_0x5e7f17(0x17e))),_0xd96574=(_0x1fc2de=_0x5be27b[_0x5e7f17(0x114)])==null?void 0x0:_0x1fc2de[_0x5e7f17(0x82)](_0x5e7f17(0xae)),_0x5f423f=(_0x1af37c=_0x5be27b['mcpServerUrl'])==null?void 0x0:_0x1af37c[_0x5e7f17(0x82)]('univer.ai'),_0x2341bd=_0xd96574?_0x5e7f17(0x12d):'https://console.univer.ai',_0x1675ae=_0x338f38[_0x5e7f17(0xee)]&&(_0xd96574||_0x5f423f),[_0x3ae706,_0x2bc86a]=_0x2cd47d(!_0x3ea70d[_0x5e7f17(0xce)]()),_0x3d7d26=(_0x453463,_0x1b5be6)=>{var _0x5534b0=_0x5e7f17;if(_0x1b5be6===_0x331fcf[_0x5534b0(0xcd)]||_0x1b5be6===_0x331fcf['INVALID_API_KEY'])return _0x5534b0(0x15c);switch(_0x453463){case _0x465257[_0x5534b0(0xf5)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x465257['CONNECTING']:case _0x465257['RETRYING']:return _0x5534b0(0x125);case _0x465257['FAILED']:return _0x5534b0(0x15c);default:return _0x5534b0(0x181);}},_0x53c392=(_0x507a41,_0x444add)=>{var _0x2fad07=_0x5e7f17;if(_0x444add===_0x331fcf[_0x2fad07(0xcd)]||_0x444add===_0x331fcf[_0x2fad07(0x167)])return _0x2fad07(0x96);switch(_0x507a41){case _0x465257['CONNECTED']:return _0x2fad07(0x13c);case _0x465257['CONNECTING']:case _0x465257['RETRYING']:return'univer-bg-blue-500';case _0x465257[_0x2fad07(0x11c)]:return _0x2fad07(0x96);default:return'univer-bg-gray-500';}},_0x22fbb6=_0x456f8b=>{var _0x3b3b81=_0x5e7f17;switch(_0x456f8b){case _0x465257[_0x3b3b81(0xf5)]:return _0x2feb02['t'](_0x3b3b81(0xe2));case _0x465257['CONNECTING']:return _0x2feb02['t'](_0x3b3b81(0x188));case _0x465257[_0x3b3b81(0x11c)]:return _0x2feb02['t'](_0x3b3b81(0x8b));case _0x465257[_0x3b3b81(0xd5)]:return _0x2feb02['t'](_0x3b3b81(0xe8));default:return _0x2feb02['t'](_0x3b3b81(0xfe));}},_0x2b9a4e=_0x2575e6=>{var _0x56500f=_0x5e7f17;switch(_0x2575e6){case _0x331fcf[_0x56500f(0xcd)]:return _0x2feb02['t'](_0x56500f(0x1bd));case _0x331fcf[_0x56500f(0x167)]:return _0x2feb02['t'](_0x56500f(0x130));case _0x331fcf[_0x56500f(0xf9)]:return _0x2feb02['t'](_0x56500f(0x131));case _0x331fcf[_0x56500f(0x13e)]:return _0x2feb02['t'](_0x56500f(0x106));case _0x331fcf[_0x56500f(0x170)]:return _0x2feb02['t'](_0x56500f(0xd9));default:return'';}},_0x886ed1=_0x51bcbf(()=>{const _0x823829={..._0x5be27b,'apiKey':_0x3ea70d['trim'](),'enableAuth':_0x368997};_0x4e8e45(_0x823829);},[_0x5be27b,_0x3ea70d,_0x368997,_0x4e8e45]),_0x28b410=_0x3ea70d[_0x5e7f17(0xce)]()[_0x5e7f17(0x118)]>0x0;return _0x2113a0(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x1b8),'children':_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x1bb),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x3a9243('span',{'className':_0x5e7f17(0x7c),'children':'⚙'})}),_0x3a9243(_0x5e7f17(0x143),{'children':_0x3a9243('p',{'className':_0x5e7f17(0x162),'children':_0x2feb02['t'](_0x5e7f17(0x111))})})]})}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0xc1),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0xe3)+_0x3d7d26(_0x2a39ef,_0x2af734)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x2113a0(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x141)+_0x53c392(_0x2a39ef,_0x2af734)+_0x5e7f17(0xe5)}),_0x3a9243(_0x5e7f17(0x138),{'className':_0x5e7f17(0x11b),'children':_0x22fbb6(_0x2a39ef)})]})}),_0x2af734!==_0x331fcf['NONE']&&(_0x2a39ef===_0x465257[_0x5e7f17(0x11c)]||_0x2af734===_0x331fcf[_0x5e7f17(0xcd)]||_0x2af734===_0x331fcf[_0x5e7f17(0x167)])&&_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x98),'children':_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x77),'children':[_0x3a9243('span',{'className':_0x5e7f17(0xff),'children':'⚠️'}),_0x3a9243('p',{'className':_0x5e7f17(0x177),'children':_0x2b9a4e(_0x2af734)})]})})]}),_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x123),'children':_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x182),'children':[_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0xed),'children':[_0x2113a0(_0x5e7f17(0x137),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x3a9243(_0x5e7f17(0x138),{'children':'🔑'}),'\x20',_0x2feb02['t'](_0x5e7f17(0x12f)),_0x3a9243(_0x5e7f17(0x138),{'className':_0x5e7f17(0x109),'children':'*'}),_0x265154&&_0x3a9243('a',{'href':_0x5e7f17(0x92),'onClick':()=>_0x2bc86a(!0x0),'className':_0x5e7f17(0x198),'title':_0x2feb02['t'](_0x5e7f17(0xda)),'children':_0x3a9243(se,{})})]}),_0x3a9243(_0x5f067c,{'type':_0x5e7f17(0xad),'placeholder':_0x2feb02['t'](_0x5e7f17(0xf2)),'value':_0x3ea70d,'onChange':_0x156bd7,'disabled':_0x952699,'autoComplete':_0x5e7f17(0x7f)}),_0x3a9243('p',{'className':_0x5e7f17(0x88),'children':_0x2feb02['t'](_0x5e7f17(0xaf))})]}),_0x265154&&_0x3ae706&&_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x9d),'children':[_0x3a9243('a',{'href':'javascript:void(0)','onClick':()=>_0x2bc86a(!0x1),'className':_0x5e7f17(0x8d),'title':_0x5e7f17(0x101),'children':_0x3a9243(ae,{})}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x1a5),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x3a9243(_0x5e7f17(0x138),{'className':_0x5e7f17(0x190),'children':'🚀'})}),_0x2113a0('div',{'className':_0x5e7f17(0x71),'children':[_0x3a9243('h4',{'className':_0x5e7f17(0x10e),'children':_0x2feb02['t']('mcpConfig.apiApplyInfo.title')}),_0x3a9243('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x2feb02['t'](_0x5e7f17(0xcf))}),_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x14c),'children':_0x1675ae&&_0x2113a0('a',{'href':_0x2341bd,'target':_0x5e7f17(0x199),'rel':'noopener\x20noreferrer','className':_0x5e7f17(0x17c),'children':[_0x3a9243(_0x5e7f17(0x138),{'children':'🤖'}),_0x2feb02['t'](_0x5e7f17(0x1a4)),_0x3a9243(_0x5e7f17(0x138),{'className':_0x5e7f17(0x1a8),'children':'↗'})]})}),_0x2113a0('div',{'className':_0x5e7f17(0x17a),'children':['✨','\x20',_0x2feb02['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x338f38[_0x5e7f17(0xee)]&&_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x18e),'children':[_0x2113a0('h4',{'className':_0x5e7f17(0xd3),'children':[_0x3a9243(_0x5e7f17(0x138),{'children':'🔗'}),'\x20',_0x2feb02['t']('mcpConfig.connectionInfo')]}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x105),'children':[_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x18b),'children':[_0x3a9243('div',{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x2113a0('div',{'className':_0x5e7f17(0xbf),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x110),'children':_0x2feb02['t'](_0x5e7f17(0xeb))}),_0x3a9243(_0x5e7f17(0x169),{'className':_0x5e7f17(0x144),'children':_0x5be27b[_0x5e7f17(0x114)]})]})]}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x18b),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0xbf),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x110),'children':_0x2feb02['t'](_0x5e7f17(0x1b7))}),_0x3a9243(_0x5e7f17(0x169),{'className':'univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','children':_0x5be27b[_0x5e7f17(0x163)]||'default'})]})]})]})]}),_0x3a9243(_0x21f73d,{'onClick':_0x886ed1,'disabled':!_0x28b410||_0x952699,'className':_0x5e7f17(0x127),'children':_0x952699?_0x2113a0(_0x5e7f17(0x138),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3a9243(_0x5e7f17(0x138),{'children':'⟲'}),_0x2feb02['t'](_0x5e7f17(0xbb))]}):_0x2113a0('span',{'className':_0x5e7f17(0x91),'children':[_0x3a9243(ce,{}),_0x2feb02['t'](_0x5e7f17(0x128))]})}),_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x149),'children':_0x2113a0(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-gap-3','children':[_0x3a9243('span',{'className':_0x5e7f17(0x1bc),'children':'💡'}),_0x2113a0(_0x5e7f17(0x143),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x126),'children':'Configuration\x20Notes:'}),_0x2113a0(_0x5e7f17(0x143),{'children':['•',_0x2feb02['t'](_0x5e7f17(0xbd))]}),_0x2113a0(_0x5e7f17(0x143),{'children':['•',_0x2feb02['t']('mcpConfig.note2')]})]})]})})]})})]});}const U='mcp-ui.config',J={'showDeveloperTools':!0x1};var Je=Object[_0x2a39ed(0x1a0)],Qe=(_0x26c40d,_0x3bd7cd,_0x3dbdff,_0x4034e0)=>{var _0x49252f=_0x2a39ed;for(var _0x45af1c=_0x4034e0>0x1?void 0x0:_0x4034e0?Je(_0x3bd7cd,_0x3dbdff):_0x3bd7cd,_0x43c18c=_0x26c40d[_0x49252f(0x118)]-0x1,_0x3aa525;_0x43c18c>=0x0;_0x43c18c--)(_0x3aa525=_0x26c40d[_0x43c18c])&&(_0x45af1c=_0x3aa525(_0x45af1c)||_0x45af1c);return _0x45af1c;},p=(_0x49fe99,_0x5ece28)=>(_0x18e44f,_0x58d384)=>_0x5ece28(_0x18e44f,_0x58d384,_0x49fe99);function _0x32ce(){var _0x39801f=['Connection\x20Information','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','NONE','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','round','tag','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','会话当前被占用,请稍后再试','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','\x20-\x20','univer.ai','配置保存成功','entries','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-space-y-5','removeItem','2854338gvlNhb','_injector','clipPath','8hDKmGz','mcpConfig.connectionStatus.connecting','next','_dialogService','univer-flex\x20univer-items-start\x20univer-gap-3','0\x200\x2017\x2016','univer-text-yellow-500','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','您的\x20API\x20密钥安全存储在本地存储中','univer-text-blue-600','M0\x200H16V16H0z','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','MenuIcon','defIds','启用身份验证','M5.21243\x205.62036L11.8791\x2012.287','143XIuguE','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','_blank','您的\x20API\x20密钥将在此浏览器中本地存储','add','mcpConfig.validation.apiKeyTooShort','MCP\x20Connection\x20Failed','_uiPartsService','MCP\x20配置','getOwnPropertyDescriptor','current','_initConfigSync','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcpConfig.apiApplyInfo.univerAiLabel','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','onStarting','保存配置','univer-text-gray-400','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','substring','Enable\x20Authentication','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','mask','mcpConfig.configError','univer-text-green-500','连接中...','_registerComponent','mcpStatus.networkError','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','close-small-single','call','mcpConfig.sessionId','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','colorChannel1','MCP:\x20Network\x20Error','univer-flex\x20univer-items-center\x20univer-gap-3','univer-flex-shrink-0\x20univer-text-blue-500','mcpConfig.connectionError.missingApiKey','xlink:href','API\x20key\x20is\x20required\x20to\x20connect','white','_validateConfig','prototype','univer-flex-1','idSuffix','univer-flex\x20univer-cursor-pointer\x20univer-items-center','Get\x20your\x20API\x20key\x20in\x20seconds','0\x200\x2017\x2017','setItem','univer-flex\x20univer-items-start\x20univer-gap-2','MCP:\x20无效的\x20API\x20密钥','MCP_UI_PLUGIN','点击配置\x20MCP','hasOwnProperty','univer-text-white','最大重试次数','What\x20is\x20API\x20Key?','off','Click\x20to\x20configure\x20MCP','MCP:\x20会话被占用','includes','_handleConfigure','OTHERS','配置更改将立即生效','showConfigPanel','Univer\x20AI\x20Console','univer-text-xs\x20univer-text-gray-500','7186jRaGRr','evenodd','mcpConfig.connectionStatus.failed','_localeService','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','mcpStatus.clickToConfigure','close','apiKey','univer-flex\x20univer-items-center\x20univer-gap-2','javascript:void(0)','重连中...','未连接','_componentManager','univer-bg-red-500','Configuration\x20saved\x20successfully','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Invalid\x20configuration','mcpConfig.configSaved','配置\x20MCP\x20使用\x20AI\x20操作电子表格','http://www.w3.org/2000/svg','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','M5.21243\x2012.287L11.8791\x205.62036','defs','pluginName','1306810fCJEsO','_messageService','off-line-icon','_menuManagerService','1651530iBlAld','_connectionController','MCP\x20重连中...','registerCommand','error','className','BUTTON','getItem','text','univer.plus','mcpConfig.apiKeyHint','MCP:\x20Session\x20Occupied','_initializeCommands','fill','1em','on-line-icon_clip0_910_349','mcpStatus.invalidApiKey','off-line-icon_clip0_910_343','toString','replace','连接失败','connectionStatus$','mcpConfig.saving','MCP\x20连接中...','mcpConfig.note1','MCP:\x20网络错误','univer-min-w-0\x20univer-flex-1','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','icon','44WyqpUm','HEADER_MENU','MCP\x20连接失败','API\x20密钥无效,请检查密钥是否正确','mcpStatus.missingApiKey','children','isValid','errorMessage','defineProperty','什么是\x20API\x20密钥?','MISSING_API_KEY','trim','mcpConfig.apiApplyInfo.description','DISCONNECTED','CONNECTING','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','propertyIsEnumerable','RETRYING','API\x20密钥','bottom','_loadStoredApiKey','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.apiApplyInfo.title','MCP\x20Unknown\x20Status','API\x20密钥长度至少需要\x2010\x20位','attrs','MCP:\x20API\x20Key\x20Missing','服务器端点','string','MCP\x20Retrying...','mcpConfig.connectionStatus.connected','\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','Session\x20ID','\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','网络连接错误,请检查您的网络连接','_localStorageService','mcpConfig.connectionStatus.retrying','setConfig','open','mcpConfig.serverEndpoint','_logService','univer-space-y-2','showDeveloperTools','Retrying...','2820393AxXntk','apply','mcpConfig.apiKeyPlaceholder','_config$','193345oQCLMl','CONNECTED','_commandService','_configService','value','SESSION_ID_OCCUPIED','Error','MCP\x20已断开','url(#off-line-icon_clip0_910_343)','0\x200\x2016\x2016','mcpConfig.connectionStatus.disconnected','univer-flex-shrink-0\x20univer-text-red-500','OffLineIcon','Close','show','mcpStatus.retrying','Save\x20Configuration','univer-space-y-3','mcpConfig.connectionError.networkError','displayName','Enter\x20your\x20API\x20key','univer-text-red-500','OnLineIcon','_handleConfigSave','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','check-mark-icon','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','2664130NISmtW','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.description','Disconnected','forEach','mcpServerUrl','mcpConfig.title','MCP:\x20Invalid\x20API\x20Key','assign','length','_createConfigPanelComponent','currentColor','univer-text-sm\x20univer-font-medium','FAILED','几秒钟内获取您的\x20API\x20密钥','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','保存中...','use','map','mcp-ui.command.openConfigPanel','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mcpStatus.connected','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-font-medium','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','mcpConfig.save','MCPConfigPanel','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','disposeWithMe','Failed\x20to\x20save\x20configuration','https://console.univer.plus','indexOf','mcpConfig.apiKey','mcpConfig.connectionError.invalidApiKey','mcpConfig.connectionError.sessionOccupied','mcpConfig.validation.apiKeyRequired','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','Connected','getCurrentConfig','label','span','Server\x20Endpoint','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-bg-green-500','MCP\x20Configuration','NETWORK_ERROR','_mcpCoreConfig$','_initStatusComponent','\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','on-line-icon','div','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpStatus.clickToConnect','mcp.apiKey','131yEcntJ','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','需要\x20API\x20密钥才能连接','MCP\x20已连接','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_mcpConnectionController','svg','none','mcpStatus.unknown','getOwnPropertySymbols','mergeMenu','univer-text-gray-500','path','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','hover:univer-opacity-80','getConfig','_initializeMenus','UniverIcon','extend','配置保存失败','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','connectionError$','mcpConfig.validation.invalidApiKey','请输入您的\x20API\x20密钥','concat','get','univer-text-sm\x20univer-text-gray-500','sessionId','mcpStatus.disconnected','function','HelpSingle','INVALID_API_KEY','_config','code','API\x20Key','url(#$1','subscribe','_loading$','url(#on-line-icon_clip0_910_349)','validateApiKey','MAX_RETRIES_EXCEEDED','univer-mr-2\x20univer-flex\x20univer-text-xl','subscribeConfigValue$','mcpStatus.connecting'];_0x32ce=function(){return _0x39801f;};return _0x32ce();}const R=_0x2a39ed(0x147),j='mcp-config-dialog';let _=class extends _0x888610{constructor(_0x254d48,_0x48ab71,_0x483e63,_0x453e49,_0x185f28,_0x465c53,_0x3c4547,_0x1cefca,_0xa58d9c,_0x2d0bd3){var _0x2bf7db=_0x2a39ed;super(),N(this,_0x2bf7db(0x16d),new _0x312b71(!0x1)),N(this,_0x2bf7db(0x13f),new _0x312b71({})),N(this,_0x2bf7db(0xf3),new _0x312b71({})),N(this,_0x2bf7db(0x10b),async _0x537795=>{var _0x30b931=_0x2bf7db;this[_0x30b931(0x16d)][_0x30b931(0x189)](!0x0);try{const _0x5ef49c=await this[_0x30b931(0x1c1)](_0x537795);if(!_0x5ef49c[_0x30b931(0xc9)]){this[_0x30b931(0xa2)][_0x30b931(0x102)]({'type':_0x53680e['Error'],'content':_0x5ef49c[_0x30b931(0xca)]||this[_0x30b931(0x8c)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x537795[_0x30b931(0x90)]?await this[_0x30b931(0xe7)][_0x30b931(0x76)](R,_0x537795['apiKey'][_0x30b931(0xce)]()):await this['_localStorageService'][_0x30b931(0x183)](R),this[_0x30b931(0xf7)][_0x30b931(0xe9)](_0x59a440,{..._0x537795,'apiKey':_0x537795[_0x30b931(0x90)]['trim']()}),this[_0x30b931(0x13f)][_0x30b931(0x189)]({..._0x537795,'apiKey':_0x537795['apiKey']['trim']()}),this[_0x30b931(0xa2)]['show']({'type':_0x53680e['Success'],'content':this['_localeService']['t'](_0x30b931(0x9a))}),setTimeout(()=>{var _0xc921ee=_0x30b931;this['_dialogService'][_0xc921ee(0x8f)](j);},0x320);}catch(_0x32b520){this[_0x30b931(0xec)][_0x30b931(0xa9)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x32b520),this[_0x30b931(0xa2)][_0x30b931(0x102)]({'type':_0x53680e[_0x30b931(0xfa)],'content':this[_0x30b931(0x8c)]['t'](_0x30b931(0x1af))});}finally{this[_0x30b931(0x16d)][_0x30b931(0x189)](!0x1);}}),(this['_injector']=_0x254d48,this[_0x2bf7db(0x19e)]=_0x48ab71,this[_0x2bf7db(0xf7)]=_0x483e63,this[_0x2bf7db(0xe7)]=_0x453e49,this[_0x2bf7db(0x18a)]=_0x185f28,this[_0x2bf7db(0xa2)]=_0x465c53,this[_0x2bf7db(0x95)]=_0x3c4547,this['_localeService']=_0x1cefca,this[_0x2bf7db(0xec)]=_0xa58d9c,this[_0x2bf7db(0x14d)]=_0x2d0bd3,this[_0x2bf7db(0x1a2)](),this['_loadStoredApiKey'](),this[_0x2bf7db(0x1b2)]());}[_0x2a39ed(0x86)](){var _0x122cf1=_0x2a39ed;this['_dialogService'][_0x122cf1(0xea)]({'id':j,'title':{'title':this['_localeService']['t'](_0x122cf1(0x115))},'children':{'label':_0x122cf1(0x129)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x48bcc9=_0x122cf1;this[_0x48bcc9(0x18a)][_0x48bcc9(0x8f)](j);}});}[_0x2a39ed(0x136)](){var _0x118ea8=_0x2a39ed;return this[_0x118ea8(0x13f)][_0x118ea8(0xf8)];}['_registerComponent'](){var _0x33698b=_0x2a39ed;this[_0x33698b(0x12b)](this[_0x33698b(0x95)]['register'](_0x33698b(0x129),this['_createConfigPanelComponent']()));}[_0x2a39ed(0x119)](){var _0x5846b6=_0x2a39ed;return _0x27bd0d(()=>{var _0xd8b7de=_0x3af1,_0x5f1a06,_0x3208c8;return _0x3a9243(Xe,{'config':this[_0xd8b7de(0xf3)][_0xd8b7de(0xf8)],'mcpCoreConfig':this[_0xd8b7de(0x13f)]['value'],'onSave':this[_0xd8b7de(0x10b)],'loading':this['_loading$'][_0xd8b7de(0xf8)],'connectionStatus$':(_0x5f1a06=this['_mcpConnectionController'])==null?void 0x0:_0x5f1a06[_0xd8b7de(0xba)],'connectionError$':(_0x3208c8=this[_0xd8b7de(0x14d)])==null?void 0x0:_0x3208c8[_0xd8b7de(0x15d)]});},this[_0x5846b6(0x185)]);}['_initConfigSync'](){var _0x444108=_0x2a39ed;this[_0x444108(0x12b)](this['_configService'][_0x444108(0x172)](_0x59a440)[_0x444108(0x16c)](_0x5b572a=>{var _0x20cc9f=_0x444108;this['_mcpCoreConfig$'][_0x20cc9f(0x189)](_0x5b572a||{});}));const _0x47dc9a=this[_0x444108(0xf7)][_0x444108(0x157)](_0x59a440);this['_mcpCoreConfig$']['next'](_0x47dc9a||{}),this[_0x444108(0x12b)](this['_configService']['subscribeConfigValue$'](U)[_0x444108(0x16c)](_0x19182d=>{var _0x1d61ed=_0x444108;this['_config$'][_0x1d61ed(0x189)](_0x19182d||{});}));const _0x262eb5=this[_0x444108(0xf7)][_0x444108(0x157)](U);this[_0x444108(0xf3)][_0x444108(0x189)](_0x262eb5||{});}async[_0x2a39ed(0xd8)](){var _0x245ea2=_0x2a39ed;const _0x816f7f=await this[_0x245ea2(0xe7)][_0x245ea2(0xac)](R);if(_0x816f7f){const _0x24dd03={...this[_0x245ea2(0x13f)][_0x245ea2(0xf8)],'apiKey':_0x816f7f};this[_0x245ea2(0xf7)][_0x245ea2(0xe9)](_0x59a440,_0x24dd03),this['_mcpCoreConfig$']['next'](_0x24dd03);}}async[_0x2a39ed(0x1c1)](_0x19a95c){var _0x4a5e53=_0x2a39ed;if(!_0x19a95c[_0x4a5e53(0x90)]||_0x19a95c[_0x4a5e53(0x90)]['trim']()[_0x4a5e53(0x118)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x4a5e53(0x132))};if(_0x19a95c[_0x4a5e53(0x90)][_0x4a5e53(0xce)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4a5e53(0x8c)]['t'](_0x4a5e53(0x19c))};try{const _0x1e709e=await this['_injector'][_0x4a5e53(0x161)](_0x4601ab)[_0x4a5e53(0x16f)](_0x19a95c[_0x4a5e53(0x90)][_0x4a5e53(0xce)]());return _0x1e709e[_0x4a5e53(0xc9)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1e709e[_0x4a5e53(0xa9)]||this['_localeService']['t'](_0x4a5e53(0x15e))};}catch(_0x3dbb03){return console['warn'](_0x4a5e53(0x155),_0x3dbb03),{'isValid':!0x0};}}};_=Qe([p(0x0,_0x54fe84(_0x251fc2)),p(0x1,_0x4c0dea),p(0x2,_0x2853c3),p(0x3,_0x122f1b),p(0x4,_0x543447),p(0x5,_0x54f0a6),p(0x6,_0x54fe84(_0xab8ce1)),p(0x7,_0x54fe84(_0x1457f3)),p(0x8,_0x49dda7),p(0x9,_0x54fe84(_0x4601ab))],_);const W={'id':_0x2a39ed(0x122),'type':_0x215a19['COMMAND'],'handler':async(_0x38c80d,_0x48eb1b)=>(_0x38c80d[_0x2a39ed(0x161)](_)[_0x2a39ed(0x86)](),!0x0)};function ve(_0x1b703e,_0x48908f){var _0x3f08ca=_0x2a39ed;switch(_0x1b703e){case _0x465257[_0x3f08ca(0xd0)]:return _0x48908f===_0x331fcf[_0x3f08ca(0xcd)]?_0x3f08ca(0xc7):_0x3f08ca(0x164);case _0x465257[_0x3f08ca(0xd1)]:return _0x3f08ca(0x173);case _0x465257[_0x3f08ca(0xf5)]:return _0x3f08ca(0x124);case _0x465257[_0x3f08ca(0x11c)]:switch(_0x48908f){case _0x331fcf[_0x3f08ca(0x167)]:return _0x3f08ca(0xb5);case _0x331fcf[_0x3f08ca(0xf9)]:return'mcpStatus.sessionOccupied';case _0x331fcf[_0x3f08ca(0x13e)]:return _0x3f08ca(0x1b3);case _0x331fcf[_0x3f08ca(0x170)]:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case _0x465257[_0x3f08ca(0xd5)]:return _0x3f08ca(0x103);default:return _0x3f08ca(0x150);}}function en(_0x3e3161,_0x3c90d6,_0x5082ea){var _0x3c5f73=_0x2a39ed;const _0x5b2305=ve(_0x3e3161,_0x3c90d6),_0x1aab08=_0x5082ea['t'](_0x5b2305);return _0x3e3161===_0x465257[_0x3c5f73(0xd0)]&&_0x3c90d6===_0x331fcf['MISSING_API_KEY']?_0x1aab08+_0x3c5f73(0x17d)+_0x5082ea['t'](_0x3c5f73(0x8e)):_0x3e3161===_0x465257[_0x3c5f73(0xf5)]?''+_0x1aab08:_0x3e3161===_0x465257[_0x3c5f73(0xd0)]||_0x3e3161===_0x465257[_0x3c5f73(0x11c)]?_0x1aab08+_0x3c5f73(0x17d)+_0x5082ea['t'](_0x3c5f73(0x146)):_0x1aab08;}function nn(_0x50df42){var _0xeff6c4=_0x2a39ed;switch(_0x50df42){case _0x465257[_0xeff6c4(0xf5)]:return _0xeff6c4(0x1b0);case _0x465257[_0xeff6c4(0xd1)]:case _0x465257['RETRYING']:return _0xeff6c4(0x18d);case _0x465257[_0xeff6c4(0x11c)]:case _0x465257[_0xeff6c4(0xd0)]:return _0xeff6c4(0x109);default:return _0xeff6c4(0x153);}}function rn(_0xd7c2db){var _0x5eecd6=_0x2a39ed;const {status$:_0x4921fb,error$:_0x1d66a4,onConfigure:_0x4e85e4}=_0xd7c2db,_0x142a2c=_0xb9f560(_0x4921fb,_0x465257['DISCONNECTED']),_0x44b19e=_0xb9f560(_0x1d66a4,_0x331fcf[_0x5eecd6(0x176)]),_0x33c7b0=_0x527b81(_0x1457f3),_0x965268=_0x142a2c===_0x465257['CONNECTED'],_0x21a5d8=_0x142a2c===_0x465257[_0x5eecd6(0xd1)]||_0x142a2c===_0x465257[_0x5eecd6(0xd5)],_0x15122f=_0x33c7b0['t'](ve(_0x142a2c,_0x44b19e)),_0xb379cf=en(_0x142a2c,_0x44b19e,_0x33c7b0),_0x180260=nn(_0x142a2c),_0x374c0a=_0x965268?_0x3a9243(ue,{}):_0x3a9243(le,{}),_0x472c69=_0x51bcbf(()=>{_0x4e85e4&&_0x4e85e4();},[_0x965268,_0x21a5d8,_0x4e85e4]);function _0x1b23b7(){var _0x2ea77e=_0x5eecd6;return _0x2113a0('div',{'className':_0x45baf8(_0x2ea77e(0x73),_0x4e85e4&&_0x2ea77e(0x156)),'onClick':_0x4e85e4?_0x472c69:void 0x0,'children':[_0x3a9243(_0x2ea77e(0x143),{'className':_0x45baf8(_0x2ea77e(0x171),_0x180260),'children':_0x374c0a}),_0x3a9243(_0x2ea77e(0x143),{'className':_0x2ea77e(0x145),'children':_0x15122f})]});}return _0x3a9243(_0x393e3d,{'title':_0xb379cf,'placement':_0x5eecd6(0xd7),'children':_0x1b23b7()});}var tn=Object['getOwnPropertyDescriptor'],on=(_0x162a7d,_0x525fe9,_0x2f698f,_0x282111)=>{for(var _0x5c345c=_0x282111>0x1?void 0x0:_0x282111?tn(_0x525fe9,_0x2f698f):_0x525fe9,_0x2cff3a=_0x162a7d['length']-0x1,_0x16daea;_0x2cff3a>=0x0;_0x2cff3a--)(_0x16daea=_0x162a7d[_0x2cff3a])&&(_0x5c345c=_0x16daea(_0x5c345c)||_0x5c345c);return _0x5c345c;},L=(_0xb0b1a1,_0x415640)=>(_0x3916aa,_0x4c7e99)=>_0x415640(_0x3916aa,_0x4c7e99,_0xb0b1a1);let O=class extends _0x888610{constructor(_0x1799eb,_0x5e3fe3,_0x3f0171){var _0x3736a3=_0x2a39ed;super(),this[_0x3736a3(0x185)]=_0x1799eb,this['_connectionController']=_0x5e3fe3,this[_0x3736a3(0x19e)]=_0x3f0171,this[_0x3736a3(0x140)]();}[_0x2a39ed(0x140)](){var _0x580253=_0x2a39ed;this[_0x580253(0x12b)](this['_uiPartsService']['registerComponent'](_0x25f665[_0x580253(0xc4)],()=>_0x27bd0d(cn({'status$':this['_connectionController']['connectionStatus$'],'error$':this[_0x580253(0xa6)][_0x580253(0x15d)],'onConfigure':()=>this['_handleConfigure']()}),this[_0x580253(0x185)])));}[_0x2a39ed(0x83)](){var _0x3c350b=_0x2a39ed;this[_0x3c350b(0x185)][_0x3c350b(0x161)](_)[_0x3c350b(0x86)]();}};O=on([L(0x0,_0x54fe84(_0x251fc2)),L(0x1,_0x54fe84(_0x4601ab)),L(0x2,_0x4c0dea)],O);function cn(_0x394baf){const {status$:_0x1a25e6,error$:_0x2d3b29,onConfigure:_0x4569d1}=_0x394baf;return function(){return _0x3a9243(rn,{'status$':_0x1a25e6,'error$':_0x2d3b29,'onConfigure':_0x4569d1});};}function an(_0x1b29ff){var _0x5c9af6=_0x2a39ed;return{'id':W['id'],'type':_0x113af3[_0x5c9af6(0xab)],'icon':_0x5c9af6(0x193),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}const sn={[_0x38e781[_0x2a39ed(0x84)]]:{[W['id']]:{'order':0xa,'menuItemFactory':an}}};var ln=Object[_0x2a39ed(0x1a0)],un=(_0x130a7e,_0x4f420e,_0x5cadbd,_0x93ea7c)=>{var _0x3a6f00=_0x2a39ed;for(var _0x31cc1e=_0x93ea7c>0x1?void 0x0:_0x93ea7c?ln(_0x4f420e,_0x5cadbd):_0x4f420e,_0x443148=_0x130a7e[_0x3a6f00(0x118)]-0x1,_0xdac3f6;_0x443148>=0x0;_0x443148--)(_0xdac3f6=_0x130a7e[_0x443148])&&(_0x31cc1e=_0xdac3f6(_0x31cc1e)||_0x31cc1e);return _0x31cc1e;},Q=(_0x574569,_0x4639b9)=>(_0xb276da,_0x578503)=>_0x4639b9(_0xb276da,_0x578503,_0x574569);let k=class extends _0x888610{constructor(_0x4ec491,_0x4b1b5f){var _0x34a0d0=_0x2a39ed;super(),this[_0x34a0d0(0xf6)]=_0x4ec491,this[_0x34a0d0(0xa4)]=_0x4b1b5f,this[_0x34a0d0(0xb1)](),this['_initializeMenus']();}['_initializeCommands'](){var _0x10805f=_0x2a39ed;[W][_0x10805f(0x113)](_0x5e0791=>{var _0x10260c=_0x10805f;this['disposeWithMe'](this[_0x10260c(0xf6)][_0x10260c(0xa8)](_0x5e0791));});}[_0x2a39ed(0x158)](){var _0x30c58b=_0x2a39ed;this['_menuManagerService'][_0x30c58b(0x152)](sn);}};k=un([Q(0x0,_0x5f404e),Q(0x1,_0x3f1668)],k);const Nn={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x2a39ed(0x19d),'retrying':_0x2a39ed(0xe1),'unknown':_0x2a39ed(0xdb),'missingApiKey':_0x2a39ed(0xde),'invalidApiKey':_0x2a39ed(0x116),'sessionOccupied':_0x2a39ed(0xb0),'networkError':_0x2a39ed(0x1ba),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2a39ed(0x80)},'mcpConfig':{'title':_0x2a39ed(0x13d),'description':_0x2a39ed(0x133),'apiKey':_0x2a39ed(0x16a),'apiKeyPlaceholder':_0x2a39ed(0x108),'apiKeyHint':_0x2a39ed(0x1aa),'enableAuth':_0x2a39ed(0x1ac),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x2a39ed(0x174),'serverEndpoint':_0x2a39ed(0x139),'sessionId':_0x2a39ed(0xe4),'maxRetries':'Max\x20Retries','save':_0x2a39ed(0x104),'saving':'Saving...','note1':_0x2a39ed(0x10c),'note2':_0x2a39ed(0x1b4),'configSaved':_0x2a39ed(0x97),'configError':_0x2a39ed(0x12c),'apiApplyInfo':{'title':_0x2a39ed(0x7e),'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':_0x2a39ed(0x87),'getStarted':_0x2a39ed(0x74)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2a39ed(0x11e),'invalidConfig':_0x2a39ed(0x99),'invalidApiKey':_0x2a39ed(0x1a3)},'connectionStatus':{'disconnected':_0x2a39ed(0x112),'connecting':'Connecting...','connected':_0x2a39ed(0x135),'failed':_0x2a39ed(0x134),'retrying':_0x2a39ed(0xef)},'connectionError':{'missingApiKey':_0x2a39ed(0x1bf),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x2a39ed(0xd2),'networkError':_0x2a39ed(0x13b),'maxRetriesExceeded':_0x2a39ed(0x13a)}}},Pn={'mcpStatus':{'disconnected':_0x2a39ed(0xfb),'connecting':_0x2a39ed(0xbc),'connected':_0x2a39ed(0x14b),'failed':_0x2a39ed(0xc5),'retrying':_0x2a39ed(0xa7),'unknown':'MCP\x20状态未知','missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x2a39ed(0x78),'sessionOccupied':_0x2a39ed(0x81),'networkError':_0x2a39ed(0xbe),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x2a39ed(0x7a)},'mcpConfig':{'title':_0x2a39ed(0x19f),'description':_0x2a39ed(0x9b),'apiKey':_0x2a39ed(0xd6),'apiKeyPlaceholder':_0x2a39ed(0x15f),'apiKeyHint':_0x2a39ed(0x19a),'enableAuth':_0x2a39ed(0x195),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'连接信息','serverEndpoint':_0x2a39ed(0xdf),'sessionId':'会话ID','maxRetries':_0x2a39ed(0x7d),'save':_0x2a39ed(0x1a7),'saving':_0x2a39ed(0x11f),'note1':_0x2a39ed(0x85),'note2':_0x2a39ed(0x18f),'configSaved':_0x2a39ed(0x17f),'configError':_0x2a39ed(0x15b),'apiApplyInfo':{'title':_0x2a39ed(0xcc),'description':_0x2a39ed(0x1a9),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x2a39ed(0x11d)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x2a39ed(0xdc),'invalidConfig':'配置无效','invalidApiKey':_0x2a39ed(0xc6)},'connectionStatus':{'disconnected':_0x2a39ed(0x94),'connecting':_0x2a39ed(0x1b1),'connected':'已连接','failed':_0x2a39ed(0xb9),'retrying':_0x2a39ed(0x93)},'connectionError':{'missingApiKey':_0x2a39ed(0x14a),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x2a39ed(0x17b),'networkError':_0x2a39ed(0xe6),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var vn=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],gn=(_0xdf7aa3,_0x201a65,_0x1baa8d)=>_0x201a65 in _0xdf7aa3?vn(_0xdf7aa3,_0x201a65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1baa8d}):_0xdf7aa3[_0x201a65]=_0x1baa8d,fn=(_0x479e7d,_0x483b34,_0x2a2fd0,_0x1ed54b)=>{var _0xd1600a=_0x2a39ed;for(var _0x435519=_0x1ed54b>0x1?void 0x0:_0x1ed54b?dn(_0x483b34,_0x2a2fd0):_0x483b34,_0x148778=_0x479e7d[_0xd1600a(0x118)]-0x1,_0x6612ab;_0x148778>=0x0;_0x148778--)(_0x6612ab=_0x479e7d[_0x148778])&&(_0x435519=_0x6612ab(_0x435519)||_0x435519);return _0x435519;},P=(_0x500f55,_0x4d5963)=>(_0x3bf859,_0x2e6b5f)=>_0x4d5963(_0x3bf859,_0x2e6b5f,_0x500f55),pn=(_0x59aeff,_0x29d7d3,_0x1d08be)=>gn(_0x59aeff,_0x29d7d3+'',_0x1d08be);let G=class extends _0x1813e7{constructor(_0x4512b9=J,_0x413857,_0x3293f6,_0x39064d,_0x8bc3a3,_0x2ffc1a){var _0xb0fa35=_0x2a39ed;super(),this[_0xb0fa35(0x168)]=_0x4512b9,this[_0xb0fa35(0x185)]=_0x413857,this['_configService']=_0x3293f6,this[_0xb0fa35(0x19e)]=_0x39064d,this['_localStorageService']=_0x8bc3a3,this[_0xb0fa35(0x8c)]=_0x2ffc1a;const {..._0x4e70d2}=_0x2246be({},J,this[_0xb0fa35(0x168)]);this['_configService'][_0xb0fa35(0xe9)](U,_0x4e70d2);}async[_0x2a39ed(0x1a6)](){var _0x4b1be2=_0x2a39ed;[[O],[_],[k]][_0x4b1be2(0x113)](_0x2e2b02=>this['_injector'][_0x4b1be2(0x19b)](_0x2e2b02)),this['_injector'][_0x4b1be2(0x161)](O),this['_injector']['get'](_),this[_0x4b1be2(0x185)][_0x4b1be2(0x161)](k);}};pn(G,_0x2a39ed(0xa0),_0x2a39ed(0x79)),G=fn([_0x4726b7(_0x1cef3b),P(0x1,_0x54fe84(_0x251fc2)),P(0x2,_0x2853c3),P(0x3,_0x4c0dea),P(0x4,_0x122f1b),P(0x5,_0x54fe84(_0x1457f3))],G);export{Xe as MCPConfigPanel,_ as MCPConfigUIController,O as MCPConnectionUIController,rn as MCPStatusDisplay,k as MCPUIMenuController,W as OpenMCPConfigPanelCommand,G as UniverMCPUIPlugin,Nn as enUS,Pn as zhCN};
@@ -1 +1 @@
1
- const _0x2bcf5d=_0x4ca6;(function(_0x470df2,_0xb076f){const _0x311db4=_0x4ca6,_0x38f5a1=_0x470df2();while(!![]){try{const _0x34b74f=-parseInt(_0x311db4(0x173))/0x1*(parseInt(_0x311db4(0x186))/0x2)+parseInt(_0x311db4(0x188))/0x3*(-parseInt(_0x311db4(0x167))/0x4)+parseInt(_0x311db4(0x15a))/0x5*(parseInt(_0x311db4(0x178))/0x6)+-parseInt(_0x311db4(0x17d))/0x7*(-parseInt(_0x311db4(0x17e))/0x8)+parseInt(_0x311db4(0x180))/0x9*(parseInt(_0x311db4(0x15b))/0xa)+parseInt(_0x311db4(0x172))/0xb+-parseInt(_0x311db4(0x16b))/0xc*(parseInt(_0x311db4(0x169))/0xd);if(_0x34b74f===_0xb076f)break;else _0x38f5a1['push'](_0x38f5a1['shift']());}catch(_0x331cca){_0x38f5a1['push'](_0x38f5a1['shift']());}}}(_0x95c9,0xa05da));function _0x4ca6(_0x253341,_0x304f77){const _0x95c99=_0x95c9();return _0x4ca6=function(_0x4ca6aa,_0x2ef85b){_0x4ca6aa=_0x4ca6aa-0x15a;let _0x4d1963=_0x95c99[_0x4ca6aa];return _0x4d1963;},_0x4ca6(_0x253341,_0x304f77);}const e={'mcpStatus':{'disconnected':_0x2bcf5d(0x17f),'connecting':_0x2bcf5d(0x15e),'connected':_0x2bcf5d(0x166),'failed':_0x2bcf5d(0x17a),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x2bcf5d(0x183),'sessionOccupied':_0x2bcf5d(0x16e),'networkError':_0x2bcf5d(0x164),'maxRetriesExceeded':_0x2bcf5d(0x16a),'clickToConnect':_0x2bcf5d(0x171),'clickToConfigure':_0x2bcf5d(0x177)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2bcf5d(0x161),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2bcf5d(0x182),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x2bcf5d(0x174),'sessionId':_0x2bcf5d(0x181),'maxRetries':_0x2bcf5d(0x168),'save':'Save\x20Configuration','saving':_0x2bcf5d(0x187),'note1':_0x2bcf5d(0x160),'note2':_0x2bcf5d(0x15c),'configSaved':_0x2bcf5d(0x185),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2bcf5d(0x163),'description':_0x2bcf5d(0x179),'univerAiLabel':_0x2bcf5d(0x16c),'getStarted':_0x2bcf5d(0x17c)},'validation':{'apiKeyRequired':_0x2bcf5d(0x15f),'apiKeyTooShort':_0x2bcf5d(0x170),'invalidConfig':_0x2bcf5d(0x16f),'invalidApiKey':_0x2bcf5d(0x165)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2bcf5d(0x184),'connected':_0x2bcf5d(0x15d),'failed':_0x2bcf5d(0x176),'retrying':_0x2bcf5d(0x17b)},'connectionError':{'missingApiKey':_0x2bcf5d(0x162),'invalidApiKey':_0x2bcf5d(0x16d),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2bcf5d(0x175)}}},n=e;export{n as default};function _0x95c9(){const _0x708338=['Invalid\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20connect\x20MCP','7965749EcUUNP','709aMdofX','Server\x20Endpoint','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','Click\x20to\x20configure\x20MCP','228FdVQCw','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\x20Connection\x20Failed','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','7NZShaT','10423664vVJMkp','MCP\x20Disconnected','117FtZrra','Session\x20ID','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Invalid\x20API\x20Key','Connecting...','Configuration\x20saved\x20successfully','1126lWeaAV','Saving...','15699ELxzPr','75345Kpekwx','933830gHdClJ','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connected','MCP\x20Connecting...','API\x20key\x20is\x20required','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','API\x20key\x20is\x20required\x20to\x20connect','What\x20is\x20API\x20Key?','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','84cWCIYQ','Max\x20Retries','312RHAKol','MCP:\x20Max\x20Retries\x20Exceeded','1323900mKMKgx','Univer\x20AI\x20Console','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20Session\x20Occupied'];_0x95c9=function(){return _0x708338;};return _0x95c9();}
1
+ function _0x1704(_0x204b72,_0x2d688a){const _0x3adf84=_0x3adf();return _0x1704=function(_0x1704ad,_0xc49438){_0x1704ad=_0x1704ad-0x11c;let _0x420ed9=_0x3adf84[_0x1704ad];return _0x420ed9;},_0x1704(_0x204b72,_0x2d688a);}const _0x39a21b=_0x1704;(function(_0x4fb602,_0x52edc7){const _0x452ea7=_0x1704,_0x5b5322=_0x4fb602();while(!![]){try{const _0x35d789=-parseInt(_0x452ea7(0x124))/0x1*(-parseInt(_0x452ea7(0x11d))/0x2)+parseInt(_0x452ea7(0x142))/0x3*(parseInt(_0x452ea7(0x13e))/0x4)+-parseInt(_0x452ea7(0x141))/0x5*(parseInt(_0x452ea7(0x130))/0x6)+-parseInt(_0x452ea7(0x125))/0x7*(-parseInt(_0x452ea7(0x120))/0x8)+parseInt(_0x452ea7(0x11f))/0x9+parseInt(_0x452ea7(0x122))/0xa+-parseInt(_0x452ea7(0x14a))/0xb*(parseInt(_0x452ea7(0x126))/0xc);if(_0x35d789===_0x52edc7)break;else _0x5b5322['push'](_0x5b5322['shift']());}catch(_0x3af848){_0x5b5322['push'](_0x5b5322['shift']());}}}(_0x3adf,0x6684e));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x39a21b(0x145),'connected':_0x39a21b(0x12a),'failed':'MCP\x20Connection\x20Failed','retrying':_0x39a21b(0x132),'unknown':_0x39a21b(0x12e),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x39a21b(0x134),'sessionOccupied':_0x39a21b(0x12f),'networkError':_0x39a21b(0x133),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x39a21b(0x11c),'clickToConfigure':_0x39a21b(0x12d)},'mcpConfig':{'title':_0x39a21b(0x13c),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x39a21b(0x138),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x39a21b(0x121),'enableAuth':_0x39a21b(0x149),'enableAuthHint':_0x39a21b(0x13d),'connectionInfo':_0x39a21b(0x143),'serverEndpoint':_0x39a21b(0x13f),'sessionId':_0x39a21b(0x140),'maxRetries':_0x39a21b(0x144),'save':'Save\x20Configuration','saving':_0x39a21b(0x146),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x39a21b(0x11e),'configError':_0x39a21b(0x127),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x39a21b(0x147),'univerAiLabel':_0x39a21b(0x13b),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x39a21b(0x128),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x39a21b(0x131),'invalidApiKey':_0x39a21b(0x148)},'connectionStatus':{'disconnected':_0x39a21b(0x137),'connecting':_0x39a21b(0x123),'connected':'Connected','failed':_0x39a21b(0x13a),'retrying':_0x39a21b(0x12b)},'connectionError':{'missingApiKey':_0x39a21b(0x136),'invalidApiKey':_0x39a21b(0x12c),'sessionOccupied':_0x39a21b(0x135),'networkError':_0x39a21b(0x139),'maxRetriesExceeded':_0x39a21b(0x129)}}},n=e;export{n as default};function _0x3adf(){const _0x501029=['Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required\x20to\x20connect','Disconnected','API\x20Key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connection\x20Failed','Univer\x20AI\x20Console','MCP\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','834468SwJWAw','Server\x20Endpoint','Session\x20ID','85kNRPue','6yjqTLY','Connection\x20Information','Max\x20Retries','MCP\x20Connecting...','Saving...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','121SakjCv','Click\x20to\x20connect\x20MCP','1112EasnBj','Configuration\x20saved\x20successfully','146259tZPjOM','100000oSDbLr','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3908540AMlwUb','Connecting...','503lzyDri','203xnmgCW','713352kNXxKz','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connected','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','MCP:\x20Session\x20Occupied','138594TvXIXD','Invalid\x20configuration','MCP\x20Retrying...','MCP:\x20Network\x20Error','MCP:\x20Invalid\x20API\x20Key'];_0x3adf=function(){return _0x501029;};return _0x3adf();}
@@ -1 +1 @@
1
- function _0x3170(_0x714ffb,_0x9d217e){const _0x3fee46=_0x3fee();return _0x3170=function(_0x3170c8,_0x3c4dda){_0x3170c8=_0x3170c8-0x1cf;let _0x50ebf1=_0x3fee46[_0x3170c8];return _0x50ebf1;},_0x3170(_0x714ffb,_0x9d217e);}const _0xdb6e10=_0x3170;function _0x3fee(){const _0x372100=['Univer\x20AI\x20Console','MCP:\x20API\x20Key\x20Missing','API\x20key\x20is\x20required','MCP:\x20Network\x20Error','7120zuzRqw','376150djsodB','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','What\x20is\x20API\x20Key?','Enable\x20Authentication','MCP\x20Connection\x20Failed','Session\x20ID','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Information','Enter\x20your\x20API\x20key','MCP\x20Configuration','547778tlnMNu','Saving...','Disconnected','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Save\x20Configuration','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','10564KIZvOw','Invalid\x20configuration','Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','33258SBGmfu','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','Server\x20Endpoint','MCP:\x20Session\x20Occupied','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','1378003jpoWyg','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','753440bCAZtd','24yEpFCB','1qPaVoC','MCP\x20Connected','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','2313elEjEf','35raeSTQ','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x3fee=function(){return _0x372100;};return _0x3fee();}(function(_0x3c0f43,_0x2efc48){const _0x4eba1a=_0x3170,_0x5d9498=_0x3c0f43();while(!![]){try{const _0x1e2f1e=-parseInt(_0x4eba1a(0x1e0))/0x1*(parseInt(_0x4eba1a(0x1fe))/0x2)+-parseInt(_0x4eba1a(0x1df))/0x3*(parseInt(_0x4eba1a(0x1d1))/0x4)+parseInt(_0x4eba1a(0x1de))/0x5+parseInt(_0x4eba1a(0x1d5))/0x6*(-parseInt(_0x4eba1a(0x1e5))/0x7)+parseInt(_0x4eba1a(0x1eb))/0x8*(parseInt(_0x4eba1a(0x1e4))/0x9)+-parseInt(_0x4eba1a(0x1ec))/0xa+parseInt(_0x4eba1a(0x1dc))/0xb;if(_0x1e2f1e===_0x2efc48)break;else _0x5d9498['push'](_0x5d9498['shift']());}catch(_0x5b78c5){_0x5d9498['push'](_0x5d9498['shift']());}}}(_0x3fee,0x233d8));const e={'mcpStatus':{'disconnected':_0xdb6e10(0x1f4),'connecting':'MCP\x20Connecting...','connected':_0xdb6e10(0x1e1),'failed':_0xdb6e10(0x1f8),'retrying':'MCP\x20Retrying...','unknown':_0xdb6e10(0x202),'missingApiKey':_0xdb6e10(0x1e8),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0xdb6e10(0x1d9),'networkError':_0xdb6e10(0x1ea),'maxRetriesExceeded':_0xdb6e10(0x1db),'clickToConnect':_0xdb6e10(0x1e2),'clickToConfigure':_0xdb6e10(0x1ed)},'mcpConfig':{'title':_0xdb6e10(0x1fd),'description':_0xdb6e10(0x1dd),'apiKey':_0xdb6e10(0x1f0),'apiKeyPlaceholder':_0xdb6e10(0x1fc),'apiKeyHint':_0xdb6e10(0x1ee),'enableAuth':_0xdb6e10(0x1f7),'enableAuthHint':_0xdb6e10(0x1f5),'connectionInfo':_0xdb6e10(0x1fb),'serverEndpoint':_0xdb6e10(0x1d8),'sessionId':_0xdb6e10(0x1f9),'maxRetries':'Max\x20Retries','save':_0xdb6e10(0x1cf),'saving':_0xdb6e10(0x1ff),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xdb6e10(0x1fa),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xdb6e10(0x1da),'apiApplyInfo':{'title':_0xdb6e10(0x1f6),'description':_0xdb6e10(0x1e6),'univerAiLabel':_0xdb6e10(0x1e7),'getStarted':_0xdb6e10(0x1e3)},'validation':{'apiKeyRequired':_0xdb6e10(0x1e9),'apiKeyTooShort':_0xdb6e10(0x1d4),'invalidConfig':_0xdb6e10(0x1d2),'invalidApiKey':_0xdb6e10(0x1f3)},'connectionStatus':{'disconnected':_0xdb6e10(0x200),'connecting':_0xdb6e10(0x1ef),'connected':_0xdb6e10(0x1d3),'failed':_0xdb6e10(0x1f2),'retrying':_0xdb6e10(0x1d7)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0xdb6e10(0x1d0),'sessionOccupied':_0xdb6e10(0x201),'networkError':_0xdb6e10(0x1d6),'maxRetriesExceeded':_0xdb6e10(0x1f1)}}};export{e as default};
1
+ function _0x2f5d(_0x3b64cd,_0x9e439e){const _0x8d8757=_0x8d87();return _0x2f5d=function(_0x2f5d11,_0x533dd0){_0x2f5d11=_0x2f5d11-0xc1;let _0x404c4f=_0x8d8757[_0x2f5d11];return _0x404c4f;},_0x2f5d(_0x3b64cd,_0x9e439e);}const _0x53427e=_0x2f5d;(function(_0x2d272b,_0x35b2bd){const _0x355356=_0x2f5d,_0x585995=_0x2d272b();while(!![]){try{const _0x53732a=parseInt(_0x355356(0xdd))/0x1*(parseInt(_0x355356(0xe6))/0x2)+-parseInt(_0x355356(0xc4))/0x3+-parseInt(_0x355356(0xc5))/0x4*(-parseInt(_0x355356(0xcd))/0x5)+parseInt(_0x355356(0xe4))/0x6*(-parseInt(_0x355356(0xc7))/0x7)+-parseInt(_0x355356(0xc2))/0x8+parseInt(_0x355356(0xd3))/0x9*(-parseInt(_0x355356(0xe8))/0xa)+parseInt(_0x355356(0xd4))/0xb*(parseInt(_0x355356(0xde))/0xc);if(_0x53732a===_0x35b2bd)break;else _0x585995['push'](_0x585995['shift']());}catch(_0x1ab298){_0x585995['push'](_0x585995['shift']());}}}(_0x8d87,0xbcaa1));const e={'mcpStatus':{'disconnected':_0x53427e(0xeb),'connecting':'MCP\x20Connecting...','connected':_0x53427e(0xd0),'failed':_0x53427e(0xdc),'retrying':_0x53427e(0xc1),'unknown':_0x53427e(0xce),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x53427e(0xdb),'sessionOccupied':_0x53427e(0xc3),'networkError':_0x53427e(0xd8),'maxRetriesExceeded':_0x53427e(0xed),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x53427e(0xf0),'description':_0x53427e(0xe0),'apiKey':_0x53427e(0xd5),'apiKeyPlaceholder':_0x53427e(0xcf),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x53427e(0xee),'enableAuthHint':_0x53427e(0xc6),'connectionInfo':'Connection\x20Information','serverEndpoint':'Server\x20Endpoint','sessionId':_0x53427e(0xe2),'maxRetries':'Max\x20Retries','save':_0x53427e(0xd6),'saving':_0x53427e(0xd9),'note1':_0x53427e(0xd7),'note2':_0x53427e(0xd1),'configSaved':_0x53427e(0xca),'configError':_0x53427e(0xda),'apiApplyInfo':{'title':_0x53427e(0xc8),'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':_0x53427e(0xd2),'getStarted':_0x53427e(0xec)},'validation':{'apiKeyRequired':_0x53427e(0xf1),'apiKeyTooShort':_0x53427e(0xe3),'invalidConfig':_0x53427e(0xef),'invalidApiKey':_0x53427e(0xe9)},'connectionStatus':{'disconnected':_0x53427e(0xea),'connecting':_0x53427e(0xcb),'connected':_0x53427e(0xc9),'failed':'Connection\x20Failed','retrying':_0x53427e(0xe5)},'connectionError':{'missingApiKey':_0x53427e(0xcc),'invalidApiKey':_0x53427e(0xe7),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x53427e(0xe1),'maxRetriesExceeded':_0x53427e(0xdf)}}};function _0x8d87(){const _0x4d7fc3=['Saving...','Failed\x20to\x20save\x20configuration','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connection\x20Failed','4129YfclOy','50197716LujFcE','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','60570WNYjAX','Retrying...','212HnqZnG','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','151770zZgWBo','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','MCP\x20Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20Authentication','Invalid\x20configuration','MCP\x20Configuration','API\x20key\x20is\x20required','MCP\x20Retrying...','9415848IHTLtY','MCP:\x20Session\x20Occupied','4587405WLCsuK','452kxPTXg','Enable\x20authentication\x20for\x20secure\x20connections','581KcoBqk','What\x20is\x20API\x20Key?','Connected','Configuration\x20saved\x20successfully','Connecting...','API\x20key\x20is\x20required\x20to\x20connect','33555GJcrLh','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Univer\x20AI\x20Console','630Wyjsbg','11yXExwm','API\x20Key','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error'];_0x8d87=function(){return _0x4d7fc3;};return _0x8d87();}export{e as default};
@@ -1 +1 @@
1
- const _0xe0890a=_0x282e;function _0x282e(_0x3cd2b9,_0x2b3a2b){const _0x5d621a=_0x5d62();return _0x282e=function(_0x282ef2,_0x2cf1e2){_0x282ef2=_0x282ef2-0xa4;let _0xc95fa9=_0x5d621a[_0x282ef2];return _0xc95fa9;},_0x282e(_0x3cd2b9,_0x2b3a2b);}(function(_0x5410cf,_0x5f1997){const _0x383257=_0x282e,_0x35383c=_0x5410cf();while(!![]){try{const _0x4e279f=parseInt(_0x383257(0xc9))/0x1*(parseInt(_0x383257(0xac))/0x2)+-parseInt(_0x383257(0xcf))/0x3+parseInt(_0x383257(0xad))/0x4*(parseInt(_0x383257(0xcd))/0x5)+-parseInt(_0x383257(0xc0))/0x6+-parseInt(_0x383257(0xbb))/0x7+-parseInt(_0x383257(0xb4))/0x8+parseInt(_0x383257(0xb2))/0x9*(parseInt(_0x383257(0xa7))/0xa);if(_0x4e279f===_0x5f1997)break;else _0x35383c['push'](_0x35383c['shift']());}catch(_0x3417f3){_0x35383c['push'](_0x35383c['shift']());}}}(_0x5d62,0xe4dec));const e={'mcpStatus':{'disconnected':_0xe0890a(0xab),'connecting':'MCP\x20Connecting...','connected':_0xe0890a(0xc7),'failed':_0xe0890a(0xc2),'retrying':_0xe0890a(0xc4),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0xe0890a(0xbc),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0xe0890a(0xb5),'networkError':_0xe0890a(0xc6),'maxRetriesExceeded':_0xe0890a(0xb3),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xe0890a(0xca)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xe0890a(0xa6),'apiKey':_0xe0890a(0xbd),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xe0890a(0xb8),'enableAuth':_0xe0890a(0xb9),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xe0890a(0xb1),'serverEndpoint':_0xe0890a(0xd0),'sessionId':_0xe0890a(0xba),'maxRetries':_0xe0890a(0xa4),'save':_0xe0890a(0xc5),'saving':'Saving...','note1':_0xe0890a(0xa8),'note2':_0xe0890a(0xcb),'configSaved':_0xe0890a(0xbf),'configError':_0xe0890a(0xb0),'apiApplyInfo':{'title':_0xe0890a(0xc8),'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':_0xe0890a(0xbe),'getStarted':_0xe0890a(0xc1)},'validation':{'apiKeyRequired':_0xe0890a(0xb7),'apiKeyTooShort':_0xe0890a(0xaf),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xe0890a(0xc3),'connecting':_0xe0890a(0xa9),'connected':_0xe0890a(0xb6),'failed':_0xe0890a(0xae),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0xe0890a(0xcc),'invalidApiKey':_0xe0890a(0xa5),'sessionOccupied':_0xe0890a(0xaa),'networkError':_0xe0890a(0xce),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x5d62(){const _0x1ba68a=['MCP:\x20API\x20Key\x20Missing','API\x20Key','Univer\x20AI\x20Console','Configuration\x20saved\x20successfully','5488620csJcgu','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','Disconnected','MCP\x20Retrying...','Save\x20Configuration','MCP:\x20Network\x20Error','MCP\x20Connected','What\x20is\x20API\x20Key?','44257XPRswR','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required\x20to\x20connect','5302235vOXYDx','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','4715052dCVDkB','Server\x20Endpoint','Max\x20Retries','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','29483310lGNhBT','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connecting...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','46CgzyqR','4tcTonc','Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Failed\x20to\x20save\x20configuration','Connection\x20Information','9YCALjP','MCP:\x20Max\x20Retries\x20Exceeded','4807880mcACZs','MCP:\x20Session\x20Occupied','Connected','API\x20key\x20is\x20required','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20Authentication','Session\x20ID','7012586ZAcTCY'];_0x5d62=function(){return _0x1ba68a;};return _0x5d62();}export{n as default};
1
+ const _0x3f7c19=_0x44e0;function _0x44e0(_0x1d6cda,_0x36db3c){const _0x5cbd45=_0x5cbd();return _0x44e0=function(_0x44e088,_0x24e5a4){_0x44e088=_0x44e088-0x6b;let _0x67faf9=_0x5cbd45[_0x44e088];return _0x67faf9;},_0x44e0(_0x1d6cda,_0x36db3c);}function _0x5cbd(){const _0x9cbac8=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Invalid\x20API\x20Key','7DMPXeh','Saving...','1325682moeCcE','3307497UCcJWd','Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','MCP\x20Retrying...','Configuration\x20saved\x20successfully','10907312OZBiwP','API\x20key\x20is\x20required','MCP\x20Connecting...','1162086gLAJqr','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Session\x20Occupied','Connected','Invalid\x20configuration','1568102AFNgVJ','MCP\x20Configuration','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','35yynRsM','Connecting...','Save\x20Configuration','Click\x20to\x20configure\x20MCP','Click\x20to\x20connect\x20MCP','MCP\x20Connected','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Disconnected','Failed\x20to\x20save\x20configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','MCP:\x20Network\x20Error','Connection\x20Information','API\x20Key','MCP:\x20API\x20Key\x20Missing','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key','433184QvQQMk','API\x20key\x20is\x20required\x20to\x20connect','25489899RcUNZW','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later'];_0x5cbd=function(){return _0x9cbac8;};return _0x5cbd();}(function(_0x4329d8,_0x28d794){const _0x12f3b3=_0x44e0,_0x1ec135=_0x4329d8();while(!![]){try{const _0x48ae57=-parseInt(_0x12f3b3(0x7d))/0x1+parseInt(_0x12f3b3(0x8f))/0x2+-parseInt(_0x12f3b3(0x7e))/0x3+parseInt(_0x12f3b3(0x75))/0x4*(parseInt(_0x12f3b3(0x95))/0x5)+-parseInt(_0x12f3b3(0x87))/0x6*(-parseInt(_0x12f3b3(0x7b))/0x7)+-parseInt(_0x12f3b3(0x84))/0x8+parseInt(_0x12f3b3(0x77))/0x9;if(_0x48ae57===_0x28d794)break;else _0x1ec135['push'](_0x1ec135['shift']());}catch(_0x2f6e5e){_0x1ec135['push'](_0x1ec135['shift']());}}}(_0x5cbd,0xbd8e4));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3f7c19(0x86),'connected':_0x3f7c19(0x9a),'failed':_0x3f7c19(0x92),'retrying':_0x3f7c19(0x82),'unknown':_0x3f7c19(0x81),'missingApiKey':_0x3f7c19(0x72),'invalidApiKey':_0x3f7c19(0x7a),'sessionOccupied':_0x3f7c19(0x8c),'networkError':_0x3f7c19(0x6f),'maxRetriesExceeded':_0x3f7c19(0x73),'clickToConnect':_0x3f7c19(0x99),'clickToConfigure':_0x3f7c19(0x98)},'mcpConfig':{'title':_0x3f7c19(0x90),'description':_0x3f7c19(0x89),'apiKey':_0x3f7c19(0x71),'apiKeyPlaceholder':_0x3f7c19(0x74),'apiKeyHint':_0x3f7c19(0x9c),'enableAuth':_0x3f7c19(0x94),'enableAuthHint':_0x3f7c19(0x93),'connectionInfo':_0x3f7c19(0x70),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x3f7c19(0x8a),'maxRetries':_0x3f7c19(0x88),'save':_0x3f7c19(0x97),'saving':_0x3f7c19(0x7c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3f7c19(0x83),'configError':_0x3f7c19(0x6b),'apiApplyInfo':{'title':_0x3f7c19(0x9b),'description':_0x3f7c19(0x6c),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3f7c19(0x85),'apiKeyTooShort':_0x3f7c19(0x8b),'invalidConfig':_0x3f7c19(0x8e),'invalidApiKey':_0x3f7c19(0x79)},'connectionStatus':{'disconnected':_0x3f7c19(0x9d),'connecting':_0x3f7c19(0x96),'connected':_0x3f7c19(0x8d),'failed':_0x3f7c19(0x7f),'retrying':_0x3f7c19(0x6e)},'connectionError':{'missingApiKey':_0x3f7c19(0x76),'invalidApiKey':_0x3f7c19(0x91),'sessionOccupied':_0x3f7c19(0x78),'networkError':_0x3f7c19(0x6d),'maxRetriesExceeded':_0x3f7c19(0x80)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x312c11=_0x2b25;function _0xcf93(){const _0xd79d51=['376xmEctB','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','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:\x20Invalid\x20API\x20Key','MCP\x20Connecting...','What\x20is\x20API\x20Key?','MCP\x20Configuration','113697lFnrYo','761277SuhaCM','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8554uaJxPR','Enter\x20your\x20API\x20key','Saving...','MCP\x20Connection\x20Failed','11830WiJAzQ','2333196jvDKam','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connected','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','2728908zQUQrD','MCP\x20Unknown\x20Status','Disconnected','Server\x20Endpoint','1067nRETVM','6NVjung','5yKHRKK','Configuration\x20saved\x20successfully','Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Max\x20Retries','API\x20key\x20is\x20required\x20to\x20connect','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Session\x20Occupied','Univer\x20AI\x20Console','678044QlmiGi','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','MCP:\x20API\x20Key\x20Missing','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Retrying...','Retrying...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded'];_0xcf93=function(){return _0xd79d51;};return _0xcf93();}function _0x2b25(_0x1074be,_0x213ee1){const _0xcf934d=_0xcf93();return _0x2b25=function(_0x2b2593,_0x5425e7){_0x2b2593=_0x2b2593-0x13d;let _0x4bcf6c=_0xcf934d[_0x2b2593];return _0x4bcf6c;},_0x2b25(_0x1074be,_0x213ee1);}(function(_0xa51d76,_0x12fbe7){const _0x19dea8=_0x2b25,_0x4ee526=_0xa51d76();while(!![]){try{const _0x3696c7=-parseInt(_0x19dea8(0x14e))/0x1*(-parseInt(_0x19dea8(0x161))/0x2)+-parseInt(_0x19dea8(0x14f))/0x3+parseInt(_0x19dea8(0x16d))/0x4+-parseInt(_0x19dea8(0x162))/0x5*(parseInt(_0x19dea8(0x156))/0x6)+-parseInt(_0x19dea8(0x151))/0x7*(parseInt(_0x19dea8(0x146))/0x8)+parseInt(_0x19dea8(0x15c))/0x9+-parseInt(_0x19dea8(0x155))/0xa*(-parseInt(_0x19dea8(0x160))/0xb);if(_0x3696c7===_0x12fbe7)break;else _0x4ee526['push'](_0x4ee526['shift']());}catch(_0x353a6a){_0x4ee526['push'](_0x4ee526['shift']());}}}(_0xcf93,0x37c9a));const e={'mcpStatus':{'disconnected':_0x312c11(0x159),'connecting':_0x312c11(0x14b),'connected':_0x312c11(0x158),'failed':_0x312c11(0x154),'retrying':_0x312c11(0x141),'unknown':_0x312c11(0x15d),'missingApiKey':_0x312c11(0x13f),'invalidApiKey':_0x312c11(0x14a),'sessionOccupied':_0x312c11(0x16b),'networkError':_0x312c11(0x144),'maxRetriesExceeded':_0x312c11(0x145),'clickToConnect':_0x312c11(0x147),'clickToConfigure':_0x312c11(0x148)},'mcpConfig':{'title':_0x312c11(0x14d),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x312c11(0x152),'apiKeyHint':_0x312c11(0x150),'enableAuth':_0x312c11(0x15b),'enableAuthHint':_0x312c11(0x16a),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x312c11(0x15f),'sessionId':'Session\x20ID','maxRetries':_0x312c11(0x166),'save':'Save\x20Configuration','saving':_0x312c11(0x153),'note1':_0x312c11(0x165),'note2':_0x312c11(0x168),'configSaved':_0x312c11(0x163),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x312c11(0x14c),'description':_0x312c11(0x149),'univerAiLabel':_0x312c11(0x16c),'getStarted':_0x312c11(0x13d)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x312c11(0x13e),'invalidApiKey':_0x312c11(0x15a)},'connectionStatus':{'disconnected':_0x312c11(0x15e),'connecting':'Connecting...','connected':_0x312c11(0x164),'failed':'Connection\x20Failed','retrying':_0x312c11(0x142)},'connectionError':{'missingApiKey':_0x312c11(0x167),'invalidApiKey':_0x312c11(0x140),'sessionOccupied':_0x312c11(0x143),'networkError':_0x312c11(0x169),'maxRetriesExceeded':_0x312c11(0x157)}}},n=e;export{n as default};
1
+ const _0x318705=_0x9c62;(function(_0x2bf7f4,_0x434004){const _0x387957=_0x9c62,_0x288d30=_0x2bf7f4();while(!![]){try{const _0x142871=parseInt(_0x387957(0x150))/0x1+-parseInt(_0x387957(0x151))/0x2+parseInt(_0x387957(0x144))/0x3+-parseInt(_0x387957(0x136))/0x4*(parseInt(_0x387957(0x154))/0x5)+parseInt(_0x387957(0x12e))/0x6*(parseInt(_0x387957(0x12c))/0x7)+-parseInt(_0x387957(0x13b))/0x8+-parseInt(_0x387957(0x14d))/0x9;if(_0x142871===_0x434004)break;else _0x288d30['push'](_0x288d30['shift']());}catch(_0x46869c){_0x288d30['push'](_0x288d30['shift']());}}}(_0x3844,0x55ec5));const e={'mcpStatus':{'disconnected':_0x318705(0x13e),'connecting':'MCP\x20Connecting...','connected':_0x318705(0x142),'failed':_0x318705(0x14b),'retrying':_0x318705(0x147),'unknown':_0x318705(0x13d),'missingApiKey':_0x318705(0x156),'invalidApiKey':_0x318705(0x145),'sessionOccupied':_0x318705(0x12f),'networkError':_0x318705(0x153),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x318705(0x137),'clickToConfigure':_0x318705(0x149)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x318705(0x140),'apiKey':_0x318705(0x134),'apiKeyPlaceholder':_0x318705(0x141),'apiKeyHint':_0x318705(0x12d),'enableAuth':_0x318705(0x159),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x318705(0x143),'serverEndpoint':'Server\x20Endpoint','sessionId':'Session\x20ID','maxRetries':_0x318705(0x146),'save':_0x318705(0x158),'saving':_0x318705(0x14a),'note1':_0x318705(0x148),'note2':_0x318705(0x135),'configSaved':_0x318705(0x130),'configError':_0x318705(0x138),'apiApplyInfo':{'title':_0x318705(0x152),'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':_0x318705(0x14e),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x318705(0x14c),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x318705(0x133),'invalidApiKey':_0x318705(0x13a)},'connectionStatus':{'disconnected':_0x318705(0x157),'connecting':_0x318705(0x132),'connected':_0x318705(0x139),'failed':_0x318705(0x13c),'retrying':_0x318705(0x14f)},'connectionError':{'missingApiKey':_0x318705(0x155),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x318705(0x131),'networkError':_0x318705(0x12b),'maxRetriesExceeded':_0x318705(0x13f)}}},n=e;export{n as default};function _0x9c62(_0x44cd57,_0x3c6a36){const _0x384450=_0x3844();return _0x9c62=function(_0x9c623d,_0x5ee7e4){_0x9c623d=_0x9c623d-0x12b;let _0x3cb7a2=_0x384450[_0x9c623d];return _0x3cb7a2;},_0x9c62(_0x44cd57,_0x3c6a36);}function _0x3844(){const _0x35c7fd=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','782156WrQDaB','Click\x20to\x20connect\x20MCP','Failed\x20to\x20save\x20configuration','Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1188328NIhjfo','Connection\x20Failed','MCP\x20Unknown\x20Status','MCP\x20Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enter\x20your\x20API\x20key','MCP\x20Connected','Connection\x20Information','1105908fgVeqo','MCP:\x20Invalid\x20API\x20Key','Max\x20Retries','MCP\x20Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','Saving...','MCP\x20Connection\x20Failed','API\x20key\x20is\x20required','2028438EplBZi','Univer\x20AI\x20Console','Retrying...','468063bHmUgi','364688Nqbvfp','What\x20is\x20API\x20Key?','MCP:\x20Network\x20Error','15SrYIgt','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20API\x20Key\x20Missing','Disconnected','Save\x20Configuration','Enable\x20Authentication','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','658126tnEPcf','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','42UmQgUy','MCP:\x20Session\x20Occupied','Configuration\x20saved\x20successfully','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Connecting...','Invalid\x20configuration','API\x20Key'];_0x3844=function(){return _0x35c7fd;};return _0x3844();}
@@ -1 +1 @@
1
- const _0x1b68a2=_0x41f6;(function(_0x5972c8,_0x11c242){const _0x498705=_0x41f6,_0x5647cf=_0x5972c8();while(!![]){try{const _0x44db8b=parseInt(_0x498705(0x111))/0x1*(-parseInt(_0x498705(0xf8))/0x2)+-parseInt(_0x498705(0x113))/0x3+parseInt(_0x498705(0x11f))/0x4+-parseInt(_0x498705(0xf3))/0x5*(-parseInt(_0x498705(0x110))/0x6)+parseInt(_0x498705(0x100))/0x7*(-parseInt(_0x498705(0x121))/0x8)+parseInt(_0x498705(0x112))/0x9+parseInt(_0x498705(0x107))/0xa*(parseInt(_0x498705(0x106))/0xb);if(_0x44db8b===_0x11c242)break;else _0x5647cf['push'](_0x5647cf['shift']());}catch(_0x238eec){_0x5647cf['push'](_0x5647cf['shift']());}}}(_0x5da6,0xb9f93));const e={'mcpStatus':{'disconnected':_0x1b68a2(0x101),'connecting':'MCP\x20Connecting...','connected':_0x1b68a2(0x11b),'failed':_0x1b68a2(0xf6),'retrying':_0x1b68a2(0x119),'unknown':_0x1b68a2(0xfc),'missingApiKey':_0x1b68a2(0xfd),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x1b68a2(0x102),'networkError':_0x1b68a2(0xf5),'maxRetriesExceeded':_0x1b68a2(0x11e),'clickToConnect':_0x1b68a2(0x116),'clickToConfigure':_0x1b68a2(0xf2)},'mcpConfig':{'title':_0x1b68a2(0x104),'description':_0x1b68a2(0xfa),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1b68a2(0x11d),'enableAuth':_0x1b68a2(0x117),'enableAuthHint':_0x1b68a2(0x10f),'connectionInfo':_0x1b68a2(0x105),'serverEndpoint':_0x1b68a2(0xf4),'sessionId':'Session\x20ID','maxRetries':_0x1b68a2(0xf1),'save':_0x1b68a2(0xf9),'saving':_0x1b68a2(0xfb),'note1':_0x1b68a2(0x115),'note2':_0x1b68a2(0x108),'configSaved':_0x1b68a2(0xfe),'configError':_0x1b68a2(0x103),'apiApplyInfo':{'title':_0x1b68a2(0xff),'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':_0x1b68a2(0x118),'getStarted':_0x1b68a2(0xf7)},'validation':{'apiKeyRequired':_0x1b68a2(0x10b),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1b68a2(0x114),'connecting':_0x1b68a2(0x11a),'connected':_0x1b68a2(0x11c),'failed':_0x1b68a2(0x10c),'retrying':_0x1b68a2(0x10a)},'connectionError':{'missingApiKey':_0x1b68a2(0x120),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x1b68a2(0x10e),'networkError':_0x1b68a2(0x109),'maxRetriesExceeded':_0x1b68a2(0x10d)}}},n=e;function _0x41f6(_0x2e66aa,_0x27945f){const _0x5da61f=_0x5da6();return _0x41f6=function(_0x41f6b5,_0xb1ca3f){_0x41f6b5=_0x41f6b5-0xf1;let _0x2f4f99=_0x5da61f[_0x41f6b5];return _0x2f4f99;},_0x41f6(_0x2e66aa,_0x27945f);}export{n as default};function _0x5da6(){const _0x4bbe97=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','API\x20key\x20is\x20required','Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','5304738qNxzcP','427776BGMMsZ','12158757NtGIcJ','4516074apWIXA','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20connect\x20MCP','Enable\x20Authentication','Univer\x20AI\x20Console','MCP\x20Retrying...','Connecting...','MCP\x20Connected','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Max\x20Retries\x20Exceeded','3498972IsDURt','API\x20key\x20is\x20required\x20to\x20connect','2777472zhuWaN','Max\x20Retries','Click\x20to\x20configure\x20MCP','5VQPrhB','Server\x20Endpoint','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','4CXUmct','Save\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','MCP\x20Unknown\x20Status','MCP:\x20API\x20Key\x20Missing','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','7zqgWGX','MCP\x20Disconnected','MCP:\x20Session\x20Occupied','Failed\x20to\x20save\x20configuration','MCP\x20Configuration','Connection\x20Information','11xjlDIE','3600020nwltJq'];_0x5da6=function(){return _0x4bbe97;};return _0x5da6();}
1
+ function _0x4b9b(){const _0x1186b6=['1026170ETdreI','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20configuration','MCP\x20Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','430589ouOPsS','50248QPdyEy','10137XeOWQR','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','1053894ryhUQM','Failed\x20to\x20save\x20configuration','MCP\x20Disconnected','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Retrying...','API\x20Key','Connection\x20Failed','API\x20key\x20is\x20required','Connecting...','What\x20is\x20API\x20Key?','Enter\x20your\x20API\x20key','10emVYHu','Max\x20Retries','MCP:\x20Network\x20Error','308ZMVKdp','4792rrYZyU','MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2tDCJLS','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3983vqlDSq','Saving...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','Configuration\x20saved\x20successfully','13119353osSmqG','Univer\x20AI\x20Console','Disconnected','Enable\x20Authentication','1104IbCBEX','MCP:\x20API\x20Key\x20Missing','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Click\x20to\x20connect\x20MCP','Session\x20ID','27DLZEBZ','Server\x20Endpoint'];_0x4b9b=function(){return _0x1186b6;};return _0x4b9b();}const _0x10abc0=_0x377d;(function(_0x2dd9a3,_0x4c2ada){const _0x4d99dc=_0x377d,_0xb47123=_0x2dd9a3();while(!![]){try{const _0x199bda=parseInt(_0x4d99dc(0xfa))/0x1*(-parseInt(_0x4d99dc(0x111))/0x2)+-parseInt(_0x4d99dc(0xfc))/0x3*(parseInt(_0x4d99dc(0x10d))/0x4)+parseInt(_0x4d99dc(0x10a))/0x5*(parseInt(_0x4d99dc(0xff))/0x6)+-parseInt(_0x4d99dc(0xe1))/0x7*(parseInt(_0x4d99dc(0x10e))/0x8)+-parseInt(_0x4d99dc(0xf0))/0x9*(-parseInt(_0x4d99dc(0xf2))/0xa)+parseInt(_0x4d99dc(0xfb))/0xb*(-parseInt(_0x4d99dc(0xea))/0xc)+parseInt(_0x4d99dc(0xe6))/0xd;if(_0x199bda===_0x4c2ada)break;else _0xb47123['push'](_0xb47123['shift']());}catch(_0x4c1c52){_0xb47123['push'](_0xb47123['shift']());}}}(_0x4b9b,0x34d97));const e={'mcpStatus':{'disconnected':_0x10abc0(0x101),'connecting':_0x10abc0(0x10f),'connected':_0x10abc0(0xf5),'failed':_0x10abc0(0xfd),'retrying':_0x10abc0(0x103),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x10abc0(0xeb),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x10abc0(0x10c),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x10abc0(0xee),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x10abc0(0xf3),'apiKey':_0x10abc0(0x104),'apiKeyPlaceholder':_0x10abc0(0x109),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x10abc0(0xe9),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'Connection\x20Information','serverEndpoint':_0x10abc0(0xf1),'sessionId':_0x10abc0(0xef),'maxRetries':_0x10abc0(0x10b),'save':_0x10abc0(0x112),'saving':_0x10abc0(0xe2),'note1':_0x10abc0(0x110),'note2':_0x10abc0(0xe0),'configSaved':_0x10abc0(0xe5),'configError':_0x10abc0(0x100),'apiApplyInfo':{'title':_0x10abc0(0x108),'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':_0x10abc0(0xe7),'getStarted':_0x10abc0(0xfe)},'validation':{'apiKeyRequired':_0x10abc0(0x106),'apiKeyTooShort':_0x10abc0(0xe3),'invalidConfig':_0x10abc0(0xf4),'invalidApiKey':_0x10abc0(0xf6)},'connectionStatus':{'disconnected':_0x10abc0(0xe8),'connecting':_0x10abc0(0x107),'connected':_0x10abc0(0xe4),'failed':_0x10abc0(0x105),'retrying':_0x10abc0(0xf8)},'connectionError':{'missingApiKey':_0x10abc0(0x102),'invalidApiKey':_0x10abc0(0xec),'sessionOccupied':_0x10abc0(0xed),'networkError':_0x10abc0(0xf7),'maxRetriesExceeded':_0x10abc0(0xf9)}}},n=e;function _0x377d(_0x5cf5e4,_0x120119){const _0x4b9bd7=_0x4b9b();return _0x377d=function(_0x377dbe,_0x22cd3a){_0x377dbe=_0x377dbe-0xe0;let _0x1b0b3a=_0x4b9bd7[_0x377dbe];return _0x1b0b3a;},_0x377d(_0x5cf5e4,_0x120119);}export{n as default};