@univerjs-pro/mcp-ui 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3441c7a

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 (49) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +6 -6
@@ -1 +1 @@
1
- const _0x26688d=_0x35bb;function _0x35bb(_0x4f7b78,_0x5c1f0e){_0x4f7b78=_0x4f7b78-0xf3;const _0x3ca805=_0x3ca8();let _0x35bb94=_0x3ca805[_0x4f7b78];return _0x35bb94;}(function(_0x5ee574,_0x42817d){const _0x1a5794=_0x35bb,_0x41038e=_0x5ee574();while(!![]){try{const _0xc02bbc=parseInt(_0x1a5794(0x11f))/0x1+-parseInt(_0x1a5794(0x101))/0x2+-parseInt(_0x1a5794(0x126))/0x3*(parseInt(_0x1a5794(0x117))/0x4)+-parseInt(_0x1a5794(0x103))/0x5*(parseInt(_0x1a5794(0x108))/0x6)+-parseInt(_0x1a5794(0x106))/0x7+-parseInt(_0x1a5794(0x10f))/0x8*(parseInt(_0x1a5794(0x11d))/0x9)+parseInt(_0x1a5794(0xfa))/0xa*(parseInt(_0x1a5794(0x11b))/0xb);if(_0xc02bbc===_0x42817d)break;else _0x41038e['push'](_0x41038e['shift']());}catch(_0x240bc0){_0x41038e['push'](_0x41038e['shift']());}}}(_0x3ca8,0x33200));function _0x3ca8(){const _0x30bc9d=['API\x20키는\x20필수입니다','연결\x20끊김','359740povsCJ','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','8255cgPVbY','Univer\x20AI\x20콘솔','Bearer\x20접두사가\x20있는\x20API\x20키.','2076235SNKgkt','재시도\x20중...','822StGtDM','아래\x20JSON\x20설정\x20복사','MCP\x20클라이언트\x20설정','MCP\x20연결\x20실패','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','36360XfcPFb','연결\x20실패','연결됨','세션\x20ID','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','보안\x20연결을\x20위해\x20인증\x20활성화','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','최대\x20재시도\x20횟수','4nVKlRI','API\x20키는\x2010자\x20이상이어야\x20합니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20연결\x20끊김','35013GyIsIp','연결\x20중...','54eLyesh','MCP:\x20세션\x20ID\x20사용\x20중','352908vYfris','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','MCP:\x20네트워크\x20오류','MCP:\x20최대\x20재시도\x20횟수\x20초과','인증\x20활성화','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','설정\x20저장','637503dnedkI','클릭하여\x20MCP\x20연결','MCP\x20설정','MCP\x20연결\x20중...','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','클릭하여\x20MCP\x20설정','설정\x20저장\x20실패','API\x20키란\x20무엇인가요?','MCP\x20알\x20수\x20없는\x20상태','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','2510orsgvO','설정\x20단계:','API\x20키를\x20입력하세요','MCP\x20재시도\x20중...','저장\x20중...'];_0x3ca8=function(){return _0x30bc9d;};return _0x3ca8();}const e={'mcpStatus':{'disconnected':_0x26688d(0x11a),'connecting':_0x26688d(0x129),'connected':'MCP\x20연결됨','failed':_0x26688d(0x10b),'retrying':_0x26688d(0xfd),'unknown':_0x26688d(0xf7),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x26688d(0x11e),'networkError':_0x26688d(0x121),'maxRetriesExceeded':_0x26688d(0x122),'clickToConnect':_0x26688d(0x127),'clickToConfigure':_0x26688d(0xf4)},'mcpConfig':{'title':_0x26688d(0x128),'description':_0x26688d(0x102),'apiKey':'API\x20키','apiKeyPlaceholder':_0x26688d(0xfc),'apiKeyHint':_0x26688d(0x124),'enableAuth':_0x26688d(0x123),'enableAuthHint':_0x26688d(0x114),'connectionInfo':_0x26688d(0x10a),'mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x26688d(0x10c),'configStepTitle':_0x26688d(0xfb),'configStep1':_0x26688d(0x109),'configStep2':_0x26688d(0x113),'configStep3':'MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','sessionId':_0x26688d(0x112),'sessionIdDescription':_0x26688d(0x10d),'authorizationDescription':_0x26688d(0x105),'configParameters':'설정\x20매개변수:','maxRetries':_0x26688d(0x116),'save':_0x26688d(0x125),'saving':_0x26688d(0xfe),'note1':_0x26688d(0x119),'note2':_0x26688d(0x120),'configSaved':'설정이\x20성공적으로\x20저장되었습니다','configError':_0x26688d(0xf5),'apiApplyInfo':{'title':_0x26688d(0xf6),'description':_0x26688d(0x10e),'univerAiLabel':_0x26688d(0x104),'getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x26688d(0xff),'apiKeyTooShort':_0x26688d(0x118),'invalidConfig':'유효하지\x20않은\x20설정','invalidApiKey':_0x26688d(0xf8)},'connectionStatus':{'disconnected':_0x26688d(0x100),'connecting':_0x26688d(0x11c),'connected':_0x26688d(0x111),'failed':_0x26688d(0x110),'retrying':_0x26688d(0x107)},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0x26688d(0xf9),'networkError':_0x26688d(0x115),'maxRetriesExceeded':_0x26688d(0xf3)}}};export{e as default};
1
+ function _0x29bd(_0x5f0488,_0xb7a973){_0x5f0488=_0x5f0488-0x16f;const _0x517d28=_0x517d();let _0x29bd9a=_0x517d28[_0x5f0488];return _0x29bd9a;}const _0x41acc3=_0x29bd;function _0x517d(){const _0x4c8262=['MCP\x20연결\x20실패','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','MCP:\x20인증되지\x20않음','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','643883SiDeil','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','MCP\x20연결됨','4OHHxHF','클릭하여\x20MCP\x20설정','6003552PqVjou','5505840rUUzRb','유효하지\x20않은\x20설정','설정\x20저장','MCP\x20설정','MCP\x20연결\x20끊김','API\x20키를\x20입력하세요','세션\x20ID','몇\x20초\x20만에\x20API\x20키\x20발급받기','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','설정\x20단계:','설정\x20저장\x20실패','API\x20키는\x2010자\x20이상이어야\x20합니다','보안\x20연결을\x20위해\x20인증\x20활성화','클릭하여\x20MCP\x20연결','2169819UnVApE','MCP\x20재시도\x20중...','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','1079988zFGnBr','6XikqTb','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','설정이\x20성공적으로\x20저장되었습니다','MCP:\x20네트워크\x20오류','연결\x20중...','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','인증\x20활성화','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','1922445vCUPHu','MCP:\x20세션\x20ID\x20사용\x20중','Univer\x20AI\x20콘솔','저장\x20중...','MCP\x20클라이언트\x20설정','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','아래\x20JSON\x20설정\x20복사','연결\x20끊김','882230BIRrNR','API\x20','API\x20키란\x20무엇인가요?','연결\x20실패','2xWLQjd','재시도\x20중...'];_0x517d=function(){return _0x4c8262;};return _0x517d();}(function(_0x1bd3b8,_0x4d2436){const _0x26c203=_0x29bd,_0x35716f=_0x1bd3b8();while(!![]){try{const _0x286d41=-parseInt(_0x26c203(0x172))/0x1*(-parseInt(_0x26c203(0x19f))/0x2)+-parseInt(_0x26c203(0x193))/0x3*(parseInt(_0x26c203(0x175))/0x4)+-parseInt(_0x26c203(0x19b))/0x5+-parseInt(_0x26c203(0x18a))/0x6*(-parseInt(_0x26c203(0x189))/0x7)+parseInt(_0x26c203(0x177))/0x8+parseInt(_0x26c203(0x186))/0x9+-parseInt(_0x26c203(0x178))/0xa;if(_0x286d41===_0x4d2436)break;else _0x35716f['push'](_0x35716f['shift']());}catch(_0x1744ea){_0x35716f['push'](_0x35716f['shift']());}}}(_0x517d,0x66fe1));const e={'mcpStatus':{'disconnected':_0x41acc3(0x17c),'connecting':'MCP\x20연결\x20중...','connected':_0x41acc3(0x174),'failed':_0x41acc3(0x1a1),'retrying':_0x41acc3(0x187),'unknown':'MCP\x20알\x20수\x20없는\x20상태','unauthorized':_0x41acc3(0x170),'sessionOccupied':_0x41acc3(0x194),'networkError':_0x41acc3(0x18d),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':_0x41acc3(0x185),'clickToConfigure':_0x41acc3(0x176)},'mcpConfig':{'title':_0x41acc3(0x17b),'description':_0x41acc3(0x18b),'apiKey':_0x41acc3(0x19c),'apiKeyPlaceholder':_0x41acc3(0x17d),'apiKeyHint':_0x41acc3(0x192),'enableAuth':_0x41acc3(0x190),'enableAuthHint':_0x41acc3(0x184),'connectionInfo':_0x41acc3(0x197),'mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x41acc3(0x191),'configStepTitle':_0x41acc3(0x181),'configStep1':_0x41acc3(0x199),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x41acc3(0x16f),'sessionId':_0x41acc3(0x17e),'sessionIdDescription':_0x41acc3(0x18f),'authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':'설정\x20매개변수:','maxRetries':'최대\x20재시도\x20횟수','save':_0x41acc3(0x17a),'saving':_0x41acc3(0x196),'note1':'설정\x20변경\x20사항은\x20즉시\x20적용됩니다','note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x41acc3(0x18c),'configError':_0x41acc3(0x182),'apiApplyInfo':{'title':_0x41acc3(0x19d),'description':_0x41acc3(0x198),'univerAiLabel':_0x41acc3(0x195),'getStarted':_0x41acc3(0x17f)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0x41acc3(0x183),'invalidConfig':_0x41acc3(0x179),'invalidApiKey':_0x41acc3(0x171)},'connectionStatus':{'disconnected':_0x41acc3(0x19a),'connecting':_0x41acc3(0x18e),'connected':'연결됨','failed':_0x41acc3(0x19e),'retrying':_0x41acc3(0x1a0)},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0x41acc3(0x173),'networkError':_0x41acc3(0x188),'maxRetriesExceeded':_0x41acc3(0x180)}}};export{e as default};
@@ -1 +1 @@
1
- function _0x2e8e(_0x42ee1f,_0x34d7fd){_0x42ee1f=_0x42ee1f-0xbd;const _0x19670b=_0x1967();let _0x2e8e21=_0x19670b[_0x42ee1f];return _0x2e8e21;}function _0x1967(){const _0x437392=['Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','278584pORzBC','Univer\x20AI\x20Console','340614wwqpJv','Configuration\x20Steps:','44pmyfNG','Get\x20your\x20API\x20key\x20in\x20seconds','Disconnected','Configuration\x20Parameters:','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Session\x20ID\x20Occupied','Invalid\x20configuration','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','MCP:\x20Unauthorized','MCP\x20Connected','Session\x20ID','Failed\x20to\x20save\x20configuration','2654827hrWWxL','API\x20key\x20with\x20Bearer\x20prefix.','Retrying...','MCP\x20Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20saved\x20successfully','Saving...','MCP\x20Client\x20Configuration','2381244Iycemy','MCP\x20Connection\x20Failed','12hgfMDC','18975ocgpFO','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','787680wxGTpz','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','27106WOitfF','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','220NywzIy','Enable\x20authentication\x20for\x20secure\x20connections','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','Connecting...','MCP\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Max\x20Retries'];_0x1967=function(){return _0x437392;};return _0x1967();}const _0x8069d8=_0x2e8e;(function(_0x1d639e,_0x3a26af){const _0x35b2c3=_0x2e8e,_0xfa4a10=_0x1d639e();while(!![]){try{const _0x53991b=parseInt(_0x35b2c3(0xcb))/0x1*(-parseInt(_0x35b2c3(0xec))/0x2)+parseInt(_0x35b2c3(0xc9))/0x3+-parseInt(_0x35b2c3(0xe1))/0x4+-parseInt(_0x35b2c3(0xe4))/0x5*(-parseInt(_0x35b2c3(0xe3))/0x6)+-parseInt(_0x35b2c3(0xd9))/0x7+parseInt(_0x35b2c3(0xc7))/0x8+parseInt(_0x35b2c3(0xea))/0x9*(parseInt(_0x35b2c3(0xee))/0xa);if(_0x53991b===_0x3a26af)break;else _0xfa4a10['push'](_0xfa4a10['shift']());}catch(_0x46898d){_0xfa4a10['push'](_0xfa4a10['shift']());}}}(_0x1967,0x7ca17));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x8069d8(0xdc),'connected':_0x8069d8(0xd6),'failed':_0x8069d8(0xe2),'retrying':_0x8069d8(0xd3),'unknown':_0x8069d8(0xe9),'unauthorized':_0x8069d8(0xd5),'sessionOccupied':_0x8069d8(0xd1),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x8069d8(0xbf),'clickToConnect':_0x8069d8(0xd4),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x8069d8(0xc1),'description':_0x8069d8(0xe6),'apiKey':_0x8069d8(0xcf),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x8069d8(0xe8),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x8069d8(0xbd),'connectionInfo':_0x8069d8(0xe0),'mcpClientConfig':_0x8069d8(0xe0),'configInstructions':_0x8069d8(0xc5),'configStepTitle':_0x8069d8(0xca),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x8069d8(0xe5),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x8069d8(0xd7),'sessionIdDescription':_0x8069d8(0xc2),'authorizationDescription':_0x8069d8(0xda),'configParameters':_0x8069d8(0xce),'maxRetries':_0x8069d8(0xc3),'save':_0x8069d8(0xc6),'saving':_0x8069d8(0xdf),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x8069d8(0xde),'configError':_0x8069d8(0xd8),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x8069d8(0xeb),'univerAiLabel':_0x8069d8(0xc8),'getStarted':_0x8069d8(0xcc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x8069d8(0xd0),'invalidConfig':_0x8069d8(0xd2),'invalidApiKey':_0x8069d8(0xed)},'connectionStatus':{'disconnected':_0x8069d8(0xcd),'connecting':_0x8069d8(0xc0),'connected':_0x8069d8(0xc4),'failed':'Connection\x20Failed','retrying':_0x8069d8(0xdb)},'connectionError':{'unauthorized':_0x8069d8(0xdd),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x8069d8(0xe7),'maxRetriesExceeded':_0x8069d8(0xbe)}}},n=e;export{n as default};
1
+ const _0x78ae2=_0xa972;function _0x8745(){const _0x531ccd=['MCP:\x20Unauthorized','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Network\x20Error','Disconnected','2879335hCqctQ','MCP\x20Retrying...','Retrying...','Configuration\x20Steps:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','22063383BOsxzo','Get\x20your\x20API\x20key\x20in\x20seconds','Save\x20Configuration','API\x20Key','MCP:\x20Session\x20ID\x20Occupied','Session\x20ID','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','7oyvtcZ','4CVPPpj','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','Max\x20Retries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connected','Univer\x20AI\x20Console','Invalid\x20configuration','2144262hAiNFx','MCP\x20Configuration','MCP\x20Disconnected','388562xsoIDE','Enable\x20Authentication','1414245ZlQMfW','Connected','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','515345crEjWl','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required','1654552cnmEvA','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections'];_0x8745=function(){return _0x531ccd;};return _0x8745();}(function(_0x147c00,_0x46a6ce){const _0x35cf12=_0xa972,_0x103c30=_0x147c00();while(!![]){try{const _0xd3de41=-parseInt(_0x35cf12(0x95))/0x1+parseInt(_0x35cf12(0xbd))/0x2+-parseInt(_0x35cf12(0xbf))/0x3+-parseInt(_0x35cf12(0xb1))/0x4*(parseInt(_0x35cf12(0xa1))/0x5)+parseInt(_0x35cf12(0xba))/0x6*(-parseInt(_0x35cf12(0xb0))/0x7)+-parseInt(_0x35cf12(0x9a))/0x8+parseInt(_0x35cf12(0xa7))/0x9;if(_0xd3de41===_0x46a6ce)break;else _0x103c30['push'](_0x103c30['shift']());}catch(_0x2fc72){_0x103c30['push'](_0x103c30['shift']());}}}(_0x8745,0x7eb21));const e={'mcpStatus':{'disconnected':_0x78ae2(0xbc),'connecting':_0x78ae2(0xc1),'connected':_0x78ae2(0xb7),'failed':_0x78ae2(0xae),'retrying':_0x78ae2(0xa2),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x78ae2(0x9d),'sessionOccupied':_0x78ae2(0xab),'networkError':_0x78ae2(0x9f),'maxRetriesExceeded':_0x78ae2(0xb3),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x78ae2(0xbb),'description':_0x78ae2(0xa6),'apiKey':_0x78ae2(0xaa),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x78ae2(0xbe),'enableAuthHint':_0x78ae2(0x9c),'connectionInfo':_0x78ae2(0xb4),'mcpClientConfig':_0x78ae2(0xb4),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x78ae2(0xa4),'configStep1':_0x78ae2(0xc2),'configStep2':_0x78ae2(0x94),'configStep3':_0x78ae2(0x9e),'sessionId':_0x78ae2(0xac),'sessionIdDescription':_0x78ae2(0xb6),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x78ae2(0xb5),'save':_0x78ae2(0xa9),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x78ae2(0xb2),'configError':_0x78ae2(0x98),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x78ae2(0xad),'univerAiLabel':_0x78ae2(0xb8),'getStarted':_0x78ae2(0xa8)},'validation':{'apiKeyRequired':_0x78ae2(0x99),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x78ae2(0xb9),'invalidApiKey':_0x78ae2(0x96)},'connectionStatus':{'disconnected':_0x78ae2(0xa0),'connecting':'Connecting...','connected':_0x78ae2(0xc0),'failed':_0x78ae2(0x97),'retrying':_0x78ae2(0xa3)},'connectionError':{'unauthorized':_0x78ae2(0xa5),'sessionOccupied':_0x78ae2(0xaf),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x78ae2(0x9b)}}},n=e;function _0xa972(_0x31430b,_0x1f9c84){_0x31430b=_0x31430b-0x94;const _0x8745a4=_0x8745();let _0xa97281=_0x8745a4[_0x31430b];return _0xa97281;}export{n as default};
@@ -1 +1 @@
1
- const _0x2a4c56=_0x285d;function _0x285d(_0x3c564e,_0x1249c5){_0x3c564e=_0x3c564e-0x159;const _0x949387=_0x9493();let _0x285d17=_0x949387[_0x3c564e];return _0x285d17;}(function(_0x24cbe8,_0x8adb12){const _0x210195=_0x285d,_0x591c8e=_0x24cbe8();while(!![]){try{const _0x8d5216=-parseInt(_0x210195(0x15c))/0x1+-parseInt(_0x210195(0x186))/0x2+parseInt(_0x210195(0x15b))/0x3*(-parseInt(_0x210195(0x17f))/0x4)+parseInt(_0x210195(0x15e))/0x5+parseInt(_0x210195(0x171))/0x6*(parseInt(_0x210195(0x165))/0x7)+-parseInt(_0x210195(0x16c))/0x8+-parseInt(_0x210195(0x175))/0x9*(-parseInt(_0x210195(0x16e))/0xa);if(_0x8d5216===_0x8adb12)break;else _0x591c8e['push'](_0x591c8e['shift']());}catch(_0x26c358){_0x591c8e['push'](_0x591c8e['shift']());}}}(_0x9493,0xd82cd));const n={'mcpStatus':{'disconnected':_0x2a4c56(0x17e),'connecting':'MCP\x20Đang\x20kết\x20nối...','connected':'MCP\x20Đã\x20kết\x20nối','failed':_0x2a4c56(0x164),'retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x2a4c56(0x170),'unauthorized':_0x2a4c56(0x189),'sessionOccupied':_0x2a4c56(0x17d),'networkError':_0x2a4c56(0x17b),'maxRetriesExceeded':_0x2a4c56(0x180),'clickToConnect':_0x2a4c56(0x187),'clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':_0x2a4c56(0x15d),'description':_0x2a4c56(0x178),'apiKey':_0x2a4c56(0x17c),'apiKeyPlaceholder':_0x2a4c56(0x17a),'apiKeyHint':'Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','enableAuth':'Bật\x20xác\x20thực','enableAuthHint':_0x2a4c56(0x185),'connectionInfo':'Cấu\x20hình\x20máy\x20khách\x20MCP','mcpClientConfig':_0x2a4c56(0x172),'configInstructions':_0x2a4c56(0x16b),'configStepTitle':'Các\x20bước\x20cấu\x20hình:','configStep1':_0x2a4c56(0x181),'configStep2':_0x2a4c56(0x184),'configStep3':'Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','sessionId':'ID\x20phiên','sessionIdDescription':_0x2a4c56(0x176),'authorizationDescription':_0x2a4c56(0x15f),'configParameters':_0x2a4c56(0x163),'maxRetries':_0x2a4c56(0x161),'save':_0x2a4c56(0x159),'saving':_0x2a4c56(0x16f),'note1':_0x2a4c56(0x188),'note2':_0x2a4c56(0x15a),'configSaved':_0x2a4c56(0x173),'configError':_0x2a4c56(0x16d),'apiApplyInfo':{'title':_0x2a4c56(0x162),'description':_0x2a4c56(0x160),'univerAiLabel':_0x2a4c56(0x177),'getStarted':_0x2a4c56(0x167)},'validation':{'apiKeyRequired':_0x2a4c56(0x182),'apiKeyTooShort':_0x2a4c56(0x174),'invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20lệ','invalidApiKey':'Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không'},'connectionStatus':{'disconnected':_0x2a4c56(0x169),'connecting':'Đang\x20kết\x20nối...','connected':'Đã\x20kết\x20nối','failed':_0x2a4c56(0x168),'retrying':_0x2a4c56(0x16a)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x2a4c56(0x183),'networkError':_0x2a4c56(0x179),'maxRetriesExceeded':_0x2a4c56(0x166)}}};export{n as default};function _0x9493(){const _0x1a85ad=['Cấu\x20hình\x20MCP','1005610IqtXgK','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Khóa\x20API\x20là\x20gì?','Tham\x20số\x20cấu\x20hình:','MCP\x20Kết\x20nối\x20thất\x20bại','28049MZESRQ','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Kết\x20nối\x20thất\x20bại','Đã\x20ngắt\x20kết\x20nối','Đang\x20thử\x20lại...','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','1843792QTAXxs','Lưu\x20cấu\x20hình\x20thất\x20bại','49600mULRLA','Đang\x20lưu...','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','1086HjlihP','Cấu\x20hình\x20máy\x20khách\x20MCP','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','4122qSmuUh','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Bảng\x20điều\x20khiển\x20Univer\x20AI','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Nhập\x20khóa\x20API\x20của\x20bạn','MCP:\x20Lỗi\x20mạng','Khóa\x20API','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','MCP\x20Đã\x20ngắt\x20kết\x20nối','338820SDLYcn','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Yêu\x20cầu\x20khóa\x20API','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','1902022rXohRU','Nhấp\x20để\x20kết\x20nối\x20MCP','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','MCP:\x20Không\x20được\x20phép','Lưu\x20cấu\x20hình','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20b','15EHMicj','707606OgTMRE'];_0x9493=function(){return _0x1a85ad;};return _0x9493();}
1
+ const _0x410c88=_0x1c10;(function(_0x405141,_0x389a81){const _0x3522e6=_0x1c10,_0x1ac0d2=_0x405141();while(!![]){try{const _0x36f187=parseInt(_0x3522e6(0x1f5))/0x1+-parseInt(_0x3522e6(0x1ee))/0x2+-parseInt(_0x3522e6(0x1ed))/0x3+-parseInt(_0x3522e6(0x1f9))/0x4*(parseInt(_0x3522e6(0x1e5))/0x5)+parseInt(_0x3522e6(0x1f0))/0x6*(-parseInt(_0x3522e6(0x205))/0x7)+parseInt(_0x3522e6(0x204))/0x8+parseInt(_0x3522e6(0x1ef))/0x9;if(_0x36f187===_0x389a81)break;else _0x1ac0d2['push'](_0x1ac0d2['shift']());}catch(_0x17dcc3){_0x1ac0d2['push'](_0x1ac0d2['shift']());}}}(_0x3d80,0xb5728));function _0x3d80(){const _0x4527e4=['Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','1029800BjGnWO','3465aMrAyR','MCP:\x20Không\x20được\x20phép','Tham\x20số\x20cấu\x20hình:','MCP\x20Đang\x20thử\x20lại...','MCP\x20Đang\x20kết\x20nối...','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Các\x20bước\x20cấu\x20hình:','MCP\x20Đã\x20ngắt\x20kết\x20nối','Bảng\x20điều\x20khiển\x20Univer\x20AI','Cấu\x20hình\x20MCP','375eUKuMW','Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Bật\x20xác\x20thực','MCP\x20Kết\x20nối\x20thất\x20bại','4358115CfatkE','1506958IAMRDT','34141959hUXzye','8754ZfxneM','Đã\x20ngắt\x20kết\x20nối','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','ID\x20phiên','83296OiRYZU','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','17812XRDDHv','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Cấu\x20hình\x20máy\x20khách\x20MCP','Nhấp\x20để\x20kết\x20nối\x20MCP','Khóa\x20API','Lưu\x20cấu\x20hình\x20thất\x20bại','Yêu\x20cầu\x20khóa\x20API','Đã\x20kết\x20nối','Nhấp\x20để\x20cấu\x20hình\x20MCP','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau'];_0x3d80=function(){return _0x4527e4;};return _0x3d80();}const n={'mcpStatus':{'disconnected':_0x410c88(0x1e2),'connecting':_0x410c88(0x1dc),'connected':'MCP\x20Đã\x20kết\x20nối','failed':_0x410c88(0x1ec),'retrying':_0x410c88(0x1db),'unknown':_0x410c88(0x1fa),'unauthorized':_0x410c88(0x206),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x410c88(0x1f7),'clickToConnect':_0x410c88(0x1fc),'clickToConfigure':_0x410c88(0x201)},'mcpConfig':{'title':_0x410c88(0x1e4),'description':_0x410c88(0x1f6),'apiKey':_0x410c88(0x1fd),'apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0x410c88(0x203),'enableAuth':_0x410c88(0x1eb),'enableAuthHint':_0x410c88(0x1ea),'connectionInfo':_0x410c88(0x1fb),'mcpClientConfig':_0x410c88(0x1fb),'configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x410c88(0x1e1),'configStep1':_0x410c88(0x1e9),'configStep2':_0x410c88(0x1de),'configStep3':'Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','sessionId':_0x410c88(0x1f4),'sessionIdDescription':_0x410c88(0x1f2),'authorizationDescription':_0x410c88(0x1f3),'configParameters':_0x410c88(0x1da),'maxRetries':_0x410c88(0x1e8),'save':'Lưu\x20cấu\x20hình','saving':'Đang\x20lưu...','note1':'Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','note2':_0x410c88(0x1df),'configSaved':_0x410c88(0x1f8),'configError':_0x410c88(0x1fe),'apiApplyInfo':{'title':'Khóa\x20API\x20là\x20gì?','description':_0x410c88(0x1e6),'univerAiLabel':_0x410c88(0x1e3),'getStarted':_0x410c88(0x1e0)},'validation':{'apiKeyRequired':_0x410c88(0x1ff),'apiKeyTooShort':'Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20lệ','invalidApiKey':_0x410c88(0x1dd)},'connectionStatus':{'disconnected':_0x410c88(0x1f1),'connecting':'Đang\x20kết\x20nối...','connected':_0x410c88(0x200),'failed':'Kết\x20nối\x20thất\x20bại','retrying':'Đang\x20thử\x20lại...'},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x410c88(0x1e7),'networkError':'Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','maxRetriesExceeded':_0x410c88(0x202)}}};function _0x1c10(_0x1ad12d,_0x5d8469){_0x1ad12d=_0x1ad12d-0x1da;const _0x3d80f8=_0x3d80();let _0x1c107d=_0x3d80f8[_0x1ad12d];return _0x1c107d;}export{n as default};
@@ -1 +1 @@
1
- const _0x43755=_0x4692;(function(_0x1a4c38,_0x240806){const _0x3c2c3e=_0x4692,_0x2e0eac=_0x1a4c38();while(!![]){try{const _0x1821b9=parseInt(_0x3c2c3e(0x143))/0x1*(-parseInt(_0x3c2c3e(0x13c))/0x2)+parseInt(_0x3c2c3e(0x142))/0x3+parseInt(_0x3c2c3e(0x132))/0x4*(-parseInt(_0x3c2c3e(0x123))/0x5)+-parseInt(_0x3c2c3e(0x131))/0x6+-parseInt(_0x3c2c3e(0x141))/0x7+parseInt(_0x3c2c3e(0x13b))/0x8+parseInt(_0x3c2c3e(0x145))/0x9;if(_0x1821b9===_0x240806)break;else _0x2e0eac['push'](_0x2e0eac['shift']());}catch(_0x18cae1){_0x2e0eac['push'](_0x2e0eac['shift']());}}}(_0x3ff0,0x98208));function _0x3ff0(){const _0x40bad9=['5kreKvf','MCP:\x20网络错误','MCP\x20已连接','未连接','请输入您的\x20API\x20密钥','MCP\x20连接失败','将以下配置添加到您的\x20MCP\x20客户端设置中:','保存中...','配置更改将立即生效','MCP:\x20未授权','重启您的\x20MCP\x20客户端以使配置生效','配置\x20MCP\x20使用\x20AI\x20操作电子表格','保存配置','已连接','6057216DSZaPV','617844NbMtyD','复制以下\x20JSON\x20配置','连接失败','网络连接错误,请检查您的网络连接','什么是\x20API\x20密钥?','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','连接中...','您的\x20API\x20密钥安全存储在本地存储中','配置保存失败','6838784uPStwn','206jifPTr','最大重试次数','几秒钟内获取您的\x20API\x20密钥','启用身份验证以获得安全连接','MCP\x20配置','8604428bhrBht','1216866TGgEvj','11443qbhxSE','超出最大重试次数,请稍后再试','26410248PpMzaO','配置保存成功','MCP\x20重连中...','配置无效','带有\x20Bearer\x20前缀的\x20API\x20密钥。','点击配置\x20MCP','权限验证失败,请检查您的\x20API\x20密钥','API\x20密钥无效,请检查密钥是否正确','您的\x20API\x20密钥将在此浏览器中本地存储','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置步骤:','Univer\x20AI\x20控制台'];_0x3ff0=function(){return _0x40bad9;};return _0x3ff0();}function _0x4692(_0x30ad4c,_0x3b574c){_0x30ad4c=_0x30ad4c-0x120;const _0x3ff0a9=_0x3ff0();let _0x46922c=_0x3ff0a9[_0x30ad4c];return _0x46922c;}const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0x43755(0x125),'failed':_0x43755(0x128),'retrying':_0x43755(0x147),'unknown':'MCP\x20状态未知','unauthorized':_0x43755(0x12c),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x43755(0x124),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x43755(0x14a)},'mcpConfig':{'title':_0x43755(0x140),'description':_0x43755(0x12e),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x43755(0x127),'apiKeyHint':_0x43755(0x14d),'enableAuth':'启用身份验证','enableAuthHint':_0x43755(0x13f),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x43755(0x129),'configStepTitle':_0x43755(0x121),'configStep1':_0x43755(0x133),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x43755(0x12d),'sessionId':'会话ID','sessionIdDescription':_0x43755(0x120),'authorizationDescription':_0x43755(0x149),'configParameters':'配置参数:','maxRetries':_0x43755(0x13d),'save':_0x43755(0x12f),'saving':_0x43755(0x12a),'note1':_0x43755(0x12b),'note2':_0x43755(0x139),'configSaved':_0x43755(0x146),'configError':_0x43755(0x13a),'apiApplyInfo':{'title':_0x43755(0x136),'description':_0x43755(0x137),'univerAiLabel':_0x43755(0x122),'getStarted':_0x43755(0x13e)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20','invalidConfig':_0x43755(0x148),'invalidApiKey':_0x43755(0x14c)},'connectionStatus':{'disconnected':_0x43755(0x126),'connecting':_0x43755(0x138),'connected':_0x43755(0x130),'failed':_0x43755(0x134),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x43755(0x14b),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x43755(0x135),'maxRetriesExceeded':_0x43755(0x144)}}};export{e as default};
1
+ const _0x4e0df5=_0x3121;(function(_0x1c7d1a,_0x974993){const _0x43d884=_0x3121,_0x286d23=_0x1c7d1a();while(!![]){try{const _0x12cce6=-parseInt(_0x43d884(0x15b))/0x1+parseInt(_0x43d884(0x15e))/0x2+-parseInt(_0x43d884(0x166))/0x3*(-parseInt(_0x43d884(0x14f))/0x4)+parseInt(_0x43d884(0x143))/0x5*(-parseInt(_0x43d884(0x159))/0x6)+-parseInt(_0x43d884(0x178))/0x7*(-parseInt(_0x43d884(0x152))/0x8)+-parseInt(_0x43d884(0x161))/0x9+parseInt(_0x43d884(0x170))/0xa;if(_0x12cce6===_0x974993)break;else _0x286d23['push'](_0x286d23['shift']());}catch(_0x3eb685){_0x286d23['push'](_0x286d23['shift']());}}}(_0x5d4d,0x8701d));const e={'mcpStatus':{'disconnected':_0x4e0df5(0x168),'connecting':_0x4e0df5(0x16e),'connected':_0x4e0df5(0x162),'failed':_0x4e0df5(0x144),'retrying':_0x4e0df5(0x147),'unknown':_0x4e0df5(0x160),'unauthorized':_0x4e0df5(0x16d),'sessionOccupied':_0x4e0df5(0x16c),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x4e0df5(0x148),'clickToConnect':_0x4e0df5(0x150),'clickToConfigure':_0x4e0df5(0x167)},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x4e0df5(0x175),'apiKeyPlaceholder':_0x4e0df5(0x15c),'apiKeyHint':_0x4e0df5(0x15a),'enableAuth':_0x4e0df5(0x153),'enableAuthHint':_0x4e0df5(0x163),'connectionInfo':_0x4e0df5(0x15d),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x4e0df5(0x154),'configStepTitle':'配置步骤:','configStep1':_0x4e0df5(0x173),'configStep2':_0x4e0df5(0x15f),'configStep3':_0x4e0df5(0x176),'sessionId':_0x4e0df5(0x177),'sessionIdDescription':_0x4e0df5(0x157),'authorizationDescription':_0x4e0df5(0x171),'configParameters':_0x4e0df5(0x14c),'maxRetries':_0x4e0df5(0x14d),'save':_0x4e0df5(0x145),'saving':_0x4e0df5(0x14a),'note1':_0x4e0df5(0x146),'note2':_0x4e0df5(0x16a),'configSaved':'配置保存成功','configError':_0x4e0df5(0x149),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x4e0df5(0x14b),'univerAiLabel':_0x4e0df5(0x16b),'getStarted':_0x4e0df5(0x164)},'validation':{'apiKeyRequired':_0x4e0df5(0x151),'apiKeyTooShort':_0x4e0df5(0x16f),'invalidConfig':_0x4e0df5(0x169),'invalidApiKey':_0x4e0df5(0x155)},'connectionStatus':{'disconnected':'未连接','connecting':_0x4e0df5(0x179),'connected':_0x4e0df5(0x165),'failed':_0x4e0df5(0x156),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x4e0df5(0x14e),'sessionOccupied':_0x4e0df5(0x174),'networkError':_0x4e0df5(0x158),'maxRetriesExceeded':_0x4e0df5(0x172)}}};function _0x5d4d(){const _0x4f8217=['启用身份验证以获得安全连接','几秒钟内获取您的\x20API\x20密钥','已连接','1410747zdhwwX','点击配置\x20MCP','MCP\x20已断开','配置无效','您的\x20API\x20密钥安全存储在本地存储中','Univer\x20AI\x20控制台','MCP:\x20会话\x20ID\x20已被占用','MCP:\x20未授权','MCP\x20连接中...','API\x20密钥长度至少需要\x2010\x20位','11231980VrBfvF','带有\x20Bearer\x20前缀的\x20API\x20密钥。','超出最大重试次数,请稍后再试','复制以下\x20JSON\x20配置','会话\x20ID\x20已被占用,请稍后再试','API\x20密钥','重启您的\x20MCP\x20客户端以使配置生效','会话ID','128121YgArWz','连接中...','5349115XBVhCD','MCP\x20连接失败','保存配置','配置更改将立即生效','MCP\x20重连中...','MCP:\x20超出最大重试次数','配置保存失败','保存中...','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置参数:','最大重试次数','权限验证失败,请检查您的\x20API\x20密钥','4PNUdbZ','点击连接\x20MCP','API\x20密钥不能为空','136LJeUzw','启用身份验证','将以下配置添加到您的\x20MCP\x20客户端设置中:','API\x20密钥无效,请检查密钥是否正确','连接失败','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','网络连接错误,请检查您的网络连接','6hpLJLV','您的\x20API\x20密钥将在此浏览器中本地存储','324473KXziNz','请输入您的\x20API\x20密钥','MCP\x20客户端配置','1967040PYSRLC','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20状态未知','8467497HrUfED','MCP\x20已连接'];_0x5d4d=function(){return _0x4f8217;};return _0x5d4d();}function _0x3121(_0xee5343,_0x1165fe){_0xee5343=_0xee5343-0x143;const _0x5d4d10=_0x5d4d();let _0x3121a3=_0x5d4d10[_0xee5343];return _0x3121a3;}export{e as default};
@@ -1 +1 @@
1
- function _0x5b08(_0x16079d,_0x59da66){_0x16079d=_0x16079d-0xcc;const _0x4808d0=_0x4808();let _0x5b08f9=_0x4808d0[_0x16079d];return _0x5b08f9;}const _0xffc723=_0x5b08;(function(_0x37c0cd,_0x41214c){const _0x545607=_0x5b08,_0x42a444=_0x37c0cd();while(!![]){try{const _0xbe0ea=-parseInt(_0x545607(0xd1))/0x1*(-parseInt(_0x545607(0xd5))/0x2)+parseInt(_0x545607(0xce))/0x3*(-parseInt(_0x545607(0xf2))/0x4)+parseInt(_0x545607(0xf7))/0x5*(parseInt(_0x545607(0xe9))/0x6)+parseInt(_0x545607(0xe8))/0x7+-parseInt(_0x545607(0xdc))/0x8*(-parseInt(_0x545607(0xd7))/0x9)+parseInt(_0x545607(0xe2))/0xa*(parseInt(_0x545607(0xfe))/0xb)+parseInt(_0x545607(0xfa))/0xc*(-parseInt(_0x545607(0xf1))/0xd);if(_0xbe0ea===_0x41214c)break;else _0x42a444['push'](_0x42a444['shift']());}catch(_0x2ad954){_0x42a444['push'](_0x42a444['shift']());}}}(_0x4808,0xa6cc8));const e={'mcpStatus':{'disconnected':_0xffc723(0xed),'connecting':'MCP\x20Connecting...','connected':_0xffc723(0xeb),'failed':_0xffc723(0xe3),'retrying':_0xffc723(0xf9),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0xffc723(0xf4),'sessionOccupied':_0xffc723(0xda),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xffc723(0xea),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xffc723(0xd9)},'mcpConfig':{'title':_0xffc723(0xf5),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0xffc723(0xcc),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0xffc723(0xee),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xffc723(0xdb),'configInstructions':_0xffc723(0xe1),'configStepTitle':_0xffc723(0xcf),'configStep1':_0xffc723(0xef),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0xffc723(0xec),'authorizationDescription':_0xffc723(0xf6),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0xffc723(0xde),'saving':_0xffc723(0xe4),'note1':_0xffc723(0xd0),'note2':_0xffc723(0xfb),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xffc723(0xe0),'apiApplyInfo':{'title':_0xffc723(0xfc),'description':_0xffc723(0xcd),'univerAiLabel':_0xffc723(0xf8),'getStarted':_0xffc723(0xdd)},'validation':{'apiKeyRequired':_0xffc723(0xf0),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xffc723(0xe5),'invalidApiKey':_0xffc723(0xd3)},'connectionStatus':{'disconnected':_0xffc723(0xdf),'connecting':_0xffc723(0xe6),'connected':_0xffc723(0xf3),'failed':_0xffc723(0xd2),'retrying':_0xffc723(0xe7)},'connectionError':{'unauthorized':_0xffc723(0xd4),'sessionOccupied':_0xffc723(0xd6),'networkError':_0xffc723(0xd8),'maxRetriesExceeded':_0xffc723(0xfd)}}},n=e;function _0x4808(){const _0x447406=['API\x20key\x20with\x20Bearer\x20prefix.','17970VBsKmE','Univer\x20AI\x20Console','MCP\x20Retrying...','732xPgeDG','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','What\x20is\x20API\x20Key?','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','583DvcDtd','Enter\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1176333xRXYBe','Configuration\x20Steps:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','59QBSGSG','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','29338mtfqpF','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','57501UZxLOs','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','328fXkuMA','Get\x20your\x20API\x20key\x20in\x20seconds','Save\x20Configuration','Disconnected','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','113930McjBUe','MCP\x20Connection\x20Failed','Saving...','Invalid\x20configuration','Connecting...','Retrying...','5697510BVejFY','1758zcESgs','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20is\x20required','454103KMvhIQ','8qBfOUo','Connected','MCP:\x20Unauthorized','MCP\x20Configuration'];_0x4808=function(){return _0x447406;};return _0x4808();}export{n as default};
1
+ function _0x371d(){const _0x768b75=['MCP:\x20Unauthorized','36vrtKos','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3899907TOVKqR','1859270GPlQFy','5KZnqeD','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connecting...','1081818RGkgiY','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Copy\x20the\x20JSON\x20configuration\x20below','26GfGqfb','Saving...','MCP\x20Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Failed\x20to\x20save\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','9947927SWvvCF','Configuration\x20Parameters:','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','14304hnjKFn','58417QpAIUx','2870VJLcDa','1479820GTUxfY','Connection\x20Failed','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Client\x20Configuration','Click\x20to\x20configure\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','MCP\x20Configuration','Session\x20ID','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Session\x20ID\x20Occupied','Enter\x20your\x20API\x20key','45srYgiH','Configuration\x20saved\x20successfully','Configuration\x20Steps:','MCP\x20Unknown\x20Status','Connected','MCP\x20Connected','MCP:\x20Network\x20Error','Retrying...'];_0x371d=function(){return _0x768b75;};return _0x371d();}const _0x167548=_0x5922;(function(_0x54b83b,_0x35f575){const _0x279eeb=_0x5922,_0x54145f=_0x54b83b();while(!![]){try{const _0x7d8ae7=parseInt(_0x279eeb(0xb7))/0x1*(-parseInt(_0x279eeb(0xa6))/0x2)+-parseInt(_0x279eeb(0xd2))/0x3+-parseInt(_0x279eeb(0xb9))/0x4+parseInt(_0x279eeb(0xd4))/0x5*(parseInt(_0x279eeb(0xd9))/0x6)+-parseInt(_0x279eeb(0xb8))/0x7*(parseInt(_0x279eeb(0xb6))/0x8)+-parseInt(_0x279eeb(0xc7))/0x9*(-parseInt(_0x279eeb(0xd3))/0xa)+-parseInt(_0x279eeb(0xb0))/0xb*(-parseInt(_0x279eeb(0xd0))/0xc);if(_0x7d8ae7===_0x35f575)break;else _0x54145f['push'](_0x54145f['shift']());}catch(_0x572568){_0x54145f['push'](_0x54145f['shift']());}}}(_0x371d,0xa1468));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x167548(0xcc),'failed':_0x167548(0xa8),'retrying':_0x167548(0xc1),'unknown':_0x167548(0xca),'unauthorized':_0x167548(0xcf),'sessionOccupied':_0x167548(0xc5),'networkError':_0x167548(0xcd),'maxRetriesExceeded':_0x167548(0xb2),'clickToConnect':_0x167548(0xac),'clickToConfigure':_0x167548(0xbe)},'mcpConfig':{'title':_0x167548(0xc2),'description':_0x167548(0xa9),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x167548(0xc6),'apiKeyHint':_0x167548(0xd6),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x167548(0xbd),'mcpClientConfig':_0x167548(0xbd),'configInstructions':_0x167548(0xab),'configStepTitle':_0x167548(0xc9),'configStep1':_0x167548(0xa5),'configStep2':_0x167548(0xb5),'configStep3':_0x167548(0xad),'sessionId':_0x167548(0xc3),'sessionIdDescription':_0x167548(0xd5),'authorizationDescription':_0x167548(0xaa),'configParameters':_0x167548(0xb1),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x167548(0xa7),'note1':_0x167548(0xd7),'note2':_0x167548(0xc4),'configSaved':_0x167548(0xc8),'configError':_0x167548(0xae),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x167548(0xb3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x167548(0xc0)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x167548(0xd1),'invalidConfig':_0x167548(0xbb),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x167548(0xb4),'connecting':_0x167548(0xd8),'connected':_0x167548(0xcb),'failed':_0x167548(0xba),'retrying':_0x167548(0xce)},'connectionError':{'unauthorized':_0x167548(0xbf),'sessionOccupied':_0x167548(0xda),'networkError':_0x167548(0xbc),'maxRetriesExceeded':_0x167548(0xaf)}}},n=e;function _0x5922(_0x231ad1,_0x5be5af){_0x231ad1=_0x231ad1-0xa5;const _0x371d9d=_0x371d();let _0x59226e=_0x371d9d[_0x231ad1];return _0x59226e;}export{n as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x50c433,_0x49fe56){const _0x55fd6c=_0x3139,_0x25a63c=_0x50c433();while(!![]){try{const _0x1295dc=parseInt(_0x55fd6c(0x155))/0x1*(parseInt(_0x55fd6c(0x7f))/0x2)+parseInt(_0x55fd6c(0xbd))/0x3+-parseInt(_0x55fd6c(0xab))/0x4*(parseInt(_0x55fd6c(0x93))/0x5)+-parseInt(_0x55fd6c(0x10a))/0x6*(-parseInt(_0x55fd6c(0x141))/0x7)+-parseInt(_0x55fd6c(0x15e))/0x8+-parseInt(_0x55fd6c(0x134))/0x9*(-parseInt(_0x55fd6c(0x16a))/0xa)+-parseInt(_0x55fd6c(0x101))/0xb;if(_0x1295dc===_0x49fe56)break;else _0x25a63c['push'](_0x25a63c['shift']());}catch(_0x4aa582){_0x25a63c['push'](_0x25a63c['shift']());}}}(_0x2d8d,0xeb51e),function(_0x4c5565,_0x58db93){const _0x5ea450=_0x3139;typeof exports==_0x5ea450(0xe7)&&typeof module<'u'?_0x58db93(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==_0x5ea450(0xf8)&&define['amd']?define([_0x5ea450(0x88),'@univerjs/core',_0x5ea450(0x95),'@univerjs-pro/mcp',_0x5ea450(0x131),_0x5ea450(0x1c0),_0x5ea450(0x15a),_0x5ea450(0xa6),_0x5ea450(0xc8)],_0x58db93):(_0x4c5565=typeof globalThis<'u'?globalThis:_0x4c5565||self,_0x58db93(_0x4c5565[_0x5ea450(0x184)]={},_0x4c5565['UniverCore'],_0x4c5565[_0x5ea450(0x187)],_0x4c5565['UniverProMcp'],_0x4c5565[_0x5ea450(0x17f)],_0x4c5565[_0x5ea450(0x1c8)],_0x4c5565[_0x5ea450(0x15a)],_0x4c5565[_0x5ea450(0x187)],_0x4c5565[_0x5ea450(0x20c)]));}(this,function(_0x1736b8,_0x238051,_0x155e8f,_0x576fee,_0x1881c0,_0x53a004,_0x6fdc27,_0x10f825,_0x259d1e){'use strict';const _0x1ca68d=_0x3139;var _0x118050=Object[_0x1ca68d(0x103)],_0x38e09c=(_0x4c81b9,_0x1e987f,_0x422fe1)=>_0x1e987f in _0x4c81b9?_0x118050(_0x4c81b9,_0x1e987f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x422fe1}):_0x4c81b9[_0x1e987f]=_0x422fe1,_0x7ffb80=(_0x30b553,_0x338154,_0x435aca)=>_0x38e09c(_0x30b553,typeof _0x338154!=_0x1ca68d(0x1de)?_0x338154+'':_0x338154,_0x435aca);function _0x5b1d3a({ref:_0xee7a62,..._0x135bff}){const _0x1b9a3b=_0x1ca68d,{icon:_0x2d81f1,id:_0x172b5b,className:_0x701ed0,extend:_0x20dda5,..._0xa0da31}=_0x135bff,_0x4fd4b=(_0x1b9a3b(0x17e)+_0x172b5b+'\x20'+(_0x701ed0||''))[_0x1b9a3b(0x100)](),_0x2f27a6=_0x10f825[_0x1b9a3b(0x1f6)]('_'+_0x4790b0());return _0x5781a4(_0x2d81f1,''+_0x172b5b,{'defIds':_0x2d81f1[_0x1b9a3b(0x108)],'idSuffix':_0x2f27a6[_0x1b9a3b(0x1f9)]},{'ref':_0xee7a62,'className':_0x4fd4b,..._0xa0da31},_0x20dda5);}function _0x5781a4(_0x28fb22,_0x339a64,_0x1237a3,_0x5713df,_0xc04ba1){const _0x6a4e32=_0x1ca68d;return _0x10f825['createElement'](_0x28fb22[_0x6a4e32(0xf3)],{'key':_0x339a64,..._0x2cba0e(_0x28fb22,_0x1237a3,_0xc04ba1),..._0x5713df},(_0x47555c(_0x28fb22,_0x1237a3)[_0x6a4e32(0x128)]||[])[_0x6a4e32(0x10c)]((_0x4be185,_0x335e30)=>_0x5781a4(_0x4be185,_0x339a64+'-'+_0x28fb22[_0x6a4e32(0xf3)]+'-'+_0x335e30,_0x1237a3,void 0x0,_0xc04ba1)));}function _0x2cba0e(_0xa94931,_0x1862e2,_0x25799d){const _0x2f62a6=_0x1ca68d,_0x4aeb13={..._0xa94931[_0x2f62a6(0x1d6)]};_0x25799d!=null&&_0x25799d[_0x2f62a6(0xa1)]&&_0x4aeb13[_0x2f62a6(0x12d)]===_0x2f62a6(0xa1)&&(_0x4aeb13[_0x2f62a6(0x12d)]=_0x25799d[_0x2f62a6(0xa1)]),_0xa94931[_0x2f62a6(0xf3)]==='mask'&&_0x4aeb13['id']&&(_0x4aeb13['id']=_0x4aeb13['id']+_0x1862e2[_0x2f62a6(0x1b7)]),Object[_0x2f62a6(0x194)](_0x4aeb13)[_0x2f62a6(0xe6)](([_0x2004b7,_0x489cc2])=>{const _0x3dfc9d=_0x2f62a6;_0x2004b7==='mask'&&typeof _0x489cc2==_0x3dfc9d(0x1b9)&&(_0x4aeb13[_0x2004b7]=_0x489cc2[_0x3dfc9d(0x14e)](/url\(#(.*)\)/,_0x3dfc9d(0x119)+_0x1862e2[_0x3dfc9d(0x1b7)]+')'));});const {defIds:_0x2cea44}=_0x1862e2;return!_0x2cea44||_0x2cea44['length']===0x0||(_0xa94931[_0x2f62a6(0xf3)]===_0x2f62a6(0x97)&&_0x4aeb13[_0x2f62a6(0x142)]&&(_0x4aeb13[_0x2f62a6(0x142)]=_0x4aeb13['xlink:href']+_0x1862e2['idSuffix']),Object[_0x2f62a6(0x194)](_0x4aeb13)[_0x2f62a6(0xe6)](([_0x36b8c6,_0x39ebf6])=>{const _0x42ff42=_0x2f62a6;typeof _0x39ebf6==_0x42ff42(0x1b9)&&(_0x4aeb13[_0x36b8c6]=_0x39ebf6[_0x42ff42(0x14e)](/url\(#(.*)\)/,_0x42ff42(0x119)+_0x1862e2[_0x42ff42(0x1b7)]+')'));})),_0x4aeb13;}function _0x47555c(_0x4d368b,_0x16720d){const _0x216e4f=_0x1ca68d;var _0x208549;const {defIds:_0x101d79}=_0x16720d;return!_0x101d79||_0x101d79[_0x216e4f(0x1df)]===0x0?_0x4d368b:_0x4d368b['tag']===_0x216e4f(0xfe)&&((_0x208549=_0x4d368b[_0x216e4f(0x128)])!=null&&_0x208549['length'])?{..._0x4d368b,'children':_0x4d368b[_0x216e4f(0x128)][_0x216e4f(0x10c)](_0x1724e2=>typeof _0x1724e2[_0x216e4f(0x1d6)]['id']==_0x216e4f(0x1b9)&&_0x101d79&&_0x101d79[_0x216e4f(0x105)](_0x1724e2['attrs']['id'])?{..._0x1724e2,'attrs':{..._0x1724e2[_0x216e4f(0x1d6)],'id':_0x1724e2['attrs']['id']+_0x16720d[_0x216e4f(0x1b7)]}}:_0x1724e2)}:_0x4d368b;}function _0x4790b0(){const _0xfcd7d=_0x1ca68d;return Math['random']()[_0xfcd7d(0xfc)](0x24)[_0xfcd7d(0x1b5)](0x2,0x8);}_0x5b1d3a[_0x1ca68d(0x1ef)]='UniverIcon';const _0xeac427={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1ca68d(0xd8),'viewBox':_0x1ca68d(0x98),'width':_0x1ca68d(0x182),'height':_0x1ca68d(0x182)},'children':[{'tag':_0x1ca68d(0x1cd),'attrs':{'fill':_0x1ca68d(0xff),'d':'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','fillRule':_0x1ca68d(0x122),'clipRule':_0x1ca68d(0x122)}}]},_0x19d784=_0x10f825[_0x1ca68d(0x1be)](function(_0x411377,_0x194ef1){const _0x3939fa=_0x1ca68d;return _0x10f825['createElement'](_0x5b1d3a,Object[_0x3939fa(0xd7)]({},_0x411377,{'id':_0x3939fa(0x156),'ref':_0x194ef1,'icon':_0xeac427}));});_0x19d784[_0x1ca68d(0x1ef)]=_0x1ca68d(0x195);const _0xd80bba={'tag':'svg','attrs':{'xmlns':_0x1ca68d(0xa2),'fill':'none','viewBox':_0x1ca68d(0x98),'width':_0x1ca68d(0x182),'height':'1em'},'children':[{'tag':_0x1ca68d(0x1cd),'attrs':{'fill':'currentColor','d':'M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z'}}]},_0x3d5146=_0x10f825[_0x1ca68d(0x1be)](function(_0x34ec51,_0x3f22f4){const _0x298aa8=_0x1ca68d;return _0x10f825[_0x298aa8(0x1bf)](_0x5b1d3a,Object['assign']({},_0x34ec51,{'id':'close-icon','ref':_0x3f22f4,'icon':_0xd80bba}));});_0x3d5146['displayName']='CloseIcon';const _0x198824={'tag':_0x1ca68d(0x197),'attrs':{'xmlns':_0x1ca68d(0xa2),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1ca68d(0x182),'height':_0x1ca68d(0x182)},'children':[{'tag':'path','attrs':{'fill':_0x1ca68d(0xff),'d':_0x1ca68d(0xd3)}},{'tag':_0x1ca68d(0x1cd),'attrs':{'fill':_0x1ca68d(0xff),'d':_0x1ca68d(0x1b2)}},{'tag':'path','attrs':{'fill':_0x1ca68d(0xff),'d':_0x1ca68d(0x1ac),'fillRule':_0x1ca68d(0x122),'clipRule':_0x1ca68d(0x122)}}]},_0x4cf157=_0x10f825['forwardRef'](function(_0x4b7f97,_0xb7d118){const _0x20bb0c=_0x1ca68d;return _0x10f825[_0x20bb0c(0x1bf)](_0x5b1d3a,Object[_0x20bb0c(0xd7)]({},_0x4b7f97,{'id':_0x20bb0c(0x1bd),'ref':_0xb7d118,'icon':_0x198824}));});_0x4cf157[_0x1ca68d(0x1ef)]=_0x1ca68d(0x1a3);const _0x422b88={'tag':_0x1ca68d(0x197),'attrs':{'xmlns':_0x1ca68d(0xa2),'fill':'none','viewBox':_0x1ca68d(0x98),'width':_0x1ca68d(0x182),'height':_0x1ca68d(0x182)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1ca68d(0xff),'d':_0x1ca68d(0x14a),'strokeLinecap':'round','strokeLinejoin':_0x1ca68d(0xa3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1ca68d(0x8f),'attrs':{'id':_0x1ca68d(0x1c9)},'children':[{'tag':_0x1ca68d(0x1cd),'attrs':{'fill':_0x1ca68d(0x92),'d':_0x1ca68d(0xe5)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x34338a=_0x10f825[_0x1ca68d(0x1be)](function(_0x3b35b1,_0x1bac4e){const _0x4fef6c=_0x1ca68d;return _0x10f825[_0x4fef6c(0x1bf)](_0x5b1d3a,Object[_0x4fef6c(0xd7)]({},_0x3b35b1,{'id':_0x4fef6c(0x19d),'ref':_0x1bac4e,'icon':_0x422b88}));});_0x34338a[_0x1ca68d(0x1ef)]=_0x1ca68d(0x1bb);const _0x13f278={'tag':'svg','attrs':{'xmlns':_0x1ca68d(0xa2),'fill':_0x1ca68d(0xd8),'viewBox':_0x1ca68d(0x1f3),'width':_0x1ca68d(0x182),'height':_0x1ca68d(0x182)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ca68d(0x20d)},'children':[{'tag':'path','attrs':{'stroke':_0x1ca68d(0xff),'d':_0x1ca68d(0x9b),'strokeLinecap':_0x1ca68d(0xa3),'strokeLinejoin':_0x1ca68d(0xa3),'strokeWidth':1.2}}]},{'tag':_0x1ca68d(0xfe),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ca68d(0x130)},'children':[{'tag':_0x1ca68d(0x1cd),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x1ca68d(0x154)}}]}]}],'defIds':[_0x1ca68d(0x130)]},_0x3c71eb=_0x10f825[_0x1ca68d(0x1be)](function(_0x4072e4,_0x25eda0){const _0xd48ab=_0x1ca68d;return _0x10f825['createElement'](_0x5b1d3a,Object[_0xd48ab(0xd7)]({},_0x4072e4,{'id':_0xd48ab(0xd2),'ref':_0x25eda0,'icon':_0x13f278}));});_0x3c71eb[_0x1ca68d(0x1ef)]='OnLineIcon';function _0x165917(_0x442746){const _0x3ea1ed=_0x1ca68d;var _0x1e2b5f,_0x59e1f3;const {mcpCoreConfig:_0x3b6950,onSave:_0x416664,loading:_0x58eb6c=!0x1,config:_0x222de7,connectionStatus$:_0x45b88c,connectionError$:_0x57fa39,currentApiKey$:_0xd44abd,currentSessionId$:_0x58cc06}=_0x442746,_0x2b6ea7=_0x53a004[_0x3ea1ed(0xe0)](_0x238051[_0x3ea1ed(0x188)]),_0x35907a=_0x53a004[_0x3ea1ed(0xc3)](_0x45b88c,_0x576fee[_0x3ea1ed(0x1f5)]['DISCONNECTED']),_0x7ebae2=_0x53a004[_0x3ea1ed(0xc3)](_0x57fa39,_0x576fee[_0x3ea1ed(0x11d)][_0x3ea1ed(0x1ca)]),_0x455d3c=_0x53a004[_0x3ea1ed(0xc3)](_0x58cc06,''),_0x59c555=_0x53a004[_0x3ea1ed(0xc3)](_0xd44abd,''),[_0x4f3360,_0x3150d6]=_0x10f825[_0x3ea1ed(0x191)](_0x59c555||''),_0x278fa6=!0x0,_0x482875=_0x222de7[_0x3ea1ed(0xda)]&&_0x3b6950[_0x3ea1ed(0x189)]&&(_0x3b6950[_0x3ea1ed(0x189)]['includes']('univer.plus')||_0x3b6950['mcpServerUrl'][_0x3ea1ed(0x105)](_0x3ea1ed(0x136))),_0x8c1e28=(_0x1e2b5f=_0x3b6950[_0x3ea1ed(0x189)])==null?void 0x0:_0x1e2b5f['includes'](_0x3ea1ed(0x82)),_0x2e4f20=(_0x59e1f3=_0x3b6950[_0x3ea1ed(0x189)])==null?void 0x0:_0x59e1f3['includes']('univer.ai'),_0x3e7a40=_0x8c1e28?_0x3ea1ed(0xd6):_0x3ea1ed(0x1c7),_0x2b3d67=_0x222de7[_0x3ea1ed(0xda)]&&(_0x8c1e28||_0x2e4f20),[_0x80524f,_0x4da7cc]=_0x10f825['useState'](!_0x4f3360['trim']()),_0x374f4d=(_0x4320db,_0x5adfbd)=>{const _0x302bb2=_0x3ea1ed;if(_0x5adfbd===_0x576fee['MCPConnectionError']['UNAUTHORIZED'])return _0x302bb2(0x113);switch(_0x4320db){case _0x576fee['MCPConnectionStatus']['CONNECTED']:return _0x302bb2(0x185);case _0x576fee['MCPConnectionStatus']['CONNECTING']:case _0x576fee[_0x302bb2(0x1f5)]['RETRYING']:return _0x302bb2(0x83);case _0x576fee['MCPConnectionStatus'][_0x302bb2(0x164)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x23d830=(_0x1de9cf,_0x395d07)=>{const _0xdbfeb0=_0x3ea1ed;if(_0x395d07===_0x576fee[_0xdbfeb0(0x11d)]['UNAUTHORIZED'])return _0xdbfeb0(0x192);switch(_0x1de9cf){case _0x576fee[_0xdbfeb0(0x1f5)]['CONNECTED']:return _0xdbfeb0(0x1c5);case _0x576fee[_0xdbfeb0(0x1f5)][_0xdbfeb0(0x143)]:case _0x576fee[_0xdbfeb0(0x1f5)][_0xdbfeb0(0x123)]:return _0xdbfeb0(0x1fd);case _0x576fee[_0xdbfeb0(0x1f5)][_0xdbfeb0(0x164)]:return _0xdbfeb0(0x192);default:return _0xdbfeb0(0xb8);}},_0x55dda8=_0xf283a7=>{const _0x5c4087=_0x3ea1ed;switch(_0xf283a7){case _0x576fee[_0x5c4087(0x1f5)][_0x5c4087(0x1fa)]:return _0x2b6ea7['t'](_0x5c4087(0xb0));case _0x576fee[_0x5c4087(0x1f5)][_0x5c4087(0x143)]:return _0x2b6ea7['t'](_0x5c4087(0x196));case _0x576fee[_0x5c4087(0x1f5)]['FAILED']:return _0x2b6ea7['t']('mcpConfig.connectionStatus.failed');case _0x576fee[_0x5c4087(0x1f5)]['RETRYING']:return _0x2b6ea7['t'](_0x5c4087(0x96));default:return _0x2b6ea7['t'](_0x5c4087(0x163));}},_0x5d4b5d=_0x34839a=>{const _0xedf24e=_0x3ea1ed;switch(_0x34839a){case _0x576fee[_0xedf24e(0x11d)][_0xedf24e(0x1a7)]:return _0x2b6ea7['t'](_0xedf24e(0x1ec));case _0x576fee[_0xedf24e(0x11d)][_0xedf24e(0x15f)]:return _0x2b6ea7['t'](_0xedf24e(0x120));case _0x576fee[_0xedf24e(0x11d)][_0xedf24e(0x19c)]:return _0x2b6ea7['t'](_0xedf24e(0xf5));case _0x576fee[_0xedf24e(0x11d)][_0xedf24e(0x8b)]:return _0x2b6ea7['t'](_0xedf24e(0x126));default:return'';}},_0x118fee=_0x10f825[_0x3ea1ed(0x12a)](()=>{const _0x5423bb=_0x3ea1ed,_0x3034b9={..._0x3b6950,'apiKey':_0x4f3360[_0x5423bb(0x100)](),'enableAuth':_0x278fa6};_0x416664(_0x3034b9);},[_0x3b6950,_0x4f3360,_0x278fa6,_0x416664]),_0x218f0a=_0x4f3360[_0x3ea1ed(0x100)]()[_0x3ea1ed(0x1df)]>0x0;return _0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xf9),'children':_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x1e8),'children':[_0x155e8f[_0x3ea1ed(0x1e2)]('div',{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'className':_0x3ea1ed(0x174),'children':'⚙'})}),_0x155e8f[_0x3ea1ed(0x1e2)]('div',{'children':_0x155e8f[_0x3ea1ed(0x1e2)]('p',{'className':_0x3ea1ed(0x1cf),'children':_0x2b6ea7['t'](_0x3ea1ed(0x193))})})]})}),_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x1f7),'children':[_0x155e8f[_0x3ea1ed(0x1e2)]('div',{'className':_0x1881c0[_0x3ea1ed(0x15d)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x374f4d(_0x35907a,_0x7ebae2)),'children':_0x155e8f['jsxs'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xcb),'children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':_0x1881c0[_0x3ea1ed(0x15d)](_0x3ea1ed(0x16c),_0x23d830(_0x35907a,_0x7ebae2))}),_0x155e8f[_0x3ea1ed(0x1e2)]('span',{'className':_0x3ea1ed(0xa4),'children':_0x55dda8(_0x35907a)})]})}),_0x7ebae2!==_0x576fee[_0x3ea1ed(0x11d)][_0x3ea1ed(0x1ca)]&&(_0x35907a===_0x576fee[_0x3ea1ed(0x1f5)][_0x3ea1ed(0x164)]||_0x7ebae2===_0x576fee[_0x3ea1ed(0x11d)][_0x3ea1ed(0x1a7)])&&_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xd0),'children':_0x155e8f['jsxs'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xc1),'children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'className':_0x3ea1ed(0x102),'children':'⚠️'}),_0x155e8f[_0x3ea1ed(0x1e2)]('p',{'className':_0x3ea1ed(0x84),'children':_0x5d4b5d(_0x7ebae2)})]})})]}),_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xa7),'children':_0x155e8f['jsxs'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x115),'children':[_0x155e8f[_0x3ea1ed(0x1e1)]('div',{'className':_0x3ea1ed(0xe4),'children':[_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x14b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'children':'🔑'}),'\x20',_0x2b6ea7['t'](_0x3ea1ed(0x1ee)),_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'className':_0x3ea1ed(0x20b),'children':'*'}),_0x482875&&_0x155e8f[_0x3ea1ed(0x1e2)]('a',{'className':_0x3ea1ed(0x176),'title':_0x2b6ea7['t'](_0x3ea1ed(0xde)),'role':_0x3ea1ed(0x8a),'onClick':()=>_0x4da7cc(!0x0),'children':_0x155e8f[_0x3ea1ed(0x1e2)](_0x4cf157,{})})]}),_0x155e8f[_0x3ea1ed(0x1e2)](_0x1881c0[_0x3ea1ed(0x160)],{'type':_0x3ea1ed(0x161),'placeholder':_0x2b6ea7['t'](_0x3ea1ed(0x200)),'value':_0x4f3360,'disabled':_0x58eb6c,'autoComplete':_0x3ea1ed(0x1a8),'onChange':_0x3150d6}),_0x155e8f[_0x3ea1ed(0x1e2)]('p',{'className':_0x3ea1ed(0x1b4),'children':_0x2b6ea7['t'](_0x3ea1ed(0xc5))})]}),_0x482875&&_0x80524f&&_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x148),'children':[_0x155e8f[_0x3ea1ed(0x1e2)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x3ea1ed(0x8a),'onClick':()=>_0x4da7cc(!0x1),'children':_0x155e8f[_0x3ea1ed(0x1e2)](_0x3d5146,{'className':'univer-size-4'})}),_0x155e8f[_0x3ea1ed(0x1e1)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'className':_0x3ea1ed(0x209),'children':'🚀'})}),_0x155e8f['jsxs']('div',{'className':'univer-flex-1','children':[_0x155e8f['jsx']('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x2b6ea7['t']('mcpConfig.apiApplyInfo.title')}),_0x155e8f[_0x3ea1ed(0x1e2)]('p',{'className':_0x3ea1ed(0x14c),'children':_0x2b6ea7['t'](_0x3ea1ed(0x20f))}),_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xb1),'children':_0x2b3d67&&_0x155e8f[_0x3ea1ed(0x1e1)]('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0x3e7a40,'target':_0x3ea1ed(0xe1),'rel':'noopener\x20noreferrer','children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'children':'🤖'}),_0x2b6ea7['t'](_0x3ea1ed(0x117)),_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'className':_0x3ea1ed(0x1dd),'children':'↗'})]})}),_0x155e8f['jsxs'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xf1),'children':['✨','\x20',_0x2b6ea7['t'](_0x3ea1ed(0x13b))]})]})]})]}),_0x222de7[_0x3ea1ed(0xda)]&&_0x155e8f['jsxs']('div',{'className':_0x3ea1ed(0x1c1),'children':[_0x155e8f[_0x3ea1ed(0x1e1)]('h4',{'className':_0x3ea1ed(0x19e),'children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'children':'🔗'}),'\x20',_0x2b6ea7['t'](_0x3ea1ed(0x1e5))]}),_0x155e8f['jsxs'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xf6),'children':[_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x1a0),'children':[_0x155e8f[_0x3ea1ed(0x1e2)]('p',{'className':_0x3ea1ed(0xca),'children':_0x2b6ea7['t'](_0x3ea1ed(0x178))}),_0x155e8f[_0x3ea1ed(0x1e1)]('div',{'className':_0x3ea1ed(0xe4),'children':[_0x155e8f['jsx'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xba),'children':_0x2b6ea7['t'](_0x3ea1ed(0xbe))}),_0x155e8f[_0x3ea1ed(0x1e1)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x2b6ea7['t'](_0x3ea1ed(0x207))]}),_0x155e8f[_0x3ea1ed(0x1e1)]('div',{'className':_0x3ea1ed(0xcb),'children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x1d2),{'className':_0x3ea1ed(0x20e),'children':'2'}),_0x2b6ea7['t'](_0x3ea1ed(0x149))]}),_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xcb),'children':[_0x155e8f[_0x3ea1ed(0x1e2)]('span',{'className':_0x3ea1ed(0x20e),'children':'3'}),_0x2b6ea7['t'](_0x3ea1ed(0xd5))]})]})]})]}),_0x155e8f['jsxs'](_0x3ea1ed(0x206),{'className':'univer-space-y-2','children':[_0x155e8f[_0x3ea1ed(0x1e2)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':'MCP\x20Configuration'}),_0x155e8f[_0x3ea1ed(0x1e2)]('div',{'className':_0x3ea1ed(0xed),'children':_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x17c),{'className':_0x3ea1ed(0x159),'children':JSON[_0x3ea1ed(0x1b0)]({'mcpServers':{'univer':{'url':_0x3ea1ed(0x18a)+(_0x455d3c||'<SESSION_ID>'),'type':_0x3ea1ed(0x99),'headers':{'Authorization':'Bearer\x20'+(_0x4f3360||'<API_KEY>')}}}},null,0x2)})})]}),_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x1a0),'children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2b6ea7['t']('mcpConfig.configParameters')}),_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xe4),'children':[_0x155e8f['jsxs'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x91),'children':[_0x155e8f[_0x3ea1ed(0x1e2)]('div',{'className':_0x3ea1ed(0xd9)}),_0x155e8f[_0x3ea1ed(0x1e1)]('div',{'className':_0x3ea1ed(0x1d9),'children':[_0x155e8f['jsx'](_0x3ea1ed(0x206),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x3ea1ed(0x152)}),_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x2b6ea7['t'](_0x3ea1ed(0x13a))})]})]}),_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x91),'children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x1d9),'children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x153),'children':_0x3ea1ed(0x1d0)}),_0x155e8f['jsx'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x1b4),'children':_0x2b6ea7['t'](_0x3ea1ed(0x190))})]})]})]})]})]})]}),_0x155e8f[_0x3ea1ed(0x1e2)](_0x1881c0[_0x3ea1ed(0xb2)],{'onClick':_0x118fee,'disabled':!_0x218f0a||_0x58eb6c,'className':_0x3ea1ed(0x13f),'children':_0x58eb6c?_0x155e8f['jsxs'](_0x3ea1ed(0x1d2),{'className':_0x3ea1ed(0xcb),'children':[_0x155e8f['jsx'](_0x3ea1ed(0x1d2),{'children':'⟲'}),_0x2b6ea7['t'](_0x3ea1ed(0x173))]}):_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x1d2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x155e8f[_0x3ea1ed(0x1e2)](_0x19d784,{}),_0x2b6ea7['t'](_0x3ea1ed(0x1f1))]})}),_0x155e8f[_0x3ea1ed(0x1e2)]('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0xf4),'children':[_0x155e8f['jsx'](_0x3ea1ed(0x1d2),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x155e8f['jsx'](_0x3ea1ed(0x206),{'className':_0x3ea1ed(0x1c3),'children':_0x3ea1ed(0xaa)}),_0x155e8f[_0x3ea1ed(0x1e1)](_0x3ea1ed(0x206),{'children':['•',_0x2b6ea7['t'](_0x3ea1ed(0x7b))]}),_0x155e8f['jsxs'](_0x3ea1ed(0x206),{'children':['•',_0x2b6ea7['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x41f637=_0x1ca68d(0x9a),_0x400c2f={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x453ee4=Object['getOwnPropertyDescriptor'],_0xd911d6=(_0xda6c94,_0x3f4ba9,_0x50cac9,_0x1c7ae6)=>{const _0x5ec1a3=_0x1ca68d;for(var _0x5b5e3b=_0x1c7ae6>0x1?void 0x0:_0x1c7ae6?_0x453ee4(_0x3f4ba9,_0x50cac9):_0x3f4ba9,_0x17f211=_0xda6c94[_0x5ec1a3(0x1df)]-0x1,_0x194a2f;_0x17f211>=0x0;_0x17f211--)(_0x194a2f=_0xda6c94[_0x17f211])&&(_0x5b5e3b=_0x194a2f(_0x5b5e3b)||_0x5b5e3b);return _0x5b5e3b;},_0x399cad=(_0x17fbd2,_0x3fa432)=>(_0x42c4e6,_0x21598d)=>_0x3fa432(_0x42c4e6,_0x21598d,_0x17fbd2);const _0x2c2d45='mcp.apiKey',_0x4227f5=_0x1ca68d(0x1b3);_0x1736b8[_0x1ca68d(0xc0)]=class extends _0x238051['Disposable']{constructor(_0x32675c,_0x259687,_0x784297,_0x40bc16,_0x52298c,_0x2564ac,_0x2c1c40,_0xc14c39,_0x5f15e7,_0x794a20){const _0x32b8c7=_0x1ca68d;super(),_0x7ffb80(this,_0x32b8c7(0x179),new _0x6fdc27[(_0x32b8c7(0x116))](!0x1)),_0x7ffb80(this,_0x32b8c7(0x1ea),new _0x6fdc27[(_0x32b8c7(0x116))]({})),_0x7ffb80(this,_0x32b8c7(0x1bc),new _0x6fdc27[(_0x32b8c7(0x116))]({})),_0x7ffb80(this,'_apiKey$',new _0x6fdc27[(_0x32b8c7(0x116))]('')),_0x7ffb80(this,'_handleConfigSave',async _0x4780f8=>{const _0x323b1a=_0x32b8c7;var _0x365f13,_0x268e67;this['_loading$'][_0x323b1a(0x89)](!0x0);try{const _0xf60cba=await this[_0x323b1a(0x1ab)](_0x4780f8);if(!_0xf60cba[_0x323b1a(0x16e)]){this['_messageService'][_0x323b1a(0xc6)]({'type':_0x1881c0[_0x323b1a(0x1a4)][_0x323b1a(0x17a)],'content':_0xf60cba[_0x323b1a(0x14f)]||this[_0x323b1a(0x204)]['t'](_0x323b1a(0x10e))});return;}_0x4780f8['apiKey']?await this[_0x323b1a(0x168)][_0x323b1a(0xa8)](_0x2c2d45,_0x4780f8['apiKey'][_0x323b1a(0x100)]()):await this[_0x323b1a(0x168)]['removeItem'](_0x2c2d45),this[_0x323b1a(0x9e)][_0x323b1a(0x89)](((_0x365f13=_0x4780f8[_0x323b1a(0x94)])==null?void 0x0:_0x365f13[_0x323b1a(0x100)]())||''),this['_mcpConnectionController'][_0x323b1a(0x146)]({'Authorization':_0x323b1a(0x158)+((_0x268e67=_0x4780f8['apiKey'])==null?void 0x0:_0x268e67[_0x323b1a(0x100)]())}),this['_messageService'][_0x323b1a(0xc6)]({'type':_0x1881c0['MessageType'][_0x323b1a(0xb5)],'content':this['_localeService']['t'](_0x323b1a(0xe9))}),setTimeout(()=>{const _0x26e48a=_0x323b1a;this[_0x26e48a(0xae)][_0x26e48a(0x9f)](_0x4227f5);},0x320);}catch(_0x2ff428){this[_0x323b1a(0x167)]['error'](_0x323b1a(0x1ba),_0x2ff428),this[_0x323b1a(0x106)][_0x323b1a(0xc6)]({'type':_0x1881c0[_0x323b1a(0x1a4)][_0x323b1a(0x17a)],'content':this[_0x323b1a(0x204)]['t'](_0x323b1a(0x145))});}finally{this[_0x323b1a(0x179)][_0x323b1a(0x89)](!0x1);}}),(this['_injector']=_0x32675c,this['_uiPartsService']=_0x259687,this['_configService']=_0x784297,this[_0x32b8c7(0x168)]=_0x40bc16,this[_0x32b8c7(0xae)]=_0x52298c,this[_0x32b8c7(0x106)]=_0x2564ac,this['_componentManager']=_0x2c1c40,this[_0x32b8c7(0x204)]=_0xc14c39,this[_0x32b8c7(0x167)]=_0x5f15e7,this[_0x32b8c7(0xc2)]=_0x794a20,this[_0x32b8c7(0xbc)](),this[_0x32b8c7(0x1e6)](),this[_0x32b8c7(0x132)]());}[_0x1ca68d(0x7e)](){const _0x334fdc=_0x1ca68d,_0x3c3276=this[_0x334fdc(0x8e)]['getConfig'](_0x41f637);_0x3c3276!=null&&_0x3c3276[_0x334fdc(0xda)]&&this['_dialogService'][_0x334fdc(0x1e4)]({'id':_0x4227f5,'title':{'title':this[_0x334fdc(0x204)]['t'](_0x334fdc(0x165))},'children':{'label':_0x334fdc(0x1e9)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x241c66=_0x334fdc;this[_0x241c66(0xae)][_0x241c66(0x9f)](_0x4227f5);}});}[_0x1ca68d(0x1ad)](){const _0x3f10ec=_0x1ca68d;return this['_mcpCoreConfig$'][_0x3f10ec(0x10d)];}[_0x1ca68d(0x132)](){const _0x268e62=_0x1ca68d;this['disposeWithMe'](this[_0x268e62(0x172)][_0x268e62(0x1ff)](_0x268e62(0x1e9),this[_0x268e62(0x133)]()));}[_0x1ca68d(0x133)](){const _0x545657=_0x1ca68d;return _0x53a004[_0x545657(0x210)](()=>{const _0x2df834=_0x545657;var _0x479001,_0x554cba,_0x175542;return _0x155e8f[_0x2df834(0x1e2)](_0x165917,{'config':this[_0x2df834(0x1bc)][_0x2df834(0x10d)],'mcpCoreConfig':this[_0x2df834(0x1ea)]['value'],'currentApiKey$':this[_0x2df834(0x9e)],'onSave':this[_0x2df834(0x1a1)],'loading':this[_0x2df834(0x179)][_0x2df834(0x10d)],'connectionStatus$':(_0x479001=this[_0x2df834(0xc2)])==null?void 0x0:_0x479001[_0x2df834(0x13c)],'connectionError$':(_0x554cba=this[_0x2df834(0xc2)])==null?void 0x0:_0x554cba[_0x2df834(0x199)],'currentSessionId$':(_0x175542=this[_0x2df834(0xc2)])==null?void 0x0:_0x175542[_0x2df834(0x18c)]});},this[_0x545657(0x147)]);}[_0x1ca68d(0xbc)](){const _0x174610=_0x1ca68d;this[_0x174610(0x1ce)](this[_0x174610(0x8e)][_0x174610(0xbb)](_0x576fee[_0x174610(0x12c)])[_0x174610(0x1fc)](_0x1a9e24=>{const _0x4f2b6e=_0x174610;this['_mcpCoreConfig$'][_0x4f2b6e(0x89)](_0x1a9e24||{});}));const _0x239fa8=this['_configService'][_0x174610(0x151)](_0x576fee[_0x174610(0x12c)]);this[_0x174610(0x1ea)]['next'](_0x239fa8||{}),this[_0x174610(0x1ce)](this[_0x174610(0x8e)][_0x174610(0xbb)](_0x41f637)[_0x174610(0x1fc)](_0x4c3bbf=>{const _0x3c43ca=_0x174610;this[_0x3c43ca(0x1bc)][_0x3c43ca(0x89)](_0x4c3bbf||{});}));const _0x1c973d=this[_0x174610(0x8e)][_0x174610(0x151)](_0x41f637);this['_config$'][_0x174610(0x89)](_0x1c973d||{});}async[_0x1ca68d(0x1e6)](){const _0x5858e6=_0x1ca68d,_0x59c7b0=this['_configService'][_0x5858e6(0x151)](_0x41f637);if(!(_0x59c7b0!=null&&_0x59c7b0[_0x5858e6(0xda)]))return;const _0x4cd1b0=await this[_0x5858e6(0x168)][_0x5858e6(0x1af)](_0x2c2d45);_0x4cd1b0&&(this[_0x5858e6(0xc2)][_0x5858e6(0x146)]({'Authorization':'Bearer\x20'+_0x4cd1b0}),this[_0x5858e6(0x9e)][_0x5858e6(0x89)](_0x4cd1b0));}async[_0x1ca68d(0x1ab)](_0x1bbf08){const _0x359894=_0x1ca68d;if(!_0x1bbf08[_0x359894(0x94)]||_0x1bbf08['apiKey'][_0x359894(0x100)]()[_0x359894(0x1df)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x359894(0x204)]['t'](_0x359894(0x13e))};if(_0x1bbf08[_0x359894(0x94)]['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x359894(0x204)]['t'](_0x359894(0x1a5))};try{const _0x140323=await this[_0x359894(0x147)][_0x359894(0x127)](_0x576fee[_0x359894(0x1dc)])[_0x359894(0xd4)](_0x1bbf08[_0x359894(0x94)][_0x359894(0x100)]());return _0x140323[_0x359894(0x16e)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x140323[_0x359894(0x78)]||this[_0x359894(0x204)]['t'](_0x359894(0x139))};}catch(_0x25c7ba){return console[_0x359894(0x19f)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x25c7ba),{'isValid':!0x0};}}},_0x1736b8[_0x1ca68d(0xc0)]=_0xd911d6([_0x399cad(0x0,_0x238051[_0x1ca68d(0xf7)](_0x238051[_0x1ca68d(0xce)])),_0x399cad(0x1,_0x53a004[_0x1ca68d(0x10b)]),_0x399cad(0x2,_0x238051[_0x1ca68d(0x129)]),_0x399cad(0x3,_0x238051[_0x1ca68d(0x17d)]),_0x399cad(0x4,_0x53a004[_0x1ca68d(0xb9)]),_0x399cad(0x5,_0x53a004[_0x1ca68d(0x1b6)]),_0x399cad(0x6,_0x238051[_0x1ca68d(0xf7)](_0x53a004[_0x1ca68d(0x19b)])),_0x399cad(0x7,_0x238051[_0x1ca68d(0xf7)](_0x238051[_0x1ca68d(0x188)])),_0x399cad(0x8,_0x238051[_0x1ca68d(0x121)]),_0x399cad(0x9,_0x238051[_0x1ca68d(0xf7)](_0x576fee[_0x1ca68d(0x1dc)]))],_0x1736b8[_0x1ca68d(0xc0)]);const _0x1b82e0={'id':_0x1ca68d(0x140),'type':_0x238051[_0x1ca68d(0x107)][_0x1ca68d(0x12e)],'handler':async(_0x3ea3e1,_0x21cda1)=>(_0x3ea3e1[_0x1ca68d(0x127)](_0x1736b8['MCPConfigUIController'])[_0x1ca68d(0x7e)](),!0x0)};function _0x2ec570(_0x12d8f1,_0xdbed12){const _0x243a9f=_0x1ca68d;switch(_0x12d8f1){case _0x576fee[_0x243a9f(0x1f5)][_0x243a9f(0xc7)]:return'mcpStatus.disconnected';case _0x576fee['MCPConnectionStatus'][_0x243a9f(0x143)]:return'mcpStatus.connecting';case _0x576fee[_0x243a9f(0x1f5)][_0x243a9f(0x1fa)]:return _0x243a9f(0x1d5);case _0x576fee[_0x243a9f(0x1f5)][_0x243a9f(0x164)]:switch(_0xdbed12){case _0x576fee['MCPConnectionError'][_0x243a9f(0x1a7)]:return _0x243a9f(0x8c);case _0x576fee['MCPConnectionError'][_0x243a9f(0x15f)]:return _0x243a9f(0xaf);case _0x576fee[_0x243a9f(0x11d)]['NETWORK_ERROR']:return _0x243a9f(0x180);case _0x576fee[_0x243a9f(0x11d)]['MAX_RETRIES_EXCEEDED']:return _0x243a9f(0x171);default:return _0x243a9f(0x118);}case _0x576fee['MCPConnectionStatus'][_0x243a9f(0x123)]:return _0x243a9f(0x211);default:return _0x243a9f(0xfb);}}function _0x210018(_0xcf97f1,_0x41051a,_0x12bc36,_0x2f2a7d=!0x0){const _0x118b11=_0x1ca68d,_0x4146ff=_0x2ec570(_0xcf97f1,_0x41051a),_0x226995=_0x12bc36['t'](_0x4146ff);return _0x2f2a7d?_0xcf97f1===_0x576fee[_0x118b11(0x1f5)][_0x118b11(0xc7)]&&_0x41051a===_0x576fee[_0x118b11(0x11d)]['UNAUTHORIZED']?_0x226995+_0x118b11(0x9d)+_0x12bc36['t'](_0x118b11(0xe8)):_0xcf97f1===_0x576fee[_0x118b11(0x1f5)]['CONNECTED']?''+_0x226995:_0xcf97f1===_0x576fee[_0x118b11(0x1f5)]['DISCONNECTED']||_0xcf97f1===_0x576fee[_0x118b11(0x1f5)]['FAILED']?_0x226995+_0x118b11(0x9d)+_0x12bc36['t'](_0x118b11(0x18b)):_0x226995:_0x226995;}function _0x457b64(_0x5540e2){const _0x2a55f3=_0x1ca68d;switch(_0x5540e2){case _0x576fee['MCPConnectionStatus'][_0x2a55f3(0x1fa)]:return _0x2a55f3(0x208);case _0x576fee[_0x2a55f3(0x1f5)][_0x2a55f3(0x143)]:case _0x576fee[_0x2a55f3(0x1f5)][_0x2a55f3(0x123)]:return _0x2a55f3(0xec);case _0x576fee[_0x2a55f3(0x1f5)][_0x2a55f3(0x164)]:case _0x576fee[_0x2a55f3(0x1f5)][_0x2a55f3(0xc7)]:return _0x2a55f3(0x20b);default:return _0x2a55f3(0x11f);}}function _0x15bcd9(_0x362730){const _0x53de28=_0x1ca68d,{status$:_0x289c88,error$:_0x30f890,onConfigure:_0x45143a,showClickable:_0x446408=!0x0}=_0x362730,_0x16a057=_0x53a004[_0x53de28(0xc3)](_0x289c88,_0x576fee['MCPConnectionStatus'][_0x53de28(0xc7)]),_0x128a4c=_0x53a004['useObservable'](_0x30f890,_0x576fee[_0x53de28(0x11d)][_0x53de28(0x1ca)]),_0x3a2c0d=_0x53a004['useDependency'](_0x238051[_0x53de28(0x188)]),_0x136bb6=_0x16a057===_0x576fee[_0x53de28(0x1f5)][_0x53de28(0x1fa)];_0x16a057===_0x576fee[_0x53de28(0x1f5)][_0x53de28(0x143)]||_0x576fee[_0x53de28(0x1f5)][_0x53de28(0x123)];const _0x2b8aa0=_0x3a2c0d['t'](_0x2ec570(_0x16a057,_0x128a4c)),_0x48e044=_0x210018(_0x16a057,_0x128a4c,_0x3a2c0d,_0x446408),_0x19fe26=_0x457b64(_0x16a057),_0x1649ef=_0x136bb6?_0x155e8f[_0x53de28(0x1e2)](_0x3c71eb,{}):_0x155e8f[_0x53de28(0x1e2)](_0x34338a,{}),_0x5ad8ff=_0x10f825[_0x53de28(0x12a)](()=>{_0x446408&&_0x45143a&&_0x45143a();},[_0x446408,_0x45143a]);function _0x42be86(){const _0x5b6055=_0x53de28;return _0x155e8f['jsxs'](_0x5b6055(0x206),{'className':_0x1881c0[_0x5b6055(0x15d)](_0x5b6055(0x1a9),_0x446408&&_0x45143a&&_0x5b6055(0x81)),'role':_0x5b6055(0x8a),'onClick':_0x446408&&_0x45143a?_0x5ad8ff:void 0x0,'children':[_0x155e8f['jsx']('div',{'className':_0x1881c0[_0x5b6055(0x15d)](_0x5b6055(0x1f4),_0x19fe26),'children':_0x1649ef}),_0x155e8f[_0x5b6055(0x1e2)](_0x5b6055(0x206),{'className':_0x5b6055(0x175),'children':_0x2b8aa0})]});}return _0x155e8f['jsx'](_0x1881c0[_0x53de28(0x10f)],{'title':_0x48e044,'placement':_0x53de28(0x135),'children':_0x42be86()});}var _0x534220=Object['getOwnPropertyDescriptor'],_0x57faf5=(_0x561b70,_0x421e38,_0x5f20c9,_0x3d5a15)=>{const _0x10ca49=_0x1ca68d;for(var _0x277b72=_0x3d5a15>0x1?void 0x0:_0x3d5a15?_0x534220(_0x421e38,_0x5f20c9):_0x421e38,_0x2faa35=_0x561b70[_0x10ca49(0x1df)]-0x1,_0x14132a;_0x2faa35>=0x0;_0x2faa35--)(_0x14132a=_0x561b70[_0x2faa35])&&(_0x277b72=_0x14132a(_0x277b72)||_0x277b72);return _0x277b72;},_0x11c741=(_0x17148c,_0x5b4fd0)=>(_0x1515c5,_0x51d4ab)=>_0x5b4fd0(_0x1515c5,_0x51d4ab,_0x17148c);_0x1736b8[_0x1ca68d(0xcf)]=class extends _0x238051['Disposable']{constructor(_0x2ba549,_0x4c8e48,_0x7150a6,_0x4252f4){const _0x45ed75=_0x1ca68d;super(),this['_injector']=_0x2ba549,this['_connectionController']=_0x4c8e48,this['_uiPartsService']=_0x7150a6,this[_0x45ed75(0x8e)]=_0x4252f4,this['_initAutoConnect'](),this['_initStatusComponent']();}['_initAutoConnect'](){const _0x3acbb9=_0x1ca68d,_0x365ecb=this['_configService'][_0x3acbb9(0x151)](_0x41f637);_0x365ecb!=null&&_0x365ecb['showDeveloperTools']&&(this['_connectionController'][_0x3acbb9(0x1d7)]=!0x1);}[_0x1ca68d(0xf0)](){const _0x24a642=_0x1ca68d,_0x165195=this[_0x24a642(0x8e)]['getConfig'](_0x41f637);(_0x165195==null?void 0x0:_0x165195[_0x24a642(0x1d1)])!==!0x1&&this[_0x24a642(0x1ce)](this[_0x24a642(0x1f0)][_0x24a642(0x16f)](_0x53a004[_0x24a642(0xb4)][_0x24a642(0x144)],()=>{const _0x3afc88=_0x24a642;var _0x26ab56;return _0x53a004[_0x3afc88(0x210)](_0x39b172({'status$':this['_connectionController']['connectionStatus$'],'error$':this[_0x3afc88(0x1fb)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x26ab56=_0x165195==null?void 0x0:_0x165195[_0x3afc88(0xda)])!=null?_0x26ab56:!0x1}),this[_0x3afc88(0x147)]);}));}[_0x1ca68d(0x11e)](){const _0x116bb7=_0x1ca68d;this[_0x116bb7(0x147)]['get'](_0x1736b8[_0x116bb7(0xc0)])[_0x116bb7(0x7e)]();}},_0x1736b8[_0x1ca68d(0xcf)]=_0x57faf5([_0x11c741(0x0,_0x238051[_0x1ca68d(0xf7)](_0x238051[_0x1ca68d(0xce)])),_0x11c741(0x1,_0x238051[_0x1ca68d(0xf7)](_0x576fee[_0x1ca68d(0x1dc)])),_0x11c741(0x2,_0x53a004[_0x1ca68d(0x10b)]),_0x11c741(0x3,_0x238051[_0x1ca68d(0x129)])],_0x1736b8[_0x1ca68d(0xcf)]);function _0x39b172(_0x2bb40d){const {status$:_0x296e8f,error$:_0xcf0c64,onConfigure:_0xeb1f3e,showClickable:_0xe5b13a}=_0x2bb40d;return function(){const _0x5812b8=_0x3139;return _0x155e8f[_0x5812b8(0x1e2)](_0x15bcd9,{'status$':_0x296e8f,'error$':_0xcf0c64,'onConfigure':_0xeb1f3e,'showClickable':_0xe5b13a});};}function _0x23b8c4(_0x4b5f59){const _0x53c7aa=_0x1ca68d;return{'id':_0x1b82e0['id'],'type':_0x53a004['MenuItemType'][_0x53c7aa(0xa0)],'icon':_0x53c7aa(0x1e7),'title':'mcpConfig.title','tooltip':_0x53c7aa(0x165)};}const _0x5562d4={[_0x53a004[_0x1ca68d(0x109)]['OTHERS']]:{[_0x1b82e0['id']]:{'order':0xa,'menuItemFactory':_0x23b8c4}}};var _0x43e2c5=Object['getOwnPropertyDescriptor'],_0x4efeed=(_0x205da6,_0x1c02ff,_0x73570a,_0x3987c1)=>{const _0x2efeb3=_0x1ca68d;for(var _0x3d5150=_0x3987c1>0x1?void 0x0:_0x3987c1?_0x43e2c5(_0x1c02ff,_0x73570a):_0x1c02ff,_0x3a242d=_0x205da6[_0x2efeb3(0x1df)]-0x1,_0x3349e0;_0x3a242d>=0x0;_0x3a242d--)(_0x3349e0=_0x205da6[_0x3a242d])&&(_0x3d5150=_0x3349e0(_0x3d5150)||_0x3d5150);return _0x3d5150;},_0xc474c8=(_0x93df28,_0x30a556)=>(_0x41c813,_0x2fe2f6)=>_0x30a556(_0x41c813,_0x2fe2f6,_0x93df28);_0x1736b8[_0x1ca68d(0xdb)]=class extends _0x238051[_0x1ca68d(0x198)]{constructor(_0x5efc90,_0x58dfce){const _0x3434f7=_0x1ca68d;super(),this[_0x3434f7(0x181)]=_0x5efc90,this[_0x3434f7(0x86)]=_0x58dfce,this[_0x3434f7(0x1a2)](),this[_0x3434f7(0xa5)]();}['_initializeCommands'](){const _0x1cf545=_0x1ca68d;[_0x1b82e0][_0x1cf545(0xe6)](_0x46b8d8=>{const _0x38639b=_0x1cf545;this[_0x38639b(0x1ce)](this[_0x38639b(0x181)][_0x38639b(0x87)](_0x46b8d8));});}[_0x1ca68d(0xa5)](){const _0x3f7e0e=_0x1ca68d;this[_0x3f7e0e(0x86)][_0x3f7e0e(0x201)](_0x5562d4);}},_0x1736b8['MCPUIMenuController']=_0x4efeed([_0xc474c8(0x0,_0x238051[_0x1ca68d(0x7c)]),_0xc474c8(0x1,_0x53a004[_0x1ca68d(0x166)])],_0x1736b8[_0x1ca68d(0xdb)]);const _0x49b5f0={'mcpStatus':{'disconnected':_0x1ca68d(0xea),'connecting':_0x1ca68d(0x17b),'connected':_0x1ca68d(0x1cb),'failed':_0x1ca68d(0x1d8),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1ca68d(0x11a),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1ca68d(0x183),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1ca68d(0x13d)},'mcpConfig':{'title':_0x1ca68d(0x9c),'description':_0x1ca68d(0xef),'apiKey':_0x1ca68d(0xdf),'apiKeyPlaceholder':_0x1ca68d(0x1f2),'apiKeyHint':_0x1ca68d(0x18e),'enableAuth':_0x1ca68d(0xe3),'enableAuthHint':_0x1ca68d(0xcd),'connectionInfo':_0x1ca68d(0x186),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x1ca68d(0xb6),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x1ca68d(0xbf),'configStep3':_0x1ca68d(0xb7),'sessionId':'Session\x20ID','sessionIdDescription':_0x1ca68d(0x1b1),'authorizationDescription':_0x1ca68d(0x110),'configParameters':_0x1ca68d(0x18f),'maxRetries':_0x1ca68d(0xd1),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x1ca68d(0x1f8),'note2':_0x1ca68d(0x11b),'configSaved':_0x1ca68d(0x1e0),'configError':_0x1ca68d(0x7d),'apiApplyInfo':{'title':_0x1ca68d(0x1c6),'description':_0x1ca68d(0xf2),'univerAiLabel':_0x1ca68d(0x7a),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x1ca68d(0x150),'apiKeyTooShort':_0x1ca68d(0x203),'invalidConfig':_0x1ca68d(0x1a6),'invalidApiKey':_0x1ca68d(0x15c)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x1ca68d(0x157),'connected':_0x1ca68d(0xc4),'failed':_0x1ca68d(0x18d),'retrying':_0x1ca68d(0x111)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1ca68d(0xeb),'networkError':_0x1ca68d(0x205),'maxRetriesExceeded':_0x1ca68d(0x104)}}},_0x23a9bc={'mcpStatus':{'disconnected':_0x1ca68d(0x14d),'connecting':_0x1ca68d(0x1ed),'connected':_0x1ca68d(0x137),'failed':_0x1ca68d(0x125),'retrying':'MCP\x20重连中...','unknown':_0x1ca68d(0x20a),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x1ca68d(0x8d),'networkError':_0x1ca68d(0xee),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x1ca68d(0x1cc),'clickToConfigure':_0x1ca68d(0x124)},'mcpConfig':{'title':'MCP\x20配置','description':_0x1ca68d(0xe2),'apiKey':_0x1ca68d(0x16b),'apiKeyPlaceholder':_0x1ca68d(0x1da),'apiKeyHint':_0x1ca68d(0x112),'enableAuth':'启用身份验证','enableAuthHint':_0x1ca68d(0x170),'connectionInfo':_0x1ca68d(0x12b),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':'配置步骤:','configStep1':_0x1ca68d(0x16d),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x1ca68d(0x1d4),'sessionId':_0x1ca68d(0x1aa),'sessionIdDescription':_0x1ca68d(0xa9),'authorizationDescription':_0x1ca68d(0x1c2),'configParameters':_0x1ca68d(0xc9),'maxRetries':'最大重试次数','save':_0x1ca68d(0xdc),'saving':'保存中...','note1':_0x1ca68d(0x1d3),'note2':_0x1ca68d(0x19a),'configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':_0x1ca68d(0x114),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x1ca68d(0x11c),'getStarted':_0x1ca68d(0x162)},'validation':{'apiKeyRequired':_0x1ca68d(0x1fe),'apiKeyTooShort':_0x1ca68d(0x202),'invalidConfig':_0x1ca68d(0x80),'invalidApiKey':_0x1ca68d(0x1c4)},'connectionStatus':{'disconnected':'未连接','connecting':_0x1ca68d(0x1b8),'connected':_0x1ca68d(0xcc),'failed':_0x1ca68d(0x177),'retrying':_0x1ca68d(0xfd)},'connectionError':{'unauthorized':_0x1ca68d(0x1eb),'sessionOccupied':_0x1ca68d(0xac),'networkError':_0x1ca68d(0x1e3),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x4e534c=Object[_0x1ca68d(0x103)],_0x3c73b4=Object[_0x1ca68d(0x79)],_0x360f9e=(_0x2cf563,_0x4907e8,_0x133934)=>_0x4907e8 in _0x2cf563?_0x4e534c(_0x2cf563,_0x4907e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x133934}):_0x2cf563[_0x4907e8]=_0x133934,_0x289209=(_0x46e03a,_0x100338,_0x36ee11,_0xf80780)=>{for(var _0x19b9b4=_0xf80780>0x1?void 0x0:_0xf80780?_0x3c73b4(_0x100338,_0x36ee11):_0x100338,_0x5affa0=_0x46e03a['length']-0x1,_0x15a581;_0x5affa0>=0x0;_0x5affa0--)(_0x15a581=_0x46e03a[_0x5affa0])&&(_0x19b9b4=_0x15a581(_0x19b9b4)||_0x19b9b4);return _0x19b9b4;},_0x1e9a3a=(_0x31c532,_0x443a4c)=>(_0x109702,_0x7bcc8e)=>_0x443a4c(_0x109702,_0x7bcc8e,_0x31c532),_0x47b0ce=(_0x4bed66,_0x16e2af,_0x4f0d75)=>_0x360f9e(_0x4bed66,_0x16e2af+'',_0x4f0d75);_0x1736b8[_0x1ca68d(0x169)]=class extends _0x238051[_0x1ca68d(0x15b)]{constructor(_0x3a4937=_0x400c2f,_0x4bdcc7,_0x23ab75,_0x45e078,_0x347851,_0x1ec6d7){const _0x5899e7=_0x1ca68d;super(),this[_0x5899e7(0xb3)]=_0x3a4937,this[_0x5899e7(0x147)]=_0x4bdcc7,this['_configService']=_0x23ab75,this[_0x5899e7(0x1f0)]=_0x45e078,this[_0x5899e7(0x168)]=_0x347851,this[_0x5899e7(0x204)]=_0x1ec6d7;const {..._0x5884cb}=_0x238051['merge']({},_0x400c2f,this['_config']);this[_0x5899e7(0x8e)][_0x5899e7(0x138)](_0x41f637,_0x5884cb);}async['onStarting'](){const _0x4cea61=_0x1ca68d,_0x32c78b=[[_0x1736b8[_0x4cea61(0xcf)]],[_0x1736b8[_0x4cea61(0xc0)]],[_0x1736b8['MCPUIMenuController']]];this[_0x4cea61(0x147)][_0x4cea61(0xad)](_0x259d1e[_0x4cea61(0xfa)])||_0x32c78b[_0x4cea61(0x90)]([_0x259d1e[_0x4cea61(0xfa)],{'useClass':_0x259d1e[_0x4cea61(0x12f)]}]),_0x32c78b[_0x4cea61(0xe6)](_0x13d6d5=>this['_injector']['add'](_0x13d6d5)),this[_0x4cea61(0x147)][_0x4cea61(0x127)](_0x1736b8[_0x4cea61(0xcf)]),this[_0x4cea61(0x147)][_0x4cea61(0x127)](_0x1736b8[_0x4cea61(0xc0)]),this[_0x4cea61(0x147)][_0x4cea61(0x127)](_0x1736b8['MCPUIMenuController']);}},_0x47b0ce(_0x1736b8[_0x1ca68d(0x169)],_0x1ca68d(0x212),'MCP_UI_PLUGIN'),_0x1736b8[_0x1ca68d(0x169)]=_0x289209([_0x238051['DependentOn'](_0x576fee['UniverMCPPlugin']),_0x1e9a3a(0x1,_0x238051['Inject'](_0x238051['Injector'])),_0x1e9a3a(0x2,_0x238051[_0x1ca68d(0x129)]),_0x1e9a3a(0x3,_0x53a004['IUIPartsService']),_0x1e9a3a(0x4,_0x238051[_0x1ca68d(0x17d)]),_0x1e9a3a(0x5,_0x238051['Inject'](_0x238051[_0x1ca68d(0x188)]))],_0x1736b8['UniverMCPUIPlugin']),_0x1736b8['MCPConfigPanel']=_0x165917,_0x1736b8[_0x1ca68d(0x1db)]=_0x15bcd9,_0x1736b8[_0x1ca68d(0xdd)]=_0x1b82e0,_0x1736b8[_0x1ca68d(0x1ae)]=_0x49b5f0,_0x1736b8['zhCN']=_0x23a9bc,Object['defineProperty'](_0x1736b8,Symbol[_0x1ca68d(0x85)],{'value':'Module'});}));function _0x3139(_0x2ade27,_0x1940d3){_0x2ade27=_0x2ade27-0x78;const _0x2d8da5=_0x2d8d();let _0x3139e5=_0x2d8da5[_0x2ade27];return _0x3139e5;}function _0x2d8d(){const _0x16591e=['MessageType','mcpConfig.validation.apiKeyTooShort','Invalid\x20configuration','UNAUTHORIZED','off','univer-flex\x20univer-items-center','会话ID','_validateConfig','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','getCurrentConfig','enUS','getItem','stringify','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','mcp-config-dialog','univer-text-xs\x20univer-text-gray-500','substring','IMessageService','idSuffix','连接中...','string','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','OffLineIcon','_config$','help-icon','forwardRef','createElement','@univerjs/ui','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-font-medium','API\x20密钥无效,请检查密钥是否正确','univer-bg-green-500','What\x20is\x20API\x20Key?','https://console.univer.ai','UniverUi','off-line-icon_clip0_910_343','NONE','MCP\x20Connected','点击连接\x20MCP','path','disposeWithMe','univer-text-sm\x20univer-text-gray-500','Authorization:','showStatus','span','配置更改将立即生效','重启您的\x20MCP\x20客户端以使配置生效','mcpStatus.connected','attrs','enableAutoConnect','MCP\x20Connection\x20Failed','univer-min-w-0\x20univer-flex-1','请输入您的\x20API\x20密钥','MCPStatusDisplay','MCPConnectionController','univer-text-gray-400','symbol','length','Configuration\x20saved\x20successfully','jsxs','jsx','网络连接错误,请检查您的网络连接','open','mcpConfig.connectionInfo','_loadStoredApiKey','MenuIcon','univer-flex\x20univer-items-center\x20univer-gap-3','MCPConfigPanel','_mcpCoreConfig$','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.connectionError.unauthorized','MCP\x20连接中...','mcpConfig.apiKey','displayName','_uiPartsService','mcpConfig.save','Enter\x20your\x20API\x20key','0\x200\x2017\x2016','univer-mr-2\x20univer-flex\x20univer-text-xl','MCPConnectionStatus','useRef','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','current','CONNECTED','_connectionController','subscribe','univer-bg-blue-500','API\x20密钥不能为空','register','mcpConfig.apiKeyPlaceholder','mergeMenu','API\x20密钥长度至少需要\x2010\x20位','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','_localeService','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','div','mcpConfig.configStep1','univer-text-green-500','univer-text-blue-600','MCP\x20状态未知','univer-text-red-500','UniverNetwork','url(#on-line-icon_clip0_910_349)','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','mcpConfig.apiApplyInfo.description','connectInjector','mcpStatus.retrying','pluginName','error','getOwnPropertyDescriptor','Univer\x20AI\x20Console','mcpConfig.note1','ICommandService','Failed\x20to\x20save\x20configuration','showConfigPanel','2dQxNPu','配置无效','\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','univer.plus','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','toStringTag','_menuManagerService','registerCommand','exports','next','button','MAX_RETRIES_EXCEEDED','mcpStatus.unauthorized','MCP:\x20会话\x20ID\x20已被占用','_configService','clipPath','push','univer-flex\x20univer-items-start\x20univer-gap-3','white','414890DUfkLL','apiKey','react/jsx-runtime','mcpConfig.connectionStatus.retrying','use','0\x200\x2016\x2016','http','mcp-ui.config','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','MCP\x20Configuration','\x20-\x20','_apiKey$','close','BUTTON','colorChannel1','http://www.w3.org/2000/svg','round','univer-text-sm\x20univer-font-medium','_initializeMenus','react','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','setItem','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Configuration\x20Notes:','8xcYOoK','会话\x20ID\x20已被占用,请稍后再试','has','_dialogService','mcpStatus.sessionOccupied','mcpConfig.connectionStatus.connected','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Button','_config','BuiltInUIPart','Success','Configuration\x20Steps:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-bg-gray-500','IDialogService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','subscribeConfigValue$','_initConfigSync','3785835KrBBEa','mcpConfig.configStepTitle','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCPConfigUIController','univer-flex\x20univer-items-start\x20univer-gap-2','_mcpConnectionController','useObservable','Connected','mcpConfig.apiKeyHint','show','DISCONNECTED','@univerjs/network','配置参数:','univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-gap-2','已连接','Enable\x20authentication\x20for\x20secure\x20connections','Injector','MCPConnectionUIController','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Max\x20Retries','on-line-icon','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','validateApiKey','mcpConfig.configStep3','https://console.univer.plus','assign','none','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','showDeveloperTools','MCPUIMenuController','保存配置','OpenMCPConfigPanelCommand','mcpConfig.apiApplyInfo.title','API\x20Key','useDependency','_blank','配置\x20MCP\x20使用\x20AI\x20操作电子表格','Enable\x20Authentication','univer-space-y-2','M0\x200H16V16H0z','forEach','object','mcpStatus.clickToConfigure','mcpConfig.configSaved','MCP\x20Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-text-yellow-500','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCP:\x20网络错误','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','_initStatusComponent','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','tag','univer-flex\x20univer-gap-3','mcpConfig.connectionError.networkError','univer-space-y-4','Inject','function','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','ISocketService','mcpStatus.unknown','toString','重连中...','defs','currentColor','trim','24539053zCAvZC','univer-shrink-0\x20univer-text-red-500','defineProperty','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','includes','_messageService','CommandType','defIds','RibbonStartGroup','6441522qUWjzA','IUIPartsService','map','value','mcpConfig.validation.invalidConfig','Tooltip','API\x20key\x20with\x20Bearer\x20prefix.','Retrying...','您的\x20API\x20密钥将在此浏览器中本地存储','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','什么是\x20API\x20密钥?','univer-space-y-5','BehaviorSubject','mcpConfig.apiApplyInfo.univerAiLabel','mcpStatus.failed','url(#$1','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Univer\x20AI\x20控制台','MCPConnectionError','_handleConfigure','univer-text-gray-500','mcpConfig.connectionError.sessionOccupied','ILogService','evenodd','RETRYING','点击配置\x20MCP','MCP\x20连接失败','mcpConfig.connectionError.maxRetriesExceeded','get','children','IConfigService','useCallback','MCP\x20客户端配置','MCP_PLUGIN_CONFIG_KEY','fill','COMMAND','WebSocketService','on-line-icon_clip0_910_349','@univerjs/design','_registerComponent','_createConfigPanelComponent','298359sIofjd','bottom','univer.ai','MCP\x20已连接','setConfig','mcpConfig.validation.invalidApiKey','mcpConfig.sessionIdDescription','mcpConfig.apiApplyInfo.getStarted','connectionStatus$','Click\x20to\x20configure\x20MCP','mcpConfig.validation.apiKeyRequired','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','mcp-ui.command.openConfigPanel','7rFohtC','xlink:href','CONNECTING','HEADER_MENU','mcpConfig.configError','__setCustomHeaders','_injector','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','mcpConfig.configStep2','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','label','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','MCP\x20已断开','replace','errorMessage','API\x20key\x20is\x20required','getConfig','univer_session_id:','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','translate(.97)','166184Zwrahp','check-mark-icon','Connecting...','Bearer\x20','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','rxjs','Plugin','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','clsx','7714976Rxjado','SESSION_ID_OCCUPIED','Input','text','几秒钟内获取您的\x20API\x20密钥','mcpConfig.connectionStatus.disconnected','FAILED','mcpConfig.title','IMenuManagerService','_logService','_localStorageService','UniverMCPUIPlugin','550arHdHr','API\x20密钥','univer-size-2\x20univer-rounded-full','复制以下\x20JSON\x20配置','isValid','registerComponent','启用身份验证以获得安全连接','mcpStatus.maxRetriesExceeded','_componentManager','mcpConfig.saving','univer-text-white','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','连接失败','mcpConfig.configInstructions','_loading$','Error','MCP\x20Connecting...','pre','ILocalStorageService','univerjs-icon\x20univerjs-icon-','UniverDesign','mcpStatus.networkError','_commandService','1em','MCP:\x20Max\x20Retries\x20Exceeded','UniverProMcpUi','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCP\x20Client\x20Configuration','React','LocaleService','mcpServerUrl','https://mcp.univer.ai/mcp/?univer_session_id=','mcpStatus.clickToConnect','sessionId$','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Parameters:','mcpConfig.authorizationDescription','useState','univer-bg-red-500','mcpConfig.description','entries','CheckMarkIcon','mcpConfig.connectionStatus.connecting','svg','Disposable','connectionError$','您的\x20API\x20密钥安全存储在本地存储中','ComponentManager','NETWORK_ERROR','off-line-icon','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','warn','univer-space-y-3','_handleConfigSave','_initializeCommands','HelpIcon'];_0x2d8d=function(){return _0x16591e;};return _0x2d8d();}
1
+ function _0x6e26(_0x2934a1,_0x171cea){_0x2934a1=_0x2934a1-0x168;const _0x4c91a5=_0x4c91();let _0x6e2620=_0x4c91a5[_0x2934a1];return _0x6e2620;}(function(_0x4cc575,_0x1002ac){const _0xc1f9f5=_0x6e26,_0x6b61d3=_0x4cc575();while(!![]){try{const _0x5713ce=-parseInt(_0xc1f9f5(0x190))/0x1*(parseInt(_0xc1f9f5(0x1c2))/0x2)+-parseInt(_0xc1f9f5(0x273))/0x3+-parseInt(_0xc1f9f5(0x241))/0x4*(-parseInt(_0xc1f9f5(0x28d))/0x5)+-parseInt(_0xc1f9f5(0x2bb))/0x6+parseInt(_0xc1f9f5(0x16b))/0x7*(parseInt(_0xc1f9f5(0x1b2))/0x8)+parseInt(_0xc1f9f5(0x217))/0x9+-parseInt(_0xc1f9f5(0x2d1))/0xa;if(_0x5713ce===_0x1002ac)break;else _0x6b61d3['push'](_0x6b61d3['shift']());}catch(_0x2c5a55){_0x6b61d3['push'](_0x6b61d3['shift']());}}}(_0x4c91,0xc85b3),function(_0x4d4872,_0x1c5a04){const _0x5ddc6d=_0x6e26;typeof exports=='object'&&typeof module<'u'?_0x1c5a04(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==_0x5ddc6d(0x2b0)&&define[_0x5ddc6d(0x274)]?define([_0x5ddc6d(0x1ef),'@univerjs/core',_0x5ddc6d(0x22f),'@univerjs-pro/mcp',_0x5ddc6d(0x249),_0x5ddc6d(0x1b4),_0x5ddc6d(0x1db),_0x5ddc6d(0x2cf),_0x5ddc6d(0x207)],_0x1c5a04):(_0x4d4872=typeof globalThis<'u'?globalThis:_0x4d4872||self,_0x1c5a04(_0x4d4872[_0x5ddc6d(0x1d4)]={},_0x4d4872[_0x5ddc6d(0x22e)],_0x4d4872['React'],_0x4d4872[_0x5ddc6d(0x19b)],_0x4d4872[_0x5ddc6d(0x1d3)],_0x4d4872[_0x5ddc6d(0x2db)],_0x4d4872[_0x5ddc6d(0x1db)],_0x4d4872[_0x5ddc6d(0x1c9)],_0x4d4872['UniverNetwork']));}(this,function(_0x2a4844,_0x5acd48,_0x512aec,_0x8d8975,_0x5b0a1e,_0xcac73,_0x6ee9cc,_0x1e6b5a,_0x3f4d08){'use strict';const _0x5b7a7b=_0x6e26;var _0x57e1a1=Object[_0x5b7a7b(0x2d2)],_0x27fb81=(_0x260173,_0x35cb12,_0x1e1f02)=>_0x35cb12 in _0x260173?_0x57e1a1(_0x260173,_0x35cb12,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e1f02}):_0x260173[_0x35cb12]=_0x1e1f02,_0x2d9c81=(_0x477b40,_0x4c42db,_0x53da80)=>_0x27fb81(_0x477b40,typeof _0x4c42db!=_0x5b7a7b(0x284)?_0x4c42db+'':_0x4c42db,_0x53da80);function _0x4f9ca1({ref:_0x242d25,..._0x471e52}){const _0x140b60=_0x5b7a7b,{icon:_0x1a4794,id:_0x2b87db,className:_0x4d71e6,extend:_0x516021,..._0x586b73}=_0x471e52,_0x503419=('univerjs-icon\x20univerjs-icon-'+_0x2b87db+'\x20'+(_0x4d71e6||''))[_0x140b60(0x1c7)](),_0x3374b9=_0x1e6b5a['useRef']('_'+_0x4ce5ec());return _0x31e7ce(_0x1a4794,''+_0x2b87db,{'defIds':_0x1a4794['defIds'],'idSuffix':_0x3374b9[_0x140b60(0x27c)]},{'ref':_0x242d25,'className':_0x503419,..._0x586b73},_0x516021);}function _0x31e7ce(_0x1b51f6,_0x36df2e,_0x755ba8,_0x38f41b,_0x476de6){const _0xb1633f=_0x5b7a7b;return _0x1e6b5a['createElement'](_0x1b51f6[_0xb1633f(0x17a)],{'key':_0x36df2e,..._0x4a9580(_0x1b51f6,_0x755ba8,_0x476de6),..._0x38f41b},(_0x25f5bb(_0x1b51f6,_0x755ba8)[_0xb1633f(0x189)]||[])['map']((_0x293277,_0x209996)=>_0x31e7ce(_0x293277,_0x36df2e+'-'+_0x1b51f6[_0xb1633f(0x17a)]+'-'+_0x209996,_0x755ba8,void 0x0,_0x476de6)));}function _0x4a9580(_0x3998b8,_0x3a66be,_0x3dea0f){const _0x3aabed=_0x5b7a7b,_0x15c350={..._0x3998b8[_0x3aabed(0x173)]};_0x3dea0f!=null&&_0x3dea0f[_0x3aabed(0x170)]&&_0x15c350[_0x3aabed(0x1a0)]===_0x3aabed(0x170)&&(_0x15c350[_0x3aabed(0x1a0)]=_0x3dea0f['colorChannel1']),_0x3998b8[_0x3aabed(0x17a)]===_0x3aabed(0x1a9)&&_0x15c350['id']&&(_0x15c350['id']=_0x15c350['id']+_0x3a66be[_0x3aabed(0x1b3)]),Object[_0x3aabed(0x182)](_0x15c350)['forEach'](([_0x595c1c,_0x39c661])=>{const _0x5d26bb=_0x3aabed;_0x595c1c===_0x5d26bb(0x1a9)&&typeof _0x39c661=='string'&&(_0x15c350[_0x595c1c]=_0x39c661['replace'](/url\(#(.*)\)/,_0x5d26bb(0x2af)+_0x3a66be[_0x5d26bb(0x1b3)]+')'));});const {defIds:_0x330401}=_0x3a66be;return!_0x330401||_0x330401[_0x3aabed(0x253)]===0x0||(_0x3998b8[_0x3aabed(0x17a)]===_0x3aabed(0x23b)&&_0x15c350['xlink:href']&&(_0x15c350[_0x3aabed(0x174)]=_0x15c350[_0x3aabed(0x174)]+_0x3a66be[_0x3aabed(0x1b3)]),Object[_0x3aabed(0x182)](_0x15c350)['forEach'](([_0x4569ad,_0x3b509d])=>{const _0x30f347=_0x3aabed;typeof _0x3b509d=='string'&&(_0x15c350[_0x4569ad]=_0x3b509d[_0x30f347(0x204)](/url\(#(.*)\)/,'url(#$1'+_0x3a66be[_0x30f347(0x1b3)]+')'));})),_0x15c350;}function _0x25f5bb(_0x179cfb,_0xe57e32){const _0x34c11a=_0x5b7a7b;var _0x1f5ed9;const {defIds:_0x4ca4de}=_0xe57e32;return!_0x4ca4de||_0x4ca4de[_0x34c11a(0x253)]===0x0?_0x179cfb:_0x179cfb['tag']===_0x34c11a(0x1ad)&&((_0x1f5ed9=_0x179cfb[_0x34c11a(0x189)])!=null&&_0x1f5ed9[_0x34c11a(0x253)])?{..._0x179cfb,'children':_0x179cfb[_0x34c11a(0x189)]['map'](_0x481cc0=>typeof _0x481cc0[_0x34c11a(0x173)]['id']==_0x34c11a(0x200)&&_0x4ca4de&&_0x4ca4de['includes'](_0x481cc0[_0x34c11a(0x173)]['id'])?{..._0x481cc0,'attrs':{..._0x481cc0[_0x34c11a(0x173)],'id':_0x481cc0[_0x34c11a(0x173)]['id']+_0xe57e32[_0x34c11a(0x1b3)]}}:_0x481cc0)}:_0x179cfb;}function _0x4ce5ec(){const _0x185487=_0x5b7a7b;return Math[_0x185487(0x296)]()[_0x185487(0x2df)](0x24)[_0x185487(0x29a)](0x2,0x8);}_0x4f9ca1[_0x5b7a7b(0x29c)]=_0x5b7a7b(0x1b1);const _0x5516b2={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b7a7b(0x21b),'viewBox':'0\x200\x2016\x2016','width':_0x5b7a7b(0x21d),'height':_0x5b7a7b(0x21d)},'children':[{'tag':_0x5b7a7b(0x205),'attrs':{'fill':_0x5b7a7b(0x18f),'d':_0x5b7a7b(0x1fb),'fillRule':_0x5b7a7b(0x203),'clipRule':_0x5b7a7b(0x203)}}]},_0x3e45de=_0x1e6b5a['forwardRef'](function(_0x1f9567,_0x3e2014){const _0x477267=_0x5b7a7b;return _0x1e6b5a[_0x477267(0x2b8)](_0x4f9ca1,Object[_0x477267(0x2ed)]({},_0x1f9567,{'id':_0x477267(0x293),'ref':_0x3e2014,'icon':_0x5516b2}));});_0x3e45de['displayName']=_0x5b7a7b(0x1d1);const _0xc20479={'tag':_0x5b7a7b(0x298),'attrs':{'xmlns':_0x5b7a7b(0x272),'fill':_0x5b7a7b(0x21b),'viewBox':'0\x200\x2016\x2016','width':_0x5b7a7b(0x21d),'height':_0x5b7a7b(0x21d)},'children':[{'tag':_0x5b7a7b(0x205),'attrs':{'fill':_0x5b7a7b(0x18f),'d':_0x5b7a7b(0x29b)}}]},_0xfcbe9b=_0x1e6b5a[_0x5b7a7b(0x1a3)](function(_0x252e1e,_0x41b0fe){const _0x157475=_0x5b7a7b;return _0x1e6b5a[_0x157475(0x2b8)](_0x4f9ca1,Object[_0x157475(0x2ed)]({},_0x252e1e,{'id':_0x157475(0x28b),'ref':_0x41b0fe,'icon':_0xc20479}));});_0xfcbe9b['displayName']='CloseIcon';const _0x4f7c8b={'tag':_0x5b7a7b(0x298),'attrs':{'xmlns':_0x5b7a7b(0x272),'fill':_0x5b7a7b(0x21b),'viewBox':_0x5b7a7b(0x22b),'width':_0x5b7a7b(0x21d),'height':_0x5b7a7b(0x21d)},'children':[{'tag':_0x5b7a7b(0x205),'attrs':{'fill':_0x5b7a7b(0x18f),'d':_0x5b7a7b(0x226)}},{'tag':_0x5b7a7b(0x205),'attrs':{'fill':_0x5b7a7b(0x18f),'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':_0x5b7a7b(0x205),'attrs':{'fill':_0x5b7a7b(0x18f),'d':_0x5b7a7b(0x2a9),'fillRule':'evenodd','clipRule':_0x5b7a7b(0x203)}}]},_0x5a2504=_0x1e6b5a[_0x5b7a7b(0x1a3)](function(_0x5ef8a4,_0x3425fd){const _0x5fd8ca=_0x5b7a7b;return _0x1e6b5a['createElement'](_0x4f9ca1,Object[_0x5fd8ca(0x2ed)]({},_0x5ef8a4,{'id':_0x5fd8ca(0x1f4),'ref':_0x3425fd,'icon':_0x4f7c8b}));});_0x5a2504['displayName']=_0x5b7a7b(0x2a0);const _0x392970={'tag':_0x5b7a7b(0x298),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b7a7b(0x21b),'viewBox':_0x5b7a7b(0x22b),'width':_0x5b7a7b(0x21d),'height':_0x5b7a7b(0x21d)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b7a7b(0x1ac)},'children':[{'tag':_0x5b7a7b(0x205),'attrs':{'stroke':'currentColor','d':_0x5b7a7b(0x234),'strokeLinecap':_0x5b7a7b(0x2ee),'strokeLinejoin':_0x5b7a7b(0x2ee),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5b7a7b(0x1ce),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x5b7a7b(0x205),'attrs':{'fill':_0x5b7a7b(0x1cd),'d':_0x5b7a7b(0x18a)}}]}]}],'defIds':[_0x5b7a7b(0x2a1)]},_0x56f462=_0x1e6b5a[_0x5b7a7b(0x1a3)](function(_0x3462f9,_0x32c446){const _0x4c12a3=_0x5b7a7b;return _0x1e6b5a[_0x4c12a3(0x2b8)](_0x4f9ca1,Object[_0x4c12a3(0x2ed)]({},_0x3462f9,{'id':_0x4c12a3(0x2b4),'ref':_0x32c446,'icon':_0x392970}));});_0x56f462[_0x5b7a7b(0x29c)]=_0x5b7a7b(0x2cc);const _0x5b85bc={'tag':_0x5b7a7b(0x298),'attrs':{'xmlns':_0x5b7a7b(0x272),'fill':_0x5b7a7b(0x21b),'viewBox':_0x5b7a7b(0x260),'width':_0x5b7a7b(0x21d),'height':_0x5b7a7b(0x21d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5b7a7b(0x205),'attrs':{'stroke':_0x5b7a7b(0x18f),'d':_0x5b7a7b(0x2da),'strokeLinecap':_0x5b7a7b(0x2ee),'strokeLinejoin':_0x5b7a7b(0x2ee),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5b7a7b(0x2c3)},'children':[{'tag':_0x5b7a7b(0x205),'attrs':{'fill':_0x5b7a7b(0x1cd),'d':_0x5b7a7b(0x18a),'transform':_0x5b7a7b(0x185)}}]}]}],'defIds':[_0x5b7a7b(0x2c3)]},_0x2d262f=_0x1e6b5a['forwardRef'](function(_0x5eb910,_0x55cf79){const _0x3134ea=_0x5b7a7b;return _0x1e6b5a[_0x3134ea(0x2b8)](_0x4f9ca1,Object[_0x3134ea(0x2ed)]({},_0x5eb910,{'id':_0x3134ea(0x1bf),'ref':_0x55cf79,'icon':_0x5b85bc}));});_0x2d262f[_0x5b7a7b(0x29c)]=_0x5b7a7b(0x1f7);function _0x1a9fe4(_0x5b787a){const _0x2e1102=_0x5b7a7b;var _0x546699,_0x582f97;const {mcpCoreConfig:_0x129074,onSave:_0x25d740,loading:_0x58261=!0x1,config:_0x66c552,connectionStatus$:_0x3aba4f,connectionError$:_0x121d44,currentApiKey$:_0xa2819c,currentSessionId$:_0x2ea08e}=_0x5b787a,_0x13772c=_0xcac73[_0x2e1102(0x2d5)](_0x5acd48['LocaleService']),_0x316a95=_0xcac73[_0x2e1102(0x1d7)](_0x3aba4f,_0x8d8975[_0x2e1102(0x198)][_0x2e1102(0x294)]),_0x5cec5f=_0xcac73['useObservable'](_0x121d44,_0x8d8975[_0x2e1102(0x27a)][_0x2e1102(0x1a1)]),_0x2dafd8=_0xcac73[_0x2e1102(0x1d7)](_0x2ea08e,''),_0x51a211=_0xcac73[_0x2e1102(0x1d7)](_0xa2819c,''),[_0x43f576,_0x10610f]=_0x1e6b5a['useState'](_0x51a211||''),_0xb70ed0=!0x0,_0xc662be=_0x66c552[_0x2e1102(0x224)]&&_0x129074['mcpServerUrl']&&(_0x129074[_0x2e1102(0x199)][_0x2e1102(0x1a5)](_0x2e1102(0x269))||_0x129074['mcpServerUrl']['includes'](_0x2e1102(0x2a2))),_0x4be2d9=(_0x546699=_0x129074[_0x2e1102(0x199)])==null?void 0x0:_0x546699[_0x2e1102(0x1a5)](_0x2e1102(0x269)),_0x158016=(_0x582f97=_0x129074[_0x2e1102(0x199)])==null?void 0x0:_0x582f97[_0x2e1102(0x1a5)](_0x2e1102(0x2a2)),_0x3816e0=_0x4be2d9?'https://console.univer.plus':'https://console.univer.ai',_0x124c35=_0x66c552[_0x2e1102(0x224)]&&(_0x4be2d9||_0x158016),[_0x14eff6,_0x294afc]=_0x1e6b5a[_0x2e1102(0x172)](!_0x43f576[_0x2e1102(0x1c7)]()),_0x2176d7=(_0x151c23,_0xfebbed)=>{const _0x32b4e1=_0x2e1102;if(_0xfebbed===_0x8d8975['MCPConnectionError'][_0x32b4e1(0x2c9)])return _0x32b4e1(0x2a4);switch(_0x151c23){case _0x8d8975['MCPConnectionStatus'][_0x32b4e1(0x1b0)]:return _0x32b4e1(0x1a6);case _0x8d8975['MCPConnectionStatus'][_0x32b4e1(0x25d)]:case _0x8d8975['MCPConnectionStatus']['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x8d8975['MCPConnectionStatus'][_0x32b4e1(0x288)]:return _0x32b4e1(0x2a4);default:return _0x32b4e1(0x1df);}},_0x2c2f7a=(_0x5163ea,_0x503a51)=>{const _0x40b720=_0x2e1102;if(_0x503a51===_0x8d8975[_0x40b720(0x27a)][_0x40b720(0x2c9)])return _0x40b720(0x24b);switch(_0x5163ea){case _0x8d8975[_0x40b720(0x198)][_0x40b720(0x1b0)]:return _0x40b720(0x28a);case _0x8d8975[_0x40b720(0x198)][_0x40b720(0x25d)]:case _0x8d8975['MCPConnectionStatus']['RETRYING']:return _0x40b720(0x280);case _0x8d8975[_0x40b720(0x198)][_0x40b720(0x288)]:return _0x40b720(0x24b);default:return _0x40b720(0x2e4);}},_0x3984e6=_0x34a5b9=>{const _0x47997f=_0x2e1102;switch(_0x34a5b9){case _0x8d8975[_0x47997f(0x198)][_0x47997f(0x1b0)]:return _0x13772c['t'](_0x47997f(0x16c));case _0x8d8975[_0x47997f(0x198)]['CONNECTING']:return _0x13772c['t'](_0x47997f(0x2ea));case _0x8d8975[_0x47997f(0x198)][_0x47997f(0x288)]:return _0x13772c['t']('mcpConfig.connectionStatus.failed');case _0x8d8975['MCPConnectionStatus'][_0x47997f(0x1cb)]:return _0x13772c['t'](_0x47997f(0x2a6));default:return _0x13772c['t'](_0x47997f(0x29e));}},_0xcade0b=_0x4000e3=>{const _0x298a3d=_0x2e1102;switch(_0x4000e3){case _0x8d8975[_0x298a3d(0x27a)][_0x298a3d(0x2c9)]:return _0x13772c['t'](_0x298a3d(0x1bc));case _0x8d8975['MCPConnectionError'][_0x298a3d(0x2d4)]:return _0x13772c['t'](_0x298a3d(0x18c));case _0x8d8975['MCPConnectionError']['NETWORK_ERROR']:return _0x13772c['t'](_0x298a3d(0x175));case _0x8d8975[_0x298a3d(0x27a)][_0x298a3d(0x181)]:return _0x13772c['t'](_0x298a3d(0x229));default:return'';}},_0x570f63=_0x1e6b5a[_0x2e1102(0x1bd)](()=>{const _0x2b927c=_0x2e1102,_0x46caba={..._0x129074,'apiKey':_0x43f576[_0x2b927c(0x1c7)](),'enableAuth':_0xb70ed0};_0x25d740(_0x46caba);},[_0x129074,_0x43f576,_0xb70ed0,_0x25d740]),_0x2d33da=_0x43f576['trim']()[_0x2e1102(0x253)]>0x0;return _0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x23d),'children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x25e),'children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':_0x2e1102(0x25a),'children':_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x1cf),{'className':_0x2e1102(0x17b),'children':'⚙'})}),_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'children':_0x512aec[_0x2e1102(0x16e)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x13772c['t'](_0x2e1102(0x1f9))})})]})}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x2c5),'children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':_0x5b0a1e[_0x2e1102(0x2ca)](_0x2e1102(0x183),_0x2176d7(_0x316a95,_0x5cec5f)),'children':_0x512aec[_0x2e1102(0x2b9)]('div',{'className':_0x2e1102(0x220),'children':[_0x512aec['jsx'](_0x2e1102(0x20d),{'className':_0x5b0a1e[_0x2e1102(0x2ca)](_0x2e1102(0x20c),_0x2c2f7a(_0x316a95,_0x5cec5f))}),_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x1cf),{'className':_0x2e1102(0x1a7),'children':_0x3984e6(_0x316a95)})]})}),_0x5cec5f!==_0x8d8975[_0x2e1102(0x27a)][_0x2e1102(0x1a1)]&&(_0x316a95===_0x8d8975[_0x2e1102(0x198)]['FAILED']||_0x5cec5f===_0x8d8975[_0x2e1102(0x27a)][_0x2e1102(0x2c9)])&&_0x512aec[_0x2e1102(0x16e)]('div',{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x1cf),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x512aec['jsx']('p',{'className':_0x2e1102(0x235),'children':_0xcade0b(_0x5cec5f)})]})})]}),_0x512aec[_0x2e1102(0x16e)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x1f0),'children':[_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x255),'children':[_0x512aec[_0x2e1102(0x2b9)]('label',{'className':_0x2e1102(0x1e2),'children':[_0x512aec['jsx'](_0x2e1102(0x1cf),{'children':'🔑'}),'\x20',_0x13772c['t'](_0x2e1102(0x24c)),_0x512aec['jsx']('span',{'className':_0x2e1102(0x1de),'children':'*'}),_0xc662be&&_0x512aec[_0x2e1102(0x16e)]('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x13772c['t'](_0x2e1102(0x195)),'role':'button','onClick':()=>_0x294afc(!0x0),'children':_0x512aec[_0x2e1102(0x16e)](_0x5a2504,{})})]}),_0x512aec[_0x2e1102(0x16e)](_0x5b0a1e[_0x2e1102(0x231)],{'type':_0x2e1102(0x1e8),'placeholder':_0x13772c['t'](_0x2e1102(0x1d8)),'value':_0x43f576,'disabled':_0x58261,'autoComplete':_0x2e1102(0x2ac),'onChange':_0x10610f}),_0x512aec['jsx']('p',{'className':_0x2e1102(0x208),'children':_0x13772c['t'](_0x2e1102(0x256))})]}),_0xc662be&&_0x14eff6&&_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'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':[_0x512aec[_0x2e1102(0x16e)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x2e1102(0x17f),'onClick':()=>_0x294afc(!0x1),'children':_0x512aec[_0x2e1102(0x16e)](_0xfcbe9b,{'className':_0x2e1102(0x248)})}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':_0x2e1102(0x1fd),'children':_0x512aec[_0x2e1102(0x16e)]('span',{'className':_0x2e1102(0x16d),'children':'🚀'})}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x215),'children':[_0x512aec[_0x2e1102(0x16e)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x13772c['t'](_0x2e1102(0x195))}),_0x512aec[_0x2e1102(0x16e)]('p',{'className':_0x2e1102(0x20e),'children':_0x13772c['t'](_0x2e1102(0x1ed))}),_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':_0x2e1102(0x2e9),'children':_0x124c35&&_0x512aec['jsxs']('a',{'className':_0x2e1102(0x1fc),'href':_0x3816e0,'target':'_blank','rel':_0x2e1102(0x29f),'children':[_0x512aec['jsx'](_0x2e1102(0x1cf),{'children':'🤖'}),_0x13772c['t'](_0x2e1102(0x243)),_0x512aec[_0x2e1102(0x16e)]('span',{'className':_0x2e1102(0x2a7),'children':'↗'})]})}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x285),'children':['✨','\x20',_0x13772c['t'](_0x2e1102(0x210))]})]})]})]}),_0x66c552[_0x2e1102(0x224)]&&_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x1da),'children':[_0x512aec[_0x2e1102(0x2b9)]('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x1cf),{'children':'🔗'}),'\x20',_0x13772c['t']('mcpConfig.connectionInfo')]}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x26e),'children':[_0x512aec[_0x2e1102(0x2b9)]('div',{'className':'univer-space-y-3','children':[_0x512aec[_0x2e1102(0x16e)]('p',{'className':_0x2e1102(0x1d5),'children':_0x13772c['t']('mcpConfig.configInstructions')}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x255),'children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x13772c['t']('mcpConfig.configStepTitle')}),_0x512aec['jsxs'](_0x2e1102(0x20d),{'className':_0x2e1102(0x283),'children':[_0x512aec[_0x2e1102(0x2b9)]('div',{'className':_0x2e1102(0x220),'children':[_0x512aec[_0x2e1102(0x16e)]('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x13772c['t'](_0x2e1102(0x2b3))]}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x512aec[_0x2e1102(0x16e)]('span',{'className':_0x2e1102(0x1c6),'children':'2'}),_0x13772c['t'](_0x2e1102(0x291))]}),_0x512aec[_0x2e1102(0x2b9)]('div',{'className':_0x2e1102(0x220),'children':[_0x512aec[_0x2e1102(0x16e)]('span',{'className':_0x2e1102(0x1c6),'children':'3'}),_0x13772c['t']('mcpConfig.configStep3')]})]})]})]}),_0x512aec['jsxs'](_0x2e1102(0x20d),{'className':_0x2e1102(0x255),'children':[_0x512aec['jsx'](_0x2e1102(0x20d),{'className':_0x2e1102(0x17c),'children':'MCP\x20Configuration'}),_0x512aec[_0x2e1102(0x16e)]('div',{'className':_0x2e1102(0x2ce),'children':_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x2ba),{'className':_0x2e1102(0x240),'children':JSON[_0x2e1102(0x2d7)]({'mcpServers':{'univer':{'url':_0x2e1102(0x188)+(_0x2dafd8||_0x2e1102(0x168)),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0x43f576||'<API_KEY>')}}}},null,0x2)})})]}),_0x512aec[_0x2e1102(0x2b9)]('div',{'className':'univer-space-y-3','children':[_0x512aec['jsx'](_0x2e1102(0x20d),{'className':_0x2e1102(0x17c),'children':_0x13772c['t']('mcpConfig.configParameters')}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':'univer-space-y-2','children':[_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':_0x2e1102(0x2e3)}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x1f6),'children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x2e1102(0x19f)}),_0x512aec['jsx'](_0x2e1102(0x20d),{'className':_0x2e1102(0x208),'children':_0x13772c['t']('mcpConfig.sessionIdDescription')})]})]}),_0x512aec['jsxs'](_0x2e1102(0x20d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':_0x2e1102(0x2e3)}),_0x512aec['jsxs'](_0x2e1102(0x20d),{'className':_0x2e1102(0x1f6),'children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':_0x2e1102(0x2ad),'children':'Authorization:'}),_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x20d),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x13772c['t'](_0x2e1102(0x232))})]})]})]})]})]})]}),_0x512aec[_0x2e1102(0x16e)](_0x5b0a1e[_0x2e1102(0x16a)],{'onClick':_0x570f63,'disabled':!_0x2d33da||_0x58261,'className':_0x2e1102(0x270),'children':_0x58261?_0x512aec[_0x2e1102(0x2b9)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x512aec[_0x2e1102(0x16e)]('span',{'children':'⟲'}),_0x13772c['t'](_0x2e1102(0x178))]}):_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x1cf),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x512aec['jsx'](_0x3e45de,{}),_0x13772c['t']('mcpConfig.save')]})}),_0x512aec[_0x2e1102(0x16e)]('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x512aec['jsxs'](_0x2e1102(0x20d),{'className':'univer-flex\x20univer-gap-3','children':[_0x512aec[_0x2e1102(0x16e)](_0x2e1102(0x1cf),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'className':_0x2e1102(0x236),'children':[_0x512aec['jsx'](_0x2e1102(0x20d),{'className':'univer-font-medium','children':_0x2e1102(0x1ca)}),_0x512aec['jsxs'](_0x2e1102(0x20d),{'children':['•',_0x13772c['t'](_0x2e1102(0x222))]}),_0x512aec[_0x2e1102(0x2b9)](_0x2e1102(0x20d),{'children':['•',_0x13772c['t'](_0x2e1102(0x219))]})]})]})})]})})]});}const _0x202eb0=_0x5b7a7b(0x2bf),_0x15f637={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x2a3991=Object[_0x5b7a7b(0x2c0)],_0x2af88b=(_0x44c366,_0x328cb4,_0x548957,_0x3644aa)=>{const _0xfbc9fe=_0x5b7a7b;for(var _0x24ce1c=_0x3644aa>0x1?void 0x0:_0x3644aa?_0x2a3991(_0x328cb4,_0x548957):_0x328cb4,_0x2a0b3d=_0x44c366[_0xfbc9fe(0x253)]-0x1,_0x4b45bb;_0x2a0b3d>=0x0;_0x2a0b3d--)(_0x4b45bb=_0x44c366[_0x2a0b3d])&&(_0x24ce1c=_0x4b45bb(_0x24ce1c)||_0x24ce1c);return _0x24ce1c;},_0x18563a=(_0x247b36,_0x47e0d7)=>(_0x3af081,_0x15aa1f)=>_0x47e0d7(_0x3af081,_0x15aa1f,_0x247b36);const _0x1e99c3=_0x5b7a7b(0x281),_0x4dc20f=_0x5b7a7b(0x277);_0x2a4844[_0x5b7a7b(0x1be)]=class extends _0x5acd48[_0x5b7a7b(0x2dc)]{constructor(_0x2f237d,_0x22f929,_0x2dd16f,_0x21fd6b,_0x5797db,_0x4077c6,_0x5461e3,_0x1352e3,_0x32ae09,_0x3386bf){const _0xbef46f=_0x5b7a7b;super(),_0x2d9c81(this,_0xbef46f(0x2b7),new _0x6ee9cc['BehaviorSubject'](!0x1)),_0x2d9c81(this,_0xbef46f(0x18d),new _0x6ee9cc[(_0xbef46f(0x180))]({})),_0x2d9c81(this,_0xbef46f(0x259),new _0x6ee9cc[(_0xbef46f(0x180))]({})),_0x2d9c81(this,'_apiKey$',new _0x6ee9cc[(_0xbef46f(0x180))]('')),_0x2d9c81(this,_0xbef46f(0x1c1),async _0x349b55=>{const _0x1f2381=_0xbef46f;var _0x1d2f53,_0x514aea;this[_0x1f2381(0x2b7)][_0x1f2381(0x23a)](!0x0);try{const _0x222a7b=await this[_0x1f2381(0x177)](_0x349b55);if(!_0x222a7b[_0x1f2381(0x1ff)]){this['_messageService'][_0x1f2381(0x223)]({'type':_0x5b0a1e[_0x1f2381(0x1e9)][_0x1f2381(0x2ec)],'content':_0x222a7b[_0x1f2381(0x213)]||this[_0x1f2381(0x27b)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x349b55['apiKey']?await this['_localStorageService'][_0x1f2381(0x196)](_0x1e99c3,_0x349b55[_0x1f2381(0x2bd)]['trim']()):await this['_localStorageService'][_0x1f2381(0x1fa)](_0x1e99c3),this[_0x1f2381(0x24f)][_0x1f2381(0x23a)](((_0x1d2f53=_0x349b55[_0x1f2381(0x2bd)])==null?void 0x0:_0x1d2f53[_0x1f2381(0x1c7)]())||''),this[_0x1f2381(0x289)][_0x1f2381(0x176)]({'Authorization':_0x1f2381(0x27e)+((_0x514aea=_0x349b55[_0x1f2381(0x2bd)])==null?void 0x0:_0x514aea[_0x1f2381(0x1c7)]())}),this[_0x1f2381(0x254)][_0x1f2381(0x223)]({'type':_0x5b0a1e[_0x1f2381(0x1e9)]['Success'],'content':this['_localeService']['t'](_0x1f2381(0x212))}),setTimeout(()=>{const _0x5baa56=_0x1f2381;this['_dialogService'][_0x5baa56(0x1c3)](_0x4dc20f);},0x320);}catch(_0x2bb4b2){this['_logService'][_0x1f2381(0x1e0)](_0x1f2381(0x230),_0x2bb4b2),this[_0x1f2381(0x254)]['show']({'type':_0x5b0a1e[_0x1f2381(0x1e9)]['Error'],'content':this[_0x1f2381(0x27b)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x1f2381(0x23a)](!0x1);}}),(this[_0xbef46f(0x1b6)]=_0x2f237d,this['_uiPartsService']=_0x22f929,this[_0xbef46f(0x2e8)]=_0x2dd16f,this[_0xbef46f(0x216)]=_0x21fd6b,this['_dialogService']=_0x5797db,this[_0xbef46f(0x254)]=_0x4077c6,this[_0xbef46f(0x2e2)]=_0x5461e3,this[_0xbef46f(0x27b)]=_0x1352e3,this[_0xbef46f(0x187)]=_0x32ae09,this[_0xbef46f(0x289)]=_0x3386bf,this[_0xbef46f(0x268)](),this[_0xbef46f(0x2c2)](),this['_registerComponent']());}['showConfigPanel'](){const _0x18b043=_0x5b7a7b,_0x2e8f96=this[_0x18b043(0x2e8)][_0x18b043(0x244)](_0x202eb0);_0x2e8f96!=null&&_0x2e8f96[_0x18b043(0x224)]&&this[_0x18b043(0x20f)]['open']({'id':_0x4dc20f,'title':{'title':this[_0x18b043(0x27b)]['t'](_0x18b043(0x1b5))},'children':{'label':_0x18b043(0x2dd)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5caef0=_0x18b043;this[_0x5caef0(0x20f)][_0x5caef0(0x1c3)](_0x4dc20f);}});}[_0x5b7a7b(0x2bc)](){const _0x48f209=_0x5b7a7b;return this[_0x48f209(0x18d)][_0x48f209(0x247)];}[_0x5b7a7b(0x1e5)](){const _0x1132c5=_0x5b7a7b;this[_0x1132c5(0x26a)](this['_componentManager'][_0x1132c5(0x266)](_0x1132c5(0x2dd),this[_0x1132c5(0x227)]()));}['_createConfigPanelComponent'](){const _0x430f79=_0x5b7a7b;return _0xcac73[_0x430f79(0x276)](()=>{const _0x20f621=_0x430f79;var _0x233ffa,_0x249bb3,_0x4c2cc2;return _0x512aec[_0x20f621(0x16e)](_0x1a9fe4,{'config':this[_0x20f621(0x259)][_0x20f621(0x247)],'mcpCoreConfig':this[_0x20f621(0x18d)][_0x20f621(0x247)],'currentApiKey$':this[_0x20f621(0x24f)],'onSave':this[_0x20f621(0x1c1)],'loading':this['_loading$'][_0x20f621(0x247)],'connectionStatus$':(_0x233ffa=this['_mcpConnectionController'])==null?void 0x0:_0x233ffa[_0x20f621(0x1e6)],'connectionError$':(_0x249bb3=this[_0x20f621(0x289)])==null?void 0x0:_0x249bb3[_0x20f621(0x262)],'currentSessionId$':(_0x4c2cc2=this[_0x20f621(0x289)])==null?void 0x0:_0x4c2cc2[_0x20f621(0x25c)]});},this[_0x430f79(0x1b6)]);}['_initConfigSync'](){const _0x20894e=_0x5b7a7b;this[_0x20894e(0x26a)](this[_0x20894e(0x2e8)][_0x20894e(0x197)](_0x8d8975[_0x20894e(0x2c8)])['subscribe'](_0x1fab8f=>{const _0xd1ca6f=_0x20894e;this[_0xd1ca6f(0x18d)][_0xd1ca6f(0x23a)](_0x1fab8f||{});}));const _0x1ae9f6=this['_configService']['getConfig'](_0x8d8975[_0x20894e(0x2c8)]);this[_0x20894e(0x18d)][_0x20894e(0x23a)](_0x1ae9f6||{}),this[_0x20894e(0x26a)](this[_0x20894e(0x2e8)][_0x20894e(0x197)](_0x202eb0)[_0x20894e(0x1cc)](_0x2e814e=>{const _0x1b9956=_0x20894e;this[_0x1b9956(0x259)][_0x1b9956(0x23a)](_0x2e814e||{});}));const _0x147f66=this['_configService'][_0x20894e(0x244)](_0x202eb0);this[_0x20894e(0x259)][_0x20894e(0x23a)](_0x147f66||{});}async[_0x5b7a7b(0x2c2)](){const _0x3a7f89=_0x5b7a7b,_0x89c992=this['_configService'][_0x3a7f89(0x244)](_0x202eb0);if(!(_0x89c992!=null&&_0x89c992[_0x3a7f89(0x224)]))return;const _0x312cdd=await this['_localStorageService']['getItem'](_0x1e99c3);_0x312cdd&&(this[_0x3a7f89(0x289)][_0x3a7f89(0x176)]({'Authorization':_0x3a7f89(0x27e)+_0x312cdd}),this[_0x3a7f89(0x24f)][_0x3a7f89(0x23a)](_0x312cdd));}async[_0x5b7a7b(0x177)](_0x19e723){const _0xe350da=_0x5b7a7b;if(!_0x19e723[_0xe350da(0x2bd)]||_0x19e723['apiKey'][_0xe350da(0x1c7)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0xe350da(0x27b)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x19e723[_0xe350da(0x2bd)][_0xe350da(0x1c7)]()[_0xe350da(0x253)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0xe350da(0x27b)]['t'](_0xe350da(0x2ab))};try{const _0xf9e001=await this['_injector'][_0xe350da(0x19d)](_0x8d8975[_0xe350da(0x17e)])[_0xe350da(0x1f5)](_0x19e723['apiKey']['trim']());return _0xf9e001['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0xf9e001['error']||this['_localeService']['t'](_0xe350da(0x22a))};}catch(_0x47dffe){return console['warn'](_0xe350da(0x202),_0x47dffe),{'isValid':!0x0};}}},_0x2a4844[_0x5b7a7b(0x1be)]=_0x2af88b([_0x18563a(0x0,_0x5acd48[_0x5b7a7b(0x21e)](_0x5acd48[_0x5b7a7b(0x18e)])),_0x18563a(0x1,_0xcac73[_0x5b7a7b(0x1ee)]),_0x18563a(0x2,_0x5acd48[_0x5b7a7b(0x2a3)]),_0x18563a(0x3,_0x5acd48[_0x5b7a7b(0x1bb)]),_0x18563a(0x4,_0xcac73[_0x5b7a7b(0x228)]),_0x18563a(0x5,_0xcac73[_0x5b7a7b(0x19c)]),_0x18563a(0x6,_0x5acd48['Inject'](_0xcac73['ComponentManager'])),_0x18563a(0x7,_0x5acd48[_0x5b7a7b(0x21e)](_0x5acd48['LocaleService'])),_0x18563a(0x8,_0x5acd48['ILogService']),_0x18563a(0x9,_0x5acd48[_0x5b7a7b(0x21e)](_0x8d8975[_0x5b7a7b(0x17e)]))],_0x2a4844['MCPConfigUIController']);const _0x68ce19={'id':'mcp-ui.command.openConfigPanel','type':_0x5acd48[_0x5b7a7b(0x2d3)][_0x5b7a7b(0x279)],'handler':async(_0x468d48,_0x2a5aa2)=>(_0x468d48[_0x5b7a7b(0x19d)](_0x2a4844[_0x5b7a7b(0x1be)])[_0x5b7a7b(0x24a)](),!0x0)};function _0x358293(_0x1c8873,_0x51bc19){const _0x3eec78=_0x5b7a7b;switch(_0x1c8873){case _0x8d8975[_0x3eec78(0x198)][_0x3eec78(0x294)]:return'mcpStatus.disconnected';case _0x8d8975[_0x3eec78(0x198)][_0x3eec78(0x25d)]:return _0x3eec78(0x19a);case _0x8d8975['MCPConnectionStatus'][_0x3eec78(0x1b0)]:return'mcpStatus.connected';case _0x8d8975[_0x3eec78(0x198)][_0x3eec78(0x288)]:switch(_0x51bc19){case _0x8d8975[_0x3eec78(0x27a)]['UNAUTHORIZED']:return _0x3eec78(0x1f1);case _0x8d8975[_0x3eec78(0x27a)]['SESSION_ID_OCCUPIED']:return _0x3eec78(0x2f0);case _0x8d8975['MCPConnectionError']['NETWORK_ERROR']:return'mcpStatus.networkError';case _0x8d8975[_0x3eec78(0x27a)]['MAX_RETRIES_EXCEEDED']:return _0x3eec78(0x27f);default:return _0x3eec78(0x21f);}case _0x8d8975[_0x3eec78(0x198)][_0x3eec78(0x1cb)]:return _0x3eec78(0x271);default:return _0x3eec78(0x17d);}}function _0x1aacc8(_0x74d956,_0x3c4dcb,_0x1d3601,_0x17423b=!0x0){const _0x1486a9=_0x5b7a7b,_0x27d5d7=_0x358293(_0x74d956,_0x3c4dcb),_0xd50708=_0x1d3601['t'](_0x27d5d7);return _0x17423b?_0x74d956===_0x8d8975[_0x1486a9(0x198)][_0x1486a9(0x294)]&&_0x3c4dcb===_0x8d8975[_0x1486a9(0x27a)]['UNAUTHORIZED']?_0xd50708+'\x20-\x20'+_0x1d3601['t'](_0x1486a9(0x258)):_0x74d956===_0x8d8975[_0x1486a9(0x198)][_0x1486a9(0x1b0)]?''+_0xd50708:_0x74d956===_0x8d8975[_0x1486a9(0x198)]['DISCONNECTED']||_0x74d956===_0x8d8975['MCPConnectionStatus']['FAILED']?_0xd50708+_0x1486a9(0x26f)+_0x1d3601['t']('mcpStatus.clickToConnect'):_0xd50708:_0xd50708;}function _0x16b163(_0x7a8e7a){const _0x512508=_0x5b7a7b;switch(_0x7a8e7a){case _0x8d8975[_0x512508(0x198)][_0x512508(0x1b0)]:return _0x512508(0x1e3);case _0x8d8975['MCPConnectionStatus'][_0x512508(0x25d)]:case _0x8d8975['MCPConnectionStatus']['RETRYING']:return _0x512508(0x206);case _0x8d8975[_0x512508(0x198)][_0x512508(0x288)]:case _0x8d8975[_0x512508(0x198)][_0x512508(0x294)]:return _0x512508(0x1de);default:return'univer-text-gray-500';}}function _0xeda2a3(_0x3cb750){const _0x255a6c=_0x5b7a7b,{status$:_0x46fff7,error$:_0x27512b,onConfigure:_0x361b23,showClickable:_0x199374=!0x0}=_0x3cb750,_0x17f8d0=_0xcac73[_0x255a6c(0x1d7)](_0x46fff7,_0x8d8975['MCPConnectionStatus']['DISCONNECTED']),_0x58102f=_0xcac73[_0x255a6c(0x1d7)](_0x27512b,_0x8d8975[_0x255a6c(0x27a)][_0x255a6c(0x1a1)]),_0x363e9d=_0xcac73[_0x255a6c(0x2d5)](_0x5acd48[_0x255a6c(0x2e1)]),_0x37d5bc=_0x17f8d0===_0x8d8975[_0x255a6c(0x198)]['CONNECTED'];_0x17f8d0===_0x8d8975[_0x255a6c(0x198)]['CONNECTING']||_0x8d8975[_0x255a6c(0x198)]['RETRYING'];const _0x7087e3=_0x363e9d['t'](_0x358293(_0x17f8d0,_0x58102f)),_0x283ef0=_0x1aacc8(_0x17f8d0,_0x58102f,_0x363e9d,_0x199374),_0x344ac4=_0x16b163(_0x17f8d0),_0x1c1d80=_0x37d5bc?_0x512aec[_0x255a6c(0x16e)](_0x2d262f,{}):_0x512aec[_0x255a6c(0x16e)](_0x56f462,{}),_0x3fdd27=_0x1e6b5a[_0x255a6c(0x1bd)](()=>{_0x199374&&_0x361b23&&_0x361b23();},[_0x199374,_0x361b23]);function _0x3f5a11(){const _0x138bd3=_0x255a6c;return _0x512aec['jsxs'](_0x138bd3(0x20d),{'className':_0x5b0a1e[_0x138bd3(0x2ca)](_0x138bd3(0x250),_0x199374&&_0x361b23&&_0x138bd3(0x297)),'role':_0x138bd3(0x17f),'onClick':_0x199374&&_0x361b23?_0x3fdd27:void 0x0,'children':[_0x512aec[_0x138bd3(0x16e)](_0x138bd3(0x20d),{'className':_0x5b0a1e['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x344ac4),'children':_0x1c1d80}),_0x512aec[_0x138bd3(0x16e)](_0x138bd3(0x20d),{'className':_0x138bd3(0x2b5),'children':_0x7087e3})]});}return _0x512aec[_0x255a6c(0x16e)](_0x5b0a1e[_0x255a6c(0x1e1)],{'title':_0x283ef0,'placement':_0x255a6c(0x2c1),'children':_0x3f5a11()});}var _0x1ca0a5=Object['getOwnPropertyDescriptor'],_0x45c9b6=(_0x28952b,_0x2dbb7a,_0xc3548d,_0x419f0f)=>{for(var _0x1d4f4b=_0x419f0f>0x1?void 0x0:_0x419f0f?_0x1ca0a5(_0x2dbb7a,_0xc3548d):_0x2dbb7a,_0x4516f6=_0x28952b['length']-0x1,_0x214e26;_0x4516f6>=0x0;_0x4516f6--)(_0x214e26=_0x28952b[_0x4516f6])&&(_0x1d4f4b=_0x214e26(_0x1d4f4b)||_0x1d4f4b);return _0x1d4f4b;},_0x13e345=(_0x26490a,_0x450ae8)=>(_0x15d0c0,_0x8f24a0)=>_0x450ae8(_0x15d0c0,_0x8f24a0,_0x26490a);_0x2a4844[_0x5b7a7b(0x1e7)]=class extends _0x5acd48[_0x5b7a7b(0x2dc)]{constructor(_0x45d964,_0x322abf,_0x584d36,_0x48e425){const _0x41f446=_0x5b7a7b;super(),this[_0x41f446(0x1b6)]=_0x45d964,this['_connectionController']=_0x322abf,this[_0x41f446(0x299)]=_0x584d36,this[_0x41f446(0x2e8)]=_0x48e425,this[_0x41f446(0x23f)](),this['_initStatusComponent']();}[_0x5b7a7b(0x23f)](){const _0x272a47=_0x5b7a7b,_0x55d265=this[_0x272a47(0x2e8)][_0x272a47(0x244)](_0x202eb0);_0x55d265!=null&&_0x55d265[_0x272a47(0x224)]&&(this[_0x272a47(0x261)]['enableAutoConnect']=!0x1);}[_0x5b7a7b(0x22c)](){const _0x2e7b05=_0x5b7a7b,_0x3aae5b=this[_0x2e7b05(0x2e8)]['getConfig'](_0x202eb0);(_0x3aae5b==null?void 0x0:_0x3aae5b['showStatus'])!==!0x1&&this[_0x2e7b05(0x26a)](this[_0x2e7b05(0x299)][_0x2e7b05(0x1a2)](_0xcac73[_0x2e7b05(0x24d)]['HEADER_MENU'],()=>{const _0x11bde2=_0x2e7b05;var _0x49e2a3;return _0xcac73[_0x11bde2(0x276)](_0x523285({'status$':this['_connectionController'][_0x11bde2(0x1e6)],'error$':this['_connectionController'][_0x11bde2(0x262)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x49e2a3=_0x3aae5b==null?void 0x0:_0x3aae5b[_0x11bde2(0x224)])!=null?_0x49e2a3:!0x1}),this[_0x11bde2(0x1b6)]);}));}[_0x5b7a7b(0x1d0)](){const _0x160688=_0x5b7a7b;this[_0x160688(0x1b6)][_0x160688(0x19d)](_0x2a4844[_0x160688(0x1be)])[_0x160688(0x24a)]();}},_0x2a4844[_0x5b7a7b(0x1e7)]=_0x45c9b6([_0x13e345(0x0,_0x5acd48['Inject'](_0x5acd48[_0x5b7a7b(0x18e)])),_0x13e345(0x1,_0x5acd48['Inject'](_0x8d8975['MCPConnectionController'])),_0x13e345(0x2,_0xcac73[_0x5b7a7b(0x1ee)]),_0x13e345(0x3,_0x5acd48[_0x5b7a7b(0x2a3)])],_0x2a4844[_0x5b7a7b(0x1e7)]);function _0x523285(_0x5bee5f){const {status$:_0x1fc2f9,error$:_0x2ad7d8,onConfigure:_0xe2246a,showClickable:_0x4c9262}=_0x5bee5f;return function(){return _0x512aec['jsx'](_0xeda2a3,{'status$':_0x1fc2f9,'error$':_0x2ad7d8,'onConfigure':_0xe2246a,'showClickable':_0x4c9262});};}function _0x181465(_0x142acf){const _0x51dd43=_0x5b7a7b;return{'id':_0x68ce19['id'],'type':_0xcac73[_0x51dd43(0x26b)][_0x51dd43(0x186)],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x51dd43(0x1b5)};}const _0x49c6f9={[_0xcac73[_0x5b7a7b(0x23e)][_0x5b7a7b(0x237)]]:{[_0x68ce19['id']]:{'order':0xa,'menuItemFactory':_0x181465}}};var _0x36951b=Object[_0x5b7a7b(0x2c0)],_0x1823b8=(_0x20330b,_0x5a4859,_0x4cf786,_0x5d50e8)=>{const _0x4fa0dd=_0x5b7a7b;for(var _0x46419d=_0x5d50e8>0x1?void 0x0:_0x5d50e8?_0x36951b(_0x5a4859,_0x4cf786):_0x5a4859,_0xc9265f=_0x20330b[_0x4fa0dd(0x253)]-0x1,_0x428b18;_0xc9265f>=0x0;_0xc9265f--)(_0x428b18=_0x20330b[_0xc9265f])&&(_0x46419d=_0x428b18(_0x46419d)||_0x46419d);return _0x46419d;},_0x3b2b45=(_0x2404a9,_0x5bd1f2)=>(_0x32375f,_0x45db1b)=>_0x5bd1f2(_0x32375f,_0x45db1b,_0x2404a9);_0x2a4844['MCPUIMenuController']=class extends _0x5acd48[_0x5b7a7b(0x2dc)]{constructor(_0x159731,_0x468059){const _0x424e95=_0x5b7a7b;super(),this['_commandService']=_0x159731,this['_menuManagerService']=_0x468059,this[_0x424e95(0x2b1)](),this[_0x424e95(0x2c6)]();}['_initializeCommands'](){const _0x17a8e6=_0x5b7a7b;[_0x68ce19][_0x17a8e6(0x1ae)](_0x56ecb7=>{const _0x41a758=_0x17a8e6;this[_0x41a758(0x26a)](this[_0x41a758(0x1aa)]['registerCommand'](_0x56ecb7));});}[_0x5b7a7b(0x2c6)](){const _0x489231=_0x5b7a7b;this['_menuManagerService'][_0x489231(0x1b7)](_0x49c6f9);}},_0x2a4844[_0x5b7a7b(0x1af)]=_0x1823b8([_0x3b2b45(0x0,_0x5acd48[_0x5b7a7b(0x245)]),_0x3b2b45(0x1,_0xcac73['IMenuManagerService'])],_0x2a4844[_0x5b7a7b(0x1af)]);const _0xe17aac={'mcpStatus':{'disconnected':_0x5b7a7b(0x1f3),'connecting':_0x5b7a7b(0x1eb),'connected':_0x5b7a7b(0x2a8),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5b7a7b(0x1fe),'unknown':_0x5b7a7b(0x251),'unauthorized':_0x5b7a7b(0x28f),'sessionOccupied':_0x5b7a7b(0x1ea),'networkError':_0x5b7a7b(0x1dc),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5b7a7b(0x2be),'clickToConfigure':_0x5b7a7b(0x286)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5b7a7b(0x16f),'apiKeyPlaceholder':_0x5b7a7b(0x1c4),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x5b7a7b(0x25b),'enableAuthHint':_0x5b7a7b(0x21c),'connectionInfo':_0x5b7a7b(0x275),'mcpClientConfig':_0x5b7a7b(0x275),'configInstructions':_0x5b7a7b(0x1c8),'configStepTitle':_0x5b7a7b(0x29d),'configStep1':_0x5b7a7b(0x1c5),'configStep2':_0x5b7a7b(0x18b),'configStep3':_0x5b7a7b(0x214),'sessionId':'Session\x20ID','sessionIdDescription':_0x5b7a7b(0x2d6),'authorizationDescription':_0x5b7a7b(0x246),'configParameters':_0x5b7a7b(0x1a4),'maxRetries':_0x5b7a7b(0x27d),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x5b7a7b(0x2c4),'note2':_0x5b7a7b(0x28c),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5b7a7b(0x2b6),'apiApplyInfo':{'title':_0x5b7a7b(0x2b2),'description':_0x5b7a7b(0x1d6),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5b7a7b(0x2d9)},'validation':{'apiKeyRequired':_0x5b7a7b(0x221),'apiKeyTooShort':_0x5b7a7b(0x2c7),'invalidConfig':_0x5b7a7b(0x2a5),'invalidApiKey':_0x5b7a7b(0x26c)},'connectionStatus':{'disconnected':_0x5b7a7b(0x1a8),'connecting':'Connecting...','connected':_0x5b7a7b(0x233),'failed':_0x5b7a7b(0x2de),'retrying':_0x5b7a7b(0x2e7)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5b7a7b(0x2ef),'networkError':_0x5b7a7b(0x1ba),'maxRetriesExceeded':_0x5b7a7b(0x1d9)}}},_0x12f3b4={'mcpStatus':{'disconnected':_0x5b7a7b(0x21a),'connecting':_0x5b7a7b(0x1f2),'connected':_0x5b7a7b(0x264),'failed':_0x5b7a7b(0x193),'retrying':_0x5b7a7b(0x239),'unknown':'MCP\x20状态未知','unauthorized':_0x5b7a7b(0x25f),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x5b7a7b(0x169),'maxRetriesExceeded':_0x5b7a7b(0x26d),'clickToConnect':_0x5b7a7b(0x23c),'clickToConfigure':_0x5b7a7b(0x2d0)},'mcpConfig':{'title':_0x5b7a7b(0x179),'description':_0x5b7a7b(0x20b),'apiKey':_0x5b7a7b(0x2d8),'apiKeyPlaceholder':_0x5b7a7b(0x238),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x5b7a7b(0x290),'connectionInfo':_0x5b7a7b(0x292),'mcpClientConfig':_0x5b7a7b(0x292),'configInstructions':_0x5b7a7b(0x218),'configStepTitle':_0x5b7a7b(0x287),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x5b7a7b(0x282),'configStep3':_0x5b7a7b(0x184),'sessionId':_0x5b7a7b(0x1f8),'sessionIdDescription':_0x5b7a7b(0x1ec),'authorizationDescription':_0x5b7a7b(0x192),'configParameters':_0x5b7a7b(0x2e5),'maxRetries':'最大重试次数','save':_0x5b7a7b(0x19e),'saving':_0x5b7a7b(0x267),'note1':_0x5b7a7b(0x2e0),'note2':_0x5b7a7b(0x225),'configSaved':_0x5b7a7b(0x1b8),'configError':_0x5b7a7b(0x24e),'apiApplyInfo':{'title':_0x5b7a7b(0x20a),'description':_0x5b7a7b(0x265),'univerAiLabel':_0x5b7a7b(0x2ae),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x5b7a7b(0x1b9),'apiKeyTooShort':_0x5b7a7b(0x211),'invalidConfig':_0x5b7a7b(0x2aa),'invalidApiKey':_0x5b7a7b(0x2cb)},'connectionStatus':{'disconnected':_0x5b7a7b(0x295),'connecting':_0x5b7a7b(0x2cd),'connected':_0x5b7a7b(0x1dd),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x5b7a7b(0x252),'sessionOccupied':_0x5b7a7b(0x278),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x5b7a7b(0x171)}}};var _0x63ac3f=Object[_0x5b7a7b(0x2d2)],_0x5c4a00=Object['getOwnPropertyDescriptor'],_0x33ef8f=(_0x42aec5,_0x2d7eb2,_0x27fea7)=>_0x2d7eb2 in _0x42aec5?_0x63ac3f(_0x42aec5,_0x2d7eb2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27fea7}):_0x42aec5[_0x2d7eb2]=_0x27fea7,_0x3de137=(_0x37ec76,_0x33fe03,_0x4666f5,_0x26efb9)=>{const _0x3af248=_0x5b7a7b;for(var _0x39b7a8=_0x26efb9>0x1?void 0x0:_0x26efb9?_0x5c4a00(_0x33fe03,_0x4666f5):_0x33fe03,_0x1a033c=_0x37ec76[_0x3af248(0x253)]-0x1,_0x321b5d;_0x1a033c>=0x0;_0x1a033c--)(_0x321b5d=_0x37ec76[_0x1a033c])&&(_0x39b7a8=_0x321b5d(_0x39b7a8)||_0x39b7a8);return _0x39b7a8;},_0x480d5b=(_0x39f423,_0x5a0969)=>(_0x565601,_0x5f0ec6)=>_0x5a0969(_0x565601,_0x5f0ec6,_0x39f423),_0x4563b2=(_0x29093,_0x271776,_0x8ca7a0)=>_0x33ef8f(_0x29093,_0x271776+'',_0x8ca7a0);_0x2a4844[_0x5b7a7b(0x257)]=class extends _0x5acd48[_0x5b7a7b(0x209)]{constructor(_0x2bad6b=_0x15f637,_0x352a67,_0x214bd1,_0x36c3b0,_0xe60dae,_0x31c108){const _0x3695bd=_0x5b7a7b;super(),this[_0x3695bd(0x201)]=_0x2bad6b,this[_0x3695bd(0x1b6)]=_0x352a67,this['_configService']=_0x214bd1,this[_0x3695bd(0x299)]=_0x36c3b0,this[_0x3695bd(0x216)]=_0xe60dae,this[_0x3695bd(0x27b)]=_0x31c108;const {..._0x24237e}=_0x5acd48[_0x3695bd(0x1ab)]({},_0x15f637,this[_0x3695bd(0x201)]);this['_configService']['setConfig'](_0x202eb0,_0x24237e);}async[_0x5b7a7b(0x1e4)](){const _0x74ba4=_0x5b7a7b,_0x5e2b50=[[_0x2a4844[_0x74ba4(0x1e7)]],[_0x2a4844[_0x74ba4(0x1be)]],[_0x2a4844[_0x74ba4(0x1af)]]];this['_injector'][_0x74ba4(0x263)](_0x3f4d08[_0x74ba4(0x2e6)])||_0x5e2b50[_0x74ba4(0x1c0)]([_0x3f4d08[_0x74ba4(0x2e6)],{'useClass':_0x3f4d08['WebSocketService']}]),_0x5e2b50[_0x74ba4(0x1ae)](_0x2a877f=>this[_0x74ba4(0x1b6)][_0x74ba4(0x1d2)](_0x2a877f)),this['_injector']['get'](_0x2a4844[_0x74ba4(0x1e7)]),this[_0x74ba4(0x1b6)]['get'](_0x2a4844[_0x74ba4(0x1be)]),this[_0x74ba4(0x1b6)][_0x74ba4(0x19d)](_0x2a4844[_0x74ba4(0x1af)]);}},_0x4563b2(_0x2a4844[_0x5b7a7b(0x257)],_0x5b7a7b(0x28e),_0x5b7a7b(0x22d)),_0x2a4844['UniverMCPUIPlugin']=_0x3de137([_0x5acd48[_0x5b7a7b(0x242)](_0x8d8975['UniverMCPPlugin']),_0x480d5b(0x1,_0x5acd48[_0x5b7a7b(0x21e)](_0x5acd48[_0x5b7a7b(0x18e)])),_0x480d5b(0x2,_0x5acd48[_0x5b7a7b(0x2a3)]),_0x480d5b(0x3,_0xcac73[_0x5b7a7b(0x1ee)]),_0x480d5b(0x4,_0x5acd48['ILocalStorageService']),_0x480d5b(0x5,_0x5acd48[_0x5b7a7b(0x21e)](_0x5acd48[_0x5b7a7b(0x2e1)]))],_0x2a4844[_0x5b7a7b(0x257)]),_0x2a4844[_0x5b7a7b(0x2dd)]=_0x1a9fe4,_0x2a4844['MCPStatusDisplay']=_0xeda2a3,_0x2a4844['OpenMCPConfigPanelCommand']=_0x68ce19,_0x2a4844['enUS']=_0xe17aac,_0x2a4844[_0x5b7a7b(0x191)]=_0x12f3b4,Object[_0x5b7a7b(0x2d2)](_0x2a4844,Symbol[_0x5b7a7b(0x194)],{'value':_0x5b7a7b(0x2eb)});}));function _0x4c91(){const _0x23dfba=['_configService','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpConfig.connectionStatus.connecting','Module','Error','assign','round','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcpStatus.sessionOccupied','<SESSION_ID>','MCP:\x20网络错误','Button','14fxnpkC','mcpConfig.connectionStatus.connected','univer-text-blue-600','jsx','API\x20Key','colorChannel1','超出最大重试次数,请稍后再试','useState','attrs','xlink:href','mcpConfig.connectionError.networkError','__setCustomHeaders','_validateConfig','mcpConfig.saving','MCP\x20配置','tag','univer-text-white','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpStatus.unknown','MCPConnectionController','button','BehaviorSubject','MAX_RETRIES_EXCEEDED','entries','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','重启您的\x20MCP\x20客户端以使配置生效','translate(.97)','BUTTON','_logService','https://mcp.univer.ai/mcp/?univer_session_id=','children','M0\x200H16V16H0z','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpConfig.connectionError.sessionOccupied','_mcpCoreConfig$','Injector','currentColor','7QOXuQG','zhCN','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20连接失败','toStringTag','mcpConfig.apiApplyInfo.title','setItem','subscribeConfigValue$','MCPConnectionStatus','mcpServerUrl','mcpStatus.connecting','UniverProMcp','IMessageService','get','保存配置','univer_session_id:','fill','NONE','registerComponent','forwardRef','Configuration\x20Parameters:','includes','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-text-sm\x20univer-font-medium','Disconnected','mask','_commandService','merge','url(#off-line-icon_clip0_910_343)','defs','forEach','MCPUIMenuController','CONNECTED','UniverIcon','4518368MwNjGN','idSuffix','@univerjs/ui','mcpConfig.title','_injector','mergeMenu','配置保存成功','API\x20密钥不能为空','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','ILocalStorageService','mcpConfig.connectionError.unauthorized','useCallback','MCPConfigUIController','on-line-icon','push','_handleConfigSave','266116pRtwQr','close','Enter\x20your\x20API\x20key','Copy\x20the\x20JSON\x20configuration\x20below','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','trim','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','React','Configuration\x20Notes:','RETRYING','subscribe','white','clipPath','span','_handleConfigure','CheckMarkIcon','add','UniverDesign','UniverProMcpUi','univer-text-xs\x20univer-text-gray-600','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','useObservable','mcpConfig.apiKeyPlaceholder','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','rxjs','MCP:\x20Network\x20Error','已连接','univer-text-red-500','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','error','Tooltip','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-green-500','onStarting','_registerComponent','connectionStatus$','MCPConnectionUIController','text','MessageType','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connecting...','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','mcpConfig.apiApplyInfo.description','IUIPartsService','exports','univer-space-y-5','mcpStatus.unauthorized','MCP\x20连接中...','MCP\x20Disconnected','help-icon','validateApiKey','univer-min-w-0\x20univer-flex-1','OnLineIcon','会话ID','mcpConfig.description','removeItem','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','MCP\x20Retrying...','isValid','string','_config','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','evenodd','replace','path','univer-text-yellow-500','@univerjs/network','univer-text-xs\x20univer-text-gray-500','Plugin','什么是\x20API\x20密钥?','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-size-2\x20univer-rounded-full','div','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_dialogService','mcpConfig.apiApplyInfo.getStarted','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.configSaved','errorMessage','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-flex-1','_localStorageService','5026212Ohvtsv','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.note2','MCP\x20已断开','none','Enable\x20authentication\x20for\x20secure\x20connections','1em','Inject','mcpStatus.failed','univer-flex\x20univer-items-center\x20univer-gap-2','API\x20key\x20is\x20required','mcpConfig.note1','show','showDeveloperTools','您的\x20API\x20密钥安全存储在本地存储中','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','_createConfigPanelComponent','IDialogService','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.validation.invalidApiKey','0\x200\x2016\x2016','_initStatusComponent','MCP_UI_PLUGIN','UniverCore','react/jsx-runtime','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','Input','mcpConfig.authorizationDescription','Connected','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','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','OTHERS','请输入您的\x20API\x20密钥','MCP\x20重连中...','next','use','点击连接\x20MCP','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','RibbonStartGroup','_initAutoConnect','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','1023352pOlXnj','DependentOn','mcpConfig.apiApplyInfo.univerAiLabel','getConfig','ICommandService','API\x20key\x20with\x20Bearer\x20prefix.','value','univer-size-4','@univerjs/design','showConfigPanel','univer-bg-red-500','mcpConfig.apiKey','BuiltInUIPart','配置保存失败','_apiKey$','univer-flex\x20univer-items-center','MCP\x20Unknown\x20Status','权限验证失败,请检查您的\x20API\x20密钥','length','_messageService','univer-space-y-2','mcpConfig.apiKeyHint','UniverMCPUIPlugin','mcpStatus.clickToConfigure','_config$','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Enable\x20Authentication','sessionId$','CONNECTING','univer-flex\x20univer-items-center\x20univer-gap-3','MCP:\x20未授权','0\x200\x2017\x2016','_connectionController','connectionError$','has','MCP\x20已连接','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','register','保存中...','_initConfigSync','univer.plus','disposeWithMe','MenuItemType','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20超出最大重试次数','univer-space-y-4','\x20-\x20','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','mcpStatus.retrying','http://www.w3.org/2000/svg','398199cZnBsG','amd','MCP\x20Client\x20Configuration','connectInjector','mcp-config-dialog','会话\x20ID\x20已被占用,请稍后再试','COMMAND','MCPConnectionError','_localeService','current','Max\x20Retries','Bearer\x20','mcpStatus.maxRetriesExceeded','univer-bg-blue-500','mcp.apiKey','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','symbol','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Click\x20to\x20configure\x20MCP','配置步骤:','FAILED','_mcpConnectionController','univer-bg-green-500','close-icon','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','30BoZxwl','pluginName','MCP:\x20Unauthorized','启用身份验证以获得安全连接','mcpConfig.configStep2','MCP\x20客户端配置','check-mark-icon','DISCONNECTED','未连接','random','\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','svg','_uiPartsService','substring','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','displayName','Configuration\x20Steps:','mcpConfig.connectionStatus.disconnected','noopener\x20noreferrer','HelpIcon','off-line-icon_clip0_910_343','univer.ai','IConfigService','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Invalid\x20configuration','mcpConfig.connectionStatus.retrying','univer-text-gray-400','MCP\x20Connected','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','配置无效','mcpConfig.validation.apiKeyTooShort','off','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','Univer\x20AI\x20控制台','url(#$1','function','_initializeCommands','What\x20is\x20API\x20Key?','mcpConfig.configStep1','off-line-icon','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Failed\x20to\x20save\x20configuration','_loading$','createElement','jsxs','pre','7200588hdBLPa','getCurrentConfig','apiKey','Click\x20to\x20connect\x20MCP','mcp-ui.config','getOwnPropertyDescriptor','bottom','_loadStoredApiKey','on-line-icon_clip0_910_349','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_initializeMenus','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP_PLUGIN_CONFIG_KEY','UNAUTHORIZED','clsx','API\x20密钥无效,请检查密钥是否正确','OffLineIcon','连接中...','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','react','点击配置\x20MCP','1381920mkoSYn','defineProperty','CommandType','SESSION_ID_OCCUPIED','useDependency','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','stringify','API\x20密钥','Get\x20your\x20API\x20key\x20in\x20seconds','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','UniverUi','Disposable','MCPConfigPanel','Connection\x20Failed','toString','配置更改将立即生效','LocaleService','_componentManager','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-bg-gray-500','配置参数:','ISocketService','Retrying...'];_0x4c91=function(){return _0x23dfba;};return _0x4c91();}