@univerjs-pro/mcp-ui 0.10.12-nightly.202510221114 → 0.10.12-nightly.202510251119

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 (46) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.css +1 -1
  24. package/lib/index.js +1 -1
  25. package/lib/locale/ca-ES.js +1 -1
  26. package/lib/locale/en-US.js +1 -1
  27. package/lib/locale/es-ES.js +1 -1
  28. package/lib/locale/fa-IR.js +1 -1
  29. package/lib/locale/fr-FR.js +1 -1
  30. package/lib/locale/ko-KR.js +1 -1
  31. package/lib/locale/ru-RU.js +1 -1
  32. package/lib/locale/vi-VN.js +1 -1
  33. package/lib/locale/zh-CN.js +1 -1
  34. package/lib/locale/zh-TW.js +1 -1
  35. package/lib/umd/index.js +1 -1
  36. package/lib/umd/locale/ca-ES.js +1 -1
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/es-ES.js +1 -1
  39. package/lib/umd/locale/fa-IR.js +1 -1
  40. package/lib/umd/locale/fr-FR.js +1 -1
  41. package/lib/umd/locale/ko-KR.js +1 -1
  42. package/lib/umd/locale/ru-RU.js +1 -1
  43. package/lib/umd/locale/vi-VN.js +1 -1
  44. package/lib/umd/locale/zh-CN.js +1 -1
  45. package/lib/umd/locale/zh-TW.js +1 -1
  46. package/package.json +7 -7
@@ -1 +1 @@
1
- const _0x20cda9=_0xd09c;(function(_0x5c451b,_0x21d15b){const _0x329b7f=_0xd09c,_0x558ec9=_0x5c451b();while(!![]){try{const _0x327313=parseInt(_0x329b7f(0x1d4))/0x1*(parseInt(_0x329b7f(0x1e2))/0x2)+parseInt(_0x329b7f(0x1fd))/0x3*(parseInt(_0x329b7f(0x1f2))/0x4)+-parseInt(_0x329b7f(0x1eb))/0x5+-parseInt(_0x329b7f(0x1e6))/0x6+parseInt(_0x329b7f(0x1f3))/0x7*(-parseInt(_0x329b7f(0x1d7))/0x8)+-parseInt(_0x329b7f(0x1fc))/0x9*(parseInt(_0x329b7f(0x1e8))/0xa)+-parseInt(_0x329b7f(0x1ed))/0xb*(-parseInt(_0x329b7f(0x203))/0xc);if(_0x327313===_0x21d15b)break;else _0x558ec9['push'](_0x558ec9['shift']());}catch(_0xea4fdb){_0x558ec9['push'](_0x558ec9['shift']());}}}(_0x4738,0xbaa23));const e={'mcpStatus':{'disconnected':_0x20cda9(0x1dd),'connecting':_0x20cda9(0x1f7),'connected':_0x20cda9(0x1e3),'failed':_0x20cda9(0x1f0),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x20cda9(0x1fa),'sessionOccupied':_0x20cda9(0x1e7),'networkError':_0x20cda9(0x1fe),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x20cda9(0x1f1),'clickToConfigure':_0x20cda9(0x1e0)},'mcpConfig':{'title':_0x20cda9(0x1db),'description':_0x20cda9(0x1d9),'apiKey':_0x20cda9(0x1ff),'apiKeyPlaceholder':_0x20cda9(0x1f4),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x20cda9(0x1e4),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x20cda9(0x1de),'configInstructions':_0x20cda9(0x1ef),'configStepTitle':_0x20cda9(0x1e9),'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':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x20cda9(0x1da),'configParameters':_0x20cda9(0x1df),'maxRetries':_0x20cda9(0x1d8),'save':_0x20cda9(0x1fb),'saving':'Saving...','note1':_0x20cda9(0x1dc),'note2':_0x20cda9(0x1ee),'configSaved':_0x20cda9(0x1ea),'configError':_0x20cda9(0x1f9),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x20cda9(0x1f6),'getStarted':_0x20cda9(0x1e5)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x20cda9(0x201),'invalidApiKey':_0x20cda9(0x202)},'connectionStatus':{'disconnected':_0x20cda9(0x1d6),'connecting':_0x20cda9(0x1ec),'connected':_0x20cda9(0x1f8),'failed':_0x20cda9(0x1d5),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x20cda9(0x200),'sessionOccupied':_0x20cda9(0x1e1),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x20cda9(0x1f5)}}},n=e;function _0xd09c(_0x3685c0,_0x5161d7){const _0x47384f=_0x4738();return _0xd09c=function(_0xd09c3f,_0x348829){_0xd09c3f=_0xd09c3f-0x1d4;let _0x40f292=_0x47384f[_0xd09c3f];return _0x40f292;},_0xd09c(_0x3685c0,_0x5161d7);}export{n as default};function _0x4738(){const _0x358288=['MCP:\x20Unauthorized','Save\x20Configuration','130563OvEsjM','1457322ehIyyc','MCP:\x20Network\x20Error','API\x20Key','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','19612884szRQfD','223FUFmeY','Connection\x20Failed','Disconnected','100208xYtSAn','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Disconnected','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','Click\x20to\x20configure\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','922gpugCY','MCP\x20Connected','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','5355378YphMtA','MCP:\x20Session\x20ID\x20Occupied','60YUdGJu','Configuration\x20Steps:','Configuration\x20saved\x20successfully','2743020ZXrrcK','Connecting...','11OkgESG','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP','12FFmkxH','504TBjVFZ','Enter\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','MCP\x20Connecting...','Connected','Failed\x20to\x20save\x20configuration'];_0x4738=function(){return _0x358288;};return _0x4738();}
1
+ function _0x2e27(_0xbb07ee,_0x483b71){const _0x4bc3ee=_0x4bc3();return _0x2e27=function(_0x2e2761,_0x242d87){_0x2e2761=_0x2e2761-0x1bd;let _0x34b59a=_0x4bc3ee[_0x2e2761];return _0x34b59a;},_0x2e27(_0xbb07ee,_0x483b71);}const _0x2a2fcb=_0x2e27;function _0x4bc3(){const _0x3f0126=['468IreXef','Univer\x20AI\x20Console','46890guGhhK','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','Disconnected','What\x20is\x20API\x20Key?','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','605830hwtihe','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','Connecting...','Click\x20to\x20connect\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Get\x20your\x20API\x20key\x20in\x20seconds','Session\x20ID','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20Key','Connected','MCP\x20Connected','Save\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','584EggkmS','4UItCuE','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','Enable\x20Authentication','API\x20key\x20with\x20Bearer\x20prefix.','Saving...','MCP\x20Disconnected','755778lZxfoq','Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','22855YihTzW','84696frDgLh','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Unauthorized','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','453944tOYbLe','1567239yrtVjb','MCP\x20Client\x20Configuration','Failed\x20to\x20save\x20configuration'];_0x4bc3=function(){return _0x3f0126;};return _0x4bc3();}(function(_0x192e9c,_0x575620){const _0x2c6ee0=_0x2e27,_0x423171=_0x192e9c();while(!![]){try{const _0x8fb1c9=parseInt(_0x2c6ee0(0x1ea))/0x1+parseInt(_0x2c6ee0(0x1ef))/0x2+parseInt(_0x2c6ee0(0x1f0))/0x3*(parseInt(_0x2c6ee0(0x1dd))/0x4)+parseInt(_0x2c6ee0(0x1cc))/0x5+-parseInt(_0x2c6ee0(0x1e4))/0x6+-parseInt(_0x2c6ee0(0x1e9))/0x7*(parseInt(_0x2c6ee0(0x1dc))/0x8)+parseInt(_0x2c6ee0(0x1bd))/0x9*(-parseInt(_0x2c6ee0(0x1bf))/0xa);if(_0x8fb1c9===_0x575620)break;else _0x423171['push'](_0x423171['shift']());}catch(_0x4242b8){_0x423171['push'](_0x423171['shift']());}}}(_0x4bc3,0x54be7));const e={'mcpStatus':{'disconnected':_0x2a2fcb(0x1e3),'connecting':'MCP\x20Connecting...','connected':_0x2a2fcb(0x1d8),'failed':_0x2a2fcb(0x1ca),'retrying':_0x2a2fcb(0x1ce),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2a2fcb(0x1ec),'sessionOccupied':_0x2a2fcb(0x1da),'networkError':_0x2a2fcb(0x1ed),'maxRetriesExceeded':_0x2a2fcb(0x1c6),'clickToConnect':_0x2a2fcb(0x1d0),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2a2fcb(0x1e8),'description':_0x2a2fcb(0x1eb),'apiKey':_0x2a2fcb(0x1d6),'apiKeyPlaceholder':_0x2a2fcb(0x1df),'apiKeyHint':_0x2a2fcb(0x1de),'enableAuth':_0x2a2fcb(0x1e0),'enableAuthHint':_0x2a2fcb(0x1cd),'connectionInfo':_0x2a2fcb(0x1f1),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2a2fcb(0x1c4),'configStepTitle':_0x2a2fcb(0x1d2),'configStep1':_0x2a2fcb(0x1c0),'configStep2':_0x2a2fcb(0x1db),'configStep3':_0x2a2fcb(0x1e7),'sessionId':_0x2a2fcb(0x1d4),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2a2fcb(0x1e1),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x2a2fcb(0x1c3),'save':_0x2a2fcb(0x1d9),'saving':_0x2a2fcb(0x1e2),'note1':_0x2a2fcb(0x1c2),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2a2fcb(0x1cb),'configError':_0x2a2fcb(0x1f2),'apiApplyInfo':{'title':_0x2a2fcb(0x1c8),'description':_0x2a2fcb(0x1c9),'univerAiLabel':_0x2a2fcb(0x1be),'getStarted':_0x2a2fcb(0x1d3)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2a2fcb(0x1c1),'invalidApiKey':_0x2a2fcb(0x1ee)},'connectionStatus':{'disconnected':_0x2a2fcb(0x1c7),'connecting':_0x2a2fcb(0x1cf),'connected':_0x2a2fcb(0x1d7),'failed':_0x2a2fcb(0x1e5),'retrying':_0x2a2fcb(0x1c5)},'connectionError':{'unauthorized':_0x2a2fcb(0x1d5),'sessionOccupied':_0x2a2fcb(0x1d1),'networkError':_0x2a2fcb(0x1e6),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x26972f=_0x3b45;(function(_0x1094a2,_0x324c17){const _0x2353c1=_0x3b45,_0x3c7af0=_0x1094a2();while(!![]){try{const _0x28f6ef=-parseInt(_0x2353c1(0x1b6))/0x1*(-parseInt(_0x2353c1(0x1ca))/0x2)+parseInt(_0x2353c1(0x1b4))/0x3*(-parseInt(_0x2353c1(0x1e1))/0x4)+parseInt(_0x2353c1(0x1d4))/0x5*(parseInt(_0x2353c1(0x1bd))/0x6)+-parseInt(_0x2353c1(0x1e5))/0x7+parseInt(_0x2353c1(0x1b7))/0x8*(parseInt(_0x2353c1(0x1d9))/0x9)+parseInt(_0x2353c1(0x1b9))/0xa*(-parseInt(_0x2353c1(0x1d7))/0xb)+parseInt(_0x2353c1(0x1bc))/0xc*(-parseInt(_0x2353c1(0x1d1))/0xd);if(_0x28f6ef===_0x324c17)break;else _0x3c7af0['push'](_0x3c7af0['shift']());}catch(_0x11a174){_0x3c7af0['push'](_0x3c7af0['shift']());}}}(_0x419e,0xbf70c));const e={'mcpStatus':{'disconnected':_0x26972f(0x1c2),'connecting':_0x26972f(0x1d2),'connected':_0x26972f(0x1b5),'failed':'MCP\x20Connection\x20Failed','retrying':_0x26972f(0x1c0),'unknown':_0x26972f(0x1d8),'unauthorized':_0x26972f(0x1db),'sessionOccupied':_0x26972f(0x1be),'networkError':_0x26972f(0x1c3),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x26972f(0x1c5),'clickToConfigure':_0x26972f(0x1de)},'mcpConfig':{'title':_0x26972f(0x1dc),'description':_0x26972f(0x1e2),'apiKey':_0x26972f(0x1ce),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x26972f(0x1d5),'enableAuth':_0x26972f(0x1d3),'enableAuthHint':_0x26972f(0x1bf),'connectionInfo':_0x26972f(0x1df),'mcpClientConfig':_0x26972f(0x1df),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x26972f(0x1e6),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x26972f(0x1c4),'configStep3':_0x26972f(0x1cb),'sessionId':_0x26972f(0x1b8),'sessionIdDescription':_0x26972f(0x1bb),'authorizationDescription':_0x26972f(0x1ba),'configParameters':_0x26972f(0x1c8),'maxRetries':_0x26972f(0x1cf),'save':_0x26972f(0x1c9),'saving':'Saving...','note1':_0x26972f(0x1d0),'note2':_0x26972f(0x1cd),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x26972f(0x1dd),'univerAiLabel':_0x26972f(0x1cc),'getStarted':_0x26972f(0x1d6)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x26972f(0x1e0),'invalidConfig':_0x26972f(0x1e3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x26972f(0x1e4),'connecting':'Connecting...','connected':'Connected','failed':_0x26972f(0x1c7),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x26972f(0x1c6),'sessionOccupied':_0x26972f(0x1c1),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x26972f(0x1da)}}},n=e;export{n as default};function _0x3b45(_0x58f2f6,_0x46c22f){const _0x419e27=_0x419e();return _0x3b45=function(_0x3b459a,_0x418693){_0x3b459a=_0x3b459a-0x1b4;let _0x6cbf5f=_0x419e27[_0x3b459a];return _0x6cbf5f;},_0x3b45(_0x58f2f6,_0x46c22f);}function _0x419e(){const _0xca1ecb=['Get\x20your\x20API\x20key\x20in\x20seconds','1617187rdzXgG','MCP\x20Unknown\x20Status','198wIJmjP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized','MCP\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.','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','216BVSohM','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20configuration','Disconnected','1554154HSZhiU','Configuration\x20Steps:','86841qVbBJL','MCP\x20Connected','11552QnrBnV','557464lIPjRC','Session\x20ID','40znrGMP','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.','60dVnNCp','258juDsaa','MCP:\x20Session\x20ID\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Disconnected','MCP:\x20Network\x20Error','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connection\x20Failed','Configuration\x20Parameters:','Save\x20Configuration','186wgzYDd','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key','Max\x20Retries','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1532349yBmYqS','MCP\x20Connecting...','Enable\x20Authentication','132485TaODQk','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x419e=function(){return _0xca1ecb;};return _0x419e();}
1
+ const _0x435cae=_0x4e7e;function _0x33fa(){const _0x4a9b15=['MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','21582kOhaWV','MCP\x20Connecting...','MCP:\x20Network\x20Error','Save\x20Configuration','283772tayhBH','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connecting...','Disconnected','Enter\x20your\x20API\x20key','MCP\x20Connected','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20ID\x20Occupied','Saving...','MCP:\x20Unauthorized','Retrying...','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20authentication\x20for\x20secure\x20connections','96PTDAes','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','55eCCVGl','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','72374uwzjYx','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','32099480SvmGwb','3867472AINjWl','2891uraLst','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Steps:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','6348537CpAMIx','MCP\x20Disconnected','API\x20key\x20is\x20required','1634231YVejrn','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x33fa=function(){return _0x4a9b15;};return _0x33fa();}function _0x4e7e(_0xc60e47,_0x4adb3b){const _0x33fab4=_0x33fa();return _0x4e7e=function(_0x4e7e53,_0x316aee){_0x4e7e53=_0x4e7e53-0x70;let _0x4c2770=_0x33fab4[_0x4e7e53];return _0x4c2770;},_0x4e7e(_0xc60e47,_0x4adb3b);}(function(_0x108ab6,_0x25a284){const _0x44a6b8=_0x4e7e,_0x4e0b27=_0x108ab6();while(!![]){try{const _0x5368d7=-parseInt(_0x44a6b8(0x80))/0x1+parseInt(_0x44a6b8(0x74))/0x2*(parseInt(_0x44a6b8(0x99))/0x3)+parseInt(_0x44a6b8(0x8a))/0x4*(parseInt(_0x44a6b8(0xa2))/0x5)+-parseInt(_0x44a6b8(0x86))/0x6*(parseInt(_0x44a6b8(0x78))/0x7)+-parseInt(_0x44a6b8(0x77))/0x8+-parseInt(_0x44a6b8(0x7d))/0x9+parseInt(_0x44a6b8(0x76))/0xa;if(_0x5368d7===_0x25a284)break;else _0x4e0b27['push'](_0x4e0b27['shift']());}catch(_0x5bf575){_0x4e0b27['push'](_0x4e0b27['shift']());}}}(_0x33fa,0xcd006));const e={'mcpStatus':{'disconnected':_0x435cae(0x7e),'connecting':_0x435cae(0x87),'connected':_0x435cae(0x90),'failed':_0x435cae(0xa0),'retrying':_0x435cae(0x9e),'unknown':_0x435cae(0x84),'unauthorized':_0x435cae(0x94),'sessionOccupied':_0x435cae(0x92),'networkError':_0x435cae(0x88),'maxRetriesExceeded':_0x435cae(0x81),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x435cae(0x91)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x435cae(0x75),'apiKey':_0x435cae(0x96),'apiKeyPlaceholder':_0x435cae(0x8f),'apiKeyHint':_0x435cae(0x9d),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x435cae(0x98),'connectionInfo':_0x435cae(0xa1),'mcpClientConfig':_0x435cae(0xa1),'configInstructions':_0x435cae(0x9b),'configStepTitle':_0x435cae(0x7b),'configStep1':_0x435cae(0x72),'configStep2':_0x435cae(0x9c),'configStep3':_0x435cae(0x70),'sessionId':'Session\x20ID','sessionIdDescription':_0x435cae(0x79),'authorizationDescription':_0x435cae(0x7a),'configParameters':_0x435cae(0x71),'maxRetries':'Max\x20Retries','save':_0x435cae(0x89),'saving':_0x435cae(0x93),'note1':_0x435cae(0x85),'note2':_0x435cae(0x82),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x435cae(0x9a),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x435cae(0x83),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x435cae(0x97)},'validation':{'apiKeyRequired':_0x435cae(0x7f),'apiKeyTooShort':_0x435cae(0x8c),'invalidConfig':_0x435cae(0x73),'invalidApiKey':_0x435cae(0x9f)},'connectionStatus':{'disconnected':_0x435cae(0x8e),'connecting':_0x435cae(0x8d),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x435cae(0x95)},'connectionError':{'unauthorized':_0x435cae(0x7c),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x435cae(0x8b)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x20bcd9=_0x1bcd;(function(_0x5d5574,_0x2158d9){const _0x363a94=_0x1bcd,_0x160dd6=_0x5d5574();while(!![]){try{const _0x580616=parseInt(_0x363a94(0x18f))/0x1*(parseInt(_0x363a94(0x168))/0x2)+parseInt(_0x363a94(0x15d))/0x3*(parseInt(_0x363a94(0x175))/0x4)+-parseInt(_0x363a94(0x15f))/0x5*(-parseInt(_0x363a94(0x16c))/0x6)+parseInt(_0x363a94(0x16b))/0x7+-parseInt(_0x363a94(0x164))/0x8+-parseInt(_0x363a94(0x17b))/0x9*(-parseInt(_0x363a94(0x178))/0xa)+-parseInt(_0x363a94(0x16a))/0xb*(parseInt(_0x363a94(0x17a))/0xc);if(_0x580616===_0x2158d9)break;else _0x160dd6['push'](_0x160dd6['shift']());}catch(_0x2b8336){_0x160dd6['push'](_0x160dd6['shift']());}}}(_0xab33,0x8a811));const e={'mcpStatus':{'disconnected':_0x20bcd9(0x18c),'connecting':_0x20bcd9(0x165),'connected':_0x20bcd9(0x176),'failed':_0x20bcd9(0x182),'retrying':_0x20bcd9(0x181),'unknown':_0x20bcd9(0x169),'unauthorized':_0x20bcd9(0x17e),'sessionOccupied':_0x20bcd9(0x172),'networkError':_0x20bcd9(0x18b),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x20bcd9(0x18d)},'mcpConfig':{'title':_0x20bcd9(0x163),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x20bcd9(0x16f),'apiKeyPlaceholder':_0x20bcd9(0x16d),'apiKeyHint':_0x20bcd9(0x188),'enableAuth':'启用身份验证','enableAuthHint':_0x20bcd9(0x15b),'connectionInfo':_0x20bcd9(0x16e),'mcpClientConfig':_0x20bcd9(0x16e),'configInstructions':_0x20bcd9(0x186),'configStepTitle':_0x20bcd9(0x173),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x20bcd9(0x17d),'configStep3':_0x20bcd9(0x174),'sessionId':_0x20bcd9(0x166),'sessionIdDescription':_0x20bcd9(0x179),'authorizationDescription':_0x20bcd9(0x18e),'configParameters':_0x20bcd9(0x177),'maxRetries':_0x20bcd9(0x185),'save':'保存配置','saving':_0x20bcd9(0x184),'note1':'配置更改将立即生效','note2':_0x20bcd9(0x171),'configSaved':_0x20bcd9(0x15e),'configError':_0x20bcd9(0x187),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x20bcd9(0x17f)},'validation':{'apiKeyRequired':_0x20bcd9(0x180),'apiKeyTooShort':_0x20bcd9(0x161),'invalidConfig':_0x20bcd9(0x162),'invalidApiKey':_0x20bcd9(0x167)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x20bcd9(0x15c),'failed':_0x20bcd9(0x183),'retrying':_0x20bcd9(0x18a)},'connectionError':{'unauthorized':_0x20bcd9(0x170),'sessionOccupied':_0x20bcd9(0x17c),'networkError':_0x20bcd9(0x189),'maxRetriesExceeded':_0x20bcd9(0x160)}}};function _0x1bcd(_0x161dcc,_0x3229bc){const _0xab330a=_0xab33();return _0x1bcd=function(_0x1bcd0f,_0x2f449d){_0x1bcd0f=_0x1bcd0f-0x15b;let _0x4aebf8=_0xab330a[_0x1bcd0f];return _0x4aebf8;},_0x1bcd(_0x161dcc,_0x3229bc);}function _0xab33(){const _0x4080bf=['几秒钟内获取您的\x20API\x20密钥','API\x20密钥不能为空','MCP\x20重连中...','MCP\x20连接失败','连接失败','保存中...','最大重试次数','将以下配置添加到您的\x20MCP\x20客户端设置中:','配置保存失败','您的\x20API\x20密钥将在此浏览器中本地存储','网络连接错误,请检查您的网络连接','重连中...','MCP:\x20网络错误','MCP\x20已断开','点击配置\x20MCP','带有\x20Bearer\x20前缀的\x20API\x20密钥。','13quUmve','启用身份验证以获得安全连接','已连接','699288FDWNxY','配置保存成功','10nZwmjN','超出最大重试次数,请稍后再试','API\x20密钥长度至少需要\x2010\x20位','配置无效','MCP\x20配置','4345888tVYnpD','MCP\x20连接中...','会话ID','API\x20密钥无效,请检查密钥是否正确','156470NxSkkt','MCP\x20状态未知','20336503TGRZWz','3822728sSHOex','2606226wDQXul','请输入您的\x20API\x20密钥','MCP\x20客户端配置','API\x20密钥','权限验证失败,请检查您的\x20API\x20密钥','您的\x20API\x20密钥安全存储在本地存储中','MCP:\x20会话\x20ID\x20已被占用','配置步骤:','重启您的\x20MCP\x20客户端以使配置生效','4soDNsb','MCP\x20已连接','配置参数:','15250GEQVff','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','12OXLmNu','1737JocSuV','会话\x20ID\x20已被占用,请稍后再试','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP:\x20未授权'];_0xab33=function(){return _0x4080bf;};return _0xab33();}export{e as default};
1
+ const _0x1b82a8=_0x4411;function _0x27b2(){const _0x1f4032=['API\x20密钥长度至少需要\x2010\x20位','MCP:\x20网络错误','会话ID','7168500iqzutb','4372UWeESq','配置更改将立即生效','未连接','点击连接\x20MCP','11pPqsqI','重连中...','最大重试次数','启用身份验证','64925sMsLwE','MCP\x20配置','MCP\x20状态未知','重启您的\x20MCP\x20客户端以使配置生效','MCP\x20客户端配置','API\x20密钥','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','复制以下\x20JSON\x20配置','851750RtVSYg','MCP\x20已连接','连接失败','MCP:\x20会话\x20ID\x20已被占用','保存配置','MCP\x20连接失败','会话\x20ID\x20已被占用,请稍后再试','API\x20密钥不能为空','1664067hHAuMZ','MCP\x20已断开','MCP:\x20未授权','配置步骤:','点击配置\x20MCP','13214440sqxeVu','1OJKwqS','2519100doISCl','配置保存失败','保存中...','您的\x20API\x20密钥将在此浏览器中本地存储','120csWxCN','1240PNbLAU','配置保存成功','API\x20密钥无效,请检查密钥是否正确','几秒钟内获取您的\x20API\x20密钥','MCP\x20连接中...','配置\x20MCP\x20使用\x20AI\x20操作电子表格','网络连接错误,请检查您的网络连接','您的\x20API\x20密钥安全存储在本地存储中','MCP:\x20超出最大重试次数','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','连接中...'];_0x27b2=function(){return _0x1f4032;};return _0x27b2();}(function(_0x170c7e,_0x144cd7){const _0x723c25=_0x4411,_0x1155cd=_0x170c7e();while(!![]){try{const _0x3a2242=-parseInt(_0x723c25(0xc5))/0x1*(parseInt(_0x723c25(0xb7))/0x2)+parseInt(_0x723c25(0xbf))/0x3+-parseInt(_0x723c25(0xa7))/0x4*(-parseInt(_0x723c25(0xcb))/0x5)+parseInt(_0x723c25(0xc6))/0x6+parseInt(_0x723c25(0xaf))/0x7*(parseInt(_0x723c25(0xca))/0x8)+parseInt(_0x723c25(0xa6))/0x9+-parseInt(_0x723c25(0xc4))/0xa*(parseInt(_0x723c25(0xab))/0xb);if(_0x3a2242===_0x144cd7)break;else _0x1155cd['push'](_0x1155cd['shift']());}catch(_0x146dc2){_0x1155cd['push'](_0x1155cd['shift']());}}}(_0x27b2,0x69ef5));function _0x4411(_0x400072,_0xd429e2){const _0x27b20f=_0x27b2();return _0x4411=function(_0x441172,_0x558e0b){_0x441172=_0x441172-0xa1;let _0x48bf45=_0x27b20f[_0x441172];return _0x48bf45;},_0x4411(_0x400072,_0xd429e2);}const e={'mcpStatus':{'disconnected':_0x1b82a8(0xc0),'connecting':_0x1b82a8(0xcf),'connected':_0x1b82a8(0xb8),'failed':_0x1b82a8(0xbc),'retrying':'MCP\x20重连中...','unknown':_0x1b82a8(0xb1),'unauthorized':_0x1b82a8(0xc1),'sessionOccupied':_0x1b82a8(0xba),'networkError':_0x1b82a8(0xa4),'maxRetriesExceeded':_0x1b82a8(0xd3),'clickToConnect':_0x1b82a8(0xaa),'clickToConfigure':_0x1b82a8(0xc3)},'mcpConfig':{'title':_0x1b82a8(0xb0),'description':_0x1b82a8(0xd0),'apiKey':_0x1b82a8(0xb4),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x1b82a8(0xc9),'enableAuth':_0x1b82a8(0xae),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x1b82a8(0xb3),'mcpClientConfig':_0x1b82a8(0xb3),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x1b82a8(0xc2),'configStep1':_0x1b82a8(0xb6),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x1b82a8(0xb2),'sessionId':_0x1b82a8(0xa5),'sessionIdDescription':_0x1b82a8(0xb5),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':_0x1b82a8(0xad),'save':_0x1b82a8(0xbb),'saving':_0x1b82a8(0xc8),'note1':_0x1b82a8(0xa8),'note2':_0x1b82a8(0xd2),'configSaved':_0x1b82a8(0xcc),'configError':_0x1b82a8(0xc7),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x1b82a8(0xa1),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x1b82a8(0xce)},'validation':{'apiKeyRequired':_0x1b82a8(0xbe),'apiKeyTooShort':_0x1b82a8(0xa3),'invalidConfig':'配置无效','invalidApiKey':_0x1b82a8(0xcd)},'connectionStatus':{'disconnected':_0x1b82a8(0xa9),'connecting':_0x1b82a8(0xa2),'connected':'已连接','failed':_0x1b82a8(0xb9),'retrying':_0x1b82a8(0xac)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x1b82a8(0xbd),'networkError':_0x1b82a8(0xd1),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};export{e as default};
@@ -1 +1 @@
1
- function _0x1508(){const _0x4f114e=['API\x20key\x20with\x20Bearer\x20prefix.','3ByqDuS','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','482364rpdutN','3141752mgJOdf','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Steps:','6bumMOc','MCP\x20Connected','API\x20Key','11wUdpbe','804OAcbmV','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\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.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','4109AbKGpm','MCP\x20Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','532719MilSLE','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','693880QwhWYT','Connection\x20Failed','MCP\x20Client\x20Configuration','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','4085990EXvGMr','Session\x20ID','Enable\x20authentication\x20for\x20secure\x20connections','15046eUueHR','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connecting...','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x1508=function(){return _0x4f114e;};return _0x1508();}const _0x41c248=_0x573b;function _0x573b(_0x31f67c,_0x5dc8ee){const _0x15083e=_0x1508();return _0x573b=function(_0x573b45,_0x55cb65){_0x573b45=_0x573b45-0x1f0;let _0x4d1595=_0x15083e[_0x573b45];return _0x4d1595;},_0x573b(_0x31f67c,_0x5dc8ee);}(function(_0xe459ce,_0x40eba6){const _0x27a2a=_0x573b,_0x511b9c=_0xe459ce();while(!![]){try{const _0x2c49d8=parseInt(_0x27a2a(0x20a))/0x1*(parseInt(_0x27a2a(0x1f7))/0x2)+-parseInt(_0x27a2a(0x201))/0x3*(parseInt(_0x27a2a(0x206))/0x4)+parseInt(_0x27a2a(0x220))/0x5+parseInt(_0x27a2a(0x20e))/0x6*(parseInt(_0x27a2a(0x21a))/0x7)+-parseInt(_0x27a2a(0x207))/0x8+parseInt(_0x27a2a(0x21e))/0x9+parseInt(_0x27a2a(0x1f4))/0xa*(parseInt(_0x27a2a(0x20d))/0xb);if(_0x2c49d8===_0x40eba6)break;else _0x511b9c['push'](_0x511b9c['shift']());}catch(_0xa2814a){_0x511b9c['push'](_0x511b9c['shift']());}}}(_0x1508,0x34fdc));const e={'mcpStatus':{'disconnected':_0x41c248(0x1fe),'connecting':_0x41c248(0x217),'connected':_0x41c248(0x20b),'failed':_0x41c248(0x21b),'retrying':_0x41c248(0x21d),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x41c248(0x1fd),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x41c248(0x218)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x41c248(0x203),'apiKey':_0x41c248(0x20c),'apiKeyPlaceholder':_0x41c248(0x204),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x41c248(0x215),'enableAuthHint':_0x41c248(0x1f6),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x41c248(0x222),'configInstructions':_0x41c248(0x211),'configStepTitle':_0x41c248(0x209),'configStep1':_0x41c248(0x1f1),'configStep2':_0x41c248(0x216),'configStep3':_0x41c248(0x1fa),'sessionId':_0x41c248(0x1f5),'sessionIdDescription':_0x41c248(0x21f),'authorizationDescription':_0x41c248(0x200),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x41c248(0x1fc),'save':_0x41c248(0x212),'saving':_0x41c248(0x1f2),'note1':_0x41c248(0x214),'note2':_0x41c248(0x205),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x41c248(0x1f8),'description':_0x41c248(0x213),'univerAiLabel':_0x41c248(0x1f9),'getStarted':_0x41c248(0x20f)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x41c248(0x208),'invalidConfig':_0x41c248(0x219),'invalidApiKey':_0x41c248(0x1ff)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x41c248(0x1fb),'connected':'Connected','failed':_0x41c248(0x221),'retrying':_0x41c248(0x1f0)},'connectionError':{'unauthorized':_0x41c248(0x1f3),'sessionOccupied':_0x41c248(0x202),'networkError':_0x41c248(0x21c),'maxRetriesExceeded':_0x41c248(0x210)}}},n=e;export{n as default};
1
+ const _0x3bbc2b=_0x4e18;function _0x35fd(){const _0xaadd93=['218790NLVkIL','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20Authentication','Connecting...','Click\x20to\x20configure\x20MCP','Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Parameters:','MCP\x20Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','3307968GcIZqh','MCP\x20Configuration','Retrying...','Connection\x20Failed','Saving...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','1VFIWiu','8116120YpFZWQ','137098PVbqtr','MCP\x20Client\x20Configuration','What\x20is\x20API\x20Key?','MCP\x20Retrying...','API\x20key\x20is\x20required','Invalid\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','10693956xNtiab','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4705818uNFrwr','4dXDZsj','Max\x20Retries','Save\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Unauthorized','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','Disconnected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','16511238Hcbaow','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key'];_0x35fd=function(){return _0xaadd93;};return _0x35fd();}(function(_0x38ca01,_0x2183fa){const _0x346906=_0x4e18,_0x171da6=_0x38ca01();while(!![]){try{const _0x36234a=-parseInt(_0x346906(0xb2))/0x1*(-parseInt(_0x346906(0xb4))/0x2)+-parseInt(_0x346906(0xc2))/0x3*(-parseInt(_0x346906(0xc3))/0x4)+parseInt(_0x346906(0x9b))/0x5+parseInt(_0x346906(0xa8))/0x6+parseInt(_0x346906(0xbf))/0x7+-parseInt(_0x346906(0xb3))/0x8+-parseInt(_0x346906(0x97))/0x9;if(_0x36234a===_0x2183fa)break;else _0x171da6['push'](_0x171da6['shift']());}catch(_0x625d0b){_0x171da6['push'](_0x171da6['shift']());}}}(_0x35fd,0xde604));function _0x4e18(_0x3273e8,_0x2bd21b){const _0x35fd99=_0x35fd();return _0x4e18=function(_0x4e1806,_0x59b537){_0x4e1806=_0x4e1806-0x90;let _0x225bdc=_0x35fd99[_0x4e1806];return _0x225bdc;},_0x4e18(_0x3273e8,_0x2bd21b);}const e={'mcpStatus':{'disconnected':_0x3bbc2b(0xb0),'connecting':_0x3bbc2b(0xa6),'connected':_0x3bbc2b(0xa4),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3bbc2b(0xb7),'unknown':_0x3bbc2b(0xbd),'unauthorized':_0x3bbc2b(0x92),'sessionOccupied':_0x3bbc2b(0xb1),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3bbc2b(0x94),'clickToConnect':_0x3bbc2b(0xbb),'clickToConfigure':_0x3bbc2b(0x9f)},'mcpConfig':{'title':_0x3bbc2b(0xa9),'description':_0x3bbc2b(0xc1),'apiKey':_0x3bbc2b(0x9a),'apiKeyPlaceholder':_0x3bbc2b(0xbe),'apiKeyHint':_0x3bbc2b(0x9c),'enableAuth':_0x3bbc2b(0x9d),'enableAuthHint':_0x3bbc2b(0xae),'connectionInfo':_0x3bbc2b(0xb5),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3bbc2b(0xa1),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x3bbc2b(0x93),'configStep2':_0x3bbc2b(0xad),'configStep3':_0x3bbc2b(0xbc),'sessionId':_0x3bbc2b(0x98),'sessionIdDescription':_0x3bbc2b(0x96),'authorizationDescription':_0x3bbc2b(0xaf),'configParameters':_0x3bbc2b(0xa3),'maxRetries':_0x3bbc2b(0xc4),'save':_0x3bbc2b(0x90),'saving':_0x3bbc2b(0xac),'note1':_0x3bbc2b(0xa5),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3bbc2b(0xb6),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3bbc2b(0xba)},'validation':{'apiKeyRequired':_0x3bbc2b(0xb8),'apiKeyTooShort':_0x3bbc2b(0x99),'invalidConfig':_0x3bbc2b(0xb9),'invalidApiKey':_0x3bbc2b(0xc0)},'connectionStatus':{'disconnected':_0x3bbc2b(0x95),'connecting':_0x3bbc2b(0x9e),'connected':_0x3bbc2b(0xa0),'failed':_0x3bbc2b(0xab),'retrying':_0x3bbc2b(0xaa)},'connectionError':{'unauthorized':_0x3bbc2b(0xa2),'sessionOccupied':_0x3bbc2b(0x91),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x3bbc2b(0xa7)}}},n=e;export{n as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2052a2,_0x233a78){var _0x4ff4c1=_0x1ff0,_0x2fa2e9=_0x2052a2();while(!![]){try{var _0x4e94d8=parseInt(_0x4ff4c1(0x206))/0x1+parseInt(_0x4ff4c1(0x1d2))/0x2*(-parseInt(_0x4ff4c1(0x16a))/0x3)+parseInt(_0x4ff4c1(0x23d))/0x4+-parseInt(_0x4ff4c1(0x188))/0x5+parseInt(_0x4ff4c1(0x25b))/0x6+parseInt(_0x4ff4c1(0x1b1))/0x7*(-parseInt(_0x4ff4c1(0xec))/0x8)+parseInt(_0x4ff4c1(0x1c0))/0x9;if(_0x4e94d8===_0x233a78)break;else _0x2fa2e9['push'](_0x2fa2e9['shift']());}catch(_0x1c30e7){_0x2fa2e9['push'](_0x2fa2e9['shift']());}}}(_0x4901,0x4df02),function(_0x4633de,_0x354086){var _0x5146ee=_0x1ff0;typeof exports==_0x5146ee(0x1b8)&&typeof module<'u'?_0x354086(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==_0x5146ee(0x208)&&define[_0x5146ee(0xf1)]?define([_0x5146ee(0x197),_0x5146ee(0x1f5),_0x5146ee(0x17f),_0x5146ee(0x1c4),_0x5146ee(0x207),_0x5146ee(0x20d),'rxjs',_0x5146ee(0x256),_0x5146ee(0x258)],_0x354086):(_0x4633de=typeof globalThis<'u'?globalThis:_0x4633de||self,_0x354086(_0x4633de[_0x5146ee(0x1a6)]={},_0x4633de['UniverCore'],_0x4633de[_0x5146ee(0x1fc)],_0x4633de['UniverProMcp'],_0x4633de[_0x5146ee(0x24f)],_0x4633de['UniverUi'],_0x4633de[_0x5146ee(0x153)],_0x4633de[_0x5146ee(0x1fc)],_0x4633de[_0x5146ee(0xfd)]));}(this,function(_0x390653,_0x1c0671,_0x4ee893,_0x58715a,_0x26d26a,_0x1285f5,_0x13838f,_0x112f10,_0x4809fb){'use strict';var _0x5197a1=_0x1ff0;var _0xc3267=Object['defineProperty'],_0x725410=(_0x117ccb,_0x638f18,_0x1df55e)=>_0x638f18 in _0x117ccb?_0xc3267(_0x117ccb,_0x638f18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1df55e}):_0x117ccb[_0x638f18]=_0x1df55e,_0x113228=(_0xd7ca20,_0x3034fd,_0x2729dc)=>_0x725410(_0xd7ca20,typeof _0x3034fd!='symbol'?_0x3034fd+'':_0x3034fd,_0x2729dc),_0x250081=function(){var _0xdf1be5=_0x1ff0;return _0x250081=Object[_0xdf1be5(0x1c9)]||function(_0xcee3af){var _0xaa5827=_0xdf1be5;for(var _0x103032,_0x4eafa2=0x1,_0x273565=arguments['length'];_0x4eafa2<_0x273565;_0x4eafa2++){_0x103032=arguments[_0x4eafa2];for(var _0x18489c in _0x103032)Object[_0xaa5827(0xf6)][_0xaa5827(0x157)]['call'](_0x103032,_0x18489c)&&(_0xcee3af[_0x18489c]=_0x103032[_0x18489c]);}return _0xcee3af;},_0x250081['apply'](this,arguments);},_0xd10705=function(_0x31b0f3,_0x3de955){var _0x2b5da3=_0x1ff0,_0x3401d3={};for(var _0x1a6271 in _0x31b0f3)Object[_0x2b5da3(0xf6)]['hasOwnProperty'][_0x2b5da3(0x19f)](_0x31b0f3,_0x1a6271)&&_0x3de955['indexOf'](_0x1a6271)<0x0&&(_0x3401d3[_0x1a6271]=_0x31b0f3[_0x1a6271]);if(_0x31b0f3!=null&&typeof Object[_0x2b5da3(0x135)]==_0x2b5da3(0x208)){for(var _0x3dfd33=0x0,_0x1a6271=Object[_0x2b5da3(0x135)](_0x31b0f3);_0x3dfd33<_0x1a6271['length'];_0x3dfd33++)_0x3de955['indexOf'](_0x1a6271[_0x3dfd33])<0x0&&Object[_0x2b5da3(0xf6)][_0x2b5da3(0x18f)][_0x2b5da3(0x19f)](_0x31b0f3,_0x1a6271[_0x3dfd33])&&(_0x3401d3[_0x1a6271[_0x3dfd33]]=_0x31b0f3[_0x1a6271[_0x3dfd33]]);}return _0x3401d3;},_0x4f0e64=_0x112f10['forwardRef'](function(_0x31d1d8,_0x50e4f5){var _0x964570=_0x1ff0,_0x370ba9=_0x31d1d8['icon'],_0x24b99c=_0x31d1d8['id'],_0x9f65a9=_0x31d1d8[_0x964570(0x1e7)],_0x1401ff=_0x31d1d8['extend'],_0x32fc62=_0xd10705(_0x31d1d8,['icon','id','className',_0x964570(0xe7)]),_0x155369=_0x964570(0x231)[_0x964570(0x255)](_0x24b99c,'\x20')['concat'](_0x9f65a9||'')[_0x964570(0xee)](),_0x310ed3=_0x112f10['useRef']('_'['concat'](_0x131ada()));return _0x27946f(_0x370ba9,''['concat'](_0x24b99c),{'defIds':_0x370ba9[_0x964570(0x165)],'idSuffix':_0x310ed3['current']},_0x250081({'ref':_0x50e4f5,'className':_0x155369},_0x32fc62),_0x1401ff);});function _0x27946f(_0x481e10,_0x342539,_0x17c0f2,_0x165af8,_0x12c249){var _0x4f63f9=_0x1ff0;return _0x112f10['createElement'](_0x481e10[_0x4f63f9(0x230)],_0x250081(_0x250081({'key':_0x342539},_0x35affe(_0x481e10,_0x17c0f2,_0x12c249)),_0x165af8),(_0x11d47b(_0x481e10,_0x17c0f2)['children']||[])[_0x4f63f9(0x14f)](function(_0x354276,_0x2eec6d){var _0x4f8585=_0x4f63f9;return _0x27946f(_0x354276,''['concat'](_0x342539,'-')[_0x4f8585(0x255)](_0x481e10[_0x4f8585(0x230)],'-')[_0x4f8585(0x255)](_0x2eec6d),_0x17c0f2,void 0x0,_0x12c249);}));}function _0x35affe(_0x3390c5,_0x5efd6a,_0x538a25){var _0x5137d3=_0x1ff0,_0x22fe7e=_0x250081({},_0x3390c5[_0x5137d3(0x221)]);_0x538a25!=null&&_0x538a25[_0x5137d3(0x213)]&&_0x22fe7e[_0x5137d3(0x202)]==='colorChannel1'&&(_0x22fe7e[_0x5137d3(0x202)]=_0x538a25[_0x5137d3(0x213)]),_0x3390c5[_0x5137d3(0x230)]===_0x5137d3(0x16c)&&_0x22fe7e['id']&&(_0x22fe7e['id']=_0x22fe7e['id']+_0x5efd6a[_0x5137d3(0x218)]),Object[_0x5137d3(0xd7)](_0x22fe7e)[_0x5137d3(0x242)](function(_0x34dddf){var _0xb6eebf=_0x5137d3,_0x3fa1a9=_0x34dddf[0x0],_0x44b976=_0x34dddf[0x1];_0x3fa1a9===_0xb6eebf(0x16c)&&typeof _0x44b976==_0xb6eebf(0xe0)&&(_0x22fe7e[_0x3fa1a9]=_0x44b976[_0xb6eebf(0x14e)](/url\(#(.*)\)/,_0xb6eebf(0x1c5)[_0xb6eebf(0x255)](_0x5efd6a[_0xb6eebf(0x218)],')')));});var _0x4bebae=_0x5efd6a[_0x5137d3(0x165)];return!_0x4bebae||_0x4bebae['length']===0x0||(_0x3390c5[_0x5137d3(0x230)]===_0x5137d3(0x184)&&_0x22fe7e[_0x5137d3(0xff)]&&(_0x22fe7e[_0x5137d3(0xff)]=_0x22fe7e[_0x5137d3(0xff)]+_0x5efd6a['idSuffix']),Object[_0x5137d3(0xd7)](_0x22fe7e)[_0x5137d3(0x242)](function(_0x28c115){var _0x581977=_0x5137d3,_0x50b27f=_0x28c115[0x0],_0x3e5487=_0x28c115[0x1];typeof _0x3e5487==_0x581977(0xe0)&&(_0x22fe7e[_0x50b27f]=_0x3e5487['replace'](/url\(#(.*)\)/,_0x581977(0x1c5)[_0x581977(0x255)](_0x5efd6a[_0x581977(0x218)],')')));})),_0x22fe7e;}function _0x11d47b(_0x50decd,_0x22d521){var _0x360b48=_0x1ff0,_0x281056,_0x331873=_0x22d521[_0x360b48(0x165)];return!_0x331873||_0x331873[_0x360b48(0x120)]===0x0?_0x50decd:_0x50decd[_0x360b48(0x230)]===_0x360b48(0x143)&&(!((_0x281056=_0x50decd['children'])===null||_0x281056===void 0x0)&&_0x281056[_0x360b48(0x120)])?_0x250081(_0x250081({},_0x50decd),{'children':_0x50decd[_0x360b48(0x158)]['map'](function(_0x4a74f4){var _0x47c31a=_0x360b48;return typeof _0x4a74f4[_0x47c31a(0x221)]['id']==_0x47c31a(0xe0)&&_0x331873&&_0x331873[_0x47c31a(0x235)](_0x4a74f4[_0x47c31a(0x221)]['id'])?_0x250081(_0x250081({},_0x4a74f4),{'attrs':_0x250081(_0x250081({},_0x4a74f4[_0x47c31a(0x221)]),{'id':_0x4a74f4[_0x47c31a(0x221)]['id']+_0x22d521['idSuffix']})}):_0x4a74f4;})}):_0x50decd;}function _0x131ada(){var _0x4c413a=_0x1ff0;return Math[_0x4c413a(0xd1)]()[_0x4c413a(0x113)](0x24)['substring'](0x2,0x8);}_0x4f0e64[_0x5197a1(0x10d)]=_0x5197a1(0x1c7);var _0x34941a={'tag':_0x5197a1(0xc5),'attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':_0x5197a1(0x1fb),'width':_0x5197a1(0x1d1),'height':_0x5197a1(0x1d1)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x5197a1(0x209),'fillRule':_0x5197a1(0x1a3),'clipRule':_0x5197a1(0x1a3)}}]},_0x20f6b6=_0x112f10[_0x5197a1(0x126)](function(_0x3cef96,_0x52bc4e){var _0xbfcc54=_0x5197a1;return _0x112f10[_0xbfcc54(0x166)](_0x4f0e64,Object['assign']({},_0x3cef96,{'id':_0xbfcc54(0x21b),'ref':_0x52bc4e,'icon':_0x34941a}));});_0x20f6b6['displayName']=_0x5197a1(0x24b);var _0x23ca41={'tag':_0x5197a1(0xc5),'attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':_0x5197a1(0xde),'width':_0x5197a1(0x1d1),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x5197a1(0x11e),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x5197a1(0x251),'strokeLinejoin':_0x5197a1(0x251),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x5197a1(0x11e),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}}]},_0x31d797=_0x112f10[_0x5197a1(0x126)](function(_0x16bf32,_0x4dfdc3){var _0x41a0a4=_0x5197a1;return _0x112f10[_0x41a0a4(0x166)](_0x4f0e64,Object[_0x41a0a4(0x1c9)]({},_0x16bf32,{'id':_0x41a0a4(0x22f),'ref':_0x4dfdc3,'icon':_0x23ca41}));});_0x31d797[_0x5197a1(0x10d)]=_0x5197a1(0x164);var _0x373560={'tag':_0x5197a1(0xc5),'attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':'0\x200\x2016\x2016','width':_0x5197a1(0x1d1),'height':'1em'},'children':[{'tag':_0x5197a1(0x243),'attrs':{'fill':_0x5197a1(0x11e),'d':_0x5197a1(0x19e)}},{'tag':_0x5197a1(0x243),'attrs':{'fill':_0x5197a1(0x11e),'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':_0x5197a1(0x243),'attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x5197a1(0x1a3),'clipRule':_0x5197a1(0x1a3)}}]},_0x81f444=_0x112f10[_0x5197a1(0x126)](function(_0x5605dc,_0x725dc6){var _0x323edd=_0x5197a1;return _0x112f10[_0x323edd(0x166)](_0x4f0e64,Object['assign']({},_0x5605dc,{'id':_0x323edd(0x12b),'ref':_0x725dc6,'icon':_0x373560}));});_0x81f444[_0x5197a1(0x10d)]=_0x5197a1(0x140);var _0xdf4b9c={'tag':'svg','attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':_0x5197a1(0x1fb),'width':_0x5197a1(0x1d1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5197a1(0xd5)},'children':[{'tag':_0x5197a1(0x243),'attrs':{'stroke':_0x5197a1(0x11e),'d':_0x5197a1(0x12e),'strokeLinecap':_0x5197a1(0x251),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5197a1(0x143),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5197a1(0x1fd)},'children':[{'tag':_0x5197a1(0x243),'attrs':{'fill':_0x5197a1(0x200),'d':_0x5197a1(0xdb)}}]}]}],'defIds':[_0x5197a1(0x1fd)]},_0x382e9c=_0x112f10[_0x5197a1(0x126)](function(_0x229293,_0x1b1060){var _0xd02a28=_0x5197a1;return _0x112f10[_0xd02a28(0x166)](_0x4f0e64,Object['assign']({},_0x229293,{'id':_0xd02a28(0x102),'ref':_0x1b1060,'icon':_0xdf4b9c}));});_0x382e9c['displayName']=_0x5197a1(0x177);var _0x222dcf={'tag':'svg','attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':_0x5197a1(0x156),'width':_0x5197a1(0x1d1),'height':_0x5197a1(0x1d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x5197a1(0x1e2)},'children':[{'tag':'path','attrs':{'stroke':_0x5197a1(0x11e),'d':_0x5197a1(0x18e),'strokeLinecap':_0x5197a1(0x251),'strokeLinejoin':_0x5197a1(0x251),'strokeWidth':1.2}}]},{'tag':_0x5197a1(0x143),'attrs':{},'children':[{'tag':_0x5197a1(0xda),'attrs':{'id':_0x5197a1(0x23f)},'children':[{'tag':'path','attrs':{'fill':_0x5197a1(0x200),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x5197a1(0x23f)]},_0x106b55=_0x112f10[_0x5197a1(0x126)](function(_0x56559c,_0x217467){var _0x1d1222=_0x5197a1;return _0x112f10['createElement'](_0x4f0e64,Object['assign']({},_0x56559c,{'id':_0x1d1222(0x12c),'ref':_0x217467,'icon':_0x222dcf}));});_0x106b55['displayName']=_0x5197a1(0x123);function _0xa2f4ab(_0x274fc9){var _0x55c3b1=_0x5197a1,_0xb18d7b,_0x1ffb45;const {mcpCoreConfig:_0xe26432,onSave:_0x2667f8,loading:_0xb236d5=!0x1,config:_0x578405,connectionStatus$:_0x4b61f5,connectionError$:_0x143775,currentApiKey$:_0x34758d,currentSessionId$:_0x1e8fe0}=_0x274fc9,_0x184f6b=_0x1285f5['useDependency'](_0x1c0671['LocaleService']),_0x3de39d=_0x1285f5[_0x55c3b1(0x105)](_0x4b61f5,_0x58715a[_0x55c3b1(0x136)][_0x55c3b1(0x12a)]),_0x3ea01d=_0x1285f5['useObservable'](_0x143775,_0x58715a[_0x55c3b1(0x212)]['NONE']),_0x3ec330=_0x1285f5[_0x55c3b1(0x105)](_0x1e8fe0,''),_0x30d7bb=_0x1285f5[_0x55c3b1(0x105)](_0x34758d,''),[_0x494996,_0x389a8b]=_0x112f10[_0x55c3b1(0x1cb)](_0x30d7bb||''),_0x20c32f=!0x0,_0x486d6c=_0x578405[_0x55c3b1(0x234)]&&_0xe26432['mcpServerUrl']&&(_0xe26432[_0x55c3b1(0x112)][_0x55c3b1(0x235)](_0x55c3b1(0x254))||_0xe26432[_0x55c3b1(0x112)]['includes'](_0x55c3b1(0x14c))),_0x2b9654=(_0xb18d7b=_0xe26432[_0x55c3b1(0x112)])==null?void 0x0:_0xb18d7b[_0x55c3b1(0x235)](_0x55c3b1(0x254)),_0x21ee9e=(_0x1ffb45=_0xe26432[_0x55c3b1(0x112)])==null?void 0x0:_0x1ffb45[_0x55c3b1(0x235)](_0x55c3b1(0x14c)),_0x30c594=_0x2b9654?_0x55c3b1(0x115):'https://console.univer.ai',_0x3384bc=_0x578405[_0x55c3b1(0x234)]&&(_0x2b9654||_0x21ee9e),[_0x57bcc5,_0x3ccff8]=_0x112f10[_0x55c3b1(0x1cb)](!_0x494996[_0x55c3b1(0xee)]()),_0x4306c9=(_0x1093fb,_0x448dfc)=>{var _0x54d195=_0x55c3b1;if(_0x448dfc===_0x58715a[_0x54d195(0x212)][_0x54d195(0x1ae)])return _0x54d195(0x1db);switch(_0x1093fb){case _0x58715a[_0x54d195(0x136)][_0x54d195(0x14b)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x58715a[_0x54d195(0x136)][_0x54d195(0x1b3)]:case _0x58715a[_0x54d195(0x136)]['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x58715a['MCPConnectionStatus'][_0x54d195(0x1aa)]:return _0x54d195(0x1db);default:return _0x54d195(0x1ad);}},_0x4f0b44=(_0x5bbe4a,_0x1d353b)=>{var _0x1df014=_0x55c3b1;if(_0x1d353b===_0x58715a[_0x1df014(0x212)][_0x1df014(0x1ae)])return _0x1df014(0xe2);switch(_0x5bbe4a){case _0x58715a[_0x1df014(0x136)]['CONNECTED']:return'univer-bg-green-500';case _0x58715a[_0x1df014(0x136)][_0x1df014(0x1b3)]:case _0x58715a[_0x1df014(0x136)][_0x1df014(0x1e6)]:return _0x1df014(0xe6);case _0x58715a['MCPConnectionStatus']['FAILED']:return _0x1df014(0xe2);default:return'univer-bg-gray-500';}},_0x117f85=_0xc4f075=>{var _0x4ac989=_0x55c3b1;switch(_0xc4f075){case _0x58715a[_0x4ac989(0x136)][_0x4ac989(0x14b)]:return _0x184f6b['t'](_0x4ac989(0x11c));case _0x58715a[_0x4ac989(0x136)][_0x4ac989(0x1b3)]:return _0x184f6b['t'](_0x4ac989(0x1eb));case _0x58715a['MCPConnectionStatus']['FAILED']:return _0x184f6b['t'](_0x4ac989(0xfc));case _0x58715a['MCPConnectionStatus'][_0x4ac989(0x1e6)]:return _0x184f6b['t'](_0x4ac989(0xe8));default:return _0x184f6b['t'](_0x4ac989(0x1ee));}},_0x3141e6=_0x36e6f8=>{var _0x4fb567=_0x55c3b1;switch(_0x36e6f8){case _0x58715a[_0x4fb567(0x212)][_0x4fb567(0x1ae)]:return _0x184f6b['t'](_0x4fb567(0x1c3));case _0x58715a[_0x4fb567(0x212)][_0x4fb567(0x1f3)]:return _0x184f6b['t'](_0x4fb567(0x15e));case _0x58715a[_0x4fb567(0x212)]['NETWORK_ERROR']:return _0x184f6b['t'](_0x4fb567(0xd4));case _0x58715a[_0x4fb567(0x212)][_0x4fb567(0x178)]:return _0x184f6b['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x24aa09=_0x112f10[_0x55c3b1(0x23e)](()=>{var _0x4eab3f=_0x55c3b1;const _0x24c262={..._0xe26432,'apiKey':_0x494996[_0x4eab3f(0xee)](),'enableAuth':_0x20c32f};_0x2667f8(_0x24c262);},[_0xe26432,_0x494996,_0x20c32f,_0x2667f8]),_0x1136de=_0x494996[_0x55c3b1(0xee)]()['length']>0x0;return _0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1df),'children':[_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':_0x55c3b1(0x1be),'children':_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x24e),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1c8),'children':_0x4ee893['jsx']('span',{'className':_0x55c3b1(0x1a4),'children':'⚙'})}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'children':_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':_0x55c3b1(0xfb),'children':_0x184f6b['t'](_0x55c3b1(0x134))})})]})}),_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x181),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1d5)+_0x4306c9(_0x3de39d,_0x3ea01d)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x13a)+_0x4f0b44(_0x3de39d,_0x3ea01d)+_0x55c3b1(0x138)}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':_0x55c3b1(0xcf),'children':_0x117f85(_0x3de39d)})]})}),_0x3ea01d!==_0x58715a['MCPConnectionError'][_0x55c3b1(0x1ba)]&&(_0x3de39d===_0x58715a[_0x55c3b1(0x136)][_0x55c3b1(0x1aa)]||_0x3ea01d===_0x58715a[_0x55c3b1(0x212)][_0x55c3b1(0x1ae)])&&_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1dc),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':_0x55c3b1(0xdd),'children':'⚠️'}),_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':_0x55c3b1(0x13f),'children':_0x3141e6(_0x3ea01d)})]})})]}),_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':'univer-space-y-5','children':[_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':'univer-space-y-2','children':[_0x4ee893['jsxs'](_0x55c3b1(0x141),{'className':_0x55c3b1(0xe5),'children':[_0x4ee893[_0x55c3b1(0x15f)]('span',{'children':'🔑'}),'\x20',_0x184f6b['t'](_0x55c3b1(0x1d7)),_0x4ee893[_0x55c3b1(0x15f)]('span',{'className':_0x55c3b1(0x239),'children':'*'}),_0x486d6c&&_0x4ee893[_0x55c3b1(0x15f)]('a',{'href':_0x55c3b1(0x137),'onClick':()=>_0x3ccff8(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x184f6b['t']('mcpConfig.apiApplyInfo.title'),'children':_0x4ee893[_0x55c3b1(0x15f)](_0x81f444,{})})]}),_0x4ee893['jsx'](_0x26d26a[_0x55c3b1(0x142)],{'type':_0x55c3b1(0x176),'placeholder':_0x184f6b['t'](_0x55c3b1(0x1d3)),'value':_0x494996,'onChange':_0x389a8b,'disabled':_0xb236d5,'autoComplete':_0x55c3b1(0x1a7)}),_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':_0x55c3b1(0x1e5),'children':_0x184f6b['t']('mcpConfig.apiKeyHint')})]}),_0x486d6c&&_0x57bcc5&&_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1ac),'children':[_0x4ee893['jsx']('a',{'href':_0x55c3b1(0x137),'onClick':()=>_0x3ccff8(!0x1),'className':_0x55c3b1(0xc6),'title':_0x55c3b1(0xc9),'children':_0x4ee893[_0x55c3b1(0x15f)](_0x31d797,{})}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0x10f),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':'univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x4ee893['jsx']('span',{'className':_0x55c3b1(0x1f9),'children':'🚀'})}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':'univer-flex-1','children':[_0x4ee893['jsx']('h4',{'className':_0x55c3b1(0x1a0),'children':_0x184f6b['t']('mcpConfig.apiApplyInfo.title')}),_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x184f6b['t'](_0x55c3b1(0xe3))}),_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':_0x55c3b1(0x1e8),'children':_0x3384bc&&_0x4ee893[_0x55c3b1(0x13e)]('a',{'href':_0x30c594,'target':_0x55c3b1(0x246),'rel':_0x55c3b1(0x19b),'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'children':'🤖'}),_0x184f6b['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x4ee893['jsxs']('div',{'className':_0x55c3b1(0x169),'children':['✨','\x20',_0x184f6b['t'](_0x55c3b1(0x229))]})]})]})]}),_0x578405[_0x55c3b1(0x234)]&&_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x23b),'children':[_0x4ee893[_0x55c3b1(0x13e)]('h4',{'className':_0x55c3b1(0x201),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'children':'🔗'}),'\x20',_0x184f6b['t'](_0x55c3b1(0x24d))]}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0x10a),'children':[_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0x18a),'children':[_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':_0x55c3b1(0x247),'children':_0x184f6b['t'](_0x55c3b1(0x1b5))}),_0x4ee893['jsxs']('div',{'className':_0x55c3b1(0x1dd),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x184f6b['t'](_0x55c3b1(0x1a9))}),_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x182),'children':[_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)]('span',{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x184f6b['t'](_0x55c3b1(0x21a))]}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':_0x55c3b1(0x179),'children':'2'}),_0x184f6b['t']('mcpConfig.configStep2')]}),_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x184f6b['t'](_0x55c3b1(0x17d))]})]})]})]}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':'univer-space-y-2','children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x238),'children':_0x55c3b1(0x1d8)}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x106),'children':_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0xdc),{'className':_0x55c3b1(0x116),'children':_0x55c3b1(0x16f)+_0x3ec330+_0x55c3b1(0x16d)+(_0x494996||'<API_KEY>')+_0x55c3b1(0x139)})})]}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x18a),'children':[_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':_0x55c3b1(0x238),'children':_0x184f6b['t']('mcpConfig.configParameters')}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1dd),'children':[_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x4ee893['jsx']('div',{'className':_0x55c3b1(0x146)}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'univer_session_id:'}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1e5),'children':_0x184f6b['t'](_0x55c3b1(0x149))})]})]}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x4ee893['jsx'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x146)}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0x1e3),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1ec),'children':_0x55c3b1(0x16e)}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x184f6b['t'](_0x55c3b1(0xcc))})]})]})]})]})]})]}),_0x4ee893[_0x55c3b1(0x15f)](_0x26d26a[_0x55c3b1(0x18b)],{'onClick':_0x24aa09,'disabled':!_0x1136de||_0xb236d5,'className':_0x55c3b1(0x190),'children':_0xb236d5?_0x4ee893[_0x55c3b1(0x13e)]('span',{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'children':'⟲'}),_0x184f6b['t'](_0x55c3b1(0xeb))]}):_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x1f7),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x4ee893[_0x55c3b1(0x15f)](_0x20f6b6,{}),_0x184f6b['t'](_0x55c3b1(0xe1))]})}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x103),'children':_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1d0),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':_0x55c3b1(0x10c),'children':'💡'}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x124),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x237),'children':_0x55c3b1(0x1e4)}),_0x4ee893['jsxs'](_0x55c3b1(0x147),{'children':['•',_0x184f6b['t'](_0x55c3b1(0x1cc))]}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'children':['•',_0x184f6b['t'](_0x55c3b1(0x250))]})]})]})})]})})]});}const _0x2bcee4=_0x5197a1(0x151),_0x42a7fd={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x224106=Object[_0x5197a1(0x155)],_0x125619=(_0x4b1c53,_0x14361b,_0x4aaf96,_0x1d1f45)=>{var _0x22357d=_0x5197a1;for(var _0x40cc64=_0x1d1f45>0x1?void 0x0:_0x1d1f45?_0x224106(_0x14361b,_0x4aaf96):_0x14361b,_0xbff49f=_0x4b1c53[_0x22357d(0x120)]-0x1,_0x5bb837;_0xbff49f>=0x0;_0xbff49f--)(_0x5bb837=_0x4b1c53[_0xbff49f])&&(_0x40cc64=_0x5bb837(_0x40cc64)||_0x40cc64);return _0x40cc64;},_0xfb53da=(_0x41e204,_0x4d59ab)=>(_0x3b65bb,_0x487a93)=>_0x4d59ab(_0x3b65bb,_0x487a93,_0x41e204);const _0x2d6213='mcp.apiKey',_0x42c739='mcp-config-dialog';_0x390653['MCPConfigUIController']=class extends _0x1c0671[_0x5197a1(0x20a)]{constructor(_0xf2b6f,_0x39fba8,_0x224674,_0x53bbf5,_0x31c11c,_0x4842b4,_0x4c8fad,_0x3c450a,_0x362a86,_0x5aa1ae){var _0x5782e5=_0x5197a1;super(),_0x113228(this,_0x5782e5(0x122),new _0x13838f[(_0x5782e5(0x13d))](!0x1)),_0x113228(this,_0x5782e5(0x119),new _0x13838f[(_0x5782e5(0x13d))]({})),_0x113228(this,_0x5782e5(0xef),new _0x13838f[(_0x5782e5(0x13d))]({})),_0x113228(this,_0x5782e5(0xd9),new _0x13838f[(_0x5782e5(0x13d))]('')),_0x113228(this,'_handleConfigSave',async _0x5b0baf=>{var _0x48af98=_0x5782e5,_0x4baabd,_0x2e03fe;this['_loading$'][_0x48af98(0x18d)](!0x0);try{const _0x2891a0=await this[_0x48af98(0x20c)](_0x5b0baf);if(!_0x2891a0[_0x48af98(0x1a2)]){this[_0x48af98(0x22d)]['show']({'type':_0x26d26a[_0x48af98(0x1f6)][_0x48af98(0x244)],'content':_0x2891a0['errorMessage']||this['_localeService']['t'](_0x48af98(0x1f8))});return;}_0x5b0baf[_0x48af98(0x222)]?await this[_0x48af98(0x1ef)]['setItem'](_0x2d6213,_0x5b0baf['apiKey'][_0x48af98(0xee)]()):await this[_0x48af98(0x1ef)][_0x48af98(0x1bf)](_0x2d6213),this[_0x48af98(0xd9)][_0x48af98(0x18d)](((_0x4baabd=_0x5b0baf[_0x48af98(0x222)])==null?void 0x0:_0x4baabd[_0x48af98(0xee)]())||''),this[_0x48af98(0x1f0)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x2e03fe=_0x5b0baf[_0x48af98(0x222)])==null?void 0x0:_0x2e03fe[_0x48af98(0xee)]())}),this[_0x48af98(0x22d)][_0x48af98(0x170)]({'type':_0x26d26a['MessageType'][_0x48af98(0x15c)],'content':this[_0x48af98(0x1cd)]['t'](_0x48af98(0x1e1))}),setTimeout(()=>{var _0x170741=_0x48af98;this[_0x170741(0x1a8)]['close'](_0x42c739);},0x320);}catch(_0x207f89){this[_0x48af98(0x1f4)][_0x48af98(0x23a)](_0x48af98(0x107),_0x207f89),this[_0x48af98(0x22d)][_0x48af98(0x170)]({'type':_0x26d26a[_0x48af98(0x1f6)][_0x48af98(0x244)],'content':this[_0x48af98(0x1cd)]['t'](_0x48af98(0xea))});}finally{this[_0x48af98(0x122)][_0x48af98(0x18d)](!0x1);}}),(this[_0x5782e5(0x108)]=_0xf2b6f,this[_0x5782e5(0x204)]=_0x39fba8,this[_0x5782e5(0x1cf)]=_0x224674,this[_0x5782e5(0x1ef)]=_0x53bbf5,this[_0x5782e5(0x1a8)]=_0x31c11c,this[_0x5782e5(0x22d)]=_0x4842b4,this[_0x5782e5(0x1e0)]=_0x4c8fad,this[_0x5782e5(0x1cd)]=_0x3c450a,this['_logService']=_0x362a86,this[_0x5782e5(0x1f0)]=_0x5aa1ae,this[_0x5782e5(0x252)](),this[_0x5782e5(0x111)](),this[_0x5782e5(0xed)]());}[_0x5197a1(0xf3)](){var _0xe3aea0=_0x5197a1;const _0x362c07=this['_configService'][_0xe3aea0(0x114)](_0x2bcee4);_0x362c07!=null&&_0x362c07[_0xe3aea0(0x234)]&&this[_0xe3aea0(0x1a8)][_0xe3aea0(0x1b9)]({'id':_0x42c739,'title':{'title':this[_0xe3aea0(0x1cd)]['t']('mcpConfig.title')},'children':{'label':_0xe3aea0(0x257)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x1566e7=_0xe3aea0;this[_0x1566e7(0x1a8)][_0x1566e7(0x1fa)](_0x42c739);}});}[_0x5197a1(0xd0)](){var _0xaf0c54=_0x5197a1;return this[_0xaf0c54(0x119)][_0xaf0c54(0x174)];}[_0x5197a1(0xed)](){var _0x5fa58d=_0x5197a1;this[_0x5fa58d(0x110)](this[_0x5fa58d(0x1e0)][_0x5fa58d(0x23c)]('MCPConfigPanel',this[_0x5fa58d(0xf9)]()));}[_0x5197a1(0xf9)](){var _0xa78944=_0x5197a1;return _0x1285f5[_0xa78944(0x1f1)](()=>{var _0x2a0df8=_0xa78944,_0x2b4c44,_0x50960f,_0x2604c1;return _0x4ee893['jsx'](_0xa2f4ab,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x2a0df8(0x119)][_0x2a0df8(0x174)],'currentApiKey$':this[_0x2a0df8(0xd9)],'onSave':this[_0x2a0df8(0x109)],'loading':this[_0x2a0df8(0x122)][_0x2a0df8(0x174)],'connectionStatus$':(_0x2b4c44=this[_0x2a0df8(0x1f0)])==null?void 0x0:_0x2b4c44[_0x2a0df8(0xf4)],'connectionError$':(_0x50960f=this[_0x2a0df8(0x1f0)])==null?void 0x0:_0x50960f[_0x2a0df8(0x1bb)],'currentSessionId$':(_0x2604c1=this[_0x2a0df8(0x1f0)])==null?void 0x0:_0x2604c1[_0x2a0df8(0x10b)]});},this['_injector']);}[_0x5197a1(0x252)](){var _0x3fab63=_0x5197a1;this[_0x3fab63(0x110)](this[_0x3fab63(0x1cf)][_0x3fab63(0x19a)](_0x58715a['MCP_PLUGIN_CONFIG_KEY'])[_0x3fab63(0xf7)](_0x3690ef=>{this['_mcpCoreConfig$']['next'](_0x3690ef||{});}));const _0x52f65d=this[_0x3fab63(0x1cf)][_0x3fab63(0x114)](_0x58715a[_0x3fab63(0x216)]);this['_mcpCoreConfig$'][_0x3fab63(0x18d)](_0x52f65d||{}),this[_0x3fab63(0x110)](this['_configService'][_0x3fab63(0x19a)](_0x2bcee4)[_0x3fab63(0xf7)](_0x235d49=>{var _0x32fb66=_0x3fab63;this[_0x32fb66(0xef)][_0x32fb66(0x18d)](_0x235d49||{});}));const _0x8e6563=this[_0x3fab63(0x1cf)]['getConfig'](_0x2bcee4);this[_0x3fab63(0xef)][_0x3fab63(0x18d)](_0x8e6563||{});}async[_0x5197a1(0x111)](){var _0x4837c6=_0x5197a1;const _0x1e4361=this[_0x4837c6(0x1cf)][_0x4837c6(0x114)](_0x2bcee4);if(!(_0x1e4361!=null&&_0x1e4361['showDeveloperTools']))return;const _0xe0f363=await this['_localStorageService'][_0x4837c6(0x187)](_0x2d6213);_0xe0f363&&(this[_0x4837c6(0x1f0)][_0x4837c6(0x125)]({'Authorization':_0x4837c6(0x24c)+_0xe0f363}),this[_0x4837c6(0xd9)][_0x4837c6(0x18d)](_0xe0f363));}async['_validateConfig'](_0x24fc99){var _0x1ea752=_0x5197a1;if(!_0x24fc99[_0x1ea752(0x222)]||_0x24fc99[_0x1ea752(0x222)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1ea752(0x1cd)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x24fc99['apiKey'][_0x1ea752(0xee)]()[_0x1ea752(0x120)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1ea752(0x1cd)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x4b50a6=await this[_0x1ea752(0x108)][_0x1ea752(0x224)](_0x58715a[_0x1ea752(0x195)])[_0x1ea752(0x1da)](_0x24fc99['apiKey'][_0x1ea752(0xee)]());return _0x4b50a6['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x4b50a6['error']||this[_0x1ea752(0x1cd)]['t'](_0x1ea752(0x10e))};}catch(_0x113fb9){return console['warn'](_0x1ea752(0xf0),_0x113fb9),{'isValid':!0x0};}}},_0x390653[_0x5197a1(0x1e9)]=_0x125619([_0xfb53da(0x0,_0x1c0671['Inject'](_0x1c0671[_0x5197a1(0x15b)])),_0xfb53da(0x1,_0x1285f5[_0x5197a1(0x159)]),_0xfb53da(0x2,_0x1c0671[_0x5197a1(0x167)]),_0xfb53da(0x3,_0x1c0671['ILocalStorageService']),_0xfb53da(0x4,_0x1285f5[_0x5197a1(0x1c1)]),_0xfb53da(0x5,_0x1285f5[_0x5197a1(0x1af)]),_0xfb53da(0x6,_0x1c0671[_0x5197a1(0x215)](_0x1285f5[_0x5197a1(0xd8)])),_0xfb53da(0x7,_0x1c0671[_0x5197a1(0x215)](_0x1c0671[_0x5197a1(0x1fe)])),_0xfb53da(0x8,_0x1c0671[_0x5197a1(0x13b)]),_0xfb53da(0x9,_0x1c0671[_0x5197a1(0x215)](_0x58715a[_0x5197a1(0x195)]))],_0x390653[_0x5197a1(0x1e9)]);const _0x7e120d={'id':_0x5197a1(0x214),'type':_0x1c0671[_0x5197a1(0x22b)][_0x5197a1(0x132)],'handler':async(_0x46e044,_0x2883ba)=>(_0x46e044['get'](_0x390653[_0x5197a1(0x1e9)])[_0x5197a1(0xf3)](),!0x0)};function _0x5aedbc(_0x209d37,_0x178ca9){var _0x19f164=_0x5197a1;switch(_0x209d37){case _0x58715a[_0x19f164(0x136)][_0x19f164(0x12a)]:return'mcpStatus.disconnected';case _0x58715a[_0x19f164(0x136)]['CONNECTING']:return _0x19f164(0x1b2);case _0x58715a[_0x19f164(0x136)][_0x19f164(0x14b)]:return _0x19f164(0x220);case _0x58715a[_0x19f164(0x136)][_0x19f164(0x1aa)]:switch(_0x178ca9){case _0x58715a[_0x19f164(0x212)][_0x19f164(0x1ae)]:return _0x19f164(0x144);case _0x58715a['MCPConnectionError']['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x58715a[_0x19f164(0x212)][_0x19f164(0x1d6)]:return'mcpStatus.networkError';case _0x58715a[_0x19f164(0x212)]['MAX_RETRIES_EXCEEDED']:return _0x19f164(0x236);default:return'mcpStatus.failed';}case _0x58715a[_0x19f164(0x136)][_0x19f164(0x1e6)]:return _0x19f164(0x198);default:return'mcpStatus.unknown';}}function _0x2c9527(_0x269794,_0x2f8f9e,_0x51eee2,_0x28156b=!0x0){var _0x31bd1f=_0x5197a1;const _0x3e5544=_0x5aedbc(_0x269794,_0x2f8f9e),_0x617d50=_0x51eee2['t'](_0x3e5544);return _0x28156b?_0x269794===_0x58715a['MCPConnectionStatus'][_0x31bd1f(0x12a)]&&_0x2f8f9e===_0x58715a[_0x31bd1f(0x212)][_0x31bd1f(0x1ae)]?_0x617d50+'\x20-\x20'+_0x51eee2['t']('mcpStatus.clickToConfigure'):_0x269794===_0x58715a[_0x31bd1f(0x136)][_0x31bd1f(0x14b)]?''+_0x617d50:_0x269794===_0x58715a[_0x31bd1f(0x136)][_0x31bd1f(0x12a)]||_0x269794===_0x58715a[_0x31bd1f(0x136)][_0x31bd1f(0x1aa)]?_0x617d50+'\x20-\x20'+_0x51eee2['t'](_0x31bd1f(0x11f)):_0x617d50:_0x617d50;}function _0x23b005(_0x52aedd){var _0x177b8d=_0x5197a1;switch(_0x52aedd){case _0x58715a[_0x177b8d(0x136)][_0x177b8d(0x14b)]:return _0x177b8d(0x160);case _0x58715a['MCPConnectionStatus'][_0x177b8d(0x1b3)]:case _0x58715a['MCPConnectionStatus'][_0x177b8d(0x1e6)]:return _0x177b8d(0x225);case _0x58715a[_0x177b8d(0x136)][_0x177b8d(0x1aa)]:case _0x58715a[_0x177b8d(0x136)][_0x177b8d(0x12a)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function _0x375b28(_0x2a75a1){var _0x1b2129=_0x5197a1;const {status$:_0x211c14,error$:_0x2dfa28,onConfigure:_0x200841,showClickable:_0xc3f009=!0x0}=_0x2a75a1,_0x22cf5c=_0x1285f5['useObservable'](_0x211c14,_0x58715a[_0x1b2129(0x136)][_0x1b2129(0x12a)]),_0x3c1d1e=_0x1285f5[_0x1b2129(0x105)](_0x2dfa28,_0x58715a[_0x1b2129(0x212)][_0x1b2129(0x1ba)]),_0x4c20e3=_0x1285f5[_0x1b2129(0x205)](_0x1c0671[_0x1b2129(0x1fe)]),_0x3d085f=_0x22cf5c===_0x58715a[_0x1b2129(0x136)][_0x1b2129(0x14b)];_0x22cf5c===_0x58715a[_0x1b2129(0x136)]['CONNECTING']||_0x58715a[_0x1b2129(0x136)][_0x1b2129(0x1e6)];const _0xcbb3e3=_0x4c20e3['t'](_0x5aedbc(_0x22cf5c,_0x3c1d1e)),_0x5e3a0c=_0x2c9527(_0x22cf5c,_0x3c1d1e,_0x4c20e3,_0xc3f009),_0x22bc20=_0x23b005(_0x22cf5c),_0x5041bc=_0x3d085f?_0x4ee893[_0x1b2129(0x15f)](_0x106b55,{}):_0x4ee893[_0x1b2129(0x15f)](_0x382e9c,{}),_0x4a6f2a=_0x112f10[_0x1b2129(0x23e)](()=>{_0xc3f009&&_0x200841&&_0x200841();},[_0xc3f009,_0x200841]);function _0x19090d(){var _0xda637a=_0x1b2129;return _0x4ee893['jsxs'](_0xda637a(0x147),{'className':_0x26d26a[_0xda637a(0x131)](_0xda637a(0x20b),_0xc3f009&&_0x200841&&_0xda637a(0x148)),'onClick':_0xc3f009&&_0x200841?_0x4a6f2a:void 0x0,'children':[_0x4ee893['jsx'](_0xda637a(0x147),{'className':_0x26d26a['clsx'](_0xda637a(0x130),_0x22bc20),'children':_0x5041bc}),_0x4ee893[_0xda637a(0x15f)](_0xda637a(0x147),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xcbb3e3})]});}return _0x4ee893[_0x1b2129(0x15f)](_0x26d26a[_0x1b2129(0x17a)],{'title':_0x5e3a0c,'placement':_0x1b2129(0x1ca),'children':_0x19090d()});}var _0x16d80d=Object[_0x5197a1(0x155)],_0x3bdfce=(_0x116143,_0x29d1b4,_0x552259,_0x4dd553)=>{for(var _0x58333d=_0x4dd553>0x1?void 0x0:_0x4dd553?_0x16d80d(_0x29d1b4,_0x552259):_0x29d1b4,_0x261a82=_0x116143['length']-0x1,_0x56ffb9;_0x261a82>=0x0;_0x261a82--)(_0x56ffb9=_0x116143[_0x261a82])&&(_0x58333d=_0x56ffb9(_0x58333d)||_0x58333d);return _0x58333d;},_0x2d395d=(_0x531a58,_0x4f9ca1)=>(_0x123894,_0xa14485)=>_0x4f9ca1(_0x123894,_0xa14485,_0x531a58);_0x390653[_0x5197a1(0xf8)]=class extends _0x1c0671[_0x5197a1(0x20a)]{constructor(_0x23a845,_0x2e73d2,_0x103645,_0x3c8a4a){var _0x438274=_0x5197a1;super(),this['_injector']=_0x23a845,this['_connectionController']=_0x2e73d2,this[_0x438274(0x204)]=_0x103645,this[_0x438274(0x1cf)]=_0x3c8a4a,this[_0x438274(0xf2)](),this[_0x438274(0x175)]();}[_0x5197a1(0xf2)](){var _0x3dd0eb=_0x5197a1;const _0x2244a0=this[_0x3dd0eb(0x1cf)][_0x3dd0eb(0x114)](_0x2bcee4);_0x2244a0!=null&&_0x2244a0[_0x3dd0eb(0x234)]&&(this[_0x3dd0eb(0x100)][_0x3dd0eb(0x121)]=!0x1);}[_0x5197a1(0x175)](){var _0x5d861f=_0x5197a1;const _0x4ffdf6=this['_configService']['getConfig'](_0x2bcee4);(_0x4ffdf6==null?void 0x0:_0x4ffdf6[_0x5d861f(0x161)])!==!0x1&&this['disposeWithMe'](this[_0x5d861f(0x204)][_0x5d861f(0x24a)](_0x1285f5[_0x5d861f(0xc7)][_0x5d861f(0x180)],()=>{var _0xf93376=_0x5d861f,_0x44f46b;return _0x1285f5[_0xf93376(0x1f1)](_0x163bf3({'status$':this[_0xf93376(0x100)][_0xf93376(0xf4)],'error$':this[_0xf93376(0x100)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x44f46b=_0x4ffdf6==null?void 0x0:_0x4ffdf6['showDeveloperTools'])!=null?_0x44f46b:!0x1}),this['_injector']);}));}['_handleConfigure'](){var _0x154146=_0x5197a1;this[_0x154146(0x108)][_0x154146(0x224)](_0x390653[_0x154146(0x1e9)])[_0x154146(0xf3)]();}},_0x390653['MCPConnectionUIController']=_0x3bdfce([_0x2d395d(0x0,_0x1c0671[_0x5197a1(0x215)](_0x1c0671[_0x5197a1(0x15b)])),_0x2d395d(0x1,_0x1c0671[_0x5197a1(0x215)](_0x58715a[_0x5197a1(0x195)])),_0x2d395d(0x2,_0x1285f5[_0x5197a1(0x159)]),_0x2d395d(0x3,_0x1c0671[_0x5197a1(0x167)])],_0x390653[_0x5197a1(0xf8)]);function _0x163bf3(_0x575ca6){const {status$:_0x288bc4,error$:_0x265ca7,onConfigure:_0x159f2a,showClickable:_0x2a88c7}=_0x575ca6;return function(){var _0x47d86b=_0x1ff0;return _0x4ee893[_0x47d86b(0x15f)](_0x375b28,{'status$':_0x288bc4,'error$':_0x265ca7,'onConfigure':_0x159f2a,'showClickable':_0x2a88c7});};}function _0x3b37c4(_0x51f225){var _0x354491=_0x5197a1;return{'id':_0x7e120d['id'],'type':_0x1285f5[_0x354491(0x171)][_0x354491(0x17b)],'icon':_0x354491(0x189),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}const _0x2ed55f={[_0x1285f5[_0x5197a1(0x186)][_0x5197a1(0x17e)]]:{[_0x7e120d['id']]:{'order':0xa,'menuItemFactory':_0x3b37c4}}};var _0x2692ce=Object[_0x5197a1(0x155)],_0x4ebbbe=(_0x560d46,_0x362b5f,_0x41838f,_0x24611c)=>{var _0xc4520c=_0x5197a1;for(var _0x3065ce=_0x24611c>0x1?void 0x0:_0x24611c?_0x2692ce(_0x362b5f,_0x41838f):_0x362b5f,_0xc02d88=_0x560d46[_0xc4520c(0x120)]-0x1,_0x21bc9e;_0xc02d88>=0x0;_0xc02d88--)(_0x21bc9e=_0x560d46[_0xc02d88])&&(_0x3065ce=_0x21bc9e(_0x3065ce)||_0x3065ce);return _0x3065ce;},_0x1d9c76=(_0x509f8c,_0x304c0e)=>(_0x298bbf,_0x20de49)=>_0x304c0e(_0x298bbf,_0x20de49,_0x509f8c);_0x390653[_0x5197a1(0x259)]=class extends _0x1c0671[_0x5197a1(0x20a)]{constructor(_0x48ab9a,_0x3304e6){var _0x842185=_0x5197a1;super(),this[_0x842185(0x1ab)]=_0x48ab9a,this[_0x842185(0x241)]=_0x3304e6,this['_initializeCommands'](),this['_initializeMenus']();}[_0x5197a1(0x1b7)](){var _0x158397=_0x5197a1;[_0x7e120d][_0x158397(0x242)](_0x4551ae=>{var _0x5e7210=_0x158397;this[_0x5e7210(0x110)](this[_0x5e7210(0x1ab)][_0x5e7210(0x20e)](_0x4551ae));});}['_initializeMenus'](){var _0x158e26=_0x5197a1;this['_menuManagerService'][_0x158e26(0x15a)](_0x2ed55f);}},_0x390653['MCPUIMenuController']=_0x4ebbbe([_0x1d9c76(0x0,_0x1c0671['ICommandService']),_0x1d9c76(0x1,_0x1285f5['IMenuManagerService'])],_0x390653[_0x5197a1(0x259)]);const _0x5ba88e={'mcpStatus':{'disconnected':_0x5197a1(0x21e),'connecting':_0x5197a1(0x25a),'connected':_0x5197a1(0xcb),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5197a1(0x15d),'unknown':_0x5197a1(0x13c),'unauthorized':_0x5197a1(0x12d),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5197a1(0x150),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5197a1(0x211),'clickToConfigure':_0x5197a1(0x194)},'mcpConfig':{'title':_0x5197a1(0x1d8),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x5197a1(0x129),'apiKeyHint':_0x5197a1(0x1ea),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5197a1(0x18c),'connectionInfo':_0x5197a1(0x183),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5197a1(0x228),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x5197a1(0x21c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x5197a1(0x217),'sessionId':_0x5197a1(0xd2),'sessionIdDescription':_0x5197a1(0x12f),'authorizationDescription':_0x5197a1(0x133),'configParameters':_0x5197a1(0xdf),'maxRetries':_0x5197a1(0x196),'save':_0x5197a1(0x1d4),'saving':_0x5197a1(0x1bc),'note1':_0x5197a1(0x199),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x5197a1(0x248),'configError':_0x5197a1(0x163),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5197a1(0x232),'univerAiLabel':_0x5197a1(0x21f),'getStarted':_0x5197a1(0xc8)},'validation':{'apiKeyRequired':_0x5197a1(0x1ce),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5197a1(0x19d),'invalidApiKey':_0x5197a1(0x210)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x5197a1(0x1de),'failed':'Connection\x20Failed','retrying':_0x5197a1(0x16b)},'connectionError':{'unauthorized':_0x5197a1(0x1b4),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5197a1(0x1c6),'maxRetriesExceeded':_0x5197a1(0x227)}}},_0x1e1f1c={'mcpStatus':{'disconnected':_0x5197a1(0x11a),'connecting':_0x5197a1(0xca),'connected':_0x5197a1(0xcd),'failed':_0x5197a1(0x104),'retrying':_0x5197a1(0x154),'unknown':_0x5197a1(0x1a1),'unauthorized':_0x5197a1(0x1f2),'sessionOccupied':_0x5197a1(0x101),'networkError':_0x5197a1(0x22a),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x5197a1(0x117),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':_0x5197a1(0x1bd),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x5197a1(0x226),'enableAuthHint':_0x5197a1(0xfa),'connectionInfo':_0x5197a1(0x203),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x5197a1(0xfe),'configStepTitle':_0x5197a1(0x1a5),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x5197a1(0x219),'configStep3':_0x5197a1(0x20f),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x5197a1(0x1b6),'configParameters':_0x5197a1(0x193),'maxRetries':_0x5197a1(0x173),'save':_0x5197a1(0x1b0),'saving':_0x5197a1(0x22e),'note1':'配置更改将立即生效','note2':_0x5197a1(0xe4),'configSaved':_0x5197a1(0x253),'configError':_0x5197a1(0x162),'apiApplyInfo':{'title':_0x5197a1(0x233),'description':_0x5197a1(0xd3),'univerAiLabel':_0x5197a1(0x17c),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x5197a1(0x192),'invalidApiKey':_0x5197a1(0x127)},'connectionStatus':{'disconnected':_0x5197a1(0x240),'connecting':'连接中...','connected':_0x5197a1(0xf5),'failed':_0x5197a1(0x145),'retrying':_0x5197a1(0x191)},'connectionError':{'unauthorized':_0x5197a1(0x172),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x5197a1(0x152),'maxRetriesExceeded':_0x5197a1(0x1ff)}}};var _0x535adb=Object[_0x5197a1(0x21d)],_0x519a89=Object[_0x5197a1(0x155)],_0x319dd1=(_0x46dc92,_0x35275a,_0xe8724b)=>_0x35275a in _0x46dc92?_0x535adb(_0x46dc92,_0x35275a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe8724b}):_0x46dc92[_0x35275a]=_0xe8724b,_0x45c737=(_0x3aa8ae,_0x1c9f6f,_0x36eaf8,_0x19382d)=>{for(var _0x345024=_0x19382d>0x1?void 0x0:_0x19382d?_0x519a89(_0x1c9f6f,_0x36eaf8):_0x1c9f6f,_0x122b4d=_0x3aa8ae['length']-0x1,_0x5636bb;_0x122b4d>=0x0;_0x122b4d--)(_0x5636bb=_0x3aa8ae[_0x122b4d])&&(_0x345024=_0x5636bb(_0x345024)||_0x345024);return _0x345024;},_0x358244=(_0x1e5ab5,_0x9da1f9)=>(_0x2d5f1a,_0x36fcb1)=>_0x9da1f9(_0x2d5f1a,_0x36fcb1,_0x1e5ab5),_0x12d92e=(_0x4bd2fa,_0x293b9b,_0xd81df8)=>_0x319dd1(_0x4bd2fa,_0x293b9b+'',_0xd81df8);_0x390653[_0x5197a1(0x1d9)]=class extends _0x1c0671[_0x5197a1(0x118)]{constructor(_0x25f150=_0x42a7fd,_0x1f0ad4,_0x3ec93c,_0x5ddae5,_0x488781,_0x975760){var _0x5523a4=_0x5197a1;super(),this['_config']=_0x25f150,this[_0x5523a4(0x108)]=_0x1f0ad4,this[_0x5523a4(0x1cf)]=_0x3ec93c,this[_0x5523a4(0x204)]=_0x5ddae5,this[_0x5523a4(0x1ef)]=_0x488781,this[_0x5523a4(0x1cd)]=_0x975760;const {..._0x17b2ec}=_0x1c0671['merge']({},_0x42a7fd,this[_0x5523a4(0x22c)]);this['_configService'][_0x5523a4(0xe9)](_0x2bcee4,_0x17b2ec);}async[_0x5197a1(0x245)](){var _0x1691ee=_0x5197a1;const _0x5aea76=[[_0x390653['MCPConnectionUIController']],[_0x390653[_0x1691ee(0x1e9)]],[_0x390653[_0x1691ee(0x259)]]];this[_0x1691ee(0x108)][_0x1691ee(0x1ed)](_0x4809fb[_0x1691ee(0x128)])||_0x5aea76[_0x1691ee(0x223)]([_0x4809fb[_0x1691ee(0x128)],{'useClass':_0x4809fb[_0x1691ee(0x11d)]}]),_0x5aea76[_0x1691ee(0x242)](_0x52be23=>this[_0x1691ee(0x108)][_0x1691ee(0x14a)](_0x52be23)),this['_injector'][_0x1691ee(0x224)](_0x390653[_0x1691ee(0xf8)]),this[_0x1691ee(0x108)][_0x1691ee(0x224)](_0x390653['MCPConfigUIController']),this['_injector'][_0x1691ee(0x224)](_0x390653[_0x1691ee(0x259)]);}},_0x12d92e(_0x390653[_0x5197a1(0x1d9)],'pluginName',_0x5197a1(0x11b)),_0x390653[_0x5197a1(0x1d9)]=_0x45c737([_0x1c0671[_0x5197a1(0xd6)](_0x58715a[_0x5197a1(0x19c)]),_0x358244(0x1,_0x1c0671[_0x5197a1(0x215)](_0x1c0671[_0x5197a1(0x15b)])),_0x358244(0x2,_0x1c0671[_0x5197a1(0x167)]),_0x358244(0x3,_0x1285f5[_0x5197a1(0x159)]),_0x358244(0x4,_0x1c0671['ILocalStorageService']),_0x358244(0x5,_0x1c0671[_0x5197a1(0x215)](_0x1c0671[_0x5197a1(0x1fe)]))],_0x390653[_0x5197a1(0x1d9)]),_0x390653[_0x5197a1(0x257)]=_0xa2f4ab,_0x390653[_0x5197a1(0x168)]=_0x375b28,_0x390653['OpenMCPConfigPanelCommand']=_0x7e120d,_0x390653['enUS']=_0x5ba88e,_0x390653[_0x5197a1(0x185)]=_0x1e1f1c,Object[_0x5197a1(0x21d)](_0x390653,Symbol['toStringTag'],{'value':_0x5197a1(0x249)});}));function _0x1ff0(_0x284881,_0x167bb7){var _0x490190=_0x4901();return _0x1ff0=function(_0x1ff05a,_0x7a8dbd){_0x1ff05a=_0x1ff05a-0xc5;var _0x477efc=_0x490190[_0x1ff05a];return _0x477efc;},_0x1ff0(_0x284881,_0x167bb7);}function _0x4901(){var _0x5f136f=['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','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','UNAUTHORIZED','IMessageService','保存配置','357bmFfMw','mcpStatus.connecting','CONNECTING','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpConfig.configInstructions','带有\x20Bearer\x20前缀的\x20API\x20密钥。','_initializeCommands','object','open','NONE','connectionError$','Saving...','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','removeItem','3134997sllTzJ','IDialogService','http://www.w3.org/2000/svg','mcpConfig.connectionError.unauthorized','@univerjs-pro/mcp','url(#$1','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','UniverIcon','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','assign','bottom','useState','mcpConfig.note1','_localeService','API\x20key\x20is\x20required','_configService','univer-flex\x20univer-gap-3','1em','220170bBiIUx','mcpConfig.apiKeyPlaceholder','Save\x20Configuration','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','NETWORK_ERROR','mcpConfig.apiKey','MCP\x20Configuration','UniverMCPUIPlugin','validateApiKey','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-flex\x20univer-items-start\x20univer-gap-2','univer-space-y-2','Connected','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','_componentManager','mcpConfig.configSaved','url(#on-line-icon_clip0_910_349)','univer-min-w-0\x20univer-flex-1','Configuration\x20Notes:','univer-text-xs\x20univer-text-gray-500','RETRYING','className','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCPConfigUIController','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.connectionStatus.connecting','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','has','mcpConfig.connectionStatus.disconnected','_localStorageService','_mcpConnectionController','connectInjector','MCP:\x20未授权','SESSION_ID_OCCUPIED','_logService','@univerjs/core','MessageType','span','mcpConfig.validation.invalidConfig','univer-text-blue-600','close','0\x200\x2016\x2016','React','off-line-icon_clip0_910_343','LocaleService','超出最大重试次数,请稍后再试','white','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','fill','MCP\x20客户端配置','_uiPartsService','useDependency','130789FMmSUw','@univerjs/design','function','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','Disposable','univer-flex\x20univer-items-center','_validateConfig','@univerjs/ui','registerCommand','重启您的\x20MCP\x20客户端以使配置生效','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Click\x20to\x20connect\x20MCP','MCPConnectionError','colorChannel1','mcp-ui.command.openConfigPanel','Inject','MCP_PLUGIN_CONFIG_KEY','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','idSuffix','将配置添加到您的\x20MCP\x20客户端设置文件中','mcpConfig.configStep1','check-mark-icon','Copy\x20the\x20JSON\x20configuration\x20below','defineProperty','MCP\x20Disconnected','Univer\x20AI\x20Console','mcpStatus.connected','attrs','apiKey','push','get','univer-text-yellow-500','启用身份验证','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpConfig.apiApplyInfo.getStarted','MCP:\x20网络错误','CommandType','_config','_messageService','保存中...','close-small-single','tag','univerjs-icon\x20univerjs-icon-','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','什么是\x20API\x20密钥?','showDeveloperTools','includes','mcpStatus.maxRetriesExceeded','univer-font-medium','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-text-red-500','error','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','register','2252360vZbXPH','useCallback','on-line-icon_clip0_910_349','未连接','_menuManagerService','forEach','path','Error','onStarting','_blank','univer-text-xs\x20univer-text-gray-600','Configuration\x20saved\x20successfully','Module','registerComponent','CheckMarkIcon','Bearer\x20','mcpConfig.connectionInfo','univer-flex\x20univer-items-center\x20univer-gap-3','UniverDesign','mcpConfig.note2','round','_initConfigSync','配置保存成功','univer.plus','concat','react','MCPConfigPanel','@univerjs/network','MCPUIMenuController','MCP\x20Connecting...','1391886zBqzdn','svg','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','BuiltInUIPart','Get\x20your\x20API\x20key\x20in\x20seconds','Close','MCP\x20连接中...','MCP\x20Connected','mcpConfig.authorizationDescription','MCP\x20已连接','univer-flex\x20univer-items-center\x20univer-gap-2','univer-text-sm\x20univer-font-medium','getCurrentConfig','random','Session\x20ID','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.connectionError.networkError','url(#off-line-icon_clip0_910_343)','DependentOn','entries','ComponentManager','_apiKey$','clipPath','M0\x200H16V16H0z','pre','univer-flex-shrink-0\x20univer-text-red-500','0\x200\x2017\x2017','Configuration\x20Parameters:','string','mcpConfig.save','univer-bg-red-500','mcpConfig.apiApplyInfo.description','您的\x20API\x20密钥安全存储在本地存储中','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-bg-blue-500','extend','mcpConfig.connectionStatus.retrying','setConfig','mcpConfig.configError','mcpConfig.saving','63728KyoSfj','_registerComponent','trim','_config$','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','amd','_initAutoConnect','showConfigPanel','connectionStatus$','已连接','prototype','subscribe','MCPConnectionUIController','_createConfigPanelComponent','启用身份验证以获得安全连接','univer-text-sm\x20univer-text-gray-500','mcpConfig.connectionStatus.failed','UniverNetwork','将以下配置添加到您的\x20MCP\x20客户端设置中:','xlink:href','_connectionController','MCP:\x20会话\x20ID\x20已被占用','off-line-icon','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','MCP\x20连接失败','useObservable','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_injector','_handleConfigSave','univer-space-y-4','sessionId$','univer-flex-shrink-0\x20univer-text-blue-500','displayName','mcpConfig.validation.invalidApiKey','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','disposeWithMe','_loadStoredApiKey','mcpServerUrl','toString','getConfig','https://console.univer.plus','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','点击连接\x20MCP','Plugin','_mcpCoreConfig$','MCP\x20已断开','MCP_UI_PLUGIN','mcpConfig.connectionStatus.connected','WebSocketService','currentColor','mcpStatus.clickToConnect','length','enableAutoConnect','_loading$','OnLineIcon','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','__setCustomHeaders','forwardRef','API\x20密钥无效,请检查密钥是否正确','ISocketService','Enter\x20your\x20API\x20key','DISCONNECTED','help-single','on-line-icon','MCP:\x20Unauthorized','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','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-mr-2\x20univer-flex\x20univer-text-xl','clsx','COMMAND','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.description','getOwnPropertySymbols','MCPConnectionStatus','javascript:void(0)','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ILogService','MCP\x20Unknown\x20Status','BehaviorSubject','jsxs','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','HelpSingle','label','Input','defs','mcpStatus.unauthorized','连接失败','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','div','\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','mcpConfig.sessionIdDescription','add','CONNECTED','univer.ai','none','replace','map','MCP:\x20Network\x20Error','mcp-ui.config','网络连接错误,请检查您的网络连接','rxjs','MCP\x20重连中...','getOwnPropertyDescriptor','0\x200\x2017\x2016','hasOwnProperty','children','IUIPartsService','mergeMenu','Injector','Success','MCP\x20Retrying...','mcpConfig.connectionError.sessionOccupied','jsx','univer-text-green-500','showStatus','配置保存失败','Failed\x20to\x20save\x20configuration','CloseSmallSingle','defIds','createElement','IConfigService','MCPStatusDisplay','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','12giScyv','Retrying...','mask','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','Authorization:','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','show','MenuItemType','权限验证失败,请检查您的\x20API\x20密钥','最大重试次数','value','_initStatusComponent','text','OffLineIcon','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','Tooltip','BUTTON','Univer\x20AI\x20控制台','mcpConfig.configStep3','OTHERS','react/jsx-runtime','HEADER_MENU','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','MCP\x20Client\x20Configuration','use','zhCN','RibbonStartGroup','getItem','541765LMJEHj','MenuIcon','univer-space-y-3','Button','Enable\x20authentication\x20for\x20secure\x20connections','next','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','propertyIsEnumerable','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','重连中...','配置无效','配置参数:','Click\x20to\x20configure\x20MCP','MCPConnectionController','Max\x20Retries','exports','mcpStatus.retrying','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','subscribeConfigValue$','noopener\x20noreferrer','UniverMCPPlugin','Invalid\x20configuration','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','call','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP\x20状态未知','isValid','evenodd','univer-text-white','配置步骤:','UniverProMcpUi','off','_dialogService','mcpConfig.configStepTitle','FAILED','_commandService'];_0x4901=function(){return _0x5f136f;};return _0x4901();}
1
+ function _0x368d(){const _0x424f19=['MCPConnectionStatus','push','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','https://console.univer.ai','univer-shrink-0\x20univer-text-red-500','CommandType','SESSION_ID_OCCUPIED','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_registerComponent','mcpConfig.connectionStatus.connecting','url(#$1','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','会话\x20ID\x20已被占用,请稍后再试','0\x200\x2017\x2016','复制以下\x20JSON\x20配置','_initStatusComponent','show','register','useRef','length','7InMCbS','attrs','jsxs','配置保存失败','UNAUTHORIZED','mcpConfig.connectionStatus.failed','univer-shrink-0\x20univer-text-blue-500','Tooltip','univer-space-y-5','univer-size-2\x20univer-rounded-full','mcpConfig.saving','univer.ai','UniverCore','jsx','use','getConfig','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','BehaviorSubject','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','点击连接\x20MCP','超出最大重试次数,请稍后再试','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','OffLineIcon','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','mcpConfig.configStep1','setConfig','103125pabVBg','MCP\x20Connection\x20Failed','0\x200\x2016\x2016','IMessageService','MCP:\x20未授权','registerCommand','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','配置保存成功','\x20-\x20','MCP:\x20Session\x20ID\x20Occupied','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','RETRYING','MCP\x20客户端配置','MCP:\x20Network\x20Error','Configuration\x20Parameters:','showDeveloperTools','univer-flex\x20univer-items-start\x20univer-gap-2','mcpStatus.networkError','url(#off-line-icon_clip0_910_343)','tag','1em','MCP:\x20会话\x20ID\x20已被占用','IConfigService','COMMAND','getOwnPropertyDescriptor','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','NETWORK_ERROR','Disposable','on-line-icon','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','isValid','_connectionController','univer-bg-green-500','univer-text-xs\x20univer-text-gray-500','MCP\x20状态未知','Configuration\x20Steps:','mcpConfig.configStep2','_config$','mcpConfig.validation.invalidApiKey','MCP\x20已断开','removeItem','BuiltInUIPart','MCP\x20Connecting...','clsx','mcpConfig.note1','subscribeConfigValue$','object','1371EcqEzr','MCP\x20Configuration','配置\x20MCP\x20使用\x20AI\x20操作电子表格','API\x20Key','validateApiKey','_mcpConnectionController','_commandService','_apiKey$','_createConfigPanelComponent','重启您的\x20MCP\x20客户端以使配置生效','mcpConfig.connectionInfo','ICommandService','http://www.w3.org/2000/svg','check-mark-icon','showConfigPanel','615484bzaiHl','MCPConfigUIController','API\x20密钥无效,请检查密钥是否正确','mcpConfig.configStepTitle','Injector','启用身份验证','您的\x20API\x20密钥安全存储在本地存储中','univer-bg-red-500','什么是\x20API\x20密钥?','Max\x20Retries','react','1845176rBlNsS','mcpStatus.unauthorized','error','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','What\x20is\x20API\x20Key?','replace','React','Invalid\x20configuration','Saving...','权限验证失败,请检查您的\x20API\x20密钥','univer-min-w-0\x20univer-flex-1','MCP\x20配置','currentColor','univer-text-red-500','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.apiKey','svg','_localeService','UniverProMcp','LocaleService','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcp-ui.command.openConfigPanel','mcpConfig.apiApplyInfo.description','连接失败','mcpStatus.disconnected','add','mcpConfig.validation.invalidConfig','IUIPartsService','Click\x20to\x20connect\x20MCP','univer-text-yellow-500','path','has','white','您的\x20API\x20密钥将在此浏览器中本地存储','mask','150RgRGzy','mcpConfig.connectionError.maxRetriesExceeded','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','connectionError$','HelpIcon','1608vEtwPX','已连接','off-line-icon','mcpConfig.configStep3','div','_handleConfigure','off-line-icon_clip0_910_343','fill','mcp-ui.config','Get\x20your\x20API\x20key\x20in\x20seconds','保存中...','_validateConfig','univer-flex\x20univer-items-center\x20univer-gap-3','_handleConfigSave','round','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-size-4','rxjs','会话ID','clipPath','univer-text-sm\x20univer-text-gray-500','amd','mcpConfig.description','univer-space-y-2','next','MCP:\x20Unauthorized','univer-space-y-3','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','UniverIcon','DISCONNECTED','Bearer\x20','http','1610GNnGif','_logService','colorChannel1','mcpStatus.maxRetriesExceeded','Connection\x20Failed','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','createElement','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','mcpConfig.configParameters','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','UniverMCPUIPlugin','UniverDesign','API\x20key\x20with\x20Bearer\x20prefix.','symbol','defineProperty','_loadStoredApiKey','_mcpCoreConfig$','univer_session_id:','OpenMCPConfigPanelCommand','exports','MCP\x20Retrying...','MCP\x20连接失败','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCPUIMenuController','xlink:href','univer-flex-1','includes','merge','配置参数:','API\x20key\x20is\x20required','Copy\x20the\x20JSON\x20configuration\x20below','map','几秒钟内获取您的\x20API\x20密钥','18stoNJU','_loading$','OnLineIcon','_config','_dialogService','CONNECTED','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','text','connectionStatus$','univer-text-gray-400','univer-flex\x20univer-items-center','MCPConnectionController','useState','substring','MAX_RETRIES_EXCEEDED','subscribe','trim','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpStatus.sessionOccupied','Enable\x20authentication\x20for\x20secure\x20connections','entries','forwardRef','_initAutoConnect','_messageService','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','url(#on-line-icon_clip0_910_349)','Input','MCP\x20Disconnected','_injector','help-icon','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-flex\x20univer-gap-3','children','MCP_UI_PLUGIN','__setCustomHeaders','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','WebSocketService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','close','mcpConfig.save','sessionId$','mcpConfig.connectionStatus.disconnected','showStatus','getCurrentConfig','none','useCallback','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','MCPStatusDisplay','https://console.univer.plus','MCPConnectionUIController','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpStatus.clickToConnect','@univerjs/network','univer-font-medium','_menuManagerService','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','assign','evenodd','MCP_PLUGIN_CONFIG_KEY','mcpServerUrl','_initConfigSync','MCP\x20重连中...','mcpConfig.validation.apiKeyRequired','配置更改将立即生效','mcpConfig.connectionStatus.connected','<API_KEY>','mcpConfig.apiApplyInfo.univerAiLabel','配置无效','配置步骤:','get','string','mergeMenu','mcpConfig.apiKeyPlaceholder','mcpConfig.note2','ILogService','Session\x20ID','univerjs-icon\x20univerjs-icon-','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','onStarting','MCP\x20Connected','MCP\x20Unknown\x20Status','Connected','MessageType','mcpConfig.configInstructions','univer-flex\x20univer-flex-wrap\x20univer-gap-2','M0\x200H16V16H0z','启用身份验证以获得安全连接','DependentOn','noopener\x20noreferrer','\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','4BrohYY','stringify','forEach','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','CONNECTING','value','enUS','Connecting...','Save\x20Configuration','_configService','useObservable','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpStatus.failed','setItem','button','react/jsx-runtime','403569AANJCa','span','MCPConnectionError','univer-bg-blue-500','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','errorMessage','univer-text-blue-600','FAILED','507970WTxWbG','defs','20462RbObfd','ILocalStorageService','NONE','defIds','RibbonStartGroup','API\x20密钥','displayName','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','close-icon','_localStorageService','function','mcpConfig.connectionStatus.retrying','_initializeMenus','_componentManager','univer.plus','current','registerComponent','_blank','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-mr-2\x20univer-flex\x20univer-text-xl','Retrying...','mcpStatus.unknown','Inject','Authorization:','on-line-icon_clip0_910_349','disposeWithMe','mcpConfig.apiApplyInfo.title','ISocketService','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','apiKey','MCP\x20已连接','90xFbZnm','idSuffix','univer-text-green-500','重连中...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','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','mcpConfig.title','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','toString','_uiPartsService','univer-flex\x20univer-items-center\x20univer-gap-2','_initializeCommands','mcpConfig.apiApplyInfo.getStarted','请输入您的\x20API\x20密钥','mcpStatus.connecting','mcpConfig.connectionError.sessionOccupied','Button','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','mcpConfig.apiKeyHint','MCP\x20连接中...','<SESSION_ID>','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','Configuration\x20Notes:','MCPConfigPanel','CheckMarkIcon','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','zhCN','enableAutoConnect','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8'];_0x368d=function(){return _0x424f19;};return _0x368d();}function _0x25c8(_0x59fdfd,_0xb7861b){const _0x368da9=_0x368d();return _0x25c8=function(_0x25c880,_0x2e49c1){_0x25c880=_0x25c880-0x10c;let _0x3bdb07=_0x368da9[_0x25c880];return _0x3bdb07;},_0x25c8(_0x59fdfd,_0xb7861b);}(function(_0x4fb952,_0x598c9c){const _0x286110=_0x25c8,_0x280065=_0x4fb952();while(!![]){try{const _0x16b5d0=-parseInt(_0x286110(0x193))/0x1*(-parseInt(_0x286110(0x272))/0x2)+parseInt(_0x286110(0x217))/0x3*(-parseInt(_0x286110(0x1a2))/0x4)+parseInt(_0x286110(0x28a))/0x5*(parseInt(_0x286110(0x118))/0x6)+-parseInt(_0x286110(0x14a))/0x7*(parseInt(_0x286110(0x1ad))/0x8)+-parseInt(_0x286110(0x282))/0x9*(parseInt(_0x286110(0x1d0))/0xa)+parseInt(_0x286110(0x164))/0xb*(parseInt(_0x286110(0x1d6))/0xc)+parseInt(_0x286110(0x28c))/0xd*(-parseInt(_0x286110(0x1f6))/0xe);if(_0x16b5d0===_0x598c9c)break;else _0x280065['push'](_0x280065['shift']());}catch(_0x190946){_0x280065['push'](_0x280065['shift']());}}}(_0x368d,0xbd4ec),function(_0x47e1ff,_0x24b11b){const _0x57d196=_0x25c8;typeof exports==_0x57d196(0x192)&&typeof module<'u'?_0x24b11b(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==_0x57d196(0x296)&&define[_0x57d196(0x1eb)]?define([_0x57d196(0x209),'@univerjs/core',_0x57d196(0x281),'@univerjs-pro/mcp','@univerjs/design','@univerjs/ui',_0x57d196(0x1e7),_0x57d196(0x1ac),_0x57d196(0x24c)],_0x24b11b):(_0x47e1ff=typeof globalThis<'u'?globalThis:_0x47e1ff||self,_0x24b11b(_0x47e1ff['UniverProMcpUi']={},_0x47e1ff[_0x57d196(0x156)],_0x47e1ff[_0x57d196(0x1b3)],_0x47e1ff[_0x57d196(0x1bf)],_0x47e1ff[_0x57d196(0x201)],_0x47e1ff['UniverUi'],_0x47e1ff[_0x57d196(0x1e7)],_0x47e1ff[_0x57d196(0x1b3)],_0x47e1ff['UniverNetwork']));}(this,function(_0x504312,_0x370af1,_0x54172d,_0x521674,_0x4c9ba4,_0x546ced,_0xd73894,_0x42d550,_0x2054a0){'use strict';const _0x2df9f4=_0x25c8;var _0x195adb=Object[_0x2df9f4(0x204)],_0x5b292b=(_0x19cdc1,_0x267c2a,_0x19a0a9)=>_0x267c2a in _0x19cdc1?_0x195adb(_0x19cdc1,_0x267c2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19a0a9}):_0x19cdc1[_0x267c2a]=_0x19a0a9,_0x429dfd=(_0x13cd58,_0xe6ccb0,_0x21ef4f)=>_0x5b292b(_0x13cd58,typeof _0xe6ccb0!=_0x2df9f4(0x203)?_0xe6ccb0+'':_0xe6ccb0,_0x21ef4f);function _0x5bc1e1({ref:_0x44253c,..._0x117778}){const _0x35491f=_0x2df9f4,{icon:_0x475c07,id:_0x3c7924,className:_0x139d7e,extend:_0x683769,..._0x148ab3}=_0x117778,_0x54825d=(_0x35491f(0x264)+_0x3c7924+'\x20'+(_0x139d7e||''))[_0x35491f(0x227)](),_0x59a7fc=_0x42d550[_0x35491f(0x148)]('_'+_0x21b8cd());return _0x1a87b2(_0x475c07,''+_0x3c7924,{'defIds':_0x475c07[_0x35491f(0x28f)],'idSuffix':_0x59a7fc[_0x35491f(0x29b)]},{'ref':_0x44253c,'className':_0x54825d,..._0x148ab3},_0x683769);}function _0x1a87b2(_0x597475,_0x2e9058,_0x3360af,_0x250966,_0x3f157c){const _0x410ead=_0x2df9f4;return _0x42d550[_0x410ead(0x1fc)](_0x597475[_0x410ead(0x177)],{'key':_0x2e9058,..._0x2e715a(_0x597475,_0x3360af,_0x3f157c),..._0x250966},(_0x3588ce(_0x597475,_0x3360af)[_0x410ead(0x238)]||[])[_0x410ead(0x215)]((_0x1185a5,_0x1341f5)=>_0x1a87b2(_0x1185a5,_0x2e9058+'-'+_0x597475[_0x410ead(0x177)]+'-'+_0x1341f5,_0x3360af,void 0x0,_0x3f157c)));}function _0x2e715a(_0x4bbf4b,_0xd19f3a,_0x4c1a12){const _0x44b6a5=_0x2df9f4,_0x591b9e={..._0x4bbf4b[_0x44b6a5(0x14b)]};_0x4c1a12!=null&&_0x4c1a12[_0x44b6a5(0x1f8)]&&_0x591b9e[_0x44b6a5(0x1dd)]===_0x44b6a5(0x1f8)&&(_0x591b9e['fill']=_0x4c1a12[_0x44b6a5(0x1f8)]),_0x4bbf4b[_0x44b6a5(0x177)]===_0x44b6a5(0x1cf)&&_0x591b9e['id']&&(_0x591b9e['id']=_0x591b9e['id']+_0xd19f3a[_0x44b6a5(0x119)]),Object['entries'](_0x591b9e)[_0x44b6a5(0x274)](([_0x3c9137,_0x4c75e6])=>{const _0x11f3c2=_0x44b6a5;_0x3c9137===_0x11f3c2(0x1cf)&&typeof _0x4c75e6=='string'&&(_0x591b9e[_0x3c9137]=_0x4c75e6[_0x11f3c2(0x1b2)](/url\(#(.*)\)/,_0x11f3c2(0x140)+_0xd19f3a['idSuffix']+')'));});const {defIds:_0x113ad8}=_0xd19f3a;return!_0x113ad8||_0x113ad8[_0x44b6a5(0x149)]===0x0||(_0x4bbf4b[_0x44b6a5(0x177)]===_0x44b6a5(0x158)&&_0x591b9e['xlink:href']&&(_0x591b9e[_0x44b6a5(0x20e)]=_0x591b9e['xlink:href']+_0xd19f3a[_0x44b6a5(0x119)]),Object[_0x44b6a5(0x22b)](_0x591b9e)['forEach'](([_0x52d1bd,_0x34dded])=>{const _0x39fe03=_0x44b6a5;typeof _0x34dded==_0x39fe03(0x25e)&&(_0x591b9e[_0x52d1bd]=_0x34dded['replace'](/url\(#(.*)\)/,_0x39fe03(0x140)+_0xd19f3a[_0x39fe03(0x119)]+')'));})),_0x591b9e;}function _0x3588ce(_0x757e72,_0x4be38f){const _0x4dc5e5=_0x2df9f4;var _0x331681;const {defIds:_0xc10e0e}=_0x4be38f;return!_0xc10e0e||_0xc10e0e[_0x4dc5e5(0x149)]===0x0?_0x757e72:_0x757e72['tag']===_0x4dc5e5(0x28b)&&((_0x331681=_0x757e72[_0x4dc5e5(0x238)])!=null&&_0x331681[_0x4dc5e5(0x149)])?{..._0x757e72,'children':_0x757e72[_0x4dc5e5(0x238)][_0x4dc5e5(0x215)](_0x36de45=>typeof _0x36de45[_0x4dc5e5(0x14b)]['id']==_0x4dc5e5(0x25e)&&_0xc10e0e&&_0xc10e0e[_0x4dc5e5(0x210)](_0x36de45[_0x4dc5e5(0x14b)]['id'])?{..._0x36de45,'attrs':{..._0x36de45[_0x4dc5e5(0x14b)],'id':_0x36de45[_0x4dc5e5(0x14b)]['id']+_0x4be38f['idSuffix']}}:_0x36de45)}:_0x757e72;}function _0x21b8cd(){const _0xb7b084=_0x2df9f4;return Math['random']()[_0xb7b084(0x120)](0x24)[_0xb7b084(0x224)](0x2,0x8);}_0x5bc1e1['displayName']=_0x2df9f4(0x1f2);const _0x3a156e={'tag':_0x2df9f4(0x1bd),'attrs':{'xmlns':_0x2df9f4(0x19f),'fill':_0x2df9f4(0x244),'viewBox':_0x2df9f4(0x166),'width':'1em','height':_0x2df9f4(0x178)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x2df9f4(0x12a),'fillRule':_0x2df9f4(0x251),'clipRule':_0x2df9f4(0x251)}}]},_0x32d433=_0x42d550['forwardRef'](function(_0x3d2481,_0x1f5d4b){const _0x4ba7fd=_0x2df9f4;return _0x42d550['createElement'](_0x5bc1e1,Object[_0x4ba7fd(0x250)]({},_0x3d2481,{'id':_0x4ba7fd(0x1a0),'ref':_0x1f5d4b,'icon':_0x3a156e}));});_0x32d433[_0x2df9f4(0x292)]=_0x2df9f4(0x131);const _0xc9a727={'tag':_0x2df9f4(0x1bd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2df9f4(0x244),'viewBox':'0\x200\x2016\x2016','width':_0x2df9f4(0x178),'height':_0x2df9f4(0x178)},'children':[{'tag':_0x2df9f4(0x1cb),'attrs':{'fill':'currentColor','d':_0x2df9f4(0x1fb)}}]},_0x1d397a=_0x42d550[_0x2df9f4(0x22c)](function(_0x56e35f,_0x5c6728){const _0x4b95ca=_0x2df9f4;return _0x42d550[_0x4b95ca(0x1fc)](_0x5bc1e1,Object[_0x4b95ca(0x250)]({},_0x56e35f,{'id':_0x4b95ca(0x294),'ref':_0x5c6728,'icon':_0xc9a727}));});_0x1d397a[_0x2df9f4(0x292)]='CloseIcon';const _0x503613={'tag':_0x2df9f4(0x1bd),'attrs':{'xmlns':_0x2df9f4(0x19f),'fill':'none','viewBox':_0x2df9f4(0x166),'width':_0x2df9f4(0x178),'height':_0x2df9f4(0x178)},'children':[{'tag':_0x2df9f4(0x1cb),'attrs':{'fill':_0x2df9f4(0x1b9),'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':_0x2df9f4(0x1cb),'attrs':{'fill':'currentColor','d':_0x2df9f4(0x1ff)}},{'tag':_0x2df9f4(0x1cb),'attrs':{'fill':_0x2df9f4(0x1b9),'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':_0x2df9f4(0x251),'clipRule':_0x2df9f4(0x251)}}]},_0x54ef5b=_0x42d550[_0x2df9f4(0x22c)](function(_0x2a04bf,_0xf8b996){const _0x1fa1f3=_0x2df9f4;return _0x42d550['createElement'](_0x5bc1e1,Object['assign']({},_0x2a04bf,{'id':_0x1fa1f3(0x235),'ref':_0xf8b996,'icon':_0x503613}));});_0x54ef5b[_0x2df9f4(0x292)]=_0x2df9f4(0x1d5);const _0x272b57={'tag':_0x2df9f4(0x1bd),'attrs':{'xmlns':_0x2df9f4(0x19f),'fill':_0x2df9f4(0x244),'viewBox':_0x2df9f4(0x166),'width':_0x2df9f4(0x178),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2df9f4(0x176)},'children':[{'tag':_0x2df9f4(0x1cb),'attrs':{'stroke':_0x2df9f4(0x1b9),'d':_0x2df9f4(0x12e),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2df9f4(0x1dc)},'children':[{'tag':_0x2df9f4(0x1cb),'attrs':{'fill':_0x2df9f4(0x1cd),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2df9f4(0x1dc)]},_0x433719=_0x42d550[_0x2df9f4(0x22c)](function(_0x5073b6,_0x1dbc48){const _0x29d96c=_0x2df9f4;return _0x42d550[_0x29d96c(0x1fc)](_0x5bc1e1,Object[_0x29d96c(0x250)]({},_0x5073b6,{'id':_0x29d96c(0x1d8),'ref':_0x1dbc48,'icon':_0x272b57}));});_0x433719[_0x2df9f4(0x292)]=_0x2df9f4(0x160);const _0x19b1f8={'tag':'svg','attrs':{'xmlns':_0x2df9f4(0x19f),'fill':'none','viewBox':_0x2df9f4(0x143),'width':'1em','height':_0x2df9f4(0x178)},'children':[{'tag':'g','attrs':{'clipPath':_0x2df9f4(0x231)},'children':[{'tag':'path','attrs':{'stroke':_0x2df9f4(0x1b9),'d':_0x2df9f4(0x11d),'strokeLinecap':'round','strokeLinejoin':_0x2df9f4(0x1e4),'strokeWidth':1.2}}]},{'tag':_0x2df9f4(0x28b),'attrs':{},'children':[{'tag':_0x2df9f4(0x1e9),'attrs':{'id':_0x2df9f4(0x111)},'children':[{'tag':'path','attrs':{'fill':_0x2df9f4(0x1cd),'d':_0x2df9f4(0x26d),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2df9f4(0x111)]},_0x36f087=_0x42d550[_0x2df9f4(0x22c)](function(_0x1940ba,_0x1cd9f6){const _0x58d5de=_0x2df9f4;return _0x42d550[_0x58d5de(0x1fc)](_0x5bc1e1,Object['assign']({},_0x1940ba,{'id':_0x58d5de(0x180),'ref':_0x1cd9f6,'icon':_0x19b1f8}));});_0x36f087[_0x2df9f4(0x292)]=_0x2df9f4(0x219);function _0x4065a2(_0x6ce803){const _0x4710de=_0x2df9f4;var _0xdc8f90,_0x209393;const {mcpCoreConfig:_0x6692d,onSave:_0x2deec6,loading:_0x3a4c62=!0x1,config:_0x2842a2,connectionStatus$:_0x1613ff,connectionError$:_0x7de9da,currentApiKey$:_0x3f2a7e,currentSessionId$:_0x2e7020}=_0x6ce803,_0x9d8dbe=_0x546ced['useDependency'](_0x370af1[_0x4710de(0x1c0)]),_0x44ff9c=_0x546ced['useObservable'](_0x1613ff,_0x521674['MCPConnectionStatus'][_0x4710de(0x1f3)]),_0x4d4cc2=_0x546ced[_0x4710de(0x27c)](_0x7de9da,_0x521674[_0x4710de(0x284)][_0x4710de(0x28e)]),_0x39eb76=_0x546ced[_0x4710de(0x27c)](_0x2e7020,''),_0x3688e2=_0x546ced[_0x4710de(0x27c)](_0x3f2a7e,''),[_0x5ae1a5,_0x176227]=_0x42d550[_0x4710de(0x223)](_0x3688e2||''),_0xca4b53=!0x0,_0x12b329=_0x2842a2['showDeveloperTools']&&_0x6692d[_0x4710de(0x253)]&&(_0x6692d['mcpServerUrl']['includes'](_0x4710de(0x29a))||_0x6692d[_0x4710de(0x253)][_0x4710de(0x210)]('univer.ai')),_0x154b9c=(_0xdc8f90=_0x6692d['mcpServerUrl'])==null?void 0x0:_0xdc8f90[_0x4710de(0x210)](_0x4710de(0x29a)),_0x247749=(_0x209393=_0x6692d[_0x4710de(0x253)])==null?void 0x0:_0x209393[_0x4710de(0x210)](_0x4710de(0x155)),_0x5d819b=_0x154b9c?_0x4710de(0x248):_0x4710de(0x139),_0x2e1745=_0x2842a2['showDeveloperTools']&&(_0x154b9c||_0x247749),[_0x2417fb,_0x4c89b0]=_0x42d550[_0x4710de(0x223)](!_0x5ae1a5[_0x4710de(0x227)]()),_0x3440eb=(_0x2925e0,_0x2ecc54)=>{const _0x5eec32=_0x4710de;if(_0x2ecc54===_0x521674[_0x5eec32(0x284)]['UNAUTHORIZED'])return _0x5eec32(0x275);switch(_0x2925e0){case _0x521674[_0x5eec32(0x136)][_0x5eec32(0x21c)]:return _0x5eec32(0x16e);case _0x521674[_0x5eec32(0x136)][_0x5eec32(0x276)]:case _0x521674['MCPConnectionStatus']['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x521674[_0x5eec32(0x136)][_0x5eec32(0x289)]:return _0x5eec32(0x275);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x187ea1=(_0x3153f6,_0x30af51)=>{const _0x5e44bc=_0x4710de;if(_0x30af51===_0x521674[_0x5e44bc(0x284)]['UNAUTHORIZED'])return _0x5e44bc(0x1a9);switch(_0x3153f6){case _0x521674[_0x5e44bc(0x136)]['CONNECTED']:return _0x5e44bc(0x184);case _0x521674[_0x5e44bc(0x136)][_0x5e44bc(0x276)]:case _0x521674[_0x5e44bc(0x136)][_0x5e44bc(0x16f)]:return _0x5e44bc(0x285);case _0x521674[_0x5e44bc(0x136)]['FAILED']:return _0x5e44bc(0x1a9);default:return'univer-bg-gray-500';}},_0xa6bd57=_0x17300f=>{const _0x48a43e=_0x4710de;switch(_0x17300f){case _0x521674['MCPConnectionStatus'][_0x48a43e(0x21c)]:return _0x9d8dbe['t'](_0x48a43e(0x258));case _0x521674[_0x48a43e(0x136)][_0x48a43e(0x276)]:return _0x9d8dbe['t'](_0x48a43e(0x13f));case _0x521674[_0x48a43e(0x136)][_0x48a43e(0x289)]:return _0x9d8dbe['t'](_0x48a43e(0x14f));case _0x521674[_0x48a43e(0x136)][_0x48a43e(0x16f)]:return _0x9d8dbe['t'](_0x48a43e(0x297));default:return _0x9d8dbe['t'](_0x48a43e(0x241));}},_0x2cb639=_0x7b0e35=>{const _0x28b829=_0x4710de;switch(_0x7b0e35){case _0x521674[_0x28b829(0x284)][_0x28b829(0x14e)]:return _0x9d8dbe['t']('mcpConfig.connectionError.unauthorized');case _0x521674[_0x28b829(0x284)][_0x28b829(0x13c)]:return _0x9d8dbe['t'](_0x28b829(0x127));case _0x521674['MCPConnectionError'][_0x28b829(0x17e)]:return _0x9d8dbe['t']('mcpConfig.connectionError.networkError');case _0x521674[_0x28b829(0x284)][_0x28b829(0x225)]:return _0x9d8dbe['t'](_0x28b829(0x1d1));default:return'';}},_0x3d0e5d=_0x42d550[_0x4710de(0x245)](()=>{const _0x33ae10=_0x4710de,_0x2f40a2={..._0x6692d,'apiKey':_0x5ae1a5[_0x33ae10(0x227)](),'enableAuth':_0xca4b53};_0x2deec6(_0x2f40a2);},[_0x6692d,_0x5ae1a5,_0xca4b53,_0x2deec6]),_0x8aca30=_0x5ae1a5[_0x4710de(0x227)]()[_0x4710de(0x149)]>0x0;return _0x54172d['jsxs']('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x54172d['jsx']('div',{'className':_0x4710de(0x23b),'children':_0x54172d['jsxs']('div',{'className':_0x4710de(0x1e2),'children':[_0x54172d[_0x4710de(0x157)]('div',{'className':_0x4710de(0x22f),'children':_0x54172d['jsx']('span',{'className':'univer-text-white','children':'⚙'})}),_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'children':_0x54172d[_0x4710de(0x157)]('p',{'className':_0x4710de(0x1ea),'children':_0x9d8dbe['t'](_0x4710de(0x1ec))})})]})}),_0x54172d['jsxs']('div',{'className':_0x4710de(0x24a),'children':[_0x54172d[_0x4710de(0x157)]('div',{'className':_0x4c9ba4[_0x4710de(0x18f)](_0x4710de(0x293),_0x3440eb(_0x44ff9c,_0x4d4cc2)),'children':_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x122),'children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'className':_0x4c9ba4[_0x4710de(0x18f)](_0x4710de(0x153),_0x187ea1(_0x44ff9c,_0x4d4cc2))}),_0x54172d['jsx'](_0x4710de(0x283),{'className':'univer-text-sm\x20univer-font-medium','children':_0xa6bd57(_0x44ff9c)})]})}),_0x4d4cc2!==_0x521674[_0x4710de(0x284)][_0x4710de(0x28e)]&&(_0x44ff9c===_0x521674[_0x4710de(0x136)]['FAILED']||_0x4d4cc2===_0x521674[_0x4710de(0x284)][_0x4710de(0x14e)])&&_0x54172d[_0x4710de(0x157)]('div',{'className':_0x4710de(0x1f1),'children':_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x174),'children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x283),{'className':_0x4710de(0x13a),'children':'⚠️'}),_0x54172d['jsx']('p',{'className':_0x4710de(0x23d),'children':_0x2cb639(_0x4d4cc2)})]})})]}),_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x152),'children':[_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':'univer-space-y-2','children':[_0x54172d['jsxs']('label',{'className':_0x4710de(0x13d),'children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x283),{'children':'🔑'}),'\x20',_0x9d8dbe['t'](_0x4710de(0x1bc)),_0x54172d['jsx'](_0x4710de(0x283),{'className':_0x4710de(0x1ba),'children':'*'}),_0x12b329&&_0x54172d[_0x4710de(0x157)]('a',{'className':_0x4710de(0x132),'title':_0x9d8dbe['t'](_0x4710de(0x113)),'role':_0x4710de(0x280),'onClick':()=>_0x4c89b0(!0x0),'children':_0x54172d[_0x4710de(0x157)](_0x54ef5b,{})})]}),_0x54172d[_0x4710de(0x157)](_0x4c9ba4[_0x4710de(0x232)],{'type':_0x4710de(0x21e),'placeholder':_0x9d8dbe['t'](_0x4710de(0x260)),'value':_0x5ae1a5,'disabled':_0x3a4c62,'autoComplete':'off','onChange':_0x176227}),_0x54172d['jsx']('p',{'className':_0x4710de(0x185),'children':_0x9d8dbe['t'](_0x4710de(0x12b))})]}),_0x12b329&&_0x2417fb&&_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'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':[_0x54172d[_0x4710de(0x157)]('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':_0x4710de(0x280),'onClick':()=>_0x4c89b0(!0x1),'children':_0x54172d[_0x4710de(0x157)](_0x1d397a,{'className':_0x4710de(0x1e6)})}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x135),'children':[_0x54172d['jsx'](_0x4710de(0x1da),{'className':_0x4710de(0x29e),'children':_0x54172d[_0x4710de(0x157)](_0x4710de(0x283),{'className':_0x4710de(0x288),'children':'🚀'})}),_0x54172d['jsxs'](_0x4710de(0x1da),{'className':_0x4710de(0x20f),'children':[_0x54172d['jsx']('h4',{'className':_0x4710de(0x141),'children':_0x9d8dbe['t']('mcpConfig.apiApplyInfo.title')}),_0x54172d[_0x4710de(0x157)]('p',{'className':_0x4710de(0x129),'children':_0x9d8dbe['t'](_0x4710de(0x1c3))}),_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'className':_0x4710de(0x26c),'children':_0x2e1745&&_0x54172d[_0x4710de(0x14c)]('a',{'className':_0x4710de(0x15f),'href':_0x5d819b,'target':_0x4710de(0x29d),'rel':_0x4710de(0x270),'children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x283),{'children':'🤖'}),_0x9d8dbe['t'](_0x4710de(0x25a)),_0x54172d['jsx'](_0x4710de(0x283),{'className':_0x4710de(0x220),'children':'↗'})]})}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x265),'children':['✨','\x20',_0x9d8dbe['t'](_0x4710de(0x124))]})]})]})]}),_0x2842a2[_0x4710de(0x173)]&&_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x16a),'children':[_0x54172d['jsxs']('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x283),{'children':'🔗'}),'\x20',_0x9d8dbe['t'](_0x4710de(0x19d))]}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':'univer-space-y-4','children':[_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x1f0),'children':[_0x54172d[_0x4710de(0x157)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x9d8dbe['t'](_0x4710de(0x26b))}),_0x54172d[_0x4710de(0x14c)]('div',{'className':_0x4710de(0x1ed),'children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'className':_0x4710de(0x27d),'children':_0x9d8dbe['t'](_0x4710de(0x1a5))}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x24f),'children':[_0x54172d['jsxs']('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x283),{'className':_0x4710de(0x1fd),'children':'1'}),_0x9d8dbe['t'](_0x4710de(0x162))]}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x122),'children':[_0x54172d['jsx'](_0x4710de(0x283),{'className':_0x4710de(0x1fd),'children':'2'}),_0x9d8dbe['t'](_0x4710de(0x188))]}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x122),'children':[_0x54172d[_0x4710de(0x157)]('span',{'className':_0x4710de(0x1fd),'children':'3'}),_0x9d8dbe['t'](_0x4710de(0x1d9))]})]})]})]}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':'univer-space-y-2','children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'className':_0x4710de(0x27d),'children':'MCP\x20Configuration'}),_0x54172d[_0x4710de(0x157)]('div',{'className':_0x4710de(0x1e5),'children':_0x54172d['jsx']('pre',{'className':_0x4710de(0x1d3),'children':JSON[_0x4710de(0x273)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x39eb76||_0x4710de(0x12d)),'type':_0x4710de(0x1f5),'headers':{'Authorization':_0x4710de(0x1f4)+(_0x5ae1a5||_0x4710de(0x259))}}}},null,0x2)})})]}),_0x54172d[_0x4710de(0x14c)]('div',{'className':_0x4710de(0x1f0),'children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x9d8dbe['t'](_0x4710de(0x1fe))}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':'univer-space-y-2','children':[_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x54172d['jsx'](_0x4710de(0x1da),{'className':_0x4710de(0x181)}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':_0x4710de(0x1b7),'children':[_0x54172d[_0x4710de(0x157)]('div',{'className':_0x4710de(0x1d2),'children':_0x4710de(0x207)}),_0x54172d['jsx'](_0x4710de(0x1da),{'className':_0x4710de(0x185),'children':_0x9d8dbe['t']('mcpConfig.sessionIdDescription')})]})]}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x54172d['jsx'](_0x4710de(0x1da),{'className':_0x4710de(0x181)}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'className':_0x4710de(0x1d2),'children':_0x4710de(0x110)}),_0x54172d[_0x4710de(0x157)](_0x4710de(0x1da),{'className':_0x4710de(0x185),'children':_0x9d8dbe['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x54172d['jsx'](_0x4c9ba4[_0x4710de(0x128)],{'onClick':_0x3d0e5d,'disabled':!_0x8aca30||_0x3a4c62,'className':_0x4710de(0x246),'children':_0x3a4c62?_0x54172d['jsxs']('span',{'className':_0x4710de(0x122),'children':[_0x54172d['jsx']('span',{'children':'⟲'}),_0x9d8dbe['t'](_0x4710de(0x154))]}):_0x54172d[_0x4710de(0x14c)](_0x4710de(0x283),{'className':_0x4710de(0x122),'children':[_0x54172d[_0x4710de(0x157)](_0x32d433,{}),_0x9d8dbe['t'](_0x4710de(0x23f))]})}),_0x54172d['jsx']('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x54172d[_0x4710de(0x14c)]('div',{'className':_0x4710de(0x237),'children':[_0x54172d[_0x4710de(0x157)]('span',{'className':_0x4710de(0x150),'children':'💡'}),_0x54172d['jsxs']('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x54172d['jsx'](_0x4710de(0x1da),{'className':_0x4710de(0x24d),'children':_0x4710de(0x12f)}),_0x54172d[_0x4710de(0x14c)]('div',{'children':['•',_0x9d8dbe['t'](_0x4710de(0x190))]}),_0x54172d[_0x4710de(0x14c)](_0x4710de(0x1da),{'children':['•',_0x9d8dbe['t'](_0x4710de(0x261))]})]})]})})]})})]});}const _0x48e853=_0x2df9f4(0x1de),_0x3836cf={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x404a3f=Object['getOwnPropertyDescriptor'],_0x1e26a3=(_0x3c96b2,_0x426e97,_0x27139e,_0x1a7a15)=>{for(var _0x214620=_0x1a7a15>0x1?void 0x0:_0x1a7a15?_0x404a3f(_0x426e97,_0x27139e):_0x426e97,_0x59bdfc=_0x3c96b2['length']-0x1,_0x3aeff7;_0x59bdfc>=0x0;_0x59bdfc--)(_0x3aeff7=_0x3c96b2[_0x59bdfc])&&(_0x214620=_0x3aeff7(_0x214620)||_0x214620);return _0x214620;},_0x3cbc74=(_0x1169da,_0x216865)=>(_0x3696ee,_0x1cd79c)=>_0x216865(_0x3696ee,_0x1cd79c,_0x1169da);const _0x254013='mcp.apiKey',_0x2dae8e='mcp-config-dialog';_0x504312[_0x2df9f4(0x1a3)]=class extends _0x370af1[_0x2df9f4(0x17f)]{constructor(_0x176c02,_0x5a04a7,_0x32607e,_0x2c07dd,_0x27a2f6,_0x42bc08,_0x58b758,_0x3be885,_0x5822bc,_0x2a3ba8){const _0x12ef62=_0x2df9f4;super(),_0x429dfd(this,_0x12ef62(0x218),new _0xd73894['BehaviorSubject'](!0x1)),_0x429dfd(this,_0x12ef62(0x206),new _0xd73894[(_0x12ef62(0x15b))]({})),_0x429dfd(this,_0x12ef62(0x189),new _0xd73894[(_0x12ef62(0x15b))]({})),_0x429dfd(this,_0x12ef62(0x19a),new _0xd73894['BehaviorSubject']('')),_0x429dfd(this,'_handleConfigSave',async _0x5ba6e1=>{const _0x548387=_0x12ef62;var _0x17835a,_0x5a14d2;this['_loading$'][_0x548387(0x1ee)](!0x0);try{const _0x16f38e=await this[_0x548387(0x1e1)](_0x5ba6e1);if(!_0x16f38e[_0x548387(0x182)]){this['_messageService'][_0x548387(0x146)]({'type':_0x4c9ba4[_0x548387(0x26a)]['Error'],'content':_0x16f38e[_0x548387(0x287)]||this[_0x548387(0x1be)]['t'](_0x548387(0x1c7))});return;}_0x5ba6e1[_0x548387(0x116)]?await this[_0x548387(0x295)][_0x548387(0x27f)](_0x254013,_0x5ba6e1[_0x548387(0x116)]['trim']()):await this[_0x548387(0x295)][_0x548387(0x18c)](_0x254013),this['_apiKey$'][_0x548387(0x1ee)](((_0x17835a=_0x5ba6e1['apiKey'])==null?void 0x0:_0x17835a[_0x548387(0x227)]())||''),this[_0x548387(0x198)][_0x548387(0x23a)]({'Authorization':_0x548387(0x1f4)+((_0x5a14d2=_0x5ba6e1[_0x548387(0x116)])==null?void 0x0:_0x5a14d2[_0x548387(0x227)]())}),this['_messageService']['show']({'type':_0x4c9ba4['MessageType']['Success'],'content':this[_0x548387(0x1be)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x1c4e4c=_0x548387;this[_0x1c4e4c(0x21b)]['close'](_0x2dae8e);},0x320);}catch(_0x4647db){this[_0x548387(0x1f7)][_0x548387(0x1af)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x4647db),this[_0x548387(0x22e)]['show']({'type':_0x4c9ba4[_0x548387(0x26a)]['Error'],'content':this[_0x548387(0x1be)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x548387(0x1ee)](!0x1);}}),(this[_0x12ef62(0x234)]=_0x176c02,this[_0x12ef62(0x121)]=_0x5a04a7,this[_0x12ef62(0x27b)]=_0x32607e,this[_0x12ef62(0x295)]=_0x2c07dd,this[_0x12ef62(0x21b)]=_0x27a2f6,this['_messageService']=_0x42bc08,this[_0x12ef62(0x299)]=_0x58b758,this['_localeService']=_0x3be885,this[_0x12ef62(0x1f7)]=_0x5822bc,this['_mcpConnectionController']=_0x2a3ba8,this[_0x12ef62(0x254)](),this[_0x12ef62(0x205)](),this['_registerComponent']());}['showConfigPanel'](){const _0xb090fa=_0x2df9f4,_0x4eb909=this[_0xb090fa(0x27b)][_0xb090fa(0x159)](_0x48e853);_0x4eb909!=null&&_0x4eb909[_0xb090fa(0x173)]&&this[_0xb090fa(0x21b)]['open']({'id':_0x2dae8e,'title':{'title':this[_0xb090fa(0x1be)]['t']('mcpConfig.title')},'children':{'label':_0xb090fa(0x130)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x511db4=_0xb090fa;this[_0x511db4(0x21b)][_0x511db4(0x23e)](_0x2dae8e);}});}[_0x2df9f4(0x243)](){const _0x4e05aa=_0x2df9f4;return this['_mcpCoreConfig$'][_0x4e05aa(0x277)];}[_0x2df9f4(0x13e)](){const _0x349b05=_0x2df9f4;this[_0x349b05(0x112)](this[_0x349b05(0x299)][_0x349b05(0x147)](_0x349b05(0x130),this[_0x349b05(0x19b)]()));}[_0x2df9f4(0x19b)](){return _0x546ced['connectInjector'](()=>{const _0x1dc771=_0x25c8;var _0x4a74de,_0x32927e,_0x1c51d4;return _0x54172d[_0x1dc771(0x157)](_0x4065a2,{'config':this[_0x1dc771(0x189)]['value'],'mcpCoreConfig':this[_0x1dc771(0x206)]['value'],'currentApiKey$':this[_0x1dc771(0x19a)],'onSave':this[_0x1dc771(0x1e3)],'loading':this[_0x1dc771(0x218)]['value'],'connectionStatus$':(_0x4a74de=this['_mcpConnectionController'])==null?void 0x0:_0x4a74de[_0x1dc771(0x21f)],'connectionError$':(_0x32927e=this[_0x1dc771(0x198)])==null?void 0x0:_0x32927e[_0x1dc771(0x1d4)],'currentSessionId$':(_0x1c51d4=this[_0x1dc771(0x198)])==null?void 0x0:_0x1c51d4[_0x1dc771(0x240)]});},this['_injector']);}[_0x2df9f4(0x254)](){const _0x34cf6a=_0x2df9f4;this[_0x34cf6a(0x112)](this['_configService'][_0x34cf6a(0x191)](_0x521674[_0x34cf6a(0x252)])[_0x34cf6a(0x226)](_0x54a89f=>{const _0x3cf9ef=_0x34cf6a;this[_0x3cf9ef(0x206)][_0x3cf9ef(0x1ee)](_0x54a89f||{});}));const _0x1522fa=this[_0x34cf6a(0x27b)][_0x34cf6a(0x159)](_0x521674[_0x34cf6a(0x252)]);this[_0x34cf6a(0x206)][_0x34cf6a(0x1ee)](_0x1522fa||{}),this[_0x34cf6a(0x112)](this['_configService'][_0x34cf6a(0x191)](_0x48e853)[_0x34cf6a(0x226)](_0x2395f7=>{const _0x24afa6=_0x34cf6a;this['_config$'][_0x24afa6(0x1ee)](_0x2395f7||{});}));const _0x550c6f=this[_0x34cf6a(0x27b)][_0x34cf6a(0x159)](_0x48e853);this['_config$']['next'](_0x550c6f||{});}async[_0x2df9f4(0x205)](){const _0x2b9b3c=_0x2df9f4,_0x77c6ba=this[_0x2b9b3c(0x27b)][_0x2b9b3c(0x159)](_0x48e853);if(!(_0x77c6ba!=null&&_0x77c6ba[_0x2b9b3c(0x173)]))return;const _0x186d61=await this[_0x2b9b3c(0x295)]['getItem'](_0x254013);_0x186d61&&(this[_0x2b9b3c(0x198)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+_0x186d61}),this[_0x2b9b3c(0x19a)][_0x2b9b3c(0x1ee)](_0x186d61));}async[_0x2df9f4(0x1e1)](_0x5744f2){const _0x265201=_0x2df9f4;if(!_0x5744f2[_0x265201(0x116)]||_0x5744f2[_0x265201(0x116)][_0x265201(0x227)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x265201(0x1be)]['t'](_0x265201(0x256))};if(_0x5744f2[_0x265201(0x116)][_0x265201(0x227)]()[_0x265201(0x149)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x265201(0x1be)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x1a8c17=await this[_0x265201(0x234)][_0x265201(0x25d)](_0x521674[_0x265201(0x222)])[_0x265201(0x197)](_0x5744f2['apiKey'][_0x265201(0x227)]());return _0x1a8c17[_0x265201(0x182)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1a8c17['error']||this[_0x265201(0x1be)]['t'](_0x265201(0x18a))};}catch(_0x4c7224){return console['warn'](_0x265201(0x21d),_0x4c7224),{'isValid':!0x0};}}},_0x504312[_0x2df9f4(0x1a3)]=_0x1e26a3([_0x3cbc74(0x0,_0x370af1['Inject'](_0x370af1[_0x2df9f4(0x1a6)])),_0x3cbc74(0x1,_0x546ced[_0x2df9f4(0x1c8)]),_0x3cbc74(0x2,_0x370af1[_0x2df9f4(0x17a)]),_0x3cbc74(0x3,_0x370af1[_0x2df9f4(0x28d)]),_0x3cbc74(0x4,_0x546ced['IDialogService']),_0x3cbc74(0x5,_0x546ced[_0x2df9f4(0x167)]),_0x3cbc74(0x6,_0x370af1[_0x2df9f4(0x10f)](_0x546ced['ComponentManager'])),_0x3cbc74(0x7,_0x370af1[_0x2df9f4(0x10f)](_0x370af1[_0x2df9f4(0x1c0)])),_0x3cbc74(0x8,_0x370af1[_0x2df9f4(0x262)]),_0x3cbc74(0x9,_0x370af1[_0x2df9f4(0x10f)](_0x521674[_0x2df9f4(0x222)]))],_0x504312[_0x2df9f4(0x1a3)]);const _0x37eaaf={'id':_0x2df9f4(0x1c2),'type':_0x370af1[_0x2df9f4(0x13b)][_0x2df9f4(0x17b)],'handler':async(_0x41e647,_0x37939f)=>(_0x41e647[_0x2df9f4(0x25d)](_0x504312[_0x2df9f4(0x1a3)])[_0x2df9f4(0x1a1)](),!0x0)};function _0x330cb9(_0x4e096c,_0x519ff3){const _0xe8ec71=_0x2df9f4;switch(_0x4e096c){case _0x521674[_0xe8ec71(0x136)]['DISCONNECTED']:return _0xe8ec71(0x1c5);case _0x521674[_0xe8ec71(0x136)][_0xe8ec71(0x276)]:return _0xe8ec71(0x126);case _0x521674['MCPConnectionStatus'][_0xe8ec71(0x21c)]:return'mcpStatus.connected';case _0x521674['MCPConnectionStatus'][_0xe8ec71(0x289)]:switch(_0x519ff3){case _0x521674[_0xe8ec71(0x284)]['UNAUTHORIZED']:return _0xe8ec71(0x1ae);case _0x521674[_0xe8ec71(0x284)][_0xe8ec71(0x13c)]:return _0xe8ec71(0x229);case _0x521674['MCPConnectionError'][_0xe8ec71(0x17e)]:return _0xe8ec71(0x175);case _0x521674[_0xe8ec71(0x284)][_0xe8ec71(0x225)]:return _0xe8ec71(0x1f9);default:return _0xe8ec71(0x27e);}case _0x521674[_0xe8ec71(0x136)][_0xe8ec71(0x16f)]:return'mcpStatus.retrying';default:return _0xe8ec71(0x10e);}}function _0x13ca52(_0x1758ae,_0x749f15,_0x422afd,_0x8367cc=!0x0){const _0x5ac13f=_0x2df9f4,_0x4f8254=_0x330cb9(_0x1758ae,_0x749f15),_0x471c17=_0x422afd['t'](_0x4f8254);return _0x8367cc?_0x1758ae===_0x521674[_0x5ac13f(0x136)]['DISCONNECTED']&&_0x749f15===_0x521674['MCPConnectionError'][_0x5ac13f(0x14e)]?_0x471c17+_0x5ac13f(0x16c)+_0x422afd['t']('mcpStatus.clickToConfigure'):_0x1758ae===_0x521674[_0x5ac13f(0x136)][_0x5ac13f(0x21c)]?''+_0x471c17:_0x1758ae===_0x521674[_0x5ac13f(0x136)]['DISCONNECTED']||_0x1758ae===_0x521674['MCPConnectionStatus'][_0x5ac13f(0x289)]?_0x471c17+'\x20-\x20'+_0x422afd['t'](_0x5ac13f(0x24b)):_0x471c17:_0x471c17;}function _0x16f8ba(_0x3bd6de){const _0x2bf70f=_0x2df9f4;switch(_0x3bd6de){case _0x521674['MCPConnectionStatus'][_0x2bf70f(0x21c)]:return _0x2bf70f(0x11a);case _0x521674['MCPConnectionStatus'][_0x2bf70f(0x276)]:case _0x521674[_0x2bf70f(0x136)][_0x2bf70f(0x16f)]:return _0x2bf70f(0x1ca);case _0x521674['MCPConnectionStatus'][_0x2bf70f(0x289)]:case _0x521674[_0x2bf70f(0x136)][_0x2bf70f(0x1f3)]:return _0x2bf70f(0x1ba);default:return'univer-text-gray-500';}}function _0x1fd3de(_0x3f7737){const _0x39573c=_0x2df9f4,{status$:_0x64c89c,error$:_0x647763,onConfigure:_0x4f4dfb,showClickable:_0x1a0715=!0x0}=_0x3f7737,_0x3ed4fb=_0x546ced[_0x39573c(0x27c)](_0x64c89c,_0x521674[_0x39573c(0x136)][_0x39573c(0x1f3)]),_0x405db8=_0x546ced[_0x39573c(0x27c)](_0x647763,_0x521674[_0x39573c(0x284)][_0x39573c(0x28e)]),_0x1a68b9=_0x546ced['useDependency'](_0x370af1[_0x39573c(0x1c0)]),_0xeea616=_0x3ed4fb===_0x521674[_0x39573c(0x136)][_0x39573c(0x21c)];_0x3ed4fb===_0x521674[_0x39573c(0x136)][_0x39573c(0x276)]||_0x521674[_0x39573c(0x136)][_0x39573c(0x16f)];const _0x4c98c1=_0x1a68b9['t'](_0x330cb9(_0x3ed4fb,_0x405db8)),_0x3dc866=_0x13ca52(_0x3ed4fb,_0x405db8,_0x1a68b9,_0x1a0715),_0x282e7d=_0x16f8ba(_0x3ed4fb),_0x5072ea=_0xeea616?_0x54172d[_0x39573c(0x157)](_0x36f087,{}):_0x54172d['jsx'](_0x433719,{}),_0x4d46cb=_0x42d550[_0x39573c(0x245)](()=>{_0x1a0715&&_0x4f4dfb&&_0x4f4dfb();},[_0x1a0715,_0x4f4dfb]);function _0x47d327(){const _0x55aafd=_0x39573c;return _0x54172d['jsxs'](_0x55aafd(0x1da),{'className':_0x4c9ba4[_0x55aafd(0x18f)](_0x55aafd(0x221),_0x1a0715&&_0x4f4dfb&&_0x55aafd(0x271)),'role':_0x55aafd(0x280),'onClick':_0x1a0715&&_0x4f4dfb?_0x4d46cb:void 0x0,'children':[_0x54172d['jsx'](_0x55aafd(0x1da),{'className':_0x4c9ba4[_0x55aafd(0x18f)](_0x55aafd(0x10c),_0x282e7d),'children':_0x5072ea}),_0x54172d[_0x55aafd(0x157)](_0x55aafd(0x1da),{'className':_0x55aafd(0x20c),'children':_0x4c98c1})]});}return _0x54172d[_0x39573c(0x157)](_0x4c9ba4[_0x39573c(0x151)],{'title':_0x3dc866,'placement':'bottom','children':_0x47d327()});}var _0x349e5b=Object[_0x2df9f4(0x17c)],_0x1685f4=(_0x83348a,_0x53970d,_0x213992,_0x2dca9c)=>{const _0x4fd39b=_0x2df9f4;for(var _0x1af9de=_0x2dca9c>0x1?void 0x0:_0x2dca9c?_0x349e5b(_0x53970d,_0x213992):_0x53970d,_0x385d6a=_0x83348a[_0x4fd39b(0x149)]-0x1,_0x44f976;_0x385d6a>=0x0;_0x385d6a--)(_0x44f976=_0x83348a[_0x385d6a])&&(_0x1af9de=_0x44f976(_0x1af9de)||_0x1af9de);return _0x1af9de;},_0xf5df2d=(_0x533f26,_0x2226a3)=>(_0x24910e,_0x10c6db)=>_0x2226a3(_0x24910e,_0x10c6db,_0x533f26);_0x504312[_0x2df9f4(0x249)]=class extends _0x370af1[_0x2df9f4(0x17f)]{constructor(_0xd7ace,_0xd5dea9,_0xedbfae,_0x3dc55e){const _0x1dfa7f=_0x2df9f4;super(),this[_0x1dfa7f(0x234)]=_0xd7ace,this[_0x1dfa7f(0x183)]=_0xd5dea9,this[_0x1dfa7f(0x121)]=_0xedbfae,this[_0x1dfa7f(0x27b)]=_0x3dc55e,this[_0x1dfa7f(0x22d)](),this[_0x1dfa7f(0x145)]();}[_0x2df9f4(0x22d)](){const _0x59e3bc=_0x2df9f4,_0x266f96=this[_0x59e3bc(0x27b)][_0x59e3bc(0x159)](_0x48e853);_0x266f96!=null&&_0x266f96['showDeveloperTools']&&(this['_connectionController'][_0x59e3bc(0x134)]=!0x1);}['_initStatusComponent'](){const _0x305179=_0x2df9f4,_0x5a2f1f=this[_0x305179(0x27b)][_0x305179(0x159)](_0x48e853);(_0x5a2f1f==null?void 0x0:_0x5a2f1f[_0x305179(0x242)])!==!0x1&&this[_0x305179(0x112)](this[_0x305179(0x121)][_0x305179(0x29c)](_0x546ced[_0x305179(0x18d)]['HEADER_MENU'],()=>{const _0x3130c5=_0x305179;var _0x55af74;return _0x546ced['connectInjector'](_0x31f5a3({'status$':this[_0x3130c5(0x183)][_0x3130c5(0x21f)],'error$':this[_0x3130c5(0x183)][_0x3130c5(0x1d4)],'onConfigure':()=>this[_0x3130c5(0x1db)](),'showClickable':(_0x55af74=_0x5a2f1f==null?void 0x0:_0x5a2f1f[_0x3130c5(0x173)])!=null?_0x55af74:!0x1}),this['_injector']);}));}[_0x2df9f4(0x1db)](){const _0x272076=_0x2df9f4;this['_injector'][_0x272076(0x25d)](_0x504312[_0x272076(0x1a3)])[_0x272076(0x1a1)]();}},_0x504312[_0x2df9f4(0x249)]=_0x1685f4([_0xf5df2d(0x0,_0x370af1['Inject'](_0x370af1['Injector'])),_0xf5df2d(0x1,_0x370af1[_0x2df9f4(0x10f)](_0x521674['MCPConnectionController'])),_0xf5df2d(0x2,_0x546ced[_0x2df9f4(0x1c8)]),_0xf5df2d(0x3,_0x370af1[_0x2df9f4(0x17a)])],_0x504312[_0x2df9f4(0x249)]);function _0x31f5a3(_0x398b41){const {status$:_0x239e4c,error$:_0x1700ef,onConfigure:_0x5f4b9d,showClickable:_0x18f288}=_0x398b41;return function(){const _0x4a9203=_0x25c8;return _0x54172d[_0x4a9203(0x157)](_0x1fd3de,{'status$':_0x239e4c,'error$':_0x1700ef,'onConfigure':_0x5f4b9d,'showClickable':_0x18f288});};}function _0x2a671a(_0xbd84ea){const _0x142d9d=_0x2df9f4;return{'id':_0x37eaaf['id'],'type':_0x546ced['MenuItemType']['BUTTON'],'icon':'MenuIcon','title':_0x142d9d(0x11e),'tooltip':'mcpConfig.title'};}const _0x355067={[_0x546ced[_0x2df9f4(0x290)]['OTHERS']]:{[_0x37eaaf['id']]:{'order':0xa,'menuItemFactory':_0x2a671a}}};var _0x2b5fcd=Object[_0x2df9f4(0x17c)],_0x5d0f0f=(_0x2375b1,_0x123c2c,_0x5d7b2d,_0x58946b)=>{const _0x1d0469=_0x2df9f4;for(var _0x495a74=_0x58946b>0x1?void 0x0:_0x58946b?_0x2b5fcd(_0x123c2c,_0x5d7b2d):_0x123c2c,_0x429d20=_0x2375b1[_0x1d0469(0x149)]-0x1,_0x4bced5;_0x429d20>=0x0;_0x429d20--)(_0x4bced5=_0x2375b1[_0x429d20])&&(_0x495a74=_0x4bced5(_0x495a74)||_0x495a74);return _0x495a74;},_0x255a6e=(_0x491b77,_0x564c48)=>(_0x5976f4,_0x37ca47)=>_0x564c48(_0x5976f4,_0x37ca47,_0x491b77);_0x504312[_0x2df9f4(0x20d)]=class extends _0x370af1[_0x2df9f4(0x17f)]{constructor(_0x25710e,_0x2c2ba5){const _0x1ebe7c=_0x2df9f4;super(),this[_0x1ebe7c(0x199)]=_0x25710e,this[_0x1ebe7c(0x24e)]=_0x2c2ba5,this[_0x1ebe7c(0x123)](),this[_0x1ebe7c(0x298)]();}[_0x2df9f4(0x123)](){const _0x5e1067=_0x2df9f4;[_0x37eaaf][_0x5e1067(0x274)](_0x1a3171=>{const _0x28bfea=_0x5e1067;this[_0x28bfea(0x112)](this[_0x28bfea(0x199)][_0x28bfea(0x169)](_0x1a3171));});}['_initializeMenus'](){const _0x44464c=_0x2df9f4;this[_0x44464c(0x24e)][_0x44464c(0x25f)](_0x355067);}},_0x504312['MCPUIMenuController']=_0x5d0f0f([_0x255a6e(0x0,_0x370af1[_0x2df9f4(0x19e)]),_0x255a6e(0x1,_0x546ced['IMenuManagerService'])],_0x504312['MCPUIMenuController']);const _0x502c8f={'mcpStatus':{'disconnected':_0x2df9f4(0x233),'connecting':_0x2df9f4(0x18e),'connected':_0x2df9f4(0x267),'failed':_0x2df9f4(0x165),'retrying':_0x2df9f4(0x20a),'unknown':_0x2df9f4(0x268),'unauthorized':_0x2df9f4(0x1ef),'sessionOccupied':_0x2df9f4(0x16d),'networkError':_0x2df9f4(0x171),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2df9f4(0x1c9),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2df9f4(0x194),'description':_0x2df9f4(0x1c1),'apiKey':_0x2df9f4(0x196),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2df9f4(0x22a),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2df9f4(0x1b0),'configStepTitle':_0x2df9f4(0x187),'configStep1':_0x2df9f4(0x214),'configStep2':_0x2df9f4(0x286),'configStep3':_0x2df9f4(0x15c),'sessionId':_0x2df9f4(0x263),'sessionIdDescription':_0x2df9f4(0x161),'authorizationDescription':_0x2df9f4(0x202),'configParameters':_0x2df9f4(0x172),'maxRetries':_0x2df9f4(0x1ab),'save':_0x2df9f4(0x27a),'saving':_0x2df9f4(0x1b5),'note1':_0x2df9f4(0x138),'note2':_0x2df9f4(0x1bb),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2df9f4(0x1b1),'description':_0x2df9f4(0x15a),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2df9f4(0x1df)},'validation':{'apiKeyRequired':_0x2df9f4(0x213),'apiKeyTooShort':_0x2df9f4(0x17d),'invalidConfig':_0x2df9f4(0x1b4),'invalidApiKey':_0x2df9f4(0x11f)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2df9f4(0x279),'connected':_0x2df9f4(0x269),'failed':_0x2df9f4(0x1fa),'retrying':_0x2df9f4(0x10d)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x2df9f4(0x115),'networkError':_0x2df9f4(0x11c),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x5d3b94={'mcpStatus':{'disconnected':_0x2df9f4(0x18b),'connecting':_0x2df9f4(0x12c),'connected':_0x2df9f4(0x117),'failed':_0x2df9f4(0x20b),'retrying':_0x2df9f4(0x255),'unknown':_0x2df9f4(0x186),'unauthorized':_0x2df9f4(0x168),'sessionOccupied':_0x2df9f4(0x179),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x2df9f4(0x15d),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x2df9f4(0x1b8),'description':_0x2df9f4(0x195),'apiKey':_0x2df9f4(0x291),'apiKeyPlaceholder':_0x2df9f4(0x125),'apiKeyHint':_0x2df9f4(0x1ce),'enableAuth':_0x2df9f4(0x1a7),'enableAuthHint':_0x2df9f4(0x26e),'connectionInfo':_0x2df9f4(0x170),'mcpClientConfig':_0x2df9f4(0x170),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x2df9f4(0x25c),'configStep1':_0x2df9f4(0x144),'configStep2':_0x2df9f4(0x236),'configStep3':_0x2df9f4(0x19c),'sessionId':_0x2df9f4(0x1e8),'sessionIdDescription':_0x2df9f4(0x230),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x2df9f4(0x212),'maxRetries':'最大重试次数','save':'保存配置','saving':_0x2df9f4(0x1e0),'note1':_0x2df9f4(0x257),'note2':_0x2df9f4(0x1a8),'configSaved':_0x2df9f4(0x16b),'configError':_0x2df9f4(0x14d),'apiApplyInfo':{'title':_0x2df9f4(0x1aa),'description':_0x2df9f4(0x228),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x2df9f4(0x216)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x2df9f4(0x25b),'invalidApiKey':_0x2df9f4(0x1a4)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x2df9f4(0x1d7),'failed':_0x2df9f4(0x1c4),'retrying':_0x2df9f4(0x11b)},'connectionError':{'unauthorized':_0x2df9f4(0x1b6),'sessionOccupied':_0x2df9f4(0x142),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x2df9f4(0x15e)}}};var _0x57168d=Object[_0x2df9f4(0x204)],_0x1f9531=Object[_0x2df9f4(0x17c)],_0x510256=(_0x961577,_0x1bbde5,_0x2ab2df)=>_0x1bbde5 in _0x961577?_0x57168d(_0x961577,_0x1bbde5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ab2df}):_0x961577[_0x1bbde5]=_0x2ab2df,_0x1061ac=(_0x74703a,_0x3bddb4,_0x41ad97,_0x47de0d)=>{const _0xdd78ed=_0x2df9f4;for(var _0x4779a2=_0x47de0d>0x1?void 0x0:_0x47de0d?_0x1f9531(_0x3bddb4,_0x41ad97):_0x3bddb4,_0x441208=_0x74703a[_0xdd78ed(0x149)]-0x1,_0x3a0995;_0x441208>=0x0;_0x441208--)(_0x3a0995=_0x74703a[_0x441208])&&(_0x4779a2=_0x3a0995(_0x4779a2)||_0x4779a2);return _0x4779a2;},_0x138506=(_0x56fbdc,_0x5bae1d)=>(_0x140b61,_0xe5cefd)=>_0x5bae1d(_0x140b61,_0xe5cefd,_0x56fbdc),_0x45031c=(_0x4e79ba,_0x1e0e51,_0x48778e)=>_0x510256(_0x4e79ba,_0x1e0e51+'',_0x48778e);_0x504312[_0x2df9f4(0x200)]=class extends _0x370af1['Plugin']{constructor(_0x1c7f65=_0x3836cf,_0x3de8dd,_0xd7734c,_0x1f5a9f,_0x4cbdb7,_0x390e5b){const _0x319138=_0x2df9f4;super(),this[_0x319138(0x21a)]=_0x1c7f65,this[_0x319138(0x234)]=_0x3de8dd,this[_0x319138(0x27b)]=_0xd7734c,this[_0x319138(0x121)]=_0x1f5a9f,this[_0x319138(0x295)]=_0x4cbdb7,this[_0x319138(0x1be)]=_0x390e5b;const {..._0x5d7e59}=_0x370af1[_0x319138(0x211)]({},_0x3836cf,this['_config']);this['_configService'][_0x319138(0x163)](_0x48e853,_0x5d7e59);}async[_0x2df9f4(0x266)](){const _0x2cfb89=_0x2df9f4,_0x93992f=[[_0x504312[_0x2cfb89(0x249)]],[_0x504312['MCPConfigUIController']],[_0x504312['MCPUIMenuController']]];this[_0x2cfb89(0x234)][_0x2cfb89(0x1cc)](_0x2054a0[_0x2cfb89(0x114)])||_0x93992f[_0x2cfb89(0x137)]([_0x2054a0[_0x2cfb89(0x114)],{'useClass':_0x2054a0[_0x2cfb89(0x23c)]}]),_0x93992f['forEach'](_0x2397f7=>this['_injector'][_0x2cfb89(0x1c6)](_0x2397f7)),this[_0x2cfb89(0x234)][_0x2cfb89(0x25d)](_0x504312[_0x2cfb89(0x249)]),this[_0x2cfb89(0x234)][_0x2cfb89(0x25d)](_0x504312[_0x2cfb89(0x1a3)]),this['_injector'][_0x2cfb89(0x25d)](_0x504312[_0x2cfb89(0x20d)]);}},_0x45031c(_0x504312[_0x2df9f4(0x200)],'pluginName',_0x2df9f4(0x239)),_0x504312[_0x2df9f4(0x200)]=_0x1061ac([_0x370af1[_0x2df9f4(0x26f)](_0x521674['UniverMCPPlugin']),_0x138506(0x1,_0x370af1['Inject'](_0x370af1[_0x2df9f4(0x1a6)])),_0x138506(0x2,_0x370af1[_0x2df9f4(0x17a)]),_0x138506(0x3,_0x546ced['IUIPartsService']),_0x138506(0x4,_0x370af1['ILocalStorageService']),_0x138506(0x5,_0x370af1[_0x2df9f4(0x10f)](_0x370af1[_0x2df9f4(0x1c0)]))],_0x504312['UniverMCPUIPlugin']),_0x504312[_0x2df9f4(0x130)]=_0x4065a2,_0x504312[_0x2df9f4(0x247)]=_0x1fd3de,_0x504312[_0x2df9f4(0x208)]=_0x37eaaf,_0x504312[_0x2df9f4(0x278)]=_0x502c8f,_0x504312[_0x2df9f4(0x133)]=_0x5d3b94,Object[_0x2df9f4(0x204)](_0x504312,Symbol['toStringTag'],{'value':'Module'});}));
@@ -1 +1 @@
1
- (function(_0xf0a424,_0x183a08){var _0x251aae=_0x51e7,_0xf2d25e=_0xf0a424();while(!![]){try{var _0x57776f=-parseInt(_0x251aae(0x118))/0x1*(parseInt(_0x251aae(0x131))/0x2)+-parseInt(_0x251aae(0x12c))/0x3+-parseInt(_0x251aae(0x108))/0x4+-parseInt(_0x251aae(0x10b))/0x5+parseInt(_0x251aae(0x105))/0x6+-parseInt(_0x251aae(0x132))/0x7*(parseInt(_0x251aae(0x10d))/0x8)+parseInt(_0x251aae(0x124))/0x9*(parseInt(_0x251aae(0x126))/0xa);if(_0x57776f===_0x183a08)break;else _0xf2d25e['push'](_0xf2d25e['shift']());}catch(_0x21cd5e){_0xf2d25e['push'](_0xf2d25e['shift']());}}}(_0x829c,0x8f721),function(_0x17c168,_0x3dfae8){var _0x518f5b=_0x51e7;typeof exports==_0x518f5b(0x133)&&typeof module<'u'?module[_0x518f5b(0x128)]=_0x3dfae8():typeof define==_0x518f5b(0x125)&&define[_0x518f5b(0x106)]?define(_0x3dfae8):(_0x17c168=typeof globalThis<'u'?globalThis:_0x17c168||self,_0x17c168[_0x518f5b(0x10a)]=_0x3dfae8());}(this,function(){'use strict';var _0x47f18d=_0x51e7;return{'mcpStatus':{'disconnected':_0x47f18d(0x11c),'connecting':'MCP\x20Connecting...','connected':_0x47f18d(0x12e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x47f18d(0x12d),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x47f18d(0x11f),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x47f18d(0x107),'maxRetriesExceeded':_0x47f18d(0x110),'clickToConnect':_0x47f18d(0x120),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x47f18d(0x11e),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x47f18d(0x11b),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x47f18d(0x12a),'enableAuthHint':_0x47f18d(0x127),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x47f18d(0x10c),'configInstructions':_0x47f18d(0x117),'configStepTitle':_0x47f18d(0x104),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x47f18d(0x102),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x47f18d(0x122),'configParameters':_0x47f18d(0xff),'maxRetries':_0x47f18d(0x116),'save':_0x47f18d(0x100),'saving':_0x47f18d(0x130),'note1':_0x47f18d(0x112),'note2':_0x47f18d(0x129),'configSaved':_0x47f18d(0x11d),'configError':_0x47f18d(0x103),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x47f18d(0x109),'univerAiLabel':_0x47f18d(0x11a),'getStarted':_0x47f18d(0x10f)},'validation':{'apiKeyRequired':_0x47f18d(0x10e),'apiKeyTooShort':_0x47f18d(0x12f),'invalidConfig':_0x47f18d(0x114),'invalidApiKey':_0x47f18d(0x123)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x47f18d(0x113),'failed':_0x47f18d(0x119),'retrying':_0x47f18d(0x111)},'connectionError':{'unauthorized':_0x47f18d(0x101),'sessionOccupied':_0x47f18d(0x12b),'networkError':_0x47f18d(0x115),'maxRetriesExceeded':_0x47f18d(0x121)}}};}));function _0x51e7(_0x16ac10,_0x126984){var _0x829ce4=_0x829c();return _0x51e7=function(_0x51e7a2,_0x3760dc){_0x51e7a2=_0x51e7a2-0xff;var _0x38df66=_0x829ce4[_0x51e7a2];return _0x38df66;},_0x51e7(_0x16ac10,_0x126984);}function _0x829c(){var _0x264e46=['MCP\x20Client\x20Configuration','3112UQudnT','API\x20key\x20is\x20required','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connected','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','34913tzwvSQ','Connection\x20Failed','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','MCP\x20Disconnected','Configuration\x20saved\x20successfully','MCP\x20Configuration','MCP:\x20Unauthorized','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','9wvGWCC','function','18185870gDICvP','Enable\x20authentication\x20for\x20secure\x20connections','exports','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','99072NerqDD','MCP\x20Retrying...','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','46znfIjm','609kRIlzL','object','Configuration\x20Parameters:','Save\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Failed\x20to\x20save\x20configuration','Configuration\x20Steps:','3613398YIUdcV','amd','MCP:\x20Network\x20Error','1942076qleTcP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','UniverProMcpUiCaES','2389410wYpuzl'];_0x829c=function(){return _0x264e46;};return _0x829c();}
1
+ (function(_0x554e18,_0x210fcb){var _0x54d966=_0x193f,_0x479c58=_0x554e18();while(!![]){try{var _0x561a22=parseInt(_0x54d966(0xed))/0x1+parseInt(_0x54d966(0xce))/0x2+parseInt(_0x54d966(0xeb))/0x3+parseInt(_0x54d966(0xe2))/0x4+parseInt(_0x54d966(0xd2))/0x5*(-parseInt(_0x54d966(0xf4))/0x6)+parseInt(_0x54d966(0xdf))/0x7+-parseInt(_0x54d966(0xd5))/0x8*(parseInt(_0x54d966(0xe4))/0x9);if(_0x561a22===_0x210fcb)break;else _0x479c58['push'](_0x479c58['shift']());}catch(_0x2bffbb){_0x479c58['push'](_0x479c58['shift']());}}}(_0x5677,0xd7ade),function(_0x50d33c,_0x3a602e){var _0x1ab660=_0x193f;typeof exports==_0x1ab660(0xd0)&&typeof module<'u'?module[_0x1ab660(0xde)]=_0x3a602e():typeof define=='function'&&define[_0x1ab660(0xda)]?define(_0x3a602e):(_0x50d33c=typeof globalThis<'u'?globalThis:_0x50d33c||self,_0x50d33c[_0x1ab660(0xcd)]=_0x3a602e());}(this,function(){'use strict';var _0x30548e=_0x193f;return{'mcpStatus':{'disconnected':_0x30548e(0xe7),'connecting':'MCP\x20Connecting...','connected':_0x30548e(0xd1),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x30548e(0xf1),'unauthorized':_0x30548e(0xcf),'sessionOccupied':_0x30548e(0xe6),'networkError':_0x30548e(0xef),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x30548e(0xdb),'clickToConfigure':_0x30548e(0xd3)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x30548e(0xf6),'apiKeyHint':_0x30548e(0xd7),'enableAuth':_0x30548e(0xf9),'enableAuthHint':_0x30548e(0xf7),'connectionInfo':_0x30548e(0xe8),'mcpClientConfig':_0x30548e(0xe8),'configInstructions':_0x30548e(0xd8),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x30548e(0xdd),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x30548e(0xe9),'authorizationDescription':_0x30548e(0xd4),'configParameters':_0x30548e(0xca),'maxRetries':_0x30548e(0xec),'save':'Save\x20Configuration','saving':_0x30548e(0xf5),'note1':_0x30548e(0xee),'note2':_0x30548e(0xf8),'configSaved':_0x30548e(0xe0),'configError':_0x30548e(0xe5),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x30548e(0xd6),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x30548e(0xf0)},'validation':{'apiKeyRequired':_0x30548e(0xf3),'apiKeyTooShort':_0x30548e(0xe1),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x30548e(0xd9)},'connectionStatus':{'disconnected':_0x30548e(0xea),'connecting':'Connecting...','connected':_0x30548e(0xc9),'failed':_0x30548e(0xf2),'retrying':_0x30548e(0xdc)},'connectionError':{'unauthorized':_0x30548e(0xe3),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x30548e(0xcc),'maxRetriesExceeded':_0x30548e(0xcb)}}};}));function _0x193f(_0x3f4258,_0x4e2a37){var _0x567747=_0x5677();return _0x193f=function(_0x193fb0,_0x8d9619){_0x193fb0=_0x193fb0-0xc9;var _0x133b4d=_0x567747[_0x193fb0];return _0x133b4d;},_0x193f(_0x3f4258,_0x4e2a37);}function _0x5677(){var _0x19aa8d=['556278hqJbxB','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Unknown\x20Status','Connection\x20Failed','API\x20key\x20is\x20required','2592OlIBVG','Saving...','Enter\x20your\x20API\x20key','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20Authentication','Connected','Configuration\x20Parameters:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','UniverProMcpUiCaES','1199846fmrKjC','MCP:\x20Unauthorized','object','MCP\x20Connected','12785eGHztu','Click\x20to\x20configure\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','7897736doPFEP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','amd','Click\x20to\x20connect\x20MCP','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','exports','2203047zTHpvz','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','5458124pAcytq','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','18StdRNM','Failed\x20to\x20save\x20configuration','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Disconnected','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Disconnected','3381081fYLIRC','Max\x20Retries'];_0x5677=function(){return _0x19aa8d;};return _0x5677();}