@univerjs-pro/mcp-ui 0.22.1 → 0.23.0

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 (53) 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/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +7 -7
@@ -1 +1 @@
1
- const _0x55cd88=_0x2fb0;(function(_0xeb86d6,_0x3c7605){const _0x12fc54=_0x2fb0,_0x1257a1=_0xeb86d6();while(!![]){try{const _0xf1b688=parseInt(_0x12fc54(0x1c5))/0x1*(parseInt(_0x12fc54(0x1ce))/0x2)+parseInt(_0x12fc54(0x1e8))/0x3*(-parseInt(_0x12fc54(0x1c4))/0x4)+parseInt(_0x12fc54(0x1b9))/0x5+-parseInt(_0x12fc54(0x1ca))/0x6*(-parseInt(_0x12fc54(0x1e1))/0x7)+parseInt(_0x12fc54(0x1c0))/0x8*(-parseInt(_0x12fc54(0x1d3))/0x9)+parseInt(_0x12fc54(0x1dd))/0xa*(-parseInt(_0x12fc54(0x1e0))/0xb)+parseInt(_0x12fc54(0x1da))/0xc;if(_0xf1b688===_0x3c7605)break;else _0x1257a1['push'](_0x1257a1['shift']());}catch(_0x5ae1d6){_0x1257a1['push'](_0x1257a1['shift']());}}}(_0x2eab,0x2dff7));const locale={'mcpStatus':{'disconnected':_0x55cd88(0x1be),'connecting':_0x55cd88(0x1d8),'connected':_0x55cd88(0x1c8),'failed':'Pripojenie\x20MCP\x20zlyhalo','retrying':_0x55cd88(0x1cc),'unknown':_0x55cd88(0x1e7),'unauthorized':'MCP:\x20Neautorizované','sessionOccupied':_0x55cd88(0x1e5),'networkError':_0x55cd88(0x1e4),'maxRetriesExceeded':'MCP:\x20Prekročený\x20počet\x20pokusov','clickToConnect':_0x55cd88(0x1ba),'clickToConfigure':_0x55cd88(0x1c9)},'mcpConfig':{'title':_0x55cd88(0x1e6),'description':_0x55cd88(0x1b6),'apiKey':_0x55cd88(0x1cf),'apiKeyPlaceholder':'Zadajte\x20svoj\x20API\x20kľúč','apiKeyHint':_0x55cd88(0x1c7),'enableAuth':'Povoliť\x20overenie','enableAuthHint':_0x55cd88(0x1c6),'connectionInfo':_0x55cd88(0x1df),'mcpClientConfig':_0x55cd88(0x1df),'configInstructions':'Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','configStepTitle':_0x55cd88(0x1c1),'configStep1':_0x55cd88(0x1b8),'configStep2':_0x55cd88(0x1d1),'configStep3':'Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','sessionId':_0x55cd88(0x1d6),'sessionIdDescription':_0x55cd88(0x1d5),'authorizationDescription':'API\x20kľúč\x20s\x20prefixom\x20Bearer.','configParameters':'Parametre\x20konfigurácie:','maxRetries':_0x55cd88(0x1b7),'save':_0x55cd88(0x1bd),'saving':_0x55cd88(0x1bb),'note1':_0x55cd88(0x1d2),'note2':_0x55cd88(0x1c2),'configSaved':_0x55cd88(0x1dc),'configError':_0x55cd88(0x1d0),'apiApplyInfo':{'title':_0x55cd88(0x1de),'description':_0x55cd88(0x1e2),'univerAiLabel':'Univer\x20AI\x20konzola','getStarted':_0x55cd88(0x1db)},'validation':{'apiKeyRequired':_0x55cd88(0x1d9),'apiKeyTooShort':_0x55cd88(0x1d7),'invalidConfig':_0x55cd88(0x1d4),'invalidApiKey':_0x55cd88(0x1c3)},'connectionStatus':{'disconnected':'Odpojené','connecting':_0x55cd88(0x1cb),'connected':_0x55cd88(0x1bf),'failed':'Pripojenie\x20zlyhalo','retrying':'Skúša\x20sa\x20znova...'},'connectionError':{'unauthorized':_0x55cd88(0x1e3),'sessionOccupied':_0x55cd88(0x1bc),'networkError':'Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','maxRetriesExceeded':_0x55cd88(0x1cd)}}};function _0x2fb0(_0x43984a,_0x37f3cd){_0x43984a=_0x43984a-0x1b6;const _0x2eabb0=_0x2eab();let _0x2fb063=_0x2eabb0[_0x43984a];return _0x2fb063;}export{locale as default};function _0x2eab(){const _0x54696e=['3676277zqEgkA','119427ECEXbN','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','MCP:\x20Sieťová\x20chyba','MCP:\x20ID\x20relácie\x20je\x20obsadené','Konfigurácia\x20MCP','MCP\x20neznámy\x20stav','3zRfxnX','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Maximálny\x20počet\x20pokusov','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','1281200ThQjtv','Kliknite\x20na\x20pripojenie\x20MCP','Ukladá\x20sa...','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','Uložiť\x20konfiguráciu','MCP\x20odpojené','Pripojené','826640EJskEE','Kroky\x20konfigurácie:','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','1379884mvvMBE','2zuIyjc','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','MCP\x20pripojené','Kliknite\x20na\x20konfiguráciu\x20MCP','30QlqtJn','Pripája\x20sa...','MCP\x20opakuje\x20pokus...','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','17502NYnlhD','API\x20kľúč','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','27roWzOP','Neplatná\x20konfigurácia','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','ID\x20relácie','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','MCP\x20sa\x20pripája...','API\x20kľúč\x20je\x20povinný','9822336Amuisd','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','Konfigurácia\x20bola\x20úspešne\x20uložená','10VuLDOD','Čo\x20je\x20API\x20kľúč?','Konfigurácia\x20klienta\x20MCP'];_0x2eab=function(){return _0x54696e;};return _0x2eab();}
1
+ const _0x3edebd=_0x15ff;(function(_0x21d1da,_0x2dd470){const _0x4e6d32=_0x15ff,_0xc2ba33=_0x21d1da();while(!![]){try{const _0x274570=parseInt(_0x4e6d32(0x11e))/0x1+-parseInt(_0x4e6d32(0x10a))/0x2*(-parseInt(_0x4e6d32(0x115))/0x3)+-parseInt(_0x4e6d32(0x12c))/0x4*(parseInt(_0x4e6d32(0x10b))/0x5)+parseInt(_0x4e6d32(0x11c))/0x6*(parseInt(_0x4e6d32(0x120))/0x7)+-parseInt(_0x4e6d32(0x11f))/0x8*(-parseInt(_0x4e6d32(0x10f))/0x9)+parseInt(_0x4e6d32(0x104))/0xa*(parseInt(_0x4e6d32(0x128))/0xb)+parseInt(_0x4e6d32(0x102))/0xc*(-parseInt(_0x4e6d32(0x118))/0xd);if(_0x274570===_0x2dd470)break;else _0xc2ba33['push'](_0xc2ba33['shift']());}catch(_0x5392c1){_0xc2ba33['push'](_0xc2ba33['shift']());}}}(_0x15aa,0x3e448));function _0x15aa(){const _0x1ef65c=['216016lWmfKd','15kprHQA','Zadajte\x20svoj\x20API\x20kľúč','Konfigurácia\x20klienta\x20MCP','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','33786mGgIed','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','API\x20kľúč','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','Parametre\x20konfigurácie:','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','3yBfYoK','Konfigurácia\x20MCP','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','91nbJkzq','Povoliť\x20overenie','MCP:\x20ID\x20relácie\x20je\x20obsadené','Maximálny\x20počet\x20pokusov','78WMcTCl','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','501909afYGIX','856srPIGT','134911atSCrg','API\x20kľúč\x20je\x20povinný','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','MCP\x20pripojené','Neplatná\x20konfigurácia','11BGRqxU','Skúša\x20sa\x20znova...','MCP:\x20Neautorizované','Čo\x20je\x20API\x20kľúč?','436060BcsJLq','Pripojenie\x20zlyhalo','MCP\x20opakuje\x20pokus...','ID\x20relácie','API\x20kľúč\x20s\x20prefixom\x20Bearer.','MCP:\x20Sieťová\x20chyba','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','Pripojenie\x20MCP\x20zlyhalo','1307592CPlaQR','Odpojené','827110QyDPFJ','Kliknite\x20na\x20konfiguráciu\x20MCP','MCP\x20sa\x20pripája...','Univer\x20AI\x20konzola','MCP:\x20Prekročený\x20počet\x20pokusov','Pripája\x20sa...'];_0x15aa=function(){return _0x1ef65c;};return _0x15aa();}const e={'mcpStatus':{'disconnected':'MCP\x20odpojené','connecting':_0x3edebd(0x106),'connected':_0x3edebd(0x126),'failed':_0x3edebd(0x101),'retrying':_0x3edebd(0x12e),'unknown':'MCP\x20neznámy\x20stav','unauthorized':_0x3edebd(0x12a),'sessionOccupied':_0x3edebd(0x11a),'networkError':_0x3edebd(0xff),'maxRetriesExceeded':_0x3edebd(0x108),'clickToConnect':'Kliknite\x20na\x20pripojenie\x20MCP','clickToConfigure':_0x3edebd(0x105)},'mcpConfig':{'title':_0x3edebd(0x116),'description':'Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','apiKey':_0x3edebd(0x111),'apiKeyPlaceholder':_0x3edebd(0x10c),'apiKeyHint':_0x3edebd(0x122),'enableAuth':_0x3edebd(0x119),'enableAuthHint':_0x3edebd(0x10e),'connectionInfo':_0x3edebd(0x10d),'mcpClientConfig':'Konfigurácia\x20klienta\x20MCP','configInstructions':_0x3edebd(0x125),'configStepTitle':'Kroky\x20konfigurácie:','configStep1':_0x3edebd(0x112),'configStep2':'Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','configStep3':_0x3edebd(0x123),'sessionId':_0x3edebd(0xfd),'sessionIdDescription':'Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','authorizationDescription':_0x3edebd(0xfe),'configParameters':_0x3edebd(0x113),'maxRetries':_0x3edebd(0x11b),'save':'Uložiť\x20konfiguráciu','saving':'Ukladá\x20sa...','note1':_0x3edebd(0x11d),'note2':'Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','configSaved':'Konfigurácia\x20bola\x20úspešne\x20uložená','configError':_0x3edebd(0x124),'apiApplyInfo':{'title':_0x3edebd(0x12b),'description':_0x3edebd(0x110),'univerAiLabel':_0x3edebd(0x107),'getStarted':_0x3edebd(0x114)},'validation':{'apiKeyRequired':_0x3edebd(0x121),'apiKeyTooShort':'API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','invalidConfig':_0x3edebd(0x127),'invalidApiKey':_0x3edebd(0x117)},'connectionStatus':{'disconnected':_0x3edebd(0x103),'connecting':_0x3edebd(0x109),'connected':'Pripojené','failed':_0x3edebd(0x12d),'retrying':_0x3edebd(0x129)},'connectionError':{'unauthorized':'Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','sessionOccupied':'ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','networkError':'Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','maxRetriesExceeded':_0x3edebd(0x100)}}};function _0x15ff(_0x5623d0,_0xe30fdf){_0x5623d0=_0x5623d0-0xfd;const _0x15aac2=_0x15aa();let _0x15ffcc=_0x15aac2[_0x5623d0];return _0x15ffcc;}export{e as default};
@@ -1 +1 @@
1
- const _0x39816c=_0x26d1;function _0x26d1(_0x5e433b,_0x2cdd19){_0x5e433b=_0x5e433b-0x194;const _0x490149=_0x4901();let _0x26d113=_0x490149[_0x5e433b];return _0x26d113;}(function(_0x2602be,_0x255665){const _0x546ac1=_0x26d1,_0xb0de15=_0x2602be();while(!![]){try{const _0x3729d2=-parseInt(_0x546ac1(0x1b7))/0x1+-parseInt(_0x546ac1(0x1be))/0x2+-parseInt(_0x546ac1(0x1a5))/0x3*(parseInt(_0x546ac1(0x1b3))/0x4)+parseInt(_0x546ac1(0x1b5))/0x5*(parseInt(_0x546ac1(0x1ba))/0x6)+-parseInt(_0x546ac1(0x1b4))/0x7+-parseInt(_0x546ac1(0x1b6))/0x8+parseInt(_0x546ac1(0x1a0))/0x9;if(_0x3729d2===_0x255665)break;else _0xb0de15['push'](_0xb0de15['shift']());}catch(_0x28c433){_0xb0de15['push'](_0xb0de15['shift']());}}}(_0x4901,0x29598));const locale={'mcpStatus':{'disconnected':_0x39816c(0x195),'connecting':_0x39816c(0x1ae),'connected':'MCP\x20Đã\x20kết\x20nối','failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':'MCP:\x20Không\x20được\x20phép','sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':_0x39816c(0x1b8),'maxRetriesExceeded':_0x39816c(0x1a9),'clickToConnect':_0x39816c(0x1a1),'clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':_0x39816c(0x1b1),'description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':'Khóa\x20API','apiKeyPlaceholder':_0x39816c(0x19c),'apiKeyHint':_0x39816c(0x1aa),'enableAuth':_0x39816c(0x19f),'enableAuthHint':_0x39816c(0x196),'connectionInfo':_0x39816c(0x1b2),'mcpClientConfig':'Cấu\x20hình\x20máy\x20khách\x20MCP','configInstructions':_0x39816c(0x1a6),'configStepTitle':_0x39816c(0x1a7),'configStep1':_0x39816c(0x19a),'configStep2':'Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','configStep3':_0x39816c(0x1a8),'sessionId':_0x39816c(0x19b),'sessionIdDescription':'Đị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.','authorizationDescription':_0x39816c(0x194),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':'Lưu\x20cấu\x20hình','saving':_0x39816c(0x199),'note1':_0x39816c(0x19d),'note2':_0x39816c(0x1a2),'configSaved':_0x39816c(0x1bb),'configError':_0x39816c(0x1a3),'apiApplyInfo':{'title':_0x39816c(0x1ac),'description':'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.','univerAiLabel':_0x39816c(0x1ab),'getStarted':_0x39816c(0x1b0)},'validation':{'apiKeyRequired':_0x39816c(0x1ad),'apiKeyTooShort':_0x39816c(0x197),'invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20lệ','invalidApiKey':_0x39816c(0x198)},'connectionStatus':{'disconnected':_0x39816c(0x1af),'connecting':_0x39816c(0x1bd),'connected':'Đã\x20kết\x20nối','failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x39816c(0x1bc)},'connectionError':{'unauthorized':_0x39816c(0x19e),'sessionOccupied':_0x39816c(0x1a4),'networkError':_0x39816c(0x1b9),'maxRetriesExceeded':'Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau'}}};function _0x4901(){const _0x5e0f4f=['Bảng\x20điều\x20khiển\x20Univer\x20AI','Khóa\x20API\x20là\x20gì?','Yêu\x20cầu\x20khóa\x20API','MCP\x20Đang\x20kết\x20nối...','Đã\x20ngắt\x20kết\x20nối','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Cấu\x20hình\x20MCP','Cấu\x20hình\x20máy\x20khách\x20MCP','4PpRgdI','1491630IHSfYz','265gkYovt','887136AOZKJV','249980QJifsi','MCP:\x20Lỗi\x20mạng','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','13554AcRRLV','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Đang\x20thử\x20lại...','Đang\x20kết\x20nối...','145748XHdRjm','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','MCP\x20Đã\x20ngắt\x20kết\x20nối','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Đang\x20lưu...','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','ID\x20phiên','Nhập\x20khóa\x20API\x20của\x20bạn','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Bật\x20xác\x20thực','7855884vRvzIH','Nhấp\x20để\x20kết\x20nối\x20MCP','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Lưu\x20cấu\x20hình\x20thất\x20bại','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','529197IrdpFz','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Các\x20bước\x20cấu\x20hình:','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này'];_0x4901=function(){return _0x5e0f4f;};return _0x4901();}export{locale as default};
1
+ function _0x7f2f(){const _0x146b7a=['Số\x20lần\x20thử\x20lại\x20tối\x20đa','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','30iRpTOq','Lưu\x20cấu\x20hình\x20thất\x20bại','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','MCP:\x20Không\x20được\x20phép','MCP:\x20Lỗi\x20mạng','Nhấp\x20để\x20cấu\x20hình\x20MCP','Khóa\x20API\x20là\x20gì?','736337CxqnFz','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','MCP\x20Đang\x20thử\x20lại...','Kết\x20nối\x20thất\x20bại','3758704kDOgcs','Nhập\x20khóa\x20API\x20của\x20bạn','Tham\x20số\x20cấu\x20hình:','56SqfAqw','576mvHyxs','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','MCP\x20Đã\x20kết\x20nối','Lưu\x20cấu\x20hình','Cấu\x20hình\x20MCP','Đã\x20kết\x20nối','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','MCP\x20Kết\x20nối\x20thất\x20bại','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','3487NzjnMh','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','5437086bwRSVz','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','ID\x20phiên','Đã\x20ngắt\x20kết\x20nối','Cấu\x20hình\x20không\x20hợp\x20lệ','Đị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.','4444857EReBJu','4482995RjvyRe','Nhấp\x20để\x20kết\x20nối\x20MCP','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','MCP\x20Đã\x20ngắt\x20kết\x20nối','Đang\x20lưu...','Cấu\x20hình\x20máy\x20khách\x20MCP','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Các\x20bước\x20cấu\x20hình:','Bảng\x20điều\x20khiển\x20Univer\x20AI','7474002IfrGgA','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới'];_0x7f2f=function(){return _0x146b7a;};return _0x7f2f();}const _0x100dea=_0x5ca1;function _0x5ca1(_0x3cadf7,_0x304980){_0x3cadf7=_0x3cadf7-0x1df;const _0x7f2f8a=_0x7f2f();let _0x5ca106=_0x7f2f8a[_0x3cadf7];return _0x5ca106;}(function(_0x2970ff,_0x3a6162){const _0x931465=_0x5ca1,_0x607f64=_0x2970ff();while(!![]){try{const _0x58eb67=parseInt(_0x931465(0x206))/0x1*(-parseInt(_0x931465(0x1fa))/0x2)+parseInt(_0x931465(0x209))/0x3+-parseInt(_0x931465(0x1f6))/0x4+-parseInt(_0x931465(0x210))/0x5+parseInt(_0x931465(0x1e7))/0x6+-parseInt(_0x931465(0x1f2))/0x7*(parseInt(_0x931465(0x1f9))/0x8)+parseInt(_0x931465(0x20f))/0x9*(parseInt(_0x931465(0x1eb))/0xa);if(_0x58eb67===_0x3a6162)break;else _0x607f64['push'](_0x607f64['shift']());}catch(_0x1677f7){_0x607f64['push'](_0x607f64['shift']());}}}(_0x7f2f,0xeb0dc));const e={'mcpStatus':{'disconnected':_0x100dea(0x1e1),'connecting':'MCP\x20Đang\x20kết\x20nối...','connected':_0x100dea(0x1fd),'failed':_0x100dea(0x203),'retrying':_0x100dea(0x1f4),'unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':_0x100dea(0x1ee),'sessionOccupied':_0x100dea(0x1e4),'networkError':_0x100dea(0x1ef),'maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':_0x100dea(0x1df),'clickToConfigure':_0x100dea(0x1f0)},'mcpConfig':{'title':_0x100dea(0x1ff),'description':_0x100dea(0x205),'apiKey':'Khóa\x20API','apiKeyPlaceholder':_0x100dea(0x1f7),'apiKeyHint':_0x100dea(0x208),'enableAuth':'Bật\x20xác\x20thực','enableAuthHint':_0x100dea(0x1e0),'connectionInfo':_0x100dea(0x1e3),'mcpClientConfig':_0x100dea(0x1e3),'configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x100dea(0x1e5),'configStep1':_0x100dea(0x1e8),'configStep2':_0x100dea(0x1ed),'configStep3':_0x100dea(0x1fc),'sessionId':_0x100dea(0x20b),'sessionIdDescription':_0x100dea(0x20e),'authorizationDescription':_0x100dea(0x204),'configParameters':_0x100dea(0x1f8),'maxRetries':_0x100dea(0x1e9),'save':_0x100dea(0x1fe),'saving':_0x100dea(0x1e2),'note1':'Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','note2':_0x100dea(0x202),'configSaved':_0x100dea(0x1f3),'configError':_0x100dea(0x1ec),'apiApplyInfo':{'title':_0x100dea(0x1f1),'description':'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.','univerAiLabel':_0x100dea(0x1e6),'getStarted':_0x100dea(0x1fb)},'validation':{'apiKeyRequired':'Yêu\x20cầu\x20khóa\x20API','apiKeyTooShort':'Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','invalidConfig':_0x100dea(0x20d),'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':_0x100dea(0x20c),'connecting':'Đang\x20kết\x20nối...','connected':_0x100dea(0x200),'failed':_0x100dea(0x1f5),'retrying':'Đang\x20thử\x20lại...'},'connectionError':{'unauthorized':_0x100dea(0x207),'sessionOccupied':_0x100dea(0x20a),'networkError':_0x100dea(0x1ea),'maxRetriesExceeded':_0x100dea(0x201)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x507ded=_0x11d0;(function(_0x4d19a3,_0x22be98){const _0x74eba4=_0x11d0,_0x11e85e=_0x4d19a3();while(!![]){try{const _0x448469=-parseInt(_0x74eba4(0x1e8))/0x1+parseInt(_0x74eba4(0x210))/0x2+-parseInt(_0x74eba4(0x1fb))/0x3+parseInt(_0x74eba4(0x20f))/0x4+parseInt(_0x74eba4(0x201))/0x5+parseInt(_0x74eba4(0x1e9))/0x6+parseInt(_0x74eba4(0x1e1))/0x7*(-parseInt(_0x74eba4(0x1f8))/0x8);if(_0x448469===_0x22be98)break;else _0x11e85e['push'](_0x11e85e['shift']());}catch(_0xf2a37c){_0x11e85e['push'](_0x11e85e['shift']());}}}(_0x3cf4,0xb4c09));function _0x11d0(_0x493b8d,_0x153632){_0x493b8d=_0x493b8d-0x1e0;const _0x3cf4e7=_0x3cf4();let _0x11d0f9=_0x3cf4e7[_0x493b8d];return _0x11d0f9;}function _0x3cf4(){const _0x3c74f7=['重启您的\x20MCP\x20客户端以使配置生效','配置参数:','未连接','启用身份验证以获得安全连接','MCP\x20重连中...','复制以下\x20JSON\x20配置','MCP:\x20超出最大重试次数','MCP\x20状态未知','API\x20密钥长度至少需要\x2010\x20位','连接中...','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20已断开','MCP\x20连接失败','1389880wOolVG','540758WktNid','API\x20密钥','保存中...','1534946DeYrEY','连接失败','最大重试次数','配置无效','什么是\x20API\x20密钥?','MCP\x20配置','请输入您的\x20API\x20密钥','593476ggvuXE','8590926qudxWl','MCP\x20连接中...','点击配置\x20MCP','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP:\x20未授权','重连中...','API\x20密钥不能为空','MCP\x20客户端配置','会话ID','配置\x20MCP\x20使用\x20AI\x20操作电子表格','超出最大重试次数,请稍后再试','启用身份验证','已连接','权限验证失败,请检查您的\x20API\x20密钥','24PmkFbT','您的\x20API\x20密钥安全存储在本地存储中','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','4308219ePAxJz','保存配置','网络连接错误,请检查您的网络连接','配置步骤:','将配置添加到您的\x20MCP\x20客户端设置文件中','几秒钟内获取您的\x20API\x20密钥','6890370NoWMYw'];_0x3cf4=function(){return _0x3c74f7;};return _0x3cf4();}const locale={'mcpStatus':{'disconnected':_0x507ded(0x20d),'connecting':_0x507ded(0x1ea),'connected':'MCP\x20已连接','failed':_0x507ded(0x20e),'retrying':_0x507ded(0x206),'unknown':_0x507ded(0x209),'unauthorized':_0x507ded(0x1ee),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x507ded(0x208),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x507ded(0x1eb)},'mcpConfig':{'title':_0x507ded(0x1e6),'description':_0x507ded(0x1f3),'apiKey':_0x507ded(0x211),'apiKeyPlaceholder':_0x507ded(0x1e7),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x507ded(0x1f5),'enableAuthHint':_0x507ded(0x205),'connectionInfo':_0x507ded(0x1f1),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x507ded(0x1ed),'configStepTitle':_0x507ded(0x1fe),'configStep1':_0x507ded(0x207),'configStep2':_0x507ded(0x1ff),'configStep3':_0x507ded(0x202),'sessionId':_0x507ded(0x1f2),'sessionIdDescription':_0x507ded(0x1ec),'authorizationDescription':_0x507ded(0x20c),'configParameters':_0x507ded(0x203),'maxRetries':_0x507ded(0x1e3),'save':_0x507ded(0x1fc),'saving':_0x507ded(0x1e0),'note1':'配置更改将立即生效','note2':_0x507ded(0x1f9),'configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':_0x507ded(0x1e5),'description':_0x507ded(0x1fa),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x507ded(0x200)},'validation':{'apiKeyRequired':_0x507ded(0x1f0),'apiKeyTooShort':_0x507ded(0x20a),'invalidConfig':_0x507ded(0x1e4),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x507ded(0x204),'connecting':_0x507ded(0x20b),'connected':_0x507ded(0x1f6),'failed':_0x507ded(0x1e2),'retrying':_0x507ded(0x1ef)},'connectionError':{'unauthorized':_0x507ded(0x1f7),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x507ded(0x1fd),'maxRetriesExceeded':_0x507ded(0x1f4)}}};export{locale as default};
1
+ const _0x21ab96=_0x3a79;(function(_0x4cf764,_0x5f3628){const _0x55e790=_0x3a79,_0x592d98=_0x4cf764();while(!![]){try{const _0x1f54b0=-parseInt(_0x55e790(0x159))/0x1+parseInt(_0x55e790(0x16e))/0x2*(-parseInt(_0x55e790(0x16c))/0x3)+parseInt(_0x55e790(0x172))/0x4*(-parseInt(_0x55e790(0x16d))/0x5)+parseInt(_0x55e790(0x162))/0x6+parseInt(_0x55e790(0x173))/0x7+-parseInt(_0x55e790(0x187))/0x8*(-parseInt(_0x55e790(0x174))/0x9)+parseInt(_0x55e790(0x158))/0xa;if(_0x1f54b0===_0x5f3628)break;else _0x592d98['push'](_0x592d98['shift']());}catch(_0x3fd9b1){_0x592d98['push'](_0x592d98['shift']());}}}(_0x4746,0x246c7));const e={'mcpStatus':{'disconnected':_0x21ab96(0x170),'connecting':_0x21ab96(0x16a),'connected':_0x21ab96(0x157),'failed':'MCP\x20连接失败','retrying':_0x21ab96(0x167),'unknown':_0x21ab96(0x17f),'unauthorized':_0x21ab96(0x164),'sessionOccupied':_0x21ab96(0x16f),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x21ab96(0x181),'clickToConnect':_0x21ab96(0x180),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x21ab96(0x163),'description':_0x21ab96(0x179),'apiKey':_0x21ab96(0x15d),'apiKeyPlaceholder':_0x21ab96(0x168),'apiKeyHint':_0x21ab96(0x185),'enableAuth':_0x21ab96(0x160),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x21ab96(0x171),'mcpClientConfig':_0x21ab96(0x171),'configInstructions':_0x21ab96(0x183),'configStepTitle':_0x21ab96(0x176),'configStep1':_0x21ab96(0x184),'configStep2':_0x21ab96(0x15f),'configStep3':_0x21ab96(0x182),'sessionId':_0x21ab96(0x178),'sessionIdDescription':_0x21ab96(0x155),'authorizationDescription':_0x21ab96(0x16b),'configParameters':_0x21ab96(0x175),'maxRetries':_0x21ab96(0x15e),'save':_0x21ab96(0x154),'saving':_0x21ab96(0x15c),'note1':_0x21ab96(0x166),'note2':_0x21ab96(0x188),'configSaved':'配置保存成功','configError':_0x21ab96(0x17b),'apiApplyInfo':{'title':_0x21ab96(0x161),'description':_0x21ab96(0x165),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x21ab96(0x177)},'validation':{'apiKeyRequired':_0x21ab96(0x17c),'apiKeyTooShort':_0x21ab96(0x15a),'invalidConfig':_0x21ab96(0x17a),'invalidApiKey':_0x21ab96(0x15b)},'connectionStatus':{'disconnected':_0x21ab96(0x17e),'connecting':_0x21ab96(0x186),'connected':'已连接','failed':_0x21ab96(0x17d),'retrying':_0x21ab96(0x156)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x21ab96(0x169)}}};function _0x3a79(_0x4b9ddb,_0x40eab6){_0x4b9ddb=_0x4b9ddb-0x154;const _0x4746eb=_0x4746();let _0x3a79b5=_0x4746eb[_0x4b9ddb];return _0x3a79b5;}function _0x4746(){const _0x8973aa=['MCP:\x20会话\x20ID\x20已被占用','MCP\x20已断开','MCP\x20客户端配置','4sHSdwX','748727DEvDFi','139599kFMJLi','配置参数:','配置步骤:','几秒钟内获取您的\x20API\x20密钥','会话ID','配置\x20MCP\x20使用\x20AI\x20操作电子表格','配置无效','配置保存失败','API\x20密钥不能为空','连接失败','未连接','MCP\x20状态未知','点击连接\x20MCP','MCP:\x20超出最大重试次数','重启您的\x20MCP\x20客户端以使配置生效','将以下配置添加到您的\x20MCP\x20客户端设置中:','复制以下\x20JSON\x20配置','您的\x20API\x20密钥将在此浏览器中本地存储','连接中...','40SqwRuq','您的\x20API\x20密钥安全存储在本地存储中','保存配置','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','重连中...','MCP\x20已连接','1642030FDctGd','225310mMbexQ','API\x20密钥长度至少需要\x2010\x20位','API\x20密钥无效,请检查密钥是否正确','保存中...','API\x20密钥','最大重试次数','将配置添加到您的\x20MCP\x20客户端设置文件中','启用身份验证','什么是\x20API\x20密钥?','1371510qVgLXR','MCP\x20配置','MCP:\x20未授权','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置更改将立即生效','MCP\x20重连中...','请输入您的\x20API\x20密钥','超出最大重试次数,请稍后再试','MCP\x20连接中...','带有\x20Bearer\x20前缀的\x20API\x20密钥。','36966bPbZFz','952405NUsWkB','2ZadzwX'];_0x4746=function(){return _0x8973aa;};return _0x4746();}export{e as default};
@@ -1 +1 @@
1
- const _0x92ba3f=_0x4747;(function(_0x509621,_0x28e410){const _0x446c15=_0x4747,_0x26f8ad=_0x509621();while(!![]){try{const _0xfd1bbd=-parseInt(_0x446c15(0x17b))/0x1+-parseInt(_0x446c15(0x16b))/0x2+parseInt(_0x446c15(0x169))/0x3*(parseInt(_0x446c15(0x162))/0x4)+-parseInt(_0x446c15(0x179))/0x5+-parseInt(_0x446c15(0x17d))/0x6*(parseInt(_0x446c15(0x185))/0x7)+parseInt(_0x446c15(0x159))/0x8*(parseInt(_0x446c15(0x15f))/0x9)+parseInt(_0x446c15(0x15a))/0xa*(parseInt(_0x446c15(0x184))/0xb);if(_0xfd1bbd===_0x28e410)break;else _0x26f8ad['push'](_0x26f8ad['shift']());}catch(_0x27407f){_0x26f8ad['push'](_0x26f8ad['shift']());}}}(_0x3c98,0xcb26f));function _0x4747(_0x1088d6,_0x34fdba){_0x1088d6=_0x1088d6-0x153;const _0x3c982c=_0x3c98();let _0x4747ea=_0x3c982c[_0x1088d6];return _0x4747ea;}function _0x3c98(){const _0x225b88=['MCP\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connected','API\x20key\x20is\x20required','Invalid\x20configuration','Configuration\x20saved\x20successfully','Saving...','7333065EICRvJ','Save\x20Configuration','1239222QxCqyw','Session\x20ID','247062xRtAwD','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20Authentication','135619wnbBdE','98fzNSEK','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\x20Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Network\x20Error','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Max\x20Retries\x20Exceeded','24Hiiiut','1490jHCLew','Retrying...','Univer\x20AI\x20Console','Copy\x20the\x20JSON\x20configuration\x20below','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4413411opUUJf','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connected','8KPdfHy','API\x20Key','What\x20is\x20API\x20Key?','MCP\x20Disconnected','Max\x20Retries','Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','1800174DTmpmA','MCP\x20Retrying...','787700zrznXy','Connection\x20Failed','MCP\x20Client\x20Configuration','Configuration\x20Parameters:'];_0x3c98=function(){return _0x225b88;};return _0x3c98();}const locale$1={'mcpStatus':{'disconnected':_0x92ba3f(0x165),'connecting':_0x92ba3f(0x153),'connected':_0x92ba3f(0x161),'failed':'MCP\x20Connection\x20Failed','retrying':_0x92ba3f(0x16a),'unknown':_0x92ba3f(0x17e),'unauthorized':_0x92ba3f(0x172),'sessionOccupied':_0x92ba3f(0x160),'networkError':_0x92ba3f(0x155),'maxRetriesExceeded':_0x92ba3f(0x158),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x92ba3f(0x16f),'description':_0x92ba3f(0x15e),'apiKey':_0x92ba3f(0x163),'apiKeyPlaceholder':_0x92ba3f(0x17f),'apiKeyHint':_0x92ba3f(0x182),'enableAuth':_0x92ba3f(0x183),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x92ba3f(0x16d),'mcpClientConfig':_0x92ba3f(0x16d),'configInstructions':_0x92ba3f(0x168),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x92ba3f(0x15d),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x92ba3f(0x154),'sessionId':_0x92ba3f(0x17c),'sessionIdDescription':_0x92ba3f(0x157),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x92ba3f(0x16e),'maxRetries':_0x92ba3f(0x166),'save':_0x92ba3f(0x17a),'saving':_0x92ba3f(0x178),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x92ba3f(0x177),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x92ba3f(0x164),'description':_0x92ba3f(0x186),'univerAiLabel':_0x92ba3f(0x15c),'getStarted':_0x92ba3f(0x171)},'validation':{'apiKeyRequired':_0x92ba3f(0x175),'apiKeyTooShort':_0x92ba3f(0x170),'invalidConfig':_0x92ba3f(0x176),'invalidApiKey':_0x92ba3f(0x180)},'connectionStatus':{'disconnected':_0x92ba3f(0x167),'connecting':'Connecting...','connected':_0x92ba3f(0x174),'failed':_0x92ba3f(0x16c),'retrying':_0x92ba3f(0x15b)},'connectionError':{'unauthorized':_0x92ba3f(0x181),'sessionOccupied':_0x92ba3f(0x173),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x92ba3f(0x156)}}},locale=locale$1;export{locale as default};
1
+ const _0x4d027a=_0x2631;(function(_0x51f731,_0x2f997c){const _0x17f350=_0x2631,_0x53d642=_0x51f731();while(!![]){try{const _0x4081d0=-parseInt(_0x17f350(0xab))/0x1*(parseInt(_0x17f350(0x98))/0x2)+parseInt(_0x17f350(0x8b))/0x3+parseInt(_0x17f350(0xb6))/0x4*(-parseInt(_0x17f350(0xa9))/0x5)+-parseInt(_0x17f350(0x9b))/0x6+parseInt(_0x17f350(0xb3))/0x7*(parseInt(_0x17f350(0x8d))/0x8)+parseInt(_0x17f350(0xb4))/0x9+parseInt(_0x17f350(0x93))/0xa;if(_0x4081d0===_0x2f997c)break;else _0x53d642['push'](_0x53d642['shift']());}catch(_0x478aa0){_0x53d642['push'](_0x53d642['shift']());}}}(_0x3587,0xa4772));const e={'mcpStatus':{'disconnected':_0x4d027a(0x91),'connecting':'MCP\x20Connecting...','connected':_0x4d027a(0x97),'failed':_0x4d027a(0x8c),'retrying':_0x4d027a(0xa8),'unknown':_0x4d027a(0xb1),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4d027a(0x8a),'maxRetriesExceeded':_0x4d027a(0xa6),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4d027a(0xa5)},'mcpConfig':{'title':_0x4d027a(0x92),'description':_0x4d027a(0xa1),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4d027a(0xaf),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4d027a(0xac),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4d027a(0x90),'configStepTitle':_0x4d027a(0xa2),'configStep1':_0x4d027a(0x94),'configStep2':_0x4d027a(0x95),'configStep3':_0x4d027a(0x8e),'sessionId':_0x4d027a(0xa4),'sessionIdDescription':_0x4d027a(0x9d),'authorizationDescription':_0x4d027a(0x8f),'configParameters':_0x4d027a(0xa3),'maxRetries':_0x4d027a(0xb0),'save':_0x4d027a(0xa7),'saving':_0x4d027a(0x96),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4d027a(0xa0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4d027a(0x9e),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4d027a(0xb2)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x4d027a(0xad),'invalidApiKey':_0x4d027a(0xb5)},'connectionStatus':{'disconnected':_0x4d027a(0x9c),'connecting':_0x4d027a(0x9f),'connected':_0x4d027a(0x9a),'failed':'Connection\x20Failed','retrying':_0x4d027a(0xae)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4d027a(0x99),'networkError':_0x4d027a(0xaa),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x3587(){const _0x503abc=['395gCqMfo','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','21gfOmWr','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Max\x20Retries','MCP\x20Unknown\x20Status','Get\x20your\x20API\x20key\x20in\x20seconds','1275673azpJgu','11879082fLTqhI','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','55956fzPJsw','MCP:\x20Network\x20Error','3981306RnUWrI','MCP\x20Connection\x20Failed','32dEdXsX','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Disconnected','MCP\x20Configuration','6839380vLhpaY','Copy\x20the\x20JSON\x20configuration\x20below','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Saving...','MCP\x20Connected','110060hPNYQh','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connected','6752898mrZzzf','Disconnected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','What\x20is\x20API\x20Key?','Connecting...','Configuration\x20saved\x20successfully','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20Steps:','Configuration\x20Parameters:','Session\x20ID','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Save\x20Configuration','MCP\x20Retrying...'];_0x3587=function(){return _0x503abc;};return _0x3587();}function _0x2631(_0x29ce97,_0x1743cb){_0x29ce97=_0x29ce97-0x8a;const _0x358701=_0x3587();let _0x263124=_0x358701[_0x29ce97];return _0x263124;}export{e as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3c6f(_0x2634e5,_0x1b4813){_0x2634e5=_0x2634e5-0x180;const _0x12e27f=_0x12e2();let _0x3c6f5d=_0x12e27f[_0x2634e5];return _0x3c6f5d;}function _0x12e2(){const _0x18b03e=['currentColor','mask','connectInjector','mcp.apiKey','univer-bg-green-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','includes','mcpConfig.apiApplyInfo.title','HEADER_MENU','univer-text-white','createElement','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','CloseIcon','11TpjDVw','UniverCore','version','配置更改将立即生效','translate(.97)','_createConfigPanelComponent','Invalid\x20configuration','fill','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','symbol','univer-shrink-0\x20univer-text-red-500','1em','MCP\x20客户端配置','@univerjs/ui','NONE','univer-flex\x20univer-items-center\x20univer-gap-2','idSuffix','removeItem','Module','Copy\x20the\x20JSON\x20configuration\x20below','启用身份验证','apiKey','UniverMCPUIPlugin','COMMAND','sessionId$','mcpStatus.clickToConfigure','RETRYING','ILocalStorageService','current','string','useDependency','MCPConnectionError','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','配置保存成功','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\x20重连中...','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','API\x20密钥','stringify','univerjs-icon\x20univerjs-icon-','function','API\x20key\x20with\x20Bearer\x20prefix.','getItem','tag','您的\x20API\x20密钥安全存储在本地存储中','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','registerComponent','jsxs','error','useState','_injector','univer-flex\x20univer-items-start\x20univer-gap-2','API\x20key\x20is\x20required','mcpConfig.apiApplyInfo.univerAiLabel','univer-flex-1','Disposable','mcpConfig.apiApplyInfo.description','MCPConnectionController','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','connectionStatus$','off-line-icon','mcpConfig.connectionStatus.connecting','onStarting','univer-text-red-500','会话\x20ID\x20已被占用,请稍后再试','UniverMCPPlugin','2030wjHjEj','重启您的\x20MCP\x20客户端以使配置生效','add','length','Connection\x20Failed','Enable\x20Authentication','154vNfbOt','MCP\x20Client\x20Configuration','forwardRef','forEach','MCPConnectionStatus','mcpConfig.validation.invalidConfig','round','merge','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','会话ID','has','univer-flex\x20univer-gap-3','UniverProMcpUi','IUIPartsService','isValid','请输入您的\x20API\x20密钥','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','配置步骤:','React','MenuItemType','ComponentManager','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','mcp-config-dialog','@univerjs/core','univer-size-4','几秒钟内获取您的\x20API\x20密钥','close','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','ICommandService','univer-text-gray-400','\x20-\x20','Input','_config$','univer-text-xs\x20univer-text-gray-600','exports','您的\x20API\x20密钥将在此浏览器中本地存储','http','_dialogService','OnLineIcon','Injector','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','API\x20密钥长度至少需要\x2010\x20位','_handleConfigure','univer_session_id:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','url(#on-line-icon_clip0_910_349)','defs','_menuManagerService','noopener\x20noreferrer','subscribe','_config','Button','MCP\x20Connection\x20Failed','<SESSION_ID>','white','重连中...','univer-text-xs\x20univer-text-gray-500','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','mcpConfig.configStep3','SESSION_ID_OCCUPIED','push','mcpStatus.sessionOccupied','mcp-ui.config','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_localStorageService','Tooltip','DISCONNECTED','mcpConfig.connectionError.unauthorized','MessageType','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-bg-gray-500','mcp-ui.command.openConfigPanel','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','amd','MCPStatusDisplay','_validateConfig','OpenMCPConfigPanelCommand','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','带有\x20Bearer\x20前缀的\x20API\x20密钥。','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','MCP\x20Configuration','What\x20is\x20API\x20Key?','toStringTag','保存中...','ISocketService','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','IDialogService','map','useRef','Error','MCP:\x20Session\x20ID\x20Occupied','Bearer\x20','clipPath','off-line-icon_clip0_910_343','evenodd','enUS','M0\x200H16V16H0z','HelpIcon','mcpStatus.connecting','div','MCPConfigPanel','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','help-icon','FAILED','useObservable','http://www.w3.org/2000/svg','getCurrentConfig','MCP\x20Retrying...','next','Saving...','MCP\x20Unknown\x20Status','API\x20密钥不能为空','Session\x20ID','mcpConfig.title','mcpConfig.configStep1','_mcpConnectionController','univer-size-2\x20univer-rounded-full','NETWORK_ERROR','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-shrink-0\x20univer-text-blue-500','CONNECTED','306394HAIrGZ','url(#$1','path','配置无效','MCP:\x20超出最大重试次数','mcpStatus.unknown','zhCN','mcpStatus.clickToConnect','_initializeMenus','univer-text-yellow-500','_loadStoredApiKey','_connectionController','MCPUIMenuController','open','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','https://console.univer.ai','Configuration\x20Steps:','mcpConfig.connectionInfo','未连接','_messageService','register','mcpConfig.description','showDeveloperTools','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','CONNECTING','mcpConfig.configStepTitle','什么是\x20API\x20密钥?','univer-text-gray-500','_uiPartsService','toPrimitive','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','_componentManager','Failed\x20to\x20save\x20configuration','prototype','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpServerUrl','decorate','get','UniverUi','mcpConfig.configStep2','mcpConfig.connectionError.sessionOccupied','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','errorMessage','mcpConfig.apiKeyHint','pre','_commandService','MCP:\x20未授权','mcpConfig.configParameters','DependentOn','3096bShBTJ','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','on-line-icon_clip0_910_349','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','5786956SqIZdC','Configuration\x20Parameters:','@univerjs-pro/mcp','API\x20密钥无效,请检查密钥是否正确','univer-font-medium','defineProperty','mcpConfig.validation.invalidApiKey','Disconnected','UniverProMcp','clsx','xlink:href','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','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','_registerComponent','Univer\x20AI\x20控制台','mcpConfig.apiKey','网络连接错误,请检查您的网络连接','setItem','random','_initAutoConnect','mcpStatus.networkError','复制以下\x20JSON\x20配置','disposeWithMe','Univer\x20AI\x20Console','substring','_initializeCommands','MCP:\x20Network\x20Error','mcpConfig.connectionStatus.disconnected','univer.ai','_configService','children','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-text-blue-600','OffLineIcon','Click\x20to\x20configure\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20连接失败','MCP_PLUGIN_CONFIG_KEY','622503SfAXsp','span','Click\x20to\x20connect\x20MCP','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-space-y-2','MAX_RETRIES_EXCEEDED','4577075ZZPMjj','getConfig','constructor','252012stElhG','IConfigService','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','ILogService','0\x200\x2016\x2016','_localeService','Inject','showStatus','text','entries','enableAutoConnect','__setCustomHeaders','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','_apiKey$','CommandType','LocaleService','mergeMenu','value','Connected','MCP\x20已连接','0.22.1','配置\x20MCP\x20使用\x20AI\x20操作电子表格','button','replace','connectionError$','use','Retrying...','保存配置','MCP\x20连接中...','IMessageService','Plugin','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','0\x200\x2017\x2016','univer-mr-2\x20univer-flex\x20univer-text-xl','Enter\x20your\x20API\x20key','assign','displayName','API\x20Key','none','univer-min-w-0\x20univer-flex-1','MCPConfigUIController','MCP\x20Connected','react','MCP\x20Connecting...','useCallback','react/jsx-runtime','mcpStatus.disconnected','mcpConfig.apiApplyInfo.getStarted','call','UNAUTHORIZED','CheckMarkIcon','mcpStatus.connected','\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','_initConfigSync','MCPConnectionUIController','14223CAXWmq','mcpConfig.note1','mcpConfig.validation.apiKeyTooShort','https://mcp.univer.ai/mcp/?univer_session_id=','BehaviorSubject','object','_loading$','svg','univer-bg-red-500','5445aEkCju','_mcpCoreConfig$','univer-flex\x20univer-items-center\x20univer-gap-3','UniverDesign','<API_KEY>','univer.plus','univer-bg-blue-500','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','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\x20配置','attrs','pluginName','mcpStatus.retrying','trim','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','点击连接\x20MCP','showConfigPanel','iterator','Configuration\x20saved\x20successfully','univer-text-green-500','mcpStatus.maxRetriesExceeded','univer-space-y-3','registerCommand','rxjs','colorChannel1','univer-flex\x20univer-flex-wrap\x20univer-gap-2','点击配置\x20MCP','show','univer-space-y-5','RibbonStartGroup','jsx'];_0x12e2=function(){return _0x18b03e;};return _0x12e2();}(function(_0x3df012,_0x1ca032){const _0x3f9285=_0x3c6f,_0x529ad0=_0x3df012();while(!![]){try{const _0x5460fd=-parseInt(_0x3f9285(0x1c5))/0x1*(parseInt(_0x3f9285(0x288))/0x2)+-parseInt(_0x3f9285(0x2e4))/0x3+parseInt(_0x3f9285(0x2be))/0x4+parseInt(_0x3f9285(0x2ea))/0x5+-parseInt(_0x3f9285(0x2ed))/0x6*(-parseInt(_0x3f9285(0x20e))/0x7)+-parseInt(_0x3f9285(0x2ba))/0x8*(parseInt(_0x3f9285(0x199))/0x9)+-parseInt(_0x3f9285(0x208))/0xa*(parseInt(_0x3f9285(0x190))/0xb);if(_0x5460fd===_0x1ca032)break;else _0x529ad0['push'](_0x529ad0['shift']());}catch(_0x2e0c6d){_0x529ad0['push'](_0x529ad0['shift']());}}}(_0x12e2,0xdaf94),function(_0x13018d,_0x4dbb55){const _0x1fab48=_0x3c6f;typeof exports==_0x1fab48(0x195)&&typeof module<'u'?_0x4dbb55(exports,require(`@univerjs/core`),require(`@univerjs-pro/mcp`),require(`@univerjs/design`),require(`@univerjs/ui`),require(`rxjs`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/network`)):typeof define==_0x1fab48(0x1ed)&&define[_0x1fab48(0x258)]?define([_0x1fab48(0x231),_0x1fab48(0x226),_0x1fab48(0x2c0),'@univerjs/design',_0x1fab48(0x1d2),_0x1fab48(0x1b0),_0x1fab48(0x183),_0x1fab48(0x186),'@univerjs/network'],_0x4dbb55):(_0x13018d=typeof globalThis<'u'?globalThis:_0x13018d||self,_0x4dbb55(_0x13018d[_0x1fab48(0x21a)]={},_0x13018d[_0x1fab48(0x1c6)],_0x13018d[_0x1fab48(0x2c6)],_0x13018d[_0x1fab48(0x19c)],_0x13018d[_0x1fab48(0x2af)],_0x13018d[_0x1fab48(0x1b0)],_0x13018d[_0x1fab48(0x220)],_0x13018d[_0x1fab48(0x220)],_0x13018d['UniverNetwork']));}(this,function(_0x4199ba,_0x321763,_0x43eebc,_0x577a04,_0x4bf02e,_0x2f7a95,_0xe91101,_0x4babf8,_0x4b6c62){const _0x4e837f=_0x3c6f;Object[_0x4e837f(0x2c3)](_0x4199ba,Symbol[_0x4e837f(0x261)],{'value':_0x4e837f(0x1d7)});function _0x38299c({ref:_0x507966,..._0x355cf4}){const _0x946968=_0x4e837f;let {icon:_0x41173a,id:_0x582a53,className:_0x24c890,extend:_0x47226b,..._0x65517c}=_0x355cf4,_0x4735c6=(_0x946968(0x1ec)+_0x582a53+'\x20'+(_0x24c890||''))[_0x946968(0x1a6)](),_0x4a8af7=(0x0,_0xe91101[_0x946968(0x267)])('_'+_0x334c4e());return _0x53b341(_0x41173a,''+_0x582a53,{'defIds':_0x41173a['defIds'],'idSuffix':_0x4a8af7[_0x946968(0x1e1)]},{'ref':_0x507966,'className':_0x4735c6,..._0x65517c},_0x47226b);}function _0x53b341(_0xf1f700,_0x5dbc0b,_0x36a6a9,_0x27bca5,_0x17337a){const _0x3ed925=_0x4e837f;return(0x0,_0xe91101[_0x3ed925(0x1c2)])(_0xf1f700[_0x3ed925(0x1f0)],{'key':_0x5dbc0b,..._0x1e85c1(_0xf1f700,_0x36a6a9,_0x17337a),..._0x27bca5},(_0x39ecc6(_0xf1f700,_0x36a6a9)[_0x3ed925(0x2dc)]||[])[_0x3ed925(0x266)]((_0x2b7f66,_0x54b47b)=>_0x53b341(_0x2b7f66,_0x5dbc0b+'-'+_0xf1f700[_0x3ed925(0x1f0)]+'-'+_0x54b47b,_0x36a6a9,void 0x0,_0x17337a)));}function _0x1e85c1(_0x1a4135,_0x4a83c9,_0x37ddaa){const _0xf372a2=_0x4e837f;let _0x194030={..._0x1a4135['attrs']};_0x37ddaa!=null&&_0x37ddaa['colorChannel1']&&_0x194030[_0xf372a2(0x1cc)]===_0xf372a2(0x1b1)&&(_0x194030[_0xf372a2(0x1cc)]=_0x37ddaa[_0xf372a2(0x1b1)]),_0x1a4135['tag']===_0xf372a2(0x1b9)&&_0x194030['id']&&(_0x194030['id']+=_0x4a83c9[_0xf372a2(0x1d5)]),Object[_0xf372a2(0x2f7)](_0x194030)[_0xf372a2(0x211)](([_0x1bb6e9,_0x15ecf0])=>{const _0x4be4c6=_0xf372a2;_0x1bb6e9===_0x4be4c6(0x1b9)&&typeof _0x15ecf0==_0x4be4c6(0x1e2)&&(_0x194030[_0x1bb6e9]=_0x15ecf0[_0x4be4c6(0x305)](/url\(#(.*)\)/,_0x4be4c6(0x289)+_0x4a83c9[_0x4be4c6(0x1d5)]+')'));});let {defIds:_0x2f5fbe}=_0x4a83c9;return!_0x2f5fbe||_0x2f5fbe[_0xf372a2(0x20b)]===0x0?_0x194030:(_0x1a4135[_0xf372a2(0x1f0)]===_0xf372a2(0x307)&&_0x194030[_0xf372a2(0x2c8)]&&(_0x194030[_0xf372a2(0x2c8)]+=_0x4a83c9[_0xf372a2(0x1d5)]),Object['entries'](_0x194030)['forEach'](([_0x389bab,_0x5e6cb5])=>{const _0x1408bb=_0xf372a2;typeof _0x5e6cb5=='string'&&(_0x194030[_0x389bab]=_0x5e6cb5[_0x1408bb(0x305)](/url\(#(.*)\)/,_0x1408bb(0x289)+_0x4a83c9['idSuffix']+')'));}),_0x194030);}function _0x39ecc6(_0x4f93fe,_0x3f2136){const _0x2ae0be=_0x4e837f;var _0x3f29ed;let {defIds:_0x13bc5e}=_0x3f2136;return!_0x13bc5e||_0x13bc5e['length']===0x0?_0x4f93fe:_0x4f93fe[_0x2ae0be(0x1f0)]===_0x2ae0be(0x23d)&&(_0x3f29ed=_0x4f93fe[_0x2ae0be(0x2dc)])!=null&&_0x3f29ed[_0x2ae0be(0x20b)]?{..._0x4f93fe,'children':_0x4f93fe[_0x2ae0be(0x2dc)][_0x2ae0be(0x266)](_0x4f715a=>typeof _0x4f715a[_0x2ae0be(0x1a3)]['id']==_0x2ae0be(0x1e2)&&_0x13bc5e&&_0x13bc5e[_0x2ae0be(0x1be)](_0x4f715a['attrs']['id'])?{..._0x4f715a,'attrs':{..._0x4f715a[_0x2ae0be(0x1a3)],'id':_0x4f715a[_0x2ae0be(0x1a3)]['id']+_0x3f2136[_0x2ae0be(0x1d5)]}}:_0x4f715a)}:_0x4f93fe;}function _0x334c4e(){const _0x124bab=_0x4e837f;return Math[_0x124bab(0x2d0)]()['toString'](0x24)[_0x124bab(0x2d6)](0x2,0x8);}_0x38299c['displayName']='UniverIcon';let _0x4f2818={'tag':_0x4e837f(0x197),'attrs':{'xmlns':_0x4e837f(0x278),'fill':_0x4e837f(0x314),'viewBox':_0x4e837f(0x2f2),'width':_0x4e837f(0x1d0),'height':_0x4e837f(0x1d0)},'children':[{'tag':_0x4e837f(0x28a),'attrs':{'fill':_0x4e837f(0x1b8),'d':_0x4e837f(0x257),'fillRule':_0x4e837f(0x26d),'clipRule':_0x4e837f(0x26d)}}]},_0x4b6fef=(0x0,_0xe91101[_0x4e837f(0x210)])(function(_0xcf2468,_0x41baf7){const _0xeabcb1=_0x4e837f;return(0x0,_0xe91101[_0xeabcb1(0x1c2)])(_0x38299c,Object[_0xeabcb1(0x311)]({},_0xcf2468,{'id':'check-mark-icon','ref':_0x41baf7,'icon':_0x4f2818}));});_0x4b6fef['displayName']=_0x4e837f(0x18b);let _0x400d5b={'tag':_0x4e837f(0x197),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e837f(0x314),'viewBox':'0\x200\x2016\x2016','width':_0x4e837f(0x1d0),'height':_0x4e837f(0x1d0)},'children':[{'tag':_0x4e837f(0x28a),'attrs':{'fill':'currentColor','d':_0x4e837f(0x264)}}]},_0x31cfc4=(0x0,_0xe91101['forwardRef'])(function(_0x4232ab,_0x4c41be){const _0x4f78c6=_0x4e837f;return(0x0,_0xe91101[_0x4f78c6(0x1c2)])(_0x38299c,Object[_0x4f78c6(0x311)]({},_0x4232ab,{'id':'close-icon','ref':_0x4c41be,'icon':_0x400d5b}));});_0x31cfc4[_0x4e837f(0x312)]=_0x4e837f(0x1c4);let _0xee03c2={'tag':'svg','attrs':{'xmlns':_0x4e837f(0x278),'fill':_0x4e837f(0x314),'viewBox':'0\x200\x2016\x2016','width':_0x4e837f(0x1d0),'height':_0x4e837f(0x1d0)},'children':[{'tag':_0x4e837f(0x28a),'attrs':{'fill':'currentColor','d':_0x4e837f(0x248)}},{'tag':'path','attrs':{'fill':_0x4e837f(0x1b8),'d':_0x4e837f(0x1a1)}},{'tag':_0x4e837f(0x28a),'attrs':{'fill':_0x4e837f(0x1b8),'d':_0x4e837f(0x2ca),'fillRule':'evenodd','clipRule':_0x4e837f(0x26d)}}]},_0x4c179e=(0x0,_0xe91101[_0x4e837f(0x210)])(function(_0x4c2fbb,_0x415c1c){const _0x555afa=_0x4e837f;return(0x0,_0xe91101['createElement'])(_0x38299c,Object[_0x555afa(0x311)]({},_0x4c2fbb,{'id':_0x555afa(0x275),'ref':_0x415c1c,'icon':_0xee03c2}));});_0x4c179e['displayName']=_0x4e837f(0x270);let _0x54c67b={'tag':_0x4e837f(0x197),'attrs':{'xmlns':_0x4e837f(0x278),'fill':_0x4e837f(0x314),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4e837f(0x1d0)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4e837f(0x28a),'attrs':{'stroke':_0x4e837f(0x1b8),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4e837f(0x214),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4e837f(0x23d),'attrs':{},'children':[{'tag':_0x4e837f(0x26b),'attrs':{'id':_0x4e837f(0x26c)},'children':[{'tag':'path','attrs':{'fill':_0x4e837f(0x245),'d':_0x4e837f(0x26f)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0xba8e67=(0x0,_0xe91101[_0x4e837f(0x210)])(function(_0x572f47,_0x1ae913){const _0x8575ac=_0x4e837f;return(0x0,_0xe91101['createElement'])(_0x38299c,Object['assign']({},_0x572f47,{'id':_0x8575ac(0x202),'ref':_0x1ae913,'icon':_0x54c67b}));});_0xba8e67[_0x4e837f(0x312)]=_0x4e837f(0x2df);let _0x148329={'tag':_0x4e837f(0x197),'attrs':{'xmlns':_0x4e837f(0x278),'fill':'none','viewBox':_0x4e837f(0x30e),'width':_0x4e837f(0x1d0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4e837f(0x23c)},'children':[{'tag':_0x4e837f(0x28a),'attrs':{'stroke':'currentColor','d':_0x4e837f(0x21e),'strokeLinecap':'round','strokeLinejoin':_0x4e837f(0x214),'strokeWidth':1.2}}]},{'tag':_0x4e837f(0x23d),'attrs':{},'children':[{'tag':_0x4e837f(0x26b),'attrs':{'id':_0x4e837f(0x2bc)},'children':[{'tag':_0x4e837f(0x28a),'attrs':{'fill':_0x4e837f(0x245),'d':'M0\x200H16V16H0z','transform':_0x4e837f(0x1c9)}}]}]}],'defIds':[_0x4e837f(0x2bc)]},_0x48a5f6=(0x0,_0xe91101[_0x4e837f(0x210)])(function(_0x3c08ea,_0x176046){const _0x4987c7=_0x4e837f;return(0x0,_0xe91101[_0x4987c7(0x1c2)])(_0x38299c,Object[_0x4987c7(0x311)]({},_0x3c08ea,{'id':'on-line-icon','ref':_0x176046,'icon':_0x148329}));});_0x48a5f6[_0x4e837f(0x312)]=_0x4e837f(0x235);function _0xf68cd9(_0x426430){const _0x1882a2=_0x4e837f;var _0x23b84d,_0x592d33;let {mcpCoreConfig:_0x1d0d9d,onSave:_0x6b88a9,loading:_0x167aa6=!0x1,config:_0x5aece8,connectionStatus$:_0x337afc,connectionError$:_0x253c73,currentApiKey$:_0x456421,currentSessionId$:_0x8b62ac}=_0x426430,_0x57dcdc=(0x0,_0x4bf02e[_0x1882a2(0x1e3)])(_0x321763[_0x1882a2(0x2fd)]),_0x40d5e6=(0x0,_0x4bf02e[_0x1882a2(0x277)])(_0x337afc,_0x43eebc['MCPConnectionStatus']['DISCONNECTED']),_0x59d51e=(0x0,_0x4bf02e[_0x1882a2(0x277)])(_0x253c73,_0x43eebc[_0x1882a2(0x1e4)]['NONE']),_0x5d2f47=(0x0,_0x4bf02e['useObservable'])(_0x8b62ac,''),[_0x202153,_0x500022]=(0x0,_0xe91101[_0x1882a2(0x1f6)])((0x0,_0x4bf02e['useObservable'])(_0x456421,'')||''),_0x96a425=_0x5aece8[_0x1882a2(0x29e)]&&_0x1d0d9d[_0x1882a2(0x2ac)]&&(_0x1d0d9d['mcpServerUrl']['includes'](_0x1882a2(0x19e))||_0x1d0d9d[_0x1882a2(0x2ac)][_0x1882a2(0x1be)](_0x1882a2(0x2da))),_0x4d8d54=(_0x23b84d=_0x1d0d9d[_0x1882a2(0x2ac)])==null?void 0x0:_0x23b84d[_0x1882a2(0x1be)]('univer.plus'),_0x4d6859=(_0x592d33=_0x1d0d9d['mcpServerUrl'])==null?void 0x0:_0x592d33['includes'](_0x1882a2(0x2da)),_0x4964ee=_0x4d8d54?'https://console.univer.plus':_0x1882a2(0x297),_0x4d5014=_0x5aece8[_0x1882a2(0x29e)]&&(_0x4d8d54||_0x4d6859),[_0x4cdb6c,_0x3aa61e]=(0x0,_0xe91101['useState'])(!_0x202153[_0x1882a2(0x1a6)]()),_0x1895af=(_0x29552c,_0x26a92c)=>{const _0x528bdf=_0x1882a2;if(_0x26a92c===_0x43eebc[_0x528bdf(0x1e4)]['UNAUTHORIZED'])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x29552c){case _0x43eebc[_0x528bdf(0x212)][_0x528bdf(0x287)]:return _0x528bdf(0x2c9);case _0x43eebc[_0x528bdf(0x212)][_0x528bdf(0x2a0)]:case _0x43eebc[_0x528bdf(0x212)][_0x528bdf(0x1df)]:return _0x528bdf(0x2dd);case _0x43eebc['MCPConnectionStatus'][_0x528bdf(0x276)]:return _0x528bdf(0x29f);default:return _0x528bdf(0x24e);}},_0x44cb57=(_0x53cd8b,_0x2e9bf0)=>{const _0x150c82=_0x1882a2;if(_0x2e9bf0===_0x43eebc['MCPConnectionError']['UNAUTHORIZED'])return _0x150c82(0x198);switch(_0x53cd8b){case _0x43eebc[_0x150c82(0x212)][_0x150c82(0x287)]:return _0x150c82(0x1bc);case _0x43eebc[_0x150c82(0x212)]['CONNECTING']:case _0x43eebc[_0x150c82(0x212)]['RETRYING']:return _0x150c82(0x19f);case _0x43eebc[_0x150c82(0x212)][_0x150c82(0x276)]:return _0x150c82(0x198);default:return _0x150c82(0x255);}},_0xd56395=_0xa9dcf=>{const _0x58558f=_0x1882a2;switch(_0xa9dcf){case _0x43eebc[_0x58558f(0x212)][_0x58558f(0x287)]:return _0x57dcdc['t']('mcpConfig.connectionStatus.connected');case _0x43eebc['MCPConnectionStatus']['CONNECTING']:return _0x57dcdc['t'](_0x58558f(0x203));case _0x43eebc['MCPConnectionStatus'][_0x58558f(0x276)]:return _0x57dcdc['t']('mcpConfig.connectionStatus.failed');case _0x43eebc['MCPConnectionStatus'][_0x58558f(0x1df)]:return _0x57dcdc['t']('mcpConfig.connectionStatus.retrying');default:return _0x57dcdc['t'](_0x58558f(0x2d9));}},_0x1ddcf5=_0x13b598=>{const _0x294f13=_0x1882a2;switch(_0x13b598){case _0x43eebc[_0x294f13(0x1e4)][_0x294f13(0x18a)]:return _0x57dcdc['t'](_0x294f13(0x252));case _0x43eebc[_0x294f13(0x1e4)][_0x294f13(0x24a)]:return _0x57dcdc['t'](_0x294f13(0x2b1));case _0x43eebc[_0x294f13(0x1e4)][_0x294f13(0x284)]:return _0x57dcdc['t']('mcpConfig.connectionError.networkError');case _0x43eebc[_0x294f13(0x1e4)][_0x294f13(0x2e9)]:return _0x57dcdc['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x5adcfd=(0x0,_0xe91101[_0x1882a2(0x185)])(()=>{const _0x137fd1=_0x1882a2;_0x6b88a9({..._0x1d0d9d,'apiKey':_0x202153[_0x137fd1(0x1a6)](),'enableAuth':!0x0});},[_0x1d0d9d,_0x202153,!0x0,_0x6b88a9]),_0x222536=_0x202153['trim']()['length']>0x0;return(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[(0x0,_0x4babf8['jsx'])('div',{'className':_0x1882a2(0x2fa),'children':(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'className':_0x1882a2(0x19b),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':_0x1882a2(0x2ef),'children':(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2e5),{'className':_0x1882a2(0x1c1),'children':'⚙'})}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'children':(0x0,_0x4babf8['jsx'])('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x57dcdc['t'](_0x1882a2(0x29d))})})]})}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x1e5),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])('div',{'className':(0x0,_0x577a04[_0x1882a2(0x2c7)])('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x1895af(_0x40d5e6,_0x59d51e)),'children':(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x1d4),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':(0x0,_0x577a04[_0x1882a2(0x2c7)])(_0x1882a2(0x283),_0x44cb57(_0x40d5e6,_0x59d51e))}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2e5),{'className':'univer-text-sm\x20univer-font-medium','children':_0xd56395(_0x40d5e6)})]})}),_0x59d51e!==_0x43eebc[_0x1882a2(0x1e4)][_0x1882a2(0x1d3)]&&(_0x40d5e6===_0x43eebc[_0x1882a2(0x212)]['FAILED']||_0x59d51e===_0x43eebc[_0x1882a2(0x1e4)][_0x1882a2(0x18a)])&&(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':_0x1882a2(0x237),'children':(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x1f8),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2e5),{'className':_0x1882a2(0x1cf),'children':'⚠️'}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])('p',{'className':_0x1882a2(0x1bd),'children':_0x1ddcf5(_0x59d51e)})]})})]}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':_0x1882a2(0x216),'children':(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x1b5),'children':[(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x2e8),'children':[(0x0,_0x4babf8[_0x1882a2(0x1f4)])('label',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2e5),{'children':'🔑'}),'\x20',_0x57dcdc['t'](_0x1882a2(0x2cd)),(0x0,_0x4babf8['jsx'])(_0x1882a2(0x2e5),{'className':_0x1882a2(0x205),'children':'*'}),_0x96a425&&(0x0,_0x4babf8[_0x1882a2(0x1b7)])('a',{'className':_0x1882a2(0x2bb),'title':_0x57dcdc['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x3aa61e(!0x0),'children':(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x4c179e,{})})]}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x577a04[_0x1882a2(0x22e)],{'type':_0x1882a2(0x2f6),'placeholder':_0x57dcdc['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x202153,'disabled':_0x167aa6,'autoComplete':'off','onChange':_0x500022}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])('p',{'className':_0x1882a2(0x247),'children':_0x57dcdc['t'](_0x1882a2(0x2b4))})]}),_0x96a425&&_0x4cdb6c&&(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'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':[(0x0,_0x4babf8['jsx'])('a',{'className':_0x1882a2(0x1f2),'role':'button','onClick':()=>_0x3aa61e(!0x1),'children':(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x31cfc4,{'className':_0x1882a2(0x227)})}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[(0x0,_0x4babf8['jsx'])(_0x1882a2(0x272),{'className':_0x1882a2(0x2a6),'children':(0x0,_0x4babf8['jsx'])(_0x1882a2(0x2e5),{'className':_0x1882a2(0x2de),'children':'🚀'})}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'className':_0x1882a2(0x1fb),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])('h4',{'className':_0x1882a2(0x254),'children':_0x57dcdc['t'](_0x1882a2(0x1bf))}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])('p',{'className':_0x1882a2(0x274),'children':_0x57dcdc['t'](_0x1882a2(0x1fd))}),(0x0,_0x4babf8['jsx'])('div',{'className':_0x1882a2(0x1b2),'children':_0x4d5014&&(0x0,_0x4babf8[_0x1882a2(0x1f4)])('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':_0x4964ee,'target':'_blank','rel':_0x1882a2(0x23f),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2e5),{'children':'🤖'}),_0x57dcdc['t'](_0x1882a2(0x1fa)),(0x0,_0x4babf8[_0x1882a2(0x1b7)])('span',{'className':_0x1882a2(0x22c),'children':'↗'})]})}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x57dcdc['t'](_0x1882a2(0x188))]})]})]})]}),_0x5aece8[_0x1882a2(0x29e)]&&(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x1ff),'children':[(0x0,_0x4babf8[_0x1882a2(0x1f4)])('h4',{'className':_0x1882a2(0x2f0),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])('span',{'children':'🔗'}),'\x20',_0x57dcdc['t'](_0x1882a2(0x299))]}),(0x0,_0x4babf8['jsxs'])('div',{'className':'univer-space-y-4','children':[(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'className':'univer-space-y-3','children':[(0x0,_0x4babf8['jsx'])('p',{'className':_0x1882a2(0x230),'children':_0x57dcdc['t']('mcpConfig.configInstructions')}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x2e8),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x57dcdc['t'](_0x1882a2(0x2a1))}),(0x0,_0x4babf8['jsxs'])(_0x1882a2(0x272),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'className':_0x1882a2(0x1d4),'children':[(0x0,_0x4babf8['jsx'])(_0x1882a2(0x2e5),{'className':_0x1882a2(0x200),'children':'1'}),_0x57dcdc['t'](_0x1882a2(0x281))]}),(0x0,_0x4babf8['jsxs'])(_0x1882a2(0x272),{'className':_0x1882a2(0x1d4),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2e5),{'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':'2'}),_0x57dcdc['t'](_0x1882a2(0x2b0))]}),(0x0,_0x4babf8['jsxs'])(_0x1882a2(0x272),{'className':_0x1882a2(0x1d4),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])('span',{'className':_0x1882a2(0x200),'children':'3'}),_0x57dcdc['t'](_0x1882a2(0x249))]})]})]})]}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':'univer-space-y-2','children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x1882a2(0x25f)}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':_0x1882a2(0x2e7),'children':(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2b5),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x1882a2(0x1eb)]({'mcpServers':{'univer':{'url':_0x1882a2(0x193)+(_0x5d2f47||_0x1882a2(0x244)),'type':_0x1882a2(0x233),'headers':{'Authorization':_0x1882a2(0x26a)+(_0x202153||_0x1882a2(0x19d))}}}},null,0x2)})})]}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x1ae),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])('div',{'className':_0x1882a2(0x2b2),'children':_0x57dcdc['t'](_0x1882a2(0x2b8))}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'className':'univer-space-y-2','children':[(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x4babf8['jsx'])('div',{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':_0x1882a2(0x25c),'children':_0x1882a2(0x23a)}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x57dcdc['t']('mcpConfig.sessionIdDescription')})]})]}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':_0x1882a2(0x2aa)}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x180),'children':[(0x0,_0x4babf8['jsx'])('div',{'className':_0x1882a2(0x25c),'children':'Authorization:'}),(0x0,_0x4babf8['jsx'])(_0x1882a2(0x272),{'className':_0x1882a2(0x247),'children':_0x57dcdc['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x577a04[_0x1882a2(0x242)],{'onClick':_0x5adcfd,'disabled':!_0x222536||_0x167aa6,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x167aa6?(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x2e5),{'className':_0x1882a2(0x1d4),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2e5),{'children':'⟲'}),_0x57dcdc['t']('mcpConfig.saving')]}):(0x0,_0x4babf8[_0x1882a2(0x1f4)])('span',{'className':_0x1882a2(0x1d4),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x4b6fef,{}),_0x57dcdc['t']('mcpConfig.save')]})}),(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x272),{'className':_0x1882a2(0x1e9),'children':(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':_0x1882a2(0x219),'children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])(_0x1882a2(0x2e5),{'className':_0x1882a2(0x286),'children':'💡'}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[(0x0,_0x4babf8[_0x1882a2(0x1b7)])('div',{'className':_0x1882a2(0x2c2),'children':'Configuration\x20Notes:'}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'children':['•',_0x57dcdc['t'](_0x1882a2(0x191))]}),(0x0,_0x4babf8[_0x1882a2(0x1f4)])(_0x1882a2(0x272),{'children':['•',_0x57dcdc['t']('mcpConfig.note2')]})]})]})})]})})]});}let _0x9df88e=_0x4e837f(0x24d);Symbol(_0x9df88e);let _0x10e123={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x4c565c(_0x3b4e92){'@babel/helpers - typeof';const _0xe684af=_0x4e837f;return _0x4c565c=typeof Symbol==_0xe684af(0x1ed)&&typeof Symbol[_0xe684af(0x1aa)]==_0xe684af(0x1ce)?function(_0x5c9a15){return typeof _0x5c9a15;}:function(_0x567eeb){const _0x3d3ab3=_0xe684af;return _0x567eeb&&typeof Symbol==_0x3d3ab3(0x1ed)&&_0x567eeb[_0x3d3ab3(0x2ec)]===Symbol&&_0x567eeb!==Symbol[_0x3d3ab3(0x2a9)]?'symbol':typeof _0x567eeb;},_0x4c565c(_0x3b4e92);}function _0x15d7f3(_0x258770,_0x1d3f23){const _0x34bc64=_0x4e837f;if(_0x4c565c(_0x258770)!=_0x34bc64(0x195)||!_0x258770)return _0x258770;var _0x5cf1c4=_0x258770[Symbol[_0x34bc64(0x2a5)]];if(_0x5cf1c4!==void 0x0){var _0x3e21bc=_0x5cf1c4[_0x34bc64(0x189)](_0x258770,_0x1d3f23||'default');if(_0x4c565c(_0x3e21bc)!=_0x34bc64(0x195))return _0x3e21bc;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1d3f23===_0x34bc64(0x1e2)?String:Number)(_0x258770);}function _0x187d4e(_0x2fe033){const _0x20526d=_0x4e837f;var _0x3394c2=_0x15d7f3(_0x2fe033,_0x20526d(0x1e2));return _0x4c565c(_0x3394c2)==_0x20526d(0x1ce)?_0x3394c2:_0x3394c2+'';}function _0x50d464(_0x5d71d7,_0x1e0727,_0x4784a7){const _0x5e9a65=_0x4e837f;return(_0x1e0727=_0x187d4e(_0x1e0727))in _0x5d71d7?Object[_0x5e9a65(0x2c3)](_0x5d71d7,_0x1e0727,{'value':_0x4784a7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5d71d7[_0x1e0727]=_0x4784a7,_0x5d71d7;}function _0x3ac0c3(_0x1f6da3,_0x4dbf72){return function(_0x113387,_0x3af32a){_0x4dbf72(_0x113387,_0x3af32a,_0x1f6da3);};}function _0x5146d4(_0x33d90e,_0x725c20,_0x3b4280,_0x4d0c1b){const _0x1a926f=_0x4e837f;var _0x5f7a9=arguments[_0x1a926f(0x20b)],_0x2325a3=_0x5f7a9<0x3?_0x725c20:_0x4d0c1b===null?_0x4d0c1b=Object['getOwnPropertyDescriptor'](_0x725c20,_0x3b4280):_0x4d0c1b,_0x880833;if(typeof Reflect==_0x1a926f(0x195)&&typeof Reflect[_0x1a926f(0x2ad)]==_0x1a926f(0x1ed))_0x2325a3=Reflect[_0x1a926f(0x2ad)](_0x33d90e,_0x725c20,_0x3b4280,_0x4d0c1b);else{for(var _0x5cbb8b=_0x33d90e[_0x1a926f(0x20b)]-0x1;_0x5cbb8b>=0x0;_0x5cbb8b--)(_0x880833=_0x33d90e[_0x5cbb8b])&&(_0x2325a3=(_0x5f7a9<0x3?_0x880833(_0x2325a3):_0x5f7a9>0x3?_0x880833(_0x725c20,_0x3b4280,_0x2325a3):_0x880833(_0x725c20,_0x3b4280))||_0x2325a3);}return _0x5f7a9>0x3&&_0x2325a3&&Object[_0x1a926f(0x2c3)](_0x725c20,_0x3b4280,_0x2325a3),_0x2325a3;}let _0x33288b=_0x4e837f(0x1bb),_0xd2cb86=_0x4e837f(0x225),_0x3e69d3=class extends _0x321763[_0x4e837f(0x1fc)]{constructor(_0x27526e,_0x2321f7,_0x3c1606,_0x52f15f,_0x536ee7,_0x5442be,_0x59230a,_0x1da74f,_0x422a56,_0xb3cb64){const _0x46623e=_0x4e837f;super(),this[_0x46623e(0x1f7)]=_0x27526e,this[_0x46623e(0x2a4)]=_0x2321f7,this[_0x46623e(0x2db)]=_0x3c1606,this[_0x46623e(0x24f)]=_0x52f15f,this[_0x46623e(0x234)]=_0x536ee7,this[_0x46623e(0x29b)]=_0x5442be,this[_0x46623e(0x2a7)]=_0x59230a,this[_0x46623e(0x2f3)]=_0x1da74f,this['_logService']=_0x422a56,this[_0x46623e(0x282)]=_0xb3cb64,_0x50d464(this,_0x46623e(0x196),new _0x2f7a95[(_0x46623e(0x194))](!0x1)),_0x50d464(this,_0x46623e(0x19a),new _0x2f7a95['BehaviorSubject']({})),_0x50d464(this,'_config$',new _0x2f7a95[(_0x46623e(0x194))]({})),_0x50d464(this,_0x46623e(0x2fb),new _0x2f7a95[(_0x46623e(0x194))]('')),_0x50d464(this,'_handleConfigSave',async _0x4f72a=>{const _0x2e379c=_0x46623e;this['_loading$']['next'](!0x0);try{var _0x18f2d0,_0x46b8e3;let _0x32512a=await this[_0x2e379c(0x25a)](_0x4f72a);if(!_0x32512a[_0x2e379c(0x21c)]){this[_0x2e379c(0x29b)]['show']({'type':_0x577a04['MessageType']['Error'],'content':_0x32512a[_0x2e379c(0x2b3)]||this[_0x2e379c(0x2f3)]['t'](_0x2e379c(0x213))});return;}_0x4f72a[_0x2e379c(0x1da)]?await this['_localStorageService'][_0x2e379c(0x2cf)](_0x33288b,_0x4f72a[_0x2e379c(0x1da)]['trim']()):await this['_localStorageService'][_0x2e379c(0x1d6)](_0x33288b),this['_apiKey$'][_0x2e379c(0x27b)](((_0x18f2d0=_0x4f72a[_0x2e379c(0x1da)])==null?void 0x0:_0x18f2d0['trim']())||''),this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x2e379c(0x26a)+((_0x46b8e3=_0x4f72a[_0x2e379c(0x1da)])==null?void 0x0:_0x46b8e3[_0x2e379c(0x1a6)]())}),this[_0x2e379c(0x29b)][_0x2e379c(0x1b4)]({'type':_0x577a04[_0x2e379c(0x253)]['Success'],'content':this[_0x2e379c(0x2f3)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x4fe9b9=_0x2e379c;this[_0x4fe9b9(0x234)]['close'](_0xd2cb86);},0x320);}catch(_0x94afc4){this['_logService'][_0x2e379c(0x1f5)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x94afc4),this[_0x2e379c(0x29b)]['show']({'type':_0x577a04[_0x2e379c(0x253)][_0x2e379c(0x268)],'content':this[_0x2e379c(0x2f3)]['t']('mcpConfig.configError')});}finally{this[_0x2e379c(0x196)]['next'](!0x1);}}),this[_0x46623e(0x18e)](),this[_0x46623e(0x292)](),this[_0x46623e(0x2cb)]();}[_0x4e837f(0x1a9)](){const _0x13af9d=_0x4e837f;let _0x452ef6=this[_0x13af9d(0x2db)][_0x13af9d(0x2eb)](_0x9df88e);_0x452ef6!=null&&_0x452ef6[_0x13af9d(0x29e)]&&this[_0x13af9d(0x234)][_0x13af9d(0x295)]({'id':_0xd2cb86,'title':{'title':this[_0x13af9d(0x2f3)]['t'](_0x13af9d(0x280))},'children':{'label':_0x13af9d(0x273)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x4ac549=_0x13af9d;this[_0x4ac549(0x234)][_0x4ac549(0x229)](_0xd2cb86);}});}[_0x4e837f(0x279)](){const _0xc3a7d1=_0x4e837f;return this[_0xc3a7d1(0x19a)][_0xc3a7d1(0x2ff)];}[_0x4e837f(0x2cb)](){const _0x161472=_0x4e837f;this['disposeWithMe'](this[_0x161472(0x2a7)][_0x161472(0x29c)]('MCPConfigPanel',this[_0x161472(0x1ca)]()));}[_0x4e837f(0x1ca)](){const _0x491d39=_0x4e837f;return(0x0,_0x4bf02e[_0x491d39(0x1ba)])(()=>{const _0x5e52f5=_0x491d39;var _0x497340,_0x5d532c,_0x2ae9dd;return(0x0,_0x4babf8[_0x5e52f5(0x1b7)])(_0xf68cd9,{'config':this[_0x5e52f5(0x22f)][_0x5e52f5(0x2ff)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x5e52f5(0x2ff)],'currentApiKey$':this['_apiKey$'],'onSave':this['_handleConfigSave'],'loading':this[_0x5e52f5(0x196)][_0x5e52f5(0x2ff)],'connectionStatus$':(_0x497340=this[_0x5e52f5(0x282)])==null?void 0x0:_0x497340[_0x5e52f5(0x201)],'connectionError$':(_0x5d532c=this[_0x5e52f5(0x282)])==null?void 0x0:_0x5d532c['connectionError$'],'currentSessionId$':(_0x2ae9dd=this[_0x5e52f5(0x282)])==null?void 0x0:_0x2ae9dd[_0x5e52f5(0x1dd)]});},this['_injector']);}[_0x4e837f(0x18e)](){const _0x23c146=_0x4e837f;this[_0x23c146(0x2d4)](this[_0x23c146(0x2db)]['subscribeConfigValue$'](_0x43eebc[_0x23c146(0x2e3)])[_0x23c146(0x240)](_0x5ec33b=>{const _0xf894e=_0x23c146;this['_mcpCoreConfig$'][_0xf894e(0x27b)](_0x5ec33b||{});}));let _0xabe2f=this[_0x23c146(0x2db)]['getConfig'](_0x43eebc[_0x23c146(0x2e3)]);this['_mcpCoreConfig$']['next'](_0xabe2f||{}),this[_0x23c146(0x2d4)](this[_0x23c146(0x2db)]['subscribeConfigValue$'](_0x9df88e)['subscribe'](_0x342dfc=>{const _0x41dcea=_0x23c146;this[_0x41dcea(0x22f)][_0x41dcea(0x27b)](_0x342dfc||{});}));let _0x5b9f16=this[_0x23c146(0x2db)]['getConfig'](_0x9df88e);this[_0x23c146(0x22f)][_0x23c146(0x27b)](_0x5b9f16||{});}async[_0x4e837f(0x292)](){const _0x128379=_0x4e837f;let _0x45e4e9=this[_0x128379(0x2db)][_0x128379(0x2eb)](_0x9df88e);if(!(_0x45e4e9!=null&&_0x45e4e9[_0x128379(0x29e)]))return;let _0x33cb10=await this[_0x128379(0x24f)][_0x128379(0x1ef)](_0x33288b);_0x33cb10&&(this[_0x128379(0x282)][_0x128379(0x2f9)]({'Authorization':_0x128379(0x26a)+_0x33cb10}),this[_0x128379(0x2fb)][_0x128379(0x27b)](_0x33cb10));}async[_0x4e837f(0x25a)](_0x4af5fe){const _0x18549e=_0x4e837f;if(!_0x4af5fe[_0x18549e(0x1da)]||_0x4af5fe['apiKey'][_0x18549e(0x1a6)]()[_0x18549e(0x20b)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x4af5fe[_0x18549e(0x1da)]['trim']()[_0x18549e(0x20b)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x18549e(0x2f3)]['t'](_0x18549e(0x192))};try{let _0x199fcd=await this[_0x18549e(0x1f7)]['get'](_0x43eebc[_0x18549e(0x1fe)])['validateApiKey'](_0x4af5fe[_0x18549e(0x1da)][_0x18549e(0x1a6)]());return _0x199fcd[_0x18549e(0x21c)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x199fcd[_0x18549e(0x1f5)]||this['_localeService']['t'](_0x18549e(0x2c4))};}catch(_0x52997a){return console['warn'](_0x18549e(0x25e),_0x52997a),{'isValid':!0x0};}}};_0x3e69d3=_0x5146d4([_0x3ac0c3(0x0,(0x0,_0x321763[_0x4e837f(0x2f4)])(_0x321763[_0x4e837f(0x236)])),_0x3ac0c3(0x1,_0x4bf02e['IUIPartsService']),_0x3ac0c3(0x2,_0x321763[_0x4e837f(0x2ee)]),_0x3ac0c3(0x3,_0x321763[_0x4e837f(0x1e0)]),_0x3ac0c3(0x4,_0x4bf02e[_0x4e837f(0x265)]),_0x3ac0c3(0x5,_0x4bf02e[_0x4e837f(0x30b)]),_0x3ac0c3(0x6,(0x0,_0x321763[_0x4e837f(0x2f4)])(_0x4bf02e[_0x4e837f(0x222)])),_0x3ac0c3(0x7,(0x0,_0x321763[_0x4e837f(0x2f4)])(_0x321763['LocaleService'])),_0x3ac0c3(0x8,_0x321763[_0x4e837f(0x2f1)]),_0x3ac0c3(0x9,(0x0,_0x321763[_0x4e837f(0x2f4)])(_0x43eebc[_0x4e837f(0x1fe)]))],_0x3e69d3);let _0x3c90fd={'id':_0x4e837f(0x256),'type':_0x321763[_0x4e837f(0x2fc)][_0x4e837f(0x1dc)],'handler':async(_0x5ed9d3,_0x359ce1)=>(_0x5ed9d3[_0x4e837f(0x2ae)](_0x3e69d3)[_0x4e837f(0x1a9)](),!0x0)};function _0x44adff(_0x538496,_0x5083b9){const _0x1aea07=_0x4e837f;switch(_0x538496){case _0x43eebc[_0x1aea07(0x212)][_0x1aea07(0x251)]:return _0x1aea07(0x187);case _0x43eebc['MCPConnectionStatus'][_0x1aea07(0x2a0)]:return _0x1aea07(0x271);case _0x43eebc['MCPConnectionStatus'][_0x1aea07(0x287)]:return _0x1aea07(0x18c);case _0x43eebc['MCPConnectionStatus']['FAILED']:switch(_0x5083b9){case _0x43eebc[_0x1aea07(0x1e4)][_0x1aea07(0x18a)]:return'mcpStatus.unauthorized';case _0x43eebc[_0x1aea07(0x1e4)]['SESSION_ID_OCCUPIED']:return _0x1aea07(0x24c);case _0x43eebc[_0x1aea07(0x1e4)][_0x1aea07(0x284)]:return _0x1aea07(0x2d2);case _0x43eebc[_0x1aea07(0x1e4)][_0x1aea07(0x2e9)]:return _0x1aea07(0x1ad);default:return'mcpStatus.failed';}case _0x43eebc[_0x1aea07(0x212)][_0x1aea07(0x1df)]:return _0x1aea07(0x1a5);default:return _0x1aea07(0x28d);}}function _0x1e7330(_0x3e996c,_0x1bd0de,_0xed5272,_0x4f907a=!0x0){const _0x2c3d10=_0x4e837f;let _0x1ed0b4=_0x44adff(_0x3e996c,_0x1bd0de),_0x10b818=_0xed5272['t'](_0x1ed0b4);return _0x4f907a?_0x3e996c===_0x43eebc['MCPConnectionStatus']['DISCONNECTED']&&_0x1bd0de===_0x43eebc[_0x2c3d10(0x1e4)]['UNAUTHORIZED']?_0x10b818+_0x2c3d10(0x22d)+_0xed5272['t'](_0x2c3d10(0x1de)):_0x3e996c===_0x43eebc['MCPConnectionStatus'][_0x2c3d10(0x287)]?''+_0x10b818:_0x3e996c===_0x43eebc[_0x2c3d10(0x212)][_0x2c3d10(0x251)]||_0x3e996c===_0x43eebc['MCPConnectionStatus'][_0x2c3d10(0x276)]?_0x10b818+_0x2c3d10(0x22d)+_0xed5272['t'](_0x2c3d10(0x28f)):_0x10b818:_0x10b818;}function _0x175140(_0x14da28){const _0x8bfcd9=_0x4e837f;switch(_0x14da28){case _0x43eebc[_0x8bfcd9(0x212)][_0x8bfcd9(0x287)]:return _0x8bfcd9(0x1ac);case _0x43eebc[_0x8bfcd9(0x212)]['CONNECTING']:case _0x43eebc[_0x8bfcd9(0x212)]['RETRYING']:return _0x8bfcd9(0x291);case _0x43eebc[_0x8bfcd9(0x212)][_0x8bfcd9(0x276)]:case _0x43eebc['MCPConnectionStatus'][_0x8bfcd9(0x251)]:return'univer-text-red-500';default:return _0x8bfcd9(0x2a3);}}function _0x4e7f10(_0xed19da){const _0x3d326b=_0x4e837f;let {status$:_0x1bd95b,error$:_0x18ca4b,onConfigure:_0x356593,showClickable:_0x2f7acf=!0x0}=_0xed19da,_0xc645be=(0x0,_0x4bf02e['useObservable'])(_0x1bd95b,_0x43eebc[_0x3d326b(0x212)][_0x3d326b(0x251)]),_0x445671=(0x0,_0x4bf02e[_0x3d326b(0x277)])(_0x18ca4b,_0x43eebc[_0x3d326b(0x1e4)][_0x3d326b(0x1d3)]),_0x491a2f=(0x0,_0x4bf02e[_0x3d326b(0x1e3)])(_0x321763[_0x3d326b(0x2fd)]),_0x452f9a=_0xc645be===_0x43eebc[_0x3d326b(0x212)][_0x3d326b(0x287)];_0xc645be===_0x43eebc['MCPConnectionStatus'][_0x3d326b(0x2a0)]||_0x43eebc[_0x3d326b(0x212)][_0x3d326b(0x1df)];let _0x101fb6=_0x491a2f['t'](_0x44adff(_0xc645be,_0x445671)),_0x41a997=_0x1e7330(_0xc645be,_0x445671,_0x491a2f,_0x2f7acf),_0x177f0e=_0x175140(_0xc645be),_0x343328=_0x452f9a?(0x0,_0x4babf8[_0x3d326b(0x1b7)])(_0x48a5f6,{}):(0x0,_0x4babf8['jsx'])(_0xba8e67,{}),_0x35b236=(0x0,_0xe91101[_0x3d326b(0x185)])(()=>{_0x2f7acf&&_0x356593&&_0x356593();},[_0x2f7acf,_0x356593]);function _0x12c4cb(){const _0x1241d7=_0x3d326b;return(0x0,_0x4babf8[_0x1241d7(0x1f4)])(_0x1241d7(0x272),{'className':(0x0,_0x577a04[_0x1241d7(0x2c7)])('univer-flex\x20univer-items-center',_0x2f7acf&&_0x356593&&_0x1241d7(0x18d)),'role':_0x1241d7(0x304),'onClick':_0x2f7acf&&_0x356593?_0x35b236:void 0x0,'children':[(0x0,_0x4babf8[_0x1241d7(0x1b7)])(_0x1241d7(0x272),{'className':(0x0,_0x577a04[_0x1241d7(0x2c7)])(_0x1241d7(0x30f),_0x177f0e),'children':_0x343328}),(0x0,_0x4babf8['jsx'])('div',{'className':_0x1241d7(0x1cd),'children':_0x101fb6})]});}return(0x0,_0x4babf8[_0x3d326b(0x1b7)])(_0x577a04[_0x3d326b(0x250)],{'title':_0x41a997,'placement':'bottom','children':_0x12c4cb()});}let _0x9e955e=class extends _0x321763[_0x4e837f(0x1fc)]{constructor(_0x3bedf5,_0x6b2152,_0x35ac84,_0x5bd7f7){const _0x293105=_0x4e837f;super(),this[_0x293105(0x1f7)]=_0x3bedf5,this[_0x293105(0x293)]=_0x6b2152,this[_0x293105(0x2a4)]=_0x35ac84,this[_0x293105(0x2db)]=_0x5bd7f7,this[_0x293105(0x2d1)](),this['_initStatusComponent']();}[_0x4e837f(0x2d1)](){const _0x18968a=_0x4e837f;let _0x172958=this[_0x18968a(0x2db)][_0x18968a(0x2eb)](_0x9df88e);_0x172958!=null&&_0x172958[_0x18968a(0x29e)]&&(this[_0x18968a(0x293)][_0x18968a(0x2f8)]=!0x1);}['_initStatusComponent'](){const _0x5e9682=_0x4e837f;let _0x1f32ec=this[_0x5e9682(0x2db)]['getConfig'](_0x9df88e);(_0x1f32ec==null?void 0x0:_0x1f32ec[_0x5e9682(0x2f5)])!==!0x1&&this['disposeWithMe'](this[_0x5e9682(0x2a4)][_0x5e9682(0x1f3)](_0x4bf02e['BuiltInUIPart'][_0x5e9682(0x1c0)],()=>{const _0x2579fe=_0x5e9682;var _0x5400a1;return(0x0,_0x4bf02e['connectInjector'])(_0x14ddb6({'status$':this[_0x2579fe(0x293)]['connectionStatus$'],'error$':this[_0x2579fe(0x293)][_0x2579fe(0x306)],'onConfigure':()=>this[_0x2579fe(0x239)](),'showClickable':(_0x5400a1=_0x1f32ec==null?void 0x0:_0x1f32ec[_0x2579fe(0x29e)])==null?!0x1:_0x5400a1}),this[_0x2579fe(0x1f7)]);}));}[_0x4e837f(0x239)](){const _0x8c1ab5=_0x4e837f;this[_0x8c1ab5(0x1f7)][_0x8c1ab5(0x2ae)](_0x3e69d3)[_0x8c1ab5(0x1a9)]();}};_0x9e955e=_0x5146d4([_0x3ac0c3(0x0,(0x0,_0x321763[_0x4e837f(0x2f4)])(_0x321763['Injector'])),_0x3ac0c3(0x1,(0x0,_0x321763['Inject'])(_0x43eebc[_0x4e837f(0x1fe)])),_0x3ac0c3(0x2,_0x4bf02e[_0x4e837f(0x21b)]),_0x3ac0c3(0x3,_0x321763[_0x4e837f(0x2ee)])],_0x9e955e);function _0x14ddb6(_0xfc0e28){let {status$:_0x3ae764,error$:_0x2b5ede,onConfigure:_0x8b6cea,showClickable:_0x3fb6a0}=_0xfc0e28;return function(){const _0x378c2e=_0x3c6f;return(0x0,_0x4babf8[_0x378c2e(0x1b7)])(_0x4e7f10,{'status$':_0x3ae764,'error$':_0x2b5ede,'onConfigure':_0x8b6cea,'showClickable':_0x3fb6a0});};}function _0x19ef7e(_0x5e81b2){const _0x5514e9=_0x4e837f;return{'id':_0x3c90fd['id'],'type':_0x4bf02e[_0x5514e9(0x221)]['BUTTON'],'icon':'MenuIcon','title':_0x5514e9(0x280),'tooltip':_0x5514e9(0x280)};}let _0x37c67e={[_0x4bf02e[_0x4e837f(0x1b6)]['OTHERS']]:{[_0x3c90fd['id']]:{'order':0xa,'menuItemFactory':_0x19ef7e}}},_0x488fcd=class extends _0x321763[_0x4e837f(0x1fc)]{constructor(_0x467e44,_0x5dc948){const _0x38a8d6=_0x4e837f;super(),this[_0x38a8d6(0x2b6)]=_0x467e44,this['_menuManagerService']=_0x5dc948,this[_0x38a8d6(0x2d7)](),this['_initializeMenus']();}[_0x4e837f(0x2d7)](){[_0x3c90fd]['forEach'](_0x4bb221=>{const _0x3c8488=_0x3c6f;this[_0x3c8488(0x2d4)](this['_commandService'][_0x3c8488(0x1af)](_0x4bb221));});}[_0x4e837f(0x290)](){const _0x58ff60=_0x4e837f;this[_0x58ff60(0x23e)][_0x58ff60(0x2fe)](_0x37c67e);}};_0x488fcd=_0x5146d4([_0x3ac0c3(0x0,_0x321763[_0x4e837f(0x22b)]),_0x3ac0c3(0x1,_0x4bf02e['IMenuManagerService'])],_0x488fcd);let _0x2c4d01={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4e837f(0x184),'connected':_0x4e837f(0x182),'failed':_0x4e837f(0x243),'retrying':_0x4e837f(0x27a),'unknown':_0x4e837f(0x27d),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x4e837f(0x269),'networkError':_0x4e837f(0x2d8),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4e837f(0x2e6),'clickToConfigure':_0x4e837f(0x2e0)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4e837f(0x285),'apiKey':_0x4e837f(0x313),'apiKeyPlaceholder':_0x4e837f(0x310),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4e837f(0x20d),'enableAuthHint':_0x4e837f(0x224),'connectionInfo':_0x4e837f(0x20f),'mcpClientConfig':_0x4e837f(0x20f),'configInstructions':_0x4e837f(0x296),'configStepTitle':_0x4e837f(0x298),'configStep1':_0x4e837f(0x1d8),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4e837f(0x223),'sessionId':_0x4e837f(0x27f),'sessionIdDescription':_0x4e837f(0x23b),'authorizationDescription':_0x4e837f(0x1ee),'configParameters':_0x4e837f(0x2bf),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x4e837f(0x27c),'note1':_0x4e837f(0x1a7),'note2':_0x4e837f(0x2ab),'configSaved':_0x4e837f(0x1ab),'configError':_0x4e837f(0x2a8),'apiApplyInfo':{'title':_0x4e837f(0x260),'description':_0x4e837f(0x1e7),'univerAiLabel':_0x4e837f(0x2d5),'getStarted':_0x4e837f(0x2e1)},'validation':{'apiKeyRequired':_0x4e837f(0x1f9),'apiKeyTooShort':_0x4e837f(0x1a0),'invalidConfig':_0x4e837f(0x1cb),'invalidApiKey':_0x4e837f(0x22a)},'connectionStatus':{'disconnected':_0x4e837f(0x2c5),'connecting':'Connecting...','connected':_0x4e837f(0x300),'failed':_0x4e837f(0x20c),'retrying':_0x4e837f(0x308)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4e837f(0x30d),'maxRetriesExceeded':_0x4e837f(0x1c3)}}},_0x4df982={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x4e837f(0x30a),'connected':_0x4e837f(0x301),'failed':_0x4e837f(0x2e2),'retrying':_0x4e837f(0x1e8),'unknown':'MCP\x20状态未知','unauthorized':_0x4e837f(0x2b7),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x4e837f(0x28c),'clickToConnect':_0x4e837f(0x1a8),'clickToConfigure':_0x4e837f(0x1b3)},'mcpConfig':{'title':_0x4e837f(0x1a2),'description':_0x4e837f(0x303),'apiKey':_0x4e837f(0x1ea),'apiKeyPlaceholder':_0x4e837f(0x21d),'apiKeyHint':_0x4e837f(0x232),'enableAuth':_0x4e837f(0x1d9),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x4e837f(0x1d1),'mcpClientConfig':_0x4e837f(0x1d1),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x4e837f(0x21f),'configStep1':_0x4e837f(0x2d3),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x4e837f(0x209),'sessionId':_0x4e837f(0x217),'sessionIdDescription':_0x4e837f(0x2bd),'authorizationDescription':_0x4e837f(0x25d),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x4e837f(0x309),'saving':_0x4e837f(0x262),'note1':_0x4e837f(0x1c8),'note2':_0x4e837f(0x1f1),'configSaved':_0x4e837f(0x1e6),'configError':'配置保存失败','apiApplyInfo':{'title':_0x4e837f(0x2a2),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x4e837f(0x2cc),'getStarted':_0x4e837f(0x228)},'validation':{'apiKeyRequired':_0x4e837f(0x27e),'apiKeyTooShort':_0x4e837f(0x238),'invalidConfig':_0x4e837f(0x28b),'invalidApiKey':_0x4e837f(0x2c1)},'connectionStatus':{'disconnected':_0x4e837f(0x29a),'connecting':'连接中...','connected':'已连接','failed':'连接失败','retrying':_0x4e837f(0x246)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x4e837f(0x206),'networkError':_0x4e837f(0x2ce),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x2b401e='@univerjs-pro/mcp-ui',_0x4a79f7=_0x4e837f(0x302);let _0x1fd321=class extends _0x321763[_0x4e837f(0x30c)]{constructor(_0xf5506b=_0x10e123,_0x5a84fc,_0x4106b4,_0x343f14,_0x187412,_0xbedc90){const _0x367b83=_0x4e837f;super(),this[_0x367b83(0x241)]=_0xf5506b,this[_0x367b83(0x1f7)]=_0x5a84fc,this[_0x367b83(0x2db)]=_0x4106b4,this[_0x367b83(0x2a4)]=_0x343f14,this['_localStorageService']=_0x187412,this[_0x367b83(0x2f3)]=_0xbedc90;let {..._0xd01752}=(0x0,_0x321763[_0x367b83(0x215)])({},_0x10e123,this['_config']);this[_0x367b83(0x2db)]['setConfig'](_0x9df88e,_0xd01752);}async[_0x4e837f(0x204)](){const _0x16d6d4=_0x4e837f;let _0x34c0f5=[[_0x9e955e],[_0x3e69d3],[_0x488fcd]];this[_0x16d6d4(0x1f7)][_0x16d6d4(0x218)](_0x4b6c62[_0x16d6d4(0x263)])||_0x34c0f5[_0x16d6d4(0x24b)]([_0x4b6c62[_0x16d6d4(0x263)],{'useClass':_0x4b6c62['WebSocketService']}]),_0x34c0f5[_0x16d6d4(0x211)](_0x4bf57f=>this[_0x16d6d4(0x1f7)][_0x16d6d4(0x20a)](_0x4bf57f)),this[_0x16d6d4(0x1f7)][_0x16d6d4(0x2ae)](_0x9e955e),this[_0x16d6d4(0x1f7)]['get'](_0x3e69d3),this[_0x16d6d4(0x1f7)][_0x16d6d4(0x2ae)](_0x488fcd);}};_0x50d464(_0x1fd321,_0x4e837f(0x1a4),'MCP_UI_PLUGIN'),_0x50d464(_0x1fd321,'packageName',_0x2b401e),_0x50d464(_0x1fd321,_0x4e837f(0x1c7),_0x4a79f7),_0x1fd321=_0x5146d4([(0x0,_0x321763[_0x4e837f(0x2b9)])(_0x43eebc[_0x4e837f(0x207)]),_0x3ac0c3(0x1,(0x0,_0x321763[_0x4e837f(0x2f4)])(_0x321763[_0x4e837f(0x236)])),_0x3ac0c3(0x2,_0x321763[_0x4e837f(0x2ee)]),_0x3ac0c3(0x3,_0x4bf02e[_0x4e837f(0x21b)]),_0x3ac0c3(0x4,_0x321763[_0x4e837f(0x1e0)]),_0x3ac0c3(0x5,(0x0,_0x321763[_0x4e837f(0x2f4)])(_0x321763['LocaleService']))],_0x1fd321),_0x4199ba[_0x4e837f(0x273)]=_0xf68cd9,Object['defineProperty'](_0x4199ba,_0x4e837f(0x181),{'enumerable':!0x0,'get':function(){return _0x3e69d3;}}),Object[_0x4e837f(0x2c3)](_0x4199ba,_0x4e837f(0x18f),{'enumerable':!0x0,'get':function(){return _0x9e955e;}}),_0x4199ba[_0x4e837f(0x259)]=_0x4e7f10,Object[_0x4e837f(0x2c3)](_0x4199ba,_0x4e837f(0x294),{'enumerable':!0x0,'get':function(){return _0x488fcd;}}),_0x4199ba[_0x4e837f(0x25b)]=_0x3c90fd,Object['defineProperty'](_0x4199ba,_0x4e837f(0x1db),{'enumerable':!0x0,'get':function(){return _0x1fd321;}}),_0x4199ba[_0x4e837f(0x26e)]=_0x2c4d01,_0x4199ba[_0x4e837f(0x28e)]=_0x4df982;}));
1
+ (function(_0x1c59ee,_0x5a67fe){const _0x2feba7=_0x5483,_0x177053=_0x1c59ee();while(!![]){try{const _0x3dd37c=parseInt(_0x2feba7(0x208))/0x1+-parseInt(_0x2feba7(0x16c))/0x2+-parseInt(_0x2feba7(0x244))/0x3+-parseInt(_0x2feba7(0x237))/0x4*(-parseInt(_0x2feba7(0x15d))/0x5)+-parseInt(_0x2feba7(0x22f))/0x6*(parseInt(_0x2feba7(0x16a))/0x7)+parseInt(_0x2feba7(0x238))/0x8*(-parseInt(_0x2feba7(0x23f))/0x9)+-parseInt(_0x2feba7(0x155))/0xa*(-parseInt(_0x2feba7(0x1fe))/0xb);if(_0x3dd37c===_0x5a67fe)break;else _0x177053['push'](_0x177053['shift']());}catch(_0x1c77e7){_0x177053['push'](_0x177053['shift']());}}}(_0xb339,0x82644),function(_0x5cbf2f,_0x9847a3){const _0x1e3c14=_0x5483;typeof exports==_0x1e3c14(0x285)&&typeof module<'u'?_0x9847a3(exports,require(`@univerjs/core`),require(`@univerjs-pro/mcp`),require(`@univerjs/design`),require(`@univerjs/ui`),require(`rxjs`),require(`react`),require(`react/jsx-runtime`),require(`@univerjs/network`)):typeof define==_0x1e3c14(0x146)&&define['amd']?define(['exports','@univerjs/core',_0x1e3c14(0x13a),'@univerjs/design','@univerjs/ui',_0x1e3c14(0x195),'react','react/jsx-runtime',_0x1e3c14(0x189)],_0x9847a3):(_0x5cbf2f=typeof globalThis<'u'?globalThis:_0x5cbf2f||self,_0x9847a3(_0x5cbf2f[_0x1e3c14(0x26a)]={},_0x5cbf2f[_0x1e3c14(0x1b4)],_0x5cbf2f[_0x1e3c14(0x198)],_0x5cbf2f[_0x1e3c14(0x153)],_0x5cbf2f['UniverUi'],_0x5cbf2f['rxjs'],_0x5cbf2f[_0x1e3c14(0x185)],_0x5cbf2f[_0x1e3c14(0x185)],_0x5cbf2f[_0x1e3c14(0x1e4)]));}(this,function(_0x51910d,_0x1f795b,_0x32aaba,_0x1d5666,_0x3c638e,_0x2b6b83,_0x42dad4,_0x150d2d,_0x392d75){const _0xd9144a=_0x5483;Object[_0xd9144a(0x1c3)](_0x51910d,Symbol['toStringTag'],{'value':_0xd9144a(0x19b)});function _0x3ac640({ref:_0x29661f,..._0x561288}){const _0x4f0b05=_0xd9144a;let {icon:_0x463015,id:_0x16a07d,className:_0x876937,extend:_0xc99d09,..._0x456cff}=_0x561288,_0x55a0fc=(_0x4f0b05(0x27f)+_0x16a07d+'\x20'+(_0x876937||''))[_0x4f0b05(0x279)](),_0x5101ca=(0x0,_0x42dad4['useRef'])('_'+_0x295fd5());return _0x3a1dc1(_0x463015,''+_0x16a07d,{'defIds':_0x463015[_0x4f0b05(0x294)],'idSuffix':_0x5101ca[_0x4f0b05(0x1bc)]},{'ref':_0x29661f,'className':_0x55a0fc,..._0x456cff},_0xc99d09);}function _0x3a1dc1(_0x55c4f9,_0x278500,_0x42d320,_0x2a20a1,_0x1935e3){const _0x200367=_0xd9144a;return(0x0,_0x42dad4[_0x200367(0x141)])(_0x55c4f9[_0x200367(0x257)],{'key':_0x278500,..._0x5ed410(_0x55c4f9,_0x42d320,_0x1935e3),..._0x2a20a1},(_0x371e90(_0x55c4f9,_0x42d320)['children']||[])[_0x200367(0x160)]((_0x416a2e,_0x386f8b)=>_0x3a1dc1(_0x416a2e,_0x278500+'-'+_0x55c4f9[_0x200367(0x257)]+'-'+_0x386f8b,_0x42d320,void 0x0,_0x1935e3)));}function _0x5ed410(_0x54bef8,_0x3973c9,_0x59fa82){const _0x50014f=_0xd9144a;let _0x1ab1cc={..._0x54bef8[_0x50014f(0x1d5)]};_0x59fa82!=null&&_0x59fa82['colorChannel1']&&_0x1ab1cc[_0x50014f(0x192)]===_0x50014f(0x12a)&&(_0x1ab1cc[_0x50014f(0x192)]=_0x59fa82[_0x50014f(0x12a)]),_0x54bef8['tag']===_0x50014f(0x1db)&&_0x1ab1cc['id']&&(_0x1ab1cc['id']+=_0x3973c9[_0x50014f(0x1d9)]),Object['entries'](_0x1ab1cc)['forEach'](([_0x3c4d67,_0x21c301])=>{const _0x4b0ad1=_0x50014f;_0x3c4d67==='mask'&&typeof _0x21c301=='string'&&(_0x1ab1cc[_0x3c4d67]=_0x21c301[_0x4b0ad1(0x251)](/url\(#(.*)\)/,_0x4b0ad1(0x1e8)+_0x3973c9[_0x4b0ad1(0x1d9)]+')'));});let {defIds:_0x70a2b5}=_0x3973c9;return!_0x70a2b5||_0x70a2b5[_0x50014f(0x232)]===0x0?_0x1ab1cc:(_0x54bef8[_0x50014f(0x257)]===_0x50014f(0x20d)&&_0x1ab1cc[_0x50014f(0x264)]&&(_0x1ab1cc[_0x50014f(0x264)]+=_0x3973c9['idSuffix']),Object[_0x50014f(0x1ac)](_0x1ab1cc)['forEach'](([_0x988ab6,_0x40f21f])=>{const _0x1bd913=_0x50014f;typeof _0x40f21f==_0x1bd913(0x290)&&(_0x1ab1cc[_0x988ab6]=_0x40f21f[_0x1bd913(0x251)](/url\(#(.*)\)/,_0x1bd913(0x1e8)+_0x3973c9[_0x1bd913(0x1d9)]+')'));}),_0x1ab1cc);}function _0x371e90(_0x330607,_0x2cc962){const _0x2dd217=_0xd9144a;var _0x843e87;let {defIds:_0x58ce51}=_0x2cc962;return!_0x58ce51||_0x58ce51[_0x2dd217(0x232)]===0x0?_0x330607:_0x330607[_0x2dd217(0x257)]==='defs'&&(_0x843e87=_0x330607[_0x2dd217(0x110)])!=null&&_0x843e87[_0x2dd217(0x232)]?{..._0x330607,'children':_0x330607['children']['map'](_0xf8ee9e=>typeof _0xf8ee9e[_0x2dd217(0x1d5)]['id']==_0x2dd217(0x290)&&_0x58ce51&&_0x58ce51['includes'](_0xf8ee9e[_0x2dd217(0x1d5)]['id'])?{..._0xf8ee9e,'attrs':{..._0xf8ee9e[_0x2dd217(0x1d5)],'id':_0xf8ee9e[_0x2dd217(0x1d5)]['id']+_0x2cc962[_0x2dd217(0x1d9)]}}:_0xf8ee9e)}:_0x330607;}function _0x295fd5(){const _0x3f435c=_0xd9144a;return Math[_0x3f435c(0x115)]()['toString'](0x24)[_0x3f435c(0x154)](0x2,0x8);}_0x3ac640[_0xd9144a(0x201)]=_0xd9144a(0x17d);let _0x2e3457={'tag':_0xd9144a(0x1bd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xd9144a(0x1d3),'viewBox':_0xd9144a(0x1a3),'width':_0xd9144a(0x18e),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0xd9144a(0x10a),'fillRule':_0xd9144a(0x131),'clipRule':_0xd9144a(0x131)}}]},_0x2e01a0=(0x0,_0x42dad4[_0xd9144a(0x109)])(function(_0x3267da,_0x43b915){const _0x46cb33=_0xd9144a;return(0x0,_0x42dad4[_0x46cb33(0x141)])(_0x3ac640,Object[_0x46cb33(0x14d)]({},_0x3267da,{'id':_0x46cb33(0x126),'ref':_0x43b915,'icon':_0x2e3457}));});_0x2e01a0[_0xd9144a(0x201)]=_0xd9144a(0x1e0);let _0x11f1e2={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xd9144a(0x1d3),'viewBox':_0xd9144a(0x1a3),'width':_0xd9144a(0x18e),'height':_0xd9144a(0x18e)},'children':[{'tag':_0xd9144a(0x207),'attrs':{'fill':_0xd9144a(0x23e),'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'}}]},_0x197fa0=(0x0,_0x42dad4['forwardRef'])(function(_0x17e3a8,_0x813299){const _0x498fd0=_0xd9144a;return(0x0,_0x42dad4[_0x498fd0(0x141)])(_0x3ac640,Object[_0x498fd0(0x14d)]({},_0x17e3a8,{'id':'close-icon','ref':_0x813299,'icon':_0x11f1e2}));});_0x197fa0['displayName']=_0xd9144a(0x1a5);let _0x1c2291={'tag':_0xd9144a(0x1bd),'attrs':{'xmlns':_0xd9144a(0x280),'fill':_0xd9144a(0x1d3),'viewBox':_0xd9144a(0x1a3),'width':_0xd9144a(0x18e),'height':_0xd9144a(0x18e)},'children':[{'tag':_0xd9144a(0x207),'attrs':{'fill':_0xd9144a(0x23e),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0xd9144a(0x207),'attrs':{'fill':_0xd9144a(0x23e),'d':_0xd9144a(0x12f)}},{'tag':'path','attrs':{'fill':_0xd9144a(0x23e),'d':_0xd9144a(0x1f6),'fillRule':'evenodd','clipRule':_0xd9144a(0x131)}}]},_0x51bc0d=(0x0,_0x42dad4[_0xd9144a(0x109)])(function(_0x28c23a,_0x22dd79){const _0x603edc=_0xd9144a;return(0x0,_0x42dad4[_0x603edc(0x141)])(_0x3ac640,Object[_0x603edc(0x14d)]({},_0x28c23a,{'id':'help-icon','ref':_0x22dd79,'icon':_0x1c2291}));});_0x51bc0d['displayName']='HelpIcon';let _0x14116d={'tag':'svg','attrs':{'xmlns':_0xd9144a(0x280),'fill':_0xd9144a(0x1d3),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0xd9144a(0x18e)},'children':[{'tag':'g','attrs':{'clipPath':_0xd9144a(0x144)},'children':[{'tag':_0xd9144a(0x207),'attrs':{'stroke':'currentColor','d':_0xd9144a(0x147),'strokeLinecap':'round','strokeLinejoin':_0xd9144a(0x241),'strokeWidth':1.2}}]},{'tag':_0xd9144a(0x1c6),'attrs':{},'children':[{'tag':_0xd9144a(0x263),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xd9144a(0x207),'attrs':{'fill':_0xd9144a(0x1bb),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xd9144a(0x1ea)]},_0x2984f3=(0x0,_0x42dad4['forwardRef'])(function(_0x51bee7,_0x5911c5){const _0x151740=_0xd9144a;return(0x0,_0x42dad4[_0x151740(0x141)])(_0x3ac640,Object[_0x151740(0x14d)]({},_0x51bee7,{'id':_0x151740(0x1e2),'ref':_0x5911c5,'icon':_0x14116d}));});_0x2984f3[_0xd9144a(0x201)]=_0xd9144a(0x11b);let _0x429aaa={'tag':_0xd9144a(0x1bd),'attrs':{'xmlns':_0xd9144a(0x280),'fill':_0xd9144a(0x1d3),'viewBox':'0\x200\x2017\x2016','width':_0xd9144a(0x18e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xd9144a(0x12e)},'children':[{'tag':_0xd9144a(0x207),'attrs':{'stroke':_0xd9144a(0x23e),'d':_0xd9144a(0x14a),'strokeLinecap':_0xd9144a(0x241),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xd9144a(0x1c6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xd9144a(0x207),'attrs':{'fill':_0xd9144a(0x1bb),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0xd9144a(0x243)]},_0x204ac3=(0x0,_0x42dad4['forwardRef'])(function(_0x17a95f,_0x20e214){const _0x319254=_0xd9144a;return(0x0,_0x42dad4['createElement'])(_0x3ac640,Object[_0x319254(0x14d)]({},_0x17a95f,{'id':'on-line-icon','ref':_0x20e214,'icon':_0x429aaa}));});_0x204ac3[_0xd9144a(0x201)]=_0xd9144a(0x284);function _0x24fb32(_0x22dfc7){const _0x3f6416=_0xd9144a;var _0x5ad927,_0x17cc97;let {mcpCoreConfig:_0x1abbc1,onSave:_0x25718b,loading:_0xe384b9=!0x1,config:_0x262fea,connectionStatus$:_0x3aa234,connectionError$:_0x4add9c,currentApiKey$:_0x2abd34,currentSessionId$:_0x65f065}=_0x22dfc7,_0x154135=(0x0,_0x3c638e['useDependency'])(_0x1f795b['LocaleService']),_0x36ebbf=(0x0,_0x3c638e[_0x3f6416(0x239)])(_0x3aa234,_0x32aaba[_0x3f6416(0x11c)][_0x3f6416(0x18d)]),_0xff8012=(0x0,_0x3c638e[_0x3f6416(0x239)])(_0x4add9c,_0x32aaba['MCPConnectionError']['NONE']),_0x4a3624=(0x0,_0x3c638e[_0x3f6416(0x239)])(_0x65f065,''),[_0x3ee882,_0x268880]=(0x0,_0x42dad4[_0x3f6416(0x111)])((0x0,_0x3c638e[_0x3f6416(0x239)])(_0x2abd34,'')||''),_0x5b649a=_0x262fea[_0x3f6416(0x175)]&&_0x1abbc1[_0x3f6416(0x19d)]&&(_0x1abbc1[_0x3f6416(0x19d)][_0x3f6416(0x1b9)](_0x3f6416(0x191))||_0x1abbc1[_0x3f6416(0x19d)][_0x3f6416(0x1b9)](_0x3f6416(0x222))),_0x51ddb4=(_0x5ad927=_0x1abbc1[_0x3f6416(0x19d)])==null?void 0x0:_0x5ad927[_0x3f6416(0x1b9)](_0x3f6416(0x191)),_0x181f73=(_0x17cc97=_0x1abbc1[_0x3f6416(0x19d)])==null?void 0x0:_0x17cc97[_0x3f6416(0x1b9)](_0x3f6416(0x222)),_0x8cab12=_0x51ddb4?'https://console.univer.plus':_0x3f6416(0x1cb),_0x201a71=_0x262fea['showDeveloperTools']&&(_0x51ddb4||_0x181f73),[_0x382ed4,_0xeca85]=(0x0,_0x42dad4['useState'])(!_0x3ee882[_0x3f6416(0x279)]()),_0x11e2b6=(_0x3bac53,_0x3cf191)=>{const _0x5edf76=_0x3f6416;if(_0x3cf191===_0x32aaba[_0x5edf76(0x143)][_0x5edf76(0x291)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x3bac53){case _0x32aaba[_0x5edf76(0x11c)]['CONNECTED']:return _0x5edf76(0x19c);case _0x32aaba['MCPConnectionStatus'][_0x5edf76(0x27b)]:case _0x32aaba[_0x5edf76(0x11c)]['RETRYING']:return _0x5edf76(0x270);case _0x32aaba[_0x5edf76(0x11c)][_0x5edf76(0x159)]:return _0x5edf76(0x278);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x1936b5=(_0x12e270,_0x1e8883)=>{const _0x317d7a=_0x3f6416;if(_0x1e8883===_0x32aaba[_0x317d7a(0x143)]['UNAUTHORIZED'])return _0x317d7a(0x194);switch(_0x12e270){case _0x32aaba[_0x317d7a(0x11c)]['CONNECTED']:return'univer-bg-green-500';case _0x32aaba['MCPConnectionStatus'][_0x317d7a(0x27b)]:case _0x32aaba[_0x317d7a(0x11c)][_0x317d7a(0x271)]:return _0x317d7a(0x14b);case _0x32aaba['MCPConnectionStatus'][_0x317d7a(0x159)]:return _0x317d7a(0x194);default:return _0x317d7a(0x261);}},_0x83ae9=_0x8f2276=>{const _0x45d7ab=_0x3f6416;switch(_0x8f2276){case _0x32aaba[_0x45d7ab(0x11c)][_0x45d7ab(0x157)]:return _0x154135['t'](_0x45d7ab(0x218));case _0x32aaba['MCPConnectionStatus']['CONNECTING']:return _0x154135['t']('mcpConfig.connectionStatus.connecting');case _0x32aaba[_0x45d7ab(0x11c)][_0x45d7ab(0x159)]:return _0x154135['t'](_0x45d7ab(0x15a));case _0x32aaba[_0x45d7ab(0x11c)]['RETRYING']:return _0x154135['t'](_0x45d7ab(0x24f));default:return _0x154135['t'](_0x45d7ab(0x132));}},_0x354446=_0x270ff0=>{const _0x3aff06=_0x3f6416;switch(_0x270ff0){case _0x32aaba[_0x3aff06(0x143)][_0x3aff06(0x291)]:return _0x154135['t'](_0x3aff06(0x227));case _0x32aaba['MCPConnectionError'][_0x3aff06(0x14e)]:return _0x154135['t'](_0x3aff06(0x204));case _0x32aaba['MCPConnectionError'][_0x3aff06(0x274)]:return _0x154135['t'](_0x3aff06(0x127));case _0x32aaba['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x154135['t'](_0x3aff06(0x1f9));default:return'';}},_0x657bbe=(0x0,_0x42dad4[_0x3f6416(0x216)])(()=>{const _0x270f07=_0x3f6416;_0x25718b({..._0x1abbc1,'apiKey':_0x3ee882[_0x270f07(0x279)](),'enableAuth':!0x0});},[_0x1abbc1,_0x3ee882,!0x0,_0x25718b]),_0x17f962=_0x3ee882['trim']()[_0x3f6416(0x232)]>0x0;return(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x102),'children':[(0x0,_0x150d2d['jsx'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x24a),'children':(0x0,_0x150d2d['jsxs'])('div',{'className':_0x3f6416(0x1d1),'children':[(0x0,_0x150d2d['jsx'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x281),'children':(0x0,_0x150d2d['jsx'])(_0x3f6416(0x21b),{'className':'univer-text-white','children':'⚙'})}),(0x0,_0x150d2d[_0x3f6416(0x140)])('div',{'children':(0x0,_0x150d2d[_0x3f6416(0x140)])('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x154135['t'](_0x3f6416(0x25f))})})]})}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1ab),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])('div',{'className':(0x0,_0x1d5666[_0x3f6416(0x1c8)])(_0x3f6416(0x287),_0x11e2b6(_0x36ebbf,_0xff8012)),'children':(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1b7),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':(0x0,_0x1d5666['clsx'])('univer-size-2\x20univer-rounded-full',_0x1936b5(_0x36ebbf,_0xff8012))}),(0x0,_0x150d2d['jsx'])('span',{'className':_0x3f6416(0x10c),'children':_0x83ae9(_0x36ebbf)})]})}),_0xff8012!==_0x32aaba[_0x3f6416(0x143)]['NONE']&&(_0x36ebbf===_0x32aaba['MCPConnectionStatus']['FAILED']||_0xff8012===_0x32aaba[_0x3f6416(0x143)][_0x3f6416(0x291)])&&(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x272),'children':(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1fc),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])('span',{'className':_0x3f6416(0x288),'children':'⚠️'}),(0x0,_0x150d2d[_0x3f6416(0x140)])('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x354446(_0xff8012)})]})})]}),(0x0,_0x150d2d[_0x3f6416(0x140)])('div',{'className':_0x3f6416(0x24e),'children':(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x17e),'children':[(0x0,_0x150d2d['jsxs'])(_0x3f6416(0x1cc),{'className':'univer-space-y-2','children':[(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x12d),{'className':_0x3f6416(0x277),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'children':'🔑'}),'\x20',_0x154135['t'](_0x3f6416(0x210)),(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'className':_0x3f6416(0x162),'children':'*'}),_0x5b649a&&(0x0,_0x150d2d[_0x3f6416(0x140)])('a',{'className':_0x3f6416(0x11e),'title':_0x154135['t'](_0x3f6416(0x282)),'role':_0x3f6416(0x12b),'onClick':()=>_0xeca85(!0x0),'children':(0x0,_0x150d2d['jsx'])(_0x51bc0d,{})})]}),(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x1d5666[_0x3f6416(0x28f)],{'type':_0x3f6416(0x1d8),'placeholder':_0x154135['t'](_0x3f6416(0x25d)),'value':_0x3ee882,'disabled':_0xe384b9,'autoComplete':_0x3f6416(0x13f),'onChange':_0x268880}),(0x0,_0x150d2d['jsx'])('p',{'className':_0x3f6416(0x15f),'children':_0x154135['t'](_0x3f6416(0x1be))})]}),_0x5b649a&&_0x382ed4&&(0x0,_0x150d2d[_0x3f6416(0x235)])('div',{'className':_0x3f6416(0x28c),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])('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':_0x3f6416(0x12b),'onClick':()=>_0xeca85(!0x1),'children':(0x0,_0x150d2d['jsx'])(_0x197fa0,{'className':_0x3f6416(0x217)})}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x181),'children':(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'className':_0x3f6416(0x20c),'children':'🚀'})}),(0x0,_0x150d2d['jsxs'])(_0x3f6416(0x1cc),{'className':'univer-flex-1','children':[(0x0,_0x150d2d['jsx'])('h4',{'className':_0x3f6416(0x190),'children':_0x154135['t'](_0x3f6416(0x282))}),(0x0,_0x150d2d[_0x3f6416(0x140)])('p',{'className':_0x3f6416(0x26e),'children':_0x154135['t']('mcpConfig.apiApplyInfo.description')}),(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x201a71&&(0x0,_0x150d2d[_0x3f6416(0x235)])('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':_0x8cab12,'target':_0x3f6416(0x224),'rel':_0x3f6416(0x233),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'children':'🤖'}),_0x154135['t'](_0x3f6416(0x124)),(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'className':_0x3f6416(0x1f5),'children':'↗'})]})}),(0x0,_0x150d2d['jsxs'])(_0x3f6416(0x1cc),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x154135['t'](_0x3f6416(0x158))]})]})]})]}),_0x262fea[_0x3f6416(0x175)]&&(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x234),'children':[(0x0,_0x150d2d[_0x3f6416(0x235)])('h4',{'className':_0x3f6416(0x286),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'children':'🔗'}),'\x20',_0x154135['t']('mcpConfig.connectionInfo')]}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x188),'children':[(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':'univer-space-y-3','children':[(0x0,_0x150d2d[_0x3f6416(0x140)])('p',{'className':_0x3f6416(0x168),'children':_0x154135['t'](_0x3f6416(0x22d))}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1a2),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])('div',{'className':_0x3f6416(0x150),'children':_0x154135['t']('mcpConfig.configStepTitle')}),(0x0,_0x150d2d['jsxs'])('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[(0x0,_0x150d2d['jsxs'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1b7),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])('span',{'className':_0x3f6416(0x292),'children':'1'}),_0x154135['t'](_0x3f6416(0x200))]}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1b7),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'className':_0x3f6416(0x292),'children':'2'}),_0x154135['t'](_0x3f6416(0x13e))]}),(0x0,_0x150d2d['jsxs'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1b7),'children':[(0x0,_0x150d2d['jsx'])('span',{'className':_0x3f6416(0x292),'children':'3'}),_0x154135['t'](_0x3f6416(0x183))]})]})]})]}),(0x0,_0x150d2d['jsxs'])('div',{'className':_0x3f6416(0x1a2),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x150),'children':_0x3f6416(0x1d7)}),(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x295),'children':(0x0,_0x150d2d[_0x3f6416(0x140)])('pre',{'className':_0x3f6416(0x21f),'children':JSON[_0x3f6416(0x25e)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x4a3624||_0x3f6416(0x1ed)),'type':_0x3f6416(0x145),'headers':{'Authorization':_0x3f6416(0x148)+(_0x3ee882||'<API_KEY>')}}}},null,0x2)})})]}),(0x0,_0x150d2d[_0x3f6416(0x235)])('div',{'className':_0x3f6416(0x27d),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x154135['t'](_0x3f6416(0x180))}),(0x0,_0x150d2d[_0x3f6416(0x235)])('div',{'className':_0x3f6416(0x1a2),'children':[(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1c4),'children':[(0x0,_0x150d2d['jsx'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1e5)}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x10d),'children':[(0x0,_0x150d2d['jsx'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x249),'children':_0x3f6416(0x149)}),(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x15f),'children':_0x154135['t']('mcpConfig.sessionIdDescription')})]})]}),(0x0,_0x150d2d['jsxs'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1c4),'children':[(0x0,_0x150d2d['jsx'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x1e5)}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x10d),'children':[(0x0,_0x150d2d['jsx'])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x249),'children':_0x3f6416(0x15c)}),(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x15f),'children':_0x154135['t'](_0x3f6416(0x122))})]})]})]})]})]})]}),(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x1d5666['Button'],{'onClick':_0x657bbe,'disabled':!_0x17f962||_0xe384b9,'className':_0x3f6416(0x21e),'children':_0xe384b9?(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x21b),{'className':_0x3f6416(0x1b7),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'children':'⟲'}),_0x154135['t'](_0x3f6416(0x173))]}):(0x0,_0x150d2d['jsxs'])('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x2e01a0,{}),_0x154135['t'](_0x3f6416(0x1dc))]})}),(0x0,_0x150d2d[_0x3f6416(0x140)])('div',{'className':_0x3f6416(0x242),'children':(0x0,_0x150d2d[_0x3f6416(0x235)])('div',{'className':'univer-flex\x20univer-gap-3','children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x21b),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x223),'children':[(0x0,_0x150d2d[_0x3f6416(0x140)])(_0x3f6416(0x1cc),{'className':_0x3f6416(0x26d),'children':_0x3f6416(0x254)}),(0x0,_0x150d2d['jsxs'])(_0x3f6416(0x1cc),{'children':['•',_0x154135['t'](_0x3f6416(0x113))]}),(0x0,_0x150d2d[_0x3f6416(0x235)])(_0x3f6416(0x1cc),{'children':['•',_0x154135['t'](_0x3f6416(0x250))]})]})]})})]})})]});}let _0x450111=_0xd9144a(0x142);Symbol(_0x450111);let _0x4c7983={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x4445c1(_0x2c9a7e){'@babel/helpers - typeof';const _0x4a1c77=_0xd9144a;return _0x4445c1=typeof Symbol==_0x4a1c77(0x146)&&typeof Symbol[_0x4a1c77(0x1d6)]==_0x4a1c77(0x205)?function(_0x48b536){return typeof _0x48b536;}:function(_0x33658b){const _0x587f34=_0x4a1c77;return _0x33658b&&typeof Symbol=='function'&&_0x33658b[_0x587f34(0x259)]===Symbol&&_0x33658b!==Symbol[_0x587f34(0x197)]?_0x587f34(0x205):typeof _0x33658b;},_0x4445c1(_0x2c9a7e);}function _0x3d1196(_0x1ac608,_0x45dee6){const _0x18896a=_0xd9144a;if(_0x4445c1(_0x1ac608)!='object'||!_0x1ac608)return _0x1ac608;var _0x15f5f8=_0x1ac608[Symbol[_0x18896a(0x161)]];if(_0x15f5f8!==void 0x0){var _0x3de3ea=_0x15f5f8['call'](_0x1ac608,_0x45dee6||_0x18896a(0x219));if(_0x4445c1(_0x3de3ea)!=_0x18896a(0x285))return _0x3de3ea;throw TypeError(_0x18896a(0x28a));}return(_0x45dee6===_0x18896a(0x290)?String:Number)(_0x1ac608);}function _0x3c7875(_0x3db3dc){const _0x2d734d=_0xd9144a;var _0x5d3d43=_0x3d1196(_0x3db3dc,_0x2d734d(0x290));return _0x4445c1(_0x5d3d43)=='symbol'?_0x5d3d43:_0x5d3d43+'';}function _0x103371(_0x2eeb6f,_0x32f6da,_0x5cc076){const _0x20bdae=_0xd9144a;return(_0x32f6da=_0x3c7875(_0x32f6da))in _0x2eeb6f?Object[_0x20bdae(0x1c3)](_0x2eeb6f,_0x32f6da,{'value':_0x5cc076,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2eeb6f[_0x32f6da]=_0x5cc076,_0x2eeb6f;}function _0x2664d3(_0xb4e9d2,_0x59ba90){return function(_0x5d49a3,_0x1f0c4c){_0x59ba90(_0x5d49a3,_0x1f0c4c,_0xb4e9d2);};}function _0x79d6ef(_0x5919ec,_0x2cae1e,_0x2ff78f,_0x755ad3){const _0x4f985d=_0xd9144a;var _0x1a567f=arguments[_0x4f985d(0x232)],_0x28b8a8=_0x1a567f<0x3?_0x2cae1e:_0x755ad3===null?_0x755ad3=Object[_0x4f985d(0x1af)](_0x2cae1e,_0x2ff78f):_0x755ad3,_0x1f63ba;if(typeof Reflect==_0x4f985d(0x285)&&typeof Reflect[_0x4f985d(0x22b)]==_0x4f985d(0x146))_0x28b8a8=Reflect['decorate'](_0x5919ec,_0x2cae1e,_0x2ff78f,_0x755ad3);else{for(var _0x139826=_0x5919ec[_0x4f985d(0x232)]-0x1;_0x139826>=0x0;_0x139826--)(_0x1f63ba=_0x5919ec[_0x139826])&&(_0x28b8a8=(_0x1a567f<0x3?_0x1f63ba(_0x28b8a8):_0x1a567f>0x3?_0x1f63ba(_0x2cae1e,_0x2ff78f,_0x28b8a8):_0x1f63ba(_0x2cae1e,_0x2ff78f))||_0x28b8a8);}return _0x1a567f>0x3&&_0x28b8a8&&Object[_0x4f985d(0x1c3)](_0x2cae1e,_0x2ff78f,_0x28b8a8),_0x28b8a8;}let _0x4ebbe7='mcp.apiKey',_0x3971a0=_0xd9144a(0x170),_0x17cdbd=class extends _0x1f795b[_0xd9144a(0x28b)]{constructor(_0x22e49c,_0x4bae32,_0x37ae80,_0x3c27d4,_0x4bf0b6,_0x52787a,_0x5cfb61,_0x22cd08,_0x390cf9,_0x1f1992){const _0x3ac680=_0xd9144a;super(),this[_0x3ac680(0x226)]=_0x22e49c,this[_0x3ac680(0x172)]=_0x4bae32,this[_0x3ac680(0x225)]=_0x37ae80,this[_0x3ac680(0x231)]=_0x3c27d4,this[_0x3ac680(0x1f7)]=_0x4bf0b6,this[_0x3ac680(0x1fb)]=_0x52787a,this[_0x3ac680(0x112)]=_0x5cfb61,this[_0x3ac680(0x211)]=_0x22cd08,this[_0x3ac680(0x176)]=_0x390cf9,this[_0x3ac680(0x1cf)]=_0x1f1992,_0x103371(this,_0x3ac680(0x1da),new _0x2b6b83[(_0x3ac680(0x26f))](!0x1)),_0x103371(this,_0x3ac680(0x1f4),new _0x2b6b83['BehaviorSubject']({})),_0x103371(this,_0x3ac680(0x1dd),new _0x2b6b83[(_0x3ac680(0x26f))]({})),_0x103371(this,_0x3ac680(0x15e),new _0x2b6b83['BehaviorSubject']('')),_0x103371(this,_0x3ac680(0x128),async _0x47d991=>{const _0x328aef=_0x3ac680;this[_0x328aef(0x1da)][_0x328aef(0x28e)](!0x0);try{var _0x3d1297,_0x552baa;let _0xcb79d1=await this[_0x328aef(0x1e6)](_0x47d991);if(!_0xcb79d1[_0x328aef(0x133)]){this[_0x328aef(0x1fb)][_0x328aef(0x293)]({'type':_0x1d5666[_0x328aef(0x13c)]['Error'],'content':_0xcb79d1['errorMessage']||this[_0x328aef(0x211)]['t'](_0x328aef(0x206))});return;}_0x47d991[_0x328aef(0x1b8)]?await this['_localStorageService']['setItem'](_0x4ebbe7,_0x47d991[_0x328aef(0x1b8)][_0x328aef(0x279)]()):await this[_0x328aef(0x231)][_0x328aef(0x213)](_0x4ebbe7),this[_0x328aef(0x15e)][_0x328aef(0x28e)](((_0x3d1297=_0x47d991[_0x328aef(0x1b8)])==null?void 0x0:_0x3d1297['trim']())||''),this[_0x328aef(0x1cf)][_0x328aef(0x1c7)]({'Authorization':_0x328aef(0x148)+((_0x552baa=_0x47d991[_0x328aef(0x1b8)])==null?void 0x0:_0x552baa[_0x328aef(0x279)]())}),this[_0x328aef(0x1fb)][_0x328aef(0x293)]({'type':_0x1d5666[_0x328aef(0x13c)][_0x328aef(0x134)],'content':this[_0x328aef(0x211)]['t'](_0x328aef(0x221))}),setTimeout(()=>{const _0x3cf9a5=_0x328aef;this[_0x3cf9a5(0x1f7)][_0x3cf9a5(0x138)](_0x3971a0);},0x320);}catch(_0x521827){this['_logService'][_0x328aef(0x10e)](_0x328aef(0x169),_0x521827),this[_0x328aef(0x1fb)][_0x328aef(0x293)]({'type':_0x1d5666[_0x328aef(0x13c)][_0x328aef(0x137)],'content':this[_0x328aef(0x211)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x328aef(0x28e)](!0x1);}}),this[_0x3ac680(0x104)](),this[_0x3ac680(0x1a0)](),this[_0x3ac680(0x214)]();}[_0xd9144a(0x1b1)](){const _0x2b5a5d=_0xd9144a;let _0x507c30=this[_0x2b5a5d(0x225)][_0x2b5a5d(0x15b)](_0x450111);_0x507c30!=null&&_0x507c30[_0x2b5a5d(0x175)]&&this[_0x2b5a5d(0x1f7)]['open']({'id':_0x3971a0,'title':{'title':this[_0x2b5a5d(0x211)]['t'](_0x2b5a5d(0x209))},'children':{'label':_0x2b5a5d(0x1f2)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x336207=_0x2b5a5d;this[_0x336207(0x1f7)][_0x336207(0x138)](_0x3971a0);}});}[_0xd9144a(0x26b)](){const _0x49ae56=_0xd9144a;return this[_0x49ae56(0x1f4)][_0x49ae56(0x1b2)];}[_0xd9144a(0x214)](){const _0x4b9bc2=_0xd9144a;this[_0x4b9bc2(0x27e)](this[_0x4b9bc2(0x112)][_0x4b9bc2(0x21a)](_0x4b9bc2(0x1f2),this[_0x4b9bc2(0x246)]()));}[_0xd9144a(0x246)](){const _0x470e64=_0xd9144a;return(0x0,_0x3c638e['connectInjector'])(()=>{const _0xa3e505=_0x5483;var _0x4d0090,_0x2a3557,_0x48ee3d;return(0x0,_0x150d2d[_0xa3e505(0x140)])(_0x24fb32,{'config':this[_0xa3e505(0x1dd)][_0xa3e505(0x1b2)],'mcpCoreConfig':this[_0xa3e505(0x1f4)]['value'],'currentApiKey$':this[_0xa3e505(0x15e)],'onSave':this[_0xa3e505(0x128)],'loading':this[_0xa3e505(0x1da)][_0xa3e505(0x1b2)],'connectionStatus$':(_0x4d0090=this[_0xa3e505(0x1cf)])==null?void 0x0:_0x4d0090[_0xa3e505(0x275)],'connectionError$':(_0x2a3557=this[_0xa3e505(0x1cf)])==null?void 0x0:_0x2a3557[_0xa3e505(0x20a)],'currentSessionId$':(_0x48ee3d=this[_0xa3e505(0x1cf)])==null?void 0x0:_0x48ee3d['sessionId$']});},this[_0x470e64(0x226)]);}[_0xd9144a(0x104)](){const _0x54855b=_0xd9144a;this['disposeWithMe'](this[_0x54855b(0x225)][_0x54855b(0x174)](_0x32aaba['MCP_PLUGIN_CONFIG_KEY'])[_0x54855b(0x1f0)](_0x21a9e0=>{const _0x591319=_0x54855b;this[_0x591319(0x1f4)][_0x591319(0x28e)](_0x21a9e0||{});}));let _0x16deb3=this['_configService']['getConfig'](_0x32aaba[_0x54855b(0x10f)]);this[_0x54855b(0x1f4)][_0x54855b(0x28e)](_0x16deb3||{}),this[_0x54855b(0x27e)](this[_0x54855b(0x225)][_0x54855b(0x174)](_0x450111)['subscribe'](_0x178bc7=>{const _0x2ce9a0=_0x54855b;this[_0x2ce9a0(0x1dd)]['next'](_0x178bc7||{});}));let _0x5b1c0c=this[_0x54855b(0x225)][_0x54855b(0x15b)](_0x450111);this[_0x54855b(0x1dd)][_0x54855b(0x28e)](_0x5b1c0c||{});}async[_0xd9144a(0x1a0)](){const _0x534c9f=_0xd9144a;let _0x5751c0=this['_configService'][_0x534c9f(0x15b)](_0x450111);if(!(_0x5751c0!=null&&_0x5751c0['showDeveloperTools']))return;let _0x57a5db=await this[_0x534c9f(0x231)][_0x534c9f(0x1f3)](_0x4ebbe7);_0x57a5db&&(this['_mcpConnectionController'][_0x534c9f(0x1c7)]({'Authorization':_0x534c9f(0x148)+_0x57a5db}),this[_0x534c9f(0x15e)]['next'](_0x57a5db));}async[_0xd9144a(0x1e6)](_0x4e3037){const _0x4ff956=_0xd9144a;if(!_0x4e3037[_0x4ff956(0x1b8)]||_0x4e3037[_0x4ff956(0x1b8)]['trim']()[_0x4ff956(0x232)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4ff956(0x211)]['t'](_0x4ff956(0x11d))};if(_0x4e3037[_0x4ff956(0x1b8)][_0x4ff956(0x279)]()[_0x4ff956(0x232)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4ff956(0x211)]['t']('mcpConfig.validation.apiKeyTooShort')};try{let _0x975941=await this[_0x4ff956(0x226)][_0x4ff956(0x1e7)](_0x32aaba[_0x4ff956(0x186)])[_0x4ff956(0x1bf)](_0x4e3037[_0x4ff956(0x1b8)][_0x4ff956(0x279)]());return _0x975941['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x975941[_0x4ff956(0x10e)]||this['_localeService']['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x56599a){return console[_0x4ff956(0x130)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x56599a),{'isValid':!0x0};}}};_0x17cdbd=_0x79d6ef([_0x2664d3(0x0,(0x0,_0x1f795b[_0xd9144a(0x258)])(_0x1f795b[_0xd9144a(0x256)])),_0x2664d3(0x1,_0x3c638e[_0xd9144a(0x18a)]),_0x2664d3(0x2,_0x1f795b[_0xd9144a(0x116)]),_0x2664d3(0x3,_0x1f795b[_0xd9144a(0x14c)]),_0x2664d3(0x4,_0x3c638e[_0xd9144a(0x20e)]),_0x2664d3(0x5,_0x3c638e[_0xd9144a(0x1ff)]),_0x2664d3(0x6,(0x0,_0x1f795b[_0xd9144a(0x258)])(_0x3c638e[_0xd9144a(0x16d)])),_0x2664d3(0x7,(0x0,_0x1f795b[_0xd9144a(0x258)])(_0x1f795b[_0xd9144a(0x1df)])),_0x2664d3(0x8,_0x1f795b[_0xd9144a(0x283)]),_0x2664d3(0x9,(0x0,_0x1f795b[_0xd9144a(0x258)])(_0x32aaba['MCPConnectionController']))],_0x17cdbd);let _0x12d301={'id':_0xd9144a(0x265),'type':_0x1f795b[_0xd9144a(0x22a)][_0xd9144a(0x229)],'handler':async(_0x4bf701,_0x4cbd92)=>(_0x4bf701[_0xd9144a(0x1e7)](_0x17cdbd)[_0xd9144a(0x1b1)](),!0x0)};function _0x19b9ac(_0x4e37c0,_0x288bbb){const _0xcea70e=_0xd9144a;switch(_0x4e37c0){case _0x32aaba[_0xcea70e(0x11c)]['DISCONNECTED']:return'mcpStatus.disconnected';case _0x32aaba[_0xcea70e(0x11c)][_0xcea70e(0x27b)]:return _0xcea70e(0x1a4);case _0x32aaba[_0xcea70e(0x11c)][_0xcea70e(0x157)]:return _0xcea70e(0x25a);case _0x32aaba[_0xcea70e(0x11c)][_0xcea70e(0x159)]:switch(_0x288bbb){case _0x32aaba['MCPConnectionError'][_0xcea70e(0x291)]:return'mcpStatus.unauthorized';case _0x32aaba['MCPConnectionError'][_0xcea70e(0x14e)]:return _0xcea70e(0x1ad);case _0x32aaba[_0xcea70e(0x143)][_0xcea70e(0x274)]:return _0xcea70e(0x1ca);case _0x32aaba['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0xcea70e(0x1ef);default:return _0xcea70e(0x17f);}case _0x32aaba[_0xcea70e(0x11c)]['RETRYING']:return _0xcea70e(0x163);default:return'mcpStatus.unknown';}}function _0xeb23ef(_0x1577a1,_0x211983,_0x2cd5f2,_0x3a674e=!0x0){const _0x1134d1=_0xd9144a;let _0x1c1041=_0x19b9ac(_0x1577a1,_0x211983),_0x2ac8dd=_0x2cd5f2['t'](_0x1c1041);return _0x3a674e?_0x1577a1===_0x32aaba[_0x1134d1(0x11c)][_0x1134d1(0x18d)]&&_0x211983===_0x32aaba[_0x1134d1(0x143)][_0x1134d1(0x291)]?_0x2ac8dd+_0x1134d1(0x152)+_0x2cd5f2['t']('mcpStatus.clickToConfigure'):_0x1577a1===_0x32aaba[_0x1134d1(0x11c)][_0x1134d1(0x157)]?''+_0x2ac8dd:_0x1577a1===_0x32aaba[_0x1134d1(0x11c)][_0x1134d1(0x18d)]||_0x1577a1===_0x32aaba[_0x1134d1(0x11c)][_0x1134d1(0x159)]?_0x2ac8dd+_0x1134d1(0x152)+_0x2cd5f2['t'](_0x1134d1(0x1e9)):_0x2ac8dd:_0x2ac8dd;}function _0x19cab3(_0x3efa46){const _0x45813=_0xd9144a;switch(_0x3efa46){case _0x32aaba[_0x45813(0x11c)][_0x45813(0x157)]:return _0x45813(0x21d);case _0x32aaba[_0x45813(0x11c)][_0x45813(0x27b)]:case _0x32aaba['MCPConnectionStatus']['RETRYING']:return _0x45813(0x276);case _0x32aaba[_0x45813(0x11c)][_0x45813(0x159)]:case _0x32aaba[_0x45813(0x11c)]['DISCONNECTED']:return _0x45813(0x162);default:return _0x45813(0x17b);}}function _0x38ebb0(_0x18b4ed){const _0x537f44=_0xd9144a;let {status$:_0xb6e342,error$:_0x52b262,onConfigure:_0x2f5533,showClickable:_0x3ecfe7=!0x0}=_0x18b4ed,_0x4ba543=(0x0,_0x3c638e[_0x537f44(0x239)])(_0xb6e342,_0x32aaba[_0x537f44(0x11c)][_0x537f44(0x18d)]),_0x463892=(0x0,_0x3c638e[_0x537f44(0x239)])(_0x52b262,_0x32aaba['MCPConnectionError']['NONE']),_0x33372e=(0x0,_0x3c638e[_0x537f44(0x13d)])(_0x1f795b[_0x537f44(0x1df)]),_0x3c4c66=_0x4ba543===_0x32aaba[_0x537f44(0x11c)][_0x537f44(0x157)];_0x4ba543===_0x32aaba[_0x537f44(0x11c)][_0x537f44(0x27b)]||_0x32aaba[_0x537f44(0x11c)][_0x537f44(0x271)];let _0x250723=_0x33372e['t'](_0x19b9ac(_0x4ba543,_0x463892)),_0xf5f358=_0xeb23ef(_0x4ba543,_0x463892,_0x33372e,_0x3ecfe7),_0x545811=_0x19cab3(_0x4ba543),_0x21aca3=_0x3c4c66?(0x0,_0x150d2d[_0x537f44(0x140)])(_0x204ac3,{}):(0x0,_0x150d2d['jsx'])(_0x2984f3,{}),_0x4827b6=(0x0,_0x42dad4[_0x537f44(0x216)])(()=>{_0x3ecfe7&&_0x2f5533&&_0x2f5533();},[_0x3ecfe7,_0x2f5533]);function _0x581639(){const _0x2b3809=_0x537f44;return(0x0,_0x150d2d[_0x2b3809(0x235)])(_0x2b3809(0x1cc),{'className':(0x0,_0x1d5666[_0x2b3809(0x1c8)])('univer-flex\x20univer-items-center',_0x3ecfe7&&_0x2f5533&&_0x2b3809(0x107)),'role':_0x2b3809(0x12b),'onClick':_0x3ecfe7&&_0x2f5533?_0x4827b6:void 0x0,'children':[(0x0,_0x150d2d[_0x2b3809(0x140)])(_0x2b3809(0x1cc),{'className':(0x0,_0x1d5666[_0x2b3809(0x1c8)])(_0x2b3809(0x177),_0x545811),'children':_0x21aca3}),(0x0,_0x150d2d[_0x2b3809(0x140)])(_0x2b3809(0x1cc),{'className':_0x2b3809(0x1c9),'children':_0x250723})]});}return(0x0,_0x150d2d[_0x537f44(0x140)])(_0x1d5666[_0x537f44(0x120)],{'title':_0xf5f358,'placement':'bottom','children':_0x581639()});}let _0xaccb2=class extends _0x1f795b[_0xd9144a(0x28b)]{constructor(_0x578c10,_0x4d4183,_0x478558,_0x3b5e36){const _0xe58500=_0xd9144a;super(),this[_0xe58500(0x226)]=_0x578c10,this[_0xe58500(0x103)]=_0x4d4183,this['_uiPartsService']=_0x478558,this[_0xe58500(0x225)]=_0x3b5e36,this[_0xe58500(0x119)](),this['_initStatusComponent']();}['_initAutoConnect'](){const _0x29776d=_0xd9144a;let _0x3f97c6=this[_0x29776d(0x225)]['getConfig'](_0x450111);_0x3f97c6!=null&&_0x3f97c6[_0x29776d(0x175)]&&(this[_0x29776d(0x103)][_0x29776d(0x1ee)]=!0x1);}[_0xd9144a(0x20f)](){const _0x1c5e56=_0xd9144a;let _0x331695=this['_configService'][_0x1c5e56(0x15b)](_0x450111);(_0x331695==null?void 0x0:_0x331695[_0x1c5e56(0x236)])!==!0x1&&this[_0x1c5e56(0x27e)](this[_0x1c5e56(0x172)]['registerComponent'](_0x3c638e['BuiltInUIPart'][_0x1c5e56(0x1d0)],()=>{const _0x2335ab=_0x1c5e56;var _0x4f3b42;return(0x0,_0x3c638e[_0x2335ab(0x247)])(_0x2845c3({'status$':this[_0x2335ab(0x103)][_0x2335ab(0x275)],'error$':this[_0x2335ab(0x103)][_0x2335ab(0x20a)],'onConfigure':()=>this[_0x2335ab(0x245)](),'showClickable':(_0x4f3b42=_0x331695==null?void 0x0:_0x331695['showDeveloperTools'])==null?!0x1:_0x4f3b42}),this[_0x2335ab(0x226)]);}));}[_0xd9144a(0x245)](){const _0x20c068=_0xd9144a;this[_0x20c068(0x226)]['get'](_0x17cdbd)['showConfigPanel']();}};_0xaccb2=_0x79d6ef([_0x2664d3(0x0,(0x0,_0x1f795b[_0xd9144a(0x258)])(_0x1f795b[_0xd9144a(0x256)])),_0x2664d3(0x1,(0x0,_0x1f795b[_0xd9144a(0x258)])(_0x32aaba[_0xd9144a(0x186)])),_0x2664d3(0x2,_0x3c638e['IUIPartsService']),_0x2664d3(0x3,_0x1f795b[_0xd9144a(0x116)])],_0xaccb2);function _0x2845c3(_0x3de77a){let {status$:_0x7c4c57,error$:_0x5526fe,onConfigure:_0x49ec37,showClickable:_0x41c5ba}=_0x3de77a;return function(){const _0x27274a=_0x5483;return(0x0,_0x150d2d[_0x27274a(0x140)])(_0x38ebb0,{'status$':_0x7c4c57,'error$':_0x5526fe,'onConfigure':_0x49ec37,'showClickable':_0x41c5ba});};}function _0x52f643(_0x1f3bd6){const _0x339c1e=_0xd9144a;return{'id':_0x12d301['id'],'type':_0x3c638e[_0x339c1e(0x16e)][_0x339c1e(0x1d2)],'icon':_0x339c1e(0x1cd),'title':_0x339c1e(0x209),'tooltip':_0x339c1e(0x209)};}let _0x2cb617={[_0x3c638e[_0xd9144a(0x268)][_0xd9144a(0x24c)]]:{[_0x12d301['id']]:{'order':0xa,'menuItemFactory':_0x52f643}}},_0x2f33f5=class extends _0x1f795b[_0xd9144a(0x28b)]{constructor(_0x2d4997,_0x37cf04){const _0x3ca565=_0xd9144a;super(),this['_commandService']=_0x2d4997,this[_0x3ca565(0x14f)]=_0x37cf04,this[_0x3ca565(0x167)](),this[_0x3ca565(0x1a6)]();}[_0xd9144a(0x167)](){const _0x4e524d=_0xd9144a;[_0x12d301][_0x4e524d(0x1b0)](_0x4ca337=>{const _0x4cf7dc=_0x4e524d;this[_0x4cf7dc(0x27e)](this[_0x4cf7dc(0x240)]['registerCommand'](_0x4ca337));});}[_0xd9144a(0x1a6)](){const _0x279027=_0xd9144a;this[_0x279027(0x14f)][_0x279027(0x27a)](_0x2cb617);}};_0x2f33f5=_0x79d6ef([_0x2664d3(0x0,_0x1f795b['ICommandService']),_0x2664d3(0x1,_0x3c638e[_0xd9144a(0x1c5)])],_0x2f33f5);let _0x295b57={'mcpStatus':{'disconnected':_0xd9144a(0x23a),'connecting':_0xd9144a(0x273),'connected':'MCP\x20Connected','failed':_0xd9144a(0x22c),'retrying':_0xd9144a(0x118),'unknown':_0xd9144a(0x260),'unauthorized':_0xd9144a(0x1d4),'sessionOccupied':_0xd9144a(0x156),'networkError':_0xd9144a(0x1f1),'maxRetriesExceeded':_0xd9144a(0x11a),'clickToConnect':_0xd9144a(0x23c),'clickToConfigure':_0xd9144a(0x212)},'mcpConfig':{'title':_0xd9144a(0x1d7),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xd9144a(0x10b),'apiKeyPlaceholder':_0xd9144a(0x21c),'apiKeyHint':_0xd9144a(0x16b),'enableAuth':_0xd9144a(0x26c),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xd9144a(0x123),'mcpClientConfig':_0xd9144a(0x123),'configInstructions':_0xd9144a(0x248),'configStepTitle':_0xd9144a(0x1de),'configStep1':_0xd9144a(0x253),'configStep2':_0xd9144a(0x1a1),'configStep3':_0xd9144a(0x166),'sessionId':_0xd9144a(0x27c),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xd9144a(0x17a),'configParameters':_0xd9144a(0x1b6),'maxRetries':_0xd9144a(0x1a7),'save':_0xd9144a(0x220),'saving':_0xd9144a(0x24d),'note1':_0xd9144a(0x182),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xd9144a(0x187),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xd9144a(0x228),'description':_0xd9144a(0x1fd),'univerAiLabel':_0xd9144a(0x199),'getStarted':_0xd9144a(0x25b)},'validation':{'apiKeyRequired':_0xd9144a(0x1e3),'apiKeyTooShort':_0xd9144a(0x289),'invalidConfig':_0xd9144a(0x178),'invalidApiKey':_0xd9144a(0x114)},'connectionStatus':{'disconnected':_0xd9144a(0x23b),'connecting':_0xd9144a(0x19e),'connected':_0xd9144a(0x165),'failed':'Connection\x20Failed','retrying':_0xd9144a(0x1ec)},'connectionError':{'unauthorized':_0xd9144a(0x1e1),'sessionOccupied':_0xd9144a(0x11f),'networkError':_0xd9144a(0x129),'maxRetriesExceeded':_0xd9144a(0x12c)}}},_0x31edbc={'mcpStatus':{'disconnected':_0xd9144a(0x125),'connecting':_0xd9144a(0x1aa),'connected':_0xd9144a(0x1b5),'failed':'MCP\x20连接失败','retrying':_0xd9144a(0x18c),'unknown':_0xd9144a(0x1eb),'unauthorized':_0xd9144a(0x1f8),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0xd9144a(0x1c1),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0xd9144a(0x17c)},'mcpConfig':{'title':_0xd9144a(0x117),'description':_0xd9144a(0x215),'apiKey':_0xd9144a(0x23d),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0xd9144a(0x28d),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0xd9144a(0x25c),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0xd9144a(0x262),'configStepTitle':_0xd9144a(0x269),'configStep1':_0xd9144a(0x20b),'configStep2':_0xd9144a(0x19f),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0xd9144a(0x19a),'sessionIdDescription':_0xd9144a(0x13b),'authorizationDescription':_0xd9144a(0x252),'configParameters':_0xd9144a(0x1ae),'maxRetries':_0xd9144a(0x1c2),'save':_0xd9144a(0x24b),'saving':'保存中...','note1':'配置更改将立即生效','note2':_0xd9144a(0x179),'configSaved':_0xd9144a(0x105),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0xd9144a(0x267),'univerAiLabel':_0xd9144a(0x255),'getStarted':_0xd9144a(0x139)},'validation':{'apiKeyRequired':_0xd9144a(0x151),'apiKeyTooShort':_0xd9144a(0x106),'invalidConfig':'配置无效','invalidApiKey':_0xd9144a(0x1ba)},'connectionStatus':{'disconnected':'未连接','connecting':_0xd9144a(0x196),'connected':_0xd9144a(0x16f),'failed':_0xd9144a(0x18f),'retrying':_0xd9144a(0x121)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0xd9144a(0x135)}}};var _0x4dbe7b='@univerjs-pro/mcp-ui',_0x171100=_0xd9144a(0x1a9);let _0x5dc20d=class extends _0x1f795b[_0xd9144a(0x1ce)]{constructor(_0x16b838=_0x4c7983,_0xb74ad7,_0x3a7a5e,_0x3c048e,_0x15567b,_0x2c420e){const _0x3540a6=_0xd9144a;super(),this[_0x3540a6(0x1c0)]=_0x16b838,this[_0x3540a6(0x226)]=_0xb74ad7,this['_configService']=_0x3a7a5e,this[_0x3540a6(0x172)]=_0x3c048e,this[_0x3540a6(0x231)]=_0x15567b,this[_0x3540a6(0x211)]=_0x2c420e;let {..._0x367dd9}=(0x0,_0x1f795b[_0x3540a6(0x171)])({},_0x4c7983,this[_0x3540a6(0x1c0)]);this[_0x3540a6(0x225)]['setConfig'](_0x450111,_0x367dd9);}async[_0xd9144a(0x193)](){const _0x3695f7=_0xd9144a;let _0x136290=[[_0xaccb2],[_0x17cdbd],[_0x2f33f5]];this[_0x3695f7(0x226)][_0x3695f7(0x1a8)](_0x392d75[_0x3695f7(0x22e)])||_0x136290['push']([_0x392d75[_0x3695f7(0x22e)],{'useClass':_0x392d75[_0x3695f7(0x203)]}]),_0x136290[_0x3695f7(0x1b0)](_0x49b920=>this[_0x3695f7(0x226)][_0x3695f7(0x1b3)](_0x49b920)),this[_0x3695f7(0x226)]['get'](_0xaccb2),this['_injector']['get'](_0x17cdbd),this['_injector']['get'](_0x2f33f5);}};_0x103371(_0x5dc20d,'pluginName',_0xd9144a(0x266)),_0x103371(_0x5dc20d,_0xd9144a(0x184),_0x4dbe7b),_0x103371(_0x5dc20d,'version',_0x171100),_0x5dc20d=_0x79d6ef([(0x0,_0x1f795b['DependentOn'])(_0x32aaba[_0xd9144a(0x108)]),_0x2664d3(0x1,(0x0,_0x1f795b[_0xd9144a(0x258)])(_0x1f795b[_0xd9144a(0x256)])),_0x2664d3(0x2,_0x1f795b[_0xd9144a(0x116)]),_0x2664d3(0x3,_0x3c638e[_0xd9144a(0x18a)]),_0x2664d3(0x4,_0x1f795b['ILocalStorageService']),_0x2664d3(0x5,(0x0,_0x1f795b[_0xd9144a(0x258)])(_0x1f795b[_0xd9144a(0x1df)]))],_0x5dc20d),_0x51910d[_0xd9144a(0x1f2)]=_0x24fb32,Object[_0xd9144a(0x1c3)](_0x51910d,'MCPConfigUIController',{'enumerable':!0x0,'get':function(){return _0x17cdbd;}}),Object['defineProperty'](_0x51910d,_0xd9144a(0x164),{'enumerable':!0x0,'get':function(){return _0xaccb2;}}),_0x51910d['MCPStatusDisplay']=_0x38ebb0,Object['defineProperty'](_0x51910d,_0xd9144a(0x230),{'enumerable':!0x0,'get':function(){return _0x2f33f5;}}),_0x51910d[_0xd9144a(0x1fa)]=_0x12d301,Object[_0xd9144a(0x1c3)](_0x51910d,_0xd9144a(0x202),{'enumerable':!0x0,'get':function(){return _0x5dc20d;}}),_0x51910d[_0xd9144a(0x136)]=_0x295b57,_0x51910d[_0xd9144a(0x18b)]=_0x31edbc;}));function _0x5483(_0x198e2b,_0x15ec3e){_0x198e2b=_0x198e2b-0x102;const _0xb33950=_0xb339();let _0x5483ea=_0xb33950[_0x198e2b];return _0x5483ea;}function _0xb339(){const _0x1cccf5=['_initAutoConnect','MCP:\x20Max\x20Retries\x20Exceeded','OffLineIcon','MCPConnectionStatus','mcpConfig.validation.apiKeyRequired','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','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Tooltip','重连中...','mcpConfig.authorizationDescription','MCP\x20Client\x20Configuration','mcpConfig.apiApplyInfo.univerAiLabel','MCP\x20已断开','check-mark-icon','mcpConfig.connectionError.networkError','_handleConfigSave','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','colorChannel1','button','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','label','url(#on-line-icon_clip0_910_349)','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','warn','evenodd','mcpConfig.connectionStatus.disconnected','isValid','Success','超出最大重试次数,请稍后再试','enUS','Error','close','几秒钟内获取您的\x20API\x20密钥','@univerjs-pro/mcp','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MessageType','useDependency','mcpConfig.configStep2','off','jsx','createElement','mcp-ui.config','MCPConnectionError','url(#off-line-icon_clip0_910_343)','http','function','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','Bearer\x20','univer_session_id:','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','univer-bg-blue-500','ILocalStorageService','assign','SESSION_ID_OCCUPIED','_menuManagerService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','API\x20密钥不能为空','\x20-\x20','UniverDesign','substring','10xpjbNK','MCP:\x20Session\x20ID\x20Occupied','CONNECTED','mcpConfig.apiApplyInfo.getStarted','FAILED','mcpConfig.connectionStatus.failed','getConfig','Authorization:','713075NfwdAo','_apiKey$','univer-text-xs\x20univer-text-gray-500','map','toPrimitive','univer-text-red-500','mcpStatus.retrying','MCPConnectionUIController','Connected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','_initializeCommands','univer-text-xs\x20univer-text-gray-600','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','7TnwPWN','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1305436wzOJNT','ComponentManager','MenuItemType','已连接','mcp-config-dialog','merge','_uiPartsService','mcpConfig.saving','subscribeConfigValue$','showDeveloperTools','_logService','univer-mr-2\x20univer-flex\x20univer-text-xl','Invalid\x20configuration','您的\x20API\x20密钥安全存储在本地存储中','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-gray-500','点击配置\x20MCP','UniverIcon','univer-space-y-5','mcpStatus.failed','mcpConfig.configParameters','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpConfig.configStep3','packageName','React','MCPConnectionController','Configuration\x20saved\x20successfully','univer-space-y-4','@univerjs/network','IUIPartsService','zhCN','MCP\x20重连中...','DISCONNECTED','1em','连接失败','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer.plus','fill','onStarting','univer-bg-red-500','rxjs','连接中...','prototype','UniverProMcp','Univer\x20AI\x20Console','会话ID','Module','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpServerUrl','Connecting...','将配置添加到您的\x20MCP\x20客户端设置文件中','_loadStoredApiKey','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-space-y-2','0\x200\x2016\x2016','mcpStatus.connecting','CloseIcon','_initializeMenus','Max\x20Retries','has','0.23.0','MCP\x20连接中...','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','entries','mcpStatus.sessionOccupied','配置参数:','getOwnPropertyDescriptor','forEach','showConfigPanel','value','add','UniverCore','MCP\x20已连接','Configuration\x20Parameters:','univer-flex\x20univer-items-center\x20univer-gap-2','apiKey','includes','API\x20密钥无效,请检查密钥是否正确','white','current','svg','mcpConfig.apiKeyHint','validateApiKey','_config','MCP:\x20超出最大重试次数','最大重试次数','defineProperty','univer-flex\x20univer-items-start\x20univer-gap-3','IMenuManagerService','defs','__setCustomHeaders','clsx','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpStatus.networkError','https://console.univer.ai','div','MenuIcon','Plugin','_mcpConnectionController','HEADER_MENU','univer-flex\x20univer-items-center\x20univer-gap-3','BUTTON','none','MCP:\x20Unauthorized','attrs','iterator','MCP\x20Configuration','text','idSuffix','_loading$','mask','mcpConfig.save','_config$','Configuration\x20Steps:','LocaleService','CheckMarkIcon','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','off-line-icon','API\x20key\x20is\x20required','UniverNetwork','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_validateConfig','get','url(#$1','mcpStatus.clickToConnect','off-line-icon_clip0_910_343','MCP\x20状态未知','Retrying...','<SESSION_ID>','enableAutoConnect','mcpStatus.maxRetriesExceeded','subscribe','MCP:\x20Network\x20Error','MCPConfigPanel','getItem','_mcpCoreConfig$','univer-text-gray-400','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','_dialogService','MCP:\x20未授权','mcpConfig.connectionError.maxRetriesExceeded','OpenMCPConfigPanelCommand','_messageService','univer-flex\x20univer-items-start\x20univer-gap-2','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','26937647Wzginw','IMessageService','mcpConfig.configStep1','displayName','UniverMCPUIPlugin','WebSocketService','mcpConfig.connectionError.sessionOccupied','symbol','mcpConfig.validation.invalidConfig','path','30818dEefpL','mcpConfig.title','connectionError$','复制以下\x20JSON\x20配置','univer-text-blue-600','use','IDialogService','_initStatusComponent','mcpConfig.apiKey','_localeService','Click\x20to\x20configure\x20MCP','removeItem','_registerComponent','配置\x20MCP\x20使用\x20AI\x20操作电子表格','useCallback','univer-size-4','mcpConfig.connectionStatus.connected','default','register','span','Enter\x20your\x20API\x20key','univer-text-green-500','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Save\x20Configuration','mcpConfig.configSaved','univer.ai','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','_blank','_configService','_injector','mcpConfig.connectionError.unauthorized','What\x20is\x20API\x20Key?','COMMAND','CommandType','decorate','MCP\x20Connection\x20Failed','mcpConfig.configInstructions','ISocketService','5444478PYhbof','MCPUIMenuController','_localStorageService','length','noopener\x20noreferrer','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','jsxs','showStatus','16fllOgY','592zDdCZo','useObservable','MCP\x20Disconnected','Disconnected','Click\x20to\x20connect\x20MCP','API\x20密钥','currentColor','86049MwjEyW','_commandService','round','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','on-line-icon_clip0_910_349','745278jEkofh','_handleConfigure','_createConfigPanelComponent','connectInjector','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','保存配置','OTHERS','Saving...','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mcpConfig.connectionStatus.retrying','mcpConfig.note2','replace','带有\x20Bearer\x20前缀的\x20API\x20密钥。','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Notes:','Univer\x20AI\x20控制台','Injector','tag','Inject','constructor','mcpStatus.connected','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20客户端配置','mcpConfig.apiKeyPlaceholder','stringify','mcpConfig.description','MCP\x20Unknown\x20Status','univer-bg-gray-500','将以下配置添加到您的\x20MCP\x20客户端设置中:','clipPath','xlink:href','mcp-ui.command.openConfigPanel','MCP_UI_PLUGIN','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','RibbonStartGroup','配置步骤:','UniverProMcpUi','getCurrentConfig','Enable\x20Authentication','univer-font-medium','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','BehaviorSubject','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','RETRYING','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','MCP\x20Connecting...','NETWORK_ERROR','connectionStatus$','univer-text-yellow-500','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','trim','mergeMenu','CONNECTING','Session\x20ID','univer-space-y-3','disposeWithMe','univerjs-icon\x20univerjs-icon-','http://www.w3.org/2000/svg','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpConfig.apiApplyInfo.title','ILogService','OnLineIcon','object','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-shrink-0\x20univer-text-red-500','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Disposable','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','您的\x20API\x20密钥将在此浏览器中本地存储','next','Input','string','UNAUTHORIZED','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','show','defIds','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','_connectionController','_initConfigSync','配置保存成功','API\x20密钥长度至少需要\x2010\x20位','\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','UniverMCPPlugin','forwardRef','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','API\x20Key','univer-text-sm\x20univer-font-medium','univer-min-w-0\x20univer-flex-1','error','MCP_PLUGIN_CONFIG_KEY','children','useState','_componentManager','mcpConfig.note1','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','random','IConfigService','MCP\x20配置','MCP\x20Retrying...'];_0xb339=function(){return _0x1cccf5;};return _0xb339();}
@@ -1 +1 @@
1
- function _0x23cd(_0xa370c0,_0x357fcd){_0xa370c0=_0xa370c0-0x12d;var _0x4b63c7=_0x4b63();var _0x23cdb9=_0x4b63c7[_0xa370c0];return _0x23cdb9;}(function(_0x261fb1,_0x3989d8){var _0x2820ea=_0x23cd,_0x54dff8=_0x261fb1();while(!![]){try{var _0x5c07b5=parseInt(_0x2820ea(0x15a))/0x1*(-parseInt(_0x2820ea(0x158))/0x2)+parseInt(_0x2820ea(0x130))/0x3+-parseInt(_0x2820ea(0x148))/0x4*(-parseInt(_0x2820ea(0x13a))/0x5)+-parseInt(_0x2820ea(0x135))/0x6+parseInt(_0x2820ea(0x140))/0x7*(parseInt(_0x2820ea(0x14d))/0x8)+parseInt(_0x2820ea(0x15d))/0x9+-parseInt(_0x2820ea(0x154))/0xa;if(_0x5c07b5===_0x3989d8)break;else _0x54dff8['push'](_0x54dff8['shift']());}catch(_0x74a039){_0x54dff8['push'](_0x54dff8['shift']());}}}(_0x4b63,0x3dd25),function(_0x19b46c,_0x45526e){var _0x1ca25a=_0x23cd;typeof exports==_0x1ca25a(0x14c)&&typeof module<'u'?module[_0x1ca25a(0x14f)]=_0x45526e():typeof define==_0x1ca25a(0x13b)&&define['amd']?define([],_0x45526e):(_0x19b46c=typeof globalThis<'u'?globalThis:_0x19b46c||self,_0x19b46c[_0x1ca25a(0x14e)]=_0x45526e());}(this,function(){var _0x2e1ce2=_0x23cd;return{'mcpStatus':{'disconnected':_0x2e1ce2(0x132),'connecting':_0x2e1ce2(0x141),'connected':_0x2e1ce2(0x143),'failed':_0x2e1ce2(0x133),'retrying':_0x2e1ce2(0x14a),'unknown':_0x2e1ce2(0x134),'unauthorized':_0x2e1ce2(0x12f),'sessionOccupied':_0x2e1ce2(0x15e),'networkError':_0x2e1ce2(0x139),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2e1ce2(0x13d),'description':_0x2e1ce2(0x15f),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2e1ce2(0x145),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2e1ce2(0x147),'enableAuthHint':_0x2e1ce2(0x13e),'connectionInfo':_0x2e1ce2(0x12d),'mcpClientConfig':_0x2e1ce2(0x12d),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2e1ce2(0x144),'configStep1':_0x2e1ce2(0x160),'configStep2':_0x2e1ce2(0x138),'configStep3':_0x2e1ce2(0x146),'sessionId':_0x2e1ce2(0x157),'sessionIdDescription':_0x2e1ce2(0x153),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x2e1ce2(0x137),'maxRetries':_0x2e1ce2(0x131),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x2e1ce2(0x142),'note2':_0x2e1ce2(0x14b),'configSaved':_0x2e1ce2(0x156),'configError':_0x2e1ce2(0x161),'apiApplyInfo':{'title':_0x2e1ce2(0x159),'description':_0x2e1ce2(0x155),'univerAiLabel':_0x2e1ce2(0x152),'getStarted':_0x2e1ce2(0x13f)},'validation':{'apiKeyRequired':_0x2e1ce2(0x15b),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2e1ce2(0x13c),'connected':_0x2e1ce2(0x12e),'failed':_0x2e1ce2(0x136),'retrying':_0x2e1ce2(0x150)},'connectionError':{'unauthorized':_0x2e1ce2(0x151),'sessionOccupied':_0x2e1ce2(0x15c),'networkError':_0x2e1ce2(0x149),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));function _0x4b63(){var _0x5ab45d=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','591396nLtulp','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','object','2294808mgLDsS','UniverProMcpUiCaES','exports','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Univer\x20AI\x20Console','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','17930mCBvYG','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully','Session\x20ID','16HZwNQN','What\x20is\x20API\x20Key?','18575zzVbmR','API\x20key\x20is\x20required','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','359226tcePaT','MCP:\x20Session\x20ID\x20Occupied','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Copy\x20the\x20JSON\x20configuration\x20below','Failed\x20to\x20save\x20configuration','MCP\x20Client\x20Configuration','Connected','MCP:\x20Unauthorized','1249206NaXuVP','Max\x20Retries','MCP\x20Disconnected','MCP\x20Connection\x20Failed','MCP\x20Unknown\x20Status','2924412FGtwUR','Connection\x20Failed','Configuration\x20Parameters:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Network\x20Error','5yRGrRx','function','Connecting...','MCP\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Get\x20your\x20API\x20key\x20in\x20seconds','7TSxhrc','MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connected','Configuration\x20Steps:','Enter\x20your\x20API\x20key'];_0x4b63=function(){return _0x5ab45d;};return _0x4b63();}
1
+ (function(_0x855da7,_0x1fdd63){var _0x2131ef=_0xe543,_0x2ed620=_0x855da7();while(!![]){try{var _0x2a5907=parseInt(_0x2131ef(0xf7))/0x1*(-parseInt(_0x2131ef(0x106))/0x2)+-parseInt(_0x2131ef(0xfb))/0x3+parseInt(_0x2131ef(0x105))/0x4*(parseInt(_0x2131ef(0xd4))/0x5)+-parseInt(_0x2131ef(0x101))/0x6*(parseInt(_0x2131ef(0xd0))/0x7)+-parseInt(_0x2131ef(0xd8))/0x8*(-parseInt(_0x2131ef(0xe6))/0x9)+-parseInt(_0x2131ef(0xdf))/0xa+parseInt(_0x2131ef(0xd1))/0xb*(parseInt(_0x2131ef(0xd9))/0xc);if(_0x2a5907===_0x1fdd63)break;else _0x2ed620['push'](_0x2ed620['shift']());}catch(_0x341ec2){_0x2ed620['push'](_0x2ed620['shift']());}}}(_0xb9ca,0x6db44),function(_0x1e1a7a,_0x4ab181){var _0x5b8a65=_0xe543;typeof exports=='object'&&typeof module<'u'?module[_0x5b8a65(0xf9)]=_0x4ab181():typeof define==_0x5b8a65(0xe5)&&define['amd']?define([],_0x4ab181):(_0x1e1a7a=typeof globalThis<'u'?globalThis:_0x1e1a7a||self,_0x1e1a7a[_0x5b8a65(0xf0)]=_0x4ab181());}(this,function(){var _0x3150fe=_0xe543;return{'mcpStatus':{'disconnected':_0x3150fe(0xd6),'connecting':_0x3150fe(0xfe),'connected':'MCP\x20Connected','failed':_0x3150fe(0xf1),'retrying':'MCP\x20Retrying...','unknown':_0x3150fe(0xd7),'unauthorized':_0x3150fe(0xeb),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3150fe(0xdd)},'mcpConfig':{'title':_0x3150fe(0xe0),'description':_0x3150fe(0xea),'apiKey':_0x3150fe(0xe4),'apiKeyPlaceholder':_0x3150fe(0xf5),'apiKeyHint':_0x3150fe(0x103),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x3150fe(0xed),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3150fe(0xd5),'configStepTitle':_0x3150fe(0xff),'configStep1':_0x3150fe(0xf2),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3150fe(0xe3),'sessionId':'Session\x20ID','sessionIdDescription':_0x3150fe(0xf8),'authorizationDescription':_0x3150fe(0xf6),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x3150fe(0xd3),'save':_0x3150fe(0xe2),'saving':_0x3150fe(0xe8),'note1':_0x3150fe(0xfa),'note2':_0x3150fe(0xf4),'configSaved':_0x3150fe(0xec),'configError':_0x3150fe(0xf3),'apiApplyInfo':{'title':_0x3150fe(0xe7),'description':_0x3150fe(0x102),'univerAiLabel':_0x3150fe(0xe1),'getStarted':_0x3150fe(0xde)},'validation':{'apiKeyRequired':_0x3150fe(0xfc),'apiKeyTooShort':_0x3150fe(0xfd),'invalidConfig':_0x3150fe(0xd2),'invalidApiKey':_0x3150fe(0x100)},'connectionStatus':{'disconnected':_0x3150fe(0xda),'connecting':_0x3150fe(0xdb),'connected':_0x3150fe(0xdc),'failed':_0x3150fe(0x107),'retrying':_0x3150fe(0xef)},'connectionError':{'unauthorized':_0x3150fe(0xe9),'sessionOccupied':_0x3150fe(0xee),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x3150fe(0x104)}}};}));function _0xe543(_0x1d8e03,_0x12983b){_0x1d8e03=_0x1d8e03-0xd0;var _0xb9ca5d=_0xb9ca();var _0xe54319=_0xb9ca5d[_0x1d8e03];return _0xe54319;}function _0xb9ca(){var _0x5c44c6=['Connecting...','Connected','Click\x20to\x20configure\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','4522940AUQKns','MCP\x20Configuration','Univer\x20AI\x20Console','Save\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20Key','function','2643624NUOEtV','What\x20is\x20API\x20Key?','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Unauthorized','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Retrying...','UniverProMcpUiCaES','MCP\x20Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enter\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','107blAFgI','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','exports','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2100642FXtkuZ','API\x20key\x20is\x20required','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connecting...','Configuration\x20Steps:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1038NrEhLc','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4LPFIlY','2806NqifiC','Connection\x20Failed','30989mkkcut','6369AjUcAc','Invalid\x20configuration','Max\x20Retries','1320985fRzxRx','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Disconnected','MCP\x20Unknown\x20Status','8UhKUMK','40620jlqINA','Disconnected'];_0xb9ca=function(){return _0x5c44c6;};return _0xb9ca();}