@univerjs-pro/mcp-ui 0.10.9-nightly.202509260614 → 0.10.10-experimental.20251010-3f807c5

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 +9 -9
@@ -1 +1 @@
1
- const _0x44741d=_0x259a;function _0x259a(_0x343a23,_0x269f6f){const _0x423697=_0x4236();return _0x259a=function(_0x259a03,_0xf93c0a){_0x259a03=_0x259a03-0x18f;let _0x4b122c=_0x423697[_0x259a03];return _0x4b122c;},_0x259a(_0x343a23,_0x269f6f);}function _0x4236(){const _0x800f47=['10776VTMZfQ','3RGnarM','7580988EDTyGk','18038042pZzsnr','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Copy\x20the\x20JSON\x20configuration\x20below','1080835IRNqLE','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','4OakTKV','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','Max\x20Retries','114qBhxmS','2072984tQFMxe','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Session\x20ID\x20Occupied','8sCHGmQ','MCP\x20Connection\x20Failed','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enable\x20Authentication','Connection\x20Failed','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Univer\x20AI\x20Console','10rKCQdq','54197EBwDnX','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20Key','13335hNeVQX','MCP\x20Retrying...','Failed\x20to\x20save\x20configuration','MCP:\x20Unauthorized','Enter\x20your\x20API\x20key','Configuration\x20saved\x20successfully','Connecting...','What\x20is\x20API\x20Key?','MCP\x20Connected','25867LrDxpA','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20authentication\x20for\x20secure\x20connections','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Parameters:'];_0x4236=function(){return _0x800f47;};return _0x4236();}(function(_0x5f20cc,_0x1b0a57){const _0x49b98e=_0x259a,_0x33d89d=_0x5f20cc();while(!![]){try{const _0x7b5d9=-parseInt(_0x49b98e(0x18f))/0x1*(parseInt(_0x49b98e(0x19f))/0x2)+parseInt(_0x49b98e(0x197))/0x3*(-parseInt(_0x49b98e(0x1a4))/0x4)+parseInt(_0x49b98e(0x19c))/0x5+-parseInt(_0x49b98e(0x1a3))/0x6*(-parseInt(_0x49b98e(0x1ba))/0x7)+-parseInt(_0x49b98e(0x1a8))/0x8*(parseInt(_0x49b98e(0x198))/0x9)+parseInt(_0x49b98e(0x1b4))/0xa*(-parseInt(_0x49b98e(0x199))/0xb)+-parseInt(_0x49b98e(0x196))/0xc*(-parseInt(_0x49b98e(0x1b5))/0xd);if(_0x7b5d9===_0x1b0a57)break;else _0x33d89d['push'](_0x33d89d['shift']());}catch(_0x59e4d2){_0x33d89d['push'](_0x33d89d['shift']());}}}(_0x4236,0xe6776));const e={'mcpStatus':{'disconnected':_0x44741d(0x1aa),'connecting':'MCP\x20Connecting...','connected':_0x44741d(0x1c2),'failed':_0x44741d(0x1a9),'retrying':_0x44741d(0x1bb),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x44741d(0x1bd),'sessionOccupied':_0x44741d(0x1a7),'networkError':_0x44741d(0x1a0),'maxRetriesExceeded':_0x44741d(0x1a1),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x44741d(0x1af)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x44741d(0x19d),'apiKey':_0x44741d(0x1b9),'apiKeyPlaceholder':_0x44741d(0x1be),'apiKeyHint':_0x44741d(0x194),'enableAuth':_0x44741d(0x1ad),'enableAuthHint':_0x44741d(0x192),'connectionInfo':_0x44741d(0x1b7),'mcpClientConfig':_0x44741d(0x1b7),'configInstructions':_0x44741d(0x1b0),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x44741d(0x19b),'configStep2':_0x44741d(0x1ac),'configStep3':_0x44741d(0x1b8),'sessionId':'Session\x20ID','sessionIdDescription':_0x44741d(0x1a5),'authorizationDescription':_0x44741d(0x1a6),'configParameters':_0x44741d(0x195),'maxRetries':_0x44741d(0x1a2),'save':'Save\x20Configuration','saving':_0x44741d(0x193),'note1':_0x44741d(0x19e),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x44741d(0x1bf),'configError':_0x44741d(0x1bc),'apiApplyInfo':{'title':_0x44741d(0x1c1),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x44741d(0x1b3),'getStarted':_0x44741d(0x191)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x44741d(0x1b6),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x44741d(0x1ab)},'connectionStatus':{'disconnected':_0x44741d(0x1b1),'connecting':_0x44741d(0x1c0),'connected':'Connected','failed':_0x44741d(0x1ae),'retrying':_0x44741d(0x190)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x44741d(0x1b2),'networkError':_0x44741d(0x19a),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
1
+ const _0x16d3ea=_0x146c;function _0x146c(_0x439659,_0x558863){const _0x2ff3b2=_0x2ff3();return _0x146c=function(_0x146ce5,_0x4d0d92){_0x146ce5=_0x146ce5-0x17b;let _0x8a89e1=_0x2ff3b2[_0x146ce5];return _0x8a89e1;},_0x146c(_0x439659,_0x558863);}(function(_0x1c0b70,_0xbd665f){const _0x59dce8=_0x146c,_0x5e5a7d=_0x1c0b70();while(!![]){try{const _0x146cb8=-parseInt(_0x59dce8(0x17c))/0x1*(-parseInt(_0x59dce8(0x1a6))/0x2)+parseInt(_0x59dce8(0x1a7))/0x3*(parseInt(_0x59dce8(0x186))/0x4)+-parseInt(_0x59dce8(0x180))/0x5*(parseInt(_0x59dce8(0x18d))/0x6)+-parseInt(_0x59dce8(0x17e))/0x7*(parseInt(_0x59dce8(0x18e))/0x8)+parseInt(_0x59dce8(0x1a0))/0x9*(parseInt(_0x59dce8(0x18a))/0xa)+parseInt(_0x59dce8(0x184))/0xb*(-parseInt(_0x59dce8(0x193))/0xc)+parseInt(_0x59dce8(0x19b))/0xd;if(_0x146cb8===_0xbd665f)break;else _0x5e5a7d['push'](_0x5e5a7d['shift']());}catch(_0x3056cd){_0x5e5a7d['push'](_0x5e5a7d['shift']());}}}(_0x2ff3,0x6862b));function _0x2ff3(){const _0x518664=['3717STxJNa','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Parameters:','1814TnBMAz','1952346AdStnm','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Unauthorized','941CYtwvE','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','7WwoOyl','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','5cCOxvG','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','Session\x20ID','55KNKlco','Connection\x20Failed','4kwApeo','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20Authentication','3560BwVMuB','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','907884ZqBIgA','2897792UYTfbd','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:\x20Network\x20Error','Retrying...','1968660GUFRTJ','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connecting...','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Failed\x20to\x20save\x20configuration','1431027LjGpkA','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed'];_0x2ff3=function(){return _0x518664;};return _0x2ff3();}const e={'mcpStatus':{'disconnected':_0x16d3ea(0x182),'connecting':_0x16d3ea(0x197),'connected':'MCP\x20Connected','failed':_0x16d3ea(0x19f),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x16d3ea(0x17b),'sessionOccupied':_0x16d3ea(0x196),'networkError':_0x16d3ea(0x191),'maxRetriesExceeded':_0x16d3ea(0x18b),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x16d3ea(0x189),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x16d3ea(0x198),'mcpClientConfig':_0x16d3ea(0x198),'configInstructions':_0x16d3ea(0x17d),'configStepTitle':_0x16d3ea(0x18c),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x16d3ea(0x17f),'configStep3':_0x16d3ea(0x1a4),'sessionId':_0x16d3ea(0x183),'sessionIdDescription':_0x16d3ea(0x18f),'authorizationDescription':_0x16d3ea(0x187),'configParameters':_0x16d3ea(0x1a5),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x16d3ea(0x1a8),'note1':_0x16d3ea(0x199),'note2':_0x16d3ea(0x194),'configSaved':_0x16d3ea(0x1a1),'configError':_0x16d3ea(0x19a),'apiApplyInfo':{'title':_0x16d3ea(0x19e),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x16d3ea(0x181)},'validation':{'apiKeyRequired':_0x16d3ea(0x19c),'apiKeyTooShort':_0x16d3ea(0x1a2),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x16d3ea(0x190)},'connectionStatus':{'disconnected':_0x16d3ea(0x1a3),'connecting':'Connecting...','connected':'Connected','failed':_0x16d3ea(0x185),'retrying':_0x16d3ea(0x192)},'connectionError':{'unauthorized':_0x16d3ea(0x1a9),'sessionOccupied':_0x16d3ea(0x195),'networkError':_0x16d3ea(0x188),'maxRetriesExceeded':_0x16d3ea(0x19d)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x2903ef=_0x328d;function _0xc99b(){const _0x697bff=['49434740kRMPKt','Saving...','API\x20Key','Configuration\x20saved\x20successfully','1029501ZaCJNa','8651272DpRATw','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Unknown\x20Status','Max\x20Retries','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','Click\x20to\x20connect\x20MCP','Univer\x20AI\x20Console','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1wmosgh','Connecting...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','858rQnjxe','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connecting...','Connection\x20Failed','Retrying...','API\x20key\x20is\x20required','22968rGHlVA','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Unauthorized','Configuration\x20Parameters:','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','1390550DMtfgx','Disconnected','142535inmpNl','Save\x20Configuration','What\x20is\x20API\x20Key?','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','MCP\x20Configuration','MCP\x20Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','8tXUnOi','MCP\x20Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Steps:','Session\x20ID','10579080SFEXgB'];_0xc99b=function(){return _0x697bff;};return _0xc99b();}(function(_0x40c90a,_0x472db0){const _0x3b2301=_0x328d,_0x1c3f31=_0x40c90a();while(!![]){try{const _0x5b36f5=-parseInt(_0x3b2301(0x1e0))/0x1*(-parseInt(_0x3b2301(0x1f5))/0x2)+parseInt(_0x3b2301(0x1e3))/0x3*(-parseInt(_0x3b2301(0x1e9))/0x4)+parseInt(_0x3b2301(0x1f7))/0x5+-parseInt(_0x3b2301(0x1d1))/0x6+-parseInt(_0x3b2301(0x1d7))/0x7+parseInt(_0x3b2301(0x1ff))/0x8*(-parseInt(_0x3b2301(0x1d6))/0x9)+parseInt(_0x3b2301(0x1d2))/0xa;if(_0x5b36f5===_0x472db0)break;else _0x1c3f31['push'](_0x1c3f31['shift']());}catch(_0x15d793){_0x1c3f31['push'](_0x1c3f31['shift']());}}}(_0xc99b,0xde8db));const e={'mcpStatus':{'disconnected':_0x2903ef(0x200),'connecting':_0x2903ef(0x1e5),'connected':_0x2903ef(0x1fb),'failed':_0x2903ef(0x1f3),'retrying':_0x2903ef(0x1fd),'unknown':_0x2903ef(0x1d9),'unauthorized':_0x2903ef(0x1eb),'sessionOccupied':_0x2903ef(0x1f2),'networkError':_0x2903ef(0x1ed),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2903ef(0x1dd),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2903ef(0x1fc),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2903ef(0x1d4),'apiKeyPlaceholder':_0x2903ef(0x1dc),'apiKeyHint':_0x2903ef(0x1db),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2903ef(0x1ea),'connectionInfo':_0x2903ef(0x1f4),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2903ef(0x1e2),'configStepTitle':_0x2903ef(0x1cf),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2903ef(0x201),'sessionId':_0x2903ef(0x1d0),'sessionIdDescription':_0x2903ef(0x1f1),'authorizationDescription':_0x2903ef(0x1fa),'configParameters':_0x2903ef(0x1ec),'maxRetries':_0x2903ef(0x1da),'save':_0x2903ef(0x1f8),'saving':_0x2903ef(0x1d3),'note1':_0x2903ef(0x1ce),'note2':_0x2903ef(0x1e4),'configSaved':_0x2903ef(0x1d5),'configError':_0x2903ef(0x1cb),'apiApplyInfo':{'title':_0x2903ef(0x1f9),'description':_0x2903ef(0x1f0),'univerAiLabel':_0x2903ef(0x1de),'getStarted':_0x2903ef(0x1ee)},'validation':{'apiKeyRequired':_0x2903ef(0x1e8),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2903ef(0x1cd),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2903ef(0x1f6),'connecting':_0x2903ef(0x1e1),'connected':_0x2903ef(0x1ef),'failed':_0x2903ef(0x1e6),'retrying':_0x2903ef(0x1e7)},'connectionError':{'unauthorized':_0x2903ef(0x1d8),'sessionOccupied':_0x2903ef(0x1fe),'networkError':_0x2903ef(0x1cc),'maxRetriesExceeded':_0x2903ef(0x1df)}}},n=e;function _0x328d(_0x35602e,_0x11d7c5){const _0xc99be1=_0xc99b();return _0x328d=function(_0x328dda,_0x23012a){_0x328dda=_0x328dda-0x1cb;let _0x289d55=_0xc99be1[_0x328dda];return _0x289d55;},_0x328d(_0x35602e,_0x11d7c5);}export{n as default};
1
+ const _0x5de3cd=_0x2546;(function(_0x53907c,_0x6f130f){const _0x2cb038=_0x2546,_0x333dd0=_0x53907c();while(!![]){try{const _0x1687e0=-parseInt(_0x2cb038(0x198))/0x1+-parseInt(_0x2cb038(0x196))/0x2*(parseInt(_0x2cb038(0x1a3))/0x3)+parseInt(_0x2cb038(0x19d))/0x4+parseInt(_0x2cb038(0x1a4))/0x5*(-parseInt(_0x2cb038(0x19a))/0x6)+-parseInt(_0x2cb038(0x188))/0x7+parseInt(_0x2cb038(0x192))/0x8*(-parseInt(_0x2cb038(0x195))/0x9)+-parseInt(_0x2cb038(0x19b))/0xa*(-parseInt(_0x2cb038(0x178))/0xb);if(_0x1687e0===_0x6f130f)break;else _0x333dd0['push'](_0x333dd0['shift']());}catch(_0x284b6d){_0x333dd0['push'](_0x333dd0['shift']());}}}(_0x39b4,0xbe369));const e={'mcpStatus':{'disconnected':_0x5de3cd(0x197),'connecting':_0x5de3cd(0x194),'connected':_0x5de3cd(0x1ac),'failed':_0x5de3cd(0x19e),'retrying':_0x5de3cd(0x177),'unknown':_0x5de3cd(0x18a),'unauthorized':_0x5de3cd(0x18b),'sessionOccupied':_0x5de3cd(0x18e),'networkError':_0x5de3cd(0x179),'maxRetriesExceeded':_0x5de3cd(0x17f),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5de3cd(0x18f)},'mcpConfig':{'title':_0x5de3cd(0x1ae),'description':_0x5de3cd(0x1a0),'apiKey':_0x5de3cd(0x17c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5de3cd(0x193),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5de3cd(0x190),'connectionInfo':_0x5de3cd(0x186),'mcpClientConfig':_0x5de3cd(0x186),'configInstructions':_0x5de3cd(0x17e),'configStepTitle':_0x5de3cd(0x17a),'configStep1':_0x5de3cd(0x187),'configStep2':_0x5de3cd(0x191),'configStep3':_0x5de3cd(0x1ad),'sessionId':_0x5de3cd(0x19f),'sessionIdDescription':_0x5de3cd(0x1a5),'authorizationDescription':_0x5de3cd(0x199),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x5de3cd(0x183),'saving':_0x5de3cd(0x180),'note1':_0x5de3cd(0x1ab),'note2':_0x5de3cd(0x181),'configSaved':_0x5de3cd(0x18d),'configError':_0x5de3cd(0x189),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5de3cd(0x182),'univerAiLabel':_0x5de3cd(0x184),'getStarted':_0x5de3cd(0x18c)},'validation':{'apiKeyRequired':_0x5de3cd(0x185),'apiKeyTooShort':_0x5de3cd(0x1a7),'invalidConfig':_0x5de3cd(0x17b),'invalidApiKey':_0x5de3cd(0x1a9)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5de3cd(0x1a6),'connected':_0x5de3cd(0x19c),'failed':_0x5de3cd(0x17d),'retrying':_0x5de3cd(0x1a2)},'connectionError':{'unauthorized':_0x5de3cd(0x1a1),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5de3cd(0x1aa),'maxRetriesExceeded':_0x5de3cd(0x1a8)}}},n=e;function _0x2546(_0x4d9c4f,_0x510bec){const _0x39b442=_0x39b4();return _0x2546=function(_0x2546ae,_0x385936){_0x2546ae=_0x2546ae-0x177;let _0x27b4e9=_0x39b442[_0x2546ae];return _0x27b4e9;},_0x2546(_0x4d9c4f,_0x510bec);}function _0x39b4(){const _0x3b1b8b=['42UeAyAZ','10820gCixOz','Connected','5636028CpLirV','MCP\x20Connection\x20Failed','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Retrying...','63969xvtSEW','1095455qZYmxk','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','MCP\x20Retrying...','45551oFjyPn','MCP:\x20Network\x20Error','Configuration\x20Steps:','Invalid\x20configuration','API\x20Key','Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','Saving...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Save\x20Configuration','Univer\x20AI\x20Console','API\x20key\x20is\x20required','MCP\x20Client\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','10705275nvOMIO','Failed\x20to\x20save\x20configuration','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','MCP:\x20Session\x20ID\x20Occupied','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','5112Vcmbbd','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connecting...','7038dXuhuO','40LqptgF','MCP\x20Disconnected','1121336qlUaos','API\x20key\x20with\x20Bearer\x20prefix.'];_0x39b4=function(){return _0x3b1b8b;};return _0x39b4();}export{n as default};
@@ -1 +1 @@
1
- const _0x3c5a16=_0x1735;(function(_0x12e4b0,_0x2a6a2b){const _0x2a7c1e=_0x1735,_0x41cde6=_0x12e4b0();while(!![]){try{const _0x15e812=parseInt(_0x2a7c1e(0x140))/0x1*(parseInt(_0x2a7c1e(0x118))/0x2)+-parseInt(_0x2a7c1e(0x120))/0x3*(parseInt(_0x2a7c1e(0x129))/0x4)+-parseInt(_0x2a7c1e(0x11c))/0x5*(-parseInt(_0x2a7c1e(0x11e))/0x6)+-parseInt(_0x2a7c1e(0x121))/0x7+parseInt(_0x2a7c1e(0x130))/0x8*(parseInt(_0x2a7c1e(0x13b))/0x9)+parseInt(_0x2a7c1e(0x10c))/0xa*(parseInt(_0x2a7c1e(0x10f))/0xb)+-parseInt(_0x2a7c1e(0x139))/0xc;if(_0x15e812===_0x2a6a2b)break;else _0x41cde6['push'](_0x41cde6['shift']());}catch(_0x4c6ea4){_0x41cde6['push'](_0x41cde6['shift']());}}}(_0x1c14,0x7cec2));function _0x1735(_0x2f783a,_0x3c20e0){const _0x1c147e=_0x1c14();return _0x1735=function(_0x1735a9,_0x43d83c){_0x1735a9=_0x1735a9-0x10b;let _0x32fc91=_0x1c147e[_0x1735a9];return _0x32fc91;},_0x1735(_0x2f783a,_0x3c20e0);}function _0x1c14(){const _0x9e09cf=['981YaCnDk','MCP:\x20网络错误','什么是\x20API\x20密钥?','超出最大重试次数,请稍后再试','网络连接错误,请检查您的网络连接','89279JBwuWz','保存配置','100aDJXwO','MCP\x20状态未知','配置保存成功','279961RaejEG','您的\x20API\x20密钥将在此浏览器中本地存储','会话\x20ID\x20已被占用,请稍后再试','MCP:\x20会话\x20ID\x20已被占用','启用身份验证','MCP\x20连接失败','配置更改将立即生效','会话ID','连接失败','22uOvrgR','MCP\x20已连接','几秒钟内获取您的\x20API\x20密钥','MCP:\x20超出最大重试次数','85chOQCT','点击连接\x20MCP','243546bAzCbq','MCP\x20已断开','2023347hvImip','92148TNAEnp','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','重启您的\x20MCP\x20客户端以使配置生效','点击配置\x20MCP','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20客户端配置','MCP\x20连接中...','API\x20密钥无效,请检查密钥是否正确','4ZViyRL','配置无效','连接中...','配置步骤:','权限验证失败,请检查您的\x20API\x20密钥','Univer\x20AI\x20控制台','将以下配置添加到您的\x20MCP\x20客户端设置中:','2744jdtxIT','配置保存失败','复制以下\x20JSON\x20配置','您的\x20API\x20密钥安全存储在本地存储中','请输入您的\x20API\x20密钥','带有\x20Bearer\x20前缀的\x20API\x20密钥。','配置参数:','最大重试次数','未连接','9176616JMVyZr','API\x20密钥不能为空'];_0x1c14=function(){return _0x9e09cf;};return _0x1c14();}const e={'mcpStatus':{'disconnected':_0x3c5a16(0x11f),'connecting':_0x3c5a16(0x127),'connected':_0x3c5a16(0x119),'failed':_0x3c5a16(0x114),'retrying':'MCP\x20重连中...','unknown':_0x3c5a16(0x10d),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x3c5a16(0x112),'networkError':_0x3c5a16(0x13c),'maxRetriesExceeded':_0x3c5a16(0x11b),'clickToConnect':_0x3c5a16(0x11d),'clickToConfigure':_0x3c5a16(0x124)},'mcpConfig':{'title':'MCP\x20配置','description':_0x3c5a16(0x125),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x3c5a16(0x134),'apiKeyHint':_0x3c5a16(0x110),'enableAuth':_0x3c5a16(0x113),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x3c5a16(0x126),'mcpClientConfig':_0x3c5a16(0x126),'configInstructions':_0x3c5a16(0x12f),'configStepTitle':_0x3c5a16(0x12c),'configStep1':_0x3c5a16(0x132),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x3c5a16(0x123),'sessionId':_0x3c5a16(0x116),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x3c5a16(0x135),'configParameters':_0x3c5a16(0x136),'maxRetries':_0x3c5a16(0x137),'save':_0x3c5a16(0x10b),'saving':'保存中...','note1':_0x3c5a16(0x115),'note2':_0x3c5a16(0x133),'configSaved':_0x3c5a16(0x10e),'configError':_0x3c5a16(0x131),'apiApplyInfo':{'title':_0x3c5a16(0x13d),'description':_0x3c5a16(0x122),'univerAiLabel':_0x3c5a16(0x12e),'getStarted':_0x3c5a16(0x11a)},'validation':{'apiKeyRequired':_0x3c5a16(0x13a),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20','invalidConfig':_0x3c5a16(0x12a),'invalidApiKey':_0x3c5a16(0x128)},'connectionStatus':{'disconnected':_0x3c5a16(0x138),'connecting':_0x3c5a16(0x12b),'connected':'已连接','failed':_0x3c5a16(0x117),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x3c5a16(0x12d),'sessionOccupied':_0x3c5a16(0x111),'networkError':_0x3c5a16(0x13f),'maxRetriesExceeded':_0x3c5a16(0x13e)}}};export{e as default};
1
+ const _0x29ab7a=_0x3349;function _0x3349(_0x2eaa77,_0x5789fe){const _0x1e428b=_0x1e42();return _0x3349=function(_0x3349bd,_0x1b77d0){_0x3349bd=_0x3349bd-0x170;let _0x2471d1=_0x1e428b[_0x3349bd];return _0x2471d1;},_0x3349(_0x2eaa77,_0x5789fe);}(function(_0xdffaee,_0x39ea44){const _0x22908e=_0x3349,_0x56ab02=_0xdffaee();while(!![]){try{const _0x4dc0cd=parseInt(_0x22908e(0x175))/0x1*(parseInt(_0x22908e(0x1a1))/0x2)+-parseInt(_0x22908e(0x184))/0x3*(parseInt(_0x22908e(0x18e))/0x4)+parseInt(_0x22908e(0x19f))/0x5+-parseInt(_0x22908e(0x192))/0x6*(parseInt(_0x22908e(0x178))/0x7)+-parseInt(_0x22908e(0x19c))/0x8*(-parseInt(_0x22908e(0x19d))/0x9)+-parseInt(_0x22908e(0x17f))/0xa+parseInt(_0x22908e(0x198))/0xb;if(_0x4dc0cd===_0x39ea44)break;else _0x56ab02['push'](_0x56ab02['shift']());}catch(_0x49f125){_0x56ab02['push'](_0x56ab02['shift']());}}}(_0x1e42,0xa4a8b));const e={'mcpStatus':{'disconnected':_0x29ab7a(0x18c),'connecting':_0x29ab7a(0x180),'connected':_0x29ab7a(0x183),'failed':_0x29ab7a(0x194),'retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':_0x29ab7a(0x17b),'sessionOccupied':_0x29ab7a(0x17a),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x29ab7a(0x185)},'mcpConfig':{'title':_0x29ab7a(0x173),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x29ab7a(0x18b),'apiKeyPlaceholder':_0x29ab7a(0x199),'apiKeyHint':_0x29ab7a(0x177),'enableAuth':_0x29ab7a(0x172),'enableAuthHint':_0x29ab7a(0x19b),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x29ab7a(0x195),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x29ab7a(0x188),'configStep1':_0x29ab7a(0x179),'configStep2':_0x29ab7a(0x182),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x29ab7a(0x1a0),'sessionIdDescription':_0x29ab7a(0x19a),'authorizationDescription':_0x29ab7a(0x189),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x29ab7a(0x181),'saving':_0x29ab7a(0x18d),'note1':_0x29ab7a(0x190),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x29ab7a(0x18f),'configError':_0x29ab7a(0x18a),'apiApplyInfo':{'title':_0x29ab7a(0x17d),'description':_0x29ab7a(0x19e),'univerAiLabel':_0x29ab7a(0x176),'getStarted':_0x29ab7a(0x171)},'validation':{'apiKeyRequired':_0x29ab7a(0x17c),'apiKeyTooShort':_0x29ab7a(0x186),'invalidConfig':'配置无效','invalidApiKey':_0x29ab7a(0x193)},'connectionStatus':{'disconnected':'未连接','connecting':_0x29ab7a(0x170),'connected':_0x29ab7a(0x174),'failed':_0x29ab7a(0x197),'retrying':_0x29ab7a(0x191)},'connectionError':{'unauthorized':_0x29ab7a(0x196),'sessionOccupied':_0x29ab7a(0x187),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x29ab7a(0x17e)}}};function _0x1e42(){const _0x20b2fc=['会话\x20ID\x20已被占用,请稍后再试','配置步骤:','带有\x20Bearer\x20前缀的\x20API\x20密钥。','配置保存失败','API\x20密钥','MCP\x20已断开','保存中...','16yJFiax','配置保存成功','配置更改将立即生效','重连中...','1174644GHCcxn','API\x20密钥无效,请检查密钥是否正确','MCP\x20连接失败','MCP\x20客户端配置','权限验证失败,请检查您的\x20API\x20密钥','连接失败','11648417whsUwB','请输入您的\x20API\x20密钥','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','启用身份验证以获得安全连接','1912sIiwaJ','2655ypjcIN','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','6577470FKvcke','会话ID','496810CZHrIj','连接中...','几秒钟内获取您的\x20API\x20密钥','启用身份验证','MCP\x20配置','已连接','3TfRfGe','Univer\x20AI\x20控制台','您的\x20API\x20密钥将在此浏览器中本地存储','35YFVLVz','复制以下\x20JSON\x20配置','MCP:\x20会话\x20ID\x20已被占用','MCP:\x20未授权','API\x20密钥不能为空','什么是\x20API\x20密钥?','超出最大重试次数,请稍后再试','3841320UYzuas','MCP\x20连接中...','保存配置','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20已连接','864537IlFUYM','点击配置\x20MCP','API\x20密钥长度至少需要\x2010\x20位'];_0x1e42=function(){return _0x20b2fc;};return _0x1e42();}export{e as default};
@@ -1 +1 @@
1
- const _0x2248f9=_0x224a;function _0x21ff(){const _0x1be64c=['MCP:\x20Max\x20Retries\x20Exceeded','4812bwGhOc','808256nOuqgn','Invalid\x20configuration','MCP\x20Configuration','27svSjGV','Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Client\x20Configuration','API\x20Key','2394WzIypb','579urNJQF','Copy\x20the\x20JSON\x20configuration\x20below','Enter\x20your\x20API\x20key','MCP\x20Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','MCP:\x20Session\x20ID\x20Occupied','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','17ycxKuM','Failed\x20to\x20save\x20configuration','MCP\x20Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20saved\x20successfully','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connected','Enable\x20authentication\x20for\x20secure\x20connections','62930cFRVZb','26470BKTGWO','API\x20key\x20is\x20required','Configuration\x20Steps:','Univer\x20AI\x20Console','25320lcRubz','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.','MCP:\x20Unauthorized','672672OsJLpi','MCP:\x20Network\x20Error','Configuration\x20Parameters:','318sNOMkm','Disconnected','MCP\x20Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage'];_0x21ff=function(){return _0x1be64c;};return _0x21ff();}function _0x224a(_0x5137a4,_0xb832c7){const _0x21fff0=_0x21ff();return _0x224a=function(_0x224a10,_0x3ccb04){_0x224a10=_0x224a10-0x15c;let _0x51b02a=_0x21fff0[_0x224a10];return _0x51b02a;},_0x224a(_0x5137a4,_0xb832c7);}(function(_0x573c79,_0x28d9a1){const _0x4ba916=_0x224a,_0x4acba5=_0x573c79();while(!![]){try{const _0x5bae11=-parseInt(_0x4ba916(0x181))/0x1*(-parseInt(_0x4ba916(0x15c))/0x2)+parseInt(_0x4ba916(0x176))/0x3*(-parseInt(_0x4ba916(0x16c))/0x4)+-parseInt(_0x4ba916(0x18d))/0x5+parseInt(_0x4ba916(0x167))/0x6*(-parseInt(_0x4ba916(0x175))/0x7)+parseInt(_0x4ba916(0x16d))/0x8+parseInt(_0x4ba916(0x170))/0x9*(parseInt(_0x4ba916(0x160))/0xa)+parseInt(_0x4ba916(0x164))/0xb;if(_0x5bae11===_0x28d9a1)break;else _0x4acba5['push'](_0x4acba5['shift']());}catch(_0x57255d){_0x4acba5['push'](_0x4acba5['shift']());}}}(_0x21ff,0x2032c));const e={'mcpStatus':{'disconnected':_0x2248f9(0x169),'connecting':_0x2248f9(0x183),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x2248f9(0x179),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2248f9(0x163),'sessionOccupied':_0x2248f9(0x17e),'networkError':_0x2248f9(0x165),'maxRetriesExceeded':_0x2248f9(0x16b),'clickToConnect':_0x2248f9(0x17d),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2248f9(0x16f),'description':_0x2248f9(0x17b),'apiKey':_0x2248f9(0x174),'apiKeyPlaceholder':_0x2248f9(0x178),'apiKeyHint':_0x2248f9(0x17c),'enableAuth':_0x2248f9(0x17f),'enableAuthHint':_0x2248f9(0x18c),'connectionInfo':_0x2248f9(0x173),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2248f9(0x186),'configStepTitle':_0x2248f9(0x15e),'configStep1':_0x2248f9(0x177),'configStep2':_0x2248f9(0x172),'configStep3':_0x2248f9(0x188),'sessionId':'Session\x20ID','sessionIdDescription':_0x2248f9(0x17a),'authorizationDescription':_0x2248f9(0x162),'configParameters':_0x2248f9(0x166),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0x2248f9(0x18a),'note2':_0x2248f9(0x16a),'configSaved':_0x2248f9(0x187),'configError':_0x2248f9(0x182),'apiApplyInfo':{'title':_0x2248f9(0x189),'description':_0x2248f9(0x161),'univerAiLabel':_0x2248f9(0x15f),'getStarted':_0x2248f9(0x180)},'validation':{'apiKeyRequired':_0x2248f9(0x15d),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2248f9(0x16e),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2248f9(0x168),'connecting':'Connecting...','connected':_0x2248f9(0x18b),'failed':'Connection\x20Failed','retrying':_0x2248f9(0x171)},'connectionError':{'unauthorized':_0x2248f9(0x184),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2248f9(0x185)}}},n=e;export{n as default};
1
+ function _0x5cad(_0x832d8f,_0x1be96a){const _0x5bef85=_0x5bef();return _0x5cad=function(_0x5cad3e,_0x34b3f9){_0x5cad3e=_0x5cad3e-0x176;let _0x353408=_0x5bef85[_0x5cad3e];return _0x353408;},_0x5cad(_0x832d8f,_0x1be96a);}const _0x4dc154=_0x5cad;(function(_0x464de1,_0x41d1f6){const _0x41ffa1=_0x5cad,_0x3520e4=_0x464de1();while(!![]){try{const _0x195e79=parseInt(_0x41ffa1(0x1a1))/0x1*(-parseInt(_0x41ffa1(0x189))/0x2)+-parseInt(_0x41ffa1(0x1a5))/0x3+-parseInt(_0x41ffa1(0x182))/0x4+parseInt(_0x41ffa1(0x1a2))/0x5*(-parseInt(_0x41ffa1(0x17f))/0x6)+-parseInt(_0x41ffa1(0x199))/0x7+parseInt(_0x41ffa1(0x19d))/0x8+parseInt(_0x41ffa1(0x192))/0x9*(parseInt(_0x41ffa1(0x19e))/0xa);if(_0x195e79===_0x41d1f6)break;else _0x3520e4['push'](_0x3520e4['shift']());}catch(_0x59b3a6){_0x3520e4['push'](_0x3520e4['shift']());}}}(_0x5bef,0x74ad8));function _0x5bef(){const _0x2055ff=['Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','108468aFZasP','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','MCP\x20Disconnected','Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4287948cDDwOi','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Configuration','MCP\x20Client\x20Configuration','5491792jBmtaH','1930BdTrls','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.','541303lJMErN','120710jBCgje','MCP:\x20Unauthorized','Retrying...','2484624PqvKUz','Enable\x20Authentication','Configuration\x20Steps:','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','MCP:\x20Network\x20Error','Enter\x20your\x20API\x20key','MCP\x20Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20configure\x20MCP','12buCefO','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','2016956sWMDES','Configuration\x20Parameters:','Connected','API\x20key\x20is\x20required','Session\x20ID','Saving...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','2SaCwtf','Disconnected','Click\x20to\x20connect\x20MCP'];_0x5bef=function(){return _0x2055ff;};return _0x5bef();}const e={'mcpStatus':{'disconnected':_0x4dc154(0x196),'connecting':'MCP\x20Connecting...','connected':_0x4dc154(0x18e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4dc154(0x17b),'unknown':_0x4dc154(0x193),'unauthorized':_0x4dc154(0x1a3),'sessionOccupied':_0x4dc154(0x180),'networkError':_0x4dc154(0x179),'maxRetriesExceeded':_0x4dc154(0x19a),'clickToConnect':_0x4dc154(0x18b),'clickToConfigure':_0x4dc154(0x17e)},'mcpConfig':{'title':_0x4dc154(0x19b),'description':_0x4dc154(0x194),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4dc154(0x17a),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4dc154(0x1a6),'enableAuthHint':_0x4dc154(0x18c),'connectionInfo':_0x4dc154(0x19c),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4dc154(0x18f),'configStepTitle':_0x4dc154(0x176),'configStep1':_0x4dc154(0x17c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4dc154(0x18d),'sessionId':_0x4dc154(0x186),'sessionIdDescription':_0x4dc154(0x188),'authorizationDescription':_0x4dc154(0x190),'configParameters':_0x4dc154(0x183),'maxRetries':'Max\x20Retries','save':_0x4dc154(0x195),'saving':_0x4dc154(0x187),'note1':_0x4dc154(0x191),'note2':_0x4dc154(0x198),'configSaved':_0x4dc154(0x181),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4dc154(0x1a0),'univerAiLabel':_0x4dc154(0x178),'getStarted':_0x4dc154(0x177)},'validation':{'apiKeyRequired':_0x4dc154(0x185),'apiKeyTooShort':_0x4dc154(0x17d),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4dc154(0x18a),'connecting':_0x4dc154(0x197),'connected':_0x4dc154(0x184),'failed':'Connection\x20Failed','retrying':_0x4dc154(0x1a4)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4dc154(0x19f),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x22b8(_0x2ba5a5,_0x11c116){var _0x416ad5=_0x416a();return _0x22b8=function(_0x22b891,_0xf36a49){_0x22b891=_0x22b891-0x1ab;var _0x36f41e=_0x416ad5[_0x22b891];return _0x36f41e;},_0x22b8(_0x2ba5a5,_0x11c116);}(function(_0x2928ca,_0x5d26c2){var _0x5f27ba=_0x22b8,_0x3f7623=_0x2928ca();while(!![]){try{var _0x1dce97=parseInt(_0x5f27ba(0x1b2))/0x1+-parseInt(_0x5f27ba(0x299))/0x2*(parseInt(_0x5f27ba(0x208))/0x3)+parseInt(_0x5f27ba(0x2f8))/0x4+parseInt(_0x5f27ba(0x1d4))/0x5*(parseInt(_0x5f27ba(0x2d3))/0x6)+parseInt(_0x5f27ba(0x219))/0x7*(-parseInt(_0x5f27ba(0x25d))/0x8)+-parseInt(_0x5f27ba(0x264))/0x9*(parseInt(_0x5f27ba(0x20a))/0xa)+-parseInt(_0x5f27ba(0x224))/0xb;if(_0x1dce97===_0x5d26c2)break;else _0x3f7623['push'](_0x3f7623['shift']());}catch(_0x3b5327){_0x3f7623['push'](_0x3f7623['shift']());}}}(_0x416a,0x3371b),function(_0x5c3117,_0xd8dc81){var _0x2d1ecf=_0x22b8;typeof exports==_0x2d1ecf(0x2fa)&&typeof module<'u'?_0xd8dc81(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==_0x2d1ecf(0x2cd)&&define[_0x2d1ecf(0x277)]?define(['exports',_0x2d1ecf(0x30a),_0x2d1ecf(0x2fb),_0x2d1ecf(0x2d1),_0x2d1ecf(0x204),_0x2d1ecf(0x222),_0x2d1ecf(0x32f),'react',_0x2d1ecf(0x20c)],_0xd8dc81):(_0x5c3117=typeof globalThis<'u'?globalThis:_0x5c3117||self,_0xd8dc81(_0x5c3117[_0x2d1ecf(0x1fe)]={},_0x5c3117['UniverCore'],_0x5c3117[_0x2d1ecf(0x1e0)],_0x5c3117[_0x2d1ecf(0x1ab)],_0x5c3117[_0x2d1ecf(0x31d)],_0x5c3117['UniverUi'],_0x5c3117[_0x2d1ecf(0x32f)],_0x5c3117[_0x2d1ecf(0x1e0)],_0x5c3117[_0x2d1ecf(0x28c)]));}(this,function(_0x255e86,_0x3f0d6f,_0x4c3b4a,_0x13170f,_0xdcb927,_0xbaa7,_0x44667e,_0x11a658,_0x16aab4){'use strict';var _0x5ae9d3=_0x22b8;var _0x57b67c=Object[_0x5ae9d3(0x2a2)],_0x3410ae=(_0x24d283,_0x294ec1,_0x1cd37c)=>_0x294ec1 in _0x24d283?_0x57b67c(_0x24d283,_0x294ec1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cd37c}):_0x24d283[_0x294ec1]=_0x1cd37c,_0x4911bf=(_0xf0eaad,_0x2025cf,_0x4cea57)=>_0x3410ae(_0xf0eaad,typeof _0x2025cf!=_0x5ae9d3(0x283)?_0x2025cf+'':_0x2025cf,_0x4cea57),_0xfbaf2d=function(){var _0xdc499a=_0x5ae9d3;return _0xfbaf2d=Object[_0xdc499a(0x310)]||function(_0x4865f6){var _0x41eab4=_0xdc499a;for(var _0x26c431,_0x44ea7c=0x1,_0x47a20d=arguments[_0x41eab4(0x1d8)];_0x44ea7c<_0x47a20d;_0x44ea7c++){_0x26c431=arguments[_0x44ea7c];for(var _0x474b88 in _0x26c431)Object[_0x41eab4(0x1b6)]['hasOwnProperty'][_0x41eab4(0x2b7)](_0x26c431,_0x474b88)&&(_0x4865f6[_0x474b88]=_0x26c431[_0x474b88]);}return _0x4865f6;},_0xfbaf2d[_0xdc499a(0x1c9)](this,arguments);},_0x7f002b=function(_0x1f62f9,_0x5b47f8){var _0x1eab4f=_0x5ae9d3,_0x454502={};for(var _0x37baf6 in _0x1f62f9)Object[_0x1eab4f(0x1b6)]['hasOwnProperty'][_0x1eab4f(0x2b7)](_0x1f62f9,_0x37baf6)&&_0x5b47f8[_0x1eab4f(0x239)](_0x37baf6)<0x0&&(_0x454502[_0x37baf6]=_0x1f62f9[_0x37baf6]);if(_0x1f62f9!=null&&typeof Object[_0x1eab4f(0x1ef)]==_0x1eab4f(0x2cd)){for(var _0x37704a=0x0,_0x37baf6=Object[_0x1eab4f(0x1ef)](_0x1f62f9);_0x37704a<_0x37baf6[_0x1eab4f(0x1d8)];_0x37704a++)_0x5b47f8[_0x1eab4f(0x239)](_0x37baf6[_0x37704a])<0x0&&Object['prototype'][_0x1eab4f(0x24a)][_0x1eab4f(0x2b7)](_0x1f62f9,_0x37baf6[_0x37704a])&&(_0x454502[_0x37baf6[_0x37704a]]=_0x1f62f9[_0x37baf6[_0x37704a]]);}return _0x454502;},_0xdcceab=_0x11a658[_0x5ae9d3(0x336)](function(_0x456c05,_0x24f752){var _0x309f14=_0x5ae9d3,_0x5665da=_0x456c05['icon'],_0x37124a=_0x456c05['id'],_0x453d82=_0x456c05[_0x309f14(0x25c)],_0x5b70cf=_0x456c05[_0x309f14(0x2b0)],_0x3151fa=_0x7f002b(_0x456c05,[_0x309f14(0x26f),'id',_0x309f14(0x25c),_0x309f14(0x2b0)]),_0x7341d7=_0x309f14(0x313)[_0x309f14(0x1c7)](_0x37124a,'\x20')[_0x309f14(0x1c7)](_0x453d82||'')[_0x309f14(0x2cc)](),_0x1cae1b=_0x11a658[_0x309f14(0x26a)]('_'[_0x309f14(0x1c7)](_0x195fd3()));return _0x435d76(_0x5665da,''[_0x309f14(0x1c7)](_0x37124a),{'defIds':_0x5665da['defIds'],'idSuffix':_0x1cae1b[_0x309f14(0x2ea)]},_0xfbaf2d({'ref':_0x24f752,'className':_0x7341d7},_0x3151fa),_0x5b70cf);});function _0x435d76(_0x41819d,_0x13e979,_0x56ceb9,_0x11018e,_0x5b5be9){var _0x3c83df=_0x5ae9d3;return _0x11a658[_0x3c83df(0x2df)](_0x41819d[_0x3c83df(0x240)],_0xfbaf2d(_0xfbaf2d({'key':_0x13e979},_0x391300(_0x41819d,_0x56ceb9,_0x5b5be9)),_0x11018e),(_0x3d70af(_0x41819d,_0x56ceb9)[_0x3c83df(0x1c3)]||[])[_0x3c83df(0x214)](function(_0x53545e,_0x2ea9eb){var _0x2301bf=_0x3c83df;return _0x435d76(_0x53545e,''[_0x2301bf(0x1c7)](_0x13e979,'-')[_0x2301bf(0x1c7)](_0x41819d['tag'],'-')[_0x2301bf(0x1c7)](_0x2ea9eb),_0x56ceb9,void 0x0,_0x5b5be9);}));}function _0x391300(_0x445b37,_0x4cec60,_0x2aa169){var _0x483ece=_0x5ae9d3,_0x282631=_0xfbaf2d({},_0x445b37['attrs']);_0x2aa169!=null&&_0x2aa169[_0x483ece(0x287)]&&_0x282631[_0x483ece(0x1f3)]===_0x483ece(0x287)&&(_0x282631[_0x483ece(0x1f3)]=_0x2aa169[_0x483ece(0x287)]),_0x445b37['tag']===_0x483ece(0x1e5)&&_0x282631['id']&&(_0x282631['id']=_0x282631['id']+_0x4cec60[_0x483ece(0x2a0)]),Object[_0x483ece(0x1ca)](_0x282631)[_0x483ece(0x2ca)](function(_0x5c89f2){var _0x124fe9=_0x483ece,_0x117190=_0x5c89f2[0x0],_0x87902=_0x5c89f2[0x1];_0x117190==='mask'&&typeof _0x87902==_0x124fe9(0x265)&&(_0x282631[_0x117190]=_0x87902[_0x124fe9(0x220)](/url\(#(.*)\)/,_0x124fe9(0x2fe)[_0x124fe9(0x1c7)](_0x4cec60[_0x124fe9(0x2a0)],')')));});var _0x56cdab=_0x4cec60[_0x483ece(0x1e4)];return!_0x56cdab||_0x56cdab[_0x483ece(0x1d8)]===0x0||(_0x445b37[_0x483ece(0x240)]===_0x483ece(0x1bb)&&_0x282631[_0x483ece(0x2e9)]&&(_0x282631[_0x483ece(0x2e9)]=_0x282631[_0x483ece(0x2e9)]+_0x4cec60[_0x483ece(0x2a0)]),Object['entries'](_0x282631)[_0x483ece(0x2ca)](function(_0x51d9fa){var _0x2a9934=_0x483ece,_0x17a622=_0x51d9fa[0x0],_0x312d66=_0x51d9fa[0x1];typeof _0x312d66==_0x2a9934(0x265)&&(_0x282631[_0x17a622]=_0x312d66['replace'](/url\(#(.*)\)/,_0x2a9934(0x2fe)['concat'](_0x4cec60['idSuffix'],')')));})),_0x282631;}function _0x3d70af(_0x19a75a,_0x5bde65){var _0x4fb6bb=_0x5ae9d3,_0x500a68,_0x1c8f51=_0x5bde65[_0x4fb6bb(0x1e4)];return!_0x1c8f51||_0x1c8f51[_0x4fb6bb(0x1d8)]===0x0?_0x19a75a:_0x19a75a[_0x4fb6bb(0x240)]===_0x4fb6bb(0x295)&&(!((_0x500a68=_0x19a75a[_0x4fb6bb(0x1c3)])===null||_0x500a68===void 0x0)&&_0x500a68[_0x4fb6bb(0x1d8)])?_0xfbaf2d(_0xfbaf2d({},_0x19a75a),{'children':_0x19a75a['children'][_0x4fb6bb(0x214)](function(_0x10ed6f){var _0x209c77=_0x4fb6bb;return typeof _0x10ed6f['attrs']['id']==_0x209c77(0x265)&&_0x1c8f51&&_0x1c8f51[_0x209c77(0x1d0)](_0x10ed6f[_0x209c77(0x2c8)]['id'])?_0xfbaf2d(_0xfbaf2d({},_0x10ed6f),{'attrs':_0xfbaf2d(_0xfbaf2d({},_0x10ed6f[_0x209c77(0x2c8)]),{'id':_0x10ed6f['attrs']['id']+_0x5bde65[_0x209c77(0x2a0)]})}):_0x10ed6f;})}):_0x19a75a;}function _0x195fd3(){var _0xf9eb21=_0x5ae9d3;return Math['random']()['toString'](0x24)[_0xf9eb21(0x2d4)](0x2,0x8);}_0xdcceab['displayName']='UniverIcon';var _0x405868={'tag':_0x5ae9d3(0x226),'attrs':{'xmlns':_0x5ae9d3(0x1ad),'fill':_0x5ae9d3(0x2d7),'viewBox':_0x5ae9d3(0x272),'width':_0x5ae9d3(0x1ba),'height':_0x5ae9d3(0x1ba)},'children':[{'tag':_0x5ae9d3(0x342),'attrs':{'fill':'currentColor','d':_0x5ae9d3(0x229),'fillRule':_0x5ae9d3(0x274),'clipRule':_0x5ae9d3(0x274)}}]},_0x32749c=_0x11a658[_0x5ae9d3(0x336)](function(_0x16ce4f,_0x32db9a){var _0x3e075c=_0x5ae9d3;return _0x11a658[_0x3e075c(0x2df)](_0xdcceab,Object['assign']({},_0x16ce4f,{'id':_0x3e075c(0x25f),'ref':_0x32db9a,'icon':_0x405868}));});_0x32749c[_0x5ae9d3(0x33f)]=_0x5ae9d3(0x33b);var _0x1716e8={'tag':_0x5ae9d3(0x226),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5ae9d3(0x2d7),'viewBox':'0\x200\x2017\x2017','width':_0x5ae9d3(0x1ba),'height':_0x5ae9d3(0x1ba)},'children':[{'tag':_0x5ae9d3(0x342),'attrs':{'stroke':_0x5ae9d3(0x317),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x5ae9d3(0x31c),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x5ae9d3(0x342),'attrs':{'stroke':'currentColor','d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x5ae9d3(0x31c),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0x3698ec=_0x11a658[_0x5ae9d3(0x336)](function(_0x1b4dbd,_0x2560af){var _0x261d9a=_0x5ae9d3;return _0x11a658[_0x261d9a(0x2df)](_0xdcceab,Object[_0x261d9a(0x310)]({},_0x1b4dbd,{'id':_0x261d9a(0x2b5),'ref':_0x2560af,'icon':_0x1716e8}));});_0x3698ec['displayName']=_0x5ae9d3(0x211);var _0x2d94b3={'tag':'svg','attrs':{'xmlns':_0x5ae9d3(0x1ad),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x5ae9d3(0x1ba)},'children':[{'tag':_0x5ae9d3(0x342),'attrs':{'fill':_0x5ae9d3(0x317),'d':_0x5ae9d3(0x2e2)}},{'tag':'path','attrs':{'fill':'currentColor','d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x5ae9d3(0x342),'attrs':{'fill':_0x5ae9d3(0x317),'d':_0x5ae9d3(0x2d9),'fillRule':_0x5ae9d3(0x274),'clipRule':'evenodd'}}]},_0x37aca4=_0x11a658['forwardRef'](function(_0x34fd19,_0x21bfb3){var _0x33364e=_0x5ae9d3;return _0x11a658[_0x33364e(0x2df)](_0xdcceab,Object[_0x33364e(0x310)]({},_0x34fd19,{'id':'help-single','ref':_0x21bfb3,'icon':_0x2d94b3}));});_0x37aca4[_0x5ae9d3(0x33f)]=_0x5ae9d3(0x2d0);var _0x20b763={'tag':'svg','attrs':{'xmlns':_0x5ae9d3(0x1ad),'fill':_0x5ae9d3(0x2d7),'viewBox':_0x5ae9d3(0x272),'width':'1em','height':_0x5ae9d3(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5ae9d3(0x317),'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':_0x5ae9d3(0x31c),'strokeLinejoin':_0x5ae9d3(0x31c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x5ae9d3(0x205),'d':_0x5ae9d3(0x24e)}}]}]}],'defIds':[_0x5ae9d3(0x2a4)]},_0x291f11=_0x11a658[_0x5ae9d3(0x336)](function(_0x8fba5,_0x5245c5){var _0x6c556e=_0x5ae9d3;return _0x11a658[_0x6c556e(0x2df)](_0xdcceab,Object[_0x6c556e(0x310)]({},_0x8fba5,{'id':_0x6c556e(0x28b),'ref':_0x5245c5,'icon':_0x20b763}));});_0x291f11[_0x5ae9d3(0x33f)]=_0x5ae9d3(0x30e);var _0x4a86e={'tag':'svg','attrs':{'xmlns':_0x5ae9d3(0x1ad),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x5ae9d3(0x1ba),'height':_0x5ae9d3(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':_0x5ae9d3(0x31a)},'children':[{'tag':_0x5ae9d3(0x342),'attrs':{'stroke':_0x5ae9d3(0x317),'d':_0x5ae9d3(0x2ae),'strokeLinecap':_0x5ae9d3(0x31c),'strokeLinejoin':_0x5ae9d3(0x31c),'strokeWidth':1.2}}]},{'tag':_0x5ae9d3(0x295),'attrs':{},'children':[{'tag':_0x5ae9d3(0x1cf),'attrs':{'id':_0x5ae9d3(0x33c)},'children':[{'tag':_0x5ae9d3(0x342),'attrs':{'fill':_0x5ae9d3(0x205),'d':'M0\x200H16V16H0z','transform':_0x5ae9d3(0x1df)}}]}]}],'defIds':[_0x5ae9d3(0x33c)]},_0x4272ab=_0x11a658['forwardRef'](function(_0x1850c1,_0x6631ce){var _0x54fbdf=_0x5ae9d3;return _0x11a658[_0x54fbdf(0x2df)](_0xdcceab,Object[_0x54fbdf(0x310)]({},_0x1850c1,{'id':_0x54fbdf(0x2a3),'ref':_0x6631ce,'icon':_0x4a86e}));});_0x4272ab[_0x5ae9d3(0x33f)]=_0x5ae9d3(0x233);function _0x56c470(_0x209b57){var _0x1bf7c9=_0x5ae9d3,_0x52f491,_0x1b2402;const {mcpCoreConfig:_0x2ccb7a,onSave:_0x2346cd,loading:_0x497ac8=!0x1,config:_0x23f300,connectionStatus$:_0x4425c1,connectionError$:_0x89231d,currentApiKey$:_0x398c0c,currentSessionId$:_0x37fb8f}=_0x209b57,_0x248dd8=_0xbaa7[_0x1bf7c9(0x330)](_0x3f0d6f[_0x1bf7c9(0x27c)]),_0x38fdc4=_0xbaa7[_0x1bf7c9(0x242)](_0x4425c1,_0x13170f[_0x1bf7c9(0x2ab)][_0x1bf7c9(0x322)]),_0x533ef8=_0xbaa7[_0x1bf7c9(0x242)](_0x89231d,_0x13170f['MCPConnectionError'][_0x1bf7c9(0x1e2)]),_0x472960=_0xbaa7['useObservable'](_0x37fb8f,''),_0x1b5bc9=_0xbaa7['useObservable'](_0x398c0c,''),[_0x2292fd,_0x359992]=_0x11a658[_0x1bf7c9(0x32e)](_0x1b5bc9||''),_0x42b732=!0x0,_0x5d505b=_0x23f300[_0x1bf7c9(0x248)]&&_0x2ccb7a[_0x1bf7c9(0x1c1)]&&(_0x2ccb7a[_0x1bf7c9(0x1c1)]['includes'](_0x1bf7c9(0x2a1))||_0x2ccb7a[_0x1bf7c9(0x1c1)][_0x1bf7c9(0x1d0)]('univer.ai')),_0x51989e=(_0x52f491=_0x2ccb7a[_0x1bf7c9(0x1c1)])==null?void 0x0:_0x52f491['includes'](_0x1bf7c9(0x2a1)),_0x41046b=(_0x1b2402=_0x2ccb7a[_0x1bf7c9(0x1c1)])==null?void 0x0:_0x1b2402['includes'](_0x1bf7c9(0x2c1)),_0x150925=_0x51989e?_0x1bf7c9(0x301):'https://console.univer.ai',_0x23fe97=_0x23f300[_0x1bf7c9(0x248)]&&(_0x51989e||_0x41046b),[_0x4af52c,_0x4750d6]=_0x11a658[_0x1bf7c9(0x32e)](!_0x2292fd[_0x1bf7c9(0x2cc)]()),_0x3a4593=(_0x8f41d4,_0x452c64)=>{var _0x139214=_0x1bf7c9;if(_0x452c64===_0x13170f[_0x139214(0x328)][_0x139214(0x22d)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x8f41d4){case _0x13170f[_0x139214(0x2ab)][_0x139214(0x304)]:return _0x139214(0x30c);case _0x13170f[_0x139214(0x2ab)]['CONNECTING']:case _0x13170f[_0x139214(0x2ab)][_0x139214(0x312)]:return _0x139214(0x296);case _0x13170f[_0x139214(0x2ab)]['FAILED']:return _0x139214(0x1d1);default:return _0x139214(0x217);}},_0x57216d=(_0x496543,_0x400012)=>{var _0x50a18c=_0x1bf7c9;if(_0x400012===_0x13170f[_0x50a18c(0x328)][_0x50a18c(0x22d)])return _0x50a18c(0x290);switch(_0x496543){case _0x13170f[_0x50a18c(0x2ab)][_0x50a18c(0x304)]:return'univer-bg-green-500';case _0x13170f['MCPConnectionStatus']['CONNECTING']:case _0x13170f[_0x50a18c(0x2ab)]['RETRYING']:return _0x50a18c(0x23f);case _0x13170f[_0x50a18c(0x2ab)][_0x50a18c(0x249)]:return _0x50a18c(0x290);default:return _0x50a18c(0x1b7);}},_0x32a5eb=_0x21fc78=>{var _0xc75fca=_0x1bf7c9;switch(_0x21fc78){case _0x13170f[_0xc75fca(0x2ab)][_0xc75fca(0x304)]:return _0x248dd8['t'](_0xc75fca(0x231));case _0x13170f[_0xc75fca(0x2ab)]['CONNECTING']:return _0x248dd8['t'](_0xc75fca(0x210));case _0x13170f['MCPConnectionStatus'][_0xc75fca(0x249)]:return _0x248dd8['t'](_0xc75fca(0x260));case _0x13170f[_0xc75fca(0x2ab)][_0xc75fca(0x312)]:return _0x248dd8['t'](_0xc75fca(0x33a));default:return _0x248dd8['t'](_0xc75fca(0x2c3));}},_0x1748d3=_0x152c3d=>{var _0x358774=_0x1bf7c9;switch(_0x152c3d){case _0x13170f[_0x358774(0x328)]['UNAUTHORIZED']:return _0x248dd8['t'](_0x358774(0x247));case _0x13170f[_0x358774(0x328)][_0x358774(0x297)]:return _0x248dd8['t'](_0x358774(0x2ff));case _0x13170f[_0x358774(0x328)][_0x358774(0x1f9)]:return _0x248dd8['t'](_0x358774(0x2f3));case _0x13170f[_0x358774(0x328)][_0x358774(0x1be)]:return _0x248dd8['t'](_0x358774(0x279));default:return'';}},_0x4ec3e5=_0x11a658[_0x1bf7c9(0x281)](()=>{var _0x35d79e=_0x1bf7c9;const _0x100759={..._0x2ccb7a,'apiKey':_0x2292fd[_0x35d79e(0x2cc)](),'enableAuth':_0x42b732};_0x2346cd(_0x100759);},[_0x2ccb7a,_0x2292fd,_0x42b732,_0x2346cd]),_0x1dd9fe=_0x2292fd[_0x1bf7c9(0x2cc)]()[_0x1bf7c9(0x1d8)]>0x0;return _0x4c3b4a['jsxs'](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x25b),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x28d),'children':_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x2ce),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x230),'children':_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'className':'univer-text-white','children':'⚙'})}),_0x4c3b4a[_0x1bf7c9(0x2d6)]('div',{'children':_0x4c3b4a[_0x1bf7c9(0x2d6)]('p',{'className':_0x1bf7c9(0x1bf),'children':_0x248dd8['t'](_0x1bf7c9(0x21d))})})]})}),_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x2de),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'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'+_0x3a4593(_0x38fdc4,_0x533ef8)+_0x1bf7c9(0x24b),'children':_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x4c3b4a['jsx'](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x319)+_0x57216d(_0x38fdc4,_0x533ef8)+'\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'}),_0x4c3b4a[_0x1bf7c9(0x2d6)]('span',{'className':_0x1bf7c9(0x2d8),'children':_0x32a5eb(_0x38fdc4)})]})}),_0x533ef8!==_0x13170f['MCPConnectionError']['NONE']&&(_0x38fdc4===_0x13170f['MCPConnectionStatus']['FAILED']||_0x533ef8===_0x13170f[_0x1bf7c9(0x328)]['UNAUTHORIZED'])&&_0x4c3b4a[_0x1bf7c9(0x2d6)]('div',{'className':_0x1bf7c9(0x215),'children':_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x234),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x4c3b4a[_0x1bf7c9(0x2d6)]('p',{'className':_0x1bf7c9(0x261),'children':_0x1748d3(_0x533ef8)})]})})]}),_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x1fb),'children':_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x236),'children':[_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x232),'children':[_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x294),{'className':_0x1bf7c9(0x285),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'children':'🔑'}),'\x20',_0x248dd8['t'](_0x1bf7c9(0x27f)),_0x4c3b4a[_0x1bf7c9(0x2d6)]('span',{'className':_0x1bf7c9(0x23a),'children':'*'}),_0x5d505b&&_0x4c3b4a['jsx']('a',{'href':_0x1bf7c9(0x303),'onClick':()=>_0x4750d6(!0x0),'className':_0x1bf7c9(0x2bc),'title':_0x248dd8['t'](_0x1bf7c9(0x203)),'children':_0x4c3b4a['jsx'](_0x37aca4,{})})]}),_0x4c3b4a['jsx'](_0xdcb927[_0x1bf7c9(0x1c0)],{'type':'text','placeholder':_0x248dd8['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x2292fd,'onChange':_0x359992,'disabled':_0x497ac8,'autoComplete':_0x1bf7c9(0x1fd)}),_0x4c3b4a[_0x1bf7c9(0x2d6)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x248dd8['t'](_0x1bf7c9(0x323))})]}),_0x5d505b&&_0x4af52c&&_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x4c3b4a[_0x1bf7c9(0x2d6)]('a',{'href':'javascript:void(0)','onClick':()=>_0x4750d6(!0x1),'className':_0x1bf7c9(0x206),'title':_0x1bf7c9(0x321),'children':_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x3698ec,{})}),_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':_0x1bf7c9(0x1bc),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)]('div',{'className':_0x1bf7c9(0x2b2),'children':_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'className':_0x1bf7c9(0x332),'children':'🚀'})}),_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x24d),'children':[_0x4c3b4a['jsx']('h4',{'className':_0x1bf7c9(0x1cc),'children':_0x248dd8['t'](_0x1bf7c9(0x203))}),_0x4c3b4a[_0x1bf7c9(0x2d6)]('p',{'className':_0x1bf7c9(0x1d9),'children':_0x248dd8['t'](_0x1bf7c9(0x2dd))}),_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x1fa),'children':_0x23fe97&&_0x4c3b4a[_0x1bf7c9(0x308)]('a',{'href':_0x150925,'target':_0x1bf7c9(0x24f),'rel':_0x1bf7c9(0x28e),'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'children':'🤖'}),_0x248dd8['t'](_0x1bf7c9(0x29f)),_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'className':_0x1bf7c9(0x2bb),'children':'↗'})]})}),_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':_0x1bf7c9(0x200),'children':['✨','\x20',_0x248dd8['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x23f300[_0x1bf7c9(0x248)]&&_0x4c3b4a['jsxs'](_0x1bf7c9(0x1c5),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x4c3b4a['jsxs']('h4',{'className':_0x1bf7c9(0x276),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'children':'🔗'}),'\x20',_0x248dd8['t']('mcpConfig.connectionInfo')]}),_0x4c3b4a['jsxs']('div',{'className':'univer-space-y-4','children':[_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':'univer-space-y-3','children':[_0x4c3b4a['jsx']('p',{'className':_0x1bf7c9(0x253),'children':_0x248dd8['t'](_0x1bf7c9(0x2ad))}),_0x4c3b4a['jsxs'](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x232),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)]('div',{'className':_0x1bf7c9(0x227),'children':_0x248dd8['t'](_0x1bf7c9(0x2c9))}),_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':_0x1bf7c9(0x288),'children':[_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':_0x1bf7c9(0x21f),'children':[_0x4c3b4a['jsx'](_0x1bf7c9(0x2ee),{'className':_0x1bf7c9(0x2ef),'children':'1'}),_0x248dd8['t'](_0x1bf7c9(0x266))]}),_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x4c3b4a[_0x1bf7c9(0x2d6)]('span',{'className':_0x1bf7c9(0x2ef),'children':'2'}),_0x248dd8['t'](_0x1bf7c9(0x284))]}),_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x21f),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'className':_0x1bf7c9(0x2ef),'children':'3'}),_0x248dd8['t']('mcpConfig.configStep3')]})]})]})]}),_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':'univer-space-y-2','children':[_0x4c3b4a[_0x1bf7c9(0x2d6)]('div',{'className':_0x1bf7c9(0x227),'children':_0x1bf7c9(0x32c)}),_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x325),'children':_0x4c3b4a['jsx'](_0x1bf7c9(0x314),{'className':_0x1bf7c9(0x1cd),'children':_0x1bf7c9(0x259)+_0x472960+_0x1bf7c9(0x1cb)+(_0x2292fd||_0x1bf7c9(0x22b))+_0x1bf7c9(0x337)})})]}),_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':_0x1bf7c9(0x23e),'children':[_0x4c3b4a['jsx']('div',{'className':_0x1bf7c9(0x227),'children':_0x248dd8['t'](_0x1bf7c9(0x20e))}),_0x4c3b4a['jsxs'](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x232),'children':[_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':_0x1bf7c9(0x20d),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x216)}),_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':_0x1bf7c9(0x209),'children':[_0x4c3b4a['jsx'](_0x1bf7c9(0x1c5),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1bf7c9(0x2e1)}),_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x27e),'children':_0x248dd8['t']('mcpConfig.sessionIdDescription')})]})]}),_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'className':_0x1bf7c9(0x20d),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)]('div',{'className':_0x1bf7c9(0x216)}),_0x4c3b4a['jsxs'](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x209),'children':[_0x4c3b4a['jsx']('div',{'className':_0x1bf7c9(0x1e8),'children':_0x1bf7c9(0x309)}),_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x27e),'children':_0x248dd8['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x4c3b4a['jsx'](_0xdcb927[_0x1bf7c9(0x1ed)],{'onClick':_0x4ec3e5,'disabled':!_0x1dd9fe||_0x497ac8,'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':_0x497ac8?_0x4c3b4a['jsxs'](_0x1bf7c9(0x2ee),{'className':_0x1bf7c9(0x21f),'children':[_0x4c3b4a['jsx'](_0x1bf7c9(0x2ee),{'children':'⟲'}),_0x248dd8['t'](_0x1bf7c9(0x298))]}):_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x2ee),{'className':_0x1bf7c9(0x21f),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x32749c,{}),_0x248dd8['t'](_0x1bf7c9(0x25e))]})}),_0x4c3b4a['jsx']('div',{'className':_0x1bf7c9(0x21b),'children':_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x1e7),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x2ee),{'className':_0x1bf7c9(0x241),'children':'💡'}),_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'className':_0x1bf7c9(0x23b),'children':[_0x4c3b4a[_0x1bf7c9(0x2d6)](_0x1bf7c9(0x1c5),{'className':'univer-font-medium','children':_0x1bf7c9(0x316)}),_0x4c3b4a[_0x1bf7c9(0x308)](_0x1bf7c9(0x1c5),{'children':['•',_0x248dd8['t']('mcpConfig.note1')]}),_0x4c3b4a[_0x1bf7c9(0x308)]('div',{'children':['•',_0x248dd8['t'](_0x1bf7c9(0x29e))]})]})]})})]})})]});}const _0x119754=_0x5ae9d3(0x2f5),_0x2d1923={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0xe88781=Object['getOwnPropertyDescriptor'],_0x1820e6=(_0x3c842f,_0x185b0b,_0x1dba68,_0x3ceb7c)=>{for(var _0x455ad6=_0x3ceb7c>0x1?void 0x0:_0x3ceb7c?_0xe88781(_0x185b0b,_0x1dba68):_0x185b0b,_0x3909ff=_0x3c842f['length']-0x1,_0x2348e7;_0x3909ff>=0x0;_0x3909ff--)(_0x2348e7=_0x3c842f[_0x3909ff])&&(_0x455ad6=_0x2348e7(_0x455ad6)||_0x455ad6);return _0x455ad6;},_0x29b616=(_0x181629,_0x3e9925)=>(_0x4ce1a2,_0x122f14)=>_0x3e9925(_0x4ce1a2,_0x122f14,_0x181629);const _0x532597='mcp.apiKey',_0x43299d='mcp-config-dialog';_0x255e86[_0x5ae9d3(0x1bd)]=class extends _0x3f0d6f[_0x5ae9d3(0x1b3)]{constructor(_0x276428,_0x3a73eb,_0x4beede,_0x19731c,_0xea6c39,_0x2e6f9d,_0x4f6dc5,_0x57eda8,_0x2095c2,_0x5034a8){var _0x4f394c=_0x5ae9d3;super(),_0x4911bf(this,_0x4f394c(0x26e),new _0x44667e[(_0x4f394c(0x1de))](!0x1)),_0x4911bf(this,'_mcpCoreConfig$',new _0x44667e[(_0x4f394c(0x1de))]({})),_0x4911bf(this,_0x4f394c(0x305),new _0x44667e[(_0x4f394c(0x1de))]({})),_0x4911bf(this,_0x4f394c(0x207),new _0x44667e[(_0x4f394c(0x1de))]('')),_0x4911bf(this,_0x4f394c(0x2f1),async _0x3b6ad7=>{var _0x51621e=_0x4f394c,_0x315bdd,_0x181916;this[_0x51621e(0x26e)][_0x51621e(0x20f)](!0x0);try{const _0x488428=await this[_0x51621e(0x1d3)](_0x3b6ad7);if(!_0x488428['isValid']){this[_0x51621e(0x2e7)][_0x51621e(0x2f4)]({'type':_0xdcb927[_0x51621e(0x31b)][_0x51621e(0x2db)],'content':_0x488428[_0x51621e(0x31f)]||this[_0x51621e(0x26d)]['t'](_0x51621e(0x268))});return;}_0x3b6ad7['apiKey']?await this[_0x51621e(0x2e5)][_0x51621e(0x202)](_0x532597,_0x3b6ad7[_0x51621e(0x270)][_0x51621e(0x2cc)]()):await this['_localStorageService'][_0x51621e(0x21e)](_0x532597),this[_0x51621e(0x207)][_0x51621e(0x20f)](((_0x315bdd=_0x3b6ad7['apiKey'])==null?void 0x0:_0x315bdd[_0x51621e(0x2cc)]())||''),this[_0x51621e(0x2bd)][_0x51621e(0x306)]({'Authorization':_0x51621e(0x1f4)+((_0x181916=_0x3b6ad7[_0x51621e(0x270)])==null?void 0x0:_0x181916[_0x51621e(0x2cc)]())}),this[_0x51621e(0x2e7)][_0x51621e(0x2f4)]({'type':_0xdcb927[_0x51621e(0x31b)]['Success'],'content':this[_0x51621e(0x26d)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x3331e4=_0x51621e;this[_0x3331e4(0x2bf)][_0x3331e4(0x333)](_0x43299d);},0x320);}catch(_0x3b70e5){this[_0x51621e(0x1f7)][_0x51621e(0x1d5)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x3b70e5),this['_messageService'][_0x51621e(0x2f4)]({'type':_0xdcb927[_0x51621e(0x31b)][_0x51621e(0x2db)],'content':this[_0x51621e(0x26d)]['t'](_0x51621e(0x2a6))});}finally{this[_0x51621e(0x26e)][_0x51621e(0x20f)](!0x1);}}),(this[_0x4f394c(0x2c5)]=_0x276428,this['_uiPartsService']=_0x3a73eb,this[_0x4f394c(0x32b)]=_0x4beede,this[_0x4f394c(0x2e5)]=_0x19731c,this[_0x4f394c(0x2bf)]=_0xea6c39,this[_0x4f394c(0x2e7)]=_0x2e6f9d,this['_componentManager']=_0x4f6dc5,this[_0x4f394c(0x26d)]=_0x57eda8,this[_0x4f394c(0x1f7)]=_0x2095c2,this[_0x4f394c(0x2bd)]=_0x5034a8,this[_0x4f394c(0x335)](),this['_loadStoredApiKey'](),this['_registerComponent']());}['showConfigPanel'](){var _0x22739b=_0x5ae9d3;const _0x2d6a60=this['_configService'][_0x22739b(0x1c6)](_0x119754);_0x2d6a60!=null&&_0x2d6a60['showDeveloperTools']&&this['_dialogService'][_0x22739b(0x244)]({'id':_0x43299d,'title':{'title':this[_0x22739b(0x26d)]['t'](_0x22739b(0x2a7))},'children':{'label':_0x22739b(0x2da)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x152912=_0x22739b;this[_0x152912(0x2bf)][_0x152912(0x333)](_0x43299d);}});}['getCurrentConfig'](){var _0x54aec5=_0x5ae9d3;return this['_mcpCoreConfig$'][_0x54aec5(0x252)];}[_0x5ae9d3(0x329)](){var _0xae0154=_0x5ae9d3;this['disposeWithMe'](this[_0xae0154(0x326)]['register'](_0xae0154(0x2da),this[_0xae0154(0x2ec)]()));}[_0x5ae9d3(0x2ec)](){var _0xb0d94a=_0x5ae9d3;return _0xbaa7[_0xb0d94a(0x1f8)](()=>{var _0x27b815=_0xb0d94a,_0x47a078,_0x38d55f,_0x270cd0;return _0x4c3b4a[_0x27b815(0x2d6)](_0x56c470,{'config':this[_0x27b815(0x305)][_0x27b815(0x252)],'mcpCoreConfig':this[_0x27b815(0x2e3)][_0x27b815(0x252)],'currentApiKey$':this[_0x27b815(0x207)],'onSave':this[_0x27b815(0x2f1)],'loading':this[_0x27b815(0x26e)]['value'],'connectionStatus$':(_0x47a078=this[_0x27b815(0x2bd)])==null?void 0x0:_0x47a078[_0x27b815(0x280)],'connectionError$':(_0x38d55f=this[_0x27b815(0x2bd)])==null?void 0x0:_0x38d55f['connectionError$'],'currentSessionId$':(_0x270cd0=this['_mcpConnectionController'])==null?void 0x0:_0x270cd0[_0x27b815(0x221)]});},this[_0xb0d94a(0x2c5)]);}[_0x5ae9d3(0x335)](){var _0x4d733c=_0x5ae9d3;this['disposeWithMe'](this['_configService'][_0x4d733c(0x269)](_0x13170f[_0x4d733c(0x1f1)])[_0x4d733c(0x292)](_0x5559b2=>{this['_mcpCoreConfig$']['next'](_0x5559b2||{});}));const _0x153597=this['_configService'][_0x4d733c(0x1c6)](_0x13170f['MCP_PLUGIN_CONFIG_KEY']);this[_0x4d733c(0x2e3)][_0x4d733c(0x20f)](_0x153597||{}),this[_0x4d733c(0x31e)](this['_configService'][_0x4d733c(0x269)](_0x119754)['subscribe'](_0x2c8880=>{var _0x34bab9=_0x4d733c;this['_config$'][_0x34bab9(0x20f)](_0x2c8880||{});}));const _0x579564=this[_0x4d733c(0x32b)][_0x4d733c(0x1c6)](_0x119754);this['_config$'][_0x4d733c(0x20f)](_0x579564||{});}async['_loadStoredApiKey'](){var _0x43718d=_0x5ae9d3;const _0x24ea66=this[_0x43718d(0x32b)][_0x43718d(0x1c6)](_0x119754);if(!(_0x24ea66!=null&&_0x24ea66['showDeveloperTools']))return;const _0x3e5b22=await this['_localStorageService']['getItem'](_0x532597);_0x3e5b22&&(this[_0x43718d(0x2bd)][_0x43718d(0x306)]({'Authorization':'Bearer\x20'+_0x3e5b22}),this['_apiKey$']['next'](_0x3e5b22));}async[_0x5ae9d3(0x1d3)](_0x56358f){var _0x289c0c=_0x5ae9d3;if(!_0x56358f[_0x289c0c(0x270)]||_0x56358f[_0x289c0c(0x270)]['trim']()[_0x289c0c(0x1d8)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x289c0c(0x26d)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x56358f[_0x289c0c(0x270)][_0x289c0c(0x2cc)]()[_0x289c0c(0x1d8)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x289c0c(0x2cf))};try{const _0x2e5193=await this[_0x289c0c(0x2c5)]['get'](_0x13170f['MCPConnectionController'])[_0x289c0c(0x254)](_0x56358f[_0x289c0c(0x270)]['trim']());return _0x2e5193['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2e5193[_0x289c0c(0x1d5)]||this[_0x289c0c(0x26d)]['t'](_0x289c0c(0x344))};}catch(_0x22140f){return console[_0x289c0c(0x235)](_0x289c0c(0x1fc),_0x22140f),{'isValid':!0x0};}}},_0x255e86['MCPConfigUIController']=_0x1820e6([_0x29b616(0x0,_0x3f0d6f['Inject'](_0x3f0d6f[_0x5ae9d3(0x300)])),_0x29b616(0x1,_0xbaa7[_0x5ae9d3(0x1b4)]),_0x29b616(0x2,_0x3f0d6f['IConfigService']),_0x29b616(0x3,_0x3f0d6f[_0x5ae9d3(0x1b1)]),_0x29b616(0x4,_0xbaa7[_0x5ae9d3(0x348)]),_0x29b616(0x5,_0xbaa7['IMessageService']),_0x29b616(0x6,_0x3f0d6f[_0x5ae9d3(0x22c)](_0xbaa7[_0x5ae9d3(0x291)])),_0x29b616(0x7,_0x3f0d6f[_0x5ae9d3(0x22c)](_0x3f0d6f[_0x5ae9d3(0x27c)])),_0x29b616(0x8,_0x3f0d6f[_0x5ae9d3(0x343)]),_0x29b616(0x9,_0x3f0d6f['Inject'](_0x13170f[_0x5ae9d3(0x30d)]))],_0x255e86['MCPConfigUIController']);const _0x474298={'id':_0x5ae9d3(0x28a),'type':_0x3f0d6f[_0x5ae9d3(0x250)]['COMMAND'],'handler':async(_0x4daa18,_0x45760e)=>(_0x4daa18['get'](_0x255e86[_0x5ae9d3(0x1bd)])[_0x5ae9d3(0x27d)](),!0x0)};function _0x76ea4d(_0x296c09,_0x552e36){var _0x24d9bb=_0x5ae9d3;switch(_0x296c09){case _0x13170f[_0x24d9bb(0x2ab)][_0x24d9bb(0x322)]:return'mcpStatus.disconnected';case _0x13170f['MCPConnectionStatus'][_0x24d9bb(0x2c7)]:return _0x24d9bb(0x334);case _0x13170f[_0x24d9bb(0x2ab)]['CONNECTED']:return'mcpStatus.connected';case _0x13170f[_0x24d9bb(0x2ab)][_0x24d9bb(0x249)]:switch(_0x552e36){case _0x13170f['MCPConnectionError'][_0x24d9bb(0x22d)]:return'mcpStatus.unauthorized';case _0x13170f[_0x24d9bb(0x328)][_0x24d9bb(0x297)]:return _0x24d9bb(0x1c2);case _0x13170f['MCPConnectionError']['NETWORK_ERROR']:return _0x24d9bb(0x2ac);case _0x13170f[_0x24d9bb(0x328)][_0x24d9bb(0x1be)]:return _0x24d9bb(0x1da);default:return _0x24d9bb(0x255);}case _0x13170f[_0x24d9bb(0x2ab)][_0x24d9bb(0x312)]:return _0x24d9bb(0x1e3);default:return _0x24d9bb(0x275);}}function _0x3d5843(_0x38591d,_0x5042b7,_0x130af1,_0x18e826=!0x0){var _0x54b402=_0x5ae9d3;const _0x25b7d1=_0x76ea4d(_0x38591d,_0x5042b7),_0x276f34=_0x130af1['t'](_0x25b7d1);return _0x18e826?_0x38591d===_0x13170f[_0x54b402(0x2ab)][_0x54b402(0x322)]&&_0x5042b7===_0x13170f['MCPConnectionError'][_0x54b402(0x22d)]?_0x276f34+_0x54b402(0x1af)+_0x130af1['t'](_0x54b402(0x30b)):_0x38591d===_0x13170f['MCPConnectionStatus'][_0x54b402(0x304)]?''+_0x276f34:_0x38591d===_0x13170f[_0x54b402(0x2ab)][_0x54b402(0x322)]||_0x38591d===_0x13170f[_0x54b402(0x2ab)][_0x54b402(0x249)]?_0x276f34+_0x54b402(0x1af)+_0x130af1['t'](_0x54b402(0x2f6)):_0x276f34:_0x276f34;}function _0x524b11(_0x24933e){var _0x66e014=_0x5ae9d3;switch(_0x24933e){case _0x13170f[_0x66e014(0x2ab)]['CONNECTED']:return _0x66e014(0x26b);case _0x13170f[_0x66e014(0x2ab)]['CONNECTING']:case _0x13170f[_0x66e014(0x2ab)][_0x66e014(0x312)]:return _0x66e014(0x2c0);case _0x13170f[_0x66e014(0x2ab)][_0x66e014(0x249)]:case _0x13170f[_0x66e014(0x2ab)][_0x66e014(0x322)]:return _0x66e014(0x23a);default:return'univer-text-gray-500';}}function _0x35586f(_0xfe8b25){var _0x1703d4=_0x5ae9d3;const {status$:_0x3004d4,error$:_0x4195ac,onConfigure:_0x4a5771,showClickable:_0x396f0e=!0x0}=_0xfe8b25,_0x24bde3=_0xbaa7[_0x1703d4(0x242)](_0x3004d4,_0x13170f['MCPConnectionStatus'][_0x1703d4(0x322)]),_0xf9377c=_0xbaa7[_0x1703d4(0x242)](_0x4195ac,_0x13170f['MCPConnectionError'][_0x1703d4(0x1e2)]),_0x2919ac=_0xbaa7[_0x1703d4(0x330)](_0x3f0d6f[_0x1703d4(0x27c)]),_0x1db729=_0x24bde3===_0x13170f[_0x1703d4(0x2ab)][_0x1703d4(0x304)];_0x24bde3===_0x13170f[_0x1703d4(0x2ab)]['CONNECTING']||_0x13170f['MCPConnectionStatus'][_0x1703d4(0x312)];const _0x1f589a=_0x2919ac['t'](_0x76ea4d(_0x24bde3,_0xf9377c)),_0x51fb05=_0x3d5843(_0x24bde3,_0xf9377c,_0x2919ac,_0x396f0e),_0x33c899=_0x524b11(_0x24bde3),_0x53ca29=_0x1db729?_0x4c3b4a[_0x1703d4(0x2d6)](_0x4272ab,{}):_0x4c3b4a[_0x1703d4(0x2d6)](_0x291f11,{}),_0x183442=_0x11a658['useCallback'](()=>{_0x396f0e&&_0x4a5771&&_0x4a5771();},[_0x396f0e,_0x4a5771]);function _0x593612(){var _0x47220b=_0x1703d4;return _0x4c3b4a[_0x47220b(0x308)](_0x47220b(0x1c5),{'className':_0xdcb927[_0x47220b(0x2f2)](_0x47220b(0x213),_0x396f0e&&_0x4a5771&&_0x47220b(0x2f9)),'onClick':_0x396f0e&&_0x4a5771?_0x183442:void 0x0,'children':[_0x4c3b4a[_0x47220b(0x2d6)](_0x47220b(0x1c5),{'className':_0xdcb927[_0x47220b(0x2f2)](_0x47220b(0x341),_0x33c899),'children':_0x53ca29}),_0x4c3b4a[_0x47220b(0x2d6)]('div',{'className':_0x47220b(0x1f5),'children':_0x1f589a})]});}return _0x4c3b4a[_0x1703d4(0x2d6)](_0xdcb927['Tooltip'],{'title':_0x51fb05,'placement':'bottom','children':_0x593612()});}var _0x34d4b7=Object['getOwnPropertyDescriptor'],_0x250395=(_0x1b69b0,_0x33f6cf,_0x19be48,_0x11efc8)=>{var _0xca6934=_0x5ae9d3;for(var _0x8a2a87=_0x11efc8>0x1?void 0x0:_0x11efc8?_0x34d4b7(_0x33f6cf,_0x19be48):_0x33f6cf,_0x255313=_0x1b69b0[_0xca6934(0x1d8)]-0x1,_0x1386e3;_0x255313>=0x0;_0x255313--)(_0x1386e3=_0x1b69b0[_0x255313])&&(_0x8a2a87=_0x1386e3(_0x8a2a87)||_0x8a2a87);return _0x8a2a87;},_0x1439c0=(_0x37cc42,_0x1ba613)=>(_0x1e66b8,_0x50e7fd)=>_0x1ba613(_0x1e66b8,_0x50e7fd,_0x37cc42);_0x255e86['MCPConnectionUIController']=class extends _0x3f0d6f[_0x5ae9d3(0x1b3)]{constructor(_0x53d84d,_0x37ae37,_0x30d12c,_0x39deec){var _0x39fd74=_0x5ae9d3;super(),this['_injector']=_0x53d84d,this[_0x39fd74(0x2cb)]=_0x37ae37,this[_0x39fd74(0x29d)]=_0x30d12c,this[_0x39fd74(0x32b)]=_0x39deec,this['_initAutoConnect'](),this[_0x39fd74(0x282)]();}[_0x5ae9d3(0x2e4)](){var _0x1d272c=_0x5ae9d3;const _0x3e0965=this[_0x1d272c(0x32b)][_0x1d272c(0x1c6)](_0x119754);_0x3e0965!=null&&_0x3e0965['showDeveloperTools']&&(this[_0x1d272c(0x2cb)][_0x1d272c(0x1ae)]=!0x1);}['_initStatusComponent'](){var _0x45f547=_0x5ae9d3;const _0x1e8605=this[_0x45f547(0x32b)][_0x45f547(0x1c6)](_0x119754);(_0x1e8605==null?void 0x0:_0x1e8605[_0x45f547(0x1b0)])!==!0x1&&this['disposeWithMe'](this[_0x45f547(0x29d)][_0x45f547(0x32a)](_0xbaa7[_0x45f547(0x340)][_0x45f547(0x2b4)],()=>{var _0x29bcc7=_0x45f547,_0x2c0944;return _0xbaa7[_0x29bcc7(0x1f8)](_0x29ea2f({'status$':this[_0x29bcc7(0x2cb)][_0x29bcc7(0x280)],'error$':this[_0x29bcc7(0x2cb)][_0x29bcc7(0x2af)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x2c0944=_0x1e8605==null?void 0x0:_0x1e8605[_0x29bcc7(0x248)])!=null?_0x2c0944:!0x1}),this[_0x29bcc7(0x2c5)]);}));}[_0x5ae9d3(0x26c)](){var _0x14fc54=_0x5ae9d3;this['_injector'][_0x14fc54(0x1e6)](_0x255e86['MCPConfigUIController'])[_0x14fc54(0x27d)]();}},_0x255e86[_0x5ae9d3(0x2c6)]=_0x250395([_0x1439c0(0x0,_0x3f0d6f['Inject'](_0x3f0d6f[_0x5ae9d3(0x300)])),_0x1439c0(0x1,_0x3f0d6f['Inject'](_0x13170f[_0x5ae9d3(0x30d)])),_0x1439c0(0x2,_0xbaa7['IUIPartsService']),_0x1439c0(0x3,_0x3f0d6f['IConfigService'])],_0x255e86[_0x5ae9d3(0x2c6)]);function _0x29ea2f(_0x166f93){const {status$:_0x4f5226,error$:_0x42f6a9,onConfigure:_0x4ff921,showClickable:_0x59949c}=_0x166f93;return function(){var _0x36ba14=_0x22b8;return _0x4c3b4a[_0x36ba14(0x2d6)](_0x35586f,{'status$':_0x4f5226,'error$':_0x42f6a9,'onConfigure':_0x4ff921,'showClickable':_0x59949c});};}function _0x4e0e37(_0x51efec){var _0x3f37b9=_0x5ae9d3;return{'id':_0x474298['id'],'type':_0xbaa7[_0x3f37b9(0x246)][_0x3f37b9(0x201)],'icon':_0x3f37b9(0x256),'title':_0x3f37b9(0x2a7),'tooltip':_0x3f37b9(0x2a7)};}const _0x4d46d3={[_0xbaa7[_0x5ae9d3(0x2ed)][_0x5ae9d3(0x257)]]:{[_0x474298['id']]:{'order':0xa,'menuItemFactory':_0x4e0e37}}};var _0x1be9fb=Object[_0x5ae9d3(0x1dc)],_0x53b53e=(_0x3e9fc4,_0x1f37aa,_0xac78f9,_0x4a0cf3)=>{var _0x56ef3b=_0x5ae9d3;for(var _0x4a021e=_0x4a0cf3>0x1?void 0x0:_0x4a0cf3?_0x1be9fb(_0x1f37aa,_0xac78f9):_0x1f37aa,_0x45f4b5=_0x3e9fc4[_0x56ef3b(0x1d8)]-0x1,_0x20c2c7;_0x45f4b5>=0x0;_0x45f4b5--)(_0x20c2c7=_0x3e9fc4[_0x45f4b5])&&(_0x4a021e=_0x20c2c7(_0x4a021e)||_0x4a021e);return _0x4a021e;},_0x28a5a3=(_0x3f2357,_0x565522)=>(_0x2a88b5,_0x166147)=>_0x565522(_0x2a88b5,_0x166147,_0x3f2357);_0x255e86[_0x5ae9d3(0x1dd)]=class extends _0x3f0d6f['Disposable']{constructor(_0x259fe0,_0x595b26){var _0x5732d6=_0x5ae9d3;super(),this[_0x5732d6(0x346)]=_0x259fe0,this[_0x5732d6(0x318)]=_0x595b26,this[_0x5732d6(0x29a)](),this[_0x5732d6(0x2c2)]();}[_0x5ae9d3(0x29a)](){var _0xe6dfda=_0x5ae9d3;[_0x474298][_0xe6dfda(0x2ca)](_0x5b380a=>{var _0x117823=_0xe6dfda;this[_0x117823(0x31e)](this[_0x117823(0x346)][_0x117823(0x2b9)](_0x5b380a));});}[_0x5ae9d3(0x2c2)](){var _0x72bc19=_0x5ae9d3;this[_0x72bc19(0x318)]['mergeMenu'](_0x4d46d3);}},_0x255e86[_0x5ae9d3(0x1dd)]=_0x53b53e([_0x28a5a3(0x0,_0x3f0d6f['ICommandService']),_0x28a5a3(0x1,_0xbaa7[_0x5ae9d3(0x245)])],_0x255e86[_0x5ae9d3(0x1dd)]);const _0x1a90b7={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5ae9d3(0x2d5),'connected':_0x5ae9d3(0x1eb),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x5ae9d3(0x347),'unauthorized':_0x5ae9d3(0x1db),'sessionOccupied':_0x5ae9d3(0x251),'networkError':_0x5ae9d3(0x2aa),'maxRetriesExceeded':_0x5ae9d3(0x324),'clickToConnect':_0x5ae9d3(0x28f),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5ae9d3(0x32c),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x5ae9d3(0x263),'apiKeyHint':_0x5ae9d3(0x25a),'enableAuth':_0x5ae9d3(0x339),'enableAuthHint':_0x5ae9d3(0x23c),'connectionInfo':_0x5ae9d3(0x2dc),'mcpClientConfig':_0x5ae9d3(0x2dc),'configInstructions':_0x5ae9d3(0x33e),'configStepTitle':_0x5ae9d3(0x29b),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5ae9d3(0x20b),'configStep3':_0x5ae9d3(0x243),'sessionId':'Session\x20ID','sessionIdDescription':_0x5ae9d3(0x21a),'authorizationDescription':_0x5ae9d3(0x258),'configParameters':_0x5ae9d3(0x27a),'maxRetries':_0x5ae9d3(0x338),'save':_0x5ae9d3(0x1e9),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x5ae9d3(0x2a9),'configError':_0x5ae9d3(0x2a5),'apiApplyInfo':{'title':_0x5ae9d3(0x32d),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5ae9d3(0x1b5)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5ae9d3(0x345),'invalidApiKey':_0x5ae9d3(0x2f0)},'connectionStatus':{'disconnected':_0x5ae9d3(0x307),'connecting':_0x5ae9d3(0x2e8),'connected':_0x5ae9d3(0x302),'failed':_0x5ae9d3(0x238),'retrying':_0x5ae9d3(0x1b9)},'connectionError':{'unauthorized':_0x5ae9d3(0x1ea),'sessionOccupied':_0x5ae9d3(0x1f6),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x5ae9d3(0x223)}}},_0x34f42e={'mcpStatus':{'disconnected':_0x5ae9d3(0x2b6),'connecting':_0x5ae9d3(0x273),'connected':_0x5ae9d3(0x267),'failed':_0x5ae9d3(0x2d2),'retrying':_0x5ae9d3(0x24c),'unknown':_0x5ae9d3(0x22a),'unauthorized':_0x5ae9d3(0x30f),'sessionOccupied':_0x5ae9d3(0x1d7),'networkError':_0x5ae9d3(0x21c),'maxRetriesExceeded':_0x5ae9d3(0x2be),'clickToConnect':_0x5ae9d3(0x1ce),'clickToConfigure':_0x5ae9d3(0x218)},'mcpConfig':{'title':_0x5ae9d3(0x212),'description':_0x5ae9d3(0x327),'apiKey':_0x5ae9d3(0x23d),'apiKeyPlaceholder':_0x5ae9d3(0x289),'apiKeyHint':_0x5ae9d3(0x2b8),'enableAuth':_0x5ae9d3(0x331),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x5ae9d3(0x2e0),'mcpClientConfig':_0x5ae9d3(0x2e0),'configInstructions':_0x5ae9d3(0x27b),'configStepTitle':_0x5ae9d3(0x29c),'configStep1':_0x5ae9d3(0x1c8),'configStep2':_0x5ae9d3(0x22f),'configStep3':_0x5ae9d3(0x315),'sessionId':_0x5ae9d3(0x311),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x5ae9d3(0x2b3),'maxRetries':'最大重试次数','save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':_0x5ae9d3(0x2c4),'configSaved':'配置保存成功','configError':_0x5ae9d3(0x1ee),'apiApplyInfo':{'title':_0x5ae9d3(0x293),'description':_0x5ae9d3(0x1ff),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x5ae9d3(0x286)},'validation':{'apiKeyRequired':_0x5ae9d3(0x2a8),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x5ae9d3(0x262),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x5ae9d3(0x237),'connecting':'连接中...','connected':_0x5ae9d3(0x33d),'failed':_0x5ae9d3(0x271),'retrying':_0x5ae9d3(0x2fc)},'connectionError':{'unauthorized':_0x5ae9d3(0x1c4),'sessionOccupied':_0x5ae9d3(0x2ba),'networkError':_0x5ae9d3(0x320),'maxRetriesExceeded':_0x5ae9d3(0x2eb)}}};var _0x124eeb=Object[_0x5ae9d3(0x2a2)],_0x468178=Object[_0x5ae9d3(0x1dc)],_0x408367=(_0x33f39e,_0x5ec34c,_0x2830b8)=>_0x5ec34c in _0x33f39e?_0x124eeb(_0x33f39e,_0x5ec34c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2830b8}):_0x33f39e[_0x5ec34c]=_0x2830b8,_0x3282ec=(_0x59bd6d,_0x20f623,_0xacf3f,_0x223aae)=>{var _0x47c282=_0x5ae9d3;for(var _0x4798d2=_0x223aae>0x1?void 0x0:_0x223aae?_0x468178(_0x20f623,_0xacf3f):_0x20f623,_0x5e70f1=_0x59bd6d[_0x47c282(0x1d8)]-0x1,_0x587300;_0x5e70f1>=0x0;_0x5e70f1--)(_0x587300=_0x59bd6d[_0x5e70f1])&&(_0x4798d2=_0x587300(_0x4798d2)||_0x4798d2);return _0x4798d2;},_0x453587=(_0x2793c0,_0x1b1d78)=>(_0x3b5ad0,_0x18ae6d)=>_0x1b1d78(_0x3b5ad0,_0x18ae6d,_0x2793c0),_0x2e019c=(_0x3d5c3e,_0x23668a,_0x253d96)=>_0x408367(_0x3d5c3e,_0x23668a+'',_0x253d96);_0x255e86[_0x5ae9d3(0x2fd)]=class extends _0x3f0d6f[_0x5ae9d3(0x1ac)]{constructor(_0x182a32=_0x2d1923,_0x3cc68a,_0x2db1d8,_0x4f03a9,_0x9e0120,_0x231d45){var _0x2f48aa=_0x5ae9d3;super(),this[_0x2f48aa(0x22e)]=_0x182a32,this[_0x2f48aa(0x2c5)]=_0x3cc68a,this[_0x2f48aa(0x32b)]=_0x2db1d8,this[_0x2f48aa(0x29d)]=_0x4f03a9,this[_0x2f48aa(0x2e5)]=_0x9e0120,this[_0x2f48aa(0x26d)]=_0x231d45;const {..._0x358d8f}=_0x3f0d6f[_0x2f48aa(0x1d6)]({},_0x2d1923,this[_0x2f48aa(0x22e)]);this[_0x2f48aa(0x32b)]['setConfig'](_0x119754,_0x358d8f);}async['onStarting'](){var _0x9c8b49=_0x5ae9d3;const _0x4e1878=[[_0x255e86[_0x9c8b49(0x2c6)]],[_0x255e86[_0x9c8b49(0x1bd)]],[_0x255e86[_0x9c8b49(0x1dd)]]];this[_0x9c8b49(0x2c5)]['has'](_0x16aab4[_0x9c8b49(0x349)])||_0x4e1878[_0x9c8b49(0x278)]([_0x16aab4[_0x9c8b49(0x349)],{'useClass':_0x16aab4[_0x9c8b49(0x1b8)]}]),_0x4e1878[_0x9c8b49(0x2ca)](_0x8448b1=>this['_injector']['add'](_0x8448b1)),this[_0x9c8b49(0x2c5)][_0x9c8b49(0x1e6)](_0x255e86[_0x9c8b49(0x2c6)]),this[_0x9c8b49(0x2c5)][_0x9c8b49(0x1e6)](_0x255e86[_0x9c8b49(0x1bd)]),this[_0x9c8b49(0x2c5)]['get'](_0x255e86['MCPUIMenuController']);}},_0x2e019c(_0x255e86[_0x5ae9d3(0x2fd)],_0x5ae9d3(0x1f0),_0x5ae9d3(0x1e1)),_0x255e86[_0x5ae9d3(0x2fd)]=_0x3282ec([_0x3f0d6f[_0x5ae9d3(0x1ec)](_0x13170f['UniverMCPPlugin']),_0x453587(0x1,_0x3f0d6f[_0x5ae9d3(0x22c)](_0x3f0d6f[_0x5ae9d3(0x300)])),_0x453587(0x2,_0x3f0d6f[_0x5ae9d3(0x225)]),_0x453587(0x3,_0xbaa7[_0x5ae9d3(0x1b4)]),_0x453587(0x4,_0x3f0d6f['ILocalStorageService']),_0x453587(0x5,_0x3f0d6f['Inject'](_0x3f0d6f['LocaleService']))],_0x255e86[_0x5ae9d3(0x2fd)]),_0x255e86[_0x5ae9d3(0x2da)]=_0x56c470,_0x255e86[_0x5ae9d3(0x228)]=_0x35586f,_0x255e86[_0x5ae9d3(0x2e6)]=_0x474298,_0x255e86[_0x5ae9d3(0x1f2)]=_0x1a90b7,_0x255e86[_0x5ae9d3(0x1d2)]=_0x34f42e,Object[_0x5ae9d3(0x2a2)](_0x255e86,Symbol[_0x5ae9d3(0x2b1)],{'value':_0x5ae9d3(0x2f7)});}));function _0x416a(){var _0x1c00e0=['univer-bg-red-500','ComponentManager','subscribe','什么是\x20API\x20密钥?','label','defs','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','SESSION_ID_OCCUPIED','mcpConfig.saving','2lkSxQT','_initializeCommands','Configuration\x20Steps:','配置步骤:','_uiPartsService','mcpConfig.note2','mcpConfig.apiApplyInfo.univerAiLabel','idSuffix','univer.plus','defineProperty','on-line-icon','off-line-icon_clip0_910_343','Failed\x20to\x20save\x20configuration','mcpConfig.configError','mcpConfig.title','API\x20密钥不能为空','Configuration\x20saved\x20successfully','MCP:\x20Network\x20Error','MCPConnectionStatus','mcpStatus.networkError','mcpConfig.configInstructions','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','connectionError$','extend','toStringTag','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','配置参数:','HEADER_MENU','close-small-single','MCP\x20已断开','call','您的\x20API\x20密钥将在此浏览器中本地存储','registerCommand','会话\x20ID\x20已被占用,请稍后再试','univer-text-gray-400','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','_mcpConnectionController','MCP:\x20超出最大重试次数','_dialogService','univer-text-yellow-500','univer.ai','_initializeMenus','mcpConfig.connectionStatus.disconnected','您的\x20API\x20密钥安全存储在本地存储中','_injector','MCPConnectionUIController','CONNECTING','attrs','mcpConfig.configStepTitle','forEach','_connectionController','trim','function','univer-flex\x20univer-items-center\x20univer-gap-3','mcpConfig.validation.apiKeyTooShort','HelpSingle','@univerjs-pro/mcp','MCP\x20连接失败','4554ykUEYR','substring','MCP\x20Connecting...','jsx','none','univer-text-sm\x20univer-font-medium','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','MCPConfigPanel','Error','MCP\x20Client\x20Configuration','mcpConfig.apiApplyInfo.description','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','createElement','MCP\x20客户端配置','univer_session_id:','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','_mcpCoreConfig$','_initAutoConnect','_localStorageService','OpenMCPConfigPanelCommand','_messageService','Connecting...','xlink:href','current','超出最大重试次数,请稍后再试','_createConfigPanelComponent','RibbonStartGroup','span','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','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','_handleConfigSave','clsx','mcpConfig.connectionError.networkError','show','mcp-ui.config','mcpStatus.clickToConnect','Module','1609184QpbYUz','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','object','react/jsx-runtime','重连中...','UniverMCPUIPlugin','url(#$1','mcpConfig.connectionError.sessionOccupied','Injector','https://console.univer.plus','Connected','javascript:void(0)','CONNECTED','_config$','__setCustomHeaders','Disconnected','jsxs','Authorization:','@univerjs/core','mcpStatus.clickToConfigure','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCPConnectionController','OffLineIcon','MCP:\x20未授权','assign','会话ID','RETRYING','univerjs-icon\x20univerjs-icon-','pre','重启您的\x20MCP\x20客户端以使配置生效','Configuration\x20Notes:','currentColor','_menuManagerService','\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','url(#on-line-icon_clip0_910_349)','MessageType','round','UniverDesign','disposeWithMe','errorMessage','网络连接错误,请检查您的网络连接','Close','DISCONNECTED','mcpConfig.apiKeyHint','MCP:\x20Max\x20Retries\x20Exceeded','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','_componentManager','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCPConnectionError','_registerComponent','registerComponent','_configService','MCP\x20Configuration','What\x20is\x20API\x20Key?','useState','rxjs','useDependency','启用身份验证','univer-text-blue-600','close','mcpStatus.connecting','_initConfigSync','forwardRef','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','Max\x20Retries','Enable\x20Authentication','mcpConfig.connectionStatus.retrying','CheckMarkIcon','on-line-icon_clip0_910_349','已连接','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','displayName','BuiltInUIPart','univer-mr-2\x20univer-flex\x20univer-text-xl','path','ILogService','mcpConfig.validation.invalidApiKey','Invalid\x20configuration','_commandService','MCP\x20Unknown\x20Status','IDialogService','ISocketService','UniverProMcp','Plugin','http://www.w3.org/2000/svg','enableAutoConnect','\x20-\x20','showStatus','ILocalStorageService','279477PhrVks','Disposable','IUIPartsService','Get\x20your\x20API\x20key\x20in\x20seconds','prototype','univer-bg-gray-500','WebSocketService','Retrying...','1em','use','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCPConfigUIController','MAX_RETRIES_EXCEEDED','univer-text-sm\x20univer-text-gray-500','Input','mcpServerUrl','mcpStatus.sessionOccupied','children','权限验证失败,请检查您的\x20API\x20密钥','div','getConfig','concat','复制以下\x20JSON\x20配置','apply','entries','\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','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','点击连接\x20MCP','clipPath','includes','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','zhCN','_validateConfig','2675WlYypU','error','merge','MCP:\x20会话\x20ID\x20已被占用','length','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpStatus.maxRetriesExceeded','MCP:\x20Unauthorized','getOwnPropertyDescriptor','MCPUIMenuController','BehaviorSubject','translate(.97)','React','MCP_UI_PLUGIN','NONE','mcpStatus.retrying','defIds','mask','get','univer-flex\x20univer-gap-3','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','Save\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connected','DependentOn','Button','配置保存失败','getOwnPropertySymbols','pluginName','MCP_PLUGIN_CONFIG_KEY','enUS','fill','Bearer\x20','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','_logService','connectInjector','NETWORK_ERROR','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','off','UniverProMcpUi','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','BUTTON','setItem','mcpConfig.apiApplyInfo.title','@univerjs/design','white','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','_apiKey$','778719CzDjuQ','univer-min-w-0\x20univer-flex-1','4350cnZLnJ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','@univerjs/network','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.configParameters','next','mcpConfig.connectionStatus.connecting','CloseSmallSingle','MCP\x20配置','univer-flex\x20univer-items-center','map','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','点击配置\x20MCP','2387252vKRwNI','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','MCP:\x20网络错误','mcpConfig.description','removeItem','univer-flex\x20univer-items-center\x20univer-gap-2','replace','sessionId$','@univerjs/ui','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','720929SpYGaQ','IConfigService','svg','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','MCPStatusDisplay','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','MCP\x20状态未知','<API_KEY>','Inject','UNAUTHORIZED','_config','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpConfig.connectionStatus.connected','univer-space-y-2','OnLineIcon','univer-flex\x20univer-items-start\x20univer-gap-2','warn','univer-space-y-5','未连接','Connection\x20Failed','indexOf','univer-text-red-500','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Enable\x20authentication\x20for\x20secure\x20connections','API\x20密钥','univer-space-y-3','univer-bg-blue-500','tag','univer-flex-shrink-0\x20univer-text-blue-500','useObservable','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','open','IMenuManagerService','MenuItemType','mcpConfig.connectionError.unauthorized','showDeveloperTools','FAILED','propertyIsEnumerable','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCP\x20重连中...','univer-flex-1','M0\x200H16V16H0z','_blank','CommandType','MCP:\x20Session\x20ID\x20Occupied','value','univer-text-xs\x20univer-text-gray-600','validateApiKey','mcpStatus.failed','MenuIcon','OTHERS','API\x20key\x20with\x20Bearer\x20prefix.','{\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=','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','className','8PbUmuN','mcpConfig.save','check-mark-icon','mcpConfig.connectionStatus.failed','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','配置无效','Enter\x20your\x20API\x20key','4365otAwjv','string','mcpConfig.configStep1','MCP\x20已连接','mcpConfig.validation.invalidConfig','subscribeConfigValue$','useRef','univer-text-green-500','_handleConfigure','_localeService','_loading$','icon','apiKey','连接失败','0\x200\x2016\x2016','MCP\x20连接中...','evenodd','mcpStatus.unknown','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','amd','push','mcpConfig.connectionError.maxRetriesExceeded','Configuration\x20Parameters:','将以下配置添加到您的\x20MCP\x20客户端设置中:','LocaleService','showConfigPanel','univer-text-xs\x20univer-text-gray-500','mcpConfig.apiKey','connectionStatus$','useCallback','_initStatusComponent','symbol','mcpConfig.configStep2','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','几秒钟内获取您的\x20API\x20密钥','colorChannel1','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','请输入您的\x20API\x20密钥','mcp-ui.command.openConfigPanel','off-line-icon','UniverNetwork','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','noopener\x20noreferrer','Click\x20to\x20connect\x20MCP'];_0x416a=function(){return _0x1c00e0;};return _0x416a();}
1
+ function _0x5b2f(_0x345406,_0x3e606b){var _0x1c2756=_0x1c27();return _0x5b2f=function(_0x5b2f2c,_0x59ef85){_0x5b2f2c=_0x5b2f2c-0xbf;var _0xa3c97c=_0x1c2756[_0x5b2f2c];return _0xa3c97c;},_0x5b2f(_0x345406,_0x3e606b);}(function(_0x4eed96,_0x5d6d23){var _0x339163=_0x5b2f,_0x31c1c9=_0x4eed96();while(!![]){try{var _0x39db30=-parseInt(_0x339163(0x1ab))/0x1+-parseInt(_0x339163(0x20e))/0x2*(-parseInt(_0x339163(0xe6))/0x3)+parseInt(_0x339163(0x157))/0x4+-parseInt(_0x339163(0x1ee))/0x5+parseInt(_0x339163(0x25f))/0x6+parseInt(_0x339163(0x24e))/0x7+-parseInt(_0x339163(0x161))/0x8*(parseInt(_0x339163(0x206))/0x9);if(_0x39db30===_0x5d6d23)break;else _0x31c1c9['push'](_0x31c1c9['shift']());}catch(_0x2818f6){_0x31c1c9['push'](_0x31c1c9['shift']());}}}(_0x1c27,0xa890c),function(_0x5ca9f6,_0x280d99){var _0x5e12a5=_0x5b2f;typeof exports==_0x5e12a5(0x221)&&typeof module<'u'?_0x280d99(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==_0x5e12a5(0x1a9)&&define[_0x5e12a5(0x18a)]?define([_0x5e12a5(0xd8),_0x5e12a5(0x129),'react/jsx-runtime',_0x5e12a5(0x103),'@univerjs/design',_0x5e12a5(0xe5),'rxjs',_0x5e12a5(0x259),_0x5e12a5(0x1d2)],_0x280d99):(_0x5ca9f6=typeof globalThis<'u'?globalThis:_0x5ca9f6||self,_0x280d99(_0x5ca9f6[_0x5e12a5(0x223)]={},_0x5ca9f6[_0x5e12a5(0x195)],_0x5ca9f6[_0x5e12a5(0xf4)],_0x5ca9f6[_0x5e12a5(0x192)],_0x5ca9f6['UniverDesign'],_0x5ca9f6[_0x5e12a5(0x1f9)],_0x5ca9f6[_0x5e12a5(0x222)],_0x5ca9f6['React'],_0x5ca9f6[_0x5e12a5(0x242)]));}(this,function(_0x45e178,_0x4cb4a4,_0x226867,_0x1eacb9,_0x4e433a,_0x21b9b0,_0x8d71fc,_0x36c1e8,_0x7852fe){'use strict';var _0x38a625=_0x5b2f;var _0x4355c5=Object['defineProperty'],_0x307f6d=(_0x5c5e12,_0x18946d,_0x9229b9)=>_0x18946d in _0x5c5e12?_0x4355c5(_0x5c5e12,_0x18946d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9229b9}):_0x5c5e12[_0x18946d]=_0x9229b9,_0x34d0b9=(_0x190b34,_0x253ae4,_0x15d5c2)=>_0x307f6d(_0x190b34,typeof _0x253ae4!=_0x38a625(0x167)?_0x253ae4+'':_0x253ae4,_0x15d5c2),_0x5cfeef=function(){var _0x505b35=_0x38a625;return _0x5cfeef=Object['assign']||function(_0x1ba0b5){var _0x4575b0=_0x5b2f;for(var _0x449c94,_0x385d0b=0x1,_0x25cc62=arguments[_0x4575b0(0x1b5)];_0x385d0b<_0x25cc62;_0x385d0b++){_0x449c94=arguments[_0x385d0b];for(var _0x37dc88 in _0x449c94)Object['prototype']['hasOwnProperty'][_0x4575b0(0x1db)](_0x449c94,_0x37dc88)&&(_0x1ba0b5[_0x37dc88]=_0x449c94[_0x37dc88]);}return _0x1ba0b5;},_0x5cfeef[_0x505b35(0x177)](this,arguments);},_0x30cb81=function(_0x140631,_0x173172){var _0x58a4c6=_0x38a625,_0x578a2d={};for(var _0x2810d4 in _0x140631)Object[_0x58a4c6(0xd6)][_0x58a4c6(0x253)][_0x58a4c6(0x1db)](_0x140631,_0x2810d4)&&_0x173172[_0x58a4c6(0x199)](_0x2810d4)<0x0&&(_0x578a2d[_0x2810d4]=_0x140631[_0x2810d4]);if(_0x140631!=null&&typeof Object[_0x58a4c6(0x265)]==_0x58a4c6(0x1a9)){for(var _0x231daa=0x0,_0x2810d4=Object[_0x58a4c6(0x265)](_0x140631);_0x231daa<_0x2810d4['length'];_0x231daa++)_0x173172[_0x58a4c6(0x199)](_0x2810d4[_0x231daa])<0x0&&Object[_0x58a4c6(0xd6)][_0x58a4c6(0x144)][_0x58a4c6(0x1db)](_0x140631,_0x2810d4[_0x231daa])&&(_0x578a2d[_0x2810d4[_0x231daa]]=_0x140631[_0x2810d4[_0x231daa]]);}return _0x578a2d;},_0x9ee375=_0x36c1e8[_0x38a625(0xec)](function(_0xc112fe,_0x201f0a){var _0x11c56a=_0x38a625,_0x1e8b5c=_0xc112fe[_0x11c56a(0xcd)],_0x2b1204=_0xc112fe['id'],_0x20e33f=_0xc112fe[_0x11c56a(0xd2)],_0x858296=_0xc112fe[_0x11c56a(0x187)],_0x1fd378=_0x30cb81(_0xc112fe,[_0x11c56a(0xcd),'id','className',_0x11c56a(0x187)]),_0xf31575=_0x11c56a(0x1f3)['concat'](_0x2b1204,'\x20')[_0x11c56a(0x207)](_0x20e33f||'')['trim'](),_0xe546f2=_0x36c1e8[_0x11c56a(0xc3)]('_'[_0x11c56a(0x207)](_0x5ea4e1()));return _0xc66305(_0x1e8b5c,''['concat'](_0x2b1204),{'defIds':_0x1e8b5c[_0x11c56a(0x172)],'idSuffix':_0xe546f2[_0x11c56a(0x1f4)]},_0x5cfeef({'ref':_0x201f0a,'className':_0xf31575},_0x1fd378),_0x858296);});function _0xc66305(_0x55d722,_0x69ab10,_0x20036a,_0x4b79ad,_0x141517){var _0x27bb91=_0x38a625;return _0x36c1e8[_0x27bb91(0xf8)](_0x55d722[_0x27bb91(0x160)],_0x5cfeef(_0x5cfeef({'key':_0x69ab10},_0x26b903(_0x55d722,_0x20036a,_0x141517)),_0x4b79ad),(_0x3069a8(_0x55d722,_0x20036a)[_0x27bb91(0x255)]||[])[_0x27bb91(0x26d)](function(_0x285e60,_0x41c9ec){var _0x2d49dd=_0x27bb91;return _0xc66305(_0x285e60,''[_0x2d49dd(0x207)](_0x69ab10,'-')['concat'](_0x55d722['tag'],'-')[_0x2d49dd(0x207)](_0x41c9ec),_0x20036a,void 0x0,_0x141517);}));}function _0x26b903(_0xc8db50,_0x46dac0,_0x235f73){var _0x7f8758=_0x38a625,_0x44479e=_0x5cfeef({},_0xc8db50[_0x7f8758(0xc5)]);_0x235f73!=null&&_0x235f73[_0x7f8758(0x149)]&&_0x44479e['fill']===_0x7f8758(0x149)&&(_0x44479e[_0x7f8758(0x170)]=_0x235f73[_0x7f8758(0x149)]),_0xc8db50[_0x7f8758(0x160)]===_0x7f8758(0x23c)&&_0x44479e['id']&&(_0x44479e['id']=_0x44479e['id']+_0x46dac0[_0x7f8758(0x162)]),Object['entries'](_0x44479e)[_0x7f8758(0x24c)](function(_0x47249a){var _0x3f898c=_0x7f8758,_0x241f1a=_0x47249a[0x0],_0x469753=_0x47249a[0x1];_0x241f1a==='mask'&&typeof _0x469753=='string'&&(_0x44479e[_0x241f1a]=_0x469753[_0x3f898c(0x1a1)](/url\(#(.*)\)/,_0x3f898c(0x22b)[_0x3f898c(0x207)](_0x46dac0[_0x3f898c(0x162)],')')));});var _0x8d341a=_0x46dac0[_0x7f8758(0x172)];return!_0x8d341a||_0x8d341a[_0x7f8758(0x1b5)]===0x0||(_0xc8db50[_0x7f8758(0x160)]===_0x7f8758(0x191)&&_0x44479e['xlink:href']&&(_0x44479e[_0x7f8758(0x257)]=_0x44479e[_0x7f8758(0x257)]+_0x46dac0[_0x7f8758(0x162)]),Object[_0x7f8758(0x1f8)](_0x44479e)[_0x7f8758(0x24c)](function(_0x1d7a5d){var _0x110185=_0x7f8758,_0x1e8541=_0x1d7a5d[0x0],_0x274006=_0x1d7a5d[0x1];typeof _0x274006==_0x110185(0x254)&&(_0x44479e[_0x1e8541]=_0x274006[_0x110185(0x1a1)](/url\(#(.*)\)/,_0x110185(0x22b)[_0x110185(0x207)](_0x46dac0[_0x110185(0x162)],')')));})),_0x44479e;}function _0x3069a8(_0x4aada5,_0x3b42bf){var _0xc8c2ee=_0x38a625,_0x1fc378,_0x4ba5ce=_0x3b42bf[_0xc8c2ee(0x172)];return!_0x4ba5ce||_0x4ba5ce[_0xc8c2ee(0x1b5)]===0x0?_0x4aada5:_0x4aada5[_0xc8c2ee(0x160)]===_0xc8c2ee(0x1ac)&&(!((_0x1fc378=_0x4aada5['children'])===null||_0x1fc378===void 0x0)&&_0x1fc378['length'])?_0x5cfeef(_0x5cfeef({},_0x4aada5),{'children':_0x4aada5[_0xc8c2ee(0x255)][_0xc8c2ee(0x26d)](function(_0x3f622a){var _0x511fde=_0xc8c2ee;return typeof _0x3f622a[_0x511fde(0xc5)]['id']==_0x511fde(0x254)&&_0x4ba5ce&&_0x4ba5ce[_0x511fde(0xe9)](_0x3f622a[_0x511fde(0xc5)]['id'])?_0x5cfeef(_0x5cfeef({},_0x3f622a),{'attrs':_0x5cfeef(_0x5cfeef({},_0x3f622a[_0x511fde(0xc5)]),{'id':_0x3f622a[_0x511fde(0xc5)]['id']+_0x3b42bf['idSuffix']})}):_0x3f622a;})}):_0x4aada5;}function _0x5ea4e1(){var _0x3087f0=_0x38a625;return Math[_0x3087f0(0x153)]()[_0x3087f0(0x138)](0x24)[_0x3087f0(0x1ec)](0x2,0x8);}_0x9ee375['displayName']='UniverIcon';var _0x1d8e2e={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x38a625(0xce),'viewBox':_0x38a625(0x26c),'width':'1em','height':_0x38a625(0x128)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':'currentColor','d':_0x38a625(0x1e0),'fillRule':_0x38a625(0x10c),'clipRule':'evenodd'}}]},_0x3938c0=_0x36c1e8['forwardRef'](function(_0xf6bc30,_0x3429e5){var _0x58f356=_0x38a625;return _0x36c1e8[_0x58f356(0xf8)](_0x9ee375,Object[_0x58f356(0x121)]({},_0xf6bc30,{'id':_0x58f356(0x200),'ref':_0x3429e5,'icon':_0x1d8e2e}));});_0x3938c0[_0x38a625(0x262)]=_0x38a625(0x1cb);var _0x161a83={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':'none','viewBox':_0x38a625(0x24d),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x38a625(0x13d),'d':_0x38a625(0x12e),'strokeLinecap':'round','strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.33}},{'tag':_0x38a625(0x12f),'attrs':{'stroke':_0x38a625(0x13d),'d':_0x38a625(0x17b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}}]},_0x3d84fc=_0x36c1e8['forwardRef'](function(_0x1e3729,_0x5c3b91){var _0x4a7537=_0x38a625;return _0x36c1e8['createElement'](_0x9ee375,Object[_0x4a7537(0x121)]({},_0x1e3729,{'id':_0x4a7537(0x166),'ref':_0x5c3b91,'icon':_0x161a83}));});_0x3d84fc[_0x38a625(0x262)]='CloseSmallSingle';var _0x1bb5a3={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x38a625(0x26c),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':_0x38a625(0x13d),'d':_0x38a625(0x1fd)}},{'tag':'path','attrs':{'fill':_0x38a625(0x13d),'d':_0x38a625(0x210)}},{'tag':'path','attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x38a625(0x10c),'clipRule':_0x38a625(0x10c)}}]},_0x3dbfcf=_0x36c1e8[_0x38a625(0xec)](function(_0x5b32ba,_0x3b816c){var _0x55d617=_0x38a625;return _0x36c1e8[_0x55d617(0xf8)](_0x9ee375,Object[_0x55d617(0x121)]({},_0x5b32ba,{'id':_0x55d617(0x264),'ref':_0x3b816c,'icon':_0x1bb5a3}));});_0x3dbfcf[_0x38a625(0x262)]=_0x38a625(0x25b);var _0x17c646={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':_0x38a625(0xce),'viewBox':_0x38a625(0x26c),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x38a625(0x126)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'stroke':_0x38a625(0x13d),'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':_0x38a625(0x218),'strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.2}}]},{'tag':_0x38a625(0x1ac),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x38a625(0xe0)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':_0x38a625(0xc8),'d':_0x38a625(0x240)}}]}]}],'defIds':[_0x38a625(0xe0)]},_0x55fcff=_0x36c1e8[_0x38a625(0xec)](function(_0x1853c8,_0xc6ca8c){var _0x5721fb=_0x38a625;return _0x36c1e8[_0x5721fb(0xf8)](_0x9ee375,Object[_0x5721fb(0x121)]({},_0x1853c8,{'id':_0x5721fb(0xc0),'ref':_0xc6ca8c,'icon':_0x17c646}));});_0x55fcff[_0x38a625(0x262)]=_0x38a625(0x140);var _0x5958ea={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':'none','viewBox':_0x38a625(0xf1),'width':_0x38a625(0x128),'height':_0x38a625(0x128)},'children':[{'tag':'g','attrs':{'clipPath':_0x38a625(0x109)},'children':[{'tag':'path','attrs':{'stroke':_0x38a625(0x13d),'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':_0x38a625(0x218),'strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38a625(0x1f1),'attrs':{'id':_0x38a625(0x1c2)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':'white','d':_0x38a625(0x240),'transform':_0x38a625(0x1d0)}}]}]}],'defIds':[_0x38a625(0x1c2)]},_0x1bd988=_0x36c1e8[_0x38a625(0xec)](function(_0x35bf57,_0x5a8942){var _0x32df29=_0x38a625;return _0x36c1e8[_0x32df29(0xf8)](_0x9ee375,Object['assign']({},_0x35bf57,{'id':_0x32df29(0x11a),'ref':_0x5a8942,'icon':_0x5958ea}));});_0x1bd988[_0x38a625(0x262)]=_0x38a625(0x22f);function _0x5205be(_0x4d3fd5){var _0x1f3c76=_0x38a625,_0x2116ed,_0x155abb;const {mcpCoreConfig:_0x477faa,onSave:_0x5b72f7,loading:_0x901473=!0x1,config:_0x53b207,connectionStatus$:_0x308daf,connectionError$:_0x29fce6,currentApiKey$:_0x17cf6e,currentSessionId$:_0x50be1f}=_0x4d3fd5,_0x300c62=_0x21b9b0[_0x1f3c76(0x11c)](_0x4cb4a4[_0x1f3c76(0xda)]),_0x575654=_0x21b9b0[_0x1f3c76(0x25e)](_0x308daf,_0x1eacb9['MCPConnectionStatus'][_0x1f3c76(0x173)]),_0x80314f=_0x21b9b0['useObservable'](_0x29fce6,_0x1eacb9[_0x1f3c76(0x1cc)][_0x1f3c76(0x1da)]),_0x1ea430=_0x21b9b0[_0x1f3c76(0x25e)](_0x50be1f,''),_0x43c8ae=_0x21b9b0[_0x1f3c76(0x25e)](_0x17cf6e,''),[_0x13b41e,_0x4296d9]=_0x36c1e8['useState'](_0x43c8ae||''),_0x375dc5=!0x0,_0x5dd385=_0x53b207[_0x1f3c76(0x23e)]&&_0x477faa[_0x1f3c76(0x1e2)]&&(_0x477faa[_0x1f3c76(0x1e2)][_0x1f3c76(0xe9)](_0x1f3c76(0x1e7))||_0x477faa[_0x1f3c76(0x1e2)]['includes']('univer.ai')),_0x2426f5=(_0x2116ed=_0x477faa['mcpServerUrl'])==null?void 0x0:_0x2116ed['includes'](_0x1f3c76(0x1e7)),_0x14cb34=(_0x155abb=_0x477faa[_0x1f3c76(0x1e2)])==null?void 0x0:_0x155abb['includes'](_0x1f3c76(0x13e)),_0x28a5f2=_0x2426f5?'https://console.univer.plus':_0x1f3c76(0x148),_0x11bd93=_0x53b207[_0x1f3c76(0x23e)]&&(_0x2426f5||_0x14cb34),[_0x3fc4b6,_0x7f4eee]=_0x36c1e8['useState'](!_0x13b41e[_0x1f3c76(0x236)]()),_0x1d48a9=(_0x555396,_0x18714f)=>{var _0x22368e=_0x1f3c76;if(_0x18714f===_0x1eacb9['MCPConnectionError']['UNAUTHORIZED'])return _0x22368e(0xf9);switch(_0x555396){case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x180)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x1eacb9['MCPConnectionStatus'][_0x22368e(0x1f6)]:case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x134)]:return _0x22368e(0xfd);case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x1cd)]:return _0x22368e(0xf9);default:return _0x22368e(0x1d9);}},_0x4a3b61=(_0x258633,_0x2fb006)=>{var _0x381931=_0x1f3c76;if(_0x2fb006===_0x1eacb9[_0x381931(0x1cc)][_0x381931(0x214)])return _0x381931(0x105);switch(_0x258633){case _0x1eacb9[_0x381931(0x241)]['CONNECTED']:return _0x381931(0xf7);case _0x1eacb9[_0x381931(0x241)][_0x381931(0x1f6)]:case _0x1eacb9['MCPConnectionStatus'][_0x381931(0x134)]:return _0x381931(0x131);case _0x1eacb9['MCPConnectionStatus'][_0x381931(0x1cd)]:return _0x381931(0x105);default:return'univer-bg-gray-500';}},_0x2d447b=_0x3dde20=>{var _0x3a9b19=_0x1f3c76;switch(_0x3dde20){case _0x1eacb9[_0x3a9b19(0x241)][_0x3a9b19(0x180)]:return _0x300c62['t'](_0x3a9b19(0x1d8));case _0x1eacb9[_0x3a9b19(0x241)][_0x3a9b19(0x1f6)]:return _0x300c62['t'](_0x3a9b19(0x141));case _0x1eacb9[_0x3a9b19(0x241)]['FAILED']:return _0x300c62['t'](_0x3a9b19(0x14d));case _0x1eacb9['MCPConnectionStatus']['RETRYING']:return _0x300c62['t']('mcpConfig.connectionStatus.retrying');default:return _0x300c62['t'](_0x3a9b19(0x1e1));}},_0x798563=_0x2d0248=>{var _0xd6f14=_0x1f3c76;switch(_0x2d0248){case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x214)]:return _0x300c62['t'](_0xd6f14(0x244));case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x1df)]:return _0x300c62['t']('mcpConfig.connectionError.sessionOccupied');case _0x1eacb9['MCPConnectionError'][_0xd6f14(0xdc)]:return _0x300c62['t']('mcpConfig.connectionError.networkError');case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x101)]:return _0x300c62['t'](_0xd6f14(0x21c));default:return'';}},_0x402fae=_0x36c1e8['useCallback'](()=>{var _0x35c77f=_0x1f3c76;const _0x1f1f12={..._0x477faa,'apiKey':_0x13b41e[_0x35c77f(0x236)](),'enableAuth':_0x375dc5};_0x5b72f7(_0x1f1f12);},[_0x477faa,_0x13b41e,_0x375dc5,_0x5b72f7]),_0x5419fa=_0x13b41e[_0x1f3c76(0x236)]()[_0x1f3c76(0x1b5)]>0x0;return _0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x23b),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x23a),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x15e),'children':[_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x18d),'children':_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x23d),'children':'⚙'})}),_0x226867[_0x1f3c76(0x15a)]('div',{'children':_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x19f),'children':_0x300c62['t'](_0x1f3c76(0x20a))})})]})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1a4),'children':[_0x226867['jsx'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x17f)+_0x1d48a9(_0x575654,_0x80314f)+_0x1f3c76(0x1ae),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x15c)+_0x4a3b61(_0x575654,_0x80314f)+_0x1f3c76(0x19c)}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x10e),'children':_0x2d447b(_0x575654)})]})}),_0x80314f!==_0x1eacb9['MCPConnectionError'][_0x1f3c76(0x1da)]&&(_0x575654===_0x1eacb9[_0x1f3c76(0x241)][_0x1f3c76(0x1cd)]||_0x80314f===_0x1eacb9[_0x1f3c76(0x1cc)][_0x1f3c76(0x214)])&&_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xe8),'children':_0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x219),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x21e),'children':'⚠️'}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x154),'children':_0x798563(_0x80314f)})]})})]}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x1e5),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x19e),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x16d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x226867[_0x1f3c76(0x15a)]('span',{'children':'🔑'}),'\x20',_0x300c62['t'](_0x1f3c76(0x204)),_0x226867['jsx'](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x1ad),'children':'*'}),_0x5dd385&&_0x226867[_0x1f3c76(0x15a)]('a',{'href':'javascript:void(0)','onClick':()=>_0x7f4eee(!0x0),'className':_0x1f3c76(0xf2),'title':_0x300c62['t'](_0x1f3c76(0xc4)),'children':_0x226867[_0x1f3c76(0x15a)](_0x3dbfcf,{})})]}),_0x226867[_0x1f3c76(0x15a)](_0x4e433a[_0x1f3c76(0xd7)],{'type':_0x1f3c76(0x1c5),'placeholder':_0x300c62['t'](_0x1f3c76(0x1fc)),'value':_0x13b41e,'onChange':_0x4296d9,'disabled':_0x901473,'autoComplete':'off'}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x215))})]}),_0x5dd385&&_0x3fc4b6&&_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x258),'children':[_0x226867[_0x1f3c76(0x15a)]('a',{'href':'javascript:void(0)','onClick':()=>_0x7f4eee(!0x1),'className':_0x1f3c76(0x107),'title':_0x1f3c76(0x18c),'children':_0x226867[_0x1f3c76(0x15a)](_0x3d84fc,{})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x106),'children':[_0x226867['jsx']('div',{'className':_0x1f3c76(0x102),'children':_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x10f),'children':'🚀'})}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x100),'children':[_0x226867[_0x1f3c76(0x15a)]('h4',{'className':_0x1f3c76(0xdd),'children':_0x300c62['t'](_0x1f3c76(0xc4))}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x212),'children':_0x300c62['t'](_0x1f3c76(0x122))}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x233),'children':_0x11bd93&&_0x226867[_0x1f3c76(0x1bb)]('a',{'href':_0x28a5f2,'target':_0x1f3c76(0xde),'rel':_0x1f3c76(0x1a2),'className':_0x1f3c76(0xed),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'children':'🤖'}),_0x300c62['t'](_0x1f3c76(0x171)),_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x142),'children':'↗'})]})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x186),'children':['✨','\x20',_0x300c62['t'](_0x1f3c76(0x208))]})]})]})]}),_0x53b207[_0x1f3c76(0x23e)]&&_0x226867['jsxs']('div',{'className':_0x1f3c76(0x12d),'children':[_0x226867[_0x1f3c76(0x1bb)]('h4',{'className':_0x1f3c76(0x268),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'children':'🔗'}),'\x20',_0x300c62['t'](_0x1f3c76(0x1af))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x117),'children':[_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x267),'children':[_0x226867['jsx']('p',{'className':_0x1f3c76(0x224),'children':_0x300c62['t'](_0x1f3c76(0x135))}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x1e9),'children':_0x300c62['t'](_0x1f3c76(0x1a6))}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x152),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x15f),'children':'1'}),_0x300c62['t'](_0x1f3c76(0x130))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x15f),'children':'2'}),_0x300c62['t'](_0x1f3c76(0xd3))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x15f),'children':'3'}),_0x300c62['t'](_0x1f3c76(0x234))]})]})]})]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-space-y-2','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1e9),'children':_0x1f3c76(0x1b6)}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xc7),'children':_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x12c),{'className':_0x1f3c76(0xe4),'children':_0x1f3c76(0xfb)+_0x1ea430+'\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'+(_0x13b41e||_0x1f3c76(0x14b))+_0x1f3c76(0x1be)})})]}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':'univer-space-y-3','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x300c62['t']('mcpConfig.configParameters')}),_0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x226867['jsx'](_0x1f3c76(0x235),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x1f7),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1b7),'children':_0x1f3c76(0x216)}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x266))})]})]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x11f),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x164)}),_0x226867['jsxs'](_0x1f3c76(0x235),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1b7),'children':_0x1f3c76(0x202)}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x17d))})]})]})]})]})]})]}),_0x226867[_0x1f3c76(0x15a)](_0x4e433a['Button'],{'onClick':_0x402fae,'disabled':!_0x5419fa||_0x901473,'className':_0x1f3c76(0x12a),'children':_0x901473?_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'children':'⟲'}),_0x300c62['t']('mcpConfig.saving')]}):_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x1dc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x226867['jsx'](_0x3938c0,{}),_0x300c62['t'](_0x1f3c76(0x205))]})}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x263),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1a3),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x19b),'children':'💡'}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xe3),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x261),'children':_0x1f3c76(0x136)}),_0x226867['jsxs']('div',{'children':['•',_0x300c62['t']('mcpConfig.note1')]}),_0x226867['jsxs'](_0x1f3c76(0x235),{'children':['•',_0x300c62['t'](_0x1f3c76(0xfc))]})]})]})})]})})]});}const _0x42f80b='mcp-ui.config',_0x4256f2={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x48bc8e=Object[_0x38a625(0x231)],_0x3bb9d7=(_0x497ab8,_0x5335ba,_0x4306c3,_0x3b72b0)=>{var _0x4b89f8=_0x38a625;for(var _0x40183d=_0x3b72b0>0x1?void 0x0:_0x3b72b0?_0x48bc8e(_0x5335ba,_0x4306c3):_0x5335ba,_0x4137cd=_0x497ab8[_0x4b89f8(0x1b5)]-0x1,_0x183aab;_0x4137cd>=0x0;_0x4137cd--)(_0x183aab=_0x497ab8[_0x4137cd])&&(_0x40183d=_0x183aab(_0x40183d)||_0x40183d);return _0x40183d;},_0x577fde=(_0x5f421b,_0x47b709)=>(_0xf8cc09,_0x2a4218)=>_0x47b709(_0xf8cc09,_0x2a4218,_0x5f421b);const _0x6b63b7='mcp.apiKey',_0x1b4840=_0x38a625(0xf5);_0x45e178[_0x38a625(0x104)]=class extends _0x4cb4a4['Disposable']{constructor(_0x413af2,_0x11afc4,_0x4cfbb5,_0x286ff1,_0x519059,_0x188804,_0x46f1a6,_0x3234ed,_0x2d1119,_0x16b7e3){var _0x3cb960=_0x38a625;super(),_0x34d0b9(this,_0x3cb960(0x1c4),new _0x8d71fc[(_0x3cb960(0x248))](!0x1)),_0x34d0b9(this,_0x3cb960(0xc1),new _0x8d71fc[(_0x3cb960(0x248))]({})),_0x34d0b9(this,_0x3cb960(0x26b),new _0x8d71fc['BehaviorSubject']({})),_0x34d0b9(this,_0x3cb960(0x14c),new _0x8d71fc[(_0x3cb960(0x248))]('')),_0x34d0b9(this,_0x3cb960(0x18e),async _0x32fff2=>{var _0x3f3adc=_0x3cb960,_0x2e0ea8,_0xa5b822;this[_0x3f3adc(0x1c4)][_0x3f3adc(0x20d)](!0x0);try{const _0x1737ac=await this[_0x3f3adc(0x15b)](_0x32fff2);if(!_0x1737ac[_0x3f3adc(0x217)]){this[_0x3f3adc(0x197)][_0x3f3adc(0x133)]({'type':_0x4e433a['MessageType'][_0x3f3adc(0x1ba)],'content':_0x1737ac[_0x3f3adc(0xef)]||this[_0x3f3adc(0x1b9)]['t'](_0x3f3adc(0x125))});return;}_0x32fff2[_0x3f3adc(0x1b3)]?await this[_0x3f3adc(0x178)][_0x3f3adc(0x1c7)](_0x6b63b7,_0x32fff2[_0x3f3adc(0x1b3)][_0x3f3adc(0x236)]()):await this['_localStorageService'][_0x3f3adc(0x13b)](_0x6b63b7),this[_0x3f3adc(0x14c)][_0x3f3adc(0x20d)](((_0x2e0ea8=_0x32fff2[_0x3f3adc(0x1b3)])==null?void 0x0:_0x2e0ea8[_0x3f3adc(0x236)]())||''),this[_0x3f3adc(0x1e4)][_0x3f3adc(0x25a)]({'Authorization':_0x3f3adc(0x108)+((_0xa5b822=_0x32fff2[_0x3f3adc(0x1b3)])==null?void 0x0:_0xa5b822[_0x3f3adc(0x236)]())}),this[_0x3f3adc(0x197)][_0x3f3adc(0x133)]({'type':_0x4e433a['MessageType'][_0x3f3adc(0x1d5)],'content':this[_0x3f3adc(0x1b9)]['t'](_0x3f3adc(0x114))}),setTimeout(()=>{var _0x5cfd67=_0x3f3adc;this[_0x5cfd67(0x25c)][_0x5cfd67(0x155)](_0x1b4840);},0x320);}catch(_0x476d00){this[_0x3f3adc(0x13f)][_0x3f3adc(0x1f0)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x476d00),this['_messageService'][_0x3f3adc(0x133)]({'type':_0x4e433a[_0x3f3adc(0x13a)][_0x3f3adc(0x1ba)],'content':this['_localeService']['t'](_0x3f3adc(0x1ff))});}finally{this['_loading$'][_0x3f3adc(0x20d)](!0x1);}}),(this[_0x3cb960(0x213)]=_0x413af2,this['_uiPartsService']=_0x11afc4,this[_0x3cb960(0x225)]=_0x4cfbb5,this[_0x3cb960(0x178)]=_0x286ff1,this['_dialogService']=_0x519059,this['_messageService']=_0x188804,this[_0x3cb960(0x175)]=_0x46f1a6,this['_localeService']=_0x3234ed,this['_logService']=_0x2d1119,this[_0x3cb960(0x1e4)]=_0x16b7e3,this[_0x3cb960(0x21d)](),this['_loadStoredApiKey'](),this['_registerComponent']());}['showConfigPanel'](){var _0x3edd24=_0x38a625;const _0x2246ef=this[_0x3edd24(0x225)][_0x3edd24(0xdb)](_0x42f80b);_0x2246ef!=null&&_0x2246ef['showDeveloperTools']&&this['_dialogService'][_0x3edd24(0x16f)]({'id':_0x1b4840,'title':{'title':this['_localeService']['t'](_0x3edd24(0x17e))},'children':{'label':_0x3edd24(0x137)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xb2c092=_0x3edd24;this['_dialogService'][_0xb2c092(0x155)](_0x1b4840);}});}[_0x38a625(0x249)](){return this['_mcpCoreConfig$']['value'];}[_0x38a625(0xd1)](){var _0x335044=_0x38a625;this['disposeWithMe'](this[_0x335044(0x175)][_0x335044(0x251)](_0x335044(0x137),this[_0x335044(0x1de)]()));}[_0x38a625(0x1de)](){var _0x5165ce=_0x38a625;return _0x21b9b0['connectInjector'](()=>{var _0x52658f=_0x5b2f,_0x5e7593,_0x41c52f,_0x4b417e;return _0x226867['jsx'](_0x5205be,{'config':this[_0x52658f(0x26b)]['value'],'mcpCoreConfig':this[_0x52658f(0xc1)][_0x52658f(0x1b0)],'currentApiKey$':this[_0x52658f(0x14c)],'onSave':this[_0x52658f(0x18e)],'loading':this[_0x52658f(0x1c4)]['value'],'connectionStatus$':(_0x5e7593=this[_0x52658f(0x1e4)])==null?void 0x0:_0x5e7593[_0x52658f(0x1fe)],'connectionError$':(_0x41c52f=this[_0x52658f(0x1e4)])==null?void 0x0:_0x41c52f['connectionError$'],'currentSessionId$':(_0x4b417e=this[_0x52658f(0x1e4)])==null?void 0x0:_0x4b417e[_0x52658f(0x132)]});},this[_0x5165ce(0x213)]);}[_0x38a625(0x21d)](){var _0x50f31e=_0x38a625;this[_0x50f31e(0x113)](this['_configService'][_0x50f31e(0x21b)](_0x1eacb9['MCP_PLUGIN_CONFIG_KEY'])[_0x50f31e(0xeb)](_0x48cf5b=>{var _0x5dbd15=_0x50f31e;this[_0x5dbd15(0xc1)][_0x5dbd15(0x20d)](_0x48cf5b||{});}));const _0x563e77=this['_configService'][_0x50f31e(0xdb)](_0x1eacb9[_0x50f31e(0x11d)]);this[_0x50f31e(0xc1)][_0x50f31e(0x20d)](_0x563e77||{}),this[_0x50f31e(0x113)](this['_configService']['subscribeConfigValue$'](_0x42f80b)[_0x50f31e(0xeb)](_0x33c723=>{var _0x348795=_0x50f31e;this[_0x348795(0x26b)][_0x348795(0x20d)](_0x33c723||{});}));const _0x4a3e1a=this[_0x50f31e(0x225)][_0x50f31e(0xdb)](_0x42f80b);this[_0x50f31e(0x26b)][_0x50f31e(0x20d)](_0x4a3e1a||{});}async[_0x38a625(0x237)](){var _0x3e6f17=_0x38a625;const _0x49ea9a=this[_0x3e6f17(0x225)]['getConfig'](_0x42f80b);if(!(_0x49ea9a!=null&&_0x49ea9a[_0x3e6f17(0x23e)]))return;const _0x274c2e=await this[_0x3e6f17(0x178)][_0x3e6f17(0x198)](_0x6b63b7);_0x274c2e&&(this['_mcpConnectionController'][_0x3e6f17(0x25a)]({'Authorization':_0x3e6f17(0x108)+_0x274c2e}),this[_0x3e6f17(0x14c)][_0x3e6f17(0x20d)](_0x274c2e));}async['_validateConfig'](_0x28334b){var _0x5a209c=_0x38a625;if(!_0x28334b[_0x5a209c(0x1b3)]||_0x28334b[_0x5a209c(0x1b3)]['trim']()[_0x5a209c(0x1b5)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5a209c(0x1b9)]['t'](_0x5a209c(0x1fa))};if(_0x28334b[_0x5a209c(0x1b3)][_0x5a209c(0x236)]()[_0x5a209c(0x1b5)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5a209c(0x1b9)]['t'](_0x5a209c(0x18f))};try{const _0x16866e=await this['_injector'][_0x5a209c(0x1ea)](_0x1eacb9['MCPConnectionController'])['validateApiKey'](_0x28334b[_0x5a209c(0x1b3)][_0x5a209c(0x236)]());return _0x16866e['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x16866e[_0x5a209c(0x1f0)]||this['_localeService']['t'](_0x5a209c(0x25d))};}catch(_0x5dfff7){return console['warn'](_0x5a209c(0x229),_0x5dfff7),{'isValid':!0x0};}}},_0x45e178[_0x38a625(0x104)]=_0x3bb9d7([_0x577fde(0x0,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x577fde(0x1,_0x21b9b0['IUIPartsService']),_0x577fde(0x2,_0x4cb4a4[_0x38a625(0x269)]),_0x577fde(0x3,_0x4cb4a4[_0x38a625(0x181)]),_0x577fde(0x4,_0x21b9b0['IDialogService']),_0x577fde(0x5,_0x21b9b0['IMessageService']),_0x577fde(0x6,_0x4cb4a4[_0x38a625(0x1c1)](_0x21b9b0['ComponentManager'])),_0x577fde(0x7,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4[_0x38a625(0xda)])),_0x577fde(0x8,_0x4cb4a4['ILogService']),_0x577fde(0x9,_0x4cb4a4[_0x38a625(0x1c1)](_0x1eacb9[_0x38a625(0x185)]))],_0x45e178[_0x38a625(0x104)]);const _0x2aa0a2={'id':'mcp-ui.command.openConfigPanel','type':_0x4cb4a4['CommandType']['COMMAND'],'handler':async(_0x4e74c6,_0x4ebe7e)=>(_0x4e74c6[_0x38a625(0x1ea)](_0x45e178[_0x38a625(0x104)])[_0x38a625(0x1ce)](),!0x0)};function _0x55e652(_0x5726d6,_0x4c7365){var _0x2b438a=_0x38a625;switch(_0x5726d6){case _0x1eacb9[_0x2b438a(0x241)]['DISCONNECTED']:return _0x2b438a(0x1b8);case _0x1eacb9[_0x2b438a(0x241)]['CONNECTING']:return _0x2b438a(0x1d1);case _0x1eacb9['MCPConnectionStatus'][_0x2b438a(0x180)]:return'mcpStatus.connected';case _0x1eacb9['MCPConnectionStatus']['FAILED']:switch(_0x4c7365){case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0x214)]:return _0x2b438a(0x179);case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0x1df)]:return _0x2b438a(0xff);case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0xdc)]:return _0x2b438a(0x1b1);case _0x1eacb9[_0x2b438a(0x1cc)]['MAX_RETRIES_EXCEEDED']:return _0x2b438a(0x1c3);default:return _0x2b438a(0x232);}case _0x1eacb9['MCPConnectionStatus']['RETRYING']:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function _0x29f079(_0xd51e1b,_0x135979,_0x6a8ed1,_0x1062b7=!0x0){var _0x10e83d=_0x38a625;const _0x25131a=_0x55e652(_0xd51e1b,_0x135979),_0xbdeb91=_0x6a8ed1['t'](_0x25131a);return _0x1062b7?_0xd51e1b===_0x1eacb9['MCPConnectionStatus'][_0x10e83d(0x173)]&&_0x135979===_0x1eacb9['MCPConnectionError'][_0x10e83d(0x214)]?_0xbdeb91+'\x20-\x20'+_0x6a8ed1['t'](_0x10e83d(0x16a)):_0xd51e1b===_0x1eacb9[_0x10e83d(0x241)][_0x10e83d(0x180)]?''+_0xbdeb91:_0xd51e1b===_0x1eacb9[_0x10e83d(0x241)]['DISCONNECTED']||_0xd51e1b===_0x1eacb9['MCPConnectionStatus'][_0x10e83d(0x1cd)]?_0xbdeb91+_0x10e83d(0x10a)+_0x6a8ed1['t'](_0x10e83d(0xdf)):_0xbdeb91:_0xbdeb91;}function _0x17f942(_0x47b9e6){var _0x26a8cf=_0x38a625;switch(_0x47b9e6){case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x180)]:return _0x26a8cf(0x22d);case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x1f6)]:case _0x1eacb9[_0x26a8cf(0x241)]['RETRYING']:return _0x26a8cf(0x1bd);case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x1cd)]:case _0x1eacb9[_0x26a8cf(0x241)]['DISCONNECTED']:return _0x26a8cf(0x1ad);default:return _0x26a8cf(0x174);}}function _0x42e9f6(_0x5d27e2){var _0x2dc76c=_0x38a625;const {status$:_0x2abbd6,error$:_0xd9c8fe,onConfigure:_0x18143e,showClickable:_0x73b654=!0x0}=_0x5d27e2,_0x2aaeae=_0x21b9b0[_0x2dc76c(0x25e)](_0x2abbd6,_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x173)]),_0x14fa2c=_0x21b9b0[_0x2dc76c(0x25e)](_0xd9c8fe,_0x1eacb9[_0x2dc76c(0x1cc)][_0x2dc76c(0x1da)]),_0x1997ae=_0x21b9b0[_0x2dc76c(0x11c)](_0x4cb4a4[_0x2dc76c(0xda)]),_0x30a29f=_0x2aaeae===_0x1eacb9['MCPConnectionStatus'][_0x2dc76c(0x180)];_0x2aaeae===_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x1f6)]||_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x134)];const _0x12429e=_0x1997ae['t'](_0x55e652(_0x2aaeae,_0x14fa2c)),_0x550196=_0x29f079(_0x2aaeae,_0x14fa2c,_0x1997ae,_0x73b654),_0x535327=_0x17f942(_0x2aaeae),_0x5dbccb=_0x30a29f?_0x226867[_0x2dc76c(0x15a)](_0x1bd988,{}):_0x226867[_0x2dc76c(0x15a)](_0x55fcff,{}),_0x1a4fe0=_0x36c1e8[_0x2dc76c(0xd9)](()=>{_0x73b654&&_0x18143e&&_0x18143e();},[_0x73b654,_0x18143e]);function _0x5dcc64(){var _0x33bd12=_0x2dc76c;return _0x226867['jsxs']('div',{'className':_0x4e433a['clsx'](_0x33bd12(0x1eb),_0x73b654&&_0x18143e&&'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'),'onClick':_0x73b654&&_0x18143e?_0x1a4fe0:void 0x0,'children':[_0x226867[_0x33bd12(0x15a)](_0x33bd12(0x235),{'className':_0x4e433a[_0x33bd12(0x1c6)](_0x33bd12(0x165),_0x535327),'children':_0x5dbccb}),_0x226867[_0x33bd12(0x15a)]('div',{'className':_0x33bd12(0x227),'children':_0x12429e})]});}return _0x226867[_0x2dc76c(0x15a)](_0x4e433a[_0x2dc76c(0x188)],{'title':_0x550196,'placement':'bottom','children':_0x5dcc64()});}var _0x4acf06=Object[_0x38a625(0x231)],_0x1b7d52=(_0x115377,_0x24d60b,_0x311a9e,_0x498301)=>{var _0x1ea85d=_0x38a625;for(var _0x48fa11=_0x498301>0x1?void 0x0:_0x498301?_0x4acf06(_0x24d60b,_0x311a9e):_0x24d60b,_0x11265b=_0x115377[_0x1ea85d(0x1b5)]-0x1,_0x5ad9b3;_0x11265b>=0x0;_0x11265b--)(_0x5ad9b3=_0x115377[_0x11265b])&&(_0x48fa11=_0x5ad9b3(_0x48fa11)||_0x48fa11);return _0x48fa11;},_0x55d2f8=(_0x593682,_0x498b25)=>(_0x92e8cc,_0x5794b3)=>_0x498b25(_0x92e8cc,_0x5794b3,_0x593682);_0x45e178[_0x38a625(0x124)]=class extends _0x4cb4a4[_0x38a625(0x1c0)]{constructor(_0x529700,_0x3097e4,_0x513704,_0x4ba921){var _0xa9a274=_0x38a625;super(),this[_0xa9a274(0x213)]=_0x529700,this['_connectionController']=_0x3097e4,this[_0xa9a274(0x17a)]=_0x513704,this['_configService']=_0x4ba921,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x38a625(0xfa)](){var _0x37361e=_0x38a625;const _0x218914=this[_0x37361e(0x225)][_0x37361e(0xdb)](_0x42f80b);_0x218914!=null&&_0x218914['showDeveloperTools']&&(this['_connectionController'][_0x37361e(0x226)]=!0x1);}[_0x38a625(0x19a)](){var _0x56beb7=_0x38a625;const _0x2f9e1a=this[_0x56beb7(0x225)][_0x56beb7(0xdb)](_0x42f80b);(_0x2f9e1a==null?void 0x0:_0x2f9e1a[_0x56beb7(0x169)])!==!0x1&&this[_0x56beb7(0x113)](this['_uiPartsService'][_0x56beb7(0x163)](_0x21b9b0[_0x56beb7(0x1ef)][_0x56beb7(0x20f)],()=>{var _0x580798=_0x56beb7,_0x5f0107;return _0x21b9b0[_0x580798(0xd0)](_0x448723({'status$':this['_connectionController'][_0x580798(0x1fe)],'error$':this[_0x580798(0x1b2)][_0x580798(0x159)],'onConfigure':()=>this[_0x580798(0xc6)](),'showClickable':(_0x5f0107=_0x2f9e1a==null?void 0x0:_0x2f9e1a[_0x580798(0x23e)])!=null?_0x5f0107:!0x1}),this[_0x580798(0x213)]);}));}['_handleConfigure'](){var _0x5aec69=_0x38a625;this[_0x5aec69(0x213)]['get'](_0x45e178[_0x5aec69(0x104)])[_0x5aec69(0x1ce)]();}},_0x45e178[_0x38a625(0x124)]=_0x1b7d52([_0x55d2f8(0x0,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x55d2f8(0x1,_0x4cb4a4['Inject'](_0x1eacb9['MCPConnectionController'])),_0x55d2f8(0x2,_0x21b9b0[_0x38a625(0x14a)]),_0x55d2f8(0x3,_0x4cb4a4[_0x38a625(0x269)])],_0x45e178['MCPConnectionUIController']);function _0x448723(_0x4aa9ee){const {status$:_0x33e0ce,error$:_0x2e2611,onConfigure:_0x4f8bb2,showClickable:_0x5d49bb}=_0x4aa9ee;return function(){var _0x1373e3=_0x5b2f;return _0x226867[_0x1373e3(0x15a)](_0x42e9f6,{'status$':_0x33e0ce,'error$':_0x2e2611,'onConfigure':_0x4f8bb2,'showClickable':_0x5d49bb});};}function _0x451ef7(_0x3bd6d6){var _0x2c62a1=_0x38a625;return{'id':_0x2aa0a2['id'],'type':_0x21b9b0['MenuItemType'][_0x2c62a1(0x111)],'icon':_0x2c62a1(0x1a7),'title':_0x2c62a1(0x17e),'tooltip':_0x2c62a1(0x17e)};}const _0x11be19={[_0x21b9b0[_0x38a625(0xc2)][_0x38a625(0x196)]]:{[_0x2aa0a2['id']]:{'order':0xa,'menuItemFactory':_0x451ef7}}};var _0x3b93c4=Object[_0x38a625(0x231)],_0x5ba923=(_0x182cc6,_0x450be9,_0x472e68,_0x2f448b)=>{for(var _0x144f0d=_0x2f448b>0x1?void 0x0:_0x2f448b?_0x3b93c4(_0x450be9,_0x472e68):_0x450be9,_0x256048=_0x182cc6['length']-0x1,_0x399b4b;_0x256048>=0x0;_0x256048--)(_0x399b4b=_0x182cc6[_0x256048])&&(_0x144f0d=_0x399b4b(_0x144f0d)||_0x144f0d);return _0x144f0d;},_0x551bee=(_0x2a97d8,_0x54e78f)=>(_0x2b832c,_0x30512c)=>_0x54e78f(_0x2b832c,_0x30512c,_0x2a97d8);_0x45e178[_0x38a625(0x1bf)]=class extends _0x4cb4a4[_0x38a625(0x1c0)]{constructor(_0x43b324,_0x36e94c){var _0xe39892=_0x38a625;super(),this['_commandService']=_0x43b324,this['_menuManagerService']=_0x36e94c,this[_0xe39892(0x115)](),this[_0xe39892(0x22e)]();}[_0x38a625(0x115)](){[_0x2aa0a2]['forEach'](_0x2d0d9a=>{var _0x52a07e=_0x5b2f;this[_0x52a07e(0x113)](this[_0x52a07e(0x14e)]['registerCommand'](_0x2d0d9a));});}['_initializeMenus'](){var _0x450bb5=_0x38a625;this[_0x450bb5(0x1d3)][_0x450bb5(0xe1)](_0x11be19);}},_0x45e178[_0x38a625(0x1bf)]=_0x5ba923([_0x551bee(0x0,_0x4cb4a4[_0x38a625(0x182)]),_0x551bee(0x1,_0x21b9b0['IMenuManagerService'])],_0x45e178[_0x38a625(0x1bf)]);const _0x29e172={'mcpStatus':{'disconnected':_0x38a625(0x209),'connecting':'MCP\x20Connecting...','connected':_0x38a625(0xcc),'failed':_0x38a625(0x238),'retrying':_0x38a625(0x220),'unknown':_0x38a625(0x168),'unauthorized':_0x38a625(0x1d4),'sessionOccupied':_0x38a625(0x1a0),'networkError':_0x38a625(0x143),'maxRetriesExceeded':_0x38a625(0xea),'clickToConnect':_0x38a625(0x17c),'clickToConfigure':_0x38a625(0x14f)},'mcpConfig':{'title':_0x38a625(0x1b6),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x38a625(0x16e),'apiKeyPlaceholder':_0x38a625(0x1a8),'apiKeyHint':_0x38a625(0x10b),'enableAuth':_0x38a625(0x10d),'enableAuthHint':_0x38a625(0x21f),'connectionInfo':_0x38a625(0x250),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x38a625(0x112),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x38a625(0x20b),'configStep3':_0x38a625(0x120),'sessionId':'Session\x20ID','sessionIdDescription':_0x38a625(0x22a),'authorizationDescription':_0x38a625(0x1bc),'configParameters':_0x38a625(0x150),'maxRetries':_0x38a625(0xf0),'save':_0x38a625(0x193),'saving':_0x38a625(0x183),'note1':_0x38a625(0x116),'note2':_0x38a625(0x1c9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x38a625(0x15d),'apiApplyInfo':{'title':_0x38a625(0x1c8),'description':_0x38a625(0x1e3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x38a625(0x147)},'validation':{'apiKeyRequired':_0x38a625(0x24b),'apiKeyTooShort':_0x38a625(0x145),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x38a625(0x127)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x38a625(0x1d7),'connected':'Connected','failed':_0x38a625(0xbf),'retrying':_0x38a625(0x245)},'connectionError':{'unauthorized':_0x38a625(0xd5),'sessionOccupied':_0x38a625(0x1d6),'networkError':_0x38a625(0x1e6),'maxRetriesExceeded':_0x38a625(0x12b)}}},_0xdea3b={'mcpStatus':{'disconnected':_0x38a625(0x24a),'connecting':_0x38a625(0x1ca),'connected':'MCP\x20已连接','failed':_0x38a625(0xc9),'retrying':_0x38a625(0x110),'unknown':_0x38a625(0x243),'unauthorized':_0x38a625(0x18b),'sessionOccupied':_0x38a625(0x176),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x38a625(0x158)},'mcpConfig':{'title':'MCP\x20配置','description':_0x38a625(0x203),'apiKey':_0x38a625(0x1aa),'apiKeyPlaceholder':_0x38a625(0x24f),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x38a625(0x20c),'enableAuthHint':_0x38a625(0x189),'connectionInfo':_0x38a625(0xe2),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x38a625(0x139),'configStepTitle':_0x38a625(0x16c),'configStep1':_0x38a625(0x23f),'configStep2':_0x38a625(0xcb),'configStep3':_0x38a625(0xfe),'sessionId':_0x38a625(0x228),'sessionIdDescription':_0x38a625(0x118),'authorizationDescription':_0x38a625(0x156),'configParameters':_0x38a625(0x16b),'maxRetries':_0x38a625(0x184),'save':'保存配置','saving':_0x38a625(0x11e),'note1':_0x38a625(0x252),'note2':_0x38a625(0x211),'configSaved':_0x38a625(0x13c),'configError':_0x38a625(0x11b),'apiApplyInfo':{'title':_0x38a625(0xd4),'description':_0x38a625(0x246),'univerAiLabel':_0x38a625(0xcf),'getStarted':_0x38a625(0x256)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x38a625(0xca),'invalidConfig':'配置无效','invalidApiKey':_0x38a625(0x194)},'connectionStatus':{'disconnected':_0x38a625(0xee),'connecting':_0x38a625(0x190),'connected':'已连接','failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x38a625(0x21a),'sessionOccupied':_0x38a625(0x201),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x38a625(0xe7)}}};var _0x4c2620=Object[_0x38a625(0x1dd)],_0x6d5ae7=Object[_0x38a625(0x231)],_0x5ebbfe=(_0x1e342e,_0xeb55f9,_0x2fda1f)=>_0xeb55f9 in _0x1e342e?_0x4c2620(_0x1e342e,_0xeb55f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2fda1f}):_0x1e342e[_0xeb55f9]=_0x2fda1f,_0xd891ca=(_0x52f1d0,_0xcf1906,_0x570924,_0x2ae7e6)=>{for(var _0x491652=_0x2ae7e6>0x1?void 0x0:_0x2ae7e6?_0x6d5ae7(_0xcf1906,_0x570924):_0xcf1906,_0x55b055=_0x52f1d0['length']-0x1,_0x3b23c4;_0x55b055>=0x0;_0x55b055--)(_0x3b23c4=_0x52f1d0[_0x55b055])&&(_0x491652=_0x3b23c4(_0x491652)||_0x491652);return _0x491652;},_0x5de93d=(_0x361ae3,_0x44f440)=>(_0x6634d0,_0x11ed02)=>_0x44f440(_0x6634d0,_0x11ed02,_0x361ae3),_0x3c13d6=(_0x584b8c,_0x164fc5,_0x53f9f0)=>_0x5ebbfe(_0x584b8c,_0x164fc5+'',_0x53f9f0);_0x45e178[_0x38a625(0x146)]=class extends _0x4cb4a4[_0x38a625(0x247)]{constructor(_0x484beb=_0x4256f2,_0x13f652,_0x387670,_0x12b70c,_0x45b198,_0x1e70b0){var _0x4ce078=_0x38a625;super(),this[_0x4ce078(0x123)]=_0x484beb,this[_0x4ce078(0x213)]=_0x13f652,this[_0x4ce078(0x225)]=_0x387670,this[_0x4ce078(0x17a)]=_0x12b70c,this[_0x4ce078(0x178)]=_0x45b198,this[_0x4ce078(0x1b9)]=_0x1e70b0;const {..._0x5740bc}=_0x4cb4a4[_0x4ce078(0x1ed)]({},_0x4256f2,this[_0x4ce078(0x123)]);this[_0x4ce078(0x225)][_0x4ce078(0x1cf)](_0x42f80b,_0x5740bc);}async['onStarting'](){var _0x395140=_0x38a625;const _0x20d651=[[_0x45e178['MCPConnectionUIController']],[_0x45e178[_0x395140(0x104)]],[_0x45e178[_0x395140(0x1bf)]]];this[_0x395140(0x213)][_0x395140(0x260)](_0x7852fe['ISocketService'])||_0x20d651['push']([_0x7852fe[_0x395140(0x239)],{'useClass':_0x7852fe[_0x395140(0x151)]}]),_0x20d651[_0x395140(0x24c)](_0x431a85=>this[_0x395140(0x213)][_0x395140(0x1b4)](_0x431a85)),this[_0x395140(0x213)][_0x395140(0x1ea)](_0x45e178[_0x395140(0x124)]),this[_0x395140(0x213)][_0x395140(0x1ea)](_0x45e178[_0x395140(0x104)]),this['_injector'][_0x395140(0x1ea)](_0x45e178['MCPUIMenuController']);}},_0x3c13d6(_0x45e178[_0x38a625(0x146)],_0x38a625(0x1a5),_0x38a625(0x119)),_0x45e178[_0x38a625(0x146)]=_0xd891ca([_0x4cb4a4['DependentOn'](_0x1eacb9[_0x38a625(0xf6)]),_0x5de93d(0x1,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x5de93d(0x2,_0x4cb4a4[_0x38a625(0x269)]),_0x5de93d(0x3,_0x21b9b0['IUIPartsService']),_0x5de93d(0x4,_0x4cb4a4[_0x38a625(0x181)]),_0x5de93d(0x5,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4[_0x38a625(0xda)]))],_0x45e178[_0x38a625(0x146)]),_0x45e178[_0x38a625(0x137)]=_0x5205be,_0x45e178[_0x38a625(0x1f2)]=_0x42e9f6,_0x45e178[_0x38a625(0x1f5)]=_0x2aa0a2,_0x45e178[_0x38a625(0x230)]=_0x29e172,_0x45e178[_0x38a625(0x1e8)]=_0xdea3b,Object[_0x38a625(0x1dd)](_0x45e178,Symbol['toStringTag'],{'value':_0x38a625(0x19d)});}));function _0x1c27(){var _0x5c8194=['配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.apiKey','mcpConfig.save','18UazHuE','concat','mcpConfig.apiApplyInfo.getStarted','MCP\x20Disconnected','mcpConfig.description','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','启用身份验证','next','907128BPlJSF','HEADER_MENU','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','您的\x20API\x20密钥安全存储在本地存储中','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_injector','UNAUTHORIZED','mcpConfig.apiKeyHint','univer_session_id:','isValid','round','univer-flex\x20univer-items-start\x20univer-gap-2','权限验证失败,请检查您的\x20API\x20密钥','subscribeConfigValue$','mcpConfig.connectionError.maxRetriesExceeded','_initConfigSync','univer-flex-shrink-0\x20univer-text-red-500','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','object','rxjs','UniverProMcpUi','univer-text-xs\x20univer-text-gray-600','_configService','enableAutoConnect','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','会话ID','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','url(#$1','http://www.w3.org/2000/svg','univer-text-green-500','_initializeMenus','OnLineIcon','enUS','getOwnPropertyDescriptor','mcpStatus.failed','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpConfig.configStep3','div','trim','_loadStoredApiKey','MCP\x20Connection\x20Failed','ISocketService','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mask','univer-text-white','showDeveloperTools','复制以下\x20JSON\x20配置','M0\x200H16V16H0z','MCPConnectionStatus','UniverNetwork','MCP\x20状态未知','mcpConfig.connectionError.unauthorized','Retrying...','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Plugin','BehaviorSubject','getCurrentConfig','MCP\x20已断开','API\x20key\x20is\x20required','forEach','0\x200\x2017\x2017','8599213HQgDKj','请输入您的\x20API\x20密钥','MCP\x20Client\x20Configuration','register','配置更改将立即生效','hasOwnProperty','string','children','几秒钟内获取您的\x20API\x20密钥','xlink:href','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','react','__setCustomHeaders','HelpSingle','_dialogService','mcpConfig.validation.invalidApiKey','useObservable','994512kIWGTQ','has','univer-font-medium','displayName','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','help-single','getOwnPropertySymbols','mcpConfig.sessionIdDescription','univer-space-y-3','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','IConfigService','univer-flex\x20univer-items-center\x20univer-gap-2','_config$','0\x200\x2016\x2016','map','Connection\x20Failed','off-line-icon','_mcpCoreConfig$','RibbonStartGroup','useRef','mcpConfig.apiApplyInfo.title','attrs','_handleConfigure','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','white','MCP\x20连接失败','API\x20密钥长度至少需要\x2010\x20位','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20Connected','icon','none','Univer\x20AI\x20控制台','connectInjector','_registerComponent','className','mcpConfig.configStep2','什么是\x20API\x20密钥?','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','prototype','Input','exports','useCallback','LocaleService','getConfig','NETWORK_ERROR','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_blank','mcpStatus.clickToConnect','off-line-icon_clip0_910_343','mergeMenu','MCP\x20客户端配置','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','@univerjs/ui','3eyLvhc','超出最大重试次数,请稍后再试','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','includes','MCP:\x20Max\x20Retries\x20Exceeded','subscribe','forwardRef','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','未连接','errorMessage','Max\x20Retries','0\x200\x2017\x2016','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','univer-space-y-2','React','mcp-config-dialog','UniverMCPPlugin','univer-bg-green-500','createElement','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_initAutoConnect','{\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=','mcpConfig.note2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','重启您的\x20MCP\x20客户端以使配置生效','mcpStatus.sessionOccupied','univer-flex-1','MAX_RETRIES_EXCEEDED','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','@univerjs-pro/mcp','MCPConfigUIController','univer-bg-red-500','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','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','Bearer\x20','url(#on-line-icon_clip0_910_349)','\x20-\x20','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','evenodd','Enable\x20Authentication','univer-text-sm\x20univer-font-medium','univer-text-blue-600','MCP\x20重连中...','BUTTON','Configuration\x20Steps:','disposeWithMe','mcpConfig.configSaved','_initializeCommands','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-space-y-4','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP_UI_PLUGIN','on-line-icon','配置保存失败','useDependency','MCP_PLUGIN_CONFIG_KEY','保存中...','univer-flex\x20univer-items-start\x20univer-gap-3','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','assign','mcpConfig.apiApplyInfo.description','_config','MCPConnectionUIController','mcpConfig.validation.invalidConfig','url(#off-line-icon_clip0_910_343)','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1em','@univerjs/core','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','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','pre','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','M5.21243\x205.62036L11.8791\x2012.287','path','mcpConfig.configStep1','univer-bg-blue-500','sessionId$','show','RETRYING','mcpConfig.configInstructions','Configuration\x20Notes:','MCPConfigPanel','toString','将以下配置添加到您的\x20MCP\x20客户端设置中:','MessageType','removeItem','配置保存成功','currentColor','univer.ai','_logService','OffLineIcon','mcpConfig.connectionStatus.connecting','univer-text-gray-400','MCP:\x20Network\x20Error','propertyIsEnumerable','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','UniverMCPUIPlugin','Get\x20your\x20API\x20key\x20in\x20seconds','https://console.univer.ai','colorChannel1','IUIPartsService','<API_KEY>','_apiKey$','mcpConfig.connectionStatus.failed','_commandService','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','WebSocketService','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','random','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','close','带有\x20Bearer\x20前缀的\x20API\x20密钥。','3282880xaOYwh','点击配置\x20MCP','connectionError$','jsx','_validateConfig','\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','Failed\x20to\x20save\x20configuration','univer-flex\x20univer-items-center\x20univer-gap-3','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','tag','4493344IULfVN','idSuffix','registerComponent','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-mr-2\x20univer-flex\x20univer-text-xl','close-small-single','symbol','MCP\x20Unknown\x20Status','showStatus','mcpStatus.clickToConfigure','配置参数:','配置步骤:','label','API\x20Key','open','fill','mcpConfig.apiApplyInfo.univerAiLabel','defIds','DISCONNECTED','univer-text-gray-500','_componentManager','MCP:\x20会话\x20ID\x20已被占用','apply','_localStorageService','mcpStatus.unauthorized','_uiPartsService','M5.21243\x2012.287L11.8791\x205.62036','Click\x20to\x20connect\x20MCP','mcpConfig.authorizationDescription','mcpConfig.title','\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','CONNECTED','ILocalStorageService','ICommandService','Saving...','最大重试次数','MCPConnectionController','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','extend','Tooltip','启用身份验证以获得安全连接','amd','MCP:\x20未授权','Close','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','_handleConfigSave','mcpConfig.validation.apiKeyTooShort','连接中...','use','UniverProMcp','Save\x20Configuration','API\x20密钥无效,请检查密钥是否正确','UniverCore','OTHERS','_messageService','getItem','indexOf','_initStatusComponent','univer-flex-shrink-0\x20univer-text-blue-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','Module','univer-space-y-5','univer-text-sm\x20univer-text-gray-500','MCP:\x20Session\x20ID\x20Occupied','replace','noopener\x20noreferrer','univer-flex\x20univer-gap-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','pluginName','mcpConfig.configStepTitle','MenuIcon','Enter\x20your\x20API\x20key','function','API\x20密钥','66373QnnQzv','defs','univer-text-red-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.connectionInfo','value','mcpStatus.networkError','_connectionController','apiKey','add','length','MCP\x20Configuration','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpStatus.disconnected','_localeService','Error','jsxs','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-yellow-500','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','MCPUIMenuController','Disposable','Inject','on-line-icon_clip0_910_349','mcpStatus.maxRetriesExceeded','_loading$','text','clsx','setItem','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20连接中...','CheckMarkIcon','MCPConnectionError','FAILED','showConfigPanel','setConfig','translate(.97)','mcpStatus.connecting','@univerjs/network','_menuManagerService','MCP:\x20Unauthorized','Success','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connecting...','mcpConfig.connectionStatus.connected','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','NONE','call','span','defineProperty','_createConfigPanelComponent','SESSION_ID_OCCUPIED','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','mcpConfig.connectionStatus.disconnected','mcpServerUrl','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','_mcpConnectionController','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer.plus','zhCN','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','get','univer-flex\x20univer-items-center','substring','merge','3941710fmCgqR','BuiltInUIPart','error','clipPath','MCPStatusDisplay','univerjs-icon\x20univerjs-icon-','current','OpenMCPConfigPanelCommand','CONNECTING','univer-min-w-0\x20univer-flex-1','entries','UniverUi','mcpConfig.validation.apiKeyRequired','svg','mcpConfig.apiKeyPlaceholder','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','connectionStatus$','mcpConfig.configError','check-mark-icon','会话\x20ID\x20已被占用,请稍后再试','Authorization:'];_0x1c27=function(){return _0x5c8194;};return _0x1c27();}
@@ -1 +1 @@
1
- function _0x24a7(_0x5bfc2b,_0x536a61){var _0x242b76=_0x242b();return _0x24a7=function(_0x24a7ba,_0x129196){_0x24a7ba=_0x24a7ba-0xd3;var _0x2a29b2=_0x242b76[_0x24a7ba];return _0x2a29b2;},_0x24a7(_0x5bfc2b,_0x536a61);}function _0x242b(){var _0x57374e=['649140tKUAAH','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','function','MCP\x20Disconnected','Univer\x20AI\x20Console','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','Connecting...','Click\x20to\x20connect\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20configuration','API\x20Key','Connected','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connecting...','object','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','180kPUkcm','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','23454PTQJZn','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','235836dTytnX','Retrying...','Saving...','Session\x20ID','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2928352dqIskg','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','MCP\x20Unknown\x20Status','UniverProMcpUiCaES','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','exports','5218548ITbySP','Configuration\x20Steps:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','2390120JUoyKA','Save\x20Configuration','Enable\x20Authentication','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','3547138VHtiBV','Copy\x20the\x20JSON\x20configuration\x20below'];_0x242b=function(){return _0x57374e;};return _0x242b();}(function(_0x1733d8,_0x43e846){var _0x205653=_0x24a7,_0x39b172=_0x1733d8();while(!![]){try{var _0x31b6dd=-parseInt(_0x205653(0xdc))/0x1+-parseInt(_0x205653(0xd7))/0x2*(-parseInt(_0x205653(0x109))/0x3)+parseInt(_0x205653(0xf1))/0x4+parseInt(_0x205653(0xf7))/0x5+-parseInt(_0x205653(0xeb))/0x6+parseInt(_0x205653(0xf5))/0x7+-parseInt(_0x205653(0xe1))/0x8;if(_0x31b6dd===_0x43e846)break;else _0x39b172['push'](_0x39b172['shift']());}catch(_0x4c0df2){_0x39b172['push'](_0x39b172['shift']());}}}(_0x242b,0x71c9a),function(_0x2adbbd,_0xe8cf0b){var _0x4b814d=_0x24a7;typeof exports==_0x4b814d(0x107)&&typeof module<'u'?module[_0x4b814d(0xea)]=_0xe8cf0b():typeof define==_0x4b814d(0xfa)&&define['amd']?define(_0xe8cf0b):(_0x2adbbd=typeof globalThis<'u'?globalThis:_0x2adbbd||self,_0x2adbbd[_0x4b814d(0xe7)]=_0xe8cf0b());}(this,function(){'use strict';var _0x101f00=_0x24a7;return{'mcpStatus':{'disconnected':_0x101f00(0xfb),'connecting':_0x101f00(0x106),'connected':_0x101f00(0xee),'failed':_0x101f00(0xd5),'retrying':_0x101f00(0xda),'unknown':_0x101f00(0xe6),'unauthorized':_0x101f00(0xd6),'sessionOccupied':_0x101f00(0xd3),'networkError':_0x101f00(0xd4),'maxRetriesExceeded':_0x101f00(0xfe),'clickToConnect':_0x101f00(0x100),'clickToConfigure':_0x101f00(0xe2)},'mcpConfig':{'title':_0x101f00(0xe5),'description':_0x101f00(0x108),'apiKey':_0x101f00(0x103),'apiKeyPlaceholder':_0x101f00(0xf0),'apiKeyHint':_0x101f00(0xd9),'enableAuth':_0x101f00(0xf3),'enableAuthHint':_0x101f00(0x105),'connectionInfo':_0x101f00(0xd8),'mcpClientConfig':_0x101f00(0xd8),'configInstructions':_0x101f00(0xf4),'configStepTitle':_0x101f00(0xec),'configStep1':_0x101f00(0xf6),'configStep2':_0x101f00(0xf8),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x101f00(0xdf),'sessionIdDescription':_0x101f00(0xed),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x101f00(0xfd),'save':_0x101f00(0xf2),'saving':_0x101f00(0xde),'note1':_0x101f00(0xe0),'note2':_0x101f00(0xdb),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x101f00(0xe3),'description':_0x101f00(0x101),'univerAiLabel':_0x101f00(0xfc),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x101f00(0xe8),'invalidConfig':_0x101f00(0x102),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x101f00(0xff),'connected':_0x101f00(0x104),'failed':'Connection\x20Failed','retrying':_0x101f00(0xdd)},'connectionError':{'unauthorized':_0x101f00(0xf9),'sessionOccupied':_0x101f00(0xe9),'networkError':_0x101f00(0xe4),'maxRetriesExceeded':_0x101f00(0xef)}}};}));
1
+ function _0x12ac(){var _0x58a2e9=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Configuration\x20Parameters:','12OESCWr','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','303810QHQSLn','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connection\x20Failed','MCP\x20Connection\x20Failed','Enable\x20Authentication','Invalid\x20configuration','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4025718mOvsrp','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','Copy\x20the\x20JSON\x20configuration\x20below','exports','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1385724cecJSb','Enter\x20your\x20API\x20key','5403780fyjEPs','Connecting...','Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Save\x20Configuration','MCP\x20Connected','object','5004048zoMezS','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','Connected','API\x20Key','41678mNMZhm','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Configuration','Session\x20ID','UniverProMcpUiCaES','25342191FiNGLZ','1576NJoDDC','function','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Max\x20Retries','MCP\x20Disconnected'];_0x12ac=function(){return _0x58a2e9;};return _0x12ac();}function _0x3561(_0x5db251,_0x4062d6){var _0x12ac48=_0x12ac();return _0x3561=function(_0x3561b9,_0x43dc65){_0x3561b9=_0x3561b9-0x1d5;var _0xff46e0=_0x12ac48[_0x3561b9];return _0xff46e0;},_0x3561(_0x5db251,_0x4062d6);}(function(_0x8d87a8,_0x3bbf60){var _0x1b2eaa=_0x3561,_0x2cc330=_0x8d87a8();while(!![]){try{var _0x2c8313=parseInt(_0x1b2eaa(0x208))/0x1+-parseInt(_0x1b2eaa(0x1f3))/0x2*(parseInt(_0x1b2eaa(0x1ed))/0x3)+parseInt(_0x1b2eaa(0x1d8))/0x4+parseInt(_0x1b2eaa(0x20a))/0x5+-parseInt(_0x1b2eaa(0x1fe))/0x6+-parseInt(_0x1b2eaa(0x1de))/0x7*(-parseInt(_0x1b2eaa(0x1e4))/0x8)+-parseInt(_0x1b2eaa(0x1e3))/0x9;if(_0x2c8313===_0x3bbf60)break;else _0x2cc330['push'](_0x2cc330['shift']());}catch(_0x8124dd){_0x2cc330['push'](_0x2cc330['shift']());}}}(_0x12ac,0xc259a),function(_0x190e67,_0x3d2662){var _0x4614ca=_0x3561;typeof exports==_0x4614ca(0x1d7)&&typeof module<'u'?module[_0x4614ca(0x205)]=_0x3d2662():typeof define==_0x4614ca(0x1e5)&&define['amd']?define(_0x3d2662):(_0x190e67=typeof globalThis<'u'?globalThis:_0x190e67||self,_0x190e67[_0x4614ca(0x1e2)]=_0x3d2662());}(this,function(){'use strict';var _0x4a918c=_0x3561;return{'mcpStatus':{'disconnected':_0x4a918c(0x1e8),'connecting':_0x4a918c(0x200),'connected':_0x4a918c(0x1d6),'failed':_0x4a918c(0x1f6),'retrying':_0x4a918c(0x202),'unknown':_0x4a918c(0x1ea),'unauthorized':_0x4a918c(0x1eb),'sessionOccupied':_0x4a918c(0x1df),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4a918c(0x1ff)},'mcpConfig':{'title':_0x4a918c(0x1e0),'description':_0x4a918c(0x1e9),'apiKey':_0x4a918c(0x1dd),'apiKeyPlaceholder':_0x4a918c(0x209),'apiKeyHint':_0x4a918c(0x1e6),'enableAuth':_0x4a918c(0x1f7),'enableAuthHint':_0x4a918c(0x1f0),'connectionInfo':_0x4a918c(0x1f9),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4a918c(0x1fc),'configStepTitle':_0x4a918c(0x1fb),'configStep1':_0x4a918c(0x204),'configStep2':_0x4a918c(0x1f1),'configStep3':_0x4a918c(0x1fa),'sessionId':_0x4a918c(0x1e1),'sessionIdDescription':_0x4a918c(0x1f2),'authorizationDescription':_0x4a918c(0x203),'configParameters':_0x4a918c(0x1ec),'maxRetries':_0x4a918c(0x1e7),'save':_0x4a918c(0x1d5),'saving':'Saving...','note1':_0x4a918c(0x1f4),'note2':_0x4a918c(0x1fd),'configSaved':_0x4a918c(0x1db),'configError':_0x4a918c(0x20c),'apiApplyInfo':{'title':_0x4a918c(0x1d9),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4a918c(0x1da)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x4a918c(0x1f8),'invalidApiKey':_0x4a918c(0x20d)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4a918c(0x20b),'connected':_0x4a918c(0x1dc),'failed':_0x4a918c(0x1f5),'retrying':_0x4a918c(0x206)},'connectionError':{'unauthorized':_0x4a918c(0x207),'sessionOccupied':_0x4a918c(0x1ef),'networkError':_0x4a918c(0x1ee),'maxRetriesExceeded':_0x4a918c(0x201)}}};}));