@univerjs-pro/mcp-ui 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511070939

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 +6 -6
@@ -1 +1 @@
1
- const _0x2601c0=_0x3eb3;(function(_0x10a24b,_0x823a34){const _0x3bd11b=_0x3eb3,_0x514e67=_0x10a24b();while(!![]){try{const _0x2a609a=-parseInt(_0x3bd11b(0xa3))/0x1*(parseInt(_0x3bd11b(0x8c))/0x2)+-parseInt(_0x3bd11b(0xa6))/0x3+parseInt(_0x3bd11b(0xa1))/0x4+parseInt(_0x3bd11b(0xb2))/0x5*(-parseInt(_0x3bd11b(0x99))/0x6)+parseInt(_0x3bd11b(0xa2))/0x7+-parseInt(_0x3bd11b(0x9c))/0x8*(-parseInt(_0x3bd11b(0x9f))/0x9)+-parseInt(_0x3bd11b(0xb1))/0xa*(-parseInt(_0x3bd11b(0x94))/0xb);if(_0x2a609a===_0x823a34)break;else _0x514e67['push'](_0x514e67['shift']());}catch(_0x595b4d){_0x514e67['push'](_0x514e67['shift']());}}}(_0x5607,0x2fdff));function _0x3eb3(_0x2c6f74,_0x568d6e){const _0x5607b7=_0x5607();return _0x3eb3=function(_0x3eb32a,_0x557931){_0x3eb32a=_0x3eb32a-0x85;let _0x135b9c=_0x5607b7[_0x3eb32a];return _0x135b9c;},_0x3eb3(_0x2c6f74,_0x568d6e);}function _0x5607(){const _0x4c6284=['Enable\x20Authentication','Enable\x20authentication\x20for\x20secure\x20connections','Failed\x20to\x20save\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Parameters:','Connected','MCP\x20Client\x20Configuration','430VVKthC','5bgyWPO','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20configure\x20MCP','Session\x20ID','MCP:\x20Session\x20ID\x20Occupied','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connecting...','MCP\x20Disconnected','Connecting...','API\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.','What\x20is\x20API\x20Key?','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.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connection\x20Failed','2DPZjYR','MCP\x20Connected','MCP:\x20Unauthorized','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Steps:','58080RhRnZo','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','Retrying...','1574490RFKVWg','Copy\x20the\x20JSON\x20configuration\x20below','Disconnected','434632ErHSLk','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Network\x20Error','9XnJypp','Configuration\x20saved\x20successfully','988056QGfZFe','862554mAYhqA','182609ztoInw','Saving...','Save\x20Configuration','31458kYcWcG','API\x20key\x20with\x20Bearer\x20prefix.','Enter\x20your\x20API\x20key'];_0x5607=function(){return _0x4c6284;};return _0x5607();}const e={'mcpStatus':{'disconnected':_0x2601c0(0xba),'connecting':_0x2601c0(0xb9),'connected':_0x2601c0(0x8d),'failed':_0x2601c0(0x8b),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2601c0(0x8e),'sessionOccupied':_0x2601c0(0xb7),'networkError':_0x2601c0(0x9e),'maxRetriesExceeded':_0x2601c0(0xb4),'clickToConnect':_0x2601c0(0x87),'clickToConfigure':_0x2601c0(0xb5)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2601c0(0x96),'apiKey':_0x2601c0(0xbc),'apiKeyPlaceholder':_0x2601c0(0xa8),'apiKeyHint':_0x2601c0(0x8a),'enableAuth':_0x2601c0(0xa9),'enableAuthHint':_0x2601c0(0xaa),'connectionInfo':_0x2601c0(0xb0),'mcpClientConfig':_0x2601c0(0xb0),'configInstructions':_0x2601c0(0x8f),'configStepTitle':_0x2601c0(0x93),'configStep1':_0x2601c0(0x9a),'configStep2':_0x2601c0(0xac),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x2601c0(0xb6),'sessionIdDescription':_0x2601c0(0x88),'authorizationDescription':_0x2601c0(0xa7),'configParameters':_0x2601c0(0xae),'maxRetries':_0x2601c0(0xb3),'save':_0x2601c0(0xa5),'saving':_0x2601c0(0xa4),'note1':_0x2601c0(0x92),'note2':_0x2601c0(0x89),'configSaved':_0x2601c0(0xa0),'configError':_0x2601c0(0xab),'apiApplyInfo':{'title':_0x2601c0(0x86),'description':_0x2601c0(0x85),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2601c0(0x90)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2601c0(0x9d),'invalidConfig':_0x2601c0(0x91),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2601c0(0x9b),'connecting':_0x2601c0(0xbb),'connected':_0x2601c0(0xaf),'failed':_0x2601c0(0x97),'retrying':_0x2601c0(0x98)},'connectionError':{'unauthorized':_0x2601c0(0x95),'sessionOccupied':_0x2601c0(0xb8),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2601c0(0xad)}}},n=e;export{n as default};
1
+ function _0x18c3(_0x25d9cc,_0x26536b){const _0x28f8da=_0x28f8();return _0x18c3=function(_0x18c30f,_0x45e0a2){_0x18c30f=_0x18c30f-0x99;let _0x31de35=_0x28f8da[_0x18c30f];return _0x31de35;},_0x18c3(_0x25d9cc,_0x26536b);}const _0x2f4f69=_0x18c3;(function(_0x1c34cf,_0x6bd061){const _0x454782=_0x18c3,_0x3bd4b4=_0x1c34cf();while(!![]){try{const _0x3c369c=-parseInt(_0x454782(0xc5))/0x1*(-parseInt(_0x454782(0xa9))/0x2)+-parseInt(_0x454782(0xa2))/0x3+-parseInt(_0x454782(0xa4))/0x4+parseInt(_0x454782(0x9b))/0x5*(parseInt(_0x454782(0xa7))/0x6)+-parseInt(_0x454782(0xc2))/0x7*(parseInt(_0x454782(0xae))/0x8)+parseInt(_0x454782(0x9a))/0x9+parseInt(_0x454782(0xb0))/0xa;if(_0x3c369c===_0x6bd061)break;else _0x3bd4b4['push'](_0x3bd4b4['shift']());}catch(_0x3fdca8){_0x3bd4b4['push'](_0x3bd4b4['shift']());}}}(_0x28f8,0x9f6d6));const e={'mcpStatus':{'disconnected':_0x2f4f69(0xc9),'connecting':_0x2f4f69(0xc8),'connected':'MCP\x20Connected','failed':_0x2f4f69(0xa0),'retrying':_0x2f4f69(0xba),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2f4f69(0xb1),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2f4f69(0xab),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2f4f69(0xa6),'description':_0x2f4f69(0xbd),'apiKey':_0x2f4f69(0x99),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2f4f69(0xb8),'enableAuth':_0x2f4f69(0xa3),'enableAuthHint':_0x2f4f69(0xa8),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2f4f69(0xb6),'configInstructions':_0x2f4f69(0xbe),'configStepTitle':_0x2f4f69(0x9e),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2f4f69(0xc0),'configStep3':_0x2f4f69(0xc7),'sessionId':_0x2f4f69(0x9d),'sessionIdDescription':_0x2f4f69(0xc4),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x2f4f69(0xa5),'maxRetries':_0x2f4f69(0xb7),'save':_0x2f4f69(0xaf),'saving':_0x2f4f69(0xc6),'note1':_0x2f4f69(0xad),'note2':_0x2f4f69(0xb4),'configSaved':_0x2f4f69(0xb9),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2f4f69(0x9f),'description':_0x2f4f69(0xb5),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2f4f69(0xaa),'invalidApiKey':_0x2f4f69(0xbf)},'connectionStatus':{'disconnected':_0x2f4f69(0xbc),'connecting':_0x2f4f69(0xbb),'connected':_0x2f4f69(0xc1),'failed':_0x2f4f69(0x9c),'retrying':_0x2f4f69(0xb2)},'connectionError':{'unauthorized':_0x2f4f69(0xa1),'sessionOccupied':_0x2f4f69(0xb3),'networkError':_0x2f4f69(0xac),'maxRetriesExceeded':_0x2f4f69(0xc3)}}},n=e;export{n as default};function _0x28f8(){const _0x3c533d=['Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connected','7nLzacO','Maximum\x20retry\x20attempts\x20exceeded.\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.','25dSgpNP','Saving...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connecting...','MCP\x20Disconnected','API\x20Key','4714533XPbOZi','70WvacJw','Connection\x20Failed','Session\x20ID','Configuration\x20Steps:','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','3101814TDFOQZ','Enable\x20Authentication','2143716CGJouE','Configuration\x20Parameters:','MCP\x20Configuration','117318xezdrB','Enable\x20authentication\x20for\x20secure\x20connections','29970qjlXxG','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','8284104pUYdiA','Save\x20Configuration','20861900PCWPvS','MCP:\x20Session\x20ID\x20Occupied','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','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\x20Client\x20Configuration','Max\x20Retries','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20saved\x20successfully','MCP\x20Retrying...','Connecting...','Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x28f8=function(){return _0x3c533d;};return _0x28f8();}
@@ -1 +1 @@
1
- function _0x2fe1(){const _0x18f3bb=['MCP:\x20Max\x20Retries\x20Exceeded','1304588TCaLbd','Failed\x20to\x20save\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20saved\x20successfully','MCP\x20Connection\x20Failed','Invalid\x20configuration','705897GMjOMw','API\x20key\x20is\x20required','1545528PjyjBK','MCP\x20Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connecting...','MCP\x20Connecting...','MCP\x20Disconnected','574590iVnCcB','Enable\x20authentication\x20for\x20secure\x20connections','Retrying...','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','Enable\x20Authentication','Connection\x20Failed','326987JNYdAi','8gqlPON','6675327cjHGvY','What\x20is\x20API\x20Key?','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','816137BOeMQf','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Unauthorized','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','API\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.','2MeRwuC','Copy\x20the\x20JSON\x20configuration\x20below','Univer\x20AI\x20Console','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Network\x20Error','Disconnected','Save\x20Configuration'];_0x2fe1=function(){return _0x18f3bb;};return _0x2fe1();}const _0x260044=_0x4032;(function(_0x303b88,_0x1175a0){const _0x3cfa49=_0x4032,_0x416358=_0x303b88();while(!![]){try{const _0x416436=parseInt(_0x3cfa49(0x21f))/0x1+-parseInt(_0x3cfa49(0x1fd))/0x2*(parseInt(_0x3cfa49(0x20b))/0x3)+parseInt(_0x3cfa49(0x205))/0x4+parseInt(_0x3cfa49(0x218))/0x5+parseInt(_0x3cfa49(0x20d))/0x6+-parseInt(_0x3cfa49(0x1f2))/0x7*(-parseInt(_0x3cfa49(0x220))/0x8)+-parseInt(_0x3cfa49(0x221))/0x9;if(_0x416436===_0x1175a0)break;else _0x416358['push'](_0x416358['shift']());}catch(_0x1bb66b){_0x416358['push'](_0x416358['shift']());}}}(_0x2fe1,0x2856d));function _0x4032(_0x21c26f,_0x4d476c){const _0x2fe118=_0x2fe1();return _0x4032=function(_0x4032e5,_0x2ab59e){_0x4032e5=_0x4032e5-0x1f2;let _0x1ac71f=_0x2fe118[_0x4032e5];return _0x1ac71f;},_0x4032(_0x21c26f,_0x4d476c);}const e={'mcpStatus':{'disconnected':_0x260044(0x217),'connecting':_0x260044(0x216),'connected':'MCP\x20Connected','failed':_0x260044(0x209),'retrying':_0x260044(0x20e),'unknown':_0x260044(0x1fa),'unauthorized':_0x260044(0x1f7),'sessionOccupied':_0x260044(0x211),'networkError':_0x260044(0x201),'maxRetriesExceeded':_0x260044(0x204),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x260044(0x1f4),'apiKey':_0x260044(0x1fb),'apiKeyPlaceholder':_0x260044(0x1f8),'apiKeyHint':_0x260044(0x1f9),'enableAuth':_0x260044(0x21d),'enableAuthHint':_0x260044(0x219),'connectionInfo':_0x260044(0x21b),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x260044(0x212),'configStep1':_0x260044(0x1fe),'configStep2':_0x260044(0x207),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x260044(0x20f),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x260044(0x21c),'maxRetries':_0x260044(0x223),'save':_0x260044(0x203),'saving':'Saving...','note1':_0x260044(0x210),'note2':_0x260044(0x1f6),'configSaved':_0x260044(0x208),'configError':_0x260044(0x206),'apiApplyInfo':{'title':_0x260044(0x222),'description':_0x260044(0x1fc),'univerAiLabel':_0x260044(0x1ff),'getStarted':_0x260044(0x213)},'validation':{'apiKeyRequired':_0x260044(0x20c),'apiKeyTooShort':_0x260044(0x1f5),'invalidConfig':_0x260044(0x20a),'invalidApiKey':_0x260044(0x1f3)},'connectionStatus':{'disconnected':_0x260044(0x202),'connecting':_0x260044(0x215),'connected':'Connected','failed':_0x260044(0x21e),'retrying':_0x260044(0x21a)},'connectionError':{'unauthorized':_0x260044(0x200),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x260044(0x224),'maxRetriesExceeded':_0x260044(0x214)}}},n=e;export{n as default};
1
+ const _0x4e2402=_0x43e5;function _0x43e5(_0x253f8c,_0x2753a2){const _0x315300=_0x3153();return _0x43e5=function(_0x43e504,_0x394633){_0x43e504=_0x43e504-0x129;let _0x35e546=_0x315300[_0x43e504];return _0x35e546;},_0x43e5(_0x253f8c,_0x2753a2);}(function(_0x4307da,_0x4d8177){const _0x4f41e1=_0x43e5,_0x539c84=_0x4307da();while(!![]){try{const _0x1bccfa=parseInt(_0x4f41e1(0x144))/0x1*(-parseInt(_0x4f41e1(0x137))/0x2)+parseInt(_0x4f41e1(0x12b))/0x3*(parseInt(_0x4f41e1(0x13f))/0x4)+-parseInt(_0x4f41e1(0x13c))/0x5*(-parseInt(_0x4f41e1(0x158))/0x6)+-parseInt(_0x4f41e1(0x132))/0x7*(-parseInt(_0x4f41e1(0x141))/0x8)+parseInt(_0x4f41e1(0x146))/0x9*(parseInt(_0x4f41e1(0x139))/0xa)+parseInt(_0x4f41e1(0x147))/0xb+-parseInt(_0x4f41e1(0x14c))/0xc;if(_0x1bccfa===_0x4d8177)break;else _0x539c84['push'](_0x539c84['shift']());}catch(_0x5da2c3){_0x539c84['push'](_0x539c84['shift']());}}}(_0x3153,0xa9bf5));const e={'mcpStatus':{'disconnected':_0x4e2402(0x129),'connecting':_0x4e2402(0x14e),'connected':_0x4e2402(0x14f),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x4e2402(0x148),'unauthorized':_0x4e2402(0x153),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4e2402(0x152),'maxRetriesExceeded':_0x4e2402(0x134),'clickToConnect':_0x4e2402(0x12f),'clickToConfigure':_0x4e2402(0x14d)},'mcpConfig':{'title':_0x4e2402(0x13e),'description':_0x4e2402(0x13d),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4e2402(0x154),'enableAuthHint':_0x4e2402(0x13b),'connectionInfo':_0x4e2402(0x15c),'mcpClientConfig':_0x4e2402(0x15c),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x4e2402(0x145),'configStep1':_0x4e2402(0x13a),'configStep2':_0x4e2402(0x136),'configStep3':_0x4e2402(0x15b),'sessionId':_0x4e2402(0x12a),'sessionIdDescription':_0x4e2402(0x15a),'authorizationDescription':_0x4e2402(0x130),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x4e2402(0x157),'save':_0x4e2402(0x159),'saving':_0x4e2402(0x12c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4e2402(0x151),'configSaved':_0x4e2402(0x143),'configError':_0x4e2402(0x14b),'apiApplyInfo':{'title':_0x4e2402(0x142),'description':_0x4e2402(0x14a),'univerAiLabel':_0x4e2402(0x12e),'getStarted':_0x4e2402(0x12d)},'validation':{'apiKeyRequired':_0x4e2402(0x133),'apiKeyTooShort':_0x4e2402(0x155),'invalidConfig':_0x4e2402(0x131),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4e2402(0x138),'connecting':_0x4e2402(0x15d),'connected':_0x4e2402(0x150),'failed':'Connection\x20Failed','retrying':_0x4e2402(0x135)},'connectionError':{'unauthorized':_0x4e2402(0x140),'sessionOccupied':_0x4e2402(0x149),'networkError':_0x4e2402(0x156),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};function _0x3153(){const _0x1289ea=['Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Client\x20Configuration','Connecting...','MCP\x20Disconnected','Session\x20ID','24vKMNRu','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','Click\x20to\x20connect\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20configuration','56bOVJog','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','98VvqjJp','Disconnected','924970NnoUUv','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20authentication\x20for\x20secure\x20connections','6815485Gpxhpg','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Configuration','386968jayjLc','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','969248KfHcXA','What\x20is\x20API\x20Key?','Configuration\x20saved\x20successfully','22469YmiIoF','Configuration\x20Steps:','9jGdeZq','4307985LMlCOQ','MCP\x20Unknown\x20Status','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Failed\x20to\x20save\x20configuration','21529764zLKBis','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','MCP\x20Connected','Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','MCP:\x20Unauthorized','Enable\x20Authentication','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Max\x20Retries','6rDVeTQ','Save\x20Configuration'];_0x3153=function(){return _0x1289ea;};return _0x3153();}
@@ -1 +1 @@
1
- const _0x1c0e1f=_0x31d9;function _0x4c70(){const _0x3f87c3=['2448SdcxtB','配置无效','网络连接错误,请检查您的网络连接','1511937qJjrmf','最大重试次数','234460DMZhpC','MCP\x20连接中...','MCP:\x20超出最大重试次数','未连接','超出最大重试次数,请稍后再试','3822OPAJFQ','会话\x20ID\x20已被占用,请稍后再试','API\x20密钥长度至少需要\x2010\x20位','MCP\x20连接失败','MCP:\x20会话\x20ID\x20已被占用','点击连接\x20MCP','连接中...','几秒钟内获取您的\x20API\x20密钥','保存配置','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP:\x20网络错误','45SRGItU','已连接','连接失败','MCP\x20客户端配置','MCP\x20配置','配置\x20MCP\x20使用\x20AI\x20操作电子表格','权限验证失败,请检查您的\x20API\x20密钥','保存中...','您的\x20API\x20密钥将在此浏览器中本地存储','将以下配置添加到您的\x20MCP\x20客户端设置中:','启用身份验证以获得安全连接','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','会话ID','MCP\x20已断开','配置步骤:','MCP\x20状态未知','API\x20密钥无效,请检查密钥是否正确','API\x20密钥不能为空','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','启用身份验证','5322568mUoRjg','点击配置\x20MCP','重连中...','12335CAiOAU','39158ifqgLK','2700166pwczZk','配置参数:','1466590LpaAoC'];_0x4c70=function(){return _0x3f87c3;};return _0x4c70();}function _0x31d9(_0x41008d,_0x4f2d22){const _0x4c7057=_0x4c70();return _0x31d9=function(_0x31d9de,_0x2c2870){_0x31d9de=_0x31d9de-0x1ef;let _0x1fddf3=_0x4c7057[_0x31d9de];return _0x1fddf3;},_0x31d9(_0x41008d,_0x4f2d22);}(function(_0x35bcfb,_0x360cf5){const _0x35322e=_0x31d9,_0x4a0905=_0x35bcfb();while(!![]){try{const _0x1571ba=-parseInt(_0x35322e(0x204))/0x1+parseInt(_0x35322e(0x1fc))/0x2+parseInt(_0x35322e(0x202))/0x3+-parseInt(_0x35322e(0x1f7))/0x4+parseInt(_0x35322e(0x1fa))/0x5*(parseInt(_0x35322e(0x209))/0x6)+-parseInt(_0x35322e(0x1fb))/0x7*(parseInt(_0x35322e(0x1ff))/0x8)+parseInt(_0x35322e(0x214))/0x9*(parseInt(_0x35322e(0x1fe))/0xa);if(_0x1571ba===_0x360cf5)break;else _0x4a0905['push'](_0x4a0905['shift']());}catch(_0x5e06fa){_0x4a0905['push'](_0x4a0905['shift']());}}}(_0x4c70,0xd7532));const e={'mcpStatus':{'disconnected':_0x1c0e1f(0x1f0),'connecting':_0x1c0e1f(0x205),'connected':'MCP\x20已连接','failed':_0x1c0e1f(0x20c),'retrying':'MCP\x20重连中...','unknown':_0x1c0e1f(0x1f2),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x1c0e1f(0x20d),'networkError':_0x1c0e1f(0x213),'maxRetriesExceeded':_0x1c0e1f(0x206),'clickToConnect':_0x1c0e1f(0x20e),'clickToConfigure':_0x1c0e1f(0x1f8)},'mcpConfig':{'title':_0x1c0e1f(0x218),'description':_0x1c0e1f(0x219),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x1c0e1f(0x21c),'enableAuth':_0x1c0e1f(0x1f6),'enableAuthHint':_0x1c0e1f(0x21e),'connectionInfo':_0x1c0e1f(0x217),'mcpClientConfig':_0x1c0e1f(0x217),'configInstructions':_0x1c0e1f(0x21d),'configStepTitle':_0x1c0e1f(0x1f1),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x1c0e1f(0x1ef),'sessionIdDescription':_0x1c0e1f(0x1f5),'authorizationDescription':_0x1c0e1f(0x212),'configParameters':_0x1c0e1f(0x1fd),'maxRetries':_0x1c0e1f(0x203),'save':_0x1c0e1f(0x211),'saving':_0x1c0e1f(0x21b),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x1c0e1f(0x21f),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x1c0e1f(0x210)},'validation':{'apiKeyRequired':_0x1c0e1f(0x1f4),'apiKeyTooShort':_0x1c0e1f(0x20b),'invalidConfig':_0x1c0e1f(0x200),'invalidApiKey':_0x1c0e1f(0x1f3)},'connectionStatus':{'disconnected':_0x1c0e1f(0x207),'connecting':_0x1c0e1f(0x20f),'connected':_0x1c0e1f(0x215),'failed':_0x1c0e1f(0x216),'retrying':_0x1c0e1f(0x1f9)},'connectionError':{'unauthorized':_0x1c0e1f(0x21a),'sessionOccupied':_0x1c0e1f(0x20a),'networkError':_0x1c0e1f(0x201),'maxRetriesExceeded':_0x1c0e1f(0x208)}}};export{e as default};
1
+ const _0x2d5941=_0x233b;(function(_0x199542,_0x331297){const _0x42c646=_0x233b,_0x4582b9=_0x199542();while(!![]){try{const _0x10ff43=parseInt(_0x42c646(0x195))/0x1+-parseInt(_0x42c646(0x1a8))/0x2+parseInt(_0x42c646(0x18c))/0x3+-parseInt(_0x42c646(0x184))/0x4+parseInt(_0x42c646(0x17d))/0x5+parseInt(_0x42c646(0x1a5))/0x6*(parseInt(_0x42c646(0x18d))/0x7)+parseInt(_0x42c646(0x1a3))/0x8*(-parseInt(_0x42c646(0x193))/0x9);if(_0x10ff43===_0x331297)break;else _0x4582b9['push'](_0x4582b9['shift']());}catch(_0x32f123){_0x4582b9['push'](_0x4582b9['shift']());}}}(_0x341f,0xb0748));function _0x233b(_0x2f4839,_0xfa91f9){const _0x341f5a=_0x341f();return _0x233b=function(_0x233ba6,_0x388c2b){_0x233ba6=_0x233ba6-0x17c;let _0x3cf04b=_0x341f5a[_0x233ba6];return _0x3cf04b;},_0x233b(_0x2f4839,_0xfa91f9);}function _0x341f(){const _0x4bb06c=['3965936UgiWMx','连接失败','MCP\x20连接失败','API\x20密钥不能为空','会话ID','最大重试次数','保存配置','配置保存成功','2951868RYOWGL','2065PLYkAO','MCP\x20客户端配置','会话\x20ID\x20已被占用,请稍后再试','启用身份验证以获得安全连接','API\x20密钥','启用身份验证','369ySlnqQ','已连接','402190zfIfVT','API\x20密钥长度至少需要\x2010\x20位','配置保存失败','重连中...','MCP:\x20未授权','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20已连接','您的\x20API\x20密钥将在此浏览器中本地存储','MCP:\x20会话\x20ID\x20已被占用','MCP\x20重连中...','请输入您的\x20API\x20密钥','权限验证失败,请检查您的\x20API\x20密钥','API\x20密钥无效,请检查密钥是否正确','MCP:\x20超出最大重试次数','181352NcxUTF','MCP\x20已断开','21438JQeHSe','点击连接\x20MCP','保存中...','1728278STobda','未连接','5338155vcvUbf','将以下配置添加到您的\x20MCP\x20客户端设置中:','Univer\x20AI\x20控制台','超出最大重试次数,请稍后再试','MCP\x20连接中...','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20状态未知'];_0x341f=function(){return _0x4bb06c;};return _0x341f();}const e={'mcpStatus':{'disconnected':_0x2d5941(0x1a4),'connecting':_0x2d5941(0x181),'connected':_0x2d5941(0x19b),'failed':_0x2d5941(0x186),'retrying':_0x2d5941(0x19e),'unknown':_0x2d5941(0x183),'unauthorized':_0x2d5941(0x199),'sessionOccupied':_0x2d5941(0x19d),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x2d5941(0x1a2),'clickToConnect':_0x2d5941(0x1a6),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':_0x2d5941(0x19a),'apiKey':_0x2d5941(0x191),'apiKeyPlaceholder':_0x2d5941(0x19f),'apiKeyHint':_0x2d5941(0x19c),'enableAuth':_0x2d5941(0x192),'enableAuthHint':_0x2d5941(0x190),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x2d5941(0x18e),'configInstructions':_0x2d5941(0x17e),'configStepTitle':'配置步骤:','configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x2d5941(0x188),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x2d5941(0x182),'configParameters':'配置参数:','maxRetries':_0x2d5941(0x189),'save':_0x2d5941(0x18a),'saving':_0x2d5941(0x1a7),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x2d5941(0x18b),'configError':_0x2d5941(0x197),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x2d5941(0x17f),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x2d5941(0x187),'apiKeyTooShort':_0x2d5941(0x196),'invalidConfig':'配置无效','invalidApiKey':_0x2d5941(0x1a1)},'connectionStatus':{'disconnected':_0x2d5941(0x17c),'connecting':'连接中...','connected':_0x2d5941(0x194),'failed':_0x2d5941(0x185),'retrying':_0x2d5941(0x198)},'connectionError':{'unauthorized':_0x2d5941(0x1a0),'sessionOccupied':_0x2d5941(0x18f),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x2d5941(0x180)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x2ec5ec=_0x46d2;function _0x2069(){const _0x1e38d3=['API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','35670vynIon','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Unauthorized','What\x20is\x20API\x20Key?','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','404VZkkny','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connecting...','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connection\x20Failed','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','9972nLRFEx','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enable\x20Authentication','MCP\x20Retrying...','Connection\x20Failed','MCP\x20Configuration','API\x20key\x20is\x20required','9123hdijuV','56EKgpkw','2138590CCAyHS','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','8copCER','MCP\x20Unknown\x20Status','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','34634050uRYWbh','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20authentication\x20for\x20secure\x20connections','Connecting...','MCP\x20Client\x20Configuration','Configuration\x20Steps:','Failed\x20to\x20save\x20configuration','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Disconnected','45338VeuRkn','1040270WAcFtL','Save\x20Configuration','MCP\x20Connected','9250dSjLtN','Connected'];_0x2069=function(){return _0x1e38d3;};return _0x2069();}function _0x46d2(_0x337131,_0x5a8d54){const _0x206976=_0x2069();return _0x46d2=function(_0x46d24b,_0x24c69b){_0x46d24b=_0x46d24b-0x105;let _0x13d33b=_0x206976[_0x46d24b];return _0x13d33b;},_0x46d2(_0x337131,_0x5a8d54);}(function(_0x58a747,_0x185af8){const _0x4648e2=_0x46d2,_0x3dc217=_0x58a747();while(!![]){try{const _0x504619=-parseInt(_0x4648e2(0x10e))/0x1*(-parseInt(_0x4648e2(0x11b))/0x2)+-parseInt(_0x4648e2(0x109))/0x3*(parseInt(_0x4648e2(0x12a))/0x4)+-parseInt(_0x4648e2(0x10b))/0x5+parseInt(_0x4648e2(0x123))/0x6+-parseInt(_0x4648e2(0x11c))/0x7*(parseInt(_0x4648e2(0x10a))/0x8)+-parseInt(_0x4648e2(0x132))/0x9*(parseInt(_0x4648e2(0x11f))/0xa)+parseInt(_0x4648e2(0x111))/0xb;if(_0x504619===_0x185af8)break;else _0x3dc217['push'](_0x3dc217['shift']());}catch(_0x353d1a){_0x3dc217['push'](_0x3dc217['shift']());}}}(_0x2069,0x82d0a));const e={'mcpStatus':{'disconnected':_0x2ec5ec(0x12f),'connecting':_0x2ec5ec(0x12c),'connected':_0x2ec5ec(0x11e),'failed':_0x2ec5ec(0x12e),'retrying':_0x2ec5ec(0x105),'unknown':_0x2ec5ec(0x10f),'unauthorized':_0x2ec5ec(0x127),'sessionOccupied':_0x2ec5ec(0x130),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2ec5ec(0x107),'description':_0x2ec5ec(0x119),'apiKey':_0x2ec5ec(0x121),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2ec5ec(0x134),'enableAuthHint':_0x2ec5ec(0x113),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2ec5ec(0x115),'configInstructions':_0x2ec5ec(0x129),'configStepTitle':_0x2ec5ec(0x116),'configStep1':_0x2ec5ec(0x126),'configStep2':_0x2ec5ec(0x122),'configStep3':_0x2ec5ec(0x125),'sessionId':_0x2ec5ec(0x118),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2ec5ec(0x12d),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x2ec5ec(0x11d),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2ec5ec(0x10d),'configSaved':_0x2ec5ec(0x131),'configError':_0x2ec5ec(0x117),'apiApplyInfo':{'title':_0x2ec5ec(0x128),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2ec5ec(0x108),'apiKeyTooShort':_0x2ec5ec(0x12b),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2ec5ec(0x124)},'connectionStatus':{'disconnected':_0x2ec5ec(0x11a),'connecting':_0x2ec5ec(0x114),'connected':_0x2ec5ec(0x120),'failed':_0x2ec5ec(0x106),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2ec5ec(0x133),'sessionOccupied':_0x2ec5ec(0x110),'networkError':_0x2ec5ec(0x112),'maxRetriesExceeded':_0x2ec5ec(0x10c)}}},n=e;export{n as default};
1
+ function _0x3d9d(_0x89a2e5,_0x590567){const _0x1710d9=_0x1710();return _0x3d9d=function(_0x3d9d8a,_0x34973d){_0x3d9d8a=_0x3d9d8a-0x84;let _0x62161c=_0x1710d9[_0x3d9d8a];return _0x62161c;},_0x3d9d(_0x89a2e5,_0x590567);}const _0x5365f9=_0x3d9d;function _0x1710(){const _0x289667=['MCP\x20Client\x20Configuration','What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','MCP\x20Connecting...','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Disconnected','19145SOSFEj','Univer\x20AI\x20Console','3tjggWt','MCP:\x20Session\x20ID\x20Occupied','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','414304EeYOQc','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connection\x20Failed','Connected','2335266GYZwlz','318HIykKI','4133wwMGnV','419012pDKSHi','MCP\x20Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','142nhPjrJ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20saved\x20successfully','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Disconnected','Connecting...','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1139925RKvjOG','221940kejLdd','Enter\x20your\x20API\x20key','Copy\x20the\x20JSON\x20configuration\x20below','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key','Configuration\x20Steps:','Connection\x20Failed','MCP\x20Configuration','Enable\x20Authentication','API\x20key\x20is\x20required'];_0x1710=function(){return _0x289667;};return _0x1710();}(function(_0x14bde7,_0x28781e){const _0x297250=_0x3d9d,_0x270a6e=_0x14bde7();while(!![]){try{const _0xd006f5=parseInt(_0x297250(0x8a))/0x1*(parseInt(_0x297250(0x92))/0x2)+-parseInt(_0x297250(0xb4))/0x3*(parseInt(_0x297250(0x8b))/0x4)+-parseInt(_0x297250(0xa0))/0x5+parseInt(_0x297250(0x89))/0x6*(-parseInt(_0x297250(0xb2))/0x7)+parseInt(_0x297250(0x84))/0x8+parseInt(_0x297250(0x88))/0x9+parseInt(_0x297250(0xa1))/0xa;if(_0xd006f5===_0x28781e)break;else _0x270a6e['push'](_0x270a6e['shift']());}catch(_0x33946d){_0x270a6e['push'](_0x270a6e['shift']());}}}(_0x1710,0x246d6));const e={'mcpStatus':{'disconnected':_0x5365f9(0x9c),'connecting':_0x5365f9(0xae),'connected':'MCP\x20Connected','failed':_0x5365f9(0x86),'retrying':_0x5365f9(0x8c),'unknown':_0x5365f9(0xad),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5365f9(0xb5),'networkError':_0x5365f9(0x9a),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5365f9(0xb8),'clickToConfigure':_0x5365f9(0x8e)},'mcpConfig':{'title':_0x5365f9(0xa8),'description':_0x5365f9(0x93),'apiKey':_0x5365f9(0xa5),'apiKeyPlaceholder':_0x5365f9(0xa2),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x5365f9(0xa9),'enableAuthHint':_0x5365f9(0xb0),'connectionInfo':_0x5365f9(0xab),'mcpClientConfig':_0x5365f9(0xab),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x5365f9(0xa6),'configStep1':_0x5365f9(0xa3),'configStep2':_0x5365f9(0x97),'configStep3':_0x5365f9(0x9b),'sessionId':_0x5365f9(0x91),'sessionIdDescription':_0x5365f9(0x95),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5365f9(0x8f),'maxRetries':'Max\x20Retries','save':_0x5365f9(0xb6),'saving':_0x5365f9(0x9e),'note1':_0x5365f9(0xb7),'note2':_0x5365f9(0x99),'configSaved':_0x5365f9(0x94),'configError':_0x5365f9(0xaf),'apiApplyInfo':{'title':_0x5365f9(0xac),'description':_0x5365f9(0x85),'univerAiLabel':_0x5365f9(0xb3),'getStarted':_0x5365f9(0xb9)},'validation':{'apiKeyRequired':_0x5365f9(0xaa),'apiKeyTooShort':_0x5365f9(0x8d),'invalidConfig':_0x5365f9(0x96),'invalidApiKey':_0x5365f9(0x90)},'connectionStatus':{'disconnected':_0x5365f9(0xb1),'connecting':_0x5365f9(0x9d),'connected':_0x5365f9(0x87),'failed':_0x5365f9(0xa7),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x5365f9(0x9f),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5365f9(0xa4),'maxRetriesExceeded':_0x5365f9(0x98)}}},n=e;export{n as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x8cd851,_0x4f5856){const _0xaf8474=_0x18c6,_0x540eea=_0x8cd851();while(!![]){try{const _0x1ee3c6=-parseInt(_0xaf8474(0x218))/0x1+-parseInt(_0xaf8474(0x330))/0x2*(parseInt(_0xaf8474(0x32a))/0x3)+-parseInt(_0xaf8474(0x260))/0x4+parseInt(_0xaf8474(0x2cf))/0x5+-parseInt(_0xaf8474(0x204))/0x6+-parseInt(_0xaf8474(0x336))/0x7*(-parseInt(_0xaf8474(0x1f3))/0x8)+parseInt(_0xaf8474(0x25b))/0x9*(parseInt(_0xaf8474(0x22c))/0xa);if(_0x1ee3c6===_0x4f5856)break;else _0x540eea['push'](_0x540eea['shift']());}catch(_0x49d685){_0x540eea['push'](_0x540eea['shift']());}}}(_0x1435,0x1a6a5),function(_0x39cdb0,_0x5e9966){const _0xa0c7a9=_0x18c6;typeof exports=='object'&&typeof module<'u'?_0x5e9966(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==_0xa0c7a9(0x1cc)&&define[_0xa0c7a9(0x1d9)]?define([_0xa0c7a9(0x22f),_0xa0c7a9(0x2f5),'react/jsx-runtime',_0xa0c7a9(0x301),'@univerjs/design','@univerjs/ui',_0xa0c7a9(0x324),_0xa0c7a9(0x1f0),_0xa0c7a9(0x240)],_0x5e9966):(_0x39cdb0=typeof globalThis<'u'?globalThis:_0x39cdb0||self,_0x5e9966(_0x39cdb0['UniverProMcpUi']={},_0x39cdb0[_0xa0c7a9(0x1fb)],_0x39cdb0[_0xa0c7a9(0x2ef)],_0x39cdb0['UniverProMcp'],_0x39cdb0[_0xa0c7a9(0x1e1)],_0x39cdb0[_0xa0c7a9(0x2a3)],_0x39cdb0[_0xa0c7a9(0x324)],_0x39cdb0[_0xa0c7a9(0x2ef)],_0x39cdb0['UniverNetwork']));}(this,function(_0x271bb1,_0x31ca1d,_0x2c8164,_0x5d8704,_0x2e5b3d,_0x98cd1,_0x32a75f,_0x595c52,_0x29dc49){'use strict';const _0x310488=_0x18c6;var _0x38ad21=Object[_0x310488(0x335)],_0x271d3d=(_0x18e814,_0x57d38c,_0x1beb1e)=>_0x57d38c in _0x18e814?_0x38ad21(_0x18e814,_0x57d38c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1beb1e}):_0x18e814[_0x57d38c]=_0x1beb1e,_0x58253d=(_0x320742,_0x33b1e5,_0x2d5c63)=>_0x271d3d(_0x320742,typeof _0x33b1e5!=_0x310488(0x25c)?_0x33b1e5+'':_0x33b1e5,_0x2d5c63);function _0x231bfc({ref:_0x3d06a5,..._0x3b312e}){const _0x2d0256=_0x310488,{icon:_0x436e14,id:_0x4db09d,className:_0x327fc5,extend:_0x5a4c64,..._0x307478}=_0x3b312e,_0x2feb0e=(_0x2d0256(0x30b)+_0x4db09d+'\x20'+(_0x327fc5||''))['trim'](),_0x40df92=_0x595c52['useRef']('_'+_0x533ccd());return _0x4b63b1(_0x436e14,''+_0x4db09d,{'defIds':_0x436e14[_0x2d0256(0x337)],'idSuffix':_0x40df92['current']},{'ref':_0x3d06a5,'className':_0x2feb0e,..._0x307478},_0x5a4c64);}function _0x4b63b1(_0x533324,_0x1ae746,_0x22fde4,_0x2c0028,_0x316a22){const _0x1cc7ee=_0x310488;return _0x595c52[_0x1cc7ee(0x281)](_0x533324[_0x1cc7ee(0x271)],{'key':_0x1ae746,..._0x169b15(_0x533324,_0x22fde4,_0x316a22),..._0x2c0028},(_0x206ceb(_0x533324,_0x22fde4)[_0x1cc7ee(0x270)]||[])['map']((_0x15fc0,_0x43b44b)=>_0x4b63b1(_0x15fc0,_0x1ae746+'-'+_0x533324[_0x1cc7ee(0x271)]+'-'+_0x43b44b,_0x22fde4,void 0x0,_0x316a22)));}function _0x169b15(_0xd7dcb8,_0xb1f098,_0x37e1a8){const _0x563b23=_0x310488,_0x3d8e7a={..._0xd7dcb8[_0x563b23(0x212)]};_0x37e1a8!=null&&_0x37e1a8['colorChannel1']&&_0x3d8e7a[_0x563b23(0x23f)]===_0x563b23(0x346)&&(_0x3d8e7a[_0x563b23(0x23f)]=_0x37e1a8['colorChannel1']),_0xd7dcb8[_0x563b23(0x271)]==='mask'&&_0x3d8e7a['id']&&(_0x3d8e7a['id']=_0x3d8e7a['id']+_0xb1f098[_0x563b23(0x1c2)]),Object[_0x563b23(0x1dd)](_0x3d8e7a)['forEach'](([_0x4ecc98,_0x1ed400])=>{const _0x81d01a=_0x563b23;_0x4ecc98===_0x81d01a(0x1d3)&&typeof _0x1ed400==_0x81d01a(0x248)&&(_0x3d8e7a[_0x4ecc98]=_0x1ed400['replace'](/url\(#(.*)\)/,_0x81d01a(0x266)+_0xb1f098['idSuffix']+')'));});const {defIds:_0xa757aa}=_0xb1f098;return!_0xa757aa||_0xa757aa['length']===0x0||(_0xd7dcb8['tag']===_0x563b23(0x1c6)&&_0x3d8e7a[_0x563b23(0x340)]&&(_0x3d8e7a['xlink:href']=_0x3d8e7a['xlink:href']+_0xb1f098['idSuffix']),Object[_0x563b23(0x1dd)](_0x3d8e7a)[_0x563b23(0x259)](([_0x2eb679,_0x51e169])=>{const _0x305fdb=_0x563b23;typeof _0x51e169==_0x305fdb(0x248)&&(_0x3d8e7a[_0x2eb679]=_0x51e169[_0x305fdb(0x26d)](/url\(#(.*)\)/,_0x305fdb(0x266)+_0xb1f098[_0x305fdb(0x1c2)]+')'));})),_0x3d8e7a;}function _0x206ceb(_0x10200c,_0x36ff93){const _0xdb4865=_0x310488;var _0x42bd4d;const {defIds:_0x54d983}=_0x36ff93;return!_0x54d983||_0x54d983[_0xdb4865(0x345)]===0x0?_0x10200c:_0x10200c[_0xdb4865(0x271)]===_0xdb4865(0x287)&&((_0x42bd4d=_0x10200c[_0xdb4865(0x270)])!=null&&_0x42bd4d['length'])?{..._0x10200c,'children':_0x10200c[_0xdb4865(0x270)][_0xdb4865(0x295)](_0x15b00c=>typeof _0x15b00c[_0xdb4865(0x212)]['id']==_0xdb4865(0x248)&&_0x54d983&&_0x54d983[_0xdb4865(0x1ea)](_0x15b00c[_0xdb4865(0x212)]['id'])?{..._0x15b00c,'attrs':{..._0x15b00c['attrs'],'id':_0x15b00c[_0xdb4865(0x212)]['id']+_0x36ff93[_0xdb4865(0x1c2)]}}:_0x15b00c)}:_0x10200c;}function _0x533ccd(){const _0x1dc386=_0x310488;return Math[_0x1dc386(0x268)]()['toString'](0x24)[_0x1dc386(0x2e7)](0x2,0x8);}_0x231bfc[_0x310488(0x2b1)]=_0x310488(0x28d);const _0x5cab13={'tag':_0x310488(0x272),'attrs':{'xmlns':_0x310488(0x29e),'fill':_0x310488(0x2ee),'viewBox':'0\x200\x2016\x2016','width':_0x310488(0x22d),'height':_0x310488(0x22d)},'children':[{'tag':_0x310488(0x1cb),'attrs':{'fill':_0x310488(0x33b),'d':_0x310488(0x2e5),'fillRule':_0x310488(0x322),'clipRule':'evenodd'}}]},_0x4ad991=_0x595c52[_0x310488(0x327)](function(_0x747858,_0x5beacb){const _0x51f9a5=_0x310488;return _0x595c52[_0x51f9a5(0x281)](_0x231bfc,Object[_0x51f9a5(0x338)]({},_0x747858,{'id':_0x51f9a5(0x1ec),'ref':_0x5beacb,'icon':_0x5cab13}));});_0x4ad991[_0x310488(0x2b1)]=_0x310488(0x1d8);const _0x4f0b1d={'tag':_0x310488(0x272),'attrs':{'xmlns':_0x310488(0x29e),'fill':'none','viewBox':_0x310488(0x2d7),'width':_0x310488(0x22d),'height':'1em'},'children':[{'tag':_0x310488(0x1cb),'attrs':{'fill':'currentColor','d':_0x310488(0x26b)}}]},_0x2f9a36=_0x595c52['forwardRef'](function(_0x57c517,_0x24ace7){const _0x5a7e53=_0x310488;return _0x595c52[_0x5a7e53(0x281)](_0x231bfc,Object['assign']({},_0x57c517,{'id':'close-icon','ref':_0x24ace7,'icon':_0x4f0b1d}));});_0x2f9a36['displayName']=_0x310488(0x200);const _0x31376a={'tag':_0x310488(0x272),'attrs':{'xmlns':_0x310488(0x29e),'fill':_0x310488(0x2ee),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x310488(0x22d)},'children':[{'tag':_0x310488(0x1cb),'attrs':{'fill':_0x310488(0x33b),'d':_0x310488(0x31d)}},{'tag':_0x310488(0x1cb),'attrs':{'fill':_0x310488(0x33b),'d':_0x310488(0x282)}},{'tag':_0x310488(0x1cb),'attrs':{'fill':_0x310488(0x33b),'d':_0x310488(0x1d4),'fillRule':_0x310488(0x322),'clipRule':_0x310488(0x322)}}]},_0x3a4292=_0x595c52[_0x310488(0x327)](function(_0x58f344,_0x3d8887){const _0x11b54f=_0x310488;return _0x595c52[_0x11b54f(0x281)](_0x231bfc,Object[_0x11b54f(0x338)]({},_0x58f344,{'id':'help-icon','ref':_0x3d8887,'icon':_0x31376a}));});_0x3a4292[_0x310488(0x2b1)]=_0x310488(0x269);const _0x3c3137={'tag':_0x310488(0x272),'attrs':{'xmlns':_0x310488(0x29e),'fill':_0x310488(0x2ee),'viewBox':_0x310488(0x2d7),'width':_0x310488(0x22d),'height':_0x310488(0x22d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x310488(0x33b),'d':_0x310488(0x1f9),'strokeLinecap':_0x310488(0x1d1),'strokeLinejoin':_0x310488(0x1d1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x310488(0x232),'attrs':{'id':_0x310488(0x2f3)},'children':[{'tag':_0x310488(0x1cb),'attrs':{'fill':_0x310488(0x267),'d':_0x310488(0x29c)}}]}]}],'defIds':[_0x310488(0x2f3)]},_0x562641=_0x595c52['forwardRef'](function(_0x55f8d1,_0x329f48){const _0x2c4338=_0x310488;return _0x595c52['createElement'](_0x231bfc,Object[_0x2c4338(0x338)]({},_0x55f8d1,{'id':_0x2c4338(0x2d9),'ref':_0x329f48,'icon':_0x3c3137}));});_0x562641[_0x310488(0x2b1)]=_0x310488(0x32d);const _0x54b11a={'tag':_0x310488(0x272),'attrs':{'xmlns':_0x310488(0x29e),'fill':_0x310488(0x2ee),'viewBox':'0\x200\x2017\x2016','width':_0x310488(0x22d),'height':_0x310488(0x22d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x310488(0x1cb),'attrs':{'stroke':'currentColor','d':_0x310488(0x227),'strokeLinecap':_0x310488(0x1d1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x310488(0x287),'attrs':{},'children':[{'tag':_0x310488(0x232),'attrs':{'id':_0x310488(0x2aa)},'children':[{'tag':'path','attrs':{'fill':_0x310488(0x267),'d':'M0\x200H16V16H0z','transform':_0x310488(0x278)}}]}]}],'defIds':[_0x310488(0x2aa)]},_0x279bc8=_0x595c52['forwardRef'](function(_0x1f499f,_0x5d1a0e){const _0x24efa0=_0x310488;return _0x595c52[_0x24efa0(0x281)](_0x231bfc,Object[_0x24efa0(0x338)]({},_0x1f499f,{'id':'on-line-icon','ref':_0x5d1a0e,'icon':_0x54b11a}));});_0x279bc8['displayName']=_0x310488(0x2d3);function _0x28bf2b(_0x210bba){const _0x2f7c55=_0x310488;var _0x31150c,_0x129112;const {mcpCoreConfig:_0x2e6da7,onSave:_0x4251b7,loading:_0x4aa44d=!0x1,config:_0x4c0a09,connectionStatus$:_0x4fe249,connectionError$:_0x4a3da5,currentApiKey$:_0x4630c4,currentSessionId$:_0x1f8773}=_0x210bba,_0x3e2e00=_0x98cd1[_0x2f7c55(0x2e8)](_0x31ca1d['LocaleService']),_0x4f6911=_0x98cd1[_0x2f7c55(0x1fc)](_0x4fe249,_0x5d8704[_0x2f7c55(0x229)][_0x2f7c55(0x343)]),_0x4cec1c=_0x98cd1[_0x2f7c55(0x1fc)](_0x4a3da5,_0x5d8704[_0x2f7c55(0x1dc)][_0x2f7c55(0x1c3)]),_0x1ca6a7=_0x98cd1['useObservable'](_0x1f8773,''),_0xe6aab4=_0x98cd1['useObservable'](_0x4630c4,''),[_0x15e551,_0x1d9e58]=_0x595c52[_0x2f7c55(0x246)](_0xe6aab4||''),_0x7a2c7=!0x0,_0x590620=_0x4c0a09['showDeveloperTools']&&_0x2e6da7[_0x2f7c55(0x26a)]&&(_0x2e6da7[_0x2f7c55(0x26a)][_0x2f7c55(0x1ea)]('univer.plus')||_0x2e6da7[_0x2f7c55(0x26a)]['includes'](_0x2f7c55(0x226))),_0x4e9ed8=(_0x31150c=_0x2e6da7[_0x2f7c55(0x26a)])==null?void 0x0:_0x31150c[_0x2f7c55(0x1ea)](_0x2f7c55(0x2d5)),_0x539b41=(_0x129112=_0x2e6da7[_0x2f7c55(0x26a)])==null?void 0x0:_0x129112[_0x2f7c55(0x1ea)](_0x2f7c55(0x226)),_0x424c42=_0x4e9ed8?_0x2f7c55(0x2e2):_0x2f7c55(0x236),_0x2aadb2=_0x4c0a09[_0x2f7c55(0x349)]&&(_0x4e9ed8||_0x539b41),[_0x533f62,_0x856beb]=_0x595c52['useState'](!_0x15e551[_0x2f7c55(0x28f)]()),_0x44e267=(_0x5ca252,_0x225a3d)=>{const _0x4d0bf9=_0x2f7c55;if(_0x225a3d===_0x5d8704['MCPConnectionError'][_0x4d0bf9(0x326)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x5ca252){case _0x5d8704['MCPConnectionStatus'][_0x4d0bf9(0x277)]:return _0x4d0bf9(0x302);case _0x5d8704[_0x4d0bf9(0x229)][_0x4d0bf9(0x202)]:case _0x5d8704[_0x4d0bf9(0x229)][_0x4d0bf9(0x2b7)]:return _0x4d0bf9(0x231);case _0x5d8704[_0x4d0bf9(0x229)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x4d0bf9(0x2a8);}},_0x55b130=(_0x1eb04f,_0x11292c)=>{const _0x27eca6=_0x2f7c55;if(_0x11292c===_0x5d8704['MCPConnectionError'][_0x27eca6(0x326)])return _0x27eca6(0x2f0);switch(_0x1eb04f){case _0x5d8704[_0x27eca6(0x229)][_0x27eca6(0x277)]:return _0x27eca6(0x2e1);case _0x5d8704[_0x27eca6(0x229)]['CONNECTING']:case _0x5d8704[_0x27eca6(0x229)][_0x27eca6(0x2b7)]:return _0x27eca6(0x21f);case _0x5d8704[_0x27eca6(0x229)][_0x27eca6(0x1e5)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0xd0fe3a=_0x2320a0=>{const _0x4ff59d=_0x2f7c55;switch(_0x2320a0){case _0x5d8704[_0x4ff59d(0x229)][_0x4ff59d(0x277)]:return _0x3e2e00['t']('mcpConfig.connectionStatus.connected');case _0x5d8704[_0x4ff59d(0x229)][_0x4ff59d(0x202)]:return _0x3e2e00['t'](_0x4ff59d(0x2eb));case _0x5d8704[_0x4ff59d(0x229)][_0x4ff59d(0x1e5)]:return _0x3e2e00['t'](_0x4ff59d(0x233));case _0x5d8704[_0x4ff59d(0x229)][_0x4ff59d(0x2b7)]:return _0x3e2e00['t'](_0x4ff59d(0x2d4));default:return _0x3e2e00['t']('mcpConfig.connectionStatus.disconnected');}},_0x377206=_0x8889e3=>{const _0x357b68=_0x2f7c55;switch(_0x8889e3){case _0x5d8704[_0x357b68(0x1dc)][_0x357b68(0x326)]:return _0x3e2e00['t'](_0x357b68(0x2c9));case _0x5d8704[_0x357b68(0x1dc)]['SESSION_ID_OCCUPIED']:return _0x3e2e00['t'](_0x357b68(0x1e8));case _0x5d8704[_0x357b68(0x1dc)][_0x357b68(0x241)]:return _0x3e2e00['t'](_0x357b68(0x29f));case _0x5d8704[_0x357b68(0x1dc)][_0x357b68(0x333)]:return _0x3e2e00['t'](_0x357b68(0x2a0));default:return'';}},_0x37a803=_0x595c52[_0x2f7c55(0x2cc)](()=>{const _0x25e172=_0x2f7c55,_0x48475a={..._0x2e6da7,'apiKey':_0x15e551[_0x25e172(0x28f)](),'enableAuth':_0x7a2c7};_0x4251b7(_0x48475a);},[_0x2e6da7,_0x15e551,_0x7a2c7,_0x4251b7]),_0x5dc680=_0x15e551[_0x2f7c55(0x28f)]()[_0x2f7c55(0x345)]>0x0;return _0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x2c8164['jsx'](_0x2f7c55(0x257),{'className':_0x2f7c55(0x313),'children':_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x25f),'children':[_0x2c8164['jsx']('div',{'className':_0x2f7c55(0x2ec),'children':_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'className':'univer-text-white','children':'⚙'})}),_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'children':_0x2c8164[_0x2f7c55(0x262)]('p',{'className':_0x2f7c55(0x230),'children':_0x3e2e00['t']('mcpConfig.description')})})]})}),_0x2c8164[_0x2f7c55(0x332)]('div',{'className':_0x2f7c55(0x256),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':_0x2e5b3d[_0x2f7c55(0x1f6)](_0x2f7c55(0x331),_0x44e267(_0x4f6911,_0x4cec1c)),'children':_0x2c8164['jsxs'](_0x2f7c55(0x257),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':_0x2e5b3d[_0x2f7c55(0x1f6)](_0x2f7c55(0x28c),_0x55b130(_0x4f6911,_0x4cec1c))}),_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x2f4),'children':_0xd0fe3a(_0x4f6911)})]})}),_0x4cec1c!==_0x5d8704[_0x2f7c55(0x1dc)][_0x2f7c55(0x1c3)]&&(_0x4f6911===_0x5d8704['MCPConnectionStatus'][_0x2f7c55(0x1e5)]||_0x4cec1c===_0x5d8704[_0x2f7c55(0x1dc)][_0x2f7c55(0x326)])&&_0x2c8164['jsx']('div',{'className':_0x2f7c55(0x21e),'children':_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x303),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x2cd),'children':'⚠️'}),_0x2c8164['jsx']('p',{'className':_0x2f7c55(0x1ce),'children':_0x377206(_0x4cec1c)})]})})]}),_0x2c8164['jsx'](_0x2f7c55(0x257),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x32f),'children':[_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':'univer-space-y-2','children':[_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x1e6),{'className':_0x2f7c55(0x290),'children':[_0x2c8164['jsx']('span',{'children':'🔑'}),'\x20',_0x3e2e00['t'](_0x2f7c55(0x2db)),_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x2bc),'children':'*'}),_0x590620&&_0x2c8164[_0x2f7c55(0x262)]('a',{'className':_0x2f7c55(0x22e),'title':_0x3e2e00['t']('mcpConfig.apiApplyInfo.title'),'role':_0x2f7c55(0x309),'onClick':()=>_0x856beb(!0x0),'children':_0x2c8164[_0x2f7c55(0x262)](_0x3a4292,{})})]}),_0x2c8164[_0x2f7c55(0x262)](_0x2e5b3d['Input'],{'type':'text','placeholder':_0x3e2e00['t'](_0x2f7c55(0x27b)),'value':_0x15e551,'disabled':_0x4aa44d,'autoComplete':'off','onChange':_0x1d9e58}),_0x2c8164[_0x2f7c55(0x262)]('p',{'className':_0x2f7c55(0x245),'children':_0x3e2e00['t'](_0x2f7c55(0x2a5))})]}),_0x590620&&_0x533f62&&_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x1ef),'children':[_0x2c8164[_0x2f7c55(0x262)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-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','role':_0x2f7c55(0x309),'onClick':()=>_0x856beb(!0x1),'children':_0x2c8164[_0x2f7c55(0x262)](_0x2f9a36,{'className':_0x2f7c55(0x2ff)})}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x2c8164[_0x2f7c55(0x262)]('div',{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x2c8164['jsx'](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x27c),'children':'🚀'})}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x234),'children':[_0x2c8164['jsx']('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x3e2e00['t'](_0x2f7c55(0x210))}),_0x2c8164[_0x2f7c55(0x262)]('p',{'className':_0x2f7c55(0x2c8),'children':_0x3e2e00['t'](_0x2f7c55(0x1bf))}),_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x228),'children':_0x2aadb2&&_0x2c8164[_0x2f7c55(0x332)]('a',{'className':_0x2f7c55(0x1be),'href':_0x424c42,'target':'_blank','rel':'noopener\x20noreferrer','children':[_0x2c8164[_0x2f7c55(0x262)]('span',{'children':'🤖'}),_0x3e2e00['t'](_0x2f7c55(0x28b)),_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x2c1),'children':'↗'})]})}),_0x2c8164['jsxs'](_0x2f7c55(0x257),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3e2e00['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x4c0a09[_0x2f7c55(0x349)]&&_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x2b3),'children':[_0x2c8164[_0x2f7c55(0x332)]('h4',{'className':_0x2f7c55(0x1ff),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'children':'🔗'}),'\x20',_0x3e2e00['t'](_0x2f7c55(0x2f1))]}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':'univer-space-y-4','children':[_0x2c8164['jsxs'](_0x2f7c55(0x257),{'className':'univer-space-y-3','children':[_0x2c8164[_0x2f7c55(0x262)]('p',{'className':_0x2f7c55(0x2c6),'children':_0x3e2e00['t'](_0x2f7c55(0x219))}),_0x2c8164[_0x2f7c55(0x332)]('div',{'className':_0x2f7c55(0x2dd),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x289),'children':_0x3e2e00['t'](_0x2f7c55(0x2c0))}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x254),'children':[_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2c8164[_0x2f7c55(0x262)]('span',{'className':_0x2f7c55(0x23d),'children':'1'}),_0x3e2e00['t'](_0x2f7c55(0x1fe))]}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x2c5),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x23d),'children':'2'}),_0x3e2e00['t']('mcpConfig.configStep2')]}),_0x2c8164[_0x2f7c55(0x332)]('div',{'className':_0x2f7c55(0x2c5),'children':[_0x2c8164['jsx'](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x23d),'children':'3'}),_0x3e2e00['t'](_0x2f7c55(0x1df))]})]})]})]}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x2dd),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x289),'children':_0x2f7c55(0x1fa)}),_0x2c8164['jsx'](_0x2f7c55(0x257),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x2c8164['jsx']('pre',{'className':_0x2f7c55(0x2e6),'children':JSON[_0x2f7c55(0x24e)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x1ca6a7||_0x2f7c55(0x286)),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0x15e551||_0x2f7c55(0x1e9))}}}},null,0x2)})})]}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x334),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x3e2e00['t']('mcpConfig.configParameters')}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x2dd),'children':[_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x30a),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x216)}),_0x2c8164[_0x2f7c55(0x332)]('div',{'className':_0x2f7c55(0x323),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x2f7c55(0x2f9)}),_0x2c8164['jsx'](_0x2f7c55(0x257),{'className':_0x2f7c55(0x245),'children':_0x3e2e00['t'](_0x2f7c55(0x1f5))})]})]}),_0x2c8164['jsxs'](_0x2f7c55(0x257),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x2c8164['jsxs']('div',{'className':_0x2f7c55(0x323),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x2f7c55(0x2b8)}),_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3e2e00['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x2c8164['jsx'](_0x2e5b3d[_0x2f7c55(0x312)],{'onClick':_0x37a803,'disabled':!_0x5dc680||_0x4aa44d,'className':_0x2f7c55(0x280),'children':_0x4aa44d?_0x2c8164['jsxs'](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x2c5),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'children':'⟲'}),_0x3e2e00['t']('mcpConfig.saving')]}):_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x32c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2c8164[_0x2f7c55(0x262)](_0x4ad991,{}),_0x3e2e00['t'](_0x2f7c55(0x342))]})}),_0x2c8164['jsx'](_0x2f7c55(0x257),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x2c8164[_0x2f7c55(0x332)]('div',{'className':_0x2f7c55(0x304),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x32c),{'className':_0x2f7c55(0x261),'children':'💡'}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x1fd),'children':[_0x2c8164[_0x2f7c55(0x262)](_0x2f7c55(0x257),{'className':_0x2f7c55(0x2d1),'children':_0x2f7c55(0x275)}),_0x2c8164[_0x2f7c55(0x332)]('div',{'children':['•',_0x3e2e00['t'](_0x2f7c55(0x29b))]}),_0x2c8164[_0x2f7c55(0x332)](_0x2f7c55(0x257),{'children':['•',_0x3e2e00['t'](_0x2f7c55(0x1f4))]})]})]})})]})})]});}const _0x1e7d5b=_0x310488(0x298),_0x17bbbe={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x2a7e29=Object['getOwnPropertyDescriptor'],_0x2ef3aa=(_0x509169,_0x2a1dfb,_0x3f133f,_0x1ecd7b)=>{const _0x1ae0fa=_0x310488;for(var _0x3fae92=_0x1ecd7b>0x1?void 0x0:_0x1ecd7b?_0x2a7e29(_0x2a1dfb,_0x3f133f):_0x2a1dfb,_0x3c8698=_0x509169[_0x1ae0fa(0x345)]-0x1,_0x337163;_0x3c8698>=0x0;_0x3c8698--)(_0x337163=_0x509169[_0x3c8698])&&(_0x3fae92=_0x337163(_0x3fae92)||_0x3fae92);return _0x3fae92;},_0x5efcf0=(_0x449e53,_0x5beee6)=>(_0x158914,_0x5ba469)=>_0x5beee6(_0x158914,_0x5ba469,_0x449e53);const _0x31408c=_0x310488(0x205),_0x31316d=_0x310488(0x2fd);_0x271bb1[_0x310488(0x273)]=class extends _0x31ca1d[_0x310488(0x24f)]{constructor(_0x527f9e,_0x3c75e1,_0x2dd9ef,_0x49f9b9,_0x936d8b,_0x15e81e,_0x4bb433,_0x3725d5,_0x2b35bf,_0x2652d4){const _0x4edb23=_0x310488;super(),_0x58253d(this,_0x4edb23(0x316),new _0x32a75f['BehaviorSubject'](!0x1)),_0x58253d(this,_0x4edb23(0x242),new _0x32a75f[(_0x4edb23(0x21d))]({})),_0x58253d(this,_0x4edb23(0x2bf),new _0x32a75f['BehaviorSubject']({})),_0x58253d(this,_0x4edb23(0x243),new _0x32a75f['BehaviorSubject']('')),_0x58253d(this,_0x4edb23(0x320),async _0x47867f=>{const _0x5406fd=_0x4edb23;var _0x263f5d,_0x3a53a6;this['_loading$'][_0x5406fd(0x25d)](!0x0);try{const _0x4a66cf=await this[_0x5406fd(0x2a6)](_0x47867f);if(!_0x4a66cf[_0x5406fd(0x310)]){this[_0x5406fd(0x33a)][_0x5406fd(0x24d)]({'type':_0x2e5b3d[_0x5406fd(0x20a)]['Error'],'content':_0x4a66cf[_0x5406fd(0x1db)]||this[_0x5406fd(0x329)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x47867f[_0x5406fd(0x311)]?await this[_0x5406fd(0x22a)][_0x5406fd(0x26c)](_0x31408c,_0x47867f['apiKey'][_0x5406fd(0x28f)]()):await this['_localStorageService']['removeItem'](_0x31408c),this[_0x5406fd(0x243)][_0x5406fd(0x25d)](((_0x263f5d=_0x47867f[_0x5406fd(0x311)])==null?void 0x0:_0x263f5d[_0x5406fd(0x28f)]())||''),this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x5406fd(0x1d5)+((_0x3a53a6=_0x47867f[_0x5406fd(0x311)])==null?void 0x0:_0x3a53a6[_0x5406fd(0x28f)]())}),this[_0x5406fd(0x33a)][_0x5406fd(0x24d)]({'type':_0x2e5b3d[_0x5406fd(0x20a)][_0x5406fd(0x2bb)],'content':this[_0x5406fd(0x329)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x5993c0=_0x5406fd;this[_0x5993c0(0x247)][_0x5993c0(0x222)](_0x31316d);},0x320);}catch(_0x545939){this[_0x5406fd(0x32e)][_0x5406fd(0x1c4)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x545939),this[_0x5406fd(0x33a)][_0x5406fd(0x24d)]({'type':_0x2e5b3d[_0x5406fd(0x20a)][_0x5406fd(0x26f)],'content':this[_0x5406fd(0x329)]['t'](_0x5406fd(0x1d7))});}finally{this['_loading$'][_0x5406fd(0x25d)](!0x1);}}),(this[_0x4edb23(0x2de)]=_0x527f9e,this[_0x4edb23(0x2a1)]=_0x3c75e1,this[_0x4edb23(0x1f7)]=_0x2dd9ef,this[_0x4edb23(0x22a)]=_0x49f9b9,this[_0x4edb23(0x247)]=_0x936d8b,this[_0x4edb23(0x33a)]=_0x15e81e,this['_componentManager']=_0x4bb433,this[_0x4edb23(0x329)]=_0x3725d5,this[_0x4edb23(0x32e)]=_0x2b35bf,this[_0x4edb23(0x1d6)]=_0x2652d4,this[_0x4edb23(0x2bd)](),this[_0x4edb23(0x1cd)](),this[_0x4edb23(0x2e0)]());}['showConfigPanel'](){const _0x45c250=_0x310488,_0x1c945f=this[_0x45c250(0x1f7)]['getConfig'](_0x1e7d5b);_0x1c945f!=null&&_0x1c945f[_0x45c250(0x349)]&&this[_0x45c250(0x247)][_0x45c250(0x220)]({'id':_0x31316d,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5ed74f=_0x45c250;this[_0x5ed74f(0x247)][_0x5ed74f(0x222)](_0x31316d);}});}[_0x310488(0x2ed)](){const _0xab7983=_0x310488;return this[_0xab7983(0x242)][_0xab7983(0x255)];}[_0x310488(0x2e0)](){const _0x2e2f87=_0x310488;this[_0x2e2f87(0x264)](this[_0x2e2f87(0x1e3)][_0x2e2f87(0x21b)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}[_0x310488(0x348)](){const _0x23d464=_0x310488;return _0x98cd1[_0x23d464(0x2df)](()=>{const _0x432aea=_0x23d464;var _0x4f0c5d,_0x320af9,_0x49cafb;return _0x2c8164[_0x432aea(0x262)](_0x28bf2b,{'config':this[_0x432aea(0x2bf)][_0x432aea(0x255)],'mcpCoreConfig':this[_0x432aea(0x242)][_0x432aea(0x255)],'currentApiKey$':this[_0x432aea(0x243)],'onSave':this['_handleConfigSave'],'loading':this[_0x432aea(0x316)][_0x432aea(0x255)],'connectionStatus$':(_0x4f0c5d=this[_0x432aea(0x1d6)])==null?void 0x0:_0x4f0c5d['connectionStatus$'],'connectionError$':(_0x320af9=this[_0x432aea(0x1d6)])==null?void 0x0:_0x320af9[_0x432aea(0x2b0)],'currentSessionId$':(_0x49cafb=this[_0x432aea(0x1d6)])==null?void 0x0:_0x49cafb[_0x432aea(0x211)]});},this[_0x23d464(0x2de)]);}['_initConfigSync'](){const _0x1a39ce=_0x310488;this[_0x1a39ce(0x264)](this[_0x1a39ce(0x1f7)][_0x1a39ce(0x317)](_0x5d8704[_0x1a39ce(0x33f)])[_0x1a39ce(0x2da)](_0x1f070b=>{const _0xe542a0=_0x1a39ce;this[_0xe542a0(0x242)][_0xe542a0(0x25d)](_0x1f070b||{});}));const _0x5a7a47=this['_configService'][_0x1a39ce(0x308)](_0x5d8704[_0x1a39ce(0x33f)]);this[_0x1a39ce(0x242)]['next'](_0x5a7a47||{}),this[_0x1a39ce(0x264)](this['_configService']['subscribeConfigValue$'](_0x1e7d5b)[_0x1a39ce(0x2da)](_0x204627=>{this['_config$']['next'](_0x204627||{});}));const _0x3fd0fb=this[_0x1a39ce(0x1f7)][_0x1a39ce(0x308)](_0x1e7d5b);this['_config$'][_0x1a39ce(0x25d)](_0x3fd0fb||{});}async[_0x310488(0x1cd)](){const _0x24c339=_0x310488,_0x54af1c=this[_0x24c339(0x1f7)]['getConfig'](_0x1e7d5b);if(!(_0x54af1c!=null&&_0x54af1c[_0x24c339(0x349)]))return;const _0x588fad=await this[_0x24c339(0x22a)][_0x24c339(0x2a2)](_0x31408c);_0x588fad&&(this['_mcpConnectionController'][_0x24c339(0x203)]({'Authorization':_0x24c339(0x1d5)+_0x588fad}),this[_0x24c339(0x243)]['next'](_0x588fad));}async[_0x310488(0x2a6)](_0x35f4cb){const _0x1f576e=_0x310488;if(!_0x35f4cb[_0x1f576e(0x311)]||_0x35f4cb['apiKey']['trim']()[_0x1f576e(0x345)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1f576e(0x329)]['t'](_0x1f576e(0x325))};if(_0x35f4cb[_0x1f576e(0x311)][_0x1f576e(0x28f)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x1f576e(0x2b5))};try{const _0x483872=await this[_0x1f576e(0x2de)]['get'](_0x5d8704[_0x1f576e(0x209)])[_0x1f576e(0x201)](_0x35f4cb[_0x1f576e(0x311)]['trim']());return _0x483872[_0x1f576e(0x310)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x483872[_0x1f576e(0x1c4)]||this[_0x1f576e(0x329)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x364b51){return console[_0x1f576e(0x305)](_0x1f576e(0x31b),_0x364b51),{'isValid':!0x0};}}},_0x271bb1[_0x310488(0x273)]=_0x2ef3aa([_0x5efcf0(0x0,_0x31ca1d[_0x310488(0x314)](_0x31ca1d[_0x310488(0x2fc)])),_0x5efcf0(0x1,_0x98cd1['IUIPartsService']),_0x5efcf0(0x2,_0x31ca1d[_0x310488(0x293)]),_0x5efcf0(0x3,_0x31ca1d['ILocalStorageService']),_0x5efcf0(0x4,_0x98cd1[_0x310488(0x288)]),_0x5efcf0(0x5,_0x98cd1[_0x310488(0x33c)]),_0x5efcf0(0x6,_0x31ca1d[_0x310488(0x314)](_0x98cd1['ComponentManager'])),_0x5efcf0(0x7,_0x31ca1d[_0x310488(0x314)](_0x31ca1d[_0x310488(0x2fa)])),_0x5efcf0(0x8,_0x31ca1d[_0x310488(0x31c)]),_0x5efcf0(0x9,_0x31ca1d[_0x310488(0x314)](_0x5d8704[_0x310488(0x209)]))],_0x271bb1['MCPConfigUIController']);const _0xcd9850={'id':_0x310488(0x347),'type':_0x31ca1d[_0x310488(0x1e2)][_0x310488(0x339)],'handler':async(_0x35764f,_0x4b8b4f)=>(_0x35764f['get'](_0x271bb1[_0x310488(0x273)])[_0x310488(0x1f8)](),!0x0)};function _0x11014d(_0x563a18,_0x36d9f1){const _0x5be676=_0x310488;switch(_0x563a18){case _0x5d8704[_0x5be676(0x229)][_0x5be676(0x343)]:return _0x5be676(0x1eb);case _0x5d8704['MCPConnectionStatus'][_0x5be676(0x202)]:return _0x5be676(0x23a);case _0x5d8704[_0x5be676(0x229)][_0x5be676(0x277)]:return _0x5be676(0x285);case _0x5d8704[_0x5be676(0x229)][_0x5be676(0x1e5)]:switch(_0x36d9f1){case _0x5d8704['MCPConnectionError'][_0x5be676(0x326)]:return'mcpStatus.unauthorized';case _0x5d8704[_0x5be676(0x1dc)][_0x5be676(0x2e4)]:return'mcpStatus.sessionOccupied';case _0x5d8704[_0x5be676(0x1dc)]['NETWORK_ERROR']:return _0x5be676(0x27e);case _0x5d8704[_0x5be676(0x1dc)][_0x5be676(0x333)]:return _0x5be676(0x1ed);default:return _0x5be676(0x294);}case _0x5d8704['MCPConnectionStatus'][_0x5be676(0x2b7)]:return _0x5be676(0x1da);default:return'mcpStatus.unknown';}}function _0x504cfc(_0x2aed5e,_0xb0a95d,_0x637c65,_0x15b156=!0x0){const _0x27525e=_0x310488,_0x5649c4=_0x11014d(_0x2aed5e,_0xb0a95d),_0x30926f=_0x637c65['t'](_0x5649c4);return _0x15b156?_0x2aed5e===_0x5d8704[_0x27525e(0x229)][_0x27525e(0x343)]&&_0xb0a95d===_0x5d8704[_0x27525e(0x1dc)][_0x27525e(0x326)]?_0x30926f+_0x27525e(0x1f2)+_0x637c65['t'](_0x27525e(0x263)):_0x2aed5e===_0x5d8704[_0x27525e(0x229)][_0x27525e(0x277)]?''+_0x30926f:_0x2aed5e===_0x5d8704[_0x27525e(0x229)][_0x27525e(0x343)]||_0x2aed5e===_0x5d8704['MCPConnectionStatus'][_0x27525e(0x1e5)]?_0x30926f+_0x27525e(0x1f2)+_0x637c65['t'](_0x27525e(0x1ee)):_0x30926f:_0x30926f;}function _0x239102(_0x9ef61d){const _0x54d3d6=_0x310488;switch(_0x9ef61d){case _0x5d8704[_0x54d3d6(0x229)]['CONNECTED']:return _0x54d3d6(0x276);case _0x5d8704[_0x54d3d6(0x229)][_0x54d3d6(0x202)]:case _0x5d8704[_0x54d3d6(0x229)][_0x54d3d6(0x2b7)]:return _0x54d3d6(0x2c3);case _0x5d8704['MCPConnectionStatus'][_0x54d3d6(0x1e5)]:case _0x5d8704[_0x54d3d6(0x229)][_0x54d3d6(0x343)]:return _0x54d3d6(0x2bc);default:return _0x54d3d6(0x20b);}}function _0x23a389(_0x5a29a4){const _0x3ad3eb=_0x310488,{status$:_0x381edb,error$:_0x4920be,onConfigure:_0x892ca9,showClickable:_0x20c2cd=!0x0}=_0x5a29a4,_0x25f364=_0x98cd1['useObservable'](_0x381edb,_0x5d8704[_0x3ad3eb(0x229)][_0x3ad3eb(0x343)]),_0x4398f4=_0x98cd1[_0x3ad3eb(0x1fc)](_0x4920be,_0x5d8704[_0x3ad3eb(0x1dc)]['NONE']),_0x199520=_0x98cd1[_0x3ad3eb(0x2e8)](_0x31ca1d['LocaleService']),_0x5bb2ea=_0x25f364===_0x5d8704['MCPConnectionStatus']['CONNECTED'];_0x25f364===_0x5d8704['MCPConnectionStatus'][_0x3ad3eb(0x202)]||_0x5d8704[_0x3ad3eb(0x229)][_0x3ad3eb(0x2b7)];const _0x15e3bc=_0x199520['t'](_0x11014d(_0x25f364,_0x4398f4)),_0x2201a0=_0x504cfc(_0x25f364,_0x4398f4,_0x199520,_0x20c2cd),_0x3b8d26=_0x239102(_0x25f364),_0x3949fd=_0x5bb2ea?_0x2c8164['jsx'](_0x279bc8,{}):_0x2c8164['jsx'](_0x562641,{}),_0x274b29=_0x595c52[_0x3ad3eb(0x2cc)](()=>{_0x20c2cd&&_0x892ca9&&_0x892ca9();},[_0x20c2cd,_0x892ca9]);function _0x301fab(){const _0x6be26d=_0x3ad3eb;return _0x2c8164['jsxs'](_0x6be26d(0x257),{'className':_0x2e5b3d['clsx'](_0x6be26d(0x2fb),_0x20c2cd&&_0x892ca9&&_0x6be26d(0x1c5)),'role':_0x6be26d(0x309),'onClick':_0x20c2cd&&_0x892ca9?_0x274b29:void 0x0,'children':[_0x2c8164[_0x6be26d(0x262)](_0x6be26d(0x257),{'className':_0x2e5b3d[_0x6be26d(0x1f6)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x3b8d26),'children':_0x3949fd}),_0x2c8164['jsx'](_0x6be26d(0x257),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x15e3bc})]});}return _0x2c8164[_0x3ad3eb(0x262)](_0x2e5b3d[_0x3ad3eb(0x33e)],{'title':_0x2201a0,'placement':'bottom','children':_0x301fab()});}var _0x2b256a=Object[_0x310488(0x2f2)],_0x4acdcb=(_0xdf7595,_0xe54791,_0x502398,_0x28d048)=>{for(var _0x569c6e=_0x28d048>0x1?void 0x0:_0x28d048?_0x2b256a(_0xe54791,_0x502398):_0xe54791,_0x4fa94b=_0xdf7595['length']-0x1,_0x185151;_0x4fa94b>=0x0;_0x4fa94b--)(_0x185151=_0xdf7595[_0x4fa94b])&&(_0x569c6e=_0x185151(_0x569c6e)||_0x569c6e);return _0x569c6e;},_0x466523=(_0x58123d,_0x414c8c)=>(_0x58ebc0,_0x5d1985)=>_0x414c8c(_0x58ebc0,_0x5d1985,_0x58123d);_0x271bb1['MCPConnectionUIController']=class extends _0x31ca1d['Disposable']{constructor(_0x37118f,_0x7b3cfd,_0x11fbde,_0x5db277){const _0x167bd1=_0x310488;super(),this[_0x167bd1(0x2de)]=_0x37118f,this[_0x167bd1(0x249)]=_0x7b3cfd,this[_0x167bd1(0x2a1)]=_0x11fbde,this['_configService']=_0x5db277,this[_0x167bd1(0x24c)](),this[_0x167bd1(0x2cb)]();}[_0x310488(0x24c)](){const _0x37c470=_0x310488,_0x4e214b=this[_0x37c470(0x1f7)][_0x37c470(0x308)](_0x1e7d5b);_0x4e214b!=null&&_0x4e214b[_0x37c470(0x349)]&&(this['_connectionController'][_0x37c470(0x1bd)]=!0x1);}[_0x310488(0x2cb)](){const _0x248c51=_0x310488,_0x5d9a32=this[_0x248c51(0x1f7)][_0x248c51(0x308)](_0x1e7d5b);(_0x5d9a32==null?void 0x0:_0x5d9a32[_0x248c51(0x284)])!==!0x1&&this[_0x248c51(0x264)](this['_uiPartsService'][_0x248c51(0x2e9)](_0x98cd1['BuiltInUIPart'][_0x248c51(0x23c)],()=>{const _0x3b8200=_0x248c51;var _0x2d37c1;return _0x98cd1[_0x3b8200(0x2df)](_0x105416({'status$':this[_0x3b8200(0x249)][_0x3b8200(0x2ad)],'error$':this[_0x3b8200(0x249)][_0x3b8200(0x2b0)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x2d37c1=_0x5d9a32==null?void 0x0:_0x5d9a32['showDeveloperTools'])!=null?_0x2d37c1:!0x1}),this[_0x3b8200(0x2de)]);}));}[_0x310488(0x291)](){const _0x4f284b=_0x310488;this[_0x4f284b(0x2de)][_0x4f284b(0x258)](_0x271bb1[_0x4f284b(0x273)])[_0x4f284b(0x1f8)]();}},_0x271bb1['MCPConnectionUIController']=_0x4acdcb([_0x466523(0x0,_0x31ca1d[_0x310488(0x314)](_0x31ca1d[_0x310488(0x2fc)])),_0x466523(0x1,_0x31ca1d[_0x310488(0x314)](_0x5d8704[_0x310488(0x209)])),_0x466523(0x2,_0x98cd1[_0x310488(0x319)]),_0x466523(0x3,_0x31ca1d[_0x310488(0x293)])],_0x271bb1[_0x310488(0x32b)]);function _0x105416(_0x277f75){const {status$:_0x439938,error$:_0x48e062,onConfigure:_0xb7db44,showClickable:_0x46979b}=_0x277f75;return function(){const _0x487a6=_0x18c6;return _0x2c8164[_0x487a6(0x262)](_0x23a389,{'status$':_0x439938,'error$':_0x48e062,'onConfigure':_0xb7db44,'showClickable':_0x46979b});};}function _0x503326(_0x4e7cb2){const _0x5b8e9f=_0x310488;return{'id':_0xcd9850['id'],'type':_0x98cd1[_0x5b8e9f(0x2b2)][_0x5b8e9f(0x23e)],'icon':'MenuIcon','title':_0x5b8e9f(0x1cf),'tooltip':_0x5b8e9f(0x1cf)};}const _0x10f977={[_0x98cd1[_0x310488(0x1ca)][_0x310488(0x20d)]]:{[_0xcd9850['id']]:{'order':0xa,'menuItemFactory':_0x503326}}};var _0x1786c7=Object[_0x310488(0x2f2)],_0x391725=(_0x248e33,_0x181a85,_0x538be7,_0x1fe594)=>{for(var _0xc9be60=_0x1fe594>0x1?void 0x0:_0x1fe594?_0x1786c7(_0x181a85,_0x538be7):_0x181a85,_0x1b750f=_0x248e33['length']-0x1,_0x2d69f6;_0x1b750f>=0x0;_0x1b750f--)(_0x2d69f6=_0x248e33[_0x1b750f])&&(_0xc9be60=_0x2d69f6(_0xc9be60)||_0xc9be60);return _0xc9be60;},_0x46b18f=(_0x7bbff,_0xa476e6)=>(_0x108604,_0x2ce033)=>_0xa476e6(_0x108604,_0x2ce033,_0x7bbff);_0x271bb1[_0x310488(0x29d)]=class extends _0x31ca1d['Disposable']{constructor(_0x20171b,_0x512fd8){const _0x2d00a3=_0x310488;super(),this[_0x2d00a3(0x1e7)]=_0x20171b,this['_menuManagerService']=_0x512fd8,this[_0x2d00a3(0x30f)](),this[_0x2d00a3(0x265)]();}[_0x310488(0x30f)](){const _0x89d79e=_0x310488;[_0xcd9850][_0x89d79e(0x259)](_0x441dd7=>{const _0xd3c019=_0x89d79e;this[_0xd3c019(0x264)](this[_0xd3c019(0x1e7)]['registerCommand'](_0x441dd7));});}['_initializeMenus'](){const _0x17c61e=_0x310488;this[_0x17c61e(0x2ba)][_0x17c61e(0x306)](_0x10f977);}},_0x271bb1[_0x310488(0x29d)]=_0x391725([_0x46b18f(0x0,_0x31ca1d[_0x310488(0x238)]),_0x46b18f(0x1,_0x98cd1[_0x310488(0x2ce)])],_0x271bb1[_0x310488(0x29d)]);const _0xc475d5={'mcpStatus':{'disconnected':_0x310488(0x20e),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x310488(0x253),'unknown':_0x310488(0x214),'unauthorized':_0x310488(0x279),'sessionOccupied':_0x310488(0x283),'networkError':_0x310488(0x292),'maxRetriesExceeded':_0x310488(0x2b9),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x310488(0x1fa),'description':_0x310488(0x221),'apiKey':_0x310488(0x2d2),'apiKeyPlaceholder':_0x310488(0x2ae),'apiKeyHint':_0x310488(0x225),'enableAuth':_0x310488(0x2ea),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x310488(0x2ab),'mcpClientConfig':_0x310488(0x2ab),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x310488(0x2fe),'configStep2':_0x310488(0x1e4),'configStep3':_0x310488(0x30d),'sessionId':_0x310488(0x307),'sessionIdDescription':_0x310488(0x28a),'authorizationDescription':_0x310488(0x31f),'configParameters':_0x310488(0x2f8),'maxRetries':_0x310488(0x1c9),'save':'Save\x20Configuration','saving':_0x310488(0x33d),'note1':_0x310488(0x1c7),'note2':_0x310488(0x328),'configSaved':_0x310488(0x1c8),'configError':_0x310488(0x2d8),'apiApplyInfo':{'title':_0x310488(0x27f),'description':_0x310488(0x274),'univerAiLabel':_0x310488(0x250),'getStarted':_0x310488(0x2a4)},'validation':{'apiKeyRequired':_0x310488(0x223),'apiKeyTooShort':_0x310488(0x297),'invalidConfig':_0x310488(0x2d0),'invalidApiKey':_0x310488(0x25a)},'connectionStatus':{'disconnected':_0x310488(0x23b),'connecting':_0x310488(0x27d),'connected':'Connected','failed':_0x310488(0x2a9),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x310488(0x2f7),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x310488(0x2f6),'maxRetriesExceeded':_0x310488(0x300)}}},_0x5936d8={'mcpStatus':{'disconnected':_0x310488(0x24a),'connecting':_0x310488(0x29a),'connected':'MCP\x20已连接','failed':_0x310488(0x217),'retrying':_0x310488(0x26e),'unknown':'MCP\x20状态未知','unauthorized':_0x310488(0x2ac),'sessionOccupied':_0x310488(0x239),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x310488(0x206),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x310488(0x207)},'mcpConfig':{'title':_0x310488(0x24b),'description':_0x310488(0x321),'apiKey':_0x310488(0x344),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x310488(0x31a),'enableAuth':_0x310488(0x22b),'enableAuthHint':_0x310488(0x1d2),'connectionInfo':_0x310488(0x1c1),'mcpClientConfig':_0x310488(0x1c1),'configInstructions':_0x310488(0x215),'configStepTitle':_0x310488(0x34b),'configStep1':_0x310488(0x315),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x310488(0x28e),'sessionId':_0x310488(0x341),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x310488(0x2dc),'configParameters':_0x310488(0x318),'maxRetries':_0x310488(0x25e),'save':_0x310488(0x21c),'saving':_0x310488(0x299),'note1':_0x310488(0x2af),'note2':_0x310488(0x27a),'configSaved':_0x310488(0x20c),'configError':_0x310488(0x34a),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x310488(0x251),'invalidConfig':_0x310488(0x1de),'invalidApiKey':_0x310488(0x213)},'connectionStatus':{'disconnected':_0x310488(0x237),'connecting':_0x310488(0x235),'connected':_0x310488(0x2e3),'failed':_0x310488(0x2c4),'retrying':_0x310488(0x1c0)},'connectionError':{'unauthorized':_0x310488(0x244),'sessionOccupied':_0x310488(0x252),'networkError':_0x310488(0x296),'maxRetriesExceeded':_0x310488(0x2c7)}}};var _0x2ecc8b=Object[_0x310488(0x335)],_0x5da13b=Object[_0x310488(0x2f2)],_0x15da7a=(_0x199c18,_0x57a0db,_0xce099a)=>_0x57a0db in _0x199c18?_0x2ecc8b(_0x199c18,_0x57a0db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xce099a}):_0x199c18[_0x57a0db]=_0xce099a,_0x32e385=(_0x2e81b3,_0x5eac2f,_0x4f6187,_0x4e79b2)=>{const _0x1ffa0c=_0x310488;for(var _0x3d86c6=_0x4e79b2>0x1?void 0x0:_0x4e79b2?_0x5da13b(_0x5eac2f,_0x4f6187):_0x5eac2f,_0x225d5b=_0x2e81b3[_0x1ffa0c(0x345)]-0x1,_0x4a940c;_0x225d5b>=0x0;_0x225d5b--)(_0x4a940c=_0x2e81b3[_0x225d5b])&&(_0x3d86c6=_0x4a940c(_0x3d86c6)||_0x3d86c6);return _0x3d86c6;},_0x4cf9e5=(_0x692389,_0x21e0c3)=>(_0x34ba8c,_0x51b250)=>_0x21e0c3(_0x34ba8c,_0x51b250,_0x692389),_0xf2f58b=(_0x49f0b7,_0x1cc6f5,_0x1337cc)=>_0x15da7a(_0x49f0b7,_0x1cc6f5+'',_0x1337cc);_0x271bb1['UniverMCPUIPlugin']=class extends _0x31ca1d[_0x310488(0x2b4)]{constructor(_0x5db890=_0x17bbbe,_0x415d98,_0x11ca0a,_0x49043a,_0x543142,_0x273695){const _0x1df22c=_0x310488;super(),this[_0x1df22c(0x20f)]=_0x5db890,this['_injector']=_0x415d98,this[_0x1df22c(0x1f7)]=_0x11ca0a,this[_0x1df22c(0x2a1)]=_0x49043a,this[_0x1df22c(0x22a)]=_0x543142,this[_0x1df22c(0x329)]=_0x273695;const {..._0x408899}=_0x31ca1d[_0x1df22c(0x1d0)]({},_0x17bbbe,this['_config']);this[_0x1df22c(0x1f7)][_0x1df22c(0x31e)](_0x1e7d5b,_0x408899);}async[_0x310488(0x2be)](){const _0x50b657=_0x310488,_0x4cc23b=[[_0x271bb1[_0x50b657(0x32b)]],[_0x271bb1['MCPConfigUIController']],[_0x271bb1[_0x50b657(0x29d)]]];this[_0x50b657(0x2de)]['has'](_0x29dc49['ISocketService'])||_0x4cc23b[_0x50b657(0x1f1)]([_0x29dc49[_0x50b657(0x30c)],{'useClass':_0x29dc49['WebSocketService']}]),_0x4cc23b[_0x50b657(0x259)](_0xb50573=>this['_injector'][_0x50b657(0x21a)](_0xb50573)),this[_0x50b657(0x2de)][_0x50b657(0x258)](_0x271bb1[_0x50b657(0x32b)]),this['_injector']['get'](_0x271bb1[_0x50b657(0x273)]),this[_0x50b657(0x2de)]['get'](_0x271bb1[_0x50b657(0x29d)]);}},_0xf2f58b(_0x271bb1[_0x310488(0x224)],_0x310488(0x208),_0x310488(0x2ca)),_0x271bb1[_0x310488(0x224)]=_0x32e385([_0x31ca1d[_0x310488(0x2a7)](_0x5d8704[_0x310488(0x2d6)]),_0x4cf9e5(0x1,_0x31ca1d[_0x310488(0x314)](_0x31ca1d[_0x310488(0x2fc)])),_0x4cf9e5(0x2,_0x31ca1d[_0x310488(0x293)]),_0x4cf9e5(0x3,_0x98cd1[_0x310488(0x319)]),_0x4cf9e5(0x4,_0x31ca1d[_0x310488(0x1e0)]),_0x4cf9e5(0x5,_0x31ca1d['Inject'](_0x31ca1d[_0x310488(0x2fa)]))],_0x271bb1['UniverMCPUIPlugin']),_0x271bb1['MCPConfigPanel']=_0x28bf2b,_0x271bb1['MCPStatusDisplay']=_0x23a389,_0x271bb1[_0x310488(0x2b6)]=_0xcd9850,_0x271bb1['enUS']=_0xc475d5,_0x271bb1[_0x310488(0x2c2)]=_0x5936d8,Object['defineProperty'](_0x271bb1,Symbol[_0x310488(0x30e)],{'value':'Module'});}));function _0x18c6(_0x501423,_0x5d0057){const _0x14351a=_0x1435();return _0x18c6=function(_0x18c67f,_0x4ccceb){_0x18c67f=_0x18c67f-0x1bd;let _0x19066c=_0x14351a[_0x18c67f];return _0x19066c;},_0x18c6(_0x501423,_0x5d0057);}function _0x1435(){const _0x2f9ceb=['配置\x20MCP\x20使用\x20AI\x20操作电子表格','evenodd','univer-min-w-0\x20univer-flex-1','rxjs','mcpConfig.validation.apiKeyRequired','UNAUTHORIZED','forwardRef','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','_localeService','417RJHMXQ','MCPConnectionUIController','span','OffLineIcon','_logService','univer-space-y-5','518TclOIv','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','jsxs','MAX_RETRIES_EXCEEDED','univer-space-y-3','defineProperty','126JZyQOS','defIds','assign','COMMAND','_messageService','currentColor','IMessageService','Saving...','Tooltip','MCP_PLUGIN_CONFIG_KEY','xlink:href','会话ID','mcpConfig.save','DISCONNECTED','API\x20密钥','length','colorChannel1','mcp-ui.command.openConfigPanel','_createConfigPanelComponent','showDeveloperTools','配置保存失败','配置步骤:','enableAutoConnect','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','mcpConfig.apiApplyInfo.description','重连中...','MCP\x20客户端配置','idSuffix','NONE','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','use','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','Max\x20Retries','RibbonStartGroup','path','function','_loadStoredApiKey','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.title','merge','round','启用身份验证以获得安全连接','mask','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','Bearer\x20','_mcpConnectionController','mcpConfig.configError','CheckMarkIcon','amd','mcpStatus.retrying','errorMessage','MCPConnectionError','entries','配置无效','mcpConfig.configStep3','ILocalStorageService','UniverDesign','CommandType','_componentManager','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','FAILED','label','_commandService','mcpConfig.connectionError.sessionOccupied','<API_KEY>','includes','mcpStatus.disconnected','check-mark-icon','mcpStatus.maxRetriesExceeded','mcpStatus.clickToConnect','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','react','push','\x20-\x20','84104SirOUR','mcpConfig.note2','mcpConfig.sessionIdDescription','clsx','_configService','showConfigPanel','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','MCP\x20Configuration','UniverCore','useObservable','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.configStep1','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','CloseIcon','validateApiKey','CONNECTING','__setCustomHeaders','327954BtObVd','mcp.apiKey','MCP:\x20超出最大重试次数','点击配置\x20MCP','pluginName','MCPConnectionController','MessageType','univer-text-gray-500','配置保存成功','OTHERS','MCP\x20Disconnected','_config','mcpConfig.apiApplyInfo.title','sessionId$','attrs','API\x20密钥无效,请检查密钥是否正确','MCP\x20Unknown\x20Status','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','MCP\x20连接失败','190548OhEvzM','mcpConfig.configInstructions','add','register','保存配置','BehaviorSubject','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-bg-blue-500','open','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','close','API\x20key\x20is\x20required','UniverMCPUIPlugin','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer.ai','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','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCPConnectionStatus','_localStorageService','启用身份验证','20fKyyeC','1em','univer-ml-1\x20univer-flex\x20univer-size-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','exports','univer-text-sm\x20univer-text-gray-500','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','clipPath','mcpConfig.connectionStatus.failed','univer-flex-1','连接中...','https://console.univer.ai','未连接','ICommandService','MCP:\x20会话\x20ID\x20已被占用','mcpStatus.connecting','Disconnected','HEADER_MENU','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','BUTTON','fill','@univerjs/network','NETWORK_ERROR','_mcpCoreConfig$','_apiKey$','权限验证失败,请检查您的\x20API\x20密钥','univer-text-xs\x20univer-text-gray-500','useState','_dialogService','string','_connectionController','MCP\x20已断开','MCP\x20配置','_initAutoConnect','show','stringify','Disposable','Univer\x20AI\x20Console','API\x20密钥长度至少需要\x2010\x20位','会话\x20ID\x20已被占用,请稍后再试','MCP\x20Retrying...','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','value','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','div','get','forEach','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1521774IuwnIH','symbol','next','最大重试次数','univer-flex\x20univer-items-center\x20univer-gap-3','830924iwxglc','univer-shrink-0\x20univer-text-blue-500','jsx','mcpStatus.clickToConfigure','disposeWithMe','_initializeMenus','url(#$1','white','random','HelpIcon','mcpServerUrl','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','setItem','replace','MCP\x20重连中...','Error','children','tag','svg','MCPConfigUIController','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Notes:','univer-text-green-500','CONNECTED','translate(.97)','MCP:\x20Unauthorized','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.apiKeyPlaceholder','univer-text-blue-600','Connecting...','mcpStatus.networkError','What\x20is\x20API\x20Key?','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','createElement','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','MCP:\x20Session\x20ID\x20Occupied','showStatus','mcpStatus.connected','<SESSION_ID>','defs','IDialogService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','mcpConfig.apiApplyInfo.univerAiLabel','univer-size-2\x20univer-rounded-full','UniverIcon','重启您的\x20MCP\x20客户端以使配置生效','trim','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_handleConfigure','MCP:\x20Network\x20Error','IConfigService','mcpStatus.failed','map','网络连接错误,请检查您的网络连接','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcp-ui.config','保存中...','MCP\x20连接中...','mcpConfig.note1','M0\x200H16V16H0z','MCPUIMenuController','http://www.w3.org/2000/svg','mcpConfig.connectionError.networkError','mcpConfig.connectionError.maxRetriesExceeded','_uiPartsService','getItem','UniverUi','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.apiKeyHint','_validateConfig','DependentOn','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Connection\x20Failed','on-line-icon_clip0_910_349','MCP\x20Client\x20Configuration','MCP:\x20未授权','connectionStatus$','Enter\x20your\x20API\x20key','配置更改将立即生效','connectionError$','displayName','MenuItemType','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','Plugin','mcpConfig.validation.apiKeyTooShort','OpenMCPConfigPanelCommand','RETRYING','Authorization:','MCP:\x20Max\x20Retries\x20Exceeded','_menuManagerService','Success','univer-text-red-500','_initConfigSync','onStarting','_config$','mcpConfig.configStepTitle','univer-text-gray-400','zhCN','univer-text-yellow-500','连接失败','univer-flex\x20univer-items-center\x20univer-gap-2','univer-text-xs\x20univer-text-gray-600','超出最大重试次数,请稍后再试','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.connectionError.unauthorized','MCP_UI_PLUGIN','_initStatusComponent','useCallback','univer-shrink-0\x20univer-text-red-500','IMenuManagerService','348650oSAHlV','Invalid\x20configuration','univer-font-medium','API\x20Key','OnLineIcon','mcpConfig.connectionStatus.retrying','univer.plus','UniverMCPPlugin','0\x200\x2016\x2016','Failed\x20to\x20save\x20configuration','off-line-icon','subscribe','mcpConfig.apiKey','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-space-y-2','_injector','connectInjector','_registerComponent','univer-bg-green-500','https://console.univer.plus','已连接','SESSION_ID_OCCUPIED','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','substring','useDependency','registerComponent','Enable\x20Authentication','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','getCurrentConfig','none','React','univer-bg-red-500','mcpConfig.connectionInfo','getOwnPropertyDescriptor','off-line-icon_clip0_910_343','univer-text-sm\x20univer-font-medium','@univerjs/core','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Parameters:','univer_session_id:','LocaleService','univer-flex\x20univer-items-center','Injector','mcp-config-dialog','Copy\x20the\x20JSON\x20configuration\x20below','univer-size-4','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','@univerjs-pro/mcp','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-flex\x20univer-items-start\x20univer-gap-2','univer-flex\x20univer-gap-3','warn','mergeMenu','Session\x20ID','getConfig','button','univer-flex\x20univer-items-start\x20univer-gap-3','univerjs-icon\x20univerjs-icon-','ISocketService','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','toStringTag','_initializeCommands','isValid','apiKey','Button','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Inject','复制以下\x20JSON\x20配置','_loading$','subscribeConfigValue$','配置参数:','IUIPartsService','您的\x20API\x20密钥将在此浏览器中本地存储','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','ILogService','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','setConfig','API\x20key\x20with\x20Bearer\x20prefix.','_handleConfigSave'];_0x1435=function(){return _0x2f9ceb;};return _0x1435();}
1
+ function _0x242d(_0x126791,_0x588546){const _0x32e292=_0x32e2();return _0x242d=function(_0x242d80,_0x140294){_0x242d80=_0x242d80-0x1ad;let _0x261af6=_0x32e292[_0x242d80];return _0x261af6;},_0x242d(_0x126791,_0x588546);}function _0x32e2(){const _0x4dae88=['\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Connecting...','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','function','error','重启您的\x20MCP\x20客户端以使配置生效','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-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','mcpConfig.configStep2','_validateConfig','Enable\x20Authentication','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1387016stMSIC','open','What\x20is\x20API\x20Key?','MCP\x20连接失败','重连中...','attrs','removeItem','showConfigPanel','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpConfig.connectionStatus.disconnected','Univer\x20AI\x20Console','MCP\x20Disconnected','@univerjs/design','CheckMarkIcon','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.configInstructions','univer-text-xs\x20univer-text-gray-500','MCP\x20Connection\x20Failed','string','_mcpConnectionController','univer-flex\x20univer-items-center','会话\x20ID\x20已被占用,请稍后再试','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.failed','div','_connectionController','symbol','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_config$','univer-flex\x20univer-items-start\x20univer-gap-3','M0\x200H16V16H0z','next','univer.ai','API\x20密钥无效,请检查密钥是否正确','_initStatusComponent','evenodd','mcpStatus.maxRetriesExceeded','current','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MAX_RETRIES_EXCEEDED','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','点击连接\x20MCP','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','HelpIcon','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','round','Connected','CONNECTED','__setCustomHeaders','mcpConfig.note2','请输入您的\x20API\x20密钥','mcpConfig.connectionError.networkError','mcpServerUrl','React','off','配置步骤:','FAILED','MCP_PLUGIN_CONFIG_KEY','mcpStatus.clickToConfigure','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','MCP:\x20会话\x20ID\x20已被占用','mcpConfig.configSaved','_createConfigPanelComponent','validateApiKey','rxjs','useObservable','close','univer-text-sm\x20univer-font-medium','registerCommand','_blank','_uiPartsService','defIds','off-line-icon_clip0_910_343','map','length','show','配置保存成功','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','Authorization:','univer-text-gray-500','<SESSION_ID>','univer-ml-1\x20univer-flex\x20univer-size-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','subscribeConfigValue$','isValid','Click\x20to\x20configure\x20MCP','amd','Saving...','_config','mcpStatus.connecting','mcpConfig.configStep1','超出最大重试次数,请稍后再试','NONE','mcpConfig.connectionStatus.connected','connectionError$','add','mcpStatus.connected','NETWORK_ERROR','univer-text-gray-400','1220274uXMvHl','Copy\x20the\x20JSON\x20configuration\x20below','object','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','close-icon','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','displayName','assign','MCPUIMenuController','forwardRef','getCurrentConfig','MCP\x20Unknown\x20Status','path','get','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','includes','连接失败','705944eALQxq','API\x20key\x20is\x20required','MCP\x20状态未知','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.apiApplyInfo.univerAiLabel','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpStatus.disconnected','186814VteuIf','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','mcp-config-dialog','_initAutoConnect','getOwnPropertyDescriptor','连接中...','配置\x20MCP\x20使用\x20AI\x20操作电子表格','Failed\x20to\x20save\x20configuration','Tooltip','MCP:\x20未授权','0\x200\x2016\x2016','_loading$','mcpConfig.title','zhCN','OTHERS','_commandService','on-line-icon_clip0_910_349','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpStatus.networkError','merge','RETRYING','_initializeMenus','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','@univerjs-pro/mcp','_mcpCoreConfig$','toString','xlink:href','750eRpjpD','CONNECTING','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_apiKey$','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','showStatus','LocaleService','RibbonStartGroup','\x20-\x20','univer-space-y-4','MCP:\x20Session\x20ID\x20Occupied','会话ID','配置无效','getConfig','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCPConnectionUIController','MCPConnectionError','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','BuiltInUIPart','univer.plus','Click\x20to\x20connect\x20MCP','useCallback','mcpConfig.sessionIdDescription','_initializeCommands','83347xxxMVO','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-flex\x20univer-items-center\x20univer-gap-2','_localeService','UniverMCPPlugin','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','API\x20Key','mcpConfig.connectionError.sessionOccupied','univer-space-y-2','mcpConfig.apiApplyInfo.title','mcpStatus.unknown','OnLineIcon','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','DISCONNECTED','univer-flex\x20univer-gap-3','mcpConfig.description','什么是\x20API\x20密钥?','getItem','MCPConnectionController','http://www.w3.org/2000/svg','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','jsx','jsxs','univer-mr-2\x20univer-flex\x20univer-text-xl','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','svg','mcpConfig.apiApplyInfo.description','forEach','SESSION_ID_OCCUPIED','_messageService','substring','5UNSZmn','Configuration\x20Parameters:','MCP:\x20Network\x20Error','IUIPartsService','apiKey','Get\x20your\x20API\x20key\x20in\x20seconds','disposeWithMe','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','warn','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-text-red-500','mask','mcpConfig.connectionInfo','defs','univer-min-w-0\x20univer-flex-1','mcpStatus.unauthorized','clsx','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Configuration','register','UniverProMcpUi','univer-size-2\x20univer-rounded-full','UNAUTHORIZED','mcpConfig.apiKey','Retrying...','univer-flex\x20univer-items-start\x20univer-gap-2','connectInjector','Univer\x20AI\x20控制台','将配置添加到您的\x20MCP\x20客户端设置文件中','Module','univer-text-white','MCPConfigPanel','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-space-y-3','_dialogService','useRef','fill','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','IDialogService','url(#on-line-icon_clip0_910_349)','_configService','mcpConfig.save','univer-text-xs\x20univer-text-gray-600','mcpStatus.retrying','UniverNetwork','pre','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','_loadStoredApiKey','_handleConfigSave','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','idSuffix','MCP_UI_PLUGIN','MCPConfigUIController','enableAutoConnect','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP:\x20网络错误','Injector','text','none','9dwNzIn','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','CloseIcon','IMessageService','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','181751dRWrcb','Enable\x20authentication\x20for\x20secure\x20connections','MessageType','url(#$1','Save\x20Configuration','sessionId$','MCP:\x20Unauthorized','MCP\x20重连中...','API\x20密钥不能为空','entries','off-line-icon','https://console.univer.ai','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','OpenMCPConfigPanelCommand','_localStorageService','MCPConnectionStatus','children','MCP:\x20超出最大重试次数','MCP\x20已断开','connectionStatus$','Button','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','noopener\x20noreferrer','配置保存失败','MCP\x20Client\x20Configuration','mcpConfig.apiKeyHint','1em','registerComponent','tag','mcpConfig.note1','@univerjs/ui','colorChannel1','已连接','UniverMCPUIPlugin','enUS','mcpConfig.connectionStatus.failed','BehaviorSubject','_handleConfigure','https://console.univer.plus','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_initConfigSync','Success','权限验证失败,请检查您的\x20API\x20密钥','点击配置\x20MCP','MCP\x20客户端配置','MCP\x20Retrying...','white','MenuIcon','button','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','Bearer\x20','WebSocketService','mcp-ui.command.openConfigPanel','Error','_logService','span','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','ISocketService','useDependency','IConfigService','Inject','_registerComponent','trim','mcpConfig.validation.apiKeyTooShort','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mergeMenu','mcpConfig.connectionStatus.connecting','createElement','BUTTON','CommandType','ILogService','_injector','最大重试次数','ILocalStorageService','OffLineIcon','mcpConfig.connectionError.unauthorized','Disposable','Configuration\x20Steps:','mcpConfig.authorizationDescription','几秒钟内获取您的\x20API\x20密钥','mcpConfig.validation.invalidApiKey','Plugin','MCPStatusDisplay','currentColor','1081482FMsyug','url(#off-line-icon_clip0_910_343)','check-mark-icon','https://mcp.univer.ai/mcp/?univer_session_id=','mcpConfig.configStep3','COMMAND','_componentManager','API\x20密钥','defineProperty','7kejjAN','showDeveloperTools','value','Max\x20Retries','label','API\x20密钥长度至少需要\x2010\x20位','clipPath','将以下配置添加到您的\x20MCP\x20客户端设置中:','_menuManagerService','Enter\x20your\x20API\x20key'];_0x32e2=function(){return _0x4dae88;};return _0x32e2();}(function(_0xc023f8,_0x53ecf8){const _0x3a1b87=_0x242d,_0x3946b7=_0xc023f8();while(!![]){try{const _0x524ae1=-parseInt(_0x3a1b87(0x1b9))/0x1+parseInt(_0x3a1b87(0x2a8))/0x2*(-parseInt(_0x3a1b87(0x1b4))/0x3)+parseInt(_0x3a1b87(0x22b))/0x4+-parseInt(_0x3a1b87(0x2fe))/0x5*(parseInt(_0x3a1b87(0x20d))/0x6)+-parseInt(_0x3a1b87(0x216))/0x7*(-parseInt(_0x3a1b87(0x2a1))/0x8)+-parseInt(_0x3a1b87(0x290))/0x9+-parseInt(_0x3a1b87(0x2c5))/0xa*(-parseInt(_0x3a1b87(0x2dd))/0xb);if(_0x524ae1===_0x53ecf8)break;else _0x3946b7['push'](_0x3946b7['shift']());}catch(_0x52d8b5){_0x3946b7['push'](_0x3946b7['shift']());}}}(_0x32e2,0x370bb),function(_0x69e678,_0x18dcd9){const _0x336314=_0x242d;typeof exports==_0x336314(0x292)&&typeof module<'u'?_0x18dcd9(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==_0x336314(0x223)&&define[_0x336314(0x283)]?define(['exports','@univerjs/core','react/jsx-runtime',_0x336314(0x2c1),_0x336314(0x239),_0x336314(0x1d7),_0x336314(0x26d),'react','@univerjs/network'],_0x18dcd9):(_0x69e678=typeof globalThis<'u'?globalThis:_0x69e678||self,_0x18dcd9(_0x69e678[_0x336314(0x312)]={},_0x69e678['UniverCore'],_0x69e678[_0x336314(0x262)],_0x69e678['UniverProMcp'],_0x69e678['UniverDesign'],_0x69e678['UniverUi'],_0x69e678[_0x336314(0x26d)],_0x69e678['React'],_0x69e678[_0x336314(0x32c)]));}(this,function(_0x2b6d99,_0x312e57,_0x2aeb90,_0x418a08,_0x42198d,_0x2de5ed,_0x110352,_0x39fca9,_0x5c6a22){'use strict';const _0x3832a3=_0x242d;var _0x3a20c3=Object[_0x3832a3(0x215)],_0x4b788c=(_0x1011c8,_0x51a352,_0x217195)=>_0x51a352 in _0x1011c8?_0x3a20c3(_0x1011c8,_0x51a352,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x217195}):_0x1011c8[_0x51a352]=_0x217195,_0x3f0fad=(_0x5ae805,_0xe63d7b,_0x4b60b1)=>_0x4b788c(_0x5ae805,typeof _0xe63d7b!=_0x3832a3(0x247)?_0xe63d7b+'':_0xe63d7b,_0x4b60b1);function _0x5096f9({ref:_0x200d5d,..._0x432948}){const _0x773419=_0x3832a3,{icon:_0x47a37d,id:_0x4754d3,className:_0x1dfea4,extend:_0x2cce9a,..._0x581c68}=_0x432948,_0x9c9ccc=('univerjs-icon\x20univerjs-icon-'+_0x4754d3+'\x20'+(_0x1dfea4||''))['trim'](),_0x3ae93a=_0x39fca9[_0x773419(0x323)]('_'+_0x3e2c20());return _0xc596e1(_0x47a37d,''+_0x4754d3,{'defIds':_0x47a37d[_0x773419(0x274)],'idSuffix':_0x3ae93a[_0x773419(0x252)]},{'ref':_0x200d5d,'className':_0x9c9ccc,..._0x581c68},_0x2cce9a);}function _0xc596e1(_0x10664b,_0x5edc5f,_0x575227,_0x17c4cd,_0x237b05){const _0x2cb139=_0x3832a3;return _0x39fca9[_0x2cb139(0x1fc)](_0x10664b[_0x2cb139(0x1d5)],{'key':_0x5edc5f,..._0x3ff009(_0x10664b,_0x575227,_0x237b05),..._0x17c4cd},(_0x13d50e(_0x10664b,_0x575227)[_0x2cb139(0x1c9)]||[])['map']((_0x2a3742,_0x31c914)=>_0xc596e1(_0x2a3742,_0x5edc5f+'-'+_0x10664b[_0x2cb139(0x1d5)]+'-'+_0x31c914,_0x575227,void 0x0,_0x237b05)));}function _0x3ff009(_0x2d3f7a,_0x199b1c,_0x5d063c){const _0x4ca550=_0x3832a3,_0x4b14c8={..._0x2d3f7a[_0x4ca550(0x230)]};_0x5d063c!=null&&_0x5d063c[_0x4ca550(0x1d8)]&&_0x4b14c8['fill']===_0x4ca550(0x1d8)&&(_0x4b14c8[_0x4ca550(0x324)]=_0x5d063c[_0x4ca550(0x1d8)]),_0x2d3f7a[_0x4ca550(0x1d5)]===_0x4ca550(0x309)&&_0x4b14c8['id']&&(_0x4b14c8['id']=_0x4b14c8['id']+_0x199b1c['idSuffix']),Object[_0x4ca550(0x1c2)](_0x4b14c8)['forEach'](([_0x3b9751,_0x3cc6ca])=>{const _0x59f0ec=_0x4ca550;_0x3b9751===_0x59f0ec(0x309)&&typeof _0x3cc6ca==_0x59f0ec(0x23f)&&(_0x4b14c8[_0x3b9751]=_0x3cc6ca['replace'](/url\(#(.*)\)/,_0x59f0ec(0x1bc)+_0x199b1c['idSuffix']+')'));});const {defIds:_0x1ef9f7}=_0x199b1c;return!_0x1ef9f7||_0x1ef9f7[_0x4ca550(0x277)]===0x0||(_0x2d3f7a[_0x4ca550(0x1d5)]==='use'&&_0x4b14c8[_0x4ca550(0x2c4)]&&(_0x4b14c8[_0x4ca550(0x2c4)]=_0x4b14c8[_0x4ca550(0x2c4)]+_0x199b1c[_0x4ca550(0x332)]),Object['entries'](_0x4b14c8)[_0x4ca550(0x2fa)](([_0x348101,_0x1e5bf1])=>{const _0x3f4687=_0x4ca550;typeof _0x1e5bf1==_0x3f4687(0x23f)&&(_0x4b14c8[_0x348101]=_0x1e5bf1['replace'](/url\(#(.*)\)/,'url(#$1'+_0x199b1c[_0x3f4687(0x332)]+')'));})),_0x4b14c8;}function _0x13d50e(_0x59eb3c,_0x438815){const _0x2fdf36=_0x3832a3;var _0x465aa6;const {defIds:_0x3778db}=_0x438815;return!_0x3778db||_0x3778db['length']===0x0?_0x59eb3c:_0x59eb3c[_0x2fdf36(0x1d5)]===_0x2fdf36(0x30b)&&((_0x465aa6=_0x59eb3c[_0x2fdf36(0x1c9)])!=null&&_0x465aa6[_0x2fdf36(0x277)])?{..._0x59eb3c,'children':_0x59eb3c[_0x2fdf36(0x1c9)][_0x2fdf36(0x276)](_0x1fbaaa=>typeof _0x1fbaaa[_0x2fdf36(0x230)]['id']==_0x2fdf36(0x23f)&&_0x3778db&&_0x3778db['includes'](_0x1fbaaa[_0x2fdf36(0x230)]['id'])?{..._0x1fbaaa,'attrs':{..._0x1fbaaa[_0x2fdf36(0x230)],'id':_0x1fbaaa[_0x2fdf36(0x230)]['id']+_0x438815[_0x2fdf36(0x332)]}}:_0x1fbaaa)}:_0x59eb3c;}function _0x3e2c20(){const _0x1ae7b0=_0x3832a3;return Math['random']()[_0x1ae7b0(0x2c3)](0x24)[_0x1ae7b0(0x2fd)](0x2,0x8);}_0x5096f9[_0x3832a3(0x296)]='UniverIcon';const _0x29dee7={'tag':_0x3832a3(0x2f8),'attrs':{'xmlns':_0x3832a3(0x2f1),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x3832a3(0x1d3),'height':_0x3832a3(0x1d3)},'children':[{'tag':_0x3832a3(0x29c),'attrs':{'fill':_0x3832a3(0x20c),'d':_0x3832a3(0x2ea),'fillRule':'evenodd','clipRule':_0x3832a3(0x250)}}]},_0x108ba2=_0x39fca9[_0x3832a3(0x299)](function(_0x50760f,_0x1c0eaf){const _0x143cb9=_0x3832a3;return _0x39fca9['createElement'](_0x5096f9,Object[_0x143cb9(0x297)]({},_0x50760f,{'id':_0x143cb9(0x20f),'ref':_0x1c0eaf,'icon':_0x29dee7}));});_0x108ba2[_0x3832a3(0x296)]=_0x3832a3(0x23a);const _0x54b384={'tag':_0x3832a3(0x2f8),'attrs':{'xmlns':_0x3832a3(0x2f1),'fill':_0x3832a3(0x1b3),'viewBox':_0x3832a3(0x2b4),'width':'1em','height':_0x3832a3(0x1d3)},'children':[{'tag':_0x3832a3(0x29c),'attrs':{'fill':_0x3832a3(0x20c),'d':_0x3832a3(0x325)}}]},_0x4047fa=_0x39fca9[_0x3832a3(0x299)](function(_0xe4d592,_0x157e86){const _0x12dabf=_0x3832a3;return _0x39fca9[_0x12dabf(0x1fc)](_0x5096f9,Object['assign']({},_0xe4d592,{'id':_0x12dabf(0x294),'ref':_0x157e86,'icon':_0x54b384}));});_0x4047fa['displayName']=_0x3832a3(0x1b6);const _0x2cc309={'tag':'svg','attrs':{'xmlns':_0x3832a3(0x2f1),'fill':_0x3832a3(0x1b3),'viewBox':_0x3832a3(0x2b4),'width':'1em','height':'1em'},'children':[{'tag':_0x3832a3(0x29c),'attrs':{'fill':_0x3832a3(0x20c),'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':_0x3832a3(0x29c),'attrs':{'fill':_0x3832a3(0x20c),'d':_0x3832a3(0x1ea)}},{'tag':_0x3832a3(0x29c),'attrs':{'fill':_0x3832a3(0x20c),'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':_0x3832a3(0x250),'clipRule':_0x3832a3(0x250)}}]},_0x580080=_0x39fca9[_0x3832a3(0x299)](function(_0x8ffc53,_0x4704a1){const _0x56fb0c=_0x3832a3;return _0x39fca9[_0x56fb0c(0x1fc)](_0x5096f9,Object['assign']({},_0x8ffc53,{'id':'help-icon','ref':_0x4704a1,'icon':_0x2cc309}));});_0x580080[_0x3832a3(0x296)]=_0x3832a3(0x258);const _0x45c5bc={'tag':_0x3832a3(0x2f8),'attrs':{'xmlns':_0x3832a3(0x2f1),'fill':_0x3832a3(0x1b3),'viewBox':_0x3832a3(0x2b4),'width':_0x3832a3(0x1d3),'height':_0x3832a3(0x1d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x3832a3(0x20e)},'children':[{'tag':_0x3832a3(0x29c),'attrs':{'stroke':_0x3832a3(0x20c),'d':_0x3832a3(0x293),'strokeLinecap':_0x3832a3(0x25a),'strokeLinejoin':_0x3832a3(0x25a),'strokeWidth':1.2}}]},{'tag':_0x3832a3(0x30b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3832a3(0x29c),'attrs':{'fill':_0x3832a3(0x1e7),'d':_0x3832a3(0x24b)}}]}]}],'defIds':[_0x3832a3(0x275)]},_0x31d142=_0x39fca9['forwardRef'](function(_0x35567,_0x455301){const _0x3faf96=_0x3832a3;return _0x39fca9[_0x3faf96(0x1fc)](_0x5096f9,Object['assign']({},_0x35567,{'id':_0x3faf96(0x1c3),'ref':_0x455301,'icon':_0x45c5bc}));});_0x31d142['displayName']=_0x3832a3(0x203);const _0x18933={'tag':_0x3832a3(0x2f8),'attrs':{'xmlns':_0x3832a3(0x2f1),'fill':_0x3832a3(0x1b3),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3832a3(0x327)},'children':[{'tag':_0x3832a3(0x29c),'attrs':{'stroke':_0x3832a3(0x20c),'d':_0x3832a3(0x32e),'strokeLinecap':'round','strokeLinejoin':_0x3832a3(0x25a),'strokeWidth':1.2}}]},{'tag':_0x3832a3(0x30b),'attrs':{},'children':[{'tag':_0x3832a3(0x21c),'attrs':{'id':_0x3832a3(0x2ba)},'children':[{'tag':_0x3832a3(0x29c),'attrs':{'fill':'white','d':_0x3832a3(0x24b),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3832a3(0x2ba)]},_0x595029=_0x39fca9['forwardRef'](function(_0xb50e5b,_0x8079b2){return _0x39fca9['createElement'](_0x5096f9,Object['assign']({},_0xb50e5b,{'id':'on-line-icon','ref':_0x8079b2,'icon':_0x18933}));});_0x595029[_0x3832a3(0x296)]=_0x3832a3(0x2e9);function _0xf77188(_0xff38e4){const _0x1d7c27=_0x3832a3;var _0x28e600,_0x4ed214;const {mcpCoreConfig:_0x5c2cc6,onSave:_0x312cfa,loading:_0x548c6c=!0x1,config:_0x10d1a0,connectionStatus$:_0x248170,connectionError$:_0x49ca45,currentApiKey$:_0x100d68,currentSessionId$:_0x2ff197}=_0xff38e4,_0x5d2f54=_0x2de5ed[_0x1d7c27(0x1f3)](_0x312e57[_0x1d7c27(0x2cb)]),_0x1c2972=_0x2de5ed[_0x1d7c27(0x26e)](_0x248170,_0x418a08[_0x1d7c27(0x1c8)][_0x1d7c27(0x2eb)]),_0xdca8d0=_0x2de5ed['useObservable'](_0x49ca45,_0x418a08[_0x1d7c27(0x2d5)][_0x1d7c27(0x289)]),_0x426ee9=_0x2de5ed[_0x1d7c27(0x26e)](_0x2ff197,''),_0x4207a8=_0x2de5ed[_0x1d7c27(0x26e)](_0x100d68,''),[_0x57a168,_0x4a573e]=_0x39fca9['useState'](_0x4207a8||''),_0x426c97=!0x0,_0x53f623=_0x10d1a0['showDeveloperTools']&&_0x5c2cc6[_0x1d7c27(0x261)]&&(_0x5c2cc6[_0x1d7c27(0x261)]['includes'](_0x1d7c27(0x2d8))||_0x5c2cc6[_0x1d7c27(0x261)][_0x1d7c27(0x29f)]('univer.ai')),_0x9eef88=(_0x28e600=_0x5c2cc6[_0x1d7c27(0x261)])==null?void 0x0:_0x28e600[_0x1d7c27(0x29f)](_0x1d7c27(0x2d8)),_0x48eaa1=(_0x4ed214=_0x5c2cc6[_0x1d7c27(0x261)])==null?void 0x0:_0x4ed214[_0x1d7c27(0x29f)](_0x1d7c27(0x24d)),_0x22ef18=_0x9eef88?_0x1d7c27(0x1df):_0x1d7c27(0x1c4),_0x51f0bd=_0x10d1a0['showDeveloperTools']&&(_0x9eef88||_0x48eaa1),[_0x1376a4,_0x54b7a9]=_0x39fca9['useState'](!_0x57a168[_0x1d7c27(0x1f7)]()),_0x88b792=(_0x227f9f,_0x1ac1a7)=>{const _0x1c9124=_0x1d7c27;if(_0x1ac1a7===_0x418a08[_0x1c9124(0x2d5)][_0x1c9124(0x314)])return _0x1c9124(0x2e3);switch(_0x227f9f){case _0x418a08[_0x1c9124(0x1c8)]['CONNECTED']:return _0x1c9124(0x2bb);case _0x418a08[_0x1c9124(0x1c8)][_0x1c9124(0x2c6)]:case _0x418a08[_0x1c9124(0x1c8)][_0x1c9124(0x2be)]:return _0x1c9124(0x295);case _0x418a08[_0x1c9124(0x1c8)][_0x1c9124(0x265)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x1c9124(0x1ce);}},_0x513f5a=(_0x54a34e,_0x44fd58)=>{const _0x2a174b=_0x1d7c27;if(_0x44fd58===_0x418a08[_0x2a174b(0x2d5)]['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x54a34e){case _0x418a08[_0x2a174b(0x1c8)][_0x2a174b(0x25c)]:return'univer-bg-green-500';case _0x418a08['MCPConnectionStatus'][_0x2a174b(0x2c6)]:case _0x418a08[_0x2a174b(0x1c8)][_0x2a174b(0x2be)]:return'univer-bg-blue-500';case _0x418a08['MCPConnectionStatus'][_0x2a174b(0x265)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x265604=_0x33d5ad=>{const _0x2f9843=_0x1d7c27;switch(_0x33d5ad){case _0x418a08[_0x2f9843(0x1c8)][_0x2f9843(0x25c)]:return _0x5d2f54['t'](_0x2f9843(0x28a));case _0x418a08[_0x2f9843(0x1c8)][_0x2f9843(0x2c6)]:return _0x5d2f54['t'](_0x2f9843(0x1fb));case _0x418a08[_0x2f9843(0x1c8)]['FAILED']:return _0x5d2f54['t'](_0x2f9843(0x1dc));case _0x418a08[_0x2f9843(0x1c8)][_0x2f9843(0x2be)]:return _0x5d2f54['t']('mcpConfig.connectionStatus.retrying');default:return _0x5d2f54['t'](_0x2f9843(0x236));}},_0x39711f=_0x6387fc=>{const _0x34a849=_0x1d7c27;switch(_0x6387fc){case _0x418a08[_0x34a849(0x2d5)][_0x34a849(0x314)]:return _0x5d2f54['t'](_0x34a849(0x204));case _0x418a08[_0x34a849(0x2d5)]['SESSION_ID_OCCUPIED']:return _0x5d2f54['t'](_0x34a849(0x2e5));case _0x418a08[_0x34a849(0x2d5)][_0x34a849(0x28e)]:return _0x5d2f54['t'](_0x34a849(0x260));case _0x418a08['MCPConnectionError'][_0x34a849(0x254)]:return _0x5d2f54['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x41c2e8=_0x39fca9[_0x1d7c27(0x2da)](()=>{const _0x5a2dde=_0x1d7c27,_0x7b7a57={..._0x5c2cc6,'apiKey':_0x57a168[_0x5a2dde(0x1f7)](),'enableAuth':_0x426c97};_0x312cfa(_0x7b7a57);},[_0x5c2cc6,_0x57a168,_0x426c97,_0x312cfa]),_0x148e0c=_0x57a168['trim']()[_0x1d7c27(0x277)]>0x0;return _0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x1b5),'children':[_0x2aeb90['jsx'](_0x1d7c27(0x245),{'className':_0x1d7c27(0x253),'children':_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x234),'children':_0x2aeb90[_0x1d7c27(0x2f4)]('span',{'className':_0x1d7c27(0x31c),'children':'⚙'})}),_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'children':_0x2aeb90['jsx']('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x5d2f54['t'](_0x1d7c27(0x2ed))})})]})}),_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x233),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':_0x42198d['clsx'](_0x1d7c27(0x2c0),_0x88b792(_0x1c2972,_0xdca8d0)),'children':_0x2aeb90[_0x1d7c27(0x2f5)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':_0x42198d[_0x1d7c27(0x30e)](_0x1d7c27(0x313),_0x513f5a(_0x1c2972,_0xdca8d0))}),_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x1f0),{'className':_0x1d7c27(0x270),'children':_0x265604(_0x1c2972)})]})}),_0xdca8d0!==_0x418a08[_0x1d7c27(0x2d5)][_0x1d7c27(0x289)]&&(_0x1c2972===_0x418a08[_0x1d7c27(0x1c8)]['FAILED']||_0xdca8d0===_0x418a08[_0x1d7c27(0x2d5)][_0x1d7c27(0x314)])&&_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x2a6),'children':_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x317),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x1f0),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x2aeb90[_0x1d7c27(0x2f4)]('p',{'className':_0x1d7c27(0x31e),'children':_0x39711f(_0xdca8d0)})]})})]}),_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':'univer-space-y-5','children':[_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':'univer-space-y-2','children':[_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x21a),{'className':_0x1d7c27(0x29e),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x1f0),{'children':'🔑'}),'\x20',_0x5d2f54['t'](_0x1d7c27(0x315)),_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x1f0),{'className':'univer-text-red-500','children':'*'}),_0x53f623&&_0x2aeb90[_0x1d7c27(0x2f4)]('a',{'className':_0x1d7c27(0x27f),'title':_0x5d2f54['t'](_0x1d7c27(0x2e7)),'role':_0x1d7c27(0x1e9),'onClick':()=>_0x54b7a9(!0x0),'children':_0x2aeb90[_0x1d7c27(0x2f4)](_0x580080,{})})]}),_0x2aeb90[_0x1d7c27(0x2f4)](_0x42198d['Input'],{'type':_0x1d7c27(0x1b2),'placeholder':_0x5d2f54['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x57a168,'disabled':_0x548c6c,'autoComplete':_0x1d7c27(0x263),'onChange':_0x4a573e}),_0x2aeb90[_0x1d7c27(0x2f4)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5d2f54['t'](_0x1d7c27(0x1d2))})]}),_0x53f623&&_0x1376a4&&_0x2aeb90['jsxs'](_0x1d7c27(0x245),{'className':_0x1d7c27(0x257),'children':[_0x2aeb90[_0x1d7c27(0x2f4)]('a',{'className':_0x1d7c27(0x226),'role':'button','onClick':()=>_0x54b7a9(!0x1),'children':_0x2aeb90[_0x1d7c27(0x2f4)](_0x4047fa,{'className':'univer-size-4'})}),_0x2aeb90[_0x1d7c27(0x2f5)]('div',{'className':_0x1d7c27(0x259),'children':[_0x2aeb90[_0x1d7c27(0x2f4)]('div',{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x2aeb90['jsx'](_0x1d7c27(0x1f0),{'className':'univer-text-blue-600','children':'🚀'})}),_0x2aeb90[_0x1d7c27(0x2f5)]('div',{'className':'univer-flex-1','children':[_0x2aeb90[_0x1d7c27(0x2f4)]('h4',{'className':_0x1d7c27(0x1b8),'children':_0x5d2f54['t'](_0x1d7c27(0x2e7))}),_0x2aeb90[_0x1d7c27(0x2f4)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x5d2f54['t'](_0x1d7c27(0x2f9))}),_0x2aeb90[_0x1d7c27(0x2f4)]('div',{'className':_0x1d7c27(0x243),'children':_0x51f0bd&&_0x2aeb90['jsxs']('a',{'className':_0x1d7c27(0x31f),'href':_0x22ef18,'target':_0x1d7c27(0x272),'rel':_0x1d7c27(0x1cf),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x1f0),{'children':'🤖'}),_0x5d2f54['t'](_0x1d7c27(0x2a5)),_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x1f0),{'className':_0x1d7c27(0x28f),'children':'↗'})]})}),_0x2aeb90['jsxs']('div',{'className':_0x1d7c27(0x2f3),'children':['✨','\x20',_0x5d2f54['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x10d1a0[_0x1d7c27(0x217)]&&_0x2aeb90[_0x1d7c27(0x2f5)]('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x2aeb90[_0x1d7c27(0x2f5)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x2aeb90['jsx'](_0x1d7c27(0x1f0),{'children':'🔗'}),'\x20',_0x5d2f54['t'](_0x1d7c27(0x30a))]}),_0x2aeb90[_0x1d7c27(0x2f5)]('div',{'className':_0x1d7c27(0x2ce),'children':[_0x2aeb90['jsxs']('div',{'className':_0x1d7c27(0x321),'children':[_0x2aeb90[_0x1d7c27(0x2f4)]('p',{'className':_0x1d7c27(0x32a),'children':_0x5d2f54['t'](_0x1d7c27(0x23c))}),_0x2aeb90['jsxs']('div',{'className':_0x1d7c27(0x2e6),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5d2f54['t']('mcpConfig.configStepTitle')}),_0x2aeb90[_0x1d7c27(0x2f5)]('div',{'className':_0x1d7c27(0x1e0),'children':[_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x2df),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x1f0),{'className':_0x1d7c27(0x1f1),'children':'1'}),_0x5d2f54['t'](_0x1d7c27(0x287))]}),_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x2df),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x1f0),{'className':_0x1d7c27(0x1f1),'children':'2'}),_0x5d2f54['t'](_0x1d7c27(0x227))]}),_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x2df),'children':[_0x2aeb90['jsx']('span',{'className':'univer-flex\x20univer-size-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'}),_0x5d2f54['t'](_0x1d7c27(0x211))]})]})]})]}),_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x2e6),'children':[_0x2aeb90[_0x1d7c27(0x2f4)]('div',{'className':_0x1d7c27(0x320),'children':'MCP\x20Configuration'}),_0x2aeb90['jsx'](_0x1d7c27(0x245),{'className':_0x1d7c27(0x1af),'children':_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x32d),{'className':_0x1d7c27(0x222),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x1d7c27(0x210)+(_0x426ee9||_0x1d7c27(0x27e)),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0x57a168||'<API_KEY>')}}}},null,0x2)})})]}),_0x2aeb90['jsxs']('div',{'className':'univer-space-y-3','children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5d2f54['t']('mcpConfig.configParameters')}),_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':'univer-space-y-2','children':[_0x2aeb90['jsxs'](_0x1d7c27(0x245),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x255)}),_0x2aeb90['jsxs']('div',{'className':_0x1d7c27(0x30c),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x2c7),'children':'univer_session_id:'}),_0x2aeb90[_0x1d7c27(0x2f4)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5d2f54['t'](_0x1d7c27(0x2db))})]})]}),_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x24a),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x255)}),_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x2aeb90['jsx']('div',{'className':_0x1d7c27(0x2c7),'children':_0x1d7c27(0x27c)}),_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x23d),'children':_0x5d2f54['t'](_0x1d7c27(0x207))})]})]})]})]})]})]}),_0x2aeb90[_0x1d7c27(0x2f4)](_0x42198d[_0x1d7c27(0x1cd)],{'onClick':_0x41c2e8,'disabled':!_0x148e0c||_0x548c6c,'className':_0x1d7c27(0x268),'children':_0x548c6c?_0x2aeb90[_0x1d7c27(0x2f5)]('span',{'className':_0x1d7c27(0x2df),'children':[_0x2aeb90['jsx'](_0x1d7c27(0x1f0),{'children':'⟲'}),_0x5d2f54['t']('mcpConfig.saving')]}):_0x2aeb90['jsxs']('span',{'className':_0x1d7c27(0x2df),'children':[_0x2aeb90[_0x1d7c27(0x2f4)](_0x108ba2,{}),_0x5d2f54['t'](_0x1d7c27(0x329))]})}),_0x2aeb90[_0x1d7c27(0x2f4)](_0x1d7c27(0x245),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x2ec),'children':[_0x2aeb90['jsx'](_0x1d7c27(0x1f0),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x2aeb90[_0x1d7c27(0x2f5)](_0x1d7c27(0x245),{'className':_0x1d7c27(0x305),'children':[_0x2aeb90['jsx'](_0x1d7c27(0x245),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x2aeb90['jsxs'](_0x1d7c27(0x245),{'children':['•',_0x5d2f54['t'](_0x1d7c27(0x1d6))]}),_0x2aeb90['jsxs'](_0x1d7c27(0x245),{'children':['•',_0x5d2f54['t'](_0x1d7c27(0x25e))]})]})]})})]})})]});}const _0x2a22ac='mcp-ui.config',_0x506e56={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x8021db=Object['getOwnPropertyDescriptor'],_0x3eb92e=(_0x3b5089,_0x39ef35,_0x48a356,_0x324fc2)=>{for(var _0x5d7c41=_0x324fc2>0x1?void 0x0:_0x324fc2?_0x8021db(_0x39ef35,_0x48a356):_0x39ef35,_0x23037b=_0x3b5089['length']-0x1,_0x1d0819;_0x23037b>=0x0;_0x23037b--)(_0x1d0819=_0x3b5089[_0x23037b])&&(_0x5d7c41=_0x1d0819(_0x5d7c41)||_0x5d7c41);return _0x5d7c41;},_0x5afd13=(_0x2e781c,_0x448356)=>(_0x391c27,_0x427b7a)=>_0x448356(_0x391c27,_0x427b7a,_0x2e781c);const _0x3ea1f2='mcp.apiKey',_0x13accb=_0x3832a3(0x2ac);_0x2b6d99[_0x3832a3(0x1ad)]=class extends _0x312e57[_0x3832a3(0x205)]{constructor(_0x404a4a,_0x2a9bea,_0x1ce48c,_0x5dd862,_0x43a900,_0x46e51f,_0x12d4d5,_0x1fa976,_0x4530b6,_0x264426){const _0x15fb85=_0x3832a3;super(),_0x3f0fad(this,_0x15fb85(0x2b5),new _0x110352[(_0x15fb85(0x1dd))](!0x1)),_0x3f0fad(this,_0x15fb85(0x2c2),new _0x110352[(_0x15fb85(0x1dd))]({})),_0x3f0fad(this,'_config$',new _0x110352['BehaviorSubject']({})),_0x3f0fad(this,_0x15fb85(0x2c8),new _0x110352[(_0x15fb85(0x1dd))]('')),_0x3f0fad(this,_0x15fb85(0x330),async _0x57862a=>{const _0x237096=_0x15fb85;var _0x2d4cd6,_0x29074c;this[_0x237096(0x2b5)]['next'](!0x0);try{const _0x2c22f9=await this[_0x237096(0x228)](_0x57862a);if(!_0x2c22f9[_0x237096(0x281)]){this[_0x237096(0x2fc)][_0x237096(0x278)]({'type':_0x42198d[_0x237096(0x1bb)][_0x237096(0x1ee)],'content':_0x2c22f9['errorMessage']||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x57862a[_0x237096(0x302)]?await this[_0x237096(0x1c7)]['setItem'](_0x3ea1f2,_0x57862a[_0x237096(0x302)]['trim']()):await this[_0x237096(0x1c7)][_0x237096(0x231)](_0x3ea1f2),this[_0x237096(0x2c8)][_0x237096(0x24c)](((_0x2d4cd6=_0x57862a[_0x237096(0x302)])==null?void 0x0:_0x2d4cd6[_0x237096(0x1f7)]())||''),this[_0x237096(0x240)][_0x237096(0x25d)]({'Authorization':_0x237096(0x1eb)+((_0x29074c=_0x57862a[_0x237096(0x302)])==null?void 0x0:_0x29074c[_0x237096(0x1f7)]())}),this['_messageService'][_0x237096(0x278)]({'type':_0x42198d[_0x237096(0x1bb)][_0x237096(0x1e2)],'content':this['_localeService']['t'](_0x237096(0x26a))}),setTimeout(()=>{const _0x55955b=_0x237096;this[_0x55955b(0x322)]['close'](_0x13accb);},0x320);}catch(_0x1eebd5){this[_0x237096(0x1ef)][_0x237096(0x224)](_0x237096(0x248),_0x1eebd5),this[_0x237096(0x2fc)][_0x237096(0x278)]({'type':_0x42198d[_0x237096(0x1bb)]['Error'],'content':this[_0x237096(0x2e0)]['t']('mcpConfig.configError')});}finally{this[_0x237096(0x2b5)][_0x237096(0x24c)](!0x1);}}),(this[_0x15fb85(0x200)]=_0x404a4a,this[_0x15fb85(0x273)]=_0x2a9bea,this[_0x15fb85(0x328)]=_0x1ce48c,this[_0x15fb85(0x1c7)]=_0x5dd862,this[_0x15fb85(0x322)]=_0x43a900,this[_0x15fb85(0x2fc)]=_0x46e51f,this[_0x15fb85(0x213)]=_0x12d4d5,this[_0x15fb85(0x2e0)]=_0x1fa976,this[_0x15fb85(0x1ef)]=_0x4530b6,this[_0x15fb85(0x240)]=_0x264426,this[_0x15fb85(0x1e1)](),this[_0x15fb85(0x32f)](),this[_0x15fb85(0x1f6)]());}[_0x3832a3(0x232)](){const _0x2ab9b9=_0x3832a3,_0x3a7592=this[_0x2ab9b9(0x328)][_0x2ab9b9(0x2d2)](_0x2a22ac);_0x3a7592!=null&&_0x3a7592[_0x2ab9b9(0x217)]&&this[_0x2ab9b9(0x322)][_0x2ab9b9(0x22c)]({'id':_0x13accb,'title':{'title':this[_0x2ab9b9(0x2e0)]['t'](_0x2ab9b9(0x2b6))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x55ab95=_0x2ab9b9;this['_dialogService'][_0x55ab95(0x26f)](_0x13accb);}});}[_0x3832a3(0x29a)](){const _0x252622=_0x3832a3;return this[_0x252622(0x2c2)][_0x252622(0x218)];}[_0x3832a3(0x1f6)](){const _0xa5667f=_0x3832a3;this[_0xa5667f(0x304)](this['_componentManager'][_0xa5667f(0x311)](_0xa5667f(0x31d),this['_createConfigPanelComponent']()));}[_0x3832a3(0x26b)](){const _0x4b6b61=_0x3832a3;return _0x2de5ed['connectInjector'](()=>{const _0x3e34a7=_0x242d;var _0xecb19b,_0x37a34d,_0x1a1a5d;return _0x2aeb90['jsx'](_0xf77188,{'config':this[_0x3e34a7(0x249)][_0x3e34a7(0x218)],'mcpCoreConfig':this[_0x3e34a7(0x2c2)]['value'],'currentApiKey$':this[_0x3e34a7(0x2c8)],'onSave':this['_handleConfigSave'],'loading':this[_0x3e34a7(0x2b5)][_0x3e34a7(0x218)],'connectionStatus$':(_0xecb19b=this[_0x3e34a7(0x240)])==null?void 0x0:_0xecb19b[_0x3e34a7(0x1cc)],'connectionError$':(_0x37a34d=this[_0x3e34a7(0x240)])==null?void 0x0:_0x37a34d[_0x3e34a7(0x28b)],'currentSessionId$':(_0x1a1a5d=this[_0x3e34a7(0x240)])==null?void 0x0:_0x1a1a5d[_0x3e34a7(0x1be)]});},this[_0x4b6b61(0x200)]);}[_0x3832a3(0x1e1)](){const _0x3e3a49=_0x3832a3;this[_0x3e3a49(0x304)](this[_0x3e3a49(0x328)][_0x3e3a49(0x280)](_0x418a08['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x2eaa98=>{this['_mcpCoreConfig$']['next'](_0x2eaa98||{});}));const _0x1c2381=this[_0x3e3a49(0x328)][_0x3e3a49(0x2d2)](_0x418a08[_0x3e3a49(0x266)]);this[_0x3e3a49(0x2c2)][_0x3e3a49(0x24c)](_0x1c2381||{}),this['disposeWithMe'](this[_0x3e3a49(0x328)][_0x3e3a49(0x280)](_0x2a22ac)['subscribe'](_0x26279e=>{const _0x3d2389=_0x3e3a49;this[_0x3d2389(0x249)][_0x3d2389(0x24c)](_0x26279e||{});}));const _0x5cfb58=this['_configService'][_0x3e3a49(0x2d2)](_0x2a22ac);this[_0x3e3a49(0x249)][_0x3e3a49(0x24c)](_0x5cfb58||{});}async[_0x3832a3(0x32f)](){const _0x4adebc=_0x3832a3,_0x5bde74=this['_configService'][_0x4adebc(0x2d2)](_0x2a22ac);if(!(_0x5bde74!=null&&_0x5bde74[_0x4adebc(0x217)]))return;const _0x18f519=await this[_0x4adebc(0x1c7)][_0x4adebc(0x2ef)](_0x3ea1f2);_0x18f519&&(this[_0x4adebc(0x240)][_0x4adebc(0x25d)]({'Authorization':_0x4adebc(0x1eb)+_0x18f519}),this['_apiKey$'][_0x4adebc(0x24c)](_0x18f519));}async[_0x3832a3(0x228)](_0x2a6db0){const _0x5db0a8=_0x3832a3;if(!_0x2a6db0[_0x5db0a8(0x302)]||_0x2a6db0[_0x5db0a8(0x302)][_0x5db0a8(0x1f7)]()[_0x5db0a8(0x277)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5db0a8(0x2e0)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x2a6db0['apiKey'][_0x5db0a8(0x1f7)]()[_0x5db0a8(0x277)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x5db0a8(0x1f8))};try{const _0x430798=await this[_0x5db0a8(0x200)]['get'](_0x418a08[_0x5db0a8(0x2f0)])[_0x5db0a8(0x26c)](_0x2a6db0['apiKey'][_0x5db0a8(0x1f7)]());return _0x430798[_0x5db0a8(0x281)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x430798['error']||this[_0x5db0a8(0x2e0)]['t'](_0x5db0a8(0x209))};}catch(_0xaf4d91){return console[_0x5db0a8(0x306)](_0x5db0a8(0x2c9),_0xaf4d91),{'isValid':!0x0};}}},_0x2b6d99[_0x3832a3(0x1ad)]=_0x3eb92e([_0x5afd13(0x0,_0x312e57[_0x3832a3(0x1f5)](_0x312e57[_0x3832a3(0x1b1)])),_0x5afd13(0x1,_0x2de5ed[_0x3832a3(0x301)]),_0x5afd13(0x2,_0x312e57[_0x3832a3(0x1f4)]),_0x5afd13(0x3,_0x312e57[_0x3832a3(0x202)]),_0x5afd13(0x4,_0x2de5ed[_0x3832a3(0x326)]),_0x5afd13(0x5,_0x2de5ed[_0x3832a3(0x1b7)]),_0x5afd13(0x6,_0x312e57[_0x3832a3(0x1f5)](_0x2de5ed['ComponentManager'])),_0x5afd13(0x7,_0x312e57[_0x3832a3(0x1f5)](_0x312e57['LocaleService'])),_0x5afd13(0x8,_0x312e57[_0x3832a3(0x1ff)]),_0x5afd13(0x9,_0x312e57[_0x3832a3(0x1f5)](_0x418a08[_0x3832a3(0x2f0)]))],_0x2b6d99[_0x3832a3(0x1ad)]);const _0x4ca33f={'id':_0x3832a3(0x1ed),'type':_0x312e57[_0x3832a3(0x1fe)][_0x3832a3(0x212)],'handler':async(_0x5e8e74,_0x4e31e1)=>(_0x5e8e74[_0x3832a3(0x29d)](_0x2b6d99['MCPConfigUIController'])[_0x3832a3(0x232)](),!0x0)};function _0x48f0c2(_0x403d18,_0x20cea7){const _0x5dd7f6=_0x3832a3;switch(_0x403d18){case _0x418a08[_0x5dd7f6(0x1c8)][_0x5dd7f6(0x2eb)]:return _0x5dd7f6(0x2a7);case _0x418a08['MCPConnectionStatus'][_0x5dd7f6(0x2c6)]:return _0x5dd7f6(0x286);case _0x418a08[_0x5dd7f6(0x1c8)][_0x5dd7f6(0x25c)]:return _0x5dd7f6(0x28d);case _0x418a08[_0x5dd7f6(0x1c8)][_0x5dd7f6(0x265)]:switch(_0x20cea7){case _0x418a08[_0x5dd7f6(0x2d5)]['UNAUTHORIZED']:return _0x5dd7f6(0x30d);case _0x418a08[_0x5dd7f6(0x2d5)][_0x5dd7f6(0x2fb)]:return'mcpStatus.sessionOccupied';case _0x418a08[_0x5dd7f6(0x2d5)][_0x5dd7f6(0x28e)]:return _0x5dd7f6(0x2bc);case _0x418a08[_0x5dd7f6(0x2d5)][_0x5dd7f6(0x254)]:return _0x5dd7f6(0x251);default:return _0x5dd7f6(0x244);}case _0x418a08[_0x5dd7f6(0x1c8)][_0x5dd7f6(0x2be)]:return _0x5dd7f6(0x32b);default:return _0x5dd7f6(0x2e8);}}function _0x398dec(_0x5e6027,_0x419eaf,_0x268c3d,_0x124632=!0x0){const _0x32c9c1=_0x3832a3,_0x411d92=_0x48f0c2(_0x5e6027,_0x419eaf),_0x275e3c=_0x268c3d['t'](_0x411d92);return _0x124632?_0x5e6027===_0x418a08[_0x32c9c1(0x1c8)][_0x32c9c1(0x2eb)]&&_0x419eaf===_0x418a08[_0x32c9c1(0x2d5)][_0x32c9c1(0x314)]?_0x275e3c+_0x32c9c1(0x2cd)+_0x268c3d['t'](_0x32c9c1(0x267)):_0x5e6027===_0x418a08['MCPConnectionStatus'][_0x32c9c1(0x25c)]?''+_0x275e3c:_0x5e6027===_0x418a08['MCPConnectionStatus'][_0x32c9c1(0x2eb)]||_0x5e6027===_0x418a08['MCPConnectionStatus'][_0x32c9c1(0x265)]?_0x275e3c+'\x20-\x20'+_0x268c3d['t']('mcpStatus.clickToConnect'):_0x275e3c:_0x275e3c;}function _0x126f83(_0x21913b){const _0xef96c3=_0x3832a3;switch(_0x21913b){case _0x418a08['MCPConnectionStatus']['CONNECTED']:return'univer-text-green-500';case _0x418a08[_0xef96c3(0x1c8)][_0xef96c3(0x2c6)]:case _0x418a08[_0xef96c3(0x1c8)][_0xef96c3(0x2be)]:return'univer-text-yellow-500';case _0x418a08['MCPConnectionStatus']['FAILED']:case _0x418a08['MCPConnectionStatus']['DISCONNECTED']:return _0xef96c3(0x308);default:return _0xef96c3(0x27d);}}function _0x4b7bc2(_0x2f3faa){const _0x216106=_0x3832a3,{status$:_0x46efe2,error$:_0x101ece,onConfigure:_0x1742d6,showClickable:_0x189299=!0x0}=_0x2f3faa,_0x5bac3c=_0x2de5ed[_0x216106(0x26e)](_0x46efe2,_0x418a08[_0x216106(0x1c8)]['DISCONNECTED']),_0x33de16=_0x2de5ed[_0x216106(0x26e)](_0x101ece,_0x418a08[_0x216106(0x2d5)]['NONE']),_0x33ddc4=_0x2de5ed['useDependency'](_0x312e57[_0x216106(0x2cb)]),_0x4a523a=_0x5bac3c===_0x418a08[_0x216106(0x1c8)]['CONNECTED'];_0x5bac3c===_0x418a08[_0x216106(0x1c8)][_0x216106(0x2c6)]||_0x418a08[_0x216106(0x1c8)]['RETRYING'];const _0x42acbd=_0x33ddc4['t'](_0x48f0c2(_0x5bac3c,_0x33de16)),_0x2276f9=_0x398dec(_0x5bac3c,_0x33de16,_0x33ddc4,_0x189299),_0x3b5906=_0x126f83(_0x5bac3c),_0x57ef39=_0x4a523a?_0x2aeb90[_0x216106(0x2f4)](_0x595029,{}):_0x2aeb90[_0x216106(0x2f4)](_0x31d142,{}),_0x5a813a=_0x39fca9['useCallback'](()=>{_0x189299&&_0x1742d6&&_0x1742d6();},[_0x189299,_0x1742d6]);function _0xe18c30(){const _0x543672=_0x216106;return _0x2aeb90[_0x543672(0x2f5)]('div',{'className':_0x42198d['clsx'](_0x543672(0x241),_0x189299&&_0x1742d6&&_0x543672(0x220)),'role':'button','onClick':_0x189299&&_0x1742d6?_0x5a813a:void 0x0,'children':[_0x2aeb90[_0x543672(0x2f4)](_0x543672(0x245),{'className':_0x42198d[_0x543672(0x30e)](_0x543672(0x2f6),_0x3b5906),'children':_0x57ef39}),_0x2aeb90[_0x543672(0x2f4)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x42acbd})]});}return _0x2aeb90['jsx'](_0x42198d[_0x216106(0x2b2)],{'title':_0x2276f9,'placement':'bottom','children':_0xe18c30()});}var _0x15b56d=Object[_0x3832a3(0x2ae)],_0x2d2584=(_0x2983c0,_0x135a3a,_0x7b840e,_0x33579d)=>{const _0x5dbfe6=_0x3832a3;for(var _0x3b8c25=_0x33579d>0x1?void 0x0:_0x33579d?_0x15b56d(_0x135a3a,_0x7b840e):_0x135a3a,_0x4aa6fd=_0x2983c0[_0x5dbfe6(0x277)]-0x1,_0x463841;_0x4aa6fd>=0x0;_0x4aa6fd--)(_0x463841=_0x2983c0[_0x4aa6fd])&&(_0x3b8c25=_0x463841(_0x3b8c25)||_0x3b8c25);return _0x3b8c25;},_0xd90c3a=(_0x13dad,_0x8f55f1)=>(_0x40f438,_0x473230)=>_0x8f55f1(_0x40f438,_0x473230,_0x13dad);_0x2b6d99[_0x3832a3(0x2d4)]=class extends _0x312e57[_0x3832a3(0x205)]{constructor(_0xf3aaa,_0x458387,_0x3c5137,_0x1e5e3e){const _0x22267e=_0x3832a3;super(),this[_0x22267e(0x200)]=_0xf3aaa,this[_0x22267e(0x246)]=_0x458387,this['_uiPartsService']=_0x3c5137,this[_0x22267e(0x328)]=_0x1e5e3e,this[_0x22267e(0x2ad)](),this[_0x22267e(0x24f)]();}[_0x3832a3(0x2ad)](){const _0x10c69f=_0x3832a3,_0x4b4376=this[_0x10c69f(0x328)][_0x10c69f(0x2d2)](_0x2a22ac);_0x4b4376!=null&&_0x4b4376['showDeveloperTools']&&(this[_0x10c69f(0x246)][_0x10c69f(0x1ae)]=!0x1);}[_0x3832a3(0x24f)](){const _0x20c8d5=_0x3832a3,_0x23b7b3=this[_0x20c8d5(0x328)][_0x20c8d5(0x2d2)](_0x2a22ac);(_0x23b7b3==null?void 0x0:_0x23b7b3[_0x20c8d5(0x2ca)])!==!0x1&&this['disposeWithMe'](this[_0x20c8d5(0x273)][_0x20c8d5(0x1d4)](_0x2de5ed[_0x20c8d5(0x2d7)]['HEADER_MENU'],()=>{const _0x3bf8c1=_0x20c8d5;var _0x43f6dd;return _0x2de5ed[_0x3bf8c1(0x318)](_0x242965({'status$':this[_0x3bf8c1(0x246)][_0x3bf8c1(0x1cc)],'error$':this[_0x3bf8c1(0x246)][_0x3bf8c1(0x28b)],'onConfigure':()=>this[_0x3bf8c1(0x1de)](),'showClickable':(_0x43f6dd=_0x23b7b3==null?void 0x0:_0x23b7b3[_0x3bf8c1(0x217)])!=null?_0x43f6dd:!0x1}),this[_0x3bf8c1(0x200)]);}));}[_0x3832a3(0x1de)](){const _0x2b324a=_0x3832a3;this['_injector'][_0x2b324a(0x29d)](_0x2b6d99['MCPConfigUIController'])[_0x2b324a(0x232)]();}},_0x2b6d99[_0x3832a3(0x2d4)]=_0x2d2584([_0xd90c3a(0x0,_0x312e57[_0x3832a3(0x1f5)](_0x312e57[_0x3832a3(0x1b1)])),_0xd90c3a(0x1,_0x312e57['Inject'](_0x418a08['MCPConnectionController'])),_0xd90c3a(0x2,_0x2de5ed[_0x3832a3(0x301)]),_0xd90c3a(0x3,_0x312e57[_0x3832a3(0x1f4)])],_0x2b6d99[_0x3832a3(0x2d4)]);function _0x242965(_0x395f70){const {status$:_0x119616,error$:_0x530a1a,onConfigure:_0x4c2f1b,showClickable:_0x452701}=_0x395f70;return function(){const _0x5ed9a0=_0x242d;return _0x2aeb90[_0x5ed9a0(0x2f4)](_0x4b7bc2,{'status$':_0x119616,'error$':_0x530a1a,'onConfigure':_0x4c2f1b,'showClickable':_0x452701});};}function _0x52d72f(_0x2c3eaa){const _0x530bac=_0x3832a3;return{'id':_0x4ca33f['id'],'type':_0x2de5ed['MenuItemType'][_0x530bac(0x1fd)],'icon':_0x530bac(0x1e8),'title':_0x530bac(0x2b6),'tooltip':_0x530bac(0x2b6)};}const _0xca4220={[_0x2de5ed[_0x3832a3(0x2cc)][_0x3832a3(0x2b8)]]:{[_0x4ca33f['id']]:{'order':0xa,'menuItemFactory':_0x52d72f}}};var _0x26a2a7=Object[_0x3832a3(0x2ae)],_0x649e52=(_0x4da768,_0x220737,_0x5cc39b,_0x1a8d75)=>{const _0x159d9c=_0x3832a3;for(var _0x1d3592=_0x1a8d75>0x1?void 0x0:_0x1a8d75?_0x26a2a7(_0x220737,_0x5cc39b):_0x220737,_0x1db74a=_0x4da768[_0x159d9c(0x277)]-0x1,_0x441f63;_0x1db74a>=0x0;_0x1db74a--)(_0x441f63=_0x4da768[_0x1db74a])&&(_0x1d3592=_0x441f63(_0x1d3592)||_0x1d3592);return _0x1d3592;},_0x2b7043=(_0x1ab1f,_0x34aea1)=>(_0x4347e1,_0x103ccb)=>_0x34aea1(_0x4347e1,_0x103ccb,_0x1ab1f);_0x2b6d99[_0x3832a3(0x298)]=class extends _0x312e57[_0x3832a3(0x205)]{constructor(_0x201565,_0x2c7d53){const _0xf3bceb=_0x3832a3;super(),this[_0xf3bceb(0x2b9)]=_0x201565,this[_0xf3bceb(0x21e)]=_0x2c7d53,this[_0xf3bceb(0x2dc)](),this[_0xf3bceb(0x2bf)]();}['_initializeCommands'](){const _0x48fa85=_0x3832a3;[_0x4ca33f][_0x48fa85(0x2fa)](_0x385486=>{const _0x475459=_0x48fa85;this[_0x475459(0x304)](this[_0x475459(0x2b9)][_0x475459(0x271)](_0x385486));});}[_0x3832a3(0x2bf)](){const _0x2e8692=_0x3832a3;this[_0x2e8692(0x21e)][_0x2e8692(0x1fa)](_0xca4220);}},_0x2b6d99[_0x3832a3(0x298)]=_0x649e52([_0x2b7043(0x0,_0x312e57['ICommandService']),_0x2b7043(0x1,_0x2de5ed['IMenuManagerService'])],_0x2b6d99[_0x3832a3(0x298)]);const _0x19fd54={'mcpStatus':{'disconnected':_0x3832a3(0x238),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x3832a3(0x23e),'retrying':_0x3832a3(0x1e6),'unknown':_0x3832a3(0x29b),'unauthorized':_0x3832a3(0x1bf),'sessionOccupied':_0x3832a3(0x2cf),'networkError':_0x3832a3(0x300),'maxRetriesExceeded':_0x3832a3(0x27b),'clickToConnect':_0x3832a3(0x2d9),'clickToConfigure':_0x3832a3(0x282)},'mcpConfig':{'title':_0x3832a3(0x310),'description':_0x3832a3(0x30f),'apiKey':_0x3832a3(0x2e4),'apiKeyPlaceholder':_0x3832a3(0x21f),'apiKeyHint':_0x3832a3(0x22a),'enableAuth':_0x3832a3(0x229),'enableAuthHint':_0x3832a3(0x1ba),'connectionInfo':_0x3832a3(0x1d1),'mcpClientConfig':_0x3832a3(0x1d1),'configInstructions':_0x3832a3(0x1c5),'configStepTitle':_0x3832a3(0x206),'configStep1':_0x3832a3(0x291),'configStep2':_0x3832a3(0x307),'configStep3':_0x3832a3(0x2d6),'sessionId':'Session\x20ID','sessionIdDescription':_0x3832a3(0x331),'authorizationDescription':_0x3832a3(0x2ab),'configParameters':_0x3832a3(0x2ff),'maxRetries':_0x3832a3(0x219),'save':_0x3832a3(0x1bd),'saving':_0x3832a3(0x284),'note1':_0x3832a3(0x235),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3832a3(0x27a),'configError':_0x3832a3(0x2b1),'apiApplyInfo':{'title':_0x3832a3(0x22d),'description':_0x3832a3(0x2f7),'univerAiLabel':_0x3832a3(0x237),'getStarted':_0x3832a3(0x303)},'validation':{'apiKeyRequired':_0x3832a3(0x2a2),'apiKeyTooShort':_0x3832a3(0x2a9),'invalidConfig':_0x3832a3(0x2aa),'invalidApiKey':_0x3832a3(0x1f9)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x3832a3(0x221),'connected':_0x3832a3(0x25b),'failed':'Connection\x20Failed','retrying':_0x3832a3(0x316)},'connectionError':{'unauthorized':_0x3832a3(0x2d3),'sessionOccupied':_0x3832a3(0x2de),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x271cbf={'mcpStatus':{'disconnected':_0x3832a3(0x1cb),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x3832a3(0x22e),'retrying':_0x3832a3(0x1c0),'unknown':_0x3832a3(0x2a3),'unauthorized':_0x3832a3(0x2b3),'sessionOccupied':_0x3832a3(0x269),'networkError':_0x3832a3(0x1b0),'maxRetriesExceeded':_0x3832a3(0x1ca),'clickToConnect':_0x3832a3(0x256),'clickToConfigure':_0x3832a3(0x1e4)},'mcpConfig':{'title':'MCP\x20配置','description':_0x3832a3(0x2b0),'apiKey':_0x3832a3(0x214),'apiKeyPlaceholder':_0x3832a3(0x25f),'apiKeyHint':_0x3832a3(0x2a4),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x3832a3(0x1e5),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x3832a3(0x21d),'configStepTitle':_0x3832a3(0x264),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x3832a3(0x31a),'configStep3':_0x3832a3(0x225),'sessionId':_0x3832a3(0x2d0),'sessionIdDescription':_0x3832a3(0x2f2),'authorizationDescription':_0x3832a3(0x2e2),'configParameters':'配置参数:','maxRetries':_0x3832a3(0x201),'save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x3832a3(0x279),'configError':_0x3832a3(0x1d0),'apiApplyInfo':{'title':_0x3832a3(0x2ee),'description':_0x3832a3(0x23b),'univerAiLabel':_0x3832a3(0x319),'getStarted':_0x3832a3(0x208)},'validation':{'apiKeyRequired':_0x3832a3(0x1c1),'apiKeyTooShort':_0x3832a3(0x21b),'invalidConfig':_0x3832a3(0x2d1),'invalidApiKey':_0x3832a3(0x24e)},'connectionStatus':{'disconnected':'未连接','connecting':_0x3832a3(0x2af),'connected':_0x3832a3(0x1d9),'failed':_0x3832a3(0x2a0),'retrying':_0x3832a3(0x22f)},'connectionError':{'unauthorized':_0x3832a3(0x1e3),'sessionOccupied':_0x3832a3(0x242),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x3832a3(0x288)}}};var _0x449c10=Object[_0x3832a3(0x215)],_0x219e4e=Object[_0x3832a3(0x2ae)],_0x7efe89=(_0x2b8676,_0x5b94cd,_0x4832d2)=>_0x5b94cd in _0x2b8676?_0x449c10(_0x2b8676,_0x5b94cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4832d2}):_0x2b8676[_0x5b94cd]=_0x4832d2,_0x3fa3c8=(_0x2e5997,_0x37ec82,_0x487ced,_0x525642)=>{const _0x3c55dd=_0x3832a3;for(var _0x4d4231=_0x525642>0x1?void 0x0:_0x525642?_0x219e4e(_0x37ec82,_0x487ced):_0x37ec82,_0x109054=_0x2e5997[_0x3c55dd(0x277)]-0x1,_0x11e34d;_0x109054>=0x0;_0x109054--)(_0x11e34d=_0x2e5997[_0x109054])&&(_0x4d4231=_0x11e34d(_0x4d4231)||_0x4d4231);return _0x4d4231;},_0x1e47f2=(_0xe4ee7b,_0x180350)=>(_0x3df8e3,_0x37c3f8)=>_0x180350(_0x3df8e3,_0x37c3f8,_0xe4ee7b),_0xf127c3=(_0x11060b,_0x2b5b06,_0x1e2916)=>_0x7efe89(_0x11060b,_0x2b5b06+'',_0x1e2916);_0x2b6d99['UniverMCPUIPlugin']=class extends _0x312e57[_0x3832a3(0x20a)]{constructor(_0x5e7e3b=_0x506e56,_0x149dbc,_0x16be92,_0x51b33d,_0x2c4187,_0x266de7){const _0x255e82=_0x3832a3;super(),this[_0x255e82(0x285)]=_0x5e7e3b,this['_injector']=_0x149dbc,this['_configService']=_0x16be92,this[_0x255e82(0x273)]=_0x51b33d,this[_0x255e82(0x1c7)]=_0x2c4187,this['_localeService']=_0x266de7;const {..._0x13d83d}=_0x312e57[_0x255e82(0x2bd)]({},_0x506e56,this['_config']);this['_configService']['setConfig'](_0x2a22ac,_0x13d83d);}async['onStarting'](){const _0xe9853=_0x3832a3,_0x652e38=[[_0x2b6d99[_0xe9853(0x2d4)]],[_0x2b6d99['MCPConfigUIController']],[_0x2b6d99['MCPUIMenuController']]];this[_0xe9853(0x200)]['has'](_0x5c6a22[_0xe9853(0x1f2)])||_0x652e38['push']([_0x5c6a22[_0xe9853(0x1f2)],{'useClass':_0x5c6a22[_0xe9853(0x1ec)]}]),_0x652e38[_0xe9853(0x2fa)](_0x3cc888=>this['_injector'][_0xe9853(0x28c)](_0x3cc888)),this['_injector'][_0xe9853(0x29d)](_0x2b6d99[_0xe9853(0x2d4)]),this['_injector'][_0xe9853(0x29d)](_0x2b6d99['MCPConfigUIController']),this['_injector'][_0xe9853(0x29d)](_0x2b6d99['MCPUIMenuController']);}},_0xf127c3(_0x2b6d99['UniverMCPUIPlugin'],'pluginName',_0x3832a3(0x333)),_0x2b6d99[_0x3832a3(0x1da)]=_0x3fa3c8([_0x312e57['DependentOn'](_0x418a08[_0x3832a3(0x2e1)]),_0x1e47f2(0x1,_0x312e57[_0x3832a3(0x1f5)](_0x312e57['Injector'])),_0x1e47f2(0x2,_0x312e57[_0x3832a3(0x1f4)]),_0x1e47f2(0x3,_0x2de5ed[_0x3832a3(0x301)]),_0x1e47f2(0x4,_0x312e57[_0x3832a3(0x202)]),_0x1e47f2(0x5,_0x312e57['Inject'](_0x312e57['LocaleService']))],_0x2b6d99[_0x3832a3(0x1da)]),_0x2b6d99[_0x3832a3(0x31d)]=_0xf77188,_0x2b6d99[_0x3832a3(0x20b)]=_0x4b7bc2,_0x2b6d99[_0x3832a3(0x1c6)]=_0x4ca33f,_0x2b6d99[_0x3832a3(0x1db)]=_0x19fd54,_0x2b6d99[_0x3832a3(0x2b7)]=_0x271cbf,Object[_0x3832a3(0x215)](_0x2b6d99,Symbol['toStringTag'],{'value':_0x3832a3(0x31b)});}));
@@ -1 +1 @@
1
- function _0x2778(_0x17da7f,_0x3a0f71){var _0x25051b=_0x2505();return _0x2778=function(_0x2778fe,_0xa3f3f5){_0x2778fe=_0x2778fe-0xd9;var _0x4b7805=_0x25051b[_0x2778fe];return _0x4b7805;},_0x2778(_0x17da7f,_0x3a0f71);}function _0x2505(){var _0x3f052c=['Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','Connected','Retrying...','13647bmXmLh','MCP:\x20Network\x20Error','Save\x20Configuration','object','Copy\x20the\x20JSON\x20configuration\x20below','32dYjdVP','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','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20Authentication','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','801816EqLtga','2667501vsDmRl','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','Configuration\x20Steps:','511446ZDcvJb','exports','Invalid\x20configuration','MCP\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','91030fgIwIK','Session\x20ID','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','21519MORcRL','Connection\x20Failed','UniverProMcpUiCaES','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','12MgJNne','Click\x20to\x20connect\x20MCP','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','1948737cEnbiW','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Client\x20Configuration','MCP\x20Disconnected','MCP\x20Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied'];_0x2505=function(){return _0x3f052c;};return _0x2505();}(function(_0x11ce76,_0x2411f8){var _0x1d6250=_0x2778,_0xd8828=_0x11ce76();while(!![]){try{var _0x4ea030=-parseInt(_0x1d6250(0xf4))/0x1+parseInt(_0x1d6250(0xf9))/0x2*(parseInt(_0x1d6250(0x109))/0x3)+parseInt(_0x1d6250(0xd9))/0x4*(parseInt(_0x1d6250(0xf1))/0x5)+parseInt(_0x1d6250(0xec))/0x6+-parseInt(_0x1d6250(0xfd))/0x7+-parseInt(_0x1d6250(0xe6))/0x8+parseInt(_0x1d6250(0xe7))/0x9;if(_0x4ea030===_0x2411f8)break;else _0xd8828['push'](_0xd8828['shift']());}catch(_0x1faa3b){_0xd8828['push'](_0xd8828['shift']());}}}(_0x2505,0x25b43),function(_0x4e8cd8,_0xe11d8e){var _0x526bf4=_0x2778;typeof exports==_0x526bf4(0x10c)&&typeof module<'u'?module[_0x526bf4(0xed)]=_0xe11d8e():typeof define=='function'&&define['amd']?define(_0xe11d8e):(_0x4e8cd8=typeof globalThis<'u'?globalThis:_0x4e8cd8||self,_0x4e8cd8[_0x526bf4(0xf6)]=_0xe11d8e());}(this,function(){'use strict';var _0x427708=_0x2778;return{'mcpStatus':{'disconnected':_0x427708(0x101),'connecting':_0x427708(0x102),'connected':_0x427708(0xfe),'failed':_0x427708(0xdf),'retrying':_0x427708(0xe5),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x427708(0xe0),'sessionOccupied':_0x427708(0x104),'networkError':_0x427708(0x10a),'maxRetriesExceeded':_0x427708(0xe4),'clickToConnect':_0x427708(0xfa),'clickToConfigure':_0x427708(0xf7)},'mcpConfig':{'title':_0x427708(0xef),'description':_0x427708(0xe1),'apiKey':_0x427708(0xdc),'apiKeyPlaceholder':_0x427708(0xfb),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x427708(0xe2),'enableAuthHint':_0x427708(0xf8),'connectionInfo':_0x427708(0x100),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x427708(0xde),'configStepTitle':_0x427708(0xeb),'configStep1':_0x427708(0x10d),'configStep2':_0x427708(0xff),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x427708(0xf2),'sessionIdDescription':_0x427708(0xe3),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x427708(0x10b),'saving':'Saving...','note1':_0x427708(0xf3),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x427708(0x106),'configError':_0x427708(0x105),'apiApplyInfo':{'title':_0x427708(0xfc),'description':_0x427708(0xda),'univerAiLabel':_0x427708(0xea),'getStarted':_0x427708(0x103)},'validation':{'apiKeyRequired':_0x427708(0xdb),'apiKeyTooShort':_0x427708(0xdd),'invalidConfig':_0x427708(0xee),'invalidApiKey':_0x427708(0xf0)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x427708(0x107),'failed':_0x427708(0xf5),'retrying':_0x427708(0x108)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x427708(0xe9),'maxRetriesExceeded':_0x427708(0xe8)}}};}));
1
+ function _0x23af(_0x5a6307,_0x281465){var _0x1d7954=_0x1d79();return _0x23af=function(_0x23afeb,_0x369df5){_0x23afeb=_0x23afeb-0x190;var _0x29302e=_0x1d7954[_0x23afeb];return _0x29302e;},_0x23af(_0x5a6307,_0x281465);}(function(_0x55324d,_0x31241d){var _0xc67e53=_0x23af,_0xcfe022=_0x55324d();while(!![]){try{var _0x5c23be=-parseInt(_0xc67e53(0x1a2))/0x1+parseInt(_0xc67e53(0x19a))/0x2+-parseInt(_0xc67e53(0x1af))/0x3+parseInt(_0xc67e53(0x1ba))/0x4+parseInt(_0xc67e53(0x1a6))/0x5+-parseInt(_0xc67e53(0x1be))/0x6*(parseInt(_0xc67e53(0x1aa))/0x7)+parseInt(_0xc67e53(0x1ab))/0x8*(-parseInt(_0xc67e53(0x1bd))/0x9);if(_0x5c23be===_0x31241d)break;else _0xcfe022['push'](_0xcfe022['shift']());}catch(_0x38b95a){_0xcfe022['push'](_0xcfe022['shift']());}}}(_0x1d79,0x7d912),function(_0x5163c8,_0x2b1f48){var _0x2e217a=_0x23af;typeof exports==_0x2e217a(0x198)&&typeof module<'u'?module['exports']=_0x2b1f48():typeof define=='function'&&define[_0x2e217a(0x1a9)]?define(_0x2b1f48):(_0x5163c8=typeof globalThis<'u'?globalThis:_0x5163c8||self,_0x5163c8['UniverProMcpUiCaES']=_0x2b1f48());}(this,function(){'use strict';var _0x513542=_0x23af;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x513542(0x1b4),'connected':'MCP\x20Connected','failed':_0x513542(0x1a5),'retrying':_0x513542(0x199),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x513542(0x192),'sessionOccupied':_0x513542(0x194),'networkError':_0x513542(0x195),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x513542(0x1a4),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x513542(0x1a1),'apiKeyPlaceholder':_0x513542(0x1a0),'apiKeyHint':_0x513542(0x1c0),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x513542(0x1b7),'connectionInfo':_0x513542(0x1b3),'mcpClientConfig':_0x513542(0x1b3),'configInstructions':_0x513542(0x19d),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x513542(0x1b8),'configStep3':_0x513542(0x1bc),'sessionId':_0x513542(0x1b1),'sessionIdDescription':_0x513542(0x1bb),'authorizationDescription':_0x513542(0x1c1),'configParameters':_0x513542(0x1b9),'maxRetries':_0x513542(0x1a3),'save':_0x513542(0x1b0),'saving':_0x513542(0x191),'note1':_0x513542(0x1b2),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x513542(0x1b6),'configError':_0x513542(0x196),'apiApplyInfo':{'title':_0x513542(0x1ad),'description':_0x513542(0x1ac),'univerAiLabel':_0x513542(0x193),'getStarted':_0x513542(0x197)},'validation':{'apiKeyRequired':_0x513542(0x19f),'apiKeyTooShort':_0x513542(0x19e),'invalidConfig':_0x513542(0x1b5),'invalidApiKey':_0x513542(0x1ae)},'connectionStatus':{'disconnected':_0x513542(0x19c),'connecting':_0x513542(0x19b),'connected':'Connected','failed':_0x513542(0x1a7),'retrying':_0x513542(0x1a8)},'connectionError':{'unauthorized':_0x513542(0x190),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x513542(0x1bf),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));function _0x1d79(){var _0xc1715c=['MCP\x20Connecting...','Invalid\x20configuration','Configuration\x20saved\x20successfully','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','2540348BrkYav','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','127170VzzDsU','498KxGWDK','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20with\x20Bearer\x20prefix.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Saving...','MCP:\x20Unauthorized','Univer\x20AI\x20Console','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Network\x20Error','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','object','MCP\x20Retrying...','1457894RvgOKH','Connecting...','Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','Enter\x20your\x20API\x20key','API\x20Key','47397sNKGHc','Max\x20Retries','Click\x20to\x20connect\x20MCP','MCP\x20Connection\x20Failed','3629340YOenTG','Connection\x20Failed','Retrying...','amd','35938NfobBB','208ZNIInd','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','What\x20is\x20API\x20Key?','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2204043ebjXma','Save\x20Configuration','Session\x20ID','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Client\x20Configuration'];_0x1d79=function(){return _0xc1715c;};return _0x1d79();}