@univerjs-pro/mcp-ui 0.10.8-nightly.202509200616 → 0.10.9

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 (45) 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.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +7 -7
@@ -1 +1 @@
1
- const _0x48b1f8=_0x4ef0;function _0x4ef0(_0x52cccf,_0x2ab171){const _0x43d7cf=_0x43d7();return _0x4ef0=function(_0x4ef042,_0x9357){_0x4ef042=_0x4ef042-0xe1;let _0x343b99=_0x43d7cf[_0x4ef042];return _0x343b99;},_0x4ef0(_0x52cccf,_0x2ab171);}(function(_0x23dbf7,_0x3b80de){const _0x24f978=_0x4ef0,_0x226539=_0x23dbf7();while(!![]){try{const _0x1f53a9=parseInt(_0x24f978(0x10a))/0x1*(parseInt(_0x24f978(0xf5))/0x2)+-parseInt(_0x24f978(0xf6))/0x3+-parseInt(_0x24f978(0x109))/0x4+-parseInt(_0x24f978(0xea))/0x5+-parseInt(_0x24f978(0xe1))/0x6*(-parseInt(_0x24f978(0xe9))/0x7)+-parseInt(_0x24f978(0xf3))/0x8*(parseInt(_0x24f978(0xfd))/0x9)+parseInt(_0x24f978(0xe6))/0xa;if(_0x1f53a9===_0x3b80de)break;else _0x226539['push'](_0x226539['shift']());}catch(_0x533c7f){_0x226539['push'](_0x226539['shift']());}}}(_0x43d7,0x2a24c));function _0x43d7(){const _0x23f153=['59619LBarqA','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','MCP\x20Unknown\x20Status','MCP\x20Connected','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','27dvRFpx','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Client\x20Configuration','MCP\x20Retrying...','Save\x20Configuration','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.','Connection\x20Failed','MCP\x20Disconnected','1221348qMiLPY','1262JBYHhQ','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20Authentication','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Invalid\x20API\x20Key','Connected','166830vWBdEP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','2077490hjbRCt','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Connecting...','70ukgWfW','729275cXuWBK','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20Occupied','Invalid\x20configuration','MCP\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20ID','Configuration\x20Steps:','218384TTJBZp','API\x20key\x20is\x20required','380zSVGTO'];_0x43d7=function(){return _0x23f153;};return _0x43d7();}const e={'mcpStatus':{'disconnected':_0x48b1f8(0x108),'connecting':_0x48b1f8(0x10f),'connected':_0x48b1f8(0xfa),'failed':_0x48b1f8(0x10c),'retrying':_0x48b1f8(0x102),'unknown':_0x48b1f8(0xf9),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x48b1f8(0x114),'sessionOccupied':_0x48b1f8(0xed),'networkError':_0x48b1f8(0xeb),'maxRetriesExceeded':_0x48b1f8(0xfb),'clickToConnect':_0x48b1f8(0x10e),'clickToConfigure':_0x48b1f8(0xec)},'mcpConfig':{'title':_0x48b1f8(0xef),'description':_0x48b1f8(0x113),'apiKey':_0x48b1f8(0xfc),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x48b1f8(0xf0),'enableAuth':_0x48b1f8(0x111),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x48b1f8(0x101),'configInstructions':_0x48b1f8(0xe3),'configStepTitle':_0x48b1f8(0xf2),'configStep1':_0x48b1f8(0x110),'configStep2':_0x48b1f8(0x10d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x48b1f8(0xf1),'sessionIdDescription':_0x48b1f8(0xe2),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x48b1f8(0xe5),'maxRetries':'Max\x20Retries','save':_0x48b1f8(0x103),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x48b1f8(0xe4),'configError':_0x48b1f8(0x105),'apiApplyInfo':{'title':_0x48b1f8(0xf7),'description':_0x48b1f8(0x106),'univerAiLabel':_0x48b1f8(0xf8),'getStarted':_0x48b1f8(0x10b)},'validation':{'apiKeyRequired':_0x48b1f8(0xf4),'apiKeyTooShort':_0x48b1f8(0x112),'invalidConfig':_0x48b1f8(0xee),'invalidApiKey':_0x48b1f8(0xfe)},'connectionStatus':{'disconnected':_0x48b1f8(0x104),'connecting':_0x48b1f8(0xe8),'connected':_0x48b1f8(0x115),'failed':_0x48b1f8(0x107),'retrying':_0x48b1f8(0xff)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x48b1f8(0x100),'sessionOccupied':_0x48b1f8(0xe7),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
1
+ const _0x25ae9c=_0x4b41;(function(_0x420f00,_0x40c45f){const _0x1a953c=_0x4b41,_0x4fe409=_0x420f00();while(!![]){try{const _0x468c12=parseInt(_0x1a953c(0x17b))/0x1+-parseInt(_0x1a953c(0x15a))/0x2+parseInt(_0x1a953c(0x16a))/0x3*(parseInt(_0x1a953c(0x16b))/0x4)+-parseInt(_0x1a953c(0x160))/0x5+parseInt(_0x1a953c(0x164))/0x6*(-parseInt(_0x1a953c(0x175))/0x7)+-parseInt(_0x1a953c(0x15e))/0x8+-parseInt(_0x1a953c(0x177))/0x9*(-parseInt(_0x1a953c(0x181))/0xa);if(_0x468c12===_0x40c45f)break;else _0x4fe409['push'](_0x4fe409['shift']());}catch(_0x5dacab){_0x4fe409['push'](_0x4fe409['shift']());}}}(_0x457b,0x6eac6));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x25ae9c(0x158),'failed':_0x25ae9c(0x157),'retrying':'MCP\x20Retrying...','unknown':_0x25ae9c(0x15d),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x25ae9c(0x173),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x25ae9c(0x179),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x25ae9c(0x161),'clickToConfigure':_0x25ae9c(0x17c)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x25ae9c(0x17f),'apiKeyPlaceholder':_0x25ae9c(0x172),'apiKeyHint':_0x25ae9c(0x17e),'enableAuth':_0x25ae9c(0x180),'enableAuthHint':_0x25ae9c(0x170),'connectionInfo':_0x25ae9c(0x178),'mcpClientConfig':_0x25ae9c(0x178),'configInstructions':_0x25ae9c(0x189),'configStepTitle':_0x25ae9c(0x16e),'configStep1':_0x25ae9c(0x184),'configStep2':_0x25ae9c(0x185),'configStep3':_0x25ae9c(0x16f),'sessionId':_0x25ae9c(0x16d),'sessionIdDescription':_0x25ae9c(0x17a),'authorizationDescription':_0x25ae9c(0x187),'configParameters':_0x25ae9c(0x163),'maxRetries':_0x25ae9c(0x183),'save':_0x25ae9c(0x186),'saving':_0x25ae9c(0x169),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x25ae9c(0x167),'configError':_0x25ae9c(0x16c),'apiApplyInfo':{'title':_0x25ae9c(0x15b),'description':_0x25ae9c(0x15c),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x25ae9c(0x168)},'validation':{'apiKeyRequired':_0x25ae9c(0x171),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x25ae9c(0x15f),'invalidApiKey':_0x25ae9c(0x182)},'connectionStatus':{'disconnected':_0x25ae9c(0x176),'connecting':_0x25ae9c(0x162),'connected':'Connected','failed':_0x25ae9c(0x166),'retrying':_0x25ae9c(0x174)},'connectionError':{'missingApiKey':_0x25ae9c(0x159),'invalidApiKey':_0x25ae9c(0x165),'sessionOccupied':_0x25ae9c(0x188),'networkError':_0x25ae9c(0x17d),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x4b41(_0x5337fd,_0x19ea39){const _0x457bd0=_0x457b();return _0x4b41=function(_0x4b41d9,_0x93aec1){_0x4b41d9=_0x4b41d9-0x157;let _0x1fdbf0=_0x457bd0[_0x4b41d9];return _0x1fdbf0;},_0x4b41(_0x5337fd,_0x19ea39);}export{n as default};function _0x457b(){const _0x5e1e9c=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','Enter\x20your\x20API\x20key','MCP:\x20Invalid\x20API\x20Key','Retrying...','427BeLSyR','Disconnected','9wiBXYK','MCP\x20Client\x20Configuration','MCP:\x20Network\x20Error','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','672747IJRoWw','Click\x20to\x20configure\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','Enable\x20Authentication','3830550NyOBzw','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Max\x20Retries','Copy\x20the\x20JSON\x20configuration\x20below','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','MCP\x20Connected','API\x20key\x20is\x20required\x20to\x20connect','652604nyTFzo','What\x20is\x20API\x20Key?','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','2247584peJSmJ','Invalid\x20configuration','49235crIOYH','Click\x20to\x20connect\x20MCP','Connecting...','Configuration\x20Parameters:','1878jlYljD','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connection\x20Failed','Configuration\x20saved\x20successfully','Get\x20your\x20API\x20key\x20in\x20seconds','Saving...','101118IJFFrP','4pCwtJl','Failed\x20to\x20save\x20configuration','Session\x20ID','Configuration\x20Steps:'];_0x457b=function(){return _0x5e1e9c;};return _0x457b();}
@@ -1 +1 @@
1
- function _0x3687(){const _0xca9b1a=['MCP\x20Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','52254cogsHs','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2317851QfjJKt','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','27996lUIgxw','MCP:\x20Network\x20Error','Configuration\x20Parameters:','MCP\x20Retrying...','Max\x20Retries','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','451390tPERlp','5202UDkgCs','715rqEIrI','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Get\x20your\x20API\x20key\x20in\x20seconds','345ZRMFey','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','201sYxamH','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','Failed\x20to\x20save\x20configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','19UKwlWD','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','Disconnected','Click\x20to\x20connect\x20MCP','34762lQWpRO','Configuration\x20Steps:','MCP:\x20API\x20Key\x20Missing','1016ltPAHK','MCP:\x20Invalid\x20API\x20Key','Invalid\x20configuration','77dDjMQd','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20is\x20required\x20to\x20connect','Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','8972irloVV','MCP\x20Client\x20Configuration','Connection\x20Failed','What\x20is\x20API\x20Key?','Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication'];_0x3687=function(){return _0xca9b1a;};return _0x3687();}const _0xe94c87=_0x42f3;function _0x42f3(_0x582bd5,_0x299d0d){const _0x368792=_0x3687();return _0x42f3=function(_0x42f3c7,_0x26c4ca){_0x42f3c7=_0x42f3c7-0xcd;let _0x3c6ec6=_0x368792[_0x42f3c7];return _0x3c6ec6;},_0x42f3(_0x582bd5,_0x299d0d);}(function(_0x51471c,_0x1afe3f){const _0x136685=_0x42f3,_0x1a7ffe=_0x51471c();while(!![]){try{const _0x2b8ee0=parseInt(_0x136685(0xfd))/0x1*(-parseInt(_0x136685(0xe2))/0x2)+-parseInt(_0x136685(0xf5))/0x3*(-parseInt(_0x136685(0xd9))/0x4)+parseInt(_0x136685(0xf2))/0x5*(-parseInt(_0x136685(0xee))/0x6)+-parseInt(_0x136685(0xce))/0x7*(-parseInt(_0x136685(0xd1))/0x8)+-parseInt(_0x136685(0xe4))/0x9+-parseInt(_0x136685(0xed))/0xa*(-parseInt(_0x136685(0xd4))/0xb)+-parseInt(_0x136685(0xe6))/0xc*(-parseInt(_0x136685(0xef))/0xd);if(_0x2b8ee0===_0x1afe3f)break;else _0x1a7ffe['push'](_0x1a7ffe['shift']());}catch(_0x39e978){_0x1a7ffe['push'](_0x1a7ffe['shift']());}}}(_0x3687,0x64754));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xe94c87(0xff),'connected':_0xe94c87(0xe0),'failed':_0xe94c87(0x101),'retrying':_0xe94c87(0xe9),'unknown':_0xe94c87(0xfc),'missingApiKey':_0xe94c87(0xd0),'invalidApiKey':_0xe94c87(0xd2),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0xe94c87(0xe7),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xe94c87(0xcd),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xe94c87(0xfe),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xe94c87(0xf0),'enableAuth':_0xe94c87(0xdf),'enableAuthHint':_0xe94c87(0xd8),'connectionInfo':_0xe94c87(0xda),'mcpClientConfig':_0xe94c87(0xda),'configInstructions':_0xe94c87(0xd5),'configStepTitle':_0xe94c87(0xcf),'configStep1':_0xe94c87(0x100),'configStep2':_0xe94c87(0xf3),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xe94c87(0xfa),'sessionIdDescription':_0xe94c87(0xf9),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xe94c87(0xe8),'maxRetries':_0xe94c87(0xea),'save':'Save\x20Configuration','saving':_0xe94c87(0xeb),'note1':_0xe94c87(0xe1),'note2':_0xe94c87(0xf4),'configSaved':_0xe94c87(0x102),'configError':_0xe94c87(0xf8),'apiApplyInfo':{'title':_0xe94c87(0xdc),'description':_0xe94c87(0xde),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0xe94c87(0xf1)},'validation':{'apiKeyRequired':_0xe94c87(0xfb),'apiKeyTooShort':_0xe94c87(0xf6),'invalidConfig':_0xe94c87(0xd3),'invalidApiKey':_0xe94c87(0xe5)},'connectionStatus':{'disconnected':_0xe94c87(0x103),'connecting':_0xe94c87(0xd7),'connected':_0xe94c87(0xf7),'failed':_0xe94c87(0xdb),'retrying':_0xe94c87(0xdd)},'connectionError':{'missingApiKey':_0xe94c87(0xd6),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0xe94c87(0xec),'maxRetriesExceeded':_0xe94c87(0xe3)}}},n=e;export{n as default};
1
+ const _0x2b0842=_0x1df6;function _0x2728(){const _0x30becd=['Click\x20to\x20connect\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Max\x20Retries','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','729894WHhMAG','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1518ZXrWHM','11760AWrVPQ','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1584996fiNSLi','Session\x20ID','MCP\x20Retrying...','Connected','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','422795NskSyU','Configuration\x20saved\x20successfully','1406NJGoCb','Copy\x20the\x20JSON\x20configuration\x20below','Saving...','1392984Zrgdwk','301HKNDGI','949080ksgFhq','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','Invalid\x20configuration','MCP:\x20Invalid\x20API\x20Key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','MCP:\x20Session\x20Occupied','Configuration\x20Steps:','Configuration\x20Parameters:','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required'];_0x2728=function(){return _0x30becd;};return _0x2728();}function _0x1df6(_0x117823,_0x4327ca){const _0x272850=_0x2728();return _0x1df6=function(_0x1df670,_0x1bb2d6){_0x1df670=_0x1df670-0x18c;let _0x3610be=_0x272850[_0x1df670];return _0x3610be;},_0x1df6(_0x117823,_0x4327ca);}(function(_0x2ee5f8,_0x42e4f6){const _0x430947=_0x1df6,_0x3808ee=_0x2ee5f8();while(!![]){try{const _0x3e696a=-parseInt(_0x430947(0x18d))/0x1+parseInt(_0x430947(0x18f))/0x2*(parseInt(_0x430947(0x1af))/0x3)+parseInt(_0x430947(0x1b4))/0x4+-parseInt(_0x430947(0x194))/0x5+-parseInt(_0x430947(0x1ab))/0x6+-parseInt(_0x430947(0x193))/0x7*(-parseInt(_0x430947(0x1b0))/0x8)+parseInt(_0x430947(0x192))/0x9;if(_0x3e696a===_0x42e4f6)break;else _0x3808ee['push'](_0x3808ee['shift']());}catch(_0x5b62f6){_0x3808ee['push'](_0x3808ee['shift']());}}}(_0x2728,0x398ad));const e={'mcpStatus':{'disconnected':_0x2b0842(0x1b9),'connecting':'MCP\x20Connecting...','connected':_0x2b0842(0x196),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2b0842(0x1b6),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x2b0842(0x198),'sessionOccupied':_0x2b0842(0x19b),'networkError':_0x2b0842(0x1b2),'maxRetriesExceeded':_0x2b0842(0x1a0),'clickToConnect':_0x2b0842(0x1a3),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2b0842(0x1a7),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2b0842(0x1ad),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2b0842(0x1b8),'connectionInfo':_0x2b0842(0x1a1),'mcpClientConfig':_0x2b0842(0x1a1),'configInstructions':_0x2b0842(0x1a6),'configStepTitle':_0x2b0842(0x19c),'configStep1':_0x2b0842(0x190),'configStep2':_0x2b0842(0x18c),'configStep3':_0x2b0842(0x199),'sessionId':_0x2b0842(0x1b5),'sessionIdDescription':_0x2b0842(0x1a4),'authorizationDescription':_0x2b0842(0x19e),'configParameters':_0x2b0842(0x19d),'maxRetries':_0x2b0842(0x1a9),'save':_0x2b0842(0x19a),'saving':_0x2b0842(0x191),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2b0842(0x1b3),'configSaved':_0x2b0842(0x18e),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2b0842(0x1ae),'univerAiLabel':_0x2b0842(0x1ac),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2b0842(0x1a2),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2b0842(0x197),'invalidApiKey':_0x2b0842(0x195)},'connectionStatus':{'disconnected':_0x2b0842(0x1a5),'connecting':'Connecting...','connected':_0x2b0842(0x1b7),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x2b0842(0x19f),'invalidApiKey':_0x2b0842(0x1aa),'sessionOccupied':_0x2b0842(0x1a8),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2b0842(0x1b1)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- function _0x215e(){const _0x489017=['您的\x20API\x20密钥将在此浏览器中本地存储','747667DTcRje','最大重试次数','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20已断开','55geUGzl','API\x20密钥不能为空','复制以下\x20JSON\x20配置','配置保存成功','API\x20密钥长度至少需要\x2010\x20位','已连接','将以下配置添加到您的\x20MCP\x20客户端设置中:','Univer\x20AI\x20控制台','点击配置\x20MCP','MCP:\x20缺少\x20API\x20密钥','15zUJmtw','6Ppuvuz','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP\x20连接中...','2MjgoLc','MCP\x20客户端配置','7qQNZti','配置参数:','什么是\x20API\x20密钥?','配置保存失败','启用身份验证以获得安全连接','MCP:\x20会话被占用','重连中...','需要\x20API\x20密钥才能连接','MCP\x20重连中...','保存中...','将配置添加到您的\x20MCP\x20客户端设置文件中','配置\x20MCP\x20使用\x20AI\x20操作电子表格','5731864nynoYq','MCP\x20连接失败','MCP\x20已连接','连接中...','9418023wupjpE','会话ID','会话当前被占用,请稍后再试','96610PoJuGa','配置更改将立即生效','28885728lzbJPh','请输入您的\x20API\x20密钥','MCP\x20状态未知','启用身份验证','未连接','连接失败','超出最大重试次数,请稍后再试','MCP:\x20超出最大重试次数','几秒钟内获取您的\x20API\x20密钥','网络连接错误,请检查您的网络连接','2738504jfiVrc','API\x20密钥','重启您的\x20MCP\x20客户端以使配置生效','2820810jpFOiO','MCP:\x20无效的\x20API\x20密钥','点击连接\x20MCP'];_0x215e=function(){return _0x489017;};return _0x215e();}function _0x21f7(_0x3e3b5a,_0x3b1a82){const _0x215ef3=_0x215e();return _0x21f7=function(_0x21f7d2,_0xab917f){_0x21f7d2=_0x21f7d2-0x136;let _0x485f2a=_0x215ef3[_0x21f7d2];return _0x485f2a;},_0x21f7(_0x3e3b5a,_0x3b1a82);}const _0xa09c7=_0x21f7;(function(_0x4d6444,_0x49b124){const _0x3fa3b0=_0x21f7,_0x4b8204=_0x4d6444();while(!![]){try{const _0x219d87=-parseInt(_0x3fa3b0(0x13b))/0x1*(-parseInt(_0x3fa3b0(0x14d))/0x2)+-parseInt(_0x3fa3b0(0x14a))/0x3*(parseInt(_0x3fa3b0(0x16e))/0x4)+-parseInt(_0x3fa3b0(0x149))/0x5*(parseInt(_0x3fa3b0(0x137))/0x6)+-parseInt(_0x3fa3b0(0x14f))/0x7*(parseInt(_0x3fa3b0(0x15b))/0x8)+parseInt(_0x3fa3b0(0x15f))/0x9+parseInt(_0x3fa3b0(0x162))/0xa*(parseInt(_0x3fa3b0(0x13f))/0xb)+parseInt(_0x3fa3b0(0x164))/0xc;if(_0x219d87===_0x49b124)break;else _0x4b8204['push'](_0x4b8204['shift']());}catch(_0x2273c2){_0x4b8204['push'](_0x4b8204['shift']());}}}(_0x215e,0xb7f0f));const e={'mcpStatus':{'disconnected':_0xa09c7(0x13e),'connecting':_0xa09c7(0x14c),'connected':_0xa09c7(0x15d),'failed':_0xa09c7(0x15c),'retrying':_0xa09c7(0x157),'unknown':_0xa09c7(0x166),'missingApiKey':_0xa09c7(0x148),'invalidApiKey':_0xa09c7(0x138),'sessionOccupied':_0xa09c7(0x154),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0xa09c7(0x16b),'clickToConnect':_0xa09c7(0x139),'clickToConfigure':_0xa09c7(0x147)},'mcpConfig':{'title':'MCP\x20配置','description':_0xa09c7(0x15a),'apiKey':_0xa09c7(0x16f),'apiKeyPlaceholder':_0xa09c7(0x165),'apiKeyHint':_0xa09c7(0x13a),'enableAuth':_0xa09c7(0x167),'enableAuthHint':_0xa09c7(0x153),'connectionInfo':_0xa09c7(0x14e),'mcpClientConfig':_0xa09c7(0x14e),'configInstructions':_0xa09c7(0x145),'configStepTitle':'配置步骤:','configStep1':_0xa09c7(0x141),'configStep2':_0xa09c7(0x159),'configStep3':_0xa09c7(0x136),'sessionId':_0xa09c7(0x160),'sessionIdDescription':_0xa09c7(0x14b),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0xa09c7(0x150),'maxRetries':_0xa09c7(0x13c),'save':'保存配置','saving':_0xa09c7(0x158),'note1':_0xa09c7(0x163),'note2':_0xa09c7(0x13d),'configSaved':_0xa09c7(0x142),'configError':_0xa09c7(0x152),'apiApplyInfo':{'title':_0xa09c7(0x151),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0xa09c7(0x146),'getStarted':_0xa09c7(0x16c)},'validation':{'apiKeyRequired':_0xa09c7(0x140),'apiKeyTooShort':_0xa09c7(0x143),'invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0xa09c7(0x168),'connecting':_0xa09c7(0x15e),'connected':_0xa09c7(0x144),'failed':_0xa09c7(0x169),'retrying':_0xa09c7(0x155)},'connectionError':{'missingApiKey':_0xa09c7(0x156),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0xa09c7(0x161),'networkError':_0xa09c7(0x16d),'maxRetriesExceeded':_0xa09c7(0x16a)}}};export{e as default};
1
+ const _0x2e8c81=_0x3831;function _0x5f13(){const _0x53a36b=['保存中...','API\x20密钥无效,请检查密钥是否正确','1268HlJuTH','MCP\x20重连中...','11LorTmx','将以下配置添加到您的\x20MCP\x20客户端设置中:','8784PVTwRx','14377760laRuCm','MCP\x20已连接','配置参数:','API\x20密钥不能为空','保存配置','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20连接失败','超出最大重试次数,请稍后再试','连接失败','MCP\x20配置','您的\x20API\x20密钥将在此浏览器中本地存储','Univer\x20AI\x20控制台','点击配置\x20MCP','几秒钟内获取您的\x20API\x20密钥','852460JtyXNu','MCP:\x20缺少\x20API\x20密钥','启用身份验证以获得安全连接','网络连接错误,请检查您的网络连接','MCP:\x20超出最大重试次数','MCP:\x20网络错误','配置步骤:','MCP:\x20无效的\x20API\x20密钥','MCP:\x20会话被占用','什么是\x20API\x20密钥?','已连接','最大重试次数','重启您的\x20MCP\x20客户端以使配置生效','51690rUEdVE','将配置添加到您的\x20MCP\x20客户端设置文件中','点击连接\x20MCP','带有\x20Bearer\x20前缀的\x20API\x20密钥。','189qmTGuc','未连接','复制以下\x20JSON\x20配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','启用身份验证','759082cUPQTE','MCP\x20客户端配置','1yBDRQQ','973Cxrbxa','72400188bdMvrJ','API\x20密钥','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20连接中...','4817335YGVbLx','配置无效','API\x20密钥无效,请检查您的密钥后重试'];_0x5f13=function(){return _0x53a36b;};return _0x5f13();}function _0x3831(_0x3810a3,_0x5c2b43){const _0x5f1375=_0x5f13();return _0x3831=function(_0x383193,_0x5baac2){_0x383193=_0x383193-0x1db;let _0x3706d2=_0x5f1375[_0x383193];return _0x3706d2;},_0x3831(_0x3810a3,_0x5c2b43);}(function(_0xf0a1c3,_0x3ef4d8){const _0x10ae06=_0x3831,_0x3acd0c=_0xf0a1c3();while(!![]){try{const _0x55e0cd=-parseInt(_0x10ae06(0x1db))/0x1*(parseInt(_0x10ae06(0x20f))/0x2)+-parseInt(_0x10ae06(0x1ea))/0x3*(parseInt(_0x10ae06(0x1e6))/0x4)+parseInt(_0x10ae06(0x1e1))/0x5+-parseInt(_0x10ae06(0x206))/0x6*(parseInt(_0x10ae06(0x1dc))/0x7)+-parseInt(_0x10ae06(0x1eb))/0x8+-parseInt(_0x10ae06(0x20a))/0x9*(parseInt(_0x10ae06(0x1f9))/0xa)+-parseInt(_0x10ae06(0x1e8))/0xb*(-parseInt(_0x10ae06(0x1dd))/0xc);if(_0x55e0cd===_0x3ef4d8)break;else _0x3acd0c['push'](_0x3acd0c['shift']());}catch(_0x37daac){_0x3acd0c['push'](_0x3acd0c['shift']());}}}(_0x5f13,0xdcc24));const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x2e8c81(0x1e0),'connected':_0x2e8c81(0x1ec),'failed':_0x2e8c81(0x1f1),'retrying':_0x2e8c81(0x1e7),'unknown':'MCP\x20状态未知','missingApiKey':_0x2e8c81(0x1fa),'invalidApiKey':_0x2e8c81(0x200),'sessionOccupied':_0x2e8c81(0x201),'networkError':_0x2e8c81(0x1fe),'maxRetriesExceeded':_0x2e8c81(0x1fd),'clickToConnect':_0x2e8c81(0x208),'clickToConfigure':_0x2e8c81(0x1f7)},'mcpConfig':{'title':_0x2e8c81(0x1f4),'description':_0x2e8c81(0x1df),'apiKey':_0x2e8c81(0x1de),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x2e8c81(0x1f5),'enableAuth':_0x2e8c81(0x20e),'enableAuthHint':_0x2e8c81(0x1fb),'connectionInfo':_0x2e8c81(0x210),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x2e8c81(0x1e9),'configStepTitle':_0x2e8c81(0x1ff),'configStep1':_0x2e8c81(0x20c),'configStep2':_0x2e8c81(0x207),'configStep3':_0x2e8c81(0x205),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x2e8c81(0x209),'configParameters':_0x2e8c81(0x1ed),'maxRetries':_0x2e8c81(0x204),'save':_0x2e8c81(0x1ef),'saving':_0x2e8c81(0x1e4),'note1':'配置更改将立即生效','note2':_0x2e8c81(0x1f0),'configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':_0x2e8c81(0x202),'description':_0x2e8c81(0x20d),'univerAiLabel':_0x2e8c81(0x1f6),'getStarted':_0x2e8c81(0x1f8)},'validation':{'apiKeyRequired':_0x2e8c81(0x1ee),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x2e8c81(0x1e2),'invalidApiKey':_0x2e8c81(0x1e5)},'connectionStatus':{'disconnected':_0x2e8c81(0x20b),'connecting':'连接中...','connected':_0x2e8c81(0x203),'failed':_0x2e8c81(0x1f3),'retrying':'重连中...'},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x2e8c81(0x1e3),'sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x2e8c81(0x1fc),'maxRetriesExceeded':_0x2e8c81(0x1f2)}}};export{e as default};
@@ -1 +1 @@
1
- function _0x52ea(_0x35446c,_0x29a1f6){const _0x30dc72=_0x30dc();return _0x52ea=function(_0x52ea66,_0x2cbb39){_0x52ea66=_0x52ea66-0x8b;let _0x99ce64=_0x30dc72[_0x52ea66];return _0x99ce64;},_0x52ea(_0x35446c,_0x29a1f6);}const _0x4920dd=_0x52ea;function _0x30dc(){const _0x267487=['MCP:\x20API\x20Key\x20Missing','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','94254bOOdAz','API\x20key\x20with\x20Bearer\x20prefix.','4460BVjNZO','3496672nIKGAf','139223aexeVw','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Retrying...','Enable\x20Authentication','Enter\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3918460KnehHL','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connecting...','Saving...','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','261VpRzcx','Connection\x20Failed','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','Connected','MCP\x20Client\x20Configuration','MCP:\x20Invalid\x20API\x20Key','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','24vyQMGn','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Invalid\x20configuration','Save\x20Configuration','MCP:\x20Session\x20Occupied','694640jQzYXG','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','MCP:\x20Network\x20Error','Configuration\x20Parameters:','Max\x20Retries','API\x20key\x20is\x20required','API\x20key\x20is\x20required\x20to\x20connect','Get\x20your\x20API\x20key\x20in\x20seconds','618vqvjHr','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2018205bxHLxi','MCP\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connection\x20Failed'];_0x30dc=function(){return _0x267487;};return _0x30dc();}(function(_0x3c30ff,_0x37959b){const _0x4846b6=_0x52ea,_0x4342b7=_0x3c30ff();while(!![]){try{const _0x4d6196=parseInt(_0x4846b6(0xac))/0x1+-parseInt(_0x4846b6(0xae))/0x2*(parseInt(_0x4846b6(0xa1))/0x3)+-parseInt(_0x4846b6(0xb6))/0x4+-parseInt(_0x4846b6(0xa3))/0x5+-parseInt(_0x4846b6(0x91))/0x6*(parseInt(_0x4846b6(0xb0))/0x7)+parseInt(_0x4846b6(0xaf))/0x8+-parseInt(_0x4846b6(0xbc))/0x9*(-parseInt(_0x4846b6(0x98))/0xa);if(_0x4d6196===_0x37959b)break;else _0x4342b7['push'](_0x4342b7['shift']());}catch(_0x5308b2){_0x4342b7['push'](_0x4342b7['shift']());}}}(_0x30dc,0x983f2));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4920dd(0x9a),'connected':'MCP\x20Connected','failed':_0x4920dd(0xa7),'retrying':'MCP\x20Retrying...','unknown':_0x4920dd(0x8b),'missingApiKey':_0x4920dd(0xa8),'invalidApiKey':_0x4920dd(0x8f),'sessionOccupied':_0x4920dd(0x97),'networkError':_0x4920dd(0x9b),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4920dd(0x93),'clickToConfigure':_0x4920dd(0x99)},'mcpConfig':{'title':_0x4920dd(0xa4),'description':_0x4920dd(0xa9),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4920dd(0xb4),'apiKeyHint':_0x4920dd(0xb1),'enableAuth':_0x4920dd(0xb3),'enableAuthHint':_0x4920dd(0xba),'connectionInfo':_0x4920dd(0x8e),'mcpClientConfig':_0x4920dd(0x8e),'configInstructions':_0x4920dd(0xa2),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4920dd(0x92),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x4920dd(0xa6),'authorizationDescription':_0x4920dd(0xad),'configParameters':_0x4920dd(0x9c),'maxRetries':_0x4920dd(0x9d),'save':_0x4920dd(0x96),'saving':_0x4920dd(0xb9),'note1':_0x4920dd(0xbb),'note2':_0x4920dd(0xab),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4920dd(0xaa),'apiApplyInfo':{'title':_0x4920dd(0x8c),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4920dd(0xa0)},'validation':{'apiKeyRequired':_0x4920dd(0x9e),'apiKeyTooShort':_0x4920dd(0xb5),'invalidConfig':_0x4920dd(0x95),'invalidApiKey':_0x4920dd(0xa5)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4920dd(0xb8),'connected':_0x4920dd(0x8d),'failed':_0x4920dd(0xbd),'retrying':_0x4920dd(0xb2)},'connectionError':{'missingApiKey':_0x4920dd(0x9f),'invalidApiKey':_0x4920dd(0x90),'sessionOccupied':_0x4920dd(0x94),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4920dd(0xb7)}}},n=e;export{n as default};
1
+ function _0x57bd(_0x37c6bd,_0x54c609){const _0x57d224=_0x57d2();return _0x57bd=function(_0x57bd1d,_0x42f6e1){_0x57bd1d=_0x57bd1d-0x158;let _0x3133ca=_0x57d224[_0x57bd1d];return _0x3133ca;},_0x57bd(_0x37c6bd,_0x54c609);}const _0xed6058=_0x57bd;function _0x57d2(){const _0x124ca5=['Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','338393lWkKML','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Enable\x20Authentication','Disconnected','Max\x20Retries','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','15wfYBtI','27uCizoN','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20Steps:','MCP:\x20Network\x20Error','197528PsNvtS','MCP:\x20Session\x20Occupied','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20ID','49PQKmsB','MCP\x20Client\x20Configuration','1921750mgtbXu','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Invalid\x20API\x20Key','API\x20Key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Invalid\x20configuration','MCP\x20Configuration','247977VLWBfv','MCP:\x20API\x20Key\x20Missing','MCP\x20Disconnected','157002ucmwUu','Connecting...','75TlOcxL','303906fyVohW','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed','MCP\x20Connecting...','Click\x20to\x20configure\x20MCP','API\x20key\x20is\x20required\x20to\x20connect','366276AWoGgj','252FpjRWf','Enter\x20your\x20API\x20key'];_0x57d2=function(){return _0x124ca5;};return _0x57d2();}(function(_0x972e21,_0x53d19d){const _0x1f920c=_0x57bd,_0x1e473f=_0x972e21();while(!![]){try{const _0x4b2e6f=parseInt(_0x1f920c(0x191))/0x1*(parseInt(_0x1f920c(0x176))/0x2)+-parseInt(_0x1f920c(0x158))/0x3*(-parseInt(_0x1f920c(0x17f))/0x4)+parseInt(_0x1f920c(0x178))/0x5*(-parseInt(_0x1f920c(0x179))/0x6)+parseInt(_0x1f920c(0x168))/0x7*(parseInt(_0x1f920c(0x163))/0x8)+parseInt(_0x1f920c(0x173))/0x9+-parseInt(_0x1f920c(0x16a))/0xa+-parseInt(_0x1f920c(0x184))/0xb*(parseInt(_0x1f920c(0x180))/0xc);if(_0x4b2e6f===_0x53d19d)break;else _0x1e473f['push'](_0x1e473f['shift']());}catch(_0x4bb655){_0x1e473f['push'](_0x1e473f['shift']());}}}(_0x57d2,0x9379f));const e={'mcpStatus':{'disconnected':_0xed6058(0x175),'connecting':_0xed6058(0x17c),'connected':'MCP\x20Connected','failed':_0xed6058(0x17b),'retrying':'MCP\x20Retrying...','unknown':_0xed6058(0x18a),'missingApiKey':_0xed6058(0x174),'invalidApiKey':_0xed6058(0x16d),'sessionOccupied':_0xed6058(0x164),'networkError':_0xed6058(0x162),'maxRetriesExceeded':_0xed6058(0x186),'clickToConnect':_0xed6058(0x188),'clickToConfigure':_0xed6058(0x17d)},'mcpConfig':{'title':_0xed6058(0x172),'description':_0xed6058(0x160),'apiKey':_0xed6058(0x16e),'apiKeyPlaceholder':_0xed6058(0x181),'apiKeyHint':_0xed6058(0x15e),'enableAuth':_0xed6058(0x18b),'enableAuthHint':_0xed6058(0x16c),'connectionInfo':_0xed6058(0x169),'mcpClientConfig':_0xed6058(0x169),'configInstructions':_0xed6058(0x183),'configStepTitle':_0xed6058(0x161),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0xed6058(0x165),'configStep3':_0xed6058(0x170),'sessionId':_0xed6058(0x167),'sessionIdDescription':_0xed6058(0x187),'authorizationDescription':_0xed6058(0x15a),'configParameters':_0xed6058(0x18f),'maxRetries':_0xed6058(0x18d),'save':_0xed6058(0x159),'saving':_0xed6058(0x15d),'note1':_0xed6058(0x16f),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xed6058(0x18e),'configError':_0xed6058(0x182),'apiApplyInfo':{'title':_0xed6058(0x17a),'description':_0xed6058(0x15b),'univerAiLabel':_0xed6058(0x185),'getStarted':_0xed6058(0x16b)},'validation':{'apiKeyRequired':_0xed6058(0x15f),'apiKeyTooShort':_0xed6058(0x15c),'invalidConfig':_0xed6058(0x171),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xed6058(0x18c),'connecting':_0xed6058(0x177),'connected':'Connected','failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'missingApiKey':_0xed6058(0x17e),'invalidApiKey':_0xed6058(0x166),'sessionOccupied':_0xed6058(0x190),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xed6058(0x189)}}},n=e;export{n as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x963e(_0x4950f5,_0x54e9a7){var _0x28cd45=_0x28cd();return _0x963e=function(_0x963e93,_0x3f6cd8){_0x963e93=_0x963e93-0x100;var _0x346e09=_0x28cd45[_0x963e93];return _0x346e09;},_0x963e(_0x4950f5,_0x54e9a7);}function _0x28cd(){var _0x450f9d=['_dialogService','IMessageService','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','apiKey','Univer\x20AI\x20Console','warn','mcp-ui.config','symbol','toString','_logService','_config$','CONNECTED','_blank','mcp.apiKey','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','string','Univer\x20AI\x20控制台','MCP:\x20网络错误','currentColor','defIds','span','NONE','univer-flex\x20univer-items-start\x20univer-gap-2','children','merge','566338FLgdCR','mcpConfig.configStep2','Copy\x20the\x20JSON\x20configuration\x20below','_messageService','MCPConnectionStatus','extend','hasOwnProperty','Retrying...','div','mcpStatus.unknown','0\x200\x2016\x2016','mcpConfig.apiApplyInfo.univerAiLabel','MCPConfigUIController','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','useCallback','label','showConfigPanel','BehaviorSubject','univer-flex\x20univer-items-center\x20univer-gap-2','MCP\x20Connected','API\x20key\x20is\x20required','Tooltip','Enable\x20authentication\x20for\x20secure\x20connections','createElement','BUTTON','_configService','indexOf','MAX_RETRIES_EXCEEDED','DISCONNECTED','subscribe','复制以下\x20JSON\x20配置','subscribeConfigValue$','register','univer-text-green-500','length','IUIPartsService','mcp-ui.command.openConfigPanel','pre','Plugin','M5.21243\x205.62036L11.8791\x2012.287','univer-text-white','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-items-start\x20univer-gap-3','API\x20密钥无效,请检查您的密钥后重试','connectionStatus$','isValid','noopener\x20noreferrer','registerCommand','UniverMCPPlugin','LocaleService','请输入您的\x20API\x20密钥','Disconnected','url(#off-line-icon_clip0_910_343)','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','UniverProMcp','API\x20密钥长度至少需要\x2010\x20位','FAILED','mcpConfig.title','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','ICommandService','on-line-icon','has','将配置添加到您的\x20MCP\x20客户端设置文件中','registerComponent','univer-text-red-500','Disposable','function','Click\x20to\x20connect\x20MCP','jsx','useState','useObservable','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','get','INVALID_API_KEY','mcpConfig.validation.apiKeyTooShort','带有\x20Bearer\x20前缀的\x20API\x20密钥。','random','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','error','配置无效','_initConfigSync','univer-flex-shrink-0\x20univer-text-blue-500','univer-text-gray-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','useDependency','需要\x20API\x20密钥才能连接','UniverNetwork','getConfig','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','未连接','mcpConfig.note1','API\x20Key','876974wsPsma','Close','CheckMarkIcon','_loading$','clsx','univer-bg-green-500','0\x200\x2017\x2017','_loadStoredApiKey','enUS','concat','MCP:\x20无效的\x20API\x20密钥','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','close','mcpConfig.validation.apiKeyRequired','pluginName','MCP:\x20会话被占用','univer-bg-red-500','bottom','<API_KEY>','text','mcpConfig.apiApplyInfo.title','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','800331szEjIl','Save\x20Configuration','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','HEADER_MENU','mcpStatus.disconnected','mcpConfig.configSaved','mergeMenu','_config','CommandType','univer-font-medium','univer-flex\x20univer-cursor-pointer\x20univer-items-center','配置更改将立即生效','https://console.univer.ai','zhCN','mcpConfig.apiKey','什么是\x20API\x20密钥?','icon','Click\x20to\x20configure\x20MCP','OTHERS','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_connectionController','_localStorageService','MCP_UI_PLUGIN','MCP\x20配置','white','getOwnPropertyDescriptor','javascript:void(0)','mcpConfig.connectionInfo','Error','off','mcpConfig.note2','map','replace','MCPUIMenuController','最大重试次数','univer_session_id:','点击配置\x20MCP','className','mcpStatus.clickToConnect','univer.plus','jsxs','MCP\x20Connection\x20Failed','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Configuration\x20Parameters:','Bearer\x20','tag','Max\x20Retries','_handleConfigure','UniverDesign','mcpConfig.configStep1','amd','6502160fnDiaW','MCP\x20Retrying...','HelpSingle','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.configStepTitle','1em','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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','url(#$1','mcpStatus.clickToConfigure','MessageType','_mcpCoreConfig$','mcpServerUrl','重启您的\x20MCP\x20客户端以使配置生效','会话当前被占用,请稍后再试','hover:univer-opacity-80','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','onStarting','http://www.w3.org/2000/svg','_apiKey$','mcpConfig.connectionStatus.disconnected','Failed\x20to\x20save\x20configuration','MCPConnectionUIController','24LZRmdr','ILocalStorageService','entries','clipPath','ComponentManager','call','mcpStatus.connected','object','univer-flex-shrink-0\x20univer-text-red-500','sessionId$','NETWORK_ERROR','MCP:\x20API\x20Key\x20Missing','UniverProMcpUi','displayName','Enable\x20Authentication','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','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','colorChannel1','mcpConfig.authorizationDescription','add','mask','univer-space-y-4','SESSION_ID_OCCUPIED','univer-bg-gray-500','mcpConfig.configError','MCPConnectionError','点击连接\x20MCP','MCPConfigPanel','MCP\x20Unknown\x20Status','3822654mRGbev','univer-bg-blue-500','prototype','OnLineIcon','_commandService','errorMessage','_menuManagerService','next','on-line-icon_clip0_910_349','react/jsx-runtime','\x20-\x20','fill','url(#on-line-icon_clip0_910_349)','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','_handleConfigSave','round','MCP\x20连接中...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','mcpConfig.configInstructions','value','Injector','validateApiKey','Success','MenuItemType','mcpConfig.connectionError.maxRetriesExceeded','API\x20密钥不能为空','UniverMCPUIPlugin','mcpConfig.connectionStatus.connected','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','mcpConfig.connectionStatus.retrying','mcpConfig.connectionError.networkError','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','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','_uiPartsService','MCP\x20客户端配置','includes','mcpConfig.validation.invalidConfig','mcpStatus.maxRetriesExceeded','getCurrentConfig','5997303LchaxX','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','React','3fsIrMy','getItem','showDeveloperTools','mcpConfig.connectionStatus.failed','trim','ISocketService','5OvIOMr','Inject','check-mark-icon','_initStatusComponent','mcpConfig.configParameters','forEach','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','配置保存失败','MCP\x20Configuration','mcpConfig.apiKeyPlaceholder','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.configStep3','mcpStatus.connecting','getOwnPropertySymbols','evenodd','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','rxjs','use','univerjs-icon\x20univerjs-icon-','Configuration\x20saved\x20successfully','path','将以下配置添加到您的\x20MCP\x20客户端设置中:','disposeWithMe','MCP\x20Connecting...','2883340CnpFdN','Input','WebSocketService','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_createConfigPanelComponent','univer-space-y-2','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','useRef','您的\x20API\x20密钥将在此浏览器中本地存储','_registerComponent','univer.ai','启用身份验证以获得安全连接','Connecting...','univer-space-y-5','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','close-small-single','0\x200\x2017\x2016','COMMAND','univer-text-sm\x20univer-font-medium','svg','Get\x20your\x20API\x20key\x20in\x20seconds','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','保存中...','Authorization:','_initializeCommands','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','idSuffix','_componentManager','off-line-icon_clip0_910_343','_localeService','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','setConfig','https://console.univer.plus','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-text-xs\x20univer-text-gray-600','connectInjector','ILogService','配置参数:','forwardRef','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','xlink:href','MCPConnectionController','removeItem','mcpConfig.apiApplyInfo.getStarted','Module','连接中...','__setCustomHeaders','attrs','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.sessionIdDescription','OpenMCPConfigPanelCommand','_mcpConnectionController','@univerjs/ui','univer-text-xs\x20univer-text-gray-500','启用身份验证','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Session\x20ID','none','IConfigService','mcpConfig.apiKeyHint','open','MCP:\x20Network\x20Error','mcpConfig.connectionError.invalidApiKey','_validateConfig','show','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCP\x20已断开','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','API\x20密钥无效,请检查密钥是否正确','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\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','univer-flex\x20univer-flex-wrap\x20univer-gap-2','propertyIsEnumerable','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','_injector','mcpConfig.save','配置保存成功','Button','univer-text-gray-400','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20超出最大重试次数','MCP_PLUGIN_CONFIG_KEY','defineProperty','univer-space-y-3','MCP:\x20缺少\x20API\x20密钥','mcpConfig.connectionError.sessionOccupied','assign','Connected','mcpConfig.apiApplyInfo.description','defs','M0\x200H16V16H0z','RETRYING','CONNECTING','配置步骤:','MCP\x20已连接','_initializeMenus','off-line-icon','@univerjs/design'];_0x28cd=function(){return _0x450f9d;};return _0x28cd();}(function(_0x5888a4,_0x2793bb){var _0x42ef48=_0x963e,_0x6fb97b=_0x5888a4();while(!![]){try{var _0x4dcfe4=parseInt(_0x42ef48(0x196))/0x1+-parseInt(_0x42ef48(0x1f4))/0x2+parseInt(_0x42ef48(0x29d))/0x3*(-parseInt(_0x42ef48(0x11a))/0x4)+-parseInt(_0x42ef48(0x2a3))/0x5*(parseInt(_0x42ef48(0x273))/0x6)+-parseInt(_0x42ef48(0x20a))/0x7*(-parseInt(_0x42ef48(0x256))/0x8)+parseInt(_0x42ef48(0x29a))/0x9+parseInt(_0x42ef48(0x23d))/0xa;if(_0x4dcfe4===_0x2793bb)break;else _0x6fb97b['push'](_0x6fb97b['shift']());}catch(_0x11f083){_0x6fb97b['push'](_0x6fb97b['shift']());}}}(_0x28cd,0x68db1),function(_0x5d05f2,_0xe5a6ff){var _0x2ed324=_0x963e;typeof exports==_0x2ed324(0x25d)&&typeof module<'u'?_0xe5a6ff(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x2ed324(0x1da)&&define[_0x2ed324(0x23c)]?define(['exports','@univerjs/core',_0x2ed324(0x27c),'@univerjs-pro/mcp',_0x2ed324(0x17c),_0x2ed324(0x14f),_0x2ed324(0x112),'react','@univerjs/network'],_0xe5a6ff):(_0x5d05f2=typeof globalThis<'u'?globalThis:_0x5d05f2||self,_0xe5a6ff(_0x5d05f2[_0x2ed324(0x262)]={},_0x5d05f2['UniverCore'],_0x5d05f2[_0x2ed324(0x29c)],_0x5d05f2[_0x2ed324(0x1cc)],_0x5d05f2[_0x2ed324(0x23a)],_0x5d05f2['UniverUi'],_0x5d05f2[_0x2ed324(0x112)],_0x5d05f2[_0x2ed324(0x29c)],_0x5d05f2[_0x2ed324(0x1ee)]));}(this,function(_0x19c1b6,_0x56b324,_0xa5d353,_0x1bee0f,_0x8c77a,_0x4b1b46,_0x5ce973,_0x557403,_0x26e3a1){'use strict';var _0x51a4e3=_0x963e;var _0x4940da=Object[_0x51a4e3(0x16d)],_0x5b90de=(_0x3a766a,_0x51db51,_0x5db0d1)=>_0x51db51 in _0x3a766a?_0x4940da(_0x3a766a,_0x51db51,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5db0d1}):_0x3a766a[_0x51db51]=_0x5db0d1,_0x335414=(_0x3dfc23,_0x78c51c,_0x551dea)=>_0x5b90de(_0x3dfc23,typeof _0x78c51c!=_0x51a4e3(0x184)?_0x78c51c+'':_0x78c51c,_0x551dea),_0x14c53d=function(){var _0x2b1281=_0x51a4e3;return _0x14c53d=Object[_0x2b1281(0x171)]||function(_0x3c0efb){var _0x416dd2=_0x2b1281;for(var _0x21df57,_0x34554a=0x1,_0x28702e=arguments[_0x416dd2(0x1b8)];_0x34554a<_0x28702e;_0x34554a++){_0x21df57=arguments[_0x34554a];for(var _0x34bbca in _0x21df57)Object['prototype'][_0x416dd2(0x19c)][_0x416dd2(0x25b)](_0x21df57,_0x34bbca)&&(_0x3c0efb[_0x34bbca]=_0x21df57[_0x34bbca]);}return _0x3c0efb;},_0x14c53d['apply'](this,arguments);},_0x2b63f3=function(_0x2f3fcd,_0x25a513){var _0xcd8dee=_0x51a4e3,_0x5d3c98={};for(var _0x3698e5 in _0x2f3fcd)Object[_0xcd8dee(0x275)][_0xcd8dee(0x19c)][_0xcd8dee(0x25b)](_0x2f3fcd,_0x3698e5)&&_0x25a513[_0xcd8dee(0x1b0)](_0x3698e5)<0x0&&(_0x5d3c98[_0x3698e5]=_0x2f3fcd[_0x3698e5]);if(_0x2f3fcd!=null&&typeof Object[_0xcd8dee(0x10f)]==_0xcd8dee(0x1da)){for(var _0x4b6457=0x0,_0x3698e5=Object[_0xcd8dee(0x10f)](_0x2f3fcd);_0x4b6457<_0x3698e5[_0xcd8dee(0x1b8)];_0x4b6457++)_0x25a513[_0xcd8dee(0x1b0)](_0x3698e5[_0x4b6457])<0x0&&Object[_0xcd8dee(0x275)][_0xcd8dee(0x163)][_0xcd8dee(0x25b)](_0x2f3fcd,_0x3698e5[_0x4b6457])&&(_0x5d3c98[_0x3698e5[_0x4b6457]]=_0x2f3fcd[_0x3698e5[_0x4b6457]]);}return _0x5d3c98;},_0x18f0e8=_0x557403[_0x51a4e3(0x140)](function(_0x1ad5fb,_0x2487c3){var _0x20e1a4=_0x51a4e3,_0x36791f=_0x1ad5fb[_0x20e1a4(0x21a)],_0x44ea6d=_0x1ad5fb['id'],_0x39c596=_0x1ad5fb['className'],_0x20ac24=_0x1ad5fb[_0x20e1a4(0x19b)],_0x2331cf=_0x2b63f3(_0x1ad5fb,[_0x20e1a4(0x21a),'id',_0x20e1a4(0x22f),_0x20e1a4(0x19b)]),_0x17d9d2=_0x20e1a4(0x114)['concat'](_0x44ea6d,'\x20')[_0x20e1a4(0x1fd)](_0x39c596||'')[_0x20e1a4(0x2a1)](),_0xe24ea1=_0x557403[_0x20e1a4(0x121)]('_'[_0x20e1a4(0x1fd)](_0xea91c9()));return _0x1357de(_0x36791f,''['concat'](_0x44ea6d),{'defIds':_0x36791f[_0x20e1a4(0x190)],'idSuffix':_0xe24ea1['current']},_0x14c53d({'ref':_0x2487c3,'className':_0x17d9d2},_0x2331cf),_0x20ac24);});function _0x1357de(_0x1c4976,_0x525a3f,_0x4668a3,_0x5e8477,_0x450b79){var _0x176fd9=_0x51a4e3;return _0x557403[_0x176fd9(0x1ad)](_0x1c4976[_0x176fd9(0x237)],_0x14c53d(_0x14c53d({'key':_0x525a3f},_0x162713(_0x1c4976,_0x4668a3,_0x450b79)),_0x5e8477),(_0x1f7c2b(_0x1c4976,_0x4668a3)[_0x176fd9(0x194)]||[])[_0x176fd9(0x229)](function(_0x5eeb7f,_0x3eab8d){var _0x59c260=_0x176fd9;return _0x1357de(_0x5eeb7f,''['concat'](_0x525a3f,'-')['concat'](_0x1c4976[_0x59c260(0x237)],'-')['concat'](_0x3eab8d),_0x4668a3,void 0x0,_0x450b79);}));}function _0x162713(_0x125230,_0x358c01,_0x52be42){var _0x5ae43b=_0x51a4e3,_0x206267=_0x14c53d({},_0x125230[_0x5ae43b(0x14a)]);_0x52be42!=null&&_0x52be42[_0x5ae43b(0x267)]&&_0x206267['fill']===_0x5ae43b(0x267)&&(_0x206267[_0x5ae43b(0x27e)]=_0x52be42[_0x5ae43b(0x267)]),_0x125230['tag']===_0x5ae43b(0x26a)&&_0x206267['id']&&(_0x206267['id']=_0x206267['id']+_0x358c01[_0x5ae43b(0x134)]),Object[_0x5ae43b(0x258)](_0x206267)['forEach'](function(_0x3dbed6){var _0x2551f4=_0x5ae43b,_0xe6cf78=_0x3dbed6[0x0],_0x3af328=_0x3dbed6[0x1];_0xe6cf78===_0x2551f4(0x26a)&&typeof _0x3af328==_0x2551f4(0x18c)&&(_0x206267[_0xe6cf78]=_0x3af328[_0x2551f4(0x22a)](/url\(#(.*)\)/,_0x2551f4(0x247)[_0x2551f4(0x1fd)](_0x358c01[_0x2551f4(0x134)],')')));});var _0x5f37a0=_0x358c01['defIds'];return!_0x5f37a0||_0x5f37a0[_0x5ae43b(0x1b8)]===0x0||(_0x125230[_0x5ae43b(0x237)]===_0x5ae43b(0x113)&&_0x206267[_0x5ae43b(0x143)]&&(_0x206267[_0x5ae43b(0x143)]=_0x206267['xlink:href']+_0x358c01[_0x5ae43b(0x134)]),Object[_0x5ae43b(0x258)](_0x206267)[_0x5ae43b(0x104)](function(_0x121739){var _0x1ed5c5=_0x5ae43b,_0x1b884d=_0x121739[0x0],_0x15e98b=_0x121739[0x1];typeof _0x15e98b==_0x1ed5c5(0x18c)&&(_0x206267[_0x1b884d]=_0x15e98b[_0x1ed5c5(0x22a)](/url\(#(.*)\)/,_0x1ed5c5(0x247)[_0x1ed5c5(0x1fd)](_0x358c01[_0x1ed5c5(0x134)],')')));})),_0x206267;}function _0x1f7c2b(_0x17eb2a,_0x9c913e){var _0x334bd8=_0x51a4e3,_0x4ac70b,_0xc6d253=_0x9c913e['defIds'];return!_0xc6d253||_0xc6d253[_0x334bd8(0x1b8)]===0x0?_0x17eb2a:_0x17eb2a[_0x334bd8(0x237)]===_0x334bd8(0x174)&&(!((_0x4ac70b=_0x17eb2a[_0x334bd8(0x194)])===null||_0x4ac70b===void 0x0)&&_0x4ac70b[_0x334bd8(0x1b8)])?_0x14c53d(_0x14c53d({},_0x17eb2a),{'children':_0x17eb2a[_0x334bd8(0x194)][_0x334bd8(0x229)](function(_0x4ff454){var _0x395cde=_0x334bd8;return typeof _0x4ff454[_0x395cde(0x14a)]['id']=='string'&&_0xc6d253&&_0xc6d253['includes'](_0x4ff454['attrs']['id'])?_0x14c53d(_0x14c53d({},_0x4ff454),{'attrs':_0x14c53d(_0x14c53d({},_0x4ff454[_0x395cde(0x14a)]),{'id':_0x4ff454['attrs']['id']+_0x9c913e[_0x395cde(0x134)]})}):_0x4ff454;})}):_0x17eb2a;}function _0xea91c9(){var _0x40e5aa=_0x51a4e3;return Math[_0x40e5aa(0x1e4)]()[_0x40e5aa(0x185)](0x24)['substring'](0x2,0x8);}_0x18f0e8[_0x51a4e3(0x263)]='UniverIcon';var _0x30c499={'tag':_0x51a4e3(0x12d),'attrs':{'xmlns':_0x51a4e3(0x251),'fill':'none','viewBox':_0x51a4e3(0x1a0),'width':_0x51a4e3(0x243),'height':_0x51a4e3(0x243)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'fill':'currentColor','d':_0x51a4e3(0x265),'fillRule':_0x51a4e3(0x110),'clipRule':_0x51a4e3(0x110)}}]},_0x2a7c8e=_0x557403[_0x51a4e3(0x140)](function(_0x3ab02f,_0x162cae){var _0x581244=_0x51a4e3;return _0x557403[_0x581244(0x1ad)](_0x18f0e8,Object[_0x581244(0x171)]({},_0x3ab02f,{'id':_0x581244(0x101),'ref':_0x162cae,'icon':_0x30c499}));});_0x2a7c8e[_0x51a4e3(0x263)]=_0x51a4e3(0x1f6);var _0x58be91={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x51a4e3(0x155),'viewBox':_0x51a4e3(0x1fa),'width':'1em','height':_0x51a4e3(0x243)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'stroke':_0x51a4e3(0x18f),'d':_0x51a4e3(0x1bd),'strokeLinecap':_0x51a4e3(0x282),'strokeLinejoin':_0x51a4e3(0x282),'strokeWidth':1.33}},{'tag':_0x51a4e3(0x116),'attrs':{'stroke':_0x51a4e3(0x18f),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x51a4e3(0x282),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0x5b855f=_0x557403['forwardRef'](function(_0x3a1014,_0x80bc87){var _0x22a6e7=_0x51a4e3;return _0x557403['createElement'](_0x18f0e8,Object['assign']({},_0x3a1014,{'id':_0x22a6e7(0x129),'ref':_0x80bc87,'icon':_0x58be91}));});_0x5b855f[_0x51a4e3(0x263)]='CloseSmallSingle';var _0xed4a5e={'tag':_0x51a4e3(0x12d),'attrs':{'xmlns':_0x51a4e3(0x251),'fill':'none','viewBox':_0x51a4e3(0x1a0),'width':'1em','height':_0x51a4e3(0x243)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'fill':_0x51a4e3(0x18f),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x51a4e3(0x116),'attrs':{'fill':'currentColor','d':_0x51a4e3(0x28f)}},{'tag':_0x51a4e3(0x116),'attrs':{'fill':_0x51a4e3(0x18f),'d':_0x51a4e3(0x15f),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x3161b6=_0x557403[_0x51a4e3(0x140)](function(_0x5c5ef6,_0x15014f){var _0x488cac=_0x51a4e3;return _0x557403['createElement'](_0x18f0e8,Object[_0x488cac(0x171)]({},_0x5c5ef6,{'id':'help-single','ref':_0x15014f,'icon':_0xed4a5e}));});_0x3161b6[_0x51a4e3(0x263)]=_0x51a4e3(0x23f);var _0x5b4796={'tag':_0x51a4e3(0x12d),'attrs':{'xmlns':_0x51a4e3(0x251),'fill':_0x51a4e3(0x155),'viewBox':_0x51a4e3(0x1a0),'width':'1em','height':_0x51a4e3(0x243)},'children':[{'tag':'g','attrs':{'clipPath':_0x51a4e3(0x1ca)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'stroke':'currentColor','d':_0x51a4e3(0x24f),'strokeLinecap':_0x51a4e3(0x282),'strokeLinejoin':_0x51a4e3(0x282),'strokeWidth':1.2}}]},{'tag':_0x51a4e3(0x174),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x51a4e3(0x136)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'fill':_0x51a4e3(0x222),'d':_0x51a4e3(0x175)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5ec6d3=_0x557403[_0x51a4e3(0x140)](function(_0x5640e6,_0x47526b){var _0x2b7f17=_0x51a4e3;return _0x557403[_0x2b7f17(0x1ad)](_0x18f0e8,Object[_0x2b7f17(0x171)]({},_0x5640e6,{'id':_0x2b7f17(0x17b),'ref':_0x47526b,'icon':_0x5b4796}));});_0x5ec6d3['displayName']='OffLineIcon';var _0x4b0697={'tag':_0x51a4e3(0x12d),'attrs':{'xmlns':_0x51a4e3(0x251),'fill':_0x51a4e3(0x155),'viewBox':_0x51a4e3(0x12a),'width':_0x51a4e3(0x243),'height':_0x51a4e3(0x243)},'children':[{'tag':'g','attrs':{'clipPath':_0x51a4e3(0x27f)},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'stroke':_0x51a4e3(0x18f),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x51a4e3(0x282),'strokeLinejoin':_0x51a4e3(0x282),'strokeWidth':1.2}}]},{'tag':_0x51a4e3(0x174),'attrs':{},'children':[{'tag':_0x51a4e3(0x259),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x51a4e3(0x116),'attrs':{'fill':_0x51a4e3(0x222),'d':_0x51a4e3(0x175),'transform':'translate(.97)'}}]}]}],'defIds':[_0x51a4e3(0x27b)]},_0x399fb2=_0x557403[_0x51a4e3(0x140)](function(_0x4650d7,_0x580f68){var _0x40f07c=_0x51a4e3;return _0x557403[_0x40f07c(0x1ad)](_0x18f0e8,Object['assign']({},_0x4650d7,{'id':_0x40f07c(0x1d4),'ref':_0x580f68,'icon':_0x4b0697}));});_0x399fb2[_0x51a4e3(0x263)]=_0x51a4e3(0x276);function _0x503e61(_0x407ff1){var _0x54ce3f=_0x51a4e3,_0x4a11d6,_0x862501;const {mcpCoreConfig:_0x1bc295,onSave:_0x1794f3,loading:_0x626c06=!0x1,config:_0x2727bb,connectionStatus$:_0x2f0514,connectionError$:_0x3fdb9a,currentApiKey$:_0xe4aeb9,currentSessionId$:_0x4dd26c}=_0x407ff1,_0x1c927d=_0x4b1b46[_0x54ce3f(0x1ec)](_0x56b324[_0x54ce3f(0x1c7)]),_0x2c740a=_0x4b1b46[_0x54ce3f(0x1de)](_0x2f0514,_0x1bee0f[_0x54ce3f(0x19a)][_0x54ce3f(0x1b2)]),_0x5c5445=_0x4b1b46[_0x54ce3f(0x1de)](_0x3fdb9a,_0x1bee0f[_0x54ce3f(0x26f)][_0x54ce3f(0x192)]),_0x38aba2=_0x4b1b46[_0x54ce3f(0x1de)](_0x4dd26c,''),_0x42b922=_0x4b1b46[_0x54ce3f(0x1de)](_0xe4aeb9,''),[_0x4a9507,_0x1d5357]=_0x557403[_0x54ce3f(0x1dd)](_0x42b922||''),_0x381360=!0x0,_0x4e2e08=_0x2727bb['showDeveloperTools']&&_0x1bc295[_0x54ce3f(0x24b)]&&(_0x1bc295['mcpServerUrl']['includes']('univer.plus')||_0x1bc295[_0x54ce3f(0x24b)][_0x54ce3f(0x296)](_0x54ce3f(0x124))),_0x594930=(_0x4a11d6=_0x1bc295[_0x54ce3f(0x24b)])==null?void 0x0:_0x4a11d6['includes'](_0x54ce3f(0x231)),_0x434593=(_0x862501=_0x1bc295[_0x54ce3f(0x24b)])==null?void 0x0:_0x862501[_0x54ce3f(0x296)](_0x54ce3f(0x124)),_0x385fe1=_0x594930?_0x54ce3f(0x13a):_0x54ce3f(0x216),_0x58a7ea=_0x2727bb[_0x54ce3f(0x29f)]&&(_0x594930||_0x434593),[_0x204637,_0x4a96d0]=_0x557403['useState'](!_0x4a9507[_0x54ce3f(0x2a1)]()),_0x1f65c2=(_0x5d9d22,_0x468f7f)=>{var _0x5b4138=_0x54ce3f;if(_0x468f7f===_0x1bee0f[_0x5b4138(0x26f)][_0x5b4138(0x1e1)])return _0x5b4138(0x234);switch(_0x5d9d22){case _0x1bee0f[_0x5b4138(0x19a)][_0x5b4138(0x188)]:return _0x5b4138(0x15d);case _0x1bee0f[_0x5b4138(0x19a)][_0x5b4138(0x177)]:case _0x1bee0f[_0x5b4138(0x19a)][_0x5b4138(0x176)]:return _0x5b4138(0x18b);case _0x1bee0f[_0x5b4138(0x19a)]['FAILED']:return _0x5b4138(0x234);default:return _0x5b4138(0x11d);}},_0x25f6fe=(_0x38fe49,_0x25a935)=>{var _0x3ed9a8=_0x54ce3f;if(_0x25a935===_0x1bee0f['MCPConnectionError'][_0x3ed9a8(0x1e1)])return _0x3ed9a8(0x204);switch(_0x38fe49){case _0x1bee0f[_0x3ed9a8(0x19a)][_0x3ed9a8(0x188)]:return _0x3ed9a8(0x1f9);case _0x1bee0f[_0x3ed9a8(0x19a)]['CONNECTING']:case _0x1bee0f[_0x3ed9a8(0x19a)][_0x3ed9a8(0x176)]:return _0x3ed9a8(0x274);case _0x1bee0f[_0x3ed9a8(0x19a)][_0x3ed9a8(0x1ce)]:return'univer-bg-red-500';default:return _0x3ed9a8(0x26d);}},_0x112cfb=_0x2021ed=>{var _0x23d940=_0x54ce3f;switch(_0x2021ed){case _0x1bee0f[_0x23d940(0x19a)][_0x23d940(0x188)]:return _0x1c927d['t'](_0x23d940(0x28e));case _0x1bee0f[_0x23d940(0x19a)][_0x23d940(0x177)]:return _0x1c927d['t'](_0x23d940(0x1bf));case _0x1bee0f[_0x23d940(0x19a)][_0x23d940(0x1ce)]:return _0x1c927d['t'](_0x23d940(0x2a0));case _0x1bee0f[_0x23d940(0x19a)][_0x23d940(0x176)]:return _0x1c927d['t'](_0x23d940(0x290));default:return _0x1c927d['t'](_0x23d940(0x253));}},_0xf495bf=_0x21783d=>{var _0x1f7675=_0x54ce3f;switch(_0x21783d){case _0x1bee0f[_0x1f7675(0x26f)][_0x1f7675(0x1e1)]:return _0x1c927d['t'](_0x1f7675(0x15a));case _0x1bee0f[_0x1f7675(0x26f)]['SESSION_ID_OCCUPIED']:return _0x1c927d['t'](_0x1f7675(0x170));case _0x1bee0f[_0x1f7675(0x26f)][_0x1f7675(0x260)]:return _0x1c927d['t'](_0x1f7675(0x291));case _0x1bee0f['MCPConnectionError'][_0x1f7675(0x1b1)]:return _0x1c927d['t'](_0x1f7675(0x28b));default:return'';}},_0x476c1a=_0x557403[_0x54ce3f(0x1a4)](()=>{var _0x3f2e0e=_0x54ce3f;const _0x3b6391={..._0x1bc295,'apiKey':_0x4a9507[_0x3f2e0e(0x2a1)](),'enableAuth':_0x381360};_0x1794f3(_0x3b6391);},[_0x1bc295,_0x4a9507,_0x381360,_0x1794f3]),_0x5edf88=_0x4a9507[_0x54ce3f(0x2a1)]()[_0x54ce3f(0x1b8)]>0x0;return _0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1be),'children':'⚙'})}),_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'children':_0xa5d353[_0x54ce3f(0x1dc)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x1c927d['t']('mcpConfig.description')})})]})}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x1f0)+_0x1f65c2(_0x2c740a,_0x5c5445)+_0x54ce3f(0x1eb),'children':_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x161)+_0x25f6fe(_0x2c740a,_0x5c5445)+'\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'}),_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x12c),'children':_0x112cfb(_0x2c740a)})]})}),_0x5c5445!==_0x1bee0f[_0x54ce3f(0x26f)]['NONE']&&(_0x2c740a===_0x1bee0f['MCPConnectionStatus']['FAILED']||_0x5c5445===_0x1bee0f[_0x54ce3f(0x26f)][_0x54ce3f(0x1e1)])&&_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x153),'children':_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x193),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('span',{'className':_0x54ce3f(0x25e),'children':'⚠️'}),_0xa5d353[_0x54ce3f(0x1dc)]('p',{'className':_0x54ce3f(0x20c),'children':_0xf495bf(_0x5c5445)})]})})]}),_0xa5d353['jsx']('div',{'className':_0x54ce3f(0x108),'children':_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x127),'children':[_0xa5d353[_0x54ce3f(0x232)]('div',{'className':_0x54ce3f(0x11f),'children':[_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x1a5),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'children':'🔑'}),'\x20',_0x1c927d['t'](_0x54ce3f(0x218)),_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':'univer-text-red-500','children':'*'}),_0x4e2e08&&_0xa5d353[_0x54ce3f(0x1dc)]('a',{'href':_0x54ce3f(0x224),'onClick':()=>_0x4a96d0(!0x0),'className':_0x54ce3f(0x133),'title':_0x1c927d['t']('mcpConfig.apiApplyInfo.title'),'children':_0xa5d353['jsx'](_0x3161b6,{})})]}),_0xa5d353[_0x54ce3f(0x1dc)](_0x8c77a[_0x54ce3f(0x11b)],{'type':_0x54ce3f(0x207),'placeholder':_0x1c927d['t'](_0x54ce3f(0x10b)),'value':_0x4a9507,'onChange':_0x1d5357,'disabled':_0x626c06,'autoComplete':_0x54ce3f(0x227)}),_0xa5d353[_0x54ce3f(0x1dc)]('p',{'className':_0x54ce3f(0x150),'children':_0x1c927d['t'](_0x54ce3f(0x157))})]}),_0x4e2e08&&_0x204637&&_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x246),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('a',{'href':_0x54ce3f(0x224),'onClick':()=>_0x4a96d0(!0x1),'className':_0x54ce3f(0x293),'title':_0x54ce3f(0x1f5),'children':_0xa5d353['jsx'](_0x5b855f,{})}),_0xa5d353[_0x54ce3f(0x232)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x164),'children':_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':'univer-text-blue-600','children':'🚀'})}),_0xa5d353[_0x54ce3f(0x232)]('div',{'className':'univer-flex-1','children':[_0xa5d353[_0x54ce3f(0x1dc)]('h4',{'className':_0x54ce3f(0x1a3),'children':_0x1c927d['t'](_0x54ce3f(0x208))}),_0xa5d353[_0x54ce3f(0x1dc)]('p',{'className':_0x54ce3f(0x240),'children':_0x1c927d['t'](_0x54ce3f(0x173))}),_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x162),'children':_0x58a7ea&&_0xa5d353['jsxs']('a',{'href':_0x385fe1,'target':_0x54ce3f(0x189),'rel':_0x54ce3f(0x1c4),'className':_0x54ce3f(0x17f),'children':[_0xa5d353['jsx']('span',{'children':'🤖'}),_0x1c927d['t'](_0x54ce3f(0x1a1)),_0xa5d353['jsx'](_0x54ce3f(0x191),{'className':_0x54ce3f(0x169),'children':'↗'})]})}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x14b),'children':['✨','\x20',_0x1c927d['t'](_0x54ce3f(0x146))]})]})]})]}),_0x2727bb[_0x54ce3f(0x29f)]&&_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0xa5d353[_0x54ce3f(0x232)]('h4',{'className':_0x54ce3f(0x244),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('span',{'children':'🔗'}),'\x20',_0x1c927d['t'](_0x54ce3f(0x225))]}),_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x26b),'children':[_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':'univer-space-y-3','children':[_0xa5d353['jsx']('p',{'className':_0x54ce3f(0x13c),'children':_0x1c927d['t'](_0x54ce3f(0x285))}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x11f),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x10c),'children':_0x1c927d['t'](_0x54ce3f(0x242))}),_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x1d2),'children':[_0xa5d353['jsxs'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x1a8),'children':[_0xa5d353['jsx'](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1e5),'children':'1'}),_0x1c927d['t'](_0x54ce3f(0x23b))]}),_0xa5d353['jsxs']('div',{'className':_0x54ce3f(0x1a8),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1e5),'children':'2'}),_0x1c927d['t'](_0x54ce3f(0x197))]}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0xa5d353[_0x54ce3f(0x1dc)]('span',{'className':_0x54ce3f(0x1e5),'children':'3'}),_0x1c927d['t'](_0x54ce3f(0x10d))]})]})]})]}),_0xa5d353[_0x54ce3f(0x232)]('div',{'className':_0x54ce3f(0x11f),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x54ce3f(0x10a)}),_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x1bb),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':_0x54ce3f(0x1ff)+_0x38aba2+'\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20'+(_0x4a9507||_0x54ce3f(0x206))+_0x54ce3f(0x1cb)})})]}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x16e),'children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x10c),'children':_0x1c927d['t'](_0x54ce3f(0x103))}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-space-y-2','children':[_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x1c0),'children':[_0xa5d353['jsx'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x21d)}),_0xa5d353['jsxs']('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x120),'children':_0x54ce3f(0x22d)}),_0xa5d353['jsx'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x150),'children':_0x1c927d['t'](_0x54ce3f(0x14c))})]})]}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x1c0),'children':[_0xa5d353['jsx'](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x21d)}),_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x120),'children':_0x54ce3f(0x131)}),_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x150),'children':_0x1c927d['t'](_0x54ce3f(0x268))})]})]})]})]})]})]}),_0xa5d353['jsx'](_0x8c77a[_0x54ce3f(0x168)],{'onClick':_0x476c1a,'disabled':!_0x5edf88||_0x626c06,'className':'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','children':_0x626c06?_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1a8),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x191),{'children':'⟲'}),_0x1c927d['t']('mcpConfig.saving')]}):_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x191),{'className':_0x54ce3f(0x1a8),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x2a7c8e,{}),_0x1c927d['t'](_0x54ce3f(0x166))]})}),_0xa5d353[_0x54ce3f(0x1dc)]('div',{'className':_0x54ce3f(0x128),'children':_0xa5d353[_0x54ce3f(0x232)](_0x54ce3f(0x19e),{'className':'univer-flex\x20univer-gap-3','children':[_0xa5d353[_0x54ce3f(0x1dc)]('span',{'className':_0x54ce3f(0x1e9),'children':'💡'}),_0xa5d353[_0x54ce3f(0x232)]('div',{'className':_0x54ce3f(0x292),'children':[_0xa5d353[_0x54ce3f(0x1dc)](_0x54ce3f(0x19e),{'className':_0x54ce3f(0x213),'children':'Configuration\x20Notes:'}),_0xa5d353[_0x54ce3f(0x232)]('div',{'children':['•',_0x1c927d['t'](_0x54ce3f(0x1f2))]}),_0xa5d353[_0x54ce3f(0x232)]('div',{'children':['•',_0x1c927d['t'](_0x54ce3f(0x228))]})]})]})})]})})]});}const _0x412294=_0x51a4e3(0x183),_0x4091a5={'showDeveloperTools':!0x1};var _0x268d55=Object['getOwnPropertyDescriptor'],_0x6ae026=(_0x32b59e,_0x3d0123,_0x51451b,_0x37ddf8)=>{var _0x5d39e8=_0x51a4e3;for(var _0x354a47=_0x37ddf8>0x1?void 0x0:_0x37ddf8?_0x268d55(_0x3d0123,_0x51451b):_0x3d0123,_0x1e8c5d=_0x32b59e[_0x5d39e8(0x1b8)]-0x1,_0x57fe4c;_0x1e8c5d>=0x0;_0x1e8c5d--)(_0x57fe4c=_0x32b59e[_0x1e8c5d])&&(_0x354a47=_0x57fe4c(_0x354a47)||_0x354a47);return _0x354a47;},_0x1b0004=(_0x49c715,_0x45ff79)=>(_0x2b5d27,_0x1e9154)=>_0x45ff79(_0x2b5d27,_0x1e9154,_0x49c715);const _0x20df98=_0x51a4e3(0x18a),_0x4f327b='mcp-config-dialog';_0x19c1b6['MCPConfigUIController']=class extends _0x56b324[_0x51a4e3(0x1d9)]{constructor(_0xa5e59b,_0x131165,_0x2bbd2c,_0x5e1cc4,_0x38c0f2,_0x3a61d1,_0x29b144,_0x19b979,_0x522c8e,_0x579c6c){var _0x2655f1=_0x51a4e3;super(),_0x335414(this,'_loading$',new _0x5ce973[(_0x2655f1(0x1a7))](!0x1)),_0x335414(this,'_mcpCoreConfig$',new _0x5ce973[(_0x2655f1(0x1a7))]({})),_0x335414(this,_0x2655f1(0x187),new _0x5ce973[(_0x2655f1(0x1a7))]({})),_0x335414(this,_0x2655f1(0x252),new _0x5ce973['BehaviorSubject']('')),_0x335414(this,_0x2655f1(0x281),async _0x269b6c=>{var _0x1ff81a=_0x2655f1,_0x2cd594,_0x1a090;this[_0x1ff81a(0x1f7)][_0x1ff81a(0x27a)](!0x0);try{const _0x2e6c8c=await this[_0x1ff81a(0x15b)](_0x269b6c);if(!_0x2e6c8c['isValid']){this['_messageService'][_0x1ff81a(0x15c)]({'type':_0x8c77a[_0x1ff81a(0x249)]['Error'],'content':_0x2e6c8c[_0x1ff81a(0x278)]||this[_0x1ff81a(0x137)]['t'](_0x1ff81a(0x297))});return;}_0x269b6c['apiKey']?await this['_localStorageService']['setItem'](_0x20df98,_0x269b6c[_0x1ff81a(0x180)]['trim']()):await this['_localStorageService'][_0x1ff81a(0x145)](_0x20df98),this[_0x1ff81a(0x252)][_0x1ff81a(0x27a)](((_0x2cd594=_0x269b6c[_0x1ff81a(0x180)])==null?void 0x0:_0x2cd594[_0x1ff81a(0x2a1)]())||''),this['_mcpConnectionController'][_0x1ff81a(0x149)]({'Authorization':_0x1ff81a(0x236)+((_0x1a090=_0x269b6c[_0x1ff81a(0x180)])==null?void 0x0:_0x1a090[_0x1ff81a(0x2a1)]())}),this[_0x1ff81a(0x199)][_0x1ff81a(0x15c)]({'type':_0x8c77a[_0x1ff81a(0x249)][_0x1ff81a(0x289)],'content':this['_localeService']['t'](_0x1ff81a(0x20f))}),setTimeout(()=>{var _0x37c878=_0x1ff81a;this[_0x37c878(0x17d)][_0x37c878(0x200)](_0x4f327b);},0x320);}catch(_0x3e44d5){this[_0x1ff81a(0x186)][_0x1ff81a(0x1e6)](_0x1ff81a(0x138),_0x3e44d5),this[_0x1ff81a(0x199)][_0x1ff81a(0x15c)]({'type':_0x8c77a[_0x1ff81a(0x249)][_0x1ff81a(0x226)],'content':this['_localeService']['t'](_0x1ff81a(0x26e))});}finally{this[_0x1ff81a(0x1f7)][_0x1ff81a(0x27a)](!0x1);}}),(this['_injector']=_0xa5e59b,this[_0x2655f1(0x294)]=_0x131165,this['_configService']=_0x2bbd2c,this[_0x2655f1(0x21f)]=_0x5e1cc4,this[_0x2655f1(0x17d)]=_0x38c0f2,this[_0x2655f1(0x199)]=_0x3a61d1,this[_0x2655f1(0x135)]=_0x29b144,this[_0x2655f1(0x137)]=_0x19b979,this[_0x2655f1(0x186)]=_0x522c8e,this[_0x2655f1(0x14e)]=_0x579c6c,this['_initConfigSync'](),this[_0x2655f1(0x1fb)](),this[_0x2655f1(0x123)]());}[_0x51a4e3(0x1a6)](){var _0x3acd43=_0x51a4e3;this[_0x3acd43(0x17d)][_0x3acd43(0x158)]({'id':_0x4f327b,'title':{'title':this['_localeService']['t'](_0x3acd43(0x1cf))},'children':{'label':_0x3acd43(0x271)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x3a3974=_0x3acd43;this[_0x3a3974(0x17d)][_0x3a3974(0x200)](_0x4f327b);}});}[_0x51a4e3(0x299)](){var _0x4595a3=_0x51a4e3;return this['_mcpCoreConfig$'][_0x4595a3(0x286)];}[_0x51a4e3(0x123)](){var _0x336795=_0x51a4e3;this[_0x336795(0x118)](this[_0x336795(0x135)][_0x336795(0x1b6)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}[_0x51a4e3(0x11e)](){var _0x37227f=_0x51a4e3;return _0x4b1b46[_0x37227f(0x13d)](()=>{var _0x42e5cb=_0x37227f,_0x8db7da,_0x25cf4f,_0xb11a6f;return _0xa5d353['jsx'](_0x503e61,{'config':this[_0x42e5cb(0x187)][_0x42e5cb(0x286)],'mcpCoreConfig':this[_0x42e5cb(0x24a)][_0x42e5cb(0x286)],'currentApiKey$':this[_0x42e5cb(0x252)],'onSave':this['_handleConfigSave'],'loading':this[_0x42e5cb(0x1f7)][_0x42e5cb(0x286)],'connectionStatus$':(_0x8db7da=this[_0x42e5cb(0x14e)])==null?void 0x0:_0x8db7da[_0x42e5cb(0x1c2)],'connectionError$':(_0x25cf4f=this['_mcpConnectionController'])==null?void 0x0:_0x25cf4f['connectionError$'],'currentSessionId$':(_0xb11a6f=this[_0x42e5cb(0x14e)])==null?void 0x0:_0xb11a6f[_0x42e5cb(0x25f)]});},this[_0x37227f(0x165)]);}[_0x51a4e3(0x1e8)](){var _0x35d2d9=_0x51a4e3;this[_0x35d2d9(0x118)](this[_0x35d2d9(0x1af)][_0x35d2d9(0x1b5)](_0x1bee0f[_0x35d2d9(0x16c)])[_0x35d2d9(0x1b3)](_0x19e4f1=>{var _0xbb10ba=_0x35d2d9;this[_0xbb10ba(0x24a)][_0xbb10ba(0x27a)](_0x19e4f1||{});}));const _0x2d0ea1=this['_configService'][_0x35d2d9(0x1ef)](_0x1bee0f[_0x35d2d9(0x16c)]);this[_0x35d2d9(0x24a)][_0x35d2d9(0x27a)](_0x2d0ea1||{}),this[_0x35d2d9(0x118)](this[_0x35d2d9(0x1af)]['subscribeConfigValue$'](_0x412294)[_0x35d2d9(0x1b3)](_0x42d139=>{var _0x2a5ade=_0x35d2d9;this['_config$'][_0x2a5ade(0x27a)](_0x42d139||{});}));const _0x2f3a90=this[_0x35d2d9(0x1af)]['getConfig'](_0x412294);this[_0x35d2d9(0x187)][_0x35d2d9(0x27a)](_0x2f3a90||{});}async[_0x51a4e3(0x1fb)](){var _0x56d665=_0x51a4e3;const _0x1eff44=await this[_0x56d665(0x21f)][_0x56d665(0x29e)](_0x20df98);_0x1eff44&&(this[_0x56d665(0x14e)][_0x56d665(0x149)]({'Authorization':_0x56d665(0x236)+_0x1eff44}),this[_0x56d665(0x252)]['next'](_0x1eff44));}async[_0x51a4e3(0x15b)](_0xb10536){var _0x47ba0c=_0x51a4e3;if(!_0xb10536[_0x47ba0c(0x180)]||_0xb10536['apiKey'][_0x47ba0c(0x2a1)]()[_0x47ba0c(0x1b8)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x47ba0c(0x201))};if(_0xb10536[_0x47ba0c(0x180)][_0x47ba0c(0x2a1)]()[_0x47ba0c(0x1b8)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x47ba0c(0x137)]['t'](_0x47ba0c(0x1e2))};try{const _0xf6a5c7=await this['_injector'][_0x47ba0c(0x1e0)](_0x1bee0f[_0x47ba0c(0x144)])[_0x47ba0c(0x288)](_0xb10536[_0x47ba0c(0x180)]['trim']());return _0xf6a5c7[_0x47ba0c(0x1c3)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0xf6a5c7[_0x47ba0c(0x1e6)]||this[_0x47ba0c(0x137)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x413e68){return console[_0x47ba0c(0x182)](_0x47ba0c(0x12f),_0x413e68),{'isValid':!0x0};}}},_0x19c1b6[_0x51a4e3(0x1a2)]=_0x6ae026([_0x1b0004(0x0,_0x56b324[_0x51a4e3(0x100)](_0x56b324['Injector'])),_0x1b0004(0x1,_0x4b1b46['IUIPartsService']),_0x1b0004(0x2,_0x56b324[_0x51a4e3(0x156)]),_0x1b0004(0x3,_0x56b324[_0x51a4e3(0x257)]),_0x1b0004(0x4,_0x4b1b46['IDialogService']),_0x1b0004(0x5,_0x4b1b46[_0x51a4e3(0x17e)]),_0x1b0004(0x6,_0x56b324[_0x51a4e3(0x100)](_0x4b1b46[_0x51a4e3(0x25a)])),_0x1b0004(0x7,_0x56b324['Inject'](_0x56b324[_0x51a4e3(0x1c7)])),_0x1b0004(0x8,_0x56b324[_0x51a4e3(0x13e)]),_0x1b0004(0x9,_0x56b324[_0x51a4e3(0x100)](_0x1bee0f['MCPConnectionController']))],_0x19c1b6[_0x51a4e3(0x1a2)]);const _0x30ffe3={'id':_0x51a4e3(0x1ba),'type':_0x56b324[_0x51a4e3(0x212)][_0x51a4e3(0x12b)],'handler':async(_0x34fc61,_0x129392)=>(_0x34fc61['get'](_0x19c1b6['MCPConfigUIController'])['showConfigPanel'](),!0x0)};function _0x44459e(_0x537861,_0x559c9a){var _0x30b6cd=_0x51a4e3;switch(_0x537861){case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x1b2)]:return _0x30b6cd(0x20e);case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x177)]:return _0x30b6cd(0x10e);case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x188)]:return _0x30b6cd(0x25c);case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x1ce)]:switch(_0x559c9a){case _0x1bee0f[_0x30b6cd(0x26f)]['INVALID_API_KEY']:return'mcpStatus.invalidApiKey';case _0x1bee0f[_0x30b6cd(0x26f)][_0x30b6cd(0x26c)]:return'mcpStatus.sessionOccupied';case _0x1bee0f[_0x30b6cd(0x26f)][_0x30b6cd(0x260)]:return'mcpStatus.networkError';case _0x1bee0f[_0x30b6cd(0x26f)]['MAX_RETRIES_EXCEEDED']:return _0x30b6cd(0x298);default:return'mcpStatus.failed';}case _0x1bee0f[_0x30b6cd(0x19a)][_0x30b6cd(0x176)]:return'mcpStatus.retrying';default:return _0x30b6cd(0x19f);}}function _0x8a7530(_0x4f5a75,_0x17f690,_0x322328){var _0x3ce23a=_0x51a4e3;const _0x295aca=_0x44459e(_0x4f5a75,_0x17f690),_0x5614b3=_0x322328['t'](_0x295aca);return _0x4f5a75===_0x1bee0f[_0x3ce23a(0x19a)][_0x3ce23a(0x1b2)]&&_0x17f690===_0x1bee0f[_0x3ce23a(0x26f)]['INVALID_API_KEY']?_0x5614b3+_0x3ce23a(0x27d)+_0x322328['t'](_0x3ce23a(0x248)):_0x4f5a75===_0x1bee0f[_0x3ce23a(0x19a)][_0x3ce23a(0x188)]?''+_0x5614b3:_0x4f5a75===_0x1bee0f[_0x3ce23a(0x19a)][_0x3ce23a(0x1b2)]||_0x4f5a75===_0x1bee0f[_0x3ce23a(0x19a)][_0x3ce23a(0x1ce)]?_0x5614b3+_0x3ce23a(0x27d)+_0x322328['t'](_0x3ce23a(0x230)):_0x5614b3;}function _0x4df16c(_0x52d1d4){var _0x5a0652=_0x51a4e3;switch(_0x52d1d4){case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x188)]:return _0x5a0652(0x1b7);case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x177)]:case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x176)]:return'univer-text-yellow-500';case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x1ce)]:case _0x1bee0f[_0x5a0652(0x19a)][_0x5a0652(0x1b2)]:return _0x5a0652(0x1d8);default:return _0x5a0652(0x1ea);}}function _0xe8bf5d(_0xf0991){var _0x21a23f=_0x51a4e3;const {status$:_0xe4b842,error$:_0x4e7e61,onConfigure:_0x158006}=_0xf0991,_0x1877bd=_0x4b1b46[_0x21a23f(0x1de)](_0xe4b842,_0x1bee0f[_0x21a23f(0x19a)][_0x21a23f(0x1b2)]),_0x1b6e3a=_0x4b1b46[_0x21a23f(0x1de)](_0x4e7e61,_0x1bee0f[_0x21a23f(0x26f)][_0x21a23f(0x192)]),_0x46af00=_0x4b1b46[_0x21a23f(0x1ec)](_0x56b324['LocaleService']),_0x5788ee=_0x1877bd===_0x1bee0f[_0x21a23f(0x19a)][_0x21a23f(0x188)],_0x5327fc=_0x1877bd===_0x1bee0f['MCPConnectionStatus'][_0x21a23f(0x177)]||_0x1877bd===_0x1bee0f['MCPConnectionStatus'][_0x21a23f(0x176)],_0x554eb5=_0x46af00['t'](_0x44459e(_0x1877bd,_0x1b6e3a)),_0x520ce6=_0x8a7530(_0x1877bd,_0x1b6e3a,_0x46af00),_0x16745d=_0x4df16c(_0x1877bd),_0x39799c=_0x5788ee?_0xa5d353[_0x21a23f(0x1dc)](_0x399fb2,{}):_0xa5d353[_0x21a23f(0x1dc)](_0x5ec6d3,{}),_0x2997e7=_0x557403[_0x21a23f(0x1a4)](()=>{_0x158006&&_0x158006();},[_0x5788ee,_0x5327fc,_0x158006]);function _0x1954cc(){var _0x1f02d0=_0x21a23f;return _0xa5d353[_0x1f02d0(0x232)](_0x1f02d0(0x19e),{'className':_0x8c77a[_0x1f02d0(0x1f8)](_0x1f02d0(0x214),_0x158006&&_0x1f02d0(0x24e)),'onClick':_0x158006?_0x2997e7:void 0x0,'children':[_0xa5d353[_0x1f02d0(0x1dc)](_0x1f02d0(0x19e),{'className':_0x8c77a[_0x1f02d0(0x1f8)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x16745d),'children':_0x39799c}),_0xa5d353[_0x1f02d0(0x1dc)](_0x1f02d0(0x19e),{'className':_0x1f02d0(0x152),'children':_0x554eb5})]});}return _0xa5d353[_0x21a23f(0x1dc)](_0x8c77a[_0x21a23f(0x1ab)],{'title':_0x520ce6,'placement':_0x21a23f(0x205),'children':_0x1954cc()});}var _0x193f4e=Object[_0x51a4e3(0x223)],_0x310908=(_0x1b0afa,_0x5814b5,_0x2f5031,_0x473ae0)=>{for(var _0x3e5ffd=_0x473ae0>0x1?void 0x0:_0x473ae0?_0x193f4e(_0x5814b5,_0x2f5031):_0x5814b5,_0x887de1=_0x1b0afa['length']-0x1,_0x55a8c0;_0x887de1>=0x0;_0x887de1--)(_0x55a8c0=_0x1b0afa[_0x887de1])&&(_0x3e5ffd=_0x55a8c0(_0x3e5ffd)||_0x3e5ffd);return _0x3e5ffd;},_0x690cac=(_0x4d5454,_0x3d84ba)=>(_0x34b75e,_0xf08585)=>_0x3d84ba(_0x34b75e,_0xf08585,_0x4d5454);_0x19c1b6['MCPConnectionUIController']=class extends _0x56b324[_0x51a4e3(0x1d9)]{constructor(_0x4e6707,_0x5cd244,_0x5676ed){var _0x18279b=_0x51a4e3;super(),this[_0x18279b(0x165)]=_0x4e6707,this[_0x18279b(0x21e)]=_0x5cd244,this[_0x18279b(0x294)]=_0x5676ed,this[_0x18279b(0x21e)]['enableAutoConnect']=!0x1,this[_0x18279b(0x102)]();}['_initStatusComponent'](){var _0x31c87f=_0x51a4e3;this[_0x31c87f(0x118)](this[_0x31c87f(0x294)][_0x31c87f(0x1d7)](_0x4b1b46['BuiltInUIPart'][_0x31c87f(0x20d)],()=>_0x4b1b46[_0x31c87f(0x13d)](_0x45682d({'status$':this[_0x31c87f(0x21e)][_0x31c87f(0x1c2)],'error$':this[_0x31c87f(0x21e)]['connectionError$'],'onConfigure':()=>this[_0x31c87f(0x239)]()}),this[_0x31c87f(0x165)])));}[_0x51a4e3(0x239)](){var _0x389123=_0x51a4e3;this[_0x389123(0x165)][_0x389123(0x1e0)](_0x19c1b6[_0x389123(0x1a2)])[_0x389123(0x1a6)]();}},_0x19c1b6[_0x51a4e3(0x255)]=_0x310908([_0x690cac(0x0,_0x56b324[_0x51a4e3(0x100)](_0x56b324[_0x51a4e3(0x287)])),_0x690cac(0x1,_0x56b324[_0x51a4e3(0x100)](_0x1bee0f['MCPConnectionController'])),_0x690cac(0x2,_0x4b1b46[_0x51a4e3(0x1b9)])],_0x19c1b6[_0x51a4e3(0x255)]);function _0x45682d(_0x3b30eb){const {status$:_0x41a521,error$:_0x419568,onConfigure:_0x34fa3c}=_0x3b30eb;return function(){return _0xa5d353['jsx'](_0xe8bf5d,{'status$':_0x41a521,'error$':_0x419568,'onConfigure':_0x34fa3c});};}function _0x392f53(_0x29faaf){var _0x374cdc=_0x51a4e3;return{'id':_0x30ffe3['id'],'type':_0x4b1b46[_0x374cdc(0x28a)][_0x374cdc(0x1ae)],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x374cdc(0x1cf)};}const _0x5a6e28={[_0x4b1b46['RibbonStartGroup'][_0x51a4e3(0x21c)]]:{[_0x30ffe3['id']]:{'order':0xa,'menuItemFactory':_0x392f53}}};var _0x23c0bd=Object[_0x51a4e3(0x223)],_0x5f01b8=(_0x1481ec,_0x3d77a2,_0x22001a,_0x361cba)=>{var _0x4cde20=_0x51a4e3;for(var _0x3cfb94=_0x361cba>0x1?void 0x0:_0x361cba?_0x23c0bd(_0x3d77a2,_0x22001a):_0x3d77a2,_0x28398c=_0x1481ec[_0x4cde20(0x1b8)]-0x1,_0x3640da;_0x28398c>=0x0;_0x28398c--)(_0x3640da=_0x1481ec[_0x28398c])&&(_0x3cfb94=_0x3640da(_0x3cfb94)||_0x3cfb94);return _0x3cfb94;},_0x4ed176=(_0x348bf4,_0x36571d)=>(_0x181b5b,_0x129e58)=>_0x36571d(_0x181b5b,_0x129e58,_0x348bf4);_0x19c1b6['MCPUIMenuController']=class extends _0x56b324[_0x51a4e3(0x1d9)]{constructor(_0x3cf23c,_0x5097cc){var _0x317561=_0x51a4e3;super(),this[_0x317561(0x277)]=_0x3cf23c,this[_0x317561(0x279)]=_0x5097cc,this['_initializeCommands'](),this[_0x317561(0x17a)]();}[_0x51a4e3(0x132)](){[_0x30ffe3]['forEach'](_0x204ab9=>{var _0x3e53c5=_0x963e;this[_0x3e53c5(0x118)](this[_0x3e53c5(0x277)][_0x3e53c5(0x1c5)](_0x204ab9));});}[_0x51a4e3(0x17a)](){var _0x296d8c=_0x51a4e3;this['_menuManagerService'][_0x296d8c(0x210)](_0x5a6e28);}},_0x19c1b6[_0x51a4e3(0x22b)]=_0x5f01b8([_0x4ed176(0x0,_0x56b324[_0x51a4e3(0x1d3)]),_0x4ed176(0x1,_0x4b1b46['IMenuManagerService'])],_0x19c1b6[_0x51a4e3(0x22b)]);const _0x587e1d={'mcpStatus':{'disconnected':_0x51a4e3(0x141),'connecting':_0x51a4e3(0x119),'connected':_0x51a4e3(0x1a9),'failed':_0x51a4e3(0x233),'retrying':_0x51a4e3(0x23e),'unknown':_0x51a4e3(0x272),'missingApiKey':_0x51a4e3(0x261),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x51a4e3(0x159),'maxRetriesExceeded':_0x51a4e3(0x105),'clickToConnect':_0x51a4e3(0x1db),'clickToConfigure':_0x51a4e3(0x21b)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x51a4e3(0x1f3),'apiKeyPlaceholder':_0x51a4e3(0x1d1),'apiKeyHint':_0x51a4e3(0x1df),'enableAuth':_0x51a4e3(0x264),'enableAuthHint':_0x51a4e3(0x1ac),'connectionInfo':_0x51a4e3(0x1d0),'mcpClientConfig':_0x51a4e3(0x1d0),'configInstructions':_0x51a4e3(0x245),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x51a4e3(0x198),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x51a4e3(0x111),'sessionId':_0x51a4e3(0x154),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x51a4e3(0x235),'maxRetries':_0x51a4e3(0x238),'save':_0x51a4e3(0x20b),'saving':'Saving...','note1':_0x51a4e3(0x29b),'note2':_0x51a4e3(0x106),'configSaved':_0x51a4e3(0x115),'configError':_0x51a4e3(0x254),'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':_0x51a4e3(0x181),'getStarted':_0x51a4e3(0x12e)},'validation':{'apiKeyRequired':_0x51a4e3(0x1aa),'apiKeyTooShort':_0x51a4e3(0x142),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x51a4e3(0x1c9),'connecting':_0x51a4e3(0x126),'connected':_0x51a4e3(0x172),'failed':'Connection\x20Failed','retrying':_0x51a4e3(0x19d)},'connectionError':{'missingApiKey':_0x51a4e3(0x16a),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x51a4e3(0x284),'networkError':_0x51a4e3(0x266),'maxRetriesExceeded':_0x51a4e3(0x107)}}},_0x28fb4d={'mcpStatus':{'disconnected':_0x51a4e3(0x15e),'connecting':_0x51a4e3(0x283),'connected':_0x51a4e3(0x179),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','missingApiKey':_0x51a4e3(0x16f),'invalidApiKey':_0x51a4e3(0x1fe),'sessionOccupied':_0x51a4e3(0x203),'networkError':_0x51a4e3(0x18e),'maxRetriesExceeded':_0x51a4e3(0x16b),'clickToConnect':_0x51a4e3(0x270),'clickToConfigure':_0x51a4e3(0x22e)},'mcpConfig':{'title':_0x51a4e3(0x221),'description':_0x51a4e3(0x13b),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x51a4e3(0x1c8),'apiKeyHint':_0x51a4e3(0x122),'enableAuth':_0x51a4e3(0x151),'enableAuthHint':_0x51a4e3(0x125),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x51a4e3(0x295),'configInstructions':_0x51a4e3(0x117),'configStepTitle':_0x51a4e3(0x178),'configStep1':_0x51a4e3(0x1b4),'configStep2':_0x51a4e3(0x1d6),'configStep3':_0x51a4e3(0x24c),'sessionId':'会话ID','sessionIdDescription':_0x51a4e3(0x280),'authorizationDescription':_0x51a4e3(0x1e3),'configParameters':_0x51a4e3(0x13f),'maxRetries':_0x51a4e3(0x22c),'save':'保存配置','saving':_0x51a4e3(0x130),'note1':_0x51a4e3(0x215),'note2':_0x51a4e3(0x241),'configSaved':_0x51a4e3(0x167),'configError':_0x51a4e3(0x109),'apiApplyInfo':{'title':_0x51a4e3(0x219),'description':_0x51a4e3(0x209),'univerAiLabel':_0x51a4e3(0x18d),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x51a4e3(0x28c),'apiKeyTooShort':_0x51a4e3(0x1cd),'invalidConfig':_0x51a4e3(0x1e7),'invalidApiKey':_0x51a4e3(0x160)},'connectionStatus':{'disconnected':_0x51a4e3(0x1f1),'connecting':_0x51a4e3(0x148),'connected':'已连接','failed':'连接失败','retrying':'重连中...'},'connectionError':{'missingApiKey':_0x51a4e3(0x1ed),'invalidApiKey':_0x51a4e3(0x1c1),'sessionOccupied':_0x51a4e3(0x24d),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x33e9c1=Object[_0x51a4e3(0x16d)],_0x561f44=Object[_0x51a4e3(0x223)],_0x6f482b=(_0x4af6ff,_0x2597e6,_0x1e2fbb)=>_0x2597e6 in _0x4af6ff?_0x33e9c1(_0x4af6ff,_0x2597e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e2fbb}):_0x4af6ff[_0x2597e6]=_0x1e2fbb,_0x395d74=(_0x1b43b0,_0x4b6473,_0x3f2422,_0x250565)=>{var _0x2f71bc=_0x51a4e3;for(var _0x2c8136=_0x250565>0x1?void 0x0:_0x250565?_0x561f44(_0x4b6473,_0x3f2422):_0x4b6473,_0xa8c2f0=_0x1b43b0[_0x2f71bc(0x1b8)]-0x1,_0xebc78a;_0xa8c2f0>=0x0;_0xa8c2f0--)(_0xebc78a=_0x1b43b0[_0xa8c2f0])&&(_0x2c8136=_0xebc78a(_0x2c8136)||_0x2c8136);return _0x2c8136;},_0x49ce7f=(_0x1ea77f,_0x178874)=>(_0x23d6df,_0x4e543c)=>_0x178874(_0x23d6df,_0x4e543c,_0x1ea77f),_0x570a31=(_0x7d5b0,_0x5738ac,_0x3ac933)=>_0x6f482b(_0x7d5b0,_0x5738ac+'',_0x3ac933);_0x19c1b6[_0x51a4e3(0x28d)]=class extends _0x56b324[_0x51a4e3(0x1bc)]{constructor(_0x1a84fe=_0x4091a5,_0x3048f6,_0x3b2391,_0x2bfa2a,_0x5777bf,_0x4d1361){var _0x268d68=_0x51a4e3;super(),this[_0x268d68(0x211)]=_0x1a84fe,this[_0x268d68(0x165)]=_0x3048f6,this['_configService']=_0x3b2391,this[_0x268d68(0x294)]=_0x2bfa2a,this[_0x268d68(0x21f)]=_0x5777bf,this[_0x268d68(0x137)]=_0x4d1361;const {..._0x41d7e9}=_0x56b324[_0x268d68(0x195)]({},_0x4091a5,this['_config']);this[_0x268d68(0x1af)][_0x268d68(0x139)](_0x412294,_0x41d7e9);}async[_0x51a4e3(0x250)](){var _0x2f6c96=_0x51a4e3;const _0x1ccc48=[[_0x19c1b6['MCPConnectionUIController']],[_0x19c1b6[_0x2f6c96(0x1a2)]],[_0x19c1b6[_0x2f6c96(0x22b)]]];this[_0x2f6c96(0x165)][_0x2f6c96(0x1d5)](_0x26e3a1[_0x2f6c96(0x2a2)])||_0x1ccc48['push']([_0x26e3a1['ISocketService'],{'useClass':_0x26e3a1[_0x2f6c96(0x11c)]}]),_0x1ccc48['forEach'](_0x2b9ded=>this['_injector'][_0x2f6c96(0x269)](_0x2b9ded)),this[_0x2f6c96(0x165)][_0x2f6c96(0x1e0)](_0x19c1b6[_0x2f6c96(0x255)]),this[_0x2f6c96(0x165)]['get'](_0x19c1b6[_0x2f6c96(0x1a2)]),this[_0x2f6c96(0x165)][_0x2f6c96(0x1e0)](_0x19c1b6[_0x2f6c96(0x22b)]);}},_0x570a31(_0x19c1b6['UniverMCPUIPlugin'],_0x51a4e3(0x202),_0x51a4e3(0x220)),_0x19c1b6[_0x51a4e3(0x28d)]=_0x395d74([_0x56b324['DependentOn'](_0x1bee0f[_0x51a4e3(0x1c6)]),_0x49ce7f(0x1,_0x56b324[_0x51a4e3(0x100)](_0x56b324['Injector'])),_0x49ce7f(0x2,_0x56b324['IConfigService']),_0x49ce7f(0x3,_0x4b1b46['IUIPartsService']),_0x49ce7f(0x4,_0x56b324['ILocalStorageService']),_0x49ce7f(0x5,_0x56b324['Inject'](_0x56b324[_0x51a4e3(0x1c7)]))],_0x19c1b6[_0x51a4e3(0x28d)]),_0x19c1b6[_0x51a4e3(0x271)]=_0x503e61,_0x19c1b6['MCPStatusDisplay']=_0xe8bf5d,_0x19c1b6[_0x51a4e3(0x14d)]=_0x30ffe3,_0x19c1b6[_0x51a4e3(0x1fc)]=_0x587e1d,_0x19c1b6[_0x51a4e3(0x217)]=_0x28fb4d,Object[_0x51a4e3(0x16d)](_0x19c1b6,Symbol['toStringTag'],{'value':_0x51a4e3(0x147)});}));
1
+ function _0x4d7d(){var _0x523ee8=['univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','Plugin','未连接','配置保存成功','IConfigService','MCP:\x20无效的\x20API\x20密钥','rxjs','removeItem','getOwnPropertyDescriptor','mcpConfig.authorizationDescription','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_uiPartsService','symbol','mcpConfig.saving','enUS','call','mcpStatus.invalidApiKey','mcpConfig.connectionStatus.failed','MCP\x20客户端配置','tag','setConfig','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','toStringTag','univer-min-w-0\x20univer-flex-1','exports','MCP:\x20会话被占用','MCPUIMenuController','concat','univer-text-xs\x20univer-text-gray-500','mcpServerUrl','react','mcpStatus.maxRetriesExceeded','apply','setItem','connectInjector','object','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1em','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','createElement','MCP:\x20超出最大重试次数','_componentManager','_mcpConnectionController','currentColor','pre','UniverIcon','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','function','Copy\x20the\x20JSON\x20configuration\x20below','@univerjs/network','MCP_PLUGIN_CONFIG_KEY','_apiKey$','网络连接错误,请检查您的网络连接','extend','MCP:\x20Max\x20Retries\x20Exceeded','forEach','API\x20密钥无效,请检查密钥是否正确','colorChannel1','useObservable','connectionStatus$','@univerjs/design','\x20-\x20','univer-text-sm\x20univer-font-medium','mcpStatus.clickToConfigure','mask','univer.plus','mcpConfig.validation.apiKeyRequired','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-flex\x20univer-items-start\x20univer-gap-3','_localeService','defIds','1oMgagq','MCP:\x20Session\x20Occupied','将配置添加到您的\x20MCP\x20客户端设置文件中','Disposable','Enable\x20Authentication','univer-flex\x20univer-items-center\x20univer-gap-3','mcpConfig.apiApplyInfo.description','random','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Connecting...','_initStatusComponent','RETRYING','showDeveloperTools','M0\x200H16V16H0z','最大重试次数','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','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','Tooltip','mcpConfig.connectionError.invalidApiKey','univer-text-red-500','univer-flex\x20univer-items-center\x20univer-gap-2','trim','9036saFRKw','Inject','配置无效','univer-flex\x20univer-gap-3','ILocalStorageService','IMessageService','Enable\x20authentication\x20for\x20secure\x20connections','hover:univer-opacity-80','none','27msFxdP','errorMessage','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','toString','MessageType','MCP\x20重连中...','mcpStatus.disconnected','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','启用身份验证以获得安全连接','0\x200\x2017\x2016','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','registerCommand','Disconnected','text','subscribeConfigValue$','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','UniverMCPPlugin','27599pTqEFx','svg','icon','IMenuManagerService','showConfigPanel','xlink:href','_handleConfigure','LocaleService','API\x20密钥','isValid','sessionId$','ISocketService','MCPStatusDisplay','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.apiApplyInfo.getStarted','path','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.description','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','hasOwnProperty','MCP\x20Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','mcpStatus.unknown','Saving...','url(#off-line-icon_clip0_910_343)','mcpStatus.connecting','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','MCP\x20Client\x20Configuration','displayName','evenodd','连接中...','univer-text-blue-600','_loading$','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','<API_KEY>','Session\x20ID','Univer\x20AI\x20控制台','点击连接\x20MCP','Failed\x20to\x20save\x20configuration','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','NONE','Connected','length','330itwHEI','Configuration\x20Parameters:','getOwnPropertySymbols','Error','getConfig','mcpConfig.connectionStatus.connected','on-line-icon_clip0_910_349','INVALID_API_KEY','MCP\x20已断开','_dialogService','UniverNetwork','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','children','MenuIcon','warn','useDependency','HelpSingle','translate(.97)','univer-flex-1','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','attrs','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','jsx','mcpConfig.connectionError.maxRetriesExceeded','Retrying...','MCP:\x20Network\x20Error','mcpConfig.sessionIdDescription','univer-text-xs\x20univer-text-gray-600','close-small-single','MCP\x20已连接','_handleConfigSave','UniverProMcp','启用身份验证','univer-bg-blue-500','_initConfigSync','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_menuManagerService','配置参数:','几秒钟内获取您的\x20API\x20密钥','MCP\x20Unknown\x20Status','univer-mr-2\x20univer-flex\x20univer-text-xl','_connectionController','HEADER_MENU','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Success','includes','MCPConfigPanel','Click\x20to\x20configure\x20MCP','defineProperty','Univer\x20AI\x20Console','prototype','MCPConfigUIController','重连中...','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','OffLineIcon','82840rryxpN','_initializeMenus','_injector','https://console.univer.ai','univer_session_id:','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','M5.21243\x2012.287L11.8791\x205.62036','_messageService','RibbonStartGroup','mcpConfig.configStep1','univerjs-icon\x20univerjs-icon-','round','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','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','DISCONNECTED','2743EpWQES','getItem','amd','CloseSmallSingle','assign','超出最大重试次数,请稍后再试','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','span','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcp-ui.config','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','WebSocketService','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','需要\x20API\x20密钥才能连接','5NyjnfD','MCP\x20Configuration','52128LswfHm','univer-text-white','Click\x20to\x20connect\x20MCP','registerComponent','_commandService','mcpStatus.connected','univer-text-yellow-500','indexOf','OTHERS','univer.ai','add','React','CONNECTED','Bearer\x20','merge','MCP\x20状态未知','subscribe','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','Injector','replace','mcpConfig.configInstructions','mcpConfig.apiKeyHint','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-text-gray-500','https://console.univer.plus','url(#$1','error','MCP:\x20API\x20Key\x20Missing','MCPConnectionStatus','close','Enter\x20your\x20API\x20key','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','pluginName','mcpConfig.connectionError.sessionOccupied','What\x20is\x20API\x20Key?','mergeMenu','clipPath','_createConfigPanelComponent','90534wKAhmW','_config$','会话当前被占用,请稍后再试','API\x20密钥不能为空','idSuffix','mcpStatus.sessionOccupied','SESSION_ID_OCCUPIED','_configService','mcpConfig.configSaved','_validateConfig','MCP\x20Retrying...','_config','fill','className','Max\x20Retries','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','_logService','off-line-icon_clip0_910_343','univer-text-sm\x20univer-text-gray-500','FAILED','0\x200\x2017\x2017','MCP\x20Connecting...','M5.21243\x205.62036L11.8791\x2012.287','div','Get\x20your\x20API\x20key\x20in\x20seconds','url(#on-line-icon_clip0_910_349)','0\x200\x2016\x2016','register','带有\x20Bearer\x20前缀的\x20API\x20密钥。','off','配置\x20MCP\x20使用\x20AI\x20操作电子表格','UniverUi','什么是\x20API\x20密钥?','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','CONNECTING','defs','NETWORK_ERROR','mcpStatus.retrying','_registerComponent','mcpConfig.save','open','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Button','entries','mcpConfig.apiApplyInfo.title','show','_mcpCoreConfig$','\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','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','jsxs','label','get','univer-space-y-2','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpConfig.apiKeyPlaceholder','mcpConfig.validation.invalidConfig','apiKey','_localStorageService','mcp-ui.command.openConfigPanel','mcpConfig.connectionStatus.retrying','connectionError$','将以下配置添加到您的\x20MCP\x20客户端设置中:','disposeWithMe','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCPConnectionController','UniverMCPUIPlugin','http://www.w3.org/2000/svg','useRef','MCPConnectionUIController','string','univer-text-green-500','MAX_RETRIES_EXCEEDED','mcpConfig.title','Configuration\x20Steps:','UniverDesign','Configuration\x20saved\x20successfully','mcpConfig.note1','Save\x20Configuration','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','MCP\x20连接中...','51TNtjpZ','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','CommandType','substring','value','IUIPartsService','API\x20Key','Close','univer-text-gray-400','DependentOn','MCP_UI_PLUGIN','__setCustomHeaders','复制以下\x20JSON\x20配置','API\x20key\x20with\x20Bearer\x20prefix.','MCPConnectionError','424886LWfdwa','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_loadStoredApiKey','javascript:void(0)','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_initializeCommands','BehaviorSubject','40398AycfAd','@univerjs-pro/mcp','MCP\x20Disconnected','API\x20key\x20is\x20required\x20to\x20connect','useCallback','ComponentManager','has','white','next','useState','propertyIsEnumerable','ICommandService','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700'];_0x4d7d=function(){return _0x523ee8;};return _0x4d7d();}function _0x5d88(_0x28ce0a,_0x44f64a){var _0x4d7def=_0x4d7d();return _0x5d88=function(_0x5d88c0,_0xe1040e){_0x5d88c0=_0x5d88c0-0x136;var _0x3fef7d=_0x4d7def[_0x5d88c0];return _0x3fef7d;},_0x5d88(_0x28ce0a,_0x44f64a);}(function(_0x531e07,_0x9b4602){var _0x37a5d1=_0x5d88,_0x21ac9c=_0x531e07();while(!![]){try{var _0x42d6f6=parseInt(_0x37a5d1(0x15f))/0x1*(-parseInt(_0x37a5d1(0x2a1))/0x2)+parseInt(_0x37a5d1(0x28b))/0x3*(parseInt(_0x37a5d1(0x213))/0x4)+parseInt(_0x37a5d1(0x211))/0x5*(-parseInt(_0x37a5d1(0x239))/0x6)+parseInt(_0x37a5d1(0x29a))/0x7+parseInt(_0x37a5d1(0x1f4))/0x8*(-parseInt(_0x37a5d1(0x17e))/0x9)+-parseInt(_0x37a5d1(0x1bb))/0xa*(-parseInt(_0x37a5d1(0x190))/0xb)+-parseInt(_0x37a5d1(0x175))/0xc*(parseInt(_0x37a5d1(0x203))/0xd);if(_0x42d6f6===_0x9b4602)break;else _0x21ac9c['push'](_0x21ac9c['shift']());}catch(_0xb5ee9a){_0x21ac9c['push'](_0x21ac9c['shift']());}}}(_0x4d7d,0x2221b),function(_0x309476,_0x18da3b){var _0x21bab2=_0x5d88;typeof exports==_0x21bab2(0x13b)&&typeof module<'u'?_0x18da3b(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x21bab2(0x147)&&define[_0x21bab2(0x205)]?define([_0x21bab2(0x2c6),'@univerjs/core','react/jsx-runtime',_0x21bab2(0x2a2),_0x21bab2(0x154),'@univerjs/ui',_0x21bab2(0x2b4),_0x21bab2(0x136),_0x21bab2(0x149)],_0x18da3b):(_0x309476=typeof globalThis<'u'?globalThis:_0x309476||self,_0x18da3b(_0x309476['UniverProMcpUi']={},_0x309476['UniverCore'],_0x309476[_0x21bab2(0x21e)],_0x309476[_0x21bab2(0x1dc)],_0x309476[_0x21bab2(0x284)],_0x309476[_0x21bab2(0x258)],_0x309476[_0x21bab2(0x2b4)],_0x309476[_0x21bab2(0x21e)],_0x309476[_0x21bab2(0x1c5)]));}(this,function(_0x2198d5,_0x5075bc,_0x22a1a4,_0x484337,_0x2a4e4b,_0x336e40,_0x460564,_0x4ad054,_0x3b22b0){'use strict';var _0x335c16=_0x5d88;var _0x7cf6d3=Object[_0x335c16(0x1ed)],_0x4200b4=(_0x282d6d,_0x2866ab,_0x3d8d95)=>_0x2866ab in _0x282d6d?_0x7cf6d3(_0x282d6d,_0x2866ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d8d95}):_0x282d6d[_0x2866ab]=_0x3d8d95,_0x25559b=(_0x504e95,_0x427d12,_0x2e7f44)=>_0x4200b4(_0x504e95,typeof _0x427d12!=_0x335c16(0x2ba)?_0x427d12+'':_0x427d12,_0x2e7f44),_0x55b7b7=function(){var _0x5f1f90=_0x335c16;return _0x55b7b7=Object['assign']||function(_0x51773c){var _0x2ce1aa=_0x5d88;for(var _0x8bcea,_0x226e7e=0x1,_0x4fd028=arguments[_0x2ce1aa(0x1ba)];_0x226e7e<_0x4fd028;_0x226e7e++){_0x8bcea=arguments[_0x226e7e];for(var _0x5cc641 in _0x8bcea)Object[_0x2ce1aa(0x1ef)]['hasOwnProperty'][_0x2ce1aa(0x2bd)](_0x8bcea,_0x5cc641)&&(_0x51773c[_0x5cc641]=_0x8bcea[_0x5cc641]);}return _0x51773c;},_0x55b7b7[_0x5f1f90(0x138)](this,arguments);},_0x148699=function(_0x570da8,_0x1f294b){var _0x4cd0df=_0x335c16,_0x59a8f0={};for(var _0x490be6 in _0x570da8)Object[_0x4cd0df(0x1ef)][_0x4cd0df(0x1a3)][_0x4cd0df(0x2bd)](_0x570da8,_0x490be6)&&_0x1f294b['indexOf'](_0x490be6)<0x0&&(_0x59a8f0[_0x490be6]=_0x570da8[_0x490be6]);if(_0x570da8!=null&&typeof Object[_0x4cd0df(0x1bd)]==_0x4cd0df(0x147)){for(var _0x1f540e=0x0,_0x490be6=Object['getOwnPropertySymbols'](_0x570da8);_0x1f540e<_0x490be6['length'];_0x1f540e++)_0x1f294b[_0x4cd0df(0x21a)](_0x490be6[_0x1f540e])<0x0&&Object[_0x4cd0df(0x1ef)][_0x4cd0df(0x2ab)]['call'](_0x570da8,_0x490be6[_0x1f540e])&&(_0x59a8f0[_0x490be6[_0x1f540e]]=_0x570da8[_0x490be6[_0x1f540e]]);}return _0x59a8f0;},_0x4ef18d=_0x4ad054['forwardRef'](function(_0x306b24,_0x2664a2){var _0x5453ee=_0x335c16,_0x4e6615=_0x306b24[_0x5453ee(0x192)],_0x3f2661=_0x306b24['id'],_0x388dd8=_0x306b24['className'],_0x4f1508=_0x306b24['extend'],_0x2f1fc7=_0x148699(_0x306b24,[_0x5453ee(0x192),'id',_0x5453ee(0x246),_0x5453ee(0x14d)]),_0x2865f2=_0x5453ee(0x1fe)[_0x5453ee(0x2c9)](_0x3f2661,'\x20')[_0x5453ee(0x2c9)](_0x388dd8||'')[_0x5453ee(0x174)](),_0x2f9b8e=_0x4ad054[_0x5453ee(0x27d)]('_'[_0x5453ee(0x2c9)](_0x53f56e()));return _0x4e4c(_0x4e6615,''[_0x5453ee(0x2c9)](_0x3f2661),{'defIds':_0x4e6615[_0x5453ee(0x15e)],'idSuffix':_0x2f9b8e['current']},_0x55b7b7({'ref':_0x2664a2,'className':_0x2865f2},_0x2f1fc7),_0x4f1508);});function _0x4e4c(_0x38f4bf,_0x2ea062,_0x475959,_0x2f65c1,_0x312c07){var _0x502573=_0x335c16;return _0x4ad054[_0x502573(0x13f)](_0x38f4bf[_0x502573(0x2c1)],_0x55b7b7(_0x55b7b7({'key':_0x2ea062},_0x411649(_0x38f4bf,_0x475959,_0x312c07)),_0x2f65c1),(_0x1ccd22(_0x38f4bf,_0x475959)[_0x502573(0x1c7)]||[])['map'](function(_0x2b5b0d,_0x4908d5){var _0x37f981=_0x502573;return _0x4e4c(_0x2b5b0d,''[_0x37f981(0x2c9)](_0x2ea062,'-')[_0x37f981(0x2c9)](_0x38f4bf[_0x37f981(0x2c1)],'-')['concat'](_0x4908d5),_0x475959,void 0x0,_0x312c07);}));}function _0x411649(_0x1e597d,_0xa5d103,_0x212e30){var _0x2a6009=_0x335c16,_0x2ca43d=_0x55b7b7({},_0x1e597d['attrs']);_0x212e30!=null&&_0x212e30[_0x2a6009(0x151)]&&_0x2ca43d[_0x2a6009(0x245)]===_0x2a6009(0x151)&&(_0x2ca43d[_0x2a6009(0x245)]=_0x212e30['colorChannel1']),_0x1e597d[_0x2a6009(0x2c1)]===_0x2a6009(0x158)&&_0x2ca43d['id']&&(_0x2ca43d['id']=_0x2ca43d['id']+_0xa5d103[_0x2a6009(0x23d)]),Object[_0x2a6009(0x265)](_0x2ca43d)[_0x2a6009(0x14f)](function(_0x11d2a6){var _0x44b282=_0x2a6009,_0x2c1111=_0x11d2a6[0x0],_0x5d5eac=_0x11d2a6[0x1];_0x2c1111===_0x44b282(0x158)&&typeof _0x5d5eac==_0x44b282(0x27f)&&(_0x2ca43d[_0x2c1111]=_0x5d5eac[_0x44b282(0x226)](/url\(#(.*)\)/,_0x44b282(0x22c)[_0x44b282(0x2c9)](_0xa5d103[_0x44b282(0x23d)],')')));});var _0x283764=_0xa5d103[_0x2a6009(0x15e)];return!_0x283764||_0x283764[_0x2a6009(0x1ba)]===0x0||(_0x1e597d[_0x2a6009(0x2c1)]==='use'&&_0x2ca43d[_0x2a6009(0x195)]&&(_0x2ca43d[_0x2a6009(0x195)]=_0x2ca43d[_0x2a6009(0x195)]+_0xa5d103[_0x2a6009(0x23d)]),Object[_0x2a6009(0x265)](_0x2ca43d)[_0x2a6009(0x14f)](function(_0x5aa5b1){var _0x2c2a8c=_0x2a6009,_0x88a268=_0x5aa5b1[0x0],_0x2c7965=_0x5aa5b1[0x1];typeof _0x2c7965==_0x2c2a8c(0x27f)&&(_0x2ca43d[_0x88a268]=_0x2c7965[_0x2c2a8c(0x226)](/url\(#(.*)\)/,_0x2c2a8c(0x22c)['concat'](_0xa5d103[_0x2c2a8c(0x23d)],')')));})),_0x2ca43d;}function _0x1ccd22(_0x5ea90c,_0x458182){var _0x4fb88a=_0x335c16,_0x2dc018,_0x980eac=_0x458182[_0x4fb88a(0x15e)];return!_0x980eac||_0x980eac[_0x4fb88a(0x1ba)]===0x0?_0x5ea90c:_0x5ea90c[_0x4fb88a(0x2c1)]===_0x4fb88a(0x25d)&&(!((_0x2dc018=_0x5ea90c[_0x4fb88a(0x1c7)])===null||_0x2dc018===void 0x0)&&_0x2dc018['length'])?_0x55b7b7(_0x55b7b7({},_0x5ea90c),{'children':_0x5ea90c[_0x4fb88a(0x1c7)]['map'](function(_0x197e39){var _0x34b7ab=_0x4fb88a;return typeof _0x197e39[_0x34b7ab(0x1d0)]['id']==_0x34b7ab(0x27f)&&_0x980eac&&_0x980eac[_0x34b7ab(0x1ea)](_0x197e39['attrs']['id'])?_0x55b7b7(_0x55b7b7({},_0x197e39),{'attrs':_0x55b7b7(_0x55b7b7({},_0x197e39[_0x34b7ab(0x1d0)]),{'id':_0x197e39['attrs']['id']+_0x458182[_0x34b7ab(0x23d)]})}):_0x197e39;})}):_0x5ea90c;}function _0x53f56e(){var _0xde86a1=_0x335c16;return Math[_0xde86a1(0x166)]()[_0xde86a1(0x181)](0x24)[_0xde86a1(0x28e)](0x2,0x8);}_0x4ef18d[_0x335c16(0x1ac)]=_0x335c16(0x145);var _0x28cd8b={'tag':_0x335c16(0x191),'attrs':{'xmlns':_0x335c16(0x27c),'fill':'none','viewBox':_0x335c16(0x253),'width':_0x335c16(0x13d),'height':_0x335c16(0x13d)},'children':[{'tag':_0x335c16(0x19f),'attrs':{'fill':_0x335c16(0x143),'d':_0x335c16(0x224),'fillRule':'evenodd','clipRule':_0x335c16(0x1ad)}}]},_0x529a1f=_0x4ad054['forwardRef'](function(_0x5da253,_0x4c21a0){var _0x3d128a=_0x335c16;return _0x4ad054['createElement'](_0x4ef18d,Object[_0x3d128a(0x207)]({},_0x5da253,{'id':'check-mark-icon','ref':_0x4c21a0,'icon':_0x28cd8b}));});_0x529a1f[_0x335c16(0x1ac)]='CheckMarkIcon';var _0x5cb20d={'tag':_0x335c16(0x191),'attrs':{'xmlns':_0x335c16(0x27c),'fill':_0x335c16(0x17d),'viewBox':_0x335c16(0x24d),'width':_0x335c16(0x13d),'height':'1em'},'children':[{'tag':_0x335c16(0x19f),'attrs':{'stroke':_0x335c16(0x143),'d':_0x335c16(0x24f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x335c16(0x19f),'attrs':{'stroke':_0x335c16(0x143),'d':_0x335c16(0x1fa),'strokeLinecap':_0x335c16(0x1ff),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0x150832=_0x4ad054['forwardRef'](function(_0x7b4092,_0xb26702){var _0xe19294=_0x335c16;return _0x4ad054[_0xe19294(0x13f)](_0x4ef18d,Object['assign']({},_0x7b4092,{'id':_0xe19294(0x1d9),'ref':_0xb26702,'icon':_0x5cb20d}));});_0x150832[_0x335c16(0x1ac)]=_0x335c16(0x206);var _0x17faf5={'tag':_0x335c16(0x191),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x335c16(0x17d),'viewBox':_0x335c16(0x253),'width':_0x335c16(0x13d),'height':_0x335c16(0x13d)},'children':[{'tag':'path','attrs':{'fill':_0x335c16(0x143),'d':_0x335c16(0x25a)}},{'tag':'path','attrs':{'fill':_0x335c16(0x143),'d':_0x335c16(0x201)}},{'tag':_0x335c16(0x19f),'attrs':{'fill':_0x335c16(0x143),'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':_0x335c16(0x1ad),'clipRule':_0x335c16(0x1ad)}}]},_0x17e462=_0x4ad054['forwardRef'](function(_0x125662,_0x4937ae){return _0x4ad054['createElement'](_0x4ef18d,Object['assign']({},_0x125662,{'id':'help-single','ref':_0x4937ae,'icon':_0x17faf5}));});_0x17e462[_0x335c16(0x1ac)]=_0x335c16(0x1cb);var _0x56c664={'tag':_0x335c16(0x191),'attrs':{'xmlns':_0x335c16(0x27c),'fill':_0x335c16(0x17d),'viewBox':_0x335c16(0x253),'width':_0x335c16(0x13d),'height':_0x335c16(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x335c16(0x1a8)},'children':[{'tag':'path','attrs':{'stroke':_0x335c16(0x143),'d':_0x335c16(0x16e),'strokeLinecap':_0x335c16(0x1ff),'strokeLinejoin':_0x335c16(0x1ff),'strokeWidth':1.2}}]},{'tag':_0x335c16(0x25d),'attrs':{},'children':[{'tag':_0x335c16(0x237),'attrs':{'id':_0x335c16(0x24a)},'children':[{'tag':_0x335c16(0x19f),'attrs':{'fill':_0x335c16(0x2a8),'d':_0x335c16(0x16c)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x47aba7=_0x4ad054['forwardRef'](function(_0x4de631,_0x582316){var _0x577693=_0x335c16;return _0x4ad054[_0x577693(0x13f)](_0x4ef18d,Object[_0x577693(0x207)]({},_0x4de631,{'id':'off-line-icon','ref':_0x582316,'icon':_0x56c664}));});_0x47aba7[_0x335c16(0x1ac)]=_0x335c16(0x1f3);var _0x5ad955={'tag':_0x335c16(0x191),'attrs':{'xmlns':_0x335c16(0x27c),'fill':_0x335c16(0x17d),'viewBox':_0x335c16(0x187),'width':_0x335c16(0x13d),'height':_0x335c16(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x335c16(0x252)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x335c16(0x1ff),'strokeLinejoin':_0x335c16(0x1ff),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x335c16(0x237),'attrs':{'id':_0x335c16(0x1c1)},'children':[{'tag':_0x335c16(0x19f),'attrs':{'fill':_0x335c16(0x2a8),'d':_0x335c16(0x16c),'transform':_0x335c16(0x1cc)}}]}]}],'defIds':[_0x335c16(0x1c1)]},_0x224759=_0x4ad054['forwardRef'](function(_0x8344ef,_0x7ed10b){var _0x3e1826=_0x335c16;return _0x4ad054[_0x3e1826(0x13f)](_0x4ef18d,Object[_0x3e1826(0x207)]({},_0x8344ef,{'id':'on-line-icon','ref':_0x7ed10b,'icon':_0x5ad955}));});_0x224759[_0x335c16(0x1ac)]='OnLineIcon';function _0x3f5bca(_0x17c8fd){var _0x22c403=_0x335c16,_0x1a13eb,_0x56efb9;const {mcpCoreConfig:_0x4a13c5,onSave:_0x8710ea,loading:_0x46a4a7=!0x1,config:_0x15ecaf,connectionStatus$:_0x56e0d1,connectionError$:_0x486cb4,currentApiKey$:_0x29bf7a,currentSessionId$:_0x2a1702}=_0x17c8fd,_0x3f92d4=_0x336e40[_0x22c403(0x1ca)](_0x5075bc[_0x22c403(0x197)]),_0x33c4be=_0x336e40[_0x22c403(0x152)](_0x56e0d1,_0x484337[_0x22c403(0x22f)][_0x22c403(0x202)]),_0x328988=_0x336e40[_0x22c403(0x152)](_0x486cb4,_0x484337[_0x22c403(0x299)][_0x22c403(0x1b8)]),_0x2c3751=_0x336e40[_0x22c403(0x152)](_0x2a1702,''),_0x1fc43f=_0x336e40['useObservable'](_0x29bf7a,''),[_0x15ea6e,_0x1028a2]=_0x4ad054[_0x22c403(0x2aa)](_0x1fc43f||''),_0x2835e3=!0x0,_0xe1bd17=_0x15ecaf[_0x22c403(0x16b)]&&_0x4a13c5[_0x22c403(0x2cb)]&&(_0x4a13c5[_0x22c403(0x2cb)]['includes'](_0x22c403(0x159))||_0x4a13c5['mcpServerUrl'][_0x22c403(0x1ea)](_0x22c403(0x21c))),_0x1f35b2=(_0x1a13eb=_0x4a13c5['mcpServerUrl'])==null?void 0x0:_0x1a13eb[_0x22c403(0x1ea)](_0x22c403(0x159)),_0x2ceae4=(_0x56efb9=_0x4a13c5['mcpServerUrl'])==null?void 0x0:_0x56efb9[_0x22c403(0x1ea)](_0x22c403(0x21c)),_0x102aca=_0x1f35b2?_0x22c403(0x22b):_0x22c403(0x1f7),_0x140451=_0x15ecaf[_0x22c403(0x16b)]&&(_0x1f35b2||_0x2ceae4),[_0x10b1ff,_0x1d5838]=_0x4ad054['useState'](!_0x15ea6e[_0x22c403(0x174)]()),_0x1cbdb0=(_0x2a8cac,_0x4e8af2)=>{var _0x3f0585=_0x22c403;if(_0x4e8af2===_0x484337[_0x3f0585(0x299)][_0x3f0585(0x1c2)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x2a8cac){case _0x484337[_0x3f0585(0x22f)][_0x3f0585(0x21f)]:return _0x3f0585(0x29e);case _0x484337[_0x3f0585(0x22f)][_0x3f0585(0x25c)]:case _0x484337[_0x3f0585(0x22f)][_0x3f0585(0x16a)]:return _0x3f0585(0x229);case _0x484337[_0x3f0585(0x22f)][_0x3f0585(0x24c)]:return _0x3f0585(0x29b);default:return _0x3f0585(0x15b);}},_0x5546ba=(_0x15ad24,_0x5f21b9)=>{var _0x2606bc=_0x22c403;if(_0x5f21b9===_0x484337['MCPConnectionError'][_0x2606bc(0x1c2)])return'univer-bg-red-500';switch(_0x15ad24){case _0x484337[_0x2606bc(0x22f)][_0x2606bc(0x21f)]:return'univer-bg-green-500';case _0x484337['MCPConnectionStatus'][_0x2606bc(0x25c)]:case _0x484337[_0x2606bc(0x22f)][_0x2606bc(0x16a)]:return _0x2606bc(0x1de);case _0x484337[_0x2606bc(0x22f)][_0x2606bc(0x24c)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x5a9a9d=_0x465d25=>{var _0x2fb6e8=_0x22c403;switch(_0x465d25){case _0x484337[_0x2fb6e8(0x22f)][_0x2fb6e8(0x21f)]:return _0x3f92d4['t'](_0x2fb6e8(0x1c0));case _0x484337[_0x2fb6e8(0x22f)]['CONNECTING']:return _0x3f92d4['t']('mcpConfig.connectionStatus.connecting');case _0x484337['MCPConnectionStatus'][_0x2fb6e8(0x24c)]:return _0x3f92d4['t'](_0x2fb6e8(0x2bf));case _0x484337[_0x2fb6e8(0x22f)][_0x2fb6e8(0x16a)]:return _0x3f92d4['t'](_0x2fb6e8(0x275));default:return _0x3f92d4['t']('mcpConfig.connectionStatus.disconnected');}},_0x415ede=_0x5846e1=>{var _0x3175e5=_0x22c403;switch(_0x5846e1){case _0x484337[_0x3175e5(0x299)]['INVALID_API_KEY']:return _0x3f92d4['t'](_0x3175e5(0x171));case _0x484337[_0x3175e5(0x299)][_0x3175e5(0x23f)]:return _0x3f92d4['t'](_0x3175e5(0x234));case _0x484337[_0x3175e5(0x299)]['NETWORK_ERROR']:return _0x3f92d4['t']('mcpConfig.connectionError.networkError');case _0x484337[_0x3175e5(0x299)][_0x3175e5(0x281)]:return _0x3f92d4['t'](_0x3175e5(0x1d4));default:return'';}},_0x3e2ec7=_0x4ad054[_0x22c403(0x2a5)](()=>{var _0x13aa3d=_0x22c403;const _0x1a16aa={..._0x4a13c5,'apiKey':_0x15ea6e[_0x13aa3d(0x174)](),'enableAuth':_0x2835e3};_0x8710ea(_0x1a16aa);},[_0x4a13c5,_0x15ea6e,_0x2835e3,_0x8710ea]),_0xfb8426=_0x15ea6e[_0x22c403(0x174)]()[_0x22c403(0x1ba)]>0x0;return _0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x2c3),'children':[_0x22a1a4['jsx'](_0x22c403(0x250),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x164),'children':[_0x22a1a4['jsx']('div',{'className':_0x22c403(0x188),'children':_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x214),'children':'⚙'})}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'children':_0x22a1a4[_0x22c403(0x1d3)]('p',{'className':_0x22c403(0x24b),'children':_0x3f92d4['t'](_0x22c403(0x1a1))})})]})}),_0x22a1a4['jsxs']('div',{'className':_0x22c403(0x263),'children':[_0x22a1a4['jsx'](_0x22c403(0x250),{'className':_0x22c403(0x269)+_0x1cbdb0(_0x33c4be,_0x328988)+_0x22c403(0x20d),'children':_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':_0x22c403(0x20b)+_0x5546ba(_0x33c4be,_0x328988)+'\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'}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x156),'children':_0x5a9a9d(_0x33c4be)})]})}),_0x328988!==_0x484337['MCPConnectionError'][_0x22c403(0x1b8)]&&(_0x33c4be===_0x484337[_0x22c403(0x22f)][_0x22c403(0x24c)]||_0x328988===_0x484337[_0x22c403(0x299)][_0x22c403(0x1c2)])&&_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x1f2),'children':_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x22a1a4[_0x22c403(0x1d3)]('span',{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x22a1a4[_0x22c403(0x1d3)]('p',{'className':_0x22c403(0x209),'children':_0x415ede(_0x328988)})]})})]}),_0x22a1a4['jsx'](_0x22c403(0x250),{'className':_0x22c403(0x1d2),'children':_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':'univer-space-y-5','children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x26e),'children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x26c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'children':'🔑'}),'\x20',_0x3f92d4['t']('mcpConfig.apiKey'),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x172),'children':'*'}),_0xe1bd17&&_0x22a1a4[_0x22c403(0x1d3)]('a',{'href':_0x22c403(0x29d),'onClick':()=>_0x1d5838(!0x0),'className':_0x22c403(0x1a2),'title':_0x3f92d4['t'](_0x22c403(0x266)),'children':_0x22a1a4[_0x22c403(0x1d3)](_0x17e462,{})})]}),_0x22a1a4[_0x22c403(0x1d3)](_0x2a4e4b['Input'],{'type':_0x22c403(0x18b),'placeholder':_0x3f92d4['t'](_0x22c403(0x270)),'value':_0x15ea6e,'onChange':_0x1028a2,'disabled':_0x46a4a7,'autoComplete':_0x22c403(0x256)}),_0x22a1a4[_0x22c403(0x1d3)]('p',{'className':_0x22c403(0x2ca),'children':_0x3f92d4['t'](_0x22c403(0x228))})]}),_0xe1bd17&&_0x10b1ff&&_0x22a1a4['jsxs']('div',{'className':_0x22c403(0x232),'children':[_0x22a1a4['jsx']('a',{'href':_0x22c403(0x29d),'onClick':()=>_0x1d5838(!0x1),'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','title':_0x22c403(0x292),'children':_0x22a1a4[_0x22c403(0x1d3)](_0x150832,{})}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'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':_0x22a1a4['jsx'](_0x22c403(0x20a),{'className':_0x22c403(0x1af),'children':'🚀'})}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x1cd),'children':[_0x22a1a4[_0x22c403(0x1d3)]('h4',{'className':_0x22c403(0x185),'children':_0x3f92d4['t']('mcpConfig.apiApplyInfo.title')}),_0x22a1a4['jsx']('p',{'className':_0x22c403(0x1cf),'children':_0x3f92d4['t'](_0x22c403(0x165))}),_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':_0x22c403(0x2b8),'children':_0x140451&&_0x22a1a4[_0x22c403(0x26b)]('a',{'href':_0x102aca,'target':'_blank','rel':'noopener\x20noreferrer','className':_0x22c403(0x248),'children':[_0x22a1a4[_0x22c403(0x1d3)]('span',{'children':'🤖'}),_0x3f92d4['t'](_0x22c403(0x1a0)),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x293),'children':'↗'})]})}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3f92d4['t'](_0x22c403(0x19e))]})]})]})]}),_0x15ecaf[_0x22c403(0x16b)]&&_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':_0x22c403(0x28c),'children':[_0x22a1a4[_0x22c403(0x26b)]('h4',{'className':_0x22c403(0x1b7),'children':[_0x22a1a4[_0x22c403(0x1d3)]('span',{'children':'🔗'}),'\x20',_0x3f92d4['t']('mcpConfig.connectionInfo')]}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':'univer-space-y-4','children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-space-y-3','children':[_0x22a1a4['jsx']('p',{'className':_0x22c403(0x1d8),'children':_0x3f92d4['t'](_0x22c403(0x227))}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':_0x22c403(0x26e),'children':[_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x3f92d4['t']('mcpConfig.configStepTitle')}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x289),'children':'1'}),_0x3f92d4['t'](_0x22c403(0x1fd))]}),_0x22a1a4[_0x22c403(0x26b)]('div',{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x289),'children':'2'}),_0x3f92d4['t']('mcpConfig.configStep2')]}),_0x22a1a4['jsxs']('div',{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x3f92d4['t']('mcpConfig.configStep3')]})]})]})]}),_0x22a1a4[_0x22c403(0x26b)]('div',{'className':'univer-space-y-2','children':[_0x22a1a4['jsx'](_0x22c403(0x250),{'className':_0x22c403(0x1f9),'children':_0x22c403(0x212)}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x146),'children':_0x22a1a4['jsx'](_0x22c403(0x144),{'className':_0x22c403(0x288),'children':_0x22c403(0x1b1)+_0x2c3751+_0x22c403(0x18d)+(_0x15ea6e||_0x22c403(0x1b2))+_0x22c403(0x16f)})})]}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-space-y-3','children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x1f9),'children':_0x3f92d4['t']('mcpConfig.configParameters')}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':_0x22c403(0x26e),'children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x15c),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x22a1a4['jsxs']('div',{'className':_0x22c403(0x2c5),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x2ae),'children':_0x22c403(0x1f8)}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3f92d4['t'](_0x22c403(0x1d7))})]})]}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x15c),'children':[_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':_0x22c403(0x1aa)}),_0x22a1a4[_0x22c403(0x26b)]('div',{'className':_0x22c403(0x2c5),'children':[_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':_0x22c403(0x2ae),'children':'Authorization:'}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3f92d4['t'](_0x22c403(0x2b7))})]})]})]})]})]})]}),_0x22a1a4[_0x22c403(0x1d3)](_0x2a4e4b[_0x22c403(0x264)],{'onClick':_0x3e2ec7,'disabled':!_0xfb8426||_0x46a4a7,'className':_0x22c403(0x180),'children':_0x46a4a7?_0x22a1a4[_0x22c403(0x26b)]('span',{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)]('span',{'children':'⟲'}),_0x3f92d4['t'](_0x22c403(0x2bb))]}):_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x20a),{'className':_0x22c403(0x173),'children':[_0x22a1a4['jsx'](_0x529a1f,{}),_0x3f92d4['t'](_0x22c403(0x261))]})}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x1ce),'children':_0x22a1a4[_0x22c403(0x26b)]('div',{'className':_0x22c403(0x178),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x2ad),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x22a1a4[_0x22c403(0x26b)]('div',{'children':['•',_0x3f92d4['t'](_0x22c403(0x286))]}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'children':['•',_0x3f92d4['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x4f7db8=_0x335c16(0x20c),_0x4fa5a8={'showDeveloperTools':!0x1};var _0x2421b1=Object[_0x335c16(0x2b6)],_0xd9dba1=(_0x2b6e67,_0x27843c,_0x1fd3eb,_0x4de4a4)=>{var _0x564169=_0x335c16;for(var _0x46641f=_0x4de4a4>0x1?void 0x0:_0x4de4a4?_0x2421b1(_0x27843c,_0x1fd3eb):_0x27843c,_0x108aea=_0x2b6e67[_0x564169(0x1ba)]-0x1,_0x46a689;_0x108aea>=0x0;_0x108aea--)(_0x46a689=_0x2b6e67[_0x108aea])&&(_0x46641f=_0x46a689(_0x46641f)||_0x46641f);return _0x46641f;},_0x36786c=(_0x309cb7,_0x4e5f88)=>(_0x24180f,_0x5c3115)=>_0x4e5f88(_0x24180f,_0x5c3115,_0x309cb7);const _0x51991c='mcp.apiKey',_0x36be66='mcp-config-dialog';_0x2198d5[_0x335c16(0x1f0)]=class extends _0x5075bc[_0x335c16(0x162)]{constructor(_0x4c93fa,_0x46b0f0,_0x40ba89,_0x545313,_0x8a951b,_0x17a383,_0x591047,_0x2bcae4,_0x40ba66,_0x3d4892){var _0x1904d0=_0x335c16;super(),_0x25559b(this,_0x1904d0(0x1b0),new _0x460564[(_0x1904d0(0x2a0))](!0x1)),_0x25559b(this,'_mcpCoreConfig$',new _0x460564['BehaviorSubject']({})),_0x25559b(this,_0x1904d0(0x23a),new _0x460564['BehaviorSubject']({})),_0x25559b(this,_0x1904d0(0x14b),new _0x460564['BehaviorSubject']('')),_0x25559b(this,'_handleConfigSave',async _0x40448d=>{var _0x40046c=_0x1904d0,_0x3b5402,_0x440e5c;this['_loading$']['next'](!0x0);try{const _0x50ad21=await this[_0x40046c(0x242)](_0x40448d);if(!_0x50ad21[_0x40046c(0x199)]){this[_0x40046c(0x1fb)][_0x40046c(0x267)]({'type':_0x2a4e4b['MessageType']['Error'],'content':_0x50ad21[_0x40046c(0x17f)]||this[_0x40046c(0x15d)]['t'](_0x40046c(0x271))});return;}_0x40448d[_0x40046c(0x272)]?await this[_0x40046c(0x273)][_0x40046c(0x139)](_0x51991c,_0x40448d['apiKey'][_0x40046c(0x174)]()):await this[_0x40046c(0x273)][_0x40046c(0x2b5)](_0x51991c),this[_0x40046c(0x14b)][_0x40046c(0x2a9)](((_0x3b5402=_0x40448d[_0x40046c(0x272)])==null?void 0x0:_0x3b5402['trim']())||''),this[_0x40046c(0x142)]['__setCustomHeaders']({'Authorization':_0x40046c(0x220)+((_0x440e5c=_0x40448d[_0x40046c(0x272)])==null?void 0x0:_0x440e5c['trim']())}),this[_0x40046c(0x1fb)][_0x40046c(0x267)]({'type':_0x2a4e4b[_0x40046c(0x182)][_0x40046c(0x1e9)],'content':this[_0x40046c(0x15d)]['t'](_0x40046c(0x241))}),setTimeout(()=>{var _0x390a08=_0x40046c;this[_0x390a08(0x1c4)][_0x390a08(0x230)](_0x36be66);},0x320);}catch(_0x483bfe){this[_0x40046c(0x249)][_0x40046c(0x22d)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x483bfe),this['_messageService']['show']({'type':_0x2a4e4b[_0x40046c(0x182)][_0x40046c(0x1be)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this[_0x40046c(0x1b0)][_0x40046c(0x2a9)](!0x1);}}),(this[_0x1904d0(0x1f6)]=_0x4c93fa,this['_uiPartsService']=_0x46b0f0,this[_0x1904d0(0x240)]=_0x40ba89,this[_0x1904d0(0x273)]=_0x545313,this['_dialogService']=_0x8a951b,this[_0x1904d0(0x1fb)]=_0x17a383,this[_0x1904d0(0x141)]=_0x591047,this[_0x1904d0(0x15d)]=_0x2bcae4,this[_0x1904d0(0x249)]=_0x40ba66,this[_0x1904d0(0x142)]=_0x3d4892,this[_0x1904d0(0x1df)](),this[_0x1904d0(0x29c)](),this[_0x1904d0(0x260)]());}['showConfigPanel'](){var _0x727207=_0x335c16;this[_0x727207(0x1c4)][_0x727207(0x262)]({'id':_0x36be66,'title':{'title':this[_0x727207(0x15d)]['t'](_0x727207(0x282))},'children':{'label':_0x727207(0x1eb)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xe4ae1=_0x727207;this[_0xe4ae1(0x1c4)]['close'](_0x36be66);}});}['getCurrentConfig'](){var _0x298362=_0x335c16;return this[_0x298362(0x268)]['value'];}[_0x335c16(0x260)](){var _0x2a8cc1=_0x335c16;this[_0x2a8cc1(0x278)](this[_0x2a8cc1(0x141)][_0x2a8cc1(0x254)]('MCPConfigPanel',this[_0x2a8cc1(0x238)]()));}[_0x335c16(0x238)](){var _0x29c6e4=_0x335c16;return _0x336e40['connectInjector'](()=>{var _0x33eb1d=_0x5d88,_0x1bb04a,_0x53895b,_0x42d5d8;return _0x22a1a4[_0x33eb1d(0x1d3)](_0x3f5bca,{'config':this[_0x33eb1d(0x23a)][_0x33eb1d(0x28f)],'mcpCoreConfig':this[_0x33eb1d(0x268)][_0x33eb1d(0x28f)],'currentApiKey$':this[_0x33eb1d(0x14b)],'onSave':this[_0x33eb1d(0x1db)],'loading':this[_0x33eb1d(0x1b0)][_0x33eb1d(0x28f)],'connectionStatus$':(_0x1bb04a=this[_0x33eb1d(0x142)])==null?void 0x0:_0x1bb04a[_0x33eb1d(0x153)],'connectionError$':(_0x53895b=this['_mcpConnectionController'])==null?void 0x0:_0x53895b[_0x33eb1d(0x276)],'currentSessionId$':(_0x42d5d8=this[_0x33eb1d(0x142)])==null?void 0x0:_0x42d5d8[_0x33eb1d(0x19a)]});},this[_0x29c6e4(0x1f6)]);}['_initConfigSync'](){var _0x30da6c=_0x335c16;this[_0x30da6c(0x278)](this[_0x30da6c(0x240)][_0x30da6c(0x18c)](_0x484337[_0x30da6c(0x14a)])[_0x30da6c(0x223)](_0x47f742=>{this['_mcpCoreConfig$']['next'](_0x47f742||{});}));const _0x19a601=this['_configService'][_0x30da6c(0x1bf)](_0x484337[_0x30da6c(0x14a)]);this[_0x30da6c(0x268)][_0x30da6c(0x2a9)](_0x19a601||{}),this[_0x30da6c(0x278)](this['_configService']['subscribeConfigValue$'](_0x4f7db8)[_0x30da6c(0x223)](_0x3e2f1b=>{var _0x494935=_0x30da6c;this[_0x494935(0x23a)]['next'](_0x3e2f1b||{});}));const _0x2e0f3c=this['_configService'][_0x30da6c(0x1bf)](_0x4f7db8);this[_0x30da6c(0x23a)]['next'](_0x2e0f3c||{});}async['_loadStoredApiKey'](){var _0x58a77b=_0x335c16;const _0x1d1fea=await this[_0x58a77b(0x273)][_0x58a77b(0x204)](_0x51991c);_0x1d1fea&&(this['_mcpConnectionController'][_0x58a77b(0x296)]({'Authorization':_0x58a77b(0x220)+_0x1d1fea}),this[_0x58a77b(0x14b)][_0x58a77b(0x2a9)](_0x1d1fea));}async[_0x335c16(0x242)](_0x324f2c){var _0x5810ea=_0x335c16;if(!_0x324f2c[_0x5810ea(0x272)]||_0x324f2c[_0x5810ea(0x272)][_0x5810ea(0x174)]()[_0x5810ea(0x1ba)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5810ea(0x15d)]['t'](_0x5810ea(0x15a))};if(_0x324f2c[_0x5810ea(0x272)][_0x5810ea(0x174)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5810ea(0x15d)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x16389e=await this[_0x5810ea(0x1f6)]['get'](_0x484337[_0x5810ea(0x27a)])['validateApiKey'](_0x324f2c[_0x5810ea(0x272)]['trim']());return _0x16389e['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x16389e[_0x5810ea(0x22d)]||this[_0x5810ea(0x15d)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x160505){return console[_0x5810ea(0x1c9)](_0x5810ea(0x13e),_0x160505),{'isValid':!0x0};}}},_0x2198d5[_0x335c16(0x1f0)]=_0xd9dba1([_0x36786c(0x0,_0x5075bc['Inject'](_0x5075bc[_0x335c16(0x225)])),_0x36786c(0x1,_0x336e40[_0x335c16(0x290)]),_0x36786c(0x2,_0x5075bc[_0x335c16(0x2b2)]),_0x36786c(0x3,_0x5075bc['ILocalStorageService']),_0x36786c(0x4,_0x336e40['IDialogService']),_0x36786c(0x5,_0x336e40[_0x335c16(0x17a)]),_0x36786c(0x6,_0x5075bc['Inject'](_0x336e40[_0x335c16(0x2a6)])),_0x36786c(0x7,_0x5075bc[_0x335c16(0x176)](_0x5075bc[_0x335c16(0x197)])),_0x36786c(0x8,_0x5075bc['ILogService']),_0x36786c(0x9,_0x5075bc[_0x335c16(0x176)](_0x484337[_0x335c16(0x27a)]))],_0x2198d5[_0x335c16(0x1f0)]);const _0x58ace9={'id':_0x335c16(0x274),'type':_0x5075bc[_0x335c16(0x28d)]['COMMAND'],'handler':async(_0x2aac66,_0x56ef70)=>(_0x2aac66['get'](_0x2198d5['MCPConfigUIController'])[_0x335c16(0x194)](),!0x0)};function _0x18b668(_0x1857ad,_0x2c294f){var _0x5ac39a=_0x335c16;switch(_0x1857ad){case _0x484337[_0x5ac39a(0x22f)]['DISCONNECTED']:return _0x5ac39a(0x184);case _0x484337['MCPConnectionStatus'][_0x5ac39a(0x25c)]:return _0x5ac39a(0x1a9);case _0x484337['MCPConnectionStatus'][_0x5ac39a(0x21f)]:return _0x5ac39a(0x218);case _0x484337['MCPConnectionStatus']['FAILED']:switch(_0x2c294f){case _0x484337[_0x5ac39a(0x299)][_0x5ac39a(0x1c2)]:return _0x5ac39a(0x2be);case _0x484337[_0x5ac39a(0x299)]['SESSION_ID_OCCUPIED']:return _0x5ac39a(0x23e);case _0x484337[_0x5ac39a(0x299)][_0x5ac39a(0x25e)]:return'mcpStatus.networkError';case _0x484337['MCPConnectionError'][_0x5ac39a(0x281)]:return _0x5ac39a(0x137);default:return'mcpStatus.failed';}case _0x484337[_0x5ac39a(0x22f)][_0x5ac39a(0x16a)]:return _0x5ac39a(0x25f);default:return _0x5ac39a(0x1a6);}}function _0x1cc4e5(_0x47e4ef,_0x28b0d7,_0xeea419){var _0x3ef93a=_0x335c16;const _0x36822a=_0x18b668(_0x47e4ef,_0x28b0d7),_0x8837b6=_0xeea419['t'](_0x36822a);return _0x47e4ef===_0x484337[_0x3ef93a(0x22f)][_0x3ef93a(0x202)]&&_0x28b0d7===_0x484337['MCPConnectionError'][_0x3ef93a(0x1c2)]?_0x8837b6+_0x3ef93a(0x155)+_0xeea419['t'](_0x3ef93a(0x157)):_0x47e4ef===_0x484337[_0x3ef93a(0x22f)][_0x3ef93a(0x21f)]?''+_0x8837b6:_0x47e4ef===_0x484337[_0x3ef93a(0x22f)][_0x3ef93a(0x202)]||_0x47e4ef===_0x484337[_0x3ef93a(0x22f)][_0x3ef93a(0x24c)]?_0x8837b6+_0x3ef93a(0x155)+_0xeea419['t']('mcpStatus.clickToConnect'):_0x8837b6;}function _0x38bfb0(_0x458f88){var _0x4f639e=_0x335c16;switch(_0x458f88){case _0x484337[_0x4f639e(0x22f)]['CONNECTED']:return _0x4f639e(0x280);case _0x484337[_0x4f639e(0x22f)][_0x4f639e(0x25c)]:case _0x484337[_0x4f639e(0x22f)][_0x4f639e(0x16a)]:return _0x4f639e(0x219);case _0x484337[_0x4f639e(0x22f)]['FAILED']:case _0x484337[_0x4f639e(0x22f)][_0x4f639e(0x202)]:return'univer-text-red-500';default:return _0x4f639e(0x22a);}}function _0x3ea204(_0x5f312d){var _0x35d975=_0x335c16;const {status$:_0x4f9ed3,error$:_0x510d10,onConfigure:_0x9668e}=_0x5f312d,_0x49a22a=_0x336e40[_0x35d975(0x152)](_0x4f9ed3,_0x484337[_0x35d975(0x22f)]['DISCONNECTED']),_0x51f44c=_0x336e40[_0x35d975(0x152)](_0x510d10,_0x484337[_0x35d975(0x299)][_0x35d975(0x1b8)]),_0x40a597=_0x336e40[_0x35d975(0x1ca)](_0x5075bc['LocaleService']),_0x35221a=_0x49a22a===_0x484337[_0x35d975(0x22f)][_0x35d975(0x21f)],_0x5e012f=_0x49a22a===_0x484337[_0x35d975(0x22f)][_0x35d975(0x25c)]||_0x49a22a===_0x484337[_0x35d975(0x22f)][_0x35d975(0x16a)],_0x4a2522=_0x40a597['t'](_0x18b668(_0x49a22a,_0x51f44c)),_0x43d646=_0x1cc4e5(_0x49a22a,_0x51f44c,_0x40a597),_0x4824a0=_0x38bfb0(_0x49a22a),_0x25d087=_0x35221a?_0x22a1a4['jsx'](_0x224759,{}):_0x22a1a4['jsx'](_0x47aba7,{}),_0x2a0de2=_0x4ad054[_0x35d975(0x2a5)](()=>{_0x9668e&&_0x9668e();},[_0x35221a,_0x5e012f,_0x9668e]);function _0x454e16(){var _0x43de12=_0x35d975;return _0x22a1a4[_0x43de12(0x26b)](_0x43de12(0x250),{'className':_0x2a4e4b['clsx']('univer-flex\x20univer-cursor-pointer\x20univer-items-center',_0x9668e&&_0x43de12(0x17c)),'onClick':_0x9668e?_0x2a0de2:void 0x0,'children':[_0x22a1a4[_0x43de12(0x1d3)](_0x43de12(0x250),{'className':_0x2a4e4b['clsx'](_0x43de12(0x1e5),_0x4824a0),'children':_0x25d087}),_0x22a1a4['jsx'](_0x43de12(0x250),{'className':_0x43de12(0x167),'children':_0x4a2522})]});}return _0x22a1a4['jsx'](_0x2a4e4b[_0x35d975(0x170)],{'title':_0x43d646,'placement':'bottom','children':_0x454e16()});}var _0x374b9e=Object[_0x335c16(0x2b6)],_0x3abb3d=(_0x40b41a,_0x1cdf28,_0xfd3fe7,_0x3ebb7a)=>{for(var _0x5d6755=_0x3ebb7a>0x1?void 0x0:_0x3ebb7a?_0x374b9e(_0x1cdf28,_0xfd3fe7):_0x1cdf28,_0x1a6482=_0x40b41a['length']-0x1,_0x3e7a47;_0x1a6482>=0x0;_0x1a6482--)(_0x3e7a47=_0x40b41a[_0x1a6482])&&(_0x5d6755=_0x3e7a47(_0x5d6755)||_0x5d6755);return _0x5d6755;},_0x4c4b33=(_0x3e3121,_0x35a268)=>(_0x30fb25,_0x18722e)=>_0x35a268(_0x30fb25,_0x18722e,_0x3e3121);_0x2198d5['MCPConnectionUIController']=class extends _0x5075bc[_0x335c16(0x162)]{constructor(_0x4d341f,_0x54167b,_0x2a3eb5){var _0x3aa997=_0x335c16;super(),this['_injector']=_0x4d341f,this['_connectionController']=_0x54167b,this['_uiPartsService']=_0x2a3eb5,this[_0x3aa997(0x1e6)]['enableAutoConnect']=!0x1,this['_initStatusComponent']();}[_0x335c16(0x169)](){var _0x2167a1=_0x335c16;this[_0x2167a1(0x278)](this[_0x2167a1(0x2b9)][_0x2167a1(0x216)](_0x336e40['BuiltInUIPart'][_0x2167a1(0x1e7)],()=>_0x336e40[_0x2167a1(0x13a)](_0x238783({'status$':this[_0x2167a1(0x1e6)]['connectionStatus$'],'error$':this[_0x2167a1(0x1e6)][_0x2167a1(0x276)],'onConfigure':()=>this[_0x2167a1(0x196)]()}),this['_injector'])));}[_0x335c16(0x196)](){var _0x2c8087=_0x335c16;this['_injector'][_0x2c8087(0x26d)](_0x2198d5[_0x2c8087(0x1f0)])[_0x2c8087(0x194)]();}},_0x2198d5[_0x335c16(0x27e)]=_0x3abb3d([_0x4c4b33(0x0,_0x5075bc['Inject'](_0x5075bc[_0x335c16(0x225)])),_0x4c4b33(0x1,_0x5075bc[_0x335c16(0x176)](_0x484337['MCPConnectionController'])),_0x4c4b33(0x2,_0x336e40[_0x335c16(0x290)])],_0x2198d5[_0x335c16(0x27e)]);function _0x238783(_0x3693ca){const {status$:_0x28b713,error$:_0x1a4634,onConfigure:_0x236137}=_0x3693ca;return function(){return _0x22a1a4['jsx'](_0x3ea204,{'status$':_0x28b713,'error$':_0x1a4634,'onConfigure':_0x236137});};}function _0x1dcea3(_0x307b5f){var _0x49dbd1=_0x335c16;return{'id':_0x58ace9['id'],'type':_0x336e40['MenuItemType']['BUTTON'],'icon':_0x49dbd1(0x1c8),'title':_0x49dbd1(0x282),'tooltip':'mcpConfig.title'};}const _0x1da2d4={[_0x336e40[_0x335c16(0x1fc)][_0x335c16(0x21b)]]:{[_0x58ace9['id']]:{'order':0xa,'menuItemFactory':_0x1dcea3}}};var _0x55b18c=Object[_0x335c16(0x2b6)],_0x17cbbb=(_0x3d9ade,_0x216f78,_0x7f69bd,_0x3c415b)=>{var _0x2b4044=_0x335c16;for(var _0x3d5c1e=_0x3c415b>0x1?void 0x0:_0x3c415b?_0x55b18c(_0x216f78,_0x7f69bd):_0x216f78,_0x4d875a=_0x3d9ade[_0x2b4044(0x1ba)]-0x1,_0x46554e;_0x4d875a>=0x0;_0x4d875a--)(_0x46554e=_0x3d9ade[_0x4d875a])&&(_0x3d5c1e=_0x46554e(_0x3d5c1e)||_0x3d5c1e);return _0x3d5c1e;},_0x4f989e=(_0x3b7b46,_0x4c098c)=>(_0x95d78e,_0x406fc0)=>_0x4c098c(_0x95d78e,_0x406fc0,_0x3b7b46);_0x2198d5['MCPUIMenuController']=class extends _0x5075bc[_0x335c16(0x162)]{constructor(_0xa538fb,_0x2f26c9){var _0x128254=_0x335c16;super(),this[_0x128254(0x217)]=_0xa538fb,this[_0x128254(0x1e1)]=_0x2f26c9,this[_0x128254(0x29f)](),this['_initializeMenus']();}[_0x335c16(0x29f)](){var _0x45062d=_0x335c16;[_0x58ace9][_0x45062d(0x14f)](_0x35cc55=>{var _0x12f281=_0x45062d;this[_0x12f281(0x278)](this[_0x12f281(0x217)][_0x12f281(0x189)](_0x35cc55));});}[_0x335c16(0x1f5)](){var _0x211e87=_0x335c16;this[_0x211e87(0x1e1)][_0x211e87(0x236)](_0x1da2d4);}},_0x2198d5[_0x335c16(0x2c8)]=_0x17cbbb([_0x4f989e(0x0,_0x5075bc[_0x335c16(0x2ac)]),_0x4f989e(0x1,_0x336e40[_0x335c16(0x193)])],_0x2198d5[_0x335c16(0x2c8)]);const _0x4c906d={'mcpStatus':{'disconnected':_0x335c16(0x2a3),'connecting':_0x335c16(0x24e),'connected':'MCP\x20Connected','failed':_0x335c16(0x1a4),'retrying':_0x335c16(0x243),'unknown':_0x335c16(0x1e4),'missingApiKey':_0x335c16(0x22e),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x335c16(0x160),'networkError':_0x335c16(0x1d6),'maxRetriesExceeded':_0x335c16(0x14e),'clickToConnect':_0x335c16(0x215),'clickToConfigure':_0x335c16(0x1ec)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x335c16(0x291),'apiKeyPlaceholder':_0x335c16(0x231),'apiKeyHint':_0x335c16(0x19d),'enableAuth':_0x335c16(0x163),'enableAuthHint':_0x335c16(0x17b),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x335c16(0x1ab),'configInstructions':_0x335c16(0x1e0),'configStepTitle':_0x335c16(0x283),'configStep1':_0x335c16(0x148),'configStep2':_0x335c16(0x1c6),'configStep3':_0x335c16(0x1d1),'sessionId':_0x335c16(0x1b3),'sessionIdDescription':_0x335c16(0x1e8),'authorizationDescription':_0x335c16(0x298),'configParameters':_0x335c16(0x1bc),'maxRetries':_0x335c16(0x247),'save':_0x335c16(0x287),'saving':_0x335c16(0x1a7),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x335c16(0x20f),'configSaved':_0x335c16(0x285),'configError':_0x335c16(0x1b6),'apiApplyInfo':{'title':_0x335c16(0x235),'description':_0x335c16(0x26f),'univerAiLabel':_0x335c16(0x1ee),'getStarted':_0x335c16(0x251)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x335c16(0x13c),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x335c16(0x25b)},'connectionStatus':{'disconnected':_0x335c16(0x18a),'connecting':_0x335c16(0x168),'connected':_0x335c16(0x1b9),'failed':'Connection\x20Failed','retrying':_0x335c16(0x1d5)},'connectionError':{'missingApiKey':_0x335c16(0x2a4),'invalidApiKey':_0x335c16(0x26a),'sessionOccupied':_0x335c16(0x1a5),'networkError':_0x335c16(0x279),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x37d638={'mcpStatus':{'disconnected':_0x335c16(0x1c3),'connecting':_0x335c16(0x28a),'connected':_0x335c16(0x1da),'failed':'MCP\x20连接失败','retrying':_0x335c16(0x183),'unknown':_0x335c16(0x222),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x335c16(0x2b3),'sessionOccupied':_0x335c16(0x2c7),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x335c16(0x140),'clickToConnect':_0x335c16(0x1b5),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':_0x335c16(0x257),'apiKey':_0x335c16(0x198),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x335c16(0x1dd),'enableAuthHint':_0x335c16(0x186),'connectionInfo':_0x335c16(0x2c0),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x335c16(0x277),'configStepTitle':'配置步骤:','configStep1':_0x335c16(0x297),'configStep2':_0x335c16(0x161),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x335c16(0x200),'authorizationDescription':_0x335c16(0x255),'configParameters':_0x335c16(0x1e2),'maxRetries':_0x335c16(0x16d),'save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x335c16(0x2b1),'configError':'配置保存失败','apiApplyInfo':{'title':_0x335c16(0x259),'description':_0x335c16(0x18e),'univerAiLabel':_0x335c16(0x1b4),'getStarted':_0x335c16(0x1e3)},'validation':{'apiKeyRequired':_0x335c16(0x23c),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x335c16(0x177),'invalidApiKey':_0x335c16(0x150)},'connectionStatus':{'disconnected':_0x335c16(0x2b0),'connecting':_0x335c16(0x1ae),'connected':'已连接','failed':'连接失败','retrying':_0x335c16(0x1f1)},'connectionError':{'missingApiKey':_0x335c16(0x210),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x335c16(0x23b),'networkError':_0x335c16(0x14c),'maxRetriesExceeded':_0x335c16(0x208)}}};var _0x5939c4=Object[_0x335c16(0x1ed)],_0x5a8337=Object[_0x335c16(0x2b6)],_0xf8e642=(_0xd4aa85,_0x25ceff,_0x1712a0)=>_0x25ceff in _0xd4aa85?_0x5939c4(_0xd4aa85,_0x25ceff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1712a0}):_0xd4aa85[_0x25ceff]=_0x1712a0,_0xb95b1=(_0x594de5,_0x4d1721,_0x2fd91e,_0x20bbdc)=>{for(var _0x27394f=_0x20bbdc>0x1?void 0x0:_0x20bbdc?_0x5a8337(_0x4d1721,_0x2fd91e):_0x4d1721,_0x2f51fd=_0x594de5['length']-0x1,_0x2a7220;_0x2f51fd>=0x0;_0x2f51fd--)(_0x2a7220=_0x594de5[_0x2f51fd])&&(_0x27394f=_0x2a7220(_0x27394f)||_0x27394f);return _0x27394f;},_0x32700b=(_0x24780a,_0x452948)=>(_0x11ae03,_0x5130b2)=>_0x452948(_0x11ae03,_0x5130b2,_0x24780a),_0x179086=(_0x5e84e0,_0x1ec3f8,_0x2f4cd9)=>_0xf8e642(_0x5e84e0,_0x1ec3f8+'',_0x2f4cd9);_0x2198d5[_0x335c16(0x27b)]=class extends _0x5075bc[_0x335c16(0x2af)]{constructor(_0xf2f3d0=_0x4fa5a8,_0x3b9f83,_0x3653e8,_0x143db1,_0x3d6ef3,_0x342c8a){var _0x35151d=_0x335c16;super(),this[_0x35151d(0x244)]=_0xf2f3d0,this['_injector']=_0x3b9f83,this['_configService']=_0x3653e8,this[_0x35151d(0x2b9)]=_0x143db1,this[_0x35151d(0x273)]=_0x3d6ef3,this[_0x35151d(0x15d)]=_0x342c8a;const {..._0x9996ee}=_0x5075bc[_0x35151d(0x221)]({},_0x4fa5a8,this[_0x35151d(0x244)]);this[_0x35151d(0x240)][_0x35151d(0x2c2)](_0x4f7db8,_0x9996ee);}async['onStarting'](){var _0x59b8a9=_0x335c16;const _0x22f155=[[_0x2198d5[_0x59b8a9(0x27e)]],[_0x2198d5['MCPConfigUIController']],[_0x2198d5['MCPUIMenuController']]];this['_injector'][_0x59b8a9(0x2a7)](_0x3b22b0[_0x59b8a9(0x19b)])||_0x22f155['push']([_0x3b22b0[_0x59b8a9(0x19b)],{'useClass':_0x3b22b0[_0x59b8a9(0x20e)]}]),_0x22f155[_0x59b8a9(0x14f)](_0x47d6d3=>this['_injector'][_0x59b8a9(0x21d)](_0x47d6d3)),this[_0x59b8a9(0x1f6)][_0x59b8a9(0x26d)](_0x2198d5[_0x59b8a9(0x27e)]),this[_0x59b8a9(0x1f6)]['get'](_0x2198d5['MCPConfigUIController']),this[_0x59b8a9(0x1f6)][_0x59b8a9(0x26d)](_0x2198d5[_0x59b8a9(0x2c8)]);}},_0x179086(_0x2198d5[_0x335c16(0x27b)],_0x335c16(0x233),_0x335c16(0x295)),_0x2198d5['UniverMCPUIPlugin']=_0xb95b1([_0x5075bc[_0x335c16(0x294)](_0x484337[_0x335c16(0x18f)]),_0x32700b(0x1,_0x5075bc['Inject'](_0x5075bc[_0x335c16(0x225)])),_0x32700b(0x2,_0x5075bc[_0x335c16(0x2b2)]),_0x32700b(0x3,_0x336e40[_0x335c16(0x290)]),_0x32700b(0x4,_0x5075bc[_0x335c16(0x179)]),_0x32700b(0x5,_0x5075bc['Inject'](_0x5075bc[_0x335c16(0x197)]))],_0x2198d5[_0x335c16(0x27b)]),_0x2198d5[_0x335c16(0x1eb)]=_0x3f5bca,_0x2198d5[_0x335c16(0x19c)]=_0x3ea204,_0x2198d5['OpenMCPConfigPanelCommand']=_0x58ace9,_0x2198d5[_0x335c16(0x2bc)]=_0x4c906d,_0x2198d5['zhCN']=_0x37d638,Object[_0x335c16(0x1ed)](_0x2198d5,Symbol[_0x335c16(0x2c4)],{'value':'Module'});}));
@@ -1 +1 @@
1
- function _0xddab(){var _0x112803=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20API\x20Key\x20Missing','Copy\x20the\x20JSON\x20configuration\x20below','442807AvehRy','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Unknown\x20Status','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','245624FjtEno','91haiDGX','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','659675TdtEWi','16803gtarZH','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','UniverProMcpUiCaES','5190mjJYHP','MCP\x20Client\x20Configuration','MCP\x20Retrying...','Disconnected','1156464accUZL','exports','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','function','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','2266852EyxAGJ','MCP\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Univer\x20AI\x20Console','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','3XhLWzL','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Invalid\x20configuration','1808742zxoDKa','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20configure\x20MCP','Connected','Connection\x20Failed','MCP:\x20Session\x20Occupied','MCP\x20Connected','MCP:\x20Network\x20Error','Enable\x20Authentication','Session\x20ID'];_0xddab=function(){return _0x112803;};return _0xddab();}function _0x59c1(_0x7f945d,_0x3ceb19){var _0xddab5d=_0xddab();return _0x59c1=function(_0x59c141,_0x4cce77){_0x59c141=_0x59c141-0x1ea;var _0x4c58ad=_0xddab5d[_0x59c141];return _0x4c58ad;},_0x59c1(_0x7f945d,_0x3ceb19);}(function(_0x19da1c,_0x406fac){var _0x2c0691=_0x59c1,_0x493bc4=_0x19da1c();while(!![]){try{var _0x5d9484=-parseInt(_0x2c0691(0x211))/0x1+-parseInt(_0x2c0691(0x1f4))/0x2*(-parseInt(_0x2c0691(0x200))/0x3)+-parseInt(_0x2c0691(0x1fa))/0x4+-parseInt(_0x2c0691(0x1eb))/0x5+parseInt(_0x2c0691(0x203))/0x6+-parseInt(_0x2c0691(0x21a))/0x7*(parseInt(_0x2c0691(0x219))/0x8)+-parseInt(_0x2c0691(0x1ec))/0x9*(-parseInt(_0x2c0691(0x1f0))/0xa);if(_0x5d9484===_0x406fac)break;else _0x493bc4['push'](_0x493bc4['shift']());}catch(_0x50d384){_0x493bc4['push'](_0x493bc4['shift']());}}}(_0xddab,0x4b364),function(_0x343815,_0x32214f){var _0x14aee3=_0x59c1;typeof exports=='object'&&typeof module<'u'?module[_0x14aee3(0x1f5)]=_0x32214f():typeof define==_0x14aee3(0x1f8)&&define['amd']?define(_0x32214f):(_0x343815=typeof globalThis<'u'?globalThis:_0x343815||self,_0x343815[_0x14aee3(0x1ef)]=_0x32214f());}(this,function(){'use strict';var _0x410fb9=_0x59c1;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x410fb9(0x209),'failed':'MCP\x20Connection\x20Failed','retrying':_0x410fb9(0x1f2),'unknown':_0x410fb9(0x214),'missingApiKey':_0x410fb9(0x20f),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x410fb9(0x208),'networkError':_0x410fb9(0x20a),'maxRetriesExceeded':_0x410fb9(0x1ea),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x410fb9(0x205)},'mcpConfig':{'title':_0x410fb9(0x1fb),'description':_0x410fb9(0x20d),'apiKey':_0x410fb9(0x216),'apiKeyPlaceholder':_0x410fb9(0x1ed),'apiKeyHint':_0x410fb9(0x1ee),'enableAuth':_0x410fb9(0x20b),'enableAuthHint':_0x410fb9(0x213),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x410fb9(0x1f1),'configInstructions':_0x410fb9(0x1f7),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x410fb9(0x210),'configStep2':_0x410fb9(0x217),'configStep3':_0x410fb9(0x1ff),'sessionId':_0x410fb9(0x20c),'sessionIdDescription':_0x410fb9(0x1fd),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x410fb9(0x218),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x410fb9(0x21c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x410fb9(0x20e),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x410fb9(0x212),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x410fb9(0x1f6),'univerAiLabel':_0x410fb9(0x1fe),'getStarted':_0x410fb9(0x204)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x410fb9(0x21b),'invalidConfig':_0x410fb9(0x202),'invalidApiKey':_0x410fb9(0x201)},'connectionStatus':{'disconnected':_0x410fb9(0x1f3),'connecting':'Connecting...','connected':_0x410fb9(0x206),'failed':_0x410fb9(0x207),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x410fb9(0x1f9),'sessionOccupied':_0x410fb9(0x1fc),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x410fb9(0x215)}}};}));
1
+ function _0x4ccf(_0x1fe365,_0x877608){var _0x412411=_0x4124();return _0x4ccf=function(_0x4ccf0f,_0x40cda3){_0x4ccf0f=_0x4ccf0f-0xde;var _0x4b360b=_0x412411[_0x4ccf0f];return _0x4b360b;},_0x4ccf(_0x1fe365,_0x877608);}function _0x4124(){var _0x5ed0c0=['Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20is\x20required\x20to\x20connect','8492IJixqD','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20Authentication','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20configure\x20MCP','UniverProMcpUiCaES','MCP\x20Client\x20Configuration','Failed\x20to\x20save\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','613484dhTeCW','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Invalid\x20configuration','8dqnEVA','MCP\x20Unknown\x20Status','Save\x20Configuration','Connected','MCP\x20Connected','Connection\x20Failed','Saving...','MCP\x20Connection\x20Failed','954035UqTGUG','6963678ERzvZZ','Disconnected','exports','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Session\x20Occupied','Session\x20ID','5207340OXvigE','API\x20Key','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Network\x20Error','9358489mMHICf','Configuration\x20Steps:','595FqCTxL','MCP\x20Disconnected','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Retrying...','Univer\x20AI\x20Console','MCP\x20Retrying...','1183389nliRho','MCP\x20Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','amd','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:'];_0x4124=function(){return _0x5ed0c0;};return _0x4124();}(function(_0x5bd392,_0x408b25){var _0x586f80=_0x4ccf,_0x475707=_0x5bd392();while(!![]){try{var _0x12692c=parseInt(_0x586f80(0x109))/0x1+parseInt(_0x586f80(0xfe))/0x2+-parseInt(_0x586f80(0xea))/0x3+parseInt(_0x586f80(0xf3))/0x4*(parseInt(_0x586f80(0xe4))/0x5)+-parseInt(_0x586f80(0x112))/0x6+parseInt(_0x586f80(0xe2))/0x7*(parseInt(_0x586f80(0x101))/0x8)+-parseInt(_0x586f80(0x10a))/0x9;if(_0x12692c===_0x408b25)break;else _0x475707['push'](_0x475707['shift']());}catch(_0x170401){_0x475707['push'](_0x475707['shift']());}}}(_0x4124,0xc6ca6),function(_0x4d7898,_0x379314){var _0x3f461e=_0x4ccf;typeof exports=='object'&&typeof module<'u'?module[_0x3f461e(0x10c)]=_0x379314():typeof define=='function'&&define[_0x3f461e(0xed)]?define(_0x379314):(_0x4d7898=typeof globalThis<'u'?globalThis:_0x4d7898||self,_0x4d7898[_0x3f461e(0xfa)]=_0x379314());}(this,function(){'use strict';var _0x40f1b7=_0x4ccf;return{'mcpStatus':{'disconnected':_0x40f1b7(0xe5),'connecting':_0x40f1b7(0xeb),'connected':_0x40f1b7(0x105),'failed':_0x40f1b7(0x108),'retrying':_0x40f1b7(0xe9),'unknown':_0x40f1b7(0x102),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x40f1b7(0x110),'networkError':_0x40f1b7(0xe1),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x40f1b7(0xf9)},'mcpConfig':{'title':_0x40f1b7(0xf4),'description':_0x40f1b7(0xf5),'apiKey':_0x40f1b7(0xde),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x40f1b7(0x10e),'enableAuth':_0x40f1b7(0xf6),'enableAuthHint':_0x40f1b7(0xec),'connectionInfo':_0x40f1b7(0xfb),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x40f1b7(0xef),'configStepTitle':_0x40f1b7(0xe3),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x40f1b7(0x10d),'sessionId':_0x40f1b7(0x111),'sessionIdDescription':_0x40f1b7(0xf0),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x40f1b7(0xdf),'save':_0x40f1b7(0x103),'saving':_0x40f1b7(0x107),'note1':_0x40f1b7(0xfd),'note2':_0x40f1b7(0xee),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x40f1b7(0xfc),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x40f1b7(0xf1),'univerAiLabel':_0x40f1b7(0xe8),'getStarted':_0x40f1b7(0xf8)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x40f1b7(0xe0),'invalidConfig':_0x40f1b7(0x100),'invalidApiKey':_0x40f1b7(0xf7)},'connectionStatus':{'disconnected':_0x40f1b7(0x10b),'connecting':'Connecting...','connected':_0x40f1b7(0x104),'failed':_0x40f1b7(0x106),'retrying':_0x40f1b7(0xe7)},'connectionError':{'missingApiKey':_0x40f1b7(0xf2),'invalidApiKey':_0x40f1b7(0xff),'sessionOccupied':_0x40f1b7(0xe6),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x40f1b7(0x10f)}}};}));