@univerjs-pro/mcp-ui 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130640

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +6 -6
@@ -1 +1 @@
1
- function _0x5184(){const _0xd8c2dc=['Click\x20to\x20configure\x20MCP','MCP\x20Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connected','20369140ERXrFx','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Click\x20to\x20connect\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required\x20to\x20connect','92OZKDkW','4405528ABwOYD','Connection\x20Failed','MCP\x20Retrying...','Enable\x20Authentication','1429089mzjewz','Save\x20Configuration','10557673adyjID','API\x20key\x20is\x20required','Invalid\x20configuration','Univer\x20AI\x20Console','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','570jmXpUB','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','Retrying...','Configuration\x20Steps:','24093rDOfxT','9vOkTXu','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Network\x20Error','MCP\x20Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Configuration\x20Parameters:','MCP:\x20Max\x20Retries\x20Exceeded','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key','1886330nSeeWc','2nndOSX','Connecting...','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20API\x20Key\x20Missing','2530cAZWJQ','Enter\x20your\x20API\x20key','MCP:\x20Invalid\x20API\x20Key','Failed\x20to\x20save\x20configuration','MCP:\x20Session\x20Occupied'];_0x5184=function(){return _0xd8c2dc;};return _0x5184();}function _0x4586(_0x3bec46,_0x3b178b){const _0x518401=_0x5184();return _0x4586=function(_0x458677,_0x463c5a){_0x458677=_0x458677-0xce;let _0x122096=_0x518401[_0x458677];return _0x122096;},_0x4586(_0x3bec46,_0x3b178b);}const _0x12ab0b=_0x4586;(function(_0x1bdca6,_0x3af677){const _0x580b9f=_0x4586,_0x347f41=_0x1bdca6();while(!![]){try{const _0x129f7a=parseInt(_0x580b9f(0xdb))/0x1*(parseInt(_0x580b9f(0xf6))/0x2)+-parseInt(_0x580b9f(0xe8))/0x3*(parseInt(_0x580b9f(0xd6))/0x4)+parseInt(_0x580b9f(0xfb))/0x5*(-parseInt(_0x580b9f(0xe2))/0x6)+-parseInt(_0x580b9f(0xdd))/0x7+parseInt(_0x580b9f(0xd7))/0x8*(-parseInt(_0x580b9f(0xe9))/0x9)+-parseInt(_0x580b9f(0xf5))/0xa+parseInt(_0x580b9f(0xcf))/0xb;if(_0x129f7a===_0x3af677)break;else _0x347f41['push'](_0x347f41['shift']());}catch(_0x8de24a){_0x347f41['push'](_0x347f41['shift']());}}}(_0x5184,0xc36e3));const e={'mcpStatus':{'disconnected':_0x12ab0b(0x101),'connecting':_0x12ab0b(0xed),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x12ab0b(0xd9),'unknown':_0x12ab0b(0xe5),'missingApiKey':_0x12ab0b(0xfa),'invalidApiKey':_0x12ab0b(0xfd),'sessionOccupied':_0x12ab0b(0xff),'networkError':_0x12ab0b(0xec),'maxRetriesExceeded':_0x12ab0b(0xf2),'clickToConnect':_0x12ab0b(0xd1),'clickToConfigure':_0x12ab0b(0x100)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x12ab0b(0xf3),'apiKey':_0x12ab0b(0xf4),'apiKeyPlaceholder':_0x12ab0b(0xfc),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x12ab0b(0xda),'enableAuthHint':_0x12ab0b(0xd3),'connectionInfo':_0x12ab0b(0xef),'mcpClientConfig':_0x12ab0b(0xef),'configInstructions':_0x12ab0b(0xe4),'configStepTitle':_0x12ab0b(0xe7),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x12ab0b(0xeb),'configStep3':_0x12ab0b(0xd2),'sessionId':'Session\x20ID','sessionIdDescription':_0x12ab0b(0xea),'authorizationDescription':_0x12ab0b(0xf9),'configParameters':_0x12ab0b(0xf1),'maxRetries':'Max\x20Retries','save':_0x12ab0b(0xdc),'saving':_0x12ab0b(0xf8),'note1':_0x12ab0b(0xe1),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x12ab0b(0xfe),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x12ab0b(0xe3),'univerAiLabel':_0x12ab0b(0xe0),'getStarted':_0x12ab0b(0xee)},'validation':{'apiKeyRequired':_0x12ab0b(0xde),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x12ab0b(0xdf),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x12ab0b(0xf7),'connected':_0x12ab0b(0xce),'failed':_0x12ab0b(0xd8),'retrying':_0x12ab0b(0xe6)},'connectionError':{'missingApiKey':_0x12ab0b(0xd5),'invalidApiKey':_0x12ab0b(0xd0),'sessionOccupied':_0x12ab0b(0xf0),'networkError':_0x12ab0b(0xd4),'maxRetriesExceeded':_0x12ab0b(0x102)}}},n=e;export{n as default};
1
+ function _0x3679(_0x56fbc1,_0x2a156f){const _0x19ddce=_0x19dd();return _0x3679=function(_0x367916,_0x1d094d){_0x367916=_0x367916-0x1b9;let _0x488bda=_0x19ddce[_0x367916];return _0x488bda;},_0x3679(_0x56fbc1,_0x2a156f);}const _0x2c423e=_0x3679;(function(_0x3bcc6f,_0x276d80){const _0xce2533=_0x3679,_0x14ed91=_0x3bcc6f();while(!![]){try{const _0x39a841=-parseInt(_0xce2533(0x1ec))/0x1*(-parseInt(_0xce2533(0x1eb))/0x2)+parseInt(_0xce2533(0x1cf))/0x3+parseInt(_0xce2533(0x1e1))/0x4*(-parseInt(_0xce2533(0x1e5))/0x5)+-parseInt(_0xce2533(0x1cb))/0x6*(-parseInt(_0xce2533(0x1c3))/0x7)+parseInt(_0xce2533(0x1e6))/0x8*(-parseInt(_0xce2533(0x1c2))/0x9)+parseInt(_0xce2533(0x1e3))/0xa+parseInt(_0xce2533(0x1e9))/0xb*(-parseInt(_0xce2533(0x1da))/0xc);if(_0x39a841===_0x276d80)break;else _0x14ed91['push'](_0x14ed91['shift']());}catch(_0x530b57){_0x14ed91['push'](_0x14ed91['shift']());}}}(_0x19dd,0x684c4));const e={'mcpStatus':{'disconnected':_0x2c423e(0x1df),'connecting':_0x2c423e(0x1d3),'connected':_0x2c423e(0x1c4),'failed':_0x2c423e(0x1c5),'retrying':'MCP\x20Retrying...','unknown':_0x2c423e(0x1ce),'missingApiKey':_0x2c423e(0x1b9),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x2c423e(0x1e8),'networkError':_0x2c423e(0x1dd),'maxRetriesExceeded':_0x2c423e(0x1be),'clickToConnect':_0x2c423e(0x1d9),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2c423e(0x1c9),'description':_0x2c423e(0x1ed),'apiKey':_0x2c423e(0x1ea),'apiKeyPlaceholder':_0x2c423e(0x1d7),'apiKeyHint':_0x2c423e(0x1d2),'enableAuth':_0x2c423e(0x1c7),'enableAuthHint':_0x2c423e(0x1cd),'connectionInfo':_0x2c423e(0x1db),'mcpClientConfig':_0x2c423e(0x1db),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2c423e(0x1d1),'configStep1':_0x2c423e(0x1d8),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x2c423e(0x1bb),'sessionIdDescription':_0x2c423e(0x1e0),'authorizationDescription':_0x2c423e(0x1e4),'configParameters':_0x2c423e(0x1d6),'maxRetries':_0x2c423e(0x1dc),'save':'Save\x20Configuration','saving':_0x2c423e(0x1d5),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2c423e(0x1bd),'configSaved':_0x2c423e(0x1c8),'configError':_0x2c423e(0x1ca),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2c423e(0x1ee),'univerAiLabel':_0x2c423e(0x1c0),'getStarted':_0x2c423e(0x1de)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2c423e(0x1c1)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2c423e(0x1d4),'connected':_0x2c423e(0x1d0),'failed':_0x2c423e(0x1e2),'retrying':_0x2c423e(0x1bf)},'connectionError':{'missingApiKey':_0x2c423e(0x1e7),'invalidApiKey':_0x2c423e(0x1bc),'sessionOccupied':_0x2c423e(0x1c6),'networkError':_0x2c423e(0x1ba),'maxRetriesExceeded':_0x2c423e(0x1cc)}}},n=e;export{n as default};function _0x19dd(){const _0x4bb84c=['Configuration\x20saved\x20successfully','MCP\x20Configuration','Failed\x20to\x20save\x20configuration','852CkjjTg','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Unknown\x20Status','429120VLiqSU','Connected','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connecting...','Connecting...','Saving...','Configuration\x20Parameters:','Enter\x20your\x20API\x20key','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','1656LabDRp','MCP\x20Client\x20Configuration','Max\x20Retries','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1383056KtaWZc','Connection\x20Failed','4756650uVcYms','API\x20key\x20with\x20Bearer\x20prefix.','10fDUcLR','65672bZmUuj','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20Session\x20Occupied','2519sFrUww','API\x20Key','408396JzZdkR','3lEoGdY','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','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:\x20API\x20Key\x20Missing','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20ID','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','Univer\x20AI\x20Console','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','891VNruFY','36071YlbtIY','MCP\x20Connected','MCP\x20Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Enable\x20Authentication'];_0x19dd=function(){return _0x4bb84c;};return _0x19dd();}
@@ -1 +1 @@
1
- const _0x4667db=_0x5327;function _0x2cb3(){const _0x2b4257=['Enable\x20authentication\x20for\x20secure\x20connections','9513878kdTSyp','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','What\x20is\x20API\x20Key?','API\x20key\x20with\x20Bearer\x20prefix.','599584tzYCMF','3063033uYnjKG','Copy\x20the\x20JSON\x20configuration\x20below','Connecting...','MCP\x20Connected','Max\x20Retries','Configuration\x20Parameters:','MCP\x20Connection\x20Failed','Invalid\x20configuration','API\x20key\x20is\x20required','MCP:\x20Invalid\x20API\x20Key','63QHEOOt','MCP\x20Client\x20Configuration','MCP:\x20API\x20Key\x20Missing','MCP\x20Retrying...','20vAIdPj','Univer\x20AI\x20Console','Failed\x20to\x20save\x20configuration','Configuration\x20Steps:','3BArAhI','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connecting...','Disconnected','1197022qBddAo','MCP:\x20Session\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','495950CIjUKD','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','10isAfUR','3446898uiUKlH','494200MHRTyc','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20saved\x20successfully','API\x20Key','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Click\x20to\x20configure\x20MCP','MCP\x20Configuration'];_0x2cb3=function(){return _0x2b4257;};return _0x2cb3();}(function(_0x55779c,_0x3065f2){const _0x3e7b4e=_0x5327,_0x5f0a88=_0x55779c();while(!![]){try{const _0x3f70af=-parseInt(_0x3e7b4e(0x104))/0x1+-parseInt(_0x3e7b4e(0xee))/0x2*(-parseInt(_0x3e7b4e(0x117))/0x3)+-parseInt(_0x3e7b4e(0x113))/0x4*(-parseInt(_0x3e7b4e(0xf3))/0x5)+parseInt(_0x3e7b4e(0xf6))/0x6+-parseInt(_0x3e7b4e(0x10f))/0x7*(-parseInt(_0x3e7b4e(0xf7))/0x8)+-parseInt(_0x3e7b4e(0x105))/0x9+-parseInt(_0x3e7b4e(0xf5))/0xa*(parseInt(_0x3e7b4e(0x100))/0xb);if(_0x3f70af===_0x3065f2)break;else _0x5f0a88['push'](_0x5f0a88['shift']());}catch(_0x1e0686){_0x5f0a88['push'](_0x5f0a88['shift']());}}}(_0x2cb3,0x66904));function _0x5327(_0x2c2039,_0x27514d){const _0x2cb34d=_0x2cb3();return _0x5327=function(_0x532798,_0xb02738){_0x532798=_0x532798-0xe9;let _0x5af8a8=_0x2cb34d[_0x532798];return _0x5af8a8;},_0x5327(_0x2c2039,_0x27514d);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4667db(0xec),'connected':_0x4667db(0x108),'failed':_0x4667db(0x10b),'retrying':_0x4667db(0x112),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x4667db(0x111),'invalidApiKey':_0x4667db(0x10e),'sessionOccupied':_0x4667db(0xef),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4667db(0xf2),'clickToConnect':_0x4667db(0xea),'clickToConfigure':_0x4667db(0xfd)},'mcpConfig':{'title':_0x4667db(0xfe),'description':_0x4667db(0xf4),'apiKey':_0x4667db(0xfa),'apiKeyPlaceholder':_0x4667db(0xf1),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4667db(0xff),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x4667db(0x110),'configInstructions':_0x4667db(0xe9),'configStepTitle':_0x4667db(0x116),'configStep1':_0x4667db(0x106),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4667db(0xfb),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x4667db(0x103),'configParameters':_0x4667db(0x10a),'maxRetries':_0x4667db(0x109),'save':'Save\x20Configuration','saving':_0x4667db(0x119),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4667db(0x101),'configSaved':_0x4667db(0xf9),'configError':_0x4667db(0x115),'apiApplyInfo':{'title':_0x4667db(0x102),'description':_0x4667db(0xf0),'univerAiLabel':_0x4667db(0x114),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4667db(0x10d),'apiKeyTooShort':_0x4667db(0xf8),'invalidConfig':_0x4667db(0x10c),'invalidApiKey':_0x4667db(0xeb)},'connectionStatus':{'disconnected':_0x4667db(0xed),'connecting':_0x4667db(0x107),'connected':'Connected','failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x4667db(0x118),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4667db(0xfc)}}},n=e;export{n as default};
1
+ const _0x594ab9=_0x3cce;(function(_0x152259,_0x568565){const _0x4b4396=_0x3cce,_0x19d4d9=_0x152259();while(!![]){try{const _0x25ffb6=parseInt(_0x4b4396(0x1f8))/0x1*(parseInt(_0x4b4396(0x1cb))/0x2)+parseInt(_0x4b4396(0x1dd))/0x3+parseInt(_0x4b4396(0x1ce))/0x4*(parseInt(_0x4b4396(0x1e9))/0x5)+-parseInt(_0x4b4396(0x1f5))/0x6*(-parseInt(_0x4b4396(0x1e6))/0x7)+parseInt(_0x4b4396(0x1c8))/0x8*(parseInt(_0x4b4396(0x1ed))/0x9)+parseInt(_0x4b4396(0x1d5))/0xa*(parseInt(_0x4b4396(0x1f4))/0xb)+parseInt(_0x4b4396(0x1ff))/0xc*(-parseInt(_0x4b4396(0x1e0))/0xd);if(_0x25ffb6===_0x568565)break;else _0x19d4d9['push'](_0x19d4d9['shift']());}catch(_0x305848){_0x19d4d9['push'](_0x19d4d9['shift']());}}}(_0x3d5d,0xae605));const e={'mcpStatus':{'disconnected':_0x594ab9(0x1cf),'connecting':_0x594ab9(0x1fc),'connected':_0x594ab9(0x1dc),'failed':_0x594ab9(0x1f3),'retrying':_0x594ab9(0x1df),'unknown':_0x594ab9(0x1c7),'missingApiKey':_0x594ab9(0x1db),'invalidApiKey':_0x594ab9(0x1f2),'sessionOccupied':_0x594ab9(0x1fe),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x594ab9(0x1d6),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x594ab9(0x1ee)},'mcpConfig':{'title':_0x594ab9(0x1e4),'description':_0x594ab9(0x1e5),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x594ab9(0x1ec),'apiKeyHint':_0x594ab9(0x1e1),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x594ab9(0x1f9),'connectionInfo':_0x594ab9(0x1d0),'mcpClientConfig':_0x594ab9(0x1d0),'configInstructions':_0x594ab9(0x1d8),'configStepTitle':_0x594ab9(0x1e2),'configStep1':_0x594ab9(0x1d4),'configStep2':_0x594ab9(0x1f6),'configStep3':_0x594ab9(0x1f1),'sessionId':_0x594ab9(0x1fd),'sessionIdDescription':_0x594ab9(0x200),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x594ab9(0x1e3),'maxRetries':'Max\x20Retries','save':_0x594ab9(0x1f7),'saving':_0x594ab9(0x1c5),'note1':_0x594ab9(0x1d1),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x594ab9(0x1d2),'configError':_0x594ab9(0x1e8),'apiApplyInfo':{'title':_0x594ab9(0x1ef),'description':_0x594ab9(0x1e7),'univerAiLabel':_0x594ab9(0x1eb),'getStarted':_0x594ab9(0x1f0)},'validation':{'apiKeyRequired':_0x594ab9(0x1c6),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x594ab9(0x1c9),'invalidApiKey':_0x594ab9(0x1d7)},'connectionStatus':{'disconnected':_0x594ab9(0x1d9),'connecting':_0x594ab9(0x1ca),'connected':_0x594ab9(0x1fa),'failed':_0x594ab9(0x1d3),'retrying':_0x594ab9(0x1da)},'connectionError':{'missingApiKey':_0x594ab9(0x1de),'invalidApiKey':_0x594ab9(0x1cc),'sessionOccupied':_0x594ab9(0x1fb),'networkError':_0x594ab9(0x1ea),'maxRetriesExceeded':_0x594ab9(0x1cd)}}},n=e;function _0x3cce(_0x14693f,_0x289443){const _0x3d5dea=_0x3d5d();return _0x3cce=function(_0x3cce5a,_0x30671a){_0x3cce5a=_0x3cce5a-0x1c5;let _0x535bc7=_0x3d5dea[_0x3cce5a];return _0x535bc7;},_0x3cce(_0x14693f,_0x289443);}export{n as default};function _0x3d5d(){const _0x3ec12d=['Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connection\x20Failed','9339EJWKaY','6VqSWwy','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Save\x20Configuration','15VTuqiD','Enable\x20authentication\x20for\x20secure\x20connections','Connected','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Connecting...','Session\x20ID','MCP:\x20Session\x20Occupied','24356532HesqpV','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Saving...','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','8705352GZnufJ','Invalid\x20configuration','Connecting...','84290GdCzWw','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','507536zlNPCt','MCP\x20Disconnected','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','9830iTBfxv','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Disconnected','Retrying...','MCP:\x20API\x20Key\x20Missing','MCP\x20Connected','2628207zqXwZJ','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Retrying...','26mOEHBX','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Steps:','Configuration\x20Parameters:','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','8510621xaBTCD','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Failed\x20to\x20save\x20configuration','5TjfGGB','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','9rGQLjw'];_0x3d5d=function(){return _0x3ec12d;};return _0x3d5d();}
@@ -1 +1 @@
1
- const _0x40244f=_0x1384;function _0x465c(){const _0x473201=['配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP:\x20无效的\x20API\x20密钥','MCP\x20配置','启用身份验证','几秒钟内获取您的\x20API\x20密钥','配置保存失败','配置步骤:','341nAATXm','带有\x20Bearer\x20前缀的\x20API\x20密钥。','您的\x20API\x20密钥将在此浏览器中本地存储','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20连接中...','会话ID','点击连接\x20MCP','857068ldtsNg','474692HcjQZu','请输入您的\x20API\x20密钥','配置参数:','3592nOyaXW','连接失败','点击配置\x20MCP','MCP\x20重连中...','3936yKLRgu','API\x20密钥无效,请检查您的密钥后重试','3308UZlwGH','175790dKfhEE','重启您的\x20MCP\x20客户端以使配置生效','Univer\x20AI\x20控制台','会话当前被占用,请稍后再试','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP:\x20超出最大重试次数','已连接','复制以下\x20JSON\x20配置','MCP:\x20缺少\x20API\x20密钥','3235lmxocE','API\x20密钥不能为空','需要\x20API\x20密钥才能连接','5166dfvQQl','超出最大重试次数,请稍后再试','66qJSJse','重连中...','2384263HMTiKT','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置保存成功','启用身份验证以获得安全连接','MCP:\x20会话被占用','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20已断开','MCP\x20连接失败','MCP\x20客户端配置','未连接'];_0x465c=function(){return _0x473201;};return _0x465c();}function _0x1384(_0xdad069,_0x76d69d){const _0x465ccb=_0x465c();return _0x1384=function(_0x138416,_0x456f45){_0x138416=_0x138416-0x1bc;let _0x2c90cb=_0x465ccb[_0x138416];return _0x2c90cb;},_0x1384(_0xdad069,_0x76d69d);}(function(_0xd0acd6,_0x3d1184){const _0x16ef88=_0x1384,_0x45a1bd=_0xd0acd6();while(!![]){try{const _0x4aea78=parseInt(_0x16ef88(0x1d5))/0x1+parseInt(_0x16ef88(0x1de))/0x2*(parseInt(_0x16ef88(0x1ed))/0x3)+-parseInt(_0x16ef88(0x1d4))/0x4+parseInt(_0x16ef88(0x1e8))/0x5*(parseInt(_0x16ef88(0x1dc))/0x6)+parseInt(_0x16ef88(0x1bc))/0x7+parseInt(_0x16ef88(0x1d8))/0x8*(-parseInt(_0x16ef88(0x1eb))/0x9)+-parseInt(_0x16ef88(0x1df))/0xa*(parseInt(_0x16ef88(0x1cd))/0xb);if(_0x4aea78===_0x3d1184)break;else _0x45a1bd['push'](_0x45a1bd['shift']());}catch(_0x531839){_0x45a1bd['push'](_0x45a1bd['shift']());}}}(_0x465c,0x3f46b));const e={'mcpStatus':{'disconnected':_0x40244f(0x1c2),'connecting':_0x40244f(0x1d1),'connected':'MCP\x20已连接','failed':_0x40244f(0x1c3),'retrying':_0x40244f(0x1db),'unknown':'MCP\x20状态未知','missingApiKey':_0x40244f(0x1e7),'invalidApiKey':_0x40244f(0x1c7),'sessionOccupied':_0x40244f(0x1c0),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x40244f(0x1e4),'clickToConnect':_0x40244f(0x1d3),'clickToConfigure':_0x40244f(0x1da)},'mcpConfig':{'title':_0x40244f(0x1c8),'description':_0x40244f(0x1c6),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x40244f(0x1d6),'apiKeyHint':_0x40244f(0x1cf),'enableAuth':_0x40244f(0x1c9),'enableAuthHint':_0x40244f(0x1bf),'connectionInfo':_0x40244f(0x1c4),'mcpClientConfig':_0x40244f(0x1c4),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x40244f(0x1cc),'configStep1':_0x40244f(0x1e6),'configStep2':_0x40244f(0x1c1),'configStep3':_0x40244f(0x1e0),'sessionId':_0x40244f(0x1d2),'sessionIdDescription':_0x40244f(0x1bd),'authorizationDescription':_0x40244f(0x1ce),'configParameters':_0x40244f(0x1d7),'maxRetries':'最大重试次数','save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':_0x40244f(0x1d0),'configSaved':_0x40244f(0x1be),'configError':_0x40244f(0x1cb),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x40244f(0x1e3),'univerAiLabel':_0x40244f(0x1e1),'getStarted':_0x40244f(0x1ca)},'validation':{'apiKeyRequired':_0x40244f(0x1e9),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x40244f(0x1c5),'connecting':'连接中...','connected':_0x40244f(0x1e5),'failed':_0x40244f(0x1d9),'retrying':_0x40244f(0x1ee)},'connectionError':{'missingApiKey':_0x40244f(0x1ea),'invalidApiKey':_0x40244f(0x1dd),'sessionOccupied':_0x40244f(0x1e2),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x40244f(0x1ec)}}};export{e as default};
1
+ const _0x13727a=_0x369d;(function(_0x2854ff,_0x4ca8b4){const _0xd40296=_0x369d,_0x20e856=_0x2854ff();while(!![]){try{const _0x3fe757=parseInt(_0xd40296(0x145))/0x1*(-parseInt(_0xd40296(0x13e))/0x2)+-parseInt(_0xd40296(0x11c))/0x3+-parseInt(_0xd40296(0x125))/0x4*(parseInt(_0xd40296(0x14e))/0x5)+parseInt(_0xd40296(0x12f))/0x6*(-parseInt(_0xd40296(0x14b))/0x7)+-parseInt(_0xd40296(0x146))/0x8*(parseInt(_0xd40296(0x13f))/0x9)+parseInt(_0xd40296(0x138))/0xa*(-parseInt(_0xd40296(0x126))/0xb)+parseInt(_0xd40296(0x120))/0xc;if(_0x3fe757===_0x4ca8b4)break;else _0x20e856['push'](_0x20e856['shift']());}catch(_0x503969){_0x20e856['push'](_0x20e856['shift']());}}}(_0x5c84,0x353c3));const e={'mcpStatus':{'disconnected':_0x13727a(0x147),'connecting':'MCP\x20连接中...','connected':_0x13727a(0x149),'failed':_0x13727a(0x13c),'retrying':_0x13727a(0x133),'unknown':_0x13727a(0x11d),'missingApiKey':_0x13727a(0x12e),'invalidApiKey':_0x13727a(0x14f),'sessionOccupied':_0x13727a(0x135),'networkError':_0x13727a(0x130),'maxRetriesExceeded':_0x13727a(0x11e),'clickToConnect':_0x13727a(0x13a),'clickToConfigure':_0x13727a(0x128)},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x13727a(0x131),'apiKeyPlaceholder':_0x13727a(0x140),'apiKeyHint':_0x13727a(0x123),'enableAuth':_0x13727a(0x127),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x13727a(0x124),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x13727a(0x11f),'configStepTitle':_0x13727a(0x129),'configStep1':_0x13727a(0x11b),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x13727a(0x12b),'sessionId':_0x13727a(0x136),'sessionIdDescription':_0x13727a(0x139),'authorizationDescription':_0x13727a(0x148),'configParameters':'配置参数:','maxRetries':_0x13727a(0x141),'save':'保存配置','saving':_0x13727a(0x144),'note1':_0x13727a(0x12d),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x13727a(0x137),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x13727a(0x14c),'univerAiLabel':_0x13727a(0x134),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x13727a(0x121),'apiKeyTooShort':_0x13727a(0x13d),'invalidConfig':_0x13727a(0x143),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x13727a(0x122),'connected':_0x13727a(0x14a),'failed':_0x13727a(0x142),'retrying':_0x13727a(0x12c)},'connectionError':{'missingApiKey':_0x13727a(0x12a),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x13727a(0x13b),'networkError':_0x13727a(0x132),'maxRetriesExceeded':_0x13727a(0x14d)}}};function _0x369d(_0x1a8e82,_0x26920a){const _0x5c8422=_0x5c84();return _0x369d=function(_0x369d9f,_0x469696){_0x369d9f=_0x369d9f-0x11b;let _0x540497=_0x5c8422[_0x369d9f];return _0x540497;},_0x369d(_0x1a8e82,_0x26920a);}export{e as default};function _0x5c84(){const _0x16d949=['API\x20密钥','网络连接错误,请检查您的网络连接','MCP\x20重连中...','Univer\x20AI\x20控制台','MCP:\x20会话被占用','会话ID','配置保存失败','1451910hSeCuT','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','点击连接\x20MCP','会话当前被占用,请稍后再试','MCP\x20连接失败','API\x20密钥长度至少需要\x2010\x20位','10666GWoWDE','1139184KNsNZC','请输入您的\x20API\x20密钥','最大重试次数','连接失败','配置无效','保存中...','72kWuulu','16VOsHWV','MCP\x20已断开','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20已连接','已连接','102697OPZZcm','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','超出最大重试次数,请稍后再试','50rFiDVV','MCP:\x20无效的\x20API\x20密钥','复制以下\x20JSON\x20配置','1174440OtsHCm','MCP\x20状态未知','MCP:\x20超出最大重试次数','将以下配置添加到您的\x20MCP\x20客户端设置中:','23176620GmFkHC','API\x20密钥不能为空','连接中...','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20客户端配置','23372jtmvww','33gpwImB','启用身份验证','点击配置\x20MCP','配置步骤:','需要\x20API\x20密钥才能连接','重启您的\x20MCP\x20客户端以使配置生效','重连中...','配置更改将立即生效','MCP:\x20缺少\x20API\x20密钥','78VDhCaL','MCP:\x20网络错误'];_0x5c84=function(){return _0x16d949;};return _0x5c84();}
@@ -1 +1 @@
1
- const _0x2b170a=_0x1e52;function _0x4652(){const _0x1cebe5=['MCP\x20Configuration','API\x20key\x20is\x20required','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','3241635BPnGUJ','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','Save\x20Configuration','23040gaaQLJ','What\x20is\x20API\x20Key?','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connecting...','Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Configuration\x20Parameters:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1911699bIwtxN','MCP\x20Connection\x20Failed','Univer\x20AI\x20Console','MCP:\x20Session\x20Occupied','Failed\x20to\x20save\x20configuration','4yCYmHz','Session\x20ID','Disconnected','769348zuuwUn','MCP\x20Retrying...','118806KnYWFz','MCP\x20Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key','API\x20key\x20is\x20required\x20to\x20connect','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','104209fZZlVC','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20Invalid\x20API\x20Key','39hkNiPF','7123896KtpnTr','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Client\x20Configuration','Configuration\x20saved\x20successfully','Configuration\x20Steps:','MCP:\x20API\x20Key\x20Missing','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','10TYskXC','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key'];_0x4652=function(){return _0x1cebe5;};return _0x4652();}(function(_0x36ed56,_0x248b91){const _0x3fb5ff=_0x1e52,_0x2dcd63=_0x36ed56();while(!![]){try{const _0x37e1db=-parseInt(_0x3fb5ff(0x138))/0x1+-parseInt(_0x3fb5ff(0x13a))/0x2*(-parseInt(_0x3fb5ff(0x110))/0x3)+-parseInt(_0x3fb5ff(0x135))/0x4*(parseInt(_0x3fb5ff(0x121))/0x5)+-parseInt(_0x3fb5ff(0x126))/0x6+parseInt(_0x3fb5ff(0x10c))/0x7+parseInt(_0x3fb5ff(0x111))/0x8+-parseInt(_0x3fb5ff(0x130))/0x9*(-parseInt(_0x3fb5ff(0x11a))/0xa);if(_0x37e1db===_0x248b91)break;else _0x2dcd63['push'](_0x2dcd63['shift']());}catch(_0x148f02){_0x2dcd63['push'](_0x2dcd63['shift']());}}}(_0x4652,0x7261d));function _0x1e52(_0x1bbc14,_0x15a6f3){const _0x4652f7=_0x4652();return _0x1e52=function(_0x1e527a,_0x4e64d8){_0x1e527a=_0x1e527a-0x10a;let _0x411446=_0x4652f7[_0x1e527a];return _0x411446;},_0x1e52(_0x1bbc14,_0x15a6f3);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2b170a(0x122),'connected':_0x2b170a(0x13b),'failed':_0x2b170a(0x131),'retrying':_0x2b170a(0x139),'unknown':_0x2b170a(0x124),'missingApiKey':_0x2b170a(0x118),'invalidApiKey':_0x2b170a(0x10f),'sessionOccupied':_0x2b170a(0x133),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2b170a(0x11b),'clickToConnect':_0x2b170a(0x12c),'clickToConfigure':_0x2b170a(0x120)},'mcpConfig':{'title':_0x2b170a(0x11d),'description':_0x2b170a(0x13c),'apiKey':_0x2b170a(0x13d),'apiKeyPlaceholder':_0x2b170a(0x11c),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2b170a(0x11f),'enableAuthHint':_0x2b170a(0x10b),'connectionInfo':_0x2b170a(0x115),'mcpClientConfig':_0x2b170a(0x115),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2b170a(0x117),'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':_0x2b170a(0x136),'sessionIdDescription':_0x2b170a(0x114),'authorizationDescription':_0x2b170a(0x112),'configParameters':_0x2b170a(0x12e),'maxRetries':'Max\x20Retries','save':_0x2b170a(0x125),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2b170a(0x113),'configSaved':_0x2b170a(0x116),'configError':_0x2b170a(0x134),'apiApplyInfo':{'title':_0x2b170a(0x127),'description':_0x2b170a(0x123),'univerAiLabel':_0x2b170a(0x132),'getStarted':_0x2b170a(0x12b)},'validation':{'apiKeyRequired':_0x2b170a(0x11e),'apiKeyTooShort':_0x2b170a(0x119),'invalidConfig':_0x2b170a(0x12d),'invalidApiKey':_0x2b170a(0x128)},'connectionStatus':{'disconnected':_0x2b170a(0x137),'connecting':_0x2b170a(0x129),'connected':'Connected','failed':_0x2b170a(0x12a),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x2b170a(0x13e),'invalidApiKey':_0x2b170a(0x10d),'sessionOccupied':_0x2b170a(0x10e),'networkError':_0x2b170a(0x12f),'maxRetriesExceeded':_0x2b170a(0x10a)}}},n=e;export{n as default};
1
+ function _0x1428(_0x4eeec0,_0x23d1db){const _0x17bd17=_0x17bd();return _0x1428=function(_0x1428ce,_0x412bcf){_0x1428ce=_0x1428ce-0x97;let _0x53c1a1=_0x17bd17[_0x1428ce];return _0x53c1a1;},_0x1428(_0x4eeec0,_0x23d1db);}const _0x55c29a=_0x1428;(function(_0x47d242,_0x55b156){const _0x42bcd8=_0x1428,_0x4b2e16=_0x47d242();while(!![]){try{const _0xa15fd0=parseInt(_0x42bcd8(0x99))/0x1+parseInt(_0x42bcd8(0xae))/0x2*(parseInt(_0x42bcd8(0xb8))/0x3)+parseInt(_0x42bcd8(0xc7))/0x4*(parseInt(_0x42bcd8(0xa1))/0x5)+parseInt(_0x42bcd8(0xa0))/0x6*(-parseInt(_0x42bcd8(0xb6))/0x7)+parseInt(_0x42bcd8(0xad))/0x8*(-parseInt(_0x42bcd8(0x98))/0x9)+-parseInt(_0x42bcd8(0x97))/0xa+parseInt(_0x42bcd8(0x9e))/0xb;if(_0xa15fd0===_0x55b156)break;else _0x4b2e16['push'](_0x4b2e16['shift']());}catch(_0x35659c){_0x4b2e16['push'](_0x4b2e16['shift']());}}}(_0x17bd,0x6847b));const e={'mcpStatus':{'disconnected':_0x55c29a(0xc4),'connecting':_0x55c29a(0xbd),'connected':'MCP\x20Connected','failed':_0x55c29a(0xc1),'retrying':_0x55c29a(0xa4),'unknown':_0x55c29a(0xa7),'missingApiKey':_0x55c29a(0xb7),'invalidApiKey':_0x55c29a(0xb3),'sessionOccupied':_0x55c29a(0xaf),'networkError':_0x55c29a(0xb5),'maxRetriesExceeded':_0x55c29a(0xbb),'clickToConnect':_0x55c29a(0x9f),'clickToConfigure':_0x55c29a(0x9d)},'mcpConfig':{'title':_0x55c29a(0xbe),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x55c29a(0xaa),'apiKeyPlaceholder':_0x55c29a(0xc5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x55c29a(0xbc),'enableAuthHint':_0x55c29a(0xc6),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x55c29a(0xac),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x55c29a(0xb4),'configStep3':_0x55c29a(0xc2),'sessionId':'Session\x20ID','sessionIdDescription':_0x55c29a(0xa5),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x55c29a(0xbf),'maxRetries':_0x55c29a(0xb9),'save':_0x55c29a(0xab),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x55c29a(0x9a),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x55c29a(0xb0),'apiApplyInfo':{'title':_0x55c29a(0xb2),'description':_0x55c29a(0xc8),'univerAiLabel':_0x55c29a(0xc0),'getStarted':_0x55c29a(0xa2)},'validation':{'apiKeyRequired':_0x55c29a(0xb1),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x55c29a(0xa6)},'connectionStatus':{'disconnected':_0x55c29a(0x9c),'connecting':'Connecting...','connected':_0x55c29a(0x9b),'failed':_0x55c29a(0xa8),'retrying':_0x55c29a(0xa9)},'connectionError':{'missingApiKey':_0x55c29a(0xa3),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x55c29a(0xc3),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x55c29a(0xba)}}},n=e;export{n as default};function _0x17bd(){const _0xc6838d=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','5738770OymkqZ','153351ovjtuW','253860fkHHLB','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connected','Disconnected','Click\x20to\x20configure\x20MCP','3652099BlHtoJ','Click\x20to\x20connect\x20MCP','6ubVOJZ','1090kfpwxK','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','Connection\x20Failed','Retrying...','API\x20Key','Save\x20Configuration','MCP\x20Client\x20Configuration','8aRKPKR','91774rcykhV','MCP:\x20Session\x20Occupied','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','MCP:\x20Invalid\x20API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Network\x20Error','80857QHmQfS','MCP:\x20API\x20Key\x20Missing','15gdPpBP','Max\x20Retries','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20Authentication','MCP\x20Connecting...','MCP\x20Configuration','Configuration\x20Parameters:','Univer\x20AI\x20Console','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','Enter\x20your\x20API\x20key','Enable\x20authentication\x20for\x20secure\x20connections','3932qFAXbm'];_0x17bd=function(){return _0xc6838d;};return _0x17bd();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x56cf8e,_0x40be34){var _0x246fa1=_0x5ed1,_0x181e43=_0x56cf8e();while(!![]){try{var _0x1e36ce=-parseInt(_0x246fa1(0x33b))/0x1*(parseInt(_0x246fa1(0x31b))/0x2)+-parseInt(_0x246fa1(0x2da))/0x3*(parseInt(_0x246fa1(0x1d8))/0x4)+-parseInt(_0x246fa1(0x259))/0x5+parseInt(_0x246fa1(0x31c))/0x6*(parseInt(_0x246fa1(0x263))/0x7)+-parseInt(_0x246fa1(0x2eb))/0x8*(parseInt(_0x246fa1(0x2f5))/0x9)+parseInt(_0x246fa1(0x20e))/0xa*(parseInt(_0x246fa1(0x355))/0xb)+parseInt(_0x246fa1(0x1ce))/0xc;if(_0x1e36ce===_0x40be34)break;else _0x181e43['push'](_0x181e43['shift']());}catch(_0x45756b){_0x181e43['push'](_0x181e43['shift']());}}}(_0x5c9d,0x7b891),function(_0x37444b,_0x33f1f5){var _0x236763=_0x5ed1;typeof exports==_0x236763(0x317)&&typeof module<'u'?_0x33f1f5(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define=='function'&&define[_0x236763(0x213)]?define(['exports',_0x236763(0x232),_0x236763(0x2f3),_0x236763(0x2ee),_0x236763(0x30b),_0x236763(0x210),_0x236763(0x2f7),_0x236763(0x22c),'@univerjs/network'],_0x33f1f5):(_0x37444b=typeof globalThis<'u'?globalThis:_0x37444b||self,_0x33f1f5(_0x37444b[_0x236763(0x271)]={},_0x37444b['UniverCore'],_0x37444b[_0x236763(0x217)],_0x37444b[_0x236763(0x286)],_0x37444b['UniverDesign'],_0x37444b[_0x236763(0x218)],_0x37444b[_0x236763(0x2f7)],_0x37444b[_0x236763(0x217)],_0x37444b['UniverNetwork']));}(this,function(_0x4300b4,_0x4d4771,_0x2c66a9,_0x33a4b2,_0x15fc13,_0x839c43,_0x1932a1,_0x53c926,_0x51d722){'use strict';var _0x58a3da=_0x5ed1;var _0x4ee9c0=Object['defineProperty'],_0x5b912f=(_0x2d2f13,_0x172629,_0xe07255)=>_0x172629 in _0x2d2f13?_0x4ee9c0(_0x2d2f13,_0x172629,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe07255}):_0x2d2f13[_0x172629]=_0xe07255,_0x5b90b1=(_0xd96784,_0x17cdcd,_0x965d44)=>_0x5b912f(_0xd96784,typeof _0x17cdcd!=_0x58a3da(0x32f)?_0x17cdcd+'':_0x17cdcd,_0x965d44),_0x4c8a80=function(){var _0x2161f5=_0x58a3da;return _0x4c8a80=Object['assign']||function(_0x12d1d6){var _0x446ace=_0x5ed1;for(var _0x3a80e0,_0x23d1a3=0x1,_0x3994f7=arguments['length'];_0x23d1a3<_0x3994f7;_0x23d1a3++){_0x3a80e0=arguments[_0x23d1a3];for(var _0xe5b34f in _0x3a80e0)Object[_0x446ace(0x1f5)]['hasOwnProperty'][_0x446ace(0x1e1)](_0x3a80e0,_0xe5b34f)&&(_0x12d1d6[_0xe5b34f]=_0x3a80e0[_0xe5b34f]);}return _0x12d1d6;},_0x4c8a80[_0x2161f5(0x28d)](this,arguments);},_0x10df0e=function(_0x39272d,_0x2db3f6){var _0x1cf335=_0x58a3da,_0x39db2e={};for(var _0x40066b in _0x39272d)Object[_0x1cf335(0x1f5)]['hasOwnProperty'][_0x1cf335(0x1e1)](_0x39272d,_0x40066b)&&_0x2db3f6[_0x1cf335(0x34d)](_0x40066b)<0x0&&(_0x39db2e[_0x40066b]=_0x39272d[_0x40066b]);if(_0x39272d!=null&&typeof Object[_0x1cf335(0x336)]=='function'){for(var _0x514d7b=0x0,_0x40066b=Object[_0x1cf335(0x336)](_0x39272d);_0x514d7b<_0x40066b[_0x1cf335(0x1eb)];_0x514d7b++)_0x2db3f6[_0x1cf335(0x34d)](_0x40066b[_0x514d7b])<0x0&&Object[_0x1cf335(0x1f5)][_0x1cf335(0x2e7)][_0x1cf335(0x1e1)](_0x39272d,_0x40066b[_0x514d7b])&&(_0x39db2e[_0x40066b[_0x514d7b]]=_0x39272d[_0x40066b[_0x514d7b]]);}return _0x39db2e;},_0x16b3f6=_0x53c926['forwardRef'](function(_0x3e1304,_0x5da9c2){var _0xd09d2a=_0x58a3da,_0x36bbf0=_0x3e1304['icon'],_0x3b4806=_0x3e1304['id'],_0x1adf93=_0x3e1304['className'],_0x2db0ea=_0x3e1304['extend'],_0x3b5da2=_0x10df0e(_0x3e1304,['icon','id',_0xd09d2a(0x2d7),_0xd09d2a(0x2ce)]),_0x36233f='univerjs-icon\x20univerjs-icon-'['concat'](_0x3b4806,'\x20')[_0xd09d2a(0x242)](_0x1adf93||'')['trim'](),_0x2a2296=_0x53c926[_0xd09d2a(0x349)]('_'[_0xd09d2a(0x242)](_0x429915()));return _0x2ce811(_0x36bbf0,''[_0xd09d2a(0x242)](_0x3b4806),{'defIds':_0x36bbf0[_0xd09d2a(0x343)],'idSuffix':_0x2a2296['current']},_0x4c8a80({'ref':_0x5da9c2,'className':_0x36233f},_0x3b5da2),_0x2db0ea);});function _0x2ce811(_0xcc49b0,_0x425f40,_0x5822f3,_0xa3693b,_0x456402){var _0x1e90ae=_0x58a3da;return _0x53c926[_0x1e90ae(0x257)](_0xcc49b0['tag'],_0x4c8a80(_0x4c8a80({'key':_0x425f40},_0x146b88(_0xcc49b0,_0x5822f3,_0x456402)),_0xa3693b),(_0x3cb194(_0xcc49b0,_0x5822f3)[_0x1e90ae(0x24b)]||[])[_0x1e90ae(0x2df)](function(_0x3bed06,_0x139b9f){var _0x3c19d1=_0x1e90ae;return _0x2ce811(_0x3bed06,''[_0x3c19d1(0x242)](_0x425f40,'-')[_0x3c19d1(0x242)](_0xcc49b0[_0x3c19d1(0x23b)],'-')[_0x3c19d1(0x242)](_0x139b9f),_0x5822f3,void 0x0,_0x456402);}));}function _0x146b88(_0x3b5eb8,_0xb43d23,_0x17039e){var _0x1519b8=_0x58a3da,_0x1bb3ca=_0x4c8a80({},_0x3b5eb8[_0x1519b8(0x1f9)]);_0x17039e!=null&&_0x17039e['colorChannel1']&&_0x1bb3ca[_0x1519b8(0x224)]===_0x1519b8(0x249)&&(_0x1bb3ca['fill']=_0x17039e[_0x1519b8(0x249)]),_0x3b5eb8[_0x1519b8(0x23b)]==='mask'&&_0x1bb3ca['id']&&(_0x1bb3ca['id']=_0x1bb3ca['id']+_0xb43d23[_0x1519b8(0x326)]),Object[_0x1519b8(0x214)](_0x1bb3ca)[_0x1519b8(0x28b)](function(_0x5b20a5){var _0x20e149=_0x1519b8,_0x2020fb=_0x5b20a5[0x0],_0x2eeafb=_0x5b20a5[0x1];_0x2020fb===_0x20e149(0x2ac)&&typeof _0x2eeafb=='string'&&(_0x1bb3ca[_0x2020fb]=_0x2eeafb[_0x20e149(0x32a)](/url\(#(.*)\)/,_0x20e149(0x21c)[_0x20e149(0x242)](_0xb43d23[_0x20e149(0x326)],')')));});var _0x24b768=_0xb43d23[_0x1519b8(0x343)];return!_0x24b768||_0x24b768['length']===0x0||(_0x3b5eb8[_0x1519b8(0x23b)]===_0x1519b8(0x28a)&&_0x1bb3ca[_0x1519b8(0x2c6)]&&(_0x1bb3ca[_0x1519b8(0x2c6)]=_0x1bb3ca[_0x1519b8(0x2c6)]+_0xb43d23['idSuffix']),Object[_0x1519b8(0x214)](_0x1bb3ca)[_0x1519b8(0x28b)](function(_0x238fd2){var _0x30a94e=_0x1519b8,_0x4d1779=_0x238fd2[0x0],_0x2bb497=_0x238fd2[0x1];typeof _0x2bb497==_0x30a94e(0x2c2)&&(_0x1bb3ca[_0x4d1779]=_0x2bb497[_0x30a94e(0x32a)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xb43d23['idSuffix'],')')));})),_0x1bb3ca;}function _0x3cb194(_0x18467a,_0x5096b9){var _0x4f3bfa=_0x58a3da,_0x1f719d,_0x1da1dc=_0x5096b9[_0x4f3bfa(0x343)];return!_0x1da1dc||_0x1da1dc[_0x4f3bfa(0x1eb)]===0x0?_0x18467a:_0x18467a[_0x4f3bfa(0x23b)]==='defs'&&(!((_0x1f719d=_0x18467a['children'])===null||_0x1f719d===void 0x0)&&_0x1f719d[_0x4f3bfa(0x1eb)])?_0x4c8a80(_0x4c8a80({},_0x18467a),{'children':_0x18467a[_0x4f3bfa(0x24b)][_0x4f3bfa(0x2df)](function(_0xc24c39){var _0x4cb3ae=_0x4f3bfa;return typeof _0xc24c39[_0x4cb3ae(0x1f9)]['id']=='string'&&_0x1da1dc&&_0x1da1dc[_0x4cb3ae(0x25f)](_0xc24c39[_0x4cb3ae(0x1f9)]['id'])?_0x4c8a80(_0x4c8a80({},_0xc24c39),{'attrs':_0x4c8a80(_0x4c8a80({},_0xc24c39[_0x4cb3ae(0x1f9)]),{'id':_0xc24c39[_0x4cb3ae(0x1f9)]['id']+_0x5096b9[_0x4cb3ae(0x326)]})}):_0xc24c39;})}):_0x18467a;}function _0x429915(){var _0x26a2c1=_0x58a3da;return Math[_0x26a2c1(0x305)]()[_0x26a2c1(0x2cf)](0x24)[_0x26a2c1(0x1d9)](0x2,0x8);}_0x16b3f6[_0x58a3da(0x2db)]=_0x58a3da(0x2c8);var _0x29b11a={'tag':_0x58a3da(0x226),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x58a3da(0x2b0),'viewBox':_0x58a3da(0x1de),'width':_0x58a3da(0x1f8),'height':_0x58a3da(0x1f8)},'children':[{'tag':_0x58a3da(0x346),'attrs':{'fill':'currentColor','d':_0x58a3da(0x1d4),'fillRule':_0x58a3da(0x2b6),'clipRule':'evenodd'}}]},_0x51e176=_0x53c926[_0x58a3da(0x227)](function(_0x985b48,_0x4cc542){var _0xcc4e6d=_0x58a3da;return _0x53c926[_0xcc4e6d(0x257)](_0x16b3f6,Object[_0xcc4e6d(0x322)]({},_0x985b48,{'id':_0xcc4e6d(0x273),'ref':_0x4cc542,'icon':_0x29b11a}));});_0x51e176['displayName']=_0x58a3da(0x229);var _0x461c80={'tag':_0x58a3da(0x226),'attrs':{'xmlns':_0x58a3da(0x292),'fill':_0x58a3da(0x2b0),'viewBox':'0\x200\x2017\x2017','width':_0x58a3da(0x1f8),'height':_0x58a3da(0x1f8)},'children':[{'tag':_0x58a3da(0x346),'attrs':{'stroke':_0x58a3da(0x2f4),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x58a3da(0x313),'strokeLinejoin':_0x58a3da(0x313),'strokeWidth':1.33}},{'tag':_0x58a3da(0x346),'attrs':{'stroke':'currentColor','d':_0x58a3da(0x30a),'strokeLinecap':_0x58a3da(0x313),'strokeLinejoin':_0x58a3da(0x313),'strokeWidth':1.33}}]},_0x30f1fb=_0x53c926['forwardRef'](function(_0x177b9e,_0x24c59e){var _0x106965=_0x58a3da;return _0x53c926[_0x106965(0x257)](_0x16b3f6,Object[_0x106965(0x322)]({},_0x177b9e,{'id':_0x106965(0x237),'ref':_0x24c59e,'icon':_0x461c80}));});_0x30f1fb[_0x58a3da(0x2db)]=_0x58a3da(0x22f);var _0x20e58c={'tag':_0x58a3da(0x226),'attrs':{'xmlns':_0x58a3da(0x292),'fill':'none','viewBox':_0x58a3da(0x1de),'width':'1em','height':_0x58a3da(0x1f8)},'children':[{'tag':_0x58a3da(0x346),'attrs':{'fill':_0x58a3da(0x2f4),'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':_0x58a3da(0x346),'attrs':{'fill':_0x58a3da(0x2f4),'d':_0x58a3da(0x1e3)}},{'tag':_0x58a3da(0x346),'attrs':{'fill':_0x58a3da(0x2f4),'d':_0x58a3da(0x2bb),'fillRule':'evenodd','clipRule':_0x58a3da(0x2b6)}}]},_0x4135f8=_0x53c926[_0x58a3da(0x227)](function(_0x2eebc1,_0x556d15){var _0x30851d=_0x58a3da;return _0x53c926[_0x30851d(0x257)](_0x16b3f6,Object[_0x30851d(0x322)]({},_0x2eebc1,{'id':'help-single','ref':_0x556d15,'icon':_0x20e58c}));});_0x4135f8[_0x58a3da(0x2db)]=_0x58a3da(0x366);var _0x3db02={'tag':'svg','attrs':{'xmlns':_0x58a3da(0x292),'fill':_0x58a3da(0x2b0),'viewBox':_0x58a3da(0x1de),'width':_0x58a3da(0x1f8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x58a3da(0x1d5)},'children':[{'tag':_0x58a3da(0x346),'attrs':{'stroke':_0x58a3da(0x2f4),'d':_0x58a3da(0x2ba),'strokeLinecap':'round','strokeLinejoin':_0x58a3da(0x313),'strokeWidth':1.2}}]},{'tag':_0x58a3da(0x28c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x58a3da(0x29f)},'children':[{'tag':'path','attrs':{'fill':_0x58a3da(0x335),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x58a3da(0x29f)]},_0x9f4cee=_0x53c926['forwardRef'](function(_0x11679b,_0x3cb4e2){var _0xfabdd7=_0x58a3da;return _0x53c926[_0xfabdd7(0x257)](_0x16b3f6,Object[_0xfabdd7(0x322)]({},_0x11679b,{'id':'off-line-icon','ref':_0x3cb4e2,'icon':_0x3db02}));});_0x9f4cee[_0x58a3da(0x2db)]=_0x58a3da(0x2ea);var _0x2c044a={'tag':_0x58a3da(0x226),'attrs':{'xmlns':_0x58a3da(0x292),'fill':_0x58a3da(0x2b0),'viewBox':_0x58a3da(0x1d2),'width':_0x58a3da(0x1f8),'height':_0x58a3da(0x1f8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x58a3da(0x346),'attrs':{'stroke':_0x58a3da(0x2f4),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x58a3da(0x313),'strokeLinejoin':_0x58a3da(0x313),'strokeWidth':1.2}}]},{'tag':_0x58a3da(0x28c),'attrs':{},'children':[{'tag':_0x58a3da(0x27e),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x58a3da(0x346),'attrs':{'fill':_0x58a3da(0x335),'d':_0x58a3da(0x327),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5ad28b=_0x53c926[_0x58a3da(0x227)](function(_0x2e7e9b,_0x47d9dc){var _0x2669da=_0x58a3da;return _0x53c926[_0x2669da(0x257)](_0x16b3f6,Object[_0x2669da(0x322)]({},_0x2e7e9b,{'id':_0x2669da(0x2e4),'ref':_0x47d9dc,'icon':_0x2c044a}));});_0x5ad28b[_0x58a3da(0x2db)]=_0x58a3da(0x211);function _0x21aca9(_0x883151){var _0x35f697=_0x58a3da,_0x5d7e56,_0x5840d6;const {mcpCoreConfig:_0x2cb9a2,onSave:_0x19fb3c,loading:_0x35f2be=!0x1,config:_0xe69071,connectionStatus$:_0x2a1477,connectionError$:_0x344383,currentApiKey$:_0x56987c,currentSessionId$:_0x15fc80}=_0x883151,_0xf81b6=_0x839c43[_0x35f697(0x202)](_0x4d4771[_0x35f697(0x1ef)]),_0x5711e8=_0x839c43[_0x35f697(0x2ad)](_0x2a1477,_0x33a4b2[_0x35f697(0x215)][_0x35f697(0x294)]),_0x190476=_0x839c43[_0x35f697(0x2ad)](_0x344383,_0x33a4b2[_0x35f697(0x20a)][_0x35f697(0x25c)]),_0x146d42=_0x839c43['useObservable'](_0x15fc80,''),_0x24fa43=_0x839c43[_0x35f697(0x2ad)](_0x56987c,''),[_0x686a55,_0x8c878b]=_0x53c926[_0x35f697(0x2fb)](_0x24fa43||''),_0x1d6ba1=!0x0,_0x410fbb=_0xe69071[_0x35f697(0x2bf)]&&_0x2cb9a2['mcpServerUrl']&&(_0x2cb9a2[_0x35f697(0x260)][_0x35f697(0x25f)]('univer.plus')||_0x2cb9a2[_0x35f697(0x260)][_0x35f697(0x25f)](_0x35f697(0x29c))),_0x1fbf96=(_0x5d7e56=_0x2cb9a2[_0x35f697(0x260)])==null?void 0x0:_0x5d7e56[_0x35f697(0x25f)](_0x35f697(0x351)),_0x245d29=(_0x5840d6=_0x2cb9a2[_0x35f697(0x260)])==null?void 0x0:_0x5840d6[_0x35f697(0x25f)]('univer.ai'),_0xca5133=_0x1fbf96?_0x35f697(0x34b):_0x35f697(0x23f),_0x17bee3=_0xe69071[_0x35f697(0x2bf)]&&(_0x1fbf96||_0x245d29),[_0x53516a,_0x2eda39]=_0x53c926[_0x35f697(0x2fb)](!_0x686a55['trim']()),_0xbea806=(_0x5271a5,_0x364246)=>{var _0x2b894d=_0x35f697;if(_0x364246===_0x33a4b2[_0x2b894d(0x20a)][_0x2b894d(0x207)])return _0x2b894d(0x33d);switch(_0x5271a5){case _0x33a4b2[_0x2b894d(0x215)][_0x2b894d(0x1ee)]:return _0x2b894d(0x338);case _0x33a4b2[_0x2b894d(0x215)][_0x2b894d(0x23c)]:case _0x33a4b2[_0x2b894d(0x215)]['RETRYING']:return _0x2b894d(0x2e6);case _0x33a4b2[_0x2b894d(0x215)][_0x2b894d(0x362)]:return _0x2b894d(0x33d);default:return _0x2b894d(0x236);}},_0x1b59d5=(_0x52bc7a,_0x45c4b8)=>{var _0x5b2682=_0x35f697;if(_0x45c4b8===_0x33a4b2[_0x5b2682(0x20a)][_0x5b2682(0x207)])return _0x5b2682(0x32e);switch(_0x52bc7a){case _0x33a4b2[_0x5b2682(0x215)][_0x5b2682(0x1ee)]:return'univer-bg-green-500';case _0x33a4b2[_0x5b2682(0x215)][_0x5b2682(0x23c)]:case _0x33a4b2['MCPConnectionStatus'][_0x5b2682(0x2d4)]:return _0x5b2682(0x321);case _0x33a4b2[_0x5b2682(0x215)][_0x5b2682(0x362)]:return _0x5b2682(0x32e);default:return _0x5b2682(0x2b3);}},_0x169df8=_0x55eebb=>{var _0x38f6db=_0x35f697;switch(_0x55eebb){case _0x33a4b2[_0x38f6db(0x215)]['CONNECTED']:return _0xf81b6['t']('mcpConfig.connectionStatus.connected');case _0x33a4b2[_0x38f6db(0x215)][_0x38f6db(0x23c)]:return _0xf81b6['t'](_0x38f6db(0x234));case _0x33a4b2['MCPConnectionStatus'][_0x38f6db(0x362)]:return _0xf81b6['t'](_0x38f6db(0x280));case _0x33a4b2[_0x38f6db(0x215)]['RETRYING']:return _0xf81b6['t'](_0x38f6db(0x22b));default:return _0xf81b6['t'](_0x38f6db(0x34a));}},_0x37cabc=_0xf2a88=>{var _0x2506d2=_0x35f697;switch(_0xf2a88){case _0x33a4b2[_0x2506d2(0x20a)][_0x2506d2(0x207)]:return _0xf81b6['t']('mcpConfig.connectionError.invalidApiKey');case _0x33a4b2[_0x2506d2(0x20a)]['SESSION_ID_OCCUPIED']:return _0xf81b6['t']('mcpConfig.connectionError.sessionOccupied');case _0x33a4b2[_0x2506d2(0x20a)][_0x2506d2(0x33e)]:return _0xf81b6['t'](_0x2506d2(0x32b));case _0x33a4b2[_0x2506d2(0x20a)][_0x2506d2(0x2c0)]:return _0xf81b6['t'](_0x2506d2(0x29d));default:return'';}},_0x287e01=_0x53c926[_0x35f697(0x342)](()=>{var _0x4a1bda=_0x35f697;const _0x454767={..._0x2cb9a2,'apiKey':_0x686a55[_0x4a1bda(0x1f1)](),'enableAuth':_0x1d6ba1};_0x19fb3c(_0x454767);},[_0x2cb9a2,_0x686a55,_0x1d6ba1,_0x19fb3c]),_0x47e063=_0x686a55[_0x35f697(0x1f1)]()[_0x35f697(0x1eb)]>0x0;return _0x2c66a9['jsxs'](_0x35f697(0x2ab),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x301),'children':[_0x2c66a9['jsx'](_0x35f697(0x2ab),{'className':_0x35f697(0x25b),'children':_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x1ed),{'className':_0x35f697(0x2f9),'children':'⚙'})}),_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'children':_0x2c66a9[_0x35f697(0x267)]('p',{'className':_0x35f697(0x363),'children':_0xf81b6['t']('mcpConfig.description')})})]})}),_0x2c66a9['jsxs'](_0x35f697(0x2ab),{'className':_0x35f697(0x314),'children':[_0x2c66a9[_0x35f697(0x267)]('div',{'className':'\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'+_0xbea806(_0x5711e8,_0x190476)+_0x35f697(0x26e),'children':_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2a3),'children':[_0x2c66a9['jsx'](_0x35f697(0x2ab),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1b59d5(_0x5711e8,_0x190476)+_0x35f697(0x23d)}),_0x2c66a9['jsx'](_0x35f697(0x1ed),{'className':_0x35f697(0x290),'children':_0x169df8(_0x5711e8)})]})}),_0x190476!==_0x33a4b2['MCPConnectionError'][_0x35f697(0x25c)]&&(_0x5711e8===_0x33a4b2[_0x35f697(0x215)][_0x35f697(0x362)]||_0x190476===_0x33a4b2[_0x35f697(0x20a)][_0x35f697(0x207)])&&_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x1e7),'children':_0x2c66a9[_0x35f697(0x21b)]('div',{'className':_0x35f697(0x27d),'children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x1ed),{'className':_0x35f697(0x319),'children':'⚠️'}),_0x2c66a9[_0x35f697(0x267)]('p',{'className':_0x35f697(0x1f4),'children':_0x37cabc(_0x190476)})]})})]}),_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x320),'children':_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2b1),'children':[_0x2c66a9[_0x35f697(0x21b)]('div',{'className':_0x35f697(0x258),'children':[_0x2c66a9[_0x35f697(0x21b)]('label',{'className':_0x35f697(0x2e8),'children':[_0x2c66a9['jsx']('span',{'children':'🔑'}),'\x20',_0xf81b6['t'](_0x35f697(0x21a)),_0x2c66a9[_0x35f697(0x267)]('span',{'className':_0x35f697(0x28e),'children':'*'}),_0x410fbb&&_0x2c66a9[_0x35f697(0x267)]('a',{'href':_0x35f697(0x325),'onClick':()=>_0x2eda39(!0x0),'className':_0x35f697(0x1f2),'title':_0xf81b6['t'](_0x35f697(0x33f)),'children':_0x2c66a9[_0x35f697(0x267)](_0x4135f8,{})})]}),_0x2c66a9[_0x35f697(0x267)](_0x15fc13['Input'],{'type':_0x35f697(0x1d3),'placeholder':_0xf81b6['t'](_0x35f697(0x2e0)),'value':_0x686a55,'onChange':_0x8c878b,'disabled':_0x35f2be,'autoComplete':_0x35f697(0x29a)}),_0x2c66a9[_0x35f697(0x267)]('p',{'className':_0x35f697(0x333),'children':_0xf81b6['t'](_0x35f697(0x358))})]}),_0x410fbb&&_0x53516a&&_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x1fc),'children':[_0x2c66a9[_0x35f697(0x267)]('a',{'href':_0x35f697(0x325),'onClick':()=>_0x2eda39(!0x1),'className':_0x35f697(0x339),'title':'Close','children':_0x2c66a9[_0x35f697(0x267)](_0x30f1fb,{})}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x240),'children':[_0x2c66a9[_0x35f697(0x267)]('div',{'className':_0x35f697(0x329),'children':_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x1ed),{'className':_0x35f697(0x2bc),'children':'🚀'})}),_0x2c66a9['jsxs'](_0x35f697(0x2ab),{'className':_0x35f697(0x21e),'children':[_0x2c66a9[_0x35f697(0x267)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0xf81b6['t'](_0x35f697(0x33f))}),_0x2c66a9[_0x35f697(0x267)]('p',{'className':_0x35f697(0x2dd),'children':_0xf81b6['t'](_0x35f697(0x26d))}),_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x21f),'children':_0x17bee3&&_0x2c66a9[_0x35f697(0x21b)]('a',{'href':_0xca5133,'target':_0x35f697(0x2e2),'rel':_0x35f697(0x25a),'className':_0x35f697(0x223),'children':[_0x2c66a9[_0x35f697(0x267)]('span',{'children':'🤖'}),_0xf81b6['t'](_0x35f697(0x2f6)),_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x1ed),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2fc),'children':['✨','\x20',_0xf81b6['t'](_0x35f697(0x35b))]})]})]})]}),_0xe69071[_0x35f697(0x2bf)]&&_0x2c66a9['jsxs'](_0x35f697(0x2ab),{'className':_0x35f697(0x269),'children':[_0x2c66a9[_0x35f697(0x21b)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x1ed),{'children':'🔗'}),'\x20',_0xf81b6['t'](_0x35f697(0x2a4))]}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2ca),'children':[_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2fe),'children':[_0x2c66a9['jsx']('p',{'className':_0x35f697(0x20d),'children':_0xf81b6['t']('mcpConfig.configInstructions')}),_0x2c66a9[_0x35f697(0x21b)]('div',{'className':_0x35f697(0x258),'children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x34c),'children':_0xf81b6['t'](_0x35f697(0x309))}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x2c66a9[_0x35f697(0x21b)]('div',{'className':_0x35f697(0x2a3),'children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x1ed),{'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'}),_0xf81b6['t']('mcpConfig.configStep1')]}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2a3),'children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x1ed),{'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':'2'}),_0xf81b6['t'](_0x35f697(0x2a9))]}),_0x2c66a9['jsxs'](_0x35f697(0x2ab),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x1ed),{'className':_0x35f697(0x1e8),'children':'3'}),_0xf81b6['t'](_0x35f697(0x205))]})]})]})]}),_0x2c66a9['jsxs'](_0x35f697(0x2ab),{'className':_0x35f697(0x258),'children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x35f697(0x26a)}),_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x2d9),'children':_0x2c66a9[_0x35f697(0x267)]('pre',{'className':_0x35f697(0x219),'children':_0x35f697(0x1cd)+_0x146d42+'\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'+(_0x686a55||'<API_KEY>')+_0x35f697(0x24e)})})]}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2fe),'children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x34c),'children':_0xf81b6['t'](_0x35f697(0x284))}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x258),'children':[_0x2c66a9['jsxs']('div',{'className':_0x35f697(0x2fd),'children':[_0x2c66a9['jsx']('div',{'className':_0x35f697(0x340)}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2d6),'children':[_0x2c66a9[_0x35f697(0x267)]('div',{'className':_0x35f697(0x2ec),'children':'univer_session_id:'}),_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x333),'children':_0xf81b6['t'](_0x35f697(0x2e1))})]})]}),_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2fd),'children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x340)}),_0x2c66a9[_0x35f697(0x21b)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':_0x35f697(0x2ec),'children':_0x35f697(0x354)}),_0x2c66a9[_0x35f697(0x267)](_0x35f697(0x2ab),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0xf81b6['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x2c66a9[_0x35f697(0x267)](_0x15fc13[_0x35f697(0x2c4)],{'onClick':_0x287e01,'disabled':!_0x47e063||_0x35f2be,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x35f2be?_0x2c66a9['jsxs'](_0x35f697(0x1ed),{'className':_0x35f697(0x2a3),'children':[_0x2c66a9['jsx'](_0x35f697(0x1ed),{'children':'⟲'}),_0xf81b6['t'](_0x35f697(0x31a))]}):_0x2c66a9['jsxs']('span',{'className':_0x35f697(0x2a3),'children':[_0x2c66a9['jsx'](_0x51e176,{}),_0xf81b6['t'](_0x35f697(0x35e))]})}),_0x2c66a9[_0x35f697(0x267)]('div',{'className':_0x35f697(0x2cd),'children':_0x2c66a9[_0x35f697(0x21b)](_0x35f697(0x2ab),{'className':_0x35f697(0x2aa),'children':[_0x2c66a9[_0x35f697(0x267)]('span',{'className':_0x35f697(0x27b),'children':'💡'}),_0x2c66a9['jsxs'](_0x35f697(0x2ab),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x2c66a9['jsx'](_0x35f697(0x2ab),{'className':_0x35f697(0x1fa),'children':'Configuration\x20Notes:'}),_0x2c66a9['jsxs'](_0x35f697(0x2ab),{'children':['•',_0xf81b6['t'](_0x35f697(0x230))]}),_0x2c66a9[_0x35f697(0x21b)]('div',{'children':['•',_0xf81b6['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x245960=_0x58a3da(0x332),_0x59830d={'showDeveloperTools':!0x1};var _0x569a9b=Object[_0x58a3da(0x26c)],_0x5d83b8=(_0xef46df,_0x4273ee,_0x56b287,_0x42f9e4)=>{var _0xf22047=_0x58a3da;for(var _0xa69cbe=_0x42f9e4>0x1?void 0x0:_0x42f9e4?_0x569a9b(_0x4273ee,_0x56b287):_0x4273ee,_0x5196b0=_0xef46df[_0xf22047(0x1eb)]-0x1,_0x1b9ab9;_0x5196b0>=0x0;_0x5196b0--)(_0x1b9ab9=_0xef46df[_0x5196b0])&&(_0xa69cbe=_0x1b9ab9(_0xa69cbe)||_0xa69cbe);return _0xa69cbe;},_0x383dcd=(_0x29b8b2,_0x1f5a4a)=>(_0x260145,_0x2c3d4f)=>_0x1f5a4a(_0x260145,_0x2c3d4f,_0x29b8b2);const _0x4be5cf=_0x58a3da(0x24f),_0x5e4315=_0x58a3da(0x337);_0x4300b4['MCPConfigUIController']=class extends _0x4d4771[_0x58a3da(0x282)]{constructor(_0x111720,_0x30d308,_0x165172,_0xe9f890,_0x39b32c,_0x458cf6,_0x2b11e7,_0x28ff0d,_0x353439,_0x54f86a){var _0x402919=_0x58a3da;super(),_0x5b90b1(this,_0x402919(0x1cf),new _0x1932a1[(_0x402919(0x1d6))](!0x1)),_0x5b90b1(this,_0x402919(0x25d),new _0x1932a1[(_0x402919(0x1d6))]({})),_0x5b90b1(this,_0x402919(0x318),new _0x1932a1['BehaviorSubject']({})),_0x5b90b1(this,_0x402919(0x2d2),new _0x1932a1[(_0x402919(0x1d6))]('')),_0x5b90b1(this,_0x402919(0x341),async _0x486f87=>{var _0x10add8=_0x402919,_0x5c944a,_0x33628b;this['_loading$']['next'](!0x0);try{const _0xbc65a1=await this[_0x10add8(0x2c7)](_0x486f87);if(!_0xbc65a1['isValid']){this[_0x10add8(0x250)]['show']({'type':_0x15fc13[_0x10add8(0x1ea)][_0x10add8(0x20f)],'content':_0xbc65a1[_0x10add8(0x23e)]||this[_0x10add8(0x2f0)]['t'](_0x10add8(0x254))});return;}_0x486f87[_0x10add8(0x1dd)]?await this[_0x10add8(0x2cc)][_0x10add8(0x1e4)](_0x4be5cf,_0x486f87['apiKey'][_0x10add8(0x1f1)]()):await this['_localStorageService'][_0x10add8(0x31d)](_0x4be5cf),this['_apiKey$'][_0x10add8(0x35d)](((_0x5c944a=_0x486f87[_0x10add8(0x1dd)])==null?void 0x0:_0x5c944a['trim']())||''),this[_0x10add8(0x1d7)]['__setCustomHeaders']({'Authorization':_0x10add8(0x1f0)+((_0x33628b=_0x486f87[_0x10add8(0x1dd)])==null?void 0x0:_0x33628b[_0x10add8(0x1f1)]())}),this['_messageService'][_0x10add8(0x307)]({'type':_0x15fc13[_0x10add8(0x1ea)][_0x10add8(0x353)],'content':this[_0x10add8(0x2f0)]['t'](_0x10add8(0x246))}),setTimeout(()=>{var _0x518bdd=_0x10add8;this[_0x518bdd(0x208)]['close'](_0x5e4315);},0x320);}catch(_0x37d0c1){this[_0x10add8(0x2ed)][_0x10add8(0x2ef)](_0x10add8(0x347),_0x37d0c1),this['_messageService'][_0x10add8(0x307)]({'type':_0x15fc13[_0x10add8(0x1ea)][_0x10add8(0x20f)],'content':this['_localeService']['t'](_0x10add8(0x2d8))});}finally{this[_0x10add8(0x1cf)][_0x10add8(0x35d)](!0x1);}}),(this[_0x402919(0x2fa)]=_0x111720,this[_0x402919(0x289)]=_0x30d308,this[_0x402919(0x2a5)]=_0x165172,this[_0x402919(0x2cc)]=_0xe9f890,this[_0x402919(0x208)]=_0x39b32c,this[_0x402919(0x250)]=_0x458cf6,this[_0x402919(0x2d1)]=_0x2b11e7,this['_localeService']=_0x28ff0d,this[_0x402919(0x2ed)]=_0x353439,this['_mcpConnectionController']=_0x54f86a,this['_initConfigSync'](),this[_0x402919(0x344)](),this['_registerComponent']());}['showConfigPanel'](){var _0x186982=_0x58a3da;this[_0x186982(0x208)][_0x186982(0x2f2)]({'id':_0x5e4315,'title':{'title':this[_0x186982(0x2f0)]['t'](_0x186982(0x21d))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x4752ff=_0x186982;this[_0x4752ff(0x208)][_0x4752ff(0x34f)](_0x5e4315);}});}['getCurrentConfig'](){var _0x2da6d7=_0x58a3da;return this[_0x2da6d7(0x25d)][_0x2da6d7(0x2be)];}[_0x58a3da(0x1dc)](){var _0x55335a=_0x58a3da;this['disposeWithMe'](this[_0x55335a(0x2d1)]['register'](_0x55335a(0x233),this[_0x55335a(0x304)]()));}['_createConfigPanelComponent'](){var _0x2b3ec5=_0x58a3da;return _0x839c43[_0x2b3ec5(0x2a7)](()=>{var _0x15c264=_0x2b3ec5,_0xd74b0c,_0x3dc5db,_0xcb8ede;return _0x2c66a9['jsx'](_0x21aca9,{'config':this[_0x15c264(0x318)][_0x15c264(0x2be)],'mcpCoreConfig':this[_0x15c264(0x25d)][_0x15c264(0x2be)],'currentApiKey$':this[_0x15c264(0x2d2)],'onSave':this['_handleConfigSave'],'loading':this[_0x15c264(0x1cf)][_0x15c264(0x2be)],'connectionStatus$':(_0xd74b0c=this[_0x15c264(0x1d7)])==null?void 0x0:_0xd74b0c[_0x15c264(0x30d)],'connectionError$':(_0x3dc5db=this['_mcpConnectionController'])==null?void 0x0:_0x3dc5db['connectionError$'],'currentSessionId$':(_0xcb8ede=this['_mcpConnectionController'])==null?void 0x0:_0xcb8ede[_0x15c264(0x23a)]});},this['_injector']);}[_0x58a3da(0x2a1)](){var _0x2b0896=_0x58a3da;this[_0x2b0896(0x25e)](this[_0x2b0896(0x2a5)][_0x2b0896(0x35a)](_0x33a4b2[_0x2b0896(0x348)])['subscribe'](_0x5d2469=>{var _0x33addd=_0x2b0896;this[_0x33addd(0x25d)][_0x33addd(0x35d)](_0x5d2469||{});}));const _0x4afb9b=this[_0x2b0896(0x2a5)][_0x2b0896(0x2c9)](_0x33a4b2[_0x2b0896(0x348)]);this['_mcpCoreConfig$'][_0x2b0896(0x35d)](_0x4afb9b||{}),this[_0x2b0896(0x25e)](this[_0x2b0896(0x2a5)]['subscribeConfigValue$'](_0x245960)[_0x2b0896(0x1fb)](_0x4c93c6=>{this['_config$']['next'](_0x4c93c6||{});}));const _0x419d4b=this[_0x2b0896(0x2a5)][_0x2b0896(0x2c9)](_0x245960);this['_config$'][_0x2b0896(0x35d)](_0x419d4b||{});}async['_loadStoredApiKey'](){var _0x902fe6=_0x58a3da;const _0x3bea37=await this[_0x902fe6(0x2cc)]['getItem'](_0x4be5cf);_0x3bea37&&(this['_mcpConnectionController'][_0x902fe6(0x299)]({'Authorization':_0x902fe6(0x1f0)+_0x3bea37}),this[_0x902fe6(0x2d2)][_0x902fe6(0x35d)](_0x3bea37));}async['_validateConfig'](_0x23e596){var _0x24ff81=_0x58a3da;if(!_0x23e596[_0x24ff81(0x1dd)]||_0x23e596[_0x24ff81(0x1dd)][_0x24ff81(0x1f1)]()[_0x24ff81(0x1eb)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x24ff81(0x2f0)]['t'](_0x24ff81(0x2bd))};if(_0x23e596[_0x24ff81(0x1dd)][_0x24ff81(0x1f1)]()[_0x24ff81(0x1eb)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x24ff81(0x2f0)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x5c739c=await this[_0x24ff81(0x2fa)][_0x24ff81(0x2dc)](_0x33a4b2[_0x24ff81(0x2c1)])[_0x24ff81(0x2d0)](_0x23e596[_0x24ff81(0x1dd)][_0x24ff81(0x1f1)]());return _0x5c739c[_0x24ff81(0x364)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x5c739c[_0x24ff81(0x2ef)]||this['_localeService']['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x2502b1){return console['warn'](_0x24ff81(0x26f),_0x2502b1),{'isValid':!0x0};}}},_0x4300b4[_0x58a3da(0x29e)]=_0x5d83b8([_0x383dcd(0x0,_0x4d4771[_0x58a3da(0x24c)](_0x4d4771['Injector'])),_0x383dcd(0x1,_0x839c43[_0x58a3da(0x323)]),_0x383dcd(0x2,_0x4d4771[_0x58a3da(0x30c)]),_0x383dcd(0x3,_0x4d4771['ILocalStorageService']),_0x383dcd(0x4,_0x839c43[_0x58a3da(0x24a)]),_0x383dcd(0x5,_0x839c43['IMessageService']),_0x383dcd(0x6,_0x4d4771[_0x58a3da(0x24c)](_0x839c43[_0x58a3da(0x1e6)])),_0x383dcd(0x7,_0x4d4771[_0x58a3da(0x24c)](_0x4d4771[_0x58a3da(0x1ef)])),_0x383dcd(0x8,_0x4d4771[_0x58a3da(0x34e)]),_0x383dcd(0x9,_0x4d4771[_0x58a3da(0x24c)](_0x33a4b2[_0x58a3da(0x2c1)]))],_0x4300b4['MCPConfigUIController']);const _0x2a6189={'id':'mcp-ui.command.openConfigPanel','type':_0x4d4771[_0x58a3da(0x1f6)][_0x58a3da(0x243)],'handler':async(_0x1866f0,_0x1ddaf0)=>(_0x1866f0[_0x58a3da(0x2dc)](_0x4300b4[_0x58a3da(0x29e)])[_0x58a3da(0x330)](),!0x0)};function _0x591681(_0x3addce,_0x2582fc){var _0xc6d60a=_0x58a3da;switch(_0x3addce){case _0x33a4b2[_0xc6d60a(0x215)][_0xc6d60a(0x294)]:return'mcpStatus.disconnected';case _0x33a4b2['MCPConnectionStatus'][_0xc6d60a(0x23c)]:return _0xc6d60a(0x262);case _0x33a4b2[_0xc6d60a(0x215)]['CONNECTED']:return _0xc6d60a(0x2b8);case _0x33a4b2[_0xc6d60a(0x215)][_0xc6d60a(0x362)]:switch(_0x2582fc){case _0x33a4b2['MCPConnectionError'][_0xc6d60a(0x207)]:return _0xc6d60a(0x2d5);case _0x33a4b2['MCPConnectionError'][_0xc6d60a(0x245)]:return _0xc6d60a(0x2ff);case _0x33a4b2['MCPConnectionError']['NETWORK_ERROR']:return _0xc6d60a(0x1fe);case _0x33a4b2[_0xc6d60a(0x20a)][_0xc6d60a(0x2c0)]:return _0xc6d60a(0x2b2);default:return'mcpStatus.failed';}case _0x33a4b2[_0xc6d60a(0x215)][_0xc6d60a(0x2d4)]:return'mcpStatus.retrying';default:return _0xc6d60a(0x30e);}}function _0x5a5b70(_0x370a7b,_0x10fd92,_0x19ed39){var _0x2e6f29=_0x58a3da;const _0xb2b0cd=_0x591681(_0x370a7b,_0x10fd92),_0x325d3e=_0x19ed39['t'](_0xb2b0cd);return _0x370a7b===_0x33a4b2['MCPConnectionStatus'][_0x2e6f29(0x294)]&&_0x10fd92===_0x33a4b2[_0x2e6f29(0x20a)][_0x2e6f29(0x207)]?_0x325d3e+_0x2e6f29(0x367)+_0x19ed39['t'](_0x2e6f29(0x312)):_0x370a7b===_0x33a4b2[_0x2e6f29(0x215)][_0x2e6f29(0x1ee)]?''+_0x325d3e:_0x370a7b===_0x33a4b2[_0x2e6f29(0x215)]['DISCONNECTED']||_0x370a7b===_0x33a4b2['MCPConnectionStatus']['FAILED']?_0x325d3e+_0x2e6f29(0x367)+_0x19ed39['t'](_0x2e6f29(0x247)):_0x325d3e;}function _0x2a14c1(_0x1ae105){var _0x10ce57=_0x58a3da;switch(_0x1ae105){case _0x33a4b2[_0x10ce57(0x215)][_0x10ce57(0x1ee)]:return'univer-text-green-500';case _0x33a4b2[_0x10ce57(0x215)][_0x10ce57(0x23c)]:case _0x33a4b2[_0x10ce57(0x215)][_0x10ce57(0x2d4)]:return _0x10ce57(0x295);case _0x33a4b2[_0x10ce57(0x215)]['FAILED']:case _0x33a4b2['MCPConnectionStatus'][_0x10ce57(0x294)]:return _0x10ce57(0x28e);default:return _0x10ce57(0x1f7);}}function _0x5103fe(_0x2bfc14){var _0x4a20aa=_0x58a3da;const {status$:_0x39f439,error$:_0x20d678,onConfigure:_0xab6d8f}=_0x2bfc14,_0x4dcdba=_0x839c43[_0x4a20aa(0x2ad)](_0x39f439,_0x33a4b2['MCPConnectionStatus'][_0x4a20aa(0x294)]),_0x38d9cc=_0x839c43[_0x4a20aa(0x2ad)](_0x20d678,_0x33a4b2['MCPConnectionError'][_0x4a20aa(0x25c)]),_0x446d95=_0x839c43[_0x4a20aa(0x202)](_0x4d4771['LocaleService']),_0x5d47c5=_0x4dcdba===_0x33a4b2[_0x4a20aa(0x215)][_0x4a20aa(0x1ee)],_0x2339e0=_0x4dcdba===_0x33a4b2[_0x4a20aa(0x215)][_0x4a20aa(0x23c)]||_0x4dcdba===_0x33a4b2['MCPConnectionStatus']['RETRYING'],_0x22632d=_0x446d95['t'](_0x591681(_0x4dcdba,_0x38d9cc)),_0x9eba90=_0x5a5b70(_0x4dcdba,_0x38d9cc,_0x446d95),_0x34a62f=_0x2a14c1(_0x4dcdba),_0x15a3d8=_0x5d47c5?_0x2c66a9['jsx'](_0x5ad28b,{}):_0x2c66a9['jsx'](_0x9f4cee,{}),_0x32aa39=_0x53c926[_0x4a20aa(0x342)](()=>{_0xab6d8f&&_0xab6d8f();},[_0x5d47c5,_0x2339e0,_0xab6d8f]);function _0x268e22(){var _0x22b65c=_0x4a20aa;return _0x2c66a9[_0x22b65c(0x21b)](_0x22b65c(0x2ab),{'className':_0x15fc13['clsx'](_0x22b65c(0x253),_0xab6d8f&&_0x22b65c(0x368)),'onClick':_0xab6d8f?_0x32aa39:void 0x0,'children':[_0x2c66a9[_0x22b65c(0x267)]('div',{'className':_0x15fc13[_0x22b65c(0x308)](_0x22b65c(0x298),_0x34a62f),'children':_0x15a3d8}),_0x2c66a9[_0x22b65c(0x267)]('div',{'className':_0x22b65c(0x255),'children':_0x22632d})]});}return _0x2c66a9['jsx'](_0x15fc13[_0x4a20aa(0x22e)],{'title':_0x9eba90,'placement':_0x4a20aa(0x278),'children':_0x268e22()});}var _0x130af9=Object[_0x58a3da(0x26c)],_0x153c5b=(_0x1a22e1,_0x2928a5,_0x39e892,_0x37b0b9)=>{var _0x26960f=_0x58a3da;for(var _0x392150=_0x37b0b9>0x1?void 0x0:_0x37b0b9?_0x130af9(_0x2928a5,_0x39e892):_0x2928a5,_0x25f398=_0x1a22e1[_0x26960f(0x1eb)]-0x1,_0x4d9fd3;_0x25f398>=0x0;_0x25f398--)(_0x4d9fd3=_0x1a22e1[_0x25f398])&&(_0x392150=_0x4d9fd3(_0x392150)||_0x392150);return _0x392150;},_0x37e393=(_0x5eb621,_0x27bc7d)=>(_0x3d3828,_0x6b7b5d)=>_0x27bc7d(_0x3d3828,_0x6b7b5d,_0x5eb621);_0x4300b4[_0x58a3da(0x279)]=class extends _0x4d4771[_0x58a3da(0x282)]{constructor(_0x5b2659,_0x190e00,_0x2b86f9){var _0x2d6f28=_0x58a3da;super(),this[_0x2d6f28(0x2fa)]=_0x5b2659,this[_0x2d6f28(0x261)]=_0x190e00,this[_0x2d6f28(0x289)]=_0x2b86f9,this[_0x2d6f28(0x261)][_0x2d6f28(0x2e5)]=!0x1,this[_0x2d6f28(0x31f)]();}['_initStatusComponent'](){var _0x6190e1=_0x58a3da;this[_0x6190e1(0x25e)](this[_0x6190e1(0x289)][_0x6190e1(0x350)](_0x839c43[_0x6190e1(0x2b4)][_0x6190e1(0x2c3)],()=>_0x839c43[_0x6190e1(0x2a7)](_0x582181({'status$':this[_0x6190e1(0x261)]['connectionStatus$'],'error$':this[_0x6190e1(0x261)][_0x6190e1(0x287)],'onConfigure':()=>this[_0x6190e1(0x276)]()}),this[_0x6190e1(0x2fa)])));}[_0x58a3da(0x276)](){var _0x4a826a=_0x58a3da;this[_0x4a826a(0x2fa)][_0x4a826a(0x2dc)](_0x4300b4['MCPConfigUIController'])[_0x4a826a(0x330)]();}},_0x4300b4[_0x58a3da(0x279)]=_0x153c5b([_0x37e393(0x0,_0x4d4771[_0x58a3da(0x24c)](_0x4d4771['Injector'])),_0x37e393(0x1,_0x4d4771['Inject'](_0x33a4b2[_0x58a3da(0x2c1)])),_0x37e393(0x2,_0x839c43[_0x58a3da(0x323)])],_0x4300b4[_0x58a3da(0x279)]);function _0x582181(_0x5583e8){const {status$:_0x19d827,error$:_0x5ce67f,onConfigure:_0x2cc8f7}=_0x5583e8;return function(){var _0x1ddf5d=_0x5ed1;return _0x2c66a9[_0x1ddf5d(0x267)](_0x5103fe,{'status$':_0x19d827,'error$':_0x5ce67f,'onConfigure':_0x2cc8f7});};}function _0x3bb303(_0x4856c6){var _0x247e65=_0x58a3da;return{'id':_0x2a6189['id'],'type':_0x839c43['MenuItemType'][_0x247e65(0x1d0)],'icon':_0x247e65(0x1d1),'title':_0x247e65(0x21d),'tooltip':_0x247e65(0x21d)};}const _0x446359={[_0x839c43['RibbonStartGroup'][_0x58a3da(0x20b)]]:{[_0x2a6189['id']]:{'order':0xa,'menuItemFactory':_0x3bb303}}};var _0x2e21f0=Object[_0x58a3da(0x26c)],_0x48e6a3=(_0x4db536,_0xd182f3,_0x3e66a5,_0x1f55bb)=>{var _0x5a3f28=_0x58a3da;for(var _0x2985eb=_0x1f55bb>0x1?void 0x0:_0x1f55bb?_0x2e21f0(_0xd182f3,_0x3e66a5):_0xd182f3,_0x452bea=_0x4db536[_0x5a3f28(0x1eb)]-0x1,_0x3a9d1c;_0x452bea>=0x0;_0x452bea--)(_0x3a9d1c=_0x4db536[_0x452bea])&&(_0x2985eb=_0x3a9d1c(_0x2985eb)||_0x2985eb);return _0x2985eb;},_0x604bf5=(_0x35870b,_0x443ece)=>(_0x4d317a,_0x48087f)=>_0x443ece(_0x4d317a,_0x48087f,_0x35870b);_0x4300b4[_0x58a3da(0x275)]=class extends _0x4d4771['Disposable']{constructor(_0x584b30,_0x4088bc){var _0x4a552c=_0x58a3da;super(),this[_0x4a552c(0x231)]=_0x584b30,this[_0x4a552c(0x359)]=_0x4088bc,this[_0x4a552c(0x1df)](),this['_initializeMenus']();}[_0x58a3da(0x1df)](){[_0x2a6189]['forEach'](_0x6e22f7=>{var _0x4ee18d=_0x5ed1;this[_0x4ee18d(0x25e)](this['_commandService'][_0x4ee18d(0x31e)](_0x6e22f7));});}['_initializeMenus'](){var _0x32e8af=_0x58a3da;this['_menuManagerService'][_0x32e8af(0x265)](_0x446359);}},_0x4300b4[_0x58a3da(0x275)]=_0x48e6a3([_0x604bf5(0x0,_0x4d4771[_0x58a3da(0x1f3)]),_0x604bf5(0x1,_0x839c43[_0x58a3da(0x293)])],_0x4300b4['MCPUIMenuController']);const _0x29bca3={'mcpStatus':{'disconnected':_0x58a3da(0x238),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x58a3da(0x251),'retrying':_0x58a3da(0x2f1),'unknown':_0x58a3da(0x29b),'missingApiKey':_0x58a3da(0x2b7),'invalidApiKey':_0x58a3da(0x22d),'sessionOccupied':_0x58a3da(0x310),'networkError':_0x58a3da(0x27f),'maxRetriesExceeded':_0x58a3da(0x1e5),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x58a3da(0x1e0)},'mcpConfig':{'title':_0x58a3da(0x26a),'description':_0x58a3da(0x283),'apiKey':_0x58a3da(0x268),'apiKeyPlaceholder':_0x58a3da(0x300),'apiKeyHint':_0x58a3da(0x1da),'enableAuth':_0x58a3da(0x256),'enableAuthHint':_0x58a3da(0x239),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x58a3da(0x228),'configInstructions':_0x58a3da(0x352),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x58a3da(0x27c),'configStep2':_0x58a3da(0x222),'configStep3':_0x58a3da(0x365),'sessionId':_0x58a3da(0x1cc),'sessionIdDescription':_0x58a3da(0x26b),'authorizationDescription':_0x58a3da(0x297),'configParameters':_0x58a3da(0x235),'maxRetries':_0x58a3da(0x32c),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x58a3da(0x220),'note2':_0x58a3da(0x274),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x58a3da(0x1e9),'apiApplyInfo':{'title':_0x58a3da(0x200),'description':_0x58a3da(0x296),'univerAiLabel':_0x58a3da(0x356),'getStarted':_0x58a3da(0x277)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x58a3da(0x291),'invalidConfig':_0x58a3da(0x241),'invalidApiKey':_0x58a3da(0x27a)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x58a3da(0x1ff),'connected':_0x58a3da(0x328),'failed':_0x58a3da(0x2a2),'retrying':_0x58a3da(0x2a0)},'connectionError':{'missingApiKey':_0x58a3da(0x35f),'invalidApiKey':_0x58a3da(0x345),'sessionOccupied':_0x58a3da(0x206),'networkError':_0x58a3da(0x2af),'maxRetriesExceeded':_0x58a3da(0x316)}}},_0x4dc98a={'mcpStatus':{'disconnected':_0x58a3da(0x35c),'connecting':_0x58a3da(0x331),'connected':_0x58a3da(0x272),'failed':_0x58a3da(0x225),'retrying':_0x58a3da(0x2ae),'unknown':'MCP\x20状态未知','missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':_0x58a3da(0x270),'networkError':_0x58a3da(0x2e3),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x58a3da(0x32d),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x58a3da(0x315),'description':_0x58a3da(0x285),'apiKey':_0x58a3da(0x2b9),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x58a3da(0x361),'enableAuth':_0x58a3da(0x33c),'enableAuthHint':_0x58a3da(0x252),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x58a3da(0x28f),'configStepTitle':_0x58a3da(0x244),'configStep1':_0x58a3da(0x357),'configStep2':_0x58a3da(0x264),'configStep3':_0x58a3da(0x1ec),'sessionId':_0x58a3da(0x204),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x58a3da(0x2c5),'saving':_0x58a3da(0x2a8),'note1':_0x58a3da(0x201),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x58a3da(0x2b5),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x58a3da(0x2a6),'getStarted':_0x58a3da(0x324)},'validation':{'apiKeyRequired':_0x58a3da(0x360),'apiKeyTooShort':_0x58a3da(0x281),'invalidConfig':_0x58a3da(0x334),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x58a3da(0x248),'connecting':_0x58a3da(0x2d3),'connected':_0x58a3da(0x212),'failed':_0x58a3da(0x2f8),'retrying':'重连中...'},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x58a3da(0x216),'sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x58a3da(0x209),'maxRetriesExceeded':_0x58a3da(0x203)}}};var _0x487105=Object['defineProperty'],_0x3451d8=Object[_0x58a3da(0x26c)],_0x55c565=(_0x1fb74f,_0x119c24,_0x4e0761)=>_0x119c24 in _0x1fb74f?_0x487105(_0x1fb74f,_0x119c24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e0761}):_0x1fb74f[_0x119c24]=_0x4e0761,_0x436025=(_0x545747,_0x596d9d,_0x4af6ca,_0x19450e)=>{var _0x5c75d9=_0x58a3da;for(var _0x454370=_0x19450e>0x1?void 0x0:_0x19450e?_0x3451d8(_0x596d9d,_0x4af6ca):_0x596d9d,_0x5092a1=_0x545747[_0x5c75d9(0x1eb)]-0x1,_0x5ece92;_0x5092a1>=0x0;_0x5092a1--)(_0x5ece92=_0x545747[_0x5092a1])&&(_0x454370=_0x5ece92(_0x454370)||_0x454370);return _0x454370;},_0x512909=(_0x2105db,_0x393587)=>(_0x35c748,_0x3d8e63)=>_0x393587(_0x35c748,_0x3d8e63,_0x2105db),_0x3cf98a=(_0x2d4257,_0x1a23f2,_0x314e7c)=>_0x55c565(_0x2d4257,_0x1a23f2+'',_0x314e7c);_0x4300b4[_0x58a3da(0x2e9)]=class extends _0x4d4771[_0x58a3da(0x221)]{constructor(_0xb0610c=_0x59830d,_0x3ce923,_0x559c79,_0xc4d0b,_0x39d70f,_0x5144fc){var _0x3d2be2=_0x58a3da;super(),this[_0x3d2be2(0x302)]=_0xb0610c,this[_0x3d2be2(0x2fa)]=_0x3ce923,this[_0x3d2be2(0x2a5)]=_0x559c79,this[_0x3d2be2(0x289)]=_0xc4d0b,this[_0x3d2be2(0x2cc)]=_0x39d70f,this[_0x3d2be2(0x2f0)]=_0x5144fc;const {..._0x5a6242}=_0x4d4771['merge']({},_0x59830d,this[_0x3d2be2(0x302)]);this['_configService'][_0x3d2be2(0x288)](_0x245960,_0x5a6242);}async['onStarting'](){var _0x498644=_0x58a3da;const _0x10dfe7=[[_0x4300b4[_0x498644(0x279)]],[_0x4300b4[_0x498644(0x29e)]],[_0x4300b4[_0x498644(0x275)]]];this[_0x498644(0x2fa)]['has'](_0x51d722[_0x498644(0x306)])||_0x10dfe7[_0x498644(0x2de)]([_0x51d722[_0x498644(0x306)],{'useClass':_0x51d722[_0x498644(0x311)]}]),_0x10dfe7[_0x498644(0x28b)](_0x26df96=>this[_0x498644(0x2fa)][_0x498644(0x266)](_0x26df96)),this[_0x498644(0x2fa)][_0x498644(0x2dc)](_0x4300b4['MCPConnectionUIController']),this[_0x498644(0x2fa)][_0x498644(0x2dc)](_0x4300b4[_0x498644(0x29e)]),this[_0x498644(0x2fa)][_0x498644(0x2dc)](_0x4300b4['MCPUIMenuController']);}},_0x3cf98a(_0x4300b4['UniverMCPUIPlugin'],_0x58a3da(0x2cb),_0x58a3da(0x20c)),_0x4300b4[_0x58a3da(0x2e9)]=_0x436025([_0x4d4771['DependentOn'](_0x33a4b2[_0x58a3da(0x303)]),_0x512909(0x1,_0x4d4771[_0x58a3da(0x24c)](_0x4d4771[_0x58a3da(0x1db)])),_0x512909(0x2,_0x4d4771[_0x58a3da(0x30c)]),_0x512909(0x3,_0x839c43[_0x58a3da(0x323)]),_0x512909(0x4,_0x4d4771[_0x58a3da(0x24d)]),_0x512909(0x5,_0x4d4771[_0x58a3da(0x24c)](_0x4d4771[_0x58a3da(0x1ef)]))],_0x4300b4[_0x58a3da(0x2e9)]),_0x4300b4[_0x58a3da(0x233)]=_0x21aca9,_0x4300b4['MCPStatusDisplay']=_0x5103fe,_0x4300b4['OpenMCPConfigPanelCommand']=_0x2a6189,_0x4300b4[_0x58a3da(0x33a)]=_0x29bca3,_0x4300b4[_0x58a3da(0x1fd)]=_0x4dc98a,Object[_0x58a3da(0x30f)](_0x4300b4,Symbol[_0x58a3da(0x1e2)],{'value':_0x58a3da(0x22a)});}));function _0x5ed1(_0x50e347,_0x2a45ed){var _0x5c9d49=_0x5c9d();return _0x5ed1=function(_0x5ed15f,_0x1d4d1a){_0x5ed15f=_0x5ed15f-0x1cc;var _0x3a0f22=_0x5c9d49[_0x5ed15f];return _0x3a0f22;},_0x5ed1(_0x50e347,_0x2a45ed);}function _0x5c9d(){var _0x7fcaf9=['div','mask','useObservable','MCP\x20重连中...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','none','univer-space-y-5','mcpStatus.maxRetriesExceeded','univer-bg-gray-500','BuiltInUIPart','配置保存失败','evenodd','MCP:\x20API\x20Key\x20Missing','mcpStatus.connected','API\x20密钥','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','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','univer-text-blue-600','mcpConfig.validation.apiKeyRequired','value','showDeveloperTools','MAX_RETRIES_EXCEEDED','MCPConnectionController','string','HEADER_MENU','Button','保存配置','xlink:href','_validateConfig','UniverIcon','getConfig','univer-space-y-4','pluginName','_localStorageService','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','extend','toString','validateApiKey','_componentManager','_apiKey$','连接中...','RETRYING','mcpStatus.invalidApiKey','univer-min-w-0\x20univer-flex-1','className','mcpConfig.configError','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','489inOURC','displayName','get','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','push','map','mcpConfig.apiKeyPlaceholder','mcpConfig.sessionIdDescription','_blank','MCP:\x20网络错误','on-line-icon','enableAutoConnect','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','propertyIsEnumerable','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','UniverMCPUIPlugin','OffLineIcon','4834656MUWvXj','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_logService','@univerjs-pro/mcp','error','_localeService','MCP\x20Retrying...','open','react/jsx-runtime','currentColor','9WUxOFT','mcpConfig.apiApplyInfo.univerAiLabel','rxjs','连接失败','univer-text-white','_injector','useState','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-items-start\x20univer-gap-3','univer-space-y-3','mcpStatus.sessionOccupied','Enter\x20your\x20API\x20key','univer-flex\x20univer-items-center\x20univer-gap-3','_config','UniverMCPPlugin','_createConfigPanelComponent','random','ISocketService','show','clsx','mcpConfig.configStepTitle','M5.21243\x2012.287L11.8791\x205.62036','@univerjs/design','IConfigService','connectionStatus$','mcpStatus.unknown','defineProperty','MCP:\x20Session\x20Occupied','WebSocketService','mcpStatus.clickToConfigure','round','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','MCP\x20配置','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','object','_config$','univer-flex-shrink-0\x20univer-text-red-500','mcpConfig.saving','1134898VBskrI','30yIffsh','removeItem','registerCommand','_initStatusComponent','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-bg-blue-500','assign','IUIPartsService','几秒钟内获取您的\x20API\x20密钥','javascript:void(0)','idSuffix','M0\x200H16V16H0z','Connected','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','replace','mcpConfig.connectionError.networkError','Max\x20Retries','点击连接\x20MCP','univer-bg-red-500','symbol','showConfigPanel','MCP\x20连接中...','mcp-ui.config','univer-text-xs\x20univer-text-gray-500','配置无效','white','getOwnPropertySymbols','mcp-config-dialog','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','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','enUS','1YMBcce','启用身份验证','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','NETWORK_ERROR','mcpConfig.apiApplyInfo.title','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_handleConfigSave','useCallback','defIds','_loadStoredApiKey','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','path','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCP_PLUGIN_CONFIG_KEY','useRef','mcpConfig.connectionStatus.disconnected','https://console.univer.plus','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','indexOf','ILogService','close','registerComponent','univer.plus','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Success','Authorization:','632137AcYwPq','Univer\x20AI\x20Console','复制以下\x20JSON\x20配置','mcpConfig.apiKeyHint','_menuManagerService','subscribeConfigValue$','mcpConfig.apiApplyInfo.getStarted','MCP\x20已断开','next','mcpConfig.save','API\x20key\x20is\x20required\x20to\x20connect','API\x20密钥不能为空','您的\x20API\x20密钥将在此浏览器中本地存储','FAILED','univer-text-sm\x20univer-text-gray-500','isValid','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','HelpSingle','\x20-\x20','hover:univer-opacity-80','Session\x20ID','{\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=','13505040PYMfnb','_loading$','BUTTON','MenuIcon','0\x200\x2017\x2016','text','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','url(#off-line-icon_clip0_910_343)','BehaviorSubject','_mcpConnectionController','1964wgEKlh','substring','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Injector','_registerComponent','apiKey','0\x200\x2016\x2016','_initializeCommands','Click\x20to\x20configure\x20MCP','call','toStringTag','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','setItem','MCP:\x20Max\x20Retries\x20Exceeded','ComponentManager','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','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','Failed\x20to\x20save\x20configuration','MessageType','length','重启您的\x20MCP\x20客户端以使配置生效','span','CONNECTED','LocaleService','Bearer\x20','trim','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','ICommandService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','prototype','CommandType','univer-text-gray-500','1em','attrs','univer-font-medium','subscribe','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','zhCN','mcpStatus.networkError','Connecting...','What\x20is\x20API\x20Key?','配置更改将立即生效','useDependency','超出最大重试次数,请稍后再试','会话ID','mcpConfig.configStep3','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','INVALID_API_KEY','_dialogService','网络连接错误,请检查您的网络连接','MCPConnectionError','OTHERS','MCP_UI_PLUGIN','univer-text-xs\x20univer-text-gray-600','50lDyNRm','Error','@univerjs/ui','OnLineIcon','已连接','amd','entries','MCPConnectionStatus','API\x20密钥无效,请检查您的密钥后重试','React','UniverUi','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpConfig.apiKey','jsxs','url(#$1','mcpConfig.title','univer-flex-1','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Plugin','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','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','fill','MCP\x20连接失败','svg','forwardRef','MCP\x20Client\x20Configuration','CheckMarkIcon','Module','mcpConfig.connectionStatus.retrying','react','MCP:\x20Invalid\x20API\x20Key','Tooltip','CloseSmallSingle','mcpConfig.note1','_commandService','@univerjs/core','MCPConfigPanel','mcpConfig.connectionStatus.connecting','Configuration\x20Parameters:','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','close-small-single','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','sessionId$','tag','CONNECTING','\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','errorMessage','https://console.univer.ai','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Invalid\x20configuration','concat','COMMAND','配置步骤:','SESSION_ID_OCCUPIED','mcpConfig.configSaved','mcpStatus.clickToConnect','未连接','colorChannel1','IDialogService','children','Inject','ILocalStorageService','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','mcp.apiKey','_messageService','MCP\x20Connection\x20Failed','启用身份验证以获得安全连接','univer-flex\x20univer-cursor-pointer\x20univer-items-center','mcpConfig.validation.invalidConfig','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Enable\x20Authentication','createElement','univer-space-y-2','2102525nFUnlB','noopener\x20noreferrer','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','NONE','_mcpCoreConfig$','disposeWithMe','includes','mcpServerUrl','_connectionController','mcpStatus.connecting','1071791iNhsxD','将配置添加到您的\x20MCP\x20客户端设置文件中','mergeMenu','add','jsx','API\x20Key','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCP\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','getOwnPropertyDescriptor','mcpConfig.apiApplyInfo.description','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','MCP:\x20会话被占用','UniverProMcpUi','MCP\x20已连接','check-mark-icon','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCPUIMenuController','_handleConfigure','Get\x20your\x20API\x20key\x20in\x20seconds','bottom','MCPConnectionUIController','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-flex-shrink-0\x20univer-text-blue-500','Copy\x20the\x20JSON\x20configuration\x20below','univer-flex\x20univer-items-start\x20univer-gap-2','clipPath','MCP:\x20Network\x20Error','mcpConfig.connectionStatus.failed','API\x20密钥长度至少需要\x2010\x20位','Disposable','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcpConfig.configParameters','配置\x20MCP\x20使用\x20AI\x20操作电子表格','UniverProMcp','connectionError$','setConfig','_uiPartsService','use','forEach','defs','apply','univer-text-red-500','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-text-sm\x20univer-font-medium','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','http://www.w3.org/2000/svg','IMenuManagerService','DISCONNECTED','univer-text-yellow-500','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20with\x20Bearer\x20prefix.','univer-mr-2\x20univer-flex\x20univer-text-xl','__setCustomHeaders','off','MCP\x20Unknown\x20Status','univer.ai','mcpConfig.connectionError.maxRetriesExceeded','MCPConfigUIController','off-line-icon_clip0_910_343','Retrying...','_initConfigSync','Connection\x20Failed','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.connectionInfo','_configService','Univer\x20AI\x20控制台','connectInjector','保存中...','mcpConfig.configStep2','univer-flex\x20univer-gap-3'];_0x5c9d=function(){return _0x7fcaf9;};return _0x5c9d();}
1
+ function _0x3f44(_0x5275d2,_0x415d10){var _0x67c866=_0x67c8();return _0x3f44=function(_0x3f44d4,_0x1fb197){_0x3f44d4=_0x3f44d4-0x7d;var _0x4b2ffc=_0x67c866[_0x3f44d4];return _0x4b2ffc;},_0x3f44(_0x5275d2,_0x415d10);}function _0x67c8(){var _0x2b22ca=['已连接','重启您的\x20MCP\x20客户端以使配置生效','_loading$','启用身份验证','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpStatus.networkError','univer-text-sm\x20univer-text-gray-500','mcpConfig.note2','\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','@univerjs/design','push','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','M5.21243\x205.62036L11.8791\x2012.287','MAX_RETRIES_EXCEEDED','MCP\x20Connecting...','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-space-y-3','DependentOn','_config$','mcpConfig.apiKey','translate(.97)','current','您的\x20API\x20密钥安全存储在本地存储中','带有\x20Bearer\x20前缀的\x20API\x20密钥。','CheckMarkIcon','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','ISocketService','什么是\x20API\x20密钥?','defIds','open','enableAutoConnect','配置\x20MCP\x20使用\x20AI\x20操作电子表格','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-text-gray-400','toStringTag','idSuffix','hasOwnProperty','propertyIsEnumerable','MCP\x20配置','Configuration\x20Steps:','0\x200\x2016\x2016','@univerjs-pro/mcp','evenodd','univer-flex\x20univer-flex-wrap\x20univer-gap-2','网络连接错误,请检查您的网络连接','removeItem','MCPUIMenuController','mcpConfig.connectionError.maxRetriesExceeded','_initializeMenus','NETWORK_ERROR','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','连接中...','<API_KEY>','mcpStatus.clickToConnect','mcpConfig.save','MCP:\x20Max\x20Retries\x20Exceeded','next','univer-text-xs\x20univer-text-gray-500','registerCommand','Click\x20to\x20connect\x20MCP','mcpConfig.configError','mcpConfig.description','className','bottom','univer-space-y-2','BehaviorSubject','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcpConfig.apiApplyInfo.univerAiLabel','univer-bg-red-500','_uiPartsService','IUIPartsService','function','univer-font-medium','mcpStatus.clickToConfigure','off-line-icon','tag','mcpStatus.unknown','univer-flex\x20univer-items-center\x20univer-gap-2','showDeveloperTools','_messageService','_dialogService','IConfigService','mcp.apiKey','SESSION_ID_OCCUPIED','WebSocketService','MCP\x20Disconnected','univer-text-red-500','indexOf','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','label','path','clipPath','_initializeCommands','round','Plugin','mcpConfig.connectionStatus.failed','_commandService','validateApiKey','connectionStatus$','mcpStatus.failed','onStarting','MCP:\x20网络错误','attrs','MCP_PLUGIN_CONFIG_KEY','isValid','subscribe','_createConfigPanelComponent','MCP\x20Unknown\x20Status','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','showConfigPanel','CloseSmallSingle','MCP\x20重连中...','MCP:\x20缺少\x20API\x20密钥','API\x20密钥无效,请检查密钥是否正确','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','univer-bg-blue-500','apiKey','entries','svg','map','API\x20key\x20is\x20required\x20to\x20connect','on-line-icon','_menuManagerService','includes','Saving...','OffLineIcon','25gsNyyt','univer.plus','UniverIcon','5399464DGJkky','currentColor','mcpConfig.title','mcp-ui.command.openConfigPanel','MCP\x20客户端配置','API\x20key\x20is\x20required','_localeService','MenuIcon','将配置添加到您的\x20MCP\x20客户端设置文件中','getOwnPropertyDescriptor','MCPConfigUIController','mcp-ui.config','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','_initStatusComponent','配置步骤:','启用身份验证以获得安全连接','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Inject','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','univerjs-icon\x20univerjs-icon-','0\x200\x2017\x2017','useRef','mcpConfig.configStep1','MCP:\x20Network\x20Error','MCP\x20连接中...','MCP:\x20API\x20Key\x20Missing','Configuration\x20Parameters:','url(#on-line-icon_clip0_910_349)','replace','useObservable','prototype','children','Injector','点击配置\x20MCP','ILogService','has','mcpStatus.invalidApiKey','forwardRef','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-bg-gray-500','mcpConfig.apiApplyInfo.title','Configuration\x20Notes:','assign','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','span','1em','BUTTON','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','258979oAUYhy','配置保存失败','UniverCore','UniverMCPPlugin','Configuration\x20saved\x20successfully','UniverNetwork','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','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','2jFFjAZ','Disposable','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-min-w-0\x20univer-flex-1','useDependency','几秒钟内获取您的\x20API\x20密钥','mcpConfig.validation.invalidApiKey','fill','UniverDesign','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','Close','MCP\x20Retrying...','MCP:\x20无效的\x20API\x20密钥','INVALID_API_KEY','univer-text-xs\x20univer-text-gray-600','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','add','M0\x200H16V16H0z','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-text-yellow-500','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Connected','forEach','mcpConfig.validation.apiKeyRequired','_config','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20已断开','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','warn','none','HEADER_MENU','M5.21243\x2012.287L11.8791\x205.62036','on-line-icon_clip0_910_349','MCP\x20Configuration','UniverProMcp','object','Tooltip','mcpConfig.connectionError.sessionOccupied','url(#off-line-icon_clip0_910_343)','配置无效','mask','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','@univerjs/ui','MCPConnectionUIController','univer-flex\x20univer-items-start\x20univer-gap-3','univer_session_id:','string','trim','url(#$1','Button','univer-bg-green-500','value','Connecting...','DISCONNECTED','mcpStatus.maxRetriesExceeded','Success','_handleConfigure','use','Input','MCPConnectionController','show','defs','MCPConfigPanel','Invalid\x20configuration','重连中...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20密钥','会话当前被占用,请稍后再试','Max\x20Retries','Bearer\x20','What\x20is\x20API\x20Key?','CONNECTED','mcp-config-dialog','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpConfig.apiApplyInfo.getStarted','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','_mcpCoreConfig$','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','disposeWithMe','univer-text-gray-500','HelpSingle','Enable\x20authentication\x20for\x20secure\x20connections','__setCustomHeaders','call','length','univer-flex\x20univer-items-center\x20univer-gap-3','univer-flex\x20univer-gap-3','153880kRvJZB','colorChannel1','mcpConfig.apiApplyInfo.description','配置保存成功','Connection\x20Failed','Retrying...','NONE','MessageType','getItem','univer-text-sm\x20univer-font-medium','mcpConfig.sessionIdDescription','Save\x20Configuration','amd','Enable\x20Authentication','mcpConfig.validation.invalidConfig','配置参数:','_injector','_apiKey$','mcpServerUrl','mcpConfig.configParameters','mcpConfig.authorizationDescription','5942655oHYRqN','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','ICommandService','150OANlUB','defineProperty','CONNECTING','close','createElement','_registerComponent','_connectionController','http://www.w3.org/2000/svg','请输入您的\x20API\x20密钥','RETRYING','error','_loadStoredApiKey','MCP:\x20超出最大重试次数','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','getOwnPropertySymbols','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','714764ubylXQ','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-space-y-4','displayName','Error','配置更改将立即生效','Univer\x20AI\x20Console','\x20-\x20','4504490ZkKHRc','RibbonStartGroup','javascript:void(0)','ILocalStorageService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','zhCN','超出最大重试次数,请稍后再试','toString','connectInjector','text','get','https://console.univer.plus','noopener\x20noreferrer','mcpConfig.saving','Enter\x20your\x20API\x20key','useCallback','univer-flex-shrink-0\x20univer-text-blue-500','COMMAND','_mcpConnectionController','hover:univer-opacity-80','mcpStatus.sessionOccupied','univer-text-blue-600','clsx','Univer\x20AI\x20控制台','_logService','_initConfigSync','icon','xlink:href','\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','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','BuiltInUIPart','点击连接\x20MCP','_handleConfigSave','_localStorageService','off-line-icon_clip0_910_343','API\x20密钥不能为空','univer-flex-shrink-0\x20univer-text-red-500','connectionError$','univer-flex\x20univer-cursor-pointer\x20univer-items-center','exports','UniverMCPUIPlugin','help-single','white','连接失败','_componentManager','MCP\x20连接失败','您的\x20API\x20密钥将在此浏览器中本地存储','pre','div','MCP\x20已连接','extend','_configService','@univerjs/core','getConfig','concat','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP_UI_PLUGIN','close-small-single','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','setItem','react','MCP:\x20会话被占用','univer-text-green-500','\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','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','univer-text-white','OTHERS','MCP\x20Connection\x20Failed','Failed\x20to\x20save\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20configure\x20MCP','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','FAILED','symbol','Disconnected','2259921izTJby','setConfig','useState','MCPConnectionError','会话ID','substring','_validateConfig','MCP\x20Client\x20Configuration','mcpConfig.connectionStatus.connecting','subscribeConfigValue$','jsxs','mcpStatus.retrying','mcpConfig.configSaved','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','MCPConnectionStatus','保存中...','mcpStatus.disconnected','enUS','jsx','apply'];_0x67c8=function(){return _0x2b22ca;};return _0x67c8();}(function(_0x587977,_0x438dfd){var _0x1c7c74=_0x3f44,_0x4d46bf=_0x587977();while(!![]){try{var _0xd12a03=-parseInt(_0x1c7c74(0x209))/0x1+parseInt(_0x1c7c74(0x1ae))/0x2*(-parseInt(_0x1c7c74(0xe0))/0x3)+parseInt(_0x1c7c74(0x8d))/0x4*(parseInt(_0x1c7c74(0x173))/0x5)+parseInt(_0x1c7c74(0x7d))/0x6*(parseInt(_0x1c7c74(0x1a6))/0x7)+parseInt(_0x1c7c74(0x176))/0x8+-parseInt(_0x1c7c74(0x21e))/0x9+-parseInt(_0x1c7c74(0x95))/0xa;if(_0xd12a03===_0x438dfd)break;else _0x4d46bf['push'](_0x4d46bf['shift']());}catch(_0x44d12f){_0x4d46bf['push'](_0x4d46bf['shift']());}}}(_0x67c8,0x740f6),function(_0x3dbfaa,_0x1dcb3f){var _0x340668=_0x3f44;typeof exports==_0x340668(0x1d4)&&typeof module<'u'?_0x1dcb3f(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define=='function'&&define[_0x340668(0x215)]?define([_0x340668(0xbc),_0x340668(0xc9),'react/jsx-runtime',_0x340668(0x11d),_0x340668(0xfd),_0x340668(0x1db),'rxjs',_0x340668(0xd1),'@univerjs/network'],_0x1dcb3f):(_0x3dbfaa=typeof globalThis<'u'?globalThis:_0x3dbfaa||self,_0x1dcb3f(_0x3dbfaa['UniverProMcpUi']={},_0x3dbfaa[_0x340668(0x1a8)],_0x3dbfaa['React'],_0x3dbfaa[_0x340668(0x1d3)],_0x3dbfaa[_0x340668(0x1b6)],_0x3dbfaa['UniverUi'],_0x3dbfaa['rxjs'],_0x3dbfaa['React'],_0x3dbfaa[_0x340668(0x1ab)]));}(this,function(_0x2846fb,_0x5ad3c6,_0x47b214,_0x1b42f4,_0x5b29c8,_0x36ce9e,_0x5d1756,_0x365b01,_0x11985f){'use strict';var _0x4ca5c4=_0x3f44;var _0x128178=Object[_0x4ca5c4(0x7e)],_0x384df5=(_0x4b133a,_0x2dd33e,_0x2c1dc4)=>_0x2dd33e in _0x4b133a?_0x128178(_0x4b133a,_0x2dd33e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c1dc4}):_0x4b133a[_0x2dd33e]=_0x2c1dc4,_0x3c16b2=(_0x371119,_0x551fac,_0x362ec8)=>_0x384df5(_0x371119,typeof _0x551fac!=_0x4ca5c4(0xde)?_0x551fac+'':_0x551fac,_0x362ec8),_0x27df4f=function(){var _0x438f81=_0x4ca5c4;return _0x27df4f=Object['assign']||function(_0x12a1b7){var _0x29e6ca=_0x3f44;for(var _0x47c2e4,_0x235a39=0x1,_0x489415=arguments[_0x29e6ca(0x206)];_0x235a39<_0x489415;_0x235a39++){_0x47c2e4=arguments[_0x235a39];for(var _0x45e779 in _0x47c2e4)Object[_0x29e6ca(0x194)][_0x29e6ca(0x118)][_0x29e6ca(0x205)](_0x47c2e4,_0x45e779)&&(_0x12a1b7[_0x45e779]=_0x47c2e4[_0x45e779]);}return _0x12a1b7;},_0x27df4f[_0x438f81(0xf3)](this,arguments);},_0x4a3ffc=function(_0x4c81a7,_0xa0bc52){var _0x94437a=_0x4ca5c4,_0x2d656f={};for(var _0x2a4c67 in _0x4c81a7)Object[_0x94437a(0x194)]['hasOwnProperty'][_0x94437a(0x205)](_0x4c81a7,_0x2a4c67)&&_0xa0bc52[_0x94437a(0x14c)](_0x2a4c67)<0x0&&(_0x2d656f[_0x2a4c67]=_0x4c81a7[_0x2a4c67]);if(_0x4c81a7!=null&&typeof Object[_0x94437a(0x8b)]==_0x94437a(0x13c)){for(var _0x188d77=0x0,_0x2a4c67=Object[_0x94437a(0x8b)](_0x4c81a7);_0x188d77<_0x2a4c67[_0x94437a(0x206)];_0x188d77++)_0xa0bc52[_0x94437a(0x14c)](_0x2a4c67[_0x188d77])<0x0&&Object['prototype'][_0x94437a(0x119)][_0x94437a(0x205)](_0x4c81a7,_0x2a4c67[_0x188d77])&&(_0x2d656f[_0x2a4c67[_0x188d77]]=_0x4c81a7[_0x2a4c67[_0x188d77]]);}return _0x2d656f;},_0xd661c6=_0x365b01[_0x4ca5c4(0x19b)](function(_0x4f9592,_0x44d526){var _0x33f6b6=_0x4ca5c4,_0x54f9f5=_0x4f9592[_0x33f6b6(0xaf)],_0x2be48b=_0x4f9592['id'],_0x194e79=_0x4f9592[_0x33f6b6(0x132)],_0x47455b=_0x4f9592['extend'],_0x4eb723=_0x4a3ffc(_0x4f9592,[_0x33f6b6(0xaf),'id',_0x33f6b6(0x132),_0x33f6b6(0xc7)]),_0x1f55ad=_0x33f6b6(0x189)['concat'](_0x2be48b,'\x20')[_0x33f6b6(0xcb)](_0x194e79||'')[_0x33f6b6(0x1e0)](),_0x5771fc=_0x365b01[_0x33f6b6(0x18b)]('_'[_0x33f6b6(0xcb)](_0xb7d047()));return _0x22220c(_0x54f9f5,''[_0x33f6b6(0xcb)](_0x2be48b),{'defIds':_0x54f9f5[_0x33f6b6(0x110)],'idSuffix':_0x5771fc[_0x33f6b6(0x109)]},_0x27df4f({'ref':_0x44d526,'className':_0x1f55ad},_0x4eb723),_0x47455b);});function _0x22220c(_0x16e81a,_0x108b93,_0x1cff1e,_0x6fd0c,_0x44b228){var _0x5cff1f=_0x4ca5c4;return _0x365b01['createElement'](_0x16e81a[_0x5cff1f(0x140)],_0x27df4f(_0x27df4f({'key':_0x108b93},_0x51b660(_0x16e81a,_0x1cff1e,_0x44b228)),_0x6fd0c),(_0x462a76(_0x16e81a,_0x1cff1e)[_0x5cff1f(0x195)]||[])[_0x5cff1f(0x16c)](function(_0x4f7dfe,_0x239b74){var _0x4a86fc=_0x5cff1f;return _0x22220c(_0x4f7dfe,''[_0x4a86fc(0xcb)](_0x108b93,'-')['concat'](_0x16e81a['tag'],'-')[_0x4a86fc(0xcb)](_0x239b74),_0x1cff1e,void 0x0,_0x44b228);}));}function _0x51b660(_0x29a120,_0x257252,_0x5d9465){var _0x1437c0=_0x4ca5c4,_0x2e3ddb=_0x27df4f({},_0x29a120[_0x1437c0(0x15b)]);_0x5d9465!=null&&_0x5d9465[_0x1437c0(0x20a)]&&_0x2e3ddb[_0x1437c0(0x1b5)]==='colorChannel1'&&(_0x2e3ddb[_0x1437c0(0x1b5)]=_0x5d9465[_0x1437c0(0x20a)]),_0x29a120[_0x1437c0(0x140)]===_0x1437c0(0x1d9)&&_0x2e3ddb['id']&&(_0x2e3ddb['id']=_0x2e3ddb['id']+_0x257252['idSuffix']),Object[_0x1437c0(0x16a)](_0x2e3ddb)[_0x1437c0(0x1c6)](function(_0x1f16df){var _0x245f65=_0x1437c0,_0x1f33b0=_0x1f16df[0x0],_0x1e9e55=_0x1f16df[0x1];_0x1f33b0===_0x245f65(0x1d9)&&typeof _0x1e9e55==_0x245f65(0x1df)&&(_0x2e3ddb[_0x1f33b0]=_0x1e9e55[_0x245f65(0x192)](/url\(#(.*)\)/,_0x245f65(0x1e1)['concat'](_0x257252[_0x245f65(0x117)],')')));});var _0x2cd4c3=_0x257252[_0x1437c0(0x110)];return!_0x2cd4c3||_0x2cd4c3[_0x1437c0(0x206)]===0x0||(_0x29a120[_0x1437c0(0x140)]===_0x1437c0(0x1ea)&&_0x2e3ddb['xlink:href']&&(_0x2e3ddb[_0x1437c0(0xb0)]=_0x2e3ddb[_0x1437c0(0xb0)]+_0x257252[_0x1437c0(0x117)]),Object[_0x1437c0(0x16a)](_0x2e3ddb)[_0x1437c0(0x1c6)](function(_0x270653){var _0x380f47=_0x1437c0,_0x365ad2=_0x270653[0x0],_0x2943e3=_0x270653[0x1];typeof _0x2943e3==_0x380f47(0x1df)&&(_0x2e3ddb[_0x365ad2]=_0x2943e3[_0x380f47(0x192)](/url\(#(.*)\)/,'url(#$1'[_0x380f47(0xcb)](_0x257252['idSuffix'],')')));})),_0x2e3ddb;}function _0x462a76(_0xaccbfd,_0x8f6b59){var _0x408b89=_0x4ca5c4,_0x104fe8,_0xe8f02a=_0x8f6b59[_0x408b89(0x110)];return!_0xe8f02a||_0xe8f02a['length']===0x0?_0xaccbfd:_0xaccbfd['tag']==='defs'&&(!((_0x104fe8=_0xaccbfd[_0x408b89(0x195)])===null||_0x104fe8===void 0x0)&&_0x104fe8[_0x408b89(0x206)])?_0x27df4f(_0x27df4f({},_0xaccbfd),{'children':_0xaccbfd[_0x408b89(0x195)]['map'](function(_0x3b2447){var _0x1d2561=_0x408b89;return typeof _0x3b2447[_0x1d2561(0x15b)]['id']=='string'&&_0xe8f02a&&_0xe8f02a['includes'](_0x3b2447[_0x1d2561(0x15b)]['id'])?_0x27df4f(_0x27df4f({},_0x3b2447),{'attrs':_0x27df4f(_0x27df4f({},_0x3b2447[_0x1d2561(0x15b)]),{'id':_0x3b2447[_0x1d2561(0x15b)]['id']+_0x8f6b59[_0x1d2561(0x117)]})}):_0x3b2447;})}):_0xaccbfd;}function _0xb7d047(){var _0x4c6f37=_0x4ca5c4;return Math['random']()[_0x4c6f37(0x9c)](0x24)[_0x4c6f37(0xe5)](0x2,0x8);}_0xd661c6[_0x4ca5c4(0x90)]=_0x4ca5c4(0x175);var _0x5ef502={'tag':_0x4ca5c4(0x16b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ca5c4(0x1ce),'viewBox':'0\x200\x2016\x2016','width':_0x4ca5c4(0x1a3),'height':_0x4ca5c4(0x1a3)},'children':[{'tag':_0x4ca5c4(0x14f),'attrs':{'fill':_0x4ca5c4(0x177),'d':_0x4ca5c4(0x182),'fillRule':_0x4ca5c4(0x11e),'clipRule':_0x4ca5c4(0x11e)}}]},_0x454fe7=_0x365b01[_0x4ca5c4(0x19b)](function(_0x4c807a,_0x29c48d){var _0x4d8abb=_0x4ca5c4;return _0x365b01[_0x4d8abb(0x81)](_0xd661c6,Object[_0x4d8abb(0x1a0)]({},_0x4c807a,{'id':'check-mark-icon','ref':_0x29c48d,'icon':_0x5ef502}));});_0x454fe7[_0x4ca5c4(0x90)]=_0x4ca5c4(0x10c);var _0x454171={'tag':_0x4ca5c4(0x16b),'attrs':{'xmlns':_0x4ca5c4(0x84),'fill':_0x4ca5c4(0x1ce),'viewBox':_0x4ca5c4(0x18a),'width':_0x4ca5c4(0x1a3),'height':'1em'},'children':[{'tag':_0x4ca5c4(0x14f),'attrs':{'stroke':_0x4ca5c4(0x177),'d':_0x4ca5c4(0x100),'strokeLinecap':_0x4ca5c4(0x152),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x4ca5c4(0x14f),'attrs':{'stroke':'currentColor','d':_0x4ca5c4(0x1d0),'strokeLinecap':_0x4ca5c4(0x152),'strokeLinejoin':_0x4ca5c4(0x152),'strokeWidth':1.33}}]},_0x2b5ccd=_0x365b01[_0x4ca5c4(0x19b)](function(_0x1eb111,_0x2cea22){var _0x2b92d4=_0x4ca5c4;return _0x365b01[_0x2b92d4(0x81)](_0xd661c6,Object['assign']({},_0x1eb111,{'id':_0x2b92d4(0xce),'ref':_0x2cea22,'icon':_0x454171}));});_0x2b5ccd[_0x4ca5c4(0x90)]=_0x4ca5c4(0x163);var _0x181256={'tag':_0x4ca5c4(0x16b),'attrs':{'xmlns':_0x4ca5c4(0x84),'fill':_0x4ca5c4(0x1ce),'viewBox':_0x4ca5c4(0x11c),'width':'1em','height':_0x4ca5c4(0x1a3)},'children':[{'tag':_0x4ca5c4(0x14f),'attrs':{'fill':_0x4ca5c4(0x177),'d':_0x4ca5c4(0x21f)}},{'tag':_0x4ca5c4(0x14f),'attrs':{'fill':_0x4ca5c4(0x177),'d':_0x4ca5c4(0x161)}},{'tag':'path','attrs':{'fill':_0x4ca5c4(0x177),'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':_0x4ca5c4(0x11e),'clipRule':'evenodd'}}]},_0x8837e1=_0x365b01[_0x4ca5c4(0x19b)](function(_0x153856,_0x55d630){var _0x1afe82=_0x4ca5c4;return _0x365b01[_0x1afe82(0x81)](_0xd661c6,Object[_0x1afe82(0x1a0)]({},_0x153856,{'id':_0x1afe82(0xbe),'ref':_0x55d630,'icon':_0x181256}));});_0x8837e1[_0x4ca5c4(0x90)]=_0x4ca5c4(0x202);var _0x47d039={'tag':_0x4ca5c4(0x16b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ca5c4(0x1ce),'viewBox':_0x4ca5c4(0x11c),'width':_0x4ca5c4(0x1a3),'height':_0x4ca5c4(0x1a3)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ca5c4(0x1d7)},'children':[{'tag':_0x4ca5c4(0x14f),'attrs':{'stroke':_0x4ca5c4(0x177),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4ca5c4(0x1ee),'attrs':{},'children':[{'tag':_0x4ca5c4(0x150),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x4ca5c4(0x14f),'attrs':{'fill':_0x4ca5c4(0xbf),'d':_0x4ca5c4(0x1c0)}}]}]}],'defIds':[_0x4ca5c4(0xb7)]},_0x127d51=_0x365b01[_0x4ca5c4(0x19b)](function(_0x1aea94,_0x14dc7a){var _0x52bd83=_0x4ca5c4;return _0x365b01[_0x52bd83(0x81)](_0xd661c6,Object[_0x52bd83(0x1a0)]({},_0x1aea94,{'id':_0x52bd83(0x13f),'ref':_0x14dc7a,'icon':_0x47d039}));});_0x127d51['displayName']=_0x4ca5c4(0x172);var _0x57f239={'tag':_0x4ca5c4(0x16b),'attrs':{'xmlns':_0x4ca5c4(0x84),'fill':_0x4ca5c4(0x1ce),'viewBox':'0\x200\x2017\x2016','width':_0x4ca5c4(0x1a3),'height':_0x4ca5c4(0x1a3)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ca5c4(0x191)},'children':[{'tag':_0x4ca5c4(0x14f),'attrs':{'stroke':_0x4ca5c4(0x177),'d':_0x4ca5c4(0x188),'strokeLinecap':_0x4ca5c4(0x152),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4ca5c4(0x1ee),'attrs':{},'children':[{'tag':_0x4ca5c4(0x150),'attrs':{'id':_0x4ca5c4(0x1d1)},'children':[{'tag':_0x4ca5c4(0x14f),'attrs':{'fill':_0x4ca5c4(0xbf),'d':'M0\x200H16V16H0z','transform':_0x4ca5c4(0x108)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x54b607=_0x365b01[_0x4ca5c4(0x19b)](function(_0x352872,_0x2dfdcf){var _0x4debe2=_0x4ca5c4;return _0x365b01[_0x4debe2(0x81)](_0xd661c6,Object[_0x4debe2(0x1a0)]({},_0x352872,{'id':_0x4debe2(0x16e),'ref':_0x2dfdcf,'icon':_0x57f239}));});_0x54b607[_0x4ca5c4(0x90)]='OnLineIcon';function _0x232065(_0x33e76d){var _0x4447ad=_0x4ca5c4,_0x55757e,_0x38169d;const {mcpCoreConfig:_0x5ee83c,onSave:_0x9efa5b,loading:_0x175b4f=!0x1,config:_0x36ab2b,connectionStatus$:_0x3bf274,connectionError$:_0x12d7bf,currentApiKey$:_0x5d9451,currentSessionId$:_0x51dc79}=_0x33e76d,_0x5d6152=_0x36ce9e[_0x4447ad(0x1b2)](_0x5ad3c6['LocaleService']),_0x37ac86=_0x36ce9e[_0x4447ad(0x193)](_0x3bf274,_0x1b42f4[_0x4447ad(0xee)][_0x4447ad(0x1e6)]),_0x33c400=_0x36ce9e[_0x4447ad(0x193)](_0x12d7bf,_0x1b42f4[_0x4447ad(0xe3)][_0x4447ad(0x20f)]),_0x45d0f5=_0x36ce9e[_0x4447ad(0x193)](_0x51dc79,''),_0xdc2216=_0x36ce9e[_0x4447ad(0x193)](_0x5d9451,''),[_0x454560,_0x3cb9a0]=_0x365b01[_0x4447ad(0xe2)](_0xdc2216||''),_0x420bde=!0x0,_0xadf7b6=_0x36ab2b[_0x4447ad(0x143)]&&_0x5ee83c[_0x4447ad(0x21b)]&&(_0x5ee83c[_0x4447ad(0x21b)][_0x4447ad(0x170)](_0x4447ad(0x174))||_0x5ee83c['mcpServerUrl']['includes']('univer.ai')),_0x44fa68=(_0x55757e=_0x5ee83c[_0x4447ad(0x21b)])==null?void 0x0:_0x55757e[_0x4447ad(0x170)](_0x4447ad(0x174)),_0x345a17=(_0x38169d=_0x5ee83c[_0x4447ad(0x21b)])==null?void 0x0:_0x38169d[_0x4447ad(0x170)]('univer.ai'),_0x5f292a=_0x44fa68?_0x4447ad(0xa0):'https://console.univer.ai',_0x3d041e=_0x36ab2b[_0x4447ad(0x143)]&&(_0x44fa68||_0x345a17),[_0x2c740e,_0x142dd9]=_0x365b01[_0x4447ad(0xe2)](!_0x454560[_0x4447ad(0x1e0)]()),_0x1b31e8=(_0xbbf7e3,_0x5e23e3)=>{var _0x5bd9fd=_0x4447ad;if(_0x5e23e3===_0x1b42f4[_0x5bd9fd(0xe3)][_0x5bd9fd(0x1bb)])return _0x5bd9fd(0xff);switch(_0xbbf7e3){case _0x1b42f4['MCPConnectionStatus'][_0x5bd9fd(0x1f8)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x1b42f4[_0x5bd9fd(0xee)][_0x5bd9fd(0x7f)]:case _0x1b42f4[_0x5bd9fd(0xee)]['RETRYING']:return _0x5bd9fd(0x8a);case _0x1b42f4['MCPConnectionStatus'][_0x5bd9fd(0xdd)]:return _0x5bd9fd(0xff);default:return _0x5bd9fd(0x103);}},_0x5aeb63=(_0x11d62a,_0x1bbbb1)=>{var _0x13e679=_0x4447ad;if(_0x1bbbb1===_0x1b42f4[_0x13e679(0xe3)]['INVALID_API_KEY'])return'univer-bg-red-500';switch(_0x11d62a){case _0x1b42f4[_0x13e679(0xee)][_0x13e679(0x1f8)]:return _0x13e679(0x1e3);case _0x1b42f4['MCPConnectionStatus'][_0x13e679(0x7f)]:case _0x1b42f4[_0x13e679(0xee)]['RETRYING']:return _0x13e679(0x168);case _0x1b42f4[_0x13e679(0xee)][_0x13e679(0xdd)]:return _0x13e679(0x139);default:return _0x13e679(0x19d);}},_0x35fbc9=_0x3381a0=>{var _0x5dd386=_0x4447ad;switch(_0x3381a0){case _0x1b42f4[_0x5dd386(0xee)][_0x5dd386(0x1f8)]:return _0x5d6152['t']('mcpConfig.connectionStatus.connected');case _0x1b42f4[_0x5dd386(0xee)][_0x5dd386(0x7f)]:return _0x5d6152['t'](_0x5dd386(0xe8));case _0x1b42f4[_0x5dd386(0xee)][_0x5dd386(0xdd)]:return _0x5d6152['t'](_0x5dd386(0x154));case _0x1b42f4[_0x5dd386(0xee)]['RETRYING']:return _0x5d6152['t']('mcpConfig.connectionStatus.retrying');default:return _0x5d6152['t']('mcpConfig.connectionStatus.disconnected');}},_0x50765e=_0x1c6f6a=>{var _0x2fa3ba=_0x4447ad;switch(_0x1c6f6a){case _0x1b42f4[_0x2fa3ba(0xe3)][_0x2fa3ba(0x1bb)]:return _0x5d6152['t']('mcpConfig.connectionError.invalidApiKey');case _0x1b42f4[_0x2fa3ba(0xe3)][_0x2fa3ba(0x148)]:return _0x5d6152['t'](_0x2fa3ba(0x1d6));case _0x1b42f4[_0x2fa3ba(0xe3)][_0x2fa3ba(0x125)]:return _0x5d6152['t']('mcpConfig.connectionError.networkError');case _0x1b42f4['MCPConnectionError'][_0x2fa3ba(0x101)]:return _0x5d6152['t'](_0x2fa3ba(0x123));default:return'';}},_0x25a297=_0x365b01['useCallback'](()=>{const _0x2567ed={..._0x5ee83c,'apiKey':_0x454560['trim'](),'enableAuth':_0x420bde};_0x9efa5b(_0x2567ed);},[_0x5ee83c,_0x454560,_0x420bde,_0x9efa5b]),_0x37dd3f=_0x454560['trim']()[_0x4447ad(0x206)]>0x0;return _0x47b214['jsxs'](_0x4447ad(0xc5),{'className':_0x4447ad(0x1c2),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0x1c4),'children':_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':_0x4447ad(0x207),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0xdc),'children':_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0x1a2),{'className':_0x4447ad(0xd6),'children':'⚙'})}),_0x47b214[_0x4447ad(0xf2)]('div',{'children':_0x47b214[_0x4447ad(0xf2)]('p',{'className':_0x4447ad(0xfa),'children':_0x5d6152['t'](_0x4447ad(0x131))})})]})}),_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0xed),'children':[_0x47b214['jsx'](_0x4447ad(0xc5),{'className':_0x4447ad(0xb1)+_0x1b31e8(_0x37ac86,_0x33c400)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x142),'children':[_0x47b214[_0x4447ad(0xf2)]('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5aeb63(_0x37ac86,_0x33c400)+_0x4447ad(0xd4)}),_0x47b214['jsx']('span',{'className':_0x4447ad(0x212),'children':_0x35fbc9(_0x37ac86)})]})}),_0x33c400!==_0x1b42f4[_0x4447ad(0xe3)][_0x4447ad(0x20f)]&&(_0x37ac86===_0x1b42f4['MCPConnectionStatus'][_0x4447ad(0xdd)]||_0x33c400===_0x1b42f4[_0x4447ad(0xe3)][_0x4447ad(0x1bb)])&&_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0x1bd),'children':_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0x1a2),{'className':_0x4447ad(0xb9),'children':'⚠️'}),_0x47b214[_0x4447ad(0xf2)]('p',{'className':_0x4447ad(0x99),'children':_0x50765e(_0x33c400)})]})})]}),_0x47b214[_0x4447ad(0xf2)]('div',{'className':_0x4447ad(0x1fc),'children':_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':'univer-space-y-5','children':[_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x134),'children':[_0x47b214[_0x4447ad(0xea)](_0x4447ad(0x14e),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0x1a2),{'children':'🔑'}),'\x20',_0x5d6152['t'](_0x4447ad(0x107)),_0x47b214[_0x4447ad(0xf2)]('span',{'className':'univer-text-red-500','children':'*'}),_0xadf7b6&&_0x47b214[_0x4447ad(0xf2)]('a',{'href':_0x4447ad(0x97),'onClick':()=>_0x142dd9(!0x0),'className':_0x4447ad(0xb2),'title':_0x5d6152['t'](_0x4447ad(0x19e)),'children':_0x47b214[_0x4447ad(0xf2)](_0x8837e1,{})})]}),_0x47b214['jsx'](_0x5b29c8[_0x4447ad(0x1eb)],{'type':_0x4447ad(0x9e),'placeholder':_0x5d6152['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x454560,'onChange':_0x3cb9a0,'disabled':_0x175b4f,'autoComplete':'off'}),_0x47b214[_0x4447ad(0xf2)]('p',{'className':_0x4447ad(0x12d),'children':_0x5d6152['t']('mcpConfig.apiKeyHint')})]}),_0xadf7b6&&_0x2c740e&&_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x1ad),'children':[_0x47b214['jsx']('a',{'href':_0x4447ad(0x97),'onClick':()=>_0x142dd9(!0x1),'className':_0x4447ad(0x14d),'title':_0x4447ad(0x1b8),'children':_0x47b214['jsx'](_0x2b5ccd,{})}),_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x137),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'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':_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0x1a2),{'className':_0x4447ad(0xaa),'children':'🚀'})}),_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':'univer-flex-1','children':[_0x47b214[_0x4447ad(0xf2)]('h4',{'className':_0x4447ad(0x1be),'children':_0x5d6152['t'](_0x4447ad(0x19e))}),_0x47b214[_0x4447ad(0xf2)]('p',{'className':_0x4447ad(0x1cc),'children':_0x5d6152['t'](_0x4447ad(0x20b))}),_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0x11f),'children':_0x3d041e&&_0x47b214[_0x4447ad(0xea)]('a',{'href':_0x5f292a,'target':'_blank','rel':_0x4447ad(0xa1),'className':_0x4447ad(0x136),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0x1a2),{'children':'🤖'}),_0x5d6152['t'](_0x4447ad(0x138)),_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0x1a2),{'className':_0x4447ad(0x115),'children':'↗'})]})}),_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x8e),'children':['✨','\x20',_0x5d6152['t'](_0x4447ad(0x1fb))]})]})]})]}),_0x36ab2b[_0x4447ad(0x143)]&&_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x1ac),'children':[_0x47b214[_0x4447ad(0xea)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x47b214[_0x4447ad(0xf2)]('span',{'children':'🔗'}),'\x20',_0x5d6152['t']('mcpConfig.connectionInfo')]}),_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':_0x4447ad(0x8f),'children':[_0x47b214['jsxs'](_0x4447ad(0xc5),{'className':_0x4447ad(0x104),'children':[_0x47b214['jsx']('p',{'className':_0x4447ad(0x1bc),'children':_0x5d6152['t']('mcpConfig.configInstructions')}),_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':_0x4447ad(0x134),'children':[_0x47b214['jsx'](_0x4447ad(0xc5),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5d6152['t']('mcpConfig.configStepTitle')}),_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':_0x4447ad(0x142),'children':[_0x47b214['jsx'](_0x4447ad(0x1a2),{'className':_0x4447ad(0x1b7),'children':'1'}),_0x5d6152['t'](_0x4447ad(0x18c))]}),_0x47b214['jsxs'](_0x4447ad(0xc5),{'className':_0x4447ad(0x142),'children':[_0x47b214['jsx'](_0x4447ad(0x1a2),{'className':_0x4447ad(0x1b7),'children':'2'}),_0x5d6152['t']('mcpConfig.configStep2')]}),_0x47b214['jsxs'](_0x4447ad(0xc5),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x47b214['jsx'](_0x4447ad(0x1a2),{'className':_0x4447ad(0x1b7),'children':'3'}),_0x5d6152['t']('mcpConfig.configStep3')]})]})]})]}),_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':_0x4447ad(0x134),'children':[_0x47b214['jsx'](_0x4447ad(0xc5),{'className':_0x4447ad(0x8c),'children':_0x4447ad(0x1d2)}),_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0xf8),'children':_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc4),{'className':_0x4447ad(0x186),'children':'{\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='+_0x45d0f5+_0x4447ad(0xfc)+(_0x454560||_0x4447ad(0x128))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),_0x47b214['jsxs'](_0x4447ad(0xc5),{'className':_0x4447ad(0x104),'children':[_0x47b214[_0x4447ad(0xf2)]('div',{'className':_0x4447ad(0x8c),'children':_0x5d6152['t'](_0x4447ad(0x21c))}),_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x134),'children':[_0x47b214['jsxs'](_0x4447ad(0xc5),{'className':_0x4447ad(0x1dd),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0x1b0)}),_0x47b214['jsxs']('div',{'className':_0x4447ad(0x1b1),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0x19c),'children':_0x4447ad(0x1de)}),_0x47b214[_0x4447ad(0xf2)]('div',{'className':_0x4447ad(0x12d),'children':_0x5d6152['t'](_0x4447ad(0x213))})]})]}),_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'className':_0x4447ad(0x1dd),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0x1b0)}),_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x1b1),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0x19c),'children':'Authorization:'}),_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5d6152['t'](_0x4447ad(0x21d))})]})]})]})]})]})]}),_0x47b214[_0x4447ad(0xf2)](_0x5b29c8[_0x4447ad(0x1e2)],{'onClick':_0x25a297,'disabled':!_0x37dd3f||_0x175b4f,'className':_0x4447ad(0x167),'children':_0x175b4f?_0x47b214[_0x4447ad(0xea)]('span',{'className':_0x4447ad(0x142),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0x1a2),{'children':'⟲'}),_0x5d6152['t'](_0x4447ad(0xa2))]}):_0x47b214[_0x4447ad(0xea)](_0x4447ad(0x1a2),{'className':_0x4447ad(0x142),'children':[_0x47b214['jsx'](_0x454fe7,{}),_0x5d6152['t'](_0x4447ad(0x12a))]})}),_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0xc5),{'className':_0x4447ad(0x1c1),'children':_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x208),'children':[_0x47b214[_0x4447ad(0xf2)](_0x4447ad(0x1a2),{'className':_0x4447ad(0xa5),'children':'💡'}),_0x47b214[_0x4447ad(0xea)]('div',{'className':_0x4447ad(0x10d),'children':[_0x47b214[_0x4447ad(0xf2)]('div',{'className':_0x4447ad(0x13d),'children':_0x4447ad(0x19f)}),_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'children':['•',_0x5d6152['t']('mcpConfig.note1')]}),_0x47b214[_0x4447ad(0xea)](_0x4447ad(0xc5),{'children':['•',_0x5d6152['t'](_0x4447ad(0xfb))]})]})]})})]})})]});}const _0x186c18=_0x4ca5c4(0x181),_0x2ea3e8={'showDeveloperTools':!0x1};var _0x35c050=Object[_0x4ca5c4(0x17f)],_0x55e021=(_0x5dea3f,_0x3f106e,_0x5340f5,_0x392ddb)=>{var _0x4dafb9=_0x4ca5c4;for(var _0x67754=_0x392ddb>0x1?void 0x0:_0x392ddb?_0x35c050(_0x3f106e,_0x5340f5):_0x3f106e,_0x39c4d2=_0x5dea3f[_0x4dafb9(0x206)]-0x1,_0xead43f;_0x39c4d2>=0x0;_0x39c4d2--)(_0xead43f=_0x5dea3f[_0x39c4d2])&&(_0x67754=_0xead43f(_0x67754)||_0x67754);return _0x67754;},_0x58fe58=(_0x3f0b7d,_0x2305de)=>(_0x2e84e5,_0x1f622c)=>_0x2305de(_0x2e84e5,_0x1f622c,_0x3f0b7d);const _0x41192f=_0x4ca5c4(0x147),_0x238993=_0x4ca5c4(0x1f9);_0x2846fb[_0x4ca5c4(0x180)]=class extends _0x5ad3c6[_0x4ca5c4(0x1af)]{constructor(_0x29a184,_0xf2b403,_0x276486,_0x66aced,_0xd506c9,_0x4d82c6,_0x4d99ad,_0xd0e8d8,_0x27e901,_0x1e9cf8){var _0x18aa32=_0x4ca5c4;super(),_0x3c16b2(this,_0x18aa32(0xf6),new _0x5d1756[(_0x18aa32(0x135))](!0x1)),_0x3c16b2(this,_0x18aa32(0x1fe),new _0x5d1756['BehaviorSubject']({})),_0x3c16b2(this,_0x18aa32(0x106),new _0x5d1756[(_0x18aa32(0x135))]({})),_0x3c16b2(this,_0x18aa32(0x21a),new _0x5d1756[(_0x18aa32(0x135))]('')),_0x3c16b2(this,_0x18aa32(0xb5),async _0xe41e47=>{var _0x8f3fc9=_0x18aa32,_0x13dc7f,_0x267b69;this[_0x8f3fc9(0xf6)][_0x8f3fc9(0x12c)](!0x0);try{const _0x5104d3=await this[_0x8f3fc9(0xe6)](_0xe41e47);if(!_0x5104d3[_0x8f3fc9(0x15d)]){this['_messageService']['show']({'type':_0x5b29c8[_0x8f3fc9(0x210)][_0x8f3fc9(0x91)],'content':_0x5104d3['errorMessage']||this[_0x8f3fc9(0x17c)]['t'](_0x8f3fc9(0x217))});return;}_0xe41e47[_0x8f3fc9(0x169)]?await this['_localStorageService'][_0x8f3fc9(0xd0)](_0x41192f,_0xe41e47[_0x8f3fc9(0x169)][_0x8f3fc9(0x1e0)]()):await this['_localStorageService'][_0x8f3fc9(0x121)](_0x41192f),this[_0x8f3fc9(0x21a)][_0x8f3fc9(0x12c)](((_0x13dc7f=_0xe41e47[_0x8f3fc9(0x169)])==null?void 0x0:_0x13dc7f[_0x8f3fc9(0x1e0)]())||''),this[_0x8f3fc9(0xa7)][_0x8f3fc9(0x204)]({'Authorization':'Bearer\x20'+((_0x267b69=_0xe41e47['apiKey'])==null?void 0x0:_0x267b69[_0x8f3fc9(0x1e0)]())}),this[_0x8f3fc9(0x144)][_0x8f3fc9(0x1ed)]({'type':_0x5b29c8['MessageType'][_0x8f3fc9(0x1e8)],'content':this[_0x8f3fc9(0x17c)]['t'](_0x8f3fc9(0xec))}),setTimeout(()=>{var _0x390591=_0x8f3fc9;this[_0x390591(0x145)][_0x390591(0x80)](_0x238993);},0x320);}catch(_0x331779){this[_0x8f3fc9(0xad)][_0x8f3fc9(0x87)](_0x8f3fc9(0x1ff),_0x331779),this[_0x8f3fc9(0x144)][_0x8f3fc9(0x1ed)]({'type':_0x5b29c8['MessageType'][_0x8f3fc9(0x91)],'content':this[_0x8f3fc9(0x17c)]['t'](_0x8f3fc9(0x130))});}finally{this[_0x8f3fc9(0xf6)][_0x8f3fc9(0x12c)](!0x1);}}),(this[_0x18aa32(0x219)]=_0x29a184,this['_uiPartsService']=_0xf2b403,this[_0x18aa32(0xc8)]=_0x276486,this[_0x18aa32(0xb6)]=_0x66aced,this[_0x18aa32(0x145)]=_0xd506c9,this['_messageService']=_0x4d82c6,this[_0x18aa32(0xc1)]=_0x4d99ad,this[_0x18aa32(0x17c)]=_0xd0e8d8,this[_0x18aa32(0xad)]=_0x27e901,this[_0x18aa32(0xa7)]=_0x1e9cf8,this[_0x18aa32(0xae)](),this[_0x18aa32(0x88)](),this[_0x18aa32(0x82)]());}['showConfigPanel'](){var _0xcfb40d=_0x4ca5c4;this[_0xcfb40d(0x145)][_0xcfb40d(0x111)]({'id':_0x238993,'title':{'title':this['_localeService']['t'](_0xcfb40d(0x178))},'children':{'label':_0xcfb40d(0x1ef)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x3c9faa=_0xcfb40d;this[_0x3c9faa(0x145)][_0x3c9faa(0x80)](_0x238993);}});}['getCurrentConfig'](){var _0x36c57d=_0x4ca5c4;return this[_0x36c57d(0x1fe)]['value'];}[_0x4ca5c4(0x82)](){var _0x5efafe=_0x4ca5c4;this['disposeWithMe'](this['_componentManager']['register']('MCPConfigPanel',this[_0x5efafe(0x15f)]()));}[_0x4ca5c4(0x15f)](){var _0x16525f=_0x4ca5c4;return _0x36ce9e[_0x16525f(0x9d)](()=>{var _0x555b9c=_0x16525f,_0x518101,_0x55da9f,_0x409844;return _0x47b214['jsx'](_0x232065,{'config':this[_0x555b9c(0x106)][_0x555b9c(0x1e4)],'mcpCoreConfig':this[_0x555b9c(0x1fe)][_0x555b9c(0x1e4)],'currentApiKey$':this[_0x555b9c(0x21a)],'onSave':this['_handleConfigSave'],'loading':this['_loading$'][_0x555b9c(0x1e4)],'connectionStatus$':(_0x518101=this[_0x555b9c(0xa7)])==null?void 0x0:_0x518101[_0x555b9c(0x157)],'connectionError$':(_0x55da9f=this[_0x555b9c(0xa7)])==null?void 0x0:_0x55da9f[_0x555b9c(0xba)],'currentSessionId$':(_0x409844=this[_0x555b9c(0xa7)])==null?void 0x0:_0x409844['sessionId$']});},this[_0x16525f(0x219)]);}[_0x4ca5c4(0xae)](){var _0x5e16e7=_0x4ca5c4;this[_0x5e16e7(0x200)](this[_0x5e16e7(0xc8)][_0x5e16e7(0xe9)](_0x1b42f4[_0x5e16e7(0x15c)])[_0x5e16e7(0x15e)](_0x425a67=>{var _0x88dd6c=_0x5e16e7;this[_0x88dd6c(0x1fe)][_0x88dd6c(0x12c)](_0x425a67||{});}));const _0x2c9e9c=this['_configService'][_0x5e16e7(0xca)](_0x1b42f4['MCP_PLUGIN_CONFIG_KEY']);this[_0x5e16e7(0x1fe)][_0x5e16e7(0x12c)](_0x2c9e9c||{}),this[_0x5e16e7(0x200)](this[_0x5e16e7(0xc8)][_0x5e16e7(0xe9)](_0x186c18)[_0x5e16e7(0x15e)](_0x101eba=>{this['_config$']['next'](_0x101eba||{});}));const _0x5598a6=this[_0x5e16e7(0xc8)][_0x5e16e7(0xca)](_0x186c18);this[_0x5e16e7(0x106)][_0x5e16e7(0x12c)](_0x5598a6||{});}async[_0x4ca5c4(0x88)](){var _0x26584c=_0x4ca5c4;const _0x1f9bb8=await this[_0x26584c(0xb6)][_0x26584c(0x211)](_0x41192f);_0x1f9bb8&&(this[_0x26584c(0xa7)][_0x26584c(0x204)]({'Authorization':_0x26584c(0x1f6)+_0x1f9bb8}),this['_apiKey$'][_0x26584c(0x12c)](_0x1f9bb8));}async[_0x4ca5c4(0xe6)](_0x24d376){var _0x3d58ec=_0x4ca5c4;if(!_0x24d376['apiKey']||_0x24d376[_0x3d58ec(0x169)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x3d58ec(0x1c7))};if(_0x24d376[_0x3d58ec(0x169)]['trim']()[_0x3d58ec(0x206)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3d58ec(0x17c)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x374481=await this[_0x3d58ec(0x219)][_0x3d58ec(0x9f)](_0x1b42f4[_0x3d58ec(0x1ec)])[_0x3d58ec(0x156)](_0x24d376[_0x3d58ec(0x169)][_0x3d58ec(0x1e0)]());return _0x374481[_0x3d58ec(0x15d)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x374481['error']||this[_0x3d58ec(0x17c)]['t'](_0x3d58ec(0x1b4))};}catch(_0x4b3a28){return console[_0x3d58ec(0x1cd)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x4b3a28),{'isValid':!0x0};}}},_0x2846fb[_0x4ca5c4(0x180)]=_0x55e021([_0x58fe58(0x0,_0x5ad3c6[_0x4ca5c4(0x187)](_0x5ad3c6['Injector'])),_0x58fe58(0x1,_0x36ce9e[_0x4ca5c4(0x13b)]),_0x58fe58(0x2,_0x5ad3c6[_0x4ca5c4(0x146)]),_0x58fe58(0x3,_0x5ad3c6[_0x4ca5c4(0x98)]),_0x58fe58(0x4,_0x36ce9e['IDialogService']),_0x58fe58(0x5,_0x36ce9e['IMessageService']),_0x58fe58(0x6,_0x5ad3c6[_0x4ca5c4(0x187)](_0x36ce9e['ComponentManager'])),_0x58fe58(0x7,_0x5ad3c6[_0x4ca5c4(0x187)](_0x5ad3c6['LocaleService'])),_0x58fe58(0x8,_0x5ad3c6[_0x4ca5c4(0x198)]),_0x58fe58(0x9,_0x5ad3c6['Inject'](_0x1b42f4[_0x4ca5c4(0x1ec)]))],_0x2846fb[_0x4ca5c4(0x180)]);const _0x3751cc={'id':_0x4ca5c4(0x179),'type':_0x5ad3c6['CommandType'][_0x4ca5c4(0xa6)],'handler':async(_0x50e223,_0x42ba11)=>(_0x50e223[_0x4ca5c4(0x9f)](_0x2846fb[_0x4ca5c4(0x180)])[_0x4ca5c4(0x162)](),!0x0)};function _0x3bff08(_0x26ddbd,_0x2da5a4){var _0x34f84a=_0x4ca5c4;switch(_0x26ddbd){case _0x1b42f4[_0x34f84a(0xee)][_0x34f84a(0x1e6)]:return _0x34f84a(0xf0);case _0x1b42f4['MCPConnectionStatus'][_0x34f84a(0x7f)]:return'mcpStatus.connecting';case _0x1b42f4[_0x34f84a(0xee)][_0x34f84a(0x1f8)]:return'mcpStatus.connected';case _0x1b42f4[_0x34f84a(0xee)]['FAILED']:switch(_0x2da5a4){case _0x1b42f4[_0x34f84a(0xe3)][_0x34f84a(0x1bb)]:return _0x34f84a(0x19a);case _0x1b42f4[_0x34f84a(0xe3)][_0x34f84a(0x148)]:return _0x34f84a(0xa9);case _0x1b42f4[_0x34f84a(0xe3)][_0x34f84a(0x125)]:return _0x34f84a(0xf9);case _0x1b42f4['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x34f84a(0x1e7);default:return _0x34f84a(0x158);}case _0x1b42f4[_0x34f84a(0xee)]['RETRYING']:return _0x34f84a(0xeb);default:return _0x34f84a(0x141);}}function _0x46ccfc(_0x54876e,_0xba8ae7,_0xd1be97){var _0x3ba4ec=_0x4ca5c4;const _0x3e0525=_0x3bff08(_0x54876e,_0xba8ae7),_0x23ad12=_0xd1be97['t'](_0x3e0525);return _0x54876e===_0x1b42f4['MCPConnectionStatus']['DISCONNECTED']&&_0xba8ae7===_0x1b42f4[_0x3ba4ec(0xe3)][_0x3ba4ec(0x1bb)]?_0x23ad12+_0x3ba4ec(0x94)+_0xd1be97['t'](_0x3ba4ec(0x13e)):_0x54876e===_0x1b42f4['MCPConnectionStatus'][_0x3ba4ec(0x1f8)]?''+_0x23ad12:_0x54876e===_0x1b42f4['MCPConnectionStatus'][_0x3ba4ec(0x1e6)]||_0x54876e===_0x1b42f4[_0x3ba4ec(0xee)]['FAILED']?_0x23ad12+_0x3ba4ec(0x94)+_0xd1be97['t'](_0x3ba4ec(0x129)):_0x23ad12;}function _0x243d59(_0x3e2737){var _0x2e3c84=_0x4ca5c4;switch(_0x3e2737){case _0x1b42f4[_0x2e3c84(0xee)][_0x2e3c84(0x1f8)]:return _0x2e3c84(0xd3);case _0x1b42f4['MCPConnectionStatus'][_0x2e3c84(0x7f)]:case _0x1b42f4[_0x2e3c84(0xee)]['RETRYING']:return _0x2e3c84(0x1c3);case _0x1b42f4[_0x2e3c84(0xee)][_0x2e3c84(0xdd)]:case _0x1b42f4[_0x2e3c84(0xee)][_0x2e3c84(0x1e6)]:return _0x2e3c84(0x14b);default:return _0x2e3c84(0x201);}}function _0x400830(_0x483ab9){var _0x4a83b5=_0x4ca5c4;const {status$:_0x4a843e,error$:_0x3992ba,onConfigure:_0x5431f3}=_0x483ab9,_0x39c82e=_0x36ce9e[_0x4a83b5(0x193)](_0x4a843e,_0x1b42f4[_0x4a83b5(0xee)]['DISCONNECTED']),_0x1a4fe0=_0x36ce9e['useObservable'](_0x3992ba,_0x1b42f4[_0x4a83b5(0xe3)][_0x4a83b5(0x20f)]),_0x2984dc=_0x36ce9e['useDependency'](_0x5ad3c6['LocaleService']),_0x5c1356=_0x39c82e===_0x1b42f4['MCPConnectionStatus']['CONNECTED'],_0x32360c=_0x39c82e===_0x1b42f4[_0x4a83b5(0xee)][_0x4a83b5(0x7f)]||_0x39c82e===_0x1b42f4['MCPConnectionStatus'][_0x4a83b5(0x86)],_0x43a30e=_0x2984dc['t'](_0x3bff08(_0x39c82e,_0x1a4fe0)),_0x3717fb=_0x46ccfc(_0x39c82e,_0x1a4fe0,_0x2984dc),_0x41994e=_0x243d59(_0x39c82e),_0xce4211=_0x5c1356?_0x47b214[_0x4a83b5(0xf2)](_0x54b607,{}):_0x47b214[_0x4a83b5(0xf2)](_0x127d51,{}),_0x36b944=_0x365b01[_0x4a83b5(0xa4)](()=>{_0x5431f3&&_0x5431f3();},[_0x5c1356,_0x32360c,_0x5431f3]);function _0x3b520f(){var _0x1b0519=_0x4a83b5;return _0x47b214['jsxs'](_0x1b0519(0xc5),{'className':_0x5b29c8[_0x1b0519(0xab)](_0x1b0519(0xbb),_0x5431f3&&_0x1b0519(0xa8)),'onClick':_0x5431f3?_0x36b944:void 0x0,'children':[_0x47b214[_0x1b0519(0xf2)](_0x1b0519(0xc5),{'className':_0x5b29c8['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x41994e),'children':_0xce4211}),_0x47b214[_0x1b0519(0xf2)](_0x1b0519(0xc5),{'className':_0x1b0519(0xcf),'children':_0x43a30e})]});}return _0x47b214[_0x4a83b5(0xf2)](_0x5b29c8[_0x4a83b5(0x1d5)],{'title':_0x3717fb,'placement':_0x4a83b5(0x133),'children':_0x3b520f()});}var _0x288635=Object[_0x4ca5c4(0x17f)],_0x46aec3=(_0x3bf8ea,_0xf5ff14,_0x2db89b,_0x3d0b19)=>{var _0x4a8a78=_0x4ca5c4;for(var _0x1df9e7=_0x3d0b19>0x1?void 0x0:_0x3d0b19?_0x288635(_0xf5ff14,_0x2db89b):_0xf5ff14,_0x4f528e=_0x3bf8ea[_0x4a8a78(0x206)]-0x1,_0x3eaa8e;_0x4f528e>=0x0;_0x4f528e--)(_0x3eaa8e=_0x3bf8ea[_0x4f528e])&&(_0x1df9e7=_0x3eaa8e(_0x1df9e7)||_0x1df9e7);return _0x1df9e7;},_0x16dd3f=(_0x1cf8a8,_0x5e9afd)=>(_0x4dc7fc,_0x24556c)=>_0x5e9afd(_0x4dc7fc,_0x24556c,_0x1cf8a8);_0x2846fb['MCPConnectionUIController']=class extends _0x5ad3c6[_0x4ca5c4(0x1af)]{constructor(_0x2a4e9a,_0x4c510a,_0x28997b){var _0x5eb0f2=_0x4ca5c4;super(),this['_injector']=_0x2a4e9a,this[_0x5eb0f2(0x83)]=_0x4c510a,this[_0x5eb0f2(0x13a)]=_0x28997b,this[_0x5eb0f2(0x83)][_0x5eb0f2(0x112)]=!0x1,this['_initStatusComponent']();}[_0x4ca5c4(0x183)](){var _0xba6754=_0x4ca5c4;this[_0xba6754(0x200)](this[_0xba6754(0x13a)]['registerComponent'](_0x36ce9e[_0xba6754(0xb3)][_0xba6754(0x1cf)],()=>_0x36ce9e['connectInjector'](_0x83635a({'status$':this[_0xba6754(0x83)][_0xba6754(0x157)],'error$':this[_0xba6754(0x83)][_0xba6754(0xba)],'onConfigure':()=>this[_0xba6754(0x1e9)]()}),this['_injector'])));}[_0x4ca5c4(0x1e9)](){var _0x4ed567=_0x4ca5c4;this['_injector'][_0x4ed567(0x9f)](_0x2846fb[_0x4ed567(0x180)])[_0x4ed567(0x162)]();}},_0x2846fb[_0x4ca5c4(0x1dc)]=_0x46aec3([_0x16dd3f(0x0,_0x5ad3c6[_0x4ca5c4(0x187)](_0x5ad3c6[_0x4ca5c4(0x196)])),_0x16dd3f(0x1,_0x5ad3c6['Inject'](_0x1b42f4[_0x4ca5c4(0x1ec)])),_0x16dd3f(0x2,_0x36ce9e[_0x4ca5c4(0x13b)])],_0x2846fb[_0x4ca5c4(0x1dc)]);function _0x83635a(_0x52b835){const {status$:_0x54eb43,error$:_0x1710c1,onConfigure:_0x5363bd}=_0x52b835;return function(){var _0x277ad0=_0x3f44;return _0x47b214[_0x277ad0(0xf2)](_0x400830,{'status$':_0x54eb43,'error$':_0x1710c1,'onConfigure':_0x5363bd});};}function _0x42f344(_0x436dfd){var _0x2d98cb=_0x4ca5c4;return{'id':_0x3751cc['id'],'type':_0x36ce9e['MenuItemType'][_0x2d98cb(0x1a4)],'icon':_0x2d98cb(0x17d),'title':_0x2d98cb(0x178),'tooltip':'mcpConfig.title'};}const _0x353d2a={[_0x36ce9e[_0x4ca5c4(0x96)][_0x4ca5c4(0xd7)]]:{[_0x3751cc['id']]:{'order':0xa,'menuItemFactory':_0x42f344}}};var _0x328580=Object['getOwnPropertyDescriptor'],_0x10da82=(_0x37b79e,_0x5da1e6,_0x412a1b,_0x2aa4df)=>{for(var _0x5981ed=_0x2aa4df>0x1?void 0x0:_0x2aa4df?_0x328580(_0x5da1e6,_0x412a1b):_0x5da1e6,_0xe42ffc=_0x37b79e['length']-0x1,_0x2aa384;_0xe42ffc>=0x0;_0xe42ffc--)(_0x2aa384=_0x37b79e[_0xe42ffc])&&(_0x5981ed=_0x2aa384(_0x5981ed)||_0x5981ed);return _0x5981ed;},_0x300155=(_0x1c48f2,_0xdd3a8d)=>(_0x16dbf9,_0x293bdf)=>_0xdd3a8d(_0x16dbf9,_0x293bdf,_0x1c48f2);_0x2846fb[_0x4ca5c4(0x122)]=class extends _0x5ad3c6[_0x4ca5c4(0x1af)]{constructor(_0x3e1c43,_0x2efcf7){var _0x12be47=_0x4ca5c4;super(),this['_commandService']=_0x3e1c43,this[_0x12be47(0x16f)]=_0x2efcf7,this[_0x12be47(0x151)](),this[_0x12be47(0x124)]();}[_0x4ca5c4(0x151)](){var _0x358b87=_0x4ca5c4;[_0x3751cc][_0x358b87(0x1c6)](_0x4b8033=>{var _0x34c0ba=_0x358b87;this['disposeWithMe'](this[_0x34c0ba(0x155)][_0x34c0ba(0x12e)](_0x4b8033));});}[_0x4ca5c4(0x124)](){var _0x6bbb6c=_0x4ca5c4;this[_0x6bbb6c(0x16f)]['mergeMenu'](_0x353d2a);}},_0x2846fb['MCPUIMenuController']=_0x10da82([_0x300155(0x0,_0x5ad3c6[_0x4ca5c4(0x220)]),_0x300155(0x1,_0x36ce9e['IMenuManagerService'])],_0x2846fb['MCPUIMenuController']);const _0x1e70d1={'mcpStatus':{'disconnected':_0x4ca5c4(0x14a),'connecting':_0x4ca5c4(0x102),'connected':'MCP\x20Connected','failed':_0x4ca5c4(0xd8),'retrying':_0x4ca5c4(0x1b9),'unknown':_0x4ca5c4(0x160),'missingApiKey':_0x4ca5c4(0x18f),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x4ca5c4(0x18d),'maxRetriesExceeded':_0x4ca5c4(0x12b),'clickToConnect':_0x4ca5c4(0x12f),'clickToConfigure':_0x4ca5c4(0xdb)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x4ca5c4(0xa3),'apiKeyHint':_0x4ca5c4(0x1a5),'enableAuth':_0x4ca5c4(0x216),'enableAuthHint':_0x4ca5c4(0x203),'connectionInfo':_0x4ca5c4(0xe7),'mcpClientConfig':_0x4ca5c4(0xe7),'configInstructions':_0x4ca5c4(0xcc),'configStepTitle':_0x4ca5c4(0x11b),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4ca5c4(0xda),'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':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4ca5c4(0x190),'maxRetries':_0x4ca5c4(0x1f5),'save':_0x4ca5c4(0x214),'saving':_0x4ca5c4(0x171),'note1':_0x4ca5c4(0x114),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4ca5c4(0x1aa),'configError':_0x4ca5c4(0xd9),'apiApplyInfo':{'title':_0x4ca5c4(0x1f7),'description':_0x4ca5c4(0x1a1),'univerAiLabel':_0x4ca5c4(0x93),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4ca5c4(0x17b),'apiKeyTooShort':_0x4ca5c4(0x1f2),'invalidConfig':_0x4ca5c4(0x1f0),'invalidApiKey':_0x4ca5c4(0x1c9)},'connectionStatus':{'disconnected':_0x4ca5c4(0xdf),'connecting':_0x4ca5c4(0x1e5),'connected':_0x4ca5c4(0x1c5),'failed':_0x4ca5c4(0x20d),'retrying':_0x4ca5c4(0x20e)},'connectionError':{'missingApiKey':_0x4ca5c4(0x16d),'invalidApiKey':_0x4ca5c4(0xd5),'sessionOccupied':_0x4ca5c4(0x1fd),'networkError':_0x4ca5c4(0x1fa),'maxRetriesExceeded':_0x4ca5c4(0x1da)}}},_0x23ff60={'mcpStatus':{'disconnected':_0x4ca5c4(0x1ca),'connecting':_0x4ca5c4(0x18e),'connected':_0x4ca5c4(0xc6),'failed':_0x4ca5c4(0xc2),'retrying':_0x4ca5c4(0x164),'unknown':'MCP\x20状态未知','missingApiKey':_0x4ca5c4(0x165),'invalidApiKey':_0x4ca5c4(0x1ba),'sessionOccupied':_0x4ca5c4(0xd2),'networkError':_0x4ca5c4(0x15a),'maxRetriesExceeded':_0x4ca5c4(0x89),'clickToConnect':_0x4ca5c4(0xb4),'clickToConfigure':_0x4ca5c4(0x197)},'mcpConfig':{'title':_0x4ca5c4(0x11a),'description':_0x4ca5c4(0x113),'apiKey':_0x4ca5c4(0x1f3),'apiKeyPlaceholder':_0x4ca5c4(0x85),'apiKeyHint':_0x4ca5c4(0xc3),'enableAuth':_0x4ca5c4(0xf7),'enableAuthHint':_0x4ca5c4(0x185),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x4ca5c4(0x17a),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x4ca5c4(0x184),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x4ca5c4(0x17e),'configStep3':_0x4ca5c4(0xf5),'sessionId':_0x4ca5c4(0xe4),'sessionIdDescription':_0x4ca5c4(0x126),'authorizationDescription':_0x4ca5c4(0x10b),'configParameters':_0x4ca5c4(0x218),'maxRetries':'最大重试次数','save':'保存配置','saving':_0x4ca5c4(0xef),'note1':_0x4ca5c4(0x92),'note2':_0x4ca5c4(0x10a),'configSaved':_0x4ca5c4(0x20c),'configError':_0x4ca5c4(0x1a7),'apiApplyInfo':{'title':_0x4ca5c4(0x10f),'description':_0x4ca5c4(0x1cb),'univerAiLabel':_0x4ca5c4(0xac),'getStarted':_0x4ca5c4(0x1b3)},'validation':{'apiKeyRequired':_0x4ca5c4(0xb8),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x4ca5c4(0x1d8),'invalidApiKey':_0x4ca5c4(0x166)},'connectionStatus':{'disconnected':'未连接','connecting':_0x4ca5c4(0x127),'connected':_0x4ca5c4(0xf4),'failed':_0x4ca5c4(0xc0),'retrying':_0x4ca5c4(0x1f1)},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x4ca5c4(0x1f4),'networkError':_0x4ca5c4(0x120),'maxRetriesExceeded':_0x4ca5c4(0x9b)}}};var _0x208245=Object[_0x4ca5c4(0x7e)],_0x3d51eb=Object[_0x4ca5c4(0x17f)],_0x383b8d=(_0x4a5abe,_0x4ee37f,_0x3a0cc2)=>_0x4ee37f in _0x4a5abe?_0x208245(_0x4a5abe,_0x4ee37f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a0cc2}):_0x4a5abe[_0x4ee37f]=_0x3a0cc2,_0x324a26=(_0x2359df,_0x46e549,_0x180d08,_0x55995a)=>{for(var _0xd89fce=_0x55995a>0x1?void 0x0:_0x55995a?_0x3d51eb(_0x46e549,_0x180d08):_0x46e549,_0x32bde1=_0x2359df['length']-0x1,_0x40e277;_0x32bde1>=0x0;_0x32bde1--)(_0x40e277=_0x2359df[_0x32bde1])&&(_0xd89fce=_0x40e277(_0xd89fce)||_0xd89fce);return _0xd89fce;},_0x37e615=(_0x17d274,_0x2192f1)=>(_0x4fa492,_0x5ce1ae)=>_0x2192f1(_0x4fa492,_0x5ce1ae,_0x17d274),_0xab15e4=(_0x2bce72,_0xce6486,_0x4ac624)=>_0x383b8d(_0x2bce72,_0xce6486+'',_0x4ac624);_0x2846fb[_0x4ca5c4(0xbd)]=class extends _0x5ad3c6[_0x4ca5c4(0x153)]{constructor(_0xa93710=_0x2ea3e8,_0x39e1e5,_0x4c3732,_0x20383e,_0x586861,_0x3b977d){var _0x324903=_0x4ca5c4;super(),this[_0x324903(0x1c8)]=_0xa93710,this['_injector']=_0x39e1e5,this[_0x324903(0xc8)]=_0x4c3732,this[_0x324903(0x13a)]=_0x20383e,this[_0x324903(0xb6)]=_0x586861,this[_0x324903(0x17c)]=_0x3b977d;const {..._0x3aa2b4}=_0x5ad3c6['merge']({},_0x2ea3e8,this['_config']);this[_0x324903(0xc8)][_0x324903(0xe1)](_0x186c18,_0x3aa2b4);}async[_0x4ca5c4(0x159)](){var _0x44a40d=_0x4ca5c4;const _0x124945=[[_0x2846fb['MCPConnectionUIController']],[_0x2846fb[_0x44a40d(0x180)]],[_0x2846fb['MCPUIMenuController']]];this[_0x44a40d(0x219)][_0x44a40d(0x199)](_0x11985f['ISocketService'])||_0x124945[_0x44a40d(0xfe)]([_0x11985f[_0x44a40d(0x10e)],{'useClass':_0x11985f[_0x44a40d(0x149)]}]),_0x124945[_0x44a40d(0x1c6)](_0xfcb26b=>this[_0x44a40d(0x219)][_0x44a40d(0x1bf)](_0xfcb26b)),this['_injector'][_0x44a40d(0x9f)](_0x2846fb[_0x44a40d(0x1dc)]),this[_0x44a40d(0x219)][_0x44a40d(0x9f)](_0x2846fb[_0x44a40d(0x180)]),this[_0x44a40d(0x219)][_0x44a40d(0x9f)](_0x2846fb['MCPUIMenuController']);}},_0xab15e4(_0x2846fb[_0x4ca5c4(0xbd)],'pluginName',_0x4ca5c4(0xcd)),_0x2846fb[_0x4ca5c4(0xbd)]=_0x324a26([_0x5ad3c6[_0x4ca5c4(0x105)](_0x1b42f4[_0x4ca5c4(0x1a9)]),_0x37e615(0x1,_0x5ad3c6[_0x4ca5c4(0x187)](_0x5ad3c6[_0x4ca5c4(0x196)])),_0x37e615(0x2,_0x5ad3c6['IConfigService']),_0x37e615(0x3,_0x36ce9e[_0x4ca5c4(0x13b)]),_0x37e615(0x4,_0x5ad3c6[_0x4ca5c4(0x98)]),_0x37e615(0x5,_0x5ad3c6['Inject'](_0x5ad3c6['LocaleService']))],_0x2846fb[_0x4ca5c4(0xbd)]),_0x2846fb[_0x4ca5c4(0x1ef)]=_0x232065,_0x2846fb['MCPStatusDisplay']=_0x400830,_0x2846fb['OpenMCPConfigPanelCommand']=_0x3751cc,_0x2846fb[_0x4ca5c4(0xf1)]=_0x1e70d1,_0x2846fb[_0x4ca5c4(0x9a)]=_0x23ff60,Object[_0x4ca5c4(0x7e)](_0x2846fb,Symbol[_0x4ca5c4(0x116)],{'value':'Module'});}));
@@ -1 +1 @@
1
- function _0x264d(_0x5bff1c,_0x3fe226){var _0x36c477=_0x36c4();return _0x264d=function(_0x264d11,_0x2c7444){_0x264d11=_0x264d11-0x199;var _0x4ce223=_0x36c477[_0x264d11];return _0x4ce223;},_0x264d(_0x5bff1c,_0x3fe226);}(function(_0x23c8d0,_0x4914e1){var _0x3c7485=_0x264d,_0x4f262d=_0x23c8d0();while(!![]){try{var _0x32229b=parseInt(_0x3c7485(0x1b8))/0x1+parseInt(_0x3c7485(0x1a2))/0x2+-parseInt(_0x3c7485(0x1a8))/0x3+-parseInt(_0x3c7485(0x19f))/0x4*(parseInt(_0x3c7485(0x19c))/0x5)+parseInt(_0x3c7485(0x1ce))/0x6*(-parseInt(_0x3c7485(0x19b))/0x7)+-parseInt(_0x3c7485(0x1bc))/0x8*(parseInt(_0x3c7485(0x1ca))/0x9)+parseInt(_0x3c7485(0x1b5))/0xa*(parseInt(_0x3c7485(0x1ae))/0xb);if(_0x32229b===_0x4914e1)break;else _0x4f262d['push'](_0x4f262d['shift']());}catch(_0x427da2){_0x4f262d['push'](_0x4f262d['shift']());}}}(_0x36c4,0x49d0a),function(_0x4d585c,_0x4f9a8d){var _0x408884=_0x264d;typeof exports==_0x408884(0x1ac)&&typeof module<'u'?module['exports']=_0x4f9a8d():typeof define==_0x408884(0x1a7)&&define[_0x408884(0x1c9)]?define(_0x4f9a8d):(_0x4d585c=typeof globalThis<'u'?globalThis:_0x4d585c||self,_0x4d585c[_0x408884(0x1a6)]=_0x4f9a8d());}(this,function(){'use strict';var _0x397057=_0x264d;return{'mcpStatus':{'disconnected':_0x397057(0x1c1),'connecting':_0x397057(0x1ba),'connected':_0x397057(0x1ab),'failed':_0x397057(0x1b9),'retrying':_0x397057(0x1c0),'unknown':_0x397057(0x1cd),'missingApiKey':_0x397057(0x1d8),'invalidApiKey':_0x397057(0x1a3),'sessionOccupied':_0x397057(0x1d2),'networkError':_0x397057(0x199),'maxRetriesExceeded':_0x397057(0x1a9),'clickToConnect':_0x397057(0x19a),'clickToConfigure':_0x397057(0x1c2)},'mcpConfig':{'title':_0x397057(0x19e),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x397057(0x1bb),'apiKeyPlaceholder':_0x397057(0x1c4),'apiKeyHint':_0x397057(0x1d7),'enableAuth':_0x397057(0x1b2),'enableAuthHint':_0x397057(0x1b3),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x397057(0x1c3),'configInstructions':_0x397057(0x19d),'configStepTitle':_0x397057(0x1bf),'configStep1':_0x397057(0x1af),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x397057(0x1b1),'sessionId':_0x397057(0x1b6),'sessionIdDescription':_0x397057(0x1d4),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x397057(0x1cc),'maxRetries':_0x397057(0x1be),'save':_0x397057(0x1c8),'saving':'Saving...','note1':_0x397057(0x1a0),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x397057(0x1b4),'configError':_0x397057(0x1a4),'apiApplyInfo':{'title':_0x397057(0x1ad),'description':_0x397057(0x1c7),'univerAiLabel':_0x397057(0x1cf),'getStarted':_0x397057(0x1d5)},'validation':{'apiKeyRequired':_0x397057(0x1b0),'apiKeyTooShort':_0x397057(0x1d0),'invalidConfig':_0x397057(0x1a1),'invalidApiKey':_0x397057(0x1d3)},'connectionStatus':{'disconnected':_0x397057(0x1a5),'connecting':_0x397057(0x1b7),'connected':_0x397057(0x1d1),'failed':_0x397057(0x1cb),'retrying':_0x397057(0x1c5)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x397057(0x1d6),'sessionOccupied':_0x397057(0x1aa),'networkError':_0x397057(0x1c6),'maxRetriesExceeded':_0x397057(0x1bd)}}};}));function _0x36c4(){var _0x4c48f4=['10YGyKeG','Session\x20ID','Connecting...','4617NkkByO','MCP\x20Connection\x20Failed','MCP\x20Connecting...','API\x20Key','39328YoWElG','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Max\x20Retries','Configuration\x20Steps:','MCP\x20Retrying...','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Save\x20Configuration','amd','99qPkplf','Connection\x20Failed','Configuration\x20Parameters:','MCP\x20Unknown\x20Status','1284684oqzvXU','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','MCP:\x20Session\x20Occupied','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20API\x20Key\x20Missing','MCP:\x20Network\x20Error','Click\x20to\x20connect\x20MCP','7ANSuum','155wFRIZo','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Configuration','42792ETwcnS','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20configuration','411798JuhKYj','MCP:\x20Invalid\x20API\x20Key','Failed\x20to\x20save\x20configuration','Disconnected','UniverProMcpUiCaES','function','12108tzPwBp','MCP:\x20Max\x20Retries\x20Exceeded','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Connected','object','What\x20is\x20API\x20Key?','7652634tCLzzX','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20is\x20required','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20saved\x20successfully'];_0x36c4=function(){return _0x4c48f4;};return _0x36c4();}
1
+ function _0x39f2(_0x3cd8cc,_0x5b3b73){var _0x48f303=_0x48f3();return _0x39f2=function(_0x39f296,_0x3b8778){_0x39f296=_0x39f296-0x175;var _0x5987f0=_0x48f303[_0x39f296];return _0x5987f0;},_0x39f2(_0x3cd8cc,_0x5b3b73);}(function(_0xd6a83,_0x49963c){var _0x287d84=_0x39f2,_0x5b56fa=_0xd6a83();while(!![]){try{var _0x290c86=parseInt(_0x287d84(0x182))/0x1+parseInt(_0x287d84(0x19b))/0x2*(-parseInt(_0x287d84(0x18a))/0x3)+parseInt(_0x287d84(0x1a0))/0x4+parseInt(_0x287d84(0x1a1))/0x5*(-parseInt(_0x287d84(0x1a2))/0x6)+parseInt(_0x287d84(0x1a4))/0x7+-parseInt(_0x287d84(0x1a9))/0x8*(parseInt(_0x287d84(0x183))/0x9)+-parseInt(_0x287d84(0x179))/0xa*(-parseInt(_0x287d84(0x186))/0xb);if(_0x290c86===_0x49963c)break;else _0x5b56fa['push'](_0x5b56fa['shift']());}catch(_0x214bf4){_0x5b56fa['push'](_0x5b56fa['shift']());}}}(_0x48f3,0x42e80),function(_0xdb8270,_0x807d06){var _0x36df73=_0x39f2;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x807d06():typeof define==_0x36df73(0x19c)&&define['amd']?define(_0x807d06):(_0xdb8270=typeof globalThis<'u'?globalThis:_0xdb8270||self,_0xdb8270[_0x36df73(0x194)]=_0x807d06());}(this,function(){'use strict';var _0x238de4=_0x39f2;return{'mcpStatus':{'disconnected':_0x238de4(0x195),'connecting':_0x238de4(0x180),'connected':_0x238de4(0x187),'failed':_0x238de4(0x18b),'retrying':_0x238de4(0x17e),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x238de4(0x196),'invalidApiKey':_0x238de4(0x1a5),'sessionOccupied':_0x238de4(0x178),'networkError':_0x238de4(0x1ab),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x238de4(0x19f),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x238de4(0x1a8),'apiKeyHint':_0x238de4(0x1a6),'enableAuth':_0x238de4(0x17c),'enableAuthHint':_0x238de4(0x175),'connectionInfo':_0x238de4(0x19a),'mcpClientConfig':_0x238de4(0x19a),'configInstructions':_0x238de4(0x177),'configStepTitle':_0x238de4(0x189),'configStep1':_0x238de4(0x188),'configStep2':_0x238de4(0x1a7),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x238de4(0x19d),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x238de4(0x198),'configParameters':_0x238de4(0x19e),'maxRetries':_0x238de4(0x191),'save':_0x238de4(0x1aa),'saving':_0x238de4(0x1ae),'note1':_0x238de4(0x18d),'note2':_0x238de4(0x176),'configSaved':_0x238de4(0x199),'configError':_0x238de4(0x18e),'apiApplyInfo':{'title':_0x238de4(0x193),'description':_0x238de4(0x18c),'univerAiLabel':_0x238de4(0x181),'getStarted':_0x238de4(0x1af)},'validation':{'apiKeyRequired':_0x238de4(0x1a3),'apiKeyTooShort':_0x238de4(0x184),'invalidConfig':_0x238de4(0x17b),'invalidApiKey':_0x238de4(0x197)},'connectionStatus':{'disconnected':_0x238de4(0x185),'connecting':_0x238de4(0x190),'connected':_0x238de4(0x1ac),'failed':_0x238de4(0x1ad),'retrying':_0x238de4(0x192)},'connectionError':{'missingApiKey':_0x238de4(0x17a),'invalidApiKey':_0x238de4(0x18f),'sessionOccupied':_0x238de4(0x17d),'networkError':_0x238de4(0x17f),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));function _0x48f3(){var _0x268d19=['236770ldJxKB','function','Session\x20ID','Configuration\x20Parameters:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','652356OjmPSt','255TRdzxt','35016zzlKSq','API\x20key\x20is\x20required','2715678jLmNWs','MCP:\x20Invalid\x20API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enter\x20your\x20API\x20key','1985952uNoWxK','Save\x20Configuration','MCP:\x20Network\x20Error','Connected','Connection\x20Failed','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Session\x20Occupied','750PjfhwY','API\x20key\x20is\x20required\x20to\x20connect','Invalid\x20configuration','Enable\x20Authentication','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','Univer\x20AI\x20Console','501634CgPRgN','18dmzCGe','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Disconnected','54362rIxalZ','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Steps:','9fBXqes','MCP\x20Connection\x20Failed','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','Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connecting...','Max\x20Retries','Retrying...','What\x20is\x20API\x20Key?','UniverProMcpUiCaES','MCP\x20Disconnected','MCP:\x20API\x20Key\x20Missing','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration'];_0x48f3=function(){return _0x268d19;};return _0x48f3();}