@univerjs-pro/mcp-ui 0.10.14-nightly.202511080715 → 0.11.0-nightly.202511151013

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 (50) 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/ja-JP.js +1 -0
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -0
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -0
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/locale/ja-JP.d.ts +3 -0
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ja-JP.js +1 -0
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +8 -8
@@ -1 +1 @@
1
- function _0x20e3(_0xeaf258,_0x47fbc1){const _0x32882f=_0x3288();return _0x20e3=function(_0x20e3af,_0xafdd64){_0x20e3af=_0x20e3af-0x193;let _0x5c05f1=_0x32882f[_0x20e3af];return _0x5c05f1;},_0x20e3(_0xeaf258,_0x47fbc1);}const _0x22d051=_0x20e3;(function(_0x3f792f,_0x47ee38){const _0x2f2b60=_0x20e3,_0x2e8946=_0x3f792f();while(!![]){try{const _0x37804e=-parseInt(_0x2f2b60(0x1a2))/0x1+-parseInt(_0x2f2b60(0x1a1))/0x2*(parseInt(_0x2f2b60(0x1c1))/0x3)+-parseInt(_0x2f2b60(0x19e))/0x4*(parseInt(_0x2f2b60(0x1c3))/0x5)+parseInt(_0x2f2b60(0x19a))/0x6+-parseInt(_0x2f2b60(0x1a6))/0x7+-parseInt(_0x2f2b60(0x1b1))/0x8*(-parseInt(_0x2f2b60(0x19d))/0x9)+parseInt(_0x2f2b60(0x1ad))/0xa;if(_0x37804e===_0x47ee38)break;else _0x2e8946['push'](_0x2e8946['shift']());}catch(_0x22fd09){_0x2e8946['push'](_0x2e8946['shift']());}}}(_0x3288,0x66b7e));const e={'mcpStatus':{'disconnected':_0x22d051(0x1a9),'connecting':'MCP\x20Connecting...','connected':_0x22d051(0x1b9),'failed':_0x22d051(0x1b6),'retrying':_0x22d051(0x1a8),'unknown':_0x22d051(0x1c6),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x22d051(0x19f),'networkError':_0x22d051(0x1a7),'maxRetriesExceeded':_0x22d051(0x1bc),'clickToConnect':_0x22d051(0x1ba),'clickToConfigure':_0x22d051(0x193)},'mcpConfig':{'title':_0x22d051(0x1a4),'description':_0x22d051(0x1bb),'apiKey':_0x22d051(0x1af),'apiKeyPlaceholder':_0x22d051(0x1b8),'apiKeyHint':_0x22d051(0x1b5),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x22d051(0x1a3),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x22d051(0x197),'configInstructions':_0x22d051(0x199),'configStepTitle':_0x22d051(0x1b4),'configStep1':_0x22d051(0x196),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x22d051(0x1bd),'sessionId':_0x22d051(0x1be),'sessionIdDescription':_0x22d051(0x19b),'authorizationDescription':_0x22d051(0x1b3),'configParameters':_0x22d051(0x1b7),'maxRetries':_0x22d051(0x1ab),'save':_0x22d051(0x1b2),'saving':_0x22d051(0x1c4),'note1':_0x22d051(0x1c0),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x22d051(0x19c),'configError':_0x22d051(0x1b0),'apiApplyInfo':{'title':_0x22d051(0x1aa),'description':_0x22d051(0x198),'univerAiLabel':_0x22d051(0x1ac),'getStarted':_0x22d051(0x1a5)},'validation':{'apiKeyRequired':_0x22d051(0x1ae),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x22d051(0x1a0),'connecting':_0x22d051(0x195),'connected':_0x22d051(0x194),'failed':'Connection\x20Failed','retrying':_0x22d051(0x1bf)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x22d051(0x1c2),'maxRetriesExceeded':_0x22d051(0x1c5)}}},n=e;export{n as default};function _0x3288(){const _0x1fe24b=['Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','100JFqTib','Saving...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Click\x20to\x20configure\x20MCP','Connected','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','4146342QTskli','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20saved\x20successfully','968958VaZjzq','127220ZxEaWO','MCP:\x20Session\x20ID\x20Occupied','Disconnected','989132nwPrBa','355036zqmSVM','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','5418644kOghQG','MCP:\x20Network\x20Error','MCP\x20Retrying...','MCP\x20Disconnected','What\x20is\x20API\x20Key?','Max\x20Retries','Univer\x20AI\x20Console','15588230hAkTuz','API\x20key\x20is\x20required','API\x20Key','Failed\x20to\x20save\x20configuration','32eyLNRX','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connection\x20Failed','Configuration\x20Parameters:','Enter\x20your\x20API\x20key','MCP\x20Connected','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','3ukTzgc'];_0x3288=function(){return _0x1fe24b;};return _0x3288();}
1
+ const _0x1f0279=_0x4204;(function(_0xa9d110,_0x5f4df2){const _0x1add29=_0x4204,_0x4decc1=_0xa9d110();while(!![]){try{const _0x4e60eb=parseInt(_0x1add29(0xfc))/0x1*(parseInt(_0x1add29(0x122))/0x2)+-parseInt(_0x1add29(0x124))/0x3*(-parseInt(_0x1add29(0xf6))/0x4)+parseInt(_0x1add29(0x10d))/0x5*(-parseInt(_0x1add29(0x112))/0x6)+parseInt(_0x1add29(0x103))/0x7+parseInt(_0x1add29(0x114))/0x8*(-parseInt(_0x1add29(0x111))/0x9)+parseInt(_0x1add29(0x116))/0xa+-parseInt(_0x1add29(0x123))/0xb;if(_0x4e60eb===_0x5f4df2)break;else _0x4decc1['push'](_0x4decc1['shift']());}catch(_0x5e52fa){_0x4decc1['push'](_0x4decc1['shift']());}}}(_0x4080,0xc0f24));function _0x4204(_0x289f4a,_0x2122c4){const _0x408005=_0x4080();return _0x4204=function(_0x4204c2,_0xf010ce){_0x4204c2=_0x4204c2-0xf3;let _0x5a0ef5=_0x408005[_0x4204c2];return _0x5a0ef5;},_0x4204(_0x289f4a,_0x2122c4);}function _0x4080(){const _0x3ef51a=['1pXPVSY','What\x20is\x20API\x20Key?','MCP\x20Disconnected','Session\x20ID','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','9705178mFXUtI','MCP:\x20Unauthorized','MCP:\x20Session\x20ID\x20Occupied','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','5027945fCPFCU','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','Save\x20Configuration','39141KFrTmu','6ysyBqH','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1448xArLBR','MCP\x20Configuration','1958730sJKIEk','Configuration\x20Steps:','MCP\x20Unknown\x20Status','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','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.','Univer\x20AI\x20Console','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','Enable\x20Authentication','1355602zNDRlT','10233674KOpSee','1879908HJFdbc','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connecting...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Disconnected','MCP\x20Connection\x20Failed','8danYaC','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20configuration','API\x20key\x20is\x20required'];_0x4080=function(){return _0x3ef51a;};return _0x4080();}const e={'mcpStatus':{'disconnected':_0x1f0279(0xfe),'connecting':_0x1f0279(0x126),'connected':_0x1f0279(0xf8),'failed':_0x1f0279(0xf5),'retrying':_0x1f0279(0x109),'unknown':_0x1f0279(0x118),'unauthorized':_0x1f0279(0x104),'sessionOccupied':_0x1f0279(0x105),'networkError':_0x1f0279(0x102),'maxRetriesExceeded':_0x1f0279(0x11a),'clickToConnect':_0x1f0279(0x10a),'clickToConfigure':_0x1f0279(0x120)},'mcpConfig':{'title':_0x1f0279(0x115),'description':_0x1f0279(0xf7),'apiKey':_0x1f0279(0x11b),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1f0279(0xf9),'enableAuth':_0x1f0279(0x121),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x1f0279(0x10f),'configInstructions':_0x1f0279(0xf3),'configStepTitle':_0x1f0279(0x117),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x1f0279(0x106),'sessionId':_0x1f0279(0xff),'sessionIdDescription':_0x1f0279(0x113),'authorizationDescription':_0x1f0279(0x100),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x1f0279(0x119),'save':_0x1f0279(0x110),'saving':'Saving...','note1':_0x1f0279(0x125),'note2':_0x1f0279(0x101),'configSaved':_0x1f0279(0x11f),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x1f0279(0xfd),'description':_0x1f0279(0x11d),'univerAiLabel':_0x1f0279(0x11e),'getStarted':_0x1f0279(0x108)},'validation':{'apiKeyRequired':_0x1f0279(0xfb),'apiKeyTooShort':_0x1f0279(0x10e),'invalidConfig':_0x1f0279(0xfa),'invalidApiKey':_0x1f0279(0x10c)},'connectionStatus':{'disconnected':_0x1f0279(0xf4),'connecting':'Connecting...','connected':'Connected','failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1f0279(0x11c),'networkError':_0x1f0279(0x107),'maxRetriesExceeded':_0x1f0279(0x10b)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- function _0x22c8(){const _0x343201=['Max\x20Retries','API\x20Key','130WfLsqr','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Client\x20Configuration','18725Phswdv','API\x20key\x20with\x20Bearer\x20prefix.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connection\x20Failed','MCP\x20Unknown\x20Status','3347712JVQWTn','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3279221hLMMRL','API\x20key\x20is\x20required','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','MCP:\x20Network\x20Error','MCP\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','2810992mvArWz','1803730vpjAxw','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','Save\x20Configuration','1ZzUgBS','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Parameters:','Connecting...','Failed\x20to\x20save\x20configuration','Enter\x20your\x20API\x20key','Retrying...','2334LNzHgn','MCP:\x20Unauthorized','3518019uhuLVo','MCP:\x20Session\x20ID\x20Occupied','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','Disconnected','Univer\x20AI\x20Console','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','18WgrrOW','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1340650PBBITU'];_0x22c8=function(){return _0x343201;};return _0x22c8();}function _0x5272(_0x181f10,_0x2f8ea4){const _0x22c8da=_0x22c8();return _0x5272=function(_0x52727d,_0x59ec23){_0x52727d=_0x52727d-0x1ee;let _0xd5dc3c=_0x22c8da[_0x52727d];return _0xd5dc3c;},_0x5272(_0x181f10,_0x2f8ea4);}const _0x5a6927=_0x5272;(function(_0x566443,_0x927379){const _0xdd3dca=_0x5272,_0x4f2e77=_0x566443();while(!![]){try{const _0x35f8f9=-parseInt(_0xdd3dca(0x200))/0x1*(parseInt(_0xdd3dca(0x1f9))/0x2)+-parseInt(_0xdd3dca(0x20a))/0x3+parseInt(_0xdd3dca(0x21f))/0x4+-parseInt(_0xdd3dca(0x214))/0x5+parseInt(_0xdd3dca(0x208))/0x6*(-parseInt(_0xdd3dca(0x21a))/0x7)+parseInt(_0xdd3dca(0x1f8))/0x8*(-parseInt(_0xdd3dca(0x211))/0x9)+-parseInt(_0xdd3dca(0x217))/0xa*(-parseInt(_0xdd3dca(0x1ef))/0xb);if(_0x35f8f9===_0x927379)break;else _0x4f2e77['push'](_0x4f2e77['shift']());}catch(_0x58b282){_0x4f2e77['push'](_0x4f2e77['shift']());}}}(_0x22c8,0x98ecc));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5a6927(0x1f2),'connected':'MCP\x20Connected','failed':_0x5a6927(0x1fe),'retrying':_0x5a6927(0x1f7),'unknown':_0x5a6927(0x21e),'unauthorized':_0x5a6927(0x209),'sessionOccupied':_0x5a6927(0x20b),'networkError':_0x5a6927(0x1f3),'maxRetriesExceeded':_0x5a6927(0x1f6),'clickToConnect':_0x5a6927(0x1fb),'clickToConfigure':_0x5a6927(0x1f1)},'mcpConfig':{'title':_0x5a6927(0x1f4),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5a6927(0x216),'apiKeyPlaceholder':_0x5a6927(0x206),'apiKeyHint':_0x5a6927(0x1ee),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5a6927(0x219),'mcpClientConfig':_0x5a6927(0x219),'configInstructions':_0x5a6927(0x220),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5a6927(0x218),'configStep3':_0x5a6927(0x21c),'sessionId':_0x5a6927(0x1fc),'sessionIdDescription':_0x5a6927(0x210),'authorizationDescription':_0x5a6927(0x21b),'configParameters':_0x5a6927(0x203),'maxRetries':_0x5a6927(0x215),'save':_0x5a6927(0x1ff),'saving':'Saving...','note1':_0x5a6927(0x213),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x5a6927(0x205),'apiApplyInfo':{'title':_0x5a6927(0x20c),'description':_0x5a6927(0x1fa),'univerAiLabel':_0x5a6927(0x20f),'getStarted':_0x5a6927(0x20d)},'validation':{'apiKeyRequired':_0x5a6927(0x1f0),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5a6927(0x212),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x5a6927(0x20e),'connecting':_0x5a6927(0x204),'connected':_0x5a6927(0x201),'failed':_0x5a6927(0x21d),'retrying':_0x5a6927(0x207)},'connectionError':{'unauthorized':_0x5a6927(0x1f5),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5a6927(0x202),'maxRetriesExceeded':_0x5a6927(0x1fd)}}},n=e;export{n as default};
1
+ function _0x3808(){const _0x5d50c8=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Max\x20Retries\x20Exceeded','405BJSiRe','Disconnected','Configuration\x20saved\x20successfully','1395933Lbkiyb','Retrying...','1163835GiKRpL','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session\x20ID','Connecting...','MCP\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20Key','MCP:\x20Unauthorized','93438SAEWdH','3407376DhfQMd','API\x20key\x20is\x20required','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','Max\x20Retries','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','423712XADfMz','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','3258620vPbYNq','44347632hEzMCT','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Univer\x20AI\x20Console','Click\x20to\x20configure\x20MCP','MCP\x20Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20with\x20Bearer\x20prefix.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','Configuration\x20Steps:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connected'];_0x3808=function(){return _0x5d50c8;};return _0x3808();}const _0x16f976=_0x5140;(function(_0x45de44,_0x9c4fa3){const _0x43a0c=_0x5140,_0x1c213b=_0x45de44();while(!![]){try{const _0x5b39f2=-parseInt(_0x43a0c(0xfa))/0x1+-parseInt(_0x43a0c(0xe0))/0x2+-parseInt(_0x43a0c(0x103))/0x3+-parseInt(_0x43a0c(0xe2))/0x4+-parseInt(_0x43a0c(0xf5))/0x5*(parseInt(_0x43a0c(0x102))/0x6)+-parseInt(_0x43a0c(0xf8))/0x7+parseInt(_0x43a0c(0xe3))/0x8;if(_0x5b39f2===_0x9c4fa3)break;else _0x1c213b['push'](_0x1c213b['shift']());}catch(_0x3c235a){_0x1c213b['push'](_0x1c213b['shift']());}}}(_0x3808,0xb8b04));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x16f976(0xf2),'failed':'MCP\x20Connection\x20Failed','retrying':_0x16f976(0xe8),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x16f976(0x101),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x16f976(0xef),'maxRetriesExceeded':_0x16f976(0xf4),'clickToConnect':_0x16f976(0xdf),'clickToConfigure':_0x16f976(0xe7)},'mcpConfig':{'title':_0x16f976(0xfe),'description':_0x16f976(0x107),'apiKey':_0x16f976(0x100),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x16f976(0xe9),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x16f976(0xe5),'connectionInfo':_0x16f976(0xde),'mcpClientConfig':_0x16f976(0xde),'configInstructions':_0x16f976(0x108),'configStepTitle':_0x16f976(0xf0),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x16f976(0x106),'sessionId':_0x16f976(0xfc),'sessionIdDescription':_0x16f976(0xeb),'authorizationDescription':_0x16f976(0xea),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x16f976(0x10a),'save':_0x16f976(0x109),'saving':_0x16f976(0xdd),'note1':_0x16f976(0xe1),'note2':_0x16f976(0xed),'configSaved':_0x16f976(0xf7),'configError':_0x16f976(0xe4),'apiApplyInfo':{'title':_0x16f976(0xec),'description':_0x16f976(0x10b),'univerAiLabel':_0x16f976(0xe6),'getStarted':_0x16f976(0xff)},'validation':{'apiKeyRequired':_0x16f976(0x104),'apiKeyTooShort':_0x16f976(0xfb),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x16f976(0xf3)},'connectionStatus':{'disconnected':_0x16f976(0xf6),'connecting':_0x16f976(0xfd),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x16f976(0xf9)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x16f976(0xf1),'networkError':_0x16f976(0x105),'maxRetriesExceeded':_0x16f976(0xee)}}},n=e;function _0x5140(_0x11442d,_0x85f7f1){const _0x3808ae=_0x3808();return _0x5140=function(_0x51409d,_0xd01f15){_0x51409d=_0x51409d-0xdd;let _0x412f99=_0x3808ae[_0x51409d];return _0x412f99;},_0x5140(_0x11442d,_0x85f7f1);}export{n as default};
@@ -1 +1 @@
1
- function _0x5ab3(_0x1e8397,_0x5de135){const _0x4beba6=_0x4beb();return _0x5ab3=function(_0x5ab3a0,_0x3545ed){_0x5ab3a0=_0x5ab3a0-0x168;let _0x480d21=_0x4beba6[_0x5ab3a0];return _0x480d21;},_0x5ab3(_0x1e8397,_0x5de135);}const _0x118023=_0x5ab3;(function(_0xcec824,_0x4dbe94){const _0x146493=_0x5ab3,_0x55994b=_0xcec824();while(!![]){try{const _0x48aba9=parseInt(_0x146493(0x17d))/0x1+parseInt(_0x146493(0x17f))/0x2*(parseInt(_0x146493(0x17c))/0x3)+-parseInt(_0x146493(0x190))/0x4*(parseInt(_0x146493(0x199))/0x5)+-parseInt(_0x146493(0x16c))/0x6+-parseInt(_0x146493(0x176))/0x7*(-parseInt(_0x146493(0x179))/0x8)+parseInt(_0x146493(0x173))/0x9*(-parseInt(_0x146493(0x16d))/0xa)+parseInt(_0x146493(0x18f))/0xb;if(_0x48aba9===_0x4dbe94)break;else _0x55994b['push'](_0x55994b['shift']());}catch(_0x45f0ff){_0x55994b['push'](_0x55994b['shift']());}}}(_0x4beb,0x4caa7));function _0x4beb(){const _0x70e1c3=['什么是\x20API\x20密钥?','配置保存失败','配置\x20MCP\x20使用\x20AI\x20操作电子表格','几秒钟内获取您的\x20API\x20密钥','请输入您的\x20API\x20密钥','3511362aicXWj','321280xPukhu','启用身份验证','MCP\x20连接中...','MCP:\x20超出最大重试次数','重连中...','您的\x20API\x20密钥将在此浏览器中本地存储','162NnOaew','配置保存成功','配置无效','13538ZvqOsJ','MCP\x20客户端配置','保存配置','712Hqbzez','MCP\x20配置','MCP\x20连接失败','15213QPJVJo','495554zCFtjm','Univer\x20AI\x20控制台','46AbLRdG','连接中...','配置参数:','带有\x20Bearer\x20前缀的\x20API\x20密钥。','会话\x20ID\x20已被占用,请稍后再试','网络连接错误,请检查您的网络连接','会话ID','MCP:\x20未授权','MCP\x20状态未知','保存中...','启用身份验证以获得安全连接','API\x20密钥无效,请检查密钥是否正确','已连接','API\x20密钥','配置步骤:','连接失败','14253844ZRMxiI','4qkRXHU','复制以下\x20JSON\x20配置','最大重试次数','MCP\x20重连中...','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','权限验证失败,请检查您的\x20API\x20密钥','配置更改将立即生效','MCP\x20已连接','3012815mNhFAD','重启您的\x20MCP\x20客户端以使配置生效','API\x20密钥不能为空','MCP:\x20会话\x20ID\x20已被占用','点击连接\x20MCP'];_0x4beb=function(){return _0x70e1c3;};return _0x4beb();}const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x118023(0x16f),'connected':_0x118023(0x198),'failed':_0x118023(0x17b),'retrying':_0x118023(0x193),'unknown':_0x118023(0x187),'unauthorized':_0x118023(0x186),'sessionOccupied':_0x118023(0x19c),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x118023(0x170),'clickToConnect':_0x118023(0x19d),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x118023(0x17a),'description':_0x118023(0x169),'apiKey':_0x118023(0x18c),'apiKeyPlaceholder':_0x118023(0x16b),'apiKeyHint':_0x118023(0x172),'enableAuth':_0x118023(0x16e),'enableAuthHint':_0x118023(0x189),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x118023(0x177),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x118023(0x18d),'configStep1':_0x118023(0x191),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x118023(0x19a),'sessionId':_0x118023(0x185),'sessionIdDescription':_0x118023(0x194),'authorizationDescription':_0x118023(0x182),'configParameters':_0x118023(0x181),'maxRetries':_0x118023(0x192),'save':_0x118023(0x178),'saving':_0x118023(0x188),'note1':_0x118023(0x197),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x118023(0x174),'configError':_0x118023(0x168),'apiApplyInfo':{'title':_0x118023(0x19e),'description':_0x118023(0x195),'univerAiLabel':_0x118023(0x17e),'getStarted':_0x118023(0x16a)},'validation':{'apiKeyRequired':_0x118023(0x19b),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x118023(0x175),'invalidApiKey':_0x118023(0x18a)},'connectionStatus':{'disconnected':'未连接','connecting':_0x118023(0x180),'connected':_0x118023(0x18b),'failed':_0x118023(0x18e),'retrying':_0x118023(0x171)},'connectionError':{'unauthorized':_0x118023(0x196),'sessionOccupied':_0x118023(0x183),'networkError':_0x118023(0x184),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};export{e as default};
1
+ function _0x151a(_0x12aede,_0x4da62c){const _0xea4f9=_0xea4f();return _0x151a=function(_0x151ab1,_0x2ba3ab){_0x151ab1=_0x151ab1-0xa8;let _0x5239ec=_0xea4f9[_0x151ab1];return _0x5239ec;},_0x151a(_0x12aede,_0x4da62c);}const _0x2e7cea=_0x151a;(function(_0x58fb9b,_0x345145){const _0x512d36=_0x151a,_0x1eef26=_0x58fb9b();while(!![]){try{const _0x1733c5=-parseInt(_0x512d36(0xc0))/0x1+-parseInt(_0x512d36(0xb1))/0x2+parseInt(_0x512d36(0xaa))/0x3+parseInt(_0x512d36(0xd2))/0x4*(-parseInt(_0x512d36(0xd0))/0x5)+-parseInt(_0x512d36(0xce))/0x6+parseInt(_0x512d36(0xab))/0x7*(parseInt(_0x512d36(0xc8))/0x8)+parseInt(_0x512d36(0xbb))/0x9*(parseInt(_0x512d36(0xb8))/0xa);if(_0x1733c5===_0x345145)break;else _0x1eef26['push'](_0x1eef26['shift']());}catch(_0x4778f0){_0x1eef26['push'](_0x1eef26['shift']());}}}(_0xea4f,0xb8fd0));const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0x2e7cea(0xbc),'failed':'MCP\x20连接失败','retrying':_0x2e7cea(0xcd),'unknown':_0x2e7cea(0xc4),'unauthorized':_0x2e7cea(0xbf),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x2e7cea(0xb0),'clickToConfigure':_0x2e7cea(0xd6)},'mcpConfig':{'title':_0x2e7cea(0xd3),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x2e7cea(0xcc),'apiKeyPlaceholder':_0x2e7cea(0xc7),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x2e7cea(0xaf),'enableAuthHint':_0x2e7cea(0xc5),'connectionInfo':_0x2e7cea(0xb4),'mcpClientConfig':_0x2e7cea(0xb4),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x2e7cea(0xd8),'configStep1':_0x2e7cea(0xd4),'configStep2':_0x2e7cea(0xcf),'configStep3':_0x2e7cea(0xb7),'sessionId':_0x2e7cea(0xca),'sessionIdDescription':_0x2e7cea(0xac),'authorizationDescription':_0x2e7cea(0xc6),'configParameters':_0x2e7cea(0xb5),'maxRetries':'最大重试次数','save':_0x2e7cea(0xbd),'saving':'保存中...','note1':_0x2e7cea(0xae),'note2':_0x2e7cea(0xb3),'configSaved':_0x2e7cea(0xad),'configError':_0x2e7cea(0xc3),'apiApplyInfo':{'title':_0x2e7cea(0xc9),'description':_0x2e7cea(0xbe),'univerAiLabel':_0x2e7cea(0xcb),'getStarted':_0x2e7cea(0xd7)},'validation':{'apiKeyRequired':_0x2e7cea(0xd5),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x2e7cea(0xb2)},'connectionStatus':{'disconnected':_0x2e7cea(0xba),'connecting':_0x2e7cea(0xa9),'connected':_0x2e7cea(0xa8),'failed':_0x2e7cea(0xb9),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x2e7cea(0xc1),'sessionOccupied':_0x2e7cea(0xb6),'networkError':_0x2e7cea(0xd1),'maxRetriesExceeded':_0x2e7cea(0xc2)}}};export{e as default};function _0xea4f(){const _0x2b0cc6=['82557QvmQJQ','MCP\x20已连接','保存配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP:\x20未授权','1049472offANl','权限验证失败,请检查您的\x20API\x20密钥','超出最大重试次数,请稍后再试','配置保存失败','MCP\x20状态未知','启用身份验证以获得安全连接','带有\x20Bearer\x20前缀的\x20API\x20密钥。','请输入您的\x20API\x20密钥','335432amEmqg','什么是\x20API\x20密钥?','会话ID','Univer\x20AI\x20控制台','API\x20密钥','MCP\x20重连中...','4288884ntmkks','将配置添加到您的\x20MCP\x20客户端设置文件中','20qNyylO','网络连接错误,请检查您的网络连接','1127212RbZRPG','MCP\x20配置','复制以下\x20JSON\x20配置','API\x20密钥不能为空','点击配置\x20MCP','几秒钟内获取您的\x20API\x20密钥','配置步骤:','已连接','连接中...','161607UYNjbc','196jnmlTI','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置保存成功','配置更改将立即生效','启用身份验证','点击连接\x20MCP','2330628ufXEjM','API\x20密钥无效,请检查密钥是否正确','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20客户端配置','配置参数:','会话\x20ID\x20已被占用,请稍后再试','重启您的\x20MCP\x20客户端以使配置生效','3910yAdRbK','连接失败','未连接'];_0xea4f=function(){return _0x2b0cc6;};return _0xea4f();}
@@ -1 +1 @@
1
- function _0x1a3a(){const _0x268bc9=['588224SACFDx','867027BlFPUh','Univer\x20AI\x20Console','Saving...','31856DUdZRC','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Parameters:','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Client\x20Configuration','API\x20Key','Max\x20Retries','MCP\x20Connection\x20Failed','Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','1047Ccegfi','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2528365eRsgSR','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connected','9096072iwUHiJ','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','5121522aCesnR','Enable\x20Authentication','MCP:\x20Session\x20ID\x20Occupied','4790ZRMEwv','MCP:\x20Unauthorized','MCP\x20Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x1a3a=function(){return _0x268bc9;};return _0x1a3a();}const _0x4bd2e9=_0xd892;function _0xd892(_0x38811c,_0x38cf88){const _0x1a3a1e=_0x1a3a();return _0xd892=function(_0xd89208,_0x32be9b){_0xd89208=_0xd89208-0x19b;let _0x20db0d=_0x1a3a1e[_0xd89208];return _0x20db0d;},_0xd892(_0x38811c,_0x38cf88);}(function(_0x57b7d6,_0x941395){const _0x4b5c16=_0xd892,_0xdbe217=_0x57b7d6();while(!![]){try{const _0x1ec32e=-parseInt(_0x4b5c16(0x1b1))/0x1+-parseInt(_0x4b5c16(0x1a9))/0x2*(-parseInt(_0x4b5c16(0x1bf))/0x3)+-parseInt(_0x4b5c16(0x1ad))/0x4+-parseInt(_0x4b5c16(0x19d))/0x5+-parseInt(_0x4b5c16(0x1a6))/0x6+parseInt(_0x4b5c16(0x1ae))/0x7+parseInt(_0x4b5c16(0x1a4))/0x8;if(_0x1ec32e===_0x941395)break;else _0xdbe217['push'](_0xdbe217['shift']());}catch(_0x135bcf){_0xdbe217['push'](_0xdbe217['shift']());}}}(_0x1a3a,0x885d9));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4bd2e9(0x1a3),'failed':_0x4bd2e9(0x1ba),'retrying':_0x4bd2e9(0x1ab),'unknown':_0x4bd2e9(0x19b),'unauthorized':_0x4bd2e9(0x1aa),'sessionOccupied':_0x4bd2e9(0x1a8),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4bd2e9(0x1be),'description':_0x4bd2e9(0x1c5),'apiKey':_0x4bd2e9(0x1b8),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4bd2e9(0x1c1),'enableAuth':_0x4bd2e9(0x1a7),'enableAuthHint':_0x4bd2e9(0x1a0),'connectionInfo':_0x4bd2e9(0x1b7),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4bd2e9(0x1c2),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4bd2e9(0x1a5),'sessionId':_0x4bd2e9(0x1b4),'sessionIdDescription':_0x4bd2e9(0x1c3),'authorizationDescription':_0x4bd2e9(0x1bd),'configParameters':_0x4bd2e9(0x1b3),'maxRetries':_0x4bd2e9(0x1b9),'save':_0x4bd2e9(0x1a1),'saving':_0x4bd2e9(0x1b0),'note1':_0x4bd2e9(0x19c),'note2':_0x4bd2e9(0x1a2),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4bd2e9(0x1b6),'univerAiLabel':_0x4bd2e9(0x1af),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4bd2e9(0x1c6),'apiKeyTooShort':_0x4bd2e9(0x1b5),'invalidConfig':_0x4bd2e9(0x1c0),'invalidApiKey':_0x4bd2e9(0x1c4)},'connectionStatus':{'disconnected':_0x4bd2e9(0x1bb),'connecting':'Connecting...','connected':'Connected','failed':_0x4bd2e9(0x19f),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x4bd2e9(0x1bc),'sessionOccupied':_0x4bd2e9(0x1ac),'networkError':_0x4bd2e9(0x1b2),'maxRetriesExceeded':_0x4bd2e9(0x19e)}}},n=e;export{n as default};
1
+ const _0x250a09=_0x5d1f;(function(_0xd8cf23,_0x569712){const _0x11a272=_0x5d1f,_0x334bca=_0xd8cf23();while(!![]){try{const _0x810490=parseInt(_0x11a272(0x10a))/0x1+parseInt(_0x11a272(0x102))/0x2*(-parseInt(_0x11a272(0x114))/0x3)+parseInt(_0x11a272(0x109))/0x4+parseInt(_0x11a272(0xf7))/0x5+-parseInt(_0x11a272(0xf5))/0x6*(-parseInt(_0x11a272(0x104))/0x7)+parseInt(_0x11a272(0x125))/0x8*(parseInt(_0x11a272(0x11e))/0x9)+-parseInt(_0x11a272(0x11d))/0xa*(parseInt(_0x11a272(0x11a))/0xb);if(_0x810490===_0x569712)break;else _0x334bca['push'](_0x334bca['shift']());}catch(_0x4b4b80){_0x334bca['push'](_0x334bca['shift']());}}}(_0x35d3,0xecd15));function _0x35d3(){const _0x5db1fa=['API\x20Key','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Unknown\x20Status','6oYCFMP','Enable\x20Authentication','4718695kiNLdR','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.','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Configuration','MCP\x20Connection\x20Failed','Retrying...','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enable\x20authentication\x20for\x20secure\x20connections','1671354pVCBVG','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','5998811pGLWDZ','Saving...','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','4924928OfDUKM','1891006goZAeM','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','What\x20is\x20API\x20Key?','MCP:\x20Network\x20Error','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connecting...','MCP\x20Retrying...','MCP\x20Connected','6eGUfjK','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20connect\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Save\x20Configuration','66eevlsl','Configuration\x20Steps:','Max\x20Retries','6465080vRjNox','14377113sjhFSq','Connection\x20Failed','API\x20key\x20is\x20required','MCP:\x20Unauthorized','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','8yBAxvW'];_0x35d3=function(){return _0x5db1fa;};return _0x35d3();}const e={'mcpStatus':{'disconnected':_0x250a09(0x10e),'connecting':_0x250a09(0x111),'connected':_0x250a09(0x113),'failed':_0x250a09(0xfc),'retrying':_0x250a09(0x112),'unknown':_0x250a09(0xf4),'unauthorized':_0x250a09(0x121),'sessionOccupied':_0x250a09(0x124),'networkError':_0x250a09(0x10d),'maxRetriesExceeded':_0x250a09(0x118),'clickToConnect':_0x250a09(0x117),'clickToConfigure':_0x250a09(0x10f)},'mcpConfig':{'title':_0x250a09(0xfb),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x250a09(0xf2),'apiKeyPlaceholder':_0x250a09(0x107),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x250a09(0xf6),'enableAuthHint':_0x250a09(0x101),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x250a09(0x100),'configStepTitle':_0x250a09(0x11b),'configStep1':_0x250a09(0xfa),'configStep2':_0x250a09(0x10b),'configStep3':_0x250a09(0x108),'sessionId':'Session\x20ID','sessionIdDescription':_0x250a09(0xf9),'authorizationDescription':_0x250a09(0xf3),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x250a09(0x11c),'save':_0x250a09(0x119),'saving':_0x250a09(0x105),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x250a09(0x116),'configSaved':_0x250a09(0xf8),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x250a09(0x10c),'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':_0x250a09(0x106),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x250a09(0x120),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x250a09(0xfe),'invalidApiKey':_0x250a09(0x103)},'connectionStatus':{'disconnected':_0x250a09(0x115),'connecting':'Connecting...','connected':_0x250a09(0x122),'failed':_0x250a09(0x11f),'retrying':_0x250a09(0xfd)},'connectionError':{'unauthorized':_0x250a09(0xff),'sessionOccupied':_0x250a09(0x110),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x250a09(0x123)}}},n=e;function _0x5d1f(_0x3e5a68,_0x4fd2d3){const _0x35d3b8=_0x35d3();return _0x5d1f=function(_0x5d1f46,_0xe73cc8){_0x5d1f46=_0x5d1f46-0xf2;let _0x50cba2=_0x35d3b8[_0x5d1f46];return _0x50cba2;},_0x5d1f(_0x3e5a68,_0x4fd2d3);}export{n as default};
@@ -0,0 +1,3 @@
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xfaa3(){const _0x532b40=['merge','showStatus','mcpConfig.configStep1','ComponentManager','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','has','univer-space-y-3','请输入您的\x20API\x20密钥','Univer\x20AI\x20Console','将以下配置添加到您的\x20MCP\x20客户端设置中:','CommandType','colorChannel1','univer-text-gray-500','mcpConfig.configParameters','mcpConfig.configError','attrs','on-line-icon','button','FAILED','clipPath','createElement','connectionStatus$','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCPConfigPanel','getCurrentConfig','_handleConfigure','getItem','univer-text-sm\x20univer-font-medium','open','_connectionController','UniverUi','启用身份验证以获得安全连接','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_mcpCoreConfig$','_apiKey$','4393314dHRaqD','MCP\x20已连接','Error','univer-flex\x20univer-items-center\x20univer-gap-2','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCPConnectionUIController','https://console.univer.ai','MCP\x20连接失败','mcp-config-dialog','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcp-ui.command.openConfigPanel','mcpStatus.disconnected','symbol','mcpConfig.connectionStatus.failed','off-line-icon_clip0_910_343','8yqqMGp','on-line-icon_clip0_910_349','MAX_RETRIES_EXCEEDED','2688160hFnCMr','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','What\x20is\x20API\x20Key?','API\x20密钥不能为空','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','\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','showConfigPanel','BehaviorSubject','LocaleService','重连中...','1em','univer-shrink-0\x20univer-text-red-500','pre','MCP\x20Configuration','path','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_localeService','启用身份验证','会话ID','_validateConfig','UniverMCPPlugin','Connecting...','CheckMarkIcon','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','forEach','_localStorageService','univer.plus','getOwnPropertyDescriptor','API\x20Key','univer-bg-gray-500','useDependency','mcpConfig.connectionError.maxRetriesExceeded','Get\x20your\x20API\x20key\x20in\x20seconds','COMMAND','mcpConfig.configSaved','10eGVIGc','MCP_UI_PLUGIN','get','未连接','<SESSION_ID>','_initStatusComponent','univer-text-sm\x20univer-text-gray-500','1zCGKVq','univer-space-y-2','bottom','mcpConfig.note1','mcpConfig.connectionStatus.connecting','Injector','mcpStatus.clickToConfigure','带有\x20Bearer\x20前缀的\x20API\x20密钥。','http://www.w3.org/2000/svg','Max\x20Retries','mcpConfig.validation.apiKeyTooShort','xlink:href','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','UNAUTHORIZED','保存配置','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.connectionStatus.retrying','currentColor','DependentOn','MenuIcon','0\x200\x2016\x2016','<API_KEY>','amd','mcpConfig.title','会话\x20ID\x20已被占用,请稍后再试','OffLineIcon','_commandService','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','配置步骤:','Failed\x20to\x20save\x20configuration','MCP\x20状态未知','warn','univer-bg-red-500','subscribe','url(#on-line-icon_clip0_910_349)','univer-flex-1','univer-text-blue-600','mcpStatus.maxRetriesExceeded','点击配置\x20MCP','UniverNetwork','Input','您的\x20API\x20密钥安全存储在本地存储中','https://mcp.univer.ai/mcp/?univer_session_id=','MCP\x20重连中...','MCPUIMenuController','MCPConnectionStatus','_handleConfigSave','defIds','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','exports','8599401JtvhTB','toStringTag','defs','substring','UniverIcon','univer-text-green-500','_logService','length','mcpConfig.saving','add','ICommandService','0\x200\x2017\x2016','mcpConfig.configStep3','_initializeCommands','配置无效','univer-text-xs\x20univer-text-gray-500','mcpConfig.configInstructions','round','MCP:\x20超出最大重试次数','univer-flex\x20univer-gap-3','defineProperty','@univerjs/core','errorMessage','_dialogService','MCP:\x20未授权','removeItem','clsx','BuiltInUIPart','random','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpStatus.connected','复制以下\x20JSON\x20配置','univer-flex\x20univer-items-center\x20univer-gap-3','MCP\x20Connecting...','ILogService','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.apiKeyPlaceholder','重启您的\x20MCP\x20客户端以使配置生效','span','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20Authentication','svg','MCP\x20Unknown\x20Status','配置保存成功','您的\x20API\x20密钥将在此浏览器中本地存储','object','univer-min-w-0\x20univer-flex-1','mcpConfig.connectionError.networkError','SESSION_ID_OCCUPIED','MCP\x20Retrying...','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer.ai','idSuffix','NONE','1551102DsRvtY','map','useRef','MCPConfigUIController','@univerjs/ui','_config$','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_loadStoredApiKey','UniverProMcp','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','IDialogService','ISocketService','Plugin','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','text','react/jsx-runtime','validateApiKey','配置保存失败','value','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','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-white','current','MCP:\x20Unauthorized','_loading$','网络连接错误,请检查您的网络连接','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','assign','ILocalStorageService','label','div','114132ZSvxXm','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','权限验证失败,请检查您的\x20API\x20密钥','Connection\x20Failed','RETRYING','CloseIcon','连接失败','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','BUTTON','getConfig','Inject','children','isValid','API\x20密钥无效,请检查密钥是否正确','API\x20密钥','mcpStatus.sessionOccupied','useObservable','univer-text-red-500','MessageType','IMessageService','fill','几秒钟内获取您的\x20API\x20密钥','Authorization:','Button','MenuItemType','next','10wiFUDP','mergeMenu','mcpStatus.connecting','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_initializeMenus','registerCommand','toString','Module','UniverMCPUIPlugin','register','mcp-ui.config','jsxs','translate(.97)','_registerComponent','_blank','_uiPartsService','IConfigService','Disconnected','close','MCP:\x20会话\x20ID\x20已被占用','@univerjs/network','__setCustomHeaders','setItem','mcpConfig.connectionInfo','mcpConfig.connectionStatus.disconnected','univer-size-2\x20univer-rounded-full','IMenuManagerService','MCPConnectionController','showDeveloperTools','mcpConfig.configStep2','error','MCP\x20Client\x20Configuration','mcpConfig.apiKey','MCP:\x20Network\x20Error','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','20519609zDOQEO','useCallback','apiKey','mcpServerUrl','univer-bg-blue-500','Saving...','Success','_injector','CONNECTED','entries','MCP\x20客户端配置','useState','check-mark-icon','close-icon','UniverDesign','_configService','@univerjs/design','mcpConfig.note2','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','_initConfigSync','mcpStatus.unknown','includes','none','_messageService','_menuManagerService','1343601EThoUV','mcpStatus.clickToConnect','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCP\x20配置','mcpConfig.connectionError.unauthorized','zhCN','\x20-\x20','M0\x200H16V16H0z','HEADER_MENU','CONNECTING','UniverProMcpUi','univer-space-y-4','mcpStatus.failed','_initAutoConnect','OpenMCPConfigPanelCommand','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','Tooltip','Click\x20to\x20connect\x20MCP','mcpConfig.save','tag','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Disposable','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','show','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpConfig.validation.invalidConfig','onStarting','_mcpConnectionController','mcpConfig.apiApplyInfo.univerAiLabel','univer-flex\x20univer-items-start\x20univer-gap-3','jsx','Invalid\x20configuration','Univer\x20AI\x20控制台','univer_session_id:','react','MCPConnectionError','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Parameters:','string','push','DISCONNECTED','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','univer-text-gray-400','@univerjs-pro/mcp','Connected','超出最大重试次数,请稍后再试','white','displayName','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','subscribeConfigValue$','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','sessionId$','univer-text-yellow-500','mcpStatus.unauthorized','连接中...','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','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','_config','univer-flex\x20univer-items-start\x20univer-gap-2','配置更改将立即生效','trim','NETWORK_ERROR','mcpConfig.apiKeyHint','mcpConfig.authorizationDescription','_componentManager','Bearer\x20','noopener\x20noreferrer','univer-flex\x20univer-items-center','Session\x20ID','mcpConfig.validation.invalidApiKey','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','_createConfigPanelComponent','forwardRef','disposeWithMe','mcpStatus.networkError','MCP_PLUGIN_CONFIG_KEY','connectInjector','WebSocketService','OnLineIcon','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','connectionError$','UniverCore','mcp.apiKey','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','HelpIcon','rxjs','MCP:\x20网络错误','off','React','RibbonStartGroup','mask','pluginName','use','什么是\x20API\x20密钥?','http','https://console.univer.plus','evenodd'];_0xfaa3=function(){return _0x532b40;};return _0xfaa3();}function _0x41a7(_0x541504,_0x38e3aa){const _0xfaa386=_0xfaa3();return _0x41a7=function(_0x41a75f,_0x32b381){_0x41a75f=_0x41a75f-0x199;let _0x1b6e1a=_0xfaa386[_0x41a75f];return _0x1b6e1a;},_0x41a7(_0x541504,_0x38e3aa);}(function(_0x477252,_0x3f9340){const _0x11c401=_0x41a7,_0x5266bf=_0x477252();while(!![]){try{const _0x3e2bc6=-parseInt(_0x11c401(0x25e))/0x1*(-parseInt(_0x11c401(0x2c6))/0x2)+-parseInt(_0x11c401(0x220))/0x3+parseInt(_0x11c401(0x232))/0x4+parseInt(_0x11c401(0x2ff))/0x5*(parseInt(_0x11c401(0x2e5))/0x6)+-parseInt(_0x11c401(0x19a))/0x7*(parseInt(_0x11c401(0x22f))/0x8)+-parseInt(_0x11c401(0x290))/0x9+-parseInt(_0x11c401(0x257))/0xa*(-parseInt(_0x11c401(0x322))/0xb);if(_0x3e2bc6===_0x3f9340)break;else _0x5266bf['push'](_0x5266bf['shift']());}catch(_0x2d8911){_0x5266bf['push'](_0x5266bf['shift']());}}}(_0xfaa3,0xb4770),function(_0x5875bd,_0x1bca27){const _0x2493b2=_0x41a7;typeof exports==_0x2493b2(0x2bd)&&typeof module<'u'?_0x1bca27(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define=='function'&&define[_0x2493b2(0x274)]?define([_0x2493b2(0x28f),_0x2493b2(0x2a5),_0x2493b2(0x2d5),_0x2493b2(0x1c6),_0x2493b2(0x332),_0x2493b2(0x2ca),_0x2493b2(0x1f1),_0x2493b2(0x1bd),_0x2493b2(0x313)],_0x1bca27):(_0x5875bd=typeof globalThis<'u'?globalThis:_0x5875bd||self,_0x1bca27(_0x5875bd[_0x2493b2(0x1a4)]={},_0x5875bd[_0x2493b2(0x1ed)],_0x5875bd['React'],_0x5875bd[_0x2493b2(0x2ce)],_0x5875bd[_0x2493b2(0x330)],_0x5875bd[_0x2493b2(0x21b)],_0x5875bd[_0x2493b2(0x1f1)],_0x5875bd[_0x2493b2(0x1f4)],_0x5875bd[_0x2493b2(0x285)]));}(this,function(_0x1764fb,_0x59774c,_0x3caf40,_0x526990,_0x19ed03,_0x193043,_0x3a8d92,_0x3bb5c1,_0x44f18e){'use strict';const _0x30c379=_0x41a7;var _0x420ea0=Object[_0x30c379(0x2a4)],_0x38572c=(_0x59fcb6,_0x5f1a18,_0x34f0dc)=>_0x5f1a18 in _0x59fcb6?_0x420ea0(_0x59fcb6,_0x5f1a18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34f0dc}):_0x59fcb6[_0x5f1a18]=_0x34f0dc,_0x1c3207=(_0xb278d7,_0x2fcf74,_0xa61dc2)=>_0x38572c(_0xb278d7,typeof _0x2fcf74!=_0x30c379(0x22c)?_0x2fcf74+'':_0x2fcf74,_0xa61dc2);function _0x3decbc({ref:_0xd2edb5,..._0x9b601d}){const _0x229005=_0x30c379,{icon:_0x840515,id:_0x27beb9,className:_0x22fffa,extend:_0x2a5109,..._0x5010a7}=_0x9b601d,_0x223b88=('univerjs-icon\x20univerjs-icon-'+_0x27beb9+'\x20'+(_0x22fffa||''))[_0x229005(0x1d7)](),_0x4673fd=_0x3bb5c1[_0x229005(0x2c8)]('_'+_0x1abd08());return _0xae067a(_0x840515,''+_0x27beb9,{'defIds':_0x840515[_0x229005(0x28d)],'idSuffix':_0x4673fd[_0x229005(0x2dc)]},{'ref':_0xd2edb5,'className':_0x223b88,..._0x5010a7},_0x2a5109);}function _0xae067a(_0x5c945c,_0xe691a6,_0x27e317,_0x1b9e13,_0x553e35){const _0x4b489f=_0x30c379;return _0x3bb5c1[_0x4b489f(0x211)](_0x5c945c['tag'],{'key':_0xe691a6,..._0x16cc8c(_0x5c945c,_0x27e317,_0x553e35),..._0x1b9e13},(_0x4e359e(_0x5c945c,_0x27e317)[_0x4b489f(0x2f0)]||[])[_0x4b489f(0x2c7)]((_0x491dfe,_0x344185)=>_0xae067a(_0x491dfe,_0xe691a6+'-'+_0x5c945c[_0x4b489f(0x1ad)]+'-'+_0x344185,_0x27e317,void 0x0,_0x553e35)));}function _0x16cc8c(_0x3714a4,_0x365852,_0x2d48ce){const _0xfdcac2=_0x30c379,_0x11cae0={..._0x3714a4[_0xfdcac2(0x20c)]};_0x2d48ce!=null&&_0x2d48ce[_0xfdcac2(0x208)]&&_0x11cae0['fill']==='colorChannel1'&&(_0x11cae0[_0xfdcac2(0x2f9)]=_0x2d48ce[_0xfdcac2(0x208)]),_0x3714a4[_0xfdcac2(0x1ad)]===_0xfdcac2(0x1f6)&&_0x11cae0['id']&&(_0x11cae0['id']=_0x11cae0['id']+_0x365852[_0xfdcac2(0x2c4)]),Object[_0xfdcac2(0x32b)](_0x11cae0)[_0xfdcac2(0x24c)](([_0x4c6924,_0x4c4c77])=>{_0x4c6924==='mask'&&typeof _0x4c4c77=='string'&&(_0x11cae0[_0x4c6924]=_0x4c4c77['replace'](/url\(#(.*)\)/,'url(#$1'+_0x365852['idSuffix']+')'));});const {defIds:_0x77407b}=_0x365852;return!_0x77407b||_0x77407b[_0xfdcac2(0x297)]===0x0||(_0x3714a4[_0xfdcac2(0x1ad)]===_0xfdcac2(0x1f8)&&_0x11cae0[_0xfdcac2(0x269)]&&(_0x11cae0[_0xfdcac2(0x269)]=_0x11cae0[_0xfdcac2(0x269)]+_0x365852[_0xfdcac2(0x2c4)]),Object['entries'](_0x11cae0)[_0xfdcac2(0x24c)](([_0x567fbb,_0x2f68ab])=>{const _0x303040=_0xfdcac2;typeof _0x2f68ab==_0x303040(0x1c1)&&(_0x11cae0[_0x567fbb]=_0x2f68ab['replace'](/url\(#(.*)\)/,'url(#$1'+_0x365852[_0x303040(0x2c4)]+')'));})),_0x11cae0;}function _0x4e359e(_0x1d414c,_0x4c9f2c){const _0x4eea6b=_0x30c379;var _0x4e30e0;const {defIds:_0x3669a8}=_0x4c9f2c;return!_0x3669a8||_0x3669a8['length']===0x0?_0x1d414c:_0x1d414c[_0x4eea6b(0x1ad)]===_0x4eea6b(0x292)&&((_0x4e30e0=_0x1d414c[_0x4eea6b(0x2f0)])!=null&&_0x4e30e0[_0x4eea6b(0x297)])?{..._0x1d414c,'children':_0x1d414c[_0x4eea6b(0x2f0)]['map'](_0x15f7bf=>typeof _0x15f7bf[_0x4eea6b(0x20c)]['id']==_0x4eea6b(0x1c1)&&_0x3669a8&&_0x3669a8[_0x4eea6b(0x337)](_0x15f7bf[_0x4eea6b(0x20c)]['id'])?{..._0x15f7bf,'attrs':{..._0x15f7bf['attrs'],'id':_0x15f7bf[_0x4eea6b(0x20c)]['id']+_0x4c9f2c[_0x4eea6b(0x2c4)]}}:_0x15f7bf)}:_0x1d414c;}function _0x1abd08(){const _0x2cd2ca=_0x30c379;return Math[_0x2cd2ca(0x2ac)]()[_0x2cd2ca(0x305)](0x24)[_0x2cd2ca(0x293)](0x2,0x8);}_0x3decbc[_0x30c379(0x1ca)]=_0x30c379(0x294);const _0x24ee46={'tag':_0x30c379(0x2b9),'attrs':{'xmlns':_0x30c379(0x266),'fill':'none','viewBox':_0x30c379(0x272),'width':'1em','height':_0x30c379(0x23c)},'children':[{'tag':'path','attrs':{'fill':_0x30c379(0x26f),'d':_0x30c379(0x334),'fillRule':'evenodd','clipRule':_0x30c379(0x1fc)}}]},_0xbc09fe=_0x3bb5c1[_0x30c379(0x1e4)](function(_0x5f13c4,_0x412e19){const _0x2d6b2b=_0x30c379;return _0x3bb5c1[_0x2d6b2b(0x211)](_0x3decbc,Object[_0x2d6b2b(0x2e1)]({},_0x5f13c4,{'id':_0x2d6b2b(0x32e),'ref':_0x412e19,'icon':_0x24ee46}));});_0xbc09fe['displayName']=_0x30c379(0x248);const _0x3a0635={'tag':'svg','attrs':{'xmlns':_0x30c379(0x266),'fill':_0x30c379(0x338),'viewBox':_0x30c379(0x272),'width':_0x30c379(0x23c),'height':_0x30c379(0x23c)},'children':[{'tag':_0x30c379(0x240),'attrs':{'fill':_0x30c379(0x26f),'d':_0x30c379(0x233)}}]},_0x34e770=_0x3bb5c1['forwardRef'](function(_0x15add7,_0x285bd8){const _0x34ce5c=_0x30c379;return _0x3bb5c1[_0x34ce5c(0x211)](_0x3decbc,Object['assign']({},_0x15add7,{'id':_0x34ce5c(0x32f),'ref':_0x285bd8,'icon':_0x3a0635}));});_0x34e770[_0x30c379(0x1ca)]=_0x30c379(0x2ea);const _0x5bda68={'tag':_0x30c379(0x2b9),'attrs':{'xmlns':_0x30c379(0x266),'fill':_0x30c379(0x338),'viewBox':_0x30c379(0x272),'width':_0x30c379(0x23c),'height':_0x30c379(0x23c)},'children':[{'tag':_0x30c379(0x240),'attrs':{'fill':_0x30c379(0x26f),'d':_0x30c379(0x1b1)}},{'tag':_0x30c379(0x240),'attrs':{'fill':_0x30c379(0x26f),'d':'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'}},{'tag':_0x30c379(0x240),'attrs':{'fill':_0x30c379(0x26f),'d':_0x30c379(0x201),'fillRule':_0x30c379(0x1fc),'clipRule':'evenodd'}}]},_0x4968b8=_0x3bb5c1[_0x30c379(0x1e4)](function(_0x32f09d,_0x1ce71a){const _0xa2eb1c=_0x30c379;return _0x3bb5c1[_0xa2eb1c(0x211)](_0x3decbc,Object[_0xa2eb1c(0x2e1)]({},_0x32f09d,{'id':'help-icon','ref':_0x1ce71a,'icon':_0x5bda68}));});_0x4968b8['displayName']=_0x30c379(0x1f0);const _0x5d0703={'tag':_0x30c379(0x2b9),'attrs':{'xmlns':_0x30c379(0x266),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x30c379(0x23c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x30c379(0x240),'attrs':{'stroke':'currentColor','d':_0x30c379(0x26a),'strokeLinecap':_0x30c379(0x2a1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x30c379(0x210),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x30c379(0x1a1)}}]}]}],'defIds':[_0x30c379(0x22e)]},_0x331947=_0x3bb5c1[_0x30c379(0x1e4)](function(_0x1578df,_0x2a12ef){const _0x356c58=_0x30c379;return _0x3bb5c1[_0x356c58(0x211)](_0x3decbc,Object[_0x356c58(0x2e1)]({},_0x1578df,{'id':'off-line-icon','ref':_0x2a12ef,'icon':_0x5d0703}));});_0x331947[_0x30c379(0x1ca)]=_0x30c379(0x277);const _0x414dd5={'tag':_0x30c379(0x2b9),'attrs':{'xmlns':_0x30c379(0x266),'fill':_0x30c379(0x338),'viewBox':_0x30c379(0x29b),'width':_0x30c379(0x23c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30c379(0x280)},'children':[{'tag':_0x30c379(0x240),'attrs':{'stroke':'currentColor','d':_0x30c379(0x1d3),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x30c379(0x292),'attrs':{},'children':[{'tag':_0x30c379(0x210),'attrs':{'id':_0x30c379(0x230)},'children':[{'tag':_0x30c379(0x240),'attrs':{'fill':_0x30c379(0x1c9),'d':_0x30c379(0x1a1),'transform':_0x30c379(0x30b)}}]}]}],'defIds':[_0x30c379(0x230)]},_0x126149=_0x3bb5c1[_0x30c379(0x1e4)](function(_0x229058,_0x4488e9){const _0x89d937=_0x30c379;return _0x3bb5c1[_0x89d937(0x211)](_0x3decbc,Object[_0x89d937(0x2e1)]({},_0x229058,{'id':_0x89d937(0x20d),'ref':_0x4488e9,'icon':_0x414dd5}));});_0x126149[_0x30c379(0x1ca)]=_0x30c379(0x1ea);function _0x863e4f(_0x528396){const _0xcc9dc=_0x30c379;var _0x28a0c1,_0x28ebc5;const {mcpCoreConfig:_0x5750cd,onSave:_0x3dee85,loading:_0x316ac6=!0x1,config:_0x2b4156,connectionStatus$:_0x3eeee6,connectionError$:_0x4bc463,currentApiKey$:_0x4dc38b,currentSessionId$:_0x4f7c8a}=_0x528396,_0x4ebeda=_0x193043['useDependency'](_0x59774c[_0xcc9dc(0x23a)]),_0x46141=_0x193043[_0xcc9dc(0x2f5)](_0x3eeee6,_0x526990['MCPConnectionStatus'][_0xcc9dc(0x1c3)]),_0x18ee03=_0x193043['useObservable'](_0x4bc463,_0x526990[_0xcc9dc(0x1be)]['NONE']),_0x5c62fc=_0x193043[_0xcc9dc(0x2f5)](_0x4f7c8a,''),_0x2da515=_0x193043[_0xcc9dc(0x2f5)](_0x4dc38b,''),[_0x94055e,_0xfa2737]=_0x3bb5c1[_0xcc9dc(0x32d)](_0x2da515||''),_0x2ad1fb=!0x0,_0x4fd13b=_0x2b4156[_0xcc9dc(0x31b)]&&_0x5750cd['mcpServerUrl']&&(_0x5750cd[_0xcc9dc(0x325)]['includes'](_0xcc9dc(0x24e))||_0x5750cd[_0xcc9dc(0x325)][_0xcc9dc(0x337)]('univer.ai')),_0x39c080=(_0x28a0c1=_0x5750cd[_0xcc9dc(0x325)])==null?void 0x0:_0x28a0c1[_0xcc9dc(0x337)](_0xcc9dc(0x24e)),_0xd95988=(_0x28ebc5=_0x5750cd[_0xcc9dc(0x325)])==null?void 0x0:_0x28ebc5[_0xcc9dc(0x337)](_0xcc9dc(0x2c3)),_0x3dc11c=_0x39c080?_0xcc9dc(0x1fb):_0xcc9dc(0x226),_0x48b975=_0x2b4156[_0xcc9dc(0x31b)]&&(_0x39c080||_0xd95988),[_0x1f4d4d,_0x59448d]=_0x3bb5c1['useState'](!_0x94055e[_0xcc9dc(0x1d7)]()),_0x2549d0=(_0x152894,_0x253cb9)=>{const _0x55db84=_0xcc9dc;if(_0x253cb9===_0x526990[_0x55db84(0x1be)][_0x55db84(0x26b)])return _0x55db84(0x229);switch(_0x152894){case _0x526990[_0x55db84(0x28b)][_0x55db84(0x32a)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x526990[_0x55db84(0x28b)][_0x55db84(0x1a3)]:case _0x526990[_0x55db84(0x28b)][_0x55db84(0x2e9)]:return _0x55db84(0x21d);case _0x526990[_0x55db84(0x28b)][_0x55db84(0x20f)]:return _0x55db84(0x229);default:return _0x55db84(0x1eb);}},_0x23748=(_0x330f1e,_0x84f7f3)=>{const _0x50d718=_0xcc9dc;if(_0x84f7f3===_0x526990[_0x50d718(0x1be)][_0x50d718(0x26b)])return _0x50d718(0x27e);switch(_0x330f1e){case _0x526990['MCPConnectionStatus']['CONNECTED']:return'univer-bg-green-500';case _0x526990[_0x50d718(0x28b)][_0x50d718(0x1a3)]:case _0x526990[_0x50d718(0x28b)][_0x50d718(0x2e9)]:return _0x50d718(0x326);case _0x526990[_0x50d718(0x28b)]['FAILED']:return _0x50d718(0x27e);default:return _0x50d718(0x251);}},_0x4b410f=_0x1fd530=>{const _0x38d8a2=_0xcc9dc;switch(_0x1fd530){case _0x526990['MCPConnectionStatus'][_0x38d8a2(0x32a)]:return _0x4ebeda['t']('mcpConfig.connectionStatus.connected');case _0x526990['MCPConnectionStatus']['CONNECTING']:return _0x4ebeda['t'](_0x38d8a2(0x262));case _0x526990[_0x38d8a2(0x28b)][_0x38d8a2(0x20f)]:return _0x4ebeda['t'](_0x38d8a2(0x22d));case _0x526990[_0x38d8a2(0x28b)]['RETRYING']:return _0x4ebeda['t'](_0x38d8a2(0x26e));default:return _0x4ebeda['t'](_0x38d8a2(0x317));}},_0x47b48a=_0x5c4475=>{const _0x289a15=_0xcc9dc;switch(_0x5c4475){case _0x526990['MCPConnectionError'][_0x289a15(0x26b)]:return _0x4ebeda['t'](_0x289a15(0x19e));case _0x526990[_0x289a15(0x1be)][_0x289a15(0x2c0)]:return _0x4ebeda['t']('mcpConfig.connectionError.sessionOccupied');case _0x526990['MCPConnectionError']['NETWORK_ERROR']:return _0x4ebeda['t'](_0x289a15(0x2bf));case _0x526990[_0x289a15(0x1be)][_0x289a15(0x231)]:return _0x4ebeda['t'](_0x289a15(0x253));default:return'';}},_0x2cfdd3=_0x3bb5c1[_0xcc9dc(0x323)](()=>{const _0x28bfda={..._0x5750cd,'apiKey':_0x94055e['trim'](),'enableAuth':_0x2ad1fb};_0x3dee85(_0x28bfda);},[_0x5750cd,_0x94055e,_0x2ad1fb,_0x3dee85]),_0x472de6=_0x94055e['trim']()[_0xcc9dc(0x297)]>0x0;return _0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2cf),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x1ef),'children':_0x3caf40['jsxs'](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2b0),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2d3),'children':_0x3caf40['jsx'](_0xcc9dc(0x2b6),{'className':_0xcc9dc(0x2db),'children':'⚙'})}),_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'children':_0x3caf40[_0xcc9dc(0x1b9)]('p',{'className':_0xcc9dc(0x25d),'children':_0x4ebeda['t']('mcpConfig.description')})})]})}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0x19ed03[_0xcc9dc(0x2aa)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x2549d0(_0x46141,_0x18ee03)),'children':_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x223),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0x19ed03['clsx'](_0xcc9dc(0x318),_0x23748(_0x46141,_0x18ee03))}),_0x3caf40['jsx'](_0xcc9dc(0x2b6),{'className':_0xcc9dc(0x218),'children':_0x4b410f(_0x46141)})]})}),_0x18ee03!==_0x526990[_0xcc9dc(0x1be)][_0xcc9dc(0x2c5)]&&(_0x46141===_0x526990[_0xcc9dc(0x28b)][_0xcc9dc(0x20f)]||_0x18ee03===_0x526990['MCPConnectionError'][_0xcc9dc(0x26b)])&&_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x3caf40[_0xcc9dc(0x30a)]('div',{'className':_0xcc9dc(0x1d5),'children':[_0x3caf40['jsx'](_0xcc9dc(0x2b6),{'className':_0xcc9dc(0x23d),'children':'⚠️'}),_0x3caf40[_0xcc9dc(0x1b9)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x47b48a(_0x18ee03)})]})})]}),_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2e6),'children':_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':'univer-space-y-5','children':[_0x3caf40['jsxs']('div',{'className':_0xcc9dc(0x25f),'children':[_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e3),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2b6),{'children':'🔑'}),'\x20',_0x4ebeda['t'](_0xcc9dc(0x31f)),_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2b6),{'className':_0xcc9dc(0x2f6),'children':'*'}),_0x4fd13b&&_0x3caf40[_0xcc9dc(0x1b9)]('a',{'className':'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','title':_0x4ebeda['t']('mcpConfig.apiApplyInfo.title'),'role':_0xcc9dc(0x20e),'onClick':()=>_0x59448d(!0x0),'children':_0x3caf40[_0xcc9dc(0x1b9)](_0x4968b8,{})})]}),_0x3caf40['jsx'](_0x19ed03[_0xcc9dc(0x286)],{'type':_0xcc9dc(0x2d4),'placeholder':_0x4ebeda['t'](_0xcc9dc(0x2b4)),'value':_0x94055e,'disabled':_0x316ac6,'autoComplete':_0xcc9dc(0x1f3),'onChange':_0xfa2737}),_0x3caf40[_0xcc9dc(0x1b9)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x4ebeda['t'](_0xcc9dc(0x1d9))})]}),_0x4fd13b&&_0x1f4d4d&&_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x3caf40[_0xcc9dc(0x1b9)]('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':_0xcc9dc(0x20e),'onClick':()=>_0x59448d(!0x1),'children':_0x3caf40['jsx'](_0x34e770,{'className':'univer-size-4'})}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x3caf40['jsx']('span',{'className':_0xcc9dc(0x282),'children':'🚀'})}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x281),'children':[_0x3caf40['jsx']('h4',{'className':_0xcc9dc(0x2cc),'children':_0x4ebeda['t']('mcpConfig.apiApplyInfo.title')}),_0x3caf40['jsx']('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x4ebeda['t']('mcpConfig.apiApplyInfo.description')}),_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x241),'children':_0x48b975&&_0x3caf40[_0xcc9dc(0x30a)]('a',{'className':_0xcc9dc(0x2da),'href':_0x3dc11c,'target':_0xcc9dc(0x30d),'rel':_0xcc9dc(0x1dd),'children':[_0x3caf40[_0xcc9dc(0x1b9)]('span',{'children':'🤖'}),_0x4ebeda['t'](_0xcc9dc(0x1b7)),_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2b6),{'className':_0xcc9dc(0x1c5),'children':'↗'})]})}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2ec),'children':['✨','\x20',_0x4ebeda['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2b4156[_0xcc9dc(0x31b)]&&_0x3caf40['jsxs'](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2c2),'children':[_0x3caf40[_0xcc9dc(0x30a)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x3caf40['jsx'](_0xcc9dc(0x2b6),{'children':'🔗'}),'\x20',_0x4ebeda['t'](_0xcc9dc(0x316))]}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x1a5),'children':[_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x203),'children':[_0x3caf40['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x4ebeda['t'](_0xcc9dc(0x2a0))}),_0x3caf40[_0xcc9dc(0x30a)]('div',{'className':_0xcc9dc(0x25f),'children':[_0x3caf40[_0xcc9dc(0x1b9)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x4ebeda['t']('mcpConfig.configStepTitle')}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2b3),'children':[_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x223),'children':[_0x3caf40[_0xcc9dc(0x1b9)]('span',{'className':_0xcc9dc(0x1c4),'children':'1'}),_0x4ebeda['t'](_0xcc9dc(0x1ff))]}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2b6),{'className':_0xcc9dc(0x1c4),'children':'2'}),_0x4ebeda['t'](_0xcc9dc(0x31c))]}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x223),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2b6),{'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'}),_0x4ebeda['t'](_0xcc9dc(0x29c))]})]})]})]}),_0x3caf40[_0xcc9dc(0x30a)]('div',{'className':_0xcc9dc(0x25f),'children':[_0x3caf40['jsx'](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x26d),'children':_0xcc9dc(0x23f)}),_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x321),'children':_0x3caf40['jsx'](_0xcc9dc(0x23e),{'className':_0xcc9dc(0x2e0),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0xcc9dc(0x288)+(_0x5c62fc||_0xcc9dc(0x25b)),'type':_0xcc9dc(0x1fa),'headers':{'Authorization':_0xcc9dc(0x1dc)+(_0x94055e||_0xcc9dc(0x273))}}}},null,0x2)})})]}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x203),'children':[_0x3caf40[_0xcc9dc(0x1b9)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x4ebeda['t'](_0xcc9dc(0x20a))}),_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x25f),'children':[_0x3caf40['jsxs'](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x1b8),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x3caf40['jsxs'](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2be),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0xcc9dc(0x1bc)}),_0x3caf40[_0xcc9dc(0x1b9)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x4ebeda['t']('mcpConfig.sessionIdDescription')})]})]}),_0x3caf40[_0xcc9dc(0x30a)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x279)}),_0x3caf40['jsxs']('div',{'className':_0xcc9dc(0x2be),'children':[_0x3caf40['jsx'](_0xcc9dc(0x2e4),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0xcc9dc(0x2fb)}),_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x29f),'children':_0x4ebeda['t'](_0xcc9dc(0x1da))})]})]})]})]})]})]}),_0x3caf40[_0xcc9dc(0x1b9)](_0x19ed03[_0xcc9dc(0x2fc)],{'onClick':_0x2cfdd3,'disabled':!_0x472de6||_0x316ac6,'className':_0xcc9dc(0x1a9),'children':_0x316ac6?_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2b6),{'className':_0xcc9dc(0x223),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2b6),{'children':'⟲'}),_0x4ebeda['t'](_0xcc9dc(0x298))]}):_0x3caf40['jsxs'](_0xcc9dc(0x2b6),{'className':_0xcc9dc(0x223),'children':[_0x3caf40['jsx'](_0xbc09fe,{}),_0x4ebeda['t'](_0xcc9dc(0x1ac))]})}),_0x3caf40['jsx'](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x28e),'children':_0x3caf40[_0xcc9dc(0x30a)](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x2a3),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2b6),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x3caf40['jsxs'](_0xcc9dc(0x2e4),{'className':_0xcc9dc(0x1d2),'children':[_0x3caf40[_0xcc9dc(0x1b9)](_0xcc9dc(0x2e4),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x3caf40['jsxs'](_0xcc9dc(0x2e4),{'children':['•',_0x4ebeda['t'](_0xcc9dc(0x261))]}),_0x3caf40['jsxs'](_0xcc9dc(0x2e4),{'children':['•',_0x4ebeda['t'](_0xcc9dc(0x333))]})]})]})})]})})]});}const _0x4f5e71=_0x30c379(0x309),_0x5f500c={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x267a69=Object[_0x30c379(0x24f)],_0x2fb0cb=(_0x16b616,_0x1f6abf,_0x28751e,_0x1fafd4)=>{for(var _0x2dee00=_0x1fafd4>0x1?void 0x0:_0x1fafd4?_0x267a69(_0x1f6abf,_0x28751e):_0x1f6abf,_0x4e85b1=_0x16b616['length']-0x1,_0x4416d2;_0x4e85b1>=0x0;_0x4e85b1--)(_0x4416d2=_0x16b616[_0x4e85b1])&&(_0x2dee00=_0x4416d2(_0x2dee00)||_0x2dee00);return _0x2dee00;},_0x5d600f=(_0x50bbe1,_0x3f4c04)=>(_0x51a013,_0x117075)=>_0x3f4c04(_0x51a013,_0x117075,_0x50bbe1);const _0x2c54f9=_0x30c379(0x1ee),_0x36681f=_0x30c379(0x228);_0x1764fb[_0x30c379(0x2c9)]=class extends _0x59774c[_0x30c379(0x1b0)]{constructor(_0x47721d,_0x3599c2,_0x1d38f3,_0x1df3bb,_0x52029a,_0x3180d6,_0x3205dc,_0x39a1b2,_0x24af68,_0x188f76){const _0x18b98b=_0x30c379;super(),_0x1c3207(this,'_loading$',new _0x3a8d92[(_0x18b98b(0x239))](!0x1)),_0x1c3207(this,_0x18b98b(0x21e),new _0x3a8d92[(_0x18b98b(0x239))]({})),_0x1c3207(this,_0x18b98b(0x2cb),new _0x3a8d92[(_0x18b98b(0x239))]({})),_0x1c3207(this,_0x18b98b(0x21f),new _0x3a8d92['BehaviorSubject']('')),_0x1c3207(this,'_handleConfigSave',async _0x35494a=>{const _0x3103cd=_0x18b98b;var _0x1a1684,_0xff236b;this[_0x3103cd(0x2de)][_0x3103cd(0x2fe)](!0x0);try{const _0x57bdce=await this[_0x3103cd(0x245)](_0x35494a);if(!_0x57bdce[_0x3103cd(0x2f1)]){this[_0x3103cd(0x339)][_0x3103cd(0x1b2)]({'type':_0x19ed03[_0x3103cd(0x2f7)][_0x3103cd(0x222)],'content':_0x57bdce[_0x3103cd(0x2a6)]||this[_0x3103cd(0x242)]['t'](_0x3103cd(0x1b4))});return;}_0x35494a[_0x3103cd(0x324)]?await this[_0x3103cd(0x24d)][_0x3103cd(0x315)](_0x2c54f9,_0x35494a[_0x3103cd(0x324)]['trim']()):await this[_0x3103cd(0x24d)][_0x3103cd(0x2a9)](_0x2c54f9),this['_apiKey$'][_0x3103cd(0x2fe)](((_0x1a1684=_0x35494a[_0x3103cd(0x324)])==null?void 0x0:_0x1a1684[_0x3103cd(0x1d7)]())||''),this[_0x3103cd(0x1b6)][_0x3103cd(0x314)]({'Authorization':_0x3103cd(0x1dc)+((_0xff236b=_0x35494a[_0x3103cd(0x324)])==null?void 0x0:_0xff236b[_0x3103cd(0x1d7)]())}),this[_0x3103cd(0x339)][_0x3103cd(0x1b2)]({'type':_0x19ed03['MessageType'][_0x3103cd(0x328)],'content':this[_0x3103cd(0x242)]['t'](_0x3103cd(0x256))}),setTimeout(()=>{const _0x381c0f=_0x3103cd;this[_0x381c0f(0x2a7)][_0x381c0f(0x311)](_0x36681f);},0x320);}catch(_0x1c3442){this[_0x3103cd(0x296)][_0x3103cd(0x31d)](_0x3103cd(0x224),_0x1c3442),this['_messageService'][_0x3103cd(0x1b2)]({'type':_0x19ed03[_0x3103cd(0x2f7)][_0x3103cd(0x222)],'content':this[_0x3103cd(0x242)]['t'](_0x3103cd(0x20b))});}finally{this[_0x3103cd(0x2de)][_0x3103cd(0x2fe)](!0x1);}}),(this[_0x18b98b(0x329)]=_0x47721d,this[_0x18b98b(0x30e)]=_0x3599c2,this[_0x18b98b(0x331)]=_0x1d38f3,this[_0x18b98b(0x24d)]=_0x1df3bb,this[_0x18b98b(0x2a7)]=_0x52029a,this[_0x18b98b(0x339)]=_0x3180d6,this['_componentManager']=_0x3205dc,this[_0x18b98b(0x242)]=_0x39a1b2,this[_0x18b98b(0x296)]=_0x24af68,this[_0x18b98b(0x1b6)]=_0x188f76,this[_0x18b98b(0x335)](),this[_0x18b98b(0x2cd)](),this[_0x18b98b(0x30c)]());}[_0x30c379(0x238)](){const _0x24b03c=_0x30c379,_0x1bc371=this[_0x24b03c(0x331)][_0x24b03c(0x2ee)](_0x4f5e71);_0x1bc371!=null&&_0x1bc371[_0x24b03c(0x31b)]&&this['_dialogService'][_0x24b03c(0x219)]({'id':_0x36681f,'title':{'title':this[_0x24b03c(0x242)]['t'](_0x24b03c(0x275))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x27d2c9=_0x24b03c;this[_0x27d2c9(0x2a7)]['close'](_0x36681f);}});}[_0x30c379(0x215)](){return this['_mcpCoreConfig$']['value'];}[_0x30c379(0x30c)](){const _0x1cf5f4=_0x30c379;this['disposeWithMe'](this[_0x1cf5f4(0x1db)][_0x1cf5f4(0x308)](_0x1cf5f4(0x214),this['_createConfigPanelComponent']()));}[_0x30c379(0x1e3)](){const _0x21d8ac=_0x30c379;return _0x193043[_0x21d8ac(0x1e8)](()=>{const _0x5df8be=_0x21d8ac;var _0x1a363c,_0x26b0eb,_0x1f937c;return _0x3caf40[_0x5df8be(0x1b9)](_0x863e4f,{'config':this[_0x5df8be(0x2cb)]['value'],'mcpCoreConfig':this[_0x5df8be(0x21e)][_0x5df8be(0x2d8)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x5df8be(0x28c)],'loading':this[_0x5df8be(0x2de)][_0x5df8be(0x2d8)],'connectionStatus$':(_0x1a363c=this[_0x5df8be(0x1b6)])==null?void 0x0:_0x1a363c[_0x5df8be(0x212)],'connectionError$':(_0x26b0eb=this[_0x5df8be(0x1b6)])==null?void 0x0:_0x26b0eb[_0x5df8be(0x1ec)],'currentSessionId$':(_0x1f937c=this[_0x5df8be(0x1b6)])==null?void 0x0:_0x1f937c[_0x5df8be(0x1ce)]});},this[_0x21d8ac(0x329)]);}[_0x30c379(0x335)](){const _0x5a605a=_0x30c379;this['disposeWithMe'](this['_configService'][_0x5a605a(0x1cc)](_0x526990[_0x5a605a(0x1e7)])[_0x5a605a(0x27f)](_0x465b12=>{const _0x154b5a=_0x5a605a;this[_0x154b5a(0x21e)][_0x154b5a(0x2fe)](_0x465b12||{});}));const _0x5353c6=this[_0x5a605a(0x331)][_0x5a605a(0x2ee)](_0x526990[_0x5a605a(0x1e7)]);this['_mcpCoreConfig$'][_0x5a605a(0x2fe)](_0x5353c6||{}),this[_0x5a605a(0x1e5)](this[_0x5a605a(0x331)][_0x5a605a(0x1cc)](_0x4f5e71)[_0x5a605a(0x27f)](_0x4779a5=>{this['_config$']['next'](_0x4779a5||{});}));const _0x4c17c9=this[_0x5a605a(0x331)]['getConfig'](_0x4f5e71);this[_0x5a605a(0x2cb)]['next'](_0x4c17c9||{});}async[_0x30c379(0x2cd)](){const _0x4f750d=_0x30c379,_0x5455b7=this[_0x4f750d(0x331)][_0x4f750d(0x2ee)](_0x4f5e71);if(!(_0x5455b7!=null&&_0x5455b7[_0x4f750d(0x31b)]))return;const _0x11e6d3=await this['_localStorageService'][_0x4f750d(0x217)](_0x2c54f9);_0x11e6d3&&(this[_0x4f750d(0x1b6)][_0x4f750d(0x314)]({'Authorization':_0x4f750d(0x1dc)+_0x11e6d3}),this['_apiKey$']['next'](_0x11e6d3));}async[_0x30c379(0x245)](_0x35707c){const _0x380443=_0x30c379;if(!_0x35707c[_0x380443(0x324)]||_0x35707c[_0x380443(0x324)][_0x380443(0x1d7)]()[_0x380443(0x297)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x35707c['apiKey'][_0x380443(0x1d7)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x380443(0x242)]['t'](_0x380443(0x268))};try{const _0x5259ac=await this[_0x380443(0x329)][_0x380443(0x259)](_0x526990['MCPConnectionController'])[_0x380443(0x2d6)](_0x35707c['apiKey'][_0x380443(0x1d7)]());return _0x5259ac['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x5259ac[_0x380443(0x31d)]||this[_0x380443(0x242)]['t'](_0x380443(0x1e0))};}catch(_0x6e86dc){return console[_0x380443(0x27d)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x6e86dc),{'isValid':!0x0};}}},_0x1764fb[_0x30c379(0x2c9)]=_0x2fb0cb([_0x5d600f(0x0,_0x59774c[_0x30c379(0x2ef)](_0x59774c[_0x30c379(0x263)])),_0x5d600f(0x1,_0x193043['IUIPartsService']),_0x5d600f(0x2,_0x59774c[_0x30c379(0x30f)]),_0x5d600f(0x3,_0x59774c['ILocalStorageService']),_0x5d600f(0x4,_0x193043[_0x30c379(0x2d0)]),_0x5d600f(0x5,_0x193043[_0x30c379(0x2f8)]),_0x5d600f(0x6,_0x59774c[_0x30c379(0x2ef)](_0x193043[_0x30c379(0x200)])),_0x5d600f(0x7,_0x59774c[_0x30c379(0x2ef)](_0x59774c[_0x30c379(0x23a)])),_0x5d600f(0x8,_0x59774c[_0x30c379(0x2b2)]),_0x5d600f(0x9,_0x59774c[_0x30c379(0x2ef)](_0x526990[_0x30c379(0x31a)]))],_0x1764fb[_0x30c379(0x2c9)]);const _0x25084e={'id':_0x30c379(0x22a),'type':_0x59774c[_0x30c379(0x207)][_0x30c379(0x255)],'handler':async(_0x235285,_0x57327b)=>(_0x235285['get'](_0x1764fb['MCPConfigUIController'])[_0x30c379(0x238)](),!0x0)};function _0x562c11(_0x3c40ec,_0x4a5919){const _0x3ac224=_0x30c379;switch(_0x3c40ec){case _0x526990['MCPConnectionStatus'][_0x3ac224(0x1c3)]:return _0x3ac224(0x22b);case _0x526990[_0x3ac224(0x28b)]['CONNECTING']:return _0x3ac224(0x301);case _0x526990[_0x3ac224(0x28b)][_0x3ac224(0x32a)]:return _0x3ac224(0x2ae);case _0x526990[_0x3ac224(0x28b)][_0x3ac224(0x20f)]:switch(_0x4a5919){case _0x526990[_0x3ac224(0x1be)]['UNAUTHORIZED']:return _0x3ac224(0x1d0);case _0x526990['MCPConnectionError'][_0x3ac224(0x2c0)]:return _0x3ac224(0x2f4);case _0x526990[_0x3ac224(0x1be)][_0x3ac224(0x1d8)]:return _0x3ac224(0x1e6);case _0x526990['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x3ac224(0x283);default:return _0x3ac224(0x1a6);}case _0x526990[_0x3ac224(0x28b)][_0x3ac224(0x2e9)]:return'mcpStatus.retrying';default:return _0x3ac224(0x336);}}function _0x2ccf39(_0x10160a,_0x1c9281,_0x58feb8,_0x15a08d=!0x0){const _0x3f2235=_0x30c379,_0x57bc6b=_0x562c11(_0x10160a,_0x1c9281),_0x509646=_0x58feb8['t'](_0x57bc6b);return _0x15a08d?_0x10160a===_0x526990['MCPConnectionStatus'][_0x3f2235(0x1c3)]&&_0x1c9281===_0x526990[_0x3f2235(0x1be)]['UNAUTHORIZED']?_0x509646+_0x3f2235(0x1a0)+_0x58feb8['t'](_0x3f2235(0x264)):_0x10160a===_0x526990[_0x3f2235(0x28b)][_0x3f2235(0x32a)]?''+_0x509646:_0x10160a===_0x526990[_0x3f2235(0x28b)][_0x3f2235(0x1c3)]||_0x10160a===_0x526990[_0x3f2235(0x28b)][_0x3f2235(0x20f)]?_0x509646+'\x20-\x20'+_0x58feb8['t'](_0x3f2235(0x19b)):_0x509646:_0x509646;}function _0x155048(_0x558535){const _0x918744=_0x30c379;switch(_0x558535){case _0x526990[_0x918744(0x28b)]['CONNECTED']:return _0x918744(0x295);case _0x526990[_0x918744(0x28b)][_0x918744(0x1a3)]:case _0x526990[_0x918744(0x28b)]['RETRYING']:return _0x918744(0x1cf);case _0x526990['MCPConnectionStatus'][_0x918744(0x20f)]:case _0x526990[_0x918744(0x28b)][_0x918744(0x1c3)]:return _0x918744(0x2f6);default:return _0x918744(0x209);}}function _0x10cc74(_0x10fbe3){const _0x45a3e0=_0x30c379,{status$:_0x280159,error$:_0x3eba38,onConfigure:_0x5ac3cf,showClickable:_0x571b1d=!0x0}=_0x10fbe3,_0x49376b=_0x193043[_0x45a3e0(0x2f5)](_0x280159,_0x526990['MCPConnectionStatus']['DISCONNECTED']),_0xe4b9fc=_0x193043[_0x45a3e0(0x2f5)](_0x3eba38,_0x526990[_0x45a3e0(0x1be)]['NONE']),_0x276256=_0x193043[_0x45a3e0(0x252)](_0x59774c[_0x45a3e0(0x23a)]),_0x4b6676=_0x49376b===_0x526990[_0x45a3e0(0x28b)][_0x45a3e0(0x32a)];_0x49376b===_0x526990[_0x45a3e0(0x28b)][_0x45a3e0(0x1a3)]||_0x526990[_0x45a3e0(0x28b)][_0x45a3e0(0x2e9)];const _0x269279=_0x276256['t'](_0x562c11(_0x49376b,_0xe4b9fc)),_0x1385ad=_0x2ccf39(_0x49376b,_0xe4b9fc,_0x276256,_0x571b1d),_0x53231c=_0x155048(_0x49376b),_0x4bc1ee=_0x4b6676?_0x3caf40['jsx'](_0x126149,{}):_0x3caf40[_0x45a3e0(0x1b9)](_0x331947,{}),_0x156367=_0x3bb5c1['useCallback'](()=>{_0x571b1d&&_0x5ac3cf&&_0x5ac3cf();},[_0x571b1d,_0x5ac3cf]);function _0x3f58bb(){const _0x3be1f2=_0x45a3e0;return _0x3caf40['jsxs'](_0x3be1f2(0x2e4),{'className':_0x19ed03[_0x3be1f2(0x2aa)](_0x3be1f2(0x1de),_0x571b1d&&_0x5ac3cf&&_0x3be1f2(0x237)),'role':_0x3be1f2(0x20e),'onClick':_0x571b1d&&_0x5ac3cf?_0x156367:void 0x0,'children':[_0x3caf40['jsx'](_0x3be1f2(0x2e4),{'className':_0x19ed03['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x53231c),'children':_0x4bc1ee}),_0x3caf40[_0x3be1f2(0x1b9)](_0x3be1f2(0x2e4),{'className':_0x3be1f2(0x19c),'children':_0x269279})]});}return _0x3caf40[_0x45a3e0(0x1b9)](_0x19ed03[_0x45a3e0(0x1aa)],{'title':_0x1385ad,'placement':_0x45a3e0(0x260),'children':_0x3f58bb()});}var _0x66525c=Object[_0x30c379(0x24f)],_0x2a1e49=(_0x27b088,_0x46ffca,_0x55b95d,_0x4fddd8)=>{for(var _0x4051db=_0x4fddd8>0x1?void 0x0:_0x4fddd8?_0x66525c(_0x46ffca,_0x55b95d):_0x46ffca,_0x471b71=_0x27b088['length']-0x1,_0x623b79;_0x471b71>=0x0;_0x471b71--)(_0x623b79=_0x27b088[_0x471b71])&&(_0x4051db=_0x623b79(_0x4051db)||_0x4051db);return _0x4051db;},_0x5a596e=(_0x590555,_0x32d0bb)=>(_0x3dea2e,_0x2fa3e4)=>_0x32d0bb(_0x3dea2e,_0x2fa3e4,_0x590555);_0x1764fb[_0x30c379(0x225)]=class extends _0x59774c['Disposable']{constructor(_0x595c9f,_0x24cc5e,_0x24c323,_0x53dc0b){const _0x40c86c=_0x30c379;super(),this['_injector']=_0x595c9f,this[_0x40c86c(0x21a)]=_0x24cc5e,this['_uiPartsService']=_0x24c323,this[_0x40c86c(0x331)]=_0x53dc0b,this['_initAutoConnect'](),this[_0x40c86c(0x25c)]();}[_0x30c379(0x1a7)](){const _0x254453=_0x30c379,_0x163c27=this[_0x254453(0x331)][_0x254453(0x2ee)](_0x4f5e71);_0x163c27!=null&&_0x163c27[_0x254453(0x31b)]&&(this[_0x254453(0x21a)]['enableAutoConnect']=!0x1);}[_0x30c379(0x25c)](){const _0x3822a5=_0x30c379,_0x1205ca=this[_0x3822a5(0x331)][_0x3822a5(0x2ee)](_0x4f5e71);(_0x1205ca==null?void 0x0:_0x1205ca[_0x3822a5(0x1fe)])!==!0x1&&this[_0x3822a5(0x1e5)](this[_0x3822a5(0x30e)]['registerComponent'](_0x193043[_0x3822a5(0x2ab)][_0x3822a5(0x1a2)],()=>{const _0x448bf2=_0x3822a5;var _0x21fc92;return _0x193043[_0x448bf2(0x1e8)](_0x129028({'status$':this[_0x448bf2(0x21a)]['connectionStatus$'],'error$':this['_connectionController'][_0x448bf2(0x1ec)],'onConfigure':()=>this[_0x448bf2(0x216)](),'showClickable':(_0x21fc92=_0x1205ca==null?void 0x0:_0x1205ca['showDeveloperTools'])!=null?_0x21fc92:!0x1}),this[_0x448bf2(0x329)]);}));}[_0x30c379(0x216)](){const _0x12709f=_0x30c379;this[_0x12709f(0x329)][_0x12709f(0x259)](_0x1764fb[_0x12709f(0x2c9)])['showConfigPanel']();}},_0x1764fb[_0x30c379(0x225)]=_0x2a1e49([_0x5a596e(0x0,_0x59774c[_0x30c379(0x2ef)](_0x59774c['Injector'])),_0x5a596e(0x1,_0x59774c[_0x30c379(0x2ef)](_0x526990[_0x30c379(0x31a)])),_0x5a596e(0x2,_0x193043['IUIPartsService']),_0x5a596e(0x3,_0x59774c['IConfigService'])],_0x1764fb[_0x30c379(0x225)]);function _0x129028(_0x20edf5){const {status$:_0x2f2839,error$:_0x99d141,onConfigure:_0xeb5010,showClickable:_0x53e8cb}=_0x20edf5;return function(){const _0x64dabb=_0x41a7;return _0x3caf40[_0x64dabb(0x1b9)](_0x10cc74,{'status$':_0x2f2839,'error$':_0x99d141,'onConfigure':_0xeb5010,'showClickable':_0x53e8cb});};}function _0x262afc(_0x6b951c){const _0x151592=_0x30c379;return{'id':_0x25084e['id'],'type':_0x193043[_0x151592(0x2fd)][_0x151592(0x2ed)],'icon':_0x151592(0x271),'title':_0x151592(0x275),'tooltip':_0x151592(0x275)};}const _0x53c060={[_0x193043[_0x30c379(0x1f5)]['OTHERS']]:{[_0x25084e['id']]:{'order':0xa,'menuItemFactory':_0x262afc}}};var _0x165863=Object['getOwnPropertyDescriptor'],_0x439259=(_0x45b03d,_0x1c869c,_0x58925c,_0x4c8bb1)=>{for(var _0x374fa4=_0x4c8bb1>0x1?void 0x0:_0x4c8bb1?_0x165863(_0x1c869c,_0x58925c):_0x1c869c,_0x53f6e6=_0x45b03d['length']-0x1,_0x2c44b5;_0x53f6e6>=0x0;_0x53f6e6--)(_0x2c44b5=_0x45b03d[_0x53f6e6])&&(_0x374fa4=_0x2c44b5(_0x374fa4)||_0x374fa4);return _0x374fa4;},_0x54736a=(_0x5b3b19,_0x2cae23)=>(_0xd8ca67,_0x3f33f1)=>_0x2cae23(_0xd8ca67,_0x3f33f1,_0x5b3b19);_0x1764fb[_0x30c379(0x28a)]=class extends _0x59774c[_0x30c379(0x1b0)]{constructor(_0x5ce68f,_0x213654){const _0x5528e2=_0x30c379;super(),this[_0x5528e2(0x278)]=_0x5ce68f,this[_0x5528e2(0x199)]=_0x213654,this[_0x5528e2(0x29d)](),this[_0x5528e2(0x303)]();}['_initializeCommands'](){[_0x25084e]['forEach'](_0x2d9479=>{const _0x2c04d1=_0x41a7;this[_0x2c04d1(0x1e5)](this[_0x2c04d1(0x278)][_0x2c04d1(0x304)](_0x2d9479));});}[_0x30c379(0x303)](){const _0x4da804=_0x30c379;this[_0x4da804(0x199)][_0x4da804(0x300)](_0x53c060);}},_0x1764fb[_0x30c379(0x28a)]=_0x439259([_0x54736a(0x0,_0x59774c[_0x30c379(0x29a)]),_0x54736a(0x1,_0x193043[_0x30c379(0x319)])],_0x1764fb['MCPUIMenuController']);const _0x4465fc={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x30c379(0x2b1),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x30c379(0x2c1),'unknown':_0x30c379(0x2ba),'unauthorized':_0x30c379(0x2dd),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x30c379(0x320),'maxRetriesExceeded':_0x30c379(0x1e1),'clickToConnect':_0x30c379(0x1ab),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x30c379(0x23f),'description':_0x30c379(0x236),'apiKey':_0x30c379(0x250),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x30c379(0x249),'enableAuth':_0x30c379(0x2b8),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x30c379(0x31e),'mcpClientConfig':_0x30c379(0x31e),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x30c379(0x302),'configStep3':_0x30c379(0x24b),'sessionId':_0x30c379(0x1df),'sessionIdDescription':_0x30c379(0x1bf),'authorizationDescription':_0x30c379(0x1ae),'configParameters':_0x30c379(0x1c0),'maxRetries':_0x30c379(0x267),'save':'Save\x20Configuration','saving':_0x30c379(0x327),'note1':_0x30c379(0x1af),'note2':_0x30c379(0x24a),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x30c379(0x27b),'apiApplyInfo':{'title':_0x30c379(0x234),'description':_0x30c379(0x2ad),'univerAiLabel':_0x30c379(0x205),'getStarted':_0x30c379(0x254)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x30c379(0x1ba),'invalidApiKey':_0x30c379(0x2d9)},'connectionStatus':{'disconnected':_0x30c379(0x310),'connecting':_0x30c379(0x247),'connected':_0x30c379(0x1c7),'failed':_0x30c379(0x2e8),'retrying':_0x30c379(0x1e2)},'connectionError':{'unauthorized':_0x30c379(0x1b3),'sessionOccupied':_0x30c379(0x1cb),'networkError':_0x30c379(0x2b7),'maxRetriesExceeded':_0x30c379(0x1cd)}}},_0x5c54b3={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0x30c379(0x221),'failed':_0x30c379(0x227),'retrying':_0x30c379(0x289),'unknown':_0x30c379(0x27c),'unauthorized':_0x30c379(0x2a8),'sessionOccupied':_0x30c379(0x312),'networkError':_0x30c379(0x1f2),'maxRetriesExceeded':_0x30c379(0x2a2),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x30c379(0x284)},'mcpConfig':{'title':_0x30c379(0x19d),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x30c379(0x2f3),'apiKeyPlaceholder':_0x30c379(0x204),'apiKeyHint':_0x30c379(0x2bc),'enableAuth':_0x30c379(0x243),'enableAuthHint':_0x30c379(0x21c),'connectionInfo':_0x30c379(0x32c),'mcpClientConfig':_0x30c379(0x32c),'configInstructions':_0x30c379(0x206),'configStepTitle':_0x30c379(0x27a),'configStep1':_0x30c379(0x2af),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x30c379(0x2b5),'sessionId':_0x30c379(0x244),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x30c379(0x265),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x30c379(0x26c),'saving':'保存中...','note1':_0x30c379(0x1d6),'note2':_0x30c379(0x287),'configSaved':_0x30c379(0x2bb),'configError':_0x30c379(0x2d7),'apiApplyInfo':{'title':_0x30c379(0x1f9),'description':_0x30c379(0x213),'univerAiLabel':_0x30c379(0x1bb),'getStarted':_0x30c379(0x2fa)},'validation':{'apiKeyRequired':_0x30c379(0x235),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x30c379(0x29e),'invalidApiKey':_0x30c379(0x2f2)},'connectionStatus':{'disconnected':_0x30c379(0x25a),'connecting':_0x30c379(0x1d1),'connected':'已连接','failed':_0x30c379(0x2eb),'retrying':_0x30c379(0x23b)},'connectionError':{'unauthorized':_0x30c379(0x2e7),'sessionOccupied':_0x30c379(0x276),'networkError':_0x30c379(0x2df),'maxRetriesExceeded':_0x30c379(0x1c8)}}};var _0x3cb06c=Object[_0x30c379(0x2a4)],_0x184d46=Object['getOwnPropertyDescriptor'],_0x11b9d5=(_0x5cd947,_0x59a698,_0x2bf5d0)=>_0x59a698 in _0x5cd947?_0x3cb06c(_0x5cd947,_0x59a698,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2bf5d0}):_0x5cd947[_0x59a698]=_0x2bf5d0,_0x3fa9a2=(_0x4048e6,_0x264549,_0x32ea96,_0x146bed)=>{const _0x26a647=_0x30c379;for(var _0x3aee5d=_0x146bed>0x1?void 0x0:_0x146bed?_0x184d46(_0x264549,_0x32ea96):_0x264549,_0x187aa4=_0x4048e6[_0x26a647(0x297)]-0x1,_0x5e612a;_0x187aa4>=0x0;_0x187aa4--)(_0x5e612a=_0x4048e6[_0x187aa4])&&(_0x3aee5d=_0x5e612a(_0x3aee5d)||_0x3aee5d);return _0x3aee5d;},_0x17f5b7=(_0x2d875d,_0x51a577)=>(_0x40106d,_0x5abfb0)=>_0x51a577(_0x40106d,_0x5abfb0,_0x2d875d),_0x2ad66a=(_0x38b0db,_0x2a5f93,_0x5b6497)=>_0x11b9d5(_0x38b0db,_0x2a5f93+'',_0x5b6497);_0x1764fb[_0x30c379(0x307)]=class extends _0x59774c[_0x30c379(0x2d2)]{constructor(_0x226839=_0x5f500c,_0x1193a5,_0x5c2db4,_0x5258f6,_0x3727e7,_0x527032){const _0x463adf=_0x30c379;super(),this[_0x463adf(0x1d4)]=_0x226839,this[_0x463adf(0x329)]=_0x1193a5,this[_0x463adf(0x331)]=_0x5c2db4,this[_0x463adf(0x30e)]=_0x5258f6,this['_localStorageService']=_0x3727e7,this[_0x463adf(0x242)]=_0x527032;const {..._0x36978c}=_0x59774c[_0x463adf(0x1fd)]({},_0x5f500c,this[_0x463adf(0x1d4)]);this[_0x463adf(0x331)]['setConfig'](_0x4f5e71,_0x36978c);}async[_0x30c379(0x1b5)](){const _0x404353=_0x30c379,_0x39c2f4=[[_0x1764fb[_0x404353(0x225)]],[_0x1764fb[_0x404353(0x2c9)]],[_0x1764fb['MCPUIMenuController']]];this[_0x404353(0x329)][_0x404353(0x202)](_0x44f18e[_0x404353(0x2d1)])||_0x39c2f4[_0x404353(0x1c2)]([_0x44f18e[_0x404353(0x2d1)],{'useClass':_0x44f18e[_0x404353(0x1e9)]}]),_0x39c2f4[_0x404353(0x24c)](_0xa2fb4e=>this[_0x404353(0x329)][_0x404353(0x299)](_0xa2fb4e)),this[_0x404353(0x329)][_0x404353(0x259)](_0x1764fb[_0x404353(0x225)]),this[_0x404353(0x329)]['get'](_0x1764fb[_0x404353(0x2c9)]),this[_0x404353(0x329)]['get'](_0x1764fb[_0x404353(0x28a)]);}},_0x2ad66a(_0x1764fb[_0x30c379(0x307)],_0x30c379(0x1f7),_0x30c379(0x258)),_0x1764fb[_0x30c379(0x307)]=_0x3fa9a2([_0x59774c[_0x30c379(0x270)](_0x526990[_0x30c379(0x246)]),_0x17f5b7(0x1,_0x59774c['Inject'](_0x59774c[_0x30c379(0x263)])),_0x17f5b7(0x2,_0x59774c['IConfigService']),_0x17f5b7(0x3,_0x193043['IUIPartsService']),_0x17f5b7(0x4,_0x59774c[_0x30c379(0x2e2)]),_0x17f5b7(0x5,_0x59774c[_0x30c379(0x2ef)](_0x59774c[_0x30c379(0x23a)]))],_0x1764fb[_0x30c379(0x307)]),_0x1764fb[_0x30c379(0x214)]=_0x863e4f,_0x1764fb['MCPStatusDisplay']=_0x10cc74,_0x1764fb[_0x30c379(0x1a8)]=_0x25084e,_0x1764fb['enUS']=_0x4465fc,_0x1764fb[_0x30c379(0x19f)]=_0x5c54b3,Object['defineProperty'](_0x1764fb,Symbol[_0x30c379(0x291)],{'value':_0x30c379(0x306)});}));
1
+ function _0x4445(_0x122e02,_0x1a449e){const _0x4e61b7=_0x4e61();return _0x4445=function(_0x4445da,_0x3dd307){_0x4445da=_0x4445da-0x1d5;let _0x5a89d9=_0x4e61b7[_0x4445da];return _0x5a89d9;},_0x4445(_0x122e02,_0x1a449e);}function _0x4e61(){const _0x24db99=['Click\x20to\x20configure\x20MCP','defIds','univer-text-red-500','Get\x20your\x20API\x20key\x20in\x20seconds','<SESSION_ID>','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_injector','MCP_PLUGIN_CONFIG_KEY','Module','MCPConfigPanel','超出最大重试次数,请稍后再试','mcpConfig.authorizationDescription','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_menuManagerService','143688mpOrWc','Copy\x20the\x20JSON\x20configuration\x20below','jsxs','length','OffLineIcon','Button','univer.ai','WebSocketService','_registerComponent','none','url(#on-line-icon_clip0_910_349)','MCP:\x20网络错误','_validateConfig','连接失败','stringify','connectionError$','MCPUIMenuController','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','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','showConfigPanel','value','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','启用身份验证','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','mcpConfig.sessionIdDescription','MCPStatusDisplay','未连接','close','univer-bg-gray-500','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','BuiltInUIPart','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.configInstructions','DependentOn','_configService','<API_KEY>','univer-min-w-0\x20univer-flex-1','_mcpCoreConfig$','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','Tooltip','mcpConfig.connectionInfo','_handleConfigSave','UniverProMcpUi','mcpConfig.note1','网络连接错误,请检查您的网络连接','tag','mcpStatus.disconnected','registerCommand','_apiKey$','mcpConfig.apiApplyInfo.title','object','Connected','UniverMCPPlugin','univer-space-y-3','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','mcpConfig.configError','MessageType','isValid','off-line-icon_clip0_910_343','OpenMCPConfigPanelCommand','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','CloseIcon','0\x200\x2017\x2016','useRef','mcpStatus.clickToConfigure','最大重试次数','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','showStatus','UniverDesign','apiKey','trim','createElement','_dialogService','button','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20连接中...','mcpConfig.configParameters','jsx','16934660qwXQMs','Failed\x20to\x20save\x20configuration','API\x20Key','配置参数:','\x20-\x20','off','univer-mr-2\x20univer-flex\x20univer-text-xl','Disposable','ILogService','FAILED','attrs','defineProperty','path','重启您的\x20MCP\x20客户端以使配置生效','_config','MCP\x20已断开','IDialogService','UniverProMcp','_commandService','symbol','univer-flex\x20univer-items-center','BUTTON','MCPConnectionUIController','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','HelpIcon','IConfigService','102263FAtBfx','open','univer-shrink-0\x20univer-text-red-500','use','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','Success','8XuYUpC','SESSION_ID_OCCUPIED','API\x20密钥','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.apiKeyHint','string','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-bg-red-500','MCPConnectionStatus','@univerjs/core','Connection\x20Failed','8100558ERztGH','CommandType','http://www.w3.org/2000/svg','UNAUTHORIZED','RETRYING','mcpConfig.connectionStatus.retrying','showDeveloperTools','assign','MCP\x20Configuration','mcpConfig.connectionStatus.failed','NONE','连接中...','on-line-icon_clip0_910_349','880lIprKm','MCP\x20Retrying...','_initializeCommands','univer-text-sm\x20univer-text-gray-500','Configuration\x20Parameters:','8kiVyNL','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-gap-2','univer-text-blue-600','配置更改将立即生效','点击连接\x20MCP','forwardRef','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','HEADER_MENU','Enable\x20Authentication','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','noopener\x20noreferrer','_initializeMenus','MenuItemType','Click\x20to\x20connect\x20MCP','_initAutoConnect','sessionId$','CONNECTING','function','mcpConfig.configStep2','univer.plus','M0\x200H16V16H0z','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','enUS','MenuIcon','Retrying...','API\x20密钥长度至少需要\x2010\x20位','react','displayName','univer-size-4','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','BehaviorSubject','您的\x20API\x20密钥安全存储在本地存储中','API\x20密钥不能为空','mcp.apiKey','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','fill','univer-space-y-5','ILocalStorageService','children','UniverNetwork','IMenuManagerService','register','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Bearer\x20','rxjs','@univerjs-pro/mcp','Session\x20ID','Saving...','add','DISCONNECTED','useCallback','forEach','defs','https://mcp.univer.ai/mcp/?univer_session_id=','removeItem','Univer\x20AI\x20Console','_localStorageService','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','MCPConnectionError','MCP\x20Connected','React','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-text-xs\x20univer-text-gray-600','mcpStatus.networkError','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','currentColor','_connectionController','会话\x20ID\x20已被占用,请稍后再试','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','OTHERS','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','MCP\x20Disconnected','MCPConfigUIController','API\x20key\x20with\x20Bearer\x20prefix.','get','mcpConfig.description','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','1em','_localeService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MCP\x20重连中...','MCP:\x20未授权','onStarting','svg','MCP:\x20超出最大重试次数','url(#$1','OnLineIcon','2214425CVNINc','配置步骤:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','启用身份验证以获得安全连接','Univer\x20AI\x20控制台','CONNECTED','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpStatus.clickToConnect','什么是\x20API\x20密钥?','mcpStatus.sessionOccupied','validateApiKey','useObservable','LocaleService','MCP\x20Client\x20Configuration','_initStatusComponent','span','\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','clsx','mcpConfig.configStep3','已连接','Configuration\x20Steps:','What\x20is\x20API\x20Key?','IUIPartsService','UniverIcon','evenodd','重连中...','Authorization:','RibbonStartGroup','connectionStatus$','https://console.univer.ai','__setCustomHeaders','mcpStatus.retrying','show','connectInjector','mcpConfig.apiApplyInfo.description','univer-space-y-4','clipPath','react/jsx-runtime','div','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','getCurrentConfig','API\x20key\x20is\x20required','toString','配置保存成功','_config$','text','mcpStatus.connecting','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','Input','setItem','getOwnPropertyDescriptor','disposeWithMe','0\x200\x2016\x2016','entries','univer-space-y-2','_createConfigPanelComponent','univer-flex-1','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-flex\x20univer-items-start\x20univer-gap-3','univer-bg-blue-500','MCPConnectionController','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-text-yellow-500','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','current','subscribe','mcpConfig.apiApplyInfo.getStarted','点击配置\x20MCP','权限验证失败,请检查您的\x20API\x20密钥','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','white','mcpConfig.validation.apiKeyRequired','off-line-icon','CheckMarkIcon','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mask','zhCN','_messageService','87400JCHCoL','_logService','mcpServerUrl','Enter\x20your\x20API\x20key','_handleConfigure','保存中...','mcpConfig.note2','label','MCP\x20客户端配置','univer-flex\x20univer-gap-3','UniverMCPUIPlugin','@univerjs/ui','mcpConfig.configSaved','includes','bottom','mcpConfig.saving','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','_loading$','enableAutoConnect','colorChannel1','复制以下\x20JSON\x20配置','保存配置','push','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2704242YcJWcQ','NETWORK_ERROR','ISocketService','univer-flex\x20univer-items-center\x20univer-gap-3','univer-text-xs\x20univer-text-gray-500','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-bg-green-500','_mcpConnectionController','mcpConfig.connectionError.maxRetriesExceeded','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','subscribeConfigValue$','Invalid\x20configuration','round','MCP:\x20Unauthorized','getConfig','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Network\x20Error','mcpConfig.title','_uiPartsService','UniverCore','配置保存失败','mcpConfig.validation.apiKeyTooShort','univer-flex\x20univer-items-start\x20univer-gap-2','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','pluginName','Inject','univer-text-sm\x20univer-font-medium','MCP:\x20Max\x20Retries\x20Exceeded','idSuffix','MCP\x20配置','mcp-ui.command.openConfigPanel','Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','errorMessage','mcpStatus.maxRetriesExceeded','MAX_RETRIES_EXCEEDED','toStringTag','Save\x20Configuration','error','_loadStoredApiKey','url(#off-line-icon_clip0_910_343)','Error','next','exports','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpConfig.configStep1','配置无效','useState','mcp-ui.config','_initConfigSync','univer-text-gray-500','带有\x20Bearer\x20前缀的\x20API\x20密钥。','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','ICommandService','Injector','setConfig','has','xlink:href'];_0x4e61=function(){return _0x24db99;};return _0x4e61();}(function(_0x115e85,_0xb859){const _0x876ac7=_0x4445,_0x440051=_0x115e85();while(!![]){try{const _0x4025b1=-parseInt(_0x876ac7(0x333))/0x1+parseInt(_0x876ac7(0x289))/0x2*(-parseInt(_0x876ac7(0x1fe))/0x3)+parseInt(_0x876ac7(0x26c))/0x4*(parseInt(_0x876ac7(0x2e3))/0x5)+-parseInt(_0x876ac7(0x34b))/0x6+parseInt(_0x876ac7(0x266))/0x7*(parseInt(_0x876ac7(0x284))/0x8)+parseInt(_0x876ac7(0x277))/0x9+-parseInt(_0x876ac7(0x24c))/0xa;if(_0x4025b1===_0xb859)break;else _0x440051['push'](_0x440051['shift']());}catch(_0x38e15a){_0x440051['push'](_0x440051['shift']());}}}(_0x4e61,0xecbc1),function(_0x207c93,_0x296eb6){const _0x201ce4=_0x4445;typeof exports==_0x201ce4(0x230)&&typeof module<'u'?_0x296eb6(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==_0x201ce4(0x29b)&&define['amd']?define([_0x201ce4(0x1e1),_0x201ce4(0x275),_0x201ce4(0x308),_0x201ce4(0x2b7),'@univerjs/design',_0x201ce4(0x33e),_0x201ce4(0x2b6),_0x201ce4(0x2a4),'@univerjs/network'],_0x296eb6):(_0x207c93=typeof globalThis<'u'?globalThis:_0x207c93||self,_0x296eb6(_0x207c93[_0x201ce4(0x228)]={},_0x207c93[_0x201ce4(0x35e)],_0x207c93[_0x201ce4(0x2c6)],_0x207c93[_0x201ce4(0x25d)],_0x207c93[_0x201ce4(0x242)],_0x207c93['UniverUi'],_0x207c93[_0x201ce4(0x2b6)],_0x207c93[_0x201ce4(0x2c6)],_0x207c93[_0x201ce4(0x2b1)]));}(this,function(_0x3452af,_0x4a314f,_0x43b48c,_0x40b3f6,_0x374083,_0x3de351,_0x2c2219,_0x49ad4d,_0x3d1dc4){'use strict';const _0x2d9228=_0x4445;var _0x220949=Object['defineProperty'],_0x261d9d=(_0x35abe4,_0x527847,_0x263d4f)=>_0x527847 in _0x35abe4?_0x220949(_0x35abe4,_0x527847,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263d4f}):_0x35abe4[_0x527847]=_0x263d4f,_0x5a141a=(_0x25a7a9,_0x3076f1,_0x3dda05)=>_0x261d9d(_0x25a7a9,typeof _0x3076f1!=_0x2d9228(0x25f)?_0x3076f1+'':_0x3076f1,_0x3dda05);function _0x73d96f({ref:_0x38df67,..._0x307bcc}){const _0x330e03=_0x2d9228,{icon:_0x213720,id:_0x2af132,className:_0x36feef,extend:_0x2368ec,..._0x5cbf98}=_0x307bcc,_0x363799=('univerjs-icon\x20univerjs-icon-'+_0x2af132+'\x20'+(_0x36feef||''))[_0x330e03(0x244)](),_0x707cc3=_0x49ad4d[_0x330e03(0x23d)]('_'+_0x16ceae());return _0x20ab30(_0x213720,''+_0x2af132,{'defIds':_0x213720[_0x330e03(0x1f1)],'idSuffix':_0x707cc3[_0x330e03(0x325)]},{'ref':_0x38df67,'className':_0x363799,..._0x5cbf98},_0x2368ec);}function _0x20ab30(_0xa8d889,_0x5c7e3e,_0x2d3343,_0x52cab6,_0x4dc05a){const _0x1be89b=_0x2d9228;return _0x49ad4d[_0x1be89b(0x245)](_0xa8d889[_0x1be89b(0x22b)],{'key':_0x5c7e3e,..._0x14ab14(_0xa8d889,_0x2d3343,_0x4dc05a),..._0x52cab6},(_0x5e0cfc(_0xa8d889,_0x2d3343)['children']||[])['map']((_0x5c7aef,_0x74e2c9)=>_0x20ab30(_0x5c7aef,_0x5c7e3e+'-'+_0xa8d889[_0x1be89b(0x22b)]+'-'+_0x74e2c9,_0x2d3343,void 0x0,_0x4dc05a)));}function _0x14ab14(_0x1a854d,_0xb128b2,_0x329fc2){const _0xa85d73=_0x2d9228,_0x37d22a={..._0x1a854d[_0xa85d73(0x256)]};_0x329fc2!=null&&_0x329fc2[_0xa85d73(0x346)]&&_0x37d22a[_0xa85d73(0x2ad)]===_0xa85d73(0x346)&&(_0x37d22a[_0xa85d73(0x2ad)]=_0x329fc2[_0xa85d73(0x346)]),_0x1a854d[_0xa85d73(0x22b)]==='mask'&&_0x37d22a['id']&&(_0x37d22a['id']=_0x37d22a['id']+_0xb128b2['idSuffix']),Object[_0xa85d73(0x319)](_0x37d22a)[_0xa85d73(0x2bd)](([_0x21c530,_0x2e5352])=>{const _0x123650=_0xa85d73;_0x21c530===_0x123650(0x330)&&typeof _0x2e5352==_0x123650(0x271)&&(_0x37d22a[_0x21c530]=_0x2e5352['replace'](/url\(#(.*)\)/,_0x123650(0x2e1)+_0xb128b2[_0x123650(0x367)]+')'));});const {defIds:_0x4290f4}=_0xb128b2;return!_0x4290f4||_0x4290f4[_0xa85d73(0x201)]===0x0||(_0x1a854d[_0xa85d73(0x22b)]===_0xa85d73(0x269)&&_0x37d22a[_0xa85d73(0x1ef)]&&(_0x37d22a[_0xa85d73(0x1ef)]=_0x37d22a[_0xa85d73(0x1ef)]+_0xb128b2[_0xa85d73(0x367)]),Object[_0xa85d73(0x319)](_0x37d22a)[_0xa85d73(0x2bd)](([_0x3e9322,_0x3ff2e3])=>{const _0x1e7e10=_0xa85d73;typeof _0x3ff2e3==_0x1e7e10(0x271)&&(_0x37d22a[_0x3e9322]=_0x3ff2e3['replace'](/url\(#(.*)\)/,_0x1e7e10(0x2e1)+_0xb128b2['idSuffix']+')'));})),_0x37d22a;}function _0x5e0cfc(_0x38c774,_0x513c8a){const _0x2d99b8=_0x2d9228;var _0x463c7e;const {defIds:_0x288e92}=_0x513c8a;return!_0x288e92||_0x288e92['length']===0x0?_0x38c774:_0x38c774[_0x2d99b8(0x22b)]===_0x2d99b8(0x2be)&&((_0x463c7e=_0x38c774[_0x2d99b8(0x2b0)])!=null&&_0x463c7e[_0x2d99b8(0x201)])?{..._0x38c774,'children':_0x38c774[_0x2d99b8(0x2b0)]['map'](_0x56d603=>typeof _0x56d603['attrs']['id']==_0x2d99b8(0x271)&&_0x288e92&&_0x288e92['includes'](_0x56d603['attrs']['id'])?{..._0x56d603,'attrs':{..._0x56d603[_0x2d99b8(0x256)],'id':_0x56d603[_0x2d99b8(0x256)]['id']+_0x513c8a[_0x2d99b8(0x367)]}}:_0x56d603)}:_0x38c774;}function _0x16ceae(){const _0x1b2361=_0x2d9228;return Math['random']()[_0x1b2361(0x30e)](0x24)['substring'](0x2,0x8);}_0x73d96f['displayName']=_0x2d9228(0x2fa);const _0x25d44f={'tag':_0x2d9228(0x2df),'attrs':{'xmlns':_0x2d9228(0x279),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2d9228(0x2d9),'height':_0x2d9228(0x2d9)},'children':[{'tag':_0x2d9228(0x258),'attrs':{'fill':_0x2d9228(0x2cb),'d':_0x2d9228(0x224),'fillRule':_0x2d9228(0x2fb),'clipRule':'evenodd'}}]},_0x173530=_0x49ad4d['forwardRef'](function(_0x2b50c2,_0x4925ca){const _0x425a4b=_0x2d9228;return _0x49ad4d['createElement'](_0x73d96f,Object[_0x425a4b(0x27e)]({},_0x2b50c2,{'id':'check-mark-icon','ref':_0x4925ca,'icon':_0x25d44f}));});_0x173530[_0x2d9228(0x2a5)]=_0x2d9228(0x32e);const _0x3c72a4={'tag':'svg','attrs':{'xmlns':_0x2d9228(0x279),'fill':'none','viewBox':_0x2d9228(0x318),'width':_0x2d9228(0x2d9),'height':'1em'},'children':[{'tag':_0x2d9228(0x258),'attrs':{'fill':_0x2d9228(0x2cb),'d':_0x2d9228(0x210)}}]},_0x3c618c=_0x49ad4d['forwardRef'](function(_0x427911,_0xbf177f){const _0x4a4cb8=_0x2d9228;return _0x49ad4d[_0x4a4cb8(0x245)](_0x73d96f,Object[_0x4a4cb8(0x27e)]({},_0x427911,{'id':'close-icon','ref':_0xbf177f,'icon':_0x3c72a4}));});_0x3c618c[_0x2d9228(0x2a5)]=_0x2d9228(0x23b);const _0x3d61cc={'tag':_0x2d9228(0x2df),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2d9228(0x207),'viewBox':_0x2d9228(0x318),'width':_0x2d9228(0x2d9),'height':_0x2d9228(0x2d9)},'children':[{'tag':_0x2d9228(0x258),'attrs':{'fill':_0x2d9228(0x2cb),'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':_0x2d9228(0x258),'attrs':{'fill':'currentColor','d':'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'}},{'tag':'path','attrs':{'fill':_0x2d9228(0x2cb),'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':_0x2d9228(0x2fb),'clipRule':_0x2d9228(0x2fb)}}]},_0x7cf183=_0x49ad4d[_0x2d9228(0x28f)](function(_0x3fcddb,_0x56f953){const _0x395a5f=_0x2d9228;return _0x49ad4d[_0x395a5f(0x245)](_0x73d96f,Object[_0x395a5f(0x27e)]({},_0x3fcddb,{'id':'help-icon','ref':_0x56f953,'icon':_0x3d61cc}));});_0x7cf183['displayName']=_0x2d9228(0x264);const _0x1de11a={'tag':_0x2d9228(0x2df),'attrs':{'xmlns':_0x2d9228(0x279),'fill':'none','viewBox':_0x2d9228(0x318),'width':_0x2d9228(0x2d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2d9228(0x1de)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2d9228(0x293),'strokeLinecap':_0x2d9228(0x357),'strokeLinejoin':_0x2d9228(0x357),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2d9228(0x238)},'children':[{'tag':_0x2d9228(0x258),'attrs':{'fill':_0x2d9228(0x32b),'d':_0x2d9228(0x29e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x11aa95=_0x49ad4d['forwardRef'](function(_0x2e0fce,_0x13a347){const _0x18c160=_0x2d9228;return _0x49ad4d[_0x18c160(0x245)](_0x73d96f,Object['assign']({},_0x2e0fce,{'id':_0x18c160(0x32d),'ref':_0x13a347,'icon':_0x1de11a}));});_0x11aa95[_0x2d9228(0x2a5)]=_0x2d9228(0x202);const _0x41edb5={'tag':_0x2d9228(0x2df),'attrs':{'xmlns':_0x2d9228(0x279),'fill':_0x2d9228(0x207),'viewBox':_0x2d9228(0x23c),'width':'1em','height':_0x2d9228(0x2d9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2d9228(0x208)},'children':[{'tag':_0x2d9228(0x258),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x2d9228(0x357),'strokeLinejoin':_0x2d9228(0x357),'strokeWidth':1.2}}]},{'tag':_0x2d9228(0x2be),'attrs':{},'children':[{'tag':_0x2d9228(0x307),'attrs':{'id':_0x2d9228(0x283)},'children':[{'tag':'path','attrs':{'fill':_0x2d9228(0x32b),'d':_0x2d9228(0x29e),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2d9228(0x283)]},_0x35fecd=_0x49ad4d['forwardRef'](function(_0x520f61,_0x1060c5){const _0x2003c1=_0x2d9228;return _0x49ad4d[_0x2003c1(0x245)](_0x73d96f,Object[_0x2003c1(0x27e)]({},_0x520f61,{'id':'on-line-icon','ref':_0x1060c5,'icon':_0x41edb5}));});_0x35fecd[_0x2d9228(0x2a5)]=_0x2d9228(0x2e2);function _0x24daf5(_0x4a1a1c){const _0x1fe341=_0x2d9228;var _0x3e434f,_0x3b935f;const {mcpCoreConfig:_0x26c93d,onSave:_0x5a2d6e,loading:_0x295e8f=!0x1,config:_0x256005,connectionStatus$:_0x3fe891,connectionError$:_0x16c27f,currentApiKey$:_0x331efb,currentSessionId$:_0x5e7182}=_0x4a1a1c,_0x2c2962=_0x3de351['useDependency'](_0x4a314f['LocaleService']),_0x5f33e3=_0x3de351['useObservable'](_0x3fe891,_0x40b3f6[_0x1fe341(0x274)][_0x1fe341(0x2bb)]),_0x5c45eb=_0x3de351['useObservable'](_0x16c27f,_0x40b3f6[_0x1fe341(0x2c4)][_0x1fe341(0x281)]),_0x80d446=_0x3de351[_0x1fe341(0x2ee)](_0x5e7182,''),_0x1821e9=_0x3de351[_0x1fe341(0x2ee)](_0x331efb,''),[_0x4a7c46,_0x2cac16]=_0x49ad4d[_0x1fe341(0x1e5)](_0x1821e9||''),_0x42c643=!0x0,_0x1c6a9d=_0x256005[_0x1fe341(0x27d)]&&_0x26c93d[_0x1fe341(0x335)]&&(_0x26c93d[_0x1fe341(0x335)][_0x1fe341(0x340)](_0x1fe341(0x29d))||_0x26c93d[_0x1fe341(0x335)][_0x1fe341(0x340)]('univer.ai')),_0x4775d2=(_0x3e434f=_0x26c93d['mcpServerUrl'])==null?void 0x0:_0x3e434f[_0x1fe341(0x340)](_0x1fe341(0x29d)),_0x5d2a49=(_0x3b935f=_0x26c93d[_0x1fe341(0x335)])==null?void 0x0:_0x3b935f[_0x1fe341(0x340)](_0x1fe341(0x204)),_0x228147=_0x4775d2?'https://console.univer.plus':_0x1fe341(0x300),_0xed4e71=_0x256005[_0x1fe341(0x27d)]&&(_0x4775d2||_0x5d2a49),[_0x8fcf0d,_0x11439c]=_0x49ad4d[_0x1fe341(0x1e5)](!_0x4a7c46['trim']()),_0xb4cadf=(_0x2ed554,_0x3bad20)=>{const _0x5de8e7=_0x1fe341;if(_0x3bad20===_0x40b3f6[_0x5de8e7(0x2c4)]['UNAUTHORIZED'])return _0x5de8e7(0x290);switch(_0x2ed554){case _0x40b3f6[_0x5de8e7(0x274)][_0x5de8e7(0x2e8)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x40b3f6[_0x5de8e7(0x274)]['CONNECTING']:case _0x40b3f6[_0x5de8e7(0x274)][_0x5de8e7(0x27b)]:return _0x5de8e7(0x1e2);case _0x40b3f6[_0x5de8e7(0x274)]['FAILED']:return _0x5de8e7(0x290);default:return _0x5de8e7(0x234);}},_0x48c6a7=(_0x4da093,_0x99834c)=>{const _0x373c1d=_0x1fe341;if(_0x99834c===_0x40b3f6[_0x373c1d(0x2c4)][_0x373c1d(0x27a)])return _0x373c1d(0x273);switch(_0x4da093){case _0x40b3f6[_0x373c1d(0x274)]['CONNECTED']:return _0x373c1d(0x351);case _0x40b3f6['MCPConnectionStatus'][_0x373c1d(0x29a)]:case _0x40b3f6[_0x373c1d(0x274)]['RETRYING']:return _0x373c1d(0x320);case _0x40b3f6[_0x373c1d(0x274)][_0x373c1d(0x255)]:return _0x373c1d(0x273);default:return _0x373c1d(0x21a);}},_0x3abce8=_0x421ee2=>{const _0x5538ea=_0x1fe341;switch(_0x421ee2){case _0x40b3f6[_0x5538ea(0x274)]['CONNECTED']:return _0x2c2962['t']('mcpConfig.connectionStatus.connected');case _0x40b3f6[_0x5538ea(0x274)][_0x5538ea(0x29a)]:return _0x2c2962['t']('mcpConfig.connectionStatus.connecting');case _0x40b3f6[_0x5538ea(0x274)]['FAILED']:return _0x2c2962['t'](_0x5538ea(0x280));case _0x40b3f6['MCPConnectionStatus']['RETRYING']:return _0x2c2962['t'](_0x5538ea(0x27c));default:return _0x2c2962['t']('mcpConfig.connectionStatus.disconnected');}},_0x459187=_0x4073a1=>{const _0x5941fe=_0x1fe341;switch(_0x4073a1){case _0x40b3f6[_0x5941fe(0x2c4)][_0x5941fe(0x27a)]:return _0x2c2962['t']('mcpConfig.connectionError.unauthorized');case _0x40b3f6['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x2c2962['t']('mcpConfig.connectionError.sessionOccupied');case _0x40b3f6[_0x5941fe(0x2c4)][_0x5941fe(0x34c)]:return _0x2c2962['t']('mcpConfig.connectionError.networkError');case _0x40b3f6[_0x5941fe(0x2c4)][_0x5941fe(0x1d9)]:return _0x2c2962['t'](_0x5941fe(0x353));default:return'';}},_0x296c60=_0x49ad4d[_0x1fe341(0x2bc)](()=>{const _0xe85b40={..._0x26c93d,'apiKey':_0x4a7c46['trim'](),'enableAuth':_0x42c643};_0x5a2d6e(_0xe85b40);},[_0x26c93d,_0x4a7c46,_0x42c643,_0x5a2d6e]),_0x3030b5=_0x4a7c46[_0x1fe341(0x244)]()[_0x1fe341(0x201)]>0x0;return _0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x20f),'children':[_0x43b48c['jsx'](_0x1fe341(0x309),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x34e),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':_0x1fe341(0x2ac),'children':_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'className':'univer-text-white','children':'⚙'})}),_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'children':_0x43b48c[_0x1fe341(0x24b)]('p',{'className':_0x1fe341(0x287),'children':_0x2c2962['t'](_0x1fe341(0x2d7))})})]})}),_0x43b48c[_0x1fe341(0x200)]('div',{'className':_0x1fe341(0x1fc),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':_0x374083[_0x1fe341(0x2f4)](_0x1fe341(0x32f),_0xb4cadf(_0x5f33e3,_0x5c45eb)),'children':_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x28b),'children':[_0x43b48c['jsx']('div',{'className':_0x374083[_0x1fe341(0x2f4)]('univer-size-2\x20univer-rounded-full',_0x48c6a7(_0x5f33e3,_0x5c45eb))}),_0x43b48c[_0x1fe341(0x24b)]('span',{'className':_0x1fe341(0x365),'children':_0x3abce8(_0x5f33e3)})]})}),_0x5c45eb!==_0x40b3f6[_0x1fe341(0x2c4)][_0x1fe341(0x281)]&&(_0x5f33e3===_0x40b3f6[_0x1fe341(0x274)][_0x1fe341(0x255)]||_0x5c45eb===_0x40b3f6['MCPConnectionError'][_0x1fe341(0x27a)])&&_0x43b48c['jsx'](_0x1fe341(0x309),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':_0x1fe341(0x361),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'className':_0x1fe341(0x268),'children':'⚠️'}),_0x43b48c[_0x1fe341(0x24b)]('p',{'className':_0x1fe341(0x2db),'children':_0x459187(_0x5c45eb)})]})})]}),_0x43b48c['jsx'](_0x1fe341(0x309),{'className':_0x1fe341(0x2c3),'children':_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x2ae),'children':[_0x43b48c['jsxs']('div',{'className':_0x1fe341(0x31a),'children':[_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x33a),{'className':_0x1fe341(0x240),'children':[_0x43b48c['jsx']('span',{'children':'🔑'}),'\x20',_0x2c2962['t']('mcpConfig.apiKey'),_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'className':_0x1fe341(0x1f2),'children':'*'}),_0x1c6a9d&&_0x43b48c[_0x1fe341(0x24b)]('a',{'className':'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','title':_0x2c2962['t'](_0x1fe341(0x22f)),'role':'button','onClick':()=>_0x11439c(!0x0),'children':_0x43b48c[_0x1fe341(0x24b)](_0x7cf183,{})})]}),_0x43b48c[_0x1fe341(0x24b)](_0x374083[_0x1fe341(0x314)],{'type':_0x1fe341(0x311),'placeholder':_0x2c2962['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x4a7c46,'disabled':_0x295e8f,'autoComplete':_0x1fe341(0x251),'onChange':_0x2cac16}),_0x43b48c[_0x1fe341(0x24b)]('p',{'className':_0x1fe341(0x34f),'children':_0x2c2962['t'](_0x1fe341(0x270))})]}),_0x1c6a9d&&_0x8fcf0d&&_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x23a),'children':[_0x43b48c['jsx']('a',{'className':_0x1fe341(0x2d8),'role':'button','onClick':()=>_0x11439c(!0x1),'children':_0x43b48c[_0x1fe341(0x24b)](_0x3c618c,{'className':_0x1fe341(0x2a6)})}),_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x1f5),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':_0x1fe341(0x313),'children':_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'className':_0x1fe341(0x28c),'children':'🚀'})}),_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x31c),'children':[_0x43b48c[_0x1fe341(0x24b)]('h4',{'className':_0x1fe341(0x362),'children':_0x2c2962['t'](_0x1fe341(0x22f))}),_0x43b48c[_0x1fe341(0x24b)]('p',{'className':_0x1fe341(0x26a),'children':_0x2c2962['t'](_0x1fe341(0x305))}),_0x43b48c[_0x1fe341(0x24b)]('div',{'className':_0x1fe341(0x322),'children':_0xed4e71&&_0x43b48c['jsxs']('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0x228147,'target':'_blank','rel':_0x1fe341(0x294),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'children':'🤖'}),_0x2c2962['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':_0x1fe341(0x2d2),'children':['✨','\x20',_0x2c2962['t'](_0x1fe341(0x327))]})]})]})]}),_0x256005[_0x1fe341(0x27d)]&&_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':_0x1fe341(0x21b),'children':[_0x43b48c[_0x1fe341(0x200)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'children':'🔗'}),'\x20',_0x2c2962['t'](_0x1fe341(0x226))]}),_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':_0x1fe341(0x306),'children':[_0x43b48c[_0x1fe341(0x200)]('div',{'className':_0x1fe341(0x233),'children':[_0x43b48c[_0x1fe341(0x24b)]('p',{'className':_0x1fe341(0x2c8),'children':_0x2c2962['t'](_0x1fe341(0x21e))}),_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':_0x1fe341(0x31a),'children':[_0x43b48c[_0x1fe341(0x24b)]('div',{'className':_0x1fe341(0x354),'children':_0x2c2962['t']('mcpConfig.configStepTitle')}),_0x43b48c[_0x1fe341(0x200)]('div',{'className':_0x1fe341(0x263),'children':[_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x28b),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'className':_0x1fe341(0x2a7),'children':'1'}),_0x2c2962['t'](_0x1fe341(0x1e3))]}),_0x43b48c[_0x1fe341(0x200)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'className':_0x1fe341(0x2a7),'children':'2'}),_0x2c2962['t'](_0x1fe341(0x29c))]}),_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x43b48c[_0x1fe341(0x24b)]('span',{'className':_0x1fe341(0x2a7),'children':'3'}),_0x2c2962['t'](_0x1fe341(0x2f5))]})]})]})]}),_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x31a),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x1fe341(0x27f)}),_0x43b48c['jsx']('div',{'className':_0x1fe341(0x2e9),'children':_0x43b48c['jsx']('pre',{'className':_0x1fe341(0x2c7),'children':JSON[_0x1fe341(0x20c)]({'mcpServers':{'univer':{'url':_0x1fe341(0x2bf)+(_0x80d446||_0x1fe341(0x1f4)),'type':'http','headers':{'Authorization':_0x1fe341(0x2b5)+(_0x4a7c46||_0x1fe341(0x221))}}}},null,0x2)})})]}),_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':_0x1fe341(0x233),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':_0x1fe341(0x354),'children':_0x2c2962['t'](_0x1fe341(0x24a))}),_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x31a),'children':[_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x31f),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':_0x1fe341(0x222),'children':[_0x43b48c[_0x1fe341(0x24b)]('div',{'className':_0x1fe341(0x28a),'children':'univer_session_id:'}),_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':_0x1fe341(0x34f),'children':_0x2c2962['t'](_0x1fe341(0x216))})]})]}),_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x43b48c['jsx'](_0x1fe341(0x309),{'className':_0x1fe341(0x29f)}),_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x309),{'className':_0x1fe341(0x222),'children':[_0x43b48c[_0x1fe341(0x24b)]('div',{'className':_0x1fe341(0x28a),'children':_0x1fe341(0x2fd)}),_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':_0x1fe341(0x34f),'children':_0x2c2962['t'](_0x1fe341(0x1fb))})]})]})]})]})]})]}),_0x43b48c[_0x1fe341(0x24b)](_0x374083[_0x1fe341(0x203)],{'onClick':_0x296c60,'disabled':!_0x3030b5||_0x295e8f,'className':_0x1fe341(0x324),'children':_0x295e8f?_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x2f2),{'className':_0x1fe341(0x28b),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x2f2),{'children':'⟲'}),_0x2c2962['t'](_0x1fe341(0x342))]}):_0x43b48c[_0x1fe341(0x200)](_0x1fe341(0x2f2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x43b48c['jsx'](_0x173530,{}),_0x2c2962['t']('mcpConfig.save')]})}),_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':_0x1fe341(0x32a),'children':_0x43b48c[_0x1fe341(0x200)]('div',{'className':_0x1fe341(0x33c),'children':[_0x43b48c['jsx']('span',{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x43b48c['jsxs'](_0x1fe341(0x309),{'className':_0x1fe341(0x26f),'children':[_0x43b48c[_0x1fe341(0x24b)](_0x1fe341(0x309),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x43b48c['jsxs'](_0x1fe341(0x309),{'children':['•',_0x2c2962['t'](_0x1fe341(0x229))]}),_0x43b48c['jsxs'](_0x1fe341(0x309),{'children':['•',_0x2c2962['t'](_0x1fe341(0x339))]})]})]})})]})})]});}const _0x586bb7=_0x2d9228(0x1e6),_0x1c746d={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x5ebf8a=Object[_0x2d9228(0x316)],_0x5856da=(_0x4663af,_0x2fbcd5,_0x32f610,_0x354c6e)=>{const _0xc39e13=_0x2d9228;for(var _0x5bedc0=_0x354c6e>0x1?void 0x0:_0x354c6e?_0x5ebf8a(_0x2fbcd5,_0x32f610):_0x2fbcd5,_0x3f3e46=_0x4663af[_0xc39e13(0x201)]-0x1,_0x43b24f;_0x3f3e46>=0x0;_0x3f3e46--)(_0x43b24f=_0x4663af[_0x3f3e46])&&(_0x5bedc0=_0x43b24f(_0x5bedc0)||_0x5bedc0);return _0x5bedc0;},_0x2a19ad=(_0x3fe821,_0x378795)=>(_0x4d3eeb,_0x533da3)=>_0x378795(_0x4d3eeb,_0x533da3,_0x3fe821);const _0x5c3c23=_0x2d9228(0x2ab),_0x1634fb='mcp-config-dialog';_0x3452af[_0x2d9228(0x2d4)]=class extends _0x4a314f['Disposable']{constructor(_0x489a09,_0xb4f6e9,_0x15f51f,_0x598176,_0x5bb834,_0x368702,_0x38e29b,_0x1338b5,_0xc34bd4,_0x2c04a3){const _0x53d609=_0x2d9228;super(),_0x5a141a(this,_0x53d609(0x344),new _0x2c2219[(_0x53d609(0x2a8))](!0x1)),_0x5a141a(this,_0x53d609(0x223),new _0x2c2219[(_0x53d609(0x2a8))]({})),_0x5a141a(this,_0x53d609(0x310),new _0x2c2219[(_0x53d609(0x2a8))]({})),_0x5a141a(this,_0x53d609(0x22e),new _0x2c2219['BehaviorSubject']('')),_0x5a141a(this,'_handleConfigSave',async _0x2963c8=>{const _0x4e94e2=_0x53d609;var _0x26b92f,_0x3b82af;this['_loading$'][_0x4e94e2(0x1e0)](!0x0);try{const _0x278a4f=await this[_0x4e94e2(0x20a)](_0x2963c8);if(!_0x278a4f[_0x4e94e2(0x237)]){this['_messageService'][_0x4e94e2(0x303)]({'type':_0x374083['MessageType'][_0x4e94e2(0x1df)],'content':_0x278a4f[_0x4e94e2(0x1d7)]||this[_0x4e94e2(0x2da)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x2963c8[_0x4e94e2(0x243)]?await this[_0x4e94e2(0x2c2)][_0x4e94e2(0x315)](_0x5c3c23,_0x2963c8[_0x4e94e2(0x243)][_0x4e94e2(0x244)]()):await this[_0x4e94e2(0x2c2)][_0x4e94e2(0x2c0)](_0x5c3c23),this[_0x4e94e2(0x22e)][_0x4e94e2(0x1e0)](((_0x26b92f=_0x2963c8[_0x4e94e2(0x243)])==null?void 0x0:_0x26b92f[_0x4e94e2(0x244)]())||''),this[_0x4e94e2(0x352)][_0x4e94e2(0x301)]({'Authorization':_0x4e94e2(0x2b5)+((_0x3b82af=_0x2963c8[_0x4e94e2(0x243)])==null?void 0x0:_0x3b82af[_0x4e94e2(0x244)]())}),this['_messageService'][_0x4e94e2(0x303)]({'type':_0x374083[_0x4e94e2(0x236)][_0x4e94e2(0x26b)],'content':this['_localeService']['t'](_0x4e94e2(0x33f))}),setTimeout(()=>{const _0x39c25b=_0x4e94e2;this[_0x39c25b(0x246)][_0x39c25b(0x219)](_0x1634fb);},0x320);}catch(_0x4fad52){this['_logService'][_0x4e94e2(0x1dc)](_0x4e94e2(0x272),_0x4fad52),this['_messageService']['show']({'type':_0x374083[_0x4e94e2(0x236)]['Error'],'content':this[_0x4e94e2(0x2da)]['t'](_0x4e94e2(0x235))});}finally{this[_0x4e94e2(0x344)][_0x4e94e2(0x1e0)](!0x1);}}),(this['_injector']=_0x489a09,this[_0x53d609(0x35d)]=_0xb4f6e9,this[_0x53d609(0x220)]=_0x15f51f,this[_0x53d609(0x2c2)]=_0x598176,this[_0x53d609(0x246)]=_0x5bb834,this[_0x53d609(0x332)]=_0x368702,this['_componentManager']=_0x38e29b,this[_0x53d609(0x2da)]=_0x1338b5,this[_0x53d609(0x334)]=_0xc34bd4,this[_0x53d609(0x352)]=_0x2c04a3,this[_0x53d609(0x1e7)](),this['_loadStoredApiKey'](),this[_0x53d609(0x206)]());}['showConfigPanel'](){const _0x167196=_0x2d9228,_0x42b558=this['_configService']['getConfig'](_0x586bb7);_0x42b558!=null&&_0x42b558[_0x167196(0x27d)]&&this[_0x167196(0x246)][_0x167196(0x267)]({'id':_0x1634fb,'title':{'title':this[_0x167196(0x2da)]['t'](_0x167196(0x35c))},'children':{'label':_0x167196(0x1f9)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x407f7b=_0x167196;this[_0x407f7b(0x246)][_0x407f7b(0x219)](_0x1634fb);}});}[_0x2d9228(0x30c)](){const _0x1bca52=_0x2d9228;return this[_0x1bca52(0x223)][_0x1bca52(0x212)];}[_0x2d9228(0x206)](){const _0x34d6ca=_0x2d9228;this['disposeWithMe'](this['_componentManager'][_0x34d6ca(0x2b3)]('MCPConfigPanel',this[_0x34d6ca(0x31b)]()));}['_createConfigPanelComponent'](){const _0x1588d0=_0x2d9228;return _0x3de351[_0x1588d0(0x304)](()=>{const _0x5d4132=_0x1588d0;var _0xb851e3,_0x255930,_0x1a53f8;return _0x43b48c['jsx'](_0x24daf5,{'config':this[_0x5d4132(0x310)]['value'],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x5d4132(0x212)],'currentApiKey$':this[_0x5d4132(0x22e)],'onSave':this[_0x5d4132(0x227)],'loading':this['_loading$'][_0x5d4132(0x212)],'connectionStatus$':(_0xb851e3=this[_0x5d4132(0x352)])==null?void 0x0:_0xb851e3[_0x5d4132(0x2ff)],'connectionError$':(_0x255930=this[_0x5d4132(0x352)])==null?void 0x0:_0x255930[_0x5d4132(0x20d)],'currentSessionId$':(_0x1a53f8=this['_mcpConnectionController'])==null?void 0x0:_0x1a53f8[_0x5d4132(0x299)]});},this[_0x1588d0(0x1f6)]);}[_0x2d9228(0x1e7)](){const _0x3268bc=_0x2d9228;this[_0x3268bc(0x317)](this[_0x3268bc(0x220)][_0x3268bc(0x355)](_0x40b3f6[_0x3268bc(0x1f7)])[_0x3268bc(0x326)](_0x33f565=>{this['_mcpCoreConfig$']['next'](_0x33f565||{});}));const _0x9d6a32=this[_0x3268bc(0x220)]['getConfig'](_0x40b3f6[_0x3268bc(0x1f7)]);this[_0x3268bc(0x223)][_0x3268bc(0x1e0)](_0x9d6a32||{}),this[_0x3268bc(0x317)](this[_0x3268bc(0x220)][_0x3268bc(0x355)](_0x586bb7)[_0x3268bc(0x326)](_0x102b78=>{const _0x198615=_0x3268bc;this['_config$'][_0x198615(0x1e0)](_0x102b78||{});}));const _0x12960d=this[_0x3268bc(0x220)]['getConfig'](_0x586bb7);this[_0x3268bc(0x310)][_0x3268bc(0x1e0)](_0x12960d||{});}async[_0x2d9228(0x1dd)](){const _0x15d6a8=_0x2d9228,_0x3ccc59=this['_configService']['getConfig'](_0x586bb7);if(!(_0x3ccc59!=null&&_0x3ccc59[_0x15d6a8(0x27d)]))return;const _0x254c5a=await this[_0x15d6a8(0x2c2)]['getItem'](_0x5c3c23);_0x254c5a&&(this['_mcpConnectionController'][_0x15d6a8(0x301)]({'Authorization':_0x15d6a8(0x2b5)+_0x254c5a}),this[_0x15d6a8(0x22e)]['next'](_0x254c5a));}async[_0x2d9228(0x20a)](_0x4c781b){const _0x40f6e6=_0x2d9228;if(!_0x4c781b[_0x40f6e6(0x243)]||_0x4c781b['apiKey']['trim']()[_0x40f6e6(0x201)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x40f6e6(0x2da)]['t'](_0x40f6e6(0x32c))};if(_0x4c781b[_0x40f6e6(0x243)][_0x40f6e6(0x244)]()[_0x40f6e6(0x201)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x40f6e6(0x2da)]['t'](_0x40f6e6(0x360))};try{const _0x2221ef=await this[_0x40f6e6(0x1f6)][_0x40f6e6(0x2d6)](_0x40b3f6[_0x40f6e6(0x321)])[_0x40f6e6(0x2ed)](_0x4c781b['apiKey']['trim']());return _0x2221ef[_0x40f6e6(0x237)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2221ef['error']||this['_localeService']['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x2e0415){return console['warn'](_0x40f6e6(0x1ea),_0x2e0415),{'isValid':!0x0};}}},_0x3452af[_0x2d9228(0x2d4)]=_0x5856da([_0x2a19ad(0x0,_0x4a314f[_0x2d9228(0x364)](_0x4a314f[_0x2d9228(0x1ec)])),_0x2a19ad(0x1,_0x3de351['IUIPartsService']),_0x2a19ad(0x2,_0x4a314f[_0x2d9228(0x265)]),_0x2a19ad(0x3,_0x4a314f[_0x2d9228(0x2af)]),_0x2a19ad(0x4,_0x3de351[_0x2d9228(0x25c)]),_0x2a19ad(0x5,_0x3de351['IMessageService']),_0x2a19ad(0x6,_0x4a314f['Inject'](_0x3de351['ComponentManager'])),_0x2a19ad(0x7,_0x4a314f[_0x2d9228(0x364)](_0x4a314f['LocaleService'])),_0x2a19ad(0x8,_0x4a314f[_0x2d9228(0x254)]),_0x2a19ad(0x9,_0x4a314f[_0x2d9228(0x364)](_0x40b3f6[_0x2d9228(0x321)]))],_0x3452af[_0x2d9228(0x2d4)]);const _0x20f2ab={'id':_0x2d9228(0x369),'type':_0x4a314f[_0x2d9228(0x278)]['COMMAND'],'handler':async(_0x34d8f1,_0x51e1f5)=>(_0x34d8f1[_0x2d9228(0x2d6)](_0x3452af[_0x2d9228(0x2d4)])['showConfigPanel'](),!0x0)};function _0x39b878(_0xac8b7b,_0x166672){const _0xb8ccb=_0x2d9228;switch(_0xac8b7b){case _0x40b3f6[_0xb8ccb(0x274)]['DISCONNECTED']:return _0xb8ccb(0x22c);case _0x40b3f6[_0xb8ccb(0x274)]['CONNECTING']:return _0xb8ccb(0x312);case _0x40b3f6[_0xb8ccb(0x274)][_0xb8ccb(0x2e8)]:return'mcpStatus.connected';case _0x40b3f6[_0xb8ccb(0x274)][_0xb8ccb(0x255)]:switch(_0x166672){case _0x40b3f6[_0xb8ccb(0x2c4)][_0xb8ccb(0x27a)]:return'mcpStatus.unauthorized';case _0x40b3f6['MCPConnectionError'][_0xb8ccb(0x26d)]:return _0xb8ccb(0x2ec);case _0x40b3f6['MCPConnectionError']['NETWORK_ERROR']:return _0xb8ccb(0x2c9);case _0x40b3f6['MCPConnectionError'][_0xb8ccb(0x1d9)]:return _0xb8ccb(0x1d8);default:return'mcpStatus.failed';}case _0x40b3f6[_0xb8ccb(0x274)][_0xb8ccb(0x27b)]:return _0xb8ccb(0x302);default:return'mcpStatus.unknown';}}function _0x7b84dd(_0x1815f6,_0x12a508,_0x16c838,_0x4d6c0a=!0x0){const _0x545508=_0x2d9228,_0x119248=_0x39b878(_0x1815f6,_0x12a508),_0x1fb3f7=_0x16c838['t'](_0x119248);return _0x4d6c0a?_0x1815f6===_0x40b3f6[_0x545508(0x274)][_0x545508(0x2bb)]&&_0x12a508===_0x40b3f6['MCPConnectionError'][_0x545508(0x27a)]?_0x1fb3f7+_0x545508(0x250)+_0x16c838['t'](_0x545508(0x23e)):_0x1815f6===_0x40b3f6[_0x545508(0x274)][_0x545508(0x2e8)]?''+_0x1fb3f7:_0x1815f6===_0x40b3f6[_0x545508(0x274)][_0x545508(0x2bb)]||_0x1815f6===_0x40b3f6[_0x545508(0x274)]['FAILED']?_0x1fb3f7+'\x20-\x20'+_0x16c838['t'](_0x545508(0x2ea)):_0x1fb3f7:_0x1fb3f7;}function _0x250b55(_0x4d556f){const _0x2ea1d1=_0x2d9228;switch(_0x4d556f){case _0x40b3f6['MCPConnectionStatus'][_0x2ea1d1(0x2e8)]:return'univer-text-green-500';case _0x40b3f6['MCPConnectionStatus']['CONNECTING']:case _0x40b3f6[_0x2ea1d1(0x274)][_0x2ea1d1(0x27b)]:return _0x2ea1d1(0x323);case _0x40b3f6[_0x2ea1d1(0x274)][_0x2ea1d1(0x255)]:case _0x40b3f6[_0x2ea1d1(0x274)][_0x2ea1d1(0x2bb)]:return'univer-text-red-500';default:return _0x2ea1d1(0x1e8);}}function _0x3b220e(_0x522cb2){const _0x331b69=_0x2d9228,{status$:_0x4047de,error$:_0x588db5,onConfigure:_0x5f520e,showClickable:_0x20d443=!0x0}=_0x522cb2,_0x3195b4=_0x3de351[_0x331b69(0x2ee)](_0x4047de,_0x40b3f6[_0x331b69(0x274)]['DISCONNECTED']),_0x470604=_0x3de351['useObservable'](_0x588db5,_0x40b3f6[_0x331b69(0x2c4)]['NONE']),_0x257d94=_0x3de351['useDependency'](_0x4a314f['LocaleService']),_0x5052af=_0x3195b4===_0x40b3f6[_0x331b69(0x274)][_0x331b69(0x2e8)];_0x3195b4===_0x40b3f6['MCPConnectionStatus']['CONNECTING']||_0x40b3f6[_0x331b69(0x274)][_0x331b69(0x27b)];const _0x3226a7=_0x257d94['t'](_0x39b878(_0x3195b4,_0x470604)),_0x37ad85=_0x7b84dd(_0x3195b4,_0x470604,_0x257d94,_0x20d443),_0xf2abe8=_0x250b55(_0x3195b4),_0x5b61a1=_0x5052af?_0x43b48c['jsx'](_0x35fecd,{}):_0x43b48c[_0x331b69(0x24b)](_0x11aa95,{}),_0x5e9794=_0x49ad4d[_0x331b69(0x2bc)](()=>{_0x20d443&&_0x5f520e&&_0x5f520e();},[_0x20d443,_0x5f520e]);function _0x523c8f(){const _0x260a79=_0x331b69;return _0x43b48c['jsxs']('div',{'className':_0x374083['clsx'](_0x260a79(0x260),_0x20d443&&_0x5f520e&&_0x260a79(0x2f3)),'role':_0x260a79(0x247),'onClick':_0x20d443&&_0x5f520e?_0x5e9794:void 0x0,'children':[_0x43b48c[_0x260a79(0x24b)](_0x260a79(0x309),{'className':_0x374083[_0x260a79(0x2f4)](_0x260a79(0x252),_0xf2abe8),'children':_0x5b61a1}),_0x43b48c[_0x260a79(0x24b)](_0x260a79(0x309),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3226a7})]});}return _0x43b48c[_0x331b69(0x24b)](_0x374083[_0x331b69(0x225)],{'title':_0x37ad85,'placement':_0x331b69(0x341),'children':_0x523c8f()});}var _0x1e0891=Object[_0x2d9228(0x316)],_0x42df5f=(_0x43547d,_0x4302b5,_0x230565,_0x71222d)=>{const _0x2623d9=_0x2d9228;for(var _0x4e9f78=_0x71222d>0x1?void 0x0:_0x71222d?_0x1e0891(_0x4302b5,_0x230565):_0x4302b5,_0x461094=_0x43547d[_0x2623d9(0x201)]-0x1,_0x1bc9a1;_0x461094>=0x0;_0x461094--)(_0x1bc9a1=_0x43547d[_0x461094])&&(_0x4e9f78=_0x1bc9a1(_0x4e9f78)||_0x4e9f78);return _0x4e9f78;},_0x494de9=(_0x4484d8,_0x52d6ea)=>(_0x42d711,_0x58af0f)=>_0x52d6ea(_0x42d711,_0x58af0f,_0x4484d8);_0x3452af['MCPConnectionUIController']=class extends _0x4a314f[_0x2d9228(0x253)]{constructor(_0xa8b284,_0x58e5f3,_0x113f53,_0x373f46){const _0x120f41=_0x2d9228;super(),this['_injector']=_0xa8b284,this['_connectionController']=_0x58e5f3,this[_0x120f41(0x35d)]=_0x113f53,this[_0x120f41(0x220)]=_0x373f46,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x2d9228(0x298)](){const _0x417a8b=_0x2d9228,_0xa3d354=this['_configService'][_0x417a8b(0x359)](_0x586bb7);_0xa3d354!=null&&_0xa3d354[_0x417a8b(0x27d)]&&(this['_connectionController'][_0x417a8b(0x345)]=!0x1);}[_0x2d9228(0x2f1)](){const _0x40f3e0=_0x2d9228,_0x4c9b79=this[_0x40f3e0(0x220)][_0x40f3e0(0x359)](_0x586bb7);(_0x4c9b79==null?void 0x0:_0x4c9b79[_0x40f3e0(0x241)])!==!0x1&&this[_0x40f3e0(0x317)](this['_uiPartsService']['registerComponent'](_0x3de351[_0x40f3e0(0x21c)][_0x40f3e0(0x291)],()=>{const _0x470205=_0x40f3e0;var _0x26e914;return _0x3de351[_0x470205(0x304)](_0x2525fb({'status$':this[_0x470205(0x2cc)]['connectionStatus$'],'error$':this[_0x470205(0x2cc)][_0x470205(0x20d)],'onConfigure':()=>this[_0x470205(0x337)](),'showClickable':(_0x26e914=_0x4c9b79==null?void 0x0:_0x4c9b79['showDeveloperTools'])!=null?_0x26e914:!0x1}),this[_0x470205(0x1f6)]);}));}[_0x2d9228(0x337)](){const _0x59d494=_0x2d9228;this['_injector'][_0x59d494(0x2d6)](_0x3452af[_0x59d494(0x2d4)])[_0x59d494(0x211)]();}},_0x3452af[_0x2d9228(0x262)]=_0x42df5f([_0x494de9(0x0,_0x4a314f[_0x2d9228(0x364)](_0x4a314f['Injector'])),_0x494de9(0x1,_0x4a314f['Inject'](_0x40b3f6[_0x2d9228(0x321)])),_0x494de9(0x2,_0x3de351['IUIPartsService']),_0x494de9(0x3,_0x4a314f[_0x2d9228(0x265)])],_0x3452af[_0x2d9228(0x262)]);function _0x2525fb(_0x2f6917){const {status$:_0x329faf,error$:_0x3a7417,onConfigure:_0x1bbcc8,showClickable:_0x5df896}=_0x2f6917;return function(){const _0x3acec1=_0x4445;return _0x43b48c[_0x3acec1(0x24b)](_0x3b220e,{'status$':_0x329faf,'error$':_0x3a7417,'onConfigure':_0x1bbcc8,'showClickable':_0x5df896});};}function _0x322b42(_0x4e9b41){const _0x2d386c=_0x2d9228;return{'id':_0x20f2ab['id'],'type':_0x3de351[_0x2d386c(0x296)][_0x2d386c(0x261)],'icon':_0x2d386c(0x2a1),'title':'mcpConfig.title','tooltip':_0x2d386c(0x35c)};}const _0x31936e={[_0x3de351[_0x2d9228(0x2fe)][_0x2d9228(0x2d1)]]:{[_0x20f2ab['id']]:{'order':0xa,'menuItemFactory':_0x322b42}}};var _0x227dd1=Object['getOwnPropertyDescriptor'],_0x48d47d=(_0x12b256,_0x516770,_0x256c10,_0x4dc63a)=>{const _0x5d72e3=_0x2d9228;for(var _0x36a931=_0x4dc63a>0x1?void 0x0:_0x4dc63a?_0x227dd1(_0x516770,_0x256c10):_0x516770,_0x19b599=_0x12b256[_0x5d72e3(0x201)]-0x1,_0x585d90;_0x19b599>=0x0;_0x19b599--)(_0x585d90=_0x12b256[_0x19b599])&&(_0x36a931=_0x585d90(_0x36a931)||_0x36a931);return _0x36a931;},_0xead9cc=(_0x319977,_0x3546ee)=>(_0x7fd21c,_0x2c293a)=>_0x3546ee(_0x7fd21c,_0x2c293a,_0x319977);_0x3452af['MCPUIMenuController']=class extends _0x4a314f[_0x2d9228(0x253)]{constructor(_0x317ea7,_0x2156db){const _0x4a17bd=_0x2d9228;super(),this[_0x4a17bd(0x25e)]=_0x317ea7,this[_0x4a17bd(0x1fd)]=_0x2156db,this['_initializeCommands'](),this[_0x4a17bd(0x295)]();}[_0x2d9228(0x286)](){[_0x20f2ab]['forEach'](_0x13168c=>{const _0x535d61=_0x4445;this['disposeWithMe'](this['_commandService'][_0x535d61(0x22d)](_0x13168c));});}[_0x2d9228(0x295)](){const _0x43e5e5=_0x2d9228;this[_0x43e5e5(0x1fd)]['mergeMenu'](_0x31936e);}},_0x3452af[_0x2d9228(0x20e)]=_0x48d47d([_0xead9cc(0x0,_0x4a314f[_0x2d9228(0x1eb)]),_0xead9cc(0x1,_0x3de351[_0x2d9228(0x2b2)])],_0x3452af[_0x2d9228(0x20e)]);const _0x651f2e={'mcpStatus':{'disconnected':_0x2d9228(0x2d3),'connecting':'MCP\x20Connecting...','connected':_0x2d9228(0x2c5),'failed':_0x2d9228(0x2cf),'retrying':_0x2d9228(0x285),'unknown':_0x2d9228(0x30b),'unauthorized':_0x2d9228(0x358),'sessionOccupied':_0x2d9228(0x2d0),'networkError':_0x2d9228(0x35b),'maxRetriesExceeded':_0x2d9228(0x366),'clickToConnect':_0x2d9228(0x297),'clickToConfigure':_0x2d9228(0x1f0)},'mcpConfig':{'title':_0x2d9228(0x27f),'description':_0x2d9228(0x34a),'apiKey':_0x2d9228(0x24e),'apiKeyPlaceholder':_0x2d9228(0x336),'apiKeyHint':_0x2d9228(0x30a),'enableAuth':_0x2d9228(0x292),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x2d9228(0x2f0),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2d9228(0x35a),'configStepTitle':_0x2d9228(0x2f7),'configStep1':_0x2d9228(0x1ff),'configStep2':_0x2d9228(0x31d),'configStep3':_0x2d9228(0x2b4),'sessionId':_0x2d9228(0x2b8),'sessionIdDescription':_0x2d9228(0x215),'authorizationDescription':_0x2d9228(0x2d5),'configParameters':_0x2d9228(0x288),'maxRetries':'Max\x20Retries','save':_0x2d9228(0x1db),'saving':_0x2d9228(0x2b9),'note1':_0x2d9228(0x343),'note2':_0x2d9228(0x31e),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x2d9228(0x24d),'apiApplyInfo':{'title':_0x2d9228(0x2f8),'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':_0x2d9228(0x2c1),'getStarted':_0x2d9228(0x1f3)},'validation':{'apiKeyRequired':_0x2d9228(0x30d),'apiKeyTooShort':_0x2d9228(0x2ca),'invalidConfig':_0x2d9228(0x356),'invalidApiKey':_0x2d9228(0x248)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2d9228(0x1d5),'connected':_0x2d9228(0x231),'failed':_0x2d9228(0x276),'retrying':_0x2d9228(0x2a2)},'connectionError':{'unauthorized':_0x2d9228(0x1d6),'sessionOccupied':_0x2d9228(0x213),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2d9228(0x2e5)}}},_0x556e22={'mcpStatus':{'disconnected':_0x2d9228(0x25b),'connecting':_0x2d9228(0x249),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x2d9228(0x2dc),'unknown':'MCP\x20状态未知','unauthorized':_0x2d9228(0x2dd),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x2d9228(0x209),'maxRetriesExceeded':_0x2d9228(0x2e0),'clickToConnect':_0x2d9228(0x28e),'clickToConfigure':_0x2d9228(0x328)},'mcpConfig':{'title':_0x2d9228(0x368),'description':_0x2d9228(0x21d),'apiKey':_0x2d9228(0x26e),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x2d9228(0x214),'enableAuthHint':_0x2d9228(0x2e6),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x2d9228(0x33b),'configInstructions':_0x2d9228(0x350),'configStepTitle':_0x2d9228(0x2e4),'configStep1':_0x2d9228(0x347),'configStep2':_0x2d9228(0x2ce),'configStep3':_0x2d9228(0x259),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x2d9228(0x1e9),'configParameters':_0x2d9228(0x24f),'maxRetries':_0x2d9228(0x23f),'save':_0x2d9228(0x348),'saving':_0x2d9228(0x338),'note1':_0x2d9228(0x28d),'note2':_0x2d9228(0x2a9),'configSaved':_0x2d9228(0x30f),'configError':_0x2d9228(0x35f),'apiApplyInfo':{'title':_0x2d9228(0x2eb),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x2d9228(0x2e7),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x2d9228(0x2aa),'apiKeyTooShort':_0x2d9228(0x2a3),'invalidConfig':_0x2d9228(0x1e4),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x2d9228(0x218),'connecting':_0x2d9228(0x282),'connected':_0x2d9228(0x2f6),'failed':_0x2d9228(0x20b),'retrying':_0x2d9228(0x2fc)},'connectionError':{'unauthorized':_0x2d9228(0x329),'sessionOccupied':_0x2d9228(0x2cd),'networkError':_0x2d9228(0x22a),'maxRetriesExceeded':_0x2d9228(0x1fa)}}};var _0x430113=Object[_0x2d9228(0x257)],_0x4ce268=Object[_0x2d9228(0x316)],_0x5baeca=(_0x3b7f6c,_0x1b7685,_0x52bb7e)=>_0x1b7685 in _0x3b7f6c?_0x430113(_0x3b7f6c,_0x1b7685,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52bb7e}):_0x3b7f6c[_0x1b7685]=_0x52bb7e,_0x1ee6f3=(_0x538b31,_0x1fbe82,_0x17c91c,_0x5a459c)=>{const _0x433b25=_0x2d9228;for(var _0x34256e=_0x5a459c>0x1?void 0x0:_0x5a459c?_0x4ce268(_0x1fbe82,_0x17c91c):_0x1fbe82,_0x2a49a1=_0x538b31[_0x433b25(0x201)]-0x1,_0x26d7a9;_0x2a49a1>=0x0;_0x2a49a1--)(_0x26d7a9=_0x538b31[_0x2a49a1])&&(_0x34256e=_0x26d7a9(_0x34256e)||_0x34256e);return _0x34256e;},_0x2282f0=(_0x66b95a,_0x1769a4)=>(_0x2fcd24,_0x101d64)=>_0x1769a4(_0x2fcd24,_0x101d64,_0x66b95a),_0x5965a3=(_0x41e6ec,_0x3b8651,_0x5a2302)=>_0x5baeca(_0x41e6ec,_0x3b8651+'',_0x5a2302);_0x3452af['UniverMCPUIPlugin']=class extends _0x4a314f['Plugin']{constructor(_0x4a2269=_0x1c746d,_0x537a29,_0x1e8ab2,_0x4062aa,_0x213741,_0x38bc11){const _0x17fea3=_0x2d9228;super(),this[_0x17fea3(0x25a)]=_0x4a2269,this[_0x17fea3(0x1f6)]=_0x537a29,this[_0x17fea3(0x220)]=_0x1e8ab2,this[_0x17fea3(0x35d)]=_0x4062aa,this[_0x17fea3(0x2c2)]=_0x213741,this[_0x17fea3(0x2da)]=_0x38bc11;const {..._0x4271bd}=_0x4a314f['merge']({},_0x1c746d,this[_0x17fea3(0x25a)]);this[_0x17fea3(0x220)][_0x17fea3(0x1ed)](_0x586bb7,_0x4271bd);}async[_0x2d9228(0x2de)](){const _0x39cbdd=_0x2d9228,_0x2dd893=[[_0x3452af['MCPConnectionUIController']],[_0x3452af['MCPConfigUIController']],[_0x3452af[_0x39cbdd(0x20e)]]];this['_injector'][_0x39cbdd(0x1ee)](_0x3d1dc4[_0x39cbdd(0x34d)])||_0x2dd893[_0x39cbdd(0x349)]([_0x3d1dc4[_0x39cbdd(0x34d)],{'useClass':_0x3d1dc4[_0x39cbdd(0x205)]}]),_0x2dd893['forEach'](_0x25387f=>this[_0x39cbdd(0x1f6)][_0x39cbdd(0x2ba)](_0x25387f)),this[_0x39cbdd(0x1f6)][_0x39cbdd(0x2d6)](_0x3452af[_0x39cbdd(0x262)]),this[_0x39cbdd(0x1f6)][_0x39cbdd(0x2d6)](_0x3452af[_0x39cbdd(0x2d4)]),this[_0x39cbdd(0x1f6)][_0x39cbdd(0x2d6)](_0x3452af[_0x39cbdd(0x20e)]);}},_0x5965a3(_0x3452af['UniverMCPUIPlugin'],_0x2d9228(0x363),'MCP_UI_PLUGIN'),_0x3452af[_0x2d9228(0x33d)]=_0x1ee6f3([_0x4a314f[_0x2d9228(0x21f)](_0x40b3f6[_0x2d9228(0x232)]),_0x2282f0(0x1,_0x4a314f['Inject'](_0x4a314f[_0x2d9228(0x1ec)])),_0x2282f0(0x2,_0x4a314f[_0x2d9228(0x265)]),_0x2282f0(0x3,_0x3de351[_0x2d9228(0x2f9)]),_0x2282f0(0x4,_0x4a314f['ILocalStorageService']),_0x2282f0(0x5,_0x4a314f['Inject'](_0x4a314f[_0x2d9228(0x2ef)]))],_0x3452af[_0x2d9228(0x33d)]),_0x3452af[_0x2d9228(0x1f9)]=_0x24daf5,_0x3452af[_0x2d9228(0x217)]=_0x3b220e,_0x3452af[_0x2d9228(0x239)]=_0x20f2ab,_0x3452af[_0x2d9228(0x2a0)]=_0x651f2e,_0x3452af[_0x2d9228(0x331)]=_0x556e22,Object['defineProperty'](_0x3452af,Symbol[_0x2d9228(0x1da)],{'value':_0x2d9228(0x1f8)});}));
@@ -1 +1 @@
1
- function _0x6246(){var _0x20ae47=['Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully','1374412UwFexR','exports','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2226JeOOJd','Saving...','3131997qoecNn','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','Invalid\x20configuration','MCP:\x20Unauthorized','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','12BvcSML','MCP\x20Client\x20Configuration','What\x20is\x20API\x20Key?','MCP\x20Retrying...','6140UdtJJP','Click\x20to\x20configure\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','UniverProMcpUiCaES','Enable\x20authentication\x20for\x20secure\x20connections','Disconnected','MCP:\x20Network\x20Error','Retrying...','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Session\x20ID\x20Occupied','amd','176505mFsMzr','Enter\x20your\x20API\x20key','330GRwAAl','Click\x20to\x20connect\x20MCP','4144qPdGHt','1368XpXTBT','MCP\x20Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Univer\x20AI\x20Console','Connected','object','Configuration\x20Parameters:','2GjYwbd','685sOSALh','199790DeBhCK'];_0x6246=function(){return _0x20ae47;};return _0x6246();}function _0xc501(_0x1e9947,_0xff2358){var _0x6246c4=_0x6246();return _0xc501=function(_0xc501b6,_0xd209f6){_0xc501b6=_0xc501b6-0x136;var _0x566377=_0x6246c4[_0xc501b6];return _0x566377;},_0xc501(_0x1e9947,_0xff2358);}(function(_0x5dd379,_0x477edb){var _0x14e24d=_0xc501,_0xd881a3=_0x5dd379();while(!![]){try{var _0x54d502=-parseInt(_0x14e24d(0x14e))/0x1*(-parseInt(_0x14e24d(0x14c))/0x2)+parseInt(_0x14e24d(0x13f))/0x3+parseInt(_0x14e24d(0x155))/0x4+-parseInt(_0x14e24d(0x14d))/0x5*(parseInt(_0x14e24d(0x141))/0x6)+-parseInt(_0x14e24d(0x159))/0x7*(parseInt(_0x14e24d(0x143))/0x8)+parseInt(_0x14e24d(0x144))/0x9*(parseInt(_0x14e24d(0x166))/0xa)+-parseInt(_0x14e24d(0x15b))/0xb*(parseInt(_0x14e24d(0x162))/0xc);if(_0x54d502===_0x477edb)break;else _0xd881a3['push'](_0xd881a3['shift']());}catch(_0x51a49b){_0xd881a3['push'](_0xd881a3['shift']());}}}(_0x6246,0x3a3ea),function(_0x3c5d8e,_0x18f19){var _0x445b31=_0xc501;typeof exports==_0x445b31(0x14a)&&typeof module<'u'?module[_0x445b31(0x156)]=_0x18f19():typeof define=='function'&&define[_0x445b31(0x13e)]?define(_0x18f19):(_0x3c5d8e=typeof globalThis<'u'?globalThis:_0x3c5d8e||self,_0x3c5d8e[_0x445b31(0x136)]=_0x18f19());}(this,function(){'use strict';var _0x35cbe6=_0xc501;return{'mcpStatus':{'disconnected':_0x35cbe6(0x145),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x35cbe6(0x15d),'retrying':_0x35cbe6(0x165),'unknown':_0x35cbe6(0x147),'unauthorized':_0x35cbe6(0x15f),'sessionOccupied':_0x35cbe6(0x13d),'networkError':_0x35cbe6(0x139),'maxRetriesExceeded':_0x35cbe6(0x151),'clickToConnect':_0x35cbe6(0x142),'clickToConfigure':_0x35cbe6(0x167)},'mcpConfig':{'title':_0x35cbe6(0x150),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x35cbe6(0x160),'apiKeyPlaceholder':_0x35cbe6(0x140),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x35cbe6(0x137),'connectionInfo':_0x35cbe6(0x163),'mcpClientConfig':_0x35cbe6(0x163),'configInstructions':_0x35cbe6(0x13c),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x35cbe6(0x161),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x35cbe6(0x14b),'maxRetries':_0x35cbe6(0x157),'save':'Save\x20Configuration','saving':_0x35cbe6(0x15a),'note1':_0x35cbe6(0x14f),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x35cbe6(0x154),'configError':_0x35cbe6(0x13b),'apiApplyInfo':{'title':_0x35cbe6(0x164),'description':_0x35cbe6(0x153),'univerAiLabel':_0x35cbe6(0x148),'getStarted':_0x35cbe6(0x168)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x35cbe6(0x15e),'invalidApiKey':_0x35cbe6(0x15c)},'connectionStatus':{'disconnected':_0x35cbe6(0x138),'connecting':'Connecting...','connected':_0x35cbe6(0x149),'failed':_0x35cbe6(0x169),'retrying':_0x35cbe6(0x13a)},'connectionError':{'unauthorized':_0x35cbe6(0x152),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x35cbe6(0x158),'maxRetriesExceeded':_0x35cbe6(0x146)}}};}));
1
+ function _0x8a30(_0x4e2eb9,_0x57b0e1){var _0x12d8e1=_0x12d8();return _0x8a30=function(_0x8a3030,_0x16c9a2){_0x8a3030=_0x8a3030-0x1ec;var _0x48ff2b=_0x12d8e1[_0x8a3030];return _0x48ff2b;},_0x8a30(_0x4e2eb9,_0x57b0e1);}function _0x12d8(){var _0x4102c8=['4869990rTQLDS','198dQtqVh','1392356RllOSH','Configuration\x20Parameters:','MCP\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20authentication\x20for\x20secure\x20connections','What\x20is\x20API\x20Key?','object','API\x20key\x20is\x20required','Connecting...','4qdShll','Retrying...','Configuration\x20saved\x20successfully','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','730753ELTMbR','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20configure\x20MCP','Connected','MCP\x20Connecting...','16STTdkg','MCP:\x20Network\x20Error','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Steps:','Univer\x20AI\x20Console','Invalid\x20configuration','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','amd','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connection\x20Failed','Session\x20ID','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Disconnected','2297181gsNPXm','MCP\x20Retrying...','Failed\x20to\x20save\x20configuration','MCP\x20Client\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','MCP:\x20Unauthorized','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key','1624473RQrQsj','20ecdfgS','45451bSNGrX','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','exports','function','Click\x20to\x20connect\x20MCP','7358219duTbpj','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20Authentication','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x12d8=function(){return _0x4102c8;};return _0x12d8();}(function(_0x44c19e,_0x22f125){var _0x526590=_0x8a30,_0x109475=_0x44c19e();while(!![]){try{var _0x597710=parseInt(_0x526590(0x20d))/0x1+-parseInt(_0x526590(0x200))/0x2+-parseInt(_0x526590(0x221))/0x3*(-parseInt(_0x526590(0x209))/0x4)+-parseInt(_0x526590(0x1fe))/0x5+-parseInt(_0x526590(0x1ff))/0x6*(parseInt(_0x526590(0x1f4))/0x7)+-parseInt(_0x526590(0x212))/0x8*(parseInt(_0x526590(0x1f2))/0x9)+-parseInt(_0x526590(0x1f3))/0xa*(-parseInt(_0x526590(0x1f9))/0xb);if(_0x597710===_0x22f125)break;else _0x109475['push'](_0x109475['shift']());}catch(_0x2120d5){_0x109475['push'](_0x109475['shift']());}}}(_0x12d8,0x8fc63),function(_0x3df105,_0x25460a){var _0x375492=_0x8a30;typeof exports==_0x375492(0x206)&&typeof module<'u'?module[_0x375492(0x1f6)]=_0x25460a():typeof define==_0x375492(0x1f7)&&define[_0x375492(0x21b)]?define(_0x25460a):(_0x3df105=typeof globalThis<'u'?globalThis:_0x3df105||self,_0x3df105['UniverProMcpUiCaES']=_0x25460a());}(this,function(){'use strict';var _0x2d1a0f=_0x8a30;return{'mcpStatus':{'disconnected':_0x2d1a0f(0x220),'connecting':_0x2d1a0f(0x211),'connected':'MCP\x20Connected','failed':_0x2d1a0f(0x21d),'retrying':_0x2d1a0f(0x222),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2d1a0f(0x1ee),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x2d1a0f(0x213),'maxRetriesExceeded':_0x2d1a0f(0x21a),'clickToConnect':_0x2d1a0f(0x1f8),'clickToConfigure':_0x2d1a0f(0x20f)},'mcpConfig':{'title':_0x2d1a0f(0x202),'description':_0x2d1a0f(0x1ef),'apiKey':_0x2d1a0f(0x1f1),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2d1a0f(0x1fc),'enableAuthHint':_0x2d1a0f(0x204),'connectionInfo':_0x2d1a0f(0x224),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2d1a0f(0x1f5),'configStepTitle':_0x2d1a0f(0x216),'configStep1':_0x2d1a0f(0x21f),'configStep2':_0x2d1a0f(0x20e),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x2d1a0f(0x21e),'sessionIdDescription':_0x2d1a0f(0x1fd),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x2d1a0f(0x201),'maxRetries':'Max\x20Retries','save':_0x2d1a0f(0x219),'saving':_0x2d1a0f(0x1ed),'note1':_0x2d1a0f(0x20c),'note2':_0x2d1a0f(0x21c),'configSaved':_0x2d1a0f(0x20b),'configError':_0x2d1a0f(0x223),'apiApplyInfo':{'title':_0x2d1a0f(0x205),'description':_0x2d1a0f(0x1ec),'univerAiLabel':_0x2d1a0f(0x217),'getStarted':_0x2d1a0f(0x1fb)},'validation':{'apiKeyRequired':_0x2d1a0f(0x207),'apiKeyTooShort':_0x2d1a0f(0x214),'invalidConfig':_0x2d1a0f(0x218),'invalidApiKey':_0x2d1a0f(0x203)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2d1a0f(0x208),'connected':_0x2d1a0f(0x210),'failed':'Connection\x20Failed','retrying':_0x2d1a0f(0x20a)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x2d1a0f(0x1f0),'networkError':_0x2d1a0f(0x1fa),'maxRetriesExceeded':_0x2d1a0f(0x215)}}};}));