@nuvin/agent-core 0.1.0-rc.1 → 0.1.0-rc.3

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.
@@ -1 +1 @@
1
- (function(_0x57a40f,_0x7b2948){const _0x5aa91e={_0x595507:0x35b,_0x3db759:0x45c,_0x3a2774:0x6ed,_0x4a4ebb:0x6b9,_0x54d9ab:0x7d9,_0xd274d8:0x6b0,_0x112b1e:0x6ce,_0x572253:0x5c2,_0x292607:0x382,_0x41dc9c:0x39d,_0x455763:0x24e,_0x3c24e3:0x275,_0x3159c6:0x2a4,_0x26fb6c:0x21c,_0x31e001:0x3d7,_0x541121:0x59e,_0x321db2:0x5e4,_0x1e9e76:0x384,_0x1438d4:0x6c9,_0xc3a395:0x76c,_0x4a59a9:0x6ad,_0x2eb7f2:0x6d8,_0x532213:0x6d,_0x5e196e:0x123},_0xe66faa={_0x877063:0x25};function _0x16bee2(_0x27764f,_0x459fd3,_0x17aae2,_0x1f59bd){return _0x4b33(_0x27764f- -_0xe66faa._0x877063,_0x17aae2);}function _0x1fe3e3(_0x4fc045,_0x363169,_0x37db8f,_0x191b37){return _0x4b33(_0x37db8f-0x3e0,_0x4fc045);}const _0x5ed6b1=_0x57a40f();while(!![]){try{const _0x578a27=-parseInt(_0x16bee2(_0x5aa91e._0x595507,0x401,0x4c0,_0x5aa91e._0x3db759))/0x1*(parseInt(_0x1fe3e3(_0x5aa91e._0x3a2774,_0x5aa91e._0x4a4ebb,0x791,0x70d))/0x2)+-parseInt(_0x1fe3e3(_0x5aa91e._0x54d9ab,_0x5aa91e._0xd274d8,_0x5aa91e._0x112b1e,_0x5aa91e._0x572253))/0x3+parseInt(_0x16bee2(_0x5aa91e._0x292607,_0x5aa91e._0x41dc9c,_0x5aa91e._0x455763,_0x5aa91e._0x3c24e3))/0x4*(parseInt(_0x16bee2(_0x5aa91e._0x3159c6,_0x5aa91e._0x26fb6c,0x135,_0x5aa91e._0x31e001))/0x5)+-parseInt(_0x1fe3e3(0x6ef,_0x5aa91e._0x541121,0x64c,_0x5aa91e._0x321db2))/0x6+-parseInt(_0x16bee2(0x2c7,0x2de,0x1e3,_0x5aa91e._0x1e9e76))/0x7+parseInt(_0x1fe3e3(0x659,_0x5aa91e._0x1438d4,_0x5aa91e._0xc3a395,_0x5aa91e._0x4a59a9))/0x8*(-parseInt(_0x1fe3e3(0x765,0x74f,0x6b3,0x7d7))/0x9)+-parseInt(_0x1fe3e3(0x505,_0x5aa91e._0x2eb7f2,0x61f,0x700))/0xa*(-parseInt(_0x16bee2(0xf9,_0x5aa91e._0x532213,_0x5aa91e._0x5e196e,0x22))/0xb);if(_0x578a27===_0x7b2948)break;else _0x5ed6b1['push'](_0x5ed6b1['shift']());}catch(_0x16c11b){_0x5ed6b1['push'](_0x5ed6b1['shift']());}}}(_0x322b,0xb1df1));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-55OPA5TR.js';import{getTextFromMessage}from'../chunk-QDOE7NWO.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x4685d5 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x5c47d8(0x30a,0x482,0x28b,0x468),'.tsx':_0x25cfa5(-0xc1,-0x14c,-0x3a,-0x1aa),'.js':'javascript','.jsx':_0x25cfa5(0x1dd,0x2bd,0x20f,0x263),'.mjs':_0x5c47d8(0x374,0x2a6,0x3ef,0x295),'.cjs':_0x5c47d8(0x374,0x2bb,0x291,0x21c),'.mts':_0x25cfa5(-0xd6,-0x22,-0x5,-0x6a),'.cts':_0x5c47d8(0x30a,0x43d,0x301,0x32d),'.json':_0x25cfa5(0x16c,0x23f,0x1f7,0x1fc),'.jsonc':'jsonc'};function getLanguageId(_0x2334f2){const _0x3d536d={_0x3527a6:0x253},_0x465b9d={_0x5a45fc:0x3b3};function _0x1fa3c2(_0x323a6c,_0x12e1b2,_0x8b6419,_0x1df4ca){return _0x25cfa5(_0x323a6c-0x10a,_0x12e1b2,_0x1df4ca-_0x465b9d._0x5a45fc,_0x1df4ca-0x1bb);}return EXTENSION_TO_LANGUAGE[_0x4685d5[_0x1fa3c2(0x1db,_0x3d536d._0x3527a6,0x1d2,0x33c)](_0x2334f2)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x2f52e3){return pathToFileURL(_0x2f52e3)['toString']();}function textDocumentPosition(_0x4f1400){const _0x305a82={_0x38392d:0x289,_0x72b4a:0x200,_0x1c76f0:0x3c1,_0x2c2627:0x2e2},_0x315e27={_0x13cd25:0x493,_0x5cdc91:0xec,_0x49daad:0x1d3},_0x443ba9={_0x46036c:0x1ca,_0x54b940:0x250};function _0x1851ea(_0x52407e,_0x5af66e,_0x1291cb,_0x474d82){return _0x25cfa5(_0x52407e-_0x443ba9._0x46036c,_0x52407e,_0x474d82-_0x443ba9._0x54b940,_0x474d82-0x196);}function _0x253bf7(_0x1e1cf4,_0x44d8af,_0x235ce2,_0x37668b){return _0x5c47d8(_0x37668b- -_0x315e27._0x13cd25,_0x44d8af-_0x315e27._0x5cdc91,_0x235ce2-_0x315e27._0x49daad,_0x1e1cf4);}return{'textDocument':{'uri':uriForPath(_0x4f1400[_0x253bf7(-_0x305a82._0x38392d,-0x28b,-0x2fb,-_0x305a82._0x72b4a)])},'position':{'line':_0x4f1400['line'],'character':_0x4f1400[_0x1851ea(0x3d7,_0x305a82._0x1c76f0,_0x305a82._0x2c2627,0x272)]}};}function normalizeLocations(_0x4a37d){const _0x1cb013={_0x29938f:0x14c,_0x723a4d:0x247,_0x5d00fe:0x16e,_0x2201cc:0x2a},_0x24bf01={_0x2a55cf:0x32,_0x3316b1:0x1e4};function _0x56d7b6(_0x227031,_0x28dd25,_0xd5cbd4,_0x38fba0){return _0x25cfa5(_0x227031-_0x24bf01._0x2a55cf,_0x227031,_0xd5cbd4-_0x24bf01._0x3316b1,_0x38fba0-0xae);}if(!_0x4a37d)return[];return Array[_0x56d7b6(_0x1cb013._0x29938f,_0x1cb013._0x723a4d,_0x1cb013._0x5d00fe,_0x1cb013._0x2201cc)](_0x4a37d)?_0x4a37d:[_0x4a37d];}async function createLspClient(_0xea19a){const _0x2e3b74={_0x3d476a:0x39f,_0x5f3b76:0x209,_0x447c05:0x243,_0x3fe7b1:0x10c,_0x4c6c7a:0x23f,_0x5462ec:0xfe,_0x72cea1:0x16,_0x5e739c:0x169,_0x5a8444:0x37b,_0x33db8a:0x2e3,_0x1b6fca:0x2e2,_0x1a5504:0x41b,_0x4dc1c0:0x401,_0x2d63ef:0x35c,_0x1f9f7f:0x10b,_0x11fb7c:0xf6,_0x59139f:0xff,_0x344132:0x451,_0x499fe7:0x3f2,_0x2abe5e:0x4fe,_0x219c40:0x47c,_0x5cf96f:0x396,_0x5003de:0xa8,_0x4d803e:0xef,_0x4b11cb:0x325,_0x205deb:0x304,_0x7f1246:0x77,_0x550394:0x44d,_0x473165:0x4e5,_0x470174:0x11a,_0x2ae437:0xa4,_0x43b6a5:0x13,_0xf2342e:0x101,_0x508b6d:0x24e,_0x3ac72f:0xcf},_0x47e27d={_0xb2ad13:0xd2,_0x3983ff:0x70,_0x4be128:0xc9,_0x33a530:0x13e,_0x35964d:0x50a,_0x586d1a:0x584,_0x2a3720:0x761,_0x158c98:0x844,_0xbd8f12:0x3af,_0x2aa17a:0x412,_0x49c37e:0x39e,_0x385fc0:0x4f1,_0x56dcf8:0x3eb,_0x5c4330:0x413},_0x4c9986={_0x5419f8:0x43d,_0x194c65:0x4fc},_0x413ee0={_0x3d1e85:0x601,_0x5277c3:0x561},_0x4ce9c2={_0x532538:0x68},_0x23f76e={_0x2ebc0e:0x466,_0x55c1f4:0x36c},_0x5ce7c7={_0x3e5346:0x613,_0x297705:0x500,_0x3be73a:0x4ce,_0x3f5005:0x418,_0x2bce58:0x32b,_0x540be0:0x382},_0x26b524={_0x1212f8:0x1d3,_0x4e6195:0x16d},_0x12c41b={_0x5b3c1e:0x147,_0x199e1e:0x10b},_0x467e3={_0x235e38:0x4a5},_0x5f0f3f={_0x428398:0x26a},_0x208c3d={_0x5fbbf1:0x547,_0x41190a:0x71d,_0x1088ed:0x687,_0x5bc5cf:0x75b,_0x36aafe:0x65f,_0x372ad2:0x665},_0x1965ec={_0x368b89:0x2d6,_0x2e4d9f:0x126,_0x3d8044:0x1ea},_0x39899e={_0x54a184:0x18,_0x52d176:0x5b,_0x1262dc:0x17a,_0x28335b:0x56},_0x177ee8={_0x3faa23:0x1f4,_0x25c1bb:0xc5},_0x36961c={_0xf04bba:0x12e,_0x2e2232:0x17b},_0x181ead={_0x273314:0x483,_0xc95d39:0x468,_0x256a58:0x164},_0x5b9758={_0x5a2b65:0x22e},_0x1e6ec4={_0x4c1ba2:0x148,_0x1d021:0xae,_0x5d7966:0x7f,_0x132672:0x1c5,_0x51f772:0x35},_0x4e45b6={_0x2778fd:0x74,_0x2a3772:0x276},_0x50a262={_0x5da2ee:0x9f,_0x4c355e:0xa6,_0x3eef4c:0x76,_0x207f44:0x137,_0x31d15f:0x32},_0x412f91={_0x4fbcf2:0x3f,_0x5f1fbd:0x191},_0x4cb222={_0x3b28b4:0x2f9,_0xad5a1:0x9c,_0x5bf64e:0x5e,_0x1bf6aa:0x2cc,_0x3aee08:0x1e3,_0x5abd02:0x14a,_0xd1444b:0x17e},_0x2c613e={_0x43da33:0x1c4},_0x60533e=_0xea19a['handle'][_0x77d7a8(_0x2e3b74._0x3d476a,_0x2e3b74._0x5f3b76,0x192,_0x2e3b74._0x447c05)][_0x77d7a8(0x1f5,_0x2e3b74._0x3fe7b1,0x38c,_0x2e3b74._0x4c6c7a)],_0x32a64d=_0xea19a[_0x77d7a8(0xa7,-0x129,-_0x2e3b74._0x5462ec,_0x2e3b74._0x72cea1)]['process'][_0x77d7a8(_0x2e3b74._0x5e739c,0xb2,0xbd,0xc9)];if(!_0x60533e||!_0x32a64d)throw new Error(_0x3e79d7(0x2df,_0x2e3b74._0x5a8444,_0x2e3b74._0x33db8a,0x259));const _0x407767=createMessageConnection(new StreamMessageReader(_0x60533e),new StreamMessageWriter(_0x32a64d)),_0x5b958f=new Map(),_0x933cf0=new Map();function _0x77d7a8(_0x3e2484,_0x2e42b7,_0x30d78a,_0x293282){return _0x5c47d8(_0x293282- -0x26d,_0x2e42b7-_0x2c613e._0x43da33,_0x30d78a-0xcf,_0x3e2484);}let _0x410284=![];_0x407767[_0x3e79d7(0x34b,_0x2e3b74._0x1b6fca,_0x2e3b74._0x1a5504,_0x2e3b74._0x4dc1c0)](_0x3e79d7(0x4b2,0x4ed,0x3e0,_0x2e3b74._0x2d63ef),_0x59058d=>{const _0x1c7d42={_0x151820:0xe9,_0xd161c6:0x19b};_0x5b958f[_0x3db1cf(_0x4cb222._0x3b28b4,0x2af,0x3d3,0x1ed)](_0x59058d[_0x19e17b(-_0x4cb222._0xad5a1,0x77,_0x4cb222._0x5bf64e,0xf4)],_0x59058d[_0x3db1cf(0x28f,0x22e,0x33e,_0x4cb222._0x1bf6aa)]);function _0x3db1cf(_0x322339,_0x2cc602,_0x3731bb,_0x379272){return _0x77d7a8(_0x379272,_0x2cc602-0xe5,_0x3731bb-0x93,_0x2cc602-0x1bb);}function _0x19e17b(_0x129ad1,_0x29c540,_0x29c39d,_0x9e758e){return _0x77d7a8(_0x29c540,_0x29c540-_0x1c7d42._0x151820,_0x29c39d-_0x1c7d42._0xd161c6,_0x29c39d- -0x246);}const _0x75c03a=_0x933cf0[_0x19e17b(-_0x4cb222._0x3aee08,-0x89,-_0x4cb222._0x5abd02,-0x245)](_0x59058d[_0x19e17b(-0x4d,_0x4cb222._0xd1444b,0x5e,0x7f)]);if(!_0x75c03a)return;_0x933cf0[_0x19e17b(0x5e,-0xc4,-0x99,0x65)](_0x59058d['uri']);for(const _0x537156 of _0x75c03a)_0x537156();});function _0x3e79d7(_0x2b3805,_0x4238c3,_0x1033be,_0x49b236){return _0x5c47d8(_0x2b3805- -_0x412f91._0x4fbcf2,_0x4238c3-_0x412f91._0x5f1fbd,_0x1033be-0x170,_0x49b236);}_0x407767[_0x77d7a8(0xe,_0x2e3b74._0x1f9f7f,_0x2e3b74._0x11fb7c,_0x2e3b74._0x59139f)]();const _0x1482cc=await _0x407767['sendRequest'](_0x3e79d7(0x3f7,_0x2e3b74._0x344132,_0x2e3b74._0x499fe7,_0x2e3b74._0x2abe5e),{'processId':process['pid'],'rootUri':uriForPath(_0xea19a['root']),'workspaceFolders':[{'uri':uriForPath(_0xea19a[_0x3e79d7(_0x2e3b74._0x219c40,_0x2e3b74._0x5cf96f,0x4bc,0x588)]),'name':_0xea19a[_0x77d7a8(0xb8,_0x2e3b74._0x5003de,0x36,_0x2e3b74._0x4d803e)]['id']}],'initializationOptions':_0xea19a['handle'][_0x3e79d7(_0x2e3b74._0x4b11cb,0x473,0x3ca,_0x2e3b74._0x205deb)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x77d7a8(0x2e1,_0x2e3b74._0x7f1246,0x1f4,0x16c),_0x3e79d7(_0x2e3b74._0x550394,_0x2e3b74._0x473165,0x5a0,0x47e)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x407767[_0x77d7a8(0x132,-_0x2e3b74._0x470174,-_0x2e3b74._0x2ae437,0x3b)]('initialized',{});const _0x16dd2c={'serverId':_0xea19a[_0x77d7a8(0x114,-_0x2e3b74._0x43b6a5,0x1dd,0xef)]['id'],'root':_0xea19a[_0x77d7a8(_0x2e3b74._0xf2342e,0x19e,0xe4,_0x2e3b74._0x508b6d)],'connection':_0x407767,'diagnostics':_0x5b958f,'capabilities':_0x1482cc[_0x77d7a8(-0x32,0x131,-0xa4,_0x2e3b74._0x3ac72f)]??{},'notify':{async 'open'({path:_0x24896b}){const _0x55976d={_0x5b0b89:0xe1},_0x3ba53a={_0x695f60:0x176,_0x268652:0xf3,_0x54534b:0x59};function _0x38325f(_0x5e2a4c,_0x7d9a0c,_0xc9e9eb,_0x554483){return _0x77d7a8(_0x7d9a0c,_0x7d9a0c-_0x3ba53a._0x695f60,_0xc9e9eb-_0x3ba53a._0x268652,_0x554483- -_0x3ba53a._0x54534b);}function _0xfd2a33(_0x18c0cc,_0x249dd3,_0x11f837,_0x1fa81c){return _0x77d7a8(_0x249dd3,_0x249dd3-0x1e0,_0x11f837-0x13,_0x11f837- -_0x55976d._0x5b0b89);}const _0x2af86a=await readFile(_0x24896b,'utf8');_0x407767[_0xfd2a33(-_0x50a262._0x5da2ee,-0x70,-_0x50a262._0x4c355e,-_0x50a262._0x3eef4c)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x24896b),'languageId':getLanguageId(_0x24896b)??_0xfd2a33(0x1a7,_0x50a262._0x207f44,0x13e,-_0x50a262._0x31d15f),'version':0x1,'text':_0x2af86a}});},async 'change'({path:_0x52858c,version:_0x5ec259}){function _0x2aa472(_0x1581e2,_0x49e692,_0x33eeae,_0x1b8fdd){return _0x77d7a8(_0x1b8fdd,_0x49e692-0x9e,_0x33eeae-_0x4e45b6._0x2778fd,_0x49e692- -_0x4e45b6._0x2a3772);}function _0x545334(_0x34f934,_0x1ff80b,_0xecb512,_0x466ab8){return _0x77d7a8(_0x466ab8,_0x1ff80b-0xbc,_0xecb512-0xe3,_0x1ff80b- -0x279);}const _0xdb00c=await readFile(_0x52858c,_0x2aa472(-_0x1e6ec4._0x4c1ba2,0x21,_0x1e6ec4._0x1d021,_0x1e6ec4._0x5d7966));_0x407767[_0x2aa472(-0x355,-0x23b,-_0x1e6ec4._0x132672,-0x1a0)](_0x2aa472(0xa5,-_0x1e6ec4._0x51f772,-0x3,0xb),{'textDocument':{'uri':uriForPath(_0x52858c),'version':_0x5ec259},'contentChanges':[{'text':_0xdb00c}]});},async 'close'({path:_0x363192}){function _0x283cfb(_0x5ccc20,_0x59192a,_0x39ac54,_0x1fe0d3){return _0x77d7a8(_0x5ccc20,_0x59192a-0x1a3,_0x39ac54-0x14d,_0x59192a- -_0x5b9758._0x5a2b65);}function _0x572b1b(_0xd93848,_0x271182,_0x55b6f9,_0x2c443e){return _0x3e79d7(_0x271182-0x13b,_0x271182-0x3a,_0x55b6f9-0x1a9,_0x2c443e);}_0x407767[_0x572b1b(_0x181ead._0x273314,0x3a4,_0x181ead._0xc95d39,0x3c7)](_0x283cfb(-0x19b,-_0x181ead._0x256a58,-0x16d,-0x8b),{'textDocument':{'uri':uriForPath(_0x363192)}});}},'request':{async 'definition'(_0x3ef622){function _0x482f06(_0x3ac136,_0x520140,_0x433591,_0x9ae42){return _0x77d7a8(_0x520140,_0x520140-0x8c,_0x433591-0x139,_0x9ae42- -0x26e);}return normalizeLocations(await _0x407767[_0x482f06(-0x50,-_0x36961c._0xf04bba,-_0x36961c._0x2e2232,-0x180)]('textDocument/definition',textDocumentPosition(_0x3ef622)));},async 'references'(_0xb31e1c){function _0x3fe89e(_0x1f1ddd,_0x36a23e,_0x4cbff8,_0x6ec5bf){return _0x3e79d7(_0x36a23e- -0x4d2,_0x36a23e-0x161,_0x4cbff8-0x107,_0x4cbff8);}function _0x3320b2(_0x5a9b2e,_0x555e46,_0x20e391,_0x202c84){return _0x77d7a8(_0x20e391,_0x555e46-_0x177ee8._0x3faa23,_0x20e391-_0x177ee8._0x25c1bb,_0x555e46- -0x93);}return normalizeLocations(await _0x407767[_0x3320b2(-_0x39899e._0x54a184,_0x39899e._0x52d176,0x1bc,-0xfc)](_0x3320b2(-_0x39899e._0x1262dc,-_0x39899e._0x28335b,0xe2,0x79),{...textDocumentPosition(_0xb31e1c),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x1ad971){const _0x40a100={_0x511d6:0x10a,_0x225d17:0x87};function _0x4dd270(_0x5fd5a2,_0x149071,_0x37b85c,_0xa48e23){return _0x3e79d7(_0x149071-_0x1965ec._0x368b89,_0x149071-_0x1965ec._0x2e4d9f,_0x37b85c-_0x1965ec._0x3d8044,_0x37b85c);}function _0x494609(_0x20c28f,_0x59000b,_0x275e2,_0x2d2e73){return _0x3e79d7(_0x59000b-0x2bb,_0x59000b-_0x40a100._0x511d6,_0x275e2-_0x40a100._0x225d17,_0x2d2e73);}return await _0x407767[_0x4dd270(_0x208c3d._0x5fbbf1,0x5f2,_0x208c3d._0x41190a,_0x208c3d._0x1088ed)](_0x4dd270(_0x208c3d._0x5bc5cf,_0x208c3d._0x36aafe,_0x208c3d._0x372ad2,0x50b),textDocumentPosition(_0x1ad971))??null;},async 'documentSymbol'(_0xebb326){function _0x2cb420(_0x5c6e9e,_0x2fba7d,_0x5173a7,_0x521a8a){return _0x3e79d7(_0x5c6e9e-_0x5f0f3f._0x428398,_0x2fba7d-0x69,_0x5173a7-0x66,_0x2fba7d);}return await _0x407767[_0x2cb420(0x586,_0x467e3._0x235e38,0x5d6,0x6b6)]('textDocument/documentSymbol',{'textDocument':{'uri':uriForPath(_0xebb326)}})??[];},async 'workspaceSymbol'(_0x1dbd48){return await _0x407767['sendRequest']('workspace/symbol',{'query':_0x1dbd48})??[];},async 'implementation'(_0x27fd49){return normalizeLocations(await _0x407767['sendRequest']('textDocument/implementation',textDocumentPosition(_0x27fd49)));},async 'prepareCallHierarchy'(_0x1ad842){function _0x9c796a(_0x44a3a0,_0x490e58,_0x135728,_0x2eab84){return _0x77d7a8(_0x2eab84,_0x490e58-0x23,_0x135728-0x95,_0x490e58- -0x81);}return await _0x407767[_0x9c796a(_0x12c41b._0x5b3c1e,0x6d,-_0x12c41b._0x199e1e,0x2f)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x1ad842))??[];},async 'incomingCalls'(_0x17ad05){const _0x541f32={_0x29f52c:0x150,_0x15f14c:0x412};function _0x1a3e21(_0x476b86,_0x1bfec0,_0x311afe,_0x269507){return _0x77d7a8(_0x476b86,_0x1bfec0-_0x541f32._0x29f52c,_0x311afe-0xc9,_0x1bfec0-_0x541f32._0x15f14c);}function _0x28f445(_0x3ad221,_0xe41eef,_0x11222b,_0x42171c){return _0x77d7a8(_0x11222b,_0xe41eef-_0x26b524._0x1212f8,_0x11222b-0x1e7,_0x3ad221-_0x26b524._0x4e6195);}return await _0x407767[_0x1a3e21(_0x5ce7c7._0x3e5346,_0x5ce7c7._0x297705,_0x5ce7c7._0x3be73a,_0x5ce7c7._0x3f5005)](_0x28f445(_0x5ce7c7._0x2bce58,_0x5ce7c7._0x540be0,0x493,0x379),{'item':_0x17ad05})??[];},async 'outgoingCalls'(_0xf646b1){function _0x1f2079(_0x2d479c,_0x12c249,_0x558a32,_0x23737c){return _0x3e79d7(_0x23737c-0x92,_0x12c249-0x4e,_0x558a32-0x131,_0x12c249);}return await _0x407767[_0x1f2079(0x392,_0x23f76e._0x2ebc0e,_0x23f76e._0x55c1f4,0x3ae)]('callHierarchy/outgoingCalls',{'item':_0xf646b1})??[];}},'waitForDiagnostics'({path:_0x5d07f7,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0xf61f45={_0x206bfd:0x80,_0x48339b:0x97},_0x3bda05={_0x3ac40d:0x25},_0x529b62=uriForPath(_0x5d07f7);if(_0x5b958f['has'](_0x529b62))return Promise[_0x5a8bb4(_0x4c9986._0x5419f8,_0x4c9986._0x194c65,0x588,0x4c5)]();function _0x5a8bb4(_0x11bc39,_0xd709b0,_0x4de0fb,_0x4d7dc5){return _0x3e79d7(_0x4d7dc5-0x1da,_0xd709b0-_0x4ce9c2._0x532538,_0x4de0fb-0x10c,_0x4de0fb);}return new Promise(_0x41611d=>{const _0x2a0aec={_0x58e1a0:0x2ea},_0x25b57c=setTimeout(()=>{function _0x3aa0a6(_0x17354e,_0x1ff2fb,_0x1b409f,_0x3cd427){return _0x4b33(_0x1ff2fb- -_0x2a0aec._0x58e1a0,_0x3cd427);}const _0x43afc3=_0x933cf0['get'](_0x529b62);_0x43afc3?.[_0x3aa0a6(-_0x3bda05._0x3ac40d,-0x7,-0x35,0x83)](_0x38b124);if(_0x43afc3?.['size']===0x0)_0x933cf0['delete'](_0x529b62);_0x41611d();},timeoutMs),_0x38b124=()=>{clearTimeout(_0x25b57c),_0x41611d();},_0x2777d2=_0x933cf0['get'](_0x529b62)??new Set();_0x2777d2[_0x16202f(_0x413ee0._0x3d1e85,0x6ba,0x57b,_0x413ee0._0x5277c3)](_0x38b124);function _0x16202f(_0x239f10,_0x857f82,_0x153106,_0x7ec01){return _0x5a8bb4(_0x239f10-0xbf,_0x857f82-_0xf61f45._0x206bfd,_0x239f10,_0x153106- -_0xf61f45._0x48339b);}_0x933cf0['set'](_0x529b62,_0x2777d2);});},async 'shutdown'(){const _0x3cd945={_0x510ae1:0x15a};if(_0x410284)return;function _0x3d573f(_0x3a6028,_0x5b5ca1,_0x32f7f6,_0x10b174){return _0x3e79d7(_0x3a6028-0x2b0,_0x5b5ca1-0xd9,_0x32f7f6-_0x3cd945._0x510ae1,_0x32f7f6);}_0x410284=!![];function _0x210901(_0x25b10f,_0x3a86f3,_0x5c540b,_0x363a00){return _0x3e79d7(_0x5c540b- -0x392,_0x3a86f3-0x57,_0x5c540b-0x146,_0x363a00);}try{await _0x407767[_0x210901(-0x98,_0x47e27d._0xb2ad13,-0x76,-_0x47e27d._0x3983ff)](_0x210901(-0xfb,-_0x47e27d._0x4be128,-0x64,-_0x47e27d._0x33a530),null),_0x407767[_0x3d573f(0x519,_0x47e27d._0x35964d,0x5f8,_0x47e27d._0x586d1a)](_0x3d573f(_0x47e27d._0x2a3720,_0x47e27d._0x158c98,0x7cc,0x77c));}catch{}finally{_0x407767[_0x3d573f(0x5dc,0x642,0x755,0x5e1)](),_0xea19a[_0x3d573f(0x4f4,_0x47e27d._0xbd8f12,_0x47e27d._0x2aa17a,_0x47e27d._0x49c37e)][_0x3d573f(0x721,0x798,0x5d5,0x5dc)][_0x3d573f(_0x47e27d._0x385fc0,0x495,_0x47e27d._0x56dcf8,_0x47e27d._0x5c4330)]();}}};return _0x16dd2c;}import{spawn as _0x42e2fa}from'child_process';import{access as _0x5e18b5}from'fs/promises';import _0x10b76c from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x43cee1 from'os';import _0x483cf0 from'path';import _0xe18533 from'which';var installPromises=new Map();function sanitizePackageName(_0x6597f4){const _0x3d0f91={_0x6cb982:0x21a,_0x1b879b:0x334,_0x1f162c:0x5dc,_0x2ab772:0x5af,_0x36b9ab:0x5f8},_0x13f6d6={_0x1f6613:0x1db,_0x1dcd8c:0x156},_0x1f10e8={_0x37e3df:0x102,_0x57e80a:0x114};function _0x51f53f(_0x71464e,_0x30de55,_0x1ad70f,_0x2e17e6){return _0x5c47d8(_0x30de55-_0x1f10e8._0x37e3df,_0x30de55-_0x1f10e8._0x57e80a,_0x1ad70f-0x12b,_0x1ad70f);}function _0x55f798(_0x4e1acb,_0x2aa6c2,_0x1ec7e1,_0x204c7c){return _0x5c47d8(_0x204c7c- -_0x13f6d6._0x1f6613,_0x2aa6c2-0xbf,_0x1ec7e1-_0x13f6d6._0x1dcd8c,_0x4e1acb);}return _0x6597f4[_0x55f798(_0x3d0f91._0x6cb982,0x2a5,_0x3d0f91._0x1b879b,0x2ff)](/^@/,'')[_0x51f53f(0x661,_0x3d0f91._0x1f162c,_0x3d0f91._0x2ab772,_0x3d0f91._0x36b9ab)](/[/]/g,'__');}function binaryNameForPlatform(_0x5d9a10){const _0x5d2a7c={_0x51f28d:0x41,_0x1a4da3:0x1ca,_0x5b0896:0xb0,_0x28081f:0xfb},_0x4f53cb={_0x2522c8:0x84};function _0x5593c3(_0x4fe4e3,_0x4c41db,_0x4e15be,_0x4eb621){return _0x25cfa5(_0x4fe4e3-0x8c,_0x4c41db,_0x4eb621- -0x5b,_0x4eb621-_0x4f53cb._0x2522c8);}function _0x49b5a3(_0x248813,_0x174a6d,_0x22bf49,_0x476f8a){return _0x25cfa5(_0x248813-0x10d,_0x22bf49,_0x248813-0x3ce,_0x476f8a-0x160);}return process[_0x5593c3(-0x35,0x62,0x5c,-_0x5d2a7c._0x51f28d)]===_0x5593c3(_0x5d2a7c._0x1a4da3,_0x5d2a7c._0x5b0896,0x1a6,_0x5d2a7c._0x28081f)?_0x5d9a10+'.cmd':_0x5d9a10;}async function exists(_0x4e33aa){try{return await access(_0x4e33aa),!![];}catch{return![];}}function runNpmInstall(_0x23fc6f,_0x1c1a0b,_0x36fc10){const _0xfd149={_0x582c63:0x209,_0x4c13b4:0x433,_0x1272e2:0x4d7,_0x185157:0x657,_0x569ec4:0x3fc,_0x476686:0x2b5,_0x251b9f:0x2c5};return new Promise(_0xf3f5b0=>{function _0x4fca65(_0x3870f8,_0x5dec00,_0x15546b,_0x18fc91){return _0x4b33(_0x3870f8- -0x128,_0x5dec00);}const _0x236942=spawn('npm',['install','--prefix',_0x23fc6f,_0x1c1a0b],{'env':_0x36fc10,'stdio':_0x4fca65(0x2c2,0x2b6,_0xfd149._0x582c63,_0xfd149._0x4c13b4)});_0x236942['on'](_0x3d32b8(_0xfd149._0x1272e2,_0xfd149._0x185157,0x513,_0xfd149._0x569ec4),()=>_0xf3f5b0(![]));function _0x3d32b8(_0x3443f4,_0x111cfc,_0x4f74af,_0x41a170){return _0x4b33(_0x4f74af-0x3a1,_0x111cfc);}_0x236942['on'](_0x4fca65(_0xfd149._0x476686,0x3bb,_0xfd149._0x251b9f,0x1e5),_0xb417b2=>_0xf3f5b0(_0xb417b2===0x0));});}function shouldDisableLspDownload(_0x1800c2=process['env']){const _0x3df58e={_0x25fe6c:0x1dd,_0x3ab2c7:0x8c,_0xa50ffe:0x5a8,_0x4b5775:0x593,_0x139c92:0x35f,_0x5a67fd:0x442},_0x413d40={_0x734118:0x1fa},_0x2f4f2a={_0x430fbc:0x5,_0x24a1f3:0x1cb};function _0x1d6426(_0x5d09d0,_0x10f0e5,_0x42eda7,_0x19ccc4){return _0x25cfa5(_0x5d09d0-_0x2f4f2a._0x430fbc,_0x10f0e5,_0x42eda7-0x144,_0x19ccc4-_0x2f4f2a._0x24a1f3);}function _0x5294bc(_0x37f5f4,_0x3b2292,_0x257391,_0x58323e){return _0x5c47d8(_0x58323e-_0x413d40._0x734118,_0x3b2292-0xed,_0x257391-0x1c2,_0x37f5f4);}const _0xe96107=_0x1800c2['NUVIN_DISABLE_LSP_DOWNLOAD']?.[_0x1d6426(_0x3df58e._0x25fe6c,-0x90,_0x3df58e._0x3ab2c7,0x1fb)]();return _0xe96107===_0x5294bc(_0x3df58e._0xa50ffe,_0x3df58e._0x4b5775,0x755,0x5f6)||_0xe96107==='1'||_0xe96107===_0x1d6426(0x456,0x21a,_0x3df58e._0x139c92,_0x3df58e._0x5a67fd)||_0xe96107==='on';}function getLspPackageDir(_0x4180e8){const _0x1f61ce={_0xdeedc1:0x1e7,_0x589e11:0x3d8,_0x332e10:0x3fc,_0x4867d8:0x50d,_0x4faaf4:0x46c,_0x2775c9:0x35c},_0x4fe0c5={_0x10109b:0x13d,_0x547dc7:0x33},_0x4f5bd2={_0x7a158d:0x1c3};function _0x56f45e(_0x382208,_0x1d4de5,_0x26351c,_0x3f3f2c){return _0x5c47d8(_0x3f3f2c- -0x36,_0x1d4de5-_0x4f5bd2._0x7a158d,_0x26351c-0x1ab,_0x1d4de5);}function _0x34f604(_0x12b464,_0x36f64c,_0x5bcd63,_0x287d6c){return _0x5c47d8(_0x36f64c-0xd1,_0x36f64c-_0x4fe0c5._0x10109b,_0x5bcd63-_0x4fe0c5._0x547dc7,_0x12b464);}return _0x483cf0[_0x56f45e(_0x1f61ce._0xdeedc1,0x1b0,0x17e,0x2cb)](_0x43cee1[_0x34f604(0x4a5,_0x1f61ce._0x589e11,0x436,0x4d1)](),'.nuvin',_0x56f45e(_0x1f61ce._0x332e10,0x423,_0x1f61ce._0x4867d8,_0x1f61ce._0x4faaf4),_0x34f604(0x29b,_0x1f61ce._0x2775c9,0x47c,0x283),sanitizePackageName(_0x4180e8));}function getLspBinDir(_0x494ea3){const _0x504e6b={_0x1b9d57:0x4dc,_0x28e077:0x455,_0x537bbd:0x391},_0x293524={_0x26a5fd:0x1b},_0x34e6e7={_0x273624:0x18d};function _0x38f9fa(_0x518733,_0x4bb1fa,_0xe6d224,_0x4a8ddd){return _0x5c47d8(_0x518733-0x204,_0x4bb1fa-0xdf,_0xe6d224-_0x34e6e7._0x273624,_0xe6d224);}function _0x164d36(_0x4dde8c,_0xccf9c1,_0x2366f2,_0x58d40b){return _0x25cfa5(_0x4dde8c-0x195,_0xccf9c1,_0x4dde8c-0x373,_0x58d40b-_0x293524._0x26a5fd);}return _0x483cf0[_0x164d36(0x365,0x31d,0x358,_0x504e6b._0x1b9d57)](getLspPackageDir(_0x494ea3),_0x164d36(0x385,_0x504e6b._0x28e077,_0x504e6b._0x537bbd,0x48b),'.bin');}async function findPackageBinary(_0x2fea0d,_0x4e4012){const _0x42b4f2={_0x47f265:0x318,_0x91d1a2:0x486,_0x4fb07e:0x47b,_0x561e2b:0x4d4},_0x10a08e={_0x3081f9:0x141,_0x2f7acc:0x167,_0x24d071:0x6a},_0x3221ee={_0x39bf77:0x3c4,_0x327a67:0x44};let _0x4e7269=_0x483cf0[_0x3adaba(0x450,0x3df,0x445,0x41c)](_0x4e4012);const _0x40b1cf=binaryNameForPlatform(_0x2fea0d);function _0x3adaba(_0x37151d,_0x2cc7c7,_0x2401ee,_0x5ed805){return _0x25cfa5(_0x37151d-0x1c5,_0x2401ee,_0x2cc7c7-_0x3221ee._0x39bf77,_0x5ed805-_0x3221ee._0x327a67);}function _0x9fea21(_0x10d547,_0x38ecd3,_0x5339be,_0x23370c){return _0x5c47d8(_0x23370c- -_0x10a08e._0x3081f9,_0x38ecd3-_0x10a08e._0x2f7acc,_0x5339be-_0x10a08e._0x24d071,_0x38ecd3);}while(!![]){const _0x29fade=_0x483cf0[_0x3adaba(_0x42b4f2._0x47f265,0x3b6,0x383,0x431)](_0x4e7269,'node_modules','.bin',_0x40b1cf);if(await exists(_0x29fade))return _0x29fade;const _0x5bd3d7=_0x483cf0[_0x3adaba(_0x42b4f2._0x91d1a2,_0x42b4f2._0x4fb07e,0x438,_0x42b4f2._0x561e2b)](_0x4e7269);if(_0x5bd3d7===_0x4e7269)return void 0x0;_0x4e7269=_0x5bd3d7;}}async function findPathBinary(_0x3752bc,_0x587d70){const _0x61f554={_0x24d88a:0x12f,_0x1f2f16:0x2a9,_0x343606:0x3f,_0x296b7e:0x4e,_0x918c84:0x264,_0x4e1d7e:0x324,_0x12e498:0x131,_0x347e98:0x265},_0x27ef85={_0x2ccb71:0x267};function _0x577d07(_0x4d9744,_0x23d511,_0x1a1186,_0x56e9ea){return _0x5c47d8(_0x56e9ea- -_0x27ef85._0x2ccb71,_0x23d511-0x104,_0x1a1186-0x12e,_0x23d511);}const _0x321e03=getLspBinDir(_0x587d70);function _0x2539e8(_0x45de30,_0x15440b,_0x349f77,_0x33f93c){return _0x5c47d8(_0x15440b- -0x1d0,_0x15440b-0x74,_0x349f77-0x1be,_0x33f93c);}const _0x207b97=[_0x321e03,process[_0x2539e8(_0x61f554._0x24d88a,0x182,_0x61f554._0x1f2f16,0x233)][_0x577d07(-0xf5,_0x61f554._0x343606,-0xb8,_0x61f554._0x296b7e)]][_0x2539e8(0x18f,_0x61f554._0x918c84,_0x61f554._0x4e1d7e,0x138)](Boolean)[_0x2539e8(0xf3,_0x61f554._0x12e498,0x1da,0x19a)](_0x483cf0[_0x577d07(0x2a1,_0x61f554._0x347e98,0xfd,0x16e)]);try{return await _0xe18533(_0x3752bc,{'path':_0x207b97});}catch{return void 0x0;}}async function resolvePackageBinary(_0xb8aa5){const _0x5eafc7={_0x40062a:0xf5,_0x12f098:0x2c,_0x49afce:0x71,_0x352682:0xde,_0x1ffa77:0x3c,_0x33b95c:0x77,_0x3da1bc:0x72,_0x590e75:0x1ef,_0x2ced2e:0xa7,_0x152156:0x44,_0x2c7b43:0x225,_0x13d0e0:0xbe,_0x27c15b:0x82,_0x2addfa:0x3,_0x433463:0x66,_0x540115:0x14b,_0x3c4992:0xd9},_0x266da8={_0x13998c:0x11d,_0x526616:0x13e,_0x18bc2b:0x8b,_0x360abb:0x4a,_0x1ae351:0xe3},_0x4b421c={_0x2afe5c:0xa8,_0x481b40:0x2a},_0x2b6a77={_0x3842a8:0x1e4,_0x17a0d4:0x41},_0x305529={_0x544f9f:0xca},_0x97fc73=_0xb8aa5[_0x37db75(-0xe9,_0x5eafc7._0x40062a,-_0x5eafc7._0x12f098,-0x145)]??_0xb8aa5['packageName'],_0x316dc0=await findPackageBinary(_0x97fc73,_0xb8aa5['startDir']);if(_0x316dc0)return _0x316dc0;const _0x273c8c=await findPathBinary(_0x97fc73,_0xb8aa5[_0x37db75(-_0x5eafc7._0x49afce,-_0x5eafc7._0x352682,-_0x5eafc7._0x1ffa77,-0x19f)]);if(_0x273c8c)return _0x273c8c;function _0x35caa2(_0x5a5a24,_0x127dd9,_0x3a8525,_0x540d66){return _0x5c47d8(_0x127dd9- -0x2ab,_0x127dd9-0x16b,_0x3a8525-_0x305529._0x544f9f,_0x5a5a24);}const _0x11e05b=_0xb8aa5[_0x37db75(-0x45,-0x3d,_0x5eafc7._0x33b95c,_0x5eafc7._0x3da1bc)]??process[_0x35caa2(_0x5eafc7._0x590e75,_0x5eafc7._0x2ced2e,-_0x5eafc7._0x152156,0x146)];if(shouldDisableLspDownload(_0x11e05b))return void 0x0;function _0x37db75(_0x341bfe,_0x57f940,_0x431bd9,_0x42b4ec){return _0x25cfa5(_0x341bfe-_0x2b6a77._0x3842a8,_0x341bfe,_0x431bd9-0x34,_0x42b4ec-_0x2b6a77._0x17a0d4);}const _0x414d6e=getLspPackageDir(_0xb8aa5['packageName']),_0x310b44=_0xb8aa5['packageName']+':'+_0x97fc73;let _0x5e9464=installPromises[_0x35caa2(_0x5eafc7._0x2c7b43,_0x5eafc7._0x13d0e0,_0x5eafc7._0x27c15b,_0x5eafc7._0x2addfa)](_0x310b44);!_0x5e9464&&(_0x5e9464=((async()=>{const _0x23f2b4={_0xf8360e:0x1d1,_0x3e9030:0x399,_0x468d58:0x120};await mkdir(_0x414d6e,{'recursive':!![]});function _0x7bed9d(_0xdf802b,_0x1989fd,_0x27b034,_0x42497c){return _0x37db75(_0x1989fd,_0x1989fd-_0x4b421c._0x2afe5c,_0x27b034-_0x4b421c._0x481b40,_0x42497c-0x1a5);}const _0x282c1e=await runNpmInstall(_0x414d6e,_0xb8aa5[_0x7bed9d(_0x266da8._0x13998c,-_0x266da8._0x526616,-0x12,_0x266da8._0x18bc2b)],_0x11e05b);if(!_0x282c1e)return void 0x0;const _0x31a91d=_0x483cf0['join'](getLspBinDir(_0xb8aa5[_0x7bed9d(_0x266da8._0x360abb,-0xf2,-0x12,_0x266da8._0x1ae351)]),binaryNameForPlatform(_0x97fc73));function _0xa21260(_0x56dd7c,_0x8460bd,_0x20466a,_0x4caf4b){return _0x37db75(_0x20466a,_0x8460bd-_0x23f2b4._0xf8360e,_0x56dd7c-_0x23f2b4._0x3e9030,_0x4caf4b-_0x23f2b4._0x468d58);}return await exists(_0x31a91d)?_0x31a91d:void 0x0;})()),installPromises[_0x37db75(_0x5eafc7._0x433463,_0x5eafc7._0x540115,0x86,0xfd)](_0x310b44,_0x5e9464));try{return await _0x5e9464;}catch{return void 0x0;}finally{installPromises[_0x35caa2(_0x5eafc7._0x3c4992,0x16f,0x226,0x2da)](_0x310b44);}}var TYPESCRIPT_EXTENSIONS=[_0x25cfa5(-0x6a,-0xcc,-0x7d,-0x181),_0x25cfa5(0xbd,-0xec,0x59,0xe3),_0x5c47d8(0x532,0x578,0x66f,0x404),_0x25cfa5(0x21f,0x1ce,0x1b1,0xe6),'.mjs',_0x5c47d8(0x2c5,0x1db,0x405,0x1e2),_0x25cfa5(0x110,0x2c4,0x20e,0x13a),_0x5c47d8(0x287,0x1a7,0x24b,0x2b4)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x5c47d8(0x33a,0x3e2,0x219,0x3eb),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=[_0x25cfa5(0x203,0x192,0x167,0x1ac),'bun.lockb',_0x5c47d8(0x373,0x3e8,0x447,0x2c8),_0x25cfa5(-0x5,-0x1ef,-0x9b,0x77),'yarn.lock',_0x5c47d8(0x47f,0x30e,0x3b3,0x492),'jsconfig.json',_0x25cfa5(0x57,-0xf3,-0x45,-0x65)],BIOME_ROOT_MARKERS=['biome.json',_0x5c47d8(0x39e,0x4f5,0x2ca,0x3bf),_0x25cfa5(0x17e,0x15b,0x167,0x8f),'bun.lockb','bun.lock','pnpm-lock.yaml',_0x25cfa5(-0xc8,0x4c,-0xb9,0x57),_0x25cfa5(0x129,0xd7,-0x45,0x5a)];async function exists2(_0x58e748){try{return await _0x5e18b5(_0x58e748),!![];}catch{return![];}}async function findUp(_0x42c89f,_0x1bf4ea){const _0x257e4f={_0x2ab930:0x44,_0x5deda3:0x192,_0x5b9039:0xc2,_0x4e5285:0x97,_0x15a0ac:0x6c,_0x5bc253:0x2,_0x592701:0x156,_0x3f787e:0xa6,_0x32e62b:0x59,_0x4e2851:0xf,_0x2ccb2f:0x1f,_0x31ce4d:0xba},_0x5d2fe5={_0x5aca25:0x1f0,_0x10dbcc:0x4b,_0x151ef7:0xe5},_0x16be1d={_0x7a136b:0xf7,_0x168b9d:0x85};let _0x4411c9=_0x10b76c[_0x467ca1(-0x30,_0x257e4f._0x2ab930,-_0x257e4f._0x5deda3,-0x130)](_0x42c89f);function _0x7391a1(_0x436ef3,_0x155f32,_0x543955,_0x59523a){return _0x25cfa5(_0x436ef3-_0x16be1d._0x7a136b,_0x59523a,_0x543955-0x89,_0x59523a-_0x16be1d._0x168b9d);}function _0x467ca1(_0x1e9cd3,_0x313af3,_0x24d6b5,_0x5a15cc){return _0x25cfa5(_0x1e9cd3-_0x5d2fe5._0x5aca25,_0x5a15cc,_0x1e9cd3- -_0x5d2fe5._0x10dbcc,_0x5a15cc-_0x5d2fe5._0x151ef7);}const _0x132fe9=_0x10b76c[_0x467ca1(-_0x257e4f._0x5b9039,_0x257e4f._0x4e5285,-0x1a8,-0xc6)](_0x4411c9);if(_0x132fe9)_0x4411c9=_0x10b76c[_0x467ca1(_0x257e4f._0x15a0ac,_0x257e4f._0x5bc253,_0x257e4f._0x592701,_0x257e4f._0x3f787e)](_0x4411c9);while(!![]){for(const _0x4f79bb of _0x1bf4ea){if(await exists2(_0x10b76c[_0x467ca1(-_0x257e4f._0x32e62b,-0x1be,0xe4,_0x257e4f._0x4e2851)](_0x4411c9,_0x4f79bb)))return _0x4411c9;}const _0x28a8f1=_0x10b76c[_0x467ca1(0x6c,_0x257e4f._0x2ccb2f,0x76,-_0x257e4f._0x31ce4d)](_0x4411c9);if(_0x28a8f1===_0x4411c9)return void 0x0;_0x4411c9=_0x28a8f1;}}async function hasDenoRoot(_0x330d53){const _0x1fd3cd={_0x191ff2:0x20,_0xb62528:0xc4,_0x4694d4:0x7},_0x2105b3={_0x400a9f:0xa1,_0x1515cd:0xa7};function _0x3416a9(_0x2c3bf7,_0x58c689,_0x1c348d,_0x30cd26){return _0x25cfa5(_0x2c3bf7-_0x2105b3._0x400a9f,_0x30cd26,_0x1c348d- -0xe9,_0x30cd26-_0x2105b3._0x1515cd);}function _0x201d53(_0x29a52a,_0xdc0403,_0x323bcf,_0x2b35a3){return _0x25cfa5(_0x29a52a-0xbe,_0x2b35a3,_0x323bcf- -0x4,_0x2b35a3-0xb2);}return await exists2(_0x10b76c[_0x3416a9(-0x2c,-0x176,-0xf7,_0x1fd3cd._0x191ff2)](_0x330d53,'deno.json'))||await exists2(_0x10b76c['join'](_0x330d53,_0x201d53(_0x1fd3cd._0xb62528,_0x1fd3cd._0x4694d4,-0x2a,0x70)));}async function resolveTsserverPath(_0x4568ea){const _0x3c8018={_0x1bce5f:0x43d,_0x3ae830:0x6db,_0x188a83:0x658,_0x354012:0x5d2,_0x4acab4:0x36e,_0x35cbc0:0x3fe,_0x547477:0x492,_0x226a85:0x3d8,_0x5ed5c3:0x677,_0x34b6a9:0x439,_0x41703c:0x7ae,_0x5b419e:0x80c,_0x3eb8fb:0x484,_0x20387c:0x45b,_0x2cee90:0x300,_0x593bdb:0x450,_0x2ce591:0x44e,_0x7c474e:0x573},_0x45db38={_0x215c3d:0x84,_0x4355a0:0x497,_0x4c825d:0x134},_0x255f26={_0x1e885e:0x2b1,_0x169e50:0x1ed};let _0xa17ed2=_0x10b76c['resolve'](_0x4568ea);while(!![]){const _0x508717=_0x10b76c[_0x3947c4(_0x3c8018._0x1bce5f,0x67e,0x5b2,_0x3c8018._0x3ae830)](_0xa17ed2,_0x3947c4(0x492,_0x3c8018._0x188a83,_0x3c8018._0x354012,0x6db),_0x580206(_0x3c8018._0x4acab4,_0x3c8018._0x35cbc0,_0x3c8018._0x547477,_0x3c8018._0x226a85),_0x3947c4(0x423,0x515,0x577,0x64d),'tsserver.js');if(await exists2(_0x508717))return _0x508717;const _0x15b55a=_0x10b76c[_0x3947c4(0x689,0x5bd,_0x3c8018._0x5ed5c3,0x6bd)](_0xa17ed2);if(_0x15b55a===_0xa17ed2)break;_0xa17ed2=_0x15b55a;}const _0x96a197=getLspPackageDir(_0x580206(_0x3c8018._0x34b6a9,0x45d,0x492,0x3c3)),_0x9f8ba2=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x3947c4(_0x3c8018._0x41703c,0x7fd,0x731,_0x3c8018._0x5b419e),'startDir':_0x4568ea});if(!_0x9f8ba2)return void 0x0;function _0x3947c4(_0x18c5e4,_0xea5099,_0x4e018c,_0x5117f2){return _0x5c47d8(_0x4e018c-_0x255f26._0x1e885e,_0xea5099-_0x255f26._0x169e50,_0x4e018c-0x18f,_0xea5099);}function _0x580206(_0x4bb194,_0x54e4e0,_0x5cea07,_0x44cc51){return _0x25cfa5(_0x4bb194-_0x45db38._0x215c3d,_0x54e4e0,_0x5cea07-_0x45db38._0x4355a0,_0x44cc51-_0x45db38._0x4c825d);}const _0x5a1216=_0x10b76c['join'](_0x96a197,_0x580206(_0x3c8018._0x3eb8fb,_0x3c8018._0x20387c,0x4a9,0x489),_0x3947c4(0x446,0x6e7,0x5bb,0x45a),_0x580206(_0x3c8018._0x2cee90,_0x3c8018._0x593bdb,_0x3c8018._0x2ce591,0x318),_0x3947c4(0x414,0x473,_0x3c8018._0x7c474e,0x679));return await exists2(_0x5a1216)?_0x5a1216:void 0x0;}var TypeScriptServer={'id':_0x5c47d8(0x30a,0x2e9,0x193,0x47e),'name':_0x25cfa5(-0xae,-0x78,-0x5d,-0x76),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0xb44dc3){const _0x239c4c=await findUp(_0xb44dc3,TYPESCRIPT_ROOT_MARKERS);if(!_0x239c4c)return void 0x0;return await hasDenoRoot(_0x239c4c)?void 0x0:_0x239c4c;},async 'spawn'(_0x1666e8){const _0x44e7e3={_0x1b5ccc:0x147,_0xe71f9b:0x154,_0x58b19c:0x3ee,_0x2ac770:0x2df,_0x1da1da:0x2f0,_0x436ce2:0x281},_0x42d848={_0x1dd1ca:0x1b0,_0x268bb4:0x120},_0xb9b549={_0x4dcb56:0x9},_0x2f81a0=await resolveTsserverPath(_0x1666e8);if(!_0x2f81a0)return void 0x0;const _0x1e969f=await resolvePackageBinary({'packageName':_0xe9e2ef(0xdd,0x5a,-0x53,_0x44e7e3._0x1b5ccc),'binaryName':'typescript-language-server','startDir':_0x1666e8});function _0xe9e2ef(_0x4f1805,_0x29ba0b,_0x224921,_0x4b2f53){return _0x25cfa5(_0x4f1805-0xae,_0x4b2f53,_0x29ba0b- -0x51,_0x4b2f53-_0xb9b549._0x4dcb56);}if(!_0x1e969f)return void 0x0;function _0x9ed6(_0x281e61,_0x35750d,_0x492d68,_0x1f3242){return _0x5c47d8(_0x35750d- -0x40,_0x35750d-_0x42d848._0x1dd1ca,_0x492d68-_0x42d848._0x268bb4,_0x492d68);}return{'process':_0x42e2fa(_0x1e969f,[_0xe9e2ef(0x235,0x177,0x169,_0x44e7e3._0xe71f9b)],{'cwd':_0x1666e8,'stdio':_0x9ed6(_0x44e7e3._0x58b19c,_0x44e7e3._0x2ac770,_0x44e7e3._0x1da1da,_0x44e7e3._0x436ce2)}),'initialization':{'tsserver':{'path':_0x2f81a0}}};}},BiomeServer={'id':_0x25cfa5(0x26b,0x10,0x136,0x23a),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0xe32058){return findUp(_0xe32058,BIOME_ROOT_MARKERS);},async 'spawn'(_0x29c36d){const _0x1937ed={_0x566fd2:0xf9,_0x14b746:0x219};function _0x2b2ccc(_0x5e2653,_0xb4ee42,_0x2b3b60,_0x578fd6){return _0x25cfa5(_0x5e2653-0x193,_0x5e2653,_0xb4ee42- -0x5a,_0x578fd6-0xe5);}function _0x5f5cee(_0x13b21c,_0x2af774,_0x5ad316,_0x1f99a5){return _0x25cfa5(_0x13b21c-0x4c,_0x5ad316,_0x13b21c- -0x3d,_0x1f99a5-0x1ab);}const _0x23577b=await findPackageBinary(_0x5f5cee(_0x1937ed._0x566fd2,0x221,0x2d,-0xe),_0x29c36d)??await resolvePackageBinary({'packageName':_0x2b2ccc(0x152,-0x15,-0x95,-0x16c),'binaryName':_0x5f5cee(0xf9,0x1b4,_0x1937ed._0x14b746,0x99),'startDir':_0x29c36d});if(!_0x23577b)return void 0x0;return{'process':_0x42e2fa(_0x23577b,['lsp-proxy','--stdio'],{'cwd':_0x29c36d,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0xf276d4){const _0x87a3f={_0x523443:0x239,_0x4b05ca:0xf2,_0x532c67:0x39c,_0x4244ab:0x399,_0x26d42f:0x373},_0x1e939b={_0x52f312:0x158},_0x2c9000={_0x96c957:0xb9};function _0x234f7e(_0x4ae3c2,_0x27cf5b,_0x27779d,_0x20b415){return _0x5c47d8(_0x27cf5b- -0x177,_0x27cf5b-0xec,_0x27779d-_0x2c9000._0x96c957,_0x20b415);}const _0x2c3eca=_0x10b76c[_0x234f7e(_0x87a3f._0x523443,0x121,_0x87a3f._0x4b05ca,0x20d)](_0xf276d4)[_0x55437d(0x4f9,0x489,_0x87a3f._0x532c67,0x402)]();function _0x55437d(_0x54c312,_0x5b821e,_0xdcf9d1,_0x4ced7b){return _0x5c47d8(_0xdcf9d1-0x145,_0x5b821e-0xbd,_0xdcf9d1-_0x1e939b._0x52f312,_0x5b821e);}return BUILTIN_LSP_SERVERS[_0x234f7e(_0x87a3f._0x4244ab,0x2bd,0x3d2,_0x87a3f._0x26d42f)](_0x42bae8=>_0x42bae8['extensions'][_0x234f7e(0x194,0xd4,-0x62,-0x4)](_0x2c3eca));}function stateKey(_0x22eca5,_0x4a161d){return _0x4a161d+':'+_0x22eca5['id'];}function diagnosticsKeyToPath(_0x3eee2c){const _0x51e652={_0x3d8ab1:0x211,_0x199312:0xd2,_0x58d987:0x9},_0x35523c={_0x5ebe4e:0xa6},_0xe0e7ed={_0x111d25:0x162,_0xbc6ce3:0xcd};function _0x85c32a(_0x11c68b,_0x130e83,_0x257d96,_0xfaa510){return _0x25cfa5(_0x11c68b-0xf5,_0x130e83,_0x11c68b-_0xe0e7ed._0x111d25,_0xfaa510-_0xe0e7ed._0xbc6ce3);}function _0x3097db(_0x4c831f,_0x44e4db,_0x3d0e1c,_0x3ce422){return _0x25cfa5(_0x4c831f-_0x35523c._0x5ebe4e,_0x44e4db,_0x3ce422-0x426,_0x3ce422-0x62);}if(!_0x3eee2c[_0x85c32a(0x208,_0x51e652._0x3d8ab1,0xcc,0x2b7)](_0x85c32a(_0x51e652._0x199312,0x99,0x1cc,-_0x51e652._0x58d987)))return _0x3eee2c;return fileURLToPath(_0x3eee2c);}function nextFileVersion(_0x634c9,_0x365c7d){const _0x2d44eb={_0x3a6aab:0x28,_0x37001d:0xe3,_0x3981b8:0xc,_0x1a1e09:0x87},_0x1034c3={_0x101fae:0x136,_0x193fa4:0x11a,_0x3d174e:0xcf},_0x339fb8=(_0x634c9[_0x198b49(0x1a2,0x7e,-0x8b,-_0x2d44eb._0x3a6aab)][_0x4c7c29(0x130,-0x5,_0x2d44eb._0x37001d,-0x14f)](_0x365c7d)??0x1)+0x1;function _0x198b49(_0x1bba13,_0x521ddf,_0x55798e,_0x4ec761){return _0x25cfa5(_0x1bba13-_0x1034c3._0x101fae,_0x1bba13,_0x521ddf-_0x1034c3._0x193fa4,_0x4ec761-_0x1034c3._0x3d174e);}function _0x4c7c29(_0x535148,_0x3c2e87,_0xfa56ae,_0x431648){return _0x5c47d8(_0x3c2e87- -0x36e,_0x3c2e87-0x4b,_0xfa56ae-0x18d,_0xfa56ae);}return _0x634c9[_0x4c7c29(_0x2d44eb._0x3981b8,-0xfb,-0x6f,-_0x2d44eb._0x1a1e09)]['set'](_0x365c7d,_0x339fb8),_0x339fb8;}async function collectClientResults(_0xe6a063){const _0x9a3bef={_0x447a6b:0x498,_0xafbff0:0x424},_0x411ac9={_0x5974b9:0x4c4},_0x2211ee={_0x52577c:0x1e4,_0xda65f1:0x3d8},_0x7744ce=await Promise['allSettled'](_0xe6a063);function _0x5712f4(_0x45bcb3,_0x1fb7ab,_0x1c16ed,_0x14d184){return _0x25cfa5(_0x45bcb3-_0x2211ee._0x52577c,_0x14d184,_0x1c16ed-_0x2211ee._0xda65f1,_0x14d184-0x168);}function _0x463ec1(_0x2e66fe,_0x55831,_0x47d23d,_0x10bfb9){return _0x25cfa5(_0x2e66fe-0xb8,_0x10bfb9,_0x47d23d-_0x411ac9._0x5974b9,_0x10bfb9-0xc1);}return _0x7744ce[_0x5712f4(0x4a3,0x5c6,_0x9a3bef._0x447a6b,_0x9a3bef._0xafbff0)](_0x1766b9=>_0x1766b9[_0x463ec1(0x37b,0x312,0x439,0x41f)]==='fulfilled'?_0x1766b9['value']:[]);}function _0x4b33(_0x373366,_0x37e38c){_0x373366=_0x373366-0x114;const _0x322b26=_0x322b();let _0x4b3381=_0x322b26[_0x373366];if(_0x4b33['tttHTN']===undefined){var _0x492c86=function(_0x273397){const _0x5f062c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4685d5='',_0x42e2fa='';for(let _0x5e18b5=0x0,_0x10b76c,_0x43cee1,_0x483cf0=0x0;_0x43cee1=_0x273397['charAt'](_0x483cf0++);~_0x43cee1&&(_0x10b76c=_0x5e18b5%0x4?_0x10b76c*0x40+_0x43cee1:_0x43cee1,_0x5e18b5++%0x4)?_0x4685d5+=String['fromCharCode'](0xff&_0x10b76c>>(-0x2*_0x5e18b5&0x6)):0x0){_0x43cee1=_0x5f062c['indexOf'](_0x43cee1);}for(let _0xe18533=0x0,_0x469661=_0x4685d5['length'];_0xe18533<_0x469661;_0xe18533++){_0x42e2fa+='%'+('00'+_0x4685d5['charCodeAt'](_0xe18533)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x42e2fa);};_0x4b33['oJzobv']=_0x492c86,_0x4b33['gJfegq']={},_0x4b33['tttHTN']=!![];}const _0x53bb26=_0x322b26[0x0],_0x24b129=_0x373366+_0x53bb26,_0x6bf736=_0x4b33['gJfegq'][_0x24b129];return!_0x6bf736?(_0x4b3381=_0x4b33['oJzobv'](_0x4b3381),_0x4b33['gJfegq'][_0x24b129]=_0x4b3381):_0x4b3381=_0x6bf736,_0x4b3381;}function createLspService(_0x548459={}){const _0x5f45a5={_0x30131e:0x2b7,_0x7cbe39:0x2ec,_0x4735d4:0x27,_0x1251f1:0x118},_0x63ca57={_0x16a0df:0x3b4},_0x89a1ea={_0x375b55:0x9c,_0x2132d1:0x101},_0x192568={_0x291a06:0x4da,_0x7f8ac4:0x3dc,_0x228146:0x36e,_0xe2b45d:0x27c,_0x2d1c66:0x141,_0x53746b:0x16b,_0x2a2f54:0x80,_0x4da541:0x27a,_0x1562de:0x19b,_0x5d6776:0x1c1,_0x40799e:0xb4,_0x755c0d:0x260,_0x146694:0x1b9,_0x1133aa:0x443,_0x6fc8ef:0x35a,_0x194adf:0x159,_0x41070e:0x1db,_0x43b217:0x307},_0x18152a={_0x1c5fd5:0x36d},_0x3b6d86={_0x4b1238:0x3b8,_0x119f51:0x26f,_0x3d3656:0x25d},_0x1a488c={_0x40cfd6:0x67,_0x1c8189:0xd0,_0x41f80f:0xa0},_0x466be3={_0x4db999:0x2b0,_0x25ba6b:0x14d},_0x1aba36={_0x13221e:0x41},_0x532a03={_0x1a8722:0x395,_0x1a4b4d:0x24b},_0x83222b={_0x3a73d8:0x3a,_0x152425:0x81},_0x2b8707={_0x26c7c0:0x57},_0x2c7160={_0x50b904:0x586,_0xd60b62:0x407,_0x51b242:0x2a2},_0x760433={_0x4959ff:0x38a},_0x2c80ab={_0xbceb72:0xfa,_0x2b45fd:0x2d},_0x396e59={_0x2f53ef:0xc9,_0x398ae0:0x1cf},_0x4db3c2={_0x360003:0x5fa,_0x73b934:0x621,_0x19f3ce:0x67e,_0x13951d:0x4eb,_0xe92f4c:0x6a4},_0x31af20={_0x2b8aa3:0x185},_0x39a628={_0x2adf18:0x2b9,_0x396bff:0x13f},_0x558e40={_0x2af2cf:0x45c,_0x1ee3a7:0x2ef,_0x3f3112:0x28c},_0x4e6fe6={_0x2ced10:0x1c1,_0x3355b3:0x74},_0x20a621={_0x467a27:0x2a},_0x2c03a2={_0x2f48fe:0x13b,_0x18eab5:0x181},_0x3bf1fc={_0x2c0bd4:0x2d2,_0x495edb:0x325,_0x2189af:0x1fe,_0x5758ff:0x27f},_0x4a37fd={_0x331b03:0x3c7,_0x33cc3b:0xd4},_0x398bb8={_0x125ff2:0x17b,_0x15ce8c:0x62,_0x545bf8:0x118,_0x3f11b7:0x2e,_0x2a5621:0x9},_0x121913={_0xaf7152:0x2c3,_0xcb4fa8:0x191,_0x468b0b:0x93},_0x2c8f60={_0x49ce93:0x1b4},_0x575f94={_0x31a8c6:0x485,_0x3fe642:0x44b,_0x910871:0x3ae},_0x5218e0={_0x459ec5:0x20b,_0x11280f:0x42f},_0x2a4e90={_0x551f84:0xf8,_0x29a165:0x1e5,_0x3fb089:0x176,_0x24a090:0x18a,_0x1262b9:0x17d,_0x54eed0:0x61,_0x22b38d:0x16a},_0x42d67c={_0x43d438:0xc5,_0x188c48:0x17},_0x38ad5c={_0x9ff8cd:0x425,_0x2969d5:0x3e7,_0x554fe9:0x26d,_0x841fa0:0x31c,_0x115057:0x432,_0x3cf863:0x372,_0x3b2e14:0x3fb,_0x48cfd8:0x2e0,_0x17a1a3:0x579,_0x4e4630:0x52a,_0x319c91:0x6bd,_0x494f5d:0x5bc,_0x5d37a5:0x379,_0x55ab76:0x435},_0x1f8eca={_0xddbab0:0x11d,_0x335e78:0x193},_0x37fb86={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x1c1bc0=()=>_0x548459[_0x59563d(0x2b3,0x304,0x33b,0x1fa)]!==![];async function _0x57c433(_0x176b58,_0x554d3a){const _0x50fc3c={_0x325c70:0x201,_0x3ad944:0x1b0,_0x33b840:0x222,_0x4bf5d1:0x28f,_0xba5dd2:0x5a3,_0x100e19:0x314,_0x2251be:0x388,_0x450f73:0x3f4,_0x5525c3:0x328,_0xf2a55c:0x292,_0x3ad38f:0x308,_0x492158:0x3aa,_0x41657b:0x2b5,_0x3074f1:0x2d2,_0x254ce5:0x332,_0xf69b46:0x413,_0x1a3179:0x435},_0x3f96e1={_0x31de4e:0xb1},_0x286875={_0x467e68:0x13f,_0x548b2a:0x1d7},_0x1c0fc6={_0x2eb6af:0x35e,_0x5953b1:0x106},_0x5bc55c=stateKey(_0x176b58,_0x554d3a),_0x3b26e7=_0x37fb86[_0x53cf6b(_0x38ad5c._0x9ff8cd,0x5b1,_0x38ad5c._0x2969d5,0x560)]['find'](_0x6b2384=>_0x6b2384['serverId']===_0x176b58['id']&&_0x6b2384['root']===_0x554d3a);function _0xaab947(_0x42cd3b,_0x119bf5,_0x39f46b,_0x37ef57){return _0x59563d(_0x42cd3b-_0x1f8eca._0xddbab0,_0x119bf5-0xcc,_0x39f46b-_0x1f8eca._0x335e78,_0x37ef57);}if(_0x3b26e7)return _0x3b26e7;if(_0x37fb86[_0xaab947(0x2c9,0x3b2,_0x38ad5c._0x554fe9,_0x38ad5c._0x841fa0)][_0xaab947(_0x38ad5c._0x115057,0x48b,_0x38ad5c._0x3cf863,0x47a)](_0x5bc55c))return void 0x0;function _0x53cf6b(_0x3873eb,_0x259c80,_0x3426a5,_0x563b43){return _0x59563d(_0x563b43-_0x1c0fc6._0x2eb6af,_0x259c80-0x131,_0x3426a5-_0x1c0fc6._0x5953b1,_0x3426a5);}const _0x2cf2bb=_0x37fb86[_0xaab947(0x379,_0x38ad5c._0x3b2e14,0x342,_0x38ad5c._0x48cfd8)][_0x53cf6b(_0x38ad5c._0x17a1a3,_0x38ad5c._0x4e4630,_0x38ad5c._0x319c91,_0x38ad5c._0x494f5d)](_0x5bc55c);if(_0x2cf2bb)return _0x2cf2bb;const _0x398343=((async()=>{function _0x1f969a(_0x4ea66c,_0x2b921f,_0x1fbcaa,_0xba57d0){return _0xaab947(_0xba57d0-0x9,_0x2b921f-_0x286875._0x467e68,_0x1fbcaa-_0x286875._0x548b2a,_0x4ea66c);}function _0x1f23b7(_0x14d21a,_0x3d81fa,_0xfd917,_0x3c01e3){return _0x53cf6b(_0x14d21a-_0x3f96e1._0x31de4e,_0x3d81fa-0x188,_0x14d21a,_0xfd917- -0x2e8);}try{const _0x13a1e2=await _0x176b58[_0x1f23b7(_0x50fc3c._0x325c70,0x1b5,0x25c,0x16b)](_0x554d3a);if(!_0x13a1e2)return _0x37fb86[_0x1f23b7(0xec,_0x50fc3c._0x3ad944,_0x50fc3c._0x33b840,_0x50fc3c._0x4bf5d1)]['add'](_0x5bc55c),void 0x0;const _0x2514ee=await createLspClient({'server':_0x176b58,'root':_0x554d3a,'handle':_0x13a1e2}),_0x20e0cf=_0x37fb86[_0x1f23b7(0x15f,0x1f6,0x278,0x196)][_0x1f969a(0x464,0x615,_0x50fc3c._0xba5dd2,0x531)](_0x1efe6f=>_0x1efe6f['serverId']===_0x176b58['id']&&_0x1efe6f[_0x1f969a(0x572,0x433,0x38b,0x4d6)]===_0x554d3a);if(_0x20e0cf)return await _0x2514ee[_0x1f969a(0x2d8,0x245,_0x50fc3c._0x100e19,_0x50fc3c._0x2251be)](),_0x20e0cf;return _0x37fb86[_0x1f969a(0x1fc,_0x50fc3c._0x450f73,0x439,_0x50fc3c._0x5525c3)][_0x1f969a(_0x50fc3c._0xf2a55c,0x436,0x41f,_0x50fc3c._0x3ad38f)](_0x2514ee),_0x2514ee;}catch{return _0x37fb86[_0x1f969a(_0x50fc3c._0x492158,_0x50fc3c._0x41657b,0x2ef,_0x50fc3c._0x3074f1)][_0x1f23b7(0x310,0x4f2,0x3e2,0x2e8)](_0x5bc55c),void 0x0;}finally{_0x37fb86[_0x1f23b7(0x2a5,_0x50fc3c._0x254ce5,_0x50fc3c._0x3074f1,_0x50fc3c._0xf69b46)][_0x1f969a(0x4bb,0x3b8,0x44f,_0x50fc3c._0x1a3179)](_0x5bc55c);}})());return _0x37fb86[_0xaab947(_0x38ad5c._0x5d37a5,0x350,_0x38ad5c._0x55ab76,0x212)]['set'](_0x5bc55c,_0x398343),_0x398343;}async function _0x1344ae(_0x470c82,_0x1aa397){const _0x5c96a1={_0x5a6387:0x78,_0x3550bc:0x23};function _0xfdbab6(_0x4027ce,_0x2fb9ce,_0x1d4775,_0x24754c){return _0x59563d(_0x4027ce- -_0x42d67c._0x43d438,_0x2fb9ce-_0x42d67c._0x188c48,_0x1d4775-0x159,_0x2fb9ce);}if(!_0x1c1bc0())return[];const _0xc5311f=[];for(const _0x5a480d of getServersForFile(_0x470c82)){const _0x44bb53=await _0x5a480d['root'](_0x470c82);if(!_0x44bb53)continue;const _0x589e6f=stateKey(_0x5a480d,_0x44bb53);if(_0x37fb86[_0x45355d(_0x2a4e90._0x551f84,_0x2a4e90._0x29a165,0x134,0x1ab)]['has'](_0x589e6f))continue;const _0x1f654a=_0x37fb86[_0x45355d(0x12a,_0x2a4e90._0x3fb089,_0x2a4e90._0x24a090,_0x2a4e90._0x1262b9)]['find'](_0x3db22e=>_0x3db22e['serverId']===_0x5a480d['id']&&_0x3db22e[_0x45355d(0x474,0x464,0x338,0x3cd)]===_0x44bb53);if(_0x1f654a){_0xc5311f[_0xfdbab6(0x11d,0x25d,_0x2a4e90._0x54eed0,0xab)](_0x1f654a);continue;}if(!_0x1aa397)continue;const _0x3ff6f5=await _0x57c433(_0x5a480d,_0x44bb53);if(_0x3ff6f5)_0xc5311f[_0x45355d(0x2cd,0x12f,_0x2a4e90._0x22b38d,0xc4)](_0x3ff6f5);}function _0x45355d(_0x407312,_0x57b713,_0x2e3081,_0x12d49c){return _0x59563d(_0x2e3081- -_0x5c96a1._0x5a6387,_0x57b713-0x1d3,_0x2e3081-_0x5c96a1._0x3550bc,_0x12d49c);}return _0xc5311f;}async function _0x56498e(_0x96690a,_0xf73870=![]){const _0x88baf1={_0x1df5b8:0x282,_0x5db8f0:0xb9,_0x3f1e11:0xe5,_0x2df207:0x1d,_0x4e2ddd:0x21,_0x5ea782:0x1da,_0x52f47f:0x1a1,_0x25f25c:0x1f8,_0x2320c6:0xea,_0xd2fab7:0x17b,_0x567209:0x126,_0x2d4e0b:0x6,_0x2b4ec3:0x96,_0x227d93:0x6a,_0x5d2f97:0xfb},_0x1e5390={_0x422693:0x26},_0x167b63={_0x2c52c1:0x149},_0x5edcca={_0x107e28:0x81,_0x1c401d:0x10d};function _0x5a5414(_0x29e23f,_0x1c4fd5,_0x1ef601,_0x2f580d){return _0x59563d(_0x1ef601-0x102,_0x1c4fd5-0x15e,_0x1ef601-0xa0,_0x2f580d);}function _0x1b077e(_0x50b725,_0xc88719,_0x4e5d0e,_0xdd5d){return _0x59563d(_0x4e5d0e-_0x5edcca._0x107e28,_0xc88719-0xf5,_0x4e5d0e-_0x5edcca._0x1c401d,_0xdd5d);}const _0x918eb7=await _0x1344ae(_0x96690a,!![]);await Promise[_0x5a5414(_0x5218e0._0x459ec5,0x367,0x2f3,_0x5218e0._0x11280f)](_0x918eb7[_0x5a5414(0x3fc,0x34f,0x3a4,0x3ee)](async _0x50585f=>{!_0x37fb86[_0x5b3f57(0x2c1,0x10a,0x157,_0x88baf1._0x1df5b8)][_0x238dea(-_0x88baf1._0x5db8f0,-0x132,-_0x88baf1._0x3f1e11,-0xa1)](_0x50585f[_0x5b3f57(_0x88baf1._0x2df207,0x1d9,0xf6,-_0x88baf1._0x4e2ddd)]+':'+_0x50585f['root']+':'+_0x96690a)&&(await _0x50585f[_0x238dea(-0x2f6,-_0x88baf1._0x5ea782,-0x122,-0x267)][_0x5b3f57(0x210,_0x88baf1._0x52f47f,_0x88baf1._0x25f25c,0x1fc)]({'path':_0x96690a}),_0x37fb86['openFiles']['add'](_0x50585f[_0x238dea(-_0x88baf1._0x2320c6,-0x150,-0xc,-_0x88baf1._0xd2fab7)]+':'+_0x50585f[_0x238dea(-_0x88baf1._0x567209,0x6e,-0x16d,-_0x88baf1._0x2d4e0b)]+':'+_0x96690a));await _0x50585f['notify'][_0x238dea(0x7e,0x14,0x65,-0x56)]({'path':_0x96690a,'version':nextFileVersion(_0x37fb86,_0x96690a)});function _0x238dea(_0x1f24a7,_0x41c11b,_0x2195fd,_0x549f31){return _0x5a5414(_0x1f24a7-_0x167b63._0x2c52c1,_0x41c11b-0x10a,_0x549f31- -0x4b8,_0x41c11b);}function _0x5b3f57(_0x218e1b,_0x30ea44,_0x38e4c4,_0x1f288f){return _0x1b077e(_0x218e1b-0x6c,_0x30ea44-_0x1e5390._0x422693,_0x38e4c4- -0x1c6,_0x1f288f);}if(_0xf73870)await _0x50585f[_0x5b3f57(-_0x88baf1._0x2b4ec3,-0xd5,_0x88baf1._0x227d93,_0x88baf1._0x5d2f97)]({'path':_0x96690a});}));}async function _0x1bc277(_0x4abea5){const _0x3788f8={_0x48d4e3:0x2c3,_0xc222bf:0x1ae};await _0x56498e(_0x4abea5[_0x31c97d(_0x575f94._0x31a8c6,_0x575f94._0x3fe642,_0x575f94._0x910871,0x31a)],![]);function _0x31c97d(_0x4f1412,_0x4482b4,_0x299ac5,_0x57414c){return _0x59563d(_0x4482b4-_0x3788f8._0x48d4e3,_0x4482b4-0xe0,_0x299ac5-_0x3788f8._0xc222bf,_0x4f1412);}return _0x1344ae(_0x4abea5['file'],![]);}async function _0x54d4de(_0x2f4338){const _0x28f905={_0x12ef1f:0xe,_0xa6e6d7:0x83,_0x68e195:0x151},_0x4ce867=await _0x1bc277(_0x2f4338);function _0x292c59(_0x36c673,_0x31373e,_0x36b7dc,_0x51fcc8){return _0x59563d(_0x31373e- -_0x28f905._0x12ef1f,_0x31373e-_0x28f905._0xa6e6d7,_0x36b7dc-_0x28f905._0x68e195,_0x36b7dc);}return collectClientResults(_0x4ce867['map'](_0x5c0141=>_0x5c0141['request'][_0x292c59(0x227,0x15f,0x17c,0x12f)](_0x2f4338)));}function _0x59563d(_0x1c8024,_0x157d81,_0x45ae7b,_0xa7a4dc){return _0x25cfa5(_0x1c8024-0xa6,_0xa7a4dc,_0x1c8024-0x204,_0xa7a4dc-_0x2c8f60._0x49ce93);}return{'isEnabled':_0x1c1bc0,async 'hasClients'(_0x55be35){const _0x3b56b0={_0x506a7b:0x3d5,_0x364cf9:0x104};function _0x2b0e27(_0x29908f,_0x45f7b0,_0x15c7d9,_0x12da57){return _0x59563d(_0x29908f- -_0x121913._0xaf7152,_0x45f7b0-_0x121913._0xcb4fa8,_0x15c7d9-_0x121913._0x468b0b,_0x45f7b0);}function _0x1f0136(_0x4bcac5,_0xac5674,_0x12c72b,_0x5bc912){return _0x59563d(_0x4bcac5- -_0x3b56b0._0x506a7b,_0xac5674-_0x3b56b0._0x364cf9,_0x12c72b-0x115,_0x5bc912);}return(await _0x1344ae(_0x55be35,![]))[_0x1f0136(0x6,_0x398bb8._0x125ff2,_0x398bb8._0x15ce8c,0x7b)]>0x0||getServersForFile(_0x55be35)[_0x2b0e27(_0x398bb8._0x545bf8,0x94,_0x398bb8._0x3f11b7,-_0x398bb8._0x2a5621)]>0x0;},'touchFile':_0x56498e,async 'diagnostics'(){const _0x1b1c77={_0x40710d:0x4},_0x3cb135={};function _0x1a4877(_0x3abcd0,_0x1964b5,_0x347c6d,_0x28d708){return _0x59563d(_0x3abcd0- -_0x4a37fd._0x331b03,_0x1964b5-_0x4a37fd._0x33cc3b,_0x347c6d-0x18,_0x347c6d);}function _0x140dbe(_0x283e0e,_0xe263e9,_0x28e506,_0x1246c6){return _0x59563d(_0x1246c6- -_0x1b1c77._0x40710d,_0xe263e9-0xcc,_0x28e506-0x43,_0x283e0e);}for(const _0x5ccd3b of _0x37fb86[_0x140dbe(_0x3bf1fc._0x2c0bd4,_0x3bf1fc._0x495edb,0x26b,_0x3bf1fc._0x2189af)]){for(const [_0x20201d,_0x555d41]of _0x5ccd3b[_0x140dbe(0x109,_0x3bf1fc._0x5758ff,0x1e0,0x1d1)]){_0x3cb135[diagnosticsKeyToPath(_0x20201d)]=_0x555d41;}}return _0x3cb135;},async 'diagnosticsForFile'(_0x22f3c0){await _0x56498e(_0x22f3c0,!![]);const _0x1ad699=[];function _0x1808ed(_0x3df51b,_0x553b24,_0x11de20,_0xeaf3ff){return _0x59563d(_0xeaf3ff- -0x297,_0x553b24-_0x2c03a2._0x2f48fe,_0x11de20-_0x2c03a2._0x18eab5,_0x553b24);}for(const _0x45bd11 of await _0x1344ae(_0x22f3c0,![])){for(const [_0x8014d6,_0x4f9215]of _0x45bd11['diagnostics']){if(diagnosticsKeyToPath(_0x8014d6)===_0x22f3c0)_0x1ad699[_0x1808ed(-_0x20a621._0x467a27,-0x1f0,0x16,-0xb5)](..._0x4f9215);}}return _0x1ad699;},async 'definition'(_0x5b7b7f){const _0x21fcfa={_0x7fa8d6:0x2bf,_0x46caf7:0x9c};function _0x411a27(_0x3bc221,_0x345f3c,_0x24feb3,_0x3ab728){return _0x59563d(_0x24feb3-_0x21fcfa._0x7fa8d6,_0x345f3c-0x1a6,_0x24feb3-_0x21fcfa._0x46caf7,_0x345f3c);}function _0x541e8f(_0x76a3d0,_0x1fe8ee,_0xb2cabe,_0x1ae85b){return _0x59563d(_0x76a3d0- -_0x4e6fe6._0x2ced10,_0x1fe8ee-0x81,_0xb2cabe-_0x4e6fe6._0x3355b3,_0x1fe8ee);}return collectClientResults((await _0x1bc277(_0x5b7b7f))['map'](_0x13ee32=>_0x13ee32[_0x411a27(0x44c,0x31f,0x450,0x37c)][_0x541e8f(0xbd,0x1e5,-0x86,-0xa8)](_0x5b7b7f)));},async 'references'(_0x4a9b06){const _0x1c10b1={_0x520229:0x138,_0x462a1d:0x107},_0x46e013={_0x5a9ca7:0x118,_0x264da1:0x107};function _0x23c977(_0x2dc531,_0x57417a,_0x150249,_0x367ead){return _0x59563d(_0x150249-_0x46e013._0x5a9ca7,_0x57417a-0x1dd,_0x150249-_0x46e013._0x264da1,_0x2dc531);}function _0x43889f(_0x40c538,_0x482cec,_0xafa215,_0x361b64){return _0x59563d(_0x482cec-0x139,_0x482cec-_0x1c10b1._0x520229,_0xafa215-_0x1c10b1._0x462a1d,_0x361b64);}return collectClientResults((await _0x1bc277(_0x4a9b06))[_0x43889f(_0x558e40._0x2af2cf,0x3db,_0x558e40._0x1ee3a7,_0x558e40._0x3f3112)](_0x2cb6a0=>_0x2cb6a0[_0x43889f(0x299,0x2ca,0x34f,0x419)][_0x23c977(0x2a2,0x22e,0x29a,0x222)](_0x4a9b06)));},async 'hover'(_0x42c570){function _0x402111(_0x5e36b5,_0x4ba8e6,_0x2396ad,_0x2a48ad){return _0x59563d(_0x2a48ad-_0x39a628._0x2adf18,_0x4ba8e6-0xac,_0x2396ad-_0x39a628._0x396bff,_0x5e36b5);}const _0x330551=await Promise[_0x402111(_0x4db3c2._0x360003,_0x4db3c2._0x73b934,0x7eb,0x6e8)]((await _0x1bc277(_0x42c570))[_0x402111(0x611,_0x4db3c2._0x19f3ce,_0x4db3c2._0x13951d,0x55b)](_0x3337cf=>_0x3337cf[_0x402111(0x3ea,0x3a5,0x412,0x44a)][_0x402111(0x383,0x613,0x533,0x4c7)](_0x42c570)));function _0x1000f2(_0x4c576b,_0x4a8798,_0x40363e,_0x23f6d6){return _0x59563d(_0x4a8798-0x1ad,_0x4a8798-0x61,_0x40363e-_0x31af20._0x2b8aa3,_0x40363e);}return _0x330551[_0x402111(0x534,_0x4db3c2._0xe92f4c,0x41d,0x57d)](_0x16d599=>_0x16d599[_0x1000f2(0x3df,0x326,0x362,0x476)]===_0x402111(0x413,0x2dc,0x380,0x43d)&&_0x16d599[_0x402111(0x468,0x556,0x403,0x54f)]?[_0x16d599[_0x402111(0x598,0x512,0x4cd,0x54f)]]:[]);},async 'documentSymbol'(_0x403e3a){const _0xd5a99a={_0x2ae8a4:0x299,_0x2c1bd0:0xdd};function _0x3dcc15(_0x3a0b11,_0x33815c,_0x5ca259,_0x208e09){return _0x59563d(_0x208e09- -_0xd5a99a._0x2ae8a4,_0x33815c-_0xd5a99a._0x2c1bd0,_0x5ca259-0x127,_0x3a0b11);}await _0x56498e(_0x403e3a,![]);function _0x5d4782(_0x123476,_0x1cfb9a,_0x2b28c7,_0x4437ca){return _0x59563d(_0x4437ca- -0x25d,_0x1cfb9a-_0x396e59._0x2f53ef,_0x2b28c7-_0x396e59._0x398ae0,_0x1cfb9a);}return collectClientResults((await _0x1344ae(_0x403e3a,![]))[_0x3dcc15(-_0x2c80ab._0xbceb72,-0x118,_0x2c80ab._0x2b45fd,0x9)](_0x26ed90=>_0x26ed90[_0x3dcc15(-0xed,-0xdf,-0x9,-0x108)][_0x5d4782(-0x177,-0x191,-0x1b2,-0x85)](_0x403e3a)));},async 'workspaceSymbol'(_0x35c19e){const _0xcfa29={_0x5f13d0:0x105,_0x11b670:0x1ca};function _0x3b09ab(_0x106e06,_0x201c38,_0x599144,_0x9f2425){return _0x59563d(_0x9f2425-_0xcfa29._0x5f13d0,_0x201c38-_0xcfa29._0x11b670,_0x599144-0x30,_0x599144);}function _0x1e68e0(_0x485a27,_0x3f02f3,_0x4e4b52,_0x285200){return _0x59563d(_0x485a27-_0x760433._0x4959ff,_0x3f02f3-0x1b3,_0x4e4b52-0x126,_0x4e4b52);}return collectClientResults(_0x37fb86[_0x1e68e0(0x58c,0x57e,_0x2c7160._0x50b904,0x5cb)][_0x3b09ab(_0x2c7160._0xd60b62,_0x2c7160._0x51b242,0x407,0x3a7)](_0x1ad21c=>_0x1ad21c[_0x3b09ab(0x2c3,0x3de,0x39b,0x296)][_0x1e68e0(0x6ef,0x5fc,0x748,0x6fb)](_0x35c19e)));},async 'implementation'(_0xa3221){function _0x4c2673(_0x299a78,_0x521cc3,_0x3ff8b5,_0x1eec89){return _0x59563d(_0x1eec89- -_0x2b8707._0x26c7c0,_0x521cc3-0x11,_0x3ff8b5-0x8c,_0x521cc3);}function _0x149319(_0x47d83d,_0x1785a0,_0x565b75,_0x151f5a){return _0x59563d(_0x47d83d- -_0x83222b._0x3a73d8,_0x1785a0-_0x83222b._0x152425,_0x565b75-0x8d,_0x151f5a);}return collectClientResults((await _0x1bc277(_0xa3221))[_0x4c2673(_0x532a03._0x1a8722,0x1e8,0x233,_0x532a03._0x1a4b4d)](_0x391376=>_0x391376[_0x4c2673(0xb5,0x18f,-0x18,0x13a)]['implementation'](_0xa3221)));},async 'prepareCallHierarchy'(_0x5e5386){return _0x54d4de(_0x5e5386);},async 'incomingCalls'(_0xf74b2e){const _0x4fbd1c={_0x46d499:0x19e,_0x36ec16:0x13e},_0x18e6aa=await _0x54d4de(_0xf74b2e),_0xf5ac7f=await _0x1bc277(_0xf74b2e);function _0x4e1a1f(_0x480b80,_0x3c7dcc,_0x34569b,_0x4deed4){return _0x59563d(_0x480b80- -0x305,_0x3c7dcc-_0x4fbd1c._0x46d499,_0x34569b-_0x4fbd1c._0x36ec16,_0x34569b);}return collectClientResults(_0xf5ac7f[_0x4e1a1f(-_0x1aba36._0x13221e,-0x113,-0x17a,0xc4)](_0xa3c2f8=>_0x18e6aa['map'](_0x20cb6d=>_0xa3c2f8['request']['incomingCalls'](_0x20cb6d))));},async 'outgoingCalls'(_0x10f493){function _0x2edf38(_0x27a229,_0x3e2b41,_0x26ff10,_0x3cd62e){return _0x59563d(_0x27a229-_0x466be3._0x4db999,_0x3e2b41-_0x466be3._0x25ba6b,_0x26ff10-0x9f,_0x3cd62e);}function _0x43dca6(_0x4e6b01,_0x2eb95d,_0x35fa1e,_0x4ab8b1){return _0x59563d(_0x35fa1e- -_0x1a488c._0x40cfd6,_0x2eb95d-_0x1a488c._0x1c8189,_0x35fa1e-_0x1a488c._0x41f80f,_0x4e6b01);}const _0x85e91e=await _0x54d4de(_0x10f493),_0x67dc49=await _0x1bc277(_0x10f493);return collectClientResults(_0x67dc49[_0x43dca6(_0x3b6d86._0x4b1238,_0x3b6d86._0x119f51,_0x3b6d86._0x3d3656,0x383)](_0x13ac7b=>_0x85e91e[_0x43dca6(0x1ae,0x151,0x23b,0x2c6)](_0x422a99=>_0x13ac7b[_0x2edf38(0x441,0x451,0x552,0x443)][_0x43dca6(0x314,0x31a,0x278,0x2b2)](_0x422a99))));},async 'shutdown'(){const _0x621c5c={_0x49f426:0x195};if(_0x37fb86[_0x26e7e7(0xa1,0x13a,0x345,0x1d8)])return;_0x37fb86['shutdownStarted']=!![],await Promise[_0x26e7e7(_0x192568._0x291a06,0x422,_0x192568._0x7f8ac4,_0x192568._0x228146)](_0x37fb86[_0x26e7e7(0x82,_0x192568._0xe2b45d,0x4e,_0x192568._0x2d1c66)]['map'](_0x1fca5b=>_0x1fca5b[_0x26e7e7(0x4b,0x117,0x2d4,0x1a1)]())),_0x37fb86[_0x5bce6f(-0xb3,-0x124,-0x255,-_0x192568._0x53746b)]=[];function _0x5bce6f(_0x3c71fc,_0x1357f4,_0x2f99dc,_0x1e871d){return _0x59563d(_0x1e871d- -_0x18152a._0x1c5fd5,_0x1357f4-0xaa,_0x2f99dc-0x28,_0x1357f4);}_0x37fb86[_0x26e7e7(0xf3,_0x192568._0x2a2f54,_0x192568._0x4da541,_0x192568._0x1562de)]['clear'](),_0x37fb86[_0x5bce6f(-0x1c1,-0xc0,-0x228,-_0x192568._0x5d6776)][_0x5bce6f(-_0x192568._0x40799e,0x7f,0xc9,0xae)](),_0x37fb86[_0x5bce6f(-_0x192568._0x755c0d,-_0x192568._0x146694,-0x327,-0x205)][_0x26e7e7(0x2fb,_0x192568._0x1133aa,0x2c6,_0x192568._0x6fc8ef)]();function _0x26e7e7(_0x676951,_0x4ac4b9,_0x110a91,_0x214e1a){return _0x59563d(_0x214e1a- -0xc1,_0x4ac4b9-0xb3,_0x110a91-_0x621c5c._0x49f426,_0x676951);}_0x37fb86[_0x26e7e7(0x293,0x31e,_0x192568._0x194adf,_0x192568._0x41070e)][_0x26e7e7(0x37d,0x3b3,_0x192568._0x43b217,0x35a)]();},'status'(){function _0x3606af(_0x2e810e,_0xee2a3d,_0x43c148,_0x20c03a){return _0x59563d(_0x43c148-0x7a,_0xee2a3d-_0x89a1ea._0x375b55,_0x43c148-_0x89a1ea._0x2132d1,_0xee2a3d);}function _0x4bc413(_0x5f7b98,_0x21a755,_0x5b1437,_0x30b098){return _0x59563d(_0x21a755- -_0x63ca57._0x16a0df,_0x21a755-0x10e,_0x5b1437-0x1af,_0x30b098);}return{'connectedClients':_0x37fb86[_0x3606af(0x21e,_0x5f45a5._0x30131e,0x27c,_0x5f45a5._0x7cbe39)][_0x4bc413(0x171,_0x5f45a5._0x4735d4,-0x1,_0x5f45a5._0x1251f1)]};}};}function createQuestionId(){const _0x4a0b08={_0x1133f5:0x35a,_0x297aa9:0x3a4,_0x31d74d:0x491},_0x1ee906={_0x505235:0x96},_0x581087={_0x171b8b:0x1e4,_0x22a570:0x3cd,_0x6fa6ea:0x1c2};function _0x135373(_0x1b0b6a,_0x57ce5e,_0x48575f,_0xef4833){return _0x25cfa5(_0x1b0b6a-_0x581087._0x171b8b,_0x48575f,_0xef4833-_0x581087._0x22a570,_0xef4833-_0x581087._0x6fa6ea);}function _0x167b3b(_0x35c86e,_0x13f4ee,_0x38852e,_0xea9bb4){return _0x25cfa5(_0x35c86e-_0x1ee906._0x505235,_0x35c86e,_0x38852e-0x54f,_0xea9bb4-0x22);}return _0x135373(0x30f,0x4a5,_0x4a0b08._0x1133f5,0x36e)+Date['now']()+'-'+Math['random']()[_0x167b3b(_0x4a0b08._0x297aa9,_0x4a0b08._0x31d74d,0x4c2,0x5a0)](0x24)['slice'](0x2,0x9);}function validateInput(_0x55ddcd){const _0x3f5d3e={_0x1c7be5:0x1df,_0x17f0c5:0x371,_0x5158b9:0x531,_0x4804e4:0x48e,_0x27007e:0x457,_0x4e850f:0x2fc,_0x3c523d:0x129,_0x429e87:0x474,_0x576ac2:0x50c,_0x5b405a:0x56c,_0x3243c4:0x154,_0x3a80ca:0x3e,_0x390cab:0x9b,_0x4fcdec:0x94,_0xcfb6d4:0x280,_0x1827a6:0x1df,_0x2e26e1:0x26c,_0x4a6c7:0x2b2,_0x5c2df3:0x173,_0x315026:0xd6,_0x47c8d0:0x56,_0x2d182e:0x1a4,_0x2a3796:0x5e,_0x2c5d9b:0xa7,_0x3ee375:0x1a9,_0x4c9f05:0x14b,_0x58abe0:0x78,_0x890eeb:0x3e0,_0x2c8637:0x1c9,_0x3a147d:0x10,_0x63d990:0x18f,_0x35cdf3:0x5e6,_0x331aac:0x57,_0x5154bb:0xea,_0x499a36:0x38,_0x57ae5b:0xc0,_0x5a0581:0x3db,_0x1e4757:0x2f5,_0x5b6e1d:0xdc,_0x295288:0xf5,_0x3d0a3b:0x1a6,_0x49e88a:0x1bc,_0x1df3d4:0x4e1,_0x7d69e0:0x57f,_0x58ee81:0x1b0,_0x41edc0:0x46b,_0x40b57f:0x2ff,_0x49a12a:0x2f8,_0x28525e:0x2cb,_0x3dfc0b:0x1d7,_0x17ff6c:0xc5,_0x1aed53:0x2ed,_0x36ab35:0x10d,_0x4ba7c0:0x1db,_0x18e015:0x71,_0x4bfcca:0xd0,_0x183605:0x1b0,_0x2142b9:0x46,_0x57c3a2:0xcb,_0x480722:0x198,_0x3cd576:0x40b,_0x236f89:0x1f4,_0x1d4ca1:0x3fd,_0x3b47fc:0x28d,_0x276f74:0x185,_0x4eafdb:0xf0,_0xd3ed2d:0x167,_0x2e17dc:0xa6,_0xd49f33:0x161,_0x4355ef:0x254,_0x31ce98:0x1e7,_0x51b1b9:0x2d6,_0x419198:0x36},_0xfe7ade={_0x130db9:0x336,_0x442c80:0x1af};if(!Array['isArray'](_0x55ddcd[_0x214799(0x2ce,0x2d6,_0x3f5d3e._0x1c7be5,0x297)])||_0x55ddcd[_0x38710d(_0x3f5d3e._0x17f0c5,0x4a4,0x5d7,_0x3f5d3e._0x5158b9)][_0x38710d(0x405,0x475,_0x3f5d3e._0x4804e4,_0x3f5d3e._0x27007e)]<0x1||_0x55ddcd[_0x214799(_0x3f5d3e._0x4e850f,0x241,0x1df,_0x3f5d3e._0x3c523d)][_0x38710d(_0x3f5d3e._0x429e87,0x475,_0x3f5d3e._0x576ac2,_0x3f5d3e._0x5b405a)]>0xa)throw new ToolExecutionError(_0x214799(_0x3f5d3e._0x3243c4,-_0x3f5d3e._0x3a80ca,_0x3f5d3e._0x390cab,_0x3f5d3e._0x4fcdec),{'error':'invalid_questions'});function _0x214799(_0x3df242,_0x4dee99,_0x21f963,_0x4b073e){return _0x5c47d8(_0x21f963- -_0xfe7ade._0x130db9,_0x4dee99-0xc9,_0x21f963-_0xfe7ade._0x442c80,_0x3df242);}function _0x38710d(_0x375157,_0x4b0171,_0x18fe3c,_0x72875f){return _0x25cfa5(_0x375157-0x5,_0x72875f,_0x4b0171-0x29e,_0x72875f-0x150);}for(let _0x35e686=0x0;_0x35e686<_0x55ddcd['questions'][_0x38710d(0x5b8,0x475,0x4ae,0x3fb)];_0x35e686+=0x1){const _0xed927f=_0x55ddcd[_0x214799(_0x3f5d3e._0xcfb6d4,0x1eb,_0x3f5d3e._0x1827a6,0x1cb)][_0x35e686];if(!_0xed927f[_0x38710d(0x1de,_0x3f5d3e._0x2e26e1,_0x3f5d3e._0x4a6c7,_0x3f5d3e._0x5c2df3)]||typeof _0xed927f[_0x38710d(0x36c,0x26c,0x124,0x34c)]!==_0x214799(-_0x3f5d3e._0x315026,-0xd2,0x78,_0x3f5d3e._0x47c8d0))throw new ToolExecutionError('Question\x20'+(_0x35e686+0x1)+_0x214799(-_0x3f5d3e._0x2d182e,-0x159,-0x8f,-0x48));if(!_0xed927f[_0x214799(_0x3f5d3e._0x2a3796,0xb6,_0x3f5d3e._0x2c5d9b,_0x3f5d3e._0x3ee375)]||typeof _0xed927f[_0x214799(_0x3f5d3e._0x4c9f05,0x9d,0xa7,0x175)]!==_0x214799(0x100,-0x27,_0x3f5d3e._0x58abe0,0xd7))throw new ToolExecutionError(_0x38710d(_0x3f5d3e._0x890eeb,0x28d,_0x3f5d3e._0x2c8637,0x309)+(_0x35e686+0x1)+_0x214799(0x4d,_0x3f5d3e._0x3a147d,0xe5,_0x3f5d3e._0x63d990));if(_0xed927f['topic'][_0x38710d(_0x3f5d3e._0x35cdf3,0x475,0x5c2,0x511)]>0x1e)throw new ToolExecutionError(_0x214799(_0x3f5d3e._0x331aac,_0x3f5d3e._0x5154bb,-_0x3f5d3e._0x499a36,-_0x3f5d3e._0x57ae5b)+(_0x35e686+0x1)+_0x38710d(0x46e,0x415,0x364,0x43d)+_0xed927f[_0x38710d(0x31c,0x36c,_0x3f5d3e._0x5a0581,0x311)]['length']);if(!Array[_0x38710d(_0x3f5d3e._0x1e4757,0x228,_0x3f5d3e._0x5b6e1d,_0x3f5d3e._0x295288)](_0xed927f[_0x214799(0x2c5,0x1bb,_0x3f5d3e._0x3d0a3b,_0x3f5d3e._0x49e88a)])||_0xed927f[_0x38710d(_0x3f5d3e._0x1df3d4,0x46b,_0x3f5d3e._0x7d69e0,0x3a5)][_0x214799(0x1ca,0xd8,_0x3f5d3e._0x58ee81,0x1fb)]<0x2||_0xed927f[_0x38710d(0x4a2,_0x3f5d3e._0x41edc0,_0x3f5d3e._0x40b57f,_0x3f5d3e._0x49a12a)][_0x214799(_0x3f5d3e._0x28525e,0x303,0x1b0,_0x3f5d3e._0x3dfc0b)]>0x4)throw new ToolExecutionError(_0x214799(0x11f,-0x82,-_0x3f5d3e._0x499a36,_0x3f5d3e._0x17ff6c)+(_0x35e686+0x1)+_0x38710d(_0x3f5d3e._0x1aed53,0x45d,0x53c,0x557));for(let _0x488641=0x0;_0x488641<_0xed927f[_0x214799(_0x3f5d3e._0x36ab35,0x1bc,0x1a6,_0x3f5d3e._0x4ba7c0)][_0x214799(_0x3f5d3e._0x18e015,_0x3f5d3e._0x4bfcca,_0x3f5d3e._0x183605,_0x3f5d3e._0x2142b9)];_0x488641+=0x1){const _0x3bec9c=_0xed927f[_0x214799(_0x3f5d3e._0x57c3a2,0x103,0x1a6,0x19e)][_0x488641];if(!_0x3bec9c[_0x214799(0x0,_0x3f5d3e._0x480722,0xc7,0x9a)]||!_0x3bec9c[_0x38710d(_0x3f5d3e._0x3cd576,0x293,_0x3f5d3e._0x236f89,0x35a)])throw new ToolExecutionError(_0x38710d(_0x3f5d3e._0x1d4ca1,_0x3f5d3e._0x3b47fc,0x3cd,_0x3f5d3e._0x276f74)+(_0x35e686+0x1)+',\x20Option\x20'+(_0x488641+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0xed927f[_0x214799(0xbd,_0x3f5d3e._0x4eafdb,_0x3f5d3e._0xd3ed2d,_0x3f5d3e._0x2e17dc)]!==_0x38710d(_0x3f5d3e._0x63d990,0x283,_0x3f5d3e._0xd49f33,_0x3f5d3e._0x4355ef))throw new ToolExecutionError(_0x38710d(_0x3f5d3e._0x31ce98,0x28d,0x2e5,_0x3f5d3e._0x51b1b9)+(_0x35e686+0x1)+_0x214799(-_0x3f5d3e._0x419198,_0x3f5d3e._0x57ae5b,-0x3b,0xd));}}function buildQuestions(_0x357344){const _0x17951c={_0x4d85d3:0x76d,_0xab74d2:0x517},_0x107daa={_0xba6927:0x484,_0x3e9db0:0xe2},_0xb24ffd={_0x30b801:0xfd};function _0x12415c(_0x551075,_0x2f6c47,_0x502ef9,_0x3b6ef6){return _0x25cfa5(_0x551075-0x80,_0x551075,_0x2f6c47-0x2ab,_0x3b6ef6-_0xb24ffd._0x30b801);}function _0x1f1cfd(_0x146050,_0xfd28a3,_0x193976,_0x23193b){return _0x25cfa5(_0x146050-0xe2,_0x146050,_0x193976-_0x107daa._0xba6927,_0x23193b-_0x107daa._0x3e9db0);}return _0x357344[_0x1f1cfd(_0x17951c._0x4d85d3,0x586,0x68a,0x59f)][_0x1f1cfd(_0x17951c._0xab74d2,0x540,0x522,0x66b)]((_0x561fc3,_0x1d5144)=>({'id':'q'+_0x1d5144,'question':_0x561fc3[_0x1f1cfd(0x563,0x322,0x452,0x3e6)],'topic':_0x561fc3['topic'],'options':_0x561fc3[_0x1f1cfd(0x7b6,0x6fc,0x651,0x5e7)],'multiSelect':_0x561fc3[_0x12415c(0x532,0x439,0x471,0x3a5)]}));}function createResult(_0x18ca76,_0x4f1e75,_0x36ccfa){const _0x152970={_0x14cbef:0x23e,_0x20ca21:0x13b,_0x3522a2:0x193,_0x1c298d:0x22e,_0x21e4ce:0x243},_0x31daa7={_0x1e16a7:0x100,_0x1d70ad:0x50},_0x1c859a={_0x4f15ce:0x4b7,_0x191cdb:0x29},_0x19e22c={'questionId':_0x18ca76,'questionCount':_0x4f1e75,'answers':_0x36ccfa};function _0x39eb7f(_0x464226,_0x4cd74f,_0x520976,_0x14b20d){return _0x5c47d8(_0x520976- -_0x1c859a._0x4f15ce,_0x4cd74f-0x147,_0x520976-_0x1c859a._0x191cdb,_0x464226);}function _0xccf283(_0x13e6d1,_0x2656ca,_0x3cf908,_0x370ed2){return _0x25cfa5(_0x13e6d1-_0x31daa7._0x1e16a7,_0x2656ca,_0x3cf908- -_0x31daa7._0x1d70ad,_0x370ed2-0x5d);}return createToolOutput(_0xccf283(_0x152970._0x14cbef,0x19c,_0x152970._0x20ca21,_0x152970._0x3522a2)+JSON[_0x39eb7f(-_0x152970._0x1c298d,-0x13e,-_0x152970._0x1c298d,-_0x152970._0x21e4ce)](_0x36ccfa,null,0x2),_0x19e22c);}function createAskUserTool(){const _0x4f62b6={_0x1a3633:0x167,_0x1786e4:0x196,_0x8af44d:0x434,_0x5595b0:0x45b,_0x4809a4:0x633,_0x277f3b:0x164,_0x462339:0x12a,_0x2a12b4:0x3,_0x5057ab:0xe,_0x1995af:0x48b,_0x3f6cf9:0x547,_0x2077c0:0x259,_0x3d57e4:0x35,_0x1ec079:0xda,_0x236947:0x29,_0x1c7cd5:0xfb,_0x309ef6:0xe,_0x34b61e:0x52,_0x3b57a5:0xf9,_0x178aac:0x5d,_0x466318:0x5b7,_0x4d9979:0xab,_0x382c93:0x5ba,_0x1fdc14:0x19e,_0x20913f:0x17a,_0x2c3d35:0xb4,_0xa4530:0x3d,_0xb7d7fb:0x4cd,_0x259e6c:0x606,_0x39f33a:0x770,_0x4bcb9c:0x5e0,_0x268951:0x177,_0x5bba97:0x25,_0x924c5d:0x175},_0x69e546={_0x4130cd:0x36d,_0x113e40:0x302,_0x949b35:0x5d3,_0x2a2771:0x4a0,_0x262c41:0x52f,_0x45b457:0x595,_0x1390ae:0x448,_0x3a665d:0x462,_0x30c9b6:0x29e,_0x2328e0:0x342,_0x31f29a:0x3b4,_0x3520a1:0x4a0,_0x3bb2b1:0x3ed,_0x3bd888:0x3a3,_0x1fb34d:0x376,_0x56212f:0x1dc,_0x67bcb8:0x2cf,_0xca060b:0x2ae,_0x14212a:0x463,_0x5b8fcd:0x3dc,_0x4f7502:0x308,_0x3cddce:0x394,_0xea07d9:0x3ad,_0x9434b0:0x300},_0x576280={_0x1c840a:0x141},_0x2d9201={_0x54a1b6:0x1a8},_0x299d74={_0x346ca8:0x1ef};function _0x36d8f9(_0x3b0127,_0x3659c3,_0x134cfa,_0x5c9260){return _0x25cfa5(_0x3b0127-_0x299d74._0x346ca8,_0x5c9260,_0x134cfa-0x478,_0x5c9260-0x2d);}function _0x1b92d5(_0x27e773,_0x551dae,_0x1ead33,_0x186643){return _0x25cfa5(_0x27e773-_0x2d9201._0x54a1b6,_0x27e773,_0x186643- -0x91,_0x186643-0xa2);}return defineTool({'name':_0x1b92d5(_0x4f62b6._0x1a3633,_0x4f62b6._0x1786e4,0x32,0x103),'description':_0x36d8f9(0x2f3,0x31b,_0x4f62b6._0x8af44d,_0x4f62b6._0x5595b0),'inputSchema':{'type':_0x36d8f9(0x62a,0x735,_0x4f62b6._0x4809a4,0x6d3),'properties':{'questions':{'type':_0x1b92d5(-0x23,_0x4f62b6._0x277f3b,0xea,0x3e),'items':{'type':_0x1b92d5(0xf5,-0x18,0x7e,_0x4f62b6._0x462339),'properties':{'question':{'type':'string'},'topic':{'type':_0x1b92d5(-0x4,-_0x4f62b6._0x2a12b4,-0xe4,_0x4f62b6._0x5057ab)},'options':{'type':_0x36d8f9(_0x4f62b6._0x1995af,0x53e,_0x4f62b6._0x3f6cf9,0x561),'items':{'type':_0x1b92d5(_0x4f62b6._0x2077c0,_0x4f62b6._0x3d57e4,0x14,0x12a),'properties':{'label':{'type':_0x1b92d5(-_0x4f62b6._0x1ec079,-0xad,-_0x4f62b6._0x236947,_0x4f62b6._0x5057ab)},'description':{'type':_0x1b92d5(0x151,_0x4f62b6._0x1c7cd5,-0x117,_0x4f62b6._0x309ef6)}},'required':[_0x1b92d5(-0xbd,_0x4f62b6._0x34b61e,_0x4f62b6._0x3b57a5,_0x4f62b6._0x178aac),_0x36d8f9(_0x4f62b6._0x466318,0x58b,0x46d,0x3a3)]}},'multiSelect':{'type':_0x1b92d5(-0x9e,-0x204,_0x4f62b6._0x4d9979,-0xac)}},'required':[_0x36d8f9(0x46c,_0x4f62b6._0x382c93,0x446,0x37c),_0x1b92d5(_0x4f62b6._0x1fdc14,_0x4f62b6._0x20913f,-_0x4f62b6._0x2c3d35,_0x4f62b6._0xa4530),'options',_0x36d8f9(_0x4f62b6._0xb7d7fb,0x4cd,_0x4f62b6._0x259e6c,0x4bd)]}},'answers':{'type':_0x36d8f9(0x593,_0x4f62b6._0x39f33a,0x633,_0x4f62b6._0x4bcb9c),'properties':{}}},'required':[_0x1b92d5(0x1b5,_0x4f62b6._0x268951,_0x4f62b6._0x5bba97,_0x4f62b6._0x924c5d)]},async *'execute'(_0xdd9340,_0x495d29){const _0x49517d={_0x6128fa:0xf1,_0x1e03ff:0x1c7,_0x52ea4e:0x3ac},_0x4455eb=_0xdd9340;validateInput(_0x4455eb);function _0x13b0cf(_0x17d0ce,_0x1e82ea,_0x17eaaf,_0x50fb20){return _0x36d8f9(_0x17d0ce-_0x576280._0x1c840a,_0x1e82ea-0xa4,_0x1e82ea- -0x2a2,_0x17eaaf);}const _0x3ae3f7=_0x495d29[_0x19e588(_0x69e546._0x4130cd,0x460,0x1a6,_0x69e546._0x113e40)]??createQuestionId();function _0x19e588(_0x542a7f,_0x1f2a10,_0x4bb9df,_0x4acc06){return _0x1b92d5(_0x542a7f,_0x1f2a10-_0x49517d._0x6128fa,_0x4bb9df-_0x49517d._0x1e03ff,_0x4acc06-_0x49517d._0x52ea4e);}if(_0x4455eb[_0x19e588(0x509,_0x69e546._0x949b35,0x447,_0x69e546._0x2a2771)]&&Object[_0x19e588(_0x69e546._0x262c41,0x4dd,_0x69e546._0x45b457,_0x69e546._0x1390ae)](_0x4455eb[_0x13b0cf(_0x69e546._0x3a665d,0x35b,0x243,0x260)])[_0x13b0cf(_0x69e546._0x30c9b6,0x3ad,0x4aa,_0x69e546._0x2328e0)]>0x0)return createResult(_0x3ae3f7,_0x4455eb[_0x19e588(0x601,0x479,_0x69e546._0x31f29a,0x521)][_0x19e588(0x4ea,_0x69e546._0x3520a1,_0x69e546._0x3bb2b1,0x4f2)],_0x4455eb[_0x19e588(0x331,0x3b3,_0x69e546._0x3bd888,_0x69e546._0x3520a1)]);if(!_0x495d29[_0x13b0cf(0x190,0x2ad,_0x69e546._0x1fb34d,_0x69e546._0x56212f)])throw new ToolExecutionError(_0x19e588(0x272,0x3bc,_0x69e546._0x67bcb8,_0x69e546._0xca060b));const _0x36459e=buildQuestions(_0x4455eb),_0x52a7f1=await _0x495d29[_0x19e588(0x2e9,0x4df,0x309,0x3f2)]({'questionId':_0x3ae3f7,'questions':_0x36459e});yield createResult(_0x3ae3f7,_0x4455eb[_0x13b0cf(_0x69e546._0x14212a,_0x69e546._0x5b8fcd,_0x69e546._0x4f7502,_0x69e546._0x3cddce)][_0x13b0cf(0x255,_0x69e546._0xea07d9,0x3ed,_0x69e546._0x9434b0)],_0x52a7f1);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x469661}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x2046ab){return _0x2046ab instanceof Error;}function resolveCarriageReturns(_0x456e99){const _0x3ef0f2={_0x3ad373:0xec,_0x2694e4:0xda,_0x4bac2f:0x7b},_0x56114f={_0x2f23d4:0x337,_0x163fb3:0x3ad,_0x323992:0x4ca,_0x316b0c:0x4c2,_0x516f14:0x3f2,_0x2ed944:0x30d,_0x8d4d3f:0x447},_0x29771a={_0x4eaf6:0x470},_0x15083d={_0xb9f14a:0xc6,_0x2b2a67:0x5b,_0x2a9cd1:0x11b},_0x2fdb60={_0x74565c:0x50f,_0x1f489e:0x18};function _0x5e8076(_0x57ea1e,_0x486ab4,_0x3865be,_0x1129da){return _0x5c47d8(_0x3865be- -_0x2fdb60._0x74565c,_0x486ab4-_0x2fdb60._0x1f489e,_0x3865be-0x49,_0x1129da);}function _0x48a629(_0x59ac3d,_0x4c7a69,_0x12cb58,_0x4baef8){return _0x25cfa5(_0x59ac3d-_0x15083d._0xb9f14a,_0x4c7a69,_0x59ac3d-_0x15083d._0x2b2a67,_0x4baef8-_0x15083d._0x2a9cd1);}return _0x456e99[_0x5e8076(-_0x3ef0f2._0x3ad373,-_0x3ef0f2._0x2694e4,-0x8e,0x92)]('\x0a')['map'](_0x1e9fff=>{function _0x399b57(_0x536d66,_0x5781a0,_0x581613,_0x5d0795){return _0x5e8076(_0x536d66-0x18e,_0x5781a0-0xeb,_0x5d0795-_0x29771a._0x4eaf6,_0x5781a0);}if(!_0x1e9fff[_0x42b227(0x511,0x2d9,_0x56114f._0x2f23d4,_0x56114f._0x163fb3)]('\x0d'))return _0x1e9fff;const _0x5ced13=_0x1e9fff[_0x42b227(_0x56114f._0x323992,_0x56114f._0x316b0c,0x5a0,0x5e3)]('\x0d');function _0x42b227(_0xc495d2,_0xc91b3e,_0x49b0ac,_0x28dbab){return _0x5e8076(_0xc495d2-0x13b,_0xc91b3e-0x8f,_0x28dbab-0x671,_0x49b0ac);}return _0x5ced13[_0x5ced13[_0x399b57(_0x56114f._0x516f14,_0x56114f._0x2ed944,0x594,_0x56114f._0x8d4d3f)]-0x1]??'';})[_0x48a629(0x4d,0x14d,0xa7,_0x3ef0f2._0x4bac2f)]('\x0a');}function resolveBackspaces(_0xd7845f){const _0x511a12={_0x2a3429:0x3e,_0x60ed08:0x5c,_0x3abfac:0xbd,_0x39f0d9:0x56,_0x541480:0x56,_0x264fc3:0x84,_0x48a714:0x160},_0x8ef274={_0x2e8135:0x1f,_0x4dbca4:0xf2},_0x196ef8={_0x247b1c:0x19b,_0xdfcb1a:0x11},_0x2f60db=[];function _0x583b3b(_0x43fc25,_0x169066,_0x42ea11,_0x25fa8f){return _0x25cfa5(_0x43fc25-0x1bf,_0x43fc25,_0x25fa8f- -_0x196ef8._0x247b1c,_0x25fa8f-_0x196ef8._0xdfcb1a);}for(const _0x2cbf40 of Array[_0x2b266d(0x3d,_0x511a12._0x2a3429,-0x38,_0x511a12._0x60ed08)](_0xd7845f)){_0x2cbf40==='\x08'?_0x2f60db[_0x2b266d(-0x104,-_0x511a12._0x3abfac,-0x182,_0x511a12._0x39f0d9)]():_0x2f60db['push'](_0x2cbf40);}function _0x2b266d(_0x48728f,_0x3deb69,_0x2f3904,_0x53481d){return _0x25cfa5(_0x48728f-_0x8ef274._0x2e8135,_0x3deb69,_0x48728f- -0x70,_0x53481d-_0x8ef274._0x4dbca4);}return _0x2f60db[_0x2b266d(-0x7e,_0x511a12._0x541480,_0x511a12._0x264fc3,-_0x511a12._0x48a714)]('');}function stripAnsiAndControls(_0x4afade){const _0x2368de={_0x67ce01:0x2b2,_0x490d6e:0x328,_0x304e80:0x1f1,_0x1e3002:0x182,_0xd7ce8a:0xd8,_0x355888:0x123,_0x48a00e:0x1c,_0x92350e:0x274,_0x25dbb8:0x9e,_0x4e3133:0x91,_0x13879f:0x162,_0x352043:0xcb,_0x189e56:0x326,_0x44f7e7:0x361,_0xcc5b17:0x2e6,_0x5003cd:0x3b1,_0xdf4f41:0x87,_0x27b38e:0x98},_0x508e57={_0x3c9197:0x40f,_0x1f2886:0x14e},_0x302167={_0x9f32b:0x1c8,_0x464d28:0x11b,_0x32906a:0xf9};_0x4afade=resolveCarriageReturns(_0x4afade),_0x4afade=resolveBackspaces(_0x4afade),_0x4afade=stripVTControlCharacters(_0x4afade);const _0x142352='\x1b',_0x1e8353='\x07';function _0x12bb5c(_0x24f6e7,_0x2d0e20,_0x1c20f8,_0x385f49){return _0x25cfa5(_0x24f6e7-_0x302167._0x9f32b,_0x1c20f8,_0x24f6e7-_0x302167._0x464d28,_0x385f49-_0x302167._0x32906a);}_0x4afade=_0x4afade[_0x12bb5c(0x2e6,_0x2368de._0x67ce01,0x337,_0x2368de._0x490d6e)](new RegExp(_0x12bb5c(_0x2368de._0x304e80,0x31a,0x338,0x2af)+_0x1e8353+_0x1005f0(-_0x2368de._0x1e3002,-0x192,-_0x2368de._0xd7ce8a,-_0x2368de._0x355888)+_0x1e8353,'g'),''),_0x4afade=_0x4afade[_0x1005f0(0xf5,0x96,-_0x2368de._0x48a00e,0xcb)](new RegExp(';[^\x5cn]*?'+_0x142352+'\x5c\x5c','g'),'');function _0x1005f0(_0x3f4ce9,_0x402dc1,_0x5084d9,_0x3bb822){return _0x5c47d8(_0x3bb822- -_0x508e57._0x3c9197,_0x402dc1-_0x508e57._0x1f2886,_0x5084d9-0x69,_0x5084d9);}return _0x4afade=_0x4afade[_0x12bb5c(0x2e6,0x37f,0x236,0x2d7)](new RegExp(_0x1e8353,'g'),''),_0x4afade=_0x4afade['replace'](new RegExp(_0x142352+_0x12bb5c(0x1e0,0x1d7,_0x2368de._0x92350e,_0x2368de._0x25dbb8)+_0x142352+'\x5c\x5c','g'),''),_0x4afade=_0x4afade[_0x1005f0(_0x2368de._0x4e3133,0x1f2,_0x2368de._0x13879f,_0x2368de._0x352043)](new RegExp(_0x142352+_0x12bb5c(_0x2368de._0x189e56,0x37a,_0x2368de._0x44f7e7,0x1f4),'g'),''),_0x4afade=_0x4afade[_0x12bb5c(_0x2368de._0xcc5b17,0x206,_0x2368de._0x5003cd,0x237)](/[\u0080-\u009F]/g,''),_0x4afade=_0x4afade['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x4afade=_0x4afade[_0x1005f0(-_0x2368de._0xdf4f41,-_0x2368de._0x27b38e,-0x28,_0x2368de._0x352043)](/[\u23CE\u2424]/g,''),_0x4afade;}function killProcessGroup(_0x134740,_0x36fcc3,_0x288776=_0x25cfa5(0x294,0x23f,0x18d,0x2b8)){const _0x246cac={_0x53df72:0x300,_0x1f1ede:0x1eb,_0x5a3a64:0x3f5,_0x21e812:0x310,_0x29ad0f:0x3ad,_0xad3209:0x6f,_0x460862:0x19b,_0x4a406b:0x76,_0x35f0d1:0x63,_0x1246c3:0x13,_0x1ee8bc:0x118},_0x1b7115={_0xbe3e9f:0x145},_0x20587c={_0x17d54e:0xfe};function _0x1c942c(_0x5f229e,_0x251642,_0x4d712d,_0x348327){return _0x25cfa5(_0x5f229e-0x51,_0x5f229e,_0x251642-_0x20587c._0x17d54e,_0x348327-0x1b8);}if(!_0x134740['pid'])return;if(_0x36fcc3)try{_0x469661('taskkill',[_0xb4edae(_0x246cac._0x53df72,0x23b,0x35e,0xf8),_0x134740[_0xb4edae(_0x246cac._0x1f1ede,0x1ee,0x94,0xdd)]['toString'](),'/T','/F'],{'stdio':_0x1c942c(_0x246cac._0x5a3a64,_0x246cac._0x21e812,_0x246cac._0x29ad0f,0x25a)});return;}catch{_0x134740[_0x1c942c(0x21,_0x246cac._0xad3209,_0x246cac._0x460862,-0x3a)](_0x288776);return;}function _0xb4edae(_0x19e34c,_0x47f10c,_0xbe36fb,_0x295a2c){return _0x5c47d8(_0x47f10c- -_0x1b7115._0xbe3e9f,_0x47f10c-0x13f,_0xbe36fb-0x177,_0x295a2c);}try{process[_0x1c942c(_0x246cac._0x4a406b,_0x246cac._0xad3209,_0x246cac._0x35f0d1,-_0x246cac._0x1246c3)](-_0x134740[_0xb4edae(0x91,0x1ee,0x238,_0x246cac._0x1ee8bc)],_0x288776);}catch{_0x134740['kill'](_0x288776);}}var BackgroundProcessRegistry=class{[_0x25cfa5(-0x18,-0xd1,-0x2e,-0x3a)]=new Map();['maxConcurrent'];[_0x25cfa5(-0xe7,0xbb,-0xa5,-0x175)];['capChars'];[_0x5c47d8(0x3b7,0x4cb,0x477,0x2e3)]=0x0;constructor(_0x3e24ea={}){const _0x434535={_0x22ec88:0x103,_0x2b4450:0x1f8,_0x3c5c42:0x15a,_0x1c91b4:0x2b2,_0x457d46:0x416,_0x53d8:0x2c9,_0x272252:0x27d},_0x2a4a5f={_0x5e6da9:0x8b},_0x559781={_0x29b92d:0xb2};function _0x18e6fc(_0x2a8026,_0x408c21,_0x3d7b12,_0x211c3c){return _0x5c47d8(_0x408c21- -_0x559781._0x29b92d,_0x408c21-0xd8,_0x3d7b12-0xd4,_0x3d7b12);}function _0x310ad2(_0x267aa7,_0x122542,_0x38b5b8,_0x10096b){return _0x25cfa5(_0x267aa7-0x44,_0x122542,_0x38b5b8- -0xb2,_0x10096b-_0x2a4a5f._0x5e6da9);}this[_0x310ad2(_0x434535._0x22ec88,0xdd,0x27,-0x121)]=_0x3e24ea['maxConcurrent']??0xa,this['maxEntries']=_0x3e24ea[_0x310ad2(-0x2b6,-0x1f9,-0x157,-_0x434535._0x2b4450)]??0x40,this[_0x18e6fc(_0x434535._0x3c5c42,0x2c9,_0x434535._0x1c91b4,_0x434535._0x457d46)]=_0x3e24ea[_0x18e6fc(0x221,_0x434535._0x53d8,_0x434535._0x272252,0x3e3)]??0x100000;}[_0x5c47d8(0x2f1,0x1f0,0x1a1,0x3a0)](_0x1aa11c){const _0x4bafdf={_0x2c5f16:0x467,_0x4dca51:0x316,_0x284e0d:0x2c9,_0x284107:0x1c3,_0x37f34d:0x2fc,_0x3ae63d:0x320,_0x41b4a5:0x41d,_0x3ee771:0x423,_0x298eae:0x563,_0x124d1b:0x615,_0x5581e3:0x64c,_0x4f4dd8:0x525,_0x301b4c:0x36b,_0x65b446:0x38c,_0x223bbe:0x3d1,_0x1ce1d9:0x2e3,_0x4e6ca5:0x40d,_0x2ed81c:0x297,_0x5b891c:0x145,_0x550691:0x1ff,_0x529be4:0x379,_0x1a8103:0x3ff,_0x8d433b:0x368,_0x5d86af:0x52b,_0x166252:0x4c2,_0x46138d:0x598,_0x2b4b99:0x413,_0x2f57b9:0x3f0,_0x328fbd:0x5c5,_0x1b9771:0x539,_0x589d75:0x2a0,_0x333780:0x2fb,_0x311599:0x4ca,_0x3c97b3:0x256,_0x346f2b:0x167,_0x4f0161:0x2da,_0x48d291:0x5ad,_0x1bc37f:0x536,_0x2830b2:0x16d,_0x3cc300:0x4c2,_0x305874:0x5bc,_0x4b71a6:0x53b,_0x12dd6c:0x535,_0x468286:0x549,_0x20bc9e:0x667,_0x6edaa7:0x419,_0x4bb5e8:0x3cf,_0x229480:0x55f},_0x7c0d33={_0xa03b64:0x67},_0x5d5de0={_0x58a85f:0x3d7,_0x15cec9:0xcf,_0x5c26c0:0x48,_0x3fc8fa:0x41f,_0x57fb56:0x43e,_0x82f0e0:0x707,_0x5adadc:0x641,_0x4bdee6:0x5e9},_0x522a20={_0x16d447:0x160,_0x20fa79:0x2a7,_0x4e67fb:0x130,_0x597ebf:0x2e2,_0xb54849:0x13f,_0x1472c8:0x289,_0x4736c0:0x3a1,_0x4ef125:0x4db,_0x2390fd:0x12f,_0x3a8c35:0x44,_0x19669d:0x220,_0x5a16ff:0x2c8,_0x38b0ce:0x1ab},_0x13a52f={_0x3df036:0xa6},_0x32e79f={_0x5d5487:0x150,_0xa29a59:0x1fb,_0x311009:0x87},_0x4c744d=[...this[_0x11484d(_0x4bafdf._0x2c5f16,_0x4bafdf._0x4dca51,0x44a,0x344)][_0x11484d(0x169,_0x4bafdf._0x284e0d,_0x4bafdf._0x284107,_0x4bafdf._0x37f34d)]()][_0x2f39e9(_0x4bafdf._0x3ae63d,0x244,0x1ea,0x437)](_0x3c213b=>_0x3c213b[_0x11484d(0x357,0x2b9,0x1dd,0x1ba)]===_0x11484d(0x3ea,0x486,0x5e8,0x59e))['length'];if(_0x4c744d>=this[_0x11484d(0x328,_0x4bafdf._0x41b4a5,0x309,_0x4bafdf._0x3ee771)])throw new ToolExecutionError(_0x11484d(0x674,_0x4bafdf._0x298eae,_0x4bafdf._0x124d1b,_0x4bafdf._0x5581e3)+this[_0x11484d(_0x4bafdf._0x4f4dd8,_0x4bafdf._0x41b4a5,_0x4bafdf._0x301b4c,_0x4bafdf._0x65b446)]+_0x11484d(_0x4bafdf._0x223bbe,0x39b,0x48f,_0x4bafdf._0x1ce1d9),{'running':this['maxConcurrent']});function _0x2f39e9(_0x5d4aae,_0x795bc9,_0x54bdd6,_0x3f40aa){return _0x25cfa5(_0x5d4aae-_0x32e79f._0x5d5487,_0x3f40aa,_0x5d4aae-_0x32e79f._0xa29a59,_0x3f40aa-_0x32e79f._0x311009);}const _0x4c947d='bg-'+ ++this['counter']+'-'+randomUUID()[_0x11484d(_0x4bafdf._0x4e6ca5,_0x4bafdf._0x2ed81c,0x2a2,0x3d8)](0x0,0x8),_0x2419ec={'shellId':_0x4c947d,'command':_0x1aa11c[_0x2f39e9(_0x4bafdf._0x5b891c,0x226,0x1e0,_0x4bafdf._0x550691)],'cwd':_0x1aa11c['cwd'],'pid':_0x1aa11c[_0x2f39e9(_0x4bafdf._0x529be4,0x3a7,0x2f1,_0x4bafdf._0x1a8103)][_0x11484d(0x47d,_0x4bafdf._0x8d433b,0x290,0x42a)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x11484d(0x61f,_0x4bafdf._0x5d86af,0x4dc,0x61d)](),'child':_0x1aa11c[_0x11484d(0x5ba,_0x4bafdf._0x166252,_0x4bafdf._0x46138d,_0x4bafdf._0x2b4b99)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x2f39e9(_0x4bafdf._0x2f57b9,0x2a9,0x405,0x282)),'stderrDecoder':new StringDecoder(_0x11484d(_0x4bafdf._0x328fbd,_0x4bafdf._0x1b9771,0x432,0x663)),'stripAnsi':_0x1aa11c['stripAnsi'],'killRequested':![],'processExited':![]};_0x1aa11c[_0x11484d(0x478,0x4c2,0x3fb,0x5c7)][_0x2f39e9(0x398,_0x4bafdf._0x589d75,_0x4bafdf._0x333780,_0x4bafdf._0x311599)]?.['on'](_0x2f39e9(_0x4bafdf._0x3c97b3,_0x4bafdf._0x346f2b,0x3b6,_0x4bafdf._0x4f0161),_0x3f6cbc=>this[_0x11484d(0x43c,0x3ee,0x307,0x3e8)](_0x2419ec,_0x2419ec[_0x11484d(0x254,0x2e1,0x19f,0x2cb)][_0x11484d(0x53b,0x495,0x51f,0x4a6)](_0x3f6cbc))),_0x1aa11c['child'][_0x11484d(_0x4bafdf._0x48d291,_0x4bafdf._0x1bc37f,0x693,0x6a7)]?.['on'](_0x2f39e9(0x256,_0x4bafdf._0x2830b2,0x336,0x3ba),_0x384465=>this['append'](_0x2419ec,_0x2419ec[_0x2f39e9(0x3a9,0x238,0x51a,0x32d)][_0x2f39e9(0x34c,0x3f2,0x3fa,0x4b3)](_0x384465))),_0x1aa11c[_0x11484d(0x3f3,_0x4bafdf._0x3cc300,_0x4bafdf._0x305874,_0x4bafdf._0x4b71a6)]['once']('exit',()=>{const _0x21a1f7={_0x5192b1:0x7d};function _0x4f6605(_0x1e4449,_0x103eca,_0xc57920,_0x360e90){return _0x11484d(_0xc57920,_0x103eca- -0x3d2,_0xc57920-0x35,_0x360e90-_0x21a1f7._0x5192b1);}_0x2419ec[_0x4f6605(0x94,0x117,0x153,_0x13a52f._0x3df036)]=!![];}),_0x1aa11c['child']['once'](_0x11484d(_0x4bafdf._0x12dd6c,_0x4bafdf._0x468286,_0x4bafdf._0x20bc9e,_0x4bafdf._0x6edaa7),(_0x575fd2,_0x11c8fe)=>{const _0x11c54e={_0x6ee403:0x128};this['append'](_0x2419ec,_0x2419ec[_0x37604b(_0x522a20._0x16d447,_0x522a20._0x20fa79,_0x522a20._0x4e67fb,0x241)][_0x37604b(_0x522a20._0x597ebf,_0x522a20._0xb54849,0x25b,0x2f7)]()),this[_0x37604b(0x220,_0x522a20._0x1472c8,0x23d,_0x522a20._0x4736c0)](_0x2419ec,_0x2419ec['stderrDecoder'][_0x1c3647(0x44b,0x391,0x3ed,_0x522a20._0x4ef125)]()),_0x2419ec[_0x37604b(0xb3,_0x522a20._0x2390fd,0x108,_0x522a20._0x3a8c35)]=_0x2419ec[_0x37604b(0xb6,_0x522a20._0x2390fd,_0x522a20._0x19669d,0x16c)]?'killed':_0x37604b(0x2cd,_0x522a20._0x5a16ff,0x2ab,_0x522a20._0x38b0ce),_0x2419ec['exitCode']=_0x575fd2,_0x2419ec['signal']=_0x11c8fe;function _0x37604b(_0x4910bc,_0x1f03fc,_0x1f3ee3,_0x24fb6f){return _0x2f39e9(_0x1f3ee3- -0x68,_0x1f03fc-0x13b,_0x1f3ee3-0x14f,_0x4910bc);}function _0x1c3647(_0x210308,_0x20a886,_0x24314a,_0x3b07e8){return _0x11484d(_0x24314a,_0x20a886- -0x7b,_0x24314a-0x2,_0x3b07e8-_0x11c54e._0x6ee403);}_0x2419ec['child']=null;}),_0x1aa11c[_0x11484d(0x37f,0x4c2,_0x4bafdf._0x4bb5e8,_0x4bafdf._0x229480)]['once']('error',_0x14f1ee=>{const _0x5ae25b={_0x4be83b:0x14d,_0x22e639:0x8c,_0x5a51ce:0x1c},_0x174900={_0x219769:0x127};function _0x1f261e(_0x245293,_0xe7e3f5,_0x1401c0,_0x1343d3){return _0x11484d(_0x1343d3,_0x1401c0-_0x174900._0x219769,_0x1401c0-0x27,_0x1343d3-0x18f);}_0x2419ec[_0x1f261e(0x2a9,_0x5d5de0._0x58a85f,0x3e0,0x39e)]=_0x511002(0x94,0x1a2,-_0x5d5de0._0x15cec9,_0x5d5de0._0x5c26c0);function _0x511002(_0x5171d4,_0x3545ed,_0x356ed8,_0x411675){return _0x2f39e9(_0x411675- -_0x5ae25b._0x4be83b,_0x3545ed-_0x5ae25b._0x22e639,_0x356ed8-_0x5ae25b._0x5a51ce,_0x356ed8);}_0x2419ec['error']=_0x14f1ee[_0x1f261e(0x5eb,_0x5d5de0._0x3fc8fa,0x4e4,_0x5d5de0._0x57fb56)],_0x2419ec[_0x1f261e(_0x5d5de0._0x82f0e0,_0x5d5de0._0x5adadc,_0x5d5de0._0x4bdee6,0x6b7)]=null;}),this[_0x2f39e9(0x1cd,0x2d2,0x28b,0x322)]['set'](_0x4c947d,_0x2419ec);function _0x11484d(_0x157f75,_0x9265a7,_0xf6c54f,_0x5c6451){return _0x5c47d8(_0x9265a7-0x35,_0x9265a7-_0x7c0d33._0xa03b64,_0xf6c54f-0x3a,_0x157f75);}return this[_0x11484d(0x570,0x414,0x543,_0x4bafdf._0x4dca51)](),_0x2419ec;}[_0x25cfa5(0x158,0x1fd,0x101,0xe2)](_0x4370b6,_0x507f9f){const _0x76cc98={_0x386cd1:0x269,_0x38f735:0x42,_0x5da8d3:0x6c,_0x36159a:0xf6,_0x8e64a2:0x1a3,_0x390964:0xa3,_0x42b245:0x78,_0x8738c4:0xdb,_0x4cf46c:0x1f7,_0x5043ef:0x11f,_0x15405f:0x6a,_0x155e7d:0x10a,_0x3c2e35:0xb2,_0x4dd187:0xd6,_0x490f42:0x1b5,_0x5bd7ff:0x1fd,_0x45eabe:0x32b,_0xf7d0c3:0x102,_0x4b8ed7:0xfa,_0x30fa16:0x252,_0x5240db:0xa0,_0x1bbdc4:0x85,_0x4fda84:0x262,_0x31b009:0x222,_0x1f2b01:0x15b,_0x6b567c:0x17d,_0x214a0d:0x1da,_0x12b391:0x10a,_0x58a3ee:0x91,_0x398994:0x20f,_0x1e9557:0x1db,_0xe0e2f8:0x237,_0x216144:0x193,_0x15c98e:0xf3,_0x263a6a:0xbe,_0x1c9227:0x21d,_0x3867c6:0x17a,_0x283ea8:0xbc,_0x29f807:0x225,_0x1cb857:0x2b2,_0x404317:0x2c1,_0x3d5814:0x2a8,_0x4613a2:0x2d2,_0x2eb071:0x1ef,_0x1cc9dd:0x71,_0x2c2a09:0xe8,_0xf2c121:0x63},_0x52d096={_0x4416cc:0x106,_0x26a6c1:0x104};function _0x309948(_0x5d80c4,_0x243583,_0x2c445b,_0x595895){return _0x25cfa5(_0x5d80c4-_0x52d096._0x4416cc,_0x243583,_0x2c445b-_0x52d096._0x26a6c1,_0x595895-0x114);}const _0x1a1a3e=this['entries']['get'](_0x4370b6);if(!_0x1a1a3e)throw new ToolExecutionError(_0x309948(0x1ee,0xfe,0x1cb,_0x76cc98._0x386cd1)+_0x4370b6,{'shellId':_0x4370b6});const _0xa8b495=_0x1a1a3e[_0x309948(_0x76cc98._0x38f735,0x82,_0x76cc98._0x5da8d3,0xb0)][_0x309948(0x46,0x23b,_0x76cc98._0x36159a,_0x76cc98._0x8e64a2)](''),_0x454326=Math[_0x309948(-0xdf,-0x35,0x7d,-0xac)](_0x1a1a3e['readCursor'],_0x1a1a3e['totalDropped']),_0x1eacd5=Math[_0x33dc2a(-0xe1,-0x62,-0xe4,-0x226)](0x0,_0x1a1a3e[_0x33dc2a(_0x76cc98._0x390964,0xc2,_0x76cc98._0x42b245,-0xf5)]-_0x1a1a3e[_0x309948(-0xe,_0x76cc98._0x8738c4,0xbe,_0x76cc98._0x4cf46c)]),_0x190d5e=_0xa8b495[_0x33dc2a(-_0x76cc98._0x5043ef,-_0x76cc98._0x15405f,-_0x76cc98._0x155e7d,-_0x76cc98._0x3c2e35)](_0x454326-_0x1a1a3e[_0x33dc2a(-0x8d,0x172,0x78,-0x6b)]),_0x369690=_0x1a1a3e[_0x33dc2a(-_0x76cc98._0x4dd187,-_0x76cc98._0x490f42,-0xe8,-_0x76cc98._0x5bd7ff)]!==_0x309948(0x1fb,0xf0,0x246,_0x76cc98._0x45eabe);let _0x1ef1c5;const _0x299f17=_0x507f9f?.[_0x33dc2a(0x108,_0x76cc98._0xf7d0c3,0xc,_0x76cc98._0x4b8ed7)];if(!_0x299f17)_0x1ef1c5=_0x190d5e,_0x1a1a3e['readCursor']=_0x1a1a3e[_0x309948(0x26e,_0x76cc98._0x5043ef,_0x76cc98._0x30fa16,0x21d)];else{let _0x3ef263;try{_0x3ef263=new RegExp(_0x299f17);}catch(_0x1b6335){throw new ToolExecutionError(_0x33dc2a(_0x76cc98._0x5240db,_0x76cc98._0x1bbdc4,0x146,_0x76cc98._0x4fda84)+_0x1b6335[_0x309948(_0x76cc98._0x31b009,_0x76cc98._0x1f2b01,0x17d,_0x76cc98._0x6b567c)],{'shellId':_0x4370b6,'regex':_0x299f17});}let _0x3c1b1a=_0x190d5e;if(!_0x369690){const _0x539383=_0x190d5e['lastIndexOf']('\x0a');_0x3c1b1a=_0x539383>=0x0?_0x190d5e[_0x33dc2a(-_0x76cc98._0x214a0d,-0xc5,-_0x76cc98._0x12b391,-_0x76cc98._0x58a3ee)](0x0,_0x539383+0x1):'';}_0x1ef1c5=_0x3c1b1a['split']('\x0a')[_0x33dc2a(0x176,_0x76cc98._0x398994,0xc8,_0x76cc98._0x1e9557)](_0x38b84d=>_0x3ef263[_0x309948(0x15c,0x43,0xa3,0x16f)](_0x38b84d))[_0x309948(0x1c6,_0x76cc98._0xe0e2f8,0xf6,0x6f)]('\x0a'),_0x1a1a3e[_0x309948(_0x76cc98._0x216144,_0x76cc98._0x15c98e,_0x76cc98._0x263a6a,_0x76cc98._0x1c9227)]=_0x454326+_0x3c1b1a[_0x33dc2a(0x3e,0x172,_0x76cc98._0x3867c6,_0x76cc98._0x283ea8)];}function _0x33dc2a(_0x36689f,_0x4d73fc,_0x4725be,_0x127eac){return _0x25cfa5(_0x36689f-0x1ab,_0x127eac,_0x4725be- -0x5d,_0x127eac-0xe9);}const _0x2e474a=(_0x1eacd5>0x0?_0x309948(_0x76cc98._0x29f807,_0x76cc98._0x1cb857,_0x76cc98._0x404317,_0x76cc98._0x3d5814)+_0x1eacd5+_0x309948(_0x76cc98._0x4613a2,0x122,_0x76cc98._0x2eb071,0x125):'')+_0x1ef1c5;return{'output':_0x2e474a,'status':_0x1a1a3e[_0x33dc2a(-0x2,-_0x76cc98._0x1cc9dd,-_0x76cc98._0x2c2a09,-_0x76cc98._0xf2c121)],'exitCode':_0x1a1a3e['exitCode'],'signal':_0x1a1a3e['signal'],'truncated':_0x1eacd5>0x0};}['list'](){const _0x1d9f78={_0x15372b:0x2fa,_0x29543c:0x25e,_0x165d0b:0x21d,_0x3ba9a5:0x239,_0x4f6711:0x42,_0x13d249:0x174,_0x45a224:0x132},_0x3ceb9f={_0xed34fe:0x19e,_0x319e18:0xd2},_0x37e910={_0x1fcfdc:0x14,_0x2d5335:0x20b,_0x33e19f:0x8b};function _0x397674(_0x5be06d,_0x2c4634,_0xad7386,_0x5d1b5c){return _0x25cfa5(_0x5be06d-_0x37e910._0x1fcfdc,_0x2c4634,_0x5d1b5c- -_0x37e910._0x2d5335,_0x5d1b5c-_0x37e910._0x33e19f);}function _0x378b1c(_0x247180,_0x48459a,_0x57c95b,_0x1f45a6){return _0x5c47d8(_0x48459a- -0x120,_0x48459a-_0x3ceb9f._0xed34fe,_0x57c95b-_0x3ceb9f._0x319e18,_0x247180);}return[...this[_0x397674(-_0x1d9f78._0x15372b,-_0x1d9f78._0x29543c,-_0x1d9f78._0x165d0b,-_0x1d9f78._0x3ba9a5)][_0x378b1c(_0x1d9f78._0x4f6711,_0x1d9f78._0x13d249,0x15f,_0x1d9f78._0x45a224)]()];}[_0x25cfa5(-0x1ae,-0x9d,-0x8f,-0xba)](_0x264710){const _0x154d3a={_0xb1baef:0x156,_0x1b228c:0x20e,_0x51febc:0x95,_0x546763:0x95,_0x309b4d:0xfc,_0xbfd7ba:0x70,_0x28e288:0x11d,_0x23f524:0x17a,_0x133737:0x1d6,_0x51b9c1:0x206,_0x7101d6:0x43,_0x5513b2:0x1ec,_0x4ef3a8:0x11b,_0x32a5d9:0x26f,_0x538aba:0x30c,_0x4ff660:0x35,_0x568798:0x19a,_0x31aa52:0x127,_0x4cfad8:0xc3,_0x552d38:0x375,_0x38d077:0x292,_0x557873:0x1b4,_0x11a1cb:0x2d9},_0x385de1={_0x350727:0x1d1,_0x15e58c:0xef,_0x2e749e:0x151},_0x29e958={_0x138299:0x4f3,_0x53d527:0x17a,_0x47cb6e:0x39},_0x13c449=this[_0x4a7507(-0x23e,-0x212,-_0x154d3a._0xb1baef,-_0x154d3a._0x1b228c)][_0x5c5d5a(0x2d,-_0x154d3a._0x51febc,_0x154d3a._0x546763,-_0x154d3a._0x309b4d)](_0x264710);if(!_0x13c449)throw new ToolExecutionError(_0x4a7507(-_0x154d3a._0xbfd7ba,-_0x154d3a._0x28e288,-0x10b,0x51)+_0x264710,{'shellId':_0x264710});function _0x4a7507(_0x124f7d,_0x584863,_0x249fa3,_0x2a79a7){return _0x5c47d8(_0x584863- -_0x29e958._0x138299,_0x584863-_0x29e958._0x53d527,_0x249fa3-_0x29e958._0x47cb6e,_0x249fa3);}if(_0x13c449[_0x5c5d5a(-0x25c,-_0x154d3a._0x23f524,-_0x154d3a._0x133737,-0x1b9)]===_0x4a7507(-_0x154d3a._0x51b9c1,-0xa2,-_0x154d3a._0x7101d6,-_0x154d3a._0x5513b2)&&_0x13c449['child']&&!_0x13c449['processExited']){_0x13c449['killRequested']=!![];try{killProcessGroup(_0x13c449[_0x4a7507(-0x90,-0x66,-_0x154d3a._0x4ef3a8,-0x39)],process['platform']==='win32');}catch{}}function _0x5c5d5a(_0x56c733,_0x1298f2,_0x2938e5,_0x568cee){return _0x25cfa5(_0x56c733-_0x385de1._0x350727,_0x568cee,_0x1298f2- -_0x385de1._0x15e58c,_0x568cee-_0x385de1._0x2e749e);}return{'status':_0x13c449[_0x4a7507(-0x1db,-_0x154d3a._0x32a5d9,-0x18f,-_0x154d3a._0x538aba)],'exitCode':_0x13c449[_0x4a7507(-_0x154d3a._0x4ff660,-_0x154d3a._0x568798,-_0x154d3a._0x31aa52,-_0x154d3a._0x4cfad8)],'signal':_0x13c449[_0x4a7507(-_0x154d3a._0x552d38,-_0x154d3a._0x38d077,-_0x154d3a._0x557873,-_0x154d3a._0x11a1cb)]};}async[_0x25cfa5(-0xf9,-0x97,0x49,-0x93)](){const _0x26fe45={_0x19c9e1:0x7b,_0x12a469:0x5d,_0x296aab:0xd2,_0xdd2a0d:0x12a,_0x52346f:0x17e,_0xf79d48:0x226,_0x358484:0x11e,_0x389ad6:0x11c,_0x57446e:0xf0,_0x39d32a:0xdb,_0x565b6c:0xb3,_0x3bf49f:0x107,_0x47b9fb:0x53,_0x47dc7d:0x48,_0xe89030:0x111},_0x2a2fd0={_0x4dc856:0x108},_0x26f6b4={_0xe58e3b:0x34,_0x800261:0xa4};function _0x2f3c1c(_0x373391,_0x25d83e,_0x49f63f,_0x3e7535){return _0x25cfa5(_0x373391-_0x26f6b4._0xe58e3b,_0x373391,_0x3e7535- -_0x26f6b4._0x800261,_0x3e7535-0x57);}function _0x629214(_0x8dfcd9,_0x490123,_0x3a6785,_0x42c2d4){return _0x25cfa5(_0x8dfcd9-_0x2a2fd0._0x4dc856,_0x490123,_0x8dfcd9- -0x1a9,_0x42c2d4-0x1aa);}for(const _0x11df12 of this[_0x2f3c1c(-_0x26fe45._0x19c9e1,-0xc7,_0x26fe45._0x12a469,-_0x26fe45._0x296aab)][_0x629214(-0x224,-_0x26fe45._0xdd2a0d,-0xbf,-0x32a)]()){if(_0x11df12[_0x2f3c1c(-0x37,-_0x26fe45._0x52346f,-0x27a,-0x12f)]===_0x629214(-0x67,-0x19,-0xb6,-0x8c)&&_0x11df12['child']&&!_0x11df12[_0x2f3c1c(_0x26fe45._0xf79d48,_0x26fe45._0x358484,0x18b,0x101)]){_0x11df12[_0x629214(-_0x26fe45._0x389ad6,-_0x26fe45._0x57446e,-0x48,-_0x26fe45._0x39d32a)]=!![];try{killProcessGroup(_0x11df12[_0x629214(-0x2b,-_0x26fe45._0x565b6c,-_0x26fe45._0x3bf49f,-0x142)],process['platform']===_0x629214(-_0x26fe45._0x47b9fb,-_0x26fe45._0x47dc7d,-0x17,_0x26fe45._0xe89030));}catch{}}}}['append'](_0x457a89,_0x46c34c){const _0x25e260={_0x42479b:0x722,_0x271863:0x563,_0x1c1c0d:0x4a5,_0x175038:0x51b,_0x1482b0:0x12c,_0x22c3e6:0x24d,_0x3b8123:0x1eb,_0x1354b5:0x3a2,_0x30f2de:0x309,_0x1ddfec:0x244,_0x5b65d2:0x53e,_0xc7e2a3:0x56b,_0xb6c54:0x59c,_0x38f961:0x4b0,_0x26cf39:0x24d,_0x4a35ca:0x217,_0x1cfe79:0x27a,_0x23915a:0x1bc,_0xe431e9:0x4a7,_0xce640b:0x51a,_0xcf678d:0x3c6,_0x430df0:0x224,_0x2b6a3e:0x1be,_0x5e2428:0x1ac,_0x50b632:0xb8,_0x4c182d:0x36c,_0x4cb3f1:0x366,_0x4c1413:0x241,_0x3d6001:0x1cc,_0xf7c1d:0x24d,_0x26e621:0x1de,_0x5372df:0x467},_0x3a7448={_0x23acd5:0x1ec,_0x16132a:0x150,_0x405298:0x13f},_0x182084={_0x3c7474:0x41d},_0x158b6e=_0x457a89[_0x39a0ce(0x625,0x5f7,0x75d,_0x25e260._0x42479b)]?stripAnsiAndControls(_0x46c34c):_0x46c34c;function _0x39a0ce(_0x3d656d,_0x10846c,_0x4277cf,_0x14dc10){return _0x25cfa5(_0x3d656d-0x12c,_0x4277cf,_0x10846c-_0x182084._0x3c7474,_0x14dc10-0x1d2);}function _0x492fa0(_0x578b93,_0x4be7b1,_0x35b3d8,_0x59651f){return _0x25cfa5(_0x578b93-_0x3a7448._0x23acd5,_0x578b93,_0x35b3d8-_0x3a7448._0x16132a,_0x59651f-_0x3a7448._0x405298);}if(_0x158b6e[_0x39a0ce(0x6e8,0x5f4,_0x25e260._0x271863,0x6b1)]===0x0)return;_0x457a89['buffer'][_0x39a0ce(_0x25e260._0x1c1c0d,0x3fb,_0x25e260._0x175038,0x3b5)](_0x158b6e),_0x457a89[_0x492fa0(0x34a,_0x25e260._0x1482b0,_0x25e260._0x22c3e6,_0x25e260._0x3b8123)]+=_0x158b6e[_0x492fa0(_0x25e260._0x1354b5,_0x25e260._0x30f2de,0x327,_0x25e260._0x1ddfec)],_0x457a89[_0x39a0ce(_0x25e260._0x5b65d2,_0x25e260._0xc7e2a3,_0x25e260._0xb6c54,_0x25e260._0x38f961)]+=_0x158b6e['length'];while(_0x457a89[_0x492fa0(0x1d3,0x340,_0x25e260._0x26cf39,0x168)]>this[_0x492fa0(_0x25e260._0x4a35ca,_0x25e260._0x1cfe79,_0x25e260._0x23915a,0x7b)]){const _0x15ea2c=_0x457a89[_0x39a0ce(_0x25e260._0xe431e9,_0x25e260._0xce640b,0x588,_0x25e260._0xcf678d)]-this[_0x492fa0(_0x25e260._0x430df0,0x25d,0x1bc,_0x25e260._0x2b6a3e)],_0x3fadb9=_0x457a89['buffer'][0x0];_0x3fadb9['length']<=_0x15ea2c?(_0x457a89[_0x492fa0(_0x25e260._0x5e2428,0xdf,_0x25e260._0x50b632,0x15a)][_0x492fa0(_0x25e260._0x4c182d,_0x25e260._0x4cb3f1,0x313,0x22d)](),_0x457a89[_0x492fa0(_0x25e260._0x4c1413,_0x25e260._0x3d6001,_0x25e260._0xf7c1d,0x18e)]-=_0x3fadb9['length'],_0x457a89['totalDropped']+=_0x3fadb9[_0x492fa0(0x392,0x2bf,0x327,_0x25e260._0x26e621)]):(_0x457a89['buffer'][0x0]=_0x3fadb9[_0x39a0ce(0x31d,0x370,0x4b2,0x3ad)](_0x15ea2c),_0x457a89['bufferChars']-=_0x15ea2c,_0x457a89[_0x39a0ce(0x610,0x4f2,0x43a,_0x25e260._0x5372df)]+=_0x15ea2c);}}[_0x25cfa5(0x9a,0xe1,0xd0,-0x77)](){const _0x9206b9={_0x5447ab:0x20,_0x428a15:0xa1,_0x5cdbf0:0x97,_0x300189:0x1fd,_0xd631bd:0xbb,_0x468882:0x2c,_0x2e2e6b:0x3a,_0x437a34:0xfd,_0x358d85:0x61,_0x591738:0x251,_0x364436:0x109,_0x3b2b34:0x19a,_0x46b6e9:0x22c},_0x36119f={_0x5d133f:0x2d8,_0x3ce14e:0x55},_0x3ee01e={_0x597029:0x12e,_0x3ca484:0xc5};if(this['entries']['size']<=this[_0x1e8517(0x9b,_0x9206b9._0x5447ab,0x18f,0x10d)])return;function _0x1e8517(_0x4e3bf6,_0x51b926,_0x1e5601,_0x135ae5){return _0x25cfa5(_0x4e3bf6-_0x3ee01e._0x597029,_0x4e3bf6,_0x51b926-_0x3ee01e._0x3ca484,_0x135ae5-0x50);}function _0x298ddc(_0x2dd100,_0x85ddba,_0x44d496,_0x298046){return _0x5c47d8(_0x2dd100- -_0x36119f._0x5d133f,_0x85ddba-0x81,_0x44d496-_0x36119f._0x3ce14e,_0x44d496);}for(const [_0x4beb66,_0x8fed15]of this[_0x1e8517(_0x9206b9._0x428a15,_0x9206b9._0x5cdbf0,_0x9206b9._0x300189,-_0x9206b9._0xd631bd)]){if(_0x8fed15[_0x1e8517(_0x9206b9._0x468882,_0x9206b9._0x2e2e6b,-_0x9206b9._0x437a34,-_0x9206b9._0x358d85)]!==_0x1e8517(0x1dc,0x207,_0x9206b9._0x591738,_0x9206b9._0x364436)){this[_0x1e8517(_0x9206b9._0x3b2b34,0x97,0x1fb,0x53)][_0x1e8517(0x260,0x1d0,_0x9206b9._0x46b6e9,0xff)](_0x4beb66);return;}}}};function createBashOutputTool(_0x42989b){const _0x103ccb={_0x23c6a3:0x494,_0x32cbb8:0x704,_0x400a6e:0x733,_0x4f0576:0x673},_0x2afc6c={_0x6bb6ad:0x4c8,_0x423d94:0x5f6,_0x3b4545:0x4f1,_0x4f8d11:0x52e,_0x51ce87:0x622,_0x375e1e:0x641,_0x1a8de1:0x5d4,_0x26b11a:0x245,_0x343b26:0x350,_0x3f1e60:0x240,_0x1bbd5e:0x2b0,_0x40f496:0x39f,_0x28a6f2:0x469,_0x3fdaa3:0x447},_0x3d6796={_0x310213:0x187},_0x5be66f={_0x716e3:0x121,_0x1c9e1f:0xe4},_0x21921f={_0x5b9886:0x28,_0xc58ebb:0x91},_0x4e3e3a={_0xbf6c3:0x4b8},{registry:_0x168dad}=_0x42989b;function _0x17201e(_0x93023a,_0x3f9419,_0xdaf69,_0x356445){return _0x25cfa5(_0x93023a-0xc8,_0x3f9419,_0x356445-_0x4e3e3a._0xbf6c3,_0x356445-0x113);}function _0x111600(_0x246926,_0x82d9d8,_0xca2d60,_0xfda8f5){return _0x5c47d8(_0x82d9d8-_0x21921f._0x5b9886,_0x82d9d8-0x1be,_0xca2d60-_0x21921f._0xc58ebb,_0xca2d60);}return defineTool({'name':_0x111600(0x327,0x275,0x28c,0x18d),'description':_0x111600(0x2d7,0x32d,0x482,_0x103ccb._0x23c6a3),'inputSchema':{'type':_0x17201e(_0x103ccb._0x32cbb8,0x5a2,_0x103ccb._0x400a6e,_0x103ccb._0x4f0576),'properties':{'shellId':{'type':_0x111600(0x52d,0x3d6,0x27d,0x2e4)},'regex':{'type':'string'}},'required':['shellId']},async *'execute'(_0x21193e){function _0xf9a30b(_0x4343cb,_0x2d5a88,_0x2bcc5b,_0x114ee4){return _0x17201e(_0x4343cb-_0x5be66f._0x716e3,_0x114ee4,_0x2bcc5b-_0x5be66f._0x1c9e1f,_0x4343cb- -0x6);}function _0x3b93a0(_0x4f91cc,_0x19d34d,_0x5634f2,_0x3f67c2){return _0x111600(_0x4f91cc-_0x3d6796._0x310213,_0x3f67c2- -0x49,_0x4f91cc,_0x3f67c2-0x3e);}const _0x17217d=_0x168dad[_0xf9a30b(0x5b3,_0x2afc6c._0x6bb6ad,0x569,0x6a6)](_0x21193e[_0xf9a30b(_0x2afc6c._0x423d94,_0x2afc6c._0x3b4545,_0x2afc6c._0x4f8d11,_0x2afc6c._0x51ce87)],_0x21193e[_0xf9a30b(0x51b,_0x2afc6c._0x375e1e,0x3d7,_0x2afc6c._0x1a8de1)]?{'regex':_0x21193e['regex']}:void 0x0);return createToolOutput(_0x17217d[_0x3b93a0(_0x2afc6c._0x26b11a,_0x2afc6c._0x343b26,0xd6,0x232)],{'shellId':_0x21193e['shellId'],'status':_0x17217d['status'],'exitCode':_0x17217d['exitCode'],'signal':_0x17217d[_0x3b93a0(_0x2afc6c._0x3f1e60,_0x2afc6c._0x1bbd5e,_0x2afc6c._0x40f496,0x240)],'truncated':_0x17217d[_0x3b93a0(_0x2afc6c._0x28a6f2,0x37d,0x405,_0x2afc6c._0x3fdaa3)]});}});}import{spawn as _0x4b7ea6}from'child_process';import{statSync}from'fs';import*as _0x3e99f2 from'os';import*as _0x36b6c from'path';import{StringDecoder as _0x3bbd8b}from'string_decoder';import{stat}from'fs/promises';import*as _0x2d1371 from'path';function isPathInside(_0x1e9bff,_0xbc95f0){const _0x484e10={_0x46a5b3:0x396,_0x5e0162:0x438,_0x314e9b:0x2f0,_0x32c217:0x35c,_0x16a86c:0x450,_0x50956d:0x515,_0x125aea:0x63a,_0xca074d:0x3ed},_0xb5c9df={_0x4ed4c9:0x42,_0x838208:0x1b0},_0x2aaa24={_0x27de06:0x2c,_0x2094cf:0x189},_0x2d2f19=_0x2d1371[_0xd6e9b4(_0x484e10._0x46a5b3,0x31c,_0x484e10._0x5e0162,_0x484e10._0x314e9b)](_0x1e9bff),_0x16cbc6=_0x2d1371[_0xd6e9b4(_0x484e10._0x32c217,_0x484e10._0x16a86c,_0x484e10._0x50956d,0x43a)](_0x2d2f19,_0xbc95f0);function _0x4c7d23(_0x5cd648,_0x174fbd,_0x150c15,_0x1601f2){return _0x5c47d8(_0x5cd648-0x1ef,_0x174fbd-_0x2aaa24._0x27de06,_0x150c15-_0x2aaa24._0x2094cf,_0x174fbd);}function _0xd6e9b4(_0x11898b,_0x30dd2f,_0x3bde78,_0x1f1ce4){return _0x25cfa5(_0x11898b-_0xb5c9df._0x4ed4c9,_0x3bde78,_0x1f1ce4-0x2d5,_0x1f1ce4-_0xb5c9df._0x838208);}return _0x16cbc6===''||!_0x16cbc6[_0x4c7d23(0x5a4,0x60b,_0x484e10._0x125aea,0x6c8)]('..')&&!_0x2d1371[_0x4c7d23(0x512,_0x484e10._0xca074d,0x55e,0x64d)](_0x16cbc6);}function resolveWorkspacePath(_0xa48cce,_0x45c17a){return resolveAllowedPath(_0xa48cce,[],_0x45c17a);}function resolveAllowedPath(_0x424801,_0x516caf,_0x341b64){const _0x4203d4={_0xff3aba:0x1e2,_0x1caf48:0xa2,_0x50ca15:0x71,_0x208342:0x18f,_0x42da47:0xbd,_0x3e8471:0x1ea,_0x38b54b:0x3,_0x5ae13b:0xe9,_0x4b4bde:0x248,_0x2f34fb:0xad},_0x13327a={_0x4978dc:0x49c,_0x313679:0x11c,_0xe10800:0x5f},_0x282d56={_0x311b16:0x18d};function _0x309bb9(_0x350e64,_0x178d57,_0x249fc0,_0x13a92c){return _0x5c47d8(_0x13a92c- -0x4b9,_0x178d57-0x1,_0x249fc0-_0x282d56._0x311b16,_0x249fc0);}const _0x4e5ec5=_0x2d1371[_0x24b06f(-_0x4203d4._0xff3aba,-0x55,-0x172,-_0x4203d4._0x1caf48)](_0x424801),_0x287d91=_0x2d1371[_0x309bb9(-0x267,-_0x4203d4._0x50ca15,-0xb5,-_0x4203d4._0x208342)](_0x4e5ec5,_0x341b64),_0x5e4979=[_0x4e5ec5,..._0x516caf[_0x24b06f(-_0x4203d4._0x42da47,-_0x4203d4._0x3e8471,-0xef,-0x1d8)](_0x2d9591=>_0x2d1371[_0x309bb9(-0x3b,-0x2ec,-0x1f6,-0x18f)](_0x2d9591))];if(_0x5e4979[_0x309bb9(-_0x4203d4._0x38b54b,-_0x4203d4._0x5ae13b,-_0x4203d4._0x4b4bde,-0x120)](_0x50f221=>isPathInside(_0x50f221,_0x287d91)))return _0x287d91;function _0x24b06f(_0x8fca68,_0x352612,_0x32a114,_0x32193a){return _0x5c47d8(_0x32a114- -_0x13327a._0x4978dc,_0x352612-_0x13327a._0x313679,_0x32a114-_0x13327a._0xe10800,_0x8fca68);}throw new ToolExecutionError(_0x309bb9(-0x81,0xd7,-_0x4203d4._0x2f34fb,0x5a)+_0x341b64,{'path':_0x341b64,'rootDir':_0x4e5ec5,'allowedDirs':_0x5e4979});}async function assertWorkspaceFile(_0x3fa8ce){const _0x7e2f22={_0x2caef4:0x7a,_0xe74d1a:0x84,_0x460bf3:0x74,_0x22bdf2:0x1d3},_0x50e252={_0x2c0900:0x1cb};function _0x20864f(_0xe0199a,_0x5b577f,_0x6bcda1,_0x4dd5d5){return _0x25cfa5(_0xe0199a-0x100,_0xe0199a,_0x4dd5d5-0xa7,_0x4dd5d5-0x3a);}const _0x45fd83=await stat(_0x3fa8ce);function _0x161c0b(_0x81c849,_0x44b195,_0x5f162b,_0x416250){return _0x25cfa5(_0x81c849-0x1ba,_0x44b195,_0x5f162b- -0x8c,_0x416250-_0x50e252._0x2c0900);}if(!_0x45fd83[_0x20864f(-_0x7e2f22._0x2caef4,_0x7e2f22._0xe74d1a,-0x90,_0x7e2f22._0x460bf3)]())throw new ToolExecutionError(_0x161c0b(_0x7e2f22._0x22bdf2,0x57,0x11b,0x1fc)+_0x3fa8ce,{'path':_0x3fa8ce});}function isProbablyBinary(_0x2952d6){const _0x3b1b92={_0x2fb846:0x13d},_0x4792ca={_0x2540d2:0x150};function _0x35d0b4(_0x141f43,_0x221843,_0x317de4,_0x32f54f){return _0x5c47d8(_0x32f54f- -_0x4792ca._0x2540d2,_0x221843-0x179,_0x317de4-0x29,_0x221843);}return _0x2952d6[_0x35d0b4(0x87,_0x3b1b92._0x2fb846,0x1a0,0xfb)](0x0);}var DEFAULT_DESCRIPTION=_0x25cfa5(0x8d,0x30,0x44,-0x10),DEFAULT_TIMEOUT_MS=0x7530;function buildChildEnv(_0x5ab1ba,_0x32b0f8){const _0x53ea56={_0xd81b9c:0x33a,_0x1caa4d:0x493,_0x5a7bf3:0x3b6,_0x1edb43:0x680,_0x1b03ce:0x30b,_0x4f3085:0x397,_0x53f932:0x4c3,_0x4d3374:0x457,_0x51ce96:0x518,_0x82908e:0x561},_0x2b81f1={_0x523d48:0x40},_0x3f84b6={_0x161613:0x450};function _0x38f9ac(_0x4f3e0d,_0x5a2f23,_0xf50088,_0x127249){return _0x25cfa5(_0x4f3e0d-0x1d0,_0x4f3e0d,_0xf50088-_0x3f84b6._0x161613,_0x127249-0x5b);}const _0x5c1894={...process[_0x38f9ac(0x431,_0x53ea56._0xd81b9c,_0x53ea56._0x1caa4d,_0x53ea56._0x5a7bf3)],..._0x5ab1ba??{}};if(_0x32b0f8['length']===0x0)return _0x5c1894;function _0x130101(_0x30805e,_0x1acf41,_0x50f89f,_0x49232a){return _0x5c47d8(_0x49232a- -0x16,_0x1acf41-_0x2b81f1._0x523d48,_0x50f89f-0xe4,_0x1acf41);}if(_0x3e99f2['platform']()===_0x38f9ac(_0x53ea56._0x1edb43,0x5d0,0x5a6,0x5c1)){const _0x157e33=new Set(_0x32b0f8[_0x130101(0x2e9,_0x53ea56._0x1b03ce,0x21e,_0x53ea56._0x4f3085)](_0x6c0264=>_0x6c0264[_0x130101(0x39b,0x142,0x35b,0x241)]()));for(const _0x41b8f1 of Object[_0x130101(0x3d1,0x32b,_0x53ea56._0x53f932,0x426)](_0x5c1894)){if(_0x157e33[_0x38f9ac(_0x53ea56._0x4d3374,_0x53ea56._0x51ce96,_0x53ea56._0x82908e,0x4d1)](_0x41b8f1['toLowerCase']()))delete _0x5c1894[_0x41b8f1];}}else{for(const _0x2f71bf of _0x32b0f8)delete _0x5c1894[_0x2f71bf];}return _0x5c1894;}function mapSpawnError(_0x5675ff,_0x2ac043){const _0x295617={_0x1ea40a:0x13e,_0x39c61b:0x1f7,_0x2226bf:0x23,_0x4cf95e:0x53b,_0x33bb8b:0x525,_0x5d6a5d:0x6b7,_0x456695:0x435,_0x70c2bf:0x582},_0x40a5df={_0x5a3b2d:0x9e},_0x400f44={_0xd2c567:0x128};if(isErrnoException(_0x5675ff)&&_0x5675ff[_0x23969c(_0x295617._0x1ea40a,0x191,0x2a1,_0x295617._0x39c61b)]===_0x23969c(0x4d,0x8f,0x8d,_0x295617._0x2226bf))return new ToolExecutionError('Shell\x20not\x20found:\x20'+_0x2ac043[_0x3c3ac9(_0x295617._0x4cf95e,_0x295617._0x33bb8b,0x445,0x528)],_0x2ac043);function _0x3c3ac9(_0x46e427,_0x3f11c2,_0x24b4db,_0x56155c){return _0x25cfa5(_0x46e427-_0x400f44._0xd2c567,_0x3f11c2,_0x56155c-0x509,_0x56155c-0x150);}function _0x23969c(_0x4286ba,_0x4a7b37,_0x22b75e,_0x9eb946){return _0x25cfa5(_0x4286ba-0x160,_0x9eb946,_0x22b75e-0x106,_0x9eb946-_0x40a5df._0x5a3b2d);}return new ToolExecutionError(_0x5675ff instanceof Error?_0x5675ff[_0x3c3ac9(_0x295617._0x5d6a5d,_0x295617._0x456695,0x40f,_0x295617._0x70c2bf)]:String(_0x5675ff),_0x2ac043);}function shellExists(_0x524458){const _0x3113a1={_0x2f4f07:0x13c,_0x1e1aee:0x138},_0x84d8b6={_0x11dfe7:0x112,_0x11d931:0x15d,_0xe756e1:0x68};function _0x387c44(_0x1d5bdc,_0x4d551b,_0x23b67c,_0x339214){return _0x25cfa5(_0x1d5bdc-_0x84d8b6._0x11dfe7,_0x4d551b,_0x23b67c- -_0x84d8b6._0x11d931,_0x339214-_0x84d8b6._0xe756e1);}try{const _0x25c1f5=statSync(_0x524458);return _0x25c1f5['isFile']()&&(_0x25c1f5[_0x387c44(-_0x3113a1._0x2f4f07,-0x254,-_0x3113a1._0x1e1aee,0x3b)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x2e46f3){const _0x294c25={_0x34d939:0x59,_0x38dfed:0x44,_0x54c5b4:0xe5,_0x471f4f:0x6a,_0x12c194:0x157,_0x4e2f6d:0x19a,_0x52146f:0x25,_0x228705:0x18c,_0x3b12a5:0x1f,_0x51f114:0x400,_0x1c37f6:0x5ab,_0x287430:0x23c,_0x3b049c:0x391,_0x403f96:0x9b,_0x3ddfab:0x149},_0x558ab9={_0x3c3da0:0x37},_0x181a68={_0x334181:0x15e,_0x454007:0x17e};function _0x167912(_0x4f819e,_0x5f4ef4,_0x110297,_0x37e9ec){return _0x25cfa5(_0x4f819e-_0x181a68._0x334181,_0x4f819e,_0x110297- -0x19a,_0x37e9ec-_0x181a68._0x454007);}if(_0x2e46f3)return _0x2e46f3;if(_0x3e99f2['platform']()===_0x167912(0xd1,_0x294c25._0x34d939,-_0x294c25._0x38dfed,_0x294c25._0x54c5b4))return process[_0x167912(-_0x294c25._0x471f4f,-0x6b,-_0x294c25._0x12c194,-_0x294c25._0x4e2f6d)][_0x167912(_0x294c25._0x52146f,-_0x294c25._0x228705,-_0x294c25._0x3b12a5,0x14)]||_0x414c9d(_0x294c25._0x51f114,0x50e,0x3f8,_0x294c25._0x1c37f6);function _0x414c9d(_0xb2df54,_0x294492,_0x4d202e,_0x40d559){return _0x25cfa5(_0xb2df54-_0x558ab9._0x3c3da0,_0x4d202e,_0x294492-0x441,_0x40d559-0xc3);}const _0x16bf63=[_0x414c9d(_0x294c25._0x287430,_0x294c25._0x3b049c,0x263,0x4bb),'/bin/sh','/usr/bin/bash','/usr/bin/sh'];for(const _0x1f625c of _0x16bf63){if(shellExists(_0x1f625c))return _0x1f625c;}const _0x37ee2d=process[_0x167912(-_0x294c25._0x403f96,-0x1bf,-_0x294c25._0x12c194,-0x287)]['SHELL'];if(_0x37ee2d&&shellExists(_0x37ee2d))return _0x37ee2d;return _0x167912(-_0x294c25._0x3ddfab,-0x391,-0x24a,-0x147);}function buildShellArgs(_0x1f9b13,_0x7bcc89){const _0x4c27fc={_0x4f02b4:0xf4,_0x434082:0x12d,_0x176fac:0xbc,_0x4c68d4:0x261,_0x52f2f8:0x1f6,_0x5c5912:0x29,_0x55e2a2:0xf2,_0x22c977:0x178,_0x481b29:0x2cf,_0x3c67e3:0x296,_0x1d1734:0x48},_0x46317f={_0x274665:0x26d,_0x112c0e:0x158},_0xfd89b8={_0xe6c128:0x9d};function _0x455730(_0x133d70,_0x4f3f75,_0x506b76,_0x501d42){return _0x5c47d8(_0x4f3f75- -0x285,_0x4f3f75-_0xfd89b8._0xe6c128,_0x506b76-0xc,_0x133d70);}if(_0x3e99f2[_0x382de2(_0x4c27fc._0x4f02b4,-0x60,_0x4c27fc._0x434082,_0x4c27fc._0x176fac)]()===_0x455730(0x207,0x1e0,_0x4c27fc._0x4c68d4,_0x4c27fc._0x52f2f8)){const _0x3ad92e=/cmd(\.exe)?$/i[_0x455730(0x19d,_0x4c27fc._0x5c5912,_0x4c27fc._0x55e2a2,-0xf2)](_0x7bcc89);return _0x3ad92e?['/d','/s','/c',_0x1f9b13]:[_0x382de2(0x407,_0x4c27fc._0x22c977,_0x4c27fc._0x481b29,_0x4c27fc._0x3c67e3),_0x455730(-0xa7,0xc4,_0x4c27fc._0x1d1734,0xac),'-Command',_0x1f9b13];}function _0x382de2(_0x48b79b,_0x21074b,_0x192c31,_0x24096d){return _0x5c47d8(_0x24096d- -_0x46317f._0x274665,_0x21074b-_0x46317f._0x112c0e,_0x192c31-0x1d3,_0x21074b);}return['-c',_0x1f9b13];}function _0x5c47d8(_0x1f3b01,_0x381222,_0x4c407c,_0x5dfec9){return _0x4b33(_0x1f3b01-0x137,_0x5dfec9);}function resolveWorkingDirectory(_0x16ffa7,_0x19ae7f,_0x2a7436){const _0x578f40={_0x3cb61a:0x63b,_0xbd8dde:0x676,_0x5989c4:0x4cd,_0x1a0791:0x733,_0x54819d:0x5f7,_0x962e74:0x6ad},_0x4d1367={_0x473e2e:0x110},_0x67a40b={_0x5ca2c3:0x86,_0x55d8fc:0x133,_0x1744a8:0x8e},_0x10b9d5=resolveAllowedPath(_0x19ae7f,_0x2a7436,_0x16ffa7??'.');function _0x1025c7(_0xf5a029,_0x216def,_0x3f4abc,_0x4f7a5c){return _0x5c47d8(_0x3f4abc- -_0x67a40b._0x5ca2c3,_0x216def-_0x67a40b._0x55d8fc,_0x3f4abc-_0x67a40b._0x1744a8,_0x216def);}function _0x5cbcf6(_0x72c6e,_0xfc1b65,_0x3a5970,_0x5b63ea){return _0x5c47d8(_0x3a5970-0x1a0,_0xfc1b65-_0x4d1367._0x473e2e,_0x3a5970-0x74,_0x5b63ea);}try{const _0x19513e=statSync(_0x10b9d5);if(!_0x19513e[_0x5cbcf6(_0x578f40._0x3cb61a,0x6e0,_0x578f40._0xbd8dde,0x6af)]())throw new ToolExecutionError(_0x5cbcf6(0x406,0x3dc,_0x578f40._0x5989c4,0x3b4)+_0x10b9d5,{'cwd':_0x10b9d5});return _0x10b9d5;}catch(_0x3f4620){if(_0x3f4620 instanceof ToolExecutionError)throw _0x3f4620;throw new ToolExecutionError(_0x5cbcf6(_0x578f40._0x1a0791,_0x578f40._0x54819d,0x611,_0x578f40._0x962e74)+_0x10b9d5,{'cwd':_0x10b9d5});}}function appendChunk(_0x410b92,_0x8bca44,_0x160fa1,_0x3df634,_0x1ae11d){const _0x4a6c77={_0x4a3a2a:0x53a,_0x4e66ae:0x47a,_0xee4f90:0x47a,_0x947aa7:0x58c},_0x477e5a={_0x429dc8:0x18d,_0x12648a:0x1f0},_0x25ccd7={_0x1bbc1b:0x479};function _0xea4210(_0xd8299c,_0x1c3291,_0xd35a22,_0x496638){return _0x5c47d8(_0x496638- -_0x25ccd7._0x1bbc1b,_0x1c3291-0xe2,_0xd35a22-0x9b,_0x1c3291);}function _0x2b8b5b(_0x208d7d,_0x36258f,_0x1efd9a,_0x1bdd79){return _0x5c47d8(_0x208d7d-_0x477e5a._0x429dc8,_0x36258f-0xb5,_0x1efd9a-_0x477e5a._0x12648a,_0x36258f);}const _0x6cad2b=_0x3df634?stripAnsiAndControls(_0x160fa1):_0x160fa1;if(_0x6cad2b['length']===0x0)return;_0x410b92[_0x2b8b5b(0x47a,0x339,0x3af,_0x4a6c77._0x4a3a2a)](_0x6cad2b),_0x8bca44[_0x2b8b5b(_0x4a6c77._0x4e66ae,0x44f,_0x4a6c77._0xee4f90,_0x4a6c77._0x947aa7)](_0x6cad2b),_0x1ae11d();}function createBashTool(_0xf8600e={}){const _0x218b4d={_0x2678f7:0x166,_0x93d425:0x113,_0x1bd002:0xa,_0x20e900:0x110,_0x21dab9:0x389,_0x141a8a:0x4d0,_0x4a41ae:0x3d3,_0x59d80d:0x3b8,_0x21869a:0x37a,_0x3f43fd:0x295,_0x4cf110:0x463,_0x345216:0x408,_0x154cac:0x69f,_0x15ce69:0x5ca,_0xd1550c:0x482,_0x2b674f:0x29f,_0x333f93:0x35d,_0x3534f9:0x5c9,_0x3f5de6:0x1e5,_0x360906:0x2f7,_0x2f91a2:0x179,_0xb81ac8:0x286,_0x5e381f:0x14a,_0x32ff63:0x29b,_0x3c0273:0x2d},_0x439505={_0x39509f:0x489,_0x41e3ad:0x2c3,_0xd4940:0xb4,_0x3564c6:0xdf,_0x5947c1:0x2d2,_0x5c6e14:0x170,_0x381808:0x1a2,_0x4ad946:0x1a9,_0x6f6019:0xa2,_0x19cc4:0x21c,_0x1ccf11:0x2c6,_0x92b385:0x331,_0x3a4c67:0x21f,_0x225a5f:0x83,_0x15c071:0x85,_0x136e7b:0xc0,_0x137425:0x1e4,_0x1fb41b:0x2f9,_0x34d850:0x242,_0xdc9a73:0x306,_0x3ec7a5:0x478,_0x1dc351:0x470,_0x3c1325:0x172,_0x44cd15:0x65,_0x11c795:0x258,_0x6d7c27:0x2bd,_0x2b90a3:0x196,_0x402794:0x172,_0x3f0bf1:0x12,_0x176aa:0x3a,_0x174e62:0x167,_0x1c72fa:0x2cc,_0x25a324:0xd7,_0x4c5db4:0x9e,_0x327453:0x14b,_0x48419e:0x363,_0x692d50:0x2ed,_0x49d54b:0xc,_0x2a4572:0xcf,_0x374a70:0xc9,_0x4ba976:0x2c8,_0x3d8b00:0x1ef,_0x10e7ab:0x315,_0x1e4de7:0x227,_0x1da368:0x190,_0x50c185:0x1dd,_0x1bae53:0xbb,_0x1abaf8:0x12c,_0x2b81a9:0x257,_0x5e343b:0x386,_0x3d3346:0x2a0,_0x757915:0x2c5,_0x50287d:0x37f,_0x2b8578:0x22e,_0x3eb29e:0x225,_0x5486f2:0x268,_0xdd0770:0x3c5,_0x45bd38:0x6b,_0x40b2a0:0x106,_0x483246:0x348,_0x28e3f2:0x311,_0x212654:0x3fa,_0x2909f6:0x283,_0x82d642:0x3ca,_0x13258e:0x282,_0x5eabce:0x16f,_0x2c3472:0x1cc,_0xbe1e01:0x38a,_0x1cea52:0x383,_0x46dbb4:0x246,_0x33ac30:0x2e5,_0x23404c:0x1b6,_0x299511:0x246,_0x43f0cd:0x30a,_0x59c142:0x121,_0x2ee0c9:0x224,_0x5a5894:0x269,_0x480744:0x3c3,_0x15a989:0x35e,_0x8c3a4b:0x171,_0x4aa115:0x191,_0x411e49:0x15,_0x2deb94:0x87,_0x5e9670:0x3c4,_0x1d747e:0x402,_0x51e5dc:0x48f,_0x2121ed:0x3b8,_0x400aba:0x471,_0x31c603:0x18e,_0x4bef8f:0x280,_0x4bb849:0xda,_0x58c738:0x8f,_0x256a82:0x264,_0x129986:0x273,_0x37d140:0x2e4,_0x265624:0x284},_0x91b791={_0x51f80b:0x179,_0x168c2c:0x237,_0x4796a8:0x240},_0x34454c={_0x250a85:0x432};function _0x118828(_0x45ef1e,_0x8e727f,_0x2f721a,_0x2f1130){return _0x25cfa5(_0x45ef1e-0x10c,_0x2f1130,_0x8e727f-_0x34454c._0x250a85,_0x2f1130-0x144);}const _0x4de016=_0x36b6c['resolve'](_0xf8600e[_0x6a4cf9(_0x218b4d._0x2678f7,_0x218b4d._0x93d425,-_0x218b4d._0x1bd002,_0x218b4d._0x20e900)]??process[_0x6a4cf9(0x2ec,0x252,0x442,0x405)]()),_0x462416=(_0xf8600e['allowedDirs']??[])[_0x118828(_0x218b4d._0x21dab9,_0x218b4d._0x141a8a,0x45c,0x575)](_0x2f7b0c=>_0x36b6c[_0x118828(0x3f2,0x44d,0x407,0x47d)](_0x2f7b0c)),_0x1151e9=_0xf8600e['defaultTimeoutMs']??DEFAULT_TIMEOUT_MS;function _0x6a4cf9(_0x41e42e,_0x457e80,_0x2c05c8,_0x399962){return _0x25cfa5(_0x41e42e-0x64,_0x457e80,_0x41e42e-0x200,_0x399962-0xbd);}const _0x37ac58=_0xf8600e[_0x118828(0x6bd,0x60c,0x6fd,0x577)]??!![],_0x214a92=_0xf8600e['name']??_0x6a4cf9(_0x218b4d._0x4a41ae,0x3b5,0x39f,_0x218b4d._0x59d80d),_0x27534f=_0xf8600e[_0x6a4cf9(_0x218b4d._0x21869a,0x3fe,_0x218b4d._0x3f43fd,_0x218b4d._0x4cf110)]??[],_0x134658=_0xf8600e[_0x118828(_0x218b4d._0x345216,0x550,_0x218b4d._0x154cac,_0x218b4d._0x15ce69)];return defineTool({'name':_0x214a92,'description':_0xf8600e['description']??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x6a4cf9(0x3bb,0x3c4,_0x218b4d._0xd1550c,0x398),'properties':{'command':{'type':_0x6a4cf9(_0x218b4d._0x2b674f,0x386,0x18e,_0x218b4d._0x333f93)},'cwd':{'type':_0x118828(_0x218b4d._0x3534f9,0x4d1,0x568,0x3d8)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':_0x6a4cf9(_0x218b4d._0x3f5de6,_0x218b4d._0x360906,_0x218b4d._0x2f91a2,0xdf)},'runInBackground':{'type':_0x6a4cf9(_0x218b4d._0x3f5de6,_0x218b4d._0xb81ac8,0xc6,0x2fc)}},'required':[_0x6a4cf9(_0x218b4d._0x5e381f,_0x218b4d._0x32ff63,0x1cd,_0x218b4d._0x3c0273)]},async *'execute'(_0x2a2126,_0x275bd2){const _0x242914={_0x3b3343:0x2eb,_0x2104af:0x2a8,_0x29437b:0x2e2},_0xcc529b={_0x516398:0x240},_0x4561d8={_0x3f7318:0x3f4},_0x2ed553={_0x2eb7cf:0x2ab,_0x11ba3d:0x23e,_0x143ba8:0x30f,_0x5d4643:0xcf,_0x463f13:0x197,_0x1572b4:0x2df},_0x207094={_0x31a0b4:0x12d,_0x6f9b96:0xe0},_0x2df4eb={_0x51395a:0x23b},_0x4774c6={_0x5e2fc0:0x42,_0x5939d5:0x57},_0x478371={_0x2a5397:0x387,_0x3a65c1:0x1ce},_0x5a8c96={_0x1117fe:0x20a,_0x2627c6:0x1dc},_0x3da081=_0x2a2126[_0x2ea739(_0x439505._0x39509f,_0x439505._0x41e3ad,0x348,0x2e8)]??_0x1151e9;if(!Number[_0x3e7729(0xd4,_0x439505._0xd4940,-0xa3,0x9c)](_0x3da081)||_0x3da081<0x1)throw new ToolExecutionError(_0x2ea739(_0x439505._0x3564c6,_0x439505._0x5947c1,0x1dc,_0x439505._0x5c6e14),{'command':_0x2a2126[_0x2ea739(_0x439505._0x381808,_0x439505._0x4ad946,0x172,0x29c)]});throwIfAborted(_0x275bd2[_0x2ea739(_0x439505._0x6f6019,_0x439505._0x19cc4,0x17a,0x2de)]);const _0x498058=resolveWorkingDirectory(_0x2a2126[_0x2ea739(_0x439505._0x1ccf11,_0x439505._0x92b385,0x314,0x30d)],_0x4de016,_0x462416),_0xfaf61b=_0x2a2126[_0x3e7729(0xdf,0x1a9,0x168,_0x439505._0x3a4c67)]??![],_0x47e1c2=resolveDefaultShell(_0xf8600e['shellPath']),_0x52749d=buildShellArgs(_0x2a2126[_0x3e7729(_0x439505._0x225a5f,-0xb,-_0x439505._0x15c071,-_0x439505._0x136e7b)],_0x47e1c2),_0xc833fe=_0x3e99f2[_0x2ea739(_0x439505._0x137425,_0x439505._0x1fb41b,_0x439505._0x34d850,0x2ae)]()===_0x2ea739(0x4b4,0x381,0x37e,_0x439505._0xdc9a73);if(_0x2a2126[_0x2ea739(0x2cd,0x286,0x1ec,0x91)]){if(!_0x134658)throw new ToolExecutionError(_0x2ea739(_0x439505._0x3ec7a5,_0x439505._0x1dc351,0x352,0x29e),{'command':_0x2a2126[_0x2ea739(0xee,0x123,_0x439505._0x3c1325,0xaa)]});throwIfAborted(_0x275bd2[_0x2ea739(_0x439505._0x44cd15,0x265,0x17a,_0x439505._0x11c795)]);let _0x3ae9fb;try{_0x3ae9fb=_0x4b7ea6(_0x47e1c2,_0x52749d,{'cwd':_0x498058,'env':buildChildEnv(_0xf8600e['env'],_0x27534f),'stdio':[_0x3e7729(0x273,_0x439505._0x6d7c27,0x2e4,0x1a5),'pipe','pipe'],'shell':![],'windowsHide':!![],'detached':!_0xc833fe});}catch(_0x4fac78){throw mapSpawnError(_0x4fac78,{'command':_0x2a2126[_0x2ea739(0x221,0xe3,0x172,_0x439505._0x2b90a3)],'cwd':_0x498058,'shellPath':_0x47e1c2});}let _0x5e2022;try{_0x5e2022=_0x134658['spawn']({'child':_0x3ae9fb,'command':_0x2a2126[_0x2ea739(0x192,0x1c3,_0x439505._0x402794,_0x439505._0x2b90a3)],'cwd':_0x498058,'stripAnsi':_0x37ac58});}catch(_0x2f5697){_0x3ae9fb[_0x2ea739(_0x439505._0x3f0bf1,_0x439505._0x176aa,_0x439505._0x174e62,_0x439505._0x1c72fa)](_0x3e7729(-0x127,0x45,_0x439505._0x25a324,_0x439505._0x4c5db4),()=>{});try{killProcessGroup(_0x3ae9fb,_0xc833fe);}catch{}throw _0x2f5697;}return createToolOutput(_0x3e7729(_0x439505._0x327453,0x263,_0x439505._0x48419e,0x1b6)+_0x5e2022[_0x2ea739(_0x439505._0x692d50,0x4bb,0x36c,0x314)]+'\x20(pid\x20'+(_0x5e2022[_0x3e7729(-_0x439505._0x49d54b,_0x439505._0x2a4572,_0x439505._0x374a70,0x1cd)]??'?')+_0x3e7729(0x58,0x188,0xf9,0x1ad),{'shellId':_0x5e2022[_0x3e7729(_0x439505._0x4ba976,_0x439505._0x3d8b00,0x295,_0x439505._0x10e7ab)],'status':_0x5e2022['status'],'command':_0x5e2022[_0x2ea739(0xa6,0x1f,0x172,0x2dc)],'cwd':_0x5e2022[_0x3e7729(0x45,0x197,0x2f,0x32)],'pid':_0x5e2022['pid']??null});}let _0x47a8aa;try{_0x47a8aa=_0x4b7ea6(_0x47e1c2,_0x52749d,{'cwd':_0x498058,'env':buildChildEnv(_0xf8600e['env'],_0x27534f),'stdio':_0xfaf61b?['ignore',_0x3e7729(0x18a,0x2bd,0x20c,0x167),'ignore']:[_0x3e7729(0x3eb,_0x439505._0x6d7c27,0x14c,_0x439505._0x1e4de7),_0x2ea739(0x1f8,_0x439505._0x1da368,0x238,0x120),_0x3e7729(_0x439505._0x50c185,_0x439505._0x1bae53,_0x439505._0x225a5f,_0x439505._0x1abaf8)],'shell':![],'windowsHide':!![],'detached':!_0xc833fe});}catch(_0x2793df){throw mapSpawnError(_0x2793df,{'command':_0x2a2126[_0x2ea739(0xaa,_0x439505._0x2b81a9,_0x439505._0x3c1325,0x2dc)],'cwd':_0x498058,'shellPath':_0x47e1c2});}const _0x5c1d5f=[];function _0x2ea739(_0x210e46,_0x17fade,_0x4039ce,_0x273dc9){return _0x118828(_0x210e46-0x118,_0x4039ce- -_0x5a8c96._0x1117fe,_0x4039ce-_0x5a8c96._0x2627c6,_0x210e46);}const _0x6de20f=[],_0x3d3cbf=new _0x3bbd8b(_0x3e7729(_0x439505._0x5e343b,_0x439505._0x3d3346,_0x439505._0x757915,_0x439505._0x50287d)),_0x120235=new _0x3bbd8b(_0x3e7729(_0x439505._0x2b8578,0x2a0,_0x439505._0x3eb29e,_0x439505._0x5486f2));let _0x36b5bd,_0x242bc8=![];function _0x3e7729(_0x55f6d2,_0x1fb1c7,_0x39f20b,_0x205d52){return _0x118828(_0x55f6d2-0x1e4,_0x1fb1c7- -_0x478371._0x2a5397,_0x39f20b-_0x478371._0x3a65c1,_0x205d52);}let _0x366c3a;const _0x1281f4=()=>{if(!_0x36b5bd)return;const _0x455ce9=_0x36b5bd;_0x36b5bd=void 0x0,_0x455ce9();},_0xce3e2f=async()=>{if(_0x6de20f['length']>0x0||_0x242bc8)return;await new Promise(_0x5467f3=>{_0x36b5bd=_0x5467f3;});},_0x4544d8=_0x32d438=>{const _0x52d020={_0x3accfb:0x200,_0x54cab0:0x175};function _0x37dfcd(_0x262632,_0x4b3799,_0x19b966,_0x31c0bd){return _0x2ea739(_0x31c0bd,_0x4b3799-0x188,_0x262632- -_0x52d020._0x3accfb,_0x31c0bd-_0x52d020._0x54cab0);}appendChunk(_0x5c1d5f,_0x6de20f,_0x3d3cbf[_0x37dfcd(_0x91b791._0x51f80b,_0x91b791._0x168c2c,_0x91b791._0x4796a8,0x2a6)](_0x32d438),_0x37ac58,_0x1281f4);},_0x4a0dd1=_0x1492d0=>{function _0x2ef173(_0x25b559,_0x205550,_0x3c7f8b,_0x339913){return _0x2ea739(_0x205550,_0x205550-0x1c,_0x3c7f8b- -0x322,_0x339913-0x139);}appendChunk(_0x5c1d5f,_0x6de20f,_0x120235[_0x2ef173(_0x4774c6._0x5e2fc0,0x119,_0x4774c6._0x5939d5,0x120)](_0x1492d0),_0x37ac58,_0x1281f4);};_0x47a8aa[_0x2ea739(0x3bb,0x39d,_0x439505._0xdd0770,0x2b1)]?.['on'](_0x3e7729(-_0x439505._0x45bd38,_0x439505._0x40b2a0,0x8e,0x124),_0x4544d8),_0x47a8aa[_0x2ea739(_0x439505._0x483246,_0x439505._0x28e3f2,0x41a,_0x439505._0x212654)]?.['on'](_0x2ea739(0x10e,0x2d9,_0x439505._0x2909f6,0x2c5),_0x4a0dd1);let _0x1be64d=![],_0x16fb6f;const _0xcda382=addAbortListener(_0x275bd2['signal'],()=>{_0x366c3a=toAbortError(_0x275bd2[_0x2e1837(-_0x2ed553._0x2eb7cf,-_0x2ed553._0x11ba3d,-_0x2ed553._0x143ba8,-_0x2ed553._0x5d4643)][_0x36b589(_0x2ed553._0x463f13,0x27c,0x15b,_0x2ed553._0x1572b4)]),_0x242bc8=!![],_0x1281f4();function _0x2e1837(_0xd0cf64,_0x310c04,_0x5540bf,_0x30f5e3){return _0x3e7729(_0xd0cf64-0xdc,_0x310c04- -_0x2df4eb._0x51395a,_0x5540bf-0x1b2,_0x5540bf);}function _0x36b589(_0x5216c7,_0x25f235,_0x54ca2d,_0x124286){return _0x2ea739(_0x124286,_0x25f235-_0x207094._0x31a0b4,_0x25f235- -0xb0,_0x124286-_0x207094._0x6f9b96);}try{killProcessGroup(_0x47a8aa,_0xc833fe);}catch{}});try{const _0x15e1f5=new Promise((_0x32831f,_0x1596d2)=>{const _0x29fcbd={_0x31894c:0x38d,_0x20671b:0x32d,_0x135c45:0x33d,_0xce6406:0x259},_0x418b17={_0x3d7558:0x14b},_0x2817e0={_0x4501c1:0x506,_0x51afbb:0x466,_0x2d36bb:0x35d,_0x2b36f1:0x4f5,_0x15e171:0x550},_0x116e00=()=>{const _0x403bab={_0x24b0e6:0x118};_0x16fb6f&&(clearTimeout(_0x16fb6f),_0x16fb6f=void 0x0);_0x47a8aa['off']('error',_0x5863b1);function _0x592d39(_0x1546e3,_0x3951f0,_0x106d7f,_0x54a5d5){return _0x4b33(_0x106d7f-0x1a4,_0x54a5d5);}function _0x2eadd2(_0x13e25,_0x4e5ea1,_0x4ddb64,_0xf2a0d7){return _0x4b33(_0x4ddb64-_0x403bab._0x24b0e6,_0xf2a0d7);}_0x47a8aa[_0x2eadd2(_0x2817e0._0x4501c1,0x411,_0x2817e0._0x51afbb,_0x2817e0._0x2d36bb)](_0x2eadd2(0x4f3,0x3f5,_0x2817e0._0x2b36f1,_0x2817e0._0x15e171),_0x3b60a1);},_0x5863b1=_0x288dc6=>{_0x242bc8=!![],_0x1281f4(),_0x116e00(),_0x1596d2(_0x366c3a??_0x288dc6);};function _0x3a03d4(_0x45fc3e,_0x3cafe7,_0x13e52d,_0x83ab6e){return _0x2ea739(_0x3cafe7,_0x3cafe7-0x31,_0x83ab6e- -_0x418b17._0x3d7558,_0x83ab6e-0x24);}const _0x3b60a1=(_0x36de47,_0x48612f)=>{_0x1be64d=!![],appendChunk(_0x5c1d5f,_0x6de20f,_0x3d3cbf['end'](),_0x37ac58,_0x1281f4),appendChunk(_0x5c1d5f,_0x6de20f,_0x120235[_0x3fddde(0x430,0x2fd,_0x4561d8._0x3f7318,0x1e9)](),_0x37ac58,_0x1281f4),_0x242bc8=!![],_0x1281f4(),_0x116e00();if(_0x366c3a){_0x1596d2(_0x366c3a);return;}function _0x3fddde(_0x163ad0,_0x8b70e1,_0x46850b,_0x570050){return _0x4b33(_0x8b70e1-0x5d,_0x46850b);}_0x32831f({'code':_0x36de47,'signal':_0x48612f});};_0x16fb6f=setTimeout(()=>{const _0x29a793={_0x4d944d:0x74};function _0xa71e70(_0x3bf3ec,_0x6574eb,_0x2f626a,_0x68f0ee){return _0x4b33(_0x68f0ee- -0xad,_0x6574eb);}_0x242bc8=!![];function _0xef3f75(_0x325fce,_0x1b1866,_0x32dcb3,_0x437028){return _0x4b33(_0x32dcb3- -_0x29a793._0x4d944d,_0x325fce);}_0x1281f4(),_0x116e00();try{killProcessGroup(_0x47a8aa,_0xc833fe);}catch{}_0x1596d2(new ToolExecutionError(_0xef3f75(_0x29fcbd._0x31894c,0x308,0x32e,_0x29fcbd._0x20671b)+_0x3da081+_0xa71e70(_0x29fcbd._0x135c45,_0x29fcbd._0xce6406,0x22e,0x265),{'command':_0x2a2126['command'],'cwd':_0x498058,'shellPath':_0x47e1c2,'timeoutMs':_0x3da081,'timedOut':!![]}));},_0x3da081),_0x47a8aa['once'](_0x392989(0x402,0x2e2,_0x242914._0x3b3343,0x36b),_0x5863b1);function _0x392989(_0x46568e,_0xf02593,_0x4d34ad,_0x265c8d){return _0x2ea739(_0x265c8d,_0xf02593-0x1c0,_0x46568e-_0xcc529b._0x516398,_0x265c8d-0x77);}_0x47a8aa['once'](_0x3a03d4(0x271,0x312,_0x242914._0x2104af,_0x242914._0x29437b),_0x3b60a1);});while(_0x6de20f['length']>0x0||!_0x242bc8){if(_0x6de20f[_0x3e7729(_0x439505._0x82d642,_0x439505._0x13258e,0x338,_0x439505._0x5eabce)]===0x0){await _0xce3e2f();continue;}const _0x484a6d=_0x6de20f[_0x3e7729(_0x439505._0x2c3472,0x26e,0x1d5,_0x439505._0xbe1e01)]();_0x484a6d!==void 0x0&&(yield _0x484a6d);}const _0x371bd1=await _0x15e1f5,_0x4c9ce0=_0xfaf61b?_0x2ea739(0x4e9,0x444,0x404,0x455)+(_0x371bd1[_0x3e7729(_0x439505._0x1cea52,_0x439505._0x46dbb4,0x2f8,_0x439505._0x33ac30)]??0x0):_0x5c1d5f['join'](''),_0x311333={'command':_0x2a2126['command'],'cwd':_0x498058,'exitCode':_0x371bd1[_0x3e7729(_0x439505._0x23404c,_0x439505._0x299511,0x3a6,0x398)]??0x0,'signal':_0x371bd1[_0x3e7729(-0x94,-0x3,0xa6,0x132)],'ignoreOutput':_0xfaf61b,'shellPath':_0x47e1c2,'timeoutMs':_0x3da081};if(_0x371bd1['code']!==0x0)throw new ToolExecutionError(_0x4c9ce0||_0x2ea739(_0x439505._0x43f0cd,_0x439505._0x59c142,_0x439505._0x2ee0c9,0x19a)+(_0x371bd1[_0x2ea739(_0x439505._0x5a5894,0x24c,_0x439505._0x480744,_0x439505._0x15a989)]??0x0),_0x311333);return createToolOutput(_0x4c9ce0,_0x311333);}catch(_0x5bab64){while(_0x6de20f[_0x3e7729(_0x439505._0x8c3a4b,_0x439505._0x13258e,0x1cf,0x1ff)]>0x0){const _0x6e94a2=_0x6de20f[_0x3e7729(0x2e6,0x26e,_0x439505._0x4aa115,0x30b)]();_0x6e94a2!==void 0x0&&(yield _0x6e94a2);}if(_0x5bab64 instanceof ToolExecutionError)throw _0x5bab64;if(_0x366c3a)throw _0x366c3a;throw mapSpawnError(_0x5bab64,{'command':_0x2a2126[_0x2ea739(_0x439505._0x411e49,_0x439505._0x2deb94,0x172,0x2d6)],'cwd':_0x498058,'shellPath':_0x47e1c2});}finally{_0x16fb6f&&clearTimeout(_0x16fb6f);_0xcda382(),_0x47a8aa[_0x2ea739(_0x439505._0x5e9670,_0x439505._0x1d747e,0x3c5,_0x439505._0x51e5dc)]?.['off']('data',_0x4544d8),_0x47a8aa[_0x2ea739(_0x439505._0x2121ed,_0x439505._0x400aba,0x41a,0x3c2)]?.[_0x2ea739(0x3ef,_0x439505._0xbe1e01,0x39e,0x343)](_0x2ea739(0x21f,_0x439505._0x31c603,_0x439505._0x2909f6,_0x439505._0x4bef8f),_0x4a0dd1);if(!_0x1be64d&&_0x47a8aa[_0x3e7729(_0x439505._0x4bb849,_0x439505._0x2a4572,0x11,-_0x439505._0x58c738)]&&!_0x47a8aa[_0x2ea739(_0x439505._0x256a82,_0x439505._0x129986,_0x439505._0x37d140,_0x439505._0x265624)])try{killProcessGroup(_0x47a8aa,_0xc833fe);}catch{}}}});}function createShellExecTool(_0x37f587={}){return createBashTool(_0x37f587);}import{readdir,readFile as _0x280f08}from'fs/promises';import{extname,join as _0xa39f70}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x1296c5,join,relative as _0x397bf4,resolve as _0x4c34dc}from'path';import{readdir as _0x2420cd,readFile as _0x32c3c2}from'fs/promises';import{join as _0x49e6d8,relative as _0x117cec,sep}from'path';import{delimiter}from'path';import{mkdir as _0x3a1f0f,rm,stat as _0x42c428,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x5bbefa}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x71f601,rename,writeFile as _0x460e67}from'fs/promises';import{homedir as _0x55ea45}from'os';import{dirname as _0x287700,isAbsolute as _0xa0c8f,join as _0x14ccf1,resolve as _0x216c56}from'path';import{parse as _0xa73b71,stringify as _0x20ce17}from'yaml';import{cp,mkdir as _0x43336b,readFile as _0x257c10,rm as _0x4f181a,writeFile as _0x40733e}from'fs/promises';import{homedir}from'os';import{join as _0x162181}from'path';import{parse as _0x42f2d6,stringify as _0x8129b1}from'yaml';import{z}from'zod';import{readdir as _0x4a1a1c,readFile as _0x455073}from'fs/promises';import{join as _0x2fb772}from'path';import{mkdir as _0x5c5d1e,readFile as _0x36d57b,rm as _0x1cb4b1,writeFile as _0x3edf0f}from'fs/promises';import{homedir as _0x38bf5b}from'os';import{basename,isAbsolute as _0x20fc71,join as _0x5f0168,relative as _0x5dbbcd,resolve as _0x3aea64}from'path';import{parse as _0x581477,stringify as _0x3c8eaf}from'yaml';import{delimiter as _0x3a8feb,resolve as _0x1bc71f}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x43d237){const _0x3bc14a={_0x48f8f7:0x6af,_0x2be884:0x7ae,_0x5a1958:0x7e3,_0x37cf2c:0xcf,_0x5c7266:0x5a,_0x19b725:0xe4,_0x2eb0c4:0x183,_0x496312:0x12a,_0x179123:0x130,_0x85b19:0x32},_0x5959a5={_0x393149:0x76,_0x3730f5:0x1c7},_0x31ea76={_0x567b91:0x417,_0x389624:0x1a5,_0x17476c:0x1e3};function _0x2cb48a(_0x4aaccd,_0x431c97,_0x7b906a,_0x410fe2){return _0x5c47d8(_0x4aaccd- -_0x31ea76._0x567b91,_0x431c97-_0x31ea76._0x389624,_0x7b906a-_0x31ea76._0x17476c,_0x7b906a);}function _0xdbc44f(_0x29b4e8,_0x308790,_0x287833,_0x5a31e3){return _0x5c47d8(_0x308790-0x1c9,_0x308790-_0x5959a5._0x393149,_0x287833-_0x5959a5._0x3730f5,_0x287833);}const _0x55bac=[];let _0x205254='',_0x16448e=0x0;while(_0x16448e<_0x43d237[_0xdbc44f(0x60a,_0x3bc14a._0x48f8f7,0x547,0x583)]){const _0x24cc4a=_0x43d237[_0x16448e];if(_0x24cc4a==='\x5c'&&_0x16448e+0x1<_0x43d237[_0xdbc44f(_0x3bc14a._0x2be884,0x6af,_0x3bc14a._0x5a1958,0x67d)])_0x205254+=_0x43d237[_0x16448e+0x1],_0x16448e+=0x2;else{if(_0x24cc4a==='\x22'||_0x24cc4a==='\x27'){const _0x22e134=_0x24cc4a;_0x16448e++;while(_0x16448e<_0x43d237['length']&&_0x43d237[_0x16448e]!==_0x22e134){_0x43d237[_0x16448e]==='\x5c'&&_0x16448e+0x1<_0x43d237[_0x2cb48a(_0x3bc14a._0x37cf2c,_0x3bc14a._0x5c7266,-0xb,_0x3bc14a._0x19b725)]?(_0x205254+=_0x43d237[_0x16448e+0x1],_0x16448e+=0x2):(_0x205254+=_0x43d237[_0x16448e],_0x16448e++);}_0x16448e++;}else _0x24cc4a!==void 0x0&&/\s/['test'](_0x24cc4a)?(_0x205254&&(_0x55bac[_0x2cb48a(-0x12a,-0x148,-0xb8,-_0x3bc14a._0x2eb0c4)](_0x205254),_0x205254=''),_0x16448e++):(_0x205254+=_0x24cc4a,_0x16448e++);}}if(_0x205254)_0x55bac[_0x2cb48a(-_0x3bc14a._0x496312,-_0x3bc14a._0x179123,-0x54,-_0x3bc14a._0x85b19)](_0x205254);return _0x55bac;}function renderCommandInstructions(_0x582f8b){const _0x5c8287={_0x59c3d7:0x26f,_0x59cad2:0x107,_0xb450b6:0x2dc,_0xdbd52:0x3c2,_0x3e2375:0x419,_0x4a693a:0x3fb,_0x41a88a:0x58d,_0x11a260:0x45a,_0x4e7967:0x45f,_0x350eeb:0x445,_0x4f3b75:0x2c6,_0x5cf3db:0x3b6,_0x371be3:0x45f,_0x29bf29:0x354,_0xc136f3:0x423,_0x44560d:0x351,_0xa2bee2:0x2a5,_0x775762:0x365,_0x174728:0x1b6,_0x8b917d:0x1a2,_0x320c8f:0x2b6,_0x335de7:0x1dd,_0x130a03:0x2c3,_0x463bbb:0x49b,_0x3a0efc:0x587},_0x32cb3f={_0x1b6b8f:0x109,_0x77331e:0x171,_0x5740fe:0x1d3},_0x5990e8={_0x293bc0:0x144},_0x47f4ca={_0x26feba:0xa,_0x17f2c9:0x1d2},_0x3df175={_0x503936:0xd1,_0x4cc95d:0x180};function _0xc7accb(_0x326641,_0x141457,_0x309af0,_0x58805a){return _0x5c47d8(_0x309af0- -_0x3df175._0x503936,_0x141457-0x100,_0x309af0-_0x3df175._0x4cc95d,_0x141457);}let _0x3f630c=_0x582f8b[_0xc7accb(0x2ed,0x2a1,_0x5c8287._0x59c3d7,0x273)],_0x292678=![];function _0x430375(_0x174859,_0x43d920,_0x1b57ca,_0x1f2930){return _0x5c47d8(_0x43d920- -0x189,_0x43d920-_0x47f4ca._0x26feba,_0x1b57ca-_0x47f4ca._0x17f2c9,_0x1b57ca);}const _0x3cc599=tokenizeCommandArguments(_0x582f8b[_0xc7accb(_0x5c8287._0x59cad2,_0x5c8287._0xb450b6,0x26e,0x1af)]);_0x3f630c=_0x3f630c['replace'](/\$ARGUMENTS\[(\d+)\]/g,(_0x220bec,_0xa9933b)=>{return _0x292678=!![],_0x3cc599[Number(_0xa9933b)]??'';}),_0x3f630c=_0x3f630c[_0xc7accb(_0x5c8287._0xdbd52,_0x5c8287._0x3e2375,0x409,_0x5c8287._0x4a693a)](/\$ARGUMENTS\b/g,()=>{function _0x253bb9(_0x6ed02b,_0x413547,_0x43ac32,_0x44e3f7){return _0xc7accb(_0x6ed02b-0x12,_0x43ac32,_0x6ed02b- -0x377,_0x44e3f7-_0x5990e8._0x293bc0);}return _0x292678=!![],_0x582f8b[_0x253bb9(-_0x32cb3f._0x1b6b8f,-0xf,-_0x32cb3f._0x77331e,-_0x32cb3f._0x5740fe)];});if(_0x582f8b[_0xc7accb(_0x5c8287._0x41a88a,_0x5c8287._0x11a260,_0x5c8287._0x4e7967,_0x5c8287._0x350eeb)]&&_0x582f8b[_0x430375(0x4ef,0x3a7,0x365,0x31f)][_0xc7accb(0x575,_0x5c8287._0x4f3b75,0x415,0x4f0)]>0x0)for(let _0x21419b=0x0;_0x21419b<_0x582f8b['argumentNames']['length'];_0x21419b++){const _0x498485=_0x582f8b[_0xc7accb(_0x5c8287._0x5cf3db,0x340,_0x5c8287._0x371be3,_0x5c8287._0x29bf29)][_0x21419b];if(_0x498485){const _0x2af525=new RegExp('\x5c$'+_0x498485+'\x5cb','g');_0x3f630c=_0x3f630c[_0x430375(_0x5c8287._0xc136f3,_0x5c8287._0x44560d,0x24a,_0x5c8287._0xa2bee2)](_0x2af525,()=>{return _0x292678=!![],_0x3cc599[_0x21419b]??'';});}}return _0x3f630c=_0x3f630c[_0xc7accb(0x2d2,_0x5c8287._0x775762,0x409,0x552)](/\$(\d+)\b/g,(_0x1bea5f,_0x104acb)=>{return _0x292678=!![],_0x3cc599[Number(_0x104acb)]??'';}),!_0x292678&&_0x582f8b[_0x430375(0xb5,_0x5c8287._0x174728,_0x5c8287._0x8b917d,0x22e)][_0x430375(0x1dd,_0x5c8287._0x320c8f,_0x5c8287._0x335de7,_0x5c8287._0x130a03)]()&&(_0x3f630c=_0x3f630c+_0xc7accb(_0x5c8287._0x463bbb,0x4e5,0x44b,_0x5c8287._0x3a0efc)+_0x582f8b[_0x430375(0x18f,0x1b6,0xf9,0x169)]),_0x3f630c;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x5c47d8(0x4cb,0x4af,0x51d,0x600)},{'env':_0x25cfa5(0xe7,0xea,-0x64,-0x1),'provider':_0x5c47d8(0x24f,0x2ee,0x29a,0x203)},{'env':_0x25cfa5(-0x10f,-0xb7,-0x20,-0xcf),'provider':_0x25cfa5(0x1b,0x94,0xea,0x198)},{'env':_0x5c47d8(0x2ce,0x1b9,0x442,0x443),'provider':_0x5c47d8(0x3f9,0x48c,0x40c,0x440)},{'env':'DEEPINFRA_API_KEY','provider':'deepinfra'},{'env':_0x25cfa5(0xb4,-0x13d,-0x6,0x8b),'provider':'zai'},{'env':'MOONSHOT_API_KEY','provider':_0x25cfa5(0x1ad,0xa7,0x129,0x107)},{'env':_0x25cfa5(0x329,0x226,0x213,0x295),'provider':_0x5c47d8(0x34f,0x202,0x238,0x37a)},{'env':_0x25cfa5(0x3c,-0x2a,0x12e,-0x7),'provider':_0x5c47d8(0x32b,0x1e5,0x21b,0x2ef)},{'env':'OPENAI_API_KEY','provider':_0x5c47d8(0x411,0x3c1,0x380,0x572)},{'env':_0x25cfa5(-0x163,-0x165,-0xac,0x67),'provider':_0x25cfa5(-0x93,0x183,0xb8,-0xbb)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x5c47d8(0x3ad,0x51f,0x4dc,0x323)](_0x32b189=>_0x32b189[_0x5c47d8(0x352,0x2b7,0x356,0x3e8)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,'API_KEY',_0x5c47d8(0x3c0,0x339,0x38c,0x48b),_0x5c47d8(0x30e,0x296,0x1ea,0x407)],chatModelAuthSchemeSchema=z[_0x25cfa5(0x1a,0x3c,0x48,-0xcc)]([_0x25cfa5(0x123,0x201,0x149,0xdb),_0x5c47d8(0x46a,0x50f,0x397,0x4fa)]),apiKeyAuthSchema=z['object']({'type':z[_0x5c47d8(0x4a8,0x49a,0x5ce,0x51b)]('apiKey'),'apiKey':z[_0x5c47d8(0x3ae,0x369,0x48c,0x3d4)](),'authScheme':chatModelAuthSchemeSchema[_0x5c47d8(0x4b1,0x431,0x428,0x392)]()})[_0x25cfa5(0x283,0x34,0x15d,0xf8)](),oauthAuthSchema=z[_0x25cfa5(0x26d,0x6e,0x1bb,0x9c)]({'type':z[_0x25cfa5(0x60,0xc2,0x199,0x2d9)](_0x5c47d8(0x4be,0x52d,0x4f0,0x450)),'access':z[_0x5c47d8(0x3ae,0x3ba,0x332,0x36b)](),'refresh':z[_0x5c47d8(0x3ae,0x32c,0x393,0x40c)](),'expires':z[_0x5c47d8(0x27e,0x221,0x362,0x25c)]()[_0x25cfa5(0x275,0x1d5,0x1a2,0x155)](),'authScheme':chatModelAuthSchemeSchema[_0x5c47d8(0x4b1,0x457,0x39b,0x3fd)]()})[_0x5c47d8(0x46c,0x366,0x487,0x542)](),authMethodSchema=z['union']([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z[_0x5c47d8(0x4ca,0x3d5,0x4e4,0x516)]({'id':z['string'](),'name':z[_0x25cfa5(0x28,-0x76,0x9f,0x4f)]()[_0x25cfa5(0x1dc,0x1e9,0x1a2,0x198)]()})['passthrough'](),modelConfigSchema=z[_0x25cfa5(0x131,0xcc,0xef,0xfa)]([z[_0x25cfa5(0x4c,0x27b,0x199,0x175)](![]),z[_0x5c47d8(0x4a8,0x5de,0x574,0x45a)](!![]),z[_0x5c47d8(0x3ae,0x522,0x42a,0x27a)](),z['array'](z[_0x25cfa5(0x10b,0x151,0x9f,0xed)]()),z[_0x25cfa5(0x1e,-0x18,0xcf,0x63)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x25cfa5(0x161,-0xf6,0x48,0xd6)]([_0x5c47d8(0x4e3,0x39b,0x42a,0x3a5),_0x5c47d8(0x2fa,0x267,0x3a5,0x1e4),_0x5c47d8(0x276,0x27b,0x36a,0x282),_0x25cfa5(0x189,0xcd,0xbb,-0x4f)]),providerConfigSchema=z['object']({'apiKey':z[_0x5c47d8(0x3ae,0x27e,0x31a,0x370)]()[_0x25cfa5(0x10d,0x1bb,0x1a2,0x1ef)](),'token':z[_0x5c47d8(0x3ae,0x447,0x48c,0x40c)]()[_0x25cfa5(0x26b,0x2b4,0x1a2,0x52)](),'defaultModel':z['string']()[_0x25cfa5(0x2e6,0x7a,0x1a2,0x10f)](),'smallModel':z[_0x25cfa5(0xb9,0x18,0x9f,-0x48)]()[_0x5c47d8(0x4b1,0x5a9,0x46a,0x56d)](),'currentAuth':z[_0x5c47d8(0x3ae,0x2f9,0x2bf,0x51c)]()[_0x5c47d8(0x4b1,0x5e5,0x539,0x610)](),'auth':z[_0x25cfa5(0x171,0x1f1,0xcf,-0x2e)](authMethodSchema)[_0x5c47d8(0x4b1,0x59e,0x447,0x4f5)](),'surface':chatModelSurfaceSchema[_0x25cfa5(0xee,0x292,0x1a2,0x239)](),'baseUrl':z['string']()[_0x25cfa5(0xb5,0xaa,0x1a2,0x195)](),'models':modelConfigSchema[_0x25cfa5(0x29d,0x1f2,0x1a2,0x2d4)](),'customHeaders':z['record'](z['string'](),z[_0x25cfa5(-0xa0,-0x76,0x9f,0x143)]())[_0x5c47d8(0x4b1,0x40c,0x5d7,0x3ae)]()})[_0x25cfa5(0x1a5,0x91,0x15d,0x224)](),mcpServerConfigSchema=z[_0x5c47d8(0x4ca,0x598,0x4a4,0x617)]({'command':z[_0x25cfa5(0x74,0x1c5,0x9f,0x1e9)]()[_0x25cfa5(0x247,0x58,0x1a2,0xce)](),'args':z[_0x5c47d8(0x3de,0x549,0x4fd,0x439)](z['string']())[_0x5c47d8(0x4b1,0x448,0x4a8,0x5d1)](),'env':z[_0x25cfa5(0x23,-0x4e,-0x57,-0x66)](z[_0x25cfa5(0x71,-0x15,0x9f,0xa6)](),z[_0x25cfa5(0xab,0x14a,0x9f,-0x4)]())[_0x5c47d8(0x4b1,0x563,0x3cc,0x5ba)](),'transport':z[_0x25cfa5(0xa3,0xb8,0x48,0x169)](['stdio',_0x5c47d8(0x402,0x506,0x53b,0x2b8)])['optional'](),'url':z[_0x5c47d8(0x3ae,0x4dc,0x2a9,0x51f)]()[_0x25cfa5(0x282,0x2b4,0x1a2,0xf7)](),'headers':z[_0x5c47d8(0x2b8,0x287,0x3c5,0x18e)](z[_0x5c47d8(0x3ae,0x513,0x2f0,0x3d7)](),z[_0x25cfa5(0xaa,0x1a2,0x9f,0x173)]())['optional'](),'prefix':z['string']()[_0x5c47d8(0x4b1,0x3a7,0x5fd,0x3eb)](),'timeoutMs':z[_0x5c47d8(0x27e,0x33a,0x2b5,0x1c0)]()[_0x5c47d8(0x4b1,0x4d6,0x39f,0x589)](),'enabled':z[_0x25cfa5(-0x188,-0xd8,-0x1b,-0x6f)]()[_0x25cfa5(0x158,0x12a,0x1a2,0x249)](),'auth':z[_0x25cfa5(0x101,0x9b,0x1bb,0x27b)]({'type':z[_0x25cfa5(-0xe3,0x76,0x48,0x85)]([_0x25cfa5(0x21d,0xa1,0x211,0x2a8),_0x25cfa5(0x1b6,0x2af,0x149,0x143),_0x25cfa5(0xb3,0xdd,0x1af,0xeb)]),'token':z['string']()['optional'](),'oauth':z[_0x25cfa5(0x1ed,0x27b,0x1bb,0xe6)]({'clientId':z['string']()[_0x5c47d8(0x4b1,0x5c8,0x42c,0x4d3)](),'clientMetadataUrl':z[_0x25cfa5(0x85,0x120,0x9f,0x192)]()[_0x25cfa5(0x2cd,0x5b,0x1a2,0x2d8)](),'authorizationServer':z[_0x5c47d8(0x3ae,0x49e,0x24a,0x23d)]()[_0x25cfa5(0x9e,0x272,0x1a2,0x81)](),'scopes':z[_0x25cfa5(0x181,0x196,0xcf,0x11d)](z[_0x25cfa5(0xac,0x80,0x9f,0x19f)]())[_0x5c47d8(0x4b1,0x612,0x3be,0x5da)](),'tokenStorageKey':z[_0x5c47d8(0x3ae,0x4aa,0x35d,0x515)]()[_0x5c47d8(0x4b1,0x4a5,0x5c8,0x44d)]()})[_0x25cfa5(0x25,0x1af,0x15d,0x271)]()['optional']()})[_0x5c47d8(0x46c,0x542,0x44d,0x4bc)]()['optional']()})[_0x5c47d8(0x46c,0x3b7,0x520,0x3c1)](),mcpSettingsSchema=z[_0x25cfa5(0x28b,0x2fc,0x1bb,0x27d)]({'servers':z[_0x5c47d8(0x2b8,0x42b,0x253,0x2a3)](z[_0x5c47d8(0x3ae,0x359,0x4ff,0x4ed)](),mcpServerConfigSchema)[_0x5c47d8(0x4b1,0x3fc,0x536,0x390)](),'allowedTools':z['record'](z[_0x25cfa5(0x7,-0x3c,0x9f,0x164)](),z[_0x25cfa5(-0xe1,0x92,-0x57,0x77)](z[_0x5c47d8(0x3ae,0x30e,0x2c8,0x4db)](),z['boolean']()))[_0x5c47d8(0x4b1,0x3ec,0x566,0x450)](),'defaultTimeoutMs':z[_0x25cfa5(-0x183,0x88,-0x91,0x45)]()[_0x5c47d8(0x4b1,0x4b4,0x4dd,0x544)]()})['passthrough'](),skillsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x5c47d8(0x4b1,0x4ab,0x3cb,0x3a4)](),'includeDefaults':z[_0x25cfa5(-0x65,0x48,-0x1b,0xd)]()['optional'](),'directories':z[_0x25cfa5(-0x72,0xd8,0xcf,-0x11)](z[_0x5c47d8(0x3ae,0x370,0x2e9,0x46a)]())[_0x25cfa5(0x19e,0xad,0x1a2,0x1e4)](),'exclude':z[_0x5c47d8(0x3de,0x2c3,0x52c,0x49f)](z[_0x5c47d8(0x3ae,0x286,0x4cf,0x338)]())[_0x25cfa5(0x155,0x1f6,0x1a2,0x2f5)]()})['passthrough'](),commandsSettingsSchema=z[_0x5c47d8(0x4ca,0x4ef,0x3d4,0x4ad)]({'enabled':z[_0x5c47d8(0x2f4,0x282,0x24b,0x205)]()[_0x25cfa5(0x26e,0x208,0x1a2,0x2f5)](),'directories':z['array'](z[_0x25cfa5(0x1d6,0x1cc,0x9f,0xd7)]())[_0x25cfa5(0xa4,0x1f7,0x1a2,0x15f)]()})[_0x5c47d8(0x46c,0x448,0x5c1,0x4d4)](),agentsSettingsSchema=z[_0x5c47d8(0x4ca,0x42c,0x60f,0x4b4)]({'enabled':z['boolean']()[_0x25cfa5(0xe8,0x1c6,0x1a2,0x1b2)](),'includeDefaults':z[_0x25cfa5(-0x14e,-0xff,-0x1b,-0xd)]()[_0x25cfa5(0x25a,0x18f,0x1a2,0x14f)](),'directories':z['array'](z['string']())[_0x25cfa5(0x230,0x2ad,0x1a2,0x282)]()})[_0x5c47d8(0x46c,0x2f5,0x404,0x40f)](),uiThemeSettingsSchema=z[_0x5c47d8(0x4ca,0x592,0x384,0x407)]({'mode':z[_0x25cfa5(0x96,0x93,0x48,-0x3c)]([_0x25cfa5(0xad,0xbe,0xf6,0x254),_0x25cfa5(0x3f,-0x1e,0x143,0x1ba),'light'])['optional'](),'colorLevel':z[_0x25cfa5(0x52,0x108,0x48,0x135)]([_0x25cfa5(0x26,0x1c8,0xf6,0x149),_0x25cfa5(0x13b,0xc8,0x211,0x15a),'ansi16',_0x25cfa5(0x16b,0x8d,0x17,-0xfe),'truecolor'])[_0x5c47d8(0x4b1,0x558,0x5e3,0x577)](),'backgrounds':z[_0x5c47d8(0x357,0x2bc,0x23a,0x456)]([_0x25cfa5(0x50,0x147,0xf6,0x26c),'on',_0x5c47d8(0x485,0x3b1,0x37a,0x482)])[_0x25cfa5(0x24d,0x1d4,0x1a2,0x2a5)](),'messageStyle':z[_0x25cfa5(-0x5,-0xee,0x48,0x1a8)]([_0x25cfa5(0x141,-0x14,0x4e,0x9c),'boxed'])[_0x5c47d8(0x4b1,0x380,0x56b,0x350)]()})[_0x25cfa5(0x24e,0x1bc,0x15d,0x28f)](),statuslineSegmentSchema=z[_0x5c47d8(0x357,0x480,0x3f1,0x344)]([_0x5c47d8(0x300,0x2a9,0x3f4,0x226),_0x25cfa5(-0x16e,-0x17,-0x39,0xa5),'thinking','sudo',_0x5c47d8(0x52c,0x53b,0x59e,0x4a1),_0x5c47d8(0x3e9,0x2ab,0x405,0x2d5),_0x5c47d8(0x44b,0x408,0x57f,0x328),_0x5c47d8(0x33e,0x1c6,0x2f2,0x3da),'tools',_0x5c47d8(0x432,0x4b1,0x537,0x391),_0x25cfa5(0x8c,0x12c,0x193,0xa5),_0x5c47d8(0x488,0x31c,0x5d5,0x399),_0x5c47d8(0x31a,0x2d0,0x21e,0x3d8),'memory','rss']),statuslineItemSchema=z['union']([statuslineSegmentSchema,z[_0x5c47d8(0x4a8,0x528,0x561,0x3f3)]('|')]),statuslineRowSchema=z[_0x5c47d8(0x3de,0x4a8,0x497,0x3bf)](statuslineItemSchema),statuslineConfigSchema=z[_0x25cfa5(0x177,0x1b9,0x1bb,0x332)]({'rows':z[_0x25cfa5(-0x1c,0x11,0xdf,0xcf)]([statuslineRowSchema,statuslineRowSchema])[_0x25cfa5(0x116,0x144,0x1a2,0x13c)]()})[_0x5c47d8(0x46c,0x442,0x4b5,0x4c1)](),memorySettingsSchema=z[_0x25cfa5(0x1b2,0x26a,0x1bb,0x211)]({'version':z[_0x5c47d8(0x4a8,0x4c5,0x586,0x48a)](0x2)[_0x5c47d8(0x4b1,0x461,0x4ce,0x5b6)](),'retrieval':z[_0x25cfa5(0x2a7,0x214,0x1bb,0x21b)]({'engine':z[_0x5c47d8(0x4a8,0x35f,0x352,0x532)](_0x25cfa5(0x148,0x13e,0x1d2,0x2a0))['optional'](),'candidateLimit':z[_0x25cfa5(0x7,-0x1f8,-0x91,-0xab)]()['optional'](),'activeCandidateLimit':z[_0x5c47d8(0x27e,0x10c,0x387,0x16c)]()['optional'](),'activeEnabled':z[_0x25cfa5(0x60,0x41,-0x1b,-0x193)]()['optional'](),'maxQueriesPerTurn':z[_0x5c47d8(0x27e,0x178,0x1af,0x112)]()[_0x5c47d8(0x4b1,0x4f0,0x3e4,0x5ae)](),'coreInjectTokenBudget':z[_0x25cfa5(0x27,0x47,-0x91,-0x1f)]()[_0x25cfa5(0x2b0,0x2f0,0x1a2,0x22c)](),'injectTokenBudget':z[_0x5c47d8(0x27e,0x39d,0x25b,0x145)]()['optional'](),'minScore':z[_0x5c47d8(0x27e,0x16c,0x2a5,0x2bb)]()[_0x25cfa5(0x1de,0x300,0x1a2,0x31)](),'freshnessHalfLifeDays':z['number']()[_0x5c47d8(0x4b1,0x50d,0x3b4,0x407)]()})[_0x25cfa5(0x89,0xb3,0x15d,0x35)]()[_0x25cfa5(0x2e3,0x1e2,0x1a2,0x226)](),'extraction':z['object']({'enabled':z[_0x25cfa5(0x145,-0x73,-0x1b,0x3)]()[_0x5c47d8(0x4b1,0x490,0x36e,0x39a)](),'provider':z['string']()[_0x25cfa5(0x17e,0x309,0x1a2,0xcc)](),'model':z[_0x5c47d8(0x3ae,0x3cc,0x28a,0x24d)]()['optional'](),'sensitiveFilter':z[_0x25cfa5(0xba,-0xa7,-0x1b,0xd3)]()[_0x25cfa5(0xee,0x128,0x1a2,0x32)]()})[_0x25cfa5(0x35,0x298,0x15d,0x1e8)]()['optional'](),'index':z[_0x5c47d8(0x4ca,0x3ec,0x636,0x5cc)]({'persisted':z[_0x25cfa5(-0x174,0x129,-0x1b,-0x129)]()[_0x5c47d8(0x4b1,0x553,0x57d,0x3a1)](),'flushIntervalMs':z[_0x5c47d8(0x27e,0x124,0x355,0x1ac)]()['optional']()})['passthrough']()[_0x25cfa5(0x259,0x234,0x1a2,0x2b4)](),'enabled':z[_0x25cfa5(0x11b,0x110,-0x1b,-0x147)]()[_0x25cfa5(0x86,0x206,0x1a2,0x24c)](),'saveTool':z['boolean']()[_0x25cfa5(0x31,0x25b,0x1a2,0x241)](),'model':z[_0x5c47d8(0x3ae,0x31f,0x4d1,0x278)]()['optional'](),'provider':z[_0x25cfa5(0x1b7,0x209,0x9f,0x10b)]()['optional'](),'maxInjectionTokens':z[_0x5c47d8(0x27e,0x292,0x324,0x282)]()[_0x25cfa5(0x2c3,0x63,0x1a2,0x10b)](),'backgroundExtraction':z[_0x25cfa5(0x106,0x6a,-0x1b,0xe5)]()[_0x25cfa5(0x175,0x1ea,0x1a2,0x246)]()})[_0x25cfa5(0x7d,0x200,0x15d,0x295)](),recentModelSchema=z[_0x5c47d8(0x4ca,0x37e,0x3f3,0x63e)]({'provider':z[_0x5c47d8(0x3ae,0x2ee,0x2b4,0x40e)](),'model':z[_0x5c47d8(0x3ae,0x31a,0x477,0x3b9)](),'usedAt':z['number']()})[_0x25cfa5(0x204,0xe8,0x15d,0x275)](),lspServerEntrySchema=z[_0x25cfa5(0x16a,0x73,0x1bb,0x246)]({'disabled':z[_0x25cfa5(-0x15f,-0x6,-0x1b,-0x71)]()[_0x25cfa5(0x191,0x1ff,0x1a2,0xe8)](),'command':z[_0x5c47d8(0x3ae,0x3d8,0x459,0x455)]()[_0x5c47d8(0x4b1,0x43f,0x602,0x353)](),'args':z[_0x5c47d8(0x3de,0x32e,0x2fa,0x358)](z['string']())[_0x5c47d8(0x4b1,0x418,0x421,0x4d0)](),'rootMarkers':z[_0x5c47d8(0x3de,0x488,0x2ae,0x2f0)](z[_0x25cfa5(0x149,0x163,0x9f,0x156)]())['optional']()})[_0x25cfa5(0x1fd,0xe7,0x15d,0x206)](),lspConfigSchema=z[_0x5c47d8(0x4ca,0x37e,0x4d4,0x4e4)]({'enabled':z[_0x5c47d8(0x2f4,0x3d8,0x28f,0x233)]()['optional'](),'servers':z[_0x5c47d8(0x2b8,0x2d9,0x397,0x2b5)](z[_0x25cfa5(0x185,0x116,0x9f,-0xc8)](),lspServerEntrySchema)['optional']()})[_0x5c47d8(0x46c,0x328,0x3e8,0x4d8)](),serverEndpointSchema=z[_0x5c47d8(0x4ca,0x3b4,0x536,0x3a6)]({'url':z[_0x25cfa5(-0x56,0x1f,0x9f,0x1a7)](),'token':z['string']()[_0x5c47d8(0x4b1,0x439,0x38c,0x5e5)]()})['passthrough'](),commandHookConfigSchema=z[_0x25cfa5(0x7f,0x13b,0x1bb,0x207)]({'type':z[_0x5c47d8(0x4a8,0x465,0x434,0x3be)](_0x5c47d8(0x259,0x1e2,0x2d9,0x3ab)),'command':z[_0x5c47d8(0x3ae,0x26b,0x483,0x2ff)](),'timeout':z[_0x5c47d8(0x27e,0x34e,0x2fa,0x311)]()['optional']()}),hookMatcherGroupSchema=z[_0x25cfa5(0x230,0x1b6,0x1bb,0x29f)]({'matcher':z[_0x25cfa5(0x1ac,-0xb6,0x9f,0x5e)]()[_0x5c47d8(0x4b1,0x4c8,0x4d4,0x625)](),'hooks':z[_0x5c47d8(0x3de,0x36f,0x2d1,0x36f)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x5c47d8(0x4ca,0x375,0x462,0x597)]({'PreToolUse':z[_0x5c47d8(0x3de,0x2f7,0x4ff,0x53e)](hookMatcherGroupSchema)[_0x5c47d8(0x4b1,0x474,0x4a0,0x3d1)](),'PostToolUse':z[_0x5c47d8(0x3de,0x42f,0x2cf,0x4c0)](hookMatcherGroupSchema)[_0x5c47d8(0x4b1,0x5b1,0x35e,0x3c2)](),'UserPromptSubmit':z[_0x25cfa5(0x10c,0x40,0xcf,0x21d)](hookMatcherGroupSchema)[_0x25cfa5(0x17f,0x178,0x1a2,0x1c4)](),'Stop':z[_0x5c47d8(0x3de,0x538,0x513,0x305)](hookMatcherGroupSchema)[_0x5c47d8(0x4b1,0x3a5,0x5ae,0x627)](),'Notification':z[_0x25cfa5(0x176,0x69,0xcf,0x1f3)](hookMatcherGroupSchema)[_0x5c47d8(0x4b1,0x54a,0x522,0x45a)](),'ToolApprovalRequest':z[_0x5c47d8(0x3de,0x2a8,0x4da,0x35f)](hookMatcherGroupSchema)[_0x25cfa5(0x2e5,0x4d,0x1a2,0xaa)](),'SessionStart':z[_0x5c47d8(0x3de,0x35b,0x3b4,0x480)](hookMatcherGroupSchema)['optional'](),'SessionEnd':z['array'](hookMatcherGroupSchema)[_0x5c47d8(0x4b1,0x368,0x4b7,0x387)]()}),cliConfigSchema=z[_0x25cfa5(0x26e,0xb9,0x1bb,0x2cf)]({'activeProvider':z['string']()['optional'](),'activeModel':z['string']()[_0x5c47d8(0x4b1,0x5f1,0x420,0x3af)](),'apiKey':z[_0x5c47d8(0x3ae,0x27a,0x42a,0x385)]()[_0x5c47d8(0x4b1,0x5c2,0x5e2,0x479)](),'providers':z[_0x5c47d8(0x2b8,0x3be,0x30c,0x1e0)](z[_0x25cfa5(0x162,0x14e,0x9f,-0x32)](),providerConfigSchema)[_0x25cfa5(0xbf,0x26a,0x1a2,0x3e)](),'mcp':mcpSettingsSchema[_0x25cfa5(0x158,0x132,0x1a2,0x196)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x25cfa5(0x17d,0x11e,0x1a2,0x22b)](),'commands':commandsSettingsSchema[_0x25cfa5(0x11b,0x12e,0x1a2,0x11c)](),'skillsEnabled':z[_0x25cfa5(0x4f,0x9d,-0x57,-0x2e)](z[_0x5c47d8(0x3ae,0x4b7,0x2f6,0x439)](),z['boolean']())[_0x25cfa5(0xc8,0x23a,0x1a2,0x1ab)](),'allowedDirs':z[_0x25cfa5(0x175,-0x33,0xcf,-0x75)](z[_0x5c47d8(0x3ae,0x435,0x4f4,0x365)]())['optional'](),'mcpEnabled':z[_0x5c47d8(0x2b8,0x29d,0x2c2,0x3a8)](z['string'](),z[_0x25cfa5(-0x5f,-0x152,-0x1b,0xe7)]())[_0x25cfa5(0x1e5,0x282,0x1a2,0x1be)](),'commandsEnabled':z['record'](z[_0x25cfa5(0x203,0x83,0x9f,0xb0)](),z[_0x25cfa5(0x36,-0x18a,-0x1b,-0x9c)]())[_0x5c47d8(0x4b1,0x3c3,0x5e1,0x4ca)](),'memory':memorySettingsSchema['optional'](),'session':z['object']({'memPersist':z[_0x5c47d8(0x2f4,0x1ea,0x371,0x271)]()[_0x25cfa5(0x226,0x4e,0x1a2,0x23c)](),'persistEventLog':z['boolean']()['optional'](),'persistHttpLog':z['boolean']()[_0x25cfa5(0x143,0x289,0x1a2,0x77)]()})[_0x5c47d8(0x46c,0x477,0x3f2,0x436)]()[_0x25cfa5(0x29a,0x84,0x1a2,0x10c)](),'requireToolApproval':z['boolean']()[_0x5c47d8(0x4b1,0x5b4,0x351,0x609)](),'thinking':z[_0x25cfa5(0x31,0x90,0x48,0xc2)]([_0x5c47d8(0x341,0x1f6,0x260,0x224),_0x5c47d8(0x3af,0x40c,0x499,0x2c5),'MEDIUM',_0x5c47d8(0x4ba,0x43a,0x496,0x38f)])[_0x5c47d8(0x4b1,0x61a,0x3c4,0x3ed)](),'streamingChunks':z[_0x25cfa5(-0x1d,-0x107,-0x1b,-0x6d)]()[_0x25cfa5(0x1dc,0xa8,0x1a2,0xbf)](),'agentsEnabled':z[_0x5c47d8(0x2b8,0x30f,0x3e5,0x24c)](z[_0x5c47d8(0x3ae,0x3c6,0x281,0x3a2)](),z[_0x5c47d8(0x2f4,0x1f4,0x1fc,0x267)]())[_0x25cfa5(0xde,0xba,0x1a2,0x2b4)](),'recentModels':z[_0x5c47d8(0x3de,0x519,0x397,0x521)](recentModelSchema)[_0x5c47d8(0x4b1,0x568,0x4a0,0x45f)](),'lsp':lspConfigSchema[_0x5c47d8(0x4b1,0x43a,0x4e3,0x614)](),'servers':z[_0x25cfa5(-0x28,0xfb,-0x57,-0x26)](z[_0x5c47d8(0x3ae,0x2a3,0x45a,0x316)](),serverEndpointSchema)[_0x5c47d8(0x4b1,0x4c0,0x40e,0x454)](),'ui':z[_0x5c47d8(0x4ca,0x602,0x360,0x633)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x25cfa5(0x209,0x237,0x1a2,0x317)]()})[_0x5c47d8(0x46c,0x2f7,0x30d,0x4c3)]()['optional'](),'tools':z['record'](z[_0x5c47d8(0x3ae,0x4e7,0x501,0x4a6)](),z[_0x25cfa5(0x11a,-0xea,0x60,0x105)]())[_0x25cfa5(0xb3,0x1d9,0x1a2,0x24b)](),'hooks':hooksConfigSchema[_0x25cfa5(0x16f,0x16b,0x1a2,0x1cc)]()})[_0x5c47d8(0x46c,0x4e1,0x583,0x4ae)](),workspaceOverlaySchema=z[_0x5c47d8(0x4ca,0x4b4,0x5a5,0x52b)]({'root':z[_0x25cfa5(0xd8,0x14c,0x9f,0x11)]()[_0x25cfa5(0x131,0x2c1,0x1a2,0x2f7)](),'allowedDirs':z[_0x25cfa5(-0x6e,0xcb,0xcf,0x1e9)](z[_0x25cfa5(0x203,0xeb,0x9f,0x111)]())['optional'](),'activeProvider':z[_0x5c47d8(0x3ae,0x327,0x29f,0x493)]()[_0x25cfa5(0x15a,0x127,0x1a2,0x9a)](),'activeModel':z[_0x25cfa5(0x8d,0x118,0x9f,-0xbb)]()[_0x25cfa5(0x119,0x233,0x1a2,0x301)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x25cfa5(0x2de,0x1c4,0x1a2,0x1ce)](),'agents':agentsSettingsSchema[_0x5c47d8(0x4b1,0x59f,0x43a,0x3c6)](),'commands':commandsSettingsSchema[_0x25cfa5(0x23c,0x58,0x1a2,0x2fc)](),'hooks':hooksConfigSchema[_0x25cfa5(0xa1,0x61,0x1a2,0x109)](),'memory':memorySettingsSchema['optional'](),'mcpEnabled':z[_0x5c47d8(0x2b8,0x33e,0x335,0x18e)](z[_0x5c47d8(0x3ae,0x418,0x3e0,0x2b0)](),z[_0x5c47d8(0x2f4,0x30c,0x27a,0x368)]())['optional'](),'skillsEnabled':z[_0x25cfa5(-0x1b0,0x8c,-0x57,-0x52)](z['string'](),z[_0x5c47d8(0x2f4,0x277,0x2f9,0x1c0)]())['optional'](),'agentsEnabled':z[_0x5c47d8(0x2b8,0x207,0x19f,0x33c)](z[_0x25cfa5(-0xc6,0x20e,0x9f,0x201)](),z[_0x25cfa5(-0xa4,0x14,-0x1b,0x51)]())[_0x25cfa5(0xec,0x7b,0x1a2,0x2f0)](),'commandsEnabled':z[_0x5c47d8(0x2b8,0x1f0,0x20e,0x3bb)](z[_0x25cfa5(0x70,0x1d2,0x9f,0x1a0)](),z[_0x5c47d8(0x2f4,0x37d,0x1b9,0x1d9)]())[_0x25cfa5(0xab,0x181,0x1a2,0xd4)]()})['passthrough']();function buildDescription(_0x45fa84){const _0x48b67f={_0x355c09:0x77f,_0x525104:0x7d8,_0x5dac72:0x6ea,_0x54f41c:0x119,_0x28ed53:0xc3,_0x4b0cee:0x6c2,_0x384dcb:0x616,_0x272081:0x687,_0x224654:0x2d,_0x131744:0x5d,_0x2eb798:0xdb,_0x28ad9e:0xc5,_0x552f9e:0x541,_0x17102b:0x65a},_0x2a6fe2={_0x320d3b:0x2ad,_0x457ce7:0x163,_0x204095:0x7d},_0x40ba91={_0x4a83f6:0x77};function _0x8a764(_0x44a6d6,_0xd5b716,_0x5e33a6,_0x3c4fe0){return _0x25cfa5(_0x44a6d6-_0x40ba91._0x4a83f6,_0xd5b716,_0x5e33a6- -0x10b,_0x3c4fe0-0x159);}if(_0x45fa84['length']===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x1cf970(_0x48b67f._0x355c09,_0x48b67f._0x525104,_0x48b67f._0x5dac72,0x687),_0x1cf970(0x68d,0x7a3,0x65d,0x762)][_0x8a764(-0xd5,-0x19c,-_0x48b67f._0x54f41c,-_0x48b67f._0x28ed53)]('\x0a');const _0x32598b=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x1cf970(_0x48b67f._0x4b0cee,0x73b,_0x48b67f._0x384dcb,_0x48b67f._0x272081),_0x8a764(-_0x48b67f._0x224654,_0x48b67f._0x131744,_0x48b67f._0x2eb798,_0x48b67f._0x28ad9e),..._0x45fa84[_0x1cf970(0x524,_0x48b67f._0x552f9e,0x50f,_0x48b67f._0x17102b)](_0x42f4a2=>_0x42f4a2[_0x1cf970(0x54a,0x542,0x5e9,0x526)]?'-\x20'+_0x42f4a2[_0x8a764(0xa8,0x1c4,0xff,0xa9)]+'\x20'+_0x42f4a2[_0x8a764(-0x1de,-0x1ab,-0x1a1,-0x1f1)]+':\x20'+_0x42f4a2[_0x8a764(-0x188,-0x9,-0x116,-0x266)]:'-\x20'+_0x42f4a2[_0x1cf970(0x7e2,0x729,0x685,0x7c6)]+':\x20'+_0x42f4a2[_0x8a764(-0xe4,-0xe9,-0x116,-0xbf)])];function _0x1cf970(_0x396e78,_0x24603d,_0x29305f,_0x28ac92){return _0x5c47d8(_0x28ac92-_0x2a6fe2._0x320d3b,_0x24603d-_0x2a6fe2._0x457ce7,_0x29305f-_0x2a6fe2._0x204095,_0x24603d);}return _0x32598b['join']('\x0a');}function createInvokeCommandTool(_0x9ce8bf){const _0x15a776={_0x154d64:0x4c8,_0x4e677f:0x3b5,_0x66d90e:0x350,_0x4e1ef0:0x310,_0x11de62:0x220,_0x187b22:0x348,_0x35e9e2:0x380,_0x77e841:0x427,_0xc4afb6:0x489,_0x4851eb:0x41a,_0x5cc98e:0x301,_0x6e4a6b:0x507,_0x3d26f8:0x548},_0x7ca28d={_0x5ea2b6:0x95,_0x32645a:0xe4,_0x179c33:0x203,_0x8440b:0x46,_0x4fa5fc:0xa4,_0xaccfd2:0x110,_0x89b850:0x295,_0xf480f9:0x97,_0xf9c0b:0x106,_0x386bf1:0x7d,_0x454267:0x182,_0x17dc21:0x1bd,_0x309849:0x97,_0x424910:0x2b,_0x2f667a:0x3a,_0x30ee9c:0x14,_0x4e0421:0xc1,_0x1921c0:0x162,_0x176ea6:0xc,_0x58f26b:0x36,_0x5a825c:0x33e,_0x7f0c07:0x231,_0x199052:0x11d,_0x3fa591:0x4a0,_0x533de4:0x484},_0x31a37a={_0x1c680b:0x79,_0x412fe1:0x1e8,_0x16f55d:0x1cc},_0x2fbc00={_0x39f636:0x46},_0x5bd408={_0x403a14:0x2f,_0xd5b01a:0x13b};function _0x16fe08(_0x47ea9f,_0x5f2a47,_0x5f19ab,_0x5259a9){return _0x5c47d8(_0x5f19ab-_0x5bd408._0x403a14,_0x5f2a47-_0x5bd408._0xd5b01a,_0x5f19ab-0x1e7,_0x5f2a47);}const _0x2226b9=new Map(_0x9ce8bf['commands'][_0xc6ddec(0x499,_0x15a776._0x154d64,_0x15a776._0x4e677f,0x299)](_0xd9ee10=>[_0xd9ee10['id'],_0xd9ee10])),_0x4f2edf=buildDescription(_0x9ce8bf[_0xc6ddec(0x224,_0x15a776._0x66d90e,_0x15a776._0x4e1ef0,_0x15a776._0x11de62)]);function _0xc6ddec(_0x31f895,_0x444b36,_0x25b326,_0x2f25d6){return _0x25cfa5(_0x31f895-_0x2fbc00._0x39f636,_0x31f895,_0x25b326-0x317,_0x2f25d6-0xef);}return defineTool({'name':_0x16fe08(_0x15a776._0x187b22,_0x15a776._0x35e9e2,_0x15a776._0x77e841,_0x15a776._0xc4afb6),'description':_0x4f2edf,'inputSchema':{'type':'object','properties':{'name':{'type':_0xc6ddec(_0x15a776._0x4851eb,0x526,0x3b6,_0x15a776._0x5cc98e)},'args':{'type':_0x16fe08(_0x15a776._0x6e4a6b,0x3d7,0x3dd,0x34e)}},'required':[_0x16fe08(0x49d,0x491,_0x15a776._0x3d26f8,0x52e)]},async *'execute'(_0x4e194b){const _0x3676bd={_0x14b667:0x48a},_0x2ba8f1=_0x2226b9[_0x36e698(-0x119,-0x206,-0x1e2,-_0x7ca28d._0x5ea2b6)](_0x4e194b['name']);if(!_0x2ba8f1){const _0x60383a=Array[_0x2f5d71(0x320,0xc1,_0x7ca28d._0x32645a,_0x7ca28d._0x179c33)](_0x2226b9[_0x36e698(-_0x7ca28d._0x8440b,_0x7ca28d._0x4fa5fc,-_0x7ca28d._0xaccfd2,-0x101)]())[_0x2f5d71(0x6d,0x15c,_0x7ca28d._0x89b850,0x148)](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0x4e194b[_0x36e698(_0x7ca28d._0xf480f9,_0x7ca28d._0xf9c0b,0x33,-_0x7ca28d._0x386bf1)]+_0x2f5d71(_0x7ca28d._0x454267,_0x7ca28d._0x17dc21,0x178,0x2e5)+_0x60383a,{'name':_0x4e194b[_0x36e698(_0x7ca28d._0x309849,_0x7ca28d._0x424910,_0x7ca28d._0x2f667a,-_0x7ca28d._0x30ee9c)]});}const _0x2602ed=await _0x9ce8bf[_0x36e698(-0x1c,0xb3,_0x7ca28d._0x4e0421,-0x176)](_0x2ba8f1),_0x46f25e=_0x4e194b[_0x36e698(-_0x7ca28d._0x1921c0,_0x7ca28d._0x176ea6,-0x12,-_0x7ca28d._0x58f26b)]??'';function _0x2f5d71(_0x47eee1,_0x580e66,_0x51c4a2,_0x215f63){return _0x16fe08(_0x47eee1-_0x31a37a._0x1c680b,_0x580e66,_0x215f63- -_0x31a37a._0x412fe1,_0x215f63-_0x31a37a._0x16f55d);}const _0x964216=renderCommandInstructions({'instructions':_0x2602ed['instructions'],'argumentsText':_0x46f25e,'argumentNames':_0x2602ed[_0x2f5d71(0x23d,_0x7ca28d._0x5a825c,_0x7ca28d._0x7f0c07,0x28d)]});function _0x36e698(_0x2c2ec6,_0x446f20,_0x2a8aab,_0x24bd93){return _0xc6ddec(_0x446f20,_0x446f20-0x182,_0x2c2ec6- -_0x3676bd._0x14b667,_0x24bd93-0x73);}return yield createToolOutput(_0x964216,{'id':_0x2602ed['id'],'name':_0x2602ed['name'],'path':_0x2ba8f1[_0x36e698(0x15,0xd5,0x61,-_0x7ca28d._0x199052)][_0x2f5d71(_0x7ca28d._0x3fa591,0x24f,_0x7ca28d._0x533de4,0x357)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0xf5f087,rename as _0x42e5ba,stat as _0x12c177,writeFile as _0x46899c}from'fs/promises';import*as _0x495426 from'path';function detectEol(_0x24a28f){const _0x295b1d={_0x46091c:0x67b,_0x1cd2ca:0x64b,_0x4b456c:0x65c,_0x1a0243:0x612},_0x256d60={_0x389bc4:0x1c2,_0x5e6ed3:0x1c0};function _0x18f9b7(_0x4afefb,_0x3c11d2,_0x4183c6,_0x1837cc){return _0x5c47d8(_0x1837cc-0x147,_0x3c11d2-0xa0,_0x4183c6-0x1e1,_0x4183c6);}function _0x236d1f(_0x149838,_0xf62a3c,_0x2a6d4e,_0x422d38){return _0x5c47d8(_0xf62a3c-_0x256d60._0x389bc4,_0xf62a3c-_0x256d60._0x5e6ed3,_0x2a6d4e-0x66,_0x149838);}return/\r\n/['test'](_0x24a28f['toString'](_0x18f9b7(0x4fa,_0x295b1d._0x46091c,0x5d7,_0x295b1d._0x1cd2ca)))?_0x236d1f(_0x295b1d._0x4b456c,_0x295b1d._0x1a0243,0x58b,0x61b):'lf';}function normalizeToLf(_0x343d89){return _0x343d89['replace'](/\r\n/g,'\x0a');}function convertEol(_0x427803,_0x3b577f){const _0x1d965c={_0x1c3a6e:0x438},_0x18753e={_0x6cbd2b:0x1c7,_0x36e7ec:0x10a};function _0x2eb7d8(_0x2d3a89,_0xb1d8ef,_0x4c5f06,_0x44ad4a){return _0x25cfa5(_0x2d3a89-_0x18753e._0x6cbd2b,_0x4c5f06,_0xb1d8ef-0x405,_0x44ad4a-_0x18753e._0x36e7ec);}return _0x3b577f===_0x2eb7d8(0x467,0x546,0x661,_0x1d965c._0x1c3a6e)?_0x427803['replace'](/\n/g,'\x0d\x0a'):_0x427803;}async function atomicWrite(_0x3b29cf,_0x73a491){const _0x920600={_0xd9c735:0x2b,_0x27e8ed:0xf0,_0x1b37d7:0x45,_0x4166da:0x44d,_0xe2e01f:0xcb,_0x1544b2:0x22,_0x93f3a9:0x104,_0x2570c5:0x2cf,_0x23a5dd:0x21e,_0x940645:0x30e,_0x7b1654:0x3b1,_0x1b858b:0x254},_0x2b29f3={_0x1178a9:0x64},_0x3c2ad3={_0x2998c9:0xf3,_0x6f6029:0x1a7,_0x2472a8:0x8c};function _0x48344e(_0x416efe,_0x497522,_0xdff571,_0x340023){return _0x25cfa5(_0x416efe-_0x3c2ad3._0x2998c9,_0xdff571,_0x340023- -_0x3c2ad3._0x6f6029,_0x340023-_0x3c2ad3._0x2472a8);}const _0x19ec56=_0x495426[_0x48344e(-0x231,0x75,-_0x920600._0xd9c735,-_0x920600._0x27e8ed)](_0x3b29cf),_0x9fd815=_0x495426['join'](_0x19ec56,_0x48344e(0x1b5,0xbd,0x73,_0x920600._0x1b37d7)+_0x495426[_0x43758b(0x58f,0x4d5,0x464,_0x920600._0x4166da)](_0x3b29cf)+'.'+Date['now']()+'.'+Math[_0x48344e(-_0x920600._0xe2e01f,-_0x920600._0x1544b2,-0xed,-_0x920600._0x93f3a9)]()[_0x43758b(_0x920600._0x2570c5,_0x920600._0x23a5dd,_0x920600._0x940645,0x1a6)](0x24)[_0x48344e(-_0x920600._0x7b1654,-0x12e,-0x134,-_0x920600._0x1b858b)](0x2));function _0x43758b(_0xd49dd3,_0x14b9c9,_0x344a14,_0x1583a1){return _0x5c47d8(_0x14b9c9- -_0x2b29f3._0x1178a9,_0x14b9c9-0x1ed,_0x344a14-0x7,_0x344a14);}await _0x46899c(_0x9fd815,_0x73a491),await _0x42e5ba(_0x9fd815,_0x3b29cf);}function sha256(_0x1893c7){const _0x3e2b32={_0x155e5f:0x38a,_0x3eea53:0x6b5,_0x92b8fa:0x2fa,_0x5a04ca:0x3ff},_0x40cc92={_0x5566ca:0x74,_0x80fe47:0x4f},_0x4f241f={_0x5e65df:0x39};function _0x5b46ed(_0x388cbf,_0x179074,_0x284d3c,_0x17f756){return _0x5c47d8(_0x284d3c- -0x272,_0x179074-_0x4f241f._0x5e65df,_0x284d3c-0x140,_0x179074);}function _0x1c4b19(_0x1df909,_0x38aeae,_0x56ac3d,_0x1025ac){return _0x25cfa5(_0x1df909-_0x40cc92._0x5566ca,_0x1025ac,_0x38aeae-0x3f7,_0x1025ac-_0x40cc92._0x80fe47);}return createHash('sha256')[_0x5b46ed(_0x3e2b32._0x155e5f,0x312,0x2bb,0x3ec)](_0x1893c7)[_0x1c4b19(_0x3e2b32._0x3eea53,0x61e,0x652,0x4d6)](_0x1c4b19(_0x3e2b32._0x92b8fa,_0x3e2b32._0x5a04ca,0x51c,0x526));}function countLines(_0x3fa8e8){const _0x425837={_0x33498d:0x238,_0x303964:0x1f9,_0x17b992:0x158},_0x5956a6={_0x28d626:0xc5,_0x35f4ef:0x7f},_0x2b76f9={_0x522649:0x1c4};function _0x5cebd4(_0x35d1f6,_0x3feb19,_0x137fed,_0xda54b2){return _0x25cfa5(_0x35d1f6-0x188,_0x3feb19,_0x35d1f6-0x5ba,_0xda54b2-_0x2b76f9._0x522649);}function _0x2e5c1f(_0x35e3df,_0x2ef8ed,_0x4115e6,_0x1e86a8){return _0x25cfa5(_0x35e3df-_0x5956a6._0x28d626,_0x4115e6,_0x35e3df- -_0x5956a6._0x35f4ef,_0x1e86a8-0x1d);}const _0x3567b9=_0x3fa8e8['replace'](/\n$/,'');return _0x3567b9['length']===0x0?0x0:_0x3567b9[_0x2e5c1f(0xf3,_0x425837._0x33498d,0x26b,_0x425837._0x303964)]('\x0a')[_0x2e5c1f(_0x425837._0x17b992,0x164,0xba,0x3b)];}function calculateLineNumbers(_0x2279fc,_0x7f0695,_0x240588,_0x58b9f8){const _0x84ffd1={_0x5ac2cc:0x8e,_0x2a3393:0x34,_0x344be8:0xa1,_0xc82d37:0x36b},_0x494b23={_0xede6ee:0x1d4,_0xeb2a2c:0x60},_0x4beb6d={_0x3528fa:0x18e,_0x8662bf:0xd8},_0x186204=_0x2279fc[_0xf4f865(_0x84ffd1._0x5ac2cc,0x1df,-_0x84ffd1._0x2a3393,_0x84ffd1._0x344be8)](0x0,_0x58b9f8)['split']('\x0a')[_0xf4f865(0x312,0x2f5,_0x84ffd1._0xc82d37,0x33c)],_0x416f04=countLines(_0x7f0695);function _0x497fb3(_0x1b3c5a,_0x1ed5ed,_0xbbeb27,_0x4c07ad){return _0x5c47d8(_0x4c07ad- -0x144,_0x1ed5ed-_0x4beb6d._0x3528fa,_0xbbeb27-_0x4beb6d._0x8662bf,_0x1ed5ed);}const _0x317ef5=countLines(_0x240588);function _0xf4f865(_0x4ec893,_0x24fd2e,_0x353e8e,_0x5d3a0a){return _0x5c47d8(_0x4ec893- -_0x494b23._0xede6ee,_0x24fd2e-_0x494b23._0xeb2a2c,_0x353e8e-0x1e,_0x353e8e);}return{'oldStartLine':_0x186204,'oldEndLine':_0x186204+_0x416f04-0x1,'newStartLine':_0x186204,'newEndLine':_0x186204+_0x317ef5-0x1,'oldLineCount':_0x416f04,'newLineCount':_0x317ef5};}function createFileEditTool(_0x532e37={}){const _0x36d9ed={_0x4bfd0c:0x240,_0x576405:0xd2,_0x5c240f:0x3b,_0x1fa015:0x3db,_0x2eb016:0x311,_0x5b3b64:0x1da,_0x44e0e5:0x3e7,_0x141503:0x2df,_0x44c0bb:0x18d,_0x48d591:0x2cc,_0x257932:0x1b3,_0x3684ea:0x2cd,_0xbe148f:0x20b,_0x282f44:0xa6,_0xab212f:0x375,_0x4ed151:0xb2,_0x1bca59:0x2ea,_0x15b7d2:0xcc,_0x1cb10b:0x1e2,_0x113fd5:0x1c7,_0x42877c:0x3c7,_0x10eb80:0x410,_0x4f4b38:0x32c},_0x25be3a={_0x11cd4a:0x22c,_0x52044f:0x244,_0x23b9d7:0x12d,_0x5c8589:0x27e,_0x5982e4:0x333,_0x32f511:0x3a8,_0x11d419:0x6e5,_0x50aad3:0x320,_0xfea71f:0x1f8,_0x500def:0x24c,_0x313475:0x2a4,_0x36b905:0x191,_0x317f05:0x182,_0xb569be:0x29a,_0x30b7e5:0x2e1,_0x2bba50:0x168,_0x338b50:0x225,_0x4f90ee:0x12b,_0x5ef8df:0x391,_0xfc93eb:0x6,_0x999a42:0x12d,_0xf615c0:0x20,_0x80c05e:0x98,_0x1bf973:0x742,_0x5c2e65:0x5ed,_0x578ad6:0x2bb,_0x325978:0x33a,_0x421743:0x28c,_0x5daa22:0x6a7,_0x4e7c73:0x69d,_0x58bc59:0x618,_0x22aea6:0x4d1,_0x1b7f32:0x67d,_0x44d38d:0x383,_0x59ae4b:0x545,_0x1d6a8b:0x3d5,_0x43ee28:0x44f,_0x5132e7:0x372,_0xae6344:0x5ab,_0x4f0f7b:0x69c,_0x32e64f:0x64b,_0x58397d:0x415,_0x1bb990:0x79,_0x86170f:0x123,_0x4d2137:0x15e,_0x93fe86:0x6c3,_0x2af972:0x522,_0x42e209:0x5e4},_0x53b3ce={_0x3716e2:0x152},_0x1d9b6f={_0x5af6bc:0x1d5},_0x1ddca6={_0x2023db:0xe6,_0x53c9bd:0x225,_0x1ec214:0x1c7};function _0x1e16bf(_0x101bf0,_0x3bc60f,_0x46d638,_0xce2265){return _0x25cfa5(_0x101bf0-_0x1ddca6._0x2023db,_0x3bc60f,_0x46d638-_0x1ddca6._0x53c9bd,_0xce2265-_0x1ddca6._0x1ec214);}const _0x415544=_0x495426[_0x1e16bf(0x33a,0x16d,_0x36d9ed._0x4bfd0c,0x162)](_0x532e37[_0x41366a(-0x6a,0x27,_0x36d9ed._0x576405,_0x36d9ed._0x5c240f)]??process[_0x1e16bf(0x3d0,_0x36d9ed._0x1fa015,_0x36d9ed._0x2eb016,0x30c)]()),_0x1973e3=(_0x532e37['allowedDirs']??[])[_0x1e16bf(0x18d,0x14e,0x2c3,_0x36d9ed._0x5b3b64)](_0x536fba=>_0x495426['resolve'](_0x536fba));function _0x41366a(_0x4e31b1,_0x27fbfa,_0x47f5c0,_0x109365){return _0x5c47d8(_0x47f5c0- -0x1a3,_0x27fbfa-_0x1d9b6f._0x5af6bc,_0x47f5c0-0xc6,_0x109365);}const _0x240830=_0x532e37['name']??_0x1e16bf(0x36a,_0x36d9ed._0x44e0e5,0x346,0x360);return defineTool({'name':_0x240830,'description':_0x41366a(_0x36d9ed._0x141503,_0x36d9ed._0x44c0bb,_0x36d9ed._0x48d591,_0x36d9ed._0x257932),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x41366a(_0x36d9ed._0x3684ea,0x343,_0x36d9ed._0xbe148f,0x1e4)},'oldText':{'type':_0x41366a(0x22a,_0x36d9ed._0x282f44,_0x36d9ed._0xbe148f,_0x36d9ed._0xab212f)},'newText':{'type':_0x41366a(_0x36d9ed._0x4ed151,0xe2,_0x36d9ed._0xbe148f,_0x36d9ed._0x1bca59)},'dryRun':{'type':_0x1e16bf(0x11d,0x365,0x20a,0x1c2)}},'required':[_0x41366a(_0x36d9ed._0x15b7d2,0x15,0x154,_0x36d9ed._0x1cb10b),_0x41366a(_0x36d9ed._0x113fd5,_0x36d9ed._0x42877c,0x2ec,0x449),_0x1e16bf(0x3f9,_0x36d9ed._0x10eb80,_0x36d9ed._0x4f4b38,0x380)]},async *'execute'(_0x2b7b7b){const _0x4a6701={_0x5d78bd:0x56,_0x34696b:0x96},_0xd8e20b=resolveAllowedPath(_0x415544,_0x1973e3,_0x2b7b7b[_0x103962(_0x25be3a._0x11cd4a,_0x25be3a._0x52044f,_0x25be3a._0x23b9d7,0x106)]);await assertWorkspaceFile(_0xd8e20b);const _0x3d7d65=await _0x12c177(_0xd8e20b),_0x570aa0=await _0xf5f087(_0xd8e20b),_0x10d2bf=detectEol(_0x570aa0);function _0x103962(_0x20549c,_0x5869f3,_0xf7a817,_0x4c2bb5){return _0x1e16bf(_0x20549c-0xc3,_0x20549c,_0xf7a817- -0xe0,_0x4c2bb5-_0x53b3ce._0x3716e2);}const _0x3f1332=normalizeToLf(_0x570aa0[_0x35f602(_0x25be3a._0x5c8589,0x3eb,_0x25be3a._0x5982e4,_0x25be3a._0x32f511)]('utf8')),_0x18be22=normalizeToLf(_0x2b7b7b[_0x35f602(0x4d7,_0x25be3a._0x11d419,0x49d,0x5b5)]),_0x14231e=normalizeToLf(_0x2b7b7b[_0x103962(_0x25be3a._0x50aad3,_0x25be3a._0xfea71f,_0x25be3a._0x500def,_0x25be3a._0x313475)]),_0x11ebd6=_0x3f1332[_0x103962(_0x25be3a._0x36b905,0x1a1,_0x25be3a._0x317f05,0x13f)](_0x18be22);if(_0x11ebd6===-0x1){const _0x3ab082=_0x18be22[_0x35f602(0x21a,_0x25be3a._0xb569be,_0x25be3a._0x30b7e5,0x388)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0x103962(_0x25be3a._0x2bba50,_0x25be3a._0x338b50,_0x25be3a._0x4f90ee,0x17a)+_0x3ab082+(_0x18be22['length']>0x64?_0x35f602(0x360,0x423,_0x25be3a._0x5ef8df,0x3fa):'')+'\x22',{'filePath':_0x2b7b7b[_0x103962(-_0x25be3a._0xfc93eb,0xd2,_0x25be3a._0x999a42,0x67)]});}const _0x4ac9ad=_0x3f1332['slice'](0x0,_0x11ebd6)+_0x14231e+_0x3f1332[_0x103962(0xd6,_0x25be3a._0xf615c0,_0x25be3a._0x80c05e,0xdb)](_0x11ebd6+_0x18be22[_0x35f602(0x63e,_0x25be3a._0x1bf973,_0x25be3a._0x5c2e65,0x60c)]),_0x49afcd=convertEol(_0x4ac9ad,_0x10d2bf),_0x5f559c=Buffer['from'](_0x49afcd,_0x103962(_0x25be3a._0x578ad6,0x367,_0x25be3a._0x325978,0x21a)),_0x3cd4c2=sha256(_0x570aa0),_0x11514f=sha256(_0x5f559c),_0x461cc5=_0x3cd4c2===_0x11514f,_0x21891b=_0x2b7b7b[_0x35f602(0x370,_0x25be3a._0x421743,0x27b,0x37a)]??![];!_0x21891b&&!_0x461cc5&&await atomicWrite(_0xd8e20b,_0x5f559c);yield createToolOutput(_0x461cc5?_0x35f602(_0x25be3a._0x5daa22,0x5fc,_0x25be3a._0x4e7c73,_0x25be3a._0x58bc59):_0x21891b?_0x35f602(_0x25be3a._0x22aea6,_0x25be3a._0x1b7f32,0x3e5,0x516):'Edit\x20applied\x20successfully.',{'filePath':_0x2b7b7b[_0x35f602(_0x25be3a._0x44d38d,0x4e6,_0x25be3a._0x59ae4b,0x41d)],'resolvedPath':_0xd8e20b,'created':_0x3d7d65['birthtime'][_0x35f602(_0x25be3a._0x1d6a8b,0x310,_0x25be3a._0x43ee28,_0x25be3a._0x5132e7)](),'modified':_0x3d7d65[_0x35f602(0x69c,_0x25be3a._0xae6344,_0x25be3a._0x4f0f7b,_0x25be3a._0x32e64f)][_0x35f602(0x22a,0x21e,_0x25be3a._0x58397d,0x372)](),'size':_0x3d7d65[_0x103962(_0x25be3a._0x1bb990,_0x25be3a._0x86170f,0xfa,_0x25be3a._0x4d2137)],'eol':_0x10d2bf,'oldTextLength':_0x18be22[_0x35f602(_0x25be3a._0x93fe86,_0x25be3a._0x2af972,0x5c1,0x60c)],'newTextLength':_0x14231e['length'],'bytesWritten':_0x461cc5||_0x21891b?0x0:_0x5f559c[_0x35f602(0x63b,_0x25be3a._0x42e209,0x608,0x60c)],'beforeSha':_0x3cd4c2,'afterSha':_0x11514f,'dryRun':_0x21891b,'noChange':_0x461cc5,'lineNumbers':calculateLineNumbers(_0x3f1332,_0x18be22,_0x14231e,_0x11ebd6)});function _0x35f602(_0x4625fe,_0x144a90,_0x183f3c,_0x8ab2d6){return _0x1e16bf(_0x4625fe-_0x4a6701._0x5d78bd,_0x4625fe,_0x8ab2d6-0x210,_0x8ab2d6-_0x4a6701._0x34696b);}return void 0x0;}});}import{mkdir as _0x2f8957,rename as _0x2d5f2,stat as _0x1ad9a8,writeFile as _0x355c8a}from'fs/promises';import*as _0xa3f28c from'path';async function atomicWrite2(_0x2ab66d,_0x366ff8){const _0x3572bd={_0x168d23:0x6,_0x4234a0:0x5e,_0x97d4bc:0x313,_0x10d65e:0x32a,_0x56c26b:0x48d},_0x26bf94={_0x3eabdc:0xc8,_0x4bf7c0:0x18b,_0x22a534:0xa7},_0x55d21d={_0x10505b:0x23},_0x3eafec=_0xa3f28c[_0x156f00(-_0x3572bd._0x168d23,0x97,-0x20,0xca)](_0x2ab66d);await _0x2f8957(_0x3eafec,{'recursive':!![]});const _0x119970=_0xa3f28c[_0x156f00(-0xcb,_0x3572bd._0x4234a0,-0x12c,0x25)](_0x3eafec,'.tmp.'+_0xa3f28c['basename'](_0x2ab66d)+'.'+Date['now']()+'.'+Math['random']()['toString'](0x24)[_0x312177(0x2d9,_0x3572bd._0x97d4bc,_0x3572bd._0x10d65e,_0x3572bd._0x56c26b)](0x2));await _0x355c8a(_0x119970,_0x366ff8);function _0x156f00(_0x4ef7af,_0x59305b,_0x15c6d0,_0x4646af){return _0x5c47d8(_0x4ef7af- -0x3cc,_0x59305b-_0x55d21d._0x10505b,_0x15c6d0-0x153,_0x59305b);}function _0x312177(_0x1477a9,_0x458458,_0x2e3d7b,_0x4c6258){return _0x5c47d8(_0x2e3d7b-_0x26bf94._0x3eabdc,_0x458458-_0x26bf94._0x4bf7c0,_0x2e3d7b-_0x26bf94._0x22a534,_0x1477a9);}await _0x2d5f2(_0x119970,_0x2ab66d);}function createFileNewTool(_0x139938={}){const _0xfd6486={_0x58ab35:0xdd,_0x45960c:0xbc,_0x146b5b:0x152,_0x51ac61:0x19d,_0x2fcef6:0x3ee,_0x32efe1:0x421,_0x3a5e16:0x2ea,_0x11aaf8:0x30b,_0x26c00c:0x278,_0x40829e:0x31e,_0x3d5d8a:0x35d,_0x3f783b:0x373,_0x5cee43:0x434,_0x85995e:0x263,_0x388097:0x2df,_0x1faf02:0x3d4,_0x56799f:0x1eb,_0xe0760b:0x31d,_0x2d3c9e:0x1ed,_0x57e32f:0x257},_0x871143={_0x652f8f:0x272,_0xf405d2:0x86,_0xd8bf:0x1b2,_0x2bcca1:0x419,_0x3fd102:0x46c,_0x4bf8ba:0x38c,_0x12b55e:0x59a,_0x583971:0x4eb,_0x492d0e:0x54d,_0x448fda:0x38b,_0xee746f:0x452,_0x56809e:0x218,_0x3d75a8:0x24a,_0x201835:0x18b,_0x4881c6:0x550,_0x5ecf2e:0x6e0,_0x212d8d:0x476,_0x6e18c3:0x2f3,_0x462126:0x3c0,_0x4ff9fb:0x303,_0x1b17b6:0x4bd,_0x35976d:0x47f,_0x4ece12:0x407,_0x245843:0x52e,_0x192645:0x448,_0x2d24e2:0x260,_0x33bf24:0x2fc},_0x1023c3={_0x301328:0x18a},_0xb94aec={_0x234b66:0x123,_0x503c2f:0x1bc},_0x409171={_0x5696ab:0xb7,_0xabe988:0xbe},_0x321e0e=_0xa3f28c[_0xe106ae(0x207,_0xfd6486._0x58ab35,_0xfd6486._0x45960c,0x189)](_0x139938[_0xe106ae(_0xfd6486._0x146b5b,0xb4,0xb6,_0xfd6486._0x51ac61)]??process[_0xaf888(_0xfd6486._0x2fcef6,_0xfd6486._0x32efe1,_0xfd6486._0x3a5e16,0x4a4)]());function _0xaf888(_0x5e58b0,_0xc94cc8,_0x5c087a,_0x3fe206){return _0x5c47d8(_0xc94cc8-0x26,_0xc94cc8-_0x409171._0x5696ab,_0x5c087a-_0x409171._0xabe988,_0x5e58b0);}const _0x15630d=(_0x139938['allowedDirs']??[])[_0xe106ae(0x28a,0x1e0,0x3d5,_0xfd6486._0x11aaf8)](_0x38fb89=>_0xa3f28c[_0xe106ae(0x207,0x34c,0x2a0,0x343)](_0x38fb89)),_0x261869=_0x139938['name']??_0xe106ae(_0xfd6486._0x26c00c,_0xfd6486._0x40829e,0x391,0x191);function _0xe106ae(_0x27c42a,_0x3aefb8,_0x1e401a,_0x3cc7d2){return _0x5c47d8(_0x27c42a- -_0xb94aec._0x234b66,_0x3aefb8-_0xb94aec._0x503c2f,_0x1e401a-0x42,_0x1e401a);}return defineTool({'name':_0x261869,'description':_0xaf888(_0xfd6486._0x3d5d8a,_0xfd6486._0x3f783b,_0xfd6486._0x5cee43,_0xfd6486._0x85995e),'inputSchema':{'type':_0xe106ae(0x3a7,0x301,_0xfd6486._0x388097,0x2bd),'properties':{'filePath':{'type':_0xaf888(0x3ea,_0xfd6486._0x1faf02,0x4fb,0x3ef)},'content':{'type':'string'}},'required':[_0xaf888(_0xfd6486._0x56799f,_0xfd6486._0xe0760b,0x37f,0x332),_0xe106ae(_0xfd6486._0x2d3c9e,0x86,_0xfd6486._0x57e32f,0x25f)]},async *'execute'(_0x56897c){const _0x3e3b86={_0x2f44f5:0x10c},_0x8bdf90=resolveAllowedPath(_0x321e0e,_0x15630d,_0x56897c[_0x1fe4f5(0x2b7,_0x871143._0x652f8f,0x3a7,0x481)]),_0x2150bd=await _0x1ad9a8(_0x8bdf90)[_0x5a1fc3(0x222,0x193,_0x871143._0xf405d2,0x182)](()=>!![])[_0x5a1fc3(_0x871143._0xd8bf,0x2b6,_0x871143._0x2bcca1,0x215)](()=>![]);function _0x1fe4f5(_0x1e39c2,_0x136718,_0x16c635,_0x217f62){return _0xe106ae(_0x16c635-0x1d3,_0x136718-_0x1023c3._0x301328,_0x1e39c2,_0x217f62-0x57);}const _0x3a0928=Buffer[_0x1fe4f5(0x3c4,0x5bb,_0x871143._0x3fd102,_0x871143._0x4bf8ba)](_0x56897c['content'],_0x5a1fc3(0x56e,0x425,_0x871143._0x12b55e,_0x871143._0x583971));await atomicWrite2(_0x8bdf90,_0x3a0928),yield createToolOutput(_0x1fe4f5(_0x871143._0x492d0e,_0x871143._0x448fda,0x3df,_0x871143._0xee746f)+_0x56897c[_0x5a1fc3(0x25c,_0x871143._0x56809e,_0x871143._0x3d75a8,0x1d2)]+'.',{'filePath':_0x56897c[_0x5a1fc3(0x24f,_0x871143._0x56809e,0x1f3,_0x871143._0x201835)],'resolvedPath':_0x8bdf90,'bytes':_0x3a0928[_0x1fe4f5(_0x871143._0x4881c6,_0x871143._0x5ecf2e,0x596,_0x871143._0x212d8d)],'lines':_0x56897c[_0x1fe4f5(0x4c8,_0x871143._0x6e18c3,_0x871143._0x462126,_0x871143._0x4ff9fb)][_0x5a1fc3(_0x871143._0x1b17b6,0x3a2,0x476,_0x871143._0x35976d)](/\r?\n/)[_0x5a1fc3(0x2c0,_0x871143._0x4ece12,_0x871143._0x245843,_0x871143._0x192645)],'created':new Date()[_0x1fe4f5(0x401,_0x871143._0x2d24e2,_0x871143._0x33bf24,0x313)](),'overwritten':_0x2150bd});function _0x5a1fc3(_0x4fcb85,_0x1bdfe5,_0x1ce9c3,_0x3a6c77){return _0xe106ae(_0x1bdfe5-0x44,_0x1bdfe5-0xeb,_0x4fcb85,_0x3a6c77-_0x3e3b86._0x2f44f5);}return void 0x0;}});}import{readFile as _0x46d017,stat as _0x1eb03a}from'fs/promises';import*as _0x19418e from'path';function stripUtfBom(_0x2313f6){const _0x51fa07={_0x20274e:0x115,_0x22aabd:0x1c4,_0x5b2210:0x119},_0x148217={_0x2d21d0:0x398,_0x2de5bc:0x70,_0x2b7a4c:0x122};function _0x2855cc(_0x1b002c,_0x6a65cf,_0xf70685,_0x37b979){return _0x5c47d8(_0x1b002c- -_0x148217._0x2d21d0,_0x6a65cf-_0x148217._0x2de5bc,_0xf70685-_0x148217._0x2b7a4c,_0xf70685);}return _0x2313f6[_0x2855cc(-0x71,-_0x51fa07._0x20274e,-_0x51fa07._0x22aabd,-_0x51fa07._0x5b2210)](0x0)===0xfeff?_0x2313f6['slice'](0x1):_0x2313f6;}function clampLine(_0x316c32,_0x1eefd0){const _0x48d895={_0x5b79e6:0x389,_0x3a680a:0x3b8,_0x3f154b:0x49b,_0x5b66b6:0x36e},_0x36b306={_0x277459:0x101,_0x1fbf1b:0x7d},_0x4aaa99={_0x4c7979:0x15b};if(!Number['isFinite'](_0x316c32))return 0x1;function _0x38ae7f(_0x3630d0,_0xd1aaac,_0x120ddd,_0x28bb66){return _0x25cfa5(_0x3630d0-0x42,_0xd1aaac,_0x120ddd-0x36d,_0x28bb66-_0x4aaa99._0x4c7979);}function _0x309507(_0x4dd7ac,_0x14961f,_0x2e56f2,_0x1cb1d2){return _0x5c47d8(_0x2e56f2-_0x36b306._0x277459,_0x14961f-0x1ea,_0x2e56f2-_0x36b306._0x1fbf1b,_0x1cb1d2);}return Math[_0x309507(0x31d,0x3a1,_0x48d895._0x5b79e6,_0x48d895._0x3a680a)](0x1,Math[_0x38ae7f(0x248,0x22b,0x386,0x3c2)](Math[_0x38ae7f(_0x48d895._0x3f154b,0x334,0x33c,_0x48d895._0x5b66b6)](_0x316c32),_0x1eefd0));}function createFileReadTool(_0x331046={}){const _0x4849a9={_0x19ead1:0x2a5,_0xdbb5d8:0x13e,_0x34825:0x419,_0xdc6666:0x3da,_0x31c700:0x2ab,_0x4b6b73:0x1e9,_0x555e6a:0x31e,_0x3d0a21:0xb2,_0xae00fd:0x71,_0x506b06:0x315,_0x5ef083:0xbd,_0x3cfd1d:0x1c1,_0x2d09d7:0x6c3,_0x3edb26:0x6a4,_0x4da4ad:0x639,_0x1f456f:0x337,_0x153de5:0x1c8,_0x15a349:0x38,_0x169ba6:0x92,_0x4ed87f:0x519,_0x40fd9c:0x4c8,_0x17a9a2:0x681,_0x28b5b7:0x6b4,_0x4ff2b5:0x792,_0x1c9f67:0x629},_0x4aeeb1={_0x3f2be8:0x22e,_0x4d7d8e:0x2a2,_0x1d1170:0x17,_0x5773f0:0x260,_0x22a46b:0x24d,_0x2dd51f:0x250,_0x42f399:0x191,_0x38ec1d:0x1e4,_0x8a05f3:0xfd,_0x418f21:0x16d,_0x5930d7:0x87,_0x9ea798:0x4c,_0x15ace8:0x58,_0x2b174c:0x2df,_0x51d3e:0x19e,_0x9ef7da:0x281,_0xfaf11e:0x13,_0x53a068:0x44,_0x42bb03:0xc8,_0x3d7ac6:0xa2,_0x2ce6f7:0x1e0,_0x2802a1:0x233,_0x50021b:0x12b,_0x3fcdb1:0xcd,_0x256803:0x151,_0xb5ac4:0x103,_0x30418f:0xca,_0x39be11:0xc2,_0x4749de:0x25c,_0x30acf3:0x39c,_0x28fa15:0x218,_0xbefaf0:0x186,_0x4059ed:0xad,_0x550878:0x25c,_0x1a33dd:0x1e1,_0x1087ec:0x275,_0x2fdf84:0x141,_0x34e7e6:0x49,_0x3ec299:0x57,_0x581741:0xc7,_0x5bc61e:0x182,_0x2f2035:0x223,_0x48c183:0x1c9,_0x404e5c:0x184,_0x577e1e:0x2e,_0x400ca6:0x5b,_0x4ffc06:0x29e,_0x877bd3:0x1e2},_0x1fd6e9={_0x1966d8:0x523},_0xe3ec85={_0x4224a5:0x11c,_0xb40c51:0x123,_0x1d8f86:0x121},_0x1e611c={_0x429181:0x21},_0x53a6e1=_0x19418e[_0x22c9d9(0x297,_0x4849a9._0x19ead1,_0x4849a9._0xdbb5d8,0xa3)](_0x331046[_0x3bdd70(0x58e,_0x4849a9._0x34825,_0x4849a9._0xdc6666,0x3a5)]??process[_0x22c9d9(_0x4849a9._0x31c700,_0x4849a9._0x4b6b73,0x20f,_0x4849a9._0x555e6a)]());function _0x3bdd70(_0x58096,_0x485c8d,_0x3cf390,_0x50442e){return _0x5c47d8(_0x485c8d-0x1a4,_0x485c8d-_0x1e611c._0x429181,_0x3cf390-0x6f,_0x3cf390);}const _0x5ae4e6=(_0x331046[_0x22c9d9(0x4d,_0x4849a9._0x3d0a21,_0x4849a9._0xae00fd,0xac)]??[])[_0x22c9d9(_0x4849a9._0x506b06,_0x4849a9._0x5ef083,_0x4849a9._0x3cfd1d,0x1c8)](_0x40d4eb=>_0x19418e[_0x22c9d9(0x1a9,0x2d,0x13e,0x1ab)](_0x40d4eb));function _0x22c9d9(_0x308772,_0x47a4b2,_0x70a2d9,_0x548b70){return _0x25cfa5(_0x308772-_0xe3ec85._0x4224a5,_0x308772,_0x70a2d9-_0xe3ec85._0xb40c51,_0x548b70-_0xe3ec85._0x1d8f86);}const _0x5a1a68=_0x331046['name']??_0x3bdd70(_0x4849a9._0x2d09d7,_0x4849a9._0x3edb26,0x5fa,_0x4849a9._0x4da4ad);return defineTool({'name':_0x5a1a68,'description':_0x22c9d9(0x2e6,0x3ae,_0x4849a9._0x1f456f,0x34f),'inputSchema':{'type':'object','properties':{'path':{'type':'string'},'lineStart':{'type':'number','description':_0x3bdd70(0x6e0,0x69e,0x7f5,0x67d)},'lineEnd':{'type':_0x22c9d9(_0x4849a9._0x153de5,_0x4849a9._0x15a349,_0x4849a9._0x169ba6,0x59),'description':_0x3bdd70(_0x4849a9._0x4ed87f,_0x4849a9._0x40fd9c,0x51d,0x42d)}},'required':[_0x3bdd70(_0x4849a9._0x17a9a2,_0x4849a9._0x28b5b7,_0x4849a9._0x4ff2b5,_0x4849a9._0x1c9f67)]},async *'execute'(_0x4e9af6){const _0x57ad6b={_0x8a9f94:0x8c,_0x3534ad:0x9e};function _0x4906a7(_0x565eda,_0x383345,_0x472654,_0x5f5b1c){return _0x22c9d9(_0x472654,_0x383345-_0x57ad6b._0x8a9f94,_0x565eda- -_0x57ad6b._0x3534ad,_0x5f5b1c-0xc4);}const _0x1bb79f=resolveAllowedPath(_0x53a6e1,_0x5ae4e6,_0x4e9af6[_0x204420(0x1f5,_0x4aeeb1._0x3f2be8,_0x4aeeb1._0x4d7d8e,0x191)]);await assertWorkspaceFile(_0x1bb79f);const _0x343ea1=await _0x1eb03a(_0x1bb79f),_0x4771ec=await _0x46d017(_0x1bb79f);if(isProbablyBinary(_0x4771ec))throw new ToolExecutionError(_0x4906a7(0x102,_0x4aeeb1._0x1d1170,_0x4aeeb1._0x5773f0,-0x3b)+_0x4e9af6[_0x204420(0x1b1,_0x4aeeb1._0x22a46b,_0x4aeeb1._0x2dd51f,_0x4aeeb1._0x42f399)],{'path':_0x4e9af6['path']});let _0x33f069=_0x4771ec[_0x204420(-0x24f,-0x1a6,-_0x4aeeb1._0x38ec1d,-_0x4aeeb1._0x8a05f3)](_0x4906a7(0x27a,0x2ba,_0x4aeeb1._0x418f21,0x284));const _0x30c177=_0x33f069[_0x204420(0xed,_0x4aeeb1._0x5930d7,_0x4aeeb1._0x9ea798,-_0x4aeeb1._0x15ace8)](0x0)===0xfeff;_0x33f069=stripUtfBom(_0x33f069);function _0x204420(_0x4e3e57,_0x58ee0d,_0x3686bc,_0x56619d){return _0x3bdd70(_0x4e3e57-0x155,_0x56619d- -_0x1fd6e9._0x1966d8,_0x58ee0d,_0x56619d-0x4d);}const _0x948fdf=_0x33f069[_0x4906a7(0x1f7,_0x4aeeb1._0x2b174c,_0x4aeeb1._0x51d3e,0x1c2)](/\r?\n/),_0x5bad5a={'path':_0x4e9af6['path'],'resolvedPath':_0x1bb79f,'created':_0x343ea1[_0x204420(_0x4aeeb1._0x9ef7da,_0x4aeeb1._0xfaf11e,0x29e,0x168)]['toISOString'](),'modified':_0x343ea1[_0x204420(0x2a7,_0x4aeeb1._0x53a068,_0x4aeeb1._0x42bb03,0x1a6)][_0x4906a7(-0x3e,_0x4aeeb1._0x3d7ac6,-0x7c,0x20)](),'size':_0x343ea1[_0x204420(-_0x4aeeb1._0x2ce6f7,-0x91,-0xb7,-0xbb)],'encoding':'utf8','bomStripped':_0x30c177,'truncated':![],'totalLines':_0x948fdf[_0x204420(_0x4aeeb1._0x2802a1,0x29c,_0x4aeeb1._0x50021b,0x167)]};if(_0x4e9af6[_0x4906a7(0x3e,-_0x4aeeb1._0x3fcdb1,_0x4aeeb1._0x256803,0x46)]!==void 0x0||_0x4e9af6[_0x204420(0x179,0x18,0x1b,_0x4aeeb1._0xb5ac4)]!==void 0x0){const _0x54093f=clampLine(_0x4e9af6[_0x204420(-_0x4aeeb1._0x30418f,_0x4aeeb1._0x39be11,-0x63,-0xb7)]??0x1,_0x948fdf[_0x4906a7(_0x4aeeb1._0x4749de,_0x4aeeb1._0x30acf3,0xf5,_0x4aeeb1._0x28fa15)]),_0x59bbff=clampLine(_0x4e9af6[_0x4906a7(0x1f8,_0x4aeeb1._0xbefaf0,_0x4aeeb1._0x4059ed,0x108)]??_0x948fdf[_0x4906a7(_0x4aeeb1._0x550878,0x2f6,_0x4aeeb1._0x1a33dd,0x274)],_0x948fdf[_0x4906a7(0x25c,0x275,_0x4aeeb1._0x1087ec,_0x4aeeb1._0x2fdf84)]),_0x244303=Math[_0x204420(0x65,-0x105,-_0x4aeeb1._0x34e7e6,-_0x4aeeb1._0x3ec299)](_0x54093f,_0x59bbff),_0x1dae29=Math[_0x4906a7(-0x2,-0x35,0x28,-_0x4aeeb1._0x581741)](_0x54093f,_0x59bbff),_0x23cb49=_0x948fdf['slice'](_0x244303-0x1,_0x1dae29)[_0x4906a7(0x123,_0x4aeeb1._0x5bc61e,_0x4aeeb1._0x2f2035,_0x4aeeb1._0x48c183)]((_0x3d92aa,_0x50d9d8)=>_0x244303+_0x50d9d8+'|'+_0x3d92aa)[_0x204420(-_0x4aeeb1._0x404e5c,_0x4aeeb1._0x577e1e,-_0x4aeeb1._0x400ca6,-0x7e)]('\x0a');return yield createToolOutput(_0x23cb49,{..._0x5bad5a,'lineRange':{'lineStart':_0x244303,'lineEnd':_0x1dae29,'linesTotal':_0x948fdf[_0x4906a7(_0x4aeeb1._0x550878,0x357,_0x4aeeb1._0x4ffc06,_0x4aeeb1._0x877bd3)]}}),void 0x0;}return yield createToolOutput(_0x33f069,_0x5bad5a),void 0x0;}});}import{stat as _0x1a758d}from'fs/promises';import*as _0x4501fe from'path';import{execSync,spawn as _0x1c170b}from'child_process';import{existsSync}from'fs';import{stat as _0x369404}from'fs/promises';import*as _0x3941c4 from'os';import*as _0x46a0a7 from'path';import{rgPath as _0x1ea413}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x3ee6b8={_0x73ec08:0x26c,_0x3e3239:0x1b8,_0x61077c:0x150,_0x848ad9:0x9d,_0x10c01f:0xe2,_0x22a53a:0x54,_0x109e00:0x17f,_0x2a0151:0x1dc,_0x4da2f7:0x2b2,_0x53a70e:0x1cc,_0x51ee63:0x81,_0x31662c:0x26,_0xaef6a5:0xbd,_0x3ae701:0xf,_0x235ef1:0x56,_0x28c2d8:0x1c7,_0x22d548:0x1b3,_0xdcd99b:0xe7,_0x4d13a6:0x3f3,_0x365d1d:0x10e,_0xf336a6:0x2bf,_0x9c17f6:0x26e,_0x4b4aa3:0x1dd,_0x1a91a9:0x94,_0x3e7a84:0x6e,_0x3d133f:0x306,_0x5c7f86:0x161,_0x246ab9:0x1f8,_0x5af4d5:0x16e,_0x49c3ff:0x43,_0x3423af:0x12e,_0x1ce432:0xe,_0x18fa61:0xba,_0x4c209a:0xeb,_0x48521a:0x7b,_0x55836e:0xd6,_0x151d75:0x1f5,_0x3300d7:0x1ad,_0x3d283e:0x300,_0x31b556:0x247,_0x19b6dd:0x132,_0xb3d1d8:0x1d6,_0x259c2c:0xe8,_0x21d799:0xf9,_0x46bdd0:0x2ba,_0x5b0de1:0x11c,_0x1a9e7d:0x110},_0x446cbd={_0x3db610:0x84},_0x170ed5={_0x143841:0x186};function _0x37a93a(_0x208890,_0x20a83d,_0x15d557,_0x365985){return _0x5c47d8(_0x15d557- -0x357,_0x20a83d-0x12b,_0x15d557-_0x170ed5._0x143841,_0x20a83d);}const _0x429527=_0x3941c4['platform']()===_0x13b86a(_0x3ee6b8._0x73ec08,_0x3ee6b8._0x3e3239,_0x3ee6b8._0x61077c,_0x3ee6b8._0x848ad9),_0x7c734=_0x429527?[_0x46a0a7[_0x13b86a(-_0x3ee6b8._0x10c01f,_0x3ee6b8._0x22a53a,-0xd2,0xf)](process['env'][_0x13b86a(0x10d,_0x3ee6b8._0x109e00,_0x3ee6b8._0x2a0151,_0x3ee6b8._0x4da2f7)]||'',_0x37a93a(-0x75,-_0x3ee6b8._0x53a70e,-0x6c,_0x3ee6b8._0x51ee63),'WinGet',_0x37a93a(_0x3ee6b8._0x31662c,0x124,_0x3ee6b8._0xaef6a5,0x231)),_0x46a0a7[_0x37a93a(-0x128,_0x3ee6b8._0x3ae701,-_0x3ee6b8._0x235ef1,0x11b)](process[_0x37a93a(-0x54,-0x49,-0x5,0x119)][_0x37a93a(_0x3ee6b8._0x28c2d8,0x1f2,_0x3ee6b8._0x22d548,0x100)]||'',_0x37a93a(0xf8,-_0x3ee6b8._0xdcd99b,-0x1,-0x11a),_0x13b86a(_0x3ee6b8._0x4d13a6,0x286,_0x3ee6b8._0x365d1d,_0x3ee6b8._0xf336a6)),_0x46a0a7[_0x37a93a(-0xcf,-0x132,-_0x3ee6b8._0x235ef1,0x82)](process['env'][_0x13b86a(_0x3ee6b8._0x9c17f6,0x149,_0x3ee6b8._0x4b4aa3,0x44)]||'',_0x13b86a(_0x3ee6b8._0x365d1d,0xa9,_0x3ee6b8._0x1a91a9,_0x3ee6b8._0x3e7a84),_0x37a93a(_0x3ee6b8._0x3d133f,_0x3ee6b8._0x5c7f86,0x1dc,_0x3ee6b8._0x246ab9))]:['/opt/homebrew/bin/rg','/usr/local/bin/rg',_0x37a93a(_0x3ee6b8._0x5af4d5,_0x3ee6b8._0x49c3ff,0x14d,-0x23),_0x13b86a(-_0x3ee6b8._0x3423af,_0x3ee6b8._0x1ce432,-_0x3ee6b8._0x18fa61,0x9)];function _0x13b86a(_0x429b14,_0x4b9762,_0x1b174a,_0x110285){return _0x25cfa5(_0x429b14-_0x446cbd._0x3db610,_0x429b14,_0x4b9762-0x62,_0x110285-0x166);}for(const _0x11bc2a of _0x7c734){if(existsSync(_0x11bc2a))return _0x11bc2a;}try{const _0x4f27ed=_0x429527?_0x37a93a(-0x110,-0x24e,-_0x3ee6b8._0x4c209a,-0x260):_0x13b86a(-_0x3ee6b8._0x48521a,_0x3ee6b8._0x55836e,0x1b6,0xa),_0x77a76d=execSync(_0x4f27ed,{'encoding':_0x37a93a(_0x3ee6b8._0x151d75,0x9f,_0x3ee6b8._0x3300d7,0x19d),'stdio':['pipe','pipe',_0x37a93a(_0x3ee6b8._0x3d283e,_0x3ee6b8._0x31b556,0x1ca,_0x3ee6b8._0x19b6dd)]})[_0x37a93a(0x21e,_0x3ee6b8._0xb3d1d8,_0x3ee6b8._0x259c2c,_0x3ee6b8._0x21d799)]()[_0x13b86a(_0x3ee6b8._0x46bdd0,0x1d4,_0x3ee6b8._0x5b0de1,_0x3ee6b8._0x1a9e7d)](/\r?\n/)[0x0];if(_0x77a76d&&existsSync(_0x77a76d))return _0x77a76d;}catch{return null;}return null;}async function filepath(){const _0x5b1ef0={_0x4e02c4:0x370,_0x5d924b:0x531},_0x3a59d7={_0x3407a9:0x29};if(cachedRgPath)return cachedRgPath;if(_0x1ea413&&existsSync(_0x1ea413))return cachedRgPath=_0x1ea413,_0x1ea413;const _0x1229de=findSystemRipgrep();if(!_0x1229de)throw new Error(_0x423cda(_0x5b1ef0._0x4e02c4,0x589,0x455,_0x5b1ef0._0x5d924b));function _0x423cda(_0x82a1af,_0x42f546,_0x939e5,_0x1b09ab){return _0x25cfa5(_0x82a1af-_0x3a59d7._0x3407a9,_0x42f546,_0x939e5-0x22d,_0x1b09ab-0x17d);}return cachedRgPath=_0x1229de,_0x1229de;}async function*files(_0x70c668){const _0x36a133={_0x492d22:0x130,_0x1fe471:0x13,_0x223790:0x1cc,_0x2eaefe:0x12a,_0x486974:0x20b,_0x2e32fa:0x13a,_0xfeef4c:0x62,_0x4ebc16:0xae,_0x33dac0:0x1c,_0x1aadfa:0x138,_0x535f66:0x7,_0x37844b:0x1a9,_0xb171a5:0x69,_0x55493d:0x232,_0x2dc735:0x40b,_0x3a05fd:0x33c,_0x5d0800:0x371,_0x35ce73:0x212,_0x4eeb5a:0x1fe,_0x59e054:0x166,_0x2bc8d0:0x4c,_0x22104d:0xff,_0x4f7a7a:0xcf,_0x2ef025:0x165,_0x1fa5cf:0x6d,_0x29c4da:0x94,_0x19e27c:0x153,_0x3ee183:0x20f,_0x1c88f7:0x256,_0x5b033e:0x54,_0x400bd2:0x7d,_0x2e15e7:0x40,_0x51dcbb:0x1e1,_0x41c7c6:0xbc,_0x268111:0x1a6,_0x18b066:0x1b6,_0x164385:0x2f8,_0x5c4187:0x1ba,_0xec95ed:0x23d,_0x4f0ba7:0x29b,_0x29daa7:0x205,_0x435bff:0x33e,_0x146c1d:0x376,_0xcf4440:0x10f,_0x5dac2c:0x14d,_0x31fc91:0x174},_0x1bd08a={_0x366d78:0x1a1,_0xf20ea5:0x77},_0x224e85={_0xdd159e:0x22,_0x3a22ed:0x44},_0x105398=await filepath();function _0x27357a(_0x3fdbcd,_0x22f1fc,_0x1d0abe,_0x565b31){return _0x25cfa5(_0x3fdbcd-_0x224e85._0xdd159e,_0x22f1fc,_0x1d0abe-_0x224e85._0x3a22ed,_0x565b31-0x86);}const _0x1726d1=await _0x369404(_0x70c668[_0x27357a(0x234,0xec,_0x36a133._0x492d22,0x254)])[_0x27357a(-_0x36a133._0x1fe471,0x1,0xca,_0x36a133._0x223790)](()=>null);if(!_0x1726d1?.[_0x27357a(_0x36a133._0x2eaefe,0x332,_0x36a133._0x486974,0x2c9)]())throw Object[_0x27357a(_0x36a133._0x2e32fa,-_0x36a133._0xfeef4c,_0x36a133._0x4ebc16,_0x36a133._0x33dac0)](new Error(_0x27357a(0x109,-_0x36a133._0x1aadfa,0x37,-0x12f)+_0x70c668[_0x27357a(_0x36a133._0x535f66,0x17f,0x130,_0x36a133._0x37844b)]+'\x27'),{'code':_0x27357a(-0x170,_0x36a133._0xb171a5,-0x35,-0x69)});const _0x542dad=[_0x41e580(_0x36a133._0x55493d,0x2bb,0x3f2,0x2fd),_0x41e580(_0x36a133._0x2dc735,_0x36a133._0x3a05fd,0x2aa,_0x36a133._0x5d0800),_0x41e580(_0x36a133._0x35ce73,_0x36a133._0x4eeb5a,_0x36a133._0x59e054,0x25c),_0x27357a(_0x36a133._0x2bc8d0,_0x36a133._0x22104d,-0x79,-_0x36a133._0x4f7a7a)];for(const _0x1bc05f of _0x70c668['glob']??[]){_0x542dad['push'](_0x27357a(_0x36a133._0x2ef025,-_0x36a133._0x1fa5cf,_0x36a133._0x29c4da,0x18c)+_0x1bc05f);}const _0x3ad26b=_0x1c170b(_0x105398,_0x542dad,{'cwd':_0x70c668['cwd'],'stdio':[_0x27357a(_0x36a133._0x19e27c,_0x36a133._0x3ee183,_0x36a133._0x1c88f7,_0x36a133._0x19e27c),_0x27357a(0x90,0xc3,_0x36a133._0x5b033e,0x1c0),_0x27357a(-_0x36a133._0x400bd2,_0x36a133._0x2e15e7,0x54,0xe9)]});let _0x26ec58='';function _0x41e580(_0x5122a7,_0x105329,_0x2b08af,_0x413b94){return _0x5c47d8(_0x105329- -0x1a8,_0x105329-_0x1bd08a._0x366d78,_0x2b08af-_0x1bd08a._0xf20ea5,_0x2b08af);}for await(const _0x1b74a5 of _0x3ad26b[_0x27357a(0x359,0x200,_0x36a133._0x51dcbb,_0x36a133._0x41c7c6)]??[]){_0x26ec58+=_0x1b74a5['toString']();const _0x4a7cfc=_0x26ec58[_0x27357a(0x173,_0x36a133._0x268111,_0x36a133._0x18b066,_0x36a133._0x164385)](/\r?\n/);_0x26ec58=_0x4a7cfc[_0x27357a(0xac,0x7b,-0x50,-_0x36a133._0x5c4187)]()??'';for(const _0xdcef1b of _0x4a7cfc){if(_0xdcef1b[_0x41e580(0x373,0x33e,_0x36a133._0xec95ed,0x392)]>0x0)yield _0xdcef1b;}}_0x26ec58[_0x41e580(_0x36a133._0x4f0ba7,0x297,_0x36a133._0x29daa7,0x23b)]()[_0x41e580(0x3ad,_0x36a133._0x435bff,_0x36a133._0x146c1d,0x38c)]>0x0&&(yield _0x26ec58[_0x27357a(_0x36a133._0xcf4440,_0x36a133._0x5dac2c,_0x36a133._0x31fc91,0x22b)]());}function parseMatchLine(_0xc1c280,_0x20d6bd){const _0x265e03={_0x6c3bda:0x2da,_0x10d346:0x4d0,_0x2cd729:0x403,_0xff5081:0x13e,_0x3e2e9f:0x29b,_0x5cf051:0x227,_0x5bf899:0x3ad,_0x93d3d:0x33a,_0x4bce0e:0x461,_0xa51c67:0x1df,_0x4c52ac:0x33a,_0x28a449:0x431,_0x5147ac:0x396},_0x49640b={_0x11e896:0x162};if(!_0xc1c280||_0xc1c280==='--')return null;function _0xc5c7a2(_0x4b197b,_0x3ba829,_0xf9bb76,_0x330e72){return _0x5c47d8(_0x330e72-0x95,_0x3ba829-0x188,_0xf9bb76-_0x49640b._0x11e896,_0x4b197b);}const _0xfc03f6=_0xc1c280[_0x3fad49(_0x265e03._0x6c3bda,_0x265e03._0x10d346,0x2f0,_0x265e03._0x2cd729)]('|');if(_0x20d6bd&&_0xfc03f6['length']>=0x4&&Number['isFinite'](Number[_0x3fad49(0x21e,0x23f,0x395,0x227)](_0xfc03f6[0x2]??'',0xa))){const _0x3fa41=Number[_0x3fad49(_0x265e03._0xff5081,_0x265e03._0x3e2e9f,0x334,_0x265e03._0x5cf051)](_0xfc03f6[0x1]??'',0xa);if(!Number[_0xc5c7a2(0x4c2,0x294,0x48f,_0x265e03._0x5bf899)](_0x3fa41)||!_0xfc03f6[0x0])return null;return{'filePath':_0xfc03f6[0x0],'lineNum':_0x3fa41,'lineText':_0xfc03f6['slice'](0x3)['join']('|')};}if(_0xfc03f6[_0x3fad49(_0x265e03._0x93d3d,0x308,0x3ec,0x468)]>=0x3){const _0x5bc302=Number[_0xc5c7a2(_0x265e03._0x4bce0e,_0x265e03._0xa51c67,0x3a2,_0x265e03._0x4c52ac)](_0xfc03f6[0x1]??'',0xa);if(!Number['isFinite'](_0x5bc302)||!_0xfc03f6[0x0])return null;return{'filePath':_0xfc03f6[0x0],'lineNum':_0x5bc302,'lineText':_0xfc03f6[_0xc5c7a2(0x1fa,_0x265e03._0x28a449,0x1d2,0x2f7)](0x2)[_0xc5c7a2(0x338,0x433,_0x265e03._0x5bf899,_0x265e03._0x5147ac)]('|'),..._0x20d6bd?{'isContext':!![]}:{}};}function _0x3fad49(_0x24bcf1,_0x18dc5d,_0x1e3970,_0x45c92b){return _0x25cfa5(_0x24bcf1-0x15e,_0x1e3970,_0x45c92b-0x291,_0x45c92b-0x13a);}return null;}async function search(_0x57c039){const _0x4f770f={_0x49830e:0xa2,_0x88ebdb:0xc5,_0x1f4b49:0xc9,_0x4ae44e:0x200,_0x354d94:0xa8,_0x3a4f03:0x199,_0x1841ae:0x1c7,_0x563065:0x2cf,_0x412bc9:0x22d,_0x2e08be:0x3fc,_0x401849:0x4f1,_0x538186:0x346,_0x22fbfd:0x33b,_0x1d02cf:0x3c9,_0x3371e8:0x295,_0x5ef7d5:0x55,_0x272ba2:0xab,_0x17dbf9:0x4da,_0x229c1f:0x39a,_0x345c3f:0x75,_0x3a09a1:0x1db,_0x5e7335:0x1a1,_0x3b3ae3:0x167,_0x46382e:0x172,_0x654960:0x21b,_0xf86bf7:0x156,_0x14be0c:0x59,_0x5f4f93:0x18d,_0x3a6f26:0x305,_0x17db66:0x161,_0x3f75cd:0x2ba,_0xd4f002:0xc1,_0x535531:0x330,_0x3d0d32:0x305,_0x5e3eb8:0x4fd,_0x36f44f:0x512,_0x2f02a2:0x3be,_0x29235a:0x260,_0x49247e:0xe8,_0x5dd14f:0x1e8,_0x4caf9a:0x261,_0x2e245b:0x18,_0x15e384:0x28,_0x46597a:0xf0,_0x55c5bd:0x36e,_0xcd1a81:0x3fb,_0x37214a:0x50c,_0x22dd79:0x315,_0x23c6b6:0x1b3,_0x558ffe:0x1d4,_0x1d0e23:0x399,_0x439ca6:0x452},_0x1791b1={_0x8d6b92:0x548,_0x3399d4:0x47a,_0x404be8:0x6ed,_0x2d6c6d:0x7f3,_0x15603d:0x752,_0x566cf3:0x5ff,_0x2d382e:0x4e2,_0x5b4687:0x4ef,_0xb61d69:0x3f0,_0x456b4b:0x5c5,_0x5a90e0:0x54d,_0x36d9d6:0x5dc,_0x1aa95d:0x5d4,_0x80f04e:0x2b9,_0x552a33:0x297},_0x28748a={_0x13b002:0x5b,_0x5ac027:0x218,_0x44fd0b:0x26,_0x90b1e4:0x119,_0xb67127:0xa7,_0x59fc61:0x89,_0x1a2051:0x29d,_0x438ce0:0x1fa,_0x390ffa:0xd3},_0x219744={_0x3f2e8c:0x141},_0x28dcc3={_0x4e7864:0x2dc},_0x1f7824=await filepath();if(_0x57c039[_0x4698a9(0x1dc,_0x4f770f._0x49830e,_0x4f770f._0x88ebdb,0xb1)]){const _0x3b70f5=await _0x369404(_0x57c039[_0x4698a9(_0x4f770f._0x1f4b49,_0x4f770f._0x4ae44e,_0x4f770f._0x88ebdb,0x207)])[_0x4698a9(_0x4f770f._0x354d94,_0x4f770f._0x3a4f03,_0x4f770f._0x1841ae,0x1cb)](()=>null);if(!_0x3b70f5?.['isFile']())throw Object['assign'](new Error('No\x20such\x20file:\x20\x27'+_0x57c039[_0xe80b14(0x395,_0x4f770f._0x563065,0x260,0x25c)]+'\x27'),{'code':_0xe80b14(0x29b,0x394,0x263,0x12e)});}else{const _0x59c0e3=await _0x369404(_0x57c039[_0x4698a9(0x2e2,0x13e,_0x4f770f._0x412bc9,0xbe)])[_0xe80b14(0x452,0x2a7,0x362,_0x4f770f._0x2e08be)](()=>null);if(!_0x59c0e3?.[_0xe80b14(_0x4f770f._0x401849,0x435,0x4a3,0x601)]())throw Object[_0xe80b14(0x276,0x40a,_0x4f770f._0x538186,_0x4f770f._0x22fbfd)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x57c039[_0xe80b14(_0x4f770f._0x1d02cf,0x501,0x3c8,_0x4f770f._0x3371e8)]+'\x27'),{'code':_0x4698a9(0x1d9,_0x4f770f._0x5ef7d5,0xc8,_0x4f770f._0x272ba2)});}const _0x4abc19=[_0xe80b14(0x325,_0x4f770f._0x17dbf9,_0x4f770f._0x229c1f,0x4c1),'--field-match-separator=|',_0x4698a9(-0x66,-0x7e,0xee,_0x4f770f._0x345c3f),_0x4698a9(_0x4f770f._0x3a09a1,_0x4f770f._0x5e7335,0x281,0x20e),_0x57c039[_0x4698a9(0x98,0x11b,_0x4f770f._0x3b3ae3,0x255)]],_0x261f1b=typeof _0x57c039[_0x4698a9(_0x4f770f._0x46382e,0x273,_0x4f770f._0x654960,0x1be)]===_0x4698a9(0x117,_0x4f770f._0xf86bf7,0xb0,_0x4f770f._0x14be0c)&&_0x57c039[_0x4698a9(_0x4f770f._0x5f4f93,0x1db,0x21b,_0x4f770f._0x3a6f26)]>0x0;function _0xe80b14(_0x1fe0be,_0x141eb0,_0x29b2e,_0xafe0b1){return _0x25cfa5(_0x1fe0be-0x1f2,_0x1fe0be,_0x29b2e-_0x28dcc3._0x4e7864,_0xafe0b1-0x186);}_0x261f1b&&_0x4abc19[_0xe80b14(_0x4f770f._0x17db66,0x407,_0x4f770f._0x3f75cd,0x3de)]('-C',String(_0x57c039[_0x4698a9(0x1f0,_0x4f770f._0xd4f002,0x21b,_0x4f770f._0x535531)]),_0xe80b14(_0x4f770f._0x3d0d32,_0x4f770f._0x5e3eb8,0x431,_0x4f770f._0x36f44f));_0x57c039[_0x4698a9(_0x4f770f._0x2f02a2,0xf4,_0x4f770f._0x29235a,_0x4f770f._0x49247e)]&&!_0x57c039[_0xe80b14(_0x4f770f._0x5dd14f,0x2ef,0x260,_0x4f770f._0x4caf9a)]&&_0x4abc19['push'](_0x4698a9(_0x4f770f._0x2e245b,_0x4f770f._0x15e384,_0x4f770f._0x46597a,0x1ab),_0x57c039[_0xe80b14(_0x4f770f._0x55c5bd,0x299,_0x4f770f._0xcd1a81,_0x4f770f._0x37214a)]);_0x4abc19[_0xe80b14(_0x4f770f._0x22dd79,0x3dc,0x2ba,0x2bb)](_0x57c039[_0xe80b14(_0x4f770f._0x23c6b6,0x39a,0x260,_0x4f770f._0x558ffe)]??_0x57c039[_0xe80b14(0x2ef,_0x4f770f._0x1d0e23,0x3c8,_0x4f770f._0x439ca6)]);function _0x4698a9(_0x23f4e0,_0x5858ae,_0x3ffe4a,_0x2d3a32){return _0x25cfa5(_0x23f4e0-0xea,_0x5858ae,_0x3ffe4a-_0x219744._0x3f2e8c,_0x2d3a32-0x15a);}return await new Promise((_0x10ec2a,_0x5c0dc2)=>{const _0x1eff6b={_0x344fcd:0x69e,_0x141c9e:0x168},_0x328059={_0x302483:0x474,_0x4d4444:0x52},_0x5b08e4=_0x1c170b(_0x1f7824,_0x4abc19,{'cwd':_0x57c039[_0x535245(0x801,0x62c,0x6a1,0x806)],'stdio':['ignore',_0x535245(0x4d2,_0x1791b1._0x8d6b92,0x5c5,_0x1791b1._0x3399d4),_0x535245(0x489,0x45b,0x5c5,0x6c6)]});let _0xee5aea='';function _0xb3de34(_0x27d1b4,_0xa8e9f,_0x49ede2,_0x103b7c){return _0x4698a9(_0x27d1b4-0x131,_0x49ede2,_0xa8e9f-0x1bc,_0x103b7c-0xe3);}let _0x2126f1='';_0x5b08e4[_0x535245(_0x1791b1._0x404be8,_0x1791b1._0x2d6c6d,_0x1791b1._0x15603d,_0x1791b1._0x566cf3)]?.['on']('data',_0x18d124=>{_0xee5aea+=_0x18d124['toString']();});function _0x535245(_0x5b8dba,_0x4d420f,_0x32fa80,_0x2cebd5){return _0x4698a9(_0x5b8dba-0x125,_0x4d420f,_0x32fa80-_0x328059._0x302483,_0x2cebd5-_0x328059._0x4d4444);}_0x5b08e4[_0xb3de34(_0x1791b1._0x2d382e,_0x1791b1._0x5b4687,_0x1791b1._0xb61d69,_0x1791b1._0x456b4b)]?.['on'](_0x535245(_0x1791b1._0x5a90e0,_0x1791b1._0x36d9d6,0x610,0x5fa),_0x51d162=>{_0x2126f1+=_0x51d162['toString']();}),_0x5b08e4['on'](_0xb3de34(0x403,0x502,0x4db,_0x1791b1._0x1aa95d),_0x5f5500=>{const _0x661149={_0x3ee65d:0x1b1};if(_0x5f5500===0x1&&_0xee5aea===''){_0x10ec2a([]);return;}function _0x1c1698(_0x2eca43,_0x1c5b4b,_0x2dcde3,_0x4b23a4){return _0x535245(_0x2eca43-0x171,_0x2eca43,_0x2dcde3- -_0x1eff6b._0x344fcd,_0x4b23a4-_0x1eff6b._0x141c9e);}if(_0x5f5500!==0x0&&_0x5f5500!==0x1){_0x5c0dc2(new Error(_0x1c1698(-_0x28748a._0x13b002,_0x28748a._0x5ac027,0xce,0x1dd)+_0x2126f1));return;}const _0x322797=_0x57c039[_0x1c1698(_0x28748a._0x44fd0b,-_0x28748a._0x90b1e4,-0x61,_0x28748a._0xb67127)]??0x64,_0x233122=[];function _0x54ebeb(_0xda5d45,_0x3ea2f4,_0x4e5c98,_0x3f13e7){return _0xb3de34(_0xda5d45-0xcf,_0x3ea2f4- -0x237,_0xda5d45,_0x3f13e7-_0x661149._0x3ee65d);}for(const _0x2cb352 of _0xee5aea[_0x1c1698(0x1db,0x10a,_0x28748a._0x59fc61,-0xae)](/\r?\n/)){if(_0x233122[_0x54ebeb(0x1fd,_0x28748a._0x1a2051,0x195,_0x28748a._0x438ce0)]>=_0x322797)break;const _0x29c223=parseMatchLine(_0x2cb352,_0x261f1b);if(_0x29c223)_0x233122[_0x54ebeb(-0x27,0xa4,-_0x28748a._0x390ffa,0x86)](_0x29c223);}_0x10ec2a(_0x233122);}),_0x5b08e4['on'](_0xb3de34(_0x1791b1._0x80f04e,_0x1791b1._0x552a33,0x3fa,0x340),_0x5c0dc2);});}function createGlobTool(_0x2e7262={}){const _0xacc3d6={_0x493464:0x3a8,_0x254743:0x41c,_0x3c34da:0x436,_0x9f32a5:0x657,_0x2ab4e7:0x554,_0x2a7499:0x19,_0x13bf8d:0xea,_0x570e8e:0xf8,_0x15747d:0x671,_0x36138e:0x187,_0x5d6859:0x3d,_0x251715:0x10b,_0x27812b:0x208,_0x5992ba:0x425,_0x4104b5:0xbb,_0x3bb481:0x96,_0x56fcc3:0x168},_0x54296a={_0x2f23eb:0x393,_0x42b429:0x382,_0x2e50be:0x287,_0x2eee33:0x2a6,_0x430407:0x484,_0x423ffc:0x34d,_0x196988:0x2d6,_0x18197b:0x423,_0x48c57d:0x377,_0x3148e3:0xa2,_0x237548:0x2b4,_0x116313:0x421,_0x114b47:0x27a,_0x38e505:0x307,_0x1517ff:0x403,_0x3adb5f:0x4b7,_0x3c1b51:0x384,_0x10b0b6:0x1d4,_0x504774:0x39,_0x40db06:0x226,_0x5e4e47:0x253,_0x510e58:0x38a,_0x2408eb:0x92,_0x2fc595:0x1ca,_0x31b6b2:0x168,_0x2cb669:0x1a0,_0x12cc8a:0xb0,_0x57c32d:0x9a,_0x37e713:0x2b4,_0x49211c:0x3a6,_0x34c0c0:0x25b,_0x974182:0x3a0,_0x55c5d0:0x34d,_0x50e7cc:0x461,_0x1c641f:0x28a,_0x184d3f:0x1a9,_0x12c1dc:0x51,_0x4ac45d:0x175,_0x394e99:0x2d2,_0x583b02:0x2c,_0x4410db:0x7,_0x274938:0x2b1,_0x3ad36b:0x201,_0x173306:0x37f},_0x4a4705={_0xc62e31:0x27,_0x47fa8d:0x333},_0x7a837c={_0x4fe7fc:0x4b6},_0xfa80d6={_0x5d0d78:0x18e},_0x561cce=_0x4501fe['resolve'](_0x2e7262[_0x35187f(0x2d0,_0xacc3d6._0x493464,_0xacc3d6._0x254743,_0xacc3d6._0x3c34da)]??process[_0x35187f(_0xacc3d6._0x9f32a5,0x503,0x5a2,0x473)]());function _0x3bd711(_0x11ce41,_0x4a3b10,_0x36f930,_0x17e548){return _0x25cfa5(_0x11ce41-0xb7,_0x4a3b10,_0x17e548- -_0xfa80d6._0x5d0d78,_0x17e548-0x1b3);}const _0x4de2fe=(_0x2e7262['allowedDirs']??[])[_0x35187f(0x4b4,0x3e1,_0xacc3d6._0x2ab4e7,0x50e)](_0x3e4584=>_0x4501fe[_0x35187f(0x512,0x5b3,0x4d1,0x3fc)](_0x3e4584)),_0x5681be=_0x2e7262['limit']??0x64;function _0x35187f(_0x1e7304,_0x5b9107,_0x28e790,_0x5b56de){return _0x25cfa5(_0x1e7304-0x2e,_0x5b56de,_0x28e790-_0x7a837c._0x4fe7fc,_0x5b56de-0xad);}const _0x28562e=_0x2e7262['name']??_0x3bd711(-0xfd,_0xacc3d6._0x2a7499,-_0xacc3d6._0x13bf8d,-_0xacc3d6._0x570e8e);return defineTool({'name':_0x28562e,'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x35187f(0x711,0x5d7,_0xacc3d6._0x15747d,0x6a5),'properties':{'pattern':{'type':_0x3bd711(-_0xacc3d6._0x36138e,_0xacc3d6._0x5d6859,0x40,-0xef)},'path':{'type':_0x3bd711(-_0xacc3d6._0x251715,-_0xacc3d6._0x27812b,-0xac,-0xef)},'limit':{'type':_0x35187f(0x3b3,0x4e9,_0xacc3d6._0x5992ba,0x552)}},'required':[_0x3bd711(-_0xacc3d6._0x4104b5,-0x21f,-_0xacc3d6._0x3bb481,-_0xacc3d6._0x56fcc3)]},async *'execute'(_0x5e113b){const _0x3ec622={_0x5a8d2b:0x1b9,_0x469775:0x112,_0x38f32d:0x340};if(_0x5e113b['pattern'][_0x1b8d93(_0x54296a._0x2f23eb,_0x54296a._0x42b429,_0x54296a._0x2e50be,_0x54296a._0x2eee33)]()[_0x1b8d93(0x31c,0x39d,_0x54296a._0x430407,_0x54296a._0x423ffc)]===0x0)throw new ToolExecutionError(_0x2ba7df(_0x54296a._0x196988,0x380,0x419,_0x54296a._0x18197b),{});const _0x416e7f=resolveAllowedPath(_0x561cce,_0x4de2fe,_0x5e113b[_0x1b8d93(0x25f,0x2d3,0x2e5,_0x54296a._0x48c57d)]??'.');function _0x2ba7df(_0x502086,_0x4f3ab1,_0x3cda3b,_0x588fee){return _0x35187f(_0x502086-0x52,_0x4f3ab1-_0x4a4705._0xc62e31,_0x4f3ab1- -_0x4a4705._0x47fa8d,_0x502086);}const _0x599a4f=await _0x1a758d(_0x416e7f)[_0x1b8d93(0x2a2,0x344,_0x54296a._0x3148e3,0x1fc)](()=>null);if(!_0x599a4f?.[_0x2ba7df(_0x54296a._0x237548,0x34a,_0x54296a._0x116313,_0x54296a._0x114b47)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x5e113b[_0x1b8d93(_0x54296a._0x38e505,0x30a,_0x54296a._0x1517ff,_0x54296a._0x48c57d)]??'.'),{'path':_0x5e113b[_0x2ba7df(_0x54296a._0x3adb5f,_0x54296a._0x3c1b51,0x2a3,0x2e4)]??'.'});const _0xd3e48=_0x5e113b[_0x1b8d93(0x1f7,_0x54296a._0x10b0b6,0x35f,0x1fe)]??_0x5681be;function _0x1b8d93(_0x73f013,_0x227d5f,_0x2c2ca1,_0x20336c){return _0x35187f(_0x73f013-_0x3ec622._0x5a8d2b,_0x227d5f-_0x3ec622._0x469775,_0x20336c- -_0x3ec622._0x38f32d,_0x2c2ca1);}const _0x2bbdbd=Math[_0x1b8d93(-_0x54296a._0x504774,0x167,0x5d,0xef)](0x1,Math['trunc'](_0xd3e48)),_0x2428be=[];let _0x2d70ae=![];for await(const _0x465dba of files({'cwd':_0x416e7f,'glob':[_0x5e113b[_0x2ba7df(0x265,0x1a9,0x28d,_0x54296a._0x40db06)]]})){if(_0x2428be[_0x2ba7df(_0x54296a._0x5e4e47,0x35a,_0x54296a._0x510e58,0x441)]>=_0x2bbdbd){_0x2d70ae=!![];break;}const _0x243f5b=await _0x1a758d(_0x4501fe[_0x1b8d93(0x234,_0x54296a._0x2408eb,_0x54296a._0x2fc595,_0x54296a._0x31b6b2)](_0x416e7f,_0x465dba))[_0x2ba7df(_0x54296a._0x2cb669,0x209,_0x54296a._0x12cc8a,_0x54296a._0x57c32d)](()=>null);_0x2428be['push']({'path':_0x465dba,'mtime':_0x243f5b?.[_0x2ba7df(_0x54296a._0x37e713,0x36b,_0x54296a._0x49211c,_0x54296a._0x34c0c0)]??0x0});}_0x2428be['sort']((_0x158d3c,_0x5e73da)=>_0x5e73da[_0x1b8d93(0x432,0x381,0x42e,0x38c)]-_0x158d3c['mtime']);const _0x34c182=_0x2428be['map'](_0x44261d=>_0x44261d[_0x2ba7df(0x2b9,0x384,0x3da,0x216)]),_0x11f37b=_0x34c182[_0x1b8d93(0x400,0x2b1,_0x54296a._0x974182,_0x54296a._0x55c5d0)]===0x0?_0x1b8d93(_0x54296a._0x50e7cc,0x366,_0x54296a._0x1c641f,0x32f)+_0x5e113b[_0x2ba7df(0x23b,_0x54296a._0x184d3f,_0x54296a._0x12c1dc,0x101)]:''+_0x34c182[_0x2ba7df(0xe4,_0x54296a._0x4ac45d,0x16d,_0x54296a._0x394e99)]('\x0a')+(_0x2d70ae?_0x1b8d93(0x185,-_0x54296a._0x583b02,_0x54296a._0x4410db,0x14d):'');return yield createToolOutput(_0x11f37b,{'pattern':_0x5e113b[_0x2ba7df(_0x54296a._0x274938,_0x54296a._0x184d3f,0x2a3,0xba)],'searchPath':_0x4501fe[_0x2ba7df(0x1cb,0x2e8,0x39e,0x2a0)](_0x561cce,_0x416e7f)||'.','matches':_0x34c182,'count':_0x34c182[_0x2ba7df(_0x54296a._0x3ad36b,0x35a,_0x54296a._0x173306,0x3fc)],'truncated':_0x2d70ae}),void 0x0;}});}import{stat as _0x2a4306}from'fs/promises';import*as _0x56bf4f from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0xce5ddb={}){const _0x13c280={_0x89d21c:0x2d3,_0x2fd5f9:0x3d2,_0x93ad1d:0x277,_0x46dcd6:0x305,_0x5bf575:0x342,_0xed0b52:0x3f1,_0x94b9ec:0x223,_0x4fd98c:0x479,_0x1f5b32:0x38c,_0x34f069:0x34d,_0x57052e:0x494,_0x5101c0:0x18a,_0x535800:0x29a,_0x3627a8:0x433,_0x47598a:0x221,_0x2d7f11:0x32e,_0x4ff18c:0x36c,_0x50d013:0x329,_0x30a1b7:0x212,_0x256e66:0x1fa,_0x206484:0x329,_0x258704:0x338,_0x3ce475:0x326,_0x2acce5:0x1de},_0x2e1566={_0x30cff7:0x55,_0x40d9f7:0x4b,_0x462a6a:0x4a,_0x5e1911:0x1da,_0x1b7f77:0x14,_0x3c5a5d:0x266,_0x5eca36:0x1fc,_0x1a5af0:0x210,_0x508fed:0xab,_0x56ce69:0x307,_0x16906d:0x1f1,_0x45ef09:0x57,_0x54d3fe:0x10f,_0x48577f:0x158,_0x4cc273:0x154,_0x52cff0:0x1e3,_0xa4f273:0x1f7,_0x48a18f:0x24c,_0x48062e:0x130,_0x5267a2:0x2f,_0x52268a:0x92,_0x28b5a5:0x1be,_0x4f9d82:0x136,_0x4153b8:0x128,_0x129d2f:0x267,_0x362ec0:0xf2,_0x2a7ad2:0x96,_0x33cc4f:0xab,_0x338d46:0xdc,_0x4cf34a:0x98,_0x43d2be:0x77,_0x52b92f:0xdc,_0x4ac84b:0xa9,_0x405017:0x1c,_0x42a4e5:0x225,_0x55d5bf:0x134,_0x1c00ab:0x236,_0x9da45a:0x216,_0x2ce0dc:0x1bf,_0x2ba6ad:0x59,_0xcb4cb8:0x233,_0x396b63:0x1e4,_0x353227:0x215,_0x595f46:0xec,_0x2b8c34:0xc0,_0x562b5b:0x15c,_0x2762a4:0x12b,_0x3bde45:0x36a,_0xe21103:0x28c,_0x331502:0x22d,_0xf2d34d:0x2f7,_0x1f7edb:0x174,_0x514923:0x1fc,_0x30a655:0x169,_0x20a257:0x50,_0x5c461a:0x90,_0x10a301:0x93,_0x3b077e:0x139,_0xb78dac:0x50,_0x398697:0x91,_0xbafbd1:0x288,_0x3f8eac:0x2bc,_0x2a1e4f:0xa,_0x56a925:0x6,_0x3ea02f:0x74,_0x3791c1:0x89,_0x46224c:0x2a5,_0x2889c1:0x3b4,_0x10bd00:0x1db,_0x4a57b1:0x3d1,_0x2793a4:0x166,_0x59eba0:0x120,_0x4bf574:0x52,_0x1af23b:0x47,_0xc526bf:0x5c,_0x50d820:0x39,_0x5b5956:0xde,_0x583fa8:0x1ad,_0x24560c:0x1e8},_0x24e958={_0x29b232:0x1e1,_0x139cdc:0x392,_0xd9abde:0x1da},_0x550afd={_0x3a4586:0x1cc,_0x24184a:0x14a},_0x13c2b5={_0x4b5d2e:0xa8},_0x587791={_0x3411a5:0x1bb,_0x4d061e:0xc5},_0x42518a=_0x56bf4f[_0x14c7ef(0x2a8,_0x13c280._0x89d21c,_0x13c280._0x2fd5f9,0x44d)](_0xce5ddb['defaultCwd']??process['cwd']()),_0x3b3237=(_0xce5ddb[_0x14c7ef(0x42b,_0x13c280._0x93ad1d,_0x13c280._0x46dcd6,_0x13c280._0x5bf575)]??[])[_0x1dae64(0x2f3,_0x13c280._0xed0b52,0x45e,0x328)](_0x33ca44=>_0x56bf4f[_0x1dae64(0x27a,0x2d0,0x403,0x2a5)](_0x33ca44));function _0x1dae64(_0x4c52b8,_0x36d261,_0x384f5f,_0x426296){return _0x5c47d8(_0x426296- -0x85,_0x36d261-_0x587791._0x3411a5,_0x384f5f-_0x587791._0x4d061e,_0x4c52b8);}function _0x14c7ef(_0x1174ee,_0x398a6e,_0x3b1200,_0x11c040){return _0x5c47d8(_0x3b1200-_0x13c2b5._0x4b5d2e,_0x398a6e-0x33,_0x3b1200-0x166,_0x1174ee);}const _0x3f94b6=_0xce5ddb[_0x1dae64(_0x13c280._0x94b9ec,_0x13c280._0x4fd98c,_0x13c280._0x1f5b32,0x312)]??0x64,_0x4af62a=_0xce5ddb[_0x1dae64(0x585,0x5c8,_0x13c280._0x34f069,_0x13c280._0x57052e)]??_0x1dae64(0x32f,_0x13c280._0x5101c0,_0x13c280._0x535800,0x23b);return defineTool({'name':_0x4af62a,'description':_0x1dae64(_0x13c280._0x3627a8,_0x13c280._0x47598a,0x435,_0x13c280._0x2d7f11),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x1dae64(0x3d7,0x27a,_0x13c280._0x4ff18c,_0x13c280._0x50d013)},'path':{'type':'string'},'include':{'type':_0x1dae64(_0x13c280._0x30a1b7,_0x13c280._0x256e66,0x426,_0x13c280._0x206484)},'limit':{'type':'number'},'context':{'type':_0x14c7ef(0x25b,_0x13c280._0x258704,_0x13c280._0x3ce475,_0x13c280._0x2acce5)}},'required':['pattern']},async *'execute'(_0x3fd9ae){if(_0x3fd9ae[_0x1ff09e(-_0x2e1566._0x30cff7,-0x105,_0x2e1566._0x40d9f7,-_0x2e1566._0x462a6a)][_0x1ff09e(_0x2e1566._0x5e1911,-_0x2e1566._0x1b7f77,0x155,0x20c)]()[_0x1d00ac(0x317,0x3c7,0x33e,0x25e)]===0x0)throw new ToolExecutionError(_0x1ff09e(0xac,_0x2e1566._0x3c5a5d,0x222,0x2a9),{});const _0x2ca10e=resolveAllowedPath(_0x42518a,_0x3b3237,_0x3fd9ae[_0x1d00ac(0x341,0x3fc,0x3c7,_0x2e1566._0x5eca36)]??'.'),_0x47932b=await _0x2a4306(_0x2ca10e)[_0x1ff09e(0x3f,_0x2e1566._0x1a5af0,_0x2e1566._0x508fed,0xb7)](()=>null),_0x5548b4=_0x47932b?.['isFile']()??![],_0x295013=_0x47932b?.[_0x1d00ac(_0x2e1566._0x56ce69,_0x2e1566._0x16906d,0x2ff,0x338)]()??![];if(!_0x5548b4&&!_0x295013)throw new ToolExecutionError(_0x1ff09e(0x61,-0x5d,0x53,_0x2e1566._0x45ef09)+(_0x3fd9ae['path']??'.'),{'path':_0x3fd9ae['path']??'.'});function _0x1d00ac(_0x119040,_0x1289f0,_0x3173a6,_0x30c8b5){return _0x1dae64(_0x30c8b5,_0x1289f0-0x17d,_0x3173a6-_0x550afd._0x3a4586,_0x119040- -_0x550afd._0x24184a);}const _0x434876=_0x3fd9ae['limit']??_0x3f94b6,_0x3f4020=Math[_0x1d00ac(0xb9,0x48,0x3a,-0xab)](0x1,Math[_0x1d00ac(_0x2e1566._0x54d3fe,_0x2e1566._0x48577f,_0x2e1566._0x4cc273,_0x2e1566._0x52cff0)](_0x434876)),_0x183c06=await search({'cwd':_0x295013?_0x2ca10e:_0x56bf4f[_0x1d00ac(_0x2e1566._0xa4f273,0x190,_0x2e1566._0x48a18f,0xe4)](_0x2ca10e),'pattern':_0x3fd9ae[_0x1ff09e(_0x2e1566._0x48062e,0xa3,0x4b,_0x2e1566._0x5267a2)],'glob':_0x295013?_0x3fd9ae[_0x1ff09e(-0x1d,0x137,_0x2e1566._0x52268a,_0x2e1566._0x28b5a5)]:void 0x0,'limit':_0x3f4020,'file':_0x5548b4?_0x2ca10e:void 0x0,'context':_0x3fd9ae['context']}),_0x257c4e=new Map();for(const _0x1878b6 of _0x183c06){if(!_0x257c4e[_0x1ff09e(0x1f6,-0x13,_0x2e1566._0x4f9d82,0x281)](_0x1878b6['filePath'])){const _0x37f134=await _0x2a4306(_0x1878b6[_0x1d00ac(_0x2e1566._0x4153b8,0x21f,_0x2e1566._0x129d2f,0x242)])[_0x1ff09e(_0x2e1566._0x362ec0,_0x2e1566._0x2a7ad2,_0x2e1566._0x33cc4f,-0x92)](()=>null);_0x257c4e[_0x1ff09e(-_0x2e1566._0x338d46,_0x2e1566._0x4cf34a,_0x2e1566._0x43d2be,0x10c)](_0x1878b6[_0x1ff09e(-0xb0,-0x159,0xd,0x16d)],{'matches':[],'mtime':_0x37f134?.['mtimeMs']??0x0});}_0x257c4e['get'](_0x1878b6[_0x1ff09e(-0xf3,_0x2e1566._0x52b92f,0xd,0x123)])?.['matches'][_0x1ff09e(_0x2e1566._0x4ac84b,-_0x2e1566._0x405017,0x3,-0x15c)](_0x1878b6);}const _0x3062fd=[..._0x257c4e[_0x1ff09e(0xa0,0xc4,-0x9,-0xc4)]()][_0x1d00ac(0xf2,0x1b8,0x9f,_0x2e1566._0x42a4e5)]((_0x37eda,_0x263d4a)=>_0x263d4a[0x1][_0x1ff09e(0x2d3,0x24d,0x23b,0x2fb)]-_0x37eda[0x1]['mtime']),_0x5443d6=_0x183c06[_0x1ff09e(_0x2e1566._0x55d5bf,_0x2e1566._0x1c00ab,0x14a,0x61)](_0x221acf=>!_0x221acf['isContext'])['length'],_0x3d388d=_0x183c06[_0x1d00ac(0x317,_0x2e1566._0x9da45a,_0x2e1566._0x2ce0dc,0x465)]>=_0x3f4020,_0x38cf80=_0x5548b4?_0x56bf4f[_0x1ff09e(-0x35,0x1d5,0xdc,-_0x2e1566._0x2ba6ad)](_0x2ca10e):_0x2ca10e;function _0x1ff09e(_0x4ba37a,_0x247fdc,_0x150404,_0x150af1){return _0x14c7ef(_0x4ba37a,_0x247fdc-_0x24e958._0x29b232,_0x150404- -_0x24e958._0x139cdc,_0x150af1-_0x24e958._0xd9abde);}let _0x378b5a='';if(_0x183c06['length']===0x0)_0x378b5a=_0x1ff09e(_0x2e1566._0xcb4cb8,_0x2e1566._0x396b63,0x157,_0x2e1566._0x353227)+_0x3fd9ae[_0x1ff09e(-_0x2e1566._0x595f46,0x169,0x4b,_0x2e1566._0x2b8c34)];else{_0x378b5a=_0x1ff09e(0xd8,_0x2e1566._0x562b5b,0x133,0x100)+_0x5443d6+_0x1ff09e(0x2e,-0xdb,-0x1a,-_0x2e1566._0x2762a4)+(_0x5443d6===0x1?'':'es')+'\x0a';for(const [_0x300889,_0x35256d]of _0x3062fd){const _0x577a1b=_0x5548b4?_0x56bf4f[_0x1d00ac(_0x2e1566._0x3bde45,0x4b8,0x29e,0x4c6)](_0x300889):_0x56bf4f[_0x1ff09e(_0x2e1566._0xe21103,_0x2e1566._0x331502,0x18a,0x74)](_0x38cf80,_0x300889);_0x378b5a+='\x0a'+_0x577a1b+':\x0a';for(const _0x2f6aef of _0x35256d[_0x1d00ac(0x301,0x266,0x357,0x34c)]){const _0x250fed=_0x2f6aef['lineText'][_0x1ff09e(_0x2e1566._0xf2d34d,_0x2e1566._0x1f7edb,_0x2e1566._0x514923,_0x2e1566._0x30a655)]>MAX_LINE_LENGTH?_0x2f6aef[_0x1ff09e(0x5,0xfd,-_0x2e1566._0x20a257,_0x2e1566._0x5c461a)][_0x1d00ac(_0x2e1566._0x10a301,0x1d9,_0x2e1566._0x3b077e,0x4c)](0x0,MAX_LINE_LENGTH)+_0x1d00ac(0x105,0x104,0xd6,-0x6a):_0x2f6aef[_0x1ff09e(0xed,0xbd,-_0x2e1566._0xb78dac,-_0x2e1566._0x398697)],_0x54cd12=_0x2f6aef[_0x1d00ac(_0x2e1566._0xbafbd1,_0x2e1566._0x3f8eac,0x1da,0x363)]?'\x20\x20':'>\x20';_0x378b5a+=_0x54cd12+_0x1ff09e(0x168,-_0x2e1566._0x2a1e4f,-_0x2e1566._0x56a925,_0x2e1566._0x4cc273)+_0x2f6aef[_0x1ff09e(_0x2e1566._0x5c461a,_0x2e1566._0x3ea02f,0xd9,0x76)]+':\x20'+_0x250fed+'\x0a';}}_0x3d388d&&(_0x378b5a+=_0x1ff09e(0x158,_0x2e1566._0x2a1e4f,-0x4,_0x2e1566._0x3791c1));}const _0x173633={'searchPath':_0x56bf4f[_0x1d00ac(_0x2e1566._0x46224c,_0x2e1566._0x2889c1,_0x2e1566._0x10bd00,_0x2e1566._0x4a57b1)](_0x42518a,_0x2ca10e)||'.','pattern':_0x3fd9ae[_0x1d00ac(_0x2e1566._0x2793a4,_0x2e1566._0x59eba0,0x131,0x2d9)],'matchCount':_0x5443d6,'fileCount':_0x257c4e[_0x1ff09e(_0x2e1566._0x4bf574,-_0x2e1566._0x1af23b,-0x26,-_0x2e1566._0x54d3fe)],'truncated':_0x3d388d};return _0x295013&&_0x3fd9ae[_0x1ff09e(0x1f,_0x2e1566._0xc526bf,_0x2e1566._0x52268a,_0x2e1566._0x50d820)]!==void 0x0&&(_0x173633[_0x1ff09e(0x126,_0x2e1566._0x5b5956,_0x2e1566._0x52268a,-0xc0)]=_0x3fd9ae[_0x1d00ac(_0x2e1566._0x583fa8,0x290,0x243,0x2a4)]),yield createToolOutput(_0x378b5a[_0x1d00ac(0x270,0x25f,_0x2e1566._0x24560c,0x315)](),_0x173633),void 0x0;}});}function createKillShellTool(_0x14f0b4){const _0x23959d={_0x5528b0:0x457,_0x472fc0:0x2f9,_0x2c6f0a:0x603,_0x2e5a9b:0x659,_0x4e441d:0x68a,_0x349cd1:0x69a},_0x57acbb={_0x1eeaaa:0x12f,_0x2a8277:0xf4,_0x1e2179:0x239,_0x448c3b:0x12b,_0x124155:0x1d7,_0x2c0203:0x193,_0x37b2a8:0xc8,_0x1216b5:0x16e,_0x3c56ad:0x22e,_0x1f7d2d:0xdb,_0x56f947:0x4,_0x5cf3e3:0xd6,_0x2b9731:0x32,_0x125b41:0x64},_0x2f6636={_0xe38514:0x4ee},_0x588833={_0xbc0a62:0x116,_0x21e6fa:0x2d8},_0x361965={_0x3ddcd2:0x92,_0x2ebffa:0x197},{registry:_0x4b7add}=_0x14f0b4;function _0xdc4f7f(_0x391b9c,_0x1a91f0,_0x458990,_0x3d7a0b){return _0x5c47d8(_0x1a91f0-0x18f,_0x1a91f0-_0x361965._0x3ddcd2,_0x458990-_0x361965._0x2ebffa,_0x3d7a0b);}function _0x2d4b6e(_0x1da32f,_0x47c278,_0x50d14d,_0x3d5a2e){return _0x25cfa5(_0x1da32f-_0x588833._0xbc0a62,_0x47c278,_0x1da32f-_0x588833._0x21e6fa,_0x3d5a2e-0x154);}return defineTool({'name':_0x2d4b6e(0x375,_0x23959d._0x5528b0,0x46e,_0x23959d._0x472fc0),'description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0xdc4f7f(_0x23959d._0x2c6f0a,_0x23959d._0x2e5a9b,0x778,_0x23959d._0x4e441d),'properties':{'shellId':{'type':_0xdc4f7f(0x5b9,0x53d,0x5d3,_0x23959d._0x349cd1)}},'required':['shellId']},async *'execute'(_0x2ef925){const _0x1b7607={_0x35ce4b:0x27},_0x4ed02b=_0x4b7add[_0x55cb94(-0xdf,-_0x57acbb._0x1eeaaa,-0x8f,-0x51)](_0x2ef925[_0x55cb94(_0x57acbb._0x2a8277,-0x9,0x142,0x231)]);function _0x2b3c3c(_0x1c0133,_0x31315b,_0x51ab9c,_0x579d75){return _0x2d4b6e(_0x51ab9c- -0x36c,_0x1c0133,_0x51ab9c-0xa1,_0x579d75-_0x1b7607._0x35ce4b);}function _0x55cb94(_0x305643,_0x151459,_0x200a7a,_0x4a3a59){return _0xdc4f7f(_0x305643-0xcb,_0x305643- -_0x2f6636._0xe38514,_0x200a7a-0xc6,_0x200a7a);}return createToolOutput(_0x2b3c3c(0x4b,0x1e,0x175,_0x57acbb._0x1e2179)+_0x2ef925[_0x55cb94(0xf4,0xe9,_0x57acbb._0x448c3b,0xb5)]+_0x2b3c3c(-_0x57acbb._0x124155,-_0x57acbb._0x2c0203,-_0x57acbb._0x37b2a8,-_0x57acbb._0x1216b5)+_0x4ed02b['status']+').',{'shellId':_0x2ef925[_0x55cb94(0xf4,_0x57acbb._0x3c56ad,0x18a,0x1ec)],'status':_0x4ed02b[_0x55cb94(-_0x57acbb._0x1f7d2d,-_0x57acbb._0x56f947,-_0x57acbb._0x5cf3e3,_0x57acbb._0x2b9731)],'exitCode':_0x4ed02b[_0x2b3c3c(0xa2,-_0x57acbb._0x125b41,-0x4a,0x109)],'signal':_0x4ed02b[_0x2b3c3c(-0x222,-0x252,-0x142,-0x285)]});}});}import{readdir as _0x32b342,readFile as _0x347259,stat as _0x20bf9f}from'fs/promises';import*as _0x4a911d from'path';import*as _0x2122a5 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x40a86f,_0x3e6470){const _0x4f6993={_0x2ad7c7:0x4a7,_0x3f051d:0x3bb,_0x4269e9:0xbd,_0x452659:0xa8,_0x1424f6:0x8a,_0x30a3b2:0x9b,_0x145898:0x1e4,_0x251cc2:0x1fa,_0x462b6e:0x518,_0x178fc7:0x653,_0x365c9d:0x41b,_0x5355cc:0x321,_0x26f42f:0x362},_0x2e24aa={_0x5f81fb:0x112},_0x3e4781={_0x32b34f:0x42,_0x5da9b6:0x140};if(_0x3e6470>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x378218=await _0x347259(_0x40a86f)[_0x375b80(_0x4f6993._0x2ad7c7,0x3a3,_0x4f6993._0x3f051d,0x5bd)](()=>null);function _0x4c341c(_0x44e48e,_0x299d2e,_0x445565,_0x435d81){return _0x5c47d8(_0x44e48e- -0x1c5,_0x299d2e-_0x3e4781._0x32b34f,_0x445565-_0x3e4781._0x5da9b6,_0x299d2e);}if(!_0x378218||isProbablyBinary(_0x378218))return void 0x0;function _0x375b80(_0x14f6af,_0x4b05da,_0x2927bf,_0x1528aa){return _0x5c47d8(_0x14f6af-_0x2e24aa._0x5f81fb,_0x4b05da-0x88,_0x2927bf-0x159,_0x4b05da);}return _0x378218[_0x4c341c(_0x4f6993._0x4269e9,-_0x4f6993._0x452659,-_0x4f6993._0x1424f6,-_0x4f6993._0x30a3b2)](_0x4c341c(0x33f,_0x4f6993._0x145898,0x445,_0x4f6993._0x251cc2))[_0x375b80(0x593,_0x4f6993._0x462b6e,_0x4f6993._0x178fc7,_0x4f6993._0x365c9d)](/\r?\n/)[_0x4c341c(_0x4f6993._0x5355cc,0x2e2,_0x4f6993._0x26f42f,0x30a)];}function createLsTool(_0x48ad1e={}){const _0xe922f5={_0x1a31e5:0x11e,_0x359799:0xb8,_0x12a230:0x1a,_0x25d0c4:0x46c,_0xbc289:0x354,_0x1eccfa:0x454,_0x555095:0x4fd,_0x3ce144:0x481,_0x50cbbc:0x3fa,_0x59f991:0x154,_0x3c3941:0x75,_0x2374ed:0x82,_0x271389:0xe0,_0x126241:0xad,_0x59b10a:0x164,_0x1d08b1:0x84},_0x435510={_0x263864:0x4ee,_0x228cae:0x460,_0x8cd30e:0x3d9,_0x33f7ff:0x92,_0x1d48a1:0x4f,_0x864f90:0x5d,_0x2bb901:0x347,_0x51ea90:0x351,_0x44c314:0xf,_0x1f692c:0xc5,_0x36895f:0x13c,_0x347716:0x8d,_0x44899d:0x10c,_0x4c76f4:0x9e,_0x1e7696:0x48b,_0x8b0a44:0x45e,_0x3070bf:0x160,_0x137457:0x284,_0x42f9d6:0x2d1,_0x4c513d:0x11,_0x289ef2:0xf6,_0x57ba33:0x2ae,_0xd651a0:0x3b9,_0x26bb0a:0x468,_0x1c2ca0:0x554,_0x934503:0x521,_0x22e7e0:0x134,_0x13b39d:0x15f,_0x8b4c96:0x156,_0x5a6457:0x38,_0x392f0a:0x14d,_0x2ec624:0x509,_0x1acfc1:0x35e,_0x1bf101:0x1f7,_0x4b75d2:0x127,_0x1b01a1:0xc9,_0x46016b:0x12c,_0x46bcb6:0x22e,_0x2d038d:0x2c,_0x4d62dc:0xfe,_0x4076bc:0xcd,_0xecc6eb:0x3d,_0xa58bfb:0x6ea,_0x4e1fab:0x5af,_0x3c0e82:0x352,_0x4d9455:0x3a7,_0x395b22:0x1e7,_0x42e007:0x125,_0x4c2225:0x1f9,_0x292004:0x270,_0x299164:0x6d3,_0x2bb143:0x563},_0x575247={_0x5a3449:0x4ab},_0xbe37a8={_0x2c91ef:0x1c2,_0x46cf4d:0x1de},_0x185ac6=_0x4a911d[_0x5380d1(-_0xe922f5._0x1a31e5,-0x8c,-_0xe922f5._0x359799,_0xe922f5._0x12a230)](_0x48ad1e[_0x16d696(_0xe922f5._0x25d0c4,0x5e3,0x527,_0xe922f5._0xbc289)]??process[_0x16d696(0x5f2,0x5dd,0x688,0x53a)]()),_0x404055=(_0x48ad1e[_0x16d696(_0xe922f5._0x1eccfa,_0xe922f5._0x555095,_0xe922f5._0x3ce144,_0xe922f5._0x50cbbc)]??[])[_0x16d696(0x5a4,0x4e5,0x43e,0x544)](_0x34b5c9=>_0x4a911d[_0x16d696(0x521,0x566,0x3ba,0x5ee)](_0x34b5c9));function _0x5380d1(_0x39c514,_0x4be8f1,_0xcd230f,_0x489990){return _0x5c47d8(_0xcd230f- -0x3e2,_0x4be8f1-_0xbe37a8._0x2c91ef,_0xcd230f-_0xbe37a8._0x46cf4d,_0x489990);}const _0x137ec3=_0x48ad1e[_0x5380d1(0x9b,_0xe922f5._0x59f991,0x137,0x261)]??'Ls';function _0x16d696(_0x482535,_0x4ba4b8,_0x3480f0,_0x208086){return _0x25cfa5(_0x482535-0xd0,_0x3480f0,_0x482535-0x506,_0x208086-0x121);}return defineTool({'name':_0x137ec3,'description':'List\x20files\x20and\x20directories\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x5380d1(_0xe922f5._0x3c3941,0x8e,0xe8,-_0xe922f5._0x2374ed),'properties':{'path':{'type':_0x5380d1(-0x189,_0xe922f5._0x271389,-0x34,-0x19)},'limit':{'type':_0x5380d1(0xd,-_0xe922f5._0x126241,-_0xe922f5._0x59b10a,-_0xe922f5._0x1d08b1)}}},async *'execute'(_0x17ad45){const _0x4db75d=_0x17ad45[_0x205729(0x666,0x5d9,_0x435510._0x263864,0x46b)]??'.',_0x42699c=resolveAllowedPath(_0x185ac6,_0x404055,_0x4db75d);function _0x254401(_0x8209ad,_0x5e394f,_0x5b18e7,_0x2a7294){return _0x5380d1(_0x8209ad-0x6c,_0x5e394f-0xf3,_0x8209ad-0xf5,_0x5b18e7);}const _0x45f3eb=await _0x20bf9f(_0x42699c)['catch'](()=>null);if(!_0x45f3eb?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x4db75d,{'path':_0x4db75d});const _0x322b40=_0x17ad45[_0x205729(0x3d0,_0x435510._0x228cae,_0x435510._0x8cd30e,0x4de)]??0x3e8,_0x2a6816=Math[_0x254401(0x3b,_0x435510._0x33f7ff,_0x435510._0x1d48a1,_0x435510._0x864f90)](Math[_0x205729(_0x435510._0x2bb901,_0x435510._0x51ea90,0x46c,0x3a5)](Math[_0x254401(-_0x435510._0x44c314,0x87,_0x435510._0x1f692c,-_0x435510._0x36895f)](_0x322b40),0x1),0x2710),_0x473586=await _0x32b342(_0x42699c),_0x4dda3d=[];for(const _0x5d838a of _0x473586[_0x254401(-0x8b,-_0x435510._0x347716,-0x3e,-_0x435510._0x44899d)](0x0,_0x2a6816)){const _0x51ec19=_0x4a911d[_0x254401(0x14,0xbe,_0x435510._0x4c76f4,0xad)](_0x42699c,_0x5d838a),_0x3137c5=await _0x20bf9f(_0x51ec19)[_0x205729(_0x435510._0x1e7696,_0x435510._0x8b0a44,0x521,0x3ae)](()=>null);if(!_0x3137c5)continue;let _0xa1aed0=_0x254401(_0x435510._0x3070bf,_0x435510._0x137457,0x2cb,_0x435510._0x42f9d6);if(_0x3137c5[_0x254401(-_0x435510._0x4c513d,0x8,-0xd,_0x435510._0x289ef2)]())_0xa1aed0=_0x205729(0x438,0x35c,_0x435510._0x57ba33,0x422);else{if(_0x3137c5['isDirectory']())_0xa1aed0=_0x205729(0x270,_0x435510._0xd651a0,0x475,0x50a);else{if(_0x3137c5[_0x205729(_0x435510._0x26bb0a,_0x435510._0x1c2ca0,_0x435510._0x934503,0x5ed)]())_0xa1aed0=_0x254401(0x1b4,_0x435510._0x22e7e0,_0x435510._0x13b39d,_0x435510._0x8b4c96);}}const _0x36560b={'name':_0x5d838a,'type':_0xa1aed0,'size':_0x3137c5[_0x254401(-0x29,-_0x435510._0x5a6457,-_0x435510._0x392f0a,-0x5c)],'mtime':_0x3137c5[_0x205729(_0x435510._0x2ec624,0x5c0,0x6a5,0x587)],'mode':_0x3137c5['mode']},_0x4fc1ad=_0xa1aed0===_0x205729(_0x435510._0x1acfc1,0x35c,_0x435510._0x1bf101,0x455)?await countTextLines(_0x51ec19,_0x3137c5[_0x254401(-0x29,-_0x435510._0x4b75d2,-0x6f,-_0x435510._0x1b01a1)]):void 0x0;if(_0x4fc1ad!==void 0x0)_0x36560b[_0x254401(_0x435510._0x46016b,_0x435510._0x46bcb6,0x21b,0x180)]=_0x4fc1ad;_0x4dda3d['push'](_0x36560b);}_0x4dda3d[_0x254401(-_0x435510._0x2d038d,-_0x435510._0x4d62dc,-_0x435510._0x4076bc,_0x435510._0xecc6eb)]((_0x3aadba,_0x995bd5)=>_0x3aadba[_0x205729(0x717,0x5e2,0x6e6,0x4b6)]['localeCompare'](_0x995bd5[_0x254401(0x22c,0xf6,0xec,0xb6)]));function _0x205729(_0x19b6d7,_0x4b116e,_0x4f5c1c,_0xe9cc75){return _0x5380d1(_0x19b6d7-0xe4,_0x4b116e-0x1a3,_0x4b116e-_0x575247._0x5a3449,_0x4f5c1c);}const _0x11daa7={'path':_0x4db75d,'total':_0x4dda3d[_0x205729(_0x435510._0xa58bfb,_0x435510._0x4e1fab,0x6b3,0x4cb)],'truncated':_0x473586['length']>_0x2a6816,'entries':_0x4dda3d};return yield createToolOutput(_0x2122a5[_0x205729(0x1f5,_0x435510._0x3c0e82,_0x435510._0x4d9455,0x4a8)](_0x11daa7,{'indent':0x2,'lineWidth':0x0})[_0x254401(_0x435510._0x395b22,_0x435510._0x42e007,0xb5,0xa4)](),{'path':_0x4db75d,'total':_0x4dda3d[_0x254401(_0x435510._0x4c2225,_0x435510._0x292004,0x16b,0x96)],'truncated':_0x473586[_0x205729(_0x435510._0x299164,_0x435510._0x4e1fab,_0x435510._0x2bb143,0x491)]>_0x2a6816,'limit':_0x2a6816,'entries':_0x4dda3d}),void 0x0;}});}import{stat as _0x5a4581}from'fs/promises';import _0xb3ad2d from'path';import{fileURLToPath as _0x382a32}from'url';function severityName(_0x559665){const _0x4620f9={_0x41a1b7:0x486,_0x265e22:0x4c1,_0x15902b:0x29c,_0x315522:0x2fe,_0x31694b:0x1ed,_0x4946d5:0x22b,_0x45ae4e:0x43f,_0x42c221:0x3bd,_0x5cb2e0:0x291},_0x2e8e2e={_0x55aaa0:0x1b4},_0x4a277e={_0x4ac2d1:0xf7,_0x5f088d:0x11d};function _0x383409(_0x246fc4,_0x2a91ae,_0x20b292,_0x2900d0){return _0x5c47d8(_0x20b292- -_0x4a277e._0x4ac2d1,_0x2a91ae-0x3e,_0x20b292-_0x4a277e._0x5f088d,_0x2a91ae);}function _0x318873(_0x360ca0,_0x1c63bd,_0x9c69cb,_0x490f9a){return _0x25cfa5(_0x360ca0-_0x2e8e2e._0x55aaa0,_0x1c63bd,_0x360ca0-0x2fb,_0x490f9a-0x65);}switch(_0x559665){case 0x1:return _0x318873(0x341,_0x4620f9._0x41a1b7,0x1e7,0x2a4);case 0x2:return _0x383409(_0x4620f9._0x265e22,_0x4620f9._0x15902b,0x3af,0x488);case 0x3:return _0x318873(_0x4620f9._0x315522,_0x4620f9._0x31694b,0x3f8,_0x4620f9._0x4946d5);case 0x4:return _0x318873(0x401,0x470,_0x4620f9._0x45ae4e,0x520);default:return _0x318873(0x2a5,_0x4620f9._0x42c221,0x308,_0x4620f9._0x5cb2e0);}}function formatSingleHover(_0x4866d4){const _0x348f18={_0x2ded33:0x564,_0x2ce1ee:0x71e,_0x3bda47:0x64f,_0xbf8ab:0x424,_0x3376f2:0x413,_0x18d8d7:0x782,_0x2846e0:0x5ff,_0x207689:0x5a2,_0x4f7c42:0x4e5,_0x3a904b:0x4,_0x1c09b0:0xe,_0xa38fda:0x59a,_0x16bc91:0x4ab,_0x590122:0x4b2,_0x1214cb:0x547,_0x1e011b:0x58f,_0x2d3500:0x58e,_0x5895c7:0x1a2,_0x2dc812:0x1c1,_0x2c0274:0x2b4,_0x176134:0xec,_0x47d7c4:0x149,_0x1015d3:0x14b,_0x12e291:0x206,_0x29f1cf:0x140},_0x284b26={_0x44f80a:0x196},_0x20c23d=_0x4866d4['contents'];if(typeof _0x20c23d===_0x188890(_0x348f18._0x2ded33,_0x348f18._0x2ce1ee,_0x348f18._0x3bda47,0x6e9))return _0x20c23d;function _0x5b3d8e(_0x13317a,_0x5d5ccc,_0xced378,_0x121271){return _0x25cfa5(_0x13317a-0x128,_0x5d5ccc,_0x13317a- -0x1db,_0x121271-_0x284b26._0x44f80a);}if(Array[_0x188890(_0x348f18._0xbf8ab,_0x348f18._0x3376f2,0x53a,0x626)](_0x20c23d))return _0x20c23d[_0x188890(_0x348f18._0x18d8d7,_0x348f18._0x2846e0,0x64e,0x74e)](_0x2d7564=>typeof _0x2d7564===_0x188890(0x771,0x5fc,0x64f,0x7c7)?_0x2d7564:_0x2d7564[_0x188890(0x671,0x55b,0x642,0x504)])['filter'](Boolean)[_0x188890(0x6a3,0x441,_0x348f18._0x207689,_0x348f18._0x4f7c42)]('\x0a\x0a');if(_0x5b3d8e(_0x348f18._0x3a904b,-_0x348f18._0x1c09b0,0x133,-0x146)in _0x20c23d)return _0x20c23d['value'];function _0x188890(_0xeb013d,_0x48bbd5,_0x16725a,_0x8a6b){return _0x25cfa5(_0xeb013d-0x111,_0x8a6b,_0x16725a-0x5b0,_0x8a6b-0xfe);}return _0x20c23d[_0x188890(_0x348f18._0xa38fda,0x4ae,0x5e9,_0x348f18._0x16bc91)]?_0x188890(_0x348f18._0x590122,_0x348f18._0x1214cb,_0x348f18._0x1e011b,_0x348f18._0x2d3500)+_0x20c23d[_0x5b3d8e(-_0x348f18._0x5895c7,-_0x348f18._0x2dc812,-_0x348f18._0x2c0274,-_0x348f18._0x176134)]+'\x0a'+_0x20c23d[_0x5b3d8e(-_0x348f18._0x47d7c4,-_0x348f18._0x1015d3,-_0x348f18._0x12e291,-_0x348f18._0x29f1cf)]+'\x0a```':_0x20c23d['value'];}function formatHover(_0x5953c4){const _0x4a438c={_0x536f05:0x614,_0x261839:0x58e,_0x2a8c8b:0x828,_0x11dccf:0x206,_0x1d9d76:0x526,_0x19f7c7:0x5a9},_0x531fdd={_0x5f3c68:0x507},_0x23856b={_0x2725b0:0x1ef,_0x3853b4:0x4f2,_0x17cb90:0x16e};function _0x343345(_0x17f435,_0xdd2bce,_0x35ee0a,_0x26c9e1){return _0x25cfa5(_0x17f435-_0x23856b._0x2725b0,_0x17f435,_0x35ee0a-_0x23856b._0x3853b4,_0x26c9e1-_0x23856b._0x17cb90);}if(_0x5953c4[_0x343345(_0x4a438c._0x536f05,_0x4a438c._0x261839,0x6c9,_0x4a438c._0x2a8c8b)]===0x0)return'No\x20hover\x20information';function _0x2668ba(_0x18bf0b,_0x35b837,_0x45d6f9,_0x1a9600){return _0x5c47d8(_0x35b837- -_0x531fdd._0x5f3c68,_0x35b837-0xa2,_0x45d6f9-0x10f,_0x1a9600);}return _0x5953c4[_0x343345(0x500,0x647,0x590,0x574)](formatSingleHover)[_0x2668ba(-0x26e,-_0x4a438c._0x11dccf,-0xd5,-0x122)](_0x343345(_0x4a438c._0x1d9d76,_0x4a438c._0x19f7c7,0x52a,0x62c));}function locationPath(_0x1df2f9){const _0x40d05f={_0x519d14:0x3a5,_0x474556:0x44e,_0x1d528c:0x39f},_0x205469={_0x4d7d53:0x74};if(!_0x1df2f9['startsWith'](_0xcee057(_0x40d05f._0x519d14,_0x40d05f._0x474556,_0x40d05f._0x1d528c,0x4a8)))return _0x1df2f9;function _0xcee057(_0x3434f6,_0x202dcf,_0x2c8b40,_0x1ef6d1){return _0x5c47d8(_0x1ef6d1-0x229,_0x202dcf-_0x205469._0x4d7d53,_0x2c8b40-0x12e,_0x3434f6);}return _0x382a32(_0x1df2f9);}function formatLocations(_0x29f0d9){const _0x50ebc3={_0x4ac489:0x3b9,_0x3bedfe:0x431,_0x4e6363:0x2d0,_0x5c60ff:0x224,_0x3596e3:0x323,_0x627e0e:0x265,_0x17c7a4:0x341},_0x49c193={_0x5a0703:0x85,_0x6bca96:0xfc,_0x58b289:0x34,_0x3a5921:0x5b5,_0x595a9b:0x595,_0x3b7193:0x639,_0x361abc:0x4d9},_0x542a80={_0x4e16ae:0xb8},_0x2780df={_0x30158d:0xac,_0x4ed937:0x88};if(_0x29f0d9[_0x634c06(_0x50ebc3._0x4ac489,0x43a,0x424,0x532)]===0x0)return _0x634c06(0x46a,0x441,0x579,_0x50ebc3._0x3bedfe);function _0x634c06(_0x35bd1b,_0x184fd3,_0x1e9f51,_0x3ae44e){return _0x5c47d8(_0x184fd3- -_0x2780df._0x30158d,_0x184fd3-0x28,_0x1e9f51-_0x2780df._0x4ed937,_0x35bd1b);}function _0x2f4e5f(_0x4b9ee7,_0x24ce1d,_0x2e734c,_0x3111cb){return _0x5c47d8(_0x4b9ee7- -0xdd,_0x24ce1d-0x181,_0x2e734c-_0x542a80._0x4e16ae,_0x3111cb);}return _0x29f0d9[_0x2f4e5f(_0x50ebc3._0x4e6363,0x1f5,0x2cd,0x1b2)](_0x5388db=>{const _0xdcb900={_0x1b296c:0x278,_0x4c5c5a:0x175},_0x42da44={_0x5e6432:0x111,_0x785a31:0xb0},_0x36db8c=_0x5388db['range'][_0x1fed13(_0x49c193._0x5a0703,0x74,_0x49c193._0x6bca96,_0x49c193._0x58b289)];function _0x1fed13(_0x18bd9f,_0x12758c,_0x3bf6d9,_0x920c69){return _0x2f4e5f(_0x3bf6d9- -_0x42da44._0x5e6432,_0x12758c-0x16,_0x3bf6d9-_0x42da44._0x785a31,_0x12758c);}function _0xe37e3a(_0x5d44c0,_0x1ec8fb,_0xf9939b,_0x4b8324){return _0x634c06(_0x1ec8fb,_0x4b8324-_0xdcb900._0x1b296c,_0xf9939b-0xcf,_0x4b8324-_0xdcb900._0x4c5c5a);}return locationPath(_0x5388db['uri'])+':'+(_0x36db8c[_0xe37e3a(_0x49c193._0x3a5921,0x49a,0x443,_0x49c193._0x595a9b)]+0x1)+':'+(_0x36db8c[_0xe37e3a(0x44e,_0x49c193._0x3b7193,_0x49c193._0x361abc,0x4fd)]+0x1);})[_0x2f4e5f(_0x50ebc3._0x5c60ff,_0x50ebc3._0x3596e3,_0x50ebc3._0x627e0e,_0x50ebc3._0x17c7a4)]('\x0a');}function isDocumentSymbol(_0x1590b6){const _0x10d743={_0x52c50a:0x230,_0x366ff:0xf1,_0x5f1117:0xe0},_0x3583e1={_0x44c7de:0xb0,_0x3b7a91:0x10};function _0x2f958b(_0x1196d8,_0xa167d,_0x481b8b,_0x536345){return _0x5c47d8(_0x1196d8- -0x4fc,_0xa167d-_0x3583e1._0x44c7de,_0x481b8b-_0x3583e1._0x3b7a91,_0xa167d);}return'range'in _0x1590b6&&_0x2f958b(-_0x10d743._0x52c50a,-_0x10d743._0x366ff,-_0x10d743._0x5f1117,-0xc4)in _0x1590b6;}function formatSymbols(_0x48ee7a){const _0x4bbbac={_0xb86d7b:0x3c7,_0x5cfc69:0x51a,_0x3417f5:0x174,_0xb7340c:0x3ec,_0x192da9:0x320},_0x5f0249={_0x346f06:0x1cb,_0x48ddaa:0x342,_0x10295e:0xde,_0x2d7c1f:0x103,_0xe2cb38:0x1c,_0xe3a0cf:0xa3,_0x40c43e:0x6,_0x453f54:0x44,_0x2b3855:0xf,_0x18e4fc:0x79,_0x273697:0x21b,_0x349446:0x1a0,_0x5eff6e:0x2f4,_0x4bc4d4:0x19f,_0x187d15:0x1c1,_0x699653:0x9a,_0x5c25af:0x75,_0x4ff150:0xc1,_0x501d6a:0x317,_0x260da6:0x1b5,_0x2fe6cf:0x92,_0x5eecea:0xde,_0x5b7e61:0x1df,_0x1ddd5e:0x12f,_0x9667b5:0x86},_0x46b408={_0x1a8e09:0xcd},_0x136555={_0x32d900:0x152},_0x1bf7f5={_0x1c4530:0x4},_0x207474={_0x4ce502:0xee};function _0x29d9b0(_0x47ee93,_0x30c283,_0x2881a3,_0x158a81){return _0x5c47d8(_0x2881a3- -0x2d4,_0x30c283-_0x207474._0x4ce502,_0x2881a3-0x38,_0x158a81);}function _0x3beaf5(_0x5bb8e4,_0x4f128b,_0x3c081d,_0x1f87b2){return _0x5c47d8(_0x5bb8e4-0x129,_0x4f128b-0x9c,_0x3c081d-_0x1bf7f5._0x1c4530,_0x3c081d);}if(_0x48ee7a['length']===0x0)return _0x3beaf5(0x4ad,_0x4bbbac._0xb86d7b,_0x4bbbac._0x5cfc69,0x564);return _0x48ee7a[_0x29d9b0(-0x68,_0x4bbbac._0x3417f5,0xd9,0x121)](_0x1b29f3=>{if(isDocumentSymbol(_0x1b29f3))return _0x1b29f3[_0x298766(_0x5f0249._0x346f06,_0x5f0249._0x48ddaa,0x71,0xd4)]+'\x20('+_0x1b29f3['kind']+_0x55320b(-_0x5f0249._0x10295e,_0x5f0249._0x2d7c1f,-0x5f,-0x1d5)+(_0x1b29f3[_0x55320b(0xfe,0xf4,-_0x5f0249._0xe2cb38,0x13)][_0x298766(-0x64,_0x5f0249._0xe3a0cf,-_0x5f0249._0x40c43e,_0x5f0249._0x453f54)]['line']+0x1)+':'+(_0x1b29f3[_0x55320b(-_0x5f0249._0x2b3855,0xe5,-0x1c,_0x5f0249._0x18e4fc)]['start']['character']+0x1)+']';function _0x55320b(_0xb1afdc,_0x3bf4e0,_0x3cfce1,_0x6fd7de){return _0x29d9b0(_0xb1afdc-_0x136555._0x32d900,_0x3bf4e0-0x137,_0x3cfce1- -0x6a,_0xb1afdc);}function _0x298766(_0x5b0835,_0x5d0caa,_0x261222,_0x4b558b){return _0x3beaf5(_0x5b0835- -0x477,_0x5d0caa-_0x46b408._0x1a8e09,_0x261222,_0x4b558b-0x1ab);}return _0x1b29f3[_0x55320b(0x149,_0x5f0249._0x273697,0x1db,0x85)]+'\x20('+_0x1b29f3[_0x298766(_0x5f0249._0x349446,0x2ba,_0x5f0249._0x5eff6e,_0x5f0249._0x4bc4d4)]+')\x20'+locationPath(_0x1b29f3[_0x55320b(0x1bf,_0x5f0249._0x187d15,_0x5f0249._0x699653,_0x5f0249._0x5c25af)][_0x55320b(_0x5f0249._0x4ff150,_0x5f0249._0x501d6a,0x1d3,_0x5f0249._0x260da6)])+':'+(_0x1b29f3[_0x55320b(0xb5,0xe2,_0x5f0249._0x699653,0x154)][_0x298766(-0x2c,0x49,-0xc6,-_0x5f0249._0x2fe6cf)]['start']['line']+0x1)+':'+(_0x1b29f3[_0x298766(0x8a,-_0x5f0249._0x5eecea,_0x5f0249._0x5b7e61,0x168)]['range'][_0x298766(-0x64,-_0x5f0249._0x1ddd5e,-0x163,-_0x5f0249._0x9667b5)][_0x55320b(0x10b,0x11c,-0xd,-0xa3)]+0x1);})[_0x3beaf5(0x42a,_0x4bbbac._0xb7340c,0x550,_0x4bbbac._0x192da9)]('\x0a');}function formatDiagnostics(_0x44c581){const _0xd8fd90={_0x34eb7d:0xbd,_0x16d2f3:0x2e,_0x1a3a79:0xcb,_0x26b39c:0xcc,_0x2a9e06:0x176,_0x277db8:0x2e7,_0x5950e2:0x119,_0x117f5a:0x240,_0x3aa2f9:0x314};if(_0x44c581['length']===0x0)return'No\x20diagnostics';return _0x44c581['map'](_0x5a213c=>{function _0x48ca33(_0x25d776,_0x201975,_0x28f79a,_0x2f761f){return _0x4b33(_0x28f79a- -0xe7,_0x201975);}function _0x1c9af4(_0x46bb37,_0x2acad8,_0x782bd1,_0x55750e){return _0x4b33(_0x46bb37- -0x12e,_0x55750e);}const _0x12d702=_0x5a213c[_0x1c9af4(_0xd8fd90._0x34eb7d,_0xd8fd90._0x16d2f3,0x109,0x1c1)][_0x48ca33(0x45,_0xd8fd90._0x1a3a79,_0xd8fd90._0x26b39c,_0xd8fd90._0x2a9e06)];return severityName(_0x5a213c[_0x1c9af4(0x20e,_0xd8fd90._0x277db8,0x2c4,_0xd8fd90._0x5950e2)])+'\x20['+(_0x12d702[_0x48ca33(0x6b,_0xd8fd90._0x117f5a,0x1ab,_0xd8fd90._0x3aa2f9)]+0x1)+':'+(_0x12d702['character']+0x1)+']\x20'+_0x5a213c['message'];})['join']('\x0a');}function formatIncomingCalls(_0x48f516){const _0x4040cf={_0x50b2ea:0x3d0,_0x4b9c02:0xe7,_0x546abd:0x35f,_0x2d3122:0x297,_0x2c7f55:0x255,_0x32b14d:0x33b,_0x38bbf3:0x22b,_0x333f3f:0x1da,_0x55483c:0x16c},_0x957ff8={_0x1246b3:0x185,_0x12fa17:0xd9},_0x43acdf={_0x4db2f1:0x8f};function _0x22e07d(_0x2de110,_0x3e56fe,_0x3b4e08,_0x483fae){return _0x5c47d8(_0x483fae- -0x46d,_0x3e56fe-_0x43acdf._0x4db2f1,_0x3b4e08-0x1d5,_0x2de110);}function _0x12ded5(_0x17c0ba,_0x235c42,_0x4839be,_0x241e4b){return _0x5c47d8(_0x235c42- -0x116,_0x235c42-_0x957ff8._0x1246b3,_0x4839be-_0x957ff8._0x12fa17,_0x17c0ba);}if(_0x48f516[_0x12ded5(0x2c9,_0x4040cf._0x50b2ea,0x44e,0x3b5)]===0x0)return _0x22e07d(_0x4040cf._0x4b9c02,-0x5e,0x1ca,0x90);return _0x48f516[_0x12ded5(_0x4040cf._0x546abd,_0x4040cf._0x2d3122,_0x4040cf._0x2c7f55,_0x4040cf._0x32b14d)](_0x3ced2c=>_0x3ced2c[_0x12ded5(0x2f0,0x2a6,0x2fe,0x2d6)][_0x12ded5(0x400,0x403,0x405,0x28f)])[_0x22e07d(-_0x4040cf._0x38bbf3,-_0x4040cf._0x333f3f,-0x23f,-_0x4040cf._0x55483c)]('\x0a');}function formatOutgoingCalls(_0x552d6a){const _0x1c8179={_0x52ad94:0x5a6,_0x1fa571:0x44a,_0x4f4df0:0x4ac,_0x17429e:0x620,_0x2807bb:0x732,_0x35d35f:0x385,_0x2679ee:0x3bf},_0x239b5c={_0x2090ca:0x12,_0x453a7a:0x155};function _0x563b6b(_0x3c651b,_0x3b2054,_0x236cb9,_0x45a04){return _0x5c47d8(_0x45a04-_0x239b5c._0x2090ca,_0x3b2054-_0x239b5c._0x453a7a,_0x236cb9-0x135,_0x236cb9);}function _0x119c3f(_0x4bc4f1,_0x46ffc2,_0x23fd70,_0x28a661){return _0x5c47d8(_0x28a661-0xef,_0x46ffc2-0x24,_0x23fd70-0x14b,_0x4bc4f1);}if(_0x552d6a[_0x563b6b(_0x1c8179._0x52ad94,0x45f,_0x1c8179._0x1fa571,0x4f8)]===0x0)return _0x119c3f(_0x1c8179._0x4f4df0,_0x1c8179._0x17429e,_0x1c8179._0x2807bb,0x5ec);return _0x552d6a[_0x563b6b(0x399,0x4ca,_0x1c8179._0x35d35f,_0x1c8179._0x2679ee)](_0x34b2ac=>_0x34b2ac['to']['name'])['join']('\x0a');}function _0x25cfa5(_0x1de55b,_0x3bdff8,_0x50995f,_0x40fc96){const _0x20fc6e={_0x326554:0x1d8};return _0x4b33(_0x50995f- -_0x20fc6e._0x326554,_0x3bdff8);}function toStructured(_0x45c421){const _0x9cb674={_0x1d3ec5:0x5ce,_0x2c5c1e:0x474,_0x2547c7:0x383,_0x2cfba1:0x4ea},_0x2f7919={_0x50ce7c:0x1a8,_0x1d9a01:0x3d},_0x44c1a1={_0x41983a:0x1ec,_0x5898aa:0x4fa};function _0x4ef452(_0x6edc9c,_0x110c88,_0x3625d8,_0x5e3ef6){return _0x25cfa5(_0x6edc9c-_0x44c1a1._0x41983a,_0x110c88,_0x6edc9c-_0x44c1a1._0x5898aa,_0x5e3ef6-0x10e);}function _0x40ca49(_0x295e5d,_0x377d4a,_0x42e3b4,_0x31b6b5){return _0x5c47d8(_0x377d4a-_0x2f7919._0x50ce7c,_0x377d4a-_0x2f7919._0x1d9a01,_0x42e3b4-0x73,_0x31b6b5);}return JSON[_0x40ca49(0x4a9,0x481,_0x9cb674._0x1d3ec5,0x474)](JSON[_0x4ef452(_0x9cb674._0x2c5c1e,_0x9cb674._0x2547c7,0x494,_0x9cb674._0x2cfba1)](_0x45c421));}async function assertFile(_0x245d76){const _0x150ef9={_0x1d158b:0x33e,_0x373932:0x1f9},_0x2b1b7b={_0x3f0d7c:0x1b1,_0x2f7948:0x22c},_0x5836a2=await _0x5a4581(_0x245d76);function _0x357ec5(_0x477bd2,_0x53c73f,_0x3dda68,_0x264a89){return _0x25cfa5(_0x477bd2-_0x2b1b7b._0x3f0d7c,_0x53c73f,_0x3dda68-_0x2b1b7b._0x2f7948,_0x264a89-0xfa);}if(!_0x5836a2[_0x357ec5(0x126,_0x150ef9._0x1d158b,_0x150ef9._0x373932,0x2e7)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x245d76,{'path':_0x245d76});}function validatePosition(_0x138e93,_0x247d6d){const _0x21a3c1={_0x27dec2:0x39d,_0x5c2e2e:0x4ef,_0x5b24fc:0x160,_0x32f179:0xcd,_0x5cb877:0x5ae,_0xe8aba6:0x3ab,_0x574f80:0x757},_0x293efd={_0x2778b7:0x175},_0x41ee5d={_0x462db1:0x149,_0x272d39:0x100};function _0x53a461(_0x147d0a,_0x1c0ad4,_0x40e75,_0x2b6a4d){return _0x5c47d8(_0x40e75- -0x343,_0x1c0ad4-_0x41ee5d._0x462db1,_0x40e75-_0x41ee5d._0x272d39,_0x147d0a);}function _0x4f4326(_0x55aa87,_0x110383,_0x4d4900,_0x2f9136){return _0x25cfa5(_0x55aa87-_0x293efd._0x2778b7,_0x55aa87,_0x110383-0x43f,_0x2f9136-0x9d);}if(!Number[_0x4f4326(_0x21a3c1._0x27dec2,_0x21a3c1._0x5c2e2e,0x424,0x3b5)](_0x138e93)||_0x138e93<0x1)throw new ToolExecutionError(_0x53a461(_0x21a3c1._0x5b24fc,_0x21a3c1._0x32f179,0x4b,-0x114),{'line':_0x138e93});if(!Number[_0x4f4326(_0x21a3c1._0x5cb877,0x4ef,_0x21a3c1._0xe8aba6,0x628)](_0x247d6d)||_0x247d6d<0x1)throw new ToolExecutionError(_0x4f4326(0x71c,0x63b,0x657,_0x21a3c1._0x574f80),{'character':_0x247d6d});}function createLspTool(_0x3b6655={}){const _0x187c97={_0x3ea78d:0xab,_0x2010a9:0xee,_0x3167e4:0x1b2,_0x228d6a:0x20d,_0x105f7d:0x471,_0x388341:0x307,_0x3c5624:0x342,_0x421be8:0x429,_0xc4adeb:0x47b,_0x40bf5c:0x347,_0x284e28:0x215,_0x9a168f:0x3a3,_0x355f1e:0x4a0,_0x1f88fb:0x1ea,_0x396dc0:0x341,_0x1b2889:0x2cc,_0x4409d2:0x3f3,_0x34401c:0x29f,_0x2170ba:0x1c5,_0x576faf:0x365,_0x743dd2:0x3ce,_0x2a8d05:0x322,_0x3c4454:0x475,_0x126cef:0x32a,_0x5eead0:0x1d2,_0x52b52f:0x343,_0x109090:0x38c,_0x475eee:0x2ec,_0x10fb64:0x23d,_0x42adb8:0x1c7,_0xe9bce0:0x3a0,_0x924af4:0x308,_0x3241df:0x43b,_0xb5eef:0x1d8,_0x4c4e96:0x18d,_0x3d7862:0x1a0,_0x82e2d6:0x293,_0x482c66:0x20,_0x2da61d:0x172,_0x3b5c4b:0xbc,_0x242877:0x95,_0x61d869:0x14e,_0x388277:0xa1,_0x5d9e81:0x8c,_0x66049d:0x28b},_0x2cafcb={_0x23a04f:0x119,_0x421223:0x1f4,_0x531fdf:0x1c8,_0x238b32:0x1d9,_0xcaf770:0x30,_0x586df9:0x2c,_0x391685:0x1dd,_0x35c186:0x36,_0x41e012:0xf0,_0x20e657:0x1de,_0x391503:0x89,_0x1e9536:0x11d,_0x56c667:0x243,_0x1b21e7:0x5b,_0x130d7d:0x5,_0x3f645:0x1c0,_0x52d071:0x56,_0x533b15:0xb9,_0x531b9b:0xa,_0x534e41:0x22,_0x41c352:0xf7,_0x1bfd45:0x109,_0xe8aae9:0xbd,_0x5b38df:0x73,_0x318b7f:0xa,_0x22d495:0xf3,_0x490297:0x10c,_0x42b58e:0x1db,_0x4edaa7:0x216,_0x481359:0x138,_0x13ecdb:0xe9,_0xcbe388:0x97,_0x130817:0x86,_0x56190c:0xa2,_0x392c3a:0x11,_0x2d89ae:0x1d3,_0xd1bbd3:0x40,_0x44736e:0x17,_0x5807b7:0xb5};function _0x5f4ee2(_0x18bcab,_0x4cefd1,_0x10f076,_0x3cc857){return _0x5c47d8(_0x10f076- -0x46a,_0x4cefd1-0x1c6,_0x10f076-0x100,_0x18bcab);}const _0x36e862=_0xb3ad2d['resolve'](_0x3b6655[_0x5f4ee2(-0x85,-0x2df,-0x1f5,-_0x187c97._0x3ea78d)]??process[_0x5f4ee2(_0x187c97._0x2010a9,-_0x187c97._0x3167e4,-0x6f,0x56)]()),_0x2a8480=(_0x3b6655[_0x5f4ee2(-0x25d,-_0x187c97._0x228d6a,-0x20d,-0x1e1)]??[])[_0x5fa24a(_0x187c97._0x105f7d,0x473,_0x187c97._0x388341,0x402)](_0x210760=>_0xb3ad2d[_0x5f4ee2(-0x269,-0x212,-0x140,-0x292)](_0x210760));function _0x5fa24a(_0x38bf69,_0x507a3c,_0x11daef,_0x5a7730){return _0x25cfa5(_0x38bf69-0x1b1,_0x507a3c,_0x11daef-0x269,_0x5a7730-0x176);}const _0x520722=_0x3b6655[_0x5fa24a(_0x187c97._0x3c5624,0x306,0x473,0x5eb)]??_0x5fa24a(_0x187c97._0x421be8,_0x187c97._0xc4adeb,_0x187c97._0x40bf5c,_0x187c97._0x284e28);return defineTool({'name':_0x520722,'description':_0x5fa24a(0x4f2,0x4ca,0x429,_0x187c97._0x9a168f),'inputSchema':{'type':_0x5fa24a(0x533,0x558,0x424,_0x187c97._0x355f1e),'properties':{'operation':{'type':'string','enum':[_0x5fa24a(_0x187c97._0x1f88fb,_0x187c97._0x396dc0,0x1e6,_0x187c97._0x1b2889),_0x5fa24a(_0x187c97._0x4409d2,_0x187c97._0x34401c,0x34e,0x435),_0x5fa24a(_0x187c97._0x2170ba,_0x187c97._0x576faf,0x273,_0x187c97._0x743dd2),_0x5fa24a(0x13b,0x2af,0x23d,_0x187c97._0x2a8d05),_0x5fa24a(0x2e4,0x2c7,0x3ca,_0x187c97._0x3c4454),'goToImplementation',_0x5fa24a(_0x187c97._0x126cef,0x1e0,_0x187c97._0x5eead0,0x134),'incomingCalls',_0x5fa24a(_0x187c97._0x52b52f,_0x187c97._0x109090,0x344,_0x187c97._0x475eee),_0x5fa24a(0x229,_0x187c97._0x10fb64,0x23a,0x102)]},'filePath':{'type':_0x5fa24a(_0x187c97._0x42adb8,_0x187c97._0xe9bce0,_0x187c97._0x924af4,_0x187c97._0x3241df)},'line':{'type':_0x5fa24a(0x206,0x201,_0x187c97._0xb5eef,_0x187c97._0x4c4e96)},'character':{'type':_0x5f4ee2(-_0x187c97._0x3d7862,-0x337,-0x1ec,-_0x187c97._0x82e2d6)},'query':{'type':_0x5f4ee2(-_0x187c97._0x482c66,-_0x187c97._0x2da61d,-_0x187c97._0x3b5c4b,-0x16)}},'required':['operation',_0x5f4ee2(-_0x187c97._0x242877,-0x1f3,-0x173,-0x12),_0x5f4ee2(0x79,-_0x187c97._0x61d869,-_0x187c97._0x388277,-_0x187c97._0x5d9e81),_0x5fa24a(0x270,0x1b8,_0x187c97._0x66049d,0x24e)]},async *'execute'(_0x52d259){const _0x289501={_0x44fb37:0x348,_0x3ce56a:0x151},_0xeed48b={_0x5ec6fa:0x269},_0x2dec30=_0x3b6655[_0x331613(_0x2cafcb._0x23a04f,_0x2cafcb._0x421223,-0x2f,_0x2cafcb._0x531fdf)];if(!_0x2dec30)throw new ToolExecutionError(_0x331613(-0x116,-0x17e,-_0x2cafcb._0x238b32,-0xf9));function _0x3c5993(_0x29a5f8,_0x14b58d,_0x4e56f0,_0x18bb47){return _0x5fa24a(_0x29a5f8-0x57,_0x18bb47,_0x29a5f8- -_0xeed48b._0x5ec6fa,_0x18bb47-0x35);}if(!_0x2dec30[_0x331613(0xbd,-_0x2cafcb._0xcaf770,_0x2cafcb._0x586df9,0x216)]())throw new ToolExecutionError(_0x3c5993(0x9a,-0xb,0x107,-0xb));const _0x1551f7=_0x52d259[_0x3c5993(0x10d,_0x2cafcb._0x391685,0x19c,-_0x2cafcb._0x35c186)];validatePosition(_0x52d259[_0x3c5993(0xba,_0x2cafcb._0x41e012,-0x4c,_0x2cafcb._0x20e657)],_0x52d259['character']);if(_0x1551f7==='workspaceSymbol'){if(!_0x52d259[_0x331613(-_0x2cafcb._0x391503,0x4b,0x5,-0x133)]?.['trim']())throw new ToolExecutionError(_0x331613(-_0x2cafcb._0x1e9536,-_0x2cafcb._0x56c667,_0x2cafcb._0x1b21e7,-0x12d));const _0x39a0f5=await _0x2dec30[_0x3c5993(0x161,0x196,_0x2cafcb._0x130d7d,_0x2cafcb._0x3f645)](_0x52d259['query']['trim']());return yield createToolOutput(formatSymbols(_0x39a0f5),{'operation':_0x1551f7,'query':_0x52d259[_0x3c5993(_0x2cafcb._0x52d071,_0x2cafcb._0x533b15,_0x2cafcb._0x531b9b,-_0x2cafcb._0x534e41)],'symbols':_0x39a0f5}),void 0x0;}const _0x27ba42=resolveAllowedPath(_0x36e862,_0x2a8480,_0x52d259['filePath']);function _0x331613(_0x590b50,_0x580afb,_0x331850,_0x5b84c9){return _0x5fa24a(_0x590b50-0x3,_0x580afb,_0x590b50- -_0x289501._0x44fb37,_0x5b84c9-_0x289501._0x3ce56a);}await assertFile(_0x27ba42);if(!await _0x2dec30['hasClients'](_0x27ba42))throw new ToolExecutionError('No\x20LSP\x20server\x20available\x20for\x20file:\x20'+_0x52d259[_0x331613(-_0x2cafcb._0x41c352,-0x22c,-0x145,-0x14a)],{'filePath':_0x52d259[_0x331613(-_0x2cafcb._0x41c352,-0x222,-0x22c,-_0x2cafcb._0x1bfd45)]});await _0x2dec30['touchFile'](_0x27ba42,!![]);const _0x33f6f7={'file':_0x27ba42,'line':_0x52d259['line']-0x1,'character':_0x52d259[_0x331613(-_0x2cafcb._0xe8aae9,-0x153,-0x1ca,-_0x2cafcb._0x5b38df)]-0x1};switch(_0x1551f7){case _0x3c5993(_0x2cafcb._0x318b7f,-0x123,-0x38,0x11):{const _0x1d0a38=await _0x2dec30[_0x3c5993(0xa,-0xc4,-0x3e,-_0x2cafcb._0x22d495)](_0x33f6f7);return yield createToolOutput(formatHover(_0x1d0a38),{'operation':_0x1551f7,'filePath':_0x27ba42,'hover':_0x1d0a38}),void 0x0;}case'diagnostics':{const _0x3f6bb5=await _0x2dec30['diagnosticsForFile'](_0x27ba42);return yield createToolOutput(formatDiagnostics(_0x3f6bb5),{'operation':_0x1551f7,'filePath':_0x27ba42,'diagnostics':_0x3f6bb5}),void 0x0;}case _0x331613(-0x162,-0x1e2,-_0x2cafcb._0x490297,-_0x2cafcb._0x42b58e):{const _0x47e60f=await _0x2dec30['definition'](_0x33f6f7);return yield createToolOutput(formatLocations(_0x47e60f),{'operation':_0x1551f7,'filePath':_0x27ba42,'locations':_0x47e60f}),void 0x0;}case'findReferences':{const _0x434e30=await _0x2dec30[_0x331613(-0x161,-_0x2cafcb._0x4edaa7,-_0x2cafcb._0x481359,-0x13b)](_0x33f6f7);return yield createToolOutput(formatLocations(_0x434e30),{'operation':_0x1551f7,'filePath':_0x27ba42,'locations':_0x434e30}),void 0x0;}case'goToImplementation':{const _0x313f5d=await _0x2dec30['implementation'](_0x33f6f7);return yield createToolOutput(formatLocations(_0x313f5d),{'operation':_0x1551f7,'filePath':_0x27ba42,'locations':_0x313f5d}),void 0x0;}case'documentSymbol':{const _0x2b164c=await _0x2dec30[_0x3c5993(-_0x2cafcb._0x586df9,-0x2c,-0x1a0,-_0x2cafcb._0x13ecdb)](_0x27ba42);return yield createToolOutput(formatSymbols(_0x2b164c),{'operation':_0x1551f7,'filePath':_0x27ba42,'symbols':_0x2b164c}),void 0x0;}case _0x3c5993(-_0x2cafcb._0xcbe388,-0x160,_0x2cafcb._0x130817,-0xf8):{const _0x212c6b=await _0x2dec30['prepareCallHierarchy'](_0x33f6f7);return yield createToolOutput(formatSymbols(_0x212c6b),{'operation':_0x1551f7,'filePath':_0x27ba42,'symbols':toStructured(_0x212c6b)}),void 0x0;}case _0x331613(_0x2cafcb._0x56190c,-_0x2cafcb._0x392c3a,_0x2cafcb._0x2d89ae,-0x9a):{const _0x2336a5=await _0x2dec30[_0x331613(_0x2cafcb._0x56190c,-_0x2cafcb._0xd1bbd3,-0x74,_0x2cafcb._0x44736e)](_0x33f6f7);return yield createToolOutput(formatIncomingCalls(_0x2336a5),{'operation':_0x1551f7,'filePath':_0x27ba42,'calls':toStructured(_0x2336a5)}),void 0x0;}case'outgoingCalls':{const _0x1abc22=await _0x2dec30[_0x331613(-0x4,_0x2cafcb._0x5807b7,0x116,-0x4d)](_0x33f6f7);return yield createToolOutput(formatOutgoingCalls(_0x1abc22),{'operation':_0x1551f7,'filePath':_0x27ba42,'calls':toStructured(_0x1abc22)}),void 0x0;}}}});}import{randomUUID as _0x4dc885}from'crypto';import{mkdir as _0x1f68a0,readFile as _0x4e12ad,writeFile as _0x107f60}from'fs/promises';import{join as _0x52c0e1}from'path';function sanitizeStorageKey(_0x29b2fe){const _0x4ff894={_0x3742e6:0x68,_0x4c351a:0x31,_0x3ccf2a:0xe5,_0x5e9089:0x1b0},_0x4f7837={_0x11f15b:0x2a7,_0x2316d1:0x4};function _0xab10fd(_0x327740,_0x4a79d6,_0x439459,_0x14d557){return _0x5c47d8(_0x4a79d6- -0x50c,_0x4a79d6-0xdd,_0x439459-0x1d3,_0x14d557);}function _0x1a33e9(_0x236946,_0x29d58b,_0x108f50,_0x509ce7){return _0x25cfa5(_0x236946-0x154,_0x108f50,_0x236946-_0x4f7837._0x11f15b,_0x509ce7-_0x4f7837._0x2316d1);}return _0x29b2fe['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0xab10fd(_0x4ff894._0x3742e6,-0x32,_0x4ff894._0x4c351a,_0x4ff894._0x3ccf2a)](/^_+|_+$/g,'')||_0xab10fd(-0x14b,-_0x4ff894._0x5e9089,-0xc8,-0xa7);}function storagePath(_0x3e3627){const _0x158b0e={_0x3f968d:0x7b,_0x1aafec:0x1a4,_0x5035e8:0x115,_0x4e4e69:0x35,_0x209e90:0x63,_0x2cd455:0x1aa,_0x3fdbde:0x1e9,_0x2562af:0x33f,_0x4561ab:0x8f},_0x582c14={_0x238dfa:0x1c0,_0x2a45cf:0x4},_0x9d23d7={_0x1b5b5c:0x179,_0x3352a1:0x1d3},_0x1d7e44=sanitizeStorageKey(_0x3e3627[_0x595613(0x92,0x28,_0x158b0e._0x3f968d,-0x64)][_0x595613(0x1d8,_0x158b0e._0x1aafec,0x107,_0x158b0e._0x5035e8)]?.['tokenStorageKey']??_0x3e3627[_0x595613(-_0x158b0e._0x4e4e69,_0x158b0e._0x209e90,0x19e,_0x158b0e._0x2cd455)]);function _0x548daa(_0x17deb7,_0x13f745,_0x1e52d0,_0x37af2e){return _0x5c47d8(_0x17deb7- -_0x9d23d7._0x1b5b5c,_0x13f745-0x34,_0x1e52d0-_0x9d23d7._0x3352a1,_0x1e52d0);}function _0x595613(_0x367950,_0x335ddf,_0x37c2e6,_0x3b4935){return _0x5c47d8(_0x335ddf- -0x31a,_0x335ddf-_0x582c14._0x238dfa,_0x37c2e6-_0x582c14._0x2a45cf,_0x3b4935);}return _0x52c0e1(_0x3e3627[_0x548daa(0x305,0x2c4,_0x158b0e._0x3fdbde,_0x158b0e._0x2562af)],_0x1d7e44+_0x595613(0x94,0x20,0x101,-_0x158b0e._0x4561ab));}async function readStore(_0x75d0cb){const _0x2fffab={_0x570e93:0x1d5,_0x42ded1:0x229,_0x459274:0x15d,_0x3cf6ee:0x5b0,_0xec8d4e:0x594,_0x13a945:0x615,_0x3aca18:0x556,_0xe17977:0x62e,_0x3c3ac7:0x342,_0x26bdb5:0x2b0},_0x1595e3={_0x221835:0xae},_0x5d0f97={_0x2e8959:0x133};function _0x571e7c(_0x42f8e9,_0x19ff5e,_0x44697b,_0x32a763){return _0x25cfa5(_0x42f8e9-0x1e5,_0x42f8e9,_0x44697b- -0x178,_0x32a763-_0x5d0f97._0x2e8959);}function _0x5ec12f(_0x31d6e3,_0x43961f,_0x20ebdb,_0x2a1876){return _0x5c47d8(_0x31d6e3-0xac,_0x43961f-0x30,_0x20ebdb-_0x1595e3._0x221835,_0x2a1876);}try{return JSON[_0x571e7c(-_0x2fffab._0x570e93,-_0x2fffab._0x42ded1,-0x1ae,-_0x2fffab._0x459274)](await _0x4e12ad(_0x75d0cb,_0x5ec12f(_0x2fffab._0x3cf6ee,0x6e8,_0x2fffab._0xec8d4e,_0x2fffab._0x13a945)));}catch(_0x546e72){if(_0x546e72 instanceof Error&&_0x5ec12f(_0x2fffab._0x3aca18,0x523,0x4c0,_0x2fffab._0xe17977)in _0x546e72&&_0x546e72['code']===_0x5ec12f(_0x2fffab._0x3c3ac7,0x406,0x351,_0x2fffab._0x26bdb5))return{};throw _0x546e72;}}async function writeStore(_0x65e1f2,_0x54c8a7){const _0x4de953={_0x1bb92a:0x493},_0x49ba60={_0x30b67e:0xf3,_0x186b2e:0x249,_0x29eb22:0x25};function _0x2cc41b(_0x231d41,_0x4799bd,_0x505180,_0x413f07){return _0x25cfa5(_0x231d41-_0x49ba60._0x30b67e,_0x413f07,_0x231d41-_0x49ba60._0x186b2e,_0x413f07-_0x49ba60._0x29eb22);}await _0x1f68a0(_0x52c0e1(_0x65e1f2,'..'),{'recursive':!![]}),await _0x107f60(_0x65e1f2,JSON['stringify'](_0x54c8a7,null,0x2),_0x2cc41b(0x43e,0x398,_0x4de953._0x1bb92a,0x444));}async function updateStore(_0x254272,_0x5d8e0a){const _0x286f8d=await readStore(_0x254272);_0x5d8e0a(_0x286f8d),await writeStore(_0x254272,_0x286f8d);}function createMcpOAuthProvider(_0x32cdc8){const _0x1226dd={_0x578b73:0x4ab,_0x53f477:0x33b,_0x3fea59:0x524,_0xc38731:0x5ab,_0x25fdfc:0x4b6,_0x10cba7:0x52d,_0x5f0d3a:0x3ee,_0x28e82b:0x1ae,_0x3bb566:0x472,_0x126265:0x3ac,_0x1cd02e:0x5a1,_0x1252b5:0x32,_0x35c041:0x45,_0x2ec444:0x53,_0x4d936c:0x51,_0x392770:0x50a,_0x83d3a6:0x5ab,_0x51f736:0x6ab,_0x24c7a7:0x5d4},_0x4120db={_0x96dd75:0x29e},_0xbcd00d={_0x3a1d4d:0x39b},_0x439eab={_0x473c3b:0x4d1,_0x1d7a30:0x4eb,_0x26fce3:0x5a8,_0xa8975d:0x113,_0x52306d:0x185,_0x1a8bb3:0x178},_0x31602f={_0x5eed3b:0x109,_0x16a676:0x99},_0x39719d={_0x626c32:0x5a6,_0x3f2052:0x29},_0x365cb2={_0x2c0429:0x21a},_0x42f7e3={_0x1f1cc5:0x4ca,_0x9babdc:0x698},_0x3766b3={_0x5dd029:0xc,_0x5d28ed:0x14f},_0x323228={_0x389749:0x9d,_0x3cb8d7:0x5a,_0x4dce0d:0xdb,_0x2b90c2:0x31},_0xcc095f={_0x709d5f:0x3fc,_0x3f8edc:0x119};function _0x12a7fa(_0x307949,_0x1d8487,_0x2eefc2,_0x27e59a){return _0x5c47d8(_0x307949- -0x478,_0x1d8487-0x160,_0x2eefc2-0x5a,_0x27e59a);}function _0x450336(_0x4d786d,_0x571c2a,_0x1106b4,_0x26368e){return _0x25cfa5(_0x4d786d-0x9d,_0x571c2a,_0x4d786d-_0xcc095f._0x709d5f,_0x26368e-_0xcc095f._0x3f8edc);}const _0x34e904=storagePath(_0x32cdc8),_0x5738b4=_0x32cdc8[_0x450336(0x42f,_0x1226dd._0x578b73,_0x1226dd._0x53f477,_0x1226dd._0x3fea59)][_0x450336(_0x1226dd._0xc38731,0x667,_0x1226dd._0x25fdfc,_0x1226dd._0x10cba7)]?.['scopes']?.[_0x450336(_0x1226dd._0x5f0d3a,0x42b,0x29d,0x343)]('\x20'),_0x162e33={'client_name':_0x12a7fa(-0x172,-_0x1226dd._0x28e82b,-0x1b2,-0x1ab),'redirect_uris':[_0x32cdc8[_0x450336(_0x1226dd._0x3bb566,0x40f,_0x1226dd._0x126265,0x523)]],'grant_types':[_0x450336(0x4ce,0x637,_0x1226dd._0x1cd02e,0x42b),'refresh_token'],'response_types':[_0x12a7fa(_0x1226dd._0x1252b5,_0x1226dd._0x35c041,-_0x1226dd._0x2ec444,-_0x1226dd._0x4d936c)],'token_endpoint_auth_method':'client_secret_post',..._0x5738b4?{'scope':_0x5738b4}:{}};return{'clientMetadataUrl':_0x32cdc8[_0x450336(0x42f,_0x1226dd._0x392770,0x50f,0x2cb)][_0x450336(_0x1226dd._0x83d3a6,_0x1226dd._0x51f736,_0x1226dd._0x24c7a7,0x691)]?.[_0x12a7fa(0x59,-0x58,0x19c,0xb6)],get 'redirectUrl'(){return _0x32cdc8['callbackUrl'];},get 'clientMetadata'(){return _0x162e33;},async 'state'(){const _0x383fd3={_0x29c843:0x28},_0x36a127={_0x37b736:0x22a,_0x23bbfe:0x265,_0x5f505d:0x1d0},_0x1de2d1={_0x2230e1:0xe2,_0x375540:0x217,_0x455525:0x143},_0x4ae9e6={_0x251427:0x62};function _0x52e775(_0x291f00,_0x21aa23,_0x310830,_0x1a0792){return _0x12a7fa(_0x310830- -_0x4ae9e6._0x251427,_0x21aa23-0x1e0,_0x310830-0xa4,_0x21aa23);}const _0x5f4275=await readStore(_0x34e904);if(_0x5f4275[_0x21a1ac(-_0x323228._0x389749,-0x135,-0x3f,-0x16a)])return _0x5f4275[_0x21a1ac(-_0x323228._0x3cb8d7,-_0x323228._0x4dce0d,-0x3f,_0x323228._0x2b90c2)];const _0x5ad9f3=_0x4dc885();await updateStore(_0x34e904,_0xa43c50=>{function _0xa2c4c0(_0x221024,_0xa74725,_0x46d637,_0x28eca3){return _0x52e775(_0x221024-_0x1de2d1._0x2230e1,_0xa74725,_0x46d637-_0x1de2d1._0x375540,_0x28eca3-_0x1de2d1._0x455525);}_0xa43c50[_0xa2c4c0(_0x36a127._0x37b736,_0x36a127._0x23bbfe,_0x36a127._0x5f505d,0x222)]=_0x5ad9f3;});function _0x21a1ac(_0xc123ad,_0x140bd0,_0x24a910,_0x4d69fe){return _0x12a7fa(_0x24a910- -0x5a,_0x140bd0-_0x383fd3._0x29c843,_0x24a910-0xd9,_0x140bd0);}return _0x5ad9f3;},async 'clientInformation'(){return(await readStore(_0x34e904))['clientInformation'];},async 'saveClientInformation'(_0x239f6e){const _0x2a72c5={_0x47a27f:0x6b1,_0x4bd485:0x441,_0x128d3e:0x4ce,_0x2cf6b3:0x599};await updateStore(_0x34e904,_0x47a833=>{function _0x26fdd7(_0x194981,_0x2f4f9d,_0x26d11b,_0xa3f5d1){return _0x4b33(_0xa3f5d1-0x33f,_0x194981);}_0x47a833[_0x26fdd7(_0x2a72c5._0x47a27f,_0x2a72c5._0x4bd485,_0x2a72c5._0x128d3e,_0x2a72c5._0x2cf6b3)]=_0x239f6e;});},async 'tokens'(){function _0x552726(_0x3c45fd,_0x3497cf,_0x45aae4,_0x5344ba){return _0x450336(_0x45aae4-_0x3766b3._0x5dd029,_0x5344ba,_0x45aae4-0xed,_0x5344ba-_0x3766b3._0x5d28ed);}return(await readStore(_0x34e904))[_0x552726(0x61b,_0x42f7e3._0x1f1cc5,0x625,_0x42f7e3._0x9babdc)];},async 'saveTokens'(_0x2d359f){await updateStore(_0x34e904,_0x270200=>{_0x270200['tokens']=_0x2d359f;});},async 'redirectToAuthorization'(_0xff8123){const _0x3126ac={_0x3dccc6:0x201,_0x53a3be:0x0};function _0x46b9ea(_0x56d2e4,_0xefbbcc,_0x82526d,_0x123822){return _0x450336(_0xefbbcc- -_0x3126ac._0x3dccc6,_0x82526d,_0x82526d-_0x3126ac._0x53a3be,_0x123822-0x106);}await _0x32cdc8[_0x46b9ea(0x64,0x15d,0x242,_0x365cb2._0x2c0429)](_0xff8123);},async 'saveCodeVerifier'(_0x5476ab){const _0x699826={_0x3259cc:0x57a,_0x2983e4:0x48f};await updateStore(_0x34e904,_0x2a9d2a=>{const _0x25aa73={_0x9f4b24:0x319};function _0x56ec4f(_0x50b7f0,_0x51c299,_0x365768,_0x14067f){return _0x4b33(_0x51c299-_0x25aa73._0x9f4b24,_0x14067f);}_0x2a9d2a[_0x56ec4f(_0x699826._0x3259cc,0x59f,0x552,_0x699826._0x2983e4)]=_0x5476ab;});},async 'codeVerifier'(){function _0x5534ab(_0x18012e,_0x32f34c,_0x2d60b0,_0x579ebe){return _0x12a7fa(_0x32f34c-_0x39719d._0x626c32,_0x32f34c-0x17d,_0x2d60b0-_0x39719d._0x3f2052,_0x2d60b0);}const _0xff9898=(await readStore(_0x34e904))[_0x5534ab(_0x439eab._0x473c3b,_0x439eab._0x1d7a30,0x4bc,_0x439eab._0x26fce3)];function _0x2f4a21(_0x4d6f0f,_0x51fbd0,_0x6d992a,_0x33f4ab){return _0x12a7fa(_0x51fbd0-0x79,_0x51fbd0-_0x31602f._0x5eed3b,_0x6d992a-_0x31602f._0x16a676,_0x4d6f0f);}if(!_0xff9898)throw new Error(_0x2f4a21(_0x439eab._0xa8975d,0x4b,_0x439eab._0x52306d,_0x439eab._0x1a8bb3));return _0xff9898;},async 'invalidateCredentials'(_0x168f1b){const _0x34fd46={_0x171f6f:0x2d2,_0xd3c981:0x4d6,_0x3a200f:0x383,_0x941c44:0x48b,_0x2da4f8:0x383,_0x796be6:0x531,_0x56dab8:0x659,_0x38ad03:0x68f,_0x54d108:0x43c,_0x4c83b3:0x416,_0x51793c:0x655,_0x3c8cdc:0x4ea,_0x1fbbe4:0x3b6,_0x1dd994:0x34a,_0x1f908a:0x484,_0x273509:0x383,_0x17bb40:0x2f4,_0x1ae6fc:0x40c,_0xe37b8c:0x471,_0x234e8f:0x405,_0x5ff9a6:0x578,_0x4e5380:0x591};await updateStore(_0x34e904,_0x1ee2be=>{const _0x5ae15e={_0x2aee83:0x1be};(_0x168f1b===_0x3bfc0f(0x44a,_0x34fd46._0x171f6f,_0x34fd46._0xd3c981,_0x34fd46._0x3a200f)||_0x168f1b==='client')&&(_0x1ee2be[_0x3bfc0f(_0x34fd46._0x941c44,0x314,0x4ee,0x418)]=void 0x0);function _0x2455f6(_0x521d58,_0x133649,_0x5e5ec2,_0x42aeec){return _0x4b33(_0x5e5ec2-0x264,_0x133649);}(_0x168f1b===_0x3bfc0f(0x4e4,0x352,0x242,_0x34fd46._0x2da4f8)||_0x168f1b===_0x2455f6(0x512,_0x34fd46._0x796be6,_0x34fd46._0x56dab8,_0x34fd46._0x38ad03))&&(_0x1ee2be['tokens']=void 0x0);(_0x168f1b===_0x2455f6(0x31b,0x57a,0x429,_0x34fd46._0x54d108)||_0x168f1b===_0x2455f6(_0x34fd46._0x4c83b3,0x468,0x54f,0x4b8))&&(_0x1ee2be[_0x2455f6(_0x34fd46._0x51793c,0x3f0,_0x34fd46._0x3c8cdc,0x611)]=void 0x0,_0x1ee2be['state']=void 0x0);function _0x3bfc0f(_0x274e4f,_0x3e265d,_0x140fe7,_0x12f348){return _0x4b33(_0x12f348-_0x5ae15e._0x2aee83,_0x3e265d);}(_0x168f1b===_0x3bfc0f(_0x34fd46._0x1fbbe4,_0x34fd46._0x1dd994,_0x34fd46._0x1f908a,_0x34fd46._0x273509)||_0x168f1b===_0x3bfc0f(_0x34fd46._0x17bb40,_0x34fd46._0x1ae6fc,_0x34fd46._0xe37b8c,_0x34fd46._0x234e8f))&&(_0x1ee2be[_0x2455f6(_0x34fd46._0x5ff9a6,_0x34fd46._0x4e5380,0x4bd,0x40e)]=void 0x0);});},async 'saveDiscoveryState'(_0x2df3d6){await updateStore(_0x34e904,_0x1bf12d=>{const _0x211c7c={_0x5f5ba8:0x28d};function _0x5f1680(_0x2780ca,_0x38f0e2,_0x442d4f,_0x28d279){return _0x4b33(_0x2780ca-_0x211c7c._0x5f5ba8,_0x442d4f);}_0x1bf12d[_0x5f1680(0x4e6,0x5c0,0x5b2,_0xbcd00d._0x3a1d4d)]=_0x2df3d6;});},async 'discoveryState'(){function _0x3ed92d(_0x595163,_0x4c1e2b,_0x51935a,_0x4072a0){return _0x450336(_0x595163- -0x9d,_0x51935a,_0x51935a-0x6f,_0x4072a0-0x4f);}return(await readStore(_0x34e904))[_0x3ed92d(0x3e0,0x2e4,0x2c5,_0x4120db._0x96dd75)];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x2e80fc,_0x48f1b0){const _0x3f9b1c={_0x253182:0x4b8,_0x479ba8:0x22},_0x5279bb={_0x2a6b2c:0x2b5},_0x34bb1d=_0x3ff23c=>_0x3ff23c[_0x2f3843(0x2aa,0x19c,0x22f,0x225)](/[^a-zA-Z0-9_]+/g,'_')[_0x2f3843(0x121,0x328,0x15e,0x225)](/^_+|_+$/g,'');function _0x2f3843(_0x173cad,_0xf09668,_0x23cbdf,_0x130c38){return _0x5c47d8(_0x130c38- -_0x5279bb._0x2a6b2c,_0xf09668-0xa6,_0x23cbdf-0x19b,_0x23cbdf);}function _0x28821e(_0x4223b5,_0x933c7e,_0x2a3f84,_0x1f9906){return _0x5c47d8(_0x1f9906- -_0x3f9b1c._0x253182,_0x933c7e-_0x3f9b1c._0x479ba8,_0x2a3f84-0xf6,_0x2a3f84);}return'mcp_'+_0x34bb1d(_0x2e80fc)+'_'+_0x34bb1d(_0x48f1b0);}function isObject(_0x559b18){const _0x24e667={_0x292b85:0x46,_0x3c6b6e:0x2e,_0x5160e9:0x68},_0x36f795={_0x25a250:0x30};function _0x2c0c86(_0x38c591,_0x278196,_0x5e6703,_0x4494a0){return _0x25cfa5(_0x38c591-0x96,_0x38c591,_0x278196-_0x36f795._0x25a250,_0x4494a0-0x19a);}return typeof _0x559b18==='object'&&_0x559b18!==null&&!Array[_0x2c0c86(-0xec,-_0x24e667._0x292b85,_0x24e667._0x3c6b6e,_0x24e667._0x5160e9)](_0x559b18);}function toSupportedSchema(_0x454518){const _0x2a1c33={_0x2d76a9:0x116,_0x94d3df:0x3be,_0x5ac539:0x305,_0x125145:0x227,_0x406695:0x1fb,_0x55f38b:0x1e5,_0x319dd0:0x197,_0x4e549e:0x25d,_0x554658:0x185,_0x716dca:0x121,_0x3323e0:0x4,_0x3b3c82:0x257,_0x56ee62:0x175,_0xc2428f:0x4f5,_0x51ba9e:0x5fc,_0x55bcc5:0x2f7,_0x342d2f:0x14a},_0x4df6a8={_0xde0ee8:0xe9},_0x4603ce={_0x3215f7:0x415};if(!isObject(_0x454518))return void 0x0;if(_0x454518[_0x34dfc5(-0x2ae,-0x19b,-_0x2a1c33._0x2d76a9,-0x185)]==='string')return{'type':_0x1380af(_0x2a1c33._0x94d3df,0x348,0x467,_0x2a1c33._0x5ac539)};function _0x34dfc5(_0x18106f,_0x4eeec6,_0x1b7b50,_0x327071){return _0x5c47d8(_0x327071- -_0x4603ce._0x3215f7,_0x4eeec6-0x18a,_0x1b7b50-0x170,_0x18106f);}if(_0x454518[_0x1380af(0x2a0,_0x2a1c33._0x125145,0x223,_0x2a1c33._0x406695)]===_0x34dfc5(-0x1b5,-0xed,-0x286,-0x197)||_0x454518['type']==='integer')return{'type':_0x34dfc5(-0x6f,-0x47,-_0x2a1c33._0x55f38b,-_0x2a1c33._0x319dd0)};if(_0x454518[_0x34dfc5(-_0x2a1c33._0x4e549e,-_0x2a1c33._0x554658,-0x21c,-_0x2a1c33._0x554658)]===_0x34dfc5(-0x129,-0x83,-0xb3,-_0x2a1c33._0x716dca))return{'type':_0x34dfc5(-0xf2,_0x2a1c33._0x3323e0,0x3a,-0x121)};function _0x1380af(_0x2f935b,_0x4f972d,_0x544901,_0x3b0f24){return _0x5c47d8(_0x2f935b-0x10,_0x4f972d-_0x4df6a8._0xde0ee8,_0x544901-0xec,_0x4f972d);}if(_0x454518[_0x34dfc5(-0x25f,-_0x2a1c33._0x3b3c82,-_0x2a1c33._0x56ee62,-0x185)]===_0x1380af(0x3ee,0x45e,0x354,0x4bd))return{'type':'array','items':toSupportedSchema(_0x454518[_0x1380af(_0x2a1c33._0xc2428f,0x50b,0x589,_0x2a1c33._0x51ba9e)])??{'type':_0x1380af(_0x2a1c33._0x94d3df,0x2a2,0x26c,_0x2a1c33._0x55bcc5)}};if(_0x454518[_0x34dfc5(-0x2d9,-_0x2a1c33._0x342d2f,-0x205,-_0x2a1c33._0x554658)]==='object')return toNuvinToolSchema(_0x454518);return void 0x0;}function toNuvinToolSchema(_0x3f0fba){const _0x149260={_0x4e1a8a:0x128,_0x55a14d:0x88,_0x48fe77:0x1b2,_0x6fadd2:0x1ab,_0x458bde:0x12b,_0x2bca3b:0x19a,_0x1827bf:0x1e9,_0x4fe3e4:0x1d0,_0x24a9ad:0xa9,_0x3395a7:0xd7,_0x5eb67d:0x169,_0x32c2f2:0xf9,_0x2843fb:0x3a,_0x59284b:0x36,_0x434ec8:0x2b,_0x2948ae:0x1fb,_0x9188bb:0x4},_0xac76b4={_0x599eb7:0x3b8,_0x20586e:0x148},_0x5bc3b0={_0x1230de:0xd7,_0xebaefe:0xe5};if(!isObject(_0x3f0fba)||_0x3f0fba[_0x4b789c(-_0x149260._0x4e1a8a,-0x207,-_0x149260._0x55a14d,-_0x149260._0x48fe77)]!==_0x2582e5(0x190,0x2a4,0x338,0x3e6))return{'type':_0x4b789c(0x112,_0x149260._0x6fadd2,_0x149260._0x458bde,0x1e5),'properties':{}};const _0xb61c96={},_0x46fddb=isObject(_0x3f0fba[_0x2582e5(_0x149260._0x2bca3b,0x160,0xbb,_0x149260._0x1827bf)])?_0x3f0fba[_0x2582e5(_0x149260._0x4fe3e4,0x160,0x252,_0x149260._0x24a9ad)]:{};for(const [_0x167213,_0x17ab9a]of Object[_0x4b789c(-_0x149260._0x3395a7,-0x9c,-0x233,-0xbd)](_0x46fddb)){const _0x1de76a=toSupportedSchema(_0x17ab9a);if(_0x1de76a)_0xb61c96[_0x167213]=_0x1de76a;}function _0x2582e5(_0x2dc937,_0x2de734,_0xf198b8,_0x9cb9a3){return _0x5c47d8(_0x2de734- -0x226,_0x2de734-_0x5bc3b0._0x1230de,_0xf198b8-_0x5bc3b0._0xebaefe,_0x9cb9a3);}function _0x4b789c(_0x1902ac,_0x2c5c6c,_0x32f03c,_0x2481e8){return _0x5c47d8(_0x1902ac- -_0xac76b4._0x599eb7,_0x2c5c6c-0x7a,_0x32f03c-_0xac76b4._0x20586e,_0x2481e8);}const _0x136146=Array[_0x2582e5(-0x8e,0x73,_0x149260._0x5eb67d,_0x149260._0x32c2f2)](_0x3f0fba['required'])?_0x3f0fba[_0x2582e5(_0x149260._0x2843fb,_0x149260._0x59284b,-_0x149260._0x434ec8,-0x19)][_0x2582e5(0x275,0x20e,0x1cd,_0x149260._0x2948ae)](_0x5b4bed=>typeof _0x5b4bed===_0x4b789c(-0xa,-0x116,0x160,0x158)):void 0x0;return _0x136146?.['length']?{'type':'object','properties':_0xb61c96,'required':_0x136146}:{'type':_0x4b789c(0x112,0x24,0x10b,_0x149260._0x9188bb),'properties':_0xb61c96};}function isJsonObject(_0x141b5f){const _0x5bd513={_0x56740d:0x635,_0x226663:0x392,_0x354b71:0x26c},_0x8c4583={_0xd74b15:0xb3};function _0x14f306(_0x4e9da8,_0xd636bc,_0x414cd6,_0x7e08a5){return _0x5c47d8(_0x4e9da8- -0x4a4,_0xd636bc-0x28,_0x414cd6-0x199,_0x7e08a5);}function _0x2aad4b(_0xce0e79,_0x39fc4e,_0x1c7ff8,_0x236868){return _0x5c47d8(_0x1c7ff8-_0x8c4583._0xd74b15,_0x39fc4e-0x6f,_0x1c7ff8-0x1e,_0x39fc4e);}return typeof _0x141b5f===_0x2aad4b(_0x5bd513._0x56740d,0x568,0x57d,0x574)&&_0x141b5f!==null&&!Array[_0x2aad4b(_0x5bd513._0x226663,0x1ed,0x34c,_0x5bd513._0x354b71)](_0x141b5f);}function formatMcpContent(_0x5c2584){const _0x19f2ab={_0x4f3036:0x5b6,_0x5383cd:0x647,_0x8e6f1c:0x612,_0xb7dd95:0x4c1,_0x488506:0x53d,_0x154a22:0x5cf,_0x4bef8c:0x708,_0x289e34:0x6f9},_0x3f45ac={_0x470bf8:0x222,_0x33ebde:0x73,_0x557634:0xef},_0x3345dc={_0x3ca280:0x28,_0x22caeb:0x31,_0x3af095:0x20e,_0x479285:0xe6,_0x6a64ae:0x8,_0x2d3b5d:0x227,_0x2a3db6:0x17f,_0xc107f:0x31d,_0x30c3b1:0x2d3,_0xea61a5:0x204,_0x33edb8:0x57f,_0x3f7191:0x662,_0x23d59e:0x527},_0x2eeacc={_0x49c603:0x8a},_0xfb119=Array['isArray'](_0x5c2584[_0x410bf5(_0x19f2ab._0x4f3036,_0x19f2ab._0x5383cd,0x573,0x4f9)])?_0x5c2584[_0x410bf5(0x5b6,_0x19f2ab._0x8e6f1c,0x509,_0x19f2ab._0xb7dd95)]:[];function _0x410bf5(_0x16365c,_0x37a987,_0x2acf7f,_0x3f9084){return _0x25cfa5(_0x16365c-0x151,_0x2acf7f,_0x16365c-0x5b5,_0x3f9084-_0x2eeacc._0x49c603);}const _0x3e02e6=_0xfb119[_0x8e5841(0x46a,_0x19f2ab._0x488506,_0x19f2ab._0x154a22,0x5c0)](_0x1933ba=>{function _0x1acff8(_0x2cf735,_0x2016a1,_0x414d13,_0x495193){return _0x410bf5(_0x495193- -0x450,_0x2016a1-0xb8,_0x2016a1,_0x495193-0x13e);}if(!isObject(_0x1933ba))return'';function _0x368417(_0x425971,_0x481cb5,_0x4ab221,_0x1e1508){return _0x410bf5(_0x1e1508- -0x56,_0x481cb5-0x165,_0x4ab221,_0x1e1508-0x95);}if(_0x1933ba[_0x1acff8(-_0x3345dc._0x3ca280,_0x3345dc._0x22caeb,_0x3345dc._0x3af095,_0x3345dc._0x479285)]===_0x1acff8(-_0x3345dc._0x6a64ae,_0x3345dc._0x2d3b5d,_0x3345dc._0x2a3db6,0x12d)&&typeof _0x1933ba['text']===_0x1acff8(0x17e,_0x3345dc._0xc107f,_0x3345dc._0x30c3b1,_0x3345dc._0xea61a5))return _0x1933ba[_0x368417(_0x3345dc._0x33edb8,_0x3345dc._0x3f7191,0x67a,_0x3345dc._0x23d59e)];return JSON['stringify'](_0x1933ba);})['filter'](_0x455e49=>_0x455e49[_0x8e5841(0x607,0x7f3,0x708,0x6e1)]>0x0)['join']('\x0a');if(_0x3e02e6[_0x8e5841(0x5ef,0x78d,_0x19f2ab._0x4bef8c,_0x19f2ab._0x289e34)]>0x0)return _0x3e02e6;function _0x8e5841(_0x47e7f2,_0x2b04e6,_0x540a8f,_0x477935){return _0x5c47d8(_0x540a8f-_0x3f45ac._0x470bf8,_0x2b04e6-_0x3f45ac._0x33ebde,_0x540a8f-_0x3f45ac._0x557634,_0x47e7f2);}return JSON['stringify'](_0x5c2584,null,0x2);}function createMcpTool(_0x46808c){const _0x3a0df3={_0x262b99:0x2f5,_0x5916d0:0x364,_0x5b78fc:0x283,_0x50e67c:0x447,_0xd2261:0x43e,_0x19e4be:0x0,_0x33c9a7:0xc,_0x2153eb:0x18d,_0x23549f:0x2,_0x1e93f0:0x145},_0x268751={_0x265d1b:0xa6,_0x4c0dfd:0x5a,_0x24bb8f:0x127,_0x1e8ec4:0x49,_0x1e2f0e:0x1,_0x585566:0x183,_0x31b01e:0x54,_0xc6ca25:0xc3,_0x507b32:0xcd,_0x2c4ffc:0x49,_0x3ed519:0x293,_0x4db864:0x290},_0xbde16e={_0x23d7c0:0x5d,_0x300492:0x62};function _0x463280(_0x1c4900,_0x2fb2b5,_0x587b7a,_0x18d916){return _0x25cfa5(_0x1c4900-_0xbde16e._0x23d7c0,_0x1c4900,_0x587b7a-0x15a,_0x18d916-_0xbde16e._0x300492);}const _0x503696=createMcpToolName(_0x46808c[_0x463280(0x322,_0x3a0df3._0x262b99,0x1c8,0xf8)],_0x46808c['tool'][_0x463280(0x40f,0x2bb,_0x3a0df3._0x5916d0,_0x3a0df3._0x5b78fc)]);function _0x46aa53(_0x250771,_0xfee211,_0x2ad6d0,_0x10c12d){return _0x25cfa5(_0x250771-0xef,_0xfee211,_0x2ad6d0- -0x1b3,_0x10c12d-0x19a);}return defineTool({'name':_0x503696,'description':_0x46808c['tool']['description']??_0x463280(0x252,_0x3a0df3._0x50e67c,0x318,_0x3a0df3._0xd2261)+_0x46808c[_0x463280(_0x3a0df3._0x19e4be,0x51,0x11d,-_0x3a0df3._0x33c9a7)]['name']+_0x463280(0x100,0xd1,0x167,_0x3a0df3._0x2153eb)+_0x46808c[_0x46aa53(0x32,-_0x3a0df3._0x23549f,-_0x3a0df3._0x1e93f0,-0x1fd)],'inputSchema':toNuvinToolSchema(_0x46808c['tool']['inputSchema']),async *'execute'(_0x30f305){const _0x253ee6={_0x4630af:0x2b},_0x476b5d=await _0x46808c[_0xb555eb(-0x155,-0xe8,_0x268751._0x265d1b,-0x1c)]['callTool']({'name':_0x46808c[_0xb555eb(0xfb,_0x268751._0x4c0dfd,_0x268751._0x24bb8f,_0x268751._0x1e8ec4)]['name'],'arguments':isJsonObject(_0x30f305)?_0x30f305:{}});function _0xb555eb(_0x57d20e,_0x6b0ca1,_0x7f5512,_0x53d542){return _0x463280(_0x7f5512,_0x6b0ca1-_0x253ee6._0x4630af,_0x53d542- -0xd4,_0x53d542-0xc3);}if(_0x476b5d['isError'])throw new ToolExecutionError(formatMcpContent(_0x476b5d),{'serverName':_0x46808c[_0xb555eb(_0x268751._0x1e2f0e,_0x268751._0x585566,-_0x268751._0x31b01e,0xf4)],'toolName':_0x46808c[_0xb555eb(0x131,-_0x268751._0xc6ca25,-0xb6,0x49)]['name']});function _0x226a95(_0x1b2b05,_0x5e9edd,_0x8958cb,_0x24bf86){return _0x46aa53(_0x1b2b05-0x10d,_0x5e9edd,_0x8958cb-0x122,_0x24bf86-0xb3);}return yield createToolOutput(formatMcpContent(_0x476b5d),{'serverName':_0x46808c['serverName'],'toolName':_0x46808c[_0xb555eb(-_0x268751._0x507b32,0x190,0x89,_0x268751._0x2c4ffc)][_0xb555eb(_0x268751._0x3ed519,0x206,0x2af,_0x268751._0x4db864)],'result':_0x476b5d}),void 0x0;}});}function resolvePrefix(_0x389b79,_0x1ecf9e){const _0x50827a={_0x3cef0a:0x85,_0x1aaab8:0xb3};function _0x34fc0c(_0x4c4a01,_0x5e8def,_0x1f3523,_0x5a3fce){return _0x25cfa5(_0x4c4a01-0x100,_0x4c4a01,_0x5e8def- -0x3f,_0x5a3fce-0x41);}return _0x1ecf9e[_0x34fc0c(_0x50827a._0x3cef0a,-0xc0,-0x4f,_0x50827a._0x1aaab8)]??_0x389b79;}function buildMcpHttpHeaders(_0x38a3ef){const _0x5220be={_0x16a5e7:0xb9,_0x308081:0xc3,_0x549e73:0xb6,_0x3bc386:0xc0,_0x5586d3:0x72,_0x1885ed:0x2b,_0x576d73:0x283,_0x13cb49:0x2d0,_0x280d2a:0x12b,_0x5ee3c9:0x35,_0x47d54d:0x273,_0x1642db:0x12c,_0x548e3f:0x1c3,_0x1678e5:0x248,_0x4d968b:0x6d,_0x1f7bf2:0x36,_0x453714:0x58,_0x320764:0x1a0,_0xa79812:0xfa,_0x276fa5:0xe5,_0x2f3d70:0x2b,_0x4c6684:0x38,_0x24dbaa:0x1fd,_0x404234:0x2c3},_0x42d649={_0x286373:0x6a,_0x1a5afb:0x165};function _0x3e5080(_0x30e12a,_0x3920e2,_0x582ebf,_0x576d49){return _0x25cfa5(_0x30e12a-_0x42d649._0x286373,_0x3920e2,_0x576d49- -_0x42d649._0x1a5afb,_0x576d49-0x137);}const _0x4c4181={..._0x38a3ef[_0x421e67(_0x5220be._0x16a5e7,_0x5220be._0x308081,-_0x5220be._0x549e73,_0x5220be._0x3bc386)]??{}};_0x38a3ef[_0x421e67(_0x5220be._0x5586d3,-_0x5220be._0x1885ed,0x140,0xa0)]?.[_0x3e5080(-0x176,-_0x5220be._0x576d73,-_0x5220be._0x13cb49,-0x1e4)]==='bearer'&&_0x38a3ef[_0x3e5080(_0x5220be._0x280d2a,0x1,-0x76,_0x5220be._0x5ee3c9)]['token']&&_0x4c4181[_0x3e5080(-0x164,-_0x5220be._0x47d54d,-_0x5220be._0x1642db,-0x20f)]===void 0x0&&(_0x4c4181[_0x3e5080(-_0x5220be._0x548e3f,-_0x5220be._0x1678e5,-0xea,-0x20f)]=_0x421e67(-_0x5220be._0x4d968b,-0x2c,_0x5220be._0x1f7bf2,0x198)+_0x38a3ef[_0x3e5080(_0x5220be._0x453714,0x5a,_0x5220be._0x320764,0x35)][_0x421e67(-0x10,-0xa4,-_0x5220be._0xa79812,-0x4c)]);function _0x421e67(_0x47bdc7,_0x568300,_0x524885,_0x53ef3f){return _0x25cfa5(_0x47bdc7-0xa,_0x47bdc7,_0x524885- -0x5a,_0x53ef3f-0x104);}return Object[_0x3e5080(-_0x5220be._0x276fa5,0x8c,_0x5220be._0x2f3d70,-_0x5220be._0x4c6684)](_0x4c4181)[_0x421e67(0x21a,_0x5220be._0x24dbaa,0x17d,_0x5220be._0x404234)]>0x0?_0x4c4181:void 0x0;}function getErrorMessage(_0x46a8cf){return _0x46a8cf instanceof Error?_0x46a8cf['message']:String(_0x46a8cf);}function isUnauthorizedError(_0xfc76dd){const _0x153256={_0x2692eb:0x635,_0x5a5b68:0x714,_0x2d5a4b:0x5d9},_0x4f5837={_0x4e2bf7:0x195,_0x1643d6:0x509},_0x513de6={_0x42bacd:0x497};function _0x336ff0(_0x382a11,_0x4e942e,_0x5998b5,_0x308775){return _0x5c47d8(_0x5998b5- -_0x513de6._0x42bacd,_0x4e942e-0xc7,_0x5998b5-0xb6,_0x382a11);}function _0x297f5c(_0x3e2e2f,_0x6baf63,_0x497b05,_0xc19f6f){return _0x25cfa5(_0x3e2e2f-_0x4f5837._0x4e2bf7,_0x497b05,_0x6baf63-_0x4f5837._0x1643d6,_0xc19f6f-0x65);}return _0xfc76dd instanceof Error&&_0xfc76dd['constructor'][_0x297f5c(0x5e8,0x713,_0x153256._0x2692eb,_0x153256._0x5a5b68)]===_0x297f5c(0x510,0x63e,0x6f9,_0x153256._0x2d5a4b);}function _0x322b(){const _0x5272b1=['y2HPBgq','zMjJBgLK','B2XKvgv4Da','Aw5JB21PBMDdywXSCW','r0LgodLH','Aw5WDxq','C3rHDgu','yw5ZD2vYCW','ywXSB3DLzfrVB2XZ','Dg9VBhmVy2fSBa','C291CMnL','ignVBxbSzxrLzc4','zgvMyxvSDa','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','DxrTx21LzgL1Bq','u0Lhs0Lmta','BxvSDgLtzwXLy3q','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','tM8GCMvZDwX0CYbMB3vUzc4','C3LTBgLUAW','BhnW','qxnRvxnLCLrVB2W','l3vZCI9IAw4VCMC','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','v2fYBMLUzW','r0LgodDH','BgL0zxjHBa','yxv0Aa','y29Kzq','AxnfBMfIBgvK','C3rKB3v0','Aw1Hz2uVCg5N','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','Aw5FChjVz3jLC3m','ChjVy2vZCW','B3b0Aw9UywW','sw52ywXPzcbYzwDLEdOG','Aw52ywXPzf90B2rVx3n0yxr1CW','ChjVy2vZC0v4AxrLza','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','ugf0AcbPCYbUB3qGysbMAwXLoIa','mujOwKHQqG','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','tg9HzfnRAwXS','seLhsa','CM9VDa','rMv0y2GGywjVCNrLzcbIEsb1C2vY','C3rKzxjYrgvJB2rLCG','B2f1DgG','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','lMPZEa','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','DxjS','mJrgs3nHrw8','ywjVCNrLza','zMXVB3i','CMLWz3jLCcbMywLSzwq6ia','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','rMv0y2GGDgLTzwqGB3v0','B2jQzwn0','B3bLBNjVDxrLCG','w291Dhb1Dcb0CNvUy2f0zwq6ia','tunqihrVB2WG','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','Bwf0y2HLCW','y2XPzw50twv0ywrHDgfvCMW','C2HPzNq','C2nYAxb0','DhjPBuvUza','DgLTzvTKyxrLDgLTzv0','AxneAxjLy3rVCNK','ls1ZDgrPBW','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','CMvWBgfJzq','z29Vz2XLlwnZzq','B3b0Aw9UCW','CgfZC3DVCMq','ntK2mdr4BNLJrvu','Bwv0yq','y29Uy2f0','yM0Ynq','qMfZAa','yw50AhjVCgLJlw1LC3nHz2vZ','ls1MB2XSB3C','AxrLBxm','BgvUz3rO','yMLYDgH0Aw1L','mJmYmZyXmKXmv0X0rW','C3rYAxbbBNnP','z2v0vg9KB3m','zxHPDcbJB2rLia','yxv0AfjLCxvPCMvK','tM8GBg9JyxrPB25ZigzVDw5K','A2LUza','Aw52ywXPzf90B2rVx2LK','zxHPDa','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','ywDLBNrjza','yMfZzty0','qxzHAwXHyMXLignVBw1HBMrZoG','BM93','BxrPBwvnCW','vw50AxrSzwq','lNDLyNa','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','lNrTCc4','zxf1ywXZ','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','v0vcua','BhmGlwXH','rMLSzvjLywq','C3rKzxjY','zgvSzwDHDgvKlxj1BI0','lu5Vtg9NBW','DxrMoa','uhvIBgLZAgvKoIa','ANnVBG','BhnWu2vYDMLJzq','zMLSBa','Aw5JBhvKzv9KB21HAw5Z','uhjVz3jHBuzPBgvZ','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','Cgf0DgvYBIbPCYbYzxf1AxjLza','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','BwfUDwfS','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','Cgf0Aa','DxjP','sw52ywXPzcbvuKWGCgfYyw1LDgvY','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','y2XVC2u','CxvLC3rPB25Z','zMLUza','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','s2LSBgvKia','BMfTzq','wZ0+nY04kcLD','C3jJl2fNzw50l2fNzw50lNrZ','cGPbuKDvtuvovfm6ia','lM10CW','AMf2yxnJCMLWDhjLywn0','C2vHCMnOrgvWDgG','BM9Uzq','AwDUB3jL','tuLosu1bwf9bueLFs0vz','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','y29UBMvJDgvK','BxrPBwu','y2XLyxi','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','AhjLzG','EwvZ','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','Dg9Rzw5Z','DxbKyxrL','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','tunqihnLCNzLCIa','yxjNDw1LBNroyw1LCW','vw5RBM93BIb0B29SoIa','lMPZ','CMCUzxHL','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','B2XSyw1H','zgLNzxn0','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','AhrTBfnUAxbWzxq','yMfZzw5HBwu','ywXSu2v0DgXLza','Dg9KB3ncEvnLC3nPB24','Aw5JBhvKzxm','Dg9ju09tDhjPBMC','qMfZAe91Dhb1Da','B25Jzq','yw50AhjVCgLJ','zg9TywLUCW','igj5DgvZicH0B3rHBdOG','ls1NBg9IpseUz2L0lYO','B3v0Chv0','zhj5uNvU','nZi2EvDpqK91','EwfYBI5SB2nR','Dg9mB3DLCKnHC2u','mtCYlJe2lJaUma','y29TBwfUza','BM90Awz5','yxbPs2v5','CMvXDwLYzwq','ywXSB3DLzerPCNm','y29TCgXLDgvK','l2jPBI9IyxnO','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C2LNBMfS','C2XPy2u','revfufnfruTFqvbjx0Tfwq','yMfZAwm','qxv0Ag9YAxPHDgLVBG','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Ag9ZDg5HBwu','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','zgf0zxrPBwu','Bwf4rw50CMLLCW','C2vZC2LVBKLK','D2HLCMuGCMC','y2XPzw50','zM9VDgvY','Dg9Rzw4','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','B25szwrPCMvJDa','DgHLBG','zMLSzvzLCNnPB25Z','Cg5WBs1SB2nRlNLHBwW','zgvMyxvSDen3za','B3bLBMfPlxjLC3bVBNnLCW','yNvMzMvY','ChjLCgfYzunHBgXiAwvYyxjJAhK','yxjNDw1LBNriAw50','B3jPz2LUywW','Cg9W','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','zgf0zvjLC3rYAwn0','BNvTyMvY','zMLSztOVlW','A2LSBa','DhvYBMrVD24','Dg9tDhjPBMC','AgfUzgXL','C3rHDhvZ','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','AgLNAa','lMn0CW','Bwf4','C3rYAw5NAwz5','CM91BMq','CgfJA2fNzxm','z29uB0rLzMLUAxrPB24','CMvMzxjLBMnLCW','ChjLzML4','zNvSzMLSBgvK','DhLWzq','Cgf0Ag5HBwu','lNrZ','zMLSzq','DMfSDwvZ','zxjYB3jZ','ru5pru5u','z2v0u3rHDhm','zxH0BMfTzq','AxnbCNjHEq','BgLUzvrLEhq','C2v0vg9WAwm','CMvXDwvZDa','ihDHCYbHyM9YDgvKlG','zMLYC3q','CgfJA2fNzu5HBwu','ienHDxnLoIa','y291BNq','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','CgfYC2vjBNq','vMLLD0zPBgu','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','C2vUze5VDgLMAwnHDgLVBG','zxjYB3i','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','qu5usfjpueLdx0fqsv9lrvK','C3rKB3v0rgvJB2rLCG','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','DgvZDa','yMLUyxj5tMfTzq','CxvLC3rPB24T','mty5lJi1nc4WlJa','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','AgvHzgvYCW','uKLgrG','uefusa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','yNjVA2vU','CMvJB3jK','rgLHz25VC3rPyW','D2fPDezVCKrPywDUB3n0AwnZ','l2jPBI9YzW','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','ChvIBgLZAgvKqxq','ls1NBg9I','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','r3jLCa','C29YDa','DhnZzxj2zxiUANm','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','C2L6zq','lMnQCW','BgLI','z29Vz2XLq3nLs2v5','BgLUzvn0yxj0','CMvHzen1CNnVCG','CgfJA2fNzs5QC29U','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','C2vSzwn0Aw9UuMfUz2u','BM9Zy3jPChq','r0Lusfvcx1rps0vo','C2L0ztO','ig1HDgnO','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','Dg9VBa','CNvUsw5cywnRz3jVDw5K','lI4U','DhLWzxnJCMLWDhjLywn0','C2vZC2LVBG','Dgv4Da','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','CgfYC2u','CMvTB3zLrxzLBNrmAxn0zw5LCG','icHZDgf0Dxm6ia','AxngAwXL','CxvLC3rPB24','Dhj1BMm','ksbB','zgLHz25VC3rPy3m','zw50CMLLCW','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','zg9JDw1LBNrtEw1IB2W','tgLUzsa','pc9ZExn0zw0TCMvTAw5Kzxi+','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','y3jLyxrLzef0','Aw1Hz2u','zgvUBY5QC29UyW','C3rHCNq','twLJCM9ZB2z0','xg5DkJ8','ChvZAa','ygbG','r0Lusfvcx0fdq0vtu19ut0TftG','zgLYzwn0B3j5','C3bHD24','oIbPBNzHBgLKihn0yxr1CW','yxnJAwK','yM9VBgvHBG','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','Dg9VBenHBgXjza','zMLSzvbHDgG','yxr0CG','Ag9ZDa','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','ywXS','C2fMzq','uxvLC3rPB24G','zxzLCNK','Bw9KzwW','AM9PBG','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Dgf2AwX5','zgvZy3jPChrPB24','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','tNv2Aw4','Ag9TzwrPCG','y29TBwfUzhm','wKfjx0fqsv9lrvK','DhLWzxnJCMLWDa','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','y2XPzw50CW','r09pr0Xfx0ntrv9dwa','DgL0Bgu','y29UDgvUDa','mti3lJaUmc4W','sw5MB3jTyxrPB24','C2vYDMvYCW','DhjHBNnMB3jTCW','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Aw1Hz2uVANbLzW','Agv4','AxngAw5PDgu','Ag92zxi','A2v5yMLUzgLUz3m','Bwf4uMvKAxjLy3rZ','igzYB20G','C2vHCMnOugfYyw1Z','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','CgLWzq','yxjNCW','BM9Kzv9TB2r1BgvZ','CMfUz2u','AxnbyNnVBhv0zq','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','BgLZDfrVB2XZ','yw5ZAti1nG','y2HHCKnVzgvbDa','BwLU','CgXHDgzVCM0','CMvZB2X2zq','A2LTAq','AgvHzgvY','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','C2HLBgXqyxrO','rMLSzsb3CML0DgvUigf0ia','CNvUswq','y2HHCMfJDgvY','Axnoyu4','CgLK','Bw9Kzq','Cgf0DgvYBG','C3rKAw4','Dgv4DerVy3vTzw50l2rPzenSB3nL','Bg9VA3vW','Dg9VBe5HBwu','lMPZB24','zMv0y2HjBxbS','y2fWywjPBgL0AwvZ','ugf0AcbUB3qGzM91BMq6ia','CMvXDwvZDhm','yxjNDw1LBNrZvgv4Da','Aw5ZDhj1y3rPB25Z','t0zg','y29UzMLN','tg9HzgvKigzYB206ia','y29UBMvJDa','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','C2vYDMvYswq','cGOTls0kcG','BgfUz3vHz2u','lu5VuhjVzMLSzq','ie9sia','yxr4','Aw5KzxHpzG','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','BwLUAw1HEa','zMLUywXnzxnZywDLvgv4Da','B25LCNjVCG','zw52','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHza','qgjPB21LANmVyMLVBwu','rxjYB3i','CMLWz3jLCa','zw51Bq','y2XVC2vbBgW','zxHPDenVzgu','mJqWlJaUmc4W','C2vUzfjLCxvLC3q','C2vYDMvY','CgXHAw4','DhjHBNnWB3j0','ls1NBg9Ipq','C2vUza','C2v0','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','iYmGu2TPBgW6ia','Aw5PDgLHBgL6yxrPB24','CxvLCNK','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','C3bHD25PBMC','lNrZEa','z2v0','zgf0yq','zgLZCg9Zzq','BgLZDgvU','C2H1DgrVD24','A2v5','Dw5RBM93BG','vg9WAwmGC2v0ihrVici','mtaUmc4WlJa','vMLLD2vKigLTywDLigzPBgu6ia','yNvUlMXVy2S','AMf2yxnJCMLWDa','z29Vz2XLq3nLq3G','ota4mJeWv2r3CLPS','BNv2Aw4','CMvNzxG','yxnZAwDU','zw5NAw5L','y2fWq2HHCNm','Aw5JBhvKzq','C2vYDMvYtMfTzq','zgLZy292zxj5','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','l3bPza','lNbUzW','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','D2HPy2GGCMC','tM8GC3LTyM9SCYbMB3vUza','y2fSBgjHy2TvCMW','ChjVCgvYDgLLCW','Aw52ywXPzf90B2rVx2nVBNrLBNq','BwvZC2fNzq','zgvMAw5PDgLVBG','B25oB3rPzMLJyxrPB24','lMDPzG','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','yNL0zuXLBMD0Aa','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','ls0T','zgLZy292zxj5u3rHDgu','y2XPzw50sw5MB3jTyxrPB24','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','Ahr0Chm6','C2TPBgXZ','y2f0y2G','Aw52ywXPzf90B2rVx2L0zw0','BgLTAxq','BgfUzW','C29Tzq','CMvZDwX0','rMLSzu5LDW','A2LSBfjLCxvLC3rLza','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','yMLVBwuUANnVBMm','qMvHCMvYia','zNvUy3rPB24','DMfSDwu','phn5C3rLBs1Yzw1PBMrLCJ4','nJiXnZu0mKHeuujJsW','C2H1DgrVD25tDgfYDgvK','r2XVyG','ls1OAwrKzw4','B3bLBKzPBgvZ','sfruuca','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','vg9KBYa','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','s2LSBfnOzwXS','BwfW','C3rYAw5N','te9x','z2nSAwq','igj5DgvZks4','CMfUzg9T','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','u2TPBgWGjW','C3rHCNrZv2L0Aa','lMPWzwC','y291BNrLCG','rgv0ywLSoIa','yxbWzw5K','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','CMvJzw5JEurHExm','zNjVBq','y29KzvzLCMLMAwvY','zw5HyMXLza','AxnjBNrLz2vY','r09pr0Xfx0ntrv9lrvK','Aw52ywXPzf90B2rVCW','zMfPBgvK','BgLUzu51Bq','z2vUzxjHBa','BNvT','zgLYBMfTzq','zgvLChnLzwS','Dgv4DerVy3vTzw50l2HVDMvY','BgLUzq','B3bLBMfPlxjLC3bVBNnLCY13CW','A2LSBgvK','C2v0vg9KB3m','lw5i','ue9tva','zMXHDe1HCa','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','D2vI','vg9KB1DYAxrL','w1bFxL1BxhnCu10QpW','zgvSAw1PDgvY','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','zw5K','Bg9JyxrPB24','BwfYA2rVD24','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','BMf2','y21KlMv4zq','Dg9WAwm','yxjYyxK','zxzPy3rjzK5LzwrLza','B2zMC2v0','yxv0Ag9YAxPHDgLVBL9JB2rL','C2vHCMnOvhLWzq','qwDLBNqGCNvUia','Dg90ywXeCM9WCgvK','o1TE','yxnRvxnLCG','Bg9HzfnRAwXS','Bwf4q29Uy3vYCMvUDa','y29UDgv4Da','B3v0z29PBMDdywXSCW','DgfZAW','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','thnW','DhvWBgu','mtaWlJy0lJaUma','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','y29UBMvJDgLVBG','igj5DgvZ','ChjVDg9JB2W','zMLUzfjLzMvYzw5Jzxm','Dgf2AwX5qxbPs2v5','uhjVz3jHBuzPBgvZkhG4nIK','B3jPz2LUvg9VBenHBgXjza','sw52B2TLq29TBwfUza','z2L0AhvI','ignOyxjZigrYB3bWzwrDcG','y3DK','Dhj1zq','BgfIzwW','Dw5PB24','qxnZAwDUvgfZAW','mte1AvPztfDK','igj5DgvZicHVCMLNAw5HBdOG','Ahr0Ca','Dgv4Dc9ODg1S','mtK4lJe4lJaUma','yxv0BW','Ahr0CdO','Aw1Hz2uVz2LM','y2vPBa','Aw1Hz2vZ','mZG4otiZm0HereHxAW','Dg9KB3m','yNvMzMvYq2HHCNm','AwDUB3jLt3v0Chv0','v2vIu2vHCMnO','CgfYzw50u2vZC2LVBKLK','CMvHza','B3bLBMfP','zhvWBgLJyxrLx3rVzg9FAwrZ','CMvHC29U','ugfJA2fNzxm','sgLUDa','BMv3vgv4Da','BgfZDeLUzgv4t2y','yxnPzgu','BgLUzxm','zgvSzxrL','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','B3bLCMf0Aw9U','rM91BMqG','yxbWBgLJyxrPB24VANnVBG','ywn0AxzL','AgfZ','q291BgqGBM90ihjLC29SDMuGAg9ZDa','DMvYAwzPzxi','ntu5ndq5mxHOEeLutW','C3vIyxjYyxK','mZK0mZK4m1Hduxf4Bq','zgv0ywLS','zxHPDgvK','ywjVCNq','tuLnrtOG','Bg93','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','te9dquXbufbeqvrb','yMfJA2DYB3vUzfjLz2LZDhj5','z2XVyG','DgLTzw91De1Z','rMLSzuvKAxq','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','y29ZDa','Dg9VBc1VDxrWDxqTB2zMBg9Hza','zMLSDgvY','u2L6ztOG','Aw5PDgLHBgL6zq','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','Bw9VBNnOB3q','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','vg9Vig1HBNKGCMvKAxjLy3rZ','DxrTx2nVBNrLBNq','A2v5CW','s0Lnsv9bueLFs0vz','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','DhjPBq','B2C6DxbKyxrLzf90Aw1L','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','lMXVzW','Bwv0yxrHz3m','vw5HDxrOB3jPEMvKrxjYB3i','yMLVBwu','yxjNDw1LBNrZ','qMfZzsbKAxjLy3rVCNK6ia','B3bLBG','ig1Z','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','y2fJAgvK','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','B3rOzxi','CMvNAw9U','ls1YzwDLEha','y3jSzG','CNvUBMLUzW','zgfYAW','C2HLBgXjza','y2fSBeLK','CgvUzgLUzW','C3rHDhvZvgv4Da','AxndB250zxH0','yMvHCMvY','Dg9VBhm','w01duca','Dg90ywW','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','Dg90ywXqCM9KDwnLza','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','CgfNzw1HCa','D3jPDgu','C3r5Bgu','Dg9VBfjLC3vSDhm','ls1MAwXLCW','ls1JB2X1Bw4','D2LUmZi','Bg9HzenVBw1HBMq','AhLKCMf0zu1LDge','Dhj1BMnHDgvK','DxnLCM5HBwu','Ec1HCgKTA2v5','y2HHBMDL','CgfZC3rOCM91z2G','v2vIrMv0y2G','oIbJB250zw50ihjLCxvPCMvK','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','D29YA3nWywnLu3LTyM9S','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','ygbGANnVBGO','C2v2zxjPDhK','CMvSyxrPDMu','zg5Zl3bYB21PC2vZ','CgfJA2fNzs1SB2nRlMPZB24','ywrK','ChjPB3jPDhK','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','zMLUywXnzxnZywDL','Dg9vChbLCKnHC2u','C3rVCMfNzurPCG','DhnJB25MAwCUANnVBG','DhnJ','C3bSAxq','BgLUzuvUza','C25PChbLDa','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','B2zM','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','zw5NAw5LCW','z2L0qNjHBMnO','C2nYDwjfBNzlzxLZ','q29Tu3bLyW','AxntEw1IB2XPy0XPBMS','CgXHAw50zxH0'];_0x322b=function(){return _0x5272b1;};return _0x322b();}async function connectMcpServer(_0x57b8d9,_0x4c134e,_0x236f38){const _0x399c6b={_0x390f89:0x31c,_0x338537:0x3da,_0x3446f4:0x2f6,_0x240834:0x294,_0x9f83e5:0x39c,_0x538a56:0x303,_0x457a2c:0x5d3,_0x5bdca3:0x48d,_0x562d3e:0x5ba,_0x5ddd65:0x44f,_0x112541:0x44b,_0x293bfe:0x467,_0x51c86d:0x59f,_0x18c831:0x53e,_0x17abf1:0x319,_0x52cd13:0x5bd,_0xa8f654:0x3cb,_0x233cce:0x235,_0x4ad076:0xde,_0x2e0d46:0x599,_0x333d73:0x4f7,_0x2ac131:0x655,_0x1ddb83:0x30d,_0x179e5c:0x528,_0x1acbff:0x551,_0x4a1c49:0x2b1,_0x175a9e:0x1e3,_0x15bfa0:0x2d7,_0x15cc96:0x3d0,_0x3bb1d8:0x534,_0x55a02c:0x5e6,_0x109040:0x549,_0x3c9a20:0x5b9,_0x29224e:0x50d,_0x304a5a:0x486,_0x26dbc5:0x24e,_0x161e64:0x36e,_0x10c87f:0x549,_0x1f46b4:0x432,_0x531acc:0x423,_0xa50622:0x4af,_0x29cced:0x39e,_0x5794f9:0x290,_0x588b62:0x2e7,_0x14febd:0x1fe,_0x381464:0x243,_0x1ad317:0x116,_0x2f6a59:0xed,_0x103528:0x6d0,_0x2c9bae:0x4f2,_0x245d7f:0x2e4,_0x4509f8:0x20e,_0x577b0b:0x3bc,_0x1db635:0x3e5,_0x553150:0x3ab,_0x387d84:0x3e0,_0x50f9fc:0x3dd,_0x193802:0x340,_0x1dd6bc:0x503,_0x4ee529:0x36f},_0x168984={_0xae90d7:0x2e3,_0x571d41:0x228,_0x3cf2af:0x23},_0x22b285={_0x37f04f:0x329},_0x4634e8={_0x12032a:0x313,_0x50a14c:0x488,_0x16801f:0x3f2,_0x55248e:0x5ca},_0x19fece={_0x125ad9:0x39a},_0x3e48ef={_0x55b365:0x21,_0xde655d:0x4c,_0x1835d2:0x168,_0x28e8ea:0x13b},_0x389565={_0x30de7c:0x174},_0x44f42c=new Client({'name':_0x58bca0(_0x399c6b._0x390f89,_0x399c6b._0x390f89,0x3b3,_0x399c6b._0x338537),'version':'0.0.0'});function _0x58bca0(_0xea84fd,_0x1ba022,_0x380c9,_0x513bce){return _0x25cfa5(_0xea84fd-0xc0,_0x1ba022,_0xea84fd-0x2b4,_0x513bce-0x2d);}_0x44f42c[_0x58bca0(_0x399c6b._0x3446f4,0x45e,_0x399c6b._0x240834,_0x399c6b._0x9f83e5)]=_0x37f8dd=>{const _0x480e06={_0x432625:0x70};function _0x23f269(_0x46a6ab,_0x1e17a5,_0x298863,_0x3fd2de){return _0x58bca0(_0x46a6ab- -0x3de,_0x3fd2de,_0x298863-_0x480e06._0x432625,_0x3fd2de-0x1da);}function _0x5ed088(_0x3f020b,_0x27cf2b,_0x15e3a8,_0x3ef906){return _0x58bca0(_0x3f020b- -0x41d,_0x27cf2b,_0x15e3a8-_0x389565._0x30de7c,_0x3ef906-0x188);}console['error'](_0x23f269(_0x3e48ef._0x55b365,_0x3e48ef._0xde655d,0x115,_0x3e48ef._0x1835d2)+_0x57b8d9+']\x20transport\x20error:',_0x37f8dd[_0x23f269(-0xb1,-0x1cb,0x6f,-_0x3e48ef._0x28e8ea)]);};function _0x38c9f1(_0x55ddff,_0x427034,_0x5ba3ab,_0x3bdeef){return _0x25cfa5(_0x55ddff-0x137,_0x5ba3ab,_0x427034-_0x19fece._0x125ad9,_0x3bdeef-0x6b);}if(_0x4c134e[_0x58bca0(_0x399c6b._0x538a56,0x1b8,0x1c8,0x2d8)]===_0x38c9f1(_0x399c6b._0x457a2c,_0x399c6b._0x5bdca3,_0x399c6b._0x562d3e,0x45e)||_0x4c134e[_0x38c9f1(_0x399c6b._0x5ddd65,0x54d,_0x399c6b._0x112541,0x5db)]){if(!_0x4c134e[_0x58bca0(_0x399c6b._0x293bfe,_0x399c6b._0x51c86d,_0x399c6b._0x18c831,_0x399c6b._0x17abf1)])throw new Error(_0x58bca0(0x4d4,_0x399c6b._0x52cd13,0x605,_0x399c6b._0xa8f654)+_0x57b8d9+_0x58bca0(0x350,0x371,0x2c4,0x403));if(_0x4c134e['auth']?.[_0x58bca0(_0x399c6b._0x233cce,0x348,0x222,_0x399c6b._0x4ad076)]===_0x38c9f1(_0x399c6b._0x2e0d46,0x549,_0x399c6b._0x333d73,_0x399c6b._0x2ac131)&&!_0x236f38?.[_0x58bca0(0x463,_0x399c6b._0x1ddb83,_0x399c6b._0x179e5c,_0x399c6b._0x1acbff)])throw new Error('MCP\x20server\x20'+_0x57b8d9+_0x58bca0(_0x399c6b._0x4a1c49,_0x399c6b._0x175a9e,0x30c,_0x399c6b._0x15bfa0));const _0x571f44=buildMcpHttpHeaders(_0x4c134e),_0x45e0b2=_0x4c134e[_0x38c9f1(_0x399c6b._0x15cc96,_0x399c6b._0x3bb1d8,_0x399c6b._0x55a02c,0x530)]?.['type']===_0x38c9f1(0x438,_0x399c6b._0x109040,0x608,_0x399c6b._0x3c9a20)&&_0x236f38?.['oauth']?createMcpOAuthProvider({'serverName':_0x57b8d9,'callbackUrl':_0x236f38[_0x38c9f1(_0x399c6b._0x29224e,0x549,_0x399c6b._0x304a5a,0x5d2)][_0x58bca0(0x32a,_0x399c6b._0x26dbc5,_0x399c6b._0x161e64,0x2ee)],'storageDir':_0x236f38[_0x38c9f1(0x637,_0x399c6b._0x10c87f,0x457,_0x399c6b._0x1f46b4)][_0x58bca0(_0x399c6b._0x531acc,_0x399c6b._0xa50622,_0x399c6b._0x29cced,0x31f)],'config':_0x4c134e[_0x58bca0(0x44e,0x307,0x351,0x3ab)],'onRedirect':_0x5a838b=>_0x236f38[_0x58bca0(0x463,0x360,0x46e,0x380)]?.[_0x38c9f1(0x3f4,0x2fc,0x362,0x42b)](_0x57b8d9,_0x5a838b)}):void 0x0,_0x1d644b=new StreamableHTTPClientTransport(new URL(_0x4c134e['url']),{'authProvider':_0x45e0b2,'requestInit':_0x571f44?{'headers':_0x571f44}:void 0x0});await _0x44f42c[_0x58bca0(0x2e9,_0x399c6b._0x5794f9,_0x399c6b._0x588b62,0x2e1)](_0x1d644b);}else{if(!_0x4c134e[_0x58bca0(_0x399c6b._0x14febd,_0x399c6b._0x381464,_0x399c6b._0x1ad317,_0x399c6b._0x2f6a59)])throw new Error(_0x38c9f1(_0x399c6b._0x103528,0x5ba,0x566,_0x399c6b._0x2c9bae)+_0x57b8d9+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0x2e682d=new StdioClientTransport({'command':_0x4c134e[_0x38c9f1(0x3df,_0x399c6b._0x245d7f,_0x399c6b._0x4509f8,_0x399c6b._0x577b0b)],'args':_0x4c134e[_0x38c9f1(_0x399c6b._0x1db635,_0x399c6b._0x553150,0x3e6,_0x399c6b._0x387d84)]??[],'env':_0x4c134e[_0x38c9f1(0x3bf,_0x399c6b._0x50f9fc,0x2ea,_0x399c6b._0x193802)],'stderr':_0x58bca0(0x2c4,0x2fb,0x197,0x3e3)});await _0x44f42c[_0x38c9f1(_0x399c6b._0x1dd6bc,0x3cf,0x2d8,_0x399c6b._0x4ee529)](_0x2e682d);}return{async 'listTools'(){return await _0x44f42c['listTools']();},async 'callTool'(_0x1d3d52){const _0x2015a3={_0x2897c0:0x165,_0xf3509f:0x51},_0xf06e57={_0x87f2a5:0x122};function _0x116028(_0x57810a,_0x19b65c,_0x20bc2e,_0x32bf4c){return _0x38c9f1(_0x57810a-_0xf06e57._0x87f2a5,_0x32bf4c- -0x21c,_0x20bc2e,_0x32bf4c-0x77);}function _0x319876(_0x4ee842,_0x3bd7a8,_0x50e491,_0x172aba){return _0x38c9f1(_0x4ee842-_0x2015a3._0x2897c0,_0x172aba-0xcb,_0x3bd7a8,_0x172aba-_0x2015a3._0xf3509f);}return await _0x44f42c[_0x319876(_0x4634e8._0x12032a,0x352,_0x4634e8._0x50a14c,_0x4634e8._0x16801f)]({'method':_0x319876(0x716,0x4ef,_0x4634e8._0x55248e,0x5ec),'params':_0x1d3d52},CallToolResultSchema);},async 'close'(){function _0x26af71(_0x121726,_0x462408,_0x1fccdc,_0xe286d9){return _0x58bca0(_0xe286d9- -_0x22b285._0x37f04f,_0x462408,_0x1fccdc-0x12f,_0xe286d9-0x100);}await _0x44f42c[_0x26af71(_0x168984._0xae90d7,_0x168984._0x571d41,_0x168984._0x3cf2af,0x190)]();}};}async function createMcpToolsFromServers(_0x20e254){const _0x522691={_0x2c05c9:0xb3,_0x11b454:0xab,_0x39f047:0x146,_0x3f6e47:0x14a,_0x1ae410:0x26,_0x47ecbb:0x27,_0x545c33:0x30,_0x8b6ae0:0xcd,_0x9a0e7e:0x8,_0xb4b27b:0x9a,_0x195c2f:0x1,_0x37096a:0xef,_0x10b563:0x93,_0x59081c:0xf0,_0x3b0164:0x216,_0xc0cd5a:0xcb,_0x18d204:0x19e,_0x26d820:0x248,_0x1d4889:0x126,_0x225a1b:0x200,_0x456a7f:0x31e,_0x53675d:0x28c},_0x278217={_0x3f1055:0x1e4},_0xbfe3e1={_0x47c40a:0x48b},_0x578806={_0x7e2c3e:0x164,_0x3d3815:0x1b2};function _0x328af6(_0x279233,_0x14904b,_0x19bb03,_0x664fd1){return _0x25cfa5(_0x279233-_0x578806._0x7e2c3e,_0x279233,_0x14904b-0x23,_0x664fd1-_0x578806._0x3d3815);}const _0x14cbc6=_0x20e254[_0x328af6(-_0x522691._0x2c05c9,0x58,-_0x522691._0x11b454,0x1cc)]??connectMcpServer,_0xc43edb=[],_0xc6205b={};function _0x41d81c(_0x201c5e,_0xbebf3,_0x2a562b,_0x18d3fc){return _0x5c47d8(_0x201c5e- -_0xbfe3e1._0x47c40a,_0xbebf3-0x173,_0x2a562b-0x11b,_0x18d3fc);}const _0xb3ea48=[];for(const [_0x14612d,_0x4af867]of Object[_0x328af6(0x46,-0xb,-_0x522691._0x39f047,-_0x522691._0x3f6e47)](_0x20e254[_0x328af6(-_0x522691._0x1ae410,_0x522691._0x47ecbb,0x17d,-_0x522691._0x545c33)]??{})){if(_0x4af867[_0x41d81c(-_0x522691._0x8b6ae0,-0x178,-_0x522691._0x9a0e7e,-0x1ce)]===![]){_0xc6205b[_0x14612d]={'status':'disabled'};continue;}try{const _0x1cf3cc=await _0x14cbc6(_0x14612d,_0x4af867,_0x20e254[_0x41d81c(-_0x522691._0xb4b27b,-0xd9,-0xf4,-0x185)]);_0xc43edb[_0x328af6(0x129,_0x522691._0x195c2f,0xe3,-0x140)](_0x1cf3cc);const _0x10d8a9=await _0x1cf3cc[_0x41d81c(-0x166,-_0x522691._0x37096a,-0x8b,-0x199)]();let _0xe07dfc=0x0;for(const _0x5af685 of _0x10d8a9[_0x41d81c(-0x32,-0x1b,_0x522691._0x10b563,_0x522691._0x59081c)]){const _0x4b7ffd=_0x20e254[_0x328af6(0x59,0x1a9,0x4c,_0x522691._0x3b0164)]?.[_0x14612d]?.[_0x5af685[_0x41d81c(0x8e,_0x522691._0xc0cd5a,-0xe2,0x5)]];if(_0x4b7ffd===![])continue;_0xe07dfc+=0x1,_0xb3ea48[_0x41d81c(-_0x522691._0x18d204,-0xd5,-_0x522691._0x26d820,-_0x522691._0x1d4889)](createMcpTool({'serverName':resolvePrefix(_0x14612d,_0x4af867),'tool':_0x5af685,'client':_0x1cf3cc}));}_0xc6205b[_0x14612d]={'status':_0x41d81c(0x99,0x8c,-0x35,0x8c),'toolCount':_0xe07dfc};}catch(_0x18f505){_0xc6205b[_0x14612d]=isUnauthorizedError(_0x18f505)?{'status':_0x328af6(0x1c8,_0x522691._0x225a1b,_0x522691._0x456a7f,_0x522691._0x53675d),'message':getErrorMessage(_0x18f505)}:{'status':'error','message':getErrorMessage(_0x18f505)};}}return{'tools':_0xb3ea48,'servers':_0xc6205b,async 'close'(){const _0x150585={_0x4289f7:0x33};function _0x24e6e7(_0x564be1,_0x8c8b5b,_0x3f6c20,_0x16f4ff){return _0x328af6(_0x8c8b5b,_0x3f6c20-0x2a6,_0x3f6c20-_0x150585._0x4289f7,_0x16f4ff-0x1f3);}await Promise[_0x24e6e7(0x249,_0x278217._0x3f1055,0x2b6,0x336)](_0xc43edb['map'](_0x3ae9f3=>_0x3ae9f3['close']()));}};}function getCommand(_0x18f2cf){const _0x56d29f={_0x31642d:0xec,_0x4e9b00:0x132,_0x38f412:0xf1,_0x587b5c:0xf7,_0x3ad2cb:0x6e,_0x350547:0x1f8,_0x464bef:0x23f,_0x3cc43e:0x1e1,_0x33e620:0x126},_0x535e92={_0x40a04e:0x43,_0x3cbc4d:0x9e},_0x19cadc={_0x52d0bb:0x25};if(_0x18f2cf&&typeof _0x18f2cf===_0x1689e7(_0x56d29f._0x31642d,_0x56d29f._0x4e9b00,_0x56d29f._0x38f412,0xb)&&!Array[_0x1689e7(-0x1f8,-_0x56d29f._0x587b5c,-0x140,-0xb6)](_0x18f2cf)&&typeof _0x18f2cf[_0x1689e7(-_0x56d29f._0x3ad2cb,-0x178,-0x180,-_0x56d29f._0x350547)]==='string')return _0x18f2cf['command'];function _0x1689e7(_0x519570,_0x26f592,_0x5a6ff2,_0x456f2f){return _0x25cfa5(_0x519570-0xe7,_0x26f592,_0x5a6ff2- -0xca,_0x456f2f-_0x19cadc._0x52d0bb);}function _0xae555b(_0x2bf040,_0x1af639,_0x549aa9,_0x40cf39){return _0x25cfa5(_0x2bf040-0xe0,_0x2bf040,_0x40cf39- -_0x535e92._0x40a04e,_0x40cf39-_0x535e92._0x3cbc4d);}return _0x1689e7(_0x56d29f._0x464bef,_0x56d29f._0x3cc43e,_0x56d29f._0x33e620,0x226);}var MOCK_WORKSPACE_LISTING=[_0x25cfa5(0x188,0x26f,0x1fe,0x26e),_0x5c47d8(0x270,0x15a,0x396,0x1a6),_0x25cfa5(0x11c,-0x147,-0x2d,-0xa3),'package.json',_0x25cfa5(0x17a,0x128,0x20c,0xde),_0x25cfa5(0x2ab,0x2ce,0x1c9,0x14d),'src/examples/demo.ts',_0x25cfa5(0x31,0x10d,-0x6b,-0xa6),'src/models/mock-model.ts','src/tools/mock-tool-runtime.ts',_0x25cfa5(0x281,0x16e,0x1a9,0x150),_0x25cfa5(0x264,0xfe,0x1b0,0x20e),'src/shared/types.ts',_0x5c47d8(0x45e,0x49c,0x3a0,0x515),_0x25cfa5(-0x45,-0xe7,-0x8a,0x87),_0x25cfa5(0x2a,-0x1bc,-0xaf,-0x99),_0x25cfa5(0xde,0x48,-0x59,-0x1ca)][_0x5c47d8(0x301,0x444,0x42c,0x2dd)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x25cfa5(0x2bd,0x290,0x1d3,0x23c),'description':_0x5c47d8(0x392,0x4ad,0x30e,0x231),'input_schema':{'type':_0x5c47d8(0x4ca,0x54f,0x482,0x3b4),'properties':{'command':{'type':_0x5c47d8(0x3ae,0x4f7,0x3f3,0x386)}},'required':[_0x5c47d8(0x259,0x173,0x25b,0x25e)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x2dc856){return{'output':_0x2dc856,'structured':{'value':_0x2dc856}};}function createUnknownToolResult(_0x155955){const _0x317ddf={_0x2ef9b8:0x12c,_0x44a1cc:0x201,_0x566299:0x2e9,_0x30c0e6:0x44e,_0x3684c0:0x3e7,_0x42161e:0x17e,_0x46bf7f:0x224,_0x17aacf:0x675},_0x1daf38={_0x4a131d:0x151,_0x2e1912:0xf3};function _0x27f043(_0x413f85,_0x3cf14d,_0x1221e6,_0x3414e1){return _0x5c47d8(_0x413f85- -0x3b3,_0x3cf14d-0x116,_0x1221e6-0x3a,_0x1221e6);}function _0x317ca6(_0x4c1edb,_0xb7012,_0x1301e5,_0x3161b0){return _0x5c47d8(_0x1301e5-0x1a5,_0xb7012-_0x1daf38._0x4a131d,_0x1301e5-_0x1daf38._0x2e1912,_0x3161b0);}return{'callId':_0x155955['id'],'toolName':_0x155955[_0x27f043(0x166,_0x317ddf._0x2ef9b8,_0x317ddf._0x44a1cc,0x170)],'status':_0x317ca6(0x34d,_0x317ddf._0x566299,_0x317ddf._0x30c0e6,_0x317ddf._0x3684c0),'output':_0x27f043(_0x317ddf._0x42161e,0x78,0x2b0,_0x317ddf._0x46bf7f)+_0x155955[_0x317ca6(0x5ef,0x66d,0x6be,_0x317ddf._0x17aacf)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x42ae8d,_0x61d443){const _0x591dcf={_0x51c84e:0x7a1,_0x2ae00e:0x6d9,_0x420357:0x3a5},_0x3a2d5e={_0x5d187f:0x99},_0x27dcc2={_0x5285bc:0xed};function _0x380f2e(_0x35af08,_0x432617,_0x32325b,_0x4949ce){return _0x5c47d8(_0x32325b- -_0x27dcc2._0x5285bc,_0x432617-0x10,_0x32325b-0x90,_0x4949ce);}function _0x459019(_0x32cb49,_0x49c17f,_0x3506e0,_0x5387d7){return _0x5c47d8(_0x5387d7-0x1c0,_0x49c17f-0xc,_0x3506e0-_0x3a2d5e._0x5d187f,_0x32cb49);}return{'callId':_0x42ae8d['id'],'toolName':_0x42ae8d[_0x459019(0x7a7,0x847,_0x591dcf._0x51c84e,_0x591dcf._0x2ae00e)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x42ae8d[_0x380f2e(0x3c2,0x324,_0x591dcf._0x420357,0x4a9)]),'exitCode':0x0},'chunks':[_0x61d443],'meta':createMeta()};}function createMockToolRuntime(){const _0x2394e8={_0x1f0113:0x1c5,_0x5edf98:0x223,_0x495994:0x228},_0x2cedfb={_0x2467eb:0x6ce,_0x5f5d18:0x200,_0x4afd1e:0x1e0},_0xa6fe29=async(_0x2b8fde,_0x30dd23)=>{function _0x416612(_0x2b84f0,_0x2f8d4e,_0x2e98f2,_0x5dd54b){return _0x4b33(_0x2e98f2-0x3a8,_0x5dd54b);}if(_0x2b8fde[_0x416612(0x7b9,_0x2cedfb._0x2467eb,0x78a,0x77d)]!==_0xcb9c58(_0x2cedfb._0x5f5d18,0xec,0x155,_0x2cedfb._0x4afd1e))return createUnknownToolResult(_0x2b8fde);const _0x1ac9fd=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0xcb9c58(_0x2f3019,_0x5f5c7f,_0x27a6ba,_0x3d23cb){return _0x4b33(_0x2f3019- -0x1ab,_0x3d23cb);}return createSuccessToolResult(_0x2b8fde,_0x1ac9fd);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x5d00c1,_0xf1a3c){const _0xcefce5={_0x4a3da6:0x38a};function _0x18ce46(_0x2e7a08,_0x56728b,_0x1b161c,_0x101066){return _0x4b33(_0x56728b- -_0xcefce5._0x4a3da6,_0x101066);}return await Promise[_0x18ce46(-0x8d,-_0x2394e8._0x1f0113,-_0x2394e8._0x5edf98,-_0x2394e8._0x495994)](_0x5d00c1['map'](async _0x5c8a90=>{return await _0xa6fe29(_0x5c8a90,_0xf1a3c);}));},async 'execute'(_0xf4c346,_0x48b382){return await _0xa6fe29(_0xf4c346,_0x48b382);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x148489={_0x34f291:0x184,_0x6aff60:0x2a,_0x90c9dc:0xd0},_0x2594b6={_0x48dbd5:0x9};delegatedRunCounter+=0x1;function _0x2d3ba1(_0x1beabb,_0x1a48f1,_0x40ad36,_0x55f60b){return _0x5c47d8(_0x1beabb- -0x37e,_0x1a48f1-0xa,_0x40ad36-_0x2594b6._0x48dbd5,_0x1a48f1);}return _0x2d3ba1(_0x148489._0x34f291,_0x148489._0x6aff60,0x1bb,_0x148489._0x90c9dc)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x502f76,_0x2dcd8f){const _0x443d50={_0x37c630:0x326};function _0x5f3dee(_0x1e0665,_0x1b3d39,_0x32eb47,_0x41b0a8){return _0x25cfa5(_0x1e0665-0x1a6,_0x32eb47,_0x1e0665-_0x443d50._0x37c630,_0x41b0a8-0x51);}return typeof _0x502f76===_0x5f3dee(0x3b7,0x3b7,0x476,0x2b8)?await _0x502f76(_0x2dcd8f):_0x502f76;}function getDelegatedAgentDefinition(_0x68571d,_0x52b76c){return _0x68571d['agents']?.[_0x52b76c];}function createRunSummary(_0x2827a7){const _0x2f092f={_0x5eeb41:0x6d,_0x37a2f3:0x1c6,_0x122521:0xaf,_0x33ce6b:0x577,_0x5bc66d:0x64b,_0x5c0ac6:0x590,_0x5be8b5:0x55f,_0x456d43:0x41d,_0x3b3886:0x7,_0x5cc54d:0x520,_0x1e9616:0x66f,_0xe063f2:0x502,_0x1cc703:0x45b},_0x29fe1d={_0x858aa6:0x3c,_0x444e37:0x18e},_0x22d2c5={_0x5921df:0xa5,_0x6acf55:0x109};function _0x526dae(_0x1f5bf3,_0x5046bc,_0xc0d63a,_0x3cc7f5){return _0x25cfa5(_0x1f5bf3-_0x22d2c5._0x5921df,_0x3cc7f5,_0x5046bc- -0x122,_0x3cc7f5-_0x22d2c5._0x6acf55);}function _0x30d342(_0x30b69d,_0x5ee5cd,_0xf4618,_0xa3eb97){return _0x5c47d8(_0x30b69d-0x168,_0x5ee5cd-_0x29fe1d._0x858aa6,_0xf4618-_0x29fe1d._0x444e37,_0xa3eb97);}return{'runId':_0x2827a7['runId'],'agentId':_0x2827a7[_0x526dae(0xc9,0xc2,0x168,0x7b)],'sessionId':_0x2827a7[_0x526dae(-_0x2f092f._0x5eeb41,-_0x2f092f._0x37a2f3,-_0x2f092f._0x122521,-0xdd)],'status':_0x2827a7['status'],'parentSessionId':_0x2827a7[_0x30d342(_0x2f092f._0x33ce6b,_0x2f092f._0x5bc66d,0x601,_0x2f092f._0x5c0ac6)],..._0x2827a7[_0x30d342(_0x2f092f._0x5be8b5,0x559,0x691,_0x2f092f._0x456d43)]!==void 0x0?{'originToolCallId':_0x2827a7[_0x526dae(0xf9,-0x3a,0x9b,-_0x2f092f._0x3b3886)]}:{},..._0x2827a7['errorMessage']!==void 0x0?{'errorMessage':_0x2827a7['errorMessage']}:{},..._0x2827a7[_0x30d342(0x502,_0x2f092f._0x5cc54d,_0x2f092f._0x1e9616,0x655)]?.['finalMessage']!==void 0x0?{'finalMessageText':getTextFromMessage(_0x2827a7[_0x30d342(_0x2f092f._0xe063f2,0x445,_0x2f092f._0x1cc703,0x621)][_0x30d342(0x5e4,0x61e,0x69b,0x6de)])}:{}};}function createRunSummaryOutput(_0x3a1eb3,_0x4fd2f8){const _0x282758={_0x2b34a6:0x34d,_0x248c08:0x14f,_0x5c37ff:0x246,_0x4c7ce9:0x1be,_0x47ed4d:0x17d,_0x129c52:0x2a4,_0x244906:0x1c6},_0x6bab2={_0x304d06:0xa7,_0x437c35:0x130},_0x53f277={_0x2edab9:0x205,_0x2fed7d:0xdf},_0x8acc5a=createRunSummary(_0x3a1eb3);function _0x32a463(_0x5e1de9,_0xced803,_0x1e8125,_0x240098){return _0x25cfa5(_0x5e1de9-0x95,_0x240098,_0x1e8125-_0x53f277._0x2edab9,_0x240098-_0x53f277._0x2fed7d);}function _0x3d670a(_0x625429,_0x472da8,_0x270b24,_0x4592ff){return _0x5c47d8(_0x472da8- -0x2d8,_0x472da8-_0x6bab2._0x304d06,_0x270b24-_0x6bab2._0x437c35,_0x625429);}const _0x24aeec=_0x8acc5a[_0x32a463(_0x282758._0x2b34a6,_0x282758._0x248c08,_0x282758._0x5c37ff,_0x282758._0x4c7ce9)];return createToolOutput(typeof _0x24aeec===_0x32a463(_0x282758._0x47ed4d,0x322,_0x282758._0x129c52,_0x282758._0x244906)&&_0x24aeec['length']>0x0?_0x24aeec:_0x4fd2f8,_0x8acc5a);}function getRunTerminalErrorMessage(_0x292c3d){const _0x2c2e57={_0xa2976e:0x14e,_0xbafc44:0x262,_0x4ba1b0:0x91,_0x2afed7:0x5b9,_0x5de1ff:0x5a3,_0x4d4368:0x5a9,_0x5e068f:0x584,_0x3150dd:0x5f2,_0x44c5ea:0x5e1,_0x233b4b:0x489,_0x296d2b:0xf2,_0x4d5f09:0x20d,_0x152205:0xb7,_0x384c9c:0x9,_0x15dd4d:0x15e,_0x2fe9c7:0x36a,_0x299b50:0x42f,_0x33cae3:0x2f7},_0x70837f={_0x19de92:0xcc,_0x552703:0xec},_0x42ee6d={_0x2167dd:0x345},_0x1d4945=_0x292c3d?.[_0x146bd6(_0x2c2e57._0xa2976e,0x167,_0x2c2e57._0xbafc44,_0x2c2e57._0x4ba1b0)][_0x7a855c(0x658,_0x2c2e57._0x2afed7,_0x2c2e57._0x5de1ff,0x66c)]['at'](-0x1);function _0x146bd6(_0xb54643,_0x475897,_0x357871,_0x2219b9){return _0x5c47d8(_0xb54643- -_0x42ee6d._0x2167dd,_0x475897-0x1e5,_0x357871-0x5a,_0x475897);}function _0x7a855c(_0x510b6d,_0x5840f6,_0x173eb2,_0x2ceaae){return _0x25cfa5(_0x510b6d-_0x70837f._0x19de92,_0x2ceaae,_0x510b6d-0x505,_0x2ceaae-_0x70837f._0x552703);}if(_0x1d4945?.[_0x7a855c(0x47a,_0x2c2e57._0x4d4368,0x4f4,_0x2c2e57._0x5e068f)]===_0x7a855c(0x49f,_0x2c2e57._0x3150dd,_0x2c2e57._0x44c5ea,_0x2c2e57._0x233b4b)&&_0x1d4945[_0x146bd6(-_0x2c2e57._0x296d2b,-_0x2c2e57._0x4d5f09,-_0x2c2e57._0x152205,-_0x2c2e57._0x384c9c)]['trim']()[_0x146bd6(0x1a1,0x4a,0x118,_0x2c2e57._0x15dd4d)]>0x0)return _0x1d4945[_0x7a855c(0x449,_0x2c2e57._0x2fe9c7,_0x2c2e57._0x299b50,_0x2c2e57._0x33cae3)];return void 0x0;}function formatAbortedRunMessage(_0x15d8b2,_0x45d32a){const _0x4960d6={_0x300a41:0x161,_0x5e87a3:0x27,_0xda91bf:0x34,_0x2bfe08:0xc2,_0x592a78:0xc8,_0x106012:0x15c,_0x518bf4:0x9b,_0x57d02f:0x3eb,_0x18161c:0x366,_0x130636:0x2b},_0x408c7a={_0x56c63:0xcc,_0x5f2326:0x164},_0x49f477={_0x1666ca:0x1ce,_0x26d552:0x147};function _0x1ae306(_0x43bba8,_0x305f8c,_0x49e2e0,_0x2e7358){return _0x25cfa5(_0x43bba8-_0x49f477._0x1666ca,_0x305f8c,_0x49e2e0- -0xad,_0x2e7358-_0x49f477._0x26d552);}const _0xcae655=_0x1ae306(-0x3c,_0x4960d6._0x300a41,_0x4960d6._0x5e87a3,-0x103)+_0x15d8b2+_0x24e4cb(-_0x4960d6._0xda91bf,_0x4960d6._0x2bfe08,0xf2,0x2c);if(!_0x45d32a||_0x45d32a[_0x1ae306(_0x4960d6._0x592a78,_0x4960d6._0x106012,0x83,_0x4960d6._0x518bf4)]()[_0x24e4cb(0x303,_0x4960d6._0x57d02f,0x33b,_0x4960d6._0x18161c)]===0x0||_0x45d32a===_0xcae655)return _0xcae655;function _0x24e4cb(_0x809791,_0x4dd3d4,_0x507a02,_0x3dff2f){return _0x25cfa5(_0x809791-_0x408c7a._0x56c63,_0x809791,_0x507a02-_0x408c7a._0x5f2326,_0x3dff2f-0xf);}return _0xcae655+_0x1ae306(-_0x4960d6._0x130636,-0x19,-0x11c,-0x19c)+_0x45d32a;}function createAssignTaskTool(_0xb9c63e){const _0x3553d4={_0x3ba9ca:0x38,_0x33862b:0xac,_0x3350c8:0x1b2,_0x43f631:0x162,_0x3562b2:0x27,_0x215066:0x55,_0x2b6a2f:0x256,_0x36ee9b:0x209,_0x3ceef0:0x5b7,_0x1eb422:0x161,_0x4c300f:0x50d,_0x5dec2b:0x3e1,_0x4912a4:0x4c7},_0x383d1c={_0x5cd5b0:0x20e,_0x5270b0:0x11,_0x249643:0xe3,_0x2eed99:0x2c5,_0x2d0308:0x66,_0x25f7f2:0xce,_0x41802a:0x164,_0x34023f:0x10a,_0x2472d4:0x2e4,_0x5505e2:0x7a,_0x3bb8f3:0x1e2,_0x141f20:0x7a,_0x23739a:0x42,_0x46b327:0x75,_0x9ef89c:0x138,_0x1f7e1c:0x11,_0x210cd6:0x14d,_0x4dee14:0xf,_0x329ead:0x106,_0x4dc059:0x7a,_0x19c235:0x30,_0x5a1996:0xf0,_0x52e7f1:0x34,_0x144114:0x1bf,_0x8e58e2:0x19,_0x567cc7:0x201,_0xa2e8b:0x12,_0x18db15:0x3c,_0xa39940:0x14,_0x2125bc:0x123,_0x5831f9:0x7e,_0x3a77d3:0x6d,_0x5ea979:0x197,_0x1b4be7:0xdb,_0x3a2e34:0x56,_0x32fc98:0x59,_0x3bca71:0x7c,_0x38ed4c:0x1,_0x2e56fb:0x242,_0x2c506b:0x204,_0x2d24f9:0x12f,_0x3f4a40:0x91,_0x533276:0x12,_0x243c7b:0x1b3,_0x4113e3:0x7c,_0x4bcbb1:0x31b,_0x18c80b:0x307,_0x101f4a:0x144,_0x3527d5:0x53,_0x25be9f:0x55,_0x32d1c1:0x1e9,_0x369971:0x62,_0x3f794a:0x1bd,_0x205bef:0xb5,_0x15e3cf:0x4,_0x387de6:0x3a,_0x5ce0bb:0x169,_0x162423:0xd4,_0x57394e:0x90,_0x1ed0a6:0xc5,_0x592b00:0xc6,_0xb1d5d3:0x1a4,_0x12428c:0x21},_0x425299={_0x151191:0x1d4,_0x2172cd:0x518},_0x332989={_0x3bc3fc:0x1d2};function _0x14d155(_0x4f5486,_0x29648d,_0x2358d7,_0x531dbf){return _0x25cfa5(_0x4f5486-0x197,_0x2358d7,_0x531dbf- -_0x332989._0x3bc3fc,_0x531dbf-0x2e);}function _0x30d416(_0x1244ef,_0x3e847e,_0x194eac,_0x6f7c6a){return _0x25cfa5(_0x1244ef-_0x425299._0x151191,_0x194eac,_0x3e847e-_0x425299._0x2172cd,_0x6f7c6a-0xbf);}return defineTool({'name':_0x14d155(-0x17f,0x70,_0x3553d4._0x3ba9ca,-0xe2),'description':_0x14d155(-0x1ae,-_0x3553d4._0x33862b,-_0x3553d4._0x3350c8,-_0x3553d4._0x43f631),'inputSchema':{'type':'object','properties':{'agentId':{'type':_0x14d155(_0x3553d4._0x3562b2,-_0x3553d4._0x215066,-0x7b,-0x133)},'description':{'type':_0x14d155(-0x165,-_0x3553d4._0x2b6a2f,-0xa3,-0x133)},'nickname':{'type':_0x14d155(-0x1c9,-0x1a3,-_0x3553d4._0x36ee9b,-0x133)},'task':{'type':_0x30d416(0x63d,_0x3553d4._0x3ceef0,0x728,0x717)}},'required':[_0x14d155(-0x37,-0x150,-_0x3553d4._0x1eb422,0x12),_0x30d416(0x445,_0x3553d4._0x4c300f,_0x3553d4._0x5dec2b,_0x3553d4._0x4912a4),'task']},async *'execute'(_0x48a94f,_0x36c6d5){const _0x399b42={_0x131bd0:0x9b,_0x37b907:0xd9,_0x3c34b5:0x52,_0x4f47fa:0x340,_0x3bcf19:0x3f0,_0x27b705:0x1df},_0x244fe1={_0x498265:0x19f,_0x4e554d:0xb9},_0x220b69={_0x9d4245:0x1e2,_0x1e58a3:0xc7},_0x5945aa={_0x1ca32b:0x186,_0x3c035f:0x1fc},_0x2167e4=createDelegatedRunId();function _0x43953c(_0x20e64a,_0x3d0206,_0x32e797,_0x3673af){return _0x14d155(_0x20e64a-0x89,_0x3d0206-_0x5945aa._0x1ca32b,_0x20e64a,_0x3d0206-_0x5945aa._0x3c035f);}const _0x28348b={'agentId':_0x48a94f[_0x43953c(0x304,_0x383d1c._0x5cd5b0,0x131,0x13a)],'parentSessionId':_0x36c6d5[_0x670529(0x98,-0x8,-0x49,0x100)],'runId':_0x2167e4,..._0x36c6d5[_0x43953c(0xa5,_0x383d1c._0x5270b0,_0x383d1c._0x249643,-0x89)]!==void 0x0?{'toolCallId':_0x36c6d5[_0x670529(-0x80,0x197,0x42,0x126)]}:{}},_0xfadefa=getDelegatedAgentDefinition(_0xb9c63e,_0x48a94f[_0x43953c(0x26b,_0x383d1c._0x5cd5b0,_0x383d1c._0x2eed99,0x245)]);if(!_0xfadefa)throw new ToolExecutionError(_0x670529(-_0x383d1c._0x2d0308,0xe1,_0x383d1c._0x25f7f2,_0x383d1c._0x41802a)+_0x48a94f['agentId'],{'agentId':_0x48a94f[_0x670529(0x14d,0x296,0x23f,0x112)]});const _0x35902f=new Agent(await resolveDelegatedAgentOptions(_0xfadefa,_0x28348b));let _0x355f52={'runId':_0x2167e4,'agentId':_0x48a94f[_0x670529(_0x383d1c._0x34023f,0x163,0x23f,0x1d2)],'sessionId':_0x35902f['sessionId'],'status':_0x670529(0x1e1,0x106,0x19d,_0x383d1c._0x2472d4),'parentSessionId':_0x36c6d5[_0x43953c(0x13,-_0x383d1c._0x5505e2,-0x58,-_0x383d1c._0x3bb8f3)],..._0x36c6d5[_0x670529(_0x383d1c._0x141f20,0x21,_0x383d1c._0x23739a,-_0x383d1c._0x46b327)]!==void 0x0?{'originToolCallId':_0x36c6d5[_0x43953c(-_0x383d1c._0x9ef89c,_0x383d1c._0x1f7e1c,-0x63,_0x383d1c._0x210cd6)]}:{}};function _0x670529(_0x111395,_0x597d2d,_0x1f92c6,_0x35fb75){return _0x30d416(_0x111395-_0x220b69._0x9d4245,_0x1f92c6- -0x4bd,_0x35fb75,_0x35fb75-_0x220b69._0x1e58a3);}const _0x30ce8e=new AbortController(),_0x21c1a6=addAbortListener(_0x36c6d5[_0x670529(_0x383d1c._0x4dee14,-0x160,-0x53,0x7f)],()=>{const _0xc020b8={_0x5b1231:0x3cd};function _0x4f3c4a(_0x410f16,_0x32f3e4,_0x4e441b,_0x3bcca3){return _0x43953c(_0x3bcca3,_0x410f16-_0xc020b8._0x5b1231,_0x4e441b-0x5f,_0x3bcca3-0xad);}function _0x565126(_0xd51c87,_0x970712,_0x4c3b3f,_0x4f375a){return _0x670529(_0xd51c87-_0x244fe1._0x498265,_0x970712-_0x244fe1._0x4e554d,_0x4f375a- -0x1c6,_0x970712);}_0x30ce8e[_0x565126(_0x399b42._0x131bd0,-0x116,_0x399b42._0x37b907,-_0x399b42._0x3c34b5)](_0x36c6d5[_0x4f3c4a(0x349,_0x399b42._0x4f47fa,_0x399b42._0x3bcf19,_0x399b42._0x27b705)]?.[_0x565126(-0x1ad,-0x1cb,-0xb6,-0x67)]);});yield createToolOutput('Started\x20agent\x20run\x20'+_0x355f52['runId']+'.',{'runId':_0x355f52[_0x670529(0x4c,_0x383d1c._0x329ead,0x7c,0x165)],'agentId':_0x355f52['agentId'],'sessionId':_0x355f52[_0x43953c(-0x9b,-_0x383d1c._0x4dc059,0x7c,-0x1c8)],'status':_0x355f52[_0x670529(0x17,0x78,-_0x383d1c._0x19c235,_0x383d1c._0x5a1996)]});try{const _0x2d85b9=await _0x35902f[_0x43953c(_0x383d1c._0x52e7f1,0x7b,_0x383d1c._0x144114,0x1eb)](_0x48a94f[_0x670529(-_0x383d1c._0x8e58e2,_0x383d1c._0x567cc7,0x137,0x23d)],{'signal':_0x30ce8e[_0x43953c(-_0x383d1c._0xa2e8b,-0x84,_0x383d1c._0x18db15,-0x1fa)]});_0x355f52={..._0x355f52,'status':_0x2d85b9[_0x670529(-_0x383d1c._0xa39940,-_0x383d1c._0x2125bc,-0x30,-_0x383d1c._0x5831f9)],'result':_0x2d85b9};if(_0x2d85b9[_0x43953c(-_0x383d1c._0x3a77d3,-0x61,-_0x383d1c._0x5ea979,-0x103)]!==_0x670529(0xf2,-_0x383d1c._0x1b4be7,-_0x383d1c._0x3a2e34,0x116)){const _0x33290a=getRunTerminalErrorMessage(_0x2d85b9),_0x2bcbf0=formatAbortedRunMessage(_0x355f52[_0x670529(-0x8a,_0x383d1c._0x32fc98,_0x383d1c._0x3bca71,-_0x383d1c._0x38ed4c)],_0x33290a);throw new ToolExecutionError(_0x2bcbf0,{...createRunSummary(_0x355f52),'aborted':!![],'errorMessage':_0x2bcbf0});}return createRunSummaryOutput(_0x355f52,_0x670529(_0x383d1c._0x2e56fb,_0x383d1c._0x2c506b,_0x383d1c._0x2d24f9,_0x383d1c._0x3f4a40)+_0x355f52[_0x670529(-_0x383d1c._0x533276,_0x383d1c._0x243c7b,_0x383d1c._0x4113e3,-0x86)]+_0x670529(_0x383d1c._0x4bcbb1,0x164,0x1e4,0x35a));}catch(_0xdabaa2){if(_0xdabaa2 instanceof ToolExecutionError)throw _0xdabaa2;if(isAbortError(_0xdabaa2)||_0x30ce8e['signal'][_0x43953c(0x176,0x1df,0xc7,_0x383d1c._0x18c80b)]||_0x36c6d5[_0x670529(-0x5c,-_0x383d1c._0x101f4a,-_0x383d1c._0x3527d5,_0x383d1c._0x25be9f)][_0x43953c(0x22d,0x1df,0x31b,0x1a8)]){const _0x525b59=getRunTerminalErrorMessage(_0x355f52[_0x670529(_0x383d1c._0x32d1c1,-0x45,0xe6,0x16f)])??(_0xdabaa2 instanceof Error?_0xdabaa2['message']:String(_0xdabaa2)),_0x442b6c=formatAbortedRunMessage(_0x355f52[_0x43953c(-0x49,0x4b,_0x383d1c._0x369971,_0x383d1c._0x3f794a)],_0x525b59);_0x355f52={..._0x355f52,'status':'aborted','errorMessage':_0x442b6c};throw new ToolExecutionError(_0x442b6c,{...createRunSummary(_0x355f52),'aborted':!![],'errorMessage':_0x442b6c});}const _0x5a7dd9=getRunTerminalErrorMessage(_0x355f52[_0x43953c(-0x83,_0x383d1c._0x205bef,-_0x383d1c._0x15e3cf,-_0x383d1c._0x387de6)])??(_0xdabaa2 instanceof Error?_0xdabaa2[_0x670529(_0x383d1c._0x5ce0bb,0x207,_0x383d1c._0x162423,-_0x383d1c._0x57394e)]:String(_0xdabaa2))??_0x43953c(0x24b,0xfe,_0x383d1c._0x3bb8f3,0x14a)+_0x355f52[_0x670529(_0x383d1c._0x1ed0a6,-0x4,0x7c,-_0x383d1c._0x592b00)]+'\x20failed.';_0x355f52={..._0x355f52,'status':_0x43953c(_0x383d1c._0xb1d5d3,0xdd,0x36,-_0x383d1c._0x12428c),'errorMessage':_0x5a7dd9};throw new ToolExecutionError(_0x5a7dd9,{...createRunSummary(_0x355f52),'errorMessage':_0x5a7dd9});}finally{_0x21c1a6();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x4c186a){return[createAssignTaskTool(_0x4c186a)];}import*as _0x43234b from'path';function buildDescription2(_0x391589){const _0x346b0e={_0x1b4cd7:0x470,_0x4c70fd:0x498,_0x59edfc:0x1f3,_0xe0fece:0x3ad,_0x25fb0b:0x4a,_0x256ead:0x167},_0x2343d7={_0x112827:0x11d,_0x519144:0x51,_0x13a998:0x42},_0x37b074={_0x4c4db9:0x139};if(_0x391589['length']===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';function _0x49b754(_0x1e3eb8,_0x5fcc78,_0x1feb26,_0x367a19){return _0x25cfa5(_0x1e3eb8-_0x37b074._0x4c4db9,_0x1e3eb8,_0x1feb26-0x175,_0x367a19-0x1b5);}const _0x188870=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x522020(_0x346b0e._0x1b4cd7,_0x346b0e._0x4c70fd,0x5de,0x6dd),'Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.',_0x49b754(_0x346b0e._0x59edfc,_0x346b0e._0xe0fece,0x2c2,0x2ad),..._0x391589['map'](_0x202fb3=>'-\x20'+_0x202fb3[_0x49b754(0x31f,0x372,0x37f,0x4b3)]+':\x20'+_0x202fb3[_0x49b754(0xcc,0x233,0x16a,0x1e3)])];function _0x522020(_0x2df3f6,_0x109642,_0x31a93c,_0x5b9bf4){return _0x5c47d8(_0x31a93c-_0x2343d7._0x112827,_0x109642-_0x2343d7._0x519144,_0x31a93c-_0x2343d7._0x13a998,_0x5b9bf4);}return _0x188870[_0x49b754(_0x346b0e._0x25fb0b,0x239,_0x346b0e._0x256ead,0x1f2)]('\x0a');}function createLoadSkillTool(_0x1a4452){const _0x1a022c={_0x4176ad:0x197,_0x153088:0x100,_0x51b87b:0x67,_0x31e5b9:0x169,_0x4ac5a6:0x594,_0x51327c:0x671,_0x47a3d4:0x5ce,_0x1816de:0x105,_0x2cf505:0x173,_0x192781:0x792},_0x1c977a={_0x3a81f2:0xec,_0x556d00:0x7f,_0x4ae727:0x1f,_0x3ad356:0x7c5,_0x52f3a0:0x725,_0x15e106:0x13f,_0x362561:0x173,_0x4cc3ad:0x295,_0x5d92ab:0x1bf,_0x4a52e5:0x16e,_0xf6c7f0:0x1cc,_0x53aa01:0x282,_0x14021c:0x56f,_0x238175:0x4e5,_0x2d6d19:0x58d,_0x316472:0x187,_0x2628c3:0x703,_0x3679e0:0x693,_0x1612bc:0x149,_0x3a0129:0x1dc,_0x47e5ad:0xc6,_0x45f24b:0x139,_0x32df83:0xb3,_0x391a2f:0x71f,_0x4f75fc:0x5c2,_0x552b57:0x71c,_0x205240:0x42,_0x284001:0x45,_0x43e139:0x1e3,_0x484479:0x29c,_0xc6aa80:0x5b8,_0x51496e:0x54c,_0x2955ea:0x11e,_0x34aeb5:0x22c,_0x49c402:0x96,_0x45f4cf:0x622,_0x19f006:0x622,_0x1a65d0:0x55c,_0x3be3a7:0x653,_0x43eaf2:0x5d,_0x2a0f36:0x1c,_0x3df75a:0x743,_0x264f7e:0x7de,_0xe05a3:0x725,_0x5212d4:0x123},_0x42d7c1={_0x5d7362:0x94},_0x48267a={_0x59d24d:0x22,_0x1bed8b:0x552},_0xb6761a={_0x26c801:0xed},_0x106f87={_0x257185:0x1e4},_0x4d59ba=new Map(_0x1a4452[_0x44948a(_0x1a022c._0x4176ad,0x4e,0xbd,-_0x1a022c._0x153088)][_0x44948a(0x83,_0x1a022c._0x51b87b,_0x1a022c._0x31e5b9,-0xd)](_0x47e50b=>[_0x47e50b['name'],_0x47e50b]));function _0x29031d(_0x46085f,_0x10ee28,_0x26b2d4,_0x3ac4d7){return _0x5c47d8(_0x3ac4d7-0x23a,_0x10ee28-0x64,_0x26b2d4-_0x106f87._0x257185,_0x46085f);}function _0x44948a(_0x168565,_0x2cf720,_0x3edc72,_0x5d9714){return _0x5c47d8(_0x2cf720- -0x346,_0x2cf720-0x12d,_0x3edc72-_0xb6761a._0x26c801,_0x5d9714);}const _0x1b340b=buildDescription2(_0x1a4452[_0x29031d(_0x1a022c._0x4ac5a6,0x4f8,_0x1a022c._0x51327c,_0x1a022c._0x47a3d4)]);return defineTool({'name':_0x44948a(_0x1a022c._0x1816de,_0x1a022c._0x2cf505,0x1a3,0x13b),'description':_0x1b340b,'inputSchema':{'type':_0x29031d(0x70c,0x6dc,_0x1a022c._0x192781,0x704),'properties':{'name':{'type':'string'}},'required':['name']},async *'execute'(_0x29b289){const _0x579089=_0x4d59ba[_0x45d282(_0x1c977a._0x3a81f2,_0x1c977a._0x556d00,0x38,-_0x1c977a._0x4ae727)](_0x29b289[_0x27ca97(0x86f,0x621,_0x1c977a._0x3ad356,_0x1c977a._0x52f3a0)]);if(!_0x579089){const _0x49a136=Array[_0x45d282(_0x1c977a._0x15e106,_0x1c977a._0x362561,0x1c0,_0x1c977a._0x4cc3ad)](_0x4d59ba[_0x45d282(_0x1c977a._0x5d92ab,_0x1c977a._0x4a52e5,_0x1c977a._0xf6c7f0,_0x1c977a._0x53aa01)]())[_0x27ca97(0x52f,_0x1c977a._0x14021c,0x629,0x50d)](',\x20');throw new ToolExecutionError(_0x27ca97(_0x1c977a._0x238175,_0x1c977a._0x2d6d19,0x5b0,0x5c0)+_0x29b289[_0x45d282(0x29c,0x388,_0x1c977a._0x316472,0x370)]+_0x45d282(0x1ba,0xc7,0x1a0,0x1b5)+_0x49a136,{'name':_0x29b289['name']});}const _0xeca94=await _0x1a4452[_0x27ca97(_0x1c977a._0x2628c3,_0x1c977a._0x3679e0,0x6ce,0x5f3)](_0x579089);function _0x27ca97(_0x36b06b,_0x4f8b6f,_0x22207c,_0x3fa355){return _0x44948a(_0x36b06b-_0x48267a._0x59d24d,_0x3fa355-_0x48267a._0x1bed8b,_0x22207c-0x174,_0x36b06b);}const _0x53b97c=_0x579089['source']['directory']??_0x43234b[_0x45d282(_0x1c977a._0x1612bc,_0x1c977a._0x3a0129,_0x1c977a._0x47e5ad,0x3a)](_0x579089[_0x45d282(0x21a,0x34c,_0x1c977a._0x45f24b,_0x1c977a._0x32df83)][_0x27ca97(_0x1c977a._0x391a2f,0x6f3,_0x1c977a._0x4f75fc,_0x1c977a._0x552b57)]);function _0x45d282(_0x478f3a,_0x2a0e3b,_0x2d6622,_0x25bea6){return _0x44948a(_0x478f3a-0x1ac,_0x478f3a-0xc9,_0x2d6622-_0x42d7c1._0x5d7362,_0x2d6622);}const _0x578caa=[_0x45d282(0xe6,-_0x1c977a._0x205240,-_0x1c977a._0x284001,_0x1c977a._0x43e139)+_0xeca94[_0x45d282(_0x1c977a._0x484479,0x406,0x320,0x309)],'',_0xeca94[_0x27ca97(0x4a0,0x5f3,_0x1c977a._0xc6aa80,_0x1c977a._0x51496e)],'',_0x45d282(0x112,0x1a2,_0x1c977a._0x2955ea,0x1cd),_0x45d282(0xc6,_0x1c977a._0x34aeb5,-0x28,_0x1c977a._0x49c402)+_0x579089[_0x27ca97(0x72d,_0x1c977a._0x45f4cf,0x755,0x6a3)]['path'],_0x27ca97(0x4f7,_0x1c977a._0x19f006,_0x1c977a._0x1a65d0,_0x1c977a._0x3be3a7)+_0x53b97c][_0x45d282(0x84,-_0x1c977a._0x43eaf2,-0xd8,_0x1c977a._0x2a0f36)]('\x0a');return yield createToolOutput(_0x578caa,{'id':_0xeca94['id'],'name':_0xeca94[_0x27ca97(0x6d6,_0x1c977a._0x3df75a,_0x1c977a._0x264f7e,_0x1c977a._0xe05a3)],'path':_0x579089['source'][_0x45d282(0x293,_0x1c977a._0x5212d4,0x34b,0x22b)],'baseDirectory':_0x53b97c}),void 0x0;}});}var TODO_STATUSES=new Set([_0x25cfa5(0x25c,0x1e4,0x146,0x17a),'in_progress','completed']),TODO_PRIORITIES=new Set([_0x25cfa5(-0x180,0x79,-0x89,-0x15f),'medium',_0x25cfa5(0x185,0x24f,0x11b,0x16f)]);function isTodoStatus(_0x3ff7a8){const _0x56b052={_0x4913b7:0x6e6,_0x1024cc:0x520,_0x50d087:0x52a},_0x29214b={_0x2e5f95:0x419},_0x36e587={_0x599074:0x576};function _0xc8ccd8(_0x5696e0,_0x25537d,_0x4a8138,_0x435294){return _0x25cfa5(_0x5696e0-0x1e5,_0x5696e0,_0x435294-_0x36e587._0x599074,_0x435294-0x1c7);}function _0x320afa(_0x4be58e,_0x2361f8,_0x2de40c,_0x24720c){return _0x25cfa5(_0x4be58e-0x1b4,_0x4be58e,_0x24720c-_0x29214b._0x2e5f95,_0x24720c-0x1ea);}return typeof _0x3ff7a8===_0xc8ccd8(0x66f,_0x56b052._0x4913b7,_0x56b052._0x1024cc,0x615)&&TODO_STATUSES[_0x320afa(0x4a1,0x650,0x4fb,_0x56b052._0x50d087)](_0x3ff7a8);}function isTodoPriority(_0x1d73d6){return typeof _0x1d73d6==='string'&&TODO_PRIORITIES['has'](_0x1d73d6);}var TodoStore=class{['todosBySession']=new Map();[_0x5c47d8(0x4ea,0x5eb,0x448,0x3aa)](_0x3c7f52){const _0x2dfadb={_0x527f81:0x1f2,_0x3ce35f:0x82},_0x27f2ba={_0x35af12:0x126};function _0x58ea34(_0x2e23b4,_0x57c3cc,_0x13d415,_0x1d42db){return _0x5c47d8(_0x2e23b4- -0x3eb,_0x57c3cc-0xf5,_0x13d415-_0x27f2ba._0x35af12,_0x1d42db);}function _0x1f5ba2(_0x3b1b14,_0x5a447b,_0x31254f,_0x44d5d7){return _0x5c47d8(_0x3b1b14- -0x22c,_0x5a447b-0x194,_0x31254f-0x11a,_0x44d5d7);}return this[_0x58ea34(0x150,0x262,_0x2dfadb._0x527f81,0xbd)][_0x58ea34(-_0x2dfadb._0x3ce35f,0x85,0x51,-0x1f9)](_0x3c7f52)??[];}[_0x25cfa5(0x62,0x158,0xbd,0x25)](_0x1d6886,_0x26b34e){const _0x4c8beb={_0x1f9614:0x6f9,_0x19fa18:0x647,_0x39ef69:0x1,_0x5aca26:0x13e},_0x1fbffd={_0x1e0bb2:0x360,_0x1c1832:0x145};function _0x3b62a8(_0x331385,_0x266133,_0x5b5110,_0x31386e){return _0x5c47d8(_0x266133- -_0x1fbffd._0x1e0bb2,_0x266133-_0x1fbffd._0x1c1832,_0x5b5110-0xe1,_0x331385);}function _0x33d203(_0x22284d,_0x334b3b,_0x2177a7,_0x2af3d7){return _0x25cfa5(_0x22284d-0x181,_0x22284d,_0x2af3d7-0x3aa,_0x2af3d7-0x85);}this[_0x33d203(_0x4c8beb._0x1f9614,0x629,_0x4c8beb._0x19fa18,0x5d6)][_0x3b62a8(-0x12a,_0x4c8beb._0x39ef69,_0x4c8beb._0x5aca26,-0xe)](_0x1d6886,_0x26b34e);}[_0x5c47d8(0x297,0x180,0x277,0x343)](_0x2822a2){const _0x2fc226={_0x1778f6:0x6b6,_0x16c0f4:0x587,_0x28289d:0x54e,_0x524c92:0x1d5,_0x2dd2f9:0xa8,_0x30480c:0x4,_0x165d34:0x48b,_0x5e8142:0x242,_0x487876:0x642,_0x507a0d:0x608,_0x23c2a1:0x4f9},_0x20aaa5={_0xa1f316:0x1d5},_0x3c6038={_0x220464:0x10,_0x511f34:0x11e};function _0x22f46e(_0x5c1856,_0x21032d,_0xb86b28,_0x46c7ba){return _0x5c47d8(_0x46c7ba-0x68,_0x21032d-_0x3c6038._0x220464,_0xb86b28-_0x3c6038._0x511f34,_0xb86b28);}const _0x42922f=this['getTodos'](_0x2822a2),_0x1cfcbd={'total':_0x42922f[_0x22f46e(_0x2fc226._0x1778f6,_0x2fc226._0x16c0f4,0x524,_0x2fc226._0x28289d)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0xcb7eba(_0x5a9b33,_0x3d86c9,_0x5644dd,_0x260c37){return _0x5c47d8(_0x5a9b33- -0x459,_0x3d86c9-_0x20aaa5._0xa1f316,_0x5644dd-0x1a9,_0x260c37);}for(const _0xc3219a of _0x42922f){if(_0xc3219a[_0xcb7eba(-_0x2fc226._0x524c92,-0xb1,-0x1ee,-_0x2fc226._0x2dd2f9)]===_0xcb7eba(-_0x2fc226._0x30480c,0xf8,0x13e,-0x114))_0x1cfcbd[_0x22f46e(0x53f,0x581,_0x2fc226._0x165d34,0x4bd)]+=0x1;else{if(_0xc3219a[_0xcb7eba(-0x1d5,-0x1c0,-0x231,-_0x2fc226._0x5e8142)]===_0x22f46e(_0x2fc226._0x487876,_0x2fc226._0x507a0d,_0x2fc226._0x23c2a1,0x517))_0x1cfcbd['inProgress']+=0x1;else _0x1cfcbd['completed']+=0x1;}}return _0x1cfcbd;}};function validateTodos(_0x50ec4b){const _0x3fa495={_0x4a8423:0x3ff,_0x326c3b:0x34f,_0x135bde:0x6a8,_0x15d6a1:0x617,_0x31e0d0:0x6f2,_0x417955:0x5d2,_0x382b36:0x516,_0x28eebb:0x73e,_0xbea79:0x6b1,_0x55ca43:0x6f2,_0x2cc490:0x518,_0x4ca074:0x571,_0x1ce9c5:0x5d3,_0x21652f:0x1f0,_0x2d3614:0x55a,_0x311d29:0x5a2,_0x235ee2:0x6d9,_0x501e08:0x4b2,_0x18faa3:0x501,_0xbb1228:0x1fc,_0x5db5d0:0x39c,_0x619bec:0x6fb,_0x50e534:0x731,_0x255d6e:0x120,_0x19bc65:0x1b4,_0x1c495e:0x26f,_0x3e92d4:0x2c8,_0x540d2d:0x2f0,_0x35bfab:0x1a6,_0x4e3d61:0x309,_0x578d10:0x4ef,_0x5d956a:0x2c1,_0x8b2125:0x473,_0xddf644:0x4f4,_0x41b293:0x67a,_0x586dc9:0x55f,_0x33ff0:0x593,_0x461fdd:0x649,_0x3159f2:0x14e,_0x1a8a44:0x6f4,_0x1ef55b:0x623,_0xbddf3c:0x4fe,_0x121baa:0x396,_0x4cd1a8:0x4e0,_0x46b192:0x37d,_0x2bfa5b:0x318,_0x5b230a:0x736,_0x4c67ac:0x7b1,_0x22fdbd:0x42c,_0x9965ed:0x21e},_0x387c3f={_0x58af1d:0x1d9,_0x31cb2b:0x138},_0x176e82={_0x3c3ab5:0x20c};if(!Array[_0x2dc464(_0x3fa495._0x4a8423,0x4a5,0x5c0,_0x3fa495._0x326c3b)](_0x50ec4b[_0x2dc464(_0x3fa495._0x135bde,_0x3fa495._0x15d6a1,0x4b7,0x5a1)])||_0x50ec4b['todos'][_0x2dc464(0x64b,_0x3fa495._0x31e0d0,0x767,0x81e)]===0x0)throw new ToolExecutionError(_0x2dc464(_0x3fa495._0x417955,0x5a9,0x673,_0x3fa495._0x382b36),{'error':_0x2dc464(0x514,0x5cd,0x639,0x69f)});for(let _0x4635e0=0x0;_0x4635e0<_0x50ec4b[_0x2dc464(0x701,_0x3fa495._0x15d6a1,0x50e,_0x3fa495._0x28eebb)][_0x2dc464(_0x3fa495._0xbea79,_0x3fa495._0x55ca43,0x851,0x6da)];_0x4635e0+=0x1){const _0x572d0c=_0x50ec4b[_0x2dc464(0x595,0x617,0x6c6,_0x3fa495._0x2cc490)][_0x4635e0];if(!_0x572d0c||typeof _0x572d0c!==_0x2dc464(_0x3fa495._0x4ca074,0x6d6,0x6ad,_0x3fa495._0x1ce9c5))throw new ToolExecutionError(_0x27823d(0xfd,_0x3fa495._0x21652f,0x274,0x1b9)+(_0x4635e0+0x1)+_0x2dc464(0x690,_0x3fa495._0x2d3614,0x68d,0x695),{'error':_0x2dc464(0x6a9,_0x3fa495._0x311d29,_0x3fa495._0x235ee2,0x671)});if(typeof _0x572d0c['id']!==_0x2dc464(_0x3fa495._0x501e08,0x5ba,_0x3fa495._0x18faa3,0x6c9)||_0x572d0c['id'][_0x27823d(0x36d,0x2dc,0x309,0x27e)]()['length']===0x0)throw new ToolExecutionError(_0x27823d(_0x3fa495._0xbb1228,0x353,0x274,_0x3fa495._0x5db5d0)+(_0x4635e0+0x1)+':\x20id\x20required',{'error':_0x2dc464(0x606,_0x3fa495._0x619bec,_0x3fa495._0x50e534,0x5eb)});if(typeof _0x572d0c[_0x27823d(_0x3fa495._0x255d6e,_0x3fa495._0x19bc65,0x1da,_0x3fa495._0x1c495e)]!=='string'||_0x572d0c[_0x27823d(_0x3fa495._0x3e92d4,_0x3fa495._0x540d2d,0x1da,0x341)][_0x27823d(_0x3fa495._0x35bfab,0x251,_0x3fa495._0x4e3d61,0x477)]()[_0x27823d(_0x3fa495._0x578d10,0x27c,0x3b0,_0x3fa495._0x5d956a)]===0x0)throw new ToolExecutionError(_0x2dc464(0x479,0x5b6,_0x3fa495._0x8b2125,_0x3fa495._0xddf644)+(_0x4635e0+0x1)+_0x2dc464(0x5f9,_0x3fa495._0x41b293,_0x3fa495._0x586dc9,0x6e4),{'error':_0x2dc464(0x48f,_0x3fa495._0x33ff0,_0x3fa495._0x461fdd,0x584)});if(!isTodoStatus(_0x572d0c[_0x27823d(-0x1,0x2ae,_0x3fa495._0x3159f2,0x73)]))throw new ToolExecutionError(_0x2dc464(0x6eb,0x5b6,_0x3fa495._0x1a8a44,0x70b)+(_0x4635e0+0x1)+_0x2dc464(_0x3fa495._0x1ef55b,_0x3fa495._0xbddf3c,0x4cd,0x619),{'error':_0x27823d(_0x3fa495._0x121baa,_0x3fa495._0x4cd1a8,_0x3fa495._0x46b192,_0x3fa495._0x2bfa5b)});if(!isTodoPriority(_0x572d0c['priority']))throw new ToolExecutionError('Todo\x20'+(_0x4635e0+0x1)+':\x20invalid\x20priority',{'error':'invalid_todo_priority'});}const _0x59e4ab=_0x50ec4b[_0x27823d(0x2aa,0x3af,0x2d5,0x2af)][_0x27823d(0x187,0x137,0x277,0x237)](_0x35ec58=>_0x35ec58['id']);function _0x2dc464(_0x1e02f7,_0x1a1f12,_0x4e9ac5,_0x2ee3db){return _0x5c47d8(_0x1a1f12-_0x176e82._0x3c3ab5,_0x1a1f12-0x1bf,_0x4e9ac5-0x4a,_0x4e9ac5);}function _0x27823d(_0x43b5c8,_0x5852da,_0x50aa72,_0x403566){return _0x25cfa5(_0x43b5c8-0x141,_0x5852da,_0x50aa72-_0x387c3f._0x58af1d,_0x403566-_0x387c3f._0x31cb2b);}if(new Set(_0x59e4ab)[_0x27823d(0x233,0x64,0x18e,0x17d)]!==_0x59e4ab[_0x2dc464(_0x3fa495._0x5b230a,0x6f2,_0x3fa495._0x4c67ac,0x7dd)])throw new ToolExecutionError(_0x27823d(0x27c,_0x3fa495._0x22fdbd,0x36f,_0x3fa495._0x9965ed),{'error':_0x2dc464(0x5ca,0x61e,0x588,0x78b)});}function createStatsProgress(_0x13f843){const _0x2f2e6d={_0x3eaf76:0x142,_0x4c30cd:0x5c,_0x1ed89d:0xc1,_0x182a6e:0x22d,_0x3f8672:0x20b,_0x321fb5:0x4e8,_0x42e555:0x392,_0xfd381f:0x6bb,_0x24e43b:0x7f2},_0x5ebee0={_0x322080:0xb1,_0x3b3c57:0x4f},_0x6e095a={_0x398d42:0x1a8};function _0x33571f(_0x2b8088,_0x223e26,_0xb0042a,_0x53ed3c){return _0x25cfa5(_0x2b8088-0x1ee,_0x2b8088,_0xb0042a- -_0x6e095a._0x398d42,_0x53ed3c-0x168);}function _0x33e547(_0x1c2472,_0x4eda48,_0x377444,_0x812b72){return _0x25cfa5(_0x1c2472-_0x5ebee0._0x322080,_0x1c2472,_0x4eda48-0x599,_0x812b72-_0x5ebee0._0x3b3c57);}return _0x13f843[_0x33571f(0xf3,-_0x2f2e6d._0x3eaf76,-_0x2f2e6d._0x4c30cd,-_0x2f2e6d._0x1ed89d)]>0x0?Math[_0x33571f(-0x1d6,-0x2f4,-_0x2f2e6d._0x182a6e,-_0x2f2e6d._0x3f8672)](_0x13f843[_0x33e547(0x57f,_0x2f2e6d._0x321fb5,_0x2f2e6d._0x42e555,0x5a6)]/_0x13f843[_0x33e547(0x7e4,0x6e5,_0x2f2e6d._0xfd381f,_0x2f2e6d._0x24e43b)]*0x64)+'%':'0%';}function createReminderItems(_0x398239){const _0x29e405={_0x55b422:0xd5,_0x357790:0x1e2},_0x5aa929={_0x3da554:0x19e},_0x2af880={_0x5305ee:0x5a};function _0x35d9f0(_0x552fcd,_0x136d25,_0x1a4cab,_0x1fcaa5){return _0x25cfa5(_0x552fcd-0x1ad,_0x136d25,_0x1fcaa5- -0x1f9,_0x1fcaa5-_0x2af880._0x5305ee);}function _0x144671(_0xca91d7,_0xb66ffd,_0x1fac82,_0x54c814){return _0x5c47d8(_0x1fac82- -0x2c7,_0xb66ffd-0x16a,_0x1fac82-_0x5aa929._0x3da554,_0xca91d7);}return _0x398239[_0x144671(0x21a,_0x29e405._0x55b422,0xe6,_0x29e405._0x357790)](_0x2b3a54=>({'content':_0x2b3a54[_0x35d9f0(-0x210,-0x1bc,-0x1ae,-0x1f8)],'status':_0x2b3a54[_0x144671(-0xa9,0x119,-0x43,-0x104)],'id':_0x2b3a54['id']}));}function createStructuredResult(_0xd280fe,_0x47834f,_0x512d69,_0x2aa43f){const _0x19e8f8={_0x5f2eb5:0x1d6,_0x570304:0x184,_0x5047f5:0x234,_0x5d8502:0x394,_0x551eaa:0x352},_0x30ac71={_0x2b4b2d:0x194,_0x17c2d1:0x1c7},_0x329571={_0x1915a7:0x165};function _0x3c3854(_0x40297f,_0x36cab5,_0x9b1da0,_0x3e3c4e){return _0x5c47d8(_0x40297f-0x15c,_0x36cab5-_0x329571._0x1915a7,_0x9b1da0-0x6,_0x36cab5);}function _0xdbb245(_0x843922,_0xb28508,_0x4a5ae8,_0x9284a3){return _0x5c47d8(_0x9284a3- -_0x30ac71._0x2b4b2d,_0xb28508-0x120,_0x4a5ae8-_0x30ac71._0x17c2d1,_0xb28508);}return{'allCompleted':_0x2aa43f,'items':_0x47834f[_0xdbb245(0x159,_0x19e8f8._0x5f2eb5,_0x19e8f8._0x570304,0x219)](_0x55b816=>({'id':_0x55b816['id'],'content':_0x55b816[_0x3c3854(0x46c,0x34d,0x502,0x394)],'status':_0x55b816[_0xdbb245(0x40,0x1b9,0x10b,0xf0)],'priority':_0x55b816[_0x3c3854(0x5d4,0x581,0x4b1,0x682)],'createdAt':_0x55b816['createdAt']})),'progress':createStatsProgress(_0x512d69),'recentChanges':!![],'sessionId':_0xd280fe,'stats':_0x512d69,'todosWritten':_0x47834f[_0xdbb245(_0x19e8f8._0x5047f5,_0x19e8f8._0x5d8502,0x40f,_0x19e8f8._0x551eaa)]};}function createOutputText(_0x3a8212,_0x4a4d87){const _0x480bc9={_0x1549f9:0xbc,_0x53cf2b:0x7d,_0x5f3cbe:0x1e4,_0x35ba1d:0xd9,_0x30fe2b:0x2b0,_0x39a13:0x1a4,_0x41e436:0x173},_0x31ff58={_0x2488b0:0x177,_0x5552f4:0xb5,_0x44ae34:0x1c4},_0x1e1b14={_0x3eed31:0xbf,_0x346755:0xb5},_0x271b20=JSON[_0x11ee91(-0xb2,-0x13b,-0x1c7,-_0x480bc9._0x1549f9)](createReminderItems(_0x3a8212));function _0x11ee91(_0x3f2a30,_0x3c5628,_0x17a1c5,_0x760c00){return _0x25cfa5(_0x3f2a30-_0x1e1b14._0x3eed31,_0x17a1c5,_0x3c5628- -_0x1e1b14._0x346755,_0x760c00-0x1e1);}if(_0x4a4d87)return'All\x20'+_0x3a8212['length']+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x271b20+_0x562677(_0x480bc9._0x53cf2b,_0x480bc9._0x5f3cbe,_0x480bc9._0x35ba1d,0x91);function _0x562677(_0x43eb2d,_0x38dc45,_0x2de069,_0xb74ceb){return _0x25cfa5(_0x43eb2d-_0x31ff58._0x2488b0,_0x2de069,_0x38dc45-_0x31ff58._0x5552f4,_0xb74ceb-_0x31ff58._0x44ae34);}return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x271b20+_0x562677(_0x480bc9._0x30fe2b,0x1e4,_0x480bc9._0x39a13,_0x480bc9._0x41e436);}function createTodoWriteTool(_0x31e817=new TodoStore()){const _0x3b7346={_0x4f5176:0x92,_0x1994c9:0x280,_0x16f8b1:0x25e,_0x25719f:0x187,_0x1d95f3:0x1ef,_0x111f4d:0x20b,_0x187d71:0x2d5,_0x4c8390:0x1a5,_0x5c1df7:0x1db,_0x4415a8:0x156,_0x4ae8cb:0x135,_0x49e531:0x70,_0x22f016:0xea},_0xa29eb={_0x1dfea9:0x63f,_0xe5c4db:0x67d,_0x4e244e:0x585,_0x209b2d:0x591,_0x224ec8:0x352,_0x523300:0x1e,_0x4cc9e5:0x52a,_0xb85b6f:0x61c,_0x2c86f7:0x54e,_0x1c5add:0x4e3},_0x3d4d14={_0x3f3f50:0x1d3,_0xbad6f:0x4},_0x38ff9a={_0xf7b0b8:0x112};function _0x14e44e(_0x3eeedd,_0x34954d,_0x53dd9a,_0x43409b){return _0x25cfa5(_0x3eeedd-0x159,_0x53dd9a,_0x43409b- -0x34,_0x43409b-_0x38ff9a._0xf7b0b8);}function _0x5afc70(_0x24ef02,_0x370fe3,_0x10fc64,_0x354e84){return _0x5c47d8(_0x10fc64- -_0x3d4d14._0x3f3f50,_0x370fe3-_0x3d4d14._0xbad6f,_0x10fc64-0x132,_0x354e84);}return defineTool({'name':_0x5afc70(0x36e,0x174,0x200,_0x3b7346._0x4f5176),'description':_0x5afc70(0x1fe,_0x3b7346._0x1994c9,_0x3b7346._0x16f8b1,0x346),'inputSchema':{'type':_0x14e44e(0x213,0x257,0x19,_0x3b7346._0x25719f),'properties':{'todos':{'type':_0x5afc70(_0x3b7346._0x1d95f3,0x190,_0x3b7346._0x111f4d,0x176),'items':{'type':_0x14e44e(0x3e,_0x3b7346._0x187d71,0x192,_0x3b7346._0x25719f),'properties':{'content':{'type':_0x5afc70(0xac,0x1a4,0x1db,0x26b)},'status':{'type':'string'},'priority':{'type':_0x5afc70(0x33c,_0x3b7346._0x4c8390,0x1db,0x64)},'id':{'type':'string'},'createdAt':{'type':_0x5afc70(0x22f,0x1c6,_0x3b7346._0x5c1df7,0x82)}},'required':['content','status',_0x14e44e(0xb4,-0x17,_0x3b7346._0x4415a8,_0x3b7346._0x4ae8cb),'id']}}},'required':[_0x14e44e(0x93,-_0x3b7346._0x49e531,_0x3b7346._0x22f016,0xc8)]},async *'execute'(_0x291747,_0x552ee7){const _0x3ffa6c={_0x905fa3:0x4b},_0x2cd026=_0x291747;validateTodos(_0x2cd026);const _0x409f20=_0x552ee7[_0x54f36d(-0x3ce,-0x245,-0x25d,-0x31b)]||_0x2fc7ca(_0xa29eb._0x1dfea9,0x50a,0x626,_0xa29eb._0xe5c4db);function _0x2fc7ca(_0x87e35e,_0x2c358c,_0x4c6dc4,_0x27eacb){return _0x5afc70(_0x87e35e-0xa1,_0x2c358c-_0x3ffa6c._0x905fa3,_0x27eacb-0x3b7,_0x4c6dc4);}const _0x5cb34d=new Date()['toISOString'](),_0x2c5210=_0x2cd026['todos'][_0x2fc7ca(0x588,_0xa29eb._0x4e244e,0x6e5,_0xa29eb._0x209b2d)](_0x4ddeb5=>({'id':_0x4ddeb5['id'],'content':_0x4ddeb5[_0x54f36d(-0x8c,-0xde,-0x1b8,-0x204)],'status':_0x4ddeb5[_0x54f36d(-0x2d4,-0x1fc,-0x244,-0x34c)],'priority':_0x4ddeb5[_0x54f36d(0x98,-0x14,-0x50,0xec)],'sessionId':_0x409f20,'createdAt':_0x4ddeb5[_0x2fc7ca(0x4a9,0x5df,0x5c4,0x4cb)]||_0x5cb34d,'updatedAt':_0x5cb34d}));_0x31e817['setTodos'](_0x409f20,_0x2c5210);const _0x37464f=_0x31e817[_0x2fc7ca(_0xa29eb._0x224ec8,0x4d7,0x39c,0x47b)](_0x409f20),_0x1856d3=_0x2c5210[_0x54f36d(0x9c,0xdb,_0xa29eb._0x523300,-0x15b)]>0x0&&_0x2c5210[_0x2fc7ca(_0xa29eb._0x4cc9e5,_0xa29eb._0xb85b6f,_0xa29eb._0x2c86f7,_0xa29eb._0x1c5add)](_0x39cb55=>_0x39cb55[_0x2fc7ca(0x533,0x5d0,0x44d,0x468)]===_0x2fc7ca(0x3e6,0x3fd,0x34c,0x442));function _0x54f36d(_0x3b3885,_0x2a83b9,_0x39f52e,_0x2adedd){return _0x5afc70(_0x3b3885-0x174,_0x2a83b9-0x1cb,_0x39f52e- -0x2f5,_0x2adedd);}return createToolOutput(createOutputText(_0x2c5210,_0x1856d3),createStructuredResult(_0x409f20,_0x2c5210,_0x37464f,_0x1856d3));}});}import{mkdir as _0xd5da7b,writeFile as _0xfe2756}from'fs/promises';import*as _0x309f46 from'path';function sanitizeFileName(_0x514ce0){const _0x49faf8={_0x23a0ff:0x5ba,_0x152eec:0x461},_0x47708d={_0x5e279a:0x72};function _0x382317(_0x517a1d,_0x356d40,_0x439991,_0x1ab0f9){return _0x25cfa5(_0x517a1d-_0x47708d._0x5e279a,_0x517a1d,_0x356d40-0x36d,_0x1ab0f9-0x17c);}return _0x514ce0[_0x382317(_0x49faf8._0x23a0ff,0x538,_0x49faf8._0x152eec,0x5a6)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x31d0d8,_0x1f7f21){const _0x1b4b94={_0x5a1853:0x2e2,_0x29b86f:0x520,_0x5992af:0x4e5,_0x5c9800:0x34b,_0x492cc0:0x4a6,_0x49dcb7:0x459,_0x47fe3a:0x287,_0x525d0d:0x435,_0xa59c30:0x684,_0x1c06bd:0x559,_0x11f998:0x2b7,_0xf5b77b:0x782,_0x39f525:0x11c,_0x2fa2a6:0x48a,_0x1604a5:0x25f,_0x384e1c:0x2c0,_0x553d9a:0x38b,_0x18316:0x3a9,_0xcb9bae:0x3e6,_0x3c3cea:0x2c6,_0x3cc242:0x2d1,_0x158be3:0x37f,_0x35f62c:0x18c,_0x1a69c5:0x34f,_0x5a30ab:0x256,_0x2166ff:0x47a,_0x493ca1:0x3ab,_0x5096fc:0x439,_0xdab6eb:0x4b8,_0x4b202a:0x459,_0x3122a4:0x324,_0x32bb26:0x5fd,_0x2436eb:0x311,_0x559d06:0x3ba,_0x50895b:0x46c,_0x1ecf51:0x2f7,_0x9ed0b5:0x2a3,_0x4bdec1:0x562,_0x399e66:0x4e6,_0xd80a2a:0x5df,_0x521810:0x509,_0x5cafd1:0x5f3,_0x4e6518:0x489,_0xc1ce4f:0x4b5,_0x3f8583:0x35b,_0x5527f6:0x417,_0x16bca7:0x277,_0x505a26:0x26b,_0x141c65:0x23a,_0x4d2fc2:0x160,_0x50e110:0x39b,_0x4c5e4f:0x167,_0x4ca9e5:0x3a0},_0x4d3236={_0x2646ba:0x158,_0x1db43f:0x4d},{maxBytes:_0xd34315,sessionDir:_0x2bcde1}=_0x1f7f21;if(!_0x31d0d8['output']||Buffer[_0x184b99(0x1fd,0x407,_0x1b4b94._0x5a1853,0x179)](_0x31d0d8['output'],'utf8')<=_0xd34315)return _0x31d0d8;const _0x5c923c=Buffer[_0x1025e8(0x5df,_0x1b4b94._0x29b86f,0x52a,_0x1b4b94._0x5992af)](_0x31d0d8[_0x1025e8(0x2eb,0x38f,0x330,0x3ab)],_0x184b99(_0x1b4b94._0x5c9800,_0x1b4b94._0x492cc0,_0x1b4b94._0x49dcb7,0x53a));if(!_0x2bcde1){const _0xbb531f=_0x31d0d8['output'][_0x184b99(0x20f,_0x1b4b94._0x47fe3a,0x1b7,0x2bd)](0x0,_0xd34315);return{..._0x31d0d8,'output':_0xbb531f+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0xd34315+_0x1025e8(_0x1b4b94._0x525d0d,0x5e1,_0x1b4b94._0xa59c30,_0x1b4b94._0x1c06bd)+_0x5c923c+_0x184b99(0x506,0x4f4,0x3d9,_0x1b4b94._0x11f998)),'meta':{..._0x31d0d8[_0x1025e8(_0x1b4b94._0xf5b77b,0x534,0x4ce,0x637)],'truncated':!![],'originalBytes':_0x5c923c,'transforms':[..._0x31d0d8['meta'][_0x184b99(_0x1b4b94._0x39f525,0x3b6,0x269,0x211)],_0x184b99(0x415,_0x1b4b94._0x2fa2a6,0x388,0x3d7)]}};}const _0x43ac5c=_0x31d0d8[_0x184b99(_0x1b4b94._0x1604a5,0x1b1,0x28e,_0x1b4b94._0x384e1c)]+'_'+sanitizeFileName(_0x31d0d8[_0x184b99(_0x1b4b94._0x553d9a,0x477,_0x1b4b94._0x18316,_0x1b4b94._0xcb9bae)])+_0x184b99(_0x1b4b94._0x3c3cea,_0x1b4b94._0x3cc242,0x397,_0x1b4b94._0x158be3);function _0x1025e8(_0x54100f,_0x1b727f,_0x316fba,_0x2f7348){return _0x5c47d8(_0x2f7348-_0x4d3236._0x2646ba,_0x1b727f-_0x4d3236._0x1db43f,_0x316fba-0x120,_0x1b727f);}function _0x184b99(_0xe4f30a,_0xa31647,_0xf3312d,_0x1c53b2){return _0x5c47d8(_0xf3312d- -0xab,_0xa31647-0xac,_0xf3312d-0x171,_0xe4f30a);}const _0x33f3a5=_0x309f46[_0x184b99(_0x1b4b94._0x35f62c,_0x1b4b94._0x1a69c5,_0x1b4b94._0x5a30ab,0x11a)](_0x2bcde1,_0x43ac5c);await _0xd5da7b(_0x2bcde1,{'recursive':!![]}),await _0xfe2756(_0x33f3a5,_0x31d0d8[_0x1025e8(0x468,0x422,_0x1b4b94._0x2166ff,_0x1b4b94._0x493ca1)],_0x184b99(_0x1b4b94._0x5096fc,_0x1b4b94._0xdab6eb,_0x1b4b94._0x4b202a,0x5cf));let _0x410891=_0x31d0d8['output'][_0x184b99(_0x1b4b94._0x3122a4,0x291,0x1b7,0x222)](0x0,_0xd34315);const _0x2806d4=_0x410891[_0x1025e8(_0x1b4b94._0x32bb26,0x515,0x636,0x56f)]('\x0a');_0x2806d4>_0xd34315*0.5&&(_0x410891=_0x410891[_0x1025e8(0x4b4,0x2ed,_0x1b4b94._0x2436eb,_0x1b4b94._0x559d06)](0x0,_0x2806d4));const _0x39d80d=['',_0x184b99(_0x1b4b94._0x50895b,0x2bf,_0x1b4b94._0x1ecf51,_0x1b4b94._0x9ed0b5),_0x184b99(_0x1b4b94._0x4bdec1,0x4db,0x3f4,0x33c)+_0xd34315+_0x1025e8(0x312,0x517,_0x1b4b94._0x399e66,_0x1b4b94._0x18316)+_0x5c923c+_0x1025e8(0x487,0x616,_0x1b4b94._0xd80a2a,_0x1b4b94._0x521810),_0x184b99(_0x1b4b94._0x5cafd1,0x471,_0x1b4b94._0x4e6518,_0x1b4b94._0xc1ce4f)+_0x33f3a5,_0x1025e8(0x322,_0x1b4b94._0x3f8583,0x3ca,_0x1b4b94._0x5527f6),_0x184b99(_0x1b4b94._0x16bca7,_0x1b4b94._0x505a26,_0x1b4b94._0x141c65,0x256)][_0x184b99(_0x1b4b94._0x4d2fc2,_0x1b4b94._0x50e110,0x256,_0x1b4b94._0x4c5e4f)]('\x0a');return{..._0x31d0d8,'output':_0x410891+_0x39d80d,'meta':{..._0x31d0d8['meta'],'truncated':!![],'originalBytes':_0x5c923c,'transforms':[..._0x31d0d8['meta'][_0x1025e8(0x3ee,0x5c4,_0x1b4b94._0x4ca9e5,0x46c)],'tool-output-offload']}};}function createUpdateTopicTool(){const _0x360711={_0x2884ef:0x4ee},_0x3f5fdf={_0x1dfd0d:0x173,_0x281f33:0x22,_0x49bf68:0x24f,_0x23a03c:0x280,_0x25d0c0:0x44d,_0xad4ee:0x3aa,_0x520715:0x399},_0x3d3e0e={_0x13ae7b:0x17b},_0x23feef={_0x4c72f1:0x140,_0x5ed919:0x11b,_0x26a3f2:0x13b},_0x434c53={_0x1d28e6:0x1ba,_0x5f2ebc:0x9};function _0x1c1049(_0x34bdd1,_0x15b2d6,_0x3a1228,_0x5b5ae8){return _0x5c47d8(_0x15b2d6-0x111,_0x15b2d6-_0x434c53._0x1d28e6,_0x3a1228-_0x434c53._0x5f2ebc,_0x34bdd1);}function _0x190034(_0x2e7b02,_0x3c2634,_0x1b8ba5,_0x34fc9e){return _0x5c47d8(_0x3c2634- -_0x23feef._0x4c72f1,_0x3c2634-_0x23feef._0x5ed919,_0x1b8ba5-_0x23feef._0x26a3f2,_0x34fc9e);}return defineTool({'name':'updateTopic','description':_0x1c1049(0x2dd,0x38d,0x4df,0x30f),'inputSchema':{'type':'object','properties':{'topic':{'type':'string'}},'required':[_0x1c1049(0x382,_0x360711._0x2884ef,0x5f7,0x583)]},async *'execute'(_0x3149eb,_0x48a1df){const _0x41f117={_0x5f0fba:0x1ec},{topic:_0x15bc10}=_0x3149eb;if(typeof _0x15bc10!=='string'||_0x15bc10[_0x49a0ac(0x2a9,_0x3f5fdf._0x1dfd0d,_0x3f5fdf._0x281f33,0x143)]()['length']===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':'invalid_topic'});function _0x49a0ac(_0x1a0287,_0x13ef2d,_0x46f283,_0x2b10c4){return _0x1c1049(_0x46f283,_0x13ef2d- -0x3dd,_0x46f283-0x19a,_0x2b10c4-_0x3d3e0e._0x13ae7b);}function _0x3a1802(_0x224e87,_0x50e7b3,_0x3c12be,_0x3e8464){return _0x190034(_0x224e87-_0x41f117._0x5f0fba,_0x50e7b3-0xf4,_0x3c12be-0x1bf,_0x3e8464);}const _0x3c0579=_0x15bc10[_0x3a1802(0x2a7,0x3f3,0x4f7,0x4e4)]();return _0x48a1df[_0x3a1802(0x376,_0x3f5fdf._0x49bf68,0x284,_0x3f5fdf._0x23a03c)]?.(_0x3c0579),yield createToolOutput(_0x3a1802(_0x3f5fdf._0x25d0c0,0x324,_0x3f5fdf._0xad4ee,_0x3f5fdf._0x520715)+_0x3c0579+'\x22',{'topic':_0x3c0579}),void 0x0;}});}import{readFile as _0x153082,stat as _0x343333}from'fs/promises';import*as _0x2f647a from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x5c47d8(0x405,0x4fc,0x544,0x51a),_0x5c47d8(0x286,0x315,0x323,0x2a3),_0x5c47d8(0x42a,0x36f,0x4e9,0x2da),_0x5c47d8(0x27a,0x250,0x1bb,0x24a)]),PNG_SIGNATURE=Buffer[_0x5c47d8(0x3bc,0x30c,0x3db,0x48f)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0xd9fd71,_0xedb12){const _0x42ed8c={_0x29475e:0xce,_0x105851:0x342,_0x400125:0x3a8,_0x40b559:0x1b8,_0x236d0a:0x23b,_0x226d49:0x331,_0x1701ee:0xc8,_0x1d908f:0x9a,_0x497431:0x202,_0x12b12a:0x1b0,_0x1f22e3:0x42,_0x1862e2:0x186,_0x21a491:0x364,_0x23c94b:0x2d7,_0x2cde53:0x26c,_0x3d477a:0x23b,_0xceb970:0xd6,_0x459995:0x25e,_0x1a4403:0x10a,_0x3cc2c4:0x156,_0x54d2db:0x1d5,_0x5482bc:0xfa,_0x22577d:0x1c7,_0x25e206:0x26a,_0x92aaca:0x118,_0x5cba72:0x3ae,_0x41412c:0x344,_0x3fbf55:0x3f3,_0x1d575e:0xcd,_0x2e94af:0x197,_0x126b21:0xce,_0x35d970:0x198,_0x16d613:0x1dc,_0x3677ae:0x2bf,_0x5d7389:0x355,_0x68a5bb:0x468,_0x50af20:0x27c,_0x4ee0de:0x1fc,_0x240a13:0x280,_0x58e0cc:0x2e2,_0x14ab3a:0x89,_0x456d2e:0xcf,_0x3a3685:0x24d,_0x2f0b0b:0x339,_0x2d99c2:0x350,_0x3e8dbe:0x2af,_0x2ab1cc:0x31a},_0x44ac3e={_0x350058:0xd6};if(_0xd9fd71[_0x2abc55(0x23b,0xcd,_0x42ed8c._0x29475e,0x361)](0x0,0x8)[_0x367e3d(_0x42ed8c._0x105851,_0x42ed8c._0x400125,0x422,0x416)](PNG_SIGNATURE))return _0x367e3d(0x2f3,0x41c,0x35b,0x31f);if(_0xd9fd71[0x0]===0xff&&_0xd9fd71[0x1]===0xd8&&_0xd9fd71[0x2]===0xff)return _0x2abc55(0x12d,0x135,_0x42ed8c._0x40b559,0xa);const _0x2b3e7c=_0xd9fd71[_0x2abc55(_0x42ed8c._0x236d0a,0x11b,_0x42ed8c._0x226d49,0x1fc)](0x0,0x6)[_0x367e3d(_0x42ed8c._0x1701ee,0x15c,_0x42ed8c._0x1d908f,_0x42ed8c._0x497431)](_0x2abc55(0x10a,_0x42ed8c._0x12b12a,_0x42ed8c._0x1f22e3,0x175));function _0x367e3d(_0x5c34ed,_0x402cae,_0x211091,_0x2aa40b){return _0x25cfa5(_0x5c34ed-_0x44ac3e._0x350058,_0x2aa40b,_0x5c34ed-0x155,_0x2aa40b-0x1cc);}if(_0x2b3e7c===_0x367e3d(0x2ed,_0x42ed8c._0x1862e2,_0x42ed8c._0x21a491,0x254)||_0x2b3e7c===_0x367e3d(_0x42ed8c._0x23c94b,_0x42ed8c._0x2cde53,0x1c9,0x307))return'image/gif';if(_0xd9fd71[_0x2abc55(_0x42ed8c._0x3d477a,_0x42ed8c._0xceb970,_0x42ed8c._0x459995,0x1fd)](0x0,0x4)['toString'](_0x2abc55(_0x42ed8c._0x1a4403,0x1e0,_0x42ed8c._0x3cc2c4,_0x42ed8c._0x54d2db))===_0x367e3d(_0x42ed8c._0x5482bc,0x9,-0x25,_0x42ed8c._0x22577d)&&_0xd9fd71[_0x367e3d(_0x42ed8c._0x25e206,_0x42ed8c._0x92aaca,_0x42ed8c._0x5cba72,0x131)](0x8,0xc)['toString']('ascii')===_0x367e3d(_0x42ed8c._0x41412c,0x4b0,_0x42ed8c._0x3fbf55,0x468))return'image/webp';const _0xdff551=_0x2f647a[_0x367e3d(0xde,_0x42ed8c._0x1d575e,-0x2c,_0x42ed8c._0x2e94af)](_0xedb12)[_0x2abc55(0x6e,-_0x42ed8c._0x126b21,-0xad,0x7c)]();if(_0xdff551===_0x2abc55(_0x42ed8c._0x35d970,0x56,_0x42ed8c._0x16d613,_0x42ed8c._0x3677ae))return _0x367e3d(0x2f3,_0x42ed8c._0x5d7389,_0x42ed8c._0x68a5bb,_0x42ed8c._0x50af20);if(_0xdff551==='.jpg'||_0xdff551===_0x367e3d(_0x42ed8c._0x4ee0de,0x174,_0x42ed8c._0x240a13,_0x42ed8c._0x58e0cc))return'image/jpeg';function _0x2abc55(_0x16d71f,_0x3e0f3d,_0x4db5e9,_0x2e58c1){return _0x25cfa5(_0x16d71f-0xca,_0x4db5e9,_0x16d71f-0x126,_0x2e58c1-0x19f);}if(_0xdff551===_0x2abc55(0x1a2,_0x42ed8c._0x14ab3a,0xbf,_0x42ed8c._0x456d2e))return _0x367e3d(_0x42ed8c._0x3a3685,0x2a2,0x248,_0x42ed8c._0x2f0b0b);if(_0xdff551===_0x367e3d(0x33f,_0x42ed8c._0x2d99c2,_0x42ed8c._0x3e8dbe,_0x42ed8c._0x2ab1cc))return'image/webp';return void 0x0;}function normalizeDetail(_0x4c9c78){const _0x1fbcba={_0xbbbe42:0x169,_0x182478:0x17b,_0x3ebfdb:0x260,_0xdab0d3:0x13f,_0x34492a:0x1da,_0x5808ca:0x2ad,_0x2f0620:0xf3,_0x441888:0xba},_0x34a475={_0x363feb:0xee},_0x5075ed={_0x55d538:0x114,_0x4f6fb2:0x5};if(_0x4c9c78===void 0x0)return void 0x0;function _0x2bb4cc(_0x3d374e,_0x5482b4,_0x2a564b,_0x496acf){return _0x5c47d8(_0x5482b4- -0x2e1,_0x5482b4-_0x5075ed._0x55d538,_0x2a564b-_0x5075ed._0x4f6fb2,_0x496acf);}const _0x5dff0c=_0x4c9c78['trim']()[_0x1e1abc(_0x1fbcba._0xbbbe42,0x1c,_0x1fbcba._0x182478,_0x1fbcba._0x3ebfdb)]();if(!SUPPORTED_DETAILS[_0x2bb4cc(0x1fd,_0x1fbcba._0xdab0d3,_0x1fbcba._0x34492a,0x1ee)](_0x5dff0c))throw new ToolExecutionError(_0x1e1abc(0x178,_0x1fbcba._0x5808ca,_0x1fbcba._0x2f0620,_0x1fbcba._0x441888)+_0x4c9c78,{'detail':_0x4c9c78});function _0x1e1abc(_0x252471,_0x24ddfc,_0x3c29e7,_0x5507bc){return _0x5c47d8(_0x252471- -_0x34a475._0x363feb,_0x24ddfc-0x111,_0x3c29e7-0x1e1,_0x24ddfc);}return _0x5dff0c;}function createViewFileTool(_0xa65833={}){const _0x457f12={_0x1a1a7a:0x5f,_0x45dd80:0x11b,_0xa8af78:0x118,_0x3a0a20:0x22a,_0x43017a:0x1ba,_0x33dda3:0xa4,_0x6ece54:0x12d,_0x982f4e:0x2b4,_0x34d865:0x285,_0x385300:0x75,_0x2ea596:0x19b,_0x2607cb:0xed,_0x4a2811:0x26b,_0x2a0b3e:0x1f9,_0x2bb2a1:0x10e,_0x582239:0x2be,_0x2ce064:0x144,_0x56db0c:0x2b8,_0x15003f:0x77,_0x2a99c5:0x305,_0x338a09:0x27,_0xdf618d:0x2fe},_0x229acb={_0x739bcb:0x66,_0xcb731:0x156,_0x7bc4ab:0xbc,_0x4ae3b9:0xcb,_0x4ad5f3:0x329,_0x163948:0x5c0,_0x12866d:0x575,_0x265484:0x543,_0xa7edbd:0x4ad,_0x58eb42:0x476,_0x3f8792:0x81,_0x386d4b:0x150,_0x5591ab:0x5ee,_0x31322c:0x5da,_0x2939d3:0x6a4,_0x5dc4c8:0x11f,_0x29b84f:0x12a,_0x4978e0:0x18e,_0x4cdc54:0x129,_0x5b26f7:0x178,_0x55b4aa:0x217,_0xb5a14d:0x63f,_0x3040fd:0x595,_0x1dc445:0x55e,_0x5b64f8:0x84,_0x1826b3:0x8e,_0x475b61:0x138,_0x55cf3f:0x15e,_0x252ed6:0x2ae,_0x12a263:0x1da,_0x27429b:0x3e,_0x540707:0x78,_0x2c08a1:0x1c2,_0x274534:0x3dc,_0x593680:0x49a,_0x4e4fab:0x1e6,_0x2892b5:0x1fb,_0x38f009:0x2e6,_0x2aa1e9:0x1b6,_0x482135:0x409,_0x2fc889:0xbe,_0x46ec69:0xcc,_0x5d45e6:0xf2,_0x475759:0x29,_0x1582f3:0x12d,_0x2174fa:0x1a9,_0x5b7edf:0x11a,_0x2e3942:0x181,_0x43183d:0x19,_0x342e4c:0x648,_0x3da279:0x5d4,_0x53386f:0x41d,_0x6a82f:0x33c,_0x22687f:0x2cd,_0x392d8f:0x54c,_0x468a86:0x5f0,_0x4844dc:0x14b,_0x2510d7:0x2b1,_0x4dc4ff:0x295,_0x1ef577:0x329,_0x2a1a1e:0x5aa,_0x2ae1ec:0x559,_0x53e026:0x6ce},_0x16b4dd={_0x2d745e:0x71},_0x3c9c81={_0xcb63b:0x120},_0x5919f0={_0x2b92e9:0x212,_0x59e651:0x3a},_0x51a308={_0x157f8c:0x34,_0x34a9d1:0x190,_0x14c123:0x1ab},_0xbb4431=_0x2f647a[_0x272650(0x40,-_0x457f12._0x1a1a7a,_0x457f12._0x45dd80,_0x457f12._0xa8af78)](_0xa65833[_0x4616f8(-0x203,-0x321,-_0x457f12._0x3a0a20,-0x262)]??process[_0x4616f8(-_0x457f12._0x43017a,-0x6e,-_0x457f12._0x33dda3,-_0x457f12._0x6ece54)]()),_0x1bb27f=(_0xa65833[_0x4616f8(-0x385,-0x39a,-0x242,-_0x457f12._0x982f4e)]??[])[_0x272650(_0x457f12._0x34d865,0xda,_0x457f12._0x385300,_0x457f12._0x2ea596)](_0x35a739=>_0x2f647a[_0x4616f8(-0x275,-0x260,-0x175,-0x26d)](_0x35a739));function _0x4616f8(_0x333144,_0x58751e,_0x1f1371,_0x2a5f2a){return _0x25cfa5(_0x333144-_0x51a308._0x157f8c,_0x2a5f2a,_0x1f1371- -_0x51a308._0x34a9d1,_0x2a5f2a-_0x51a308._0x14c123);}const _0x29d8e7=_0xa65833['maxBytes']??DEFAULT_MAX_BYTES,_0xe82b20=_0xa65833['name']??_0x4616f8(-_0x457f12._0x2607cb,-_0x457f12._0x4a2811,-_0x457f12._0x2a0b3e,-_0x457f12._0x2bb2a1);function _0x272650(_0x1b3f2a,_0x1d6508,_0x166aec,_0x3d0dea){return _0x5c47d8(_0x3d0dea- -_0x5919f0._0x2b92e9,_0x1d6508-_0x5919f0._0x59e651,_0x166aec-0x60,_0x1b3f2a);}return defineTool({'name':_0xe82b20,'description':'View\x20an\x20image\x20file\x20from\x20the\x20workspace\x20or\x20allowed\x20directories\x20so\x20the\x20model\x20can\x20inspect\x20its\x20visual\x20content.\x20Supports\x20PNG,\x20JPEG,\x20WebP,\x20and\x20GIF\x20images.\x20Use\x20this\x20for\x20screenshots,\x20diagrams,\x20photos,\x20and\x20other\x20image\x20files;\x20use\x20FileRead\x20for\x20text\x20files.','inputSchema':{'type':_0x272650(_0x457f12._0x582239,0x243,_0x457f12._0x2ce064,_0x457f12._0x56db0c),'properties':{'path':{'type':'string'},'detail':{'type':_0x272650(_0x457f12._0x15003f,_0x457f12._0x2a99c5,_0x457f12._0x338a09,0x19c)}},'required':[_0x272650(0x32f,0x469,0x474,_0x457f12._0xdf618d)]},async *'execute'(_0x12d2a1){function _0x1f615a(_0x24ea7a,_0x4fae7d,_0x373347,_0x32c575){return _0x4616f8(_0x24ea7a-_0x3c9c81._0xcb63b,_0x4fae7d-0xc8,_0x24ea7a- -0xb,_0x4fae7d);}const _0x345bcd=resolveAllowedPath(_0xbb4431,_0x1bb27f,_0x12d2a1[_0x1f615a(_0x229acb._0x739bcb,_0x229acb._0xcb731,-_0x229acb._0x7bc4ab,-_0x229acb._0x4ae3b9)]);await assertWorkspaceFile(_0x345bcd);const _0xf7da78=await _0x343333(_0x345bcd);if(_0xf7da78[_0x3dc2dc(0x2af,0x277,_0x229acb._0x4ad5f3,0x236)]>_0x29d8e7)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x12d2a1[_0x3dc2dc(_0x229acb._0x163948,0x57c,_0x229acb._0x12866d,_0x229acb._0x265484)],{'path':_0x12d2a1[_0x3dc2dc(0x4a5,0x46f,_0x229acb._0x12866d,_0x229acb._0xa7edbd)],'maxBytes':_0x29d8e7,'size':_0xf7da78[_0x3dc2dc(_0x229acb._0x58eb42,0x42a,_0x229acb._0x4ad5f3,0x3b1)]});function _0x3dc2dc(_0x3d5085,_0x3bd85b,_0x50671a,_0x1baeed){return _0x4616f8(_0x3d5085-0x1e9,_0x3bd85b-_0x16b4dd._0x2d745e,_0x50671a-0x504,_0x3bd85b);}const _0xed3999=await _0x153082(_0x345bcd),_0x15fa32=detectImageMediaType(_0xed3999,_0x345bcd);if(!_0x15fa32)throw new ToolExecutionError(_0x1f615a(_0x229acb._0x3f8792,-0xd4,_0x229acb._0x386d4b,0x153)+_0x12d2a1[_0x3dc2dc(_0x229acb._0x5591ab,_0x229acb._0x31322c,0x575,_0x229acb._0x2939d3)],{'path':_0x12d2a1[_0x1f615a(0x66,0x7a,0x185,0x53)],'supported':[_0x1f615a(-_0x229acb._0x5dc4c8,-_0x229acb._0x29b84f,-0x278,-_0x229acb._0x4978e0),'.jpeg','.jpg',_0x1f615a(-_0x229acb._0x4cdc54,-0xb5,-_0x229acb._0x5b26f7,-_0x229acb._0x55b4aa),_0x3dc2dc(_0x229acb._0xb5a14d,_0x229acb._0x3040fd,_0x229acb._0x1dc445,0x4a9)]});const _0x2ef582=normalizeDetail(_0x12d2a1[_0x1f615a(-_0x229acb._0x5b64f8,0x79,-0x12f,_0x229acb._0x1826b3)]),_0x3f591f=[_0x1f615a(-_0x229acb._0x475b61,-0x22c,-_0x229acb._0x55cf3f,-_0x229acb._0x252ed6)+_0x12d2a1[_0x1f615a(0x66,_0x229acb._0x12a263,_0x229acb._0x27429b,_0x229acb._0x540707)],_0x1f615a(-0x81,-0x1df,-_0x229acb._0x2c08a1,-0x164)+_0x15fa32,_0x3dc2dc(0x5ae,_0x229acb._0x274534,_0x229acb._0x593680,0x4fe)+_0xf7da78[_0x1f615a(-_0x229acb._0x4e4fab,-_0x229acb._0x2892b5,-_0x229acb._0x38f009,-_0x229acb._0x2aa1e9)]+_0x3dc2dc(0x340,0x37c,0x457,_0x229acb._0x482135)][_0x1f615a(0x36,-_0x229acb._0x2fc889,0x13d,-_0x229acb._0x46ec69)](_0x2ef582?[_0x1f615a(-_0x229acb._0x5d45e6,-_0x229acb._0x475759,-0x9d,-_0x229acb._0x1582f3)+_0x2ef582]:[])[_0x1f615a(-_0x229acb._0x2174fa,-_0x229acb._0x5b7edf,-0x2f2,-_0x229acb._0x2e3942)]('\x0a'),_0x35cec2=[{'type':'image','source':{'type':_0x1f615a(0x4a,_0x229acb._0x43183d,-0x3c,-0x17),'media_type':_0x15fa32,'data':_0xed3999[_0x1f615a(-0x228,-0x120,-0x146,-0xef)](_0x3dc2dc(0x438,_0x229acb._0x342e4c,0x559,_0x229acb._0x3da279))}},{'type':_0x3dc2dc(0x336,_0x229acb._0x53386f,_0x229acb._0x6a82f,_0x229acb._0x22687f),'text':_0x3f591f}];return yield createToolOutput(_0x3f591f,{'path':_0x12d2a1[_0x1f615a(_0x229acb._0x739bcb,0x48,0x35,-0xc)],'resolvedPath':_0x345bcd,'created':_0xf7da78[_0x3dc2dc(0x618,0x3f1,_0x229acb._0x392d8f,_0x229acb._0x468a86)][_0x3dc2dc(0x2e0,_0x229acb._0x4844dc,_0x229acb._0x2510d7,_0x229acb._0x4dc4ff)](),'modified':_0xf7da78[_0x3dc2dc(0x630,0x5ba,0x58a,0x6cf)]['toISOString'](),'size':_0xf7da78[_0x3dc2dc(0x331,0x39a,_0x229acb._0x1ef577,0x3e9)],'mimeType':_0x15fa32,'encoding':_0x3dc2dc(0x584,_0x229acb._0x2a1a1e,_0x229acb._0x2ae1ec,_0x229acb._0x53e026),..._0x2ef582?{'detail':_0x2ef582}:{}},_0x35cec2),void 0x0;}});}import _0x46627c from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0xff2e2c=>{const _0x259c15={_0x49c0f8:0x5d1},_0x285de5={_0x3e85d0:0x13d,_0x2f48c:0x7};function _0x3dacb(_0x4b090b,_0x1932ec,_0x3f039f,_0x5bff1a){return _0x5c47d8(_0x3f039f-_0x285de5._0x3e85d0,_0x1932ec-0x1f2,_0x3f039f-_0x285de5._0x2f48c,_0x4b090b);}const {lookup:_0x3e9269}=await import(_0x3dacb(_0x259c15._0x49c0f8,0x5f4,0x5b2,0x6ed));return _0x3e9269(_0xff2e2c,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x3b1103){const _0x3789c5={_0x1fd709:0x2c,_0x5e6b9d:0x99,_0x375e69:0x8,_0x3938c3:0x3c2,_0x45d280:0x20a,_0x11325c:0x1be,_0x2db678:0x26c},_0x5633d0={_0x31185e:0x10c,_0x173984:0xb9},_0x1a109d=_0x3b1103[_0x42d4c3(_0x3789c5._0x1fd709,0x7f,-_0x3789c5._0x5e6b9d,-_0x3789c5._0x375e69)]('.');function _0x42d4c3(_0xc9b56,_0x383b36,_0x3388cc,_0x1baaa7){return _0x5c47d8(_0x3388cc- -0x51a,_0x383b36-0x1c6,_0x3388cc-0x144,_0xc9b56);}if(_0x1a109d[_0x578d0c(_0x3789c5._0x3938c3,0x3fd,0x3bb,0x3da)]!==0x4)return null;function _0x578d0c(_0x24e944,_0x5a499e,_0x5a3e02,_0x48aae7){return _0x5c47d8(_0x48aae7- -_0x5633d0._0x31185e,_0x5a499e-_0x5633d0._0x173984,_0x5a3e02-0x1d,_0x5a499e);}let _0x2fc79c=0x0;for(const _0x57366b of _0x1a109d){if(!/^\d{1,3}$/[_0x42d4c3(-_0x3789c5._0x45d280,-_0x3789c5._0x11325c,-_0x3789c5._0x2db678,-0x1e4)](_0x57366b))return null;const _0x1116c3=Number(_0x57366b);if(_0x1116c3>0xff)return null;_0x2fc79c=_0x2fc79c*0x100+_0x1116c3;}return _0x2fc79c>>>0x0;}function isBlockedIpv4(_0xa1e97c){const _0x473fb6={_0x411e84:0x481,_0x328830:0x55c,_0x140d7a:0x4ff,_0x1def7b:0x4b5,_0x24dafc:0xd2,_0x2e8928:0x214,_0x5e0164:0x3c1,_0x132cf9:0x301,_0x4e4554:0x128,_0x32fca1:0x30,_0x21b7cc:0x41c,_0x8f0c7d:0x57e},_0x131272={_0xadb3bd:0x110,_0x5d4ebd:0x1e4},_0x50f72f=ipv4ToInt(_0xa1e97c);function _0x43b8ff(_0x184c00,_0x19b224,_0x2b35db,_0x366d3c){return _0x25cfa5(_0x184c00-0xbf,_0x2b35db,_0x19b224- -0x125,_0x366d3c-0x67);}if(_0x50f72f===null)return!![];const _0x1eae5d=(_0x427b22,_0x24ca3f)=>{const _0x5dcc58=ipv4ToInt(_0x427b22);if(_0x5dcc58===null)return![];const _0x2e08c8=_0x24ca3f===0x0?0x0:0xffffffff<<0x20-_0x24ca3f>>>0x0;return(_0x50f72f&_0x2e08c8)===(_0x5dcc58&_0x2e08c8);};function _0x472eec(_0x5514cb,_0x49590e,_0x1de59e,_0x357f4b){return _0x5c47d8(_0x5514cb-_0x131272._0xadb3bd,_0x49590e-_0x131272._0x5d4ebd,_0x1de59e-0x54,_0x49590e);}return _0x1eae5d('0.0.0.0',0x8)||_0x1eae5d(_0x472eec(_0x473fb6._0x411e84,_0x473fb6._0x328830,0x3ef,0x30d),0x8)||_0x1eae5d(_0x472eec(_0x473fb6._0x140d7a,0x397,0x630,_0x473fb6._0x1def7b),0xa)||_0x1eae5d(_0x43b8ff(-_0x473fb6._0x24dafc,-0x123,-_0x473fb6._0x2e8928,-0x17),0x8)||_0x1eae5d(_0x472eec(_0x473fb6._0x5e0164,_0x473fb6._0x132cf9,0x519,0x2a3),0x10)||_0x1eae5d(_0x43b8ff(-0xb5,-0x1dc,-0xc9,-_0x473fb6._0x4e4554),0xc)||_0x1eae5d('192.0.0.0',0x18)||_0x1eae5d('192.168.0.0',0x10)||_0x1eae5d(_0x43b8ff(-0x1a2,-_0x473fb6._0x32fca1,-0xd5,-0x135),0xf)||_0x1eae5d('224.0.0.0',0x4)||_0x1eae5d(_0x472eec(0x46a,_0x473fb6._0x21b7cc,_0x473fb6._0x8f0c7d,0x4d4),0x4);}function expandIpv6(_0x457966){const _0xc03cf3={_0x3ee799:0x114,_0x92202d:0x2c1,_0x1ce9d8:0x250,_0x4b5eb0:0x299,_0x52f812:0xb5,_0x2b86dc:0x45,_0x598cd2:0xaa,_0x24fc34:0x1cd,_0x3200b9:0x65,_0x3dd836:0x96,_0x9fd4a9:0x3d,_0x337f3f:0xcc,_0x1ae341:0x40},_0x300822={_0x5771b3:0x13,_0x232aa7:0x107,_0x468a22:0x4e},_0x462d98={_0x282cee:0x12d,_0x378340:0xec};let _0x4a7e5b=_0x457966,_0x59f35d;const _0x3fc36b=_0x4a7e5b[_0x531a87(-0x25,-0x11c,0x89,_0xc03cf3._0x3ee799)](':');_0x4a7e5b['slice'](_0x3fc36b+0x1)['includes']('.')&&(_0x59f35d=_0x4a7e5b[_0x531a87(-0x1da,-_0xc03cf3._0x92202d,-0x250,-0x1eb)](_0x3fc36b+0x1),_0x4a7e5b=_0x4a7e5b[_0x531a87(-0x1da,-_0xc03cf3._0x1ce9d8,-_0xc03cf3._0x4b5eb0,-_0xc03cf3._0x52f812)](0x0,_0x3fc36b+0x1));const _0xf88c81=_0x4a7e5b[_0x531a87(_0xc03cf3._0x2b86dc,-0x3c,0xe2,-0x17)]('::');if(_0xf88c81[_0x531a87(_0xc03cf3._0x598cd2,-_0xc03cf3._0x2b86dc,_0xc03cf3._0x24fc34,-_0xc03cf3._0x3200b9)]>0x2)return null;const _0x1b5e39=_0xa73937=>_0xa73937[_0x1ebccc(0x5e0,0x46e,0x57f,0x4be)](':')[_0x1ebccc(0x3d9,0x421,0x34c,0x482)](_0x3d793e=>_0x3d793e['length']>0x0)['map'](_0x297f82=>Number[_0x1ebccc(0x251,0x292,0x335,0x31c)](_0x297f82,0x10));function _0x531a87(_0x15f9a6,_0x13d13d,_0x50fa77,_0x2117c1){return _0x25cfa5(_0x15f9a6-0x2f,_0x2117c1,_0x15f9a6- -_0x462d98._0x282cee,_0x2117c1-_0x462d98._0x378340);}const _0x3948b7=_0xf88c81[0x0]?_0x1b5e39(_0xf88c81[0x0]):[],_0x980ac3=_0xf88c81[_0x531a87(0xaa,-_0xc03cf3._0x3dd836,-_0xc03cf3._0x9fd4a9,0x88)]===0x2&&_0xf88c81[0x1]?_0x1b5e39(_0xf88c81[0x1]):[],_0x3fe782=[];if(_0x59f35d){const _0x330ef0=ipv4ToInt(_0x59f35d);if(_0x330ef0===null)return null;_0x3fe782[_0x1ebccc(0x3be,0x2da,0x1a2,0x355)](_0x330ef0>>>0x10&0xffff,_0x330ef0&0xffff);}const _0x4353e4=[..._0x980ac3,..._0x3fe782],_0x43ff4f=0x8-_0x3948b7['length']-_0x4353e4['length'];if(_0xf88c81['length']===0x1)return _0x3948b7[_0x531a87(_0xc03cf3._0x598cd2,0x9d,0x1be,-0x46)]+_0x4353e4['length']===0x8?[..._0x3948b7,..._0x4353e4]:null;function _0x1ebccc(_0xf02851,_0x3e2260,_0x67037c,_0x24e022){return _0x5c47d8(_0x3e2260- -_0x300822._0x5771b3,_0x3e2260-_0x300822._0x232aa7,_0x67037c-_0x300822._0x468a22,_0xf02851);}if(_0x43ff4f<0x0)return null;return[..._0x3948b7,...new Array(_0x43ff4f)[_0x531a87(_0xc03cf3._0x337f3f,-_0xc03cf3._0x3200b9,_0xc03cf3._0x1ae341,0xd7)](0x0),..._0x4353e4];}function isBlockedIpv6(_0x418aac){const _0x51992={_0x36ba64:0x362,_0x38b72b:0x34a,_0x5d93c6:0x3ff,_0x339be:0x25a,_0x4bff53:0x149,_0x5276db:0x42b,_0x522427:0x1ef,_0x4f9a3c:0x43b,_0x4a1b35:0x370},_0x187d54={_0x2c2257:0xc,_0x3e232b:0x186},_0x3dde53={_0x8b12d8:0x111,_0x52bae2:0x115},_0x59775a=expandIpv6(_0x418aac);if(!_0x59775a||_0x59775a['some'](_0x128c8d=>Number[_0x470cc0(0x321,0x385,0x4af,0x432)](_0x128c8d)))return!![];const _0x149357=_0x59775a[_0x470cc0(0x4a5,0x1f8,0x27b,_0x51992._0x36ba64)](0x0,0x7)[_0x470cc0(0x2da,_0x51992._0x38b72b,0x479,_0x51992._0x5d93c6)](_0x8d0677=>_0x8d0677===0x0);if(_0x149357&&(_0x59775a[0x7]===0x0||_0x59775a[0x7]===0x1))return!![];function _0x470cc0(_0x3f9964,_0x27d012,_0x37fbe1,_0x78c9){return _0x5c47d8(_0x78c9-0x100,_0x27d012-_0x3dde53._0x8b12d8,_0x37fbe1-_0x3dde53._0x52bae2,_0x37fbe1);}if(_0x59775a[_0x15b79e(0x2b6,_0x51992._0x339be,0x256,_0x51992._0x4bff53)](0x0,0x5)[_0x470cc0(_0x51992._0x5276db,0x397,0x2ff,0x3ff)](_0x30b299=>_0x30b299===0x0)&&(_0x59775a[0x5]===0xffff||_0x59775a[0x5]===0x0)){const _0x3daf79=(_0x59775a[0x6]<<0x10|_0x59775a[0x7])>>>0x0,_0x3f3377=[_0x3daf79>>>0x18&0xff,_0x3daf79>>>0x10&0xff,_0x3daf79>>>0x8&0xff,_0x3daf79&0xff][_0x15b79e(_0x51992._0x522427,_0x51992._0x4f9a3c,0x2f5,_0x51992._0x4a1b35)]('.');return isBlockedIpv4(_0x3f3377);}function _0x15b79e(_0x5165c9,_0x2988d1,_0x1a1a39,_0x5b37d1){return _0x5c47d8(_0x1a1a39- -_0x187d54._0x2c2257,_0x2988d1-0x116,_0x1a1a39-_0x187d54._0x3e232b,_0x5b37d1);}const _0x27198=_0x59775a[0x0];if((_0x27198&0xff00)===0xfc00||(_0x27198&0xfe00)===0xfc00)return!![];if((_0x27198&0xffc0)===0xfe80)return!![];if((_0x27198&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x401c1b){const _0x49c7f8=isIP(_0x401c1b);if(_0x49c7f8===0x4)return isBlockedIpv4(_0x401c1b);if(_0x49c7f8===0x6)return isBlockedIpv6(_0x401c1b);return!![];}async function assertPublicUrl(_0x349a87,_0xbbfcc6={}){const _0x59f431={_0x2c05b8:0x2a3,_0x2a3829:0x4c,_0x240a3b:0x4c,_0x5e3f68:0x96,_0x178033:0x16d,_0x463a35:0x83,_0x5a25a0:0x430,_0x599043:0x4a8,_0x3d05c2:0x51d,_0x1f0b93:0x3d3,_0x563daa:0x17f,_0x298629:0x109,_0x591140:0xf9,_0x3476ad:0x26a,_0x29ca59:0x16d,_0x101394:0xf0,_0x204a27:0xef,_0x544397:0x532,_0x4fedf5:0x4c7,_0x2ee474:0x3ac,_0x5d1a86:0x3e4,_0x4fd636:0x2c8,_0x2229ce:0x497,_0x1fdacb:0x1d1,_0x342ff4:0x83,_0x5ccd89:0x190,_0x541747:0xc,_0x2efa3b:0x38,_0x60fc21:0x5bd,_0x14447f:0x536,_0x2aa825:0x4f3,_0x3c5cfb:0x5fb,_0x4766c9:0xc0,_0x489197:0x73b,_0x3ceeb4:0x62c,_0x2d7234:0x650,_0x225bc0:0x693},_0x7b7ac={_0x140019:0x3f,_0x4a7e9b:0x61},_0x4b650f={_0x9c7c07:0x115,_0x502b3a:0x8c};function _0x258649(_0x5a83cf,_0x5271f9,_0x275d2b,_0x1dab5a){return _0x5c47d8(_0x5271f9-_0x4b650f._0x9c7c07,_0x5271f9-_0x4b650f._0x502b3a,_0x275d2b-0x3e,_0x1dab5a);}let _0x2d1456;try{_0x2d1456=new URL(_0x349a87);}catch{throw new ToolExecutionError(_0xe82dca(0x20e,_0x59f431._0x2c05b8,0xf6,0x1a2),{'url':_0x349a87});}if(_0x2d1456['protocol']!==_0xe82dca(0x1d1,-_0x59f431._0x2a3829,-_0x59f431._0x240a3b,_0x59f431._0x5e3f68)&&_0x2d1456[_0xe82dca(-0xa8,_0x59f431._0x178033,-0xec,_0x59f431._0x463a35)]!==_0x258649(_0x59f431._0x5a25a0,_0x59f431._0x599043,_0x59f431._0x3d05c2,_0x59f431._0x1f0b93))throw new ToolExecutionError(_0xe82dca(0x1ad,_0x59f431._0x563daa,0x1a5,_0x59f431._0x298629),{'url':_0x349a87});if(_0x2d1456[_0xe82dca(-0x67,0x271,-0x63,_0x59f431._0x591140)]||_0x2d1456[_0xe82dca(0x241,_0x59f431._0x3476ad,0x13d,_0x59f431._0x29ca59)])throw new ToolExecutionError(_0xe82dca(_0x59f431._0x101394,_0x59f431._0x204a27,-0xb0,0x60),{'url':_0x2d1456['protocol']+'//'+_0x2d1456[_0x258649(_0x59f431._0x544397,0x40e,_0x59f431._0x4fedf5,0x506)]+_0x2d1456[_0x258649(0x417,0x3a6,0x429,_0x59f431._0x2ee474)]});const _0x2c3ee9=_0x2d1456[_0x258649(0x3d4,0x37c,_0x59f431._0x5d1a86,_0x59f431._0x4fd636)][_0x258649(_0x59f431._0x2229ce,0x5ef,0x489,0x759)](/^\[|\]$/g,''),_0x5f3ac4=_0x2d1456[_0xe82dca(0x109,0x28,_0x59f431._0x1fdacb,_0x59f431._0x342ff4)]+'//'+_0x2d1456['host']+_0x2d1456['pathname'];if(isIP(_0x2c3ee9)){if(isBlockedAddress(_0x2c3ee9))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x5f3ac4});return _0x2d1456;}const _0x2b4455=_0xbbfcc6[_0xe82dca(-_0x59f431._0x5ccd89,-0x73,-_0x59f431._0x541747,-_0x59f431._0x2efa3b)]??defaultLookup;let _0x3d5206;try{_0x3d5206=await _0x2b4455(_0x2c3ee9);}catch{throw new ToolExecutionError(_0x258649(_0x59f431._0x60fc21,_0x59f431._0x14447f,0x64c,_0x59f431._0x2aa825),{'url':_0x5f3ac4});}if(_0x3d5206[_0x258649(0x5be,_0x59f431._0x3c5cfb,0x56d,0x6cd)]===0x0)throw new ToolExecutionError(_0xe82dca(-0x7e,-_0x59f431._0x4766c9,0x154,0xb1),{'url':_0x5f3ac4});for(const {address:_0x52b6f6}of _0x3d5206){if(isBlockedAddress(_0x52b6f6))throw new ToolExecutionError(_0x258649(_0x59f431._0x489197,_0x59f431._0x3ceeb4,_0x59f431._0x2d7234,_0x59f431._0x225bc0),{'url':_0x5f3ac4});}function _0xe82dca(_0x11daf5,_0x51dda7,_0x179a7b,_0x2137fe){return _0x25cfa5(_0x11daf5-_0x7b7ac._0x140019,_0x179a7b,_0x2137fe- -_0x7b7ac._0x4a7e9b,_0x2137fe-0x27);}return _0x2d1456;}async function safeFetch(_0x44a7ac,_0xc5779c={},_0x156fd0={}){const _0x49e6e1={_0x463b74:0x4e7,_0x47b3dc:0x3ae,_0x2a4a4c:0x521,_0x4942ec:0x47f,_0x329939:0x448,_0x1f6ca4:0x3ec,_0x5b5123:0x4c2,_0x2660be:0x61c,_0x576fc8:0x728,_0x46da07:0x5a5,_0x32579e:0x499,_0x12e924:0x2ed,_0x12cfc2:0x3d2,_0x85a80f:0x477,_0x265aeb:0x426,_0x54ce1f:0x584,_0x6e55:0x475,_0x1a33e6:0x633,_0x23c621:0x392,_0x4effc8:0x43f,_0x1ddf4e:0x5e6,_0x4c2a72:0x527,_0x48c392:0x734,_0x4ea40e:0x390,_0x475699:0x409,_0x4046ef:0x4fc},_0x4c61c1={_0x2fcd98:0x10e,_0x4bd5df:0x132,_0x32604e:0x1bc},_0xbc3eb8={_0x71cee6:0x1e5};function _0x45f8cf(_0x50a979,_0x52c277,_0x5198cc,_0x4cf427){return _0x25cfa5(_0x50a979-0x1b2,_0x5198cc,_0x50a979-0x4bb,_0x4cf427-_0xbc3eb8._0x71cee6);}const _0x123ad8=_0x156fd0[_0x45f8cf(_0x49e6e1._0x463b74,_0x49e6e1._0x47b3dc,_0x49e6e1._0x2a4a4c,0x61f)]??fetch,_0xf8aaa9=_0x156fd0[_0x2d5ebb(0x58f,0x429,_0x49e6e1._0x4942ec,_0x49e6e1._0x329939)]??DEFAULT_MAX_REDIRECTS;let _0x4a0d73=_0x44a7ac;function _0x2d5ebb(_0x24f001,_0x30b3a1,_0x2e1e2f,_0x1e058a){return _0x5c47d8(_0x30b3a1-_0x4c61c1._0x2fcd98,_0x30b3a1-_0x4c61c1._0x4bd5df,_0x2e1e2f-_0x4c61c1._0x32604e,_0x1e058a);}for(let _0x2b9cf0=0x0;;_0x2b9cf0+=0x1){const _0x403dce=await assertPublicUrl(_0x4a0d73,_0x156fd0),_0x5236e0=await _0x123ad8(_0x403dce[_0x2d5ebb(_0x49e6e1._0x1f6ca4,0x390,_0x49e6e1._0x5b5123,0x428)](),{..._0xc5779c,'redirect':_0x2d5ebb(0x62b,_0x49e6e1._0x2660be,_0x49e6e1._0x576fc8,_0x49e6e1._0x46da07)}),_0x184d58=_0x5236e0[_0x45f8cf(0x45f,_0x49e6e1._0x32579e,0x35e,_0x49e6e1._0x12e924)][_0x2d5ebb(_0x49e6e1._0x12cfc2,_0x49e6e1._0x85a80f,_0x49e6e1._0x265aeb,0x369)](_0x45f8cf(_0x49e6e1._0x54ce1f,_0x49e6e1._0x6e55,0x431,0x4e9));if(!REDIRECT_STATUSES[_0x45f8cf(0x5cc,0x55a,0x665,_0x49e6e1._0x1a33e6)](_0x5236e0[_0x2d5ebb(0x287,_0x49e6e1._0x23c621,0x299,_0x49e6e1._0x4effc8)])||!_0x184d58)return _0x5236e0;if(_0x2b9cf0>=_0xf8aaa9)throw new ToolExecutionError(_0x45f8cf(_0x49e6e1._0x1ddf4e,0x6fe,_0x49e6e1._0x4c2a72,_0x49e6e1._0x48c392),{'url':_0x403dce[_0x2d5ebb(0x396,_0x49e6e1._0x4ea40e,_0x49e6e1._0x475699,_0x49e6e1._0x4046ef)]()});_0x4a0d73=new URL(_0x184d58,_0x403dce)['toString']();}}var USER_AGENT='Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36\x20NuvinBot/1.0',DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x589e47,_0x43c537){const _0x46eaa9={_0x541325:0x557,_0x2a1ba0:0x579,_0x2154b9:0x621,_0x7e1fac:0x4fc,_0x3c3c39:0x4a6,_0x5eff4b:0x5ec,_0x5f42af:0x43f,_0x2d9029:0x4d4,_0x389477:0x248},_0x48c997={_0x25fb78:0x215,_0x2c59f0:0x17f,_0x7894d:0xd1,_0x2930e6:0xc7,_0x2d04ee:0x12,_0x42c30e:0x211,_0x1a912:0x21a},_0x171fbf={_0x253293:0x8a},_0x378034={_0xc24b38:0xa6,_0x2a222c:0x56},_0x3be2b1={_0x177026:0x57,_0x2844ca:0x3a2};function _0x3a8516(_0xec4b2b,_0x2832e6,_0x1f03d8,_0x1936f1){return _0x25cfa5(_0xec4b2b-_0x3be2b1._0x177026,_0x2832e6,_0xec4b2b-_0x3be2b1._0x2844ca,_0x1936f1-0x1e9);}function _0x253522(_0x544468,_0x4a94f2,_0x4be2ca,_0x5b7a68){return _0x25cfa5(_0x544468-_0x378034._0xc24b38,_0x544468,_0x5b7a68- -_0x378034._0x2a222c,_0x5b7a68-0xab);}const _0x137a51=new AbortController(),_0x3d11f4=setTimeout(()=>_0x137a51[_0x3a8516(0x4bb,0x5ce,0x4e0,0x60c)](new Error(_0x253522(-0x7,0x191,0x18a,0x164))),_0x43c537),_0x3be12a=()=>_0x137a51[_0x253522(0x202,0x33,-0x35,0xc3)](_0x589e47['reason']);return _0x589e47[_0x3a8516(_0x46eaa9._0x541325,_0x46eaa9._0x2a1ba0,0x644,0x5ed)]?_0x137a51[_0x3a8516(0x4bb,0x626,_0x46eaa9._0x2154b9,_0x46eaa9._0x7e1fac)](_0x589e47[_0x3a8516(_0x46eaa9._0x3c3c39,_0x46eaa9._0x5eff4b,0x346,0x43b)]):_0x589e47['addEventListener'](_0x3a8516(0x4bb,_0x46eaa9._0x5f42af,_0x46eaa9._0x2d9029,0x385),_0x3be12a,{'once':!![]}),{'signal':_0x137a51[_0x253522(-_0x46eaa9._0x389477,-0x3a,-0x36,-0x104)],'cleanup':()=>{const _0x133798={_0x56e24c:0x1e9,_0x1f137e:0x18a};clearTimeout(_0x3d11f4);function _0x2416eb(_0x4e2797,_0x35d2aa,_0x223e5d,_0x3e5283){return _0x253522(_0x223e5d,_0x35d2aa-0xc9,_0x223e5d-_0x171fbf._0x253293,_0x35d2aa-0x1ca);}function _0xbf6949(_0x1e2138,_0x5bacfe,_0x613370,_0x226659){return _0x253522(_0x613370,_0x5bacfe-0x15,_0x613370-_0x133798._0x56e24c,_0x1e2138- -_0x133798._0x1f137e);}_0x589e47[_0xbf6949(-_0x48c997._0x25fb78,-_0x48c997._0x2c59f0,-_0x48c997._0x7894d,-0xcd)](_0xbf6949(-_0x48c997._0x2930e6,-_0x48c997._0x2d04ee,-_0x48c997._0x42c30e,-_0x48c997._0x1a912),_0x3be12a);}};}function createWebFetchTool(_0x921d8e={}){const _0x41d02f={_0x252e12:0x5a5,_0x29c43f:0x6b1,_0x1c6aeb:0x5c9,_0x10b21e:0x597,_0x1ac4a8:0x726,_0x11135a:0x5cf,_0x5ae19c:0x751,_0x319181:0x6f5,_0x9f5500:0x531,_0x316030:0x5d6,_0x2feeac:0x56e,_0x45feab:0x27b,_0xf6ebc8:0x52e,_0x1f3c11:0x4ba,_0x13cff2:0x4ce,_0x473412:0x4e8,_0x588238:0x696,_0x5093e8:0x621,_0x402498:0x504,_0x2d7b30:0x66f,_0x2b8532:0x476,_0x35f29f:0x539,_0x14774b:0x5d7,_0x1aafbe:0x62f,_0x39740c:0x5cb,_0x3b07da:0x45a,_0x2a8944:0x62c,_0x3d226a:0x78a,_0x23966d:0x509,_0x44a4a4:0x6be,_0x5a13c4:0x5ee,_0x40f0db:0x5cf},_0x964a85={_0x17a88e:0x430,_0x38a57d:0x17e,_0x46f957:0x10d,_0xc2b02e:0x22e,_0x12d2d0:0x1cf,_0x5c3ca5:0x87,_0x2e426e:0x19a,_0x284743:0x229,_0x2ef00b:0x192,_0x4227e5:0x1f2,_0x683ff7:0x2d7,_0xf58c6d:0x273,_0x5d6abb:0x245,_0x2eb872:0x2b4,_0x39c783:0x3a2,_0x252dca:0x2c1,_0x50821f:0x2db,_0x29c0ed:0x39c,_0x276d4c:0x2ba,_0x2e0e38:0x4ee,_0x2c9065:0x249,_0x58e0bc:0x2f9,_0x44e93b:0x320,_0x22ccf0:0x523,_0x294ec1:0xc5,_0x394dac:0x213,_0x99668e:0x1c3,_0x58609f:0x1ef,_0x37dfd9:0x260,_0x3c9d16:0x280,_0x3d30ac:0x1dd,_0x4ac7e9:0x23c,_0x1afca8:0x210,_0x13450c:0x41f},_0x4b14e2={_0x1c67b5:0x19f},_0x1cc9d1={_0x28f8a4:0x27e,_0x59a7e4:0xe5},_0x5c4e5b={_0x264ee1:0x41c,_0x3e899e:0xdd},_0x1fef21=_0x921d8e[_0x25edb7(0x797,0x74b,0x6c7,0x6ee)]??_0x25edb7(0x6eb,0x5d5,_0x41d02f._0x252e12,_0x41d02f._0x29c43f);function _0x43fc71(_0x4b9ed6,_0x6d2e24,_0x5e4ff3,_0xba8222){return _0x25cfa5(_0x4b9ed6-0x15e,_0x4b9ed6,_0xba8222-_0x5c4e5b._0x264ee1,_0xba8222-_0x5c4e5b._0x3e899e);}const _0x3b516a=_0x921d8e['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x33c8a4=_0x921d8e['lookup'],_0xe0db3e=new _0x46627c({'headingStyle':_0x25edb7(_0x41d02f._0x1c6aeb,_0x41d02f._0x10b21e,_0x41d02f._0x1ac4a8,_0x41d02f._0x11135a),'codeBlockStyle':'fenced','bulletListMarker':'-'});_0xe0db3e['remove']([_0x25edb7(_0x41d02f._0x5ae19c,_0x41d02f._0x319181,0x6de,0x683),_0x43fc71(0x51e,_0x41d02f._0x9f5500,_0x41d02f._0x316030,_0x41d02f._0x2feeac),_0x43fc71(_0x41d02f._0x45feab,_0x41d02f._0xf6ebc8,0x453,0x3da),'iframe',_0x43fc71(_0x41d02f._0x1f3c11,_0x41d02f._0x13cff2,0x57b,_0x41d02f._0x473412),_0x25edb7(0x4ec,0x4c5,0x3eb,0x4cb),_0x25edb7(0x5aa,0x576,0x64b,0x619),_0x25edb7(_0x41d02f._0x588238,0x75f,_0x41d02f._0x5093e8,0x54e)]);function _0x25edb7(_0x558611,_0x2d3684,_0x25e9ea,_0x27dc4a){return _0x5c47d8(_0x558611-_0x1cc9d1._0x28f8a4,_0x2d3684-_0x1cc9d1._0x59a7e4,_0x25e9ea-0x43,_0x25e9ea);}return defineTool({'name':_0x1fef21,'description':_0x43fc71(_0x41d02f._0x402498,_0x41d02f._0x2d7b30,0x631,0x634),'inputSchema':{'type':_0x43fc71(0x5fb,_0x41d02f._0x2b8532,_0x41d02f._0x35f29f,_0x41d02f._0x14774b),'properties':{'description':{'type':_0x43fc71(_0x41d02f._0x1aafbe,_0x41d02f._0x39740c,_0x41d02f._0x3b07da,0x4bb)},'url':{'type':_0x25edb7(_0x41d02f._0x2a8944,_0x41d02f._0x3d226a,_0x41d02f._0x23966d,_0x41d02f._0x44a4a4)}},'required':[_0x43fc71(_0x41d02f._0x5a13c4,0x4e6,0x649,_0x41d02f._0x40f0db)]},async *'execute'(_0x3bdf79,_0x20007e){const _0x18b212={_0x3c37a2:0x345};function _0xb8a26f(_0x211f37,_0x1f8d28,_0x12ccd7,_0x47d9f1){return _0x43fc71(_0x47d9f1,_0x1f8d28-0xeb,_0x12ccd7-0x192,_0x12ccd7- -_0x4b14e2._0x1c67b5);}function _0x3b2d3e(_0x1303b6,_0x5aa934,_0x424a2d,_0x1c0d42){return _0x25edb7(_0x5aa934- -_0x18b212._0x3c37a2,_0x5aa934-0x83,_0x1303b6,_0x1c0d42-0x78);}const _0x3b285d=(await assertPublicUrl(_0x3bdf79[_0xb8a26f(_0x964a85._0x17a88e,0x377,0x430,0x535)],{'lookup':_0x33c8a4}))[_0xb8a26f(0x237,0x176,0x1f0,_0x964a85._0x38a57d)]();if(_0x20007e[_0xb8a26f(_0x964a85._0x46f957,0x2db,0x1cf,0x2f7)]['aborted'])throw new ToolExecutionError(_0xb8a26f(0x4cc,0x44b,0x42a,0x55c),{'url':_0x3b285d});const _0xab32fd=createTimeoutSignal(_0x20007e[_0xb8a26f(0x166,_0x964a85._0xc2b02e,_0x964a85._0x12d2d0,_0x964a85._0x5c3ca5)],_0x3b516a);let _0x5ed8ab='',_0x43eb9f=0x0,_0x339f41;try{const _0x54ed80=await safeFetch(_0x3b285d,{'headers':{'User-Agent':USER_AGENT},'signal':_0xab32fd[_0x3b2d3e(0x10e,_0x964a85._0x2e426e,_0x964a85._0x284743,0x1e2)]},{'lookup':_0x33c8a4});if(!_0x54ed80['ok'])throw new ToolExecutionError('HTTP\x20'+_0x54ed80['status']+'\x20'+_0x54ed80[_0x3b2d3e(0x3f8,0x38f,0x261,0x307)],{'url':_0x3b285d,'statusCode':_0x54ed80[_0xb8a26f(_0x964a85._0x2ef00b,0x1a2,_0x964a85._0x4227e5,0x171)]});_0x5ed8ab=_0x54ed80['headers'][_0xb8a26f(0x3d0,0x32c,_0x964a85._0x683ff7,0x29f)]('content-type')??'',_0x43eb9f=_0x54ed80['status'],_0x339f41=await _0x54ed80[_0xb8a26f(0x30e,_0x964a85._0xf58c6d,_0x964a85._0x5d6abb,_0x964a85._0x2eb872)]();}catch(_0x549997){if(_0x549997 instanceof ToolExecutionError)throw _0x549997;const _0xe95970=_0x549997 instanceof Error?_0x549997[_0x3b2d3e(_0x964a85._0x39c783,_0x964a85._0x252dca,_0x964a85._0x50821f,_0x964a85._0x29c0ed)]:String(_0x549997);throw new ToolExecutionError(_0xe95970,{'url':_0x3b285d});}finally{_0xab32fd['cleanup']();}const _0xda6049=new Date()['toISOString']();let _0x2bc5aa,_0x7a51c0;if(_0x5ed8ab[_0xb8a26f(0xa9,_0x964a85._0x276d4c,0x1b9,0x1e4)](_0xb8a26f(_0x964a85._0x2e0e38,_0x964a85._0x2c9065,0x38c,_0x964a85._0x58e0bc)))_0x2bc5aa=_0x3b2d3e(_0x964a85._0x44e93b,0x3ab,0x485,0x427)+_0x339f41+'\x0a```',_0x7a51c0=_0xb8a26f(0x34f,_0x964a85._0x22ccf0,0x474,0x49c);else _0x5ed8ab[_0x3b2d3e(0x164,0x184,0x50,_0x964a85._0x294ec1)](_0x3b2d3e(0x2b9,0x33c,0x2c8,0x3ac))?(_0x2bc5aa=_0xe0db3e[_0xb8a26f(_0x964a85._0x394dac,_0x964a85._0x99668e,_0x964a85._0x58609f,_0x964a85._0x37dfd9)](_0x339f41),_0x7a51c0=_0x3b2d3e(_0x964a85._0x3c9d16,0x312,_0x964a85._0x3d30ac,0x1a5)):(_0x2bc5aa=_0x339f41,_0x7a51c0=_0x3b2d3e(_0x964a85._0x4ac7e9,_0x964a85._0x1afca8,0xdc,0x239));return yield createToolOutput(_0x2bc5aa,{'url':_0x3b285d,'contentType':_0x5ed8ab,'statusCode':_0x43eb9f,'format':_0x7a51c0,'size':_0x339f41[_0x3b2d3e(0x579,_0x964a85._0x13450c,0x342,0x2cd)],'fetchedAt':_0xda6049}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x25cfa5(0x7c,0x1df,0x16b,0x1f8);function normalizeUrl(_0x1571b2){const _0x34b3a6={_0x42a9ea:0x4e2,_0xe3d240:0x8f,_0x3c1c31:0x305,_0x3e19e7:0x281,_0x25688c:0x3df,_0xa9de8a:0x54,_0x32544f:0x35,_0x5cf821:0x13c,_0xbc99ce:0x347,_0x38f522:0x111,_0x26fea8:0x1d3,_0x396263:0x107,_0x84de85:0x1cf,_0x4c3dfc:0x22a},_0x292e54={_0x550778:0x451,_0xdf6521:0xd4,_0x35c2f9:0x1a8},_0x478a41={_0x227220:0x339,_0x105ac2:0x135};function _0x4cde34(_0x5c5fef,_0x417ada,_0x39c319,_0x4ece49){return _0x25cfa5(_0x5c5fef-0x25,_0x5c5fef,_0x4ece49-_0x478a41._0x227220,_0x4ece49-_0x478a41._0x105ac2);}function _0xbd0a30(_0x50901a,_0x21f4f7,_0x43e7a3,_0x399c9d){return _0x5c47d8(_0x43e7a3- -_0x292e54._0x550778,_0x21f4f7-_0x292e54._0xdf6521,_0x43e7a3-_0x292e54._0x35c2f9,_0x50901a);}try{const _0x4cd0ff=new URL(_0x1571b2);for(const _0x58728a of['utm_source',_0x4cde34(_0x34b3a6._0x42a9ea,0x464,0x629,0x4c5),'utm_campaign','utm_term',_0xbd0a30(-_0x34b3a6._0xe3d240,-0x5f,-0x16,-0x98),_0x4cde34(_0x34b3a6._0x3c1c31,_0x34b3a6._0x3e19e7,_0x34b3a6._0x25688c,0x3da),_0xbd0a30(_0x34b3a6._0xa9de8a,-_0x34b3a6._0x32544f,0x3d,-_0x34b3a6._0x5cf821),'mc_cid','mc_eid']){_0x4cd0ff[_0x4cde34(0x329,0x27f,0x270,_0x34b3a6._0xbc99ce)][_0xbd0a30(0xa8,0xd4,-0x37,_0x34b3a6._0x38f522)](_0x58728a);}return _0x4cd0ff[_0xbd0a30(-_0x34b3a6._0x26fea8,-_0x34b3a6._0x396263,-_0x34b3a6._0x84de85,-_0x34b3a6._0x4c3dfc)]();}catch{return _0x1571b2;}}function cseDateRestrict(_0x550291){const _0x34979c={_0x7e492c:0x6c,_0xec995:0x70,_0x53ed69:0xb8,_0x44028f:0x258,_0x525aa7:0x1ce,_0x30fae0:0x28e,_0x1c8591:0xc5},_0x3b7ff9={_0x3acf48:0xd5,_0x1d7c71:0x2a},_0x2a3649={_0x36cf9b:0x69};if(_0x550291<=0x0)return void 0x0;function _0x10fd79(_0x554599,_0x3077b6,_0x2dc916,_0x3f1759){return _0x25cfa5(_0x554599-0x134,_0x3f1759,_0x2dc916-0x2ed,_0x3f1759-_0x2a3649._0x36cf9b);}if(_0x550291<=0x1e)return'd'+Math[_0x5daa1b(_0x34979c._0x7e492c,_0x34979c._0xec995,0x1b,-_0x34979c._0x53ed69)](0x1,Math[_0x5daa1b(0x128,0x2f5,_0x34979c._0x44028f,_0x34979c._0x525aa7)](_0x550291));if(_0x550291<=0x16d)return'm'+Math[_0x5daa1b(0x20c,_0x34979c._0x30fae0,0x19b,_0x34979c._0x1c8591)](_0x550291/0x1e);function _0x5daa1b(_0x49b56e,_0x37d283,_0x20987c,_0x5ba5c2){return _0x5c47d8(_0x20987c- -0x26d,_0x37d283-_0x3b7ff9._0x3acf48,_0x20987c-_0x3b7ff9._0x1d7c71,_0x49b56e);}return'y'+Math['ceil'](_0x550291/0x16d);}function addSiteFilters(_0x4bd6a7,_0x3a9ac7){const _0x2a202f={_0x3e8e99:0x2b0,_0x297bb7:0xb8,_0x21e3e3:0x186,_0x396891:0x31e,_0x5dcbb3:0x2c0,_0x16ac91:0x353,_0x302044:0x288,_0x2bc769:0x12,_0x252709:0xf3,_0x3e821c:0x29e,_0x4fa829:0x112,_0x23c328:0x18b},_0x3cbb98={_0x461d87:0x13},_0x45f34b={_0x209d65:0x51};function _0x2d9075(_0x2ca5d1,_0x821099,_0x2707ef,_0x2aefb7){return _0x25cfa5(_0x2ca5d1-0xc9,_0x2707ef,_0x2aefb7- -_0x45f34b._0x209d65,_0x2aefb7-0x14e);}if(_0x3a9ac7[_0x2d9075(_0x2a202f._0x3e8e99,_0x2a202f._0x297bb7,0x1bc,_0x2a202f._0x21e3e3)]===0x0)return _0x4bd6a7[_0x2f6397(_0x2a202f._0x396891,_0x2a202f._0x5dcbb3,_0x2a202f._0x16ac91,_0x2a202f._0x302044)]();function _0x2f6397(_0x5db56f,_0x308c4c,_0x334d1d,_0xaf038f){return _0x5c47d8(_0xaf038f- -0x1b7,_0x308c4c-0x188,_0x334d1d-_0x3cbb98._0x461d87,_0x308c4c);}return(_0x4bd6a7+'\x20('+_0x3a9ac7[_0x2d9075(0x3f,-0x120,-_0x2a202f._0x2bc769,0x4d)](_0x4c3d10=>_0x2d9075(0xc,-0x101,-0x157,-0x91)+_0x4c3d10)[_0x2f6397(_0x2a202f._0x252709,0x251,_0x2a202f._0x3e821c,0x14a)](_0x2d9075(0x87,0x101,-_0x2a202f._0x4fa829,-0x16))+')')[_0x2f6397(_0x2a202f._0x23c328,0x1f4,0x2ba,_0x2a202f._0x302044)]();}function normalizeType(_0x1bf1c2){const _0x57455f={_0x1817c1:0x6ab,_0x263f50:0x610,_0xdb986a:0x5f4,_0x2f20bc:0x796},_0x4530a1={_0x2a2bc4:0x4a},_0x4d0e05={_0x10f44e:0x10b};function _0x53ec0f(_0x3c8402,_0xd2d87,_0x1a29df,_0x5bc793){return _0x25cfa5(_0x3c8402-0x65,_0xd2d87,_0x3c8402-0x569,_0x5bc793-_0x4d0e05._0x10f44e);}function _0x3ff8bf(_0x345151,_0x2c026f,_0x77d420,_0x38ecc2){return _0x5c47d8(_0x345151-0x2a2,_0x2c026f-_0x4530a1._0x2a2bc4,_0x77d420-0x3e,_0x77d420);}return _0x1bf1c2===_0x3ff8bf(_0x57455f._0x1817c1,_0x57455f._0x263f50,_0x57455f._0xdb986a,_0x57455f._0x2f20bc)?_0x53ec0f(0x663,0x630,0x79b,0x67e):_0x53ec0f(0x62c,0x6a3,0x623,0x6d3);}async function fetchJson(_0x207760,_0x5e29a6,_0x594cb9){const _0x108931={_0x40e75d:0x1e0,_0x2a9c3b:0x34e,_0x2fd6fe:0x6f,_0x274ea3:0x189,_0x489d57:0x11b,_0x339f03:0x37f,_0x12675a:0x286,_0x446317:0x1ef,_0x5e5026:0x1da,_0x8c2842:0x65,_0x5db35e:0x398,_0xcf63a4:0x197,_0x28bbe6:0x2b8,_0x3367c6:0x171,_0x366a6c:0x265,_0x46fb58:0x1d9,_0x3553f1:0x48,_0x25c732:0x13d,_0x5d2160:0x19b,_0x55a888:0x144,_0x1ef502:0x49,_0x109550:0x27e,_0x390cbf:0x40,_0x1e7233:0x12,_0x3dbb57:0x222,_0x270404:0xc7,_0x27340e:0x1b9,_0x5c1680:0x24f,_0x51bce1:0x375},_0x4b398b={_0x2ceb95:0xb0},_0x381384={_0x58a0da:0x244,_0x114523:0x1b3},_0x2a55b6=await fetch(_0x207760,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x2aba5e(0x3b7,0x49a,_0x108931._0x40e75d,_0x108931._0x2a9c3b),..._0x594cb9?.[_0x3de4c3(_0x108931._0x2fd6fe,-0x8f,_0x108931._0x274ea3,-0x3b)]},'signal':_0x5e29a6,..._0x594cb9});function _0x3de4c3(_0x48642b,_0x2731dc,_0x5cfe35,_0x51c966){return _0x5c47d8(_0x48642b- -_0x381384._0x58a0da,_0x2731dc-_0x381384._0x114523,_0x5cfe35-0x15b,_0x5cfe35);}if(!_0x2a55b6['ok']){let _0x36c8da,_0x492db9;try{_0x36c8da=await _0x2a55b6[_0x2aba5e(0x108,0x126,0x337,0x207)]();const _0x11c80e=JSON[_0x2aba5e(_0x108931._0x489d57,0x103,0x1c9,0x209)](_0x36c8da),_0x7b5a0d=typeof _0x11c80e[_0x2aba5e(0x472,0x2a3,_0x108931._0x339f03,0x356)]===_0x3de4c3(_0x108931._0x12675a,0x221,0x1d9,0x37d)?_0x11c80e[_0x3de4c3(0x1e2,_0x108931._0x446317,0x2a6,_0x108931._0x5e5026)][_0x3de4c3(_0x108931._0x8c2842,-0xe1,0x47,0x1be)]:void 0x0;_0x492db9=_0x11c80e['error']?.[_0x2aba5e(_0x108931._0x5db35e,0x1b0,_0x108931._0xcf63a4,_0x108931._0x28bbe6)]??_0x11c80e[_0x2aba5e(0x324,_0x108931._0x3367c6,_0x108931._0x366a6c,_0x108931._0x46fb58)]?.[_0x3de4c3(0x51,_0x108931._0x3553f1,_0x108931._0x25c732,_0x108931._0x5d2160)]?.[0x0]?.[_0x3de4c3(_0x108931._0x55a888,-0x1e,_0x108931._0x1ef502,0xcc)]??_0x7b5a0d;}catch{}const _0x228f48=_0x492db9?_0x3de4c3(0x164,0x210,0x1c0,_0x108931._0x109550)+_0x2a55b6[_0x3de4c3(_0x108931._0x390cbf,-_0x108931._0x1e7233,0xfc,0x176)]+':\x20'+_0x492db9:'HTTP\x20'+_0x2a55b6['status']+'\x20'+_0x2a55b6[_0x3de4c3(0x212,_0x108931._0x3dbb57,0x147,_0x108931._0x270404)];throw new ToolExecutionError(_0x228f48,{'statusCode':_0x2a55b6[_0x2aba5e(0x249,_0x108931._0x27340e,0x1b2,0x1b4)],..._0x36c8da?{'body':_0x36c8da}:{}});}function _0x2aba5e(_0x2d9675,_0x33fc72,_0x3bbb36,_0x13d262){return _0x5c47d8(_0x13d262- -0xd0,_0x33fc72-0xad,_0x3bbb36-_0x4b398b._0x2ceb95,_0x33fc72);}return await _0x2a55b6[_0x3de4c3(0x2c2,0x278,_0x108931._0x5c1680,_0x108931._0x51bce1)]();}async function hydrateResults(_0x35a0fa,_0xf6902f,_0x4ffab3,_0x206374){const _0x4aecd9={_0x4708b3:0xe4,_0x1d5634:0x6,_0x3e06b4:0xeb,_0x3f9d95:0x1cc,_0xf6587a:0xce,_0x5835e8:0x19d,_0xb03089:0x317,_0x2171e1:0xb2,_0x12dac2:0x1f8},_0x37be8b={_0x795be2:0x12e},_0x5ee20e={_0x445875:0x135,_0x38f549:0x21c,_0x34092b:0x301,_0x352d4b:0xba,_0xdabd5c:0x74,_0x457fea:0x15f,_0x452899:0x1b7,_0x8e96ce:0x10f,_0x44b2e6:0x255,_0x3be34b:0x208,_0x508b15:0x2d6,_0x2891d4:0x150,_0x30d7e3:0xb4,_0x3cd132:0x44,_0x2f268c:0xc5,_0x33abb0:0xa7,_0x790998:0xc2,_0x144e67:0x85,_0x244838:0xbe,_0x138db4:0x20b,_0x40bb18:0x2a4,_0x245350:0x1ac,_0x165cbb:0x1e4,_0x17490a:0x1c0,_0x30e0f9:0x194,_0x4580b7:0x1fb,_0x4c6afe:0x15e,_0x50471c:0x5c,_0x38eada:0x103,_0x51fc7e:0x133,_0x3132cd:0x141,_0x49d408:0x2d0,_0x501b9e:0xde,_0x46aa48:0x1e9,_0x27cb1f:0xd,_0xe0f593:0x92,_0x1515f9:0x180,_0x542c52:0x91,_0x21f109:0x123,_0x63ceb5:0x104,_0x4de910:0x110,_0xfab5ff:0x293,_0x3b421e:0x271,_0x394517:0x4b,_0x4d720e:0x19c,_0x1b0ba3:0x31},_0x27db17=await Promise['all'](_0x35a0fa['slice'](0x0,0xa)[_0x26b9fe(_0x4aecd9._0x4708b3,0x109,-0x7b,_0x4aecd9._0x1d5634)](async _0x3faf61=>{const _0x21cc9c={_0x331211:0x140,_0x2bd373:0x135};function _0x6787d6(_0x316189,_0x28c3c1,_0x4b7c4c,_0x1a4676){return _0x26b9fe(_0x1a4676- -0x22a,_0x4b7c4c,_0x4b7c4c-_0x21cc9c._0x331211,_0x1a4676-_0x21cc9c._0x2bd373);}function _0x594131(_0x2af8d9,_0x2a77fd,_0x24b16d,_0x3854f1){return _0x26b9fe(_0x3854f1- -0x1a5,_0x2af8d9,_0x24b16d-0xa4,_0x3854f1-0x105);}try{const _0x180b7b=await safeFetch(_0x3faf61[_0x594131(0x10b,_0x5ee20e._0x445875,0x104,0x54)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0xf6902f,'Accept':_0x6787d6(-0xa4,-0x19c,-0x69,-0xf0)},'signal':_0x4ffab3},{'lookup':_0x206374});if(!_0x180b7b['ok'])return _0x3faf61;const _0x4fb9ac=await _0x180b7b[_0x6787d6(-0x1e8,-0x289,-0x209,-_0x5ee20e._0x38f549)](),_0x5117e7=load(_0x4fb9ac),_0x1ddbbb=_0x5117e7(_0x6787d6(-_0x5ee20e._0x34092b,-_0x5ee20e._0x352d4b,-0x1b6,-0x1de))['attr']('content')||_0x5117e7(_0x594131(-0x15b,0x8,-_0x5ee20e._0xdabd5c,-_0x5ee20e._0x457fea))[_0x6787d6(-0x268,-_0x5ee20e._0x452899,-_0x5ee20e._0x8e96ce,-_0x5ee20e._0x44b2e6)]()[_0x6787d6(-_0x5ee20e._0x3be34b,-0x313,-_0x5ee20e._0x508b15,-0x21c)]()[_0x6787d6(-0x9f,-0xa9,-_0x5ee20e._0x2891d4,-_0x5ee20e._0x30d7e3)](),_0x113f63=_0x5117e7(_0x594131(-_0x5ee20e._0x3cd132,-_0x5ee20e._0x2f268c,-_0x5ee20e._0x33abb0,-0x10c))['attr']('content')||_0x5117e7(_0x6787d6(_0x5ee20e._0x790998,-_0x5ee20e._0x144e67,-0xe2,-_0x5ee20e._0x33abb0))[_0x6787d6(-_0x5ee20e._0x244838,-_0x5ee20e._0x138db4,-_0x5ee20e._0x40bb18,-0x1fb)](_0x6787d6(-_0x5ee20e._0x245350,-0x15f,-0x219,-0x1e3))||_0x3faf61['snippet'],_0x455039=_0x5117e7(_0x594131(-_0x5ee20e._0x165cbb,-0x125,-_0x5ee20e._0x17490a,-0x1c1))[_0x6787d6(-_0x5ee20e._0x30e0f9,-0x281,-0x9d,-_0x5ee20e._0x4580b7)](_0x594131(-0x2b8,-0x66,-0x33,-_0x5ee20e._0x4c6afe))||_0x5117e7(_0x594131(0xe5,_0x5ee20e._0x50471c,-_0x5ee20e._0x38eada,0x67))[_0x594131(-0xde,-0x11a,-0x61,-0x176)](_0x6787d6(-0x283,-_0x5ee20e._0x51fc7e,-_0x5ee20e._0x3132cd,-0x28a))||_0x3faf61[_0x6787d6(-0x12a,-_0x5ee20e._0x49d408,-0x1a9,-0x236)],_0x4a88e2=_0x5117e7(_0x6787d6(0x20,0x13b,-_0x5ee20e._0x501b9e,0x35))[_0x594131(-_0x5ee20e._0x46aa48,-0x1fd,-0xb0,-0x176)](_0x594131(_0x5ee20e._0x27cb1f,-_0x5ee20e._0xe0f593,-0xa,0xbb));return{..._0x3faf61,'title':_0x1ddbbb||_0x3faf61[_0x6787d6(-_0x5ee20e._0x1515f9,-_0x5ee20e._0x542c52,-0x1a2,-_0x5ee20e._0x165cbb)],'snippet':_0x113f63,'url':_0x4a88e2?normalizeUrl(new URL(_0x4a88e2,_0x3faf61[_0x594131(-_0x5ee20e._0x21f109,_0x5ee20e._0x63ceb5,0x173,0x54)])[_0x6787d6(-0x2c3,-_0x5ee20e._0x4de910,-_0x5ee20e._0xfab5ff,-_0x5ee20e._0x3b421e)]()):_0x3faf61[_0x6787d6(-0x17d,_0x5ee20e._0x394517,-_0x5ee20e._0x4d720e,-_0x5ee20e._0x1b0ba3)],'publishedAt':_0x455039};}catch{return _0x3faf61;}})),_0x361ad1=new Map(_0x35a0fa[_0x1fcdc5(0x81,_0x4aecd9._0x3e06b4,0x1a3,0x19)](0x0,0xa)[_0x1fcdc5(_0x4aecd9._0x3f9d95,_0x4aecd9._0xf6587a,_0x4aecd9._0x5835e8,_0x4aecd9._0xb03089)]((_0x430e3c,_0x14312f)=>[_0x430e3c[_0x1fcdc5(0x2e1,0x359,0x31c,0x427)],_0x27db17[_0x14312f]]));function _0x26b9fe(_0x514afa,_0x22a70a,_0x31354a,_0x441cc4){return _0x25cfa5(_0x514afa-0x1a1,_0x22a70a,_0x514afa-0x46,_0x441cc4-0xe2);}function _0x1fcdc5(_0x15a49f,_0x3274d,_0x982919,_0x2dc23d){return _0x25cfa5(_0x15a49f-0x102,_0x2dc23d,_0x15a49f-_0x37be8b._0x795be2,_0x2dc23d-0xea);}return _0x35a0fa[_0x26b9fe(0xe4,_0x4aecd9._0x2171e1,0x15e,_0x4aecd9._0x12dac2)](_0x53aa32=>_0x361ad1[_0x26b9fe(0xa0,-0x8,-0x26,0x1ca)](_0x53aa32[_0x1fcdc5(0x2e1,0x192,0x457,0x180)])??_0x53aa32);}function formatResults(_0x4eb6e8){const _0x46bbef={_0x4a4b5a:0xa4,_0x407f0b:0x2f,_0x1f010c:0x1cb,_0x1e056d:0x113,_0x278f9d:0x16e},_0x497da4={_0x55f60a:0x156,_0x2c7928:0xca,_0x3280c3:0x1cd,_0x30c2ae:0x3dc,_0x2c094c:0x23a,_0x7f0406:0x133,_0x370f02:0xcc,_0xb82aaa:0x4a4},_0x973175={_0x52f3d0:0x9,_0x499671:0x160,_0x130307:0x6d},_0x1d5415={_0x3141a7:0x171};if(_0x4eb6e8['length']===0x0)return _0x4edab1(_0x46bbef._0x4a4b5a,-0x9c,0xb8,0x31);function _0x3427c7(_0x3730bd,_0x45c03f,_0x45e1d4,_0x3ebc3){return _0x5c47d8(_0x3ebc3- -0x4be,_0x45c03f-_0x1d5415._0x3141a7,_0x45e1d4-0xf8,_0x3730bd);}function _0x4edab1(_0x239960,_0x4545ca,_0x32a9c0,_0x57cd9b){return _0x25cfa5(_0x239960-_0x973175._0x52f3d0,_0x239960,_0x57cd9b- -_0x973175._0x499671,_0x57cd9b-_0x973175._0x130307);}return _0x4eb6e8[_0x4edab1(_0x46bbef._0x407f0b,0x96,-0x198,-0xc2)](_0x3d5d5c=>{const _0x3d1279={_0x5a1bbd:0x15f,_0x5757dd:0x105},_0x5d6ee6={_0x1cf8cb:0x49b};function _0x196b6e(_0x1eb785,_0x44a418,_0x2123f6,_0x21c32b){return _0x3427c7(_0x2123f6,_0x44a418-0x5a,_0x2123f6-0x1c3,_0x44a418-_0x5d6ee6._0x1cf8cb);}const _0x22f0d7=[_0x3d5d5c['source']['rank']+'.\x20'+_0x3d5d5c[_0x32135a(-0xcf,-0xaa,-_0x497da4._0x55f60a,0x70)],_0x3d5d5c['url']];if(_0x3d5d5c[_0x32135a(0x173,_0x497da4._0x2c7928,0x54,_0x497da4._0x3280c3)])_0x22f0d7[_0x196b6e(0x20c,0x2ca,_0x497da4._0x30c2ae,0x37d)](_0x3d5d5c[_0x32135a(_0x497da4._0x2c094c,_0x497da4._0x2c7928,_0x497da4._0x7f0406,0x46)]);function _0x32135a(_0x1d5e50,_0x160de0,_0x4e162a,_0x45643a){return _0x3427c7(_0x45643a,_0x160de0-_0x3d1279._0x5a1bbd,_0x4e162a-0x51,_0x160de0-_0x3d1279._0x5757dd);}if(_0x3d5d5c['publishedAt'])_0x22f0d7[_0x32135a(-0x1ff,-_0x497da4._0x370f02,-0x151,-0xe4)](_0x196b6e(0x3f2,0x4e2,0x5cc,_0x497da4._0xb82aaa)+_0x3d5d5c['publishedAt']);return _0x22f0d7[_0x196b6e(0x3bd,0x2de,0x34e,0x2a1)]('\x0a');})[_0x4edab1(-0x1ac,-_0x46bbef._0x1f010c,-_0x46bbef._0x1e056d,-_0x46bbef._0x278f9d)]('\x0a\x0a');}async function searchOllama(_0x59c0df,_0x142baa,_0x111d6d){const _0x416e85={_0x4e21ac:0x1a1,_0x2a034d:0x71,_0x3af717:0x19c,_0x4f0203:0xf9,_0x141a26:0xb3,_0x116233:0x26,_0x28a6cf:0x148,_0x1e869a:0xfb,_0x349afe:0x5d,_0x40358b:0x2e8,_0x4b2653:0x2d0,_0x55efe1:0x117,_0x7e8162:0x3b,_0x9469de:0x5e,_0x511c16:0x1bf,_0x34e233:0x20d,_0x2ff934:0x1a2,_0x116ccf:0xfa,_0x47d08b:0x353,_0x2908d8:0x1ee,_0x54539d:0x2de,_0x4a8e42:0xe7,_0x1a34f9:0x19b,_0x5cee62:0x37},_0x5dcb93={_0x11b3f1:0x7cf,_0x361b6e:0x5a8,_0x3a0a35:0x508,_0x36cc2c:0x29b,_0x24e406:0x3ce,_0x109a41:0x687,_0x3d81bb:0x5bf,_0x5af56e:0x7e4,_0x28cc2a:0x784,_0x3af9bb:0x8cd},_0x4af55e={_0x329adb:0x3fd,_0x244307:0x145},_0x5eb99c={_0x2728a3:0x1a8,_0x22f1d5:0xca,_0x625eb2:0xfd},_0x7e08ef=Math[_0x279027(-0xde,-0x2d5,-_0x416e85._0x4e21ac,-0x175)](0x1,Math['min'](0xa,_0x142baa[_0x379f4e(-_0x416e85._0x2a034d,_0x416e85._0x3af717,_0x416e85._0x4f0203,_0x416e85._0x141a26)])),_0x5b3b9e=addSiteFilters(_0x142baa[_0x279027(-0x210,-0x157,-_0x416e85._0x116233,-0x98)],_0x142baa['domains']),_0x505b34=await fetchJson(_0x379f4e(_0x416e85._0x28a6cf,0x1e6,_0x416e85._0x1e869a,-_0x416e85._0x349afe),_0x111d6d,{'method':_0x379f4e(_0x416e85._0x40358b,0x318,0x226,_0x416e85._0x4b2653),'headers':{'Authorization':_0x279027(-_0x416e85._0x55efe1,-_0x416e85._0x7e8162,-0x1d5,-_0x416e85._0x9469de)+_0x59c0df[_0x279027(-0x1fe,-_0x416e85._0x511c16,-_0x416e85._0x34e233,-_0x416e85._0x2ff934)]},'body':JSON['stringify']({'query':_0x5b3b9e,'max_results':_0x7e08ef})});function _0x379f4e(_0x50eec4,_0x41b66a,_0x2ec48f,_0x3c54df){return _0x5c47d8(_0x2ec48f- -_0x5eb99c._0x2728a3,_0x41b66a-_0x5eb99c._0x22f1d5,_0x2ec48f-_0x5eb99c._0x625eb2,_0x3c54df);}function _0x279027(_0x5bc337,_0x1cd755,_0x2d319d,_0x450b24){return _0x5c47d8(_0x450b24- -_0x4af55e._0x329adb,_0x1cd755-0x159,_0x2d319d-_0x4af55e._0x244307,_0x1cd755);}const _0x495a2a=_0x505b34['results']??[],_0x5c702d=_0x495a2a[_0x379f4e(_0x416e85._0x116ccf,0x196,0x205,_0x416e85._0x47d08b)]((_0x29a46b,_0x431849)=>{const _0x20cbef={_0x5e49da:0x6,_0x29663a:0xa4,_0xe0f26:0x6ac},_0x52f96d={_0xacc8:0x10,_0xf3d2c4:0x4bc},_0x57e432=_0x29a46b[_0x3297de(0x771,0x772,0x891,_0x5dcb93._0x11b3f1)]||'';let _0x3e4d6e;function _0x537dad(_0x4a3633,_0x28e235,_0x339ebd,_0x20f11c){return _0x279027(_0x4a3633-0xbf,_0x20f11c,_0x339ebd-_0x52f96d._0xacc8,_0x339ebd-_0x52f96d._0xf3d2c4);}try{_0x3e4d6e=new URL(_0x57e432)[_0x3297de(_0x5dcb93._0x361b6e,0x587,_0x5dcb93._0x3a0a35,_0x5dcb93._0x361b6e)];}catch{_0x3e4d6e=null;}function _0x3297de(_0x1878d0,_0x5c5844,_0x41b16a,_0x1fd40f){return _0x279027(_0x1878d0-_0x20cbef._0x5e49da,_0x5c5844,_0x41b16a-_0x20cbef._0x29663a,_0x1878d0-_0x20cbef._0xe0f26);}return{'title':_0x29a46b[_0x537dad(_0x5dcb93._0x36cc2c,0x329,_0x5dcb93._0x24e406,0x3e0)]||_0x3297de(0x7a7,_0x5dcb93._0x109a41,0x7e0,0x7d4),'url':normalizeUrl(_0x57e432),'snippet':_0x29a46b[_0x3297de(_0x5dcb93._0x3d81bb,0x6f0,0x464,0x593)]??null,'displayUrl':_0x3e4d6e,'favicon':null,'publishedAt':null,'source':{'engine':_0x3297de(_0x5dcb93._0x5af56e,0x89c,_0x5dcb93._0x28cc2a,_0x5dcb93._0x3af9bb),'rank':_0x431849+0x1}};});return{'items':_0x5c702d[_0x279027(-_0x416e85._0x2908d8,-_0x416e85._0x54539d,-_0x416e85._0x4a8e42,-_0x416e85._0x1a34f9)](0x0,_0x7e08ef),'engine':_0x279027(-0x22,0x14b,-_0x416e85._0x5cee62,0x138)};}async function searchTavily(_0x3a77f7,_0x25d236,_0x386830){const _0x232b89={_0x1832bb:0x216,_0x1c996e:0xc1,_0x3de4eb:0x1,_0x294b53:0xa9,_0x8e954e:0x2,_0x552e82:0xda,_0x486a4a:0x131,_0x203cad:0x12a,_0x4c6fbe:0x22,_0x5392e4:0x230,_0x770ddd:0x3d,_0x309ba1:0x5c,_0x54f028:0x216,_0x208760:0x2d3,_0x588150:0x16f,_0x51286c:0x1d1,_0x299ba4:0x49,_0x24c7fc:0x31f,_0x18a1e6:0x441,_0x3fcbd5:0x1a7,_0x4c23fa:0x21d,_0x35e739:0x28,_0x5574ae:0x15,_0x295125:0x465,_0x44d74b:0x206,_0x1548b4:0x13a,_0x513ef3:0x37a,_0x1840ae:0x22e,_0x2111e6:0x31d,_0xf168af:0xe6,_0x163ab9:0x148,_0x2445d4:0x8,_0x3fa7b0:0x9b,_0x429405:0x1ce},_0x332fe0={_0x19f9c9:0x131,_0xb1f10c:0x1bd,_0xbde229:0xec,_0x57559b:0x2ca,_0x9b445e:0x242,_0xce910c:0x1db,_0x189fe3:0x5a,_0x4cf2b3:0x19e,_0x3315f7:0x269,_0x1fdc46:0x1a4},_0xcc2ba9={_0x4a816d:0x1c},_0x3ea937={_0x4961:0x6f,_0x5a399d:0x3d};function _0x4bfeb0(_0x5b26a6,_0x3f0273,_0x475936,_0x1955e7){return _0x25cfa5(_0x5b26a6-0xbb,_0x3f0273,_0x1955e7-0xaa,_0x1955e7-0xb1);}const _0x8cc4ca=Math[_0x4ccb3a(_0x232b89._0x1832bb,_0x232b89._0x1c996e,_0x232b89._0x3de4eb,0x1fc)](0x1,Math[_0x4bfeb0(_0x232b89._0x294b53,0x34,0x1d7,0xc3)](0x14,_0x25d236[_0x4ccb3a(_0x232b89._0x8e954e,_0x232b89._0x552e82,0x5e,_0x232b89._0x486a4a)])),_0x445609={'query':_0x25d236[_0x4bfeb0(_0x232b89._0x203cad,_0x232b89._0x4c6fbe,0x1ce,0x100)],'max_results':_0x8cc4ca,'search_depth':_0x3a77f7[_0x4bfeb0(0x1b4,0x3f3,_0x232b89._0x5392e4,0x2ba)]??_0x4bfeb0(0x61,-_0x232b89._0x770ddd,-_0x232b89._0x309ba1,-_0x232b89._0x3de4eb),'topic':_0x3a77f7[_0x4ccb3a(0x1fa,_0x232b89._0x54f028,_0x232b89._0x208760,_0x232b89._0x588150)]??_0x4bfeb0(0xf2,0x127,0xc8,0x15f)};if(_0x25d236[_0x4ccb3a(_0x232b89._0x51286c,0x89,-_0x232b89._0x299ba4,0x13a)][_0x4ccb3a(0x383,_0x232b89._0x24c7fc,0x3f7,_0x232b89._0x18a1e6)]>0x0)_0x445609[_0x4bfeb0(0x35c,_0x232b89._0x3fcbd5,_0x232b89._0x4c23fa,0x2a4)]=_0x25d236[_0x4bfeb0(-0x169,_0x232b89._0x35e739,0xbb,-_0x232b89._0x5574ae)];function _0x4ccb3a(_0x4667cd,_0x193567,_0x18a5c2,_0x40adef){return _0x5c47d8(_0x193567- -0x1c7,_0x193567-_0x3ea937._0x4961,_0x18a5c2-_0x3ea937._0x5a399d,_0x18a5c2);}const _0x5969b2=await fetchJson(_0x4ccb3a(0x2cd,0x348,_0x232b89._0x295125,_0x232b89._0x44d74b),_0x386830,{'method':'POST','headers':{'Authorization':_0x4bfeb0(0x28d,0xdf,0xd2,_0x232b89._0x1548b4)+_0x3a77f7[_0x4ccb3a(_0x232b89._0x513ef3,_0x232b89._0x1840ae,0xf1,_0x232b89._0x2111e6)],'Content-Type':_0x4ccb3a(0x30c,0x257,0x2a6,0x1dd)},'body':JSON['stringify'](_0x445609)}),_0x427694=_0x5969b2['results']??[],_0x307e78=_0x427694[_0x4bfeb0(0x151,_0x232b89._0xf168af,0x18d,_0x232b89._0x163ab9)]((_0x1631e3,_0x4bfe85)=>{const _0x5badb2={_0x1f090b:0x4c,_0xc921dd:0x110};function _0x3e9bfd(_0x2cda43,_0x19c4c6,_0x4cfc83,_0x570067){return _0x4ccb3a(_0x2cda43-_0xcc2ba9._0x4a816d,_0x4cfc83- -0x23d,_0x2cda43,_0x570067-0xd5);}const _0x468aa6=_0x1631e3['url']||'';let _0x456bad;function _0x3c659d(_0xc3bac8,_0x367aff,_0x37a5cc,_0x391d83){return _0x4ccb3a(_0xc3bac8-0xad,_0x391d83- -_0x5badb2._0x1f090b,_0x367aff,_0x391d83-_0x5badb2._0xc921dd);}try{_0x456bad=new URL(_0x468aa6)[_0x3c659d(_0x332fe0._0x19f9c9,-0x69,_0x332fe0._0xb1f10c,0xe6)];}catch{_0x456bad=null;}return{'title':_0x1631e3[_0x3c659d(0x129,_0x332fe0._0xbde229,0x6b,0xfc)]||_0x3c659d(0x373,_0x332fe0._0x57559b,_0x332fe0._0x9b445e,0x2e5),'url':normalizeUrl(_0x468aa6),'snippet':_0x1631e3[_0x3e9bfd(0x76,-_0x332fe0._0xce910c,-0xf4,-_0x332fe0._0x189fe3)]??null,'displayUrl':_0x456bad,'favicon':null,'publishedAt':null,'source':{'engine':_0x3c659d(_0x332fe0._0x4cf2b3,_0x332fe0._0x3315f7,_0x332fe0._0x1fdc46,0xf0),'rank':_0x4bfe85+0x1}};});return{'items':_0x307e78[_0x4ccb3a(_0x232b89._0x2445d4,_0x232b89._0x3fa7b0,0x110,_0x232b89._0x429405)](0x0,_0x8cc4ca),'engine':'tavily'};}async function searchGoogleCse(_0x5938be,_0x2672ec,_0x1371e9){const _0x4c10f9={_0x31efe9:0x471,_0x420dc7:0x48f,_0x2c104e:0x1b,_0x15a188:0x71,_0x54ce05:0x7c,_0x302f83:0x722,_0x322b48:0x52d,_0x2aeea0:0x3de,_0x15bc02:0x46f,_0x75db03:0x5ae,_0x3d3e00:0x72,_0x43a43f:0x1bd,_0x3614b8:0x9,_0x126672:0x67,_0x57d058:0x5e7,_0x475375:0x4c8,_0x27a7d2:0x19e,_0x15046d:0x642,_0x4010e:0x510,_0x467813:0x3b8,_0x2d818e:0xcc,_0x56c124:0xfb,_0x4cfdff:0xb7,_0x2436f9:0xc9,_0x3fc1eb:0xb3,_0x92431e:0x99,_0x191eb4:0x22c,_0x1d5dc3:0xe7,_0x48a6c7:0x584,_0x2379ae:0x4ca,_0x2556f0:0xf7,_0x20d4cd:0x108,_0x591ccc:0x29b,_0x362c78:0x14b,_0xfeeec2:0x22f,_0x7bd401:0x3e6,_0x26f27d:0x4f1,_0x2160ec:0x398,_0x1e3573:0x524,_0x42b457:0x562,_0x30371f:0x568,_0x259223:0x152,_0xc5c5a8:0x88,_0x3b4e9e:0x83,_0x25eca5:0xb5,_0x4f5ed8:0x56c,_0x1490c2:0x626,_0x3c6482:0x6ff,_0x1cde31:0x63e,_0x20e78f:0x73,_0x5172d6:0xa3,_0x3f28f8:0x22e,_0x3a0a56:0xfc,_0x1d4443:0x9a,_0x40fb72:0x11e,_0x15a98c:0x431,_0x40e56b:0x217,_0x486a11:0x172,_0x2c966b:0x23c,_0x4f81a6:0x782,_0xd06a9e:0x6ce,_0x3c68ed:0x7c8,_0x2a1329:0x126,_0x371037:0x165,_0x386265:0x203,_0xdfab38:0x497,_0x5a83ec:0x568,_0x55109a:0x529,_0x119acd:0x524,_0xe19640:0x5fd,_0xdd2c7a:0x180,_0x1e719e:0x1a5,_0x1a3aa7:0xe7,_0x4c6996:0x4ce,_0x4947f8:0x5e9,_0x243707:0x1df,_0x2cbbeb:0x6e,_0x4b5f25:0x67b,_0x4f2267:0x4c0,_0x56c2ca:0x5ff,_0x390f71:0x16,_0x1bd79b:0x65,_0x480d43:0x3,_0x368476:0x128,_0xd1849e:0x310,_0xd24cf6:0x1d7,_0x1381c3:0x109,_0x3d38d4:0x26c,_0x26961c:0x5fe,_0x1df3a3:0x6ed,_0x384e8f:0x62f,_0x2d3ed6:0x4df,_0x502931:0x4ef,_0x5aad2e:0x44b,_0xcd9474:0x1c7,_0x54bd0f:0x1e4,_0x5be162:0x59,_0x57899b:0x5cc,_0x138fad:0x3f7,_0x2002e9:0x516,_0x584b6b:0x7b2,_0x17f534:0x5bd,_0x88925d:0x6ff,_0x1427b3:0x75d,_0x3cb9c2:0x6cb,_0xaa267b:0x68a,_0x3aa39c:0x727,_0x598a18:0x811,_0x16dcfc:0x73f,_0x3d7c59:0x799,_0x3dd165:0x666,_0x3d0d26:0x250,_0x38f17d:0xe6,_0x1b7cce:0x426,_0x593203:0x500,_0x3e5229:0x5a,_0x2843aa:0xc,_0x276184:0x73,_0x1b79f2:0x760,_0x5c3208:0x6e2,_0x4b7f8d:0x6e7,_0x5b8118:0x7ac,_0x1b7067:0x76c,_0x327d23:0x690,_0x201365:0x842,_0x1e35f0:0x156,_0x21a095:0x167},_0x4064dc={_0x101877:0x179},_0x4d620a={_0x55c476:0x1a,_0x76114f:0x197},_0x3e3959=Math[_0x2235a1(_0x4c10f9._0x31efe9,0x3b1,_0x4c10f9._0x420dc7,0x3ce)](0x1,Math[_0xb72ba7(0x63,-_0x4c10f9._0x2c104e,_0x4c10f9._0x15a188,0xae)](0x32,_0x2672ec[_0xb72ba7(_0x4c10f9._0x54ce05,0x1a0,0x128,0x27)]));function _0x2235a1(_0x2d1a3d,_0x454cdf,_0x57f1c0,_0x5455dd){return _0x5c47d8(_0x57f1c0-0x207,_0x454cdf-_0x4d620a._0x55c476,_0x57f1c0-_0x4d620a._0x76114f,_0x5455dd);}if(_0x2672ec[_0x2235a1(_0x4c10f9._0x302f83,0x472,0x5e7,0x6f5)]+_0x3e3959>0x64)throw new ToolExecutionError(_0x2235a1(_0x4c10f9._0x322b48,_0x4c10f9._0x2aeea0,_0x4c10f9._0x15bc02,_0x4c10f9._0x75db03),{'offset':_0x2672ec['offset'],'count':_0x3e3959,'maxResults':0x64});const _0xe2f35a=cseDateRestrict(_0x2672ec['recencyDays']),_0x4bb5b4=addSiteFilters(_0x2672ec[_0xb72ba7(-0x61,_0x4c10f9._0x3d3e00,_0x4c10f9._0x43a43f,0xeb)],_0x2672ec[_0xb72ba7(_0x4c10f9._0x3614b8,_0x4c10f9._0x126672,-0x176,-0x2a)]);let _0x74e7ab=0x0,_0x128318=_0x2672ec[_0x2235a1(0x6f9,0x511,_0x4c10f9._0x57d058,_0x4c10f9._0x475375)]+0x1;const _0x5826fc=[];function _0xb72ba7(_0x376138,_0x3cb645,_0x508765,_0x5ebeb9){return _0x25cfa5(_0x376138-_0x4064dc._0x101877,_0x3cb645,_0x5ebeb9-0x95,_0x5ebeb9-0x4f);}while(_0x74e7ab<_0x3e3959){const _0x28d147=Math['min'](0xa,_0x3e3959-_0x74e7ab),_0x4b9dd5=new URL('https://www.googleapis.com/customsearch/v1');_0x4b9dd5[_0xb72ba7(0x16b,_0x4c10f9._0x27a7d2,0xd3,0xa3)]['set'](_0x2235a1(0x650,_0x4c10f9._0x15046d,0x575,0x56a),_0x5938be[_0x2235a1(_0x4c10f9._0x4010e,_0x4c10f9._0x467813,0x4ce,0x46b)]),_0x4b9dd5['searchParams']['set']('cx',_0x5938be[_0xb72ba7(0x159,0x81,_0x4c10f9._0x2d818e,_0x4c10f9._0x56c124)]),_0x4b9dd5[_0xb72ba7(_0x4c10f9._0x4cfdff,_0x4c10f9._0x2436f9,_0x4c10f9._0x3fc1eb,0xa3)][_0xb72ba7(_0x4c10f9._0x92431e,0x32,_0x4c10f9._0x191eb4,_0x4c10f9._0x1d5dc3)]('q',_0x4bb5b4),_0x4b9dd5['searchParams'][_0x2235a1(0x5a1,_0x4c10f9._0x48a6c7,0x568,_0x4c10f9._0x2379ae)](_0xb72ba7(_0x4c10f9._0x2556f0,_0x4c10f9._0x20d4cd,_0x4c10f9._0x591ccc,_0x4c10f9._0x362c78),String(_0x28d147)),_0x4b9dd5['searchParams'][_0xb72ba7(0x1e3,0x1f0,_0x4c10f9._0xfeeec2,0xe7)](_0x2235a1(_0x4c10f9._0x7bd401,0x3a9,_0x4c10f9._0x26f27d,_0x4c10f9._0x2160ec),String(_0x128318)),_0x4b9dd5[_0x2235a1(0x501,0x552,_0x4c10f9._0x1e3573,0x439)][_0x2235a1(0x4e8,_0x4c10f9._0x42b457,_0x4c10f9._0x30371f,0x3f0)](_0xb72ba7(_0x4c10f9._0x259223,_0x4c10f9._0xc5c5a8,0x41,_0x4c10f9._0x3b4e9e),_0x2672ec[_0xb72ba7(-_0x4c10f9._0x25eca5,0xc2,0x15b,0x83)]?_0x2235a1(0x6ce,_0x4c10f9._0x4f5ed8,_0x4c10f9._0x1490c2,0x78a):_0x2235a1(_0x4c10f9._0x3c6482,_0x4c10f9._0x1cde31,0x68c,0x6d6));_0x2672ec['lang']&&(_0x4b9dd5[_0xb72ba7(-0x84,-0x48,_0x4c10f9._0x20e78f,_0x4c10f9._0x5172d6)]['set']('hl',_0x2672ec[_0xb72ba7(_0x4c10f9._0x3f28f8,_0x4c10f9._0x3a0a56,_0x4c10f9._0x1d4443,_0x4c10f9._0x40fb72)]),_0x4b9dd5[_0x2235a1(0x3c7,0x4af,_0x4c10f9._0x1e3573,_0x4c10f9._0x15a98c)]['set']('lr','lang_'+_0x2672ec['lang']));if(_0x2672ec[_0xb72ba7(_0x4c10f9._0x40e56b,_0x4c10f9._0x486a11,0x336,0x1d4)])_0x4b9dd5['searchParams'][_0xb72ba7(_0x4c10f9._0x2c966b,0x1ce,0x177,0xe7)]('gl',_0x2672ec[_0x2235a1(_0x4c10f9._0x4f81a6,_0x4c10f9._0xd06a9e,0x655,_0x4c10f9._0x3c68ed)][_0xb72ba7(_0x4c10f9._0x2a1329,_0x4c10f9._0x371037,_0x4c10f9._0x43a43f,_0x4c10f9._0x386265)]());if(_0x2672ec[_0x2235a1(_0x4c10f9._0x31efe9,0x549,_0x4c10f9._0xdfab38,_0x4c10f9._0x5a83ec)]==='images')_0x4b9dd5[_0x2235a1(0x682,_0x4c10f9._0x55109a,_0x4c10f9._0x119acd,_0x4c10f9._0xe19640)][_0xb72ba7(_0x4c10f9._0xdd2c7a,_0x4c10f9._0x1e719e,0x1d9,_0x4c10f9._0x1a3aa7)](_0x2235a1(0x4e9,_0x4c10f9._0x4c6996,_0x4c10f9._0x4947f8,0x5cd),_0xb72ba7(0x87,_0x4c10f9._0x243707,0x12c,_0x4c10f9._0x2cbbeb));if(_0xe2f35a)_0x4b9dd5[_0x2235a1(0x5fd,_0x4c10f9._0x4b5f25,0x524,_0x4c10f9._0x4f2267)][_0x2235a1(0x579,_0x4c10f9._0x56c2ca,0x568,0x68a)](_0xb72ba7(_0x4c10f9._0x390f71,-0xf,_0x4c10f9._0x1bd79b,_0x4c10f9._0x480d43),_0xe2f35a);const _0x35a46e=await fetchJson(_0x4b9dd5[_0xb72ba7(-_0x4c10f9._0x368476,0x14a,0x150,0x8)](),_0x1371e9),_0x2e8b41=_0x35a46e['items']??[];if(_0x2e8b41[_0xb72ba7(_0x4c10f9._0xd1849e,_0x4c10f9._0xd24cf6,_0x4c10f9._0x1381c3,_0x4c10f9._0x3d38d4)]===0x0)break;const _0xda61dd=_0x74e7ab;for(let _0x556c93=0x0;_0x556c93<_0x2e8b41[_0x2235a1(_0x4c10f9._0x26961c,0x6c1,_0x4c10f9._0x1df3a3,_0x4c10f9._0x384e8f)];_0x556c93++){const _0x1d9528=_0x2e8b41[_0x556c93];if(!_0x1d9528)continue;const _0x5955bc=_0x1d9528['link']||_0x1d9528[_0x2235a1(_0x4c10f9._0x2d3ed6,0x433,_0x4c10f9._0x502931,_0x4c10f9._0x5aad2e)]?.['contextLink']||'',_0x402ccd=_0x1d9528[_0xb72ba7(_0x4c10f9._0xcd9474,_0x4c10f9._0x54bd0f,-_0x4c10f9._0x5be162,0x95)]||_0x1d9528['image']?.[_0x2235a1(_0x4c10f9._0x57899b,_0x4c10f9._0x138fad,_0x4c10f9._0x2002e9,0x534)]||_0x2235a1(_0x4c10f9._0x584b6b,_0x4c10f9._0x17f534,_0x4c10f9._0x88925d,_0x4c10f9._0x1427b3),_0x19d99b=_0x1d9528[_0x2235a1(0x6aa,_0x4c10f9._0x3cb9c2,_0x4c10f9._0xaa267b,_0x4c10f9._0x3aa39c)]||_0x1d9528[_0x2235a1(_0x4c10f9._0x598a18,0x6d0,_0x4c10f9._0x16dcfc,_0x4c10f9._0x3d7c59)]?.['replace'](/<[^>]+>/g,''),_0x506fde=_0x1d9528[_0x2235a1(0x67a,0x672,_0x4c10f9._0x3dd165,0x717)]?.[_0xb72ba7(_0x4c10f9._0x3d0d26,_0x4c10f9._0x38f17d,0x17c,0x1c9)]?.[0x0]??{};let _0xc24a46;try{_0xc24a46=new URL(_0x5955bc)[_0x2235a1(_0x4c10f9._0x1b7cce,0x4a4,_0x4c10f9._0x593203,0x500)];}catch{_0xc24a46=null;}_0x5826fc[_0xb72ba7(-_0x4c10f9._0x3e5229,0x3e,-_0x4c10f9._0x2843aa,_0x4c10f9._0x276184)]({'title':_0x402ccd,'url':normalizeUrl(_0x5955bc),'snippet':_0x19d99b??null,'displayUrl':_0xc24a46,'favicon':null,'publishedAt':_0x506fde['article:published_time']||_0x506fde[_0x2235a1(0x67d,0x548,0x647,_0x4c10f9._0x1b79f2)]||null,'source':{'engine':_0x2235a1(0x59b,0x81f,_0x4c10f9._0x5c3208,0x57e),'rank':_0xda61dd+_0x556c93+0x1}});}_0x74e7ab+=_0x2e8b41['length'],_0x128318+=_0x2e8b41[_0x2235a1(_0x4c10f9._0x4b7f8d,_0x4c10f9._0x5b8118,0x6ed,_0x4c10f9._0x1b7067)];if(_0x2e8b41[_0x2235a1(_0x4c10f9._0x327d23,_0x4c10f9._0x201365,0x6ed,0x6b4)]<_0x28d147)break;}return _0x5826fc[_0xb72ba7(-_0x4c10f9._0x1e35f0,0x9e,-_0x4c10f9._0x21a095,-0x18)](0x0,_0x3e3959);}function isGoogleCseEngine(_0x45868b){const _0x15f5b7={_0x5a140d:0x4f},_0x44ed0e={_0x283bb5:0x8c,_0x5057ca:0xe4};function _0x318468(_0x4339fa,_0xd70782,_0x49aec9,_0x18d345){return _0x5c47d8(_0x4339fa- -0x1ea,_0xd70782-_0x44ed0e._0x283bb5,_0x49aec9-_0x44ed0e._0x5057ca,_0x49aec9);}return _0x318468(0xdd,-0x35,0x233,_0x15f5b7._0x5a140d)in _0x45868b;}function isOllamaEngine(_0x34b30e){const _0x4edcba={_0x138a8f:0x31d,_0x1b805d:0x364},_0x518ea1={_0x41c673:0xc2,_0xfede14:0x168};function _0x111b2d(_0x11fea0,_0x2ccee1,_0x2702e4,_0x3d47d7){return _0x5c47d8(_0x11fea0-_0x518ea1._0x41c673,_0x2ccee1-0xa5,_0x2702e4-_0x518ea1._0xfede14,_0x2702e4);}return _0x111b2d(_0x4edcba._0x138a8f,0x3f8,0x332,_0x4edcba._0x1b805d)in _0x34b30e;}function isTavilyEngine(_0x3be62a){const _0x56d3a8={_0x495a0b:0x4ed,_0x376ad5:0x608,_0x4faf0b:0x52c};function _0x22f70d(_0x39e00b,_0x3156a1,_0x24a942,_0x17041f){return _0x25cfa5(_0x39e00b-0x78,_0x24a942,_0x39e00b-0x407,_0x17041f-0xdc);}return _0x22f70d(_0x56d3a8._0x495a0b,_0x56d3a8._0x376ad5,0x378,_0x56d3a8._0x4faf0b)in _0x3be62a;}function createWebSearchTool(_0x19bd75){const _0x4a66dd={_0x236ffd:0x3fc,_0x500114:0x4e4,_0x1b0013:0x398,_0x3b5700:0x544,_0x1c4f22:0x535,_0x131931:0x3f7,_0x5ce4e5:0x289,_0x195cb3:0x126,_0x45020f:0x40e,_0x2ad674:0x31f,_0x21b58e:0x365,_0x173588:0x2bf,_0xfc7231:0x252,_0x3ff1ec:0x262,_0x245898:0xa,_0x1d6cd1:0x4e,_0x21915d:0x82,_0x36ba55:0x5a,_0x4f75f7:0x3fa,_0x89cd7:0x260,_0x2d8a09:0x461,_0x3ad50e:0x25e,_0x56a09e:0x2dd,_0x4f781e:0x13f,_0x56d934:0x380,_0x40b5a7:0x215,_0xd5c9c6:0x1cc,_0x48289d:0x2c7,_0x408588:0xe6,_0x4cfae7:0x297},_0x467cbe={_0x1852e3:0x755,_0x1d3802:0x5ce,_0x30c27d:0x4b6,_0x54eb16:0x55a,_0x2f620d:0x5eb,_0x22a978:0x3a2,_0x3aef93:0x47c,_0x183733:0x4ba,_0x23a473:0x607,_0x599d45:0x5c0,_0x170635:0x675,_0x85919c:0x62d,_0x2fa9a6:0x52b,_0x270ad2:0x545,_0x49d998:0x49d,_0x3015bc:0x5ed,_0x1b3c8a:0x687,_0x24aee7:0x5b2,_0x5b65d9:0x588,_0x1c987e:0x69b,_0x409cb0:0x54a,_0x2025e7:0x43c,_0x3db404:0x4dd,_0x394214:0x591,_0x5af2d8:0x64c,_0x4c1a54:0x78f,_0xbd154e:0x6b4,_0x359e3a:0x5a1,_0x9eb57a:0x5d2,_0x274d03:0x509,_0x14a4b7:0x779,_0x562aed:0x462,_0x277bba:0x493,_0x4080cf:0x526,_0x3e67c7:0x7a9,_0x133a92:0x694,_0x57a1ab:0x717,_0x7113d3:0x6bf,_0x91bb41:0x493,_0x5bfba8:0x747,_0x254e1e:0x732,_0x536046:0x4a2,_0x46eb28:0x666,_0x3ec17f:0x5c7,_0x4ee594:0x6da,_0x23907c:0x718,_0x44ee0a:0x766,_0xe719ab:0x58c,_0x504ac6:0x5ff,_0x53cb3d:0x420,_0x5a0bbb:0x4ae,_0xeebe5:0x666,_0x36bc22:0x677,_0x2dde60:0x55e,_0xdae3a1:0x51a,_0x1e5a42:0x4c4,_0x1933a7:0x553,_0x492d77:0x755,_0x414986:0x42e,_0x540a11:0x354,_0x3b05b4:0x482,_0x522f0d:0x37d,_0x2d158e:0x4ee,_0x1b0bcb:0x608,_0x11ef36:0x660,_0x22bc37:0x4cd,_0x5a5701:0x5e2,_0x528ea0:0x5e6,_0x473fdf:0x695,_0x24a2c4:0x5fd,_0x5cdc3f:0x729,_0x2e9981:0x5e5,_0x4aec78:0x585,_0x593465:0x7b4,_0x2c060d:0x723,_0x14c7ff:0x689,_0x1c497:0x7f6,_0x3ce9c1:0x612},_0x2135c1={_0x2cec69:0x197,_0x22b775:0x67},_0x3126e3={_0x1829f2:0x97,_0x3f597c:0x18f,_0x28832d:0xd9,_0x2ca5e1:0x1d4,_0x3bab1d:0x295,_0x22dc09:0x18c},_0x48eebf={_0x3eb03e:0x5e},_0x148316={_0x57da81:0x199,_0x10fd67:0x194},_0x58141b={_0x638fbb:0xef,_0x499757:0x197,_0x390ac8:0x146};function _0x3e6de2(_0x1ea926,_0x1dcd8f,_0x48b045,_0x43683f){return _0x5c47d8(_0x43683f- -_0x58141b._0x638fbb,_0x1dcd8f-_0x58141b._0x499757,_0x48b045-_0x58141b._0x390ac8,_0x48b045);}if(!_0x19bd75[_0x4a813a(0x2ee,0x1da,_0x4a66dd._0x236ffd,0x3a5)]||_0x19bd75[_0x3e6de2(_0x4a66dd._0x500114,0x4a1,0x4b5,_0x4a66dd._0x1b0013)][_0x3e6de2(_0x4a66dd._0x3b5700,_0x4a66dd._0x1c4f22,0x51a,_0x4a66dd._0x131931)]===0x0)throw new Error(_0x4a813a(0x1ac,_0x4a66dd._0x5ce4e5,_0x4a66dd._0x195cb3,0x1a7));function _0x4a813a(_0x3a8500,_0x1f079a,_0x3e5cbe,_0x40faa5){return _0x5c47d8(_0x3a8500- -_0x148316._0x57da81,_0x1f079a-0x1b6,_0x3e5cbe-_0x148316._0x10fd67,_0x40faa5);}const _0x25ff13=_0x19bd75['name']??_0x3e6de2(0x412,_0x4a66dd._0x45020f,0x247,_0x4a66dd._0x2ad674),_0xba6cd0=_0x19bd75['lookup'];return defineTool({'name':_0x25ff13,'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':'object','properties':{'description':{'type':_0x3e6de2(0x1b0,_0x4a66dd._0x21b58e,0x22a,_0x4a66dd._0x173588)},'query':{'type':_0x3e6de2(0x14c,_0x4a66dd._0xfc7231,_0x4a66dd._0x3ff1ec,0x2bf)},'count':{'type':_0x4a813a(0xe5,-_0x4a66dd._0x245898,-_0x4a66dd._0x1d6cd1,-_0x4a66dd._0x21915d)},'offset':{'type':_0x4a813a(0xe5,-0x1a,0xb7,_0x4a66dd._0x36ba55)},'domains':{'type':_0x3e6de2(_0x4a66dd._0x4f75f7,_0x4a66dd._0x89cd7,_0x4a66dd._0x2d8a09,0x2ef),'items':{'type':_0x3e6de2(0x334,_0x4a66dd._0x3ad50e,0x1cd,0x2bf)}},'recencyDays':{'type':_0x3e6de2(_0x4a66dd._0x56a09e,0x8b,_0x4a66dd._0x4f781e,0x18f)},'lang':{'type':'string'},'region':{'type':_0x3e6de2(0x36a,_0x4a66dd._0x56d934,0x1a3,_0x4a66dd._0x173588)},'safe':{'type':'boolean'},'type':{'type':_0x4a813a(_0x4a66dd._0x40b5a7,0x10b,0x11e,0x222)},'hydrateMeta':{'type':'boolean'}},'required':[_0x4a813a(_0x4a66dd._0xd5c9c6,_0x4a66dd._0x48289d,_0x4a66dd._0x408588,_0x4a66dd._0x4cfae7)]},async *'execute'(_0x4158f4,_0x3310a0){const _0x3abed6=_0x4158f4['query'][_0xcbffbc(0x7d4,0x671,0x621,0x655)]();if(!_0x3abed6)throw new ToolExecutionError(_0xcbffbc(_0x467cbe._0x1852e3,0x6ad,_0x467cbe._0x1d3802,0x598));const _0x594a46={'query':_0x3abed6,'count':Math['max'](0x1,Math[_0xcbffbc(_0x467cbe._0x30c27d,_0x467cbe._0x54eb16,0x67a,_0x467cbe._0x2f620d)](0x32,Math[_0xcbffbc(0x677,0x510,_0x467cbe._0x22a978,0x436)](_0x4158f4['count']??0xa))),'offset':Math[_0xcbffbc(_0x467cbe._0x3aef93,_0x467cbe._0x183733,0x35f,0x5d8)](0x0,Math[_0x4c3041(0x4db,_0x467cbe._0x23a473,_0x467cbe._0x599d45,0x52b)](_0x4158f4[_0x4c3041(0x582,0x587,_0x467cbe._0x170635,_0x467cbe._0x85919c)]??0x0)),'domains':_0x4158f4[_0x4c3041(0x548,_0x467cbe._0x2fa9a6,_0x467cbe._0x270ad2,_0x467cbe._0x49d998)]??[],'recencyDays':Math[_0xcbffbc(0x57a,_0x467cbe._0x183733,0x431,0x606)](0x0,Math['trunc'](_0x4158f4[_0xcbffbc(0x514,_0x467cbe._0x3015bc,0x528,_0x467cbe._0x1b3c8a)]??0x0)),'lang':_0x4158f4['lang']??'en','region':_0x4158f4[_0x4c3041(_0x467cbe._0x24aee7,_0x467cbe._0x5b65d9,0x5cb,_0x467cbe._0x1c987e)]??'','safe':_0x4158f4[_0x4c3041(0x3ff,0x4f4,0x62d,_0x467cbe._0x409cb0)]??!![],'type':normalizeType(_0x4158f4[_0x4c3041(0x55e,0x445,_0x467cbe._0x2025e7,_0x467cbe._0x3db404)]),'hydrateMeta':_0x4158f4[_0x4c3041(_0x467cbe._0x394214,_0x467cbe._0x5af2d8,_0x467cbe._0x4c1a54,_0x467cbe._0xbd154e)]??![]};function _0xcbffbc(_0x1b3b93,_0x581367,_0x5a9d4e,_0x28ddb3){return _0x4a813a(_0x581367-0x3cb,_0x581367-0x124,_0x5a9d4e-_0x48eebf._0x3eb03e,_0x1b3b93);}let _0x5330c0=[],_0x91d1fc=_0xcbffbc(0x60d,_0x467cbe._0x359e3a,_0x467cbe._0x9eb57a,_0x467cbe._0x274d03);for(const _0x5a2d56 of _0x19bd75[_0xcbffbc(_0x467cbe._0x14a4b7,0x6b9,0x5c6,0x7f1)]){try{if(isGoogleCseEngine(_0x5a2d56))_0x5330c0=await searchGoogleCse(_0x5a2d56,_0x594a46,_0x3310a0[_0xcbffbc(_0x467cbe._0x562aed,_0x467cbe._0x277bba,0x347,_0x467cbe._0x4080cf)]),_0x91d1fc=_0x4c3041(_0x467cbe._0x3e67c7,0x770,_0x467cbe._0x133a92,0x728);else{if(isOllamaEngine(_0x5a2d56)){const _0x43fa3e=await searchOllama(_0x5a2d56,_0x594a46,_0x3310a0['signal']);_0x5330c0=_0x43fa3e[_0xcbffbc(0x791,_0x467cbe._0x57a1ab,_0x467cbe._0x7113d3,0x5e8)],_0x91d1fc=_0x43fa3e['engine'];}else{if(isTavilyEngine(_0x5a2d56)){const _0x1ca7b6=await searchTavily(_0x5a2d56,_0x594a46,_0x3310a0[_0xcbffbc(0x3b6,_0x467cbe._0x91bb41,0x3a9,0x44e)]);_0x5330c0=_0x1ca7b6[_0x4c3041(0x5eb,_0x467cbe._0x5bfba8,0x82e,_0x467cbe._0x254e1e)],_0x91d1fc=_0x1ca7b6[_0x4c3041(_0x467cbe._0x536046,0x456,_0x467cbe._0x46eb28,_0x467cbe._0x3ec17f)];}}}if(_0x5330c0['length']>0x0)break;}catch(_0x212118){if(_0x5a2d56===_0x19bd75['engines'][_0x19bd75[_0x4c3041(0x69f,0x648,0x704,0x6d4)][_0xcbffbc(_0x467cbe._0x4ee594,_0x467cbe._0x23907c,_0x467cbe._0x44ee0a,0x81f)]-0x1])throw _0x212118;}}_0x594a46[_0x4c3041(0x800,_0x467cbe._0xe719ab,_0x467cbe._0x504ac6,_0x467cbe._0xbd154e)]&&_0x5330c0['length']>0x0&&(_0x5330c0=await hydrateResults(_0x5330c0,_0x594a46['lang'],_0x3310a0[_0x4c3041(0x379,0x341,_0x467cbe._0x53cb3d,_0x467cbe._0x5a0bbb)],_0xba6cd0));const _0x2be589=new Set();_0x5330c0=_0x5330c0[_0xcbffbc(0x794,_0x467cbe._0xeebe5,_0x467cbe._0x36bc22,_0x467cbe._0x2dde60)](_0x49e30d=>{const _0x1bd322={_0x5c7852:0xd4,_0xcfb29b:0x678};function _0x109c57(_0x12e9f1,_0x2ab983,_0x252b20,_0x101e7a){return _0x4c3041(_0x101e7a,_0x2ab983-0xa2,_0x252b20-0x151,_0x2ab983- -0x460);}const _0x56dfa4=_0x49e30d[_0x57c82d(_0x3126e3._0x1829f2,0x167,_0x3126e3._0x3f597c,_0x3126e3._0x28832d)][_0x57c82d(-_0x3126e3._0x2ca5e1,-0x1ed,-0x276,-0x21e)]();if(!_0x56dfa4||_0x2be589[_0x109c57(0x289,0x20d,_0x3126e3._0x3bab1d,_0x3126e3._0x22dc09)](_0x56dfa4))return![];function _0x57c82d(_0x3c2cb6,_0x392f5c,_0x4efa8d,_0x405581){return _0x4c3041(_0x392f5c,_0x392f5c-_0x1bd322._0x5c7852,_0x4efa8d-0x133,_0x3c2cb6- -_0x1bd322._0xcfb29b);}return _0x2be589['add'](_0x56dfa4),!![];}),_0x5330c0=_0x5330c0[_0x4c3041(0x6f5,0x604,0x67c,0x5fa)]((_0x44e428,_0x1208b1)=>({..._0x44e428,'source':{..._0x44e428[_0xcbffbc(0x7b4,0x6c9,0x7b4,0x6c9)],'rank':_0x1208b1+0x1}}));function _0x4c3041(_0x34bc94,_0x8ede4e,_0xf8d04a,_0x38710c){return _0x3e6de2(_0x34bc94-_0x2135c1._0x2cec69,_0x8ede4e-_0x2135c1._0x22b775,_0x34bc94,_0x38710c-0x33c);}const _0x212783={};if(_0x594a46[_0xcbffbc(_0x467cbe._0xdae3a1,0x482,_0x467cbe._0x1e5a42,_0x467cbe._0x1933a7)][_0xcbffbc(_0x467cbe._0x492d77,0x718,0x610,0x753)]>0x0)_0x212783[_0xcbffbc(0x34d,0x482,_0x467cbe._0x414986,0x37e)]=_0x594a46[_0xcbffbc(_0x467cbe._0x540a11,_0x467cbe._0x3b05b4,0x4af,_0x467cbe._0x522f0d)];if(_0x594a46[_0x4c3041(0x64a,_0x467cbe._0x2d158e,0x635,_0x467cbe._0x1b0bcb)]>0x0)_0x212783[_0x4c3041(_0x467cbe._0x11ef36,_0x467cbe._0x22bc37,0x4ec,_0x467cbe._0x1b0bcb)]=_0x594a46[_0xcbffbc(0x6ee,_0x467cbe._0x3015bc,_0x467cbe._0x5a5701,0x64c)];if(_0x594a46[_0x4c3041(0x5b5,_0x467cbe._0x528ea0,_0x467cbe._0x473fdf,0x5e5)]!=='en')_0x212783[_0x4c3041(_0x467cbe._0x24a2c4,_0x467cbe._0x5cdc3f,0x675,_0x467cbe._0x2e9981)]=_0x594a46['lang'];if(_0x594a46[_0x4c3041(_0x467cbe._0x4aec78,0x57f,0x765,_0x467cbe._0x1c987e)])_0x212783[_0xcbffbc(0x5c2,0x680,_0x467cbe._0x593465,_0x467cbe._0x2c060d)]=_0x594a46['region'];return yield createToolOutput(formatResults(_0x5330c0),{'engine':_0x91d1fc,'count':_0x5330c0[_0xcbffbc(0x840,0x718,0x5a7,0x6ea)],'items':_0x5330c0,'query':_0x594a46['query'],...Object[_0x4c3041(0x7dc,0x605,0x73a,_0x467cbe._0x14c7ff)](_0x212783)[_0xcbffbc(_0x467cbe._0x1c497,0x718,0x619,0x84a)]>0x0?{'appliedFilters':_0x212783}:{},'offset':_0x594a46[_0xcbffbc(_0x467cbe._0x3ec17f,_0x467cbe._0x3ce9c1,0x671,0x659)],'totalRequested':_0x594a46['count'],'hydrated':_0x594a46[_0xcbffbc(0x6f0,0x699,0x538,0x7b3)]}),void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
1
+ (function(_0x15240c,_0x33fbef){const _0x4bcab2={_0x3843e5:0x3b7,_0x571773:0x52,_0x42feca:0x178,_0x57d112:0x1ff,_0x1bc734:0x40,_0x574202:0xab,_0x58442e:0xd1,_0x5c4f7e:0x6d5,_0x290f1b:0x32,_0x1fbbdf:0x188,_0x22d718:0x1a6,_0x3a43f7:0x3e,_0x5d3907:0x11,_0x45be50:0xd7,_0x27a9a3:0xd8,_0x297e7a:0x624,_0x15bd28:0x6e8,_0x54afc2:0x6e5,_0x245023:0x2bc,_0x3fa872:0x259},_0x3ca60f={_0x578567:0x1b8};function _0x354562(_0x4d3a42,_0xae4aaf,_0x3bf4b6,_0x3a0b13){return _0x1df5(_0x3a0b13-0x2f4,_0xae4aaf);}const _0x2b8ebf=_0x15240c();function _0x439b33(_0x196a5d,_0xacd0dd,_0x5b2623,_0x4d281e){return _0x1df5(_0xacd0dd- -_0x3ca60f._0x578567,_0x196a5d);}while(!![]){try{const _0x37e55a=-parseInt(_0x354562(0x3e2,0x497,_0x4bcab2._0x3843e5,0x523))/0x1+parseInt(_0x439b33(_0x4bcab2._0x571773,0xc5,_0x4bcab2._0x42feca,_0x4bcab2._0x57d112))/0x2*(parseInt(_0x439b33(0x32,0x99,0x96,-_0x4bcab2._0x1bc734))/0x3)+parseInt(_0x439b33(-_0x4bcab2._0x574202,0x12,_0x4bcab2._0x58442e,0xba))/0x4+-parseInt(_0x354562(0x695,_0x4bcab2._0x5c4f7e,0x6e5,0x602))/0x5*(parseInt(_0x439b33(_0x4bcab2._0x290f1b,_0x4bcab2._0x1fbbdf,0x159,0x72))/0x6)+parseInt(_0x439b33(-_0x4bcab2._0x22d718,-_0x4bcab2._0x3a43f7,-0x1a3,0xb9))/0x7+-parseInt(_0x439b33(-0x95,-_0x4bcab2._0x5d3907,_0x4bcab2._0x45be50,-_0x4bcab2._0x27a9a3))/0x8+-parseInt(_0x354562(_0x4bcab2._0x297e7a,0x696,_0x4bcab2._0x15bd28,_0x4bcab2._0x54afc2))/0x9*(-parseInt(_0x439b33(_0x4bcab2._0x245023,0x14c,_0x4bcab2._0x3fa872,0x119))/0xa);if(_0x37e55a===_0x33fbef)break;else _0x2b8ebf['push'](_0x2b8ebf['shift']());}catch(_0x4152a4){_0x2b8ebf['push'](_0x2b8ebf['shift']());}}}(_0x2ed3,0x28633));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-FKZ3QQWZ.js';import{getTextFromMessage}from'../chunk-QDOE7NWO.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x27768c from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x257320(0x48c,0x67a,0x57a,0x4aa),'.tsx':_0x257320(0x568,0x4e5,0x50c,0x5ed),'.js':_0x3342ed(0x304,0x303,0x337,0x3c5),'.jsx':_0x3342ed(0x121,0x153,0x233,0x3a7),'.mjs':_0x3342ed(0x416,0x3e8,0x337,0x2e2),'.cjs':_0x257320(0x462,0x3f5,0x3c3,0x481),'.mts':'typescript','.cts':'typescript','.json':_0x257320(0x29a,0x262,0x39e,0x3ad),'.jsonc':_0x257320(0x48d,0x318,0x482,0x36a)};function getLanguageId(_0x43b0c7){return EXTENSION_TO_LANGUAGE[_0x27768c['extname'](_0x43b0c7)['toLowerCase']()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x4e50ef){return pathToFileURL(_0x4e50ef)['toString']();}function textDocumentPosition(_0x3e32f4){const _0x31c52a={_0x5b9164:0x186,_0x72a12:0x4f6,_0x34b786:0x38e,_0x357f1a:0x5ea},_0x2708fd={_0x3ddbd2:0x58,_0x56ae75:0x4a},_0x32588b={_0x470c4c:0x6c,_0x5e6de4:0x39d,_0x1dc5ce:0x5b};function _0x5baa32(_0x41a0c0,_0x22f197,_0x4d96e3,_0x881ab4){return _0x3342ed(_0x41a0c0-_0x32588b._0x470c4c,_0x22f197,_0x41a0c0- -_0x32588b._0x5e6de4,_0x881ab4-_0x32588b._0x1dc5ce);}function _0x1f971b(_0xa3d6fc,_0x35db2d,_0x241236,_0x16aaa4){return _0x3342ed(_0xa3d6fc-0xd6,_0x16aaa4,_0xa3d6fc-_0x2708fd._0x3ddbd2,_0x16aaa4-_0x2708fd._0x56ae75);}return{'textDocument':{'uri':uriForPath(_0x3e32f4[_0x5baa32(-_0x31c52a._0x5b9164,-0x265,-0x9b,-0xcf)])},'position':{'line':_0x3e32f4['line'],'character':_0x3e32f4[_0x1f971b(_0x31c52a._0x72a12,_0x31c52a._0x34b786,0x4c3,_0x31c52a._0x357f1a)]}};}function normalizeLocations(_0x7ce39e){const _0x2b6816={_0x30f0b8:0x1bd,_0x3b5cd3:0x170,_0x270269:0x1b3},_0x20a548={_0x3177dc:0x1b5,_0x2c7aff:0x189,_0x34ff71:0x207};if(!_0x7ce39e)return[];function _0x13db82(_0x14a3f9,_0x445afd,_0x50295e,_0xee9951){return _0x257320(_0x14a3f9-_0x20a548._0x3177dc,_0x445afd-_0x20a548._0x2c7aff,_0xee9951- -_0x20a548._0x34ff71,_0x14a3f9);}return Array[_0x13db82(_0x2b6816._0x30f0b8,0x170,_0x2b6816._0x3b5cd3,_0x2b6816._0x270269)](_0x7ce39e)?_0x7ce39e:[_0x7ce39e];}async function createLspClient(_0x5cb4dc){const _0x5e7702={_0x2bc54f:0x72a,_0x2b846d:0x6ea,_0x4d3b7c:0x6b4,_0x41a521:0x626,_0x59643d:0x407,_0x4f4e81:0x4c0,_0xb428bc:0x3d9,_0x3b1165:0x525,_0x242d76:0x5fe,_0x2f86ca:0x647,_0x27122d:0x437,_0x91ce68:0x415,_0x2ba204:0x422,_0x1eecc0:0x4e3,_0x1d4660:0x600,_0x28fbea:0x7fc,_0x456d2b:0x6f5,_0x3534f5:0x716,_0x1d89ed:0x5a0,_0xdedc4:0x3dc,_0x448c7e:0x4ab,_0x49cd32:0x498,_0x4428fb:0x721,_0x509e66:0x64c,_0x470159:0x6f9,_0x3c031e:0x6a3,_0x3659c0:0x3e2,_0x1435c8:0x3fe,_0x257bab:0x544,_0x288f26:0x3e2,_0x589c4c:0x66c,_0x3b6fe5:0x504,_0x33e9fd:0x3ad,_0x4eb9cf:0x40c,_0x4eb63d:0x37e,_0x368ee4:0x4a9,_0x208275:0x317,_0x1ecf04:0x3c8,_0x47e537:0x5c2,_0x111997:0x706,_0x5c09f3:0x557,_0x10e34e:0x42b,_0x56e765:0x367,_0x5df298:0x433},_0x1f554d={_0x17f385:0x8e},_0x5d1fe0={_0x4fc703:0x23a,_0x788275:0x2a8,_0x401396:0x789,_0x5d0bf9:0x71a,_0x27dafa:0x6d2,_0x1c4c47:0x33e,_0x83f2a:0x24e,_0x11fb31:0x2c1,_0x28c35f:0x123,_0x47e777:0x7ac,_0x27b92b:0x32d,_0x531099:0x651,_0x171dfa:0x699,_0x10867d:0x7d9},_0x40a87c={_0x3ae5a1:0x19,_0x33366c:0x3b3,_0x584358:0x15d},_0x104eda={_0x2a1159:0x251},_0x4ab700={_0x5e0cf2:0x511,_0x137bb1:0x451,_0x3c772a:0x5b8,_0x3aa397:0x487},_0x252aa3={_0x3f43b9:0x68f,_0x2c8374:0x75b,_0x4480a2:0x7ac,_0x499d71:0x55a},_0x321c4e={_0x27e9eb:0xef},_0x104aa7={_0x427832:0x18d,_0x12ab4c:0x500,_0x4cdde7:0x520},_0x3fab73={_0x430dc7:0xe4,_0x336b6d:0x4d1,_0x2f29fe:0x95},_0x6b76b0={_0x1125df:0x5b,_0x4477a2:0x1cf},_0x3c2dbd={_0x257001:0x1d8,_0x32f852:0x530},_0x2073ac={_0x5b162b:0x68a},_0x4a48f3={_0x3b97e7:0x16,_0x10c6bc:0x23,_0x27045f:0x10d,_0x50d29c:0x50,_0x2e90a0:0xb4},_0x14d36e={_0x5ec0cc:0x171,_0x1d867a:0x634},_0x7d6cab={_0x3c7853:0x851,_0x5e122f:0x74c,_0x514bdc:0x6ea,_0x213f3e:0x898,_0x4d2f1f:0x1ed,_0x35ab0f:0x278,_0x266a6d:0x170},_0x21bf89={_0x7cc268:0x38b,_0x35112c:0x1de},_0x4de099={_0x33f86c:0x4ad,_0x3aff7e:0x49d,_0x1fe4a4:0x542,_0x1db9c5:0x360,_0x2fc373:0x3e9},_0x5002d9={_0x44cd0f:0x20},_0x4f6f59={_0x283151:0x39b,_0x38c93:0x57a,_0x21a487:0x3d9,_0x5a574f:0x122},_0x214ef6={_0x4c6733:0x53,_0x35e1aa:0x145},_0x3bd19e={_0x35f74f:0x7,_0x4efccf:0xd5,_0x24f497:0x5fb,_0x3622c1:0x6c1,_0x4e2018:0x76b,_0xb50f07:0x645},_0x25388f={_0x2e0ea4:0x1d9,_0x102538:0xeb},_0x5eefa8={_0x49d240:0x360,_0x3f58ed:0x314,_0x3b0f98:0x3bd,_0x3cc0b0:0x2d4,_0x42adb9:0x5ef,_0xd3b535:0x3ca,_0x345f11:0x4f5,_0x19bae0:0x4a5},_0x2121e7={_0x5ab121:0x2c9,_0x4471b5:0x24a,_0x3826ab:0x7af,_0x1347c9:0x573,_0x4d651a:0x537,_0x5f047b:0x3de,_0x53f61d:0xec,_0x19b3a6:0xf9},_0x51ddf0={_0x529414:0x5b,_0x4014a1:0x136,_0x1eade5:0x8e,_0x520632:0x186,_0x28da81:0x1,_0x215913:0x13,_0x3ac192:0x53c,_0x3a0877:0x535,_0x1668dc:0x557,_0x4be162:0x6d7,_0x464504:0x5c7},_0x2fa8b9={_0x4120d5:0x18c},_0x1992fe={_0xa51f87:0x4,_0x8bb324:0xcf},_0x2633d5=_0x5cb4dc[_0x36a7a4(0x640,0x5c0,_0x5e7702._0x2bc54f,_0x5e7702._0x2b846d)][_0x36a7a4(_0x5e7702._0x4d3b7c,0x5b5,0x5e3,_0x5e7702._0x41a521)][_0x36a7a4(0x3e4,_0x5e7702._0x59643d,_0x5e7702._0x4f4e81,0x529)],_0x1edb66=_0x5cb4dc['handle'][_0x3a8938(_0x5e7702._0xb428bc,_0x5e7702._0x3b1165,_0x5e7702._0x242d76,_0x5e7702._0x2f86ca)]['stdin'];function _0x3a8938(_0x3d4a90,_0x2781d8,_0x11aa08,_0x176e9a){return _0x257320(_0x3d4a90-_0x1992fe._0xa51f87,_0x2781d8-_0x1992fe._0x8bb324,_0x2781d8-0xe2,_0x11aa08);}if(!_0x2633d5||!_0x1edb66)throw new Error(_0x3a8938(0x5c2,0x44c,_0x5e7702._0x27122d,_0x5e7702._0x91ce68));const _0x5e8f52=createMessageConnection(new StreamMessageReader(_0x2633d5),new StreamMessageWriter(_0x1edb66)),_0x442c22=new Map(),_0x2fadda=new Map();let _0x5b7a7b=![];_0x5e8f52[_0x36a7a4(_0x5e7702._0x2ba204,0x388,_0x5e7702._0x1eecc0,0x4bc)]('textDocument/publishDiagnostics',_0x293835=>{const _0xedcdf={_0x5ef02e:0x1e0};function _0x4204e5(_0x566359,_0x167d81,_0x1b6d8a,_0x3d3bdf){return _0x36a7a4(_0x3d3bdf,_0x167d81-_0xedcdf._0x5ef02e,_0x1b6d8a- -0x63,_0x3d3bdf-0x198);}function _0x984fcd(_0x595ea4,_0x20c81a,_0x42d9cc,_0x5b6653){return _0x36a7a4(_0x20c81a,_0x20c81a-_0x2fa8b9._0x4120d5,_0x5b6653- -0x583,_0x5b6653-0x159);}_0x442c22[_0x984fcd(-_0x51ddf0._0x529414,0x1,-0x181,-_0x51ddf0._0x4014a1)](_0x293835[_0x984fcd(-_0x51ddf0._0x1eade5,0x67,-0xa3,0xa7)],_0x293835[_0x984fcd(0x5a,_0x51ddf0._0x520632,_0x51ddf0._0x28da81,_0x51ddf0._0x215913)]);const _0x250a0f=_0x2fadda[_0x4204e5(0x5aa,_0x51ddf0._0x3ac192,0x546,_0x51ddf0._0x3a0877)](_0x293835[_0x4204e5(_0x51ddf0._0x1668dc,_0x51ddf0._0x4be162,_0x51ddf0._0x464504,0x686)]);if(!_0x250a0f)return;_0x2fadda[_0x4204e5(0x600,0x6c4,0x5b4,0x5d1)](_0x293835['uri']);for(const _0x5c343f of _0x250a0f)_0x5c343f();}),_0x5e8f52[_0x36a7a4(_0x5e7702._0x1d4660,_0x5e7702._0x28fbea,_0x5e7702._0x456d2b,0x7e0)]();const _0x487f8b=await _0x5e8f52[_0x3a8938(_0x5e7702._0x3534f5,_0x5e7702._0x1d89ed,0x702,0x6c2)](_0x3a8938(_0x5e7702._0xdedc4,_0x5e7702._0x448c7e,0x4dc,_0x5e7702._0x49cd32),{'processId':process[_0x3a8938(_0x5e7702._0x4428fb,_0x5e7702._0x509e66,_0x5e7702._0x470159,_0x5e7702._0x3c031e)],'rootUri':uriForPath(_0x5cb4dc[_0x3a8938(0x389,_0x5e7702._0x3659c0,0x3a6,_0x5e7702._0x1435c8)]),'workspaceFolders':[{'uri':uriForPath(_0x5cb4dc[_0x3a8938(_0x5e7702._0x257bab,_0x5e7702._0x288f26,0x2bc,0x3ba)]),'name':_0x5cb4dc['server']['id']}],'initializationOptions':_0x5cb4dc[_0x3a8938(0x6df,_0x5e7702._0x589c4c,0x69e,_0x5e7702._0x3b6fe5)][_0x3a8938(_0x5e7702._0x33e9fd,_0x5e7702._0x4eb9cf,0x3c8,_0x5e7702._0x4eb63d)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x36a7a4(0x491,0x536,_0x5e7702._0x368ee4,0x505),_0x36a7a4(_0x5e7702._0x208275,0x5b2,0x457,_0x5e7702._0x1ecf04)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x5e8f52['sendNotification'](_0x3a8938(0x53d,_0x5e7702._0x47e537,0x703,_0x5e7702._0x111997),{});const _0x58316b={'serverId':_0x5cb4dc[_0x3a8938(0x610,0x4b6,_0x5e7702._0x5c09f3,_0x5e7702._0x10e34e)]['id'],'root':_0x5cb4dc[_0x3a8938(_0x5e7702._0x56e765,_0x5e7702._0x288f26,0x552,_0x5e7702._0x5df298)],'connection':_0x5e8f52,'diagnostics':_0x442c22,'capabilities':_0x487f8b[_0x3a8938(0x527,0x567,0x5e3,0x46c)]??{},'notify':{async 'open'({path:_0x368972}){const _0x2454a4={_0x2a5711:0xd9,_0x16c28f:0x1c6};function _0x240da5(_0x4ef30a,_0x2e287c,_0x2ec253,_0x5bd882){return _0x36a7a4(_0x4ef30a,_0x2e287c-0xe7,_0x5bd882- -0x550,_0x5bd882-0x107);}function _0x4f8b47(_0x5f074c,_0x30d762,_0x19f270,_0x270841){return _0x36a7a4(_0x30d762,_0x30d762-_0x2454a4._0x2a5711,_0x19f270-0xbb,_0x270841-_0x2454a4._0x16c28f);}const _0x319764=await readFile(_0x368972,_0x240da5(0x8d,_0x2121e7._0x5ab121,_0x2121e7._0x4471b5,0x194));_0x5e8f52[_0x4f8b47(0x8ac,0x8d0,_0x2121e7._0x3826ab,0x6f1)](_0x4f8b47(_0x2121e7._0x1347c9,0x50e,_0x2121e7._0x4d651a,_0x2121e7._0x5f047b),{'textDocument':{'uri':uriForPath(_0x368972),'languageId':getLanguageId(_0x368972)??_0x240da5(-_0x2121e7._0x53f61d,-0x140,-0x18b,-_0x2121e7._0x19b3a6),'version':0x1,'text':_0x319764}});},async 'change'({path:_0x2b9fed,version:_0x2e0daa}){const _0x30906d={_0x4df8c6:0x57,_0x5bc1c1:0x19d};function _0x487116(_0x11c60f,_0x283a5d,_0x19fc0a,_0x40b160){return _0x36a7a4(_0x19fc0a,_0x283a5d-0xda,_0x283a5d- -0x3d0,_0x40b160-0x159);}function _0x44ba51(_0x49069c,_0x117eef,_0x1a7191,_0x1eecab){return _0x36a7a4(_0x49069c,_0x117eef-_0x30906d._0x4df8c6,_0x1a7191- -_0x30906d._0x5bc1c1,_0x1eecab-0xe1);}const _0x58e573=await readFile(_0x2b9fed,_0x487116(_0x5eefa8._0x49d240,_0x5eefa8._0x3f58ed,_0x5eefa8._0x3b0f98,_0x5eefa8._0x3cc0b0));_0x5e8f52['sendNotification'](_0x44ba51(_0x5eefa8._0x42adb9,_0x5eefa8._0xd3b535,_0x5eefa8._0x345f11,_0x5eefa8._0x19bae0),{'textDocument':{'uri':uriForPath(_0x2b9fed),'version':_0x2e0daa},'contentChanges':[{'text':_0x58e573}]});},async 'close'({path:_0x19dbb1}){const _0x9d18f7={_0x5d769f:0x1ef};function _0x1c899c(_0x42a688,_0x50fea0,_0x48b158,_0x19d0ab){return _0x3a8938(_0x42a688-0x4d,_0x42a688-0x93,_0x19d0ab,_0x19d0ab-_0x9d18f7._0x5d769f);}function _0x302f27(_0x1934e0,_0x557ea5,_0x547b6c,_0x2b3d31){return _0x36a7a4(_0x1934e0,_0x557ea5-_0x25388f._0x2e0ea4,_0x547b6c- -0x67d,_0x2b3d31-_0x25388f._0x102538);}_0x5e8f52[_0x302f27(_0x3bd19e._0x35f74f,_0x3bd19e._0x4efccf,0x77,-0x3b)](_0x1c899c(_0x3bd19e._0x24f497,_0x3bd19e._0x3622c1,_0x3bd19e._0x4e2018,_0x3bd19e._0xb50f07),{'textDocument':{'uri':uriForPath(_0x19dbb1)}});}},'request':{async 'definition'(_0x296c87){function _0x233145(_0x5bc29c,_0x2cda04,_0x31aa03,_0x38ac0a){return _0x36a7a4(_0x5bc29c,_0x2cda04-_0x214ef6._0x4c6733,_0x2cda04- -0x232,_0x38ac0a-_0x214ef6._0x35e1aa);}function _0x18a838(_0x2105e1,_0x3a2ee5,_0x27ef8a,_0xe5ba67){return _0x36a7a4(_0x2105e1,_0x3a2ee5-0x19f,_0x3a2ee5- -0x4ed,_0xe5ba67-0x1b0);}return normalizeLocations(await _0x5e8f52[_0x233145(_0x4f6f59._0x283151,0x42c,_0x4f6f59._0x38c93,_0x4f6f59._0x21a487)](_0x18a838(-0x152,-0xa7,-_0x4f6f59._0x5a574f,-0x20f),textDocumentPosition(_0x296c87)));},async 'references'(_0x420f34){function _0x43650f(_0x9158e1,_0x48476b,_0xa3c230,_0xe26f16){return _0x36a7a4(_0xe26f16,_0x48476b-0x143,_0x9158e1- -0x600,_0xe26f16-0x1f);}return normalizeLocations(await _0x5e8f52['sendRequest'](_0x43650f(-0xaa,-0x100,_0x5002d9._0x44cd0f,-0x6f),{...textDocumentPosition(_0x420f34),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x1e9329){const _0x1fe708={_0x198222:0x179};function _0x5ce17e(_0x17c01b,_0x2440cc,_0x4ad264,_0x2ca09e){return _0x36a7a4(_0x4ad264,_0x2440cc-0x137,_0x2ca09e- -_0x1fe708._0x198222,_0x2ca09e-0x25);}function _0x264bd6(_0x4f0a2f,_0x487383,_0x347191,_0x33d42a){return _0x3a8938(_0x4f0a2f-0xa4,_0x33d42a- -0x4da,_0x347191,_0x33d42a-0x1d7);}return await _0x5e8f52[_0x5ce17e(_0x4de099._0x33f86c,_0x4de099._0x3aff7e,0x405,0x4e5)](_0x5ce17e(0x44f,_0x4de099._0x1fe4a4,_0x4de099._0x1db9c5,_0x4de099._0x2fc373),textDocumentPosition(_0x1e9329))??null;},async 'documentSymbol'(_0x3909fe){const _0x169100={_0x559ac5:0x54};function _0x2dbcba(_0xddbca5,_0x4547f3,_0x549b4d,_0x4fe039){return _0x3a8938(_0xddbca5-0x1ee,_0x4547f3-0x1ac,_0xddbca5,_0x4fe039-_0x169100._0x559ac5);}function _0x2394cf(_0x5e3fe3,_0x38073c,_0x3158e3,_0x4848ea){return _0x36a7a4(_0x5e3fe3,_0x38073c-0x81,_0x3158e3- -_0x21bf89._0x7cc268,_0x4848ea-_0x21bf89._0x35112c);}return await _0x5e8f52[_0x2dbcba(_0x7d6cab._0x3c7853,_0x7d6cab._0x5e122f,_0x7d6cab._0x514bdc,_0x7d6cab._0x213f3e)](_0x2394cf(0x189,_0x7d6cab._0x4d2f1f,_0x7d6cab._0x35ab0f,_0x7d6cab._0x266a6d),{'textDocument':{'uri':uriForPath(_0x3909fe)}})??[];},async 'workspaceSymbol'(_0x2490e7){const _0x31b8fe={_0x1ebddf:0x94,_0x3e6e3a:0x63b,_0x2285f2:0x71};function _0x1824b0(_0x4359b8,_0x4bb018,_0x13b2e2,_0x100b5b){return _0x36a7a4(_0x4359b8,_0x4bb018-_0x14d36e._0x5ec0cc,_0x13b2e2- -_0x14d36e._0x1d867a,_0x100b5b-0x1ce);}function _0x49c463(_0x217df7,_0x5182fb,_0x2976bf,_0x2caab4){return _0x36a7a4(_0x5182fb,_0x5182fb-_0x31b8fe._0x1ebddf,_0x2976bf- -_0x31b8fe._0x3e6e3a,_0x2caab4-_0x31b8fe._0x2285f2);}return await _0x5e8f52[_0x49c463(0x19,_0x4a48f3._0x3b97e7,_0x4a48f3._0x10c6bc,_0x4a48f3._0x27045f)](_0x49c463(_0x4a48f3._0x50d29c,0x19f,0x37,_0x4a48f3._0x2e90a0),{'query':_0x2490e7})??[];},async 'implementation'(_0x433b62){const _0x35a660={_0x2970b0:0x74,_0x489477:0x158};function _0x4cbfd4(_0x36797b,_0x39cf7a,_0x52d6c6,_0x4c0aa0){return _0x3a8938(_0x36797b-0x66,_0x52d6c6-_0x35a660._0x2970b0,_0x39cf7a,_0x4c0aa0-_0x35a660._0x489477);}return normalizeLocations(await _0x5e8f52['sendRequest'](_0x4cbfd4(0x58d,0x7b9,_0x2073ac._0x5b162b,0x616),textDocumentPosition(_0x433b62)));},async 'prepareCallHierarchy'(_0xbbc271){function _0x1d0858(_0x337d88,_0x5c367e,_0x4c8548,_0x55d1d0){return _0x3a8938(_0x337d88-_0x3c2dbd._0x257001,_0x337d88- -_0x3c2dbd._0x32f852,_0x4c8548,_0x55d1d0-0xd9);}return await _0x5e8f52['sendRequest'](_0x1d0858(-_0x6b76b0._0x1125df,-0x36,-_0x6b76b0._0x4477a2,0xa1),textDocumentPosition(_0xbbc271))??[];},async 'incomingCalls'(_0xccd4e9){const _0x103b20={_0x3bc944:0x4a,_0x3cb2e7:0x1ef};function _0x410dfe(_0x352387,_0x220490,_0xb55900,_0x7c422c){return _0x36a7a4(_0x220490,_0x220490-_0x3fab73._0x430dc7,_0xb55900- -_0x3fab73._0x336b6d,_0x7c422c-_0x3fab73._0x2f29fe);}function _0x291b20(_0x479f18,_0x3b64a3,_0x532d03,_0xb71a5f){return _0x36a7a4(_0x479f18,_0x3b64a3-0x179,_0x532d03- -_0x103b20._0x3bc944,_0xb71a5f-_0x103b20._0x3cb2e7);}return await _0x5e8f52[_0x410dfe(0x193,0x1e6,_0x104aa7._0x427832,0xad)](_0x291b20(0x597,0x5d6,_0x104aa7._0x12ab4c,_0x104aa7._0x4cdde7),{'item':_0xccd4e9})??[];},async 'outgoingCalls'(_0xef9334){const _0x468fd3={_0x2df479:0x1af};function _0x8e6cbe(_0x14c5e6,_0x456eb1,_0xa76e3f,_0x4dd3e5){return _0x36a7a4(_0x14c5e6,_0x456eb1-0x17a,_0x4dd3e5- -0x5e8,_0x4dd3e5-_0x468fd3._0x2df479);}function _0x5e5c8f(_0x13809e,_0x4086e1,_0x28aa00,_0x41311c){return _0x3a8938(_0x13809e-0x9e,_0x4086e1-_0x321c4e._0x27e9eb,_0x13809e,_0x41311c-0x172);}return await _0x5e8f52[_0x5e5c8f(0x674,_0x252aa3._0x3f43b9,_0x252aa3._0x2c8374,_0x252aa3._0x4480a2)](_0x5e5c8f(0x5ca,0x582,0x431,_0x252aa3._0x499d71),{'item':_0xef9334})??[];}},'waitForDiagnostics'({path:_0x3a6df4,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x2655a5={_0x3dbae6:0x21},_0x36c510={_0x577591:0x2ac},_0x30edde=uriForPath(_0x3a6df4);if(_0x442c22['has'](_0x30edde))return Promise[_0x4a7317(0x1c0,0x134,_0x104eda._0x2a1159,0x282)]();function _0x4a7317(_0x46d866,_0x1e31a5,_0x1ecf48,_0x2e4a04){return _0x36a7a4(_0x2e4a04,_0x1e31a5-0x111,_0x1ecf48- -_0x36c510._0x577591,_0x2e4a04-0x1dd);}return new Promise(_0x4c7c96=>{const _0x4e5691={_0x1840a6:0x418,_0x59b1ac:0x31b,_0x31377e:0x200,_0x543519:0x320,_0x4cb2f1:0x408};function _0x193999(_0x171979,_0x240660,_0x43ce08,_0x43d113){return _0x4a7317(_0x171979-0x77,_0x240660-0x18f,_0x43d113-_0x2655a5._0x3dbae6,_0x240660);}const _0x5e6fcd=setTimeout(()=>{const _0x1e2bb3={_0x193e63:0xd};function _0x483fa5(_0x1e2375,_0x3b2ea3,_0x540a8a,_0x5442ad){return _0x1df5(_0x1e2375-_0x1e2bb3._0x193e63,_0x540a8a);}function _0x204dc3(_0x4db626,_0x13d5a3,_0x1bcaa9,_0x393803){return _0x1df5(_0x13d5a3-0x142,_0x1bcaa9);}const _0x2ffc94=_0x2fadda[_0x483fa5(0x2c5,_0x4e5691._0x1840a6,0x283,_0x4e5691._0x59b1ac)](_0x30edde);_0x2ffc94?.[_0x483fa5(0x333,0x3dc,_0x4e5691._0x31377e,_0x4e5691._0x543519)](_0x657806);if(_0x2ffc94?.[_0x204dc3(0x404,0x4f0,0x394,0x398)]===0x0)_0x2fadda[_0x204dc3(_0x4e5691._0x4cb2f1,0x468,0x59c,0x3b9)](_0x30edde);_0x4c7c96();},timeoutMs),_0x657806=()=>{clearTimeout(_0x5e6fcd),_0x4c7c96();},_0x132d51=_0x2fadda[_0x568a41(_0x4ab700._0x5e0cf2,0x557,0x547,_0x4ab700._0x137bb1)](_0x30edde)??new Set();function _0x568a41(_0x52f374,_0x22d879,_0x1071ee,_0x263244){return _0x4a7317(_0x52f374-0x18,_0x22d879-0x1bb,_0x22d879-0x25a,_0x52f374);}_0x132d51[_0x193999(0x45f,0x537,_0x4ab700._0x3c772a,_0x4ab700._0x3aa397)](_0x657806),_0x2fadda['set'](_0x30edde,_0x132d51);});},async 'shutdown'(){const _0x6b388e={_0x323fb3:0xb6};if(_0x5b7a7b)return;function _0x18dac8(_0x58424b,_0x3955f8,_0x3134ec,_0x5e3f67){return _0x36a7a4(_0x5e3f67,_0x3955f8-_0x40a87c._0x3ae5a1,_0x58424b- -_0x40a87c._0x33366c,_0x5e3f67-_0x40a87c._0x584358);}_0x5b7a7b=!![];function _0x1be627(_0x588880,_0x195614,_0x8be5bb,_0xc3b5ff){return _0x36a7a4(_0x588880,_0x195614-0xd1,_0x8be5bb-_0x6b388e._0x323fb3,_0xc3b5ff-0xe8);}try{await _0x5e8f52[_0x18dac8(0x2ab,0x34c,_0x5d1fe0._0x4fc703,_0x5d1fe0._0x788275)](_0x1be627(_0x5d1fe0._0x401396,0x6d6,_0x5d1fe0._0x5d0bf9,_0x5d1fe0._0x27dafa),null),_0x5e8f52[_0x18dac8(0x341,0x226,_0x5d1fe0._0x1c4c47,0x499)](_0x18dac8(_0x5d1fe0._0x83f2a,0x376,_0x5d1fe0._0x11fb31,_0x5d1fe0._0x28c35f));}catch{}finally{_0x5e8f52[_0x1be627(_0x5d1fe0._0x47e777,0x65a,0x7a4,0x876)](),_0x5cb4dc[_0x18dac8(0x377,0x44b,_0x5d1fe0._0x27b92b,0x339)][_0x1be627(0x634,_0x5d1fe0._0x531099,_0x5d1fe0._0x171dfa,_0x5d1fe0._0x10867d)]['kill']();}}};function _0x36a7a4(_0x8fece9,_0x492427,_0x39bc0e,_0x4c8e51){return _0x3342ed(_0x8fece9-0x127,_0x8fece9,_0x39bc0e-0x22c,_0x4c8e51-_0x1f554d._0x17f385);}return _0x58316b;}import{spawn as _0x115e81}from'child_process';import{access as _0x54360a}from'fs/promises';import _0x140bbb from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x50ee3c from'os';import _0x141f16 from'path';import _0xd6a36b from'which';var installPromises=new Map();function sanitizePackageName(_0x49ab8a){const _0x4e9738={_0x2da8c1:0x2ad,_0x455076:0x28f,_0x1bb962:0x3aa,_0x1d66e4:0x458,_0x74ceda:0x354},_0x3d9ad5={_0x9b86f:0x1a,_0x155969:0x21a};function _0x2e0f1a(_0x277a59,_0x193341,_0x407567,_0x2dfecc){return _0x3342ed(_0x277a59-0xe7,_0x407567,_0x2dfecc- -0x15a,_0x2dfecc-0x6c);}function _0x3a31c5(_0x31c517,_0xedb5ab,_0x10f063,_0x44e17e){return _0x3342ed(_0x31c517-_0x3d9ad5._0x9b86f,_0x44e17e,_0x10f063- -_0x3d9ad5._0x155969,_0x44e17e-0x49);}return _0x49ab8a[_0x2e0f1a(_0x4e9738._0x2da8c1,0x299,_0x4e9738._0x455076,_0x4e9738._0x1bb962)](/^@/,'')[_0x2e0f1a(_0x4e9738._0x1d66e4,_0x4e9738._0x74ceda,0x4eb,_0x4e9738._0x1bb962)](/[/]/g,'__');}function binaryNameForPlatform(_0x3abecd){const _0x35363c={_0x403985:0x2c6,_0x40dcd2:0x18b,_0x196b2a:0x1ec,_0x1ecb64:0x2be,_0x5258fa:0xaf,_0x3f5e5a:0x1ed,_0x433809:0x159,_0x42d030:0xb4},_0x5cec76={_0x4c02d0:0x8};function _0x3e1fc0(_0x15d060,_0x9611e,_0x4bb66d,_0x57d4e5){return _0x3342ed(_0x15d060-0x65,_0x15d060,_0x57d4e5-_0x5cec76._0x4c02d0,_0x57d4e5-0xf3);}function _0x463d6c(_0x2c809b,_0x5dab10,_0x48d624,_0x20ed67){return _0x3342ed(_0x2c809b-0x1b9,_0x20ed67,_0x48d624- -0x17b,_0x20ed67-0x19a);}return process[_0x463d6c(_0x35363c._0x403985,0x2e8,_0x35363c._0x40dcd2,0x1f9)]===_0x3e1fc0(_0x35363c._0x196b2a,0x249,0x38e,_0x35363c._0x1ecb64)?_0x3abecd+_0x463d6c(_0x35363c._0x5258fa,_0x35363c._0x3f5e5a,_0x35363c._0x433809,_0x35363c._0x42d030):_0x3abecd;}async function exists(_0x3f5e76){try{return await access(_0x3f5e76),!![];}catch{return![];}}function runNpmInstall(_0x5c6e17,_0x566511,_0x3fbed8){const _0x337dd8={_0xc21aa:0x12e,_0x264935:0x47,_0x23b572:0x7c,_0x5d44cf:0xb0,_0x3d2ad9:0x48,_0x2a9551:0x30,_0x420844:0x110,_0x26fc59:0x2be,_0x5b6e6a:0x1ae,_0x1cc5be:0x65,_0x3516ef:0x1d6,_0x447482:0x9a,_0x3a1060:0x1c4,_0x382f73:0x17e,_0x3d60f6:0x6e},_0xd53bd={_0x3b6e6f:0x311};return new Promise(_0x45e926=>{const _0x9d55ef={_0x10e26f:0x275},_0x3c013c=spawn(_0xad9158(-0xed,-_0x337dd8._0xc21aa,0x42,-_0x337dd8._0x264935),[_0xad9158(-0x11a,-0x141,-_0x337dd8._0x23b572,-_0x337dd8._0x5d44cf),_0x45ddaf(-_0x337dd8._0x3d2ad9,-_0x337dd8._0x2a9551,-_0x337dd8._0x420844,0x5e),_0x5c6e17,_0x566511],{'env':_0x3fbed8,'stdio':_0x45ddaf(0x282,0x2cb,_0x337dd8._0x26fc59,_0x337dd8._0x5b6e6a)});function _0xad9158(_0x2487d0,_0x3890ca,_0x5d5f54,_0x5f5109){return _0x1df5(_0x3890ca- -_0xd53bd._0x3b6e6f,_0x2487d0);}_0x3c013c['on'](_0x45ddaf(-_0x337dd8._0x1cc5be,0xc7,_0x337dd8._0x3516ef,_0x337dd8._0x447482),()=>_0x45e926(![]));function _0x45ddaf(_0x41be0e,_0x2bbf78,_0x3d3623,_0x213296){return _0x1df5(_0x213296- -_0x9d55ef._0x10e26f,_0x41be0e);}_0x3c013c['on'](_0x45ddaf(0xf5,-_0x337dd8._0x3a1060,-_0x337dd8._0x382f73,-_0x337dd8._0x3d60f6),_0x4beac3=>_0x45e926(_0x4beac3===0x0));});}function shouldDisableLspDownload(_0x493e57=process[_0x257320(0x495,0x401,0x3a7,0x306)]){const _0x72987f={_0x12227b:0x1a6,_0x28ae0f:0x1aa,_0x38540f:0x4d},_0x229d46={_0x407a2b:0x63,_0x186f81:0x464};function _0x471d30(_0x1096c8,_0x42b9c5,_0x12be8d,_0x4bfeaf){return _0x3342ed(_0x1096c8-_0x229d46._0x407a2b,_0x1096c8,_0x4bfeaf- -_0x229d46._0x186f81,_0x4bfeaf-0x194);}const _0x55ccb3=_0x493e57[_0x471d30(0xa0,-_0x72987f._0x12227b,-_0x72987f._0x28ae0f,-_0x72987f._0x38540f)]?.['toLowerCase']();return _0x55ccb3==='true'||_0x55ccb3==='1'||_0x55ccb3==='yes'||_0x55ccb3==='on';}function getLspPackageDir(_0x4c5112){const _0x27b2f7={_0x249df4:0x72d,_0x2514ba:0x10c,_0x4e6975:0x1ea,_0x26ad9e:0x5f0,_0x42462f:0x5e3,_0x1c456b:0x50b},_0x3b988b={_0x3e62e6:0x9f};function _0x1816eb(_0x4c12ec,_0x54556e,_0x498727,_0x23b58b){return _0x257320(_0x4c12ec-0x15c,_0x54556e-_0x3b988b._0x3e62e6,_0x498727-0x1dc,_0x23b58b);}function _0x4ba32c(_0xf12b84,_0x6942ae,_0x72897d,_0x35a4f0){return _0x3342ed(_0xf12b84-0x1e8,_0x72897d,_0x6942ae- -0x1e8,_0x35a4f0-0x1af);}return _0x141f16[_0x1816eb(0x6bf,0x712,0x69e,0x743)](_0x50ee3c[_0x1816eb(0x604,0x6bc,_0x27b2f7._0x249df4,0x84d)](),_0x4ba32c(_0x27b2f7._0x2514ba,_0x27b2f7._0x4e6975,0x34f,0x193),'lsp',_0x1816eb(0x6ce,_0x27b2f7._0x26ad9e,_0x27b2f7._0x42462f,_0x27b2f7._0x1c456b),sanitizePackageName(_0x4c5112));}function getLspBinDir(_0x3f348b){const _0x4e98da={_0x5efcb5:0xd0},_0x47d032={_0x4e41b7:0xaf,_0x27f200:0x1a8};function _0x40d802(_0x386b25,_0x57b0be,_0x1c21a6,_0x226f8f){return _0x3342ed(_0x386b25-_0x47d032._0x4e41b7,_0x386b25,_0x226f8f- -0x365,_0x226f8f-_0x47d032._0x27f200);}return _0x141f16['join'](getLspPackageDir(_0x3f348b),'node_modules',_0x40d802(0x122,0x25d,_0x4e98da._0x5efcb5,0x129));}async function findPackageBinary(_0x19a997,_0x21ece5){const _0x25357f={_0x206e92:0x126,_0xa779cf:0x36d,_0x29d40f:0x4ed,_0x168c09:0x591,_0x1b7944:0x432};let _0x560fc5=_0x141f16[_0x10dd8e(0x1f6,_0x25357f._0x206e92,_0x25357f._0xa779cf,0x22d)](_0x21ece5);function _0x187988(_0x3bc577,_0x119b86,_0x1444d0,_0x44e241){return _0x3342ed(_0x3bc577-0x1bc,_0x3bc577,_0x44e241- -0x25b,_0x44e241-0x1e6);}function _0x10dd8e(_0x3f1501,_0x5d4cc6,_0x44711b,_0x214e82){return _0x257320(_0x3f1501-0x1ea,_0x5d4cc6-0x1a6,_0x214e82- -0x130,_0x44711b);}const _0x3ade04=binaryNameForPlatform(_0x19a997);while(!![]){const _0x42ecb9=_0x141f16['join'](_0x560fc5,'node_modules','.bin',_0x3ade04);if(await exists(_0x42ecb9))return _0x42ecb9;const _0xad1d7=_0x141f16[_0x10dd8e(_0x25357f._0x29d40f,0x2d2,_0x25357f._0x168c09,_0x25357f._0x1b7944)](_0x560fc5);if(_0xad1d7===_0x560fc5)return void 0x0;_0x560fc5=_0xad1d7;}}async function findPathBinary(_0x4f7315,_0x273c83){const _0x3d3807={_0x2de373:0x55e,_0x16500f:0x3ec,_0x3e8038:0x36e,_0x5194e2:0x2d0,_0x5d2963:0x43e,_0x7a1dc3:0x3f3,_0x2e79fe:0x494,_0x18c8ca:0x507,_0x4e2eb2:0x5c2,_0x475872:0x6fa,_0x5965c7:0x868,_0x961f58:0x5ff},_0x5326fe={_0x3e0027:0x255,_0x32e5a5:0x1bb};function _0xfaaf04(_0x4347e0,_0x14dcb6,_0x288287,_0x2a09e1){return _0x257320(_0x4347e0-0x1d1,_0x14dcb6-0x18b,_0x288287-0x45,_0x4347e0);}const _0x1ae0fc=getLspBinDir(_0x273c83),_0x2a787e=[_0x1ae0fc,process[_0xfaaf04(_0x3d3807._0x2de373,0x3d5,_0x3d3807._0x16500f,_0x3d3807._0x3e8038)][_0xfaaf04(_0x3d3807._0x5194e2,0x5b3,_0x3d3807._0x5d2963,_0x3d3807._0x7a1dc3)]]['filter'](Boolean)[_0xfaaf04(0x558,_0x3d3807._0x2e79fe,_0x3d3807._0x18c8ca,_0x3d3807._0x4e2eb2)](_0x141f16[_0xa6602a(0x844,_0x3d3807._0x475872,_0x3d3807._0x5965c7,_0x3d3807._0x961f58)]);function _0xa6602a(_0x1ad725,_0xb52e12,_0x365bf3,_0x51f783){return _0x3342ed(_0x1ad725-0x15e,_0x1ad725,_0xb52e12-_0x5326fe._0x3e0027,_0x51f783-_0x5326fe._0x32e5a5);}try{return await _0xd6a36b(_0x4f7315,{'path':_0x2a787e});}catch{return void 0x0;}}async function resolvePackageBinary(_0x52da10){const _0x5a8d3d={_0x3954c8:0x66a,_0x3bc393:0x3a1,_0x3b9dd0:0x266,_0xb1fdd0:0x854,_0x20603d:0xf5,_0x2b5563:0x2bc,_0x2e3326:0x172,_0x42dd2a:0x233,_0x3f0703:0x25b,_0x394a3e:0x233,_0x4d7895:0x263,_0x17e321:0x39f,_0x5f3811:0x2e3,_0x101f93:0x745,_0x2f2af9:0x69e,_0x1e3330:0x779},_0x520acb={_0x2b7935:0x10f},_0x33c2fa={_0x485174:0x31,_0x35da7d:0x71,_0x13d7b1:0x9c,_0x37a046:0x7f,_0x43051e:0x90,_0x49eb25:0x116,_0x1c19b7:0x30},_0x294619={_0x2c2e71:0x127},_0x25f3f7={_0x1d66f2:0x109,_0x5e0157:0x2b3},_0x310094=_0x52da10[_0x20d99d(0x681,_0x5a8d3d._0x3954c8,0x6aa,0x631)]??_0x52da10[_0x551cc9(_0x5a8d3d._0x3bc393,_0x5a8d3d._0x3b9dd0,0x2c5,0x2e3)],_0x491839=await findPackageBinary(_0x310094,_0x52da10[_0x20d99d(0x629,0x773,0x79d,_0x5a8d3d._0xb1fdd0)]);if(_0x491839)return _0x491839;const _0x74227e=await findPathBinary(_0x310094,_0x52da10['packageName']);if(_0x74227e)return _0x74227e;const _0x23e2b4=_0x52da10[_0x551cc9(_0x5a8d3d._0x20603d,_0x5a8d3d._0x2b5563,_0x5a8d3d._0x2e3326,_0x5a8d3d._0x42dd2a)]??process[_0x551cc9(0x289,_0x5a8d3d._0x3f0703,0x2ff,_0x5a8d3d._0x394a3e)];function _0x20d99d(_0x2168d6,_0x436e2f,_0x56af4a,_0x25d28b){return _0x3342ed(_0x2168d6-_0x25f3f7._0x1d66f2,_0x436e2f,_0x56af4a-_0x25f3f7._0x5e0157,_0x25d28b-0x9e);}if(shouldDisableLspDownload(_0x23e2b4))return void 0x0;const _0x509d2b=getLspPackageDir(_0x52da10['packageName']),_0x6277a2=_0x52da10[_0x551cc9(0x3f1,_0x5a8d3d._0x4d7895,_0x5a8d3d._0x17e321,_0x5a8d3d._0x5f3811)]+':'+_0x310094;let _0x9392f4=installPromises[_0x551cc9(0x221,0x2c2,0x1aa,0x295)](_0x6277a2);!_0x9392f4&&(_0x9392f4=((async()=>{const _0x5e8365={_0x516797:0x1e4,_0x1a4b92:0xf1};function _0x112c69(_0x6b49ca,_0x398350,_0x154887,_0x2b839a){return _0x551cc9(_0x6b49ca-0x95,_0x398350-_0x5e8365._0x516797,_0x2b839a,_0x154887-_0x5e8365._0x1a4b92);}await mkdir(_0x509d2b,{'recursive':!![]});const _0x397580=await runNpmInstall(_0x509d2b,_0x52da10[_0x1ad686(0x6e,_0x33c2fa._0x485174,-0x11,-_0x33c2fa._0x35da7d)],_0x23e2b4);function _0x1ad686(_0x1d9381,_0xb83098,_0x2fbe23,_0x83c39a){return _0x551cc9(_0x1d9381-0x123,_0xb83098-_0x294619._0x2c2e71,_0x2fbe23,_0xb83098- -0x2b2);}if(!_0x397580)return void 0x0;const _0x10c63b=_0x141f16[_0x1ad686(0xa1,_0x33c2fa._0x13d7b1,-_0x33c2fa._0x37a046,_0x33c2fa._0x43051e)](getLspBinDir(_0x52da10[_0x1ad686(-_0x33c2fa._0x49eb25,_0x33c2fa._0x485174,-_0x33c2fa._0x1c19b7,0x183)]),binaryNameForPlatform(_0x310094));return await exists(_0x10c63b)?_0x10c63b:void 0x0;})()),installPromises['set'](_0x6277a2,_0x9392f4));function _0x551cc9(_0x1002e7,_0x217bd0,_0x22ebeb,_0x385e6d){return _0x3342ed(_0x1002e7-_0x520acb._0x2b7935,_0x22ebeb,_0x385e6d- -0xe8,_0x385e6d-0xc7);}try{return await _0x9392f4;}catch{return void 0x0;}finally{installPromises[_0x20d99d(0x75c,_0x5a8d3d._0x101f93,_0x5a8d3d._0x2f2af9,_0x5a8d3d._0x1e3330)](_0x6277a2);}}var TYPESCRIPT_EXTENSIONS=[_0x257320(0x579,0x4d0,0x4ed,0x5a6),_0x3342ed(0x297,0x20b,0x23a,0x1db),_0x3342ed(0x445,0x2fb,0x358,0x22d),_0x3342ed(0x337,0x372,0x2f8,0x1ce),'.mjs',_0x3342ed(0x38b,0x133,0x252,0x183),_0x257320(0x354,0x2a9,0x39c,0x3ab),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x257320(0x206,0x42b,0x34c,0x3ba),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0x3342ed(0x43b,0x456,0x4d2,0x4d7),_0x257320(0x5c4,0x4b1,0x4a0,0x34b),_0x257320(0x610,0x3c7,0x4b7,0x46f),_0x257320(0x3be,0x464,0x32d,0x343),_0x257320(0x3cc,0x28a,0x389,0x226),_0x257320(0x2e4,0x3aa,0x31a,0x3c6),_0x3342ed(0x203,0x337,0x24a,0x325)],BIOME_ROOT_MARKERS=[_0x3342ed(0x2e9,0x299,0x289,0x157),_0x3342ed(0x342,0x311,0x450,0x5c3),_0x257320(0x2d8,0x1be,0x2b3,0x23f),_0x257320(0x525,0x3fc,0x55e,0x54d),_0x3342ed(0x30b,0x554,0x414,0x35b),_0x3342ed(0x4c9,0x464,0x42b,0x54e),_0x3342ed(0x1ae,0x2fd,0x2a1,0x1fe),_0x3342ed(0x35a,0x280,0x24a,0x13c)];async function exists2(_0x263e82){try{return await _0x54360a(_0x263e82),!![];}catch{return![];}}async function findUp(_0x39c163,_0x13b3cc){const _0x121120={_0x26a53a:0x30,_0x23ac84:0x1bf,_0x2bd9fb:0x376,_0x37a405:0x188},_0x51d362={_0x48ff29:0x1f2};function _0x105522(_0x2e428c,_0x385a70,_0x12993d,_0x50e312){return _0x3342ed(_0x2e428c-0x1d8,_0x2e428c,_0x50e312- -0x219,_0x50e312-0x2d);}let _0xfafd65=_0x140bbb[_0x105522(-0x8b,-_0x121120._0x26a53a,_0x121120._0x23ac84,0xb8)](_0x39c163);const _0x5096bf=_0x140bbb[_0x105522(_0x121120._0x2bd9fb,_0x121120._0x37a405,0x185,0x28d)](_0xfafd65);if(_0x5096bf)_0xfafd65=_0x140bbb['dirname'](_0xfafd65);function _0xc1a6d(_0x59a65a,_0x5c9a9d,_0x14b830,_0x5196ae){return _0x257320(_0x59a65a-0x11a,_0x5c9a9d-0x40,_0x59a65a- -_0x51d362._0x48ff29,_0x14b830);}while(!![]){for(const _0x1fd28a of _0x13b3cc){if(await exists2(_0x140bbb['join'](_0xfafd65,_0x1fd28a)))return _0xfafd65;}const _0x37884d=_0x140bbb['dirname'](_0xfafd65);if(_0x37884d===_0xfafd65)return void 0x0;_0xfafd65=_0x37884d;}}async function hasDenoRoot(_0x12e06a){const _0x33f340={_0x59e726:0x472},_0x4572a6={_0x37c6a9:0x123,_0x1a4d90:0xf0,_0x642efc:0x91},_0x24feb6={_0x1b7942:0xab,_0x2b4de2:0x331};function _0x7e7293(_0x50a48b,_0x57e618,_0x550dd1,_0x105358){return _0x3342ed(_0x50a48b-_0x24feb6._0x1b7942,_0x57e618,_0x105358- -_0x24feb6._0x2b4de2,_0x105358-0x14e);}function _0x4b3a3e(_0x595f84,_0x433c15,_0x4ca9ef,_0x31083c){return _0x257320(_0x595f84-_0x4572a6._0x37c6a9,_0x433c15-_0x4572a6._0x1a4d90,_0x4ca9ef-_0x4572a6._0x642efc,_0x433c15);}return await exists2(_0x140bbb['join'](_0x12e06a,_0x4b3a3e(0x4f3,0x4f4,_0x33f340._0x59e726,0x326)))||await exists2(_0x140bbb[_0x7e7293(-0x2f,0x1fd,0x6e,0x105)](_0x12e06a,'deno.jsonc'));}async function resolveTsserverPath(_0xe914a6){const _0xd17e32={_0x1f36b2:0x1b3,_0x4474be:0x41,_0x2941af:0x7f,_0x855b6e:0x168,_0x22826e:0x2e6,_0x121a80:0x1e1,_0x2dd59f:0x113,_0x4a54bc:0x1c4,_0x675f4e:0x2d4,_0x2b80d1:0x1dc,_0x26dae0:0x156,_0x48ae07:0x727,_0x5c6871:0x635,_0x149e2c:0x81d,_0x478d10:0x1dd,_0x3817e2:0x66,_0x32a0b7:0xbb,_0x3500c6:0x768,_0x5d5825:0x6d7,_0x3c086e:0x265,_0x3c78ef:0x18e},_0x39334c={_0x113295:0x199,_0x52c1c3:0x39e},_0x39917e={_0x38c5ea:0x1ee};let _0x5db5ae=_0x140bbb[_0x4214bc(-_0xd17e32._0x1f36b2,-_0xd17e32._0x4474be,-0xdf,_0xd17e32._0x2941af)](_0xe914a6);function _0x59ac10(_0x381e0f,_0x23a5cb,_0x4333fa,_0x2dc197){return _0x257320(_0x381e0f-0xfd,_0x23a5cb-0x51,_0x4333fa-_0x39917e._0x38c5ea,_0x23a5cb);}while(!![]){const _0x355cd4=_0x140bbb[_0x4214bc(0x39,0x124,0x6,_0xd17e32._0x855b6e)](_0x5db5ae,'node_modules','typescript','lib',_0x4214bc(0xbd,0x1ad,_0xd17e32._0x22826e,_0xd17e32._0x121a80));if(await exists2(_0x355cd4))return _0x355cd4;const _0xb07c8b=_0x140bbb[_0x4214bc(_0xd17e32._0x2dd59f,_0xd17e32._0x4a54bc,0x83,_0xd17e32._0x675f4e)](_0x5db5ae);if(_0xb07c8b===_0x5db5ae)break;_0x5db5ae=_0xb07c8b;}const _0x4b49ac=getLspPackageDir(_0x4214bc(0x1b9,_0xd17e32._0x2b80d1,0x101,_0xd17e32._0x26dae0)),_0x5495cc=await resolvePackageBinary({'packageName':_0x59ac10(_0xd17e32._0x48ae07,0x8db,0x768,_0xd17e32._0x5c6871),'binaryName':_0x59ac10(0x76a,_0xd17e32._0x149e2c,0x77b,0x866),'startDir':_0xe914a6});if(!_0x5495cc)return void 0x0;const _0x591295=_0x140bbb['join'](_0x4b49ac,_0x4214bc(-_0xd17e32._0x478d10,-0x85,_0xd17e32._0x3817e2,_0xd17e32._0x32a0b7),_0x59ac10(0x76d,0x78a,_0xd17e32._0x3500c6,0x7a1),_0x59ac10(0x6cf,0x74c,0x683,_0xd17e32._0x5d5825),_0x4214bc(_0xd17e32._0x3c086e,0x1ad,_0xd17e32._0x3c78ef,0x11d));function _0x4214bc(_0x2a46ad,_0x384910,_0x5740ad,_0x391257){return _0x257320(_0x2a46ad-_0x39334c._0x113295,_0x384910-0x14d,_0x384910- -_0x39334c._0x52c1c3,_0x5740ad);}return await exists2(_0x591295)?_0x591295:void 0x0;}var TypeScriptServer={'id':'typescript','name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x527f8b){const _0x2a2530=await findUp(_0x527f8b,TYPESCRIPT_ROOT_MARKERS);if(!_0x2a2530)return void 0x0;return await hasDenoRoot(_0x2a2530)?void 0x0:_0x2a2530;},async 'spawn'(_0x4e7054){const _0x549c4e={_0x57c9f2:0x166,_0x57249e:0x16e,_0x34417a:0xdf,_0x52ba0b:0xa0,_0x5089c9:0x141,_0x12c2cc:0x1a8,_0x16f295:0x2b4,_0x314c37:0x299},_0x6ae680={_0x458d93:0x2d3},_0x29d5e1={_0x51496e:0xcb,_0x1f44d7:0x30e},_0x2b5cb4=await resolveTsserverPath(_0x4e7054);if(!_0x2b5cb4)return void 0x0;const _0x16e6fd=await resolvePackageBinary({'packageName':_0x20f946(0x127,_0x549c4e._0x57c9f2,_0x549c4e._0x57249e,0xb),'binaryName':'typescript-language-server','startDir':_0x4e7054});function _0x324d73(_0x3bc1f3,_0x489d66,_0x3abf85,_0x527d91){return _0x257320(_0x3bc1f3-0xf4,_0x489d66-_0x29d5e1._0x51496e,_0x527d91- -_0x29d5e1._0x1f44d7,_0x3abf85);}if(!_0x16e6fd)return void 0x0;function _0x20f946(_0x54ac6b,_0x4a3620,_0x1406ea,_0x1c8cd2){return _0x257320(_0x54ac6b-0x57,_0x4a3620-0xf8,_0x54ac6b- -_0x6ae680._0x458d93,_0x1c8cd2);}return{'process':_0x115e81(_0x16e6fd,[_0x324d73(-0x64,0x1da,_0x549c4e._0x34417a,_0x549c4e._0x52ba0b)],{'cwd':_0x4e7054,'stdio':_0x20f946(_0x549c4e._0x5089c9,_0x549c4e._0x12c2cc,_0x549c4e._0x16f295,_0x549c4e._0x314c37)}),'initialization':{'tsserver':{'path':_0x2b5cb4}}};}},BiomeServer={'id':_0x3342ed(0x58a,0x322,0x42d,0x3b1),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x542cd1){return findUp(_0x542cd1,BIOME_ROOT_MARKERS);},async 'spawn'(_0x224f72){const _0x5267e4={_0x441c10:0x322,_0x4886cd:0x1f8,_0x34d839:0x281,_0x2cda99:0x369,_0x273aad:0x27,_0x5b925f:0xad,_0xb30e74:0x91,_0x2aecc5:0x113,_0x17d3a2:0x222,_0x245a22:0x125},_0x59f809={_0x227147:0x188,_0x324f9a:0x199},_0x5bdab4={_0x4872d8:0x1f1};function _0x57bd16(_0x37435e,_0x2ec061,_0x51304b,_0x39ec94){return _0x3342ed(_0x37435e-_0x5bdab4._0x4872d8,_0x37435e,_0x2ec061- -0x275,_0x39ec94-0x48);}function _0x5d1212(_0x536926,_0x1e88d0,_0x48acdb,_0x1f329f){return _0x3342ed(_0x536926-0x8d,_0x536926,_0x48acdb- -_0x59f809._0x227147,_0x1f329f-_0x59f809._0x324f9a);}const _0x559144=await findPackageBinary('biome',_0x224f72)??await resolvePackageBinary({'packageName':'@biomejs/biome','binaryName':_0x57bd16(_0x5267e4._0x441c10,0x1b8,_0x5267e4._0x4886cd,0x189),'startDir':_0x224f72});if(!_0x559144)return void 0x0;return{'process':_0x115e81(_0x559144,[_0x5d1212(0x336,_0x5267e4._0x34d839,_0x5267e4._0x2cda99,0x254),_0x57bd16(_0x5267e4._0x273aad,_0x5267e4._0x5b925f,_0x5267e4._0xb30e74,0x28)],{'cwd':_0x224f72,'stdio':_0x57bd16(-0x66,_0x5267e4._0x2aecc5,_0x5267e4._0x17d3a2,_0x5267e4._0x245a22)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x562712){const _0x531f17={_0x27d8df:0x7d4,_0x10099f:0x798,_0x1f37dd:0x8cd,_0xe3cb4:0x41e},_0x1e7cc1={_0x437f63:0x11c,_0x15199c:0x1bd,_0x222ea8:0xae},_0x1621a2={_0x16731f:0xf2,_0x9b8e5d:0x278},_0x361786=_0x140bbb[_0x45cfda(_0x531f17._0x27d8df,0x7aa,_0x531f17._0x10099f,_0x531f17._0x1f37dd)](_0x562712)[_0x38d022(0x3a3,0x3fb,_0x531f17._0xe3cb4,0x565)]();function _0x45cfda(_0x10c7fd,_0x410a35,_0x55f77f,_0x4fa463){return _0x257320(_0x10c7fd-0xa0,_0x410a35-_0x1621a2._0x16731f,_0x410a35-_0x1621a2._0x9b8e5d,_0x4fa463);}function _0x38d022(_0x58e5c7,_0x5b230d,_0xbb509,_0x48c15f){return _0x257320(_0x58e5c7-_0x1e7cc1._0x437f63,_0x5b230d-_0x1e7cc1._0x15199c,_0x5b230d-_0x1e7cc1._0x222ea8,_0x48c15f);}return BUILTIN_LSP_SERVERS[_0x45cfda(0x544,0x5e7,0x4b6,0x52f)](_0x44cb78=>_0x44cb78[_0x38d022(0x3cd,0x411,0x4ac,0x2c3)][_0x38d022(0x71a,0x5ef,0x754,0x649)](_0x361786));}function stateKey(_0x2596f9,_0x26581a){return _0x26581a+':'+_0x2596f9['id'];}function diagnosticsKeyToPath(_0xec5267){const _0x29a61d={_0x178e26:0x572,_0x5e337d:0x515,_0x267d23:0x581,_0x1279d4:0x400},_0x375d57={_0x3c4661:0xe,_0x53e600:0x1b7,_0xc7bfa:0x35},_0x409741={_0x2cee10:0x7f,_0x3416ae:0xee};function _0x2df0d3(_0xc5cc45,_0x48f1a2,_0x6c7f9a,_0x5b83f9){return _0x257320(_0xc5cc45-_0x409741._0x2cee10,_0x48f1a2-_0x409741._0x3416ae,_0x6c7f9a-0xd6,_0x48f1a2);}function _0x271c63(_0x46d9c9,_0x513285,_0x48c594,_0x343ed0){return _0x3342ed(_0x46d9c9-_0x375d57._0x3c4661,_0x46d9c9,_0x48c594- -_0x375d57._0x53e600,_0x343ed0-_0x375d57._0xc7bfa);}if(!_0xec5267[_0x2df0d3(_0x29a61d._0x178e26,_0x29a61d._0x5e337d,0x59b,_0x29a61d._0x267d23)](_0x2df0d3(_0x29a61d._0x1279d4,0x3f1,0x54b,0x50b)))return _0xec5267;return fileURLToPath(_0xec5267);}function nextFileVersion(_0x23ea66,_0x2fede8){const _0x79d968={_0x149a84:0x46,_0x3f23d3:0x494,_0x38878c:0x58f,_0xd99c9b:0xf7,_0x3fa657:0x4},_0x4d0411={_0x53e63b:0x1f2,_0x26dad4:0x29a},_0x2ccaa1={_0x3129cd:0x8b},_0x1e2d45=(_0x23ea66[_0x306a26(-_0x79d968._0x149a84,0xb5,0x1f,0x16f)][_0x5c2e68(0x45f,_0x79d968._0x3f23d3,0x4b5,_0x79d968._0x38878c)](_0x2fede8)??0x1)+0x1;_0x23ea66[_0x306a26(-_0x79d968._0xd99c9b,-0x107,0x1f,_0x79d968._0x3fa657)]['set'](_0x2fede8,_0x1e2d45);function _0x5c2e68(_0x33216e,_0x18ca71,_0x386ebc,_0x883516){return _0x257320(_0x33216e-0x83,_0x18ca71-0x5e,_0x18ca71-_0x2ccaa1._0x3129cd,_0x386ebc);}function _0x306a26(_0x2ebc8f,_0x2029c3,_0x462d6f,_0x183114){return _0x257320(_0x2ebc8f-0x177,_0x2029c3-_0x4d0411._0x53e63b,_0x462d6f- -_0x4d0411._0x26dad4,_0x2ebc8f);}return _0x1e2d45;}async function collectClientResults(_0x114780){const _0x3df080={_0x5a044c:0x35f,_0x4c6491:0x3ea,_0x169e07:0x1fa,_0x3ba362:0x119},_0x52b6b1={_0x4c829e:0x166,_0x93b7de:0x30f},_0x3faeda={_0x4a4667:0xb0},_0x1006f9=await Promise[_0x1bde9d(0x3ce,_0x3df080._0x5a044c,0x4c8,_0x3df080._0x4c6491)](_0x114780);function _0x1bde9d(_0x5b2b41,_0xda101c,_0x50d34c,_0x33609c){return _0x3342ed(_0x5b2b41-0x183,_0x50d34c,_0x5b2b41-0x9b,_0x33609c-_0x3faeda._0x4a4667);}function _0xe6e8ea(_0x220590,_0x3207e0,_0x1aa43c,_0x1ac636){return _0x257320(_0x220590-0x9c,_0x3207e0-_0x52b6b1._0x4c829e,_0x220590- -_0x52b6b1._0x93b7de,_0x3207e0);}return _0x1006f9[_0xe6e8ea(_0x3df080._0x169e07,0x29a,0x2e6,_0x3df080._0x3ba362)](_0x1b55c7=>_0x1b55c7['status']==='fulfilled'?_0x1b55c7['value']:[]);}function createLspService(_0x326ac7={}){const _0x57ba34={_0x2985d2:0x895,_0x51243:0x689},_0x5f4880={_0x10c67d:0x55c,_0xfb363:0x5dc,_0x21f853:0x246,_0x529e37:0xf6,_0xfa254b:0x186,_0x3cb264:0x54b,_0x1876e6:0x6a3,_0x9d8a9:0x6bb,_0x5c32fd:0x1fb,_0x445aad:0x181,_0x13019d:0xb1,_0xd8b6d7:0x11,_0x248b40:0x196,_0x5b7d89:0x146,_0x277b38:0x20f,_0x17ad60:0x1c6,_0x123a88:0xa5,_0x42e42f:0xac,_0x329086:0x1ae,_0x49a1d3:0x1b9,_0xc47549:0x146,_0x4f4582:0x12e,_0x256a2e:0x3c,_0x1dcf02:0x4cf,_0xcf9a34:0x49d,_0x2c2148:0x3f6,_0x45c8e7:0x47a,_0x1f9d3e:0x4dc},_0x27c5e4={_0x15f8ef:0x492,_0x439803:0x13c,_0x46f58e:0x1db},_0x43f071={_0x3cb3d1:0x394,_0x4f3121:0x378},_0x3c49d5={_0x17e084:0x46,_0x20f9f7:0x18,_0x478b65:0x104},_0x324b51={_0x465a81:0x5d5,_0x51f18b:0x4d4},_0x1aafc5={_0x53cce2:0x10e},_0x5692d4={_0x1b154c:0x31f,_0x11362c:0x3cd,_0x235aeb:0x4b5},_0x16ac95={_0x1603f7:0xae},_0x548961={_0x5ecda1:0xd1,_0x1820f3:0x1f4},_0x15a345={_0x2a77b8:0x168,_0x2cc21e:0x160},_0x2de638={_0x16ec0a:0x20e,_0x5c8c13:0x33e,_0x2519ba:0x3cc,_0x559027:0x4e5,_0x28bb75:0x41f},_0x4c5661={_0x251daa:0x127,_0xce2ca0:0x115,_0x5a29ba:0xb0},_0x5060d3={_0x53f7c5:0xcc,_0x23455a:0x94},_0x37d9e0={_0x1ac251:0x54c},_0xad8094={_0x20a595:0x4f},_0x2d297c={_0x1a7340:0xab,_0x1768d2:0xb7},_0x14855a={_0x4074a2:0x896,_0x4da713:0x7a3,_0x19b55e:0x62d},_0x3c8c6e={_0x43d169:0x1d8},_0x56adf0={_0x52bd30:0x1f7,_0x3fcb35:0x1b4,_0x54f444:0x248,_0x105633:0x237,_0x1e4195:0x18a},_0x1c4dde={_0x180946:0xd0},_0x1eeca9={_0xc5fa79:0xf3,_0x5d4e5c:0xca,_0xef391f:0x332,_0x429cd5:0x214,_0xd4e1ef:0x21b,_0x5666d4:0x21b,_0x3fc9fe:0x7d,_0x45e04f:0xc3,_0x37852b:0x451,_0x2379d4:0xb4,_0x5eb178:0xc1,_0xc85f7c:0x28e,_0x4336d8:0x10c,_0x4fd810:0x55},_0x1032e9={_0x1eb190:0x39f,_0x5620cf:0x31e,_0x27ea40:0x264,_0x152b9d:0x541,_0x221841:0x581,_0x3c6387:0x547,_0x535e37:0x564,_0xc3441d:0x486,_0x465abb:0x61f,_0x248c9f:0x4fa},_0x2792d9={_0x70f331:0x651,_0x4efeb7:0x762,_0x14bb58:0x71e,_0x38b74d:0x657,_0x5a8697:0x5b1,_0x296d57:0x652,_0x367715:0x59c,_0x3a433a:0x458,_0x9f714:0x5b0,_0x3f2ff0:0x48f,_0x1c3117:0x3e3,_0x17511b:0x47e,_0x203887:0x3b7,_0x2cddf5:0x693,_0xcd7e8b:0x551,_0x2c475f:0x3f5},_0x18875d={_0x297fcd:0x3ac,_0x5ba70a:0x13f},_0x1cbd05={_0x39982b:0x382},_0x347990={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x364790=()=>_0x326ac7[_0x3bdbbe(0x2a,0x75,0x1de,0x1bf)]!==![];async function _0x4216da(_0x2e7b15,_0x986f41){const _0x41cd56={_0x526935:0x3c2,_0x5b1543:0x3db,_0x474102:0x55e,_0x36a226:0x5c1,_0x123a89:0x4e7,_0x2638e9:0x5ec,_0x584c6a:0x66b,_0x205146:0x5da,_0x20da67:0x724,_0x5141b4:0x6d1,_0x53937b:0x672,_0x386e15:0x58f,_0x5d097b:0x622,_0x521019:0x481,_0x4808eb:0x436,_0x1cdbbe:0x42c,_0x4a9f43:0x455,_0x34779e:0x2e8,_0x16b873:0x219,_0x4a23eb:0x264,_0x23adf4:0x35a,_0x2d379e:0x1e5,_0x4d69e3:0x21c},_0x238b81={_0x3abb2c:0x23b,_0x28951a:0x188},_0x38f817={_0x3e6393:0x7d},_0x5f4702=stateKey(_0x2e7b15,_0x986f41),_0x35dfc0=_0x347990[_0x18d136(0x5d8,_0x2792d9._0x70f331,_0x2792d9._0x4efeb7,0x76c)][_0x279166(0x722,_0x2792d9._0x14bb58,_0x2792d9._0x38b74d,0x6dd)](_0x583a99=>_0x583a99[_0x279166(0x622,0x494,0x4fa,0x46b)]===_0x2e7b15['id']&&_0x583a99['root']===_0x986f41);if(_0x35dfc0)return _0x35dfc0;function _0x18d136(_0x28af85,_0x32edd5,_0x2130b7,_0x2ebaa3){return _0x3bdbbe(_0x2130b7,_0x32edd5-_0x1cbd05._0x39982b,_0x2130b7-0x66,_0x2ebaa3-0xc);}function _0x279166(_0x37ab0d,_0x27f2e7,_0x118cad,_0x1cf2b0){return _0x3bdbbe(_0x37ab0d,_0x118cad-_0x18875d._0x297fcd,_0x118cad-_0x18875d._0x5ba70a,_0x1cf2b0-0x81);}if(_0x347990[_0x18d136(0x5a3,_0x2792d9._0x5a8697,_0x2792d9._0x296d57,_0x2792d9._0x367715)][_0x18d136(_0x2792d9._0x3a433a,0x510,0x635,_0x2792d9._0x9f714)](_0x5f4702))return void 0x0;const _0x333dc9=_0x347990[_0x279166(_0x2792d9._0x3f2ff0,_0x2792d9._0x1c3117,_0x2792d9._0x17511b,_0x2792d9._0x203887)][_0x279166(_0x2792d9._0x2cddf5,0x52b,_0x2792d9._0xcd7e8b,0x649)](_0x5f4702);if(_0x333dc9)return _0x333dc9;const _0x455a12=((async()=>{function _0x815c60(_0x634d94,_0x41048d,_0x210c65,_0x4fddeb){return _0x279166(_0x4fddeb,_0x41048d-0x75,_0x210c65- -_0x38f817._0x3e6393,_0x4fddeb-0x65);}function _0x3a4f5f(_0x2287ce,_0x341c3c,_0xe61567,_0x31029f){return _0x18d136(_0x2287ce-0x152,_0x341c3c- -_0x238b81._0x3abb2c,_0x31029f,_0x31029f-_0x238b81._0x28951a);}try{const _0x59dfb3=await _0x2e7b15[_0x3a4f5f(0x387,_0x41cd56._0x526935,_0x41cd56._0x5b1543,0x38f)](_0x986f41);if(!_0x59dfb3)return _0x347990[_0x815c60(0x3f0,0x4ae,_0x41cd56._0x474102,_0x41cd56._0x36a226)][_0x815c60(0x77b,_0x41cd56._0x123a89,0x63d,_0x41cd56._0x2638e9)](_0x5f4702),void 0x0;const _0x788f71=await createLspClient({'server':_0x2e7b15,'root':_0x986f41,'handle':_0x59dfb3}),_0x55094e=_0x347990['clients'][_0x815c60(_0x41cd56._0x584c6a,0x624,_0x41cd56._0x205146,_0x41cd56._0x20da67)](_0x1d9a4e=>_0x1d9a4e['serverId']===_0x2e7b15['id']&&_0x1d9a4e[_0x3a4f5f(0x228,0x1e3,0x108,0xb7)]===_0x986f41);if(_0x55094e)return await _0x788f71[_0x815c60(_0x41cd56._0x5141b4,_0x41cd56._0x53937b,_0x41cd56._0x386e15,_0x41cd56._0x5d097b)](),_0x55094e;return _0x347990[_0x3a4f5f(_0x41cd56._0x521019,0x416,0x3ab,0x345)][_0x815c60(0x2e2,0x303,_0x41cd56._0x4808eb,_0x41cd56._0x1cdbbe)](_0x788f71),_0x788f71;}catch{return _0x347990['broken'][_0x3a4f5f(0x38d,_0x41cd56._0x4a9f43,0x539,0x569)](_0x5f4702),void 0x0;}finally{_0x347990[_0x3a4f5f(_0x41cd56._0x34779e,_0x41cd56._0x16b873,0x350,0x371)][_0x3a4f5f(_0x41cd56._0x4a23eb,_0x41cd56._0x23adf4,_0x41cd56._0x2d379e,_0x41cd56._0x4d69e3)](_0x5f4702);}})());return _0x347990['spawning'][_0x279166(0x418,0x31f,_0x2792d9._0x2c475f,0x333)](_0x5f4702,_0x455a12),_0x455a12;}async function _0x484172(_0x4fb3d0,_0x3dab5b){const _0x58bbe0={_0x2c5995:0x1c8};if(!_0x364790())return[];function _0x388aab(_0x55bba2,_0x44cc6d,_0x2b4636,_0x40ff45){return _0x3bdbbe(_0x55bba2,_0x40ff45-_0x58bbe0._0x2c5995,_0x2b4636-0x84,_0x40ff45-0x14e);}const _0x4be19a=[];for(const _0x4603af of getServersForFile(_0x4fb3d0)){const _0x1454f8=await _0x4603af[_0x388aab(_0x1032e9._0x1eb190,_0x1032e9._0x5620cf,0x1b2,_0x1032e9._0x27ea40)](_0x4fb3d0);if(!_0x1454f8)continue;const _0x5075c1=stateKey(_0x4603af,_0x1454f8);if(_0x347990['broken'][_0x34476f(0x4e4,0x512,_0x1032e9._0x152b9d,_0x1032e9._0x221841)](_0x5075c1))continue;const _0x54a275=_0x347990['clients'][_0x34476f(_0x1032e9._0x3c6387,0x7b2,0x752,0x69e)](_0x4e618f=>_0x4e618f['serverId']===_0x4603af['id']&&_0x4e618f['root']===_0x1454f8);if(_0x54a275){_0x4be19a['push'](_0x54a275);continue;}if(!_0x3dab5b)continue;const _0x8b8e10=await _0x4216da(_0x4603af,_0x1454f8);if(_0x8b8e10)_0x4be19a[_0x34476f(_0x1032e9._0x535e37,_0x1032e9._0xc3441d,_0x1032e9._0x465abb,_0x1032e9._0x248c9f)](_0x8b8e10);}function _0x34476f(_0x2b44d5,_0x1193c6,_0x257a67,_0x30fc88){return _0x3bdbbe(_0x257a67,_0x30fc88-0x3f3,_0x257a67-0xd1,_0x30fc88-0xd9);}return _0x4be19a;}async function _0x178914(_0x387198,_0x17a703=![]){const _0x206ace={_0x52dcd8:0x122,_0x118130:0x1a9,_0x48dda2:0x35a},_0x33c51b={_0x58abbc:0x189,_0x43f110:0x52};function _0x286b07(_0x559d61,_0x1172bb,_0x6751c3,_0x2fefc4){return _0x3bdbbe(_0x6751c3,_0x2fefc4- -_0x33c51b._0x58abbc,_0x6751c3-_0x33c51b._0x43f110,_0x2fefc4-0x5a);}const _0x2082ae=await _0x484172(_0x387198,!![]);await Promise['all'](_0x2082ae[_0x286b07(-_0x1c4dde._0x180946,-0xf9,-0x215,-_0x1c4dde._0x180946)](async _0x13ed68=>{const _0x4c7d45={_0x2770aa:0x108,_0x2c3210:0x33};function _0x39396d(_0x3fc003,_0x423db2,_0x257a59,_0x219f45){return _0x286b07(_0x3fc003-_0x4c7d45._0x2770aa,_0x423db2-_0x4c7d45._0x2c3210,_0x423db2,_0x3fc003- -0x79);}!_0x347990[_0x39396d(-0x57,-_0x1eeca9._0xc5fa79,_0x1eeca9._0x5d4e5c,0x50)]['has'](_0x13ed68['serverId']+':'+_0x13ed68[_0x25f09a(_0x1eeca9._0xef391f,0x15d,_0x1eeca9._0x429cd5,0x26d)]+':'+_0x387198)&&(await _0x13ed68[_0x25f09a(0x205,_0x1eeca9._0xd4e1ef,0xe6,_0x1eeca9._0x5666d4)][_0x39396d(_0x1eeca9._0x3fc9fe,0xa,-_0x1eeca9._0x45e04f,0x1a5)]({'path':_0x387198}),_0x347990[_0x25f09a(0x4e7,_0x1eeca9._0x37852b,0x2b7,0x37c)]['add'](_0x13ed68[_0x39396d(-_0x1eeca9._0x2379d4,-0x22b,_0x1eeca9._0x5eb178,0x39)]+':'+_0x13ed68['root']+':'+_0x387198));function _0x25f09a(_0x4949db,_0x1fe927,_0x481569,_0x1e293a){return _0x286b07(_0x4949db-_0x206ace._0x52dcd8,_0x1fe927-_0x206ace._0x118130,_0x1fe927,_0x1e293a-_0x206ace._0x48dda2);}await _0x13ed68[_0x25f09a(_0x1eeca9._0xc85f7c,_0x1eeca9._0x4336d8,0x2ca,0x21b)][_0x39396d(-_0x1eeca9._0x4fd810,0x2c,-0x11b,0x33)]({'path':_0x387198,'version':nextFileVersion(_0x347990,_0x387198)});if(_0x17a703)await _0x13ed68['waitForDiagnostics']({'path':_0x387198});}));}async function _0x18bb10(_0x1cfe82){const _0x5e119f={_0x53cb74:0x209};await _0x178914(_0x1cfe82[_0x6264d1(_0x56adf0._0x52bd30,_0x56adf0._0x3fcb35,_0x56adf0._0x54f444,_0x56adf0._0x105633)],![]);function _0x6264d1(_0x4bed75,_0x32c008,_0x4e22ce,_0x2cc1b1){return _0x3bdbbe(_0x32c008,_0x4e22ce-_0x5e119f._0x53cb74,_0x4e22ce-0x95,_0x2cc1b1-0x163);}function _0x411c8e(_0x3c69bf,_0x3b7ec4,_0x5ef62e,_0xd56f2a){return _0x3bdbbe(_0x3c69bf,_0x3b7ec4-0x14b,_0x5ef62e-0x13b,_0xd56f2a-0x1ad);}return _0x484172(_0x1cfe82[_0x411c8e(0x20e,_0x56adf0._0x1e4195,0x2f3,0x122)],![]);}function _0x3bdbbe(_0x34c932,_0x23cd5e,_0x58fc97,_0x45a780){return _0x3342ed(_0x34c932-0xa6,_0x34c932,_0x23cd5e- -_0x3c8c6e._0x43d169,_0x45a780-0x3f);}async function _0x38f7aa(_0x2bf033){function _0x3ba768(_0x5b86e1,_0x1e6dc9,_0x51f131,_0x3ceb30){return _0x3bdbbe(_0x3ceb30,_0x51f131- -0x29d,_0x51f131-0x108,_0x3ceb30-0x34);}const _0x40b3fa=await _0x18bb10(_0x2bf033);return collectClientResults(_0x40b3fa['map'](_0x480572=>_0x480572[_0x3ba768(-0x111,-0x1d8,-0xbd,-0x11c)]['prepareCallHierarchy'](_0x2bf033)));}return{'isEnabled':_0x364790,async 'hasClients'(_0x5b5abf){const _0x41f531={_0x3fe87f:0x4e6,_0x3badf4:0x1};function _0x3338dd(_0x58db45,_0x4ed261,_0x5cecdd,_0x574808){return _0x3bdbbe(_0x574808,_0x5cecdd-_0x41f531._0x3fe87f,_0x5cecdd-0x2,_0x574808-_0x41f531._0x3badf4);}return(await _0x484172(_0x5b5abf,![]))[_0x3338dd(0x62a,_0x14855a._0x4074a2,_0x14855a._0x4da713,_0x14855a._0x19b55e)]>0x0||getServersForFile(_0x5b5abf)['length']>0x0;},'touchFile':_0x178914,async 'diagnostics'(){function _0xfbf477(_0x3b83e1,_0x689053,_0x2645ba,_0x2f838e){return _0x3bdbbe(_0x3b83e1,_0x689053- -0x218,_0x2645ba-0x19b,_0x2f838e-0x13b);}const _0x3e2c84={};for(const _0x384cc8 of _0x347990[_0xfbf477(-_0x2d297c._0x1a7340,_0x2d297c._0x1768d2,-0x96,0xa8)]){for(const [_0x3c82ec,_0x10ef15]of _0x384cc8['diagnostics']){_0x3e2c84[diagnosticsKeyToPath(_0x3c82ec)]=_0x10ef15;}}return _0x3e2c84;},async 'diagnosticsForFile'(_0x1c31a3){const _0x1417a2={_0x3f1442:0x227};function _0x48129c(_0x352642,_0x2a4e71,_0xdef442,_0x10f798){return _0x3bdbbe(_0x352642,_0x10f798- -_0x1417a2._0x3f1442,_0xdef442-0x149,_0x10f798-0x76);}await _0x178914(_0x1c31a3,!![]);const _0xcc3a59=[];for(const _0x6ead28 of await _0x484172(_0x1c31a3,![])){for(const [_0x6e4040,_0x37e215]of _0x6ead28[_0x48129c(0x9b,-0xba,_0xad8094._0x20a595,-0x95)]){if(diagnosticsKeyToPath(_0x6e4040)===_0x1c31a3)_0xcc3a59['push'](..._0x37e215);}}return _0xcc3a59;},async 'definition'(_0x2ee190){function _0x5901fe(_0x194fe0,_0x2263f1,_0x390ec4,_0x50c1be){return _0x3bdbbe(_0x390ec4,_0x50c1be- -0x1e2,_0x390ec4-0xa0,_0x50c1be-0x12f);}return collectClientResults((await _0x18bb10(_0x2ee190))['map'](_0xf715bf=>_0xf715bf['request'][_0x5901fe(0x5d,-0x159,-0x7d,-0xc3)](_0x2ee190)));},async 'references'(_0x45b506){const _0x3d6f84={_0x5169ba:0xd8,_0x2fadd1:0x1f};function _0x3c17bb(_0xa50d98,_0x8a4e39,_0x2029ff,_0x11db50){return _0x3bdbbe(_0x11db50,_0x2029ff-0x493,_0x2029ff-_0x3d6f84._0x5169ba,_0x11db50-_0x3d6f84._0x2fadd1);}function _0x32f713(_0xeb48e4,_0x561842,_0xd0de31,_0x29daf4){return _0x3bdbbe(_0x561842,_0xd0de31-0x2c3,_0xd0de31-0x20,_0x29daf4-0x1a2);}return collectClientResults((await _0x18bb10(_0x45b506))[_0x3c17bb(0x59f,0x4ec,_0x37d9e0._0x1ac251,0x49d)](_0x18272b=>_0x18272b[_0x3c17bb(0x655,0x662,0x673,0x585)][_0x32f713(0x385,0x389,0x326,0x472)](_0x45b506)));},async 'hover'(_0x2a2e8b){function _0x201e46(_0x2e1399,_0x434aba,_0x2ce7b3,_0x3d57bd){return _0x3bdbbe(_0x2e1399,_0x3d57bd- -0x113,_0x2ce7b3-_0x5060d3._0x53f7c5,_0x3d57bd-_0x5060d3._0x23455a);}const _0x319f3b=await Promise[_0x1746d7(0x371,0x282,0x14d,0x320)]((await _0x18bb10(_0x2a2e8b))[_0x1746d7(0x1fc,0x1e0,_0x2de638._0x16ec0a,_0x2de638._0x5c8c13)](_0x56eb1a=>_0x56eb1a[_0x1746d7(0x381,0x307,0x3ee,0x30a)][_0x1746d7(0x379,0x22b,0x1d8,0xfe)](_0x2a2e8b)));function _0x1746d7(_0x46b85d,_0x367f9e,_0x1f5266,_0x59a565){return _0x3bdbbe(_0x46b85d,_0x367f9e-_0x4c5661._0x251daa,_0x1f5266-_0x4c5661._0xce2ca0,_0x59a565-_0x4c5661._0x5a29ba);}return _0x319f3b[_0x1746d7(0x541,_0x2de638._0x2519ba,_0x2de638._0x559027,_0x2de638._0x28bb75)](_0x1aa50d=>_0x1aa50d['status']==='fulfilled'&&_0x1aa50d[_0x1746d7(0x372,0x221,0x2a8,0x1c1)]?[_0x1aa50d[_0x1746d7(0xbd,0x221,0x14b,0x1fc)]]:[]);},async 'documentSymbol'(_0x31305f){const _0x2e6e29={_0x2dbb7f:0x143};await _0x178914(_0x31305f,![]);function _0x5c3095(_0x3f3d1c,_0x3397c4,_0x189de2,_0x4636f8){return _0x3bdbbe(_0x3f3d1c,_0x189de2-0x41,_0x189de2-0xf,_0x4636f8-_0x2e6e29._0x2dbb7f);}function _0x1c2f8d(_0x554484,_0x2b3b24,_0x3f3da9,_0x30b8d7){return _0x3bdbbe(_0x2b3b24,_0x3f3da9- -0x2af,_0x3f3da9-_0x15a345._0x2a77b8,_0x30b8d7-_0x15a345._0x2cc21e);}return collectClientResults((await _0x484172(_0x31305f,![]))[_0x5c3095(_0x548961._0x5ecda1,0x22,0xfa,_0x548961._0x1820f3)](_0xdbc9b0=>_0xdbc9b0[_0x5c3095(0x15a,0x166,0x221,0x2f7)][_0x5c3095(0xc3,0x1c0,0x1e7,0x315)](_0x31305f)));},async 'workspaceSymbol'(_0x3b93e4){const _0x45b2d8={_0x1a3c90:0x1ad};function _0x368e97(_0x154281,_0x8634b1,_0x3deccc,_0x2e7a57){return _0x3bdbbe(_0x154281,_0x3deccc-_0x45b2d8._0x1a3c90,_0x3deccc-0xaf,_0x2e7a57-0x18e);}function _0x50f493(_0xcbfbb0,_0x5de613,_0xeddc19,_0x1245b2){return _0x3bdbbe(_0xcbfbb0,_0xeddc19-0x314,_0xeddc19-0x1af,_0x1245b2-_0x16ac95._0x1603f7);}return collectClientResults(_0x347990['clients'][_0x50f493(_0x5692d4._0x1b154c,0x32f,_0x5692d4._0x11362c,_0x5692d4._0x235aeb)](_0x538879=>_0x538879[_0x50f493(0x602,0x449,0x4f4,0x39b)]['workspaceSymbol'](_0x3b93e4)));},async 'implementation'(_0x2c0172){const _0xbcda1b={_0x514e1a:0x355,_0x533452:0x12b,_0x44f3da:0x90},_0x309cb7={_0x5a8827:0x77,_0x217e6f:0xe};function _0xa70992(_0x12b356,_0x4601eb,_0x4dd8dd,_0x66ba2a){return _0x3bdbbe(_0x66ba2a,_0x4601eb-0x48,_0x4dd8dd-_0x309cb7._0x5a8827,_0x66ba2a-_0x309cb7._0x217e6f);}function _0x765495(_0x46c640,_0x65bee,_0x1a0184,_0x1e7807){return _0x3bdbbe(_0x46c640,_0x1a0184-_0xbcda1b._0x514e1a,_0x1a0184-_0xbcda1b._0x533452,_0x1e7807-_0xbcda1b._0x44f3da);}return collectClientResults((await _0x18bb10(_0x2c0172))[_0xa70992(0x212,0x101,0xa4,-0x16)](_0x16e017=>_0x16e017[_0x765495(0x4aa,0x609,0x535,0x4e9)][_0x765495(0x3d1,0x4b7,0x3c2,0x2ad)](_0x2c0172)));},async 'prepareCallHierarchy'(_0x4a7339){return _0x38f7aa(_0x4a7339);},async 'incomingCalls'(_0x5c666c){const _0x243889={_0x55356c:0x168},_0x5aa2ff=await _0x38f7aa(_0x5c666c);function _0x52e702(_0xe5ffb8,_0x1e3351,_0x29e295,_0x341e72){return _0x3bdbbe(_0x341e72,_0x29e295-0x1d6,_0x29e295-0x64,_0x341e72-_0x1aafc5._0x53cce2);}const _0x36f125=await _0x18bb10(_0x5c666c);function _0x138a22(_0x37b2a0,_0x4f8bb5,_0xb738d4,_0x187283){return _0x3bdbbe(_0x37b2a0,_0xb738d4-0x330,_0xb738d4-_0x243889._0x55356c,_0x187283-0x71);}return collectClientResults(_0x36f125[_0x138a22(0x70e,0x734,_0x324b51._0x465a81,_0x324b51._0x51f18b)](_0x3693eb=>_0x5aa2ff[_0x138a22(0x444,0x3c4,0x3e9,0x542)](_0x1f2dda=>_0x3693eb[_0x138a22(0x448,0x5bd,0x510,0x5de)][_0x138a22(0x708,0x52d,0x655,0x544)](_0x1f2dda))));},async 'outgoingCalls'(_0x414140){const _0x2c992e={_0x2ad22d:0x75},_0x4d24d5=await _0x38f7aa(_0x414140),_0x1c25b9=await _0x18bb10(_0x414140);function _0x5423a1(_0x372654,_0x48ed13,_0x5eb2c5,_0x4bfc9c){return _0x3bdbbe(_0x372654,_0x48ed13- -_0x3c49d5._0x17e084,_0x5eb2c5-_0x3c49d5._0x20f9f7,_0x4bfc9c-_0x3c49d5._0x478b65);}function _0x384567(_0x2d2bdf,_0x429496,_0x4187f9,_0x1f1b10){return _0x3bdbbe(_0x2d2bdf,_0x1f1b10-0x40,_0x4187f9-0x1de,_0x1f1b10-_0x2c992e._0x2ad22d);}return collectClientResults(_0x1c25b9[_0x384567(_0x43f071._0x3cb3d1,0x44d,_0x43f071._0x4f3121,0x2e5)](_0x4205ea=>_0x4d24d5[_0x5423a1(0x114,0x73,0x39,-0xda)](_0x138ec4=>_0x4205ea[_0x384567(0x2ee,0xc5,0x18a,0x220)]['outgoingCalls'](_0x138ec4))));},async 'shutdown'(){const _0x30bba1={_0x4221d4:0x183,_0x291358:0x172};if(_0x347990[_0xc41a58(0x51f,_0x5f4880._0x10c67d,_0x5f4880._0xfb363,0x48d)])return;_0x347990[_0x1b61ba(-_0x5f4880._0x21f853,-0x164,-_0x5f4880._0x529e37,-_0x5f4880._0xfa254b)]=!![],await Promise['allSettled'](_0x347990['clients'][_0xc41a58(_0x5f4880._0x3cb264,_0x5f4880._0x1876e6,_0x5f4880._0x9d8a9,0x671)](_0x5dd023=>_0x5dd023[_0xc41a58(0x6f2,0x5df,0x80c,0x760)]())),_0x347990['clients']=[],_0x347990[_0x1b61ba(-_0x5f4880._0x5c32fd,-_0x5f4880._0x445aad,-_0x5f4880._0x13019d,_0x5f4880._0xd8b6d7)][_0x1b61ba(-_0x5f4880._0x248b40,-0x22f,-_0x5f4880._0x5b7d89,-_0x5f4880._0x277b38)](),_0x347990[_0x1b61ba(_0x5f4880._0x17ad60,-_0x5f4880._0x123a88,_0x5f4880._0x42e42f,_0x5f4880._0x329086)][_0x1b61ba(-0x1c6,-_0x5f4880._0x49a1d3,-_0x5f4880._0xc47549,-0x1c1)]();function _0x1b61ba(_0x5760a8,_0x293720,_0x85cc5f,_0x2ccfe0){return _0x3bdbbe(_0x2ccfe0,_0x85cc5f- -_0x30bba1._0x4221d4,_0x85cc5f-_0x30bba1._0x291358,_0x2ccfe0-0xe2);}_0x347990[_0x1b61ba(-0x109,-0x1ba,-_0x5f4880._0x4f4582,_0x5f4880._0x256a2e)][_0xc41a58(_0x5f4880._0x1dcf02,_0x5f4880._0xcf9a34,_0x5f4880._0x2c2148,_0x5f4880._0x45c8e7)]();function _0xc41a58(_0x52e957,_0x317937,_0x220af0,_0x197327){return _0x3bdbbe(_0x220af0,_0x52e957-_0x27c5e4._0x15f8ef,_0x220af0-_0x27c5e4._0x439803,_0x197327-_0x27c5e4._0x46f58e);}_0x347990['openFiles'][_0xc41a58(0x4cf,0x405,0x38d,_0x5f4880._0x1f9d3e)]();},'status'(){const _0x75e14d={_0x34dd7c:0x4bb,_0x5844fc:0x1b8};function _0x13194f(_0x52a747,_0x5c1a4f,_0x1a17f2,_0x5ea4c5){return _0x3bdbbe(_0x5c1a4f,_0x52a747-_0x75e14d._0x34dd7c,_0x1a17f2-0xb7,_0x5ea4c5-_0x75e14d._0x5844fc);}return{'connectedClients':_0x347990['clients'][_0x13194f(0x778,0x761,_0x57ba34._0x2985d2,_0x57ba34._0x51243)]};}};}function createQuestionId(){const _0x37f78e={_0x22a8ef:0x50d,_0x46f336:0x471,_0x48b84d:0x430,_0x67183:0x3a7,_0x3d0e21:0x693,_0x361c5d:0x5d1,_0x89d07a:0x304,_0x2dac11:0x490},_0x5cbf3b={_0x1c2e5b:0x12d};function _0x50df02(_0x482cea,_0x3bc0d8,_0x5b5f39,_0x5de329){return _0x257320(_0x482cea-_0x5cbf3b._0x1c2e5b,_0x3bc0d8-0x146,_0x482cea-0xcb,_0x5de329);}function _0x179332(_0x29b61c,_0x12ce94,_0x489241,_0x250926){return _0x3342ed(_0x29b61c-0x69,_0x29b61c,_0x250926-0x164,_0x250926-0x80);}return _0x179332(0x34e,_0x37f78e._0x22a8ef,0x3c8,_0x37f78e._0x46f336)+Date[_0x179332(_0x37f78e._0x48b84d,0x291,0x4ed,_0x37f78e._0x67183)]()+'-'+Math[_0x179332(0x6f2,0x62d,_0x37f78e._0x3d0e21,_0x37f78e._0x361c5d)]()[_0x50df02(0x438,_0x37f78e._0x89d07a,0x43c,_0x37f78e._0x2dac11)](0x24)['slice'](0x2,0x9);}function validateInput(_0x4b3270){const _0x32e703={_0x44584d:0x362,_0x1e18f7:0x3ba,_0xc8760b:0x6e7,_0x3d6f3e:0x586,_0x2a1b4b:0x2e5,_0x4d4db4:0x2f3,_0x439188:0x273,_0x16bb71:0x33e,_0x188ac5:0x466,_0x129e2f:0x19b,_0x3f3884:0x1bd,_0x280e13:0x1ea,_0x6a5ed:0x2b3,_0x571205:0x261,_0x3387bc:0x47d,_0x15b531:0x58d,_0x802b9c:0x373,_0x4c71c5:0x31e,_0x3dbd6b:0x42c,_0x346f0e:0x4e1,_0x2bcd29:0x55,_0x3e1a42:0x4f5,_0x420570:0x612,_0xe5a64b:0x58a,_0x50c792:0x628,_0x55fc07:0x570,_0x34e117:0x199,_0x497a35:0x256,_0x5b33d8:0x350,_0x2066d2:0x42c,_0x10900b:0x2f0,_0x25a7ee:0x2f3,_0x5dc792:0x377,_0x233072:0x3a4,_0x3f19e4:0x41f,_0x5a7ee8:0x3fb,_0x442e32:0x37d,_0x3076e0:0x3e7,_0x2e8580:0x4ef,_0x37a857:0x428,_0x55c911:0x4b5,_0x5732b7:0x3f3,_0x461793:0x52e,_0x1d3052:0x5e2,_0x169f36:0x18c,_0x10a5c3:0x240,_0x57b561:0x426,_0x52084c:0x6c,_0x2900e0:0x154,_0x119e75:0x14f,_0x4b5e4a:0x34d,_0xcc33d9:0x1ee,_0x25483e:0x2fe,_0x5f3790:0x394,_0x15ffb4:0x309,_0x51e9b5:0x31d,_0xea2473:0x4cb,_0x86c03f:0x3ca,_0x51d713:0x1ba,_0x3fb4d8:0x20c,_0x47f64e:0x297,_0x3cb80b:0x253,_0x2117c9:0x131,_0xc30144:0x3c3},_0x3b42df={_0x831a2b:0x1a9,_0x8a46e7:0x7b},_0x239466={_0x181919:0x14,_0x47255c:0x32};function _0x44b7ba(_0x352dc4,_0x10bdff,_0x5de3ea,_0x2dd4a5){return _0x3342ed(_0x352dc4-_0x239466._0x181919,_0x352dc4,_0x5de3ea-0xf1,_0x2dd4a5-_0x239466._0x47255c);}function _0x5d1926(_0xbb58ba,_0x658a82,_0x1a9f68,_0x230e49){return _0x257320(_0xbb58ba-_0x3b42df._0x831a2b,_0x658a82-_0x3b42df._0x8a46e7,_0x658a82- -0x22e,_0x230e49);}if(!Array['isArray'](_0x4b3270[_0x44b7ba(0x32e,0x28b,_0x32e703._0x44584d,0x29b)])||_0x4b3270[_0x44b7ba(0x245,0x2e2,0x362,_0x32e703._0x1e18f7)][_0x44b7ba(_0x32e703._0xc8760b,0x613,_0x32e703._0x3d6f3e,0x671)]<0x1||_0x4b3270[_0x44b7ba(0x2f2,0x24a,0x362,0x268)][_0x5d1926(_0x32e703._0x2a1b4b,_0x32e703._0x4d4db4,0x374,_0x32e703._0x439188)]>0xa)throw new ToolExecutionError(_0x5d1926(_0x32e703._0x16bb71,0x30a,0x21d,_0x32e703._0x188ac5),{'error':_0x5d1926(_0x32e703._0x129e2f,0x2f2,_0x32e703._0x3f3884,_0x32e703._0x280e13)});for(let _0x2f41d7=0x0;_0x2f41d7<_0x4b3270[_0x44b7ba(_0x32e703._0x6a5ed,_0x32e703._0x571205,0x362,_0x32e703._0x3387bc)][_0x5d1926(0x36f,_0x32e703._0x4d4db4,0x19d,0x2d8)];_0x2f41d7+=0x1){const _0x5d611b=_0x4b3270['questions'][_0x2f41d7];if(!_0x5d611b[_0x44b7ba(0x71d,0x655,0x5b1,_0x32e703._0x15b531)]||typeof _0x5d611b[_0x5d1926(_0x32e703._0x802b9c,_0x32e703._0x4c71c5,0x28a,0x21f)]!==_0x44b7ba(0x583,0x619,0x57d,0x607))throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(0x314,0x4bb,0x36b,0x229));if(!_0x5d611b[_0x44b7ba(0x51e,0x36a,_0x32e703._0x3dbd6b,_0x32e703._0x346f0e)]||typeof _0x5d611b[_0x5d1926(0x16e,0x199,_0x32e703._0x2bcd29,0x219)]!==_0x5d1926(0x310,0x2ea,0x2cd,0x3ee))throw new ToolExecutionError(_0x44b7ba(_0x32e703._0x3e1a42,0x522,0x49f,_0x32e703._0x420570)+(_0x2f41d7+0x1)+_0x44b7ba(_0x32e703._0xe5a64b,_0x32e703._0x50c792,_0x32e703._0x55fc07,0x515));if(_0x5d611b[_0x5d1926(0x2ab,_0x32e703._0x34e117,0x39,_0x32e703._0x497a35)][_0x5d1926(0x37e,0x2f3,0x2a8,0x338)]>0x1e)throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(0x4b5,0x277,_0x32e703._0x5b33d8,0x2b2)+_0x5d611b[_0x44b7ba(0x365,0x39b,_0x32e703._0x2066d2,_0x32e703._0x10900b)][_0x5d1926(0x2d8,_0x32e703._0x25a7ee,_0x32e703._0x5dc792,_0x32e703._0x233072)]);if(!Array[_0x44b7ba(0x331,0x434,_0x32e703._0x3f19e4,_0x32e703._0x5a7ee8)](_0x5d611b[_0x44b7ba(_0x32e703._0x442e32,0x313,_0x32e703._0x3076e0,_0x32e703._0x2e8580)])||_0x5d611b['options']['length']<0x2||_0x5d611b[_0x44b7ba(0x431,0x292,0x3e7,_0x32e703._0x37a857)][_0x44b7ba(0x6ef,0x4f0,0x586,_0x32e703._0x55c911)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x44b7ba(_0x32e703._0x5732b7,0x526,_0x32e703._0x461793,_0x32e703._0x1d3052));for(let _0x304dc7=0x0;_0x304dc7<_0x5d611b[_0x5d1926(_0x32e703._0x169f36,0x154,_0x32e703._0x10a5c3,0x1aa)][_0x44b7ba(_0x32e703._0x57b561,0x699,_0x32e703._0x3d6f3e,0x6e0)];_0x304dc7+=0x1){const _0xe61aa2=_0x5d611b[_0x5d1926(_0x32e703._0x52084c,_0x32e703._0x2900e0,0x258,_0x32e703._0x119e75)][_0x304dc7];if(!_0xe61aa2['label']||!_0xe61aa2[_0x5d1926(0x240,0x1f3,_0x32e703._0x4b5e4a,0x2aa)])throw new ToolExecutionError('Question\x20'+(_0x2f41d7+0x1)+_0x5d1926(0x1aa,_0x32e703._0xcc33d9,_0x32e703._0x25483e,0x338)+(_0x304dc7+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x5d611b[_0x5d1926(_0x32e703._0x5f3790,_0x32e703._0x15ffb4,0x3a3,0x1b6)]!==_0x44b7ba(_0x32e703._0x51e9b5,_0x32e703._0xea2473,_0x32e703._0x86c03f,0x493))throw new ToolExecutionError(_0x5d1926(_0x32e703._0x51d713,_0x32e703._0x3fb4d8,_0x32e703._0x47f64e,0x19c)+(_0x2f41d7+0x1)+_0x5d1926(0x1b9,_0x32e703._0x3cb80b,_0x32e703._0x2117c9,_0x32e703._0xc30144));}}function buildQuestions(_0x5942f4){const _0x51c3d1={_0x4ebf8a:0x75},_0x2acf1e={_0x1e85ae:0x9f,_0x486564:0x2e6},_0xd8878c={_0x625691:0x179};function _0xb47c5d(_0x3c2afe,_0xc1fa1b,_0x4d86e9,_0xe0e71){return _0x257320(_0x3c2afe-0x9d,_0xc1fa1b-0x8f,_0xe0e71-_0xd8878c._0x625691,_0x4d86e9);}function _0x29367e(_0x270f53,_0x487a74,_0x1b914c,_0x256b5a){return _0x3342ed(_0x270f53-_0x2acf1e._0x1e85ae,_0x256b5a,_0x487a74- -_0x2acf1e._0x486564,_0x256b5a-0x21);}return _0x5942f4[_0x29367e(-0x41,-_0x51c3d1._0x4ebf8a,-0x7d,0xb7)]['map']((_0x86a3b2,_0x191dc9)=>({'id':'q'+_0x191dc9,'question':_0x86a3b2[_0xb47c5d(0x65c,0x66b,0x6a4,0x6c5)],'topic':_0x86a3b2[_0x29367e(-0x63,0x55,0x31,0xde)],'options':_0x86a3b2[_0x29367e(0x184,0x10,-0x5d,0x12e)],'multiSelect':_0x86a3b2[_0x29367e(0x8f,0x1c5,0xea,0x99)]}));}function createResult(_0x5db83e,_0x3ed777,_0x5784c2){const _0xfed794={_0x376f53:0xda,_0x43ffc6:0x24};function _0x20ac94(_0x2de390,_0x1a3fca,_0x36ae29,_0x58e2b3){return _0x257320(_0x2de390-0x13f,_0x1a3fca-0x63,_0x36ae29- -0x386,_0x1a3fca);}const _0x1a2a70={'questionId':_0x5db83e,'questionCount':_0x3ed777,'answers':_0x5784c2};return createToolOutput('User\x20responses\x20received:\x20'+JSON[_0x20ac94(0xab,-_0xfed794._0x376f53,0x79,-_0xfed794._0x43ffc6)](_0x5784c2,null,0x2),_0x1a2a70);}function createAskUserTool(){const _0x280b4d={_0x35d385:0x123,_0x423760:0xeb,_0x3fcfd3:0x17,_0x487d26:0x10,_0x4011e5:0xb8,_0x30abb8:0x275,_0x2632a4:0x30f,_0x46d5d5:0xf3,_0x209a0c:0x19c,_0x402db9:0x43,_0xc9fe2b:0x135,_0x5d7e0b:0x1ac,_0x1bd414:0x31f,_0x2c5c2b:0x272,_0x5ac9e7:0x24a,_0x589d58:0xd5,_0x762cb4:0x3a,_0x4bbe44:0x199,_0xc1ee4b:0x1a1,_0x470ab8:0x80,_0x22b4ed:0x82,_0x2231d8:0x66,_0xd08027:0x4c},_0x20ed4a={_0x3776a1:0x280,_0x2752ca:0xf1,_0x49724a:0x126,_0xf36b63:0x4df,_0x566c67:0x585,_0x14f4be:0x36b,_0x551fb3:0x465,_0x242be6:0x382,_0x4dbe87:0x5a2,_0xeea97b:0x5fd,_0x547a89:0x52a,_0x2f5e50:0x3bf,_0x7d8b2:0x28b,_0x1b1e60:0x2d4,_0x48124f:0xe,_0x98bbd6:0x155,_0x365843:0x8e,_0x36b746:0x117,_0x55ecb8:0x2aa,_0x29c996:0x33b},_0x23bbd5={_0x47c198:0xd7,_0x4467ad:0x105},_0x1c19b2={_0x203716:0x35,_0xaf77b4:0x2c7},_0x328f83={_0x119039:0x1b,_0x123341:0x169,_0x2527d3:0x31c},_0x1fd69e={_0x879a2a:0x135,_0x4a9cd8:0x3e3};function _0x1a4506(_0x46a20d,_0x4544b9,_0x277d08,_0xc6c5b3){return _0x257320(_0x46a20d-0xb2,_0x4544b9-_0x1fd69e._0x879a2a,_0x277d08- -_0x1fd69e._0x4a9cd8,_0x4544b9);}function _0x33fa83(_0x49355f,_0x385c72,_0x2591ae,_0x1d143d){return _0x257320(_0x49355f-_0x328f83._0x119039,_0x385c72-_0x328f83._0x123341,_0x2591ae- -_0x328f83._0x2527d3,_0x385c72);}return defineTool({'name':_0x33fa83(0x1d1,_0x280b4d._0x35d385,0x63,_0x280b4d._0x423760),'description':_0x1a4506(-_0x280b4d._0x3fcfd3,-0x4a,0xeb,0x1b8),'inputSchema':{'type':_0x1a4506(_0x280b4d._0x487d26,-_0x280b4d._0x4011e5,-0xf3,-0x58),'properties':{'questions':{'type':_0x33fa83(0x13e,0x278,_0x280b4d._0x30abb8,_0x280b4d._0x2632a4),'items':{'type':_0x1a4506(_0x280b4d._0x3fcfd3,0x35,-_0x280b4d._0x46d5d5,-0x262),'properties':{'question':{'type':_0x1a4506(_0x280b4d._0x209a0c,_0x280b4d._0x402db9,_0x280b4d._0xc9fe2b,_0x280b4d._0x5d7e0b)},'topic':{'type':'string'},'options':{'type':_0x33fa83(_0x280b4d._0x1bd414,0x1d3,0x275,0x2e0),'items':{'type':'object','properties':{'label':{'type':_0x1a4506(0x17,0x37,0x135,_0x280b4d._0x2c5c2b)},'description':{'type':_0x1a4506(_0x280b4d._0x5ac9e7,0x16,0x135,0x24a)}},'required':['label',_0x33fa83(0x186,_0x280b4d._0x589d58,0x105,0x6c)]}},'multiSelect':{'type':_0x1a4506(-_0x280b4d._0x762cb4,-_0x280b4d._0x4bbe44,-0x7e,-_0x280b4d._0xc1ee4b)}},'required':['question',_0x33fa83(0x2d,-_0x280b4d._0x470ab8,0xab,-0x3f),_0x33fa83(-_0x280b4d._0x22b4ed,0x2e,_0x280b4d._0x2231d8,0x6),'multiSelect']}},'answers':{'type':_0x33fa83(-0x4b,-0xce,-0x2c,-_0x280b4d._0xd08027),'properties':{}}},'required':[_0x33fa83(0x103,-0x17b,-0x1f,-0x177)]},async *'execute'(_0xdc1bcd,_0x21762e){const _0x26f1ca=_0xdc1bcd;validateInput(_0x26f1ca);const _0x9cee04=_0x21762e[_0x24c8b1(0x27d,_0x20ed4a._0x3776a1,_0x20ed4a._0x2752ca,_0x20ed4a._0x49724a)]??createQuestionId();function _0x5ee48d(_0x4ae9da,_0x1b7a87,_0x453356,_0x2134e4){return _0x33fa83(_0x4ae9da-_0x1c19b2._0x203716,_0x1b7a87,_0x453356-_0x1c19b2._0xaf77b4,_0x2134e4-0x11e);}if(_0x26f1ca[_0x5ee48d(0x5a4,_0x20ed4a._0xf36b63,0x465,_0x20ed4a._0x566c67)]&&Object[_0x24c8b1(0x23f,0x15c,-0x45,0x12a)](_0x26f1ca[_0x5ee48d(0x346,_0x20ed4a._0x14f4be,_0x20ed4a._0x551fb3,0x4b0)])[_0x5ee48d(_0x20ed4a._0x242be6,0x627,0x4cc,_0x20ed4a._0x4dbe87)]>0x0)return createResult(_0x9cee04,_0x26f1ca['questions'][_0x5ee48d(_0x20ed4a._0xeea97b,_0x20ed4a._0x547a89,0x4cc,_0x20ed4a._0x2f5e50)],_0x26f1ca[_0x24c8b1(0x35e,_0x20ed4a._0x7d8b2,0x43e,_0x20ed4a._0x1b1e60)]);if(!_0x21762e['askUser'])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');const _0x463491=buildQuestions(_0x26f1ca),_0x55c945=await _0x21762e['askUser']({'questionId':_0x9cee04,'questions':_0x463491});function _0x24c8b1(_0x1a8894,_0x3e8f63,_0x315412,_0x5400e1){return _0x1a4506(_0x1a8894-_0x23bbd5._0x47c198,_0x3e8f63,_0x5400e1-0x1fd,_0x5400e1-_0x23bbd5._0x4467ad);}yield createResult(_0x9cee04,_0x26f1ca[_0x24c8b1(_0x20ed4a._0x48124f,_0x20ed4a._0x98bbd6,_0x20ed4a._0x365843,_0x20ed4a._0x36b746)][_0x24c8b1(_0x20ed4a._0x55ecb8,0x1e5,0x45e,_0x20ed4a._0x29c996)],_0x55c945);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x2eef70}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x187d3d){return _0x187d3d instanceof Error;}function resolveCarriageReturns(_0x37463a){const _0x336290={_0x30bf00:0x1bf,_0x1959ee:0x1de,_0x4139b6:0xd8},_0x3f097d={_0x2c6b9b:0x4e1,_0x26ac50:0x3ff},_0x9f05df={_0x2d1cf8:0x658,_0x512209:0xb8},_0x459f67={_0x336bcb:0x146,_0x45d4cf:0x115,_0x3bf573:0x39c},_0x47ed65={_0x4a33b8:0x166};function _0x63da42(_0x8b9058,_0x21ff99,_0x4c18ae,_0x526317){return _0x257320(_0x8b9058-0x1a0,_0x21ff99-_0x47ed65._0x4a33b8,_0x8b9058- -0x4ee,_0x21ff99);}function _0x507e6a(_0x59dae5,_0x453a97,_0xdd5702,_0x2e4fcd){return _0x257320(_0x59dae5-_0x459f67._0x336bcb,_0x453a97-_0x459f67._0x45d4cf,_0x59dae5- -_0x459f67._0x3bf573,_0xdd5702);}return _0x37463a[_0x507e6a(0x1cd,_0x336290._0x30bf00,_0x336290._0x1959ee,0x129)]('\x0a')[_0x63da42(-0x1d1,-0x23d,-_0x336290._0x4139b6,-0xd2)](_0x1e0d68=>{const _0x1ac447={_0x1a84af:0x14};function _0x398b1b(_0x33bf22,_0x5c8a70,_0x5595b1,_0x497e7d){return _0x507e6a(_0x5c8a70-0x314,_0x5c8a70-0x195,_0x5595b1,_0x497e7d-_0x1ac447._0x1a84af);}if(!_0x1e0d68['includes']('\x0d'))return _0x1e0d68;const _0x41cc1c=_0x1e0d68[_0x398b1b(0x605,_0x3f097d._0x2c6b9b,_0x3f097d._0x26ac50,0x56f)]('\x0d');function _0x2a951e(_0xe1a5f0,_0xc9b61f,_0x2db5b5,_0x53ac46){return _0x63da42(_0xe1a5f0-_0x9f05df._0x2d1cf8,_0x53ac46,_0x2db5b5-_0x9f05df._0x512209,_0x53ac46-0x112);}return _0x41cc1c[_0x41cc1c[_0x398b1b(0x3b3,0x499,0x41b,0x37b)]-0x1]??'';})[_0x63da42(-0x2c,0xca,-0xb0,-0x2a)]('\x0a');}function resolveBackspaces(_0x5f0ebc){const _0xb3003c={_0x1924b0:0x651,_0x5e979f:0x539,_0x160651:0x3a4,_0x217adb:0x587},_0x3d6713={_0x2ec50f:0xe0},_0x294ddf={_0x2b0050:0x186,_0x17712b:0x1ef},_0x2310fb=[];for(const _0x572c78 of Array[_0x2c954c(_0xb3003c._0x1924b0,0x491,0x683,_0xb3003c._0x5e979f)](_0x5f0ebc)){_0x572c78==='\x08'?_0x2310fb['pop']():_0x2310fb[_0x2c954c(_0xb3003c._0x160651,0x42d,0x5a5,0x430)](_0x572c78);}function _0x5de263(_0x2c6b7d,_0x49a410,_0x26f509,_0x52dd84){return _0x257320(_0x2c6b7d-_0x294ddf._0x2b0050,_0x49a410-_0x294ddf._0x17712b,_0x2c6b7d- -0x37c,_0x26f509);}function _0x2c954c(_0x3118d1,_0x3a189f,_0x445311,_0x491cc7){return _0x3342ed(_0x3118d1-_0x3d6713._0x2ec50f,_0x3118d1,_0x491cc7-0x151,_0x491cc7-0x43);}return _0x2310fb[_0x2c954c(0x4b7,0x526,0x63d,_0xb3003c._0x217adb)]('');}function stripAnsiAndControls(_0x5d0352){const _0x41ed9b={_0x10f9c9:0x56,_0xd7f042:0x40,_0x17692b:0x1d1,_0x44aca6:0x2fc,_0x5812ca:0x34c,_0xb3101:0x10,_0x52d52a:0x132,_0x2658ec:0x2e,_0x200d4a:0x1b2,_0x4bada2:0x3d0,_0x198d35:0x3ed,_0xbd20d7:0x379,_0x23ee99:0x3d0,_0x193915:0x4e5,_0x5b87ca:0x95},_0x4563a2={_0x4e269a:0x165,_0x588bb:0x134},_0x271306={_0x3eb940:0x120,_0x259418:0x112,_0x266798:0x3bf};_0x5d0352=resolveCarriageReturns(_0x5d0352),_0x5d0352=resolveBackspaces(_0x5d0352),_0x5d0352=stripVTControlCharacters(_0x5d0352);const _0x4b7597='\x1b',_0x3795ea='\x07';_0x5d0352=_0x5d0352['replace'](new RegExp(_0x28093d(-0x8,-_0x41ed9b._0x10f9c9,0x134,_0x41ed9b._0xd7f042)+_0x3795ea+'\x5cn]*?'+_0x3795ea,'g'),''),_0x5d0352=_0x5d0352[_0x28093d(_0x41ed9b._0x17692b,_0x41ed9b._0x44aca6,0x182,0x316)](new RegExp(_0x28093d(-0x4e,0xd2,-0x178,-0x182)+_0x4b7597+'\x5c\x5c','g'),''),_0x5d0352=_0x5d0352[_0x450aab(0x4cc,0x3d0,_0x41ed9b._0x5812ca,0x4e3)](new RegExp(_0x3795ea,'g'),''),_0x5d0352=_0x5d0352['replace'](new RegExp(_0x4b7597+_0x28093d(_0x41ed9b._0xb3101,-0x53,-_0x41ed9b._0x52d52a,_0x41ed9b._0x2658ec)+_0x4b7597+'\x5c\x5c','g'),''),_0x5d0352=_0x5d0352[_0x28093d(0x1d1,0x20f,0x17b,0x27b)](new RegExp(_0x4b7597+_0x28093d(0x164,0x25a,_0x41ed9b._0x200d4a,0x16b),'g'),''),_0x5d0352=_0x5d0352[_0x450aab(0x3b7,_0x41ed9b._0x4bada2,0x283,_0x41ed9b._0x198d35)](/[\u0080-\u009F]/g,''),_0x5d0352=_0x5d0352[_0x450aab(_0x41ed9b._0xbd20d7,_0x41ed9b._0x23ee99,0x543,_0x41ed9b._0x193915)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x5d0352=_0x5d0352[_0x28093d(0x1d1,_0x41ed9b._0x5b87ca,0x323,0x263)](/[\u23CE\u2424]/g,'');function _0x28093d(_0x5048f0,_0x58b164,_0x36740e,_0x3f2bc1){return _0x257320(_0x5048f0-_0x271306._0x3eb940,_0x58b164-_0x271306._0x259418,_0x5048f0- -_0x271306._0x266798,_0x58b164);}function _0x450aab(_0x29a8cd,_0x4e1c69,_0x3505ad,_0x47b48a){return _0x3342ed(_0x29a8cd-_0x4563a2._0x4e269a,_0x47b48a,_0x4e1c69- -_0x4563a2._0x588bb,_0x47b48a-0x193);}return _0x5d0352;}function killProcessGroup(_0x266fb8,_0x5e45c0,_0x92be1f=_0x257320(0x2c3,0x3b3,0x2f4,0x35f)){const _0x39e438={_0x136d2f:0xb7,_0x4581bc:0xec,_0x385d08:0x178,_0x28abdc:0xb6,_0x4d6ce8:0xa8,_0x3bc642:0x344,_0x5eb765:0x1db,_0x2b0467:0x30a,_0x40bed7:0x64},_0x5c02f3={_0x560608:0x332,_0x182781:0x1b1},_0xeb444f={_0x43e487:0xb,_0x2d857f:0x1a8,_0x5ad2ef:0x260};if(!_0x266fb8[_0x48c795(_0x39e438._0x136d2f,0x1ac,_0x39e438._0x4581bc,0x314)])return;function _0x23d226(_0x1fe61c,_0x27cc14,_0x1c4b13,_0x473aaf){return _0x257320(_0x1fe61c-_0xeb444f._0x43e487,_0x27cc14-_0xeb444f._0x2d857f,_0x473aaf- -_0xeb444f._0x5ad2ef,_0x1fe61c);}if(_0x5e45c0)try{_0x2eef70('taskkill',[_0x48c795(0x2,-0x3d,-0xc6,0x10e),_0x266fb8['pid']['toString'](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x266fb8[_0x23d226(_0x39e438._0x385d08,0x208,0x1af,_0x39e438._0x28abdc)](_0x92be1f);return;}function _0x48c795(_0x2b9f31,_0x59e7ee,_0x2cf18a,_0x3a0cc5){return _0x3342ed(_0x2b9f31-0xff,_0x2b9f31,_0x59e7ee- -_0x5c02f3._0x560608,_0x3a0cc5-_0x5c02f3._0x182781);}try{process[_0x48c795(-0xce,-_0x39e438._0x4d6ce8,-0xb0,0x67)](-_0x266fb8[_0x23d226(0x3bb,_0x39e438._0x3bc642,_0x39e438._0x5eb765,_0x39e438._0x2b0467)],_0x92be1f);}catch{_0x266fb8[_0x48c795(-_0x39e438._0x40bed7,-_0x39e438._0x4d6ce8,-0x87,-0x5f)](_0x92be1f);}}var BackgroundProcessRegistry=class{[_0x3342ed(0x49e,0x3c6,0x356,0x2fb)]=new Map();[_0x3342ed(0x55c,0x505,0x4ef,0x5b5)];['maxEntries'];[_0x257320(0x414,0x49a,0x559,0x550)];[_0x257320(0x483,0x3b1,0x3d2,0x480)]=0x0;constructor(_0x1b0aa9={}){const _0x3a4881={_0x34941d:0x5ca,_0x18046a:0x7f0,_0x4af98a:0x402,_0x20cb6a:0x47c,_0x8c101d:0x482,_0xdc427d:0x5b1,_0x3be368:0x7cc,_0x1a2efd:0x6ca,_0x2acde2:0x59d},_0x3d9e75={_0x25d823:0xcb,_0x2e3e4b:0x171};this[_0x33a23d(_0x3a4881._0x34941d,0x681,_0x3a4881._0x18046a,0x6e2)]=_0x1b0aa9['maxConcurrent']??0xa;function _0x26f43c(_0x253ec6,_0x15d00d,_0x222281,_0x347356){return _0x257320(_0x253ec6-0xe2,_0x15d00d-_0x3d9e75._0x25d823,_0x15d00d-_0x3d9e75._0x2e3e4b,_0x347356);}function _0x33a23d(_0x3c4fe2,_0x5af944,_0x516ea7,_0x23f938){return _0x3342ed(_0x3c4fe2-0x165,_0x516ea7,_0x5af944-0x192,_0x23f938-0x8b);}this[_0x33a23d(0x589,0x482,0x333,_0x3a4881._0x4af98a)]=_0x1b0aa9[_0x33a23d(_0x3a4881._0x20cb6a,_0x3a4881._0x8c101d,0x490,_0x3a4881._0xdc427d)]??0x40,this['capChars']=_0x1b0aa9[_0x26f43c(_0x3a4881._0x3be368,_0x3a4881._0x1a2efd,0x71b,_0x3a4881._0x2acde2)]??0x100000;}[_0x257320(0x4c6,0x62f,0x4df,0x616)](_0x3cee31){const _0x28ba1b={_0x410c51:0x1db,_0x1ecfef:0x19e,_0x5122f0:0x9a,_0x5b70c7:0x95,_0x492015:0xa,_0x8a389b:0x16a,_0x5da9a7:0x26,_0x2cfbc7:0x19,_0x264ddf:0xca,_0x3696b4:0x230,_0x347297:0x153,_0x5484a9:0x124,_0x2832a3:0x85,_0x318f78:0x2d0,_0x470a78:0x56,_0xcbcc4:0xc8,_0x464b48:0x261,_0x4fe64a:0xa7,_0x226eea:0xd0,_0x104069:0x363,_0x223a0c:0x200,_0x3b7f3d:0x188,_0x5dc6fd:0x151,_0x6ee46a:0x2f,_0x4f88d0:0xf8,_0x54812b:0x155,_0x2c86e1:0xe,_0x403061:0x251,_0x329b04:0xdc,_0xb01ce1:0x2b,_0x857abe:0x50,_0x11b61a:0x309,_0x3dc083:0x17b,_0x2bd049:0x358,_0x4e5f05:0x205,_0x346da8:0xce,_0x3dcade:0x2ac,_0x55945c:0x103,_0x4cf7bc:0xc6,_0x3617a9:0x1ca,_0x316772:0x8e,_0x3a0434:0x156,_0x187cdb:0x57,_0x277377:0x8b,_0x375ada:0x317,_0x4d9a3a:0x126,_0x1b2468:0x69,_0x1060ad:0x122},_0x44ed32={_0x49d461:0x141,_0x33e873:0x18,_0x43136c:0x8e,_0x16b329:0x71,_0x2d1908:0x125,_0x3e2bb9:0xca,_0x384d50:0xc5,_0x331abd:0x77e},_0x33a243={_0x4eea47:0x13e,_0x49e86e:0x7a,_0x559f8a:0x7a},_0x578fb8={_0x2e5454:0x156},_0x3e77f7={_0x5a3f6e:0x5ad,_0x42b4e1:0x476,_0x25e888:0x49a,_0x3cf8c5:0x61d,_0x3690f9:0x49d,_0x2f10a0:0x4d9,_0x6a96ad:0x57a,_0x3663af:0x4c0,_0x47540e:0x544,_0x3a3493:0x2ce,_0x35976d:0x2df,_0x20d7e1:0x4b9,_0x4621cd:0x43f,_0x31bd19:0x577,_0x123844:0x2ee,_0x235b20:0x6f1,_0x3596d0:0x5fb,_0xb0b91:0x427},_0x241b52={_0x2f50c8:0x82,_0xf8a883:0x19d},_0x4a43bd={_0x4425c4:0x75},_0x5f5a07={_0x26cbd2:0xa9,_0x13495b:0x61},_0x3408a8={_0x11fe81:0x1cd,_0x643454:0x17},_0x55e3c7={_0xa13167:0x244},_0x23f4af=[...this[_0x384056(_0x28ba1b._0x410c51,_0x28ba1b._0x1ecfef,0x107,0xb5)][_0x22339a(-_0x28ba1b._0x5122f0,-_0x28ba1b._0x5b70c7,_0x28ba1b._0x492015,-0x7a)]()][_0x22339a(-0x139,-_0x28ba1b._0x8a389b,-0x1c5,-0xe8)](_0x2c1cf3=>_0x2c1cf3['status']===_0x22339a(0x19c,0xe3,0x2b,0xb6))[_0x22339a(-_0x28ba1b._0x5da9a7,_0x28ba1b._0x2cfbc7,0xcf,_0x28ba1b._0x264ddf)];if(_0x23f4af>=this[_0x384056(0x2fc,0x337,0x48e,_0x28ba1b._0x3696b4)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x22339a(_0x28ba1b._0x347297,0x133,0x20d,_0x28ba1b._0x5484a9)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this['maxConcurrent']});const _0x4bc452='bg-'+ ++this[_0x22339a(-0x160,-0x1c1,-0x1d8,-_0x28ba1b._0x2832a3)]+'-'+randomUUID()[_0x384056(0x167,_0x28ba1b._0x318f78,0x339,0x3f4)](0x0,0x8),_0x4b633b={'shellId':_0x4bc452,'command':_0x3cee31[_0x22339a(-_0x28ba1b._0x470a78,-0x2a,0x81,-_0x28ba1b._0xcbcc4)],'cwd':_0x3cee31['cwd'],'pid':_0x3cee31[_0x384056(_0x28ba1b._0x464b48,0x205,_0x28ba1b._0x4fe64a,_0x28ba1b._0x226eea)][_0x384056(0x2dd,0x326,0x244,_0x28ba1b._0x104069)],'status':_0x384056(0x3c7,0x2c9,0x31f,0x373),'exitCode':null,'signal':null,'startedAt':Date[_0x22339a(-0x235,-0x220,-_0x28ba1b._0x223a0c,-_0x28ba1b._0x3b7f3d)](),'child':_0x3cee31[_0x384056(0x361,0x205,_0x28ba1b._0x5dc6fd,0x31e)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x22339a(_0x28ba1b._0x6ee46a,0x13d,-0x6a,0xed)),'stripAnsi':_0x3cee31[_0x384056(0x2f0,0x256,_0x28ba1b._0x4f88d0,0x1bd)],'killRequested':![],'processExited':![]};_0x3cee31[_0x22339a(-0x107,-0x9f,-_0x28ba1b._0x54812b,-_0x28ba1b._0x2c86e1)][_0x384056(_0x28ba1b._0x403061,_0x28ba1b._0x329b04,-_0x28ba1b._0xb01ce1,-_0x28ba1b._0x857abe)]?.['on'](_0x22339a(0xa6,0x144,0x92,0x73),_0x2ce2ff=>this[_0x22339a(0x135,-0xb8,-0x160,-0x2d)](_0x4b633b,_0x4b633b[_0x22339a(0x35,-0xf,0x163,0x111)][_0x22339a(0x108,0x113,0x1cb,0x9f)](_0x2ce2ff)));function _0x22339a(_0x4fe28b,_0x24422c,_0x3de2a1,_0x28b6e4){return _0x257320(_0x4fe28b-0x184,_0x24422c-0x145,_0x28b6e4- -0x457,_0x3de2a1);}_0x3cee31['child'][_0x384056(0x272,0x20a,0x1c0,_0x28ba1b._0x11b61a)]?.['on'](_0x22339a(-0x26,_0x28ba1b._0x3dc083,0xe5,0x73),_0x52210c=>this[_0x22339a(-0x30,0x137,0x2a,-0x2d)](_0x4b633b,_0x4b633b[_0x22339a(0xa0,-0x6f,-0xcd,0x7f)]['write'](_0x52210c)));function _0x384056(_0x5c5577,_0x52f7b0,_0x1741d4,_0x1a5b78){return _0x257320(_0x5c5577-0x64,_0x52f7b0-0x1b2,_0x52f7b0- -_0x55e3c7._0xa13167,_0x5c5577);}return _0x3cee31[_0x384056(_0x28ba1b._0x2bd049,_0x28ba1b._0x4e5f05,_0x28ba1b._0x346da8,_0x28ba1b._0x3dcade)][_0x22339a(-0x111,-0x1c0,-0x1f3,-0x8b)](_0x22339a(_0x28ba1b._0x55945c,_0x28ba1b._0x4cf7bc,0x14e,_0x28ba1b._0x492015),()=>{function _0x2403e5(_0xd1f092,_0x5f1f8c,_0x2d5cf8,_0x46c33d){return _0x22339a(_0xd1f092-0x6,_0x5f1f8c-_0x3408a8._0x11fe81,_0xd1f092,_0x2d5cf8- -_0x3408a8._0x643454);}_0x4b633b[_0x2403e5(-0x179,-0x208,-_0x5f5a07._0x26cbd2,-_0x5f5a07._0x13495b)]=!![];}),_0x3cee31[_0x384056(0x2bc,0x205,_0x28ba1b._0x3617a9,_0x28ba1b._0x316772)][_0x22339a(-_0x28ba1b._0x3a0434,-0x136,-_0x28ba1b._0x187cdb,-_0x28ba1b._0x277377)]('close',(_0x3e3fd3,_0x3951c9)=>{this[_0x38bef8(0x4a3,_0x3e77f7._0x5a3f6e,_0x3e77f7._0x42b4e1,_0x3e77f7._0x25e888)](_0x4b633b,_0x4b633b[_0x38bef8(0x556,_0x3e77f7._0x3cf8c5,0x6b5,0x5d8)][_0x1bc140(_0x3e77f7._0x3690f9,_0x3e77f7._0x2f10a0,_0x3e77f7._0x6a96ad,0x555)]()),this['append'](_0x4b633b,_0x4b633b['stderrDecoder'][_0x38bef8(_0x3e77f7._0x3663af,_0x3e77f7._0x47540e,0x3ee,0x49d)]()),_0x4b633b[_0x38bef8(_0x3e77f7._0x3a3493,0x2fc,_0x3e77f7._0x35976d,0x400)]=_0x4b633b[_0x1bc140(_0x3e77f7._0x20d7e1,0x524,_0x3e77f7._0x4621cd,_0x3e77f7._0x31bd19)]?_0x38bef8(0x3e6,_0x3e77f7._0x123844,0x5c3,0x460):_0x38bef8(_0x3e77f7._0x235b20,0x692,0x762,_0x3e77f7._0x3596d0);function _0x1bc140(_0x317ec4,_0x491978,_0x53bf71,_0x26d3a6){return _0x22339a(_0x317ec4-_0x4a43bd._0x4425c4,_0x491978-0x21,_0x26d3a6,_0x491978-0x503);}_0x4b633b[_0x38bef8(0x40c,0x4cb,0x425,0x4e6)]=_0x3e3fd3,_0x4b633b[_0x1bc140(0x5bf,0x4e3,0x3b2,_0x3e77f7._0xb0b91)]=_0x3951c9;function _0x38bef8(_0x57380a,_0xe0a377,_0x28828c,_0x5287ee){return _0x22339a(_0x57380a-_0x241b52._0x2f50c8,_0xe0a377-_0x241b52._0xf8a883,_0xe0a377,_0x5287ee-0x4c7);}_0x4b633b['child']=null;}),_0x3cee31[_0x384056(0x16c,_0x28ba1b._0x4e5f05,_0x28ba1b._0x375ada,_0x28ba1b._0x4d9a3a)]['once']('error',_0x31a409=>{function _0x2318e6(_0x133359,_0x5c26a1,_0x589a3a,_0x543c20){return _0x384056(_0x543c20,_0x5c26a1-0x4a1,_0x589a3a-0x1f0,_0x543c20-_0x578fb8._0x2e5454);}_0x4b633b[_0x33b5ca(-0x3b,-_0x44ed32._0x49d461,_0x44ed32._0x33e873,0x1b)]=_0x33b5ca(_0x44ed32._0x43136c,-_0x44ed32._0x16b329,-_0x44ed32._0x2d1908,-0x3c);function _0x33b5ca(_0x3528eb,_0x1d1cef,_0x513836,_0x5ac173){return _0x22339a(_0x3528eb-_0x33a243._0x4eea47,_0x1d1cef-_0x33a243._0x49e86e,_0x5ac173,_0x1d1cef- -_0x33a243._0x559f8a);}_0x4b633b['error']=_0x31a409[_0x33b5ca(-0x9a,0x94,-_0x44ed32._0x3e2bb9,-_0x44ed32._0x384d50)],_0x4b633b[_0x2318e6(0x639,0x6a6,0x667,_0x44ed32._0x331abd)]=null;}),this[_0x384056(0x152,0x19e,0x2c,0x196)][_0x384056(-_0x28ba1b._0x4f88d0,_0x28ba1b._0x1b2468,0xc3,_0x28ba1b._0x1060ad)](_0x4bc452,_0x4b633b),this['evictIfNeeded'](),_0x4b633b;}[_0x257320(0x329,0x3cc,0x46a,0x507)](_0x56fce2,_0x4817bb){const _0x454725={_0x23daca:0x59c,_0x170407:0x4f4,_0xf587de:0x51a,_0x2bb798:0x609,_0x5033a6:0x4d4,_0x4d8941:0x600,_0x1099a9:0x6d3,_0x497472:0x461,_0x535b62:0x3dd,_0x5c520b:0x6a4,_0x170201:0x7af,_0x12ec2f:0xfc,_0x1134d0:0x11e,_0x263168:0x7ea,_0x3eb6c2:0x5f4,_0x5d6e25:0x590,_0x37e5bc:0x467,_0x175e23:0x5b5,_0x4a1247:0x838,_0x3f2e43:0x92,_0x40e8a5:0x871,_0x51396f:0x77b,_0x22f285:0x5f7,_0x47c53c:0x62e,_0x47f77e:0x605,_0x86bc46:0x69b,_0x255962:0x155,_0x392be9:0x3e,_0x568f99:0xcb,_0x3636e7:0x1e4,_0x554edd:0x66e,_0x183e49:0x647,_0x4ecce5:0x71b,_0x4b5911:0x512,_0x5aae90:0x5d8},_0x509dfc={_0x1d0031:0x110},_0x5bef88={_0xb5f90d:0xc3,_0x21e43:0x200},_0x408160=this[_0x2ddc8b(0x578,_0x454725._0x23daca,0x5e2,_0x454725._0x170407)][_0x2ddc8b(_0x454725._0xf587de,0x6f6,_0x454725._0x2bb798,_0x454725._0x5033a6)](_0x56fce2);if(!_0x408160)throw new ToolExecutionError(_0x2ddc8b(0x719,_0x454725._0x4d8941,_0x454725._0x1099a9,0x824)+_0x56fce2,{'shellId':_0x56fce2});function _0x2ddc8b(_0x53f06e,_0x498a8e,_0x2255d1,_0x329bae){return _0x257320(_0x53f06e-0x74,_0x498a8e-_0x5bef88._0xb5f90d,_0x2255d1-_0x5bef88._0x21e43,_0x498a8e);}const _0xd96731=_0x408160[_0x2ddc8b(_0x454725._0x497472,_0x454725._0x535b62,0x4b4,0x43c)][_0x2ddc8b(_0x454725._0x5c520b,_0x454725._0x170201,0x6c2,0x73b)](''),_0x175a91=Math[_0x1c05d1(-0x259,-0x146,-0x197,-0x77)](_0x408160['readCursor'],_0x408160[_0x1c05d1(0x2a3,0x12c,0x72,0xe9)]),_0x4e35b6=Math['max'](0x0,_0x408160['totalDropped']-_0x408160[_0x1c05d1(_0x454725._0x12ec2f,0x155,_0x454725._0x1134d0,0x90)]);function _0x1c05d1(_0x2d4bff,_0x155e76,_0x2fa0d4,_0xfc45e1){return _0x3342ed(_0x2d4bff-_0x509dfc._0x1d0031,_0xfc45e1,_0x155e76- -0x39e,_0xfc45e1-0x11c);}const _0x4c9ff3=_0xd96731[_0x2ddc8b(0x5b6,0x7c4,0x714,_0x454725._0x263168)](_0x175a91-_0x408160['totalDropped']),_0x4d9626=_0x408160[_0x2ddc8b(_0x454725._0x3eb6c2,0x679,_0x454725._0x5d6e25,_0x454725._0x37e5bc)]!==_0x2ddc8b(0x6f1,_0x454725._0x175e23,0x70d,_0x454725._0x4a1247);let _0x326d91;const _0x2295a9=_0x4817bb?.['regex'];if(!_0x2295a9)_0x326d91=_0x4c9ff3,_0x408160[_0x2ddc8b(0x6d8,0x764,0x77f,0x733)]=_0x408160[_0x1c05d1(-0xa0,_0x454725._0x3f2e43,0x1d6,-0x86)];else{let _0xccf3f3;try{_0xccf3f3=new RegExp(_0x2295a9);}catch(_0x1e5c10){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x1e5c10[_0x2ddc8b(_0x454725._0x40e8a5,0x7bf,0x765,_0x454725._0x51396f)],{'shellId':_0x56fce2,'regex':_0x2295a9});}let _0xc31e1c=_0x4c9ff3;if(!_0x4d9626){const _0xa6010d=_0x4c9ff3[_0x2ddc8b(0x34b,0x42b,0x4ba,0x50f)]('\x0a');_0xc31e1c=_0xa6010d>=0x0?_0x4c9ff3['slice'](0x0,_0xa6010d+0x1):'';}_0x326d91=_0xc31e1c[_0x2ddc8b(_0x454725._0x22f285,0x6ec,0x769,0x72f)]('\x0a')[_0x2ddc8b(_0x454725._0x47c53c,_0x454725._0x47f77e,0x56f,_0x454725._0x86bc46)](_0x114081=>_0xccf3f3[_0x2ddc8b(0x522,0x70e,0x680,0x571)](_0x114081))['join']('\x0a'),_0x408160[_0x1c05d1(0x1a4,_0x454725._0x255962,0x5,0x23b)]=_0x175a91+_0xc31e1c['length'];}const _0x5b62b6=(_0x4e35b6>0x0?_0x1c05d1(_0x454725._0x392be9,-0x71,_0x454725._0x568f99,-_0x454725._0x3636e7)+_0x4e35b6+_0x2ddc8b(0x4e3,_0x454725._0x554edd,_0x454725._0x183e49,_0x454725._0x4ecce5):'')+_0x326d91;return{'output':_0x5b62b6,'status':_0x408160[_0x2ddc8b(0x44f,_0x454725._0x4b5911,0x590,_0x454725._0x5aae90)],'exitCode':_0x408160['exitCode'],'signal':_0x408160['signal'],'truncated':_0x4e35b6>0x0};}['list'](){const _0x4bdd97={_0x14726d:0x4c7,_0x571888:0x597,_0x4a4830:0x63b},_0x5ca897={_0x325a67:0x171,_0x111015:0x1c4},_0x39ec1d={_0x4d765a:0x5e,_0xa059a6:0x1ae,_0x2f1123:0x25e};function _0x4a3ca1(_0x21279e,_0x1bd6c8,_0x5a1971,_0x44881e){return _0x257320(_0x21279e-_0x39ec1d._0x4d765a,_0x1bd6c8-_0x39ec1d._0xa059a6,_0x44881e-_0x39ec1d._0x2f1123,_0x5a1971);}function _0x142be5(_0x1f8af9,_0xd75cd1,_0x280cae,_0x2de6b7){return _0x3342ed(_0x1f8af9-0x88,_0x1f8af9,_0x2de6b7-_0x5ca897._0x325a67,_0x2de6b7-_0x5ca897._0x111015);}return[...this[_0x142be5(0x49f,0x595,0x62b,_0x4bdd97._0x14726d)][_0x4a3ca1(0x724,_0x4bdd97._0x571888,0x76e,_0x4bdd97._0x4a4830)]()];}[_0x257320(0x22c,0x2cb,0x316,0x280)](_0x1329ab){const _0x29ab5d={_0x138924:0x3ea,_0xf988af:0x594,_0x356ff5:0x2cb,_0x3f2cac:0x2b4,_0x87e70:0x226,_0x144ab0:0x394,_0x1dc33b:0x38f,_0x5e7402:0x4d4,_0x5a36f1:0x351,_0x1eb84e:0x450,_0x40795f:0x259,_0x21321d:0x274,_0x53b029:0x2f4,_0x1a5f13:0x22a,_0x2d7db4:0x250,_0x119eb1:0x2bd,_0x265c9d:0x401,_0x28e772:0x2fd,_0x3f53b8:0x41d,_0xb8e07b:0x4e5,_0x116692:0x41b,_0x64073b:0x257,_0x3b64e3:0x25e,_0x537c41:0x59d,_0x35d33d:0x478,_0x5e2021:0x470,_0x3b572e:0x4c2},_0x16d291={_0x3b1bda:0x17b,_0x334bdc:0x13b},_0xeae19={_0x59bef4:0x193,_0x5ed543:0x1de};function _0x36072c(_0x411eef,_0x3c02ce,_0x248f05,_0x4c66cb){return _0x3342ed(_0x411eef-0x1c7,_0x4c66cb,_0x3c02ce- -_0xeae19._0x59bef4,_0x4c66cb-_0xeae19._0x5ed543);}function _0x5aba6d(_0x983dc4,_0x3f0f05,_0x21a806,_0x311f4b){return _0x257320(_0x983dc4-_0x16d291._0x3b1bda,_0x3f0f05-_0x16d291._0x334bdc,_0x311f4b-0x8b,_0x983dc4);}const _0x3f729a=this[_0x5aba6d(0x335,_0x29ab5d._0x138924,_0x29ab5d._0xf988af,0x46d)]['get'](_0x1329ab);if(!_0x3f729a)throw new ToolExecutionError(_0x36072c(_0x29ab5d._0x356ff5,_0x29ab5d._0x3f2cac,0x30c,_0x29ab5d._0x87e70)+_0x1329ab,{'shellId':_0x1329ab});if(_0x3f729a['status']==='running'&&_0x3f729a[_0x5aba6d(_0x29ab5d._0x144ab0,_0x29ab5d._0x1dc33b,0x388,_0x29ab5d._0x5e7402)]&&!_0x3f729a[_0x5aba6d(0x53e,_0x29ab5d._0x5a36f1,0x5a9,_0x29ab5d._0x1eb84e)]){_0x3f729a[_0x36072c(0xec,_0x29ab5d._0x40795f,0x3c8,_0x29ab5d._0x21321d)]=!![];try{killProcessGroup(_0x3f729a[_0x36072c(_0x29ab5d._0x53b029,_0x29ab5d._0x1a5f13,0x1f0,_0x29ab5d._0x2d7db4)],process[_0x5aba6d(_0x29ab5d._0x119eb1,_0x29ab5d._0x265c9d,_0x29ab5d._0x28e772,_0x29ab5d._0x3f53b8)]==='win32');}catch{}}return{'status':_0x3f729a[_0x5aba6d(_0x29ab5d._0xb8e07b,0x2f4,0x57b,_0x29ab5d._0x116692)],'exitCode':_0x3f729a[_0x36072c(0x368,_0x29ab5d._0x64073b,0x17f,_0x29ab5d._0x3b64e3)],'signal':_0x3f729a[_0x5aba6d(_0x29ab5d._0x537c41,_0x29ab5d._0x35d33d,_0x29ab5d._0x5e2021,_0x29ab5d._0x3b572e)]};}async['closeAll'](){const _0x4c40dc={_0xa9c38f:0x53e,_0x697359:0x62,_0x3a16c6:0x228,_0x17480f:0x79b,_0x452c3c:0x622,_0x4bff49:0x6a9,_0x2e3fbd:0x1f2,_0x819369:0x1fd,_0xd340e6:0x113,_0x252c6d:0x70a,_0x190ebd:0x5d2,_0x1453ac:0x675,_0x52b995:0x624,_0x4f1711:0x730},_0x47bf64={_0x4dd481:0xdb,_0x32408d:0x14e},_0x16bbcf={_0x3fc0d0:0x1ba,_0x35e774:0x138};function _0x51b109(_0x13dbb8,_0xd966af,_0x3b94fe,_0x4fc8da){return _0x257320(_0x13dbb8-_0x16bbcf._0x3fc0d0,_0xd966af-_0x16bbcf._0x35e774,_0x3b94fe-0x292,_0x4fc8da);}function _0x95072e(_0x522579,_0x46a7da,_0x29f547,_0x216847){return _0x3342ed(_0x522579-_0x47bf64._0x4dd481,_0x522579,_0x46a7da- -0x28f,_0x216847-_0x47bf64._0x32408d);}for(const _0x2056e9 of this[_0x51b109(0x64a,0x730,0x674,_0x4c40dc._0xa9c38f)][_0x95072e(_0x4c40dc._0x697359,0xc2,_0x4c40dc._0x3a16c6,-0x73)]()){if(_0x2056e9[_0x51b109(_0x4c40dc._0x17480f,0x5ec,_0x4c40dc._0x452c3c,_0x4c40dc._0x4bff49)]===_0x95072e(0x347,_0x4c40dc._0x2e3fbd,_0x4c40dc._0x819369,_0x4c40dc._0xd340e6)&&_0x2056e9[_0x95072e(0x20c,0x12e,0x143,0x11a)]&&!_0x2056e9['processExited']){_0x2056e9[_0x51b109(0x5a0,0x824,_0x4c40dc._0x252c6d,_0x4c40dc._0x190ebd)]=!![];try{killProcessGroup(_0x2056e9['child'],process[_0x51b109(0x754,_0x4c40dc._0x1453ac,_0x4c40dc._0x52b995,0x581)]===_0x51b109(0x51b,_0x4c40dc._0x4f1711,0x5d4,0x57a));}catch{}}}}[_0x3342ed(0x2e4,0x3bc,0x39e,0x40a)](_0x185919,_0x243f22){const _0x5d90e1={_0x3e2d96:0x71b,_0x405e29:0x770,_0x4baaf6:0x7ca,_0x2a545d:0x72b,_0xdfa246:0x47,_0x21f2f2:0x177,_0x3d290d:0x3,_0x3ad70a:0x55,_0x2f98d8:0x77c,_0x55c765:0x851,_0x4279ab:0x2d8,_0x1cfe9d:0x1b9,_0x582cbd:0x154,_0x1f8ed8:0x63b,_0x8e1954:0x75f,_0x555e75:0x716,_0x47539e:0x81b,_0x4e62f0:0x758,_0x30cc0b:0x212,_0x523048:0x1f1,_0x42c0aa:0x535,_0x4ed7a6:0x6a6,_0x3fe85b:0x478,_0x3f517a:0x826,_0x54ca98:0x5df,_0x16111c:0x1d7,_0xed7d33:0x35,_0x53913d:0x115,_0x409267:0x16a,_0x53196b:0x193,_0x4633c:0x204,_0x3c31b1:0x7a2,_0x30628d:0x90a,_0x5a22c7:0x7ce,_0x3a83ef:0x1d4,_0x1e6ffa:0x535,_0x2280ed:0x67d,_0x9ae1a8:0x4bc,_0x2d5f59:0x61e,_0x361243:0x65c,_0x302e39:0x61d,_0x23c09c:0x8a1,_0x3b8bf:0x1de},_0x586d87={_0x5d0ba6:0x46,_0x1dae79:0x368},_0x7c565c={_0x20b9c6:0x281},_0x4df86d=_0x185919[_0x3dab75(_0x5d90e1._0x3e2d96,_0x5d90e1._0x405e29,0x857,0x5ea)]?stripAnsiAndControls(_0x243f22):_0x243f22;if(_0x4df86d[_0x3dab75(0x7a2,0x83e,_0x5d90e1._0x4baaf6,_0x5d90e1._0x2a545d)]===0x0)return;_0x185919[_0x3183d8(-0x1ac,-_0x5d90e1._0xdfa246,-0xb4,-_0x5d90e1._0x21f2f2)][_0x3183d8(0xf9,0x5a,_0x5d90e1._0x3d290d,-_0x5d90e1._0x3ad70a)](_0x4df86d),_0x185919[_0x3dab75(_0x5d90e1._0x2f98d8,0x656,_0x5d90e1._0x55c765,0x6e0)]+=_0x4df86d[_0x3183d8(0x8e,_0x5d90e1._0x4279ab,_0x5d90e1._0x1cfe9d,0x1ed)];function _0x3dab75(_0x2d91b1,_0x4d1d6a,_0x126f05,_0x155a6f){return _0x257320(_0x2d91b1-0x8a,_0x4d1d6a-0x115,_0x2d91b1-_0x7c565c._0x20b9c6,_0x126f05);}function _0x3183d8(_0x57de23,_0x12a0e9,_0x456fcb,_0x39f9b4){return _0x257320(_0x57de23-_0x586d87._0x5d0ba6,_0x12a0e9-0xa4,_0x456fcb- -_0x586d87._0x1dae79,_0x57de23);}_0x185919[_0x3183d8(0x1d6,0x29d,_0x5d90e1._0x582cbd,0x51)]+=_0x4df86d['length'];while(_0x185919[_0x3dab75(0x77c,0x65d,_0x5d90e1._0x1f8ed8,_0x5d90e1._0x8e1954)]>this['capChars']){const _0x24fd2a=_0x185919[_0x3dab75(0x77c,_0x5d90e1._0x555e75,_0x5d90e1._0x47539e,_0x5d90e1._0x4e62f0)]-this[_0x3183d8(0x314,_0x5d90e1._0x30cc0b,_0x5d90e1._0x523048,0x1ed)],_0x40faa7=_0x185919[_0x3dab75(_0x5d90e1._0x42c0aa,0x691,_0x5d90e1._0x4ed7a6,_0x5d90e1._0x3fe85b)][0x0];_0x40faa7[_0x3dab75(0x7a2,0x8a7,0x8f8,_0x5d90e1._0x3f517a)]<=_0x24fd2a?(_0x185919[_0x3dab75(0x535,_0x5d90e1._0x54ca98,0x533,0x472)][_0x3183d8(_0x5d90e1._0x16111c,-_0x5d90e1._0xed7d33,_0x5d90e1._0x53913d,_0x5d90e1._0x409267)](),_0x185919[_0x3183d8(0x2d5,0x1b,_0x5d90e1._0x53196b,_0x5d90e1._0x4633c)]-=_0x40faa7[_0x3dab75(_0x5d90e1._0x3c31b1,_0x5d90e1._0x30628d,0x789,_0x5d90e1._0x5a22c7)],_0x185919[_0x3183d8(_0x5d90e1._0x3a83ef,0x1c5,0x1ee,0x26e)]+=_0x40faa7['length']):(_0x185919[_0x3dab75(_0x5d90e1._0x1e6ffa,_0x5d90e1._0x2280ed,_0x5d90e1._0x9ae1a8,_0x5d90e1._0x2d5f59)][0x0]=_0x40faa7[_0x3dab75(0x795,0x804,_0x5d90e1._0x361243,_0x5d90e1._0x302e39)](_0x24fd2a),_0x185919[_0x3dab75(_0x5d90e1._0x2f98d8,0x62b,_0x5d90e1._0x23c09c,0x8df)]-=_0x24fd2a,_0x185919[_0x3183d8(0x290,0x257,0x1ee,_0x5d90e1._0x3b8bf)]+=_0x24fd2a);}}[_0x257320(0x281,0x41e,0x2e3,0x351)](){const _0x3c653c={_0x1cb84d:0xea,_0x4a3045:0x184,_0x3504e5:0x140,_0x3acb7e:0x5ae,_0x473e81:0x6a1,_0x3bb105:0x73f,_0x3a0b82:0x614,_0x11662c:0x74e,_0xeb7f4e:0x784,_0x522213:0x6a9,_0x1cf1fc:0x734,_0x190ae4:0x6c4},_0x399299={_0x3d1669:0xd4,_0x12639b:0x333,_0x4b4ec5:0x1d4},_0x43a0c5={_0xe39719:0x2be,_0x51cdc8:0x4f};function _0x32e0b5(_0x5b2561,_0x194d26,_0x121049,_0x3636ba){return _0x3342ed(_0x5b2561-0x59,_0x121049,_0x5b2561-_0x43a0c5._0xe39719,_0x3636ba-_0x43a0c5._0x51cdc8);}if(this[_0x25f5a0(-0x125,-_0x3c653c._0x1cb84d,0x197,0x23)][_0x25f5a0(0x22e,0x133,_0x3c653c._0x4a3045,_0x3c653c._0x3504e5)]<=this[_0x32e0b5(_0x3c653c._0x3acb7e,0x650,0x4b2,_0x3c653c._0x473e81)])return;function _0x25f5a0(_0x2ce607,_0x1d7182,_0x3df929,_0x1ca2b8){return _0x3342ed(_0x2ce607-_0x399299._0x3d1669,_0x3df929,_0x1ca2b8- -_0x399299._0x12639b,_0x1ca2b8-_0x399299._0x4b4ec5);}for(const [_0x17a5f5,_0x242b46]of this['entries']){if(_0x242b46['status']!==_0x32e0b5(_0x3c653c._0x3bb105,0x68a,0x88a,0x81e)){this[_0x32e0b5(_0x3c653c._0x3a0b82,_0x3c653c._0x11662c,0x766,_0x3c653c._0xeb7f4e)][_0x32e0b5(_0x3c653c._0x522213,_0x3c653c._0x1cf1fc,0x678,_0x3c653c._0x190ae4)](_0x17a5f5);return;}}}};function createBashOutputTool(_0x213ea3){const _0x1a4436={_0x174df8:0x1dc,_0x1c680b:0x29c,_0x3976b8:0x2bd,_0x13860b:0x505,_0x549d89:0x624,_0x386ea9:0x624,_0xbe3799:0x722,_0x381d7f:0x3},_0x1b63c8={_0x2a68b1:0x54e,_0x4d4f84:0x6a5,_0x2e4522:0x258,_0x527999:0x2cc,_0x529f6a:0x273,_0x547b20:0x279,_0x2b96e9:0x2d9,_0xf9e55:0x1fe,_0x55cf89:0x122,_0x25b030:0x91,_0x45fb2a:0x1,_0x3a8c98:0x5,_0x463679:0x766,_0x118f27:0x792,_0x13f284:0x810,_0x4130f4:0x157,_0x5a0489:0x192,_0x922332:0x2b0,_0x3d2259:0x19,_0x15f906:0x166},_0x288545={_0x482825:0x1e1,_0x2aac52:0x12f,_0x543184:0x19},_0x1cf849={_0x15ba17:0x14a},_0x2f03ac={_0x55eb83:0x10c};function _0x2ffd88(_0x1b0e27,_0x1d956b,_0x4b23a8,_0x25b2d5){return _0x257320(_0x1b0e27-0x4b,_0x1d956b-0xe8,_0x4b23a8-_0x2f03ac._0x55eb83,_0x1d956b);}function _0xe0dcfd(_0x1fe283,_0x1b6388,_0x401082,_0x1caaf2){return _0x257320(_0x1fe283-0x174,_0x1b6388-0xca,_0x1caaf2- -0x4c2,_0x1fe283);}const {registry:_0x47651f}=_0x213ea3;return defineTool({'name':_0xe0dcfd(-_0x1a4436._0x174df8,-_0x1a4436._0x1c680b,-_0x1a4436._0x3976b8,-_0x1a4436._0x174df8),'description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':'object','properties':{'shellId':{'type':_0x2ffd88(0x4c2,_0x1a4436._0x13860b,_0x1a4436._0x549d89,0x5a3)},'regex':{'type':_0x2ffd88(0x518,0x599,_0x1a4436._0x386ea9,_0x1a4436._0xbe3799)}},'required':[_0xe0dcfd(0x81,0x9b,_0x1a4436._0x381d7f,0x95)]},async *'execute'(_0x48b699){const _0x3475a5=_0x47651f[_0x4ca90d(_0x1b63c8._0x2a68b1,_0x1b63c8._0x4d4f84,0x5b3,0x714)](_0x48b699[_0x57e926(_0x1b63c8._0x2e4522,_0x1b63c8._0x527999,_0x1b63c8._0x529f6a,_0x1b63c8._0x547b20)],_0x48b699[_0x57e926(0x108,_0x1b63c8._0x2b96e9,_0x1b63c8._0xf9e55,0x1c2)]?{'regex':_0x48b699['regex']}:void 0x0);function _0x57e926(_0x249212,_0x497e6b,_0xfb12eb,_0x98ef97){return _0xe0dcfd(_0x98ef97,_0x497e6b-0x3,_0xfb12eb-_0x1cf849._0x15ba17,_0xfb12eb-0x1de);}function _0x4ca90d(_0x57844f,_0x115026,_0x480b5b,_0x584688){return _0x2ffd88(_0x57844f-_0x288545._0x482825,_0x584688,_0x115026-_0x288545._0x2aac52,_0x584688-_0x288545._0x543184);}return createToolOutput(_0x3475a5[_0x57e926(_0x1b63c8._0x55cf89,_0x1b63c8._0x25b030,_0x1b63c8._0x45fb2a,-_0x1b63c8._0x3a8c98)],{'shellId':_0x48b699[_0x4ca90d(_0x1b63c8._0x463679,_0x1b63c8._0x118f27,0x8cc,_0x1b63c8._0x13f284)],'status':_0x3475a5[_0x4ca90d(0x4c9,0x5cb,0x59b,0x543)],'exitCode':_0x3475a5[_0x57e926(_0x1b63c8._0x4130f4,0xb1,_0x1b63c8._0x5a0489,_0x1b63c8._0x922332)],'signal':_0x3475a5[_0x57e926(-_0x1b63c8._0x3d2259,0x2a6,0x153,_0x1b63c8._0x15f906)],'truncated':_0x3475a5[_0x57e926(0x32,0x22c,0xc0,0x12a)]});}});}import{spawn as _0x3f73df}from'child_process';import{statSync}from'fs';import*as _0x1fe5ec from'os';import*as _0x49093b from'path';import{StringDecoder as _0x1628c2}from'string_decoder';import{stat}from'fs/promises';import*as _0x1f1bb2 from'path';function isPathInside(_0x3677a9,_0x35a4b7){const _0x3a0d0e={_0x1cb8a6:0x201,_0x1fe8aa:0xc1,_0x579b25:0x95,_0x18f340:0xb2},_0x1078a5={_0x3d2768:0x88,_0x52e08f:0x15c},_0x388b18={_0x1cdebf:0xf6,_0x5a32d8:0xea,_0x544dc1:0x24b};function _0x7405ac(_0x147799,_0x3ca87a,_0x4f9fce,_0x38ae67){return _0x257320(_0x147799-_0x388b18._0x1cdebf,_0x3ca87a-_0x388b18._0x5a32d8,_0x4f9fce- -_0x388b18._0x544dc1,_0x38ae67);}const _0x23d071=_0x1f1bb2[_0x888b5c(0x2f7,0xfb,_0x3a0d0e._0x1cb8a6,0x2e2)](_0x3677a9),_0x22d6dd=_0x1f1bb2[_0x7405ac(-0x12,_0x3a0d0e._0x1fe8aa,_0x3a0d0e._0x579b25,_0x3a0d0e._0x18f340)](_0x23d071,_0x35a4b7);function _0x888b5c(_0x216c7e,_0xd5e1d3,_0x273ac3,_0xb7ce65){return _0x257320(_0x216c7e-_0x1078a5._0x3d2768,_0xd5e1d3-0x118,_0x273ac3- -_0x1078a5._0x52e08f,_0xd5e1d3);}return _0x22d6dd===''||!_0x22d6dd['startsWith']('..')&&!_0x1f1bb2['isAbsolute'](_0x22d6dd);}function resolveWorkspacePath(_0x1963ed,_0x1ae901){return resolveAllowedPath(_0x1963ed,[],_0x1ae901);}function resolveAllowedPath(_0x474ba2,_0x502c4b,_0x237eac){const _0x5bebea={_0x44fd04:0x2a3,_0x558df6:0x2a9,_0x5e430a:0x154,_0x157f4b:0x495},_0x458b25={_0xf7ef23:0xe5},_0x7409ff={_0x1aa614:0xc8,_0x2d2eed:0x2e,_0x34c58d:0x17};function _0x502c3c(_0x4ec566,_0x37d0ab,_0x27ec40,_0xdadc2f){return _0x3342ed(_0x4ec566-_0x7409ff._0x1aa614,_0x27ec40,_0x4ec566- -_0x7409ff._0x2d2eed,_0xdadc2f-_0x7409ff._0x34c58d);}const _0x220b1b=_0x1f1bb2['resolve'](_0x474ba2);function _0x51ee5a(_0x4e72d1,_0x259055,_0x339573,_0x4e82e7){return _0x257320(_0x4e72d1-0x97,_0x259055-0x104,_0x259055-_0x458b25._0xf7ef23,_0x4e82e7);}const _0x3dec44=_0x1f1bb2[_0x502c3c(_0x5bebea._0x44fd04,_0x5bebea._0x558df6,0x3b2,_0x5bebea._0x5e430a)](_0x220b1b,_0x237eac),_0x2b5b0e=[_0x220b1b,..._0x502c4b['map'](_0x5cb87a=>_0x1f1bb2[_0x51ee5a(0x36a,0x442,0x5ab,0x4cb)](_0x5cb87a))];if(_0x2b5b0e[_0x51ee5a(0x32d,0x498,0x55b,_0x5bebea._0x157f4b)](_0x2fa673=>isPathInside(_0x2fa673,_0x3dec44)))return _0x3dec44;throw new ToolExecutionError(_0x502c3c(0x395,0x336,0x3e8,0x2cb)+_0x237eac,{'path':_0x237eac,'rootDir':_0x220b1b,'allowedDirs':_0x2b5b0e});}async function assertWorkspaceFile(_0x59ac9d){const _0x5be558={_0x19e30e:0x3fd,_0x132212:0x695,_0xe11e91:0x558},_0xb6ee55={_0x4a558b:0x5,_0x3343e5:0x8f},_0xf7f370={_0x2292a7:0x3d},_0x3d4502=await stat(_0x59ac9d);function _0x147ca9(_0x1c3347,_0x541775,_0x398c61,_0x106d0c){return _0x257320(_0x1c3347-0x40,_0x541775-0x1cb,_0x541775- -_0xf7f370._0x2292a7,_0x1c3347);}function _0x4b68ef(_0x1c98e2,_0x3e4123,_0x2a0a5c,_0x259921){return _0x257320(_0x1c98e2-_0xb6ee55._0x4a558b,_0x3e4123-0xa3,_0x2a0a5c-_0xb6ee55._0x3343e5,_0x3e4123);}if(!_0x3d4502[_0x4b68ef(0x523,0x3e9,_0x5be558._0x19e30e,0x4b1)]())throw new ToolExecutionError(_0x4b68ef(_0x5be558._0x132212,_0x5be558._0xe11e91,0x5c5,0x599)+_0x59ac9d,{'path':_0x59ac9d});}function isProbablyBinary(_0x59d05a){return _0x59d05a['includes'](0x0);}var DEFAULT_DESCRIPTION=_0x3342ed(0x1f3,0x3c6,0x26b,0x384),DEFAULT_TIMEOUT_MS=0x7530;function buildChildEnv(_0x1fac6c,_0x34e124){const _0x3b35cc={_0x1ecc31:0x103,_0x13c81a:0x139,_0x24b804:0x211,_0x4f4e03:0x29,_0x26ec4b:0x123,_0x58bcc6:0x125,_0xc5f1d1:0xa,_0x497aec:0x2,_0x103509:0x70},_0x20f541={_0x57cb08:0x3b6,_0x3cea7e:0x78},_0x457e78={_0x2ee758:0x8c,_0x50423c:0x1ac,_0x513451:0x3e8},_0x4eb1c9={...process['env'],..._0x1fac6c??{}};function _0x53f754(_0x2004e3,_0xf2516d,_0x130417,_0x1dd3e2){return _0x257320(_0x2004e3-_0x457e78._0x2ee758,_0xf2516d-_0x457e78._0x50423c,_0xf2516d- -_0x457e78._0x513451,_0x130417);}if(_0x34e124[_0x53f754(_0x3b35cc._0x1ecc31,_0x3b35cc._0x13c81a,_0x3b35cc._0x24b804,0x82)]===0x0)return _0x4eb1c9;if(_0x1fe5ec[_0x5a9487(-0x1c2,-0x72,_0x3b35cc._0x4f4e03,-0xb0)]()==='win32'){const _0x447e84=new Set(_0x34e124[_0x5a9487(-0x24d,-0xc3,-_0x3b35cc._0x26ec4b,-_0x3b35cc._0x58bcc6)](_0x54a0d8=>_0x54a0d8['toLowerCase']()));for(const _0xdd0a3d of Object['keys'](_0x4eb1c9)){if(_0x447e84[_0x53f754(0xf,_0x3b35cc._0xc5f1d1,_0x3b35cc._0x497aec,_0x3b35cc._0x103509)](_0xdd0a3d['toLowerCase']()))delete _0x4eb1c9[_0xdd0a3d];}}else{for(const _0x10e4ff of _0x34e124)delete _0x4eb1c9[_0x10e4ff];}function _0x5a9487(_0x2ba68a,_0x552793,_0x5c6c03,_0x54381f){return _0x3342ed(_0x2ba68a-0x173,_0x2ba68a,_0x54381f- -_0x20f541._0x57cb08,_0x54381f-_0x20f541._0x3cea7e);}return _0x4eb1c9;}function mapSpawnError(_0x4899fd,_0x15c6b5){const _0x5cb139={_0x4baabf:0x113,_0x3ec599:0xaf,_0x154fce:0x294,_0x625483:0x28b,_0x1b673b:0x220,_0x317d6c:0xcb,_0x156415:0x4de,_0xcbf4c6:0x466,_0x2e2a0a:0x1d8,_0x519d0e:0x10e},_0x7ce2f3={_0x476dbd:0x13,_0x832314:0x1ef,_0xa4a37d:0x2f2};function _0x3fd704(_0x20e510,_0x1e2c9d,_0x67ef8d,_0xba3630){return _0x3342ed(_0x20e510-0x9,_0xba3630,_0x67ef8d- -0x11,_0xba3630-0x1d6);}if(isErrnoException(_0x4899fd)&&_0x4899fd[_0x4e4268(_0x5cb139._0x4baabf,_0x5cb139._0x3ec599,0x14c,-0x3c)]===_0x4e4268(_0x5cb139._0x154fce,_0x5cb139._0x625483,0x3a6,0x346))return new ToolExecutionError(_0x4e4268(_0x5cb139._0x1b673b,0x1ab,_0x5cb139._0x317d6c,0x236)+_0x15c6b5[_0x3fd704(_0x5cb139._0x156415,0x4bf,_0x5cb139._0xcbf4c6,0x555)],_0x15c6b5);function _0x4e4268(_0x6425cc,_0x1ef672,_0x5c27f3,_0x1ad37f){return _0x257320(_0x6425cc-_0x7ce2f3._0x476dbd,_0x1ef672-_0x7ce2f3._0x832314,_0x6425cc- -_0x7ce2f3._0xa4a37d,_0x5c27f3);}return new ToolExecutionError(_0x4899fd instanceof Error?_0x4899fd[_0x4e4268(0x273,0x15c,_0x5cb139._0x2e2a0a,_0x5cb139._0x519d0e)]:String(_0x4899fd),_0x15c6b5);}function shellExists(_0x54849b){const _0x4f91a6={_0x303418:0xa5,_0xdfaece:0x127,_0x2c31ee:0x144,_0x511e7d:0x25d,_0x310554:0x2df,_0x4f4ba8:0x38a},_0x274eb8={_0x178525:0x2,_0x51a757:0x2c9},_0x5f04af={_0x1fb02b:0x49,_0x52e75b:0x1df};function _0x1e6c02(_0x283547,_0x35e5a5,_0x582d73,_0x5be32f){return _0x3342ed(_0x283547-_0x5f04af._0x1fb02b,_0x5be32f,_0x35e5a5- -_0x5f04af._0x52e75b,_0x5be32f-0x127);}function _0x33e0c4(_0xf7e987,_0x50b772,_0xf2fd29,_0x4e373c){return _0x257320(_0xf7e987-0x38,_0x50b772-_0x274eb8._0x178525,_0xf2fd29- -_0x274eb8._0x51a757,_0x50b772);}try{const _0x4ea88d=statSync(_0x54849b);return _0x4ea88d[_0x33e0c4(0x5e,0x1f9,_0x4f91a6._0x303418,_0x4f91a6._0xdfaece)]()&&(_0x4ea88d[_0x1e6c02(_0x4f91a6._0x2c31ee,_0x4f91a6._0x511e7d,_0x4f91a6._0x310554,_0x4f91a6._0x4f4ba8)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4e70a0){const _0x2988d5={_0x25a7d7:0xf8,_0x5511fc:0xb1,_0xffc473:0x202,_0x309840:0x99,_0x274593:0xea,_0x532571:0xf6,_0x438a48:0x29,_0x3b661d:0x25a,_0x49f4a7:0x774,_0x33b5a2:0x68d,_0x1f5137:0x6ab,_0x5702e6:0x61c,_0x5d23ff:0x644,_0x30869d:0x618,_0x1abaf7:0x565,_0x20a3d4:0x615,_0x555591:0x146,_0x386f16:0x10a},_0x4a7181={_0x1b5e1f:0xd5};if(_0x4e70a0)return _0x4e70a0;if(_0x1fe5ec[_0x570367(-0x61,-_0x2988d5._0x25a7d7,0x7,0x27)]()===_0x570367(-_0x2988d5._0x5511fc,-0x10b,-_0x2988d5._0xffc473,-0x25))return process[_0x570367(-0x4c,-0x41,-_0x2988d5._0x309840,-_0x2988d5._0x274593)][_0x570367(_0x2988d5._0x532571,0xa,_0x2988d5._0x438a48,_0x2988d5._0x3b661d)]||_0x5bbe16(0x7aa,_0x2988d5._0x49f4a7,_0x2988d5._0x33b5a2,0x66e);const _0x1efdfd=[_0x5bbe16(0x5e2,_0x2988d5._0x1f5137,0x721,_0x2988d5._0x5702e6),_0x5bbe16(_0x2988d5._0x5d23ff,_0x2988d5._0x30869d,_0x2988d5._0x1abaf7,0x6ba),'/usr/bin/bash',_0x5bbe16(0x5a3,0x41b,_0x2988d5._0x20a3d4,0x52e)];function _0x570367(_0x1e2b34,_0x36ca9a,_0x4401ba,_0xb7dfb8){return _0x3342ed(_0x1e2b34-0xdd,_0xb7dfb8,_0x1e2b34- -0x367,_0xb7dfb8-0x5b);}for(const _0x27a185 of _0x1efdfd){if(shellExists(_0x27a185))return _0x27a185;}const _0x12dacd=process[_0x5bbe16(0x5f7,0x6b2,0x6c6,0x5e7)][_0x570367(0x17b,0x2c4,_0x2988d5._0x555591,_0x2988d5._0x386f16)];if(_0x12dacd&&shellExists(_0x12dacd))return _0x12dacd;function _0x5bbe16(_0x276ddd,_0x242b71,_0x1b0885,_0x53fc97){return _0x257320(_0x276ddd-_0x4a7181._0x1b5e1f,_0x242b71-0xb5,_0x53fc97-0x240,_0x276ddd);}return'/bin/bash';}function buildShellArgs(_0x1d0a38,_0xb9c6fe){const _0x208d31={_0x412081:0x6b,_0xfa8573:0xa,_0x114166:0x34,_0x5511a0:0x1a0,_0x3df8ce:0x318,_0x237214:0x332,_0x45f2e0:0x443,_0x37d3ee:0x273,_0x384931:0x32e,_0x56ade5:0x276,_0x5e65c1:0x23f},_0x185c15={_0x178ea2:0x3fd},_0x106c77={_0xee7762:0x1b9,_0x43e2df:0x14a,_0x3340f1:0x16a};if(_0x1fe5ec[_0x46c387(-_0x208d31._0x412081,-_0x208d31._0xfa8573,-0x35,-_0x208d31._0x114166)]()===_0x219219(_0x208d31._0x5511a0,_0x208d31._0x3df8ce,0x1d8,_0x208d31._0x237214)){const _0x3f0221=/cmd(\.exe)?$/i[_0x219219(0x2a6,0x25d,0x316,_0x208d31._0x45f2e0)](_0xb9c6fe);return _0x3f0221?['/d','/s','/c',_0x1d0a38]:['-NoLogo','-NoProfile',_0x219219(_0x208d31._0x37d3ee,_0x208d31._0x384931,_0x208d31._0x56ade5,_0x208d31._0x5e65c1),_0x1d0a38];}function _0x219219(_0x2f9128,_0x2175d7,_0x3364e0,_0x32a577){return _0x257320(_0x2f9128-_0x106c77._0xee7762,_0x2175d7-_0x106c77._0x43e2df,_0x3364e0- -_0x106c77._0x3340f1,_0x2f9128);}function _0x46c387(_0x2dce18,_0x229026,_0x2b9af6,_0x2d9e22){return _0x257320(_0x2dce18-0x9a,_0x229026-0x1f4,_0x2dce18- -_0x185c15._0x178ea2,_0x229026);}return['-c',_0x1d0a38];}function resolveWorkingDirectory(_0x319ba3,_0x1c6902,_0x2811a6){const _0x48ced5={_0x4408d5:0x33a,_0x3fdcae:0x2cd,_0x1d767f:0x2f4,_0x21f5d5:0x3c8,_0xb89094:0x3fe},_0x26620b={_0x32c166:0x63,_0x12a6b4:0x1f2},_0x1d25e9={_0x537709:0x96,_0x4d42cc:0xeb};function _0x342b58(_0xdac080,_0x3bdb7f,_0x79d39f,_0x594eac){return _0x257320(_0xdac080-0x9e,_0x3bdb7f-_0x1d25e9._0x537709,_0x594eac- -_0x1d25e9._0x4d42cc,_0x3bdb7f);}function _0x35b53f(_0x557eca,_0x4511b9,_0x5517a4,_0x122202){return _0x257320(_0x557eca-_0x26620b._0x32c166,_0x4511b9-_0x26620b._0x12a6b4,_0x4511b9- -0x534,_0x5517a4);}const _0x2b8f3e=resolveAllowedPath(_0x1c6902,_0x2811a6,_0x319ba3??'.');try{const _0x49b456=statSync(_0x2b8f3e);if(!_0x49b456[_0x342b58(_0x48ced5._0x4408d5,0x3ac,0x4ec,0x385)]())throw new ToolExecutionError(_0x342b58(0x31e,_0x48ced5._0x3fdcae,_0x48ced5._0x1d767f,0x370)+_0x2b8f3e,{'cwd':_0x2b8f3e});return _0x2b8f3e;}catch(_0x25c27f){if(_0x25c27f instanceof ToolExecutionError)throw _0x25c27f;throw new ToolExecutionError(_0x342b58(0x38a,_0x48ced5._0x21f5d5,_0x48ced5._0xb89094,0x367)+_0x2b8f3e,{'cwd':_0x2b8f3e});}}function appendChunk(_0x40627e,_0x47dee6,_0x44b2e5,_0x558a73,_0x5478f2){const _0x3a4afa={_0xdbac3:0x21e,_0x2482b4:0x18f,_0x33e9c6:0x309},_0xd6f431={_0x3f6231:0x46e},_0x55793d={_0x3d8169:0xd4,_0x4665d2:0x4f};function _0x1798f7(_0x48bf13,_0x48e1c7,_0x414724,_0x315da6){return _0x257320(_0x48bf13-_0x55793d._0x3d8169,_0x48e1c7-_0x55793d._0x4665d2,_0x48e1c7- -0x189,_0x48bf13);}const _0x212d87=_0x558a73?stripAnsiAndControls(_0x44b2e5):_0x44b2e5;if(_0x212d87['length']===0x0)return;function _0x1b8817(_0x3bc373,_0x19b62d,_0x53cc44,_0x278b87){return _0x3342ed(_0x3bc373-0xe6,_0x53cc44,_0x278b87- -_0xd6f431._0x3f6231,_0x278b87-0x1c1);}_0x40627e[_0x1b8817(-_0x3a4afa._0xdbac3,-0x6a,-0x115,-_0x3a4afa._0x2482b4)](_0x212d87),_0x47dee6[_0x1798f7(0xf2,0x1e2,0x131,_0x3a4afa._0x33e9c6)](_0x212d87),_0x5478f2();}function createBashTool(_0x3af924={}){const _0x314ddf={_0x111c52:0x8c,_0x5b0a82:0x5f,_0x1bec0d:0xab,_0x1892f6:0x76,_0x182eaf:0xfe,_0x55fcab:0xbc,_0x2bf8fd:0x11a,_0x41ce87:0x13,_0xd343cd:0x2bd,_0xb39aac:0x1db,_0x27e196:0x1ee,_0x5afc38:0x8e,_0x5c3b53:0x7f,_0x472d31:0xc2,_0x23ec1d:0x16b,_0x128ccb:0x1e6,_0x1f913a:0x21d,_0x5d39d0:0x20a,_0x2678a7:0xc8,_0x3ab9cf:0xf2,_0x450315:0x1d7,_0x46d662:0x161,_0x449300:0x22,_0x2d5109:0x117,_0x2c4f07:0x18f,_0x2c6b3b:0x341,_0x5c2248:0x20e,_0x322ab0:0x2e5,_0x4a6a82:0x143,_0x562b87:0xcc,_0x54165a:0xa9,_0x172529:0x105,_0x10944e:0x88,_0x154fe4:0x5b,_0xcdd2f8:0xe2,_0x59739c:0x178,_0x8f0dac:0xe4},_0x582457={_0x14df60:0x1d1,_0x2e92d7:0x2df,_0x4aae8a:0x2c6,_0x1f8140:0x26d,_0x25ce93:0x58,_0xca6ce1:0x1b3,_0x1a3695:0x1ae,_0x5bc1c9:0xd8,_0x3f5813:0x40b,_0x122a82:0x2cc,_0x2254c3:0xcf,_0x5b188d:0x12b,_0xe67219:0x1a1,_0xa44b0e:0x11f,_0x240aa4:0x291,_0x60a488:0x282,_0x28e7a9:0xa4,_0x6edba:0x215,_0x1a5d86:0x12e,_0x4ac376:0xc,_0x979f39:0x116,_0x4b3a78:0xbf,_0x1e2e0e:0xa5,_0x42f126:0x1d8,_0x424135:0x157,_0x2c5459:0x2be,_0x21e355:0x271,_0x152c85:0x22f,_0x453e1f:0x240,_0x224768:0x238,_0x446853:0x3d9,_0x1e121d:0x461,_0x417002:0x334,_0x1d9f49:0xcf,_0x43b484:0x2,_0x397a5c:0x136,_0x23211e:0x84,_0x15e863:0x199,_0x2bb136:0x8d,_0x2a3ac3:0xd7,_0x31965c:0x9a,_0x2a8e2f:0x25,_0x19b707:0x12e,_0x23435e:0x16f,_0x2a20ff:0x120,_0xa18d1d:0x92,_0x49c714:0x9c,_0x5be6ec:0x1e5,_0x3d88f7:0x57,_0x2951bd:0x37,_0x5f28bc:0x91,_0x58ff08:0xaf,_0x49bacd:0xad,_0x4fa914:0x284,_0x15b480:0x8b,_0x89a4e:0x458,_0x16e477:0x204,_0x1b1523:0x298,_0x4fd816:0x4ac,_0x66e1a4:0x351,_0x5d843d:0x26f,_0x1f4aa3:0x4ab,_0x161298:0x1e,_0x23e99d:0xb7,_0x5f408d:0x313,_0x5d9974:0x1f1,_0x1309c5:0x31e,_0x56d919:0xa9,_0x45e14d:0x69,_0x431c50:0x2e2,_0x323c27:0x1b4,_0x1a25be:0x321,_0x61dda:0x365,_0x3246cf:0x404,_0x5328db:0x170,_0x2d06b8:0xc1,_0x375a53:0x126,_0x21339e:0xac,_0x57d1bc:0x224,_0x1d6bac:0x22b,_0x13d82d:0x49,_0x495b92:0xd,_0x2a6feb:0xe7,_0x361be6:0xe5,_0x145e5c:0x1b,_0xc4c37f:0xd6,_0x3aa7e8:0x2d3,_0x428bdf:0x189,_0x5c3826:0x50,_0x15c06e:0x34,_0x42de7a:0x59,_0x4133ad:0xb8,_0x480cc5:0x15e,_0x1d019a:0x89,_0x1454d0:0x2a9,_0x40921b:0x203,_0xd68754:0x170,_0x486368:0x1c0,_0x2cbd48:0x1ef,_0x5bf336:0x214,_0x3816c2:0x8e,_0x3d2d56:0x94,_0x18b34a:0x1ad,_0x109218:0xc9,_0x19f685:0x1c8,_0xa2eda:0x1e2,_0x40970b:0x40,_0x12272f:0x21c,_0x3a8abc:0x2b,_0x68071c:0x12e,_0x3ff171:0x1a5,_0x20d108:0x19d,_0x2d0989:0x1a1,_0x5efdae:0x48,_0x255378:0xd,_0x2ef841:0x1c6,_0x2f7b90:0x2d6,_0x1992cd:0x213,_0x5a49f8:0x3ee,_0x1f5b41:0x36c,_0x4211a4:0x37c,_0x8ced5e:0x23a,_0x55d08c:0x347,_0xef8588:0x1fb,_0x1eb021:0x85,_0x58157c:0xcd},_0xf5f6e9={_0x484cfd:0xdc,_0x318b52:0xe7},_0x5843bf={_0x5becd9:0x27e,_0x139246:0x1f},_0x358dc6={_0x28c058:0x40b,_0x1142c7:0x12c};function _0x2cab09(_0x1841bd,_0x1bf91e,_0x400b94,_0x26f35f){return _0x3342ed(_0x1841bd-0x1b8,_0x1bf91e,_0x1841bd- -_0x358dc6._0x28c058,_0x26f35f-_0x358dc6._0x1142c7);}const _0xfb75e1=_0x49093b['resolve'](_0x3af924[_0x2cab09(-_0x314ddf._0x111c52,-0x153,0xb2,-_0x314ddf._0x5b0a82)]??process[_0x2cab09(-0xb2,-_0x314ddf._0x1bec0d,-_0x314ddf._0x1892f6,0x89)]()),_0x1a7dba=(_0x3af924[_0x41f962(_0x314ddf._0x182eaf,0x18,-0x23,-_0x314ddf._0x55fcab)]??[])[_0x41f962(-0x6a,-_0x314ddf._0x2bf8fd,_0x314ddf._0x41ce87,-0xf)](_0x5b06b2=>_0x49093b[_0x2cab09(-0x13a,-0x148,0x39,-0x1e4)](_0x5b06b2)),_0x5ebf3d=_0x3af924[_0x41f962(_0x314ddf._0xd343cd,_0x314ddf._0xb39aac,_0x314ddf._0x27e196,0x16f)]??DEFAULT_TIMEOUT_MS,_0xcb88=_0x3af924[_0x41f962(_0x314ddf._0x5afc38,_0x314ddf._0x5c3b53,0x190,_0x314ddf._0x472d31)]??!![],_0x471317=_0x3af924[_0x2cab09(-_0x314ddf._0x23ec1d,-_0x314ddf._0x128ccb,-0x72,-0xfc)]??'Bash',_0x2b8b68=_0x3af924[_0x41f962(0x2dd,0x2e8,_0x314ddf._0x1f913a,_0x314ddf._0x5d39d0)]??[],_0xbe8ec5=_0x3af924[_0x2cab09(_0x314ddf._0x2678a7,-0x88,_0x314ddf._0x3ab9cf,_0x314ddf._0x450315)];function _0x41f962(_0x19c7c6,_0x43fe1c,_0x57fb5b,_0x9f76ba){return _0x3342ed(_0x19c7c6-0x18d,_0x19c7c6,_0x57fb5b- -_0x5843bf._0x5becd9,_0x9f76ba-_0x5843bf._0x139246);}return defineTool({'name':_0x471317,'description':_0x3af924[_0x41f962(_0x314ddf._0x46d662,-_0x314ddf._0x449300,_0x314ddf._0x2d5109,_0x314ddf._0x2c4f07)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':'object','properties':{'command':{'type':'string'},'description':{'type':_0x41f962(0xd6,_0x314ddf._0x2c6b3b,_0x314ddf._0x5c2248,_0x314ddf._0x322ab0),'description':_0x2cab09(0xe5,_0x314ddf._0x4a6a82,0x6d,0x1e7)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x41f962(0xc4,_0x314ddf._0x562b87,0xb4,_0x314ddf._0x54165a)},'ignoreOutput':{'type':'boolean'},'runInBackground':{'type':_0x41f962(-_0x314ddf._0x172529,-_0x314ddf._0x10944e,_0x314ddf._0x154fe4,_0x314ddf._0xcdd2f8)}},'required':[_0x41f962(_0x314ddf._0x59739c,-0x1d,0x85,_0x314ddf._0x8f0dac),_0x2cab09(-0x76,-0x1a9,-0xc0,0x30)]},async *'execute'(_0x9707e7,_0x5611a2){const _0x53e2f3={_0x37db44:0x386,_0x4cd1be:0x26f,_0x29cce:0x616,_0x36e9dc:0x64c,_0x135870:0x587,_0x4b0b5d:0x6c5,_0x874cc9:0x1f4},_0x49ba47={_0x58cba7:0x440,_0x45cfa1:0x308},_0x320c85={_0x54a9ab:0x6a9},_0x4104dc={_0x15c7cf:0x14b,_0x4ccec5:0x261,_0x5851d9:0x2bc,_0x45aae9:0x477,_0x1d2d69:0xeb,_0x493b37:0x2bd,_0x272e16:0x2c2,_0x35407b:0x296,_0x2f68fa:0x2f5},_0x355e83={_0x584d34:0x10,_0xa737b1:0x9e,_0x2c73b1:0x9b},_0x41362b={_0x2445bd:0x100,_0x4efe46:0x62},_0x4af4c4={_0x21baaa:0x8c9,_0x166e10:0x79e},_0x475f1b={_0x5b4aca:0x3b},_0x26fed8={_0x3a5ba0:0x1d9},_0x6855b3=_0x9707e7[_0x25bdac(-0x1af,-_0x582457._0x14df60,-_0x582457._0x2e92d7,-0x1e3)]??_0x5ebf3d;if(!Number[_0x4c9008(0x3c0,_0x582457._0x4aae8a,0x20d,_0x582457._0x1f8140)](_0x6855b3)||_0x6855b3<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x9707e7['command']});throwIfAborted(_0x5611a2[_0x25bdac(0x8f,0xc0,_0x582457._0x25ce93,-0x86)]);const _0x3d9b5d=resolveWorkingDirectory(_0x9707e7[_0x25bdac(-_0x582457._0xca6ce1,-_0x582457._0x1a3695,0xf,-_0x582457._0x5bc1c9)],_0xfb75e1,_0x1a7dba),_0x31d81a=_0x9707e7[_0x4c9008(0x158,_0x582457._0x3f5813,0x417,_0x582457._0x122a82)]??![];function _0x4c9008(_0xdbdc52,_0x585f79,_0x5680d3,_0x54aa73){return _0x41f962(_0xdbdc52,_0x585f79-_0xf5f6e9._0x484cfd,_0x54aa73-_0xf5f6e9._0x318b52,_0x54aa73-0x1ba);}const _0x1fbfd7=resolveDefaultShell(_0x3af924['shellPath']);function _0x25bdac(_0x5e64e0,_0x19a08d,_0x3ad647,_0x4b3d6a){return _0x2cab09(_0x4b3d6a- -0x26,_0x5e64e0,_0x3ad647-0x17,_0x4b3d6a-_0x26fed8._0x3a5ba0);}const _0x2cf4f0=buildShellArgs(_0x9707e7['command'],_0x1fbfd7),_0x12f36b=_0x1fe5ec[_0x25bdac(-0x23a,-0x150,-_0x582457._0x2254c3,-_0x582457._0x5b188d)]()===_0x4c9008(0x1a7,_0x582457._0xe67219,0x247,_0x582457._0xa44b0e);if(_0x9707e7[_0x25bdac(-0x2e9,-_0x582457._0x240aa4,-_0x582457._0x60a488,-0x1ca)]){if(!_0xbe8ec5)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x9707e7[_0x25bdac(-0x169,-_0x582457._0x28e7a9,-_0x582457._0x6edba,-_0x582457._0x1a5d86)]});throwIfAborted(_0x5611a2['signal']);let _0x1ab4e2;try{_0x1ab4e2=_0x3f73df(_0x1fbfd7,_0x2cf4f0,{'cwd':_0x3d9b5d,'env':buildChildEnv(_0x3af924[_0x25bdac(-0x4b,-0x250,-_0x582457._0x4ac376,-_0x582457._0x979f39)],_0x2b8b68),'stdio':[_0x25bdac(-0x19,-_0x582457._0x4b3a78,-_0x582457._0x1e2e0e,0xb7),_0x4c9008(_0x582457._0x42f126,_0x582457._0x424135,_0x582457._0x2c5459,0x1f1),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x12f36b});}catch(_0x247779){throw mapSpawnError(_0x247779,{'command':_0x9707e7[_0x25bdac(-_0x582457._0x21e355,-_0x582457._0x152c85,-0x188,-0x12e)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}let _0x1b4c81;try{_0x1b4c81=_0xbe8ec5[_0x25bdac(-0x114,0xe,-0x88,0x22)]({'child':_0x1ab4e2,'command':_0x9707e7['command'],'cwd':_0x3d9b5d,'stripAnsi':_0xcb88});}catch(_0x101b39){_0x1ab4e2[_0x25bdac(0x13,-_0x582457._0x453e1f,-_0x582457._0x224768,-0xf1)]('error',()=>{});try{killProcessGroup(_0x1ab4e2,_0x12f36b);}catch{}throw _0x101b39;}return createToolOutput('Started\x20background\x20process\x20'+_0x1b4c81[_0x4c9008(_0x582457._0x446853,_0x582457._0x1e121d,0x369,_0x582457._0x417002)]+_0x25bdac(-_0x582457._0x1d9f49,0x2,0xb0,_0x582457._0x43b484)+(_0x1b4c81[_0x25bdac(_0x582457._0x397a5c,0x1a5,-_0x582457._0x23211e,0xad)]??'?')+_0x25bdac(-_0x582457._0x15e863,-0x2ec,-0x37,-0x183),{'shellId':_0x1b4c81[_0x25bdac(-_0x582457._0x2bb136,_0x582457._0x2a3ac3,-0x66,_0x582457._0x31965c)],'status':_0x1b4c81['status'],'command':_0x1b4c81[_0x25bdac(-0x1b6,0x26,_0x582457._0x2a8e2f,-_0x582457._0x19b707)],'description':_0x9707e7[_0x25bdac(-_0x582457._0x23435e,-_0x582457._0x2a20ff,_0x582457._0xa18d1d,-_0x582457._0x49c714)],'cwd':_0x1b4c81[_0x25bdac(-_0x582457._0x5be6ec,-_0x582457._0x3d88f7,-0x56,-0xd8)],'pid':_0x1b4c81[_0x25bdac(-_0x582457._0x2951bd,-_0x582457._0x5f28bc,-_0x582457._0x58ff08,_0x582457._0x49bacd)]??null});}let _0x51c5ca;try{_0x51c5ca=_0x3f73df(_0x1fbfd7,_0x2cf4f0,{'cwd':_0x3d9b5d,'env':buildChildEnv(_0x3af924[_0x25bdac(-_0x582457._0x4fa914,-_0x582457._0x15b480,-0x23f,-_0x582457._0x979f39)],_0x2b8b68),'stdio':_0x31d81a?[_0x4c9008(0x231,_0x582457._0x89a4e,_0x582457._0x16e477,0x351),_0x4c9008(_0x582457._0x1b1523,0x421,_0x582457._0x4fd816,_0x582457._0x66e1a4),_0x4c9008(_0x582457._0x5d843d,_0x582457._0x1f4aa3,0x27e,0x351)]:[_0x25bdac(0x211,_0x582457._0x161298,0x14,_0x582457._0x23e99d),_0x4c9008(0xc6,_0x582457._0x5f408d,0x304,_0x582457._0x5d9974),_0x4c9008(0x1b5,_0x582457._0x1309c5,0x97,_0x582457._0x5d9974)],'shell':![],'windowsHide':!![],'detached':!_0x12f36b});}catch(_0x2c9050){throw mapSpawnError(_0x2c9050,{'command':_0x9707e7[_0x25bdac(-0x1c1,-_0x582457._0x56d919,-_0x582457._0x45e14d,-0x12e)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}const _0x156c19=[],_0x923d4d=[],_0x10243d=new _0x1628c2(_0x4c9008(0x22f,_0x582457._0x431c50,_0x582457._0x323c27,_0x582457._0x1a25be)),_0x44e8fb=new _0x1628c2(_0x4c9008(_0x582457._0x61dda,0x350,_0x582457._0x3246cf,0x321));let _0x18fcef,_0x32818c=![],_0x30606c;const _0xf557f7=()=>{if(!_0x18fcef)return;const _0x94c46b=_0x18fcef;_0x18fcef=void 0x0,_0x94c46b();},_0x5bd3ee=async()=>{if(_0x923d4d['length']>0x0||_0x32818c)return;await new Promise(_0x6e5d7b=>{_0x18fcef=_0x6e5d7b;});},_0x1deae7=_0x51cec8=>{function _0x225d5a(_0x3bb97b,_0x176713,_0xb3180f,_0xb497de){return _0x25bdac(_0x3bb97b,_0x176713-_0x475f1b._0x5b4aca,_0xb3180f-0x1ec,_0x176713-0x41f);}appendChunk(_0x156c19,_0x923d4d,_0x10243d[_0x225d5a(0x52e,0x458,0x2eb,0x3e3)](_0x51cec8),_0xcb88,_0xf557f7);},_0x3b1fd8=_0x20b472=>{function _0x444cad(_0x3e0e45,_0x275efc,_0xe25100,_0x164980){return _0x25bdac(_0x3e0e45,_0x275efc-0x1db,_0xe25100-0x6d,_0xe25100-0x737);}appendChunk(_0x156c19,_0x923d4d,_0x44e8fb[_0x444cad(_0x4af4c4._0x21baaa,_0x4af4c4._0x166e10,0x770,0x68f)](_0x20b472),_0xcb88,_0xf557f7);};_0x51c5ca[_0x25bdac(-0x2f5,-0x185,-_0x582457._0x5328db,-0x19d)]?.['on'](_0x25bdac(_0x582457._0x2d06b8,_0x582457._0x375a53,_0x582457._0x21339e,0xd),_0x1deae7),_0x51c5ca[_0x4c9008(0x2c9,_0x582457._0x453e1f,_0x582457._0x57d1bc,_0x582457._0x1d6bac)]?.['on'](_0x25bdac(-0x39,_0x582457._0x13d82d,0x159,_0x582457._0x495b92),_0x3b1fd8);let _0x1d6810=![],_0x1cd668;const _0x3a9faf=addAbortListener(_0x5611a2[_0x25bdac(-_0x582457._0x2a6feb,-_0x582457._0x361be6,0xb8,-0x86)],()=>{_0x30606c=toAbortError(_0x5611a2[_0x292f4d(_0x355e83._0x584d34,-0x6b,_0x355e83._0xa737b1,-_0x355e83._0x2c73b1)]['reason']);function _0x292f4d(_0x417d95,_0x41c259,_0x586d10,_0x1104fa){return _0x4c9008(_0x1104fa,_0x41c259-_0x41362b._0x2445bd,_0x586d10-_0x41362b._0x4efe46,_0x41c259- -0x27f);}_0x32818c=!![],_0xf557f7();try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}});try{const _0x42a749=new Promise((_0x547689,_0x40541c)=>{const _0x5091b9={_0x142585:0x37d,_0x302dab:0x242},_0x403789={_0xf2cc97:0xa1},_0x212876=()=>{const _0x130853={_0xfa73ea:0x3ad};_0x1cd668&&(clearTimeout(_0x1cd668),_0x1cd668=void 0x0);function _0x2ce50b(_0x37f140,_0x23afa3,_0x154bd6,_0x397ca9){return _0x1df5(_0x23afa3- -0xe,_0x397ca9);}function _0xf3f228(_0x31b483,_0x680de,_0x418359,_0x42201e){return _0x1df5(_0x680de- -_0x130853._0xfa73ea,_0x418359);}_0x51c5ca[_0x2ce50b(0x181,_0x4104dc._0x15c7cf,_0x4104dc._0x4ccec5,_0x4104dc._0x5851d9)](_0x2ce50b(0x206,0x301,0x45d,_0x4104dc._0x45aae9),_0x470e83),_0x51c5ca[_0x2ce50b(_0x4104dc._0x1d2d69,_0x4104dc._0x15c7cf,_0x4104dc._0x493b37,_0x4104dc._0x272e16)](_0xf3f228(-_0x4104dc._0x35407b,-0x1a6,-_0x4104dc._0x2f68fa,-0x180),_0x2e67b1);},_0x470e83=_0x4c01b5=>{_0x32818c=!![],_0xf557f7(),_0x212876(),_0x40541c(_0x30606c??_0x4c01b5);};function _0x1391f0(_0x1c4845,_0x4a54ae,_0x447974,_0xd1b944){return _0x25bdac(_0x1c4845,_0x4a54ae-0x108,_0x447974-0x1f1,_0x447974-_0x320c85._0x54a9ab);}function _0x82dd50(_0x3bf369,_0x46a35b,_0x1578ec,_0x45d4f6){return _0x25bdac(_0x46a35b,_0x46a35b-0x195,_0x1578ec-0x7c,_0x1578ec-0x359);}const _0x2e67b1=(_0x25d6a5,_0x3752c8)=>{_0x1d6810=!![];function _0xa026db(_0x5bb466,_0x2ef14e,_0x48caa1,_0x31bb4c){return _0x1df5(_0x2ef14e-_0x403789._0xf2cc97,_0x5bb466);}appendChunk(_0x156c19,_0x923d4d,_0x10243d['end'](),_0xcb88,_0xf557f7),appendChunk(_0x156c19,_0x923d4d,_0x44e8fb[_0xa026db(0x33d,_0x5091b9._0x142585,0x4de,_0x5091b9._0x302dab)](),_0xcb88,_0xf557f7),_0x32818c=!![],_0xf557f7(),_0x212876();if(_0x30606c){_0x40541c(_0x30606c);return;}_0x547689({'code':_0x25d6a5,'signal':_0x3752c8});};_0x1cd668=setTimeout(()=>{function _0x6590ef(_0x54dde5,_0x214216,_0x1f3f3f,_0x145b3d){return _0x1df5(_0x54dde5-0xd3,_0x1f3f3f);}_0x32818c=!![],_0xf557f7();function _0x5773ce(_0x1b5386,_0x9f3f41,_0x27914d,_0xd546e6){return _0x1df5(_0x27914d- -0x49,_0x1b5386);}_0x212876();try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}_0x40541c(new ToolExecutionError(_0x6590ef(0x331,0x1fe,0x1e5,_0x49ba47._0x58cba7)+_0x6855b3+'\x20ms',{'command':_0x9707e7[_0x5773ce(0x1b1,0x120,0x1f5,_0x49ba47._0x45cfa1)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7,'timeoutMs':_0x6855b3,'timedOut':!![]}));},_0x6855b3),_0x51c5ca[_0x82dd50(0x1d2,_0x53e2f3._0x37db44,0x268,_0x53e2f3._0x4cd1be)](_0x1391f0(0x76f,_0x53e2f3._0x29cce,_0x53e2f3._0x36e9dc,0x6d3),_0x470e83),_0x51c5ca[_0x1391f0(_0x53e2f3._0x135870,_0x53e2f3._0x4b0b5d,0x5b8,0x44e)](_0x82dd50(0x9e,0x348,_0x53e2f3._0x874cc9,0x98),_0x2e67b1);});while(_0x923d4d['length']>0x0||!_0x32818c){if(_0x923d4d['length']===0x0){await _0x5bd3ee();continue;}const _0x37d50e=_0x923d4d[_0x25bdac(_0x582457._0x145e5c,-0x134,-_0x582457._0xc4c37f,-0x40)]();_0x37d50e!==void 0x0&&(yield _0x37d50e);}const _0x43fac2=await _0x42a749,_0x5acb2e=_0x31d81a?_0x4c9008(0x271,_0x582457._0x3aa7e8,0x1e0,_0x582457._0x428bdf)+(_0x43fac2[_0x25bdac(_0x582457._0x5c3826,_0x582457._0x15c06e,_0x582457._0x42de7a,-_0x582457._0x4133ad)]??0x0):_0x156c19[_0x25bdac(-_0x582457._0x480cc5,-0xc1,_0x582457._0x1d019a,0x5)](''),_0x20b087={'command':_0x9707e7[_0x4c9008(_0x582457._0x1454d0,0x29e,0xe3,0x16c)],'description':_0x9707e7['description'],'cwd':_0x3d9b5d,'exitCode':_0x43fac2[_0x25bdac(-_0x582457._0x40921b,-_0x582457._0xd68754,-_0x582457._0x486368,-0xb8)]??0x0,'signal':_0x43fac2[_0x4c9008(0x289,0x334,_0x582457._0x2cbd48,_0x582457._0x5bf336)],'ignoreOutput':_0x31d81a,'shellPath':_0x1fbfd7,'timeoutMs':_0x6855b3};if(_0x43fac2['code']!==0x0)throw new ToolExecutionError(_0x5acb2e||_0x25bdac(-_0x582457._0x3816c2,0xe0,-0x97,-_0x582457._0x3d2d56)+(_0x43fac2[_0x4c9008(_0x582457._0x18b34a,_0x582457._0x109218,_0x582457._0x19f685,_0x582457._0xa2eda)]??0x0),_0x20b087);return createToolOutput(_0x5acb2e,_0x20b087);}catch(_0xf9ae72){while(_0x923d4d[_0x25bdac(-0x72,_0x582457._0x161298,0x1d9,0x64)]>0x0){const _0x423538=_0x923d4d[_0x25bdac(-0xeb,0x102,0xd8,-_0x582457._0x40970b)]();_0x423538!==void 0x0&&(yield _0x423538);}if(_0xf9ae72 instanceof ToolExecutionError)throw _0xf9ae72;if(_0x30606c)throw _0x30606c;throw mapSpawnError(_0xf9ae72,{'command':_0x9707e7[_0x25bdac(-_0x582457._0x12272f,-_0x582457._0x3a8abc,-0x6d,-_0x582457._0x68071c)],'cwd':_0x3d9b5d,'shellPath':_0x1fbfd7});}finally{_0x1cd668&&clearTimeout(_0x1cd668);_0x3a9faf(),_0x51c5ca[_0x25bdac(-0x2f4,-_0x582457._0x3ff171,-0x2f4,-_0x582457._0x20d108)]?.[_0x4c9008(0x136,_0x582457._0x2d0989,-0x43,0x87)](_0x25bdac(-_0x582457._0x5efdae,0xd2,0x81,_0x582457._0x255378),_0x1deae7),_0x51c5ca[_0x4c9008(0x16f,0x193,_0x582457._0x2ef841,0x22b)]?.[_0x25bdac(-0x204,-_0x582457._0x2f7b90,-0x206,-_0x582457._0x1992cd)](_0x4c9008(_0x582457._0x5a49f8,_0x582457._0x1f5b41,_0x582457._0x4211a4,0x2a7),_0x3b1fd8);if(!_0x1d6810&&_0x51c5ca[_0x4c9008(0x266,0x2dc,_0x582457._0x8ced5e,_0x582457._0x55d08c)]&&!_0x51c5ca[_0x25bdac(-_0x582457._0xef8588,-_0x582457._0x1eb021,-0x37,-_0x582457._0x58157c)])try{killProcessGroup(_0x51c5ca,_0x12f36b);}catch{}}}});}function createShellExecTool(_0x421cf6={}){return createBashTool(_0x421cf6);}import{readdir,readFile as _0x2c135d}from'fs/promises';import{extname,join as _0x5cf888}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x28c688,join,relative as _0x8d0282,resolve as _0x27e096}from'path';import{readdir as _0x190b01,readFile as _0x21f55d}from'fs/promises';import{join as _0x4a3a0a,relative as _0xf6b7c2,sep}from'path';import{delimiter}from'path';import{mkdir as _0x41ff22,rm,stat as _0x3a14d5,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x40aefb}from'path';import{unwatchFile,watchFile}from'fs';import{readFile as _0x3cb12c,rename,writeFile as _0x111999}from'fs/promises';import{homedir as _0x4ba8ff}from'os';import{dirname as _0x3df55c,isAbsolute as _0x51d4f3,join as _0xc8900f,resolve as _0x267582}from'path';import{parse as _0x4215e6,stringify as _0x42951b}from'yaml';import{cp,mkdir as _0x5389f8,readFile as _0x13c19e,rm as _0x43f075,writeFile as _0x3b298e}from'fs/promises';import{homedir}from'os';import{join as _0x54c24a}from'path';import{parse as _0x548b3a,stringify as _0x4f27f3}from'yaml';import{z}from'zod';import{readdir as _0x5b146b,readFile as _0x4f9186}from'fs/promises';import{join as _0xd682d7}from'path';import{mkdir as _0x133d15,readFile as _0x3279a1,rm as _0x184c5b,writeFile as _0x4e699f}from'fs/promises';import{homedir as _0x2788df}from'os';import{basename,isAbsolute as _0x42a362,join as _0xc76d2d,relative as _0x5c66c1,resolve as _0x2a877c}from'path';import{parse as _0x52ae06,stringify as _0x217171}from'yaml';import{delimiter as _0x5a4132,resolve as _0x2dc4d8}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x363d65){const _0x7a49d9={_0x2c251d:0xba,_0x16c615:0x739,_0x28025f:0x7a4,_0x26c6fc:0x7cb,_0x23ec50:0x8b2,_0x44572a:0x88c,_0x5c2772:0x175,_0x49f4a2:0x1b8,_0x4fb4a3:0x10,_0x3b400e:0x93,_0xd1e964:0x60},_0x26237b={_0x3838f4:0x283},_0x3f30ae={_0x23f20e:0x26},_0x52b0b9=[];let _0x4a5c67='';function _0x106419(_0x47cadf,_0x1f95de,_0x10db98,_0x5e5a68){return _0x257320(_0x47cadf-_0x3f30ae._0x23f20e,_0x1f95de-0x1be,_0x1f95de- -0x30b,_0x10db98);}let _0x52d29d=0x0;while(_0x52d29d<_0x363d65[_0x106419(0x374,0x216,0x338,_0x7a49d9._0x2c251d)]){const _0x4b44d6=_0x363d65[_0x52d29d];if(_0x4b44d6==='\x5c'&&_0x52d29d+0x1<_0x363d65[_0x12599c(0x894,_0x7a49d9._0x16c615,_0x7a49d9._0x28025f,_0x7a49d9._0x26c6fc)])_0x4a5c67+=_0x363d65[_0x52d29d+0x1],_0x52d29d+=0x2;else{if(_0x4b44d6==='\x22'||_0x4b44d6==='\x27'){const _0x39daea=_0x4b44d6;_0x52d29d++;while(_0x52d29d<_0x363d65[_0x12599c(0x648,0x84b,0x7a4,_0x7a49d9._0x23ec50)]&&_0x363d65[_0x52d29d]!==_0x39daea){_0x363d65[_0x52d29d]==='\x5c'&&_0x52d29d+0x1<_0x363d65[_0x12599c(_0x7a49d9._0x44572a,0x6b0,0x7a4,0x8fd)]?(_0x4a5c67+=_0x363d65[_0x52d29d+0x1],_0x52d29d+=0x2):(_0x4a5c67+=_0x363d65[_0x52d29d],_0x52d29d++);}_0x52d29d++;}else _0x4b44d6!==void 0x0&&/\s/[_0x106419(0x247,_0x7a49d9._0x5c2772,_0x7a49d9._0x49f4a2,_0x7a49d9._0x4fb4a3)](_0x4b44d6)?(_0x4a5c67&&(_0x52b0b9[_0x106419(0xb9,0x60,-_0x7a49d9._0x3b400e,-0x1d)](_0x4a5c67),_0x4a5c67=''),_0x52d29d++):(_0x4a5c67+=_0x4b44d6,_0x52d29d++);}}function _0x12599c(_0x1b6a02,_0x5e9ae0,_0x427564,_0x2bfbd6){return _0x257320(_0x1b6a02-0x185,_0x5e9ae0-0x109,_0x427564-_0x26237b._0x3838f4,_0x2bfbd6);}if(_0x4a5c67)_0x52b0b9[_0x106419(0x189,_0x7a49d9._0xd1e964,-0x7,0x87)](_0x4a5c67);return _0x52b0b9;}function renderCommandInstructions(_0x3a885b){const _0x3f032b={_0x3e981e:0x527,_0x1e097d:0x4fa,_0x5edb30:0x496,_0x2b4de3:0x51b,_0x2265e4:0x344,_0x331425:0x403,_0x4d9333:0x1f9,_0x331fdc:0x1d5,_0x4c80e4:0x411,_0x55df8f:0x3ab,_0xfe8da3:0x394,_0x308be5:0x337,_0x51ebea:0x1cb,_0x140a9c:0x1d5,_0x18143b:0x628,_0x536ee9:0x5ae,_0x5b6989:0x352,_0x8f42c4:0x19f,_0x57d423:0xb6,_0x2afa84:0x136,_0x4f5180:0x33f,_0x586198:0x2ee,_0x1575fc:0x1d8,_0x1533fa:0x2c0},_0xc8a11e={_0x2b33e1:0xf},_0xfb090a={_0x205370:0x407,_0x3bebd1:0x40f,_0x5c03ed:0x2f7},_0x3baf75={_0xcfaae1:0x18d};let _0x416a12=_0x3a885b[_0x2c8c2f(0x226,0x30,0x2c4,0x1a2)],_0x5b18b2=![];const _0x7adcdd=tokenizeCommandArguments(_0x3a885b[_0x2c8285(_0x3f032b._0x3e981e,_0x3f032b._0x1e097d,0x5a2,_0x3f032b._0x5edb30)]);function _0x2c8c2f(_0xc0c8e5,_0x3808a7,_0x32a626,_0x359d2a){return _0x257320(_0xc0c8e5-0x43,_0x3808a7-0x1e4,_0x359d2a- -_0x3baf75._0xcfaae1,_0x32a626);}_0x416a12=_0x416a12[_0x2c8c2f(0x516,0x2fb,_0x3f032b._0x2b4de3,0x403)](/\$ARGUMENTS\[(\d+)\]/g,(_0x48c732,_0x493eb8)=>{return _0x5b18b2=!![],_0x7adcdd[Number(_0x493eb8)]??'';}),_0x416a12=_0x416a12[_0x2c8c2f(0x320,0x2e3,_0x3f032b._0x2265e4,_0x3f032b._0x331425)](/\$ARGUMENTS\b/g,()=>{const _0x272ab1={_0x246ba6:0x191,_0xd1b40b:0x87};function _0x37324c(_0x1a8af4,_0x1f4333,_0x106774,_0x484a1a){return _0x2c8285(_0x1a8af4-_0x272ab1._0x246ba6,_0x1f4333-0x6f,_0x1a8af4,_0x106774- -_0x272ab1._0xd1b40b);}return _0x5b18b2=!![],_0x3a885b[_0x37324c(_0xfb090a._0x205370,0x2fc,_0xfb090a._0x3bebd1,_0xfb090a._0x5c03ed)];});if(_0x3a885b[_0x2c8c2f(0x243,_0x3f032b._0x4d9333,0x2cb,_0x3f032b._0x331fdc)]&&_0x3a885b[_0x2c8285(0x267,0x45d,0x500,0x3ab)]['length']>0x0)for(let _0x2a77ad=0x0;_0x2a77ad<_0x3a885b[_0x2c8285(0x43c,0x3f4,_0x3f032b._0x4c80e4,_0x3f032b._0x55df8f)][_0x2c8c2f(0x37e,_0x3f032b._0xfe8da3,0x463,0x394)];_0x2a77ad++){const _0x35362d=_0x3a885b[_0x2c8c2f(_0x3f032b._0x308be5,_0x3f032b._0x51ebea,0x1b1,_0x3f032b._0x140a9c)][_0x2a77ad];if(_0x35362d){const _0x58a4f7=new RegExp('\x5c$'+_0x35362d+'\x5cb','g');_0x416a12=_0x416a12[_0x2c8285(0x536,_0x3f032b._0x18143b,0x4bb,0x5d9)](_0x58a4f7,()=>{return _0x5b18b2=!![],_0x7adcdd[_0x2a77ad]??'';});}}function _0x2c8285(_0xafb58,_0x300c75,_0x539d9d,_0x442083){return _0x257320(_0xafb58-_0xc8a11e._0x2b33e1,_0x300c75-0xb5,_0x442083-0x49,_0x539d9d);}return _0x416a12=_0x416a12[_0x2c8c2f(0x553,0x3b8,0x3e0,_0x3f032b._0x331425)](/\$(\d+)\b/g,(_0xa1a57,_0x40ff49)=>{return _0x5b18b2=!![],_0x7adcdd[Number(_0x40ff49)]??'';}),!_0x5b18b2&&_0x3a885b[_0x2c8285(_0x3f032b._0x536ee9,0x5f8,_0x3f032b._0x5b6989,_0x3f032b._0x5edb30)][_0x2c8c2f(_0x3f032b._0x8f42c4,_0x3f032b._0x57d423,0x74,_0x3f032b._0x2afa84)]()&&(_0x416a12=_0x416a12+_0x2c8285(0x3e5,0x2b5,_0x3f032b._0x4f5180,_0x3f032b._0x586198)+_0x3a885b[_0x2c8c2f(0x2f8,0x25b,_0x3f032b._0x1575fc,_0x3f032b._0x1533fa)]),_0x416a12;}var PROVIDER_API_KEY_ENVS=[{'env':_0x3342ed(0x419,0x2af,0x38b,0x466),'provider':_0x257320(0x476,0x246,0x388,0x3d4)},{'env':'ANTHROPIC_API_KEY','provider':_0x257320(0x4ea,0x491,0x528,0x63c)},{'env':_0x3342ed(0x5dd,0x4cd,0x4c7,0x410),'provider':_0x257320(0x3b6,0x213,0x2c1,0x386)},{'env':'GITHUB_TOKEN','provider':_0x3342ed(0x29e,0x37d,0x235,0x35c)},{'env':_0x257320(0x38b,0x327,0x464,0x305),'provider':'deepinfra'},{'env':'ZAI_API_KEY','provider':_0x3342ed(0x458,0x43c,0x431,0x573)},{'env':_0x257320(0x4e2,0x4ab,0x3a1,0x4d8),'provider':_0x3342ed(0x455,0x2cd,0x396,0x2e2)},{'env':_0x257320(0x357,0x353,0x325,0x20d),'provider':_0x3342ed(0x2e9,0x1c2,0x335,0x463)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':'OPENAI_API_KEY','provider':_0x257320(0x445,0x4ad,0x529,0x56f)},{'env':'DEEPSEEK_API_KEY','provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x257320(0x1e9,0x255,0x31d,0x1f6)](_0x131cf9=>_0x131cf9[_0x257320(0x235,0x369,0x3a7,0x4bc)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x257320(0x3a9,0x209,0x2b2,0x409),_0x3342ed(0x2ad,0x377,0x275,0x14a),_0x3342ed(0x491,0x404,0x4b2,0x453)];function _0x3342ed(_0xe1e24c,_0x1841e0,_0x35a439,_0x59b1e9){return _0x1df5(_0x35a439-0xc5,_0x1841e0);}var chatModelAuthSchemeSchema=z[_0x3342ed(0x28e,0x445,0x3ef,0x2c2)]([_0x3342ed(0x2ce,0x37b,0x3d0,0x358),'x-api-key']),apiKeyAuthSchema=z[_0x3342ed(0x109,0x385,0x264,0x3a2)]({'type':z[_0x3342ed(0x43e,0x24c,0x392,0x4b7)](_0x257320(0x414,0x3b6,0x2c2,0x3a6)),'apiKey':z[_0x257320(0x495,0x609,0x518,0x4e1)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x257320(0x543,0x40f,0x47e,0x4bd)](),oauthAuthSchema=z[_0x3342ed(0x289,0x1df,0x264,0x2d6)]({'type':z[_0x257320(0x46a,0x535,0x41e,0x3b7)](_0x257320(0x61e,0x638,0x56b,0x54f)),'access':z[_0x257320(0x4c7,0x3ba,0x518,0x55e)](),'refresh':z[_0x3342ed(0x5b3,0x5ab,0x48c,0x536)](),'expires':z[_0x3342ed(0x2d2,0x217,0x332,0x34f)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x257320(0x3d6,0x344,0x48b,0x4ec)]()})['passthrough'](),authMethodSchema=z[_0x257320(0x4e3,0x466,0x3c4,0x298)]([apiKeyAuthSchema,oauthAuthSchema]),modelDefinitionSchema=z['object']({'id':z['string'](),'name':z[_0x3342ed(0x4e9,0x3fc,0x48c,0x38f)]()[_0x257320(0x530,0x533,0x48b,0x4b2)]()})['passthrough'](),modelConfigSchema=z['union']([z['literal'](![]),z['literal'](!![]),z[_0x3342ed(0x37b,0x598,0x48c,0x3a8)](),z['array'](z[_0x3342ed(0x39f,0x5de,0x48c,0x446)]()),z[_0x257320(0x451,0x544,0x591,0x460)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x3342ed(0x357,0x311,0x3ef,0x4e2)]([_0x3342ed(0x421,0x5cc,0x4bc,0x5a5),_0x257320(0x30b,0x424,0x402,0x308),_0x3342ed(0x218,0x265,0x377,0x429),_0x257320(0x415,0x675,0x52c,0x67f)]),providerConfigSchema=z[_0x3342ed(0x1d8,0x290,0x264,0x3ab)]({'apiKey':z['string']()[_0x257320(0x5c6,0x57f,0x48b,0x3b9)](),'token':z[_0x257320(0x540,0x49f,0x518,0x431)]()[_0x257320(0x4b5,0x491,0x48b,0x45b)](),'defaultModel':z[_0x3342ed(0x352,0x3d8,0x48c,0x5a4)]()['optional'](),'smallModel':z[_0x3342ed(0x4e3,0x5d3,0x48c,0x415)]()[_0x257320(0x58d,0x536,0x48b,0x554)](),'currentAuth':z[_0x257320(0x404,0x51b,0x518,0x466)]()['optional'](),'auth':z[_0x257320(0x671,0x4d0,0x591,0x45d)](authMethodSchema)[_0x257320(0x477,0x5aa,0x48b,0x539)](),'surface':chatModelSurfaceSchema[_0x3342ed(0x55f,0x303,0x3ff,0x42e)](),'baseUrl':z['string']()[_0x257320(0x41e,0x31f,0x48b,0x312)](),'models':modelConfigSchema['optional'](),'customHeaders':z[_0x3342ed(0x467,0x4f4,0x410,0x4f3)](z[_0x257320(0x461,0x624,0x518,0x50a)](),z['string']())['optional']()})[_0x257320(0x4b5,0x559,0x47e,0x34d)](),mcpServerConfigSchema=z[_0x3342ed(0x2cf,0x14e,0x264,0x1c0)]({'command':z[_0x3342ed(0x488,0x5a1,0x48c,0x578)]()[_0x257320(0x5eb,0x4c4,0x48b,0x4b7)](),'args':z[_0x3342ed(0x3ac,0x5ee,0x505,0x477)](z[_0x257320(0x652,0x5d8,0x518,0x658)]())[_0x257320(0x42c,0x5a6,0x48b,0x5be)](),'env':z[_0x257320(0x50b,0x577,0x49c,0x4ce)](z['string'](),z[_0x3342ed(0x591,0x4c9,0x48c,0x580)]())['optional'](),'transport':z['enum']([_0x3342ed(0x1b0,0x16e,0x256,0x1e1),_0x257320(0x5b8,0x516,0x575,0x677)])['optional'](),'url':z[_0x257320(0x662,0x50b,0x518,0x4f6)]()[_0x257320(0x446,0x3b2,0x48b,0x5c7)](),'headers':z[_0x257320(0x580,0x571,0x49c,0x5e8)](z[_0x257320(0x602,0x411,0x518,0x62e)](),z[_0x3342ed(0x339,0x459,0x48c,0x334)]())[_0x3342ed(0x471,0x4d3,0x3ff,0x3ca)](),'prefix':z[_0x257320(0x639,0x591,0x518,0x4e5)]()['optional'](),'timeoutMs':z[_0x257320(0x37b,0x28f,0x3be,0x2a4)]()['optional'](),'enabled':z[_0x257320(0x35e,0x2f6,0x365,0x391)]()[_0x3342ed(0x2bd,0x3cc,0x3ff,0x40f)](),'auth':z[_0x3342ed(0xed,0x267,0x264,0x361)]({'type':z[_0x3342ed(0x4e3,0x337,0x3ef,0x325)]([_0x257320(0x39e,0x491,0x370,0x2ee),'bearer',_0x3342ed(0x657,0x595,0x4df,0x3d2)]),'token':z[_0x257320(0x529,0x4c8,0x518,0x65a)]()[_0x3342ed(0x3a4,0x3ad,0x3ff,0x3e4)](),'oauth':z[_0x257320(0x43b,0x18a,0x2f0,0x2bf)]({'clientId':z[_0x3342ed(0x381,0x407,0x48c,0x578)]()[_0x3342ed(0x3cc,0x3ed,0x3ff,0x34f)](),'clientMetadataUrl':z['string']()[_0x257320(0x424,0x4e6,0x48b,0x528)](),'authorizationServer':z['string']()[_0x3342ed(0x525,0x288,0x3ff,0x3b5)](),'scopes':z['array'](z[_0x257320(0x3a9,0x487,0x518,0x433)]())['optional'](),'tokenStorageKey':z[_0x3342ed(0x49f,0x543,0x48c,0x5b7)]()['optional']()})[_0x3342ed(0x50a,0x453,0x3f2,0x50c)]()[_0x3342ed(0x41f,0x48c,0x3ff,0x387)]()})[_0x3342ed(0x2b6,0x489,0x3f2,0x2b2)]()[_0x257320(0x457,0x3f7,0x48b,0x4fa)]()})[_0x3342ed(0x34d,0x550,0x3f2,0x4c3)](),mcpSettingsSchema=z['object']({'servers':z[_0x257320(0x5ee,0x509,0x49c,0x540)](z[_0x3342ed(0x4c6,0x410,0x48c,0x4b6)](),mcpServerConfigSchema)[_0x3342ed(0x303,0x454,0x3ff,0x4bf)](),'allowedTools':z[_0x257320(0x451,0x48f,0x49c,0x4e7)](z[_0x3342ed(0x43d,0x5f5,0x48c,0x424)](),z['record'](z[_0x3342ed(0x59c,0x532,0x48c,0x448)](),z[_0x3342ed(0x1e5,0x203,0x2d9,0x37a)]()))[_0x3342ed(0x522,0x531,0x3ff,0x43b)](),'defaultTimeoutMs':z[_0x257320(0x363,0x47d,0x3be,0x492)]()['optional']()})[_0x257320(0x4d4,0x309,0x47e,0x590)](),skillsSettingsSchema=z[_0x3342ed(0x390,0x1b9,0x264,0x1c5)]({'enabled':z['boolean']()[_0x257320(0x5ba,0x3d0,0x48b,0x354)](),'includeDefaults':z['boolean']()[_0x3342ed(0x44f,0x3f1,0x3ff,0x3c2)](),'directories':z[_0x257320(0x69a,0x4c4,0x591,0x50c)](z[_0x257320(0x4fb,0x570,0x518,0x620)]())['optional'](),'exclude':z[_0x3342ed(0x4b9,0x4ec,0x505,0x45d)](z[_0x3342ed(0x327,0x5b2,0x48c,0x58a)]())[_0x257320(0x3b7,0x54b,0x48b,0x39b)]()})['passthrough'](),commandsSettingsSchema=z[_0x3342ed(0x1c0,0x150,0x264,0x32f)]({'enabled':z[_0x3342ed(0x2c5,0x235,0x2d9,0x267)]()[_0x257320(0x340,0x566,0x48b,0x4e2)](),'directories':z[_0x3342ed(0x422,0x664,0x505,0x64f)](z[_0x3342ed(0x517,0x44a,0x48c,0x5f8)]())['optional']()})[_0x3342ed(0x339,0x492,0x3f2,0x4d2)](),agentsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x3342ed(0x4ca,0x336,0x3ff,0x4c6)](),'includeDefaults':z[_0x257320(0x4d0,0x2aa,0x365,0x426)]()['optional'](),'directories':z[_0x3342ed(0x5fc,0x4f6,0x505,0x5d3)](z[_0x3342ed(0x40c,0x332,0x48c,0x343)]())['optional']()})[_0x3342ed(0x490,0x390,0x3f2,0x559)](),uiThemeSettingsSchema=z[_0x3342ed(0x363,0x176,0x264,0x35a)]({'mode':z[_0x257320(0x44d,0x430,0x47b,0x30f)]([_0x3342ed(0x2cf,0x30f,0x384,0x358),_0x3342ed(0x431,0x416,0x41e,0x342),_0x3342ed(0x23c,0x3c7,0x25e,0x2d0)])[_0x3342ed(0x3e2,0x337,0x3ff,0x3a3)](),'colorLevel':z['enum']([_0x3342ed(0x3b3,0x2c1,0x384,0x3dc),'none',_0x3342ed(0x307,0x17f,0x2ce,0x1b2),_0x3342ed(0x363,0x26f,0x22f,0x15f),_0x257320(0x32e,0x587,0x47c,0x3a7)])[_0x3342ed(0x28c,0x320,0x3ff,0x31b)](),'backgrounds':z[_0x257320(0x4de,0x562,0x47b,0x402)]([_0x257320(0x337,0x4ab,0x410,0x450),'on',_0x257320(0x391,0x2c3,0x2aa,0x366)])[_0x3342ed(0x379,0x2c5,0x3ff,0x3cb)](),'messageStyle':z[_0x3342ed(0x4e7,0x2c6,0x3ef,0x4fb)]([_0x257320(0x490,0x489,0x515,0x3fb),'boxed'])[_0x257320(0x573,0x4f0,0x48b,0x4a5)]()})['passthrough'](),statuslineSegmentSchema=z[_0x3342ed(0x2e2,0x32a,0x3ef,0x2f2)](['model','session',_0x3342ed(0x1ee,0x2ce,0x363,0x375),_0x257320(0x485,0x4fe,0x3a6,0x32a),_0x257320(0x5f3,0x599,0x540,0x41f),_0x3342ed(0x34f,0x59b,0x476,0x4f4),_0x3342ed(0x3cd,0x244,0x2b8,0x351),'requests',_0x3342ed(0x244,0x4b0,0x35a,0x3d7),_0x3342ed(0x589,0x5bf,0x4ba,0x525),_0x257320(0x46b,0x2a6,0x3a8,0x2c6),_0x257320(0x362,0x23a,0x2bc,0x3a8),_0x257320(0x3e0,0x4a2,0x508,0x42b),'memory',_0x257320(0x481,0x31f,0x39f,0x3e3)]),statuslineItemSchema=z[_0x257320(0x532,0x26f,0x3c4,0x25c)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x257320(0x665,0x57b,0x591,0x709)](statuslineItemSchema);function _0x257320(_0x49fac8,_0x3b91d4,_0x29729b,_0xc6658c){return _0x1df5(_0x29729b-0x151,_0xc6658c);}var statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x3342ed(0x542,0x570,0x3ff,0x2d0)]()})[_0x3342ed(0x429,0x3af,0x3f2,0x4be)](),memorySettingsSchema=z[_0x257320(0x2ce,0x17c,0x2f0,0x3a8)]({'version':z[_0x257320(0x34c,0x4ac,0x41e,0x564)](0x2)[_0x257320(0x430,0x56c,0x48b,0x52c)](),'retrieval':z[_0x3342ed(0x24c,0x23e,0x264,0x207)]({'engine':z[_0x257320(0x436,0x509,0x41e,0x344)](_0x3342ed(0x446,0x353,0x39c,0x44f))[_0x257320(0x574,0x4f3,0x48b,0x50d)](),'candidateLimit':z[_0x3342ed(0x3b6,0x36f,0x332,0x21a)]()[_0x257320(0x5bb,0x3c3,0x48b,0x509)](),'activeCandidateLimit':z['number']()['optional'](),'activeEnabled':z[_0x257320(0x1f4,0x434,0x365,0x49a)]()['optional'](),'maxQueriesPerTurn':z[_0x3342ed(0x290,0x2da,0x332,0x3e4)]()[_0x3342ed(0x470,0x30a,0x3ff,0x2a5)](),'coreInjectTokenBudget':z[_0x3342ed(0x1d4,0x42b,0x332,0x460)]()[_0x3342ed(0x457,0x359,0x3ff,0x48b)](),'injectTokenBudget':z[_0x3342ed(0x306,0x3b4,0x332,0x3ec)]()[_0x3342ed(0x518,0x3d0,0x3ff,0x512)](),'minScore':z[_0x3342ed(0x4a7,0x47c,0x332,0x210)]()[_0x257320(0x43f,0x518,0x48b,0x336)](),'freshnessHalfLifeDays':z[_0x3342ed(0x376,0x20d,0x332,0x33b)]()[_0x257320(0x5ce,0x3a2,0x48b,0x448)]()})[_0x257320(0x4fc,0x362,0x47e,0x4bc)]()[_0x3342ed(0x362,0x2bc,0x3ff,0x4cd)](),'extraction':z[_0x3342ed(0x22f,0x331,0x264,0x1f9)]({'enabled':z[_0x3342ed(0x248,0x266,0x2d9,0x345)]()[_0x3342ed(0x308,0x42b,0x3ff,0x3ae)](),'provider':z[_0x257320(0x446,0x5da,0x518,0x5a5)]()[_0x3342ed(0x563,0x440,0x3ff,0x570)](),'model':z[_0x257320(0x488,0x5c7,0x518,0x40d)]()[_0x3342ed(0x289,0x2e7,0x3ff,0x2de)](),'sensitiveFilter':z['boolean']()[_0x257320(0x3d2,0x3a8,0x48b,0x371)]()})[_0x257320(0x5c1,0x4b3,0x47e,0x50e)]()['optional'](),'index':z[_0x3342ed(0x2aa,0x2b6,0x264,0x3d0)]({'persisted':z[_0x257320(0x2db,0x275,0x365,0x2aa)]()[_0x3342ed(0x30b,0x2bd,0x3ff,0x2b8)](),'flushIntervalMs':z[_0x3342ed(0x453,0x2ec,0x332,0x1eb)]()[_0x257320(0x556,0x39a,0x48b,0x519)]()})[_0x3342ed(0x2c7,0x45d,0x3f2,0x27f)]()[_0x257320(0x5de,0x45c,0x48b,0x56b)](),'enabled':z[_0x3342ed(0x3a5,0x177,0x2d9,0x340)]()[_0x257320(0x59b,0x3d4,0x48b,0x3d4)](),'saveTool':z[_0x3342ed(0x34d,0x3b3,0x2d9,0x31d)]()[_0x257320(0x341,0x560,0x48b,0x524)](),'model':z['string']()['optional'](),'provider':z[_0x257320(0x42a,0x3df,0x518,0x552)]()[_0x257320(0x532,0x314,0x48b,0x56f)](),'maxInjectionTokens':z[_0x257320(0x35d,0x436,0x3be,0x4ae)]()['optional'](),'backgroundExtraction':z['boolean']()[_0x3342ed(0x47c,0x322,0x3ff,0x383)]()})[_0x3342ed(0x505,0x2ae,0x3f2,0x33d)](),recentModelSchema=z[_0x257320(0x36c,0x38c,0x2f0,0x325)]({'provider':z[_0x257320(0x460,0x5af,0x518,0x3e9)](),'model':z[_0x257320(0x5c2,0x642,0x518,0x67a)](),'usedAt':z[_0x257320(0x4cb,0x35c,0x3be,0x333)]()})[_0x257320(0x525,0x571,0x47e,0x4fa)](),lspServerEntrySchema=z[_0x257320(0x3d9,0x206,0x2f0,0x3a4)]({'disabled':z[_0x257320(0x308,0x282,0x365,0x4d2)]()[_0x3342ed(0x2b4,0x46f,0x3ff,0x39d)](),'command':z['string']()[_0x257320(0x39d,0x51a,0x48b,0x425)](),'args':z['array'](z[_0x257320(0x567,0x425,0x518,0x5a7)]())[_0x3342ed(0x452,0x562,0x3ff,0x2ca)](),'rootMarkers':z[_0x3342ed(0x50e,0x623,0x505,0x3df)](z[_0x257320(0x4b1,0x5e7,0x518,0x62c)]())[_0x3342ed(0x3f8,0x496,0x3ff,0x54d)]()})[_0x257320(0x369,0x46a,0x47e,0x412)](),lspConfigSchema=z['object']({'enabled':z[_0x257320(0x2fd,0x4ce,0x365,0x493)]()[_0x257320(0x4c1,0x4c6,0x48b,0x429)](),'servers':z[_0x257320(0x504,0x4e4,0x49c,0x414)](z[_0x3342ed(0x3ce,0x590,0x48c,0x447)](),lspServerEntrySchema)[_0x257320(0x467,0x39c,0x48b,0x4d9)]()})[_0x257320(0x3e6,0x44f,0x47e,0x51e)](),serverEndpointSchema=z[_0x257320(0x2e3,0x364,0x2f0,0x1df)]({'url':z['string'](),'token':z[_0x257320(0x5fa,0x547,0x518,0x3ce)]()['optional']()})['passthrough'](),commandHookConfigSchema=z[_0x257320(0x1cc,0x42b,0x2f0,0x466)]({'type':z['literal']('command'),'command':z['string'](),'timeout':z['number']()[_0x257320(0x3a8,0x33b,0x48b,0x32d)]()}),hookMatcherGroupSchema=z[_0x257320(0x33a,0x1e0,0x2f0,0x408)]({'matcher':z['string']()[_0x3342ed(0x43f,0x43d,0x3ff,0x3e1)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z['object']({'PreToolUse':z[_0x257320(0x61d,0x65c,0x591,0x454)](hookMatcherGroupSchema)['optional'](),'PostToolUse':z[_0x257320(0x65d,0x447,0x591,0x59e)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x3342ed(0x43a,0x4fc,0x505,0x465)](hookMatcherGroupSchema)['optional'](),'Stop':z[_0x257320(0x46f,0x568,0x591,0x543)](hookMatcherGroupSchema)[_0x257320(0x436,0x430,0x48b,0x4f5)](),'Notification':z[_0x3342ed(0x40b,0x5f5,0x505,0x5b7)](hookMatcherGroupSchema)[_0x257320(0x47a,0x58a,0x48b,0x46d)](),'ToolApprovalRequest':z[_0x3342ed(0x52b,0x557,0x505,0x4a5)](hookMatcherGroupSchema)[_0x3342ed(0x499,0x55c,0x3ff,0x415)](),'SessionStart':z[_0x3342ed(0x48c,0x5ee,0x505,0x581)](hookMatcherGroupSchema)[_0x257320(0x44e,0x3b6,0x48b,0x3a4)](),'SessionEnd':z[_0x3342ed(0x608,0x423,0x505,0x517)](hookMatcherGroupSchema)[_0x3342ed(0x2d0,0x344,0x3ff,0x43f)]()}),cliConfigSchema=z[_0x3342ed(0x1c8,0x307,0x264,0x3a2)]({'activeProvider':z[_0x3342ed(0x443,0x4e8,0x48c,0x39f)]()[_0x3342ed(0x522,0x35b,0x3ff,0x48d)](),'activeModel':z[_0x257320(0x3d4,0x691,0x518,0x455)]()['optional'](),'apiKey':z[_0x257320(0x558,0x5a2,0x518,0x52a)]()['optional'](),'providers':z[_0x257320(0x5f6,0x3f7,0x49c,0x3c4)](z[_0x3342ed(0x582,0x325,0x48c,0x4a7)](),providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0x3342ed(0x555,0x2bf,0x3ff,0x55f)](),'skills':skillsSettingsSchema[_0x3342ed(0x2f2,0x2d2,0x3ff,0x514)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x257320(0x483,0x401,0x48b,0x5ca)](),'skillsEnabled':z[_0x3342ed(0x461,0x312,0x410,0x40d)](z['string'](),z[_0x3342ed(0x2c9,0x380,0x2d9,0x2f9)]())[_0x3342ed(0x578,0x45e,0x3ff,0x32c)](),'allowedDirs':z[_0x3342ed(0x3df,0x5de,0x505,0x601)](z[_0x3342ed(0x510,0x38a,0x48c,0x499)]())[_0x257320(0x5f8,0x5f8,0x48b,0x470)](),'mcpEnabled':z[_0x3342ed(0x33e,0x453,0x410,0x4cc)](z[_0x3342ed(0x396,0x40e,0x48c,0x4d1)](),z[_0x3342ed(0x3e5,0x328,0x2d9,0x1fd)]())['optional'](),'commandsEnabled':z[_0x3342ed(0x2bb,0x43c,0x410,0x395)](z[_0x3342ed(0x503,0x446,0x48c,0x410)](),z[_0x3342ed(0x426,0x305,0x2d9,0x229)]())['optional'](),'memory':memorySettingsSchema[_0x257320(0x455,0x31c,0x48b,0x600)](),'session':z[_0x257320(0x184,0x467,0x2f0,0x1dd)]({'memPersist':z[_0x3342ed(0x28b,0x36e,0x2d9,0x2ea)]()['optional'](),'persistEventLog':z['boolean']()['optional'](),'persistHttpLog':z['boolean']()[_0x3342ed(0x2b1,0x3b7,0x3ff,0x365)]()})[_0x257320(0x3d8,0x5be,0x47e,0x3d5)]()['optional'](),'requireToolApproval':z[_0x257320(0x39c,0x35d,0x365,0x3d6)]()[_0x3342ed(0x524,0x3c7,0x3ff,0x506)](),'thinking':z['enum'](['OFF',_0x257320(0x3cc,0x645,0x52d,0x3d1),_0x257320(0x4da,0x5a9,0x501,0x4db),_0x257320(0x5a0,0x4a5,0x579,0x55c)])[_0x3342ed(0x419,0x4c4,0x3ff,0x44a)](),'streamingChunks':z[_0x3342ed(0x1ef,0x346,0x2d9,0x42f)]()[_0x3342ed(0x539,0x3a8,0x3ff,0x351)](),'agentsEnabled':z['record'](z[_0x3342ed(0x40f,0x49e,0x48c,0x5f8)](),z['boolean']())[_0x3342ed(0x46b,0x28a,0x3ff,0x34d)](),'recentModels':z['array'](recentModelSchema)[_0x3342ed(0x383,0x38b,0x3ff,0x502)](),'lsp':lspConfigSchema[_0x3342ed(0x472,0x2f8,0x3ff,0x475)](),'servers':z['record'](z[_0x3342ed(0x4b6,0x5b8,0x48c,0x4b5)](),serverEndpointSchema)[_0x257320(0x521,0x374,0x48b,0x41c)](),'ui':z[_0x257320(0x225,0x3d3,0x2f0,0x20c)]({'theme':uiThemeSettingsSchema[_0x257320(0x42f,0x394,0x48b,0x3c5)](),'statusline':statuslineConfigSchema[_0x3342ed(0x2eb,0x3c2,0x3ff,0x4b0)]()})[_0x3342ed(0x303,0x4f5,0x3f2,0x4a6)]()[_0x257320(0x550,0x4fd,0x48b,0x37d)](),'tools':z[_0x3342ed(0x37d,0x538,0x410,0x35c)](z[_0x257320(0x4c6,0x40f,0x518,0x5cc)](),z['unknown']())[_0x3342ed(0x3f5,0x542,0x3ff,0x48b)](),'hooks':hooksConfigSchema[_0x3342ed(0x2d1,0x3a5,0x3ff,0x388)]()})[_0x257320(0x51a,0x4bc,0x47e,0x438)](),workspaceOverlaySchema=z[_0x3342ed(0x310,0x1d1,0x264,0x1d2)]({'root':z[_0x3342ed(0x38c,0x436,0x48c,0x51d)]()[_0x3342ed(0x2ea,0x521,0x3ff,0x333)](),'allowedDirs':z['array'](z[_0x3342ed(0x32d,0x40d,0x48c,0x421)]())[_0x3342ed(0x400,0x4c8,0x3ff,0x4cb)](),'activeProvider':z[_0x257320(0x4af,0x44f,0x518,0x3d5)]()[_0x257320(0x4fa,0x4bd,0x48b,0x495)](),'activeModel':z[_0x3342ed(0x351,0x389,0x48c,0x5b1)]()[_0x3342ed(0x4d4,0x4d0,0x3ff,0x47a)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x3342ed(0x37a,0x34c,0x3ff,0x38a)](),'commands':commandsSettingsSchema[_0x257320(0x525,0x4db,0x48b,0x3c8)](),'hooks':hooksConfigSchema[_0x257320(0x3e0,0x4d8,0x48b,0x479)](),'memory':memorySettingsSchema[_0x3342ed(0x28b,0x330,0x3ff,0x434)](),'mcpEnabled':z[_0x257320(0x5b8,0x576,0x49c,0x556)](z['string'](),z[_0x3342ed(0x40e,0x2ee,0x2d9,0x338)]())[_0x257320(0x497,0x5a8,0x48b,0x4ae)](),'skillsEnabled':z[_0x3342ed(0x3eb,0x509,0x410,0x498)](z[_0x257320(0x4c0,0x5b5,0x518,0x520)](),z[_0x3342ed(0x17f,0x1a8,0x2d9,0x3a4)]())[_0x3342ed(0x3d7,0x3b8,0x3ff,0x3bd)](),'agentsEnabled':z[_0x257320(0x3b3,0x5b2,0x49c,0x3a5)](z[_0x3342ed(0x44f,0x5fb,0x48c,0x537)](),z[_0x3342ed(0x1b7,0x35b,0x2d9,0x2b6)]())[_0x3342ed(0x4ee,0x362,0x3ff,0x42d)](),'commandsEnabled':z['record'](z['string'](),z[_0x257320(0x300,0x33c,0x365,0x373)]())[_0x257320(0x397,0x544,0x48b,0x5b1)]()})['passthrough']();function buildDescription(_0x167b36){const _0x1e4538={_0x42dc89:0x33f,_0x822214:0x49c,_0x5da20b:0x684,_0xfff746:0x6a2,_0x3a48bb:0x2be,_0x9dd5fb:0x4b7,_0x338cc8:0x3aa,_0x243fef:0x52b,_0xf1648:0x655,_0x12876a:0x4cc,_0x569fdd:0x27d,_0x30fe09:0x3af,_0x956a19:0x4d0,_0x45bc4f:0x396,_0xce3896:0x274},_0x4f2937={_0x34b9b0:0xee,_0x15b82b:0x133};if(_0x167b36[_0x249d95(0x2b8,_0x1e4538._0x42dc89,0x3ee,_0x1e4538._0x822214)]===0x0)return[_0x961cec(_0x1e4538._0x5da20b,0x52b,_0x1e4538._0xfff746,0x5c3),_0x961cec(0x3f7,0x3ec,0x4b7,_0x1e4538._0x3a48bb),'No\x20commands\x20are\x20currently\x20available.'][_0x249d95(0x3ea,_0x1e4538._0x9dd5fb,0x38f,_0x1e4538._0x338cc8)]('\x0a');function _0x249d95(_0x398e1a,_0x425732,_0x316119,_0x572dfe){return _0x257320(_0x398e1a-0x80,_0x425732-_0x4f2937._0x34b9b0,_0x316119- -_0x4f2937._0x15b82b,_0x425732);}function _0x961cec(_0x29cd8e,_0x356c6b,_0x5c2a25,_0x4ed802){return _0x257320(_0x29cd8e-0x16f,_0x356c6b-0x177,_0x356c6b-0x79,_0x29cd8e);}const _0x9cb3c9=[_0x961cec(0x448,_0x1e4538._0x243fef,_0x1e4538._0xf1648,_0x1e4538._0x12876a),_0x249d95(_0x1e4538._0x569fdd,_0x1e4538._0x30fe09,0x240,0x39d),'Available\x20commands:',..._0x167b36[_0x961cec(_0x1e4538._0x956a19,_0x1e4538._0x45bc4f,0x239,_0x1e4538._0xce3896)](_0x31ede6=>_0x31ede6[_0x249d95(0x244,0x294,0x338,0x23c)]?'-\x20'+_0x31ede6[_0x249d95(0x2b6,0x1cb,0x1f9,0x345)]+'\x20'+_0x31ede6[_0x249d95(0x3a7,0x2a4,0x338,0x2be)]+':\x20'+_0x31ede6[_0x961cec(0x37f,0x49a,0x48e,0x35a)]:'-\x20'+_0x31ede6[_0x249d95(0x331,0x329,0x1f9,0x230)]+':\x20'+_0x31ede6['description'])];return _0x9cb3c9['join']('\x0a');}function createInvokeCommandTool(_0xa7bf95){const _0x5d591d={_0x1a62c2:0x15e,_0x195c06:0x204,_0x3524bf:0x75,_0x41c851:0x12d,_0x5200ac:0x6,_0x6b497f:0xff,_0x689023:0x180,_0x187caf:0x1f9,_0xa96474:0x3db,_0x4afca3:0x560,_0x207e7b:0x4b2,_0x30985a:0x61b,_0x2b4176:0x3da},_0x52f113={_0x1b8b30:0x51f,_0xcc87d:0x15d,_0x221c98:0x215,_0x321c00:0x153,_0x114cf9:0x698,_0x413f3a:0x3b7,_0x1f12a0:0x558,_0x2fb94a:0x38f,_0x566fe3:0x22b,_0x132b47:0x14b,_0x546a14:0x380,_0x2c801:0x21a,_0x35525e:0x53e,_0x90fce6:0x52c,_0x3f4a7d:0x2da,_0x575c1e:0x94,_0xef71b6:0x20d,_0x588eed:0x54a,_0x47353d:0x648,_0x3e190a:0x4a0},_0x2a3834={_0x3b57b3:0x33,_0x10f1d7:0x12,_0x6c7f05:0x6},_0x17b3de={_0x557bea:0x1d5},_0x4dfc7f=new Map(_0xa7bf95[_0x57fe2f(_0x5d591d._0x1a62c2,0x162,0x1f7,_0x5d591d._0x195c06)][_0x57fe2f(_0x5d591d._0x3524bf,-_0x5d591d._0x41c851,0x43,_0x5d591d._0x5200ac)](_0x2b753e=>[_0x2b753e['id'],_0x2b753e])),_0x361a32=buildDescription(_0xa7bf95[_0x57fe2f(0xd6,0x144,_0x5d591d._0x6b497f,0x204)]);function _0x57fe2f(_0x430302,_0x541e8a,_0xf16e9,_0x40d9fa){return _0x3342ed(_0x430302-0x8a,_0x430302,_0x40d9fa- -0x28b,_0x40d9fa-0x37);}function _0x36aa38(_0x57b98b,_0x3c3911,_0xf1aae5,_0x1e6e2a){return _0x257320(_0x57b98b-0x11d,_0x3c3911-0x85,_0x57b98b-_0x17b3de._0x557bea,_0x1e6e2a);}return defineTool({'name':_0x57fe2f(0x10d,_0x5d591d._0x689023,0x2b9,_0x5d591d._0x187caf),'description':_0x361a32,'inputSchema':{'type':_0x36aa38(0x4c5,0x5e5,_0x5d591d._0xa96474,_0x5d591d._0x4afca3),'properties':{'name':{'type':_0x57fe2f(0x155,0x350,0x36b,0x201)},'args':{'type':'string'}},'required':[_0x36aa38(0x501,_0x5d591d._0x207e7b,_0x5d591d._0x30985a,_0x5d591d._0x2b4176)]},async *'execute'(_0xf6f098){function _0x50d454(_0xabbda8,_0x2aaa89,_0x637837,_0x2b8ef1){return _0x57fe2f(_0x2aaa89,_0x2aaa89-0x7f,_0x637837-0x14,_0xabbda8-0x15a);}const _0x84de86=_0x4dfc7f['get'](_0xf6f098[_0x314fee(0x3a6,0x4ce,_0x52f113._0x1b8b30,0x453)]);if(!_0x84de86){const _0x405d14=Array[_0x50d454(0x2b7,_0x52f113._0xcc87d,_0x52f113._0x221c98,0x358)](_0x4dfc7f[_0x50d454(_0x52f113._0x321c00,0x138,0x105,0x18e)]())[_0x314fee(_0x52f113._0x114cf9,0x664,0x7c8,0x7b5)](',\x20');throw new ToolExecutionError('Command\x20\x27'+_0xf6f098['name']+_0x314fee(0x444,0x481,_0x52f113._0x413f3a,_0x52f113._0x1f12a0)+_0x405d14,{'name':_0xf6f098[_0x314fee(_0x52f113._0x2fb94a,0x4ce,0x4f2,0x3e2)]});}const _0x4d0280=await _0xa7bf95[_0x50d454(_0x52f113._0x566fe3,_0x52f113._0x132b47,0x398,0x127)](_0x84de86),_0x37f139=_0xf6f098[_0x50d454(0x22f,0x1d9,_0x52f113._0x546a14,0x139)]??'';function _0x314fee(_0x4a3089,_0x3302c9,_0x3663e7,_0x1e0c93){return _0x36aa38(_0x3302c9- -_0x2a3834._0x3b57b3,_0x3302c9-_0x2a3834._0x10f1d7,_0x3663e7-_0x2a3834._0x6c7f05,_0x3663e7);}const _0x3434ef=renderCommandInstructions({'instructions':_0x4d0280[_0x50d454(0x172,0x23c,0x1c7,_0x52f113._0x2c801)],'argumentsText':_0x37f139,'argumentNames':_0x4d0280[_0x314fee(_0x52f113._0x35525e,_0x52f113._0x90fce6,0x61a,0x465)]});return yield createToolOutput(_0x3434ef,{'id':_0x4d0280['id'],'name':_0x4d0280[_0x50d454(0x16f,_0x52f113._0x3f4a7d,_0x52f113._0x575c1e,0xf5)],'path':_0x84de86[_0x50d454(_0x52f113._0xef71b6,0x274,0x1fa,0x363)][_0x314fee(_0x52f113._0x588eed,0x5c7,_0x52f113._0x47353d,_0x52f113._0x3e190a)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x111af8,rename as _0x1424a8,stat as _0x23c1a2,writeFile as _0x5b5f37}from'fs/promises';import*as _0x593784 from'path';function detectEol(_0xa6a918){const _0x47fcc0={_0x1286d9:0x4a9,_0x1af478:0x3af,_0x58940a:0x484,_0x1d11ae:0x81f,_0x15c7e2:0x658},_0x3bc6a8={_0x177bc9:0x125,_0x5dd41d:0x3c5,_0x1d8509:0x34},_0x5813ed={_0x42052e:0x52,_0x2389ce:0x4e};function _0xe3d093(_0x3ad963,_0x1a49eb,_0x168f9a,_0x6fe8b4){return _0x3342ed(_0x3ad963-_0x5813ed._0x42052e,_0x1a49eb,_0x3ad963-0x1c8,_0x6fe8b4-_0x5813ed._0x2389ce);}function _0x466186(_0x47d936,_0xa364a1,_0x3a1713,_0x131b91){return _0x3342ed(_0x47d936-_0x3bc6a8._0x177bc9,_0x47d936,_0xa364a1- -_0x3bc6a8._0x5dd41d,_0x131b91-_0x3bc6a8._0x1d8509);}return/\r\n/['test'](_0xa6a918[_0xe3d093(_0x47fcc0._0x1286d9,0x3c0,_0x47fcc0._0x1af478,_0x47fcc0._0x58940a)]('utf8'))?_0xe3d093(0x6be,_0x47fcc0._0x1d11ae,_0x47fcc0._0x15c7e2,0x751):'lf';}function normalizeToLf(_0x4b452e){const _0x270dd6={_0x1500c8:0x13c,_0x446bed:0xc5},_0x34ac68={_0x50c67e:0x190};function _0x582584(_0x282125,_0x4c4130,_0x22dde8,_0x34c5fb){return _0x3342ed(_0x282125-_0x34ac68._0x50c67e,_0x4c4130,_0x282125- -0x3c8,_0x34c5fb-0x4a);}return _0x4b452e[_0x582584(_0x270dd6._0x1500c8,0x268,0x169,_0x270dd6._0x446bed)](/\r\n/g,'\x0a');}function convertEol(_0x46890e,_0x4979f0){const _0x2b068b={_0xba5ac6:0xf8,_0x562a48:0x434,_0x477425:0x55d},_0x771e1b={_0x36aa49:0x2ff,_0x2c1c7b:0x2b},_0x4d4b60={_0x4bc790:0x6e};function _0x5d6550(_0x37ef57,_0x5765cb,_0x40239b,_0x37f6dc){return _0x257320(_0x37ef57-_0x4d4b60._0x4bc790,_0x5765cb-0xc2,_0x37ef57- -0x94,_0x5765cb);}function _0x3f87c3(_0x2756a2,_0x1c3c3f,_0xcc28c2,_0x220812){return _0x3342ed(_0x2756a2-0x1db,_0x2756a2,_0xcc28c2- -_0x771e1b._0x36aa49,_0x220812-_0x771e1b._0x2c1c7b);}return _0x4979f0===_0x3f87c3(_0x2b068b._0xba5ac6,0x26c,0x1f7,0x321)?_0x46890e[_0x5d6550(0x4fc,0x55d,_0x2b068b._0x562a48,_0x2b068b._0x477425)](/\n/g,'\x0d\x0a'):_0x46890e;}async function atomicWrite(_0x461047,_0xa86cec){const _0x3dff9c={_0x3f6e54:0x7be,_0x3aaa26:0x7b0,_0x27d6b5:0x6f5,_0x30a5dc:0x626,_0x7eeffe:0x66e,_0x9ba7f2:0x561,_0x207eb4:0x615,_0xe60039:0x762,_0x1aaa25:0x642,_0x49412d:0x755,_0x1ddd6c:0x5de,_0x547bf7:0x5c9,_0x323aaf:0x63b},_0x50962f={_0x4fb59a:0x1e,_0x404808:0x2e8,_0x34fad0:0x12d},_0x1b9920={_0x53e1c1:0x75,_0x37e181:0x1f2},_0x54ca1d=_0x593784[_0x3e1a02(_0x3dff9c._0x3f6e54,0x75e,0x714,_0x3dff9c._0x3aaa26)](_0x461047),_0x533615=_0x593784[_0x302a71(0x629,0x573,_0x3dff9c._0x27d6b5,0x6b4)](_0x54ca1d,_0x302a71(_0x3dff9c._0x30a5dc,_0x3dff9c._0x7eeffe,_0x3dff9c._0x9ba7f2,_0x3dff9c._0x207eb4)+_0x593784[_0x302a71(0x4ec,_0x3dff9c._0xe60039,0x674,_0x3dff9c._0x1aaa25)](_0x461047)+'.'+Date[_0x3e1a02(0x52b,0x5c3,0x4e3,0x47b)]()+'.'+Math[_0x3e1a02(_0x3dff9c._0x49412d,_0x3dff9c._0x1ddd6c,0x61c,0x6c3)]()[_0x3e1a02(_0x3dff9c._0x547bf7,0x677,0x5f5,_0x3dff9c._0x323aaf)](0x24)['slice'](0x2));await _0x5b5f37(_0x533615,_0xa86cec);function _0x302a71(_0x59e7e4,_0x2ba90e,_0x3a470a,_0x18df07){return _0x257320(_0x59e7e4-_0x1b9920._0x53e1c1,_0x2ba90e-0x9c,_0x18df07-_0x1b9920._0x37e181,_0x2ba90e);}function _0x3e1a02(_0x191f23,_0x54add8,_0x57ff74,_0x50883e){return _0x3342ed(_0x191f23-_0x50962f._0x4fb59a,_0x57ff74,_0x191f23-_0x50962f._0x404808,_0x50883e-_0x50962f._0x34fad0);}await _0x1424a8(_0x533615,_0x461047);}function sha256(_0x5a24fd){const _0x26c65e={_0x3d5bd8:0x26f,_0x273489:0x1b0,_0x216f22:0xdd,_0x173fa7:0x38e,_0x38aeda:0x1b3,_0x279d5d:0xb1},_0x34092b={_0x504cd1:0x1a6,_0xc69d55:0xd0};function _0x5d51f9(_0x21233e,_0x51e91b,_0x5793ed,_0x277caa){return _0x257320(_0x21233e-_0x34092b._0x504cd1,_0x51e91b-_0x34092b._0xc69d55,_0x21233e- -0x2ef,_0x51e91b);}function _0x4c7bc4(_0xc288b4,_0x48fda7,_0x2cef76,_0x43635f){return _0x257320(_0xc288b4-0x19f,_0x48fda7-0x2e,_0x48fda7- -0x24b,_0x43635f);}return createHash(_0x5d51f9(0x1a8,0x222,0x2ac,_0x26c65e._0x3d5bd8))[_0x4c7bc4(-0x93,0x61,_0x26c65e._0x273489,_0x26c65e._0x216f22)](_0x5a24fd)[_0x5d51f9(0x280,0x3b4,_0x26c65e._0x173fa7,0x16d)](_0x5d51f9(0xa7,_0x26c65e._0x38aeda,0x186,-_0x26c65e._0x279d5d));}function countLines(_0x3011b4){const _0x2a6dd9={_0x13399b:0x324,_0x131c1d:0x38d,_0x149b93:0x263,_0x55c48f:0x394,_0x1b1578:0x430,_0x12d7ba:0x34a,_0x509604:0x46c},_0x1dd7e8={_0x1107ab:0x7c};function _0x2aa342(_0x1100fa,_0x300a52,_0x22192c,_0x29d0c2){return _0x257320(_0x1100fa-_0x1dd7e8._0x1107ab,_0x300a52-0x1d1,_0x300a52- -0x1d7,_0x22192c);}const _0x34f9da=_0x3011b4['replace'](/\n$/,'');function _0x2808e0(_0x501dec,_0x225ff4,_0x4d894d,_0x5736e5){return _0x257320(_0x501dec-0xd5,_0x225ff4-0x14b,_0x501dec- -0x1dc,_0x5736e5);}return _0x34f9da[_0x2808e0(0x345,_0x2a6dd9._0x13399b,0x479,0x1e6)]===0x0?0x0:_0x34f9da[_0x2808e0(_0x2a6dd9._0x131c1d,_0x2a6dd9._0x149b93,_0x2a6dd9._0x55c48f,_0x2a6dd9._0x1b1578)]('\x0a')[_0x2aa342(0x3b8,_0x2a6dd9._0x12d7ba,_0x2a6dd9._0x509604,0x27c)];}function calculateLineNumbers(_0x303101,_0x109529,_0x2cfb96,_0x4bada4){const _0x240365={_0x2c9eec:0x1fc,_0x4a5d1f:0x27e,_0x114383:0xef,_0x1dc702:0x1a5},_0x18aa10={_0x46d9f2:0x4d},_0x135c49={_0x67a4fb:0x2f0,_0x3ee49e:0x128},_0x1c382f=_0x303101[_0x48f06c(_0x240365._0x2c9eec,0x2c7,_0x240365._0x4a5d1f,0x198)](0x0,_0x4bada4)['split']('\x0a')[_0x48f06c(0x261,0x6d,_0x240365._0x114383,_0x240365._0x1dc702)],_0x5574af=countLines(_0x109529);function _0x48f06c(_0x2d0040,_0x3e5f73,_0x5f43e2,_0x127cef){return _0x3342ed(_0x2d0040-0x165,_0x3e5f73,_0x127cef- -_0x135c49._0x67a4fb,_0x127cef-_0x135c49._0x3ee49e);}const _0x1773cf=countLines(_0x2cfb96);function _0xe1a861(_0x4cc4d7,_0x47fdf0,_0x544d98,_0x5c05f0){return _0x3342ed(_0x4cc4d7-_0x18aa10._0x46d9f2,_0x47fdf0,_0x4cc4d7- -0x2e6,_0x5c05f0-0xa);}return{'oldStartLine':_0x1c382f,'oldEndLine':_0x1c382f+_0x5574af-0x1,'newStartLine':_0x1c382f,'newEndLine':_0x1c382f+_0x1773cf-0x1,'oldLineCount':_0x5574af,'newLineCount':_0x1773cf};}function createFileEditTool(_0x58f1e8={}){const _0x2f36b0={_0x3f2145:0x112,_0x1024e5:0x11,_0x4446fb:0x2c0,_0x2f3fcb:0x2,_0x2a4626:0x1ed,_0x3cab09:0x23,_0x4a4862:0x142,_0x254ac1:0x280,_0x4ab72b:0x21a,_0xd29073:0x1dc,_0x40ef02:0x252,_0x541625:0x326,_0x20bb37:0x309,_0x52254c:0x1bb,_0x4e7b15:0x75,_0x1d550c:0x3fc,_0x2cc96f:0x3cd,_0x440894:0x3a2,_0x31efcb:0x20a,_0x74987b:0x283,_0x472d3e:0x8,_0x4702cf:0x67,_0x188f1a:0x17d,_0x31cb66:0x31f,_0x486236:0x2b9,_0x21f26f:0x29a,_0x279601:0x263,_0x238e8a:0x2ad,_0x24d8bc:0x2c9,_0x356f91:0xdd},_0x1c0a42={_0xb33f4f:0x4a9,_0x224783:0x491,_0x3d1f37:0x48d,_0x369b63:0x5d5,_0x31cf2e:0x5bc,_0x3a3e17:0x616,_0x255543:0x5c5,_0x468793:0x44e,_0x45858c:0x521,_0x314c9d:0x4fb,_0x208e6d:0x76f,_0xe9f17f:0x7bd,_0x4e7fae:0x6cf,_0x594c1a:0x4e4,_0x2af048:0x5b9,_0x2a210d:0x7bc,_0x1cd34a:0x673,_0x6802d:0x839,_0x5819d1:0x580,_0x15548f:0x4ea,_0x1527b3:0x6f6,_0x3de5fa:0x641,_0x2c3fe7:0x4b2,_0x5b4dc6:0x421,_0x124147:0x594,_0xc0de83:0x667,_0x44c15c:0x786,_0x28d41f:0x56e,_0x1ab066:0x57c,_0x2caafe:0x4ec,_0x4e7289:0x554,_0x1ac8f6:0x48a,_0x26e60e:0x384,_0x3b5a00:0x4f9,_0x363132:0x468,_0x263e58:0x5e5,_0x2c124b:0x58a,_0x3d3e5c:0x613,_0x323eed:0x6a0,_0x3b0e6d:0x7c1,_0x29977f:0x641,_0x3cd330:0x6f6},_0x5178f8={_0x567f5b:0x1eb,_0x4d1138:0x48},_0x298eec={_0x256c98:0x68};function _0xa6e697(_0x279f7d,_0x1ba7ef,_0x2481ff,_0x78f73){return _0x3342ed(_0x279f7d-_0x298eec._0x256c98,_0x2481ff,_0x1ba7ef- -0x238,_0x78f73-0x7a);}const _0x485014=_0x593784[_0xa6e697(_0x2f36b0._0x3f2145,0x99,-_0x2f36b0._0x1024e5,0x9f)](_0x58f1e8[_0x1b6fb9(0x192,_0x2f36b0._0x4446fb,0x2d6,0x445)]??process[_0xa6e697(0x27b,0x121,-_0x2f36b0._0x2f3fcb,_0x2f36b0._0x2a4626)]()),_0x37ec26=(_0x58f1e8[_0xa6e697(-0x89,_0x2f36b0._0x3cab09,0x12b,-0xed)]??[])['map'](_0x56587f=>_0x593784['resolve'](_0x56587f));function _0x1b6fb9(_0x4f04ab,_0x4d889d,_0x2f1478,_0x70234){return _0x257320(_0x4f04ab-_0x5178f8._0x567f5b,_0x4d889d-_0x5178f8._0x4d1138,_0x2f1478- -0x135,_0x4d889d);}const _0x3aa56e=_0x58f1e8[_0x1b6fb9(0x1b8,_0x2f36b0._0x4a4862,0x1f7,0x16b)]??_0x1b6fb9(_0x2f36b0._0x254ac1,_0x2f36b0._0x4ab72b,_0x2f36b0._0xd29073,_0x2f36b0._0x40ef02);return defineTool({'name':_0x3aa56e,'description':_0x1b6fb9(_0x2f36b0._0x541625,0x31f,0x2ae,_0x2f36b0._0x20bb37),'inputSchema':{'type':_0x1b6fb9(0xba,0x22d,_0x2f36b0._0x52254c,_0x2f36b0._0x4e7b15),'properties':{'filePath':{'type':'string'},'description':{'type':'string','description':_0x1b6fb9(_0x2f36b0._0x1d550c,0x4e6,0x42e,_0x2f36b0._0x2cc96f)},'oldText':{'type':_0xa6e697(0x2c9,0x254,0x221,0x11f)},'newText':{'type':_0xa6e697(_0x2f36b0._0x440894,0x254,_0x2f36b0._0x31efcb,_0x2f36b0._0x74987b)},'dryRun':{'type':_0xa6e697(_0x2f36b0._0x472d3e,0xa1,-_0x2f36b0._0x4702cf,_0x2f36b0._0x188f1a)}},'required':[_0x1b6fb9(_0x2f36b0._0x31cb66,_0x2f36b0._0x486236,0x364,_0x2f36b0._0x21f26f),_0xa6e697(_0x2f36b0._0x279601,_0x2f36b0._0x238e8a,0x32f,_0x2f36b0._0x24d8bc),_0x1b6fb9(0x1b5,0x15a,0x1d2,_0x2f36b0._0x356f91)]},async *'execute'(_0x1e0262){const _0x52bf97={_0x20da40:0x188,_0xc5fbf4:0x472},_0x5df825={_0x30975d:0xa4,_0x5da200:0x2c},_0x30b850=resolveAllowedPath(_0x485014,_0x37ec26,_0x1e0262[_0x564e75(0x5e9,0x522,_0x1c0a42._0xb33f4f,0x5b9)]);await assertWorkspaceFile(_0x30b850);const _0x3a8bf4=await _0x23c1a2(_0x30b850),_0xa287f2=await _0x111af8(_0x30b850),_0x2c3b72=detectEol(_0xa287f2),_0x58b6c9=normalizeToLf(_0xa287f2[_0x564e75(0x35f,_0x1c0a42._0x224783,0x3d1,_0x1c0a42._0x3d1f37)](_0x564e75(_0x1c0a42._0x369b63,0x7b2,_0x1c0a42._0x31cf2e,0x664))),_0x870b49=normalizeToLf(_0x1e0262[_0x564e75(_0x1c0a42._0x3a3e17,_0x1c0a42._0x255543,0x626,0x691)]),_0x4fae23=normalizeToLf(_0x1e0262['newText']),_0x37abc4=_0x58b6c9[_0x564e75(_0x1c0a42._0x468793,0x673,_0x1c0a42._0x45858c,_0x1c0a42._0x314c9d)](_0x870b49);if(_0x37abc4===-0x1){const _0x22c17a=_0x870b49[_0x564e75(0x6c9,0x6aa,0x4ce,0x634)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x22c17a+(_0x870b49[_0x3ab157(_0x1c0a42._0x208e6d,0x801,_0x1c0a42._0xe9f17f,_0x1c0a42._0x4e7fae)]>0x64?'...':'')+'\x22',{'filePath':_0x1e0262[_0x564e75(0x4ce,0x512,_0x1c0a42._0x594c1a,_0x1c0a42._0x2af048)]});}const _0x56caa4=_0x58b6c9[_0x3ab157(_0x1c0a42._0x2a210d,0x75d,_0x1c0a42._0x1cd34a,0x6c2)](0x0,_0x37abc4)+_0x4fae23+_0x58b6c9[_0x3ab157(_0x1c0a42._0x6802d,0x5cb,_0x1c0a42._0x5819d1,0x6c2)](_0x37abc4+_0x870b49[_0x564e75(_0x1c0a42._0x15548f,_0x1c0a42._0x1527b3,0x637,_0x1c0a42._0x3de5fa)]),_0x2de802=convertEol(_0x56caa4,_0x2c3b72),_0x3e02c8=Buffer[_0x564e75(0x680,_0x1c0a42._0x2c3fe7,_0x1c0a42._0x5b4dc6,_0x1c0a42._0x124147)](_0x2de802,_0x564e75(_0x1c0a42._0xc0de83,_0x1c0a42._0x44c15c,_0x1c0a42._0x28d41f,0x664)),_0x2d40c4=sha256(_0xa287f2);function _0x564e75(_0x45d02e,_0x54a028,_0x41eec0,_0x245989){return _0x1b6fb9(_0x45d02e-_0x5df825._0x30975d,_0x45d02e,_0x245989-0x255,_0x245989-_0x5df825._0x5da200);}const _0x32672c=sha256(_0x3e02c8),_0x326828=_0x2d40c4===_0x32672c,_0x3bb3b1=_0x1e0262[_0x3ab157(0x3c1,0x3d3,_0x1c0a42._0x1ab066,_0x1c0a42._0x2caafe)]??![];function _0x3ab157(_0x18f806,_0x31fe3d,_0x2c7925,_0x1b926b){return _0xa6e697(_0x18f806-_0x52bf97._0x20da40,_0x1b926b-_0x52bf97._0xc5fbf4,_0x31fe3d,_0x1b926b-0x165);}return!_0x3bb3b1&&!_0x326828&&await atomicWrite(_0x30b850,_0x3e02c8),yield createToolOutput(_0x326828?_0x564e75(0x582,0x547,0x4b2,_0x1c0a42._0x4e7289):_0x3bb3b1?_0x3ab157(_0x1c0a42._0x1ac8f6,_0x1c0a42._0x26e60e,0x3b0,_0x1c0a42._0x3b5a00):'Edit\x20applied\x20successfully.',{'filePath':_0x1e0262[_0x3ab157(0x4fb,0x750,0x67b,0x647)],'resolvedPath':_0x30b850,'created':_0x3a8bf4['birthtime'][_0x3ab157(_0x1c0a42._0x363132,_0x1c0a42._0x263e58,0x502,0x5da)](),'modified':_0x3a8bf4[_0x564e75(_0x1c0a42._0x2c124b,0x55b,0x53a,_0x1c0a42._0x3d3e5c)][_0x564e75(0x4e8,_0x1c0a42._0x323eed,0x435,0x54c)](),'size':_0x3a8bf4[_0x3ab157(0x760,0x63b,_0x1c0a42._0x3b0e6d,0x6ad)],'eol':_0x2c3b72,'oldTextLength':_0x870b49[_0x564e75(0x769,0x533,0x4df,0x641)],'newTextLength':_0x4fae23[_0x564e75(0x53d,0x54a,0x6bc,_0x1c0a42._0x29977f)],'bytesWritten':_0x326828||_0x3bb3b1?0x0:_0x3e02c8[_0x564e75(_0x1c0a42._0x3cd330,0x740,0x6e1,_0x1c0a42._0x29977f)],'beforeSha':_0x2d40c4,'afterSha':_0x32672c,'dryRun':_0x3bb3b1,'noChange':_0x326828,'lineNumbers':calculateLineNumbers(_0x58b6c9,_0x870b49,_0x4fae23,_0x37abc4)}),void 0x0;}});}import{mkdir as _0xad1c5b,rename as _0x4c91f5,stat as _0x56b005,writeFile as _0x5e8206}from'fs/promises';import*as _0x12c7fd from'path';async function atomicWrite2(_0x5a72b9,_0x482213){const _0x82f41b={_0x176d36:0x3dd,_0x388d8a:0x306,_0x5356a4:0x29c,_0x349180:0x365,_0x1865d8:0x2ef,_0x53fe87:0x20,_0xd36608:0x170,_0x184e3f:0x245,_0x20a7c8:0x26a,_0xab5a4f:0x3b3,_0x3dfe78:0x257},_0x1d441f={_0x4dd5dc:0xae},_0x9ab93a={_0x3273bc:0x14,_0x212239:0x90},_0x64e1aa=_0x12c7fd[_0x19c8f3(_0x82f41b._0x176d36,0x401,_0x82f41b._0x388d8a,_0x82f41b._0x5356a4)](_0x5a72b9);await _0xad1c5b(_0x64e1aa,{'recursive':!![]});function _0x1046d2(_0x4bdd35,_0x3def2a,_0x528fbb,_0x463c4c){return _0x257320(_0x4bdd35-_0x9ab93a._0x3273bc,_0x3def2a-_0x9ab93a._0x212239,_0x528fbb- -0x2b4,_0x463c4c);}const _0x580ee2=_0x12c7fd['join'](_0x64e1aa,'.tmp.'+_0x12c7fd[_0x19c8f3(_0x82f41b._0x349180,_0x82f41b._0x1865d8,0x39c,0x428)](_0x5a72b9)+'.'+Date[_0x1046d2(0x174,0xff,0x1b,-_0x82f41b._0x53fe87)]()+'.'+Math[_0x1046d2(_0x82f41b._0xd36608,0x1ef,_0x82f41b._0x184e3f,0x141)]()['toString'](0x24)[_0x19c8f3(_0x82f41b._0x20a7c8,_0x82f41b._0xab5a4f,0x4d5,_0x82f41b._0x3dfe78)](0x2));function _0x19c8f3(_0x59a48a,_0x22ff43,_0x400842,_0x2383ce){return _0x257320(_0x59a48a-_0x1d441f._0x4dd5dc,_0x22ff43-0xdc,_0x22ff43- -0x161,_0x59a48a);}await _0x5e8206(_0x580ee2,_0x482213),await _0x4c91f5(_0x580ee2,_0x5a72b9);}function createFileNewTool(_0x41af6f={}){const _0x2ac1ef={_0x5e38a7:0xd6,_0xe0a99f:0x31,_0x4e9154:0x101,_0x3153f0:0x156,_0x565f7c:0x7,_0x2dcad8:0x4bd,_0x80d2f4:0x421,_0x4ddd03:0x18f,_0x1efa54:0x54,_0x268fc0:0x311,_0x51c152:0x362,_0xa22924:0x369,_0x402c98:0x42c,_0x3c3dda:0x667,_0x5ea0e4:0x591,_0x556e20:0x3b9,_0xe29f91:0x512,_0x4e66d1:0x51f,_0x208bbe:0x52c,_0x358fbd:0x576},_0x37f80e={_0x4dbeb3:0x8e,_0x3bfeca:0xd3,_0x5a87f6:0x3d3,_0x4b364f:0x471,_0x5b35ea:0x4c0,_0x3c36a9:0x5bc,_0x28a530:0x5a7,_0x214b85:0x434,_0x2d327c:0x541,_0x5e75f7:0x4ad,_0x5339a7:0x7a,_0x3c75f9:0x69,_0xc8a807:0x1b8,_0x2a7c1c:0x1c3,_0x140de8:0x10c,_0xae882d:0x191,_0x1ddbce:0xe8,_0x2e8b48:0xf9,_0x1189ef:0x40c,_0x53c941:0x2d,_0x383814:0x281},_0x4d10b1={_0x1f430b:0x190,_0x5db381:0x48e},_0x20990b={_0x58ec5a:0x284,_0x47d9c0:0x9},_0x59457c=_0x12c7fd[_0x3a197d(_0x2ac1ef._0x5e38a7,_0x2ac1ef._0xe0a99f,0x65,_0x2ac1ef._0x4e9154)](_0x41af6f['defaultCwd']??process[_0x3a197d(0x15e,-0x5,_0x2ac1ef._0x3153f0,_0x2ac1ef._0x565f7c)]());function _0x3a197d(_0x2a3310,_0x26cbdf,_0x35fef4,_0x440215){return _0x3342ed(_0x2a3310-0x1cb,_0x440215,_0x2a3310- -0x1fb,_0x440215-0x1e);}const _0x1aa3a2=(_0x41af6f[_0x34ad14(0x4ac,_0x2ac1ef._0x2dcad8,_0x2ac1ef._0x80d2f4,0x360)]??[])[_0x3a197d(0x96,_0x2ac1ef._0x4ddd03,-0x2e,0x22)](_0x2371c4=>_0x12c7fd[_0x34ad14(0x2ee,0x364,0x2fe,0x3d6)](_0x2371c4)),_0x2c718d=_0x41af6f['name']??'FileNew';function _0x34ad14(_0x498a3e,_0x2c3607,_0x29558,_0x4233e3){return _0x257320(_0x498a3e-0xe3,_0x2c3607-0x150,_0x4233e3-0x79,_0x29558);}return defineTool({'name':_0x2c718d,'description':_0x3a197d(0xac,-_0x2ac1ef._0x1efa54,-0x39,-0xa5),'inputSchema':{'type':_0x34ad14(_0x2ac1ef._0x268fc0,0x205,_0x2ac1ef._0x51c152,_0x2ac1ef._0xa22924),'properties':{'filePath':{'type':_0x3a197d(0x291,0x38e,0x1f6,0x1d8)},'content':{'type':_0x34ad14(_0x2ac1ef._0x402c98,_0x2ac1ef._0x3c3dda,0x6e4,_0x2ac1ef._0x5ea0e4)}},'required':[_0x34ad14(0x5a3,0x4ae,_0x2ac1ef._0x556e20,_0x2ac1ef._0xe29f91),_0x34ad14(_0x2ac1ef._0x4e66d1,0x5a5,_0x2ac1ef._0x208bbe,_0x2ac1ef._0x358fbd)]},async *'execute'(_0x5d7ea1){const _0x1d9ecf=resolveAllowedPath(_0x59457c,_0x1aa3a2,_0x5d7ea1[_0x43981f(-_0x37f80e._0x4dbeb3,-_0x37f80e._0x3bfeca,0x84,0x118)]),_0x2c8b06=await _0x56b005(_0x1d9ecf)['then'](()=>!![])['catch'](()=>![]),_0x38c66b=Buffer[_0x34fb42(0x411,_0x37f80e._0x5a87f6,_0x37f80e._0x4b364f,0x4d7)](_0x5d7ea1[_0x34fb42(_0x37f80e._0x5b35ea,0x662,0x4fa,_0x37f80e._0x3c36a9)],_0x34fb42(_0x37f80e._0x28a530,_0x37f80e._0x214b85,_0x37f80e._0x2d327c,_0x37f80e._0x5e75f7));await atomicWrite2(_0x1d9ecf,_0x38c66b);function _0x34fb42(_0x457011,_0x1ed0d1,_0x8f65b7,_0xb14d7e){return _0x3a197d(_0x8f65b7-_0x20990b._0x58ec5a,_0x1ed0d1-_0x20990b._0x47d9c0,_0x8f65b7-0x16e,_0xb14d7e);}function _0x43981f(_0x351bba,_0x25fb52,_0x557d94,_0x3f43d6){return _0x34ad14(_0x351bba-0x1e5,_0x25fb52-_0x4d10b1._0x1f430b,_0x3f43d6,_0x557d94- -_0x4d10b1._0x5db381);}return yield createToolOutput(_0x43981f(_0x37f80e._0x5339a7,_0x37f80e._0x3c75f9,-0x11,0x90)+_0x5d7ea1['filePath']+'.',{'filePath':_0x5d7ea1[_0x43981f(_0x37f80e._0xc8a807,_0x37f80e._0x2a7c1c,0x84,0x148)],'resolvedPath':_0x1d9ecf,'bytes':_0x38c66b[_0x43981f(0x199,0xaf,_0x37f80e._0x140de8,_0x37f80e._0xae882d)],'lines':_0x5d7ea1[_0x43981f(0x166,0x100,_0x37f80e._0x1ddbce,_0x37f80e._0x2e8b48)][_0x34fb42(_0x37f80e._0x1189ef,0x667,0x566,0x65e)](/\r?\n/)[_0x43981f(-_0x37f80e._0x53c941,_0x37f80e._0x383814,0x10c,0x1e5)],'created':new Date()['toISOString'](),'overwritten':_0x2c8b06}),void 0x0;}});}import{readFile as _0x58d741,stat as _0x4df592}from'fs/promises';import*as _0x2c4be6 from'path';function stripUtfBom(_0x3a5740){const _0x2c1928={_0x4649cf:0x332,_0x2e09e5:0x26b,_0x23a8d2:0x77a,_0xeba65f:0x764,_0x3f9f09:0x6d4},_0x588ea9={_0x1c973e:0x266};function _0x34bd6b(_0x4c5058,_0xa8aff3,_0x3c6c5c,_0xba11aa){return _0x3342ed(_0x4c5058-0x56,_0xba11aa,_0x4c5058-0x117,_0xba11aa-0x16f);}function _0x310dda(_0x31a179,_0xb4fe7f,_0xd42bb,_0x1af39c){return _0x257320(_0x31a179-0x2d,_0xb4fe7f-0x1b2,_0x31a179-_0x588ea9._0x1c973e,_0xd42bb);}return _0x3a5740[_0x34bd6b(_0x2c1928._0x4649cf,0x1c6,0x23c,_0x2c1928._0x2e09e5)](0x0)===0xfeff?_0x3a5740[_0x310dda(_0x2c1928._0x23a8d2,_0x2c1928._0xeba65f,0x795,_0x2c1928._0x3f9f09)](0x1):_0x3a5740;}function clampLine(_0x1b8b75,_0x51b5bc){const _0x5c94fa={_0x2b3d1b:0x37,_0x5cdbcb:0x159,_0x582768:0x1bf,_0x58e2a4:0x151,_0x179f41:0x9b,_0x2680fa:0xee,_0x421b97:0xed,_0x1d33f4:0xc5,_0x467d7f:0x279,_0x185466:0x26c,_0x270fdd:0xd9},_0x39ede2={_0x53f012:0x178,_0x326654:0x20,_0x575114:0x337},_0x302a21={_0x872774:0x168,_0x16efb2:0x17d};if(!Number[_0x103574(_0x5c94fa._0x2b3d1b,_0x5c94fa._0x5cdbcb,_0x5c94fa._0x582768,_0x5c94fa._0x58e2a4)](_0x1b8b75))return 0x1;function _0x11c103(_0x309894,_0x46bc93,_0x459af8,_0x496e73){return _0x3342ed(_0x309894-_0x302a21._0x872774,_0x496e73,_0x46bc93- -_0x302a21._0x16efb2,_0x496e73-0x19f);}function _0x103574(_0xcbd0fd,_0x24851c,_0x2fcb11,_0x19a82f){return _0x257320(_0xcbd0fd-_0x39ede2._0x53f012,_0x24851c-_0x39ede2._0x326654,_0x24851c- -_0x39ede2._0x575114,_0xcbd0fd);}return Math[_0x103574(_0x5c94fa._0x179f41,-0x53,_0x5c94fa._0x2680fa,-_0x5c94fa._0x421b97)](0x1,Math[_0x103574(_0x5c94fa._0x1d33f4,0x12f,_0x5c94fa._0x467d7f,_0x5c94fa._0x185466)](Math[_0x11c103(_0x5c94fa._0x270fdd,0x122,0x5d,-0x3a)](_0x1b8b75),_0x51b5bc));}function createFileReadTool(_0x2d92ec={}){const _0x3ff673={_0x385800:0x19f,_0x25ab83:0x5e,_0x41351f:0xe9,_0x373837:0x103,_0x44358a:0xdc,_0x543be9:0xe0,_0x2c33a3:0xd8,_0x3a9b64:0x1,_0x2e5beb:0x10d,_0x3085d9:0xc,_0x254ed6:0x6d5,_0x2a3439:0x5de,_0x33757b:0x6c3,_0x58a212:0x239,_0xddd759:0x74,_0x2a4d4c:0xc2,_0x2a9fe4:0x11b,_0x4bb537:0x45c,_0x43d179:0x57b},_0x6d0ef7={_0x4f258b:0x2e,_0xbbb0a9:0x1d9,_0x187366:0x54a,_0x232e57:0x3a8,_0x32e7f9:0x61e,_0x4e3b38:0x6d8,_0x12ce8f:0x62a,_0x4c9371:0x4f,_0x54faa1:0x10f,_0x3aa1dd:0x158,_0x881494:0x9e,_0x4b7b31:0x75,_0x3f2731:0x36,_0x44d566:0xad,_0x3f910c:0x307,_0x20da79:0x1a9,_0xbcb67c:0x7a3,_0x207b49:0x516,_0x2f73f7:0x62d,_0x1586a0:0x46,_0x2a94e2:0x53,_0x334e6e:0x3c,_0x5d98c0:0x243,_0x117840:0xed,_0x391982:0x7a,_0x224f0c:0x765,_0x3a9eba:0x6a7,_0x50d563:0xe6,_0x4dae40:0x6aa,_0x4a3e31:0x597,_0x4dd137:0x721,_0x4909ab:0x41c,_0xed6a1f:0x2a2,_0x4a1b31:0x1ea,_0xb80914:0x118,_0x44e65b:0xec,_0x4cf8b9:0x3e,_0x1147c0:0x765,_0x294ecd:0x7f8},_0x156621={_0x5cc00d:0x1ec,_0x7cf815:0xd4},_0x5b3ab1={_0x83721e:0x19f,_0x346f2d:0x12e},_0x2b8c41=_0x2c4be6[_0x1b3797(0xae,0x123,-0xe0,0x61)](_0x2d92ec['defaultCwd']??process[_0x1b3797(_0x3ff673._0x385800,-_0x3ff673._0x25ab83,0x147,_0x3ff673._0x41351f)]()),_0x526c0d=(_0x2d92ec[_0x1b3797(-_0x3ff673._0x373837,-0x93,_0x3ff673._0x44358a,-0x15)]??[])[_0x1b3797(-_0x3ff673._0x543be9,0x175,-0x13e,0x21)](_0x4c7678=>_0x2c4be6['resolve'](_0x4c7678));function _0x1b3797(_0x2dc06d,_0x51dcfd,_0x177387,_0x24977e){return _0x3342ed(_0x2dc06d-_0x5b3ab1._0x83721e,_0x2dc06d,_0x24977e- -0x270,_0x24977e-_0x5b3ab1._0x346f2d);}const _0x3d4bf5=_0x2d92ec[_0x1b3797(0xb1,-0xc9,-0xab,0x30)]??_0x1b3797(0x16d,0xa2,0x7b,0x104);function _0x6d3915(_0x25f849,_0x37ffdd,_0x4ec985,_0xbd9e35){return _0x257320(_0x25f849-_0x156621._0x5cc00d,_0x37ffdd-_0x156621._0x7cf815,_0x37ffdd-0x1bd,_0x4ec985);}return defineTool({'name':_0x3d4bf5,'description':_0x1b3797(-_0x3ff673._0x2c33a3,-0x162,0x7,-_0x3ff673._0x3a9b64),'inputSchema':{'type':_0x1b3797(0x88,-0x13,-_0x3ff673._0x2e5beb,-_0x3ff673._0x3085d9),'properties':{'path':{'type':_0x6d3915(0x71a,_0x3ff673._0x254ed6,_0x3ff673._0x2a3439,_0x3ff673._0x33757b)},'lineStart':{'type':_0x1b3797(_0x3ff673._0x58a212,0xe2,-_0x3ff673._0xddd759,_0x3ff673._0x2a4d4c),'description':_0x1b3797(0xba,-_0x3ff673._0x2a9fe4,-0x1f,0x44)},'lineEnd':{'type':_0x6d3915(_0x3ff673._0x4bb537,_0x3ff673._0x43d179,0x6a3,0x4a2),'description':_0x6d3915(0x575,0x6bb,0x5e8,0x6c4)}},'required':['path']},async *'execute'(_0x556214){const _0x4f83c0={_0x4986fc:0x21,_0x252bb5:0x184,_0x31bd3f:0x540},_0x1eb25b=resolveAllowedPath(_0x2b8c41,_0x526c0d,_0x556214['path']);await assertWorkspaceFile(_0x1eb25b);const _0x1039ab=await _0x4df592(_0x1eb25b),_0x3497ad=await _0x58d741(_0x1eb25b);if(isProbablyBinary(_0x3497ad))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x556214['path'],{'path':_0x556214['path']});let _0x5b0327=_0x3497ad[_0xd1805b(0xa3,-0x13f,-0x23,-_0x6d0ef7._0x4f258b)](_0xd1805b(0x148,0x212,_0x6d0ef7._0xbbb0a9,0x1a9));const _0xf1c8e0=_0x5b0327[_0x48697b(0x4eb,_0x6d0ef7._0x187366,_0x6d0ef7._0x232e57,0x443)](0x0)===0xfeff;function _0xd1805b(_0x5ab748,_0x1c918f,_0x24d5eb,_0xf713fd){return _0x6d3915(_0x5ab748-0x103,_0xf713fd- -0x558,_0x1c918f,_0xf713fd-0x1ad);}_0x5b0327=stripUtfBom(_0x5b0327);const _0xfdc18b=_0x5b0327['split'](/\r?\n/),_0x5c183e={'path':_0x556214['path'],'resolvedPath':_0x1eb25b,'created':_0x1039ab[_0x48697b(_0x6d0ef7._0x32e7f9,_0x6d0ef7._0x4e3b38,_0x6d0ef7._0x12ce8f,0x586)]['toISOString'](),'modified':_0x1039ab[_0xd1805b(_0x6d0ef7._0x4c9371,_0x6d0ef7._0x54faa1,0x256,_0x6d0ef7._0x3aa1dd)][_0xd1805b(0x1ab,_0x6d0ef7._0x881494,0xb3,0x91)](),'size':_0x1039ab[_0xd1805b(_0x6d0ef7._0x4b7b31,0x18b,0x152,0x164)],'encoding':_0xd1805b(_0x6d0ef7._0x3f2731,_0x6d0ef7._0x44d566,_0x6d0ef7._0x3f910c,_0x6d0ef7._0x20da79),'bomStripped':_0xf1c8e0,'truncated':![],'totalLines':_0xfdc18b[_0x48697b(0x765,_0x6d0ef7._0xbcb67c,0x703,0x68e)]};if(_0x556214[_0x48697b(_0x6d0ef7._0x207b49,0x5d6,_0x6d0ef7._0x2f73f7,0x4b1)]!==void 0x0||_0x556214[_0xd1805b(-0x25,-_0x6d0ef7._0x1586a0,0x160,_0x6d0ef7._0x2a94e2)]!==void 0x0){const _0x2d0e86=clampLine(_0x556214[_0xd1805b(-0x1d0,-0x5f,-_0x6d0ef7._0x334e6e,-0xc9)]??0x1,_0xfdc18b[_0xd1805b(0x1a3,0x274,_0x6d0ef7._0x5d98c0,0x186)]),_0x1205ef=clampLine(_0x556214[_0xd1805b(-_0x6d0ef7._0x117840,0x111,-_0x6d0ef7._0x391982,_0x6d0ef7._0x2a94e2)]??_0xfdc18b[_0x48697b(_0x6d0ef7._0x224f0c,0x88b,0x8a6,_0x6d0ef7._0x3a9eba)],_0xfdc18b[_0xd1805b(_0x6d0ef7._0x50d563,0x24e,0x266,0x186)]),_0x2b3f82=Math[_0x48697b(_0x6d0ef7._0x4dae40,0x5ff,_0x6d0ef7._0x4a3e31,_0x6d0ef7._0x4dd137)](_0x2d0e86,_0x1205ef),_0x4d6e8a=Math[_0x48697b(0x528,_0x6d0ef7._0x4a3e31,0x44f,_0x6d0ef7._0x4909ab)](_0x2d0e86,_0x1205ef),_0x4c15fb=_0xfdc18b[_0xd1805b(_0x6d0ef7._0xed6a1f,_0x6d0ef7._0x4a1b31,_0x6d0ef7._0xb80914,0x179)](_0x2b3f82-0x1,_0x4d6e8a)[_0xd1805b(-_0x6d0ef7._0x44e65b,-0x179,-_0x6d0ef7._0x4cf8b9,-0x7e)]((_0x34b12e,_0x519253)=>_0x2b3f82+_0x519253+'|'+_0x34b12e)[_0x48697b(0x706,0x5e7,0x65b,0x74a)]('\x0a');return yield createToolOutput(_0x4c15fb,{..._0x5c183e,'lineRange':{'lineStart':_0x2b3f82,'lineEnd':_0x4d6e8a,'linesTotal':_0xfdc18b[_0x48697b(_0x6d0ef7._0x1147c0,0x851,_0x6d0ef7._0x294ecd,0x8af)]}}),void 0x0;}yield createToolOutput(_0x5b0327,_0x5c183e);function _0x48697b(_0x8cec11,_0x5f13c0,_0x42fd64,_0x506639){return _0x1b3797(_0x506639,_0x5f13c0-_0x4f83c0._0x4986fc,_0x42fd64-_0x4f83c0._0x252bb5,_0x8cec11-_0x4f83c0._0x31bd3f);}return void 0x0;}});}import{stat as _0x1c2177}from'fs/promises';import*as _0xdf96a5 from'path';import{execSync,spawn as _0x2fc64f}from'child_process';import{existsSync}from'fs';import{stat as _0x4d84ee}from'fs/promises';import*as _0x3c7073 from'os';import*as _0x17f052 from'path';import{rgPath as _0x21f6f4}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x10f95a={_0x2e1cb5:0x1cf,_0x1174a6:0x78,_0x3e7d75:0x191,_0x2c25d2:0x16e,_0x81b414:0x200,_0x55736b:0x155,_0x15a1c1:0x4cf,_0x54ccc7:0x2ff,_0x2fa278:0x275,_0x3bae6c:0x14e,_0x4d3a4b:0x111,_0x55fedc:0x160,_0xbff854:0x120,_0x584851:0x1d0,_0x17c184:0xee,_0x455d1a:0x2ff,_0x110a98:0x445,_0x49000d:0x15d,_0xf55108:0x23c,_0x5751cf:0x4c1,_0x32b4c4:0x316,_0xe2dd80:0x1f2,_0x2dd2bd:0xf9,_0x373a61:0x10d,_0x49d99d:0x184,_0x3f50ca:0x28b,_0x5d40eb:0x289,_0x1de807:0x291,_0x213578:0x376,_0x285858:0xc8,_0x110ae8:0xa7,_0x57f334:0x91,_0x3d5b92:0x5d,_0x59d46c:0x14f,_0x1ec962:0x163,_0x408494:0xb,_0x2d6d07:0x5f,_0x5c62bf:0x3b1,_0x406714:0x4cc},_0x166687={_0x249960:0x1bb,_0x50f356:0x489,_0x1466fa:0x1c3},_0x4d325c={_0xd72fe2:0xfc,_0x48c423:0x1c3},_0x52bf25=_0x3c7073[_0x30d02e(_0x10f95a._0x2e1cb5,0x71,0x1a7,0x335)]()==='win32',_0x1b59eb=_0x52bf25?[_0x17f052[_0x132612(0x11b,-0x53,0xf7,-0x11f)](process[_0x30d02e(0x1e4,0x112,_0x10f95a._0x1174a6,0x334)][_0x132612(-_0x10f95a._0x3e7d75,-0x19b,-0x24,-0x48)]||'',_0x30d02e(_0x10f95a._0x2c25d2,_0x10f95a._0x81b414,_0x10f95a._0x55736b,0x271),_0x30d02e(0x368,0x4b2,0x362,_0x10f95a._0x15a1c1),'Packages'),_0x17f052[_0x30d02e(_0x10f95a._0x54ccc7,_0x10f95a._0x2fa278,0x291,0x30b)](process[_0x30d02e(0x1e4,_0x10f95a._0x3bae6c,0x183,0x186)][_0x30d02e(_0x10f95a._0x4d3a4b,0x6e,0x1bd,0xf7)]||'','ripgrep',_0x30d02e(_0x10f95a._0x55fedc,_0x10f95a._0xbff854,_0x10f95a._0x584851,_0x10f95a._0x17c184)),_0x17f052[_0x30d02e(_0x10f95a._0x455d1a,0x443,_0x10f95a._0x110a98,0x3fe)](process[_0x132612(-_0x10f95a._0x49000d,-_0x10f95a._0x2c25d2,-_0x10f95a._0xf55108,-0x180)]['ProgramFiles(x86)']||'',_0x30d02e(0x36d,0x423,_0x10f95a._0x5751cf,_0x10f95a._0x32b4c4),_0x132612(-0x193,-_0x10f95a._0xe2dd80,-_0x10f95a._0x2dd2bd,-_0x10f95a._0x373a61))]:[_0x30d02e(_0x10f95a._0x49d99d,0xe6,0x187,_0x10f95a._0x3f50ca),_0x30d02e(0x191,0x27d,_0x10f95a._0x5d40eb,0x7d),_0x30d02e(_0x10f95a._0x1de807,0x26d,_0x10f95a._0x213578,0x124),'/bin/rg'];for(const _0x3b8468 of _0x1b59eb){if(existsSync(_0x3b8468))return _0x3b8468;}function _0x30d02e(_0x115a38,_0x1c347c,_0x984c5a,_0x59daf7){return _0x257320(_0x115a38-0x6e,_0x1c347c-_0x4d325c._0xd72fe2,_0x115a38- -_0x4d325c._0x48c423,_0x984c5a);}try{const _0x184937=_0x52bf25?_0x132612(_0x10f95a._0x285858,-_0x10f95a._0x110ae8,_0x10f95a._0x57f334,_0x10f95a._0x3d5b92):_0x30d02e(0x1ed,0x106,_0x10f95a._0x59d46c,0x160),_0x4aa60c=execSync(_0x184937,{'encoding':_0x30d02e(0x381,0x48e,0x31c,0x2bb),'stdio':[_0x132612(-_0x10f95a._0x1ec962,-0x101,_0x10f95a._0x408494,_0x10f95a._0x2d6d07),'pipe',_0x30d02e(_0x10f95a._0x5c62bf,_0x10f95a._0x406714,0x407,0x50b)]})['trim']()['split'](/\r?\n/)[0x0];if(_0x4aa60c&&existsSync(_0x4aa60c))return _0x4aa60c;}catch{return null;}function _0x132612(_0x2f8b81,_0x4d1670,_0x4b656c,_0x186815){return _0x3342ed(_0x2f8b81-_0x166687._0x249960,_0x2f8b81,_0x4d1670- -_0x166687._0x50f356,_0x186815-_0x166687._0x1466fa);}return null;}async function filepath(){const _0x3e5410={_0x3c33b6:0x2d7};if(cachedRgPath)return cachedRgPath;if(_0x21f6f4&&existsSync(_0x21f6f4))return cachedRgPath=_0x21f6f4,_0x21f6f4;const _0x9765f2=findSystemRipgrep();if(!_0x9765f2)throw new Error(_0x3d1a8b(0x1dd,0x300,0x2a1,_0x3e5410._0x3c33b6));function _0x3d1a8b(_0x1fa710,_0xfac906,_0x445197,_0x49409f){return _0x257320(_0x1fa710-0x169,_0xfac906-0x56,_0xfac906- -0xa9,_0x1fa710);}return cachedRgPath=_0x9765f2,_0x9765f2;}async function*files(_0x2cebaf){const _0x36f5a9={_0x5acf06:0x100,_0x5a45a8:0xf1,_0x1cedad:0x24c,_0x5b25d2:0x16e,_0x3b9871:0x9,_0x1ad465:0x222,_0x5724ae:0x63,_0x295e80:0xb0,_0x394e62:0x59,_0x42e092:0x6f9,_0x2251a8:0x795,_0x201e10:0x3cd,_0x43e0da:0x3f8,_0x2faa26:0x508,_0x18febd:0x206,_0x17ad84:0x1c6,_0x422f02:0x133,_0x143b7f:0x237,_0x4e26f4:0x13b,_0x3fa025:0x17b,_0xf871fb:0x131,_0x594a72:0x1fc,_0x47dcf7:0xaf,_0xfccd31:0x177,_0x382a01:0x223,_0x3268d4:0x14c,_0x4c9949:0x1b3,_0x536bd6:0x61a,_0x3a61ae:0x518,_0x513506:0x23,_0x22c6ee:0x55,_0x34d931:0x12a,_0x17b448:0x8a,_0x30c4dd:0x104,_0x5510ae:0x4b,_0x2db5bb:0x707,_0x105cca:0x4d7,_0x51ead8:0x49e,_0x5852be:0x5d3,_0x89a959:0x47c,_0x137ec9:0x4e1,_0x290a26:0x52c,_0x510560:0x309,_0x926d47:0x4a,_0x4462ea:0x44,_0x554f9c:0x83,_0x56b767:0x638,_0x2d7ed6:0x574,_0x346d1c:0x6e0,_0x154683:0x77,_0x36d2b3:0x1d1,_0x170382:0x193,_0x4465c5:0x55c,_0x2c102e:0x491,_0x3324ff:0x482},_0x49811f={_0x6f726c:0x334},_0x212e45=await filepath(),_0x27d197=await _0x4d84ee(_0x2cebaf[_0x9ddfb5(0x95,_0x36f5a9._0x5acf06,0x25,-0x7b)])[_0x9ddfb5(_0x36f5a9._0x5a45a8,_0x36f5a9._0x1cedad,_0x36f5a9._0x5b25d2,_0x36f5a9._0x3b9871)](()=>null);function _0x185f91(_0x521055,_0x19710e,_0xed1ee0,_0x11a6e3){return _0x257320(_0x521055-0x8d,_0x19710e-0x1d8,_0x11a6e3-0x1bf,_0x19710e);}if(!_0x27d197?.[_0x9ddfb5(_0x36f5a9._0x1ad465,_0x36f5a9._0x5724ae,_0x36f5a9._0x295e80,-_0x36f5a9._0x394e62)]())throw Object[_0x185f91(_0x36f5a9._0x42e092,0x702,_0x36f5a9._0x2251a8,0x6a7)](new Error(_0x185f91(_0x36f5a9._0x201e10,_0x36f5a9._0x43e0da,0x474,_0x36f5a9._0x2faa26)+_0x2cebaf[_0x185f91(0x5b8,0x4ef,0x5ce,0x5a4)]+'\x27'),{'code':_0x9ddfb5(_0x36f5a9._0x18febd,0x223,_0x36f5a9._0x17ad84,_0x36f5a9._0x422f02)});const _0x374108=[_0x9ddfb5(_0x36f5a9._0x143b7f,_0x36f5a9._0x4e26f4,_0x36f5a9._0x3fa025,0x222),_0x9ddfb5(_0x36f5a9._0xf871fb,_0x36f5a9._0x594a72,_0x36f5a9._0x47dcf7,_0x36f5a9._0xfccd31),_0x9ddfb5(_0x36f5a9._0x382a01,_0x36f5a9._0x3268d4,_0x36f5a9._0x4c9949,0xf2),_0x185f91(_0x36f5a9._0x536bd6,0x6b5,_0x36f5a9._0x3a61ae,0x661)];for(const _0x26563a of _0x2cebaf['glob']??[]){_0x374108[_0x9ddfb5(-_0x36f5a9._0x513506,-0x97,-_0x36f5a9._0x22c6ee,-_0x36f5a9._0x34d931)](_0x9ddfb5(_0x36f5a9._0x17b448,_0x36f5a9._0x30c4dd,-_0x36f5a9._0x5510ae,-0x1c4)+_0x26563a);}const _0xe5f661=_0x2fc64f(_0x212e45,_0x374108,{'cwd':_0x2cebaf[_0x185f91(0x651,_0x36f5a9._0x2db5bb,_0x36f5a9._0x105cca,0x5a4)],'stdio':['ignore','pipe',_0x185f91(0x5ad,_0x36f5a9._0x51ead8,0x55b,_0x36f5a9._0x5852be)]});let _0x5b0c9f='';function _0x9ddfb5(_0x148363,_0x2d7d42,_0x50e88b,_0x5bdc7c){return _0x3342ed(_0x148363-0x199,_0x5bdc7c,_0x50e88b- -_0x49811f._0x6f726c,_0x5bdc7c-0x3f);}for await(const _0x353e5a of _0xe5f661['stdout']??[]){_0x5b0c9f+=_0x353e5a[_0x185f91(0x562,_0x36f5a9._0x89a959,_0x36f5a9._0x137ec9,_0x36f5a9._0x290a26)]();const _0x4174eb=_0x5b0c9f[_0x9ddfb5(_0x36f5a9._0x510560,0x3c,0x1a9,0x30a)](/\r?\n/);_0x5b0c9f=_0x4174eb[_0x9ddfb5(_0x36f5a9._0x926d47,-_0x36f5a9._0x4462ea,-_0x36f5a9._0x554f9c,-0x115)]()??'';for(const _0x1574a4 of _0x4174eb){if(_0x1574a4[_0x185f91(_0x36f5a9._0x56b767,_0x36f5a9._0x2d7ed6,0x7e2,_0x36f5a9._0x346d1c)]>0x0)yield _0x1574a4;}}_0x5b0c9f[_0x9ddfb5(_0x36f5a9._0x154683,-0x1fa,-0xfd,-0x188)]()[_0x9ddfb5(0x40,_0x36f5a9._0x36d2b3,0x161,_0x36f5a9._0x170382)]>0x0&&(yield _0x5b0c9f[_0x185f91(_0x36f5a9._0x4465c5,_0x36f5a9._0x2c102e,0x384,_0x36f5a9._0x3324ff)]());}function parseMatchLine(_0x6fc68b,_0x383a86){const _0x5aa530={_0x3017f8:0xb,_0x31ef40:0x4,_0x4c6997:0x170,_0x306d25:0x5dc,_0x247ed2:0x805,_0x1f3a52:0x6c7,_0xcad7a9:0x5ef,_0x2cedf3:0x503,_0xb7595a:0x10b,_0x454f9d:0x1db,_0x1990b9:0x5ff,_0x29ab51:0x171,_0x2fb015:0x770,_0x4cbae5:0x6f5,_0x11c69b:0x81b,_0x48e6c3:0x6c7,_0x48a34b:0x79e,_0x39c1e6:0x6a9,_0xb648d9:0x624,_0x2b266c:0x75,_0x31e511:0xb2,_0x5d3277:0x20},_0x44eb13={_0x27c091:0x2c3,_0xf8051e:0x1e2};if(!_0x6fc68b||_0x6fc68b==='--')return null;const _0x465967=_0x6fc68b[_0x4b1da5(0x160,-_0x5aa530._0x3017f8,0x60,_0x5aa530._0x31ef40)]('|');function _0x203a05(_0x4206fb,_0x375e6a,_0x31f574,_0x45f953){return _0x3342ed(_0x4206fb-0x167,_0x31f574,_0x45f953-_0x44eb13._0x27c091,_0x45f953-_0x44eb13._0xf8051e);}if(_0x383a86&&_0x465967[_0x4b1da5(0x118,0x271,0x145,_0x5aa530._0x4c6997)]>=0x4&&Number[_0x203a05(_0x5aa530._0x306d25,0x5ae,_0x5aa530._0x247ed2,_0x5aa530._0x1f3a52)](Number[_0x203a05(0x5e0,0x3bd,_0x5aa530._0xcad7a9,_0x5aa530._0x2cedf3)](_0x465967[0x2]??'',0xa))){const _0xf6a3ac=Number['parseInt'](_0x465967[0x1]??'',0xa);if(!Number['isFinite'](_0xf6a3ac)||!_0x465967[0x0])return null;return{'filePath':_0x465967[0x0],'lineNum':_0xf6a3ac,'lineText':_0x465967[_0x4b1da5(_0x5aa530._0xb7595a,0x2c,0x113,_0x5aa530._0x454f9d)](0x3)['join']('|')};}function _0x4b1da5(_0x57751f,_0x57a91f,_0x79f454,_0x526c98){return _0x257320(_0x57751f-0x100,_0x57a91f-0x125,_0x57751f- -0x409,_0x526c98);}if(_0x465967[_0x203a05(0x88c,0x836,_0x5aa530._0x1990b9,0x758)]>=0x3){const _0x3eca48=Number[_0x4b1da5(-0x13d,-0x63,-_0x5aa530._0x29ab51,-0x260)](_0x465967[0x1]??'',0xa);if(!Number[_0x203a05(_0x5aa530._0x2fb015,_0x5aa530._0x4cbae5,_0x5aa530._0x11c69b,_0x5aa530._0x48e6c3)](_0x3eca48)||!_0x465967[0x0])return null;return{'filePath':_0x465967[0x0],'lineNum':_0x3eca48,'lineText':_0x465967[_0x203a05(_0x5aa530._0x48a34b,_0x5aa530._0x39c1e6,_0x5aa530._0xb648d9,0x74b)](0x2)[_0x4b1da5(0xb9,_0x5aa530._0x2b266c,_0x5aa530._0x31e511,_0x5aa530._0x5d3277)]('|'),..._0x383a86?{'isContext':!![]}:{}};}return null;}async function search(_0xc4485d){const _0x56d316={_0x3f24fc:0x3e,_0x130ab9:0xdc,_0x28c53c:0xcb,_0x39dc0e:0x7b0,_0x2cf055:0x706,_0x895b55:0x479,_0x31ba97:0x58a,_0x393202:0x343,_0x4415a3:0x1cd,_0x50c20e:0x157,_0x303c24:0xa0,_0x519d0f:0x153,_0x11ae55:0x112,_0x5d770b:0x50e,_0x9a33aa:0x4f0,_0x379974:0x1ce,_0x488636:0x27d,_0x38be88:0x57b,_0x1cf4d7:0x6a9,_0x165c94:0x207,_0x440639:0xb6,_0x3e58e1:0x5,_0x2fd1f6:0x2ad,_0x54d650:0x2a5,_0x339389:0x39a,_0x4b27d5:0x1d4,_0x395d68:0x46a,_0x43eb14:0x4dc,_0x52b9c8:0x4b3,_0x599381:0x8,_0xe1b9e7:0xb,_0x3f9262:0xd7,_0x25caf6:0xb9,_0x1f3b6e:0xe5,_0x594a24:0x91,_0x1f5551:0x380,_0x3e1dfa:0x221,_0x337920:0x1ca,_0x4e8042:0x384,_0x13dc3d:0x129,_0x8e3af4:0x1fb,_0xc80cbb:0x60d,_0x5a9ae3:0x94,_0x5611dd:0x8a,_0x3243ca:0xc9,_0x365a74:0x5df,_0x2e496b:0xda,_0x1e446f:0x232,_0x3f5d5e:0x39d,_0x2e5f34:0x373,_0x312ec5:0x22,_0x20809c:0x104,_0x4de644:0x1cb},_0x11a495={_0x3868a9:0x472,_0x3bcd9a:0x262,_0x52f312:0x391,_0x55fd37:0x345,_0x34de5f:0x5,_0x3f31ea:0x264,_0x54aab2:0x144,_0x52435c:0x242,_0xa8f4ad:0xce,_0xec4c76:0x131,_0x1d2bac:0x2be,_0x5a1136:0x24f,_0x41f131:0x2bc,_0x4c39c2:0x5c,_0xbdf524:0x17c,_0x49a125:0x20d,_0x3749af:0x325,_0x369a62:0x154},_0xb6fe6a={_0x4de9bd:0x305,_0x53ed5f:0x243,_0x49e223:0x37e,_0x11fa1d:0x4cc,_0x43451c:0x57d,_0x1ec909:0x5e1,_0x16ad2c:0x696,_0x171be1:0xf9},_0x1da0a6={_0x570d2a:0x291,_0x1badfb:0x2ba},_0x570b75={_0x509d12:0xd5},_0x48b376={_0x218973:0xfb,_0x24aa27:0x2e1},_0x4e1e56={_0x2cd76b:0xa0,_0x2bcbf2:0x10b},_0x58d21c=await filepath();if(_0xc4485d['file']){const _0x3fae5c=await _0x4d84ee(_0xc4485d[_0x157cb9(0x80,-_0x56d316._0x3f24fc,_0x56d316._0x130ab9,-_0x56d316._0x28c53c)])[_0xd230d3(_0x56d316._0x39dc0e,_0x56d316._0x2cf055,0x639,0x4e1)](()=>null);if(!_0x3fae5c?.[_0xd230d3(0x3f0,0x5b6,_0x56d316._0x895b55,_0x56d316._0x31ba97)]())throw Object[_0x157cb9(_0x56d316._0x393202,0x207,_0x56d316._0x4415a3,0xb9)](new Error(_0x157cb9(_0x56d316._0x50c20e,0x1d7,0x16d,0x227)+_0xc4485d[_0x157cb9(_0x56d316._0x303c24,-_0x56d316._0x3f24fc,-_0x56d316._0x519d0f,-_0x56d316._0x11ae55)]+'\x27'),{'code':_0xd230d3(0x68d,0x661,0x691,0x680)});}else{const _0x26c422=await _0x4d84ee(_0xc4485d[_0xd230d3(_0x56d316._0x5d770b,0x559,_0x56d316._0x9a33aa,0x44b)])[_0x157cb9(_0x56d316._0x379974,0x24d,0x2cd,_0x56d316._0x488636)](()=>null);if(!_0x26c422?.[_0xd230d3(0x5fa,0x49f,_0x56d316._0x38be88,_0x56d316._0x1cf4d7)]())throw Object[_0x157cb9(0x152,_0x56d316._0x165c94,0x201,0x98)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0xc4485d[_0x157cb9(_0x56d316._0x440639,0x104,-_0x56d316._0x3e58e1,-0x1a)]+'\x27'),{'code':_0x157cb9(_0x56d316._0x2fd1f6,_0x56d316._0x54d650,_0x56d316._0x339389,_0x56d316._0x4b27d5)});}const _0x25737f=[_0xd230d3(0x42b,0x5b9,0x59a,0x63c),'--field-match-separator=|',_0xd230d3(0x46c,_0x56d316._0x395d68,_0x56d316._0x43eb14,_0x56d316._0x52b9c8),_0x157cb9(_0x56d316._0x599381,_0x56d316._0xe1b9e7,_0x56d316._0x3f9262,0x7e),_0xc4485d[_0x157cb9(_0x56d316._0x25caf6,_0x56d316._0x1f3b6e,_0x56d316._0x594a24,-0x24)]],_0x28dee7=typeof _0xc4485d[_0x157cb9(_0x56d316._0x1f5551,_0x56d316._0x3e1dfa,_0x56d316._0x337920,_0x56d316._0x4e8042)]===_0x157cb9(_0x56d316._0x13dc3d,0xdd,0x112,_0x56d316._0x8e3af4)&&_0xc4485d[_0xd230d3(0x6d7,0x70c,_0x56d316._0xc80cbb,0x587)]>0x0;_0x28dee7&&_0x25737f[_0x157cb9(-_0x56d316._0x5a9ae3,_0x56d316._0x5611dd,-0xa,-_0x56d316._0x3243ca)]('-C',String(_0xc4485d['context']),'--column');function _0xd230d3(_0x1bf12c,_0x36fb11,_0x29964d,_0x3e7157){return _0x257320(_0x1bf12c-0x177,_0x36fb11-_0x4e1e56._0x2cd76b,_0x29964d-_0x4e1e56._0x2bcbf2,_0x36fb11);}_0xc4485d['glob']&&!_0xc4485d['file']&&_0x25737f['push'](_0xd230d3(0x441,_0x56d316._0x365a74,0x486,0x4fc),_0xc4485d[_0x157cb9(_0x56d316._0x2e496b,_0x56d316._0x1e446f,_0x56d316._0x3f5d5e,0xb9)]);_0x25737f[_0xd230d3(0x36f,_0x56d316._0x2e5f34,0x476,0x34b)](_0xc4485d[_0x157cb9(-0x2,-0x3e,-_0x56d316._0x312ec5,0x45)]??_0xc4485d[_0x157cb9(0x115,_0x56d316._0x20809c,0x43,_0x56d316._0x4de644)]);function _0x157cb9(_0x516882,_0x4fec56,_0xe919c2,_0x4a4713){return _0x257320(_0x516882-0x6b,_0x4fec56-_0x48b376._0x218973,_0x4fec56- -_0x48b376._0x24aa27,_0xe919c2);}return await new Promise((_0x33b15c,_0x122053)=>{const _0x38ae4e={_0x54fd37:0x99,_0x2aef12:0x29c},_0x122485={_0x3c4c47:0x3e,_0xe408a3:0x58,_0x38cd95:0x16},_0x59ed71={_0x3327d0:0xd3,_0x1f2cfe:0x130},_0x5b0a22={_0xe9e8e8:0x105,_0x10389e:0xa4},_0xce2d70={_0x5d82a0:0x14,_0x138e5a:0x114},_0x227828={_0x4d0449:0x143};function _0x2674d5(_0xf95754,_0x1f7496,_0x47c2b9,_0xa0568b){return _0x157cb9(_0xf95754-0x1d4,_0x1f7496-_0x570b75._0x509d12,_0x47c2b9,_0xa0568b-0xbe);}const _0x55b60e=_0x2fc64f(_0x58d21c,_0x25737f,{'cwd':_0xc4485d['cwd'],'stdio':[_0x2674d5(_0x11a495._0x3868a9,0x368,0x282,0x1f5),_0x2e4486(_0x11a495._0x3bcd9a,_0x11a495._0x52f312,_0x11a495._0x55fd37,0x238),'pipe']});let _0x9a7df8='',_0x1178da='';_0x55b60e[_0x2e4486(_0x11a495._0x34de5f,_0x11a495._0x3f31ea,0x261,_0x11a495._0x54aab2)]?.['on']('data',_0x2f75cb=>{function _0x342991(_0x44fa40,_0x20d9d9,_0x5cae6b,_0x50db7c){return _0x2674d5(_0x44fa40-0x4a,_0x44fa40- -_0x227828._0x4d0449,_0x20d9d9,_0x50db7c-0x4);}_0x9a7df8+=_0x2f75cb[_0x342991(0x1e,-0x4b,-_0xce2d70._0x5d82a0,_0xce2d70._0x138e5a)]();});function _0x2e4486(_0x367b5f,_0xa95e9c,_0x572295,_0x855910){return _0x157cb9(_0x367b5f-0x9c,_0x855910-_0x5b0a22._0xe9e8e8,_0x367b5f,_0x855910-_0x5b0a22._0x10389e);}_0x55b60e[_0x2674d5(0x16f,_0x11a495._0x52435c,_0x11a495._0xa8f4ad,_0x11a495._0xec4c76)]?.['on'](_0x2674d5(0x21d,_0x11a495._0x1d2bac,_0x11a495._0x5a1136,_0x11a495._0x41f131),_0x546659=>{function _0x18cfc1(_0x15df1d,_0x3b51ce,_0x31e227,_0x462296){return _0x2674d5(_0x15df1d-_0x59ed71._0x3327d0,_0x3b51ce-_0x59ed71._0x1f2cfe,_0x15df1d,_0x462296-0x11f);}_0x1178da+=_0x546659[_0x18cfc1(0x2f9,_0x1da0a6._0x570d2a,0x3cd,_0x1da0a6._0x1badfb)]();}),_0x55b60e['on'](_0x2e4486(_0x11a495._0x4c39c2,0x140,0x1c3,_0x11a495._0xbdf524),_0x43e795=>{if(_0x43e795===0x1&&_0x9a7df8===''){_0x33b15c([]);return;}if(_0x43e795!==0x0&&_0x43e795!==0x1){_0x122053(new Error(_0x59f88d(0x295,_0xb6fe6a._0x4de9bd,_0xb6fe6a._0x53ed5f,0x114)+_0x1178da));return;}const _0x4cfda2=_0xc4485d[_0x28d39f(0x3a9,_0xb6fe6a._0x49e223,0x4a5,_0xb6fe6a._0x11fa1d)]??0x64,_0x1d684a=[];for(const _0x2fafba of _0x9a7df8[_0x28d39f(_0xb6fe6a._0x43451c,0x629,0x55d,0x79e)](/\r?\n/)){if(_0x1d684a[_0x28d39f(0x46d,_0xb6fe6a._0x1ec909,0x5e2,_0xb6fe6a._0x16ad2c)]>=_0x4cfda2)break;const _0x1a1bd8=parseMatchLine(_0x2fafba,_0x28dee7);if(_0x1a1bd8)_0x1d684a[_0x59f88d(0x24a,0x140,0x1b7,_0xb6fe6a._0x171be1)](_0x1a1bd8);}function _0x59f88d(_0x50252a,_0x2bbbe0,_0x19fa4a,_0x10db4f){return _0x2674d5(_0x50252a-_0x122485._0x3c4c47,_0x19fa4a-_0x122485._0xe408a3,_0x50252a,_0x10db4f-_0x122485._0x38cd95);}function _0x28d39f(_0x128a4e,_0x33c1f3,_0x1d46dc,_0x187625){return _0x2e4486(_0x1d46dc,_0x33c1f3-0x4c,_0x1d46dc-_0x38ae4e._0x54fd37,_0x33c1f3-_0x38ae4e._0x2aef12);}_0x33b15c(_0x1d684a);}),_0x55b60e['on'](_0x2674d5(_0x11a495._0x49a125,0x254,_0x11a495._0x3749af,_0x11a495._0x369a62),_0x122053);});}function createGlobTool(_0x5cc335={}){const _0x95363f={_0x36a054:0x3a4,_0x26eb75:0x3ef,_0xbdb520:0x62a,_0x58f03d:0x588,_0x177283:0x3b8,_0x551789:0x42c,_0x190bcf:0x316,_0x2e6933:0x305,_0x517307:0x454,_0x89ce39:0x52b,_0x4b46d5:0x665,_0x12e992:0x52d,_0x4120ab:0x489,_0xc55cb9:0x69d,_0x53b738:0x603,_0x524d0f:0x848,_0xc26df3:0x55f,_0x34b4fa:0x6be,_0x35fa2f:0x66e,_0x4aa6ab:0x4a6},_0x23a9de={_0x335092:0x3c7,_0x3f0ecd:0x47a,_0x18b02a:0x38c,_0x39de89:0x487,_0x2a198e:0x46e,_0x38a03d:0x5ec,_0x1e641c:0x3c9,_0x217b38:0x53a,_0x2344bc:0x31b,_0xf7ceea:0x3e5,_0x4461dc:0x501,_0x270972:0x32f,_0x587f64:0x44e,_0x3b14c9:0x42f,_0xc72b88:0x618,_0x25c73a:0x58d,_0x132d8f:0x557,_0x563c43:0x4fd,_0xa0d114:0x628,_0x13e9a1:0x333,_0x90ff4a:0x47c,_0x2a5e53:0x41b,_0x4da23a:0x310,_0x2a5581:0x3eb,_0x1a6ac2:0x5cb,_0x5f2918:0x5b7,_0x4da38d:0x5a9,_0x1a8d31:0x827,_0x552cc7:0x733,_0x239a56:0x4b0,_0x13388d:0x4ac,_0x1ac342:0x39b,_0x56f43e:0x72c,_0x50ee12:0x763,_0x5a24d4:0x31f,_0x51d94e:0x1ff,_0x18c9df:0x318,_0x359599:0x290},_0x1fdef1={_0x163d1c:0xa,_0x3036be:0x2c6,_0x5a8036:0x18f},_0xacd1da={_0x2bb9cc:0x12b,_0xfde031:0x1cd,_0x539b6f:0x47},_0x1ca09a={_0x16d5a6:0x29,_0x4c984e:0x2ab},_0x2a954e=_0xdf96a5[_0x102e9d(0x4e7,_0x95363f._0x36a054,_0x95363f._0x26eb75,0x3ab)](_0x5cc335[_0xf57930(0x668,0x619,_0x95363f._0xbdb520,_0x95363f._0x58f03d)]??process[_0x102e9d(_0x95363f._0x177283,_0x95363f._0x551789,0x35b,0x34c)]());function _0xf57930(_0x63800a,_0xdb1d97,_0x35e58d,_0x4513ec){return _0x3342ed(_0x63800a-_0x1ca09a._0x16d5a6,_0xdb1d97,_0x35e58d-_0x1ca09a._0x4c984e,_0x4513ec-0xa9);}function _0x102e9d(_0x21d53a,_0x15829d,_0x4a647f,_0x4dc283){return _0x257320(_0x21d53a-_0xacd1da._0x2bb9cc,_0x15829d-_0xacd1da._0xfde031,_0x15829d-_0xacd1da._0x539b6f,_0x21d53a);}const _0x3d9438=(_0x5cc335['allowedDirs']??[])['map'](_0x355a28=>_0xdf96a5[_0x102e9d(0x516,0x3a4,0x386,0x2fb)](_0x355a28)),_0x40ee07=_0x5cc335[_0x102e9d(_0x95363f._0x190bcf,_0x95363f._0x2e6933,0x251,0x215)]??0x64,_0x10715c=_0x5cc335['name']??_0x102e9d(_0x95363f._0x517307,0x51f,_0x95363f._0x89ce39,0x523);return defineTool({'name':_0x10715c,'description':_0xf57930(0x669,_0x95363f._0x4b46d5,_0x95363f._0x12e992,_0x95363f._0x4120ab),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0xf57930(_0x95363f._0xc55cb9,_0x95363f._0x53b738,0x737,_0x95363f._0x524d0f)},'path':{'type':_0x102e9d(0x670,_0x95363f._0xc26df3,_0x95363f._0x34b4fa,0x4dc)},'limit':{'type':'number'}},'required':[_0xf57930(0x588,_0x95363f._0x35fa2f,0x5e5,_0x95363f._0x4aa6ab)]},async *'execute'(_0x4d2dbc){const _0x1778f7={_0x491295:0x1f7};if(_0x4d2dbc['pattern'][_0x31e4a1(0x4db,0x3c3,_0x23a9de._0x335092,0x501)]()[_0x4814a6(_0x23a9de._0x3f0ecd,0x441,0x4d7,_0x23a9de._0x18b02a)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x11b372=resolveAllowedPath(_0x2a954e,_0x3d9438,_0x4d2dbc['path']??'.'),_0x51cd2d=await _0x1c2177(_0x11b372)[_0x4814a6(_0x23a9de._0x39de89,_0x23a9de._0x2a198e,_0x23a9de._0x38a03d,0x41f)](()=>null);if(!_0x51cd2d?.[_0x4814a6(_0x23a9de._0x1e641c,_0x23a9de._0x217b38,0x48f,_0x23a9de._0x2344bc)]())throw new ToolExecutionError(_0x4814a6(_0x23a9de._0xf7ceea,_0x23a9de._0x4461dc,_0x23a9de._0x270972,0x3bc)+(_0x4d2dbc[_0x4814a6(0x37e,_0x23a9de._0x587f64,_0x23a9de._0x3b14c9,0x441)]??'.'),{'path':_0x4d2dbc[_0x31e4a1(0x5b1,0x747,_0x23a9de._0xc72b88,0x663)]??'.'});const _0xe3afd0=_0x4d2dbc[_0x31e4a1(_0x23a9de._0x25c73a,_0x23a9de._0x132d8f,_0x23a9de._0x563c43,0x4fc)]??_0x40ee07,_0x279180=Math[_0x31e4a1(0x3b6,0x3b3,_0x23a9de._0xa0d114,0x522)](0x1,Math['trunc'](_0xe3afd0)),_0x50c7fb=[];let _0x591afb=![];for await(const _0x2db1a7 of files({'cwd':_0x11b372,'glob':[_0x4d2dbc[_0x4814a6(0x31f,_0x23a9de._0x13e9a1,_0x23a9de._0x90ff4a,0x2aa)]]})){if(_0x50c7fb['length']>=_0x279180){_0x591afb=!![];break;}const _0x39ba41=await _0x1c2177(_0xdf96a5[_0x4814a6(_0x23a9de._0x2a5e53,_0x23a9de._0x4da23a,_0x23a9de._0x2a5581,0x4e5)](_0x11b372,_0x2db1a7))[_0x4814a6(0x487,0x582,0x5c7,_0x23a9de._0x1a6ac2)](()=>null);_0x50c7fb[_0x31e4a1(0x4b0,_0x23a9de._0x5f2918,0x58a,_0x23a9de._0x4da38d)]({'path':_0x2db1a7,'mtime':_0x39ba41?.[_0x31e4a1(0x694,_0x23a9de._0x1a8d31,0x787,_0x23a9de._0x552cc7)]??0x0});}_0x50c7fb['sort']((_0x278a7b,_0x1aba7e)=>_0x1aba7e[_0x31e4a1(0x5be,0x78c,0x82f,0x731)]-_0x278a7b['mtime']);const _0x22eeb8=_0x50c7fb[_0x4814a6(0x276,0x282,0x3c5,0x174)](_0x2cc4ee=>_0x2cc4ee['path']),_0x48f70c=_0x22eeb8[_0x4814a6(0x47a,_0x23a9de._0x239a56,_0x23a9de._0x13388d,_0x23a9de._0x1ac342)]===0x0?_0x31e4a1(0x8c3,_0x23a9de._0x56f43e,0x817,_0x23a9de._0x50ee12)+_0x4d2dbc['pattern']:''+_0x22eeb8['join']('\x0a')+(_0x591afb?'\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)':'');function _0x31e4a1(_0x1a1277,_0x5eaa27,_0x536f79,_0x6791a8){return _0x102e9d(_0x536f79,_0x6791a8-_0x1778f7._0x491295,_0x536f79-0xc9,_0x6791a8-0x15f);}yield createToolOutput(_0x48f70c,{'pattern':_0x4d2dbc[_0x4814a6(_0x23a9de._0x5a24d4,_0x23a9de._0x51d94e,_0x23a9de._0x18c9df,0x42d)],'searchPath':_0xdf96a5[_0x4814a6(0x239,0x159,0x134,_0x23a9de._0x359599)](_0x2a954e,_0x11b372)||'.','matches':_0x22eeb8,'count':_0x22eeb8['length'],'truncated':_0x591afb});function _0x4814a6(_0x2bb247,_0x12d21d,_0xdbed1,_0x264418){return _0xf57930(_0x2bb247-_0x1fdef1._0x163d1c,_0x264418,_0x2bb247- -_0x1fdef1._0x3036be,_0x264418-_0x1fdef1._0x5a8036);}return void 0x0;}});}import{stat as _0x5d84c1}from'fs/promises';function _0x1df5(_0x5acbc8,_0x56fe4c){_0x5acbc8=_0x5acbc8-0x150;const _0x2ed325=_0x2ed3();let _0x1df5c2=_0x2ed325[_0x5acbc8];if(_0x1df5['IsZWuU']===undefined){var _0x13f255=function(_0x354724){const _0x47c954='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x27768c='',_0x115e81='';for(let _0x54360a=0x0,_0x140bbb,_0x50ee3c,_0x141f16=0x0;_0x50ee3c=_0x354724['charAt'](_0x141f16++);~_0x50ee3c&&(_0x140bbb=_0x54360a%0x4?_0x140bbb*0x40+_0x50ee3c:_0x50ee3c,_0x54360a++%0x4)?_0x27768c+=String['fromCharCode'](0xff&_0x140bbb>>(-0x2*_0x54360a&0x6)):0x0){_0x50ee3c=_0x47c954['indexOf'](_0x50ee3c);}for(let _0xd6a36b=0x0,_0x2eef70=_0x27768c['length'];_0xd6a36b<_0x2eef70;_0xd6a36b++){_0x115e81+='%'+('00'+_0x27768c['charCodeAt'](_0xd6a36b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x115e81);};_0x1df5['RDKcHh']=_0x13f255,_0x1df5['DayjMX']={},_0x1df5['IsZWuU']=!![];}const _0xe088cc=_0x2ed325[0x0],_0x3df834=_0x5acbc8+_0xe088cc,_0x514857=_0x1df5['DayjMX'][_0x3df834];return!_0x514857?(_0x1df5c2=_0x1df5['RDKcHh'](_0x1df5c2),_0x1df5['DayjMX'][_0x3df834]=_0x1df5c2):_0x1df5c2=_0x514857,_0x1df5c2;}import*as _0x549bc6 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x3a248a={}){const _0x1e85d0={_0x3c2044:0x2d3,_0x1bc3c3:0x340,_0x5dc76d:0x16a,_0x59b3bf:0x2f,_0x36f0ce:0xcd,_0x1c9876:0xd4,_0x57aa33:0x137,_0xa6baec:0x25d,_0x3935c6:0x1ca,_0x52a449:0x1d6,_0x1fb6d1:0x326,_0x17f028:0x38d,_0x91ea3e:0x2a6,_0x5b4b15:0x88,_0xe21231:0x1e8,_0xf1de63:0xdf,_0x496402:0x101,_0x5762be:0xf3,_0x1f6527:0xb6,_0x3004bf:0x265,_0x5f579a:0x334,_0xda21d8:0x2c4,_0xd96816:0x1fc,_0x55da4c:0x329,_0x48bb50:0x27c,_0x5ed655:0x48c},_0x1d8781={_0x1ce5b0:0x132,_0x114303:0x17f,_0x2174ba:0x56d,_0x4fe5ae:0x4b9,_0x3af5c3:0x4d3,_0x40b9bb:0x348,_0x197d88:0x135,_0x4a4107:0x6b,_0x190daf:0x192,_0x9ed967:0x84,_0x4cfbf4:0x18c,_0x5e14cb:0x14a,_0x1bef1e:0x95,_0x5671bf:0x1d4,_0x491585:0x7d,_0x5a9459:0x58c,_0x57d149:0x75c,_0x52856a:0x4a6,_0x297134:0xee,_0x458e39:0x4da,_0x250507:0x5ed,_0x22f56c:0xc1,_0x4b34ca:0x1c1,_0x4ca5e0:0x4c5,_0x3d4ee6:0x6aa,_0x2aca75:0x770,_0x3403c1:0x6fa,_0x24a3e3:0x6f8,_0x197913:0x818,_0x303a59:0x63a,_0x489aa4:0x708,_0x23cab4:0x5ad,_0x5c9e20:0xad,_0x1daf8f:0x1e8,_0x1736b4:0x3c,_0x24f942:0x90,_0x48122d:0x876,_0x3fbe64:0x554,_0x40af74:0xc3,_0x286480:0x13,_0x28af2e:0x6eb,_0x51caab:0x615,_0x29572e:0x5fb,_0x25da8c:0x595,_0x290f01:0x5a5,_0x73b1c5:0x561,_0xc41d65:0x135,_0x263a8f:0x277,_0x202528:0x2c,_0x453d31:0x23,_0x29671d:0x732,_0x503901:0x5b5,_0x78aef9:0x5f6,_0x2a9fa3:0x4d6,_0x2b9cf1:0x6e6,_0x3f9811:0x597,_0x56ea3f:0x73f,_0x5066c4:0x707,_0x2fa59e:0x5b6,_0x42143e:0x5f5,_0x6db10c:0xf8,_0x265d51:0x9f,_0x169f99:0x596,_0x3b2bf2:0x46a,_0x2a79a4:0x13f,_0x1eecd5:0x2e,_0x36b0ff:0x7a,_0x230a6f:0x26,_0x3f5f44:0xcc,_0x53a16d:0x113,_0x3034b9:0xec,_0x348e90:0x5a4,_0x5c7e88:0x118,_0x12145c:0x1a8,_0x325cf5:0x66,_0x7d752d:0x83c,_0x32c304:0x580,_0x5e0147:0x4b9,_0xda339b:0x545,_0x868ea1:0x62a},_0x16ce41={_0x41b35e:0x280,_0x597d0a:0x174},_0x469670={_0x257295:0x44c,_0x1f0f90:0x19a},_0x57e30f={_0x134fbb:0x114};function _0x33c059(_0x4d7530,_0x457674,_0x583bee,_0x1f5376){return _0x3342ed(_0x4d7530-_0x57e30f._0x134fbb,_0x4d7530,_0x457674-0x2,_0x1f5376-0xe5);}const _0x264915=_0x549bc6[_0x33c059(0x25f,_0x1e85d0._0x3c2044,_0x1e85d0._0x1bc3c3,0x2da)](_0x3a248a[_0xdecf56(-_0x1e85d0._0x5dc76d,_0x1e85d0._0x59b3bf,-_0x1e85d0._0x36f0ce,-_0x1e85d0._0x1c9876)]??process['cwd']());function _0xdecf56(_0x4dd83c,_0x29439a,_0x3e7bd0,_0x24afb5){return _0x3342ed(_0x4dd83c-0xe2,_0x29439a,_0x3e7bd0- -_0x469670._0x257295,_0x24afb5-_0x469670._0x1f0f90);}const _0xd75250=(_0x3a248a[_0x33c059(_0x1e85d0._0x57aa33,_0x1e85d0._0xa6baec,0x164,0x326)]??[])['map'](_0x399d8d=>_0x549bc6[_0xdecf56(-0x206,-0x2a7,-0x17b,-0x286)](_0x399d8d)),_0x3f78b7=_0x3a248a['limit']??0x64,_0x28a511=_0x3a248a[_0x33c059(_0x1e85d0._0x3935c6,0x2a2,_0x1e85d0._0x52a449,0x337)]??_0xdecf56(-_0x1e85d0._0x1fb6d1,-_0x1e85d0._0x17f028,-0x222,-0x2f4);return defineTool({'name':_0x28a511,'description':_0x33c059(_0x1e85d0._0x91ea3e,0x2a8,0x25b,_0x1e85d0._0x52a449),'inputSchema':{'type':_0xdecf56(-0x33f,-_0x1e85d0._0x5b4b15,-_0x1e85d0._0xe21231,-_0x1e85d0._0xf1de63),'properties':{'pattern':{'type':_0xdecf56(0x14e,0x1a6,0x40,_0x1e85d0._0x496402)},'path':{'type':_0xdecf56(-_0x1e85d0._0x5762be,0x197,0x40,_0x1e85d0._0x1f6527)},'include':{'type':'string'},'limit':{'type':_0x33c059(_0x1e85d0._0x3004bf,_0x1e85d0._0x5f579a,_0x1e85d0._0xda21d8,0x275)},'context':{'type':_0x33c059(_0x1e85d0._0xd96816,0x334,_0x1e85d0._0x55da4c,0x40d)}},'required':[_0x33c059(_0x1e85d0._0x48bb50,0x33c,_0x1e85d0._0x5ed655,0x25f)]},async *'execute'(_0x5932f8){const _0x4ff79e={_0x18be89:0x12a,_0x1e8c4c:0xec};if(_0x5932f8[_0x310721(-0x26,_0x1d8781._0x1ce5b0,-0x72,-_0x1d8781._0x114303)][_0x4c1007(_0x1d8781._0x2174ba,_0x1d8781._0x4fe5ae,_0x1d8781._0x3af5c3,_0x1d8781._0x40b9bb)]()[_0x310721(_0x1d8781._0x197d88,0x174,_0x1d8781._0x4a4107,_0x1d8781._0x190daf)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x5e86dd=resolveAllowedPath(_0x264915,_0xd75250,_0x5932f8['path']??'.');function _0x4c1007(_0x13e410,_0x4e1135,_0x86ce9f,_0x1e423d){return _0x33c059(_0x13e410,_0x4e1135-_0x16ce41._0x41b35e,_0x86ce9f-0x16d,_0x1e423d-_0x16ce41._0x597d0a);}const _0x4a5a9b=await _0x5d84c1(_0x5e86dd)[_0x4c1007(0x5b2,0x724,0x84d,0x886)](()=>null),_0x1e6907=_0x4a5a9b?.['isFile']()??![],_0x43526f=_0x4a5a9b?.[_0x310721(_0x1d8781._0x9ed967,0x190,_0x1d8781._0x4cfbf4,_0x1d8781._0x5e14cb)]()??![];if(!_0x1e6907&&!_0x43526f)throw new ToolExecutionError(_0x310721(-_0x1d8781._0x1bef1e,0x20,-_0x1d8781._0x5671bf,-_0x1d8781._0x491585)+(_0x5932f8[_0x4c1007(_0x1d8781._0x5a9459,0x61b,0x740,_0x1d8781._0x57d149)]??'.'),{'path':_0x5932f8[_0x4c1007(_0x1d8781._0x52856a,0x61b,0x76c,0x673)]??'.'});const _0x5d6279=_0x5932f8[_0x310721(-0x12e,-0x20e,-_0x1d8781._0x297134,-0x1a8)]??_0x3f78b7,_0x36c294=Math[_0x4c1007(0x53b,_0x1d8781._0x458e39,_0x1d8781._0x250507,0x4a2)](0x1,Math[_0x310721(-_0x1d8781._0x22f56c,-0xf,-0x210,-_0x1d8781._0x4b34ca)](_0x5d6279)),_0x566631=await search({'cwd':_0x43526f?_0x5e86dd:_0x549bc6['dirname'](_0x5e86dd),'pattern':_0x5932f8[_0x4c1007(0x5f8,0x5bc,_0x1d8781._0x4ca5e0,0x58c)],'glob':_0x43526f?_0x5932f8[_0x4c1007(0x74d,0x6fa,_0x1d8781._0x3d4ee6,_0x1d8781._0x2aca75)]:void 0x0,'limit':_0x36c294,'file':_0x1e6907?_0x5e86dd:void 0x0,'context':_0x5932f8[_0x4c1007(_0x1d8781._0x3403c1,_0x1d8781._0x24a3e3,_0x1d8781._0x197913,_0x1d8781._0x303a59)]}),_0x8b85bc=new Map();for(const _0x4de930 of _0x566631){if(!_0x8b85bc[_0x4c1007(0x6b3,0x5e8,_0x1d8781._0x489aa4,_0x1d8781._0x23cab4)](_0x4de930[_0x310721(0xad,0x52,-0x33,-0x8d)])){const _0x1e8304=await _0x5d84c1(_0x4de930[_0x310721(_0x1d8781._0x5c9e20,_0x1d8781._0x1daf8f,_0x1d8781._0x1736b4,-_0x1d8781._0x24f942)])[_0x4c1007(0x5c6,0x724,0x802,_0x1d8781._0x48122d)](()=>null);_0x8b85bc[_0x4c1007(0x4f6,0x4a3,0x530,_0x1d8781._0x3fbe64)](_0x4de930[_0x310721(0xad,_0x1d8781._0x40af74,_0x1d8781._0x286480,0x2)],{'matches':[],'mtime':_0x1e8304?.[_0x4c1007(0x5b1,_0x1d8781._0x28af2e,_0x1d8781._0x51caab,0x7f9)]??0x0});}_0x8b85bc['get'](_0x4de930['filePath'])?.[_0x4c1007(_0x1d8781._0x29572e,0x555,_0x1d8781._0x25da8c,_0x1d8781._0x290f01)][_0x4c1007(0x575,0x561,0x4ca,_0x1d8781._0x73b1c5)](_0x4de930);}const _0x25fd1d=[..._0x8b85bc[_0x4c1007(0x629,0x5d8,0x60f,0x47e)]()][_0x310721(0x10,0x129,-0x15,-0x15d)]((_0x2343c4,_0x1d01fd)=>_0x1d01fd[0x1]['mtime']-_0x2343c4[0x1]['mtime']),_0x194232=_0x566631[_0x4c1007(0x446,0x565,0x634,0x62f)](_0x45a682=>!_0x45a682[_0x310721(-0x61,0x73,-0x15a,-0x2c)])[_0x310721(_0x1d8781._0x197d88,-0x2f,0x142,0x16b)],_0x1d95fa=_0x566631['length']>=_0x36c294,_0x820175=_0x1e6907?_0x549bc6['dirname'](_0x5e86dd):_0x5e86dd;let _0xde4079='';if(_0x566631[_0x310721(_0x1d8781._0xc41d65,0xef,_0x1d8781._0x263a8f,-_0x1d8781._0x202528)]===0x0)_0xde4079=_0x310721(0x149,-0x1d,-_0x1d8781._0x453d31,0x10c)+_0x5932f8[_0x4c1007(0x5ec,0x5bc,0x59c,0x6af)];else{_0xde4079=_0x4c1007(0x843,0x774,0x760,0x6da)+_0x194232+'\x20match'+(_0x194232===0x1?'':'es')+'\x0a';for(const [_0x574283,_0x4a71fd]of _0x25fd1d){const _0x202c63=_0x1e6907?_0x549bc6[_0x4c1007(_0x1d8781._0x29671d,0x646,_0x1d8781._0x503901,_0x1d8781._0x78aef9)](_0x574283):_0x549bc6[_0x4c1007(0x539,_0x1d8781._0x2a9fa3,0x4ae,0x4ac)](_0x820175,_0x574283);_0xde4079+='\x0a'+_0x202c63+':\x0a';for(const _0x46f388 of _0x4a71fd['matches']){const _0x5278e5=_0x46f388[_0x4c1007(0x588,0x6da,0x5bd,_0x1d8781._0x2b9cf1)]['length']>MAX_LINE_LENGTH?_0x46f388['lineText'][_0x4c1007(_0x1d8781._0x3f9811,0x70a,_0x1d8781._0x56ea3f,0x60e)](0x0,MAX_LINE_LENGTH)+_0x4c1007(0x6c0,_0x1d8781._0x5066c4,_0x1d8781._0x2fa59e,_0x1d8781._0x42143e):_0x46f388[_0x310721(_0x1d8781._0x6db10c,_0x1d8781._0x265d51,-0x7a,0x1d7)],_0x1f8d63=_0x46f388[_0x4c1007(_0x1d8781._0x169f99,0x581,0x6a4,_0x1d8781._0x3b2bf2)]?'\x20\x20':'>\x20';_0xde4079+=_0x1f8d63+'Line\x20'+_0x46f388[_0x310721(_0x1d8781._0x297134,0x156,_0x1d8781._0x2a79a4,-0x44)]+':\x20'+_0x5278e5+'\x0a';}}_0x1d95fa&&(_0xde4079+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}function _0x310721(_0x80b225,_0x27dee1,_0x34649f,_0x3034d7){return _0xdecf56(_0x80b225-_0x4ff79e._0x18be89,_0x34649f,_0x80b225-_0x4ff79e._0x1e8c4c,_0x3034d7-0x155);}const _0x5a194d={'searchPath':_0x549bc6[_0x310721(-0x10c,0x5f,-_0x1d8781._0x1eecd5,-_0x1d8781._0x36b0ff)](_0x264915,_0x5e86dd)||'.','pattern':_0x5932f8[_0x310721(-_0x1d8781._0x230a6f,0x64,0xf0,_0x1d8781._0x3f5f44)],'matchCount':_0x194232,'fileCount':_0x8b85bc[_0x310721(_0x1d8781._0x53a16d,0x144,-0x37,_0x1d8781._0x3034b9)],'truncated':_0x1d95fa};return _0x43526f&&_0x5932f8[_0x4c1007(_0x1d8781._0x348e90,0x6fa,0x6e4,_0x1d8781._0x489aa4)]!==void 0x0&&(_0x5a194d[_0x310721(_0x1d8781._0x5c7e88,_0x1d8781._0x12145c,0xa9,_0x1d8781._0x325cf5)]=_0x5932f8[_0x4c1007(0x84d,0x6fa,_0x1d8781._0x7d752d,0x5d9)]),yield createToolOutput(_0xde4079[_0x4c1007(_0x1d8781._0x32c304,_0x1d8781._0x5e0147,_0x1d8781._0xda339b,_0x1d8781._0x868ea1)](),_0x5a194d),void 0x0;}});}function createKillShellTool(_0x32ce75){const _0x408e8e={_0x536165:0x123,_0x353441:0x2cb,_0x52bbc5:0xf5,_0x4f9998:0x33e,_0x1ec4fa:0x27d,_0x553f32:0x275,_0x3833d7:0xfb,_0x4ec18f:0x35a,_0x55cf0a:0x1b,_0x5333f2:0x23},_0x193e73={_0x45192c:0x59f,_0x17c616:0x65c,_0x4e443b:0x8b9,_0x21c7fb:0x7fc,_0x1db145:0x6db,_0x4f3b7c:0x7bf,_0x4977a1:0x71d,_0x6e58a7:0x273,_0x27231d:0x1c5,_0x16fc1d:0x6b6,_0x439f26:0x6da,_0x4b1668:0x847,_0x1839a4:0x166,_0x4de054:0x25,_0x4b59de:0x24c,_0x38faf0:0x31e,_0x217651:0x6c0,_0x38eca9:0x7f7,_0x4113bb:0x5b3},_0x2daa92={_0x5be013:0x4a8,_0x2cf17:0x2c},_0x43ac46={_0x115260:0xf2},{registry:_0x57f925}=_0x32ce75;function _0x382bd0(_0x33d3de,_0x756f25,_0x3723e5,_0x52fbbe){return _0x257320(_0x33d3de-0x1dc,_0x756f25-0x138,_0x3723e5- -_0x43ac46._0x115260,_0x33d3de);}function _0x5ef644(_0x4e9e71,_0x280ac4,_0x233e1e,_0x4725bc){return _0x3342ed(_0x4e9e71-0xc0,_0x4e9e71,_0x233e1e- -_0x2daa92._0x5be013,_0x4725bc-_0x2daa92._0x2cf17);}return defineTool({'name':_0x5ef644(-_0x408e8e._0x536165,-_0x408e8e._0x353441,-0x25c,-_0x408e8e._0x52bbc5),'description':_0x382bd0(_0x408e8e._0x4f9998,_0x408e8e._0x1ec4fa,_0x408e8e._0x553f32,0x323),'inputSchema':{'type':_0x382bd0(0x204,_0x408e8e._0x3833d7,0x1fe,_0x408e8e._0x4ec18f),'properties':{'shellId':{'type':'string'}},'required':[_0x5ef644(_0x408e8e._0x55cf0a,-0x64,_0x408e8e._0x5333f2,0x85)]},async *'execute'(_0x391c74){const _0x19b150={_0x5061c8:0x7bd,_0x42efb2:0x143},_0x47e2c8={_0x540a9f:0x30a};function _0x1adb27(_0x1585ba,_0x468fb0,_0x52e7b7,_0xc96e0d){return _0x5ef644(_0x1585ba,_0x468fb0-0x46,_0x468fb0-_0x47e2c8._0x540a9f,_0xc96e0d-0x13e);}function _0x50e65a(_0xa2aa83,_0x4c0212,_0x53b257,_0x2bcec8){return _0x5ef644(_0x53b257,_0x4c0212-0x129,_0x4c0212-_0x19b150._0x5061c8,_0x2bcec8-_0x19b150._0x42efb2);}const _0xfb7121=_0x57f925[_0x50e65a(0x6e2,_0x193e73._0x45192c,_0x193e73._0x17c616,0x692)](_0x391c74[_0x50e65a(_0x193e73._0x4e443b,0x7e0,_0x193e73._0x21c7fb,_0x193e73._0x1db145)]);return createToolOutput(_0x50e65a(_0x193e73._0x4f3b7c,_0x193e73._0x4977a1,0x654,0x80d)+_0x391c74[_0x1adb27(_0x193e73._0x6e58a7,0x32d,0x2f7,_0x193e73._0x27231d)]+_0x50e65a(_0x193e73._0x16fc1d,_0x193e73._0x439f26,0x7b2,_0x193e73._0x4b1668)+_0xfb7121[_0x1adb27(0x6b,_0x193e73._0x1839a4,_0x193e73._0x4de054,0xdf)]+').',{'shellId':_0x391c74['shellId'],'status':_0xfb7121[_0x1adb27(0x1a7,0x166,0x16e,0xea)],'exitCode':_0xfb7121[_0x1adb27(0x36b,_0x193e73._0x4b59de,_0x193e73._0x38faf0,0x281)],'signal':_0xfb7121[_0x50e65a(0x7a0,_0x193e73._0x217651,_0x193e73._0x38eca9,_0x193e73._0x4113bb)]});}});}import{readdir as _0x541d19,readFile as _0x2e7044,stat as _0x3b5142}from'fs/promises';import*as _0x42b099 from'path';import*as _0x237b9f from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x3de631,_0x141e8a){const _0x4a6fa5={_0x4e6b6b:0x212,_0x522c66:0x24,_0x2b4401:0x180,_0x525f69:0x28f,_0x24b316:0xa0,_0x31f3a5:0x41,_0x266d5d:0x2df,_0x5ca0ba:0x1a3,_0x20b7d4:0x17c,_0xde7f30:0x24c,_0x3b38e0:0x184},_0x5d5c5c={_0x383ba4:0x8d},_0x24263c={_0x5e9ef4:0x109,_0x59d1ca:0x198};function _0x3828f3(_0x124633,_0x57ce11,_0x2584f9,_0x141a8c){return _0x3342ed(_0x124633-_0x24263c._0x5e9ef4,_0x2584f9,_0x57ce11- -0x272,_0x141a8c-_0x24263c._0x59d1ca);}function _0x8e99cd(_0x25d04e,_0x353fbc,_0xf3d3b1,_0x2655fa){return _0x257320(_0x25d04e-_0x5d5c5c._0x383ba4,_0x353fbc-0x67,_0xf3d3b1- -0x3ae,_0x2655fa);}if(_0x141e8a>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x5772fb=await _0x2e7044(_0x3de631)[_0x8e99cd(_0x4a6fa5._0x4e6b6b,_0x4a6fa5._0x522c66,_0x4a6fa5._0x2b4401,_0x4a6fa5._0x525f69)](()=>null);if(!_0x5772fb||isProbablyBinary(_0x5772fb))return void 0x0;return _0x5772fb[_0x8e99cd(-_0x4a6fa5._0x24b316,-0x3c,-_0x4a6fa5._0x31f3a5,-0x59)](_0x3828f3(_0x4a6fa5._0x266d5d,0x246,_0x4a6fa5._0x5ca0ba,0x302))[_0x3828f3(0x2df,0x26b,0x12e,_0x4a6fa5._0x20b7d4)](/\r?\n/)[_0x8e99cd(_0x4a6fa5._0xde7f30,0x218,0x173,_0x4a6fa5._0x3b38e0)];}function createLsTool(_0x17ddf6={}){const _0x2bbc79={_0x5d9d39:0x2a1,_0x29aa6a:0x1a2,_0x5d9601:0x42,_0x2f6613:0x4b,_0x555c12:0x113,_0x182a9e:0x11a,_0x142f85:0x11f,_0x54acb2:0xe2,_0x1b068e:0x1af,_0x1bd919:0x2e0,_0x2f5546:0x1e2,_0x438d84:0x25e,_0xbc9d14:0x63,_0x20807d:0x123,_0x444d62:0x193,_0x180a1b:0x141,_0x30dfbe:0x94},_0x42f96d={_0x4f6f56:0x284,_0x5e59a0:0x1df,_0xabff8c:0x91,_0xafd864:0x1fb,_0x3a2265:0x345,_0x50e3ff:0x335,_0x21a519:0x1fd,_0xcb6ffd:0x53,_0x249264:0x17,_0x72b3a9:0x231,_0x5e3af1:0x2bd,_0xb9b983:0x173,_0x59f017:0x16d,_0x27fb93:0x27c,_0x57f8a8:0x12,_0xf88c88:0x28,_0x1cc50f:0x49a,_0x18bbca:0x3e9,_0x5b561a:0x401,_0x46bbb6:0x27e,_0x4f2a7d:0x3d7,_0x5dee0d:0x306,_0x18ed8d:0x446,_0x44ab65:0x26e,_0x4cb7cc:0x2ec,_0x4fbcfd:0x5d,_0x10c7a0:0x12f,_0x11dd6b:0x271,_0x2a8a93:0x3a2,_0x5bceb0:0x422,_0x55537a:0x398,_0x6e0661:0x24c,_0x2c4a42:0x25e,_0x1a5189:0x126},_0x1b32f7={_0x1bb41e:0x3d2,_0x57b683:0x5e},_0x23e139={_0x4ddca2:0x26e,_0x4e42d8:0xd9},_0x2149dc={_0xadaa33:0x1db},_0xa965b={_0x58ec64:0x4ff},_0x362889=_0x42b099[_0x2bf421(-_0x2bbc79._0x5d9d39,-_0x2bbc79._0x29aa6a,-0x293,-0x51)](_0x17ddf6[_0x1c26a5(-0xf8,_0x2bbc79._0x5d9601,_0x2bbc79._0x2f6613,-_0x2bbc79._0x555c12)]??process[_0x2bf421(-0x16f,-_0x2bbc79._0x182a9e,-0x16b,-_0x2bbc79._0x142f85)]()),_0x3fe6c3=(_0x17ddf6[_0x1c26a5(-0x1d9,-_0x2bbc79._0x54acb2,-_0x2bbc79._0x1b068e,-0x175)]??[])[_0x2bf421(-_0x2bbc79._0x1bd919,-_0x2bbc79._0x2f5546,-_0x2bbc79._0x438d84,-0x1a8)](_0x2fb4b9=>_0x42b099[_0x1c26a5(-0x2e,-0x6c,-0xea,0x36)](_0x2fb4b9));function _0x2bf421(_0x5a0bd5,_0x24dc1e,_0x138b2f,_0x509e53){return _0x257320(_0x5a0bd5-0x30,_0x24dc1e-0x92,_0x24dc1e- -_0xa965b._0x58ec64,_0x5a0bd5);}function _0x1c26a5(_0x2934d9,_0x1f5a0f,_0x4ddc8a,_0x23d3b6){return _0x257320(_0x2934d9-0x136,_0x1f5a0f-_0x2149dc._0xadaa33,_0x1f5a0f- -0x3c9,_0x23d3b6);}const _0x118713=_0x17ddf6['name']??'Ls';return defineTool({'name':_0x118713,'description':_0x1c26a5(-_0x2bbc79._0xbc9d14,-0xd4,-0x15e,-_0x2bbc79._0x20807d),'inputSchema':{'type':'object','properties':{'path':{'type':'string'},'limit':{'type':_0x2bf421(-_0x2bbc79._0x444d62,-_0x2bbc79._0x180a1b,-_0x2bbc79._0x30dfbe,-0x244)}}},async *'execute'(_0x3a1767){function _0x2f8043(_0x2dc55d,_0x3f4038,_0x1fde31,_0x5c682d){return _0x2bf421(_0x1fde31,_0x2dc55d-_0x23e139._0x4ddca2,_0x1fde31-_0x23e139._0x4e42d8,_0x5c682d-0x172);}const _0x2f6882=_0x3a1767[_0x273e04(0x2f8,0x441,_0x42f96d._0x4f6f56,0x40b)]??'.',_0xfb28=resolveAllowedPath(_0x362889,_0x3fe6c3,_0x2f6882),_0x3f22ae=await _0x3b5142(_0xfb28)['catch'](()=>null);if(!_0x3f22ae?.[_0x2f8043(_0x42f96d._0x5e59a0,_0x42f96d._0xabff8c,0x2ea,0x127)]())throw new ToolExecutionError(_0x2f8043(_0x42f96d._0xafd864,0x10b,_0x42f96d._0x3a2265,0x30f)+_0x2f6882,{'path':_0x2f6882});const _0x4745da=_0x3a1767['limit']??0x3e8,_0x3bc6e6=Math[_0x273e04(0x339,_0x42f96d._0x50e3ff,0x3d4,_0x42f96d._0x21a519)](Math[_0x2f8043(_0x42f96d._0xcb6ffd,0x17d,-_0x42f96d._0x249264,-0xcf)](Math['trunc'](_0x4745da),0x1),0x2710),_0x3c1a30=await _0x541d19(_0xfb28),_0x421c1d=[];for(const _0x238cea of _0x3c1a30['slice'](0x0,_0x3bc6e6)){const _0x26fb65=_0x42b099[_0x2f8043(_0x42f96d._0x72b3a9,_0x42f96d._0x5e3af1,_0x42f96d._0xb9b983,0x2b5)](_0xfb28,_0x238cea),_0x9d30dd=await _0x3b5142(_0x26fb65)['catch'](()=>null);if(!_0x9d30dd)continue;let _0x42ed0a=_0x2f8043(0x21c,_0x42f96d._0x59f017,_0x42f96d._0x27fb93,0x121);if(_0x9d30dd['isFile']())_0x42ed0a=_0x2f8043(_0x42f96d._0x57f8a8,0x16f,_0x42f96d._0xf88c88,0x18);else{if(_0x9d30dd[_0x273e04(0x343,0x37d,0x3db,_0x42f96d._0x1cc50f)]())_0x42ed0a='directory';else{if(_0x9d30dd['isSymbolicLink']())_0x42ed0a=_0x2f8043(0x28c,_0x42f96d._0x18bbca,_0x42f96d._0x5b561a,0x2d6);}}const _0x3db875={'name':_0x238cea,'type':_0x42ed0a,'size':_0x9d30dd[_0x273e04(0x3d2,_0x42f96d._0x46bbb6,0x280,_0x42f96d._0x4f2a7d)],'mtime':_0x9d30dd[_0x273e04(0x3c8,_0x42f96d._0x5dee0d,_0x42f96d._0x18ed8d,0x2dc)],'mode':_0x9d30dd['mode']},_0x2a3ceb=_0x42ed0a==='file'?await countTextLines(_0x26fb65,_0x9d30dd[_0x2f8043(_0x42f96d._0x44ab65,0x3d1,_0x42f96d._0x4cb7cc,0x1ca)]):void 0x0;if(_0x2a3ceb!==void 0x0)_0x3db875['lines']=_0x2a3ceb;_0x421c1d[_0x2f8043(0xda,_0x42f96d._0x4fbcfd,_0x42f96d._0x10c7a0,-0x2e)](_0x3db875);}function _0x273e04(_0x4b04b8,_0x477b68,_0x451c41,_0x48e63e){return _0x2bf421(_0x451c41,_0x4b04b8-_0x1b32f7._0x1bb41e,_0x451c41-_0x1b32f7._0x57b683,_0x48e63e-0x124);}_0x421c1d[_0x2f8043(0x16b,0x22d,0x213,_0x42f96d._0x11dd6b)]((_0x27d509,_0x236ebd)=>_0x27d509[_0x2f8043(0x9b,0xf4,0x169,-0x8d)][_0x273e04(0x3a8,0x51f,0x263,0x336)](_0x236ebd[_0x273e04(0x1ff,0x1e1,0x174,0x226)]));const _0x2a05d3={'path':_0x2f6882,'total':_0x421c1d['length'],'truncated':_0x3c1a30[_0x273e04(0x3f4,0x547,_0x42f96d._0x2a8a93,_0x42f96d._0x5bceb0)]>_0x3bc6e6,'entries':_0x421c1d};return yield createToolOutput(_0x237b9f[_0x273e04(0x2d2,0x160,0x432,_0x42f96d._0x55537a)](_0x2a05d3,{'indent':0x2,'lineWidth':0x0})[_0x2f8043(_0x42f96d._0x6e0661,_0x42f96d._0x2c4a42,0x389,_0x42f96d._0x1a5189)](),{'path':_0x2f6882,'total':_0x421c1d['length'],'truncated':_0x3c1a30['length']>_0x3bc6e6,'limit':_0x3bc6e6,'entries':_0x421c1d}),void 0x0;}});}import{stat as _0x2d8392}from'fs/promises';import _0x49e6d7 from'path';import{fileURLToPath as _0x5a2085}from'url';function severityName(_0x343629){const _0x7a19cf={_0x4be0c5:0x295,_0x562307:0x159,_0x51f24c:0x1e,_0x25a3a3:0x29,_0x5f2084:0x37,_0x503582:0x10f,_0x20446c:0x244,_0x2dbd3c:0x2a0,_0xd97ea2:0x11c,_0x3975fe:0x133},_0x3aeca1={_0x1c5c8e:0x62,_0x6b781a:0x18a,_0x128635:0x48d};function _0xbe3fbf(_0x254378,_0x1c7493,_0x361da3,_0x1cd19b){return _0x257320(_0x254378-_0x3aeca1._0x1c5c8e,_0x1c7493-_0x3aeca1._0x6b781a,_0x361da3- -_0x3aeca1._0x128635,_0x1cd19b);}function _0x3582a2(_0x5b25af,_0x5ab132,_0xb97dfa,_0x528d45){return _0x257320(_0x5b25af-0x13d,_0x5ab132-0x1c2,_0x5b25af- -0x245,_0x528d45);}switch(_0x343629){case 0x1:return _0x3582a2(0x26e,_0x7a19cf._0x4be0c5,0x313,0x17e);case 0x2:return _0xbe3fbf(-_0x7a19cf._0x562307,0xa9,_0x7a19cf._0x51f24c,_0x7a19cf._0x25a3a3);case 0x3:return _0xbe3fbf(-_0x7a19cf._0x5f2084,0x1b,-_0x7a19cf._0x503582,-0x2a);case 0x4:return _0x3582a2(_0x7a19cf._0x20446c,_0x7a19cf._0x2dbd3c,_0x7a19cf._0xd97ea2,_0x7a19cf._0x3975fe);default:return'Diagnostic';}}function formatSingleHover(_0x1613ae){const _0x2df000={_0x109e7d:0x136,_0x645dc3:0x50,_0x135f08:0xc6,_0x4b5858:0x232,_0xd83255:0x276,_0x1496bd:0xe0,_0x1ba4ec:0x20b,_0x30fb8e:0x22e,_0xefe7d4:0xcc,_0x5bf806:0x13c,_0xbdd5ef:0xa6,_0x6f72d:0x85,_0x130276:0x125,_0x4e3477:0x287,_0xbd031b:0x11b,_0x297864:0x84,_0x244de7:0xe6,_0xd1ebfb:0x5b,_0x2c0060:0xb4,_0x53a4bc:0x8d,_0x5b622d:0x121,_0x2eeac6:0x265},_0x24c9d2={_0x5474d2:0x356,_0x13b22d:0x1c4},_0x5cc3da={_0x302b24:0x18a,_0x5a861a:0x79};function _0x20a9ba(_0x203bd8,_0x32fdd5,_0x91b2b7,_0x556108){return _0x257320(_0x203bd8-_0x5cc3da._0x302b24,_0x32fdd5-_0x5cc3da._0x5a861a,_0x32fdd5- -0xf9,_0x91b2b7);}const _0x463a3d=_0x1613ae['contents'];if(typeof _0x463a3d===_0x1b56f4(0x14f,_0x2df000._0x109e7d,0x21e,_0x2df000._0x645dc3))return _0x463a3d;if(Array[_0x1b56f4(-_0x2df000._0x135f08,-0x28,-0x5,0x45)](_0x463a3d))return _0x463a3d['map'](_0x49b71b=>typeof _0x49b71b===_0x20a9ba(0x43f,0x41f,0x57c,0x3cd)?_0x49b71b:_0x49b71b[_0x1b56f4(-0x4d,-0x84,-0x136,0x15)])[_0x20a9ba(_0x2df000._0x4b5858,_0x2df000._0xd83255,0x3dd,0x3ee)](Boolean)[_0x1b56f4(-0x52,_0x2df000._0x1496bd,_0x2df000._0x1ba4ec,_0x2df000._0x30fb8e)]('\x0a\x0a');function _0x1b56f4(_0x169cf1,_0x9e9ae1,_0x340312,_0x38b292){return _0x3342ed(_0x169cf1-0x12c,_0x340312,_0x9e9ae1- -_0x24c9d2._0x5474d2,_0x38b292-_0x24c9d2._0x13b22d);}if('kind'in _0x463a3d)return _0x463a3d[_0x1b56f4(-0x1cf,-0x84,_0x2df000._0xefe7d4,-_0x2df000._0x5bf806)];return _0x463a3d[_0x1b56f4(_0x2df000._0xbdd5ef,-0x6c,-0xb8,0x6f)]?_0x1b56f4(_0x2df000._0x6f72d,_0x2df000._0x130276,_0x2df000._0x4e3477,0xc2)+_0x463a3d[_0x1b56f4(0x13,-0x6c,-0x105,-_0x2df000._0xbd031b)]+'\x0a'+_0x463a3d[_0x1b56f4(-0x19c,-_0x2df000._0x297864,0x44,-_0x2df000._0x244de7)]+_0x1b56f4(-_0x2df000._0xd1ebfb,-_0x2df000._0x2c0060,-_0x2df000._0x53a4bc,-_0x2df000._0x5b622d):_0x463a3d[_0x20a9ba(0x209,_0x2df000._0x2eeac6,0x32a,0x186)];}function formatHover(_0x56992c){const _0x5bcffa={_0x1da837:0x42e,_0x5bba11:0x4d6,_0x534adb:0x420,_0x3e2c6c:0xe1,_0x17bca4:0x174,_0x138b57:0xfc,_0x2f108a:0x207,_0x55294e:0x25b,_0x3cd1e1:0x2c,_0x2c0323:0x88},_0x1d5572={_0x130818:0x112,_0x2bf795:0xbe},_0x12683e={_0x5a2474:0x1a7};function _0x505bfa(_0x2bc994,_0x19fc08,_0x279806,_0x2d1cba){return _0x257320(_0x2bc994-0xc9,_0x19fc08-0x44,_0x19fc08- -_0x12683e._0x5a2474,_0x279806);}function _0x4596d0(_0x707384,_0x5c7680,_0xb946ff,_0x2a7f47){return _0x3342ed(_0x707384-_0x1d5572._0x130818,_0xb946ff,_0x707384- -0x2c2,_0x2a7f47-_0x1d5572._0x2bf795);}if(_0x56992c[_0x505bfa(_0x5bcffa._0x1da837,0x37a,_0x5bcffa._0x5bba11,0x245)]===0x0)return _0x505bfa(_0x5bcffa._0x534adb,0x324,0x3e5,0x2f9);return _0x56992c[_0x4596d0(-0x31,0xe2,-_0x5bcffa._0x3e2c6c,-_0x5bcffa._0x3e2c6c)](formatSingleHover)[_0x4596d0(_0x5bcffa._0x17bca4,_0x5bcffa._0x138b57,_0x5bcffa._0x2f108a,_0x5bcffa._0x55294e)](_0x4596d0(0x9b,_0x5bcffa._0x3cd1e1,0x16c,-_0x5bcffa._0x2c0323));}function locationPath(_0x7f45d1){const _0x43365c={_0x3a16ac:0x138,_0x38eed7:0x30c,_0x5f40e0:0x1c3},_0x2d625e={_0x1929b0:0x174,_0x328984:0x29},_0x1f36a9={_0x1b046e:0x10d,_0x13fe5e:0x2b2};function _0xdd4afd(_0x208727,_0x450791,_0x3fe9ee,_0x2fb780){return _0x257320(_0x208727-_0x1f36a9._0x1b046e,_0x450791-0x8,_0x208727- -_0x1f36a9._0x13fe5e,_0x450791);}if(!_0x7f45d1[_0xdd4afd(0x213,_0x43365c._0x3a16ac,_0x43365c._0x38eed7,0x357)](_0xdd4afd(_0x43365c._0x5f40e0,0x99,0x154,0x218)))return _0x7f45d1;function _0x3bd282(_0x37cd9a,_0x1a2b95,_0x22f5cf,_0x25857c){return _0x3342ed(_0x37cd9a-0x1e0,_0x1a2b95,_0x22f5cf-_0x2d625e._0x1929b0,_0x25857c-_0x2d625e._0x328984);}return _0x5a2085(_0x7f45d1);}function formatLocations(_0x3f31b9){const _0x1b5a98={_0x2004b9:0x14c,_0x374d3a:0x14c,_0x433b1f:0x263,_0xe72bc7:0x93,_0x14d0fb:0x1d1,_0x270099:0xbe,_0x4dcb4e:0x62,_0x46cfe5:0x240},_0x21d6d7={_0x358b9f:0x31,_0x3af87a:0x100,_0x42db9a:0x92,_0xc121ac:0xaa,_0x337cd5:0x63,_0x3a28bd:0x4f0,_0x5cea8c:0x567,_0x145a56:0x764,_0x9c0f7d:0x77a},_0x3cc347={_0x2d77ef:0x169,_0x41d0df:0x101},_0x17a696={_0x19b999:0x2a,_0x21286a:0x186},_0x343860={_0x426e5b:0x1be,_0x6f9094:0x341},_0x52e716={_0x464a9d:0x9b,_0x2242fd:0xc0};function _0x37e7b2(_0x5ccbc1,_0x4607b6,_0xda7694,_0x2ab26c){return _0x3342ed(_0x5ccbc1-_0x52e716._0x464a9d,_0xda7694,_0x2ab26c- -0x2f3,_0x2ab26c-_0x52e716._0x2242fd);}function _0x357b55(_0x131d4d,_0x5ec658,_0x1f3286,_0x53a77b){return _0x257320(_0x131d4d-0xac,_0x5ec658-_0x343860._0x426e5b,_0x53a77b- -_0x343860._0x6f9094,_0x1f3286);}if(_0x3f31b9[_0x357b55(_0x1b5a98._0x2004b9,_0x1b5a98._0x374d3a,_0x1b5a98._0x433b1f,0x1e0)]===0x0)return'No\x20locations\x20found';return _0x3f31b9[_0x37e7b2(_0x1b5a98._0xe72bc7,-_0x1b5a98._0x14d0fb,-_0x1b5a98._0x270099,-_0x1b5a98._0x4dcb4e)](_0x5b7332=>{function _0x52c574(_0x128134,_0x36a9ce,_0x21664e,_0x5eed2a){return _0x37e7b2(_0x128134-_0x17a696._0x19b999,_0x36a9ce-_0x17a696._0x21286a,_0x128134,_0x36a9ce-0x4cf);}const _0x4f3c64=_0x5b7332[_0x301ca3(0x56,-_0x21d6d7._0x358b9f,_0x21d6d7._0x3af87a,-_0x21d6d7._0x42db9a)]['start'];function _0x301ca3(_0x4f8635,_0x14862c,_0x4cd781,_0x36d0b5){return _0x357b55(_0x4f8635-0xea,_0x14862c-_0x3cc347._0x2d77ef,_0x4cd781,_0x4f8635- -_0x3cc347._0x41d0df);}return locationPath(_0x5b7332[_0x301ca3(0x48,_0x21d6d7._0xc121ac,_0x21d6d7._0x337cd5,-0xaf)])+':'+(_0x4f3c64[_0x52c574(_0x21d6d7._0x3a28bd,0x58b,0x4c2,0x6dc)]+0x1)+':'+(_0x4f3c64[_0x52c574(_0x21d6d7._0x5cea8c,0x67a,_0x21d6d7._0x145a56,_0x21d6d7._0x9c0f7d)]+0x1);})[_0x357b55(0x294,0x101,_0x1b5a98._0x46cfe5,0x181)]('\x0a');}function isDocumentSymbol(_0x2ac10f){const _0xd20c2f={_0x56c4d3:0x126,_0x1c471a:0x596,_0x4f50a8:0x6d6,_0x1dca9f:0x591},_0x35161a={_0x47cde2:0x121,_0x465d14:0x1af},_0xd8cd51={_0xb413c3:0x282,_0x12c6ab:0x1a2};function _0x5a62a3(_0x2c5839,_0x35c508,_0x1f4252,_0x1c75d2){return _0x3342ed(_0x2c5839-0xe2,_0x2c5839,_0x1f4252-_0xd8cd51._0xb413c3,_0x1c75d2-_0xd8cd51._0x12c6ab);}function _0x56b914(_0x573709,_0x987dea,_0x2fe341,_0x343e86){return _0x3342ed(_0x573709-_0x35161a._0x47cde2,_0x987dea,_0x343e86- -_0x35161a._0x465d14,_0x343e86-0x170);}return _0x56b914(0x345,0x3b6,_0xd20c2f._0x56c4d3,0x25d)in _0x2ac10f&&_0x5a62a3(_0xd20c2f._0x1c471a,_0xd20c2f._0x4f50a8,_0xd20c2f._0x1dca9f,0x549)in _0x2ac10f;}function formatSymbols(_0x85090d){const _0xe7df5d={_0x4822a2:0x5cc,_0x3ca2e8:0x504,_0x1c4736:0x353,_0x34679c:0x2ee,_0x50979d:0x4f0},_0x160ee6={_0xa2ae23:0x675,_0x50802a:0x642,_0xd5d0d0:0x566,_0x402b54:0xc7,_0x250d1a:0xf,_0x1c9387:0x12b,_0xa26f24:0x5a0,_0x25304f:0x672,_0xb372e2:0x5f3,_0x30d49a:0x551,_0x330402:0x6df,_0x43e98a:0x6dc,_0x446b8b:0x40,_0x4a21d7:0xd7,_0x30c527:0x1e,_0x27def6:0x4d4,_0x1c391d:0x4e6,_0x56eb3d:0x59b,_0x458ce6:0x637,_0x228cf2:0x802,_0x307e4e:0x5fa,_0x31125e:0x52d,_0x57d589:0x675,_0xdb7b12:0x4e,_0x57d815:0x2b,_0x412011:0x103,_0x3cce1c:0x1cd},_0x1448f9={_0x2dda5d:0x10f,_0x3a4ecc:0x1ff,_0x2b6295:0xf1},_0x5be8c6={_0x1835c2:0x177},_0x5b38e5={_0x9a0f9d:0x2f};if(_0x85090d['length']===0x0)return _0x2370e8(_0xe7df5d._0x4822a2,0x48e,0x5ad,_0xe7df5d._0x3ca2e8);function _0x5a6e29(_0x4b5d7f,_0x159b9c,_0x4022c5,_0x2f360e){return _0x257320(_0x4b5d7f-0x1f1,_0x159b9c-0x1db,_0x159b9c- -_0x5b38e5._0x9a0f9d,_0x4022c5);}function _0x2370e8(_0xebd940,_0x221c90,_0x42bdb2,_0x3398e8){return _0x257320(_0xebd940-0x1c1,_0x221c90-_0x5be8c6._0x1835c2,_0x221c90-0x3b,_0x42bdb2);}return _0x85090d[_0x5a6e29(_0xe7df5d._0x1c4736,_0xe7df5d._0x34679c,0x363,0x295)](_0x24e623=>{const _0x16b5c6={_0x445fce:0xe7};function _0x38a015(_0x217792,_0x182399,_0x2aa043,_0x1e7d6d){return _0x5a6e29(_0x217792-_0x16b5c6._0x445fce,_0x217792- -0x41b,_0x1e7d6d,_0x1e7d6d-0xd8);}function _0xa2ffe1(_0x45c1b6,_0x46cbdb,_0x2b6f77,_0x37d4f6){return _0x2370e8(_0x45c1b6-_0x1448f9._0x2dda5d,_0x37d4f6-_0x1448f9._0x3a4ecc,_0x45c1b6,_0x37d4f6-_0x1448f9._0x2b6295);}if(isDocumentSymbol(_0x24e623))return _0x24e623[_0xa2ffe1(_0x160ee6._0xa2ae23,0x5d9,_0x160ee6._0x50802a,_0x160ee6._0xd5d0d0)]+'\x20('+_0x24e623['kind']+')\x20['+(_0x24e623[_0x38a015(0x4e,-_0x160ee6._0x402b54,0x187,0x8b)]['start'][_0x38a015(-_0x160ee6._0x250d1a,-_0x160ee6._0x1c9387,0x153,0x14c)]+0x1)+':'+(_0x24e623['range'][_0xa2ffe1(_0x160ee6._0xa26f24,0x766,0x7ce,_0x160ee6._0x25304f)]['character']+0x1)+']';return _0x24e623[_0xa2ffe1(0x545,0x640,_0x160ee6._0xb372e2,0x566)]+'\x20('+_0x24e623['kind']+')\x20'+locationPath(_0x24e623[_0xa2ffe1(_0x160ee6._0x30d49a,_0x160ee6._0x330402,_0x160ee6._0x43e98a,0x59b)][_0x38a015(_0x160ee6._0x446b8b,0x163,-_0x160ee6._0x4a21d7,-_0x160ee6._0x30c527)])+':'+(_0x24e623[_0xa2ffe1(_0x160ee6._0x27def6,_0x160ee6._0x1c391d,0x681,_0x160ee6._0x56eb3d)][_0xa2ffe1(_0x160ee6._0x458ce6,_0x160ee6._0x228cf2,_0x160ee6._0x307e4e,0x6d2)][_0xa2ffe1(_0x160ee6._0x31125e,0x776,0x67c,0x672)][_0xa2ffe1(0x648,_0x160ee6._0x50802a,0x582,_0x160ee6._0x57d589)]+0x1)+':'+(_0x24e623[_0x38a015(-0xe9,0x26,-0x105,-0x229)][_0x38a015(_0x160ee6._0xdb7b12,_0x160ee6._0x57d815,0x1bd,-_0x160ee6._0x412011)]['start'][_0x38a015(0xe0,_0x160ee6._0x3cce1c,0x128,0x38)]+0x1);})[_0x2370e8(_0xe7df5d._0x50979d,0x4fd,0x60e,0x637)]('\x0a');}function formatDiagnostics(_0x290076){const _0x4b1fb8={_0x288e4f:0x3bd,_0x154e04:0x51e,_0x807aa5:0x271,_0x3219e3:0x15e,_0x3b7eb0:0x2bc,_0x4c4816:0x302,_0x5a347f:0x343,_0x405aa1:0x2a3},_0x539d3e={_0x45bf18:0x381,_0x402e14:0x56e,_0x2c1322:0x6f8,_0x4896c9:0x6a7,_0x215a03:0x6ca},_0x422dba={_0x362e0d:0x39},_0xccad01={_0x63575c:0xd8};function _0x45ebad(_0x276dd7,_0x1e7031,_0x41e98b,_0x33012d){return _0x3342ed(_0x276dd7-0x9a,_0x1e7031,_0x276dd7- -_0xccad01._0x63575c,_0x33012d-0x196);}function _0x45780d(_0x26fcb7,_0x5c2153,_0x14b472,_0x1958f4){return _0x257320(_0x26fcb7-_0x422dba._0x362e0d,_0x5c2153-0x6d,_0x26fcb7- -0x9a,_0x1958f4);}if(_0x290076[_0x45ebad(_0x4b1fb8._0x288e4f,0x2e3,0x40f,_0x4b1fb8._0x154e04)]===0x0)return _0x45780d(0x2ae,0x213,_0x4b1fb8._0x807aa5,_0x4b1fb8._0x3219e3);return _0x290076[_0x45ebad(0x1b9,0x120,_0x4b1fb8._0x3b7eb0,_0x4b1fb8._0x4c4816)](_0x25e3c8=>{const _0x533c2f={_0x29838c:0x136,_0x46ee34:0x3c};function _0x3020af(_0x1b2d7d,_0x410fb2,_0xb6cbf5,_0x5aa3b9){return _0x45780d(_0x1b2d7d-0xa,_0x410fb2-0x199,_0xb6cbf5-0xff,_0x5aa3b9);}const _0x2a1e0d=_0x25e3c8[_0x3020af(0x408,_0x539d3e._0x45bf18,_0x539d3e._0x402e14,0x2b0)][_0x16b5a3(0x636,0x57a,0x5b5,0x43d)];function _0x16b5a3(_0x5c93bf,_0x694f67,_0x161153,_0x4eea34){return _0x45780d(_0x694f67-0x1dc,_0x694f67-_0x533c2f._0x29838c,_0x161153-_0x533c2f._0x46ee34,_0x161153);}return severityName(_0x25e3c8['severity'])+'\x20['+(_0x2a1e0d['line']+0x1)+':'+(_0x2a1e0d[_0x16b5a3(0x757,0x66c,0x79c,0x50d)]+0x1)+']\x20'+_0x25e3c8[_0x16b5a3(_0x539d3e._0x2c1322,_0x539d3e._0x4896c9,_0x539d3e._0x215a03,0x704)];})[_0x45ebad(0x35e,0x2da,_0x4b1fb8._0x5a347f,_0x4b1fb8._0x405aa1)]('\x0a');}function formatIncomingCalls(_0x1df1de){const _0x40fde0={_0x5ad79b:0x6b0,_0x3aa514:0x683,_0x4832da:0x42,_0x3cc2cd:0x229,_0x538990:0x1b3,_0x29e796:0x31c,_0x426f1a:0x3f8,_0xd61eaf:0x129},_0x4c5c45={_0x78fdc8:0x220},_0xaa36d2={_0xb58382:0x1f};function _0x37412c(_0x36d38d,_0xc12b62,_0x1ca923,_0x464845){return _0x257320(_0x36d38d-_0xaa36d2._0xb58382,_0xc12b62-0xe7,_0x1ca923-0xc3,_0x464845);}if(_0x1df1de[_0x37412c(_0x40fde0._0x5ad79b,0x5f1,0x5e4,_0x40fde0._0x3aa514)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x325e86(_0x5f0c03,_0x440714,_0x3ab57a,_0x423668){return _0x257320(_0x5f0c03-0xe0,_0x440714-0x15d,_0x440714- -_0x4c5c45._0x78fdc8,_0x3ab57a);}return _0x1df1de[_0x325e86(-_0x40fde0._0x4832da,0xfd,_0x40fde0._0x3cc2cd,_0x40fde0._0x538990)](_0x3f8ccd=>_0x3f8ccd[_0x325e86(0x356,0x254,0x1ee,0x2da)][_0x325e86(0x143,0x10c,0x132,0x5a)])[_0x325e86(_0x40fde0._0x29e796,0x2a2,_0x40fde0._0x426f1a,_0x40fde0._0xd61eaf)]('\x0a');}function formatOutgoingCalls(_0x4ba54d){const _0x4517bf={_0x3332e8:0x1c,_0x24fb38:0xa3,_0x1d2530:0x1dd,_0x3a445c:0x15a,_0x52e1da:0xac,_0x54316b:0xda},_0x20d9e9={_0x32e7e8:0x124,_0x402594:0x265},_0x57bf93={_0x1cb5f2:0x18c,_0x310af4:0x1ac,_0x49a8f7:0x416};function _0xd5061f(_0x5939d7,_0x5b583f,_0x36a489,_0x186354){return _0x257320(_0x5939d7-_0x57bf93._0x1cb5f2,_0x5b583f-_0x57bf93._0x310af4,_0x5b583f- -_0x57bf93._0x49a8f7,_0x186354);}function _0x41d239(_0x359772,_0x4d49ac,_0xbfa4b4,_0x3dffa9){return _0x257320(_0x359772-_0x20d9e9._0x32e7e8,_0x4d49ac-0x45,_0x4d49ac- -_0x20d9e9._0x402594,_0x3dffa9);}if(_0x4ba54d['length']===0x0)return _0xd5061f(_0x4517bf._0x3332e8,0xad,_0x4517bf._0x24fb38,0x150);return _0x4ba54d[_0x41d239(-0xa2,0xb8,_0x4517bf._0x1d2530,_0x4517bf._0x3a445c)](_0x2d8299=>_0x2d8299['to']['name'])[_0xd5061f(0x191,_0x4517bf._0x52e1da,_0x4517bf._0x54316b,0x117)]('\x0a');}function toStructured(_0x2ce2fa){const _0x20bdd0={_0x5bc715:0x6f3,_0x5a3559:0x6f9},_0x19bd2a={_0x1efca7:0x1e7,_0x5f4691:0xb2,_0x15dcc8:0x263};function _0x3943cd(_0x139951,_0x2f5008,_0x16067d,_0x4f043a){return _0x257320(_0x139951-_0x19bd2a._0x1efca7,_0x2f5008-_0x19bd2a._0x5f4691,_0x16067d-_0x19bd2a._0x15dcc8,_0x4f043a);}return JSON[_0x3943cd(0x798,_0x20bdd0._0x5bc715,_0x20bdd0._0x5a3559,0x5dd)](JSON['stringify'](_0x2ce2fa));}async function assertFile(_0x9e38c5){const _0x9c81ac={_0x4e0da0:0x1e0},_0xaa9f42={_0xc1d3ae:0x32};function _0x4e0469(_0x3334c3,_0x25f7dd,_0x10b8a2,_0x59f587){return _0x3342ed(_0x3334c3-_0xaa9f42._0xc1d3ae,_0x10b8a2,_0x25f7dd- -0x102,_0x59f587-0xeb);}const _0xb7e4eb=await _0x2d8392(_0x9e38c5);if(!_0xb7e4eb[_0x4e0469(0x179,_0x9c81ac._0x4e0da0,0x1a2,0x1e3)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x9e38c5,{'path':_0x9e38c5});}function validatePosition(_0x2f62c2,_0x3ca3ec){const _0x457f9c={_0x4bdfb6:0x23f,_0x4ad0f6:0x2d5,_0x5078d9:0x320,_0x145e70:0x1b6,_0x4a9a6d:0x4a5,_0x5a3716:0x560,_0x3b71a3:0x574,_0x50071c:0x61f},_0x4704e7={_0x5e2542:0x121,_0x4d1570:0x6b};function _0x405f7a(_0x55b4f7,_0x29ec52,_0x2b312e,_0x416963){return _0x3342ed(_0x55b4f7-_0x4704e7._0x5e2542,_0x416963,_0x2b312e-_0x4704e7._0x4d1570,_0x416963-0x19e);}if(!Number['isInteger'](_0x2f62c2)||_0x2f62c2<0x1)throw new ToolExecutionError(_0x405f7a(0x24f,0x3fe,0x35c,_0x457f9c._0x4bdfb6),{'line':_0x2f62c2});function _0x541505(_0x4b9702,_0x433242,_0xd908e3,_0x14f68f){return _0x257320(_0x4b9702-0x23,_0x433242-0x134,_0xd908e3-0x168,_0x433242);}if(!Number[_0x405f7a(_0x457f9c._0x4ad0f6,0x3e6,_0x457f9c._0x5078d9,_0x457f9c._0x145e70)](_0x3ca3ec)||_0x3ca3ec<0x1)throw new ToolExecutionError(_0x541505(_0x457f9c._0x4a9a6d,_0x457f9c._0x5a3716,_0x457f9c._0x3b71a3,_0x457f9c._0x50071c),{'character':_0x3ca3ec});}function createLspTool(_0x1ecd2={}){const _0x21f43f={_0x1cb61c:0xeb,_0x55c955:0x1ff,_0xcb98ad:0x16b,_0x215168:0x12d,_0x1efeb7:0xa3,_0x40bc82:0x7,_0x1c2e94:0x1bd,_0x55d891:0xb2,_0x4c26d0:0xc2,_0x30e20d:0x2d0,_0x6ed990:0x234,_0x15cf8c:0x199,_0x2fd793:0xf7,_0x401d2b:0x223,_0x2102f1:0x144,_0x5e6143:0x1bf,_0x303845:0x2e4,_0x38d61e:0x4a,_0x4c2c76:0x27b,_0x510a95:0x31b,_0x5ca398:0x34b,_0x4bd5f0:0x34a,_0x33598e:0x24a,_0x29afdd:0x141,_0x19bb75:0x40,_0xbe80e5:0x360,_0x438027:0x292,_0x5dbc7d:0x346,_0x2fd8e6:0x227,_0x559679:0x2d6,_0x57adcc:0x144,_0x424feb:0x213,_0xd5a098:0x99,_0xa198e9:0x1c,_0x3a1de8:0x3e6,_0x2908c4:0x2b3,_0x4e2c1d:0x275,_0x1644f3:0x13f,_0x3c33ef:0x107,_0x401d88:0x170,_0x4852a6:0x20f,_0x413a6f:0x2ce,_0x3335bb:0x362},_0x294b11={_0x514a57:0x566,_0x365957:0x27e,_0x5b8aa1:0x2d2,_0x8836cb:0x434,_0x256ae7:0x3a6,_0x1d81d3:0x460,_0x1d5d98:0x3a2,_0x22099e:0x4e2,_0x2503ea:0xf4,_0x2dc792:0x253,_0x59e0e6:0x356,_0x3173b1:0x637,_0x182d2f:0x4f8,_0x2c393e:0x4ec,_0x4c1bcf:0x207,_0x85d0dd:0x343,_0x1be352:0x4ac,_0x57eddf:0x539,_0x260429:0x3c6,_0x1e05e1:0x610,_0x342258:0x606,_0x251898:0x63f,_0x5544ae:0x166,_0x3b104b:0x19b,_0x1f2ce0:0x4cc,_0x18b590:0x198,_0x2c773d:0x406,_0x1548b7:0x68f,_0x4e5065:0x68c,_0x5c486f:0x53b,_0x183462:0x560,_0x1393e4:0x321,_0x4a60a2:0x4bd,_0x190cae:0x43c,_0x118110:0x1ae,_0x4f06b5:0xe8,_0x25148a:0x449,_0x4fd341:0x571,_0x50bf6f:0x4c0,_0x4c2cea:0x34,_0x42162a:0x398,_0x435846:0x245,_0x4b46c3:0x116,_0x7f3385:0x1d6,_0x286360:0x1ef,_0x1464d0:0x562,_0xa268e9:0x4d1,_0x212f2a:0x5e1,_0x10645d:0x4e9,_0x4c6888:0x2e4,_0x1497b6:0x350,_0x417d7a:0x4cc,_0x24d8d4:0x650},_0x2ef068={_0x91da55:0x1eb},_0x5d970c={_0x193cea:0xbd},_0x5cd631={_0x536812:0x153,_0xe60047:0x30,_0x114dad:0x27a};function _0x287b02(_0x4432f1,_0xb622f8,_0xbd9e38,_0x5cdaf1){return _0x257320(_0x4432f1-_0x5cd631._0x536812,_0xb622f8-_0x5cd631._0xe60047,_0x4432f1- -_0x5cd631._0x114dad,_0xbd9e38);}const _0x4bdeb4=_0x49e6d7[_0x879dfc(0x176,0x139,_0x21f43f._0x1cb61c,_0x21f43f._0x55c955)](_0x1ecd2['defaultCwd']??process[_0x287b02(_0x21f43f._0xcb98ad,0x59,_0x21f43f._0x215168,0x2df)]());function _0x879dfc(_0x518f2d,_0x3c39c0,_0x39385d,_0x494fad){return _0x257320(_0x518f2d-_0x5d970c._0x193cea,_0x3c39c0-0x17c,_0x3c39c0- -0x224,_0x494fad);}const _0xac7838=(_0x1ecd2['allowedDirs']??[])[_0x287b02(_0x21f43f._0x1efeb7,-_0x21f43f._0x40bc82,-0x8d,_0x21f43f._0x1c2e94)](_0x457cec=>_0x49e6d7[_0x287b02(0xe3,0xde,0xa0,0x198)](_0x457cec)),_0x4e0568=_0x1ecd2[_0x287b02(_0x21f43f._0x55d891,0x147,0x19d,-_0x21f43f._0x4c26d0)]??_0x879dfc(0x25a,_0x21f43f._0x30e20d,0x2b7,_0x21f43f._0x6ed990);return defineTool({'name':_0x4e0568,'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':'object','properties':{'operation':{'type':'string','enum':['goToDefinition',_0x287b02(_0x21f43f._0x15cf8c,_0x21f43f._0x2fd793,_0x21f43f._0x401d2b,0x27a),_0x879dfc(0x266,_0x21f43f._0x2102f1,0x37,_0x21f43f._0x5e6143),_0x287b02(0x190,_0x21f43f._0x303845,_0x21f43f._0x38d61e,0x1fa),_0x879dfc(_0x21f43f._0x4c2c76,_0x21f43f._0x510a95,_0x21f43f._0x5ca398,_0x21f43f._0x4bd5f0),_0x879dfc(_0x21f43f._0x33598e,0x114,_0x21f43f._0x29afdd,_0x21f43f._0x19bb75),_0x879dfc(0x3d3,_0x21f43f._0xbe80e5,_0x21f43f._0x438027,0x328),_0x879dfc(0x3ac,0x365,_0x21f43f._0x5dbc7d,0x214),'outgoingCalls','diagnostics']},'filePath':{'type':_0x287b02(0x29e,0x1aa,0x3a9,0x37a)},'line':{'type':_0x879dfc(_0x21f43f._0x2fd8e6,0x19a,0x2cc,_0x21f43f._0x559679)},'character':{'type':_0x287b02(_0x21f43f._0x57adcc,_0x21f43f._0x424feb,_0x21f43f._0xd5a098,_0x21f43f._0xa198e9)},'query':{'type':_0x879dfc(0x2e0,0x2f4,_0x21f43f._0x3a1de8,0x379)}},'required':[_0x287b02(0x1b7,0x296,_0x21f43f._0x2908c4,0x1e3),_0x879dfc(0x2ad,_0x21f43f._0x4e2c1d,_0x21f43f._0x1644f3,_0x21f43f._0x3c33ef),_0x879dfc(0x279,0x217,_0x21f43f._0x401d88,_0x21f43f._0x4852a6),_0x879dfc(0x3ee,0x306,_0x21f43f._0x413a6f,_0x21f43f._0x3335bb)]},async *'execute'(_0x76fbb8){const _0x3e565d={_0x43931f:0x2eb};function _0x4bd948(_0x21e11b,_0x3c5938,_0x536b92,_0x1d174c){return _0x879dfc(_0x21e11b-0xa5,_0x3c5938-_0x3e565d._0x43931f,_0x536b92-0x1d2,_0x1d174c);}const _0x3592c1=_0x1ecd2[_0x4bd948(0x5db,0x622,_0x294b11._0x514a57,0x71b)];if(!_0x3592c1)throw new ToolExecutionError(_0x6c9c86(_0x294b11._0x365957,_0x294b11._0x5b8aa1,_0x294b11._0x8836cb,_0x294b11._0x256ae7));function _0x6c9c86(_0x5302dd,_0x19cfa0,_0x709743,_0x42229e){return _0x287b02(_0x19cfa0-0x46,_0x19cfa0-0xa6,_0x42229e,_0x42229e-_0x2ef068._0x91da55);}if(!_0x3592c1[_0x4bd948(_0x294b11._0x1d81d3,_0x294b11._0x1d5d98,0x3a9,_0x294b11._0x22099e)]())throw new ToolExecutionError(_0x6c9c86(_0x294b11._0x2503ea,_0x294b11._0x2dc792,0x2ea,_0x294b11._0x59e0e6));const _0x12180d=_0x76fbb8[_0x4bd948(_0x294b11._0x3173b1,_0x294b11._0x182d2f,0x5e9,_0x294b11._0x2c393e)];validatePosition(_0x76fbb8[_0x6c9c86(0x178,_0x294b11._0x4c1bcf,0x125,_0x294b11._0x85d0dd)],_0x76fbb8['character']);if(_0x12180d==='workspaceSymbol'){if(!_0x76fbb8[_0x4bd948(_0x294b11._0x1be352,0x4bb,0x47b,_0x294b11._0x57eddf)]?.['trim']())throw new ToolExecutionError(_0x6c9c86(0x21e,0x26a,0x12d,_0x294b11._0x260429));const _0x23f62a=await _0x3592c1[_0x4bd948(_0x294b11._0x1e05e1,_0x294b11._0x342258,0x6e5,_0x294b11._0x251898)](_0x76fbb8['query'][_0x6c9c86(_0x294b11._0x5544ae,0x8f,_0x294b11._0x3b104b,-0x59)]());return yield createToolOutput(formatSymbols(_0x23f62a),{'operation':_0x12180d,'query':_0x76fbb8['query'],'symbols':_0x23f62a}),void 0x0;}const _0x377db0=resolveAllowedPath(_0x4bdeb4,_0xac7838,_0x76fbb8['filePath']);await assertFile(_0x377db0);if(!await _0x3592c1[_0x4bd948(0x32a,0x3ee,0x29e,_0x294b11._0x1f2ce0)](_0x377db0))throw new ToolExecutionError(_0x6c9c86(0x255,0x1f2,_0x294b11._0x18b590,0x22e)+_0x76fbb8[_0x4bd948(_0x294b11._0x2c773d,0x560,_0x294b11._0x1548b7,_0x294b11._0x4e5065)],{'filePath':_0x76fbb8[_0x4bd948(_0x294b11._0x5c486f,_0x294b11._0x183462,0x474,0x5c3)]});await _0x3592c1['touchFile'](_0x377db0,!![]);const _0xf4c5b1={'file':_0x377db0,'line':_0x76fbb8[_0x6c9c86(_0x294b11._0x1393e4,0x207,0x22b,0x1bf)]-0x1,'character':_0x76fbb8[_0x6c9c86(0x40f,0x2f6,0x3f3,0x350)]-0x1};switch(_0x12180d){case _0x4bd948(0x35f,0x42f,0x324,0x3db):{const _0x27490f=await _0x3592c1['hover'](_0xf4c5b1);return yield createToolOutput(formatHover(_0x27490f),{'operation':_0x12180d,'filePath':_0x377db0,'hover':_0x27490f}),void 0x0;}case _0x4bd948(0x4f0,_0x294b11._0x4a60a2,0x511,_0x294b11._0x190cae):{const _0x429c73=await _0x3592c1[_0x6c9c86(_0x294b11._0x118110,0xee,_0x294b11._0x4f06b5,-0x46)](_0x377db0);return yield createToolOutput(formatDiagnostics(_0x429c73),{'operation':_0x12180d,'filePath':_0x377db0,'diagnostics':_0x429c73}),void 0x0;}case _0x4bd948(_0x294b11._0x25148a,0x4cf,_0x294b11._0x4fd341,0x35c):{const _0x1ecbfe=await _0x3592c1['definition'](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x1ecbfe),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x1ecbfe}),void 0x0;}case _0x4bd948(0x5ac,0x4da,0x502,_0x294b11._0x50bf6f):{const _0x271e5f=await _0x3592c1['references'](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x271e5f),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x271e5f}),void 0x0;}case _0x6c9c86(0x19f,0x104,0x172,_0x294b11._0x4c2cea):{const _0x84f99=await _0x3592c1[_0x4bd948(0x37e,_0x294b11._0x42162a,_0x294b11._0x435846,0x30d)](_0xf4c5b1);return yield createToolOutput(formatLocations(_0x84f99),{'operation':_0x12180d,'filePath':_0x377db0,'locations':_0x84f99}),void 0x0;}case _0x6c9c86(_0x294b11._0x4b46c3,_0x294b11._0x7f3385,_0x294b11._0x286360,0x25c):{const _0x4b4996=await _0x3592c1[_0x4bd948(_0x294b11._0x1464d0,_0x294b11._0xa268e9,_0x294b11._0x212f2a,_0x294b11._0x10645d)](_0x377db0);return yield createToolOutput(formatSymbols(_0x4b4996),{'operation':_0x12180d,'filePath':_0x377db0,'symbols':_0x4b4996}),void 0x0;}case _0x6c9c86(_0x294b11._0x4c6888,_0x294b11._0x1497b6,0x459,0x3a6):{const _0x581095=await _0x3592c1['prepareCallHierarchy'](_0xf4c5b1);return yield createToolOutput(formatSymbols(_0x581095),{'operation':_0x12180d,'filePath':_0x377db0,'symbols':toStructured(_0x581095)}),void 0x0;}case _0x6c9c86(_0x294b11._0x417d7a,0x355,0x286,0x435):{const _0x2d8a5b=await _0x3592c1[_0x4bd948(0x504,_0x294b11._0x24d8d4,0x56a,_0x294b11._0x5c486f)](_0xf4c5b1);return yield createToolOutput(formatIncomingCalls(_0x2d8a5b),{'operation':_0x12180d,'filePath':_0x377db0,'calls':toStructured(_0x2d8a5b)}),void 0x0;}case'outgoingCalls':{const _0x22134b=await _0x3592c1['outgoingCalls'](_0xf4c5b1);return yield createToolOutput(formatOutgoingCalls(_0x22134b),{'operation':_0x12180d,'filePath':_0x377db0,'calls':toStructured(_0x22134b)}),void 0x0;}}}});}import{randomUUID as _0xea56d}from'crypto';import{mkdir as _0x4e0516,readFile as _0x2a17ea,writeFile as _0x3f5c78}from'fs/promises';import{join as _0x37c59e}from'path';function sanitizeStorageKey(_0x4de050){const _0x2330a0={_0x107484:0x483,_0x1e3669:0x578,_0x188d9f:0x47e,_0x3ee29e:0x15d},_0x9b9e17={_0x5de775:0x1df,_0x175a00:0xc3},_0xeeb0cf={_0x4c2a0a:0x129,_0x5863f1:0x10f};function _0x5a5228(_0x39ffc8,_0x2ba528,_0x4da765,_0x1f9553){return _0x257320(_0x39ffc8-0x135,_0x2ba528-_0xeeb0cf._0x4c2a0a,_0x39ffc8- -_0xeeb0cf._0x5863f1,_0x2ba528);}function _0x2a3078(_0x5ee666,_0x6b40cd,_0x2dc926,_0x583d48){return _0x3342ed(_0x5ee666-0x19b,_0x5ee666,_0x583d48-_0x9b9e17._0x5de775,_0x583d48-_0x9b9e17._0x175a00);}return _0x4de050[_0x5a5228(0x481,_0x2330a0._0x107484,_0x2330a0._0x1e3669,0x331)](/[^a-zA-Z0-9_]+/g,'_')[_0x5a5228(0x481,0x426,0x596,_0x2330a0._0x188d9f)](/^_+|_+$/g,'')||_0x5a5228(0x2c5,0x298,0x417,_0x2330a0._0x3ee29e);}function storagePath(_0x4e56b1){const _0x16ab53={_0x2dcc54:0x406,_0x3d28d5:0x57c,_0x3d4e1d:0x274,_0x29dcdd:0x223,_0x16b71c:0x461,_0x4edf2a:0x49d,_0xfe72dd:0x54,_0x404f54:0x52,_0x50fc20:0x3b3},_0x1b694f={_0x4d5ff8:0x120},_0x47cc55={_0x1521fe:0x1ad,_0x38b937:0x2f4};function _0x3388c8(_0xc32af6,_0x2d34a4,_0x204f5d,_0x586d95){return _0x257320(_0xc32af6-0x32,_0x2d34a4-_0x47cc55._0x1521fe,_0x586d95- -_0x47cc55._0x38b937,_0x204f5d);}function _0xd91af6(_0x44deed,_0x6c670b,_0x138084,_0x3677ed){return _0x3342ed(_0x44deed-_0x1b694f._0x4d5ff8,_0x6c670b,_0x44deed-0x9d,_0x3677ed-0x45);}const _0x1196a7=sanitizeStorageKey(_0x4e56b1[_0xd91af6(_0x16ab53._0x2dcc54,0x34c,0x415,0x410)][_0xd91af6(_0x16ab53._0x3d28d5,0x61e,0x51b,0x6ed)]?.[_0x3388c8(_0x16ab53._0x3d4e1d,0x343,0x208,_0x16ab53._0x29dcdd)]??_0x4e56b1[_0xd91af6(0x357,0x2df,_0x16ab53._0x16b71c,_0x16ab53._0x4edf2a)]);return _0x37c59e(_0x4e56b1[_0x3388c8(-_0x16ab53._0xfe72dd,0xb7,-_0x16ab53._0x404f54,0x8)],_0x1196a7+_0xd91af6(0x35d,_0x16ab53._0x50fc20,0x464,0x1e9));}async function readStore(_0x5f0035){const _0x39effb={_0x28795b:0x323,_0x43a0f5:0xe5,_0x42179e:0x64c,_0x41c2eb:0x6a1},_0x29ae50={_0x284c5a:0x51,_0x13271e:0x247},_0x15452a={_0x2a1236:0x19};function _0x6e8e21(_0x1d59db,_0x2941a8,_0x4f2cee,_0x5aba08){return _0x257320(_0x1d59db-0x113,_0x2941a8-_0x15452a._0x2a1236,_0x4f2cee- -0x2bb,_0x5aba08);}function _0x1bc864(_0x161ac6,_0x42bb88,_0x1d79de,_0x47dcf4){return _0x257320(_0x161ac6-0x187,_0x42bb88-_0x29ae50._0x284c5a,_0x42bb88-_0x29ae50._0x13271e,_0x161ac6);}try{return JSON['parse'](await _0x2a17ea(_0x5f0035,_0x6e8e21(_0x39effb._0x28795b,0x22e,0x289,0x172)));}catch(_0x39f4bb){if(_0x39f4bb instanceof Error&&_0x6e8e21(-0x10,_0x39effb._0x43a0f5,0x14a,0x1d5)in _0x39f4bb&&_0x39f4bb[_0x1bc864(0x6ec,_0x39effb._0x42179e,0x58c,0x6e8)]===_0x1bc864(0x7b6,0x7cd,0x7e6,_0x39effb._0x41c2eb))return{};throw _0x39f4bb;}}async function writeStore(_0x3aeec7,_0x1e0cfe){const _0x10554e={_0x4cf38a:0x1a3,_0x3db0a1:0x2f8},_0x4479c5={_0x1c7092:0x3b};function _0x3344c0(_0xd01101,_0x3235ff,_0x25b3a5,_0x50b5ca){return _0x3342ed(_0xd01101-0x1d3,_0x3235ff,_0x50b5ca- -0x1c0,_0x50b5ca-_0x4479c5._0x1c7092);}await _0x4e0516(_0x37c59e(_0x3aeec7,'..'),{'recursive':!![]}),await _0x3f5c78(_0x3aeec7,JSON['stringify'](_0x1e0cfe,null,0x2),_0x3344c0(0x35c,_0x10554e._0x4cf38a,0x337,_0x10554e._0x3db0a1));}async function updateStore(_0x213b7f,_0x43d0ae){const _0xd2fa02=await readStore(_0x213b7f);_0x43d0ae(_0xd2fa02),await writeStore(_0x213b7f,_0xd2fa02);}function createMcpOAuthProvider(_0x6e7c1f){const _0xb8fcf0={_0x5e9392:0x60b,_0xb50138:0x69a,_0x5b1398:0x84c,_0x2091e4:0x212,_0x428762:0x35a,_0x1b1300:0x49e,_0x41136c:0x3f9,_0x433e83:0x7c8,_0x2d1210:0x700,_0x276559:0x579,_0x20a49e:0x29b,_0x73b2f2:0x2e6,_0x48dda0:0x6dd,_0x10c4ee:0x5f5,_0x466924:0x7c1,_0x456738:0x754,_0x5448eb:0x3eb,_0x5a245c:0x462,_0x163475:0x4e0,_0x103ae6:0x3be,_0x3bdeb3:0x3a5,_0x279e62:0x3db,_0x1507bf:0x28a,_0x4674fa:0x382,_0x31ecf2:0x3cd,_0x2784d1:0x4de},_0x4b079e={_0x1dbbfb:0x367,_0x2da268:0x430},_0x4bdd39={_0x19645a:0x2b5,_0xd1fca5:0x3b4,_0x4a7698:0x2c7},_0x2eed8b={_0x4bc107:0x15,_0x33e901:0x120,_0x17be76:0xd2},_0x4b3024={_0xb5f822:0x1ab},_0x536c8c={_0x222999:0x44f,_0x3cfee5:0x33},_0x5899c5={_0x82a56a:0x516,_0x12a980:0x606,_0x481410:0x46c,_0xc4a420:0x41a},_0x371c3e={_0x220710:0x79},_0x1598d8={_0x5c42ee:0x176,_0x2c92a3:0x37c},_0x27d8fd={_0x564ca8:0x53},_0x5c4676={_0x170a68:0x112,_0x1d4151:0x72};function _0x4f755f(_0x13ec5a,_0x12403f,_0x255855,_0x85f4dd){return _0x3342ed(_0x13ec5a-_0x5c4676._0x170a68,_0x13ec5a,_0x12403f-_0x5c4676._0x1d4151,_0x85f4dd-0x55);}const _0x34cff3=storagePath(_0x6e7c1f),_0x5cda22=_0x6e7c1f[_0x5493e6(0x525,0x7a0,0x633,_0xb8fcf0._0x5e9392)][_0x5493e6(_0xb8fcf0._0xb50138,_0xb8fcf0._0x5b1398,0x7a9,0x895)]?.[_0x4f755f(_0xb8fcf0._0x2091e4,_0xb8fcf0._0x428762,_0xb8fcf0._0x1b1300,_0xb8fcf0._0x41136c)]?.[_0x5493e6(0x6d6,_0xb8fcf0._0x433e83,_0xb8fcf0._0x2d1210,0x68d)]('\x20'),_0x4167ce={'client_name':_0x5493e6(0x58c,0x5bb,_0xb8fcf0._0x276559,0x613),'redirect_uris':[_0x6e7c1f[_0x4f755f(0x2ba,_0xb8fcf0._0x20a49e,_0xb8fcf0._0x73b2f2,0x223)]],'grant_types':[_0x5493e6(0x5c5,0x567,_0xb8fcf0._0x48dda0,_0xb8fcf0._0x10c4ee),_0x5493e6(0x6a3,_0xb8fcf0._0x466924,_0xb8fcf0._0x456738,0x7bc)],'response_types':[_0x4f755f(0x316,_0xb8fcf0._0x5448eb,_0xb8fcf0._0x5a245c,0x2f6)],'token_endpoint_auth_method':_0x4f755f(0x485,_0xb8fcf0._0x163475,_0xb8fcf0._0x103ae6,0x4cd),..._0x5cda22?{'scope':_0x5cda22}:{}};function _0x5493e6(_0xdbedd1,_0x3decd9,_0x30b0de,_0x979995){return _0x3342ed(_0xdbedd1-_0x27d8fd._0x564ca8,_0x979995,_0x30b0de-0x2ca,_0x979995-0x73);}return{'clientMetadataUrl':_0x6e7c1f[_0x4f755f(_0xb8fcf0._0x3bdeb3,_0xb8fcf0._0x279e62,_0xb8fcf0._0x1507bf,_0xb8fcf0._0x4674fa)]['oauth']?.[_0x4f755f(0x26f,0x37d,_0xb8fcf0._0x31ecf2,_0xb8fcf0._0x2784d1)],get 'redirectUrl'(){const _0x3aab1d={_0x2a1939:0x4d8,_0x424243:0x11};function _0x44fe02(_0x130355,_0x547b34,_0x18d396,_0x3c8873){return _0x4f755f(_0x18d396,_0x547b34- -_0x3aab1d._0x2a1939,_0x18d396-_0x3aab1d._0x424243,_0x3c8873-0x1a6);}return _0x6e7c1f[_0x44fe02(-_0x1598d8._0x5c42ee,-0x23d,-0x398,-_0x1598d8._0x2c92a3)];},get 'clientMetadata'(){return _0x4167ce;},async 'state'(){const _0x2d9180=await readStore(_0x34cff3);if(_0x2d9180[_0x3a3c8e(_0x5899c5._0x82a56a,_0x5899c5._0x12a980,_0x5899c5._0x481410,_0x5899c5._0xc4a420)])return _0x2d9180['state'];const _0x2ad362=_0xea56d();function _0x3a3c8e(_0x51140e,_0x933e97,_0x1b8df9,_0x12f860){return _0x4f755f(_0x12f860,_0x51140e- -0x53,_0x1b8df9-_0x371c3e._0x220710,_0x12f860-0x1e);}return await updateStore(_0x34cff3,_0xe8237d=>{function _0x519b1e(_0x185f93,_0xfeaa65,_0x3d0882,_0x2894a1){return _0x3a3c8e(_0x3d0882- -0xe2,_0xfeaa65-0x199,_0x3d0882-0x17c,_0xfeaa65);}_0xe8237d[_0x519b1e(0x421,0x40f,0x434,0x45b)]=_0x2ad362;}),_0x2ad362;},async 'clientInformation'(){function _0x4ec36e(_0x49f435,_0x323f98,_0x6c5eb5,_0x3689af){return _0x4f755f(_0x6c5eb5,_0x3689af- -_0x536c8c._0x222999,_0x6c5eb5-_0x536c8c._0x3cfee5,_0x3689af-0x8);}return(await readStore(_0x34cff3))[_0x4ec36e(0x80,-0x7c,-0x2d,-0xae)];},async 'saveClientInformation'(_0x20b3fd){const _0x2349d7={_0xf95788:0x143,_0x4bc69d:0x14c},_0x1f7862={_0xb50349:0x5b};await updateStore(_0x34cff3,_0x31f79b=>{function _0x289d13(_0x3a7d42,_0x237599,_0x43be92,_0x136227){return _0x1df5(_0x3a7d42- -_0x1f7862._0xb50349,_0x43be92);}_0x31f79b[_0x289d13(0x20f,_0x2349d7._0xf95788,_0x2349d7._0x4bc69d,0x291)]=_0x20b3fd;});},async 'tokens'(){function _0x12a613(_0x33479d,_0x11bb41,_0x2bc01b,_0x382d5b){return _0x4f755f(_0x11bb41,_0x33479d- -0x486,_0x2bc01b-0x1a4,_0x382d5b-_0x4b3024._0xb5f822);}return(await readStore(_0x34cff3))[_0x12a613(0xa0,-_0x2eed8b._0x4bc107,_0x2eed8b._0x33e901,-_0x2eed8b._0x17be76)];},async 'saveTokens'(_0x546673){await updateStore(_0x34cff3,_0x4f2f90=>{function _0x13c48d(_0x57e6cd,_0x4ba999,_0x56d5d7,_0x407bb8){return _0x1df5(_0x4ba999-0x215,_0x56d5d7);}_0x4f2f90[_0x13c48d(0x6d9,0x604,0x68a,0x661)]=_0x546673;});},async 'redirectToAuthorization'(_0x2b182e){await _0x6e7c1f['onRedirect'](_0x2b182e);},async 'saveCodeVerifier'(_0xdd44ea){const _0x1458d8={_0x5aa933:0x569,_0x496a3e:0x60e};await updateStore(_0x34cff3,_0x34f485=>{function _0x16ce59(_0x226b9c,_0x3dfea3,_0x210ac8,_0x4e790e){return _0x1df5(_0x4e790e-0x2bb,_0x226b9c);}_0x34f485[_0x16ce59(0x6ce,0x58c,_0x1458d8._0x5aa933,_0x1458d8._0x496a3e)]=_0xdd44ea;});},async 'codeVerifier'(){const _0x98bf35=(await readStore(_0x34cff3))['codeVerifier'];if(!_0x98bf35)throw new Error(_0x2be58e(_0x4bdd39._0x19645a,_0x4bdd39._0xd1fca5,_0x4bdd39._0x4a7698,0x486));function _0x2be58e(_0x7a0975,_0x1bb441,_0x5d0a80,_0x20d5b5){return _0x5493e6(_0x7a0975-0x160,_0x1bb441-0x13,_0x1bb441- -0x1d8,_0x5d0a80);}return _0x98bf35;},async 'invalidateCredentials'(_0x450a37){const _0x3facd7={_0x26b3ac:0x13c,_0x1a1fb4:0x1f5,_0x53d7d3:0x28b,_0x4adf2a:0x3dd,_0x157829:0x24d,_0x50dec2:0xb0,_0x138a91:0x1cd,_0x565f5c:0x2ce,_0x14d774:0x28e,_0x3a0b97:0x5d};await updateStore(_0x34cff3,_0x2aa3ea=>{const _0x2fff7e={_0x435074:0x75},_0x210a8f={_0x1f723e:0x2da};(_0x450a37===_0x45f8d7(_0x3facd7._0x26b3ac,0x14a,0xae,0x138)||_0x450a37==='client')&&(_0x2aa3ea[_0x45f8d7(_0x3facd7._0x1a1fb4,0x2bb,_0x3facd7._0x53d7d3,0x246)]=void 0x0);function _0x4de577(_0x136cfc,_0x24ba44,_0x53eba0,_0x11e564){return _0x1df5(_0x11e564- -_0x210a8f._0x1f723e,_0x24ba44);}(_0x450a37==='all'||_0x450a37===_0x45f8d7(0x37a,0x3d0,0x4c4,_0x3facd7._0x4adf2a))&&(_0x2aa3ea[_0x4de577(_0x3facd7._0x157829,0x16e,_0x3facd7._0x50dec2,0x115)]=void 0x0);(_0x450a37==='all'||_0x450a37===_0x4de577(-0x1a2,-_0x3facd7._0x138a91,0xae,-0x9f))&&(_0x2aa3ea['codeVerifier']=void 0x0,_0x2aa3ea[_0x4de577(_0x3facd7._0x565f5c,_0x3facd7._0x14d774,_0x3facd7._0x3a0b97,0x158)]=void 0x0);function _0x45f8d7(_0x555f98,_0xf44fb2,_0x116546,_0x270409){return _0x1df5(_0x555f98- -_0x2fff7e._0x435074,_0x116546);}(_0x450a37==='all'||_0x450a37==='discovery')&&(_0x2aa3ea['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x2ec96f){const _0x4f9617={_0x1d793f:0x3a0,_0x19f9af:0x4d8,_0x181cfe:0x41c};await updateStore(_0x34cff3,_0x14f23c=>{const _0x3c4179={_0x2a3e:0x8f};function _0x2868db(_0x544cd9,_0x592db9,_0x1dc342,_0x4b5af7){return _0x1df5(_0x592db9-_0x3c4179._0x2a3e,_0x4b5af7);}_0x14f23c[_0x2868db(0x3db,_0x4f9617._0x1d793f,_0x4f9617._0x19f9af,_0x4f9617._0x181cfe)]=_0x2ec96f;});},async 'discoveryState'(){function _0x393b28(_0x5c2a31,_0x6b7e2c,_0x1b5583,_0x168874){return _0x5493e6(_0x5c2a31-0xd8,_0x6b7e2c-0x131,_0x6b7e2c- -0x342,_0x5c2a31);}return(await readStore(_0x34cff3))[_0x393b28(0x2e3,0x35e,_0x4b079e._0x1dbbfb,_0x4b079e._0x2da268)];}};}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';function createMcpToolName(_0x1367a3,_0x36b9d8){const _0x45ca95={_0x5cc995:0x170,_0x4bc48b:0x65},_0xa6b2e5=_0x13e39=>_0x13e39['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x17529f(0x442,0x6a2,0x5b4,0x4ef)](/^_+|_+$/g,'');function _0x17529f(_0xe59e72,_0xec0e7f,_0x195d67,_0x40c436){return _0x257320(_0xe59e72-_0x45ca95._0x5cc995,_0xec0e7f-_0x45ca95._0x4bc48b,_0x195d67-0x24,_0x40c436);}return'mcp_'+_0xa6b2e5(_0x1367a3)+'_'+_0xa6b2e5(_0x36b9d8);}function isObject(_0x72e03d){const _0x52354c={_0x871712:0x42b,_0x302f60:0x4b0,_0x570dd5:0x54e,_0x6c4845:0x4ab,_0x5639d9:0x19d},_0x280745={_0x51680d:0x1f};function _0x278159(_0x380e51,_0x27defc,_0x245240,_0x8292e3){return _0x3342ed(_0x380e51-0xa6,_0x245240,_0x380e51- -0xbc,_0x8292e3-0x57);}function _0x302ee4(_0x8ed867,_0x2d3f1a,_0x503a33,_0x467da7){return _0x257320(_0x8ed867-_0x280745._0x51680d,_0x2d3f1a-0x25,_0x8ed867-0x13b,_0x467da7);}return typeof _0x72e03d===_0x302ee4(_0x52354c._0x871712,_0x52354c._0x302f60,_0x52354c._0x570dd5,_0x52354c._0x6c4845)&&_0x72e03d!==null&&!Array[_0x278159(0x272,0x14a,0x10d,_0x52354c._0x5639d9)](_0x72e03d);}function toSupportedSchema(_0x7d6b3a){const _0x221d9a={_0x7665cf:0x3df,_0x50c5bd:0x587,_0x165d7d:0x5f2,_0xe6e12:0x1e1,_0x2ac452:0x317,_0x1cb6cb:0x37e,_0x6b747f:0x355,_0x571d5a:0x188,_0x50fedc:0x9,_0x29a0c3:0x2a,_0xdaa2ee:0xa8,_0x4c2572:0xd3,_0x535bfc:0x25f,_0x2cacb9:0x385,_0x4e6eda:0x508,_0x10cbac:0x43f,_0x3e4ca9:0x55d,_0x1d7141:0x1ef,_0xaead30:0x2cd,_0x787dc0:0x3a1,_0x2656f9:0x255,_0x2a2f1e:0xb0,_0x4c52cc:0x6c8,_0x1a9115:0x6a0,_0x209c2a:0x4b7},_0x154315={_0x4e4a0f:0x17a,_0xb8ff6:0x166,_0x3af80f:0xcb},_0x4dc7c2={_0x1f39d8:0x8e,_0x506ae0:0x1aa,_0x2d13b7:0x17d};if(!isObject(_0x7d6b3a))return void 0x0;if(_0x7d6b3a[_0x11640e(0x277,0x385,0x34a,_0x221d9a._0x7665cf)]===_0x11640e(_0x221d9a._0x50c5bd,_0x221d9a._0x165d7d,0x6f2,0x50d))return{'type':_0x28a526(_0x221d9a._0xe6e12,0x2e2,_0x221d9a._0x2ac452,_0x221d9a._0x1cb6cb)};if(_0x7d6b3a[_0x11640e(0x307,0x385,_0x221d9a._0x6b747f,0x2eb)]===_0x28a526(0x22e,_0x221d9a._0x571d5a,0x19a,0x17e)||_0x7d6b3a[_0x28a526(_0x221d9a._0x50fedc,0x75,-_0x221d9a._0x29a0c3,0x18a)]==='integer')return{'type':_0x28a526(_0x221d9a._0xdaa2ee,0x188,_0x221d9a._0x4c2572,_0x221d9a._0x535bfc)};function _0x28a526(_0x44e63d,_0xec30c7,_0x3778b5,_0x51f5bf){return _0x3342ed(_0x44e63d-_0x4dc7c2._0x1f39d8,_0x3778b5,_0xec30c7- -_0x4dc7c2._0x506ae0,_0x51f5bf-_0x4dc7c2._0x2d13b7);}if(_0x7d6b3a[_0x11640e(0x39c,_0x221d9a._0x2cacb9,0x35f,0x305)]==='boolean')return{'type':_0x11640e(_0x221d9a._0x4e6eda,_0x221d9a._0x10cbac,_0x221d9a._0x3e4ca9,0x317)};if(_0x7d6b3a['type']===_0x28a526(_0x221d9a._0x1d7141,0x35b,_0x221d9a._0xaead30,0x4ba))return{'type':_0x28a526(0x41d,0x35b,_0x221d9a._0x787dc0,0x475),'items':toSupportedSchema(_0x7d6b3a[_0x28a526(_0x221d9a._0x2656f9,0x212,_0x221d9a._0x2a2f1e,0x34a)])??{'type':_0x11640e(_0x221d9a._0x4c52cc,0x5f2,_0x221d9a._0x1a9115,_0x221d9a._0x209c2a)}};if(_0x7d6b3a['type']==='object')return toNuvinToolSchema(_0x7d6b3a);function _0x11640e(_0x140a58,_0x3dc11f,_0x3289c7,_0x545d72){return _0x3342ed(_0x140a58-_0x154315._0x4e4a0f,_0x140a58,_0x3dc11f-_0x154315._0xb8ff6,_0x545d72-_0x154315._0x3af80f);}return void 0x0;}function toNuvinToolSchema(_0x5c554b){const _0x668e1c={_0x51dbb6:0x201,_0x3cc2aa:0x12c,_0x2406ac:0x17f,_0x2d2819:0x283,_0x564f49:0x2f1,_0x352f0a:0x28d,_0x24008c:0x2c1,_0x498088:0x275,_0x5cf273:0x370,_0x4a872b:0x3b6,_0x1463ed:0x243,_0x2637bd:0x2a4,_0x29b12f:0x2f1,_0xce2ebb:0x328},_0x100f86={_0x3fab6f:0xf3};function _0x455b62(_0x9a6d08,_0x4e049a,_0x41b0aa,_0x508dcc){return _0x3342ed(_0x9a6d08-0x7f,_0x9a6d08,_0x41b0aa-0x8d,_0x508dcc-0xb7);}if(!isObject(_0x5c554b)||_0x5c554b[_0x4058c3(_0x668e1c._0x51dbb6,0x203,_0x668e1c._0x3cc2aa,_0x668e1c._0x2406ac)]!==_0x455b62(0x179,_0x668e1c._0x2d2819,_0x668e1c._0x564f49,_0x668e1c._0x352f0a))return{'type':'object','properties':{}};function _0x4058c3(_0x482ec1,_0x17977a,_0x6a4d3c,_0x45d7d3){return _0x3342ed(_0x482ec1-0x3,_0x17977a,_0x6a4d3c- -_0x100f86._0x3fab6f,_0x45d7d3-0x3f);}const _0x4402e8={},_0x1a40b4=isObject(_0x5c554b['properties'])?_0x5c554b['properties']:{};for(const [_0x121feb,_0x2167bd]of Object[_0x455b62(_0x668e1c._0x24008c,_0x668e1c._0x498088,0x3e3,0x2a1)](_0x1a40b4)){const _0x24e5ae=toSupportedSchema(_0x2167bd);if(_0x24e5ae)_0x4402e8[_0x121feb]=_0x24e5ae;}const _0xd40ff2=Array['isArray'](_0x5c554b['required'])?_0x5c554b['required'][_0x455b62(0x291,0x3d9,_0x668e1c._0x5cf273,_0x668e1c._0x4a872b)](_0x29aed4=>typeof _0x29aed4==='string'):void 0x0;return _0xd40ff2?.['length']?{'type':'object','properties':_0x4402e8,'required':_0xd40ff2}:{'type':_0x455b62(_0x668e1c._0x1463ed,_0x668e1c._0x2637bd,_0x668e1c._0x29b12f,_0x668e1c._0xce2ebb),'properties':_0x4402e8};}function isJsonObject(_0x388e1f){const _0x1a4f61={_0x2ef464:0xc9,_0x518065:0x197,_0x4c33d9:0xc9,_0x4d13d9:0x7d},_0x4755b2={_0x10af7b:0x30,_0x39749a:0x189},_0x12dda7={_0x41beea:0x1a};function _0x3f1dfd(_0x482789,_0x52785a,_0x3e2d9d,_0x4bfe20){return _0x257320(_0x482789-0x35,_0x52785a-_0x12dda7._0x41beea,_0x4bfe20- -0x450,_0x3e2d9d);}function _0x2a14e2(_0x1df48e,_0x38d704,_0x572b9d,_0x2df4d3){return _0x3342ed(_0x1df48e-_0x4755b2._0x10af7b,_0x2df4d3,_0x572b9d- -0x3fb,_0x2df4d3-_0x4755b2._0x39749a);}return typeof _0x388e1f===_0x2a14e2(-_0x1a4f61._0x2ef464,-0x244,-_0x1a4f61._0x518065,-0x128)&&_0x388e1f!==null&&!Array[_0x3f1dfd(-_0x1a4f61._0x4c33d9,-_0x1a4f61._0x4d13d9,-0x1c2,-0x96)](_0x388e1f);}function formatMcpContent(_0x513abd){const _0x419eee={_0x36ff52:0x4fa,_0x67f52b:0x673,_0x5d4621:0x3d3,_0x35d85c:0x341,_0x6c240f:0x354,_0x28e79b:0x457,_0x23551c:0x4fc,_0x4a63f5:0x5d1,_0x27acba:0x5f1,_0x5f4be7:0x3e2,_0x54ec84:0x4b5,_0x13b681:0x49b},_0x3e49bc={_0x12b6e8:0x1be,_0x2f173f:0x1e5,_0x14eb99:0x452,_0x2f86d1:0x58b,_0xc1f2c4:0x563},_0x2c855f={_0x3fd122:0xd,_0x535dfd:0x142};function _0x957fb5(_0x53829e,_0x19e232,_0x239f91,_0x5e2174){return _0x3342ed(_0x53829e-_0x2c855f._0x3fd122,_0x5e2174,_0x19e232-_0x2c855f._0x535dfd,_0x5e2174-0x29);}const _0x2283ac=Array['isArray'](_0x513abd['content'])?_0x513abd[_0x957fb5(_0x419eee._0x36ff52,0x5b3,0x539,_0x419eee._0x67f52b)]:[];function _0x840224(_0x499a87,_0x468d29,_0xf70ebe,_0x4726b4){return _0x3342ed(_0x499a87-0x18a,_0x468d29,_0x499a87-0xc6,_0x4726b4-0x32);}const _0x177654=_0x2283ac[_0x957fb5(0x364,_0x419eee._0x5d4621,_0x419eee._0x35d85c,0x2e1)](_0x346a3a=>{const _0x5aa524={_0x59383e:0x62};function _0x54e6f8(_0x1b6b04,_0x4f8d1c,_0x219128,_0x530be9){return _0x840224(_0x219128- -0x55,_0x4f8d1c,_0x219128-_0x5aa524._0x59383e,_0x530be9-0xd9);}if(!isObject(_0x346a3a))return'';function _0x25341c(_0x5714bf,_0x2d9c33,_0x57aa2d,_0x24d780){return _0x957fb5(_0x5714bf-0x1ac,_0x57aa2d- -0x6b,_0x57aa2d-0x16e,_0x24d780);}if(_0x346a3a[_0x54e6f8(_0x3e49bc._0x12b6e8,0x2cc,0x290,_0x3e49bc._0x2f173f)]==='text'&&typeof _0x346a3a[_0x54e6f8(0x41f,0x359,0x426,0x2fc)]===_0x25341c(_0x3e49bc._0x14eb99,_0x3e49bc._0x2f86d1,_0x3e49bc._0xc1f2c4,0x4d2))return _0x346a3a['text'];return JSON['stringify'](_0x346a3a);})[_0x957fb5(0x40d,0x425,_0x419eee._0x6c240f,_0x419eee._0x28e79b)](_0x23d2d5=>_0x23d2d5[_0x957fb5(0x532,0x5d7,0x567,0x499)]>0x0)[_0x840224(_0x419eee._0x23551c,_0x419eee._0x4a63f5,_0x419eee._0x27acba,0x40d)]('\x0a');if(_0x177654['length']>0x0)return _0x177654;return JSON[_0x957fb5(_0x419eee._0x5f4be7,_0x419eee._0x54ec84,_0x419eee._0x13b681,0x5cb)](_0x513abd,null,0x2);}function createMcpTool(_0x1b9fb6){const _0x116b3e={_0xde7431:0x21,_0x29ed0c:0xde,_0x539ac6:0x1b,_0x2e4462:0x3b,_0x18b180:0x19,_0x4853fe:0x36,_0x58e363:0x1a1,_0x23a7f6:0x398,_0x5a7c93:0x49a,_0x507e8f:0x453,_0x4deae7:0x114,_0x2ab5bc:0x7a},_0x15f598={_0x23b47f:0x231,_0x5eb8f5:0x1ea,_0x97181c:0x12e,_0x44f61e:0x261,_0x33e242:0x8c,_0x308cf2:0x49,_0x1d6343:0x210,_0xc11aa9:0x2a8,_0x5f2940:0xfd,_0x1cd8e0:0xb2,_0x5f1eb1:0x28d,_0x46e55f:0x1c9,_0x1a09c1:0xa6,_0x31f3eb:0x68,_0x3419e2:0xd3,_0x8f696d:0xfd,_0x5f44da:0x86,_0x240b9f:0x67},_0x442bae={_0x16106d:0x24,_0x2c0698:0x18f};function _0x275420(_0x492296,_0x1967e8,_0x4d1c94,_0x56a5e9){return _0x3342ed(_0x492296-0x1e0,_0x56a5e9,_0x492296- -0x2db,_0x56a5e9-0x175);}const _0x4346c5=createMcpToolName(_0x1b9fb6[_0x275420(-_0x116b3e._0xde7431,-_0x116b3e._0x29ed0c,-_0x116b3e._0x539ac6,-0xa6)],_0x1b9fb6['tool'][_0x275420(-_0x116b3e._0x2e4462,0x130,-0x188,_0x116b3e._0x18b180)]);function _0x721fed(_0x1b6eb4,_0x5762aa,_0x423ab0,_0x17b4d5){return _0x3342ed(_0x1b6eb4-_0x442bae._0x16106d,_0x423ab0,_0x5762aa-0x8f,_0x17b4d5-_0x442bae._0x2c0698);}return defineTool({'name':_0x4346c5,'description':_0x1b9fb6[_0x275420(_0x116b3e._0x4853fe,0xa,_0x116b3e._0x58e363,0xb1)][_0x721fed(_0x116b3e._0x23a7f6,0x424,_0x116b3e._0x5a7c93,_0x116b3e._0x507e8f)]??'MCP\x20tool\x20'+_0x1b9fb6['tool'][_0x275420(-_0x116b3e._0x2e4462,-_0x116b3e._0x4deae7,-_0x116b3e._0x2ab5bc,-0xe1)]+'\x20from\x20'+_0x1b9fb6['serverName'],'inputSchema':toNuvinToolSchema(_0x1b9fb6[_0x721fed(0x2fa,0x3a0,0x4fe,0x346)]['inputSchema']),async *'execute'(_0x34a1e0){const _0x488552={_0x35d532:0x5c,_0x20f876:0x2a3,_0x304191:0x1cc};function _0x153493(_0x6edc4c,_0x3cde21,_0x529ba2,_0x546df5){return _0x275420(_0x6edc4c-0x2c8,_0x3cde21-0x176,_0x529ba2-0x153,_0x3cde21);}const _0x426217=await _0x1b9fb6[_0x153493(_0x15f598._0x23b47f,_0x15f598._0x5eb8f5,0x1e3,_0x15f598._0x97181c)]['callTool']({'name':_0x1b9fb6[_0x153493(0x2fe,0x379,_0x15f598._0x44f61e,0x3b2)][_0x1bd97a(0x1d2,0xec,_0x15f598._0x33e242,-_0x15f598._0x308cf2)],'arguments':isJsonObject(_0x34a1e0)?_0x34a1e0:{}});if(_0x426217['isError'])throw new ToolExecutionError(formatMcpContent(_0x426217),{'serverName':_0x1b9fb6[_0x153493(0x2a7,_0x15f598._0x1d6343,0x263,_0x15f598._0xc11aa9)],'toolName':_0x1b9fb6[_0x1bd97a(-0x43,0x1d0,_0x15f598._0x5f2940,_0x15f598._0x1cd8e0)][_0x153493(_0x15f598._0x5f1eb1,0x139,0x14c,0x340)]});yield createToolOutput(formatMcpContent(_0x426217),{'serverName':_0x1b9fb6[_0x1bd97a(_0x15f598._0x46e55f,0x6e,_0x15f598._0x1a09c1,-_0x15f598._0x31f3eb)],'toolName':_0x1b9fb6[_0x1bd97a(0x1ef,_0x15f598._0x3419e2,_0x15f598._0x8f696d,0x72)][_0x1bd97a(0x0,-_0x15f598._0x5f44da,0x8c,-_0x15f598._0x240b9f)],'result':_0x426217});function _0x1bd97a(_0x3f6556,_0x1502bf,_0x15ec8b,_0x1f1646){return _0x721fed(_0x3f6556-_0x488552._0x35d532,_0x15ec8b- -_0x488552._0x20f876,_0x3f6556,_0x1f1646-_0x488552._0x304191);}return void 0x0;}});}function resolvePrefix(_0x979aa5,_0x172677){const _0x519311={_0x36f463:0x225,_0x3c11d8:0x8c,_0x5396dd:0x188,_0x38ea03:0x1af},_0x351fc8={_0x91b224:0x8c};function _0x67dbc(_0x384f42,_0x2c629d,_0x59ac1c,_0x1cd903){return _0x257320(_0x384f42-0x33,_0x2c629d-_0x351fc8._0x91b224,_0x1cd903- -0x196,_0x59ac1c);}return _0x172677[_0x67dbc(_0x519311._0x36f463,_0x519311._0x3c11d8,_0x519311._0x5396dd,_0x519311._0x38ea03)]??_0x979aa5;}function buildMcpHttpHeaders(_0x37ea16){const _0x48df43={_0x16fa5d:0x1f,_0x475ca7:0x6cf,_0x57613c:0x526,_0x5ee7a3:0x3f1,_0x2be99a:0x40f,_0x36827c:0x2da,_0x1cf0b6:0x1b3,_0x5f3d35:0x18a,_0x335657:0x656,_0x48ce39:0x64a,_0x2f6809:0x469,_0x19d2fa:0x5a8,_0x3dbaca:0x43d,_0x16c933:0x221,_0x2d1c5e:0x1bc,_0xcfc051:0x26a,_0x37785b:0x20e,_0x328944:0x324,_0x5e293f:0x3fd,_0x3eefd7:0x1c8,_0x2d50c0:0xad,_0x3f77de:0x154,_0x4aa3ed:0x2d6,_0x251fad:0x20},_0x18db5d={_0x1a9495:0x26,_0x51ee1a:0x291,_0x1327ad:0x117},_0x38d550={..._0x37ea16[_0x542fac(0x17d,0x229,_0x48df43._0x16fa5d,0x2b3)]??{}};_0x37ea16[_0xf6c91e(0x63b,_0x48df43._0x475ca7,0x684,_0x48df43._0x57613c)]?.[_0xf6c91e(_0x48df43._0x5ee7a3,_0x48df43._0x2be99a,0x4b0,0x5e2)]===_0x542fac(_0x48df43._0x36827c,0x293,0x273,0x423)&&_0x37ea16[_0x542fac(0x2fd,_0x48df43._0x1cf0b6,0x311,_0x48df43._0x5f3d35)][_0xf6c91e(_0x48df43._0x335657,0x508,0x54f,_0x48df43._0x48ce39)]&&_0x38d550[_0xf6c91e(0x58a,_0x48df43._0x2f6809,_0x48df43._0x19d2fa,_0x48df43._0x3dbaca)]===void 0x0&&(_0x38d550[_0x542fac(_0x48df43._0x16c933,0x368,0x27a,0xe8)]=_0x542fac(0x32e,_0x48df43._0x2d1c5e,0x370,_0x48df43._0xcfc051)+_0x37ea16[_0x542fac(0x2fd,_0x48df43._0x37785b,_0x48df43._0x328944,_0x48df43._0x5e293f)][_0x542fac(_0x48df43._0x3eefd7,_0x48df43._0x2d50c0,0xf9,_0x48df43._0x3f77de)]);function _0x542fac(_0x2aa30e,_0x2cb716,_0x3914e9,_0x5c1fc6){return _0x257320(_0x2aa30e-0x139,_0x2cb716-0x73,_0x2aa30e- -0x182,_0x2cb716);}function _0xf6c91e(_0x26e01,_0x14e833,_0xaaa26d,_0x94fefb){return _0x3342ed(_0x26e01-_0x18db5d._0x1a9495,_0x94fefb,_0xaaa26d-_0x18db5d._0x51ee1a,_0x94fefb-_0x18db5d._0x1327ad);}return Object[_0x542fac(0x18e,_0x48df43._0x4aa3ed,0x65,_0x48df43._0x251fad)](_0x38d550)['length']>0x0?_0x38d550:void 0x0;}function getErrorMessage(_0x1fdded){const _0x128e6a={_0x4b5f93:0x79d},_0x106b49={_0x440baa:0xd,_0x5ae2a0:0x182};function _0x360bcf(_0x30f46e,_0x3c0b8c,_0x461988,_0x2e5089){return _0x257320(_0x30f46e-_0x106b49._0x440baa,_0x3c0b8c-0x12,_0x2e5089-_0x106b49._0x5ae2a0,_0x461988);}return _0x1fdded instanceof Error?_0x1fdded[_0x360bcf(0x77b,_0x128e6a._0x4b5f93,0x613,0x6e7)]:String(_0x1fdded);}function isUnauthorizedError(_0x34395a){const _0xb4519e={_0x5c0edd:0x42a,_0x559aa3:0x44e,_0x483a4f:0x2d0,_0x1396d5:0x32a,_0x4e2fcf:0x351,_0x35ba0c:0x4bb},_0x5bf519={_0x26a9ff:0x187,_0x4e4244:0xa9,_0x463794:0x21},_0x3eec41={_0x495a26:0x473,_0x1f79cf:0xb0};function _0x563ef1(_0x47dad2,_0x1fd4b2,_0x21e0c2,_0x4fcf97){return _0x3342ed(_0x47dad2-0x1d0,_0x1fd4b2,_0x47dad2- -_0x3eec41._0x495a26,_0x4fcf97-_0x3eec41._0x1f79cf);}function _0x3a71b5(_0x3cd647,_0x4b6b13,_0x4d3805,_0x1d9c76){return _0x257320(_0x3cd647-_0x5bf519._0x26a9ff,_0x4b6b13-_0x5bf519._0x4e4244,_0x4b6b13-_0x5bf519._0x463794,_0x3cd647);}return _0x34395a instanceof Error&&_0x34395a[_0x3a71b5(_0xb4519e._0x5c0edd,0x46c,_0xb4519e._0x559aa3,0x3d6)][_0x563ef1(-0x1d3,-0x278,-_0xb4519e._0x483a4f,-0x186)]===_0x3a71b5(_0xb4519e._0x1396d5,_0xb4519e._0x4e2fcf,_0xb4519e._0x35ba0c,0x231);}async function connectMcpServer(_0x24f4ee,_0x54d2cf,_0x1e696b){const _0x55cf50={_0x3d5be3:0x2da,_0x51f31e:0x4cd,_0x5ff3a7:0x455,_0x1c6e2b:0x41f,_0x509405:0x48a,_0x58a17c:0x472,_0x2878d3:0x403,_0x34be9d:0x443,_0x485c6e:0x91,_0x11baf7:0x2a3,_0x26076f:0x361,_0xef916:0x145,_0x121266:0x2a3,_0x2f067e:0x2e,_0x5cf75c:0xf5,_0x32b9a3:0x3af,_0x49d2f1:0x311,_0x498598:0x377,_0x30e7cd:0x2ca,_0x589905:0x25a,_0x4334df:0x21e,_0x575cfa:0x24c,_0x2ede9f:0x26e,_0x26386e:0x1b7,_0x41eafb:0x193,_0x50cde6:0x527,_0x34d3d7:0x375,_0x4d4813:0x513,_0x486524:0x449,_0x59c2b7:0xc7,_0x9cab9d:0x8a,_0x4a5c9e:0x403,_0x71a077:0x578,_0x58115f:0x3bd,_0x553590:0x2ed,_0xe62084:0x228,_0x32d20f:0x3d5,_0x3f7397:0x46d,_0xf246d1:0x36c,_0x565a1f:0x3a3,_0x33aef1:0x2f9},_0x3e7578={_0xab5e43:0x2e},_0x5dee87={_0x4c5bf8:0x4e1},_0x26108e={_0x49287a:0x138,_0x515d79:0x7c},_0x489743={_0x51341d:0x5a7,_0x3a8f3a:0x58e},_0x1a8f8f={_0x5dec05:0x400,_0x3def13:0x3cd,_0x3a9e8a:0x463,_0x55b935:0x371,_0x1d2f0e:0x399,_0x37af15:0x7c2,_0x45adc7:0x749,_0x27bc20:0x867},_0x4f856b={_0x124d8c:0x1d9,_0x3b23e7:0x1c0},_0x364925={_0x4898c3:0x71,_0x10c6af:0x23c,_0x3c280c:0xcd},_0x533a93={_0x1ebf83:0x133,_0x4b2968:0xd2};function _0x294687(_0x167476,_0x422606,_0x19627d,_0x490bbe){return _0x3342ed(_0x167476-_0x533a93._0x1ebf83,_0x19627d,_0x167476-_0x533a93._0x4b2968,_0x490bbe-0x106);}function _0x249e98(_0x2462ff,_0x4c8e90,_0x394e0e,_0x227584){return _0x3342ed(_0x2462ff-_0x364925._0x4898c3,_0x227584,_0x4c8e90- -_0x364925._0x10c6af,_0x227584-_0x364925._0x3c280c);}const _0x515c31=new Client({'name':_0x249e98(_0x55cf50._0x3d5be3,0x1b1,0x2e3,0x1c5),'version':_0x249e98(-0x149,-0x17,-0x186,-0x121)});_0x515c31[_0x294687(0x45e,_0x55cf50._0x51f31e,_0x55cf50._0x5ff3a7,0x46f)]=_0x3f2074=>{function _0x151bd8(_0x25681b,_0x10a322,_0x5ac251,_0x2b1901){return _0x294687(_0x5ac251-0x231,_0x10a322-0x1b1,_0x25681b,_0x2b1901-0x160);}function _0x304458(_0x176702,_0xce2ba5,_0x5d6f24,_0x2165eb){return _0x249e98(_0x176702-0x162,_0x2165eb-_0x4f856b._0x124d8c,_0x5d6f24-_0x4f856b._0x3b23e7,_0x5d6f24);}console[_0x304458(_0x1a8f8f._0x5dec05,_0x1a8f8f._0x3def13,_0x1a8f8f._0x3a9e8a,_0x1a8f8f._0x55b935)](_0x304458(_0x1a8f8f._0x3a9e8a,0x2e5,_0x1a8f8f._0x1d2f0e,0x378)+_0x24f4ee+_0x151bd8(_0x1a8f8f._0x37af15,_0x1a8f8f._0x45adc7,0x7ef,_0x1a8f8f._0x27bc20),_0x3f2074['message']);};if(_0x54d2cf['transport']===_0x249e98(0x1d8,0x2ad,0x2c8,0x1ca)||_0x54d2cf[_0x294687(_0x55cf50._0x1c6e2b,_0x55cf50._0x509405,0x2a7,0x4ab)]){if(!_0x54d2cf[_0x294687(0x41f,_0x55cf50._0x58a17c,0x48b,0x4ca)])throw new Error(_0x294687(_0x55cf50._0x2878d3,_0x55cf50._0x34be9d,0x32a,0x3be)+_0x24f4ee+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x54d2cf[_0x249e98(0x2bc,0x1b7,0x22a,_0x55cf50._0x485c6e)]?.['type']===_0x249e98(0x323,_0x55cf50._0x11baf7,0x21a,_0x55cf50._0x26076f)&&!_0x1e696b?.[_0x249e98(_0x55cf50._0xef916,_0x55cf50._0x121266,0x175,0x3d0)])throw new Error(_0x249e98(-_0x55cf50._0x2f067e,_0x55cf50._0x5cf75c,0x205,0x12e)+_0x24f4ee+_0x294687(_0x55cf50._0x32b9a3,_0x55cf50._0x49d2f1,0x3af,0x240));const _0x59a0c2=buildMcpHttpHeaders(_0x54d2cf),_0x5dbe70=_0x54d2cf['auth']?.['type']===_0x249e98(_0x55cf50._0x498598,0x2a3,0x198,_0x55cf50._0x30e7cd)&&_0x1e696b?.['oauth']?createMcpOAuthProvider({'serverName':_0x24f4ee,'callbackUrl':_0x1e696b[_0x249e98(_0x55cf50._0x589905,0x2a3,0x3ed,0x3d5)]['callbackUrl'],'storageDir':_0x1e696b[_0x249e98(_0x55cf50._0x4334df,0x2a3,_0x55cf50._0x575cfa,_0x55cf50._0x2ede9f)]['storageDir'],'config':_0x54d2cf[_0x249e98(0xd9,_0x55cf50._0x26386e,_0x55cf50._0x41eafb,0x20e)],'onRedirect':_0x210571=>_0x1e696b[_0x249e98(0x2a5,0x2a3,0x40f,0x362)]?.['onRedirect'](_0x24f4ee,_0x210571)}):void 0x0,_0x22b392=new StreamableHTTPClientTransport(new URL(_0x54d2cf[_0x294687(_0x55cf50._0x1c6e2b,_0x55cf50._0x50cde6,0x3e0,_0x55cf50._0x34d3d7)]),{'authProvider':_0x5dbe70,'requestInit':_0x59a0c2?{'headers':_0x59a0c2}:void 0x0});await _0x515c31[_0x294687(_0x55cf50._0x4d4813,_0x55cf50._0x486524,0x5a3,0x3f7)](_0x22b392);}else{if(!_0x54d2cf[_0x249e98(-0x1b,_0x55cf50._0x59c2b7,0x1ee,-_0x55cf50._0x9cab9d)])throw new Error(_0x294687(_0x55cf50._0x4a5c9e,_0x55cf50._0x71a077,_0x55cf50._0x58115f,0x4ec)+_0x24f4ee+_0x249e98(_0x55cf50._0x553590,_0x55cf50._0xe62084,0xe0,0x23b));const _0x49b84b=new StdioClientTransport({'command':_0x54d2cf[_0x294687(_0x55cf50._0x32d20f,_0x55cf50._0x3f7397,_0x55cf50._0xf246d1,_0x55cf50._0x565a1f)],'args':_0x54d2cf[_0x249e98(0x47,0x124,0x4a,0x29a)]??[],'env':_0x54d2cf[_0x294687(0x3ed,_0x55cf50._0x33aef1,0x3f7,0x553)],'stderr':'pipe'});await _0x515c31['connect'](_0x49b84b);}return{async 'listTools'(){function _0x4e48e9(_0x552198,_0x4573ba,_0x34efb3,_0x2855d6){return _0x249e98(_0x552198-0x8,_0x552198-0x485,_0x34efb3-0x1f1,_0x34efb3);}return await _0x515c31[_0x4e48e9(0x6b9,0x5b4,_0x489743._0x51341d,_0x489743._0x3a8f3a)]();},async 'callTool'(_0x4cf4f6){function _0x1b0286(_0x19e0b0,_0x274d4c,_0x449bbf,_0x3452c9){return _0x294687(_0x449bbf-_0x26108e._0x49287a,_0x274d4c-0x15,_0x19e0b0,_0x3452c9-_0x26108e._0x515d79);}return await _0x515c31[_0x1b0286(0x5d1,0x61c,0x5c2,_0x5dee87._0x4c5bf8)]({'method':'tools/call','params':_0x4cf4f6},CallToolResultSchema);},async 'close'(){const _0x299b8d={_0x3ccd9c:0x1c5};function _0x46df8b(_0x40dc3c,_0x249c5e,_0x40b626,_0x28b840){return _0x249e98(_0x40dc3c-0x108,_0x28b840- -0x1a,_0x40b626-_0x299b8d._0x3ccd9c,_0x40b626);}await _0x515c31[_0x46df8b(0x145,-0xca,-_0x3e7578._0xab5e43,0x76)]();}};}async function createMcpToolsFromServers(_0x3e300d){const _0x4263fb={_0x2617af:0x53e,_0x801d16:0x522,_0x378483:0x5b3,_0x5c9038:0x6b4,_0x218ed4:0x3bf,_0x3eaf25:0x371,_0x572732:0x4c8,_0x5326b3:0x38b,_0x2829a3:0x4f8,_0x4cc659:0x4eb,_0x58c2de:0x28a,_0x325240:0x3a1,_0x5c7b50:0x4a0,_0x224ca0:0x451,_0x4aea97:0x727,_0xa8c9d3:0x5e2,_0x498d9c:0x4ea,_0x493e7:0x4da,_0x2e9403:0x3bb,_0xbaf3a:0x46e,_0x1292ea:0x4a3,_0x3331d5:0x501,_0x55b4e9:0x5aa,_0x513f0e:0x398,_0x2e4004:0x651},_0x414bb4={_0x66db3d:0x364,_0x308711:0x303,_0x5cd26c:0x28d},_0x114439={_0x45accd:0x165,_0x537ee8:0x89,_0x560e47:0x4f},_0x15818b=_0x3e300d[_0x33b52d(_0x4263fb._0x2617af,_0x4263fb._0x801d16,_0x4263fb._0x378483,_0x4263fb._0x5c9038)]??connectMcpServer;function _0x39a778(_0x459a8d,_0x25bfad,_0xbdad7c,_0x3010df){return _0x257320(_0x459a8d-_0x114439._0x45accd,_0x25bfad-_0x114439._0x537ee8,_0x459a8d- -_0x114439._0x560e47,_0xbdad7c);}const _0x473447=[],_0x2d2102={},_0x586d5a=[];function _0x33b52d(_0x4133b3,_0x274912,_0x13f108,_0xea3c64){return _0x257320(_0x4133b3-0x4a,_0x274912-0xa3,_0x13f108-0xe6,_0x274912);}for(const [_0x31ea91,_0x5d9054]of Object[_0x33b52d(_0x4263fb._0x218ed4,_0x4263fb._0x3eaf25,_0x4263fb._0x572732,_0x4263fb._0x5326b3)](_0x3e300d[_0x39a778(_0x4263fb._0x2829a3,_0x4263fb._0x4cc659,0x528,0x401)]??{})){if(_0x5d9054[_0x39a778(_0x4263fb._0x58c2de,0x255,0x1ae,_0x4263fb._0x325240)]===![]){_0x2d2102[_0x31ea91]={'status':'disabled'};continue;}try{const _0x229722=await _0x15818b(_0x31ea91,_0x5d9054,_0x3e300d['connection']);_0x473447[_0x33b52d(0x414,_0x4263fb._0x5c7b50,_0x4263fb._0x224ca0,0x338)](_0x229722);const _0x53f977=await _0x229722[_0x33b52d(_0x4263fb._0x4aea97,0x644,_0x4263fb._0xa8c9d3,_0x4263fb._0x498d9c)]();let _0x522303=0x0;for(const _0x1f393c of _0x53f977[_0x33b52d(_0x4263fb._0x493e7,_0x4263fb._0x2e9403,0x4cc,_0x4263fb._0xbaf3a)]){const _0x13855a=_0x3e300d[_0x39a778(0x4f4,_0x4263fb._0x1292ea,0x4e1,_0x4263fb._0x3331d5)]?.[_0x31ea91]?.[_0x1f393c['name']];if(_0x13855a===![])continue;_0x522303+=0x1,_0x586d5a[_0x33b52d(0x532,0x4c1,_0x4263fb._0x224ca0,_0x4263fb._0x55b4e9)](createMcpTool({'serverName':resolvePrefix(_0x31ea91,_0x5d9054),'tool':_0x1f393c,'client':_0x229722}));}_0x2d2102[_0x31ea91]={'status':'connected','toolCount':_0x522303};}catch(_0x309fe7){_0x2d2102[_0x31ea91]=isUnauthorizedError(_0x309fe7)?{'status':_0x39a778(_0x4263fb._0x513f0e,0x36d,0x3a9,0x2e8),'message':getErrorMessage(_0x309fe7)}:{'status':_0x33b52d(0x533,0x4eb,0x546,_0x4263fb._0x2e4004),'message':getErrorMessage(_0x309fe7)};}}return{'tools':_0x586d5a,'servers':_0x2d2102,async 'close'(){const _0x2a0a4f={_0x260931:0x404},_0x2e18d6={_0x1babee:0x10b};function _0x460dc0(_0x627a29,_0x17e549,_0x28f4c0,_0x59ed17){return _0x39a778(_0x28f4c0- -0x4c4,_0x17e549-_0x2e18d6._0x1babee,_0x627a29,_0x59ed17-0xcc);}function _0x54f4ec(_0x8e217b,_0x373543,_0x3b497c,_0x465fd5){return _0x33b52d(_0x8e217b-0x88,_0x8e217b,_0x3b497c- -_0x2a0a4f._0x260931,_0x465fd5-0x1e0);}await Promise[_0x460dc0(-0x21f,-_0x414bb4._0x66db3d,-0x211,-0x1e3)](_0x473447[_0x460dc0(-_0x414bb4._0x308711,-_0x414bb4._0x5cd26c,-0x1f6,-0xaf)](_0x5ee201=>_0x5ee201[_0x460dc0(-0x1f9,-0x247,-0x1bb,-0x1fe)]()));}};}function getCommand(_0x4cf8b4){const _0x89e342={_0x5d43cc:0x33,_0x58863f:0x54,_0x3d126c:0x29,_0x3c7961:0x9e,_0x2b675a:0x168,_0x230bc3:0x404,_0x4e53c7:0x3ba,_0x472c80:0x4d1,_0x2e47f0:0x349},_0x28c1ce={_0x5107a3:0x125,_0x4941dc:0x2b},_0x3bdb13={_0x4ee99a:0x8b};function _0x1c544b(_0x18edec,_0x175300,_0x47c918,_0x2c0dd8){return _0x3342ed(_0x18edec-0xfe,_0x18edec,_0x2c0dd8- -0x1c6,_0x2c0dd8-_0x3bdb13._0x4ee99a);}function _0xf71274(_0x3cd8a1,_0x3cc640,_0x5a8f4b,_0x5519cc){return _0x257320(_0x3cd8a1-0x3a,_0x3cc640-_0x28c1ce._0x5107a3,_0x5519cc-_0x28c1ce._0x4941dc,_0x5a8f4b);}if(_0x4cf8b4&&typeof _0x4cf8b4===_0x1c544b(-_0x89e342._0x5d43cc,_0x89e342._0x58863f,_0x89e342._0x3d126c,_0x89e342._0x3c7961)&&!Array[_0x1c544b(0x84,0x14a,0xe8,_0x89e342._0x2b675a)](_0x4cf8b4)&&typeof _0x4cf8b4[_0xf71274(_0x89e342._0x230bc3,0x249,0x510,_0x89e342._0x4e53c7)]==='string')return _0x4cf8b4[_0xf71274(0x473,_0x89e342._0x472c80,0x45e,0x3ba)];return _0xf71274(0x376,_0x89e342._0x2e47f0,0x463,0x302);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x257320(0x3f6,0x43b,0x472,0x378),_0x257320(0x337,0x2a6,0x304,0x3de),_0x3342ed(0x255,0x219,0x24a,0x279),_0x3342ed(0x394,0x466,0x4d8,0x43a),_0x257320(0x46b,0x5aa,0x539,0x4bd),_0x3342ed(0x524,0x424,0x45e,0x2f9),_0x3342ed(0x32d,0x35f,0x39b,0x504),_0x257320(0x5bf,0x506,0x4e6,0x62a),_0x257320(0x57d,0x37e,0x4eb,0x583),'src/formats/provider-adapters.ts',_0x3342ed(0x1cc,0x138,0x25c,0x261),_0x257320(0x527,0x622,0x53d,0x428),_0x3342ed(0x2ff,0x38f,0x3a9,0x3f1),_0x3342ed(0x279,0x1a2,0x22c,0xf6),'src/formats/provider-adapters.test.ts',_0x257320(0x2e3,0x273,0x2ca,0x37f)][_0x257320(0x559,0x507,0x4c2,0x4ea)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x257320(0x561,0x3df,0x3fd,0x4f5),'input_schema':{'type':'object','properties':{'command':{'type':_0x257320(0x3a0,0x605,0x518,0x50d)}},'required':[_0x257320(0x43a,0x33d,0x38f,0x48b)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x22a242){return{'output':_0x22a242,'structured':{'value':_0x22a242}};}function createUnknownToolResult(_0x5a5ffa){const _0xfd4dde={_0x124be2:0x1f6,_0x4a8e14:0x308,_0x379415:0x340,_0x59783a:0x32a,_0x5d695d:0x478,_0x4f6e0e:0x229,_0x31cbd3:0x3e3},_0x5efea9={_0x2c8ee5:0x89,_0x511708:0x17a},_0x3c83b9={_0x5e6cb2:0x14,_0x498fd9:0x136};function _0x12b2f7(_0x5514fd,_0x49ad96,_0x4ee028,_0x1faea9){return _0x257320(_0x5514fd-0x114,_0x49ad96-_0x3c83b9._0x5e6cb2,_0x5514fd- -_0x3c83b9._0x498fd9,_0x4ee028);}function _0x2768a9(_0x2feaf5,_0x519d29,_0x24b5fc,_0x35896e){return _0x3342ed(_0x2feaf5-_0x5efea9._0x2c8ee5,_0x519d29,_0x2feaf5-0x276,_0x35896e-_0x5efea9._0x511708);}return{'callId':_0x5a5ffa['id'],'toolName':_0x5a5ffa[_0x12b2f7(_0xfd4dde._0x124be2,0x247,_0xfd4dde._0x4a8e14,_0xfd4dde._0x379415)],'status':_0x12b2f7(_0xfd4dde._0x59783a,_0xfd4dde._0x5d695d,_0xfd4dde._0x4f6e0e,_0xfd4dde._0x31cbd3),'output':_0x12b2f7(0x379,0x4d0,0x47d,0x40b)+_0x5a5ffa['name'],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x3cc7b2,_0x531ce8){const _0x4c3b84={_0x2ca2fb:0x486},_0x45a49b={_0x1f7b4e:0x1dc};function _0x33f2a2(_0x49d2bd,_0x338206,_0x5e54fa,_0x5e5fbc){return _0x3342ed(_0x49d2bd-0x58,_0x49d2bd,_0x5e5fbc-_0x45a49b._0x1f7b4e,_0x5e5fbc-0xa4);}return{'callId':_0x3cc7b2['id'],'toolName':_0x3cc7b2[_0x33f2a2(0x386,_0x4c3b84._0x2ca2fb,0x40f,0x47c)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x3cc7b2['input']),'exitCode':0x0},'chunks':[_0x531ce8],'meta':createMeta()};}function createMockToolRuntime(){const _0x5ea0b8={_0x34e029:0x427},_0x1a222a={_0x13eb53:0x25b},_0xce6a80={_0x2639ee:0x404,_0x107c21:0x4f0,_0x2eaaed:0x4b3,_0x2dbde9:0x576},_0x475ea6={_0x6618af:0x1ab},_0x327d12=async(_0x185094,_0x412117)=>{function _0x3fa7bf(_0x386477,_0x2cff03,_0x348966,_0x152654){return _0x1df5(_0x152654- -0x3bd,_0x348966);}if(_0x185094[_0xecd5f0(0x3d4,_0xce6a80._0x2639ee,_0xce6a80._0x107c21,0x386)]!==_0xecd5f0(0x664,0x5fe,_0xce6a80._0x2eaaed,_0xce6a80._0x2dbde9))return createUnknownToolResult(_0x185094);const _0x3bcc54=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0xecd5f0(_0x5b54bd,_0x540dad,_0x2a5bfd,_0x30fb16){return _0x1df5(_0x30fb16-_0x475ea6._0x6618af,_0x540dad);}return createSuccessToolResult(_0x185094,_0x3bcc54);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x2b5ece,_0x5b384d){function _0x5377f9(_0xdd3a3c,_0x3f2ad6,_0x3d641e,_0x42a9a5){return _0x1df5(_0x3d641e-_0x1a222a._0x13eb53,_0x42a9a5);}return await Promise['all'](_0x2b5ece[_0x5377f9(0x574,0x3c6,_0x5ea0b8._0x34e029,0x36e)](async _0x1641ac=>{return await _0x327d12(_0x1641ac,_0x5b384d);}));},async 'execute'(_0x2b8b03,_0x279a7b){return await _0x327d12(_0x2b8b03,_0x279a7b);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x15d9a2={_0x286d24:0x8f},_0x2f6e16={_0x3e830c:0x1bc,_0x3066b3:0x40a,_0x35df89:0xfd};delegatedRunCounter+=0x1;function _0x5b9f42(_0x14fed8,_0x5a9ec8,_0x17dab9,_0x288e2d){return _0x3342ed(_0x14fed8-_0x2f6e16._0x3e830c,_0x14fed8,_0x288e2d- -_0x2f6e16._0x3066b3,_0x288e2d-_0x2f6e16._0x35df89);}return _0x5b9f42(0x45,-_0x15d9a2._0x286d24,-0x189,-0x29)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x38a2b0,_0x34045f){const _0x5d894c={_0x43cbff:0x3f,_0xa3cc61:0x188,_0xf46ace:0x36},_0x14e6af={_0x544897:0xf7};function _0x589fe8(_0xe6c5b,_0x225808,_0x56ef8e,_0x538161){return _0x257320(_0xe6c5b-0x1c1,_0x225808-_0x14e6af._0x544897,_0x538161- -0x4c1,_0x56ef8e);}return typeof _0x38a2b0===_0x589fe8(_0x5d894c._0x43cbff,_0x5d894c._0xa3cc61,-0xa2,_0x5d894c._0xf46ace)?await _0x38a2b0(_0x34045f):_0x38a2b0;}function getDelegatedAgentDefinition(_0x501943,_0x574b22){const _0x454e9c={_0x1db7bc:0x181};function _0x3d89c8(_0x537206,_0x16a39a,_0x4237ce,_0x11678c){return _0x3342ed(_0x537206-0xec,_0x11678c,_0x16a39a- -0x1c9,_0x11678c-0x143);}return _0x501943[_0x3d89c8(0x1cc,_0x454e9c._0x1db7bc,0xa7,0x39)]?.[_0x574b22];}function _0x2ed3(){const _0x38a3a2=['C2fMzq','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','ignVBxbSzxrLzc4','zNjVBq','zMLSztOVlW','zxHPDenVzgu','zgvSzxrL','A2LSBfjLCxvLC3rLza','BNv2Aw4','l2jPBI9ZAa','zw51Bq','Dhj1zwnVBg9Y','C2HPzNq','CgfZC3rOCM91z2G','yxv0Aa','DgvZDa','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','ANnVBMm','yMLUyxj5tMfTzq','vxbKyxrLihrOzsbZzxnZAw9UihrVCgLJihrVigeGy29Uy2LZzsaZltyGD29YzcbUB3vUihbOCMfZzsb0Agf0ignHChr1CMvZihrOzsbJDxjYzw50ihn1yMPLy3qUcGPdywXSihrOAxmGDg9VBcb3AgvUihrOzsbZzxnZAw9Uj3mGC3vIAMvJDcbIzwnVBwvZignSzwfYig9YihnOAwz0CYb0BYbZB21LDgHPBMCGy2XLyxjSEsbKAwzMzxjLBNqG4Ocuig5VDcbMB3iGBwLUB3iGDgfUz2vUDhmGB3iGy2XHCMLMEwLUzYbZDwiTCxvLC3rPB25ZlIbjzIbUB3rOAw5NigHHCYbTzwfUAw5NzNvSBhKGy2HHBMDLzcWGzg8GBM90ignHBgWGAxqUcGPhB29KihrVCgLJicHUB3vUihbOCMfZzsWGmY02ihDVCMrZktOkicaIrgvIDwCGvfmGz2vUzxjPy3mGzxjYB3iIcIaGiLjLzMfJDg9Yigf1DgGGBwLKzgXLD2fYzsikicaIqwrKifn0CMLWzsb3zwjOB29RigHHBMrSzxiIcGPcywqGDg9WAwmGkgz1BgWGC2vUDgvUy2uGB3iGDMfNDwuPoGOGicjuAguGDxnLCIb3yw50CYb0BYbKzwj1zYbHifr5Cgvty3jPChqGz2vUzxjPy3mGzxjYB3iGAw4GDgHLAxiGChjVAMvJDcikicaIy29KAw5NiG','y2fWywjPBgL0AwvZ','Dgv4DerVy3vTzw50l2rPzenSB3nL','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','lMPWzW','sgLUDa','DxjP','B3b0Aw9UywW','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','zgLYzwn0B3j5','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','lw5i','AxngAw5PDgu','ndG2mZb3qKrRDfm','ihDHCYbHyM9YDgvKlG','yNjVA2vU','s2LSBgvKia','BgLI','CgfYC2u','C2HHmJu2','CMfUz2u','zMLSzvbHDgG','C3rYAxbbBNnP','A2v5','CMvJB3jK','CMvNAw9U','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','yxv0Ag9YAxPHDgLVBL9JB2rL','yNvUlMXVy2S','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','ls1NBg9IpseUz2L0lYO','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','y29KzvzLCMLMAwvY','Aw1Hz2uVANbLzW','y291BNq','ie9sia','z2v0vg9KB3m','ls0T','zgfYAW','v2fYBMLUzW','AwzYyw1L','B3rOzxi','vMLLD2vKigLTywDLigzPBgu6ia','vw5RBM93BIb0B29SoIa','qMvHCMvYia','yMfZAwm','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','rxjYB3i','C2vHCMnOrgvWDgG','vg9KB1DYAxrL','CgfYzw50u2vZC2LVBKLK','Cg5WBs1SB2nRlNLHBwW','tM8GC3vJAcbMAwXLoIaN','yMLVBwu','yw5ZD2vYCW','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','Dg90ywXqCM9KDwnLza','EMfP','C2vUzfjLCxvLC3q','icHWAwqG','Cgf0Ag5HBwu','oIbPBNzHBgLKihbYAw9YAxr5','AM9PBG','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C2H1DgrVD24','C3rHCNrZv2L0Aa','y29Uy2f0','vw50AxrSzwq','Bw9Kzq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','zgf0yq','tM8GAg92zxiGAw5MB3jTyxrPB24','mtaUmc4WlJa','y29UBMvJDa','vxnLihrOAxmGDg9VBcb3AgvUihLVDsbUzwvKihrVigfZAYb0AguGDxnLCIbXDwvZDgLVBNmGzhvYAw5Nigv4zwn1DgLVBI4GvgHPCYbHBgXVD3mGEw91ihrVoGOXlIbhyxrOzxiGDxnLCIbWCMvMzxjLBMnLCYbVCIbYzxf1AxjLBwvUDhmkmI4Gq2XHCMLMEsbHBwjPz3vVDxmGAw5ZDhj1y3rPB25ZcJmUieDLDcbKzwnPC2LVBNmGB24GAw1WBgvTzw50yxrPB24Gy2HVAwnLCYbHCYb5B3uGD29YAWO0lIbpzMzLCIbJAg9Py2vZihrVihrOzsb1C2vYigfIB3v0ihDOyxqGzgLYzwn0Aw9UihrVihrHA2uUcGPvC2fNzsbUB3rLCZOklsbvC2vYCYb3AwXSigfSD2f5CYbIzsbHyMXLihrVihnLBgvJDcaIt3rOzxiIihrVihbYB3zPzguGy3vZDg9TihrLEhqGAw5WDxqklsbvC2uGBxvSDgLtzwXLy3q6ihrYDwuGDg8GywXSB3CGBxvSDgLWBguGyw5ZD2vYCYb0BYbIzsbZzwXLy3rLzcbMB3iGysbXDwvZDgLVBGOTieLMihLVDsbYzwnVBw1LBMqGysbZCgvJAwzPyYbVChrPB24Sig1HA2uGDgHHDcb0AguGzMLYC3qGB3b0Aw9UigLUihrOzsbSAxn0igfUzcbHzgqGiIHszwnVBw1LBMrLzcKIigf0ihrOzsbLBMqGB2yGDgHLigXHyMvS','Bwf4uMvKAxjLy3rZ','mJi0lJaUmc4W','Ag9ZDg5HBwu','D29YA3nWywnLl3n5BwjVBa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','zMLSBa','Bg9JywXLq29TCgfYzq','C3rKzxjYrgvJB2rLCG','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','r2XVyG','ChvIBgLZAgvKqxq','BgLUzu51Bq','tg9HzfnRAwXS','yMLVBwuUANnVBMm','DhjPBuvUza','zxjYB3jZ','C3bHD24','Aw5PDgLHBgL6zwq','zgvMyxvSDa','CMvNzxG','B3bLBG','BgLUzvrLEhq','zMfPBgvK','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','yxnZAwDU','q29Tu3bLyW','C3jJl2v4yw1WBgvZl2rLBw8UDhm','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','AhrTBfnUAxbWzxq','lNrZ','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','AwDUB3jLt3v0Chv0','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','CMvHC29U','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','BxrPBwu','thnW','BxrPBwvnCW','D3jPDgu','zNvUy3rPB24','zgvMyxvSDfrPBwvVDxrnCW','CMfUzg9T','y2XPzw50x3nLy3jLDf9WB3n0','yNvMzMvYq2HHCNm','BgLZDfrVB2XZ','y29UDgvUDa','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','C2L6zq','zw5NAw5LCW','tuvesvvn','y29UDgv4Da','C2HLBgXqyxrO','Aw5JBhvKzq','igzHAwXLzc4','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ygbG','A2v5yMLUzgLUz3m','zMXHDe1HCa','DhvYBMrVD24','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','DhLWzxnJCMLWDhjLywn0','CNvUBMLUzW','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','zMLUza','sw52B2TLq29TBwfUza','lI4U','u2HLBgWGBM90igzVDw5KoIa','z2XVyG','C2XPy2u','CgXHAw4','CMvMCMvZAf90B2TLBG','Dg9Rzw5tDg9YywDLs2v5','C3rYAw5N','zMLUywXnzxnZywDLvgv4Da','lMjPBG','y29TBwfUzhm','qMfZAa','C3LTBgLUAW','DxrTx21LzgL1Bq','zgv0ywLS','Aw52ywXPzf9XDwvZDgLVBNm','BgvUz3rO','CMvZDwX0','wZ0+nY04kcLD','BM9Zy3jPChq','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','BMf2','C2nYDwjfBNzlzxLZ','yw50AhjVCgLJ','B3bLBMfP','y2HHCMfJDgvY','v2LUr2v0','B3bLBMfPlxjLC3bVBNnLCY13CW','te9x','y2f0y2G','Dg9vChbLCKnHC2u','CMLWz3jLCa','zgvSAw1PDgvY','zxH0BMfTzq','y2XPzw50CW','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ugf0AcbPCYbUB3qGysbMAwXLoIa','BxvSDgLtzwXLy3q','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','vg9Vig1HBNKGCMvKAxjLy3rZ','ls1MAwXLCW','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','C3jJl3nOyxjLzc90ExbLCY50CW','r09pr0Xfx0ntrv9dwa','D29YA3nWywnLu3LTyM9S','Dg9Rzw5Z','Aw5JBhvKzxm','ode5nZy1rM9vrg14','ywXSB3DLzfrVB2XZ','DxrMoa','ChjVDg9JB2W','y29ZDa','C2vYDMvYCW','yw50AhjVCgLJlw1LC3nHz2vZ','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cI0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqklsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKklsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSklsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcI0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcI0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9Uzxmklsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cI0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcI0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqklsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cI0GvgvZDhmGyxjLigzHAwXPBMCklsbjBxbSzw1LBNrHDgLVBIbPCYbWyxj0AwfScI0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcI0Gww91ignVDwXKBID0igzPBMqGBMvJzxnZyxj5igzPBgvZig9YigrLCgvUzgvUy2LLCWOknc4GkIPuyxnRiejYzwfRzg93BIOQoGOTienYzwf0zsbZCgvJAwzPyYWGywn0Aw9UywjSzsbPDgvTCWOTiejYzwfRignVBxbSzxGGDgfZA3mGAw50BYbZBwfSBgvYlcbTyw5Hz2vHyMXLihn0zxbZcI0GvxnLignSzwfYlcbKzxnJCMLWDgL2zsb0yxnRig5HBwvZcGPxAgvUigLUigrVDwj0lcb1C2uGDgHPCYb0B29SlIbczwLUzYbWCM9Hy3rPDMuGD2L0Acb0yxnRig1HBMfNzw1LBNqGzgvTB25ZDhjHDgvZigf0DgvUDgL2zw5LC3mGyw5KigvUC3vYzxmGEw91ignVBxbSzxrLigfSBcbYzxf1AxjLBwvUDhmGC3vJy2vZC2z1BgX5lG','DhnZzxj2zxiUANm','CxvLC3rPB24','Bg93','zgLZCg9Zzq','phn5C3rLBs1Yzw1PBMrLCJ4','B2zMC2v0','Ag9TzwrPCG','DgfZAW','r0Lusfvcx0fdq0vtu19ut0TftG','C2vUze5VDgLMAwnHDgLVBG','BgLZDgvU','Dg90ywXeCM9WCgvK','C2HLBgXjza','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','y2fWq2HHCNm','v2vIrMv0y2G','BhnWu2vYDMLJzq','tM8GCMvZDwX0CYbMB3vUzc4','CNvUswq','yNvUlMXVy2TI','yMfJA2DYB3vUzfjLz2LZDhj5','vMLLDYbHBIbPBwfNzsbMAwXLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZihnVihrOzsbTB2rLBcbJyw4GAw5ZCgvJDcbPDhmGDMLZDwfSignVBNrLBNqUifn1ChbVCNrZifborYWGsLbfrYWGv2vIucWGyw5KieDjrIbPBwfNzxmUifvZzsb0AgLZigzVCIbZy3jLzw5ZAg90CYWGzgLHz3jHBxmSihbOB3rVCYWGyw5Kig90AgvYigLTywDLigzPBgvZoYb1C2uGrMLSzvjLywqGzM9YihrLEhqGzMLSzxmU','mJqWlJaUmc4W','zgLYBMfTzq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','C3jJl2fNzw50l2fNzw50lNrZ','BwvZC2fNzq','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','zgf0zxrPBwu','C3rKB3v0rgvJB2rLCG','C3bSAxq','CgLK','B2f1DgG','DxrTx3rLCM0','yxr4','u0HfteW','zgLNzxn0','sfruuca','B2XKvgv4Da','ywrK','ls1OAwrKzw4','AwDUB3jL','Ahr0Ca','C3rHCNreAxi','CMvZDwX0CW','xsb0CMfUC3bVCNqGzxjYB3i6','seLhsa','DhLWzxnJCMLWDa','Bwf4q29Uy3vYCMvUDa','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbJB21Tyw5KigrVzxmGyw5KihDOEsb5B3uGyxjLihj1BM5PBMCGAxqG4OcuihrOzsbNB2fSigL0igfKDMfUy2vZlIbtAg93BIb0BYb0AguGDxnLCIbIzwzVCMuGzxHLy3v0Aw9UlIbczsbZCgvJAwzPyYWGzs5NlIaNuNvUihrOzsbHDxrOihrLC3rZihrVihzLCMLMEsb0AguGDg9Rzw4TCMvMCMvZAcbMAxGNihjHDgHLCIb0AgfUicDYDw4GDgvZDhmNlG','BhnWlxbYB3H5','rM91BMqG','CMvHzen1CNnVCG','Aw1Hz2vZ','z29Vz2XLlwnZzq','y3jSzG','C3rHDgu','ChjLCgfYzunHBgXiAwvYyxjJAhK','CMvJzw5JEurHExm','ru5pru5u','igj5DgvZicHVCMLNAw5HBdOG','ywjVCNrLza','Aw5JB21PBMDdywXSCW','AgfUzgXL','zxHPDgvK','mc4WlJaUma','DhnJ','qxnZAwDUvgfZAW','Aw52ywXPzf90B2rVx2L0zw0','CMvWBgfJzq','yxjYyxK','B2XSyw1H','y2XLyxi','yNL0zuXLBMD0Aa','zMLSzq','zw5NAw5L','cGPbuKDvtuvovfm6ia','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','y2HHCKnVzgvbDa','uhvIBgLZAgvKoIa','Bg9VA3vW','B2zM','DhLWzq','DxbKyxrL','C2v0','BM90Awz5','AhLKCMf0zu1LDge','BgfUzW','mc4WlJa','qvbjx0Tfwq','CgfJA2fNzs1SB2nRlMPZB24','yNvMzMvY','y2fSBgjHy2TvCMW','r3jLCa','CgXHAw50zxH0','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','zMLSzvzLCNnPB25Z','BgfZDeLUzgv4t2y','yw5ZAti1nG','z2L0qNjHBMnO','C2vUza','BgLTAxq','AMf2yxnJCMLWDhjLywn0','Dg9KB3m','z2L0AhvI','yxbPs2v5','DhjPBq','z2v0u3rHDhm','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','lNrZEa','CMvMzxjLBMnLCW','Aw1Hz2uVD2vICa','y2vPBa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','mJa5mZuWnej4r2rArW','CgfYC2vjBNq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','BM93','y2XPzw50','Aw1WBgvTzw50yxrPB24','BgLUzvn0yxj0','vg9KBYa','uhjVz3jHBuzPBgvZ','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','CgfJA2fNzs5QC29U','BhmGlwXH','s2LSBfnOzwXS','zw5HyMXLza','DgLTzw91De1Z','AxnfBMfIBgvK','Dgv4DerVy3vTzw50l2rPze9Wzw4','C2vZC2LVBKLK','lMnQCW','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','CMvSyxrPDMu','y29UDgvUDc10ExbL','C3rKAw8','zxzPy3rjzK5LzwrLza','Bwf4','B3v0Chv0','qMfZAe91Dhb1Da','ywXSB3DLzerPCNm','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','Aw52ywXPzf90B2rVx3bYAw9YAxr5','BgLNAhq','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','ls1YzwDLEha','DgL0Bgu','l3vZCI9IAw4VC2G','mtKYlJaUmc4W','B2jQzwn0','C2H1DgrVD25tDgfYDgvK','yxbWBgLJyxrPB24VANnVBG','CNvUsw5cywnRz3jVDw5K','u0Lhs0Lmta','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','z29Vz2XLq3nLs2v5','rxHLy3v0zsbHihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24UienHChr1CMvZihn0zg91DcbHBMqGC3rKzxjYlIbeBYbUB3qGDxnLigzVCIbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1Dc4Grg8GBM90ihvZzsbMB3iGCMvHzgLUzYbMAwXLCYaODxnLiezPBgvszwfKigLUC3rLywqPlIbtzxqGCNvUsw5cywnRz3jVDw5KoNrYDwuGzM9YigXVBMCTCNvUBMLUzYbJB21Tyw5KCYaOC2vYDMvYCYWGD2f0y2HLCNmPoIbPDcbYzxr1CM5ZigeGC2HLBgXjzcbPBw1LzgLHDgvSEsdIGjqGCMvHzcbVDxrWDxqGD2L0AcbcyxnOt3v0Chv0igfUzcbZDg9WigL0ihDPDgGGs2LSBfnOzwXSlIbetYbot1qGvvnfiejbu0GGve9ptcbMB3iGCMvHzcbMAwXLihvZzsbgAwXLuMvHzc4Gww91ie1vu1qGChjVDMLKzsbHignVBMnPC2uGygrLC2nYAxb0Aw9UycbLEhbSywLUAw5NihDOyxqGDgHLignVBw1HBMqGzg9LCYbHBMqGD2H5ihLVDsbHCMuGCNvUBMLUzYbPDcaODgHLigDVywWGAxqGywr2yw5JzxmPiokaLcbPDcbPCYbZAg93BIb0BYb0AguGDxnLCIbMB3iGDhjHBNnWyxjLBMn5igjLzM9YzsbLEgvJDxrPB24U','mtmZnZq0mfzxt3fRtq','Bwv0yq','CgfNzw1HCa','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','C3rVCMfNzurPCG','CxvLC3rPB25Z','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','AgvHzgvYCW','CM9VDa','r09pr0Xfx0ntrv9lrvK','ywXS','ywn0AxzL','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BMv3vgv4Da','mtKYlJe2oc4WlJa','BwfYA2rVD24','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','BwfUDwfS','Dg9VBenHBgXjza','zxjYB3jnzxnZywDL','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','lMPWzwC','A2v5CW','rMLSzuvKAxq','pc9ZExn0zw0TCMvTAw5Kzxi+','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Bwf4qNL0zxm','yMLVBwuUANnVBG','A2LSBa','zMv0y2HjBxbS','qwXSia','BM9Kzv9TB2r1BgvZ','ANnJB25MAwCUANnVBG','ndu5mJa4AeTfCuj3','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','BwfW','y2XLyw51Ca','mtCYlJe2lJaUma','C3rKB3v0','Aw5ZDgfSBa','zgLHz25VC3rPy3ngB3jgAwXL','CMCUzxHL','CMvTB3zL','tuLosu1bwf9bueLFs0vz','BwvKAxvT','AgfZq2XPzw50CW','CMfUAW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','Aw5PDgLHBgL6yxrPB24','Dhj1BMm','BMfTzq','EwfYBI5SB2nR','cMbGya','Aw5ZDhj1y3rPB25Z','vw5HDxrOB3jPEMvKrxjYB3i','twLJCM9ZB2z0','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','BNbT','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','C3bHD25PBMC','yMfZzty0','z29uB0LTCgXLBwvUDgf0Aw9U','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','tNv2Aw4','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','Cg9W','zhj5uNvU','ywjVCNq','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','AxnjBNrLz2vY','D2LUmZi','B25oB3rPzMLJyxrPB24','y2fJAgvK','ChjLzML4','C2vYDMvYtMfTzq','l29WDc9OB21LyNjLDY9IAw4VCMC','tM8GzgLHz25VC3rPy3m','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Dg9Rzw4','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','lMPZB24','Dg9mB3DLCKnHC2u','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','uKLgrG','vMLLD0zPBgu','D2vI','zMLYC3q','Dg9KB3ncEvnLC3nPB24','l3vZCI9SB2nHBc9IAw4VCMC','yxr0CG','rMv0y2GGDgLTzwqGB3v0','ugf0AcbUB3qGzM91BMq6ia','y2XVC2u','lNDLyNa','yw5ZAte2','Aw52ywXPzf90B2rVx2nVBNrLBNq','Dg90ywW','CMvZB2X2zq','DMfSDwu','Bwf0y2HLCW','lMnTza','Bg9JyxrPB24','yxjNDw1LBNroyw1LCW','zxH0zw5ZAw9UCW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','yM9VBgvHBG','zg5Zl3bYB21PC2vZ','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','Ag92zxi','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','ChvZAa','DhjHBNnMB3jTCW','Dg9tDhjPBMC','AxngAwXL','zMLSDgvY','BM9Uzq','o1TExg5DkJ8','C2vHCMnOugfYyw1Z','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C2nVCgvZ','ls1NBg9Ipq','BgfUz3vHz2u','v0vcua','oIbJB250zw50ihjLCxvPCMvK','igj5DgvZicH0B3rHBdOG','te9dquXbufbeqvrb','ls1NBg9I','Bwf4rw50CMLLCW','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','sw5MB3jTyxrPB24','qxnRvxnLCLrVB2W','mJG4mZaYqMnNwLbS','l3bPza','B3b0Aw9UCW','zgvMAw5PDgLVBG','lMPZEa','z2vUzxjHBa','u3rHCNrLzcbHz2vUDcbYDw4G','Axnoyu4','B3bLBNjVDxrLCG','DhnJB25MAwCUANnVBG','yxjNDw1LBNrZ','AxndB250zxH0','DMvYAwzPzxi','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','Dgf2AwX5','y29TBwfUza','C3rHDhvZ','Bg9HzfnRAwXS','CgXHDgzVCM0','Aw1Hz2u','Dgf2AwX5qxbPs2v5','u2TPBgWGjW','Agv4','y2XPzw50twv0ywrHDgfvCMW','Ahr0CdO','CxvLC3rPB24T','ywDLBNrjza','C2vSzwn0Aw9UuMfUz2u','lM10CW','Dg9VBa','ANnVBG','CNnZ','qwDLBNqGCNvUia','tu9ptLnit1rFqvbjx0Tfwq','mZm5otbtz0TizxK','qxv0Ag9YAxPHDgLVBG','Dhj1BMnHDgvK','ChjPB3jPDhK','C3vKBW','zw52','BhnW','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','v2vIu2vHCMnO','zxHPDcbJB2rLia','rMv0y2GGywjVCNrLzcbIEsb1C2vY','ls1ZDgrPBW','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','D2HPy2GGCMC','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','C2vYDMvYswq','C29Tzq','ienHDxnLoIa','rgv0ywLSoIa','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','o1TE','CgfZC3DVCMq','w291Dhb1Dcb0CNvUy2f0zwq6ia','AxnbCNjHEq','y2XPzw50sw5MB3jTyxrPB24','B3jPz2LUvg9VBenHBgXjza','tunqihnLCNzLCIa','BNvTyMvY','ywXSu2v0DgXLza','DgLTzvTKyxrLDgLTzv0','BwLUAw1HEa','Dgv4DerVy3vTzw50l2HVDMvY','AMf2yxnJCMLWDa','Dw5PB24','ChjVy2vZC0v4AxrLza','Cgf0DgvYBG','Dg9WAwm','Aw52ywXPzf90B2rVx2LK','Aw5PDgLHBgL6zq','C291CMnL','C3rHDhvZvgv4Da','B25Jzq','Ag9ZDa','oeDVsxfetq','w1bFxL1BxhnCu10QpW','C2TPBgXZ','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','y291BNrLCG','zMXVB3i','C2vYDMvY','Dgv4Dc9ODg1S','ywDLBNrZ','y29UDgv4DeXPBMS','iYmGu2TPBgW6ia','DxjS','yMLYDgH0Aw1L','Aw5KzxHpzG','l2jPBI9IyxnO','DMfSDwvZ','q291BgqGBM90ihjLC29SDMuGAg9ZDa','y29TCgXLDgvK','lunVBw1HBMq','zgvUBY5QC29U','zw50CMLLCW','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','lMPZ','y3DK','Dg9VBhm','yxv0AfjLCxvPCMvK','Bg9HzenVBw1HBMq','cGOTls0kcG','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','yxjNCW','mtK4lJe4lJaUma','BgLUzuvUza','DgHPBMTPBMC','A2LSBgvK','ue9tva','AgfZ','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','CxvLCNK','y29UzMLN','zgLHz25VC3rPy3m','CMLWz3jLCcbMywLSzwq6ia','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','uefusa','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','C29YDa','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','Dg9VBe5HBwu','C3rYAw5NAwz5','rMLSzvjLywq','Aw5FChjVz3jLC3m','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','B3bLBMfPlxjLC3bVBNnLCW','rMLSzsb3CML0DgvUigf0ia','y29Kzq','AgLNAa','CgfJA2fNzxm','z29uB0rLzMLUAxrPB24','z2v0','zg9JDw1LBNrtEw1IB2W','zgvMyxvSDen3za','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','lNbUzW','yxnPzgu','B3bLBKzPBgvZ','yxv0BW','y2HHBMDL','Aw1Hz2uVz2LM','zMLUzfjLzMvYzw5Jzxm','CgLWzq','Aw5JBhvKzv9KB21HAw5Z','zgf0zvjLC3rYAwn0','t1bftLjpvvrfuL9bueLFs0vz','B25LCNjVCG','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','Dg9VBfjLC3vSDhm','oIbPzcbYzxf1AxjLza','lcbpChrPB24G','r0LgodLH','BgL0zxjHBa','BgLUAW','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','zgvZy3jPChrPB24','Bw9VBNnOB3q','lNrTCc4','ls1WCMvMAxG','Cgf0Aa','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','yM0Ynq','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','yxbWzw5K','tg9HzgvKigzYB206ia','Dg9ju09tDhjPBMC','zw5K','y21KlMv4zq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBG','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','B3bLCMf0Aw9U','Dw5RBM93BG','C2v0vg9KB3m','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','C2LNBMfS','C3rHCNq','C3vIyxjYyxK','uxvLC3rPB24G','BgLUzq','C2L0ztO','vg9WAwmGC2v0ihrVici','u2L6ztOG','C25PChbLDa','zxzLCNK','Dgv4Da','zg9TywLUCW','ChjVy2vZCW','CMvXDwvZDa','yxnJAwK','Aw52ywXPzf90B2rVx3n0yxr1CW','ignOyxjZigrYB3bWzwrDcG','AxrLBxm','y2HPBgq','DxrTx2nVBNrLBNq','y29UC3rYDwn0B3i','DxnLCM5HBwu','yxjNDw1LBNrZvgv4Da','C3rKzxjY','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','yMfZzw5HBwu','icHZDgf0Dxm6ia','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','tM8GC3LTyM9SCYbMB3vUza','l3vZCI9IAw4VCMC','ndbbseHYrxO','z2nSAwq','CgfJA2fNzu5HBwu','CgvUzgLUzW','mty5lJi1nc4WlJa','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','yMvHCMvY','B2C6DxbKyxrLzf90Aw1L','lM51DMLU','mti1tKjYC1vN','zxjYB3i','zxHPDa','zgLZy292zxj5u3rHDgu','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','revfueLorLjbx0fqsv9lrvK','tuLnrtOG','BwLU','w01duca','Aw1Hz2uVCg5N','zM9VDgvY','CMvHza','yxjNDw1LBNriAw50','zMLUywXnzxnZywDL','zgvSzwDHDgvKlxj1BI0','D2HLCMuGCMC','ls1MB2XSB3C','AxneAxjLy3rVCNK'];_0x2ed3=function(){return _0x38a3a2;};return _0x2ed3();}function createRunSummary(_0x203c48){const _0x4129f9={_0x376317:0x5e,_0x4384cf:0x61,_0x3cc8b6:0x40a,_0x272e06:0x535,_0x21181e:0x526,_0x115848:0x1b3,_0x2d69ec:0x1b0,_0x253f9e:0x27e,_0x270d25:0x21b,_0x30b7b9:0x14e,_0x504e20:0x5c,_0x3eacd1:0x12f,_0x26314b:0x162,_0x4cc451:0x510,_0x36afd0:0x516},_0x295fd9={_0x159390:0x192},_0x2bab25={_0x3c8299:0x52,_0xe736af:0x70};function _0x53f8e1(_0x485fb0,_0x4ac112,_0x115015,_0xa6bfed){return _0x257320(_0x485fb0-_0x2bab25._0x3c8299,_0x4ac112-0x111,_0x485fb0-_0x2bab25._0xe736af,_0x115015);}function _0xf4886e(_0x348409,_0x409e7a,_0x461eec,_0x1fd42a){return _0x257320(_0x348409-_0x295fd9._0x159390,_0x409e7a-0x41,_0x348409- -0x4ff,_0x1fd42a);}return{'runId':_0x203c48[_0xf4886e(_0x4129f9._0x376317,0xad,_0x4129f9._0x4384cf,0x78)],'agentId':_0x203c48[_0x53f8e1(_0x4129f9._0x3cc8b6,0x394,0x2aa,_0x4129f9._0x272e06)],'sessionId':_0x203c48[_0x53f8e1(0x34d,0x3fb,0x48d,0x481)],'status':_0x203c48['status'],'parentSessionId':_0x203c48[_0x53f8e1(_0x4129f9._0x21181e,0x4a6,0x4b8,0x64e)],..._0x203c48[_0xf4886e(-0x143,-0x4b,-_0x4129f9._0x115848,-_0x4129f9._0x2d69ec)]!==void 0x0?{'originToolCallId':_0x203c48['originToolCallId']}:{},..._0x203c48[_0xf4886e(-0x1f2,-0x1f5,-_0x4129f9._0x253f9e,-_0x4129f9._0x270d25)]!==void 0x0?{'errorMessage':_0x203c48[_0x53f8e1(0x37d,0x22f,0x37d,0x425)]}:{},..._0x203c48[_0xf4886e(0x23,0x184,_0x4129f9._0x30b7b9,-_0x4129f9._0x504e20)]?.[_0xf4886e(-0x93,-_0x4129f9._0x3eacd1,0x1,-_0x4129f9._0x26314b)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x203c48['result'][_0x53f8e1(0x4dc,_0x4129f9._0x4cc451,_0x4129f9._0x36afd0,0x388)])}:{}};}function createRunSummaryOutput(_0x36a0ad,_0x294a28){const _0xe2cfb7={_0x1b6fc5:0x14e,_0x5a7824:0x20c,_0x568262:0x26f,_0x1c46c9:0x14d,_0x39e83b:0x2c3,_0x4ef0cf:0x3e1,_0x45d5a4:0x14a},_0x418cd4={_0x266653:0x91,_0x3cb621:0x1a6};function _0x5bac04(_0x303472,_0x3ecdb7,_0x2751a1,_0x376dd6){return _0x257320(_0x303472-0x123,_0x3ecdb7-0x1a2,_0x2751a1- -0x3cb,_0x3ecdb7);}function _0x126e02(_0x4a7488,_0x2d8bed,_0x1594ac,_0x59a74b){return _0x3342ed(_0x4a7488-_0x418cd4._0x266653,_0x2d8bed,_0x4a7488- -0x1d2,_0x59a74b-_0x418cd4._0x3cb621);}const _0x21f2bd=createRunSummary(_0x36a0ad),_0x420942=_0x21f2bd[_0x5bac04(0x22,0x268,_0xe2cfb7._0x1b6fc5,_0xe2cfb7._0x5a7824)];return createToolOutput(typeof _0x420942===_0x5bac04(0x22b,_0xe2cfb7._0x568262,_0xe2cfb7._0x1c46c9,0x29)&&_0x420942[_0x126e02(_0xe2cfb7._0x39e83b,_0xe2cfb7._0x4ef0cf,_0xe2cfb7._0x45d5a4,0x2ca)]>0x0?_0x420942:_0x294a28,_0x21f2bd);}function getRunTerminalErrorMessage(_0x57baf7){const _0x5a7588={_0x27af91:0x427,_0x52ea29:0x108,_0x5aa768:0x344,_0x249d4a:0xb5},_0x451bef={_0x284260:0x14d},_0x3f501d={_0x42ae7f:0xa1};function _0x4c49a7(_0x350566,_0x251a03,_0x1a0473,_0x4c4211){return _0x257320(_0x350566-0x151,_0x251a03-_0x3f501d._0x42ae7f,_0x4c4211- -0xdb,_0x251a03);}const _0x4eaffc=_0x57baf7?.['state'][_0x4c49a7(0x2dc,0x233,_0x5a7588._0x27af91,0x33f)]['at'](-0x1);if(_0x4eaffc?.['status']===_0x5b619c(0x3b7,0x298,0x1a5,0x283)&&_0x4eaffc[_0x5b619c(0x4b,0x271,0xca,_0x5a7588._0x52ea29)]['trim']()[_0x5b619c(0x21a,0x413,0x215,_0x5a7588._0x5aa768)]>0x0)return _0x4eaffc[_0x4c49a7(0x11b,0xd0,_0x5a7588._0x249d4a,0x20a)];function _0x5b619c(_0x487655,_0xa79ade,_0x3bebd0,_0x5ae02c){return _0x3342ed(_0x487655-0xba,_0x487655,_0x5ae02c- -0x151,_0x5ae02c-_0x451bef._0x284260);}return void 0x0;}function formatAbortedRunMessage(_0x5b1da3,_0x17cd33){const _0x5168db={_0x493e30:0x4b2,_0x2562d3:0x68c,_0xb5a8ae:0x57b,_0x187c58:0x24e,_0x43bb96:0xc9,_0x47bd6b:0x2a9,_0x282ca5:0x3fb,_0x12ca76:0x19b,_0x3294f8:0x2ce},_0x1f4328={_0x488d17:0x197,_0x18c6f7:0x18d},_0x30d599={_0x4a9446:0x3c},_0x2690de=_0x28c6c2(_0x5168db._0x493e30,_0x5168db._0x2562d3,_0x5168db._0xb5a8ae,0x6e3)+_0x5b1da3+_0x342584(0x363,0x279,_0x5168db._0x187c58,0x3ae);if(!_0x17cd33||_0x17cd33[_0x342584(_0x5168db._0x43bb96,0xaa,-0x14,0xb7)]()[_0x342584(0x34d,0x308,_0x5168db._0x47bd6b,_0x5168db._0x282ca5)]===0x0||_0x17cd33===_0x2690de)return _0x2690de;function _0x28c6c2(_0x10d925,_0x34bdf1,_0xd4bf7e,_0x3b39fe){return _0x257320(_0x10d925-0x11d,_0x34bdf1-_0x30d599._0x4a9446,_0xd4bf7e-0x1db,_0x34bdf1);}function _0x342584(_0x1a54da,_0x52065d,_0x32aeff,_0x1c1c59){return _0x3342ed(_0x1a54da-_0x1f4328._0x488d17,_0x32aeff,_0x52065d- -_0x1f4328._0x18c6f7,_0x1c1c59-0x41);}return _0x2690de+_0x342584(0x7e,_0x5168db._0x12ca76,_0x5168db._0x3294f8,0x2d3)+_0x17cd33;}function createAssignTaskTool(_0x470130){const _0x2637a6={_0x10d0f2:0x5b7,_0xc6743:0x47c,_0x38fe45:0x47f,_0x11855d:0x3f0,_0x181e64:0x209,_0x42b87b:0xe1,_0x39ef80:0x14,_0x5b4a1e:0x1b3,_0x2ff099:0xe6,_0x34fcef:0x406,_0x2b5f61:0x31e,_0x238955:0x4e6,_0x22e4ec:0x288,_0x33d4ab:0x28d,_0x4f5fcc:0x30f,_0x2b586b:0x3fa,_0x29d0c8:0xf1},_0x42e1f4={_0x525acf:0x5c,_0x202f85:0x3d,_0x11a580:0x15,_0x2137d4:0x34a,_0x582350:0x3cc,_0x520ace:0x3fb,_0xe85414:0x3c7,_0x5eb9d7:0x45d,_0x33c33f:0x203,_0xedd309:0x151,_0x1c6d51:0x11b,_0x5c4900:0x3f3,_0x252166:0x94,_0x5c544a:0xdc,_0x37ada4:0xfd,_0x2f72ef:0x42,_0x1be2d7:0x7f,_0xe161be:0x5f6,_0xeafc48:0x489,_0x1f71f2:0x393,_0xdf0956:0x354,_0x221f8e:0x2cd,_0x287865:0x15e,_0x21ff4a:0x494,_0x2aee84:0x3fb,_0x1a427b:0x525,_0x37eaa0:0x315,_0x3ff695:0x434,_0x2da4b7:0x526,_0x167882:0x540,_0x341c04:0x645,_0x573026:0x6f,_0x21df51:0x29,_0x3b286a:0x147,_0x306ad0:0x64c,_0xee694f:0x553,_0x2bd8c3:0x3e9,_0x54cfba:0x367,_0x150825:0x3e4,_0x35e81b:0x35,_0x56b5dc:0x4df,_0x4c200f:0x47f,_0x19e03e:0x53d,_0x11f1e9:0x9,_0x108a4a:0x10b,_0x232246:0x2d2,_0x2e060f:0x39,_0x3f9447:0x1b,_0x2aa206:0x1f,_0x1c15cc:0x14b,_0x539298:0x1f,_0x2092af:0x501,_0x1873ad:0x48f,_0x34bb49:0x128,_0x21d4dd:0x240,_0x6a0a93:0x5cd,_0x246cb4:0x4e0,_0x5c2690:0x5e3,_0x18feb8:0x173,_0x5bea96:0x1c7,_0x28caed:0x1d9,_0x2278f4:0xbc,_0x35d052:0x1bc,_0x5f05d3:0x21e,_0x5e6f89:0x1b6,_0x43b75d:0x266,_0x4f9f58:0x1ae,_0x87809c:0xdd,_0x48a6df:0x2b1,_0x4500ba:0x1a4,_0x49b0fe:0x284,_0x276716:0x128,_0x1d0907:0x99,_0x210cde:0xf,_0x3d798b:0x5de,_0x28fae3:0x725,_0x25aa49:0x5f4,_0x3b3eec:0x502},_0x47d533={_0x4bf4b8:0x79,_0x4e6ebe:0x29d},_0x184842={_0x2c564b:0x86,_0x38d6c1:0xb1};function _0x4ecb8a(_0x3ba551,_0x4c4ebc,_0x31dbfb,_0x391833){return _0x3342ed(_0x3ba551-0xf2,_0x31dbfb,_0x4c4ebc- -_0x184842._0x2c564b,_0x391833-_0x184842._0x38d6c1);}function _0x3da8cd(_0x4a9458,_0x3b3099,_0x766ca5,_0x5922cc){return _0x257320(_0x4a9458-0xb9,_0x3b3099-0x1d0,_0x5922cc- -0x3d6,_0x4a9458);}return defineTool({'name':_0x4ecb8a(_0x2637a6._0x10d0f2,_0x2637a6._0xc6743,_0x2637a6._0x38fe45,_0x2637a6._0x11855d),'description':_0x4ecb8a(_0x2637a6._0x181e64,0x31d,0x439,0x42e),'inputSchema':{'type':_0x3da8cd(-_0x2637a6._0x42b87b,-_0x2637a6._0x39ef80,-_0x2637a6._0x5b4a1e,-_0x2637a6._0x2ff099),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':_0x4ecb8a(0x3b7,_0x2637a6._0x34fcef,_0x2637a6._0x2b5f61,_0x2637a6._0x238955)},'task':{'type':_0x3da8cd(0x181,0x22a,0x15e,0x142)}},'required':[_0x4ecb8a(0x1cc,_0x2637a6._0x22e4ec,_0x2637a6._0x33d4ab,0x2a4),_0x4ecb8a(0x2cd,_0x2637a6._0x4f5fcc,0x2a1,_0x2637a6._0x2b586b),_0x3da8cd(_0x2637a6._0x29d0c8,0x26b,0x8,0x17c)]},async *'execute'(_0x3958a1,_0x283d1a){const _0x1676bf={_0x4f9b5d:0x122,_0x3277f6:0x1ad,_0x45db6f:0x33,_0x146414:0x42,_0x5104a4:0xa3,_0x427607:0x20b,_0xe44714:0xb7,_0x32f20a:0x14b},_0x1e57ad={_0x3a604b:0x1ac,_0x3a2f6f:0xd6},_0x3392d8={_0x307262:0xce},_0x46764c={_0x3d3bb6:0xbc},_0x202a1c=createDelegatedRunId(),_0x4129c0={'agentId':_0x3958a1[_0x17b033(0x9e,-_0x42e1f4._0x525acf,-_0x42e1f4._0x202f85,-_0x42e1f4._0x11a580)],'parentSessionId':_0x283d1a[_0x3fb9aa(_0x42e1f4._0x2137d4,_0x42e1f4._0x582350,0x544,0x290)],'runId':_0x202a1c,..._0x283d1a[_0x3fb9aa(0x40e,_0x42e1f4._0x520ace,_0x42e1f4._0xe85414,_0x42e1f4._0x5eb9d7)]!==void 0x0?{'toolCallId':_0x283d1a[_0x17b033(-_0x42e1f4._0x33c33f,-_0x42e1f4._0xedd309,-_0x42e1f4._0x1c6d51,-0xa3)]}:{}};function _0x17b033(_0x3c1ad8,_0x2b7531,_0x575680,_0x2e27cc){return _0x4ecb8a(_0x3c1ad8-_0x47d533._0x4bf4b8,_0x2e27cc- -_0x47d533._0x4e6ebe,_0x3c1ad8,_0x2e27cc-0x1ee);}const _0x48f691=getDelegatedAgentDefinition(_0x470130,_0x3958a1[_0x3fb9aa(0x3ba,0x489,_0x42e1f4._0x5c4900,0x4fd)]);if(!_0x48f691)throw new ToolExecutionError(_0x17b033(_0x42e1f4._0x252166,_0x42e1f4._0x5c544a,-0x73,0x81)+_0x3958a1[_0x17b033(_0x42e1f4._0x37ada4,-_0x42e1f4._0x2f72ef,-_0x42e1f4._0x1be2d7,-0x15)],{'agentId':_0x3958a1[_0x3fb9aa(_0x42e1f4._0xe161be,_0x42e1f4._0xeafc48,0x51d,_0x42e1f4._0x1f71f2)]});const _0x2eb64f=new Agent(await resolveDelegatedAgentOptions(_0x48f691,_0x4129c0));let _0x3a914d={'runId':_0x202a1c,'agentId':_0x3958a1[_0x3fb9aa(0x5b5,0x489,0x438,_0x42e1f4._0xdf0956)],'sessionId':_0x2eb64f[_0x3fb9aa(0x31e,0x3cc,0x4d9,_0x42e1f4._0x221f8e)],'status':_0x17b033(0x1c1,0x2c3,0x1d9,_0x42e1f4._0x287865),'parentSessionId':_0x283d1a['sessionId'],..._0x283d1a[_0x3fb9aa(_0x42e1f4._0x21ff4a,_0x42e1f4._0x2aee84,0x2d8,0x3d7)]!==void 0x0?{'originToolCallId':_0x283d1a[_0x3fb9aa(_0x42e1f4._0x1a427b,0x3fb,_0x42e1f4._0x37eaa0,_0x42e1f4._0x3ff695)]}:{}};const _0x5e7e8b=new AbortController();function _0x3fb9aa(_0x4988a4,_0x5e7044,_0x28e5ef,_0x351dc1){return _0x4ecb8a(_0x4988a4-_0x46764c._0x3d3bb6,_0x5e7044-0x201,_0x28e5ef,_0x351dc1-0xfd);}const _0x2ac7dc=addAbortListener(_0x283d1a[_0x3fb9aa(0x4ea,_0x42e1f4._0x2da4b7,_0x42e1f4._0x167882,_0x42e1f4._0x341c04)],()=>{function _0x100137(_0x217f6b,_0x1ed32f,_0x363b58,_0x435849){return _0x17b033(_0x435849,_0x1ed32f-0xdf,_0x363b58-_0x3392d8._0x307262,_0x217f6b- -0xb2);}function _0xcb2815(_0x5077da,_0x5b8803,_0x5ef7c6,_0x70ec7){return _0x17b033(_0x5077da,_0x5b8803-_0x1e57ad._0x3a604b,_0x5ef7c6-_0x1e57ad._0x3a2f6f,_0x5b8803- -0x8b);}_0x5e7e8b[_0x100137(-_0x1676bf._0x4f9b5d,-0x47,-0xed,-_0x1676bf._0x3277f6)](_0x283d1a[_0x100137(-0x2a,-_0x1676bf._0x45db6f,-_0x1676bf._0x146414,_0x1676bf._0x5104a4)]?.[_0xcb2815(_0x1676bf._0x427607,_0x1676bf._0xe44714,_0x1676bf._0x32f20a,0x179)]);});yield createToolOutput(_0x17b033(_0x42e1f4._0x573026,_0x42e1f4._0x573026,-0x121,-_0x42e1f4._0x21df51)+_0x3a914d[_0x17b033(0x1d5,_0x42e1f4._0x3b286a,0x227,0x1ae)]+'.',{'runId':_0x3a914d[_0x3fb9aa(0x56d,_0x42e1f4._0x306ad0,_0x42e1f4._0xee694f,0x533)],'agentId':_0x3a914d[_0x3fb9aa(_0x42e1f4._0x2bd8c3,0x489,_0x42e1f4._0x54cfba,_0x42e1f4._0x150825)],'sessionId':_0x3a914d[_0x17b033(-0x15d,_0x42e1f4._0x35e81b,0x38,-0xd2)],'status':_0x3a914d[_0x3fb9aa(_0x42e1f4._0x56b5dc,_0x42e1f4._0x4c200f,_0x42e1f4._0x19e03e,0x358)]});try{const _0x2c1b2b=await _0x2eb64f[_0x17b033(0x2c,_0x42e1f4._0x11f1e9,-_0x42e1f4._0x108a4a,-0xf2)](_0x3958a1[_0x17b033(_0x42e1f4._0x232246,0x2fa,0xda,0x1a3)],{'signal':_0x5e7e8b['signal']});_0x3a914d={..._0x3a914d,'status':_0x2c1b2b[_0x17b033(_0x42e1f4._0x2e060f,-0x162,_0x42e1f4._0x3f9447,-_0x42e1f4._0x2aa206)],'result':_0x2c1b2b};if(_0x2c1b2b[_0x17b033(-0x3e,-0x57,-_0x42e1f4._0x1c15cc,-_0x42e1f4._0x539298)]!=='completed'){const _0x56c297=getRunTerminalErrorMessage(_0x2c1b2b),_0x137526=formatAbortedRunMessage(_0x3a914d[_0x3fb9aa(0x791,0x64c,0x5b2,0x734)],_0x56c297);throw new ToolExecutionError(_0x137526,{...createRunSummary(_0x3a914d),'aborted':!![],'errorMessage':_0x137526});}return createRunSummaryOutput(_0x3a914d,_0x3fb9aa(_0x42e1f4._0x2092af,_0x42e1f4._0x1873ad,0x371,0x5a5)+_0x3a914d[_0x17b033(0x1ff,_0x42e1f4._0x34bb49,_0x42e1f4._0x21d4dd,0x1ae)]+_0x3fb9aa(_0x42e1f4._0x6a0a93,0x562,_0x42e1f4._0x246cb4,_0x42e1f4._0x5c2690));}catch(_0xab99e9){if(_0xab99e9 instanceof ToolExecutionError)throw _0xab99e9;if(isAbortError(_0xab99e9)||_0x5e7e8b['signal'][_0x17b033(_0x42e1f4._0x18feb8,_0x42e1f4._0x5bea96,0x335,_0x42e1f4._0x28caed)]||_0x283d1a['signal'][_0x17b033(0x16c,0x103,0x317,_0x42e1f4._0x28caed)]){const _0x5e5a95=getRunTerminalErrorMessage(_0x3a914d['result'])??(_0xab99e9 instanceof Error?_0xab99e9[_0x17b033(_0x42e1f4._0x2278f4,_0x42e1f4._0x35d052,_0x42e1f4._0x5f05d3,_0x42e1f4._0x5e6f89)]:String(_0xab99e9)),_0x30d4f3=formatAbortedRunMessage(_0x3a914d[_0x17b033(0x27c,0x86,_0x42e1f4._0x43b75d,_0x42e1f4._0x4f9f58)],_0x5e5a95);_0x3a914d={..._0x3a914d,'status':'aborted','errorMessage':_0x30d4f3};throw new ToolExecutionError(_0x30d4f3,{...createRunSummary(_0x3a914d),'aborted':!![],'errorMessage':_0x30d4f3});}const _0x264b2f=getRunTerminalErrorMessage(_0x3a914d[_0x17b033(0x37,_0x42e1f4._0x87809c,_0x42e1f4._0x48a6df,0x173)])??(_0xab99e9 instanceof Error?_0xab99e9[_0x17b033(_0x42e1f4._0x4500ba,0x2cb,_0x42e1f4._0x49b0fe,0x1b6)]:String(_0xab99e9))??_0x17b033(-_0x42e1f4._0x276716,-_0x42e1f4._0x1d0907,0x134,-_0x42e1f4._0x210cde)+_0x3a914d[_0x3fb9aa(_0x42e1f4._0x3d798b,_0x42e1f4._0x306ad0,0x675,_0x42e1f4._0x28fae3)]+_0x3fb9aa(0x605,_0x42e1f4._0x25aa49,_0x42e1f4._0x3b3eec,0x728);_0x3a914d={..._0x3a914d,'status':_0x3fb9aa(0x4c6,0x5d4,0x5a1,0x565),'errorMessage':_0x264b2f};throw new ToolExecutionError(_0x264b2f,{...createRunSummary(_0x3a914d),'errorMessage':_0x264b2f});}finally{_0x2ac7dc();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x2bb304){return[createAssignTaskTool(_0x2bb304)];}import*as _0x558871 from'path';function buildDescription2(_0x1bb8b9){const _0x3f6712={_0x1a1b83:0x3a,_0x331b7d:0x231,_0x56046c:0x200,_0x36d1da:0x146,_0x4848cf:0x117,_0x556ef2:0x83,_0x4edcb6:0x78,_0x5a5a80:0x15,_0x42cc75:0x261,_0x5e2199:0x145,_0x13f9d2:0x284,_0x4a3d78:0x2a2,_0x18f43e:0x2f3,_0x42030d:0x1f5},_0x438d61={_0x558336:0x1d1,_0x1b720d:0x116,_0x1f8468:0x345};function _0x423563(_0xbfa310,_0x9246c8,_0x27d092,_0x5bb63b){return _0x257320(_0xbfa310-0x10a,_0x9246c8-0x66,_0x27d092- -0x462,_0x9246c8);}function _0x1e2f5e(_0x4d6e21,_0xcee53a,_0xdf1cc6,_0x32387c){return _0x257320(_0x4d6e21-_0x438d61._0x558336,_0xcee53a-_0x438d61._0x1b720d,_0xcee53a- -_0x438d61._0x1f8468,_0xdf1cc6);}if(_0x1bb8b9[_0x423563(0x203,-_0x3f6712._0x1a1b83,0xbf,_0x3f6712._0x331b7d)]===0x0)return'Load\x20a\x20skill\x20by\x20name\x20to\x20get\x20detailed\x20task\x20instructions.\x20No\x20skills\x20are\x20currently\x20available.';const _0x5a008a=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x423563(-0x255,-_0x3f6712._0x56046c,-_0x3f6712._0x36d1da,-0xb4),_0x1e2f5e(-0x150,-0x47,_0x3f6712._0x4848cf,_0x3f6712._0x556ef2),_0x423563(-0x1c1,-0x10,-_0x3f6712._0x4edcb6,_0x3f6712._0x5a5a80),..._0x1bb8b9[_0x423563(-0x1e3,-_0x3f6712._0x42cc75,-_0x3f6712._0x5e2199,-_0x3f6712._0x13f9d2)](_0x45124e=>'-\x20'+_0x45124e['name']+':\x20'+_0x45124e[_0x423563(0xa9,-0x48,-0x41,0xde)])];return _0x5a008a[_0x1e2f5e(_0x3f6712._0x4a3d78,0x17d,_0x3f6712._0x18f43e,_0x3f6712._0x42030d)]('\x0a');}function createLoadSkillTool(_0x31b20f){const _0x41f370={_0xa0e37f:0xea,_0x235196:0x7f,_0x9a2764:0xa7,_0x35504d:0x1c3,_0xdfa4da:0x16,_0x52263f:0x20b,_0x392e2c:0x126,_0xa834a4:0x5,_0x4fb5b5:0x94,_0x3205f9:0x348,_0x125bba:0x1f0,_0x5d575a:0x2c1,_0x31cf80:0x232,_0x43e774:0x68,_0x51ba6e:0x2f8},_0x23cb39={_0x3859d2:0x618,_0x366335:0x3ac,_0x2d4d57:0x4de,_0xd7d98b:0x6ea,_0x466316:0x463,_0x43b098:0x63b,_0x46a8b6:0x514,_0x129935:0x59e,_0x43bfa8:0x640,_0x1f6cc3:0x711,_0x74c137:0x724,_0x5b7484:0x6f3,_0x5a7f25:0x563,_0x4e8756:0x5ba,_0x5d7700:0x71c,_0x61518f:0x43b,_0x27fec8:0x84a,_0x326cf8:0x7f0,_0x2f905b:0x659,_0x5a2aed:0x58d,_0x41a9f5:0x64b,_0x46faf8:0x6b3,_0x3b0393:0x7c2,_0x2f5da7:0x70d,_0x515704:0x580,_0x342933:0x666,_0x54528c:0x3aa,_0x4a1780:0x40f,_0x494504:0x507,_0x53d782:0x60b,_0x5319d5:0x56c,_0x109ea2:0x50e,_0x1d9baf:0x64d,_0x900cd8:0x5c1,_0x10b6a5:0x4ad,_0x3e5e87:0x701,_0x37787b:0x70a,_0x2bea27:0x87a,_0x5aa2b3:0x303,_0x5bd247:0x55c},_0xb518d4={_0x5a65f4:0x182},_0x234681={_0x2c40e2:0x1c,_0x3cb0ad:0x2e6},_0x1f0952={_0x54ab7e:0x91},_0x3b5799=new Map(_0x31b20f[_0x4c0d41(0x25e,-0x19,_0x41f370._0xa0e37f,-_0x41f370._0x235196)][_0x2cd2fc(-0x2b9,-0x109,-_0x41f370._0x9a2764,-_0x41f370._0x35504d)](_0x911749=>[_0x911749['name'],_0x911749])),_0x475190=buildDescription2(_0x31b20f[_0x4c0d41(0x98,_0x41f370._0xdfa4da,0xea,_0x41f370._0x52263f)]);function _0x2cd2fc(_0x44b217,_0x37ed7d,_0x5a6688,_0x8f8495){return _0x3342ed(_0x44b217-0xa4,_0x44b217,_0x8f8495- -0x454,_0x8f8495-_0x1f0952._0x54ab7e);}function _0x4c0d41(_0x2d3efc,_0xef2eed,_0x23564d,_0x1b5438){return _0x257320(_0x2d3efc-_0x234681._0x2c40e2,_0xef2eed-0x122,_0x23564d- -_0x234681._0x3cb0ad,_0xef2eed);}return defineTool({'name':_0x2cd2fc(0xff,-0xb4,-_0x41f370._0x392e2c,-_0x41f370._0xa834a4),'description':_0x475190,'inputSchema':{'type':_0x2cd2fc(-_0x41f370._0x4fb5b5,-0x2c9,-_0x41f370._0x3205f9,-_0x41f370._0x125bba),'properties':{'name':{'type':_0x4c0d41(0x110,_0x41f370._0x5d575a,_0x41f370._0x31cf80,0x261)}},'required':[_0x2cd2fc(-_0x41f370._0x43e774,-0x1bf,-_0x41f370._0x51ba6e,-0x1b4)]},async *'execute'(_0x31ac72){const _0xf3c770={_0x274300:0x69,_0x417f85:0x574},_0x1cf032=_0x3b5799[_0x20972d(_0x23cb39._0x3859d2,0x473,0x4ec,_0x23cb39._0x366335)](_0x31ac72[_0x6e59e3(_0x23cb39._0x2d4d57,0x71c,_0x23cb39._0xd7d98b,0x5ba)]);if(!_0x1cf032){const _0x49f49e=Array[_0x20972d(0x6c6,0x4f7,0x557,_0x23cb39._0x466316)](_0x3b5799[_0x6e59e3(0x5f6,_0x23cb39._0x43b098,_0x23cb39._0x46a8b6,_0x23cb39._0x129935)]())[_0x6e59e3(0x7e8,_0x23cb39._0x43bfa8,0x7dd,0x750)](',\x20');throw new ToolExecutionError(_0x6e59e3(0x78e,_0x23cb39._0x1f6cc3,_0x23cb39._0x74c137,0x623)+_0x31ac72[_0x6e59e3(_0x23cb39._0x5b7484,_0x23cb39._0x5a7f25,0x5e8,_0x23cb39._0x4e8756)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x49f49e,{'name':_0x31ac72['name']});}const _0x1b6748=await _0x31b20f[_0x6e59e3(0x501,0x749,0x64f,0x61f)](_0x1cf032);function _0x6e59e3(_0x3e954e,_0x8bd2bd,_0x29240a,_0x15f8e7){return _0x4c0d41(_0x3e954e-_0xf3c770._0x274300,_0x3e954e,_0x15f8e7-_0xf3c770._0x417f85,_0x15f8e7-0x14d);}const _0x5dde39=_0x1cf032[_0x6e59e3(0x5c0,_0x23cb39._0x5d7700,0x5e1,0x658)][_0x20972d(_0x23cb39._0x61518f,0x409,0x570,0x473)]??_0x558871[_0x6e59e3(_0x23cb39._0x27fec8,0x7c1,0x7dc,_0x23cb39._0x326cf8)](_0x1cf032[_0x6e59e3(_0x23cb39._0x2f905b,0x5e7,0x711,0x658)][_0x6e59e3(_0x23cb39._0x5a2aed,0x619,_0x23cb39._0x41a9f5,_0x23cb39._0x46faf8)]),_0xab3d58=[_0x6e59e3(_0x23cb39._0x3b0393,_0x23cb39._0x2f5da7,_0x23cb39._0x515704,_0x23cb39._0x342933)+_0x1b6748[_0x20972d(0x361,_0x23cb39._0x54528c,_0x23cb39._0x4a1780,_0x23cb39._0x494504)],'',_0x1b6748['instructions'],'',_0x6e59e3(0x7d2,0x6a0,_0x23cb39._0x53d782,0x737),_0x20972d(0x43b,_0x23cb39._0x5319d5,_0x23cb39._0x109ea2,_0x23cb39._0x1d9baf)+_0x1cf032[_0x20972d(0x4e1,_0x23cb39._0x900cd8,_0x23cb39._0x10b6a5,0x4e9)][_0x6e59e3(_0x23cb39._0x3e5e87,0x699,_0x23cb39._0x37787b,0x6b3)],'Base\x20directory:\x20'+_0x5dde39][_0x6e59e3(_0x23cb39._0x2bea27,0x639,0x67d,0x750)]('\x0a');yield createToolOutput(_0xab3d58,{'id':_0x1b6748['id'],'name':_0x1b6748[_0x20972d(_0x23cb39._0x5aa2b3,0x519,0x40f,_0x23cb39._0x5bd247)],'path':_0x1cf032['source']['path'],'baseDirectory':_0x5dde39});function _0x20972d(_0x3fe179,_0x2895ff,_0x3032b3,_0x430917){return _0x4c0d41(_0x3fe179-_0xb518d4._0x5a65f4,_0x3fe179,_0x3032b3-0x3c9,_0x430917-0x15c);}return void 0x0;}});}var TODO_STATUSES=new Set([_0x3342ed(0x50c,0x4ef,0x3cc,0x25f),_0x257320(0x4ee,0x32a,0x401,0x444),_0x257320(0x4ec,0x4a5,0x3df,0x4b3)]),TODO_PRIORITIES=new Set([_0x3342ed(0x41b,0x266,0x37a,0x443),_0x257320(0x403,0x1e1,0x326,0x336),_0x3342ed(0x634,0x580,0x4c1,0x5bc)]);function isTodoStatus(_0x114061){const _0x24ec01={_0x4c2051:0x2ca,_0x430f2a:0x402,_0x35c291:0x428,_0x1a3ea1:0x58e,_0x1765d6:0x399},_0x256993={_0x385405:0x1c2};function _0x135943(_0x2539d6,_0x33ad46,_0xfcea13,_0x2a3eb6){return _0x257320(_0x2539d6-0x1ad,_0x33ad46-0x12e,_0xfcea13-0x118,_0x2539d6);}function _0x5e7ba0(_0x1d3860,_0x4e2fac,_0x56f4c1,_0x522880){return _0x3342ed(_0x1d3860-0x13f,_0x56f4c1,_0x4e2fac- -_0x256993._0x385405,_0x522880-0x47);}return typeof _0x114061===_0x5e7ba0(0x231,_0x24ec01._0x4c2051,_0x24ec01._0x430f2a,0x191)&&TODO_STATUSES[_0x135943(_0x24ec01._0x35c291,_0x24ec01._0x1a3ea1,0x50a,_0x24ec01._0x1765d6)](_0x114061);}function isTodoPriority(_0x4bca48){return typeof _0x4bca48==='string'&&TODO_PRIORITIES['has'](_0x4bca48);}var TodoStore=class{['todosBySession']=new Map();[_0x257320(0x46f,0x586,0x4a8,0x4fc)](_0xaa640d){const _0x15a77e={_0x2008bf:0x194,_0x4302e7:0x217};function _0x1b7ad6(_0x577268,_0x59bb6c,_0x482377,_0x57af3f){return _0x257320(_0x577268-0x197,_0x59bb6c-_0x15a77e._0x2008bf,_0x482377- -_0x15a77e._0x4302e7,_0x577268);}return this['todosBySession'][_0x1b7ad6(0x112,0x254,0x1f2,0x1f5)](_0xaa640d)??[];}[_0x257320(0x38b,0x4ed,0x433,0x344)](_0x593ce1,_0x435397){const _0x1f79c7={_0x2214b0:0x12e,_0x1135c4:0x8f,_0x4a69e1:0x8e,_0x5eb458:0x131},_0x1adbff={_0x514086:0x1b9,_0x3cb575:0x23d},_0x56ec37={_0x487062:0x1a4};function _0x298d46(_0x28562c,_0x58d8c1,_0x505377,_0x1c1eb3){return _0x3342ed(_0x28562c-_0x56ec37._0x487062,_0x1c1eb3,_0x505377- -0x352,_0x1c1eb3-0x15a);}function _0x20bf06(_0x247da5,_0x48c85f,_0x1f9fa5,_0x3e4c41){return _0x257320(_0x247da5-_0x1adbff._0x514086,_0x48c85f-0x50,_0x3e4c41- -_0x1adbff._0x3cb575,_0x247da5);}this[_0x20bf06(_0x1f79c7._0x2214b0,_0x1f79c7._0x1135c4,0x139,0x116)][_0x298d46(-0xfb,-_0x1f79c7._0x4a69e1,-_0x1f79c7._0x5eb458,-0x13a)](_0x593ce1,_0x435397);}[_0x3342ed(0x34c,0x392,0x238,0x390)](_0x39617c){const _0x111624={_0x1d762c:0xeb,_0x1d9f11:0x124,_0x3d0f67:0x117,_0x264727:0x204,_0x244708:0xdf,_0x106202:0x181,_0x29200b:0x3d,_0x5a22ad:0x105,_0x5c9686:0x4a,_0x44a506:0x85,_0x4053e5:0x13d,_0x48e170:0xb6},_0x47f7ce={_0x17f15b:0x6},_0x37e09a={_0x50b286:0x1c3},_0x257321=this[_0x86f67a(_0x111624._0x1d762c,_0x111624._0x1d9f11,0x13,-0x51)](_0x39617c);function _0x2b265f(_0x219933,_0x34017b,_0x6c2bb6,_0x783eff){return _0x3342ed(_0x219933-_0x37e09a._0x50b286,_0x219933,_0x6c2bb6- -0x2d1,_0x783eff-0xed);}function _0x86f67a(_0x4a7ff7,_0x4a78ea,_0x49b996,_0x1e650){return _0x257320(_0x4a7ff7-0x15,_0x4a78ea-_0x47f7ce._0x17f15b,_0x49b996- -0x495,_0x1e650);}const _0x507961={'total':_0x257321['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x34f0c5 of _0x257321){if(_0x34f0c5[_0x86f67a(-_0x111624._0x3d0f67,-_0x111624._0x264727,-0x105,-0x215)]==='pending')_0x507961[_0x86f67a(-_0x111624._0x244708,-_0x111624._0x106202,-_0x111624._0x29200b,-0x7c)]+=0x1;else{if(_0x34f0c5[_0x86f67a(-0x209,-0xc3,-_0x111624._0x5a22ad,-0x1d9)]===_0x86f67a(_0x111624._0x5c9686,-_0x111624._0x44a506,-0x94,-0x52))_0x507961['inProgress']+=0x1;else _0x507961[_0x86f67a(-0x6e,-_0x111624._0x4053e5,-_0x111624._0x48e170,0x7c)]+=0x1;}}return _0x507961;}};function validateTodos(_0x385e53){const _0x173561={_0x2713d5:0x4b9,_0x239d41:0x4ee,_0x167c55:0x614,_0x2b8221:0x739,_0x3c0d75:0x71d,_0x468547:0x3d8,_0x2eec79:0x412,_0x1b8da2:0x35f,_0x466773:0x2b3,_0x1ba374:0x5c0,_0x23f596:0x64a,_0x52cdfd:0x570,_0x5315b0:0x1e6,_0xad58cc:0x705,_0x56d7c9:0x68c,_0x1ab917:0x62e,_0x28c501:0x707,_0x2c37b8:0x4df,_0x41b743:0x5b7,_0x49ee9b:0x535,_0x57c583:0x528,_0x10a133:0x4c9,_0x85ec2e:0x63e,_0x4c3862:0x83e,_0x5f02ac:0x372,_0x2b926c:0x3b3,_0xb3bf0a:0x4ba,_0x3680a7:0x4d6,_0x3ed2d2:0x667,_0xbbd5f0:0x641,_0x56690d:0x5f6,_0x10a0b1:0x54d,_0x23fcf8:0x51d,_0x1f210a:0x505,_0x51dae4:0x6c5,_0x383d15:0x41f,_0x53165c:0x417,_0x20e62d:0x32f,_0x5e46d9:0x41d,_0x2ed338:0x56b,_0x2d35b9:0x49e,_0x3a32c2:0x482,_0x2bacbf:0x562,_0xd62ebd:0x372,_0xa79889:0x2f3,_0xd2320b:0x322,_0x2d2048:0x560,_0x22778a:0x4d1,_0x322618:0x61c,_0x17369c:0x517,_0x363b28:0x412,_0x5ed057:0x493,_0x128f42:0x3ef,_0xe71c37:0x24d,_0x24dd7d:0x5e1,_0xbb3e7:0x72d,_0x57295f:0x791,_0x2c4be0:0x6d1,_0x49a9cb:0x557,_0x305ac4:0x4e2},_0x3d24fe={_0x2565fb:0x87,_0x28f537:0xf1},_0x27dc44={_0x47d4c9:0x34};if(!Array['isArray'](_0x385e53[_0x26464d(_0x173561._0x2713d5,_0x173561._0x239d41,0x3cd,_0x173561._0x167c55)])||_0x385e53['todos'][_0x26464d(_0x173561._0x2b8221,0x74f,0x83b,_0x173561._0x3c0d75)]===0x0)throw new ToolExecutionError(_0x573d18(_0x173561._0x468547,0x293,0x320,_0x173561._0x2eec79),{'error':'invalid_todos'});function _0x573d18(_0x1f5351,_0x3ed124,_0x49c279,_0x49454e){return _0x3342ed(_0x1f5351-0x25,_0x49454e,_0x1f5351-0x12b,_0x49454e-_0x27dc44._0x47d4c9);}for(let _0x47567c=0x0;_0x47567c<_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x391,0x340,_0x173561._0x466773)][_0x573d18(_0x173561._0x1ba374,_0x173561._0x23f596,0x50e,_0x173561._0x52cdfd)];_0x47567c+=0x1){const _0x2f6018=_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x496,0x410,_0x173561._0x5315b0)][_0x47567c];if(!_0x2f6018||typeof _0x2f6018!=='object')throw new ToolExecutionError('Todo\x20'+(_0x47567c+0x1)+_0x26464d(0x7bb,_0x173561._0xad58cc,_0x173561._0x56d7c9,0x76d),{'error':_0x573d18(_0x173561._0x1ab917,_0x173561._0x28c501,_0x173561._0x2c37b8,0x558)});if(typeof _0x2f6018['id']!==_0x573d18(_0x173561._0x41b743,0x492,_0x173561._0x49ee9b,_0x173561._0x57c583)||_0x2f6018['id'][_0x26464d(_0x173561._0x10a133,0x4f1,0x609,_0x173561._0x85ec2e)]()[_0x26464d(0x858,0x74f,_0x173561._0x4c3862,0x7ed)]===0x0)throw new ToolExecutionError(_0x573d18(_0x173561._0x5f02ac,_0x173561._0x2b926c,_0x173561._0xb3bf0a,0x221)+(_0x47567c+0x1)+_0x26464d(_0x173561._0x3680a7,0x649,0x685,_0x173561._0x3ed2d2),{'error':_0x26464d(_0x173561._0xbbd5f0,_0x173561._0x56690d,0x743,_0x173561._0x10a0b1)});if(typeof _0x2f6018[_0x573d18(0x59c,_0x173561._0x23fcf8,0x566,_0x173561._0x1f210a)]!==_0x573d18(_0x173561._0x41b743,0x5c5,0x5fb,0x493)||_0x2f6018['content']['trim']()[_0x26464d(_0x173561._0x51dae4,0x74f,0x6b6,0x667)]===0x0)throw new ToolExecutionError(_0x26464d(0x60f,0x501,_0x173561._0x383d15,0x3ef)+(_0x47567c+0x1)+_0x573d18(_0x173561._0x53165c,0x4e5,0x2c2,_0x173561._0x20e62d),{'error':_0x573d18(0x3fa,0x468,_0x173561._0x5e46d9,0x375)});if(!isTodoStatus(_0x2f6018[_0x26464d(0x448,0x5be,_0x173561._0x2ed338,_0x173561._0x2d35b9)]))throw new ToolExecutionError(_0x573d18(_0x173561._0x5f02ac,0x256,0x434,_0x173561._0x3a32c2)+(_0x47567c+0x1)+':\x20invalid\x20status',{'error':_0x26464d(0x5a0,0x674,_0x173561._0x2bacbf,0x61a)});if(!isTodoPriority(_0x2f6018[_0x573d18(0x444,0x328,0x30c,0x343)]))throw new ToolExecutionError(_0x573d18(_0x173561._0xd62ebd,0x245,_0x173561._0xa79889,_0x173561._0xd2320b)+(_0x47567c+0x1)+_0x573d18(_0x173561._0x2d2048,_0x173561._0x22778a,0x56a,0x5cd),{'error':_0x26464d(_0x173561._0x322618,_0x173561._0x17369c,_0x173561._0x363b28,_0x173561._0x5ed057)});}function _0x26464d(_0x2d4078,_0x4a6999,_0x236c09,_0x320877){return _0x257320(_0x2d4078-_0x3d24fe._0x2565fb,_0x4a6999-_0x3d24fe._0x28f537,_0x4a6999-0x22e,_0x236c09);}const _0x4c8dee=_0x385e53[_0x573d18(_0x173561._0x1b8da2,0x3e8,_0x173561._0x128f42,_0x173561._0xe71c37)][_0x26464d(0x584,0x54b,_0x173561._0x24dd7d,0x4f8)](_0x13d53d=>_0x13d53d['id']);if(new Set(_0x4c8dee)[_0x26464d(0x78d,_0x173561._0xbb3e7,_0x173561._0x57295f,_0x173561._0x2c4be0)]!==_0x4c8dee['length'])throw new ToolExecutionError(_0x26464d(0x655,_0x173561._0x49a9cb,_0x173561._0x305ac4,0x612),{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x51046e){const _0x563570={_0x17b968:0x1e1,_0x373cbc:0x494,_0x4a8ba1:0x3f0,_0x508e76:0x3c6,_0x50f03b:0x343,_0x343418:0x45a},_0x1d36a7={_0xf0b19f:0x5e},_0x1b8da7={_0x29a626:0x1a,_0x538387:0x162};function _0x3073e5(_0x329d28,_0x35510d,_0x361f0,_0x238afd){return _0x257320(_0x329d28-0xe0,_0x35510d-_0x1b8da7._0x29a626,_0x329d28-_0x1b8da7._0x538387,_0x238afd);}function _0x5f12f7(_0xeb064a,_0x5537c3,_0x2d4c20,_0x3646a6){return _0x3342ed(_0xeb064a-0x1ac,_0x5537c3,_0x2d4c20-0x73,_0x3646a6-_0x1d36a7._0xf0b19f);}return _0x51046e[_0x5f12f7(0x2a6,_0x563570._0x17b968,0x343,_0x563570._0x373cbc)]>0x0?Math['round'](_0x51046e[_0x5f12f7(0x292,_0x563570._0x4a8ba1,_0x563570._0x508e76,0x3da)]/_0x51046e[_0x5f12f7(0x1df,0x47e,_0x563570._0x50f03b,_0x563570._0x343418)]*0x64)+'%':'0%';}function createReminderItems(_0x3be10c){const _0x492acb={_0x3ccefb:0x3},_0x4d759e={_0x280982:0x11,_0x40171f:0x1be};function _0x5d799e(_0x4a3ad9,_0xb5f847,_0x36379a,_0x1981bd){return _0x257320(_0x4a3ad9-_0x4d759e._0x280982,_0xb5f847-0x13c,_0x36379a- -_0x4d759e._0x40171f,_0xb5f847);}function _0x3864dc(_0x166078,_0x5aeb0d,_0x1a37cf,_0x2854f4){return _0x257320(_0x166078-0x83,_0x5aeb0d-_0x492acb._0x3ccefb,_0x166078- -0x37c,_0x5aeb0d);}return _0x3be10c['map'](_0x5d0430=>({'content':_0x5d0430[_0x5d799e(0x3f3,0x1f3,0x33f,0x233)],'status':_0x5d0430[_0x3864dc(0x14,-0x133,0x18,0x113)],'id':_0x5d0430['id']}));}function createStructuredResult(_0xc749e,_0x1a3994,_0x1d2856,_0x226f4d){const _0x20a54e={_0x1ca1ad:0x2e7,_0x1e0760:0x395,_0x5808be:0x646,_0x3a6026:0x4eb,_0x140a18:0x564},_0x2235c5={_0x26c15a:0x2c4},_0x39a266={_0x4722a8:0x56};function _0x38fd39(_0x3ca0ab,_0x3a5089,_0x1939c8,_0x28160c){return _0x3342ed(_0x3ca0ab-0x37,_0x28160c,_0x3a5089-_0x39a266._0x4722a8,_0x28160c-0x1);}function _0x22f9a0(_0x298c51,_0x35784a,_0x34ddb5,_0x1dbf92){return _0x3342ed(_0x298c51-0x102,_0x35784a,_0x1dbf92-_0x2235c5._0x26c15a,_0x1dbf92-0x82);}return{'allCompleted':_0x226f4d,'items':_0x1a3994[_0x38fd39(0x1ae,_0x20a54e._0x1ca1ad,0x350,_0x20a54e._0x1e0760)](_0x5d0e26=>({'id':_0x5d0e26['id'],'content':_0x5d0e26['content'],'status':_0x5d0e26[_0x38fd39(0x330,0x35a,0x252,0x329)],'priority':_0x5d0e26[_0x38fd39(0x366,0x36f,0x2d7,0x37b)],'createdAt':_0x5d0e26['createdAt']})),'progress':createStatsProgress(_0x1d2856),'recentChanges':!![],'sessionId':_0xc749e,'stats':_0x1d2856,'todosWritten':_0x1a3994[_0x38fd39(_0x20a54e._0x5808be,_0x20a54e._0x3a6026,_0x20a54e._0x140a18,0x599)]};}function createOutputText(_0x39e48c,_0x4702ab){const _0x45bd70={_0x56d440:0x24f,_0x4e8fd6:0xd0,_0x3b0980:0x115,_0x3ae949:0xe,_0x3ec6fa:0x2c5,_0x151e7e:0x33c,_0x3406c4:0x1ca,_0x34e052:0xe7,_0x4fa870:0x59,_0x4673d7:0xaa,_0xb0989c:0x223},_0x4dd26e={_0x1d4910:0x326},_0x5b9f99=JSON[_0x576b24(0xa9,0x12c,0xd9,_0x45bd70._0x56d440)](createReminderItems(_0x39e48c));function _0x576b24(_0x32af8e,_0x24965d,_0x461995,_0x56d877){return _0x257320(_0x32af8e-0x1e0,_0x24965d-0x12a,_0x461995- -_0x4dd26e._0x1d4910,_0x32af8e);}if(_0x4702ab)return _0x576b24(-_0x45bd70._0x4e8fd6,_0x45bd70._0x3b0980,-_0x45bd70._0x3ae949,-0x180)+_0x39e48c[_0x5bc631(0x1d0,_0x45bd70._0x3ec6fa,0x372,0x2b5)]+_0x5bc631(0x16d,0x1c8,_0x45bd70._0x151e7e,_0x45bd70._0x3406c4)+_0x5b9f99+_0x576b24(_0x45bd70._0x34e052,-0x77,-_0x45bd70._0x4fa870,_0x45bd70._0x4673d7);function _0x5bc631(_0x2b5c33,_0x5bd0ca,_0x76e127,_0x19decc){return _0x3342ed(_0x2b5c33-0x8e,_0x5bd0ca,_0x19decc- -0x1e0,_0x19decc-0x166);}return _0x576b24(0xdf,0x145,_0x45bd70._0xb0989c,0x391)+_0x5b9f99+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x502e81=new TodoStore()){const _0xa7c212={_0x4d0d24:0x342,_0x2ee872:0x43f,_0x5b4f5a:0x3f3,_0x224307:0x337,_0x4f0d95:0x4d0,_0xdc5edf:0x47d,_0x3cef08:0x8cf,_0x1b4dbc:0x75e,_0x2b1b40:0x631,_0x50b413:0x70b,_0x11363a:0x869,_0x5dc3a7:0x747,_0x562dd2:0x6f9,_0x118f15:0x5d6,_0xccc3c0:0xf4,_0x2c290d:0x8b,_0x3933fe:0xfe,_0x11c7c8:0x9d,_0x3e6f27:0xad},_0x525dc8={_0x47afd2:0x39b,_0x42669e:0x3c9,_0x4ab926:0x360,_0x4180b5:0x59f,_0x5c17f4:0x654,_0x3fde0b:0x102,_0x6aa88f:0x37e,_0x2fb54f:0x327,_0xa16e70:0x24e,_0x244b64:0x4f1,_0x38458b:0x50c,_0x1117bb:0x591,_0x283e5d:0x10b,_0x3f1df7:0x4fe,_0x26d446:0x50b,_0x3b6780:0x526},_0x3df715={_0x42d2fd:0x31b},_0x5c9aaf={_0x36f0cb:0x84,_0x1181dd:0x187};function _0x47a34e(_0x42b957,_0x5c2356,_0xfea24f,_0x54cb2c){return _0x3342ed(_0x42b957-0x5e,_0x42b957,_0x54cb2c-0x2d2,_0x54cb2c-0xfa);}function _0x356985(_0x53aad5,_0x263f7a,_0x2290fa,_0x4486ae){return _0x3342ed(_0x53aad5-_0x5c9aaf._0x36f0cb,_0x53aad5,_0x2290fa- -_0x5c9aaf._0x1181dd,_0x4486ae-0x6a);}return defineTool({'name':_0x356985(0x29b,_0xa7c212._0x4d0d24,0x2a2,0x34f),'description':_0x356985(_0xa7c212._0x2ee872,_0xa7c212._0x5b4f5a,_0xa7c212._0x224307,0x38b),'inputSchema':{'type':'object','properties':{'todos':{'type':'array','items':{'type':_0x47a34e(_0xa7c212._0x4f0d95,0x3e5,_0xa7c212._0xdc5edf,0x536),'properties':{'content':{'type':_0x47a34e(0x795,0x795,_0xa7c212._0x3cef08,_0xa7c212._0x1b4dbc)},'status':{'type':'string'},'priority':{'type':_0x47a34e(_0xa7c212._0x2b1b40,0x7f9,_0xa7c212._0x50b413,0x75e)},'id':{'type':'string'},'createdAt':{'type':'string'}},'required':[_0x47a34e(0x80e,_0xa7c212._0x11363a,0x76a,0x743),_0x47a34e(_0xa7c212._0x5dc3a7,_0xa7c212._0x562dd2,0x55b,_0xa7c212._0x118f15),_0x356985(0x2b7,_0xa7c212._0xccc3c0,0x192,_0xa7c212._0x2c290d),'id']}}},'required':[_0x356985(_0xa7c212._0x3933fe,-_0xa7c212._0x11c7c8,_0xa7c212._0x3e6f27,0x16f)]},async *'execute'(_0x5578ec,_0x15712a){const _0x288fd6={_0xad1a9a:0x7b,_0xe7f6d7:0xc0};function _0x334439(_0x5f0cf6,_0x36846a,_0x424e1e,_0x4096e6){return _0x356985(_0x4096e6,_0x36846a-0x85,_0x36846a- -_0x3df715._0x42d2fd,_0x4096e6-0x177);}function _0x2f8067(_0x14fb43,_0x5d5db4,_0x2c3a98,_0x2e3287){return _0x47a34e(_0x5d5db4,_0x5d5db4-_0x288fd6._0xad1a9a,_0x2c3a98-_0x288fd6._0xe7f6d7,_0x14fb43- -0x188);}const _0x599c75=_0x5578ec;validateTodos(_0x599c75);const _0x5470c1=_0x15712a[_0x2f8067(_0x525dc8._0x47afd2,_0x525dc8._0x42669e,_0x525dc8._0x4ab926,0x341)]||_0x2f8067(_0x525dc8._0x4180b5,0x475,_0x525dc8._0x5c17f4,0x6b9),_0x2cab01=new Date()[_0x334439(-0x67,-_0x525dc8._0x3fde0b,-0x97,-0x17d)](),_0x204562=_0x599c75[_0x2f8067(_0x525dc8._0x6aa88f,_0x525dc8._0x2fb54f,_0x525dc8._0xa16e70,0x2f4)]['map'](_0x1d53c1=>({'id':_0x1d53c1['id'],'content':_0x1d53c1[_0x2f8067(0x5bb,0x556,0x4b1,0x728)],'status':_0x1d53c1['status'],'priority':_0x1d53c1['priority'],'sessionId':_0x5470c1,'createdAt':_0x1d53c1['createdAt']||_0x2cab01,'updatedAt':_0x2cab01}));_0x502e81[_0x2f8067(_0x525dc8._0x244b64,_0x525dc8._0x38458b,_0x525dc8._0x1117bb,0x594)](_0x5470c1,_0x204562);const _0x5b35b2=_0x502e81[_0x334439(-0x2c1,-0x26a,-0x358,-_0x525dc8._0x283e5d)](_0x5470c1),_0x4b1d02=_0x204562['length']>0x0&&_0x204562[_0x2f8067(_0x525dc8._0x3f1df7,_0x525dc8._0x26d446,0x446,_0x525dc8._0x3b6780)](_0x48338f=>_0x48338f[_0x2f8067(0x44e,0x521,0x5c4,0x3d7)]===_0x2f8067(0x49d,0x615,0x532,0x60d));return createToolOutput(createOutputText(_0x204562,_0x4b1d02),createStructuredResult(_0x5470c1,_0x204562,_0x5b35b2,_0x4b1d02));}});}import{mkdir as _0x5c1398,writeFile as _0xab4737}from'fs/promises';import*as _0xa4fdd2 from'path';function sanitizeFileName(_0x1e6333){return _0x1e6333['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x2f59a8,_0x72cefb){const _0x52f1d1={_0x1ea881:0x23,_0x58ab22:0xb,_0x416b99:0x8a,_0x10aaf0:0x10e,_0x4d409b:0x28a,_0x4f7db8:0x2a2,_0x14650b:0x63,_0x49aa37:0x139,_0x13d291:0x17,_0x2a8a69:0xcc,_0x44ec14:0x94,_0x1c7ead:0x109,_0x37f45c:0x48,_0x27a442:0x101,_0x289be4:0x335,_0x2b9b73:0x2b9,_0x4c8273:0x1bf,_0x431c15:0x107,_0x9f9c63:0x128,_0x47895e:0x144,_0x5d643b:0x170,_0x6839f7:0x173,_0x42abca:0x72,_0x1f7028:0x92,_0x45c480:0x8d,_0x16a65f:0x8a,_0x2eef13:0x32,_0x48b2b6:0x2c,_0x24381c:0x10,_0x2110ba:0xc6,_0xea1a8d:0x32,_0x20703c:0x22f,_0x42a44a:0x126,_0x39fdc5:0x109,_0x5c2af6:0x20,_0x1f536f:0xb3,_0x598b64:0x73,_0x45e20c:0x3a,_0x3fd4c4:0x345,_0x426119:0x275,_0x542ae1:0x342,_0x17ec97:0x15f,_0x57505a:0xb2,_0x5760f8:0xa5,_0x539862:0x2,_0x2bd85e:0x1b6,_0xd777b1:0xa5,_0xb67f37:0x19f,_0x2ce09b:0xf9,_0x3d5652:0x24c,_0x31e76e:0x361,_0x53b156:0x31f,_0x5a98dd:0x112,_0x5383d8:0x245,_0x3ecdf5:0xe4,_0x46efcb:0x1f,_0x5200ab:0xf2,_0x2da865:0x3d,_0x345154:0xbf,_0x1a3add:0x70},_0x3b52ad={_0x15290b:0x24e},_0x4b6e50={_0x4a4408:0x1d1,_0x12efbc:0x37f},{maxBytes:_0xbbeac5,sessionDir:_0x5d6115}=_0x72cefb;function _0x4b254b(_0x1b1191,_0x144270,_0x53f7ad,_0x405649){return _0x3342ed(_0x1b1191-_0x4b6e50._0x4a4408,_0x144270,_0x53f7ad- -_0x4b6e50._0x12efbc,_0x405649-0x1e4);}if(!_0x2f59a8[_0x186150(-_0x52f1d1._0x1ea881,_0x52f1d1._0x58ab22,0x9b,_0x52f1d1._0x416b99)]||Buffer[_0x186150(0x6c,-0x38,-0x185,_0x52f1d1._0x10aaf0)](_0x2f59a8[_0x4b254b(-0xaf,-0x253,-0x126,-0x242)],_0x186150(0x10f,0x26a,0x1ac,_0x52f1d1._0x4d409b))<=_0xbbeac5)return _0x2f59a8;function _0x186150(_0xe31233,_0x1976ab,_0x3630ea,_0x17e895){return _0x3342ed(_0xe31233-0x51,_0x17e895,_0x1976ab- -_0x3b52ad._0x15290b,_0x17e895-0x1a4);}const _0x56d1e7=Buffer['byteLength'](_0x2f59a8['output'],_0x4b254b(_0x52f1d1._0x4f7db8,_0x52f1d1._0x14650b,_0x52f1d1._0x49aa37,-_0x52f1d1._0x13d291));if(!_0x5d6115){const _0x157d69=_0x2f59a8['output'][_0x4b254b(_0x52f1d1._0x2a8a69,_0x52f1d1._0x44ec14,_0x52f1d1._0x1c7ead,0x223)](0x0,_0xbbeac5);return{..._0x2f59a8,'output':_0x157d69+(_0x4b254b(0xf3,_0x52f1d1._0x37f45c,0x14d,_0x52f1d1._0x27a442)+_0xbbeac5+_0x186150(_0x52f1d1._0x289be4,0x2ad,_0x52f1d1._0x2b9b73,_0x52f1d1._0x4c8273)+_0x56d1e7+_0x4b254b(-_0x52f1d1._0x431c15,-_0x52f1d1._0x9f9c63,0x15,_0x52f1d1._0x47895e)),'meta':{..._0x2f59a8['meta'],'truncated':!![],'originalBytes':_0x56d1e7,'transforms':[..._0x2f59a8[_0x4b254b(-_0x52f1d1._0x5d643b,-_0x52f1d1._0x6839f7,-0x112,-_0x52f1d1._0x42abca)][_0x186150(-0xe3,_0x52f1d1._0x1f7028,-_0x52f1d1._0x45c480,0x1d)],_0x186150(-0x9e,_0x52f1d1._0x16a65f,0x1e0,_0x52f1d1._0x2eef13)]}};}const _0x84828b=_0x2f59a8[_0x186150(-_0x52f1d1._0x48b2b6,0x124,_0x52f1d1._0x24381c,-0x50)]+'_'+sanitizeFileName(_0x2f59a8['callId'])+'.log',_0x15ee99=_0xa4fdd2['join'](_0x5d6115,_0x84828b);await _0x5c1398(_0x5d6115,{'recursive':!![]}),await _0xab4737(_0x15ee99,_0x2f59a8[_0x4b254b(-0x68,-_0x52f1d1._0x2110ba,-0x126,_0x52f1d1._0xea1a8d)],'utf8');let _0x51ef86=_0x2f59a8[_0x4b254b(-0x15,-_0x52f1d1._0x20703c,-_0x52f1d1._0x42a44a,-0x98)][_0x4b254b(0x1c2,0xc0,_0x52f1d1._0x39fdc5,0x93)](0x0,_0xbbeac5);const _0x8d1b79=_0x51ef86[_0x186150(-0x160,-_0x52f1d1._0x5c2af6,0x12b,_0x52f1d1._0x1f536f)]('\x0a');_0x8d1b79>_0xbbeac5*0.5&&(_0x51ef86=_0x51ef86[_0x4b254b(_0x52f1d1._0x598b64,_0x52f1d1._0x45e20c,0x109,0x1a)](0x0,_0x8d1b79));const _0x5de94b=['',_0x186150(_0x52f1d1._0x3fd4c4,_0x52f1d1._0x426119,_0x52f1d1._0x542ae1,0x321),_0x4b254b(-_0x52f1d1._0x17ec97,-_0x52f1d1._0x57505a,-0x146,-0x17)+_0xbbeac5+_0x4b254b(_0x52f1d1._0x5760f8,-0xe,-0x92,-_0x52f1d1._0x539862)+_0x56d1e7+'\x20bytes).',_0x4b254b(-0x87,-_0x52f1d1._0x2bd85e,-0x106,-_0x52f1d1._0xd777b1)+_0x15ee99,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x4b254b(-_0x52f1d1._0xb67f37,-0x5e,-_0x52f1d1._0x2ce09b,-0xb6)][_0x186150(_0x52f1d1._0x3d5652,0x1e8,_0x52f1d1._0x31e76e,_0x52f1d1._0x53b156)]('\x0a');return{..._0x2f59a8,'output':_0x51ef86+_0x5de94b,'meta':{..._0x2f59a8[_0x4b254b(0x10,0x5b,-_0x52f1d1._0x5a98dd,-_0x52f1d1._0x5383d8)],'truncated':!![],'originalBytes':_0x56d1e7,'transforms':[..._0x2f59a8[_0x186150(-_0x52f1d1._0x3ecdf5,_0x52f1d1._0x46efcb,-0xc3,-_0x52f1d1._0x5200ab)][_0x186150(_0x52f1d1._0x2da865,0x92,-0x33,0x1bb)],_0x4b254b(_0x52f1d1._0x345154,-0x12c,-0xa7,-_0x52f1d1._0x1a3add)]}};}function createUpdateTopicTool(){const _0x58de35={_0x54d9a8:0x1f4,_0x58ce9f:0x8e,_0x2c59e3:0xdb,_0x89ef7c:0x2a8,_0x2c63dc:0x39d,_0x470594:0x393,_0x49e0b5:0x48f,_0x5f2b71:0x4d0,_0x19c596:0x471,_0x2070c6:0x37f,_0x3eb088:0x21c,_0x164b9a:0x49b},_0x3e5c34={_0x47951e:0x736,_0x4111b2:0x685,_0x58be14:0x649,_0x976f39:0x43a,_0x166be8:0x2c4,_0x1c13fb:0x5b4,_0xd58b24:0x6de},_0x58ae43={_0x4dfc3b:0x1d1,_0x66000b:0xf8},_0x59a7f9={_0x33da61:0x11e};function _0x2ac2f8(_0x588c31,_0x18cb32,_0x1d3ce0,_0x428862){return _0x3342ed(_0x588c31-0xdd,_0x428862,_0x1d3ce0- -0x36a,_0x428862-_0x59a7f9._0x33da61);}function _0x14e6a4(_0x4d1439,_0x357337,_0x25e488,_0x58b200){return _0x257320(_0x4d1439-_0x58ae43._0x4dfc3b,_0x357337-_0x58ae43._0x66000b,_0x357337- -0x48,_0x25e488);}return defineTool({'name':'updateTopic','description':_0x2ac2f8(_0x58de35._0x54d9a8,0x9a,_0x58de35._0x58ce9f,_0x58de35._0x2c59e3),'inputSchema':{'type':_0x14e6a4(0x2b7,_0x58de35._0x89ef7c,_0x58de35._0x2c63dc,_0x58de35._0x470594),'properties':{'topic':{'type':_0x14e6a4(_0x58de35._0x49e0b5,_0x58de35._0x5f2b71,0x3f3,_0x58de35._0x19c596)}},'required':[_0x14e6a4(0x475,_0x58de35._0x2070c6,_0x58de35._0x3eb088,_0x58de35._0x164b9a)]},async *'execute'(_0xbf3293,_0x4a34e0){const _0x1f2063={_0x342fc2:0xde},_0x16cffa={_0x37d6c1:0x1af,_0x96e29f:0x87},{topic:_0x3f2d28}=_0xbf3293;if(typeof _0x3f2d28!==_0x5c3e07(0x68f,0x7c9,0x6ef,_0x3e5c34._0x47951e)||_0x3f2d28[_0x5c3e07(0x43a,0x455,0x32e,0x31d)]()[_0x199dd4(0x18f,-0xd,0xa4,0x140)]===0x0)throw new ToolExecutionError(_0x5c3e07(_0x3e5c34._0x4111b2,0x6f4,0x757,_0x3e5c34._0x58be14),{'error':'invalid_topic'});const _0x40f524=_0x3f2d28[_0x5c3e07(_0x3e5c34._0x976f39,_0x3e5c34._0x166be8,0x47b,0x2f3)]();function _0x199dd4(_0x399493,_0x26a2a9,_0x39e0f3,_0x5974fb){return _0x2ac2f8(_0x399493-0x40,_0x26a2a9-_0x16cffa._0x37d6c1,_0x39e0f3- -_0x16cffa._0x96e29f,_0x26a2a9);}_0x4a34e0['setTopic']?.(_0x40f524),yield createToolOutput(_0x5c3e07(_0x3e5c34._0x1c13fb,0x49e,_0x3e5c34._0xd58b24,0x505)+_0x40f524+'\x22',{'topic':_0x40f524});function _0x5c3e07(_0x440c75,_0x5886a1,_0x2ecddb,_0x14ec39){return _0x14e6a4(_0x440c75-_0x1f2063._0x342fc2,_0x440c75-0x1bf,_0x5886a1,_0x14ec39-0x1de);}return void 0x0;}});}import{readFile as _0x3cc086,stat as _0x4f5e4c}from'fs/promises';import*as _0x2ad153 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x257320(0x4df,0x52d,0x410,0x4e7),_0x257320(0x431,0x392,0x406,0x436),_0x257320(0x44f,0x59b,0x54d,0x405),'original']),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x351438,_0x9294ac){const _0x2f79b1={_0x419e4e:0x545,_0x2bd9f6:0x450,_0x22ad43:0x593,_0x43909b:0x5d0,_0x2279e:0x55f,_0x1117f0:0x58d,_0x55889e:0x55a,_0x1f3679:0x536,_0x3d948f:0x5f2,_0x260d53:0x398,_0x1619f4:0x3a9,_0xdeae38:0x560,_0x3d84ad:0x4ac,_0x1ef728:0x548,_0x310078:0x480,_0x21467e:0x61f,_0x88ae8:0x587,_0x415aba:0x62f,_0x5990be:0x455,_0x9ee07:0x37b,_0x403353:0x3f6,_0x3b0241:0x6c7,_0xa2769:0x6e5,_0xb21186:0x38c,_0x17e286:0x552,_0x18b747:0x3f3,_0x35551c:0x2fc,_0x3266f4:0x65d,_0x2ccd85:0x7b9,_0x1c21b0:0x4a8,_0x5baba6:0x538,_0x489013:0x38a,_0x44aeb8:0x43a,_0x5f3f21:0x3bc,_0x6d8dd3:0x3df,_0x40fefd:0x4ef,_0x20007b:0x68e,_0x4b049b:0x3eb,_0x380574:0x2f1,_0x263d9b:0x530,_0x52e506:0x35d,_0x4a9cb2:0x3c5},_0x2ee5a={_0x3357d8:0x115,_0xe644b7:0x189,_0x140bcc:0x158},_0x2c3ca9={_0xd6bb4a:0x14b};if(_0x351438[_0x20438b(0x5de,_0x2f79b1._0x419e4e,0x536,0x5ee)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x51ed40(_0x2f79b1._0x2bd9f6,_0x2f79b1._0x22ad43,0x624,0x6d6);if(_0x351438[0x0]===0xff&&_0x351438[0x1]===0xd8&&_0x351438[0x2]===0xff)return _0x51ed40(0x4cb,_0x2f79b1._0x43909b,_0x2f79b1._0x2279e,_0x2f79b1._0x1117f0);const _0x491115=_0x351438[_0x20438b(0x603,_0x2f79b1._0x55889e,_0x2f79b1._0x1f3679,_0x2f79b1._0x3d948f)](0x0,0x6)[_0x20438b(_0x2f79b1._0x260d53,_0x2f79b1._0x1619f4,0x46a,0x2fd)](_0x51ed40(0x655,0x570,_0x2f79b1._0xdeae38,0x539));function _0x51ed40(_0x220b93,_0x5f1f8a,_0x203da2,_0x5d8b96){return _0x257320(_0x220b93-_0x2c3ca9._0xd6bb4a,_0x5f1f8a-0x42,_0x5f1f8a-0x12b,_0x220b93);}function _0x20438b(_0x4ce1d5,_0x4af2fe,_0x5b57b7,_0x4355c6){return _0x3342ed(_0x4ce1d5-_0x2ee5a._0x3357d8,_0x4af2fe,_0x5b57b7-_0x2ee5a._0xe644b7,_0x4355c6-_0x2ee5a._0x140bcc);}if(_0x491115==='GIF87a'||_0x491115===_0x51ed40(_0x2f79b1._0x3d84ad,_0x2f79b1._0x1ef728,0x682,_0x2f79b1._0x310078))return _0x51ed40(_0x2f79b1._0x21467e,0x53d,_0x2f79b1._0x88ae8,0x426);if(_0x351438[_0x51ed40(0x67e,0x564,0x532,_0x2f79b1._0x415aba)](0x0,0x4)['toString']('ascii')===_0x20438b(_0x2f79b1._0x5990be,0x493,0x44c,0x370)&&_0x351438['subarray'](0x8,0xc)[_0x20438b(_0x2f79b1._0x9ee07,0x330,0x46a,_0x2f79b1._0x403353)](_0x51ed40(_0x2f79b1._0x3b0241,0x570,_0x2f79b1._0xa2769,0x48e))===_0x51ed40(_0x2f79b1._0xb21186,0x4a2,_0x2f79b1._0x17e286,0x42b))return _0x51ed40(0x38e,_0x2f79b1._0x18b747,_0x2f79b1._0x35551c,0x3ee);const _0x3aa319=_0x2ad153[_0x51ed40(0x787,_0x2f79b1._0x3266f4,0x602,_0x2f79b1._0x2ccd85)](_0x9294ac)['toLowerCase']();if(_0x3aa319===_0x51ed40(_0x2f79b1._0x1c21b0,0x538,_0x2f79b1._0x5baba6,0x44c))return'image/png';if(_0x3aa319===_0x51ed40(0x4d7,0x5b3,0x5d3,0x671)||_0x3aa319===_0x51ed40(_0x2f79b1._0x489013,_0x2f79b1._0x44aeb8,_0x2f79b1._0x5f3f21,_0x2f79b1._0x6d8dd3))return'image/jpeg';if(_0x3aa319==='.gif')return _0x51ed40(0x4bb,0x53d,_0x2f79b1._0x40fefd,_0x2f79b1._0x20007b);if(_0x3aa319===_0x20438b(_0x2f79b1._0x4b049b,0x5bb,0x456,_0x2f79b1._0x380574))return _0x20438b(_0x2f79b1._0x263d9b,_0x2f79b1._0x52e506,_0x2f79b1._0x4a9cb2,0x27f);return void 0x0;}function normalizeDetail(_0x4d5ef6){const _0x234db8={_0x58a542:0x32e,_0x299b80:0x35c,_0x411025:0x3c9,_0x3d558d:0x4f3,_0x33cd33:0x21f},_0x5df497={_0x18937e:0xce},_0x1da3ae={_0x2a58c5:0x10f,_0x1924ba:0x6b};if(_0x4d5ef6===void 0x0)return void 0x0;const _0x51f944=_0x4d5ef6[_0x1bc943(_0x234db8._0x58a542,0x29f,0x4a7,0x27c)]()[_0x1bc943(0x3b8,_0x234db8._0x299b80,0x28d,_0x234db8._0x411025)]();function _0x1bc943(_0x10bdb1,_0x2a18a2,_0x593ed5,_0x38ea3a){return _0x257320(_0x10bdb1-_0x1da3ae._0x2a58c5,_0x2a18a2-0xc2,_0x10bdb1-_0x1da3ae._0x1924ba,_0x38ea3a);}function _0x3c4008(_0x49ab9f,_0x395573,_0x341696,_0x2a4837){return _0x3342ed(_0x49ab9f-0x16e,_0x341696,_0x2a4837- -_0x5df497._0x18937e,_0x2a4837-0x9f);}if(!SUPPORTED_DETAILS['has'](_0x51f944))throw new ToolExecutionError(_0x1bc943(0x37e,_0x234db8._0x3d558d,_0x234db8._0x33cd33,0x3ce)+_0x4d5ef6,{'detail':_0x4d5ef6});return _0x51f944;}function createViewFileTool(_0x281af4={}){const _0x1ed4ad={_0x534db9:0x644,_0x45b3ee:0x5d5,_0x1112b3:0x589,_0x1d6ca3:0x1d4,_0x3d4b53:0x28c,_0x5f4e4d:0x15c,_0x49ed4c:0x21,_0x505d45:0xfe,_0x209f5a:0x16,_0x29dc38:0x1be,_0x2a0afd:0x8b,_0x792043:0x4ac,_0x58cc49:0x48d,_0x34a4ca:0x233,_0x4f2434:0x121,_0x3c1295:0x67,_0x39d8a7:0x698,_0x3c1808:0x5b4,_0x409490:0x114,_0x4449f7:0x1ac},_0x33f12b={_0x8fed59:0x5e7,_0x566ee6:0x6d9,_0x56c5cb:0x4fa,_0x5effd6:0x5f3,_0x157f0c:0x66e,_0x2284cc:0x50c,_0x378537:0x62d,_0x12d37a:0x5e3,_0x22abcf:0x6f4,_0x3cb67b:0x712,_0x14f786:0x701,_0x185a4c:0x672,_0x44ae5e:0x57c,_0x509f5f:0x4c1,_0x199f1e:0x4b7,_0x203245:0x773,_0x20f2b2:0x4a1,_0x3bccf0:0x5d0,_0x4ff0f9:0x561,_0x1fbbfe:0x404,_0x5f3d2a:0x7e0,_0x2b44a0:0x6b7,_0x78d332:0x6fd,_0x3be846:0x512,_0x181fcd:0x53b,_0x3da55a:0x65b,_0x4cd232:0x6fb,_0x31e8f1:0x600,_0x4eb0c7:0x5f5,_0x22aaf9:0x637,_0x1b98ff:0x6c1,_0x2e7907:0x601,_0x58b8f3:0x6ce,_0x4b9c63:0x812,_0x44cbee:0x450,_0x16a0b0:0x626,_0x41a45e:0x6ca,_0x49ca03:0x585,_0x469477:0x49f,_0x14c322:0x478,_0x4298ec:0x3e5,_0x1e9b8d:0x6cf,_0xe135bf:0x419,_0x1833c0:0x5bf,_0x1e56b9:0x450,_0x1dc9ac:0x593,_0x2e38cd:0x649,_0x15af68:0x557,_0x2536e0:0x512,_0x38aec1:0x6b5,_0x1911e9:0x50a,_0x43a2e2:0x5ee,_0x26c85b:0x79b,_0x34c6e4:0x6c4,_0x38b19c:0x6c1,_0x2124dd:0x5ce,_0x9b4d7f:0x53f,_0x2de5a5:0x4da,_0x139980:0x5c2},_0x51ebcd={_0x291d29:0x42,_0xa914f2:0x119,_0x1ca02d:0xd4},_0x11f9f0={_0x122668:0xd4,_0x49c648:0x289},_0x1deb2c={_0x491c19:0x7e,_0x29044a:0x180},_0x4b1e1d=_0x2ad153[_0x439c59(0x4dd,_0x1ed4ad._0x534db9,_0x1ed4ad._0x45b3ee,_0x1ed4ad._0x1112b3)](_0x281af4['defaultCwd']??process[_0x568cb9(_0x1ed4ad._0x1d6ca3,_0x1ed4ad._0x3d4b53,_0x1ed4ad._0x5f4e4d,0x217)]()),_0x169fde=(_0x281af4['allowedDirs']??[])[_0x568cb9(-_0x1ed4ad._0x49ed4c,_0x1ed4ad._0x505d45,0x94,0x1a0)](_0xca4193=>_0x2ad153[_0x568cb9(0x12c,0x1ba,0xd4,-0x85)](_0xca4193)),_0x5c1cb5=_0x281af4[_0x568cb9(-_0x1ed4ad._0x209f5a,_0x1ed4ad._0x29dc38,_0x1ed4ad._0x2a0afd,0x1fd)]??DEFAULT_MAX_BYTES;function _0x439c59(_0x3be4e4,_0xcd111b,_0x408286,_0x24f82c){return _0x257320(_0x3be4e4-_0x1deb2c._0x491c19,_0xcd111b-0xa5,_0x3be4e4-_0x1deb2c._0x29044a,_0x408286);}const _0x4e49e0=_0x281af4[_0x439c59(_0x1ed4ad._0x792043,_0x1ed4ad._0x58cc49,0x5f0,0x58f)]??_0x568cb9(_0x1ed4ad._0x34a4ca,0x2e,0xc7,_0x1ed4ad._0x4f2434);function _0x568cb9(_0x55e035,_0x315fb4,_0x44385e,_0x5968cc){return _0x257320(_0x55e035-_0x11f9f0._0x122668,_0x315fb4-0x11,_0x44385e- -_0x11f9f0._0x49c648,_0x55e035);}return defineTool({'name':_0x4e49e0,'description':_0x568cb9(0x3d5,0x26a,0x2d7,0x3b2),'inputSchema':{'type':_0x568cb9(-0xad,-0xb3,_0x1ed4ad._0x3c1295,-0xd1),'properties':{'path':{'type':_0x439c59(_0x1ed4ad._0x39d8a7,_0x1ed4ad._0x3c1808,0x585,0x534)},'detail':{'type':'string'}},'required':[_0x568cb9(_0x1ed4ad._0x409490,_0x1ed4ad._0x4449f7,0x19c,0x22d)]},async *'execute'(_0x4beff8){const _0xcae615={_0xd7746e:0x88},_0x1a2ad3=resolveAllowedPath(_0x4b1e1d,_0x169fde,_0x4beff8[_0x46a396(0x690,_0x33f12b._0x8fed59,_0x33f12b._0x566ee6,0x546)]);await assertWorkspaceFile(_0x1a2ad3);const _0x249349=await _0x4f5e4c(_0x1a2ad3);if(_0x249349['size']>_0x5c1cb5)throw new ToolExecutionError(_0x105d19(_0x33f12b._0x56c5cb,_0x33f12b._0x5effd6,_0x33f12b._0x157f0c,0x69b)+_0x4beff8[_0x105d19(_0x33f12b._0x2284cc,_0x33f12b._0x378537,_0x33f12b._0x12d37a,0x649)],{'path':_0x4beff8['path'],'maxBytes':_0x5c1cb5,'size':_0x249349[_0x105d19(_0x33f12b._0x22abcf,0x707,_0x33f12b._0x3cb67b,_0x33f12b._0x14f786)]});const _0x4cd974=await _0x3cc086(_0x1a2ad3),_0x11ad0f=detectImageMediaType(_0x4cd974,_0x1a2ad3);function _0x46a396(_0x3ba6ca,_0x38ebfb,_0x32a690,_0x341e8a){return _0x439c59(_0x38ebfb-_0x51ebcd._0x291d29,_0x38ebfb-_0x51ebcd._0xa914f2,_0x3ba6ca,_0x341e8a-_0x51ebcd._0x1ca02d);}if(!_0x11ad0f)throw new ToolExecutionError(_0x46a396(0x793,0x6fe,0x862,_0x33f12b._0x185a4c)+_0x4beff8[_0x46a396(_0x33f12b._0x44ae5e,_0x33f12b._0x8fed59,_0x33f12b._0x509f5f,0x562)],{'path':_0x4beff8[_0x105d19(_0x33f12b._0x199f1e,_0x33f12b._0x378537,0x503,_0x33f12b._0x203245)],'supported':['.gif','.jpeg','.jpg',_0x46a396(0x5d2,0x5cf,_0x33f12b._0x20f2b2,0x621),_0x105d19(_0x33f12b._0x3bccf0,_0x33f12b._0x4ff0f9,0x4ec,_0x33f12b._0x1fbbfe)]});const _0x2ad22c=normalizeDetail(_0x4beff8[_0x46a396(0x7ab,0x6e1,0x6e4,0x673)]),_0x1f1630=[_0x46a396(0x764,0x670,_0x33f12b._0x5f3d2a,_0x33f12b._0x2b44a0)+_0x4beff8[_0x105d19(_0x33f12b._0x78d332,0x62d,0x714,_0x33f12b._0x3be846)],_0x46a396(_0x33f12b._0x181fcd,0x627,_0x33f12b._0x3da55a,0x6a3)+_0x11ad0f,_0x46a396(_0x33f12b._0x4cd232,_0x33f12b._0x31e8f1,_0x33f12b._0x4eb0c7,0x774)+_0x249349[_0x46a396(_0x33f12b._0x22aaf9,_0x33f12b._0x1b98ff,0x585,0x6ef)]+'\x20bytes'][_0x105d19(_0x33f12b._0x2e7907,_0x33f12b._0x58b8f3,0x5c3,_0x33f12b._0x4b9c63)](_0x2ad22c?[_0x105d19(0x48a,0x5bd,_0x33f12b._0x44cbee,0x5aa)+_0x2ad22c]:[])[_0x105d19(_0x33f12b._0x16a0b0,_0x33f12b._0x41a45e,0x812,_0x33f12b._0x49ca03)]('\x0a'),_0x23348a=[{'type':_0x46a396(_0x33f12b._0x469477,0x555,_0x33f12b._0x14c322,_0x33f12b._0x4298ec),'source':{'type':'base64','media_type':_0x11ad0f,'data':_0x4cd974[_0x105d19(_0x33f12b._0x1e9b8d,0x575,0x675,_0x33f12b._0xe135bf)](_0x46a396(_0x33f12b._0x1833c0,0x4f9,0x3fd,_0x33f12b._0x1e56b9))}},{'type':_0x105d19(_0x33f12b._0x1dc9ac,_0x33f12b._0x2e38cd,0x67e,_0x33f12b._0x15af68),'text':_0x1f1630}];function _0x105d19(_0x3fca20,_0x12ed21,_0x30bcc3,_0x4d1d62){return _0x439c59(_0x12ed21-_0xcae615._0xd7746e,_0x12ed21-0xa,_0x30bcc3,_0x4d1d62-0xb6);}return yield createToolOutput(_0x1f1630,{'path':_0x4beff8[_0x105d19(0x56e,0x62d,0x6eb,_0x33f12b._0x2536e0)],'resolvedPath':_0x1a2ad3,'created':_0x249349[_0x105d19(_0x33f12b._0x38aec1,0x5e2,0x688,0x6a6)][_0x46a396(_0x33f12b._0x1911e9,_0x33f12b._0x43a2e2,0x6b6,0x748)](),'modified':_0x249349[_0x46a396(0x626,_0x33f12b._0x38aec1,0x5f4,_0x33f12b._0x26c85b)][_0x46a396(_0x33f12b._0x34c6e4,0x5ee,0x587,0x5fc)](),'size':_0x249349[_0x46a396(0x6ca,_0x33f12b._0x38b19c,_0x33f12b._0x2124dd,0x5e3)],'mimeType':_0x11ad0f,'encoding':_0x105d19(0x63d,_0x33f12b._0x9b4d7f,_0x33f12b._0x2de5a5,_0x33f12b._0x139980),..._0x2ad22c?{'detail':_0x2ad22c}:{}},_0x23348a),void 0x0;}});}import _0x5b3b49 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x4cbeac=>{const _0x59f831={_0x459836:0x2c,_0x56fd45:0x6d,_0x3d1e3c:0x184,_0x4f7a2f:0x2db},_0x54e0d7={_0x1783a3:0x1b9,_0x5dec46:0x6d};function _0xd002df(_0x4936a1,_0x26913d,_0x293b49,_0xd40a3e){return _0x3342ed(_0x4936a1-_0x54e0d7._0x1783a3,_0x26913d,_0x293b49- -0x156,_0xd40a3e-_0x54e0d7._0x5dec46);}const {lookup:_0x5e0807}=await import(_0xd002df(_0x59f831._0x459836,_0x59f831._0x56fd45,_0x59f831._0x3d1e3c,_0x59f831._0x4f7a2f));return _0x5e0807(_0x4cbeac,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x23a37f){const _0x5cbedc={_0x8c49a7:0x729,_0x12d7c1:0x7bd,_0x2261c5:0x5ae},_0x11bbf2={_0x31dfbc:0xb5},_0x2dc85d=_0x23a37f['split']('.');if(_0x2dc85d[_0xd696a8(_0x5cbedc._0x8c49a7,0x6b3,_0x5cbedc._0x12d7c1,0x695)]!==0x4)return null;let _0x3fe078=0x0;for(const _0x489e5f of _0x2dc85d){if(!/^\d{1,3}$/[_0xd696a8(0x688,_0x5cbedc._0x2261c5,0x6f2,0x5ec)](_0x489e5f))return null;const _0x579330=Number(_0x489e5f);if(_0x579330>0xff)return null;_0x3fe078=_0x3fe078*0x100+_0x579330;}function _0xd696a8(_0xb51f69,_0x401c9d,_0x3785bc,_0x2dc396){return _0x257320(_0xb51f69-0x10b,_0x401c9d-0x23,_0xb51f69-0x208,_0x2dc396);}function _0x1539c5(_0x414ad8,_0x5aa2bd,_0x72201e,_0x57c368){return _0x3342ed(_0x414ad8-_0x11bbf2._0x31dfbc,_0x414ad8,_0x72201e- -0x475,_0x57c368-0x1bc);}return _0x3fe078>>>0x0;}function isBlockedIpv4(_0x57ff27){const _0x3c2200={_0x5f4d7b:0x9e,_0x2ac658:0x304,_0x306f4d:0x30d,_0x5f02f4:0x15,_0x1377d9:0x1ac,_0x11d9ad:0x1a6,_0x20a3f5:0x9a,_0x57d19f:0x127,_0x239942:0x215,_0x3423a2:0x26c,_0x2b57e5:0x21d,_0x5ad86d:0x6e,_0x3cf987:0x11e,_0x127148:0x23d,_0x410626:0x1f3},_0x50acf9={_0x256cb0:0x1ee},_0x2fa44e={_0x51bf53:0x17c},_0x22671e=ipv4ToInt(_0x57ff27);if(_0x22671e===null)return!![];const _0x40a529=(_0x3c34cd,_0x1025fb)=>{const _0xc33845=ipv4ToInt(_0x3c34cd);if(_0xc33845===null)return![];const _0x286fcf=_0x1025fb===0x0?0x0:0xffffffff<<0x20-_0x1025fb>>>0x0;return(_0x22671e&_0x286fcf)===(_0xc33845&_0x286fcf);};function _0xefce3c(_0x1989e0,_0x3be66a,_0x32f753,_0x588444){return _0x3342ed(_0x1989e0-_0x2fa44e._0x51bf53,_0x32f753,_0x3be66a- -0x13c,_0x588444-0xea);}function _0x32290e(_0x3b7cd9,_0x3a1bec,_0x50ca9c,_0x4d8276){return _0x3342ed(_0x3b7cd9-0x1ae,_0x50ca9c,_0x4d8276- -0x462,_0x4d8276-_0x50acf9._0x256cb0);}return _0x40a529(_0x32290e(-0x94,-0x91,0xb2,_0x3c2200._0x5f4d7b),0x8)||_0x40a529(_0xefce3c(0x3b0,_0x3c2200._0x2ac658,0x36f,_0x3c2200._0x306f4d),0x8)||_0x40a529('100.64.0.0',0xa)||_0x40a529('127.0.0.0',0x8)||_0x40a529(_0xefce3c(0x30f,0x291,0x1cb,0x283),0x10)||_0x40a529(_0xefce3c(-_0x3c2200._0x5f02f4,0x157,_0x3c2200._0x1377d9,_0x3c2200._0x11d9ad),0xc)||_0x40a529(_0xefce3c(_0x3c2200._0x20a3f5,_0x3c2200._0x57d19f,_0x3c2200._0x239942,0x234),0x18)||_0x40a529(_0x32290e(-_0x3c2200._0x3423a2,-_0x3c2200._0x2b57e5,-_0x3c2200._0x5ad86d,-0x1e6),0x10)||_0x40a529(_0xefce3c(0xe4,0x225,_0x3c2200._0x3cf987,_0x3c2200._0x127148),0xf)||_0x40a529(_0xefce3c(_0x3c2200._0x410626,0x308,0x418,0x211),0x4)||_0x40a529(_0x32290e(0x162,0x3f,0xa4,0x73),0x4);}function expandIpv6(_0x1fe9f2){const _0x4aa5a7={_0x5d7a93:0x3b,_0x2d93c8:0x130,_0x39e31b:0x2de,_0x14c402:0x21f,_0x1a5dda:0x1f0,_0x49c315:0x2dd,_0x545052:0x152,_0x2dd1f0:0x2a3,_0x4a58f5:0x282,_0x4b94e7:0x108,_0x51d5fb:0x15f,_0x3d5ee7:0x28f,_0x2f6301:0x326,_0x4f2e58:0x28f,_0x5a208d:0x137,_0x44012c:0xd9,_0x35fa2b:0xf2,_0x4728b4:0x1ee,_0x563399:0x264,_0x45a494:0x1df,_0x2e80a3:0x28b},_0x441171={_0x41e2a3:0x1ca};let _0x3d36d8=_0x1fe9f2,_0x50fada;function _0x41410b(_0x1d8c38,_0x190f29,_0x536508,_0x5e726f){return _0x257320(_0x1d8c38-0x14f,_0x190f29-0xce,_0x190f29- -0x2f5,_0x5e726f);}function _0xe949b9(_0x22d98a,_0x40f773,_0x5bdc1f,_0x20b5ba){return _0x3342ed(_0x22d98a-_0x441171._0x41e2a3,_0x5bdc1f,_0x20b5ba- -0x206,_0x20b5ba-0x18f);}const _0x537d94=_0x3d36d8[_0x41410b(-0x47,-_0x4aa5a7._0x5d7a93,-0xf1,_0x4aa5a7._0x2d93c8)](':');_0x3d36d8[_0x41410b(_0x4aa5a7._0x39e31b,_0x4aa5a7._0x14c402,0x120,_0x4aa5a7._0x1a5dda)](_0x537d94+0x1)[_0x41410b(_0x4aa5a7._0x49c315,0x24c,_0x4aa5a7._0x545052,_0x4aa5a7._0x2dd1f0)]('.')&&(_0x50fada=_0x3d36d8[_0xe949b9(0x216,0x235,0x20a,_0x4aa5a7._0x4a58f5)](_0x537d94+0x1),_0x3d36d8=_0x3d36d8[_0x41410b(0x1ce,0x21f,0x294,_0x4aa5a7._0x4b94e7)](0x0,_0x537d94+0x1));const _0x3b9776=_0x3d36d8['split']('::');if(_0x3b9776[_0xe949b9(0x322,0x248,_0x4aa5a7._0x51d5fb,_0x4aa5a7._0x3d5ee7)]>0x2)return null;const _0x18d733=_0x1724f8=>_0x1724f8['split'](':')[_0x41410b(-0x33,0x7a,-0xf9,0xfb)](_0xa50d44=>_0xa50d44['length']>0x0)[_0xe949b9(0x1c2,0x4a,-0xe6,0x8b)](_0x172bfa=>Number[_0xe949b9(0xd,0x37,-0x119,0x3a)](_0x172bfa,0x10)),_0x5bc93b=_0x3b9776[0x0]?_0x18d733(_0x3b9776[0x0]):[],_0x315e8a=_0x3b9776[_0xe949b9(_0x4aa5a7._0x2f6301,0x173,0x1dc,_0x4aa5a7._0x4f2e58)]===0x2&&_0x3b9776[0x1]?_0x18d733(_0x3b9776[0x1]):[],_0x9c7370=[];if(_0x50fada){const _0x5d83e0=ipv4ToInt(_0x50fada);if(_0x5d83e0===null)return null;_0x9c7370[_0xe949b9(_0x4aa5a7._0x5a208d,_0x4aa5a7._0x51d5fb,0x127,_0x4aa5a7._0x44012c)](_0x5d83e0>>>0x10&0xffff,_0x5d83e0&0xffff);}const _0x38c0fd=[..._0x315e8a,..._0x9c7370],_0x14dddb=0x8-_0x5bc93b['length']-_0x38c0fd['length'];if(_0x3b9776['length']===0x1)return _0x5bc93b[_0x41410b(_0x4aa5a7._0x35fa2b,0x22c,0x2c0,0x2ae)]+_0x38c0fd[_0x41410b(_0x4aa5a7._0x4728b4,0x22c,0x243,_0x4aa5a7._0x563399)]===0x8?[..._0x5bc93b,..._0x38c0fd]:null;if(_0x14dddb<0x0)return null;return[..._0x5bc93b,...new Array(_0x14dddb)[_0x41410b(0x87,_0x4aa5a7._0x45a494,_0x4aa5a7._0x2e80a3,0x221)](0x0),..._0x38c0fd];}function isBlockedIpv6(_0x2966f0){const _0x3d8773={_0x5e7494:0x242,_0x132f86:0x314,_0x7cecda:0xac,_0x4d40b0:0x1f4},_0x309bab={_0x2bee6e:0x1f0,_0x2ce929:0xa1},_0x5d1f4a={_0x4a2cac:0x155,_0x558698:0x2b4},_0x178392=expandIpv6(_0x2966f0);function _0x34f90a(_0x1db185,_0x115851,_0x4b8de7,_0x34cccd){return _0x3342ed(_0x1db185-_0x5d1f4a._0x4a2cac,_0x1db185,_0x115851- -_0x5d1f4a._0x558698,_0x34cccd-0x112);}if(!_0x178392||_0x178392['some'](_0x5afc66=>Number[_0x34f90a(-0xa4,0x47,-0xb,0xb3)](_0x5afc66)))return!![];const _0x4e4c1b=_0x178392['slice'](0x0,0x7)['every'](_0x299a56=>_0x299a56===0x0);if(_0x4e4c1b&&(_0x178392[0x7]===0x0||_0x178392[0x7]===0x1))return!![];if(_0x178392[_0x34f90a(0x144,0x1d4,0x2f0,_0x3d8773._0x5e7494)](0x0,0x5)['every'](_0x423972=>_0x423972===0x0)&&(_0x178392[0x5]===0xffff||_0x178392[0x5]===0x0)){const _0x133e3c=(_0x178392[0x6]<<0x10|_0x178392[0x7])>>>0x0,_0x28e74e=[_0x133e3c>>>0x18&0xff,_0x133e3c>>>0x10&0xff,_0x133e3c>>>0x8&0xff,_0x133e3c&0xff][_0x53e5ea(_0x3d8773._0x132f86,0x2bb,_0x3d8773._0x7cecda,_0x3d8773._0x4d40b0)]('.');return isBlockedIpv4(_0x28e74e);}function _0x53e5ea(_0x500cd5,_0x47326c,_0x16ea46,_0x48f030){return _0x257320(_0x500cd5-_0x309bab._0x2bee6e,_0x47326c-_0x309bab._0x2ce929,_0x48f030- -0x2ce,_0x500cd5);}const _0x185071=_0x178392[0x0];if((_0x185071&0xff00)===0xfc00||(_0x185071&0xfe00)===0xfc00)return!![];if((_0x185071&0xffc0)===0xfe80)return!![];if((_0x185071&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x3339c4){const _0x5cf6fd=isIP(_0x3339c4);if(_0x5cf6fd===0x4)return isBlockedIpv4(_0x3339c4);if(_0x5cf6fd===0x6)return isBlockedIpv6(_0x3339c4);return!![];}async function assertPublicUrl(_0x193a5d,_0xef3fda={}){const _0x24968d={_0x20fa5f:0xf9,_0x5cb000:0x268,_0x14f0b9:0x371,_0x1013f0:0x11f,_0x365f36:0x75,_0x14df9d:0x3f0,_0x4b19be:0x4ba,_0x91124a:0x420,_0x14775d:0x347,_0x3a8705:0x2a,_0x4c34e1:0x4,_0x3efe62:0x79,_0x4ceff7:0x3af,_0x4b43eb:0x2af,_0x2ced65:0x13,_0x3f453f:0x19,_0x487ffe:0x38e,_0x45ca47:0x475,_0x34a7bc:0x322,_0x309b04:0xb4,_0xc31d9e:0x457,_0xb76dc:0x371,_0xd8ecdb:0x3e4,_0x1aabb3:0x4b1,_0x2e6421:0x464,_0x2bc15f:0x34c,_0x1013de:0x11f,_0x2dbd73:0x1d6,_0x1f9800:0x12e,_0x1b957c:0xdc,_0x407754:0x2b3,_0x17611b:0x21a,_0x2c8781:0x15d,_0x37e3c6:0x93},_0x2a9e48={_0x488664:0x1a,_0x217a82:0x30,_0x101ab6:0x184};let _0x264a97;try{_0x264a97=new URL(_0x193a5d);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x193a5d});}if(_0x264a97['protocol']!==_0x5b5104(-_0x24968d._0x20fa5f,-_0x24968d._0x5cb000,-0x159,-0xac)&&_0x264a97[_0x26b1ee(0x495,0x4e9,_0x24968d._0x14f0b9,0x39a)]!=='https:')throw new ToolExecutionError(_0x5b5104(-0x37,_0x24968d._0x1013f0,-_0x24968d._0x365f36,0x5c),{'url':_0x193a5d});if(_0x264a97[_0x26b1ee(0x34e,_0x24968d._0x14df9d,0x2e6,0x4d3)]||_0x264a97[_0x26b1ee(_0x24968d._0x4b19be,0x35c,_0x24968d._0x91124a,_0x24968d._0x14775d)])throw new ToolExecutionError(_0x5b5104(_0x24968d._0x3a8705,_0x24968d._0x4c34e1,0x101,_0x24968d._0x3efe62),{'url':_0x264a97['protocol']+'//'+_0x264a97[_0x26b1ee(_0x24968d._0x4ceff7,0x371,0x21a,_0x24968d._0x4b43eb)]+_0x264a97[_0x5b5104(0x2f,0xda,_0x24968d._0x2ced65,_0x24968d._0x3f453f)]});const _0x250b6c=_0x264a97[_0x26b1ee(_0x24968d._0x487ffe,_0x24968d._0x45ca47,0x4e3,_0x24968d._0x34a7bc)]['replace'](/^\[|\]$/g,''),_0x55dddd=_0x264a97[_0x5b5104(_0x24968d._0x309b04,0x165,0x46,0x1e0)]+'//'+_0x264a97[_0x26b1ee(_0x24968d._0xc31d9e,_0x24968d._0xb76dc,0x374,_0x24968d._0xd8ecdb)]+_0x264a97[_0x26b1ee(_0x24968d._0x1aabb3,_0x24968d._0x2e6421,_0x24968d._0x2bc15f,0x2fd)];if(isIP(_0x250b6c)){if(isBlockedAddress(_0x250b6c))throw new ToolExecutionError(_0x5b5104(-0x104,-0x205,-_0x24968d._0x1013de,-_0x24968d._0x2dbd73),{'url':_0x55dddd});return _0x264a97;}function _0x26b1ee(_0x1f2286,_0x361a8d,_0x45a76e,_0x3b5d4d){return _0x3342ed(_0x1f2286-_0x2a9e48._0x488664,_0x1f2286,_0x361a8d-_0x2a9e48._0x217a82,_0x3b5d4d-_0x2a9e48._0x101ab6);}const _0x17396f=_0xef3fda[_0x5b5104(-0x1e8,-_0x24968d._0x1f9800,-_0x24968d._0x1b957c,-_0x24968d._0x407754)]??defaultLookup;function _0x5b5104(_0x39f650,_0x6e8e8b,_0x44025b,_0x4db294){return _0x257320(_0x39f650-0x193,_0x6e8e8b-0x116,_0x39f650- -0x491,_0x44025b);}let _0x2d27af;try{_0x2d27af=await _0x17396f(_0x250b6c);}catch{throw new ToolExecutionError(_0x5b5104(-0xb3,-_0x24968d._0x17611b,-0x4b,-_0x24968d._0x2c8781),{'url':_0x55dddd});}if(_0x2d27af[_0x5b5104(0x90,-_0x24968d._0x37e3c6,0x179,0xba)]===0x0)throw new ToolExecutionError('Could\x20not\x20resolve\x20host',{'url':_0x55dddd});for(const {address:_0x1f93dc}of _0x2d27af){if(isBlockedAddress(_0x1f93dc))throw new ToolExecutionError(_0x5b5104(0x56,0x135,0x1b9,0xd1),{'url':_0x55dddd});}return _0x264a97;}async function safeFetch(_0x404075,_0x538242={},_0x2dc98b={}){const _0xf3c043={_0x33da43:0x1ae,_0x47f794:0x278,_0x35822c:0x22a,_0x3aed27:0x32e,_0x46806d:0x1c4,_0x38f96d:0x1cb,_0x3c4ca0:0x19f,_0x280bed:0x93,_0x52d3ea:0x8b,_0x55f88b:0xb9,_0x2a448b:0x246,_0x46fbe5:0x10c,_0x27e707:0x119,_0x5ad370:0x9c,_0x1f3783:0x9f,_0x2813de:0x1fe,_0x1fee98:0x31,_0x30bfbe:0x47,_0x23afea:0xfd,_0x461616:0x255,_0x520a05:0x88,_0xa6b1b3:0x2a5},_0x487003={_0xc8a0dc:0x5c},_0x5168fd={_0x4aeb47:0x90,_0x2e5e54:0xa};function _0x17bfde(_0x41105c,_0x214485,_0x178813,_0x459fce){return _0x3342ed(_0x41105c-_0x5168fd._0x4aeb47,_0x41105c,_0x178813- -0x1ec,_0x459fce-_0x5168fd._0x2e5e54);}const _0x1bb907=_0x2dc98b[_0x575c88(-0x213,-_0xf3c043._0x33da43,-_0xf3c043._0x47f794,-_0xf3c043._0x35822c)]??fetch,_0x1ef758=_0x2dc98b[_0x17bfde(_0xf3c043._0x3aed27,_0xf3c043._0x46806d,0x257,0x227)]??DEFAULT_MAX_REDIRECTS;function _0x575c88(_0x4d480c,_0x92e098,_0x4481a7,_0x4918a5){return _0x3342ed(_0x4d480c-0x6e,_0x4481a7,_0x92e098- -0x439,_0x4918a5-_0x487003._0xc8a0dc);}let _0x1a3be2=_0x404075;for(let _0x1eb99e=0x0;;_0x1eb99e+=0x1){const _0x1888f2=await assertPublicUrl(_0x1a3be2,_0x2dc98b),_0x59b464=await _0x1bb907(_0x1888f2[_0x17bfde(0x1c2,0x40,0xf5,0x6)](),{..._0x538242,'redirect':_0x17bfde(_0xf3c043._0x38f96d,_0xf3c043._0x3c4ca0,_0xf3c043._0x280bed,-_0xf3c043._0x52d3ea)}),_0x34d761=_0x59b464['headers'][_0x17bfde(_0xf3c043._0x55f88b,_0xf3c043._0x2a448b,0x191,0xa4)](_0x17bfde(_0xf3c043._0x46fbe5,_0xf3c043._0x27e707,0xe9,0x145));if(!REDIRECT_STATUSES[_0x17bfde(_0xf3c043._0x5ad370,_0xf3c043._0x1f3783,0x17a,_0xf3c043._0x2813de)](_0x59b464[_0x575c88(_0xf3c043._0x1fee98,-0x135,-0x238,-_0xf3c043._0x30bfbe)])||!_0x34d761)return _0x59b464;if(_0x1eb99e>=_0x1ef758)throw new ToolExecutionError(_0x575c88(0xe2,0x75,_0xf3c043._0x23afea,-0x64),{'url':_0x1888f2[_0x575c88(-0x11e,-0x158,-0x252,-_0xf3c043._0x461616)]()});_0x1a3be2=new URL(_0x34d761,_0x1888f2)[_0x575c88(-_0xf3c043._0x520a05,-0x158,-0x143,-_0xf3c043._0xa6b1b3)]();}}var USER_AGENT=_0x3342ed(0x406,0x31b,0x462,0x5ca),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x47b760,_0x22c956){const _0x48a442={_0x178fc0:0x378,_0x499272:0x37a,_0x5cd482:0x38c,_0x2d408e:0x3a,_0x2ebea4:0x12f,_0x355e33:0x119,_0x1541b1:0x445,_0x2d2b6f:0x39f,_0x462ae7:0x47f,_0x3f968e:0xdf},_0x2e9002={_0x1c516b:0x15f,_0x1693b2:0x21f},_0x2194f9={_0x58b5db:0x1a},_0x512af0={_0x4111eb:0x184};function _0x2aadc4(_0xf0d210,_0x302b10,_0x1c7658,_0x3586c1){return _0x3342ed(_0xf0d210-0x9c,_0xf0d210,_0x302b10- -_0x512af0._0x4111eb,_0x3586c1-0x1);}const _0x4c9b28=new AbortController(),_0x1aa9c8=setTimeout(()=>_0x4c9b28[_0x2aadc4(0x8a,0x12f,0x283,0x202)](new Error(_0x2aadc4(0x1c3,0x146,0x62,0xa3))),_0x22c956);function _0x1ee940(_0x4aa428,_0x5d844c,_0x5cd6a8,_0x12a929){return _0x3342ed(_0x4aa428-0x129,_0x5cd6a8,_0x12a929-_0x2194f9._0x58b5db,_0x12a929-0x158);}const _0x1ef471=()=>_0x4c9b28[_0x2aadc4(0x24d,0x12f,0x81,0x228)](_0x47b760[_0x2aadc4(0x173,0x2e1,0x302,0x391)]);return _0x47b760[_0x2aadc4(0x43d,_0x48a442._0x178fc0,_0x48a442._0x499272,_0x48a442._0x5cd482)]?_0x4c9b28[_0x2aadc4(_0x48a442._0x2d408e,_0x48a442._0x2ebea4,_0x48a442._0x355e33,-0x3c)](_0x47b760[_0x1ee940(_0x48a442._0x1541b1,0x3bd,_0x48a442._0x2d2b6f,_0x48a442._0x462ae7)]):_0x47b760['addEventListener'](_0x2aadc4(0x239,0x12f,_0x48a442._0x3f968e,0x9a),_0x1ef471,{'once':!![]}),{'signal':_0x4c9b28['signal'],'cleanup':()=>{clearTimeout(_0x1aa9c8);function _0x5239f6(_0x1f63f2,_0x5056a3,_0x1c1a2f,_0x455a24){return _0x2aadc4(_0x455a24,_0x5056a3- -0x28e,_0x1c1a2f-0x80,_0x455a24-0x149);}_0x47b760['removeEventListener'](_0x5239f6(0x0,-_0x2e9002._0x1c516b,-0x40,-_0x2e9002._0x1693b2),_0x1ef471);}};}function createWebFetchTool(_0x164009={}){const _0x32baba={_0x50e652:0x1a6,_0x434109:0x14d,_0xc11539:0xe5,_0x26a1f7:0x123,_0x5719c8:0xa5,_0x27ab3f:0x1f8,_0x235465:0x345,_0x293880:0x229,_0x4834d0:0x70,_0x1b3b14:0x178,_0x1bd740:0xc4,_0xffeae9:0x9b,_0x1e0bc4:0x15e,_0x7c4b3a:0x117,_0x679e5:0x24,_0x25b4c6:0xcb,_0x12ac38:0x157,_0x496098:0x10,_0x2733d3:0xc8,_0x5760dd:0x51,_0x1e54c3:0x103,_0x3803e3:0x1e2,_0x2b6f24:0x69,_0x21944f:0x14f,_0x411e87:0x11e,_0x4fec3a:0x18c,_0x2d8112:0x84,_0x2d02b2:0xc5,_0x579369:0xa7,_0x2e0506:0xf9,_0x22ed3c:0x46,_0x49c3a8:0x100,_0x2af181:0xfd},_0x428684={_0x36db00:0x405,_0x580ffe:0x349,_0x470b67:0x450,_0x5ebc6c:0x161,_0x55e8fe:0x4ac,_0x5d34ec:0x52f,_0x2c13e8:0x60b,_0x235286:0x5ff,_0x5cf4b8:0x38d,_0x5c1c97:0x2de,_0x52e42c:0x396,_0x443fb1:0x5c8,_0x27721e:0x458,_0x26cb93:0x388,_0x51dbd7:0x4bf,_0x3c13c5:0x43b,_0x36a0f7:0x564,_0x188288:0x407,_0x39bb12:0x367,_0x3daaf1:0x3f0,_0x2d5839:0x407,_0x5dbf7d:0x256,_0x48541a:0x30a,_0x1a8901:0x35a,_0x40794b:0x34a,_0x1127fa:0x29e,_0x3a4198:0x306,_0x44bb5e:0x2e1,_0x422957:0x1a5,_0x54e486:0x65e,_0x82f8bf:0x5d8,_0x1c7903:0x3a4,_0x231674:0x483,_0x4f7c71:0x306,_0xafd0ee:0x2f6,_0x112aed:0x4be,_0x3332c7:0x398,_0x6733ac:0x326,_0xcaf544:0x488,_0x46945b:0x2a3,_0xf315b6:0x699,_0x15c3ad:0x525,_0x359c28:0x385,_0x3046bc:0x22a,_0x48bcb1:0x553,_0x3fdd60:0x3ee},_0x974687={_0x485541:0x46,_0xf50f21:0xa3},_0x4cab0a={_0x5e60e2:0x106,_0x6b6933:0x26},_0x2a45ec={_0x4cf917:0x93},_0x146075={_0x2cc691:0x108},_0xb73040=_0x164009[_0x4e573e(-0x18c,-0x203,-0x1d6,-_0x32baba._0x50e652)]??_0x1e5f77(0x272,_0x32baba._0x434109,0x16b,_0x32baba._0x434109);function _0x1e5f77(_0x18a7ac,_0x3f525b,_0x5a8d5a,_0x106c9c){return _0x3342ed(_0x18a7ac-_0x146075._0x2cc691,_0x5a8d5a,_0x3f525b- -0x381,_0x106c9c-0x1e5);}const _0x10ebc5=_0x164009[_0x4e573e(-_0x32baba._0xc11539,-_0x32baba._0x26a1f7,-_0x32baba._0x5719c8,-_0x32baba._0x27ab3f)]??DEFAULT_TIMEOUT_MS2,_0x56a634=_0x164009[_0x4e573e(-0xe7,-0xde,-_0x32baba._0x235465,-_0x32baba._0x293880)];function _0x4e573e(_0x2e37a5,_0x5546f4,_0x2c7f89,_0x4cf7b4){return _0x257320(_0x2e37a5-_0x2a45ec._0x4cf917,_0x5546f4-0xb,_0x4cf7b4- -0x4d2,_0x2e37a5);}const _0x32b0c8=new _0x5b3b49({'headingStyle':_0x4e573e(_0x32baba._0x4834d0,_0x32baba._0x1b3b14,-_0x32baba._0x1bd740,_0x32baba._0xffeae9),'codeBlockStyle':'fenced','bulletListMarker':'-'});return _0x32b0c8[_0x1e5f77(-0x1d3,-0xe9,-_0x32baba._0x1e0bc4,-0x74)](['script','style',_0x1e5f77(0x19b,_0x32baba._0x7c4b3a,-_0x32baba._0x679e5,0xe3),_0x4e573e(-_0x32baba._0x25b4c6,-_0x32baba._0x12ac38,_0x32baba._0x496098,-0x26),_0x4e573e(-_0x32baba._0x2733d3,-0x11a,_0x32baba._0x5760dd,0x54),_0x4e573e(0xcf,-_0x32baba._0x1e54c3,-_0x32baba._0x3803e3,-_0x32baba._0x2b6f24),'header',_0x1e5f77(-0x75,0x1,-_0x32baba._0x21944f,-_0x32baba._0x411e87)]),defineTool({'name':_0xb73040,'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':'object','properties':{'description':{'type':_0x1e5f77(_0x32baba._0x4fec3a,0x10b,_0x32baba._0x2d8112,0x22d)},'url':{'type':_0x4e573e(_0x32baba._0x2d02b2,_0x32baba._0x579369,-_0x32baba._0x2e0506,_0x32baba._0x22ed3c)}},'required':[_0x4e573e(-_0x32baba._0x49c3a8,-0x25d,-_0x32baba._0x2af181,-0xf9)]},async *'execute'(_0x2b126a,_0xabccbd){function _0x27f6ae(_0xf1b754,_0x1e752c,_0x39ab00,_0x28db35){return _0x4e573e(_0x1e752c,_0x1e752c-_0x4cab0a._0x5e60e2,_0x39ab00-_0x4cab0a._0x6b6933,_0x28db35-0x549);}const _0x3c2568=(await assertPublicUrl(_0x2b126a[_0x27f6ae(_0x428684._0x36db00,0x449,_0x428684._0x580ffe,_0x428684._0x470b67)],{'lookup':_0x56a634}))[_0x1bb0bb(0x340,0x2be,0x219,_0x428684._0x5ebc6c)]();if(_0xabccbd['signal'][_0x27f6ae(_0x428684._0x55e8fe,_0x428684._0x5d34ec,_0x428684._0x2c13e8,_0x428684._0x235286)])throw new ToolExecutionError(_0x27f6ae(0x4df,_0x428684._0x5cf4b8,_0x428684._0x5c1c97,0x424),{'url':_0x3c2568});const _0x518838=createTimeoutSignal(_0xabccbd[_0x27f6ae(_0x428684._0x52e42c,_0x428684._0x443fb1,0x394,0x4ae)],_0x10ebc5);let _0x22f81a='',_0x3ee7b4=0x0,_0x31dded;try{const _0x1a1e71=await safeFetch(_0x3c2568,{'headers':{'User-Agent':USER_AGENT},'signal':_0x518838[_0x1bb0bb(_0x428684._0x27721e,_0x428684._0x26cb93,_0x428684._0x51dbd7,_0x428684._0x3c13c5)]},{'lookup':_0x56a634});if(!_0x1a1e71['ok'])throw new ToolExecutionError('HTTP\x20'+_0x1a1e71[_0x27f6ae(_0x428684._0x36a0f7,0x51a,0x2af,_0x428684._0x188288)]+'\x20'+_0x1a1e71[_0x1bb0bb(0x291,0x31c,_0x428684._0x39bb12,0x3d8)],{'url':_0x3c2568,'statusCode':_0x1a1e71[_0x27f6ae(0x293,0x557,_0x428684._0x3daaf1,_0x428684._0x2d5839)]});_0x22f81a=_0x1a1e71[_0x1bb0bb(0x3c6,0x250,_0x428684._0x5dbf7d,0x1e0)][_0x1bb0bb(_0x428684._0x48541a,_0x428684._0x1a8901,_0x428684._0x40794b,_0x428684._0x1127fa)](_0x27f6ae(0x203,_0x428684._0x3a4198,0x320,0x358))??'',_0x3ee7b4=_0x1a1e71[_0x1bb0bb(0x1dc,_0x428684._0x44bb5e,_0x428684._0x422957,0x1c9)],_0x31dded=await _0x1a1e71[_0x1bb0bb(0x4f0,0x392,0x31c,0x46e)]();}catch(_0x2130a5){if(_0x2130a5 instanceof ToolExecutionError)throw _0x2130a5;const _0x3cfe80=_0x2130a5 instanceof Error?_0x2130a5[_0x27f6ae(0x569,_0x428684._0x54e486,_0x428684._0x82f8bf,0x5dc)]:String(_0x2130a5);throw new ToolExecutionError(_0x3cfe80,{'url':_0x3c2568});}finally{_0x518838[_0x27f6ae(0x374,0x37b,_0x428684._0x1c7903,0x395)]();}const _0x4527df=new Date()[_0x1bb0bb(_0x428684._0x1a8901,0x37d,0x4be,_0x428684._0x231674)]();let _0x367f23;function _0x1bb0bb(_0x142c7e,_0x28d162,_0x4692ca,_0x15b5c0){return _0x4e573e(_0x15b5c0,_0x28d162-_0x974687._0x485541,_0x4692ca-_0x974687._0xf50f21,_0x28d162-0x423);}let _0x178263;if(_0x22f81a['includes']('application/json'))_0x367f23='```json\x0a'+_0x31dded+_0x1bb0bb(0x370,0x27f,0x2ef,_0x428684._0x4f7c71),_0x178263=_0x1bb0bb(0x35d,0x2ef,_0x428684._0xafd0ee,0x285);else _0x22f81a[_0x1bb0bb(_0x428684._0x112aed,0x492,0x330,_0x428684._0x3332c7)](_0x1bb0bb(0x434,_0x428684._0x6733ac,_0x428684._0xcaf544,_0x428684._0x46945b))?(_0x367f23=_0x32b0c8[_0x27f6ae(_0x428684._0xf315b6,_0x428684._0x15c3ad,0x524,0x581)](_0x31dded),_0x178263='markdown'):(_0x367f23=_0x31dded,_0x178263=_0x1bb0bb(0x348,0x392,_0x428684._0x359c28,_0x428684._0x3046bc));return yield createToolOutput(_0x367f23,{'url':_0x3c2568,'contentType':_0x22f81a,'statusCode':_0x3ee7b4,'format':_0x178263,'size':_0x31dded[_0x1bb0bb(_0x428684._0x48bcb1,0x472,0x5cf,_0x428684._0x3fdd60)],'fetchedAt':_0x4527df}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function normalizeUrl(_0x431e8a){const _0x4b46c6={_0x44ef38:0x570,_0xc6a88a:0x535,_0x5b7002:0x632,_0x3307ae:0x4e2,_0x1daef6:0x643,_0x5a3a2c:0x4b,_0x1594f0:0x4d1},_0x582a0c={_0x1d23b8:0x102,_0x4fc59b:0x4a4},_0x4c9c80={_0x5edbe5:0x1,_0x37389f:0xa3,_0x911e6a:0x17d};function _0x51ba9d(_0x6f49d8,_0x587886,_0x171095,_0x302fef){return _0x3342ed(_0x6f49d8-_0x4c9c80._0x5edbe5,_0x6f49d8,_0x171095-_0x4c9c80._0x37389f,_0x302fef-_0x4c9c80._0x911e6a);}function _0x3fb126(_0x28f9d7,_0x50b236,_0x31f47c,_0x45c08d){return _0x257320(_0x28f9d7-_0x582a0c._0x1d23b8,_0x50b236-0x13,_0x45c08d- -_0x582a0c._0x4fc59b,_0x50b236);}try{const _0x62e904=new URL(_0x431e8a);for(const _0x3a0024 of['utm_source',_0x51ba9d(_0x4b46c6._0x44ef38,0x3f4,_0x4b46c6._0xc6a88a,_0x4b46c6._0x5b7002),'utm_campaign',_0x51ba9d(0x47b,_0x4b46c6._0x3307ae,0x583,_0x4b46c6._0x1daef6),_0x3fb126(0xcd,-_0x4b46c6._0x5a3a2c,-0x1c2,-0x5a),_0x51ba9d(0x44f,0x356,0x46d,_0x4b46c6._0x1594f0),'fbclid','mc_cid','mc_eid']){_0x62e904['searchParams'][_0x3fb126(0xd2,0x88,-0x32,-0x2d)](_0x3a0024);}return _0x62e904['toString']();}catch{return _0x431e8a;}}function cseDateRestrict(_0x58ec7f){const _0x1780aa={_0x5891a6:0xd7,_0x460c1b:0x20,_0x40a54a:0x22e,_0x47acc6:0x1c6,_0x1f919e:0x207,_0x352083:0x263,_0x3e88c0:0x142,_0x2ed28c:0x1f,_0x539044:0x3a,_0x23285c:0x5d9,_0x4a5cc8:0x4e0,_0x1375d7:0x464},_0x4ef3e3={_0x1c7877:0xd0},_0x155186={_0x58581a:0x191};if(_0x58ec7f<=0x0)return void 0x0;function _0x50a5e2(_0x3ba897,_0x4fc28e,_0x25bcf6,_0x3608c2){return _0x3342ed(_0x3ba897-_0x155186._0x58581a,_0x25bcf6,_0x3ba897- -0x181,_0x3608c2-0x11f);}function _0x453564(_0x5d7f97,_0x2d5daf,_0x28360b,_0x213a82){return _0x257320(_0x5d7f97-0x59,_0x2d5daf-_0x4ef3e3._0x1c7877,_0x28360b-0x217,_0x213a82);}if(_0x58ec7f<=0x1e)return'd'+Math[_0x50a5e2(_0x1780aa._0x5891a6,-0x21,_0x1780aa._0x460c1b,_0x1780aa._0x40a54a)](0x1,Math[_0x50a5e2(_0x1780aa._0x47acc6,_0x1780aa._0x1f919e,_0x1780aa._0x352083,0x116)](_0x58ec7f));if(_0x58ec7f<=0x16d)return'm'+Math[_0x50a5e2(0xbc,_0x1780aa._0x3e88c0,-_0x1780aa._0x2ed28c,-_0x1780aa._0x539044)](_0x58ec7f/0x1e);return'y'+Math[_0x453564(_0x1780aa._0x23285c,0x4e2,_0x1780aa._0x4a5cc8,_0x1780aa._0x1375d7)](_0x58ec7f/0x16d);}function addSiteFilters(_0x251902,_0x29c461){const _0x1a8eb9={_0x2b3e39:0x5d6,_0x2b783d:0x66e,_0x45fc64:0x154,_0x53767d:0x4fa,_0x33bd65:0x49a,_0x5b4774:0x381,_0x3e2dad:0x406,_0x12a14c:0x4e8,_0x14c994:0x197},_0x515dc7={_0x1505e1:0x10f};function _0x3253c6(_0xc4b277,_0x2611d0,_0x1a2228,_0x4548b6){return _0x3342ed(_0xc4b277-0x90,_0x2611d0,_0x1a2228-0xc4,_0x4548b6-0x1eb);}function _0x46f304(_0x5b7d4e,_0x3c247b,_0x4d16b4,_0x3fa72a){return _0x3342ed(_0x5b7d4e-_0x515dc7._0x1505e1,_0x3fa72a,_0x4d16b4- -0x184,_0x3fa72a-0x11b);}if(_0x29c461[_0x3253c6(_0x1a8eb9._0x2b3e39,0x57f,0x559,_0x1a8eb9._0x2b783d)]===0x0)return _0x251902[_0x46f304(-0x5b,0x74,0xb3,_0x1a8eb9._0x45fc64)]();return(_0x251902+'\x20('+_0x29c461['map'](_0x545b46=>_0x46f304(0x181,0x213,0x22c,0x169)+_0x545b46)[_0x3253c6(0x5b6,0x3aa,_0x1a8eb9._0x53767d,_0x1a8eb9._0x33bd65)](_0x3253c6(_0x1a8eb9._0x5b4774,_0x1a8eb9._0x3e2dad,0x4df,_0x1a8eb9._0x12a14c))+')')[_0x3253c6(0x430,0x41c,0x2fb,_0x1a8eb9._0x14c994)]();}function normalizeType(_0x20562a){const _0x20eb93={_0x23f832:0x762,_0x168fdf:0x837,_0x340170:0x762,_0x52aaf3:0x863,_0x5bd4f6:0x650,_0x2095b8:0x14b},_0x53ccc2={_0x47f4e2:0x10c,_0x122b13:0x206},_0x3617c7={_0x458c49:0x143,_0x1812a6:0x1e2};function _0xa50fc7(_0x5c3362,_0x5b8752,_0x34694e,_0x17d030){return _0x257320(_0x5c3362-0xde,_0x5b8752-_0x3617c7._0x458c49,_0x5c3362-_0x3617c7._0x1812a6,_0x5b8752);}function _0xbd5247(_0x3f2021,_0x32f002,_0xe35f9f,_0x290abf){return _0x257320(_0x3f2021-0xfe,_0x32f002-_0x53ccc2._0x47f4e2,_0x290abf- -_0x53ccc2._0x122b13,_0xe35f9f);}return _0x20562a===_0xa50fc7(_0x20eb93._0x23f832,0x731,_0x20eb93._0x168fdf,0x898)?_0xa50fc7(_0x20eb93._0x340170,_0x20eb93._0x52aaf3,_0x20eb93._0x5bd4f6,0x5f0):_0xbd5247(-0x13,0x24c,0x25c,_0x20eb93._0x2095b8);}async function fetchJson(_0x238780,_0xdc2185,_0x4a5f10){const _0x591778={_0x5b76e0:0x3bc,_0x1f1bfe:0x271,_0x2c7a61:0x47a,_0x39e480:0x3c9,_0xd350a2:0x3fc,_0x184fef:0x50b,_0x5b6613:0x684,_0x5daa19:0x61b,_0x156249:0x3d4,_0x5e8ee5:0x560,_0x52f040:0x53f,_0x309632:0x3b3,_0x25b913:0x3a1,_0x30e45d:0x5e9,_0x136533:0x506,_0x287229:0x5ac,_0x247589:0x5a9,_0xa4075f:0x29d,_0x17b6df:0x2e2,_0x8ea1c4:0x62f,_0x23987a:0x4ed,_0x211165:0x6eb,_0x55b049:0x52a,_0x31a41c:0x57e,_0x395716:0x3ca,_0x3698d2:0x528,_0x229283:0x4c8,_0x59ca28:0x2b1,_0x34a1f8:0x3e7,_0x1079c9:0x415,_0x479405:0x24a,_0x5834eb:0x212,_0x5496b0:0x5b6,_0x125816:0x368,_0x3b390e:0x495,_0x4c7c32:0x4a4,_0x543408:0x404,_0x471212:0x1b6,_0x3208cb:0xa1},_0x398135={_0x350282:0x18d},_0x490f6d={_0x1671d1:0xb5},_0x3afd38=await fetch(_0x238780,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x16c92f(_0x591778._0x5b76e0,_0x591778._0x1f1bfe,_0x591778._0x2c7a61,0x3ae),..._0x4a5f10?.[_0x16c92f(_0x591778._0x39e480,_0x591778._0xd350a2,0x51c,0x35d)]},'signal':_0xdc2185,..._0x4a5f10});if(!_0x3afd38['ok']){let _0x5e0cfd,_0x42e6d2;try{_0x5e0cfd=await _0x3afd38[_0x16c92f(_0x591778._0x184fef,_0x591778._0x5b6613,_0x591778._0x5daa19,_0x591778._0x156249)]();const _0x5b02e0=JSON[_0x16c92f(_0x591778._0x5e8ee5,_0x591778._0x52f040,0x68c,0x4a5)](_0x5e0cfd),_0x24685a=typeof _0x5b02e0[_0x3b36e9(_0x591778._0x309632,0x460,_0x591778._0x25b913,0x300)]==='object'?_0x5b02e0[_0x16c92f(_0x591778._0x30e45d,_0x591778._0x136533,_0x591778._0x287229,_0x591778._0x247589)]['error']:void 0x0;_0x42e6d2=_0x5b02e0[_0x3b36e9(_0x591778._0xa4075f,0x206,_0x591778._0x17b6df,0x28d)]?.[_0x16c92f(_0x591778._0x8ea1c4,_0x591778._0x23987a,_0x591778._0x211165,0x589)]??_0x5b02e0[_0x16c92f(_0x591778._0x55b049,_0x591778._0x31a41c,_0x591778._0x395716,0x582)]?.[_0x16c92f(0x5a8,_0x591778._0x3698d2,0x55a,_0x591778._0x229283)]?.[0x0]?.[_0x3b36e9(_0x591778._0x59ca28,0x545,_0x591778._0x34a1f8,_0x591778._0x1079c9)]??_0x24685a;}catch{}const _0x279740=_0x42e6d2?'HTTP\x20'+_0x3afd38[_0x3b36e9(_0x591778._0x479405,0x2b9,_0x591778._0x5834eb,0x333)]+':\x20'+_0x42e6d2:_0x16c92f(0x63a,0x76f,_0x591778._0x5496b0,0x66f)+_0x3afd38[_0x16c92f(0x45a,0x427,0x3f0,_0x591778._0x125816)]+'\x20'+_0x3afd38[_0x16c92f(_0x591778._0x3b390e,0x538,_0x591778._0x4c7c32,_0x591778._0x543408)];throw new ToolExecutionError(_0x279740,{'statusCode':_0x3afd38[_0x3b36e9(_0x591778._0x471212,_0x591778._0x3208cb,_0x591778._0x5834eb,0x152)],..._0x5e0cfd?{'body':_0x5e0cfd}:{}});}function _0x3b36e9(_0x5686e9,_0x9bb7b6,_0x3565c3,_0x222b27){return _0x257320(_0x5686e9-0x90,_0x9bb7b6-_0x490f6d._0x1671d1,_0x3565c3- -0x17e,_0x222b27);}function _0x16c92f(_0x1adf9a,_0x2ba145,_0x2d41e9,_0x3a0c7f){return _0x257320(_0x1adf9a-_0x398135._0x350282,_0x2ba145-0x4f,_0x1adf9a-0xca,_0x2ba145);}return await _0x3afd38['json']();}async function hydrateResults(_0x845ecb,_0x445fe2,_0x5c8741,_0x2ea1c6){const _0xa9c940={_0x52387b:0x12,_0x2bd72c:0x137,_0x18fd8b:0x93,_0x14c1ac:0x6cd},_0xf98e0f={_0x3c6160:0x11d,_0x39defd:0x32a},_0x49759f={_0x48cc0c:0x799,_0x2d28fc:0x721,_0x4732f3:0x4f7,_0x388521:0x78a,_0x53da1a:0x73c,_0x4a2fac:0x2c8,_0x211910:0x3fd,_0x4738b9:0x341,_0x40b395:0x1f7,_0x4a4cfc:0x2a1,_0x3cc18d:0x1f8,_0x364771:0x29d,_0x382e8c:0x3a3,_0x36a00b:0x4a8,_0x6b47a7:0x54b,_0x4d5431:0x598,_0x5e7905:0x5b0,_0xf39624:0x47b,_0x421adf:0x412,_0x51b16c:0x549,_0xe5b3ff:0x4ad,_0x2af356:0x521,_0x558550:0x53f,_0x2bc612:0x1e7,_0x459849:0x2ad,_0x59371a:0x331,_0x38a9df:0x2c3,_0x3265a9:0xea,_0x30b841:0x61a,_0x2256ac:0x75b,_0x550d36:0x774,_0x400dfa:0x266,_0xe2089a:0x2f9,_0x1ed485:0x1b1,_0x6430b0:0x6fb,_0x24c1b0:0x663,_0x36bfb1:0x5b3,_0x1ae993:0x48a,_0x43041b:0x6c9,_0x4a12de:0x872,_0x4f7eef:0x7c5,_0xb7470:0x6f2,_0x112ddd:0x2bf,_0x18dd61:0x16c,_0x34f032:0x368,_0x38dd9c:0x643,_0x2a447e:0x5c2,_0x58a701:0x472,_0x605820:0x4a2,_0x396189:0x14d,_0x4f48d4:0x225,_0xe6f2a3:0x35c,_0x27e118:0x15a,_0x2f3db1:0x213,_0x1501b4:0x669},_0x1742ff={_0x4751e2:0x1a2,_0x1cbcff:0x1bf,_0xa5398f:0x81};function _0x4a0c6f(_0x4828b7,_0x3e1403,_0x32a9f7,_0x2e269a){return _0x3342ed(_0x4828b7-_0x1742ff._0x4751e2,_0x2e269a,_0x32a9f7-_0x1742ff._0x1cbcff,_0x2e269a-_0x1742ff._0xa5398f);}const _0x326586=await Promise[_0x5673ed(-0xd3,-_0xa9c940._0x52387b,0x84,-0x28)](_0x845ecb[_0x5673ed(_0xa9c940._0x2bd72c,_0xa9c940._0x18fd8b,0x229,0x1ea)](0x0,0xa)['map'](async _0x5861e7=>{const _0x2fefac={_0x4e248d:0x1d9,_0x3b1029:0x7a},_0x549a36={_0x458c21:0x18f,_0x250b36:0x28d};function _0x137062(_0x5765cf,_0x1e8bd8,_0x14e872,_0x437ef2){return _0x4a0c6f(_0x5765cf-_0x549a36._0x458c21,_0x1e8bd8-0x194,_0x1e8bd8- -_0x549a36._0x250b36,_0x14e872);}function _0x38c959(_0x275d5c,_0x121bcc,_0xba25a6,_0x19fde0){return _0x4a0c6f(_0x275d5c-_0x2fefac._0x4e248d,_0x121bcc-_0x2fefac._0x3b1029,_0xba25a6-0x12b,_0x19fde0);}try{const _0xcf546f=await safeFetch(_0x5861e7[_0x38c959(_0x49759f._0x48cc0c,_0x49759f._0x2d28fc,0x637,_0x49759f._0x4732f3)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x445fe2,'Accept':_0x38c959(_0x49759f._0x388521,_0x49759f._0x53da1a,0x633,0x4e7)},'signal':_0x5c8741},{'lookup':_0x2ea1c6});if(!_0xcf546f['ok'])return _0x5861e7;const _0x2c1494=await _0xcf546f[_0x137062(_0x49759f._0x4a2fac,0x2e7,_0x49759f._0x211910,_0x49759f._0x4738b9)](),_0x1eeddf=load(_0x2c1494),_0x2fff0c=_0x1eeddf(_0x137062(_0x49759f._0x40b395,_0x49759f._0x4a4cfc,_0x49759f._0x3cc18d,_0x49759f._0x364771))['attr'](_0x137062(0x2b1,_0x49759f._0x382e8c,0x4aa,0x457))||_0x1eeddf(_0x38c959(_0x49759f._0x36a00b,0x553,_0x49759f._0x6b47a7,_0x49759f._0x4d5431))[_0x38c959(0x4c0,0x687,_0x49759f._0x5e7905,_0x49759f._0xf39624)]()[_0x137062(0x312,0x2e7,_0x49759f._0x421adf,0x313)]()[_0x38c959(_0x49759f._0x51b16c,_0x49759f._0xe5b3ff,_0x49759f._0x2af356,0x64b)](),_0x1b9ae0=_0x1eeddf(_0x38c959(_0x49759f._0x558550,0x5e4,0x593,0x42c))['attr']('content')||_0x1eeddf(_0x137062(_0x49759f._0x2bc612,0x29e,0x252,_0x49759f._0x459849))[_0x137062(0x30d,0x1fb,0x20d,_0x49759f._0x59371a)]('content')||_0x5861e7[_0x137062(0x32d,0x2e5,0x1bb,_0x49759f._0x38a9df)],_0x44232b=_0x1eeddf(_0x137062(_0x49759f._0x3265a9,0x1e2,0x8a,0xf8))[_0x137062(0xd5,0x1fb,0xde,0x93)](_0x38c959(0x87a,_0x49759f._0x30b841,_0x49759f._0x2256ac,_0x49759f._0x550d36))||_0x1eeddf(_0x137062(0x29d,_0x49759f._0x400dfa,_0x49759f._0xe2089a,_0x49759f._0x1ed485))[_0x38c959(_0x49759f._0x6430b0,_0x49759f._0x24c1b0,_0x49759f._0x36bfb1,_0x49759f._0x1ae993)](_0x38c959(_0x49759f._0x43041b,_0x49759f._0x4a12de,_0x49759f._0x4f7eef,0x74e))||_0x5861e7[_0x38c959(0x8a9,0x680,0x737,_0x49759f._0xb7470)],_0x304fc6=_0x1eeddf(_0x137062(0x37e,_0x49759f._0x112ddd,_0x49759f._0x18dd61,_0x49759f._0x34f032))[_0x38c959(_0x49759f._0x38dd9c,_0x49759f._0x2a447e,0x5b3,0x710)]('href');return{..._0x5861e7,'title':_0x2fff0c||_0x5861e7[_0x38c959(_0x49759f._0x58a701,0x535,_0x49759f._0x6b47a7,_0x49759f._0x605820)],'snippet':_0x1b9ae0,'url':_0x304fc6?normalizeUrl(new URL(_0x304fc6,_0x5861e7[_0x137062(_0x49759f._0x396189,0x27f,_0x49759f._0x4f48d4,_0x49759f._0xe6f2a3)])[_0x137062(_0x49759f._0x27e118,_0x49759f._0x2f3db1,0x1a0,0x1e6)]()):_0x5861e7[_0x38c959(0x54b,0x656,0x637,_0x49759f._0x1501b4)],'publishedAt':_0x44232b};}catch{return _0x5861e7;}})),_0x3bd441=new Map(_0x845ecb[_0x4a0c6f(0x5be,0x5af,0x647,_0xa9c940._0x14c1ac)](0x0,0xa)['map']((_0x12c0c,_0x28bf89)=>[_0x12c0c['url'],_0x326586[_0x28bf89]]));function _0x5673ed(_0x46b3aa,_0x284886,_0xb6420,_0x36b18e){return _0x257320(_0x46b3aa-_0xf98e0f._0x3c6160,_0x284886-0x18,_0x36b18e- -_0xf98e0f._0x39defd,_0x284886);}return _0x845ecb[_0x5673ed(0x6a,-0xd4,-0x16,-0xd)](_0x18a086=>_0x3bd441[_0x5673ed(0x103,0x53,0x179,0xdf)](_0x18a086[_0x5673ed(-0x4d,0x111,0x191,0xaf)])??_0x18a086);}function formatResults(_0x5511d5){const _0x1519c3={_0x26e27d:0x3dd,_0x3c5e50:0x440,_0x384457:0x4a4,_0x5b5d2e:0x5cd},_0x828e0f={_0x594fc1:0x53a,_0x274fca:0x346,_0x4ab00a:0x498,_0x4d52aa:0x3e5,_0x43cb32:0x4c9,_0x1f104a:0x38a,_0x364ac5:0x206,_0x5548eb:0x206,_0x475119:0x331,_0x46ac1a:0x29d,_0x5d0b3c:0x16e,_0x3a6561:0x5a9,_0x3107b0:0x256,_0x3459d0:0x4c9},_0x55b052={_0x449c6e:0x1d9,_0x4970ff:0x27b},_0x56eff4={_0x147ad5:0x24,_0x11e4c7:0x55,_0x385289:0x40},_0x4f2869={_0x5a873c:0x1d0,_0x418605:0x5c};function _0x287fe4(_0x2d5f9a,_0x1a141c,_0x577fa4,_0x367703){return _0x3342ed(_0x2d5f9a-0x18e,_0x577fa4,_0x1a141c-_0x4f2869._0x5a873c,_0x367703-_0x4f2869._0x418605);}if(_0x5511d5[_0x74ac9b(0x51a,_0x1519c3._0x26e27d,0x4d1,_0x1519c3._0x3c5e50)]===0x0)return _0x74ac9b(_0x1519c3._0x384457,0x5b1,_0x1519c3._0x5b5d2e,0x47b);function _0x74ac9b(_0x394fd0,_0x96df26,_0x45a0ce,_0x1e611c){return _0x3342ed(_0x394fd0-_0x56eff4._0x147ad5,_0x96df26,_0x1e611c- -_0x56eff4._0x11e4c7,_0x1e611c-_0x56eff4._0x385289);}return _0x5511d5['map'](_0x3c5921=>{const _0x3fcf47={_0x42d72:0x17f},_0xb35555=[_0x3c5921[_0x2dda45(0x5d8,_0x828e0f._0x594fc1,0x675,0x575)][_0x2dda45(_0x828e0f._0x274fca,_0x828e0f._0x4ab00a,_0x828e0f._0x4d52aa,_0x828e0f._0x43cb32)]+'.\x20'+_0x3c5921['title'],_0x3c5921[_0x504a1e(_0x828e0f._0x1f104a,0x2a2,0x179,_0x828e0f._0x364ac5)]];function _0x504a1e(_0x991092,_0x9cb05e,_0x5bad11,_0x1dbcca){return _0x287fe4(_0x991092-_0x55b052._0x449c6e,_0x9cb05e- -_0x55b052._0x4970ff,_0x991092,_0x1dbcca-0xff);}function _0x2dda45(_0x5d5de2,_0x484add,_0xaf89b9,_0x251092){return _0x74ac9b(_0x5d5de2-0x1b9,_0x5d5de2,_0xaf89b9-_0x3fcf47._0x42d72,_0x484add-0x251);}if(_0x3c5921['snippet'])_0xb35555[_0x504a1e(_0x828e0f._0x5548eb,0x234,0x223,_0x828e0f._0x475119)](_0x3c5921['snippet']);if(_0x3c5921['publishedAt'])_0xb35555['push'](_0x504a1e(_0x828e0f._0x46ac1a,0x171,0x130,_0x828e0f._0x5d0b3c)+_0x3c5921[_0x2dda45(0x6ce,0x649,_0x828e0f._0x3a6561,0x65f)]);return _0xb35555[_0x504a1e(_0x828e0f._0x3107b0,0x38b,0x21f,_0x828e0f._0x3459d0)]('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x35f35d,_0x32b6e3,_0x4c8958){const _0x50ae26={_0x2b0205:0x23,_0x14048d:0x79,_0x334658:0x1b4,_0x1dae7e:0x1f7,_0x453d04:0x2c6,_0x5b1f35:0x150,_0xa42ba0:0xb4,_0x5ab12c:0xbe,_0x2931b3:0x55,_0xfdfce4:0xea,_0x1dae5:0x63,_0xa1ce8e:0x27,_0xb3ed06:0xc3,_0x2b1b33:0x1e,_0x421fa0:0x46,_0x431945:0x15b,_0x2b7911:0xa9,_0x2440d5:0x18a,_0x198047:0x22a,_0x18c41c:0x128,_0x536178:0x194,_0x415252:0x2ee,_0xbb03ba:0x24a},_0x542895={_0x1967e3:0x4da,_0x3064ec:0x4a0,_0x5a49a0:0x5cc,_0xed4ce3:0x651,_0x238bb1:0x3f8,_0x52ad8f:0x600,_0x2c1c69:0x5f0},_0x2141be={_0xffd3a5:0x15a},_0x234381={_0x473cf1:0x218,_0x354b4c:0x133},_0x2fc2df=Math['max'](0x1,Math[_0x3442c8(-_0x50ae26._0x2b0205,_0x50ae26._0x14048d,-0xb0,_0x50ae26._0x334658)](0xa,_0x32b6e3[_0x3442c8(0x42,0xb9,_0x50ae26._0x1dae7e,0x74)])),_0x802419=addSiteFilters(_0x32b6e3[_0x110b69(_0x50ae26._0x453d04,_0x50ae26._0x5b1f35,0x144,_0x50ae26._0xa42ba0)],_0x32b6e3[_0x3442c8(_0x50ae26._0x5ab12c,_0x50ae26._0x2931b3,_0x50ae26._0xfdfce4,-0x99)]);function _0x110b69(_0x138a27,_0x44c47e,_0x2900f6,_0xf0e115){return _0x3342ed(_0x138a27-0x88,_0x2900f6,_0x44c47e- -_0x234381._0x473cf1,_0xf0e115-_0x234381._0x354b4c);}function _0x3442c8(_0x13a63a,_0xaa518,_0x492d27,_0x508706){return _0x257320(_0x13a63a-0x12b,_0xaa518-_0x2141be._0xffd3a5,_0xaa518- -0x3ed,_0x508706);}const _0x75ec22=await fetchJson(_0x3442c8(_0x50ae26._0x1dae5,0xb4,0x1e,0x19d),_0x4c8958,{'method':_0x3442c8(0x11d,0x4,-0x4b,0x166),'headers':{'Authorization':_0x3442c8(_0x50ae26._0xa1ce8e,_0x50ae26._0xb3ed06,0x14c,0xc0)+_0x35f35d[_0x110b69(0xfe,_0x50ae26._0x2b1b33,-0x126,_0x50ae26._0x421fa0)]},'body':JSON[_0x110b69(0x123,_0x50ae26._0x431945,_0x50ae26._0x2b7911,0x256)]({'query':_0x802419,'max_results':_0x2fc2df})}),_0x597764=_0x75ec22[_0x3442c8(0x10f,_0x50ae26._0x2440d5,_0x50ae26._0x198047,0x51)]??[],_0x7a841=_0x597764[_0x3442c8(-_0x50ae26._0x18c41c,-0xd0,_0x50ae26._0x2931b3,-0x1e7)]((_0x4b174c,_0x548e8c)=>{const _0xed418c={_0xe77b8d:0x291},_0x172127={_0x45acae:0x1bb,_0x36162e:0x11d};function _0x5f0de7(_0x5dbfcb,_0x64456a,_0x464c8e,_0x328c2c){return _0x110b69(_0x5dbfcb-_0x172127._0x45acae,_0x328c2c-0x43d,_0x5dbfcb,_0x328c2c-_0x172127._0x36162e);}const _0x3ee984=_0x4b174c[_0x2ab322(_0x542895._0x1967e3,0x2b7,_0x542895._0x3064ec,0x3c6)]||'';let _0x51a9be;try{_0x51a9be=new URL(_0x3ee984)[_0x5f0de7(_0x542895._0x5a49a0,0x442,_0x542895._0xed4ce3,0x566)];}catch{_0x51a9be=null;}function _0x2ab322(_0x6883c3,_0xd5597c,_0x438cf2,_0x3a8ccc){return _0x110b69(_0x6883c3-0x143,_0x3a8ccc-_0xed418c._0xe77b8d,_0xd5597c,_0x3a8ccc-0x19a);}return{'title':_0x4b174c[_0x5f0de7(_0x542895._0x238bb1,0x5ac,0x464,0x486)]||_0x2ab322(0x591,0x5a1,_0x542895._0x52ad8f,0x4b4),'url':normalizeUrl(_0x3ee984),'snippet':_0x4b174c['content']??null,'displayUrl':_0x51a9be,'favicon':null,'publishedAt':null,'source':{'engine':_0x5f0de7(_0x542895._0x2c1c69,0x5d1,0x6ad,0x72b),'rank':_0x548e8c+0x1}};});return{'items':_0x7a841['slice'](0x0,_0x2fc2df),'engine':_0x110b69(_0x50ae26._0x536178,_0x50ae26._0x415252,_0x50ae26._0xbb03ba,0x37d)};}async function searchTavily(_0x540997,_0x12f582,_0x139b80){const _0x105dd2={_0x546e96:0x226,_0x47fd85:0x48f,_0x5cda67:0x11a,_0x30bce7:0x6f,_0x5a56b4:0x4d,_0x31d9ee:0x1d4,_0x38670e:0x3cf,_0x2939f2:0x329,_0x1693c7:0x144,_0xfd10ec:0x19e,_0x4b4b9d:0xd8,_0x2f201c:0x12c,_0x214c7a:0x114,_0xaea9ff:0x16e,_0x470c86:0x15c,_0x4a41c2:0x35d,_0x78a858:0x354,_0x294f9c:0x444,_0xc9ba89:0x497,_0x3e4ad4:0x43c,_0x4fb7e3:0x2e0,_0x4fb1fc:0x3a7,_0xc02542:0x1fe,_0x80e992:0x8a,_0x3c68f2:0xb1,_0xd95a9e:0x12,_0x4bafe5:0x102,_0x1605df:0xfb,_0x158f06:0x16,_0x49a2a6:0x25b,_0x37e0e3:0x10a,_0x1de729:0x31a,_0x54dd95:0x3ef,_0x10545d:0x1ed},_0xed0a2c={_0x5ec921:0x66c,_0x2ae3f6:0x573,_0x2994f2:0x545,_0x502bfe:0x5b6,_0xe2921a:0x3a8,_0x42a5b5:0x4b6,_0x53889a:0x549,_0x1bd881:0x53d,_0xbded04:0x734,_0x31daa9:0x669,_0x4993c5:0x548,_0x4cdf1c:0x2bb,_0xf33965:0x314},_0x5bb28b={_0x4aa366:0xe8,_0x4ef8ef:0x1ad,_0x4cc16f:0x4f3},_0x90d310=Math[_0xaac4b9(0x1ff,0x2ac,0x1d2,0x1bd)](0x1,Math[_0xaac4b9(0x381,_0x105dd2._0x546e96,0x305,_0x105dd2._0x47fd85)](0x14,_0x12f582[_0x28521c(-_0x105dd2._0x5cda67,_0x105dd2._0x30bce7,-_0x105dd2._0x5a56b4,0x4)])),_0x1b9c6e={'query':_0x12f582[_0xaac4b9(0x30f,_0x105dd2._0x31d9ee,0x264,0x26d)],'max_results':_0x90d310,'search_depth':_0x540997[_0xaac4b9(_0x105dd2._0x38670e,0x28e,_0x105dd2._0x2939f2,0x524)]??_0x28521c(-0x1ab,-_0x105dd2._0x1693c7,-0x42,-_0x105dd2._0xfd10ec),'topic':_0x540997[_0x28521c(-_0x105dd2._0x4b4b9d,-0x264,-_0x105dd2._0x2f201c,-_0x105dd2._0x214c7a)]??_0x28521c(-0x114,-0xaa,-_0x105dd2._0xaea9ff,-_0x105dd2._0x470c86)};function _0x28521c(_0x19ff70,_0x334bb3,_0x44a1b3,_0x43fe02){return _0x257320(_0x19ff70-_0x5bb28b._0x4aa366,_0x334bb3-_0x5bb28b._0x4ef8ef,_0x44a1b3- -_0x5bb28b._0x4cc16f,_0x43fe02);}if(_0x12f582[_0xaac4b9(_0x105dd2._0x4a41c2,_0x105dd2._0x78a858,_0x105dd2._0x294f9c,_0x105dd2._0xc9ba89)][_0xaac4b9(_0x105dd2._0x3e4ad4,_0x105dd2._0x4fb7e3,_0x105dd2._0x4fb1fc,0x52a)]>0x0)_0x1b9c6e[_0x28521c(-0x1a2,-0xf4,-0xde,-_0x105dd2._0xc02542)]=_0x12f582[_0x28521c(-0xe4,-_0x105dd2._0x80e992,-_0x105dd2._0x3c68f2,-0xdf)];const _0x5aae2e=await fetchJson(_0xaac4b9(0x481,0x314,0x34b,0x4d3),_0x139b80,{'method':_0x28521c(-_0x105dd2._0xd95a9e,-0x1f1,-_0x105dd2._0x4bafe5,-_0x105dd2._0x1605df),'headers':{'Authorization':_0x28521c(-0x10f,-_0x105dd2._0x158f06,-0x43,-0x3c)+_0x540997['tavilyApiKey'],'Content-Type':_0xaac4b9(0x20d,_0x105dd2._0x49a2a6,_0x105dd2._0x37e0e3,0x244)},'body':JSON[_0xaac4b9(_0x105dd2._0x1de729,0x3a0,_0x105dd2._0x54dd95,_0x105dd2._0x10545d)](_0x1b9c6e)});function _0xaac4b9(_0x3c4a48,_0x403fe9,_0x35a008,_0x48f2d9){return _0x257320(_0x3c4a48-0xd6,_0x403fe9-0x5,_0x3c4a48- -0xe5,_0x35a008);}const _0x46d613=_0x5aae2e['results']??[],_0x315f9a=_0x46d613['map']((_0x3ed79a,_0x2029ef)=>{const _0x5da367={_0x24fa76:0x1c3},_0x1dd3e1={_0xc108d0:0x1c2,_0x26c33e:0x569},_0xc08e22=_0x3ed79a[_0x5ea5be(_0xed0a2c._0x5ec921,_0xed0a2c._0x2ae3f6,_0xed0a2c._0x2994f2,_0xed0a2c._0x502bfe)]||'';function _0x241d39(_0x5a87df,_0x168b40,_0x3d8999,_0x29ec56){return _0x28521c(_0x5a87df-_0x1dd3e1._0xc108d0,_0x168b40-0xa1,_0x29ec56-_0x1dd3e1._0x26c33e,_0x168b40);}function _0x5ea5be(_0x2b350c,_0x256d19,_0x317854,_0x334a3c){return _0x28521c(_0x2b350c-_0x5da367._0x24fa76,_0x256d19-0x128,_0x317854-0x65f,_0x2b350c);}let _0x5bd826;try{_0x5bd826=new URL(_0xc08e22)['host'];}catch{_0x5bd826=null;}return{'title':_0x3ed79a[_0x241d39(0x342,_0xed0a2c._0xe2921a,0x4a9,0x363)]||_0x241d39(_0xed0a2c._0x42a5b5,0x5ad,_0xed0a2c._0x53889a,_0xed0a2c._0x1bd881),'url':normalizeUrl(_0xc08e22),'snippet':_0x3ed79a[_0x5ea5be(_0xed0a2c._0xbded04,0x78b,_0xed0a2c._0x31daa9,_0xed0a2c._0x4993c5)]??null,'displayUrl':_0x5bd826,'favicon':null,'publishedAt':null,'source':{'engine':_0x241d39(0x2c5,_0xed0a2c._0x4cdf1c,_0xed0a2c._0xf33965,0x404),'rank':_0x2029ef+0x1}};});return{'items':_0x315f9a['slice'](0x0,_0x90d310),'engine':_0x28521c(-0x27c,-0x266,-0x165,-0x252)};}async function searchGoogleCse(_0x5233e9,_0x1262a1,_0x2c874b){const _0x146fa3={_0x20d193:0x39e,_0x1dabfe:0x3b6,_0x18b279:0x364,_0x214050:0x409,_0x4f036d:0x6bd,_0x46d709:0x696,_0x4f4d57:0x5cb,_0x4b2a32:0x37f,_0xa33631:0x2cb,_0x4255ed:0x5ce,_0x10b644:0x567,_0x3931e5:0x46a,_0x48c05d:0x6c1,_0x385900:0x448,_0x2fac43:0x179,_0x3b18b1:0x1a2,_0x4c8b6e:0x8c,_0x5218cd:0x3b5,_0x598fdf:0x338,_0x6f1937:0x3d2,_0xa3213b:0x50,_0xff60d5:0x34e,_0x3362cf:0x379,_0x1969e6:0x497,_0x320a21:0x280,_0x355751:0x33a,_0x453817:0x37e,_0x44be0e:0x246,_0x56a71c:0x269,_0x1bb93d:0x22f,_0x10a82c:0x170,_0x1c7716:0x19f,_0x5ec052:0x179,_0x2dbdf0:0x1d8,_0x1f3b11:0x26b,_0x3a04c5:0x245,_0x3462be:0x4d6,_0x16105c:0x5ad,_0x5763c8:0x5f0,_0x107c41:0x343,_0x3bfe01:0x23e,_0x2de5b7:0x132,_0x22ae70:0x2ff,_0x13ac4b:0x590,_0x2cd4c1:0xfc,_0x2d5d97:0x4e7,_0x538528:0x60,_0x2d9034:0x179,_0x590e24:0xe9,_0x5e869e:0x59,_0x5e1426:0x387,_0x31a0c7:0x3a4,_0x34e096:0x322,_0x2635b0:0x3d5,_0x1062b5:0x7e,_0x23714e:0x3d0,_0x15ae63:0x4f7,_0x56965d:0xa8,_0x960d95:0x44,_0x529048:0x16e,_0x9467fa:0x1a8,_0x1d9abf:0x240,_0x57083e:0x1b9,_0x3cf47a:0x2d3,_0x891614:0x179,_0x419d11:0x25,_0x52dfb0:0x3d3,_0x16c4bb:0x2ae,_0x1c4a03:0x143,_0x4a84fa:0x74,_0x1c3a45:0x1a0,_0x406ae5:0x363,_0x38c541:0x219,_0x260539:0x4a,_0x7317e4:0x4d1,_0x5395df:0x492,_0x21d80d:0x9b,_0xfd7314:0x1e,_0x3a8ce3:0x36,_0x2e60f4:0x5a2,_0x4d82a9:0x544,_0xd78196:0x63b,_0x38f4c9:0x3f5,_0x2e9816:0x3b0,_0xa8a7bc:0x158,_0x5c44cf:0x144,_0x49ebea:0x19d,_0x2ee7b8:0x6da,_0x3e7ab5:0x6cf,_0x39ff9b:0x611,_0x53f274:0x5d3,_0x521ecf:0x6ad,_0x25d031:0x2c2,_0x3c2718:0x289,_0x4ace9d:0xa6,_0x73ee94:0x615,_0x1a925f:0x74b,_0x3a008e:0x543,_0x13d287:0x65,_0x3cca74:0xe4,_0x115aad:0x53,_0x51f187:0x16,_0x3796b6:0xb9,_0x27d2bd:0x29,_0x556248:0x196,_0x36becb:0x100},_0x529cb6={_0x2b4665:0x1b1,_0x493ce3:0x160},_0x353048={_0x105145:0x11f,_0x983f7f:0x45f},_0x3f02a4=Math[_0x4bf6ab(_0x146fa3._0x20d193,_0x146fa3._0x1dabfe,_0x146fa3._0x18b279,_0x146fa3._0x214050)](0x1,Math['min'](0x32,_0x1262a1[_0x4bf6ab(0x572,_0x146fa3._0x4f036d,_0x146fa3._0x46d709,_0x146fa3._0x4f4d57)]));function _0x1b3830(_0x1542ca,_0x1172e5,_0x155700,_0x13e728){return _0x3342ed(_0x1542ca-_0x353048._0x105145,_0x155700,_0x1172e5- -_0x353048._0x983f7f,_0x13e728-0xc2);}if(_0x1262a1['offset']+_0x3f02a4>0x64)throw new ToolExecutionError(_0x1b3830(-0x1ac,-0x216,-_0x146fa3._0x4b2a32,-_0x146fa3._0xa33631),{'offset':_0x1262a1['offset'],'count':_0x3f02a4,'maxResults':0x64});const _0x53f187=cseDateRestrict(_0x1262a1['recencyDays']),_0x350128=addSiteFilters(_0x1262a1['query'],_0x1262a1[_0x4bf6ab(0x45a,_0x146fa3._0x4255ed,0x65b,_0x146fa3._0x10b644)]);let _0x426ee7=0x0,_0x2611f9=_0x1262a1['offset']+0x1;const _0xdddb37=[];while(_0x426ee7<_0x3f02a4){const _0x5d7ec1=Math[_0x4bf6ab(_0x146fa3._0x3931e5,_0x146fa3._0x48c05d,_0x146fa3._0x385900,0x58b)](0xa,_0x3f02a4-_0x426ee7),_0x3e9d7c=new URL('https://www.googleapis.com/customsearch/v1');_0x3e9d7c[_0x1b3830(-0x83,-_0x146fa3._0x2fac43,-_0x146fa3._0x3b18b1,-_0x146fa3._0x4c8b6e)][_0x4bf6ab(0x373,_0x146fa3._0x5218cd,_0x146fa3._0x598fdf,_0x146fa3._0x6f1937)](_0x1b3830(0xd0,-_0x146fa3._0xa3213b,-0x60,-0x1c),_0x5233e9[_0x4bf6ab(0x549,0x576,_0x146fa3._0xff60d5,0x41b)]),_0x3e9d7c[_0x4bf6ab(0x587,_0x146fa3._0x3362cf,0x5ac,_0x146fa3._0x1969e6)][_0x4bf6ab(_0x146fa3._0x320a21,_0x146fa3._0x355751,_0x146fa3._0x453817,_0x146fa3._0x6f1937)]('cx',_0x5233e9['googleCseCx']),_0x3e9d7c[_0x1b3830(-_0x146fa3._0x44be0e,-_0x146fa3._0x2fac43,-0x191,-_0x146fa3._0x56a71c)][_0x1b3830(-_0x146fa3._0x1bb93d,-0x23e,-_0x146fa3._0x10a82c,-_0x146fa3._0x1c7716)]('q',_0x350128),_0x3e9d7c[_0x1b3830(-0x2a9,-_0x146fa3._0x5ec052,-0xac,-0x38)][_0x1b3830(-_0x146fa3._0x2dbdf0,-0x23e,-_0x146fa3._0x1f3b11,-_0x146fa3._0x3a04c5)]('num',String(_0x5d7ec1)),_0x3e9d7c[_0x4bf6ab(0x512,_0x146fa3._0x3462be,_0x146fa3._0x16105c,0x497)]['set']('start',String(_0x2611f9)),_0x3e9d7c[_0x4bf6ab(_0x146fa3._0x5763c8,_0x146fa3._0x107c41,0x50f,0x497)][_0x1b3830(-0x1fa,-_0x146fa3._0x3bfe01,-_0x146fa3._0x2de5b7,-_0x146fa3._0x22ae70)](_0x4bf6ab(_0x146fa3._0x13ac4b,0x684,0x55d,0x596),_0x1262a1[_0x1b3830(-0x180,-0x7a,0x60,-_0x146fa3._0x2cd4c1)]?_0x1b3830(-0x18f,-0x1e8,-0x13f,-0x21e):'off');_0x1262a1[_0x1b3830(-0x1c2,-0x23b,-0x271,-0xc5)]&&(_0x3e9d7c[_0x4bf6ab(0x425,_0x146fa3._0x2d5d97,0x5f1,_0x146fa3._0x1969e6)]['set']('hl',_0x1262a1['lang']),_0x3e9d7c[_0x1b3830(-_0x146fa3._0x538528,-_0x146fa3._0x2d9034,-_0x146fa3._0x590e24,-_0x146fa3._0x5e869e)][_0x1b3830(-0x2fe,-_0x146fa3._0x3bfe01,-0x1fd,-_0x146fa3._0x5e1426)]('lr','lang_'+_0x1262a1[_0x4bf6ab(0x485,_0x146fa3._0x31a0c7,_0x146fa3._0x34e096,_0x146fa3._0x2635b0)]));if(_0x1262a1['region'])_0x3e9d7c[_0x1b3830(-0x88,-_0x146fa3._0x2d9034,-_0x146fa3._0x1062b5,-0x12e)][_0x4bf6ab(_0x146fa3._0x23714e,0x3ee,_0x146fa3._0x15ae63,0x3d2)]('gl',_0x1262a1['region'][_0x1b3830(-_0x146fa3._0x56965d,_0x146fa3._0x960d95,_0x146fa3._0x529048,_0x146fa3._0x9467fa)]());if(_0x1262a1[_0x1b3830(-0x28d,-_0x146fa3._0x1d9abf,-_0x146fa3._0x57083e,-0x384)]==='images')_0x3e9d7c[_0x1b3830(-_0x146fa3._0x3cf47a,-_0x146fa3._0x891614,-_0x146fa3._0x419d11,-0x25a)][_0x4bf6ab(0x4bc,_0x146fa3._0x52dfb0,_0x146fa3._0x16c4bb,0x3d2)]('searchType',_0x1b3830(-_0x146fa3._0x1c4a03,-0x158,-_0x146fa3._0x4a84fa,-0x28));if(_0x53f187)_0x3e9d7c['searchParams'][_0x1b3830(-_0x146fa3._0x1c3a45,-0x23e,-_0x146fa3._0x406ae5,-_0x146fa3._0x38c541)](_0x1b3830(-0x59,-0xd5,0x92,-_0x146fa3._0x260539),_0x53f187);const _0x56af5e=await fetchJson(_0x3e9d7c[_0x4bf6ab(0x4f6,0x4f8,_0x146fa3._0x7317e4,_0x146fa3._0x5395df)](),_0x2c874b),_0x495654=_0x56af5e[_0x1b3830(-0x1cc,-0xa3,-0x100,_0x146fa3._0x21d80d)]??[];if(_0x495654['length']===0x0)break;const _0xd7ae25=_0x426ee7;for(let _0x287d0e=0x0;_0x287d0e<_0x495654[_0x1b3830(-_0x146fa3._0xfd7314,_0x146fa3._0x3a8ce3,0x14b,-0x68)];_0x287d0e++){const _0x1a596e=_0x495654[_0x287d0e];if(!_0x1a596e)continue;const _0x440f41=_0x1a596e[_0x4bf6ab(0x645,_0x146fa3._0x2e60f4,0x564,_0x146fa3._0x4d82a9)]||_0x1a596e['image']?.[_0x4bf6ab(_0x146fa3._0xd78196,_0x146fa3._0x38f4c9,_0x146fa3._0x2e9816,0x4fc)]||'',_0x16567c=_0x1a596e['title']||_0x1a596e[_0x1b3830(-0x24,-_0x146fa3._0xa8a7bc,-_0x146fa3._0x5c44cf,-0x12a)]?.[_0x1b3830(-_0x146fa3._0x49ebea,-0x1fe,-0x335,-0x2f4)]||'Untitled',_0x3f9a00=_0x1a596e[_0x1b3830(-0x214,-0xac,-_0x146fa3._0x9467fa,-0x98)]||_0x1a596e[_0x4bf6ab(_0x146fa3._0x2ee7b8,_0x146fa3._0x3e7ab5,0x60f,_0x146fa3._0x39ff9b)]?.[_0x4bf6ab(0x5f2,_0x146fa3._0x53f274,_0x146fa3._0x521ecf,0x6b5)](/<[^>]+>/g,''),_0x481194=_0x1a596e[_0x1b3830(-0x1ec,-0x1f1,-_0x146fa3._0x25d031,-_0x146fa3._0x3c2718)]?.['metatags']?.[0x0]??{};let _0x12f14e;try{_0x12f14e=new URL(_0x440f41)['host'];}catch{_0x12f14e=null;}_0xdddb37['push']({'title':_0x16567c,'url':normalizeUrl(_0x440f41),'snippet':_0x3f9a00??null,'displayUrl':_0x12f14e,'favicon':null,'publishedAt':_0x481194['article:published_time']||_0x481194[_0x1b3830(_0x146fa3._0x4ace9d,-0x8e,-0x1cf,-0xba)]||null,'source':{'engine':_0x4bf6ab(0x7be,_0x146fa3._0x73ee94,0x773,0x6a6),'rank':_0xd7ae25+_0x287d0e+0x1}});}_0x426ee7+=_0x495654[_0x4bf6ab(_0x146fa3._0x1a925f,_0x146fa3._0x3a008e,0x78d,0x646)],_0x2611f9+=_0x495654[_0x1b3830(-_0x146fa3._0x13d287,_0x146fa3._0x3a8ce3,-0x2c,_0x146fa3._0x3cca74)];if(_0x495654[_0x1b3830(-0x106,_0x146fa3._0x3a8ce3,_0x146fa3._0x115aad,-_0x146fa3._0x51f187)]<_0x5d7ec1)break;}function _0x4bf6ab(_0x119efb,_0x5d9aba,_0x10e482,_0x30a0db){return _0x3342ed(_0x119efb-0x162,_0x10e482,_0x30a0db-_0x529cb6._0x2b4665,_0x30a0db-_0x529cb6._0x493ce3);}return _0xdddb37[_0x1b3830(_0x146fa3._0x3796b6,_0x146fa3._0x27d2bd,_0x146fa3._0x556248,-_0x146fa3._0x36becb)](0x0,_0x3f02a4);}function isGoogleCseEngine(_0x12a526){const _0x9d002a={_0x3fe732:0x141,_0x54cf2f:0x18b};function _0x4e41e3(_0x505439,_0x5509bc,_0x25e007,_0xfc4e25){return _0x3342ed(_0x505439-_0x9d002a._0x3fe732,_0xfc4e25,_0x5509bc-0x304,_0xfc4e25-_0x9d002a._0x54cf2f);}return _0x4e41e3(0x460,0x56e,0x539,0x6ab)in _0x12a526;}function isOllamaEngine(_0xd1af88){const _0x2c4010={_0x16e453:0x9d},_0x30db01={_0x713cf7:0x199};function _0xabf615(_0x304535,_0xbd6ad7,_0x115c7f,_0x2857b6){return _0x3342ed(_0x304535-0x12f,_0x304535,_0xbd6ad7- -_0x30db01._0x713cf7,_0x2857b6-0x14e);}return _0xabf615(0x15,_0x2c4010._0x16e453,-0x13,0x48)in _0xd1af88;}function isTavilyEngine(_0x5c97ca){const _0x247120={_0x4e6d92:0x45a,_0x146bb7:0x493},_0x43a561={_0x342c51:0x1d0,_0x2de173:0xc6};function _0x2a4510(_0x3c7540,_0x38251e,_0x22f91c,_0x411dd4){return _0x257320(_0x3c7540-_0x43a561._0x342c51,_0x38251e-0x145,_0x38251e-_0x43a561._0x2de173,_0x3c7540);}return _0x2a4510(0x45e,_0x247120._0x4e6d92,_0x247120._0x146bb7,0x5ba)in _0x5c97ca;}function createWebSearchTool(_0x346250){const _0x5d06a5={_0x537cb2:0x3be,_0x13b495:0x27d,_0x271f66:0x1f0,_0x5d872f:0x391,_0x22b6db:0x57,_0x192176:0x8e,_0x5042c7:0x2e1,_0x5adeed:0x28e,_0x3aa0d1:0xec,_0x4de44e:0x207,_0x4319ff:0x199,_0x4e0355:0x3b7,_0x17faab:0x27c,_0x2d4e79:0x212,_0x401504:0x273,_0x28f636:0x240,_0x36ea1a:0x12e,_0x4740f7:0x312,_0x2803d6:0x10,_0x464aa6:0x81,_0x1d94c2:0x40e,_0x7e605b:0x333,_0x1a5e8f:0x3ae,_0x38947c:0x3d6,_0x23a37c:0x1a,_0x48622a:0x105,_0x2bd755:0xc5,_0x6f2418:0x85,_0x1c9d78:0x12b,_0x2a1f87:0x38,_0xc4a363:0x384,_0x3a70ea:0x3bf},_0x29b175={_0x49a530:0x1d,_0x27e0f1:0x16b,_0x26da1a:0x110,_0x25271f:0x1d4,_0xfb2002:0x2af,_0x511b7b:0x98,_0x5627cf:0x6d,_0x1fa765:0x127,_0x2ad45e:0x44,_0x2e1ba0:0xe0,_0x4a32d0:0x65,_0x57f432:0x83,_0x1c6376:0x73,_0x428ffc:0x15a,_0x23e102:0xff,_0x156856:0x110,_0x41471b:0xdf,_0x462805:0x8d,_0x3d4ed9:0x1c6,_0x16ef27:0x15b,_0x41dfcf:0x1b6,_0x2ed770:0x1d6,_0x286359:0x25a,_0x33e584:0x4a,_0x3e4d46:0x79,_0x29c91a:0x7a,_0x728333:0x30,_0xd36efb:0x33,_0x1e6887:0x1bd,_0x4e4ba5:0x1c2,_0x25a6e1:0x3ad,_0x2da58f:0x2af,_0x23896e:0x239,_0x958398:0xb9,_0x569055:0xf5,_0x530f6d:0x7f,_0x1c62fb:0x23d,_0x1f091d:0x96,_0x28882c:0x9f,_0x7a7562:0x1da,_0x21ee34:0x12,_0x4989db:0x8e,_0x31be69:0x14f,_0x33ba56:0x32b,_0x2b3c20:0x25b,_0x1eb8ec:0x2c,_0x25a28f:0xd8,_0x1a094a:0x3d,_0x1ab415:0x4e,_0x437b99:0x144,_0x42ac43:0x190,_0x3473a6:0x90,_0x38fd98:0x116,_0x13a9d1:0x24,_0x26586f:0x29e,_0x89fd22:0x31a,_0xf9bdb2:0x2c,_0x349dfc:0x124,_0x5b03d4:0x2a,_0x1c9b2c:0x140,_0x595af2:0x140,_0x58da0d:0x8a,_0x4ce398:0xee,_0x21311a:0x37,_0x5a6ae9:0x2,_0x3f1cec:0x9a,_0x7c5878:0xd3,_0xa1cc89:0x1f1,_0x411e15:0x9a,_0x472bd2:0x1fb,_0xce4499:0xd6,_0x239a37:0x2a1,_0x1d66c7:0x244,_0x14c38f:0x15b,_0xc5a915:0x24d,_0x5d8f20:0x16f,_0x4e01c0:0x1e3,_0x4626f4:0x92,_0x13796e:0x10e,_0x23864c:0x13c,_0x189ac8:0x36,_0x5dcf10:0xf7,_0x363085:0x3e,_0x3a95ad:0x116,_0x8bda7e:0x185,_0x294bcb:0x23c},_0x371922={_0x170511:0x234,_0x2708f9:0x15d,_0x4f9e26:0x1b,_0x487573:0x11a,_0x476aa6:0x244,_0x1856ac:0x416,_0x4afb2d:0x41e},_0x5d1c4b={_0xa9c129:0x43,_0x5aef9e:0x6,_0x48f780:0x142},_0x445411={_0x25a99f:0x121,_0x57fe:0x2f3,_0x1c1ebc:0x5};if(!_0x346250['engines']||_0x346250[_0x106f7a(0x29e,0x3c7,0x501,_0x5d06a5._0x537cb2)][_0x4f5d3c(_0x5d06a5._0x13b495,0x1a2,0x267,0xff)]===0x0)throw new Error(_0x106f7a(0x406,_0x5d06a5._0x271f66,_0x5d06a5._0x5d872f,0x34c));const _0x2d543d=_0x346250['name']??_0x4f5d3c(-_0x5d06a5._0x22b6db,0x2c,0xa3,_0x5d06a5._0x192176),_0x4e333c=_0x346250['lookup'];function _0x4f5d3c(_0x13b58e,_0x34ed4b,_0x13f55c,_0x2e5f1d){return _0x3342ed(_0x13b58e-_0x445411._0x25a99f,_0x13b58e,_0x34ed4b- -_0x445411._0x57fe,_0x2e5f1d-_0x445411._0x1c1ebc);}function _0x106f7a(_0x4da876,_0x85864a,_0x1a9847,_0x2d1ed5){return _0x257320(_0x4da876-_0x5d1c4b._0xa9c129,_0x85864a-_0x5d1c4b._0x5aef9e,_0x2d1ed5- -_0x5d1c4b._0x48f780,_0x1a9847);}return defineTool({'name':_0x2d543d,'description':_0x106f7a(_0x5d06a5._0x5042c7,0x220,_0x5d06a5._0x5adeed,0x1c8),'inputSchema':{'type':_0x4f5d3c(-_0x5d06a5._0x3aa0d1,-0x8f,-_0x5d06a5._0x4de44e,-0xf3),'properties':{'description':{'type':_0x4f5d3c(0x2ab,_0x5d06a5._0x4319ff,0x6a,0x265)},'query':{'type':'string'},'count':{'type':_0x106f7a(0x1e1,_0x5d06a5._0x4e0355,0x372,_0x5d06a5._0x17faab)},'offset':{'type':'number'},'domains':{'type':_0x4f5d3c(0x14d,_0x5d06a5._0x2d4e79,_0x5d06a5._0x401504,0x1aa),'items':{'type':_0x4f5d3c(_0x5d06a5._0x28f636,_0x5d06a5._0x4319ff,_0x5d06a5._0x36ea1a,_0x5d06a5._0x4740f7)}},'recencyDays':{'type':_0x4f5d3c(0x5a,0x3f,-_0x5d06a5._0x2803d6,-_0x5d06a5._0x464aa6)},'lang':{'type':_0x106f7a(_0x5d06a5._0x1d94c2,_0x5d06a5._0x7e605b,_0x5d06a5._0x1a5e8f,_0x5d06a5._0x38947c)},'region':{'type':'string'},'safe':{'type':_0x4f5d3c(0x5f,-_0x5d06a5._0x23a37c,_0x5d06a5._0x48622a,-_0x5d06a5._0x2bd755)},'type':{'type':_0x4f5d3c(_0x5d06a5._0x6f2418,0x199,_0x5d06a5._0x1c9d78,_0x5d06a5._0x2a1f87)},'hydrateMeta':{'type':'boolean'}},'required':[_0x106f7a(_0x5d06a5._0xc4a363,0x168,_0x5d06a5._0x3a70ea,0x2b2)]},async *'execute'(_0x36f4f6,_0x197175){const _0x52a31d={_0x5a7581:0x18f},_0x340ce6={_0x33e1b6:0xdc},_0x345251=_0x36f4f6['query']['trim']();if(!_0x345251)throw new ToolExecutionError(_0x28b00b(-0x13d,-0x1cc,-_0x29b175._0x49a530,-0x19a));const _0x33848a={'query':_0x345251,'count':Math[_0x28b00b(-0x127,-_0x29b175._0x27e0f1,-0x279,-_0x29b175._0x26da1a)](0x1,Math['min'](0x32,Math[_0x8fea5d(-0x1c0,-0x2df,-_0x29b175._0x25271f,-_0x29b175._0xfb2002)](_0x36f4f6[_0x8fea5d(-0x45,-_0x29b175._0x511b7b,-0x1bc,-_0x29b175._0x5627cf)]??0xa))),'offset':Math[_0x28b00b(-_0x29b175._0x1fa765,-0x1f9,0x4d,-_0x29b175._0x2ad45e)](0x0,Math[_0x28b00b(-_0x29b175._0x2e1ba0,-0x1e4,-0x1d7,-0x71)](_0x36f4f6[_0x8fea5d(_0x29b175._0x4a32d0,_0x29b175._0x57f432,_0x29b175._0x1c6376,-0xa1)]??0x0)),'domains':_0x36f4f6[_0x8fea5d(-0xa9,-0x5b,-0x1ff,-_0x29b175._0x428ffc)]??[],'recencyDays':Math[_0x28b00b(-0x127,-_0x29b175._0x23e102,-0xad,-_0x29b175._0x156856)](0x0,Math['trunc'](_0x36f4f6[_0x8fea5d(0x9a,_0x29b175._0x41471b,-_0x29b175._0x462805,_0x29b175._0x3d4ed9)]??0x0)),'lang':_0x36f4f6[_0x28b00b(-_0x29b175._0x16ef27,-_0x29b175._0x41dfcf,-_0x29b175._0x2ed770,-_0x29b175._0x286359)]??'en','region':_0x36f4f6[_0x28b00b(0x92,0x1ee,_0x29b175._0x33e584,_0x29b175._0x3e4d46)]??'','safe':_0x36f4f6[_0x8fea5d(-_0x29b175._0x29c91a,_0x29b175._0x728333,_0x29b175._0xd36efb,-_0x29b175._0x1e6887)]??!![],'type':normalizeType(_0x36f4f6[_0x8fea5d(-0x240,-0xf0,-_0x29b175._0x4e4ba5,-0x326)]),'hydrateMeta':_0x36f4f6[_0x8fea5d(-0x23c,-_0x29b175._0x25a6e1,-_0x29b175._0x2da58f,-_0x29b175._0x23896e)]??![]};let _0x10cd4f=[],_0x23441f=_0x8fea5d(-_0x29b175._0x958398,-0x84,-0x1b9,-0x9e);function _0x8fea5d(_0x319773,_0x4e9abc,_0x44615e,_0x288775){return _0x106f7a(_0x319773-0x9a,_0x4e9abc-_0x340ce6._0x33e1b6,_0x44615e,_0x319773- -0x3a9);}for(const _0x17fb66 of _0x346250[_0x28b00b(_0x29b175._0x569055,_0x29b175._0x530f6d,_0x29b175._0x1c62fb,0x162)]){try{if(isGoogleCseEngine(_0x17fb66))_0x10cd4f=await searchGoogleCse(_0x17fb66,_0x33848a,_0x197175['signal']),_0x23441f=_0x8fea5d(_0x29b175._0x1f091d,_0x29b175._0x28882c,_0x29b175._0x7a7562,-_0x29b175._0x21ee34);else{if(isOllamaEngine(_0x17fb66)){const _0x46fc6e=await searchOllama(_0x17fb66,_0x33848a,_0x197175[_0x8fea5d(-0xb4,-0x2,_0x29b175._0x4989db,-_0x29b175._0x31be69)]);_0x10cd4f=_0x46fc6e[_0x28b00b(0x3d,-0x78,0x142,0x10a)],_0x23441f=_0x46fc6e[_0x8fea5d(-0x247,-0x25c,-_0x29b175._0x33ba56,-_0x29b175._0x2b3c20)];}else{if(isTavilyEngine(_0x17fb66)){const _0x3b5565=await searchTavily(_0x17fb66,_0x33848a,_0x197175[_0x28b00b(_0x29b175._0x1eb8ec,-0x2e,-0xc2,-_0x29b175._0x25a28f)]);_0x10cd4f=_0x3b5565[_0x28b00b(_0x29b175._0x1a094a,-0x13b,-_0x29b175._0x1ab415,_0x29b175._0x437b99)],_0x23441f=_0x3b5565[_0x28b00b(-0x167,-_0x29b175._0x42ac43,-_0x29b175._0x3473a6,-0x17)];}}}if(_0x10cd4f[_0x8fea5d(0x36,0x3,0xef,0x14a)]>0x0)break;}catch(_0x490d16){if(_0x17fb66===_0x346250['engines'][_0x346250['engines'][_0x28b00b(_0x29b175._0x38fd98,0x242,_0x29b175._0x462805,_0x29b175._0x13a9d1)]-0x1])throw _0x490d16;}}_0x33848a['hydrateMeta']&&_0x10cd4f[_0x8fea5d(0x36,0x50,0x160,0xc)]>0x0&&(_0x10cd4f=await hydrateResults(_0x10cd4f,_0x33848a[_0x8fea5d(-0x23b,-0x195,-_0x29b175._0x26586f,-_0x29b175._0x89fd22)],_0x197175[_0x28b00b(_0x29b175._0xf9bdb2,_0x29b175._0x349dfc,-_0x29b175._0x5b03d4,-_0x29b175._0x1c9b2c)],_0x4e333c));const _0x2a495f=new Set();_0x10cd4f=_0x10cd4f[_0x28b00b(-0x9c,0x4c,-_0x29b175._0x595af2,_0x29b175._0x58da0d)](_0x20b4d9=>{const _0xf6730b={_0x3fc07c:0x3f,_0x2f43d8:0x114},_0x55a12e={_0x4160a3:0x22c},_0x246b5b=_0x20b4d9[_0x1abdbe(_0x371922._0x170511,_0x371922._0x2708f9,_0x371922._0x4f9e26,_0x371922._0x487573)]['toLowerCase']();function _0x1abdbe(_0xd2d2d7,_0xf7823,_0x1f8c50,_0x500d57){return _0x8fea5d(_0x500d57-_0x55a12e._0x4160a3,_0xf7823-0x14,_0xf7823,_0x500d57-0x36);}if(!_0x246b5b||_0x2a495f['has'](_0x246b5b))return![];_0x2a495f[_0x1abdbe(_0x371922._0x476aa6,_0x371922._0x1856ac,_0x371922._0x4afb2d,0x2b3)](_0x246b5b);function _0x48d844(_0x19c215,_0x5e7518,_0x1c6158,_0x43dfc2){return _0x8fea5d(_0x19c215-0x25a,_0x5e7518-_0xf6730b._0x3fc07c,_0x1c6158,_0x43dfc2-_0xf6730b._0x2f43d8);}return!![];}),_0x10cd4f=_0x10cd4f[_0x28b00b(-_0x29b175._0x4ce398,-0x7b,0x36,-0xfc)]((_0x53505e,_0x33d54e)=>({..._0x53505e,'source':{..._0x53505e[_0x8fea5d(-0x121,0x31,-0x1c9,-0x18b)],'rank':_0x33d54e+0x1}}));const _0x3444a0={};if(_0x33848a[_0x28b00b(_0x29b175._0x21311a,_0x29b175._0x5a6ae9,-0xb6,0xa0)][_0x28b00b(0x116,0xc7,0x143,0x51)]>0x0)_0x3444a0['domains']=_0x33848a['domains'];if(_0x33848a[_0x8fea5d(_0x29b175._0x3f1cec,-0x1b,-_0x29b175._0x7c5878,_0x29b175._0xa1cc89)]>0x0)_0x3444a0[_0x8fea5d(_0x29b175._0x411e15,_0x29b175._0x472bd2,-0x8b,-_0x29b175._0xce4499)]=_0x33848a[_0x28b00b(0x17a,_0x29b175._0x239a37,0x126,_0x29b175._0x1d66c7)];if(_0x33848a[_0x28b00b(-_0x29b175._0x14c38f,-0x262,-0x1e4,-_0x29b175._0xc5a915)]!=='en')_0x3444a0[_0x8fea5d(-0x23b,-_0x29b175._0x5d8f20,-0x167,-0x279)]=_0x33848a[_0x8fea5d(-0x23b,-0x1f3,-0x382,-_0x29b175._0x4e01c0)];if(_0x33848a[_0x28b00b(0x92,0xab,0x1c1,0x1f)])_0x3444a0[_0x28b00b(_0x29b175._0x4626f4,-0x2b,_0x29b175._0x13796e,0xe)]=_0x33848a[_0x28b00b(_0x29b175._0x4626f4,-0x4c,0x10d,_0x29b175._0x23864c)];yield createToolOutput(formatResults(_0x10cd4f),{'engine':_0x23441f,'count':_0x10cd4f[_0x8fea5d(_0x29b175._0x189ac8,_0x29b175._0x511b7b,-0x79,0x1)],'items':_0x10cd4f,'query':_0x33848a[_0x8fea5d(-_0x29b175._0x5dcf10,-0xcc,_0x29b175._0x363085,-0x9a)],...Object[_0x28b00b(-0xfb,-0x53,-0x83,-0xfb)](_0x3444a0)[_0x28b00b(_0x29b175._0x3a95ad,-0xc,_0x29b175._0x8bda7e,0xda)]>0x0?{'appliedFilters':_0x3444a0}:{},'offset':_0x33848a['offset'],'totalRequested':_0x33848a['count'],'hydrated':_0x33848a[_0x8fea5d(-_0x29b175._0x294bcb,-0x15c,-0x279,-_0x29b175._0x2e1ba0)]});function _0x28b00b(_0x27af3a,_0x51a4fd,_0x59c7d3,_0x3ed54b){return _0x106f7a(_0x27af3a-_0x52a31d._0x5a7581,_0x51a4fd-0x10f,_0x51a4fd,_0x27af3a- -0x2c9);}return void 0x0;}});}export{BackgroundProcessRegistry,ToolExecutionError,ToolRegistry,assertWorkspaceFile,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpOAuthProvider,createMcpTool,createMcpToolName,createMcpToolsFromServers,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,filepath,files,isProbablyBinary,normalizeToolOutputValue,resolveAllowedPath,resolveDelegatedAgentOptions,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};